[2026-07-01 00:00:00] local.INFO: TCP Data received {"connection_id":118544,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f19ca2128012d78aa4005ff4a080007000331..."} 
[2026-07-01 00:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19ca2128012d78aa4005ff4a080007000331..."} 
[2026-07-01 00:00:00] local.INFO: Processing buffer {"connection_id":118544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19ca2128012d78aa4005ff4a080007000331..."} 
[2026-07-01 00:00:00] local.INFO: Packet analysis {"connection_id":118544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19ca"} 
[2026-07-01 00:00:00] local.INFO: Extracted packet for processing {"connection_id":118544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19ca"} 
[2026-07-01 00:00:00] local.INFO: GPS Element Parsed {"raw_longitude":762882624,"raw_latitude":100616712,"longitude_deg":76.2882624,"latitude_deg":10.0616712,"altitude":7,"angle":3,"satellites":49,"speed":14,"hex_longitude":"2d78aa40","hex_latitude":"05ff4a08","is_valid_coordinates":true} 
[2026-07-01 00:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408089856001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332141125353603072,"note":"Value kept but may cause issues"} 
[2026-07-01 00:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8694269475140366336,"note":"Value kept but may cause issues"} 
[2026-07-01 00:00:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782844105000,"timestamp_ms":1782844105000,"timestamp_seconds":1782844105,"priority":1,"record_length":96,"hex_timestamp":"0000019f19ca2128"} 
[2026-07-01 00:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:00:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 00:00:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:00:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":118544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":118544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":118544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:00:00] 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-01 00:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408089856001,"66":27571,"115":206,"87":10752,"24":14,"16":332141125353603072,"45":8694269475140366336},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,87,24,16,45]} 
[2026-07-01 00:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408089856001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:00:00] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-01 00:00:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-01 00:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332141125353603072,"km_value":332141125353603.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8694269475140366336,"description":"Unknown IO ID 45"} 
[2026-07-01 00:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408089856001,"power":27571,"unknown_115":206,"unknown_87":10752,"ignition":14,"odometer":null,"unknown_45":8694269475140366336}} 
[2026-07-01 00:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":118544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:00:00] local.INFO: GPS data processed {"connection_id":118544,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:00:00] local.INFO: Acknowledgment sent {"connection_id":118544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:00:06] local.INFO: TCP Data received {"connection_id":118658,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f19ca3c80012d7f660005cd3fe00007011928..."} 
[2026-07-01 00:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19ca3c80012d7f660005cd3fe00007011928..."} 
[2026-07-01 00:00:06] local.INFO: Processing buffer {"connection_id":118658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19ca3c80012d7f660005cd3fe00007011928..."} 
[2026-07-01 00:00:06] local.INFO: Packet analysis {"connection_id":118658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19ca"} 
[2026-07-01 00:00:06] local.INFO: Extracted packet for processing {"connection_id":118658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19ca"} 
[2026-07-01 00:00:06] local.INFO: GPS Element Parsed {"raw_longitude":763323904,"raw_latitude":97337312,"longitude_deg":76.3323904,"latitude_deg":9.7337312,"altitude":7,"angle":281,"satellites":40,"speed":13,"hex_longitude":"2d7f6600","hex_latitude":"05cd3fe0","is_valid_coordinates":true} 
[2026-07-01 00: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-01 00:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408090880001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101042348338708480,"note":"Value kept but may cause issues"} 
[2026-07-01 00:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9182558190149844992,"note":"Value kept but may cause issues"} 
[2026-07-01 00:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782844112000,"timestamp_ms":1782844112000,"timestamp_seconds":1782844112,"priority":1,"record_length":96,"hex_timestamp":"0000019f19ca3c80"} 
[2026-07-01 00: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-01 00:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-01 00:00:06] 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-01 00: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-01 00: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-01 00:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":118658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":118658,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":118658,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:00:06] 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-01 00:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408090880001,"66":11634,"57":206,"85":15104,"24":13,"16":101042348338708480,"45":9182558190149844992},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,85,24,16,45]} 
[2026-07-01 00:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408090880001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:00:06] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-07-01 00:00:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101042348338708480,"km_value":101042348338708.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9182558190149844992,"description":"Unknown IO ID 45"} 
[2026-07-01 00:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408090880001,"power":11634,"unknown_57":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":9182558190149844992}} 
[2026-07-01 00:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":118658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415342,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:00:06] local.INFO: GPS data processed {"connection_id":118658,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:00:06] local.INFO: Acknowledgment sent {"connection_id":118658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:00:07] local.INFO: TCP Data received {"connection_id":118658,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f19ca8e88012d7f494005cd44000005010d2a..."} 
[2026-07-01 00:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19ca8e88012d7f494005cd44000005010d2a..."} 
[2026-07-01 00:00:07] local.INFO: Processing buffer {"connection_id":118658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19ca8e88012d7f494005cd44000005010d2a..."} 
[2026-07-01 00:00:07] local.INFO: Packet analysis {"connection_id":118658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19ca"} 
[2026-07-01 00:00:07] local.INFO: Extracted packet for processing {"connection_id":118658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19ca"} 
[2026-07-01 00:00:07] local.INFO: GPS Element Parsed {"raw_longitude":763316544,"raw_latitude":97338368,"longitude_deg":76.3316544,"latitude_deg":9.7338368,"altitude":5,"angle":269,"satellites":42,"speed":11,"hex_longitude":"2d7f4940","hex_latitude":"05cd4400","is_valid_coordinates":true} 
[2026-07-01 00:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408092672001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101042700526026752,"note":"Value kept but may cause issues"} 
[2026-07-01 00:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9180024915359686656,"note":"Value kept but may cause issues"} 
[2026-07-01 00:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782844133000,"timestamp_ms":1782844133000,"timestamp_seconds":1782844133,"priority":1,"record_length":96,"hex_timestamp":"0000019f19ca8e88"} 
[2026-07-01 00:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-07-01 00:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1449,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:00:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":118658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":118658,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":118658,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408092672001,"66":11874,"57":206,"85":15104,"24":11,"16":101042700526026752,"45":9180024915359686656},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,85,24,16,45]} 
[2026-07-01 00:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408092672001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:00:07] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-07-01 00:00:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101042700526026752,"km_value":101042700526026.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9180024915359686656,"description":"Unknown IO ID 45"} 
[2026-07-01 00:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408092672001,"power":11874,"unknown_57":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9180024915359686656}} 
[2026-07-01 00:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":118658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415343,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:00:07] local.INFO: GPS data processed {"connection_id":118658,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:00:07] local.INFO: Acknowledgment sent {"connection_id":118658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:00:22] local.INFO: TCP Data received {"connection_id":119296,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:00:22] local.INFO: Processing buffer {"connection_id":119296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:00:22] local.INFO: IMEI packet received {"connection_id":119296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 00:00:22] local.INFO: IMEI acknowledgment sent {"connection_id":119296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:00:23] local.INFO: TCP Data received {"connection_id":119296,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:00:23] local.INFO: Processing buffer {"connection_id":119296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:00:23] local.INFO: IMEI packet received {"connection_id":119296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:00:23] local.INFO: IMEI acknowledgment sent {"connection_id":119296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:00:27] local.INFO: TCP Data received {"connection_id":119296,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:00:27] local.INFO: Processing buffer {"connection_id":119296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:00:27] local.INFO: IMEI packet received {"connection_id":119296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":119296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:00:32] local.INFO: TCP Data received {"connection_id":119296,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f19ca2ce0012d78aa0005ff4e200007015f32..."} 
[2026-07-01 00:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19ca2ce0012d78aa0005ff4e200007015f32..."} 
[2026-07-01 00:00:32] local.INFO: Processing buffer {"connection_id":119296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19ca2ce0012d78aa0005ff4e200007015f32..."} 
[2026-07-01 00:00:32] local.INFO: Packet analysis {"connection_id":119296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19ca"} 
[2026-07-01 00:00:32] local.INFO: Extracted packet for processing {"connection_id":119296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19ca"} 
[2026-07-01 00:00:32] local.INFO: GPS Element Parsed {"raw_longitude":762882560,"raw_latitude":100617760,"longitude_deg":76.288256,"latitude_deg":10.061776,"altitude":7,"angle":351,"satellites":50,"speed":14,"hex_longitude":"2d78aa00","hex_latitude":"05ff4e20","is_valid_coordinates":true} 
[2026-07-01 00:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408090880001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332141176893210624,"note":"Value kept but may cause issues"} 
[2026-07-01 00:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8694832425094219776,"note":"Value kept but may cause issues"} 
[2026-07-01 00:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782844108000,"timestamp_ms":1782844108000,"timestamp_seconds":1782844108,"priority":1,"record_length":96,"hex_timestamp":"0000019f19ca2ce0"} 
[2026-07-01 00:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:00:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-01 00:00:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:00:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":119296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":119296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":119296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408090880001,"66":27484,"115":206,"87":10752,"24":14,"16":332141176893210624,"45":8694832425094219776},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,87,24,16,45]} 
[2026-07-01 00:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408090880001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:00:32] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-01 00:00:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-01 00:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332141176893210624,"km_value":332141176893210.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8694832425094219776,"description":"Unknown IO ID 45"} 
[2026-07-01 00:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408090880001,"power":27484,"unknown_115":206,"unknown_87":10752,"ignition":14,"odometer":null,"unknown_45":8694832425094219776}} 
[2026-07-01 00:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":119296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:00:32] local.INFO: GPS data processed {"connection_id":119296,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:00:32] local.INFO: Acknowledgment sent {"connection_id":119296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:00:48] local.INFO: TCP Data received {"connection_id":119297,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119297,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:00:48] local.INFO: Processing buffer {"connection_id":119297,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:00:48] local.INFO: IMEI packet received {"connection_id":119297,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 00:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":119297,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:00:53] local.INFO: TCP Data received {"connection_id":119297,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119297,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:00:53] local.INFO: Processing buffer {"connection_id":119297,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:00:53] local.INFO: IMEI packet received {"connection_id":119297,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 00:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":119297,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:00:54] local.INFO: TCP Data received {"connection_id":119297,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f19caa5f8012d7f424005cd44e00003011829..."} 
[2026-07-01 00:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19caa5f8012d7f424005cd44e00003011829..."} 
[2026-07-01 00:00:54] local.INFO: Processing buffer {"connection_id":119297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19caa5f8012d7f424005cd44e00003011829..."} 
[2026-07-01 00:00:54] local.INFO: Packet analysis {"connection_id":119297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19ca"} 
[2026-07-01 00:00:54] local.INFO: Extracted packet for processing {"connection_id":119297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19ca"} 
[2026-07-01 00:00:54] local.INFO: GPS Element Parsed {"raw_longitude":763314752,"raw_latitude":97338592,"longitude_deg":76.3314752,"latitude_deg":9.7338592,"altitude":3,"angle":280,"satellites":41,"speed":13,"hex_longitude":"2d7f4240","hex_latitude":"05cd44e0","is_valid_coordinates":true} 
[2026-07-01 00: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-01 00:00:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408098048001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:00:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101042786425372672,"note":"Value kept but may cause issues"} 
[2026-07-01 00:00:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9171932509779525632,"note":"Value kept but may cause issues"} 
[2026-07-01 00:00:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:00:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782844139000,"timestamp_ms":1782844139000,"timestamp_seconds":1782844139,"priority":1,"record_length":96,"hex_timestamp":"0000019f19caa5f8"} 
[2026-07-01 00: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-01 00:00: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-01 00: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":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-01 00:00:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1310,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00: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-01 00: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-01 00:00:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:00:54] local.INFO: Teltonika packet parsed successfully {"connection_id":119297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:00:54] local.INFO: Passing IMEI to GPS processor {"connection_id":119297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:00:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":119297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:00:54] 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-01 00:00:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:00:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:00:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408098048001,"66":11765,"57":206,"85":15104,"24":13,"16":101042786425372672,"45":9171932509779525632},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,85,24,16,45]} 
[2026-07-01 00:00:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:00:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:00:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408098048001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:00:54] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-07-01 00:00:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:00:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101042786425372672,"km_value":101042786425372.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:00:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9171932509779525632,"description":"Unknown IO ID 45"} 
[2026-07-01 00:00:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408098048001,"power":11765,"unknown_57":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":9171932509779525632}} 
[2026-07-01 00:00:54] local.INFO: DEBUG: GPS processor result {"connection_id":119297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415345,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:00:54] local.INFO: GPS data processed {"connection_id":119297,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:00:54] local.INFO: Acknowledgment sent {"connection_id":119297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:00:58] local.INFO: TCP Data received {"connection_id":119297,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f19cadca8012d7f304005cd47580001010b29..."} 
[2026-07-01 00:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19cadca8012d7f304005cd47580001010b29..."} 
[2026-07-01 00:00:58] local.INFO: Processing buffer {"connection_id":119297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19cadca8012d7f304005cd47580001010b29..."} 
[2026-07-01 00:00:58] local.INFO: Packet analysis {"connection_id":119297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19ca"} 
[2026-07-01 00:00:58] local.INFO: Extracted packet for processing {"connection_id":119297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19ca"} 
[2026-07-01 00:00:58] local.INFO: GPS Element Parsed {"raw_longitude":763310144,"raw_latitude":97339224,"longitude_deg":76.3310144,"latitude_deg":9.7339224,"altitude":1,"angle":267,"satellites":41,"speed":5,"hex_longitude":"2d7f3040","hex_latitude":"05cd4758","is_valid_coordinates":true} 
[2026-07-01 00: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-01 00:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408099584001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101043009763672064,"note":"Value kept but may cause issues"} 
[2026-07-01 00:00:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9169962184942608384,"note":"Value kept but may cause issues"} 
[2026-07-01 00:00:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782844153000,"timestamp_ms":1782844153000,"timestamp_seconds":1782844153,"priority":1,"record_length":96,"hex_timestamp":"0000019f19cadca8"} 
[2026-07-01 00: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-01 00:00:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00: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":45,"n8_eight_byte":245,"data_length":795,"current_offset":136} 
[2026-07-01 00:00:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2628,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00: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-01 00: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-01 00:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:00:58] 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-01 00:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408099584001,"66":11700,"57":206,"85":15104,"24":5,"16":101043009763672064,"45":9169962184942608384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,85,24,16,45]} 
[2026-07-01 00:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408099584001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:00:58] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-07-01 00:00:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101043009763672064,"km_value":101043009763672.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:00:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9169962184942608384,"description":"Unknown IO ID 45"} 
[2026-07-01 00:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408099584001,"power":11700,"unknown_57":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9169962184942608384}} 
[2026-07-01 00:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":119297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415346,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:00:58] local.INFO: GPS data processed {"connection_id":119297,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:00:58] local.INFO: Acknowledgment sent {"connection_id":119297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:01:03] local.INFO: TCP Data received {"connection_id":119296,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f19ca7ee8012d78a10005ff6d600008015931..."} 
[2026-07-01 00:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19ca7ee8012d78a10005ff6d600008015931..."} 
[2026-07-01 00:01:03] local.INFO: Processing buffer {"connection_id":119296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19ca7ee8012d78a10005ff6d600008015931..."} 
[2026-07-01 00:01:03] local.INFO: Packet analysis {"connection_id":119296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19ca"} 
[2026-07-01 00:01:03] local.INFO: Extracted packet for processing {"connection_id":119296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19ca"} 
[2026-07-01 00:01:03] local.INFO: GPS Element Parsed {"raw_longitude":762880256,"raw_latitude":100625760,"longitude_deg":76.2880256,"latitude_deg":10.062576,"altitude":8,"angle":345,"satellites":49,"speed":13,"hex_longitude":"2d78a100","hex_latitude":"05ff6d60","is_valid_coordinates":true} 
[2026-07-01 00:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408091648001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332141580620136448,"note":"Value kept but may cause issues"} 
[2026-07-01 00:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8694762056350310400,"note":"Value kept but may cause issues"} 
[2026-07-01 00:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782844129000,"timestamp_ms":1782844129000,"timestamp_seconds":1782844129,"priority":1,"record_length":96,"hex_timestamp":"0000019f19ca7ee8"} 
[2026-07-01 00:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:01:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 00:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":119296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":119296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":119296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:01:03] 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-01 00:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408091648001,"66":27321,"115":206,"87":10752,"24":13,"16":332141580620136448,"45":8694762056350310400},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,87,24,16,45]} 
[2026-07-01 00:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408091648001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:01:03] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-01 00:01:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-01 00:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332141580620136448,"km_value":332141580620136.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8694762056350310400,"description":"Unknown IO ID 45"} 
[2026-07-01 00:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408091648001,"power":27321,"unknown_115":206,"unknown_87":10752,"ignition":13,"odometer":null,"unknown_45":8694762056350310400}} 
[2026-07-01 00:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":119296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:01:03] local.INFO: GPS data processed {"connection_id":119296,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:01:03] local.INFO: Acknowledgment sent {"connection_id":119296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:01:21] local.INFO: TCP Data received {"connection_id":120418,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:01:21] local.INFO: Processing buffer {"connection_id":120418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:01:21] local.INFO: IMEI packet received {"connection_id":120418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 00:01:21] local.INFO: IMEI acknowledgment sent {"connection_id":120418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:01:22] local.INFO: TCP Data received {"connection_id":120418,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:01:22] local.INFO: Processing buffer {"connection_id":120418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:01:22] local.INFO: IMEI packet received {"connection_id":120418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:01:22] local.INFO: IMEI acknowledgment sent {"connection_id":120418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:01:27] local.INFO: TCP Data received {"connection_id":120418,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:01:27] local.INFO: Processing buffer {"connection_id":120418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:01:27] local.INFO: IMEI packet received {"connection_id":120418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":120418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:01:28] local.INFO: TCP Data received {"connection_id":120418,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f19cac150012d78964005ff8f00000701572d..."} 
[2026-07-01 00:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19cac150012d78964005ff8f00000701572d..."} 
[2026-07-01 00:01:28] local.INFO: Processing buffer {"connection_id":120418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19cac150012d78964005ff8f00000701572d..."} 
[2026-07-01 00:01:28] local.INFO: Packet analysis {"connection_id":120418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19ca"} 
[2026-07-01 00:01:28] local.INFO: Extracted packet for processing {"connection_id":120418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19ca"} 
[2026-07-01 00:01:28] local.INFO: GPS Element Parsed {"raw_longitude":762877504,"raw_latitude":100634368,"longitude_deg":76.2877504,"latitude_deg":10.0634368,"altitude":7,"angle":343,"satellites":45,"speed":28,"hex_longitude":"2d789640","hex_latitude":"05ff8f00","is_valid_coordinates":true} 
[2026-07-01 00: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-01 00:01:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408097024001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:01:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332142018706800640,"note":"Value kept but may cause issues"} 
[2026-07-01 00:01:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8692228781561962496,"note":"Value kept but may cause issues"} 
[2026-07-01 00:01:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:01:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782844146000,"timestamp_ms":1782844146000,"timestamp_seconds":1782844146,"priority":1,"record_length":96,"hex_timestamp":"0000019f19cac150"} 
[2026-07-01 00: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-01 00:01: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-01 00: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-01 00:01:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00: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-01 00: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-01 00:01:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:01:28] local.INFO: Teltonika packet parsed successfully {"connection_id":120418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:01:28] local.INFO: Passing IMEI to GPS processor {"connection_id":120418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:01:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":120418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:01:28] 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-01 00:01:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:01:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:01:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408097024001,"66":27484,"115":206,"87":10752,"24":28,"16":332142018706800640,"45":8692228781561962496},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,87,24,16,45]} 
[2026-07-01 00:01:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:01:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:01:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408097024001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:01:28] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-01 00:01:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-01 00:01:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332142018706800640,"km_value":332142018706800.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:01:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8692228781561962496,"description":"Unknown IO ID 45"} 
[2026-07-01 00:01:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408097024001,"power":27484,"unknown_115":206,"unknown_87":10752,"ignition":28,"odometer":null,"unknown_45":8692228781561962496}} 
[2026-07-01 00:01:28] local.INFO: DEBUG: GPS processor result {"connection_id":120418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:01:28] local.INFO: GPS data processed {"connection_id":120418,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:01:28] local.INFO: Acknowledgment sent {"connection_id":120418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:01:29] local.INFO: TCP Data received {"connection_id":119297,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f19ccd878012d7eb7c005cd5100000901412a..."} 
[2026-07-01 00:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19ccd878012d7eb7c005cd5100000901412a..."} 
[2026-07-01 00:01:29] local.INFO: Processing buffer {"connection_id":119297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19ccd878012d7eb7c005cd5100000901412a..."} 
[2026-07-01 00:01:29] local.INFO: Packet analysis {"connection_id":119297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19cc"} 
[2026-07-01 00:01:29] local.INFO: Extracted packet for processing {"connection_id":119297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19cc"} 
[2026-07-01 00:01:29] local.INFO: GPS Element Parsed {"raw_longitude":763279296,"raw_latitude":97341696,"longitude_deg":76.3279296,"latitude_deg":9.7341696,"altitude":9,"angle":321,"satellites":42,"speed":9,"hex_longitude":"2d7eb7c0","hex_latitude":"05cd5100","is_valid_coordinates":true} 
[2026-07-01 00: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-01 00:01:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408136192001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:01:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101044513002225664,"note":"Value kept but may cause issues"} 
[2026-07-01 00:01:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131118638157293568,"note":"Value kept but may cause issues"} 
[2026-07-01 00:01:29] 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-01 00:01:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782844283000,"timestamp_ms":1782844283000,"timestamp_seconds":1782844283,"priority":1,"record_length":96,"hex_timestamp":"0000019f19ccd878"} 
[2026-07-01 00: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-01 00:01: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-01 00: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":44,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-01 00:01:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00: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-01 00: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-01 00:01:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:01:29] local.INFO: Teltonika packet parsed successfully {"connection_id":119297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:01:29] local.INFO: Passing IMEI to GPS processor {"connection_id":119297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:01:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":119297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:01:29] 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-01 00:01:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:01:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:01:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408136192001,"66":11189,"63":206,"85":15104,"24":9,"16":101044513002225664,"45":9131118638157293568},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-07-01 00:01:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:01:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:01:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408136192001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:01:29] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-01 00:01:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:01:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101044513002225664,"km_value":101044513002225.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:01:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131118638157293568,"description":"Unknown IO ID 45"} 
[2026-07-01 00:01:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408136192001,"power":11189,"unknown_63":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9131118638157293568}} 
[2026-07-01 00:01:29] local.INFO: DEBUG: GPS processor result {"connection_id":119297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415349,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:01:29] local.INFO: GPS data processed {"connection_id":119297,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:01:29] local.INFO: Acknowledgment sent {"connection_id":119297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:01:48] local.INFO: TCP Data received {"connection_id":118659,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118659,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:01:48] local.INFO: Processing buffer {"connection_id":118659,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:01:48] local.INFO: IMEI packet received {"connection_id":118659,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 00:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":118659,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:01:53] local.INFO: TCP Data received {"connection_id":118659,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118659,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:01:53] local.INFO: Processing buffer {"connection_id":118659,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:01:53] local.INFO: IMEI packet received {"connection_id":118659,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 00:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":118659,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:01:54] local.INFO: TCP Data received {"connection_id":118659,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f19cce048012d7eb70005cd52e0000901642a..."} 
[2026-07-01 00:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19cce048012d7eb70005cd52e0000901642a..."} 
[2026-07-01 00:01:54] local.INFO: Processing buffer {"connection_id":118659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19cce048012d7eb70005cd52e0000901642a..."} 
[2026-07-01 00:01:54] local.INFO: Packet analysis {"connection_id":118659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19cc"} 
[2026-07-01 00:01:54] local.INFO: Extracted packet for processing {"connection_id":118659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19cc"} 
[2026-07-01 00:01:54] local.INFO: GPS Element Parsed {"raw_longitude":763279104,"raw_latitude":97342176,"longitude_deg":76.3279104,"latitude_deg":9.7342176,"altitude":9,"angle":356,"satellites":42,"speed":10,"hex_longitude":"2d7eb700","hex_latitude":"05cd52e0","is_valid_coordinates":true} 
[2026-07-01 00:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408136448001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101044534477062144,"note":"Value kept but may cause issues"} 
[2026-07-01 00:01:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130977900668977152,"note":"Value kept but may cause issues"} 
[2026-07-01 00:01:54] 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-01 00:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782844285000,"timestamp_ms":1782844285000,"timestamp_seconds":1782844285,"priority":1,"record_length":96,"hex_timestamp":"0000019f19cce048"} 
[2026-07-01 00:01:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:01: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-01 00:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-07-01 00:01:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2042,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:01:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:01:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":118659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":118659,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":118659,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:01:54] 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-01 00:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408136448001,"66":11678,"63":206,"85":15104,"24":10,"16":101044534477062144,"45":9130977900668977152},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-07-01 00:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408136448001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:01:54] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-01 00:01:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101044534477062144,"km_value":101044534477062.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:01:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130977900668977152,"description":"Unknown IO ID 45"} 
[2026-07-01 00:01:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408136448001,"power":11678,"unknown_63":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9130977900668977152}} 
[2026-07-01 00:01:54] local.INFO: DEBUG: GPS processor result {"connection_id":118659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415350,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:01:54] local.INFO: GPS data processed {"connection_id":118659,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:01:54] local.INFO: Acknowledgment sent {"connection_id":118659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:01:59] local.INFO: TCP Data received {"connection_id":120418,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f19caec48012d788d4005ffb3c00007015e2f..."} 
[2026-07-01 00:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19caec48012d788d4005ffb3c00007015e2f..."} 
[2026-07-01 00:01:59] local.INFO: Processing buffer {"connection_id":120418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19caec48012d788d4005ffb3c00007015e2f..."} 
[2026-07-01 00:01:59] local.INFO: Packet analysis {"connection_id":120418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19ca"} 
[2026-07-01 00:01:59] local.INFO: Extracted packet for processing {"connection_id":120418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19ca"} 
[2026-07-01 00:01:59] local.INFO: GPS Element Parsed {"raw_longitude":762875200,"raw_latitude":100643776,"longitude_deg":76.28752,"latitude_deg":10.0643776,"altitude":7,"angle":350,"satellites":47,"speed":40,"hex_longitude":"2d788d40","hex_latitude":"05ffb3c0","is_valid_coordinates":true} 
[2026-07-01 00:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408101376001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332142486858235904,"note":"Value kept but may cause issues"} 
[2026-07-01 00:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8689202925564526592,"note":"Value kept but may cause issues"} 
[2026-07-01 00:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782844157000,"timestamp_ms":1782844157000,"timestamp_seconds":1782844157,"priority":1,"record_length":96,"hex_timestamp":"0000019f19caec48"} 
[2026-07-01 00:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:01: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-01 00:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 00:01:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:01:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":120418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":120418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":120418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:01:59] 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-01 00:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408101376001,"66":27343,"115":206,"87":10752,"24":40,"16":332142486858235904,"45":8689202925564526592},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,87,24,16,45]} 
[2026-07-01 00:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408101376001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:01:59] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-01 00:01:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-01 00:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332142486858235904,"km_value":332142486858235.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8689202925564526592,"description":"Unknown IO ID 45"} 
[2026-07-01 00:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408101376001,"power":27343,"unknown_115":206,"unknown_87":10752,"ignition":40,"odometer":null,"unknown_45":8689202925564526592}} 
[2026-07-01 00:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":120418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:01:59] local.INFO: GPS data processed {"connection_id":120418,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:01:59] local.INFO: Acknowledgment sent {"connection_id":120418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:02:22] local.INFO: TCP Data received {"connection_id":119298,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:02:22] local.INFO: Processing buffer {"connection_id":119298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:02:22] local.INFO: IMEI packet received {"connection_id":119298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 00:02:22] local.INFO: IMEI acknowledgment sent {"connection_id":119298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:02:25] local.INFO: TCP Data received {"connection_id":118659,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f19cce430012d7eb70005cd53f8000900092a..."} 
[2026-07-01 00:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19cce430012d7eb70005cd53f8000900092a..."} 
[2026-07-01 00:02:25] local.INFO: Processing buffer {"connection_id":118659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19cce430012d7eb70005cd53f8000900092a..."} 
[2026-07-01 00:02:25] local.INFO: Packet analysis {"connection_id":118659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19cc"} 
[2026-07-01 00:02:25] local.INFO: Extracted packet for processing {"connection_id":118659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19cc"} 
[2026-07-01 00:02:25] local.INFO: GPS Element Parsed {"raw_longitude":763279104,"raw_latitude":97342456,"longitude_deg":76.3279104,"latitude_deg":9.7342456,"altitude":9,"angle":9,"satellites":42,"speed":11,"hex_longitude":"2d7eb700","hex_latitude":"05cd53f8","is_valid_coordinates":true} 
[2026-07-01 00:02:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:02:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408136960001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:02:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101044551656931328,"note":"Value kept but may cause issues"} 
[2026-07-01 00:02:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130766794436567040,"note":"Value kept but may cause issues"} 
[2026-07-01 00:02:25] 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-01 00:02:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782844286000,"timestamp_ms":1782844286000,"timestamp_seconds":1782844286,"priority":1,"record_length":96,"hex_timestamp":"0000019f19cce430"} 
[2026-07-01 00:02:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:02:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 00:02:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-01 00:02:25] 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-01 00:02:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:02:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:02:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:02:25] local.INFO: Teltonika packet parsed successfully {"connection_id":118659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:02:25] local.INFO: Passing IMEI to GPS processor {"connection_id":118659,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:02:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":118659,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:02:25] 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-01 00:02:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:02:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:02:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408136960001,"66":11678,"63":206,"85":15104,"24":11,"16":101044551656931328,"45":9130766794436567040},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-07-01 00:02:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:02:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:02:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408136960001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:02:25] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-01 00:02:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:02:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101044551656931328,"km_value":101044551656931.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:02:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130766794436567040,"description":"Unknown IO ID 45"} 
[2026-07-01 00:02:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408136960001,"power":11678,"unknown_63":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9130766794436567040}} 
[2026-07-01 00:02:25] local.INFO: DEBUG: GPS processor result {"connection_id":118659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415352,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:02:25] local.INFO: GPS data processed {"connection_id":118659,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:02:25] local.INFO: Acknowledgment sent {"connection_id":118659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:02:28] local.INFO: TCP Data received {"connection_id":119298,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:02:28] local.INFO: Processing buffer {"connection_id":119298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:02:28] local.INFO: IMEI packet received {"connection_id":119298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:02:28] local.INFO: IMEI acknowledgment sent {"connection_id":119298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:02:38] local.INFO: TCP Data received {"connection_id":119298,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f19cca998012d77b6400600e5e80011013734..."} 
[2026-07-01 00:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19cca998012d77b6400600e5e80011013734..."} 
[2026-07-01 00:02:38] local.INFO: Processing buffer {"connection_id":119298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19cca998012d77b6400600e5e80011013734..."} 
[2026-07-01 00:02:38] local.INFO: Packet analysis {"connection_id":119298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19cc"} 
[2026-07-01 00:02:38] local.INFO: Extracted packet for processing {"connection_id":119298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19cc"} 
[2026-07-01 00:02:38] local.INFO: GPS Element Parsed {"raw_longitude":762820160,"raw_latitude":100722152,"longitude_deg":76.282016,"latitude_deg":10.0722152,"altitude":17,"angle":311,"satellites":52,"speed":41,"hex_longitude":"2d77b640","hex_latitude":"0600e5e8","is_valid_coordinates":true} 
[2026-07-01 00:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408131072001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332147305811542016,"note":"Value kept but may cause issues"} 
[2026-07-01 00:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8634244936382597120,"note":"Value kept but may cause issues"} 
[2026-07-01 00:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782844271000,"timestamp_ms":1782844271000,"timestamp_seconds":1782844271,"priority":1,"record_length":96,"hex_timestamp":"0000019f19cca998"} 
[2026-07-01 00:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-01 00:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:02:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":119298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":119298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":119298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408131072001,"66":27484,"217":206,"87":10752,"24":41,"16":332147305811542016,"45":8634244936382597120},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,87,24,16,45]} 
[2026-07-01 00:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408131072001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:02:38] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-01 00:02:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-07-01 00:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332147305811542016,"km_value":332147305811542.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8634244936382597120,"description":"Unknown IO ID 45"} 
[2026-07-01 00:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408131072001,"power":27484,"unknown_217":206,"unknown_87":10752,"ignition":41,"odometer":null,"unknown_45":8634244936382597120}} 
[2026-07-01 00:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":119298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:02:38] local.INFO: GPS data processed {"connection_id":119298,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:02:38] local.INFO: Acknowledgment sent {"connection_id":119298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:02:42] local.INFO: TCP Data received {"connection_id":118545,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 00:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118545,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 00:02:42] local.INFO: Processing buffer {"connection_id":118545,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 00:02:42] local.INFO: IMEI packet received {"connection_id":118545,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 00:02:42] local.INFO: IMEI acknowledgment sent {"connection_id":118545,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:02:46] local.INFO: TCP Data received {"connection_id":118660,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118660,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:02:46] local.INFO: Processing buffer {"connection_id":118660,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:02:46] local.INFO: IMEI packet received {"connection_id":118660,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 00:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":118660,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:02:50] local.INFO: TCP Data received {"connection_id":118660,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118660,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:02:50] local.INFO: Processing buffer {"connection_id":118660,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:02:50] local.INFO: IMEI packet received {"connection_id":118660,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 00:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":118660,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:02:54] local.INFO: TCP Data received {"connection_id":118660,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118660,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:02:54] local.INFO: Processing buffer {"connection_id":118660,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:02:54] local.INFO: IMEI packet received {"connection_id":118660,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 00:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":118660,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:02:55] local.INFO: TCP Data received {"connection_id":118660,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f19cd2698012d7eb7c005cd7840000901672a..."} 
[2026-07-01 00:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19cd2698012d7eb7c005cd7840000901672a..."} 
[2026-07-01 00:02:55] local.INFO: Processing buffer {"connection_id":118660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19cd2698012d7eb7c005cd7840000901672a..."} 
[2026-07-01 00:02:55] local.INFO: Packet analysis {"connection_id":118660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19cd"} 
[2026-07-01 00:02:55] local.INFO: Extracted packet for processing {"connection_id":118660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19cd"} 
[2026-07-01 00:02:55] local.INFO: GPS Element Parsed {"raw_longitude":763279296,"raw_latitude":97351744,"longitude_deg":76.3279296,"latitude_deg":9.7351744,"altitude":9,"angle":359,"satellites":42,"speed":22,"hex_longitude":"2d7eb7c0","hex_latitude":"05cd7840","is_valid_coordinates":true} 
[2026-07-01 00:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408137216001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101045002628497408,"note":"Value kept but may cause issues"} 
[2026-07-01 00:02:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130766794436638720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:02:55] 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-01 00:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782844303000,"timestamp_ms":1782844303000,"timestamp_seconds":1782844303,"priority":1,"record_length":96,"hex_timestamp":"0000019f19cd2698"} 
[2026-07-01 00:02:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:02:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-01 00:02:55] 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-01 00:02:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:02:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":118660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":118660,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":118660,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:02:55] 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-01 00:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:02:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:02:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408137216001,"66":11461,"63":206,"85":15104,"24":22,"16":101045002628497408,"45":9130766794436638720},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-07-01 00:02:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:02:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:02:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408137216001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:02:55] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-01 00:02:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:02:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101045002628497408,"km_value":101045002628497.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:02:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130766794436638720,"description":"Unknown IO ID 45"} 
[2026-07-01 00:02:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408137216001,"power":11461,"unknown_63":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9130766794436638720}} 
[2026-07-01 00:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":118660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415354,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:02:55] local.INFO: GPS data processed {"connection_id":118660,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:02:55] local.INFO: Acknowledgment sent {"connection_id":118660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:03:17] local.INFO: TCP Data received {"connection_id":118661,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 00:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118661,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 00:03:17] local.INFO: Processing buffer {"connection_id":118661,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 00:03:17] local.INFO: IMEI packet received {"connection_id":118661,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 00:03:17] local.INFO: IMEI acknowledgment sent {"connection_id":118661,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:03:26] local.INFO: TCP Data received {"connection_id":118660,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f19ce72a0012d7e5a4005cddef00007013928..."} 
[2026-07-01 00:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19ce72a0012d7e5a4005cddef00007013928..."} 
[2026-07-01 00:03:26] local.INFO: Processing buffer {"connection_id":118660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19ce72a0012d7e5a4005cddef00007013928..."} 
[2026-07-01 00:03:26] local.INFO: Packet analysis {"connection_id":118660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19ce"} 
[2026-07-01 00:03:26] local.INFO: Extracted packet for processing {"connection_id":118660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19ce"} 
[2026-07-01 00:03:26] local.INFO: GPS Element Parsed {"raw_longitude":763255360,"raw_latitude":97378032,"longitude_deg":76.325536,"latitude_deg":9.7378032,"altitude":7,"angle":313,"satellites":40,"speed":14,"hex_longitude":"2d7e5a40","hex_latitude":"05cddef0","is_valid_coordinates":true} 
[2026-07-01 00:03: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-01 00:03:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408163072001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:03:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101047369155477504,"note":"Value kept but may cause issues"} 
[2026-07-01 00:03:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9105011834076676096,"note":"Value kept but may cause issues"} 
[2026-07-01 00:03:26] 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-01 00:03:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782844388000,"timestamp_ms":1782844388000,"timestamp_seconds":1782844388,"priority":1,"record_length":96,"hex_timestamp":"0000019f19ce72a0"} 
[2026-07-01 00:03:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:03: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-01 00:03: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":45,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-07-01 00:03:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":864,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:03: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-01 00:03:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:03:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:03:26] local.INFO: Teltonika packet parsed successfully {"connection_id":118660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:03:26] local.INFO: Passing IMEI to GPS processor {"connection_id":118660,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:03:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":118660,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:03:26] 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-01 00:03:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:03:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:03:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408163072001,"66":11895,"63":206,"85":15104,"24":14,"16":101047369155477504,"45":9105011834076676096},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-07-01 00:03:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:03:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:03:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408163072001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:03:26] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-01 00:03:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:03:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101047369155477504,"km_value":101047369155477.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:03:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9105011834076676096,"description":"Unknown IO ID 45"} 
[2026-07-01 00:03:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408163072001,"power":11895,"unknown_63":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":9105011834076676096}} 
[2026-07-01 00:03:26] local.INFO: DEBUG: GPS processor result {"connection_id":118660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415355,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:03:26] local.INFO: GPS data processed {"connection_id":118660,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:03:26] local.INFO: Acknowledgment sent {"connection_id":118660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:03:27] local.INFO: TCP Data received {"connection_id":119299,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:03:27] local.INFO: Processing buffer {"connection_id":119299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:03:27] local.INFO: IMEI packet received {"connection_id":119299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 00:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":119299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:03:31] local.INFO: TCP Data received {"connection_id":119299,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:03:31] local.INFO: Processing buffer {"connection_id":119299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:03:31] local.INFO: IMEI packet received {"connection_id":119299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":119299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:03:32] local.INFO: TCP Data received {"connection_id":119299,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f19ccd0a8012d7799400600ffb00011013834..."} 
[2026-07-01 00:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19ccd0a8012d7799400600ffb00011013834..."} 
[2026-07-01 00:03:32] local.INFO: Processing buffer {"connection_id":119299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19ccd0a8012d7799400600ffb00011013834..."} 
[2026-07-01 00:03:32] local.INFO: Packet analysis {"connection_id":119299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19cc"} 
[2026-07-01 00:03:32] local.INFO: Extracted packet for processing {"connection_id":119299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19cc"} 
[2026-07-01 00:03:32] local.INFO: GPS Element Parsed {"raw_longitude":762812736,"raw_latitude":100728752,"longitude_deg":76.2812736,"latitude_deg":10.0728752,"altitude":17,"angle":312,"satellites":52,"speed":40,"hex_longitude":"2d779940","hex_latitude":"0600ffb0","is_valid_coordinates":true} 
[2026-07-01 00:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408133376001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332147782552911872,"note":"Value kept but may cause issues"} 
[2026-07-01 00:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8626152530803812352,"note":"Value kept but may cause issues"} 
[2026-07-01 00:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782844281000,"timestamp_ms":1782844281000,"timestamp_seconds":1782844281,"priority":1,"record_length":96,"hex_timestamp":"0000019f19ccd0a8"} 
[2026-07-01 00:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:03:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 00:03:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:03:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":119299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":119299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":119299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408133376001,"66":27539,"226":206,"79":47616,"24":40,"16":332147782552911872,"45":8626152530803812352},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,79,24,16,45]} 
[2026-07-01 00:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408133376001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:03:32] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-01 00:03:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-01 00:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332147782552911872,"km_value":332147782552911.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8626152530803812352,"description":"Unknown IO ID 45"} 
[2026-07-01 00:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408133376001,"power":27539,"unknown_226":206,"unknown_79":47616,"ignition":40,"odometer":null,"unknown_45":8626152530803812352}} 
[2026-07-01 00:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":119299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:03:32] local.INFO: GPS data processed {"connection_id":119299,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:03:32] local.INFO: Acknowledgment sent {"connection_id":119299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:03:33] local.INFO: TCP Data received {"connection_id":119299,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f19ccf3d0012d777d40060118c80011013734..."} 
[2026-07-01 00:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19ccf3d0012d777d40060118c80011013734..."} 
[2026-07-01 00:03:33] local.INFO: Processing buffer {"connection_id":119299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19ccf3d0012d777d40060118c80011013734..."} 
[2026-07-01 00:03:33] local.INFO: Packet analysis {"connection_id":119299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19cc"} 
[2026-07-01 00:03:33] local.INFO: Extracted packet for processing {"connection_id":119299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19cc"} 
[2026-07-01 00:03:33] local.INFO: GPS Element Parsed {"raw_longitude":762805568,"raw_latitude":100735176,"longitude_deg":76.2805568,"latitude_deg":10.0735176,"altitude":17,"angle":311,"satellites":52,"speed":43,"hex_longitude":"2d777d40","hex_latitude":"060118c8","is_valid_coordinates":true} 
[2026-07-01 00:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408135936001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332148246409379840,"note":"Value kept but may cause issues"} 
[2026-07-01 00:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8617989756480892928,"note":"Value kept but may cause issues"} 
[2026-07-01 00:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782844290000,"timestamp_ms":1782844290000,"timestamp_seconds":1782844290,"priority":1,"record_length":96,"hex_timestamp":"0000019f19ccf3d0"} 
[2026-07-01 00:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:03:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-01 00:03:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:03:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":119299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":119299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":119299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408135936001,"66":27343,"226":206,"79":47616,"24":43,"16":332148246409379840,"45":8617989756480892928},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,79,24,16,45]} 
[2026-07-01 00:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408135936001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:03:33] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-07-01 00:03:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-01 00:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332148246409379840,"km_value":332148246409379.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8617989756480892928,"description":"Unknown IO ID 45"} 
[2026-07-01 00:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408135936001,"power":27343,"unknown_226":206,"unknown_79":47616,"ignition":43,"odometer":null,"unknown_45":8617989756480892928}} 
[2026-07-01 00:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":119299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:03:33] local.INFO: GPS data processed {"connection_id":119299,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:03:33] local.INFO: Acknowledgment sent {"connection_id":119299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:03:47] local.INFO: TCP Data received {"connection_id":120419,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120419,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:03:47] local.INFO: Processing buffer {"connection_id":120419,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:03:47] local.INFO: IMEI packet received {"connection_id":120419,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 00:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":120419,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:03:48] local.INFO: TCP Data received {"connection_id":120419,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120419,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:03:48] local.INFO: Processing buffer {"connection_id":120419,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:03:48] local.INFO: IMEI packet received {"connection_id":120419,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 00:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":120419,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:03:48] local.INFO: TCP Data received {"connection_id":120419,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120419,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:03:48] local.INFO: Processing buffer {"connection_id":120419,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:03:48] local.INFO: IMEI packet received {"connection_id":120419,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 00:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":120419,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:03:53] local.INFO: TCP Data received {"connection_id":120419,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120419,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:03:53] local.INFO: Processing buffer {"connection_id":120419,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:03:53] local.INFO: IMEI packet received {"connection_id":120419,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 00:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":120419,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:03:54] local.INFO: TCP Data received {"connection_id":120419,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f19ce7a70012d7e594005cde1900006015629..."} 
[2026-07-01 00:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19ce7a70012d7e594005cde1900006015629..."} 
[2026-07-01 00:03:54] local.INFO: Processing buffer {"connection_id":120419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19ce7a70012d7e594005cde1900006015629..."} 
[2026-07-01 00:03:54] local.INFO: Packet analysis {"connection_id":120419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19ce"} 
[2026-07-01 00:03:54] local.INFO: Extracted packet for processing {"connection_id":120419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19ce"} 
[2026-07-01 00:03:54] local.INFO: GPS Element Parsed {"raw_longitude":763255104,"raw_latitude":97378704,"longitude_deg":76.3255104,"latitude_deg":9.7378704,"altitude":6,"angle":342,"satellites":41,"speed":16,"hex_longitude":"2d7e5940","hex_latitude":"05cde190","is_valid_coordinates":true} 
[2026-07-01 00: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-01 00:03:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408163328001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:03:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101047390630313984,"note":"Value kept but may cause issues"} 
[2026-07-01 00:03:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9104659990355832832,"note":"Value kept but may cause issues"} 
[2026-07-01 00:03:54] 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-01 00:03:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782844390000,"timestamp_ms":1782844390000,"timestamp_seconds":1782844390,"priority":1,"record_length":96,"hex_timestamp":"0000019f19ce7a70"} 
[2026-07-01 00: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-01 00: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-01 00: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":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 00:03:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00: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-01 00: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-01 00:03:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:03:54] local.INFO: Teltonika packet parsed successfully {"connection_id":120419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:03:54] local.INFO: Passing IMEI to GPS processor {"connection_id":120419,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:03:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":120419,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:03:54] 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-01 00:03:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:03:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:03:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408163328001,"66":11428,"63":206,"85":15104,"24":16,"16":101047390630313984,"45":9104659990355832832},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-07-01 00:03:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:03:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:03:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408163328001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:03:54] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-01 00:03:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:03:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101047390630313984,"km_value":101047390630313.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:03:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9104659990355832832,"description":"Unknown IO ID 45"} 
[2026-07-01 00:03:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408163328001,"power":11428,"unknown_63":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":9104659990355832832}} 
[2026-07-01 00:03:54] local.INFO: DEBUG: GPS processor result {"connection_id":120419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415358,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:03:54] local.INFO: GPS data processed {"connection_id":120419,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:03:54] local.INFO: Acknowledgment sent {"connection_id":120419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:04:04] local.INFO: TCP Data received {"connection_id":119299,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f19ce9d98012d7657c006021f580007011b2e..."} 
[2026-07-01 00:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19ce9d98012d7657c006021f580007011b2e..."} 
[2026-07-01 00:04:04] local.INFO: Processing buffer {"connection_id":119299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19ce9d98012d7657c006021f580007011b2e..."} 
[2026-07-01 00:04:04] local.INFO: Packet analysis {"connection_id":119299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19ce"} 
[2026-07-01 00:04:04] local.INFO: Extracted packet for processing {"connection_id":119299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19ce"} 
[2026-07-01 00:04:04] local.INFO: GPS Element Parsed {"raw_longitude":762730432,"raw_latitude":100802392,"longitude_deg":76.2730432,"latitude_deg":10.0802392,"altitude":7,"angle":283,"satellites":46,"speed":20,"hex_longitude":"2d7657c0","hex_latitude":"06021f58","is_valid_coordinates":true} 
[2026-07-01 00:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408165888001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332153099722424320,"note":"Value kept but may cause issues"} 
[2026-07-01 00:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8528058501440641024,"note":"Value kept but may cause issues"} 
[2026-07-01 00:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782844399000,"timestamp_ms":1782844399000,"timestamp_seconds":1782844399,"priority":1,"record_length":96,"hex_timestamp":"0000019f19ce9d98"} 
[2026-07-01 00:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 00:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:04:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":119299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":119299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":119299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:04:04] 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-01 00:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408165888001,"66":27321,"187":206,"79":47616,"24":20,"16":332153099722424320,"45":8528058501440641024},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,79,24,16,45]} 
[2026-07-01 00:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408165888001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:04:04] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-01 00:04:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-01 00:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332153099722424320,"km_value":332153099722424.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8528058501440641024,"description":"Unknown IO ID 45"} 
[2026-07-01 00:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408165888001,"power":27321,"unknown_187":206,"unknown_79":47616,"ignition":20,"odometer":null,"unknown_45":8528058501440641024}} 
[2026-07-01 00:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":119299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:04:04] local.INFO: GPS data processed {"connection_id":119299,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:04:04] local.INFO: Acknowledgment sent {"connection_id":119299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:04:21] local.INFO: TCP Data received {"connection_id":119300,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:04:21] local.INFO: Processing buffer {"connection_id":119300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:04:21] local.INFO: IMEI packet received {"connection_id":119300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 00:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":119300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:04:22] local.INFO: TCP Data received {"connection_id":119300,"ip":"42.106.6.26","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 00:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119300,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 00:04:22] local.INFO: Processing buffer {"connection_id":119300,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 00:04:22] local.INFO: IMEI packet received {"connection_id":119300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:04:22] local.INFO: IMEI acknowledgment sent {"connection_id":119300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:04:25] local.INFO: TCP Data received {"connection_id":120419,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f19ce91e0012d7e56c005cdef400006000229..."} 
[2026-07-01 00:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19ce91e0012d7e56c005cdef400006000229..."} 
[2026-07-01 00:04:25] local.INFO: Processing buffer {"connection_id":120419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19ce91e0012d7e56c005cdef400006000229..."} 
[2026-07-01 00:04:25] local.INFO: Packet analysis {"connection_id":120419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19ce"} 
[2026-07-01 00:04:25] local.INFO: Extracted packet for processing {"connection_id":120419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19ce"} 
[2026-07-01 00:04:25] local.INFO: GPS Element Parsed {"raw_longitude":763254464,"raw_latitude":97382208,"longitude_deg":76.3254464,"latitude_deg":9.7382208,"altitude":6,"angle":2,"satellites":41,"speed":26,"hex_longitude":"2d7e56c0","hex_latitude":"05cdef40","is_valid_coordinates":true} 
[2026-07-01 00: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-01 00:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408163840001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101047562429005824,"note":"Value kept but may cause issues"} 
[2026-07-01 00:04:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9104378515379294208,"note":"Value kept but may cause issues"} 
[2026-07-01 00:04:25] 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-01 00:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782844396000,"timestamp_ms":1782844396000,"timestamp_seconds":1782844396,"priority":1,"record_length":96,"hex_timestamp":"0000019f19ce91e0"} 
[2026-07-01 00: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-01 00:04:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 00: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":44,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-01 00:04:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1894,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00: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-01 00: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-01 00:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":120419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":120419,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":120419,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:04:25] 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-01 00:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408163840001,"66":11450,"63":206,"85":15104,"24":26,"16":101047562429005824,"45":9104378515379294208},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-07-01 00:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408163840001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:04:25] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-01 00:04:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101047562429005824,"km_value":101047562429005.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:04:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9104378515379294208,"description":"Unknown IO ID 45"} 
[2026-07-01 00:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408163840001,"power":11450,"unknown_63":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":9104378515379294208}} 
[2026-07-01 00:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":120419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415360,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:04:25] local.INFO: GPS data processed {"connection_id":120419,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:04:25] local.INFO: Acknowledgment sent {"connection_id":120419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:04:27] local.INFO: TCP Data received {"connection_id":119300,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:04:27] local.INFO: Processing buffer {"connection_id":119300,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 00:04:27] local.INFO: IMEI packet received {"connection_id":119300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":119300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:04:28] local.INFO: TCP Data received {"connection_id":119300,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f19cea568012d76538006021fc00007010f30..."} 
[2026-07-01 00:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19cea568012d76538006021fc00007010f30..."} 
[2026-07-01 00:04:28] local.INFO: Processing buffer {"connection_id":119300,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f19..."} 
[2026-07-01 00:04:28] local.INFO: IMEI packet received {"connection_id":119300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":119300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:04:33] local.INFO: TCP Data received {"connection_id":119300,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f19ceb508012d764a40060220d00007011f32..."} 
[2026-07-01 00:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19ceb508012d764a40060220d00007011f32..."} 
[2026-07-01 00:04:33] local.INFO: Processing buffer {"connection_id":119300,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f19cea568012d76538006021fc00007010f30..."} 
[2026-07-01 00:04:33] local.INFO: Packet analysis {"connection_id":119300,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f19ce"} 
[2026-07-01 00:04:33] local.INFO: Extracted packet for processing {"connection_id":119300,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19ce"} 
[2026-07-01 00:04:33] local.INFO: GPS Element Parsed {"raw_longitude":762729344,"raw_latitude":100802496,"longitude_deg":76.2729344,"latitude_deg":10.0802496,"altitude":7,"angle":271,"satellites":48,"speed":22,"hex_longitude":"2d765380","hex_latitude":"06021fc0","is_valid_coordinates":true} 
[2026-07-01 00: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-01 00:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408166144001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332153151262031872,"note":"Value kept but may cause issues"} 
[2026-07-01 00:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8527495551487268864,"note":"Value kept but may cause issues"} 
[2026-07-01 00:04:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782844401000,"timestamp_ms":1782844401000,"timestamp_seconds":1782844401,"priority":1,"record_length":96,"hex_timestamp":"0000019f19cea568"} 
[2026-07-01 00: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-01 00:04: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-01 00: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-01 00:04:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00: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-01 00: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-01 00:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":119300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":119300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":119300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408166144001,"66":27604,"187":206,"79":47616,"24":22,"16":332153151262031872,"45":8527495551487268864},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,79,24,16,45]} 
[2026-07-01 00:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408166144001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:04:33] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-01 00:04:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-01 00:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332153151262031872,"km_value":332153151262031.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8527495551487268864,"description":"Unknown IO ID 45"} 
[2026-07-01 00:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408166144001,"power":27604,"unknown_187":206,"unknown_79":47616,"ignition":22,"odometer":null,"unknown_45":8527495551487268864}} 
[2026-07-01 00:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":119300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:04:33] local.INFO: GPS data processed {"connection_id":119300,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:04:33] local.INFO: Acknowledgment sent {"connection_id":119300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:04:33] local.INFO: Packet analysis {"connection_id":119300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19ce"} 
[2026-07-01 00:04:33] local.INFO: Extracted packet for processing {"connection_id":119300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19ce"} 
[2026-07-01 00:04:33] local.INFO: GPS Element Parsed {"raw_longitude":762726976,"raw_latitude":100802768,"longitude_deg":76.2726976,"latitude_deg":10.0802768,"altitude":7,"angle":287,"satellites":50,"speed":22,"hex_longitude":"2d764a40","hex_latitude":"060220d0","is_valid_coordinates":true} 
[2026-07-01 00: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-01 00:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408166656001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332153262931181568,"note":"Value kept but may cause issues"} 
[2026-07-01 00:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8526299282836275200,"note":"Value kept but may cause issues"} 
[2026-07-01 00:04:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782844405000,"timestamp_ms":1782844405000,"timestamp_seconds":1782844405,"priority":1,"record_length":96,"hex_timestamp":"0000019f19ceb508"} 
[2026-07-01 00: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-01 00:04:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-01 00:04:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00: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-01 00: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-01 00:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":119300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":119300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":119300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408166656001,"66":27484,"187":206,"79":47616,"24":22,"16":332153262931181568,"45":8526299282836275200},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,79,24,16,45]} 
[2026-07-01 00:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408166656001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:04:33] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-01 00:04:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-01 00:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332153262931181568,"km_value":332153262931181.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8526299282836275200,"description":"Unknown IO ID 45"} 
[2026-07-01 00:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408166656001,"power":27484,"unknown_187":206,"unknown_79":47616,"ignition":22,"odometer":null,"unknown_45":8526299282836275200}} 
[2026-07-01 00:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":119300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:04:33] local.INFO: GPS data processed {"connection_id":119300,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:04:33] local.INFO: Acknowledgment sent {"connection_id":119300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:04:34] local.INFO: TCP Data received {"connection_id":119300,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f19cebcd8012d764640060222a00007012e32..."} 
[2026-07-01 00:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19cebcd8012d764640060222a00007012e32..."} 
[2026-07-01 00:04:34] local.INFO: Processing buffer {"connection_id":119300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19cebcd8012d764640060222a00007012e32..."} 
[2026-07-01 00:04:34] local.INFO: Packet analysis {"connection_id":119300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19ce"} 
[2026-07-01 00:04:34] local.INFO: Extracted packet for processing {"connection_id":119300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19ce"} 
[2026-07-01 00:04:34] local.INFO: GPS Element Parsed {"raw_longitude":762725952,"raw_latitude":100803232,"longitude_deg":76.2725952,"latitude_deg":10.0803232,"altitude":7,"angle":302,"satellites":50,"speed":20,"hex_longitude":"2d764640","hex_latitude":"060222a0","is_valid_coordinates":true} 
[2026-07-01 00:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408167680001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332153314470789120,"note":"Value kept but may cause issues"} 
[2026-07-01 00:04:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8523695639301771264,"note":"Value kept but may cause issues"} 
[2026-07-01 00:04:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782844407000,"timestamp_ms":1782844407000,"timestamp_seconds":1782844407,"priority":1,"record_length":96,"hex_timestamp":"0000019f19cebcd8"} 
[2026-07-01 00:04:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:04:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 00:04:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:04:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:04:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":119300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":119300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":119300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:04:34] 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-01 00:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408167680001,"66":27484,"187":206,"79":47616,"24":20,"16":332153314470789120,"45":8523695639301771264},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,79,24,16,45]} 
[2026-07-01 00:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408167680001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:04:34] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-01 00:04:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-01 00:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332153314470789120,"km_value":332153314470789.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:04:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8523695639301771264,"description":"Unknown IO ID 45"} 
[2026-07-01 00:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408167680001,"power":27484,"unknown_187":206,"unknown_79":47616,"ignition":20,"odometer":null,"unknown_45":8523695639301771264}} 
[2026-07-01 00:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":119300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:04:34] local.INFO: GPS data processed {"connection_id":119300,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:04:34] local.INFO: Acknowledgment sent {"connection_id":119300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:04:57] local.INFO: TCP Data received {"connection_id":118547,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118547,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:04:57] local.INFO: Processing buffer {"connection_id":118547,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:04:57] local.INFO: IMEI packet received {"connection_id":118547,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 00:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":118547,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:04:59] local.INFO: TCP Data received {"connection_id":118547,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118547,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:04:59] local.INFO: Processing buffer {"connection_id":118547,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:04:59] local.INFO: IMEI packet received {"connection_id":118547,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 00:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":118547,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:05:18] local.INFO: TCP Data received {"connection_id":118547,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118547,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:05:18] local.INFO: Processing buffer {"connection_id":118547,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:05:18] local.INFO: IMEI packet received {"connection_id":118547,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 00:05:18] local.INFO: IMEI acknowledgment sent {"connection_id":118547,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:05:19] local.INFO: TCP Data received {"connection_id":118547,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118547,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:05:19] local.INFO: Processing buffer {"connection_id":118547,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:05:19] local.INFO: IMEI packet received {"connection_id":118547,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 00:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":118547,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:05:22] local.INFO: TCP Data received {"connection_id":118662,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:05:22] local.INFO: Processing buffer {"connection_id":118662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:05:22] local.INFO: IMEI packet received {"connection_id":118662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 00:05:22] local.INFO: IMEI acknowledgment sent {"connection_id":118662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:05:22] local.INFO: TCP Data received {"connection_id":118662,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:05:22] local.INFO: Processing buffer {"connection_id":118662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:05:22] local.INFO: IMEI packet received {"connection_id":118662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:05:22] local.INFO: IMEI acknowledgment sent {"connection_id":118662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:05:27] local.INFO: TCP Data received {"connection_id":118662,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:05:27] local.INFO: Processing buffer {"connection_id":118662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:05:27] local.INFO: IMEI packet received {"connection_id":118662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":118662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:05:28] local.INFO: TCP Data received {"connection_id":118662,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f19cee3e8012d76378006022ed80006013a31..."} 
[2026-07-01 00:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19cee3e8012d76378006022ed80006013a31..."} 
[2026-07-01 00:05:28] local.INFO: Processing buffer {"connection_id":118662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19cee3e8012d76378006022ed80006013a31..."} 
[2026-07-01 00:05:28] local.INFO: Packet analysis {"connection_id":118662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19ce"} 
[2026-07-01 00:05:28] local.INFO: Extracted packet for processing {"connection_id":118662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19ce"} 
[2026-07-01 00:05:28] local.INFO: GPS Element Parsed {"raw_longitude":762722176,"raw_latitude":100806360,"longitude_deg":76.2722176,"latitude_deg":10.080636,"altitude":6,"angle":314,"satellites":49,"speed":19,"hex_longitude":"2d763780","hex_latitude":"06022ed8","is_valid_coordinates":true} 
[2026-07-01 00:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:05:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408168192001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:05:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332153554988957696,"note":"Value kept but may cause issues"} 
[2026-07-01 00:05:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8522569739395047424,"note":"Value kept but may cause issues"} 
[2026-07-01 00:05:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:05:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782844417000,"timestamp_ms":1782844417000,"timestamp_seconds":1782844417,"priority":1,"record_length":96,"hex_timestamp":"0000019f19cee3e8"} 
[2026-07-01 00:05:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:05:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 00:05:28] 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-01 00:05:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:05:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:05:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:05:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:05:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:05:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:05:28] 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-01 00:05:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:05:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:05:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408168192001,"66":27517,"187":206,"79":47616,"24":19,"16":332153554988957696,"45":8522569739395047424},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,79,24,16,45]} 
[2026-07-01 00:05:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:05:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:05:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408168192001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:05:28] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-01 00:05:28] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-01 00:05:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332153554988957696,"km_value":332153554988957.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:05:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8522569739395047424,"description":"Unknown IO ID 45"} 
[2026-07-01 00:05:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408168192001,"power":27517,"unknown_187":206,"unknown_79":47616,"ignition":19,"odometer":null,"unknown_45":8522569739395047424}} 
[2026-07-01 00:05:28] local.INFO: DEBUG: GPS processor result {"connection_id":118662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:05:28] local.INFO: GPS data processed {"connection_id":118662,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:05:28] local.INFO: Acknowledgment sent {"connection_id":118662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:05:59] local.INFO: TCP Data received {"connection_id":118662,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f19cef770012d76318006023610000701462f..."} 
[2026-07-01 00:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19cef770012d76318006023610000701462f..."} 
[2026-07-01 00:05:59] local.INFO: Processing buffer {"connection_id":118662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19cef770012d76318006023610000701462f..."} 
[2026-07-01 00:05:59] local.INFO: Packet analysis {"connection_id":118662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19ce"} 
[2026-07-01 00:05:59] local.INFO: Extracted packet for processing {"connection_id":118662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19ce"} 
[2026-07-01 00:05:59] local.INFO: GPS Element Parsed {"raw_longitude":762720640,"raw_latitude":100808208,"longitude_deg":76.272064,"latitude_deg":10.0808208,"altitude":7,"angle":326,"satellites":47,"speed":17,"hex_longitude":"2d763180","hex_latitude":"06023610","is_valid_coordinates":true} 
[2026-07-01 00:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408170752001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332153670953074688,"note":"Value kept but may cause issues"} 
[2026-07-01 00:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8518417983489366016,"note":"Value kept but may cause issues"} 
[2026-07-01 00:05:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782844422000,"timestamp_ms":1782844422000,"timestamp_seconds":1782844422,"priority":1,"record_length":96,"hex_timestamp":"0000019f19cef770"} 
[2026-07-01 00:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:05:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-01 00:05:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:05:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:05:59] 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-01 00:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408170752001,"66":27463,"187":206,"79":47616,"24":17,"16":332153670953074688,"45":8518417983489366016},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,79,24,16,45]} 
[2026-07-01 00:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408170752001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:05:59] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-01 00:05:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-01 00:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332153670953074688,"km_value":332153670953074.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:05:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8518417983489366016,"description":"Unknown IO ID 45"} 
[2026-07-01 00:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408170752001,"power":27463,"unknown_187":206,"unknown_79":47616,"ignition":17,"odometer":null,"unknown_45":8518417983489366016}} 
[2026-07-01 00:06:00] local.INFO: DEBUG: GPS processor result {"connection_id":118662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:06:00] local.INFO: GPS data processed {"connection_id":118662,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:06:00] local.INFO: Acknowledgment sent {"connection_id":118662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:06:22] local.INFO: TCP Data received {"connection_id":118548,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:06:22] local.INFO: Processing buffer {"connection_id":118548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:06:22] local.INFO: IMEI packet received {"connection_id":118548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 00:06:22] local.INFO: IMEI acknowledgment sent {"connection_id":118548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:06:27] local.INFO: TCP Data received {"connection_id":118548,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:06:27] local.INFO: Processing buffer {"connection_id":118548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:06:27] local.INFO: IMEI packet received {"connection_id":118548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":118548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:06:28] local.INFO: TCP Data received {"connection_id":118548,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f19d081f8012d75a6c00602fc580006015630..."} 
[2026-07-01 00:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19d081f8012d75a6c00602fc580006015630..."} 
[2026-07-01 00:06:28] local.INFO: Processing buffer {"connection_id":118548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19d081f8012d75a6c00602fc580006015630..."} 
[2026-07-01 00:06:28] local.INFO: Packet analysis {"connection_id":118548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19d0"} 
[2026-07-01 00:06:28] local.INFO: Extracted packet for processing {"connection_id":118548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19d0"} 
[2026-07-01 00:06:28] local.INFO: GPS Element Parsed {"raw_longitude":762685120,"raw_latitude":100858968,"longitude_deg":76.268512,"latitude_deg":10.0858968,"altitude":6,"angle":342,"satellites":48,"speed":40,"hex_longitude":"2d75a6c0","hex_latitude":"0602fc58","is_valid_coordinates":true} 
[2026-07-01 00:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:06:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408195584001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:06:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332156733264756736,"note":"Value kept but may cause issues"} 
[2026-07-01 00:06:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8480770705365585920,"note":"Value kept but may cause issues"} 
[2026-07-01 00:06:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:06:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782844523000,"timestamp_ms":1782844523000,"timestamp_seconds":1782844523,"priority":1,"record_length":96,"hex_timestamp":"0000019f19d081f8"} 
[2026-07-01 00:06:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:06: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-01 00:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-01 00:06:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:06:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:06:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:06:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:06:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:06:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:06:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:06:28] 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-01 00:06:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:06:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:06:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408195584001,"66":27223,"21":206,"79":47616,"24":40,"16":332156733264756736,"45":8480770705365585920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-07-01 00:06:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:06:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:06:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408195584001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:06:28] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-07-01 00:06:28] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-01 00:06:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332156733264756736,"km_value":332156733264756.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:06:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8480770705365585920,"description":"Unknown IO ID 45"} 
[2026-07-01 00:06:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408195584001,"power":27223,"unknown_21":206,"unknown_79":47616,"ignition":40,"odometer":null,"unknown_45":8480770705365585920}} 
[2026-07-01 00:06:28] local.INFO: DEBUG: GPS processor result {"connection_id":118548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:06:28] local.INFO: GPS data processed {"connection_id":118548,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:06:28] local.INFO: Acknowledgment sent {"connection_id":118548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:06:59] local.INFO: TCP Data received {"connection_id":118548,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f19d0a908012d759b4006031ef0000701572f..."} 
[2026-07-01 00:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19d0a908012d759b4006031ef0000701572f..."} 
[2026-07-01 00:06:59] local.INFO: Processing buffer {"connection_id":118548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19d0a908012d759b4006031ef0000701572f..."} 
[2026-07-01 00:06:59] local.INFO: Packet analysis {"connection_id":118548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19d0"} 
[2026-07-01 00:06:59] local.INFO: Extracted packet for processing {"connection_id":118548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19d0"} 
[2026-07-01 00:06:59] local.INFO: GPS Element Parsed {"raw_longitude":762682176,"raw_latitude":100867824,"longitude_deg":76.2682176,"latitude_deg":10.0867824,"altitude":7,"angle":343,"satellites":47,"speed":31,"hex_longitude":"2d759b40","hex_latitude":"06031ef0","is_valid_coordinates":true} 
[2026-07-01 00:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408197888001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332157184236322816,"note":"Value kept but may cause issues"} 
[2026-07-01 00:06:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8477674480623966208,"note":"Value kept but may cause issues"} 
[2026-07-01 00:06:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782844533000,"timestamp_ms":1782844533000,"timestamp_seconds":1782844533,"priority":1,"record_length":96,"hex_timestamp":"0000019f19d0a908"} 
[2026-07-01 00:06:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:06: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-01 00:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-07-01 00:06:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1511,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:06:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:06:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:06:59] 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-01 00:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408197888001,"66":27267,"21":206,"79":47616,"24":31,"16":332157184236322816,"45":8477674480623966208},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-07-01 00:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408197888001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:06:59] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-07-01 00:06:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-01 00:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332157184236322816,"km_value":332157184236322.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:06:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8477674480623966208,"description":"Unknown IO ID 45"} 
[2026-07-01 00:06:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408197888001,"power":27267,"unknown_21":206,"unknown_79":47616,"ignition":31,"odometer":null,"unknown_45":8477674480623966208}} 
[2026-07-01 00:06:59] local.INFO: DEBUG: GPS processor result {"connection_id":118548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:06:59] local.INFO: GPS data processed {"connection_id":118548,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:06:59] local.INFO: Acknowledgment sent {"connection_id":118548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:07:22] local.INFO: TCP Data received {"connection_id":118666,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:07:22] local.INFO: Processing buffer {"connection_id":118666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:07:22] local.INFO: IMEI packet received {"connection_id":118666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 00:07:22] local.INFO: IMEI acknowledgment sent {"connection_id":118666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:07:27] local.INFO: TCP Data received {"connection_id":118666,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:07:27] local.INFO: Processing buffer {"connection_id":118666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:07:27] local.INFO: IMEI packet received {"connection_id":118666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":118666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:07:28] local.INFO: TCP Data received {"connection_id":118666,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f19d0b4c0012d759a0006032768000700002f..."} 
[2026-07-01 00:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19d0b4c0012d759a0006032768000700002f..."} 
[2026-07-01 00:07:28] local.INFO: Processing buffer {"connection_id":118666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19d0b4c0012d759a0006032768000700002f..."} 
[2026-07-01 00:07:28] local.INFO: Packet analysis {"connection_id":118666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19d0"} 
[2026-07-01 00:07:28] local.INFO: Extracted packet for processing {"connection_id":118666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19d0"} 
[2026-07-01 00:07:28] local.INFO: GPS Element Parsed {"raw_longitude":762681856,"raw_latitude":100869992,"longitude_deg":76.2681856,"latitude_deg":10.0869992,"altitude":7,"angle":0,"satellites":47,"speed":28,"hex_longitude":"2d759a00","hex_latitude":"06032768","is_valid_coordinates":true} 
[2026-07-01 00:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408200448001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332157291610505216,"note":"Value kept but may cause issues"} 
[2026-07-01 00:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8474437518394060800,"note":"Value kept but may cause issues"} 
[2026-07-01 00:07:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782844536000,"timestamp_ms":1782844536000,"timestamp_seconds":1782844536,"priority":1,"record_length":96,"hex_timestamp":"0000019f19d0b4c0"} 
[2026-07-01 00:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:07: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-01 00:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-01 00:07:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:07:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:07:28] 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-01 00:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408200448001,"66":27245,"21":206,"79":47616,"24":28,"16":332157291610505216,"45":8474437518394060800},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-07-01 00:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408200448001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:07:28] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-07-01 00:07:28] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-01 00:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332157291610505216,"km_value":332157291610505.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8474437518394060800,"description":"Unknown IO ID 45"} 
[2026-07-01 00:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408200448001,"power":27245,"unknown_21":206,"unknown_79":47616,"ignition":28,"odometer":null,"unknown_45":8474437518394060800}} 
[2026-07-01 00:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":118666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:07:28] local.INFO: GPS data processed {"connection_id":118666,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:07:28] local.INFO: Acknowledgment sent {"connection_id":118666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:07:59] local.INFO: TCP Data received {"connection_id":118666,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f19d21068012d754140060469d80008015a30..."} 
[2026-07-01 00:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19d21068012d754140060469d80008015a30..."} 
[2026-07-01 00:07:59] local.INFO: Processing buffer {"connection_id":118666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19d21068012d754140060469d80008015a30..."} 
[2026-07-01 00:07:59] local.INFO: Packet analysis {"connection_id":118666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19d2"} 
[2026-07-01 00:07:59] local.INFO: Extracted packet for processing {"connection_id":118666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19d2"} 
[2026-07-01 00:07:59] local.INFO: GPS Element Parsed {"raw_longitude":762659136,"raw_latitude":100952536,"longitude_deg":76.2659136,"latitude_deg":10.0952536,"altitude":8,"angle":346,"satellites":48,"speed":8,"hex_longitude":"2d754140","hex_latitude":"060469d8","is_valid_coordinates":true} 
[2026-07-01 00:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408222464001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332161449138847744,"note":"Value kept but may cause issues"} 
[2026-07-01 00:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8449175139255609344,"note":"Value kept but may cause issues"} 
[2026-07-01 00:07:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782844625000,"timestamp_ms":1782844625000,"timestamp_seconds":1782844625,"priority":1,"record_length":96,"hex_timestamp":"0000019f19d21068"} 
[2026-07-01 00:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:07:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-01 00:07:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:07:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:07:59] 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-01 00:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408222464001,"66":27571,"196":206,"79":47616,"24":8,"16":332161449138847744,"45":8449175139255609344},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,79,24,16,45]} 
[2026-07-01 00:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408222464001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:07:59] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-01 00:07:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-01 00:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332161449138847744,"km_value":332161449138847.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8449175139255609344,"description":"Unknown IO ID 45"} 
[2026-07-01 00:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408222464001,"power":27571,"unknown_196":206,"unknown_79":47616,"ignition":8,"odometer":null,"unknown_45":8449175139255609344}} 
[2026-07-01 00:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":118666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:07:59] local.INFO: GPS data processed {"connection_id":118666,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:07:59] local.INFO: Acknowledgment sent {"connection_id":118666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:08:22] local.INFO: TCP Data received {"connection_id":118550,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:08:22] local.INFO: Processing buffer {"connection_id":118550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:08:22] local.INFO: IMEI packet received {"connection_id":118550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 00:08:22] local.INFO: IMEI acknowledgment sent {"connection_id":118550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:08:27] local.INFO: TCP Data received {"connection_id":118550,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:08:27] local.INFO: Processing buffer {"connection_id":118550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:08:27] local.INFO: IMEI packet received {"connection_id":118550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":118550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:08:28] local.INFO: TCP Data received {"connection_id":118550,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f19d22fa8012d753e40060471980006014e30..."} 
[2026-07-01 00:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19d22fa8012d753e40060471980006014e30..."} 
[2026-07-01 00:08:28] local.INFO: Processing buffer {"connection_id":118550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19d22fa8012d753e40060471980006014e30..."} 
[2026-07-01 00:08:28] local.INFO: Packet analysis {"connection_id":118550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19d2"} 
[2026-07-01 00:08:28] local.INFO: Extracted packet for processing {"connection_id":118550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19d2"} 
[2026-07-01 00:08:28] local.INFO: GPS Element Parsed {"raw_longitude":762658368,"raw_latitude":100954520,"longitude_deg":76.2658368,"latitude_deg":10.095452,"altitude":6,"angle":334,"satellites":48,"speed":13,"hex_longitude":"2d753e40","hex_latitude":"06047198","is_valid_coordinates":true} 
[2026-07-01 00:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408224000001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332161552218062848,"note":"Value kept but may cause issues"} 
[2026-07-01 00:08:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8449104770511788032,"note":"Value kept but may cause issues"} 
[2026-07-01 00:08:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782844633000,"timestamp_ms":1782844633000,"timestamp_seconds":1782844633,"priority":1,"record_length":96,"hex_timestamp":"0000019f19d22fa8"} 
[2026-07-01 00:08:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:08: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-01 00:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-01 00:08:28] 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-01 00:08:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:08:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:08:28] 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-01 00:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408224000001,"66":27517,"196":206,"79":47616,"24":13,"16":332161552218062848,"45":8449104770511788032},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,79,24,16,45]} 
[2026-07-01 00:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408224000001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:08:28] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-01 00:08:28] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-01 00:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332161552218062848,"km_value":332161552218062.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:08:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8449104770511788032,"description":"Unknown IO ID 45"} 
[2026-07-01 00:08:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408224000001,"power":27517,"unknown_196":206,"unknown_79":47616,"ignition":13,"odometer":null,"unknown_45":8449104770511788032}} 
[2026-07-01 00:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":118550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:08:28] local.INFO: GPS data processed {"connection_id":118550,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:08:28] local.INFO: Acknowledgment sent {"connection_id":118550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:08:37] local.INFO: TCP Data received {"connection_id":119303,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 00:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119303,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 00:08:37] local.INFO: Processing buffer {"connection_id":119303,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 00:08:37] local.INFO: IMEI packet received {"connection_id":119303,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 00:08:37] local.INFO: IMEI acknowledgment sent {"connection_id":119303,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:08:59] local.INFO: TCP Data received {"connection_id":118550,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f19d24b00012d753a8006047cd80006015b30..."} 
[2026-07-01 00:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19d24b00012d753a8006047cd80006015b30..."} 
[2026-07-01 00:08:59] local.INFO: Processing buffer {"connection_id":118550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19d24b00012d753a8006047cd80006015b30..."} 
[2026-07-01 00:08:59] local.INFO: Packet analysis {"connection_id":118550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19d2"} 
[2026-07-01 00:08:59] local.INFO: Extracted packet for processing {"connection_id":118550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19d2"} 
[2026-07-01 00:08:59] local.INFO: GPS Element Parsed {"raw_longitude":762657408,"raw_latitude":100957400,"longitude_deg":76.2657408,"latitude_deg":10.09574,"altitude":6,"angle":347,"satellites":48,"speed":18,"hex_longitude":"2d753a80","hex_latitude":"06047cd8","is_valid_coordinates":true} 
[2026-07-01 00:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408226048001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332161698246950912,"note":"Value kept but may cause issues"} 
[2026-07-01 00:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8448260345582163968,"note":"Value kept but may cause issues"} 
[2026-07-01 00:08:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782844640000,"timestamp_ms":1782844640000,"timestamp_seconds":1782844640,"priority":1,"record_length":96,"hex_timestamp":"0000019f19d24b00"} 
[2026-07-01 00:08:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:08: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-01 00:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-01 00:08:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:08:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:08:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:08:59] 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-01 00:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408226048001,"66":27234,"196":206,"79":47616,"24":18,"16":332161698246950912,"45":8448260345582163968},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,79,24,16,45]} 
[2026-07-01 00:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408226048001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:08:59] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-01 00:08:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-01 00:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332161698246950912,"km_value":332161698246950.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8448260345582163968,"description":"Unknown IO ID 45"} 
[2026-07-01 00:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408226048001,"power":27234,"unknown_196":206,"unknown_79":47616,"ignition":18,"odometer":null,"unknown_45":8448260345582163968}} 
[2026-07-01 00:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":118550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:08:59] local.INFO: GPS data processed {"connection_id":118550,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:08:59] local.INFO: Acknowledgment sent {"connection_id":118550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:09:22] local.INFO: TCP Data received {"connection_id":119304,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 00:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119304,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 00:09:22] local.INFO: Processing buffer {"connection_id":119304,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 00:09:22] local.INFO: IMEI packet received {"connection_id":119304,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 00:09:22] local.INFO: IMEI acknowledgment sent {"connection_id":119304,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:09:27] local.INFO: TCP Data received {"connection_id":119305,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:09:27] local.INFO: Processing buffer {"connection_id":119305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:09:27] local.INFO: IMEI packet received {"connection_id":119305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 00:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":119305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:09:32] local.INFO: TCP Data received {"connection_id":119305,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:09:32] local.INFO: Processing buffer {"connection_id":119305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:09:32] local.INFO: IMEI packet received {"connection_id":119305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":119305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:09:36] local.INFO: TCP Data received {"connection_id":119305,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f19d29920012d752fc006049fa00007015931..."} 
[2026-07-01 00:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19d29920012d752fc006049fa00007015931..."} 
[2026-07-01 00:09:36] local.INFO: Processing buffer {"connection_id":119305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19d29920012d752fc006049fa00007015931..."} 
[2026-07-01 00:09:36] local.INFO: Packet analysis {"connection_id":119305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19d2"} 
[2026-07-01 00:09:36] local.INFO: Extracted packet for processing {"connection_id":119305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19d2"} 
[2026-07-01 00:09:36] local.INFO: GPS Element Parsed {"raw_longitude":762654656,"raw_latitude":100966304,"longitude_deg":76.2654656,"latitude_deg":10.0966304,"altitude":7,"angle":345,"satellites":49,"speed":23,"hex_longitude":"2d752fc0","hex_latitude":"06049fa0","is_valid_coordinates":true} 
[2026-07-01 00: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-01 00:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408227840001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332162149218516992,"note":"Value kept but may cause issues"} 
[2026-07-01 00:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8447204814420236288,"note":"Value kept but may cause issues"} 
[2026-07-01 00:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782844660000,"timestamp_ms":1782844660000,"timestamp_seconds":1782844660,"priority":1,"record_length":96,"hex_timestamp":"0000019f19d29920"} 
[2026-07-01 00: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-01 00:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-01 00:09:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00: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-01 00: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-01 00:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":119305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":119305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":119305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:09:36] 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-01 00:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408227840001,"66":27539,"196":206,"79":47616,"24":23,"16":332162149218516992,"45":8447204814420236288},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,79,24,16,45]} 
[2026-07-01 00:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408227840001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:09:36] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-01 00:09:36] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-01 00:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332162149218516992,"km_value":332162149218517.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8447204814420236288,"description":"Unknown IO ID 45"} 
[2026-07-01 00:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408227840001,"power":27539,"unknown_196":206,"unknown_79":47616,"ignition":23,"odometer":null,"unknown_45":8447204814420236288}} 
[2026-07-01 00:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":119305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:09:36] local.INFO: GPS data processed {"connection_id":119305,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:09:36] local.INFO: Acknowledgment sent {"connection_id":119305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:09:37] local.INFO: TCP Data received {"connection_id":119305,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f19d2c800012d7526400604c1600009015230..."} 
[2026-07-01 00:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19d2c800012d7526400604c1600009015230..."} 
[2026-07-01 00:09:37] local.INFO: Processing buffer {"connection_id":119305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19d2c800012d7526400604c1600009015230..."} 
[2026-07-01 00:09:37] local.INFO: Packet analysis {"connection_id":119305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19d2"} 
[2026-07-01 00:09:37] local.INFO: Extracted packet for processing {"connection_id":119305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19d2"} 
[2026-07-01 00:09:37] local.INFO: GPS Element Parsed {"raw_longitude":762652224,"raw_latitude":100974944,"longitude_deg":76.2652224,"latitude_deg":10.0974944,"altitude":9,"angle":338,"satellites":48,"speed":32,"hex_longitude":"2d752640","hex_latitude":"0604c160","is_valid_coordinates":true} 
[2026-07-01 00:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408232960001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332162587305181184,"note":"Value kept but may cause issues"} 
[2026-07-01 00:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8444178958422876160,"note":"Value kept but may cause issues"} 
[2026-07-01 00:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782844672000,"timestamp_ms":1782844672000,"timestamp_seconds":1782844672,"priority":1,"record_length":96,"hex_timestamp":"0000019f19d2c800"} 
[2026-07-01 00:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-01 00:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":119305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":119305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":119305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408232960001,"66":27376,"196":206,"79":47616,"24":32,"16":332162587305181184,"45":8444178958422876160},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,79,24,16,45]} 
[2026-07-01 00:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408232960001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:09:37] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-01 00:09:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-01 00:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332162587305181184,"km_value":332162587305181.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8444178958422876160,"description":"Unknown IO ID 45"} 
[2026-07-01 00:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408232960001,"power":27376,"unknown_196":206,"unknown_79":47616,"ignition":32,"odometer":null,"unknown_45":8444178958422876160}} 
[2026-07-01 00:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":119305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:09:37] local.INFO: GPS data processed {"connection_id":119305,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:09:37] local.INFO: Acknowledgment sent {"connection_id":119305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:10:08] local.INFO: TCP Data received {"connection_id":118551,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118551,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:10:08] local.INFO: Processing buffer {"connection_id":118551,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:10:08] local.INFO: IMEI packet received {"connection_id":118551,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 00:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":118551,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:10:09] local.INFO: TCP Data received {"connection_id":118551,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f19d2f2f8012d7e844005d035d00007000228..."} 
[2026-07-01 00:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19d2f2f8012d7e844005d035d00007000228..."} 
[2026-07-01 00:10:09] local.INFO: Processing buffer {"connection_id":118551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19d2f2f8012d7e844005d035d00007000228..."} 
[2026-07-01 00:10:09] local.INFO: Packet analysis {"connection_id":118551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19d2"} 
[2026-07-01 00:10:09] local.INFO: Extracted packet for processing {"connection_id":118551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19d2"} 
[2026-07-01 00:10:09] local.INFO: GPS Element Parsed {"raw_longitude":763266112,"raw_latitude":97531344,"longitude_deg":76.3266112,"latitude_deg":9.7531344,"altitude":7,"angle":2,"satellites":40,"speed":22,"hex_longitude":"2d7e8440","hex_latitude":"05d035d0","is_valid_coordinates":true} 
[2026-07-01 00: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-01 00:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408236800001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101055761521573888,"note":"Value kept but may cause issues"} 
[2026-07-01 00:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9116693045648328704,"note":"Value kept but may cause issues"} 
[2026-07-01 00:10:09] 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-01 00:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782844683000,"timestamp_ms":1782844683000,"timestamp_seconds":1782844683,"priority":1,"record_length":96,"hex_timestamp":"0000019f19d2f2f8"} 
[2026-07-01 00: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-01 00:10: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-01 00: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":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 00:10:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00: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-01 00: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-01 00:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":118551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":118551,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":118551,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:10:09] 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-01 00:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408236800001,"66":11798,"95":206,"85":15104,"24":22,"16":101055761521573888,"45":9116693045648328704},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-07-01 00:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408236800001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:10:09] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-01 00:10:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101055761521573888,"km_value":101055761521573.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9116693045648328704,"description":"Unknown IO ID 45"} 
[2026-07-01 00:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408236800001,"power":11798,"unknown_95":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9116693045648328704}} 
[2026-07-01 00:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":118551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415374,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:10:09] local.INFO: GPS data processed {"connection_id":118551,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:10:09] local.INFO: Acknowledgment sent {"connection_id":118551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:10:19] local.INFO: TCP Data received {"connection_id":119306,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:10:19] local.INFO: Processing buffer {"connection_id":119306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:10:19] local.INFO: IMEI packet received {"connection_id":119306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 00:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":119306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:10:23] local.INFO: TCP Data received {"connection_id":119306,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:10:23] local.INFO: Processing buffer {"connection_id":119306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:10:23] local.INFO: IMEI packet received {"connection_id":119306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:10:23] local.INFO: IMEI acknowledgment sent {"connection_id":119306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:10:31] local.INFO: TCP Data received {"connection_id":119306,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:10:31] local.INFO: Processing buffer {"connection_id":119306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:10:31] local.INFO: IMEI packet received {"connection_id":119306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":119306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:10:32] local.INFO: TCP Data received {"connection_id":119306,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f19d2f2f8012d7518c00604e2980009015030..."} 
[2026-07-01 00:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19d2f2f8012d7518c00604e2980009015030..."} 
[2026-07-01 00:10:32] local.INFO: Processing buffer {"connection_id":119306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19d2f2f8012d7518c00604e2980009015030..."} 
[2026-07-01 00:10:32] local.INFO: Packet analysis {"connection_id":119306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19d2"} 
[2026-07-01 00:10:32] local.INFO: Extracted packet for processing {"connection_id":119306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19d2"} 
[2026-07-01 00:10:32] local.INFO: GPS Element Parsed {"raw_longitude":762648768,"raw_latitude":100983448,"longitude_deg":76.2648768,"latitude_deg":10.0983448,"altitude":9,"angle":336,"satellites":48,"speed":33,"hex_longitude":"2d7518c0","hex_latitude":"0604e298","is_valid_coordinates":true} 
[2026-07-01 00:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408236032001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332163029686812672,"note":"Value kept but may cause issues"} 
[2026-07-01 00:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8441504946146336768,"note":"Value kept but may cause issues"} 
[2026-07-01 00:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782844683000,"timestamp_ms":1782844683000,"timestamp_seconds":1782844683,"priority":1,"record_length":96,"hex_timestamp":"0000019f19d2f2f8"} 
[2026-07-01 00:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:10:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-01 00:10:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:10:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":119306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":119306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":119306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408236032001,"66":27213,"196":206,"79":47616,"24":33,"16":332163029686812672,"45":8441504946146336768},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,79,24,16,45]} 
[2026-07-01 00:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408236032001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:10:32] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-01 00:10:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-01 00:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332163029686812672,"km_value":332163029686812.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8441504946146336768,"description":"Unknown IO ID 45"} 
[2026-07-01 00:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408236032001,"power":27213,"unknown_196":206,"unknown_79":47616,"ignition":33,"odometer":null,"unknown_45":8441504946146336768}} 
[2026-07-01 00:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":119306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:10:32] local.INFO: GPS data processed {"connection_id":119306,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:10:32] local.INFO: Acknowledgment sent {"connection_id":119306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:10:33] local.INFO: TCP Data received {"connection_id":119306,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f19d31df0012d750b00060504b80008015530..."} 
[2026-07-01 00:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19d31df0012d750b00060504b80008015530..."} 
[2026-07-01 00:10:33] local.INFO: Processing buffer {"connection_id":119306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19d31df0012d750b00060504b80008015530..."} 
[2026-07-01 00:10:33] local.INFO: Packet analysis {"connection_id":119306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19d3"} 
[2026-07-01 00:10:33] local.INFO: Extracted packet for processing {"connection_id":119306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19d3"} 
[2026-07-01 00:10:33] local.INFO: GPS Element Parsed {"raw_longitude":762645248,"raw_latitude":100992184,"longitude_deg":76.2645248,"latitude_deg":10.0992184,"altitude":8,"angle":341,"satellites":48,"speed":35,"hex_longitude":"2d750b00","hex_latitude":"060504b8","is_valid_coordinates":true} 
[2026-07-01 00: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-01 00:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408238848001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332163484953346048,"note":"Value kept but may cause issues"} 
[2026-07-01 00:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8437705033962919936,"note":"Value kept but may cause issues"} 
[2026-07-01 00:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782844694000,"timestamp_ms":1782844694000,"timestamp_seconds":1782844694,"priority":1,"record_length":96,"hex_timestamp":"0000019f19d31df0"} 
[2026-07-01 00: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-01 00:10:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-01 00:10:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00: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-01 00: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-01 00:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":119306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":119306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":119306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408238848001,"66":27615,"196":206,"79":47616,"24":35,"16":332163484953346048,"45":8437705033962919936},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,79,24,16,45]} 
[2026-07-01 00:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408238848001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:10:33] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-01 00:10:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-01 00:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332163484953346048,"km_value":332163484953346.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8437705033962919936,"description":"Unknown IO ID 45"} 
[2026-07-01 00:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408238848001,"power":27615,"unknown_196":206,"unknown_79":47616,"ignition":35,"odometer":null,"unknown_45":8437705033962919936}} 
[2026-07-01 00:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":119306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:10:33] local.INFO: GPS data processed {"connection_id":119306,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:10:33] local.INFO: Acknowledgment sent {"connection_id":119306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:10:48] local.INFO: TCP Data received {"connection_id":118668,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118668,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:10:48] local.INFO: Processing buffer {"connection_id":118668,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:10:48] local.INFO: IMEI packet received {"connection_id":118668,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 00:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":118668,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:10:51] local.INFO: TCP Data received {"connection_id":118668,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118668,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:10:51] local.INFO: Processing buffer {"connection_id":118668,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:10:51] local.INFO: IMEI packet received {"connection_id":118668,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 00:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":118668,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:10:52] local.INFO: TCP Data received {"connection_id":118668,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f19d50638012d7e840005d17128000801642a..."} 
[2026-07-01 00:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19d50638012d7e840005d17128000801642a..."} 
[2026-07-01 00:10:52] local.INFO: Processing buffer {"connection_id":118668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19d50638012d7e840005d17128000801642a..."} 
[2026-07-01 00:10:52] local.INFO: Packet analysis {"connection_id":118668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19d5"} 
[2026-07-01 00:10:52] local.INFO: Extracted packet for processing {"connection_id":118668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19d5"} 
[2026-07-01 00:10:52] local.INFO: GPS Element Parsed {"raw_longitude":763266048,"raw_latitude":97612072,"longitude_deg":76.3266048,"latitude_deg":9.7612072,"altitude":8,"angle":356,"satellites":42,"speed":37,"hex_longitude":"2d7e8400","hex_latitude":"05d17128","is_valid_coordinates":true} 
[2026-07-01 00:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408270848001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101059742956257280,"note":"Value kept but may cause issues"} 
[2026-07-01 00:10:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9116130095714392064,"note":"Value kept but may cause issues"} 
[2026-07-01 00:10:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782844819000,"timestamp_ms":1782844819000,"timestamp_seconds":1782844819,"priority":1,"record_length":96,"hex_timestamp":"0000019f19d50638"} 
[2026-07-01 00:10:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:10:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-01 00:10:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-01 00:10:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4110470568,"note":"Value kept but may cause issues"} 
[2026-07-01 00:10:52] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2818572288,"note":"Value kept but may cause issues"} 
[2026-07-01 00:10:52] local.WARNING: Large IO value detected {"io_id":25,"raw_value":3558082561,"note":"Value kept but may cause issues"} 
[2026-07-01 00:10:52] local.WARNING: Large IO value detected {"io_id":208,"raw_value":3650617351,"note":"Value kept but may cause issues"} 
[2026-07-01 00:10:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2832597198,"corrected_to":0} 
[2026-07-01 00:10:52] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,213,85,24,241,157,16,8,159,156,45,192,41,6,40,10,66,214,98,64,5,42,39,1,240,251,227,7,25,208,4,113,205,225,137,239,2,103],"length":434,"final_offset":564,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2832597198,"validated":0}]} 
[2026-07-01 00:10:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504405537679147008,"timestamp_seconds":504405537679147.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 00:10:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":118668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":118668,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":118668,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:10:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:10:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408270848001,"66":11547,"213":206,"85":15104,"24":37,"16":101059742956257280,"45":9116130095714392064},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,85,24,16,45]} 
[2026-07-01 00:10:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:10:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:10:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408270848001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:10:52] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-07-01 00:10:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:10:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101059742956257280,"km_value":101059742956257.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:10:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9116130095714392064,"description":"Unknown IO ID 45"} 
[2026-07-01 00:10:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408270848001,"power":11547,"unknown_213":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9116130095714392064}} 
[2026-07-01 00:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":118668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415377,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:10:52] local.INFO: GPS data processed {"connection_id":118668,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:10:52] local.INFO: Acknowledgment sent {"connection_id":118668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:10:53] local.INFO: TCP Data received {"connection_id":118668,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f19d52960012d7e84c005d195b8000600062a..."} 
[2026-07-01 00:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19d52960012d7e84c005d195b8000600062a..."} 
[2026-07-01 00:10:53] local.INFO: Processing buffer {"connection_id":118668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19d52960012d7e84c005d195b8000600062a..."} 
[2026-07-01 00:10:53] local.INFO: Packet analysis {"connection_id":118668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19d5"} 
[2026-07-01 00:10:53] local.INFO: Extracted packet for processing {"connection_id":118668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19d5"} 
[2026-07-01 00:10:53] local.INFO: GPS Element Parsed {"raw_longitude":763266240,"raw_latitude":97621432,"longitude_deg":76.326624,"latitude_deg":9.7621432,"altitude":6,"angle":6,"satellites":42,"speed":43,"hex_longitude":"2d7e84c0","hex_latitude":"05d195b8","is_valid_coordinates":true} 
[2026-07-01 00:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408273664001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101060193927823360,"note":"Value kept but may cause issues"} 
[2026-07-01 00:10:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9116411570693416960,"note":"Value kept but may cause issues"} 
[2026-07-01 00:10:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782844828000,"timestamp_ms":1782844828000,"timestamp_seconds":1782844828,"priority":1,"record_length":96,"hex_timestamp":"0000019f19d52960"} 
[2026-07-01 00:10:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:10:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-01 00:10:53] 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-01 00:10:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:10:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":118668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":118668,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":118668,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:10:53] 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-01 00:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408273664001,"66":11895,"213":206,"85":15104,"24":43,"16":101060193927823360,"45":9116411570693416960},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,85,24,16,45]} 
[2026-07-01 00:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408273664001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:10:53] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-07-01 00:10:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101060193927823360,"km_value":101060193927823.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:10:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9116411570693416960,"description":"Unknown IO ID 45"} 
[2026-07-01 00:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408273664001,"power":11895,"unknown_213":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":9116411570693416960}} 
[2026-07-01 00:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":118668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415378,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:10:53] local.INFO: GPS data processed {"connection_id":118668,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:10:53] local.INFO: Acknowledgment sent {"connection_id":118668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:11:05] local.INFO: TCP Data received {"connection_id":119306,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f19d4c3d0012d74ab00060619000007015831..."} 
[2026-07-01 00:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19d4c3d0012d74ab00060619000007015831..."} 
[2026-07-01 00:11:05] local.INFO: Processing buffer {"connection_id":119306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19d4c3d0012d74ab00060619000007015831..."} 
[2026-07-01 00:11:05] local.INFO: Packet analysis {"connection_id":119306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19d4"} 
[2026-07-01 00:11:05] local.INFO: Extracted packet for processing {"connection_id":119306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19d4"} 
[2026-07-01 00:11:05] local.INFO: GPS Element Parsed {"raw_longitude":762620672,"raw_latitude":101062912,"longitude_deg":76.2620672,"latitude_deg":10.1062912,"altitude":7,"angle":344,"satellites":49,"speed":24,"hex_longitude":"2d74ab00","hex_latitude":"06061900","is_valid_coordinates":true} 
[2026-07-01 00:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408268800001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332167234459795456,"note":"Value kept but may cause issues"} 
[2026-07-01 00:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8407376105242388480,"note":"Value kept but may cause issues"} 
[2026-07-01 00:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782844802000,"timestamp_ms":1782844802000,"timestamp_seconds":1782844802,"priority":1,"record_length":96,"hex_timestamp":"0000019f19d4c3d0"} 
[2026-07-01 00:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-01 00:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":119306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":119306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":119306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:11:05] 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-01 00:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408268800001,"66":27571,"199":206,"79":47616,"24":24,"16":332167234459795456,"45":8407376105242388480},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,79,24,16,45]} 
[2026-07-01 00:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408268800001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:11:05] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-01 00:11:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-01 00:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332167234459795456,"km_value":332167234459795.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8407376105242388480,"description":"Unknown IO ID 45"} 
[2026-07-01 00:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408268800001,"power":27571,"trip_odometer":0.206,"unknown_79":47616,"ignition":24,"odometer":null,"unknown_45":8407376105242388480}} 
[2026-07-01 00:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":119306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:11:05] local.INFO: GPS data processed {"connection_id":119306,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:11:05] local.INFO: Acknowledgment sent {"connection_id":119306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:11:22] local.INFO: TCP Data received {"connection_id":120421,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:11:22] local.INFO: Processing buffer {"connection_id":120421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:11:22] local.INFO: IMEI packet received {"connection_id":120421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 00:11:22] local.INFO: IMEI acknowledgment sent {"connection_id":120421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:11:24] local.INFO: TCP Data received {"connection_id":118668,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f19d53518012d7e850005d1a218000601622a..."} 
[2026-07-01 00:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19d53518012d7e850005d1a218000601622a..."} 
[2026-07-01 00:11:24] local.INFO: Processing buffer {"connection_id":118668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19d53518012d7e850005d1a218000601622a..."} 
[2026-07-01 00:11:24] local.INFO: Packet analysis {"connection_id":118668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19d5"} 
[2026-07-01 00:11:24] local.INFO: Extracted packet for processing {"connection_id":118668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19d5"} 
[2026-07-01 00:11:24] local.INFO: GPS Element Parsed {"raw_longitude":763266304,"raw_latitude":97624600,"longitude_deg":76.3266304,"latitude_deg":9.76246,"altitude":6,"angle":354,"satellites":42,"speed":41,"hex_longitude":"2d7e8500","hex_latitude":"05d1a218","is_valid_coordinates":true} 
[2026-07-01 00:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408275968001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101060348546646016,"note":"Value kept but may cause issues"} 
[2026-07-01 00:11:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9116622676928346112,"note":"Value kept but may cause issues"} 
[2026-07-01 00:11:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782844831000,"timestamp_ms":1782844831000,"timestamp_seconds":1782844831,"priority":1,"record_length":96,"hex_timestamp":"0000019f19d53518"} 
[2026-07-01 00:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:11:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 00:11:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:11:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":118668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":118668,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":118668,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:11:24] 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-01 00:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408275968001,"66":11721,"213":206,"85":15104,"24":41,"16":101060348546646016,"45":9116622676928346112},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,85,24,16,45]} 
[2026-07-01 00:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408275968001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:11:24] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-07-01 00:11:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101060348546646016,"km_value":101060348546646.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:11:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9116622676928346112,"description":"Unknown IO ID 45"} 
[2026-07-01 00:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408275968001,"power":11721,"unknown_213":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9116622676928346112}} 
[2026-07-01 00:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":118668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415380,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:11:24] local.INFO: GPS data processed {"connection_id":118668,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:11:24] local.INFO: Acknowledgment sent {"connection_id":118668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:11:27] local.INFO: TCP Data received {"connection_id":120421,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:11:27] local.INFO: Processing buffer {"connection_id":120421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:11:27] local.INFO: IMEI packet received {"connection_id":120421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":120421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:11:29] local.INFO: TCP Data received {"connection_id":120421,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f19d4eec8012d74a18006063ad00007015830..."} 
[2026-07-01 00:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19d4eec8012d74a18006063ad00007015830..."} 
[2026-07-01 00:11:29] local.INFO: Processing buffer {"connection_id":120421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19d4eec8012d74a18006063ad00007015830..."} 
[2026-07-01 00:11:29] local.INFO: Packet analysis {"connection_id":120421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19d4"} 
[2026-07-01 00:11:29] local.INFO: Extracted packet for processing {"connection_id":120421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19d4"} 
[2026-07-01 00:11:29] local.INFO: GPS Element Parsed {"raw_longitude":762618240,"raw_latitude":101071568,"longitude_deg":76.261824,"latitude_deg":10.1071568,"altitude":7,"angle":344,"satellites":48,"speed":39,"hex_longitude":"2d74a180","hex_latitude":"06063ad0","is_valid_coordinates":true} 
[2026-07-01 00:11:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:11:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408269312001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:11:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332167668251492352,"note":"Value kept but may cause issues"} 
[2026-07-01 00:11:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8406813155289268224,"note":"Value kept but may cause issues"} 
[2026-07-01 00:11:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:11:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782844813000,"timestamp_ms":1782844813000,"timestamp_seconds":1782844813,"priority":1,"record_length":96,"hex_timestamp":"0000019f19d4eec8"} 
[2026-07-01 00:11:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:11:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:11:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-01 00:11:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:11:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:11:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:11:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:11:29] local.INFO: Teltonika packet parsed successfully {"connection_id":120421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:11:29] local.INFO: Passing IMEI to GPS processor {"connection_id":120421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:11:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":120421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:11:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:11:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:11:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:11:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408269312001,"66":27484,"199":206,"79":47616,"24":39,"16":332167668251492352,"45":8406813155289268224},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,79,24,16,45]} 
[2026-07-01 00:11:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:11:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:11:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408269312001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:11:29] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-01 00:11:29] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-01 00:11:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332167668251492352,"km_value":332167668251492.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:11:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8406813155289268224,"description":"Unknown IO ID 45"} 
[2026-07-01 00:11:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408269312001,"power":27484,"trip_odometer":0.206,"unknown_79":47616,"ignition":39,"odometer":null,"unknown_45":8406813155289268224}} 
[2026-07-01 00:11:29] local.INFO: DEBUG: GPS processor result {"connection_id":120421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:11:29] local.INFO: GPS data processed {"connection_id":120421,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:11:29] local.INFO: Acknowledgment sent {"connection_id":120421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:11:46] local.INFO: TCP Data received {"connection_id":118552,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118552,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:11:46] local.INFO: Processing buffer {"connection_id":118552,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:11:46] local.INFO: IMEI packet received {"connection_id":118552,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 00:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":118552,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:11:48] local.INFO: TCP Data received {"connection_id":118552,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118552,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:11:48] local.INFO: Processing buffer {"connection_id":118552,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:11:48] local.INFO: IMEI packet received {"connection_id":118552,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 00:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":118552,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:11:54] local.INFO: TCP Data received {"connection_id":118552,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118552,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:11:54] local.INFO: Processing buffer {"connection_id":118552,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:11:54] local.INFO: IMEI packet received {"connection_id":118552,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 00:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":118552,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:11:55] local.INFO: TCP Data received {"connection_id":118552,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f19d613c0012d7e620005d24ac0000501492b..."} 
[2026-07-01 00:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19d613c0012d7e620005d24ac0000501492b..."} 
[2026-07-01 00:11:55] local.INFO: Processing buffer {"connection_id":118552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19d613c0012d7e620005d24ac0000501492b..."} 
[2026-07-01 00:11:55] local.INFO: Packet analysis {"connection_id":118552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19d6"} 
[2026-07-01 00:11:55] local.INFO: Extracted packet for processing {"connection_id":118552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19d6"} 
[2026-07-01 00:11:55] local.INFO: GPS Element Parsed {"raw_longitude":763257344,"raw_latitude":97667776,"longitude_deg":76.3257344,"latitude_deg":9.7667776,"altitude":5,"angle":329,"satellites":43,"speed":19,"hex_longitude":"2d7e6200","hex_latitude":"05d24ac0","is_valid_coordinates":true} 
[2026-07-01 00: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-01 00:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408290816001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101062569044738048,"note":"Value kept but may cause issues"} 
[2026-07-01 00:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9107615477685284864,"note":"Value kept but may cause issues"} 
[2026-07-01 00:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782844888000,"timestamp_ms":1782844888000,"timestamp_seconds":1782844888,"priority":1,"record_length":96,"hex_timestamp":"0000019f19d613c0"} 
[2026-07-01 00: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-01 00:11:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00: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":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-07-01 00:11:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00: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-01 00: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-01 00:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":118552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":118552,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":118552,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:11:55] 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-01 00:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408290816001,"66":11721,"213":206,"85":15104,"24":19,"16":101062569044738048,"45":9107615477685284864},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,85,24,16,45]} 
[2026-07-01 00:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408290816001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:11:55] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-07-01 00:11:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101062569044738048,"km_value":101062569044738.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9107615477685284864,"description":"Unknown IO ID 45"} 
[2026-07-01 00:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408290816001,"power":11721,"unknown_213":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":9107615477685284864}} 
[2026-07-01 00:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":118552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415382,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:11:55] local.INFO: GPS data processed {"connection_id":118552,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:11:55] local.INFO: Acknowledgment sent {"connection_id":118552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:12:04] local.INFO: TCP Data received {"connection_id":120421,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f19d511f0012d7496c006065f40000801572e..."} 
[2026-07-01 00:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19d511f0012d7496c006065f40000801572e..."} 
[2026-07-01 00:12:04] local.INFO: Processing buffer {"connection_id":120421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19d511f0012d7496c006065f40000801572e..."} 
[2026-07-01 00:12:04] local.INFO: Packet analysis {"connection_id":120421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19d5"} 
[2026-07-01 00:12:04] local.INFO: Extracted packet for processing {"connection_id":120421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19d5"} 
[2026-07-01 00:12:04] local.INFO: GPS Element Parsed {"raw_longitude":762615488,"raw_latitude":101080896,"longitude_deg":76.2615488,"latitude_deg":10.1080896,"altitude":8,"angle":343,"satellites":46,"speed":42,"hex_longitude":"2d7496c0","hex_latitude":"06065f40","is_valid_coordinates":true} 
[2026-07-01 00:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408272128001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332168140697894912,"note":"Value kept but may cause issues"} 
[2026-07-01 00:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8404139143012732928,"note":"Value kept but may cause issues"} 
[2026-07-01 00:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782844822000,"timestamp_ms":1782844822000,"timestamp_seconds":1782844822,"priority":1,"record_length":96,"hex_timestamp":"0000019f19d511f0"} 
[2026-07-01 00:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 00:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":120421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":120421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":120421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:12:04] 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-01 00:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408272128001,"66":27365,"199":206,"79":47616,"24":42,"16":332168140697894912,"45":8404139143012732928},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,79,24,16,45]} 
[2026-07-01 00:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408272128001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:12:04] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-01 00:12:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-01 00:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332168140697894912,"km_value":332168140697894.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8404139143012732928,"description":"Unknown IO ID 45"} 
[2026-07-01 00:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408272128001,"power":27365,"trip_odometer":0.206,"unknown_79":47616,"ignition":42,"odometer":null,"unknown_45":8404139143012732928}} 
[2026-07-01 00:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":120421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:12:04] local.INFO: GPS data processed {"connection_id":120421,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:12:04] local.INFO: Acknowledgment sent {"connection_id":120421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:12:21] local.INFO: TCP Data received {"connection_id":119307,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:12:21] local.INFO: Processing buffer {"connection_id":119307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:12:21] local.INFO: IMEI packet received {"connection_id":119307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 00:12:21] local.INFO: IMEI acknowledgment sent {"connection_id":119307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:12:22] local.INFO: TCP Data received {"connection_id":119307,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:12:22] local.INFO: Processing buffer {"connection_id":119307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:12:22] local.INFO: IMEI packet received {"connection_id":119307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:12:22] local.INFO: IMEI acknowledgment sent {"connection_id":119307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:12:25] local.INFO: TCP Data received {"connection_id":119307,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:12:25] local.INFO: Processing buffer {"connection_id":119307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:12:25] local.INFO: IMEI packet received {"connection_id":119307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":119307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:12:26] local.INFO: TCP Data received {"connection_id":118552,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f19d61b90012d7e608005d24e68000501552b..."} 
[2026-07-01 00:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19d61b90012d7e608005d24e68000501552b..."} 
[2026-07-01 00:12:26] local.INFO: Processing buffer {"connection_id":118552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19d61b90012d7e608005d24e68000501552b..."} 
[2026-07-01 00:12:26] local.INFO: Packet analysis {"connection_id":118552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19d6"} 
[2026-07-01 00:12:26] local.INFO: Extracted packet for processing {"connection_id":118552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19d6"} 
[2026-07-01 00:12:26] local.INFO: GPS Element Parsed {"raw_longitude":763256960,"raw_latitude":97668712,"longitude_deg":76.325696,"latitude_deg":9.7668712,"altitude":5,"angle":341,"satellites":43,"speed":21,"hex_longitude":"2d7e6080","hex_latitude":"05d24e68","is_valid_coordinates":true} 
[2026-07-01 00:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:12:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408291328001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:12:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101062616289378304,"note":"Value kept but may cause issues"} 
[2026-07-01 00:12:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9106841421499514880,"note":"Value kept but may cause issues"} 
[2026-07-01 00:12:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:12:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782844890000,"timestamp_ms":1782844890000,"timestamp_seconds":1782844890,"priority":1,"record_length":96,"hex_timestamp":"0000019f19d61b90"} 
[2026-07-01 00:12:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:12: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-01 00:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-01 00:12:26] 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-01 00:12:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:12:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:12:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:12:26] local.INFO: Teltonika packet parsed successfully {"connection_id":118552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:12:26] local.INFO: Passing IMEI to GPS processor {"connection_id":118552,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:12:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":118552,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:12:26] 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-01 00:12:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:12:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:12:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408291328001,"66":11711,"213":206,"85":15104,"24":21,"16":101062616289378304,"45":9106841421499514880},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,85,24,16,45]} 
[2026-07-01 00:12:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:12:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:12:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408291328001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:12:26] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-07-01 00:12:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:12:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101062616289378304,"km_value":101062616289378.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:12:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9106841421499514880,"description":"Unknown IO ID 45"} 
[2026-07-01 00:12:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408291328001,"power":11711,"unknown_213":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":9106841421499514880}} 
[2026-07-01 00:12:26] local.INFO: DEBUG: GPS processor result {"connection_id":118552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415384,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:12:26] local.INFO: GPS data processed {"connection_id":118552,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:12:26] local.INFO: Acknowledgment sent {"connection_id":118552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:12:27] local.INFO: TCP Data received {"connection_id":119307,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:12:27] local.INFO: Processing buffer {"connection_id":119307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:12:27] local.INFO: IMEI packet received {"connection_id":119307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":119307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:12:28] local.INFO: TCP Data received {"connection_id":119307,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f19d53518012d748d40060683f8000a01592f..."} 
[2026-07-01 00:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19d53518012d748d40060683f8000a01592f..."} 
[2026-07-01 00:12:28] local.INFO: Processing buffer {"connection_id":119307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19d53518012d748d40060683f8000a01592f..."} 
[2026-07-01 00:12:28] local.INFO: Packet analysis {"connection_id":119307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19d5"} 
[2026-07-01 00:12:28] local.INFO: Extracted packet for processing {"connection_id":119307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19d5"} 
[2026-07-01 00:12:28] local.INFO: GPS Element Parsed {"raw_longitude":762613056,"raw_latitude":101090296,"longitude_deg":76.2613056,"latitude_deg":10.1090296,"altitude":10,"angle":345,"satellites":47,"speed":43,"hex_longitude":"2d748d40","hex_latitude":"060683f8","is_valid_coordinates":true} 
[2026-07-01 00:12:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:12:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408274432001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:12:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332168608849330176,"note":"Value kept but may cause issues"} 
[2026-07-01 00:12:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8401113287015481344,"note":"Value kept but may cause issues"} 
[2026-07-01 00:12:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:12:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782844831000,"timestamp_ms":1782844831000,"timestamp_seconds":1782844831,"priority":1,"record_length":96,"hex_timestamp":"0000019f19d53518"} 
[2026-07-01 00:12:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:12:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:12:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 00:12:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:12:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:12:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:12:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:12:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:12:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:12:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:12:28] 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-01 00:12:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:12:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:12:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408274432001,"66":27180,"199":206,"79":47616,"24":43,"16":332168608849330176,"45":8401113287015481344},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,79,24,16,45]} 
[2026-07-01 00:12:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:12:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:12:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408274432001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:12:28] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-01 00:12:28] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-01 00:12:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332168608849330176,"km_value":332168608849330.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:12:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8401113287015481344,"description":"Unknown IO ID 45"} 
[2026-07-01 00:12:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408274432001,"power":27180,"trip_odometer":0.206,"unknown_79":47616,"ignition":43,"odometer":null,"unknown_45":8401113287015481344}} 
[2026-07-01 00:12:28] local.INFO: DEBUG: GPS processor result {"connection_id":119307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:12:28] local.INFO: GPS data processed {"connection_id":119307,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:12:28] local.INFO: Acknowledgment sent {"connection_id":119307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:12:30] local.INFO: TCP Data received {"connection_id":119307,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f19d55458012d7484400606a638000b015930..."} 
[2026-07-01 00:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19d55458012d7484400606a638000b015930..."} 
[2026-07-01 00:12:30] local.INFO: Processing buffer {"connection_id":119307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19d55458012d7484400606a638000b015930..."} 
[2026-07-01 00:12:30] local.INFO: Packet analysis {"connection_id":119307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19d5"} 
[2026-07-01 00:12:30] local.INFO: Extracted packet for processing {"connection_id":119307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19d5"} 
[2026-07-01 00:12:30] local.INFO: GPS Element Parsed {"raw_longitude":762610752,"raw_latitude":101099064,"longitude_deg":76.2610752,"latitude_deg":10.1099064,"altitude":11,"angle":345,"satellites":48,"speed":46,"hex_longitude":"2d748440","hex_latitude":"0606a638","is_valid_coordinates":true} 
[2026-07-01 00: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-01 00:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408276736001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332169046935994368,"note":"Value kept but may cause issues"} 
[2026-07-01 00:12:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8398439274739136512,"note":"Value kept but may cause issues"} 
[2026-07-01 00:12:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782844839000,"timestamp_ms":1782844839000,"timestamp_seconds":1782844839,"priority":1,"record_length":96,"hex_timestamp":"0000019f19d55458"} 
[2026-07-01 00: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-01 00:12:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-07-01 00:12:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00: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-01 00: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-01 00:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":119307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":119307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":119307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:12:30] 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-01 00:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408276736001,"66":27517,"199":206,"79":47616,"24":46,"16":332169046935994368,"45":8398439274739136512},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,79,24,16,45]} 
[2026-07-01 00:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408276736001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:12:30] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-07-01 00:12:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-01 00:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332169046935994368,"km_value":332169046935994.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:12:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8398439274739136512,"description":"Unknown IO ID 45"} 
[2026-07-01 00:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408276736001,"power":27517,"trip_odometer":0.206,"unknown_79":47616,"ignition":46,"odometer":null,"unknown_45":8398439274739136512}} 
[2026-07-01 00:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":119307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:12:30] local.INFO: GPS data processed {"connection_id":119307,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:12:30] local.INFO: Acknowledgment sent {"connection_id":119307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:12:48] local.INFO: TCP Data received {"connection_id":118553,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118553,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:12:48] local.INFO: Processing buffer {"connection_id":118553,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:12:48] local.INFO: IMEI packet received {"connection_id":118553,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 00:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":118553,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:12:50] local.INFO: TCP Data received {"connection_id":118553,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118553,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:12:50] local.INFO: Processing buffer {"connection_id":118553,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:12:50] local.INFO: IMEI packet received {"connection_id":118553,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 00:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":118553,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:12:53] local.INFO: TCP Data received {"connection_id":118553,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118553,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:12:53] local.INFO: Processing buffer {"connection_id":118553,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:12:53] local.INFO: IMEI packet received {"connection_id":118553,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 00:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":118553,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:12:54] local.INFO: TCP Data received {"connection_id":118553,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f19d65240012d7e56c005d272680004015c28..."} 
[2026-07-01 00:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19d65240012d7e56c005d272680004015c28..."} 
[2026-07-01 00:12:54] local.INFO: Processing buffer {"connection_id":118553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19d65240012d7e56c005d272680004015c28..."} 
[2026-07-01 00:12:54] local.INFO: Packet analysis {"connection_id":118553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19d6"} 
[2026-07-01 00:12:54] local.INFO: Extracted packet for processing {"connection_id":118553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19d6"} 
[2026-07-01 00:12:54] local.INFO: GPS Element Parsed {"raw_longitude":763254464,"raw_latitude":97677928,"longitude_deg":76.3254464,"latitude_deg":9.7677928,"altitude":4,"angle":348,"satellites":40,"speed":31,"hex_longitude":"2d7e56c0","hex_latitude":"05d27268","is_valid_coordinates":true} 
[2026-07-01 00:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:12:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408291840001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:12:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101063080145846272,"note":"Value kept but may cause issues"} 
[2026-07-01 00:12:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9106419209034688512,"note":"Value kept but may cause issues"} 
[2026-07-01 00:12:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:12:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782844904000,"timestamp_ms":1782844904000,"timestamp_seconds":1782844904,"priority":1,"record_length":96,"hex_timestamp":"0000019f19d65240"} 
[2026-07-01 00:12:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:12:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-07-01 00:12:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2142,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:12:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:12:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:12:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:12:54] local.INFO: Teltonika packet parsed successfully {"connection_id":118553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:12:54] local.INFO: Passing IMEI to GPS processor {"connection_id":118553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:12:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":118553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:12:54] 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-01 00:12:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:12:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:12:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408291840001,"66":11830,"116":206,"85":15104,"24":31,"16":101063080145846272,"45":9106419209034688512},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-01 00:12:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:12:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:12:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408291840001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:12:54] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-01 00:12:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:12:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101063080145846272,"km_value":101063080145846.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:12:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9106419209034688512,"description":"Unknown IO ID 45"} 
[2026-07-01 00:12:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408291840001,"power":11830,"unknown_116":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9106419209034688512}} 
[2026-07-01 00:12:54] local.INFO: DEBUG: GPS processor result {"connection_id":118553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415387,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:12:54] local.INFO: GPS data processed {"connection_id":118553,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:12:54] local.INFO: Acknowledgment sent {"connection_id":118553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:13:01] local.INFO: TCP Data received {"connection_id":119307,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f19d6b3e8012d73dc000607c4500007012e2e..."} 
[2026-07-01 00:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19d6b3e8012d73dc000607c4500007012e2e..."} 
[2026-07-01 00:13:01] local.INFO: Processing buffer {"connection_id":119307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19d6b3e8012d73dc000607c4500007012e2e..."} 
[2026-07-01 00:13:01] local.INFO: Packet analysis {"connection_id":119307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19d6"} 
[2026-07-01 00:13:01] local.INFO: Extracted packet for processing {"connection_id":119307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19d6"} 
[2026-07-01 00:13:01] local.INFO: GPS Element Parsed {"raw_longitude":762567680,"raw_latitude":101172304,"longitude_deg":76.256768,"latitude_deg":10.1172304,"altitude":7,"angle":302,"satellites":46,"speed":26,"hex_longitude":"2d73dc00","hex_latitude":"0607c450","is_valid_coordinates":true} 
[2026-07-01 00:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408301056001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332173363378126848,"note":"Value kept but may cause issues"} 
[2026-07-01 00:13:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8350729266207434752,"note":"Value kept but may cause issues"} 
[2026-07-01 00:13:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782844929000,"timestamp_ms":1782844929000,"timestamp_seconds":1782844929,"priority":1,"record_length":96,"hex_timestamp":"0000019f19d6b3e8"} 
[2026-07-01 00:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:13:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-01 00:13:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:13:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":119307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":119307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":119307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:13:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408301056001,"66":27343,"129":206,"79":47616,"24":26,"16":332173363378126848,"45":8350729266207434752},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,79,24,16,45]} 
[2026-07-01 00:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408301056001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:13:01] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-01 00:13:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-01 00:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332173363378126848,"km_value":332173363378126.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:13:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8350729266207434752,"description":"Unknown IO ID 45"} 
[2026-07-01 00:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408301056001,"power":27343,"unknown_129":206,"unknown_79":47616,"ignition":26,"odometer":null,"unknown_45":8350729266207434752}} 
[2026-07-01 00:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":119307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:13:01] local.INFO: GPS data processed {"connection_id":119307,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:13:01] local.INFO: Acknowledgment sent {"connection_id":119307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:13:25] local.INFO: TCP Data received {"connection_id":118553,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f19d79290012d7e644005d305180009000b2b..."} 
[2026-07-01 00:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19d79290012d7e644005d305180009000b2b..."} 
[2026-07-01 00:13:25] local.INFO: Processing buffer {"connection_id":118553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19d79290012d7e644005d305180009000b2b..."} 
[2026-07-01 00:13:25] local.INFO: Packet analysis {"connection_id":118553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19d7"} 
[2026-07-01 00:13:25] local.INFO: Extracted packet for processing {"connection_id":118553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19d7"} 
[2026-07-01 00:13:25] local.INFO: GPS Element Parsed {"raw_longitude":763257920,"raw_latitude":97715480,"longitude_deg":76.325792,"latitude_deg":9.771548,"altitude":9,"angle":11,"satellites":43,"speed":8,"hex_longitude":"2d7e6440","hex_latitude":"05d30518","is_valid_coordinates":true} 
[2026-07-01 00:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408316160001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101064999996227584,"note":"Value kept but may cause issues"} 
[2026-07-01 00:13:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9107404371465097216,"note":"Value kept but may cause issues"} 
[2026-07-01 00:13:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:13:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782844986000,"timestamp_ms":1782844986000,"timestamp_seconds":1782844986,"priority":1,"record_length":96,"hex_timestamp":"0000019f19d79290"} 
[2026-07-01 00:13:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:13:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 00:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-07-01 00:13:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1161,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:13:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:13:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":118553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":118553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":118553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:13:25] 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-01 00:13:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:13:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:13:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408316160001,"66":11852,"116":206,"85":15104,"24":8,"16":101064999996227584,"45":9107404371465097216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-07-01 00:13:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:13:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:13:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408316160001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:13:25] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-01 00:13:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:13:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101064999996227584,"km_value":101064999996227.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:13:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9107404371465097216,"description":"Unknown IO ID 45"} 
[2026-07-01 00:13:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408316160001,"power":11852,"unknown_116":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9107404371465097216}} 
[2026-07-01 00:13:25] local.INFO: DEBUG: GPS processor result {"connection_id":118553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415389,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:13:25] local.INFO: GPS data processed {"connection_id":118553,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:13:25] local.INFO: Acknowledgment sent {"connection_id":118553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:13:27] local.INFO: TCP Data received {"connection_id":120423,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:13:27] local.INFO: Processing buffer {"connection_id":120423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:13:27] local.INFO: IMEI packet received {"connection_id":120423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 00:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":120423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:13:28] local.INFO: TCP Data received {"connection_id":120423,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:13:28] local.INFO: Processing buffer {"connection_id":120423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:13:28] local.INFO: IMEI packet received {"connection_id":120423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:13:28] local.INFO: IMEI acknowledgment sent {"connection_id":120423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:13:29] local.INFO: TCP Data received {"connection_id":120423,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:13:29] local.INFO: Processing buffer {"connection_id":120423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:13:29] local.INFO: IMEI packet received {"connection_id":120423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":120423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:13:30] local.INFO: TCP Data received {"connection_id":120423,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f19d6bbb8012d73d8000607c7d8000701402c..."} 
[2026-07-01 00:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19d6bbb8012d73d8000607c7d8000701402c..."} 
[2026-07-01 00:13:30] local.INFO: Processing buffer {"connection_id":120423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19d6bbb8012d73d8000607c7d8000701402c..."} 
[2026-07-01 00:13:30] local.INFO: Packet analysis {"connection_id":120423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19d6"} 
[2026-07-01 00:13:30] local.INFO: Extracted packet for processing {"connection_id":120423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19d6"} 
[2026-07-01 00:13:30] local.INFO: GPS Element Parsed {"raw_longitude":762566656,"raw_latitude":101173208,"longitude_deg":76.2566656,"latitude_deg":10.1173208,"altitude":7,"angle":320,"satellites":44,"speed":27,"hex_longitude":"2d73d800","hex_latitude":"0607c7d8","is_valid_coordinates":true} 
[2026-07-01 00:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:13:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408301824001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:13:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332173427802636288,"note":"Value kept but may cause issues"} 
[2026-07-01 00:13:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8348547835138166784,"note":"Value kept but may cause issues"} 
[2026-07-01 00:13:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:13:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782844931000,"timestamp_ms":1782844931000,"timestamp_seconds":1782844931,"priority":1,"record_length":96,"hex_timestamp":"0000019f19d6bbb8"} 
[2026-07-01 00:13:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:13:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-01 00:13:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:13:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:13:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:13:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:13:30] local.INFO: Teltonika packet parsed successfully {"connection_id":120423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:13:30] local.INFO: Passing IMEI to GPS processor {"connection_id":120423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:13:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":120423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:13:30] 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-01 00:13:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:13:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:13:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408301824001,"66":27180,"129":206,"79":47616,"24":27,"16":332173427802636288,"45":8348547835138166784},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,79,24,16,45]} 
[2026-07-01 00:13:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:13:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:13:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408301824001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:13:30] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-01 00:13:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-01 00:13:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332173427802636288,"km_value":332173427802636.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:13:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8348547835138166784,"description":"Unknown IO ID 45"} 
[2026-07-01 00:13:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408301824001,"power":27180,"unknown_129":206,"unknown_79":47616,"ignition":27,"odometer":null,"unknown_45":8348547835138166784}} 
[2026-07-01 00:13:30] local.INFO: DEBUG: GPS processor result {"connection_id":120423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:13:30] local.INFO: GPS data processed {"connection_id":120423,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:13:30] local.INFO: Acknowledgment sent {"connection_id":120423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:13:31] local.INFO: TCP Data received {"connection_id":120423,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f19d6c388012d73d5000607cc680007014c2d..."} 
[2026-07-01 00:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19d6c388012d73d5000607cc680007014c2d..."} 
[2026-07-01 00:13:31] local.INFO: Processing buffer {"connection_id":120423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19d6c388012d73d5000607cc680007014c2d..."} 
[2026-07-01 00:13:31] local.INFO: Packet analysis {"connection_id":120423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19d6"} 
[2026-07-01 00:13:31] local.INFO: Extracted packet for processing {"connection_id":120423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19d6"} 
[2026-07-01 00:13:31] local.INFO: GPS Element Parsed {"raw_longitude":762565888,"raw_latitude":101174376,"longitude_deg":76.2565888,"latitude_deg":10.1174376,"altitude":7,"angle":332,"satellites":45,"speed":26,"hex_longitude":"2d73d500","hex_latitude":"0607cc68","is_valid_coordinates":true} 
[2026-07-01 00:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408302336001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332173496522113024,"note":"Value kept but may cause issues"} 
[2026-07-01 00:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8347421935231555584,"note":"Value kept but may cause issues"} 
[2026-07-01 00:13:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782844933000,"timestamp_ms":1782844933000,"timestamp_seconds":1782844933,"priority":1,"record_length":96,"hex_timestamp":"0000019f19d6c388"} 
[2026-07-01 00:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:13:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-07-01 00:13:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:13:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":120423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":120423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":120423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:13:31] 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-01 00:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408302336001,"66":26854,"129":206,"79":47616,"24":26,"16":332173496522113024,"45":8347421935231555584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,79,24,16,45]} 
[2026-07-01 00:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408302336001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:13:31] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-01 00:13:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-01 00:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332173496522113024,"km_value":332173496522113.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8347421935231555584,"description":"Unknown IO ID 45"} 
[2026-07-01 00:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408302336001,"power":26854,"unknown_129":206,"unknown_79":47616,"ignition":26,"odometer":null,"unknown_45":8347421935231555584}} 
[2026-07-01 00:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":120423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:13:31] local.INFO: GPS data processed {"connection_id":120423,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:13:31] local.INFO: Acknowledgment sent {"connection_id":120423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:14:02] local.INFO: TCP Data received {"connection_id":120423,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f19d6ea98012d73ca800607e768000a01582c..."} 
[2026-07-01 00:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19d6ea98012d73ca800607e768000a01582c..."} 
[2026-07-01 00:14:02] local.INFO: Processing buffer {"connection_id":120423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19d6ea98012d73ca800607e768000a01582c..."} 
[2026-07-01 00:14:02] local.INFO: Packet analysis {"connection_id":120423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19d6"} 
[2026-07-01 00:14:02] local.INFO: Extracted packet for processing {"connection_id":120423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19d6"} 
[2026-07-01 00:14:02] local.INFO: GPS Element Parsed {"raw_longitude":762563200,"raw_latitude":101181288,"longitude_deg":76.25632,"latitude_deg":10.1181288,"altitude":10,"angle":344,"satellites":44,"speed":27,"hex_longitude":"2d73ca80","hex_latitude":"0607e768","is_valid_coordinates":true} 
[2026-07-01 00:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408302848001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332173857299365888,"note":"Value kept but may cause issues"} 
[2026-07-01 00:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8346577510301722624,"note":"Value kept but may cause issues"} 
[2026-07-01 00:14:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782844943000,"timestamp_ms":1782844943000,"timestamp_seconds":1782844943,"priority":1,"record_length":96,"hex_timestamp":"0000019f19d6ea98"} 
[2026-07-01 00:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:14:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-07-01 00:14:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2788,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:14:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":120423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":120423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":120423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408302848001,"66":27267,"129":206,"79":47616,"24":27,"16":332173857299365888,"45":8346577510301722624},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,79,24,16,45]} 
[2026-07-01 00:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408302848001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:14:02] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-07-01 00:14:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-01 00:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332173857299365888,"km_value":332173857299365.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8346577510301722624,"description":"Unknown IO ID 45"} 
[2026-07-01 00:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408302848001,"power":27267,"unknown_129":206,"unknown_79":47616,"ignition":27,"odometer":null,"unknown_45":8346577510301722624}} 
[2026-07-01 00:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":120423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:14:03] local.INFO: GPS data processed {"connection_id":120423,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:14:03] local.INFO: Acknowledgment sent {"connection_id":120423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:14:20] local.INFO: TCP Data received {"connection_id":118555,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118555,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:14:20] local.INFO: Processing buffer {"connection_id":118555,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:14:20] local.INFO: IMEI packet received {"connection_id":118555,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 00:14:20] local.INFO: IMEI acknowledgment sent {"connection_id":118555,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:14:21] local.INFO: TCP Data received {"connection_id":118555,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118555,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:14:21] local.INFO: Processing buffer {"connection_id":118555,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:14:21] local.INFO: IMEI packet received {"connection_id":118555,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 00:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":118555,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:14:22] local.INFO: TCP Data received {"connection_id":120424,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:14:22] local.INFO: Processing buffer {"connection_id":120424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:14:22] local.INFO: IMEI packet received {"connection_id":120424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 00:14:22] local.INFO: IMEI acknowledgment sent {"connection_id":120424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:14:24] local.INFO: TCP Data received {"connection_id":118555,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118555,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:14:24] local.INFO: Processing buffer {"connection_id":118555,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:14:24] local.INFO: IMEI packet received {"connection_id":118555,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 00:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":118555,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:14:25] local.INFO: TCP Data received {"connection_id":118555,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118555,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:14:25] local.INFO: Processing buffer {"connection_id":118555,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:14:25] local.INFO: IMEI packet received {"connection_id":118555,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 00:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":118555,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:14:27] local.INFO: TCP Data received {"connection_id":120424,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:14:27] local.INFO: Processing buffer {"connection_id":120424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:14:27] local.INFO: IMEI packet received {"connection_id":120424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":120424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:14:28] local.INFO: TCP Data received {"connection_id":120424,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f19d7c558012d737c4006089bd80007013c2e..."} 
[2026-07-01 00:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19d7c558012d737c4006089bd80007013c2e..."} 
[2026-07-01 00:14:28] local.INFO: Processing buffer {"connection_id":120424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19d7c558012d737c4006089bd80007013c2e..."} 
[2026-07-01 00:14:28] local.INFO: Packet analysis {"connection_id":120424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19d7"} 
[2026-07-01 00:14:28] local.INFO: Extracted packet for processing {"connection_id":120424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19d7"} 
[2026-07-01 00:14:28] local.INFO: GPS Element Parsed {"raw_longitude":762543168,"raw_latitude":101227480,"longitude_deg":76.2543168,"latitude_deg":10.122748,"altitude":7,"angle":316,"satellites":46,"speed":37,"hex_longitude":"2d737c40","hex_latitude":"06089bd8","is_valid_coordinates":true} 
[2026-07-01 00:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:14:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408318976001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:14:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332176339790462976,"note":"Value kept but may cause issues"} 
[2026-07-01 00:14:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8323426193480335360,"note":"Value kept but may cause issues"} 
[2026-07-01 00:14:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:14:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782844999000,"timestamp_ms":1782844999000,"timestamp_seconds":1782844999,"priority":1,"record_length":96,"hex_timestamp":"0000019f19d7c558"} 
[2026-07-01 00:14:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:14: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-01 00:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-01 00:14:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1172,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:14:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:14:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:14:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:14:28] local.INFO: Teltonika packet parsed successfully {"connection_id":120424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:14:28] local.INFO: Passing IMEI to GPS processor {"connection_id":120424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:14:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":120424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:14:28] 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-01 00:14:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:14:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:14:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408318976001,"66":27365,"131":206,"79":47616,"24":37,"16":332176339790462976,"45":8323426193480335360},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,79,24,16,45]} 
[2026-07-01 00:14:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:14:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:14:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408318976001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:14:28] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-01 00:14:28] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-01 00:14:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332176339790462976,"km_value":332176339790463.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:14:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8323426193480335360,"description":"Unknown IO ID 45"} 
[2026-07-01 00:14:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408318976001,"power":27365,"unknown_131":206,"unknown_79":47616,"ignition":37,"odometer":null,"unknown_45":8323426193480335360}} 
[2026-07-01 00:14:28] local.INFO: DEBUG: GPS processor result {"connection_id":120424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:14:28] local.INFO: GPS data processed {"connection_id":120424,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:14:28] local.INFO: Acknowledgment sent {"connection_id":120424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:14:42] local.INFO: TCP Data received {"connection_id":118670,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 00:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118670,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 00:14:42] local.INFO: Processing buffer {"connection_id":118670,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 00:14:42] local.INFO: IMEI packet received {"connection_id":118670,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 00:14:42] local.INFO: IMEI acknowledgment sent {"connection_id":118670,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:14:59] local.INFO: TCP Data received {"connection_id":120424,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f19d7ec68012d7364400608b7580007014030..."} 
[2026-07-01 00:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19d7ec68012d7364400608b7580007014030..."} 
[2026-07-01 00:14:59] local.INFO: Processing buffer {"connection_id":120424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19d7ec68012d7364400608b7580007014030..."} 
[2026-07-01 00:14:59] local.INFO: Packet analysis {"connection_id":120424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19d7"} 
[2026-07-01 00:14:59] local.INFO: Extracted packet for processing {"connection_id":120424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19d7"} 
[2026-07-01 00:14:59] local.INFO: GPS Element Parsed {"raw_longitude":762537024,"raw_latitude":101234520,"longitude_deg":76.2537024,"latitude_deg":10.123452,"altitude":7,"angle":320,"satellites":48,"speed":34,"hex_longitude":"2d736440","hex_latitude":"0608b758","is_valid_coordinates":true} 
[2026-07-01 00: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-01 00:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408319744001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332176790762029056,"note":"Value kept but may cause issues"} 
[2026-07-01 00:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8321596606132246528,"note":"Value kept but may cause issues"} 
[2026-07-01 00:14:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782845009000,"timestamp_ms":1782845009000,"timestamp_seconds":1782845009,"priority":1,"record_length":96,"hex_timestamp":"0000019f19d7ec68"} 
[2026-07-01 00: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-01 00:14: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-01 00: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 00:14:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00: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-01 00: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-01 00:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":120424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":120424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":120424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:14:59] 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-01 00:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408319744001,"66":27332,"131":206,"79":47616,"24":34,"16":332176790762029056,"45":8321596606132246528},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,79,24,16,45]} 
[2026-07-01 00:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408319744001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:14:59] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-01 00:14:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-01 00:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332176790762029056,"km_value":332176790762029.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8321596606132246528,"description":"Unknown IO ID 45"} 
[2026-07-01 00:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408319744001,"power":27332,"unknown_131":206,"unknown_79":47616,"ignition":34,"odometer":null,"unknown_45":8321596606132246528}} 
[2026-07-01 00:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":120424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:14:59] local.INFO: GPS data processed {"connection_id":120424,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:14:59] local.INFO: Acknowledgment sent {"connection_id":120424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:15:22] local.INFO: TCP Data received {"connection_id":118671,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:15:22] local.INFO: Processing buffer {"connection_id":118671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:15:22] local.INFO: IMEI packet received {"connection_id":118671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 00:15:22] local.INFO: IMEI acknowledgment sent {"connection_id":118671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:15:22] local.INFO: TCP Data received {"connection_id":118556,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 00:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118556,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 00:15:22] local.INFO: Processing buffer {"connection_id":118556,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 00:15:22] local.INFO: IMEI packet received {"connection_id":118556,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 00:15:22] local.INFO: IMEI acknowledgment sent {"connection_id":118556,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:15:24] local.INFO: TCP Data received {"connection_id":118671,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:15:24] local.INFO: Processing buffer {"connection_id":118671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:15:24] local.INFO: IMEI packet received {"connection_id":118671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:15:24] local.INFO: IMEI acknowledgment sent {"connection_id":118671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:15:30] local.INFO: TCP Data received {"connection_id":118671,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:15:30] local.INFO: Processing buffer {"connection_id":118671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:15:30] local.INFO: IMEI packet received {"connection_id":118671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":118671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:15:34] local.INFO: TCP Data received {"connection_id":118671,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f19d7f438012d735f800608bc880007013530..."} 
[2026-07-01 00:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19d7f438012d735f800608bc880007013530..."} 
[2026-07-01 00:15:34] local.INFO: Processing buffer {"connection_id":118671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19d7f438012d735f800608bc880007013530..."} 
[2026-07-01 00:15:34] local.INFO: Packet analysis {"connection_id":118671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19d7"} 
[2026-07-01 00:15:34] local.INFO: Extracted packet for processing {"connection_id":118671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19d7"} 
[2026-07-01 00:15:34] local.INFO: GPS Element Parsed {"raw_longitude":762535808,"raw_latitude":101235848,"longitude_deg":76.2535808,"latitude_deg":10.1235848,"altitude":7,"angle":309,"satellites":48,"speed":36,"hex_longitude":"2d735f80","hex_latitude":"0608bc88","is_valid_coordinates":true} 
[2026-07-01 00:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408322304001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332176876661374976,"note":"Value kept but may cause issues"} 
[2026-07-01 00:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8314841206692993024,"note":"Value kept but may cause issues"} 
[2026-07-01 00:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782845011000,"timestamp_ms":1782845011000,"timestamp_seconds":1782845011,"priority":1,"record_length":96,"hex_timestamp":"0000019f19d7f438"} 
[2026-07-01 00:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:15:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-01 00:15:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:15:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":118671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":118671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":118671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:15:34] 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-01 00:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408322304001,"66":27245,"131":206,"79":47616,"24":36,"16":332176876661374976,"45":8314841206692993024},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,79,24,16,45]} 
[2026-07-01 00:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408322304001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:15:34] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-01 00:15:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-01 00:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332176876661374976,"km_value":332176876661375.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8314841206692993024,"description":"Unknown IO ID 45"} 
[2026-07-01 00:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408322304001,"power":27245,"unknown_131":206,"unknown_79":47616,"ignition":36,"odometer":null,"unknown_45":8314841206692993024}} 
[2026-07-01 00:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":118671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:15:34] local.INFO: GPS data processed {"connection_id":118671,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:15:34] local.INFO: Acknowledgment sent {"connection_id":118671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:16:06] local.INFO: TCP Data received {"connection_id":118671,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f19d96368012d721c400608a840000c01362e..."} 
[2026-07-01 00:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19d96368012d721c400608a840000c01362e..."} 
[2026-07-01 00:16:06] local.INFO: Processing buffer {"connection_id":118671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19d96368012d721c400608a840000c01362e..."} 
[2026-07-01 00:16:06] local.INFO: Packet analysis {"connection_id":118671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19d9"} 
[2026-07-01 00:16:06] local.INFO: Extracted packet for processing {"connection_id":118671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19d9"} 
[2026-07-01 00:16:06] local.INFO: GPS Element Parsed {"raw_longitude":762453056,"raw_latitude":101230656,"longitude_deg":76.2453056,"latitude_deg":10.1230656,"altitude":12,"angle":310,"satellites":46,"speed":16,"hex_longitude":"2d721c40","hex_latitude":"0608a840","is_valid_coordinates":true} 
[2026-07-01 00:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408346624001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332181008419913728,"note":"Value kept but may cause issues"} 
[2026-07-01 00:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8222939626795921408,"note":"Value kept but may cause issues"} 
[2026-07-01 00:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782845105000,"timestamp_ms":1782845105000,"timestamp_seconds":1782845105,"priority":1,"record_length":96,"hex_timestamp":"0000019f19d96368"} 
[2026-07-01 00:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-01 00:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":118671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":118671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":118671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:16:06] 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-01 00:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408346624001,"66":27571,"147":206,"79":47616,"24":16,"16":332181008419913728,"45":8222939626795921408},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,79,24,16,45]} 
[2026-07-01 00:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408346624001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:16:06] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-01 00:16:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-01 00:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332181008419913728,"km_value":332181008419913.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8222939626795921408,"description":"Unknown IO ID 45"} 
[2026-07-01 00:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408346624001,"power":27571,"unknown_147":206,"unknown_79":47616,"ignition":16,"odometer":null,"unknown_45":8222939626795921408}} 
[2026-07-01 00:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":118671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:16:06] local.INFO: GPS data processed {"connection_id":118671,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:16:06] local.INFO: Acknowledgment sent {"connection_id":118671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:16:27] local.INFO: TCP Data received {"connection_id":118558,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:16:27] local.INFO: Processing buffer {"connection_id":118558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:16:27] local.INFO: IMEI packet received {"connection_id":118558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 00:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":118558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:16:32] local.INFO: TCP Data received {"connection_id":118558,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:16:32] local.INFO: Processing buffer {"connection_id":118558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:16:32] local.INFO: IMEI packet received {"connection_id":118558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":118558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:16:33] local.INFO: TCP Data received {"connection_id":118558,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f19d96750012d721b800608a998000c01482f..."} 
[2026-07-01 00:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19d96750012d721b800608a998000c01482f..."} 
[2026-07-01 00:16:33] local.INFO: Processing buffer {"connection_id":118558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19d96750012d721b800608a998000c01482f..."} 
[2026-07-01 00:16:33] local.INFO: Packet analysis {"connection_id":118558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19d9"} 
[2026-07-01 00:16:33] local.INFO: Extracted packet for processing {"connection_id":118558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19d9"} 
[2026-07-01 00:16:33] local.INFO: GPS Element Parsed {"raw_longitude":762452864,"raw_latitude":101231000,"longitude_deg":76.2452864,"latitude_deg":10.1231,"altitude":12,"angle":328,"satellites":47,"speed":18,"hex_longitude":"2d721b80","hex_latitude":"0608a998","is_valid_coordinates":true} 
[2026-07-01 00: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-01 00:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408346880001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332181029894750208,"note":"Value kept but may cause issues"} 
[2026-07-01 00:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8222517414330908672,"note":"Value kept but may cause issues"} 
[2026-07-01 00:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782845106000,"timestamp_ms":1782845106000,"timestamp_seconds":1782845106,"priority":1,"record_length":96,"hex_timestamp":"0000019f19d96750"} 
[2026-07-01 00: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-01 00:16:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-01 00:16:33] 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-01 00: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-01 00: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-01 00:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":118558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":118558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":118558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408346880001,"66":27571,"147":206,"79":47616,"24":18,"16":332181029894750208,"45":8222517414330908672},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,79,24,16,45]} 
[2026-07-01 00:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408346880001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:16:33] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-01 00:16:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-01 00:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332181029894750208,"km_value":332181029894750.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8222517414330908672,"description":"Unknown IO ID 45"} 
[2026-07-01 00:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408346880001,"power":27571,"unknown_147":206,"unknown_79":47616,"ignition":18,"odometer":null,"unknown_45":8222517414330908672}} 
[2026-07-01 00:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":118558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:16:33] local.INFO: GPS data processed {"connection_id":118558,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:16:33] local.INFO: Acknowledgment sent {"connection_id":118558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:16:34] local.INFO: TCP Data received {"connection_id":118558,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f19d99e00012d720a400608c9b8000b01492c..."} 
[2026-07-01 00:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19d99e00012d720a400608c9b8000b01492c..."} 
[2026-07-01 00:16:34] local.INFO: Processing buffer {"connection_id":118558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19d99e00012d720a400608c9b8000b01492c..."} 
[2026-07-01 00:16:34] local.INFO: Packet analysis {"connection_id":118558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19d9"} 
[2026-07-01 00:16:34] local.INFO: Extracted packet for processing {"connection_id":118558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19d9"} 
[2026-07-01 00:16:34] local.INFO: GPS Element Parsed {"raw_longitude":762448448,"raw_latitude":101239224,"longitude_deg":76.2448448,"latitude_deg":10.1239224,"altitude":11,"angle":329,"satellites":44,"speed":34,"hex_longitude":"2d720a40","hex_latitude":"0608c9b8","is_valid_coordinates":true} 
[2026-07-01 00:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408347136001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332181480866316288,"note":"Value kept but may cause issues"} 
[2026-07-01 00:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8222306308098463744,"note":"Value kept but may cause issues"} 
[2026-07-01 00:16:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782845120000,"timestamp_ms":1782845120000,"timestamp_seconds":1782845120,"priority":1,"record_length":96,"hex_timestamp":"0000019f19d99e00"} 
[2026-07-01 00:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:16:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-01 00:16:34] 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-01 00:16:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":118558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":118558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":118558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:16:34] 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-01 00:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408347136001,"66":27626,"149":206,"79":47616,"24":34,"16":332181480866316288,"45":8222306308098463744},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,79,24,16,45]} 
[2026-07-01 00:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408347136001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:16:34] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-01 00:16:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-01 00:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332181480866316288,"km_value":332181480866316.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8222306308098463744,"description":"Unknown IO ID 45"} 
[2026-07-01 00:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408347136001,"power":27626,"unknown_149":206,"unknown_79":47616,"ignition":34,"odometer":null,"unknown_45":8222306308098463744}} 
[2026-07-01 00:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":118558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:16:34] local.INFO: GPS data processed {"connection_id":118558,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:16:34] local.INFO: Acknowledgment sent {"connection_id":118558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:17:05] local.INFO: TCP Data received {"connection_id":118558,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f19d9d0c8012d71f7000608e6d8000901522f..."} 
[2026-07-01 00:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19d9d0c8012d71f7000608e6d8000901522f..."} 
[2026-07-01 00:17:05] local.INFO: Processing buffer {"connection_id":118558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19d9d0c8012d71f7000608e6d8000901522f..."} 
[2026-07-01 00:17:05] local.INFO: Packet analysis {"connection_id":118558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19d9"} 
[2026-07-01 00:17:05] local.INFO: Extracted packet for processing {"connection_id":118558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19d9"} 
[2026-07-01 00:17:05] local.INFO: GPS Element Parsed {"raw_longitude":762443520,"raw_latitude":101246680,"longitude_deg":76.244352,"latitude_deg":10.124668,"altitude":9,"angle":338,"satellites":47,"speed":20,"hex_longitude":"2d71f700","hex_latitude":"0608e6d8","is_valid_coordinates":true} 
[2026-07-01 00: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-01 00:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408350720001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332181910363045888,"note":"Value kept but may cause issues"} 
[2026-07-01 00:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8217450864752310272,"note":"Value kept but may cause issues"} 
[2026-07-01 00:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782845133000,"timestamp_ms":1782845133000,"timestamp_seconds":1782845133,"priority":1,"record_length":96,"hex_timestamp":"0000019f19d9d0c8"} 
[2026-07-01 00: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-01 00:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-01 00:17:05] 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-01 00: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-01 00: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-01 00:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":118558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":118558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":118558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:17:05] 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-01 00:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408350720001,"66":27604,"149":206,"79":47616,"24":20,"16":332181910363045888,"45":8217450864752310272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,79,24,16,45]} 
[2026-07-01 00:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408350720001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:17:05] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-01 00:17:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-01 00:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332181910363045888,"km_value":332181910363045.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8217450864752310272,"description":"Unknown IO ID 45"} 
[2026-07-01 00:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408350720001,"power":27604,"unknown_149":206,"unknown_79":47616,"ignition":20,"odometer":null,"unknown_45":8217450864752310272}} 
[2026-07-01 00:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":118558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:17:05] local.INFO: GPS data processed {"connection_id":118558,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:17:05] local.INFO: Acknowledgment sent {"connection_id":118558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:17:22] local.INFO: TCP Data received {"connection_id":118559,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:17:22] local.INFO: Processing buffer {"connection_id":118559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:17:22] local.INFO: IMEI packet received {"connection_id":118559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 00:17:22] local.INFO: IMEI acknowledgment sent {"connection_id":118559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:17:23] local.INFO: TCP Data received {"connection_id":118559,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:17:23] local.INFO: Processing buffer {"connection_id":118559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:17:23] local.INFO: IMEI packet received {"connection_id":118559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":118559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:17:29] local.INFO: TCP Data received {"connection_id":118559,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:17:29] local.INFO: Processing buffer {"connection_id":118559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:17:29] local.INFO: IMEI packet received {"connection_id":118559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":118559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:17:32] local.INFO: TCP Data received {"connection_id":118559,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f19da22d0012d71ea4006090898000501512e..."} 
[2026-07-01 00:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19da22d0012d71ea4006090898000501512e..."} 
[2026-07-01 00:17:32] local.INFO: Processing buffer {"connection_id":118559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19da22d0012d71ea4006090898000501512e..."} 
[2026-07-01 00:17:32] local.INFO: Packet analysis {"connection_id":118559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19da"} 
[2026-07-01 00:17:32] local.INFO: Extracted packet for processing {"connection_id":118559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19da"} 
[2026-07-01 00:17:32] local.INFO: GPS Element Parsed {"raw_longitude":762440256,"raw_latitude":101255320,"longitude_deg":76.2440256,"latitude_deg":10.125532,"altitude":5,"angle":337,"satellites":46,"speed":14,"hex_longitude":"2d71ea40","hex_latitude":"06090898","is_valid_coordinates":true} 
[2026-07-01 00:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408354048001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332182361334611968,"note":"Value kept but may cause issues"} 
[2026-07-01 00:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8212032471452538880,"note":"Value kept but may cause issues"} 
[2026-07-01 00:17:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782845154000,"timestamp_ms":1782845154000,"timestamp_seconds":1782845154,"priority":1,"record_length":96,"hex_timestamp":"0000019f19da22d0"} 
[2026-07-01 00:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:17:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-01 00:17:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:17:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":118559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":118559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":118559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408354048001,"66":27484,"149":206,"79":47616,"24":14,"16":332182361334611968,"45":8212032471452538880},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,79,24,16,45]} 
[2026-07-01 00:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408354048001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:17:32] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-01 00:17:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-01 00:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332182361334611968,"km_value":332182361334611.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8212032471452538880,"description":"Unknown IO ID 45"} 
[2026-07-01 00:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408354048001,"power":27484,"unknown_149":206,"unknown_79":47616,"ignition":14,"odometer":null,"unknown_45":8212032471452538880}} 
[2026-07-01 00:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":118559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:17:32] local.INFO: GPS data processed {"connection_id":118559,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:17:32] local.INFO: Acknowledgment sent {"connection_id":118559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:18:04] local.INFO: TCP Data received {"connection_id":118559,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f19da22d0012d71ea4006090898000501512e..."} 
[2026-07-01 00:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19da22d0012d71ea4006090898000501512e..."} 
[2026-07-01 00:18:04] local.INFO: Processing buffer {"connection_id":118559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19da22d0012d71ea4006090898000501512e..."} 
[2026-07-01 00:18:04] local.INFO: Packet analysis {"connection_id":118559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19da"} 
[2026-07-01 00:18:04] local.INFO: Extracted packet for processing {"connection_id":118559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19da"} 
[2026-07-01 00:18:04] local.INFO: GPS Element Parsed {"raw_longitude":762440256,"raw_latitude":101255320,"longitude_deg":76.2440256,"latitude_deg":10.125532,"altitude":5,"angle":337,"satellites":46,"speed":14,"hex_longitude":"2d71ea40","hex_latitude":"06090898","is_valid_coordinates":true} 
[2026-07-01 00:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408359424001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332182361334611968,"note":"Value kept but may cause issues"} 
[2026-07-01 00:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8208443665501689856,"note":"Value kept but may cause issues"} 
[2026-07-01 00:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782845154000,"timestamp_ms":1782845154000,"timestamp_seconds":1782845154,"priority":1,"record_length":96,"hex_timestamp":"0000019f19da22d0"} 
[2026-07-01 00:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:18: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-01 00:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 00:18:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":118559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":118559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":118559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:18:04] 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-01 00:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408359424001,"66":27484,"149":206,"79":47616,"24":14,"16":332182361334611968,"45":8208443665501689856},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,79,24,16,45]} 
[2026-07-01 00:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408359424001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:18:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-01 00:18:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-01 00:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332182361334611968,"km_value":332182361334611.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8208443665501689856,"description":"Unknown IO ID 45"} 
[2026-07-01 00:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408359424001,"power":27484,"unknown_149":206,"unknown_79":47616,"ignition":14,"odometer":null,"unknown_45":8208443665501689856}} 
[2026-07-01 00:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":118559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:18:04] local.INFO: GPS data processed {"connection_id":118559,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:18:04] local.INFO: Acknowledgment sent {"connection_id":118559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:18:22] local.INFO: TCP Data received {"connection_id":118672,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:18:22] local.INFO: Processing buffer {"connection_id":118672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:18:22] local.INFO: IMEI packet received {"connection_id":118672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 00:18:22] local.INFO: IMEI acknowledgment sent {"connection_id":118672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:18:23] local.INFO: TCP Data received {"connection_id":118672,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:18:23] local.INFO: Processing buffer {"connection_id":118672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:18:23] local.INFO: IMEI packet received {"connection_id":118672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":118672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:18:27] local.INFO: TCP Data received {"connection_id":118672,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:18:27] local.INFO: Processing buffer {"connection_id":118672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:18:27] local.INFO: IMEI packet received {"connection_id":118672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":118672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:18:28] local.INFO: TCP Data received {"connection_id":118672,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f19db8648012d719fc00609cd080006014d2d..."} 
[2026-07-01 00:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19db8648012d719fc00609cd080006014d2d..."} 
[2026-07-01 00:18:28] local.INFO: Processing buffer {"connection_id":118672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19db8648012d719fc00609cd080006014d2d..."} 
[2026-07-01 00:18:28] local.INFO: Packet analysis {"connection_id":118672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19db"} 
[2026-07-01 00:18:28] local.INFO: Extracted packet for processing {"connection_id":118672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19db"} 
[2026-07-01 00:18:28] local.INFO: GPS Element Parsed {"raw_longitude":762421184,"raw_latitude":101305608,"longitude_deg":76.2421184,"latitude_deg":10.1305608,"altitude":6,"angle":333,"satellites":45,"speed":36,"hex_longitude":"2d719fc0","hex_latitude":"0609cd08","is_valid_coordinates":true} 
[2026-07-01 00:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:18:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408379648001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:18:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332184994149564416,"note":"Value kept but may cause issues"} 
[2026-07-01 00:18:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8191766273142368256,"note":"Value kept but may cause issues"} 
[2026-07-01 00:18:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:18:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782845245000,"timestamp_ms":1782845245000,"timestamp_seconds":1782845245,"priority":1,"record_length":96,"hex_timestamp":"0000019f19db8648"} 
[2026-07-01 00:18:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:18:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 00:18:28] 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-01 00:18:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:18:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:18:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:18:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:18:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:18:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:18:28] 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-01 00:18:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:18:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:18:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408379648001,"66":27571,"93":206,"79":47616,"24":36,"16":332184994149564416,"45":8191766273142368256},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,79,24,16,45]} 
[2026-07-01 00:18:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:18:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:18:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408379648001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:18:28] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-07-01 00:18:28] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-01 00:18:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332184994149564416,"km_value":332184994149564.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:18:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8191766273142368256,"description":"Unknown IO ID 45"} 
[2026-07-01 00:18:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408379648001,"power":27571,"unknown_93":206,"unknown_79":47616,"ignition":36,"odometer":null,"unknown_45":8191766273142368256}} 
[2026-07-01 00:18:28] local.INFO: DEBUG: GPS processor result {"connection_id":118672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:18:28] local.INFO: GPS data processed {"connection_id":118672,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:18:28] local.INFO: Acknowledgment sent {"connection_id":118672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:19:00] local.INFO: TCP Data received {"connection_id":118672,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f19dba970012d718f800609ec100006014b2a..."} 
[2026-07-01 00:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19dba970012d718f800609ec100006014b2a..."} 
[2026-07-01 00:19:00] local.INFO: Processing buffer {"connection_id":118672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19dba970012d718f800609ec100006014b2a..."} 
[2026-07-01 00:19:00] local.INFO: Packet analysis {"connection_id":118672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19db"} 
[2026-07-01 00:19:00] local.INFO: Extracted packet for processing {"connection_id":118672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19db"} 
[2026-07-01 00:19:00] local.INFO: GPS Element Parsed {"raw_longitude":762417024,"raw_latitude":101313552,"longitude_deg":76.2417024,"latitude_deg":10.1313552,"altitude":6,"angle":331,"satellites":42,"speed":41,"hex_longitude":"2d718f80","hex_latitude":"0609ec10","is_valid_coordinates":true} 
[2026-07-01 00: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-01 00:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408382720001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332185427941261312,"note":"Value kept but may cause issues"} 
[2026-07-01 00:19:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8187473779749619712,"note":"Value kept but may cause issues"} 
[2026-07-01 00:19:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782845254000,"timestamp_ms":1782845254000,"timestamp_seconds":1782845254,"priority":1,"record_length":96,"hex_timestamp":"0000019f19dba970"} 
[2026-07-01 00: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-01 00:19:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 00: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-01 00:19:00] 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-01 00: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-01 00: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-01 00:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":118672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":118672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":118672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:19:00] 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-01 00:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408382720001,"66":27571,"93":206,"79":47616,"24":41,"16":332185427941261312,"45":8187473779749619712},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,79,24,16,45]} 
[2026-07-01 00:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408382720001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:19:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-07-01 00:19:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-01 00:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332185427941261312,"km_value":332185427941261.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:19:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8187473779749619712,"description":"Unknown IO ID 45"} 
[2026-07-01 00:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408382720001,"power":27571,"unknown_93":206,"unknown_79":47616,"ignition":41,"odometer":null,"unknown_45":8187473779749619712}} 
[2026-07-01 00:19:00] local.INFO: DEBUG: GPS processor result {"connection_id":118672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:19:00] local.INFO: GPS data processed {"connection_id":118672,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:19:00] local.INFO: Acknowledgment sent {"connection_id":118672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:19:27] local.INFO: TCP Data received {"connection_id":120427,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:19:27] local.INFO: Processing buffer {"connection_id":120427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:19:27] local.INFO: IMEI packet received {"connection_id":120427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 00:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":120427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:19:28] local.INFO: TCP Data received {"connection_id":118560,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118560,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:19:28] local.INFO: Processing buffer {"connection_id":118560,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:19:28] local.INFO: IMEI packet received {"connection_id":118560,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 00:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":118560,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:19:29] local.INFO: TCP Data received {"connection_id":118560,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f19da2aa0012d7e378005d34d880005002e27..."} 
[2026-07-01 00:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19da2aa0012d7e378005d34d880005002e27..."} 
[2026-07-01 00:19:29] local.INFO: Processing buffer {"connection_id":118560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19da2aa0012d7e378005d34d880005002e27..."} 
[2026-07-01 00:19:29] local.INFO: Packet analysis {"connection_id":118560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19da"} 
[2026-07-01 00:19:29] local.INFO: Extracted packet for processing {"connection_id":118560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19da"} 
[2026-07-01 00:19:29] local.INFO: GPS Element Parsed {"raw_longitude":763246464,"raw_latitude":97734024,"longitude_deg":76.3246464,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":39,"speed":0,"hex_longitude":"2d7e3780","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00: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-01 00:19:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408354560001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:19:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:19:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094878735006271488,"note":"Value kept but may cause issues"} 
[2026-07-01 00:19:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:19:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782845156000,"timestamp_ms":1782845156000,"timestamp_seconds":1782845156,"priority":1,"record_length":96,"hex_timestamp":"0000019f19da2aa0"} 
[2026-07-01 00: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-01 00:19:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-01 00:19: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-01 00: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-01 00: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-01 00:19:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:19:29] local.INFO: Teltonika packet parsed successfully {"connection_id":118560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:19:29] local.INFO: Passing IMEI to GPS processor {"connection_id":118560,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:19:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":118560,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:19:29] 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-01 00:19:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:19:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:19:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408354560001,"66":12504,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9094878735006271488},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:19:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:19:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:19:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408354560001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:19:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:19:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:19:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:19:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094878735006271488,"description":"Unknown IO ID 45"} 
[2026-07-01 00:19:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408354560001,"power":12504,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094878735006271488}} 
[2026-07-01 00:19:29] local.INFO: DEBUG: GPS processor result {"connection_id":118560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415404,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:19:29] local.INFO: GPS data processed {"connection_id":118560,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:19:29] local.INFO: Acknowledgment sent {"connection_id":118560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:19:31] local.INFO: TCP Data received {"connection_id":120427,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:19:31] local.INFO: Processing buffer {"connection_id":120427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:19:31] local.INFO: IMEI packet received {"connection_id":120427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":120427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:19:32] local.INFO: TCP Data received {"connection_id":120427,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f19dbd468012d717d00060a0a20000501482b..."} 
[2026-07-01 00:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19dbd468012d717d00060a0a20000501482b..."} 
[2026-07-01 00:19:32] local.INFO: Processing buffer {"connection_id":120427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19dbd468012d717d00060a0a20000501482b..."} 
[2026-07-01 00:19:32] local.INFO: Packet analysis {"connection_id":120427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19db"} 
[2026-07-01 00:19:32] local.INFO: Extracted packet for processing {"connection_id":120427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19db"} 
[2026-07-01 00:19:32] local.INFO: GPS Element Parsed {"raw_longitude":762412288,"raw_latitude":101321248,"longitude_deg":76.2412288,"latitude_deg":10.1321248,"altitude":5,"angle":328,"satellites":43,"speed":26,"hex_longitude":"2d717d00","hex_latitude":"060a0a20","is_valid_coordinates":true} 
[2026-07-01 00:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408385024001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332185861732958208,"note":"Value kept but may cause issues"} 
[2026-07-01 00:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8182899811380105216,"note":"Value kept but may cause issues"} 
[2026-07-01 00:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782845265000,"timestamp_ms":1782845265000,"timestamp_seconds":1782845265,"priority":1,"record_length":96,"hex_timestamp":"0000019f19dbd468"} 
[2026-07-01 00:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:19:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-01 00:19:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:19:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":120427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":120427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":120427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408385024001,"66":27571,"93":206,"79":47616,"24":26,"16":332185861732958208,"45":8182899811380105216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,79,24,16,45]} 
[2026-07-01 00:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408385024001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:19:32] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-07-01 00:19:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-01 00:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332185861732958208,"km_value":332185861732958.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8182899811380105216,"description":"Unknown IO ID 45"} 
[2026-07-01 00:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408385024001,"power":27571,"unknown_93":206,"unknown_79":47616,"ignition":26,"odometer":null,"unknown_45":8182899811380105216}} 
[2026-07-01 00:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":120427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:19:32] local.INFO: GPS data processed {"connection_id":120427,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:19:32] local.INFO: Acknowledgment sent {"connection_id":120427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:19:33] local.INFO: TCP Data received {"connection_id":120427,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f19dc0348012d716a80060a28b8000501492c..."} 
[2026-07-01 00:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19dc0348012d716a80060a28b8000501492c..."} 
[2026-07-01 00:19:33] local.INFO: Processing buffer {"connection_id":120427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19dc0348012d716a80060a28b8000501492c..."} 
[2026-07-01 00:19:33] local.INFO: Packet analysis {"connection_id":120427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19dc"} 
[2026-07-01 00:19:33] local.INFO: Extracted packet for processing {"connection_id":120427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19dc"} 
[2026-07-01 00:19:33] local.INFO: GPS Element Parsed {"raw_longitude":762407552,"raw_latitude":101329080,"longitude_deg":76.2407552,"latitude_deg":10.132908,"altitude":5,"angle":329,"satellites":44,"speed":33,"hex_longitude":"2d716a80","hex_latitude":"060a28b8","is_valid_coordinates":true} 
[2026-07-01 00:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408387840001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332186304114589696,"note":"Value kept but may cause issues"} 
[2026-07-01 00:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8177692524312928256,"note":"Value kept but may cause issues"} 
[2026-07-01 00:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782845277000,"timestamp_ms":1782845277000,"timestamp_seconds":1782845277,"priority":1,"record_length":96,"hex_timestamp":"0000019f19dc0348"} 
[2026-07-01 00:19:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:19:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-01 00:19:33] 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-01 00:19:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:19:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":120427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":120427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":120427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408387840001,"66":27539,"93":206,"79":47616,"24":33,"16":332186304114589696,"45":8177692524312928256},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,79,24,16,45]} 
[2026-07-01 00:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408387840001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:19:33] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-07-01 00:19:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-01 00:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332186304114589696,"km_value":332186304114589.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8177692524312928256,"description":"Unknown IO ID 45"} 
[2026-07-01 00:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408387840001,"power":27539,"unknown_93":206,"unknown_79":47616,"ignition":33,"odometer":null,"unknown_45":8177692524312928256}} 
[2026-07-01 00:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":120427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:19:33] local.INFO: GPS data processed {"connection_id":120427,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:19:33] local.INFO: Acknowledgment sent {"connection_id":120427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:19:48] local.INFO: TCP Data received {"connection_id":120428,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120428,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:19:48] local.INFO: Processing buffer {"connection_id":120428,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:19:48] local.INFO: IMEI packet received {"connection_id":120428,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 00:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":120428,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:19:53] local.INFO: TCP Data received {"connection_id":120428,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120428,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:19:53] local.INFO: Processing buffer {"connection_id":120428,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:19:53] local.INFO: IMEI packet received {"connection_id":120428,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 00:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":120428,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:19:54] local.INFO: TCP Data received {"connection_id":120428,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f19da2aa0012d7e378005d34d880005002e27..."} 
[2026-07-01 00:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19da2aa0012d7e378005d34d880005002e27..."} 
[2026-07-01 00:19:54] local.INFO: Processing buffer {"connection_id":120428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19da2aa0012d7e378005d34d880005002e27..."} 
[2026-07-01 00:19:54] local.INFO: Packet analysis {"connection_id":120428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19da"} 
[2026-07-01 00:19:54] local.INFO: Extracted packet for processing {"connection_id":120428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19da"} 
[2026-07-01 00:19:54] local.INFO: GPS Element Parsed {"raw_longitude":763246464,"raw_latitude":97734024,"longitude_deg":76.3246464,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":39,"speed":0,"hex_longitude":"2d7e3780","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00:19: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-01 00:19:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408359936001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:19:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:19:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094878735006271488,"note":"Value kept but may cause issues"} 
[2026-07-01 00:19:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:19:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782845156000,"timestamp_ms":1782845156000,"timestamp_seconds":1782845156,"priority":1,"record_length":96,"hex_timestamp":"0000019f19da2aa0"} 
[2026-07-01 00:19:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:19: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-01 00:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-01 00:19:54] 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-01 00:19:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:19:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:19:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:19:54] local.INFO: Teltonika packet parsed successfully {"connection_id":120428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:19:54] local.INFO: Passing IMEI to GPS processor {"connection_id":120428,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:19:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":120428,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:19:54] 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-01 00:19:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:19:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:19:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408359936001,"66":12504,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9094878735006271488},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:19:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:19:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:19:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408359936001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:19:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:19:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:19:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:19:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094878735006271488,"description":"Unknown IO ID 45"} 
[2026-07-01 00:19:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408359936001,"power":12504,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094878735006271488}} 
[2026-07-01 00:19:54] local.INFO: DEBUG: GPS processor result {"connection_id":120428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415407,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:19:54] local.INFO: GPS data processed {"connection_id":120428,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:19:54] local.INFO: Acknowledgment sent {"connection_id":120428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:20:07] local.INFO: TCP Data received {"connection_id":120427,"ip":"42.106.6.26","data_length":93,"data_hex":"00000000000000518e010000019f19dc2a58012d715980060a48200006014c2e..."} 
[2026-07-01 00:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120427,"packet_length":93,"packet_hex":"00000000000000518e010000019f19dc2a58012d715980060a48200006014c2e..."} 
[2026-07-01 00:20:07] local.INFO: Processing buffer {"connection_id":120427,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f19dc2a58012d715980060a48200006014c2e..."} 
[2026-07-01 00:20:07] local.INFO: Packet analysis {"connection_id":120427,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f19dc"} 
[2026-07-01 00:20:07] local.INFO: Extracted packet for processing {"connection_id":120427,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f19dc"} 
[2026-07-01 00:20:07] local.INFO: GPS Element Parsed {"raw_longitude":762403200,"raw_latitude":101337120,"longitude_deg":76.24032,"latitude_deg":10.133712,"altitude":6,"angle":332,"satellites":46,"speed":37,"hex_longitude":"2d715980","hex_latitude":"060a4820","is_valid_coordinates":true} 
[2026-07-01 00:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-07-01 00:20:07] 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-01 00:20:07] 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-01 00:20:07] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:20:07] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-01 00:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":120427,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-01 00:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":120427,"device_imei":"862567074773115","avl_records_count":0} 
[2026-07-01 00:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":120427,"device_imei":"862567074773115","avl_records_count":0} 
[2026-07-01 00:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-01 00:20:07] local.WARNING: DEBUG: No valid data to process  
[2026-07-01 00:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":120427,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-01 00:20:07] local.ERROR: GPS data processing failed {"connection_id":120427,"error":"No valid data to process"} 
[2026-07-01 00:20:07] local.INFO: Acknowledgment sent {"connection_id":120427,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-01 00:20:22] local.INFO: TCP Data received {"connection_id":119313,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:20:22] local.INFO: Processing buffer {"connection_id":119313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:20:22] local.INFO: IMEI packet received {"connection_id":119313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 00:20:22] local.INFO: IMEI acknowledgment sent {"connection_id":119313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:20:24] local.INFO: TCP Data received {"connection_id":119313,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:20:24] local.INFO: Processing buffer {"connection_id":119313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:20:24] local.INFO: IMEI packet received {"connection_id":119313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":119313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:20:25] local.INFO: TCP Data received {"connection_id":120428,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f19da2aa0012d7e378005d34d880005002e27..."} 
[2026-07-01 00:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19da2aa0012d7e378005d34d880005002e27..."} 
[2026-07-01 00:20:25] local.INFO: Processing buffer {"connection_id":120428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19da2aa0012d7e378005d34d880005002e27..."} 
[2026-07-01 00:20:25] local.INFO: Packet analysis {"connection_id":120428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19da"} 
[2026-07-01 00:20:25] local.INFO: Extracted packet for processing {"connection_id":120428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19da"} 
[2026-07-01 00:20:25] local.INFO: GPS Element Parsed {"raw_longitude":763246464,"raw_latitude":97734024,"longitude_deg":76.3246464,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":39,"speed":0,"hex_longitude":"2d7e3780","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408359936001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:20:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094878735006271488,"note":"Value kept but may cause issues"} 
[2026-07-01 00:20:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782845156000,"timestamp_ms":1782845156000,"timestamp_seconds":1782845156,"priority":1,"record_length":96,"hex_timestamp":"0000019f19da2aa0"} 
[2026-07-01 00:20:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:20:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 00:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-01 00:20:25] 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-01 00:20:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:20:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":120428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":120428,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":120428,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:20:25] 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-01 00:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408359936001,"66":12504,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9094878735006271488},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408359936001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:20:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:20:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:20:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094878735006271488,"description":"Unknown IO ID 45"} 
[2026-07-01 00:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408359936001,"power":12504,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094878735006271488}} 
[2026-07-01 00:20:26] local.INFO: DEBUG: GPS processor result {"connection_id":120428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415408,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:20:26] local.INFO: GPS data processed {"connection_id":120428,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:20:26] local.INFO: Acknowledgment sent {"connection_id":120428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:20:27] local.INFO: TCP Data received {"connection_id":119313,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:20:27] local.INFO: Processing buffer {"connection_id":119313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:20:27] local.INFO: IMEI packet received {"connection_id":119313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:20:27] local.INFO: IMEI acknowledgment sent {"connection_id":119313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:20:28] local.INFO: TCP Data received {"connection_id":119313,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f19dd6e90012d70da00060b63600007014e2d..."} 
[2026-07-01 00:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19dd6e90012d70da00060b63600007014e2d..."} 
[2026-07-01 00:20:28] local.INFO: Processing buffer {"connection_id":119313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19dd6e90012d70da00060b63600007014e2d..."} 
[2026-07-01 00:20:28] local.INFO: Packet analysis {"connection_id":119313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19dd"} 
[2026-07-01 00:20:28] local.INFO: Extracted packet for processing {"connection_id":119313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19dd"} 
[2026-07-01 00:20:28] local.INFO: GPS Element Parsed {"raw_longitude":762370560,"raw_latitude":101409632,"longitude_deg":76.237056,"latitude_deg":10.1409632,"altitude":7,"angle":334,"satellites":45,"speed":41,"hex_longitude":"2d70da00","hex_latitude":"060b6360","is_valid_coordinates":true} 
[2026-07-01 00:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:20:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408412416001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:20:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332190629146656768,"note":"Value kept but may cause issues"} 
[2026-07-01 00:20:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8135752752803438592,"note":"Value kept but may cause issues"} 
[2026-07-01 00:20:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:20:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782845370000,"timestamp_ms":1782845370000,"timestamp_seconds":1782845370,"priority":1,"record_length":96,"hex_timestamp":"0000019f19dd6e90"} 
[2026-07-01 00:20:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:20: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-01 00:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-01 00:20:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:20:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:20:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:20:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:20:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:20:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:20:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:20:28] 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-01 00:20:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:20:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:20:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408412416001,"66":27571,"71":206,"79":47616,"24":41,"16":332190629146656768,"45":8135752752803438592},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,79,24,16,45]} 
[2026-07-01 00:20:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:20:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:20:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408412416001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:20:28] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-01 00:20:28] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-01 00:20:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332190629146656768,"km_value":332190629146656.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:20:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8135752752803438592,"description":"Unknown IO ID 45"} 
[2026-07-01 00:20:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408412416001,"power":27571,"unknown_71":206,"unknown_79":47616,"ignition":41,"odometer":null,"unknown_45":8135752752803438592}} 
[2026-07-01 00:20:28] local.INFO: DEBUG: GPS processor result {"connection_id":119313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:20:28] local.INFO: GPS data processed {"connection_id":119313,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:20:28] local.INFO: Acknowledgment sent {"connection_id":119313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:20:42] local.INFO: TCP Data received {"connection_id":120429,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 00:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120429,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 00:20:42] local.INFO: Processing buffer {"connection_id":120429,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 00:20:42] local.INFO: IMEI packet received {"connection_id":120429,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 00:20:42] local.INFO: IMEI acknowledgment sent {"connection_id":120429,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:20:48] local.INFO: TCP Data received {"connection_id":118673,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118673,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:20:48] local.INFO: Processing buffer {"connection_id":118673,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:20:48] local.INFO: IMEI packet received {"connection_id":118673,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 00:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":118673,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:20:54] local.INFO: TCP Data received {"connection_id":118673,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118673,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:20:54] local.INFO: Processing buffer {"connection_id":118673,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:20:54] local.INFO: IMEI packet received {"connection_id":118673,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 00:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":118673,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:20:55] local.INFO: TCP Data received {"connection_id":118673,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f19da2aa0012d7e378005d34d880005002e27..."} 
[2026-07-01 00:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19da2aa0012d7e378005d34d880005002e27..."} 
[2026-07-01 00:20:55] local.INFO: Processing buffer {"connection_id":118673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19da2aa0012d7e378005d34d880005002e27..."} 
[2026-07-01 00:20:55] local.INFO: Packet analysis {"connection_id":118673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19da"} 
[2026-07-01 00:20:55] local.INFO: Extracted packet for processing {"connection_id":118673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19da"} 
[2026-07-01 00:20:55] local.INFO: GPS Element Parsed {"raw_longitude":763246464,"raw_latitude":97734024,"longitude_deg":76.3246464,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":39,"speed":0,"hex_longitude":"2d7e3780","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408359936001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:20:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094878735006271488,"note":"Value kept but may cause issues"} 
[2026-07-01 00:20:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782845156000,"timestamp_ms":1782845156000,"timestamp_seconds":1782845156,"priority":1,"record_length":96,"hex_timestamp":"0000019f19da2aa0"} 
[2026-07-01 00: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-01 00:20:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 00: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-01 00:20:55] 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-01 00: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-01 00: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-01 00:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":118673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":118673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":118673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:20: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-01 00:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408359936001,"66":12504,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9094878735006271488},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408359936001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:20:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:20:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:20:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094878735006271488,"description":"Unknown IO ID 45"} 
[2026-07-01 00:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408359936001,"power":12504,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094878735006271488}} 
[2026-07-01 00:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":118673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415410,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:20:55] local.INFO: GPS data processed {"connection_id":118673,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:20:55] local.INFO: Acknowledgment sent {"connection_id":118673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:21:06] local.INFO: TCP Data received {"connection_id":119313,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f19dd8600012d70cfc0060b77f0000901412c..."} 
[2026-07-01 00:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19dd8600012d70cfc0060b77f0000901412c..."} 
[2026-07-01 00:21:06] local.INFO: Processing buffer {"connection_id":119313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19dd8600012d70cfc0060b77f0000901412c..."} 
[2026-07-01 00:21:06] local.INFO: Packet analysis {"connection_id":119313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19dd"} 
[2026-07-01 00:21:06] local.INFO: Extracted packet for processing {"connection_id":119313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19dd"} 
[2026-07-01 00:21:06] local.INFO: GPS Element Parsed {"raw_longitude":762367936,"raw_latitude":101414896,"longitude_deg":76.2367936,"latitude_deg":10.1414896,"altitude":9,"angle":321,"satellites":44,"speed":34,"hex_longitude":"2d70cfc0","hex_latitude":"060b77f0","is_valid_coordinates":true} 
[2026-07-01 00:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408414720001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332190912614498304,"note":"Value kept but may cause issues"} 
[2026-07-01 00:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8131812103131717632,"note":"Value kept but may cause issues"} 
[2026-07-01 00:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782845376000,"timestamp_ms":1782845376000,"timestamp_seconds":1782845376,"priority":1,"record_length":96,"hex_timestamp":"0000019f19dd8600"} 
[2026-07-01 00:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-01 00:21:06] 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-01 00:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":119313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":119313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":119313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:21:06] 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-01 00:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408414720001,"66":27571,"71":206,"79":47616,"24":34,"16":332190912614498304,"45":8131812103131717632},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,79,24,16,45]} 
[2026-07-01 00:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408414720001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:21:06] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-01 00:21:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-01 00:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332190912614498304,"km_value":332190912614498.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8131812103131717632,"description":"Unknown IO ID 45"} 
[2026-07-01 00:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408414720001,"power":27571,"unknown_71":206,"unknown_79":47616,"ignition":34,"odometer":null,"unknown_45":8131812103131717632}} 
[2026-07-01 00:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":119313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:21:06] local.INFO: GPS data processed {"connection_id":119313,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:21:06] local.INFO: Acknowledgment sent {"connection_id":119313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:21:17] local.INFO: TCP Data received {"connection_id":119314,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 00:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119314,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 00:21:17] local.INFO: Processing buffer {"connection_id":119314,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 00:21:17] local.INFO: IMEI packet received {"connection_id":119314,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 00:21:17] local.INFO: IMEI acknowledgment sent {"connection_id":119314,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:21:26] local.INFO: TCP Data received {"connection_id":118673,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f19ded208012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19ded208012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:21:26] local.INFO: Processing buffer {"connection_id":118673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19ded208012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:21:26] local.INFO: Packet analysis {"connection_id":118673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19de"} 
[2026-07-01 00:21:26] local.INFO: Extracted packet for processing {"connection_id":118673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19de"} 
[2026-07-01 00:21:26] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":47,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408359936001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:21:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094878735006271488,"note":"Value kept but may cause issues"} 
[2026-07-01 00:21:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782845461000,"timestamp_ms":1782845461000,"timestamp_seconds":1782845461,"priority":1,"record_length":96,"hex_timestamp":"0000019f19ded208"} 
[2026-07-01 00:21:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:21:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 00:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-01 00:21:26] 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-01 00:21:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:21:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":118673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":118673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":118673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:21: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-01 00:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408359936001,"66":12613,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9094878735006271488},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408359936001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:21:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:21:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:21:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094878735006271488,"description":"Unknown IO ID 45"} 
[2026-07-01 00:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408359936001,"power":12613,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094878735006271488}} 
[2026-07-01 00:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":118673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415412,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:21:26] local.INFO: GPS data processed {"connection_id":118673,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:21:26] local.INFO: Acknowledgment sent {"connection_id":118673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:21:27] local.INFO: TCP Data received {"connection_id":118674,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:21:27] local.INFO: Processing buffer {"connection_id":118674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:21:27] local.INFO: IMEI packet received {"connection_id":118674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 00:21:27] local.INFO: IMEI acknowledgment sent {"connection_id":118674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:21:28] local.INFO: TCP Data received {"connection_id":118674,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:21:28] local.INFO: Processing buffer {"connection_id":118674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:21:28] local.INFO: IMEI packet received {"connection_id":118674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":118674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:21:29] local.INFO: TCP Data received {"connection_id":118674,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f19de5cd8012d701400060b61f8000801052e..."} 
[2026-07-01 00:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19de5cd8012d701400060b61f8000801052e..."} 
[2026-07-01 00:21:29] local.INFO: Processing buffer {"connection_id":118674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19de5cd8012d701400060b61f8000801052e..."} 
[2026-07-01 00:21:29] local.INFO: Packet analysis {"connection_id":118674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19de"} 
[2026-07-01 00:21:29] local.INFO: Extracted packet for processing {"connection_id":118674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19de"} 
[2026-07-01 00:21:29] local.INFO: GPS Element Parsed {"raw_longitude":762319872,"raw_latitude":101409272,"longitude_deg":76.2319872,"latitude_deg":10.1409272,"altitude":8,"angle":261,"satellites":46,"speed":40,"hex_longitude":"2d701400","hex_latitude":"060b61f8","is_valid_coordinates":true} 
[2026-07-01 00: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-01 00:21:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408428032001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:21:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332193373630758912,"note":"Value kept but may cause issues"} 
[2026-07-01 00:21:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8086002050672277504,"note":"Value kept but may cause issues"} 
[2026-07-01 00:21:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:21:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782845431000,"timestamp_ms":1782845431000,"timestamp_seconds":1782845431,"priority":1,"record_length":96,"hex_timestamp":"0000019f19de5cd8"} 
[2026-07-01 00: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-01 00:21:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-01 00:21:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00: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-01 00: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-01 00:21:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:21:29] local.INFO: Teltonika packet parsed successfully {"connection_id":118674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:21:29] local.INFO: Passing IMEI to GPS processor {"connection_id":118674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:21:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":118674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:21:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:21:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:21:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:21:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408428032001,"66":27484,"73":206,"79":47616,"24":40,"16":332193373630758912,"45":8086002050672277504},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,79,24,16,45]} 
[2026-07-01 00:21:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:21:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:21:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408428032001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:21:29] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-01 00:21:29] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-01 00:21:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332193373630758912,"km_value":332193373630758.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:21:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8086002050672277504,"description":"Unknown IO ID 45"} 
[2026-07-01 00:21:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408428032001,"power":27484,"unknown_73":206,"unknown_79":47616,"ignition":40,"odometer":null,"unknown_45":8086002050672277504}} 
[2026-07-01 00:21:29] local.INFO: DEBUG: GPS processor result {"connection_id":118674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:21:29] local.INFO: GPS data processed {"connection_id":118674,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:21:29] local.INFO: Acknowledgment sent {"connection_id":118674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:21:32] local.INFO: TCP Data received {"connection_id":118674,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f19de7c18012d6ff600060b5978000800f72e..."} 
[2026-07-01 00:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19de7c18012d6ff600060b5978000800f72e..."} 
[2026-07-01 00:21:32] local.INFO: Processing buffer {"connection_id":118674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19de7c18012d6ff600060b5978000800f72e..."} 
[2026-07-01 00:21:32] local.INFO: Packet analysis {"connection_id":118674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19de"} 
[2026-07-01 00:21:32] local.INFO: Extracted packet for processing {"connection_id":118674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19de"} 
[2026-07-01 00:21:32] local.INFO: GPS Element Parsed {"raw_longitude":762312192,"raw_latitude":101407096,"longitude_deg":76.2312192,"latitude_deg":10.1407096,"altitude":8,"angle":247,"satellites":46,"speed":33,"hex_longitude":"2d6ff600","hex_latitude":"060b5978","is_valid_coordinates":true} 
[2026-07-01 00: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-01 00:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408430336001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332193755882848256,"note":"Value kept but may cause issues"} 
[2026-07-01 00:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8076080057742915584,"note":"Value kept but may cause issues"} 
[2026-07-01 00:21:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782845439000,"timestamp_ms":1782845439000,"timestamp_seconds":1782845439,"priority":1,"record_length":96,"hex_timestamp":"0000019f19de7c18"} 
[2026-07-01 00: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-01 00:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 00:21:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00: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-01 00: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-01 00:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":118674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":118674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":118674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408430336001,"66":27484,"112":206,"79":47616,"24":33,"16":332193755882848256,"45":8076080057742915584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,79,24,16,45]} 
[2026-07-01 00:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408430336001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:21:32] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-01 00:21:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-01 00:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332193755882848256,"km_value":332193755882848.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8076080057742915584,"description":"Unknown IO ID 45"} 
[2026-07-01 00:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408430336001,"power":27484,"unknown_112":206,"unknown_79":47616,"ignition":33,"odometer":null,"unknown_45":8076080057742915584}} 
[2026-07-01 00:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":118674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:21:32] local.INFO: GPS data processed {"connection_id":118674,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:21:32] local.INFO: Acknowledgment sent {"connection_id":118674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:21:48] local.INFO: TCP Data received {"connection_id":118561,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118561,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:21:48] local.INFO: Processing buffer {"connection_id":118561,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:21:48] local.INFO: IMEI packet received {"connection_id":118561,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 00:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":118561,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:21:53] local.INFO: TCP Data received {"connection_id":118561,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118561,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:21:53] local.INFO: Processing buffer {"connection_id":118561,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:21:53] local.INFO: IMEI packet received {"connection_id":118561,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 00:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":118561,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:21:54] local.INFO: TCP Data received {"connection_id":118561,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f19ded208012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19ded208012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:21:54] local.INFO: Processing buffer {"connection_id":118561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19ded208012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:21:54] local.INFO: Packet analysis {"connection_id":118561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19de"} 
[2026-07-01 00:21:54] local.INFO: Extracted packet for processing {"connection_id":118561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19de"} 
[2026-07-01 00:21:54] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":47,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408359936001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:21:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094878735006271488,"note":"Value kept but may cause issues"} 
[2026-07-01 00:21:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782845461000,"timestamp_ms":1782845461000,"timestamp_seconds":1782845461,"priority":1,"record_length":96,"hex_timestamp":"0000019f19ded208"} 
[2026-07-01 00:21:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:21:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 00:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-01 00:21:54] 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-01 00:21:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:21:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":118561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":118561,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":118561,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:21: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-01 00:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408359936001,"66":12613,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9094878735006271488},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408359936001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:21:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:21:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:21:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:21:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094878735006271488,"description":"Unknown IO ID 45"} 
[2026-07-01 00:21:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408359936001,"power":12613,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094878735006271488}} 
[2026-07-01 00:21:54] local.INFO: DEBUG: GPS processor result {"connection_id":118561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415415,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:21:54] local.INFO: GPS data processed {"connection_id":118561,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:21:54] local.INFO: Acknowledgment sent {"connection_id":118561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:22:05] local.INFO: TCP Data received {"connection_id":118674,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f19dea710012d6fd440060b4f40000900fe2a..."} 
[2026-07-01 00:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19dea710012d6fd440060b4f40000900fe2a..."} 
[2026-07-01 00:22:05] local.INFO: Processing buffer {"connection_id":118674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19dea710012d6fd440060b4f40000900fe2a..."} 
[2026-07-01 00:22:05] local.INFO: Packet analysis {"connection_id":118674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19de"} 
[2026-07-01 00:22:05] local.INFO: Extracted packet for processing {"connection_id":118674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19de"} 
[2026-07-01 00:22:05] local.INFO: GPS Element Parsed {"raw_longitude":762303552,"raw_latitude":101404480,"longitude_deg":76.2303552,"latitude_deg":10.140448,"altitude":9,"angle":254,"satellites":42,"speed":36,"hex_longitude":"2d6fd440","hex_latitude":"060b4f40","is_valid_coordinates":true} 
[2026-07-01 00:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408432384001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332194189674545152,"note":"Value kept but may cause issues"} 
[2026-07-01 00:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8067635808441038848,"note":"Value kept but may cause issues"} 
[2026-07-01 00:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782845450000,"timestamp_ms":1782845450000,"timestamp_seconds":1782845450,"priority":1,"record_length":96,"hex_timestamp":"0000019f19dea710"} 
[2026-07-01 00:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 00:22:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:22:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":118674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":118674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":118674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:22:05] 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-01 00:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408432384001,"66":27484,"113":206,"79":47616,"24":36,"16":332194189674545152,"45":8067635808441038848},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,79,24,16,45]} 
[2026-07-01 00:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408432384001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:22:05] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-01 00:22:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-01 00:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332194189674545152,"km_value":332194189674545.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8067635808441038848,"description":"Unknown IO ID 45"} 
[2026-07-01 00:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408432384001,"power":27484,"unknown_113":206,"unknown_79":47616,"ignition":36,"odometer":null,"unknown_45":8067635808441038848}} 
[2026-07-01 00:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":118674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:22:06] local.INFO: GPS data processed {"connection_id":118674,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:22:06] local.INFO: Acknowledgment sent {"connection_id":118674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:22:22] local.INFO: TCP Data received {"connection_id":118676,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:22:22] local.INFO: Processing buffer {"connection_id":118676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:22:22] local.INFO: IMEI packet received {"connection_id":118676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 00:22:22] local.INFO: IMEI acknowledgment sent {"connection_id":118676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:22:25] local.INFO: TCP Data received {"connection_id":118676,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:22:25] local.INFO: Processing buffer {"connection_id":118676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:22:25] local.INFO: IMEI packet received {"connection_id":118676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":118676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:22:25] local.INFO: TCP Data received {"connection_id":118561,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f19ded208012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19ded208012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:22:25] local.INFO: Processing buffer {"connection_id":118561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19ded208012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:22:25] local.INFO: Packet analysis {"connection_id":118561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19de"} 
[2026-07-01 00:22:25] local.INFO: Extracted packet for processing {"connection_id":118561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19de"} 
[2026-07-01 00:22:25] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":47,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00:22:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:22:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408359936001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:22:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:22:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094878735006271488,"note":"Value kept but may cause issues"} 
[2026-07-01 00:22:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:22:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782845461000,"timestamp_ms":1782845461000,"timestamp_seconds":1782845461,"priority":1,"record_length":96,"hex_timestamp":"0000019f19ded208"} 
[2026-07-01 00:22:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:22:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 00:22:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-01 00:22:25] 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-01 00:22:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:22:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:22:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:22:25] local.INFO: Teltonika packet parsed successfully {"connection_id":118561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:22:25] local.INFO: Passing IMEI to GPS processor {"connection_id":118561,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:22:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":118561,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:22: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-01 00:22:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:22:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:22:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408359936001,"66":12613,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9094878735006271488},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:22:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:22:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:22:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408359936001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:22:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:22:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:22:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:22:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094878735006271488,"description":"Unknown IO ID 45"} 
[2026-07-01 00:22:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408359936001,"power":12613,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094878735006271488}} 
[2026-07-01 00:22:25] local.INFO: TCP Data received {"connection_id":118676,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f19debe80012d6fc180060b4830000900f229..."} 
[2026-07-01 00:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19debe80012d6fc180060b4830000900f229..."} 
[2026-07-01 00:22:25] local.INFO: Processing buffer {"connection_id":118676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19debe80012d6fc180060b4830000900f229..."} 
[2026-07-01 00:22:25] local.INFO: Packet analysis {"connection_id":118676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19de"} 
[2026-07-01 00:22:25] local.INFO: Extracted packet for processing {"connection_id":118676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19de"} 
[2026-07-01 00:22:25] local.INFO: GPS Element Parsed {"raw_longitude":762298752,"raw_latitude":101402672,"longitude_deg":76.2298752,"latitude_deg":10.1402672,"altitude":9,"angle":242,"satellites":41,"speed":27,"hex_longitude":"2d6fc180","hex_latitude":"060b4830","is_valid_coordinates":true} 
[2026-07-01 00:22:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:22:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408435200001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:22:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332194434487681024,"note":"Value kept but may cause issues"} 
[2026-07-01 00:22:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8058136027976384512,"note":"Value kept but may cause issues"} 
[2026-07-01 00:22:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:22:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782845456000,"timestamp_ms":1782845456000,"timestamp_seconds":1782845456,"priority":1,"record_length":96,"hex_timestamp":"0000019f19debe80"} 
[2026-07-01 00:22:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:22:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 00:22:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 00:22:25] 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-01 00:22:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:22:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:22:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:22:25] local.INFO: Teltonika packet parsed successfully {"connection_id":118676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:22:25] local.INFO: Passing IMEI to GPS processor {"connection_id":118676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:22:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":118676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:22:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:22:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:22:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:22:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408435200001,"66":27539,"113":206,"79":47616,"24":27,"16":332194434487681024,"45":8058136027976384512},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,79,24,16,45]} 
[2026-07-01 00:22:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:22:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:22:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408435200001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:22:25] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-01 00:22:25] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-01 00:22:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332194434487681024,"km_value":332194434487681.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:22:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8058136027976384512,"description":"Unknown IO ID 45"} 
[2026-07-01 00:22:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408435200001,"power":27539,"unknown_113":206,"unknown_79":47616,"ignition":27,"odometer":null,"unknown_45":8058136027976384512}} 
[2026-07-01 00:22:25] local.INFO: DEBUG: GPS processor result {"connection_id":118561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415417,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:22:25] local.INFO: GPS data processed {"connection_id":118561,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:22:25] local.INFO: Acknowledgment sent {"connection_id":118561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:22:25] local.INFO: DEBUG: GPS processor result {"connection_id":118676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:22:25] local.INFO: GPS data processed {"connection_id":118676,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:22:25] local.INFO: Acknowledgment sent {"connection_id":118676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:22:48] local.INFO: TCP Data received {"connection_id":120430,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120430,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:22:48] local.INFO: Processing buffer {"connection_id":120430,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:22:48] local.INFO: IMEI packet received {"connection_id":120430,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 00:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":120430,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:22:53] local.INFO: TCP Data received {"connection_id":120430,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120430,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:22:53] local.INFO: Processing buffer {"connection_id":120430,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:22:53] local.INFO: IMEI packet received {"connection_id":120430,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 00:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":120430,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:22:54] local.INFO: TCP Data received {"connection_id":120430,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f19ded208012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19ded208012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:22:54] local.INFO: Processing buffer {"connection_id":120430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19ded208012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:22:54] local.INFO: Packet analysis {"connection_id":120430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19de"} 
[2026-07-01 00:22:54] local.INFO: Extracted packet for processing {"connection_id":120430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19de"} 
[2026-07-01 00:22:54] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":47,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:22:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408359936001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:22:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:22:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094878735006271488,"note":"Value kept but may cause issues"} 
[2026-07-01 00:22:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:22:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782845461000,"timestamp_ms":1782845461000,"timestamp_seconds":1782845461,"priority":1,"record_length":96,"hex_timestamp":"0000019f19ded208"} 
[2026-07-01 00:22:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:22:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 00:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-01 00:22:54] 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-01 00:22:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:22:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:22:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:22:54] local.INFO: Teltonika packet parsed successfully {"connection_id":120430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:22:54] local.INFO: Passing IMEI to GPS processor {"connection_id":120430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:22:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":120430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:22:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:22:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:22:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:22:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408359936001,"66":12613,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9094878735006271488},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:22:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:22:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:22:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408359936001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:22:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:22:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:22:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:22:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094878735006271488,"description":"Unknown IO ID 45"} 
[2026-07-01 00:22:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408359936001,"power":12613,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094878735006271488}} 
[2026-07-01 00:22:54] local.INFO: DEBUG: GPS processor result {"connection_id":120430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415419,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:22:54] local.INFO: GPS data processed {"connection_id":120430,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:22:54] local.INFO: Acknowledgment sent {"connection_id":120430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:22:58] local.INFO: TCP Data received {"connection_id":118676,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f19dece20012d6fba00060b45180009010f2e..."} 
[2026-07-01 00:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19dece20012d6fba00060b45180009010f2e..."} 
[2026-07-01 00:22:58] local.INFO: Processing buffer {"connection_id":118676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19dece20012d6fba00060b45180009010f2e..."} 
[2026-07-01 00:22:58] local.INFO: Packet analysis {"connection_id":118676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19de"} 
[2026-07-01 00:22:58] local.INFO: Extracted packet for processing {"connection_id":118676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19de"} 
[2026-07-01 00:22:58] local.INFO: GPS Element Parsed {"raw_longitude":762296832,"raw_latitude":101401880,"longitude_deg":76.2296832,"latitude_deg":10.140188,"altitude":9,"angle":271,"satellites":46,"speed":16,"hex_longitude":"2d6fba00","hex_latitude":"060b4518","is_valid_coordinates":true} 
[2026-07-01 00: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-01 00:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408436736001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332194533271928832,"note":"Value kept but may cause issues"} 
[2026-07-01 00:22:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8052858372162596864,"note":"Value kept but may cause issues"} 
[2026-07-01 00:22:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782845460000,"timestamp_ms":1782845460000,"timestamp_seconds":1782845460,"priority":1,"record_length":96,"hex_timestamp":"0000019f19dece20"} 
[2026-07-01 00: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-01 00:22: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-01 00: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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-01 00:22:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00: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-01 00: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-01 00:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:22:58] 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-01 00:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408436736001,"66":27376,"113":206,"79":47616,"24":16,"16":332194533271928832,"45":8052858372162596864},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,79,24,16,45]} 
[2026-07-01 00:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:22:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:22:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408436736001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:22:58] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-01 00:22:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-07-01 00:22:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332194533271928832,"km_value":332194533271928.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:22:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8052858372162596864,"description":"Unknown IO ID 45"} 
[2026-07-01 00:22:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408436736001,"power":27376,"unknown_113":206,"unknown_79":47616,"ignition":16,"odometer":null,"unknown_45":8052858372162596864}} 
[2026-07-01 00:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":118676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:22:58] local.INFO: GPS data processed {"connection_id":118676,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:22:58] local.INFO: Acknowledgment sent {"connection_id":118676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:23:21] local.INFO: TCP Data received {"connection_id":118562,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:23:21] local.INFO: Processing buffer {"connection_id":118562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:23:21] local.INFO: IMEI packet received {"connection_id":118562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 00:23:21] local.INFO: IMEI acknowledgment sent {"connection_id":118562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:23:23] local.INFO: TCP Data received {"connection_id":118562,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:23:23] local.INFO: Processing buffer {"connection_id":118562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:23:23] local.INFO: IMEI packet received {"connection_id":118562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:23:23] local.INFO: IMEI acknowledgment sent {"connection_id":118562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:23:24] local.INFO: TCP Data received {"connection_id":118562,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:23:24] local.INFO: Processing buffer {"connection_id":118562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:23:24] local.INFO: IMEI packet received {"connection_id":118562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":118562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:23:25] local.INFO: TCP Data received {"connection_id":120430,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f19ded208012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19ded208012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:23:25] local.INFO: Processing buffer {"connection_id":120430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19ded208012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:23:25] local.INFO: Packet analysis {"connection_id":120430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19de"} 
[2026-07-01 00:23:25] local.INFO: Extracted packet for processing {"connection_id":120430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19de"} 
[2026-07-01 00:23:25] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":47,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408359936001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:23:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094878735006271488,"note":"Value kept but may cause issues"} 
[2026-07-01 00:23:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782845461000,"timestamp_ms":1782845461000,"timestamp_seconds":1782845461,"priority":1,"record_length":96,"hex_timestamp":"0000019f19ded208"} 
[2026-07-01 00:23:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:23:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 00:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-01 00:23:25] 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-01 00:23:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:23:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":120430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":120430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":120430,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:23:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408359936001,"66":12613,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9094878735006271488},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408359936001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:23:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:23:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:23:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094878735006271488,"description":"Unknown IO ID 45"} 
[2026-07-01 00:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408359936001,"power":12613,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094878735006271488}} 
[2026-07-01 00:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":120430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415421,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:23:25] local.INFO: GPS data processed {"connection_id":120430,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:23:25] local.INFO: Acknowledgment sent {"connection_id":120430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:23:27] local.INFO: TCP Data received {"connection_id":118562,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:23:27] local.INFO: Processing buffer {"connection_id":118562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:23:27] local.INFO: IMEI packet received {"connection_id":118562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":118562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:23:28] local.INFO: TCP Data received {"connection_id":118562,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f19dfeb48012d6f34c0060c2b100009014423..."} 
[2026-07-01 00:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19dfeb48012d6f34c0060c2b100009014423..."} 
[2026-07-01 00:23:28] local.INFO: Processing buffer {"connection_id":118562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19dfeb48012d6f34c0060c2b100009014423..."} 
[2026-07-01 00:23:28] local.INFO: Packet analysis {"connection_id":118562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19df"} 
[2026-07-01 00:23:28] local.INFO: Extracted packet for processing {"connection_id":118562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19df"} 
[2026-07-01 00:23:28] local.INFO: GPS Element Parsed {"raw_longitude":762262720,"raw_latitude":101460752,"longitude_deg":76.226272,"latitude_deg":10.1460752,"altitude":9,"angle":324,"satellites":35,"speed":42,"hex_longitude":"2d6f34c0","hex_latitude":"060c2b10","is_valid_coordinates":true} 
[2026-07-01 00:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:23:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408454144001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:23:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332197848986681344,"note":"Value kept but may cause issues"} 
[2026-07-01 00:23:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8019362849946877952,"note":"Value kept but may cause issues"} 
[2026-07-01 00:23:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:23:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782845533000,"timestamp_ms":1782845533000,"timestamp_seconds":1782845533,"priority":1,"record_length":96,"hex_timestamp":"0000019f19dfeb48"} 
[2026-07-01 00:23:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:23:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-01 00:23:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:23:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:23:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:23:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:23:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:23:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:23:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:23:28] 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-01 00:23:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:23:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:23:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408454144001,"66":27517,"98":206,"79":46336,"24":42,"16":332197848986681344,"45":8019362849946877952},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,79,24,16,45]} 
[2026-07-01 00:23:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:23:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:23:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408454144001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:23:28] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-07-01 00:23:28] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-01 00:23:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332197848986681344,"km_value":332197848986681.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:23:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8019362849946877952,"description":"Unknown IO ID 45"} 
[2026-07-01 00:23:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408454144001,"power":27517,"unknown_98":206,"unknown_79":46336,"ignition":42,"odometer":null,"unknown_45":8019362849946877952}} 
[2026-07-01 00:23:28] local.INFO: DEBUG: GPS processor result {"connection_id":118562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:23:28] local.INFO: GPS data processed {"connection_id":118562,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:23:28] local.INFO: Acknowledgment sent {"connection_id":118562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:23:53] local.INFO: TCP Data received {"connection_id":119316,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119316,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:23:53] local.INFO: Processing buffer {"connection_id":119316,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:23:53] local.INFO: IMEI packet received {"connection_id":119316,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 00:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":119316,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:24:00] local.INFO: TCP Data received {"connection_id":119316,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119316,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:24:00] local.INFO: Processing buffer {"connection_id":119316,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:24:00] local.INFO: IMEI packet received {"connection_id":119316,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 00:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":119316,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:24:01] local.INFO: TCP Data received {"connection_id":118562,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f19e00e70012d6f1d80060c48d8000901412d..."} 
[2026-07-01 00:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19e00e70012d6f1d80060c48d8000901412d..."} 
[2026-07-01 00:24:01] local.INFO: Processing buffer {"connection_id":118562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19e00e70012d6f1d80060c48d8000901412d..."} 
[2026-07-01 00:24:01] local.INFO: Packet analysis {"connection_id":118562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19e0"} 
[2026-07-01 00:24:01] local.INFO: Extracted packet for processing {"connection_id":118562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19e0"} 
[2026-07-01 00:24:01] local.INFO: GPS Element Parsed {"raw_longitude":762256768,"raw_latitude":101468376,"longitude_deg":76.2256768,"latitude_deg":10.1468376,"altitude":9,"angle":321,"satellites":45,"speed":41,"hex_longitude":"2d6f1d80","hex_latitude":"060c48d8","is_valid_coordinates":true} 
[2026-07-01 00:24:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:24:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408456448001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:24:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332198317138116608,"note":"Value kept but may cause issues"} 
[2026-07-01 00:24:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8013240769205440512,"note":"Value kept but may cause issues"} 
[2026-07-01 00:24:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:24:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782845542000,"timestamp_ms":1782845542000,"timestamp_seconds":1782845542,"priority":1,"record_length":96,"hex_timestamp":"0000019f19e00e70"} 
[2026-07-01 00:24:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:24:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:24:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-01 00:24:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:24:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:24:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:24:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:24:01] local.INFO: Teltonika packet parsed successfully {"connection_id":118562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:24:01] local.INFO: Passing IMEI to GPS processor {"connection_id":118562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:24:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":118562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:24:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:24:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:24:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:24:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408456448001,"66":27517,"98":206,"79":46336,"24":41,"16":332198317138116608,"45":8013240769205440512},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,79,24,16,45]} 
[2026-07-01 00:24:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:24:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:24:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408456448001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:24:01] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-07-01 00:24:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-01 00:24:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332198317138116608,"km_value":332198317138116.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:24:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8013240769205440512,"description":"Unknown IO ID 45"} 
[2026-07-01 00:24:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408456448001,"power":27517,"unknown_98":206,"unknown_79":46336,"ignition":41,"odometer":null,"unknown_45":8013240769205440512}} 
[2026-07-01 00:24:01] local.INFO: DEBUG: GPS processor result {"connection_id":118562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:24:01] local.INFO: GPS data processed {"connection_id":118562,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:24:01] local.INFO: Acknowledgment sent {"connection_id":118562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:24:03] local.INFO: TCP Data received {"connection_id":119316,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119316,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:24:03] local.INFO: Processing buffer {"connection_id":119316,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:24:03] local.INFO: IMEI packet received {"connection_id":119316,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 00:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":119316,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:24:08] local.INFO: TCP Data received {"connection_id":119316,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119316,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:24:08] local.INFO: Processing buffer {"connection_id":119316,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:24:08] local.INFO: IMEI packet received {"connection_id":119316,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 00:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":119316,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:24:09] local.INFO: TCP Data received {"connection_id":119316,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f19ded208012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19ded208012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:24:09] local.INFO: Processing buffer {"connection_id":119316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19ded208012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:24:09] local.INFO: Packet analysis {"connection_id":119316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19de"} 
[2026-07-01 00:24:09] local.INFO: Extracted packet for processing {"connection_id":119316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19de"} 
[2026-07-01 00:24:09] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":47,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408359936001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094878735006271488,"note":"Value kept but may cause issues"} 
[2026-07-01 00:24:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782845461000,"timestamp_ms":1782845461000,"timestamp_seconds":1782845461,"priority":1,"record_length":96,"hex_timestamp":"0000019f19ded208"} 
[2026-07-01 00:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:24:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 00:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-01 00:24:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:24:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":119316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":119316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":119316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:24:09] 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-01 00:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408359936001,"66":12613,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9094878735006271488},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408359936001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:24:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:24:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094878735006271488,"description":"Unknown IO ID 45"} 
[2026-07-01 00:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408359936001,"power":12613,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094878735006271488}} 
[2026-07-01 00:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":119316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415424,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:24:09] local.INFO: GPS data processed {"connection_id":119316,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:24:09] local.INFO: Acknowledgment sent {"connection_id":119316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:24:13] local.INFO: TCP Data received {"connection_id":119316,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f19ded208012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19ded208012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:24:13] local.INFO: Processing buffer {"connection_id":119316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19ded208012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:24:13] local.INFO: Packet analysis {"connection_id":119316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19de"} 
[2026-07-01 00:24:13] local.INFO: Extracted packet for processing {"connection_id":119316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19de"} 
[2026-07-01 00:24:13] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":47,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 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-01 00:24:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408359936001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:24:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:24:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094878735006271488,"note":"Value kept but may cause issues"} 
[2026-07-01 00:24:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:24:13] local.INFO: AVL Record Parsed {"raw_timestamp":1782845461000,"timestamp_ms":1782845461000,"timestamp_seconds":1782845461,"priority":1,"record_length":96,"hex_timestamp":"0000019f19ded208"} 
[2026-07-01 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-01 00:24:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-01 00:24:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 00:24:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:24:13] local.INFO: Teltonika packet parsed successfully {"connection_id":119316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:24:13] local.INFO: Passing IMEI to GPS processor {"connection_id":119316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:24:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":119316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:24:13] 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-01 00:24:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:24:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:24:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408359936001,"66":12613,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9094878735006271488},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:24:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:24:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:24:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408359936001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:24:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:24:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:24:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:24:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094878735006271488,"description":"Unknown IO ID 45"} 
[2026-07-01 00:24:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408359936001,"power":12613,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094878735006271488}} 
[2026-07-01 00:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":119316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415425,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:24:13] local.INFO: GPS data processed {"connection_id":119316,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:24:13] local.INFO: Acknowledgment sent {"connection_id":119316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:24:22] local.INFO: TCP Data received {"connection_id":120432,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:24:22] local.INFO: Processing buffer {"connection_id":120432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:24:22] local.INFO: IMEI packet received {"connection_id":120432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 00:24:22] local.INFO: IMEI acknowledgment sent {"connection_id":120432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:24:23] local.INFO: TCP Data received {"connection_id":120432,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:24:23] local.INFO: Processing buffer {"connection_id":120432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:24:23] local.INFO: IMEI packet received {"connection_id":120432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":120432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:24:24] local.INFO: TCP Data received {"connection_id":120432,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:24:24] local.INFO: Processing buffer {"connection_id":120432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:24:24] local.INFO: IMEI packet received {"connection_id":120432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:24:24] local.INFO: IMEI acknowledgment sent {"connection_id":120432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:24:25] local.INFO: TCP Data received {"connection_id":120432,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:24:25] local.INFO: Processing buffer {"connection_id":120432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:24:25] local.INFO: IMEI packet received {"connection_id":120432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":120432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:24:48] local.INFO: TCP Data received {"connection_id":119317,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119317,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:24:48] local.INFO: Processing buffer {"connection_id":119317,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:24:48] local.INFO: IMEI packet received {"connection_id":119317,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 00:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":119317,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:24:53] local.INFO: TCP Data received {"connection_id":119317,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119317,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:24:53] local.INFO: Processing buffer {"connection_id":119317,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:24:53] local.INFO: IMEI packet received {"connection_id":119317,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 00:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":119317,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:24:54] local.INFO: TCP Data received {"connection_id":119317,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f19ded208012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19ded208012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:24:54] local.INFO: Processing buffer {"connection_id":119317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19ded208012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:24:54] local.INFO: Packet analysis {"connection_id":119317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19de"} 
[2026-07-01 00:24:54] local.INFO: Extracted packet for processing {"connection_id":119317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19de"} 
[2026-07-01 00:24:54] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":47,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00: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-01 00:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408359936001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:24:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094878735006271488,"note":"Value kept but may cause issues"} 
[2026-07-01 00:24:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782845461000,"timestamp_ms":1782845461000,"timestamp_seconds":1782845461,"priority":1,"record_length":96,"hex_timestamp":"0000019f19ded208"} 
[2026-07-01 00: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-01 00:24:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 00: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-01 00:24:54] 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-01 00: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-01 00: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-01 00:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":119317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":119317,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":119317,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:24:54] 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-01 00:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408359936001,"66":12613,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9094878735006271488},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408359936001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:24:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:24:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:24:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094878735006271488,"description":"Unknown IO ID 45"} 
[2026-07-01 00:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408359936001,"power":12613,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094878735006271488}} 
[2026-07-01 00:24:54] local.INFO: DEBUG: GPS processor result {"connection_id":119317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415426,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:24:54] local.INFO: GPS data processed {"connection_id":119317,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:24:54] local.INFO: Acknowledgment sent {"connection_id":119317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:25:25] local.INFO: TCP Data received {"connection_id":119317,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f19ded208012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19ded208012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:25:25] local.INFO: Processing buffer {"connection_id":119317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19ded208012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:25:25] local.INFO: Packet analysis {"connection_id":119317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19de"} 
[2026-07-01 00:25:25] local.INFO: Extracted packet for processing {"connection_id":119317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19de"} 
[2026-07-01 00:25:25] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":47,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:25:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408359936001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:25:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:25:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094878735006271488,"note":"Value kept but may cause issues"} 
[2026-07-01 00:25:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:25:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782845461000,"timestamp_ms":1782845461000,"timestamp_seconds":1782845461,"priority":1,"record_length":96,"hex_timestamp":"0000019f19ded208"} 
[2026-07-01 00:25:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:25:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 00:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-01 00:25:25] 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-01 00:25:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:25:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:25:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:25:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:25:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119317,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:25:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119317,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:25:25] 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-01 00:25:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:25:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:25:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408359936001,"66":12613,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9094878735006271488},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:25:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:25:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:25:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408359936001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:25:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:25:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:25:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:25:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094878735006271488,"description":"Unknown IO ID 45"} 
[2026-07-01 00:25:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408359936001,"power":12613,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094878735006271488}} 
[2026-07-01 00:25:25] local.INFO: DEBUG: GPS processor result {"connection_id":119317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415427,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:25:25] local.INFO: GPS data processed {"connection_id":119317,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:25:25] local.INFO: Acknowledgment sent {"connection_id":119317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:25:48] local.INFO: TCP Data received {"connection_id":118564,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118564,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:25:48] local.INFO: Processing buffer {"connection_id":118564,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:25:48] local.INFO: IMEI packet received {"connection_id":118564,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 00:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":118564,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:25:53] local.INFO: TCP Data received {"connection_id":118564,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118564,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:25:53] local.INFO: Processing buffer {"connection_id":118564,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:25:53] local.INFO: IMEI packet received {"connection_id":118564,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 00:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":118564,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:25:55] local.INFO: TCP Data received {"connection_id":118564,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f19ded208012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19ded208012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:25:55] local.INFO: Processing buffer {"connection_id":118564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19ded208012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:25:55] local.INFO: Packet analysis {"connection_id":118564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19de"} 
[2026-07-01 00:25:55] local.INFO: Extracted packet for processing {"connection_id":118564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19de"} 
[2026-07-01 00:25:55] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":47,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:25:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408359936001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:25:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:25:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094878735006271488,"note":"Value kept but may cause issues"} 
[2026-07-01 00:25:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:25:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782845461000,"timestamp_ms":1782845461000,"timestamp_seconds":1782845461,"priority":1,"record_length":96,"hex_timestamp":"0000019f19ded208"} 
[2026-07-01 00:25:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:25:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 00:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-01 00:25:55] 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-01 00:25:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:25:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:25:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:25:55] local.INFO: Teltonika packet parsed successfully {"connection_id":118564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:25:55] local.INFO: Passing IMEI to GPS processor {"connection_id":118564,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:25:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":118564,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:25:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:25:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:25:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:25:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408359936001,"66":12613,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9094878735006271488},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:25:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:25:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:25:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408359936001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:25:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:25:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:25:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:25:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094878735006271488,"description":"Unknown IO ID 45"} 
[2026-07-01 00:25:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408359936001,"power":12613,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094878735006271488}} 
[2026-07-01 00:25:55] local.INFO: DEBUG: GPS processor result {"connection_id":118564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415428,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:25:55] local.INFO: GPS data processed {"connection_id":118564,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:25:55] local.INFO: Acknowledgment sent {"connection_id":118564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:26:26] local.INFO: TCP Data received {"connection_id":118564,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f19e35260012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19e35260012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:26:26] local.INFO: Processing buffer {"connection_id":118564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19e35260012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:26:26] local.INFO: Packet analysis {"connection_id":118564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19e3"} 
[2026-07-01 00:26:26] local.INFO: Extracted packet for processing {"connection_id":118564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19e3"} 
[2026-07-01 00:26:26] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":46,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:26:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408438016001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:26:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:26:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215515136,"note":"Value kept but may cause issues"} 
[2026-07-01 00:26:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:26:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782845756000,"timestamp_ms":1782845756000,"timestamp_seconds":1782845756,"priority":1,"record_length":96,"hex_timestamp":"0000019f19e35260"} 
[2026-07-01 00:26:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:26:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 00:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-01 00:26:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-01 00:26:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:26:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:26:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:26:26] local.INFO: Teltonika packet parsed successfully {"connection_id":118564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:26:26] local.INFO: Passing IMEI to GPS processor {"connection_id":118564,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:26:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":118564,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:26:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:26:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:26:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:26:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408438016001,"66":12526,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9095371316215515136},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:26:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:26:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:26:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408438016001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:26:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:26:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:26:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:26:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215515136,"description":"Unknown IO ID 45"} 
[2026-07-01 00:26:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408438016001,"power":12526,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215515136}} 
[2026-07-01 00:26:26] local.INFO: DEBUG: GPS processor result {"connection_id":118564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415429,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:26:26] local.INFO: GPS data processed {"connection_id":118564,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:26:26] local.INFO: Acknowledgment sent {"connection_id":118564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:26:47] local.INFO: TCP Data received {"connection_id":120434,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 00:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120434,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 00:26:47] local.INFO: Processing buffer {"connection_id":120434,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 00:26:47] local.INFO: IMEI packet received {"connection_id":120434,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 00:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":120434,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:26:54] local.INFO: TCP Data received {"connection_id":119318,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119318,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:26:54] local.INFO: Processing buffer {"connection_id":119318,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:26:54] local.INFO: IMEI packet received {"connection_id":119318,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 00:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":119318,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:26:58] local.INFO: TCP Data received {"connection_id":119318,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119318,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:26:58] local.INFO: Processing buffer {"connection_id":119318,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:26:58] local.INFO: IMEI packet received {"connection_id":119318,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 00:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":119318,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:26:59] local.INFO: TCP Data received {"connection_id":119318,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f19e35260012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19e35260012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:26:59] local.INFO: Processing buffer {"connection_id":119318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19e35260012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:26:59] local.INFO: Packet analysis {"connection_id":119318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19e3"} 
[2026-07-01 00:26:59] local.INFO: Extracted packet for processing {"connection_id":119318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19e3"} 
[2026-07-01 00:26:59] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":46,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408513536001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215515136,"note":"Value kept but may cause issues"} 
[2026-07-01 00:26:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782845756000,"timestamp_ms":1782845756000,"timestamp_seconds":1782845756,"priority":1,"record_length":96,"hex_timestamp":"0000019f19e35260"} 
[2026-07-01 00:26:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:26:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 00:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-01 00:26:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:26:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:26:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119318,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119318,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:26:59] 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-01 00:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408513536001,"66":12526,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9095371316215515136},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408513536001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:26:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:26:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215515136,"description":"Unknown IO ID 45"} 
[2026-07-01 00:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408513536001,"power":12526,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215515136}} 
[2026-07-01 00:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":119318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415430,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:26:59] local.INFO: GPS data processed {"connection_id":119318,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:26:59] local.INFO: Acknowledgment sent {"connection_id":119318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:27:03] local.INFO: TCP Data received {"connection_id":119318,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f19e369d0012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19e369d0012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:27:03] local.INFO: Processing buffer {"connection_id":119318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19e369d0012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:27:03] local.INFO: Packet analysis {"connection_id":119318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19e3"} 
[2026-07-01 00:27:03] local.INFO: Extracted packet for processing {"connection_id":119318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19e3"} 
[2026-07-01 00:27:03] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":47,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408513536001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215515136,"note":"Value kept but may cause issues"} 
[2026-07-01 00:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782845762000,"timestamp_ms":1782845762000,"timestamp_seconds":1782845762,"priority":1,"record_length":96,"hex_timestamp":"0000019f19e369d0"} 
[2026-07-01 00:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:27:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 00:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-01 00:27:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:27:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":119318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":119318,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":119318,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00: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-01 00:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408513536001,"66":3090,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9095371316215515136},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408513536001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:27:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:27:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215515136,"description":"Unknown IO ID 45"} 
[2026-07-01 00:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408513536001,"power":3090,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215515136}} 
[2026-07-01 00:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":119318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415431,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:27:03] local.INFO: GPS data processed {"connection_id":119318,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:27:03] local.INFO: Acknowledgment sent {"connection_id":119318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:27:22] local.INFO: TCP Data received {"connection_id":120435,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 00:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120435,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 00:27:22] local.INFO: Processing buffer {"connection_id":120435,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 00:27:22] local.INFO: IMEI packet received {"connection_id":120435,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 00:27:22] local.INFO: IMEI acknowledgment sent {"connection_id":120435,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:27:48] local.INFO: TCP Data received {"connection_id":119319,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119319,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:27:48] local.INFO: Processing buffer {"connection_id":119319,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:27:48] local.INFO: IMEI packet received {"connection_id":119319,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 00:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":119319,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:27:53] local.INFO: TCP Data received {"connection_id":119319,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119319,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:27:53] local.INFO: Processing buffer {"connection_id":119319,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:27:53] local.INFO: IMEI packet received {"connection_id":119319,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 00:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":119319,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:27:54] local.INFO: TCP Data received {"connection_id":119319,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f19e369d0012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19e369d0012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:27:54] local.INFO: Processing buffer {"connection_id":119319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19e369d0012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:27:54] local.INFO: Packet analysis {"connection_id":119319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19e3"} 
[2026-07-01 00:27:54] local.INFO: Extracted packet for processing {"connection_id":119319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19e3"} 
[2026-07-01 00:27:54] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":47,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408513536001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:27:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215515136,"note":"Value kept but may cause issues"} 
[2026-07-01 00:27:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782845762000,"timestamp_ms":1782845762000,"timestamp_seconds":1782845762,"priority":1,"record_length":96,"hex_timestamp":"0000019f19e369d0"} 
[2026-07-01 00:27:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:27:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 00:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-01 00:27:54] 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-01 00:27:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:27:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":119319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":119319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":119319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:27: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-01 00:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408513536001,"66":3090,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9095371316215515136},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408513536001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:27:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:27:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:27:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215515136,"description":"Unknown IO ID 45"} 
[2026-07-01 00:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408513536001,"power":3090,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215515136}} 
[2026-07-01 00:27:54] local.INFO: DEBUG: GPS processor result {"connection_id":119319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415432,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:27:54] local.INFO: GPS data processed {"connection_id":119319,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:27:54] local.INFO: Acknowledgment sent {"connection_id":119319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:28:25] local.INFO: TCP Data received {"connection_id":119319,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f19e369d0012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19e369d0012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:28:25] local.INFO: Processing buffer {"connection_id":119319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19e369d0012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:28:25] local.INFO: Packet analysis {"connection_id":119319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19e3"} 
[2026-07-01 00:28:25] local.INFO: Extracted packet for processing {"connection_id":119319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19e3"} 
[2026-07-01 00:28:25] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":47,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00:28:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:28:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408513536001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:28:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:28:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215515136,"note":"Value kept but may cause issues"} 
[2026-07-01 00:28:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:28:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782845762000,"timestamp_ms":1782845762000,"timestamp_seconds":1782845762,"priority":1,"record_length":96,"hex_timestamp":"0000019f19e369d0"} 
[2026-07-01 00:28:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:28:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 00:28:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-01 00:28:25] 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-01 00:28:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:28:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:28:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:28:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:28:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:28:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119319,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:28: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-01 00:28:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:28:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:28:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408513536001,"66":3090,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9095371316215515136},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:28:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:28:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:28:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408513536001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:28:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:28:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:28:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:28:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215515136,"description":"Unknown IO ID 45"} 
[2026-07-01 00:28:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408513536001,"power":3090,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215515136}} 
[2026-07-01 00:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":119319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415433,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:28:25] local.INFO: GPS data processed {"connection_id":119319,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:28:25] local.INFO: Acknowledgment sent {"connection_id":119319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:28:48] local.INFO: TCP Data received {"connection_id":120437,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120437,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:28:48] local.INFO: Processing buffer {"connection_id":120437,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:28:48] local.INFO: IMEI packet received {"connection_id":120437,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 00:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":120437,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:28:53] local.INFO: TCP Data received {"connection_id":120437,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120437,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:28:53] local.INFO: Processing buffer {"connection_id":120437,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:28:53] local.INFO: IMEI packet received {"connection_id":120437,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 00:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":120437,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:28:58] local.INFO: TCP Data received {"connection_id":120437,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f19e369d0012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19e369d0012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:28:58] local.INFO: Processing buffer {"connection_id":120437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19e369d0012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:28:58] local.INFO: Packet analysis {"connection_id":120437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19e3"} 
[2026-07-01 00:28:58] local.INFO: Extracted packet for processing {"connection_id":120437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19e3"} 
[2026-07-01 00:28:58] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":47,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00: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-01 00:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408513536001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215515136,"note":"Value kept but may cause issues"} 
[2026-07-01 00:28:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782845762000,"timestamp_ms":1782845762000,"timestamp_seconds":1782845762,"priority":1,"record_length":96,"hex_timestamp":"0000019f19e369d0"} 
[2026-07-01 00: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-01 00:28:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 00: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-01 00:28: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-01 00: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-01 00: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-01 00:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120437,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120437,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:28:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408513536001,"66":3090,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9095371316215515136},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408513536001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:28:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:28:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215515136,"description":"Unknown IO ID 45"} 
[2026-07-01 00:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408513536001,"power":3090,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215515136}} 
[2026-07-01 00:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":120437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415434,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:28:58] local.INFO: GPS data processed {"connection_id":120437,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:28:58] local.INFO: Acknowledgment sent {"connection_id":120437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:29:27] local.INFO: TCP Data received {"connection_id":119321,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:29:27] local.INFO: Processing buffer {"connection_id":119321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:29:27] local.INFO: IMEI packet received {"connection_id":119321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 00:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":119321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:29:28] local.INFO: TCP Data received {"connection_id":119321,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f19e5abf0012d6d3c00060e1fc80004001e30..."} 
[2026-07-01 00:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19e5abf0012d6d3c00060e1fc80004001e30..."} 
[2026-07-01 00:29:28] local.INFO: Processing buffer {"connection_id":119321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19e5abf0012d6d3c00060e1fc80004001e30..."} 
[2026-07-01 00:29:28] local.INFO: Packet analysis {"connection_id":119321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19e5"} 
[2026-07-01 00:29:28] local.INFO: Extracted packet for processing {"connection_id":119321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19e5"} 
[2026-07-01 00:29:28] local.INFO: GPS Element Parsed {"raw_longitude":762133504,"raw_latitude":101588936,"longitude_deg":76.2133504,"latitude_deg":10.1588936,"altitude":4,"angle":30,"satellites":48,"speed":27,"hex_longitude":"2d6d3c00","hex_latitude":"060e1fc8","is_valid_coordinates":true} 
[2026-07-01 00:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:29:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408552448001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:29:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7870462587301470208,"note":"Value kept but may cause issues"} 
[2026-07-01 00:29:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332208955772108800,"note":"Value kept but may cause issues"} 
[2026-07-01 00:29:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,79,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-01 00:29:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782845910000,"timestamp_ms":1782845910000,"timestamp_seconds":1782845910,"priority":1,"record_length":96,"hex_timestamp":"0000019f19e5abf0"} 
[2026-07-01 00:29:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:29:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 00:29:28] 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-01 00:29:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:29:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:29:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:29:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:29:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:29:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:29:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:29:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:29:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:29:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408552448001,"66":27376,"45":7870462587301470208,"79":46336,"24":27,"16":332208955772108800},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,79,24,16]} 
[2026-07-01 00:29:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:29:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:29:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408552448001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:29:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":7870462587301470208,"description":"Unknown IO ID 45"} 
[2026-07-01 00:29:28] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-01 00:29:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332208955772108800,"km_value":332208955772108.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:29:28] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456408552448001,"power":27376,"unknown_45":7870462587301470208,"unknown_79":46336,"ignition":27,"odometer":null}} 
[2026-07-01 00:29:28] local.INFO: DEBUG: GPS processor result {"connection_id":119321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:29:28] local.INFO: GPS data processed {"connection_id":119321,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:29:28] local.INFO: Acknowledgment sent {"connection_id":119321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:29:30] local.INFO: TCP Data received {"connection_id":120437,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f19e369d0012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19e369d0012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:29:30] local.INFO: Processing buffer {"connection_id":120437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19e369d0012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:29:30] local.INFO: Packet analysis {"connection_id":120437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19e3"} 
[2026-07-01 00:29:30] local.INFO: Extracted packet for processing {"connection_id":120437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19e3"} 
[2026-07-01 00:29:30] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":47,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408513536001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215515136,"note":"Value kept but may cause issues"} 
[2026-07-01 00:29:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782845762000,"timestamp_ms":1782845762000,"timestamp_seconds":1782845762,"priority":1,"record_length":96,"hex_timestamp":"0000019f19e369d0"} 
[2026-07-01 00:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:29:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 00:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-01 00:29: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-01 00:29:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":120437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":120437,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":120437,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:29:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408513536001,"66":3090,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9095371316215515136},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408513536001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:29:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:29:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215515136,"description":"Unknown IO ID 45"} 
[2026-07-01 00:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408513536001,"power":3090,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215515136}} 
[2026-07-01 00:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":120437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415436,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:29:30] local.INFO: GPS data processed {"connection_id":120437,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:29:30] local.INFO: Acknowledgment sent {"connection_id":120437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:29:48] local.INFO: TCP Data received {"connection_id":118566,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118566,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:29:48] local.INFO: Processing buffer {"connection_id":118566,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:29:48] local.INFO: IMEI packet received {"connection_id":118566,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 00:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":118566,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:29:53] local.INFO: TCP Data received {"connection_id":118566,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118566,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:29:53] local.INFO: Processing buffer {"connection_id":118566,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:29:53] local.INFO: IMEI packet received {"connection_id":118566,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 00:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":118566,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:29:54] local.INFO: TCP Data received {"connection_id":118566,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f19e369d0012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19e369d0012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:29:54] local.INFO: Processing buffer {"connection_id":118566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19e369d0012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:29:54] local.INFO: Packet analysis {"connection_id":118566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19e3"} 
[2026-07-01 00:29:54] local.INFO: Extracted packet for processing {"connection_id":118566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19e3"} 
[2026-07-01 00:29:54] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":47,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408513536001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:29:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215515136,"note":"Value kept but may cause issues"} 
[2026-07-01 00:29:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782845762000,"timestamp_ms":1782845762000,"timestamp_seconds":1782845762,"priority":1,"record_length":96,"hex_timestamp":"0000019f19e369d0"} 
[2026-07-01 00:29:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:29:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 00:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-01 00:29:54] 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-01 00:29:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:29:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":118566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":118566,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":118566,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:29:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408513536001,"66":3090,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9095371316215515136},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408513536001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:29:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:29:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:29:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215515136,"description":"Unknown IO ID 45"} 
[2026-07-01 00:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408513536001,"power":3090,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215515136}} 
[2026-07-01 00:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":118566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415437,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:29:54] local.INFO: GPS data processed {"connection_id":118566,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:29:54] local.INFO: Acknowledgment sent {"connection_id":118566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:29:59] local.INFO: TCP Data received {"connection_id":119321,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f19e5bf78012d6d4280060e2958000300122e..."} 
[2026-07-01 00:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19e5bf78012d6d4280060e2958000300122e..."} 
[2026-07-01 00:29:59] local.INFO: Processing buffer {"connection_id":119321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19e5bf78012d6d4280060e2958000300122e..."} 
[2026-07-01 00:29:59] local.INFO: Packet analysis {"connection_id":119321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19e5"} 
[2026-07-01 00:29:59] local.INFO: Extracted packet for processing {"connection_id":119321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19e5"} 
[2026-07-01 00:29:59] local.INFO: GPS Element Parsed {"raw_longitude":762135168,"raw_latitude":101591384,"longitude_deg":76.2135168,"latitude_deg":10.1591384,"altitude":3,"angle":18,"satellites":46,"speed":20,"hex_longitude":"2d6d4280","hex_latitude":"060e2958","is_valid_coordinates":true} 
[2026-07-01 00:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408552960001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7871166274743552000,"note":"Value kept but may cause issues"} 
[2026-07-01 00:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332209097506029568,"note":"Value kept but may cause issues"} 
[2026-07-01 00:29:59] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,79,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-01 00:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782845915000,"timestamp_ms":1782845915000,"timestamp_seconds":1782845915,"priority":1,"record_length":96,"hex_timestamp":"0000019f19e5bf78"} 
[2026-07-01 00:29:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:29:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-01 00:29:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:29:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:29:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:29:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408552960001,"66":27571,"45":7871166274743552000,"79":46336,"24":20,"16":332209097506029568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,79,24,16]} 
[2026-07-01 00:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408552960001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":7871166274743552000,"description":"Unknown IO ID 45"} 
[2026-07-01 00:29:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-01 00:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332209097506029568,"km_value":332209097506029.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:29:59] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456408552960001,"power":27571,"unknown_45":7871166274743552000,"unknown_79":46336,"ignition":20,"odometer":null}} 
[2026-07-01 00:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":119321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:29:59] local.INFO: GPS data processed {"connection_id":119321,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:29:59] local.INFO: Acknowledgment sent {"connection_id":119321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:30:22] local.INFO: TCP Data received {"connection_id":118679,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:30:22] local.INFO: Processing buffer {"connection_id":118679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:30:22] local.INFO: IMEI packet received {"connection_id":118679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 00:30:22] local.INFO: IMEI acknowledgment sent {"connection_id":118679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:30:25] local.INFO: TCP Data received {"connection_id":118566,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f19e369d0012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19e369d0012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:30:25] local.INFO: Processing buffer {"connection_id":118566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19e369d0012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:30:25] local.INFO: Packet analysis {"connection_id":118566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19e3"} 
[2026-07-01 00:30:25] local.INFO: Extracted packet for processing {"connection_id":118566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19e3"} 
[2026-07-01 00:30:25] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":47,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00: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-01 00:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408513536001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:30:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215515136,"note":"Value kept but may cause issues"} 
[2026-07-01 00:30:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782845762000,"timestamp_ms":1782845762000,"timestamp_seconds":1782845762,"priority":1,"record_length":96,"hex_timestamp":"0000019f19e369d0"} 
[2026-07-01 00: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-01 00:30:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 00: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-01 00:30:25] 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-01 00: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-01 00: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-01 00:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":118566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":118566,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":118566,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:30:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408513536001,"66":3090,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9095371316215515136},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408513536001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:30:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:30:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:30:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215515136,"description":"Unknown IO ID 45"} 
[2026-07-01 00:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408513536001,"power":3090,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215515136}} 
[2026-07-01 00:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":118566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415439,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:30:25] local.INFO: GPS data processed {"connection_id":118566,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:30:25] local.INFO: Acknowledgment sent {"connection_id":118566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:30:27] local.INFO: TCP Data received {"connection_id":118679,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:30:27] local.INFO: Processing buffer {"connection_id":118679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:30:27] local.INFO: IMEI packet received {"connection_id":118679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":118679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:30:28] local.INFO: TCP Data received {"connection_id":118679,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f19e5ee58012d6d4840060e3dd00002000731..."} 
[2026-07-01 00:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19e5ee58012d6d4840060e3dd00002000731..."} 
[2026-07-01 00:30:28] local.INFO: Processing buffer {"connection_id":118679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19e5ee58012d6d4840060e3dd00002000731..."} 
[2026-07-01 00:30:28] local.INFO: Packet analysis {"connection_id":118679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19e5"} 
[2026-07-01 00:30:28] local.INFO: Extracted packet for processing {"connection_id":118679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19e5"} 
[2026-07-01 00:30:28] local.INFO: GPS Element Parsed {"raw_longitude":762136640,"raw_latitude":101596624,"longitude_deg":76.213664,"latitude_deg":10.1596624,"altitude":2,"angle":7,"satellites":49,"speed":9,"hex_longitude":"2d6d4840","hex_latitude":"060e3dd0","is_valid_coordinates":true} 
[2026-07-01 00:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408554240001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:30:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7872995862092797952,"note":"Value kept but may cause issues"} 
[2026-07-01 00:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332209363794001920,"note":"Value kept but may cause issues"} 
[2026-07-01 00:30:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,79,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-01 00:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782845927000,"timestamp_ms":1782845927000,"timestamp_seconds":1782845927,"priority":1,"record_length":96,"hex_timestamp":"0000019f19e5ee58"} 
[2026-07-01 00:30:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:30:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-01 00:30:28] 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-01 00:30:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:30:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:30:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408554240001,"66":27571,"45":7872995862092797952,"79":46336,"24":9,"16":332209363794001920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,79,24,16]} 
[2026-07-01 00:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408554240001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:30:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":7872995862092797952,"description":"Unknown IO ID 45"} 
[2026-07-01 00:30:28] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-01 00:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332209363794001920,"km_value":332209363794001.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:30:28] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456408554240001,"power":27571,"unknown_45":7872995862092797952,"unknown_79":46336,"ignition":9,"odometer":null}} 
[2026-07-01 00:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":118679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:30:28] local.INFO: GPS data processed {"connection_id":118679,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:30:28] local.INFO: Acknowledgment sent {"connection_id":118679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:30:53] local.INFO: TCP Data received {"connection_id":120438,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120438,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:30:53] local.INFO: Processing buffer {"connection_id":120438,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:30:53] local.INFO: IMEI packet received {"connection_id":120438,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 00:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":120438,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:30:58] local.INFO: TCP Data received {"connection_id":120438,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120438,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:30:58] local.INFO: Processing buffer {"connection_id":120438,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:30:58] local.INFO: IMEI packet received {"connection_id":120438,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 00:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":120438,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:30:59] local.INFO: TCP Data received {"connection_id":118679,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f19e5f628012d6d4880060e3f700001001531..."} 
[2026-07-01 00:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19e5f628012d6d4880060e3f700001001531..."} 
[2026-07-01 00:30:59] local.INFO: Processing buffer {"connection_id":118679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19e5f628012d6d4880060e3f700001001531..."} 
[2026-07-01 00:30:59] local.INFO: Packet analysis {"connection_id":118679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19e5"} 
[2026-07-01 00:30:59] local.INFO: Extracted packet for processing {"connection_id":118679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19e5"} 
[2026-07-01 00:30:59] local.INFO: GPS Element Parsed {"raw_longitude":762136704,"raw_latitude":101597040,"longitude_deg":76.2136704,"latitude_deg":10.159704,"altitude":1,"angle":21,"satellites":49,"speed":8,"hex_longitude":"2d6d4880","hex_latitude":"060e3f70","is_valid_coordinates":true} 
[2026-07-01 00:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408557312001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7874614343210225664,"note":"Value kept but may cause issues"} 
[2026-07-01 00:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332209385268838400,"note":"Value kept but may cause issues"} 
[2026-07-01 00:30:59] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,79,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-01 00:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782845929000,"timestamp_ms":1782845929000,"timestamp_seconds":1782845929,"priority":1,"record_length":96,"hex_timestamp":"0000019f19e5f628"} 
[2026-07-01 00:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:30: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-01 00:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-01 00:30:59] 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-01 00:30:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:30:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408557312001,"66":27484,"45":7874614343210225664,"79":46336,"24":8,"16":332209385268838400},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,79,24,16]} 
[2026-07-01 00:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408557312001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":7874614343210225664,"description":"Unknown IO ID 45"} 
[2026-07-01 00:30:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-01 00:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332209385268838400,"km_value":332209385268838.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:30:59] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456408557312001,"power":27484,"unknown_45":7874614343210225664,"unknown_79":46336,"ignition":8,"odometer":null}} 
[2026-07-01 00:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":118679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:30:59] local.INFO: GPS data processed {"connection_id":118679,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:30:59] local.INFO: Acknowledgment sent {"connection_id":118679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:31:08] local.INFO: TCP Data received {"connection_id":120438,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f19e80198012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19e80198012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:31:08] local.INFO: Processing buffer {"connection_id":120438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19e80198012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:31:08] local.INFO: Packet analysis {"connection_id":120438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19e8"} 
[2026-07-01 00:31:08] local.INFO: Extracted packet for processing {"connection_id":120438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19e8"} 
[2026-07-01 00:31:08] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":46,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408515072001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215515136,"note":"Value kept but may cause issues"} 
[2026-07-01 00:31:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782846063000,"timestamp_ms":1782846063000,"timestamp_seconds":1782846063,"priority":1,"record_length":96,"hex_timestamp":"0000019f19e80198"} 
[2026-07-01 00:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 00:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":12,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-01 00:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":144380170388497152,"note":"Value kept but may cause issues"} 
[2026-07-01 00:31:08] local.WARNING: Large IO value detected {"io_id":81,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-07-01 00:31:08] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8605728768,"note":"Value kept but may cause issues"} 
[2026-07-01 00:31:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652628889815808,"note":"Value kept but may cause issues"} 
[2026-07-01 00:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:31:08] local.WARNING: Large IO value detected {"io_id":15,"raw_value":-5404319552844595199,"note":"Value kept but may cause issues"} 
[2026-07-01 00:31:08] local.WARNING: Large IO value detected {"io_id":159,"raw_value":1862848262574014007,"note":"Value kept but may cause issues"} 
[2026-07-01 00:31:08] local.WARNING: Large IO value detected {"io_id":77,"raw_value":-8646905786218905600,"note":"Value kept but may cause issues"} 
[2026-07-01 00:31:08] local.WARNING: Large IO value detected {"io_id":128,"raw_value":419764436786806830,"note":"Value kept but may cause issues"} 
[2026-07-01 00:31:08] local.WARNING: Large IO value detected {"io_id":39,"raw_value":1030792806404,"note":"Value kept but may cause issues"} 
[2026-07-01 00:31:08] local.WARNING: Large IO value detected {"io_id":42,"raw_value":-6917197532544105005,"note":"Value kept but may cause issues"} 
[2026-07-01 00:31:08] local.INFO: IO Element Parsed {"io_data_count":24,"io_data_keys":[0,81,85,24,241,157,16,15,159,82,45,64,77,5,46,10,66,210,240,69,227,128,39,42],"length":426,"final_offset":556,"validated_count":24,"validation_warnings":[]} 
[2026-07-01 00:31:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360338749587980288,"timestamp_seconds":360338749587980.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 00:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":120438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":120438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":120438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408515072001,"66":2209,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9095371316215515136},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408515072001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:31:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:31:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215515136,"description":"Unknown IO ID 45"} 
[2026-07-01 00:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408515072001,"power":2209,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215515136}} 
[2026-07-01 00:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":120438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415442,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:31:08] local.INFO: GPS data processed {"connection_id":120438,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:31:08] local.INFO: Acknowledgment sent {"connection_id":120438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:31:22] local.INFO: TCP Data received {"connection_id":119324,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:31:22] local.INFO: Processing buffer {"connection_id":119324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:31:22] local.INFO: IMEI packet received {"connection_id":119324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 00:31:22] local.INFO: IMEI acknowledgment sent {"connection_id":119324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:31:27] local.INFO: TCP Data received {"connection_id":119324,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:31:27] local.INFO: Processing buffer {"connection_id":119324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:31:27] local.INFO: IMEI packet received {"connection_id":119324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:31:27] local.INFO: IMEI acknowledgment sent {"connection_id":119324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:31:28] local.INFO: TCP Data received {"connection_id":119324,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f19e62508012d6d4bc0060e4ad00002000a30..."} 
[2026-07-01 00:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19e62508012d6d4bc0060e4ad00002000a30..."} 
[2026-07-01 00:31:28] local.INFO: Processing buffer {"connection_id":119324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19e62508012d6d4bc0060e4ad00002000a30..."} 
[2026-07-01 00:31:28] local.INFO: Packet analysis {"connection_id":119324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19e6"} 
[2026-07-01 00:31:28] local.INFO: Extracted packet for processing {"connection_id":119324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19e6"} 
[2026-07-01 00:31:28] local.INFO: GPS Element Parsed {"raw_longitude":762137536,"raw_latitude":101599952,"longitude_deg":76.2137536,"latitude_deg":10.1599952,"altitude":2,"angle":10,"satellites":48,"speed":9,"hex_longitude":"2d6d4bc0","hex_latitude":"060e4ad0","is_valid_coordinates":true} 
[2026-07-01 00:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:31:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408557824001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:31:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7874684711954509824,"note":"Value kept but may cause issues"} 
[2026-07-01 00:31:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332209531297726464,"note":"Value kept but may cause issues"} 
[2026-07-01 00:31:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,79,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-01 00:31:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782845941000,"timestamp_ms":1782845941000,"timestamp_seconds":1782845941,"priority":1,"record_length":96,"hex_timestamp":"0000019f19e62508"} 
[2026-07-01 00:31:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:31: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-01 00:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 00:31:28] 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-01 00:31:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:31:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:31:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:31:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:31:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:31:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:31:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:31:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:31:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:31:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408557824001,"66":27550,"45":7874684711954509824,"79":46336,"24":9,"16":332209531297726464},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,79,24,16]} 
[2026-07-01 00:31:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:31:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:31:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408557824001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:31:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":7874684711954509824,"description":"Unknown IO ID 45"} 
[2026-07-01 00:31:28] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-01 00:31:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332209531297726464,"km_value":332209531297726.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:31:28] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456408557824001,"power":27550,"unknown_45":7874684711954509824,"unknown_79":46336,"ignition":9,"odometer":null}} 
[2026-07-01 00:31:28] local.INFO: DEBUG: GPS processor result {"connection_id":119324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:31:28] local.INFO: GPS data processed {"connection_id":119324,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:31:28] local.INFO: Acknowledgment sent {"connection_id":119324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:31:48] local.INFO: TCP Data received {"connection_id":119325,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119325,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:31:48] local.INFO: Processing buffer {"connection_id":119325,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:31:48] local.INFO: IMEI packet received {"connection_id":119325,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 00:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":119325,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:31:53] local.INFO: TCP Data received {"connection_id":119325,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119325,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:31:53] local.INFO: Processing buffer {"connection_id":119325,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:31:53] local.INFO: IMEI packet received {"connection_id":119325,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 00:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":119325,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:31:54] local.INFO: TCP Data received {"connection_id":119325,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f19e80198012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19e80198012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:31:54] local.INFO: Processing buffer {"connection_id":119325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19e80198012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:31:54] local.INFO: Packet analysis {"connection_id":119325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19e8"} 
[2026-07-01 00:31:54] local.INFO: Extracted packet for processing {"connection_id":119325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19e8"} 
[2026-07-01 00:31:54] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":46,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:31:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408515072001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:31:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:31:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215515136,"note":"Value kept but may cause issues"} 
[2026-07-01 00:31:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:31:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782846063000,"timestamp_ms":1782846063000,"timestamp_seconds":1782846063,"priority":1,"record_length":96,"hex_timestamp":"0000019f19e80198"} 
[2026-07-01 00:31:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:31:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 00:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":12,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-01 00:31:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":144380170388497152,"note":"Value kept but may cause issues"} 
[2026-07-01 00:31:54] local.WARNING: Large IO value detected {"io_id":81,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-07-01 00:31:54] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8605728768,"note":"Value kept but may cause issues"} 
[2026-07-01 00:31:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652628889815808,"note":"Value kept but may cause issues"} 
[2026-07-01 00:31:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:31:54] local.WARNING: Large IO value detected {"io_id":15,"raw_value":-5404319552844595199,"note":"Value kept but may cause issues"} 
[2026-07-01 00:31:54] local.WARNING: Large IO value detected {"io_id":159,"raw_value":1862848262574014007,"note":"Value kept but may cause issues"} 
[2026-07-01 00:31:54] local.WARNING: Large IO value detected {"io_id":77,"raw_value":-8646905786218905600,"note":"Value kept but may cause issues"} 
[2026-07-01 00:31:54] local.WARNING: Large IO value detected {"io_id":128,"raw_value":419764436786806830,"note":"Value kept but may cause issues"} 
[2026-07-01 00:31:54] local.WARNING: Large IO value detected {"io_id":39,"raw_value":1030792806404,"note":"Value kept but may cause issues"} 
[2026-07-01 00:31:54] local.WARNING: Large IO value detected {"io_id":42,"raw_value":-6917197532544105005,"note":"Value kept but may cause issues"} 
[2026-07-01 00:31:54] local.INFO: IO Element Parsed {"io_data_count":24,"io_data_keys":[0,81,85,24,241,157,16,15,159,82,45,64,77,5,46,10,66,210,240,69,227,128,39,42],"length":426,"final_offset":556,"validated_count":24,"validation_warnings":[]} 
[2026-07-01 00:31:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360338749587980288,"timestamp_seconds":360338749587980.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 00:31:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:31:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:31:54] local.INFO: Teltonika packet parsed successfully {"connection_id":119325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:31:54] local.INFO: Passing IMEI to GPS processor {"connection_id":119325,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:31:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":119325,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:31: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-01 00:31:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:31:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:31:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408515072001,"66":2209,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9095371316215515136},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:31:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:31:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:31:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408515072001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:31:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:31:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:31:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:31:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215515136,"description":"Unknown IO ID 45"} 
[2026-07-01 00:31:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408515072001,"power":2209,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215515136}} 
[2026-07-01 00:31:54] local.INFO: DEBUG: GPS processor result {"connection_id":119325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415444,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:31:54] local.INFO: GPS data processed {"connection_id":119325,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:31:54] local.INFO: Acknowledgment sent {"connection_id":119325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:32:01] local.INFO: TCP Data received {"connection_id":119324,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f19e80198012d6d33c0060f58980002015f2c..."} 
[2026-07-01 00:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19e80198012d6d33c0060f58980002015f2c..."} 
[2026-07-01 00:32:01] local.INFO: Processing buffer {"connection_id":119324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19e80198012d6d33c0060f58980002015f2c..."} 
[2026-07-01 00:32:01] local.INFO: Packet analysis {"connection_id":119324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19e8"} 
[2026-07-01 00:32:01] local.INFO: Extracted packet for processing {"connection_id":119324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19e8"} 
[2026-07-01 00:32:01] local.INFO: GPS Element Parsed {"raw_longitude":762131392,"raw_latitude":101669016,"longitude_deg":76.2131392,"latitude_deg":10.1669016,"altitude":2,"angle":351,"satellites":44,"speed":13,"hex_longitude":"2d6d33c0","hex_latitude":"060f5898","is_valid_coordinates":true} 
[2026-07-01 00:32:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:32:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408589568001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:32:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332213027401105408,"note":"Value kept but may cause issues"} 
[2026-07-01 00:32:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7869688531135436800,"note":"Value kept but may cause issues"} 
[2026-07-01 00:32:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:32:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782846063000,"timestamp_ms":1782846063000,"timestamp_seconds":1782846063,"priority":1,"record_length":96,"hex_timestamp":"0000019f19e80198"} 
[2026-07-01 00:32:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:32:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:32:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-01 00:32:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:32:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:32:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":119324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":119324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":119324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:32:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:32:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408589568001,"66":27484,"205":206,"79":46336,"24":13,"16":332213027401105408,"45":7869688531135436800},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,79,24,16,45]} 
[2026-07-01 00:32:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:32:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:32:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408589568001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:32:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-01 00:32:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332213027401105408,"km_value":332213027401105.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:32:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7869688531135436800,"description":"Unknown IO ID 45"} 
[2026-07-01 00:32:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408589568001,"power":27484,"cell_id":206,"unknown_79":46336,"ignition":13,"odometer":null,"unknown_45":7869688531135436800}} 
[2026-07-01 00:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":119324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:32:01] local.INFO: GPS data processed {"connection_id":119324,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:32:01] local.INFO: Acknowledgment sent {"connection_id":119324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:32:22] local.INFO: TCP Data received {"connection_id":118680,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:32:22] local.INFO: Processing buffer {"connection_id":118680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:32:22] local.INFO: IMEI packet received {"connection_id":118680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 00:32:22] local.INFO: IMEI acknowledgment sent {"connection_id":118680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:32:25] local.INFO: TCP Data received {"connection_id":119325,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f19e80198012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19e80198012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:32:25] local.INFO: Processing buffer {"connection_id":119325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19e80198012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:32:25] local.INFO: Packet analysis {"connection_id":119325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19e8"} 
[2026-07-01 00:32:25] local.INFO: Extracted packet for processing {"connection_id":119325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19e8"} 
[2026-07-01 00:32:25] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":46,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00:32:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:32:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408515072001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:32:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:32:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215515136,"note":"Value kept but may cause issues"} 
[2026-07-01 00:32:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:32:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782846063000,"timestamp_ms":1782846063000,"timestamp_seconds":1782846063,"priority":1,"record_length":96,"hex_timestamp":"0000019f19e80198"} 
[2026-07-01 00:32:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:32:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 00:32:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":12,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-01 00:32:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":144380170388497152,"note":"Value kept but may cause issues"} 
[2026-07-01 00:32:25] local.WARNING: Large IO value detected {"io_id":81,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-07-01 00:32:25] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8605728768,"note":"Value kept but may cause issues"} 
[2026-07-01 00:32:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652628889815808,"note":"Value kept but may cause issues"} 
[2026-07-01 00:32:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:32:25] local.WARNING: Large IO value detected {"io_id":15,"raw_value":-5404319552844595199,"note":"Value kept but may cause issues"} 
[2026-07-01 00:32:25] local.WARNING: Large IO value detected {"io_id":159,"raw_value":1862848262574014007,"note":"Value kept but may cause issues"} 
[2026-07-01 00:32:25] local.WARNING: Large IO value detected {"io_id":77,"raw_value":-8646905786218905600,"note":"Value kept but may cause issues"} 
[2026-07-01 00:32:25] local.WARNING: Large IO value detected {"io_id":128,"raw_value":419764436786806830,"note":"Value kept but may cause issues"} 
[2026-07-01 00:32:25] local.WARNING: Large IO value detected {"io_id":39,"raw_value":1030792806404,"note":"Value kept but may cause issues"} 
[2026-07-01 00:32:25] local.WARNING: Large IO value detected {"io_id":42,"raw_value":-6917197532544105005,"note":"Value kept but may cause issues"} 
[2026-07-01 00:32:25] local.INFO: IO Element Parsed {"io_data_count":24,"io_data_keys":[0,81,85,24,241,157,16,15,159,82,45,64,77,5,46,10,66,210,240,69,227,128,39,42],"length":426,"final_offset":556,"validated_count":24,"validation_warnings":[]} 
[2026-07-01 00:32:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360338749587980288,"timestamp_seconds":360338749587980.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 00:32:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:32:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:32:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:32:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119325,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:32:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119325,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:32:25] 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-01 00:32:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:32:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:32:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408515072001,"66":2209,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9095371316215515136},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:32:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:32:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:32:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408515072001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:32:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:32:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:32:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:32:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215515136,"description":"Unknown IO ID 45"} 
[2026-07-01 00:32:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408515072001,"power":2209,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215515136}} 
[2026-07-01 00:32:25] local.INFO: DEBUG: GPS processor result {"connection_id":119325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415446,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:32:25] local.INFO: GPS data processed {"connection_id":119325,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:32:25] local.INFO: Acknowledgment sent {"connection_id":119325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:32:27] local.INFO: TCP Data received {"connection_id":118680,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:32:27] local.INFO: Processing buffer {"connection_id":118680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:32:27] local.INFO: IMEI packet received {"connection_id":118680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":118680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:32:28] local.INFO: TCP Data received {"connection_id":118680,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f19e84018012d6d2d40060f7c48000201582b..."} 
[2026-07-01 00:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19e84018012d6d2d40060f7c48000201582b..."} 
[2026-07-01 00:32:28] local.INFO: Processing buffer {"connection_id":118680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19e84018012d6d2d40060f7c48000201582b..."} 
[2026-07-01 00:32:28] local.INFO: Packet analysis {"connection_id":118680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19e8"} 
[2026-07-01 00:32:28] local.INFO: Extracted packet for processing {"connection_id":118680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19e8"} 
[2026-07-01 00:32:28] local.INFO: GPS Element Parsed {"raw_longitude":762129728,"raw_latitude":101678152,"longitude_deg":76.2129728,"latitude_deg":10.1678152,"altitude":2,"angle":344,"satellites":43,"speed":28,"hex_longitude":"2d6d2d40","hex_latitude":"060f7c48","is_valid_coordinates":true} 
[2026-07-01 00:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:32:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408592128001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:32:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332213474077704192,"note":"Value kept but may cause issues"} 
[2026-07-01 00:32:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7868844106206189568,"note":"Value kept but may cause issues"} 
[2026-07-01 00:32:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:32:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782846079000,"timestamp_ms":1782846079000,"timestamp_seconds":1782846079,"priority":1,"record_length":96,"hex_timestamp":"0000019f19e84018"} 
[2026-07-01 00:32:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:32:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 00:32:28] 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-01 00:32:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:32:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:32:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:32:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:32:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:32:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:32:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:32:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:32:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:32:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408592128001,"66":27267,"205":206,"79":46336,"24":28,"16":332213474077704192,"45":7868844106206189568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,79,24,16,45]} 
[2026-07-01 00:32:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:32:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:32:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408592128001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:32:28] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-01 00:32:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332213474077704192,"km_value":332213474077704.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:32:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":7868844106206189568,"description":"Unknown IO ID 45"} 
[2026-07-01 00:32:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408592128001,"power":27267,"cell_id":206,"unknown_79":46336,"ignition":28,"odometer":null,"unknown_45":7868844106206189568}} 
[2026-07-01 00:32:28] local.INFO: DEBUG: GPS processor result {"connection_id":118680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:32:28] local.INFO: GPS data processed {"connection_id":118680,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:32:28] local.INFO: Acknowledgment sent {"connection_id":118680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:32:42] local.INFO: TCP Data received {"connection_id":120439,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 00:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120439,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 00:32:42] local.INFO: Processing buffer {"connection_id":120439,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 00:32:42] local.INFO: IMEI packet received {"connection_id":120439,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 00:32:42] local.INFO: IMEI acknowledgment sent {"connection_id":120439,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:32:53] local.INFO: TCP Data received {"connection_id":119326,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119326,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:32:53] local.INFO: Processing buffer {"connection_id":119326,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:32:53] local.INFO: IMEI packet received {"connection_id":119326,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 00:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":119326,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:32:59] local.INFO: TCP Data received {"connection_id":119326,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119326,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:32:59] local.INFO: Processing buffer {"connection_id":119326,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:32:59] local.INFO: IMEI packet received {"connection_id":119326,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 00:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":119326,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:32:59] local.INFO: TCP Data received {"connection_id":118680,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f19e847e8012d6d2b00060f8198000201492c..."} 
[2026-07-01 00:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19e847e8012d6d2b00060f8198000201492c..."} 
[2026-07-01 00:32:59] local.INFO: Processing buffer {"connection_id":118680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19e847e8012d6d2b00060f8198000201492c..."} 
[2026-07-01 00:32:59] local.INFO: Packet analysis {"connection_id":118680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19e8"} 
[2026-07-01 00:32:59] local.INFO: Extracted packet for processing {"connection_id":118680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19e8"} 
[2026-07-01 00:32:59] local.INFO: GPS Element Parsed {"raw_longitude":762129152,"raw_latitude":101679512,"longitude_deg":76.2129152,"latitude_deg":10.1679512,"altitude":2,"angle":329,"satellites":44,"speed":29,"hex_longitude":"2d6d2b00","hex_latitude":"060f8198","is_valid_coordinates":true} 
[2026-07-01 00: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-01 00:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408596224001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332213547092148224,"note":"Value kept but may cause issues"} 
[2026-07-01 00:32:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7867014518859909120,"note":"Value kept but may cause issues"} 
[2026-07-01 00:32:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782846081000,"timestamp_ms":1782846081000,"timestamp_seconds":1782846081,"priority":1,"record_length":96,"hex_timestamp":"0000019f19e847e8"} 
[2026-07-01 00: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-01 00:32: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-01 00: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-01 00:32:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00: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-01 00: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-01 00:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:32:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408596224001,"66":27300,"205":206,"79":46336,"24":29,"16":332213547092148224,"45":7867014518859909120},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,79,24,16,45]} 
[2026-07-01 00:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408596224001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:32:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-01 00:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332213547092148224,"km_value":332213547092148.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:32:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":7867014518859909120,"description":"Unknown IO ID 45"} 
[2026-07-01 00:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408596224001,"power":27300,"cell_id":206,"unknown_79":46336,"ignition":29,"odometer":null,"unknown_45":7867014518859909120}} 
[2026-07-01 00:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":118680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:32:59] local.INFO: GPS data processed {"connection_id":118680,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:32:59] local.INFO: Acknowledgment sent {"connection_id":118680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:33:00] local.INFO: TCP Data received {"connection_id":119326,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f19e80198012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19e80198012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:33:00] local.INFO: Processing buffer {"connection_id":119326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19e80198012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:33:00] local.INFO: Packet analysis {"connection_id":119326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19e8"} 
[2026-07-01 00:33:00] local.INFO: Extracted packet for processing {"connection_id":119326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19e8"} 
[2026-07-01 00:33:00] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":46,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408515072001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:33:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215515136,"note":"Value kept but may cause issues"} 
[2026-07-01 00:33:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782846063000,"timestamp_ms":1782846063000,"timestamp_seconds":1782846063,"priority":1,"record_length":96,"hex_timestamp":"0000019f19e80198"} 
[2026-07-01 00:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:33:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 00:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":12,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-01 00:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":144380170388497152,"note":"Value kept but may cause issues"} 
[2026-07-01 00:33:00] local.WARNING: Large IO value detected {"io_id":81,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-07-01 00:33:00] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8605728768,"note":"Value kept but may cause issues"} 
[2026-07-01 00:33:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652628889815808,"note":"Value kept but may cause issues"} 
[2026-07-01 00:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:33:00] local.WARNING: Large IO value detected {"io_id":15,"raw_value":-5404319552844595199,"note":"Value kept but may cause issues"} 
[2026-07-01 00:33:00] local.WARNING: Large IO value detected {"io_id":159,"raw_value":1862848262574014007,"note":"Value kept but may cause issues"} 
[2026-07-01 00:33:00] local.WARNING: Large IO value detected {"io_id":77,"raw_value":-8646905786218905600,"note":"Value kept but may cause issues"} 
[2026-07-01 00:33:00] local.WARNING: Large IO value detected {"io_id":128,"raw_value":419764436786806830,"note":"Value kept but may cause issues"} 
[2026-07-01 00:33:00] local.WARNING: Large IO value detected {"io_id":39,"raw_value":1030792806404,"note":"Value kept but may cause issues"} 
[2026-07-01 00:33:00] local.WARNING: Large IO value detected {"io_id":42,"raw_value":-6917197532544105005,"note":"Value kept but may cause issues"} 
[2026-07-01 00:33:00] local.INFO: IO Element Parsed {"io_data_count":24,"io_data_keys":[0,81,85,24,241,157,16,15,159,82,45,64,77,5,46,10,66,210,240,69,227,128,39,42],"length":426,"final_offset":556,"validated_count":24,"validation_warnings":[]} 
[2026-07-01 00:33:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360338749587980288,"timestamp_seconds":360338749587980.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 00:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":119326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":119326,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":119326,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:33:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408515072001,"66":2209,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9095371316215515136},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408515072001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:33:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:33:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:33:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215515136,"description":"Unknown IO ID 45"} 
[2026-07-01 00:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408515072001,"power":2209,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215515136}} 
[2026-07-01 00:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":119326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415449,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:33:00] local.INFO: GPS data processed {"connection_id":119326,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:33:00] local.INFO: Acknowledgment sent {"connection_id":119326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:33:04] local.INFO: TCP Data received {"connection_id":119326,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f19e80198012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19e80198012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:33:04] local.INFO: Processing buffer {"connection_id":119326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19e80198012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:33:04] local.INFO: Packet analysis {"connection_id":119326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19e8"} 
[2026-07-01 00:33:04] local.INFO: Extracted packet for processing {"connection_id":119326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19e8"} 
[2026-07-01 00:33:04] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":46,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408515072001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215515136,"note":"Value kept but may cause issues"} 
[2026-07-01 00:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782846063000,"timestamp_ms":1782846063000,"timestamp_seconds":1782846063,"priority":1,"record_length":96,"hex_timestamp":"0000019f19e80198"} 
[2026-07-01 00:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 00:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":12,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-01 00:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":144380170388497152,"note":"Value kept but may cause issues"} 
[2026-07-01 00:33:04] local.WARNING: Large IO value detected {"io_id":81,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-07-01 00:33:04] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8605728768,"note":"Value kept but may cause issues"} 
[2026-07-01 00:33:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652628889815808,"note":"Value kept but may cause issues"} 
[2026-07-01 00:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:33:04] local.WARNING: Large IO value detected {"io_id":15,"raw_value":-5404319552844595199,"note":"Value kept but may cause issues"} 
[2026-07-01 00:33:04] local.WARNING: Large IO value detected {"io_id":159,"raw_value":1862848262574014007,"note":"Value kept but may cause issues"} 
[2026-07-01 00:33:04] local.WARNING: Large IO value detected {"io_id":77,"raw_value":-8646905786218905600,"note":"Value kept but may cause issues"} 
[2026-07-01 00:33:04] local.WARNING: Large IO value detected {"io_id":128,"raw_value":419764436786806830,"note":"Value kept but may cause issues"} 
[2026-07-01 00:33:04] local.WARNING: Large IO value detected {"io_id":39,"raw_value":1030792806404,"note":"Value kept but may cause issues"} 
[2026-07-01 00:33:04] local.WARNING: Large IO value detected {"io_id":42,"raw_value":-6917197532544105005,"note":"Value kept but may cause issues"} 
[2026-07-01 00:33:04] local.INFO: IO Element Parsed {"io_data_count":24,"io_data_keys":[0,81,85,24,241,157,16,15,159,82,45,64,77,5,46,10,66,210,240,69,227,128,39,42],"length":426,"final_offset":556,"validated_count":24,"validation_warnings":[]} 
[2026-07-01 00:33:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360338749587980288,"timestamp_seconds":360338749587980.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 00:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":119326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":119326,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":119326,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408515072001,"66":2209,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9095371316215515136},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408515072001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:33:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:33:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215515136,"description":"Unknown IO ID 45"} 
[2026-07-01 00:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408515072001,"power":2209,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215515136}} 
[2026-07-01 00:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":119326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415450,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:33:04] local.INFO: GPS data processed {"connection_id":119326,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:33:04] local.INFO: Acknowledgment sent {"connection_id":119326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:33:17] local.INFO: TCP Data received {"connection_id":118681,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 00:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118681,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 00:33:17] local.INFO: Processing buffer {"connection_id":118681,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 00:33:17] local.INFO: IMEI packet received {"connection_id":118681,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 00:33:17] local.INFO: IMEI acknowledgment sent {"connection_id":118681,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:33:25] local.INFO: TCP Data received {"connection_id":120440,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:33:25] local.INFO: Processing buffer {"connection_id":120440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:33:25] local.INFO: IMEI packet received {"connection_id":120440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 00:33:25] local.INFO: IMEI acknowledgment sent {"connection_id":120440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:33:27] local.INFO: TCP Data received {"connection_id":120440,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:33:27] local.INFO: Processing buffer {"connection_id":120440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:33:27] local.INFO: IMEI packet received {"connection_id":120440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":120440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:33:32] local.INFO: TCP Data received {"connection_id":120440,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:33:32] local.INFO: Processing buffer {"connection_id":120440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:33:32] local.INFO: IMEI packet received {"connection_id":120440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":120440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:33:35] local.INFO: TCP Data received {"connection_id":120440,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f19e922a8012d6d0c0006103c880002015e2a..."} 
[2026-07-01 00:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19e922a8012d6d0c0006103c880002015e2a..."} 
[2026-07-01 00:33:35] local.INFO: Processing buffer {"connection_id":120440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19e922a8012d6d0c0006103c880002015e2a..."} 
[2026-07-01 00:33:35] local.INFO: Packet analysis {"connection_id":120440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19e9"} 
[2026-07-01 00:33:35] local.INFO: Extracted packet for processing {"connection_id":120440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19e9"} 
[2026-07-01 00:33:35] local.INFO: GPS Element Parsed {"raw_longitude":762121216,"raw_latitude":101727368,"longitude_deg":76.2121216,"latitude_deg":10.1727368,"altitude":2,"angle":350,"satellites":42,"speed":31,"hex_longitude":"2d6d0c00","hex_latitude":"06103c88","is_valid_coordinates":true} 
[2026-07-01 00:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408610304001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332215973748670464,"note":"Value kept but may cause issues"} 
[2026-07-01 00:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7857796213384577024,"note":"Value kept but may cause issues"} 
[2026-07-01 00:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782846137000,"timestamp_ms":1782846137000,"timestamp_seconds":1782846137,"priority":1,"record_length":96,"hex_timestamp":"0000019f19e922a8"} 
[2026-07-01 00:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-01 00:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2937,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:33:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":120440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":120440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":120440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408610304001,"66":27332,"205":206,"79":46336,"24":31,"16":332215973748670464,"45":7857796213384577024},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,79,24,16,45]} 
[2026-07-01 00:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408610304001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:33:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-01 00:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332215973748670464,"km_value":332215973748670.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":7857796213384577024,"description":"Unknown IO ID 45"} 
[2026-07-01 00:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408610304001,"power":27332,"cell_id":206,"unknown_79":46336,"ignition":31,"odometer":null,"unknown_45":7857796213384577024}} 
[2026-07-01 00:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":120440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:33:35] local.INFO: GPS data processed {"connection_id":120440,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:33:35] local.INFO: Acknowledgment sent {"connection_id":120440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:33:48] local.INFO: TCP Data received {"connection_id":120441,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120441,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:33:48] local.INFO: Processing buffer {"connection_id":120441,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:33:48] local.INFO: IMEI packet received {"connection_id":120441,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 00:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":120441,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:33:53] local.INFO: TCP Data received {"connection_id":120441,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120441,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:33:53] local.INFO: Processing buffer {"connection_id":120441,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:33:53] local.INFO: IMEI packet received {"connection_id":120441,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 00:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":120441,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:33:57] local.INFO: TCP Data received {"connection_id":120441,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f19e80198012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19e80198012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:33:57] local.INFO: Processing buffer {"connection_id":120441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19e80198012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:33:57] local.INFO: Packet analysis {"connection_id":120441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19e8"} 
[2026-07-01 00:33:57] local.INFO: Extracted packet for processing {"connection_id":120441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19e8"} 
[2026-07-01 00:33:57] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":46,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00: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-01 00:33:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408515072001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:33:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:33:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215515136,"note":"Value kept but may cause issues"} 
[2026-07-01 00:33:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:33:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782846063000,"timestamp_ms":1782846063000,"timestamp_seconds":1782846063,"priority":1,"record_length":96,"hex_timestamp":"0000019f19e80198"} 
[2026-07-01 00: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-01 00:33: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-01 00: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":12,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-01 00:33:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":144380170388497152,"note":"Value kept but may cause issues"} 
[2026-07-01 00:33:57] local.WARNING: Large IO value detected {"io_id":81,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-07-01 00:33:57] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8605728768,"note":"Value kept but may cause issues"} 
[2026-07-01 00:33:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652628889815808,"note":"Value kept but may cause issues"} 
[2026-07-01 00:33:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:33:57] local.WARNING: Large IO value detected {"io_id":15,"raw_value":-5404319552844595199,"note":"Value kept but may cause issues"} 
[2026-07-01 00:33:57] local.WARNING: Large IO value detected {"io_id":159,"raw_value":1862848262574014007,"note":"Value kept but may cause issues"} 
[2026-07-01 00:33:57] local.WARNING: Large IO value detected {"io_id":77,"raw_value":-8646905786218905600,"note":"Value kept but may cause issues"} 
[2026-07-01 00:33:57] local.WARNING: Large IO value detected {"io_id":128,"raw_value":419764436786806830,"note":"Value kept but may cause issues"} 
[2026-07-01 00:33:57] local.WARNING: Large IO value detected {"io_id":39,"raw_value":1030792806404,"note":"Value kept but may cause issues"} 
[2026-07-01 00:33:57] local.WARNING: Large IO value detected {"io_id":42,"raw_value":-6917197532544105005,"note":"Value kept but may cause issues"} 
[2026-07-01 00:33:57] local.INFO: IO Element Parsed {"io_data_count":24,"io_data_keys":[0,81,85,24,241,157,16,15,159,82,45,64,77,5,46,10,66,210,240,69,227,128,39,42],"length":426,"final_offset":556,"validated_count":24,"validation_warnings":[]} 
[2026-07-01 00:33:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360338749587980288,"timestamp_seconds":360338749587980.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 00: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-01 00:33:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:33:57] local.INFO: Teltonika packet parsed successfully {"connection_id":120441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:33:57] local.INFO: Passing IMEI to GPS processor {"connection_id":120441,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:33:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":120441,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:33:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:33:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:33:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:33:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408515072001,"66":2209,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9095371316215515136},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:33:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:33:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:33:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408515072001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:33:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:33:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:33:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:33:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215515136,"description":"Unknown IO ID 45"} 
[2026-07-01 00:33:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408515072001,"power":2209,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215515136}} 
[2026-07-01 00:33:57] local.INFO: DEBUG: GPS processor result {"connection_id":120441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415452,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:33:57] local.INFO: GPS data processed {"connection_id":120441,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:33:57] local.INFO: Acknowledgment sent {"connection_id":120441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:34:06] local.INFO: TCP Data received {"connection_id":120440,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f19e94da0012d6d04c006105f000001015d27..."} 
[2026-07-01 00:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19e94da0012d6d04c006105f000001015d27..."} 
[2026-07-01 00:34:06] local.INFO: Processing buffer {"connection_id":120440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19e94da0012d6d04c006105f000001015d27..."} 
[2026-07-01 00:34:06] local.INFO: Packet analysis {"connection_id":120440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19e9"} 
[2026-07-01 00:34:06] local.INFO: Extracted packet for processing {"connection_id":120440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19e9"} 
[2026-07-01 00:34:06] local.INFO: GPS Element Parsed {"raw_longitude":762119360,"raw_latitude":101736192,"longitude_deg":76.211936,"latitude_deg":10.1736192,"altitude":1,"angle":349,"satellites":39,"speed":38,"hex_longitude":"2d6d04c0","hex_latitude":"06105f00","is_valid_coordinates":true} 
[2026-07-01 00:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408611072001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332216407540367360,"note":"Value kept but may cause issues"} 
[2026-07-01 00:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7857655475896879104,"note":"Value kept but may cause issues"} 
[2026-07-01 00:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782846148000,"timestamp_ms":1782846148000,"timestamp_seconds":1782846148,"priority":1,"record_length":96,"hex_timestamp":"0000019f19e94da0"} 
[2026-07-01 00:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:34: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-01 00:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-01 00:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":120440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":120440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":120440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408611072001,"66":27365,"207":206,"79":46336,"24":38,"16":332216407540367360,"45":7857655475896879104},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,79,24,16,45]} 
[2026-07-01 00:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408611072001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:34:06] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-01 00:34:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-01 00:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332216407540367360,"km_value":332216407540367.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7857655475896879104,"description":"Unknown IO ID 45"} 
[2026-07-01 00:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408611072001,"power":27365,"unknown_207":206,"unknown_79":46336,"ignition":38,"odometer":null,"unknown_45":7857655475896879104}} 
[2026-07-01 00:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":120440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:34:06] local.INFO: GPS data processed {"connection_id":120440,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:34:06] local.INFO: Acknowledgment sent {"connection_id":120440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:34:20] local.INFO: TCP Data received {"connection_id":118567,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:34:20] local.INFO: Processing buffer {"connection_id":118567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:34:20] local.INFO: IMEI packet received {"connection_id":118567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 00:34:20] local.INFO: IMEI acknowledgment sent {"connection_id":118567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:34:23] local.INFO: TCP Data received {"connection_id":118567,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:34:23] local.INFO: Processing buffer {"connection_id":118567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:34:23] local.INFO: IMEI packet received {"connection_id":118567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:34:23] local.INFO: IMEI acknowledgment sent {"connection_id":118567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:34:27] local.INFO: TCP Data received {"connection_id":118567,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:34:27] local.INFO: Processing buffer {"connection_id":118567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:34:27] local.INFO: IMEI packet received {"connection_id":118567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":118567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:34:28] local.INFO: TCP Data received {"connection_id":120441,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f19e80198012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19e80198012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:34:28] local.INFO: Processing buffer {"connection_id":120441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19e80198012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:34:28] local.INFO: Packet analysis {"connection_id":120441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19e8"} 
[2026-07-01 00:34:28] local.INFO: Extracted packet for processing {"connection_id":120441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19e8"} 
[2026-07-01 00:34:28] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":46,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:34:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408515072001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:34:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:34:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215515136,"note":"Value kept but may cause issues"} 
[2026-07-01 00:34:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:34:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782846063000,"timestamp_ms":1782846063000,"timestamp_seconds":1782846063,"priority":1,"record_length":96,"hex_timestamp":"0000019f19e80198"} 
[2026-07-01 00:34:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:34:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 00:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":12,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-01 00:34:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":144380170388497152,"note":"Value kept but may cause issues"} 
[2026-07-01 00:34:28] local.WARNING: Large IO value detected {"io_id":81,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-07-01 00:34:28] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8605728768,"note":"Value kept but may cause issues"} 
[2026-07-01 00:34:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652628889815808,"note":"Value kept but may cause issues"} 
[2026-07-01 00:34:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:34:28] local.WARNING: Large IO value detected {"io_id":15,"raw_value":-5404319552844595199,"note":"Value kept but may cause issues"} 
[2026-07-01 00:34:28] local.WARNING: Large IO value detected {"io_id":159,"raw_value":1862848262574014007,"note":"Value kept but may cause issues"} 
[2026-07-01 00:34:28] local.WARNING: Large IO value detected {"io_id":77,"raw_value":-8646905786218905600,"note":"Value kept but may cause issues"} 
[2026-07-01 00:34:28] local.WARNING: Large IO value detected {"io_id":128,"raw_value":419764436786806830,"note":"Value kept but may cause issues"} 
[2026-07-01 00:34:28] local.WARNING: Large IO value detected {"io_id":39,"raw_value":1030792806404,"note":"Value kept but may cause issues"} 
[2026-07-01 00:34:28] local.WARNING: Large IO value detected {"io_id":42,"raw_value":-6917197532544105005,"note":"Value kept but may cause issues"} 
[2026-07-01 00:34:28] local.INFO: IO Element Parsed {"io_data_count":24,"io_data_keys":[0,81,85,24,241,157,16,15,159,82,45,64,77,5,46,10,66,210,240,69,227,128,39,42],"length":426,"final_offset":556,"validated_count":24,"validation_warnings":[]} 
[2026-07-01 00:34:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360338749587980288,"timestamp_seconds":360338749587980.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 00:34:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:34:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:34:28] local.INFO: Teltonika packet parsed successfully {"connection_id":120441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:34:28] local.INFO: Passing IMEI to GPS processor {"connection_id":120441,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:34:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":120441,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:34:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:34:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:34:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:34:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408515072001,"66":2209,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9095371316215515136},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:34:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:34:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:34:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408515072001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:34:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:34:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:34:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:34:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215515136,"description":"Unknown IO ID 45"} 
[2026-07-01 00:34:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408515072001,"power":2209,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215515136}} 
[2026-07-01 00:34:28] local.INFO: DEBUG: GPS processor result {"connection_id":120441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415454,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:34:28] local.INFO: GPS data processed {"connection_id":120441,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:34:28] local.INFO: Acknowledgment sent {"connection_id":120441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:34:30] local.INFO: TCP Data received {"connection_id":118567,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f19ea5f10012d6cd80006111e900000013428..."} 
[2026-07-01 00:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19ea5f10012d6cd80006111e900000013428..."} 
[2026-07-01 00:34:30] local.INFO: Processing buffer {"connection_id":118567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19ea5f10012d6cd80006111e900000013428..."} 
[2026-07-01 00:34:30] local.INFO: Packet analysis {"connection_id":118567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19ea"} 
[2026-07-01 00:34:30] local.INFO: Extracted packet for processing {"connection_id":118567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19ea"} 
[2026-07-01 00:34:30] local.INFO: GPS Element Parsed {"raw_longitude":762107904,"raw_latitude":101785232,"longitude_deg":76.2107904,"latitude_deg":10.1785232,"altitude":0,"angle":308,"satellites":40,"speed":20,"hex_longitude":"2d6cd800","hex_latitude":"06111e90","is_valid_coordinates":true} 
[2026-07-01 00:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408631552001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332218907211333632,"note":"Value kept but may cause issues"} 
[2026-07-01 00:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7843440989587716096,"note":"Value kept but may cause issues"} 
[2026-07-01 00:34:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782846218000,"timestamp_ms":1782846218000,"timestamp_seconds":1782846218,"priority":1,"record_length":96,"hex_timestamp":"0000019f19ea5f10"} 
[2026-07-01 00:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:34:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-01 00:34:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:34:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":118567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":118567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":118567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:34:30] 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-01 00:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408631552001,"66":27267,"207":206,"79":46336,"24":20,"16":332218907211333632,"45":7843440989587716096},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,79,24,16,45]} 
[2026-07-01 00:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408631552001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:34:30] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-01 00:34:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-01 00:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332218907211333632,"km_value":332218907211333.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":7843440989587716096,"description":"Unknown IO ID 45"} 
[2026-07-01 00:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408631552001,"power":27267,"unknown_207":206,"unknown_79":46336,"ignition":20,"odometer":null,"unknown_45":7843440989587716096}} 
[2026-07-01 00:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":118567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:34:30] local.INFO: GPS data processed {"connection_id":118567,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:34:30] local.INFO: Acknowledgment sent {"connection_id":118567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:34:33] local.INFO: TCP Data received {"connection_id":118567,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f19ea62f8012d6cd64006111f98000001252b..."} 
[2026-07-01 00:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19ea62f8012d6cd64006111f98000001252b..."} 
[2026-07-01 00:34:33] local.INFO: Processing buffer {"connection_id":118567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19ea62f8012d6cd64006111f98000001252b..."} 
[2026-07-01 00:34:33] local.INFO: Packet analysis {"connection_id":118567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19ea"} 
[2026-07-01 00:34:33] local.INFO: Extracted packet for processing {"connection_id":118567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19ea"} 
[2026-07-01 00:34:33] local.INFO: GPS Element Parsed {"raw_longitude":762107456,"raw_latitude":101785496,"longitude_deg":76.2107456,"latitude_deg":10.1785496,"altitude":0,"angle":293,"satellites":43,"speed":21,"hex_longitude":"2d6cd640","hex_latitude":"06111f98","is_valid_coordinates":true} 
[2026-07-01 00: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-01 00:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408631808001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332218932981137408,"note":"Value kept but may cause issues"} 
[2026-07-01 00:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7843018777122738176,"note":"Value kept but may cause issues"} 
[2026-07-01 00:34:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782846219000,"timestamp_ms":1782846219000,"timestamp_seconds":1782846219,"priority":1,"record_length":96,"hex_timestamp":"0000019f19ea62f8"} 
[2026-07-01 00: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-01 00:34:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-01 00:34:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00: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-01 00: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-01 00:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":118567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":118567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":118567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408631808001,"66":27484,"207":206,"79":46336,"24":21,"16":332218932981137408,"45":7843018777122738176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,79,24,16,45]} 
[2026-07-01 00:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408631808001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:34:33] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-01 00:34:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-01 00:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332218932981137408,"km_value":332218932981137.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7843018777122738176,"description":"Unknown IO ID 45"} 
[2026-07-01 00:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408631808001,"power":27484,"unknown_207":206,"unknown_79":46336,"ignition":21,"odometer":null,"unknown_45":7843018777122738176}} 
[2026-07-01 00:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":118567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:34:33] local.INFO: GPS data processed {"connection_id":118567,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:34:33] local.INFO: Acknowledgment sent {"connection_id":118567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:34:48] local.INFO: TCP Data received {"connection_id":119328,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119328,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:34:48] local.INFO: Processing buffer {"connection_id":119328,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:34:48] local.INFO: IMEI packet received {"connection_id":119328,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 00:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":119328,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:34:53] local.INFO: TCP Data received {"connection_id":119328,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119328,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:34:53] local.INFO: Processing buffer {"connection_id":119328,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:34:53] local.INFO: IMEI packet received {"connection_id":119328,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 00:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":119328,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:34:54] local.INFO: TCP Data received {"connection_id":119328,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f19e80198012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19e80198012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:34:54] local.INFO: Processing buffer {"connection_id":119328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19e80198012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:34:54] local.INFO: Packet analysis {"connection_id":119328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19e8"} 
[2026-07-01 00:34:54] local.INFO: Extracted packet for processing {"connection_id":119328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19e8"} 
[2026-07-01 00:34:54] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":46,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00: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-01 00:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408515072001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:34:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215515136,"note":"Value kept but may cause issues"} 
[2026-07-01 00:34:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782846063000,"timestamp_ms":1782846063000,"timestamp_seconds":1782846063,"priority":1,"record_length":96,"hex_timestamp":"0000019f19e80198"} 
[2026-07-01 00: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-01 00:34:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 00: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":12,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-01 00:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":144380170388497152,"note":"Value kept but may cause issues"} 
[2026-07-01 00:34:54] local.WARNING: Large IO value detected {"io_id":81,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-07-01 00:34:54] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8605728768,"note":"Value kept but may cause issues"} 
[2026-07-01 00:34:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652628889815808,"note":"Value kept but may cause issues"} 
[2026-07-01 00:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:34:54] local.WARNING: Large IO value detected {"io_id":15,"raw_value":-5404319552844595199,"note":"Value kept but may cause issues"} 
[2026-07-01 00:34:54] local.WARNING: Large IO value detected {"io_id":159,"raw_value":1862848262574014007,"note":"Value kept but may cause issues"} 
[2026-07-01 00:34:54] local.WARNING: Large IO value detected {"io_id":77,"raw_value":-8646905786218905600,"note":"Value kept but may cause issues"} 
[2026-07-01 00:34:54] local.WARNING: Large IO value detected {"io_id":128,"raw_value":419764436786806830,"note":"Value kept but may cause issues"} 
[2026-07-01 00:34:54] local.WARNING: Large IO value detected {"io_id":39,"raw_value":1030792806404,"note":"Value kept but may cause issues"} 
[2026-07-01 00:34:54] local.WARNING: Large IO value detected {"io_id":42,"raw_value":-6917197532544105005,"note":"Value kept but may cause issues"} 
[2026-07-01 00:34:54] local.INFO: IO Element Parsed {"io_data_count":24,"io_data_keys":[0,81,85,24,241,157,16,15,159,82,45,64,77,5,46,10,66,210,240,69,227,128,39,42],"length":426,"final_offset":556,"validated_count":24,"validation_warnings":[]} 
[2026-07-01 00:34:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360338749587980288,"timestamp_seconds":360338749587980.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 00: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-01 00:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":119328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":119328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":119328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:34: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-01 00:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408515072001,"66":2209,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9095371316215515136},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408515072001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:34:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:34:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:34:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215515136,"description":"Unknown IO ID 45"} 
[2026-07-01 00:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408515072001,"power":2209,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215515136}} 
[2026-07-01 00:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":119328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415457,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:34:54] local.INFO: GPS data processed {"connection_id":119328,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:34:54] local.INFO: Acknowledgment sent {"connection_id":119328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:35:08] local.INFO: TCP Data received {"connection_id":118567,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f19ea66e0012d6cd440061120500000011a29..."} 
[2026-07-01 00:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19ea66e0012d6cd440061120500000011a29..."} 
[2026-07-01 00:35:08] local.INFO: Processing buffer {"connection_id":118567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19ea66e0012d6cd440061120500000011a29..."} 
[2026-07-01 00:35:08] local.INFO: Packet analysis {"connection_id":118567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19ea"} 
[2026-07-01 00:35:08] local.INFO: Extracted packet for processing {"connection_id":118567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19ea"} 
[2026-07-01 00:35:08] local.INFO: GPS Element Parsed {"raw_longitude":762106944,"raw_latitude":101785680,"longitude_deg":76.2106944,"latitude_deg":10.178568,"altitude":0,"angle":282,"satellites":41,"speed":22,"hex_longitude":"2d6cd440","hex_latitude":"06112050","is_valid_coordinates":true} 
[2026-07-01 00:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408632064001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332218958750941184,"note":"Value kept but may cause issues"} 
[2026-07-01 00:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7842526195913562112,"note":"Value kept but may cause issues"} 
[2026-07-01 00:35:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782846220000,"timestamp_ms":1782846220000,"timestamp_seconds":1782846220,"priority":1,"record_length":96,"hex_timestamp":"0000019f19ea66e0"} 
[2026-07-01 00:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:35:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 00:35:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:35:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":118567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":118567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":118567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:35:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408632064001,"66":27484,"207":206,"79":46336,"24":22,"16":332218958750941184,"45":7842526195913562112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,79,24,16,45]} 
[2026-07-01 00:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408632064001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:35:08] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-01 00:35:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-01 00:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332218958750941184,"km_value":332218958750941.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":7842526195913562112,"description":"Unknown IO ID 45"} 
[2026-07-01 00:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408632064001,"power":27484,"unknown_207":206,"unknown_79":46336,"ignition":22,"odometer":null,"unknown_45":7842526195913562112}} 
[2026-07-01 00:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":118567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:35:08] local.INFO: GPS data processed {"connection_id":118567,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:35:08] local.INFO: Acknowledgment sent {"connection_id":118567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:35:22] local.INFO: TCP Data received {"connection_id":120442,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:35:22] local.INFO: Processing buffer {"connection_id":120442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:35:22] local.INFO: IMEI packet received {"connection_id":120442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 00:35:22] local.INFO: IMEI acknowledgment sent {"connection_id":120442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:35:25] local.INFO: TCP Data received {"connection_id":120442,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:35:25] local.INFO: Processing buffer {"connection_id":120442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:35:25] local.INFO: IMEI packet received {"connection_id":120442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:35:25] local.INFO: IMEI acknowledgment sent {"connection_id":120442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:35:25] local.INFO: TCP Data received {"connection_id":119328,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f19e80198012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19e80198012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:35:26] local.INFO: Processing buffer {"connection_id":119328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19e80198012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:35:26] local.INFO: Packet analysis {"connection_id":119328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19e8"} 
[2026-07-01 00:35:26] local.INFO: Extracted packet for processing {"connection_id":119328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19e8"} 
[2026-07-01 00:35:26] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":46,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:35:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408515072001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:35:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:35:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215515136,"note":"Value kept but may cause issues"} 
[2026-07-01 00:35:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:35:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782846063000,"timestamp_ms":1782846063000,"timestamp_seconds":1782846063,"priority":1,"record_length":96,"hex_timestamp":"0000019f19e80198"} 
[2026-07-01 00:35:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:35:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 00:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":12,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-01 00:35:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":144380170388497152,"note":"Value kept but may cause issues"} 
[2026-07-01 00:35:26] local.WARNING: Large IO value detected {"io_id":81,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-07-01 00:35:26] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8605728768,"note":"Value kept but may cause issues"} 
[2026-07-01 00:35:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652628889815808,"note":"Value kept but may cause issues"} 
[2026-07-01 00:35:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:35:26] local.WARNING: Large IO value detected {"io_id":15,"raw_value":-5404319552844595199,"note":"Value kept but may cause issues"} 
[2026-07-01 00:35:26] local.WARNING: Large IO value detected {"io_id":159,"raw_value":1862848262574014007,"note":"Value kept but may cause issues"} 
[2026-07-01 00:35:26] local.WARNING: Large IO value detected {"io_id":77,"raw_value":-8646905786218905600,"note":"Value kept but may cause issues"} 
[2026-07-01 00:35:26] local.WARNING: Large IO value detected {"io_id":128,"raw_value":419764436786806830,"note":"Value kept but may cause issues"} 
[2026-07-01 00:35:26] local.WARNING: Large IO value detected {"io_id":39,"raw_value":1030792806404,"note":"Value kept but may cause issues"} 
[2026-07-01 00:35:26] local.WARNING: Large IO value detected {"io_id":42,"raw_value":-6917197532544105005,"note":"Value kept but may cause issues"} 
[2026-07-01 00:35:26] local.INFO: IO Element Parsed {"io_data_count":24,"io_data_keys":[0,81,85,24,241,157,16,15,159,82,45,64,77,5,46,10,66,210,240,69,227,128,39,42],"length":426,"final_offset":556,"validated_count":24,"validation_warnings":[]} 
[2026-07-01 00:35:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360338749587980288,"timestamp_seconds":360338749587980.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 00:35:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:35:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:35:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:35:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:35:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:35: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-01 00:35:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:35:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:35:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408515072001,"66":2209,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9095371316215515136},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:35:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:35:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:35:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408515072001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:35:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:35:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:35:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:35:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215515136,"description":"Unknown IO ID 45"} 
[2026-07-01 00:35:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408515072001,"power":2209,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215515136}} 
[2026-07-01 00:35:26] local.INFO: DEBUG: GPS processor result {"connection_id":119328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415459,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:35:26] local.INFO: GPS data processed {"connection_id":119328,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:35:26] local.INFO: Acknowledgment sent {"connection_id":119328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:35:26] local.INFO: TCP Data received {"connection_id":120442,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f19ea6eb0012d6ccfc0061120980000010e29..."} 
[2026-07-01 00:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19ea6eb0012d6ccfc0061120980000010e29..."} 
[2026-07-01 00:35:26] local.INFO: Processing buffer {"connection_id":120442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19ea6eb0012d6ccfc0061120980000010e29..."} 
[2026-07-01 00:35:26] local.INFO: Packet analysis {"connection_id":120442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19ea"} 
[2026-07-01 00:35:26] local.INFO: Extracted packet for processing {"connection_id":120442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19ea"} 
[2026-07-01 00:35:26] local.INFO: GPS Element Parsed {"raw_longitude":762105792,"raw_latitude":101785752,"longitude_deg":76.2105792,"latitude_deg":10.1785752,"altitude":0,"angle":270,"satellites":41,"speed":21,"hex_longitude":"2d6ccfc0","hex_latitude":"06112098","is_valid_coordinates":true} 
[2026-07-01 00:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:35:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408632320001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:35:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332219014585516032,"note":"Value kept but may cause issues"} 
[2026-07-01 00:35:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7841963245960187904,"note":"Value kept but may cause issues"} 
[2026-07-01 00:35:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:35:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782846222000,"timestamp_ms":1782846222000,"timestamp_seconds":1782846222,"priority":1,"record_length":96,"hex_timestamp":"0000019f19ea6eb0"} 
[2026-07-01 00:35:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:35: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-01 00:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 00:35:26] 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-01 00:35:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:35:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:35:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:35:26] local.INFO: Teltonika packet parsed successfully {"connection_id":120442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:35:26] local.INFO: Passing IMEI to GPS processor {"connection_id":120442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:35:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":120442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:35:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:35:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:35:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:35:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408632320001,"66":26658,"207":206,"79":46336,"24":21,"16":332219014585516032,"45":7841963245960187904},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,79,24,16,45]} 
[2026-07-01 00:35:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:35:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:35:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408632320001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:35:26] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-01 00:35:26] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-01 00:35:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332219014585516032,"km_value":332219014585516.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:35:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":7841963245960187904,"description":"Unknown IO ID 45"} 
[2026-07-01 00:35:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408632320001,"power":26658,"unknown_207":206,"unknown_79":46336,"ignition":21,"odometer":null,"unknown_45":7841963245960187904}} 
[2026-07-01 00:35:26] local.INFO: DEBUG: GPS processor result {"connection_id":120442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:35:26] local.INFO: GPS data processed {"connection_id":120442,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:35:26] local.INFO: Acknowledgment sent {"connection_id":120442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:35:53] local.INFO: TCP Data received {"connection_id":118568,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118568,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:35:53] local.INFO: Processing buffer {"connection_id":118568,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:35:53] local.INFO: IMEI packet received {"connection_id":118568,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 00:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":118568,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:35:58] local.INFO: TCP Data received {"connection_id":120442,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f19ebb6d0012d6c0cc0061171e80000012c27..."} 
[2026-07-01 00:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19ebb6d0012d6c0cc0061171e80000012c27..."} 
[2026-07-01 00:35:58] local.INFO: Processing buffer {"connection_id":120442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19ebb6d0012d6c0cc0061171e80000012c27..."} 
[2026-07-01 00:35:58] local.INFO: Packet analysis {"connection_id":120442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19eb"} 
[2026-07-01 00:35:58] local.INFO: Extracted packet for processing {"connection_id":120442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19eb"} 
[2026-07-01 00:35:58] local.INFO: GPS Element Parsed {"raw_longitude":762055872,"raw_latitude":101806568,"longitude_deg":76.2055872,"latitude_deg":10.1806568,"altitude":0,"angle":300,"satellites":39,"speed":17,"hex_longitude":"2d6c0cc0","hex_latitude":"061171e8","is_valid_coordinates":true} 
[2026-07-01 00: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-01 00:35:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408651520001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:35:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332221733299814400,"note":"Value kept but may cause issues"} 
[2026-07-01 00:35:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7792634756296263680,"note":"Value kept but may cause issues"} 
[2026-07-01 00:35:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:35:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782846306000,"timestamp_ms":1782846306000,"timestamp_seconds":1782846306,"priority":1,"record_length":96,"hex_timestamp":"0000019f19ebb6d0"} 
[2026-07-01 00: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-01 00:35:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-07-01 00:35:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00: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-01 00: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-01 00:35:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:35:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:35:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:35:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:35: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-01 00:35:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:35:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:35:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408651520001,"66":27484,"91":206,"79":46336,"24":17,"16":332221733299814400,"45":7792634756296263680},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,79,24,16,45]} 
[2026-07-01 00:35:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:35:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:35:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408651520001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:35:58] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-01 00:35:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-01 00:35:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332221733299814400,"km_value":332221733299814.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:35:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7792634756296263680,"description":"Unknown IO ID 45"} 
[2026-07-01 00:35:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408651520001,"power":27484,"unknown_91":206,"unknown_79":46336,"ignition":17,"odometer":null,"unknown_45":7792634756296263680}} 
[2026-07-01 00:35:58] local.INFO: DEBUG: GPS processor result {"connection_id":120442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:35:58] local.INFO: GPS data processed {"connection_id":120442,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:35:58] local.INFO: Acknowledgment sent {"connection_id":120442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:35:58] local.INFO: TCP Data received {"connection_id":118568,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118568,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:35:58] local.INFO: Processing buffer {"connection_id":118568,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:35:58] local.INFO: IMEI packet received {"connection_id":118568,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 00:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":118568,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:35:59] local.INFO: TCP Data received {"connection_id":118568,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f19e80198012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19e80198012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:35:59] local.INFO: Processing buffer {"connection_id":118568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19e80198012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:35:59] local.INFO: Packet analysis {"connection_id":118568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19e8"} 
[2026-07-01 00:35:59] local.INFO: Extracted packet for processing {"connection_id":118568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19e8"} 
[2026-07-01 00:35:59] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":46,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408515072001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215515136,"note":"Value kept but may cause issues"} 
[2026-07-01 00:35:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782846063000,"timestamp_ms":1782846063000,"timestamp_seconds":1782846063,"priority":1,"record_length":96,"hex_timestamp":"0000019f19e80198"} 
[2026-07-01 00:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:35: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-01 00:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":12,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-01 00:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":144380170388497152,"note":"Value kept but may cause issues"} 
[2026-07-01 00:35:59] local.WARNING: Large IO value detected {"io_id":81,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-07-01 00:35:59] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8605728768,"note":"Value kept but may cause issues"} 
[2026-07-01 00:35:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652628889815808,"note":"Value kept but may cause issues"} 
[2026-07-01 00:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:35:59] local.WARNING: Large IO value detected {"io_id":15,"raw_value":-5404319552844595199,"note":"Value kept but may cause issues"} 
[2026-07-01 00:35:59] local.WARNING: Large IO value detected {"io_id":159,"raw_value":1862848262574014007,"note":"Value kept but may cause issues"} 
[2026-07-01 00:35:59] local.WARNING: Large IO value detected {"io_id":77,"raw_value":-8646905786218905600,"note":"Value kept but may cause issues"} 
[2026-07-01 00:35:59] local.WARNING: Large IO value detected {"io_id":128,"raw_value":419764436786806830,"note":"Value kept but may cause issues"} 
[2026-07-01 00:35:59] local.WARNING: Large IO value detected {"io_id":39,"raw_value":1030792806404,"note":"Value kept but may cause issues"} 
[2026-07-01 00:35:59] local.WARNING: Large IO value detected {"io_id":42,"raw_value":-6917197532544105005,"note":"Value kept but may cause issues"} 
[2026-07-01 00:35:59] local.INFO: IO Element Parsed {"io_data_count":24,"io_data_keys":[0,81,85,24,241,157,16,15,159,82,45,64,77,5,46,10,66,210,240,69,227,128,39,42],"length":426,"final_offset":556,"validated_count":24,"validation_warnings":[]} 
[2026-07-01 00:35:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360338749587980288,"timestamp_seconds":360338749587980.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 00:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118568,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118568,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:35:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408515072001,"66":2209,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9095371316215515136},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408515072001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:35:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:35:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215515136,"description":"Unknown IO ID 45"} 
[2026-07-01 00:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408515072001,"power":2209,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215515136}} 
[2026-07-01 00:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":118568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415462,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:35:59] local.INFO: GPS data processed {"connection_id":118568,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:35:59] local.INFO: Acknowledgment sent {"connection_id":118568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:36:22] local.INFO: TCP Data received {"connection_id":118683,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:36:22] local.INFO: Processing buffer {"connection_id":118683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:36:22] local.INFO: IMEI packet received {"connection_id":118683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 00:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":118683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:36:27] local.INFO: TCP Data received {"connection_id":118683,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:36:27] local.INFO: Processing buffer {"connection_id":118683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:36:27] local.INFO: IMEI packet received {"connection_id":118683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":118683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:36:28] local.INFO: TCP Data received {"connection_id":118683,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f19ebd228012d6c014006117a500000013a28..."} 
[2026-07-01 00:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19ebd228012d6c014006117a500000013a28..."} 
[2026-07-01 00:36:28] local.INFO: Processing buffer {"connection_id":118683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19ebd228012d6c014006117a500000013a28..."} 
[2026-07-01 00:36:28] local.INFO: Packet analysis {"connection_id":118683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19eb"} 
[2026-07-01 00:36:28] local.INFO: Extracted packet for processing {"connection_id":118683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19eb"} 
[2026-07-01 00:36:28] local.INFO: GPS Element Parsed {"raw_longitude":762052928,"raw_latitude":101808720,"longitude_deg":76.2052928,"latitude_deg":10.180872,"altitude":0,"angle":314,"satellites":40,"speed":24,"hex_longitude":"2d6c0140","hex_latitude":"06117a50","is_valid_coordinates":true} 
[2026-07-01 00:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408654336001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332221909393473536,"note":"Value kept but may cause issues"} 
[2026-07-01 00:36:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7785808988111759360,"note":"Value kept but may cause issues"} 
[2026-07-01 00:36:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782846313000,"timestamp_ms":1782846313000,"timestamp_seconds":1782846313,"priority":1,"record_length":96,"hex_timestamp":"0000019f19ebd228"} 
[2026-07-01 00:36:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:36:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 00:36:28] 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-01 00:36:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:36:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:36:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408654336001,"66":27626,"91":206,"79":46336,"24":24,"16":332221909393473536,"45":7785808988111759360},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,79,24,16,45]} 
[2026-07-01 00:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408654336001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:36:28] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-01 00:36:28] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-01 00:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332221909393473536,"km_value":332221909393473.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:36:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":7785808988111759360,"description":"Unknown IO ID 45"} 
[2026-07-01 00:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408654336001,"power":27626,"unknown_91":206,"unknown_79":46336,"ignition":24,"odometer":null,"unknown_45":7785808988111759360}} 
[2026-07-01 00:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":118683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:36:28] local.INFO: GPS data processed {"connection_id":118683,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:36:28] local.INFO: Acknowledgment sent {"connection_id":118683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:36:34] local.INFO: TCP Data received {"connection_id":118568,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f19ec9960012d7e394005d34d880005002e2d..."} 
[2026-07-01 00:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19ec9960012d7e394005d34d880005002e2d..."} 
[2026-07-01 00:36:34] local.INFO: Processing buffer {"connection_id":118568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19ec9960012d7e394005d34d880005002e2d..."} 
[2026-07-01 00:36:34] local.INFO: Packet analysis {"connection_id":118568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19ec"} 
[2026-07-01 00:36:34] local.INFO: Extracted packet for processing {"connection_id":118568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19ec"} 
[2026-07-01 00:36:34] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":45,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408592128001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:36:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215515136,"note":"Value kept but may cause issues"} 
[2026-07-01 00:36:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782846364000,"timestamp_ms":1782846364000,"timestamp_seconds":1782846364,"priority":1,"record_length":96,"hex_timestamp":"0000019f19ec9960"} 
[2026-07-01 00:36:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:36:34] 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-01 00:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-01 00:36:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:36:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:36:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":118568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":118568,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":118568,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408592128001,"66":2209,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9095371316215515136},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408592128001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:36:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:36:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:36:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215515136,"description":"Unknown IO ID 45"} 
[2026-07-01 00:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408592128001,"power":2209,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215515136}} 
[2026-07-01 00:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":118568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415464,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:36:34] local.INFO: GPS data processed {"connection_id":118568,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:36:34] local.INFO: Acknowledgment sent {"connection_id":118568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:36:48] local.INFO: TCP Data received {"connection_id":120443,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120443,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:36:48] local.INFO: Processing buffer {"connection_id":120443,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:36:48] local.INFO: IMEI packet received {"connection_id":120443,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 00:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":120443,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:36:53] local.INFO: TCP Data received {"connection_id":120443,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120443,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:36:53] local.INFO: Processing buffer {"connection_id":120443,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:36:53] local.INFO: IMEI packet received {"connection_id":120443,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 00:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":120443,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:36:54] local.INFO: TCP Data received {"connection_id":120443,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f19ec9960012d7e394005d34d880005002e2d..."} 
[2026-07-01 00:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19ec9960012d7e394005d34d880005002e2d..."} 
[2026-07-01 00:36:54] local.INFO: Processing buffer {"connection_id":120443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19ec9960012d7e394005d34d880005002e2d..."} 
[2026-07-01 00:36:54] local.INFO: Packet analysis {"connection_id":120443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19ec"} 
[2026-07-01 00:36:54] local.INFO: Extracted packet for processing {"connection_id":120443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19ec"} 
[2026-07-01 00:36:54] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":45,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:36:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408592128001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:36:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:36:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215515136,"note":"Value kept but may cause issues"} 
[2026-07-01 00:36:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:36:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782846364000,"timestamp_ms":1782846364000,"timestamp_seconds":1782846364,"priority":1,"record_length":96,"hex_timestamp":"0000019f19ec9960"} 
[2026-07-01 00:36:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:36:54] 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-01 00:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-01 00:36:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:36:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:36:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:36:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:36:54] local.INFO: Teltonika packet parsed successfully {"connection_id":120443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:36:54] local.INFO: Passing IMEI to GPS processor {"connection_id":120443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:36:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":120443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:36: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-01 00:36:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:36:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:36:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408592128001,"66":2209,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9095371316215515136},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:36:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:36:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:36:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408592128001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:36:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:36:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:36:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:36:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215515136,"description":"Unknown IO ID 45"} 
[2026-07-01 00:36:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408592128001,"power":2209,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215515136}} 
[2026-07-01 00:36:54] local.INFO: DEBUG: GPS processor result {"connection_id":120443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415465,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:36:54] local.INFO: GPS data processed {"connection_id":120443,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:36:54] local.INFO: Acknowledgment sent {"connection_id":120443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:37:00] local.INFO: TCP Data received {"connection_id":118683,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f19ec9190012d6bcb00061196500001014929..."} 
[2026-07-01 00:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19ec9190012d6bcb00061196500001014929..."} 
[2026-07-01 00:37:00] local.INFO: Processing buffer {"connection_id":118683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19ec9190012d6bcb00061196500001014929..."} 
[2026-07-01 00:37:00] local.INFO: Packet analysis {"connection_id":118683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19ec"} 
[2026-07-01 00:37:00] local.INFO: Extracted packet for processing {"connection_id":118683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19ec"} 
[2026-07-01 00:37:00] local.INFO: GPS Element Parsed {"raw_longitude":762039040,"raw_latitude":101815888,"longitude_deg":76.203904,"latitude_deg":10.1815888,"altitude":1,"angle":329,"satellites":41,"speed":10,"hex_longitude":"2d6bcb00","hex_latitude":"06119650","is_valid_coordinates":true} 
[2026-07-01 00:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408668160001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332222983135297536,"note":"Value kept but may cause issues"} 
[2026-07-01 00:37:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7767724220860401664,"note":"Value kept but may cause issues"} 
[2026-07-01 00:37:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782846362000,"timestamp_ms":1782846362000,"timestamp_seconds":1782846362,"priority":1,"record_length":96,"hex_timestamp":"0000019f19ec9190"} 
[2026-07-01 00:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:37:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 00:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-01 00:37:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:37:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":118683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":118683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":118683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:37:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408668160001,"66":27604,"138":206,"79":46336,"24":10,"16":332222983135297536,"45":7767724220860401664},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,79,24,16,45]} 
[2026-07-01 00:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408668160001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:37:00] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-07-01 00:37:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-01 00:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332222983135297536,"km_value":332222983135297.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:37:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":7767724220860401664,"description":"Unknown IO ID 45"} 
[2026-07-01 00:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408668160001,"power":27604,"unknown_138":206,"unknown_79":46336,"ignition":10,"odometer":null,"unknown_45":7767724220860401664}} 
[2026-07-01 00:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":118683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:37:00] local.INFO: GPS data processed {"connection_id":118683,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:37:00] local.INFO: Acknowledgment sent {"connection_id":118683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:37:21] local.INFO: TCP Data received {"connection_id":120445,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:37:21] local.INFO: Processing buffer {"connection_id":120445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:37:21] local.INFO: IMEI packet received {"connection_id":120445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 00:37:21] local.INFO: IMEI acknowledgment sent {"connection_id":120445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:37:22] local.INFO: TCP Data received {"connection_id":120445,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:37:22] local.INFO: Processing buffer {"connection_id":120445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:37:22] local.INFO: IMEI packet received {"connection_id":120445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":120445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:37:25] local.INFO: TCP Data received {"connection_id":120443,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f19ec9960012d7e394005d34d880005002e2d..."} 
[2026-07-01 00:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19ec9960012d7e394005d34d880005002e2d..."} 
[2026-07-01 00:37:25] local.INFO: Processing buffer {"connection_id":120443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19ec9960012d7e394005d34d880005002e2d..."} 
[2026-07-01 00:37:25] local.INFO: Packet analysis {"connection_id":120443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19ec"} 
[2026-07-01 00:37:25] local.INFO: Extracted packet for processing {"connection_id":120443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19ec"} 
[2026-07-01 00:37:25] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":45,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:37:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408592128001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:37:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:37:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215515136,"note":"Value kept but may cause issues"} 
[2026-07-01 00:37:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:37:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782846364000,"timestamp_ms":1782846364000,"timestamp_seconds":1782846364,"priority":1,"record_length":96,"hex_timestamp":"0000019f19ec9960"} 
[2026-07-01 00:37:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:37:25] 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-01 00:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-01 00:37:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:37:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:37:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:37:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:37:25] local.INFO: Teltonika packet parsed successfully {"connection_id":120443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:37:25] local.INFO: Passing IMEI to GPS processor {"connection_id":120443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:37:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":120443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:37: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-01 00:37:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:37:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:37:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408592128001,"66":2209,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9095371316215515136},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:37:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:37:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:37:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408592128001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:37:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:37:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:37:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:37:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215515136,"description":"Unknown IO ID 45"} 
[2026-07-01 00:37:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408592128001,"power":2209,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215515136}} 
[2026-07-01 00:37:25] local.INFO: DEBUG: GPS processor result {"connection_id":120443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415467,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:37:25] local.INFO: GPS data processed {"connection_id":120443,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:37:25] local.INFO: Acknowledgment sent {"connection_id":120443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:37:27] local.INFO: TCP Data received {"connection_id":120445,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:37:27] local.INFO: Processing buffer {"connection_id":120445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:37:27] local.INFO: IMEI packet received {"connection_id":120445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":120445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:37:29] local.INFO: TCP Data received {"connection_id":120445,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f19ec9578012d6bca00061197400001015528..."} 
[2026-07-01 00:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19ec9578012d6bca00061197400001015528..."} 
[2026-07-01 00:37:29] local.INFO: Processing buffer {"connection_id":120445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19ec9578012d6bca00061197400001015528..."} 
[2026-07-01 00:37:29] local.INFO: Packet analysis {"connection_id":120445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19ec"} 
[2026-07-01 00:37:29] local.INFO: Extracted packet for processing {"connection_id":120445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19ec"} 
[2026-07-01 00:37:29] local.INFO: GPS Element Parsed {"raw_longitude":762038784,"raw_latitude":101816128,"longitude_deg":76.2038784,"latitude_deg":10.1816128,"altitude":1,"angle":341,"satellites":40,"speed":12,"hex_longitude":"2d6bca00","hex_latitude":"06119740","is_valid_coordinates":true} 
[2026-07-01 00:37:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:37:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408668672001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:37:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332222996020199424,"note":"Value kept but may cause issues"} 
[2026-07-01 00:37:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7767302008395419648,"note":"Value kept but may cause issues"} 
[2026-07-01 00:37:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:37:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782846363000,"timestamp_ms":1782846363000,"timestamp_seconds":1782846363,"priority":1,"record_length":96,"hex_timestamp":"0000019f19ec9578"} 
[2026-07-01 00:37:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:37:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:37:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-01 00:37:29] 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-01 00:37:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:37:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:37:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:37:29] local.INFO: Teltonika packet parsed successfully {"connection_id":120445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:37:29] local.INFO: Passing IMEI to GPS processor {"connection_id":120445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:37:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":120445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:37:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:37:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:37:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:37:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408668672001,"66":27397,"138":206,"79":46336,"24":12,"16":332222996020199424,"45":7767302008395419648},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,79,24,16,45]} 
[2026-07-01 00:37:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:37:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:37:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408668672001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:37:29] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-07-01 00:37:29] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-01 00:37:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332222996020199424,"km_value":332222996020199.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:37:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":7767302008395419648,"description":"Unknown IO ID 45"} 
[2026-07-01 00:37:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408668672001,"power":27397,"unknown_138":206,"unknown_79":46336,"ignition":12,"odometer":null,"unknown_45":7767302008395419648}} 
[2026-07-01 00:37:29] local.INFO: DEBUG: GPS processor result {"connection_id":120445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:37:29] local.INFO: GPS data processed {"connection_id":120445,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:37:29] local.INFO: Acknowledgment sent {"connection_id":120445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:37:48] local.INFO: TCP Data received {"connection_id":120446,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120446,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:37:48] local.INFO: Processing buffer {"connection_id":120446,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:37:48] local.INFO: IMEI packet received {"connection_id":120446,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 00:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":120446,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:37:53] local.INFO: TCP Data received {"connection_id":120446,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120446,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:37:53] local.INFO: Processing buffer {"connection_id":120446,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:37:53] local.INFO: IMEI packet received {"connection_id":120446,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 00:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":120446,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:37:54] local.INFO: TCP Data received {"connection_id":120446,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f19ec9960012d7e394005d34d880005002e2d..."} 
[2026-07-01 00:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19ec9960012d7e394005d34d880005002e2d..."} 
[2026-07-01 00:37:54] local.INFO: Processing buffer {"connection_id":120446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19ec9960012d7e394005d34d880005002e2d..."} 
[2026-07-01 00:37:54] local.INFO: Packet analysis {"connection_id":120446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19ec"} 
[2026-07-01 00:37:54] local.INFO: Extracted packet for processing {"connection_id":120446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19ec"} 
[2026-07-01 00:37:54] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":45,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00: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-01 00:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408592128001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:37:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215515136,"note":"Value kept but may cause issues"} 
[2026-07-01 00:37:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782846364000,"timestamp_ms":1782846364000,"timestamp_seconds":1782846364,"priority":1,"record_length":96,"hex_timestamp":"0000019f19ec9960"} 
[2026-07-01 00: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-01 00:37:54] 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-01 00: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-01 00:37:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00: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-01 00: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-01 00:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":120446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":120446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":120446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:37:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408592128001,"66":2209,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9095371316215515136},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408592128001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:37:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:37:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:37:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215515136,"description":"Unknown IO ID 45"} 
[2026-07-01 00:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408592128001,"power":2209,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215515136}} 
[2026-07-01 00:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":120446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415469,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:37:54] local.INFO: GPS data processed {"connection_id":120446,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:37:54] local.INFO: Acknowledgment sent {"connection_id":120446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:38:00] local.INFO: TCP Data received {"connection_id":120445,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f19ecd010012d6bbe800611b8400002015428..."} 
[2026-07-01 00:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19ecd010012d6bbe800611b8400002015428..."} 
[2026-07-01 00:38:00] local.INFO: Processing buffer {"connection_id":120445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19ecd010012d6bbe800611b8400002015428..."} 
[2026-07-01 00:38:00] local.INFO: Packet analysis {"connection_id":120445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19ec"} 
[2026-07-01 00:38:00] local.INFO: Extracted packet for processing {"connection_id":120445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19ec"} 
[2026-07-01 00:38:00] local.INFO: GPS Element Parsed {"raw_longitude":762035840,"raw_latitude":101824576,"longitude_deg":76.203584,"latitude_deg":10.1824576,"altitude":2,"angle":340,"satellites":40,"speed":26,"hex_longitude":"2d6bbe80","hex_latitude":"0611b840","is_valid_coordinates":true} 
[2026-07-01 00: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-01 00:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408668928001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332223429811896320,"note":"Value kept but may cause issues"} 
[2026-07-01 00:38:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7767020533418770432,"note":"Value kept but may cause issues"} 
[2026-07-01 00:38:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782846378000,"timestamp_ms":1782846378000,"timestamp_seconds":1782846378,"priority":1,"record_length":96,"hex_timestamp":"0000019f19ecd010"} 
[2026-07-01 00: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-01 00:38:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 00: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-01 00:38:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00: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-01 00: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-01 00:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":120445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":120445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":120445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:38:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408668928001,"66":27539,"138":206,"79":46336,"24":26,"16":332223429811896320,"45":7767020533418770432},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,79,24,16,45]} 
[2026-07-01 00:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408668928001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:38:00] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-07-01 00:38:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-01 00:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332223429811896320,"km_value":332223429811896.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:38:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":7767020533418770432,"description":"Unknown IO ID 45"} 
[2026-07-01 00:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408668928001,"power":27539,"unknown_138":206,"unknown_79":46336,"ignition":26,"odometer":null,"unknown_45":7767020533418770432}} 
[2026-07-01 00:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":120445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:38:00] local.INFO: GPS data processed {"connection_id":120445,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:38:00] local.INFO: Acknowledgment sent {"connection_id":120445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:38:22] local.INFO: TCP Data received {"connection_id":118684,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:38:22] local.INFO: Processing buffer {"connection_id":118684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:38:22] local.INFO: IMEI packet received {"connection_id":118684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 00:38:22] local.INFO: IMEI acknowledgment sent {"connection_id":118684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:38:25] local.INFO: TCP Data received {"connection_id":120446,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f19ec9960012d7e394005d34d880005002e2d..."} 
[2026-07-01 00:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19ec9960012d7e394005d34d880005002e2d..."} 
[2026-07-01 00:38:25] local.INFO: Processing buffer {"connection_id":120446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19ec9960012d7e394005d34d880005002e2d..."} 
[2026-07-01 00:38:25] local.INFO: Packet analysis {"connection_id":120446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19ec"} 
[2026-07-01 00:38:25] local.INFO: Extracted packet for processing {"connection_id":120446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19ec"} 
[2026-07-01 00:38:25] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":45,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408592128001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215515136,"note":"Value kept but may cause issues"} 
[2026-07-01 00:38:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782846364000,"timestamp_ms":1782846364000,"timestamp_seconds":1782846364,"priority":1,"record_length":96,"hex_timestamp":"0000019f19ec9960"} 
[2026-07-01 00:38:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:38:25] 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-01 00:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-01 00:38:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:38:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:38:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":120446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":120446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":120446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:38:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408592128001,"66":2209,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9095371316215515136},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408592128001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:38:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:38:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215515136,"description":"Unknown IO ID 45"} 
[2026-07-01 00:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408592128001,"power":2209,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215515136}} 
[2026-07-01 00:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":120446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415471,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:38:25] local.INFO: GPS data processed {"connection_id":120446,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:38:25] local.INFO: Acknowledgment sent {"connection_id":120446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:38:27] local.INFO: TCP Data received {"connection_id":118684,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:38:27] local.INFO: Processing buffer {"connection_id":118684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:38:27] local.INFO: IMEI packet received {"connection_id":118684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:38:27] local.INFO: IMEI acknowledgment sent {"connection_id":118684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:38:28] local.INFO: TCP Data received {"connection_id":118684,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f19ed02d8012d6bb1400611da780002015329..."} 
[2026-07-01 00:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19ed02d8012d6bb1400611da780002015329..."} 
[2026-07-01 00:38:28] local.INFO: Processing buffer {"connection_id":118684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19ed02d8012d6bb1400611da780002015329..."} 
[2026-07-01 00:38:28] local.INFO: Packet analysis {"connection_id":118684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19ed"} 
[2026-07-01 00:38:28] local.INFO: Extracted packet for processing {"connection_id":118684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19ed"} 
[2026-07-01 00:38:28] local.INFO: GPS Element Parsed {"raw_longitude":762032448,"raw_latitude":101833336,"longitude_deg":76.2032448,"latitude_deg":10.1833336,"altitude":2,"angle":339,"satellites":41,"speed":31,"hex_longitude":"2d6bb140","hex_latitude":"0611da78","is_valid_coordinates":true} 
[2026-07-01 00:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:38:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408672768001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:38:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332223885078429696,"note":"Value kept but may cause issues"} 
[2026-07-01 00:38:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7763783571188760576,"note":"Value kept but may cause issues"} 
[2026-07-01 00:38:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:38:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782846391000,"timestamp_ms":1782846391000,"timestamp_seconds":1782846391,"priority":1,"record_length":96,"hex_timestamp":"0000019f19ed02d8"} 
[2026-07-01 00:38:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:38:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-01 00:38:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:38:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:38:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:38:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:38:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:38:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:38:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:38:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:38:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:38:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:38:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408672768001,"66":27463,"138":206,"79":46336,"24":31,"16":332223885078429696,"45":7763783571188760576},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,79,24,16,45]} 
[2026-07-01 00:38:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:38:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:38:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408672768001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:38:28] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-07-01 00:38:28] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-01 00:38:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332223885078429696,"km_value":332223885078429.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:38:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":7763783571188760576,"description":"Unknown IO ID 45"} 
[2026-07-01 00:38:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408672768001,"power":27463,"unknown_138":206,"unknown_79":46336,"ignition":31,"odometer":null,"unknown_45":7763783571188760576}} 
[2026-07-01 00:38:28] local.INFO: DEBUG: GPS processor result {"connection_id":118684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:38:28] local.INFO: GPS data processed {"connection_id":118684,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:38:28] local.INFO: Acknowledgment sent {"connection_id":118684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:38:32] local.INFO: TCP Data received {"connection_id":118569,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 00:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118569,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 00:38:32] local.INFO: Processing buffer {"connection_id":118569,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 00:38:32] local.INFO: IMEI packet received {"connection_id":118569,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 00:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":118569,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:38:53] local.INFO: TCP Data received {"connection_id":118570,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118570,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:38:53] local.INFO: Processing buffer {"connection_id":118570,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:38:53] local.INFO: IMEI packet received {"connection_id":118570,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 00:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":118570,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:38:58] local.INFO: TCP Data received {"connection_id":118570,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118570,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:38:58] local.INFO: Processing buffer {"connection_id":118570,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:38:58] local.INFO: IMEI packet received {"connection_id":118570,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 00:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":118570,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:38:59] local.INFO: TCP Data received {"connection_id":118570,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f19ec9960012d7e394005d34d880005002e2d..."} 
[2026-07-01 00:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19ec9960012d7e394005d34d880005002e2d..."} 
[2026-07-01 00:38:59] local.INFO: Processing buffer {"connection_id":118570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19ec9960012d7e394005d34d880005002e2d..."} 
[2026-07-01 00:38:59] local.INFO: Packet analysis {"connection_id":118570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19ec"} 
[2026-07-01 00:38:59] local.INFO: Extracted packet for processing {"connection_id":118570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19ec"} 
[2026-07-01 00:38:59] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":45,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408592128001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215515136,"note":"Value kept but may cause issues"} 
[2026-07-01 00:38:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782846364000,"timestamp_ms":1782846364000,"timestamp_seconds":1782846364,"priority":1,"record_length":96,"hex_timestamp":"0000019f19ec9960"} 
[2026-07-01 00:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:38:59] 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-01 00:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-01 00:38:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:38:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118570,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118570,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:38:59] 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-01 00:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408592128001,"66":2209,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9095371316215515136},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408592128001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:38:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:38:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215515136,"description":"Unknown IO ID 45"} 
[2026-07-01 00:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408592128001,"power":2209,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215515136}} 
[2026-07-01 00:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":118570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415473,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:38:59] local.INFO: GPS data processed {"connection_id":118570,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:38:59] local.INFO: Acknowledgment sent {"connection_id":118570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:38:59] local.INFO: TCP Data received {"connection_id":118684,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f19ed31b8012d6ba4c00611fc180003015428..."} 
[2026-07-01 00:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19ed31b8012d6ba4c00611fc180003015428..."} 
[2026-07-01 00:38:59] local.INFO: Processing buffer {"connection_id":118684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19ed31b8012d6ba4c00611fc180003015428..."} 
[2026-07-01 00:38:59] local.INFO: Packet analysis {"connection_id":118684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19ed"} 
[2026-07-01 00:38:59] local.INFO: Extracted packet for processing {"connection_id":118684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19ed"} 
[2026-07-01 00:38:59] local.INFO: GPS Element Parsed {"raw_longitude":762029248,"raw_latitude":101841944,"longitude_deg":76.2029248,"latitude_deg":10.1841944,"altitude":3,"angle":340,"satellites":40,"speed":31,"hex_longitude":"2d6ba4c0","hex_latitude":"0611fc18","is_valid_coordinates":true} 
[2026-07-01 00:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408676096001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332224331755028480,"note":"Value kept but may cause issues"} 
[2026-07-01 00:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7760054027749586944,"note":"Value kept but may cause issues"} 
[2026-07-01 00:38:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782846403000,"timestamp_ms":1782846403000,"timestamp_seconds":1782846403,"priority":1,"record_length":96,"hex_timestamp":"0000019f19ed31b8"} 
[2026-07-01 00:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:38: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-01 00:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-01 00:38:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:38:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:38:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408676096001,"66":27517,"138":206,"79":46336,"24":31,"16":332224331755028480,"45":7760054027749586944},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,79,24,16,45]} 
[2026-07-01 00:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408676096001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:38:59] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-07-01 00:38:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-01 00:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332224331755028480,"km_value":332224331755028.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":7760054027749586944,"description":"Unknown IO ID 45"} 
[2026-07-01 00:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408676096001,"power":27517,"unknown_138":206,"unknown_79":46336,"ignition":31,"odometer":null,"unknown_45":7760054027749586944}} 
[2026-07-01 00:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":118684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:38:59] local.INFO: GPS data processed {"connection_id":118684,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:38:59] local.INFO: Acknowledgment sent {"connection_id":118684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:39:03] local.INFO: TCP Data received {"connection_id":118570,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f19ec9960012d7e394005d34d880005002e2d..."} 
[2026-07-01 00:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19ec9960012d7e394005d34d880005002e2d..."} 
[2026-07-01 00:39:03] local.INFO: Processing buffer {"connection_id":118570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19ec9960012d7e394005d34d880005002e2d..."} 
[2026-07-01 00:39:03] local.INFO: Packet analysis {"connection_id":118570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19ec"} 
[2026-07-01 00:39:03] local.INFO: Extracted packet for processing {"connection_id":118570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19ec"} 
[2026-07-01 00:39:03] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":45,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408592128001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215515136,"note":"Value kept but may cause issues"} 
[2026-07-01 00:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782846364000,"timestamp_ms":1782846364000,"timestamp_seconds":1782846364,"priority":1,"record_length":96,"hex_timestamp":"0000019f19ec9960"} 
[2026-07-01 00:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 00:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-01 00:39:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:39:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":118570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":118570,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":118570,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:39: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-01 00:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408592128001,"66":2209,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9095371316215515136},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408592128001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:39:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:39:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215515136,"description":"Unknown IO ID 45"} 
[2026-07-01 00:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408592128001,"power":2209,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215515136}} 
[2026-07-01 00:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":118570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415475,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:39:04] local.INFO: GPS data processed {"connection_id":118570,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:39:04] local.INFO: Acknowledgment sent {"connection_id":118570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:39:22] local.INFO: TCP Data received {"connection_id":119330,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 00:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119330,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 00:39:22] local.INFO: Processing buffer {"connection_id":119330,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 00:39:22] local.INFO: IMEI packet received {"connection_id":119330,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 00:39:22] local.INFO: IMEI acknowledgment sent {"connection_id":119330,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:39:48] local.INFO: TCP Data received {"connection_id":118685,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118685,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:39:48] local.INFO: Processing buffer {"connection_id":118685,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:39:48] local.INFO: IMEI packet received {"connection_id":118685,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 00:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":118685,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:39:53] local.INFO: TCP Data received {"connection_id":118685,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118685,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:39:53] local.INFO: Processing buffer {"connection_id":118685,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:39:53] local.INFO: IMEI packet received {"connection_id":118685,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 00:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":118685,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:39:54] local.INFO: TCP Data received {"connection_id":118685,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f19ec9960012d7e394005d34d880005002e2d..."} 
[2026-07-01 00:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19ec9960012d7e394005d34d880005002e2d..."} 
[2026-07-01 00:39:54] local.INFO: Processing buffer {"connection_id":118685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19ec9960012d7e394005d34d880005002e2d..."} 
[2026-07-01 00:39:54] local.INFO: Packet analysis {"connection_id":118685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19ec"} 
[2026-07-01 00:39:54] local.INFO: Extracted packet for processing {"connection_id":118685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19ec"} 
[2026-07-01 00:39:54] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":45,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408592128001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:39:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215515136,"note":"Value kept but may cause issues"} 
[2026-07-01 00:39:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782846364000,"timestamp_ms":1782846364000,"timestamp_seconds":1782846364,"priority":1,"record_length":96,"hex_timestamp":"0000019f19ec9960"} 
[2026-07-01 00:39:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:39:54] 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-01 00:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-01 00:39:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:39:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:39:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":118685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":118685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":118685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:39: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-01 00:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408592128001,"66":2209,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9095371316215515136},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408592128001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:39:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:39:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:39:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215515136,"description":"Unknown IO ID 45"} 
[2026-07-01 00:39:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408592128001,"power":2209,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215515136}} 
[2026-07-01 00:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":118685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415476,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:39:54] local.INFO: GPS data processed {"connection_id":118685,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:39:54] local.INFO: Acknowledgment sent {"connection_id":118685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:39:56] local.INFO: TCP Data received {"connection_id":118571,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:39:56] local.INFO: Processing buffer {"connection_id":118571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:39:56] local.INFO: IMEI packet received {"connection_id":118571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 00:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":118571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:39:58] local.INFO: TCP Data received {"connection_id":118571,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:39:58] local.INFO: Processing buffer {"connection_id":118571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:39:58] local.INFO: IMEI packet received {"connection_id":118571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":118571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:39:58] local.INFO: TCP Data received {"connection_id":118685,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f19ec9960012d7e394005d34d880005002e2d..."} 
[2026-07-01 00:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19ec9960012d7e394005d34d880005002e2d..."} 
[2026-07-01 00:39:58] local.INFO: Processing buffer {"connection_id":118685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19ec9960012d7e394005d34d880005002e2d..."} 
[2026-07-01 00:39:58] local.INFO: Packet analysis {"connection_id":118685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19ec"} 
[2026-07-01 00:39:58] local.INFO: Extracted packet for processing {"connection_id":118685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19ec"} 
[2026-07-01 00:39:58] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":45,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00: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-01 00:39:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408592128001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:39:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:39:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215515136,"note":"Value kept but may cause issues"} 
[2026-07-01 00:39:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:39:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782846364000,"timestamp_ms":1782846364000,"timestamp_seconds":1782846364,"priority":1,"record_length":96,"hex_timestamp":"0000019f19ec9960"} 
[2026-07-01 00: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-01 00:39:58] 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-01 00: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":161,"data_length":795,"current_offset":136} 
[2026-07-01 00:39:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00: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-01 00: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-01 00:39:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:39:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:39:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:39:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:39:58] 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-01 00:39:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:39:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:39:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408592128001,"66":2209,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9095371316215515136},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:39:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:39:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:39:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408592128001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:39:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:39:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:39:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:39:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215515136,"description":"Unknown IO ID 45"} 
[2026-07-01 00:39:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408592128001,"power":2209,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215515136}} 
[2026-07-01 00:39:58] local.INFO: DEBUG: GPS processor result {"connection_id":118685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415477,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:39:58] local.INFO: GPS data processed {"connection_id":118685,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:39:58] local.INFO: Acknowledgment sent {"connection_id":118685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:39:59] local.INFO: TCP Data received {"connection_id":118571,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f19eeb470012d6b7b800612aa280002016329..."} 
[2026-07-01 00:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19eeb470012d6b7b800612aa280002016329..."} 
[2026-07-01 00:39:59] local.INFO: Processing buffer {"connection_id":118571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19eeb470012d6b7b800612aa280002016329..."} 
[2026-07-01 00:39:59] local.INFO: Packet analysis {"connection_id":118571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19ee"} 
[2026-07-01 00:39:59] local.INFO: Extracted packet for processing {"connection_id":118571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19ee"} 
[2026-07-01 00:39:59] local.INFO: GPS Element Parsed {"raw_longitude":762018688,"raw_latitude":101886504,"longitude_deg":76.2018688,"latitude_deg":10.1886504,"altitude":2,"angle":355,"satellites":41,"speed":14,"hex_longitude":"2d6b7b80","hex_latitude":"0612aa28","is_valid_coordinates":true} 
[2026-07-01 00: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-01 00:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408702976001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332226586612858880,"note":"Value kept but may cause issues"} 
[2026-07-01 00:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7744572904043556864,"note":"Value kept but may cause issues"} 
[2026-07-01 00:39:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782846502000,"timestamp_ms":1782846502000,"timestamp_seconds":1782846502,"priority":1,"record_length":96,"hex_timestamp":"0000019f19eeb470"} 
[2026-07-01 00: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-01 00:39:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-01 00:39:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00: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-01 00: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-01 00:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:39:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408702976001,"66":27321,"137":206,"79":46336,"24":14,"16":332226586612858880,"45":7744572904043556864},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,79,24,16,45]} 
[2026-07-01 00:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408702976001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:39:59] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-01 00:39:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-01 00:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332226586612858880,"km_value":332226586612858.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":7744572904043556864,"description":"Unknown IO ID 45"} 
[2026-07-01 00:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408702976001,"power":27321,"unknown_137":206,"unknown_79":46336,"ignition":14,"odometer":null,"unknown_45":7744572904043556864}} 
[2026-07-01 00:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":118571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:39:59] local.INFO: GPS data processed {"connection_id":118571,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:39:59] local.INFO: Acknowledgment sent {"connection_id":118571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:39:59] local.INFO: TCP Data received {"connection_id":118571,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f19eec410012d6b7a800612afc8000101542a..."} 
[2026-07-01 00:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19eec410012d6b7a800612afc8000101542a..."} 
[2026-07-01 00:39:59] local.INFO: Processing buffer {"connection_id":118571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19eec410012d6b7a800612afc8000101542a..."} 
[2026-07-01 00:39:59] local.INFO: Packet analysis {"connection_id":118571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19ee"} 
[2026-07-01 00:39:59] local.INFO: Extracted packet for processing {"connection_id":118571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19ee"} 
[2026-07-01 00:39:59] local.INFO: GPS Element Parsed {"raw_longitude":762018432,"raw_latitude":101887944,"longitude_deg":76.2018432,"latitude_deg":10.1887944,"altitude":1,"angle":340,"satellites":42,"speed":13,"hex_longitude":"2d6b7a80","hex_latitude":"0612afc8","is_valid_coordinates":true} 
[2026-07-01 00: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-01 00:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408704512001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332226659627302912,"note":"Value kept but may cause issues"} 
[2026-07-01 00:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7744924747765000192,"note":"Value kept but may cause issues"} 
[2026-07-01 00:39:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782846506000,"timestamp_ms":1782846506000,"timestamp_seconds":1782846506,"priority":1,"record_length":96,"hex_timestamp":"0000019f19eec410"} 
[2026-07-01 00: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-01 00:39:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-01 00:39:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00: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-01 00: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-01 00:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:39:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408704512001,"66":27484,"137":206,"79":46336,"24":13,"16":332226659627302912,"45":7744924747765000192},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,79,24,16,45]} 
[2026-07-01 00:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408704512001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:39:59] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-01 00:39:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-01 00:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332226659627302912,"km_value":332226659627302.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":7744924747765000192,"description":"Unknown IO ID 45"} 
[2026-07-01 00:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408704512001,"power":27484,"unknown_137":206,"unknown_79":46336,"ignition":13,"odometer":null,"unknown_45":7744924747765000192}} 
[2026-07-01 00:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":118571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:39:59] local.INFO: GPS data processed {"connection_id":118571,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:39:59] local.INFO: Acknowledgment sent {"connection_id":118571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:40:18] local.INFO: TCP Data received {"connection_id":118572,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:40:18] local.INFO: Processing buffer {"connection_id":118572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:40:18] local.INFO: IMEI packet received {"connection_id":118572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 00:40:18] local.INFO: IMEI acknowledgment sent {"connection_id":118572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:40:22] local.INFO: TCP Data received {"connection_id":118572,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:40:22] local.INFO: Processing buffer {"connection_id":118572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:40:22] local.INFO: IMEI packet received {"connection_id":118572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:40:22] local.INFO: IMEI acknowledgment sent {"connection_id":118572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:40:27] local.INFO: TCP Data received {"connection_id":118572,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:40:27] local.INFO: Processing buffer {"connection_id":118572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:40:27] local.INFO: IMEI packet received {"connection_id":118572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":118572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:40:28] local.INFO: TCP Data received {"connection_id":118572,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f19eecfc8012d6b78800612b348000101452b..."} 
[2026-07-01 00:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19eecfc8012d6b78800612b348000101452b..."} 
[2026-07-01 00:40:28] local.INFO: Processing buffer {"connection_id":118572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19eecfc8012d6b78800612b348000101452b..."} 
[2026-07-01 00:40:28] local.INFO: Packet analysis {"connection_id":118572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19ee"} 
[2026-07-01 00:40:28] local.INFO: Extracted packet for processing {"connection_id":118572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19ee"} 
[2026-07-01 00:40:28] local.INFO: GPS Element Parsed {"raw_longitude":762017920,"raw_latitude":101888840,"longitude_deg":76.201792,"latitude_deg":10.188884,"altitude":1,"angle":325,"satellites":43,"speed":14,"hex_longitude":"2d6b7880","hex_latitude":"0612b348","is_valid_coordinates":true} 
[2026-07-01 00:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408705536001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332226711166910464,"note":"Value kept but may cause issues"} 
[2026-07-01 00:40:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7744643272788658176,"note":"Value kept but may cause issues"} 
[2026-07-01 00:40:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782846509000,"timestamp_ms":1782846509000,"timestamp_seconds":1782846509,"priority":1,"record_length":96,"hex_timestamp":"0000019f19eecfc8"} 
[2026-07-01 00:40:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:40: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-01 00:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 00:40:28] 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-01 00:40:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:40:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:40:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408705536001,"66":27484,"137":206,"79":46336,"24":14,"16":332226711166910464,"45":7744643272788658176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,79,24,16,45]} 
[2026-07-01 00:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408705536001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:40:28] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-01 00:40:28] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-01 00:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332226711166910464,"km_value":332226711166910.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:40:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":7744643272788658176,"description":"Unknown IO ID 45"} 
[2026-07-01 00:40:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408705536001,"power":27484,"unknown_137":206,"unknown_79":46336,"ignition":14,"odometer":null,"unknown_45":7744643272788658176}} 
[2026-07-01 00:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":118572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:40:28] local.INFO: GPS data processed {"connection_id":118572,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:40:28] local.INFO: Acknowledgment sent {"connection_id":118572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:40:29] local.INFO: TCP Data received {"connection_id":118572,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f19eedf68012d6b75800612b870000201522b..."} 
[2026-07-01 00:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19eedf68012d6b75800612b870000201522b..."} 
[2026-07-01 00:40:29] local.INFO: Processing buffer {"connection_id":118572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19eedf68012d6b75800612b870000201522b..."} 
[2026-07-01 00:40:29] local.INFO: Packet analysis {"connection_id":118572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19ee"} 
[2026-07-01 00:40:29] local.INFO: Extracted packet for processing {"connection_id":118572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19ee"} 
[2026-07-01 00:40:29] local.INFO: GPS Element Parsed {"raw_longitude":762017152,"raw_latitude":101890160,"longitude_deg":76.2017152,"latitude_deg":10.189016,"altitude":2,"angle":338,"satellites":43,"speed":15,"hex_longitude":"2d6b7580","hex_latitude":"0612b870","is_valid_coordinates":true} 
[2026-07-01 00: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-01 00:40:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408706304001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:40:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332226784181354496,"note":"Value kept but may cause issues"} 
[2026-07-01 00:40:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7744080322835466240,"note":"Value kept but may cause issues"} 
[2026-07-01 00:40:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:40:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782846513000,"timestamp_ms":1782846513000,"timestamp_seconds":1782846513,"priority":1,"record_length":96,"hex_timestamp":"0000019f19eedf68"} 
[2026-07-01 00: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-01 00:40:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 00:40:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00: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-01 00: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-01 00:40:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:40:29] local.INFO: Teltonika packet parsed successfully {"connection_id":118572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:40:29] local.INFO: Passing IMEI to GPS processor {"connection_id":118572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:40:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":118572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:40:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:40:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:40:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:40:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408706304001,"66":27463,"137":206,"79":46336,"24":15,"16":332226784181354496,"45":7744080322835466240},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,79,24,16,45]} 
[2026-07-01 00:40:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:40:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:40:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408706304001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:40:29] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-01 00:40:29] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-01 00:40:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332226784181354496,"km_value":332226784181354.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:40:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":7744080322835466240,"description":"Unknown IO ID 45"} 
[2026-07-01 00:40:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408706304001,"power":27463,"unknown_137":206,"unknown_79":46336,"ignition":15,"odometer":null,"unknown_45":7744080322835466240}} 
[2026-07-01 00:40:29] local.INFO: DEBUG: GPS processor result {"connection_id":118572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:40:29] local.INFO: GPS data processed {"connection_id":118572,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:40:29] local.INFO: Acknowledgment sent {"connection_id":118572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:40:30] local.INFO: TCP Data received {"connection_id":118685,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f19ec9960012d7e394005d34d880005002e2d..."} 
[2026-07-01 00:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19ec9960012d7e394005d34d880005002e2d..."} 
[2026-07-01 00:40:30] local.INFO: Processing buffer {"connection_id":118685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19ec9960012d7e394005d34d880005002e2d..."} 
[2026-07-01 00:40:30] local.INFO: Packet analysis {"connection_id":118685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19ec"} 
[2026-07-01 00:40:30] local.INFO: Extracted packet for processing {"connection_id":118685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19ec"} 
[2026-07-01 00:40:30] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":45,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00: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-01 00:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408592128001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:40:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215515136,"note":"Value kept but may cause issues"} 
[2026-07-01 00:40:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782846364000,"timestamp_ms":1782846364000,"timestamp_seconds":1782846364,"priority":1,"record_length":96,"hex_timestamp":"0000019f19ec9960"} 
[2026-07-01 00: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-01 00:40:30] 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-01 00: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-01 00:40:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00: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-01 00: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-01 00:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":118685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":118685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":118685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:40:30] 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-01 00:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408592128001,"66":2209,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9095371316215515136},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408592128001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:40:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:40:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:40:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215515136,"description":"Unknown IO ID 45"} 
[2026-07-01 00:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408592128001,"power":2209,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215515136}} 
[2026-07-01 00:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":118685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415482,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:40:30] local.INFO: GPS data processed {"connection_id":118685,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:40:30] local.INFO: Acknowledgment sent {"connection_id":118685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:40:48] local.INFO: TCP Data received {"connection_id":119331,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119331,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:40:48] local.INFO: Processing buffer {"connection_id":119331,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:40:48] local.INFO: IMEI packet received {"connection_id":119331,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 00:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":119331,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:40:53] local.INFO: TCP Data received {"connection_id":119331,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119331,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:40:53] local.INFO: Processing buffer {"connection_id":119331,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:40:53] local.INFO: IMEI packet received {"connection_id":119331,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 00:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":119331,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:40:54] local.INFO: TCP Data received {"connection_id":119331,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f19ec9960012d7e394005d34d880005002e2d..."} 
[2026-07-01 00:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19ec9960012d7e394005d34d880005002e2d..."} 
[2026-07-01 00:40:54] local.INFO: Processing buffer {"connection_id":119331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19ec9960012d7e394005d34d880005002e2d..."} 
[2026-07-01 00:40:54] local.INFO: Packet analysis {"connection_id":119331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19ec"} 
[2026-07-01 00:40:54] local.INFO: Extracted packet for processing {"connection_id":119331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19ec"} 
[2026-07-01 00:40:54] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":45,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408592128001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:40:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215515136,"note":"Value kept but may cause issues"} 
[2026-07-01 00:40:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782846364000,"timestamp_ms":1782846364000,"timestamp_seconds":1782846364,"priority":1,"record_length":96,"hex_timestamp":"0000019f19ec9960"} 
[2026-07-01 00:40:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:40:54] 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-01 00:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-01 00:40:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:40:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:40:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":119331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":119331,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":119331,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:40: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-01 00:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:40:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408592128001,"66":2209,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9095371316215515136},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:40:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:40:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:40:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408592128001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:40:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:40:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:40:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:40:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215515136,"description":"Unknown IO ID 45"} 
[2026-07-01 00:40:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408592128001,"power":2209,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215515136}} 
[2026-07-01 00:40:54] local.INFO: DEBUG: GPS processor result {"connection_id":119331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415483,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:40:54] local.INFO: GPS data processed {"connection_id":119331,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:40:54] local.INFO: Acknowledgment sent {"connection_id":119331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:41:00] local.INFO: TCP Data received {"connection_id":118572,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f19eeef08012d6b73c00612bf80000301632b..."} 
[2026-07-01 00:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19eeef08012d6b73c00612bf80000301632b..."} 
[2026-07-01 00:41:00] local.INFO: Processing buffer {"connection_id":118572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19eeef08012d6b73c00612bf80000301632b..."} 
[2026-07-01 00:41:00] local.INFO: Packet analysis {"connection_id":118572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19ee"} 
[2026-07-01 00:41:00] local.INFO: Extracted packet for processing {"connection_id":118572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19ee"} 
[2026-07-01 00:41:00] local.INFO: GPS Element Parsed {"raw_longitude":762016704,"raw_latitude":101891968,"longitude_deg":76.2016704,"latitude_deg":10.1891968,"altitude":3,"angle":355,"satellites":43,"speed":20,"hex_longitude":"2d6b73c0","hex_latitude":"0612bf80","is_valid_coordinates":true} 
[2026-07-01 00:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408707328001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332226874375667712,"note":"Value kept but may cause issues"} 
[2026-07-01 00:41:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7743235897905672192,"note":"Value kept but may cause issues"} 
[2026-07-01 00:41:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782846517000,"timestamp_ms":1782846517000,"timestamp_seconds":1782846517,"priority":1,"record_length":96,"hex_timestamp":"0000019f19eeef08"} 
[2026-07-01 00:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:41:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-01 00:41:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:41:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":118572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":118572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":118572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:41:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408707328001,"66":27615,"137":206,"79":46336,"24":20,"16":332226874375667712,"45":7743235897905672192},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,79,24,16,45]} 
[2026-07-01 00:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408707328001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:41:00] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-01 00:41:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-01 00:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332226874375667712,"km_value":332226874375667.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:41:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":7743235897905672192,"description":"Unknown IO ID 45"} 
[2026-07-01 00:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408707328001,"power":27615,"unknown_137":206,"unknown_79":46336,"ignition":20,"odometer":null,"unknown_45":7743235897905672192}} 
[2026-07-01 00:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":118572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:41:00] local.INFO: GPS data processed {"connection_id":118572,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:41:00] local.INFO: Acknowledgment sent {"connection_id":118572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:41:22] local.INFO: TCP Data received {"connection_id":120448,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:41:22] local.INFO: Processing buffer {"connection_id":120448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:41:22] local.INFO: IMEI packet received {"connection_id":120448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 00:41:22] local.INFO: IMEI acknowledgment sent {"connection_id":120448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:41:23] local.INFO: TCP Data received {"connection_id":120448,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:41:23] local.INFO: Processing buffer {"connection_id":120448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:41:23] local.INFO: IMEI packet received {"connection_id":120448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":120448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:41:25] local.INFO: TCP Data received {"connection_id":119331,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f19f13128012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19f13128012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:41:25] local.INFO: Processing buffer {"connection_id":119331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19f13128012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:41:25] local.INFO: Packet analysis {"connection_id":119331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19f1"} 
[2026-07-01 00:41:25] local.INFO: Extracted packet for processing {"connection_id":119331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19f1"} 
[2026-07-01 00:41:25] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":46,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:41:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408669184001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:41:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:41:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215515136,"note":"Value kept but may cause issues"} 
[2026-07-01 00:41:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:41:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782846665000,"timestamp_ms":1782846665000,"timestamp_seconds":1782846665,"priority":1,"record_length":96,"hex_timestamp":"0000019f19f13128"} 
[2026-07-01 00:41:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:41:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 00:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-01 00:41:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:41:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:41:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:41:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:41:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:41:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119331,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:41:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119331,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:41: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-01 00:41:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:41:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:41:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408669184001,"66":2209,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9095371316215515136},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:41:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:41:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:41:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408669184001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:41:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:41:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:41:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:41:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215515136,"description":"Unknown IO ID 45"} 
[2026-07-01 00:41:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408669184001,"power":2209,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215515136}} 
[2026-07-01 00:41:25] local.INFO: DEBUG: GPS processor result {"connection_id":119331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415485,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:41:25] local.INFO: GPS data processed {"connection_id":119331,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:41:25] local.INFO: Acknowledgment sent {"connection_id":119331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:41:27] local.INFO: TCP Data received {"connection_id":120448,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:41:27] local.INFO: Processing buffer {"connection_id":120448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:41:27] local.INFO: IMEI packet received {"connection_id":120448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":120448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:41:53] local.INFO: TCP Data received {"connection_id":118688,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118688,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:41:53] local.INFO: Processing buffer {"connection_id":118688,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:41:53] local.INFO: IMEI packet received {"connection_id":118688,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 00:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":118688,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:41:58] local.INFO: TCP Data received {"connection_id":118688,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118688,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:41:58] local.INFO: Processing buffer {"connection_id":118688,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:41:58] local.INFO: IMEI packet received {"connection_id":118688,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 00:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":118688,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:42:03] local.INFO: TCP Data received {"connection_id":118688,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118688,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:42:03] local.INFO: Processing buffer {"connection_id":118688,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:42:03] local.INFO: IMEI packet received {"connection_id":118688,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 00:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":118688,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:42:03] local.INFO: TCP Data received {"connection_id":118688,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f19f13128012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19f13128012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:42:03] local.INFO: Processing buffer {"connection_id":118688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19f13128012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:42:03] local.INFO: Packet analysis {"connection_id":118688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19f1"} 
[2026-07-01 00:42:03] local.INFO: Extracted packet for processing {"connection_id":118688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19f1"} 
[2026-07-01 00:42:03] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":46,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408669184001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215515136,"note":"Value kept but may cause issues"} 
[2026-07-01 00:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782846665000,"timestamp_ms":1782846665000,"timestamp_seconds":1782846665,"priority":1,"record_length":96,"hex_timestamp":"0000019f19f13128"} 
[2026-07-01 00:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:42:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 00:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-01 00:42:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:42:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":118688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":118688,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":118688,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:42: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-01 00:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408669184001,"66":2209,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9095371316215515136},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408669184001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:42:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:42:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215515136,"description":"Unknown IO ID 45"} 
[2026-07-01 00:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408669184001,"power":2209,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215515136}} 
[2026-07-01 00:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":118688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415486,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:42:04] local.INFO: GPS data processed {"connection_id":118688,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:42:04] local.INFO: Acknowledgment sent {"connection_id":118688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:42:08] local.INFO: TCP Data received {"connection_id":118688,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f19f13128012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19f13128012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:42:08] local.INFO: Processing buffer {"connection_id":118688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19f13128012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:42:08] local.INFO: Packet analysis {"connection_id":118688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19f1"} 
[2026-07-01 00:42:08] local.INFO: Extracted packet for processing {"connection_id":118688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19f1"} 
[2026-07-01 00:42:08] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":46,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408669184001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215515136,"note":"Value kept but may cause issues"} 
[2026-07-01 00:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782846665000,"timestamp_ms":1782846665000,"timestamp_seconds":1782846665,"priority":1,"record_length":96,"hex_timestamp":"0000019f19f13128"} 
[2026-07-01 00:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 00:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-01 00:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":118688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":118688,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":118688,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:42: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-01 00:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408669184001,"66":2209,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9095371316215515136},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408669184001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:42:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:42:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215515136,"description":"Unknown IO ID 45"} 
[2026-07-01 00:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408669184001,"power":2209,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215515136}} 
[2026-07-01 00:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":118688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415487,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:42:09] local.INFO: GPS data processed {"connection_id":118688,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:42:09] local.INFO: Acknowledgment sent {"connection_id":118688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:42:19] local.INFO: TCP Data received {"connection_id":118573,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:42:19] local.INFO: Processing buffer {"connection_id":118573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:42:19] local.INFO: IMEI packet received {"connection_id":118573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 00:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":118573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:42:21] local.INFO: TCP Data received {"connection_id":118573,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:42:21] local.INFO: Processing buffer {"connection_id":118573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:42:21] local.INFO: IMEI packet received {"connection_id":118573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:42:21] local.INFO: IMEI acknowledgment sent {"connection_id":118573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:42:22] local.INFO: TCP Data received {"connection_id":118573,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:42:22] local.INFO: Processing buffer {"connection_id":118573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:42:22] local.INFO: IMEI packet received {"connection_id":118573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:42:22] local.INFO: IMEI acknowledgment sent {"connection_id":118573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:42:27] local.INFO: TCP Data received {"connection_id":118573,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:42:27] local.INFO: Processing buffer {"connection_id":118573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:42:27] local.INFO: IMEI packet received {"connection_id":118573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":118573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:42:30] local.INFO: TCP Data received {"connection_id":118573,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f19f12958012d6b43c006149ac0000401632d..."} 
[2026-07-01 00:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19f12958012d6b43c006149ac0000401632d..."} 
[2026-07-01 00:42:30] local.INFO: Processing buffer {"connection_id":118573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19f12958012d6b43c006149ac0000401632d..."} 
[2026-07-01 00:42:30] local.INFO: Packet analysis {"connection_id":118573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19f1"} 
[2026-07-01 00:42:30] local.INFO: Extracted packet for processing {"connection_id":118573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19f1"} 
[2026-07-01 00:42:30] local.INFO: GPS Element Parsed {"raw_longitude":762004416,"raw_latitude":102013632,"longitude_deg":76.2004416,"latitude_deg":10.2013632,"altitude":4,"angle":355,"satellites":45,"speed":38,"hex_longitude":"2d6b43c0","hex_latitude":"06149ac0","is_valid_coordinates":true} 
[2026-07-01 00: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-01 00:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408743168001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332232810020470784,"note":"Value kept but may cause issues"} 
[2026-07-01 00:42:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7729865836541093888,"note":"Value kept but may cause issues"} 
[2026-07-01 00:42:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782846663000,"timestamp_ms":1782846663000,"timestamp_seconds":1782846663,"priority":1,"record_length":96,"hex_timestamp":"0000019f19f12958"} 
[2026-07-01 00: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-01 00:42:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-01 00:42:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00: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-01 00: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-01 00:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":118573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":118573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":118573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:42:30] 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-01 00:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408743168001,"66":27332,"167":206,"79":20992,"24":38,"16":332232810020470784,"45":7729865836541093888},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,79,24,16,45]} 
[2026-07-01 00:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408743168001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:42:30] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-01 00:42:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 00:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332232810020470784,"km_value":332232810020470.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:42:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":7729865836541093888,"description":"Unknown IO ID 45"} 
[2026-07-01 00:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408743168001,"power":27332,"unknown_167":206,"unknown_79":20992,"ignition":38,"odometer":null,"unknown_45":7729865836541093888}} 
[2026-07-01 00:42:30] local.INFO: DEBUG: GPS processor result {"connection_id":118573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:42:30] local.INFO: GPS data processed {"connection_id":118573,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:42:30] local.INFO: Acknowledgment sent {"connection_id":118573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:42:37] local.INFO: TCP Data received {"connection_id":120448,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f19ef21d0012d6b71000612e5180003016129..."} 
[2026-07-01 00:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19ef21d0012d6b71000612e5180003016129..."} 
[2026-07-01 00:42:37] local.INFO: Processing buffer {"connection_id":120448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19ef21d0012d6b71000612e5180003016129..."} 
[2026-07-01 00:42:37] local.INFO: Packet analysis {"connection_id":120448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19ef"} 
[2026-07-01 00:42:37] local.INFO: Extracted packet for processing {"connection_id":120448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19ef"} 
[2026-07-01 00:42:37] local.INFO: GPS Element Parsed {"raw_longitude":762016000,"raw_latitude":101901592,"longitude_deg":76.2016,"latitude_deg":10.1901592,"altitude":3,"angle":353,"satellites":41,"speed":37,"hex_longitude":"2d6b7100","hex_latitude":"0612e518","is_valid_coordinates":true} 
[2026-07-01 00:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408708352001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332227342527102976,"note":"Value kept but may cause issues"} 
[2026-07-01 00:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7742743316696891392,"note":"Value kept but may cause issues"} 
[2026-07-01 00:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782846530000,"timestamp_ms":1782846530000,"timestamp_seconds":1782846530,"priority":1,"record_length":96,"hex_timestamp":"0000019f19ef21d0"} 
[2026-07-01 00:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-01 00:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":120448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":120448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":120448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408708352001,"66":27571,"137":206,"79":46336,"24":37,"16":332227342527102976,"45":7742743316696891392},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,79,24,16,45]} 
[2026-07-01 00:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408708352001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:42:37] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-01 00:42:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-07-01 00:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332227342527102976,"km_value":332227342527103.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7742743316696891392,"description":"Unknown IO ID 45"} 
[2026-07-01 00:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408708352001,"power":27571,"unknown_137":206,"unknown_79":46336,"ignition":37,"odometer":null,"unknown_45":7742743316696891392}} 
[2026-07-01 00:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":120448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:42:37] local.INFO: GPS data processed {"connection_id":120448,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:42:37] local.INFO: Acknowledgment sent {"connection_id":120448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:42:48] local.INFO: TCP Data received {"connection_id":119333,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119333,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:42:48] local.INFO: Processing buffer {"connection_id":119333,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:42:48] local.INFO: IMEI packet received {"connection_id":119333,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 00:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":119333,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:42:53] local.INFO: TCP Data received {"connection_id":119333,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119333,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:42:53] local.INFO: Processing buffer {"connection_id":119333,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:42:53] local.INFO: IMEI packet received {"connection_id":119333,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 00:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":119333,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:42:54] local.INFO: TCP Data received {"connection_id":119333,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f19f13128012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19f13128012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:42:54] local.INFO: Processing buffer {"connection_id":119333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19f13128012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:42:54] local.INFO: Packet analysis {"connection_id":119333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19f1"} 
[2026-07-01 00:42:54] local.INFO: Extracted packet for processing {"connection_id":119333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19f1"} 
[2026-07-01 00:42:54] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":46,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:42:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408669184001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:42:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:42:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215515136,"note":"Value kept but may cause issues"} 
[2026-07-01 00:42:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:42:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782846665000,"timestamp_ms":1782846665000,"timestamp_seconds":1782846665,"priority":1,"record_length":96,"hex_timestamp":"0000019f19f13128"} 
[2026-07-01 00:42:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:42:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 00:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-01 00:42:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:42:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:42:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:42:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:42:54] local.INFO: Teltonika packet parsed successfully {"connection_id":119333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:42:54] local.INFO: Passing IMEI to GPS processor {"connection_id":119333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:42:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":119333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:42:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:42:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:42:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:42:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408669184001,"66":2209,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9095371316215515136},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:42:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:42:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:42:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408669184001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:42:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:42:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:42:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:42:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215515136,"description":"Unknown IO ID 45"} 
[2026-07-01 00:42:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408669184001,"power":2209,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215515136}} 
[2026-07-01 00:42:54] local.INFO: DEBUG: GPS processor result {"connection_id":119333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415490,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:42:54] local.INFO: GPS data processed {"connection_id":119333,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:42:54] local.INFO: Acknowledgment sent {"connection_id":119333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:42:59] local.INFO: TCP Data received {"connection_id":119333,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f19f13128012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19f13128012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:42:59] local.INFO: Processing buffer {"connection_id":119333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19f13128012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:42:59] local.INFO: Packet analysis {"connection_id":119333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19f1"} 
[2026-07-01 00:42:59] local.INFO: Extracted packet for processing {"connection_id":119333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19f1"} 
[2026-07-01 00:42:59] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":46,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408669184001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215515136,"note":"Value kept but may cause issues"} 
[2026-07-01 00:42:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782846665000,"timestamp_ms":1782846665000,"timestamp_seconds":1782846665,"priority":1,"record_length":96,"hex_timestamp":"0000019f19f13128"} 
[2026-07-01 00:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:42:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 00:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-01 00:42:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:42:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:42:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408669184001,"66":2209,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9095371316215515136},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408669184001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:42:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:42:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215515136,"description":"Unknown IO ID 45"} 
[2026-07-01 00:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408669184001,"power":2209,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215515136}} 
[2026-07-01 00:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":119333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415491,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:42:59] local.INFO: GPS data processed {"connection_id":119333,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:42:59] local.INFO: Acknowledgment sent {"connection_id":119333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:43:01] local.INFO: TCP Data received {"connection_id":118573,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f19f15068012d6b3f000614be500003015d2b..."} 
[2026-07-01 00:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19f15068012d6b3f000614be500003015d2b..."} 
[2026-07-01 00:43:01] local.INFO: Processing buffer {"connection_id":118573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19f15068012d6b3f000614be500003015d2b..."} 
[2026-07-01 00:43:01] local.INFO: Packet analysis {"connection_id":118573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19f1"} 
[2026-07-01 00:43:01] local.INFO: Extracted packet for processing {"connection_id":118573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19f1"} 
[2026-07-01 00:43:01] local.INFO: GPS Element Parsed {"raw_longitude":762003200,"raw_latitude":102022736,"longitude_deg":76.20032,"latitude_deg":10.2022736,"altitude":3,"angle":349,"satellites":43,"speed":31,"hex_longitude":"2d6b3f00","hex_latitude":"0614be50","is_valid_coordinates":true} 
[2026-07-01 00:43:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:43:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408745728001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:43:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332233252402102272,"note":"Value kept but may cause issues"} 
[2026-07-01 00:43:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7729232517845925888,"note":"Value kept but may cause issues"} 
[2026-07-01 00:43:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:43:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782846673000,"timestamp_ms":1782846673000,"timestamp_seconds":1782846673,"priority":1,"record_length":96,"hex_timestamp":"0000019f19f15068"} 
[2026-07-01 00:43:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:43:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:43:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-01 00:43:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:43:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:43:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:43:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:43:01] local.INFO: Teltonika packet parsed successfully {"connection_id":118573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:43:01] local.INFO: Passing IMEI to GPS processor {"connection_id":118573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:43:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":118573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:43:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:43:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:43:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:43:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408745728001,"66":27376,"167":206,"79":20992,"24":31,"16":332233252402102272,"45":7729232517845925888},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,79,24,16,45]} 
[2026-07-01 00:43:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:43:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:43:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408745728001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:43:01] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-01 00:43:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 00:43:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332233252402102272,"km_value":332233252402102.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:43:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7729232517845925888,"description":"Unknown IO ID 45"} 
[2026-07-01 00:43:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408745728001,"power":27376,"unknown_167":206,"unknown_79":20992,"ignition":31,"odometer":null,"unknown_45":7729232517845925888}} 
[2026-07-01 00:43:01] local.INFO: DEBUG: GPS processor result {"connection_id":118573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:43:01] local.INFO: GPS data processed {"connection_id":118573,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:43:01] local.INFO: Acknowledgment sent {"connection_id":118573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:43:27] local.INFO: TCP Data received {"connection_id":118574,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:43:27] local.INFO: Processing buffer {"connection_id":118574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:43:27] local.INFO: IMEI packet received {"connection_id":118574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 00:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":118574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:43:30] local.INFO: TCP Data received {"connection_id":119333,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f19f13128012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19f13128012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:43:30] local.INFO: Processing buffer {"connection_id":119333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19f13128012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:43:30] local.INFO: Packet analysis {"connection_id":119333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19f1"} 
[2026-07-01 00:43:30] local.INFO: Extracted packet for processing {"connection_id":119333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19f1"} 
[2026-07-01 00:43:30] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":46,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00: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-01 00:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408669184001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:43:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215515136,"note":"Value kept but may cause issues"} 
[2026-07-01 00:43:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782846665000,"timestamp_ms":1782846665000,"timestamp_seconds":1782846665,"priority":1,"record_length":96,"hex_timestamp":"0000019f19f13128"} 
[2026-07-01 00: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-01 00:43:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 00: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-01 00:43:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00: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-01 00: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-01 00:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":119333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":119333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":119333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:43:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408669184001,"66":2209,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9095371316215515136},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408669184001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:43:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:43:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:43:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215515136,"description":"Unknown IO ID 45"} 
[2026-07-01 00:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408669184001,"power":2209,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215515136}} 
[2026-07-01 00:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":119333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415493,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:43:30] local.INFO: GPS data processed {"connection_id":119333,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:43:30] local.INFO: Acknowledgment sent {"connection_id":119333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:43:31] local.INFO: TCP Data received {"connection_id":118574,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:43:31] local.INFO: Processing buffer {"connection_id":118574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:43:31] local.INFO: IMEI packet received {"connection_id":118574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":118574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:43:32] local.INFO: TCP Data received {"connection_id":118574,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f19f27d30012d6b20c00615be20000501572d..."} 
[2026-07-01 00:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19f27d30012d6b20c00615be20000501572d..."} 
[2026-07-01 00:43:32] local.INFO: Processing buffer {"connection_id":118574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19f27d30012d6b20c00615be20000501572d..."} 
[2026-07-01 00:43:32] local.INFO: Packet analysis {"connection_id":118574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19f2"} 
[2026-07-01 00:43:32] local.INFO: Extracted packet for processing {"connection_id":118574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19f2"} 
[2026-07-01 00:43:32] local.INFO: GPS Element Parsed {"raw_longitude":761995456,"raw_latitude":102088224,"longitude_deg":76.1995456,"latitude_deg":10.2088224,"altitude":5,"angle":343,"satellites":45,"speed":51,"hex_longitude":"2d6b20c0","hex_latitude":"0615be20","is_valid_coordinates":true} 
[2026-07-01 00:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408765952001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332236473627574272,"note":"Value kept but may cause issues"} 
[2026-07-01 00:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7722054905956386816,"note":"Value kept but may cause issues"} 
[2026-07-01 00:43:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782846750000,"timestamp_ms":1782846750000,"timestamp_seconds":1782846750,"priority":1,"record_length":96,"hex_timestamp":"0000019f19f27d30"} 
[2026-07-01 00:43:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:43:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-01 00:43:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:43:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:43:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":118574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":118574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":118574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:43:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408765952001,"66":27321,"166":206,"79":20992,"24":51,"16":332236473627574272,"45":7722054905956386816},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,79,24,16,45]} 
[2026-07-01 00:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408765952001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:43:32] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-07-01 00:43:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 00:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332236473627574272,"km_value":332236473627574.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":7722054905956386816,"description":"Unknown IO ID 45"} 
[2026-07-01 00:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408765952001,"power":27321,"unknown_166":206,"unknown_79":20992,"ignition":51,"odometer":null,"unknown_45":7722054905956386816}} 
[2026-07-01 00:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":118574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:43:32] local.INFO: GPS data processed {"connection_id":118574,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:43:32] local.INFO: Acknowledgment sent {"connection_id":118574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:43:48] local.INFO: TCP Data received {"connection_id":118689,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118689,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:43:48] local.INFO: Processing buffer {"connection_id":118689,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:43:48] local.INFO: IMEI packet received {"connection_id":118689,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 00:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":118689,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:43:53] local.INFO: TCP Data received {"connection_id":118689,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118689,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:43:53] local.INFO: Processing buffer {"connection_id":118689,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:43:53] local.INFO: IMEI packet received {"connection_id":118689,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 00:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":118689,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:43:55] local.INFO: TCP Data received {"connection_id":118689,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f19f13128012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19f13128012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:43:55] local.INFO: Processing buffer {"connection_id":118689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19f13128012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:43:55] local.INFO: Packet analysis {"connection_id":118689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19f1"} 
[2026-07-01 00:43:55] local.INFO: Extracted packet for processing {"connection_id":118689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19f1"} 
[2026-07-01 00:43:55] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":46,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408669184001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:43:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215515136,"note":"Value kept but may cause issues"} 
[2026-07-01 00:43:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782846665000,"timestamp_ms":1782846665000,"timestamp_seconds":1782846665,"priority":1,"record_length":96,"hex_timestamp":"0000019f19f13128"} 
[2026-07-01 00:43:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:43:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 00:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-01 00:43:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:43:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:43:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":118689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":118689,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":118689,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:43: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-01 00:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408669184001,"66":2209,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9095371316215515136},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408669184001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:43:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:43:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:43:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215515136,"description":"Unknown IO ID 45"} 
[2026-07-01 00:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408669184001,"power":2209,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215515136}} 
[2026-07-01 00:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":118689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415495,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:43:55] local.INFO: GPS data processed {"connection_id":118689,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:43:55] local.INFO: Acknowledgment sent {"connection_id":118689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:44:05] local.INFO: TCP Data received {"connection_id":118574,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f19f29888012d6b15c00615df58000701552c..."} 
[2026-07-01 00:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19f29888012d6b15c00615df58000701552c..."} 
[2026-07-01 00:44:05] local.INFO: Processing buffer {"connection_id":118574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19f29888012d6b15c00615df58000701552c..."} 
[2026-07-01 00:44:05] local.INFO: Packet analysis {"connection_id":118574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19f2"} 
[2026-07-01 00:44:05] local.INFO: Extracted packet for processing {"connection_id":118574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19f2"} 
[2026-07-01 00:44:05] local.INFO: GPS Element Parsed {"raw_longitude":761992640,"raw_latitude":102096728,"longitude_deg":76.199264,"latitude_deg":10.2096728,"altitude":7,"angle":341,"satellites":44,"speed":50,"hex_longitude":"2d6b15c0","hex_latitude":"0615df58","is_valid_coordinates":true} 
[2026-07-01 00: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-01 00:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408768000001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332236907419271168,"note":"Value kept but may cause issues"} 
[2026-07-01 00:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7719380893680148480,"note":"Value kept but may cause issues"} 
[2026-07-01 00:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782846757000,"timestamp_ms":1782846757000,"timestamp_seconds":1782846757,"priority":1,"record_length":96,"hex_timestamp":"0000019f19f29888"} 
[2026-07-01 00: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-01 00:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-01 00:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00: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-01 00: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-01 00:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":118574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":118574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":118574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:44: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-01 00:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408768000001,"66":27332,"166":206,"79":20992,"24":50,"16":332236907419271168,"45":7719380893680148480},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,79,24,16,45]} 
[2026-07-01 00:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408768000001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:44:05] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-07-01 00:44:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 00:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332236907419271168,"km_value":332236907419271.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7719380893680148480,"description":"Unknown IO ID 45"} 
[2026-07-01 00:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408768000001,"power":27332,"unknown_166":206,"unknown_79":20992,"ignition":50,"odometer":null,"unknown_45":7719380893680148480}} 
[2026-07-01 00:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":118574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:44:05] local.INFO: GPS data processed {"connection_id":118574,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:44:05] local.INFO: Acknowledgment sent {"connection_id":118574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:44:22] local.INFO: TCP Data received {"connection_id":118575,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:44:22] local.INFO: Processing buffer {"connection_id":118575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:44:22] local.INFO: IMEI packet received {"connection_id":118575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 00:44:22] local.INFO: IMEI acknowledgment sent {"connection_id":118575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:44:23] local.INFO: TCP Data received {"connection_id":118575,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:44:23] local.INFO: Processing buffer {"connection_id":118575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:44:23] local.INFO: IMEI packet received {"connection_id":118575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":118575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:44:26] local.INFO: TCP Data received {"connection_id":118689,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f19f13128012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19f13128012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:44:26] local.INFO: Processing buffer {"connection_id":118689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19f13128012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:44:26] local.INFO: Packet analysis {"connection_id":118689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19f1"} 
[2026-07-01 00:44:26] local.INFO: Extracted packet for processing {"connection_id":118689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19f1"} 
[2026-07-01 00:44:26] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":46,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00: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-01 00:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408669184001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:44:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215515136,"note":"Value kept but may cause issues"} 
[2026-07-01 00:44:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782846665000,"timestamp_ms":1782846665000,"timestamp_seconds":1782846665,"priority":1,"record_length":96,"hex_timestamp":"0000019f19f13128"} 
[2026-07-01 00: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-01 00:44:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 00: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-01 00:44:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:44:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00: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-01 00:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":118689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":118689,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":118689,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:44: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-01 00:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408669184001,"66":2209,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9095371316215515136},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408669184001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:44:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:44:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:44:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215515136,"description":"Unknown IO ID 45"} 
[2026-07-01 00:44:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408669184001,"power":2209,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215515136}} 
[2026-07-01 00:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":118689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415497,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:44:26] local.INFO: GPS data processed {"connection_id":118689,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:44:26] local.INFO: Acknowledgment sent {"connection_id":118689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:44:27] local.INFO: TCP Data received {"connection_id":118575,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:44:27] local.INFO: Processing buffer {"connection_id":118575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:44:27] local.INFO: IMEI packet received {"connection_id":118575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":118575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:44:28] local.INFO: TCP Data received {"connection_id":118575,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f19f2b7c8012d6b094006160320000901552c..."} 
[2026-07-01 00:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19f2b7c8012d6b094006160320000901552c..."} 
[2026-07-01 00:44:28] local.INFO: Processing buffer {"connection_id":118575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19f2b7c8012d6b094006160320000901552c..."} 
[2026-07-01 00:44:28] local.INFO: Packet analysis {"connection_id":118575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19f2"} 
[2026-07-01 00:44:28] local.INFO: Extracted packet for processing {"connection_id":118575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19f2"} 
[2026-07-01 00:44:28] local.INFO: GPS Element Parsed {"raw_longitude":761989440,"raw_latitude":102105888,"longitude_deg":76.198944,"latitude_deg":10.2105888,"altitude":9,"angle":341,"satellites":44,"speed":47,"hex_longitude":"2d6b0940","hex_latitude":"06160320","is_valid_coordinates":true} 
[2026-07-01 00:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408769792001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332237379865673728,"note":"Value kept but may cause issues"} 
[2026-07-01 00:44:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7716284668938508288,"note":"Value kept but may cause issues"} 
[2026-07-01 00:44:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782846765000,"timestamp_ms":1782846765000,"timestamp_seconds":1782846765,"priority":1,"record_length":96,"hex_timestamp":"0000019f19f2b7c8"} 
[2026-07-01 00:44:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:44:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-01 00:44:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:44:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:44:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:44:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408769792001,"66":27169,"166":206,"79":20992,"24":47,"16":332237379865673728,"45":7716284668938508288},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,79,24,16,45]} 
[2026-07-01 00:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408769792001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:44:28] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-07-01 00:44:28] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 00:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332237379865673728,"km_value":332237379865673.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:44:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":7716284668938508288,"description":"Unknown IO ID 45"} 
[2026-07-01 00:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408769792001,"power":27169,"unknown_166":206,"unknown_79":20992,"ignition":47,"odometer":null,"unknown_45":7716284668938508288}} 
[2026-07-01 00:44:28] local.INFO: DEBUG: GPS processor result {"connection_id":118575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:44:28] local.INFO: GPS data processed {"connection_id":118575,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:44:28] local.INFO: Acknowledgment sent {"connection_id":118575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:44:42] local.INFO: TCP Data received {"connection_id":120449,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 00:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120449,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 00:44:42] local.INFO: Processing buffer {"connection_id":120449,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 00:44:42] local.INFO: IMEI packet received {"connection_id":120449,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 00:44:42] local.INFO: IMEI acknowledgment sent {"connection_id":120449,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:44:48] local.INFO: TCP Data received {"connection_id":118576,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118576,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:44:48] local.INFO: Processing buffer {"connection_id":118576,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:44:48] local.INFO: IMEI packet received {"connection_id":118576,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 00:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":118576,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:44:53] local.INFO: TCP Data received {"connection_id":118576,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118576,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:44:53] local.INFO: Processing buffer {"connection_id":118576,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:44:53] local.INFO: IMEI packet received {"connection_id":118576,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 00:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":118576,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:44:54] local.INFO: TCP Data received {"connection_id":118576,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f19f13128012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19f13128012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:44:54] local.INFO: Processing buffer {"connection_id":118576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19f13128012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:44:54] local.INFO: Packet analysis {"connection_id":118576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19f1"} 
[2026-07-01 00:44:54] local.INFO: Extracted packet for processing {"connection_id":118576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19f1"} 
[2026-07-01 00:44:54] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":46,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408669184001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:44:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215515136,"note":"Value kept but may cause issues"} 
[2026-07-01 00:44:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782846665000,"timestamp_ms":1782846665000,"timestamp_seconds":1782846665,"priority":1,"record_length":96,"hex_timestamp":"0000019f19f13128"} 
[2026-07-01 00: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-01 00:44:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 00: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-01 00:44:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00: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-01 00: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-01 00:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":118576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":118576,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":118576,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:44:54] 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-01 00:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408669184001,"66":2209,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9095371316215515136},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408669184001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:44:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:44:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:44:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215515136,"description":"Unknown IO ID 45"} 
[2026-07-01 00:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408669184001,"power":2209,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215515136}} 
[2026-07-01 00:44:54] local.INFO: DEBUG: GPS processor result {"connection_id":118576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415499,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:44:54] local.INFO: GPS data processed {"connection_id":118576,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:44:54] local.INFO: Acknowledgment sent {"connection_id":118576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:45:00] local.INFO: TCP Data received {"connection_id":118575,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f19f2d708012d6afd4006162638000b01552c..."} 
[2026-07-01 00:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19f2d708012d6afd4006162638000b01552c..."} 
[2026-07-01 00:45:00] local.INFO: Processing buffer {"connection_id":118575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19f2d708012d6afd4006162638000b01552c..."} 
[2026-07-01 00:45:00] local.INFO: Packet analysis {"connection_id":118575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19f2"} 
[2026-07-01 00:45:00] local.INFO: Extracted packet for processing {"connection_id":118575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19f2"} 
[2026-07-01 00:45:00] local.INFO: GPS Element Parsed {"raw_longitude":761986368,"raw_latitude":102114872,"longitude_deg":76.1986368,"latitude_deg":10.2114872,"altitude":11,"angle":341,"satellites":44,"speed":47,"hex_longitude":"2d6afd40","hex_latitude":"06162638","is_valid_coordinates":true} 
[2026-07-01 00:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408771840001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332237839427174400,"note":"Value kept but may cause issues"} 
[2026-07-01 00:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7712766231731970048,"note":"Value kept but may cause issues"} 
[2026-07-01 00:45:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782846773000,"timestamp_ms":1782846773000,"timestamp_seconds":1782846773,"priority":1,"record_length":96,"hex_timestamp":"0000019f19f2d708"} 
[2026-07-01 00:45:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:45:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-01 00:45:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:45:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:45:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":118575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":118575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":118575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:45:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408771840001,"66":27365,"236":206,"79":20992,"24":47,"16":332237839427174400,"45":7712766231731970048},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,79,24,16,45]} 
[2026-07-01 00:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408771840001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:45:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-07-01 00:45:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 00:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332237839427174400,"km_value":332237839427174.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":7712766231731970048,"description":"Unknown IO ID 45"} 
[2026-07-01 00:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408771840001,"power":27365,"unknown_236":206,"unknown_79":20992,"ignition":47,"odometer":null,"unknown_45":7712766231731970048}} 
[2026-07-01 00:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":118575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:45:00] local.INFO: GPS data processed {"connection_id":118575,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:45:00] local.INFO: Acknowledgment sent {"connection_id":118575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:45:22] local.INFO: TCP Data received {"connection_id":118577,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 00:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118577,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 00:45:22] local.INFO: Processing buffer {"connection_id":118577,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 00:45:22] local.INFO: IMEI packet received {"connection_id":118577,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 00:45:22] local.INFO: IMEI acknowledgment sent {"connection_id":118577,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:45:25] local.INFO: TCP Data received {"connection_id":118576,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f19f13128012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19f13128012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:45:25] local.INFO: Processing buffer {"connection_id":118576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19f13128012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:45:25] local.INFO: Packet analysis {"connection_id":118576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19f1"} 
[2026-07-01 00:45:25] local.INFO: Extracted packet for processing {"connection_id":118576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19f1"} 
[2026-07-01 00:45:25] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":46,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408669184001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:45:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:45:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215515136,"note":"Value kept but may cause issues"} 
[2026-07-01 00:45:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:45:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782846665000,"timestamp_ms":1782846665000,"timestamp_seconds":1782846665,"priority":1,"record_length":96,"hex_timestamp":"0000019f19f13128"} 
[2026-07-01 00:45:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:45:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 00:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-01 00:45:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:45:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:45:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:45:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:45:25] local.INFO: Teltonika packet parsed successfully {"connection_id":118576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:45:25] local.INFO: Passing IMEI to GPS processor {"connection_id":118576,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:45:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":118576,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:45:25] 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-01 00:45:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408669184001,"66":2209,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9095371316215515136},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408669184001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:45:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:45:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:45:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215515136,"description":"Unknown IO ID 45"} 
[2026-07-01 00:45:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408669184001,"power":2209,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215515136}} 
[2026-07-01 00:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":118576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415501,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:45:25] local.INFO: GPS data processed {"connection_id":118576,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:45:25] local.INFO: Acknowledgment sent {"connection_id":118576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:45:27] local.INFO: TCP Data received {"connection_id":118690,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:45:27] local.INFO: Processing buffer {"connection_id":118690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:45:27] local.INFO: IMEI packet received {"connection_id":118690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 00:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":118690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:45:32] local.INFO: TCP Data received {"connection_id":118690,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:45:32] local.INFO: Processing buffer {"connection_id":118690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:45:32] local.INFO: IMEI packet received {"connection_id":118690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":118690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:45:33] local.INFO: TCP Data received {"connection_id":118690,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f19f41f28012d6a90000617b1f8000901662b..."} 
[2026-07-01 00:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19f41f28012d6a90000617b1f8000901662b..."} 
[2026-07-01 00:45:33] local.INFO: Processing buffer {"connection_id":118690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19f41f28012d6a90000617b1f8000901662b..."} 
[2026-07-01 00:45:33] local.INFO: Packet analysis {"connection_id":118690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19f4"} 
[2026-07-01 00:45:33] local.INFO: Extracted packet for processing {"connection_id":118690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19f4"} 
[2026-07-01 00:45:33] local.INFO: GPS Element Parsed {"raw_longitude":761958400,"raw_latitude":102216184,"longitude_deg":76.19584,"latitude_deg":10.2216184,"altitude":9,"angle":358,"satellites":43,"speed":47,"hex_longitude":"2d6a9000","hex_latitude":"0617b1f8","is_valid_coordinates":true} 
[2026-07-01 00:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408793344001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332242959028191232,"note":"Value kept but may cause issues"} 
[2026-07-01 00:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7679200340785043456,"note":"Value kept but may cause issues"} 
[2026-07-01 00:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782846857000,"timestamp_ms":1782846857000,"timestamp_seconds":1782846857,"priority":1,"record_length":96,"hex_timestamp":"0000019f19f41f28"} 
[2026-07-01 00:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:45:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-01 00:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:45:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":118690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":118690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":118690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408793344001,"66":27234,"93":206,"79":20992,"24":47,"16":332242959028191232,"45":7679200340785043456},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,79,24,16,45]} 
[2026-07-01 00:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408793344001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:45:33] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-07-01 00:45:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 00:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332242959028191232,"km_value":332242959028191.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7679200340785043456,"description":"Unknown IO ID 45"} 
[2026-07-01 00:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408793344001,"power":27234,"unknown_93":206,"unknown_79":20992,"ignition":47,"odometer":null,"unknown_45":7679200340785043456}} 
[2026-07-01 00:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":118690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:45:33] local.INFO: GPS data processed {"connection_id":118690,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:45:33] local.INFO: Acknowledgment sent {"connection_id":118690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:45:48] local.INFO: TCP Data received {"connection_id":118691,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118691,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:45:48] local.INFO: Processing buffer {"connection_id":118691,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:45:48] local.INFO: IMEI packet received {"connection_id":118691,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 00:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":118691,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:45:53] local.INFO: TCP Data received {"connection_id":118691,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118691,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:45:53] local.INFO: Processing buffer {"connection_id":118691,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:45:53] local.INFO: IMEI packet received {"connection_id":118691,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 00:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":118691,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:45:57] local.INFO: TCP Data received {"connection_id":118691,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f19f13128012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19f13128012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:45:57] local.INFO: Processing buffer {"connection_id":118691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19f13128012d7e394005d34d880005002e2e..."} 
[2026-07-01 00:45:57] local.INFO: Packet analysis {"connection_id":118691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19f1"} 
[2026-07-01 00:45:57] local.INFO: Extracted packet for processing {"connection_id":118691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19f1"} 
[2026-07-01 00:45:57] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":46,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:45:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408669184001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:45:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:45:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215515136,"note":"Value kept but may cause issues"} 
[2026-07-01 00:45:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:45:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782846665000,"timestamp_ms":1782846665000,"timestamp_seconds":1782846665,"priority":1,"record_length":96,"hex_timestamp":"0000019f19f13128"} 
[2026-07-01 00:45:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:45:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 00:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-01 00:45:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:45:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:45:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:45:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:45:57] local.INFO: Teltonika packet parsed successfully {"connection_id":118691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:45:57] local.INFO: Passing IMEI to GPS processor {"connection_id":118691,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:45:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":118691,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:45:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:45:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:45:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:45:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408669184001,"66":2209,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9095371316215515136},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:45:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:45:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:45:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408669184001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:45:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:45:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:45:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:45:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215515136,"description":"Unknown IO ID 45"} 
[2026-07-01 00:45:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408669184001,"power":2209,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215515136}} 
[2026-07-01 00:45:57] local.INFO: DEBUG: GPS processor result {"connection_id":118691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415503,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:45:57] local.INFO: GPS data processed {"connection_id":118691,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:45:57] local.INFO: Acknowledgment sent {"connection_id":118691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:46:04] local.INFO: TCP Data received {"connection_id":118690,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f19f43e68012d6a90000617d858000900002c..."} 
[2026-07-01 00:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19f43e68012d6a90000617d858000900002c..."} 
[2026-07-01 00:46:04] local.INFO: Processing buffer {"connection_id":118690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19f43e68012d6a90000617d858000900002c..."} 
[2026-07-01 00:46:04] local.INFO: Packet analysis {"connection_id":118690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19f4"} 
[2026-07-01 00:46:04] local.INFO: Extracted packet for processing {"connection_id":118690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19f4"} 
[2026-07-01 00:46:04] local.INFO: GPS Element Parsed {"raw_longitude":761958400,"raw_latitude":102226008,"longitude_deg":76.19584,"latitude_deg":10.2226008,"altitude":9,"angle":0,"satellites":44,"speed":50,"hex_longitude":"2d6a9000","hex_latitude":"0617d858","is_valid_coordinates":true} 
[2026-07-01 00: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-01 00:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408795392001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332243435769561088,"note":"Value kept but may cause issues"} 
[2026-07-01 00:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7678637390834038784,"note":"Value kept but may cause issues"} 
[2026-07-01 00:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782846865000,"timestamp_ms":1782846865000,"timestamp_seconds":1782846865,"priority":1,"record_length":96,"hex_timestamp":"0000019f19f43e68"} 
[2026-07-01 00: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-01 00:46: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-01 00: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-01 00:46:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00: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-01 00: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-01 00:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":118690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":118690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":118690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:46: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-01 00:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408795392001,"66":27310,"93":206,"79":20992,"24":50,"16":332243435769561088,"45":7678637390834038784},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,79,24,16,45]} 
[2026-07-01 00:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408795392001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:46:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-07-01 00:46:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 00:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332243435769561088,"km_value":332243435769561.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":7678637390834038784,"description":"Unknown IO ID 45"} 
[2026-07-01 00:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408795392001,"power":27310,"unknown_93":206,"unknown_79":20992,"ignition":50,"odometer":null,"unknown_45":7678637390834038784}} 
[2026-07-01 00:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":118690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:46:04] local.INFO: GPS data processed {"connection_id":118690,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:46:04] local.INFO: Acknowledgment sent {"connection_id":118690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:46:22] local.INFO: TCP Data received {"connection_id":118578,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:46:22] local.INFO: Processing buffer {"connection_id":118578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:46:22] local.INFO: IMEI packet received {"connection_id":118578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 00:46:22] local.INFO: IMEI acknowledgment sent {"connection_id":118578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:46:22] local.INFO: TCP Data received {"connection_id":118578,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:46:22] local.INFO: Processing buffer {"connection_id":118578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:46:22] local.INFO: IMEI packet received {"connection_id":118578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:46:22] local.INFO: IMEI acknowledgment sent {"connection_id":118578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:46:27] local.INFO: TCP Data received {"connection_id":118578,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:46:27] local.INFO: Processing buffer {"connection_id":118578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:46:27] local.INFO: IMEI packet received {"connection_id":118578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":118578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:46:28] local.INFO: TCP Data received {"connection_id":118691,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f19f5c8f0012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19f5c8f0012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:46:28] local.INFO: Processing buffer {"connection_id":118691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19f5c8f0012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:46:28] local.INFO: Packet analysis {"connection_id":118691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19f5"} 
[2026-07-01 00:46:28] local.INFO: Extracted packet for processing {"connection_id":118691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19f5"} 
[2026-07-01 00:46:28] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":47,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408746240001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:46:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215515136,"note":"Value kept but may cause issues"} 
[2026-07-01 00:46:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782846966000,"timestamp_ms":1782846966000,"timestamp_seconds":1782846966,"priority":1,"record_length":96,"hex_timestamp":"0000019f19f5c8f0"} 
[2026-07-01 00:46:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:46:28] 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-01 00:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-01 00:46:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:46:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:46:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118691,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118691,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:46:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408746240001,"66":2198,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9095371316215515136},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408746240001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:46:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:46:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:46:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215515136,"description":"Unknown IO ID 45"} 
[2026-07-01 00:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408746240001,"power":2198,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215515136}} 
[2026-07-01 00:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":118691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415505,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:46:28] local.INFO: GPS data processed {"connection_id":118691,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:46:28] local.INFO: Acknowledgment sent {"connection_id":118691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:46:31] local.INFO: TCP Data received {"connection_id":118578,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f19f459c0012d6a90800617fc68000700002c..."} 
[2026-07-01 00:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19f459c0012d6a90800617fc68000700002c..."} 
[2026-07-01 00:46:31] local.INFO: Processing buffer {"connection_id":118578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19f459c0012d6a90800617fc68000700002c..."} 
[2026-07-01 00:46:31] local.INFO: Packet analysis {"connection_id":118578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19f4"} 
[2026-07-01 00:46:31] local.INFO: Extracted packet for processing {"connection_id":118578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19f4"} 
[2026-07-01 00:46:31] local.INFO: GPS Element Parsed {"raw_longitude":761958528,"raw_latitude":102235240,"longitude_deg":76.1958528,"latitude_deg":10.223524,"altitude":7,"angle":0,"satellites":44,"speed":54,"hex_longitude":"2d6a9080","hex_latitude":"0617fc68","is_valid_coordinates":true} 
[2026-07-01 00:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408797440001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332243882446159872,"note":"Value kept but may cause issues"} 
[2026-07-01 00:46:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7678637390836553728,"note":"Value kept but may cause issues"} 
[2026-07-01 00:46:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782846872000,"timestamp_ms":1782846872000,"timestamp_seconds":1782846872,"priority":1,"record_length":96,"hex_timestamp":"0000019f19f459c0"} 
[2026-07-01 00:46:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:46:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-01 00:46:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:46:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:46:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":118578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":118578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":118578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:46:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408797440001,"66":27365,"229":206,"79":20992,"24":54,"16":332243882446159872,"45":7678637390836553728},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,79,24,16,45]} 
[2026-07-01 00:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408797440001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:46:31] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-01 00:46:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 00:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332243882446159872,"km_value":332243882446159.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:46:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":7678637390836553728,"description":"Unknown IO ID 45"} 
[2026-07-01 00:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408797440001,"power":27365,"unknown_229":206,"unknown_79":20992,"ignition":54,"odometer":null,"unknown_45":7678637390836553728}} 
[2026-07-01 00:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":118578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:46:31] local.INFO: GPS data processed {"connection_id":118578,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:46:31] local.INFO: Acknowledgment sent {"connection_id":118578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:46:48] local.INFO: TCP Data received {"connection_id":119336,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119336,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:46:48] local.INFO: Processing buffer {"connection_id":119336,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:46:48] local.INFO: IMEI packet received {"connection_id":119336,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 00:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":119336,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:46:53] local.INFO: TCP Data received {"connection_id":119336,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119336,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:46:53] local.INFO: Processing buffer {"connection_id":119336,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:46:53] local.INFO: IMEI packet received {"connection_id":119336,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 00:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":119336,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:46:54] local.INFO: TCP Data received {"connection_id":119336,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f19f5c8f0012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19f5c8f0012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:46:54] local.INFO: Processing buffer {"connection_id":119336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19f5c8f0012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:46:54] local.INFO: Packet analysis {"connection_id":119336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19f5"} 
[2026-07-01 00:46:54] local.INFO: Extracted packet for processing {"connection_id":119336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19f5"} 
[2026-07-01 00:46:54] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":47,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:46:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408746240001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:46:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:46:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215515136,"note":"Value kept but may cause issues"} 
[2026-07-01 00:46:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:46:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782846966000,"timestamp_ms":1782846966000,"timestamp_seconds":1782846966,"priority":1,"record_length":96,"hex_timestamp":"0000019f19f5c8f0"} 
[2026-07-01 00:46:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:46:54] 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-01 00:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-01 00:46:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:46:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:46:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:46:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:46:54] local.INFO: Teltonika packet parsed successfully {"connection_id":119336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:46:54] local.INFO: Passing IMEI to GPS processor {"connection_id":119336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:46:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":119336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:46:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:46:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:46:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:46:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408746240001,"66":2198,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9095371316215515136},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:46:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:46:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:46:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408746240001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:46:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:46:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:46:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:46:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215515136,"description":"Unknown IO ID 45"} 
[2026-07-01 00:46:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408746240001,"power":2198,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215515136}} 
[2026-07-01 00:46:54] local.INFO: DEBUG: GPS processor result {"connection_id":119336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415507,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:46:54] local.INFO: GPS data processed {"connection_id":119336,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:46:54] local.INFO: Acknowledgment sent {"connection_id":119336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:47:05] local.INFO: TCP Data received {"connection_id":118578,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f19f47518012d6a90c0061821d8000600002c..."} 
[2026-07-01 00:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19f47518012d6a90c0061821d8000600002c..."} 
[2026-07-01 00:47:05] local.INFO: Processing buffer {"connection_id":118578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19f47518012d6a90c0061821d8000600002c..."} 
[2026-07-01 00:47:05] local.INFO: Packet analysis {"connection_id":118578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19f4"} 
[2026-07-01 00:47:05] local.INFO: Extracted packet for processing {"connection_id":118578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19f4"} 
[2026-07-01 00:47:05] local.INFO: GPS Element Parsed {"raw_longitude":761958592,"raw_latitude":102244824,"longitude_deg":76.1958592,"latitude_deg":10.2244824,"altitude":6,"angle":0,"satellites":44,"speed":53,"hex_longitude":"2d6a90c0","hex_latitude":"061821d8","is_valid_coordinates":true} 
[2026-07-01 00:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408799232001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332244346302627840,"note":"Value kept but may cause issues"} 
[2026-07-01 00:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7678778128327272448,"note":"Value kept but may cause issues"} 
[2026-07-01 00:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782846879000,"timestamp_ms":1782846879000,"timestamp_seconds":1782846879,"priority":1,"record_length":96,"hex_timestamp":"0000019f19f47518"} 
[2026-07-01 00:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 00:47:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:47:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":118578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":118578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":118578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:47: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-01 00:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408799232001,"66":27310,"229":206,"79":20992,"24":53,"16":332244346302627840,"45":7678778128327272448},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,79,24,16,45]} 
[2026-07-01 00:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408799232001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:47:05] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-01 00:47:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 00:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332244346302627840,"km_value":332244346302627.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7678778128327272448,"description":"Unknown IO ID 45"} 
[2026-07-01 00:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408799232001,"power":27310,"unknown_229":206,"unknown_79":20992,"ignition":53,"odometer":null,"unknown_45":7678778128327272448}} 
[2026-07-01 00:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":118578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:47:05] local.INFO: GPS data processed {"connection_id":118578,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:47:05] local.INFO: Acknowledgment sent {"connection_id":118578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:47:23] local.INFO: TCP Data received {"connection_id":118693,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:47:23] local.INFO: Processing buffer {"connection_id":118693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:47:23] local.INFO: IMEI packet received {"connection_id":118693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 00:47:23] local.INFO: IMEI acknowledgment sent {"connection_id":118693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:47:25] local.INFO: TCP Data received {"connection_id":119336,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f19f5c8f0012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19f5c8f0012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:47:25] local.INFO: Processing buffer {"connection_id":119336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19f5c8f0012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:47:25] local.INFO: Packet analysis {"connection_id":119336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19f5"} 
[2026-07-01 00:47:25] local.INFO: Extracted packet for processing {"connection_id":119336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19f5"} 
[2026-07-01 00:47:25] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":47,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:47:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408746240001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:47:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:47:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215515136,"note":"Value kept but may cause issues"} 
[2026-07-01 00:47:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:47:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782846966000,"timestamp_ms":1782846966000,"timestamp_seconds":1782846966,"priority":1,"record_length":96,"hex_timestamp":"0000019f19f5c8f0"} 
[2026-07-01 00:47:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:47:25] 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-01 00:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-01 00:47:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:47:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:47:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:47:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:47:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:47:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:47:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:47:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:47:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:47:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:47:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408746240001,"66":2198,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9095371316215515136},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:47:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:47:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:47:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408746240001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:47:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:47:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:47:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:47:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215515136,"description":"Unknown IO ID 45"} 
[2026-07-01 00:47:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408746240001,"power":2198,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215515136}} 
[2026-07-01 00:47:25] local.INFO: DEBUG: GPS processor result {"connection_id":119336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415509,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:47:25] local.INFO: GPS data processed {"connection_id":119336,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:47:25] local.INFO: Acknowledgment sent {"connection_id":119336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:47:27] local.INFO: TCP Data received {"connection_id":118693,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:47:27] local.INFO: Processing buffer {"connection_id":118693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:47:27] local.INFO: IMEI packet received {"connection_id":118693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":118693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:47:32] local.INFO: TCP Data received {"connection_id":118693,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:47:32] local.INFO: Processing buffer {"connection_id":118693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:47:32] local.INFO: IMEI packet received {"connection_id":118693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":118693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:47:34] local.INFO: TCP Data received {"connection_id":118693,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f19f49458012d6a90c006184750000701652b..."} 
[2026-07-01 00:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19f49458012d6a90c006184750000701652b..."} 
[2026-07-01 00:47:34] local.INFO: Processing buffer {"connection_id":118693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19f49458012d6a90c006184750000701652b..."} 
[2026-07-01 00:47:34] local.INFO: Packet analysis {"connection_id":118693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19f4"} 
[2026-07-01 00:47:34] local.INFO: Extracted packet for processing {"connection_id":118693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19f4"} 
[2026-07-01 00:47:34] local.INFO: GPS Element Parsed {"raw_longitude":761958592,"raw_latitude":102254416,"longitude_deg":76.1958592,"latitude_deg":10.2254416,"altitude":7,"angle":357,"satellites":43,"speed":40,"hex_longitude":"2d6a90c0","hex_latitude":"06184750","is_valid_coordinates":true} 
[2026-07-01 00:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408801024001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332244814454063104,"note":"Value kept but may cause issues"} 
[2026-07-01 00:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7678848497073903616,"note":"Value kept but may cause issues"} 
[2026-07-01 00:47:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782846887000,"timestamp_ms":1782846887000,"timestamp_seconds":1782846887,"priority":1,"record_length":96,"hex_timestamp":"0000019f19f49458"} 
[2026-07-01 00:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:47:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-01 00:47:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:47:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":118693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":118693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":118693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408801024001,"66":27234,"229":206,"79":20992,"24":40,"16":332244814454063104,"45":7678848497073903616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,79,24,16,45]} 
[2026-07-01 00:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408801024001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:47:34] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-01 00:47:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 00:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332244814454063104,"km_value":332244814454063.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7678848497073903616,"description":"Unknown IO ID 45"} 
[2026-07-01 00:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408801024001,"power":27234,"unknown_229":206,"unknown_79":20992,"ignition":40,"odometer":null,"unknown_45":7678848497073903616}} 
[2026-07-01 00:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":118693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:47:34] local.INFO: GPS data processed {"connection_id":118693,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:47:34] local.INFO: Acknowledgment sent {"connection_id":118693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:47:36] local.INFO: TCP Data received {"connection_id":118693,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f19f4c338012d6a8e8006186c380006016029..."} 
[2026-07-01 00:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19f4c338012d6a8e8006186c380006016029..."} 
[2026-07-01 00:47:36] local.INFO: Processing buffer {"connection_id":118693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19f4c338012d6a8e8006186c380006016029..."} 
[2026-07-01 00:47:36] local.INFO: Packet analysis {"connection_id":118693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19f4"} 
[2026-07-01 00:47:36] local.INFO: Extracted packet for processing {"connection_id":118693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19f4"} 
[2026-07-01 00:47:36] local.INFO: GPS Element Parsed {"raw_longitude":761958016,"raw_latitude":102263864,"longitude_deg":76.1958016,"latitude_deg":10.2263864,"altitude":6,"angle":352,"satellites":41,"speed":26,"hex_longitude":"2d6a8e80","hex_latitude":"06186c38","is_valid_coordinates":true} 
[2026-07-01 00:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408803072001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332245274015563776,"note":"Value kept but may cause issues"} 
[2026-07-01 00:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7678848497076359168,"note":"Value kept but may cause issues"} 
[2026-07-01 00:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782846899000,"timestamp_ms":1782846899000,"timestamp_seconds":1782846899,"priority":1,"record_length":96,"hex_timestamp":"0000019f19f4c338"} 
[2026-07-01 00:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-01 00:47:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:47:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":118693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":118693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":118693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408803072001,"66":27300,"191":206,"79":20992,"24":26,"16":332245274015563776,"45":7678848497076359168},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,79,24,16,45]} 
[2026-07-01 00:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408803072001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:47:36] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-07-01 00:47:36] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 00:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332245274015563776,"km_value":332245274015563.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":7678848497076359168,"description":"Unknown IO ID 45"} 
[2026-07-01 00:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408803072001,"power":27300,"unknown_191":206,"unknown_79":20992,"ignition":26,"odometer":null,"unknown_45":7678848497076359168}} 
[2026-07-01 00:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":118693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:47:36] local.INFO: GPS data processed {"connection_id":118693,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:47:36] local.INFO: Acknowledgment sent {"connection_id":118693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:47:48] local.INFO: TCP Data received {"connection_id":120450,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120450,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:47:48] local.INFO: Processing buffer {"connection_id":120450,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:47:48] local.INFO: IMEI packet received {"connection_id":120450,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 00:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":120450,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:47:53] local.INFO: TCP Data received {"connection_id":120450,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120450,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:47:53] local.INFO: Processing buffer {"connection_id":120450,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:47:53] local.INFO: IMEI packet received {"connection_id":120450,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 00:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":120450,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:47:54] local.INFO: TCP Data received {"connection_id":120450,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f19f5c8f0012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19f5c8f0012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:47:54] local.INFO: Processing buffer {"connection_id":120450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19f5c8f0012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:47:54] local.INFO: Packet analysis {"connection_id":120450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19f5"} 
[2026-07-01 00:47:54] local.INFO: Extracted packet for processing {"connection_id":120450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19f5"} 
[2026-07-01 00:47:54] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":47,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:47:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408746240001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:47:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:47:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215515136,"note":"Value kept but may cause issues"} 
[2026-07-01 00:47:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:47:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782846966000,"timestamp_ms":1782846966000,"timestamp_seconds":1782846966,"priority":1,"record_length":96,"hex_timestamp":"0000019f19f5c8f0"} 
[2026-07-01 00:47:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:47:54] 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-01 00:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-01 00:47:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:47:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:47:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:47:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:47:54] local.INFO: Teltonika packet parsed successfully {"connection_id":120450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:47:54] local.INFO: Passing IMEI to GPS processor {"connection_id":120450,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:47:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":120450,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:47:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:47:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:47:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:47:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408746240001,"66":2198,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9095371316215515136},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:47:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:47:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:47:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408746240001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:47:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:47:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:47:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:47:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215515136,"description":"Unknown IO ID 45"} 
[2026-07-01 00:47:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408746240001,"power":2198,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215515136}} 
[2026-07-01 00:47:54] local.INFO: DEBUG: GPS processor result {"connection_id":120450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415512,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:47:54] local.INFO: GPS data processed {"connection_id":120450,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:47:54] local.INFO: Acknowledgment sent {"connection_id":120450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:48:08] local.INFO: TCP Data received {"connection_id":118693,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f19f6d678012d6a2e80061a0fc00003016021..."} 
[2026-07-01 00:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19f6d678012d6a2e80061a0fc00003016021..."} 
[2026-07-01 00:48:08] local.INFO: Processing buffer {"connection_id":118693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19f6d678012d6a2e80061a0fc00003016021..."} 
[2026-07-01 00:48:08] local.INFO: Packet analysis {"connection_id":118693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19f6"} 
[2026-07-01 00:48:08] local.INFO: Extracted packet for processing {"connection_id":118693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19f6"} 
[2026-07-01 00:48:08] local.INFO: GPS Element Parsed {"raw_longitude":761933440,"raw_latitude":102371264,"longitude_deg":76.193344,"latitude_deg":10.2371264,"altitude":3,"angle":352,"satellites":33,"speed":33,"hex_longitude":"2d6a2e80","hex_latitude":"061a0fc0","is_valid_coordinates":true} 
[2026-07-01 00:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408838400001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332250642724683776,"note":"Value kept but may cause issues"} 
[2026-07-01 00:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7653867592920840192,"note":"Value kept but may cause issues"} 
[2026-07-01 00:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782847035000,"timestamp_ms":1782847035000,"timestamp_seconds":1782847035,"priority":1,"record_length":96,"hex_timestamp":"0000019f19f6d678"} 
[2026-07-01 00:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-01 00:48:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":118693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":118693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":118693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408838400001,"66":27343,"57":206,"79":20992,"24":33,"16":332250642724683776,"45":7653867592920840192},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,79,24,16,45]} 
[2026-07-01 00:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408838400001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:48:08] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-07-01 00:48:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 00:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332250642724683776,"km_value":332250642724683.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":7653867592920840192,"description":"Unknown IO ID 45"} 
[2026-07-01 00:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408838400001,"power":27343,"unknown_57":206,"unknown_79":20992,"ignition":33,"odometer":null,"unknown_45":7653867592920840192}} 
[2026-07-01 00:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":118693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:48:08] local.INFO: GPS data processed {"connection_id":118693,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:48:08] local.INFO: Acknowledgment sent {"connection_id":118693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:48:21] local.INFO: TCP Data received {"connection_id":118694,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:48:21] local.INFO: Processing buffer {"connection_id":118694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:48:21] local.INFO: IMEI packet received {"connection_id":118694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 00:48:21] local.INFO: IMEI acknowledgment sent {"connection_id":118694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:48:22] local.INFO: TCP Data received {"connection_id":118694,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:48:22] local.INFO: Processing buffer {"connection_id":118694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:48:22] local.INFO: IMEI packet received {"connection_id":118694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:48:22] local.INFO: IMEI acknowledgment sent {"connection_id":118694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:48:25] local.INFO: TCP Data received {"connection_id":120450,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f19f5c8f0012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19f5c8f0012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:48:25] local.INFO: Processing buffer {"connection_id":120450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19f5c8f0012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:48:25] local.INFO: Packet analysis {"connection_id":120450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19f5"} 
[2026-07-01 00:48:25] local.INFO: Extracted packet for processing {"connection_id":120450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19f5"} 
[2026-07-01 00:48:25] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":47,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00:48: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-01 00:48:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408746240001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:48:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:48:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215515136,"note":"Value kept but may cause issues"} 
[2026-07-01 00:48:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:48:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782846966000,"timestamp_ms":1782846966000,"timestamp_seconds":1782846966,"priority":1,"record_length":96,"hex_timestamp":"0000019f19f5c8f0"} 
[2026-07-01 00:48:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:48:25] 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-01 00:48: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":161,"data_length":795,"current_offset":136} 
[2026-07-01 00:48:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:48: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-01 00:48:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:48:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:48:25] local.INFO: Teltonika packet parsed successfully {"connection_id":120450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:48:25] local.INFO: Passing IMEI to GPS processor {"connection_id":120450,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:48:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":120450,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:48:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:48:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:48:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:48:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408746240001,"66":2198,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9095371316215515136},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:48:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:48:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:48:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408746240001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:48:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:48:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:48:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:48:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215515136,"description":"Unknown IO ID 45"} 
[2026-07-01 00:48:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408746240001,"power":2198,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215515136}} 
[2026-07-01 00:48:25] local.INFO: DEBUG: GPS processor result {"connection_id":120450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415514,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:48:25] local.INFO: GPS data processed {"connection_id":120450,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:48:25] local.INFO: Acknowledgment sent {"connection_id":120450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:48:27] local.INFO: TCP Data received {"connection_id":118694,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:48:27] local.INFO: Processing buffer {"connection_id":118694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:48:27] local.INFO: IMEI packet received {"connection_id":118694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":118694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:48:48] local.INFO: TCP Data received {"connection_id":119337,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119337,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:48:48] local.INFO: Processing buffer {"connection_id":119337,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:48:48] local.INFO: IMEI packet received {"connection_id":119337,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 00:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":119337,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:48:53] local.INFO: TCP Data received {"connection_id":119337,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119337,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:48:53] local.INFO: Processing buffer {"connection_id":119337,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:48:53] local.INFO: IMEI packet received {"connection_id":119337,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 00:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":119337,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:48:54] local.INFO: TCP Data received {"connection_id":119337,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f19f5c8f0012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19f5c8f0012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:48:54] local.INFO: Processing buffer {"connection_id":119337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19f5c8f0012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:48:54] local.INFO: Packet analysis {"connection_id":119337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19f5"} 
[2026-07-01 00:48:54] local.INFO: Extracted packet for processing {"connection_id":119337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19f5"} 
[2026-07-01 00:48:54] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":47,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:48:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408746240001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:48:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215515136,"note":"Value kept but may cause issues"} 
[2026-07-01 00:48:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:48:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782846966000,"timestamp_ms":1782846966000,"timestamp_seconds":1782846966,"priority":1,"record_length":96,"hex_timestamp":"0000019f19f5c8f0"} 
[2026-07-01 00:48:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:48:54] 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-01 00:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-01 00:48:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:48:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:48:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:48:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:48:54] local.INFO: Teltonika packet parsed successfully {"connection_id":119337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:48:54] local.INFO: Passing IMEI to GPS processor {"connection_id":119337,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:48:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":119337,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:48:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:48:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:48:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:48:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408746240001,"66":2198,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9095371316215515136},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:48:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:48:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:48:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408746240001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:48:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:48:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:48:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:48:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215515136,"description":"Unknown IO ID 45"} 
[2026-07-01 00:48:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408746240001,"power":2198,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215515136}} 
[2026-07-01 00:48:54] local.INFO: DEBUG: GPS processor result {"connection_id":119337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415515,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:48:54] local.INFO: GPS data processed {"connection_id":119337,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:48:54] local.INFO: Acknowledgment sent {"connection_id":119337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:49:21] local.INFO: TCP Data received {"connection_id":118694,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f19f6d678012d6a2e80061a0fc00003016021..."} 
[2026-07-01 00:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19f6d678012d6a2e80061a0fc00003016021..."} 
[2026-07-01 00:49:21] local.INFO: Processing buffer {"connection_id":118694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19f6d678012d6a2e80061a0fc00003016021..."} 
[2026-07-01 00:49:21] local.INFO: Packet analysis {"connection_id":118694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19f6"} 
[2026-07-01 00:49:21] local.INFO: Extracted packet for processing {"connection_id":118694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19f6"} 
[2026-07-01 00:49:21] local.INFO: GPS Element Parsed {"raw_longitude":761933440,"raw_latitude":102371264,"longitude_deg":76.193344,"latitude_deg":10.2371264,"altitude":3,"angle":352,"satellites":33,"speed":33,"hex_longitude":"2d6a2e80","hex_latitude":"061a0fc0","is_valid_coordinates":true} 
[2026-07-01 00:49: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-01 00:49:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408840960001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:49:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332250642724683776,"note":"Value kept but may cause issues"} 
[2026-07-01 00:49:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7651193580644450304,"note":"Value kept but may cause issues"} 
[2026-07-01 00:49:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:49:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782847035000,"timestamp_ms":1782847035000,"timestamp_seconds":1782847035,"priority":1,"record_length":96,"hex_timestamp":"0000019f19f6d678"} 
[2026-07-01 00:49:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:49: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-01 00:49:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-01 00:49:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:49: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-01 00:49:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:49:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:49:21] local.INFO: Teltonika packet parsed successfully {"connection_id":118694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:49:21] local.INFO: Passing IMEI to GPS processor {"connection_id":118694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:49:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":118694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:49:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:49:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:49:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:49:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408840960001,"66":27343,"57":206,"79":20992,"24":33,"16":332250642724683776,"45":7651193580644450304},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,79,24,16,45]} 
[2026-07-01 00:49:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:49:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:49:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408840960001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:49:21] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-07-01 00:49:21] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 00:49:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332250642724683776,"km_value":332250642724683.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:49:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":7651193580644450304,"description":"Unknown IO ID 45"} 
[2026-07-01 00:49:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408840960001,"power":27343,"unknown_57":206,"unknown_79":20992,"ignition":33,"odometer":null,"unknown_45":7651193580644450304}} 
[2026-07-01 00:49:21] local.INFO: DEBUG: GPS processor result {"connection_id":118694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:49:21] local.INFO: GPS data processed {"connection_id":118694,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:49:21] local.INFO: Acknowledgment sent {"connection_id":118694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:49:22] local.INFO: TCP Data received {"connection_id":118696,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:49:22] local.INFO: Processing buffer {"connection_id":118696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:49:22] local.INFO: IMEI packet received {"connection_id":118696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 00:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":118696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:49:25] local.INFO: TCP Data received {"connection_id":119337,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f19f5c8f0012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19f5c8f0012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:49:25] local.INFO: Processing buffer {"connection_id":119337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19f5c8f0012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:49:25] local.INFO: Packet analysis {"connection_id":119337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19f5"} 
[2026-07-01 00:49:25] local.INFO: Extracted packet for processing {"connection_id":119337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19f5"} 
[2026-07-01 00:49:25] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":47,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00: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-01 00:49:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408746240001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:49:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:49:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215515136,"note":"Value kept but may cause issues"} 
[2026-07-01 00:49:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:49:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782846966000,"timestamp_ms":1782846966000,"timestamp_seconds":1782846966,"priority":1,"record_length":96,"hex_timestamp":"0000019f19f5c8f0"} 
[2026-07-01 00: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-01 00:49:25] 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-01 00: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-01 00:49:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00: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-01 00: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-01 00:49:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:49:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:49:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119337,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:49:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119337,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:49:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:49:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:49:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:49:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408746240001,"66":2198,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9095371316215515136},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:49:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:49:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:49:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408746240001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:49:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:49:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:49:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:49:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215515136,"description":"Unknown IO ID 45"} 
[2026-07-01 00:49:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408746240001,"power":2198,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215515136}} 
[2026-07-01 00:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":119337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415517,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:49:25] local.INFO: GPS data processed {"connection_id":119337,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:49:25] local.INFO: Acknowledgment sent {"connection_id":119337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:49:27] local.INFO: TCP Data received {"connection_id":118696,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:49:27] local.INFO: Processing buffer {"connection_id":118696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:49:27] local.INFO: IMEI packet received {"connection_id":118696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":118696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:49:28] local.INFO: TCP Data received {"connection_id":118696,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f19f71110012d6a1e00061a42900001015322..."} 
[2026-07-01 00:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19f71110012d6a1e00061a42900001015322..."} 
[2026-07-01 00:49:28] local.INFO: Processing buffer {"connection_id":118696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19f71110012d6a1e00061a42900001015322..."} 
[2026-07-01 00:49:28] local.INFO: Packet analysis {"connection_id":118696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19f7"} 
[2026-07-01 00:49:28] local.INFO: Extracted packet for processing {"connection_id":118696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19f7"} 
[2026-07-01 00:49:28] local.INFO: GPS Element Parsed {"raw_longitude":761929216,"raw_latitude":102384272,"longitude_deg":76.1929216,"latitude_deg":10.2384272,"altitude":1,"angle":339,"satellites":34,"speed":38,"hex_longitude":"2d6a1e00","hex_latitude":"061a4290","is_valid_coordinates":true} 
[2026-07-01 00:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:49:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408842240001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:49:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332251304149647360,"note":"Value kept but may cause issues"} 
[2026-07-01 00:49:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7650138049482827776,"note":"Value kept but may cause issues"} 
[2026-07-01 00:49:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:49:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782847050000,"timestamp_ms":1782847050000,"timestamp_seconds":1782847050,"priority":1,"record_length":96,"hex_timestamp":"0000019f19f71110"} 
[2026-07-01 00:49:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:49:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-01 00:49:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:49:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:49:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:49:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:49:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:49:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:49:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:49:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:49:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:49:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:49:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408842240001,"66":27321,"126":206,"79":20992,"24":38,"16":332251304149647360,"45":7650138049482827776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,79,24,16,45]} 
[2026-07-01 00:49:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:49:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:49:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408842240001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:49:28] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-01 00:49:28] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 00:49:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332251304149647360,"km_value":332251304149647.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:49:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":7650138049482827776,"description":"Unknown IO ID 45"} 
[2026-07-01 00:49:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408842240001,"power":27321,"unknown_126":206,"unknown_79":20992,"ignition":38,"odometer":null,"unknown_45":7650138049482827776}} 
[2026-07-01 00:49:28] local.INFO: DEBUG: GPS processor result {"connection_id":118696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:49:28] local.INFO: GPS data processed {"connection_id":118696,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:49:28] local.INFO: Acknowledgment sent {"connection_id":118696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:49:30] local.INFO: TCP Data received {"connection_id":118696,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f19f73820012d6a0f00061a63280000015023..."} 
[2026-07-01 00:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19f73820012d6a0f00061a63280000015023..."} 
[2026-07-01 00:49:30] local.INFO: Processing buffer {"connection_id":118696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19f73820012d6a0f00061a63280000015023..."} 
[2026-07-01 00:49:30] local.INFO: Packet analysis {"connection_id":118696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19f7"} 
[2026-07-01 00:49:30] local.INFO: Extracted packet for processing {"connection_id":118696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19f7"} 
[2026-07-01 00:49:30] local.INFO: GPS Element Parsed {"raw_longitude":761925376,"raw_latitude":102392616,"longitude_deg":76.1925376,"latitude_deg":10.2392616,"altitude":0,"angle":336,"satellites":35,"speed":34,"hex_longitude":"2d6a0f00","hex_latitude":"061a6328","is_valid_coordinates":true} 
[2026-07-01 00:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408844800001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332251750826246144,"note":"Value kept but may cause issues"} 
[2026-07-01 00:49:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7646549243532054528,"note":"Value kept but may cause issues"} 
[2026-07-01 00:49:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782847060000,"timestamp_ms":1782847060000,"timestamp_seconds":1782847060,"priority":1,"record_length":96,"hex_timestamp":"0000019f19f73820"} 
[2026-07-01 00:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:49:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-01 00:49:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:49:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":118696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":118696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":118696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:49:30] 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-01 00:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408844800001,"66":27332,"126":206,"79":20992,"24":34,"16":332251750826246144,"45":7646549243532054528},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,79,24,16,45]} 
[2026-07-01 00:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408844800001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:49:30] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-01 00:49:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 00:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332251750826246144,"km_value":332251750826246.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:49:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":7646549243532054528,"description":"Unknown IO ID 45"} 
[2026-07-01 00:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408844800001,"power":27332,"unknown_126":206,"unknown_79":20992,"ignition":34,"odometer":null,"unknown_45":7646549243532054528}} 
[2026-07-01 00:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":118696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:49:30] local.INFO: GPS data processed {"connection_id":118696,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:49:30] local.INFO: Acknowledgment sent {"connection_id":118696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:49:48] local.INFO: TCP Data received {"connection_id":118697,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118697,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:49:48] local.INFO: Processing buffer {"connection_id":118697,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:49:48] local.INFO: IMEI packet received {"connection_id":118697,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 00:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":118697,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:49:53] local.INFO: TCP Data received {"connection_id":118697,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118697,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:49:53] local.INFO: Processing buffer {"connection_id":118697,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:49:53] local.INFO: IMEI packet received {"connection_id":118697,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 00:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":118697,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:49:54] local.INFO: TCP Data received {"connection_id":118697,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f19f5c8f0012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19f5c8f0012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:49:54] local.INFO: Processing buffer {"connection_id":118697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19f5c8f0012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:49:54] local.INFO: Packet analysis {"connection_id":118697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19f5"} 
[2026-07-01 00:49:54] local.INFO: Extracted packet for processing {"connection_id":118697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19f5"} 
[2026-07-01 00:49:54] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":47,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00: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-01 00:49:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408746240001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:49:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215515136,"note":"Value kept but may cause issues"} 
[2026-07-01 00:49:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:49:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782846966000,"timestamp_ms":1782846966000,"timestamp_seconds":1782846966,"priority":1,"record_length":96,"hex_timestamp":"0000019f19f5c8f0"} 
[2026-07-01 00: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-01 00:49:54] 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-01 00: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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-01 00:49:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00: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-01 00: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-01 00:49:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:49:54] local.INFO: Teltonika packet parsed successfully {"connection_id":118697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:49:54] local.INFO: Passing IMEI to GPS processor {"connection_id":118697,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:49:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":118697,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:49:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:49:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:49:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:49:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408746240001,"66":2198,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9095371316215515136},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:49:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:49:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:49:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408746240001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:49:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:49:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:49:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:49:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215515136,"description":"Unknown IO ID 45"} 
[2026-07-01 00:49:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408746240001,"power":2198,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215515136}} 
[2026-07-01 00:49:54] local.INFO: DEBUG: GPS processor result {"connection_id":118697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415520,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:49:54] local.INFO: GPS data processed {"connection_id":118697,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:49:54] local.INFO: Acknowledgment sent {"connection_id":118697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:50:01] local.INFO: TCP Data received {"connection_id":118696,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f19f75f30012d6a0200061a86000002015425..."} 
[2026-07-01 00:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19f75f30012d6a0200061a86000002015425..."} 
[2026-07-01 00:50:01] local.INFO: Processing buffer {"connection_id":118696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19f75f30012d6a0200061a86000002015425..."} 
[2026-07-01 00:50:01] local.INFO: Packet analysis {"connection_id":118696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19f7"} 
[2026-07-01 00:50:01] local.INFO: Extracted packet for processing {"connection_id":118696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19f7"} 
[2026-07-01 00:50:01] local.INFO: GPS Element Parsed {"raw_longitude":761922048,"raw_latitude":102401536,"longitude_deg":76.1922048,"latitude_deg":10.2401536,"altitude":2,"angle":340,"satellites":37,"speed":40,"hex_longitude":"2d6a0200","hex_latitude":"061a8600","is_valid_coordinates":true} 
[2026-07-01 00:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408847360001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332252210387746816,"note":"Value kept but may cause issues"} 
[2026-07-01 00:50:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7642327118883530752,"note":"Value kept but may cause issues"} 
[2026-07-01 00:50:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782847070000,"timestamp_ms":1782847070000,"timestamp_seconds":1782847070,"priority":1,"record_length":96,"hex_timestamp":"0000019f19f75f30"} 
[2026-07-01 00:50:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:50:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-01 00:50:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:50:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:50:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":118696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":118696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":118696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:50:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408847360001,"66":27213,"126":206,"79":20992,"24":40,"16":332252210387746816,"45":7642327118883530752},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,79,24,16,45]} 
[2026-07-01 00:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408847360001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:50:01] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-01 00:50:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 00:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332252210387746816,"km_value":332252210387746.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:50:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7642327118883530752,"description":"Unknown IO ID 45"} 
[2026-07-01 00:50:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408847360001,"power":27213,"unknown_126":206,"unknown_79":20992,"ignition":40,"odometer":null,"unknown_45":7642327118883530752}} 
[2026-07-01 00:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":118696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:50:01] local.INFO: GPS data processed {"connection_id":118696,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:50:01] local.INFO: Acknowledgment sent {"connection_id":118696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:50:22] local.INFO: TCP Data received {"connection_id":119339,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:50:22] local.INFO: Processing buffer {"connection_id":119339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:50:22] local.INFO: IMEI packet received {"connection_id":119339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 00:50:22] local.INFO: IMEI acknowledgment sent {"connection_id":119339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:50:24] local.INFO: TCP Data received {"connection_id":118697,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f19f5c8f0012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19f5c8f0012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:50:24] local.INFO: Processing buffer {"connection_id":118697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19f5c8f0012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:50:24] local.INFO: Packet analysis {"connection_id":118697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19f5"} 
[2026-07-01 00:50:24] local.INFO: Extracted packet for processing {"connection_id":118697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19f5"} 
[2026-07-01 00:50:24] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":47,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408746240001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:50:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215515136,"note":"Value kept but may cause issues"} 
[2026-07-01 00:50:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782846966000,"timestamp_ms":1782846966000,"timestamp_seconds":1782846966,"priority":1,"record_length":96,"hex_timestamp":"0000019f19f5c8f0"} 
[2026-07-01 00:50:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:50:24] 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-01 00:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-01 00:50:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:50:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:50:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":118697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":118697,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":118697,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:50:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408746240001,"66":2198,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9095371316215515136},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408746240001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:50:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:50:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:50:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215515136,"description":"Unknown IO ID 45"} 
[2026-07-01 00:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408746240001,"power":2198,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215515136}} 
[2026-07-01 00:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":118697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415522,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:50:25] local.INFO: GPS data processed {"connection_id":118697,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:50:25] local.INFO: Acknowledgment sent {"connection_id":118697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:50:27] local.INFO: TCP Data received {"connection_id":119339,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:50:27] local.INFO: Processing buffer {"connection_id":119339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:50:27] local.INFO: IMEI packet received {"connection_id":119339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":119339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:50:28] local.INFO: TCP Data received {"connection_id":119339,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f19f78258012d69f540061aa7c80004015123..."} 
[2026-07-01 00:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19f78258012d69f540061aa7c80004015123..."} 
[2026-07-01 00:50:28] local.INFO: Processing buffer {"connection_id":119339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19f78258012d69f540061aa7c80004015123..."} 
[2026-07-01 00:50:28] local.INFO: Packet analysis {"connection_id":119339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19f7"} 
[2026-07-01 00:50:28] local.INFO: Extracted packet for processing {"connection_id":119339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19f7"} 
[2026-07-01 00:50:28] local.INFO: GPS Element Parsed {"raw_longitude":761918784,"raw_latitude":102410184,"longitude_deg":76.1918784,"latitude_deg":10.2410184,"altitude":4,"angle":337,"satellites":35,"speed":39,"hex_longitude":"2d69f540","hex_latitude":"061aa7c8","is_valid_coordinates":true} 
[2026-07-01 00:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408849920001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332252661359312896,"note":"Value kept but may cause issues"} 
[2026-07-01 00:50:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7638667944188575744,"note":"Value kept but may cause issues"} 
[2026-07-01 00:50:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782847079000,"timestamp_ms":1782847079000,"timestamp_seconds":1782847079,"priority":1,"record_length":96,"hex_timestamp":"0000019f19f78258"} 
[2026-07-01 00:50:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:50:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-01 00:50:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:50:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:50:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:50:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408849920001,"66":27397,"126":206,"79":20992,"24":39,"16":332252661359312896,"45":7638667944188575744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,79,24,16,45]} 
[2026-07-01 00:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408849920001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:50:28] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-01 00:50:28] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 00:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332252661359312896,"km_value":332252661359312.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:50:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":7638667944188575744,"description":"Unknown IO ID 45"} 
[2026-07-01 00:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408849920001,"power":27397,"unknown_126":206,"unknown_79":20992,"ignition":39,"odometer":null,"unknown_45":7638667944188575744}} 
[2026-07-01 00:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":119339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:50:28] local.INFO: GPS data processed {"connection_id":119339,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:50:28] local.INFO: Acknowledgment sent {"connection_id":119339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:50:42] local.INFO: TCP Data received {"connection_id":119338,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 00:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119338,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 00:50:42] local.INFO: Processing buffer {"connection_id":119338,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 00:50:42] local.INFO: IMEI packet received {"connection_id":119338,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 00:50:42] local.INFO: IMEI acknowledgment sent {"connection_id":119338,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:50:48] local.INFO: TCP Data received {"connection_id":119340,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119340,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:50:48] local.INFO: Processing buffer {"connection_id":119340,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:50:48] local.INFO: IMEI packet received {"connection_id":119340,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 00:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":119340,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:50:53] local.INFO: TCP Data received {"connection_id":119340,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119340,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:50:53] local.INFO: Processing buffer {"connection_id":119340,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:50:53] local.INFO: IMEI packet received {"connection_id":119340,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 00:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":119340,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:50:54] local.INFO: TCP Data received {"connection_id":119340,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f19f5c8f0012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19f5c8f0012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:50:54] local.INFO: Processing buffer {"connection_id":119340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19f5c8f0012d7e394005d34d880005002e2f..."} 
[2026-07-01 00:50:54] local.INFO: Packet analysis {"connection_id":119340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19f5"} 
[2026-07-01 00:50:54] local.INFO: Extracted packet for processing {"connection_id":119340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19f5"} 
[2026-07-01 00:50:54] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":47,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:50:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408746240001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:50:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:50:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215515136,"note":"Value kept but may cause issues"} 
[2026-07-01 00:50:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:50:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782846966000,"timestamp_ms":1782846966000,"timestamp_seconds":1782846966,"priority":1,"record_length":96,"hex_timestamp":"0000019f19f5c8f0"} 
[2026-07-01 00:50:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:50:54] 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-01 00:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-01 00:50:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:50:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:50:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:50:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:50:54] local.INFO: Teltonika packet parsed successfully {"connection_id":119340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:50:54] local.INFO: Passing IMEI to GPS processor {"connection_id":119340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:50:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":119340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:50:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:50:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:50:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:50:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408746240001,"66":2198,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9095371316215515136},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:50:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:50:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:50:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408746240001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:50:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:50:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:50:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:50:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215515136,"description":"Unknown IO ID 45"} 
[2026-07-01 00:50:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408746240001,"power":2198,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215515136}} 
[2026-07-01 00:50:54] local.INFO: DEBUG: GPS processor result {"connection_id":119340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415524,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:50:54] local.INFO: GPS data processed {"connection_id":119340,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:50:54] local.INFO: Acknowledgment sent {"connection_id":119340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:51:00] local.INFO: TCP Data received {"connection_id":119339,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f19f96aa0012d6921c0061c4d180004014c2a..."} 
[2026-07-01 00:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19f96aa0012d6921c0061c4d180004014c2a..."} 
[2026-07-01 00:51:00] local.INFO: Processing buffer {"connection_id":119339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19f96aa0012d6921c0061c4d180004014c2a..."} 
[2026-07-01 00:51:00] local.INFO: Packet analysis {"connection_id":119339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19f9"} 
[2026-07-01 00:51:00] local.INFO: Extracted packet for processing {"connection_id":119339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19f9"} 
[2026-07-01 00:51:00] local.INFO: GPS Element Parsed {"raw_longitude":761864640,"raw_latitude":102518040,"longitude_deg":76.186464,"latitude_deg":10.251804,"altitude":4,"angle":332,"satellites":42,"speed":54,"hex_longitude":"2d6921c0","hex_latitude":"061c4d18","is_valid_coordinates":true} 
[2026-07-01 00:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408882432001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332258502514835456,"note":"Value kept but may cause issues"} 
[2026-07-01 00:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7580543361525512192,"note":"Value kept but may cause issues"} 
[2026-07-01 00:51:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782847204000,"timestamp_ms":1782847204000,"timestamp_seconds":1782847204,"priority":1,"record_length":96,"hex_timestamp":"0000019f19f96aa0"} 
[2026-07-01 00:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:51:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-01 00:51:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:51:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":119339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":119339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":119339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:51:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408882432001,"66":27332,"86":206,"79":20992,"24":54,"16":332258502514835456,"45":7580543361525512192},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-01 00:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408882432001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:51:00] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-01 00:51:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 00:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332258502514835456,"km_value":332258502514835.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":7580543361525512192,"description":"Unknown IO ID 45"} 
[2026-07-01 00:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408882432001,"power":27332,"unknown_86":206,"unknown_79":20992,"ignition":54,"odometer":null,"unknown_45":7580543361525512192}} 
[2026-07-01 00:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":119339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:51:00] local.INFO: GPS data processed {"connection_id":119339,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:51:00] local.INFO: Acknowledgment sent {"connection_id":119339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:51:17] local.INFO: TCP Data received {"connection_id":118580,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 00:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118580,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 00:51:17] local.INFO: Processing buffer {"connection_id":118580,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 00:51:17] local.INFO: IMEI packet received {"connection_id":118580,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 00:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":118580,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:51:25] local.INFO: TCP Data received {"connection_id":119340,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f19fa60b8012d7e394005d34d880005002e30..."} 
[2026-07-01 00:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19fa60b8012d7e394005d34d880005002e30..."} 
[2026-07-01 00:51:25] local.INFO: Processing buffer {"connection_id":119340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19fa60b8012d7e394005d34d880005002e30..."} 
[2026-07-01 00:51:25] local.INFO: Packet analysis {"connection_id":119340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19fa"} 
[2026-07-01 00:51:25] local.INFO: Extracted packet for processing {"connection_id":119340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19fa"} 
[2026-07-01 00:51:25] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":48,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00:51:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:51:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408823296001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:51:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:51:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215515136,"note":"Value kept but may cause issues"} 
[2026-07-01 00:51:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:51:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782847267000,"timestamp_ms":1782847267000,"timestamp_seconds":1782847267,"priority":1,"record_length":96,"hex_timestamp":"0000019f19fa60b8"} 
[2026-07-01 00:51:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:51:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 00:51:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-01 00:51:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:51:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:51:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:51:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:51:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:51:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:51:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:51:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:51:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:51:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:51:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408823296001,"66":2209,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9095371316215515136},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:51:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:51:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:51:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408823296001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:51:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:51:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:51:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:51:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215515136,"description":"Unknown IO ID 45"} 
[2026-07-01 00:51:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408823296001,"power":2209,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215515136}} 
[2026-07-01 00:51:25] local.INFO: DEBUG: GPS processor result {"connection_id":119340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415526,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:51:25] local.INFO: GPS data processed {"connection_id":119340,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:51:25] local.INFO: Acknowledgment sent {"connection_id":119340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:51:31] local.INFO: TCP Data received {"connection_id":118581,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:51:31] local.INFO: Processing buffer {"connection_id":118581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:51:31] local.INFO: IMEI packet received {"connection_id":118581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 00:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":118581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:51:41] local.INFO: TCP Data received {"connection_id":118581,"ip":"42.106.6.16","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 00:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118581,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 00:51:41] local.INFO: Processing buffer {"connection_id":118581,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 00:51:41] local.INFO: IMEI packet received {"connection_id":118581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":118581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:51:42] local.INFO: TCP Data received {"connection_id":118581,"ip":"42.106.6.16","data_length":171,"data_hex":"000000000000009f8e020000019f19f985f8012d690f80061c6e900005014c2a..."} 
[2026-07-01 00:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118581,"packet_length":171,"packet_hex":"000000000000009f8e020000019f19f985f8012d690f80061c6e900005014c2a..."} 
[2026-07-01 00:51:42] local.INFO: Processing buffer {"connection_id":118581,"buffer_length":188,"buffer_hex":"000f383632353637303734373733313135000000000000009f8e020000019f19..."} 
[2026-07-01 00:51:42] local.INFO: IMEI packet received {"connection_id":118581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:51:42] local.INFO: IMEI acknowledgment sent {"connection_id":118581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:51:53] local.INFO: TCP Data received {"connection_id":118698,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118698,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:51:53] local.INFO: Processing buffer {"connection_id":118698,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:51:53] local.INFO: IMEI packet received {"connection_id":118698,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 00:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":118698,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:51:58] local.INFO: TCP Data received {"connection_id":118698,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118698,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:51:58] local.INFO: Processing buffer {"connection_id":118698,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:51:58] local.INFO: IMEI packet received {"connection_id":118698,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 00:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":118698,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:51:59] local.INFO: TCP Data received {"connection_id":118698,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f19fa60b8012d7e394005d34d880005002e30..."} 
[2026-07-01 00:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19fa60b8012d7e394005d34d880005002e30..."} 
[2026-07-01 00:51:59] local.INFO: Processing buffer {"connection_id":118698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19fa60b8012d7e394005d34d880005002e30..."} 
[2026-07-01 00:51:59] local.INFO: Packet analysis {"connection_id":118698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19fa"} 
[2026-07-01 00:51:59] local.INFO: Extracted packet for processing {"connection_id":118698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19fa"} 
[2026-07-01 00:51:59] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":48,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408823296001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215515136,"note":"Value kept but may cause issues"} 
[2026-07-01 00:51:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782847267000,"timestamp_ms":1782847267000,"timestamp_seconds":1782847267,"priority":1,"record_length":96,"hex_timestamp":"0000019f19fa60b8"} 
[2026-07-01 00:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:51:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 00:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-01 00:51:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:51:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118698,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118698,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:51:59] 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-01 00:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408823296001,"66":2209,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9095371316215515136},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408823296001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:51:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:51:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:51:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215515136,"description":"Unknown IO ID 45"} 
[2026-07-01 00:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408823296001,"power":2209,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215515136}} 
[2026-07-01 00:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":118698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415527,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:51:59] local.INFO: GPS data processed {"connection_id":118698,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:51:59] local.INFO: Acknowledgment sent {"connection_id":118698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:52:22] local.INFO: TCP Data received {"connection_id":119342,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:52:22] local.INFO: Processing buffer {"connection_id":119342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:52:22] local.INFO: IMEI packet received {"connection_id":119342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 00:52:22] local.INFO: IMEI acknowledgment sent {"connection_id":119342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:52:27] local.INFO: TCP Data received {"connection_id":119342,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:52:27] local.INFO: Processing buffer {"connection_id":119342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:52:27] local.INFO: IMEI packet received {"connection_id":119342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":119342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:52:28] local.INFO: TCP Data received {"connection_id":119342,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f19f9d800012d68dfc0061cd488000801532c..."} 
[2026-07-01 00:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19f9d800012d68dfc0061cd488000801532c..."} 
[2026-07-01 00:52:28] local.INFO: Processing buffer {"connection_id":119342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19f9d800012d68dfc0061cd488000801532c..."} 
[2026-07-01 00:52:28] local.INFO: Packet analysis {"connection_id":119342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19f9"} 
[2026-07-01 00:52:28] local.INFO: Extracted packet for processing {"connection_id":119342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19f9"} 
[2026-07-01 00:52:28] local.INFO: GPS Element Parsed {"raw_longitude":761847744,"raw_latitude":102552712,"longitude_deg":76.1847744,"latitude_deg":10.2552712,"altitude":8,"angle":339,"satellites":44,"speed":53,"hex_longitude":"2d68dfc0","hex_latitude":"061cd488","is_valid_coordinates":true} 
[2026-07-01 00: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-01 00:52:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408889600001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:52:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332260370825609216,"note":"Value kept but may cause issues"} 
[2026-07-01 00:52:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7560910481908690944,"note":"Value kept but may cause issues"} 
[2026-07-01 00:52:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:52:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782847232000,"timestamp_ms":1782847232000,"timestamp_seconds":1782847232,"priority":1,"record_length":96,"hex_timestamp":"0000019f19f9d800"} 
[2026-07-01 00: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-01 00:52:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-01 00:52:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00: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-01 00: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-01 00:52:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:52:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:52:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:52:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:52:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:52:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:52:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:52:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408889600001,"66":27213,"86":206,"79":20992,"24":53,"16":332260370825609216,"45":7560910481908690944},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-01 00:52:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:52:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:52:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408889600001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:52:28] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-01 00:52:28] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 00:52:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332260370825609216,"km_value":332260370825609.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:52:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":7560910481908690944,"description":"Unknown IO ID 45"} 
[2026-07-01 00:52:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408889600001,"power":27213,"unknown_86":206,"unknown_79":20992,"ignition":53,"odometer":null,"unknown_45":7560910481908690944}} 
[2026-07-01 00:52:28] local.INFO: DEBUG: GPS processor result {"connection_id":119342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:52:28] local.INFO: GPS data processed {"connection_id":119342,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:52:28] local.INFO: Acknowledgment sent {"connection_id":119342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:52:31] local.INFO: TCP Data received {"connection_id":118698,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f19fa60b8012d7e394005d34d880005002e30..."} 
[2026-07-01 00:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19fa60b8012d7e394005d34d880005002e30..."} 
[2026-07-01 00:52:31] local.INFO: Processing buffer {"connection_id":118698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19fa60b8012d7e394005d34d880005002e30..."} 
[2026-07-01 00:52:31] local.INFO: Packet analysis {"connection_id":118698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19fa"} 
[2026-07-01 00:52:31] local.INFO: Extracted packet for processing {"connection_id":118698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19fa"} 
[2026-07-01 00:52:31] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":48,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408823296001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215515136,"note":"Value kept but may cause issues"} 
[2026-07-01 00:52:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782847267000,"timestamp_ms":1782847267000,"timestamp_seconds":1782847267,"priority":1,"record_length":96,"hex_timestamp":"0000019f19fa60b8"} 
[2026-07-01 00: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-01 00:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 00:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-01 00:52:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00: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-01 00: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-01 00:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":118698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":118698,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":118698,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00: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-01 00:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408823296001,"66":2209,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9095371316215515136},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408823296001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:52:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:52:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215515136,"description":"Unknown IO ID 45"} 
[2026-07-01 00:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408823296001,"power":2209,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215515136}} 
[2026-07-01 00:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":118698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415529,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:52:31] local.INFO: GPS data processed {"connection_id":118698,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:52:31] local.INFO: Acknowledgment sent {"connection_id":118698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:52:48] local.INFO: TCP Data received {"connection_id":118582,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118582,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:52:48] local.INFO: Processing buffer {"connection_id":118582,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:52:48] local.INFO: IMEI packet received {"connection_id":118582,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 00:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":118582,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:52:53] local.INFO: TCP Data received {"connection_id":118582,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118582,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:52:53] local.INFO: Processing buffer {"connection_id":118582,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:52:53] local.INFO: IMEI packet received {"connection_id":118582,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 00:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":118582,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:52:54] local.INFO: TCP Data received {"connection_id":118582,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f19fa60b8012d7e394005d34d880005002e30..."} 
[2026-07-01 00:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19fa60b8012d7e394005d34d880005002e30..."} 
[2026-07-01 00:52:54] local.INFO: Processing buffer {"connection_id":118582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19fa60b8012d7e394005d34d880005002e30..."} 
[2026-07-01 00:52:54] local.INFO: Packet analysis {"connection_id":118582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19fa"} 
[2026-07-01 00:52:54] local.INFO: Extracted packet for processing {"connection_id":118582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19fa"} 
[2026-07-01 00:52:54] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":48,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:52:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408823296001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:52:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:52:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215515136,"note":"Value kept but may cause issues"} 
[2026-07-01 00:52:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:52:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782847267000,"timestamp_ms":1782847267000,"timestamp_seconds":1782847267,"priority":1,"record_length":96,"hex_timestamp":"0000019f19fa60b8"} 
[2026-07-01 00:52:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:52:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 00:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-01 00:52:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:52:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:52:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:52:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:52:54] local.INFO: Teltonika packet parsed successfully {"connection_id":118582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:52:54] local.INFO: Passing IMEI to GPS processor {"connection_id":118582,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:52:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":118582,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:52:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:52:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:52:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:52:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408823296001,"66":2209,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9095371316215515136},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:52:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:52:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:52:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408823296001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:52:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:52:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:52:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:52:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215515136,"description":"Unknown IO ID 45"} 
[2026-07-01 00:52:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408823296001,"power":2209,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215515136}} 
[2026-07-01 00:52:54] local.INFO: DEBUG: GPS processor result {"connection_id":118582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415530,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:52:54] local.INFO: GPS data processed {"connection_id":118582,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:52:54] local.INFO: Acknowledgment sent {"connection_id":118582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:53:00] local.INFO: TCP Data received {"connection_id":119342,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f19fb04c8012d683900061e4180000501512c..."} 
[2026-07-01 00:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19fb04c8012d683900061e4180000501512c..."} 
[2026-07-01 00:53:00] local.INFO: Processing buffer {"connection_id":119342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19fb04c8012d683900061e4180000501512c..."} 
[2026-07-01 00:53:00] local.INFO: Packet analysis {"connection_id":119342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19fb"} 
[2026-07-01 00:53:00] local.INFO: Extracted packet for processing {"connection_id":119342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19fb"} 
[2026-07-01 00:53:00] local.INFO: GPS Element Parsed {"raw_longitude":761805056,"raw_latitude":102646144,"longitude_deg":76.1805056,"latitude_deg":10.2646144,"altitude":5,"angle":337,"satellites":44,"speed":52,"hex_longitude":"2d683900","hex_latitude":"061e4180","is_valid_coordinates":true} 
[2026-07-01 00:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408909312001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332265378757476352,"note":"Value kept but may cause issues"} 
[2026-07-01 00:53:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7514326373287059456,"note":"Value kept but may cause issues"} 
[2026-07-01 00:53:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782847309000,"timestamp_ms":1782847309000,"timestamp_seconds":1782847309,"priority":1,"record_length":96,"hex_timestamp":"0000019f19fb04c8"} 
[2026-07-01 00:53:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:53:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 00:53:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:53:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:53:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":119342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":119342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":119342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:53:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408909312001,"66":27365,"85":206,"79":20992,"24":52,"16":332265378757476352,"45":7514326373287059456},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,79,24,16,45]} 
[2026-07-01 00:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408909312001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:53:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-07-01 00:53:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 00:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332265378757476352,"km_value":332265378757476.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:53:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":7514326373287059456,"description":"Unknown IO ID 45"} 
[2026-07-01 00:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408909312001,"power":27365,"unknown_85":206,"unknown_79":20992,"ignition":52,"odometer":null,"unknown_45":7514326373287059456}} 
[2026-07-01 00:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":119342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:53:00] local.INFO: GPS data processed {"connection_id":119342,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:53:00] local.INFO: Acknowledgment sent {"connection_id":119342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:53:26] local.INFO: TCP Data received {"connection_id":118582,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f19fa60b8012d7e394005d34d880005002e30..."} 
[2026-07-01 00:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19fa60b8012d7e394005d34d880005002e30..."} 
[2026-07-01 00:53:26] local.INFO: Processing buffer {"connection_id":118582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19fa60b8012d7e394005d34d880005002e30..."} 
[2026-07-01 00:53:26] local.INFO: Packet analysis {"connection_id":118582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19fa"} 
[2026-07-01 00:53:26] local.INFO: Extracted packet for processing {"connection_id":118582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19fa"} 
[2026-07-01 00:53:26] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":48,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408823296001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:53:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215515136,"note":"Value kept but may cause issues"} 
[2026-07-01 00:53:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782847267000,"timestamp_ms":1782847267000,"timestamp_seconds":1782847267,"priority":1,"record_length":96,"hex_timestamp":"0000019f19fa60b8"} 
[2026-07-01 00:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:53:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 00:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-01 00:53:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:53:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":118582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":118582,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":118582,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:53:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408823296001,"66":2209,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9095371316215515136},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408823296001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:53:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:53:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:53:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215515136,"description":"Unknown IO ID 45"} 
[2026-07-01 00:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408823296001,"power":2209,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215515136}} 
[2026-07-01 00:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":118582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415532,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:53:26] local.INFO: GPS data processed {"connection_id":118582,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:53:26] local.INFO: Acknowledgment sent {"connection_id":118582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:53:27] local.INFO: TCP Data received {"connection_id":118699,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:53:27] local.INFO: Processing buffer {"connection_id":118699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:53:27] local.INFO: IMEI packet received {"connection_id":118699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 00:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":118699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:53:32] local.INFO: TCP Data received {"connection_id":118699,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:53:32] local.INFO: Processing buffer {"connection_id":118699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:53:32] local.INFO: IMEI packet received {"connection_id":118699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":118699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:53:33] local.INFO: TCP Data received {"connection_id":118699,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f19fb2408012d6829c0061e65600005014f2b..."} 
[2026-07-01 00:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19fb2408012d6829c0061e65600005014f2b..."} 
[2026-07-01 00:53:33] local.INFO: Processing buffer {"connection_id":118699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19fb2408012d6829c0061e65600005014f2b..."} 
[2026-07-01 00:53:33] local.INFO: Packet analysis {"connection_id":118699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19fb"} 
[2026-07-01 00:53:33] local.INFO: Extracted packet for processing {"connection_id":118699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19fb"} 
[2026-07-01 00:53:33] local.INFO: GPS Element Parsed {"raw_longitude":761801152,"raw_latitude":102655328,"longitude_deg":76.1801152,"latitude_deg":10.2655328,"altitude":5,"angle":335,"satellites":43,"speed":44,"hex_longitude":"2d6829c0","hex_latitude":"061e6560","is_valid_coordinates":true} 
[2026-07-01 00: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-01 00:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408911104001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332265859793813504,"note":"Value kept but may cause issues"} 
[2026-07-01 00:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7510033879894425600,"note":"Value kept but may cause issues"} 
[2026-07-01 00:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782847317000,"timestamp_ms":1782847317000,"timestamp_seconds":1782847317,"priority":1,"record_length":96,"hex_timestamp":"0000019f19fb2408"} 
[2026-07-01 00: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-01 00:53:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 00:53:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00: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-01 00: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-01 00:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":118699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":118699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":118699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408911104001,"66":27343,"85":206,"79":20992,"24":44,"16":332265859793813504,"45":7510033879894425600},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,79,24,16,45]} 
[2026-07-01 00:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408911104001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:53:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-07-01 00:53:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 00:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332265859793813504,"km_value":332265859793813.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7510033879894425600,"description":"Unknown IO ID 45"} 
[2026-07-01 00:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408911104001,"power":27343,"unknown_85":206,"unknown_79":20992,"ignition":44,"odometer":null,"unknown_45":7510033879894425600}} 
[2026-07-01 00:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":118699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:53:33] local.INFO: GPS data processed {"connection_id":118699,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:53:33] local.INFO: Acknowledgment sent {"connection_id":118699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:53:33] local.INFO: TCP Data received {"connection_id":118699,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f19fb5ab8012d681940061e8470000501522b..."} 
[2026-07-01 00:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19fb5ab8012d681940061e8470000501522b..."} 
[2026-07-01 00:53:33] local.INFO: Processing buffer {"connection_id":118699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19fb5ab8012d681940061e8470000501522b..."} 
[2026-07-01 00:53:33] local.INFO: Packet analysis {"connection_id":118699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19fb"} 
[2026-07-01 00:53:33] local.INFO: Extracted packet for processing {"connection_id":118699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19fb"} 
[2026-07-01 00:53:33] local.INFO: GPS Element Parsed {"raw_longitude":761796928,"raw_latitude":102663280,"longitude_deg":76.1796928,"latitude_deg":10.266328,"altitude":5,"angle":338,"satellites":43,"speed":20,"hex_longitude":"2d681940","hex_latitude":"061e8470","is_valid_coordinates":true} 
[2026-07-01 00: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-01 00:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408913152001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332266297880477696,"note":"Value kept but may cause issues"} 
[2026-07-01 00:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7505741386501939200,"note":"Value kept but may cause issues"} 
[2026-07-01 00:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782847331000,"timestamp_ms":1782847331000,"timestamp_seconds":1782847331,"priority":1,"record_length":96,"hex_timestamp":"0000019f19fb5ab8"} 
[2026-07-01 00: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-01 00:53:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-01 00:53:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00: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-01 00: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-01 00:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":118699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":118699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":118699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408913152001,"66":27365,"85":206,"79":20992,"24":20,"16":332266297880477696,"45":7505741386501939200},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,79,24,16,45]} 
[2026-07-01 00:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408913152001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:53:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-07-01 00:53:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 00:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332266297880477696,"km_value":332266297880477.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7505741386501939200,"description":"Unknown IO ID 45"} 
[2026-07-01 00:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408913152001,"power":27365,"unknown_85":206,"unknown_79":20992,"ignition":20,"odometer":null,"unknown_45":7505741386501939200}} 
[2026-07-01 00:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":118699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:53:33] local.INFO: GPS data processed {"connection_id":118699,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:53:33] local.INFO: Acknowledgment sent {"connection_id":118699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:53:48] local.INFO: TCP Data received {"connection_id":118701,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118701,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:53:48] local.INFO: Processing buffer {"connection_id":118701,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:53:48] local.INFO: IMEI packet received {"connection_id":118701,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 00:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":118701,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:53:53] local.INFO: TCP Data received {"connection_id":118701,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118701,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:53:53] local.INFO: Processing buffer {"connection_id":118701,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:53:53] local.INFO: IMEI packet received {"connection_id":118701,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 00:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":118701,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:53:54] local.INFO: TCP Data received {"connection_id":118701,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f19fa60b8012d7e394005d34d880005002e30..."} 
[2026-07-01 00:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19fa60b8012d7e394005d34d880005002e30..."} 
[2026-07-01 00:53:54] local.INFO: Processing buffer {"connection_id":118701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19fa60b8012d7e394005d34d880005002e30..."} 
[2026-07-01 00:53:54] local.INFO: Packet analysis {"connection_id":118701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19fa"} 
[2026-07-01 00:53:54] local.INFO: Extracted packet for processing {"connection_id":118701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19fa"} 
[2026-07-01 00:53:54] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":48,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00: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-01 00:53:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408823296001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:53:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:53:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215515136,"note":"Value kept but may cause issues"} 
[2026-07-01 00:53:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:53:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782847267000,"timestamp_ms":1782847267000,"timestamp_seconds":1782847267,"priority":1,"record_length":96,"hex_timestamp":"0000019f19fa60b8"} 
[2026-07-01 00: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-01 00:53:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 00: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":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-01 00:53:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:53:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00: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-01 00:53:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:53:54] local.INFO: Teltonika packet parsed successfully {"connection_id":118701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:53:54] local.INFO: Passing IMEI to GPS processor {"connection_id":118701,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:53:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":118701,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:53:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:53:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:53:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:53:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408823296001,"66":2209,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9095371316215515136},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:53:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:53:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:53:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408823296001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:53:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:53:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:53:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:53:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215515136,"description":"Unknown IO ID 45"} 
[2026-07-01 00:53:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408823296001,"power":2209,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215515136}} 
[2026-07-01 00:53:54] local.INFO: DEBUG: GPS processor result {"connection_id":118701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415535,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:53:54] local.INFO: GPS data processed {"connection_id":118701,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:53:54] local.INFO: Acknowledgment sent {"connection_id":118701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:53:59] local.INFO: TCP Data received {"connection_id":118581,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f19f9a150012d68fe80061c8fd00005014e2c..."} 
[2026-07-01 00:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19f9a150012d68fe80061c8fd00005014e2c..."} 
[2026-07-01 00:53:59] local.INFO: Processing buffer {"connection_id":118581,"buffer_length":966,"buffer_hex":"000000000000009f8e020000019f19f985f8012d690f80061c6e900005014c2a..."} 
[2026-07-01 00:53:59] local.INFO: Packet analysis {"connection_id":118581,"data_field_length":159,"total_packet_length":171,"buffer_length":966,"packet_hex_start":"000000000000009f8e020000019f19f9"} 
[2026-07-01 00:53:59] local.INFO: Extracted packet for processing {"connection_id":118581,"packet_length":171,"remaining_buffer_length":795,"packet_hex_start":"000000000000009f8e020000019f19f9"} 
[2026-07-01 00:53:59] local.INFO: GPS Element Parsed {"raw_longitude":761859968,"raw_latitude":102526608,"longitude_deg":76.1859968,"latitude_deg":10.2526608,"altitude":5,"angle":332,"satellites":42,"speed":54,"hex_longitude":"2d690f80","hex_latitude":"061c6e90","is_valid_coordinates":true} 
[2026-07-01 00:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":171,"current_offset":40} 
[2026-07-01 00:53:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408884224001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:53:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332258974961238016,"note":"Value kept but may cause issues"} 
[2026-07-01 00:53:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7575547180691036160,"note":"Value kept but may cause issues"} 
[2026-07-01 00:53:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:53:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782847211000,"timestamp_ms":1782847211000,"timestamp_seconds":1782847211,"priority":1,"record_length":96,"hex_timestamp":"0000019f19f985f8"} 
[2026-07-01 00:53:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":2,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:53: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-01 00:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":171,"current_offset":136} 
[2026-07-01 00:53:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":171,"available_bytes":35,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:53:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":171,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:53:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":2,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:53:59] local.INFO: AVL Records parsing completed {"total_expected":2,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:53:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118581,"avl_records_parsed":1,"avl_records_expected":2,"crc_valid":false} 
[2026-07-01 00:53:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:53:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:53:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:53:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:53:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:53:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408884224001,"66":27223,"86":206,"79":20992,"24":54,"16":332258974961238016,"45":7575547180691036160},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-01 00:53:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:53:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:53:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408884224001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:53:59] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-01 00:53:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 00:53:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332258974961238016,"km_value":332258974961238.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:53:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":7575547180691036160,"description":"Unknown IO ID 45"} 
[2026-07-01 00:53:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408884224001,"power":27223,"unknown_86":206,"unknown_79":20992,"ignition":54,"odometer":null,"unknown_45":7575547180691036160}} 
[2026-07-01 00:53:59] local.INFO: DEBUG: GPS processor result {"connection_id":118581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:53:59] local.INFO: GPS data processed {"connection_id":118581,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:53:59] local.INFO: Acknowledgment sent {"connection_id":118581,"records_acknowledged":1,"records_expected":2,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:53:59] local.INFO: Packet analysis {"connection_id":118581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19f9"} 
[2026-07-01 00:53:59] local.INFO: Extracted packet for processing {"connection_id":118581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19f9"} 
[2026-07-01 00:53:59] local.INFO: GPS Element Parsed {"raw_longitude":761855616,"raw_latitude":102535120,"longitude_deg":76.1855616,"latitude_deg":10.253512,"altitude":5,"angle":334,"satellites":44,"speed":54,"hex_longitude":"2d68fe80","hex_latitude":"061c8fd0","is_valid_coordinates":true} 
[2026-07-01 00:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:53:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408886016001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:53:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332259438817705984,"note":"Value kept but may cause issues"} 
[2026-07-01 00:53:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7570410262368260096,"note":"Value kept but may cause issues"} 
[2026-07-01 00:53:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:53:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782847218000,"timestamp_ms":1782847218000,"timestamp_seconds":1782847218,"priority":1,"record_length":96,"hex_timestamp":"0000019f19f9a150"} 
[2026-07-01 00:53:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:53: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-01 00:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-07-01 00:53:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1511,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:53:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:53:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:53:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:53:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:53:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:53:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:53:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:53:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:53:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:53:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408886016001,"66":27267,"86":206,"79":20992,"24":54,"16":332259438817705984,"45":7570410262368260096},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-07-01 00:53:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:53:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:53:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408886016001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:53:59] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-01 00:53:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 00:53:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332259438817705984,"km_value":332259438817706.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:53:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":7570410262368260096,"description":"Unknown IO ID 45"} 
[2026-07-01 00:53:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408886016001,"power":27267,"unknown_86":206,"unknown_79":20992,"ignition":54,"odometer":null,"unknown_45":7570410262368260096}} 
[2026-07-01 00:53:59] local.INFO: DEBUG: GPS processor result {"connection_id":118581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:53:59] local.INFO: GPS data processed {"connection_id":118581,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:53:59] local.INFO: Acknowledgment sent {"connection_id":118581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:54:05] local.INFO: TCP Data received {"connection_id":118699,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f19fb9168012d6809c0061ea7800006014d2a..."} 
[2026-07-01 00:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19fb9168012d6809c0061ea7800006014d2a..."} 
[2026-07-01 00:54:05] local.INFO: Processing buffer {"connection_id":118699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19fb9168012d6809c0061ea7800006014d2a..."} 
[2026-07-01 00:54:05] local.INFO: Packet analysis {"connection_id":118699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19fb"} 
[2026-07-01 00:54:05] local.INFO: Extracted packet for processing {"connection_id":118699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19fb"} 
[2026-07-01 00:54:05] local.INFO: GPS Element Parsed {"raw_longitude":761792960,"raw_latitude":102672256,"longitude_deg":76.179296,"latitude_deg":10.2672256,"altitude":6,"angle":333,"satellites":42,"speed":37,"hex_longitude":"2d6809c0","hex_latitude":"061ea780","is_valid_coordinates":true} 
[2026-07-01 00: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-01 00:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408916736001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332266770326880256,"note":"Value kept but may cause issues"} 
[2026-07-01 00:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7501097049388249088,"note":"Value kept but may cause issues"} 
[2026-07-01 00:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782847345000,"timestamp_ms":1782847345000,"timestamp_seconds":1782847345,"priority":1,"record_length":96,"hex_timestamp":"0000019f19fb9168"} 
[2026-07-01 00: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-01 00:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 00:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00: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-01 00: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-01 00:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":118699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":118699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":118699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408916736001,"66":27321,"85":206,"79":20992,"24":37,"16":332266770326880256,"45":7501097049388249088},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,79,24,16,45]} 
[2026-07-01 00:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408916736001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:54:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-07-01 00:54:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 00:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332266770326880256,"km_value":332266770326880.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7501097049388249088,"description":"Unknown IO ID 45"} 
[2026-07-01 00:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408916736001,"power":27321,"unknown_85":206,"unknown_79":20992,"ignition":37,"odometer":null,"unknown_45":7501097049388249088}} 
[2026-07-01 00:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":118699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:54:05] local.INFO: GPS data processed {"connection_id":118699,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:54:05] local.INFO: Acknowledgment sent {"connection_id":118699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:54:22] local.INFO: TCP Data received {"connection_id":119344,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:54:22] local.INFO: Processing buffer {"connection_id":119344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:54:22] local.INFO: IMEI packet received {"connection_id":119344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 00:54:22] local.INFO: IMEI acknowledgment sent {"connection_id":119344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:54:23] local.INFO: TCP Data received {"connection_id":119344,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:54:23] local.INFO: Processing buffer {"connection_id":119344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:54:23] local.INFO: IMEI packet received {"connection_id":119344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":119344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:54:26] local.INFO: TCP Data received {"connection_id":118701,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f19fa60b8012d7e394005d34d880005002e30..."} 
[2026-07-01 00:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19fa60b8012d7e394005d34d880005002e30..."} 
[2026-07-01 00:54:26] local.INFO: Processing buffer {"connection_id":118701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19fa60b8012d7e394005d34d880005002e30..."} 
[2026-07-01 00:54:26] local.INFO: Packet analysis {"connection_id":118701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19fa"} 
[2026-07-01 00:54:26] local.INFO: Extracted packet for processing {"connection_id":118701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19fa"} 
[2026-07-01 00:54:26] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":48,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:54:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408823296001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:54:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:54:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215515136,"note":"Value kept but may cause issues"} 
[2026-07-01 00:54:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:54:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782847267000,"timestamp_ms":1782847267000,"timestamp_seconds":1782847267,"priority":1,"record_length":96,"hex_timestamp":"0000019f19fa60b8"} 
[2026-07-01 00:54:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:54:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 00:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-01 00:54:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:54:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:54:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:54:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:54:26] local.INFO: Teltonika packet parsed successfully {"connection_id":118701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:54:26] local.INFO: Passing IMEI to GPS processor {"connection_id":118701,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:54:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":118701,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:54:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:54:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:54:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:54:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408823296001,"66":2209,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9095371316215515136},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:54:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:54:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:54:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408823296001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:54:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:54:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:54:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:54:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215515136,"description":"Unknown IO ID 45"} 
[2026-07-01 00:54:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408823296001,"power":2209,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215515136}} 
[2026-07-01 00:54:26] local.INFO: DEBUG: GPS processor result {"connection_id":118701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415539,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:54:26] local.INFO: GPS data processed {"connection_id":118701,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:54:26] local.INFO: Acknowledgment sent {"connection_id":118701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:54:27] local.INFO: TCP Data received {"connection_id":119344,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:54:27] local.INFO: Processing buffer {"connection_id":119344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:54:27] local.INFO: IMEI packet received {"connection_id":119344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":119344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:54:28] local.INFO: TCP Data received {"connection_id":119344,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f19fbb490012d67f840061ec5f80004014629..."} 
[2026-07-01 00:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19fbb490012d67f840061ec5f80004014629..."} 
[2026-07-01 00:54:28] local.INFO: Processing buffer {"connection_id":119344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19fbb490012d67f840061ec5f80004014629..."} 
[2026-07-01 00:54:28] local.INFO: Packet analysis {"connection_id":119344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19fb"} 
[2026-07-01 00:54:28] local.INFO: Extracted packet for processing {"connection_id":119344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19fb"} 
[2026-07-01 00:54:28] local.INFO: GPS Element Parsed {"raw_longitude":761788480,"raw_latitude":102680056,"longitude_deg":76.178848,"latitude_deg":10.2680056,"altitude":4,"angle":326,"satellites":41,"speed":42,"hex_longitude":"2d67f840","hex_latitude":"061ec5f8","is_valid_coordinates":true} 
[2026-07-01 00:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408920320001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:54:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332267208413544448,"note":"Value kept but may cause issues"} 
[2026-07-01 00:54:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7496734187251531776,"note":"Value kept but may cause issues"} 
[2026-07-01 00:54:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:54:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782847354000,"timestamp_ms":1782847354000,"timestamp_seconds":1782847354,"priority":1,"record_length":96,"hex_timestamp":"0000019f19fbb490"} 
[2026-07-01 00:54:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:54:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-01 00:54:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:54:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:54:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:54:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:54:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:54:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:54:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:54:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:54:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:54:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:54:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408920320001,"66":27234,"85":206,"79":20992,"24":42,"16":332267208413544448,"45":7496734187251531776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,79,24,16,45]} 
[2026-07-01 00:54:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:54:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:54:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408920320001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:54:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-07-01 00:54:28] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 00:54:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332267208413544448,"km_value":332267208413544.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:54:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":7496734187251531776,"description":"Unknown IO ID 45"} 
[2026-07-01 00:54:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408920320001,"power":27234,"unknown_85":206,"unknown_79":20992,"ignition":42,"odometer":null,"unknown_45":7496734187251531776}} 
[2026-07-01 00:54:28] local.INFO: DEBUG: GPS processor result {"connection_id":119344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:54:28] local.INFO: GPS data processed {"connection_id":119344,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:54:28] local.INFO: Acknowledgment sent {"connection_id":119344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:54:48] local.INFO: TCP Data received {"connection_id":119345,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119345,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:54:48] local.INFO: Processing buffer {"connection_id":119345,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:54:48] local.INFO: IMEI packet received {"connection_id":119345,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 00:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":119345,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:54:53] local.INFO: TCP Data received {"connection_id":119345,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119345,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:54:53] local.INFO: Processing buffer {"connection_id":119345,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:54:53] local.INFO: IMEI packet received {"connection_id":119345,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 00:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":119345,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:54:54] local.INFO: TCP Data received {"connection_id":119345,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f19fa60b8012d7e394005d34d880005002e30..."} 
[2026-07-01 00:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19fa60b8012d7e394005d34d880005002e30..."} 
[2026-07-01 00:54:54] local.INFO: Processing buffer {"connection_id":119345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19fa60b8012d7e394005d34d880005002e30..."} 
[2026-07-01 00:54:54] local.INFO: Packet analysis {"connection_id":119345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19fa"} 
[2026-07-01 00:54:54] local.INFO: Extracted packet for processing {"connection_id":119345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19fa"} 
[2026-07-01 00:54:54] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":48,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00: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-01 00:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408823296001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215515136,"note":"Value kept but may cause issues"} 
[2026-07-01 00:54:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782847267000,"timestamp_ms":1782847267000,"timestamp_seconds":1782847267,"priority":1,"record_length":96,"hex_timestamp":"0000019f19fa60b8"} 
[2026-07-01 00: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-01 00:54:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 00: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":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-01 00:54:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00: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-01 00: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-01 00:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":119345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":119345,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":119345,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:54:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408823296001,"66":2209,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9095371316215515136},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408823296001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:54:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:54:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215515136,"description":"Unknown IO ID 45"} 
[2026-07-01 00:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408823296001,"power":2209,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215515136}} 
[2026-07-01 00:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":119345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415541,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:54:54] local.INFO: GPS data processed {"connection_id":119345,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:54:54] local.INFO: Acknowledgment sent {"connection_id":119345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:54:59] local.INFO: TCP Data received {"connection_id":119344,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f19fbd7b8012d67e300061ee3e80003014629..."} 
[2026-07-01 00:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19fbd7b8012d67e300061ee3e80003014629..."} 
[2026-07-01 00:54:59] local.INFO: Processing buffer {"connection_id":119344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19fbd7b8012d67e300061ee3e80003014629..."} 
[2026-07-01 00:54:59] local.INFO: Packet analysis {"connection_id":119344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19fb"} 
[2026-07-01 00:54:59] local.INFO: Extracted packet for processing {"connection_id":119344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19fb"} 
[2026-07-01 00:54:59] local.INFO: GPS Element Parsed {"raw_longitude":761783040,"raw_latitude":102687720,"longitude_deg":76.178304,"latitude_deg":10.268772,"altitude":3,"angle":326,"satellites":41,"speed":35,"hex_longitude":"2d67e300","hex_latitude":"061ee3e8","is_valid_coordinates":true} 
[2026-07-01 00: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-01 00:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408922624001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332267659385110528,"note":"Value kept but may cause issues"} 
[2026-07-01 00:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7491808375161092096,"note":"Value kept but may cause issues"} 
[2026-07-01 00:54:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782847363000,"timestamp_ms":1782847363000,"timestamp_seconds":1782847363,"priority":1,"record_length":96,"hex_timestamp":"0000019f19fbd7b8"} 
[2026-07-01 00: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-01 00:54:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-01 00:54:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00: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-01 00: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-01 00:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:54:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408922624001,"66":27539,"92":206,"79":20992,"24":35,"16":332267659385110528,"45":7491808375161092096},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,79,24,16,45]} 
[2026-07-01 00:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408922624001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:54:59] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-01 00:54:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 00:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332267659385110528,"km_value":332267659385110.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":7491808375161092096,"description":"Unknown IO ID 45"} 
[2026-07-01 00:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408922624001,"power":27539,"unknown_92":206,"unknown_79":20992,"ignition":35,"odometer":null,"unknown_45":7491808375161092096}} 
[2026-07-01 00:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":119344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:54:59] local.INFO: GPS data processed {"connection_id":119344,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:54:59] local.INFO: Acknowledgment sent {"connection_id":119344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:55:22] local.INFO: TCP Data received {"connection_id":118583,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:55:22] local.INFO: Processing buffer {"connection_id":118583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:55:22] local.INFO: IMEI packet received {"connection_id":118583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 00:55:22] local.INFO: IMEI acknowledgment sent {"connection_id":118583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:55:22] local.INFO: TCP Data received {"connection_id":118583,"ip":"42.106.6.16","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 00:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118583,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 00:55:22] local.INFO: Processing buffer {"connection_id":118583,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 00:55:22] local.INFO: IMEI packet received {"connection_id":118583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:55:22] local.INFO: IMEI acknowledgment sent {"connection_id":118583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:55:25] local.INFO: TCP Data received {"connection_id":119345,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f19fa60b8012d7e394005d34d880005002e30..."} 
[2026-07-01 00:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19fa60b8012d7e394005d34d880005002e30..."} 
[2026-07-01 00:55:25] local.INFO: Processing buffer {"connection_id":119345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19fa60b8012d7e394005d34d880005002e30..."} 
[2026-07-01 00:55:25] local.INFO: Packet analysis {"connection_id":119345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19fa"} 
[2026-07-01 00:55:25] local.INFO: Extracted packet for processing {"connection_id":119345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19fa"} 
[2026-07-01 00:55:25] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":48,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00:55:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:55:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408823296001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:55:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:55:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215515136,"note":"Value kept but may cause issues"} 
[2026-07-01 00:55:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:55:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782847267000,"timestamp_ms":1782847267000,"timestamp_seconds":1782847267,"priority":1,"record_length":96,"hex_timestamp":"0000019f19fa60b8"} 
[2026-07-01 00:55:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:55:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 00:55:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-01 00:55:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:55:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:55:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:55:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:55:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:55:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119345,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:55:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119345,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:55: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-01 00:55:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:55:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:55:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408823296001,"66":2209,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9095371316215515136},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:55:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:55:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:55:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408823296001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:55:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:55:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:55:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:55:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215515136,"description":"Unknown IO ID 45"} 
[2026-07-01 00:55:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408823296001,"power":2209,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215515136}} 
[2026-07-01 00:55:25] local.INFO: DEBUG: GPS processor result {"connection_id":119345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415543,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:55:25] local.INFO: GPS data processed {"connection_id":119345,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:55:25] local.INFO: Acknowledgment sent {"connection_id":119345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:55:27] local.INFO: TCP Data received {"connection_id":118583,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:55:27] local.INFO: Processing buffer {"connection_id":118583,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 00:55:27] local.INFO: IMEI packet received {"connection_id":118583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:55:27] local.INFO: IMEI acknowledgment sent {"connection_id":118583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:55:28] local.INFO: TCP Data received {"connection_id":118583,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f19fd5688012d66e880061ff4880006014d29..."} 
[2026-07-01 00:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19fd5688012d66e880061ff4880006014d29..."} 
[2026-07-01 00:55:28] local.INFO: Processing buffer {"connection_id":118583,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f19..."} 
[2026-07-01 00:55:28] local.INFO: IMEI packet received {"connection_id":118583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:55:28] local.INFO: IMEI acknowledgment sent {"connection_id":118583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:55:33] local.INFO: TCP Data received {"connection_id":118583,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f19fd6240012d66e380062002580007015c2a..."} 
[2026-07-01 00:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19fd6240012d66e380062002580007015c2a..."} 
[2026-07-01 00:55:33] local.INFO: Processing buffer {"connection_id":118583,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f19fd5688012d66e880061ff4880006014d29..."} 
[2026-07-01 00:55:33] local.INFO: Packet analysis {"connection_id":118583,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f19fd"} 
[2026-07-01 00:55:33] local.INFO: Extracted packet for processing {"connection_id":118583,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19fd"} 
[2026-07-01 00:55:33] local.INFO: GPS Element Parsed {"raw_longitude":761718912,"raw_latitude":102757512,"longitude_deg":76.1718912,"latitude_deg":10.2757512,"altitude":6,"angle":333,"satellites":41,"speed":50,"hex_longitude":"2d66e880","hex_latitude":"061ff488","is_valid_coordinates":true} 
[2026-07-01 00:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408948736001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332272263590051840,"note":"Value kept but may cause issues"} 
[2026-07-01 00:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7419047093699866624,"note":"Value kept but may cause issues"} 
[2026-07-01 00:55:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782847461000,"timestamp_ms":1782847461000,"timestamp_seconds":1782847461,"priority":1,"record_length":96,"hex_timestamp":"0000019f19fd5688"} 
[2026-07-01 00:55:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:55:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 00:55:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:55:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:55:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":118583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":118583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":118583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:55:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408948736001,"66":27234,"92":206,"79":20992,"24":50,"16":332272263590051840,"45":7419047093699866624},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,79,24,16,45]} 
[2026-07-01 00:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408948736001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:55:33] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-01 00:55:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 00:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332272263590051840,"km_value":332272263590051.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7419047093699866624,"description":"Unknown IO ID 45"} 
[2026-07-01 00:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408948736001,"power":27234,"unknown_92":206,"unknown_79":20992,"ignition":50,"odometer":null,"unknown_45":7419047093699866624}} 
[2026-07-01 00:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":118583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:55:33] local.INFO: GPS data processed {"connection_id":118583,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:55:33] local.INFO: Acknowledgment sent {"connection_id":118583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:55:33] local.INFO: Packet analysis {"connection_id":118583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19fd"} 
[2026-07-01 00:55:33] local.INFO: Extracted packet for processing {"connection_id":118583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19fd"} 
[2026-07-01 00:55:33] local.INFO: GPS Element Parsed {"raw_longitude":761717632,"raw_latitude":102761048,"longitude_deg":76.1717632,"latitude_deg":10.2761048,"altitude":7,"angle":348,"satellites":42,"speed":49,"hex_longitude":"2d66e380","hex_latitude":"06200258","is_valid_coordinates":true} 
[2026-07-01 00:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408950016001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332272448273645568,"note":"Value kept but may cause issues"} 
[2026-07-01 00:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7415317550259800064,"note":"Value kept but may cause issues"} 
[2026-07-01 00:55:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782847464000,"timestamp_ms":1782847464000,"timestamp_seconds":1782847464,"priority":1,"record_length":96,"hex_timestamp":"0000019f19fd6240"} 
[2026-07-01 00:55:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:55:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-01 00:55:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:55:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:55:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":118583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":118583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":118583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:55:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408950016001,"66":27300,"92":206,"79":20992,"24":49,"16":332272448273645568,"45":7415317550259800064},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,79,24,16,45]} 
[2026-07-01 00:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408950016001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:55:33] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-01 00:55:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 00:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332272448273645568,"km_value":332272448273645.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7415317550259800064,"description":"Unknown IO ID 45"} 
[2026-07-01 00:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408950016001,"power":27300,"unknown_92":206,"unknown_79":20992,"ignition":49,"odometer":null,"unknown_45":7415317550259800064}} 
[2026-07-01 00:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":118583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:55:33] local.INFO: GPS data processed {"connection_id":118583,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:55:33] local.INFO: Acknowledgment sent {"connection_id":118583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:55:53] local.INFO: TCP Data received {"connection_id":118584,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118584,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:55:53] local.INFO: Processing buffer {"connection_id":118584,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:55:53] local.INFO: IMEI packet received {"connection_id":118584,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 00:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":118584,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:55:58] local.INFO: TCP Data received {"connection_id":118584,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118584,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:55:58] local.INFO: Processing buffer {"connection_id":118584,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 00:55:58] local.INFO: IMEI packet received {"connection_id":118584,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 00:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":118584,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:55:59] local.INFO: TCP Data received {"connection_id":118584,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f19fa60b8012d7e394005d34d880005002e30..."} 
[2026-07-01 00:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19fa60b8012d7e394005d34d880005002e30..."} 
[2026-07-01 00:55:59] local.INFO: Processing buffer {"connection_id":118584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19fa60b8012d7e394005d34d880005002e30..."} 
[2026-07-01 00:55:59] local.INFO: Packet analysis {"connection_id":118584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19fa"} 
[2026-07-01 00:55:59] local.INFO: Extracted packet for processing {"connection_id":118584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19fa"} 
[2026-07-01 00:55:59] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97734024,"longitude_deg":76.3246912,"latitude_deg":9.7734024,"altitude":5,"angle":46,"satellites":48,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34d88","is_valid_coordinates":true} 
[2026-07-01 00: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-01 00:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408823296001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 00:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215515136,"note":"Value kept but may cause issues"} 
[2026-07-01 00:55:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782847267000,"timestamp_ms":1782847267000,"timestamp_seconds":1782847267,"priority":1,"record_length":96,"hex_timestamp":"0000019f19fa60b8"} 
[2026-07-01 00: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-01 00:55:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 00: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":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-01 00:55:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00: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-01 00: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-01 00:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 00:55:59] 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-01 00:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 00:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 00:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408823296001,"66":2209,"81":206,"85":15104,"24":0,"16":101066786702622720,"45":9095371316215515136},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 00:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 00:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 00:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408823296001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:55:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 00:55:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 00:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101066786702622720,"km_value":101066786702622.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215515136,"description":"Unknown IO ID 45"} 
[2026-07-01 00:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408823296001,"power":2209,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215515136}} 
[2026-07-01 00:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":118584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415546,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:55:59] local.INFO: GPS data processed {"connection_id":118584,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:55:59] local.INFO: Acknowledgment sent {"connection_id":118584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:56:11] local.INFO: TCP Data received {"connection_id":118583,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f19fe3148012d66c4800620b120000a000e2b..."} 
[2026-07-01 00:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19fe3148012d66c4800620b120000a000e2b..."} 
[2026-07-01 00:56:11] local.INFO: Processing buffer {"connection_id":118583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19fe3148012d66c4800620b120000a000e2b..."} 
[2026-07-01 00:56:11] local.INFO: Packet analysis {"connection_id":118583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19fe"} 
[2026-07-01 00:56:11] local.INFO: Extracted packet for processing {"connection_id":118583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19fe"} 
[2026-07-01 00:56:11] local.INFO: GPS Element Parsed {"raw_longitude":761709696,"raw_latitude":102805792,"longitude_deg":76.1709696,"latitude_deg":10.2805792,"altitude":10,"angle":14,"satellites":43,"speed":48,"hex_longitude":"2d66c480","hex_latitude":"0620b120","is_valid_coordinates":true} 
[2026-07-01 00: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-01 00:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408963072001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332274978009382912,"note":"Value kept but may cause issues"} 
[2026-07-01 00:56:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7402440070086242304,"note":"Value kept but may cause issues"} 
[2026-07-01 00:56:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1782847517000,"timestamp_ms":1782847517000,"timestamp_seconds":1782847517,"priority":1,"record_length":96,"hex_timestamp":"0000019f19fe3148"} 
[2026-07-01 00: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-01 00:56:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-01 00:56:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00: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-01 00: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-01 00:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":118583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":118583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":118583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:56: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-01 00:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408963072001,"66":27463,"94":206,"79":20992,"24":48,"16":332274978009382912,"45":7402440070086242304},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,79,24,16,45]} 
[2026-07-01 00:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408963072001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:56:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-07-01 00:56:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 00:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332274978009382912,"km_value":332274978009382.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:56:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":7402440070086242304,"description":"Unknown IO ID 45"} 
[2026-07-01 00:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408963072001,"power":27463,"unknown_94":206,"unknown_79":20992,"ignition":48,"odometer":null,"unknown_45":7402440070086242304}} 
[2026-07-01 00:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":118583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:56:11] local.INFO: GPS data processed {"connection_id":118583,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:56:11] local.INFO: Acknowledgment sent {"connection_id":118583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:56:22] local.INFO: TCP Data received {"connection_id":120451,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:56:22] local.INFO: Processing buffer {"connection_id":120451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:56:22] local.INFO: IMEI packet received {"connection_id":120451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 00:56:22] local.INFO: IMEI acknowledgment sent {"connection_id":120451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:56:22] local.INFO: TCP Data received {"connection_id":120451,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:56:22] local.INFO: Processing buffer {"connection_id":120451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:56:22] local.INFO: IMEI packet received {"connection_id":120451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:56:22] local.INFO: IMEI acknowledgment sent {"connection_id":120451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:56:26] local.INFO: TCP Data received {"connection_id":120451,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:56:26] local.INFO: Processing buffer {"connection_id":120451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:56:26] local.INFO: IMEI packet received {"connection_id":120451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":120451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:56:27] local.INFO: TCP Data received {"connection_id":120451,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f19fe3d00012d66c6400620bf30000a00002b..."} 
[2026-07-01 00:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19fe3d00012d66c6400620bf30000a00002b..."} 
[2026-07-01 00:56:27] local.INFO: Processing buffer {"connection_id":120451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19fe3d00012d66c6400620bf30000a00002b..."} 
[2026-07-01 00:56:27] local.INFO: Packet analysis {"connection_id":120451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19fe"} 
[2026-07-01 00:56:27] local.INFO: Extracted packet for processing {"connection_id":120451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19fe"} 
[2026-07-01 00:56:27] local.INFO: GPS Element Parsed {"raw_longitude":761710144,"raw_latitude":102809392,"longitude_deg":76.1710144,"latitude_deg":10.2809392,"altitude":10,"angle":0,"satellites":43,"speed":46,"hex_longitude":"2d66c640","hex_latitude":"0620bf30","is_valid_coordinates":true} 
[2026-07-01 00:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408964352001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332275154103042048,"note":"Value kept but may cause issues"} 
[2026-07-01 00:56:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7405184451110576128,"note":"Value kept but may cause issues"} 
[2026-07-01 00:56:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782847520000,"timestamp_ms":1782847520000,"timestamp_seconds":1782847520,"priority":1,"record_length":96,"hex_timestamp":"0000019f19fe3d00"} 
[2026-07-01 00:56:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:56:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-01 00:56:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:56:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:56:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:56:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408964352001,"66":27571,"94":206,"79":20992,"24":46,"16":332275154103042048,"45":7405184451110576128},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,79,24,16,45]} 
[2026-07-01 00:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408964352001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:56:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-07-01 00:56:27] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 00:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332275154103042048,"km_value":332275154103042.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:56:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":7405184451110576128,"description":"Unknown IO ID 45"} 
[2026-07-01 00:56:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408964352001,"power":27571,"unknown_94":206,"unknown_79":20992,"ignition":46,"odometer":null,"unknown_45":7405184451110576128}} 
[2026-07-01 00:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":120451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:56:27] local.INFO: GPS data processed {"connection_id":120451,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:56:27] local.INFO: Acknowledgment sent {"connection_id":120451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:56:32] local.INFO: TCP Data received {"connection_id":119346,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 00:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119346,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 00:56:32] local.INFO: Processing buffer {"connection_id":119346,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 00:56:32] local.INFO: IMEI packet received {"connection_id":119346,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 00:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":119346,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:56:59] local.INFO: TCP Data received {"connection_id":120451,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f19fe5088012d66c4800620d588000a015d29..."} 
[2026-07-01 00:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19fe5088012d66c4800620d588000a015d29..."} 
[2026-07-01 00:56:59] local.INFO: Processing buffer {"connection_id":120451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19fe5088012d66c4800620d588000a015d29..."} 
[2026-07-01 00:56:59] local.INFO: Packet analysis {"connection_id":120451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19fe"} 
[2026-07-01 00:56:59] local.INFO: Extracted packet for processing {"connection_id":120451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19fe"} 
[2026-07-01 00:56:59] local.INFO: GPS Element Parsed {"raw_longitude":761709696,"raw_latitude":102815112,"longitude_deg":76.1709696,"latitude_deg":10.2815112,"altitude":10,"angle":349,"satellites":41,"speed":42,"hex_longitude":"2d66c480","hex_latitude":"0620d588","is_valid_coordinates":true} 
[2026-07-01 00:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408965120001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332275433275916288,"note":"Value kept but may cause issues"} 
[2026-07-01 00:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7405677032320741376,"note":"Value kept but may cause issues"} 
[2026-07-01 00:56:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782847525000,"timestamp_ms":1782847525000,"timestamp_seconds":1782847525,"priority":1,"record_length":96,"hex_timestamp":"0000019f19fe5088"} 
[2026-07-01 00:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:56: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-01 00:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-01 00:56:59] 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-01 00:56:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":120451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":120451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":120451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:56:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408965120001,"66":27517,"94":206,"79":20992,"24":42,"16":332275433275916288,"45":7405677032320741376},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,79,24,16,45]} 
[2026-07-01 00:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408965120001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:56:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-07-01 00:56:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 00:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332275433275916288,"km_value":332275433275916.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":7405677032320741376,"description":"Unknown IO ID 45"} 
[2026-07-01 00:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408965120001,"power":27517,"unknown_94":206,"unknown_79":20992,"ignition":42,"odometer":null,"unknown_45":7405677032320741376}} 
[2026-07-01 00:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":120451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:56:59] local.INFO: GPS data processed {"connection_id":120451,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:56:59] local.INFO: Acknowledgment sent {"connection_id":120451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:57:17] local.INFO: TCP Data received {"connection_id":118585,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 00:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118585,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 00:57:17] local.INFO: Processing buffer {"connection_id":118585,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 00:57:17] local.INFO: IMEI packet received {"connection_id":118585,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 00:57:17] local.INFO: IMEI acknowledgment sent {"connection_id":118585,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:57:22] local.INFO: TCP Data received {"connection_id":118586,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:57:22] local.INFO: Processing buffer {"connection_id":118586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:57:22] local.INFO: IMEI packet received {"connection_id":118586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 00:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":118586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:57:27] local.INFO: TCP Data received {"connection_id":118586,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:57:27] local.INFO: Processing buffer {"connection_id":118586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:57:27] local.INFO: IMEI packet received {"connection_id":118586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":118586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:57:28] local.INFO: TCP Data received {"connection_id":118586,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f19fe6028012d66bf000620e6200008014e2b..."} 
[2026-07-01 00:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19fe6028012d66bf000620e6200008014e2b..."} 
[2026-07-01 00:57:28] local.INFO: Processing buffer {"connection_id":118586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19fe6028012d66bf000620e6200008014e2b..."} 
[2026-07-01 00:57:28] local.INFO: Packet analysis {"connection_id":118586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19fe"} 
[2026-07-01 00:57:28] local.INFO: Extracted packet for processing {"connection_id":118586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19fe"} 
[2026-07-01 00:57:28] local.INFO: GPS Element Parsed {"raw_longitude":761708288,"raw_latitude":102819360,"longitude_deg":76.1708288,"latitude_deg":10.281936,"altitude":8,"angle":334,"satellites":43,"speed":45,"hex_longitude":"2d66bf00","hex_latitude":"0620e620","is_valid_coordinates":true} 
[2026-07-01 00: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-01 00:57:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408966400001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:57:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332275648024281088,"note":"Value kept but may cause issues"} 
[2026-07-01 00:57:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7405184451112962048,"note":"Value kept but may cause issues"} 
[2026-07-01 00:57:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:57:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782847529000,"timestamp_ms":1782847529000,"timestamp_seconds":1782847529,"priority":1,"record_length":96,"hex_timestamp":"0000019f19fe6028"} 
[2026-07-01 00: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-01 00:57:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:57:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-01 00:57:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00: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-01 00: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-01 00:57:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:57:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:57:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:57:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:57:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:57:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:57:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:57:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408966400001,"66":27321,"94":206,"79":20992,"24":45,"16":332275648024281088,"45":7405184451112962048},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,79,24,16,45]} 
[2026-07-01 00:57:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:57:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:57:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408966400001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:57:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-07-01 00:57:28] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 00:57:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332275648024281088,"km_value":332275648024281.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:57:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":7405184451112962048,"description":"Unknown IO ID 45"} 
[2026-07-01 00:57:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408966400001,"power":27321,"unknown_94":206,"unknown_79":20992,"ignition":45,"odometer":null,"unknown_45":7405184451112962048}} 
[2026-07-01 00:57:28] local.INFO: DEBUG: GPS processor result {"connection_id":118586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:57:28] local.INFO: GPS data processed {"connection_id":118586,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:57:28] local.INFO: Acknowledgment sent {"connection_id":118586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:58:00] local.INFO: TCP Data received {"connection_id":118586,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f19ffdef8012d660940062265b80007013328..."} 
[2026-07-01 00:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19ffdef8012d660940062265b80007013328..."} 
[2026-07-01 00:58:00] local.INFO: Processing buffer {"connection_id":118586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19ffdef8012d660940062265b80007013328..."} 
[2026-07-01 00:58:00] local.INFO: Packet analysis {"connection_id":118586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19ff"} 
[2026-07-01 00:58:00] local.INFO: Extracted packet for processing {"connection_id":118586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19ff"} 
[2026-07-01 00:58:00] local.INFO: GPS Element Parsed {"raw_longitude":761661760,"raw_latitude":102917560,"longitude_deg":76.166176,"latitude_deg":10.291756,"altitude":7,"angle":307,"satellites":40,"speed":43,"hex_longitude":"2d660940","hex_latitude":"062265b8","is_valid_coordinates":true} 
[2026-07-01 00:58:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:58:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408990208001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:58:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332281085452877824,"note":"Value kept but may cause issues"} 
[2026-07-01 00:58:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7359937348631185408,"note":"Value kept but may cause issues"} 
[2026-07-01 00:58:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:58:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782847627000,"timestamp_ms":1782847627000,"timestamp_seconds":1782847627,"priority":1,"record_length":96,"hex_timestamp":"0000019f19ffdef8"} 
[2026-07-01 00:58:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:58:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:58:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-01 00:58:00] 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-01 00:58:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:58:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:58:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:58:00] local.INFO: Teltonika packet parsed successfully {"connection_id":118586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:58:00] local.INFO: Passing IMEI to GPS processor {"connection_id":118586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:58:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":118586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:58:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:58:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:58:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:58:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408990208001,"66":27484,"12":206,"79":20992,"24":43,"16":332281085452877824,"45":7359937348631185408},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,79,24,16,45]} 
[2026-07-01 00:58:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:58:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:58:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408990208001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:58:00] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-07-01 00:58:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 00:58:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332281085452877824,"km_value":332281085452877.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:58:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":7359937348631185408,"description":"Unknown IO ID 45"} 
[2026-07-01 00:58:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408990208001,"power":27484,"unknown_12":206,"unknown_79":20992,"ignition":43,"odometer":null,"unknown_45":7359937348631185408}} 
[2026-07-01 00:58:00] local.INFO: DEBUG: GPS processor result {"connection_id":118586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:58:00] local.INFO: GPS data processed {"connection_id":118586,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:58:00] local.INFO: Acknowledgment sent {"connection_id":118586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:58:23] local.INFO: TCP Data received {"connection_id":119347,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:58:23] local.INFO: Processing buffer {"connection_id":119347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:58:23] local.INFO: IMEI packet received {"connection_id":119347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 00:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":119347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:58:27] local.INFO: TCP Data received {"connection_id":119347,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:58:27] local.INFO: Processing buffer {"connection_id":119347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:58:27] local.INFO: IMEI packet received {"connection_id":119347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":119347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:58:30] local.INFO: TCP Data received {"connection_id":119347,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:58:30] local.INFO: Processing buffer {"connection_id":119347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:58:30] local.INFO: IMEI packet received {"connection_id":119347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":119347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:58:32] local.INFO: TCP Data received {"connection_id":119347,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f19ffee98012d65fc80062270500006013e2a..."} 
[2026-07-01 00:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f19ffee98012d65fc80062270500006013e2a..."} 
[2026-07-01 00:58:32] local.INFO: Processing buffer {"connection_id":119347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f19ffee98012d65fc80062270500006013e2a..."} 
[2026-07-01 00:58:32] local.INFO: Packet analysis {"connection_id":119347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f19ff"} 
[2026-07-01 00:58:32] local.INFO: Extracted packet for processing {"connection_id":119347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f19ff"} 
[2026-07-01 00:58:32] local.INFO: GPS Element Parsed {"raw_longitude":761658496,"raw_latitude":102920272,"longitude_deg":76.1658496,"latitude_deg":10.2920272,"altitude":6,"angle":318,"satellites":42,"speed":42,"hex_longitude":"2d65fc80","hex_latitude":"06227050","is_valid_coordinates":true} 
[2026-07-01 00:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408992512001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332281291611308032,"note":"Value kept but may cause issues"} 
[2026-07-01 00:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7352478261750118400,"note":"Value kept but may cause issues"} 
[2026-07-01 00:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782847631000,"timestamp_ms":1782847631000,"timestamp_seconds":1782847631,"priority":1,"record_length":96,"hex_timestamp":"0000019f19ffee98"} 
[2026-07-01 00:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:58:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 00:58:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:58:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":119347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":119347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":119347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408992512001,"66":27213,"12":206,"79":20992,"24":42,"16":332281291611308032,"45":7352478261750118400},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,79,24,16,45]} 
[2026-07-01 00:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408992512001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:58:32] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-07-01 00:58:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 00:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332281291611308032,"km_value":332281291611308.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":7352478261750118400,"description":"Unknown IO ID 45"} 
[2026-07-01 00:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408992512001,"power":27213,"unknown_12":206,"unknown_79":20992,"ignition":42,"odometer":null,"unknown_45":7352478261750118400}} 
[2026-07-01 00:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":119347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:58:32] local.INFO: GPS data processed {"connection_id":119347,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:58:32] local.INFO: Acknowledgment sent {"connection_id":119347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:58:33] local.INFO: TCP Data received {"connection_id":119347,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a000dd8012d65e540062288c0000601322b..."} 
[2026-07-01 00:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a000dd8012d65e540062288c0000601322b..."} 
[2026-07-01 00:58:33] local.INFO: Processing buffer {"connection_id":119347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a000dd8012d65e540062288c0000601322b..."} 
[2026-07-01 00:58:33] local.INFO: Packet analysis {"connection_id":119347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a00"} 
[2026-07-01 00:58:33] local.INFO: Extracted packet for processing {"connection_id":119347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a00"} 
[2026-07-01 00:58:33] local.INFO: GPS Element Parsed {"raw_longitude":761652544,"raw_latitude":102926528,"longitude_deg":76.1652544,"latitude_deg":10.2926528,"altitude":6,"angle":306,"satellites":43,"speed":42,"hex_longitude":"2d65e540","hex_latitude":"062288c0","is_valid_coordinates":true} 
[2026-07-01 00:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408993536001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332281708223135744,"note":"Value kept but may cause issues"} 
[2026-07-01 00:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7348889455797751808,"note":"Value kept but may cause issues"} 
[2026-07-01 00:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782847639000,"timestamp_ms":1782847639000,"timestamp_seconds":1782847639,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a000dd8"} 
[2026-07-01 00:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:58:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-01 00:58:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:58:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":119347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":119347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":119347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408993536001,"66":27267,"13":206,"79":20992,"24":42,"16":332281708223135744,"45":7348889455797751808},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,79,24,16,45]} 
[2026-07-01 00:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408993536001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:58:33] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-07-01 00:58:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 00:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332281708223135744,"km_value":332281708223135.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7348889455797751808,"description":"Unknown IO ID 45"} 
[2026-07-01 00:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408993536001,"power":27267,"unknown_13":206,"unknown_79":20992,"ignition":42,"odometer":null,"unknown_45":7348889455797751808}} 
[2026-07-01 00:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":119347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:58:33] local.INFO: GPS data processed {"connection_id":119347,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:58:33] local.INFO: Acknowledgment sent {"connection_id":119347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:59:05] local.INFO: TCP Data received {"connection_id":119347,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a001d78012d65d68006229080000601252c..."} 
[2026-07-01 00:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a001d78012d65d68006229080000601252c..."} 
[2026-07-01 00:59:05] local.INFO: Processing buffer {"connection_id":119347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a001d78012d65d68006229080000601252c..."} 
[2026-07-01 00:59:05] local.INFO: Packet analysis {"connection_id":119347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a00"} 
[2026-07-01 00:59:05] local.INFO: Extracted packet for processing {"connection_id":119347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a00"} 
[2026-07-01 00:59:05] local.INFO: GPS Element Parsed {"raw_longitude":761648768,"raw_latitude":102928512,"longitude_deg":76.1648768,"latitude_deg":10.2928512,"altitude":6,"angle":293,"satellites":44,"speed":40,"hex_longitude":"2d65d680","hex_latitude":"06229080","is_valid_coordinates":true} 
[2026-07-01 00:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 00:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456408995584001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332281910086598656,"note":"Value kept but may cause issues"} 
[2026-07-01 00:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7342345162590830592,"note":"Value kept but may cause issues"} 
[2026-07-01 00:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782847643000,"timestamp_ms":1782847643000,"timestamp_seconds":1782847643,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a001d78"} 
[2026-07-01 00:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 00:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-01 00:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 00:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 00:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":119347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":119347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":119347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:59: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-01 00:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456408995584001,"66":27332,"13":206,"79":20992,"24":40,"16":332281910086598656,"45":7342345162590830592},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,79,24,16,45]} 
[2026-07-01 00:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456408995584001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:59:05] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-07-01 00:59:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 00:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332281910086598656,"km_value":332281910086598.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7342345162590830592,"description":"Unknown IO ID 45"} 
[2026-07-01 00:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456408995584001,"power":27332,"unknown_13":206,"unknown_79":20992,"ignition":40,"odometer":null,"unknown_45":7342345162590830592}} 
[2026-07-01 00:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":119347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:59:05] local.INFO: GPS data processed {"connection_id":119347,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:59:05] local.INFO: Acknowledgment sent {"connection_id":119347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 00:59:22] local.INFO: TCP Data received {"connection_id":118589,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:59:22] local.INFO: Processing buffer {"connection_id":118589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:59:22] local.INFO: IMEI packet received {"connection_id":118589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 00:59:22] local.INFO: IMEI acknowledgment sent {"connection_id":118589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 00:59:23] local.INFO: TCP Data received {"connection_id":118589,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:59:23] local.INFO: Processing buffer {"connection_id":118589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:59:23] local.INFO: IMEI packet received {"connection_id":118589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":118589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:59:27] local.INFO: TCP Data received {"connection_id":118589,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:59:27] local.INFO: Processing buffer {"connection_id":118589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 00:59:27] local.INFO: IMEI packet received {"connection_id":118589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 00:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":118589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 00:59:29] local.INFO: TCP Data received {"connection_id":118589,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a0107d8012d64d8c00622b3180007014127..."} 
[2026-07-01 00:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a0107d8012d64d8c00622b3180007014127..."} 
[2026-07-01 00:59:29] local.INFO: Processing buffer {"connection_id":118589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a0107d8012d64d8c00622b3180007014127..."} 
[2026-07-01 00:59:29] local.INFO: Packet analysis {"connection_id":118589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a01"} 
[2026-07-01 00:59:29] local.INFO: Extracted packet for processing {"connection_id":118589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a01"} 
[2026-07-01 00:59:29] local.INFO: GPS Element Parsed {"raw_longitude":761583808,"raw_latitude":102937368,"longitude_deg":76.1583808,"latitude_deg":10.2937368,"altitude":7,"angle":321,"satellites":39,"speed":36,"hex_longitude":"2d64d8c0","hex_latitude":"0622b318","is_valid_coordinates":true} 
[2026-07-01 00: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-01 00:59:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409011456001,"note":"Value kept but may cause issues"} 
[2026-07-01 00:59:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332285088362397696,"note":"Value kept but may cause issues"} 
[2026-07-01 00:59:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7268246874974185472,"note":"Value kept but may cause issues"} 
[2026-07-01 00:59:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 00:59:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782847703000,"timestamp_ms":1782847703000,"timestamp_seconds":1782847703,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a0107d8"} 
[2026-07-01 00: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-01 00:59:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 00: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-01 00:59:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 00: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-01 00: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-01 00:59:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 00:59:29] local.INFO: Teltonika packet parsed successfully {"connection_id":118589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 00:59:29] local.INFO: Passing IMEI to GPS processor {"connection_id":118589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:59:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":118589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 00:59:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 00:59:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 00:59:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 00:59:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409011456001,"66":26658,"55":206,"79":20992,"24":36,"16":332285088362397696,"45":7268246874974185472},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,79,24,16,45]} 
[2026-07-01 00:59:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 00:59:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 00:59:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409011456001,"description":"Unknown IO ID 0"} 
[2026-07-01 00:59:29] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-07-01 00:59:29] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 00:59:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332285088362397696,"km_value":332285088362397.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 00:59:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":7268246874974185472,"description":"Unknown IO ID 45"} 
[2026-07-01 00:59:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409011456001,"power":26658,"unknown_55":206,"unknown_79":20992,"ignition":36,"odometer":null,"unknown_45":7268246874974185472}} 
[2026-07-01 00:59:29] local.INFO: DEBUG: GPS processor result {"connection_id":118589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 00:59:29] local.INFO: GPS data processed {"connection_id":118589,"processed":1,"errors":0,"total":1} 
[2026-07-01 00:59:29] local.INFO: Acknowledgment sent {"connection_id":118589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:00:00] local.INFO: TCP Data received {"connection_id":118589,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a011b60012d64cd000622c0480007013227..."} 
[2026-07-01 01:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a011b60012d64cd000622c0480007013227..."} 
[2026-07-01 01:00:00] local.INFO: Processing buffer {"connection_id":118589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a011b60012d64cd000622c0480007013227..."} 
[2026-07-01 01:00:00] local.INFO: Packet analysis {"connection_id":118589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a01"} 
[2026-07-01 01:00:00] local.INFO: Extracted packet for processing {"connection_id":118589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a01"} 
[2026-07-01 01:00:00] local.INFO: GPS Element Parsed {"raw_longitude":761580800,"raw_latitude":102940744,"longitude_deg":76.15808,"latitude_deg":10.2940744,"altitude":7,"angle":306,"satellites":39,"speed":34,"hex_longitude":"2d64cd00","hex_latitude":"0622c048","is_valid_coordinates":true} 
[2026-07-01 01:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409011968001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332285307405729792,"note":"Value kept but may cause issues"} 
[2026-07-01 01:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7266769131346794496,"note":"Value kept but may cause issues"} 
[2026-07-01 01:00:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782847708000,"timestamp_ms":1782847708000,"timestamp_seconds":1782847708,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a011b60"} 
[2026-07-01 01:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:00:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-07-01 01:00:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1024,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:00:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":118589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":118589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":118589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:00:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409011968001,"66":27397,"55":206,"79":20992,"24":34,"16":332285307405729792,"45":7266769131346794496},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,79,24,16,45]} 
[2026-07-01 01:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409011968001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:00:00] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-07-01 01:00:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 01:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332285307405729792,"km_value":332285307405729.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":7266769131346794496,"description":"Unknown IO ID 45"} 
[2026-07-01 01:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409011968001,"power":27397,"unknown_55":206,"unknown_79":20992,"ignition":34,"odometer":null,"unknown_45":7266769131346794496}} 
[2026-07-01 01:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":118589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:00:00] local.INFO: GPS data processed {"connection_id":118589,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:00:00] local.INFO: Acknowledgment sent {"connection_id":118589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:00:22] local.INFO: TCP Data received {"connection_id":118591,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:00:22] local.INFO: Processing buffer {"connection_id":118591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:00:22] local.INFO: IMEI packet received {"connection_id":118591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 01:00:22] local.INFO: IMEI acknowledgment sent {"connection_id":118591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:00:23] local.INFO: TCP Data received {"connection_id":118591,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:00:23] local.INFO: Processing buffer {"connection_id":118591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:00:23] local.INFO: IMEI packet received {"connection_id":118591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:00:23] local.INFO: IMEI acknowledgment sent {"connection_id":118591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:00:27] local.INFO: TCP Data received {"connection_id":118591,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:00:27] local.INFO: Processing buffer {"connection_id":118591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:00:27] local.INFO: IMEI packet received {"connection_id":118591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":118591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:00:28] local.INFO: TCP Data received {"connection_id":118591,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a01ea68012d643a000622f9080007015b29..."} 
[2026-07-01 01:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a01ea68012d643a000622f9080007015b29..."} 
[2026-07-01 01:00:28] local.INFO: Processing buffer {"connection_id":118591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a01ea68012d643a000622f9080007015b29..."} 
[2026-07-01 01:00:28] local.INFO: Packet analysis {"connection_id":118591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a01"} 
[2026-07-01 01:00:28] local.INFO: Extracted packet for processing {"connection_id":118591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a01"} 
[2026-07-01 01:00:28] local.INFO: GPS Element Parsed {"raw_longitude":761543168,"raw_latitude":102955272,"longitude_deg":76.1543168,"latitude_deg":10.2955272,"altitude":7,"angle":347,"satellites":41,"speed":45,"hex_longitude":"2d643a00","hex_latitude":"0622f908","is_valid_coordinates":true} 
[2026-07-01 01:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:00:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409024512001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:00:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332287605213233152,"note":"Value kept but may cause issues"} 
[2026-07-01 01:00:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7224196041121589248,"note":"Value kept but may cause issues"} 
[2026-07-01 01:00:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:00:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782847761000,"timestamp_ms":1782847761000,"timestamp_seconds":1782847761,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a01ea68"} 
[2026-07-01 01:00:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:00: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-01 01:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-01 01:00:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:00:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:00:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:00:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:00:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:00:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:00:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:00:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:00:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:00:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:00:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409024512001,"66":27300,"52":206,"79":20992,"24":45,"16":332287605213233152,"45":7224196041121589248},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,79,24,16,45]} 
[2026-07-01 01:00:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:00:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:00:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409024512001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:00:28] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-07-01 01:00:28] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 01:00:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332287605213233152,"km_value":332287605213233.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:00:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":7224196041121589248,"description":"Unknown IO ID 45"} 
[2026-07-01 01:00:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409024512001,"power":27300,"unknown_52":206,"unknown_79":20992,"ignition":45,"odometer":null,"unknown_45":7224196041121589248}} 
[2026-07-01 01:00:28] local.INFO: DEBUG: GPS processor result {"connection_id":118591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:00:28] local.INFO: GPS data processed {"connection_id":118591,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:00:28] local.INFO: Acknowledgment sent {"connection_id":118591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:00:59] local.INFO: TCP Data received {"connection_id":118591,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a0209a8012d642fc006231cd80007015329..."} 
[2026-07-01 01:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a0209a8012d642fc006231cd80007015329..."} 
[2026-07-01 01:00:59] local.INFO: Processing buffer {"connection_id":118591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a0209a8012d642fc006231cd80007015329..."} 
[2026-07-01 01:00:59] local.INFO: Packet analysis {"connection_id":118591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a02"} 
[2026-07-01 01:00:59] local.INFO: Extracted packet for processing {"connection_id":118591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a02"} 
[2026-07-01 01:00:59] local.INFO: GPS Element Parsed {"raw_longitude":761540544,"raw_latitude":102964440,"longitude_deg":76.1540544,"latitude_deg":10.296444,"altitude":7,"angle":339,"satellites":41,"speed":47,"hex_longitude":"2d642fc0","hex_latitude":"06231cd8","is_valid_coordinates":true} 
[2026-07-01 01: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-01 01:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409026816001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332288069069701120,"note":"Value kept but may cause issues"} 
[2026-07-01 01:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7222084978798561280,"note":"Value kept but may cause issues"} 
[2026-07-01 01:00:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782847769000,"timestamp_ms":1782847769000,"timestamp_seconds":1782847769,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a0209a8"} 
[2026-07-01 01: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-01 01:00: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-01 01: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-01 01:00:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01: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-01 01: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-01 01:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:00:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409026816001,"66":27376,"52":206,"79":20992,"24":47,"16":332288069069701120,"45":7222084978798561280},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,79,24,16,45]} 
[2026-07-01 01:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409026816001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:00:59] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-07-01 01:00:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 01:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332288069069701120,"km_value":332288069069701.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":7222084978798561280,"description":"Unknown IO ID 45"} 
[2026-07-01 01:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409026816001,"power":27376,"unknown_52":206,"unknown_79":20992,"ignition":47,"odometer":null,"unknown_45":7222084978798561280}} 
[2026-07-01 01:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":118591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:00:59] local.INFO: GPS data processed {"connection_id":118591,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:00:59] local.INFO: Acknowledgment sent {"connection_id":118591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:01:24] local.INFO: TCP Data received {"connection_id":119349,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:01:24] local.INFO: Processing buffer {"connection_id":119349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:01:24] local.INFO: IMEI packet received {"connection_id":119349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 01:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":119349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:01:27] local.INFO: TCP Data received {"connection_id":119349,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:01:27] local.INFO: Processing buffer {"connection_id":119349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:01:27] local.INFO: IMEI packet received {"connection_id":119349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":119349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:01:32] local.INFO: TCP Data received {"connection_id":119349,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:01:32] local.INFO: Processing buffer {"connection_id":119349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:01:32] local.INFO: IMEI packet received {"connection_id":119349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":119349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:01:34] local.INFO: TCP Data received {"connection_id":119349,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a022cd0012d64220006233da00006014a29..."} 
[2026-07-01 01:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a022cd0012d64220006233da00006014a29..."} 
[2026-07-01 01:01:34] local.INFO: Processing buffer {"connection_id":119349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a022cd0012d64220006233da00006014a29..."} 
[2026-07-01 01:01:34] local.INFO: Packet analysis {"connection_id":119349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a02"} 
[2026-07-01 01:01:34] local.INFO: Extracted packet for processing {"connection_id":119349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a02"} 
[2026-07-01 01:01:34] local.INFO: GPS Element Parsed {"raw_longitude":761537024,"raw_latitude":102972832,"longitude_deg":76.1537024,"latitude_deg":10.2972832,"altitude":6,"angle":330,"satellites":41,"speed":14,"hex_longitude":"2d642200","hex_latitude":"06233da0","is_valid_coordinates":true} 
[2026-07-01 01: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-01 01:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409028864001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332288507156365312,"note":"Value kept but may cause issues"} 
[2026-07-01 01:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7219199860289624064,"note":"Value kept but may cause issues"} 
[2026-07-01 01:01:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782847778000,"timestamp_ms":1782847778000,"timestamp_seconds":1782847778,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a022cd0"} 
[2026-07-01 01: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-01 01:01:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-01 01:01:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01: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-01 01: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-01 01:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":119349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":119349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":119349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:01:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409028864001,"66":27343,"52":206,"79":20992,"24":14,"16":332288507156365312,"45":7219199860289624064},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,79,24,16,45]} 
[2026-07-01 01:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409028864001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:01:34] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-07-01 01:01:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 01:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332288507156365312,"km_value":332288507156365.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7219199860289624064,"description":"Unknown IO ID 45"} 
[2026-07-01 01:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409028864001,"power":27343,"unknown_52":206,"unknown_79":20992,"ignition":14,"odometer":null,"unknown_45":7219199860289624064}} 
[2026-07-01 01:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":119349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:01:34] local.INFO: GPS data processed {"connection_id":119349,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:01:34] local.INFO: Acknowledgment sent {"connection_id":119349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:01:37] local.INFO: TCP Data received {"connection_id":119349,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a0234a0012d64210006233fd00006015928..."} 
[2026-07-01 01:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a0234a0012d64210006233fd00006015928..."} 
[2026-07-01 01:01:38] local.INFO: Processing buffer {"connection_id":119349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a0234a0012d64210006233fd00006015928..."} 
[2026-07-01 01:01:38] local.INFO: Packet analysis {"connection_id":119349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a02"} 
[2026-07-01 01:01:38] local.INFO: Extracted packet for processing {"connection_id":119349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a02"} 
[2026-07-01 01:01:38] local.INFO: GPS Element Parsed {"raw_longitude":761536768,"raw_latitude":102973392,"longitude_deg":76.1536768,"latitude_deg":10.2973392,"altitude":6,"angle":345,"satellites":40,"speed":12,"hex_longitude":"2d642100","hex_latitude":"06233fd0","is_valid_coordinates":true} 
[2026-07-01 01:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409031168001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332288537221136384,"note":"Value kept but may cause issues"} 
[2026-07-01 01:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7215329579362000896,"note":"Value kept but may cause issues"} 
[2026-07-01 01:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,252,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782847780000,"timestamp_ms":1782847780000,"timestamp_seconds":1782847780,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a0234a0"} 
[2026-07-01 01:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-01 01:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:01:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":119349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":119349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":119349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409031168001,"66":27343,"252":206,"79":20992,"24":12,"16":332288537221136384,"45":7215329579362000896},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,252,79,24,16,45]} 
[2026-07-01 01:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409031168001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:01:38] local.INFO: Unknown IO ID detected {"io_id":252,"value":206,"description":"Unknown IO ID 252"} 
[2026-07-01 01:01:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 01:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332288537221136384,"km_value":332288537221136.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7215329579362000896,"description":"Unknown IO ID 45"} 
[2026-07-01 01:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409031168001,"power":27343,"unknown_252":206,"unknown_79":20992,"ignition":12,"odometer":null,"unknown_45":7215329579362000896}} 
[2026-07-01 01:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":119349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:01:38] local.INFO: GPS data processed {"connection_id":119349,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:01:38] local.INFO: Acknowledgment sent {"connection_id":119349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:02:23] local.INFO: TCP Data received {"connection_id":120452,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:02:23] local.INFO: Processing buffer {"connection_id":120452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:02:23] local.INFO: IMEI packet received {"connection_id":120452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 01:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":120452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:02:27] local.INFO: TCP Data received {"connection_id":120452,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:02:27] local.INFO: Processing buffer {"connection_id":120452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:02:27] local.INFO: IMEI packet received {"connection_id":120452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:02:27] local.INFO: IMEI acknowledgment sent {"connection_id":120452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:02:29] local.INFO: TCP Data received {"connection_id":120452,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a024828012d641e80062346e00006014d27..."} 
[2026-07-01 01:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a024828012d641e80062346e00006014d27..."} 
[2026-07-01 01:02:29] local.INFO: Processing buffer {"connection_id":120452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a024828012d641e80062346e00006014d27..."} 
[2026-07-01 01:02:29] local.INFO: Packet analysis {"connection_id":120452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a02"} 
[2026-07-01 01:02:29] local.INFO: Extracted packet for processing {"connection_id":120452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a02"} 
[2026-07-01 01:02:29] local.INFO: GPS Element Parsed {"raw_longitude":761536128,"raw_latitude":102975200,"longitude_deg":76.1536128,"latitude_deg":10.29752,"altitude":6,"angle":333,"satellites":39,"speed":20,"hex_longitude":"2d641e80","hex_latitude":"062346e0","is_valid_coordinates":true} 
[2026-07-01 01:02:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:02:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409031680001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:02:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332288631710416896,"note":"Value kept but may cause issues"} 
[2026-07-01 01:02:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7215048104385433600,"note":"Value kept but may cause issues"} 
[2026-07-01 01:02:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,252,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:02:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782847785000,"timestamp_ms":1782847785000,"timestamp_seconds":1782847785,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a024828"} 
[2026-07-01 01:02:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:02:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:02:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-01 01:02:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:02:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:02:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:02:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:02:29] local.INFO: Teltonika packet parsed successfully {"connection_id":120452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:02:29] local.INFO: Passing IMEI to GPS processor {"connection_id":120452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:02:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":120452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:02:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:02:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:02:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:02:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409031680001,"66":27321,"252":206,"79":20992,"24":20,"16":332288631710416896,"45":7215048104385433600},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,252,79,24,16,45]} 
[2026-07-01 01:02:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:02:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:02:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409031680001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:02:29] local.INFO: Unknown IO ID detected {"io_id":252,"value":206,"description":"Unknown IO ID 252"} 
[2026-07-01 01:02:29] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 01:02:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332288631710416896,"km_value":332288631710416.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:02:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":7215048104385433600,"description":"Unknown IO ID 45"} 
[2026-07-01 01:02:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409031680001,"power":27321,"unknown_252":206,"unknown_79":20992,"ignition":20,"odometer":null,"unknown_45":7215048104385433600}} 
[2026-07-01 01:02:29] local.INFO: DEBUG: GPS processor result {"connection_id":120452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:02:29] local.INFO: GPS data processed {"connection_id":120452,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:02:29] local.INFO: Acknowledgment sent {"connection_id":120452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:02:42] local.INFO: TCP Data received {"connection_id":118704,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 01:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118704,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 01:02:42] local.INFO: Processing buffer {"connection_id":118704,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 01:02:42] local.INFO: IMEI packet received {"connection_id":118704,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 01:02:42] local.INFO: IMEI acknowledgment sent {"connection_id":118704,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:03:00] local.INFO: TCP Data received {"connection_id":120452,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a045780012d63bd400624bfc0000401622d..."} 
[2026-07-01 01:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a045780012d63bd400624bfc0000401622d..."} 
[2026-07-01 01:03:00] local.INFO: Processing buffer {"connection_id":120452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a045780012d63bd400624bfc0000401622d..."} 
[2026-07-01 01:03:00] local.INFO: Packet analysis {"connection_id":120452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a04"} 
[2026-07-01 01:03:00] local.INFO: Extracted packet for processing {"connection_id":120452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a04"} 
[2026-07-01 01:03:00] local.INFO: GPS Element Parsed {"raw_longitude":761511232,"raw_latitude":103071680,"longitude_deg":76.1511232,"latitude_deg":10.307168,"altitude":4,"angle":354,"satellites":45,"speed":21,"hex_longitude":"2d63bd40","hex_latitude":"0624bfc0","is_valid_coordinates":true} 
[2026-07-01 01:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409067264001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332293605282545664,"note":"Value kept but may cause issues"} 
[2026-07-01 01:03:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7186970975483576320,"note":"Value kept but may cause issues"} 
[2026-07-01 01:03:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782847920000,"timestamp_ms":1782847920000,"timestamp_seconds":1782847920,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a045780"} 
[2026-07-01 01:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:03:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 01:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-01 01:03:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:03:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":120452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":120452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":120452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:03:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409067264001,"66":27300,"51":206,"79":20992,"24":21,"16":332293605282545664,"45":7186970975483576320},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,79,24,16,45]} 
[2026-07-01 01:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409067264001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:03:00] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-07-01 01:03:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 01:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332293605282545664,"km_value":332293605282545.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:03:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":7186970975483576320,"description":"Unknown IO ID 45"} 
[2026-07-01 01:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409067264001,"power":27300,"unknown_51":206,"unknown_79":20992,"ignition":21,"odometer":null,"unknown_45":7186970975483576320}} 
[2026-07-01 01:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":120452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:03:00] local.INFO: GPS data processed {"connection_id":120452,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:03:00] local.INFO: Acknowledgment sent {"connection_id":120452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:03:17] local.INFO: TCP Data received {"connection_id":118705,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 01:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118705,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 01:03:17] local.INFO: Processing buffer {"connection_id":118705,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 01:03:17] local.INFO: IMEI packet received {"connection_id":118705,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 01:03:17] local.INFO: IMEI acknowledgment sent {"connection_id":118705,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:03:22] local.INFO: TCP Data received {"connection_id":118706,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:03:22] local.INFO: Processing buffer {"connection_id":118706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:03:22] local.INFO: IMEI packet received {"connection_id":118706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 01:03:22] local.INFO: IMEI acknowledgment sent {"connection_id":118706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:03:23] local.INFO: TCP Data received {"connection_id":118706,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:03:23] local.INFO: Processing buffer {"connection_id":118706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:03:23] local.INFO: IMEI packet received {"connection_id":118706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:03:23] local.INFO: IMEI acknowledgment sent {"connection_id":118706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:03:27] local.INFO: TCP Data received {"connection_id":118706,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:03:27] local.INFO: Processing buffer {"connection_id":118706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:03:27] local.INFO: IMEI packet received {"connection_id":118706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":118706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:03:28] local.INFO: TCP Data received {"connection_id":118706,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a046720012d63bb800624c8d8000501562e..."} 
[2026-07-01 01:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a046720012d63bb800624c8d8000501562e..."} 
[2026-07-01 01:03:28] local.INFO: Processing buffer {"connection_id":118706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a046720012d63bb800624c8d8000501562e..."} 
[2026-07-01 01:03:28] local.INFO: Packet analysis {"connection_id":118706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a04"} 
[2026-07-01 01:03:28] local.INFO: Extracted packet for processing {"connection_id":118706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a04"} 
[2026-07-01 01:03:28] local.INFO: GPS Element Parsed {"raw_longitude":761510784,"raw_latitude":103074008,"longitude_deg":76.1510784,"latitude_deg":10.3074008,"altitude":5,"angle":342,"satellites":46,"speed":24,"hex_longitude":"2d63bb80","hex_latitude":"0624c8d8","is_valid_coordinates":true} 
[2026-07-01 01:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:03:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409067520001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:03:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332293721246662656,"note":"Value kept but may cause issues"} 
[2026-07-01 01:03:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7186970975483707392,"note":"Value kept but may cause issues"} 
[2026-07-01 01:03:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:03:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782847924000,"timestamp_ms":1782847924000,"timestamp_seconds":1782847924,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a046720"} 
[2026-07-01 01:03:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:03: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-01 01:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-01 01:03:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:03:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:03:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:03:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:03:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:03:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:03:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:03:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:03:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:03:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:03:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409067520001,"66":27571,"51":206,"79":20992,"24":24,"16":332293721246662656,"45":7186970975483707392},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,79,24,16,45]} 
[2026-07-01 01:03:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:03:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:03:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409067520001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:03:28] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-07-01 01:03:28] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 01:03:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332293721246662656,"km_value":332293721246662.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:03:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":7186970975483707392,"description":"Unknown IO ID 45"} 
[2026-07-01 01:03:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409067520001,"power":27571,"unknown_51":206,"unknown_79":20992,"ignition":24,"odometer":null,"unknown_45":7186970975483707392}} 
[2026-07-01 01:03:28] local.INFO: DEBUG: GPS processor result {"connection_id":118706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:03:28] local.INFO: GPS data processed {"connection_id":118706,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:03:28] local.INFO: Acknowledgment sent {"connection_id":118706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:04:02] local.INFO: TCP Data received {"connection_id":118706,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a049600012d63aec00624eb38000701532b..."} 
[2026-07-01 01:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a049600012d63aec00624eb38000701532b..."} 
[2026-07-01 01:04:02] local.INFO: Processing buffer {"connection_id":118706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a049600012d63aec00624eb38000701532b..."} 
[2026-07-01 01:04:02] local.INFO: Packet analysis {"connection_id":118706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a04"} 
[2026-07-01 01:04:02] local.INFO: Extracted packet for processing {"connection_id":118706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a04"} 
[2026-07-01 01:04:02] local.INFO: GPS Element Parsed {"raw_longitude":761507520,"raw_latitude":103082808,"longitude_deg":76.150752,"latitude_deg":10.3082808,"altitude":7,"angle":339,"satellites":43,"speed":38,"hex_longitude":"2d63aec0","hex_latitude":"0624eb38","is_valid_coordinates":true} 
[2026-07-01 01: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-01 01:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409068544001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332294176513196032,"note":"Value kept but may cause issues"} 
[2026-07-01 01:04:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7186478394275059712,"note":"Value kept but may cause issues"} 
[2026-07-01 01:04:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782847936000,"timestamp_ms":1782847936000,"timestamp_seconds":1782847936,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a049600"} 
[2026-07-01 01: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-01 01:04:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-01 01:04:02] 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-01 01: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-01 01: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-01 01:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":118706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":118706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":118706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:04:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409068544001,"66":27539,"51":206,"79":20992,"24":38,"16":332294176513196032,"45":7186478394275059712},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,79,24,16,45]} 
[2026-07-01 01:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409068544001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:04:02] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-07-01 01:04:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 01:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332294176513196032,"km_value":332294176513196.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:04:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7186478394275059712,"description":"Unknown IO ID 45"} 
[2026-07-01 01:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409068544001,"power":27539,"unknown_51":206,"unknown_79":20992,"ignition":38,"odometer":null,"unknown_45":7186478394275059712}} 
[2026-07-01 01:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":118706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:04:02] local.INFO: GPS data processed {"connection_id":118706,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:04:02] local.INFO: Acknowledgment sent {"connection_id":118706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:04:22] local.INFO: TCP Data received {"connection_id":118592,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:04:22] local.INFO: Processing buffer {"connection_id":118592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:04:22] local.INFO: IMEI packet received {"connection_id":118592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 01:04:22] local.INFO: IMEI acknowledgment sent {"connection_id":118592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:04:27] local.INFO: TCP Data received {"connection_id":118592,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:04:27] local.INFO: Processing buffer {"connection_id":118592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:04:27] local.INFO: IMEI packet received {"connection_id":118592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":118592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:04:29] local.INFO: TCP Data received {"connection_id":118592,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a04c0f8012d63a28006250c30000901512b..."} 
[2026-07-01 01:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a04c0f8012d63a28006250c30000901512b..."} 
[2026-07-01 01:04:29] local.INFO: Processing buffer {"connection_id":118592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a04c0f8012d63a28006250c30000901512b..."} 
[2026-07-01 01:04:29] local.INFO: Packet analysis {"connection_id":118592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a04"} 
[2026-07-01 01:04:29] local.INFO: Extracted packet for processing {"connection_id":118592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a04"} 
[2026-07-01 01:04:29] local.INFO: GPS Element Parsed {"raw_longitude":761504384,"raw_latitude":103091248,"longitude_deg":76.1504384,"latitude_deg":10.3091248,"altitude":9,"angle":337,"satellites":43,"speed":34,"hex_longitude":"2d63a280","hex_latitude":"06250c30","is_valid_coordinates":true} 
[2026-07-01 01: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-01 01:04:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409071616001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:04:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332294610304892928,"note":"Value kept but may cause issues"} 
[2026-07-01 01:04:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7182889588324251648,"note":"Value kept but may cause issues"} 
[2026-07-01 01:04:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:04:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782847947000,"timestamp_ms":1782847947000,"timestamp_seconds":1782847947,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a04c0f8"} 
[2026-07-01 01: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-01 01:04:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-01 01:04:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01: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-01 01: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-01 01:04:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:04:29] local.INFO: Teltonika packet parsed successfully {"connection_id":118592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:04:29] local.INFO: Passing IMEI to GPS processor {"connection_id":118592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:04:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":118592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:04:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:04:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:04:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:04:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409071616001,"66":27593,"76":206,"79":20992,"24":34,"16":332294610304892928,"45":7182889588324251648},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,79,24,16,45]} 
[2026-07-01 01:04:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:04:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:04:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409071616001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:04:29] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-07-01 01:04:29] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 01:04:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332294610304892928,"km_value":332294610304892.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:04:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":7182889588324251648,"description":"Unknown IO ID 45"} 
[2026-07-01 01:04:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409071616001,"power":27593,"unknown_76":206,"unknown_79":20992,"ignition":34,"odometer":null,"unknown_45":7182889588324251648}} 
[2026-07-01 01:04:29] local.INFO: DEBUG: GPS processor result {"connection_id":118592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:04:29] local.INFO: GPS data processed {"connection_id":118592,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:04:29] local.INFO: Acknowledgment sent {"connection_id":118592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:05:01] local.INFO: TCP Data received {"connection_id":118592,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a064b80012d62f980062674a0000801512c..."} 
[2026-07-01 01:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a064b80012d62f980062674a0000801512c..."} 
[2026-07-01 01:05:01] local.INFO: Processing buffer {"connection_id":118592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a064b80012d62f980062674a0000801512c..."} 
[2026-07-01 01:05:01] local.INFO: Packet analysis {"connection_id":118592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a06"} 
[2026-07-01 01:05:01] local.INFO: Extracted packet for processing {"connection_id":118592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a06"} 
[2026-07-01 01:05:01] local.INFO: GPS Element Parsed {"raw_longitude":761461120,"raw_latitude":103183520,"longitude_deg":76.146112,"latitude_deg":10.318352,"altitude":8,"angle":337,"satellites":44,"speed":50,"hex_longitude":"2d62f980","hex_latitude":"062674a0","is_valid_coordinates":true} 
[2026-07-01 01:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409098240001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332299613941792768,"note":"Value kept but may cause issues"} 
[2026-07-01 01:05:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7135812898492938240,"note":"Value kept but may cause issues"} 
[2026-07-01 01:05:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782848048000,"timestamp_ms":1782848048000,"timestamp_seconds":1782848048,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a064b80"} 
[2026-07-01 01:05:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:05:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-01 01:05:01] 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-01 01:05:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:05:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":118592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":118592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":118592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:05:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409098240001,"66":27593,"77":206,"79":20992,"24":50,"16":332299613941792768,"45":7135812898492938240},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,79,24,16,45]} 
[2026-07-01 01:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409098240001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:05:01] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-07-01 01:05:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 01:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332299613941792768,"km_value":332299613941792.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:05:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7135812898492938240,"description":"Unknown IO ID 45"} 
[2026-07-01 01:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409098240001,"power":27593,"unknown_77":206,"unknown_79":20992,"ignition":50,"odometer":null,"unknown_45":7135812898492938240}} 
[2026-07-01 01:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":118592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:05:01] local.INFO: GPS data processed {"connection_id":118592,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:05:01] local.INFO: Acknowledgment sent {"connection_id":118592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:05:33] local.INFO: TCP Data received {"connection_id":118708,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:05:33] local.INFO: Processing buffer {"connection_id":118708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:05:33] local.INFO: IMEI packet received {"connection_id":118708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 01:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":118708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:05:36] local.INFO: TCP Data received {"connection_id":118708,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:05:36] local.INFO: Processing buffer {"connection_id":118708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:05:36] local.INFO: IMEI packet received {"connection_id":118708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":118708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:05:37] local.INFO: TCP Data received {"connection_id":118708,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:05:37] local.INFO: Processing buffer {"connection_id":118708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:05:37] local.INFO: IMEI packet received {"connection_id":118708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":118708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:05:38] local.INFO: TCP Data received {"connection_id":118708,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a0666d8012d62eac0062695c8000901522b..."} 
[2026-07-01 01:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a0666d8012d62eac0062695c8000901522b..."} 
[2026-07-01 01:05:38] local.INFO: Processing buffer {"connection_id":118708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a0666d8012d62eac0062695c8000901522b..."} 
[2026-07-01 01:05:38] local.INFO: Packet analysis {"connection_id":118708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a06"} 
[2026-07-01 01:05:38] local.INFO: Extracted packet for processing {"connection_id":118708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a06"} 
[2026-07-01 01:05:38] local.INFO: GPS Element Parsed {"raw_longitude":761457344,"raw_latitude":103192008,"longitude_deg":76.1457344,"latitude_deg":10.3192008,"altitude":9,"angle":338,"satellites":43,"speed":54,"hex_longitude":"2d62eac0","hex_latitude":"062695c8","is_valid_coordinates":true} 
[2026-07-01 01:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409100288001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332300060618391552,"note":"Value kept but may cause issues"} 
[2026-07-01 01:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7131872248821227520,"note":"Value kept but may cause issues"} 
[2026-07-01 01:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782848055000,"timestamp_ms":1782848055000,"timestamp_seconds":1782848055,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a0666d8"} 
[2026-07-01 01:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-01 01:05:38] 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-01 01:05:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":118708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":118708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":118708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409100288001,"66":27539,"87":206,"79":20992,"24":54,"16":332300060618391552,"45":7131872248821227520},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,79,24,16,45]} 
[2026-07-01 01:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409100288001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:05:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-07-01 01:05:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 01:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332300060618391552,"km_value":332300060618391.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7131872248821227520,"description":"Unknown IO ID 45"} 
[2026-07-01 01:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409100288001,"power":27539,"unknown_87":206,"unknown_79":20992,"ignition":54,"odometer":null,"unknown_45":7131872248821227520}} 
[2026-07-01 01:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":118708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:05:38] local.INFO: GPS data processed {"connection_id":118708,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:05:38] local.INFO: Acknowledgment sent {"connection_id":118708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:06:27] local.INFO: TCP Data received {"connection_id":119350,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:06:27] local.INFO: Processing buffer {"connection_id":119350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:06:27] local.INFO: IMEI packet received {"connection_id":119350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 01:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":119350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:06:32] local.INFO: TCP Data received {"connection_id":119350,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:06:32] local.INFO: Processing buffer {"connection_id":119350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:06:32] local.INFO: IMEI packet received {"connection_id":119350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":119350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:06:34] local.INFO: TCP Data received {"connection_id":119350,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a0760d8012d627d4006279990000701542c..."} 
[2026-07-01 01:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a0760d8012d627d4006279990000701542c..."} 
[2026-07-01 01:06:34] local.INFO: Processing buffer {"connection_id":119350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a0760d8012d627d4006279990000701542c..."} 
[2026-07-01 01:06:34] local.INFO: Packet analysis {"connection_id":119350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a07"} 
[2026-07-01 01:06:34] local.INFO: Extracted packet for processing {"connection_id":119350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a07"} 
[2026-07-01 01:06:34] local.INFO: GPS Element Parsed {"raw_longitude":761429312,"raw_latitude":103258512,"longitude_deg":76.1429312,"latitude_deg":10.3258512,"altitude":7,"angle":340,"satellites":44,"speed":18,"hex_longitude":"2d627d40","hex_latitude":"06279990","is_valid_coordinates":true} 
[2026-07-01 01:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409118208001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332303659800985600,"note":"Value kept but may cause issues"} 
[2026-07-01 01:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7097110089216563200,"note":"Value kept but may cause issues"} 
[2026-07-01 01:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782848119000,"timestamp_ms":1782848119000,"timestamp_seconds":1782848119,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a0760d8"} 
[2026-07-01 01:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:06:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-01 01:06:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:06:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":119350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":119350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":119350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409118208001,"66":27234,"228":206,"79":20992,"24":18,"16":332303659800985600,"45":7097110089216563200},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,79,24,16,45]} 
[2026-07-01 01:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409118208001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:06:34] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-07-01 01:06:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 01:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332303659800985600,"km_value":332303659800985.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7097110089216563200,"description":"Unknown IO ID 45"} 
[2026-07-01 01:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409118208001,"power":27234,"unknown_228":206,"unknown_79":20992,"ignition":18,"odometer":null,"unknown_45":7097110089216563200}} 
[2026-07-01 01:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":119350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:06:34] local.INFO: GPS data processed {"connection_id":119350,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:06:34] local.INFO: Acknowledgment sent {"connection_id":119350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:06:34] local.INFO: TCP Data received {"connection_id":119350,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a076c90012d627c4006279e800006016226..."} 
[2026-07-01 01:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a076c90012d627c4006279e800006016226..."} 
[2026-07-01 01:06:34] local.INFO: Processing buffer {"connection_id":119350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a076c90012d627c4006279e800006016226..."} 
[2026-07-01 01:06:34] local.INFO: Packet analysis {"connection_id":119350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a07"} 
[2026-07-01 01:06:34] local.INFO: Extracted packet for processing {"connection_id":119350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a07"} 
[2026-07-01 01:06:34] local.INFO: GPS Element Parsed {"raw_longitude":761429056,"raw_latitude":103259776,"longitude_deg":76.1429056,"latitude_deg":10.3259776,"altitude":6,"angle":354,"satellites":38,"speed":18,"hex_longitude":"2d627c40","hex_latitude":"06279e80","is_valid_coordinates":true} 
[2026-07-01 01:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409118464001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332303719930527744,"note":"Value kept but may cause issues"} 
[2026-07-01 01:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7096898982984126464,"note":"Value kept but may cause issues"} 
[2026-07-01 01:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782848122000,"timestamp_ms":1782848122000,"timestamp_seconds":1782848122,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a076c90"} 
[2026-07-01 01:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:06:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-01 01:06:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:06:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":119350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":119350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":119350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409118464001,"66":27343,"228":206,"79":20992,"24":18,"16":332303719930527744,"45":7096898982984126464},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,79,24,16,45]} 
[2026-07-01 01:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409118464001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:06:34] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-07-01 01:06:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 01:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332303719930527744,"km_value":332303719930527.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7096898982984126464,"description":"Unknown IO ID 45"} 
[2026-07-01 01:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409118464001,"power":27343,"unknown_228":206,"unknown_79":20992,"ignition":18,"odometer":null,"unknown_45":7096898982984126464}} 
[2026-07-01 01:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":119350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:06:34] local.INFO: GPS data processed {"connection_id":119350,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:06:34] local.INFO: Acknowledgment sent {"connection_id":119350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:07:08] local.INFO: TCP Data received {"connection_id":119350,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a078018012d627a400627a8d80005015625..."} 
[2026-07-01 01:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a078018012d627a400627a8d80005015625..."} 
[2026-07-01 01:07:08] local.INFO: Processing buffer {"connection_id":119350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a078018012d627a400627a8d80005015625..."} 
[2026-07-01 01:07:08] local.INFO: Packet analysis {"connection_id":119350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a07"} 
[2026-07-01 01:07:08] local.INFO: Extracted packet for processing {"connection_id":119350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a07"} 
[2026-07-01 01:07:08] local.INFO: GPS Element Parsed {"raw_longitude":761428544,"raw_latitude":103262424,"longitude_deg":76.1428544,"latitude_deg":10.3262424,"altitude":5,"angle":342,"satellites":37,"speed":25,"hex_longitude":"2d627a40","hex_latitude":"0627a8d8","is_valid_coordinates":true} 
[2026-07-01 01:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409119232001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332303853074513920,"note":"Value kept but may cause issues"} 
[2026-07-01 01:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7096617508007739392,"note":"Value kept but may cause issues"} 
[2026-07-01 01:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782848127000,"timestamp_ms":1782848127000,"timestamp_seconds":1782848127,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a078018"} 
[2026-07-01 01:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:07: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-01 01:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-01 01:07:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":119350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":119350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":119350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409119232001,"66":27365,"228":206,"79":20992,"24":25,"16":332303853074513920,"45":7096617508007739392},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,79,24,16,45]} 
[2026-07-01 01:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409119232001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:07:08] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-07-01 01:07:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 01:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332303853074513920,"km_value":332303853074513.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":7096617508007739392,"description":"Unknown IO ID 45"} 
[2026-07-01 01:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409119232001,"power":27365,"unknown_228":206,"unknown_79":20992,"ignition":25,"odometer":null,"unknown_45":7096617508007739392}} 
[2026-07-01 01:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":119350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:07:08] local.INFO: GPS data processed {"connection_id":119350,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:07:08] local.INFO: Acknowledgment sent {"connection_id":119350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:07:22] local.INFO: TCP Data received {"connection_id":118593,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:07:22] local.INFO: Processing buffer {"connection_id":118593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:07:22] local.INFO: IMEI packet received {"connection_id":118593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 01:07:22] local.INFO: IMEI acknowledgment sent {"connection_id":118593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:07:27] local.INFO: TCP Data received {"connection_id":118593,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:07:27] local.INFO: Processing buffer {"connection_id":118593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:07:27] local.INFO: IMEI packet received {"connection_id":118593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":118593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:07:29] local.INFO: TCP Data received {"connection_id":118593,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a07b2e0012d626f400627c9c8000501551f..."} 
[2026-07-01 01:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a07b2e0012d626f400627c9c8000501551f..."} 
[2026-07-01 01:07:29] local.INFO: Processing buffer {"connection_id":118593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a07b2e0012d626f400627c9c8000501551f..."} 
[2026-07-01 01:07:29] local.INFO: Packet analysis {"connection_id":118593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a07"} 
[2026-07-01 01:07:29] local.INFO: Extracted packet for processing {"connection_id":118593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a07"} 
[2026-07-01 01:07:29] local.INFO: GPS Element Parsed {"raw_longitude":761425728,"raw_latitude":103270856,"longitude_deg":76.1425728,"latitude_deg":10.3270856,"altitude":5,"angle":341,"satellites":31,"speed":25,"hex_longitude":"2d626f40","hex_latitude":"0627c9c8","is_valid_coordinates":true} 
[2026-07-01 01: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-01 01:07:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409120512001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:07:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332304282571243520,"note":"Value kept but may cause issues"} 
[2026-07-01 01:07:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7096054558054995968,"note":"Value kept but may cause issues"} 
[2026-07-01 01:07:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:07:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782848140000,"timestamp_ms":1782848140000,"timestamp_seconds":1782848140,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a07b2e0"} 
[2026-07-01 01: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-01 01:07:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 01:07:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01: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-01 01: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-01 01:07:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:07:29] local.INFO: Teltonika packet parsed successfully {"connection_id":118593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:07:29] local.INFO: Passing IMEI to GPS processor {"connection_id":118593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:07:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":118593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:07:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:07:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:07:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:07:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409120512001,"66":27213,"228":206,"79":20992,"24":25,"16":332304282571243520,"45":7096054558054995968},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,79,24,16,45]} 
[2026-07-01 01:07:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:07:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:07:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409120512001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:07:29] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-07-01 01:07:29] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 01:07:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332304282571243520,"km_value":332304282571243.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:07:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":7096054558054995968,"description":"Unknown IO ID 45"} 
[2026-07-01 01:07:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409120512001,"power":27213,"unknown_228":206,"unknown_79":20992,"ignition":25,"odometer":null,"unknown_45":7096054558054995968}} 
[2026-07-01 01:07:29] local.INFO: DEBUG: GPS processor result {"connection_id":118593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:07:29] local.INFO: GPS data processed {"connection_id":118593,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:07:29] local.INFO: Acknowledgment sent {"connection_id":118593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:07:30] local.INFO: TCP Data received {"connection_id":118593,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a07e990012d6261800627ec100005015325..."} 
[2026-07-01 01:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a07e990012d6261800627ec100005015325..."} 
[2026-07-01 01:07:30] local.INFO: Processing buffer {"connection_id":118593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a07e990012d6261800627ec100005015325..."} 
[2026-07-01 01:07:30] local.INFO: Packet analysis {"connection_id":118593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a07"} 
[2026-07-01 01:07:30] local.INFO: Extracted packet for processing {"connection_id":118593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a07"} 
[2026-07-01 01:07:30] local.INFO: GPS Element Parsed {"raw_longitude":761422208,"raw_latitude":103279632,"longitude_deg":76.1422208,"latitude_deg":10.3279632,"altitude":5,"angle":339,"satellites":37,"speed":27,"hex_longitude":"2d626180","hex_latitude":"0627ec10","is_valid_coordinates":true} 
[2026-07-01 01:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409123840001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332304742132744192,"note":"Value kept but may cause issues"} 
[2026-07-01 01:07:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7092958333313337344,"note":"Value kept but may cause issues"} 
[2026-07-01 01:07:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782848154000,"timestamp_ms":1782848154000,"timestamp_seconds":1782848154,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a07e990"} 
[2026-07-01 01:07:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:07:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-01 01:07:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:07:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:07:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":118593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":118593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":118593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:07:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409123840001,"66":27321,"228":206,"79":20992,"24":27,"16":332304742132744192,"45":7092958333313337344},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,79,24,16,45]} 
[2026-07-01 01:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409123840001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:07:30] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-07-01 01:07:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 01:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332304742132744192,"km_value":332304742132744.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:07:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":7092958333313337344,"description":"Unknown IO ID 45"} 
[2026-07-01 01:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409123840001,"power":27321,"unknown_228":206,"unknown_79":20992,"ignition":27,"odometer":null,"unknown_45":7092958333313337344}} 
[2026-07-01 01:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":118593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:07:30] local.INFO: GPS data processed {"connection_id":118593,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:07:30] local.INFO: Acknowledgment sent {"connection_id":118593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:08:03] local.INFO: TCP Data received {"connection_id":118593,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a081c58012d62534006280cf0000901532a..."} 
[2026-07-01 01:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a081c58012d62534006280cf0000901532a..."} 
[2026-07-01 01:08:03] local.INFO: Processing buffer {"connection_id":118593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a081c58012d62534006280cf0000901532a..."} 
[2026-07-01 01:08:03] local.INFO: Packet analysis {"connection_id":118593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a08"} 
[2026-07-01 01:08:03] local.INFO: Extracted packet for processing {"connection_id":118593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a08"} 
[2026-07-01 01:08:03] local.INFO: GPS Element Parsed {"raw_longitude":761418560,"raw_latitude":103288048,"longitude_deg":76.141856,"latitude_deg":10.3288048,"altitude":9,"angle":339,"satellites":42,"speed":34,"hex_longitude":"2d625340","hex_latitude":"06280cf0","is_valid_coordinates":true} 
[2026-07-01 01: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-01 01:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409127424001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332305184514375680,"note":"Value kept but may cause issues"} 
[2026-07-01 01:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7089088052385812480,"note":"Value kept but may cause issues"} 
[2026-07-01 01:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782848167000,"timestamp_ms":1782848167000,"timestamp_seconds":1782848167,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a081c58"} 
[2026-07-01 01: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-01 01:08:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-01 01:08:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01: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-01 01: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-01 01:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":118593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":118593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":118593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409127424001,"66":27300,"228":206,"79":20992,"24":34,"16":332305184514375680,"45":7089088052385812480},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,79,24,16,45]} 
[2026-07-01 01:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409127424001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:08:03] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-07-01 01:08:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 01:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332305184514375680,"km_value":332305184514375.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7089088052385812480,"description":"Unknown IO ID 45"} 
[2026-07-01 01:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409127424001,"power":27300,"unknown_228":206,"unknown_79":20992,"ignition":34,"odometer":null,"unknown_45":7089088052385812480}} 
[2026-07-01 01:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":118593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:08:03] local.INFO: GPS data processed {"connection_id":118593,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:08:03] local.INFO: Acknowledgment sent {"connection_id":118593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:08:22] local.INFO: TCP Data received {"connection_id":119352,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:08:22] local.INFO: Processing buffer {"connection_id":119352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:08:22] local.INFO: IMEI packet received {"connection_id":119352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 01:08:22] local.INFO: IMEI acknowledgment sent {"connection_id":119352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:08:23] local.INFO: TCP Data received {"connection_id":119352,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:08:23] local.INFO: Processing buffer {"connection_id":119352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:08:23] local.INFO: IMEI packet received {"connection_id":119352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":119352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:08:27] local.INFO: TCP Data received {"connection_id":119352,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:08:27] local.INFO: Processing buffer {"connection_id":119352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:08:27] local.INFO: IMEI packet received {"connection_id":119352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":119352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:08:28] local.INFO: TCP Data received {"connection_id":119352,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a084368012d6246c006282e38000801522b..."} 
[2026-07-01 01:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a084368012d6246c006282e38000801522b..."} 
[2026-07-01 01:08:28] local.INFO: Processing buffer {"connection_id":119352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a084368012d6246c006282e38000801522b..."} 
[2026-07-01 01:08:28] local.INFO: Packet analysis {"connection_id":119352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a08"} 
[2026-07-01 01:08:28] local.INFO: Extracted packet for processing {"connection_id":119352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a08"} 
[2026-07-01 01:08:28] local.INFO: GPS Element Parsed {"raw_longitude":761415360,"raw_latitude":103296568,"longitude_deg":76.141536,"latitude_deg":10.3296568,"altitude":8,"angle":338,"satellites":43,"speed":35,"hex_longitude":"2d6246c0","hex_latitude":"06282e38","is_valid_coordinates":true} 
[2026-07-01 01:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409130752001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332305626896007168,"note":"Value kept but may cause issues"} 
[2026-07-01 01:08:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7085077033969840128,"note":"Value kept but may cause issues"} 
[2026-07-01 01:08:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782848177000,"timestamp_ms":1782848177000,"timestamp_seconds":1782848177,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a084368"} 
[2026-07-01 01:08:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:08:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-01 01:08:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:08:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:08:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:08:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409130752001,"66":27343,"228":206,"79":20992,"24":35,"16":332305626896007168,"45":7085077033969840128},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,79,24,16,45]} 
[2026-07-01 01:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409130752001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:08:28] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-07-01 01:08:28] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 01:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332305626896007168,"km_value":332305626896007.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:08:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":7085077033969840128,"description":"Unknown IO ID 45"} 
[2026-07-01 01:08:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409130752001,"power":27343,"unknown_228":206,"unknown_79":20992,"ignition":35,"odometer":null,"unknown_45":7085077033969840128}} 
[2026-07-01 01:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":119352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:08:28] local.INFO: GPS data processed {"connection_id":119352,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:08:28] local.INFO: Acknowledgment sent {"connection_id":119352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:08:32] local.INFO: TCP Data received {"connection_id":119351,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 01:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119351,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 01:08:32] local.INFO: Processing buffer {"connection_id":119351,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 01:08:32] local.INFO: IMEI packet received {"connection_id":119351,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 01:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":119351,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:09:00] local.INFO: TCP Data received {"connection_id":119352,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a09d1d8012d619d000629bef8000801512d..."} 
[2026-07-01 01:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a09d1d8012d619d000629bef8000801512d..."} 
[2026-07-01 01:09:00] local.INFO: Processing buffer {"connection_id":119352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a09d1d8012d619d000629bef8000801512d..."} 
[2026-07-01 01:09:00] local.INFO: Packet analysis {"connection_id":119352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a09"} 
[2026-07-01 01:09:00] local.INFO: Extracted packet for processing {"connection_id":119352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a09"} 
[2026-07-01 01:09:00] local.INFO: GPS Element Parsed {"raw_longitude":761371904,"raw_latitude":103399160,"longitude_deg":76.1371904,"latitude_deg":10.339916,"altitude":8,"angle":337,"satellites":45,"speed":51,"hex_longitude":"2d619d00","hex_latitude":"0629bef8","is_valid_coordinates":true} 
[2026-07-01 01:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409157632001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332311034259832832,"note":"Value kept but may cause issues"} 
[2026-07-01 01:09:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7037296656699396096,"note":"Value kept but may cause issues"} 
[2026-07-01 01:09:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782848279000,"timestamp_ms":1782848279000,"timestamp_seconds":1782848279,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a09d1d8"} 
[2026-07-01 01:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:09:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-01 01:09:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:09:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":119352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":119352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":119352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:09:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409157632001,"66":27365,"90":206,"79":20992,"24":51,"16":332311034259832832,"45":7037296656699396096},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,79,24,16,45]} 
[2026-07-01 01:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409157632001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:09:00] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-07-01 01:09:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 01:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332311034259832832,"km_value":332311034259832.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:09:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":7037296656699396096,"description":"Unknown IO ID 45"} 
[2026-07-01 01:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409157632001,"power":27365,"unknown_90":206,"unknown_79":20992,"ignition":51,"odometer":null,"unknown_45":7037296656699396096}} 
[2026-07-01 01:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":119352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:09:00] local.INFO: GPS data processed {"connection_id":119352,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:09:00] local.INFO: Acknowledgment sent {"connection_id":119352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:09:17] local.INFO: TCP Data received {"connection_id":118594,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 01:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118594,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 01:09:17] local.INFO: Processing buffer {"connection_id":118594,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 01:09:17] local.INFO: IMEI packet received {"connection_id":118594,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 01:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":118594,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:09:20] local.INFO: TCP Data received {"connection_id":118595,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:09:20] local.INFO: Processing buffer {"connection_id":118595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:09:20] local.INFO: IMEI packet received {"connection_id":118595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 01:09:20] local.INFO: IMEI acknowledgment sent {"connection_id":118595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:09:22] local.INFO: TCP Data received {"connection_id":118595,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:09:22] local.INFO: Processing buffer {"connection_id":118595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:09:22] local.INFO: IMEI packet received {"connection_id":118595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:09:22] local.INFO: IMEI acknowledgment sent {"connection_id":118595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:09:27] local.INFO: TCP Data received {"connection_id":118595,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:09:27] local.INFO: Processing buffer {"connection_id":118595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:09:27] local.INFO: IMEI packet received {"connection_id":118595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":118595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:09:28] local.INFO: TCP Data received {"connection_id":118595,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a09f118012d618dc00629e2e00008014f2a..."} 
[2026-07-01 01:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a09f118012d618dc00629e2e00008014f2a..."} 
[2026-07-01 01:09:28] local.INFO: Processing buffer {"connection_id":118595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a09f118012d618dc00629e2e00008014f2a..."} 
[2026-07-01 01:09:28] local.INFO: Packet analysis {"connection_id":118595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a09"} 
[2026-07-01 01:09:28] local.INFO: Extracted packet for processing {"connection_id":118595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a09"} 
[2026-07-01 01:09:28] local.INFO: GPS Element Parsed {"raw_longitude":761368000,"raw_latitude":103408352,"longitude_deg":76.1368,"latitude_deg":10.3408352,"altitude":8,"angle":335,"satellites":42,"speed":48,"hex_longitude":"2d618dc0","hex_latitude":"0629e2e0","is_valid_coordinates":true} 
[2026-07-01 01:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:09:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409159424001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:09:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332311515296169984,"note":"Value kept but may cause issues"} 
[2026-07-01 01:09:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7033778219492767744,"note":"Value kept but may cause issues"} 
[2026-07-01 01:09:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:09:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782848287000,"timestamp_ms":1782848287000,"timestamp_seconds":1782848287,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a09f118"} 
[2026-07-01 01:09:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:09:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 01:09:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:09:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:09:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:09:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:09:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:09:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:09:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:09:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:09:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:09:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:09:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409159424001,"66":27332,"90":206,"79":20992,"24":48,"16":332311515296169984,"45":7033778219492767744},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,79,24,16,45]} 
[2026-07-01 01:09:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:09:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:09:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409159424001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:09:28] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-07-01 01:09:28] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 01:09:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332311515296169984,"km_value":332311515296170.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:09:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":7033778219492767744,"description":"Unknown IO ID 45"} 
[2026-07-01 01:09:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409159424001,"power":27332,"unknown_90":206,"unknown_79":20992,"ignition":48,"odometer":null,"unknown_45":7033778219492767744}} 
[2026-07-01 01:09:28] local.INFO: DEBUG: GPS processor result {"connection_id":118595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:09:28] local.INFO: GPS data processed {"connection_id":118595,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:09:28] local.INFO: Acknowledgment sent {"connection_id":118595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:09:59] local.INFO: TCP Data received {"connection_id":118595,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a0a0c70012d617e00062a03800008014e2c..."} 
[2026-07-01 01:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a0a0c70012d617e00062a03800008014e2c..."} 
[2026-07-01 01:09:59] local.INFO: Processing buffer {"connection_id":118595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a0a0c70012d617e00062a03800008014e2c..."} 
[2026-07-01 01:09:59] local.INFO: Packet analysis {"connection_id":118595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a0a"} 
[2026-07-01 01:09:59] local.INFO: Extracted packet for processing {"connection_id":118595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a0a"} 
[2026-07-01 01:09:59] local.INFO: GPS Element Parsed {"raw_longitude":761363968,"raw_latitude":103416704,"longitude_deg":76.1363968,"latitude_deg":10.3416704,"altitude":8,"angle":334,"satellites":44,"speed":53,"hex_longitude":"2d617e00","hex_latitude":"062a0380","is_valid_coordinates":true} 
[2026-07-01 01:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409161472001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332311966267736064,"note":"Value kept but may cause issues"} 
[2026-07-01 01:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7029485726100283392,"note":"Value kept but may cause issues"} 
[2026-07-01 01:09:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782848294000,"timestamp_ms":1782848294000,"timestamp_seconds":1782848294,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a0a0c70"} 
[2026-07-01 01:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:09: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-01 01:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-01 01:09:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:09:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409161472001,"66":27213,"90":206,"79":20992,"24":53,"16":332311966267736064,"45":7029485726100283392},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,79,24,16,45]} 
[2026-07-01 01:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409161472001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:09:59] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-07-01 01:09:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 01:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332311966267736064,"km_value":332311966267736.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":7029485726100283392,"description":"Unknown IO ID 45"} 
[2026-07-01 01:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409161472001,"power":27213,"unknown_90":206,"unknown_79":20992,"ignition":53,"odometer":null,"unknown_45":7029485726100283392}} 
[2026-07-01 01:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":118595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:09:59] local.INFO: GPS data processed {"connection_id":118595,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:09:59] local.INFO: Acknowledgment sent {"connection_id":118595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:10:22] local.INFO: TCP Data received {"connection_id":119353,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:10:22] local.INFO: Processing buffer {"connection_id":119353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:10:22] local.INFO: IMEI packet received {"connection_id":119353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 01:10:22] local.INFO: IMEI acknowledgment sent {"connection_id":119353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:10:24] local.INFO: TCP Data received {"connection_id":119353,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:10:24] local.INFO: Processing buffer {"connection_id":119353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:10:24] local.INFO: IMEI packet received {"connection_id":119353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:10:24] local.INFO: IMEI acknowledgment sent {"connection_id":119353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:10:27] local.INFO: TCP Data received {"connection_id":119353,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:10:27] local.INFO: Processing buffer {"connection_id":119353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:10:27] local.INFO: IMEI packet received {"connection_id":119353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":119353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:10:29] local.INFO: TCP Data received {"connection_id":119353,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a0a27c8012d616c80062a25180008014b2e..."} 
[2026-07-01 01:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a0a27c8012d616c80062a25180008014b2e..."} 
[2026-07-01 01:10:29] local.INFO: Processing buffer {"connection_id":119353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a0a27c8012d616c80062a25180008014b2e..."} 
[2026-07-01 01:10:29] local.INFO: Packet analysis {"connection_id":119353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a0a"} 
[2026-07-01 01:10:29] local.INFO: Extracted packet for processing {"connection_id":119353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a0a"} 
[2026-07-01 01:10:29] local.INFO: GPS Element Parsed {"raw_longitude":761359488,"raw_latitude":103425304,"longitude_deg":76.1359488,"latitude_deg":10.3425304,"altitude":8,"angle":331,"satellites":46,"speed":55,"hex_longitude":"2d616c80","hex_latitude":"062a2518","is_valid_coordinates":true} 
[2026-07-01 01:10:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:10:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409163264001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:10:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332312434419171328,"note":"Value kept but may cause issues"} 
[2026-07-01 01:10:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7025052495219228672,"note":"Value kept but may cause issues"} 
[2026-07-01 01:10:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:10:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782848301000,"timestamp_ms":1782848301000,"timestamp_seconds":1782848301,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a0a27c8"} 
[2026-07-01 01:10:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:10:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:10:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-01 01:10:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:10:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:10:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:10:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:10:29] local.INFO: Teltonika packet parsed successfully {"connection_id":119353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:10:29] local.INFO: Passing IMEI to GPS processor {"connection_id":119353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:10:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":119353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:10:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:10:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:10:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:10:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409163264001,"66":27180,"90":206,"79":20992,"24":55,"16":332312434419171328,"45":7025052495219228672},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,79,24,16,45]} 
[2026-07-01 01:10:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:10:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:10:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409163264001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:10:29] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-07-01 01:10:29] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 01:10:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332312434419171328,"km_value":332312434419171.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:10:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":7025052495219228672,"description":"Unknown IO ID 45"} 
[2026-07-01 01:10:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409163264001,"power":27180,"unknown_90":206,"unknown_79":20992,"ignition":55,"odometer":null,"unknown_45":7025052495219228672}} 
[2026-07-01 01:10:29] local.INFO: DEBUG: GPS processor result {"connection_id":119353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:10:29] local.INFO: GPS data processed {"connection_id":119353,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:10:29] local.INFO: Acknowledgment sent {"connection_id":119353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:11:06] local.INFO: TCP Data received {"connection_id":119353,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a0bc5d8012d60a2c0062c0508000c01562d..."} 
[2026-07-01 01:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a0bc5d8012d60a2c0062c0508000c01562d..."} 
[2026-07-01 01:11:06] local.INFO: Processing buffer {"connection_id":119353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a0bc5d8012d60a2c0062c0508000c01562d..."} 
[2026-07-01 01:11:06] local.INFO: Packet analysis {"connection_id":119353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a0b"} 
[2026-07-01 01:11:06] local.INFO: Extracted packet for processing {"connection_id":119353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a0b"} 
[2026-07-01 01:11:06] local.INFO: GPS Element Parsed {"raw_longitude":761307840,"raw_latitude":103548168,"longitude_deg":76.130784,"latitude_deg":10.3548168,"altitude":12,"angle":342,"satellites":45,"speed":57,"hex_longitude":"2d60a2c0","hex_latitude":"062c0508","is_valid_coordinates":true} 
[2026-07-01 01:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409190400001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332318945589592064,"note":"Value kept but may cause issues"} 
[2026-07-01 01:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6965942750141159424,"note":"Value kept but may cause issues"} 
[2026-07-01 01:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782848407000,"timestamp_ms":1782848407000,"timestamp_seconds":1782848407,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a0bc5d8"} 
[2026-07-01 01:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-01 01:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":119353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":119353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":119353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409190400001,"66":27343,"97":206,"79":20992,"24":57,"16":332318945589592064,"45":6965942750141159424},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,79,24,16,45]} 
[2026-07-01 01:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409190400001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:11:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 01:11:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 01:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332318945589592064,"km_value":332318945589592.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6965942750141159424,"description":"Unknown IO ID 45"} 
[2026-07-01 01:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409190400001,"power":27343,"unknown_97":206,"unknown_79":20992,"ignition":57,"odometer":null,"unknown_45":6965942750141159424}} 
[2026-07-01 01:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":119353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:11:06] local.INFO: GPS data processed {"connection_id":119353,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:11:06] local.INFO: Acknowledgment sent {"connection_id":119353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:11:21] local.INFO: TCP Data received {"connection_id":119356,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:11:21] local.INFO: Processing buffer {"connection_id":119356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:11:21] local.INFO: IMEI packet received {"connection_id":119356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 01:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":119356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:11:22] local.INFO: TCP Data received {"connection_id":119356,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:11:22] local.INFO: Processing buffer {"connection_id":119356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:11:22] local.INFO: IMEI packet received {"connection_id":119356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:11:22] local.INFO: IMEI acknowledgment sent {"connection_id":119356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:11:27] local.INFO: TCP Data received {"connection_id":119356,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:11:27] local.INFO: Processing buffer {"connection_id":119356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:11:27] local.INFO: IMEI packet received {"connection_id":119356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":119356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:11:28] local.INFO: TCP Data received {"connection_id":119356,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a0be130012d609340062c29b0000a014f2d..."} 
[2026-07-01 01:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a0be130012d609340062c29b0000a014f2d..."} 
[2026-07-01 01:11:28] local.INFO: Processing buffer {"connection_id":119356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a0be130012d609340062c29b0000a014f2d..."} 
[2026-07-01 01:11:28] local.INFO: Packet analysis {"connection_id":119356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a0b"} 
[2026-07-01 01:11:28] local.INFO: Extracted packet for processing {"connection_id":119356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a0b"} 
[2026-07-01 01:11:28] local.INFO: GPS Element Parsed {"raw_longitude":761303872,"raw_latitude":103557552,"longitude_deg":76.1303872,"latitude_deg":10.3557552,"altitude":10,"angle":335,"satellites":45,"speed":58,"hex_longitude":"2d609340","hex_latitude":"062c29b0","is_valid_coordinates":true} 
[2026-07-01 01:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409192192001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332319439510831104,"note":"Value kept but may cause issues"} 
[2026-07-01 01:11:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6963339106609072128,"note":"Value kept but may cause issues"} 
[2026-07-01 01:11:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782848414000,"timestamp_ms":1782848414000,"timestamp_seconds":1782848414,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a0be130"} 
[2026-07-01 01:11:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:11:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-01 01:11:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:11:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:11:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:11:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409192192001,"66":27267,"97":206,"79":20992,"24":58,"16":332319439510831104,"45":6963339106609072128},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,79,24,16,45]} 
[2026-07-01 01:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409192192001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:11:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 01:11:28] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 01:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332319439510831104,"km_value":332319439510831.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:11:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":6963339106609072128,"description":"Unknown IO ID 45"} 
[2026-07-01 01:11:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409192192001,"power":27267,"unknown_97":206,"unknown_79":20992,"ignition":58,"odometer":null,"unknown_45":6963339106609072128}} 
[2026-07-01 01:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":119356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:11:28] local.INFO: GPS data processed {"connection_id":119356,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:11:28] local.INFO: Acknowledgment sent {"connection_id":119356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:11:59] local.INFO: TCP Data received {"connection_id":119356,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a0bfc88012d6083c0062c4de0000901512d..."} 
[2026-07-01 01:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a0bfc88012d6083c0062c4de0000901512d..."} 
[2026-07-01 01:11:59] local.INFO: Processing buffer {"connection_id":119356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a0bfc88012d6083c0062c4de0000901512d..."} 
[2026-07-01 01:11:59] local.INFO: Packet analysis {"connection_id":119356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a0b"} 
[2026-07-01 01:11:59] local.INFO: Extracted packet for processing {"connection_id":119356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a0b"} 
[2026-07-01 01:11:59] local.INFO: GPS Element Parsed {"raw_longitude":761299904,"raw_latitude":103566816,"longitude_deg":76.1299904,"latitude_deg":10.3566816,"altitude":9,"angle":337,"satellites":45,"speed":55,"hex_longitude":"2d6083c0","hex_latitude":"062c4de0","is_valid_coordinates":true} 
[2026-07-01 01:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409193984001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332319929137102848,"note":"Value kept but may cause issues"} 
[2026-07-01 01:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6958976244472459264,"note":"Value kept but may cause issues"} 
[2026-07-01 01:11:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782848421000,"timestamp_ms":1782848421000,"timestamp_seconds":1782848421,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a0bfc88"} 
[2026-07-01 01:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:11:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-01 01:11:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:11:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:11:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409193984001,"66":27365,"99":206,"79":20992,"24":55,"16":332319929137102848,"45":6958976244472459264},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,79,24,16,45]} 
[2026-07-01 01:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409193984001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:11:59] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-01 01:11:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 01:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332319929137102848,"km_value":332319929137102.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":6958976244472459264,"description":"Unknown IO ID 45"} 
[2026-07-01 01:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409193984001,"power":27365,"unknown_99":206,"unknown_79":20992,"ignition":55,"odometer":null,"unknown_45":6958976244472459264}} 
[2026-07-01 01:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":119356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:11:59] local.INFO: GPS data processed {"connection_id":119356,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:11:59] local.INFO: Acknowledgment sent {"connection_id":119356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:12:22] local.INFO: TCP Data received {"connection_id":118597,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:12:22] local.INFO: Processing buffer {"connection_id":118597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:12:22] local.INFO: IMEI packet received {"connection_id":118597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 01:12:22] local.INFO: IMEI acknowledgment sent {"connection_id":118597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:12:25] local.INFO: TCP Data received {"connection_id":118597,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:12:25] local.INFO: Processing buffer {"connection_id":118597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:12:25] local.INFO: IMEI packet received {"connection_id":118597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":118597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:12:27] local.INFO: TCP Data received {"connection_id":118597,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:12:27] local.INFO: Processing buffer {"connection_id":118597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:12:27] local.INFO: IMEI packet received {"connection_id":118597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":118597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:12:28] local.INFO: TCP Data received {"connection_id":118597,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a0c17e0012d6075c0062c7028000901512b..."} 
[2026-07-01 01:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a0c17e0012d6075c0062c7028000901512b..."} 
[2026-07-01 01:12:28] local.INFO: Processing buffer {"connection_id":118597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a0c17e0012d6075c0062c7028000901512b..."} 
[2026-07-01 01:12:28] local.INFO: Packet analysis {"connection_id":118597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a0c"} 
[2026-07-01 01:12:28] local.INFO: Extracted packet for processing {"connection_id":118597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a0c"} 
[2026-07-01 01:12:28] local.INFO: GPS Element Parsed {"raw_longitude":761296320,"raw_latitude":103575592,"longitude_deg":76.129632,"latitude_deg":10.3575592,"altitude":9,"angle":337,"satellites":43,"speed":52,"hex_longitude":"2d6075c0","hex_latitude":"062c7028","is_valid_coordinates":true} 
[2026-07-01 01:12:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:12:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409195776001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:12:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332320384403636224,"note":"Value kept but may cause issues"} 
[2026-07-01 01:12:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6954613382335815680,"note":"Value kept but may cause issues"} 
[2026-07-01 01:12:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:12:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782848428000,"timestamp_ms":1782848428000,"timestamp_seconds":1782848428,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a0c17e0"} 
[2026-07-01 01:12:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:12:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:12:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 01:12:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:12:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:12:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:12:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:12:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:12:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:12:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:12:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:12:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:12:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:12:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409195776001,"66":27267,"211":206,"79":20992,"24":52,"16":332320384403636224,"45":6954613382335815680},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,79,24,16,45]} 
[2026-07-01 01:12:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:12:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:12:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409195776001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:12:28] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-07-01 01:12:28] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 01:12:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332320384403636224,"km_value":332320384403636.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:12:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":6954613382335815680,"description":"Unknown IO ID 45"} 
[2026-07-01 01:12:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409195776001,"power":27267,"unknown_211":206,"unknown_79":20992,"ignition":52,"odometer":null,"unknown_45":6954613382335815680}} 
[2026-07-01 01:12:28] local.INFO: DEBUG: GPS processor result {"connection_id":118597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:12:28] local.INFO: GPS data processed {"connection_id":118597,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:12:28] local.INFO: Acknowledgment sent {"connection_id":118597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:12:59] local.INFO: TCP Data received {"connection_id":118597,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a0d8af8012d5fb480062e2fe80010015d2e..."} 
[2026-07-01 01:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a0d8af8012d5fb480062e2fe80010015d2e..."} 
[2026-07-01 01:12:59] local.INFO: Processing buffer {"connection_id":118597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a0d8af8012d5fb480062e2fe80010015d2e..."} 
[2026-07-01 01:12:59] local.INFO: Packet analysis {"connection_id":118597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a0d"} 
[2026-07-01 01:12:59] local.INFO: Extracted packet for processing {"connection_id":118597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a0d"} 
[2026-07-01 01:12:59] local.INFO: GPS Element Parsed {"raw_longitude":761246848,"raw_latitude":103690216,"longitude_deg":76.1246848,"latitude_deg":10.3690216,"altitude":16,"angle":349,"satellites":46,"speed":50,"hex_longitude":"2d5fb480","hex_latitude":"062e2fe8","is_valid_coordinates":true} 
[2026-07-01 01:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409221888001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332326427422621696,"note":"Value kept but may cause issues"} 
[2026-07-01 01:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6896277693444122624,"note":"Value kept but may cause issues"} 
[2026-07-01 01:12:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782848523000,"timestamp_ms":1782848523000,"timestamp_seconds":1782848523,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a0d8af8"} 
[2026-07-01 01:12:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:12:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-01 01:12:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:12:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:12:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:12:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409221888001,"66":27104,"211":206,"79":20992,"24":50,"16":332326427422621696,"45":6896277693444122624},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,79,24,16,45]} 
[2026-07-01 01:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409221888001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:12:59] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-07-01 01:12:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 01:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332326427422621696,"km_value":332326427422621.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":6896277693444122624,"description":"Unknown IO ID 45"} 
[2026-07-01 01:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409221888001,"power":27104,"unknown_211":206,"unknown_79":20992,"ignition":50,"odometer":null,"unknown_45":6896277693444122624}} 
[2026-07-01 01:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":118597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:12:59] local.INFO: GPS data processed {"connection_id":118597,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:12:59] local.INFO: Acknowledgment sent {"connection_id":118597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:13:27] local.INFO: TCP Data received {"connection_id":119357,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:13:27] local.INFO: Processing buffer {"connection_id":119357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:13:27] local.INFO: IMEI packet received {"connection_id":119357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 01:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":119357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:13:29] local.INFO: TCP Data received {"connection_id":119357,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:13:29] local.INFO: Processing buffer {"connection_id":119357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:13:29] local.INFO: IMEI packet received {"connection_id":119357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":119357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:13:30] local.INFO: TCP Data received {"connection_id":119357,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a0daa38012d5fafc0062e56c8000f01612e..."} 
[2026-07-01 01:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a0daa38012d5fafc0062e56c8000f01612e..."} 
[2026-07-01 01:13:30] local.INFO: Processing buffer {"connection_id":119357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a0daa38012d5fafc0062e56c8000f01612e..."} 
[2026-07-01 01:13:30] local.INFO: Packet analysis {"connection_id":119357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a0d"} 
[2026-07-01 01:13:30] local.INFO: Extracted packet for processing {"connection_id":119357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a0d"} 
[2026-07-01 01:13:30] local.INFO: GPS Element Parsed {"raw_longitude":761245632,"raw_latitude":103700168,"longitude_deg":76.1245632,"latitude_deg":10.3700168,"altitude":15,"angle":353,"satellites":46,"speed":51,"hex_longitude":"2d5fafc0","hex_latitude":"062e56c8","is_valid_coordinates":true} 
[2026-07-01 01:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:13:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409221888001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:13:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332326912753926144,"note":"Value kept but may cause issues"} 
[2026-07-01 01:13:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6896277693444122624,"note":"Value kept but may cause issues"} 
[2026-07-01 01:13:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:13:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782848531000,"timestamp_ms":1782848531000,"timestamp_seconds":1782848531,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a0daa38"} 
[2026-07-01 01:13:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:13:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-01 01:13:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:13:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:13:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:13:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:13:30] local.INFO: Teltonika packet parsed successfully {"connection_id":119357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:13:30] local.INFO: Passing IMEI to GPS processor {"connection_id":119357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:13:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":119357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:13:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:13:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:13:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:13:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409221888001,"66":27365,"211":206,"79":20992,"24":51,"16":332326912753926144,"45":6896277693444122624},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,79,24,16,45]} 
[2026-07-01 01:13:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:13:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:13:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409221888001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:13:30] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-07-01 01:13:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 01:13:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332326912753926144,"km_value":332326912753926.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:13:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":6896277693444122624,"description":"Unknown IO ID 45"} 
[2026-07-01 01:13:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409221888001,"power":27365,"unknown_211":206,"unknown_79":20992,"ignition":51,"odometer":null,"unknown_45":6896277693444122624}} 
[2026-07-01 01:13:30] local.INFO: DEBUG: GPS processor result {"connection_id":119357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:13:30] local.INFO: GPS data processed {"connection_id":119357,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:13:30] local.INFO: Acknowledgment sent {"connection_id":119357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:13:33] local.INFO: TCP Data received {"connection_id":119357,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a0dc590012d5fab40062e7b10000d01612c..."} 
[2026-07-01 01:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a0dc590012d5fab40062e7b10000d01612c..."} 
[2026-07-01 01:13:33] local.INFO: Processing buffer {"connection_id":119357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a0dc590012d5fab40062e7b10000d01612c..."} 
[2026-07-01 01:13:33] local.INFO: Packet analysis {"connection_id":119357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a0d"} 
[2026-07-01 01:13:33] local.INFO: Extracted packet for processing {"connection_id":119357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a0d"} 
[2026-07-01 01:13:33] local.INFO: GPS Element Parsed {"raw_longitude":761244480,"raw_latitude":103709456,"longitude_deg":76.124448,"latitude_deg":10.3709456,"altitude":13,"angle":353,"satellites":44,"speed":54,"hex_longitude":"2d5fab40","hex_latitude":"062e7b10","is_valid_coordinates":true} 
[2026-07-01 01: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-01 01:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409223936001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332327368020459520,"note":"Value kept but may cause issues"} 
[2026-07-01 01:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6894940687307294720,"note":"Value kept but may cause issues"} 
[2026-07-01 01:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782848538000,"timestamp_ms":1782848538000,"timestamp_seconds":1782848538,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a0dc590"} 
[2026-07-01 01: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-01 01:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 01:13:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01: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-01 01: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-01 01:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":119357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":119357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":119357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409223936001,"66":27550,"210":206,"79":20992,"24":54,"16":332327368020459520,"45":6894940687307294720},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,79,24,16,45]} 
[2026-07-01 01:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409223936001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:13:33] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-07-01 01:13:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 01:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332327368020459520,"km_value":332327368020459.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6894940687307294720,"description":"Unknown IO ID 45"} 
[2026-07-01 01:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409223936001,"power":27550,"unknown_210":206,"unknown_79":20992,"ignition":54,"odometer":null,"unknown_45":6894940687307294720}} 
[2026-07-01 01:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":119357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:13:33] local.INFO: GPS data processed {"connection_id":119357,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:13:33] local.INFO: Acknowledgment sent {"connection_id":119357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:14:06] local.INFO: TCP Data received {"connection_id":119357,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a0de0e8012d5fa700062ea090000a01612d..."} 
[2026-07-01 01:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a0de0e8012d5fa700062ea090000a01612d..."} 
[2026-07-01 01:14:06] local.INFO: Processing buffer {"connection_id":119357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a0de0e8012d5fa700062ea090000a01612d..."} 
[2026-07-01 01:14:06] local.INFO: Packet analysis {"connection_id":119357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a0d"} 
[2026-07-01 01:14:06] local.INFO: Extracted packet for processing {"connection_id":119357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a0d"} 
[2026-07-01 01:14:06] local.INFO: GPS Element Parsed {"raw_longitude":761243392,"raw_latitude":103719056,"longitude_deg":76.1243392,"latitude_deg":10.3719056,"altitude":10,"angle":353,"satellites":45,"speed":55,"hex_longitude":"2d5fa700","hex_latitude":"062ea090","is_valid_coordinates":true} 
[2026-07-01 01: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-01 01:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409225728001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332327836171894784,"note":"Value kept but may cause issues"} 
[2026-07-01 01:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6893674049914474496,"note":"Value kept but may cause issues"} 
[2026-07-01 01:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782848545000,"timestamp_ms":1782848545000,"timestamp_seconds":1782848545,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a0de0e8"} 
[2026-07-01 01: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-01 01:14: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-01 01: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":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-01 01:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2155,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01: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-01 01: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-01 01:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":119357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":119357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":119357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409225728001,"66":27571,"210":206,"79":20992,"24":55,"16":332327836171894784,"45":6893674049914474496},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,79,24,16,45]} 
[2026-07-01 01:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409225728001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:14:06] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-07-01 01:14:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 01:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332327836171894784,"km_value":332327836171894.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6893674049914474496,"description":"Unknown IO ID 45"} 
[2026-07-01 01:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409225728001,"power":27571,"unknown_210":206,"unknown_79":20992,"ignition":55,"odometer":null,"unknown_45":6893674049914474496}} 
[2026-07-01 01:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":119357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:14:06] local.INFO: GPS data processed {"connection_id":119357,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:14:06] local.INFO: Acknowledgment sent {"connection_id":119357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:14:19] local.INFO: TCP Data received {"connection_id":119358,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:14:19] local.INFO: Processing buffer {"connection_id":119358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:14:19] local.INFO: IMEI packet received {"connection_id":119358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 01:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":119358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:14:22] local.INFO: TCP Data received {"connection_id":119358,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:14:22] local.INFO: Processing buffer {"connection_id":119358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:14:22] local.INFO: IMEI packet received {"connection_id":119358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:14:22] local.INFO: IMEI acknowledgment sent {"connection_id":119358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:14:27] local.INFO: TCP Data received {"connection_id":119358,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:14:27] local.INFO: Processing buffer {"connection_id":119358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:14:27] local.INFO: IMEI packet received {"connection_id":119358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":119358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:14:49] local.INFO: TCP Data received {"connection_id":120455,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 01:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120455,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 01:14:49] local.INFO: Processing buffer {"connection_id":120455,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 01:14:49] local.INFO: IMEI packet received {"connection_id":120455,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 01:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":120455,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:14:53] local.INFO: TCP Data received {"connection_id":119358,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a0dfc40012d5fa0c0062ec5d0000901592c..."} 
[2026-07-01 01:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a0dfc40012d5fa0c0062ec5d0000901592c..."} 
[2026-07-01 01:14:53] local.INFO: Processing buffer {"connection_id":119358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a0dfc40012d5fa0c0062ec5d0000901592c..."} 
[2026-07-01 01:14:53] local.INFO: Packet analysis {"connection_id":119358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a0d"} 
[2026-07-01 01:14:53] local.INFO: Extracted packet for processing {"connection_id":119358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a0d"} 
[2026-07-01 01:14:53] local.INFO: GPS Element Parsed {"raw_longitude":761241792,"raw_latitude":103728592,"longitude_deg":76.1241792,"latitude_deg":10.3728592,"altitude":9,"angle":345,"satellites":44,"speed":53,"hex_longitude":"2d5fa0c0","hex_latitude":"062ec5d0","is_valid_coordinates":true} 
[2026-07-01 01:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:14:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409227520001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:14:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332328304323330048,"note":"Value kept but may cause issues"} 
[2026-07-01 01:14:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6892477781265911808,"note":"Value kept but may cause issues"} 
[2026-07-01 01:14:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:14:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782848552000,"timestamp_ms":1782848552000,"timestamp_seconds":1782848552,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a0dfc40"} 
[2026-07-01 01:14:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:14:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-01 01:14:53] 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-01 01:14:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:14:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:14:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:14:53] local.INFO: Teltonika packet parsed successfully {"connection_id":119358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:14:53] local.INFO: Passing IMEI to GPS processor {"connection_id":119358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:14:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":119358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:14:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:14:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:14:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:14:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409227520001,"66":27321,"210":206,"79":20992,"24":53,"16":332328304323330048,"45":6892477781265911808},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,79,24,16,45]} 
[2026-07-01 01:14:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:14:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:14:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409227520001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:14:53] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-07-01 01:14:53] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 01:14:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332328304323330048,"km_value":332328304323330.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:14:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":6892477781265911808,"description":"Unknown IO ID 45"} 
[2026-07-01 01:14:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409227520001,"power":27321,"unknown_210":206,"unknown_79":20992,"ignition":53,"odometer":null,"unknown_45":6892477781265911808}} 
[2026-07-01 01:14:53] local.INFO: DEBUG: GPS processor result {"connection_id":119358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:14:53] local.INFO: GPS data processed {"connection_id":119358,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:14:53] local.INFO: Acknowledgment sent {"connection_id":119358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:15:05] local.INFO: TCP Data received {"connection_id":119358,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a0f6b70012d5f3ac0062fded8000a01582c..."} 
[2026-07-01 01:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a0f6b70012d5f3ac0062fded8000a01582c..."} 
[2026-07-01 01:15:05] local.INFO: Processing buffer {"connection_id":119358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a0f6b70012d5f3ac0062fded8000a01582c..."} 
[2026-07-01 01:15:05] local.INFO: Packet analysis {"connection_id":119358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a0f"} 
[2026-07-01 01:15:05] local.INFO: Extracted packet for processing {"connection_id":119358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a0f"} 
[2026-07-01 01:15:05] local.INFO: GPS Element Parsed {"raw_longitude":761215680,"raw_latitude":103800536,"longitude_deg":76.121568,"latitude_deg":10.3800536,"altitude":10,"angle":344,"satellites":44,"speed":51,"hex_longitude":"2d5f3ac0","hex_latitude":"062fded8","is_valid_coordinates":true} 
[2026-07-01 01:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409251328001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332332028059975680,"note":"Value kept but may cause issues"} 
[2026-07-01 01:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6865245077287559168,"note":"Value kept but may cause issues"} 
[2026-07-01 01:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782848646000,"timestamp_ms":1782848646000,"timestamp_seconds":1782848646,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a0f6b70"} 
[2026-07-01 01:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-01 01:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:15:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":119358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":119358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":119358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409251328001,"66":27376,"204":206,"79":20992,"24":51,"16":332332028059975680,"45":6865245077287559168},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,79,24,16,45]} 
[2026-07-01 01:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409251328001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:15:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 01:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332332028059975680,"km_value":332332028059975.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6865245077287559168,"description":"Unknown IO ID 45"} 
[2026-07-01 01:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409251328001,"power":27376,"lac":206,"unknown_79":20992,"ignition":51,"odometer":null,"unknown_45":6865245077287559168}} 
[2026-07-01 01:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":119358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:15:05] local.INFO: GPS data processed {"connection_id":119358,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:15:05] local.INFO: Acknowledgment sent {"connection_id":119358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:15:22] local.INFO: TCP Data received {"connection_id":118712,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 01:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118712,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 01:15:22] local.INFO: Processing buffer {"connection_id":118712,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 01:15:22] local.INFO: IMEI packet received {"connection_id":118712,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 01:15:22] local.INFO: IMEI acknowledgment sent {"connection_id":118712,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:15:22] local.INFO: TCP Data received {"connection_id":118598,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:15:22] local.INFO: Processing buffer {"connection_id":118598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:15:22] local.INFO: IMEI packet received {"connection_id":118598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 01:15:22] local.INFO: IMEI acknowledgment sent {"connection_id":118598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:15:23] local.INFO: TCP Data received {"connection_id":118598,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:15:23] local.INFO: Processing buffer {"connection_id":118598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:15:23] local.INFO: IMEI packet received {"connection_id":118598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:15:23] local.INFO: IMEI acknowledgment sent {"connection_id":118598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:15:27] local.INFO: TCP Data received {"connection_id":118598,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:15:27] local.INFO: Processing buffer {"connection_id":118598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:15:27] local.INFO: IMEI packet received {"connection_id":118598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":118598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:15:29] local.INFO: TCP Data received {"connection_id":118598,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a0f86c8012d5f3240063002080009015a2d..."} 
[2026-07-01 01:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a0f86c8012d5f3240063002080009015a2d..."} 
[2026-07-01 01:15:29] local.INFO: Processing buffer {"connection_id":118598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a0f86c8012d5f3240063002080009015a2d..."} 
[2026-07-01 01:15:29] local.INFO: Packet analysis {"connection_id":118598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a0f"} 
[2026-07-01 01:15:29] local.INFO: Extracted packet for processing {"connection_id":118598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a0f"} 
[2026-07-01 01:15:29] local.INFO: GPS Element Parsed {"raw_longitude":761213504,"raw_latitude":103809544,"longitude_deg":76.1213504,"latitude_deg":10.3809544,"altitude":9,"angle":346,"satellites":45,"speed":53,"hex_longitude":"2d5f3240","hex_latitude":"06300208","is_valid_coordinates":true} 
[2026-07-01 01:15:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:15:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409253376001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:15:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332332474736574464,"note":"Value kept but may cause issues"} 
[2026-07-01 01:15:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6862008115057842176,"note":"Value kept but may cause issues"} 
[2026-07-01 01:15:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:15:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782848653000,"timestamp_ms":1782848653000,"timestamp_seconds":1782848653,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a0f86c8"} 
[2026-07-01 01:15:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:15:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:15:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-01 01:15:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:15:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:15:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:15:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:15:29] local.INFO: Teltonika packet parsed successfully {"connection_id":118598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:15:29] local.INFO: Passing IMEI to GPS processor {"connection_id":118598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:15:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":118598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:15:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:15:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:15:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:15:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409253376001,"66":27365,"204":206,"79":20992,"24":53,"16":332332474736574464,"45":6862008115057842176},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,79,24,16,45]} 
[2026-07-01 01:15:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:15:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:15:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409253376001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:15:29] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 01:15:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332332474736574464,"km_value":332332474736574.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:15:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":6862008115057842176,"description":"Unknown IO ID 45"} 
[2026-07-01 01:15:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409253376001,"power":27365,"lac":206,"unknown_79":20992,"ignition":53,"odometer":null,"unknown_45":6862008115057842176}} 
[2026-07-01 01:15:29] local.INFO: DEBUG: GPS processor result {"connection_id":118598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:15:29] local.INFO: GPS data processed {"connection_id":118598,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:15:29] local.INFO: Acknowledgment sent {"connection_id":118598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:16:00] local.INFO: TCP Data received {"connection_id":118598,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a0fa220012d5f2a00063025a80009015b2e..."} 
[2026-07-01 01:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a0fa220012d5f2a00063025a80009015b2e..."} 
[2026-07-01 01:16:00] local.INFO: Processing buffer {"connection_id":118598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a0fa220012d5f2a00063025a80009015b2e..."} 
[2026-07-01 01:16:00] local.INFO: Packet analysis {"connection_id":118598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a0f"} 
[2026-07-01 01:16:00] local.INFO: Extracted packet for processing {"connection_id":118598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a0f"} 
[2026-07-01 01:16:00] local.INFO: GPS Element Parsed {"raw_longitude":761211392,"raw_latitude":103818664,"longitude_deg":76.1211392,"latitude_deg":10.3818664,"altitude":9,"angle":347,"satellites":46,"speed":51,"hex_longitude":"2d5f2a00","hex_latitude":"063025a8","is_valid_coordinates":true} 
[2026-07-01 01:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:16:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409255168001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:16:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332332930003107840,"note":"Value kept but may cause issues"} 
[2026-07-01 01:16:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6859615577758107648,"note":"Value kept but may cause issues"} 
[2026-07-01 01:16:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:16:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782848660000,"timestamp_ms":1782848660000,"timestamp_seconds":1782848660,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a0fa220"} 
[2026-07-01 01:16:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:16:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 01:16:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:16:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:16:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:16:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:16:00] local.INFO: Teltonika packet parsed successfully {"connection_id":118598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:16:00] local.INFO: Passing IMEI to GPS processor {"connection_id":118598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:16:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":118598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:16:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:16:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:16:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:16:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409255168001,"66":27463,"204":206,"79":20992,"24":51,"16":332332930003107840,"45":6859615577758107648},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,79,24,16,45]} 
[2026-07-01 01:16:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:16:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:16:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409255168001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:16:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 01:16:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332332930003107840,"km_value":332332930003107.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:16:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6859615577758107648,"description":"Unknown IO ID 45"} 
[2026-07-01 01:16:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409255168001,"power":27463,"lac":206,"unknown_79":20992,"ignition":51,"odometer":null,"unknown_45":6859615577758107648}} 
[2026-07-01 01:16:00] local.INFO: DEBUG: GPS processor result {"connection_id":118598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:16:00] local.INFO: GPS data processed {"connection_id":118598,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:16:00] local.INFO: Acknowledgment sent {"connection_id":118598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:16:22] local.INFO: TCP Data received {"connection_id":119360,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:16:22] local.INFO: Processing buffer {"connection_id":119360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:16:22] local.INFO: IMEI packet received {"connection_id":119360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 01:16:22] local.INFO: IMEI acknowledgment sent {"connection_id":119360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:16:25] local.INFO: TCP Data received {"connection_id":119360,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:16:25] local.INFO: Processing buffer {"connection_id":119360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:16:25] local.INFO: IMEI packet received {"connection_id":119360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":119360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:16:27] local.INFO: TCP Data received {"connection_id":119360,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:16:27] local.INFO: Processing buffer {"connection_id":119360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:16:27] local.INFO: IMEI packet received {"connection_id":119360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":119360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:16:31] local.INFO: TCP Data received {"connection_id":119360,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a0fc160012d5f214006304c080009015c2e..."} 
[2026-07-01 01:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a0fc160012d5f214006304c080009015c2e..."} 
[2026-07-01 01:16:31] local.INFO: Processing buffer {"connection_id":119360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a0fc160012d5f214006304c080009015c2e..."} 
[2026-07-01 01:16:31] local.INFO: Packet analysis {"connection_id":119360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a0f"} 
[2026-07-01 01:16:31] local.INFO: Extracted packet for processing {"connection_id":119360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a0f"} 
[2026-07-01 01:16:31] local.INFO: GPS Element Parsed {"raw_longitude":761209152,"raw_latitude":103828488,"longitude_deg":76.1209152,"latitude_deg":10.3828488,"altitude":9,"angle":348,"satellites":46,"speed":48,"hex_longitude":"2d5f2140","hex_latitude":"06304c08","is_valid_coordinates":true} 
[2026-07-01 01:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409256960001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332333415334412288,"note":"Value kept but may cause issues"} 
[2026-07-01 01:16:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6857293409202579456,"note":"Value kept but may cause issues"} 
[2026-07-01 01:16:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782848668000,"timestamp_ms":1782848668000,"timestamp_seconds":1782848668,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a0fc160"} 
[2026-07-01 01:16:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:16:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-01 01:16:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:16:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:16:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:16:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409256960001,"66":27267,"204":206,"79":20992,"24":48,"16":332333415334412288,"45":6857293409202579456},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,79,24,16,45]} 
[2026-07-01 01:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409256960001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:16:31] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-07-01 01:16:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332333415334412288,"km_value":332333415334412.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:16:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6857293409202579456,"description":"Unknown IO ID 45"} 
[2026-07-01 01:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409256960001,"power":27267,"lac":206,"unknown_79":20992,"ignition":48,"odometer":null,"unknown_45":6857293409202579456}} 
[2026-07-01 01:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":119360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:16:31] local.INFO: GPS data processed {"connection_id":119360,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:16:31] local.INFO: Acknowledgment sent {"connection_id":119360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:16:33] local.INFO: TCP Data received {"connection_id":119360,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a0fe0a0012d5f1980063070500009015a2e..."} 
[2026-07-01 01:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a0fe0a0012d5f1980063070500009015a2e..."} 
[2026-07-01 01:16:33] local.INFO: Processing buffer {"connection_id":119360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a0fe0a0012d5f1980063070500009015a2e..."} 
[2026-07-01 01:16:33] local.INFO: Packet analysis {"connection_id":119360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a0f"} 
[2026-07-01 01:16:33] local.INFO: Extracted packet for processing {"connection_id":119360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a0f"} 
[2026-07-01 01:16:33] local.INFO: GPS Element Parsed {"raw_longitude":761207168,"raw_latitude":103837776,"longitude_deg":76.1207168,"latitude_deg":10.3837776,"altitude":9,"angle":346,"satellites":46,"speed":48,"hex_longitude":"2d5f1980","hex_latitude":"06307050","is_valid_coordinates":true} 
[2026-07-01 01: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-01 01:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409259008001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332333879190880256,"note":"Value kept but may cause issues"} 
[2026-07-01 01:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6854830503158876160,"note":"Value kept but may cause issues"} 
[2026-07-01 01:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782848676000,"timestamp_ms":1782848676000,"timestamp_seconds":1782848676,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a0fe0a0"} 
[2026-07-01 01: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-01 01:16:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-01 01:16:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01: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-01 01: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-01 01:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":119360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":119360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":119360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409259008001,"66":27343,"144":206,"78":38656,"24":48,"16":332333879190880256,"45":6854830503158876160},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,78,24,16,45]} 
[2026-07-01 01:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409259008001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:16:33] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-07-01 01:16:33] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-01 01:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332333879190880256,"km_value":332333879190880.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6854830503158876160,"description":"Unknown IO ID 45"} 
[2026-07-01 01:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409259008001,"power":27343,"unknown_144":206,"unknown_78":38656,"ignition":48,"odometer":null,"unknown_45":6854830503158876160}} 
[2026-07-01 01:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":119360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:16:33] local.INFO: GPS data processed {"connection_id":119360,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:16:33] local.INFO: Acknowledgment sent {"connection_id":119360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:17:22] local.INFO: TCP Data received {"connection_id":120456,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:17:22] local.INFO: Processing buffer {"connection_id":120456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:17:22] local.INFO: IMEI packet received {"connection_id":120456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 01:17:22] local.INFO: IMEI acknowledgment sent {"connection_id":120456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:17:22] local.INFO: TCP Data received {"connection_id":120456,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:17:22] local.INFO: Processing buffer {"connection_id":120456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:17:22] local.INFO: IMEI packet received {"connection_id":120456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:17:22] local.INFO: IMEI acknowledgment sent {"connection_id":120456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:17:27] local.INFO: TCP Data received {"connection_id":120456,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:17:27] local.INFO: Processing buffer {"connection_id":120456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:17:27] local.INFO: IMEI packet received {"connection_id":120456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":120456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:17:28] local.INFO: TCP Data received {"connection_id":120456,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a115b88012d5ec7c0063227d00008014f2e..."} 
[2026-07-01 01:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a115b88012d5ec7c0063227d00008014f2e..."} 
[2026-07-01 01:17:28] local.INFO: Processing buffer {"connection_id":120456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a115b88012d5ec7c0063227d00008014f2e..."} 
[2026-07-01 01:17:28] local.INFO: Packet analysis {"connection_id":120456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a11"} 
[2026-07-01 01:17:28] local.INFO: Extracted packet for processing {"connection_id":120456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a11"} 
[2026-07-01 01:17:28] local.INFO: GPS Element Parsed {"raw_longitude":761186240,"raw_latitude":103950288,"longitude_deg":76.118624,"latitude_deg":10.3950288,"altitude":8,"angle":335,"satellites":46,"speed":53,"hex_longitude":"2d5ec7c0","hex_latitude":"063227d0","is_valid_coordinates":true} 
[2026-07-01 01:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:17:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409284352001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:17:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332339505598038016,"note":"Value kept but may cause issues"} 
[2026-07-01 01:17:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6832664348772118528,"note":"Value kept but may cause issues"} 
[2026-07-01 01:17:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:17:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782848773000,"timestamp_ms":1782848773000,"timestamp_seconds":1782848773,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a115b88"} 
[2026-07-01 01:17:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:17:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-01 01:17:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:17:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:17:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:17:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:17:28] local.INFO: Teltonika packet parsed successfully {"connection_id":120456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:17:28] local.INFO: Passing IMEI to GPS processor {"connection_id":120456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:17:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":120456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:17:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:17:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:17:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:17:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409284352001,"66":27321,"110":206,"78":38656,"24":53,"16":332339505598038016,"45":6832664348772118528},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,78,24,16,45]} 
[2026-07-01 01:17:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:17:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:17:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409284352001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:17:28] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 01:17:28] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-01 01:17:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332339505598038016,"km_value":332339505598038.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:17:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":6832664348772118528,"description":"Unknown IO ID 45"} 
[2026-07-01 01:17:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409284352001,"power":27321,"unknown_110":206,"unknown_78":38656,"ignition":53,"odometer":null,"unknown_45":6832664348772118528}} 
[2026-07-01 01:17:28] local.INFO: DEBUG: GPS processor result {"connection_id":120456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:17:28] local.INFO: GPS data processed {"connection_id":120456,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:17:28] local.INFO: Acknowledgment sent {"connection_id":120456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:17:59] local.INFO: TCP Data received {"connection_id":120456,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a1176e0012d5eb7c0063248780007014e2e..."} 
[2026-07-01 01:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a1176e0012d5eb7c0063248780007014e2e..."} 
[2026-07-01 01:17:59] local.INFO: Processing buffer {"connection_id":120456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a1176e0012d5eb7c0063248780007014e2e..."} 
[2026-07-01 01:17:59] local.INFO: Packet analysis {"connection_id":120456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a11"} 
[2026-07-01 01:17:59] local.INFO: Extracted packet for processing {"connection_id":120456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a11"} 
[2026-07-01 01:17:59] local.INFO: GPS Element Parsed {"raw_longitude":761182144,"raw_latitude":103958648,"longitude_deg":76.1182144,"latitude_deg":10.3958648,"altitude":7,"angle":334,"satellites":46,"speed":51,"hex_longitude":"2d5eb7c0","hex_latitude":"06324878","is_valid_coordinates":true} 
[2026-07-01 01:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409285888001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332339952274636800,"note":"Value kept but may cause issues"} 
[2026-07-01 01:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6829638492774453248,"note":"Value kept but may cause issues"} 
[2026-07-01 01:17:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782848780000,"timestamp_ms":1782848780000,"timestamp_seconds":1782848780,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a1176e0"} 
[2026-07-01 01:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:17:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-01 01:17:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:17:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":120456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":120456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":120456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:17:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409285888001,"66":27343,"110":206,"78":38656,"24":51,"16":332339952274636800,"45":6829638492774453248},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,78,24,16,45]} 
[2026-07-01 01:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409285888001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:17:59] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 01:17:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-01 01:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332339952274636800,"km_value":332339952274636.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":6829638492774453248,"description":"Unknown IO ID 45"} 
[2026-07-01 01:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409285888001,"power":27343,"unknown_110":206,"unknown_78":38656,"ignition":51,"odometer":null,"unknown_45":6829638492774453248}} 
[2026-07-01 01:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":120456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:17:59] local.INFO: GPS data processed {"connection_id":120456,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:17:59] local.INFO: Acknowledgment sent {"connection_id":120456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:18:26] local.INFO: TCP Data received {"connection_id":118600,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:18:26] local.INFO: Processing buffer {"connection_id":118600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:18:26] local.INFO: IMEI packet received {"connection_id":118600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 01:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":118600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:18:27] local.INFO: TCP Data received {"connection_id":118600,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:18:27] local.INFO: Processing buffer {"connection_id":118600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:18:27] local.INFO: IMEI packet received {"connection_id":118600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":118600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:18:32] local.INFO: TCP Data received {"connection_id":118600,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:18:32] local.INFO: Processing buffer {"connection_id":118600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:18:32] local.INFO: IMEI packet received {"connection_id":118600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":118600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:18:34] local.INFO: TCP Data received {"connection_id":118600,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a119620012d5ea60006326b000006014d2e..."} 
[2026-07-01 01:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a119620012d5ea60006326b000006014d2e..."} 
[2026-07-01 01:18:34] local.INFO: Processing buffer {"connection_id":118600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a119620012d5ea60006326b000006014d2e..."} 
[2026-07-01 01:18:34] local.INFO: Packet analysis {"connection_id":118600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a11"} 
[2026-07-01 01:18:34] local.INFO: Extracted packet for processing {"connection_id":118600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a11"} 
[2026-07-01 01:18:34] local.INFO: GPS Element Parsed {"raw_longitude":761177600,"raw_latitude":103967488,"longitude_deg":76.11776,"latitude_deg":10.3967488,"altitude":6,"angle":333,"satellites":46,"speed":49,"hex_longitude":"2d5ea600","hex_latitude":"06326b00","is_valid_coordinates":true} 
[2026-07-01 01:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409287680001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332340433310973952,"note":"Value kept but may cause issues"} 
[2026-07-01 01:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6825134893149222912,"note":"Value kept but may cause issues"} 
[2026-07-01 01:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782848788000,"timestamp_ms":1782848788000,"timestamp_seconds":1782848788,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a119620"} 
[2026-07-01 01:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-01 01:18:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:18:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":118600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":118600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":118600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409287680001,"66":27169,"110":206,"78":38656,"24":49,"16":332340433310973952,"45":6825134893149222912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,78,24,16,45]} 
[2026-07-01 01:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409287680001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:18:34] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 01:18:34] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-01 01:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332340433310973952,"km_value":332340433310973.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6825134893149222912,"description":"Unknown IO ID 45"} 
[2026-07-01 01:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409287680001,"power":27169,"unknown_110":206,"unknown_78":38656,"ignition":49,"odometer":null,"unknown_45":6825134893149222912}} 
[2026-07-01 01:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":118600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:18:34] local.INFO: GPS data processed {"connection_id":118600,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:18:34] local.INFO: Acknowledgment sent {"connection_id":118600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:19:06] local.INFO: TCP Data received {"connection_id":118600,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a132878012d5dd740063425a0000701482c..."} 
[2026-07-01 01:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a132878012d5dd740063425a0000701482c..."} 
[2026-07-01 01:19:06] local.INFO: Processing buffer {"connection_id":118600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a132878012d5dd740063425a0000701482c..."} 
[2026-07-01 01:19:06] local.INFO: Packet analysis {"connection_id":118600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a13"} 
[2026-07-01 01:19:06] local.INFO: Extracted packet for processing {"connection_id":118600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a13"} 
[2026-07-01 01:19:06] local.INFO: GPS Element Parsed {"raw_longitude":761124672,"raw_latitude":104080800,"longitude_deg":76.1124672,"latitude_deg":10.40808,"altitude":7,"angle":328,"satellites":44,"speed":51,"hex_longitude":"2d5dd740","hex_latitude":"063425a0","is_valid_coordinates":true} 
[2026-07-01 01:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409314304001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332346489214861312,"note":"Value kept but may cause issues"} 
[2026-07-01 01:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6766588098022664192,"note":"Value kept but may cause issues"} 
[2026-07-01 01:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782848891000,"timestamp_ms":1782848891000,"timestamp_seconds":1782848891,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a132878"} 
[2026-07-01 01:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 01:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":118600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":118600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":118600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409314304001,"66":27300,"190":206,"78":38656,"24":51,"16":332346489214861312,"45":6766588098022664192},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,78,24,16,45]} 
[2026-07-01 01:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409314304001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:19:06] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-07-01 01:19:06] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-01 01:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332346489214861312,"km_value":332346489214861.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6766588098022664192,"description":"Unknown IO ID 45"} 
[2026-07-01 01:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409314304001,"power":27300,"unknown_190":206,"unknown_78":38656,"ignition":51,"odometer":null,"unknown_45":6766588098022664192}} 
[2026-07-01 01:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":118600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:19:06] local.INFO: GPS data processed {"connection_id":118600,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:19:06] local.INFO: Acknowledgment sent {"connection_id":118600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:19:20] local.INFO: TCP Data received {"connection_id":119362,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:19:20] local.INFO: Processing buffer {"connection_id":119362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:19:20] local.INFO: IMEI packet received {"connection_id":119362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 01:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":119362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:19:23] local.INFO: TCP Data received {"connection_id":119362,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:19:23] local.INFO: Processing buffer {"connection_id":119362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:19:23] local.INFO: IMEI packet received {"connection_id":119362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":119362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:19:27] local.INFO: TCP Data received {"connection_id":119362,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:19:27] local.INFO: Processing buffer {"connection_id":119362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:19:27] local.INFO: IMEI packet received {"connection_id":119362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":119362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:19:28] local.INFO: TCP Data received {"connection_id":119362,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a1343d0012d5dc30006344240000601422d..."} 
[2026-07-01 01:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a1343d0012d5dc30006344240000601422d..."} 
[2026-07-01 01:19:28] local.INFO: Processing buffer {"connection_id":119362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a1343d0012d5dc30006344240000601422d..."} 
[2026-07-01 01:19:28] local.INFO: Packet analysis {"connection_id":119362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a13"} 
[2026-07-01 01:19:28] local.INFO: Extracted packet for processing {"connection_id":119362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a13"} 
[2026-07-01 01:19:28] local.INFO: GPS Element Parsed {"raw_longitude":761119488,"raw_latitude":104088128,"longitude_deg":76.1119488,"latitude_deg":10.4088128,"altitude":6,"angle":322,"satellites":45,"speed":50,"hex_longitude":"2d5dc300","hex_latitude":"06344240","is_valid_coordinates":true} 
[2026-07-01 01: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-01 01:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409316096001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332346918711590912,"note":"Value kept but may cause issues"} 
[2026-07-01 01:19:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6761943760908951552,"note":"Value kept but may cause issues"} 
[2026-07-01 01:19:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782848898000,"timestamp_ms":1782848898000,"timestamp_seconds":1782848898,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a1343d0"} 
[2026-07-01 01: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-01 01:19: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-01 01:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-01 01:19:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01: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-01 01: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-01 01:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:19:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409316096001,"66":27332,"190":206,"78":38656,"24":50,"16":332346918711590912,"45":6761943760908951552},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,78,24,16,45]} 
[2026-07-01 01:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409316096001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:19:28] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-07-01 01:19:28] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-01 01:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332346918711590912,"km_value":332346918711590.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:19:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":6761943760908951552,"description":"Unknown IO ID 45"} 
[2026-07-01 01:19:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409316096001,"power":27332,"unknown_190":206,"unknown_78":38656,"ignition":50,"odometer":null,"unknown_45":6761943760908951552}} 
[2026-07-01 01:19:28] local.INFO: DEBUG: GPS processor result {"connection_id":119362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:19:28] local.INFO: GPS data processed {"connection_id":119362,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:19:28] local.INFO: Acknowledgment sent {"connection_id":119362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:19:59] local.INFO: TCP Data received {"connection_id":119362,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a136310012d5dac80063462480006014b2e..."} 
[2026-07-01 01:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a136310012d5dac80063462480006014b2e..."} 
[2026-07-01 01:19:59] local.INFO: Processing buffer {"connection_id":119362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a136310012d5dac80063462480006014b2e..."} 
[2026-07-01 01:19:59] local.INFO: Packet analysis {"connection_id":119362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a13"} 
[2026-07-01 01:19:59] local.INFO: Extracted packet for processing {"connection_id":119362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a13"} 
[2026-07-01 01:19:59] local.INFO: GPS Element Parsed {"raw_longitude":761113728,"raw_latitude":104096328,"longitude_deg":76.1113728,"latitude_deg":10.4096328,"altitude":6,"angle":331,"satellites":46,"speed":49,"hex_longitude":"2d5dac80","hex_latitude":"06346248","is_valid_coordinates":true} 
[2026-07-01 01:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409317888001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332347404042895360,"note":"Value kept but may cause issues"} 
[2026-07-01 01:19:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6756243892632436736,"note":"Value kept but may cause issues"} 
[2026-07-01 01:19:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782848906000,"timestamp_ms":1782848906000,"timestamp_seconds":1782848906,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a136310"} 
[2026-07-01 01:19:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:19:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-01 01:19:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:19:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:19:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:19:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409317888001,"66":27115,"190":206,"78":38656,"24":49,"16":332347404042895360,"45":6756243892632436736},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,78,24,16,45]} 
[2026-07-01 01:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409317888001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:19:59] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-07-01 01:19:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-01 01:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332347404042895360,"km_value":332347404042895.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:19:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":6756243892632436736,"description":"Unknown IO ID 45"} 
[2026-07-01 01:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409317888001,"power":27115,"unknown_190":206,"unknown_78":38656,"ignition":49,"odometer":null,"unknown_45":6756243892632436736}} 
[2026-07-01 01:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":119362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:19:59] local.INFO: GPS data processed {"connection_id":119362,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:19:59] local.INFO: Acknowledgment sent {"connection_id":119362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:20:27] local.INFO: TCP Data received {"connection_id":120457,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:20:27] local.INFO: Processing buffer {"connection_id":120457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:20:27] local.INFO: IMEI packet received {"connection_id":120457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 01:20:27] local.INFO: IMEI acknowledgment sent {"connection_id":120457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:20:32] local.INFO: TCP Data received {"connection_id":120457,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:20:32] local.INFO: Processing buffer {"connection_id":120457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:20:32] local.INFO: IMEI packet received {"connection_id":120457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":120457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:20:33] local.INFO: TCP Data received {"connection_id":120457,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a138250012d5d9b80063484680008014d2e..."} 
[2026-07-01 01:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a138250012d5d9b80063484680008014d2e..."} 
[2026-07-01 01:20:33] local.INFO: Processing buffer {"connection_id":120457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a138250012d5d9b80063484680008014d2e..."} 
[2026-07-01 01:20:33] local.INFO: Packet analysis {"connection_id":120457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a13"} 
[2026-07-01 01:20:33] local.INFO: Extracted packet for processing {"connection_id":120457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a13"} 
[2026-07-01 01:20:33] local.INFO: GPS Element Parsed {"raw_longitude":761109376,"raw_latitude":104105064,"longitude_deg":76.1109376,"latitude_deg":10.4105064,"altitude":8,"angle":333,"satellites":46,"speed":46,"hex_longitude":"2d5d9b80","hex_latitude":"06348468","is_valid_coordinates":true} 
[2026-07-01 01:20:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409319936001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332347876489297920,"note":"Value kept but may cause issues"} 
[2026-07-01 01:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6749910705658546176,"note":"Value kept but may cause issues"} 
[2026-07-01 01:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782848914000,"timestamp_ms":1782848914000,"timestamp_seconds":1782848914,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a138250"} 
[2026-07-01 01:20:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:20: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-01 01:20:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-07-01 01:20:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2838,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:20:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:20:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":120457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":120457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":120457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409319936001,"66":27332,"174":206,"78":38656,"24":46,"16":332347876489297920,"45":6749910705658546176},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,78,24,16,45]} 
[2026-07-01 01:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409319936001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:20:33] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-07-01 01:20:33] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-01 01:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332347876489297920,"km_value":332347876489297.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6749910705658546176,"description":"Unknown IO ID 45"} 
[2026-07-01 01:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409319936001,"power":27332,"unknown_174":206,"unknown_78":38656,"ignition":46,"odometer":null,"unknown_45":6749910705658546176}} 
[2026-07-01 01:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":120457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:20:34] local.INFO: GPS data processed {"connection_id":120457,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:20:34] local.INFO: Acknowledgment sent {"connection_id":120457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:20:52] local.INFO: TCP Data received {"connection_id":118714,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 01:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118714,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 01:20:52] local.INFO: Processing buffer {"connection_id":118714,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 01:20:52] local.INFO: IMEI packet received {"connection_id":118714,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 01:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":118714,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:21:05] local.INFO: TCP Data received {"connection_id":120457,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a14f950012d5cb6800635fb88000701482b..."} 
[2026-07-01 01:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a14f950012d5cb6800635fb88000701482b..."} 
[2026-07-01 01:21:05] local.INFO: Processing buffer {"connection_id":120457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a14f950012d5cb6800635fb88000701482b..."} 
[2026-07-01 01:21:05] local.INFO: Packet analysis {"connection_id":120457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a14"} 
[2026-07-01 01:21:05] local.INFO: Extracted packet for processing {"connection_id":120457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a14"} 
[2026-07-01 01:21:05] local.INFO: GPS Element Parsed {"raw_longitude":761050752,"raw_latitude":104201096,"longitude_deg":76.1050752,"latitude_deg":10.4201096,"altitude":7,"angle":328,"satellites":43,"speed":47,"hex_longitude":"2d5cb680","hex_latitude":"0635fb88","is_valid_coordinates":true} 
[2026-07-01 01:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409344512001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332353331097763840,"note":"Value kept but may cause issues"} 
[2026-07-01 01:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6686156623458367488,"note":"Value kept but may cause issues"} 
[2026-07-01 01:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782849010000,"timestamp_ms":1782849010000,"timestamp_seconds":1782849010,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a14f950"} 
[2026-07-01 01:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-01 01:21:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:21:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":120457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":120457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":120457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409344512001,"66":27267,"175":206,"78":38656,"24":47,"16":332353331097763840,"45":6686156623458367488},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,78,24,16,45]} 
[2026-07-01 01:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409344512001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:21:05] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-07-01 01:21:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-01 01:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332353331097763840,"km_value":332353331097763.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6686156623458367488,"description":"Unknown IO ID 45"} 
[2026-07-01 01:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409344512001,"power":27267,"unknown_175":206,"unknown_78":38656,"ignition":47,"odometer":null,"unknown_45":6686156623458367488}} 
[2026-07-01 01:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":120457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:21:05] local.INFO: GPS data processed {"connection_id":120457,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:21:05] local.INFO: Acknowledgment sent {"connection_id":120457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:21:22] local.INFO: TCP Data received {"connection_id":118715,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 01:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118715,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 01:21:22] local.INFO: Processing buffer {"connection_id":118715,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 01:21:22] local.INFO: IMEI packet received {"connection_id":118715,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 01:21:22] local.INFO: IMEI acknowledgment sent {"connection_id":118715,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:21:27] local.INFO: TCP Data received {"connection_id":118716,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:21:27] local.INFO: Processing buffer {"connection_id":118716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:21:27] local.INFO: IMEI packet received {"connection_id":118716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 01:21:27] local.INFO: IMEI acknowledgment sent {"connection_id":118716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:21:28] local.INFO: TCP Data received {"connection_id":118716,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:21:28] local.INFO: Processing buffer {"connection_id":118716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:21:28] local.INFO: IMEI packet received {"connection_id":118716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":118716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:21:29] local.INFO: TCP Data received {"connection_id":118716,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a151890012d5ca38006361ba00008014c2a..."} 
[2026-07-01 01:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a151890012d5ca38006361ba00008014c2a..."} 
[2026-07-01 01:21:29] local.INFO: Processing buffer {"connection_id":118716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a151890012d5ca38006361ba00008014c2a..."} 
[2026-07-01 01:21:29] local.INFO: Packet analysis {"connection_id":118716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a15"} 
[2026-07-01 01:21:29] local.INFO: Extracted packet for processing {"connection_id":118716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a15"} 
[2026-07-01 01:21:29] local.INFO: GPS Element Parsed {"raw_longitude":761045888,"raw_latitude":104209312,"longitude_deg":76.1045888,"latitude_deg":10.4209312,"altitude":8,"angle":332,"satellites":42,"speed":46,"hex_longitude":"2d5ca380","hex_latitude":"06361ba0","is_valid_coordinates":true} 
[2026-07-01 01: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-01 01:21:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409346560001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:21:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332353790659264512,"note":"Value kept but may cause issues"} 
[2026-07-01 01:21:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6680667861414545408,"note":"Value kept but may cause issues"} 
[2026-07-01 01:21:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:21:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782849018000,"timestamp_ms":1782849018000,"timestamp_seconds":1782849018,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a151890"} 
[2026-07-01 01: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-01 01:21:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-01 01:21:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01: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-01 01: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-01 01:21:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:21:29] local.INFO: Teltonika packet parsed successfully {"connection_id":118716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:21:29] local.INFO: Passing IMEI to GPS processor {"connection_id":118716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:21:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":118716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:21:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:21:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:21:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:21:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409346560001,"66":27397,"175":206,"78":38656,"24":46,"16":332353790659264512,"45":6680667861414545408},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,78,24,16,45]} 
[2026-07-01 01:21:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:21:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:21:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409346560001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:21:29] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-07-01 01:21:29] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-01 01:21:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332353790659264512,"km_value":332353790659264.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:21:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":6680667861414545408,"description":"Unknown IO ID 45"} 
[2026-07-01 01:21:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409346560001,"power":27397,"unknown_175":206,"unknown_78":38656,"ignition":46,"odometer":null,"unknown_45":6680667861414545408}} 
[2026-07-01 01:21:29] local.INFO: DEBUG: GPS processor result {"connection_id":118716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:21:29] local.INFO: GPS data processed {"connection_id":118716,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:21:29] local.INFO: Acknowledgment sent {"connection_id":118716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:21:33] local.INFO: TCP Data received {"connection_id":118716,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a1537d0012d5c928006363c800009014c2d..."} 
[2026-07-01 01:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a1537d0012d5c928006363c800009014c2d..."} 
[2026-07-01 01:21:33] local.INFO: Processing buffer {"connection_id":118716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a1537d0012d5c928006363c800009014c2d..."} 
[2026-07-01 01:21:33] local.INFO: Packet analysis {"connection_id":118716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a15"} 
[2026-07-01 01:21:33] local.INFO: Extracted packet for processing {"connection_id":118716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a15"} 
[2026-07-01 01:21:33] local.INFO: GPS Element Parsed {"raw_longitude":761041536,"raw_latitude":104217728,"longitude_deg":76.1041536,"latitude_deg":10.4217728,"altitude":9,"angle":332,"satellites":45,"speed":47,"hex_longitude":"2d5c9280","hex_latitude":"06363c80","is_valid_coordinates":true} 
[2026-07-01 01:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409348608001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332354245925797888,"note":"Value kept but may cause issues"} 
[2026-07-01 01:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6675319836859146240,"note":"Value kept but may cause issues"} 
[2026-07-01 01:21:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782849026000,"timestamp_ms":1782849026000,"timestamp_seconds":1782849026,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a1537d0"} 
[2026-07-01 01:21:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:21:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-01 01:21:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:21:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:21:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":118716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":118716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":118716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:21:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409348608001,"66":27365,"175":206,"78":38656,"24":47,"16":332354245925797888,"45":6675319836859146240},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,78,24,16,45]} 
[2026-07-01 01:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409348608001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:21:33] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-07-01 01:21:33] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-01 01:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332354245925797888,"km_value":332354245925797.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6675319836859146240,"description":"Unknown IO ID 45"} 
[2026-07-01 01:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409348608001,"power":27365,"unknown_175":206,"unknown_78":38656,"ignition":47,"odometer":null,"unknown_45":6675319836859146240}} 
[2026-07-01 01:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":118716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:21:33] local.INFO: GPS data processed {"connection_id":118716,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:21:33] local.INFO: Acknowledgment sent {"connection_id":118716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:22:05] local.INFO: TCP Data received {"connection_id":118716,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a155710012d5c820006365e300009014c2c..."} 
[2026-07-01 01:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a155710012d5c820006365e300009014c2c..."} 
[2026-07-01 01:22:05] local.INFO: Processing buffer {"connection_id":118716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a155710012d5c820006365e300009014c2c..."} 
[2026-07-01 01:22:05] local.INFO: Packet analysis {"connection_id":118716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a15"} 
[2026-07-01 01:22:05] local.INFO: Extracted packet for processing {"connection_id":118716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a15"} 
[2026-07-01 01:22:05] local.INFO: GPS Element Parsed {"raw_longitude":761037312,"raw_latitude":104226352,"longitude_deg":76.1037312,"latitude_deg":10.4226352,"altitude":9,"angle":332,"satellites":44,"speed":47,"hex_longitude":"2d5c8200","hex_latitude":"06365e30","is_valid_coordinates":true} 
[2026-07-01 01:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409350656001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332354709782265856,"note":"Value kept but may cause issues"} 
[2026-07-01 01:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6670534762257219584,"note":"Value kept but may cause issues"} 
[2026-07-01 01:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782849034000,"timestamp_ms":1782849034000,"timestamp_seconds":1782849034,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a155710"} 
[2026-07-01 01:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 01:22:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:22:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":118716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":118716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":118716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409350656001,"66":27300,"175":206,"78":38656,"24":47,"16":332354709782265856,"45":6670534762257219584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,78,24,16,45]} 
[2026-07-01 01:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409350656001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:22:05] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-07-01 01:22:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-01 01:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332354709782265856,"km_value":332354709782265.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6670534762257219584,"description":"Unknown IO ID 45"} 
[2026-07-01 01:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409350656001,"power":27300,"unknown_175":206,"unknown_78":38656,"ignition":47,"odometer":null,"unknown_45":6670534762257219584}} 
[2026-07-01 01:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":118716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:22:05] local.INFO: GPS data processed {"connection_id":118716,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:22:05] local.INFO: Acknowledgment sent {"connection_id":118716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:22:22] local.INFO: TCP Data received {"connection_id":120458,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:22:22] local.INFO: Processing buffer {"connection_id":120458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:22:22] local.INFO: IMEI packet received {"connection_id":120458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 01:22:22] local.INFO: IMEI acknowledgment sent {"connection_id":120458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:22:26] local.INFO: TCP Data received {"connection_id":120458,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:22:26] local.INFO: Processing buffer {"connection_id":120458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:22:26] local.INFO: IMEI packet received {"connection_id":120458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":120458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:22:28] local.INFO: TCP Data received {"connection_id":120458,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a157650012d5c718006367f900009014e2c..."} 
[2026-07-01 01:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a157650012d5c718006367f900009014e2c..."} 
[2026-07-01 01:22:28] local.INFO: Processing buffer {"connection_id":120458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a157650012d5c718006367f900009014e2c..."} 
[2026-07-01 01:22:28] local.INFO: Packet analysis {"connection_id":120458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a15"} 
[2026-07-01 01:22:28] local.INFO: Extracted packet for processing {"connection_id":120458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a15"} 
[2026-07-01 01:22:28] local.INFO: GPS Element Parsed {"raw_longitude":761033088,"raw_latitude":104234896,"longitude_deg":76.1033088,"latitude_deg":10.4234896,"altitude":9,"angle":334,"satellites":44,"speed":47,"hex_longitude":"2d5c7180","hex_latitude":"06367f90","is_valid_coordinates":true} 
[2026-07-01 01: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-01 01:22:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409352704001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:22:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332355173638733824,"note":"Value kept but may cause issues"} 
[2026-07-01 01:22:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6665890425143701504,"note":"Value kept but may cause issues"} 
[2026-07-01 01:22:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:22:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782849042000,"timestamp_ms":1782849042000,"timestamp_seconds":1782849042,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a157650"} 
[2026-07-01 01: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-01 01:22:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-01 01:22:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01: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-01 01: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-01 01:22:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:22:28] local.INFO: Teltonika packet parsed successfully {"connection_id":120458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:22:28] local.INFO: Passing IMEI to GPS processor {"connection_id":120458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:22:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":120458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:22:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:22:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:22:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:22:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409352704001,"66":27376,"175":206,"78":38656,"24":47,"16":332355173638733824,"45":6665890425143701504},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,78,24,16,45]} 
[2026-07-01 01:22:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:22:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:22:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409352704001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:22:28] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-07-01 01:22:28] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-01 01:22:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332355173638733824,"km_value":332355173638733.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:22:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":6665890425143701504,"description":"Unknown IO ID 45"} 
[2026-07-01 01:22:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409352704001,"power":27376,"unknown_175":206,"unknown_78":38656,"ignition":47,"odometer":null,"unknown_45":6665890425143701504}} 
[2026-07-01 01:22:28] local.INFO: DEBUG: GPS processor result {"connection_id":120458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:22:28] local.INFO: GPS data processed {"connection_id":120458,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:22:28] local.INFO: Acknowledgment sent {"connection_id":120458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:23:00] local.INFO: TCP Data received {"connection_id":120458,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a159590012d5c61400636a0380009014d2e..."} 
[2026-07-01 01:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a159590012d5c61400636a0380009014d2e..."} 
[2026-07-01 01:23:00] local.INFO: Processing buffer {"connection_id":120458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a159590012d5c61400636a0380009014d2e..."} 
[2026-07-01 01:23:00] local.INFO: Packet analysis {"connection_id":120458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a15"} 
[2026-07-01 01:23:00] local.INFO: Extracted packet for processing {"connection_id":120458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a15"} 
[2026-07-01 01:23:00] local.INFO: GPS Element Parsed {"raw_longitude":761028928,"raw_latitude":104243256,"longitude_deg":76.1028928,"latitude_deg":10.4243256,"altitude":9,"angle":333,"satellites":46,"speed":46,"hex_longitude":"2d5c6140","hex_latitude":"0636a038","is_valid_coordinates":true} 
[2026-07-01 01:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:23:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409354752001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:23:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332355624610299904,"note":"Value kept but may cause issues"} 
[2026-07-01 01:23:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6661246088030162944,"note":"Value kept but may cause issues"} 
[2026-07-01 01:23:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:23:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782849050000,"timestamp_ms":1782849050000,"timestamp_seconds":1782849050,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a159590"} 
[2026-07-01 01: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-01 01:23:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 01: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-01 01:23:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01: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-01 01: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-01 01:23:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:23:00] local.INFO: Teltonika packet parsed successfully {"connection_id":120458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:23:00] local.INFO: Passing IMEI to GPS processor {"connection_id":120458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:23:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":120458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:23:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:23:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:23:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:23:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409354752001,"66":27397,"175":206,"78":38656,"24":46,"16":332355624610299904,"45":6661246088030162944},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,78,24,16,45]} 
[2026-07-01 01:23:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:23:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:23:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409354752001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:23:00] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-07-01 01:23:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-01 01:23:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332355624610299904,"km_value":332355624610299.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:23:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6661246088030162944,"description":"Unknown IO ID 45"} 
[2026-07-01 01:23:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409354752001,"power":27397,"unknown_175":206,"unknown_78":38656,"ignition":46,"odometer":null,"unknown_45":6661246088030162944}} 
[2026-07-01 01:23:00] local.INFO: DEBUG: GPS processor result {"connection_id":120458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:23:00] local.INFO: GPS data processed {"connection_id":120458,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:23:00] local.INFO: Acknowledgment sent {"connection_id":120458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:23:22] local.INFO: TCP Data received {"connection_id":118717,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:23:22] local.INFO: Processing buffer {"connection_id":118717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:23:22] local.INFO: IMEI packet received {"connection_id":118717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 01:23:22] local.INFO: IMEI acknowledgment sent {"connection_id":118717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:23:23] local.INFO: TCP Data received {"connection_id":118717,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:23:23] local.INFO: Processing buffer {"connection_id":118717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:23:23] local.INFO: IMEI packet received {"connection_id":118717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:23:23] local.INFO: IMEI acknowledgment sent {"connection_id":118717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:23:27] local.INFO: TCP Data received {"connection_id":118717,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:23:27] local.INFO: Processing buffer {"connection_id":118717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:23:27] local.INFO: IMEI packet received {"connection_id":118717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":118717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:23:28] local.INFO: TCP Data received {"connection_id":118717,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a170c90012d5bc5800637e4680009014f2d..."} 
[2026-07-01 01:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a170c90012d5bc5800637e4680009014f2d..."} 
[2026-07-01 01:23:28] local.INFO: Processing buffer {"connection_id":118717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a170c90012d5bc5800637e4680009014f2d..."} 
[2026-07-01 01:23:28] local.INFO: Packet analysis {"connection_id":118717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a17"} 
[2026-07-01 01:23:28] local.INFO: Extracted packet for processing {"connection_id":118717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a17"} 
[2026-07-01 01:23:28] local.INFO: GPS Element Parsed {"raw_longitude":760989056,"raw_latitude":104326248,"longitude_deg":76.0989056,"latitude_deg":10.4326248,"altitude":9,"angle":335,"satellites":45,"speed":38,"hex_longitude":"2d5bc580","hex_latitude":"0637e468","is_valid_coordinates":true} 
[2026-07-01 01:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:23:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409378816001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:23:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332360087081320448,"note":"Value kept but may cause issues"} 
[2026-07-01 01:23:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6617195254196060160,"note":"Value kept but may cause issues"} 
[2026-07-01 01:23:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:23:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782849146000,"timestamp_ms":1782849146000,"timestamp_seconds":1782849146,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a170c90"} 
[2026-07-01 01:23:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:23:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-01 01:23:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:23:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:23:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:23:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:23:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:23:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:23:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:23:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:23:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:23:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:23:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409378816001,"66":27343,"84":206,"78":38656,"24":38,"16":332360087081320448,"45":6617195254196060160},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,78,24,16,45]} 
[2026-07-01 01:23:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:23:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:23:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409378816001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:23:28] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-07-01 01:23:28] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-01 01:23:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332360087081320448,"km_value":332360087081320.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:23:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":6617195254196060160,"description":"Unknown IO ID 45"} 
[2026-07-01 01:23:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409378816001,"power":27343,"unknown_84":206,"unknown_78":38656,"ignition":38,"odometer":null,"unknown_45":6617195254196060160}} 
[2026-07-01 01:23:28] local.INFO: DEBUG: GPS processor result {"connection_id":118717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:23:28] local.INFO: GPS data processed {"connection_id":118717,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:23:28] local.INFO: Acknowledgment sent {"connection_id":118717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:23:59] local.INFO: TCP Data received {"connection_id":118717,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a172fb8012d5bb6c0063804a0000901502d..."} 
[2026-07-01 01:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a172fb8012d5bb6c0063804a0000901502d..."} 
[2026-07-01 01:23:59] local.INFO: Processing buffer {"connection_id":118717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a172fb8012d5bb6c0063804a0000901502d..."} 
[2026-07-01 01:23:59] local.INFO: Packet analysis {"connection_id":118717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a17"} 
[2026-07-01 01:23:59] local.INFO: Extracted packet for processing {"connection_id":118717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a17"} 
[2026-07-01 01:23:59] local.INFO: GPS Element Parsed {"raw_longitude":760985280,"raw_latitude":104334496,"longitude_deg":76.098528,"latitude_deg":10.4334496,"altitude":9,"angle":336,"satellites":45,"speed":40,"hex_longitude":"2d5bb6c0","hex_latitude":"063804a0","is_valid_coordinates":true} 
[2026-07-01 01:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409381376001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:23:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332360525167984640,"note":"Value kept but may cause issues"} 
[2026-07-01 01:23:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6612832392059316224,"note":"Value kept but may cause issues"} 
[2026-07-01 01:23:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:23:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782849155000,"timestamp_ms":1782849155000,"timestamp_seconds":1782849155,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a172fb8"} 
[2026-07-01 01:23:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:23:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-01 01:23:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:23:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:23:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:23:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:23:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:23:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:23:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:23:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:23:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:23:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:23:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409381376001,"66":27343,"84":206,"78":38656,"24":40,"16":332360525167984640,"45":6612832392059316224},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,78,24,16,45]} 
[2026-07-01 01:23:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:23:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:23:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409381376001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:23:59] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-07-01 01:23:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-01 01:23:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332360525167984640,"km_value":332360525167984.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:23:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":6612832392059316224,"description":"Unknown IO ID 45"} 
[2026-07-01 01:23:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409381376001,"power":27343,"unknown_84":206,"unknown_78":38656,"ignition":40,"odometer":null,"unknown_45":6612832392059316224}} 
[2026-07-01 01:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":118717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:23:59] local.INFO: GPS data processed {"connection_id":118717,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:23:59] local.INFO: Acknowledgment sent {"connection_id":118717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:24:22] local.INFO: TCP Data received {"connection_id":118604,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:24:22] local.INFO: Processing buffer {"connection_id":118604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:24:22] local.INFO: IMEI packet received {"connection_id":118604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 01:24:22] local.INFO: IMEI acknowledgment sent {"connection_id":118604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:24:24] local.INFO: TCP Data received {"connection_id":118604,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:24:24] local.INFO: Processing buffer {"connection_id":118604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:24:24] local.INFO: IMEI packet received {"connection_id":118604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:24:24] local.INFO: IMEI acknowledgment sent {"connection_id":118604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:24:25] local.INFO: TCP Data received {"connection_id":118604,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a1752e0012d5ba840063825b8000a01532d..."} 
[2026-07-01 01:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a1752e0012d5ba840063825b8000a01532d..."} 
[2026-07-01 01:24:25] local.INFO: Processing buffer {"connection_id":118604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a1752e0012d5ba840063825b8000a01532d..."} 
[2026-07-01 01:24:25] local.INFO: Packet analysis {"connection_id":118604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a17"} 
[2026-07-01 01:24:25] local.INFO: Extracted packet for processing {"connection_id":118604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a17"} 
[2026-07-01 01:24:25] local.INFO: GPS Element Parsed {"raw_longitude":760981568,"raw_latitude":104342968,"longitude_deg":76.0981568,"latitude_deg":10.4342968,"altitude":10,"angle":339,"satellites":45,"speed":40,"hex_longitude":"2d5ba840","hex_latitude":"063825b8","is_valid_coordinates":true} 
[2026-07-01 01:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409383680001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332360971844583424,"note":"Value kept but may cause issues"} 
[2026-07-01 01:24:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6608680636154945536,"note":"Value kept but may cause issues"} 
[2026-07-01 01:24:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782849164000,"timestamp_ms":1782849164000,"timestamp_seconds":1782849164,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a1752e0"} 
[2026-07-01 01:24:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:24:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 01:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-01 01:24:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:24:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:24:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":118604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":118604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":118604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:24:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409383680001,"66":26484,"84":206,"78":38656,"24":40,"16":332360971844583424,"45":6608680636154945536},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,78,24,16,45]} 
[2026-07-01 01:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409383680001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:24:25] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-07-01 01:24:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-01 01:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332360971844583424,"km_value":332360971844583.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:24:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":6608680636154945536,"description":"Unknown IO ID 45"} 
[2026-07-01 01:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409383680001,"power":26484,"unknown_84":206,"unknown_78":38656,"ignition":40,"odometer":null,"unknown_45":6608680636154945536}} 
[2026-07-01 01:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":118604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:24:25] local.INFO: GPS data processed {"connection_id":118604,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:24:25] local.INFO: Acknowledgment sent {"connection_id":118604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:24:57] local.INFO: TCP Data received {"connection_id":118604,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a1779f0012d5b9a0006384868000a01502e..."} 
[2026-07-01 01:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a1779f0012d5b9a0006384868000a01502e..."} 
[2026-07-01 01:24:57] local.INFO: Processing buffer {"connection_id":118604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a1779f0012d5b9a0006384868000a01502e..."} 
[2026-07-01 01:24:57] local.INFO: Packet analysis {"connection_id":118604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a17"} 
[2026-07-01 01:24:57] local.INFO: Extracted packet for processing {"connection_id":118604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a17"} 
[2026-07-01 01:24:57] local.INFO: GPS Element Parsed {"raw_longitude":760977920,"raw_latitude":104351848,"longitude_deg":76.097792,"latitude_deg":10.4351848,"altitude":10,"angle":336,"satellites":46,"speed":36,"hex_longitude":"2d5b9a00","hex_latitude":"06384868","is_valid_coordinates":true} 
[2026-07-01 01:24:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:24:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409385984001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:24:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332361435701051392,"note":"Value kept but may cause issues"} 
[2026-07-01 01:24:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6604599248994809856,"note":"Value kept but may cause issues"} 
[2026-07-01 01:24:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:24:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782849174000,"timestamp_ms":1782849174000,"timestamp_seconds":1782849174,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a1779f0"} 
[2026-07-01 01:24:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:24:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:24:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-01 01:24:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:24:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:24:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:24:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:24:57] local.INFO: Teltonika packet parsed successfully {"connection_id":118604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:24:57] local.INFO: Passing IMEI to GPS processor {"connection_id":118604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:24:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":118604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:24:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:24:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:24:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:24:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409385984001,"66":27300,"84":206,"78":38656,"24":36,"16":332361435701051392,"45":6604599248994809856},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,78,24,16,45]} 
[2026-07-01 01:24:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:24:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:24:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409385984001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:24:57] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-07-01 01:24:57] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-01 01:24:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332361435701051392,"km_value":332361435701051.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:24:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":6604599248994809856,"description":"Unknown IO ID 45"} 
[2026-07-01 01:24:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409385984001,"power":27300,"unknown_84":206,"unknown_78":38656,"ignition":36,"odometer":null,"unknown_45":6604599248994809856}} 
[2026-07-01 01:24:57] local.INFO: DEBUG: GPS processor result {"connection_id":118604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:24:57] local.INFO: GPS data processed {"connection_id":118604,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:24:57] local.INFO: Acknowledgment sent {"connection_id":118604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:25:22] local.INFO: TCP Data received {"connection_id":119363,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:25:22] local.INFO: Processing buffer {"connection_id":119363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:25:22] local.INFO: IMEI packet received {"connection_id":119363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 01:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":119363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:25:29] local.INFO: TCP Data received {"connection_id":119363,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:25:29] local.INFO: Processing buffer {"connection_id":119363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:25:29] local.INFO: IMEI packet received {"connection_id":119363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":119363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:25:36] local.INFO: TCP Data received {"connection_id":119363,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a17a4e8012d5b89c006386a38000901522d..."} 
[2026-07-01 01:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a17a4e8012d5b89c006386a38000901522d..."} 
[2026-07-01 01:25:36] local.INFO: Processing buffer {"connection_id":119363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a17a4e8012d5b89c006386a38000901522d..."} 
[2026-07-01 01:25:36] local.INFO: Packet analysis {"connection_id":119363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a17"} 
[2026-07-01 01:25:36] local.INFO: Extracted packet for processing {"connection_id":119363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a17"} 
[2026-07-01 01:25:36] local.INFO: GPS Element Parsed {"raw_longitude":760973760,"raw_latitude":104360504,"longitude_deg":76.097376,"latitude_deg":10.4360504,"altitude":9,"angle":338,"satellites":45,"speed":36,"hex_longitude":"2d5b89c0","hex_latitude":"06386a38","is_valid_coordinates":true} 
[2026-07-01 01:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409388544001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332361903852486656,"note":"Value kept but may cause issues"} 
[2026-07-01 01:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6600588230578956288,"note":"Value kept but may cause issues"} 
[2026-07-01 01:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782849185000,"timestamp_ms":1782849185000,"timestamp_seconds":1782849185,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a17a4e8"} 
[2026-07-01 01:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-01 01:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":119363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":119363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":119363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409388544001,"66":27365,"84":206,"78":38656,"24":36,"16":332361903852486656,"45":6600588230578956288},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,78,24,16,45]} 
[2026-07-01 01:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409388544001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:25:36] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-07-01 01:25:36] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-01 01:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332361903852486656,"km_value":332361903852486.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":6600588230578956288,"description":"Unknown IO ID 45"} 
[2026-07-01 01:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409388544001,"power":27365,"unknown_84":206,"unknown_78":38656,"ignition":36,"odometer":null,"unknown_45":6600588230578956288}} 
[2026-07-01 01:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":119363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:25:36] local.INFO: GPS data processed {"connection_id":119363,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:25:36] local.INFO: Acknowledgment sent {"connection_id":119363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:25:38] local.INFO: TCP Data received {"connection_id":119363,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a17cbf8012d5b7ac006388bd00009014c2d..."} 
[2026-07-01 01:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a17cbf8012d5b7ac006388bd00009014c2d..."} 
[2026-07-01 01:25:38] local.INFO: Processing buffer {"connection_id":119363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a17cbf8012d5b7ac006388bd00009014c2d..."} 
[2026-07-01 01:25:38] local.INFO: Packet analysis {"connection_id":119363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a17"} 
[2026-07-01 01:25:38] local.INFO: Extracted packet for processing {"connection_id":119363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a17"} 
[2026-07-01 01:25:38] local.INFO: GPS Element Parsed {"raw_longitude":760969920,"raw_latitude":104369104,"longitude_deg":76.096992,"latitude_deg":10.4369104,"altitude":9,"angle":332,"satellites":45,"speed":36,"hex_longitude":"2d5b7ac0","hex_latitude":"06388bd0","is_valid_coordinates":true} 
[2026-07-01 01:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409391360001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332362359119020032,"note":"Value kept but may cause issues"} 
[2026-07-01 01:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6596014262209624064,"note":"Value kept but may cause issues"} 
[2026-07-01 01:25:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782849195000,"timestamp_ms":1782849195000,"timestamp_seconds":1782849195,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a17cbf8"} 
[2026-07-01 01:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 01:25:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":119363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":119363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":119363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:25:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409391360001,"66":27376,"84":206,"78":38656,"24":36,"16":332362359119020032,"45":6596014262209624064},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,78,24,16,45]} 
[2026-07-01 01:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409391360001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:25:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-07-01 01:25:38] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-01 01:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332362359119020032,"km_value":332362359119020.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6596014262209624064,"description":"Unknown IO ID 45"} 
[2026-07-01 01:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409391360001,"power":27376,"unknown_84":206,"unknown_78":38656,"ignition":36,"odometer":null,"unknown_45":6596014262209624064}} 
[2026-07-01 01:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":119363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:25:38] local.INFO: GPS data processed {"connection_id":119363,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:25:38] local.INFO: Acknowledgment sent {"connection_id":119363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:26:47] local.INFO: TCP Data received {"connection_id":118606,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:26:47] local.INFO: Processing buffer {"connection_id":118606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:26:47] local.INFO: IMEI packet received {"connection_id":118606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 01:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":118606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:26:52] local.INFO: TCP Data received {"connection_id":118605,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 01:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118605,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 01:26:52] local.INFO: Processing buffer {"connection_id":118605,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 01:26:52] local.INFO: IMEI packet received {"connection_id":118605,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 01:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":118605,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:26:55] local.INFO: TCP Data received {"connection_id":118606,"ip":"42.106.6.17","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 01:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118606,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 01:26:55] local.INFO: Processing buffer {"connection_id":118606,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 01:26:55] local.INFO: IMEI packet received {"connection_id":118606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":118606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:27:17] local.INFO: TCP Data received {"connection_id":119364,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 01:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119364,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 01:27:17] local.INFO: Processing buffer {"connection_id":119364,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 01:27:17] local.INFO: IMEI packet received {"connection_id":119364,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 01:27:17] local.INFO: IMEI acknowledgment sent {"connection_id":119364,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:31:47] local.INFO: TCP Data received {"connection_id":120463,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:31:47] local.INFO: Processing buffer {"connection_id":120463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:31:47] local.INFO: IMEI packet received {"connection_id":120463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 01:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":120463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:31:49] local.INFO: TCP Data received {"connection_id":120463,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a1e1558012d587e00063e6d880008014929..."} 
[2026-07-01 01:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a1e1558012d587e00063e6d880008014929..."} 
[2026-07-01 01:31:49] local.INFO: Processing buffer {"connection_id":120463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a1e1558012d587e00063e6d880008014929..."} 
[2026-07-01 01:31:49] local.INFO: Packet analysis {"connection_id":120463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a1e"} 
[2026-07-01 01:31:49] local.INFO: Extracted packet for processing {"connection_id":120463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a1e"} 
[2026-07-01 01:31:49] local.INFO: GPS Element Parsed {"raw_longitude":760774144,"raw_latitude":104754568,"longitude_deg":76.0774144,"latitude_deg":10.4754568,"altitude":8,"angle":329,"satellites":41,"speed":43,"hex_longitude":"2d587e00","hex_latitude":"063e6d88","is_valid_coordinates":true} 
[2026-07-01 01:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:31:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409497088001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332383451703410688,"note":"Value kept but may cause issues"} 
[2026-07-01 01:31:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6382163648752396288,"note":"Value kept but may cause issues"} 
[2026-07-01 01:31:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:31:49] local.INFO: AVL Record Parsed {"raw_timestamp":1782849607000,"timestamp_ms":1782849607000,"timestamp_seconds":1782849607,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a1e1558"} 
[2026-07-01 01:31:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01: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-01 01:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-01 01:31:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:31:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:31:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":120463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":120463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":120463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:31: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-01 01:31:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:31:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:31:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409497088001,"66":27604,"103":206,"78":38656,"24":43,"16":332383451703410688,"45":6382163648752396288},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,78,24,16,45]} 
[2026-07-01 01:31:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:31:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:31:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409497088001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:31:49] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-01 01:31:49] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-01 01:31:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332383451703410688,"km_value":332383451703410.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:31:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6382163648752396288,"description":"Unknown IO ID 45"} 
[2026-07-01 01:31:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409497088001,"power":27604,"unknown_103":206,"unknown_78":38656,"ignition":43,"odometer":null,"unknown_45":6382163648752396288}} 
[2026-07-01 01:31:49] local.INFO: DEBUG: GPS processor result {"connection_id":120463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:31:49] local.INFO: GPS data processed {"connection_id":120463,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:31:49] local.INFO: Acknowledgment sent {"connection_id":120463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:32:21] local.INFO: TCP Data received {"connection_id":118608,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:32:21] local.INFO: Processing buffer {"connection_id":118608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:32:21] local.INFO: IMEI packet received {"connection_id":118608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 01:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":118608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:32:23] local.INFO: TCP Data received {"connection_id":118608,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:32:23] local.INFO: Processing buffer {"connection_id":118608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:32:23] local.INFO: IMEI packet received {"connection_id":118608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":118608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:32:27] local.INFO: TCP Data received {"connection_id":118608,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:32:27] local.INFO: Processing buffer {"connection_id":118608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:32:27] local.INFO: IMEI packet received {"connection_id":118608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":118608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:32:30] local.INFO: TCP Data received {"connection_id":118608,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a1e3498012d586c40063e8bf0000a014a29..."} 
[2026-07-01 01:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a1e3498012d586c40063e8bf0000a014a29..."} 
[2026-07-01 01:32:30] local.INFO: Processing buffer {"connection_id":118608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a1e3498012d586c40063e8bf0000a014a29..."} 
[2026-07-01 01:32:30] local.INFO: Packet analysis {"connection_id":118608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a1e"} 
[2026-07-01 01:32:30] local.INFO: Extracted packet for processing {"connection_id":118608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a1e"} 
[2026-07-01 01:32:30] local.INFO: GPS Element Parsed {"raw_longitude":760769600,"raw_latitude":104762352,"longitude_deg":76.07696,"latitude_deg":10.4762352,"altitude":10,"angle":330,"satellites":41,"speed":43,"hex_longitude":"2d586c40","hex_latitude":"063e8bf0","is_valid_coordinates":true} 
[2026-07-01 01: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-01 01:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409499392001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332383889790074880,"note":"Value kept but may cause issues"} 
[2026-07-01 01:32:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6376534149220370432,"note":"Value kept but may cause issues"} 
[2026-07-01 01:32:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782849615000,"timestamp_ms":1782849615000,"timestamp_seconds":1782849615,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a1e3498"} 
[2026-07-01 01: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-01 01:32:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-01 01:32:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01: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-01 01: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-01 01:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":118608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":118608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":118608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:32:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409499392001,"66":27321,"103":206,"78":38656,"24":43,"16":332383889790074880,"45":6376534149220370432},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,78,24,16,45]} 
[2026-07-01 01:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409499392001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:32:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-01 01:32:30] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-01 01:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332383889790074880,"km_value":332383889790074.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:32:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":6376534149220370432,"description":"Unknown IO ID 45"} 
[2026-07-01 01:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409499392001,"power":27321,"unknown_103":206,"unknown_78":38656,"ignition":43,"odometer":null,"unknown_45":6376534149220370432}} 
[2026-07-01 01:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":118608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:32:30] local.INFO: GPS data processed {"connection_id":118608,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:32:30] local.INFO: Acknowledgment sent {"connection_id":118608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:32:32] local.INFO: TCP Data received {"connection_id":118718,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 01:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118718,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 01:32:32] local.INFO: Processing buffer {"connection_id":118718,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 01:32:32] local.INFO: IMEI packet received {"connection_id":118718,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 01:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":118718,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:32:36] local.INFO: TCP Data received {"connection_id":118608,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a1e53d8012d585b40063eac180009014f2c..."} 
[2026-07-01 01:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a1e53d8012d585b40063eac180009014f2c..."} 
[2026-07-01 01:32:36] local.INFO: Processing buffer {"connection_id":118608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a1e53d8012d585b40063eac180009014f2c..."} 
[2026-07-01 01:32:36] local.INFO: Packet analysis {"connection_id":118608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a1e"} 
[2026-07-01 01:32:36] local.INFO: Extracted packet for processing {"connection_id":118608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a1e"} 
[2026-07-01 01:32:36] local.INFO: GPS Element Parsed {"raw_longitude":760765248,"raw_latitude":104770584,"longitude_deg":76.0765248,"latitude_deg":10.4770584,"altitude":9,"angle":335,"satellites":44,"speed":45,"hex_longitude":"2d585b40","hex_latitude":"063eac18","is_valid_coordinates":true} 
[2026-07-01 01:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409501440001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332384336466673664,"note":"Value kept but may cause issues"} 
[2026-07-01 01:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6371537968385748992,"note":"Value kept but may cause issues"} 
[2026-07-01 01:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782849623000,"timestamp_ms":1782849623000,"timestamp_seconds":1782849623,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a1e53d8"} 
[2026-07-01 01:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-01 01:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":118608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":118608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":118608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409501440001,"66":27484,"103":206,"78":38656,"24":45,"16":332384336466673664,"45":6371537968385748992},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,78,24,16,45]} 
[2026-07-01 01:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409501440001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:32:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-01 01:32:36] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-01 01:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332384336466673664,"km_value":332384336466673.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":6371537968385748992,"description":"Unknown IO ID 45"} 
[2026-07-01 01:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409501440001,"power":27484,"unknown_103":206,"unknown_78":38656,"ignition":45,"odometer":null,"unknown_45":6371537968385748992}} 
[2026-07-01 01:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":118608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:32:36] local.INFO: GPS data processed {"connection_id":118608,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:32:36] local.INFO: Acknowledgment sent {"connection_id":118608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:33:17] local.INFO: TCP Data received {"connection_id":118609,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 01:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118609,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 01:33:17] local.INFO: Processing buffer {"connection_id":118609,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 01:33:17] local.INFO: IMEI packet received {"connection_id":118609,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 01:33:17] local.INFO: IMEI acknowledgment sent {"connection_id":118609,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:33:22] local.INFO: TCP Data received {"connection_id":118719,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:33:22] local.INFO: Processing buffer {"connection_id":118719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:33:22] local.INFO: IMEI packet received {"connection_id":118719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 01:33:22] local.INFO: IMEI acknowledgment sent {"connection_id":118719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:33:27] local.INFO: TCP Data received {"connection_id":118719,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:33:27] local.INFO: Processing buffer {"connection_id":118719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:33:27] local.INFO: IMEI packet received {"connection_id":118719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":118719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:33:28] local.INFO: TCP Data received {"connection_id":118719,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a1fea18012d5775c0064042c0000b014e27..."} 
[2026-07-01 01:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a1fea18012d5775c0064042c0000b014e27..."} 
[2026-07-01 01:33:28] local.INFO: Processing buffer {"connection_id":118719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a1fea18012d5775c0064042c0000b014e27..."} 
[2026-07-01 01:33:28] local.INFO: Packet analysis {"connection_id":118719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a1f"} 
[2026-07-01 01:33:28] local.INFO: Extracted packet for processing {"connection_id":118719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a1f"} 
[2026-07-01 01:33:28] local.INFO: GPS Element Parsed {"raw_longitude":760706496,"raw_latitude":104874688,"longitude_deg":76.0706496,"latitude_deg":10.4874688,"altitude":11,"angle":334,"satellites":39,"speed":47,"hex_longitude":"2d5775c0","hex_latitude":"064042c0","is_valid_coordinates":true} 
[2026-07-01 01:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409528064001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332390130377555968,"note":"Value kept but may cause issues"} 
[2026-07-01 01:33:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6306728355024646144,"note":"Value kept but may cause issues"} 
[2026-07-01 01:33:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782849727000,"timestamp_ms":1782849727000,"timestamp_seconds":1782849727,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a1fea18"} 
[2026-07-01 01:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:33:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-01 01:33:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:33:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:33:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409528064001,"66":27517,"31":206,"78":38656,"24":47,"16":332390130377555968,"45":6306728355024646144},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,78,24,16,45]} 
[2026-07-01 01:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409528064001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:33:28] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-01 01:33:28] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-01 01:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332390130377555968,"km_value":332390130377555.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:33:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":6306728355024646144,"description":"Unknown IO ID 45"} 
[2026-07-01 01:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409528064001,"power":27517,"unknown_31":206,"unknown_78":38656,"ignition":47,"odometer":null,"unknown_45":6306728355024646144}} 
[2026-07-01 01:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":118719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:33:28] local.INFO: GPS data processed {"connection_id":118719,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:33:28] local.INFO: Acknowledgment sent {"connection_id":118719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:33:59] local.INFO: TCP Data received {"connection_id":118719,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a200958012d5763c0064063d0000a014628..."} 
[2026-07-01 01:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a200958012d5763c0064063d0000a014628..."} 
[2026-07-01 01:33:59] local.INFO: Processing buffer {"connection_id":118719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a200958012d5763c0064063d0000a014628..."} 
[2026-07-01 01:33:59] local.INFO: Packet analysis {"connection_id":118719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a20"} 
[2026-07-01 01:33:59] local.INFO: Extracted packet for processing {"connection_id":118719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a20"} 
[2026-07-01 01:33:59] local.INFO: GPS Element Parsed {"raw_longitude":760701888,"raw_latitude":104883152,"longitude_deg":76.0701888,"latitude_deg":10.4883152,"altitude":10,"angle":326,"satellites":40,"speed":46,"hex_longitude":"2d5763c0","hex_latitude":"064063d0","is_valid_coordinates":true} 
[2026-07-01 01: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-01 01:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409530112001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332390594234023936,"note":"Value kept but may cause issues"} 
[2026-07-01 01:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6302154386655330304,"note":"Value kept but may cause issues"} 
[2026-07-01 01:33:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782849735000,"timestamp_ms":1782849735000,"timestamp_seconds":1782849735,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a200958"} 
[2026-07-01 01: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-01 01:33: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-01 01: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-01 01:33:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01: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-01 01: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-01 01:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:33:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409530112001,"66":27593,"31":206,"78":38656,"24":46,"16":332390594234023936,"45":6302154386655330304},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,78,24,16,45]} 
[2026-07-01 01:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409530112001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:33:59] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-01 01:33:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-01 01:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332390594234023936,"km_value":332390594234023.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":6302154386655330304,"description":"Unknown IO ID 45"} 
[2026-07-01 01:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409530112001,"power":27593,"unknown_31":206,"unknown_78":38656,"ignition":46,"odometer":null,"unknown_45":6302154386655330304}} 
[2026-07-01 01:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":118719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:33:59] local.INFO: GPS data processed {"connection_id":118719,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:33:59] local.INFO: Acknowledgment sent {"connection_id":118719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:34:27] local.INFO: TCP Data received {"connection_id":118721,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:34:27] local.INFO: Processing buffer {"connection_id":118721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:34:27] local.INFO: IMEI packet received {"connection_id":118721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 01:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":118721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:34:32] local.INFO: TCP Data received {"connection_id":118721,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:34:32] local.INFO: Processing buffer {"connection_id":118721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:34:32] local.INFO: IMEI packet received {"connection_id":118721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":118721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:34:32] local.INFO: TCP Data received {"connection_id":118721,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a202898012d574f80064082080009014528..."} 
[2026-07-01 01:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a202898012d574f80064082080009014528..."} 
[2026-07-01 01:34:32] local.INFO: Processing buffer {"connection_id":118721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a202898012d574f80064082080009014528..."} 
[2026-07-01 01:34:32] local.INFO: Packet analysis {"connection_id":118721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a20"} 
[2026-07-01 01:34:32] local.INFO: Extracted packet for processing {"connection_id":118721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a20"} 
[2026-07-01 01:34:32] local.INFO: GPS Element Parsed {"raw_longitude":760696704,"raw_latitude":104890888,"longitude_deg":76.0696704,"latitude_deg":10.4890888,"altitude":9,"angle":325,"satellites":40,"speed":45,"hex_longitude":"2d574f80","hex_latitude":"06408208","is_valid_coordinates":true} 
[2026-07-01 01:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409532160001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332391045205590016,"note":"Value kept but may cause issues"} 
[2026-07-01 01:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6297087837076705280,"note":"Value kept but may cause issues"} 
[2026-07-01 01:34:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782849743000,"timestamp_ms":1782849743000,"timestamp_seconds":1782849743,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a202898"} 
[2026-07-01 01:34:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:34:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-01 01:34:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:34:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:34:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":118721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":118721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":118721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:34:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409532160001,"66":27484,"31":206,"78":38656,"24":45,"16":332391045205590016,"45":6297087837076705280},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,78,24,16,45]} 
[2026-07-01 01:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409532160001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:34:32] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-01 01:34:32] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-07-01 01:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332391045205590016,"km_value":332391045205590.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6297087837076705280,"description":"Unknown IO ID 45"} 
[2026-07-01 01:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409532160001,"power":27484,"unknown_31":206,"unknown_78":38656,"ignition":45,"odometer":null,"unknown_45":6297087837076705280}} 
[2026-07-01 01:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":118721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:34:32] local.INFO: GPS data processed {"connection_id":118721,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:34:32] local.INFO: Acknowledgment sent {"connection_id":118721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:34:33] local.INFO: TCP Data received {"connection_id":118721,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a204bc0012d5738400640a0f0000a014028..."} 
[2026-07-01 01:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a204bc0012d5738400640a0f0000a014028..."} 
[2026-07-01 01:34:33] local.INFO: Processing buffer {"connection_id":118721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a204bc0012d5738400640a0f0000a014028..."} 
[2026-07-01 01:34:33] local.INFO: Packet analysis {"connection_id":118721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a20"} 
[2026-07-01 01:34:33] local.INFO: Extracted packet for processing {"connection_id":118721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a20"} 
[2026-07-01 01:34:33] local.INFO: GPS Element Parsed {"raw_longitude":760690752,"raw_latitude":104898800,"longitude_deg":76.0690752,"latitude_deg":10.48988,"altitude":10,"angle":320,"satellites":40,"speed":42,"hex_longitude":"2d573840","hex_latitude":"0640a0f0","is_valid_coordinates":true} 
[2026-07-01 01: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-01 01:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409534208001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332391521946959872,"note":"Value kept but may cause issues"} 
[2026-07-01 01:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6291387968800294912,"note":"Value kept but may cause issues"} 
[2026-07-01 01:34:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782849752000,"timestamp_ms":1782849752000,"timestamp_seconds":1782849752,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a204bc0"} 
[2026-07-01 01: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-01 01:34: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-01 01:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 01:34:33] 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-01 01: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-01 01: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-01 01:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":118721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":118721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":118721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409534208001,"66":27213,"111":206,"78":38912,"24":42,"16":332391521946959872,"45":6291387968800294912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,78,24,16,45]} 
[2026-07-01 01:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409534208001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:34:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-01 01:34:33] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-01 01:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332391521946959872,"km_value":332391521946959.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6291387968800294912,"description":"Unknown IO ID 45"} 
[2026-07-01 01:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409534208001,"power":27213,"unknown_111":206,"unknown_78":38912,"ignition":42,"odometer":null,"unknown_45":6291387968800294912}} 
[2026-07-01 01:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":118721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:34:33] local.INFO: GPS data processed {"connection_id":118721,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:34:33] local.INFO: Acknowledgment sent {"connection_id":118721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:35:05] local.INFO: TCP Data received {"connection_id":118721,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a206ee8012d5720400640bf38000a01442b..."} 
[2026-07-01 01:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a206ee8012d5720400640bf38000a01442b..."} 
[2026-07-01 01:35:05] local.INFO: Processing buffer {"connection_id":118721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a206ee8012d5720400640bf38000a01442b..."} 
[2026-07-01 01:35:05] local.INFO: Packet analysis {"connection_id":118721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a20"} 
[2026-07-01 01:35:05] local.INFO: Extracted packet for processing {"connection_id":118721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a20"} 
[2026-07-01 01:35:05] local.INFO: GPS Element Parsed {"raw_longitude":760684608,"raw_latitude":104906552,"longitude_deg":76.0684608,"latitude_deg":10.4906552,"altitude":10,"angle":324,"satellites":43,"speed":43,"hex_longitude":"2d572040","hex_latitude":"0640bf38","is_valid_coordinates":true} 
[2026-07-01 01:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409536512001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332391998688329728,"note":"Value kept but may cause issues"} 
[2026-07-01 01:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6284843675593797632,"note":"Value kept but may cause issues"} 
[2026-07-01 01:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782849761000,"timestamp_ms":1782849761000,"timestamp_seconds":1782849761,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a206ee8"} 
[2026-07-01 01:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-01 01:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":118721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":118721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":118721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409536512001,"66":27376,"111":206,"78":38912,"24":43,"16":332391998688329728,"45":6284843675593797632},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,78,24,16,45]} 
[2026-07-01 01:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409536512001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:35:05] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-01 01:35:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-01 01:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332391998688329728,"km_value":332391998688329.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6284843675593797632,"description":"Unknown IO ID 45"} 
[2026-07-01 01:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409536512001,"power":27376,"unknown_111":206,"unknown_78":38912,"ignition":43,"odometer":null,"unknown_45":6284843675593797632}} 
[2026-07-01 01:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":118721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:35:05] local.INFO: GPS data processed {"connection_id":118721,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:35:05] local.INFO: Acknowledgment sent {"connection_id":118721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:35:20] local.INFO: TCP Data received {"connection_id":120465,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:35:20] local.INFO: Processing buffer {"connection_id":120465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:35:20] local.INFO: IMEI packet received {"connection_id":120465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 01:35:20] local.INFO: IMEI acknowledgment sent {"connection_id":120465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:35:22] local.INFO: TCP Data received {"connection_id":120465,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:35:22] local.INFO: Processing buffer {"connection_id":120465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:35:22] local.INFO: IMEI packet received {"connection_id":120465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:35:22] local.INFO: IMEI acknowledgment sent {"connection_id":120465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:35:27] local.INFO: TCP Data received {"connection_id":120465,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:35:27] local.INFO: Processing buffer {"connection_id":120465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:35:27] local.INFO: IMEI packet received {"connection_id":120465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":120465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:35:31] local.INFO: TCP Data received {"connection_id":120465,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a220140012d5674c00641ea28000a014e28..."} 
[2026-07-01 01:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a220140012d5674c00641ea28000a014e28..."} 
[2026-07-01 01:35:31] local.INFO: Processing buffer {"connection_id":120465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a220140012d5674c00641ea28000a014e28..."} 
[2026-07-01 01:35:31] local.INFO: Packet analysis {"connection_id":120465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a22"} 
[2026-07-01 01:35:31] local.INFO: Extracted packet for processing {"connection_id":120465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a22"} 
[2026-07-01 01:35:31] local.INFO: GPS Element Parsed {"raw_longitude":760640704,"raw_latitude":104983080,"longitude_deg":76.0640704,"latitude_deg":10.498308,"altitude":10,"angle":334,"satellites":40,"speed":32,"hex_longitude":"2d5674c0","hex_latitude":"0641ea28","is_valid_coordinates":true} 
[2026-07-01 01: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-01 01:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409564416001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332396285065691136,"note":"Value kept but may cause issues"} 
[2026-07-01 01:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6230589373853798400,"note":"Value kept but may cause issues"} 
[2026-07-01 01:35:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782849864000,"timestamp_ms":1782849864000,"timestamp_seconds":1782849864,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a220140"} 
[2026-07-01 01: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-01 01:35:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-01 01:35:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01: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-01 01: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-01 01:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":120465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":120465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":120465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409564416001,"66":27365,"249":206,"78":38912,"24":32,"16":332396285065691136,"45":6230589373853798400},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,78,24,16,45]} 
[2026-07-01 01:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409564416001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:35:31] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-01 01:35:31] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-01 01:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332396285065691136,"km_value":332396285065691.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6230589373853798400,"description":"Unknown IO ID 45"} 
[2026-07-01 01:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409564416001,"power":27365,"unknown_249":206,"unknown_78":38912,"ignition":32,"odometer":null,"unknown_45":6230589373853798400}} 
[2026-07-01 01:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":120465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:35:31] local.INFO: GPS data processed {"connection_id":120465,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:35:31] local.INFO: Acknowledgment sent {"connection_id":120465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:36:05] local.INFO: TCP Data received {"connection_id":120465,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a222850012d566280064209e0000901472a..."} 
[2026-07-01 01:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a222850012d566280064209e0000901472a..."} 
[2026-07-01 01:36:05] local.INFO: Processing buffer {"connection_id":120465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a222850012d566280064209e0000901472a..."} 
[2026-07-01 01:36:05] local.INFO: Packet analysis {"connection_id":120465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a22"} 
[2026-07-01 01:36:05] local.INFO: Extracted packet for processing {"connection_id":120465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a22"} 
[2026-07-01 01:36:05] local.INFO: GPS Element Parsed {"raw_longitude":760636032,"raw_latitude":104991200,"longitude_deg":76.0636032,"latitude_deg":10.49912,"altitude":9,"angle":327,"satellites":42,"speed":41,"hex_longitude":"2d566280","hex_latitude":"064209e0","is_valid_coordinates":true} 
[2026-07-01 01:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409565184001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332396736037257216,"note":"Value kept but may cause issues"} 
[2026-07-01 01:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6229815317668440064,"note":"Value kept but may cause issues"} 
[2026-07-01 01:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782849874000,"timestamp_ms":1782849874000,"timestamp_seconds":1782849874,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a222850"} 
[2026-07-01 01:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 01:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":120465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":120465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":120465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409565184001,"66":27365,"216":206,"78":38912,"24":41,"16":332396736037257216,"45":6229815317668440064},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,78,24,16,45]} 
[2026-07-01 01:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409565184001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:36:05] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-01 01:36:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-01 01:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332396736037257216,"km_value":332396736037257.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6229815317668440064,"description":"Unknown IO ID 45"} 
[2026-07-01 01:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409565184001,"power":27365,"unknown_216":206,"unknown_78":38912,"ignition":41,"odometer":null,"unknown_45":6229815317668440064}} 
[2026-07-01 01:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":120465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:36:05] local.INFO: GPS data processed {"connection_id":120465,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:36:05] local.INFO: Acknowledgment sent {"connection_id":120465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:36:22] local.INFO: TCP Data received {"connection_id":119369,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:36:22] local.INFO: Processing buffer {"connection_id":119369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:36:22] local.INFO: IMEI packet received {"connection_id":119369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 01:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":119369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:36:27] local.INFO: TCP Data received {"connection_id":119369,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:36:27] local.INFO: Processing buffer {"connection_id":119369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:36:27] local.INFO: IMEI packet received {"connection_id":119369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":119369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:36:29] local.INFO: TCP Data received {"connection_id":119369,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a224790012d564f80064227d8000a01472a..."} 
[2026-07-01 01:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a224790012d564f80064227d8000a01472a..."} 
[2026-07-01 01:36:29] local.INFO: Processing buffer {"connection_id":119369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a224790012d564f80064227d8000a01472a..."} 
[2026-07-01 01:36:29] local.INFO: Packet analysis {"connection_id":119369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a22"} 
[2026-07-01 01:36:29] local.INFO: Extracted packet for processing {"connection_id":119369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a22"} 
[2026-07-01 01:36:29] local.INFO: GPS Element Parsed {"raw_longitude":760631168,"raw_latitude":104998872,"longitude_deg":76.0631168,"latitude_deg":10.4998872,"altitude":10,"angle":327,"satellites":42,"speed":48,"hex_longitude":"2d564f80","hex_latitude":"064227d8","is_valid_coordinates":true} 
[2026-07-01 01:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409567744001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332397174123921408,"note":"Value kept but may cause issues"} 
[2026-07-01 01:36:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6224678399345549312,"note":"Value kept but may cause issues"} 
[2026-07-01 01:36:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782849882000,"timestamp_ms":1782849882000,"timestamp_seconds":1782849882,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a224790"} 
[2026-07-01 01:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:36:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 01:36:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:36:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":119369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":119369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":119369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:36:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409567744001,"66":27343,"216":206,"78":38912,"24":48,"16":332397174123921408,"45":6224678399345549312},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,78,24,16,45]} 
[2026-07-01 01:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409567744001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:36:29] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-01 01:36:29] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-01 01:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332397174123921408,"km_value":332397174123921.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:36:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":6224678399345549312,"description":"Unknown IO ID 45"} 
[2026-07-01 01:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409567744001,"power":27343,"unknown_216":206,"unknown_78":38912,"ignition":48,"odometer":null,"unknown_45":6224678399345549312}} 
[2026-07-01 01:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":119369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:36:29] local.INFO: GPS data processed {"connection_id":119369,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:36:29] local.INFO: Acknowledgment sent {"connection_id":119369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:37:00] local.INFO: TCP Data received {"connection_id":119369,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a237840012d55958006439138000e014b2a..."} 
[2026-07-01 01:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a237840012d55958006439138000e014b2a..."} 
[2026-07-01 01:37:00] local.INFO: Processing buffer {"connection_id":119369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a237840012d55958006439138000e014b2a..."} 
[2026-07-01 01:37:00] local.INFO: Packet analysis {"connection_id":119369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a23"} 
[2026-07-01 01:37:00] local.INFO: Extracted packet for processing {"connection_id":119369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a23"} 
[2026-07-01 01:37:00] local.INFO: GPS Element Parsed {"raw_longitude":760583552,"raw_latitude":105091384,"longitude_deg":76.0583552,"latitude_deg":10.5091384,"altitude":14,"angle":331,"satellites":42,"speed":40,"hex_longitude":"2d559580","hex_latitude":"06439138","is_valid_coordinates":true} 
[2026-07-01 01: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-01 01:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409587456001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332402207825592320,"note":"Value kept but may cause issues"} 
[2026-07-01 01:37:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6171972209979916288,"note":"Value kept but may cause issues"} 
[2026-07-01 01:37:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782849960000,"timestamp_ms":1782849960000,"timestamp_seconds":1782849960,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a237840"} 
[2026-07-01 01: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-01 01:37:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 01: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-01 01:37:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01: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-01 01: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-01 01:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":119369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":119369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":119369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:37:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409587456001,"66":27310,"216":206,"78":38912,"24":40,"16":332402207825592320,"45":6171972209979916288},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,78,24,16,45]} 
[2026-07-01 01:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409587456001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:37:00] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-01 01:37:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-01 01:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332402207825592320,"km_value":332402207825592.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:37:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6171972209979916288,"description":"Unknown IO ID 45"} 
[2026-07-01 01:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409587456001,"power":27310,"unknown_216":206,"unknown_78":38912,"ignition":40,"odometer":null,"unknown_45":6171972209979916288}} 
[2026-07-01 01:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":119369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:37:00] local.INFO: GPS data processed {"connection_id":119369,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:37:00] local.INFO: Acknowledgment sent {"connection_id":119369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:37:22] local.INFO: TCP Data received {"connection_id":118613,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:37:22] local.INFO: Processing buffer {"connection_id":118613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:37:22] local.INFO: IMEI packet received {"connection_id":118613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 01:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":118613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:37:26] local.INFO: TCP Data received {"connection_id":118613,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:37:26] local.INFO: Processing buffer {"connection_id":118613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:37:26] local.INFO: IMEI packet received {"connection_id":118613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":118613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:37:27] local.INFO: TCP Data received {"connection_id":118613,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:37:27] local.INFO: Processing buffer {"connection_id":118613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:37:27] local.INFO: IMEI packet received {"connection_id":118613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":118613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:37:28] local.INFO: TCP Data received {"connection_id":118613,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a239b68012d5583800643b078000e01492a..."} 
[2026-07-01 01:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a239b68012d5583800643b078000e01492a..."} 
[2026-07-01 01:37:28] local.INFO: Processing buffer {"connection_id":118613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a239b68012d5583800643b078000e01492a..."} 
[2026-07-01 01:37:28] local.INFO: Packet analysis {"connection_id":118613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a23"} 
[2026-07-01 01:37:28] local.INFO: Extracted packet for processing {"connection_id":118613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a23"} 
[2026-07-01 01:37:28] local.INFO: GPS Element Parsed {"raw_longitude":760578944,"raw_latitude":105099384,"longitude_deg":76.0578944,"latitude_deg":10.5099384,"altitude":14,"angle":329,"satellites":42,"speed":42,"hex_longitude":"2d558380","hex_latitude":"0643b078","is_valid_coordinates":true} 
[2026-07-01 01: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-01 01:37:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409589760001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:37:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332402654502191104,"note":"Value kept but may cause issues"} 
[2026-07-01 01:37:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6166976029145511936,"note":"Value kept but may cause issues"} 
[2026-07-01 01:37:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:37:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782849969000,"timestamp_ms":1782849969000,"timestamp_seconds":1782849969,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a239b68"} 
[2026-07-01 01: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-01 01:37: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-01 01: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-01 01:37:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01: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-01 01: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-01 01:37:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:37:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:37:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:37:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:37:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:37:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:37:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:37:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409589760001,"66":27332,"216":206,"78":38912,"24":42,"16":332402654502191104,"45":6166976029145511936},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,78,24,16,45]} 
[2026-07-01 01:37:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:37:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:37:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409589760001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:37:28] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-01 01:37:28] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-01 01:37:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332402654502191104,"km_value":332402654502191.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:37:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":6166976029145511936,"description":"Unknown IO ID 45"} 
[2026-07-01 01:37:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409589760001,"power":27332,"unknown_216":206,"unknown_78":38912,"ignition":42,"odometer":null,"unknown_45":6166976029145511936}} 
[2026-07-01 01:37:28] local.INFO: DEBUG: GPS processor result {"connection_id":118613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:37:28] local.INFO: GPS data processed {"connection_id":118613,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:37:28] local.INFO: Acknowledgment sent {"connection_id":118613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:37:32] local.INFO: TCP Data received {"connection_id":118613,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a23be90012d556fc00643d0a0000c014a2a..."} 
[2026-07-01 01:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a23be90012d556fc00643d0a0000c014a2a..."} 
[2026-07-01 01:37:32] local.INFO: Processing buffer {"connection_id":118613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a23be90012d556fc00643d0a0000c014a2a..."} 
[2026-07-01 01:37:32] local.INFO: Packet analysis {"connection_id":118613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a23"} 
[2026-07-01 01:37:32] local.INFO: Extracted packet for processing {"connection_id":118613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a23"} 
[2026-07-01 01:37:32] local.INFO: GPS Element Parsed {"raw_longitude":760573888,"raw_latitude":105107616,"longitude_deg":76.0573888,"latitude_deg":10.5107616,"altitude":12,"angle":330,"satellites":42,"speed":44,"hex_longitude":"2d556fc0","hex_latitude":"0643d0a0","is_valid_coordinates":true} 
[2026-07-01 01:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409592064001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332403118358659072,"note":"Value kept but may cause issues"} 
[2026-07-01 01:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6161909479566768128,"note":"Value kept but may cause issues"} 
[2026-07-01 01:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782849978000,"timestamp_ms":1782849978000,"timestamp_seconds":1782849978,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a23be90"} 
[2026-07-01 01:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:37:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-01 01:37:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:37:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":118613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":118613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":118613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409592064001,"66":27343,"216":206,"78":38912,"24":44,"16":332403118358659072,"45":6161909479566768128},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,78,24,16,45]} 
[2026-07-01 01:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409592064001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:37:32] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-01 01:37:32] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-01 01:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332403118358659072,"km_value":332403118358659.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6161909479566768128,"description":"Unknown IO ID 45"} 
[2026-07-01 01:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409592064001,"power":27343,"unknown_216":206,"unknown_78":38912,"ignition":44,"odometer":null,"unknown_45":6161909479566768128}} 
[2026-07-01 01:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":118613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:37:32] local.INFO: GPS data processed {"connection_id":118613,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:37:32] local.INFO: Acknowledgment sent {"connection_id":118613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:38:03] local.INFO: TCP Data received {"connection_id":118613,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a23ddd0012d555d400643f008000901492a..."} 
[2026-07-01 01:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a23ddd0012d555d400643f008000901492a..."} 
[2026-07-01 01:38:03] local.INFO: Processing buffer {"connection_id":118613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a23ddd0012d555d400643f008000901492a..."} 
[2026-07-01 01:38:03] local.INFO: Packet analysis {"connection_id":118613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a23"} 
[2026-07-01 01:38:03] local.INFO: Extracted packet for processing {"connection_id":118613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a23"} 
[2026-07-01 01:38:03] local.INFO: GPS Element Parsed {"raw_longitude":760569152,"raw_latitude":105115656,"longitude_deg":76.0569152,"latitude_deg":10.5115656,"altitude":9,"angle":329,"satellites":42,"speed":48,"hex_longitude":"2d555d40","hex_latitude":"0643f008","is_valid_coordinates":true} 
[2026-07-01 01:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409594368001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332403569330225152,"note":"Value kept but may cause issues"} 
[2026-07-01 01:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6156350348778840064,"note":"Value kept but may cause issues"} 
[2026-07-01 01:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782849986000,"timestamp_ms":1782849986000,"timestamp_seconds":1782849986,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a23ddd0"} 
[2026-07-01 01:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:38:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-01 01:38:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:38:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":118613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":118613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":118613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409594368001,"66":27213,"217":206,"78":38912,"24":48,"16":332403569330225152,"45":6156350348778840064},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,78,24,16,45]} 
[2026-07-01 01:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409594368001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:38:03] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-01 01:38:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-01 01:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332403569330225152,"km_value":332403569330225.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6156350348778840064,"description":"Unknown IO ID 45"} 
[2026-07-01 01:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409594368001,"power":27213,"unknown_217":206,"unknown_78":38912,"ignition":48,"odometer":null,"unknown_45":6156350348778840064}} 
[2026-07-01 01:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":118613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:38:03] local.INFO: GPS data processed {"connection_id":118613,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:38:03] local.INFO: Acknowledgment sent {"connection_id":118613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:38:32] local.INFO: TCP Data received {"connection_id":118615,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:38:32] local.INFO: Processing buffer {"connection_id":118615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:38:32] local.INFO: IMEI packet received {"connection_id":118615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 01:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":118615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:38:34] local.INFO: TCP Data received {"connection_id":118615,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:38:34] local.INFO: Processing buffer {"connection_id":118615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:38:34] local.INFO: IMEI packet received {"connection_id":118615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":118615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:38:35] local.INFO: TCP Data received {"connection_id":118615,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a250a98012d54960006455840000a014b29..."} 
[2026-07-01 01:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a250a98012d54960006455840000a014b29..."} 
[2026-07-01 01:38:35] local.INFO: Processing buffer {"connection_id":118615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a250a98012d54960006455840000a014b29..."} 
[2026-07-01 01:38:35] local.INFO: Packet analysis {"connection_id":118615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a25"} 
[2026-07-01 01:38:35] local.INFO: Extracted packet for processing {"connection_id":118615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a25"} 
[2026-07-01 01:38:35] local.INFO: GPS Element Parsed {"raw_longitude":760518144,"raw_latitude":105207872,"longitude_deg":76.0518144,"latitude_deg":10.5207872,"altitude":10,"angle":331,"satellites":41,"speed":62,"hex_longitude":"2d549600","hex_latitude":"06455840","is_valid_coordinates":true} 
[2026-07-01 01: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-01 01:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409614592001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332408663161438208,"note":"Value kept but may cause issues"} 
[2026-07-01 01:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6099773878483537920,"note":"Value kept but may cause issues"} 
[2026-07-01 01:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782850063000,"timestamp_ms":1782850063000,"timestamp_seconds":1782850063,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a250a98"} 
[2026-07-01 01: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-01 01:38:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-01 01:38:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01: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-01 01: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-01 01:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":118615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":118615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":118615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409614592001,"66":27376,"232":206,"78":38912,"24":62,"16":332408663161438208,"45":6099773878483537920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,78,24,16,45]} 
[2026-07-01 01:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409614592001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:38:35] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-07-01 01:38:35] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-01 01:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332408663161438208,"km_value":332408663161438.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:38:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":6099773878483537920,"description":"Unknown IO ID 45"} 
[2026-07-01 01:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409614592001,"power":27376,"unknown_232":206,"unknown_78":38912,"ignition":62,"odometer":null,"unknown_45":6099773878483537920}} 
[2026-07-01 01:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":118615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:38:35] local.INFO: GPS data processed {"connection_id":118615,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:38:35] local.INFO: Acknowledgment sent {"connection_id":118615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:38:42] local.INFO: TCP Data received {"connection_id":118614,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 01:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118614,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 01:38:42] local.INFO: Processing buffer {"connection_id":118614,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 01:38:42] local.INFO: IMEI packet received {"connection_id":118614,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 01:38:42] local.INFO: IMEI acknowledgment sent {"connection_id":118614,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:39:06] local.INFO: TCP Data received {"connection_id":118615,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a252208012d54844006457788000a014a2a..."} 
[2026-07-01 01:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a252208012d54844006457788000a014a2a..."} 
[2026-07-01 01:39:06] local.INFO: Processing buffer {"connection_id":118615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a252208012d54844006457788000a014a2a..."} 
[2026-07-01 01:39:06] local.INFO: Packet analysis {"connection_id":118615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a25"} 
[2026-07-01 01:39:06] local.INFO: Extracted packet for processing {"connection_id":118615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a25"} 
[2026-07-01 01:39:06] local.INFO: GPS Element Parsed {"raw_longitude":760513600,"raw_latitude":105215880,"longitude_deg":76.05136,"latitude_deg":10.521588,"altitude":10,"angle":330,"satellites":42,"speed":59,"hex_longitude":"2d548440","hex_latitude":"06457788","is_valid_coordinates":true} 
[2026-07-01 01:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409616128001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332409109838036992,"note":"Value kept but may cause issues"} 
[2026-07-01 01:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6095059172625760256,"note":"Value kept but may cause issues"} 
[2026-07-01 01:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782850069000,"timestamp_ms":1782850069000,"timestamp_seconds":1782850069,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a252208"} 
[2026-07-01 01:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-01 01:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":118615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":118615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":118615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409616128001,"66":27397,"232":206,"78":38912,"24":59,"16":332409109838036992,"45":6095059172625760256},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,78,24,16,45]} 
[2026-07-01 01:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409616128001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:39:06] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-07-01 01:39:06] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-01 01:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332409109838036992,"km_value":332409109838037.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6095059172625760256,"description":"Unknown IO ID 45"} 
[2026-07-01 01:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409616128001,"power":27397,"unknown_232":206,"unknown_78":38912,"ignition":59,"odometer":null,"unknown_45":6095059172625760256}} 
[2026-07-01 01:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":118615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:39:06] local.INFO: GPS data processed {"connection_id":118615,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:39:06] local.INFO: Acknowledgment sent {"connection_id":118615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:39:22] local.INFO: TCP Data received {"connection_id":120466,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 01:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120466,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 01:39:22] local.INFO: Processing buffer {"connection_id":120466,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 01:39:22] local.INFO: IMEI packet received {"connection_id":120466,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 01:39:22] local.INFO: IMEI acknowledgment sent {"connection_id":120466,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:39:24] local.INFO: TCP Data received {"connection_id":120467,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:39:24] local.INFO: Processing buffer {"connection_id":120467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:39:24] local.INFO: IMEI packet received {"connection_id":120467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 01:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":120467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:39:26] local.INFO: TCP Data received {"connection_id":120467,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:39:26] local.INFO: Processing buffer {"connection_id":120467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:39:26] local.INFO: IMEI packet received {"connection_id":120467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":120467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:39:27] local.INFO: TCP Data received {"connection_id":120467,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a253d60012d547180064599f8000a014b29..."} 
[2026-07-01 01:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a253d60012d547180064599f8000a014b29..."} 
[2026-07-01 01:39:27] local.INFO: Processing buffer {"connection_id":120467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a253d60012d547180064599f8000a014b29..."} 
[2026-07-01 01:39:27] local.INFO: Packet analysis {"connection_id":120467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a25"} 
[2026-07-01 01:39:27] local.INFO: Extracted packet for processing {"connection_id":120467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a25"} 
[2026-07-01 01:39:27] local.INFO: GPS Element Parsed {"raw_longitude":760508800,"raw_latitude":105224696,"longitude_deg":76.05088,"latitude_deg":10.5224696,"altitude":10,"angle":331,"satellites":41,"speed":54,"hex_longitude":"2d547180","hex_latitude":"064599f8","is_valid_coordinates":true} 
[2026-07-01 01:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:39:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409617664001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:39:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332409595169341440,"note":"Value kept but may cause issues"} 
[2026-07-01 01:39:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6090062991791196160,"note":"Value kept but may cause issues"} 
[2026-07-01 01:39:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:39:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782850076000,"timestamp_ms":1782850076000,"timestamp_seconds":1782850076,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a253d60"} 
[2026-07-01 01:39:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:39:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-01 01:39:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:39:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:39:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:39:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:39:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:39:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:39:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:39:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:39:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:39:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:39:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409617664001,"66":27321,"232":206,"78":38912,"24":54,"16":332409595169341440,"45":6090062991791196160},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,78,24,16,45]} 
[2026-07-01 01:39:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:39:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:39:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409617664001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:39:27] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-07-01 01:39:27] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-01 01:39:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332409595169341440,"km_value":332409595169341.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:39:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":6090062991791196160,"description":"Unknown IO ID 45"} 
[2026-07-01 01:39:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409617664001,"power":27321,"unknown_232":206,"unknown_78":38912,"ignition":54,"odometer":null,"unknown_45":6090062991791196160}} 
[2026-07-01 01:39:27] local.INFO: DEBUG: GPS processor result {"connection_id":120467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:39:27] local.INFO: GPS data processed {"connection_id":120467,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:39:27] local.INFO: Acknowledgment sent {"connection_id":120467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:39:58] local.INFO: TCP Data received {"connection_id":120467,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a2558b8012d5460400645b9c00009014b29..."} 
[2026-07-01 01:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a2558b8012d5460400645b9c00009014b29..."} 
[2026-07-01 01:39:58] local.INFO: Processing buffer {"connection_id":120467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a2558b8012d5460400645b9c00009014b29..."} 
[2026-07-01 01:39:58] local.INFO: Packet analysis {"connection_id":120467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a25"} 
[2026-07-01 01:39:58] local.INFO: Extracted packet for processing {"connection_id":120467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a25"} 
[2026-07-01 01:39:58] local.INFO: GPS Element Parsed {"raw_longitude":760504384,"raw_latitude":105232832,"longitude_deg":76.0504384,"latitude_deg":10.5232832,"altitude":9,"angle":331,"satellites":41,"speed":50,"hex_longitude":"2d546040","hex_latitude":"0645b9c0","is_valid_coordinates":true} 
[2026-07-01 01: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-01 01:39:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409619456001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:39:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332410041845940224,"note":"Value kept but may cause issues"} 
[2026-07-01 01:39:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6084785335980128256,"note":"Value kept but may cause issues"} 
[2026-07-01 01:39:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:39:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782850083000,"timestamp_ms":1782850083000,"timestamp_seconds":1782850083,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a2558b8"} 
[2026-07-01 01: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-01 01:39:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-01 01:39:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01: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-01 01: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-01 01:39:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:39:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:39:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:39:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:39:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:39:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:39:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:39:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409619456001,"66":27332,"99":206,"78":38912,"24":50,"16":332410041845940224,"45":6084785335980128256},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,78,24,16,45]} 
[2026-07-01 01:39:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:39:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:39:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409619456001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:39:58] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-01 01:39:58] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-01 01:39:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332410041845940224,"km_value":332410041845940.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:39:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":6084785335980128256,"description":"Unknown IO ID 45"} 
[2026-07-01 01:39:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409619456001,"power":27332,"unknown_99":206,"unknown_78":38912,"ignition":50,"odometer":null,"unknown_45":6084785335980128256}} 
[2026-07-01 01:39:58] local.INFO: DEBUG: GPS processor result {"connection_id":120467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:39:58] local.INFO: GPS data processed {"connection_id":120467,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:39:58] local.INFO: Acknowledgment sent {"connection_id":120467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:40:22] local.INFO: TCP Data received {"connection_id":118722,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:40:22] local.INFO: Processing buffer {"connection_id":118722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:40:22] local.INFO: IMEI packet received {"connection_id":118722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 01:40:22] local.INFO: IMEI acknowledgment sent {"connection_id":118722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:40:27] local.INFO: TCP Data received {"connection_id":118722,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:40:27] local.INFO: Processing buffer {"connection_id":118722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:40:27] local.INFO: IMEI packet received {"connection_id":118722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":118722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:40:28] local.INFO: TCP Data received {"connection_id":118722,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a2577f8012d544d800645dc78000a014b29..."} 
[2026-07-01 01:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a2577f8012d544d800645dc78000a014b29..."} 
[2026-07-01 01:40:28] local.INFO: Processing buffer {"connection_id":118722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a2577f8012d544d800645dc78000a014b29..."} 
[2026-07-01 01:40:28] local.INFO: Packet analysis {"connection_id":118722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a25"} 
[2026-07-01 01:40:28] local.INFO: Extracted packet for processing {"connection_id":118722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a25"} 
[2026-07-01 01:40:28] local.INFO: GPS Element Parsed {"raw_longitude":760499584,"raw_latitude":105241720,"longitude_deg":76.0499584,"latitude_deg":10.524172,"altitude":10,"angle":331,"satellites":41,"speed":51,"hex_longitude":"2d544d80","hex_latitude":"0645dc78","is_valid_coordinates":true} 
[2026-07-01 01: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-01 01:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409621248001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332410527177244672,"note":"Value kept but may cause issues"} 
[2026-07-01 01:40:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6079929892633952256,"note":"Value kept but may cause issues"} 
[2026-07-01 01:40:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782850091000,"timestamp_ms":1782850091000,"timestamp_seconds":1782850091,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a2577f8"} 
[2026-07-01 01: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-01 01:40: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-01 01: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-01 01:40:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01: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-01 01: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-01 01:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:40:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409621248001,"66":27615,"99":206,"78":38912,"24":51,"16":332410527177244672,"45":6079929892633952256},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,78,24,16,45]} 
[2026-07-01 01:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409621248001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:40:28] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-07-01 01:40:28] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-01 01:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332410527177244672,"km_value":332410527177244.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:40:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":6079929892633952256,"description":"Unknown IO ID 45"} 
[2026-07-01 01:40:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409621248001,"power":27615,"unknown_99":206,"unknown_78":38912,"ignition":51,"odometer":null,"unknown_45":6079929892633952256}} 
[2026-07-01 01:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":118722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:40:28] local.INFO: GPS data processed {"connection_id":118722,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:40:28] local.INFO: Acknowledgment sent {"connection_id":118722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:40:59] local.INFO: TCP Data received {"connection_id":118722,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a271dd8012d53dc40064756e00010016729..."} 
[2026-07-01 01:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a271dd8012d53dc40064756e00010016729..."} 
[2026-07-01 01:40:59] local.INFO: Processing buffer {"connection_id":118722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a271dd8012d53dc40064756e00010016729..."} 
[2026-07-01 01:40:59] local.INFO: Packet analysis {"connection_id":118722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a27"} 
[2026-07-01 01:40:59] local.INFO: Extracted packet for processing {"connection_id":118722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a27"} 
[2026-07-01 01:40:59] local.INFO: GPS Element Parsed {"raw_longitude":760470592,"raw_latitude":105338592,"longitude_deg":76.0470592,"latitude_deg":10.5338592,"altitude":16,"angle":359,"satellites":41,"speed":42,"hex_longitude":"2d53dc40","hex_latitude":"064756e0","is_valid_coordinates":true} 
[2026-07-01 01: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-01 01:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409648384001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332415552288980992,"note":"Value kept but may cause issues"} 
[2026-07-01 01:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042845564476860416,"note":"Value kept but may cause issues"} 
[2026-07-01 01:40:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782850199000,"timestamp_ms":1782850199000,"timestamp_seconds":1782850199,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a271dd8"} 
[2026-07-01 01: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-01 01:40: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-01 01: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-01 01:40:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01: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-01 01: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-01 01:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:40:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409648384001,"66":27343,"194":206,"78":38912,"24":42,"16":332415552288980992,"45":6042845564476860416},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,78,24,16,45]} 
[2026-07-01 01:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409648384001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:40:59] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-07-01 01:40:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-01 01:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332415552288980992,"km_value":332415552288981.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042845564476860416,"description":"Unknown IO ID 45"} 
[2026-07-01 01:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409648384001,"power":27343,"unknown_194":206,"unknown_78":38912,"ignition":42,"odometer":null,"unknown_45":6042845564476860416}} 
[2026-07-01 01:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":118722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:40:59] local.INFO: GPS data processed {"connection_id":118722,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:40:59] local.INFO: Acknowledgment sent {"connection_id":118722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:41:27] local.INFO: TCP Data received {"connection_id":118723,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:41:27] local.INFO: Processing buffer {"connection_id":118723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:41:27] local.INFO: IMEI packet received {"connection_id":118723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 01:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":118723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:41:28] local.INFO: TCP Data received {"connection_id":118723,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:41:28] local.INFO: Processing buffer {"connection_id":118723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:41:28] local.INFO: IMEI packet received {"connection_id":118723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":118723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:41:32] local.INFO: TCP Data received {"connection_id":118723,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a274100012d53db4006477d38000c01662b..."} 
[2026-07-01 01:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a274100012d53db4006477d38000c01662b..."} 
[2026-07-01 01:41:32] local.INFO: Processing buffer {"connection_id":118723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a274100012d53db4006477d38000c01662b..."} 
[2026-07-01 01:41:32] local.INFO: Packet analysis {"connection_id":118723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a27"} 
[2026-07-01 01:41:32] local.INFO: Extracted packet for processing {"connection_id":118723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a27"} 
[2026-07-01 01:41:32] local.INFO: GPS Element Parsed {"raw_longitude":760470336,"raw_latitude":105348408,"longitude_deg":76.0470336,"latitude_deg":10.5348408,"altitude":12,"angle":358,"satellites":43,"speed":44,"hex_longitude":"2d53db40","hex_latitude":"06477d38","is_valid_coordinates":true} 
[2026-07-01 01:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409650944001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332416029030350848,"note":"Value kept but may cause issues"} 
[2026-07-01 01:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042775195735220224,"note":"Value kept but may cause issues"} 
[2026-07-01 01:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782850208000,"timestamp_ms":1782850208000,"timestamp_seconds":1782850208,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a274100"} 
[2026-07-01 01:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:41:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-01 01:41:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:41:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":118723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":118723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":118723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409650944001,"66":27365,"194":206,"78":38912,"24":44,"16":332416029030350848,"45":6042775195735220224},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,78,24,16,45]} 
[2026-07-01 01:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409650944001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:41:32] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-07-01 01:41:32] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-01 01:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332416029030350848,"km_value":332416029030350.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042775195735220224,"description":"Unknown IO ID 45"} 
[2026-07-01 01:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409650944001,"power":27365,"unknown_194":206,"unknown_78":38912,"ignition":44,"odometer":null,"unknown_45":6042775195735220224}} 
[2026-07-01 01:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":118723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:41:32] local.INFO: GPS data processed {"connection_id":118723,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:41:32] local.INFO: Acknowledgment sent {"connection_id":118723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:41:33] local.INFO: TCP Data received {"connection_id":118723,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a276040012d53dac00647a0680008000029..."} 
[2026-07-01 01:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a276040012d53dac00647a0680008000029..."} 
[2026-07-01 01:41:33] local.INFO: Processing buffer {"connection_id":118723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a276040012d53dac00647a0680008000029..."} 
[2026-07-01 01:41:33] local.INFO: Packet analysis {"connection_id":118723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a27"} 
[2026-07-01 01:41:33] local.INFO: Extracted packet for processing {"connection_id":118723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a27"} 
[2026-07-01 01:41:33] local.INFO: GPS Element Parsed {"raw_longitude":760470208,"raw_latitude":105357416,"longitude_deg":76.0470208,"latitude_deg":10.5357416,"altitude":8,"angle":0,"satellites":41,"speed":45,"hex_longitude":"2d53dac0","hex_latitude":"0647a068","is_valid_coordinates":true} 
[2026-07-01 01:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409653248001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332416462822047744,"note":"Value kept but may cause issues"} 
[2026-07-01 01:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042493720761022464,"note":"Value kept but may cause issues"} 
[2026-07-01 01:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782850216000,"timestamp_ms":1782850216000,"timestamp_seconds":1782850216,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a276040"} 
[2026-07-01 01:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 01:41:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:41:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":118723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":118723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":118723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409653248001,"66":26963,"194":206,"78":38912,"24":45,"16":332416462822047744,"45":6042493720761022464},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,78,24,16,45]} 
[2026-07-01 01:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409653248001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:41:33] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-07-01 01:41:33] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-01 01:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332416462822047744,"km_value":332416462822047.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042493720761022464,"description":"Unknown IO ID 45"} 
[2026-07-01 01:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409653248001,"power":26963,"unknown_194":206,"unknown_78":38912,"ignition":45,"odometer":null,"unknown_45":6042493720761022464}} 
[2026-07-01 01:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":118723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:41:33] local.INFO: GPS data processed {"connection_id":118723,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:41:33] local.INFO: Acknowledgment sent {"connection_id":118723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:42:04] local.INFO: TCP Data received {"connection_id":118723,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a277f80012d53db000647c348000700012b..."} 
[2026-07-01 01:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a277f80012d53db000647c348000700012b..."} 
[2026-07-01 01:42:04] local.INFO: Processing buffer {"connection_id":118723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a277f80012d53db000647c348000700012b..."} 
[2026-07-01 01:42:04] local.INFO: Packet analysis {"connection_id":118723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a27"} 
[2026-07-01 01:42:04] local.INFO: Extracted packet for processing {"connection_id":118723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a27"} 
[2026-07-01 01:42:04] local.INFO: GPS Element Parsed {"raw_longitude":760470272,"raw_latitude":105366344,"longitude_deg":76.0470272,"latitude_deg":10.5366344,"altitude":7,"angle":1,"satellites":43,"speed":42,"hex_longitude":"2d53db00","hex_latitude":"0647c348","is_valid_coordinates":true} 
[2026-07-01 01:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409655296001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332416896613744640,"note":"Value kept but may cause issues"} 
[2026-07-01 01:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042352983274973184,"note":"Value kept but may cause issues"} 
[2026-07-01 01:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782850224000,"timestamp_ms":1782850224000,"timestamp_seconds":1782850224,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a277f80"} 
[2026-07-01 01: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-01 01:42: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-01 01: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":105,"n8_eight_byte":83,"data_length":795,"current_offset":136} 
[2026-07-01 01:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01: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-01 01: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-01 01:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":118723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":118723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":118723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409655296001,"66":27234,"194":206,"78":38912,"24":42,"16":332416896613744640,"45":6042352983274973184},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,78,24,16,45]} 
[2026-07-01 01:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409655296001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:42:04] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-07-01 01:42:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-01 01:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332416896613744640,"km_value":332416896613744.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042352983274973184,"description":"Unknown IO ID 45"} 
[2026-07-01 01:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409655296001,"power":27234,"unknown_194":206,"unknown_78":38912,"ignition":42,"odometer":null,"unknown_45":6042352983274973184}} 
[2026-07-01 01:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":118723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:42:04] local.INFO: GPS data processed {"connection_id":118723,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:42:04] local.INFO: Acknowledgment sent {"connection_id":118723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:42:20] local.INFO: TCP Data received {"connection_id":120469,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:42:20] local.INFO: Processing buffer {"connection_id":120469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:42:20] local.INFO: IMEI packet received {"connection_id":120469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 01:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":120469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:42:22] local.INFO: TCP Data received {"connection_id":120469,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:42:22] local.INFO: Processing buffer {"connection_id":120469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:42:22] local.INFO: IMEI packet received {"connection_id":120469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:42:22] local.INFO: IMEI acknowledgment sent {"connection_id":120469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:42:27] local.INFO: TCP Data received {"connection_id":120469,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:42:27] local.INFO: Processing buffer {"connection_id":120469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:42:27] local.INFO: IMEI packet received {"connection_id":120469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":120469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:42:28] local.INFO: TCP Data received {"connection_id":120469,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a27a2a8012d53db400647e7a8000700002b..."} 
[2026-07-01 01:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a27a2a8012d53db400647e7a8000700002b..."} 
[2026-07-01 01:42:28] local.INFO: Processing buffer {"connection_id":120469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a27a2a8012d53db400647e7a8000700002b..."} 
[2026-07-01 01:42:28] local.INFO: Packet analysis {"connection_id":120469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a27"} 
[2026-07-01 01:42:28] local.INFO: Extracted packet for processing {"connection_id":120469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a27"} 
[2026-07-01 01:42:28] local.INFO: GPS Element Parsed {"raw_longitude":760470336,"raw_latitude":105375656,"longitude_deg":76.0470336,"latitude_deg":10.5375656,"altitude":7,"angle":0,"satellites":43,"speed":39,"hex_longitude":"2d53db40","hex_latitude":"0647e7a8","is_valid_coordinates":true} 
[2026-07-01 01: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-01 01:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409657344001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332417347585310720,"note":"Value kept but may cause issues"} 
[2026-07-01 01:42:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042423352021436416,"note":"Value kept but may cause issues"} 
[2026-07-01 01:42:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:42:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782850233000,"timestamp_ms":1782850233000,"timestamp_seconds":1782850233,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a27a2a8"} 
[2026-07-01 01: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-01 01:42:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-01 01:42:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01: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-01 01: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-01 01:42:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:42:28] local.INFO: Teltonika packet parsed successfully {"connection_id":120469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:42:28] local.INFO: Passing IMEI to GPS processor {"connection_id":120469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:42:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":120469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:42:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:42:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:42:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:42:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409657344001,"66":26778,"194":206,"78":38912,"24":39,"16":332417347585310720,"45":6042423352021436416},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,78,24,16,45]} 
[2026-07-01 01:42:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:42:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:42:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409657344001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:42:28] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-07-01 01:42:28] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-01 01:42:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332417347585310720,"km_value":332417347585310.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:42:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042423352021436416,"description":"Unknown IO ID 45"} 
[2026-07-01 01:42:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409657344001,"power":26778,"unknown_194":206,"unknown_78":38912,"ignition":39,"odometer":null,"unknown_45":6042423352021436416}} 
[2026-07-01 01:42:28] local.INFO: DEBUG: GPS processor result {"connection_id":120469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:42:28] local.INFO: GPS data processed {"connection_id":120469,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:42:28] local.INFO: Acknowledgment sent {"connection_id":120469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:43:00] local.INFO: TCP Data received {"connection_id":120469,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a290238012d53254006497d68000801442a..."} 
[2026-07-01 01:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a290238012d53254006497d68000801442a..."} 
[2026-07-01 01:43:00] local.INFO: Processing buffer {"connection_id":120469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a290238012d53254006497d68000801442a..."} 
[2026-07-01 01:43:00] local.INFO: Packet analysis {"connection_id":120469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a29"} 
[2026-07-01 01:43:00] local.INFO: Extracted packet for processing {"connection_id":120469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a29"} 
[2026-07-01 01:43:00] local.INFO: GPS Element Parsed {"raw_longitude":760423744,"raw_latitude":105479528,"longitude_deg":76.0423744,"latitude_deg":10.5479528,"altitude":8,"angle":324,"satellites":42,"speed":52,"hex_longitude":"2d532540","hex_latitude":"06497d68","is_valid_coordinates":true} 
[2026-07-01 01: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-01 01:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409680896001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332422931042795520,"note":"Value kept but may cause issues"} 
[2026-07-01 01:43:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5997246618286454784,"note":"Value kept but may cause issues"} 
[2026-07-01 01:43:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782850323000,"timestamp_ms":1782850323000,"timestamp_seconds":1782850323,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a290238"} 
[2026-07-01 01: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-01 01:43:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-01 01:43:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01: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-01 01: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-01 01:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":120469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":120469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":120469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:43:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409680896001,"66":27300,"93":206,"78":38912,"24":52,"16":332422931042795520,"45":5997246618286454784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-07-01 01:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:43:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:43:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409680896001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:43:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-07-01 01:43:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-01 01:43:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332422931042795520,"km_value":332422931042795.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:43:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5997246618286454784,"description":"Unknown IO ID 45"} 
[2026-07-01 01:43:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409680896001,"power":27300,"unknown_93":206,"unknown_78":38912,"ignition":52,"odometer":null,"unknown_45":5997246618286454784}} 
[2026-07-01 01:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":120469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:43:00] local.INFO: GPS data processed {"connection_id":120469,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:43:00] local.INFO: Acknowledgment sent {"connection_id":120469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:43:22] local.INFO: TCP Data received {"connection_id":118618,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:43:22] local.INFO: Processing buffer {"connection_id":118618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:43:22] local.INFO: IMEI packet received {"connection_id":118618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 01:43:22] local.INFO: IMEI acknowledgment sent {"connection_id":118618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:43:23] local.INFO: TCP Data received {"connection_id":118618,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:43:23] local.INFO: Processing buffer {"connection_id":118618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:43:23] local.INFO: IMEI packet received {"connection_id":118618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:43:23] local.INFO: IMEI acknowledgment sent {"connection_id":118618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:43:27] local.INFO: TCP Data received {"connection_id":118618,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:43:27] local.INFO: Processing buffer {"connection_id":118618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:43:27] local.INFO: IMEI packet received {"connection_id":118618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":118618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:43:29] local.INFO: TCP Data received {"connection_id":118618,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a291d90012d530ec006499a88000801412a..."} 
[2026-07-01 01:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a291d90012d530ec006499a88000801412a..."} 
[2026-07-01 01:43:29] local.INFO: Processing buffer {"connection_id":118618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a291d90012d530ec006499a88000801412a..."} 
[2026-07-01 01:43:29] local.INFO: Packet analysis {"connection_id":118618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a29"} 
[2026-07-01 01:43:29] local.INFO: Extracted packet for processing {"connection_id":118618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a29"} 
[2026-07-01 01:43:29] local.INFO: GPS Element Parsed {"raw_longitude":760417984,"raw_latitude":105486984,"longitude_deg":76.0417984,"latitude_deg":10.5486984,"altitude":8,"angle":321,"satellites":42,"speed":54,"hex_longitude":"2d530ec0","hex_latitude":"06499a88","is_valid_coordinates":true} 
[2026-07-01 01:43:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:43:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409682688001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:43:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332423382014361600,"note":"Value kept but may cause issues"} 
[2026-07-01 01:43:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5991265275033249792,"note":"Value kept but may cause issues"} 
[2026-07-01 01:43:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:43:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782850330000,"timestamp_ms":1782850330000,"timestamp_seconds":1782850330,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a291d90"} 
[2026-07-01 01:43:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:43:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:43:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-01 01:43:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:43:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:43:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:43:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:43:29] local.INFO: Teltonika packet parsed successfully {"connection_id":118618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:43:29] local.INFO: Passing IMEI to GPS processor {"connection_id":118618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:43:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":118618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:43:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:43:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:43:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:43:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409682688001,"66":27365,"93":206,"78":38912,"24":54,"16":332423382014361600,"45":5991265275033249792},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-07-01 01:43:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:43:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:43:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409682688001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:43:29] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-07-01 01:43:29] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-01 01:43:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332423382014361600,"km_value":332423382014361.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:43:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5991265275033249792,"description":"Unknown IO ID 45"} 
[2026-07-01 01:43:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409682688001,"power":27365,"unknown_93":206,"unknown_78":38912,"ignition":54,"odometer":null,"unknown_45":5991265275033249792}} 
[2026-07-01 01:43:29] local.INFO: DEBUG: GPS processor result {"connection_id":118618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:43:29] local.INFO: GPS data processed {"connection_id":118618,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:43:29] local.INFO: Acknowledgment sent {"connection_id":118618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:44:00] local.INFO: TCP Data received {"connection_id":118618,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a2938e8012d52f7000649b6e80008013f2a..."} 
[2026-07-01 01:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a2938e8012d52f7000649b6e80008013f2a..."} 
[2026-07-01 01:44:00] local.INFO: Processing buffer {"connection_id":118618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a2938e8012d52f7000649b6e80008013f2a..."} 
[2026-07-01 01:44:00] local.INFO: Packet analysis {"connection_id":118618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a29"} 
[2026-07-01 01:44:00] local.INFO: Extracted packet for processing {"connection_id":118618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a29"} 
[2026-07-01 01:44:00] local.INFO: GPS Element Parsed {"raw_longitude":760411904,"raw_latitude":105494248,"longitude_deg":76.0411904,"latitude_deg":10.5494248,"altitude":8,"angle":319,"satellites":42,"speed":53,"hex_longitude":"2d52f700","hex_latitude":"0649b6e8","is_valid_coordinates":true} 
[2026-07-01 01:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:44:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409684480001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:44:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332423841575862272,"note":"Value kept but may cause issues"} 
[2026-07-01 01:44:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5984932088059168768,"note":"Value kept but may cause issues"} 
[2026-07-01 01:44:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:44:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782850337000,"timestamp_ms":1782850337000,"timestamp_seconds":1782850337,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a2938e8"} 
[2026-07-01 01:44:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:44:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 01:44:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:44:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:44:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:44:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:44:00] local.INFO: Teltonika packet parsed successfully {"connection_id":118618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:44:00] local.INFO: Passing IMEI to GPS processor {"connection_id":118618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:44:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":118618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:44:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:44:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:44:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:44:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409684480001,"66":27234,"93":206,"78":38912,"24":53,"16":332423841575862272,"45":5984932088059168768},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-07-01 01:44:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:44:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:44:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409684480001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:44:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-07-01 01:44:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-01 01:44:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332423841575862272,"km_value":332423841575862.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:44:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5984932088059168768,"description":"Unknown IO ID 45"} 
[2026-07-01 01:44:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409684480001,"power":27234,"unknown_93":206,"unknown_78":38912,"ignition":53,"odometer":null,"unknown_45":5984932088059168768}} 
[2026-07-01 01:44:00] local.INFO: DEBUG: GPS processor result {"connection_id":118618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:44:00] local.INFO: GPS data processed {"connection_id":118618,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:44:00] local.INFO: Acknowledgment sent {"connection_id":118618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:44:22] local.INFO: TCP Data received {"connection_id":119370,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:44:22] local.INFO: Processing buffer {"connection_id":119370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:44:22] local.INFO: IMEI packet received {"connection_id":119370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 01:44:22] local.INFO: IMEI acknowledgment sent {"connection_id":119370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:44:27] local.INFO: TCP Data received {"connection_id":119370,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:44:27] local.INFO: Processing buffer {"connection_id":119370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:44:27] local.INFO: IMEI packet received {"connection_id":119370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":119370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:44:29] local.INFO: TCP Data received {"connection_id":119370,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a295440012d52de400649d2680009013d2a..."} 
[2026-07-01 01:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a295440012d52de400649d2680009013d2a..."} 
[2026-07-01 01:44:29] local.INFO: Processing buffer {"connection_id":119370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a295440012d52de400649d2680009013d2a..."} 
[2026-07-01 01:44:29] local.INFO: Packet analysis {"connection_id":119370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a29"} 
[2026-07-01 01:44:29] local.INFO: Extracted packet for processing {"connection_id":119370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a29"} 
[2026-07-01 01:44:29] local.INFO: GPS Element Parsed {"raw_longitude":760405568,"raw_latitude":105501288,"longitude_deg":76.0405568,"latitude_deg":10.5501288,"altitude":9,"angle":317,"satellites":42,"speed":53,"hex_longitude":"2d52de40","hex_latitude":"0649d268","is_valid_coordinates":true} 
[2026-07-01 01:44:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:44:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409686272001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:44:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332424296842395648,"note":"Value kept but may cause issues"} 
[2026-07-01 01:44:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5978247057364150272,"note":"Value kept but may cause issues"} 
[2026-07-01 01:44:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:44:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782850344000,"timestamp_ms":1782850344000,"timestamp_seconds":1782850344,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a295440"} 
[2026-07-01 01:44:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:44:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:44:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-01 01:44:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:44:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:44:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:44:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:44:29] local.INFO: Teltonika packet parsed successfully {"connection_id":119370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:44:29] local.INFO: Passing IMEI to GPS processor {"connection_id":119370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:44:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":119370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:44:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:44:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:44:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:44:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409686272001,"66":27343,"93":206,"78":38912,"24":53,"16":332424296842395648,"45":5978247057364150272},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-07-01 01:44:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:44:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:44:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409686272001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:44:29] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-07-01 01:44:29] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-07-01 01:44:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332424296842395648,"km_value":332424296842395.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:44:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5978247057364150272,"description":"Unknown IO ID 45"} 
[2026-07-01 01:44:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409686272001,"power":27343,"unknown_93":206,"unknown_78":38912,"ignition":53,"odometer":null,"unknown_45":5978247057364150272}} 
[2026-07-01 01:44:29] local.INFO: DEBUG: GPS processor result {"connection_id":119370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:44:29] local.INFO: GPS data processed {"connection_id":119370,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:44:29] local.INFO: Acknowledgment sent {"connection_id":119370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:44:52] local.INFO: TCP Data received {"connection_id":120470,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 01:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120470,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 01:44:52] local.INFO: Processing buffer {"connection_id":120470,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 01:44:52] local.INFO: IMEI packet received {"connection_id":120470,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 01:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":120470,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:45:01] local.INFO: TCP Data received {"connection_id":119370,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a2ac758012d51d840064b5d30000901452a..."} 
[2026-07-01 01:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a2ac758012d51d840064b5d30000901452a..."} 
[2026-07-01 01:45:01] local.INFO: Processing buffer {"connection_id":119370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a2ac758012d51d840064b5d30000901452a..."} 
[2026-07-01 01:45:01] local.INFO: Packet analysis {"connection_id":119370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a2a"} 
[2026-07-01 01:45:01] local.INFO: Extracted packet for processing {"connection_id":119370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a2a"} 
[2026-07-01 01:45:01] local.INFO: GPS Element Parsed {"raw_longitude":760338496,"raw_latitude":105602352,"longitude_deg":76.0338496,"latitude_deg":10.5602352,"altitude":9,"angle":325,"satellites":42,"speed":37,"hex_longitude":"2d51d840","hex_latitude":"064b5d30","is_valid_coordinates":true} 
[2026-07-01 01:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409710080001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332430185242558464,"note":"Value kept but may cause issues"} 
[2026-07-01 01:45:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5903867294794209280,"note":"Value kept but may cause issues"} 
[2026-07-01 01:45:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782850439000,"timestamp_ms":1782850439000,"timestamp_seconds":1782850439,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a2ac758"} 
[2026-07-01 01:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:45:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-01 01:45:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:45:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":119370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":119370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":119370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:45:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409710080001,"66":27365,"50":206,"78":62464,"24":37,"16":332430185242558464,"45":5903867294794209280},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,78,24,16,45]} 
[2026-07-01 01:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409710080001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:45:01] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-01 01:45:01] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 01:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332430185242558464,"km_value":332430185242558.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:45:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5903867294794209280,"description":"Unknown IO ID 45"} 
[2026-07-01 01:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409710080001,"power":27365,"unknown_50":206,"unknown_78":62464,"ignition":37,"odometer":null,"unknown_45":5903867294794209280}} 
[2026-07-01 01:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":119370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:45:01] local.INFO: GPS data processed {"connection_id":119370,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:45:01] local.INFO: Acknowledgment sent {"connection_id":119370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:45:23] local.INFO: TCP Data received {"connection_id":118619,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 01:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118619,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 01:45:23] local.INFO: Processing buffer {"connection_id":118619,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 01:45:23] local.INFO: IMEI packet received {"connection_id":118619,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 01:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":118619,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:45:27] local.INFO: TCP Data received {"connection_id":120471,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:45:27] local.INFO: Processing buffer {"connection_id":120471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:45:27] local.INFO: IMEI packet received {"connection_id":120471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 01:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":120471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:45:28] local.INFO: TCP Data received {"connection_id":120471,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:45:28] local.INFO: Processing buffer {"connection_id":120471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:45:28] local.INFO: IMEI packet received {"connection_id":120471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:45:28] local.INFO: IMEI acknowledgment sent {"connection_id":120471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:45:32] local.INFO: TCP Data received {"connection_id":120471,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:45:32] local.INFO: Processing buffer {"connection_id":120471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:45:32] local.INFO: IMEI packet received {"connection_id":120471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":120471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:45:40] local.INFO: TCP Data received {"connection_id":120471,"ip":"42.106.6.17","data_length":1348,"data_hex":"000000000000030f8e0a0000019f1a2aea80012d51c380064b7bf0000801472a..."} 
[2026-07-01 01:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120471,"packet_length":1348,"packet_hex":"000000000000030f8e0a0000019f1a2aea80012d51c380064b7bf0000801472a..."} 
[2026-07-01 01:45:40] local.INFO: Processing buffer {"connection_id":120471,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a0000019f1a2aea80012d51c380064b7bf0000801472a..."} 
[2026-07-01 01:45:40] local.INFO: Packet analysis {"connection_id":120471,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a0000019f1a2a"} 
[2026-07-01 01:45:40] local.INFO: Extracted packet for processing {"connection_id":120471,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019f1a2a"} 
[2026-07-01 01:45:40] local.INFO: GPS Element Parsed {"raw_longitude":760333184,"raw_latitude":105610224,"longitude_deg":76.0333184,"latitude_deg":10.5610224,"altitude":8,"angle":327,"satellites":42,"speed":45,"hex_longitude":"2d51c380","hex_latitude":"064b7bf0","is_valid_coordinates":true} 
[2026-07-01 01: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-01 01:45:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409712384001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:45:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332430644804059136,"note":"Value kept but may cause issues"} 
[2026-07-01 01:45:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5897534107820044288,"note":"Value kept but may cause issues"} 
[2026-07-01 01:45:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:45:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782850448000,"timestamp_ms":1782850448000,"timestamp_seconds":1782850448,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a2aea80"} 
[2026-07-01 01: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-01 01:45:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 01:45:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01: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-01 01: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-01 01:45:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:45:40] local.INFO: Teltonika packet parsed successfully {"connection_id":120471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:45:40] local.INFO: Passing IMEI to GPS processor {"connection_id":120471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:45:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":120471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:45: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-01 01:45:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:45:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:45:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409712384001,"66":27267,"50":206,"78":62464,"24":45,"16":332430644804059136,"45":5897534107820044288},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,78,24,16,45]} 
[2026-07-01 01:45:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:45:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:45:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409712384001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:45:40] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-01 01:45:40] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 01:45:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332430644804059136,"km_value":332430644804059.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:45:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":5897534107820044288,"description":"Unknown IO ID 45"} 
[2026-07-01 01:45:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409712384001,"power":27267,"unknown_50":206,"unknown_78":62464,"ignition":45,"odometer":null,"unknown_45":5897534107820044288}} 
[2026-07-01 01:45:40] local.INFO: DEBUG: GPS processor result {"connection_id":120471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:45:40] local.INFO: GPS data processed {"connection_id":120471,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:45:40] local.INFO: Acknowledgment sent {"connection_id":120471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:45:40] local.INFO: Packet analysis {"connection_id":120471,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019f1a2b"} 
[2026-07-01 01:45:40] local.INFO: Incomplete packet, waiting for more data {"connection_id":120471,"needed":795,"available":553} 
[2026-07-01 01:45:41] local.INFO: TCP Data received {"connection_id":120471,"ip":"42.106.6.17","data_length":1037,"data_hex":"0000000000019f1a2a32e8012d523640064ac3e0000d014b2a00320000000a00..."} 
[2026-07-01 01:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120471,"packet_length":1037,"packet_hex":"0000000000019f1a2a32e8012d523640064ac3e0000d014b2a00320000000a00..."} 
[2026-07-01 01:45:41] local.INFO: Processing buffer {"connection_id":120471,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f1a2b09c0012d51b0c0064b9b880008014b2a..."} 
[2026-07-01 01:45:41] local.INFO: Packet analysis {"connection_id":120471,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f1a2b"} 
[2026-07-01 01:45:41] local.INFO: Extracted packet for processing {"connection_id":120471,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a2b"} 
[2026-07-01 01:45:41] local.INFO: GPS Element Parsed {"raw_longitude":760328384,"raw_latitude":105618312,"longitude_deg":76.0328384,"latitude_deg":10.5618312,"altitude":8,"angle":331,"satellites":42,"speed":48,"hex_longitude":"2d51b0c0","hex_latitude":"064b9b88","is_valid_coordinates":true} 
[2026-07-01 01: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-01 01:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409714688001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332431095775625216,"note":"Value kept but may cause issues"} 
[2026-07-01 01:45:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5891693502055313408,"note":"Value kept but may cause issues"} 
[2026-07-01 01:45:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782850456000,"timestamp_ms":1782850456000,"timestamp_seconds":1782850456,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a2b09c0"} 
[2026-07-01 01: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-01 01:45:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-01 01:45:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01: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-01 01: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-01 01:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":120471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":120471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":120471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01: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-01 01:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409714688001,"66":27093,"50":206,"78":62464,"24":48,"16":332431095775625216,"45":5891693502055313408},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,78,24,16,45]} 
[2026-07-01 01:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409714688001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:45:41] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-01 01:45:41] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 01:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332431095775625216,"km_value":332431095775625.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:45:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":5891693502055313408,"description":"Unknown IO ID 45"} 
[2026-07-01 01:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409714688001,"power":27093,"unknown_50":206,"unknown_78":62464,"ignition":48,"odometer":null,"unknown_45":5891693502055313408}} 
[2026-07-01 01:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":120471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:45:41] local.INFO: GPS data processed {"connection_id":120471,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:45:41] local.INFO: Acknowledgment sent {"connection_id":120471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:45:41] local.INFO: Packet analysis {"connection_id":120471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a2b"} 
[2026-07-01 01:45:41] local.INFO: Extracted packet for processing {"connection_id":120471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a2b"} 
[2026-07-01 01:45:41] local.INFO: GPS Element Parsed {"raw_longitude":760323968,"raw_latitude":105626824,"longitude_deg":76.0323968,"latitude_deg":10.5626824,"altitude":8,"angle":334,"satellites":41,"speed":46,"hex_longitude":"2d519f80","hex_latitude":"064bbcc8","is_valid_coordinates":true} 
[2026-07-01 01: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-01 01:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409716736001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332431559632093184,"note":"Value kept but may cause issues"} 
[2026-07-01 01:45:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5886415846244059136,"note":"Value kept but may cause issues"} 
[2026-07-01 01:45:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782850464000,"timestamp_ms":1782850464000,"timestamp_seconds":1782850464,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a2b2900"} 
[2026-07-01 01: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-01 01:45:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01: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":105,"n8_eight_byte":213,"data_length":795,"current_offset":136} 
[2026-07-01 01:45:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2640,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01: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-01 01: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-01 01:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":120471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":120471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":120471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01: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-01 01:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409716736001,"66":27463,"50":206,"78":62464,"24":46,"16":332431559632093184,"45":5886415846244059136},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,78,24,16,45]} 
[2026-07-01 01:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409716736001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:45:41] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-01 01:45:41] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 01:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332431559632093184,"km_value":332431559632093.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:45:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":5886415846244059136,"description":"Unknown IO ID 45"} 
[2026-07-01 01:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409716736001,"power":27463,"unknown_50":206,"unknown_78":62464,"ignition":46,"odometer":null,"unknown_45":5886415846244059136}} 
[2026-07-01 01:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":120471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:45:41] local.INFO: GPS data processed {"connection_id":120471,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:45:41] local.INFO: Acknowledgment sent {"connection_id":120471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:46:22] local.INFO: TCP Data received {"connection_id":118725,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:46:22] local.INFO: Processing buffer {"connection_id":118725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:46:22] local.INFO: IMEI packet received {"connection_id":118725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 01:46:22] local.INFO: IMEI acknowledgment sent {"connection_id":118725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:46:23] local.INFO: TCP Data received {"connection_id":118725,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:46:23] local.INFO: Processing buffer {"connection_id":118725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:46:23] local.INFO: IMEI packet received {"connection_id":118725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:46:23] local.INFO: IMEI acknowledgment sent {"connection_id":118725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:46:27] local.INFO: TCP Data received {"connection_id":118725,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:46:27] local.INFO: Processing buffer {"connection_id":118725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:46:27] local.INFO: IMEI packet received {"connection_id":118725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":118725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:46:29] local.INFO: TCP Data received {"connection_id":118725,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a2bec50012d516fc0064c4b400009014f2b..."} 
[2026-07-01 01:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a2bec50012d516fc0064c4b400009014f2b..."} 
[2026-07-01 01:46:29] local.INFO: Processing buffer {"connection_id":118725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a2bec50012d516fc0064c4b400009014f2b..."} 
[2026-07-01 01:46:29] local.INFO: Packet analysis {"connection_id":118725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a2b"} 
[2026-07-01 01:46:29] local.INFO: Extracted packet for processing {"connection_id":118725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a2b"} 
[2026-07-01 01:46:29] local.INFO: GPS Element Parsed {"raw_longitude":760311744,"raw_latitude":105663296,"longitude_deg":76.0311744,"latitude_deg":10.5663296,"altitude":9,"angle":335,"satellites":43,"speed":17,"hex_longitude":"2d516fc0","hex_latitude":"064c4b40","is_valid_coordinates":true} 
[2026-07-01 01: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-01 01:46:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409730560001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:46:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332433518137180160,"note":"Value kept but may cause issues"} 
[2026-07-01 01:46:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5868542185234044928,"note":"Value kept but may cause issues"} 
[2026-07-01 01:46:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:46:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782850514000,"timestamp_ms":1782850514000,"timestamp_seconds":1782850514,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a2bec50"} 
[2026-07-01 01: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-01 01:46:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01: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":105,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-07-01 01:46:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":975,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:46:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01: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-01 01:46:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:46:29] local.INFO: Teltonika packet parsed successfully {"connection_id":118725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:46:29] local.INFO: Passing IMEI to GPS processor {"connection_id":118725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:46:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":118725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:46:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:46:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:46:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:46:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409730560001,"66":26854,"49":206,"78":62464,"24":17,"16":332433518137180160,"45":5868542185234044928},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-07-01 01:46:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:46:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:46:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409730560001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:46:29] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-01 01:46:29] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 01:46:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332433518137180160,"km_value":332433518137180.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:46:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5868542185234044928,"description":"Unknown IO ID 45"} 
[2026-07-01 01:46:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409730560001,"power":26854,"unknown_49":206,"unknown_78":62464,"ignition":17,"odometer":null,"unknown_45":5868542185234044928}} 
[2026-07-01 01:46:29] local.INFO: DEBUG: GPS processor result {"connection_id":118725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:46:29] local.INFO: GPS data processed {"connection_id":118725,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:46:29] local.INFO: Acknowledgment sent {"connection_id":118725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:47:01] local.INFO: TCP Data received {"connection_id":118725,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a2c1f18012d515dc0064c6d70000b014b28..."} 
[2026-07-01 01:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a2c1f18012d515dc0064c6d70000b014b28..."} 
[2026-07-01 01:47:01] local.INFO: Processing buffer {"connection_id":118725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a2c1f18012d515dc0064c6d70000b014b28..."} 
[2026-07-01 01:47:01] local.INFO: Packet analysis {"connection_id":118725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a2c"} 
[2026-07-01 01:47:01] local.INFO: Extracted packet for processing {"connection_id":118725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a2c"} 
[2026-07-01 01:47:01] local.INFO: GPS Element Parsed {"raw_longitude":760307136,"raw_latitude":105672048,"longitude_deg":76.0307136,"latitude_deg":10.5672048,"altitude":11,"angle":331,"satellites":40,"speed":39,"hex_longitude":"2d515dc0","hex_latitude":"064c6d70","is_valid_coordinates":true} 
[2026-07-01 01:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409731584001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332433994878550016,"note":"Value kept but may cause issues"} 
[2026-07-01 01:47:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5868119972769382400,"note":"Value kept but may cause issues"} 
[2026-07-01 01:47:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782850527000,"timestamp_ms":1782850527000,"timestamp_seconds":1782850527,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a2c1f18"} 
[2026-07-01 01:47:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:47:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-07-01 01:47:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2788,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:47:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:47:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":118725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":118725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":118725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:47:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409731584001,"66":27745,"49":206,"78":62464,"24":39,"16":332433994878550016,"45":5868119972769382400},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-07-01 01:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409731584001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:47:01] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-01 01:47:01] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 01:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332433994878550016,"km_value":332433994878550.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:47:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5868119972769382400,"description":"Unknown IO ID 45"} 
[2026-07-01 01:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409731584001,"power":27745,"unknown_49":206,"unknown_78":62464,"ignition":39,"odometer":null,"unknown_45":5868119972769382400}} 
[2026-07-01 01:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":118725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:47:01] local.INFO: GPS data processed {"connection_id":118725,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:47:01] local.INFO: Acknowledgment sent {"connection_id":118725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:47:27] local.INFO: TCP Data received {"connection_id":120472,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:47:27] local.INFO: Processing buffer {"connection_id":120472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:47:27] local.INFO: IMEI packet received {"connection_id":120472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 01:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":120472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:47:32] local.INFO: TCP Data received {"connection_id":120472,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:47:32] local.INFO: Processing buffer {"connection_id":120472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:47:32] local.INFO: IMEI packet received {"connection_id":120472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":120472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:47:33] local.INFO: TCP Data received {"connection_id":120472,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a2c4240012d5149c0064c8d90000b01412b..."} 
[2026-07-01 01:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a2c4240012d5149c0064c8d90000b01412b..."} 
[2026-07-01 01:47:33] local.INFO: Processing buffer {"connection_id":120472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a2c4240012d5149c0064c8d90000b01412b..."} 
[2026-07-01 01:47:33] local.INFO: Packet analysis {"connection_id":120472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a2c"} 
[2026-07-01 01:47:33] local.INFO: Extracted packet for processing {"connection_id":120472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a2c"} 
[2026-07-01 01:47:33] local.INFO: GPS Element Parsed {"raw_longitude":760302016,"raw_latitude":105680272,"longitude_deg":76.0302016,"latitude_deg":10.5680272,"altitude":11,"angle":321,"satellites":43,"speed":44,"hex_longitude":"2d5149c0","hex_latitude":"064c8d90","is_valid_coordinates":true} 
[2026-07-01 01: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-01 01:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409734912001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332434463029985280,"note":"Value kept but may cause issues"} 
[2026-07-01 01:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5863053423190831104,"note":"Value kept but may cause issues"} 
[2026-07-01 01:47:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782850536000,"timestamp_ms":1782850536000,"timestamp_seconds":1782850536,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a2c4240"} 
[2026-07-01 01: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-01 01:47:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 01:47:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01: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-01 01: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-01 01:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":120472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":120472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":120472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:47:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409734912001,"66":27539,"49":206,"78":62464,"24":44,"16":332434463029985280,"45":5863053423190831104},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-07-01 01:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409734912001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:47:33] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-01 01:47:33] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 01:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332434463029985280,"km_value":332434463029985.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5863053423190831104,"description":"Unknown IO ID 45"} 
[2026-07-01 01:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409734912001,"power":27539,"unknown_49":206,"unknown_78":62464,"ignition":44,"odometer":null,"unknown_45":5863053423190831104}} 
[2026-07-01 01:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":120472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:47:33] local.INFO: GPS data processed {"connection_id":120472,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:47:33] local.INFO: Acknowledgment sent {"connection_id":120472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:48:04] local.INFO: TCP Data received {"connection_id":120472,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a2c6180012d5134c0064caa30000b014a29..."} 
[2026-07-01 01:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a2c6180012d5134c0064caa30000b014a29..."} 
[2026-07-01 01:48:04] local.INFO: Processing buffer {"connection_id":120472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a2c6180012d5134c0064caa30000b014a29..."} 
[2026-07-01 01:48:04] local.INFO: Packet analysis {"connection_id":120472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a2c"} 
[2026-07-01 01:48:04] local.INFO: Extracted packet for processing {"connection_id":120472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a2c"} 
[2026-07-01 01:48:04] local.INFO: GPS Element Parsed {"raw_longitude":760296640,"raw_latitude":105687600,"longitude_deg":76.029664,"latitude_deg":10.56876,"altitude":11,"angle":330,"satellites":41,"speed":42,"hex_longitude":"2d5134c0","hex_latitude":"064caa30","is_valid_coordinates":true} 
[2026-07-01 01: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-01 01:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409737216001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332434905411616768,"note":"Value kept but may cause issues"} 
[2026-07-01 01:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5857423923658723328,"note":"Value kept but may cause issues"} 
[2026-07-01 01:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782850544000,"timestamp_ms":1782850544000,"timestamp_seconds":1782850544,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a2c6180"} 
[2026-07-01 01: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-01 01:48: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-01 01: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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-01 01:48:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01: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-01 01: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-01 01:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":120472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":120472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":120472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409737216001,"66":27593,"49":206,"78":62464,"24":42,"16":332434905411616768,"45":5857423923658723328},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-07-01 01:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409737216001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:48:04] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-01 01:48:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 01:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332434905411616768,"km_value":332434905411616.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5857423923658723328,"description":"Unknown IO ID 45"} 
[2026-07-01 01:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409737216001,"power":27593,"unknown_49":206,"unknown_78":62464,"ignition":42,"odometer":null,"unknown_45":5857423923658723328}} 
[2026-07-01 01:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":120472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:48:04] local.INFO: GPS data processed {"connection_id":120472,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:48:04] local.INFO: Acknowledgment sent {"connection_id":120472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:48:22] local.INFO: TCP Data received {"connection_id":119373,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:48:22] local.INFO: Processing buffer {"connection_id":119373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:48:22] local.INFO: IMEI packet received {"connection_id":119373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 01:48:22] local.INFO: IMEI acknowledgment sent {"connection_id":119373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:48:23] local.INFO: TCP Data received {"connection_id":119373,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:48:23] local.INFO: Processing buffer {"connection_id":119373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:48:23] local.INFO: IMEI packet received {"connection_id":119373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":119373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:48:27] local.INFO: TCP Data received {"connection_id":119373,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:48:27] local.INFO: Processing buffer {"connection_id":119373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:48:27] local.INFO: IMEI packet received {"connection_id":119373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":119373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:48:28] local.INFO: TCP Data received {"connection_id":119373,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a2c84a8012d5123c0064ccac0000b014e2a..."} 
[2026-07-01 01:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a2c84a8012d5123c0064ccac0000b014e2a..."} 
[2026-07-01 01:48:28] local.INFO: Processing buffer {"connection_id":119373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a2c84a8012d5123c0064ccac0000b014e2a..."} 
[2026-07-01 01:48:28] local.INFO: Packet analysis {"connection_id":119373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a2c"} 
[2026-07-01 01:48:28] local.INFO: Extracted packet for processing {"connection_id":119373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a2c"} 
[2026-07-01 01:48:28] local.INFO: GPS Element Parsed {"raw_longitude":760292288,"raw_latitude":105695936,"longitude_deg":76.0292288,"latitude_deg":10.5695936,"altitude":11,"angle":334,"satellites":42,"speed":40,"hex_longitude":"2d5123c0","hex_latitude":"064ccac0","is_valid_coordinates":true} 
[2026-07-01 01: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-01 01:48:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409739264001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:48:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332435360678150144,"note":"Value kept but may cause issues"} 
[2026-07-01 01:48:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5851512949149675520,"note":"Value kept but may cause issues"} 
[2026-07-01 01:48:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:48:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782850553000,"timestamp_ms":1782850553000,"timestamp_seconds":1782850553,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a2c84a8"} 
[2026-07-01 01: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-01 01:48: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-01 01: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":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-01 01:48:28] 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-01 01: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-01 01: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-01 01:48:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:48:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:48:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:48:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:48:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:48:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:48:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:48:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409739264001,"66":27604,"49":206,"78":62464,"24":40,"16":332435360678150144,"45":5851512949149675520},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-07-01 01:48:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:48:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:48:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409739264001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:48:28] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-01 01:48:28] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 01:48:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332435360678150144,"km_value":332435360678150.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:48:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5851512949149675520,"description":"Unknown IO ID 45"} 
[2026-07-01 01:48:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409739264001,"power":27604,"unknown_49":206,"unknown_78":62464,"ignition":40,"odometer":null,"unknown_45":5851512949149675520}} 
[2026-07-01 01:48:28] local.INFO: DEBUG: GPS processor result {"connection_id":119373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:48:28] local.INFO: GPS data processed {"connection_id":119373,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:48:28] local.INFO: Acknowledgment sent {"connection_id":119373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:49:02] local.INFO: TCP Data received {"connection_id":119373,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a2cabb8012d511480064cea300008014e27..."} 
[2026-07-01 01:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a2cabb8012d511480064cea300008014e27..."} 
[2026-07-01 01:49:02] local.INFO: Processing buffer {"connection_id":119373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a2cabb8012d511480064cea300008014e27..."} 
[2026-07-01 01:49:02] local.INFO: Packet analysis {"connection_id":119373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a2c"} 
[2026-07-01 01:49:02] local.INFO: Extracted packet for processing {"connection_id":119373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a2c"} 
[2026-07-01 01:49:02] local.INFO: GPS Element Parsed {"raw_longitude":760288384,"raw_latitude":105703984,"longitude_deg":76.0288384,"latitude_deg":10.5703984,"altitude":8,"angle":334,"satellites":39,"speed":21,"hex_longitude":"2d511480","hex_latitude":"064cea30","is_valid_coordinates":true} 
[2026-07-01 01:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:49:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409741568001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:49:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332435790174879744,"note":"Value kept but may cause issues"} 
[2026-07-01 01:49:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5846727874547728384,"note":"Value kept but may cause issues"} 
[2026-07-01 01:49:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:49:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782850563000,"timestamp_ms":1782850563000,"timestamp_seconds":1782850563,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a2cabb8"} 
[2026-07-01 01:49:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:49:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-01 01:49:02] 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-01 01:49:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:49:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:49:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:49:02] local.INFO: Teltonika packet parsed successfully {"connection_id":119373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:49:02] local.INFO: Passing IMEI to GPS processor {"connection_id":119373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:49:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":119373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:49:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:49:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:49:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:49:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409741568001,"66":27484,"49":206,"78":62464,"24":21,"16":332435790174879744,"45":5846727874547728384},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,78,24,16,45]} 
[2026-07-01 01:49:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:49:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:49:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409741568001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:49:02] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-01 01:49:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 01:49:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332435790174879744,"km_value":332435790174879.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:49:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5846727874547728384,"description":"Unknown IO ID 45"} 
[2026-07-01 01:49:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409741568001,"power":27484,"unknown_49":206,"unknown_78":62464,"ignition":21,"odometer":null,"unknown_45":5846727874547728384}} 
[2026-07-01 01:49:02] local.INFO: DEBUG: GPS processor result {"connection_id":119373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:49:02] local.INFO: GPS data processed {"connection_id":119373,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:49:02] local.INFO: Acknowledgment sent {"connection_id":119373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:49:27] local.INFO: TCP Data received {"connection_id":120474,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:49:27] local.INFO: Processing buffer {"connection_id":120474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:49:27] local.INFO: IMEI packet received {"connection_id":120474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 01:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":120474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:49:32] local.INFO: TCP Data received {"connection_id":120474,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:49:32] local.INFO: Processing buffer {"connection_id":120474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:49:32] local.INFO: IMEI packet received {"connection_id":120474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":120474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:49:34] local.INFO: TCP Data received {"connection_id":120474,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a2e8c30012d50ba00064dbab80007014229..."} 
[2026-07-01 01:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a2e8c30012d50ba00064dbab80007014229..."} 
[2026-07-01 01:49:34] local.INFO: Processing buffer {"connection_id":120474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a2e8c30012d50ba00064dbab80007014229..."} 
[2026-07-01 01:49:34] local.INFO: Packet analysis {"connection_id":120474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a2e"} 
[2026-07-01 01:49:34] local.INFO: Extracted packet for processing {"connection_id":120474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a2e"} 
[2026-07-01 01:49:34] local.INFO: GPS Element Parsed {"raw_longitude":760265216,"raw_latitude":105757368,"longitude_deg":76.0265216,"latitude_deg":10.5757368,"altitude":7,"angle":322,"satellites":41,"speed":13,"hex_longitude":"2d50ba00","hex_latitude":"064dbab8","is_valid_coordinates":true} 
[2026-07-01 01:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409775616001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332438637738196992,"note":"Value kept but may cause issues"} 
[2026-07-01 01:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5816961895776303104,"note":"Value kept but may cause issues"} 
[2026-07-01 01:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782850686000,"timestamp_ms":1782850686000,"timestamp_seconds":1782850686,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a2e8c30"} 
[2026-07-01 01:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:49:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 01:49:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:49:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":120474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":120474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":120474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409775616001,"66":27484,"53":206,"78":62464,"24":13,"16":332438637738196992,"45":5816961895776303104},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,78,24,16,45]} 
[2026-07-01 01:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409775616001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:49:34] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-01 01:49:34] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 01:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332438637738196992,"km_value":332438637738197.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5816961895776303104,"description":"Unknown IO ID 45"} 
[2026-07-01 01:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409775616001,"power":27484,"unknown_53":206,"unknown_78":62464,"ignition":13,"odometer":null,"unknown_45":5816961895776303104}} 
[2026-07-01 01:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":120474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:49:34] local.INFO: GPS data processed {"connection_id":120474,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:49:34] local.INFO: Acknowledgment sent {"connection_id":120474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:49:37] local.INFO: TCP Data received {"connection_id":120474,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a2eda50012d50a680064dd8080006014c2a..."} 
[2026-07-01 01:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a2eda50012d50a680064dd8080006014c2a..."} 
[2026-07-01 01:49:37] local.INFO: Processing buffer {"connection_id":120474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a2eda50012d50a680064dd8080006014c2a..."} 
[2026-07-01 01:49:37] local.INFO: Packet analysis {"connection_id":120474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a2e"} 
[2026-07-01 01:49:37] local.INFO: Extracted packet for processing {"connection_id":120474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a2e"} 
[2026-07-01 01:49:37] local.INFO: GPS Element Parsed {"raw_longitude":760260224,"raw_latitude":105764872,"longitude_deg":76.0260224,"latitude_deg":10.5764872,"altitude":6,"angle":332,"satellites":42,"speed":24,"hex_longitude":"2d50a680","hex_latitude":"064dd808","is_valid_coordinates":true} 
[2026-07-01 01:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409775616001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332439071529893888,"note":"Value kept but may cause issues"} 
[2026-07-01 01:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5816961895776303104,"note":"Value kept but may cause issues"} 
[2026-07-01 01:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782850706000,"timestamp_ms":1782850706000,"timestamp_seconds":1782850706,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a2eda50"} 
[2026-07-01 01:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 01:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":120474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":120474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":120474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409775616001,"66":27658,"53":206,"78":62464,"24":24,"16":332439071529893888,"45":5816961895776303104},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,78,24,16,45]} 
[2026-07-01 01:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409775616001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:49:37] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-01 01:49:37] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 01:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332439071529893888,"km_value":332439071529893.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5816961895776303104,"description":"Unknown IO ID 45"} 
[2026-07-01 01:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409775616001,"power":27658,"unknown_53":206,"unknown_78":62464,"ignition":24,"odometer":null,"unknown_45":5816961895776303104}} 
[2026-07-01 01:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":120474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:49:38] local.INFO: GPS data processed {"connection_id":120474,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:49:38] local.INFO: Acknowledgment sent {"connection_id":120474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:50:23] local.INFO: TCP Data received {"connection_id":118621,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:50:23] local.INFO: Processing buffer {"connection_id":118621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:50:23] local.INFO: IMEI packet received {"connection_id":118621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 01:50:23] local.INFO: IMEI acknowledgment sent {"connection_id":118621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:50:26] local.INFO: TCP Data received {"connection_id":118621,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:50:27] local.INFO: Processing buffer {"connection_id":118621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:50:27] local.INFO: IMEI packet received {"connection_id":118621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":118621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:50:27] local.INFO: TCP Data received {"connection_id":118621,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a2f18d0012d509800064df8480006014d2a..."} 
[2026-07-01 01:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a2f18d0012d509800064df8480006014d2a..."} 
[2026-07-01 01:50:27] local.INFO: Processing buffer {"connection_id":118621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a2f18d0012d509800064df8480006014d2a..."} 
[2026-07-01 01:50:27] local.INFO: Packet analysis {"connection_id":118621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a2f"} 
[2026-07-01 01:50:27] local.INFO: Extracted packet for processing {"connection_id":118621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a2f"} 
[2026-07-01 01:50:27] local.INFO: GPS Element Parsed {"raw_longitude":760256512,"raw_latitude":105773128,"longitude_deg":76.0256512,"latitude_deg":10.5773128,"altitude":6,"angle":333,"satellites":42,"speed":19,"hex_longitude":"2d509800","hex_latitude":"064df848","is_valid_coordinates":true} 
[2026-07-01 01: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-01 01:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409780736001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332439509616558080,"note":"Value kept but may cause issues"} 
[2026-07-01 01:50:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5811473133732366336,"note":"Value kept but may cause issues"} 
[2026-07-01 01:50:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782850722000,"timestamp_ms":1782850722000,"timestamp_seconds":1782850722,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a2f18d0"} 
[2026-07-01 01: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-01 01:50: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-01 01: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-01 01:50:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01: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-01 01: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-01 01:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:50:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409780736001,"66":27484,"53":206,"78":62464,"24":19,"16":332439509616558080,"45":5811473133732366336},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,78,24,16,45]} 
[2026-07-01 01:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409780736001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:50:27] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-01 01:50:27] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 01:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332439509616558080,"km_value":332439509616558.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:50:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5811473133732366336,"description":"Unknown IO ID 45"} 
[2026-07-01 01:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409780736001,"power":27484,"unknown_53":206,"unknown_78":62464,"ignition":19,"odometer":null,"unknown_45":5811473133732366336}} 
[2026-07-01 01:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":118621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:50:27] local.INFO: GPS data processed {"connection_id":118621,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:50:27] local.INFO: Acknowledgment sent {"connection_id":118621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:50:42] local.INFO: TCP Data received {"connection_id":118726,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 01:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118726,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 01:50:42] local.INFO: Processing buffer {"connection_id":118726,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 01:50:42] local.INFO: IMEI packet received {"connection_id":118726,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 01:50:42] local.INFO: IMEI acknowledgment sent {"connection_id":118726,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:50:58] local.INFO: TCP Data received {"connection_id":118621,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a2f6ad8012d508940064e12f0000a01532a..."} 
[2026-07-01 01:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a2f6ad8012d508940064e12f0000a01532a..."} 
[2026-07-01 01:50:58] local.INFO: Processing buffer {"connection_id":118621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a2f6ad8012d508940064e12f0000a01532a..."} 
[2026-07-01 01:50:58] local.INFO: Packet analysis {"connection_id":118621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a2f"} 
[2026-07-01 01:50:58] local.INFO: Extracted packet for processing {"connection_id":118621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a2f"} 
[2026-07-01 01:50:58] local.INFO: GPS Element Parsed {"raw_longitude":760252736,"raw_latitude":105779952,"longitude_deg":76.0252736,"latitude_deg":10.5779952,"altitude":10,"angle":339,"satellites":42,"speed":3,"hex_longitude":"2d508940","hex_latitude":"064e12f0","is_valid_coordinates":true} 
[2026-07-01 01: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-01 01:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409784832001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332439887573680128,"note":"Value kept but may cause issues"} 
[2026-07-01 01:50:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5807391746572175360,"note":"Value kept but may cause issues"} 
[2026-07-01 01:50:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782850743000,"timestamp_ms":1782850743000,"timestamp_seconds":1782850743,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a2f6ad8"} 
[2026-07-01 01: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-01 01:50: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-01 01: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 01:50:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01: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-01 01: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-01 01:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:50:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409784832001,"66":27604,"53":206,"78":62464,"24":3,"16":332439887573680128,"45":5807391746572175360},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,78,24,16,45]} 
[2026-07-01 01:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409784832001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:50:58] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-01 01:50:58] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 01:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332439887573680128,"km_value":332439887573680.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:50:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5807391746572175360,"description":"Unknown IO ID 45"} 
[2026-07-01 01:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409784832001,"power":27604,"unknown_53":206,"unknown_78":62464,"ignition":3,"odometer":null,"unknown_45":5807391746572175360}} 
[2026-07-01 01:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":118621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:50:58] local.INFO: GPS data processed {"connection_id":118621,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:50:58] local.INFO: Acknowledgment sent {"connection_id":118621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:51:17] local.INFO: TCP Data received {"connection_id":120475,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 01:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120475,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 01:51:17] local.INFO: Processing buffer {"connection_id":120475,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 01:51:17] local.INFO: IMEI packet received {"connection_id":120475,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 01:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":120475,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:51:22] local.INFO: TCP Data received {"connection_id":119374,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:51:22] local.INFO: Processing buffer {"connection_id":119374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:51:22] local.INFO: IMEI packet received {"connection_id":119374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 01:51:22] local.INFO: IMEI acknowledgment sent {"connection_id":119374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:51:27] local.INFO: TCP Data received {"connection_id":119374,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:51:27] local.INFO: Processing buffer {"connection_id":119374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:51:27] local.INFO: IMEI packet received {"connection_id":119374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":119374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:51:28] local.INFO: TCP Data received {"connection_id":119374,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a2f7e60012d508840064e1590000b014629..."} 
[2026-07-01 01:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a2f7e60012d508840064e1590000b014629..."} 
[2026-07-01 01:51:28] local.INFO: Processing buffer {"connection_id":119374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a2f7e60012d508840064e1590000b014629..."} 
[2026-07-01 01:51:28] local.INFO: Packet analysis {"connection_id":119374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a2f"} 
[2026-07-01 01:51:28] local.INFO: Extracted packet for processing {"connection_id":119374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a2f"} 
[2026-07-01 01:51:28] local.INFO: GPS Element Parsed {"raw_longitude":760252480,"raw_latitude":105780624,"longitude_deg":76.025248,"latitude_deg":10.5780624,"altitude":11,"angle":326,"satellites":41,"speed":9,"hex_longitude":"2d508840","hex_latitude":"064e1590","is_valid_coordinates":true} 
[2026-07-01 01: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-01 01:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409790208001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332439926228385792,"note":"Value kept but may cause issues"} 
[2026-07-01 01:51:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5803239990667440128,"note":"Value kept but may cause issues"} 
[2026-07-01 01:51:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:51:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782850748000,"timestamp_ms":1782850748000,"timestamp_seconds":1782850748,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a2f7e60"} 
[2026-07-01 01: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-01 01:51:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-01 01:51:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01: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-01 01: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-01 01:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:51:28] 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-01 01:51:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:51:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:51:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409790208001,"66":27571,"53":206,"78":62464,"24":9,"16":332439926228385792,"45":5803239990667440128},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,78,24,16,45]} 
[2026-07-01 01:51:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:51:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409790208001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:51:28] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-01 01:51:28] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 01:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332439926228385792,"km_value":332439926228385.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:51:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5803239990667440128,"description":"Unknown IO ID 45"} 
[2026-07-01 01:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409790208001,"power":27571,"unknown_53":206,"unknown_78":62464,"ignition":9,"odometer":null,"unknown_45":5803239990667440128}} 
[2026-07-01 01:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":119374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:51:28] local.INFO: GPS data processed {"connection_id":119374,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:51:28] local.INFO: Acknowledgment sent {"connection_id":119374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:51:59] local.INFO: TCP Data received {"connection_id":119374,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a2fd068012d507980064e2db0000a01442a..."} 
[2026-07-01 01:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a2fd068012d507980064e2db0000a01442a..."} 
[2026-07-01 01:51:59] local.INFO: Processing buffer {"connection_id":119374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a2fd068012d507980064e2db0000a01442a..."} 
[2026-07-01 01:51:59] local.INFO: Packet analysis {"connection_id":119374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a2f"} 
[2026-07-01 01:51:59] local.INFO: Extracted packet for processing {"connection_id":119374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a2f"} 
[2026-07-01 01:51:59] local.INFO: GPS Element Parsed {"raw_longitude":760248704,"raw_latitude":105786800,"longitude_deg":76.0248704,"latitude_deg":10.57868,"altitude":10,"angle":324,"satellites":42,"speed":19,"hex_longitude":"2d507980","hex_latitude":"064e2db0","is_valid_coordinates":true} 
[2026-07-01 01:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409791488001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332440278415704064,"note":"Value kept but may cause issues"} 
[2026-07-01 01:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5802958515690901504,"note":"Value kept but may cause issues"} 
[2026-07-01 01:51:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782850769000,"timestamp_ms":1782850769000,"timestamp_seconds":1782850769,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a2fd068"} 
[2026-07-01 01:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:51: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-01 01:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-01 01:51:59] 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-01 01:51:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:51:59] 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-01 01:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409791488001,"66":27517,"53":206,"78":62464,"24":19,"16":332440278415704064,"45":5802958515690901504},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,78,24,16,45]} 
[2026-07-01 01:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409791488001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:51:59] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-01 01:51:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 01:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332440278415704064,"km_value":332440278415704.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:51:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5802958515690901504,"description":"Unknown IO ID 45"} 
[2026-07-01 01:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409791488001,"power":27517,"unknown_53":206,"unknown_78":62464,"ignition":19,"odometer":null,"unknown_45":5802958515690901504}} 
[2026-07-01 01:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":119374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:51:59] local.INFO: GPS data processed {"connection_id":119374,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:51:59] local.INFO: Acknowledgment sent {"connection_id":119374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:52:22] local.INFO: TCP Data received {"connection_id":118728,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:52:22] local.INFO: Processing buffer {"connection_id":118728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:52:22] local.INFO: IMEI packet received {"connection_id":118728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 01:52:22] local.INFO: IMEI acknowledgment sent {"connection_id":118728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:52:27] local.INFO: TCP Data received {"connection_id":118728,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:52:27] local.INFO: Processing buffer {"connection_id":118728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:52:27] local.INFO: IMEI packet received {"connection_id":118728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":118728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:52:28] local.INFO: TCP Data received {"connection_id":118728,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a2fe7d8012d507100064e3790000901362a..."} 
[2026-07-01 01:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a2fe7d8012d507100064e3790000901362a..."} 
[2026-07-01 01:52:28] local.INFO: Processing buffer {"connection_id":118728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a2fe7d8012d507100064e3790000901362a..."} 
[2026-07-01 01:52:28] local.INFO: Packet analysis {"connection_id":118728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a2f"} 
[2026-07-01 01:52:28] local.INFO: Extracted packet for processing {"connection_id":118728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a2f"} 
[2026-07-01 01:52:28] local.INFO: GPS Element Parsed {"raw_longitude":760246528,"raw_latitude":105789328,"longitude_deg":76.0246528,"latitude_deg":10.5789328,"altitude":9,"angle":310,"satellites":42,"speed":24,"hex_longitude":"2d507100","hex_latitude":"064e3790","is_valid_coordinates":true} 
[2026-07-01 01: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-01 01:52:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409796864001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:52:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332440437329494016,"note":"Value kept but may cause issues"} 
[2026-07-01 01:52:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5798806759786000384,"note":"Value kept but may cause issues"} 
[2026-07-01 01:52:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:52:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782850775000,"timestamp_ms":1782850775000,"timestamp_seconds":1782850775,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a2fe7d8"} 
[2026-07-01 01: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-01 01:52:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-01 01:52:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01: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-01 01: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-01 01:52:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:52:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:52:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:52:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:52:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:52:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:52:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:52:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409796864001,"66":27691,"53":206,"78":62464,"24":24,"16":332440437329494016,"45":5798806759786000384},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,78,24,16,45]} 
[2026-07-01 01:52:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:52:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:52:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409796864001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:52:28] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-01 01:52:28] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 01:52:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332440437329494016,"km_value":332440437329494.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:52:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5798806759786000384,"description":"Unknown IO ID 45"} 
[2026-07-01 01:52:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409796864001,"power":27691,"unknown_53":206,"unknown_78":62464,"ignition":24,"odometer":null,"unknown_45":5798806759786000384}} 
[2026-07-01 01:52:28] local.INFO: DEBUG: GPS processor result {"connection_id":118728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:52:28] local.INFO: GPS data processed {"connection_id":118728,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:52:28] local.INFO: Acknowledgment sent {"connection_id":118728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:52:59] local.INFO: TCP Data received {"connection_id":118728,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a301aa0012d505300064e4e18000901352a..."} 
[2026-07-01 01:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a301aa0012d505300064e4e18000901352a..."} 
[2026-07-01 01:52:59] local.INFO: Processing buffer {"connection_id":118728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a301aa0012d505300064e4e18000901352a..."} 
[2026-07-01 01:52:59] local.INFO: Packet analysis {"connection_id":118728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a30"} 
[2026-07-01 01:52:59] local.INFO: Extracted packet for processing {"connection_id":118728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a30"} 
[2026-07-01 01:52:59] local.INFO: GPS Element Parsed {"raw_longitude":760238848,"raw_latitude":105795096,"longitude_deg":76.0238848,"latitude_deg":10.5795096,"altitude":9,"angle":309,"satellites":42,"speed":31,"hex_longitude":"2d505300","hex_latitude":"064e4e18","is_valid_coordinates":true} 
[2026-07-01 01:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409798400001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332440896890994688,"note":"Value kept but may cause issues"} 
[2026-07-01 01:52:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5796414222484606976,"note":"Value kept but may cause issues"} 
[2026-07-01 01:52:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782850788000,"timestamp_ms":1782850788000,"timestamp_seconds":1782850788,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a301aa0"} 
[2026-07-01 01:52:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:52: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-01 01:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-01 01:52:59] 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-01 01:52:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:52:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:52:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409798400001,"66":27571,"53":206,"78":62464,"24":31,"16":332440896890994688,"45":5796414222484606976},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,78,24,16,45]} 
[2026-07-01 01:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409798400001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:52:59] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-01 01:52:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 01:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332440896890994688,"km_value":332440896890994.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:52:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5796414222484606976,"description":"Unknown IO ID 45"} 
[2026-07-01 01:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409798400001,"power":27571,"unknown_53":206,"unknown_78":62464,"ignition":31,"odometer":null,"unknown_45":5796414222484606976}} 
[2026-07-01 01:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":118728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:52:59] local.INFO: GPS data processed {"connection_id":118728,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:52:59] local.INFO: Acknowledgment sent {"connection_id":118728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:53:22] local.INFO: TCP Data received {"connection_id":119375,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:53:22] local.INFO: Processing buffer {"connection_id":119375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:53:22] local.INFO: IMEI packet received {"connection_id":119375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 01:53:22] local.INFO: IMEI acknowledgment sent {"connection_id":119375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:53:27] local.INFO: TCP Data received {"connection_id":119375,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:53:27] local.INFO: Processing buffer {"connection_id":119375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:53:27] local.INFO: IMEI packet received {"connection_id":119375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":119375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:53:28] local.INFO: TCP Data received {"connection_id":119375,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a3039e0012d5041c0064e5ed0000901412a..."} 
[2026-07-01 01:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a3039e0012d5041c0064e5ed0000901412a..."} 
[2026-07-01 01:53:28] local.INFO: Processing buffer {"connection_id":119375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a3039e0012d5041c0064e5ed0000901412a..."} 
[2026-07-01 01:53:28] local.INFO: Packet analysis {"connection_id":119375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a30"} 
[2026-07-01 01:53:28] local.INFO: Extracted packet for processing {"connection_id":119375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a30"} 
[2026-07-01 01:53:28] local.INFO: GPS Element Parsed {"raw_longitude":760234432,"raw_latitude":105799376,"longitude_deg":76.0234432,"latitude_deg":10.5799376,"altitude":9,"angle":321,"satellites":42,"speed":28,"hex_longitude":"2d5041c0","hex_latitude":"064e5ed0","is_valid_coordinates":true} 
[2026-07-01 01:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:53:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409801728001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:53:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332441193243738112,"note":"Value kept but may cause issues"} 
[2026-07-01 01:53:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5787969973184763904,"note":"Value kept but may cause issues"} 
[2026-07-01 01:53:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:53:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782850796000,"timestamp_ms":1782850796000,"timestamp_seconds":1782850796,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a3039e0"} 
[2026-07-01 01:53:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:53:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-01 01:53:28] 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-01 01:53:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:53:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:53:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:53:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:53:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:53:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:53:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:53:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:53:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:53:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409801728001,"66":27593,"53":206,"78":62464,"24":28,"16":332441193243738112,"45":5787969973184763904},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,78,24,16,45]} 
[2026-07-01 01:53:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:53:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:53:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409801728001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:53:28] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-01 01:53:28] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 01:53:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332441193243738112,"km_value":332441193243738.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:53:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5787969973184763904,"description":"Unknown IO ID 45"} 
[2026-07-01 01:53:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409801728001,"power":27593,"unknown_53":206,"unknown_78":62464,"ignition":28,"odometer":null,"unknown_45":5787969973184763904}} 
[2026-07-01 01:53:28] local.INFO: DEBUG: GPS processor result {"connection_id":119375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:53:28] local.INFO: GPS data processed {"connection_id":119375,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:53:28] local.INFO: Acknowledgment sent {"connection_id":119375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:53:59] local.INFO: TCP Data received {"connection_id":119375,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a3060f0012d503680064e6f000008012c28..."} 
[2026-07-01 01:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a3060f0012d503680064e6f000008012c28..."} 
[2026-07-01 01:53:59] local.INFO: Processing buffer {"connection_id":119375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a3060f0012d503680064e6f000008012c28..."} 
[2026-07-01 01:53:59] local.INFO: Packet analysis {"connection_id":119375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a30"} 
[2026-07-01 01:53:59] local.INFO: Extracted packet for processing {"connection_id":119375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a30"} 
[2026-07-01 01:53:59] local.INFO: GPS Element Parsed {"raw_longitude":760231552,"raw_latitude":105803520,"longitude_deg":76.0231552,"latitude_deg":10.580352,"altitude":8,"angle":300,"satellites":40,"speed":15,"hex_longitude":"2d503680","hex_latitude":"064e6f00","is_valid_coordinates":true} 
[2026-07-01 01:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:53:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409803776001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:53:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332441438056873984,"note":"Value kept but may cause issues"} 
[2026-07-01 01:53:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5783114529837600768,"note":"Value kept but may cause issues"} 
[2026-07-01 01:53:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:53:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782850806000,"timestamp_ms":1782850806000,"timestamp_seconds":1782850806,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a3060f0"} 
[2026-07-01 01:53:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:53: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-01 01:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-01 01:53:59] 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-01 01:53:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:53:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:53:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:53:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:53:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:53:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:53:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:53:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:53:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:53:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409803776001,"66":27767,"53":206,"78":62464,"24":15,"16":332441438056873984,"45":5783114529837600768},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,78,24,16,45]} 
[2026-07-01 01:53:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:53:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:53:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409803776001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:53:59] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-01 01:53:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 01:53:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332441438056873984,"km_value":332441438056874.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:53:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5783114529837600768,"description":"Unknown IO ID 45"} 
[2026-07-01 01:53:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409803776001,"power":27767,"unknown_53":206,"unknown_78":62464,"ignition":15,"odometer":null,"unknown_45":5783114529837600768}} 
[2026-07-01 01:53:59] local.INFO: DEBUG: GPS processor result {"connection_id":119375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:53:59] local.INFO: GPS data processed {"connection_id":119375,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:53:59] local.INFO: Acknowledgment sent {"connection_id":119375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:54:22] local.INFO: TCP Data received {"connection_id":120477,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:54:22] local.INFO: Processing buffer {"connection_id":120477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:54:22] local.INFO: IMEI packet received {"connection_id":120477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 01:54:22] local.INFO: IMEI acknowledgment sent {"connection_id":120477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:54:27] local.INFO: TCP Data received {"connection_id":120477,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:54:27] local.INFO: Processing buffer {"connection_id":120477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:54:27] local.INFO: IMEI packet received {"connection_id":120477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":120477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:54:28] local.INFO: TCP Data received {"connection_id":120477,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a3064d8012d5034c0064e6fc00009011a29..."} 
[2026-07-01 01:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a3064d8012d5034c0064e6fc00009011a29..."} 
[2026-07-01 01:54:28] local.INFO: Processing buffer {"connection_id":120477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a3064d8012d5034c0064e6fc00009011a29..."} 
[2026-07-01 01:54:28] local.INFO: Packet analysis {"connection_id":120477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a30"} 
[2026-07-01 01:54:28] local.INFO: Extracted packet for processing {"connection_id":120477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a30"} 
[2026-07-01 01:54:28] local.INFO: GPS Element Parsed {"raw_longitude":760231104,"raw_latitude":105803712,"longitude_deg":76.0231104,"latitude_deg":10.5803712,"altitude":9,"angle":282,"satellites":41,"speed":15,"hex_longitude":"2d5034c0","hex_latitude":"064e6fc0","is_valid_coordinates":true} 
[2026-07-01 01:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409806336001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:54:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332441463826677760,"note":"Value kept but may cause issues"} 
[2026-07-01 01:54:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5779947936350666752,"note":"Value kept but may cause issues"} 
[2026-07-01 01:54:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:54:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782850807000,"timestamp_ms":1782850807000,"timestamp_seconds":1782850807,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a3064d8"} 
[2026-07-01 01:54:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:54:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 01:54:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:54:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:54:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:54:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:54:28] local.INFO: Teltonika packet parsed successfully {"connection_id":120477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:54:28] local.INFO: Passing IMEI to GPS processor {"connection_id":120477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:54:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":120477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:54:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:54:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:54:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:54:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409806336001,"66":27615,"53":206,"78":62464,"24":15,"16":332441463826677760,"45":5779947936350666752},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,78,24,16,45]} 
[2026-07-01 01:54:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:54:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:54:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409806336001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:54:28] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-01 01:54:28] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 01:54:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332441463826677760,"km_value":332441463826677.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:54:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5779947936350666752,"description":"Unknown IO ID 45"} 
[2026-07-01 01:54:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409806336001,"power":27615,"unknown_53":206,"unknown_78":62464,"ignition":15,"odometer":null,"unknown_45":5779947936350666752}} 
[2026-07-01 01:54:28] local.INFO: DEBUG: GPS processor result {"connection_id":120477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:54:28] local.INFO: GPS data processed {"connection_id":120477,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:54:28] local.INFO: Acknowledgment sent {"connection_id":120477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:55:00] local.INFO: TCP Data received {"connection_id":120477,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a3068c0012d503340064e70080009010728..."} 
[2026-07-01 01:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a3068c0012d503340064e70080009010728..."} 
[2026-07-01 01:55:00] local.INFO: Processing buffer {"connection_id":120477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a3068c0012d503340064e70080009010728..."} 
[2026-07-01 01:55:00] local.INFO: Packet analysis {"connection_id":120477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a30"} 
[2026-07-01 01:55:00] local.INFO: Extracted packet for processing {"connection_id":120477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a30"} 
[2026-07-01 01:55:00] local.INFO: GPS Element Parsed {"raw_longitude":760230720,"raw_latitude":105803784,"longitude_deg":76.023072,"latitude_deg":10.5803784,"altitude":9,"angle":263,"satellites":40,"speed":15,"hex_longitude":"2d503340","hex_latitude":"064e7008","is_valid_coordinates":true} 
[2026-07-01 01:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409806592001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332441481006546944,"note":"Value kept but may cause issues"} 
[2026-07-01 01:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5779455355141472256,"note":"Value kept but may cause issues"} 
[2026-07-01 01:55:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782850808000,"timestamp_ms":1782850808000,"timestamp_seconds":1782850808,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a3068c0"} 
[2026-07-01 01:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:55:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-01 01:55:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:55:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":120477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":120477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":120477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:55:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409806592001,"66":27615,"53":206,"78":62464,"24":15,"16":332441481006546944,"45":5779455355141472256},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,78,24,16,45]} 
[2026-07-01 01:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409806592001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:55:00] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-01 01:55:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 01:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332441481006546944,"km_value":332441481006546.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:55:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5779455355141472256,"description":"Unknown IO ID 45"} 
[2026-07-01 01:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409806592001,"power":27615,"unknown_53":206,"unknown_78":62464,"ignition":15,"odometer":null,"unknown_45":5779455355141472256}} 
[2026-07-01 01:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":120477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:55:00] local.INFO: GPS data processed {"connection_id":120477,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:55:00] local.INFO: Acknowledgment sent {"connection_id":120477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:55:22] local.INFO: TCP Data received {"connection_id":119376,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:55:22] local.INFO: Processing buffer {"connection_id":119376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:55:22] local.INFO: IMEI packet received {"connection_id":119376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 01:55:22] local.INFO: IMEI acknowledgment sent {"connection_id":119376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:55:27] local.INFO: TCP Data received {"connection_id":119376,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:55:27] local.INFO: Processing buffer {"connection_id":119376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:55:27] local.INFO: IMEI packet received {"connection_id":119376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:55:27] local.INFO: IMEI acknowledgment sent {"connection_id":119376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:55:29] local.INFO: TCP Data received {"connection_id":119376,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a307090012d503040064e6f90000900f328..."} 
[2026-07-01 01:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a307090012d503040064e6f90000900f328..."} 
[2026-07-01 01:55:29] local.INFO: Processing buffer {"connection_id":119376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a307090012d503040064e6f90000900f328..."} 
[2026-07-01 01:55:29] local.INFO: Packet analysis {"connection_id":119376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a30"} 
[2026-07-01 01:55:29] local.INFO: Extracted packet for processing {"connection_id":119376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a30"} 
[2026-07-01 01:55:29] local.INFO: GPS Element Parsed {"raw_longitude":760229952,"raw_latitude":105803664,"longitude_deg":76.0229952,"latitude_deg":10.5803664,"altitude":9,"angle":243,"satellites":40,"speed":12,"hex_longitude":"2d503040","hex_latitude":"064e6f90","is_valid_coordinates":true} 
[2026-07-01 01: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-01 01:55:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409806848001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:55:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332441519661252608,"note":"Value kept but may cause issues"} 
[2026-07-01 01:55:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5779033142676424704,"note":"Value kept but may cause issues"} 
[2026-07-01 01:55:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:55:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782850810000,"timestamp_ms":1782850810000,"timestamp_seconds":1782850810,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a307090"} 
[2026-07-01 01: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-01 01:55:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01: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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-01 01:55:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01: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-01 01: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-01 01:55:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:55:29] local.INFO: Teltonika packet parsed successfully {"connection_id":119376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:55:29] local.INFO: Passing IMEI to GPS processor {"connection_id":119376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:55:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":119376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:55:29] 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-01 01:55:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:55:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:55:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409806848001,"66":27647,"53":206,"78":62464,"24":12,"16":332441519661252608,"45":5779033142676424704},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,78,24,16,45]} 
[2026-07-01 01:55:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:55:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:55:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409806848001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:55:29] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-01 01:55:29] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 01:55:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332441519661252608,"km_value":332441519661252.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:55:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5779033142676424704,"description":"Unknown IO ID 45"} 
[2026-07-01 01:55:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409806848001,"power":27647,"unknown_53":206,"unknown_78":62464,"ignition":12,"odometer":null,"unknown_45":5779033142676424704}} 
[2026-07-01 01:55:29] local.INFO: DEBUG: GPS processor result {"connection_id":119376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:55:29] local.INFO: GPS data processed {"connection_id":119376,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:55:29] local.INFO: Acknowledgment sent {"connection_id":119376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:56:00] local.INFO: TCP Data received {"connection_id":119376,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a308fd0012d502700064e6a88000800e82b..."} 
[2026-07-01 01:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a308fd0012d502700064e6a88000800e82b..."} 
[2026-07-01 01:56:00] local.INFO: Processing buffer {"connection_id":119376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a308fd0012d502700064e6a88000800e82b..."} 
[2026-07-01 01:56:00] local.INFO: Packet analysis {"connection_id":119376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a30"} 
[2026-07-01 01:56:00] local.INFO: Extracted packet for processing {"connection_id":119376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a30"} 
[2026-07-01 01:56:00] local.INFO: GPS Element Parsed {"raw_longitude":760227584,"raw_latitude":105802376,"longitude_deg":76.0227584,"latitude_deg":10.5802376,"altitude":8,"angle":232,"satellites":43,"speed":16,"hex_longitude":"2d502700","hex_latitude":"064e6a88","is_valid_coordinates":true} 
[2026-07-01 01:56:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:56:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409807360001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:56:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332441648510271488,"note":"Value kept but may cause issues"} 
[2026-07-01 01:56:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5778188717746262016,"note":"Value kept but may cause issues"} 
[2026-07-01 01:56:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:56:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782850818000,"timestamp_ms":1782850818000,"timestamp_seconds":1782850818,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a308fd0"} 
[2026-07-01 01:56:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:56:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:56:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 01:56:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":3028,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:56:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:56:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:56:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:56:00] local.INFO: Teltonika packet parsed successfully {"connection_id":119376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:56:00] local.INFO: Passing IMEI to GPS processor {"connection_id":119376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:56:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":119376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:56: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-01 01:56:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:56:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:56:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409807360001,"66":27658,"8":206,"78":62464,"24":16,"16":332441648510271488,"45":5778188717746262016},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,78,24,16,45]} 
[2026-07-01 01:56:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:56:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:56:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409807360001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:56:00] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-07-01 01:56:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 01:56:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332441648510271488,"km_value":332441648510271.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:56:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5778188717746262016,"description":"Unknown IO ID 45"} 
[2026-07-01 01:56:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409807360001,"power":27658,"unknown_8":206,"unknown_78":62464,"ignition":16,"odometer":null,"unknown_45":5778188717746262016}} 
[2026-07-01 01:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":119376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:56:01] local.INFO: GPS data processed {"connection_id":119376,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:56:01] local.INFO: Acknowledgment sent {"connection_id":119376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:56:27] local.INFO: TCP Data received {"connection_id":118729,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:56:27] local.INFO: Processing buffer {"connection_id":118729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:56:27] local.INFO: IMEI packet received {"connection_id":118729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 01:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":118729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:56:32] local.INFO: TCP Data received {"connection_id":118729,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:56:32] local.INFO: Processing buffer {"connection_id":118729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:56:32] local.INFO: IMEI packet received {"connection_id":118729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":118729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:56:33] local.INFO: TCP Data received {"connection_id":118729,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a309f70012d5020c0064e6690000800e82b..."} 
[2026-07-01 01:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a309f70012d5020c0064e6690000800e82b..."} 
[2026-07-01 01:56:33] local.INFO: Processing buffer {"connection_id":118729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a309f70012d5020c0064e6690000800e82b..."} 
[2026-07-01 01:56:33] local.INFO: Packet analysis {"connection_id":118729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a30"} 
[2026-07-01 01:56:33] local.INFO: Extracted packet for processing {"connection_id":118729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a30"} 
[2026-07-01 01:56:33] local.INFO: GPS Element Parsed {"raw_longitude":760225984,"raw_latitude":105801360,"longitude_deg":76.0225984,"latitude_deg":10.580136,"altitude":8,"angle":232,"satellites":43,"speed":19,"hex_longitude":"2d5020c0","hex_latitude":"064e6690","is_valid_coordinates":true} 
[2026-07-01 01:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409809408001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332441738704584704,"note":"Value kept but may cause issues"} 
[2026-07-01 01:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5775585074211358720,"note":"Value kept but may cause issues"} 
[2026-07-01 01:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782850822000,"timestamp_ms":1782850822000,"timestamp_seconds":1782850822,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a309f70"} 
[2026-07-01 01:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:56:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 01:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-01 01:56:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:56:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":118729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":118729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":118729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:56:33] 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-01 01:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409809408001,"66":27767,"8":206,"78":62464,"24":19,"16":332441738704584704,"45":5775585074211358720},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,78,24,16,45]} 
[2026-07-01 01:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409809408001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:56:33] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-07-01 01:56:33] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 01:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332441738704584704,"km_value":332441738704584.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5775585074211358720,"description":"Unknown IO ID 45"} 
[2026-07-01 01:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409809408001,"power":27767,"unknown_8":206,"unknown_78":62464,"ignition":19,"odometer":null,"unknown_45":5775585074211358720}} 
[2026-07-01 01:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":118729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:56:33] local.INFO: GPS data processed {"connection_id":118729,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:56:33] local.INFO: Acknowledgment sent {"connection_id":118729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:56:37] local.INFO: TCP Data received {"connection_id":120478,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 01:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120478,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 01:56:37] local.INFO: Processing buffer {"connection_id":120478,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 01:56:37] local.INFO: IMEI packet received {"connection_id":120478,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 01:56:37] local.INFO: IMEI acknowledgment sent {"connection_id":120478,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:57:05] local.INFO: TCP Data received {"connection_id":118729,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a353f08012d5013c0064e5aa0001000e82e..."} 
[2026-07-01 01:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a353f08012d5013c0064e5aa0001000e82e..."} 
[2026-07-01 01:57:05] local.INFO: Processing buffer {"connection_id":118729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a353f08012d5013c0064e5aa0001000e82e..."} 
[2026-07-01 01:57:05] local.INFO: Packet analysis {"connection_id":118729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a35"} 
[2026-07-01 01:57:05] local.INFO: Extracted packet for processing {"connection_id":118729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a35"} 
[2026-07-01 01:57:05] local.INFO: GPS Element Parsed {"raw_longitude":760222656,"raw_latitude":105798304,"longitude_deg":76.0222656,"latitude_deg":10.5798304,"altitude":16,"angle":232,"satellites":46,"speed":0,"hex_longitude":"2d5013c0","hex_latitude":"064e5aa0","is_valid_coordinates":true} 
[2026-07-01 01:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409810432001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332441738704584704,"note":"Value kept but may cause issues"} 
[2026-07-01 01:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5773825855606657024,"note":"Value kept but may cause issues"} 
[2026-07-01 01:57:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782851125000,"timestamp_ms":1782851125000,"timestamp_seconds":1782851125,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a353f08"} 
[2026-07-01 01:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:57:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 01:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 01:57:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:57:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":118729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":118729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":118729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:57:05] 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-01 01:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409810432001,"66":25441,"240":206,"78":62464,"24":0,"16":332441738704584704,"45":5773825855606657024},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,78,24,16,45]} 
[2026-07-01 01:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409810432001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:57:05] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-07-01 01:57:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 01:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332441738704584704,"km_value":332441738704584.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5773825855606657024,"description":"Unknown IO ID 45"} 
[2026-07-01 01:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409810432001,"power":25441,"unknown_240":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5773825855606657024}} 
[2026-07-01 01:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":118729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:57:05] local.INFO: GPS data processed {"connection_id":118729,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:57:05] local.INFO: Acknowledgment sent {"connection_id":118729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:57:17] local.INFO: TCP Data received {"connection_id":120479,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 01:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120479,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 01:57:17] local.INFO: Processing buffer {"connection_id":120479,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 01:57:17] local.INFO: IMEI packet received {"connection_id":120479,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 01:57:17] local.INFO: IMEI acknowledgment sent {"connection_id":120479,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:57:22] local.INFO: TCP Data received {"connection_id":119377,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:57:22] local.INFO: Processing buffer {"connection_id":119377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:57:22] local.INFO: IMEI packet received {"connection_id":119377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 01:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":119377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:57:27] local.INFO: TCP Data received {"connection_id":119377,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:57:27] local.INFO: Processing buffer {"connection_id":119377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:57:27] local.INFO: IMEI packet received {"connection_id":119377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":119377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:57:28] local.INFO: TCP Data received {"connection_id":119377,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a353f08012d5013c0064e5aa0001000e82e..."} 
[2026-07-01 01:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a353f08012d5013c0064e5aa0001000e82e..."} 
[2026-07-01 01:57:28] local.INFO: Processing buffer {"connection_id":119377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a353f08012d5013c0064e5aa0001000e82e..."} 
[2026-07-01 01:57:28] local.INFO: Packet analysis {"connection_id":119377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a35"} 
[2026-07-01 01:57:28] local.INFO: Extracted packet for processing {"connection_id":119377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a35"} 
[2026-07-01 01:57:28] local.INFO: GPS Element Parsed {"raw_longitude":760222656,"raw_latitude":105798304,"longitude_deg":76.0222656,"latitude_deg":10.5798304,"altitude":16,"angle":232,"satellites":46,"speed":0,"hex_longitude":"2d5013c0","hex_latitude":"064e5aa0","is_valid_coordinates":true} 
[2026-07-01 01: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-01 01:57:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409810432001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:57:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332441738704584704,"note":"Value kept but may cause issues"} 
[2026-07-01 01:57:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5773825855606657024,"note":"Value kept but may cause issues"} 
[2026-07-01 01:57:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:57:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782851125000,"timestamp_ms":1782851125000,"timestamp_seconds":1782851125,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a353f08"} 
[2026-07-01 01: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-01 01:57:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 01: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 01:57:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01: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-01 01: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-01 01:57:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:57:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:57:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:57:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:57:28] 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-01 01:57:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:57:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:57:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409810432001,"66":25441,"240":206,"78":62464,"24":0,"16":332441738704584704,"45":5773825855606657024},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,78,24,16,45]} 
[2026-07-01 01:57:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:57:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:57:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409810432001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:57:28] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-07-01 01:57:28] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 01:57:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332441738704584704,"km_value":332441738704584.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:57:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5773825855606657024,"description":"Unknown IO ID 45"} 
[2026-07-01 01:57:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409810432001,"power":25441,"unknown_240":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5773825855606657024}} 
[2026-07-01 01:57:28] local.INFO: DEBUG: GPS processor result {"connection_id":119377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:57:28] local.INFO: GPS data processed {"connection_id":119377,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:57:28] local.INFO: Acknowledgment sent {"connection_id":119377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:57:59] local.INFO: TCP Data received {"connection_id":119377,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a353f08012d5013c0064e5aa0001000e82e..."} 
[2026-07-01 01:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a353f08012d5013c0064e5aa0001000e82e..."} 
[2026-07-01 01:57:59] local.INFO: Processing buffer {"connection_id":119377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a353f08012d5013c0064e5aa0001000e82e..."} 
[2026-07-01 01:57:59] local.INFO: Packet analysis {"connection_id":119377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a35"} 
[2026-07-01 01:57:59] local.INFO: Extracted packet for processing {"connection_id":119377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a35"} 
[2026-07-01 01:57:59] local.INFO: GPS Element Parsed {"raw_longitude":760222656,"raw_latitude":105798304,"longitude_deg":76.0222656,"latitude_deg":10.5798304,"altitude":16,"angle":232,"satellites":46,"speed":0,"hex_longitude":"2d5013c0","hex_latitude":"064e5aa0","is_valid_coordinates":true} 
[2026-07-01 01:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409810432001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332441738704584704,"note":"Value kept but may cause issues"} 
[2026-07-01 01:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5773825855606657024,"note":"Value kept but may cause issues"} 
[2026-07-01 01:57:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782851125000,"timestamp_ms":1782851125000,"timestamp_seconds":1782851125,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a353f08"} 
[2026-07-01 01:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:57:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 01:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 01:57:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:57:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:57:59] 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-01 01:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409810432001,"66":25441,"240":206,"78":62464,"24":0,"16":332441738704584704,"45":5773825855606657024},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,78,24,16,45]} 
[2026-07-01 01:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409810432001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:57:59] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-07-01 01:57:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 01:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332441738704584704,"km_value":332441738704584.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5773825855606657024,"description":"Unknown IO ID 45"} 
[2026-07-01 01:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409810432001,"power":25441,"unknown_240":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5773825855606657024}} 
[2026-07-01 01:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":119377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:57:59] local.INFO: GPS data processed {"connection_id":119377,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:57:59] local.INFO: Acknowledgment sent {"connection_id":119377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:58:22] local.INFO: TCP Data received {"connection_id":119379,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:58:22] local.INFO: Processing buffer {"connection_id":119379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:58:22] local.INFO: IMEI packet received {"connection_id":119379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 01:58:22] local.INFO: IMEI acknowledgment sent {"connection_id":119379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:58:27] local.INFO: TCP Data received {"connection_id":119379,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:58:27] local.INFO: Processing buffer {"connection_id":119379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:58:27] local.INFO: IMEI packet received {"connection_id":119379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":119379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:58:28] local.INFO: TCP Data received {"connection_id":119379,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a353f08012d5013c0064e5aa0001000e82e..."} 
[2026-07-01 01:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a353f08012d5013c0064e5aa0001000e82e..."} 
[2026-07-01 01:58:28] local.INFO: Processing buffer {"connection_id":119379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a353f08012d5013c0064e5aa0001000e82e..."} 
[2026-07-01 01:58:28] local.INFO: Packet analysis {"connection_id":119379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a35"} 
[2026-07-01 01:58:28] local.INFO: Extracted packet for processing {"connection_id":119379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a35"} 
[2026-07-01 01:58:28] local.INFO: GPS Element Parsed {"raw_longitude":760222656,"raw_latitude":105798304,"longitude_deg":76.0222656,"latitude_deg":10.5798304,"altitude":16,"angle":232,"satellites":46,"speed":0,"hex_longitude":"2d5013c0","hex_latitude":"064e5aa0","is_valid_coordinates":true} 
[2026-07-01 01:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:58:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409810432001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:58:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332441738704584704,"note":"Value kept but may cause issues"} 
[2026-07-01 01:58:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5773825855606657024,"note":"Value kept but may cause issues"} 
[2026-07-01 01:58:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:58:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782851125000,"timestamp_ms":1782851125000,"timestamp_seconds":1782851125,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a353f08"} 
[2026-07-01 01:58:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:58:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 01:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 01:58:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:58:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:58:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:58:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:58:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:58:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:58:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:58:28] 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-01 01:58:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:58:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:58:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409810432001,"66":25441,"240":206,"78":62464,"24":0,"16":332441738704584704,"45":5773825855606657024},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,78,24,16,45]} 
[2026-07-01 01:58:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:58:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:58:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409810432001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:58:28] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-07-01 01:58:28] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 01:58:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332441738704584704,"km_value":332441738704584.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:58:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5773825855606657024,"description":"Unknown IO ID 45"} 
[2026-07-01 01:58:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409810432001,"power":25441,"unknown_240":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5773825855606657024}} 
[2026-07-01 01:58:28] local.INFO: DEBUG: GPS processor result {"connection_id":119379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:58:28] local.INFO: GPS data processed {"connection_id":119379,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:58:28] local.INFO: Acknowledgment sent {"connection_id":119379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:59:00] local.INFO: TCP Data received {"connection_id":119379,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a353f08012d5013c0064e5aa0001000e82e..."} 
[2026-07-01 01:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a353f08012d5013c0064e5aa0001000e82e..."} 
[2026-07-01 01:59:00] local.INFO: Processing buffer {"connection_id":119379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a353f08012d5013c0064e5aa0001000e82e..."} 
[2026-07-01 01:59:00] local.INFO: Packet analysis {"connection_id":119379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a35"} 
[2026-07-01 01:59:00] local.INFO: Extracted packet for processing {"connection_id":119379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a35"} 
[2026-07-01 01:59:00] local.INFO: GPS Element Parsed {"raw_longitude":760222656,"raw_latitude":105798304,"longitude_deg":76.0222656,"latitude_deg":10.5798304,"altitude":16,"angle":232,"satellites":46,"speed":0,"hex_longitude":"2d5013c0","hex_latitude":"064e5aa0","is_valid_coordinates":true} 
[2026-07-01 01:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409810432001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332441738704584704,"note":"Value kept but may cause issues"} 
[2026-07-01 01:59:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5773825855606657024,"note":"Value kept but may cause issues"} 
[2026-07-01 01:59:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782851125000,"timestamp_ms":1782851125000,"timestamp_seconds":1782851125,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a353f08"} 
[2026-07-01 01:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:59:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 01:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 01:59:00] 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-01 01:59:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":119379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":119379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":119379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:59:00] 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-01 01:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409810432001,"66":25441,"240":206,"78":62464,"24":0,"16":332441738704584704,"45":5773825855606657024},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,78,24,16,45]} 
[2026-07-01 01:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409810432001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:59:00] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-07-01 01:59:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 01:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332441738704584704,"km_value":332441738704584.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:59:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5773825855606657024,"description":"Unknown IO ID 45"} 
[2026-07-01 01:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409810432001,"power":25441,"unknown_240":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5773825855606657024}} 
[2026-07-01 01:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":119379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:59:00] local.INFO: GPS data processed {"connection_id":119379,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:59:00] local.INFO: Acknowledgment sent {"connection_id":119379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:59:27] local.INFO: TCP Data received {"connection_id":119380,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:59:27] local.INFO: Processing buffer {"connection_id":119380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:59:27] local.INFO: IMEI packet received {"connection_id":119380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 01:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":119380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 01:59:32] local.INFO: TCP Data received {"connection_id":119380,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:59:32] local.INFO: Processing buffer {"connection_id":119380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 01:59:32] local.INFO: IMEI packet received {"connection_id":119380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 01:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":119380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 01:59:34] local.INFO: TCP Data received {"connection_id":119380,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a353f08012d5013c0064e5aa0001000e82e..."} 
[2026-07-01 01:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a353f08012d5013c0064e5aa0001000e82e..."} 
[2026-07-01 01:59:34] local.INFO: Processing buffer {"connection_id":119380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a353f08012d5013c0064e5aa0001000e82e..."} 
[2026-07-01 01:59:34] local.INFO: Packet analysis {"connection_id":119380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a35"} 
[2026-07-01 01:59:34] local.INFO: Extracted packet for processing {"connection_id":119380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a35"} 
[2026-07-01 01:59:34] local.INFO: GPS Element Parsed {"raw_longitude":760222656,"raw_latitude":105798304,"longitude_deg":76.0222656,"latitude_deg":10.5798304,"altitude":16,"angle":232,"satellites":46,"speed":0,"hex_longitude":"2d5013c0","hex_latitude":"064e5aa0","is_valid_coordinates":true} 
[2026-07-01 01:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409810432001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332441738704584704,"note":"Value kept but may cause issues"} 
[2026-07-01 01:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5773825855606657024,"note":"Value kept but may cause issues"} 
[2026-07-01 01:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782851125000,"timestamp_ms":1782851125000,"timestamp_seconds":1782851125,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a353f08"} 
[2026-07-01 01:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:59:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 01:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 01:59:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:59:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":119380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":119380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":119380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:59:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409810432001,"66":25441,"240":206,"78":62464,"24":0,"16":332441738704584704,"45":5773825855606657024},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,78,24,16,45]} 
[2026-07-01 01:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409810432001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:59:34] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-07-01 01:59:34] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 01:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332441738704584704,"km_value":332441738704584.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5773825855606657024,"description":"Unknown IO ID 45"} 
[2026-07-01 01:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409810432001,"power":25441,"unknown_240":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5773825855606657024}} 
[2026-07-01 01:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":119380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:59:34] local.INFO: GPS data processed {"connection_id":119380,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:59:34] local.INFO: Acknowledgment sent {"connection_id":119380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 01:59:38] local.INFO: TCP Data received {"connection_id":119380,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a353f08012d5013c0064e5aa0001000e82e..."} 
[2026-07-01 01:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a353f08012d5013c0064e5aa0001000e82e..."} 
[2026-07-01 01:59:38] local.INFO: Processing buffer {"connection_id":119380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a353f08012d5013c0064e5aa0001000e82e..."} 
[2026-07-01 01:59:38] local.INFO: Packet analysis {"connection_id":119380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a35"} 
[2026-07-01 01:59:38] local.INFO: Extracted packet for processing {"connection_id":119380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a35"} 
[2026-07-01 01:59:38] local.INFO: GPS Element Parsed {"raw_longitude":760222656,"raw_latitude":105798304,"longitude_deg":76.0222656,"latitude_deg":10.5798304,"altitude":16,"angle":232,"satellites":46,"speed":0,"hex_longitude":"2d5013c0","hex_latitude":"064e5aa0","is_valid_coordinates":true} 
[2026-07-01 01:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 01:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409810432001,"note":"Value kept but may cause issues"} 
[2026-07-01 01:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332441738704584704,"note":"Value kept but may cause issues"} 
[2026-07-01 01:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5773825855606657024,"note":"Value kept but may cause issues"} 
[2026-07-01 01:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 01:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782851125000,"timestamp_ms":1782851125000,"timestamp_seconds":1782851125,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a353f08"} 
[2026-07-01 01:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 01:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 01:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 01:59:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 01:59:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 01:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 01:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 01:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":119380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 01:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":119380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":119380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 01:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 01:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 01:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 01:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409810432001,"66":25441,"240":206,"78":62464,"24":0,"16":332441738704584704,"45":5773825855606657024},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,78,24,16,45]} 
[2026-07-01 01:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 01:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 01:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409810432001,"description":"Unknown IO ID 0"} 
[2026-07-01 01:59:38] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-07-01 01:59:38] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 01:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332441738704584704,"km_value":332441738704584.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 01:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":5773825855606657024,"description":"Unknown IO ID 45"} 
[2026-07-01 01:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409810432001,"power":25441,"unknown_240":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5773825855606657024}} 
[2026-07-01 01:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":119380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 01:59:38] local.INFO: GPS data processed {"connection_id":119380,"processed":1,"errors":0,"total":1} 
[2026-07-01 01:59:38] local.INFO: Acknowledgment sent {"connection_id":119380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:00:22] local.INFO: TCP Data received {"connection_id":118625,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:00:22] local.INFO: Processing buffer {"connection_id":118625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:00:22] local.INFO: IMEI packet received {"connection_id":118625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 02:00:22] local.INFO: IMEI acknowledgment sent {"connection_id":118625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:00:27] local.INFO: TCP Data received {"connection_id":118625,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:00:27] local.INFO: Processing buffer {"connection_id":118625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:00:27] local.INFO: IMEI packet received {"connection_id":118625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":118625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:00:28] local.INFO: TCP Data received {"connection_id":118625,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a3903e0012d5013c0064e5aa0001000e82c..."} 
[2026-07-01 02:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a3903e0012d5013c0064e5aa0001000e82c..."} 
[2026-07-01 02:00:28] local.INFO: Processing buffer {"connection_id":118625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a3903e0012d5013c0064e5aa0001000e82c..."} 
[2026-07-01 02:00:28] local.INFO: Packet analysis {"connection_id":118625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a39"} 
[2026-07-01 02:00:28] local.INFO: Extracted packet for processing {"connection_id":118625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a39"} 
[2026-07-01 02:00:28] local.INFO: GPS Element Parsed {"raw_longitude":760222656,"raw_latitude":105798304,"longitude_deg":76.0222656,"latitude_deg":10.5798304,"altitude":16,"angle":232,"satellites":44,"speed":0,"hex_longitude":"2d5013c0","hex_latitude":"064e5aa0","is_valid_coordinates":true} 
[2026-07-01 02:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:00:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409888000001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:00:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332441738704584704,"note":"Value kept but may cause issues"} 
[2026-07-01 02:00:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5770166680908636160,"note":"Value kept but may cause issues"} 
[2026-07-01 02:00:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:00:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782851372000,"timestamp_ms":1782851372000,"timestamp_seconds":1782851372,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a3903e0"} 
[2026-07-01 02:00:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:00:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 02:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 02:00:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:00:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:00:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:00:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:00:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:00:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:00:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:00:28] 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-01 02:00:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:00:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:00:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409888000001,"66":25147,"240":206,"78":62464,"24":0,"16":332441738704584704,"45":5770166680908636160},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,78,24,16,45]} 
[2026-07-01 02:00:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:00:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:00:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409888000001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:00:28] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-07-01 02:00:28] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 02:00:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332441738704584704,"km_value":332441738704584.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:00:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5770166680908636160,"description":"Unknown IO ID 45"} 
[2026-07-01 02:00:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409888000001,"power":25147,"unknown_240":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5770166680908636160}} 
[2026-07-01 02:00:28] local.INFO: DEBUG: GPS processor result {"connection_id":118625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:00:28] local.INFO: GPS data processed {"connection_id":118625,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:00:28] local.INFO: Acknowledgment sent {"connection_id":118625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:00:59] local.INFO: TCP Data received {"connection_id":118625,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a395db8012d5011c0064e59b8001000f328..."} 
[2026-07-01 02:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a395db8012d5011c0064e59b8001000f328..."} 
[2026-07-01 02:00:59] local.INFO: Processing buffer {"connection_id":118625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a395db8012d5011c0064e59b8001000f328..."} 
[2026-07-01 02:00:59] local.INFO: Packet analysis {"connection_id":118625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a39"} 
[2026-07-01 02:00:59] local.INFO: Extracted packet for processing {"connection_id":118625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a39"} 
[2026-07-01 02:00:59] local.INFO: GPS Element Parsed {"raw_longitude":760222144,"raw_latitude":105798072,"longitude_deg":76.0222144,"latitude_deg":10.5798072,"altitude":16,"angle":243,"satellites":40,"speed":0,"hex_longitude":"2d5011c0","hex_latitude":"064e59b8","is_valid_coordinates":true} 
[2026-07-01 02:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409951232001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332441738704584704,"note":"Value kept but may cause issues"} 
[2026-07-01 02:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5770166680908636160,"note":"Value kept but may cause issues"} 
[2026-07-01 02:00:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782851395000,"timestamp_ms":1782851395000,"timestamp_seconds":1782851395,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a395db8"} 
[2026-07-01 02:00:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:00: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-01 02:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-01 02:00:59] 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-01 02:00:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:00:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:00:59] 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-01 02:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409951232001,"66":27626,"240":206,"78":62464,"24":0,"16":332441738704584704,"45":5770166680908636160},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,78,24,16,45]} 
[2026-07-01 02:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409951232001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:00:59] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-07-01 02:00:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 02:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332441738704584704,"km_value":332441738704584.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5770166680908636160,"description":"Unknown IO ID 45"} 
[2026-07-01 02:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409951232001,"power":27626,"unknown_240":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5770166680908636160}} 
[2026-07-01 02:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":118625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:00:59] local.INFO: GPS data processed {"connection_id":118625,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:00:59] local.INFO: Acknowledgment sent {"connection_id":118625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:01:21] local.INFO: TCP Data received {"connection_id":119381,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:01:21] local.INFO: Processing buffer {"connection_id":119381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:01:21] local.INFO: IMEI packet received {"connection_id":119381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 02:01:21] local.INFO: IMEI acknowledgment sent {"connection_id":119381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:01:22] local.INFO: TCP Data received {"connection_id":119381,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:01:22] local.INFO: Processing buffer {"connection_id":119381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:01:22] local.INFO: IMEI packet received {"connection_id":119381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:01:22] local.INFO: IMEI acknowledgment sent {"connection_id":119381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:01:27] local.INFO: TCP Data received {"connection_id":119381,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:01:27] local.INFO: Processing buffer {"connection_id":119381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:01:27] local.INFO: IMEI packet received {"connection_id":119381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":119381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:01:33] local.INFO: TCP Data received {"connection_id":119381,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a39afc0012d5011c0064e59b8001000f32b..."} 
[2026-07-01 02:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a39afc0012d5011c0064e59b8001000f32b..."} 
[2026-07-01 02:01:33] local.INFO: Processing buffer {"connection_id":119381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a39afc0012d5011c0064e59b8001000f32b..."} 
[2026-07-01 02:01:33] local.INFO: Packet analysis {"connection_id":119381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a39"} 
[2026-07-01 02:01:33] local.INFO: Extracted packet for processing {"connection_id":119381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a39"} 
[2026-07-01 02:01:33] local.INFO: GPS Element Parsed {"raw_longitude":760222144,"raw_latitude":105798072,"longitude_deg":76.0222144,"latitude_deg":10.5798072,"altitude":16,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d5011c0","hex_latitude":"064e59b8","is_valid_coordinates":true} 
[2026-07-01 02: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-01 02:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409957120001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332441738704584704,"note":"Value kept but may cause issues"} 
[2026-07-01 02:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5769603730955155456,"note":"Value kept but may cause issues"} 
[2026-07-01 02:01:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782851416000,"timestamp_ms":1782851416000,"timestamp_seconds":1782851416,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a39afc0"} 
[2026-07-01 02: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-01 02:01:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-01 02:01:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02: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-01 02: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-01 02:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":119381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":119381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":119381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:01:33] 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-01 02:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409957120001,"66":27517,"240":206,"78":62464,"24":0,"16":332441738704584704,"45":5769603730955155456},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,78,24,16,45]} 
[2026-07-01 02:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409957120001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:01:33] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-07-01 02:01:33] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 02:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332441738704584704,"km_value":332441738704584.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5769603730955155456,"description":"Unknown IO ID 45"} 
[2026-07-01 02:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409957120001,"power":27517,"unknown_240":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5769603730955155456}} 
[2026-07-01 02:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":119381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:01:33] local.INFO: GPS data processed {"connection_id":119381,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:01:33] local.INFO: Acknowledgment sent {"connection_id":119381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:02:08] local.INFO: TCP Data received {"connection_id":119381,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a3a01c8012d5011c0064e59b8001000f32b..."} 
[2026-07-01 02:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a3a01c8012d5011c0064e59b8001000f32b..."} 
[2026-07-01 02:02:08] local.INFO: Processing buffer {"connection_id":119381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a3a01c8012d5011c0064e59b8001000f32b..."} 
[2026-07-01 02:02:08] local.INFO: Packet analysis {"connection_id":119381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a3a"} 
[2026-07-01 02:02:08] local.INFO: Extracted packet for processing {"connection_id":119381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a3a"} 
[2026-07-01 02:02:08] local.INFO: GPS Element Parsed {"raw_longitude":760222144,"raw_latitude":105798072,"longitude_deg":76.0222144,"latitude_deg":10.5798072,"altitude":16,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d5011c0","hex_latitude":"064e59b8","is_valid_coordinates":true} 
[2026-07-01 02: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-01 02:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409962496001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332441738704584704,"note":"Value kept but may cause issues"} 
[2026-07-01 02:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5769603730955155456,"note":"Value kept but may cause issues"} 
[2026-07-01 02:02:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782851437000,"timestamp_ms":1782851437000,"timestamp_seconds":1782851437,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a3a01c8"} 
[2026-07-01 02: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-01 02:02:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-01 02:02:08] 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-01 02: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-01 02: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-01 02:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":119381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":119381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":119381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:02:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 02:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409962496001,"66":27571,"240":206,"78":62464,"24":0,"16":332441738704584704,"45":5769603730955155456},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,78,24,16,45]} 
[2026-07-01 02:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409962496001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:02:08] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-07-01 02:02:08] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 02:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332441738704584704,"km_value":332441738704584.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":5769603730955155456,"description":"Unknown IO ID 45"} 
[2026-07-01 02:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409962496001,"power":27571,"unknown_240":206,"unknown_78":62464,"ignition":0,"odometer":null,"unknown_45":5769603730955155456}} 
[2026-07-01 02:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":119381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:02:08] local.INFO: GPS data processed {"connection_id":119381,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:02:08] local.INFO: Acknowledgment sent {"connection_id":119381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:02:22] local.INFO: TCP Data received {"connection_id":119382,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:02:22] local.INFO: Processing buffer {"connection_id":119382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:02:22] local.INFO: IMEI packet received {"connection_id":119382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 02:02:22] local.INFO: IMEI acknowledgment sent {"connection_id":119382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:02:25] local.INFO: TCP Data received {"connection_id":119382,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:02:25] local.INFO: Processing buffer {"connection_id":119382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:02:25] local.INFO: IMEI packet received {"connection_id":119382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":119382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:02:26] local.INFO: TCP Data received {"connection_id":119382,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a3a1938012d501180064e59e8001900e22c..."} 
[2026-07-01 02:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a3a1938012d501180064e59e8001900e22c..."} 
[2026-07-01 02:02:26] local.INFO: Processing buffer {"connection_id":119382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a3a1938012d501180064e59e8001900e22c..."} 
[2026-07-01 02:02:26] local.INFO: Packet analysis {"connection_id":119382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a3a"} 
[2026-07-01 02:02:26] local.INFO: Extracted packet for processing {"connection_id":119382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a3a"} 
[2026-07-01 02:02:26] local.INFO: GPS Element Parsed {"raw_longitude":760222080,"raw_latitude":105798120,"longitude_deg":76.022208,"latitude_deg":10.579812,"altitude":25,"angle":226,"satellites":44,"speed":2,"hex_longitude":"2d501180","hex_latitude":"064e59e8","is_valid_coordinates":true} 
[2026-07-01 02:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409967872001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:02:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332441742999552000,"note":"Value kept but may cause issues"} 
[2026-07-01 02:02:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5769603730955155456,"note":"Value kept but may cause issues"} 
[2026-07-01 02:02:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:02:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782851443000,"timestamp_ms":1782851443000,"timestamp_seconds":1782851443,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a3a1938"} 
[2026-07-01 02:02:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:02: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-01 02:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-01 02:02:26] 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-01 02:02:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:02:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:02:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:02:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:02:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:02:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:02:26] 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-01 02:02:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:02:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:02:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409967872001,"66":27484,"240":206,"78":62464,"24":2,"16":332441742999552000,"45":5769603730955155456},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,78,24,16,45]} 
[2026-07-01 02:02:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:02:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:02:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409967872001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:02:26] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-07-01 02:02:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 02:02:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332441742999552000,"km_value":332441742999552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:02:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5769603730955155456,"description":"Unknown IO ID 45"} 
[2026-07-01 02:02:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409967872001,"power":27484,"unknown_240":206,"unknown_78":62464,"ignition":2,"odometer":null,"unknown_45":5769603730955155456}} 
[2026-07-01 02:02:26] local.INFO: DEBUG: GPS processor result {"connection_id":119382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:02:26] local.INFO: GPS data processed {"connection_id":119382,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:02:26] local.INFO: Acknowledgment sent {"connection_id":119382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:02:32] local.INFO: TCP Data received {"connection_id":120480,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120480,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:02:32] local.INFO: Processing buffer {"connection_id":120480,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:02:32] local.INFO: IMEI packet received {"connection_id":120480,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 02:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":120480,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:02:58] local.INFO: TCP Data received {"connection_id":119382,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a3a3c60012d5011c0064e5930001800402d..."} 
[2026-07-01 02:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a3a3c60012d5011c0064e5930001800402d..."} 
[2026-07-01 02:02:58] local.INFO: Processing buffer {"connection_id":119382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a3a3c60012d5011c0064e5930001800402d..."} 
[2026-07-01 02:02:58] local.INFO: Packet analysis {"connection_id":119382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a3a"} 
[2026-07-01 02:02:58] local.INFO: Extracted packet for processing {"connection_id":119382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a3a"} 
[2026-07-01 02:02:58] local.INFO: GPS Element Parsed {"raw_longitude":760222144,"raw_latitude":105797936,"longitude_deg":76.0222144,"latitude_deg":10.5797936,"altitude":24,"angle":64,"satellites":45,"speed":2,"hex_longitude":"2d5011c0","hex_latitude":"064e5930","is_valid_coordinates":true} 
[2026-07-01 02: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-01 02:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409969408001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332441760179421184,"note":"Value kept but may cause issues"} 
[2026-07-01 02:02:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5769533362210990080,"note":"Value kept but may cause issues"} 
[2026-07-01 02:02:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782851452000,"timestamp_ms":1782851452000,"timestamp_seconds":1782851452,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a3a3c60"} 
[2026-07-01 02: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-01 02:02: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-01 02: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 02:02:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02: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-01 02: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-01 02:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:02:58] 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-01 02:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409969408001,"66":27376,"240":206,"78":62464,"24":2,"16":332441760179421184,"45":5769533362210990080},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,78,24,16,45]} 
[2026-07-01 02:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409969408001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:02:58] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-07-01 02:02:58] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 02:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332441760179421184,"km_value":332441760179421.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:02:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5769533362210990080,"description":"Unknown IO ID 45"} 
[2026-07-01 02:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409969408001,"power":27376,"unknown_240":206,"unknown_78":62464,"ignition":2,"odometer":null,"unknown_45":5769533362210990080}} 
[2026-07-01 02:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":119382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:02:58] local.INFO: GPS data processed {"connection_id":119382,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:02:58] local.INFO: Acknowledgment sent {"connection_id":119382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:03:17] local.INFO: TCP Data received {"connection_id":119383,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119383,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:03:17] local.INFO: Processing buffer {"connection_id":119383,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:03:17] local.INFO: IMEI packet received {"connection_id":119383,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 02:03:17] local.INFO: IMEI acknowledgment sent {"connection_id":119383,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:03:22] local.INFO: TCP Data received {"connection_id":118731,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:03:22] local.INFO: Processing buffer {"connection_id":118731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:03:22] local.INFO: IMEI packet received {"connection_id":118731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 02:03:22] local.INFO: IMEI acknowledgment sent {"connection_id":118731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:03:22] local.INFO: TCP Data received {"connection_id":119383,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119383,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:03:22] local.INFO: Processing buffer {"connection_id":119383,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:03:22] local.INFO: IMEI packet received {"connection_id":119383,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-01 02:03:22] local.INFO: IMEI acknowledgment sent {"connection_id":119383,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:03:23] local.INFO: TCP Data received {"connection_id":119383,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a2b0da8012cb2a24007823d68004f00bb2a..."} 
[2026-07-01 02:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a2b0da8012cb2a24007823d68004f00bb2a..."} 
[2026-07-01 02:03:23] local.INFO: Processing buffer {"connection_id":119383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a2b0da8012cb2a24007823d68004f00bb2a..."} 
[2026-07-01 02:03:23] local.INFO: Packet analysis {"connection_id":119383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a2b"} 
[2026-07-01 02:03:23] local.INFO: Extracted packet for processing {"connection_id":119383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a2b"} 
[2026-07-01 02:03:23] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975912,"longitude_deg":74.9904448,"latitude_deg":12.5975912,"altitude":79,"angle":187,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823d68","is_valid_coordinates":true} 
[2026-07-01 02:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:03:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409639936001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:03:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130042276758945792,"note":"Value kept but may cause issues"} 
[2026-07-01 02:03:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737241600,"note":"Value kept but may cause issues"} 
[2026-07-01 02:03:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:03:23] local.INFO: AVL Record Parsed {"raw_timestamp":1782850457000,"timestamp_ms":1782850457000,"timestamp_seconds":1782850457,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a2b0da8"} 
[2026-07-01 02:03:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:03: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-01 02:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-07-01 02:03:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:03:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:03:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:03:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:03:23] local.INFO: Teltonika packet parsed successfully {"connection_id":119383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:03:23] local.INFO: Passing IMEI to GPS processor {"connection_id":119383,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-01 02:03:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":119383,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-01 02:03:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 02:03:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-01 02:03:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-01 02:03:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409639936001,"66":25549,"184":206,"85":36096,"24":0,"16":130042276758945792,"44":-5574822987737241600},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-01 02:03:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-01 02:03:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-01 02:03:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409639936001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:03:23] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-01 02:03:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 02:03:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130042276758945792,"km_value":130042276758945.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:03:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737241600,"description":"Unknown IO ID 44"} 
[2026-07-01 02:03:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409639936001,"power":25549,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737241600}} 
[2026-07-01 02:03:23] local.INFO: DEBUG: GPS processor result {"connection_id":119383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415679,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:03:23] local.INFO: GPS data processed {"connection_id":119383,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:03:23] local.INFO: Acknowledgment sent {"connection_id":119383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:03:27] local.INFO: TCP Data received {"connection_id":118731,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:03:27] local.INFO: Processing buffer {"connection_id":118731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:03:27] local.INFO: IMEI packet received {"connection_id":118731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":118731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:03:28] local.INFO: TCP Data received {"connection_id":118731,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a3b9420012d4f95c0064e1f00000b012c2b..."} 
[2026-07-01 02:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a3b9420012d4f95c0064e1f00000b012c2b..."} 
[2026-07-01 02:03:28] local.INFO: Processing buffer {"connection_id":118731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a3b9420012d4f95c0064e1f00000b012c2b..."} 
[2026-07-01 02:03:28] local.INFO: Packet analysis {"connection_id":118731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a3b"} 
[2026-07-01 02:03:28] local.INFO: Extracted packet for processing {"connection_id":118731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a3b"} 
[2026-07-01 02:03:28] local.INFO: GPS Element Parsed {"raw_longitude":760190400,"raw_latitude":105783040,"longitude_deg":76.01904,"latitude_deg":10.578304,"altitude":11,"angle":300,"satellites":43,"speed":15,"hex_longitude":"2d4f95c0","hex_latitude":"064e1f00","is_valid_coordinates":true} 
[2026-07-01 02:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:03:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409993984001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:03:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332443568360652800,"note":"Value kept but may cause issues"} 
[2026-07-01 02:03:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5735123046304210944,"note":"Value kept but may cause issues"} 
[2026-07-01 02:03:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:03:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782851540000,"timestamp_ms":1782851540000,"timestamp_seconds":1782851540,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a3b9420"} 
[2026-07-01 02:03:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:03: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-01 02:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-01 02:03:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:03:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:03:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:03:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:03:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:03:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:03:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:03:28] 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-01 02:03:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:03:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:03:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409993984001,"66":27332,"7":206,"78":62464,"24":15,"16":332443568360652800,"45":5735123046304210944},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,78,24,16,45]} 
[2026-07-01 02:03:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:03:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:03:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409993984001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:03:28] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-01 02:03:28] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 02:03:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332443568360652800,"km_value":332443568360652.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:03:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5735123046304210944,"description":"Unknown IO ID 45"} 
[2026-07-01 02:03:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409993984001,"power":27332,"unknown_7":206,"unknown_78":62464,"ignition":15,"odometer":null,"unknown_45":5735123046304210944}} 
[2026-07-01 02:03:28] local.INFO: DEBUG: GPS processor result {"connection_id":118731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:03:28] local.INFO: GPS data processed {"connection_id":118731,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:03:28] local.INFO: Acknowledgment sent {"connection_id":118731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:04:00] local.INFO: TCP Data received {"connection_id":118731,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a3b9808012d4f9480064e2008000a013c2a..."} 
[2026-07-01 02:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a3b9808012d4f9480064e2008000a013c2a..."} 
[2026-07-01 02:04:00] local.INFO: Processing buffer {"connection_id":118731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a3b9808012d4f9480064e2008000a013c2a..."} 
[2026-07-01 02:04:00] local.INFO: Packet analysis {"connection_id":118731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a3b"} 
[2026-07-01 02:04:00] local.INFO: Extracted packet for processing {"connection_id":118731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a3b"} 
[2026-07-01 02:04:00] local.INFO: GPS Element Parsed {"raw_longitude":760190080,"raw_latitude":105783304,"longitude_deg":76.019008,"latitude_deg":10.5783304,"altitude":10,"angle":316,"satellites":42,"speed":16,"hex_longitude":"2d4f9480","hex_latitude":"064e2008","is_valid_coordinates":true} 
[2026-07-01 02:04:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:04:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409994240001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:04:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332443589835489280,"note":"Value kept but may cause issues"} 
[2026-07-01 02:04:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5734700833839185920,"note":"Value kept but may cause issues"} 
[2026-07-01 02:04:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:04:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782851541000,"timestamp_ms":1782851541000,"timestamp_seconds":1782851541,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a3b9808"} 
[2026-07-01 02:04:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:04:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 02:04:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-01 02:04:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:04:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:04:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:04:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:04:00] local.INFO: Teltonika packet parsed successfully {"connection_id":118731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:04:00] local.INFO: Passing IMEI to GPS processor {"connection_id":118731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:04:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":118731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:04:00] 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-01 02:04:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:04:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:04:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409994240001,"66":27267,"7":206,"78":62464,"24":16,"16":332443589835489280,"45":5734700833839185920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,78,24,16,45]} 
[2026-07-01 02:04:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:04:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:04:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409994240001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:04:00] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-01 02:04:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 02:04:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332443589835489280,"km_value":332443589835489.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:04:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5734700833839185920,"description":"Unknown IO ID 45"} 
[2026-07-01 02:04:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409994240001,"power":27267,"unknown_7":206,"unknown_78":62464,"ignition":16,"odometer":null,"unknown_45":5734700833839185920}} 
[2026-07-01 02:04:01] local.INFO: DEBUG: GPS processor result {"connection_id":118731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:04:01] local.INFO: GPS data processed {"connection_id":118731,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:04:01] local.INFO: Acknowledgment sent {"connection_id":118731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:04:07] local.INFO: TCP Data received {"connection_id":120481,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120481,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:04:07] local.INFO: Processing buffer {"connection_id":120481,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:04:07] local.INFO: IMEI packet received {"connection_id":120481,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 02:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":120481,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:04:25] local.INFO: TCP Data received {"connection_id":119384,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:04:25] local.INFO: Processing buffer {"connection_id":119384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:04:25] local.INFO: IMEI packet received {"connection_id":119384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 02:04:25] local.INFO: IMEI acknowledgment sent {"connection_id":119384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:04:27] local.INFO: TCP Data received {"connection_id":119384,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:04:27] local.INFO: Processing buffer {"connection_id":119384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:04:27] local.INFO: IMEI packet received {"connection_id":119384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":119384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:04:32] local.INFO: TCP Data received {"connection_id":119384,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:04:32] local.INFO: Processing buffer {"connection_id":119384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:04:32] local.INFO: IMEI packet received {"connection_id":119384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":119384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:04:34] local.INFO: TCP Data received {"connection_id":119384,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a3b9bf0012d4f93c0064e2168000a01502c..."} 
[2026-07-01 02:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a3b9bf0012d4f93c0064e2168000a01502c..."} 
[2026-07-01 02:04:34] local.INFO: Processing buffer {"connection_id":119384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a3b9bf0012d4f93c0064e2168000a01502c..."} 
[2026-07-01 02:04:34] local.INFO: Packet analysis {"connection_id":119384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a3b"} 
[2026-07-01 02:04:34] local.INFO: Extracted packet for processing {"connection_id":119384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a3b"} 
[2026-07-01 02:04:34] local.INFO: GPS Element Parsed {"raw_longitude":760189888,"raw_latitude":105783656,"longitude_deg":76.0189888,"latitude_deg":10.5783656,"altitude":10,"angle":336,"satellites":44,"speed":16,"hex_longitude":"2d4f93c0","hex_latitude":"064e2168","is_valid_coordinates":true} 
[2026-07-01 02:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409994496001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332443607015358464,"note":"Value kept but may cause issues"} 
[2026-07-01 02:04:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5734348990118365184,"note":"Value kept but may cause issues"} 
[2026-07-01 02:04:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782851542000,"timestamp_ms":1782851542000,"timestamp_seconds":1782851542,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a3b9bf0"} 
[2026-07-01 02:04:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:04:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-01 02:04:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:04:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:04:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":119384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":119384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":119384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:04:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 02:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409994496001,"66":27267,"7":206,"78":62464,"24":16,"16":332443607015358464,"45":5734348990118365184},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,78,24,16,45]} 
[2026-07-01 02:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409994496001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:04:34] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-01 02:04:34] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 02:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332443607015358464,"km_value":332443607015358.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:04:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5734348990118365184,"description":"Unknown IO ID 45"} 
[2026-07-01 02:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409994496001,"power":27267,"unknown_7":206,"unknown_78":62464,"ignition":16,"odometer":null,"unknown_45":5734348990118365184}} 
[2026-07-01 02:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":119384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:04:34] local.INFO: GPS data processed {"connection_id":119384,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:04:34] local.INFO: Acknowledgment sent {"connection_id":119384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:04:34] local.INFO: TCP Data received {"connection_id":119384,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a3bda70012d4f85c0064e41b80007014b2b..."} 
[2026-07-01 02:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a3bda70012d4f85c0064e41b80007014b2b..."} 
[2026-07-01 02:04:34] local.INFO: Processing buffer {"connection_id":119384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a3bda70012d4f85c0064e41b80007014b2b..."} 
[2026-07-01 02:04:34] local.INFO: Packet analysis {"connection_id":119384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a3b"} 
[2026-07-01 02:04:34] local.INFO: Extracted packet for processing {"connection_id":119384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a3b"} 
[2026-07-01 02:04:34] local.INFO: GPS Element Parsed {"raw_longitude":760186304,"raw_latitude":105791928,"longitude_deg":76.0186304,"latitude_deg":10.5791928,"altitude":7,"angle":331,"satellites":43,"speed":26,"hex_longitude":"2d4f85c0","hex_latitude":"064e41b8","is_valid_coordinates":true} 
[2026-07-01 02:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456409994752001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332444045102022656,"note":"Value kept but may cause issues"} 
[2026-07-01 02:04:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5734137883885922304,"note":"Value kept but may cause issues"} 
[2026-07-01 02:04:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782851558000,"timestamp_ms":1782851558000,"timestamp_seconds":1782851558,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a3bda70"} 
[2026-07-01 02:04:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:04:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-01 02:04:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:04:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:04:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":119384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":119384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":119384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:04:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 02:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456409994752001,"66":27267,"7":206,"78":62464,"24":26,"16":332444045102022656,"45":5734137883885922304},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,78,24,16,45]} 
[2026-07-01 02:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456409994752001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:04:34] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-07-01 02:04:34] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 02:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332444045102022656,"km_value":332444045102022.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:04:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5734137883885922304,"description":"Unknown IO ID 45"} 
[2026-07-01 02:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456409994752001,"power":27267,"unknown_7":206,"unknown_78":62464,"ignition":26,"odometer":null,"unknown_45":5734137883885922304}} 
[2026-07-01 02:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":119384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:04:34] local.INFO: GPS data processed {"connection_id":119384,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:04:34] local.INFO: Acknowledgment sent {"connection_id":119384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:05:06] local.INFO: TCP Data received {"connection_id":119384,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a3d49a0012d4ee140064f6750000a014c2d..."} 
[2026-07-01 02:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a3d49a0012d4ee140064f6750000a014c2d..."} 
[2026-07-01 02:05:06] local.INFO: Processing buffer {"connection_id":119384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a3d49a0012d4ee140064f6750000a014c2d..."} 
[2026-07-01 02:05:06] local.INFO: Packet analysis {"connection_id":119384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a3d"} 
[2026-07-01 02:05:06] local.INFO: Extracted packet for processing {"connection_id":119384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a3d"} 
[2026-07-01 02:05:06] local.INFO: GPS Element Parsed {"raw_longitude":760144192,"raw_latitude":105867088,"longitude_deg":76.0144192,"latitude_deg":10.5867088,"altitude":10,"angle":332,"satellites":45,"speed":49,"hex_longitude":"2d4ee140","hex_latitude":"064f6750","is_valid_coordinates":true} 
[2026-07-01 02: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-01 02:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410020864001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332448219810234368,"note":"Value kept but may cause issues"} 
[2026-07-01 02:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5689031518887112704,"note":"Value kept but may cause issues"} 
[2026-07-01 02:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782851652000,"timestamp_ms":1782851652000,"timestamp_seconds":1782851652,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a3d49a0"} 
[2026-07-01 02: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-01 02:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-01 02:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02: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-01 02: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-01 02:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":119384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":119384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":119384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 02:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410020864001,"66":27332,"60":206,"78":62464,"24":49,"16":332448219810234368,"45":5689031518887112704},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,78,24,16,45]} 
[2026-07-01 02:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410020864001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:05:06] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-01 02:05:06] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 02:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332448219810234368,"km_value":332448219810234.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5689031518887112704,"description":"Unknown IO ID 45"} 
[2026-07-01 02:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410020864001,"power":27332,"unknown_60":206,"unknown_78":62464,"ignition":49,"odometer":null,"unknown_45":5689031518887112704}} 
[2026-07-01 02:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":119384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:05:06] local.INFO: GPS data processed {"connection_id":119384,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:05:06] local.INFO: Acknowledgment sent {"connection_id":119384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:05:22] local.INFO: TCP Data received {"connection_id":118732,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:05:22] local.INFO: Processing buffer {"connection_id":118732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:05:22] local.INFO: IMEI packet received {"connection_id":118732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 02:05:22] local.INFO: IMEI acknowledgment sent {"connection_id":118732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:05:25] local.INFO: TCP Data received {"connection_id":118732,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:05:25] local.INFO: Processing buffer {"connection_id":118732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:05:25] local.INFO: IMEI packet received {"connection_id":118732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":118732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:05:28] local.INFO: TCP Data received {"connection_id":118732,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a3d64f8012d4ed040064f85b0000b014a2d..."} 
[2026-07-01 02:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a3d64f8012d4ed040064f85b0000b014a2d..."} 
[2026-07-01 02:05:28] local.INFO: Processing buffer {"connection_id":118732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a3d64f8012d4ed040064f85b0000b014a2d..."} 
[2026-07-01 02:05:28] local.INFO: Packet analysis {"connection_id":118732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a3d"} 
[2026-07-01 02:05:28] local.INFO: Extracted packet for processing {"connection_id":118732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a3d"} 
[2026-07-01 02:05:28] local.INFO: GPS Element Parsed {"raw_longitude":760139840,"raw_latitude":105874864,"longitude_deg":76.013984,"latitude_deg":10.5874864,"altitude":11,"angle":330,"satellites":45,"speed":51,"hex_longitude":"2d4ed040","hex_latitude":"064f85b0","is_valid_coordinates":true} 
[2026-07-01 02:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:05:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410022912001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:05:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332448649306963968,"note":"Value kept but may cause issues"} 
[2026-07-01 02:05:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5683894600564428800,"note":"Value kept but may cause issues"} 
[2026-07-01 02:05:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:05:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782851659000,"timestamp_ms":1782851659000,"timestamp_seconds":1782851659,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a3d64f8"} 
[2026-07-01 02:05:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:05: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-01 02:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-01 02:05:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:05:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:05:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:05:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:05:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:05:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:05:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:05:28] 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-01 02:05:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:05:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:05:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410022912001,"66":27397,"60":206,"78":62464,"24":51,"16":332448649306963968,"45":5683894600564428800},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,78,24,16,45]} 
[2026-07-01 02:05:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:05:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:05:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410022912001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:05:28] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-01 02:05:28] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 02:05:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332448649306963968,"km_value":332448649306963.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:05:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5683894600564428800,"description":"Unknown IO ID 45"} 
[2026-07-01 02:05:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410022912001,"power":27397,"unknown_60":206,"unknown_78":62464,"ignition":51,"odometer":null,"unknown_45":5683894600564428800}} 
[2026-07-01 02:05:28] local.INFO: DEBUG: GPS processor result {"connection_id":118732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:05:28] local.INFO: GPS data processed {"connection_id":118732,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:05:28] local.INFO: Acknowledgment sent {"connection_id":118732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:05:29] local.INFO: TCP Data received {"connection_id":118732,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a3d8050012d4ebf40064fa550000c014b2d..."} 
[2026-07-01 02:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a3d8050012d4ebf40064fa550000c014b2d..."} 
[2026-07-01 02:05:29] local.INFO: Processing buffer {"connection_id":118732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a3d8050012d4ebf40064fa550000c014b2d..."} 
[2026-07-01 02:05:29] local.INFO: Packet analysis {"connection_id":118732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a3d"} 
[2026-07-01 02:05:29] local.INFO: Extracted packet for processing {"connection_id":118732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a3d"} 
[2026-07-01 02:05:29] local.INFO: GPS Element Parsed {"raw_longitude":760135488,"raw_latitude":105882960,"longitude_deg":76.0135488,"latitude_deg":10.588296,"altitude":12,"angle":331,"satellites":45,"speed":53,"hex_longitude":"2d4ebf40","hex_latitude":"064fa550","is_valid_coordinates":true} 
[2026-07-01 02:05:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:05:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410024704001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:05:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332449091688595456,"note":"Value kept but may cause issues"} 
[2026-07-01 02:05:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5679109525962338304,"note":"Value kept but may cause issues"} 
[2026-07-01 02:05:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:05:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782851666000,"timestamp_ms":1782851666000,"timestamp_seconds":1782851666,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a3d8050"} 
[2026-07-01 02:05:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:05:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:05:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-01 02:05:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:05:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:05:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:05:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:05:29] local.INFO: Teltonika packet parsed successfully {"connection_id":118732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:05:29] local.INFO: Passing IMEI to GPS processor {"connection_id":118732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:05:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":118732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:05:29] 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-01 02:05:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:05:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:05:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410024704001,"66":27463,"60":206,"78":62464,"24":53,"16":332449091688595456,"45":5679109525962338304},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,78,24,16,45]} 
[2026-07-01 02:05:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:05:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:05:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410024704001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:05:29] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-01 02:05:29] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 02:05:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332449091688595456,"km_value":332449091688595.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:05:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5679109525962338304,"description":"Unknown IO ID 45"} 
[2026-07-01 02:05:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410024704001,"power":27463,"unknown_60":206,"unknown_78":62464,"ignition":53,"odometer":null,"unknown_45":5679109525962338304}} 
[2026-07-01 02:05:29] local.INFO: DEBUG: GPS processor result {"connection_id":118732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:05:29] local.INFO: GPS data processed {"connection_id":118732,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:05:29] local.INFO: Acknowledgment sent {"connection_id":118732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:06:01] local.INFO: TCP Data received {"connection_id":118732,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a3d9ba8012d4ead80064fc5f8000d014b2d..."} 
[2026-07-01 02:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a3d9ba8012d4ead80064fc5f8000d014b2d..."} 
[2026-07-01 02:06:01] local.INFO: Processing buffer {"connection_id":118732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a3d9ba8012d4ead80064fc5f8000d014b2d..."} 
[2026-07-01 02:06:01] local.INFO: Packet analysis {"connection_id":118732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a3d"} 
[2026-07-01 02:06:01] local.INFO: Extracted packet for processing {"connection_id":118732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a3d"} 
[2026-07-01 02:06:01] local.INFO: GPS Element Parsed {"raw_longitude":760130944,"raw_latitude":105891320,"longitude_deg":76.0130944,"latitude_deg":10.589132,"altitude":13,"angle":331,"satellites":45,"speed":52,"hex_longitude":"2d4ead80","hex_latitude":"064fc5f8","is_valid_coordinates":true} 
[2026-07-01 02:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410026496001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:06:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332449555545063424,"note":"Value kept but may cause issues"} 
[2026-07-01 02:06:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5674324451360329728,"note":"Value kept but may cause issues"} 
[2026-07-01 02:06:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:06:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782851673000,"timestamp_ms":1782851673000,"timestamp_seconds":1782851673,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a3d9ba8"} 
[2026-07-01 02:06:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:06:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-01 02:06:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:06:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:06:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:06:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:06:01] local.INFO: Teltonika packet parsed successfully {"connection_id":118732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:06:01] local.INFO: Passing IMEI to GPS processor {"connection_id":118732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:06:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":118732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:06:01] 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-01 02:06:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:06:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:06:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410026496001,"66":27376,"60":206,"78":62464,"24":52,"16":332449555545063424,"45":5674324451360329728},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,78,24,16,45]} 
[2026-07-01 02:06:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:06:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:06:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410026496001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:06:01] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-01 02:06:01] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 02:06:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332449555545063424,"km_value":332449555545063.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:06:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5674324451360329728,"description":"Unknown IO ID 45"} 
[2026-07-01 02:06:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410026496001,"power":27376,"unknown_60":206,"unknown_78":62464,"ignition":52,"odometer":null,"unknown_45":5674324451360329728}} 
[2026-07-01 02:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":118732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:06:01] local.INFO: GPS data processed {"connection_id":118732,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:06:01] local.INFO: Acknowledgment sent {"connection_id":118732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:06:23] local.INFO: TCP Data received {"connection_id":119386,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:06:23] local.INFO: Processing buffer {"connection_id":119386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:06:23] local.INFO: IMEI packet received {"connection_id":119386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 02:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":119386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:06:24] local.INFO: TCP Data received {"connection_id":119386,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:06:24] local.INFO: Processing buffer {"connection_id":119386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:06:24] local.INFO: IMEI packet received {"connection_id":119386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":119386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:06:27] local.INFO: TCP Data received {"connection_id":119386,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:06:27] local.INFO: Processing buffer {"connection_id":119386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:06:27] local.INFO: IMEI packet received {"connection_id":119386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":119386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:06:28] local.INFO: TCP Data received {"connection_id":119386,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a3db700012d4e9c80064fe528000c014b2c..."} 
[2026-07-01 02:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a3db700012d4e9c80064fe528000c014b2c..."} 
[2026-07-01 02:06:28] local.INFO: Processing buffer {"connection_id":119386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a3db700012d4e9c80064fe528000c014b2c..."} 
[2026-07-01 02:06:28] local.INFO: Packet analysis {"connection_id":119386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a3d"} 
[2026-07-01 02:06:28] local.INFO: Extracted packet for processing {"connection_id":119386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a3d"} 
[2026-07-01 02:06:28] local.INFO: GPS Element Parsed {"raw_longitude":760126592,"raw_latitude":105899304,"longitude_deg":76.0126592,"latitude_deg":10.5899304,"altitude":12,"angle":331,"satellites":44,"speed":50,"hex_longitude":"2d4e9c80","hex_latitude":"064fe528","is_valid_coordinates":true} 
[2026-07-01 02:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:06:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410028288001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:06:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332449993631727616,"note":"Value kept but may cause issues"} 
[2026-07-01 02:06:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5669328270525855744,"note":"Value kept but may cause issues"} 
[2026-07-01 02:06:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:06:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782851680000,"timestamp_ms":1782851680000,"timestamp_seconds":1782851680,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a3db700"} 
[2026-07-01 02:06:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:06:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-01 02:06:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:06:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:06:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:06:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:06:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:06:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:06:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:06:28] 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-01 02:06:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:06:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:06:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410028288001,"66":27397,"60":206,"78":62464,"24":50,"16":332449993631727616,"45":5669328270525855744},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,78,24,16,45]} 
[2026-07-01 02:06:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:06:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:06:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410028288001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:06:28] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-01 02:06:28] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 02:06:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332449993631727616,"km_value":332449993631727.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:06:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5669328270525855744,"description":"Unknown IO ID 45"} 
[2026-07-01 02:06:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410028288001,"power":27397,"unknown_60":206,"unknown_78":62464,"ignition":50,"odometer":null,"unknown_45":5669328270525855744}} 
[2026-07-01 02:06:28] local.INFO: DEBUG: GPS processor result {"connection_id":119386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:06:28] local.INFO: GPS data processed {"connection_id":119386,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:06:28] local.INFO: Acknowledgment sent {"connection_id":119386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:06:29] local.INFO: TCP Data received {"connection_id":119386,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a3dd258012d4e8cc006500428000b014e2d..."} 
[2026-07-01 02:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a3dd258012d4e8cc006500428000b014e2d..."} 
[2026-07-01 02:06:29] local.INFO: Processing buffer {"connection_id":119386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a3dd258012d4e8cc006500428000b014e2d..."} 
[2026-07-01 02:06:29] local.INFO: Packet analysis {"connection_id":119386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a3d"} 
[2026-07-01 02:06:29] local.INFO: Extracted packet for processing {"connection_id":119386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a3d"} 
[2026-07-01 02:06:29] local.INFO: GPS Element Parsed {"raw_longitude":760122560,"raw_latitude":105907240,"longitude_deg":76.012256,"latitude_deg":10.590724,"altitude":11,"angle":334,"satellites":45,"speed":50,"hex_longitude":"2d4e8cc0","hex_latitude":"06500428","is_valid_coordinates":true} 
[2026-07-01 02:06:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:06:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410030080001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:06:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332450423128457216,"note":"Value kept but may cause issues"} 
[2026-07-01 02:06:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5664543195923818496,"note":"Value kept but may cause issues"} 
[2026-07-01 02:06:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:06:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782851687000,"timestamp_ms":1782851687000,"timestamp_seconds":1782851687,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a3dd258"} 
[2026-07-01 02:06:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:06:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:06:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-01 02:06:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:06:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:06:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:06:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:06:29] local.INFO: Teltonika packet parsed successfully {"connection_id":119386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:06:29] local.INFO: Passing IMEI to GPS processor {"connection_id":119386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:06:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":119386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:06:29] 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-01 02:06:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:06:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:06:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410030080001,"66":27267,"60":206,"78":62464,"24":50,"16":332450423128457216,"45":5664543195923818496},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,78,24,16,45]} 
[2026-07-01 02:06:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:06:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:06:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410030080001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:06:29] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-01 02:06:29] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 02:06:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332450423128457216,"km_value":332450423128457.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:06:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5664543195923818496,"description":"Unknown IO ID 45"} 
[2026-07-01 02:06:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410030080001,"power":27267,"unknown_60":206,"unknown_78":62464,"ignition":50,"odometer":null,"unknown_45":5664543195923818496}} 
[2026-07-01 02:06:29] local.INFO: DEBUG: GPS processor result {"connection_id":119386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:06:29] local.INFO: GPS data processed {"connection_id":119386,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:06:29] local.INFO: Acknowledgment sent {"connection_id":119386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:07:01] local.INFO: TCP Data received {"connection_id":119386,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a3dedb0012d4e7d40065023c80009014e2e..."} 
[2026-07-01 02:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a3dedb0012d4e7d40065023c80009014e2e..."} 
[2026-07-01 02:07:01] local.INFO: Processing buffer {"connection_id":119386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a3dedb0012d4e7d40065023c80009014e2e..."} 
[2026-07-01 02:07:01] local.INFO: Packet analysis {"connection_id":119386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a3d"} 
[2026-07-01 02:07:01] local.INFO: Extracted packet for processing {"connection_id":119386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a3d"} 
[2026-07-01 02:07:01] local.INFO: GPS Element Parsed {"raw_longitude":760118592,"raw_latitude":105915336,"longitude_deg":76.0118592,"latitude_deg":10.5915336,"altitude":9,"angle":334,"satellites":46,"speed":51,"hex_longitude":"2d4e7d40","hex_latitude":"065023c8","is_valid_coordinates":true} 
[2026-07-01 02: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-01 02:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410031872001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:07:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332450861215121408,"note":"Value kept but may cause issues"} 
[2026-07-01 02:07:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5660109965042657280,"note":"Value kept but may cause issues"} 
[2026-07-01 02:07:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:07:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782851694000,"timestamp_ms":1782851694000,"timestamp_seconds":1782851694,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a3dedb0"} 
[2026-07-01 02: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-01 02:07:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-01 02:07:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02: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-01 02: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-01 02:07:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:07:01] local.INFO: Teltonika packet parsed successfully {"connection_id":119386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:07:01] local.INFO: Passing IMEI to GPS processor {"connection_id":119386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:07:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":119386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:07:01] 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-01 02:07:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:07:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:07:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410031872001,"66":27267,"60":206,"78":62464,"24":51,"16":332450861215121408,"45":5660109965042657280},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,78,24,16,45]} 
[2026-07-01 02:07:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:07:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:07:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410031872001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:07:01] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-01 02:07:01] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 02:07:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332450861215121408,"km_value":332450861215121.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:07:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5660109965042657280,"description":"Unknown IO ID 45"} 
[2026-07-01 02:07:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410031872001,"power":27267,"unknown_60":206,"unknown_78":62464,"ignition":51,"odometer":null,"unknown_45":5660109965042657280}} 
[2026-07-01 02:07:01] local.INFO: DEBUG: GPS processor result {"connection_id":119386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:07:01] local.INFO: GPS data processed {"connection_id":119386,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:07:01] local.INFO: Acknowledgment sent {"connection_id":119386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:07:22] local.INFO: TCP Data received {"connection_id":120483,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:07:22] local.INFO: Processing buffer {"connection_id":120483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:07:22] local.INFO: IMEI packet received {"connection_id":120483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 02:07:22] local.INFO: IMEI acknowledgment sent {"connection_id":120483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:07:23] local.INFO: TCP Data received {"connection_id":120483,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:07:23] local.INFO: Processing buffer {"connection_id":120483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:07:23] local.INFO: IMEI packet received {"connection_id":120483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":120483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:07:27] local.INFO: TCP Data received {"connection_id":120483,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:07:27] local.INFO: Processing buffer {"connection_id":120483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:07:27] local.INFO: IMEI packet received {"connection_id":120483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":120483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:07:28] local.INFO: TCP Data received {"connection_id":120483,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a3f39b8012d4ddcc00651a038000a01512d..."} 
[2026-07-01 02:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a3f39b8012d4ddcc00651a038000a01512d..."} 
[2026-07-01 02:07:28] local.INFO: Processing buffer {"connection_id":120483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a3f39b8012d4ddcc00651a038000a01512d..."} 
[2026-07-01 02:07:28] local.INFO: Packet analysis {"connection_id":120483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a3f"} 
[2026-07-01 02:07:28] local.INFO: Extracted packet for processing {"connection_id":120483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a3f"} 
[2026-07-01 02:07:28] local.INFO: GPS Element Parsed {"raw_longitude":760077504,"raw_latitude":106012728,"longitude_deg":76.0077504,"latitude_deg":10.6012728,"altitude":10,"angle":337,"satellites":45,"speed":46,"hex_longitude":"2d4ddcc0","hex_latitude":"0651a038","is_valid_coordinates":true} 
[2026-07-01 02: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-01 02:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410053632001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332455972226203648,"note":"Value kept but may cause issues"} 
[2026-07-01 02:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5614370281352028160,"note":"Value kept but may cause issues"} 
[2026-07-01 02:07:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782851779000,"timestamp_ms":1782851779000,"timestamp_seconds":1782851779,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a3f39b8"} 
[2026-07-01 02: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-01 02:07:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-01 02:07:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02: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-01 02: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-01 02:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":120483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":120483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":120483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:07:28] 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-01 02:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410053632001,"66":27343,"246":206,"78":62464,"24":46,"16":332455972226203648,"45":5614370281352028160},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,78,24,16,45]} 
[2026-07-01 02:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410053632001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:07:28] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 02:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332455972226203648,"km_value":332455972226203.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5614370281352028160,"description":"Unknown IO ID 45"} 
[2026-07-01 02:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410053632001,"power":27343,"main_input_voltage":206,"unknown_78":62464,"ignition":46,"odometer":null,"unknown_45":5614370281352028160}} 
[2026-07-01 02:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":120483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:07:28] local.INFO: GPS data processed {"connection_id":120483,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:07:28] local.INFO: Acknowledgment sent {"connection_id":120483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:07:59] local.INFO: TCP Data received {"connection_id":120483,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a3f5ce0012d4dce400651c2d8000c01522e..."} 
[2026-07-01 02:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a3f5ce0012d4dce400651c2d8000c01522e..."} 
[2026-07-01 02:07:59] local.INFO: Processing buffer {"connection_id":120483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a3f5ce0012d4dce400651c2d8000c01522e..."} 
[2026-07-01 02:07:59] local.INFO: Packet analysis {"connection_id":120483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a3f"} 
[2026-07-01 02:07:59] local.INFO: Extracted packet for processing {"connection_id":120483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a3f"} 
[2026-07-01 02:07:59] local.INFO: GPS Element Parsed {"raw_longitude":760073792,"raw_latitude":106021592,"longitude_deg":76.0073792,"latitude_deg":10.6021592,"altitude":12,"angle":338,"satellites":46,"speed":40,"hex_longitude":"2d4dce40","hex_latitude":"0651c2d8","is_valid_coordinates":true} 
[2026-07-01 02:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410055424001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332456436082671616,"note":"Value kept but may cause issues"} 
[2026-07-01 02:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5610570369168586752,"note":"Value kept but may cause issues"} 
[2026-07-01 02:07:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782851788000,"timestamp_ms":1782851788000,"timestamp_seconds":1782851788,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a3f5ce0"} 
[2026-07-01 02:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:07:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-01 02:07:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:07:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":120483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":120483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":120483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:07:59] 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-01 02:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410055424001,"66":27365,"246":206,"78":62464,"24":40,"16":332456436082671616,"45":5610570369168586752},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,78,24,16,45]} 
[2026-07-01 02:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410055424001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:07:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 02:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332456436082671616,"km_value":332456436082671.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5610570369168586752,"description":"Unknown IO ID 45"} 
[2026-07-01 02:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410055424001,"power":27365,"main_input_voltage":206,"unknown_78":62464,"ignition":40,"odometer":null,"unknown_45":5610570369168586752}} 
[2026-07-01 02:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":120483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:07:59] local.INFO: GPS data processed {"connection_id":120483,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:07:59] local.INFO: Acknowledgment sent {"connection_id":120483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:08:27] local.INFO: TCP Data received {"connection_id":120484,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:08:27] local.INFO: Processing buffer {"connection_id":120484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:08:27] local.INFO: IMEI packet received {"connection_id":120484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 02:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":120484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:08:28] local.INFO: TCP Data received {"connection_id":120484,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:08:28] local.INFO: Processing buffer {"connection_id":120484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:08:28] local.INFO: IMEI packet received {"connection_id":120484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:08:28] local.INFO: IMEI acknowledgment sent {"connection_id":120484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:08:29] local.INFO: TCP Data received {"connection_id":120484,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a3f8008012d4dbf800651e530000d014f2d..."} 
[2026-07-01 02:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a3f8008012d4dbf800651e530000d014f2d..."} 
[2026-07-01 02:08:29] local.INFO: Processing buffer {"connection_id":120484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a3f8008012d4dbf800651e530000d014f2d..."} 
[2026-07-01 02:08:29] local.INFO: Packet analysis {"connection_id":120484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a3f"} 
[2026-07-01 02:08:29] local.INFO: Extracted packet for processing {"connection_id":120484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a3f"} 
[2026-07-01 02:08:29] local.INFO: GPS Element Parsed {"raw_longitude":760070016,"raw_latitude":106030384,"longitude_deg":76.0070016,"latitude_deg":10.6030384,"altitude":13,"angle":335,"satellites":45,"speed":43,"hex_longitude":"2d4dbf80","hex_latitude":"0651e530","is_valid_coordinates":true} 
[2026-07-01 02:08:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:08:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410057728001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:08:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332456899939139584,"note":"Value kept but may cause issues"} 
[2026-07-01 02:08:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5606488982008551424,"note":"Value kept but may cause issues"} 
[2026-07-01 02:08:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:08:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782851797000,"timestamp_ms":1782851797000,"timestamp_seconds":1782851797,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a3f8008"} 
[2026-07-01 02:08:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:08:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:08:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 02:08:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:08:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:08:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:08:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:08:29] local.INFO: Teltonika packet parsed successfully {"connection_id":120484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:08:29] local.INFO: Passing IMEI to GPS processor {"connection_id":120484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:08:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":120484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:08:29] 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-01 02:08:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:08:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:08:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410057728001,"66":27267,"246":206,"78":62464,"24":43,"16":332456899939139584,"45":5606488982008551424},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,78,24,16,45]} 
[2026-07-01 02:08:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:08:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:08:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410057728001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:08:29] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 02:08:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332456899939139584,"km_value":332456899939139.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:08:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5606488982008551424,"description":"Unknown IO ID 45"} 
[2026-07-01 02:08:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410057728001,"power":27267,"main_input_voltage":206,"unknown_78":62464,"ignition":43,"odometer":null,"unknown_45":5606488982008551424}} 
[2026-07-01 02:08:29] local.INFO: DEBUG: GPS processor result {"connection_id":120484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:08:29] local.INFO: GPS data processed {"connection_id":120484,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:08:29] local.INFO: Acknowledgment sent {"connection_id":120484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:08:32] local.INFO: TCP Data received {"connection_id":120484,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a3f9f48012d4db00006520588000d014c2c..."} 
[2026-07-01 02:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a3f9f48012d4db00006520588000d014c2c..."} 
[2026-07-01 02:08:32] local.INFO: Processing buffer {"connection_id":120484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a3f9f48012d4db00006520588000d014c2c..."} 
[2026-07-01 02:08:32] local.INFO: Packet analysis {"connection_id":120484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a3f"} 
[2026-07-01 02:08:32] local.INFO: Extracted packet for processing {"connection_id":120484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a3f"} 
[2026-07-01 02:08:32] local.INFO: GPS Element Parsed {"raw_longitude":760066048,"raw_latitude":106038664,"longitude_deg":76.0066048,"latitude_deg":10.6038664,"altitude":13,"angle":332,"satellites":44,"speed":47,"hex_longitude":"2d4db000","hex_latitude":"06520588","is_valid_coordinates":true} 
[2026-07-01 02:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410060032001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332457342320771072,"note":"Value kept but may cause issues"} 
[2026-07-01 02:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5602337226104320000,"note":"Value kept but may cause issues"} 
[2026-07-01 02:08:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782851805000,"timestamp_ms":1782851805000,"timestamp_seconds":1782851805,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a3f9f48"} 
[2026-07-01 02:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:08:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-01 02:08:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:08:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":120484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":120484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":120484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:08:32] 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-01 02:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410060032001,"66":27300,"246":206,"78":62464,"24":47,"16":332457342320771072,"45":5602337226104320000},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,78,24,16,45]} 
[2026-07-01 02:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410060032001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:08:32] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 02:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332457342320771072,"km_value":332457342320771.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5602337226104320000,"description":"Unknown IO ID 45"} 
[2026-07-01 02:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410060032001,"power":27300,"main_input_voltage":206,"unknown_78":62464,"ignition":47,"odometer":null,"unknown_45":5602337226104320000}} 
[2026-07-01 02:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":120484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:08:32] local.INFO: GPS data processed {"connection_id":120484,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:08:32] local.INFO: Acknowledgment sent {"connection_id":120484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:09:04] local.INFO: TCP Data received {"connection_id":120484,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a40dbb0012d4ce24006536260000601432e..."} 
[2026-07-01 02:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a40dbb0012d4ce24006536260000601432e..."} 
[2026-07-01 02:09:04] local.INFO: Processing buffer {"connection_id":120484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a40dbb0012d4ce24006536260000601432e..."} 
[2026-07-01 02:09:04] local.INFO: Packet analysis {"connection_id":120484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a40"} 
[2026-07-01 02:09:04] local.INFO: Extracted packet for processing {"connection_id":120484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a40"} 
[2026-07-01 02:09:04] local.INFO: GPS Element Parsed {"raw_longitude":760013376,"raw_latitude":106127968,"longitude_deg":76.0013376,"latitude_deg":10.6127968,"altitude":6,"angle":323,"satellites":46,"speed":50,"hex_longitude":"2d4ce240","hex_latitude":"06536260","is_valid_coordinates":true} 
[2026-07-01 02: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-01 02:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410080768001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332462358842572800,"note":"Value kept but may cause issues"} 
[2026-07-01 02:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5546745918226966528,"note":"Value kept but may cause issues"} 
[2026-07-01 02:09:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782851886000,"timestamp_ms":1782851886000,"timestamp_seconds":1782851886,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a40dbb0"} 
[2026-07-01 02: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-01 02:09: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-01 02: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":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-01 02:09:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02: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-01 02: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-01 02:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":120484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":120484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":120484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:09:04] 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-01 02:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410080768001,"66":27365,"143":206,"78":62464,"24":50,"16":332462358842572800,"45":5546745918226966528},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,78,24,16,45]} 
[2026-07-01 02:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410080768001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:09:04] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-07-01 02:09:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 02:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332462358842572800,"km_value":332462358842572.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5546745918226966528,"description":"Unknown IO ID 45"} 
[2026-07-01 02:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410080768001,"power":27365,"unknown_143":206,"unknown_78":62464,"ignition":50,"odometer":null,"unknown_45":5546745918226966528}} 
[2026-07-01 02:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":120484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:09:04] local.INFO: GPS data processed {"connection_id":120484,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:09:04] local.INFO: Acknowledgment sent {"connection_id":120484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:09:24] local.INFO: TCP Data received {"connection_id":120485,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:09:24] local.INFO: Processing buffer {"connection_id":120485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:09:24] local.INFO: IMEI packet received {"connection_id":120485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 02:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":120485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:09:24] local.INFO: TCP Data received {"connection_id":120485,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:09:24] local.INFO: Processing buffer {"connection_id":120485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:09:24] local.INFO: IMEI packet received {"connection_id":120485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":120485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:09:27] local.INFO: TCP Data received {"connection_id":120485,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:09:27] local.INFO: Processing buffer {"connection_id":120485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:09:27] local.INFO: IMEI packet received {"connection_id":120485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":120485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:09:31] local.INFO: TCP Data received {"connection_id":120485,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:09:31] local.INFO: Processing buffer {"connection_id":120485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:09:31] local.INFO: IMEI packet received {"connection_id":120485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":120485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:09:32] local.INFO: TCP Data received {"connection_id":120485,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a40f708012d4ccd0006537e30000701432e..."} 
[2026-07-01 02:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a40f708012d4ccd0006537e30000701432e..."} 
[2026-07-01 02:09:32] local.INFO: Processing buffer {"connection_id":120485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a40f708012d4ccd0006537e30000701432e..."} 
[2026-07-01 02:09:32] local.INFO: Packet analysis {"connection_id":120485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a40"} 
[2026-07-01 02:09:32] local.INFO: Extracted packet for processing {"connection_id":120485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a40"} 
[2026-07-01 02:09:32] local.INFO: GPS Element Parsed {"raw_longitude":760007936,"raw_latitude":106135088,"longitude_deg":76.0007936,"latitude_deg":10.6135088,"altitude":7,"angle":323,"satellites":46,"speed":49,"hex_longitude":"2d4ccd00","hex_latitude":"06537e30","is_valid_coordinates":true} 
[2026-07-01 02: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-01 02:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410082816001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332462788339302400,"note":"Value kept but may cause issues"} 
[2026-07-01 02:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5540060887532068864,"note":"Value kept but may cause issues"} 
[2026-07-01 02:09:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782851893000,"timestamp_ms":1782851893000,"timestamp_seconds":1782851893,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a40f708"} 
[2026-07-01 02: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-01 02:09:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 02:09:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02: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-01 02: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-01 02:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":120485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":120485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":120485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:09:32] 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-01 02:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410082816001,"66":27234,"143":206,"78":62464,"24":49,"16":332462788339302400,"45":5540060887532068864},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,78,24,16,45]} 
[2026-07-01 02:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410082816001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:09:32] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-07-01 02:09:32] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 02:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332462788339302400,"km_value":332462788339302.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5540060887532068864,"description":"Unknown IO ID 45"} 
[2026-07-01 02:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410082816001,"power":27234,"unknown_143":206,"unknown_78":62464,"ignition":49,"odometer":null,"unknown_45":5540060887532068864}} 
[2026-07-01 02:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":120485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:09:32] local.INFO: GPS data processed {"connection_id":120485,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:09:32] local.INFO: Acknowledgment sent {"connection_id":120485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:09:37] local.INFO: TCP Data received {"connection_id":118628,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118628,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:09:37] local.INFO: Processing buffer {"connection_id":118628,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:09:37] local.INFO: IMEI packet received {"connection_id":118628,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 02:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":118628,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:10:04] local.INFO: TCP Data received {"connection_id":120485,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a411648012d4cb6c006539c80000a01442e..."} 
[2026-07-01 02:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a411648012d4cb6c006539c80000a01442e..."} 
[2026-07-01 02:10:04] local.INFO: Processing buffer {"connection_id":120485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a411648012d4cb6c006539c80000a01442e..."} 
[2026-07-01 02:10:04] local.INFO: Packet analysis {"connection_id":120485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a41"} 
[2026-07-01 02:10:04] local.INFO: Extracted packet for processing {"connection_id":120485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a41"} 
[2026-07-01 02:10:04] local.INFO: GPS Element Parsed {"raw_longitude":760002240,"raw_latitude":106142848,"longitude_deg":76.000224,"latitude_deg":10.6142848,"altitude":10,"angle":324,"satellites":46,"speed":45,"hex_longitude":"2d4cb6c0","hex_latitude":"06539c80","is_valid_coordinates":true} 
[2026-07-01 02:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410084608001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332463252195770368,"note":"Value kept but may cause issues"} 
[2026-07-01 02:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5534079544278790144,"note":"Value kept but may cause issues"} 
[2026-07-01 02:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782851901000,"timestamp_ms":1782851901000,"timestamp_seconds":1782851901,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a411648"} 
[2026-07-01 02:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:10:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-01 02:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:10:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":120485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":120485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":120485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:10:04] 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-01 02:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410084608001,"66":27332,"143":206,"78":62464,"24":45,"16":332463252195770368,"45":5534079544278790144},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,78,24,16,45]} 
[2026-07-01 02:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410084608001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:10:04] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-07-01 02:10:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 02:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332463252195770368,"km_value":332463252195770.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5534079544278790144,"description":"Unknown IO ID 45"} 
[2026-07-01 02:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410084608001,"power":27332,"unknown_143":206,"unknown_78":62464,"ignition":45,"odometer":null,"unknown_45":5534079544278790144}} 
[2026-07-01 02:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":120485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:10:04] local.INFO: GPS data processed {"connection_id":120485,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:10:04] local.INFO: Acknowledgment sent {"connection_id":120485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:10:19] local.INFO: TCP Data received {"connection_id":119387,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119387,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:10:19] local.INFO: Processing buffer {"connection_id":119387,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:10:19] local.INFO: IMEI packet received {"connection_id":119387,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 02:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":119387,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:10:23] local.INFO: TCP Data received {"connection_id":118629,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:10:23] local.INFO: Processing buffer {"connection_id":118629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:10:23] local.INFO: IMEI packet received {"connection_id":118629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 02:10:23] local.INFO: IMEI acknowledgment sent {"connection_id":118629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:10:27] local.INFO: TCP Data received {"connection_id":118629,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:10:27] local.INFO: Processing buffer {"connection_id":118629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:10:27] local.INFO: IMEI packet received {"connection_id":118629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":118629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:10:32] local.INFO: TCP Data received {"connection_id":118629,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a413588012d4ca2800653ba08000c01482e..."} 
[2026-07-01 02:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a413588012d4ca2800653ba08000c01482e..."} 
[2026-07-01 02:10:32] local.INFO: Processing buffer {"connection_id":118629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a413588012d4ca2800653ba08000c01482e..."} 
[2026-07-01 02:10:32] local.INFO: Packet analysis {"connection_id":118629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a41"} 
[2026-07-01 02:10:32] local.INFO: Extracted packet for processing {"connection_id":118629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a41"} 
[2026-07-01 02:10:32] local.INFO: GPS Element Parsed {"raw_longitude":759997056,"raw_latitude":106150408,"longitude_deg":75.9997056,"latitude_deg":10.6150408,"altitude":12,"angle":328,"satellites":46,"speed":45,"hex_longitude":"2d4ca280","hex_latitude":"0653ba08","is_valid_coordinates":true} 
[2026-07-01 02:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410086656001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332463694577401856,"note":"Value kept but may cause issues"} 
[2026-07-01 02:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5527816726048964608,"note":"Value kept but may cause issues"} 
[2026-07-01 02:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782851909000,"timestamp_ms":1782851909000,"timestamp_seconds":1782851909,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a413588"} 
[2026-07-01 02:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:10:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-01 02:10:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:10:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":118629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":118629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":118629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:10:32] 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-01 02:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410086656001,"66":27343,"143":206,"78":62464,"24":45,"16":332463694577401856,"45":5527816726048964608},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,78,24,16,45]} 
[2026-07-01 02:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410086656001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:10:32] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-07-01 02:10:32] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 02:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332463694577401856,"km_value":332463694577401.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5527816726048964608,"description":"Unknown IO ID 45"} 
[2026-07-01 02:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410086656001,"power":27343,"unknown_143":206,"unknown_78":62464,"ignition":45,"odometer":null,"unknown_45":5527816726048964608}} 
[2026-07-01 02:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":118629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:10:32] local.INFO: GPS data processed {"connection_id":118629,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:10:32] local.INFO: Acknowledgment sent {"connection_id":118629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:10:33] local.INFO: TCP Data received {"connection_id":118629,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a4154c8012d4c91c00653d9e0000d014f2c..."} 
[2026-07-01 02:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a4154c8012d4c91c00653d9e0000d014f2c..."} 
[2026-07-01 02:10:33] local.INFO: Processing buffer {"connection_id":118629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a4154c8012d4c91c00653d9e0000d014f2c..."} 
[2026-07-01 02:10:33] local.INFO: Packet analysis {"connection_id":118629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a41"} 
[2026-07-01 02:10:33] local.INFO: Extracted packet for processing {"connection_id":118629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a41"} 
[2026-07-01 02:10:33] local.INFO: GPS Element Parsed {"raw_longitude":759992768,"raw_latitude":106158560,"longitude_deg":75.9992768,"latitude_deg":10.615856,"altitude":13,"angle":335,"satellites":44,"speed":46,"hex_longitude":"2d4c91c0","hex_latitude":"0653d9e0","is_valid_coordinates":true} 
[2026-07-01 02: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-01 02:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410088704001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332464141254000640,"note":"Value kept but may cause issues"} 
[2026-07-01 02:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5522116857772509184,"note":"Value kept but may cause issues"} 
[2026-07-01 02:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782851917000,"timestamp_ms":1782851917000,"timestamp_seconds":1782851917,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a4154c8"} 
[2026-07-01 02: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-01 02:10:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-01 02:10:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02: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-01 02: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-01 02:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":118629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":118629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":118629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:10:33] 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-01 02:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410088704001,"66":27300,"143":206,"78":62464,"24":46,"16":332464141254000640,"45":5522116857772509184},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,78,24,16,45]} 
[2026-07-01 02:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410088704001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:10:33] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-07-01 02:10:33] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 02:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332464141254000640,"km_value":332464141254000.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5522116857772509184,"description":"Unknown IO ID 45"} 
[2026-07-01 02:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410088704001,"power":27300,"unknown_143":206,"unknown_78":62464,"ignition":46,"odometer":null,"unknown_45":5522116857772509184}} 
[2026-07-01 02:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":118629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:10:33] local.INFO: GPS data processed {"connection_id":118629,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:10:33] local.INFO: Acknowledgment sent {"connection_id":118629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:11:04] local.INFO: TCP Data received {"connection_id":118629,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a42c010012d4baf4006555ad00007014c2d..."} 
[2026-07-01 02:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a42c010012d4baf4006555ad00007014c2d..."} 
[2026-07-01 02:11:04] local.INFO: Processing buffer {"connection_id":118629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a42c010012d4baf4006555ad00007014c2d..."} 
[2026-07-01 02:11:04] local.INFO: Packet analysis {"connection_id":118629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a42"} 
[2026-07-01 02:11:04] local.INFO: Extracted packet for processing {"connection_id":118629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a42"} 
[2026-07-01 02:11:04] local.INFO: GPS Element Parsed {"raw_longitude":759934784,"raw_latitude":106257104,"longitude_deg":75.9934784,"latitude_deg":10.6257104,"altitude":7,"angle":332,"satellites":45,"speed":49,"hex_longitude":"2d4baf40","hex_latitude":"06555ad0","is_valid_coordinates":true} 
[2026-07-01 02:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410112768001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332469690351747072,"note":"Value kept but may cause issues"} 
[2026-07-01 02:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5458362775572838400,"note":"Value kept but may cause issues"} 
[2026-07-01 02:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782852010000,"timestamp_ms":1782852010000,"timestamp_seconds":1782852010,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a42c010"} 
[2026-07-01 02:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-01 02:11:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":118629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":118629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":118629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:11:04] 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-01 02:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410112768001,"66":27376,"145":206,"78":62464,"24":49,"16":332469690351747072,"45":5458362775572838400},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,78,24,16,45]} 
[2026-07-01 02:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410112768001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:11:04] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-01 02:11:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 02:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332469690351747072,"km_value":332469690351747.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5458362775572838400,"description":"Unknown IO ID 45"} 
[2026-07-01 02:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410112768001,"power":27376,"unknown_145":206,"unknown_78":62464,"ignition":49,"odometer":null,"unknown_45":5458362775572838400}} 
[2026-07-01 02:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":118629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:11:04] local.INFO: GPS data processed {"connection_id":118629,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:11:04] local.INFO: Acknowledgment sent {"connection_id":118629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:11:23] local.INFO: TCP Data received {"connection_id":118735,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:11:23] local.INFO: Processing buffer {"connection_id":118735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:11:23] local.INFO: IMEI packet received {"connection_id":118735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 02:11:23] local.INFO: IMEI acknowledgment sent {"connection_id":118735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:11:27] local.INFO: TCP Data received {"connection_id":118735,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:11:27] local.INFO: Processing buffer {"connection_id":118735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:11:27] local.INFO: IMEI packet received {"connection_id":118735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":118735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:11:28] local.INFO: TCP Data received {"connection_id":118735,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a42df50012d4b9d8006557b580008014b2e..."} 
[2026-07-01 02:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a42df50012d4b9d8006557b580008014b2e..."} 
[2026-07-01 02:11:28] local.INFO: Processing buffer {"connection_id":118735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a42df50012d4b9d8006557b580008014b2e..."} 
[2026-07-01 02:11:28] local.INFO: Packet analysis {"connection_id":118735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a42"} 
[2026-07-01 02:11:28] local.INFO: Extracted packet for processing {"connection_id":118735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a42"} 
[2026-07-01 02:11:28] local.INFO: GPS Element Parsed {"raw_longitude":759930240,"raw_latitude":106265432,"longitude_deg":75.993024,"latitude_deg":10.6265432,"altitude":8,"angle":331,"satellites":46,"speed":47,"hex_longitude":"2d4b9d80","hex_latitude":"06557b58","is_valid_coordinates":true} 
[2026-07-01 02:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410114560001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332470149913247744,"note":"Value kept but may cause issues"} 
[2026-07-01 02:11:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5453648069714956288,"note":"Value kept but may cause issues"} 
[2026-07-01 02:11:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782852018000,"timestamp_ms":1782852018000,"timestamp_seconds":1782852018,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a42df50"} 
[2026-07-01 02:11:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:11:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-01 02:11:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:11:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:11:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:11:28] 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-01 02:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410114560001,"66":27310,"145":206,"78":62464,"24":47,"16":332470149913247744,"45":5453648069714956288},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,78,24,16,45]} 
[2026-07-01 02:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410114560001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:11:28] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-01 02:11:28] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 02:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332470149913247744,"km_value":332470149913247.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:11:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5453648069714956288,"description":"Unknown IO ID 45"} 
[2026-07-01 02:11:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410114560001,"power":27310,"unknown_145":206,"unknown_78":62464,"ignition":47,"odometer":null,"unknown_45":5453648069714956288}} 
[2026-07-01 02:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":118735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:11:28] local.INFO: GPS data processed {"connection_id":118735,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:11:28] local.INFO: Acknowledgment sent {"connection_id":118735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:11:59] local.INFO: TCP Data received {"connection_id":118735,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a42fe90012d4b8b8006559cf80008014c2c..."} 
[2026-07-01 02:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a42fe90012d4b8b8006559cf80008014c2c..."} 
[2026-07-01 02:11:59] local.INFO: Processing buffer {"connection_id":118735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a42fe90012d4b8b8006559cf80008014c2c..."} 
[2026-07-01 02:11:59] local.INFO: Packet analysis {"connection_id":118735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a42"} 
[2026-07-01 02:11:59] local.INFO: Extracted packet for processing {"connection_id":118735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a42"} 
[2026-07-01 02:11:59] local.INFO: GPS Element Parsed {"raw_longitude":759925632,"raw_latitude":106274040,"longitude_deg":75.9925632,"latitude_deg":10.627404,"altitude":8,"angle":332,"satellites":44,"speed":49,"hex_longitude":"2d4b8b80","hex_latitude":"06559cf8","is_valid_coordinates":true} 
[2026-07-01 02:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410116608001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332470622359650304,"note":"Value kept but may cause issues"} 
[2026-07-01 02:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5448651888880474112,"note":"Value kept but may cause issues"} 
[2026-07-01 02:11:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782852026000,"timestamp_ms":1782852026000,"timestamp_seconds":1782852026,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a42fe90"} 
[2026-07-01 02:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:11:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-01 02:11:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:11:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:11:59] 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-01 02:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410116608001,"66":27332,"145":206,"78":62464,"24":49,"16":332470622359650304,"45":5448651888880474112},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,78,24,16,45]} 
[2026-07-01 02:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410116608001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:11:59] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-01 02:11:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 02:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332470622359650304,"km_value":332470622359650.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5448651888880474112,"description":"Unknown IO ID 45"} 
[2026-07-01 02:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410116608001,"power":27332,"unknown_145":206,"unknown_78":62464,"ignition":49,"odometer":null,"unknown_45":5448651888880474112}} 
[2026-07-01 02:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":118735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:11:59] local.INFO: GPS data processed {"connection_id":118735,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:11:59] local.INFO: Acknowledgment sent {"connection_id":118735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:12:22] local.INFO: TCP Data received {"connection_id":119388,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:12:22] local.INFO: Processing buffer {"connection_id":119388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:12:22] local.INFO: IMEI packet received {"connection_id":119388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 02:12:22] local.INFO: IMEI acknowledgment sent {"connection_id":119388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:12:36] local.INFO: TCP Data received {"connection_id":119388,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:12:36] local.INFO: Processing buffer {"connection_id":119388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:12:36] local.INFO: IMEI packet received {"connection_id":119388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":119388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:12:38] local.INFO: TCP Data received {"connection_id":119388,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a431dd0012d4b79000655bfe80008014b2e..."} 
[2026-07-01 02:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a431dd0012d4b79000655bfe80008014b2e..."} 
[2026-07-01 02:12:38] local.INFO: Processing buffer {"connection_id":119388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a431dd0012d4b79000655bfe80008014b2e..."} 
[2026-07-01 02:12:38] local.INFO: Packet analysis {"connection_id":119388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a43"} 
[2026-07-01 02:12:38] local.INFO: Extracted packet for processing {"connection_id":119388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a43"} 
[2026-07-01 02:12:38] local.INFO: GPS Element Parsed {"raw_longitude":759920896,"raw_latitude":106282984,"longitude_deg":75.9920896,"latitude_deg":10.6282984,"altitude":8,"angle":331,"satellites":46,"speed":50,"hex_longitude":"2d4b7900","hex_latitude":"0655bfe8","is_valid_coordinates":true} 
[2026-07-01 02:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410118656001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332471107690954752,"note":"Value kept but may cause issues"} 
[2026-07-01 02:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5443585339301885952,"note":"Value kept but may cause issues"} 
[2026-07-01 02:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782852034000,"timestamp_ms":1782852034000,"timestamp_seconds":1782852034,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a431dd0"} 
[2026-07-01 02:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-01 02:12:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:12:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":119388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":119388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":119388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 02:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410118656001,"66":27365,"145":206,"78":62464,"24":50,"16":332471107690954752,"45":5443585339301885952},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,78,24,16,45]} 
[2026-07-01 02:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410118656001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:12:38] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-01 02:12:38] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 02:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332471107690954752,"km_value":332471107690954.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":5443585339301885952,"description":"Unknown IO ID 45"} 
[2026-07-01 02:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410118656001,"power":27365,"unknown_145":206,"unknown_78":62464,"ignition":50,"odometer":null,"unknown_45":5443585339301885952}} 
[2026-07-01 02:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":119388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:12:38] local.INFO: GPS data processed {"connection_id":119388,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:12:38] local.INFO: Acknowledgment sent {"connection_id":119388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:13:22] local.INFO: TCP Data received {"connection_id":118630,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:13:22] local.INFO: Processing buffer {"connection_id":118630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:13:22] local.INFO: IMEI packet received {"connection_id":118630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 02:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":118630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:13:27] local.INFO: TCP Data received {"connection_id":118630,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:13:27] local.INFO: Processing buffer {"connection_id":118630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:13:27] local.INFO: IMEI packet received {"connection_id":118630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":118630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:13:28] local.INFO: TCP Data received {"connection_id":118630,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a4498b8012d4ab60006577bc8000b014d2e..."} 
[2026-07-01 02:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a4498b8012d4ab60006577bc8000b014d2e..."} 
[2026-07-01 02:13:28] local.INFO: Processing buffer {"connection_id":118630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a4498b8012d4ab60006577bc8000b014d2e..."} 
[2026-07-01 02:13:28] local.INFO: Packet analysis {"connection_id":118630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a44"} 
[2026-07-01 02:13:28] local.INFO: Extracted packet for processing {"connection_id":118630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a44"} 
[2026-07-01 02:13:28] local.INFO: GPS Element Parsed {"raw_longitude":759870976,"raw_latitude":106396616,"longitude_deg":75.9870976,"latitude_deg":10.6396616,"altitude":11,"angle":333,"satellites":46,"speed":53,"hex_longitude":"2d4ab600","hex_latitude":"06577bc8","is_valid_coordinates":true} 
[2026-07-01 02:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410143744001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332477137825038336,"note":"Value kept but may cause issues"} 
[2026-07-01 02:13:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5388064400175001600,"note":"Value kept but may cause issues"} 
[2026-07-01 02:13:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782852131000,"timestamp_ms":1782852131000,"timestamp_seconds":1782852131,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a4498b8"} 
[2026-07-01 02:13:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:13:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-01 02:13:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:13:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:13:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:13:28] 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-01 02:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410143744001,"66":27300,"130":206,"78":62464,"24":53,"16":332477137825038336,"45":5388064400175001600},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,78,24,16,45]} 
[2026-07-01 02:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410143744001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:13:28] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-07-01 02:13:28] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 02:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332477137825038336,"km_value":332477137825038.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:13:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5388064400175001600,"description":"Unknown IO ID 45"} 
[2026-07-01 02:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410143744001,"power":27300,"unknown_130":206,"unknown_78":62464,"ignition":53,"odometer":null,"unknown_45":5388064400175001600}} 
[2026-07-01 02:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":118630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:13:28] local.INFO: GPS data processed {"connection_id":118630,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:13:28] local.INFO: Acknowledgment sent {"connection_id":118630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:13:59] local.INFO: TCP Data received {"connection_id":118630,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a44b410012d4aa48006579e680008014d2d..."} 
[2026-07-01 02:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a44b410012d4aa48006579e680008014d2d..."} 
[2026-07-01 02:13:59] local.INFO: Processing buffer {"connection_id":118630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a44b410012d4aa48006579e680008014d2d..."} 
[2026-07-01 02:13:59] local.INFO: Packet analysis {"connection_id":118630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a44"} 
[2026-07-01 02:13:59] local.INFO: Extracted packet for processing {"connection_id":118630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a44"} 
[2026-07-01 02:13:59] local.INFO: GPS Element Parsed {"raw_longitude":759866496,"raw_latitude":106405480,"longitude_deg":75.9866496,"latitude_deg":10.640548,"altitude":8,"angle":333,"satellites":45,"speed":57,"hex_longitude":"2d4aa480","hex_latitude":"06579e68","is_valid_coordinates":true} 
[2026-07-01 02:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410145536001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332477618861375488,"note":"Value kept but may cause issues"} 
[2026-07-01 02:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5383490431805540352,"note":"Value kept but may cause issues"} 
[2026-07-01 02:13:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782852138000,"timestamp_ms":1782852138000,"timestamp_seconds":1782852138,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a44b410"} 
[2026-07-01 02:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:13: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-01 02:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-01 02:13:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:13:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:13:59] 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-01 02:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410145536001,"66":27300,"130":206,"78":62464,"24":57,"16":332477618861375488,"45":5383490431805540352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,78,24,16,45]} 
[2026-07-01 02:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410145536001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:13:59] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-07-01 02:13:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 02:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332477618861375488,"km_value":332477618861375.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5383490431805540352,"description":"Unknown IO ID 45"} 
[2026-07-01 02:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410145536001,"power":27300,"unknown_130":206,"unknown_78":62464,"ignition":57,"odometer":null,"unknown_45":5383490431805540352}} 
[2026-07-01 02:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":118630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:13:59] local.INFO: GPS data processed {"connection_id":118630,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:13:59] local.INFO: Acknowledgment sent {"connection_id":118630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:14:29] local.INFO: TCP Data received {"connection_id":118736,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:14:29] local.INFO: Processing buffer {"connection_id":118736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:14:29] local.INFO: IMEI packet received {"connection_id":118736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 02:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":118736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:14:32] local.INFO: TCP Data received {"connection_id":118736,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:14:32] local.INFO: Processing buffer {"connection_id":118736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:14:32] local.INFO: IMEI packet received {"connection_id":118736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":118736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:14:36] local.INFO: TCP Data received {"connection_id":118736,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:14:36] local.INFO: Processing buffer {"connection_id":118736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:14:36] local.INFO: IMEI packet received {"connection_id":118736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":118736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:14:37] local.INFO: TCP Data received {"connection_id":118736,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a460018012d49f1c006590e280008014d2d..."} 
[2026-07-01 02:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a460018012d49f1c006590e280008014d2d..."} 
[2026-07-01 02:14:37] local.INFO: Processing buffer {"connection_id":118736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a460018012d49f1c006590e280008014d2d..."} 
[2026-07-01 02:14:37] local.INFO: Packet analysis {"connection_id":118736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a46"} 
[2026-07-01 02:14:37] local.INFO: Extracted packet for processing {"connection_id":118736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a46"} 
[2026-07-01 02:14:37] local.INFO: GPS Element Parsed {"raw_longitude":759820736,"raw_latitude":106499624,"longitude_deg":75.9820736,"latitude_deg":10.6499624,"altitude":8,"angle":333,"satellites":45,"speed":47,"hex_longitude":"2d49f1c0","hex_latitude":"06590e28","is_valid_coordinates":true} 
[2026-07-01 02:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410167040001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332482678332850176,"note":"Value kept but may cause issues"} 
[2026-07-01 02:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5333247148486836224,"note":"Value kept but may cause issues"} 
[2026-07-01 02:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782852223000,"timestamp_ms":1782852223000,"timestamp_seconds":1782852223,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a460018"} 
[2026-07-01 02:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-01 02:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":118736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":118736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":118736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 02:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410167040001,"66":27267,"131":206,"78":62464,"24":47,"16":332482678332850176,"45":5333247148486836224},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,78,24,16,45]} 
[2026-07-01 02:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410167040001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:14:37] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-01 02:14:37] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 02:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332482678332850176,"km_value":332482678332850.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5333247148486836224,"description":"Unknown IO ID 45"} 
[2026-07-01 02:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410167040001,"power":27267,"unknown_131":206,"unknown_78":62464,"ignition":47,"odometer":null,"unknown_45":5333247148486836224}} 
[2026-07-01 02:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":118736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:14:37] local.INFO: GPS data processed {"connection_id":118736,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:14:37] local.INFO: Acknowledgment sent {"connection_id":118736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:15:23] local.INFO: TCP Data received {"connection_id":119390,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:15:23] local.INFO: Processing buffer {"connection_id":119390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:15:23] local.INFO: IMEI packet received {"connection_id":119390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 02:15:23] local.INFO: IMEI acknowledgment sent {"connection_id":119390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:15:27] local.INFO: TCP Data received {"connection_id":119390,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:15:27] local.INFO: Processing buffer {"connection_id":119390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:15:27] local.INFO: IMEI packet received {"connection_id":119390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":119390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:15:28] local.INFO: TCP Data received {"connection_id":119390,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a461f58012d49e04006592f780008014d2e..."} 
[2026-07-01 02:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a461f58012d49e04006592f780008014d2e..."} 
[2026-07-01 02:15:28] local.INFO: Processing buffer {"connection_id":119390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a461f58012d49e04006592f780008014d2e..."} 
[2026-07-01 02:15:28] local.INFO: Packet analysis {"connection_id":119390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a46"} 
[2026-07-01 02:15:28] local.INFO: Extracted packet for processing {"connection_id":119390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a46"} 
[2026-07-01 02:15:28] local.INFO: GPS Element Parsed {"raw_longitude":759816256,"raw_latitude":106508152,"longitude_deg":75.9816256,"latitude_deg":10.6508152,"altitude":8,"angle":333,"satellites":46,"speed":49,"hex_longitude":"2d49e040","hex_latitude":"06592f78","is_valid_coordinates":true} 
[2026-07-01 02:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:15:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410169088001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:15:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332483142189318144,"note":"Value kept but may cause issues"} 
[2026-07-01 02:15:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5328250967652444160,"note":"Value kept but may cause issues"} 
[2026-07-01 02:15:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:15:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782852231000,"timestamp_ms":1782852231000,"timestamp_seconds":1782852231,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a461f58"} 
[2026-07-01 02:15:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:15:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-01 02:15:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:15:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:15:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:15:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:15:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:15:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:15:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:15:28] 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-01 02:15:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:15:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:15:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410169088001,"66":27223,"131":206,"78":62464,"24":49,"16":332483142189318144,"45":5328250967652444160},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,78,24,16,45]} 
[2026-07-01 02:15:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:15:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:15:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410169088001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:15:28] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-01 02:15:28] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 02:15:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332483142189318144,"km_value":332483142189318.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:15:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5328250967652444160,"description":"Unknown IO ID 45"} 
[2026-07-01 02:15:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410169088001,"power":27223,"unknown_131":206,"unknown_78":62464,"ignition":49,"odometer":null,"unknown_45":5328250967652444160}} 
[2026-07-01 02:15:28] local.INFO: DEBUG: GPS processor result {"connection_id":119390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:15:28] local.INFO: GPS data processed {"connection_id":119390,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:15:28] local.INFO: Acknowledgment sent {"connection_id":119390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:15:47] local.INFO: TCP Data received {"connection_id":118737,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118737,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:15:47] local.INFO: Processing buffer {"connection_id":118737,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:15:47] local.INFO: IMEI packet received {"connection_id":118737,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 02:15:47] local.INFO: IMEI acknowledgment sent {"connection_id":118737,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:15:59] local.INFO: TCP Data received {"connection_id":119390,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a473898012d4944c0065a79a0000701642f..."} 
[2026-07-01 02:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a473898012d4944c0065a79a0000701642f..."} 
[2026-07-01 02:15:59] local.INFO: Processing buffer {"connection_id":119390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a473898012d4944c0065a79a0000701642f..."} 
[2026-07-01 02:15:59] local.INFO: Packet analysis {"connection_id":119390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a47"} 
[2026-07-01 02:15:59] local.INFO: Extracted packet for processing {"connection_id":119390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a47"} 
[2026-07-01 02:15:59] local.INFO: GPS Element Parsed {"raw_longitude":759776448,"raw_latitude":106592672,"longitude_deg":75.9776448,"latitude_deg":10.6592672,"altitude":7,"angle":356,"satellites":47,"speed":55,"hex_longitude":"2d4944c0","hex_latitude":"065a79a0","is_valid_coordinates":true} 
[2026-07-01 02:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410187776001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332487712034521088,"note":"Value kept but may cause issues"} 
[2026-07-01 02:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5280329852888842240,"note":"Value kept but may cause issues"} 
[2026-07-01 02:15:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782852303000,"timestamp_ms":1782852303000,"timestamp_seconds":1782852303,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a473898"} 
[2026-07-01 02:15:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:15: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-01 02:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-01 02:15:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:15:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:15:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:15:59] 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-01 02:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410187776001,"66":27321,"64":206,"78":62464,"24":55,"16":332487712034521088,"45":5280329852888842240},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,78,24,16,45]} 
[2026-07-01 02:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410187776001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:15:59] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-01 02:15:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 02:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332487712034521088,"km_value":332487712034521.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:15:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5280329852888842240,"description":"Unknown IO ID 45"} 
[2026-07-01 02:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410187776001,"power":27321,"unknown_64":206,"unknown_78":62464,"ignition":55,"odometer":null,"unknown_45":5280329852888842240}} 
[2026-07-01 02:16:00] local.INFO: DEBUG: GPS processor result {"connection_id":119390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:16:00] local.INFO: GPS data processed {"connection_id":119390,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:16:00] local.INFO: Acknowledgment sent {"connection_id":119390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:16:17] local.INFO: TCP Data received {"connection_id":119391,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119391,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:16:17] local.INFO: Processing buffer {"connection_id":119391,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:16:17] local.INFO: IMEI packet received {"connection_id":119391,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 02:16:17] local.INFO: IMEI acknowledgment sent {"connection_id":119391,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:16:22] local.INFO: TCP Data received {"connection_id":118631,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:16:22] local.INFO: Processing buffer {"connection_id":118631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:16:22] local.INFO: IMEI packet received {"connection_id":118631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 02:16:22] local.INFO: IMEI acknowledgment sent {"connection_id":118631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:16:22] local.INFO: TCP Data received {"connection_id":118631,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:16:22] local.INFO: Processing buffer {"connection_id":118631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:16:22] local.INFO: IMEI packet received {"connection_id":118631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:16:22] local.INFO: IMEI acknowledgment sent {"connection_id":118631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:16:27] local.INFO: TCP Data received {"connection_id":118631,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:16:27] local.INFO: Processing buffer {"connection_id":118631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:16:27] local.INFO: IMEI packet received {"connection_id":118631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":118631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:16:28] local.INFO: TCP Data received {"connection_id":118631,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a4753f0012d494200065a9d30000701632f..."} 
[2026-07-01 02:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a4753f0012d494200065a9d30000701632f..."} 
[2026-07-01 02:16:28] local.INFO: Processing buffer {"connection_id":118631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a4753f0012d494200065a9d30000701632f..."} 
[2026-07-01 02:16:28] local.INFO: Packet analysis {"connection_id":118631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a47"} 
[2026-07-01 02:16:28] local.INFO: Extracted packet for processing {"connection_id":118631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a47"} 
[2026-07-01 02:16:28] local.INFO: GPS Element Parsed {"raw_longitude":759775744,"raw_latitude":106601776,"longitude_deg":75.9775744,"latitude_deg":10.6601776,"altitude":7,"angle":355,"satellites":47,"speed":49,"hex_longitude":"2d494200","hex_latitude":"065a9d30","is_valid_coordinates":true} 
[2026-07-01 02:16:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:16:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410189568001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:16:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332488154416152576,"note":"Value kept but may cause issues"} 
[2026-07-01 02:16:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5279555796705320960,"note":"Value kept but may cause issues"} 
[2026-07-01 02:16:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:16:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782852310000,"timestamp_ms":1782852310000,"timestamp_seconds":1782852310,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a4753f0"} 
[2026-07-01 02:16:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:16:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:16:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-01 02:16:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:16:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:16:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:16:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:16:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:16:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:16:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:16:28] 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-01 02:16:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:16:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:16:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410189568001,"66":27332,"64":206,"78":62464,"24":49,"16":332488154416152576,"45":5279555796705320960},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,78,24,16,45]} 
[2026-07-01 02:16:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:16:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:16:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410189568001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:16:28] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-01 02:16:28] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 02:16:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332488154416152576,"km_value":332488154416152.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:16:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5279555796705320960,"description":"Unknown IO ID 45"} 
[2026-07-01 02:16:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410189568001,"power":27332,"unknown_64":206,"unknown_78":62464,"ignition":49,"odometer":null,"unknown_45":5279555796705320960}} 
[2026-07-01 02:16:28] local.INFO: DEBUG: GPS processor result {"connection_id":118631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:16:28] local.INFO: GPS data processed {"connection_id":118631,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:16:28] local.INFO: Acknowledgment sent {"connection_id":118631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:16:59] local.INFO: TCP Data received {"connection_id":118631,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a477330012d493d40065ac2500007015c2c..."} 
[2026-07-01 02:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a477330012d493d40065ac2500007015c2c..."} 
[2026-07-01 02:16:59] local.INFO: Processing buffer {"connection_id":118631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a477330012d493d40065ac2500007015c2c..."} 
[2026-07-01 02:16:59] local.INFO: Packet analysis {"connection_id":118631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a47"} 
[2026-07-01 02:16:59] local.INFO: Extracted packet for processing {"connection_id":118631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a47"} 
[2026-07-01 02:16:59] local.INFO: GPS Element Parsed {"raw_longitude":759774528,"raw_latitude":106611280,"longitude_deg":75.9774528,"latitude_deg":10.661128,"altitude":7,"angle":348,"satellites":44,"speed":45,"hex_longitude":"2d493d40","hex_latitude":"065ac250","is_valid_coordinates":true} 
[2026-07-01 02:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410191360001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332488622567587840,"note":"Value kept but may cause issues"} 
[2026-07-01 02:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5278781740521697280,"note":"Value kept but may cause issues"} 
[2026-07-01 02:16:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782852318000,"timestamp_ms":1782852318000,"timestamp_seconds":1782852318,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a477330"} 
[2026-07-01 02:16:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:16: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-01 02:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-01 02:16:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:16:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:16:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:16:59] 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-01 02:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410191360001,"66":27365,"64":206,"78":62464,"24":45,"16":332488622567587840,"45":5278781740521697280},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,78,24,16,45]} 
[2026-07-01 02:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410191360001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:16:59] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-01 02:16:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 02:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332488622567587840,"km_value":332488622567587.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5278781740521697280,"description":"Unknown IO ID 45"} 
[2026-07-01 02:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410191360001,"power":27365,"unknown_64":206,"unknown_78":62464,"ignition":45,"odometer":null,"unknown_45":5278781740521697280}} 
[2026-07-01 02:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":118631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:16:59] local.INFO: GPS data processed {"connection_id":118631,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:16:59] local.INFO: Acknowledgment sent {"connection_id":118631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:17:25] local.INFO: TCP Data received {"connection_id":118739,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:17:25] local.INFO: Processing buffer {"connection_id":118739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:17:25] local.INFO: IMEI packet received {"connection_id":118739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 02:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":118739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:17:27] local.INFO: TCP Data received {"connection_id":118739,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:17:27] local.INFO: Processing buffer {"connection_id":118739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:17:27] local.INFO: IMEI packet received {"connection_id":118739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":118739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:17:32] local.INFO: TCP Data received {"connection_id":118739,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:17:32] local.INFO: Processing buffer {"connection_id":118739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:17:32] local.INFO: IMEI packet received {"connection_id":118739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":118739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:17:33] local.INFO: TCP Data received {"connection_id":118739,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a479658012d4934c0065ae7e0000701562b..."} 
[2026-07-01 02:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a479658012d4934c0065ae7e0000701562b..."} 
[2026-07-01 02:17:33] local.INFO: Processing buffer {"connection_id":118739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a479658012d4934c0065ae7e0000701562b..."} 
[2026-07-01 02:17:33] local.INFO: Packet analysis {"connection_id":118739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a47"} 
[2026-07-01 02:17:33] local.INFO: Extracted packet for processing {"connection_id":118739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a47"} 
[2026-07-01 02:17:33] local.INFO: GPS Element Parsed {"raw_longitude":759772352,"raw_latitude":106620896,"longitude_deg":75.9772352,"latitude_deg":10.6620896,"altitude":7,"angle":342,"satellites":43,"speed":41,"hex_longitude":"2d4934c0","hex_latitude":"065ae7e0","is_valid_coordinates":true} 
[2026-07-01 02:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410193408001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332489099308957696,"note":"Value kept but may cause issues"} 
[2026-07-01 02:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5277444734384754688,"note":"Value kept but may cause issues"} 
[2026-07-01 02:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782852327000,"timestamp_ms":1782852327000,"timestamp_seconds":1782852327,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a479658"} 
[2026-07-01 02:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:17: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-01 02:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 02:17:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:17:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":118739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":118739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":118739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:17:33] 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-01 02:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410193408001,"66":27365,"64":206,"78":62464,"24":41,"16":332489099308957696,"45":5277444734384754688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,78,24,16,45]} 
[2026-07-01 02:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410193408001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:17:33] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-01 02:17:33] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 02:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332489099308957696,"km_value":332489099308957.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5277444734384754688,"description":"Unknown IO ID 45"} 
[2026-07-01 02:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410193408001,"power":27365,"unknown_64":206,"unknown_78":62464,"ignition":41,"odometer":null,"unknown_45":5277444734384754688}} 
[2026-07-01 02:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":118739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:17:33] local.INFO: GPS data processed {"connection_id":118739,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:17:33] local.INFO: Acknowledgment sent {"connection_id":118739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:18:04] local.INFO: TCP Data received {"connection_id":118739,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a4928b0012d484280065c90f80009015b2e..."} 
[2026-07-01 02:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a4928b0012d484280065c90f80009015b2e..."} 
[2026-07-01 02:18:04] local.INFO: Processing buffer {"connection_id":118739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a4928b0012d484280065c90f80009015b2e..."} 
[2026-07-01 02:18:04] local.INFO: Packet analysis {"connection_id":118739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a49"} 
[2026-07-01 02:18:04] local.INFO: Extracted packet for processing {"connection_id":118739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a49"} 
[2026-07-01 02:18:04] local.INFO: GPS Element Parsed {"raw_longitude":759710336,"raw_latitude":106729720,"longitude_deg":75.9710336,"latitude_deg":10.672972,"altitude":9,"angle":347,"satellites":46,"speed":50,"hex_longitude":"2d484280","hex_latitude":"065c90f8","is_valid_coordinates":true} 
[2026-07-01 02:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410220032001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332495215342387200,"note":"Value kept but may cause issues"} 
[2026-07-01 02:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5209257421304426496,"note":"Value kept but may cause issues"} 
[2026-07-01 02:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782852430000,"timestamp_ms":1782852430000,"timestamp_seconds":1782852430,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a4928b0"} 
[2026-07-01 02:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:18: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-01 02:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-01 02:18:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":118739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":118739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":118739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:18:04] 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-01 02:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410220032001,"66":27332,"65":206,"78":62464,"24":50,"16":332495215342387200,"45":5209257421304426496},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,78,24,16,45]} 
[2026-07-01 02:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410220032001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:18:04] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-07-01 02:18:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 02:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332495215342387200,"km_value":332495215342387.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5209257421304426496,"description":"Unknown IO ID 45"} 
[2026-07-01 02:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410220032001,"power":27332,"unknown_65":206,"unknown_78":62464,"ignition":50,"odometer":null,"unknown_45":5209257421304426496}} 
[2026-07-01 02:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":118739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:18:04] local.INFO: GPS data processed {"connection_id":118739,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:18:04] local.INFO: Acknowledgment sent {"connection_id":118739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:18:22] local.INFO: TCP Data received {"connection_id":119393,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:18:22] local.INFO: Processing buffer {"connection_id":119393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:18:22] local.INFO: IMEI packet received {"connection_id":119393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 02:18:22] local.INFO: IMEI acknowledgment sent {"connection_id":119393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:18:27] local.INFO: TCP Data received {"connection_id":119393,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:18:27] local.INFO: Processing buffer {"connection_id":119393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:18:27] local.INFO: IMEI packet received {"connection_id":119393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":119393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:18:28] local.INFO: TCP Data received {"connection_id":119393,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a494408012d483ac0065cb3c0000801592e..."} 
[2026-07-01 02:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a494408012d483ac0065cb3c0000801592e..."} 
[2026-07-01 02:18:28] local.INFO: Processing buffer {"connection_id":119393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a494408012d483ac0065cb3c0000801592e..."} 
[2026-07-01 02:18:28] local.INFO: Packet analysis {"connection_id":119393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a49"} 
[2026-07-01 02:18:28] local.INFO: Extracted packet for processing {"connection_id":119393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a49"} 
[2026-07-01 02:18:28] local.INFO: GPS Element Parsed {"raw_longitude":759708352,"raw_latitude":106738624,"longitude_deg":75.9708352,"latitude_deg":10.6738624,"altitude":8,"angle":345,"satellites":46,"speed":53,"hex_longitude":"2d483ac0","hex_latitude":"065cb3c0","is_valid_coordinates":true} 
[2026-07-01 02:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:18:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410222080001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:18:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332495657724018688,"note":"Value kept but may cause issues"} 
[2026-07-01 02:18:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5206864884004878336,"note":"Value kept but may cause issues"} 
[2026-07-01 02:18:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:18:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782852437000,"timestamp_ms":1782852437000,"timestamp_seconds":1782852437,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a494408"} 
[2026-07-01 02:18:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:18:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-01 02:18:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:18:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:18:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:18:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:18:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:18:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:18:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:18:28] 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-01 02:18:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:18:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:18:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410222080001,"66":27245,"65":206,"78":62464,"24":53,"16":332495657724018688,"45":5206864884004878336},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,78,24,16,45]} 
[2026-07-01 02:18:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:18:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:18:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410222080001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:18:28] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-07-01 02:18:28] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 02:18:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332495657724018688,"km_value":332495657724018.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:18:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5206864884004878336,"description":"Unknown IO ID 45"} 
[2026-07-01 02:18:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410222080001,"power":27245,"unknown_65":206,"unknown_78":62464,"ignition":53,"odometer":null,"unknown_45":5206864884004878336}} 
[2026-07-01 02:18:28] local.INFO: DEBUG: GPS processor result {"connection_id":119393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:18:28] local.INFO: GPS data processed {"connection_id":119393,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:18:28] local.INFO: Acknowledgment sent {"connection_id":119393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:18:28] local.INFO: TCP Data received {"connection_id":119393,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a495f60012d4830c0065cd718000a01572d..."} 
[2026-07-01 02:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a495f60012d4830c0065cd718000a01572d..."} 
[2026-07-01 02:18:28] local.INFO: Processing buffer {"connection_id":119393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a495f60012d4830c0065cd718000a01572d..."} 
[2026-07-01 02:18:28] local.INFO: Packet analysis {"connection_id":119393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a49"} 
[2026-07-01 02:18:28] local.INFO: Extracted packet for processing {"connection_id":119393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a49"} 
[2026-07-01 02:18:28] local.INFO: GPS Element Parsed {"raw_longitude":759705792,"raw_latitude":106747672,"longitude_deg":75.9705792,"latitude_deg":10.6747672,"altitude":10,"angle":343,"satellites":45,"speed":52,"hex_longitude":"2d4830c0","hex_latitude":"065cd718","is_valid_coordinates":true} 
[2026-07-01 02:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:18:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410223872001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:18:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332496112990552064,"note":"Value kept but may cause issues"} 
[2026-07-01 02:18:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5204683452937650176,"note":"Value kept but may cause issues"} 
[2026-07-01 02:18:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:18:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782852444000,"timestamp_ms":1782852444000,"timestamp_seconds":1782852444,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a495f60"} 
[2026-07-01 02:18:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:18:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-01 02:18:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:18:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:18:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:18:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:18:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:18:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:18:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:18:28] 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-01 02:18:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:18:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:18:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410223872001,"66":27321,"114":206,"78":62464,"24":52,"16":332496112990552064,"45":5204683452937650176},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,78,24,16,45]} 
[2026-07-01 02:18:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:18:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:18:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410223872001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:18:28] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-07-01 02:18:28] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 02:18:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332496112990552064,"km_value":332496112990552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:18:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5204683452937650176,"description":"Unknown IO ID 45"} 
[2026-07-01 02:18:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410223872001,"power":27321,"unknown_114":206,"unknown_78":62464,"ignition":52,"odometer":null,"unknown_45":5204683452937650176}} 
[2026-07-01 02:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":119393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:18:29] local.INFO: GPS data processed {"connection_id":119393,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:18:29] local.INFO: Acknowledgment sent {"connection_id":119393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:19:01] local.INFO: TCP Data received {"connection_id":119393,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a497ea0012d482440065cfc50000d01542c..."} 
[2026-07-01 02:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a497ea0012d482440065cfc50000d01542c..."} 
[2026-07-01 02:19:01] local.INFO: Processing buffer {"connection_id":119393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a497ea0012d482440065cfc50000d01542c..."} 
[2026-07-01 02:19:01] local.INFO: Packet analysis {"connection_id":119393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a49"} 
[2026-07-01 02:19:01] local.INFO: Extracted packet for processing {"connection_id":119393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a49"} 
[2026-07-01 02:19:01] local.INFO: GPS Element Parsed {"raw_longitude":759702592,"raw_latitude":106757200,"longitude_deg":75.9702592,"latitude_deg":10.67572,"altitude":13,"angle":340,"satellites":44,"speed":47,"hex_longitude":"2d482440","hex_latitude":"065cfc50","is_valid_coordinates":true} 
[2026-07-01 02:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410225664001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332496598321856512,"note":"Value kept but may cause issues"} 
[2026-07-01 02:19:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5201868703172859904,"note":"Value kept but may cause issues"} 
[2026-07-01 02:19:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782852452000,"timestamp_ms":1782852452000,"timestamp_seconds":1782852452,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a497ea0"} 
[2026-07-01 02:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:19:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-01 02:19:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:19:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":119393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":119393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":119393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:19:01] 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-01 02:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410225664001,"66":27321,"114":206,"78":62464,"24":47,"16":332496598321856512,"45":5201868703172859904},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,78,24,16,45]} 
[2026-07-01 02:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410225664001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:19:01] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-07-01 02:19:01] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 02:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332496598321856512,"km_value":332496598321856.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:19:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5201868703172859904,"description":"Unknown IO ID 45"} 
[2026-07-01 02:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410225664001,"power":27321,"unknown_114":206,"unknown_78":62464,"ignition":47,"odometer":null,"unknown_45":5201868703172859904}} 
[2026-07-01 02:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":119393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:19:01] local.INFO: GPS data processed {"connection_id":119393,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:19:01] local.INFO: Acknowledgment sent {"connection_id":119393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:19:22] local.INFO: TCP Data received {"connection_id":120489,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:19:22] local.INFO: Processing buffer {"connection_id":120489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:19:22] local.INFO: IMEI packet received {"connection_id":120489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 02:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":120489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:19:28] local.INFO: TCP Data received {"connection_id":120489,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:19:28] local.INFO: Processing buffer {"connection_id":120489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:19:28] local.INFO: IMEI packet received {"connection_id":120489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":120489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:19:29] local.INFO: TCP Data received {"connection_id":120489,"ip":"42.106.6.42","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f1a..."} 
[2026-07-01 02:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120489,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f1a..."} 
[2026-07-01 02:19:29] local.INFO: Processing buffer {"connection_id":120489,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f1a..."} 
[2026-07-01 02:19:29] local.INFO: IMEI packet received {"connection_id":120489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:19:29] local.INFO: IMEI acknowledgment sent {"connection_id":120489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:19:32] local.INFO: TCP Data received {"connection_id":120489,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a49bd20012d480840065d3f000013014f2d..."} 
[2026-07-01 02:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a49bd20012d480840065d3f000013014f2d..."} 
[2026-07-01 02:19:32] local.INFO: Processing buffer {"connection_id":120489,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f1a499de0012d481700065d1ec0001101502e..."} 
[2026-07-01 02:19:32] local.INFO: Packet analysis {"connection_id":120489,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f1a49"} 
[2026-07-01 02:19:32] local.INFO: Extracted packet for processing {"connection_id":120489,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a49"} 
[2026-07-01 02:19:32] local.INFO: GPS Element Parsed {"raw_longitude":759699200,"raw_latitude":106766016,"longitude_deg":75.96992,"latitude_deg":10.6766016,"altitude":17,"angle":336,"satellites":46,"speed":45,"hex_longitude":"2d481700","hex_latitude":"065d1ec0","is_valid_coordinates":true} 
[2026-07-01 02:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410227712001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332497057883357184,"note":"Value kept but may cause issues"} 
[2026-07-01 02:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5198350265966415872,"note":"Value kept but may cause issues"} 
[2026-07-01 02:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782852460000,"timestamp_ms":1782852460000,"timestamp_seconds":1782852460,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a499de0"} 
[2026-07-01 02:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:19:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-01 02:19:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:19:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":120489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":120489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":120489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:19:32] 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-01 02:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410227712001,"66":27343,"114":206,"78":62464,"24":45,"16":332497057883357184,"45":5198350265966415872},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,78,24,16,45]} 
[2026-07-01 02:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410227712001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:19:32] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-07-01 02:19:32] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 02:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332497057883357184,"km_value":332497057883357.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5198350265966415872,"description":"Unknown IO ID 45"} 
[2026-07-01 02:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410227712001,"power":27343,"unknown_114":206,"unknown_78":62464,"ignition":45,"odometer":null,"unknown_45":5198350265966415872}} 
[2026-07-01 02:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":120489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:19:32] local.INFO: GPS data processed {"connection_id":120489,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:19:32] local.INFO: Acknowledgment sent {"connection_id":120489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:19:32] local.INFO: Packet analysis {"connection_id":120489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a49"} 
[2026-07-01 02:19:32] local.INFO: Extracted packet for processing {"connection_id":120489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a49"} 
[2026-07-01 02:19:32] local.INFO: GPS Element Parsed {"raw_longitude":759695424,"raw_latitude":106774272,"longitude_deg":75.9695424,"latitude_deg":10.6774272,"altitude":19,"angle":335,"satellites":45,"speed":45,"hex_longitude":"2d480840","hex_latitude":"065d3f00","is_valid_coordinates":true} 
[2026-07-01 02:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410229760001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332497495970021376,"note":"Value kept but may cause issues"} 
[2026-07-01 02:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5194620722527256576,"note":"Value kept but may cause issues"} 
[2026-07-01 02:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782852468000,"timestamp_ms":1782852468000,"timestamp_seconds":1782852468,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a49bd20"} 
[2026-07-01 02:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:19:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-01 02:19:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:19:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":120489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":120489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":120489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:19:32] 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-01 02:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410229760001,"66":27343,"114":206,"78":62464,"24":45,"16":332497495970021376,"45":5194620722527256576},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,78,24,16,45]} 
[2026-07-01 02:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410229760001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:19:32] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-07-01 02:19:32] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 02:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332497495970021376,"km_value":332497495970021.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5194620722527256576,"description":"Unknown IO ID 45"} 
[2026-07-01 02:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410229760001,"power":27343,"unknown_114":206,"unknown_78":62464,"ignition":45,"odometer":null,"unknown_45":5194620722527256576}} 
[2026-07-01 02:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":120489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:19:32] local.INFO: GPS data processed {"connection_id":120489,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:19:32] local.INFO: Acknowledgment sent {"connection_id":120489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:20:04] local.INFO: TCP Data received {"connection_id":120489,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a49dc60012d47f880065d60180014014e2e..."} 
[2026-07-01 02:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a49dc60012d47f880065d60180014014e2e..."} 
[2026-07-01 02:20:04] local.INFO: Processing buffer {"connection_id":120489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a49dc60012d47f880065d60180014014e2e..."} 
[2026-07-01 02:20:04] local.INFO: Packet analysis {"connection_id":120489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a49"} 
[2026-07-01 02:20:04] local.INFO: Extracted packet for processing {"connection_id":120489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a49"} 
[2026-07-01 02:20:04] local.INFO: GPS Element Parsed {"raw_longitude":759691392,"raw_latitude":106782744,"longitude_deg":75.9691392,"latitude_deg":10.6782744,"altitude":20,"angle":334,"satellites":46,"speed":46,"hex_longitude":"2d47f880","hex_latitude":"065d6018","is_valid_coordinates":true} 
[2026-07-01 02:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410231808001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332497951236554752,"note":"Value kept but may cause issues"} 
[2026-07-01 02:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5190468966622887936,"note":"Value kept but may cause issues"} 
[2026-07-01 02:20:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782852476000,"timestamp_ms":1782852476000,"timestamp_seconds":1782852476,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a49dc60"} 
[2026-07-01 02:20:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:20:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-01 02:20:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:20:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:20:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":120489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":120489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":120489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:20:04] 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-01 02:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410231808001,"66":27180,"113":206,"78":62464,"24":46,"16":332497951236554752,"45":5190468966622887936},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,78,24,16,45]} 
[2026-07-01 02:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410231808001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:20:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-01 02:20:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-07-01 02:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332497951236554752,"km_value":332497951236554.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5190468966622887936,"description":"Unknown IO ID 45"} 
[2026-07-01 02:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410231808001,"power":27180,"unknown_113":206,"unknown_78":62464,"ignition":46,"odometer":null,"unknown_45":5190468966622887936}} 
[2026-07-01 02:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":120489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:20:04] local.INFO: GPS data processed {"connection_id":120489,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:20:04] local.INFO: Acknowledgment sent {"connection_id":120489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:20:23] local.INFO: TCP Data received {"connection_id":118633,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:20:23] local.INFO: Processing buffer {"connection_id":118633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:20:23] local.INFO: IMEI packet received {"connection_id":118633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 02:20:23] local.INFO: IMEI acknowledgment sent {"connection_id":118633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:20:27] local.INFO: TCP Data received {"connection_id":118633,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:20:27] local.INFO: Processing buffer {"connection_id":118633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:20:27] local.INFO: IMEI packet received {"connection_id":118633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:20:27] local.INFO: IMEI acknowledgment sent {"connection_id":118633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:20:30] local.INFO: TCP Data received {"connection_id":118633,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:20:30] local.INFO: Processing buffer {"connection_id":118633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:20:30] local.INFO: IMEI packet received {"connection_id":118633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":118633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:20:32] local.INFO: TCP Data received {"connection_id":118633,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a4b2868012d474cc0065ed5b0000d01502f..."} 
[2026-07-01 02:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a4b2868012d474cc0065ed5b0000d01502f..."} 
[2026-07-01 02:20:32] local.INFO: Processing buffer {"connection_id":118633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a4b2868012d474cc0065ed5b0000d01502f..."} 
[2026-07-01 02:20:32] local.INFO: Packet analysis {"connection_id":118633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a4b"} 
[2026-07-01 02:20:32] local.INFO: Extracted packet for processing {"connection_id":118633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a4b"} 
[2026-07-01 02:20:32] local.INFO: GPS Element Parsed {"raw_longitude":759647424,"raw_latitude":106878384,"longitude_deg":75.9647424,"latitude_deg":10.6878384,"altitude":13,"angle":336,"satellites":47,"speed":51,"hex_longitude":"2d474cc0","hex_latitude":"065ed5b0","is_valid_coordinates":true} 
[2026-07-01 02:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410253568001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332503036477833216,"note":"Value kept but may cause issues"} 
[2026-07-01 02:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5142196008141320192,"note":"Value kept but may cause issues"} 
[2026-07-01 02:20:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782852561000,"timestamp_ms":1782852561000,"timestamp_seconds":1782852561,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a4b2868"} 
[2026-07-01 02:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:20:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-01 02:20:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:20:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":118633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":118633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":118633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:20:32] 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-01 02:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410253568001,"66":27593,"241":206,"80":60416,"24":51,"16":332503036477833216,"45":5142196008141320192},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-07-01 02:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410253568001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:20:32] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-07-01 02:20:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-01 02:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332503036477833216,"km_value":332503036477833.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5142196008141320192,"description":"Unknown IO ID 45"} 
[2026-07-01 02:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410253568001,"power":27593,"unknown_241":206,"unknown_80":60416,"ignition":51,"odometer":null,"unknown_45":5142196008141320192}} 
[2026-07-01 02:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":118633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:20:32] local.INFO: GPS data processed {"connection_id":118633,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:20:32] local.INFO: Acknowledgment sent {"connection_id":118633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:20:34] local.INFO: TCP Data received {"connection_id":118633,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a4b47a8012d473bc0065ef8a0000c014c30..."} 
[2026-07-01 02:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a4b47a8012d473bc0065ef8a0000c014c30..."} 
[2026-07-01 02:20:34] local.INFO: Processing buffer {"connection_id":118633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a4b47a8012d473bc0065ef8a0000c014c30..."} 
[2026-07-01 02:20:34] local.INFO: Packet analysis {"connection_id":118633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a4b"} 
[2026-07-01 02:20:34] local.INFO: Extracted packet for processing {"connection_id":118633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a4b"} 
[2026-07-01 02:20:34] local.INFO: GPS Element Parsed {"raw_longitude":759643072,"raw_latitude":106887328,"longitude_deg":75.9643072,"latitude_deg":10.6887328,"altitude":12,"angle":332,"satellites":48,"speed":47,"hex_longitude":"2d473bc0","hex_latitude":"065ef8a0","is_valid_coordinates":true} 
[2026-07-01 02:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410255616001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332503517514170368,"note":"Value kept but may cause issues"} 
[2026-07-01 02:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5137692408516292608,"note":"Value kept but may cause issues"} 
[2026-07-01 02:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782852569000,"timestamp_ms":1782852569000,"timestamp_seconds":1782852569,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a4b47a8"} 
[2026-07-01 02:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:20:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-01 02:20:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:20:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":118633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":118633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":118633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 02:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410255616001,"66":27517,"241":206,"80":60416,"24":47,"16":332503517514170368,"45":5137692408516292608},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-07-01 02:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410255616001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:20:34] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-07-01 02:20:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-01 02:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332503517514170368,"km_value":332503517514170.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5137692408516292608,"description":"Unknown IO ID 45"} 
[2026-07-01 02:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410255616001,"power":27517,"unknown_241":206,"unknown_80":60416,"ignition":47,"odometer":null,"unknown_45":5137692408516292608}} 
[2026-07-01 02:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":118633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:20:34] local.INFO: GPS data processed {"connection_id":118633,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:20:34] local.INFO: Acknowledgment sent {"connection_id":118633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:21:07] local.INFO: TCP Data received {"connection_id":118633,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a4b66e8012d472a80065f1808000b014a2f..."} 
[2026-07-01 02:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a4b66e8012d472a80065f1808000b014a2f..."} 
[2026-07-01 02:21:07] local.INFO: Processing buffer {"connection_id":118633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a4b66e8012d472a80065f1808000b014a2f..."} 
[2026-07-01 02:21:07] local.INFO: Packet analysis {"connection_id":118633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a4b"} 
[2026-07-01 02:21:07] local.INFO: Extracted packet for processing {"connection_id":118633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a4b"} 
[2026-07-01 02:21:07] local.INFO: GPS Element Parsed {"raw_longitude":759638656,"raw_latitude":106895368,"longitude_deg":75.9638656,"latitude_deg":10.6895368,"altitude":11,"angle":330,"satellites":47,"speed":45,"hex_longitude":"2d472a80","hex_latitude":"065f1808","is_valid_coordinates":true} 
[2026-07-01 02:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410257664001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332503959895801856,"note":"Value kept but may cause issues"} 
[2026-07-01 02:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5132907333914501120,"note":"Value kept but may cause issues"} 
[2026-07-01 02:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782852577000,"timestamp_ms":1782852577000,"timestamp_seconds":1782852577,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a4b66e8"} 
[2026-07-01 02:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-01 02:21:07] 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-01 02:21:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":118633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":118633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":118633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:21:07] 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-01 02:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410257664001,"66":27517,"241":206,"80":60416,"24":45,"16":332503959895801856,"45":5132907333914501120},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-07-01 02:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410257664001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:21:07] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-07-01 02:21:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-01 02:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332503959895801856,"km_value":332503959895801.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5132907333914501120,"description":"Unknown IO ID 45"} 
[2026-07-01 02:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410257664001,"power":27517,"unknown_241":206,"unknown_80":60416,"ignition":45,"odometer":null,"unknown_45":5132907333914501120}} 
[2026-07-01 02:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":118633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:21:07] local.INFO: GPS data processed {"connection_id":118633,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:21:07] local.INFO: Acknowledgment sent {"connection_id":118633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:21:22] local.INFO: TCP Data received {"connection_id":120490,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:21:22] local.INFO: Processing buffer {"connection_id":120490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:21:22] local.INFO: IMEI packet received {"connection_id":120490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 02:21:22] local.INFO: IMEI acknowledgment sent {"connection_id":120490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:21:26] local.INFO: TCP Data received {"connection_id":120490,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:21:26] local.INFO: Processing buffer {"connection_id":120490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:21:26] local.INFO: IMEI packet received {"connection_id":120490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":120490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:21:27] local.INFO: TCP Data received {"connection_id":120490,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a4b8628012d471740065f38500009014930..."} 
[2026-07-01 02:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a4b8628012d471740065f38500009014930..."} 
[2026-07-01 02:21:27] local.INFO: Processing buffer {"connection_id":120490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a4b8628012d471740065f38500009014930..."} 
[2026-07-01 02:21:27] local.INFO: Packet analysis {"connection_id":120490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a4b"} 
[2026-07-01 02:21:27] local.INFO: Extracted packet for processing {"connection_id":120490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a4b"} 
[2026-07-01 02:21:27] local.INFO: GPS Element Parsed {"raw_longitude":759633728,"raw_latitude":106903632,"longitude_deg":75.9633728,"latitude_deg":10.6903632,"altitude":9,"angle":329,"satellites":48,"speed":50,"hex_longitude":"2d471740","hex_latitude":"065f3850","is_valid_coordinates":true} 
[2026-07-01 02:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:21:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410259712001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:21:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332504428047237120,"note":"Value kept but may cause issues"} 
[2026-07-01 02:21:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5128051890568300544,"note":"Value kept but may cause issues"} 
[2026-07-01 02:21:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:21:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782852585000,"timestamp_ms":1782852585000,"timestamp_seconds":1782852585,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a4b8628"} 
[2026-07-01 02:21:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:21:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-01 02:21:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:21:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:21:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:21:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:21:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:21:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:21:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:21:27] 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-01 02:21:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:21:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:21:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410259712001,"66":27484,"241":206,"80":60416,"24":50,"16":332504428047237120,"45":5128051890568300544},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-07-01 02:21:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:21:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:21:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410259712001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:21:27] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-07-01 02:21:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-01 02:21:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332504428047237120,"km_value":332504428047237.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:21:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5128051890568300544,"description":"Unknown IO ID 45"} 
[2026-07-01 02:21:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410259712001,"power":27484,"unknown_241":206,"unknown_80":60416,"ignition":50,"odometer":null,"unknown_45":5128051890568300544}} 
[2026-07-01 02:21:27] local.INFO: DEBUG: GPS processor result {"connection_id":120490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:21:27] local.INFO: GPS data processed {"connection_id":120490,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:21:27] local.INFO: Acknowledgment sent {"connection_id":120490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:21:47] local.INFO: TCP Data received {"connection_id":118634,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118634,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:21:47] local.INFO: Processing buffer {"connection_id":118634,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:21:47] local.INFO: IMEI packet received {"connection_id":118634,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 02:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":118634,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:22:11] local.INFO: TCP Data received {"connection_id":120490,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a4cc678012d467f000660e040000c01552d..."} 
[2026-07-01 02:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a4cc678012d467f000660e040000c01552d..."} 
[2026-07-01 02:22:11] local.INFO: Processing buffer {"connection_id":120490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a4cc678012d467f000660e040000c01552d..."} 
[2026-07-01 02:22:11] local.INFO: Packet analysis {"connection_id":120490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a4c"} 
[2026-07-01 02:22:11] local.INFO: Extracted packet for processing {"connection_id":120490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a4c"} 
[2026-07-01 02:22:11] local.INFO: GPS Element Parsed {"raw_longitude":759594752,"raw_latitude":107012160,"longitude_deg":75.9594752,"latitude_deg":10.701216,"altitude":12,"angle":341,"satellites":45,"speed":61,"hex_longitude":"2d467f00","hex_latitude":"0660e040","is_valid_coordinates":true} 
[2026-07-01 02: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-01 02:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410281216001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332510037274525696,"note":"Value kept but may cause issues"} 
[2026-07-01 02:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5082875156833892352,"note":"Value kept but may cause issues"} 
[2026-07-01 02:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1782852667000,"timestamp_ms":1782852667000,"timestamp_seconds":1782852667,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a4cc678"} 
[2026-07-01 02: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-01 02:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-01 02:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02: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-01 02: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-01 02:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":120490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":120490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":120490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02: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-01 02:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410281216001,"66":27484,"113":206,"80":60416,"24":61,"16":332510037274525696,"45":5082875156833892352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-01 02:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410281216001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:22:11] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-01 02:22:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-01 02:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332510037274525696,"km_value":332510037274525.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":5082875156833892352,"description":"Unknown IO ID 45"} 
[2026-07-01 02:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410281216001,"power":27484,"unknown_113":206,"unknown_80":60416,"ignition":61,"odometer":null,"unknown_45":5082875156833892352}} 
[2026-07-01 02:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":120490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:22:11] local.INFO: GPS data processed {"connection_id":120490,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:22:11] local.INFO: Acknowledgment sent {"connection_id":120490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:22:17] local.INFO: TCP Data received {"connection_id":120491,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120491,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:22:17] local.INFO: Processing buffer {"connection_id":120491,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:22:17] local.INFO: IMEI packet received {"connection_id":120491,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 02:22:17] local.INFO: IMEI acknowledgment sent {"connection_id":120491,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:22:22] local.INFO: TCP Data received {"connection_id":118635,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:22:22] local.INFO: Processing buffer {"connection_id":118635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:22:22] local.INFO: IMEI packet received {"connection_id":118635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 02:22:22] local.INFO: IMEI acknowledgment sent {"connection_id":118635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:22:25] local.INFO: TCP Data received {"connection_id":118635,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:22:25] local.INFO: Processing buffer {"connection_id":118635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:22:25] local.INFO: IMEI packet received {"connection_id":118635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":118635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:22:27] local.INFO: TCP Data received {"connection_id":118635,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:22:27] local.INFO: Processing buffer {"connection_id":118635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:22:27] local.INFO: IMEI packet received {"connection_id":118635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":118635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:22:28] local.INFO: TCP Data received {"connection_id":118635,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a4cdde8012d46720006610208000b01522d..."} 
[2026-07-01 02:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a4cdde8012d46720006610208000b01522d..."} 
[2026-07-01 02:22:28] local.INFO: Processing buffer {"connection_id":118635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a4cdde8012d46720006610208000b01522d..."} 
[2026-07-01 02:22:28] local.INFO: Packet analysis {"connection_id":118635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a4c"} 
[2026-07-01 02:22:28] local.INFO: Extracted packet for processing {"connection_id":118635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a4c"} 
[2026-07-01 02:22:28] local.INFO: GPS Element Parsed {"raw_longitude":759591424,"raw_latitude":107020808,"longitude_deg":75.9591424,"latitude_deg":10.7020808,"altitude":11,"angle":338,"satellites":45,"speed":61,"hex_longitude":"2d467200","hex_latitude":"06610208","is_valid_coordinates":true} 
[2026-07-01 02: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-01 02:22:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410282752001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:22:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332510483951124480,"note":"Value kept but may cause issues"} 
[2026-07-01 02:22:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5079778932092321792,"note":"Value kept but may cause issues"} 
[2026-07-01 02:22:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:22:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782852673000,"timestamp_ms":1782852673000,"timestamp_seconds":1782852673,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a4cdde8"} 
[2026-07-01 02: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-01 02:22:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 02:22:28] 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-01 02: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-01 02: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-01 02:22:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:22:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:22:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:22:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:22:28] 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-01 02:22:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:22:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:22:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410282752001,"66":27463,"113":206,"80":60416,"24":61,"16":332510483951124480,"45":5079778932092321792},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-01 02:22:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:22:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:22:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410282752001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:22:28] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-01 02:22:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-01 02:22:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332510483951124480,"km_value":332510483951124.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:22:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5079778932092321792,"description":"Unknown IO ID 45"} 
[2026-07-01 02:22:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410282752001,"power":27463,"unknown_113":206,"unknown_80":60416,"ignition":61,"odometer":null,"unknown_45":5079778932092321792}} 
[2026-07-01 02:22:28] local.INFO: DEBUG: GPS processor result {"connection_id":118635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:22:28] local.INFO: GPS data processed {"connection_id":118635,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:22:28] local.INFO: Acknowledgment sent {"connection_id":118635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:23:00] local.INFO: TCP Data received {"connection_id":118635,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a4cf558012d46648006612388000a015130..."} 
[2026-07-01 02:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a4cf558012d46648006612388000a015130..."} 
[2026-07-01 02:23:00] local.INFO: Processing buffer {"connection_id":118635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a4cf558012d46648006612388000a015130..."} 
[2026-07-01 02:23:00] local.INFO: Packet analysis {"connection_id":118635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a4c"} 
[2026-07-01 02:23:00] local.INFO: Extracted packet for processing {"connection_id":118635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a4c"} 
[2026-07-01 02:23:00] local.INFO: GPS Element Parsed {"raw_longitude":759587968,"raw_latitude":107029384,"longitude_deg":75.9587968,"latitude_deg":10.7029384,"altitude":10,"angle":337,"satellites":48,"speed":60,"hex_longitude":"2d466480","hex_latitude":"06612388","is_valid_coordinates":true} 
[2026-07-01 02:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:23:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410284288001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:23:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332510934922690560,"note":"Value kept but may cause issues"} 
[2026-07-01 02:23:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5076119757397297152,"note":"Value kept but may cause issues"} 
[2026-07-01 02:23:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:23:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782852679000,"timestamp_ms":1782852679000,"timestamp_seconds":1782852679,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a4cf558"} 
[2026-07-01 02: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-01 02:23:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-01 02:23:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02: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-01 02: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-01 02:23:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:23:00] local.INFO: Teltonika packet parsed successfully {"connection_id":118635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:23:00] local.INFO: Passing IMEI to GPS processor {"connection_id":118635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:23:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":118635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:23:00] 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-01 02:23:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:23:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:23:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410284288001,"66":27571,"113":206,"80":60416,"24":60,"16":332510934922690560,"45":5076119757397297152},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-01 02:23:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:23:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:23:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410284288001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:23:00] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-01 02:23:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-01 02:23:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332510934922690560,"km_value":332510934922690.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:23:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5076119757397297152,"description":"Unknown IO ID 45"} 
[2026-07-01 02:23:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410284288001,"power":27571,"unknown_113":206,"unknown_80":60416,"ignition":60,"odometer":null,"unknown_45":5076119757397297152}} 
[2026-07-01 02:23:00] local.INFO: DEBUG: GPS processor result {"connection_id":118635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:23:00] local.INFO: GPS data processed {"connection_id":118635,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:23:00] local.INFO: Acknowledgment sent {"connection_id":118635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:23:22] local.INFO: TCP Data received {"connection_id":118740,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:23:22] local.INFO: Processing buffer {"connection_id":118740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:23:22] local.INFO: IMEI packet received {"connection_id":118740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 02:23:22] local.INFO: IMEI acknowledgment sent {"connection_id":118740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:23:24] local.INFO: TCP Data received {"connection_id":118740,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:23:24] local.INFO: Processing buffer {"connection_id":118740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:23:24] local.INFO: IMEI packet received {"connection_id":118740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":118740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:23:27] local.INFO: TCP Data received {"connection_id":118740,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:23:27] local.INFO: Processing buffer {"connection_id":118740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:23:27] local.INFO: IMEI packet received {"connection_id":118740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":118740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:23:28] local.INFO: TCP Data received {"connection_id":118740,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a4d10b0012d46558006614860000901522f..."} 
[2026-07-01 02:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a4d10b0012d46558006614860000901522f..."} 
[2026-07-01 02:23:28] local.INFO: Processing buffer {"connection_id":118740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a4d10b0012d46558006614860000901522f..."} 
[2026-07-01 02:23:28] local.INFO: Packet analysis {"connection_id":118740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a4d"} 
[2026-07-01 02:23:28] local.INFO: Extracted packet for processing {"connection_id":118740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a4d"} 
[2026-07-01 02:23:28] local.INFO: GPS Element Parsed {"raw_longitude":759584128,"raw_latitude":107038816,"longitude_deg":75.9584128,"latitude_deg":10.7038816,"altitude":9,"angle":338,"satellites":47,"speed":55,"hex_longitude":"2d465580","hex_latitude":"06614860","is_valid_coordinates":true} 
[2026-07-01 02:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:23:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410285824001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:23:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332511424548962304,"note":"Value kept but may cause issues"} 
[2026-07-01 02:23:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5072319845213898752,"note":"Value kept but may cause issues"} 
[2026-07-01 02:23:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:23:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782852686000,"timestamp_ms":1782852686000,"timestamp_seconds":1782852686,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a4d10b0"} 
[2026-07-01 02:23:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:23:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-01 02:23:28] 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-01 02:23:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:23:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:23:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:23:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:23:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:23:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:23:28] 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-01 02:23:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:23:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:23:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410285824001,"66":27463,"113":206,"80":60416,"24":55,"16":332511424548962304,"45":5072319845213898752},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-07-01 02:23:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:23:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:23:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410285824001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:23:28] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-01 02:23:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-01 02:23:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332511424548962304,"km_value":332511424548962.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:23:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5072319845213898752,"description":"Unknown IO ID 45"} 
[2026-07-01 02:23:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410285824001,"power":27463,"unknown_113":206,"unknown_80":60416,"ignition":55,"odometer":null,"unknown_45":5072319845213898752}} 
[2026-07-01 02:23:28] local.INFO: DEBUG: GPS processor result {"connection_id":118740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:23:28] local.INFO: GPS data processed {"connection_id":118740,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:23:28] local.INFO: Acknowledgment sent {"connection_id":118740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:23:59] local.INFO: TCP Data received {"connection_id":118740,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a4e7fe0012d457dc00662f7080009014a30..."} 
[2026-07-01 02:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a4e7fe0012d457dc00662f7080009014a30..."} 
[2026-07-01 02:23:59] local.INFO: Processing buffer {"connection_id":118740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a4e7fe0012d457dc00662f7080009014a30..."} 
[2026-07-01 02:23:59] local.INFO: Packet analysis {"connection_id":118740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a4e"} 
[2026-07-01 02:23:59] local.INFO: Extracted packet for processing {"connection_id":118740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a4e"} 
[2026-07-01 02:23:59] local.INFO: GPS Element Parsed {"raw_longitude":759528896,"raw_latitude":107149064,"longitude_deg":75.9528896,"latitude_deg":10.7149064,"altitude":9,"angle":330,"satellites":48,"speed":52,"hex_longitude":"2d457dc0","hex_latitude":"0662f708","is_valid_coordinates":true} 
[2026-07-01 02:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410309888001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:23:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332517394553503744,"note":"Value kept but may cause issues"} 
[2026-07-01 02:23:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5012647150179844096,"note":"Value kept but may cause issues"} 
[2026-07-01 02:23:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:23:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782852780000,"timestamp_ms":1782852780000,"timestamp_seconds":1782852780,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a4e7fe0"} 
[2026-07-01 02:23:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:23:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-01 02:23:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:23:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:23:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:23:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:23:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:23:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:23:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:23:59] 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-01 02:23:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:23:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:23:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410309888001,"66":27571,"206":206,"80":60416,"24":52,"16":332517394553503744,"45":5012647150179844096},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,80,24,16,45]} 
[2026-07-01 02:23:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:23:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:23:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410309888001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:23:59] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-07-01 02:23:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-01 02:23:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332517394553503744,"km_value":332517394553503.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:23:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5012647150179844096,"description":"Unknown IO ID 45"} 
[2026-07-01 02:23:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410309888001,"power":27571,"unknown_206":206,"unknown_80":60416,"ignition":52,"odometer":null,"unknown_45":5012647150179844096}} 
[2026-07-01 02:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":118740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:23:59] local.INFO: GPS data processed {"connection_id":118740,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:23:59] local.INFO: Acknowledgment sent {"connection_id":118740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:24:27] local.INFO: TCP Data received {"connection_id":118636,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:24:27] local.INFO: Processing buffer {"connection_id":118636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:24:27] local.INFO: IMEI packet received {"connection_id":118636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 02:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":118636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:24:28] local.INFO: TCP Data received {"connection_id":118636,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:24:28] local.INFO: Processing buffer {"connection_id":118636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:24:28] local.INFO: IMEI packet received {"connection_id":118636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:24:28] local.INFO: IMEI acknowledgment sent {"connection_id":118636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:24:32] local.INFO: TCP Data received {"connection_id":118636,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:24:32] local.INFO: Processing buffer {"connection_id":118636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:24:32] local.INFO: IMEI packet received {"connection_id":118636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":118636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:24:33] local.INFO: TCP Data received {"connection_id":118636,"ip":"42.106.6.42","data_length":1348,"data_hex":"000000000000030f8e0a0000019f1a4e9b38012d456d00066316c8000b014e32..."} 
[2026-07-01 02:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118636,"packet_length":1348,"packet_hex":"000000000000030f8e0a0000019f1a4e9b38012d456d00066316c8000b014e32..."} 
[2026-07-01 02:24:33] local.INFO: Processing buffer {"connection_id":118636,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a0000019f1a4e9b38012d456d00066316c8000b014e32..."} 
[2026-07-01 02:24:33] local.INFO: Packet analysis {"connection_id":118636,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a0000019f1a4e"} 
[2026-07-01 02:24:33] local.INFO: Extracted packet for processing {"connection_id":118636,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019f1a4e"} 
[2026-07-01 02:24:33] local.INFO: GPS Element Parsed {"raw_longitude":759524608,"raw_latitude":107157192,"longitude_deg":75.9524608,"latitude_deg":10.7157192,"altitude":11,"angle":334,"satellites":50,"speed":51,"hex_longitude":"2d456d00","hex_latitude":"066316c8","is_valid_coordinates":true} 
[2026-07-01 02:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410311680001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332517836935135232,"note":"Value kept but may cause issues"} 
[2026-07-01 02:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5007369494368552960,"note":"Value kept but may cause issues"} 
[2026-07-01 02:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782852787000,"timestamp_ms":1782852787000,"timestamp_seconds":1782852787,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a4e9b38"} 
[2026-07-01 02:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-01 02:24:33] 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-01 02:24:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":118636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":118636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":118636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:24:33] 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-01 02:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410311680001,"66":27463,"206":206,"80":60416,"24":51,"16":332517836935135232,"45":5007369494368552960},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,80,24,16,45]} 
[2026-07-01 02:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410311680001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:24:33] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-07-01 02:24:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-01 02:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332517836935135232,"km_value":332517836935135.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5007369494368552960,"description":"Unknown IO ID 45"} 
[2026-07-01 02:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410311680001,"power":27463,"unknown_206":206,"unknown_80":60416,"ignition":51,"odometer":null,"unknown_45":5007369494368552960}} 
[2026-07-01 02:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":118636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:24:33] local.INFO: GPS data processed {"connection_id":118636,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:24:33] local.INFO: Acknowledgment sent {"connection_id":118636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:24:33] local.INFO: Packet analysis {"connection_id":118636,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019f1a4e"} 
[2026-07-01 02:24:33] local.INFO: Incomplete packet, waiting for more data {"connection_id":118636,"needed":795,"available":553} 
[2026-07-01 02:24:34] local.INFO: TCP Data received {"connection_id":118636,"ip":"42.106.6.42","data_length":242,"data_hex":"0000000000019f1a4def58012d45dc40066258f0000a014e2f002e0000000a00..."} 
[2026-07-01 02:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118636,"packet_length":242,"packet_hex":"0000000000019f1a4def58012d45dc40066258f0000a014e2f002e0000000a00..."} 
[2026-07-01 02:24:34] local.INFO: Processing buffer {"connection_id":118636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a4eb690012d455e8006633690000e015131..."} 
[2026-07-01 02:24:34] local.INFO: Packet analysis {"connection_id":118636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a4e"} 
[2026-07-01 02:24:34] local.INFO: Extracted packet for processing {"connection_id":118636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a4e"} 
[2026-07-01 02:24:34] local.INFO: GPS Element Parsed {"raw_longitude":759520896,"raw_latitude":107165328,"longitude_deg":75.9520896,"latitude_deg":10.7165328,"altitude":14,"angle":337,"satellites":49,"speed":50,"hex_longitude":"2d455e80","hex_latitude":"06633690","is_valid_coordinates":true} 
[2026-07-01 02: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-01 02:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410313472001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332518270726832128,"note":"Value kept but may cause issues"} 
[2026-07-01 02:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5002654788510730240,"note":"Value kept but may cause issues"} 
[2026-07-01 02:24:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782852794000,"timestamp_ms":1782852794000,"timestamp_seconds":1782852794,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a4eb690"} 
[2026-07-01 02: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-01 02:24:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-01 02:24:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02: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-01 02: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-01 02:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":118636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":118636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":118636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:24:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 02:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410313472001,"66":27593,"206":206,"80":60416,"24":50,"16":332518270726832128,"45":5002654788510730240},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,80,24,16,45]} 
[2026-07-01 02:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410313472001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:24:34] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-07-01 02:24:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-01 02:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332518270726832128,"km_value":332518270726832.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5002654788510730240,"description":"Unknown IO ID 45"} 
[2026-07-01 02:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410313472001,"power":27593,"unknown_206":206,"unknown_80":60416,"ignition":50,"odometer":null,"unknown_45":5002654788510730240}} 
[2026-07-01 02:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":118636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:24:34] local.INFO: GPS data processed {"connection_id":118636,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:24:34] local.INFO: Acknowledgment sent {"connection_id":118636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:24:37] local.INFO: TCP Data received {"connection_id":118636,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a4ed1e8012d45524006635748001001552f..."} 
[2026-07-01 02:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a4ed1e8012d45524006635748001001552f..."} 
[2026-07-01 02:24:37] local.INFO: Processing buffer {"connection_id":118636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a4ed1e8012d45524006635748001001552f..."} 
[2026-07-01 02:24:37] local.INFO: Packet analysis {"connection_id":118636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a4e"} 
[2026-07-01 02:24:37] local.INFO: Extracted packet for processing {"connection_id":118636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a4e"} 
[2026-07-01 02:24:37] local.INFO: GPS Element Parsed {"raw_longitude":759517760,"raw_latitude":107173704,"longitude_deg":75.951776,"latitude_deg":10.7173704,"altitude":16,"angle":341,"satellites":47,"speed":50,"hex_longitude":"2d455240","hex_latitude":"06635748","is_valid_coordinates":true} 
[2026-07-01 02:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410315264001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332518704518529024,"note":"Value kept but may cause issues"} 
[2026-07-01 02:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4998573401350508544,"note":"Value kept but may cause issues"} 
[2026-07-01 02:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782852801000,"timestamp_ms":1782852801000,"timestamp_seconds":1782852801,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a4ed1e8"} 
[2026-07-01 02:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-01 02:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":118636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":118636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":118636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 02:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410315264001,"66":27593,"206":206,"80":60416,"24":50,"16":332518704518529024,"45":4998573401350508544},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,80,24,16,45]} 
[2026-07-01 02:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410315264001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:24:37] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-07-01 02:24:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-01 02:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332518704518529024,"km_value":332518704518529.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4998573401350508544,"description":"Unknown IO ID 45"} 
[2026-07-01 02:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410315264001,"power":27593,"unknown_206":206,"unknown_80":60416,"ignition":50,"odometer":null,"unknown_45":4998573401350508544}} 
[2026-07-01 02:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":118636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:24:37] local.INFO: GPS data processed {"connection_id":118636,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:24:37] local.INFO: Acknowledgment sent {"connection_id":118636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:25:22] local.INFO: TCP Data received {"connection_id":119395,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:25:22] local.INFO: Processing buffer {"connection_id":119395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:25:22] local.INFO: IMEI packet received {"connection_id":119395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 02:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":119395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:25:25] local.INFO: TCP Data received {"connection_id":119395,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:25:25] local.INFO: Processing buffer {"connection_id":119395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:25:25] local.INFO: IMEI packet received {"connection_id":119395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":119395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:25:28] local.INFO: TCP Data received {"connection_id":119395,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a4eed40012d4546c006637990001001562d..."} 
[2026-07-01 02:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a4eed40012d4546c006637990001001562d..."} 
[2026-07-01 02:25:28] local.INFO: Processing buffer {"connection_id":119395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a4eed40012d4546c006637990001001562d..."} 
[2026-07-01 02:25:28] local.INFO: Packet analysis {"connection_id":119395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a4e"} 
[2026-07-01 02:25:28] local.INFO: Extracted packet for processing {"connection_id":119395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a4e"} 
[2026-07-01 02:25:28] local.INFO: GPS Element Parsed {"raw_longitude":759514816,"raw_latitude":107182480,"longitude_deg":75.9514816,"latitude_deg":10.718248,"altitude":16,"angle":342,"satellites":45,"speed":53,"hex_longitude":"2d4546c0","hex_latitude":"06637990","is_valid_coordinates":true} 
[2026-07-01 02:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:25:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410317056001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:25:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332519151195127808,"note":"Value kept but may cause issues"} 
[2026-07-01 02:25:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4995125332887947264,"note":"Value kept but may cause issues"} 
[2026-07-01 02:25:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:25:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782852808000,"timestamp_ms":1782852808000,"timestamp_seconds":1782852808,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a4eed40"} 
[2026-07-01 02:25:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:25:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-01 02:25:28] 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-01 02:25:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:25:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:25:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:25:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:25:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:25:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:25:28] 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-01 02:25:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:25:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:25:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410317056001,"66":27484,"205":206,"80":60416,"24":53,"16":332519151195127808,"45":4995125332887947264},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,80,24,16,45]} 
[2026-07-01 02:25:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:25:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:25:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410317056001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:25:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-01 02:25:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332519151195127808,"km_value":332519151195127.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:25:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":4995125332887947264,"description":"Unknown IO ID 45"} 
[2026-07-01 02:25:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410317056001,"power":27484,"cell_id":206,"unknown_80":60416,"ignition":53,"odometer":null,"unknown_45":4995125332887947264}} 
[2026-07-01 02:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":119395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:25:28] local.INFO: GPS data processed {"connection_id":119395,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:25:28] local.INFO: Acknowledgment sent {"connection_id":119395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:25:32] local.INFO: TCP Data received {"connection_id":119395,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a4f0898012d453b8006639bc0001101552f..."} 
[2026-07-01 02:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a4f0898012d453b8006639bc0001101552f..."} 
[2026-07-01 02:25:32] local.INFO: Processing buffer {"connection_id":119395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a4f0898012d453b8006639bc0001101552f..."} 
[2026-07-01 02:25:32] local.INFO: Packet analysis {"connection_id":119395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a4f"} 
[2026-07-01 02:25:32] local.INFO: Extracted packet for processing {"connection_id":119395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a4f"} 
[2026-07-01 02:25:32] local.INFO: GPS Element Parsed {"raw_longitude":759511936,"raw_latitude":107191232,"longitude_deg":75.9511936,"latitude_deg":10.7191232,"altitude":17,"angle":341,"satellites":47,"speed":53,"hex_longitude":"2d453b80","hex_latitude":"06639bc0","is_valid_coordinates":true} 
[2026-07-01 02:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410318848001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332519597871726592,"note":"Value kept but may cause issues"} 
[2026-07-01 02:25:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4991888370658021376,"note":"Value kept but may cause issues"} 
[2026-07-01 02:25:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782852815000,"timestamp_ms":1782852815000,"timestamp_seconds":1782852815,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a4f0898"} 
[2026-07-01 02:25:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:25:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 02:25:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:25:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:25:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":119395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":119395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":119395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:25:32] 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-01 02:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410318848001,"66":27484,"205":206,"80":60416,"24":53,"16":332519597871726592,"45":4991888370658021376},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,80,24,16,45]} 
[2026-07-01 02:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410318848001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:25:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-01 02:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332519597871726592,"km_value":332519597871726.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":4991888370658021376,"description":"Unknown IO ID 45"} 
[2026-07-01 02:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410318848001,"power":27484,"cell_id":206,"unknown_80":60416,"ignition":53,"odometer":null,"unknown_45":4991888370658021376}} 
[2026-07-01 02:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":119395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:25:32] local.INFO: GPS data processed {"connection_id":119395,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:25:32] local.INFO: Acknowledgment sent {"connection_id":119395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:26:04] local.INFO: TCP Data received {"connection_id":119395,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a506058012d44a340066539180013015131..."} 
[2026-07-01 02:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a506058012d44a340066539180013015131..."} 
[2026-07-01 02:26:04] local.INFO: Processing buffer {"connection_id":119395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a506058012d44a340066539180013015131..."} 
[2026-07-01 02:26:04] local.INFO: Packet analysis {"connection_id":119395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a50"} 
[2026-07-01 02:26:04] local.INFO: Extracted packet for processing {"connection_id":119395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a50"} 
[2026-07-01 02:26:04] local.INFO: GPS Element Parsed {"raw_longitude":759472960,"raw_latitude":107297048,"longitude_deg":75.947296,"latitude_deg":10.7297048,"altitude":19,"angle":337,"satellites":49,"speed":45,"hex_longitude":"2d44a340","hex_latitude":"06653918","is_valid_coordinates":true} 
[2026-07-01 02: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-01 02:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410341120001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332525056775159808,"note":"Value kept but may cause issues"} 
[2026-07-01 02:26:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4949667124178569216,"note":"Value kept but may cause issues"} 
[2026-07-01 02:26:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782852903000,"timestamp_ms":1782852903000,"timestamp_seconds":1782852903,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a506058"} 
[2026-07-01 02: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-01 02:26: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-01 02: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-01 02:26:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02: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-01 02: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-01 02:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":119395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":119395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":119395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:26:04] 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-01 02:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410341120001,"66":27397,"235":206,"80":60416,"24":45,"16":332525056775159808,"45":4949667124178569216},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,80,24,16,45]} 
[2026-07-01 02:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410341120001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:26:04] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-01 02:26:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-01 02:26:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332525056775159808,"km_value":332525056775159.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:26:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":4949667124178569216,"description":"Unknown IO ID 45"} 
[2026-07-01 02:26:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410341120001,"power":27397,"unknown_235":206,"unknown_80":60416,"ignition":45,"odometer":null,"unknown_45":4949667124178569216}} 
[2026-07-01 02:26:04] local.INFO: DEBUG: GPS processor result {"connection_id":119395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:26:04] local.INFO: GPS data processed {"connection_id":119395,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:26:04] local.INFO: Acknowledgment sent {"connection_id":119395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:26:22] local.INFO: TCP Data received {"connection_id":118637,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:26:22] local.INFO: Processing buffer {"connection_id":118637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:26:22] local.INFO: IMEI packet received {"connection_id":118637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 02:26:22] local.INFO: IMEI acknowledgment sent {"connection_id":118637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:26:25] local.INFO: TCP Data received {"connection_id":118637,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:26:25] local.INFO: Processing buffer {"connection_id":118637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:26:25] local.INFO: IMEI packet received {"connection_id":118637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":118637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:26:26] local.INFO: TCP Data received {"connection_id":118637,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a507f98012d44950006655b100013014f32..."} 
[2026-07-01 02:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a507f98012d44950006655b100013014f32..."} 
[2026-07-01 02:26:26] local.INFO: Processing buffer {"connection_id":118637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a507f98012d44950006655b100013014f32..."} 
[2026-07-01 02:26:26] local.INFO: Packet analysis {"connection_id":118637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a50"} 
[2026-07-01 02:26:26] local.INFO: Extracted packet for processing {"connection_id":118637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a50"} 
[2026-07-01 02:26:26] local.INFO: GPS Element Parsed {"raw_longitude":759469312,"raw_latitude":107305744,"longitude_deg":75.9469312,"latitude_deg":10.7305744,"altitude":19,"angle":335,"satellites":50,"speed":48,"hex_longitude":"2d449500","hex_latitude":"06655b10","is_valid_coordinates":true} 
[2026-07-01 02:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:26:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410343168001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:26:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332525512041693184,"note":"Value kept but may cause issues"} 
[2026-07-01 02:26:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4945867211995158528,"note":"Value kept but may cause issues"} 
[2026-07-01 02:26:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:26:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782852911000,"timestamp_ms":1782852911000,"timestamp_seconds":1782852911,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a507f98"} 
[2026-07-01 02:26:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:26: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-01 02:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-01 02:26:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:26:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:26:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:26:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:26:26] local.INFO: Teltonika packet parsed successfully {"connection_id":118637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:26:26] local.INFO: Passing IMEI to GPS processor {"connection_id":118637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:26:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":118637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:26:26] 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-01 02:26:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:26:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:26:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410343168001,"66":27365,"235":206,"80":60416,"24":48,"16":332525512041693184,"45":4945867211995158528},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,80,24,16,45]} 
[2026-07-01 02:26:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:26:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:26:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410343168001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:26:26] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-01 02:26:26] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-01 02:26:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332525512041693184,"km_value":332525512041693.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:26:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":4945867211995158528,"description":"Unknown IO ID 45"} 
[2026-07-01 02:26:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410343168001,"power":27365,"unknown_235":206,"unknown_80":60416,"ignition":48,"odometer":null,"unknown_45":4945867211995158528}} 
[2026-07-01 02:26:26] local.INFO: DEBUG: GPS processor result {"connection_id":118637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:26:26] local.INFO: GPS data processed {"connection_id":118637,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:26:26] local.INFO: Acknowledgment sent {"connection_id":118637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:26:57] local.INFO: TCP Data received {"connection_id":118637,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a509ed8012d4484c006657ec80013014e31..."} 
[2026-07-01 02:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a509ed8012d4484c006657ec80013014e31..."} 
[2026-07-01 02:26:57] local.INFO: Processing buffer {"connection_id":118637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a509ed8012d4484c006657ec80013014e31..."} 
[2026-07-01 02:26:57] local.INFO: Packet analysis {"connection_id":118637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a50"} 
[2026-07-01 02:26:57] local.INFO: Extracted packet for processing {"connection_id":118637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a50"} 
[2026-07-01 02:26:57] local.INFO: GPS Element Parsed {"raw_longitude":759465152,"raw_latitude":107314888,"longitude_deg":75.9465152,"latitude_deg":10.7314888,"altitude":19,"angle":334,"satellites":49,"speed":51,"hex_longitude":"2d4484c0","hex_latitude":"06657ec8","is_valid_coordinates":true} 
[2026-07-01 02:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:26:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410345216001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:26:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332525997372997632,"note":"Value kept but may cause issues"} 
[2026-07-01 02:26:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4941856193579257856,"note":"Value kept but may cause issues"} 
[2026-07-01 02:26:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:26:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782852919000,"timestamp_ms":1782852919000,"timestamp_seconds":1782852919,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a509ed8"} 
[2026-07-01 02:26:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:26:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 02:26:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:26:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:26:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:26:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:26:57] local.INFO: Teltonika packet parsed successfully {"connection_id":118637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:26:57] local.INFO: Passing IMEI to GPS processor {"connection_id":118637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:26:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":118637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:26:57] 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-01 02:26:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:26:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:26:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410345216001,"66":27300,"235":206,"80":60416,"24":51,"16":332525997372997632,"45":4941856193579257856},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,80,24,16,45]} 
[2026-07-01 02:26:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:26:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:26:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410345216001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:26:57] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-01 02:26:57] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-01 02:26:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332525997372997632,"km_value":332525997372997.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:26:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":4941856193579257856,"description":"Unknown IO ID 45"} 
[2026-07-01 02:26:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410345216001,"power":27300,"unknown_235":206,"unknown_80":60416,"ignition":51,"odometer":null,"unknown_45":4941856193579257856}} 
[2026-07-01 02:26:57] local.INFO: DEBUG: GPS processor result {"connection_id":118637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:26:57] local.INFO: GPS data processed {"connection_id":118637,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:26:57] local.INFO: Acknowledgment sent {"connection_id":118637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:27:22] local.INFO: TCP Data received {"connection_id":119397,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:27:22] local.INFO: Processing buffer {"connection_id":119397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:27:22] local.INFO: IMEI packet received {"connection_id":119397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 02:27:22] local.INFO: IMEI acknowledgment sent {"connection_id":119397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:27:23] local.INFO: TCP Data received {"connection_id":119397,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:27:23] local.INFO: Processing buffer {"connection_id":119397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:27:23] local.INFO: IMEI packet received {"connection_id":119397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:27:23] local.INFO: IMEI acknowledgment sent {"connection_id":119397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:27:27] local.INFO: TCP Data received {"connection_id":119397,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:27:27] local.INFO: Processing buffer {"connection_id":119397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:27:27] local.INFO: IMEI packet received {"connection_id":119397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":119397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:27:28] local.INFO: TCP Data received {"connection_id":119397,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a50ba30012d44754006659fe80012014f30..."} 
[2026-07-01 02:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a50ba30012d44754006659fe80012014f30..."} 
[2026-07-01 02:27:28] local.INFO: Processing buffer {"connection_id":119397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a50ba30012d44754006659fe80012014f30..."} 
[2026-07-01 02:27:28] local.INFO: Packet analysis {"connection_id":119397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a50"} 
[2026-07-01 02:27:28] local.INFO: Extracted packet for processing {"connection_id":119397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a50"} 
[2026-07-01 02:27:28] local.INFO: GPS Element Parsed {"raw_longitude":759461184,"raw_latitude":107323368,"longitude_deg":75.9461184,"latitude_deg":10.7323368,"altitude":18,"angle":335,"satellites":48,"speed":55,"hex_longitude":"2d447540","hex_latitude":"06659fe8","is_valid_coordinates":true} 
[2026-07-01 02:27:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:27:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410347264001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:27:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332526452639531008,"note":"Value kept but may cause issues"} 
[2026-07-01 02:27:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4937282225210050560,"note":"Value kept but may cause issues"} 
[2026-07-01 02:27:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:27:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782852926000,"timestamp_ms":1782852926000,"timestamp_seconds":1782852926,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a50ba30"} 
[2026-07-01 02:27:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:27:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:27:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-01 02:27:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:27:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:27:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:27:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:27:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:27:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:27:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:27:28] 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-01 02:27:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:27:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:27:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410347264001,"66":27267,"235":206,"80":60416,"24":55,"16":332526452639531008,"45":4937282225210050560},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,80,24,16,45]} 
[2026-07-01 02:27:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:27:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:27:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410347264001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:27:28] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-07-01 02:27:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-01 02:27:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332526452639531008,"km_value":332526452639531.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:27:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":4937282225210050560,"description":"Unknown IO ID 45"} 
[2026-07-01 02:27:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410347264001,"power":27267,"unknown_235":206,"unknown_80":60416,"ignition":55,"odometer":null,"unknown_45":4937282225210050560}} 
[2026-07-01 02:27:28] local.INFO: DEBUG: GPS processor result {"connection_id":119397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:27:28] local.INFO: GPS data processed {"connection_id":119397,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:27:28] local.INFO: Acknowledgment sent {"connection_id":119397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:27:52] local.INFO: TCP Data received {"connection_id":119396,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119396,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:27:52] local.INFO: Processing buffer {"connection_id":119396,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:27:52] local.INFO: IMEI packet received {"connection_id":119396,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 02:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":119396,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:28:10] local.INFO: TCP Data received {"connection_id":119397,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a5248a0012d4374c006675f58000b011b30..."} 
[2026-07-01 02:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a5248a0012d4374c006675f58000b011b30..."} 
[2026-07-01 02:28:10] local.INFO: Processing buffer {"connection_id":119397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a5248a0012d4374c006675f58000b011b30..."} 
[2026-07-01 02:28:10] local.INFO: Packet analysis {"connection_id":119397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a52"} 
[2026-07-01 02:28:10] local.INFO: Extracted packet for processing {"connection_id":119397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a52"} 
[2026-07-01 02:28:10] local.INFO: GPS Element Parsed {"raw_longitude":759395520,"raw_latitude":107437912,"longitude_deg":75.939552,"latitude_deg":10.7437912,"altitude":11,"angle":283,"satellites":48,"speed":51,"hex_longitude":"2d4374c0","hex_latitude":"06675f58","is_valid_coordinates":true} 
[2026-07-01 02:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410373376001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332533062594199552,"note":"Value kept but may cause issues"} 
[2026-07-01 02:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4870431918272067584,"note":"Value kept but may cause issues"} 
[2026-07-01 02:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782853028000,"timestamp_ms":1782853028000,"timestamp_seconds":1782853028,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a5248a0"} 
[2026-07-01 02:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-01 02:28:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:28:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":119397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":119397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":119397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:28: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-01 02:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410373376001,"66":27365,"19":206,"80":60416,"24":51,"16":332533062594199552,"45":4870431918272067584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,80,24,16,45]} 
[2026-07-01 02:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410373376001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:28:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-01 02:28:10] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-01 02:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332533062594199552,"km_value":332533062594199.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":4870431918272067584,"description":"Unknown IO ID 45"} 
[2026-07-01 02:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410373376001,"power":27365,"unknown_19":206,"unknown_80":60416,"ignition":51,"odometer":null,"unknown_45":4870431918272067584}} 
[2026-07-01 02:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":119397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:28:10] local.INFO: GPS data processed {"connection_id":119397,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:28:10] local.INFO: Acknowledgment sent {"connection_id":119397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:28:21] local.INFO: TCP Data received {"connection_id":120496,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:28:21] local.INFO: Processing buffer {"connection_id":120496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:28:21] local.INFO: IMEI packet received {"connection_id":120496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 02:28:21] local.INFO: IMEI acknowledgment sent {"connection_id":120496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:28:21] local.INFO: TCP Data received {"connection_id":120496,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:28:22] local.INFO: Processing buffer {"connection_id":120496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:28:22] local.INFO: IMEI packet received {"connection_id":120496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:28:22] local.INFO: IMEI acknowledgment sent {"connection_id":120496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:28:22] local.INFO: TCP Data received {"connection_id":120495,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120495,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:28:22] local.INFO: Processing buffer {"connection_id":120495,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:28:22] local.INFO: IMEI packet received {"connection_id":120495,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 02:28:22] local.INFO: IMEI acknowledgment sent {"connection_id":120495,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:28:22] local.INFO: TCP Data received {"connection_id":120496,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:28:22] local.INFO: Processing buffer {"connection_id":120496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:28:22] local.INFO: IMEI packet received {"connection_id":120496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:28:22] local.INFO: IMEI acknowledgment sent {"connection_id":120496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:28:26] local.INFO: TCP Data received {"connection_id":120496,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:28:26] local.INFO: Processing buffer {"connection_id":120496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:28:26] local.INFO: IMEI packet received {"connection_id":120496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":120496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:28:27] local.INFO: TCP Data received {"connection_id":120496,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a5248a0012d4374c006675f58000b011b30..."} 
[2026-07-01 02:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a5248a0012d4374c006675f58000b011b30..."} 
[2026-07-01 02:28:27] local.INFO: Processing buffer {"connection_id":120496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a5248a0012d4374c006675f58000b011b30..."} 
[2026-07-01 02:28:27] local.INFO: Packet analysis {"connection_id":120496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a52"} 
[2026-07-01 02:28:27] local.INFO: Extracted packet for processing {"connection_id":120496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a52"} 
[2026-07-01 02:28:27] local.INFO: GPS Element Parsed {"raw_longitude":759395520,"raw_latitude":107437912,"longitude_deg":75.939552,"latitude_deg":10.7437912,"altitude":11,"angle":283,"satellites":48,"speed":51,"hex_longitude":"2d4374c0","hex_latitude":"06675f58","is_valid_coordinates":true} 
[2026-07-01 02:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:28:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410375168001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:28:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332533062594199552,"note":"Value kept but may cause issues"} 
[2026-07-01 02:28:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4860721031576246272,"note":"Value kept but may cause issues"} 
[2026-07-01 02:28:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:28:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782853028000,"timestamp_ms":1782853028000,"timestamp_seconds":1782853028,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a5248a0"} 
[2026-07-01 02:28:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:28: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-01 02:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 02:28:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:28:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:28:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:28:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:28:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:28:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:28:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:28:27] 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-01 02:28:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:28:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:28:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410375168001,"66":27365,"19":206,"80":60416,"24":51,"16":332533062594199552,"45":4860721031576246272},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,80,24,16,45]} 
[2026-07-01 02:28:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:28:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:28:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410375168001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:28:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-01 02:28:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-01 02:28:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332533062594199552,"km_value":332533062594199.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:28:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":4860721031576246272,"description":"Unknown IO ID 45"} 
[2026-07-01 02:28:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410375168001,"power":27365,"unknown_19":206,"unknown_80":60416,"ignition":51,"odometer":null,"unknown_45":4860721031576246272}} 
[2026-07-01 02:28:27] local.INFO: DEBUG: GPS processor result {"connection_id":120496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:28:27] local.INFO: GPS data processed {"connection_id":120496,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:28:27] local.INFO: Acknowledgment sent {"connection_id":120496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:28:58] local.INFO: TCP Data received {"connection_id":120496,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a5263f8012d43524006676768000c011a30..."} 
[2026-07-01 02:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a5263f8012d43524006676768000c011a30..."} 
[2026-07-01 02:28:58] local.INFO: Processing buffer {"connection_id":120496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a5263f8012d43524006676768000c011a30..."} 
[2026-07-01 02:28:58] local.INFO: Packet analysis {"connection_id":120496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a52"} 
[2026-07-01 02:28:58] local.INFO: Extracted packet for processing {"connection_id":120496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a52"} 
[2026-07-01 02:28:58] local.INFO: GPS Element Parsed {"raw_longitude":759386688,"raw_latitude":107439976,"longitude_deg":75.9386688,"latitude_deg":10.7439976,"altitude":12,"angle":282,"satellites":48,"speed":52,"hex_longitude":"2d435240","hex_latitude":"06676768","is_valid_coordinates":true} 
[2026-07-01 02:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410375168001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332533492090929152,"note":"Value kept but may cause issues"} 
[2026-07-01 02:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4860721031576246272,"note":"Value kept but may cause issues"} 
[2026-07-01 02:28:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782853035000,"timestamp_ms":1782853035000,"timestamp_seconds":1782853035,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a5263f8"} 
[2026-07-01 02:28:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:28: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-01 02:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 02:28:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:28:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:28:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:28:58] 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-01 02:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410375168001,"66":27484,"19":206,"80":60416,"24":52,"16":332533492090929152,"45":4860721031576246272},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,80,24,16,45]} 
[2026-07-01 02:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410375168001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:28:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-01 02:28:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-01 02:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332533492090929152,"km_value":332533492090929.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":4860721031576246272,"description":"Unknown IO ID 45"} 
[2026-07-01 02:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410375168001,"power":27484,"unknown_19":206,"unknown_80":60416,"ignition":52,"odometer":null,"unknown_45":4860721031576246272}} 
[2026-07-01 02:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":120496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:28:58] local.INFO: GPS data processed {"connection_id":120496,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:28:58] local.INFO: Acknowledgment sent {"connection_id":120496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:29:22] local.INFO: TCP Data received {"connection_id":119398,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:29:22] local.INFO: Processing buffer {"connection_id":119398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:29:22] local.INFO: IMEI packet received {"connection_id":119398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 02:29:22] local.INFO: IMEI acknowledgment sent {"connection_id":119398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:29:27] local.INFO: TCP Data received {"connection_id":119398,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:29:27] local.INFO: Processing buffer {"connection_id":119398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:29:27] local.INFO: IMEI packet received {"connection_id":119398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":119398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:29:28] local.INFO: TCP Data received {"connection_id":119398,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a5369b0012d425600066832b80006015430..."} 
[2026-07-01 02:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a5369b0012d425600066832b80006015430..."} 
[2026-07-01 02:29:28] local.INFO: Processing buffer {"connection_id":119398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a5369b0012d425600066832b80006015430..."} 
[2026-07-01 02:29:28] local.INFO: Packet analysis {"connection_id":119398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a53"} 
[2026-07-01 02:29:28] local.INFO: Extracted packet for processing {"connection_id":119398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a53"} 
[2026-07-01 02:29:28] local.INFO: GPS Element Parsed {"raw_longitude":759322112,"raw_latitude":107492024,"longitude_deg":75.9322112,"latitude_deg":10.7492024,"altitude":6,"angle":340,"satellites":48,"speed":49,"hex_longitude":"2d425600","hex_latitude":"066832b8","is_valid_coordinates":true} 
[2026-07-01 02:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:29:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410392064001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:29:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332537842892800000,"note":"Value kept but may cause issues"} 
[2026-07-01 02:29:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4783807994201630720,"note":"Value kept but may cause issues"} 
[2026-07-01 02:29:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:29:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782853102000,"timestamp_ms":1782853102000,"timestamp_seconds":1782853102,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a5369b0"} 
[2026-07-01 02:29:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:29:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-01 02:29:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:29:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:29:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:29:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:29:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:29:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:29:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:29:28] 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-01 02:29:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:29:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:29:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410392064001,"66":27343,"97":206,"80":60416,"24":49,"16":332537842892800000,"45":4783807994201630720},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,80,24,16,45]} 
[2026-07-01 02:29:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:29:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:29:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410392064001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:29:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 02:29:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-01 02:29:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332537842892800000,"km_value":332537842892800,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:29:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":4783807994201630720,"description":"Unknown IO ID 45"} 
[2026-07-01 02:29:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410392064001,"power":27343,"unknown_97":206,"unknown_80":60416,"ignition":49,"odometer":null,"unknown_45":4783807994201630720}} 
[2026-07-01 02:29:28] local.INFO: DEBUG: GPS processor result {"connection_id":119398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:29:28] local.INFO: GPS data processed {"connection_id":119398,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:29:28] local.INFO: Acknowledgment sent {"connection_id":119398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:30:01] local.INFO: TCP Data received {"connection_id":119398,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a538508012d4249c0066853a0000601522d..."} 
[2026-07-01 02:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a538508012d4249c0066853a0000601522d..."} 
[2026-07-01 02:30:01] local.INFO: Processing buffer {"connection_id":119398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a538508012d4249c0066853a0000601522d..."} 
[2026-07-01 02:30:01] local.INFO: Packet analysis {"connection_id":119398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a53"} 
[2026-07-01 02:30:01] local.INFO: Extracted packet for processing {"connection_id":119398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a53"} 
[2026-07-01 02:30:01] local.INFO: GPS Element Parsed {"raw_longitude":759318976,"raw_latitude":107500448,"longitude_deg":75.9318976,"latitude_deg":10.7500448,"altitude":6,"angle":338,"satellites":45,"speed":52,"hex_longitude":"2d4249c0","hex_latitude":"066853a0","is_valid_coordinates":true} 
[2026-07-01 02: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-01 02:30:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410394112001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:30:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332538276684496896,"note":"Value kept but may cause issues"} 
[2026-07-01 02:30:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4780008082018318336,"note":"Value kept but may cause issues"} 
[2026-07-01 02:30:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:30:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782853109000,"timestamp_ms":1782853109000,"timestamp_seconds":1782853109,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a538508"} 
[2026-07-01 02: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-01 02:30:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-01 02:30:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02: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-01 02: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-01 02:30:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:30:01] local.INFO: Teltonika packet parsed successfully {"connection_id":119398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:30:01] local.INFO: Passing IMEI to GPS processor {"connection_id":119398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:30:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":119398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:30:01] 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-01 02:30:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:30:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:30:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410394112001,"66":27267,"97":206,"80":60416,"24":52,"16":332538276684496896,"45":4780008082018318336},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,80,24,16,45]} 
[2026-07-01 02:30:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:30:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:30:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410394112001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:30:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 02:30:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-01 02:30:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332538276684496896,"km_value":332538276684496.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:30:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":4780008082018318336,"description":"Unknown IO ID 45"} 
[2026-07-01 02:30:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410394112001,"power":27267,"unknown_97":206,"unknown_80":60416,"ignition":52,"odometer":null,"unknown_45":4780008082018318336}} 
[2026-07-01 02:30:01] local.INFO: DEBUG: GPS processor result {"connection_id":119398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:30:01] local.INFO: GPS data processed {"connection_id":119398,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:30:01] local.INFO: Acknowledgment sent {"connection_id":119398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:30:25] local.INFO: TCP Data received {"connection_id":118640,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:30:25] local.INFO: Processing buffer {"connection_id":118640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:30:25] local.INFO: IMEI packet received {"connection_id":118640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 02:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":118640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:30:27] local.INFO: TCP Data received {"connection_id":118640,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:30:27] local.INFO: Processing buffer {"connection_id":118640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:30:27] local.INFO: IMEI packet received {"connection_id":118640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":118640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:30:32] local.INFO: TCP Data received {"connection_id":118640,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:30:32] local.INFO: Processing buffer {"connection_id":118640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:30:32] local.INFO: IMEI packet received {"connection_id":118640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":118640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:30:34] local.INFO: TCP Data received {"connection_id":118640,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a53a060012d423c8006687648000501522f..."} 
[2026-07-01 02:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a53a060012d423c8006687648000501522f..."} 
[2026-07-01 02:30:34] local.INFO: Processing buffer {"connection_id":118640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a53a060012d423c8006687648000501522f..."} 
[2026-07-01 02:30:34] local.INFO: Packet analysis {"connection_id":118640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a53"} 
[2026-07-01 02:30:34] local.INFO: Extracted packet for processing {"connection_id":118640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a53"} 
[2026-07-01 02:30:34] local.INFO: GPS Element Parsed {"raw_longitude":759315584,"raw_latitude":107509320,"longitude_deg":75.9315584,"latitude_deg":10.750932,"altitude":5,"angle":338,"satellites":47,"speed":54,"hex_longitude":"2d423c80","hex_latitude":"06687648","is_valid_coordinates":true} 
[2026-07-01 02: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-01 02:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410395904001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332538736245997568,"note":"Value kept but may cause issues"} 
[2026-07-01 02:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4776560013555769344,"note":"Value kept but may cause issues"} 
[2026-07-01 02:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782853116000,"timestamp_ms":1782853116000,"timestamp_seconds":1782853116,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a53a060"} 
[2026-07-01 02: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-01 02:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-01 02:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02: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-01 02: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-01 02:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":118640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":118640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":118640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 02:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410395904001,"66":27376,"97":206,"80":60416,"24":54,"16":332538736245997568,"45":4776560013555769344},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,80,24,16,45]} 
[2026-07-01 02:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410395904001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:30:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 02:30:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-01 02:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332538736245997568,"km_value":332538736245997.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":4776560013555769344,"description":"Unknown IO ID 45"} 
[2026-07-01 02:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410395904001,"power":27376,"unknown_97":206,"unknown_80":60416,"ignition":54,"odometer":null,"unknown_45":4776560013555769344}} 
[2026-07-01 02:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":118640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:30:34] local.INFO: GPS data processed {"connection_id":118640,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:30:34] local.INFO: Acknowledgment sent {"connection_id":118640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:31:05] local.INFO: TCP Data received {"connection_id":118640,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a5507c0012d41bc40066a4078000f001030..."} 
[2026-07-01 02:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a5507c0012d41bc40066a4078000f001030..."} 
[2026-07-01 02:31:05] local.INFO: Processing buffer {"connection_id":118640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a5507c0012d41bc40066a4078000f001030..."} 
[2026-07-01 02:31:05] local.INFO: Packet analysis {"connection_id":118640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a55"} 
[2026-07-01 02:31:05] local.INFO: Extracted packet for processing {"connection_id":118640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a55"} 
[2026-07-01 02:31:05] local.INFO: GPS Element Parsed {"raw_longitude":759282752,"raw_latitude":107626616,"longitude_deg":75.9282752,"latitude_deg":10.7626616,"altitude":15,"angle":16,"satellites":48,"speed":54,"hex_longitude":"2d41bc40","hex_latitude":"066a4078","is_valid_coordinates":true} 
[2026-07-01 02: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-01 02:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410419456001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332544714840473600,"note":"Value kept but may cause issues"} 
[2026-07-01 02:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4734549873311664128,"note":"Value kept but may cause issues"} 
[2026-07-01 02:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782853208000,"timestamp_ms":1782853208000,"timestamp_seconds":1782853208,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a5507c0"} 
[2026-07-01 02: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-01 02:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-01 02:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02: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-01 02: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-01 02:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":118640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":118640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":118640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:31:05] 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-01 02:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410419456001,"66":27321,"96":206,"80":60416,"24":54,"16":332544714840473600,"45":4734549873311664128},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,80,24,16,45]} 
[2026-07-01 02:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410419456001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:31:05] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-01 02:31:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-01 02:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332544714840473600,"km_value":332544714840473.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":4734549873311664128,"description":"Unknown IO ID 45"} 
[2026-07-01 02:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410419456001,"power":27321,"unknown_96":206,"unknown_80":60416,"ignition":54,"odometer":null,"unknown_45":4734549873311664128}} 
[2026-07-01 02:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":118640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:31:05] local.INFO: GPS data processed {"connection_id":118640,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:31:05] local.INFO: Acknowledgment sent {"connection_id":118640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:31:22] local.INFO: TCP Data received {"connection_id":118741,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:31:22] local.INFO: Processing buffer {"connection_id":118741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:31:22] local.INFO: IMEI packet received {"connection_id":118741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 02:31:22] local.INFO: IMEI acknowledgment sent {"connection_id":118741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:31:22] local.INFO: TCP Data received {"connection_id":118741,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:31:22] local.INFO: Processing buffer {"connection_id":118741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:31:22] local.INFO: IMEI packet received {"connection_id":118741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:31:22] local.INFO: IMEI acknowledgment sent {"connection_id":118741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:31:27] local.INFO: TCP Data received {"connection_id":118741,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:31:27] local.INFO: Processing buffer {"connection_id":118741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:31:27] local.INFO: IMEI packet received {"connection_id":118741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:31:27] local.INFO: IMEI acknowledgment sent {"connection_id":118741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:31:28] local.INFO: TCP Data received {"connection_id":118741,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a551f30012d41c900066a5ef8000d001b2f..."} 
[2026-07-01 02:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a551f30012d41c900066a5ef8000d001b2f..."} 
[2026-07-01 02:31:28] local.INFO: Processing buffer {"connection_id":118741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a551f30012d41c900066a5ef8000d001b2f..."} 
[2026-07-01 02:31:28] local.INFO: Packet analysis {"connection_id":118741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a55"} 
[2026-07-01 02:31:28] local.INFO: Extracted packet for processing {"connection_id":118741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a55"} 
[2026-07-01 02:31:28] local.INFO: GPS Element Parsed {"raw_longitude":759286016,"raw_latitude":107634424,"longitude_deg":75.9286016,"latitude_deg":10.7634424,"altitude":13,"angle":27,"satellites":47,"speed":58,"hex_longitude":"2d41c900","hex_latitude":"066a5ef8","is_valid_coordinates":true} 
[2026-07-01 02: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-01 02:31:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410421248001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:31:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332545127157334016,"note":"Value kept but may cause issues"} 
[2026-07-01 02:31:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4736731304383510528,"note":"Value kept but may cause issues"} 
[2026-07-01 02:31:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:31:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782853214000,"timestamp_ms":1782853214000,"timestamp_seconds":1782853214,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a551f30"} 
[2026-07-01 02: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-01 02:31:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-01 02:31:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02: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-01 02: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-01 02:31:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:31:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:31:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:31:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:31:28] 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-01 02:31:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:31:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:31:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410421248001,"66":27169,"96":206,"80":60416,"24":58,"16":332545127157334016,"45":4736731304383510528},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,80,24,16,45]} 
[2026-07-01 02:31:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:31:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:31:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410421248001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:31:28] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-01 02:31:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-01 02:31:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332545127157334016,"km_value":332545127157334.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:31:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":4736731304383510528,"description":"Unknown IO ID 45"} 
[2026-07-01 02:31:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410421248001,"power":27169,"unknown_96":206,"unknown_80":60416,"ignition":58,"odometer":null,"unknown_45":4736731304383510528}} 
[2026-07-01 02:31:28] local.INFO: DEBUG: GPS processor result {"connection_id":118741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:31:28] local.INFO: GPS data processed {"connection_id":118741,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:31:28] local.INFO: Acknowledgment sent {"connection_id":118741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:31:59] local.INFO: TCP Data received {"connection_id":118741,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a5536a0012d41dc80066a7c60000b00232f..."} 
[2026-07-01 02:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a5536a0012d41dc80066a7c60000b00232f..."} 
[2026-07-01 02:31:59] local.INFO: Processing buffer {"connection_id":118741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a5536a0012d41dc80066a7c60000b00232f..."} 
[2026-07-01 02:31:59] local.INFO: Packet analysis {"connection_id":118741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a55"} 
[2026-07-01 02:31:59] local.INFO: Extracted packet for processing {"connection_id":118741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a55"} 
[2026-07-01 02:31:59] local.INFO: GPS Element Parsed {"raw_longitude":759291008,"raw_latitude":107641952,"longitude_deg":75.9291008,"latitude_deg":10.7641952,"altitude":11,"angle":35,"satellites":47,"speed":60,"hex_longitude":"2d41dc80","hex_latitude":"066a7c60","is_valid_coordinates":true} 
[2026-07-01 02: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-01 02:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410422784001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332545560949030912,"note":"Value kept but may cause issues"} 
[2026-07-01 02:31:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4740320110338570240,"note":"Value kept but may cause issues"} 
[2026-07-01 02:31:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782853220000,"timestamp_ms":1782853220000,"timestamp_seconds":1782853220,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a5536a0"} 
[2026-07-01 02: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-01 02:31: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-01 02: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":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-01 02:31:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02: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-01 02: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-01 02:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:31:59] 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-01 02:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410422784001,"66":27332,"96":206,"80":60416,"24":60,"16":332545560949030912,"45":4740320110338570240},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,80,24,16,45]} 
[2026-07-01 02:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410422784001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:31:59] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-01 02:31:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-01 02:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332545560949030912,"km_value":332545560949030.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:31:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":4740320110338570240,"description":"Unknown IO ID 45"} 
[2026-07-01 02:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410422784001,"power":27332,"unknown_96":206,"unknown_80":60416,"ignition":60,"odometer":null,"unknown_45":4740320110338570240}} 
[2026-07-01 02:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":118741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:31:59] local.INFO: GPS data processed {"connection_id":118741,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:31:59] local.INFO: Acknowledgment sent {"connection_id":118741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:32:22] local.INFO: TCP Data received {"connection_id":119400,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:32:22] local.INFO: Processing buffer {"connection_id":119400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:32:22] local.INFO: IMEI packet received {"connection_id":119400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 02:32:22] local.INFO: IMEI acknowledgment sent {"connection_id":119400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:32:23] local.INFO: TCP Data received {"connection_id":119400,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:32:23] local.INFO: Processing buffer {"connection_id":119400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:32:23] local.INFO: IMEI packet received {"connection_id":119400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":119400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:32:27] local.INFO: TCP Data received {"connection_id":119400,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:32:27] local.INFO: Processing buffer {"connection_id":119400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:32:27] local.INFO: IMEI packet received {"connection_id":119400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":119400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:32:28] local.INFO: TCP Data received {"connection_id":119400,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a5551f8012d41f280066a99c0000d002331..."} 
[2026-07-01 02:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a5551f8012d41f280066a99c0000d002331..."} 
[2026-07-01 02:32:28] local.INFO: Processing buffer {"connection_id":119400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a5551f8012d41f280066a99c0000d002331..."} 
[2026-07-01 02:32:28] local.INFO: Packet analysis {"connection_id":119400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a55"} 
[2026-07-01 02:32:28] local.INFO: Extracted packet for processing {"connection_id":119400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a55"} 
[2026-07-01 02:32:28] local.INFO: GPS Element Parsed {"raw_longitude":759296640,"raw_latitude":107649472,"longitude_deg":75.929664,"latitude_deg":10.7649472,"altitude":13,"angle":35,"satellites":49,"speed":46,"hex_longitude":"2d41f280","hex_latitude":"066a99c0","is_valid_coordinates":true} 
[2026-07-01 02:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:32:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410424320001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:32:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332546016215564288,"note":"Value kept but may cause issues"} 
[2026-07-01 02:32:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4745808872386355200,"note":"Value kept but may cause issues"} 
[2026-07-01 02:32:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:32:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782853227000,"timestamp_ms":1782853227000,"timestamp_seconds":1782853227,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a5551f8"} 
[2026-07-01 02:32:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:32:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-01 02:32:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:32:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:32:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:32:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:32:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:32:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:32:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:32:28] 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-01 02:32:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:32:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:32:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410424320001,"66":27071,"96":206,"80":60416,"24":46,"16":332546016215564288,"45":4745808872386355200},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,80,24,16,45]} 
[2026-07-01 02:32:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:32:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:32:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410424320001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:32:28] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-01 02:32:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-01 02:32:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332546016215564288,"km_value":332546016215564.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:32:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":4745808872386355200,"description":"Unknown IO ID 45"} 
[2026-07-01 02:32:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410424320001,"power":27071,"unknown_96":206,"unknown_80":60416,"ignition":46,"odometer":null,"unknown_45":4745808872386355200}} 
[2026-07-01 02:32:28] local.INFO: DEBUG: GPS processor result {"connection_id":119400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:32:28] local.INFO: GPS data processed {"connection_id":119400,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:32:28] local.INFO: Acknowledgment sent {"connection_id":119400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:32:31] local.INFO: TCP Data received {"connection_id":119400,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a557520012d420980066ab970000e002330..."} 
[2026-07-01 02:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a557520012d420980066ab970000e002330..."} 
[2026-07-01 02:32:31] local.INFO: Processing buffer {"connection_id":119400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a557520012d420980066ab970000e002330..."} 
[2026-07-01 02:32:31] local.INFO: Packet analysis {"connection_id":119400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a55"} 
[2026-07-01 02:32:31] local.INFO: Extracted packet for processing {"connection_id":119400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a55"} 
[2026-07-01 02:32:31] local.INFO: GPS Element Parsed {"raw_longitude":759302528,"raw_latitude":107657584,"longitude_deg":75.9302528,"latitude_deg":10.7657584,"altitude":14,"angle":35,"satellites":48,"speed":45,"hex_longitude":"2d420980","hex_latitude":"066ab970","is_valid_coordinates":true} 
[2026-07-01 02:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410426112001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332546497251901440,"note":"Value kept but may cause issues"} 
[2026-07-01 02:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4752001321875914752,"note":"Value kept but may cause issues"} 
[2026-07-01 02:32:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782853236000,"timestamp_ms":1782853236000,"timestamp_seconds":1782853236,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a557520"} 
[2026-07-01 02:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:32:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-07-01 02:32:31] 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-01 02:32:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:32:31] 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-01 02:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410426112001,"66":27484,"20":206,"80":60416,"24":45,"16":332546497251901440,"45":4752001321875914752},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,80,24,16,45]} 
[2026-07-01 02:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410426112001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:32:31] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-07-01 02:32:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-01 02:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332546497251901440,"km_value":332546497251901.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":4752001321875914752,"description":"Unknown IO ID 45"} 
[2026-07-01 02:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410426112001,"power":27484,"unknown_20":206,"unknown_80":60416,"ignition":45,"odometer":null,"unknown_45":4752001321875914752}} 
[2026-07-01 02:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":119400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:32:31] local.INFO: GPS data processed {"connection_id":119400,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:32:31] local.INFO: Acknowledgment sent {"connection_id":119400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:33:02] local.INFO: TCP Data received {"connection_id":119400,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a56d898012d434cc0066c2b08000600292d..."} 
[2026-07-01 02:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a56d898012d434cc0066c2b08000600292d..."} 
[2026-07-01 02:33:02] local.INFO: Processing buffer {"connection_id":119400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a56d898012d434cc0066c2b08000600292d..."} 
[2026-07-01 02:33:02] local.INFO: Packet analysis {"connection_id":119400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a56"} 
[2026-07-01 02:33:02] local.INFO: Extracted packet for processing {"connection_id":119400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a56"} 
[2026-07-01 02:33:02] local.INFO: GPS Element Parsed {"raw_longitude":759385280,"raw_latitude":107752200,"longitude_deg":75.938528,"latitude_deg":10.77522,"altitude":6,"angle":41,"satellites":45,"speed":49,"hex_longitude":"2d434cc0","hex_latitude":"066c2b08","is_valid_coordinates":true} 
[2026-07-01 02:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410449664001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332552557450756096,"note":"Value kept but may cause issues"} 
[2026-07-01 02:33:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4842284420680214528,"note":"Value kept but may cause issues"} 
[2026-07-01 02:33:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782853327000,"timestamp_ms":1782853327000,"timestamp_seconds":1782853327,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a56d898"} 
[2026-07-01 02:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:33:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 02:33:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:33:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":119400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":119400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":119400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:33:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 02:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410449664001,"66":27343,"148":206,"80":60416,"24":49,"16":332552557450756096,"45":4842284420680214528},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,80,24,16,45]} 
[2026-07-01 02:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410449664001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:33:02] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-07-01 02:33:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-01 02:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332552557450756096,"km_value":332552557450756.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:33:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":4842284420680214528,"description":"Unknown IO ID 45"} 
[2026-07-01 02:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410449664001,"power":27343,"unknown_148":206,"unknown_80":60416,"ignition":49,"odometer":null,"unknown_45":4842284420680214528}} 
[2026-07-01 02:33:02] local.INFO: DEBUG: GPS processor result {"connection_id":119400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:33:02] local.INFO: GPS data processed {"connection_id":119400,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:33:02] local.INFO: Acknowledgment sent {"connection_id":119400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:33:21] local.INFO: TCP Data received {"connection_id":120498,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:33:21] local.INFO: Processing buffer {"connection_id":120498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:33:21] local.INFO: IMEI packet received {"connection_id":120498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 02:33:21] local.INFO: IMEI acknowledgment sent {"connection_id":120498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:33:22] local.INFO: TCP Data received {"connection_id":120498,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:33:22] local.INFO: Processing buffer {"connection_id":120498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:33:22] local.INFO: IMEI packet received {"connection_id":120498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:33:22] local.INFO: IMEI acknowledgment sent {"connection_id":120498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:33:27] local.INFO: TCP Data received {"connection_id":120498,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:33:27] local.INFO: Processing buffer {"connection_id":120498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:33:27] local.INFO: IMEI packet received {"connection_id":120498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":120498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:33:28] local.INFO: TCP Data received {"connection_id":120498,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a56f7d8012d4366c0066c4890000700292c..."} 
[2026-07-01 02:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a56f7d8012d4366c0066c4890000700292c..."} 
[2026-07-01 02:33:28] local.INFO: Processing buffer {"connection_id":120498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a56f7d8012d4366c0066c4890000700292c..."} 
[2026-07-01 02:33:28] local.INFO: Packet analysis {"connection_id":120498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a56"} 
[2026-07-01 02:33:28] local.INFO: Extracted packet for processing {"connection_id":120498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a56"} 
[2026-07-01 02:33:28] local.INFO: GPS Element Parsed {"raw_longitude":759391936,"raw_latitude":107759760,"longitude_deg":75.9391936,"latitude_deg":10.775976,"altitude":7,"angle":41,"satellites":44,"speed":51,"hex_longitude":"2d4366c0","hex_latitude":"066c4890","is_valid_coordinates":true} 
[2026-07-01 02:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410451712001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332553038487093248,"note":"Value kept but may cause issues"} 
[2026-07-01 02:33:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4849462032588277760,"note":"Value kept but may cause issues"} 
[2026-07-01 02:33:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782853335000,"timestamp_ms":1782853335000,"timestamp_seconds":1782853335,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a56f7d8"} 
[2026-07-01 02:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:33:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-01 02:33:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:33:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":120498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":120498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":120498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:33:28] 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-01 02:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410451712001,"66":27267,"148":206,"80":60416,"24":51,"16":332553038487093248,"45":4849462032588277760},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,80,24,16,45]} 
[2026-07-01 02:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410451712001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:33:28] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-07-01 02:33:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-01 02:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332553038487093248,"km_value":332553038487093.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:33:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":4849462032588277760,"description":"Unknown IO ID 45"} 
[2026-07-01 02:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410451712001,"power":27267,"unknown_148":206,"unknown_80":60416,"ignition":51,"odometer":null,"unknown_45":4849462032588277760}} 
[2026-07-01 02:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":120498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:33:28] local.INFO: GPS data processed {"connection_id":120498,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:33:28] local.INFO: Acknowledgment sent {"connection_id":120498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:33:42] local.INFO: TCP Data received {"connection_id":118641,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118641,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:33:42] local.INFO: Processing buffer {"connection_id":118641,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:33:42] local.INFO: IMEI packet received {"connection_id":118641,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 02:33:42] local.INFO: IMEI acknowledgment sent {"connection_id":118641,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:33:59] local.INFO: TCP Data received {"connection_id":120498,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a571330012d437e40066c63f0000700272e..."} 
[2026-07-01 02:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a571330012d437e40066c63f0000700272e..."} 
[2026-07-01 02:33:59] local.INFO: Processing buffer {"connection_id":120498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a571330012d437e40066c63f0000700272e..."} 
[2026-07-01 02:33:59] local.INFO: Packet analysis {"connection_id":120498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a57"} 
[2026-07-01 02:33:59] local.INFO: Extracted packet for processing {"connection_id":120498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a57"} 
[2026-07-01 02:33:59] local.INFO: GPS Element Parsed {"raw_longitude":759397952,"raw_latitude":107766768,"longitude_deg":75.9397952,"latitude_deg":10.7766768,"altitude":7,"angle":39,"satellites":46,"speed":53,"hex_longitude":"2d437e40","hex_latitude":"066c63f0","is_valid_coordinates":true} 
[2026-07-01 02: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-01 02:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410453760001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332553485163692032,"note":"Value kept but may cause issues"} 
[2026-07-01 02:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4856780381984690176,"note":"Value kept but may cause issues"} 
[2026-07-01 02:33:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782853342000,"timestamp_ms":1782853342000,"timestamp_seconds":1782853342,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a571330"} 
[2026-07-01 02: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-01 02:33: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-01 02: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-01 02:33:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02: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-01 02: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-01 02:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":120498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":120498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":120498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:33:59] 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-01 02:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410453760001,"66":27267,"148":206,"80":60416,"24":53,"16":332553485163692032,"45":4856780381984690176},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,80,24,16,45]} 
[2026-07-01 02:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410453760001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:33:59] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-07-01 02:33:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-01 02:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332553485163692032,"km_value":332553485163692.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":4856780381984690176,"description":"Unknown IO ID 45"} 
[2026-07-01 02:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410453760001,"power":27267,"unknown_148":206,"unknown_80":60416,"ignition":53,"odometer":null,"unknown_45":4856780381984690176}} 
[2026-07-01 02:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":120498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:33:59] local.INFO: GPS data processed {"connection_id":120498,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:33:59] local.INFO: Acknowledgment sent {"connection_id":120498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:34:17] local.INFO: TCP Data received {"connection_id":118642,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118642,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:34:17] local.INFO: Processing buffer {"connection_id":118642,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:34:17] local.INFO: IMEI packet received {"connection_id":118642,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 02:34:17] local.INFO: IMEI acknowledgment sent {"connection_id":118642,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:34:22] local.INFO: TCP Data received {"connection_id":118742,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:34:22] local.INFO: Processing buffer {"connection_id":118742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:34:22] local.INFO: IMEI packet received {"connection_id":118742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 02:34:22] local.INFO: IMEI acknowledgment sent {"connection_id":118742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:34:26] local.INFO: TCP Data received {"connection_id":118742,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:34:26] local.INFO: Processing buffer {"connection_id":118742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:34:26] local.INFO: IMEI packet received {"connection_id":118742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":118742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:34:43] local.INFO: TCP Data received {"connection_id":118742,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a572e88012d4396c0066c8128000600272f..."} 
[2026-07-01 02:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a572e88012d4396c0066c8128000600272f..."} 
[2026-07-01 02:34:43] local.INFO: Processing buffer {"connection_id":118742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a572e88012d4396c0066c8128000600272f..."} 
[2026-07-01 02:34:43] local.INFO: Packet analysis {"connection_id":118742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a57"} 
[2026-07-01 02:34:43] local.INFO: Extracted packet for processing {"connection_id":118742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a57"} 
[2026-07-01 02:34:43] local.INFO: GPS Element Parsed {"raw_longitude":759404224,"raw_latitude":107774248,"longitude_deg":75.9404224,"latitude_deg":10.7774248,"altitude":6,"angle":39,"satellites":47,"speed":55,"hex_longitude":"2d4396c0","hex_latitude":"066c8128","is_valid_coordinates":true} 
[2026-07-01 02:34:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:34:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410455552001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:34:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332553953315127296,"note":"Value kept but may cause issues"} 
[2026-07-01 02:34:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4863395043939184640,"note":"Value kept but may cause issues"} 
[2026-07-01 02:34:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:34:43] local.INFO: AVL Record Parsed {"raw_timestamp":1782853349000,"timestamp_ms":1782853349000,"timestamp_seconds":1782853349,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a572e88"} 
[2026-07-01 02:34:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:34:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:34:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-01 02:34:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:34:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:34:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:34:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:34:43] local.INFO: Teltonika packet parsed successfully {"connection_id":118742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:34:43] local.INFO: Passing IMEI to GPS processor {"connection_id":118742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:34:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":118742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:34:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 02:34:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:34:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:34:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410455552001,"66":27267,"148":206,"80":60416,"24":55,"16":332553953315127296,"45":4863395043939184640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,80,24,16,45]} 
[2026-07-01 02:34:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:34:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:34:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410455552001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:34:43] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-07-01 02:34:43] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-07-01 02:34:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332553953315127296,"km_value":332553953315127.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:34:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":4863395043939184640,"description":"Unknown IO ID 45"} 
[2026-07-01 02:34:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410455552001,"power":27267,"unknown_148":206,"unknown_80":60416,"ignition":55,"odometer":null,"unknown_45":4863395043939184640}} 
[2026-07-01 02:34:43] local.INFO: DEBUG: GPS processor result {"connection_id":118742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:34:43] local.INFO: GPS data processed {"connection_id":118742,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:34:43] local.INFO: Acknowledgment sent {"connection_id":118742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:35:22] local.INFO: TCP Data received {"connection_id":120500,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:35:22] local.INFO: Processing buffer {"connection_id":120500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:35:22] local.INFO: IMEI packet received {"connection_id":120500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 02:35:22] local.INFO: IMEI acknowledgment sent {"connection_id":120500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:35:28] local.INFO: TCP Data received {"connection_id":120500,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:35:28] local.INFO: Processing buffer {"connection_id":120500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:35:28] local.INFO: IMEI packet received {"connection_id":120500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:35:28] local.INFO: IMEI acknowledgment sent {"connection_id":120500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:35:29] local.INFO: TCP Data received {"connection_id":120500,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a58c8b0012d4506c0066e35d00008002931..."} 
[2026-07-01 02:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a58c8b0012d4506c0066e35d00008002931..."} 
[2026-07-01 02:35:29] local.INFO: Processing buffer {"connection_id":120500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a58c8b0012d4506c0066e35d00008002931..."} 
[2026-07-01 02:35:29] local.INFO: Packet analysis {"connection_id":120500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a58"} 
[2026-07-01 02:35:29] local.INFO: Extracted packet for processing {"connection_id":120500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a58"} 
[2026-07-01 02:35:29] local.INFO: GPS Element Parsed {"raw_longitude":759498432,"raw_latitude":107886032,"longitude_deg":75.9498432,"latitude_deg":10.7886032,"altitude":8,"angle":41,"satellites":49,"speed":58,"hex_longitude":"2d4506c0","hex_latitude":"066e35d0","is_valid_coordinates":true} 
[2026-07-01 02:35:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:35:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410482688001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:35:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332560992766525440,"note":"Value kept but may cause issues"} 
[2026-07-01 02:35:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4966907466653384704,"note":"Value kept but may cause issues"} 
[2026-07-01 02:35:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:35:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782853454000,"timestamp_ms":1782853454000,"timestamp_seconds":1782853454,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a58c8b0"} 
[2026-07-01 02:35:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:35:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:35:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-01 02:35:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:35:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:35:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:35:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:35:29] local.INFO: Teltonika packet parsed successfully {"connection_id":120500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:35:29] local.INFO: Passing IMEI to GPS processor {"connection_id":120500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:35:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":120500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:35:29] 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-01 02:35:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:35:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:35:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410482688001,"66":27332,"241":206,"80":60160,"24":58,"16":332560992766525440,"45":4966907466653384704},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-07-01 02:35:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:35:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:35:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410482688001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:35:29] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-07-01 02:35:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-01 02:35:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332560992766525440,"km_value":332560992766525.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:35:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":4966907466653384704,"description":"Unknown IO ID 45"} 
[2026-07-01 02:35:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410482688001,"power":27332,"unknown_241":206,"unknown_80":60160,"ignition":58,"odometer":null,"unknown_45":4966907466653384704}} 
[2026-07-01 02:35:29] local.INFO: DEBUG: GPS processor result {"connection_id":120500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:35:29] local.INFO: GPS data processed {"connection_id":120500,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:35:29] local.INFO: Acknowledgment sent {"connection_id":120500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:36:05] local.INFO: TCP Data received {"connection_id":120500,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a58e408012d452080066e53700008002630..."} 
[2026-07-01 02:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a58e408012d452080066e53700008002630..."} 
[2026-07-01 02:36:05] local.INFO: Processing buffer {"connection_id":120500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a58e408012d452080066e53700008002630..."} 
[2026-07-01 02:36:05] local.INFO: Packet analysis {"connection_id":120500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a58"} 
[2026-07-01 02:36:05] local.INFO: Extracted packet for processing {"connection_id":120500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a58"} 
[2026-07-01 02:36:05] local.INFO: GPS Element Parsed {"raw_longitude":759505024,"raw_latitude":107893616,"longitude_deg":75.9505024,"latitude_deg":10.7893616,"altitude":8,"angle":38,"satellites":48,"speed":54,"hex_longitude":"2d452080","hex_latitude":"066e5370","is_valid_coordinates":true} 
[2026-07-01 02:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410484224001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332561473802862592,"note":"Value kept but may cause issues"} 
[2026-07-01 02:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4973873972328648704,"note":"Value kept but may cause issues"} 
[2026-07-01 02:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782853461000,"timestamp_ms":1782853461000,"timestamp_seconds":1782853461,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a58e408"} 
[2026-07-01 02:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-01 02:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":120500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":120500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":120500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:36:05] 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-01 02:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410484224001,"66":27397,"241":206,"80":60160,"24":54,"16":332561473802862592,"45":4973873972328648704},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-07-01 02:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410484224001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:36:05] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-07-01 02:36:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-01 02:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332561473802862592,"km_value":332561473802862.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":4973873972328648704,"description":"Unknown IO ID 45"} 
[2026-07-01 02:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410484224001,"power":27397,"unknown_241":206,"unknown_80":60160,"ignition":54,"odometer":null,"unknown_45":4973873972328648704}} 
[2026-07-01 02:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":120500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:36:05] local.INFO: GPS data processed {"connection_id":120500,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:36:05] local.INFO: Acknowledgment sent {"connection_id":120500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:36:27] local.INFO: TCP Data received {"connection_id":119401,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:36:27] local.INFO: Processing buffer {"connection_id":119401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:36:27] local.INFO: IMEI packet received {"connection_id":119401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 02:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":119401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:36:30] local.INFO: TCP Data received {"connection_id":119401,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:36:30] local.INFO: Processing buffer {"connection_id":119401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:36:30] local.INFO: IMEI packet received {"connection_id":119401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":119401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:36:31] local.INFO: TCP Data received {"connection_id":119401,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a5a0ce8012d462180066fa2700009002f2d..."} 
[2026-07-01 02:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a5a0ce8012d462180066fa2700009002f2d..."} 
[2026-07-01 02:36:31] local.INFO: Processing buffer {"connection_id":119401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a5a0ce8012d462180066fa2700009002f2d..."} 
[2026-07-01 02:36:31] local.INFO: Packet analysis {"connection_id":119401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a5a"} 
[2026-07-01 02:36:31] local.INFO: Extracted packet for processing {"connection_id":119401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a5a"} 
[2026-07-01 02:36:31] local.INFO: GPS Element Parsed {"raw_longitude":759570816,"raw_latitude":107979376,"longitude_deg":75.9570816,"latitude_deg":10.7979376,"altitude":9,"angle":47,"satellites":45,"speed":52,"hex_longitude":"2d462180","hex_latitude":"066fa270","is_valid_coordinates":true} 
[2026-07-01 02:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410503680001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332566696483094528,"note":"Value kept but may cause issues"} 
[2026-07-01 02:36:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5045509353923745792,"note":"Value kept but may cause issues"} 
[2026-07-01 02:36:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782853537000,"timestamp_ms":1782853537000,"timestamp_seconds":1782853537,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a5a0ce8"} 
[2026-07-01 02:36:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:36:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-01 02:36:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:36:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:36:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:36:31] 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-01 02:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410503680001,"66":27365,"196":206,"80":60160,"24":52,"16":332566696483094528,"45":5045509353923745792},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,80,24,16,45]} 
[2026-07-01 02:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410503680001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:36:31] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-01 02:36:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-01 02:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332566696483094528,"km_value":332566696483094.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:36:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5045509353923745792,"description":"Unknown IO ID 45"} 
[2026-07-01 02:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410503680001,"power":27365,"unknown_196":206,"unknown_80":60160,"ignition":52,"odometer":null,"unknown_45":5045509353923745792}} 
[2026-07-01 02:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":119401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:36:31] local.INFO: GPS data processed {"connection_id":119401,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:36:31] local.INFO: Acknowledgment sent {"connection_id":119401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:37:19] local.INFO: TCP Data received {"connection_id":119401,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a5a2840012d463bc0066fb9c0000800302f..."} 
[2026-07-01 02:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a5a2840012d463bc0066fb9c0000800302f..."} 
[2026-07-01 02:37:19] local.INFO: Processing buffer {"connection_id":119401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a5a2840012d463bc0066fb9c0000800302f..."} 
[2026-07-01 02:37:19] local.INFO: Packet analysis {"connection_id":119401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a5a"} 
[2026-07-01 02:37:19] local.INFO: Extracted packet for processing {"connection_id":119401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a5a"} 
[2026-07-01 02:37:19] local.INFO: GPS Element Parsed {"raw_longitude":759577536,"raw_latitude":107985344,"longitude_deg":75.9577536,"latitude_deg":10.7985344,"altitude":8,"angle":48,"satellites":47,"speed":48,"hex_longitude":"2d463bc0","hex_latitude":"066fb9c0","is_valid_coordinates":true} 
[2026-07-01 02:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:37:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410505472001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:37:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332567130274791424,"note":"Value kept but may cause issues"} 
[2026-07-01 02:37:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5053461022017482752,"note":"Value kept but may cause issues"} 
[2026-07-01 02:37:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:37:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782853544000,"timestamp_ms":1782853544000,"timestamp_seconds":1782853544,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a5a2840"} 
[2026-07-01 02:37:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:37:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 02:37:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:37:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:37:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:37:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:37:19] local.INFO: Teltonika packet parsed successfully {"connection_id":119401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:37:19] local.INFO: Passing IMEI to GPS processor {"connection_id":119401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:37:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":119401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:37:19] 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-01 02:37:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:37:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:37:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410505472001,"66":27332,"196":206,"80":60160,"24":48,"16":332567130274791424,"45":5053461022017482752},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,80,24,16,45]} 
[2026-07-01 02:37:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:37:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:37:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410505472001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:37:19] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-01 02:37:19] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-01 02:37:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332567130274791424,"km_value":332567130274791.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:37:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5053461022017482752,"description":"Unknown IO ID 45"} 
[2026-07-01 02:37:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410505472001,"power":27332,"unknown_196":206,"unknown_80":60160,"ignition":48,"odometer":null,"unknown_45":5053461022017482752}} 
[2026-07-01 02:37:19] local.INFO: DEBUG: GPS processor result {"connection_id":119401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:37:19] local.INFO: GPS data processed {"connection_id":119401,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:37:19] local.INFO: Acknowledgment sent {"connection_id":119401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:37:22] local.INFO: TCP Data received {"connection_id":118643,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:37:22] local.INFO: Processing buffer {"connection_id":118643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:37:22] local.INFO: IMEI packet received {"connection_id":118643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 02:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":118643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:37:29] local.INFO: TCP Data received {"connection_id":118643,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:37:29] local.INFO: Processing buffer {"connection_id":118643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:37:29] local.INFO: IMEI packet received {"connection_id":118643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":118643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:37:30] local.INFO: TCP Data received {"connection_id":118643,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:37:30] local.INFO: Processing buffer {"connection_id":118643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:37:30] local.INFO: IMEI packet received {"connection_id":118643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":118643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:37:31] local.INFO: TCP Data received {"connection_id":118643,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a5a4780012d465940066fd3d00008002f2f..."} 
[2026-07-01 02:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a5a4780012d465940066fd3d00008002f2f..."} 
[2026-07-01 02:37:31] local.INFO: Processing buffer {"connection_id":118643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a5a4780012d465940066fd3d00008002f2f..."} 
[2026-07-01 02:37:31] local.INFO: Packet analysis {"connection_id":118643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a5a"} 
[2026-07-01 02:37:31] local.INFO: Extracted packet for processing {"connection_id":118643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a5a"} 
[2026-07-01 02:37:31] local.INFO: GPS Element Parsed {"raw_longitude":759585088,"raw_latitude":107992016,"longitude_deg":75.9585088,"latitude_deg":10.7992016,"altitude":8,"angle":47,"satellites":47,"speed":50,"hex_longitude":"2d465940","hex_latitude":"066fd3d0","is_valid_coordinates":true} 
[2026-07-01 02:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410507264001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332567611311128576,"note":"Value kept but may cause issues"} 
[2026-07-01 02:37:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5060849740157665280,"note":"Value kept but may cause issues"} 
[2026-07-01 02:37:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782853552000,"timestamp_ms":1782853552000,"timestamp_seconds":1782853552,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a5a4780"} 
[2026-07-01 02:37:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:37:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-01 02:37:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:37:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:37:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":118643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":118643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":118643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:37:31] 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-01 02:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410507264001,"66":27321,"196":206,"80":60160,"24":50,"16":332567611311128576,"45":5060849740157665280},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,80,24,16,45]} 
[2026-07-01 02:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410507264001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:37:31] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-01 02:37:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-01 02:37:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332567611311128576,"km_value":332567611311128.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:37:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5060849740157665280,"description":"Unknown IO ID 45"} 
[2026-07-01 02:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410507264001,"power":27321,"unknown_196":206,"unknown_80":60160,"ignition":50,"odometer":null,"unknown_45":5060849740157665280}} 
[2026-07-01 02:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":118643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:37:31] local.INFO: GPS data processed {"connection_id":118643,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:37:31] local.INFO: Acknowledgment sent {"connection_id":118643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:37:32] local.INFO: TCP Data received {"connection_id":118643,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a5a62d8012d467300066fec380008002a2f..."} 
[2026-07-01 02:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a5a62d8012d467300066fec380008002a2f..."} 
[2026-07-01 02:37:32] local.INFO: Processing buffer {"connection_id":118643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a5a62d8012d467300066fec380008002a2f..."} 
[2026-07-01 02:37:32] local.INFO: Packet analysis {"connection_id":118643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a5a"} 
[2026-07-01 02:37:32] local.INFO: Extracted packet for processing {"connection_id":118643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a5a"} 
[2026-07-01 02:37:32] local.INFO: GPS Element Parsed {"raw_longitude":759591680,"raw_latitude":107998264,"longitude_deg":75.959168,"latitude_deg":10.7998264,"altitude":8,"angle":42,"satellites":47,"speed":51,"hex_longitude":"2d467300","hex_latitude":"066fec38","is_valid_coordinates":true} 
[2026-07-01 02:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410509312001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332568049397792768,"note":"Value kept but may cause issues"} 
[2026-07-01 02:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5069153251972337664,"note":"Value kept but may cause issues"} 
[2026-07-01 02:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782853559000,"timestamp_ms":1782853559000,"timestamp_seconds":1782853559,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a5a62d8"} 
[2026-07-01 02:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:37:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-01 02:37:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:37:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":118643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":118643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":118643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:37:32] 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-01 02:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410509312001,"66":27376,"196":206,"80":60160,"24":51,"16":332568049397792768,"45":5069153251972337664},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,80,24,16,45]} 
[2026-07-01 02:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410509312001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:37:32] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-01 02:37:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-01 02:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332568049397792768,"km_value":332568049397792.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5069153251972337664,"description":"Unknown IO ID 45"} 
[2026-07-01 02:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410509312001,"power":27376,"unknown_196":206,"unknown_80":60160,"ignition":51,"odometer":null,"unknown_45":5069153251972337664}} 
[2026-07-01 02:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":118643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:37:32] local.INFO: GPS data processed {"connection_id":118643,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:37:32] local.INFO: Acknowledgment sent {"connection_id":118643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:38:03] local.INFO: TCP Data received {"connection_id":118643,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a5a7e30012d46894006700770000a00252e..."} 
[2026-07-01 02:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a5a7e30012d46894006700770000a00252e..."} 
[2026-07-01 02:38:03] local.INFO: Processing buffer {"connection_id":118643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a5a7e30012d46894006700770000a00252e..."} 
[2026-07-01 02:38:03] local.INFO: Packet analysis {"connection_id":118643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a5a"} 
[2026-07-01 02:38:03] local.INFO: Extracted packet for processing {"connection_id":118643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a5a"} 
[2026-07-01 02:38:03] local.INFO: GPS Element Parsed {"raw_longitude":759597376,"raw_latitude":108005232,"longitude_deg":75.9597376,"latitude_deg":10.8005232,"altitude":10,"angle":37,"satellites":46,"speed":49,"hex_longitude":"2d468940","hex_latitude":"06700770","is_valid_coordinates":true} 
[2026-07-01 02:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410511104001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332568483189489664,"note":"Value kept but may cause issues"} 
[2026-07-01 02:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5076401232624236544,"note":"Value kept but may cause issues"} 
[2026-07-01 02:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782853566000,"timestamp_ms":1782853566000,"timestamp_seconds":1782853566,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a5a7e30"} 
[2026-07-01 02:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:38:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-01 02:38:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:38:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":118643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":118643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":118643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:38:03] 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-01 02:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410511104001,"66":27365,"196":206,"80":60160,"24":49,"16":332568483189489664,"45":5076401232624236544},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,80,24,16,45]} 
[2026-07-01 02:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410511104001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:38:03] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-01 02:38:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-01 02:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332568483189489664,"km_value":332568483189489.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5076401232624236544,"description":"Unknown IO ID 45"} 
[2026-07-01 02:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410511104001,"power":27365,"unknown_196":206,"unknown_80":60160,"ignition":49,"odometer":null,"unknown_45":5076401232624236544}} 
[2026-07-01 02:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":118643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:38:03] local.INFO: GPS data processed {"connection_id":118643,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:38:03] local.INFO: Acknowledgment sent {"connection_id":118643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:38:32] local.INFO: TCP Data received {"connection_id":120501,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:38:32] local.INFO: Processing buffer {"connection_id":120501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:38:32] local.INFO: IMEI packet received {"connection_id":120501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 02:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":120501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:38:36] local.INFO: TCP Data received {"connection_id":120501,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:38:36] local.INFO: Processing buffer {"connection_id":120501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:38:36] local.INFO: IMEI packet received {"connection_id":120501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":120501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:38:37] local.INFO: TCP Data received {"connection_id":120501,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:38:37] local.INFO: Processing buffer {"connection_id":120501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:38:37] local.INFO: IMEI packet received {"connection_id":120501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":120501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:38:40] local.INFO: TCP Data received {"connection_id":120501,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a5baee0012d479180067144a80007002b30..."} 
[2026-07-01 02:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a5baee0012d479180067144a80007002b30..."} 
[2026-07-01 02:38:40] local.INFO: Processing buffer {"connection_id":120501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a5baee0012d479180067144a80007002b30..."} 
[2026-07-01 02:38:40] local.INFO: Packet analysis {"connection_id":120501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a5b"} 
[2026-07-01 02:38:40] local.INFO: Extracted packet for processing {"connection_id":120501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a5b"} 
[2026-07-01 02:38:40] local.INFO: GPS Element Parsed {"raw_longitude":759665024,"raw_latitude":108086440,"longitude_deg":75.9665024,"latitude_deg":10.808644,"altitude":7,"angle":43,"satellites":48,"speed":53,"hex_longitude":"2d479180","hex_latitude":"067144a8","is_valid_coordinates":true} 
[2026-07-01 02:38:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:38:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410531072001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:38:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332573577020702720,"note":"Value kept but may cause issues"} 
[2026-07-01 02:38:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5150147676543309824,"note":"Value kept but may cause issues"} 
[2026-07-01 02:38:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:38:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782853644000,"timestamp_ms":1782853644000,"timestamp_seconds":1782853644,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a5baee0"} 
[2026-07-01 02:38:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:38:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:38:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-01 02:38:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:38:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:38:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:38:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:38:40] local.INFO: Teltonika packet parsed successfully {"connection_id":120501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:38:40] local.INFO: Passing IMEI to GPS processor {"connection_id":120501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:38:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":120501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:38: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-01 02:38:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:38:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:38:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410531072001,"66":27484,"248":206,"80":60160,"24":53,"16":332573577020702720,"45":5150147676543309824},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,80,24,16,45]} 
[2026-07-01 02:38:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:38:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:38:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410531072001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:38:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-01 02:38:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332573577020702720,"km_value":332573577020702.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:38:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":5150147676543309824,"description":"Unknown IO ID 45"} 
[2026-07-01 02:38:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410531072001,"power":27484,"tamper_alert":206,"unknown_80":60160,"ignition":53,"odometer":null,"unknown_45":5150147676543309824}} 
[2026-07-01 02:38:40] local.INFO: DEBUG: GPS processor result {"connection_id":120501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:38:40] local.INFO: GPS data processed {"connection_id":120501,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:38:40] local.INFO: Acknowledgment sent {"connection_id":120501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:38:41] local.INFO: TCP Data received {"connection_id":120501,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a5bca38012d47ab4006715ff00007002b2f..."} 
[2026-07-01 02:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a5bca38012d47ab4006715ff00007002b2f..."} 
[2026-07-01 02:38:41] local.INFO: Processing buffer {"connection_id":120501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a5bca38012d47ab4006715ff00007002b2f..."} 
[2026-07-01 02:38:41] local.INFO: Packet analysis {"connection_id":120501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a5b"} 
[2026-07-01 02:38:41] local.INFO: Extracted packet for processing {"connection_id":120501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a5b"} 
[2026-07-01 02:38:41] local.INFO: GPS Element Parsed {"raw_longitude":759671616,"raw_latitude":108093424,"longitude_deg":75.9671616,"latitude_deg":10.8093424,"altitude":7,"angle":43,"satellites":47,"speed":56,"hex_longitude":"2d47ab40","hex_latitude":"06715ff0","is_valid_coordinates":true} 
[2026-07-01 02: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-01 02:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410532864001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332574036582203392,"note":"Value kept but may cause issues"} 
[2026-07-01 02:38:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5157043813474412544,"note":"Value kept but may cause issues"} 
[2026-07-01 02:38:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782853651000,"timestamp_ms":1782853651000,"timestamp_seconds":1782853651,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a5bca38"} 
[2026-07-01 02: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-01 02:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 02:38:41] 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-01 02: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-01 02: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-01 02:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":120501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":120501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":120501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:38: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-01 02:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410532864001,"66":27267,"248":206,"80":60160,"24":56,"16":332574036582203392,"45":5157043813474412544},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,80,24,16,45]} 
[2026-07-01 02:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410532864001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:38:41] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-01 02:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332574036582203392,"km_value":332574036582203.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:38:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":5157043813474412544,"description":"Unknown IO ID 45"} 
[2026-07-01 02:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410532864001,"power":27267,"tamper_alert":206,"unknown_80":60160,"ignition":56,"odometer":null,"unknown_45":5157043813474412544}} 
[2026-07-01 02:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":120501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:38:41] local.INFO: GPS data processed {"connection_id":120501,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:38:41] local.INFO: Acknowledgment sent {"connection_id":120501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:39:22] local.INFO: TCP Data received {"connection_id":120503,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:39:22] local.INFO: Processing buffer {"connection_id":120503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:39:22] local.INFO: IMEI packet received {"connection_id":120503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 02:39:22] local.INFO: IMEI acknowledgment sent {"connection_id":120503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:39:23] local.INFO: TCP Data received {"connection_id":120503,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:39:23] local.INFO: Processing buffer {"connection_id":120503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:39:23] local.INFO: IMEI packet received {"connection_id":120503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:39:23] local.INFO: IMEI acknowledgment sent {"connection_id":120503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:39:27] local.INFO: TCP Data received {"connection_id":120503,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:39:27] local.INFO: Processing buffer {"connection_id":120503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:39:27] local.INFO: IMEI packet received {"connection_id":120503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":120503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:39:28] local.INFO: TCP Data received {"connection_id":120503,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a5be590012d47c6c006717d100008002a2e..."} 
[2026-07-01 02:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a5be590012d47c6c006717d100008002a2e..."} 
[2026-07-01 02:39:28] local.INFO: Processing buffer {"connection_id":120503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a5be590012d47c6c006717d100008002a2e..."} 
[2026-07-01 02:39:28] local.INFO: Packet analysis {"connection_id":120503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a5b"} 
[2026-07-01 02:39:28] local.INFO: Extracted packet for processing {"connection_id":120503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a5b"} 
[2026-07-01 02:39:28] local.INFO: GPS Element Parsed {"raw_longitude":759678656,"raw_latitude":108100880,"longitude_deg":75.9678656,"latitude_deg":10.810088,"altitude":8,"angle":42,"satellites":46,"speed":58,"hex_longitude":"2d47c6c0","hex_latitude":"06717d10","is_valid_coordinates":true} 
[2026-07-01 02: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-01 02:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410534656001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332574530503442432,"note":"Value kept but may cause issues"} 
[2026-07-01 02:39:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5164291794126499840,"note":"Value kept but may cause issues"} 
[2026-07-01 02:39:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782853658000,"timestamp_ms":1782853658000,"timestamp_seconds":1782853658,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a5be590"} 
[2026-07-01 02: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-01 02:39:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-01 02:39:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02: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-01 02: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-01 02:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":120503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":120503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":120503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:39:28] 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-01 02:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410534656001,"66":27463,"248":206,"80":60160,"24":58,"16":332574530503442432,"45":5164291794126499840},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,80,24,16,45]} 
[2026-07-01 02:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410534656001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:39:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-01 02:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332574530503442432,"km_value":332574530503442.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:39:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5164291794126499840,"description":"Unknown IO ID 45"} 
[2026-07-01 02:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410534656001,"power":27463,"tamper_alert":206,"unknown_80":60160,"ignition":58,"odometer":null,"unknown_45":5164291794126499840}} 
[2026-07-01 02:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":120503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:39:28] local.INFO: GPS data processed {"connection_id":120503,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:39:28] local.INFO: Acknowledgment sent {"connection_id":120503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:39:32] local.INFO: TCP Data received {"connection_id":120502,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120502,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:39:32] local.INFO: Processing buffer {"connection_id":120502,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:39:32] local.INFO: IMEI packet received {"connection_id":120502,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 02:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":120502,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:39:59] local.INFO: TCP Data received {"connection_id":120503,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a5d3d50012d490cc00672e660000c00262e..."} 
[2026-07-01 02:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a5d3d50012d490cc00672e660000c00262e..."} 
[2026-07-01 02:39:59] local.INFO: Processing buffer {"connection_id":120503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a5d3d50012d490cc00672e660000c00262e..."} 
[2026-07-01 02:39:59] local.INFO: Packet analysis {"connection_id":120503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a5d"} 
[2026-07-01 02:39:59] local.INFO: Extracted packet for processing {"connection_id":120503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a5d"} 
[2026-07-01 02:39:59] local.INFO: GPS Element Parsed {"raw_longitude":759762112,"raw_latitude":108193376,"longitude_deg":75.9762112,"latitude_deg":10.8193376,"altitude":12,"angle":38,"satellites":46,"speed":51,"hex_longitude":"2d490cc0","hex_latitude":"0672e660","is_valid_coordinates":true} 
[2026-07-01 02: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-01 02:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410557184001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332580526277787648,"note":"Value kept but may cause issues"} 
[2026-07-01 02:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5257530380185712640,"note":"Value kept but may cause issues"} 
[2026-07-01 02:39:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782853746000,"timestamp_ms":1782853746000,"timestamp_seconds":1782853746,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a5d3d50"} 
[2026-07-01 02: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-01 02:39: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-01 02: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-01 02:39:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02: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-01 02: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-01 02:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":120503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":120503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":120503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:39:59] 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-01 02:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410557184001,"66":27300,"83":206,"80":60160,"24":51,"16":332580526277787648,"45":5257530380185712640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-07-01 02:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410557184001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:39:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-01 02:39:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-01 02:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332580526277787648,"km_value":332580526277787.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5257530380185712640,"description":"Unknown IO ID 45"} 
[2026-07-01 02:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410557184001,"power":27300,"unknown_83":206,"unknown_80":60160,"ignition":51,"odometer":null,"unknown_45":5257530380185712640}} 
[2026-07-01 02:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":120503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:39:59] local.INFO: GPS data processed {"connection_id":120503,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:39:59] local.INFO: Acknowledgment sent {"connection_id":120503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:40:16] local.INFO: TCP Data received {"connection_id":118745,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118745,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:40:16] local.INFO: Processing buffer {"connection_id":118745,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:40:16] local.INFO: IMEI packet received {"connection_id":118745,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 02:40:16] local.INFO: IMEI acknowledgment sent {"connection_id":118745,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:40:22] local.INFO: TCP Data received {"connection_id":119403,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:40:22] local.INFO: Processing buffer {"connection_id":119403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:40:22] local.INFO: IMEI packet received {"connection_id":119403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 02:40:22] local.INFO: IMEI acknowledgment sent {"connection_id":119403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:40:22] local.INFO: TCP Data received {"connection_id":119403,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:40:22] local.INFO: Processing buffer {"connection_id":119403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:40:22] local.INFO: IMEI packet received {"connection_id":119403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:40:22] local.INFO: IMEI acknowledgment sent {"connection_id":119403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:40:27] local.INFO: TCP Data received {"connection_id":119403,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:40:27] local.INFO: Processing buffer {"connection_id":119403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:40:27] local.INFO: IMEI packet received {"connection_id":119403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":119403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:40:28] local.INFO: TCP Data received {"connection_id":119403,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a5d58a8012d4923c006730260000d00272e..."} 
[2026-07-01 02:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a5d58a8012d4923c006730260000d00272e..."} 
[2026-07-01 02:40:28] local.INFO: Processing buffer {"connection_id":119403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a5d58a8012d4923c006730260000d00272e..."} 
[2026-07-01 02:40:28] local.INFO: Packet analysis {"connection_id":119403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a5d"} 
[2026-07-01 02:40:28] local.INFO: Extracted packet for processing {"connection_id":119403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a5d"} 
[2026-07-01 02:40:28] local.INFO: GPS Element Parsed {"raw_longitude":759768000,"raw_latitude":108200544,"longitude_deg":75.9768,"latitude_deg":10.8200544,"altitude":13,"angle":39,"satellites":46,"speed":54,"hex_longitude":"2d4923c0","hex_latitude":"06730260","is_valid_coordinates":true} 
[2026-07-01 02:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410558976001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332580972954386432,"note":"Value kept but may cause issues"} 
[2026-07-01 02:40:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5263793198419304448,"note":"Value kept but may cause issues"} 
[2026-07-01 02:40:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782853753000,"timestamp_ms":1782853753000,"timestamp_seconds":1782853753,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a5d58a8"} 
[2026-07-01 02:40:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:40:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-01 02:40:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:40:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:40:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:40:28] 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-01 02:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410558976001,"66":27332,"218":206,"80":60160,"24":54,"16":332580972954386432,"45":5263793198419304448},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-07-01 02:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410558976001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:40:28] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-07-01 02:40:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-01 02:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332580972954386432,"km_value":332580972954386.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:40:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5263793198419304448,"description":"Unknown IO ID 45"} 
[2026-07-01 02:40:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410558976001,"power":27332,"unknown_218":206,"unknown_80":60160,"ignition":54,"odometer":null,"unknown_45":5263793198419304448}} 
[2026-07-01 02:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":119403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:40:28] local.INFO: GPS data processed {"connection_id":119403,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:40:28] local.INFO: Acknowledgment sent {"connection_id":119403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:40:58] local.INFO: TCP Data received {"connection_id":119403,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a5d7400012d493bc006731ff8000d00272e..."} 
[2026-07-01 02:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a5d7400012d493bc006731ff8000d00272e..."} 
[2026-07-01 02:40:58] local.INFO: Processing buffer {"connection_id":119403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a5d7400012d493bc006731ff8000d00272e..."} 
[2026-07-01 02:40:58] local.INFO: Packet analysis {"connection_id":119403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a5d"} 
[2026-07-01 02:40:58] local.INFO: Extracted packet for processing {"connection_id":119403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a5d"} 
[2026-07-01 02:40:58] local.INFO: GPS Element Parsed {"raw_longitude":759774144,"raw_latitude":108208120,"longitude_deg":75.9774144,"latitude_deg":10.820812,"altitude":13,"angle":39,"satellites":46,"speed":56,"hex_longitude":"2d493bc0","hex_latitude":"06731ff8","is_valid_coordinates":true} 
[2026-07-01 02: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-01 02:40:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410560768001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:40:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332581441105821696,"note":"Value kept but may cause issues"} 
[2026-07-01 02:40:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5270267122885484544,"note":"Value kept but may cause issues"} 
[2026-07-01 02:40:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:40:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782853760000,"timestamp_ms":1782853760000,"timestamp_seconds":1782853760,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a5d7400"} 
[2026-07-01 02: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-01 02:40: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-01 02: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-01 02:40:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02: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-01 02: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-01 02:40:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:40:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:40:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:40:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:40:58] 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-01 02:40:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:40:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:40:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410560768001,"66":27441,"218":206,"80":60160,"24":56,"16":332581441105821696,"45":5270267122885484544},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-07-01 02:40:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:40:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:40:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410560768001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:40:58] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-07-01 02:40:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-01 02:40:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332581441105821696,"km_value":332581441105821.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:40:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5270267122885484544,"description":"Unknown IO ID 45"} 
[2026-07-01 02:40:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410560768001,"power":27441,"unknown_218":206,"unknown_80":60160,"ignition":56,"odometer":null,"unknown_45":5270267122885484544}} 
[2026-07-01 02:40:58] local.INFO: DEBUG: GPS processor result {"connection_id":119403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:40:58] local.INFO: GPS data processed {"connection_id":119403,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:40:58] local.INFO: Acknowledgment sent {"connection_id":119403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:42:01] local.INFO: TCP Data received {"connection_id":118747,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:42:01] local.INFO: Processing buffer {"connection_id":118747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:42:01] local.INFO: IMEI packet received {"connection_id":118747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 02:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":118747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:42:03] local.INFO: TCP Data received {"connection_id":118747,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:42:03] local.INFO: Processing buffer {"connection_id":118747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:42:03] local.INFO: IMEI packet received {"connection_id":118747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":118747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:42:29] local.INFO: TCP Data received {"connection_id":120505,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:42:29] local.INFO: Processing buffer {"connection_id":120505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:42:29] local.INFO: IMEI packet received {"connection_id":120505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 02:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":120505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:42:33] local.INFO: TCP Data received {"connection_id":120505,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:42:33] local.INFO: Processing buffer {"connection_id":120505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:42:33] local.INFO: IMEI packet received {"connection_id":120505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":120505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:45:32] local.INFO: TCP Data received {"connection_id":120508,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120508,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:45:32] local.INFO: Processing buffer {"connection_id":120508,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:45:32] local.INFO: IMEI packet received {"connection_id":120508,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 02:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":120508,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:46:22] local.INFO: TCP Data received {"connection_id":118748,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118748,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:46:22] local.INFO: Processing buffer {"connection_id":118748,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:46:22] local.INFO: IMEI packet received {"connection_id":118748,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 02:46:22] local.INFO: IMEI acknowledgment sent {"connection_id":118748,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:47:37] local.INFO: TCP Data received {"connection_id":120511,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:47:37] local.INFO: Processing buffer {"connection_id":120511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:47:37] local.INFO: IMEI packet received {"connection_id":120511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 02:47:37] local.INFO: IMEI acknowledgment sent {"connection_id":120511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:47:53] local.INFO: TCP Data received {"connection_id":120511,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a638e80012d4fbd40067633700016006c2c..."} 
[2026-07-01 02:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a638e80012d4fbd40067633700016006c2c..."} 
[2026-07-01 02:47:53] local.INFO: Processing buffer {"connection_id":120511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a638e80012d4fbd40067633700016006c2c..."} 
[2026-07-01 02:47:53] local.INFO: Packet analysis {"connection_id":120511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a63"} 
[2026-07-01 02:47:53] local.INFO: Extracted packet for processing {"connection_id":120511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a63"} 
[2026-07-01 02:47:53] local.INFO: GPS Element Parsed {"raw_longitude":760200512,"raw_latitude":108409712,"longitude_deg":76.0200512,"latitude_deg":10.8409712,"altitude":22,"angle":108,"satellites":44,"speed":58,"hex_longitude":"2d4fbd40","hex_latitude":"06763370","is_valid_coordinates":true} 
[2026-07-01 02:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:47:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410663168001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:47:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332607455722733568,"note":"Value kept but may cause issues"} 
[2026-07-01 02:47:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5735404521954349056,"note":"Value kept but may cause issues"} 
[2026-07-01 02:47:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:47:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782854160000,"timestamp_ms":1782854160000,"timestamp_seconds":1782854160,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a638e80"} 
[2026-07-01 02:47:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:47:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 02:47:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:47:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:47:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:47:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:47:53] local.INFO: Teltonika packet parsed successfully {"connection_id":120511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:47:53] local.INFO: Passing IMEI to GPS processor {"connection_id":120511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:47:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":120511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:47:53] 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-01 02:47:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:47:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:47:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410663168001,"66":27517,"167":206,"80":60160,"24":58,"16":332607455722733568,"45":5735404521954349056},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,80,24,16,45]} 
[2026-07-01 02:47:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:47:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:47:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410663168001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:47:53] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-01 02:47:53] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-01 02:47:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332607455722733568,"km_value":332607455722733.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:47:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5735404521954349056,"description":"Unknown IO ID 45"} 
[2026-07-01 02:47:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410663168001,"power":27517,"unknown_167":206,"unknown_80":60160,"ignition":58,"odometer":null,"unknown_45":5735404521954349056}} 
[2026-07-01 02:47:53] local.INFO: DEBUG: GPS processor result {"connection_id":120511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:47:53] local.INFO: GPS data processed {"connection_id":120511,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:47:53] local.INFO: Acknowledgment sent {"connection_id":120511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:48:32] local.INFO: TCP Data received {"connection_id":118646,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:48:32] local.INFO: Processing buffer {"connection_id":118646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:48:32] local.INFO: IMEI packet received {"connection_id":118646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 02:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":118646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:48:37] local.INFO: TCP Data received {"connection_id":118646,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:48:37] local.INFO: Processing buffer {"connection_id":118646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:48:37] local.INFO: IMEI packet received {"connection_id":118646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:48:37] local.INFO: IMEI acknowledgment sent {"connection_id":118646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:48:37] local.INFO: TCP Data received {"connection_id":118646,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a64a3d8012d512280067654e80014002b2f..."} 
[2026-07-01 02:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a64a3d8012d512280067654e80014002b2f..."} 
[2026-07-01 02:48:37] local.INFO: Processing buffer {"connection_id":118646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a64a3d8012d512280067654e80014002b2f..."} 
[2026-07-01 02:48:37] local.INFO: Packet analysis {"connection_id":118646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a64"} 
[2026-07-01 02:48:37] local.INFO: Extracted packet for processing {"connection_id":118646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a64"} 
[2026-07-01 02:48:37] local.INFO: GPS Element Parsed {"raw_longitude":760291968,"raw_latitude":108418280,"longitude_deg":76.0291968,"latitude_deg":10.841828,"altitude":20,"angle":43,"satellites":47,"speed":49,"hex_longitude":"2d512280","hex_latitude":"067654e8","is_valid_coordinates":true} 
[2026-07-01 02:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410681856001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332611965438394368,"note":"Value kept but may cause issues"} 
[2026-07-01 02:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5841168744453586944,"note":"Value kept but may cause issues"} 
[2026-07-01 02:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782854231000,"timestamp_ms":1782854231000,"timestamp_seconds":1782854231,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a64a3d8"} 
[2026-07-01 02:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-01 02:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":118646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":118646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":118646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 02:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410681856001,"66":27332,"133":206,"80":60160,"24":49,"16":332611965438394368,"45":5841168744453586944},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,80,24,16,45]} 
[2026-07-01 02:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410681856001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:48:37] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-01 02:48:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-01 02:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332611965438394368,"km_value":332611965438394.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5841168744453586944,"description":"Unknown IO ID 45"} 
[2026-07-01 02:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410681856001,"power":27332,"unknown_133":206,"unknown_80":60160,"ignition":49,"odometer":null,"unknown_45":5841168744453586944}} 
[2026-07-01 02:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":118646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:48:37] local.INFO: GPS data processed {"connection_id":118646,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:48:37] local.INFO: Acknowledgment sent {"connection_id":118646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:49:22] local.INFO: TCP Data received {"connection_id":119408,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:49:22] local.INFO: Processing buffer {"connection_id":119408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:49:22] local.INFO: IMEI packet received {"connection_id":119408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 02:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":119408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:49:23] local.INFO: TCP Data received {"connection_id":119408,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:49:23] local.INFO: Processing buffer {"connection_id":119408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:49:23] local.INFO: IMEI packet received {"connection_id":119408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:49:23] local.INFO: IMEI acknowledgment sent {"connection_id":119408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:49:27] local.INFO: TCP Data received {"connection_id":119408,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:49:27] local.INFO: Processing buffer {"connection_id":119408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:49:27] local.INFO: IMEI packet received {"connection_id":119408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":119408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:49:28] local.INFO: TCP Data received {"connection_id":119408,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a65e810012d51c440067795580024002f2c..."} 
[2026-07-01 02:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a65e810012d51c440067795580024002f2c..."} 
[2026-07-01 02:49:28] local.INFO: Processing buffer {"connection_id":119408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a65e810012d51c440067795580024002f2c..."} 
[2026-07-01 02:49:28] local.INFO: Packet analysis {"connection_id":119408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a65"} 
[2026-07-01 02:49:28] local.INFO: Extracted packet for processing {"connection_id":119408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a65"} 
[2026-07-01 02:49:28] local.INFO: GPS Element Parsed {"raw_longitude":760333376,"raw_latitude":108500312,"longitude_deg":76.0333376,"latitude_deg":10.8500312,"altitude":36,"angle":47,"satellites":44,"speed":37,"hex_longitude":"2d51c440","hex_latitude":"06779558","is_valid_coordinates":true} 
[2026-07-01 02: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-01 02:49:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410702080001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:49:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332616432204382208,"note":"Value kept but may cause issues"} 
[2026-07-01 02:49:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5885501053305792512,"note":"Value kept but may cause issues"} 
[2026-07-01 02:49:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:49:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782854314000,"timestamp_ms":1782854314000,"timestamp_seconds":1782854314,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a65e810"} 
[2026-07-01 02: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-01 02:49:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-01 02:49:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02: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-01 02: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-01 02:49:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:49:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:49:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:49:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:49:28] 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-01 02:49:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:49:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:49:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410702080001,"66":27321,"18":206,"80":60160,"24":37,"16":332616432204382208,"45":5885501053305792512},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,80,24,16,45]} 
[2026-07-01 02:49:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:49:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:49:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410702080001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:49:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-01 02:49:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-01 02:49:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332616432204382208,"km_value":332616432204382.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:49:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5885501053305792512,"description":"Unknown IO ID 45"} 
[2026-07-01 02:49:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410702080001,"power":27321,"unknown_18":206,"unknown_80":60160,"ignition":37,"odometer":null,"unknown_45":5885501053305792512}} 
[2026-07-01 02:49:28] local.INFO: DEBUG: GPS processor result {"connection_id":119408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:49:28] local.INFO: GPS data processed {"connection_id":119408,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:49:28] local.INFO: Acknowledgment sent {"connection_id":119408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:49:59] local.INFO: TCP Data received {"connection_id":119408,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a65e810012d51c440067795580024002f2c..."} 
[2026-07-01 02:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a65e810012d51c440067795580024002f2c..."} 
[2026-07-01 02:49:59] local.INFO: Processing buffer {"connection_id":119408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a65e810012d51c440067795580024002f2c..."} 
[2026-07-01 02:49:59] local.INFO: Packet analysis {"connection_id":119408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a65"} 
[2026-07-01 02:49:59] local.INFO: Extracted packet for processing {"connection_id":119408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a65"} 
[2026-07-01 02:49:59] local.INFO: GPS Element Parsed {"raw_longitude":760333376,"raw_latitude":108500312,"longitude_deg":76.0333376,"latitude_deg":10.8500312,"altitude":36,"angle":47,"satellites":44,"speed":37,"hex_longitude":"2d51c440","hex_latitude":"06779558","is_valid_coordinates":true} 
[2026-07-01 02:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410704384001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332616432204382208,"note":"Value kept but may cause issues"} 
[2026-07-01 02:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5891904609027708928,"note":"Value kept but may cause issues"} 
[2026-07-01 02:49:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782854314000,"timestamp_ms":1782854314000,"timestamp_seconds":1782854314,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a65e810"} 
[2026-07-01 02:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:49: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-01 02:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-01 02:49:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:49:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:49:59] 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-01 02:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410704384001,"66":27321,"18":206,"80":60160,"24":37,"16":332616432204382208,"45":5891904609027708928},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,80,24,16,45]} 
[2026-07-01 02:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410704384001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:49:59] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-01 02:49:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-01 02:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332616432204382208,"km_value":332616432204382.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5891904609027708928,"description":"Unknown IO ID 45"} 
[2026-07-01 02:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410704384001,"power":27321,"unknown_18":206,"unknown_80":60160,"ignition":37,"odometer":null,"unknown_45":5891904609027708928}} 
[2026-07-01 02:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":119408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:49:59] local.INFO: GPS data processed {"connection_id":119408,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:49:59] local.INFO: Acknowledgment sent {"connection_id":119408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:50:24] local.INFO: TCP Data received {"connection_id":118751,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:50:24] local.INFO: Processing buffer {"connection_id":118751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:50:24] local.INFO: IMEI packet received {"connection_id":118751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 02:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":118751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:50:27] local.INFO: TCP Data received {"connection_id":118751,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:50:27] local.INFO: Processing buffer {"connection_id":118751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:50:27] local.INFO: IMEI packet received {"connection_id":118751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":118751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:50:32] local.INFO: TCP Data received {"connection_id":118751,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:50:32] local.INFO: Processing buffer {"connection_id":118751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:50:32] local.INFO: IMEI packet received {"connection_id":118751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":118751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:50:46] local.INFO: TCP Data received {"connection_id":118751,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a661308012d51e1800677ad50002900342c..."} 
[2026-07-01 02:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a661308012d51e1800677ad50002900342c..."} 
[2026-07-01 02:50:46] local.INFO: Processing buffer {"connection_id":118751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a661308012d51e1800677ad50002900342c..."} 
[2026-07-01 02:50:46] local.INFO: Packet analysis {"connection_id":118751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a66"} 
[2026-07-01 02:50:46] local.INFO: Extracted packet for processing {"connection_id":118751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a66"} 
[2026-07-01 02:50:46] local.INFO: GPS Element Parsed {"raw_longitude":760340864,"raw_latitude":108506448,"longitude_deg":76.0340864,"latitude_deg":10.8506448,"altitude":41,"angle":52,"satellites":44,"speed":30,"hex_longitude":"2d51e180","hex_latitude":"0677ad50","is_valid_coordinates":true} 
[2026-07-01 02: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-01 02:50:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410704384001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:50:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332616900355817472,"note":"Value kept but may cause issues"} 
[2026-07-01 02:50:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5891904609027708928,"note":"Value kept but may cause issues"} 
[2026-07-01 02:50:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:50:46] local.INFO: AVL Record Parsed {"raw_timestamp":1782854325000,"timestamp_ms":1782854325000,"timestamp_seconds":1782854325,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a661308"} 
[2026-07-01 02: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-01 02:50:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-01 02:50:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02: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-01 02: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-01 02:50:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:50:46] local.INFO: Teltonika packet parsed successfully {"connection_id":118751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:50:46] local.INFO: Passing IMEI to GPS processor {"connection_id":118751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:50:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":118751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:50: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-01 02:50:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:50:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:50:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410704384001,"66":27300,"18":206,"80":60160,"24":30,"16":332616900355817472,"45":5891904609027708928},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,80,24,16,45]} 
[2026-07-01 02:50:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:50:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:50:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410704384001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:50:46] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-01 02:50:46] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-01 02:50:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332616900355817472,"km_value":332616900355817.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:50:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":5891904609027708928,"description":"Unknown IO ID 45"} 
[2026-07-01 02:50:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410704384001,"power":27300,"unknown_18":206,"unknown_80":60160,"ignition":30,"odometer":null,"unknown_45":5891904609027708928}} 
[2026-07-01 02:50:46] local.INFO: DEBUG: GPS processor result {"connection_id":118751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:50:46] local.INFO: GPS data processed {"connection_id":118751,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:50:46] local.INFO: Acknowledgment sent {"connection_id":118751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:50:58] local.INFO: TCP Data received {"connection_id":118751,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a6641e8012d51fd800677c340002d00332c..."} 
[2026-07-01 02:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a6641e8012d51fd800677c340002d00332c..."} 
[2026-07-01 02:50:58] local.INFO: Processing buffer {"connection_id":118751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a6641e8012d51fd800677c340002d00332c..."} 
[2026-07-01 02:50:58] local.INFO: Packet analysis {"connection_id":118751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a66"} 
[2026-07-01 02:50:58] local.INFO: Extracted packet for processing {"connection_id":118751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a66"} 
[2026-07-01 02:50:58] local.INFO: GPS Element Parsed {"raw_longitude":760348032,"raw_latitude":108512064,"longitude_deg":76.0348032,"latitude_deg":10.8512064,"altitude":45,"angle":51,"satellites":44,"speed":29,"hex_longitude":"2d51fd80","hex_latitude":"0677c340","is_valid_coordinates":true} 
[2026-07-01 02: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-01 02:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410707200001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332617334147514368,"note":"Value kept but may cause issues"} 
[2026-07-01 02:50:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5900137752098066432,"note":"Value kept but may cause issues"} 
[2026-07-01 02:50:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782854337000,"timestamp_ms":1782854337000,"timestamp_seconds":1782854337,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a6641e8"} 
[2026-07-01 02: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-01 02:50: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-01 02:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-01 02:50:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02: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-01 02: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-01 02:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:50:58] 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-01 02:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410707200001,"66":27365,"18":206,"80":60160,"24":29,"16":332617334147514368,"45":5900137752098066432},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,80,24,16,45]} 
[2026-07-01 02:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410707200001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:50:58] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-01 02:50:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-01 02:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332617334147514368,"km_value":332617334147514.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:50:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5900137752098066432,"description":"Unknown IO ID 45"} 
[2026-07-01 02:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410707200001,"power":27365,"unknown_18":206,"unknown_80":60160,"ignition":29,"odometer":null,"unknown_45":5900137752098066432}} 
[2026-07-01 02:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":118751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:50:58] local.INFO: GPS data processed {"connection_id":118751,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:50:58] local.INFO: Acknowledgment sent {"connection_id":118751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:51:19] local.INFO: TCP Data received {"connection_id":119410,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:51:19] local.INFO: Processing buffer {"connection_id":119410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:51:19] local.INFO: IMEI packet received {"connection_id":119410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 02:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":119410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:51:22] local.INFO: TCP Data received {"connection_id":119410,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:51:22] local.INFO: Processing buffer {"connection_id":119410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:51:22] local.INFO: IMEI packet received {"connection_id":119410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:51:22] local.INFO: IMEI acknowledgment sent {"connection_id":119410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:51:27] local.INFO: TCP Data received {"connection_id":119410,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:51:27] local.INFO: Processing buffer {"connection_id":119410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:51:27] local.INFO: IMEI packet received {"connection_id":119410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":119410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:51:28] local.INFO: TCP Data received {"connection_id":119410,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a6670c8012d5217c00677dc30003100282e..."} 
[2026-07-01 02:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a6670c8012d5217c00677dc30003100282e..."} 
[2026-07-01 02:51:28] local.INFO: Processing buffer {"connection_id":119410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a6670c8012d5217c00677dc30003100282e..."} 
[2026-07-01 02:51:28] local.INFO: Packet analysis {"connection_id":119410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a66"} 
[2026-07-01 02:51:28] local.INFO: Extracted packet for processing {"connection_id":119410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a66"} 
[2026-07-01 02:51:28] local.INFO: GPS Element Parsed {"raw_longitude":760354752,"raw_latitude":108518448,"longitude_deg":76.0354752,"latitude_deg":10.8518448,"altitude":49,"angle":40,"satellites":46,"speed":32,"hex_longitude":"2d5217c0","hex_latitude":"0677dc30","is_valid_coordinates":true} 
[2026-07-01 02: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-01 02:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410710272001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332617780824113152,"note":"Value kept but may cause issues"} 
[2026-07-01 02:51:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5908019051447402496,"note":"Value kept but may cause issues"} 
[2026-07-01 02:51:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:51:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782854349000,"timestamp_ms":1782854349000,"timestamp_seconds":1782854349,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a6670c8"} 
[2026-07-01 02: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-01 02:51:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 02:51:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02: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-01 02: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-01 02:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:51:28] 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-01 02:51:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:51:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:51:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410710272001,"66":27397,"18":206,"80":60160,"24":32,"16":332617780824113152,"45":5908019051447402496},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,80,24,16,45]} 
[2026-07-01 02:51:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:51:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410710272001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:51:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-07-01 02:51:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-07-01 02:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332617780824113152,"km_value":332617780824113.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:51:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5908019051447402496,"description":"Unknown IO ID 45"} 
[2026-07-01 02:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410710272001,"power":27397,"unknown_18":206,"unknown_80":60160,"ignition":32,"odometer":null,"unknown_45":5908019051447402496}} 
[2026-07-01 02:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":119410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:51:28] local.INFO: GPS data processed {"connection_id":119410,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:51:28] local.INFO: Acknowledgment sent {"connection_id":119410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:51:42] local.INFO: TCP Data received {"connection_id":119409,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119409,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:51:42] local.INFO: Processing buffer {"connection_id":119409,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:51:42] local.INFO: IMEI packet received {"connection_id":119409,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 02:51:42] local.INFO: IMEI acknowledgment sent {"connection_id":119409,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:52:01] local.INFO: TCP Data received {"connection_id":119410,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a682260012d526a4006794af8005600112c..."} 
[2026-07-01 02:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a682260012d526a4006794af8005600112c..."} 
[2026-07-01 02:52:01] local.INFO: Processing buffer {"connection_id":119410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a682260012d526a4006794af8005600112c..."} 
[2026-07-01 02:52:01] local.INFO: Packet analysis {"connection_id":119410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a68"} 
[2026-07-01 02:52:01] local.INFO: Extracted packet for processing {"connection_id":119410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a68"} 
[2026-07-01 02:52:01] local.INFO: GPS Element Parsed {"raw_longitude":760375872,"raw_latitude":108612344,"longitude_deg":76.0375872,"latitude_deg":10.8612344,"altitude":86,"angle":17,"satellites":44,"speed":40,"hex_longitude":"2d526a40","hex_latitude":"06794af8","is_valid_coordinates":true} 
[2026-07-01 02:52:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:52:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410739456001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:52:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332622492403236864,"note":"Value kept but may cause issues"} 
[2026-07-01 02:52:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5935392492956004352,"note":"Value kept but may cause issues"} 
[2026-07-01 02:52:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:52:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782854460000,"timestamp_ms":1782854460000,"timestamp_seconds":1782854460,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a682260"} 
[2026-07-01 02:52:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:52:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:52:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 02:52:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:52:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:52:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:52:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:52:01] local.INFO: Teltonika packet parsed successfully {"connection_id":119410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:52:01] local.INFO: Passing IMEI to GPS processor {"connection_id":119410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:52:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":119410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:52:01] 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-01 02:52:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:52:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:52:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410739456001,"66":27332,"51":206,"80":60928,"24":40,"16":332622492403236864,"45":5935392492956004352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,80,24,16,45]} 
[2026-07-01 02:52:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:52:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:52:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410739456001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:52:01] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-07-01 02:52:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-01 02:52:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332622492403236864,"km_value":332622492403236.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:52:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5935392492956004352,"description":"Unknown IO ID 45"} 
[2026-07-01 02:52:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410739456001,"power":27332,"unknown_51":206,"unknown_80":60928,"ignition":40,"odometer":null,"unknown_45":5935392492956004352}} 
[2026-07-01 02:52:01] local.INFO: DEBUG: GPS processor result {"connection_id":119410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:52:01] local.INFO: GPS data processed {"connection_id":119410,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:52:01] local.INFO: Acknowledgment sent {"connection_id":119410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:52:16] local.INFO: TCP Data received {"connection_id":118752,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118752,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:52:16] local.INFO: Processing buffer {"connection_id":118752,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:52:16] local.INFO: IMEI packet received {"connection_id":118752,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 02:52:16] local.INFO: IMEI acknowledgment sent {"connection_id":118752,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:52:22] local.INFO: TCP Data received {"connection_id":118753,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:52:22] local.INFO: Processing buffer {"connection_id":118753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:52:22] local.INFO: IMEI packet received {"connection_id":118753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 02:52:22] local.INFO: IMEI acknowledgment sent {"connection_id":118753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:52:22] local.INFO: TCP Data received {"connection_id":118753,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:52:22] local.INFO: Processing buffer {"connection_id":118753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:52:22] local.INFO: IMEI packet received {"connection_id":118753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:52:22] local.INFO: IMEI acknowledgment sent {"connection_id":118753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:52:27] local.INFO: TCP Data received {"connection_id":118753,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:52:27] local.INFO: Processing buffer {"connection_id":118753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:52:27] local.INFO: IMEI packet received {"connection_id":118753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":118753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:52:29] local.INFO: TCP Data received {"connection_id":118753,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a684588012d52774006796e68005700132e..."} 
[2026-07-01 02:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a684588012d52774006796e68005700132e..."} 
[2026-07-01 02:52:29] local.INFO: Processing buffer {"connection_id":118753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a684588012d52774006796e68005700132e..."} 
[2026-07-01 02:52:29] local.INFO: Packet analysis {"connection_id":118753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a68"} 
[2026-07-01 02:52:29] local.INFO: Extracted packet for processing {"connection_id":118753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a68"} 
[2026-07-01 02:52:29] local.INFO: GPS Element Parsed {"raw_longitude":760379200,"raw_latitude":108621416,"longitude_deg":76.03792,"latitude_deg":10.8621416,"altitude":87,"angle":19,"satellites":46,"speed":44,"hex_longitude":"2d527740","hex_latitude":"06796e68","is_valid_coordinates":true} 
[2026-07-01 02: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-01 02:52:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410741760001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:52:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332622960554672128,"note":"Value kept but may cause issues"} 
[2026-07-01 02:52:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5938629455190358016,"note":"Value kept but may cause issues"} 
[2026-07-01 02:52:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:52:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782854469000,"timestamp_ms":1782854469000,"timestamp_seconds":1782854469,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a684588"} 
[2026-07-01 02: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-01 02:52:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-01 02:52:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02: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-01 02: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-01 02:52:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:52:29] local.INFO: Teltonika packet parsed successfully {"connection_id":118753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:52:29] local.INFO: Passing IMEI to GPS processor {"connection_id":118753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:52:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":118753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:52:29] 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-01 02:52:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:52:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:52:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410741760001,"66":27343,"51":206,"80":60928,"24":44,"16":332622960554672128,"45":5938629455190358016},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,80,24,16,45]} 
[2026-07-01 02:52:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:52:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:52:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410741760001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:52:29] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-07-01 02:52:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-01 02:52:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332622960554672128,"km_value":332622960554672.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:52:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5938629455190358016,"description":"Unknown IO ID 45"} 
[2026-07-01 02:52:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410741760001,"power":27343,"unknown_51":206,"unknown_80":60928,"ignition":44,"odometer":null,"unknown_45":5938629455190358016}} 
[2026-07-01 02:52:29] local.INFO: DEBUG: GPS processor result {"connection_id":118753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:52:29] local.INFO: GPS data processed {"connection_id":118753,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:52:29] local.INFO: Acknowledgment sent {"connection_id":118753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:53:01] local.INFO: TCP Data received {"connection_id":118753,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a6864c8012d52838006799120005700132e..."} 
[2026-07-01 02:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a6864c8012d52838006799120005700132e..."} 
[2026-07-01 02:53:01] local.INFO: Processing buffer {"connection_id":118753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a6864c8012d52838006799120005700132e..."} 
[2026-07-01 02:53:01] local.INFO: Packet analysis {"connection_id":118753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a68"} 
[2026-07-01 02:53:01] local.INFO: Extracted packet for processing {"connection_id":118753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a68"} 
[2026-07-01 02:53:01] local.INFO: GPS Element Parsed {"raw_longitude":760382336,"raw_latitude":108630304,"longitude_deg":76.0382336,"latitude_deg":10.8630304,"altitude":87,"angle":19,"satellites":46,"speed":49,"hex_longitude":"2d528380","hex_latitude":"06799120","is_valid_coordinates":true} 
[2026-07-01 02: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-01 02:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410744064001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332623415821205504,"note":"Value kept but may cause issues"} 
[2026-07-01 02:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5942288629889918976,"note":"Value kept but may cause issues"} 
[2026-07-01 02:53:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782854477000,"timestamp_ms":1782854477000,"timestamp_seconds":1782854477,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a6864c8"} 
[2026-07-01 02: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-01 02:53:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-01 02:53:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02: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-01 02: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-01 02:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":118753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":118753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":118753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:53:01] 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-01 02:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410744064001,"66":27484,"51":206,"80":60928,"24":49,"16":332623415821205504,"45":5942288629889918976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,80,24,16,45]} 
[2026-07-01 02:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410744064001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:53:01] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-07-01 02:53:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-01 02:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332623415821205504,"km_value":332623415821205.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5942288629889918976,"description":"Unknown IO ID 45"} 
[2026-07-01 02:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410744064001,"power":27484,"unknown_51":206,"unknown_80":60928,"ignition":49,"odometer":null,"unknown_45":5942288629889918976}} 
[2026-07-01 02:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":118753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:53:01] local.INFO: GPS data processed {"connection_id":118753,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:53:01] local.INFO: Acknowledgment sent {"connection_id":118753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:53:22] local.INFO: TCP Data received {"connection_id":120513,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:53:22] local.INFO: Processing buffer {"connection_id":120513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:53:22] local.INFO: IMEI packet received {"connection_id":120513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 02:53:22] local.INFO: IMEI acknowledgment sent {"connection_id":120513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:53:26] local.INFO: TCP Data received {"connection_id":120513,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:53:26] local.INFO: Processing buffer {"connection_id":120513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:53:26] local.INFO: IMEI packet received {"connection_id":120513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":120513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:53:27] local.INFO: TCP Data received {"connection_id":120513,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a699190012d539bc0067a5b780054005f23..."} 
[2026-07-01 02:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a699190012d539bc0067a5b780054005f23..."} 
[2026-07-01 02:53:27] local.INFO: Processing buffer {"connection_id":120513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a699190012d539bc0067a5b780054005f23..."} 
[2026-07-01 02:53:27] local.INFO: Packet analysis {"connection_id":120513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a69"} 
[2026-07-01 02:53:27] local.INFO: Extracted packet for processing {"connection_id":120513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a69"} 
[2026-07-01 02:53:27] local.INFO: GPS Element Parsed {"raw_longitude":760454080,"raw_latitude":108682104,"longitude_deg":76.045408,"latitude_deg":10.8682104,"altitude":84,"angle":95,"satellites":35,"speed":50,"hex_longitude":"2d539bc0","hex_latitude":"067a5b78","is_valid_coordinates":true} 
[2026-07-01 02:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410763776001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:53:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332628062975819776,"note":"Value kept but may cause issues"} 
[2026-07-01 02:53:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6013572167757568000,"note":"Value kept but may cause issues"} 
[2026-07-01 02:53:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:53:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782854554000,"timestamp_ms":1782854554000,"timestamp_seconds":1782854554,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a699190"} 
[2026-07-01 02:53:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:53: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-01 02:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-01 02:53:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:53:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:53:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:53:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:53:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:53:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:53:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:53:27] 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-01 02:53:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410763776001,"66":27332,"194":206,"80":60928,"24":50,"16":332628062975819776,"45":6013572167757568000},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,80,24,16,45]} 
[2026-07-01 02:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410763776001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:53:27] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-07-01 02:53:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-01 02:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332628062975819776,"km_value":332628062975819.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:53:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":6013572167757568000,"description":"Unknown IO ID 45"} 
[2026-07-01 02:53:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410763776001,"power":27332,"unknown_194":206,"unknown_80":60928,"ignition":50,"odometer":null,"unknown_45":6013572167757568000}} 
[2026-07-01 02:53:28] local.INFO: DEBUG: GPS processor result {"connection_id":120513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:53:28] local.INFO: GPS data processed {"connection_id":120513,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:53:28] local.INFO: Acknowledgment sent {"connection_id":120513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:54:02] local.INFO: TCP Data received {"connection_id":120513,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a69ace8012d53bf40067a5a100055005c29..."} 
[2026-07-01 02:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a69ace8012d53bf40067a5a100055005c29..."} 
[2026-07-01 02:54:02] local.INFO: Processing buffer {"connection_id":120513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a69ace8012d53bf40067a5a100055005c29..."} 
[2026-07-01 02:54:02] local.INFO: Packet analysis {"connection_id":120513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a69"} 
[2026-07-01 02:54:02] local.INFO: Extracted packet for processing {"connection_id":120513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a69"} 
[2026-07-01 02:54:02] local.INFO: GPS Element Parsed {"raw_longitude":760463168,"raw_latitude":108681744,"longitude_deg":76.0463168,"latitude_deg":10.8681744,"altitude":85,"angle":92,"satellites":41,"speed":50,"hex_longitude":"2d53bf40","hex_latitude":"067a5a10","is_valid_coordinates":true} 
[2026-07-01 02:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410765824001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332628496767516672,"note":"Value kept but may cause issues"} 
[2026-07-01 02:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6024620060593321984,"note":"Value kept but may cause issues"} 
[2026-07-01 02:54:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782854561000,"timestamp_ms":1782854561000,"timestamp_seconds":1782854561,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a69ace8"} 
[2026-07-01 02:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:54:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-01 02:54:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:54:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":120513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":120513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":120513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:54:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 02:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410765824001,"66":26984,"194":206,"80":60928,"24":50,"16":332628496767516672,"45":6024620060593321984},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,80,24,16,45]} 
[2026-07-01 02:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410765824001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:54:02] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-07-01 02:54:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-01 02:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332628496767516672,"km_value":332628496767516.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6024620060593321984,"description":"Unknown IO ID 45"} 
[2026-07-01 02:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410765824001,"power":26984,"unknown_194":206,"unknown_80":60928,"ignition":50,"odometer":null,"unknown_45":6024620060593321984}} 
[2026-07-01 02:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":120513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:54:02] local.INFO: GPS data processed {"connection_id":120513,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:54:02] local.INFO: Acknowledgment sent {"connection_id":120513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:54:22] local.INFO: TCP Data received {"connection_id":119412,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:54:22] local.INFO: Processing buffer {"connection_id":119412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:54:22] local.INFO: IMEI packet received {"connection_id":119412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 02:54:22] local.INFO: IMEI acknowledgment sent {"connection_id":119412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:54:24] local.INFO: TCP Data received {"connection_id":119412,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:54:24] local.INFO: Processing buffer {"connection_id":119412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:54:24] local.INFO: IMEI packet received {"connection_id":119412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":119412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:54:27] local.INFO: TCP Data received {"connection_id":119412,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:54:27] local.INFO: Processing buffer {"connection_id":119412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:54:27] local.INFO: IMEI packet received {"connection_id":119412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":119412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:54:28] local.INFO: TCP Data received {"connection_id":119412,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a69c840012d53e280067a57c00054005d2c..."} 
[2026-07-01 02:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a69c840012d53e280067a57c00054005d2c..."} 
[2026-07-01 02:54:28] local.INFO: Processing buffer {"connection_id":119412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a69c840012d53e280067a57c00054005d2c..."} 
[2026-07-01 02:54:28] local.INFO: Packet analysis {"connection_id":119412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a69"} 
[2026-07-01 02:54:28] local.INFO: Extracted packet for processing {"connection_id":119412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a69"} 
[2026-07-01 02:54:28] local.INFO: GPS Element Parsed {"raw_longitude":760472192,"raw_latitude":108681152,"longitude_deg":76.0472192,"latitude_deg":10.8681152,"altitude":84,"angle":93,"satellites":44,"speed":49,"hex_longitude":"2d53e280","hex_latitude":"067a57c0","is_valid_coordinates":true} 
[2026-07-01 02:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410767616001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:54:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332628926264246272,"note":"Value kept but may cause issues"} 
[2026-07-01 02:54:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6034612422266458112,"note":"Value kept but may cause issues"} 
[2026-07-01 02:54:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:54:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782854568000,"timestamp_ms":1782854568000,"timestamp_seconds":1782854568,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a69c840"} 
[2026-07-01 02:54:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:54:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-07-01 02:54:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1659,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:54:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:54:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:54:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:54:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:54:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:54:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:54:28] 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-01 02:54:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:54:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:54:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410767616001,"66":27300,"250":206,"80":60928,"24":49,"16":332628926264246272,"45":6034612422266458112},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,80,24,16,45]} 
[2026-07-01 02:54:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:54:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:54:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410767616001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:54:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-07-01 02:54:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-01 02:54:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332628926264246272,"km_value":332628926264246.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:54:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":6034612422266458112,"description":"Unknown IO ID 45"} 
[2026-07-01 02:54:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410767616001,"power":27300,"unknown_250":206,"unknown_80":60928,"ignition":49,"odometer":null,"unknown_45":6034612422266458112}} 
[2026-07-01 02:54:28] local.INFO: DEBUG: GPS processor result {"connection_id":119412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:54:28] local.INFO: GPS data processed {"connection_id":119412,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:54:28] local.INFO: Acknowledgment sent {"connection_id":119412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:54:59] local.INFO: TCP Data received {"connection_id":119412,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a6af8f0012d55a100067b0ad8001e003d30..."} 
[2026-07-01 02:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a6af8f0012d55a100067b0ad8001e003d30..."} 
[2026-07-01 02:54:59] local.INFO: Processing buffer {"connection_id":119412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a6af8f0012d55a100067b0ad8001e003d30..."} 
[2026-07-01 02:54:59] local.INFO: Packet analysis {"connection_id":119412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a6a"} 
[2026-07-01 02:54:59] local.INFO: Extracted packet for processing {"connection_id":119412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a6a"} 
[2026-07-01 02:54:59] local.INFO: GPS Element Parsed {"raw_longitude":760586496,"raw_latitude":108727000,"longitude_deg":76.0586496,"latitude_deg":10.8727,"altitude":30,"angle":61,"satellites":48,"speed":72,"hex_longitude":"2d55a100","hex_latitude":"067b0ad8","is_valid_coordinates":true} 
[2026-07-01 02:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410788096001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332635020822839296,"note":"Value kept but may cause issues"} 
[2026-07-01 02:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6161487268029116416,"note":"Value kept but may cause issues"} 
[2026-07-01 02:54:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782854646000,"timestamp_ms":1782854646000,"timestamp_seconds":1782854646,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a6af8f0"} 
[2026-07-01 02:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:54: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-01 02:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-01 02:54:59] 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-01 02:54:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:54:59] 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-01 02:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410788096001,"66":27397,"249":206,"80":60928,"24":72,"16":332635020822839296,"45":6161487268029116416},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,80,24,16,45]} 
[2026-07-01 02:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410788096001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:54:59] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-01 02:54:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-01 02:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332635020822839296,"km_value":332635020822839.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":6161487268029116416,"description":"Unknown IO ID 45"} 
[2026-07-01 02:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410788096001,"power":27397,"unknown_249":206,"unknown_80":60928,"ignition":72,"odometer":null,"unknown_45":6161487268029116416}} 
[2026-07-01 02:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":119412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:54:59] local.INFO: GPS data processed {"connection_id":119412,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:54:59] local.INFO: Acknowledgment sent {"connection_id":119412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:55:32] local.INFO: TCP Data received {"connection_id":118755,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:55:32] local.INFO: Processing buffer {"connection_id":118755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:55:32] local.INFO: IMEI packet received {"connection_id":118755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 02:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":118755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:55:36] local.INFO: TCP Data received {"connection_id":118755,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:55:36] local.INFO: Processing buffer {"connection_id":118755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:55:36] local.INFO: IMEI packet received {"connection_id":118755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":118755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:55:37] local.INFO: TCP Data received {"connection_id":118755,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a6b0c78012d55c200067b1810001c004630..."} 
[2026-07-01 02:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a6b0c78012d55c200067b1810001c004630..."} 
[2026-07-01 02:55:37] local.INFO: Processing buffer {"connection_id":118755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a6b0c78012d55c200067b1810001c004630..."} 
[2026-07-01 02:55:37] local.INFO: Packet analysis {"connection_id":118755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a6b"} 
[2026-07-01 02:55:37] local.INFO: Extracted packet for processing {"connection_id":118755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a6b"} 
[2026-07-01 02:55:37] local.INFO: GPS Element Parsed {"raw_longitude":760594944,"raw_latitude":108730384,"longitude_deg":76.0594944,"latitude_deg":10.8730384,"altitude":28,"angle":70,"satellites":48,"speed":71,"hex_longitude":"2d55c200","hex_latitude":"067b1810","is_valid_coordinates":true} 
[2026-07-01 02:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410789376001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332635458909503488,"note":"Value kept but may cause issues"} 
[2026-07-01 02:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6170212992308402176,"note":"Value kept but may cause issues"} 
[2026-07-01 02:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782854651000,"timestamp_ms":1782854651000,"timestamp_seconds":1782854651,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a6b0c78"} 
[2026-07-01 02:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-01 02:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":118755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":118755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":118755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 02:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410789376001,"66":27397,"249":206,"80":60928,"24":71,"16":332635458909503488,"45":6170212992308402176},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,80,24,16,45]} 
[2026-07-01 02:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410789376001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:55:37] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-07-01 02:55:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-01 02:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332635458909503488,"km_value":332635458909503.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6170212992308402176,"description":"Unknown IO ID 45"} 
[2026-07-01 02:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410789376001,"power":27397,"unknown_249":206,"unknown_80":60928,"ignition":71,"odometer":null,"unknown_45":6170212992308402176}} 
[2026-07-01 02:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":118755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:55:37] local.INFO: GPS data processed {"connection_id":118755,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:55:37] local.INFO: Acknowledgment sent {"connection_id":118755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:56:22] local.INFO: TCP Data received {"connection_id":118756,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:56:22] local.INFO: Processing buffer {"connection_id":118756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:56:22] local.INFO: IMEI packet received {"connection_id":118756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 02:56:22] local.INFO: IMEI acknowledgment sent {"connection_id":118756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:56:27] local.INFO: TCP Data received {"connection_id":118756,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:56:27] local.INFO: Processing buffer {"connection_id":118756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:56:27] local.INFO: IMEI packet received {"connection_id":118756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":118756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:56:29] local.INFO: TCP Data received {"connection_id":118756,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a6c1618012d571240067bc1e8001800132a..."} 
[2026-07-01 02:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a6c1618012d571240067bc1e8001800132a..."} 
[2026-07-01 02:56:29] local.INFO: Processing buffer {"connection_id":118756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a6c1618012d571240067bc1e8001800132a..."} 
[2026-07-01 02:56:29] local.INFO: Packet analysis {"connection_id":118756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a6c"} 
[2026-07-01 02:56:29] local.INFO: Extracted packet for processing {"connection_id":118756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a6c"} 
[2026-07-01 02:56:29] local.INFO: GPS Element Parsed {"raw_longitude":760681024,"raw_latitude":108773864,"longitude_deg":76.0681024,"latitude_deg":10.8773864,"altitude":24,"angle":19,"satellites":42,"speed":54,"hex_longitude":"2d571240","hex_latitude":"067bc1e8","is_valid_coordinates":true} 
[2026-07-01 02: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-01 02:56:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410807040001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:56:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332640187668496384,"note":"Value kept but may cause issues"} 
[2026-07-01 02:56:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6271543983934967808,"note":"Value kept but may cause issues"} 
[2026-07-01 02:56:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:56:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782854719000,"timestamp_ms":1782854719000,"timestamp_seconds":1782854719,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a6c1618"} 
[2026-07-01 02: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-01 02:56:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 02:56:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02: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-01 02: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-01 02:56:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:56:29] local.INFO: Teltonika packet parsed successfully {"connection_id":118756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:56:29] local.INFO: Passing IMEI to GPS processor {"connection_id":118756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:56:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":118756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:56:29] 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-01 02:56:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:56:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:56:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410807040001,"66":27484,"35":206,"80":60928,"24":54,"16":332640187668496384,"45":6271543983934967808},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-07-01 02:56:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:56:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:56:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410807040001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:56:29] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-01 02:56:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-01 02:56:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332640187668496384,"km_value":332640187668496.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:56:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":6271543983934967808,"description":"Unknown IO ID 45"} 
[2026-07-01 02:56:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410807040001,"power":27484,"unknown_35":206,"unknown_80":60928,"ignition":54,"odometer":null,"unknown_45":6271543983934967808}} 
[2026-07-01 02:56:29] local.INFO: DEBUG: GPS processor result {"connection_id":118756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:56:29] local.INFO: GPS data processed {"connection_id":118756,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:56:29] local.INFO: Acknowledgment sent {"connection_id":118756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:56:59] local.INFO: TCP Data received {"connection_id":118756,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a6c25b8012d571700067bd688001900052b..."} 
[2026-07-01 02:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a6c25b8012d571700067bd688001900052b..."} 
[2026-07-01 02:56:59] local.INFO: Processing buffer {"connection_id":118756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a6c25b8012d571700067bd688001900052b..."} 
[2026-07-01 02:56:59] local.INFO: Packet analysis {"connection_id":118756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a6c"} 
[2026-07-01 02:56:59] local.INFO: Extracted packet for processing {"connection_id":118756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a6c"} 
[2026-07-01 02:56:59] local.INFO: GPS Element Parsed {"raw_longitude":760682240,"raw_latitude":108779144,"longitude_deg":76.068224,"latitude_deg":10.8779144,"altitude":25,"angle":5,"satellites":43,"speed":52,"hex_longitude":"2d571700","hex_latitude":"067bd688","is_valid_coordinates":true} 
[2026-07-01 02:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410808064001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332640453956468736,"note":"Value kept but may cause issues"} 
[2026-07-01 02:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6274147627470809088,"note":"Value kept but may cause issues"} 
[2026-07-01 02:56:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782854723000,"timestamp_ms":1782854723000,"timestamp_seconds":1782854723,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a6c25b8"} 
[2026-07-01 02:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:56: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-01 02:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 02:56:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:56:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:56:59] 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-01 02:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410808064001,"66":27234,"110":206,"80":60928,"24":52,"16":332640453956468736,"45":6274147627470809088},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,80,24,16,45]} 
[2026-07-01 02:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410808064001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:56:59] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 02:56:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-01 02:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332640453956468736,"km_value":332640453956468.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":6274147627470809088,"description":"Unknown IO ID 45"} 
[2026-07-01 02:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410808064001,"power":27234,"unknown_110":206,"unknown_80":60928,"ignition":52,"odometer":null,"unknown_45":6274147627470809088}} 
[2026-07-01 02:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":118756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:56:59] local.INFO: GPS data processed {"connection_id":118756,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:56:59] local.INFO: Acknowledgment sent {"connection_id":118756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:57:22] local.INFO: TCP Data received {"connection_id":120515,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:57:22] local.INFO: Processing buffer {"connection_id":120515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:57:22] local.INFO: IMEI packet received {"connection_id":120515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 02:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":120515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:57:27] local.INFO: TCP Data received {"connection_id":120515,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:57:27] local.INFO: Processing buffer {"connection_id":120515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:57:27] local.INFO: IMEI packet received {"connection_id":120515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":120515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:57:28] local.INFO: TCP Data received {"connection_id":120515,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a6c3558012d571700067beac0001801622a..."} 
[2026-07-01 02:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a6c3558012d571700067beac0001801622a..."} 
[2026-07-01 02:57:28] local.INFO: Processing buffer {"connection_id":120515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a6c3558012d571700067beac0001801622a..."} 
[2026-07-01 02:57:28] local.INFO: Packet analysis {"connection_id":120515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a6c"} 
[2026-07-01 02:57:28] local.INFO: Extracted packet for processing {"connection_id":120515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a6c"} 
[2026-07-01 02:57:28] local.INFO: GPS Element Parsed {"raw_longitude":760682240,"raw_latitude":108784320,"longitude_deg":76.068224,"latitude_deg":10.878432,"altitude":24,"angle":354,"satellites":42,"speed":49,"hex_longitude":"2d571700","hex_latitude":"067beac0","is_valid_coordinates":true} 
[2026-07-01 02:57:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:57:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410809088001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:57:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332640703064571904,"note":"Value kept but may cause issues"} 
[2026-07-01 02:57:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6275484633611536384,"note":"Value kept but may cause issues"} 
[2026-07-01 02:57:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:57:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782854727000,"timestamp_ms":1782854727000,"timestamp_seconds":1782854727,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a6c3558"} 
[2026-07-01 02:57:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:57:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:57:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-01 02:57:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:57:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:57:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:57:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:57:28] local.INFO: Teltonika packet parsed successfully {"connection_id":120515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:57:28] local.INFO: Passing IMEI to GPS processor {"connection_id":120515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:57:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":120515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:57:28] 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-01 02:57:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:57:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:57:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410809088001,"66":27213,"110":206,"80":60928,"24":49,"16":332640703064571904,"45":6275484633611536384},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,80,24,16,45]} 
[2026-07-01 02:57:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:57:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:57:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410809088001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:57:28] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 02:57:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-01 02:57:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332640703064571904,"km_value":332640703064571.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:57:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":6275484633611536384,"description":"Unknown IO ID 45"} 
[2026-07-01 02:57:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410809088001,"power":27213,"unknown_110":206,"unknown_80":60928,"ignition":49,"odometer":null,"unknown_45":6275484633611536384}} 
[2026-07-01 02:57:28] local.INFO: DEBUG: GPS processor result {"connection_id":120515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:57:28] local.INFO: GPS data processed {"connection_id":120515,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:57:28] local.INFO: Acknowledgment sent {"connection_id":120515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:57:44] local.INFO: TCP Data received {"connection_id":118757,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118757,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:57:44] local.INFO: Processing buffer {"connection_id":118757,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:57:44] local.INFO: IMEI packet received {"connection_id":118757,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 02:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":118757,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:58:12] local.INFO: TCP Data received {"connection_id":120515,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a6dac58012d55e4c0067d74c80013014131..."} 
[2026-07-01 02:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a6dac58012d55e4c0067d74c80013014131..."} 
[2026-07-01 02:58:12] local.INFO: Processing buffer {"connection_id":120515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a6dac58012d55e4c0067d74c80013014131..."} 
[2026-07-01 02:58:12] local.INFO: Packet analysis {"connection_id":120515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a6d"} 
[2026-07-01 02:58:12] local.INFO: Extracted packet for processing {"connection_id":120515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a6d"} 
[2026-07-01 02:58:12] local.INFO: GPS Element Parsed {"raw_longitude":760603840,"raw_latitude":108885192,"longitude_deg":76.060384,"latitude_deg":10.8885192,"altitude":19,"angle":321,"satellites":49,"speed":52,"hex_longitude":"2d55e4c0","hex_latitude":"067d74c8","is_valid_coordinates":true} 
[2026-07-01 02: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-01 02:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410832896001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332647012371529728,"note":"Value kept but may cause issues"} 
[2026-07-01 02:58:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6196601271413637120,"note":"Value kept but may cause issues"} 
[2026-07-01 02:58:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1782854823000,"timestamp_ms":1782854823000,"timestamp_seconds":1782854823,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a6dac58"} 
[2026-07-01 02: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-01 02:58:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 02:58:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02: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-01 02: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-01 02:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":120515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":120515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":120515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02: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-01 02:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410832896001,"66":27267,"148":206,"80":60928,"24":52,"16":332647012371529728,"45":6196601271413637120},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,80,24,16,45]} 
[2026-07-01 02:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410832896001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:58:12] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-07-01 02:58:12] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-01 02:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332647012371529728,"km_value":332647012371529.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:58:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":6196601271413637120,"description":"Unknown IO ID 45"} 
[2026-07-01 02:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410832896001,"power":27267,"unknown_148":206,"unknown_80":60928,"ignition":52,"odometer":null,"unknown_45":6196601271413637120}} 
[2026-07-01 02:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":120515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:58:12] local.INFO: GPS data processed {"connection_id":120515,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:58:12] local.INFO: Acknowledgment sent {"connection_id":120515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:58:16] local.INFO: TCP Data received {"connection_id":118647,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118647,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:58:16] local.INFO: Processing buffer {"connection_id":118647,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 02:58:16] local.INFO: IMEI packet received {"connection_id":118647,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 02:58:16] local.INFO: IMEI acknowledgment sent {"connection_id":118647,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:58:32] local.INFO: TCP Data received {"connection_id":119413,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:58:32] local.INFO: Processing buffer {"connection_id":119413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:58:32] local.INFO: IMEI packet received {"connection_id":119413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 02:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":119413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:58:34] local.INFO: TCP Data received {"connection_id":119413,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:58:34] local.INFO: Processing buffer {"connection_id":119413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:58:34] local.INFO: IMEI packet received {"connection_id":119413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:58:34] local.INFO: IMEI acknowledgment sent {"connection_id":119413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:58:37] local.INFO: TCP Data received {"connection_id":119413,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:58:37] local.INFO: Processing buffer {"connection_id":119413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:58:37] local.INFO: IMEI packet received {"connection_id":119413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":119413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:58:39] local.INFO: TCP Data received {"connection_id":119413,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a6dcb98012d55cd00067d94200014014631..."} 
[2026-07-01 02:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a6dcb98012d55cd00067d94200014014631..."} 
[2026-07-01 02:58:39] local.INFO: Processing buffer {"connection_id":119413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a6dcb98012d55cd00067d94200014014631..."} 
[2026-07-01 02:58:39] local.INFO: Packet analysis {"connection_id":119413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a6d"} 
[2026-07-01 02:58:39] local.INFO: Extracted packet for processing {"connection_id":119413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a6d"} 
[2026-07-01 02:58:39] local.INFO: GPS Element Parsed {"raw_longitude":760597760,"raw_latitude":108893216,"longitude_deg":76.059776,"latitude_deg":10.8893216,"altitude":20,"angle":326,"satellites":49,"speed":49,"hex_longitude":"2d55cd00","hex_latitude":"067d9420","is_valid_coordinates":true} 
[2026-07-01 02:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410834688001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332647501997801472,"note":"Value kept but may cause issues"} 
[2026-07-01 02:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6189282922021046272,"note":"Value kept but may cause issues"} 
[2026-07-01 02:58:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782854831000,"timestamp_ms":1782854831000,"timestamp_seconds":1782854831,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a6dcb98"} 
[2026-07-01 02:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:58:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-01 02:58:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:58:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":119413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":119413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":119413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:58:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 02:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410834688001,"66":27158,"227":206,"80":60928,"24":49,"16":332647501997801472,"45":6189282922021046272},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,80,24,16,45]} 
[2026-07-01 02:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410834688001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:58:39] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-07-01 02:58:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-01 02:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332647501997801472,"km_value":332647501997801.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":6189282922021046272,"description":"Unknown IO ID 45"} 
[2026-07-01 02:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410834688001,"power":27158,"unknown_227":206,"unknown_80":60928,"ignition":49,"odometer":null,"unknown_45":6189282922021046272}} 
[2026-07-01 02:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":119413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:58:39] local.INFO: GPS data processed {"connection_id":119413,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:58:39] local.INFO: Acknowledgment sent {"connection_id":119413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:58:40] local.INFO: TCP Data received {"connection_id":119413,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a6dead8012d55b7c0067db4b00015014931..."} 
[2026-07-01 02:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a6dead8012d55b7c0067db4b00015014931..."} 
[2026-07-01 02:58:40] local.INFO: Processing buffer {"connection_id":119413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a6dead8012d55b7c0067db4b00015014931..."} 
[2026-07-01 02:58:40] local.INFO: Packet analysis {"connection_id":119413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a6d"} 
[2026-07-01 02:58:40] local.INFO: Extracted packet for processing {"connection_id":119413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a6d"} 
[2026-07-01 02:58:40] local.INFO: GPS Element Parsed {"raw_longitude":760592320,"raw_latitude":108901552,"longitude_deg":76.059232,"latitude_deg":10.8901552,"altitude":21,"angle":329,"satellites":49,"speed":50,"hex_longitude":"2d55b7c0","hex_latitude":"067db4b0","is_valid_coordinates":true} 
[2026-07-01 02: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-01 02:58:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410836736001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:58:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332647978739171328,"note":"Value kept but may cause issues"} 
[2026-07-01 02:58:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6182597891326222336,"note":"Value kept but may cause issues"} 
[2026-07-01 02:58:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:58:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782854839000,"timestamp_ms":1782854839000,"timestamp_seconds":1782854839,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a6dead8"} 
[2026-07-01 02: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-01 02:58:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02: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":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-01 02:58:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":926,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02: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-01 02: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-01 02:58:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:58:40] local.INFO: Teltonika packet parsed successfully {"connection_id":119413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:58:40] local.INFO: Passing IMEI to GPS processor {"connection_id":119413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:58:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":119413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:58: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-01 02:58:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:58:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:58:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410836736001,"66":27300,"227":206,"80":60928,"24":50,"16":332647978739171328,"45":6182597891326222336},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,80,24,16,45]} 
[2026-07-01 02:58:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:58:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:58:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410836736001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:58:40] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-07-01 02:58:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-01 02:58:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332647978739171328,"km_value":332647978739171.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:58:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":6182597891326222336,"description":"Unknown IO ID 45"} 
[2026-07-01 02:58:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410836736001,"power":27300,"unknown_227":206,"unknown_80":60928,"ignition":50,"odometer":null,"unknown_45":6182597891326222336}} 
[2026-07-01 02:58:40] local.INFO: DEBUG: GPS processor result {"connection_id":119413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:58:40] local.INFO: GPS data processed {"connection_id":119413,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:58:40] local.INFO: Acknowledgment sent {"connection_id":119413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:58:42] local.INFO: TCP Data received {"connection_id":119413,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a6e0630012d55a680067dd3280015014b30..."} 
[2026-07-01 02:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a6e0630012d55a680067dd3280015014b30..."} 
[2026-07-01 02:58:42] local.INFO: Processing buffer {"connection_id":119413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a6e0630012d55a680067dd3280015014b30..."} 
[2026-07-01 02:58:42] local.INFO: Packet analysis {"connection_id":119413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a6e"} 
[2026-07-01 02:58:42] local.INFO: Extracted packet for processing {"connection_id":119413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a6e"} 
[2026-07-01 02:58:42] local.INFO: GPS Element Parsed {"raw_longitude":760587904,"raw_latitude":108909352,"longitude_deg":76.0587904,"latitude_deg":10.8909352,"altitude":21,"angle":331,"satellites":48,"speed":51,"hex_longitude":"2d55a680","hex_latitude":"067dd328","is_valid_coordinates":true} 
[2026-07-01 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-01 02:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410838784001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332648412530868224,"note":"Value kept but may cause issues"} 
[2026-07-01 02:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6176616548073254912,"note":"Value kept but may cause issues"} 
[2026-07-01 02:58:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782854846000,"timestamp_ms":1782854846000,"timestamp_seconds":1782854846,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a6e0630"} 
[2026-07-01 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-01 02:58:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-01 02:58:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 02:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":119413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":119413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":119413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:58: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-01 02:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410838784001,"66":27365,"227":206,"80":60928,"24":51,"16":332648412530868224,"45":6176616548073254912},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,80,24,16,45]} 
[2026-07-01 02:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410838784001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:58:42] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-07-01 02:58:42] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-01 02:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332648412530868224,"km_value":332648412530868.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6176616548073254912,"description":"Unknown IO ID 45"} 
[2026-07-01 02:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410838784001,"power":27365,"unknown_227":206,"unknown_80":60928,"ignition":51,"odometer":null,"unknown_45":6176616548073254912}} 
[2026-07-01 02:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":119413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:58:42] local.INFO: GPS data processed {"connection_id":119413,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:58:42] local.INFO: Acknowledgment sent {"connection_id":119413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:59:21] local.INFO: TCP Data received {"connection_id":119414,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:59:21] local.INFO: Processing buffer {"connection_id":119414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:59:21] local.INFO: IMEI packet received {"connection_id":119414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 02:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":119414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 02:59:22] local.INFO: TCP Data received {"connection_id":119414,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:59:22] local.INFO: Processing buffer {"connection_id":119414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:59:22] local.INFO: IMEI packet received {"connection_id":119414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:59:22] local.INFO: IMEI acknowledgment sent {"connection_id":119414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:59:27] local.INFO: TCP Data received {"connection_id":119414,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:59:27] local.INFO: Processing buffer {"connection_id":119414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 02:59:27] local.INFO: IMEI packet received {"connection_id":119414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 02:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":119414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 02:59:28] local.INFO: TCP Data received {"connection_id":119414,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a6e2188012d559740067df300001501502d..."} 
[2026-07-01 02:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a6e2188012d559740067df300001501502d..."} 
[2026-07-01 02:59:28] local.INFO: Processing buffer {"connection_id":119414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a6e2188012d559740067df300001501502d..."} 
[2026-07-01 02:59:28] local.INFO: Packet analysis {"connection_id":119414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a6e"} 
[2026-07-01 02:59:28] local.INFO: Extracted packet for processing {"connection_id":119414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a6e"} 
[2026-07-01 02:59:28] local.INFO: GPS Element Parsed {"raw_longitude":760584000,"raw_latitude":108917504,"longitude_deg":76.0584,"latitude_deg":10.8917504,"altitude":21,"angle":336,"satellites":45,"speed":51,"hex_longitude":"2d559740","hex_latitude":"067df300","is_valid_coordinates":true} 
[2026-07-01 02:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410840576001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332648850617532416,"note":"Value kept but may cause issues"} 
[2026-07-01 02:59:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6171761104726992896,"note":"Value kept but may cause issues"} 
[2026-07-01 02:59:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782854853000,"timestamp_ms":1782854853000,"timestamp_seconds":1782854853,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a6e2188"} 
[2026-07-01 02:59:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:59:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 02:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 02:59:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:59:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:59:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:59:28] 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-01 02:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410840576001,"66":27289,"227":206,"80":60928,"24":51,"16":332648850617532416,"45":6171761104726992896},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,80,24,16,45]} 
[2026-07-01 02:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:59:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410840576001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:59:28] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-07-01 02:59:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-01 02:59:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332648850617532416,"km_value":332648850617532.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:59:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":6171761104726992896,"description":"Unknown IO ID 45"} 
[2026-07-01 02:59:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410840576001,"power":27289,"unknown_227":206,"unknown_80":60928,"ignition":51,"odometer":null,"unknown_45":6171761104726992896}} 
[2026-07-01 02:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":119414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:59:28] local.INFO: GPS data processed {"connection_id":119414,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:59:28] local.INFO: Acknowledgment sent {"connection_id":119414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 02:59:59] local.INFO: TCP Data received {"connection_id":119414,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a6e3ce0012d558a00067e13f8001501532d..."} 
[2026-07-01 02:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a6e3ce0012d558a00067e13f8001501532d..."} 
[2026-07-01 02:59:59] local.INFO: Processing buffer {"connection_id":119414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a6e3ce0012d558a00067e13f8001501532d..."} 
[2026-07-01 02:59:59] local.INFO: Packet analysis {"connection_id":119414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a6e"} 
[2026-07-01 02:59:59] local.INFO: Extracted packet for processing {"connection_id":119414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a6e"} 
[2026-07-01 02:59:59] local.INFO: GPS Element Parsed {"raw_longitude":760580608,"raw_latitude":108925944,"longitude_deg":76.0580608,"latitude_deg":10.8925944,"altitude":21,"angle":339,"satellites":45,"speed":52,"hex_longitude":"2d558a00","hex_latitude":"067e13f8","is_valid_coordinates":true} 
[2026-07-01 02:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 02:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410842368001,"note":"Value kept but may cause issues"} 
[2026-07-01 02:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332649288704196608,"note":"Value kept but may cause issues"} 
[2026-07-01 02:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6167468611334242304,"note":"Value kept but may cause issues"} 
[2026-07-01 02:59:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 02:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782854860000,"timestamp_ms":1782854860000,"timestamp_seconds":1782854860,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a6e3ce0"} 
[2026-07-01 02:59:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 02:59: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-01 02:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-01 02:59:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2105,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 02:59:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 02:59:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 02:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 02:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 02:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 02:59:59] 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-01 02:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 02:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 02:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410842368001,"66":27321,"227":206,"80":60928,"24":52,"16":332649288704196608,"45":6167468611334242304},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,80,24,16,45]} 
[2026-07-01 02:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 02:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 02:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410842368001,"description":"Unknown IO ID 0"} 
[2026-07-01 02:59:59] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-07-01 02:59:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-01 02:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332649288704196608,"km_value":332649288704196.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 02:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":6167468611334242304,"description":"Unknown IO ID 45"} 
[2026-07-01 02:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410842368001,"power":27321,"unknown_227":206,"unknown_80":60928,"ignition":52,"odometer":null,"unknown_45":6167468611334242304}} 
[2026-07-01 02:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":119414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 02:59:59] local.INFO: GPS data processed {"connection_id":119414,"processed":1,"errors":0,"total":1} 
[2026-07-01 02:59:59] local.INFO: Acknowledgment sent {"connection_id":119414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:00:22] local.INFO: TCP Data received {"connection_id":118758,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:00:22] local.INFO: Processing buffer {"connection_id":118758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:00:22] local.INFO: IMEI packet received {"connection_id":118758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 03:00:22] local.INFO: IMEI acknowledgment sent {"connection_id":118758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:00:27] local.INFO: TCP Data received {"connection_id":118758,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:00:27] local.INFO: Processing buffer {"connection_id":118758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:00:27] local.INFO: IMEI packet received {"connection_id":118758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":118758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:00:28] local.INFO: TCP Data received {"connection_id":118758,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a6fac10012d54fc80067f8a78002f015030..."} 
[2026-07-01 03:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a6fac10012d54fc80067f8a78002f015030..."} 
[2026-07-01 03:00:28] local.INFO: Processing buffer {"connection_id":118758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a6fac10012d54fc80067f8a78002f015030..."} 
[2026-07-01 03:00:28] local.INFO: Packet analysis {"connection_id":118758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a6f"} 
[2026-07-01 03:00:28] local.INFO: Extracted packet for processing {"connection_id":118758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a6f"} 
[2026-07-01 03:00:28] local.INFO: GPS Element Parsed {"raw_longitude":760544384,"raw_latitude":109021816,"longitude_deg":76.0544384,"latitude_deg":10.9021816,"altitude":47,"angle":336,"satellites":48,"speed":34,"hex_longitude":"2d54fc80","hex_latitude":"067f8a78","is_valid_coordinates":true} 
[2026-07-01 03:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:00:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410865408001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:00:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332654292341096448,"note":"Value kept but may cause issues"} 
[2026-07-01 03:00:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6127428795921567744,"note":"Value kept but may cause issues"} 
[2026-07-01 03:00:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:00:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782854954000,"timestamp_ms":1782854954000,"timestamp_seconds":1782854954,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a6fac10"} 
[2026-07-01 03:00:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:00:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 03:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 03:00:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:00:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:00:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:00:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:00:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:00:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:00:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:00:28] 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-01 03:00:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:00:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:00:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410865408001,"66":27343,"152":206,"80":60928,"24":34,"16":332654292341096448,"45":6127428795921567744},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,80,24,16,45]} 
[2026-07-01 03:00:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:00:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:00:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410865408001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:00:28] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-07-01 03:00:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-01 03:00:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332654292341096448,"km_value":332654292341096.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:00:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":6127428795921567744,"description":"Unknown IO ID 45"} 
[2026-07-01 03:00:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410865408001,"power":27343,"unknown_152":206,"unknown_80":60928,"ignition":34,"odometer":null,"unknown_45":6127428795921567744}} 
[2026-07-01 03:00:28] local.INFO: DEBUG: GPS processor result {"connection_id":118758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:00:28] local.INFO: GPS data processed {"connection_id":118758,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:00:28] local.INFO: Acknowledgment sent {"connection_id":118758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:00:59] local.INFO: TCP Data received {"connection_id":118758,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a6fd708012d54ed80067faa480034014c30..."} 
[2026-07-01 03:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a6fd708012d54ed80067faa480034014c30..."} 
[2026-07-01 03:00:59] local.INFO: Processing buffer {"connection_id":118758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a6fd708012d54ed80067faa480034014c30..."} 
[2026-07-01 03:00:59] local.INFO: Packet analysis {"connection_id":118758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a6f"} 
[2026-07-01 03:00:59] local.INFO: Extracted packet for processing {"connection_id":118758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a6f"} 
[2026-07-01 03:00:59] local.INFO: GPS Element Parsed {"raw_longitude":760540544,"raw_latitude":109029960,"longitude_deg":76.0540544,"latitude_deg":10.902996,"altitude":52,"angle":332,"satellites":48,"speed":30,"hex_longitude":"2d54ed80","hex_latitude":"067faa48","is_valid_coordinates":true} 
[2026-07-01 03: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-01 03:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410868224001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332654726132793344,"note":"Value kept but may cause issues"} 
[2026-07-01 03:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6123910358714972160,"note":"Value kept but may cause issues"} 
[2026-07-01 03:00:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782854965000,"timestamp_ms":1782854965000,"timestamp_seconds":1782854965,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a6fd708"} 
[2026-07-01 03: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-01 03:00: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-01 03: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-01 03:00:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03: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-01 03: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-01 03:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:00:59] 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-01 03:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410868224001,"66":27376,"152":206,"80":60928,"24":30,"16":332654726132793344,"45":6123910358714972160},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,80,24,16,45]} 
[2026-07-01 03:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410868224001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:00:59] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-07-01 03:00:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-01 03:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332654726132793344,"km_value":332654726132793.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":6123910358714972160,"description":"Unknown IO ID 45"} 
[2026-07-01 03:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410868224001,"power":27376,"unknown_152":206,"unknown_80":60928,"ignition":30,"odometer":null,"unknown_45":6123910358714972160}} 
[2026-07-01 03:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":118758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:00:59] local.INFO: GPS data processed {"connection_id":118758,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:00:59] local.INFO: Acknowledgment sent {"connection_id":118758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:01:25] local.INFO: TCP Data received {"connection_id":119416,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:01:25] local.INFO: Processing buffer {"connection_id":119416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:01:25] local.INFO: IMEI packet received {"connection_id":119416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 03:01:25] local.INFO: IMEI acknowledgment sent {"connection_id":119416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:01:27] local.INFO: TCP Data received {"connection_id":119416,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:01:27] local.INFO: Processing buffer {"connection_id":119416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:01:27] local.INFO: IMEI packet received {"connection_id":119416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":119416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:01:32] local.INFO: TCP Data received {"connection_id":119416,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:01:32] local.INFO: Processing buffer {"connection_id":119416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:01:32] local.INFO: IMEI packet received {"connection_id":119416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":119416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:01:33] local.INFO: TCP Data received {"connection_id":119416,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a7009d0012d54db80067fcb080039014a2e..."} 
[2026-07-01 03:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a7009d0012d54db80067fcb080039014a2e..."} 
[2026-07-01 03:01:33] local.INFO: Processing buffer {"connection_id":119416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a7009d0012d54db80067fcb080039014a2e..."} 
[2026-07-01 03:01:33] local.INFO: Packet analysis {"connection_id":119416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a70"} 
[2026-07-01 03:01:33] local.INFO: Extracted packet for processing {"connection_id":119416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a70"} 
[2026-07-01 03:01:33] local.INFO: GPS Element Parsed {"raw_longitude":760535936,"raw_latitude":109038344,"longitude_deg":76.0535936,"latitude_deg":10.9038344,"altitude":57,"angle":330,"satellites":46,"speed":29,"hex_longitude":"2d54db80","hex_latitude":"067fcb08","is_valid_coordinates":true} 
[2026-07-01 03: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-01 03:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410871040001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332655189989261312,"note":"Value kept but may cause issues"} 
[2026-07-01 03:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6119688234066397184,"note":"Value kept but may cause issues"} 
[2026-07-01 03:01:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782854978000,"timestamp_ms":1782854978000,"timestamp_seconds":1782854978,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a7009d0"} 
[2026-07-01 03: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-01 03:01:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 03: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-01 03:01:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03: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-01 03: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-01 03:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":119416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":119416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":119416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:01:33] 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-01 03:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410871040001,"66":27365,"152":206,"80":60928,"24":29,"16":332655189989261312,"45":6119688234066397184},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,80,24,16,45]} 
[2026-07-01 03:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410871040001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:01:33] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-07-01 03:01:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-01 03:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332655189989261312,"km_value":332655189989261.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6119688234066397184,"description":"Unknown IO ID 45"} 
[2026-07-01 03:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410871040001,"power":27365,"unknown_152":206,"unknown_80":60928,"ignition":29,"odometer":null,"unknown_45":6119688234066397184}} 
[2026-07-01 03:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":119416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:01:33] local.INFO: GPS data processed {"connection_id":119416,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:01:33] local.INFO: Acknowledgment sent {"connection_id":119416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:01:35] local.INFO: TCP Data received {"connection_id":119416,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a7038b0012d54ca40067fea08003d014c2f..."} 
[2026-07-01 03:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a7038b0012d54ca40067fea08003d014c2f..."} 
[2026-07-01 03:01:35] local.INFO: Processing buffer {"connection_id":119416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a7038b0012d54ca40067fea08003d014c2f..."} 
[2026-07-01 03:01:35] local.INFO: Packet analysis {"connection_id":119416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a70"} 
[2026-07-01 03:01:35] local.INFO: Extracted packet for processing {"connection_id":119416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a70"} 
[2026-07-01 03:01:35] local.INFO: GPS Element Parsed {"raw_longitude":760531520,"raw_latitude":109046280,"longitude_deg":76.053152,"latitude_deg":10.904628,"altitude":61,"angle":332,"satellites":47,"speed":30,"hex_longitude":"2d54ca40","hex_latitude":"067fea08","is_valid_coordinates":true} 
[2026-07-01 03:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410874368001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332655628075925504,"note":"Value kept but may cause issues"} 
[2026-07-01 03:01:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6114621684487751680,"note":"Value kept but may cause issues"} 
[2026-07-01 03:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782854990000,"timestamp_ms":1782854990000,"timestamp_seconds":1782854990,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a7038b0"} 
[2026-07-01 03:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:01:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 03:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 03:01:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:01:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":119416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":119416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":119416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:01:35] 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-01 03:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410874368001,"66":27343,"107":206,"80":60928,"24":30,"16":332655628075925504,"45":6114621684487751680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,80,24,16,45]} 
[2026-07-01 03:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410874368001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:01:35] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-01 03:01:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-01 03:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332655628075925504,"km_value":332655628075925.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:01:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":6114621684487751680,"description":"Unknown IO ID 45"} 
[2026-07-01 03:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410874368001,"power":27343,"unknown_107":206,"unknown_80":60928,"ignition":30,"odometer":null,"unknown_45":6114621684487751680}} 
[2026-07-01 03:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":119416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:01:35] local.INFO: GPS data processed {"connection_id":119416,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:01:35] local.INFO: Acknowledgment sent {"connection_id":119416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:02:07] local.INFO: TCP Data received {"connection_id":119416,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a706790012d54b84006800ad80041014c2f..."} 
[2026-07-01 03:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a706790012d54b84006800ad80041014c2f..."} 
[2026-07-01 03:02:07] local.INFO: Processing buffer {"connection_id":119416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a706790012d54b84006800ad80041014c2f..."} 
[2026-07-01 03:02:07] local.INFO: Packet analysis {"connection_id":119416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a70"} 
[2026-07-01 03:02:07] local.INFO: Extracted packet for processing {"connection_id":119416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a70"} 
[2026-07-01 03:02:07] local.INFO: GPS Element Parsed {"raw_longitude":760526912,"raw_latitude":109054680,"longitude_deg":76.0526912,"latitude_deg":10.905468,"altitude":65,"angle":332,"satellites":47,"speed":32,"hex_longitude":"2d54b840","hex_latitude":"06800ad8","is_valid_coordinates":true} 
[2026-07-01 03:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410877440001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332656091932393472,"note":"Value kept but may cause issues"} 
[2026-07-01 03:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6109766241141524480,"note":"Value kept but may cause issues"} 
[2026-07-01 03:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782855002000,"timestamp_ms":1782855002000,"timestamp_seconds":1782855002,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a706790"} 
[2026-07-01 03:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 03:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-01 03:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":119416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":119416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":119416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:02:07] 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-01 03:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410877440001,"66":27397,"107":206,"80":60928,"24":32,"16":332656091932393472,"45":6109766241141524480},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,80,24,16,45]} 
[2026-07-01 03:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410877440001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:02:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-01 03:02:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-01 03:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332656091932393472,"km_value":332656091932393.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6109766241141524480,"description":"Unknown IO ID 45"} 
[2026-07-01 03:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410877440001,"power":27397,"unknown_107":206,"unknown_80":60928,"ignition":32,"odometer":null,"unknown_45":6109766241141524480}} 
[2026-07-01 03:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":119416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:02:07] local.INFO: GPS data processed {"connection_id":119416,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:02:07] local.INFO: Acknowledgment sent {"connection_id":119416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:02:22] local.INFO: TCP Data received {"connection_id":118759,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:02:22] local.INFO: Processing buffer {"connection_id":118759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:02:22] local.INFO: IMEI packet received {"connection_id":118759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 03:02:22] local.INFO: IMEI acknowledgment sent {"connection_id":118759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:02:27] local.INFO: TCP Data received {"connection_id":118759,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:02:27] local.INFO: Processing buffer {"connection_id":118759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:02:27] local.INFO: IMEI packet received {"connection_id":118759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:02:27] local.INFO: IMEI acknowledgment sent {"connection_id":118759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:02:28] local.INFO: TCP Data received {"connection_id":118759,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a709288012d54a6c006802a880046014b2f..."} 
[2026-07-01 03:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a709288012d54a6c006802a880046014b2f..."} 
[2026-07-01 03:02:28] local.INFO: Processing buffer {"connection_id":118759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a709288012d54a6c006802a880046014b2f..."} 
[2026-07-01 03:02:28] local.INFO: Packet analysis {"connection_id":118759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a70"} 
[2026-07-01 03:02:28] local.INFO: Extracted packet for processing {"connection_id":118759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a70"} 
[2026-07-01 03:02:28] local.INFO: GPS Element Parsed {"raw_longitude":760522432,"raw_latitude":109062792,"longitude_deg":76.0522432,"latitude_deg":10.9062792,"altitude":70,"angle":331,"satellites":47,"speed":33,"hex_longitude":"2d54a6c0","hex_latitude":"06802a88","is_valid_coordinates":true} 
[2026-07-01 03:02:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:02:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410880512001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:02:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332656538608992256,"note":"Value kept but may cause issues"} 
[2026-07-01 03:02:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6104699691562883072,"note":"Value kept but may cause issues"} 
[2026-07-01 03:02:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:02:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782855013000,"timestamp_ms":1782855013000,"timestamp_seconds":1782855013,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a709288"} 
[2026-07-01 03:02:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:02:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 03:02:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-01 03:02:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:02:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:02:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:02:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:02:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:02:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:02:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:02:28] 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-01 03:02:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:02:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:02:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410880512001,"66":27365,"149":206,"80":60928,"24":33,"16":332656538608992256,"45":6104699691562883072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-01 03:02:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:02:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:02:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410880512001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:02:28] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-01 03:02:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-01 03:02:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332656538608992256,"km_value":332656538608992.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:02:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":6104699691562883072,"description":"Unknown IO ID 45"} 
[2026-07-01 03:02:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410880512001,"power":27365,"unknown_149":206,"unknown_80":60928,"ignition":33,"odometer":null,"unknown_45":6104699691562883072}} 
[2026-07-01 03:02:28] local.INFO: DEBUG: GPS processor result {"connection_id":118759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:02:28] local.INFO: GPS data processed {"connection_id":118759,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:02:28] local.INFO: Acknowledgment sent {"connection_id":118759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:02:29] local.INFO: TCP Data received {"connection_id":118759,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a70bd80012d54954006804a70004b014a2f..."} 
[2026-07-01 03:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a70bd80012d54954006804a70004b014a2f..."} 
[2026-07-01 03:02:29] local.INFO: Processing buffer {"connection_id":118759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a70bd80012d54954006804a70004b014a2f..."} 
[2026-07-01 03:02:29] local.INFO: Packet analysis {"connection_id":118759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a70"} 
[2026-07-01 03:02:29] local.INFO: Extracted packet for processing {"connection_id":118759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a70"} 
[2026-07-01 03:02:29] local.INFO: GPS Element Parsed {"raw_longitude":760517952,"raw_latitude":109070960,"longitude_deg":76.0517952,"latitude_deg":10.907096,"altitude":75,"angle":330,"satellites":47,"speed":33,"hex_longitude":"2d549540","hex_latitude":"06804a70","is_valid_coordinates":true} 
[2026-07-01 03: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-01 03:02:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410883328001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:02:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332656989580558336,"note":"Value kept but may cause issues"} 
[2026-07-01 03:02:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6099773879472523264,"note":"Value kept but may cause issues"} 
[2026-07-01 03:02:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:02:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782855024000,"timestamp_ms":1782855024000,"timestamp_seconds":1782855024,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a70bd80"} 
[2026-07-01 03: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-01 03:02:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 03: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 03:02:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03: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-01 03: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-01 03:02:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:02:29] local.INFO: Teltonika packet parsed successfully {"connection_id":118759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:02:29] local.INFO: Passing IMEI to GPS processor {"connection_id":118759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:02:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":118759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:02:29] 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-01 03:02:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:02:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:02:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410883328001,"66":27310,"149":206,"80":60928,"24":33,"16":332656989580558336,"45":6099773879472523264},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-01 03:02:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:02:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:02:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410883328001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:02:29] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-01 03:02:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-01 03:02:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332656989580558336,"km_value":332656989580558.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:02:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":6099773879472523264,"description":"Unknown IO ID 45"} 
[2026-07-01 03:02:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410883328001,"power":27310,"unknown_149":206,"unknown_80":60928,"ignition":33,"odometer":null,"unknown_45":6099773879472523264}} 
[2026-07-01 03:02:29] local.INFO: DEBUG: GPS processor result {"connection_id":118759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:02:29] local.INFO: GPS data processed {"connection_id":118759,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:02:29] local.INFO: Acknowledgment sent {"connection_id":118759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:03:01] local.INFO: TCP Data received {"connection_id":118759,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a70e878012d548140068068d8004f013f30..."} 
[2026-07-01 03:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a70e878012d548140068068d8004f013f30..."} 
[2026-07-01 03:03:01] local.INFO: Processing buffer {"connection_id":118759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a70e878012d548140068068d8004f013f30..."} 
[2026-07-01 03:03:01] local.INFO: Packet analysis {"connection_id":118759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a70"} 
[2026-07-01 03:03:01] local.INFO: Extracted packet for processing {"connection_id":118759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a70"} 
[2026-07-01 03:03:01] local.INFO: GPS Element Parsed {"raw_longitude":760512832,"raw_latitude":109078744,"longitude_deg":76.0512832,"latitude_deg":10.9078744,"altitude":79,"angle":319,"satellites":48,"speed":33,"hex_longitude":"2d548140","hex_latitude":"068068d8","is_valid_coordinates":true} 
[2026-07-01 03:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410886144001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332657436257157120,"note":"Value kept but may cause issues"} 
[2026-07-01 03:03:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6094848067382177792,"note":"Value kept but may cause issues"} 
[2026-07-01 03:03:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782855035000,"timestamp_ms":1782855035000,"timestamp_seconds":1782855035,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a70e878"} 
[2026-07-01 03:03:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:03:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 03:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-01 03:03:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:03:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:03:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":118759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":118759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":118759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:03:01] 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-01 03:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410886144001,"66":27376,"149":206,"80":60928,"24":33,"16":332657436257157120,"45":6094848067382177792},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-07-01 03:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410886144001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:03:01] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-01 03:03:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-01 03:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332657436257157120,"km_value":332657436257157.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:03:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":6094848067382177792,"description":"Unknown IO ID 45"} 
[2026-07-01 03:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410886144001,"power":27376,"unknown_149":206,"unknown_80":60928,"ignition":33,"odometer":null,"unknown_45":6094848067382177792}} 
[2026-07-01 03:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":118759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:03:01] local.INFO: GPS data processed {"connection_id":118759,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:03:01] local.INFO: Acknowledgment sent {"connection_id":118759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:03:22] local.INFO: TCP Data received {"connection_id":118760,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:03:22] local.INFO: Processing buffer {"connection_id":118760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:03:22] local.INFO: IMEI packet received {"connection_id":118760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 03:03:22] local.INFO: IMEI acknowledgment sent {"connection_id":118760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:03:23] local.INFO: TCP Data received {"connection_id":118760,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:03:23] local.INFO: Processing buffer {"connection_id":118760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:03:23] local.INFO: IMEI packet received {"connection_id":118760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:03:23] local.INFO: IMEI acknowledgment sent {"connection_id":118760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:03:28] local.INFO: TCP Data received {"connection_id":118760,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:03:28] local.INFO: Processing buffer {"connection_id":118760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:03:28] local.INFO: IMEI packet received {"connection_id":118760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:03:28] local.INFO: IMEI acknowledgment sent {"connection_id":118760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:03:32] local.INFO: TCP Data received {"connection_id":119417,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 03:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119417,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 03:03:32] local.INFO: Processing buffer {"connection_id":119417,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 03:03:32] local.INFO: IMEI packet received {"connection_id":119417,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 03:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":119417,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:03:43] local.INFO: TCP Data received {"connection_id":118760,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a728a70012d537300068157800081013932..."} 
[2026-07-01 03:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a728a70012d537300068157800081013932..."} 
[2026-07-01 03:03:43] local.INFO: Processing buffer {"connection_id":118760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a728a70012d537300068157800081013932..."} 
[2026-07-01 03:03:43] local.INFO: Packet analysis {"connection_id":118760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a72"} 
[2026-07-01 03:03:43] local.INFO: Extracted packet for processing {"connection_id":118760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a72"} 
[2026-07-01 03:03:43] local.INFO: GPS Element Parsed {"raw_longitude":760443648,"raw_latitude":109139840,"longitude_deg":76.0443648,"latitude_deg":10.913984,"altitude":129,"angle":313,"satellites":50,"speed":33,"hex_longitude":"2d537300","hex_latitude":"06815780","is_valid_coordinates":true} 
[2026-07-01 03: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-01 03:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410913536001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332661877253341184,"note":"Value kept but may cause issues"} 
[2026-07-01 03:03:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6020468304802390016,"note":"Value kept but may cause issues"} 
[2026-07-01 03:03:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1782855142000,"timestamp_ms":1782855142000,"timestamp_seconds":1782855142,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a728a70"} 
[2026-07-01 03: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-01 03:03:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 03: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-01 03:03:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03: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-01 03: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-01 03:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":118760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":118760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":118760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:03:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410913536001,"66":27321,"107":206,"80":60928,"24":33,"16":332661877253341184,"45":6020468304802390016},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,80,24,16,45]} 
[2026-07-01 03:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410913536001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:03:43] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-01 03:03:43] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-01 03:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332661877253341184,"km_value":332661877253341.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:03:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":6020468304802390016,"description":"Unknown IO ID 45"} 
[2026-07-01 03:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410913536001,"power":27321,"unknown_107":206,"unknown_80":60928,"ignition":33,"odometer":null,"unknown_45":6020468304802390016}} 
[2026-07-01 03:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":118760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:03:43] local.INFO: GPS data processed {"connection_id":118760,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:03:43] local.INFO: Acknowledgment sent {"connection_id":118760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:04:16] local.INFO: TCP Data received {"connection_id":120517,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 03:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120517,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 03:04:16] local.INFO: Processing buffer {"connection_id":120517,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 03:04:16] local.INFO: IMEI packet received {"connection_id":120517,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 03:04:16] local.INFO: IMEI acknowledgment sent {"connection_id":120517,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:04:22] local.INFO: TCP Data received {"connection_id":118650,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:04:22] local.INFO: Processing buffer {"connection_id":118650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:04:22] local.INFO: IMEI packet received {"connection_id":118650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 03:04:22] local.INFO: IMEI acknowledgment sent {"connection_id":118650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:04:23] local.INFO: TCP Data received {"connection_id":118650,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:04:23] local.INFO: Processing buffer {"connection_id":118650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:04:23] local.INFO: IMEI packet received {"connection_id":118650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:04:23] local.INFO: IMEI acknowledgment sent {"connection_id":118650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:04:27] local.INFO: TCP Data received {"connection_id":118650,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:04:27] local.INFO: Processing buffer {"connection_id":118650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:04:27] local.INFO: IMEI packet received {"connection_id":118650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":118650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:04:28] local.INFO: TCP Data received {"connection_id":118650,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a72b568012d535840068170880085013930..."} 
[2026-07-01 03:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a72b568012d535840068170880085013930..."} 
[2026-07-01 03:04:28] local.INFO: Processing buffer {"connection_id":118650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a72b568012d535840068170880085013930..."} 
[2026-07-01 03:04:28] local.INFO: Packet analysis {"connection_id":118650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a72"} 
[2026-07-01 03:04:28] local.INFO: Extracted packet for processing {"connection_id":118650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a72"} 
[2026-07-01 03:04:28] local.INFO: GPS Element Parsed {"raw_longitude":760436800,"raw_latitude":109146248,"longitude_deg":76.04368,"latitude_deg":10.9146248,"altitude":133,"angle":313,"satellites":48,"speed":33,"hex_longitude":"2d535840","hex_latitude":"06817088","is_valid_coordinates":true} 
[2026-07-01 03:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410916352001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332662328224907264,"note":"Value kept but may cause issues"} 
[2026-07-01 03:04:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6013149955409543168,"note":"Value kept but may cause issues"} 
[2026-07-01 03:04:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782855153000,"timestamp_ms":1782855153000,"timestamp_seconds":1782855153,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a72b568"} 
[2026-07-01 03:04:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:04:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 03:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-01 03:04:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:04:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:04:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:04:28] 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-01 03:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410916352001,"66":27365,"61":206,"80":60928,"24":33,"16":332662328224907264,"45":6013149955409543168},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,80,24,16,45]} 
[2026-07-01 03:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410916352001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:04:28] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 03:04:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-01 03:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332662328224907264,"km_value":332662328224907.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:04:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":6013149955409543168,"description":"Unknown IO ID 45"} 
[2026-07-01 03:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410916352001,"power":27365,"unknown_61":206,"unknown_80":60928,"ignition":33,"odometer":null,"unknown_45":6013149955409543168}} 
[2026-07-01 03:04:28] local.INFO: DEBUG: GPS processor result {"connection_id":118650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:04:28] local.INFO: GPS data processed {"connection_id":118650,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:04:28] local.INFO: Acknowledgment sent {"connection_id":118650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:05:04] local.INFO: TCP Data received {"connection_id":118650,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a72e060012d533d00068189880088013a31..."} 
[2026-07-01 03:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a72e060012d533d00068189880088013a31..."} 
[2026-07-01 03:05:04] local.INFO: Processing buffer {"connection_id":118650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a72e060012d533d00068189880088013a31..."} 
[2026-07-01 03:05:04] local.INFO: Packet analysis {"connection_id":118650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a72"} 
[2026-07-01 03:05:04] local.INFO: Extracted packet for processing {"connection_id":118650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a72"} 
[2026-07-01 03:05:04] local.INFO: GPS Element Parsed {"raw_longitude":760429824,"raw_latitude":109152648,"longitude_deg":76.0429824,"latitude_deg":10.9152648,"altitude":136,"angle":314,"satellites":49,"speed":33,"hex_longitude":"2d533d00","hex_latitude":"06818988","is_valid_coordinates":true} 
[2026-07-01 03: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-01 03:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410919168001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332662779196473344,"note":"Value kept but may cause issues"} 
[2026-07-01 03:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6005620499784173568,"note":"Value kept but may cause issues"} 
[2026-07-01 03:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782855164000,"timestamp_ms":1782855164000,"timestamp_seconds":1782855164,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a72e060"} 
[2026-07-01 03: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-01 03:05: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-01 03:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 03:05:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03: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-01 03: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-01 03:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":118650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":118650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":118650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:05:04] 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-01 03:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410919168001,"66":27267,"61":206,"80":60928,"24":33,"16":332662779196473344,"45":6005620499784173568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,80,24,16,45]} 
[2026-07-01 03:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410919168001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:05:04] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 03:05:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-01 03:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332662779196473344,"km_value":332662779196473.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6005620499784173568,"description":"Unknown IO ID 45"} 
[2026-07-01 03:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410919168001,"power":27267,"unknown_61":206,"unknown_80":60928,"ignition":33,"odometer":null,"unknown_45":6005620499784173568}} 
[2026-07-01 03:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":118650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:05:04] local.INFO: GPS data processed {"connection_id":118650,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:05:04] local.INFO: Acknowledgment sent {"connection_id":118650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:05:22] local.INFO: TCP Data received {"connection_id":118652,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:05:22] local.INFO: Processing buffer {"connection_id":118652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:05:22] local.INFO: IMEI packet received {"connection_id":118652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 03:05:22] local.INFO: IMEI acknowledgment sent {"connection_id":118652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:05:24] local.INFO: TCP Data received {"connection_id":118652,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:05:24] local.INFO: Processing buffer {"connection_id":118652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:05:24] local.INFO: IMEI packet received {"connection_id":118652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":118652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:05:27] local.INFO: TCP Data received {"connection_id":118652,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:05:27] local.INFO: Processing buffer {"connection_id":118652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:05:27] local.INFO: IMEI packet received {"connection_id":118652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":118652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:05:29] local.INFO: TCP Data received {"connection_id":118652,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a743c08012d52024006828b080080012d2f..."} 
[2026-07-01 03:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a743c08012d52024006828b080080012d2f..."} 
[2026-07-01 03:05:29] local.INFO: Processing buffer {"connection_id":118652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a743c08012d52024006828b080080012d2f..."} 
[2026-07-01 03:05:29] local.INFO: Packet analysis {"connection_id":118652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a74"} 
[2026-07-01 03:05:29] local.INFO: Extracted packet for processing {"connection_id":118652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a74"} 
[2026-07-01 03:05:29] local.INFO: GPS Element Parsed {"raw_longitude":760349248,"raw_latitude":109218568,"longitude_deg":76.0349248,"latitude_deg":10.9218568,"altitude":128,"angle":301,"satellites":47,"speed":43,"hex_longitude":"2d520240","hex_latitude":"06828b08","is_valid_coordinates":true} 
[2026-07-01 03:05:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:05:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410942720001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:05:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332667787128340480,"note":"Value kept but may cause issues"} 
[2026-07-01 03:05:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5918222519532843008,"note":"Value kept but may cause issues"} 
[2026-07-01 03:05:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:05:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782855253000,"timestamp_ms":1782855253000,"timestamp_seconds":1782855253,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a743c08"} 
[2026-07-01 03:05:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:05:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 03:05:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-01 03:05:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:05:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:05:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:05:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:05:29] local.INFO: Teltonika packet parsed successfully {"connection_id":118652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:05:29] local.INFO: Passing IMEI to GPS processor {"connection_id":118652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:05:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":118652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:05:29] 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-01 03:05:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:05:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:05:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410942720001,"66":27332,"176":206,"80":60928,"24":43,"16":332667787128340480,"45":5918222519532843008},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,80,24,16,45]} 
[2026-07-01 03:05:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:05:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:05:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410942720001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:05:29] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-01 03:05:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-01 03:05:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332667787128340480,"km_value":332667787128340.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:05:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5918222519532843008,"description":"Unknown IO ID 45"} 
[2026-07-01 03:05:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410942720001,"power":27332,"unknown_176":206,"unknown_80":60928,"ignition":43,"odometer":null,"unknown_45":5918222519532843008}} 
[2026-07-01 03:05:29] local.INFO: DEBUG: GPS processor result {"connection_id":118652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:05:29] local.INFO: GPS data processed {"connection_id":118652,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:05:29] local.INFO: Acknowledgment sent {"connection_id":118652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:06:01] local.INFO: TCP Data received {"connection_id":118652,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a745f30012d51e10006829f000082012c2e..."} 
[2026-07-01 03:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a745f30012d51e10006829f000082012c2e..."} 
[2026-07-01 03:06:01] local.INFO: Processing buffer {"connection_id":118652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a745f30012d51e10006829f000082012c2e..."} 
[2026-07-01 03:06:01] local.INFO: Packet analysis {"connection_id":118652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a74"} 
[2026-07-01 03:06:01] local.INFO: Extracted packet for processing {"connection_id":118652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a74"} 
[2026-07-01 03:06:01] local.INFO: GPS Element Parsed {"raw_longitude":760340736,"raw_latitude":109223680,"longitude_deg":76.0340736,"latitude_deg":10.922368,"altitude":130,"angle":300,"satellites":46,"speed":43,"hex_longitude":"2d51e100","hex_latitude":"06829f00","is_valid_coordinates":true} 
[2026-07-01 03:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410944768001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:06:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332668263869710336,"note":"Value kept but may cause issues"} 
[2026-07-01 03:06:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5909356057767643136,"note":"Value kept but may cause issues"} 
[2026-07-01 03:06:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:06:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782855262000,"timestamp_ms":1782855262000,"timestamp_seconds":1782855262,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a745f30"} 
[2026-07-01 03:06:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:06:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 03:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-01 03:06:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:06:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:06:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:06:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:06:01] local.INFO: Teltonika packet parsed successfully {"connection_id":118652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:06:01] local.INFO: Passing IMEI to GPS processor {"connection_id":118652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:06:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":118652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:06:01] 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-01 03:06:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:06:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:06:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410944768001,"66":27365,"176":206,"80":60928,"24":43,"16":332668263869710336,"45":5909356057767643136},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,80,24,16,45]} 
[2026-07-01 03:06:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:06:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:06:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410944768001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:06:01] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-07-01 03:06:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-01 03:06:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332668263869710336,"km_value":332668263869710.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:06:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5909356057767643136,"description":"Unknown IO ID 45"} 
[2026-07-01 03:06:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410944768001,"power":27365,"unknown_176":206,"unknown_80":60928,"ignition":43,"odometer":null,"unknown_45":5909356057767643136}} 
[2026-07-01 03:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":118652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:06:01] local.INFO: GPS data processed {"connection_id":118652,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:06:01] local.INFO: Acknowledgment sent {"connection_id":118652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:06:27] local.INFO: TCP Data received {"connection_id":119418,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:06:27] local.INFO: Processing buffer {"connection_id":119418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:06:27] local.INFO: IMEI packet received {"connection_id":119418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 03:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":119418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:06:31] local.INFO: TCP Data received {"connection_id":119418,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:06:31] local.INFO: Processing buffer {"connection_id":119418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:06:31] local.INFO: IMEI packet received {"connection_id":119418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":119418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:06:32] local.INFO: TCP Data received {"connection_id":119418,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a747e70012d51c3c00682b288008201332f..."} 
[2026-07-01 03:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a747e70012d51c3c00682b288008201332f..."} 
[2026-07-01 03:06:32] local.INFO: Processing buffer {"connection_id":119418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a747e70012d51c3c00682b288008201332f..."} 
[2026-07-01 03:06:32] local.INFO: Packet analysis {"connection_id":119418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a74"} 
[2026-07-01 03:06:32] local.INFO: Extracted packet for processing {"connection_id":119418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a74"} 
[2026-07-01 03:06:32] local.INFO: GPS Element Parsed {"raw_longitude":760333248,"raw_latitude":109228680,"longitude_deg":76.0333248,"latitude_deg":10.922868,"altitude":130,"angle":307,"satellites":47,"speed":45,"hex_longitude":"2d51c3c0","hex_latitude":"0682b288","is_valid_coordinates":true} 
[2026-07-01 03:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410947072001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332668693366439936,"note":"Value kept but may cause issues"} 
[2026-07-01 03:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5899997014793322496,"note":"Value kept but may cause issues"} 
[2026-07-01 03:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782855270000,"timestamp_ms":1782855270000,"timestamp_seconds":1782855270,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a747e70"} 
[2026-07-01 03:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:06:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 03:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 03:06:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:06:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":119418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":119418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":119418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:06:32] 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-01 03:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410947072001,"66":27245,"48":206,"80":60928,"24":45,"16":332668693366439936,"45":5899997014793322496},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,80,24,16,45]} 
[2026-07-01 03:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410947072001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:06:32] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-07-01 03:06:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-01 03:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332668693366439936,"km_value":332668693366439.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5899997014793322496,"description":"Unknown IO ID 45"} 
[2026-07-01 03:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410947072001,"power":27245,"unknown_48":206,"unknown_80":60928,"ignition":45,"odometer":null,"unknown_45":5899997014793322496}} 
[2026-07-01 03:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":119418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:06:32] local.INFO: GPS data processed {"connection_id":119418,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:06:32] local.INFO: Acknowledgment sent {"connection_id":119418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:06:33] local.INFO: TCP Data received {"connection_id":119418,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a749db0012d51a7c00682c980008401362d..."} 
[2026-07-01 03:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a749db0012d51a7c00682c980008401362d..."} 
[2026-07-01 03:06:33] local.INFO: Processing buffer {"connection_id":119418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a749db0012d51a7c00682c980008401362d..."} 
[2026-07-01 03:06:33] local.INFO: Packet analysis {"connection_id":119418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a74"} 
[2026-07-01 03:06:33] local.INFO: Extracted packet for processing {"connection_id":119418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a74"} 
[2026-07-01 03:06:33] local.INFO: GPS Element Parsed {"raw_longitude":760326080,"raw_latitude":109234560,"longitude_deg":76.032608,"latitude_deg":10.923456,"altitude":132,"angle":310,"satellites":45,"speed":45,"hex_longitude":"2d51a7c0","hex_latitude":"0682c980","is_valid_coordinates":true} 
[2026-07-01 03: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-01 03:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410949120001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332669140043038720,"note":"Value kept but may cause issues"} 
[2026-07-01 03:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5891763871725815808,"note":"Value kept but may cause issues"} 
[2026-07-01 03:06:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782855278000,"timestamp_ms":1782855278000,"timestamp_seconds":1782855278,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a749db0"} 
[2026-07-01 03: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-01 03:06:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 03: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-01 03:06:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03: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-01 03: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-01 03:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":119418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":119418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":119418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:06:33] 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-01 03:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410949120001,"66":27343,"48":206,"80":60928,"24":45,"16":332669140043038720,"45":5891763871725815808},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,80,24,16,45]} 
[2026-07-01 03:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410949120001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:06:33] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-07-01 03:06:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-01 03:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332669140043038720,"km_value":332669140043038.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5891763871725815808,"description":"Unknown IO ID 45"} 
[2026-07-01 03:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410949120001,"power":27343,"unknown_48":206,"unknown_80":60928,"ignition":45,"odometer":null,"unknown_45":5891763871725815808}} 
[2026-07-01 03:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":119418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:06:33] local.INFO: GPS data processed {"connection_id":119418,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:06:33] local.INFO: Acknowledgment sent {"connection_id":119418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:07:04] local.INFO: TCP Data received {"connection_id":119418,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a74bcf0012d518d400682e2e80083013c23..."} 
[2026-07-01 03:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a74bcf0012d518d400682e2e80083013c23..."} 
[2026-07-01 03:07:04] local.INFO: Processing buffer {"connection_id":119418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a74bcf0012d518d400682e2e80083013c23..."} 
[2026-07-01 03:07:04] local.INFO: Packet analysis {"connection_id":119418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a74"} 
[2026-07-01 03:07:04] local.INFO: Extracted packet for processing {"connection_id":119418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a74"} 
[2026-07-01 03:07:04] local.INFO: GPS Element Parsed {"raw_longitude":760319296,"raw_latitude":109241064,"longitude_deg":76.0319296,"latitude_deg":10.9241064,"altitude":131,"angle":316,"satellites":35,"speed":46,"hex_longitude":"2d518d40","hex_latitude":"0682e2e8","is_valid_coordinates":true} 
[2026-07-01 03: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-01 03:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410951168001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332669591014604800,"note":"Value kept but may cause issues"} 
[2026-07-01 03:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5883882572379422720,"note":"Value kept but may cause issues"} 
[2026-07-01 03:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782855286000,"timestamp_ms":1782855286000,"timestamp_seconds":1782855286,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a74bcf0"} 
[2026-07-01 03: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-01 03:07: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-01 03: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-01 03:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03: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-01 03: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-01 03:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":119418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":119418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":119418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:07:04] 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-01 03:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410951168001,"66":27300,"48":206,"80":60928,"24":46,"16":332669591014604800,"45":5883882572379422720},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,80,24,16,45]} 
[2026-07-01 03:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410951168001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:07:04] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-07-01 03:07:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-01 03:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332669591014604800,"km_value":332669591014604.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5883882572379422720,"description":"Unknown IO ID 45"} 
[2026-07-01 03:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410951168001,"power":27300,"unknown_48":206,"unknown_80":60928,"ignition":46,"odometer":null,"unknown_45":5883882572379422720}} 
[2026-07-01 03:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":119418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:07:04] local.INFO: GPS data processed {"connection_id":119418,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:07:04] local.INFO: Acknowledgment sent {"connection_id":119418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:07:27] local.INFO: TCP Data received {"connection_id":118762,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:07:27] local.INFO: Processing buffer {"connection_id":118762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:07:27] local.INFO: IMEI packet received {"connection_id":118762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 03:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":118762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:07:32] local.INFO: TCP Data received {"connection_id":118762,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:07:32] local.INFO: Processing buffer {"connection_id":118762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:07:32] local.INFO: IMEI packet received {"connection_id":118762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":118762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:07:32] local.INFO: TCP Data received {"connection_id":118762,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a74dc30012d5174c0068301180083014126..."} 
[2026-07-01 03:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a74dc30012d5174c0068301180083014126..."} 
[2026-07-01 03:07:32] local.INFO: Processing buffer {"connection_id":118762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a74dc30012d5174c0068301180083014126..."} 
[2026-07-01 03:07:32] local.INFO: Packet analysis {"connection_id":118762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a74"} 
[2026-07-01 03:07:32] local.INFO: Extracted packet for processing {"connection_id":118762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a74"} 
[2026-07-01 03:07:32] local.INFO: GPS Element Parsed {"raw_longitude":760313024,"raw_latitude":109248792,"longitude_deg":76.0313024,"latitude_deg":10.9248792,"altitude":131,"angle":321,"satellites":38,"speed":50,"hex_longitude":"2d5174c0","hex_latitude":"06830118","is_valid_coordinates":true} 
[2026-07-01 03:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410953216001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332670072050941952,"note":"Value kept but may cause issues"} 
[2026-07-01 03:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5876423485498255360,"note":"Value kept but may cause issues"} 
[2026-07-01 03:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782855294000,"timestamp_ms":1782855294000,"timestamp_seconds":1782855294,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a74dc30"} 
[2026-07-01 03:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:07:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 03:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-01 03:07:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:07:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":118762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":118762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":118762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:07:32] 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-01 03:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410953216001,"66":27343,"48":206,"80":60928,"24":50,"16":332670072050941952,"45":5876423485498255360},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,80,24,16,45]} 
[2026-07-01 03:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410953216001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:07:32] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-07-01 03:07:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-01 03:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332670072050941952,"km_value":332670072050941.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5876423485498255360,"description":"Unknown IO ID 45"} 
[2026-07-01 03:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410953216001,"power":27343,"unknown_48":206,"unknown_80":60928,"ignition":50,"odometer":null,"unknown_45":5876423485498255360}} 
[2026-07-01 03:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":118762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:07:32] local.INFO: GPS data processed {"connection_id":118762,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:07:32] local.INFO: Acknowledgment sent {"connection_id":118762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:08:14] local.INFO: TCP Data received {"connection_id":118762,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a76fb28012d4fbb800683a9a0008401162e..."} 
[2026-07-01 03:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a76fb28012d4fbb800683a9a0008401162e..."} 
[2026-07-01 03:08:14] local.INFO: Processing buffer {"connection_id":118762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a76fb28012d4fbb800683a9a0008401162e..."} 
[2026-07-01 03:08:14] local.INFO: Packet analysis {"connection_id":118762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a76"} 
[2026-07-01 03:08:14] local.INFO: Extracted packet for processing {"connection_id":118762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a76"} 
[2026-07-01 03:08:14] local.INFO: GPS Element Parsed {"raw_longitude":760200064,"raw_latitude":109291936,"longitude_deg":76.0200064,"latitude_deg":10.9291936,"altitude":132,"angle":278,"satellites":46,"speed":64,"hex_longitude":"2d4fbb80","hex_latitude":"0683a9a0","is_valid_coordinates":true} 
[2026-07-01 03:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:08:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410989312001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:08:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332676054940385280,"note":"Value kept but may cause issues"} 
[2026-07-01 03:08:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5756022564222930944,"note":"Value kept but may cause issues"} 
[2026-07-01 03:08:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:08:14] local.INFO: AVL Record Parsed {"raw_timestamp":1782855433000,"timestamp_ms":1782855433000,"timestamp_seconds":1782855433,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a76fb28"} 
[2026-07-01 03:08:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:08:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 03:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-01 03:08:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:08:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:08:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:08:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:08:14] local.INFO: Teltonika packet parsed successfully {"connection_id":118762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:08:14] local.INFO: Passing IMEI to GPS processor {"connection_id":118762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:08:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":118762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:08:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:08:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:08:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:08:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410989312001,"66":27376,"216":206,"80":60928,"24":64,"16":332676054940385280,"45":5756022564222930944},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,80,24,16,45]} 
[2026-07-01 03:08:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:08:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:08:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410989312001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:08:14] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-01 03:08:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-01 03:08:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332676054940385280,"km_value":332676054940385.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:08:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5756022564222930944,"description":"Unknown IO ID 45"} 
[2026-07-01 03:08:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410989312001,"power":27376,"unknown_216":206,"unknown_80":60928,"ignition":64,"odometer":null,"unknown_45":5756022564222930944}} 
[2026-07-01 03:08:14] local.INFO: DEBUG: GPS processor result {"connection_id":118762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:08:14] local.INFO: GPS data processed {"connection_id":118762,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:08:14] local.INFO: Acknowledgment sent {"connection_id":118762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:08:27] local.INFO: TCP Data received {"connection_id":118763,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:08:27] local.INFO: Processing buffer {"connection_id":118763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:08:27] local.INFO: IMEI packet received {"connection_id":118763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 03:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":118763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:08:27] local.INFO: TCP Data received {"connection_id":118763,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:08:27] local.INFO: Processing buffer {"connection_id":118763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:08:27] local.INFO: IMEI packet received {"connection_id":118763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":118763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:08:32] local.INFO: TCP Data received {"connection_id":118763,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:08:32] local.INFO: Processing buffer {"connection_id":118763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:08:32] local.INFO: IMEI packet received {"connection_id":118763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":118763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:08:32] local.INFO: TCP Data received {"connection_id":118763,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a771298012d4f95000683afb0008101172d..."} 
[2026-07-01 03:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a771298012d4f95000683afb0008101172d..."} 
[2026-07-01 03:08:32] local.INFO: Processing buffer {"connection_id":118763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a771298012d4f95000683afb0008101172d..."} 
[2026-07-01 03:08:32] local.INFO: Packet analysis {"connection_id":118763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a77"} 
[2026-07-01 03:08:32] local.INFO: Extracted packet for processing {"connection_id":118763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a77"} 
[2026-07-01 03:08:32] local.INFO: GPS Element Parsed {"raw_longitude":760190208,"raw_latitude":109293488,"longitude_deg":76.0190208,"latitude_deg":10.9293488,"altitude":129,"angle":279,"satellites":45,"speed":66,"hex_longitude":"2d4f9500","hex_latitude":"0683afb0","is_valid_coordinates":true} 
[2026-07-01 03:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410990848001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332676527386787840,"note":"Value kept but may cause issues"} 
[2026-07-01 03:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5745326515108290560,"note":"Value kept but may cause issues"} 
[2026-07-01 03:08:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782855439000,"timestamp_ms":1782855439000,"timestamp_seconds":1782855439,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a771298"} 
[2026-07-01 03:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:08:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 03:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-01 03:08:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:08:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":118763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":118763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":118763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:08:32] 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-01 03:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410990848001,"66":27484,"216":206,"80":60928,"24":66,"16":332676527386787840,"45":5745326515108290560},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,80,24,16,45]} 
[2026-07-01 03:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410990848001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:08:32] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-01 03:08:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-01 03:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332676527386787840,"km_value":332676527386787.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5745326515108290560,"description":"Unknown IO ID 45"} 
[2026-07-01 03:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410990848001,"power":27484,"unknown_216":206,"unknown_80":60928,"ignition":66,"odometer":null,"unknown_45":5745326515108290560}} 
[2026-07-01 03:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":118763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:08:32] local.INFO: GPS data processed {"connection_id":118763,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:08:32] local.INFO: Acknowledgment sent {"connection_id":118763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:08:33] local.INFO: TCP Data received {"connection_id":118763,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a772a08012d4f6d400683b5b8007e01162e..."} 
[2026-07-01 03:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a772a08012d4f6d400683b5b8007e01162e..."} 
[2026-07-01 03:08:33] local.INFO: Processing buffer {"connection_id":118763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a772a08012d4f6d400683b5b8007e01162e..."} 
[2026-07-01 03:08:33] local.INFO: Packet analysis {"connection_id":118763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a77"} 
[2026-07-01 03:08:33] local.INFO: Extracted packet for processing {"connection_id":118763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a77"} 
[2026-07-01 03:08:33] local.INFO: GPS Element Parsed {"raw_longitude":760180032,"raw_latitude":109295032,"longitude_deg":76.0180032,"latitude_deg":10.9295032,"altitude":126,"angle":278,"satellites":46,"speed":67,"hex_longitude":"2d4f6d40","hex_latitude":"0683b5b8","is_valid_coordinates":true} 
[2026-07-01 03: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-01 03:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410992384001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332677017013059584,"note":"Value kept but may cause issues"} 
[2026-07-01 03:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5734489728505327616,"note":"Value kept but may cause issues"} 
[2026-07-01 03:08:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782855445000,"timestamp_ms":1782855445000,"timestamp_seconds":1782855445,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a772a08"} 
[2026-07-01 03: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-01 03:08:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 03: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 03:08:33] 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-01 03: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-01 03: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-01 03:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":118763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":118763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":118763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:08:33] 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-01 03:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410992384001,"66":27441,"216":206,"80":60928,"24":67,"16":332677017013059584,"45":5734489728505327616},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,80,24,16,45]} 
[2026-07-01 03:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410992384001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:08:33] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-01 03:08:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-01 03:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332677017013059584,"km_value":332677017013059.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5734489728505327616,"description":"Unknown IO ID 45"} 
[2026-07-01 03:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410992384001,"power":27441,"unknown_216":206,"unknown_80":60928,"ignition":67,"odometer":null,"unknown_45":5734489728505327616}} 
[2026-07-01 03:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":118763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:08:33] local.INFO: GPS data processed {"connection_id":118763,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:08:33] local.INFO: Acknowledgment sent {"connection_id":118763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:08:36] local.INFO: TCP Data received {"connection_id":118763,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a774178012d4f45000683bb90007a01162e..."} 
[2026-07-01 03:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a774178012d4f45000683bb90007a01162e..."} 
[2026-07-01 03:08:36] local.INFO: Processing buffer {"connection_id":118763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a774178012d4f45000683bb90007a01162e..."} 
[2026-07-01 03:08:36] local.INFO: Packet analysis {"connection_id":118763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a77"} 
[2026-07-01 03:08:36] local.INFO: Extracted packet for processing {"connection_id":118763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a77"} 
[2026-07-01 03:08:36] local.INFO: GPS Element Parsed {"raw_longitude":760169728,"raw_latitude":109296528,"longitude_deg":76.0169728,"latitude_deg":10.9296528,"altitude":122,"angle":278,"satellites":46,"speed":68,"hex_longitude":"2d4f4500","hex_latitude":"0683bb90","is_valid_coordinates":true} 
[2026-07-01 03:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456410993920001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332677510934298624,"note":"Value kept but may cause issues"} 
[2026-07-01 03:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5723301098181474304,"note":"Value kept but may cause issues"} 
[2026-07-01 03:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782855451000,"timestamp_ms":1782855451000,"timestamp_seconds":1782855451,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a774178"} 
[2026-07-01 03:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 03:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-07-01 03:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1174,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":118763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":118763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":118763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:08:36] 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-01 03:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456410993920001,"66":27332,"216":206,"80":60928,"24":68,"16":332677510934298624,"45":5723301098181474304},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,80,24,16,45]} 
[2026-07-01 03:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456410993920001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:08:36] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-07-01 03:08:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-01 03:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332677510934298624,"km_value":332677510934298.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":5723301098181474304,"description":"Unknown IO ID 45"} 
[2026-07-01 03:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456410993920001,"power":27332,"unknown_216":206,"unknown_80":60928,"ignition":68,"odometer":null,"unknown_45":5723301098181474304}} 
[2026-07-01 03:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":118763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:08:36] local.INFO: GPS data processed {"connection_id":118763,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:08:36] local.INFO: Acknowledgment sent {"connection_id":118763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:09:19] local.INFO: TCP Data received {"connection_id":120521,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:09:19] local.INFO: Processing buffer {"connection_id":120521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:09:19] local.INFO: IMEI packet received {"connection_id":120521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 03:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":120521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:09:19] local.INFO: TCP Data received {"connection_id":120521,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:09:19] local.INFO: Processing buffer {"connection_id":120521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:09:19] local.INFO: IMEI packet received {"connection_id":120521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":120521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:09:22] local.INFO: TCP Data received {"connection_id":120521,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:09:22] local.INFO: Processing buffer {"connection_id":120521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:09:22] local.INFO: IMEI packet received {"connection_id":120521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:09:22] local.INFO: IMEI acknowledgment sent {"connection_id":120521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:09:33] local.INFO: TCP Data received {"connection_id":120521,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:09:33] local.INFO: Processing buffer {"connection_id":120521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:09:33] local.INFO: IMEI packet received {"connection_id":120521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":120521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:09:34] local.INFO: TCP Data received {"connection_id":120521,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a783790012d4e02c0068466c0007901262f..."} 
[2026-07-01 03:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a783790012d4e02c0068466c0007901262f..."} 
[2026-07-01 03:09:34] local.INFO: Processing buffer {"connection_id":120521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a783790012d4e02c0068466c0007901262f..."} 
[2026-07-01 03:09:34] local.INFO: Packet analysis {"connection_id":120521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a78"} 
[2026-07-01 03:09:34] local.INFO: Extracted packet for processing {"connection_id":120521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a78"} 
[2026-07-01 03:09:34] local.INFO: GPS Element Parsed {"raw_longitude":760087232,"raw_latitude":109340352,"longitude_deg":76.0087232,"latitude_deg":10.9340352,"altitude":121,"angle":294,"satellites":47,"speed":51,"hex_longitude":"2d4e02c0","hex_latitude":"068466c0","is_valid_coordinates":true} 
[2026-07-01 03: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-01 03:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411009792001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332682218218455040,"note":"Value kept but may cause issues"} 
[2026-07-01 03:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5630062512156477440,"note":"Value kept but may cause issues"} 
[2026-07-01 03:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782855514000,"timestamp_ms":1782855514000,"timestamp_seconds":1782855514,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a783790"} 
[2026-07-01 03: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-01 03:09:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 03:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-01 03:09:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03: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-01 03: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-01 03:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":120521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":120521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":120521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411009792001,"66":27213,"104":206,"80":60928,"24":51,"16":332682218218455040,"45":5630062512156477440},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,80,24,16,45]} 
[2026-07-01 03:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411009792001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:09:34] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-07-01 03:09:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-01 03:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332682218218455040,"km_value":332682218218455.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5630062512156477440,"description":"Unknown IO ID 45"} 
[2026-07-01 03:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411009792001,"power":27213,"unknown_104":206,"unknown_80":60928,"ignition":51,"odometer":null,"unknown_45":5630062512156477440}} 
[2026-07-01 03:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":120521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:09:34] local.INFO: GPS data processed {"connection_id":120521,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:09:34] local.INFO: Acknowledgment sent {"connection_id":120521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:09:44] local.INFO: TCP Data received {"connection_id":120520,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 03:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120520,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 03:09:44] local.INFO: Processing buffer {"connection_id":120520,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 03:09:44] local.INFO: IMEI packet received {"connection_id":120520,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 03:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":120520,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:10:05] local.INFO: TCP Data received {"connection_id":120521,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a7852e8012d4de000068472000079011b2f..."} 
[2026-07-01 03:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a7852e8012d4de000068472000079011b2f..."} 
[2026-07-01 03:10:05] local.INFO: Processing buffer {"connection_id":120521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a7852e8012d4de000068472000079011b2f..."} 
[2026-07-01 03:10:05] local.INFO: Packet analysis {"connection_id":120521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a78"} 
[2026-07-01 03:10:05] local.INFO: Extracted packet for processing {"connection_id":120521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a78"} 
[2026-07-01 03:10:05] local.INFO: GPS Element Parsed {"raw_longitude":760078336,"raw_latitude":109343232,"longitude_deg":76.0078336,"latitude_deg":10.9343232,"altitude":121,"angle":283,"satellites":47,"speed":52,"hex_longitude":"2d4de000","hex_latitude":"06847200","is_valid_coordinates":true} 
[2026-07-01 03:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411011584001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332682664895053824,"note":"Value kept but may cause issues"} 
[2026-07-01 03:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5621266419135463424,"note":"Value kept but may cause issues"} 
[2026-07-01 03:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782855521000,"timestamp_ms":1782855521000,"timestamp_seconds":1782855521,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a7852e8"} 
[2026-07-01 03:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 03:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-01 03:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":120521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":120521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":120521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:10:05] 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-01 03:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411011584001,"66":27343,"104":206,"80":60928,"24":52,"16":332682664895053824,"45":5621266419135463424},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,80,24,16,45]} 
[2026-07-01 03:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411011584001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:10:05] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-07-01 03:10:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-01 03:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332682664895053824,"km_value":332682664895053.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5621266419135463424,"description":"Unknown IO ID 45"} 
[2026-07-01 03:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411011584001,"power":27343,"unknown_104":206,"unknown_80":60928,"ignition":52,"odometer":null,"unknown_45":5621266419135463424}} 
[2026-07-01 03:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":120521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:10:05] local.INFO: GPS data processed {"connection_id":120521,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:10:05] local.INFO: Acknowledgment sent {"connection_id":120521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:10:20] local.INFO: TCP Data received {"connection_id":118765,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:10:20] local.INFO: Processing buffer {"connection_id":118765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:10:20] local.INFO: IMEI packet received {"connection_id":118765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 03:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":118765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:10:22] local.INFO: TCP Data received {"connection_id":118764,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 03:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118764,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 03:10:22] local.INFO: Processing buffer {"connection_id":118764,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 03:10:22] local.INFO: IMEI packet received {"connection_id":118764,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 03:10:22] local.INFO: IMEI acknowledgment sent {"connection_id":118764,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:10:23] local.INFO: TCP Data received {"connection_id":118765,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:10:23] local.INFO: Processing buffer {"connection_id":118765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:10:23] local.INFO: IMEI packet received {"connection_id":118765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:10:23] local.INFO: IMEI acknowledgment sent {"connection_id":118765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:10:27] local.INFO: TCP Data received {"connection_id":118765,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:10:27] local.INFO: Processing buffer {"connection_id":118765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:10:27] local.INFO: IMEI packet received {"connection_id":118765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":118765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:10:29] local.INFO: TCP Data received {"connection_id":118765,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a7852e8012d4de000068472000079011b2f..."} 
[2026-07-01 03:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a7852e8012d4de000068472000079011b2f..."} 
[2026-07-01 03:10:29] local.INFO: Processing buffer {"connection_id":118765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a7852e8012d4de000068472000079011b2f..."} 
[2026-07-01 03:10:29] local.INFO: Packet analysis {"connection_id":118765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a78"} 
[2026-07-01 03:10:29] local.INFO: Extracted packet for processing {"connection_id":118765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a78"} 
[2026-07-01 03:10:29] local.INFO: GPS Element Parsed {"raw_longitude":760078336,"raw_latitude":109343232,"longitude_deg":76.0078336,"latitude_deg":10.9343232,"altitude":121,"angle":283,"satellites":47,"speed":52,"hex_longitude":"2d4de000","hex_latitude":"06847200","is_valid_coordinates":true} 
[2026-07-01 03:10:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:10:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411013376001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:10:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332682664895053824,"note":"Value kept but may cause issues"} 
[2026-07-01 03:10:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5611485163695505408,"note":"Value kept but may cause issues"} 
[2026-07-01 03:10:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:10:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782855521000,"timestamp_ms":1782855521000,"timestamp_seconds":1782855521,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a7852e8"} 
[2026-07-01 03:10:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:10:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 03:10:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-01 03:10:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:10:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:10:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:10:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:10:29] local.INFO: Teltonika packet parsed successfully {"connection_id":118765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:10:29] local.INFO: Passing IMEI to GPS processor {"connection_id":118765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:10:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":118765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:10:29] 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-01 03:10:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:10:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:10:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411013376001,"66":27343,"104":206,"80":60928,"24":52,"16":332682664895053824,"45":5611485163695505408},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,80,24,16,45]} 
[2026-07-01 03:10:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:10:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:10:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411013376001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:10:29] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-07-01 03:10:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-01 03:10:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332682664895053824,"km_value":332682664895053.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:10:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5611485163695505408,"description":"Unknown IO ID 45"} 
[2026-07-01 03:10:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411013376001,"power":27343,"unknown_104":206,"unknown_80":60928,"ignition":52,"odometer":null,"unknown_45":5611485163695505408}} 
[2026-07-01 03:10:29] local.INFO: DEBUG: GPS processor result {"connection_id":118765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:10:29] local.INFO: GPS data processed {"connection_id":118765,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:10:29] local.INFO: Acknowledgment sent {"connection_id":118765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:11:25] local.INFO: TCP Data received {"connection_id":118765,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a799ef0012d4cb840068594e8006b00062f..."} 
[2026-07-01 03:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a799ef0012d4cb840068594e8006b00062f..."} 
[2026-07-01 03:11:25] local.INFO: Processing buffer {"connection_id":118765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a799ef0012d4cb840068594e8006b00062f..."} 
[2026-07-01 03:11:25] local.INFO: Packet analysis {"connection_id":118765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a79"} 
[2026-07-01 03:11:25] local.INFO: Extracted packet for processing {"connection_id":118765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a79"} 
[2026-07-01 03:11:25] local.INFO: GPS Element Parsed {"raw_longitude":760002624,"raw_latitude":109417704,"longitude_deg":76.0002624,"latitude_deg":10.9417704,"altitude":107,"angle":6,"satellites":47,"speed":41,"hex_longitude":"2d4cb840","hex_latitude":"068594e8","is_valid_coordinates":true} 
[2026-07-01 03:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:11:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411034112001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:11:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332688269827375104,"note":"Value kept but may cause issues"} 
[2026-07-01 03:11:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5528098201862955008,"note":"Value kept but may cause issues"} 
[2026-07-01 03:11:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:11:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782855606000,"timestamp_ms":1782855606000,"timestamp_seconds":1782855606,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a799ef0"} 
[2026-07-01 03:11:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:11: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-01 03:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-01 03:11:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:11:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:11:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:11:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:11:25] local.INFO: Teltonika packet parsed successfully {"connection_id":118765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:11:25] local.INFO: Passing IMEI to GPS processor {"connection_id":118765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:11:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":118765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:11:25] 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-01 03:11:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:11:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:11:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411034112001,"66":27234,"103":206,"80":60928,"24":41,"16":332688269827375104,"45":5528098201862955008},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,80,24,16,45]} 
[2026-07-01 03:11:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:11:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:11:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411034112001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:11:25] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-01 03:11:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-07-01 03:11:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332688269827375104,"km_value":332688269827375.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:11:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5528098201862955008,"description":"Unknown IO ID 45"} 
[2026-07-01 03:11:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411034112001,"power":27234,"unknown_103":206,"unknown_80":60928,"ignition":41,"odometer":null,"unknown_45":5528098201862955008}} 
[2026-07-01 03:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":118765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:11:25] local.INFO: GPS data processed {"connection_id":118765,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:11:25] local.INFO: Acknowledgment sent {"connection_id":118765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:11:34] local.INFO: TCP Data received {"connection_id":118766,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:11:34] local.INFO: Processing buffer {"connection_id":118766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:11:34] local.INFO: IMEI packet received {"connection_id":118766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 03:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":118766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:12:04] local.INFO: TCP Data received {"connection_id":118766,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:12:04] local.INFO: Processing buffer {"connection_id":118766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:12:04] local.INFO: IMEI packet received {"connection_id":118766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":118766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:12:04] local.INFO: TCP Data received {"connection_id":118766,"ip":"42.106.6.42","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 03:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118766,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 03:12:04] local.INFO: Processing buffer {"connection_id":118766,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 03:12:04] local.INFO: IMEI packet received {"connection_id":118766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":118766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:15:52] local.INFO: TCP Data received {"connection_id":119421,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 03:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119421,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 03:15:52] local.INFO: Processing buffer {"connection_id":119421,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 03:15:52] local.INFO: IMEI packet received {"connection_id":119421,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 03:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":119421,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:16:16] local.INFO: TCP Data received {"connection_id":118656,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 03:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118656,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 03:16:16] local.INFO: Processing buffer {"connection_id":118656,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 03:16:16] local.INFO: IMEI packet received {"connection_id":118656,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 03:16:16] local.INFO: IMEI acknowledgment sent {"connection_id":118656,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:17:05] local.INFO: TCP Data received {"connection_id":119422,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:17:05] local.INFO: Processing buffer {"connection_id":119422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:17:05] local.INFO: IMEI packet received {"connection_id":119422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 03:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":119422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:17:27] local.INFO: TCP Data received {"connection_id":118657,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:17:27] local.INFO: Processing buffer {"connection_id":118657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:17:27] local.INFO: IMEI packet received {"connection_id":118657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 03:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":118657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:17:29] local.INFO: TCP Data received {"connection_id":118657,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:17:29] local.INFO: Processing buffer {"connection_id":118657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:17:29] local.INFO: IMEI packet received {"connection_id":118657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":118657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:17:30] local.INFO: TCP Data received {"connection_id":118657,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a7efdf0012d4c4700068af9b0003b01152c..."} 
[2026-07-01 03:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a7efdf0012d4c4700068af9b0003b01152c..."} 
[2026-07-01 03:17:30] local.INFO: Processing buffer {"connection_id":118657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a7efdf0012d4c4700068af9b0003b01152c..."} 
[2026-07-01 03:17:30] local.INFO: Packet analysis {"connection_id":118657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a7e"} 
[2026-07-01 03:17:30] local.INFO: Extracted packet for processing {"connection_id":118657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a7e"} 
[2026-07-01 03:17:30] local.INFO: GPS Element Parsed {"raw_longitude":759973632,"raw_latitude":109771184,"longitude_deg":75.9973632,"latitude_deg":10.9771184,"altitude":59,"angle":277,"satellites":44,"speed":59,"hex_longitude":"2d4c4700","hex_latitude":"068af9b0","is_valid_coordinates":true} 
[2026-07-01 03:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411123456001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332710474808295424,"note":"Value kept but may cause issues"} 
[2026-07-01 03:17:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5507269053677541376,"note":"Value kept but may cause issues"} 
[2026-07-01 03:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782855958000,"timestamp_ms":1782855958000,"timestamp_seconds":1782855958,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a7efdf0"} 
[2026-07-01 03:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:17:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 03:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 03:17:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:17:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":118657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":118657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":118657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:17:30] 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-01 03:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411123456001,"66":27539,"187":206,"86":48896,"24":59,"16":332710474808295424,"45":5507269053677541376},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,86,24,16,45]} 
[2026-07-01 03:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411123456001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:17:30] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-01 03:17:30] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332710474808295424,"km_value":332710474808295.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:17:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5507269053677541376,"description":"Unknown IO ID 45"} 
[2026-07-01 03:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411123456001,"power":27539,"unknown_187":206,"unknown_86":48896,"ignition":59,"odometer":null,"unknown_45":5507269053677541376}} 
[2026-07-01 03:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":118657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:17:30] local.INFO: GPS data processed {"connection_id":118657,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:17:30] local.INFO: Acknowledgment sent {"connection_id":118657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:17:32] local.INFO: TCP Data received {"connection_id":118657,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a7f1560012d4c22c0068aff78003601172d..."} 
[2026-07-01 03:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a7f1560012d4c22c0068aff78003601172d..."} 
[2026-07-01 03:17:32] local.INFO: Processing buffer {"connection_id":118657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a7f1560012d4c22c0068aff78003601172d..."} 
[2026-07-01 03:17:32] local.INFO: Packet analysis {"connection_id":118657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a7f"} 
[2026-07-01 03:17:32] local.INFO: Extracted packet for processing {"connection_id":118657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a7f"} 
[2026-07-01 03:17:32] local.INFO: GPS Element Parsed {"raw_longitude":759964352,"raw_latitude":109772664,"longitude_deg":75.9964352,"latitude_deg":10.9772664,"altitude":54,"angle":279,"satellites":45,"speed":62,"hex_longitude":"2d4c22c0","hex_latitude":"068aff78","is_valid_coordinates":true} 
[2026-07-01 03:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411125248001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332710921484894208,"note":"Value kept but may cause issues"} 
[2026-07-01 03:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5496361898330402816,"note":"Value kept but may cause issues"} 
[2026-07-01 03:17:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782855964000,"timestamp_ms":1782855964000,"timestamp_seconds":1782855964,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a7f1560"} 
[2026-07-01 03:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:17:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 03:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-01 03:17:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:17:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":118657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":118657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":118657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:17:32] 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-01 03:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411125248001,"66":27213,"187":206,"86":48896,"24":62,"16":332710921484894208,"45":5496361898330402816},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,86,24,16,45]} 
[2026-07-01 03:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411125248001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:17:32] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-07-01 03:17:32] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332710921484894208,"km_value":332710921484894.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5496361898330402816,"description":"Unknown IO ID 45"} 
[2026-07-01 03:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411125248001,"power":27213,"unknown_187":206,"unknown_86":48896,"ignition":62,"odometer":null,"unknown_45":5496361898330402816}} 
[2026-07-01 03:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":118657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:17:32] local.INFO: GPS data processed {"connection_id":118657,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:17:32] local.INFO: Acknowledgment sent {"connection_id":118657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:18:04] local.INFO: TCP Data received {"connection_id":118657,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a8022e8012d4a8900068b5b88001001352f..."} 
[2026-07-01 03:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a8022e8012d4a8900068b5b88001001352f..."} 
[2026-07-01 03:18:04] local.INFO: Processing buffer {"connection_id":118657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a8022e8012d4a8900068b5b88001001352f..."} 
[2026-07-01 03:18:04] local.INFO: Packet analysis {"connection_id":118657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a80"} 
[2026-07-01 03:18:04] local.INFO: Extracted packet for processing {"connection_id":118657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a80"} 
[2026-07-01 03:18:04] local.INFO: GPS Element Parsed {"raw_longitude":759859456,"raw_latitude":109796232,"longitude_deg":75.9859456,"latitude_deg":10.9796232,"altitude":16,"angle":309,"satellites":47,"speed":43,"hex_longitude":"2d4a8900","hex_latitude":"068b5b88","is_valid_coordinates":true} 
[2026-07-01 03:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411142400001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332716092625518592,"note":"Value kept but may cause issues"} 
[2026-07-01 03:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5379127570535499776,"note":"Value kept but may cause issues"} 
[2026-07-01 03:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782856033000,"timestamp_ms":1782856033000,"timestamp_seconds":1782856033,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a8022e8"} 
[2026-07-01 03:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:18: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-01 03:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-01 03:18:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":118657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":118657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":118657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:18:04] 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-01 03:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411142400001,"66":27604,"91":206,"86":48896,"24":43,"16":332716092625518592,"45":5379127570535499776},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,86,24,16,45]} 
[2026-07-01 03:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411142400001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:18:04] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-01 03:18:04] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332716092625518592,"km_value":332716092625518.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5379127570535499776,"description":"Unknown IO ID 45"} 
[2026-07-01 03:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411142400001,"power":27604,"unknown_91":206,"unknown_86":48896,"ignition":43,"odometer":null,"unknown_45":5379127570535499776}} 
[2026-07-01 03:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":118657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:18:04] local.INFO: GPS data processed {"connection_id":118657,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:18:04] local.INFO: Acknowledgment sent {"connection_id":118657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:18:20] local.INFO: TCP Data received {"connection_id":119424,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:18:20] local.INFO: Processing buffer {"connection_id":119424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:18:20] local.INFO: IMEI packet received {"connection_id":119424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 03:18:20] local.INFO: IMEI acknowledgment sent {"connection_id":119424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:18:22] local.INFO: TCP Data received {"connection_id":119424,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:18:22] local.INFO: Processing buffer {"connection_id":119424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:18:22] local.INFO: IMEI packet received {"connection_id":119424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:18:22] local.INFO: IMEI acknowledgment sent {"connection_id":119424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:18:24] local.INFO: TCP Data received {"connection_id":119424,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:18:24] local.INFO: Processing buffer {"connection_id":119424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:18:24] local.INFO: IMEI packet received {"connection_id":119424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":119424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:18:25] local.INFO: TCP Data received {"connection_id":119424,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a8022e8012d4a8900068b5b88001001352f..."} 
[2026-07-01 03:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a8022e8012d4a8900068b5b88001001352f..."} 
[2026-07-01 03:18:25] local.INFO: Processing buffer {"connection_id":119424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a8022e8012d4a8900068b5b88001001352f..."} 
[2026-07-01 03:18:25] local.INFO: Packet analysis {"connection_id":119424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a80"} 
[2026-07-01 03:18:25] local.INFO: Extracted packet for processing {"connection_id":119424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a80"} 
[2026-07-01 03:18:25] local.INFO: GPS Element Parsed {"raw_longitude":759859456,"raw_latitude":109796232,"longitude_deg":75.9859456,"latitude_deg":10.9796232,"altitude":16,"angle":309,"satellites":47,"speed":43,"hex_longitude":"2d4a8900","hex_latitude":"068b5b88","is_valid_coordinates":true} 
[2026-07-01 03:18:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:18:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411144448001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:18:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332716092625518592,"note":"Value kept but may cause issues"} 
[2026-07-01 03:18:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5370824058723862528,"note":"Value kept but may cause issues"} 
[2026-07-01 03:18:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:18:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782856033000,"timestamp_ms":1782856033000,"timestamp_seconds":1782856033,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a8022e8"} 
[2026-07-01 03:18:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:18: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-01 03:18:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-01 03:18:25] 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-01 03:18:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:18:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:18:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:18:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:18:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:18:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:18:25] 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-01 03:18:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:18:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:18:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411144448001,"66":27604,"91":206,"86":48896,"24":43,"16":332716092625518592,"45":5370824058723862528},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,86,24,16,45]} 
[2026-07-01 03:18:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:18:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:18:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411144448001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:18:25] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-01 03:18:25] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:18:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332716092625518592,"km_value":332716092625518.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:18:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5370824058723862528,"description":"Unknown IO ID 45"} 
[2026-07-01 03:18:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411144448001,"power":27604,"unknown_91":206,"unknown_86":48896,"ignition":43,"odometer":null,"unknown_45":5370824058723862528}} 
[2026-07-01 03:18:25] local.INFO: DEBUG: GPS processor result {"connection_id":119424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:18:25] local.INFO: GPS data processed {"connection_id":119424,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:18:25] local.INFO: Acknowledgment sent {"connection_id":119424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:18:27] local.INFO: TCP Data received {"connection_id":119424,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a804228012d4a71c0068b7398001001412f..."} 
[2026-07-01 03:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a804228012d4a71c0068b7398001001412f..."} 
[2026-07-01 03:18:27] local.INFO: Processing buffer {"connection_id":119424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a804228012d4a71c0068b7398001001412f..."} 
[2026-07-01 03:18:27] local.INFO: Packet analysis {"connection_id":119424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a80"} 
[2026-07-01 03:18:27] local.INFO: Extracted packet for processing {"connection_id":119424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a80"} 
[2026-07-01 03:18:27] local.INFO: GPS Element Parsed {"raw_longitude":759853504,"raw_latitude":109802392,"longitude_deg":75.9853504,"latitude_deg":10.9802392,"altitude":16,"angle":321,"satellites":47,"speed":39,"hex_longitude":"2d4a71c0","hex_latitude":"068b7398","is_valid_coordinates":true} 
[2026-07-01 03: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-01 03:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411144448001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332716504942379008,"note":"Value kept but may cause issues"} 
[2026-07-01 03:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5370824058723862528,"note":"Value kept but may cause issues"} 
[2026-07-01 03:18:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782856041000,"timestamp_ms":1782856041000,"timestamp_seconds":1782856041,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a804228"} 
[2026-07-01 03: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-01 03:18: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-01 03: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-01 03:18:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03: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-01 03: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-01 03:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:18:27] 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-01 03:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411144448001,"66":27843,"91":206,"86":48896,"24":39,"16":332716504942379008,"45":5370824058723862528},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,86,24,16,45]} 
[2026-07-01 03:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411144448001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:18:27] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-01 03:18:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332716504942379008,"km_value":332716504942379.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5370824058723862528,"description":"Unknown IO ID 45"} 
[2026-07-01 03:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411144448001,"power":27843,"unknown_91":206,"unknown_86":48896,"ignition":39,"odometer":null,"unknown_45":5370824058723862528}} 
[2026-07-01 03:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":119424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:18:27] local.INFO: GPS data processed {"connection_id":119424,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:18:27] local.INFO: Acknowledgment sent {"connection_id":119424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:18:58] local.INFO: TCP Data received {"connection_id":119424,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a806938012d4a6080068b8a98000f014c2e..."} 
[2026-07-01 03:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a806938012d4a6080068b8a98000f014c2e..."} 
[2026-07-01 03:18:58] local.INFO: Processing buffer {"connection_id":119424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a806938012d4a6080068b8a98000f014c2e..."} 
[2026-07-01 03:18:58] local.INFO: Packet analysis {"connection_id":119424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a80"} 
[2026-07-01 03:18:58] local.INFO: Extracted packet for processing {"connection_id":119424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a80"} 
[2026-07-01 03:18:58] local.INFO: GPS Element Parsed {"raw_longitude":759849088,"raw_latitude":109808280,"longitude_deg":75.9849088,"latitude_deg":10.980828,"altitude":15,"angle":332,"satellites":46,"speed":25,"hex_longitude":"2d4a6080","hex_latitude":"068b8a98","is_valid_coordinates":true} 
[2026-07-01 03: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-01 03:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411146496001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332716857129697280,"note":"Value kept but may cause issues"} 
[2026-07-01 03:18:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5364279765516916736,"note":"Value kept but may cause issues"} 
[2026-07-01 03:18:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782856051000,"timestamp_ms":1782856051000,"timestamp_seconds":1782856051,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a806938"} 
[2026-07-01 03: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-01 03:18: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-01 03:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 03:18:58] 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-01 03: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-01 03: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-01 03:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:18:58] 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-01 03:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411146496001,"66":27745,"91":206,"86":48896,"24":25,"16":332716857129697280,"45":5364279765516916736},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,86,24,16,45]} 
[2026-07-01 03:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411146496001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:18:58] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-01 03:18:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332716857129697280,"km_value":332716857129697.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:18:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5364279765516916736,"description":"Unknown IO ID 45"} 
[2026-07-01 03:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411146496001,"power":27745,"unknown_91":206,"unknown_86":48896,"ignition":25,"odometer":null,"unknown_45":5364279765516916736}} 
[2026-07-01 03:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":119424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:18:58] local.INFO: GPS data processed {"connection_id":119424,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:18:58] local.INFO: Acknowledgment sent {"connection_id":119424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:19:22] local.INFO: TCP Data received {"connection_id":118773,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:19:22] local.INFO: Processing buffer {"connection_id":118773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:19:22] local.INFO: IMEI packet received {"connection_id":118773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 03:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":118773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:19:27] local.INFO: TCP Data received {"connection_id":118773,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:19:27] local.INFO: Processing buffer {"connection_id":118773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:19:27] local.INFO: IMEI packet received {"connection_id":118773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":118773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:19:28] local.INFO: TCP Data received {"connection_id":118773,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a809430012d4a5240068ba1e0000f013d2f..."} 
[2026-07-01 03:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a809430012d4a5240068ba1e0000f013d2f..."} 
[2026-07-01 03:19:28] local.INFO: Processing buffer {"connection_id":118773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a809430012d4a5240068ba1e0000f013d2f..."} 
[2026-07-01 03:19:28] local.INFO: Packet analysis {"connection_id":118773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a80"} 
[2026-07-01 03:19:28] local.INFO: Extracted packet for processing {"connection_id":118773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a80"} 
[2026-07-01 03:19:28] local.INFO: GPS Element Parsed {"raw_longitude":759845440,"raw_latitude":109814240,"longitude_deg":75.984544,"latitude_deg":10.981424,"altitude":15,"angle":317,"satellites":47,"speed":16,"hex_longitude":"2d4a5240","hex_latitude":"068ba1e0","is_valid_coordinates":true} 
[2026-07-01 03: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-01 03:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411149056001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717196432113664,"note":"Value kept but may cause issues"} 
[2026-07-01 03:19:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5359424322170165248,"note":"Value kept but may cause issues"} 
[2026-07-01 03:19:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782856062000,"timestamp_ms":1782856062000,"timestamp_seconds":1782856062,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a809430"} 
[2026-07-01 03: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-01 03:19:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 03: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 03:19:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03: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-01 03: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-01 03:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:19:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411149056001,"66":27571,"82":206,"86":48896,"24":16,"16":332717196432113664,"45":5359424322170165248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411149056001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:19:28] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:19:28] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717196432113664,"km_value":332717196432113.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:19:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5359424322170165248,"description":"Unknown IO ID 45"} 
[2026-07-01 03:19:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411149056001,"power":27571,"unknown_82":206,"unknown_86":48896,"ignition":16,"odometer":null,"unknown_45":5359424322170165248}} 
[2026-07-01 03:19:28] local.INFO: DEBUG: GPS processor result {"connection_id":118773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:19:28] local.INFO: GPS data processed {"connection_id":118773,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:19:28] local.INFO: Acknowledgment sent {"connection_id":118773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:20:00] local.INFO: TCP Data received {"connection_id":118773,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a80a3d0012d4a4f40068ba4c8000f01492e..."} 
[2026-07-01 03:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a80a3d0012d4a4f40068ba4c8000f01492e..."} 
[2026-07-01 03:20:00] local.INFO: Processing buffer {"connection_id":118773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a80a3d0012d4a4f40068ba4c8000f01492e..."} 
[2026-07-01 03:20:00] local.INFO: Packet analysis {"connection_id":118773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a80"} 
[2026-07-01 03:20:00] local.INFO: Extracted packet for processing {"connection_id":118773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a80"} 
[2026-07-01 03:20:00] local.INFO: GPS Element Parsed {"raw_longitude":759844672,"raw_latitude":109814984,"longitude_deg":75.9844672,"latitude_deg":10.9814984,"altitude":15,"angle":329,"satellites":46,"speed":5,"hex_longitude":"2d4a4f40","hex_latitude":"068ba4c8","is_valid_coordinates":true} 
[2026-07-01 03: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-01 03:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411151872001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717247971721216,"note":"Value kept but may cause issues"} 
[2026-07-01 03:20:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5355413303753564160,"note":"Value kept but may cause issues"} 
[2026-07-01 03:20:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782856066000,"timestamp_ms":1782856066000,"timestamp_seconds":1782856066,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a80a3d0"} 
[2026-07-01 03: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-01 03:20:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 03: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-01 03:20:00] 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-01 03: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-01 03: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-01 03:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":118773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":118773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":118773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:20:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411151872001,"66":27745,"82":206,"86":48896,"24":5,"16":332717247971721216,"45":5355413303753564160},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411151872001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:20:00] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:20:00] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717247971721216,"km_value":332717247971721.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:20:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5355413303753564160,"description":"Unknown IO ID 45"} 
[2026-07-01 03:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411151872001,"power":27745,"unknown_82":206,"unknown_86":48896,"ignition":5,"odometer":null,"unknown_45":5355413303753564160}} 
[2026-07-01 03:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":118773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:20:00] local.INFO: GPS data processed {"connection_id":118773,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:20:00] local.INFO: Acknowledgment sent {"connection_id":118773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:20:27] local.INFO: TCP Data received {"connection_id":119425,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:20:27] local.INFO: Processing buffer {"connection_id":119425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:20:27] local.INFO: IMEI packet received {"connection_id":119425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 03:20:27] local.INFO: IMEI acknowledgment sent {"connection_id":119425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:20:32] local.INFO: TCP Data received {"connection_id":119425,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:20:32] local.INFO: Processing buffer {"connection_id":119425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:20:32] local.INFO: IMEI packet received {"connection_id":119425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":119425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:20:33] local.INFO: TCP Data received {"connection_id":119425,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a80c310012d4a4f00068ba5e0000e01492f..."} 
[2026-07-01 03:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a80c310012d4a4f00068ba5e0000e01492f..."} 
[2026-07-01 03:20:33] local.INFO: Processing buffer {"connection_id":119425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a80c310012d4a4f00068ba5e0000e01492f..."} 
[2026-07-01 03:20:33] local.INFO: Packet analysis {"connection_id":119425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a80"} 
[2026-07-01 03:20:33] local.INFO: Extracted packet for processing {"connection_id":119425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a80"} 
[2026-07-01 03:20:33] local.INFO: GPS Element Parsed {"raw_longitude":759844608,"raw_latitude":109815264,"longitude_deg":75.9844608,"latitude_deg":10.9815264,"altitude":14,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4f00","hex_latitude":"068ba5e0","is_valid_coordinates":true} 
[2026-07-01 03:20:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411152896001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354568878823622656,"note":"Value kept but may cause issues"} 
[2026-07-01 03:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782856074000,"timestamp_ms":1782856074000,"timestamp_seconds":1782856074,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a80c310"} 
[2026-07-01 03:20:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:20:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 03:20:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 03:20:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:20:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:20:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":119425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":119425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":119425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411152896001,"66":27865,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354568878823622656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411152896001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:20:33] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:20:33] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354568878823622656,"description":"Unknown IO ID 45"} 
[2026-07-01 03:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411152896001,"power":27865,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354568878823622656}} 
[2026-07-01 03:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":119425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:20:33] local.INFO: GPS data processed {"connection_id":119425,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:20:33] local.INFO: Acknowledgment sent {"connection_id":119425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:20:37] local.INFO: TCP Data received {"connection_id":119425,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a80c310012d4a4f00068ba5e0000e01492f..."} 
[2026-07-01 03:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a80c310012d4a4f00068ba5e0000e01492f..."} 
[2026-07-01 03:20:37] local.INFO: Processing buffer {"connection_id":119425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a80c310012d4a4f00068ba5e0000e01492f..."} 
[2026-07-01 03:20:37] local.INFO: Packet analysis {"connection_id":119425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a80"} 
[2026-07-01 03:20:37] local.INFO: Extracted packet for processing {"connection_id":119425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a80"} 
[2026-07-01 03:20:37] local.INFO: GPS Element Parsed {"raw_longitude":759844608,"raw_latitude":109815264,"longitude_deg":75.9844608,"latitude_deg":10.9815264,"altitude":14,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4f00","hex_latitude":"068ba5e0","is_valid_coordinates":true} 
[2026-07-01 03:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411152896001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354568878823622656,"note":"Value kept but may cause issues"} 
[2026-07-01 03:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782856074000,"timestamp_ms":1782856074000,"timestamp_seconds":1782856074,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a80c310"} 
[2026-07-01 03:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 03:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 03:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":119425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":119425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":119425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411152896001,"66":27865,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354568878823622656},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411152896001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:20:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:20:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354568878823622656,"description":"Unknown IO ID 45"} 
[2026-07-01 03:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411152896001,"power":27865,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354568878823622656}} 
[2026-07-01 03:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":119425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:20:37] local.INFO: GPS data processed {"connection_id":119425,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:20:37] local.INFO: Acknowledgment sent {"connection_id":119425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:21:22] local.INFO: TCP Data received {"connection_id":118660,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:21:22] local.INFO: Processing buffer {"connection_id":118660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:21:22] local.INFO: IMEI packet received {"connection_id":118660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 03:21:22] local.INFO: IMEI acknowledgment sent {"connection_id":118660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:21:27] local.INFO: TCP Data received {"connection_id":118660,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:21:27] local.INFO: Processing buffer {"connection_id":118660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:21:27] local.INFO: IMEI packet received {"connection_id":118660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:21:27] local.INFO: IMEI acknowledgment sent {"connection_id":118660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:21:28] local.INFO: TCP Data received {"connection_id":118660,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a80c310012d4a4f00068ba5e0000e01492f..."} 
[2026-07-01 03:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a80c310012d4a4f00068ba5e0000e01492f..."} 
[2026-07-01 03:21:28] local.INFO: Processing buffer {"connection_id":118660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a80c310012d4a4f00068ba5e0000e01492f..."} 
[2026-07-01 03:21:28] local.INFO: Packet analysis {"connection_id":118660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a80"} 
[2026-07-01 03:21:28] local.INFO: Extracted packet for processing {"connection_id":118660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a80"} 
[2026-07-01 03:21:28] local.INFO: GPS Element Parsed {"raw_longitude":759844608,"raw_latitude":109815264,"longitude_deg":75.9844608,"latitude_deg":10.9815264,"altitude":14,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4f00","hex_latitude":"068ba5e0","is_valid_coordinates":true} 
[2026-07-01 03:21:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:21:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411152896001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:21:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:21:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354568878823622656,"note":"Value kept but may cause issues"} 
[2026-07-01 03:21:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:21:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782856074000,"timestamp_ms":1782856074000,"timestamp_seconds":1782856074,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a80c310"} 
[2026-07-01 03:21:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:21:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 03:21:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 03:21:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:21:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:21:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:21:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:21:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:21:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:21:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:21:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:21:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:21:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:21:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411152896001,"66":27865,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354568878823622656},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:21:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:21:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:21:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411152896001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:21:28] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:21:28] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:21:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:21:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354568878823622656,"description":"Unknown IO ID 45"} 
[2026-07-01 03:21:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411152896001,"power":27865,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354568878823622656}} 
[2026-07-01 03:21:28] local.INFO: DEBUG: GPS processor result {"connection_id":118660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:21:28] local.INFO: GPS data processed {"connection_id":118660,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:21:28] local.INFO: Acknowledgment sent {"connection_id":118660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:21:32] local.INFO: TCP Data received {"connection_id":118659,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 03:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118659,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 03:21:32] local.INFO: Processing buffer {"connection_id":118659,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 03:21:32] local.INFO: IMEI packet received {"connection_id":118659,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 03:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":118659,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:21:59] local.INFO: TCP Data received {"connection_id":118660,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a80c310012d4a4f00068ba5e0000e01492f..."} 
[2026-07-01 03:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a80c310012d4a4f00068ba5e0000e01492f..."} 
[2026-07-01 03:21:59] local.INFO: Processing buffer {"connection_id":118660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a80c310012d4a4f00068ba5e0000e01492f..."} 
[2026-07-01 03:21:59] local.INFO: Packet analysis {"connection_id":118660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a80"} 
[2026-07-01 03:21:59] local.INFO: Extracted packet for processing {"connection_id":118660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a80"} 
[2026-07-01 03:21:59] local.INFO: GPS Element Parsed {"raw_longitude":759844608,"raw_latitude":109815264,"longitude_deg":75.9844608,"latitude_deg":10.9815264,"altitude":14,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4f00","hex_latitude":"068ba5e0","is_valid_coordinates":true} 
[2026-07-01 03:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411152896001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:21:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354568878823622656,"note":"Value kept but may cause issues"} 
[2026-07-01 03:21:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782856074000,"timestamp_ms":1782856074000,"timestamp_seconds":1782856074,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a80c310"} 
[2026-07-01 03: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-01 03:21: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-01 03: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 03:21:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03: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-01 03: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-01 03:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:21:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411152896001,"66":27865,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354568878823622656},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411152896001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:21:59] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:21:59] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:21:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354568878823622656,"description":"Unknown IO ID 45"} 
[2026-07-01 03:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411152896001,"power":27865,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354568878823622656}} 
[2026-07-01 03:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":118660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:21:59] local.INFO: GPS data processed {"connection_id":118660,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:21:59] local.INFO: Acknowledgment sent {"connection_id":118660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:22:20] local.INFO: TCP Data received {"connection_id":120522,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 03:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120522,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 03:22:20] local.INFO: Processing buffer {"connection_id":120522,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 03:22:20] local.INFO: IMEI packet received {"connection_id":120522,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 03:22:20] local.INFO: IMEI acknowledgment sent {"connection_id":120522,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:22:22] local.INFO: TCP Data received {"connection_id":118661,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:22:22] local.INFO: Processing buffer {"connection_id":118661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:22:22] local.INFO: IMEI packet received {"connection_id":118661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 03:22:22] local.INFO: IMEI acknowledgment sent {"connection_id":118661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:22:27] local.INFO: TCP Data received {"connection_id":118661,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:22:27] local.INFO: Processing buffer {"connection_id":118661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:22:27] local.INFO: IMEI packet received {"connection_id":118661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":118661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:22:45] local.INFO: TCP Data received {"connection_id":118661,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a80c310012d4a4f00068ba5e0000e01492f..."} 
[2026-07-01 03:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a80c310012d4a4f00068ba5e0000e01492f..."} 
[2026-07-01 03:22:45] local.INFO: Processing buffer {"connection_id":118661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a80c310012d4a4f00068ba5e0000e01492f..."} 
[2026-07-01 03:22:45] local.INFO: Packet analysis {"connection_id":118661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a80"} 
[2026-07-01 03:22:45] local.INFO: Extracted packet for processing {"connection_id":118661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a80"} 
[2026-07-01 03:22:45] local.INFO: GPS Element Parsed {"raw_longitude":759844608,"raw_latitude":109815264,"longitude_deg":75.9844608,"latitude_deg":10.9815264,"altitude":14,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4f00","hex_latitude":"068ba5e0","is_valid_coordinates":true} 
[2026-07-01 03:22: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-01 03:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411152896001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:22:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354568878823622656,"note":"Value kept but may cause issues"} 
[2026-07-01 03:22:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782856074000,"timestamp_ms":1782856074000,"timestamp_seconds":1782856074,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a80c310"} 
[2026-07-01 03:22:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:22:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 03:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 03:22: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-01 03:22:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:22:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":118661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":118661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":118661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:22: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-01 03:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411152896001,"66":27865,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354568878823622656},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411152896001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:22:45] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:22:45] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:22:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354568878823622656,"description":"Unknown IO ID 45"} 
[2026-07-01 03:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411152896001,"power":27865,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354568878823622656}} 
[2026-07-01 03:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":118661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:22:46] local.INFO: GPS data processed {"connection_id":118661,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:22:46] local.INFO: Acknowledgment sent {"connection_id":118661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:23:27] local.INFO: TCP Data received {"connection_id":120523,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:23:27] local.INFO: Processing buffer {"connection_id":120523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:23:27] local.INFO: IMEI packet received {"connection_id":120523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 03:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":120523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:23:32] local.INFO: TCP Data received {"connection_id":120523,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:23:32] local.INFO: Processing buffer {"connection_id":120523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:23:32] local.INFO: IMEI packet received {"connection_id":120523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":120523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:23:33] local.INFO: TCP Data received {"connection_id":120523,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a80c310012d4a4f00068ba5e0000e01492f..."} 
[2026-07-01 03:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a80c310012d4a4f00068ba5e0000e01492f..."} 
[2026-07-01 03:23:33] local.INFO: Processing buffer {"connection_id":120523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a80c310012d4a4f00068ba5e0000e01492f..."} 
[2026-07-01 03:23:33] local.INFO: Packet analysis {"connection_id":120523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a80"} 
[2026-07-01 03:23:33] local.INFO: Extracted packet for processing {"connection_id":120523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a80"} 
[2026-07-01 03:23:33] local.INFO: GPS Element Parsed {"raw_longitude":759844608,"raw_latitude":109815264,"longitude_deg":75.9844608,"latitude_deg":10.9815264,"altitude":14,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4f00","hex_latitude":"068ba5e0","is_valid_coordinates":true} 
[2026-07-01 03:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411152896001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354568878823622656,"note":"Value kept but may cause issues"} 
[2026-07-01 03:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782856074000,"timestamp_ms":1782856074000,"timestamp_seconds":1782856074,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a80c310"} 
[2026-07-01 03: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-01 03:23:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 03: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 03:23:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03: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-01 03: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-01 03:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":120523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":120523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":120523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:23:33] local.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-01 03:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411152896001,"66":27865,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354568878823622656},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411152896001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:23:33] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:23:33] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354568878823622656,"description":"Unknown IO ID 45"} 
[2026-07-01 03:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411152896001,"power":27865,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354568878823622656}} 
[2026-07-01 03:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":120523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:23:33] local.INFO: GPS data processed {"connection_id":120523,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:23:33] local.INFO: Acknowledgment sent {"connection_id":120523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:23:37] local.INFO: TCP Data received {"connection_id":120523,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a80c310012d4a4f00068ba5e0000e01492f..."} 
[2026-07-01 03:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a80c310012d4a4f00068ba5e0000e01492f..."} 
[2026-07-01 03:23:37] local.INFO: Processing buffer {"connection_id":120523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a80c310012d4a4f00068ba5e0000e01492f..."} 
[2026-07-01 03:23:37] local.INFO: Packet analysis {"connection_id":120523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a80"} 
[2026-07-01 03:23:37] local.INFO: Extracted packet for processing {"connection_id":120523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a80"} 
[2026-07-01 03:23:37] local.INFO: GPS Element Parsed {"raw_longitude":759844608,"raw_latitude":109815264,"longitude_deg":75.9844608,"latitude_deg":10.9815264,"altitude":14,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4f00","hex_latitude":"068ba5e0","is_valid_coordinates":true} 
[2026-07-01 03:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411152896001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354568878823622656,"note":"Value kept but may cause issues"} 
[2026-07-01 03:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782856074000,"timestamp_ms":1782856074000,"timestamp_seconds":1782856074,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a80c310"} 
[2026-07-01 03: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-01 03:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 03: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 03:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03: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-01 03: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-01 03:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":120523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":120523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":120523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411152896001,"66":27865,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354568878823622656},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411152896001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:23:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:23:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354568878823622656,"description":"Unknown IO ID 45"} 
[2026-07-01 03:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411152896001,"power":27865,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354568878823622656}} 
[2026-07-01 03:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":120523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:23:37] local.INFO: GPS data processed {"connection_id":120523,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:23:37] local.INFO: Acknowledgment sent {"connection_id":120523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:24:22] local.INFO: TCP Data received {"connection_id":119428,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:24:22] local.INFO: Processing buffer {"connection_id":119428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:24:22] local.INFO: IMEI packet received {"connection_id":119428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 03:24:22] local.INFO: IMEI acknowledgment sent {"connection_id":119428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:24:27] local.INFO: TCP Data received {"connection_id":119428,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:24:27] local.INFO: Processing buffer {"connection_id":119428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:24:27] local.INFO: IMEI packet received {"connection_id":119428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":119428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:24:33] local.INFO: TCP Data received {"connection_id":119428,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a856e60012d4a4d80068ba5d8000e01492b..."} 
[2026-07-01 03:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a856e60012d4a4d80068ba5d8000e01492b..."} 
[2026-07-01 03:24:33] local.INFO: Processing buffer {"connection_id":119428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a856e60012d4a4d80068ba5d8000e01492b..."} 
[2026-07-01 03:24:33] local.INFO: Packet analysis {"connection_id":119428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a85"} 
[2026-07-01 03:24:33] local.INFO: Extracted packet for processing {"connection_id":119428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a85"} 
[2026-07-01 03:24:33] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":14,"angle":329,"satellites":43,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411154944001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354498510079516672,"note":"Value kept but may cause issues"} 
[2026-07-01 03:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782856380000,"timestamp_ms":1782856380000,"timestamp_seconds":1782856380,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a856e60"} 
[2026-07-01 03:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 03:24:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:24:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":119428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":119428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":119428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:24:33] local.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-01 03:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411154944001,"66":26267,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354498510079516672},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411154944001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:24:33] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:24:33] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354498510079516672,"description":"Unknown IO ID 45"} 
[2026-07-01 03:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411154944001,"power":26267,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354498510079516672}} 
[2026-07-01 03:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":119428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:24:33] local.INFO: GPS data processed {"connection_id":119428,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:24:33] local.INFO: Acknowledgment sent {"connection_id":119428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:25:04] local.INFO: TCP Data received {"connection_id":119428,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a856e60012d4a4d80068ba5d8000e01492b..."} 
[2026-07-01 03:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a856e60012d4a4d80068ba5d8000e01492b..."} 
[2026-07-01 03:25:04] local.INFO: Processing buffer {"connection_id":119428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a856e60012d4a4d80068ba5d8000e01492b..."} 
[2026-07-01 03:25:04] local.INFO: Packet analysis {"connection_id":119428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a85"} 
[2026-07-01 03:25:04] local.INFO: Extracted packet for processing {"connection_id":119428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a85"} 
[2026-07-01 03:25:04] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":14,"angle":329,"satellites":43,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03: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-01 03:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411154944001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354498510079516672,"note":"Value kept but may cause issues"} 
[2026-07-01 03:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782856380000,"timestamp_ms":1782856380000,"timestamp_seconds":1782856380,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a856e60"} 
[2026-07-01 03: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-01 03:25:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 03:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03: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-01 03: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-01 03:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":119428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":119428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":119428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:25:04] local.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-01 03:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411154944001,"66":26267,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354498510079516672},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411154944001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:25:04] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:25:04] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354498510079516672,"description":"Unknown IO ID 45"} 
[2026-07-01 03:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411154944001,"power":26267,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354498510079516672}} 
[2026-07-01 03:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":119428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:25:04] local.INFO: GPS data processed {"connection_id":119428,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:25:04] local.INFO: Acknowledgment sent {"connection_id":119428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:25:22] local.INFO: TCP Data received {"connection_id":118663,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:25:22] local.INFO: Processing buffer {"connection_id":118663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:25:22] local.INFO: IMEI packet received {"connection_id":118663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 03:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":118663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:25:27] local.INFO: TCP Data received {"connection_id":118663,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:25:27] local.INFO: Processing buffer {"connection_id":118663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:25:27] local.INFO: IMEI packet received {"connection_id":118663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:25:27] local.INFO: IMEI acknowledgment sent {"connection_id":118663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:25:29] local.INFO: TCP Data received {"connection_id":118663,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a856e60012d4a4d80068ba5d8000e01492b..."} 
[2026-07-01 03:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a856e60012d4a4d80068ba5d8000e01492b..."} 
[2026-07-01 03:25:29] local.INFO: Processing buffer {"connection_id":118663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a856e60012d4a4d80068ba5d8000e01492b..."} 
[2026-07-01 03:25:29] local.INFO: Packet analysis {"connection_id":118663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a85"} 
[2026-07-01 03:25:29] local.INFO: Extracted packet for processing {"connection_id":118663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a85"} 
[2026-07-01 03:25:29] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":14,"angle":329,"satellites":43,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03: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-01 03:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411154944001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:25:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354498510079516672,"note":"Value kept but may cause issues"} 
[2026-07-01 03:25:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782856380000,"timestamp_ms":1782856380000,"timestamp_seconds":1782856380,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a856e60"} 
[2026-07-01 03: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-01 03:25:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 03:25:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03: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-01 03: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-01 03:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":118663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":118663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":118663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:25:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411154944001,"66":26267,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354498510079516672},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411154944001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:25:29] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:25:29] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:25:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354498510079516672,"description":"Unknown IO ID 45"} 
[2026-07-01 03:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411154944001,"power":26267,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354498510079516672}} 
[2026-07-01 03:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":118663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:25:29] local.INFO: GPS data processed {"connection_id":118663,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:25:29] local.INFO: Acknowledgment sent {"connection_id":118663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:26:01] local.INFO: TCP Data received {"connection_id":118663,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a856e60012d4a4d80068ba5d8000e01492b..."} 
[2026-07-01 03:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a856e60012d4a4d80068ba5d8000e01492b..."} 
[2026-07-01 03:26:01] local.INFO: Processing buffer {"connection_id":118663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a856e60012d4a4d80068ba5d8000e01492b..."} 
[2026-07-01 03:26:01] local.INFO: Packet analysis {"connection_id":118663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a85"} 
[2026-07-01 03:26:01] local.INFO: Extracted packet for processing {"connection_id":118663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a85"} 
[2026-07-01 03:26:01] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":14,"angle":329,"satellites":43,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:26:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411154944001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:26:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:26:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354498510079516672,"note":"Value kept but may cause issues"} 
[2026-07-01 03:26:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:26:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782856380000,"timestamp_ms":1782856380000,"timestamp_seconds":1782856380,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a856e60"} 
[2026-07-01 03:26:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:26:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 03:26:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:26:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:26:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:26:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:26:01] local.INFO: Teltonika packet parsed successfully {"connection_id":118663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:26:01] local.INFO: Passing IMEI to GPS processor {"connection_id":118663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:26:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":118663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:26:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:26:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:26:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:26:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411154944001,"66":26267,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354498510079516672},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:26:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:26:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:26:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411154944001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:26:01] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:26:01] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:26:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:26:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354498510079516672,"description":"Unknown IO ID 45"} 
[2026-07-01 03:26:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411154944001,"power":26267,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354498510079516672}} 
[2026-07-01 03:26:01] local.INFO: DEBUG: GPS processor result {"connection_id":118663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:26:01] local.INFO: GPS data processed {"connection_id":118663,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:26:01] local.INFO: Acknowledgment sent {"connection_id":118663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:26:27] local.INFO: TCP Data received {"connection_id":119429,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:26:27] local.INFO: Processing buffer {"connection_id":119429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:26:27] local.INFO: IMEI packet received {"connection_id":119429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 03:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":119429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:26:32] local.INFO: TCP Data received {"connection_id":119429,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:26:32] local.INFO: Processing buffer {"connection_id":119429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:26:32] local.INFO: IMEI packet received {"connection_id":119429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":119429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:26:34] local.INFO: TCP Data received {"connection_id":119429,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a856e60012d4a4d80068ba5d8000e01492b..."} 
[2026-07-01 03:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a856e60012d4a4d80068ba5d8000e01492b..."} 
[2026-07-01 03:26:34] local.INFO: Processing buffer {"connection_id":119429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a856e60012d4a4d80068ba5d8000e01492b..."} 
[2026-07-01 03:26:34] local.INFO: Packet analysis {"connection_id":119429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a85"} 
[2026-07-01 03:26:34] local.INFO: Extracted packet for processing {"connection_id":119429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a85"} 
[2026-07-01 03:26:34] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":14,"angle":329,"satellites":43,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03: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-01 03:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411154944001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354498510079516672,"note":"Value kept but may cause issues"} 
[2026-07-01 03:26:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782856380000,"timestamp_ms":1782856380000,"timestamp_seconds":1782856380,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a856e60"} 
[2026-07-01 03: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-01 03:26:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 03:26:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03: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-01 03: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-01 03:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":119429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":119429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":119429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:26:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411154944001,"66":26267,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354498510079516672},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411154944001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:26:34] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:26:34] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354498510079516672,"description":"Unknown IO ID 45"} 
[2026-07-01 03:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411154944001,"power":26267,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354498510079516672}} 
[2026-07-01 03:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":119429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:26:34] local.INFO: GPS data processed {"connection_id":119429,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:26:34] local.INFO: Acknowledgment sent {"connection_id":119429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:26:37] local.INFO: TCP Data received {"connection_id":119429,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a856e60012d4a4d80068ba5d8000e01492b..."} 
[2026-07-01 03:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a856e60012d4a4d80068ba5d8000e01492b..."} 
[2026-07-01 03:26:37] local.INFO: Processing buffer {"connection_id":119429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a856e60012d4a4d80068ba5d8000e01492b..."} 
[2026-07-01 03:26:37] local.INFO: Packet analysis {"connection_id":119429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a85"} 
[2026-07-01 03:26:37] local.INFO: Extracted packet for processing {"connection_id":119429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a85"} 
[2026-07-01 03:26:37] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":14,"angle":329,"satellites":43,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411154944001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354498510079516672,"note":"Value kept but may cause issues"} 
[2026-07-01 03:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782856380000,"timestamp_ms":1782856380000,"timestamp_seconds":1782856380,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a856e60"} 
[2026-07-01 03:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 03:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":119429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":119429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":119429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411154944001,"66":26267,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354498510079516672},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411154944001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:26:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:26:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354498510079516672,"description":"Unknown IO ID 45"} 
[2026-07-01 03:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411154944001,"power":26267,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354498510079516672}} 
[2026-07-01 03:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":119429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:26:37] local.INFO: GPS data processed {"connection_id":119429,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:26:37] local.INFO: Acknowledgment sent {"connection_id":119429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:27:22] local.INFO: TCP Data received {"connection_id":119430,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:27:22] local.INFO: Processing buffer {"connection_id":119430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:27:22] local.INFO: IMEI packet received {"connection_id":119430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 03:27:22] local.INFO: IMEI acknowledgment sent {"connection_id":119430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:27:27] local.INFO: TCP Data received {"connection_id":119430,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:27:27] local.INFO: Processing buffer {"connection_id":119430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:27:27] local.INFO: IMEI packet received {"connection_id":119430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":119430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:27:29] local.INFO: TCP Data received {"connection_id":119430,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a856e60012d4a4d80068ba5d8000e01492b..."} 
[2026-07-01 03:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a856e60012d4a4d80068ba5d8000e01492b..."} 
[2026-07-01 03:27:29] local.INFO: Processing buffer {"connection_id":119430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a856e60012d4a4d80068ba5d8000e01492b..."} 
[2026-07-01 03:27:29] local.INFO: Packet analysis {"connection_id":119430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a85"} 
[2026-07-01 03:27:29] local.INFO: Extracted packet for processing {"connection_id":119430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a85"} 
[2026-07-01 03:27:29] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":14,"angle":329,"satellites":43,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:27:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411154944001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:27:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354498510079516672,"note":"Value kept but may cause issues"} 
[2026-07-01 03:27:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782856380000,"timestamp_ms":1782856380000,"timestamp_seconds":1782856380,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a856e60"} 
[2026-07-01 03:27:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:27:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 03:27:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:27:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:27:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":119430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":119430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":119430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:27:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411154944001,"66":26267,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354498510079516672},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411154944001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:27:29] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:27:29] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:27:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354498510079516672,"description":"Unknown IO ID 45"} 
[2026-07-01 03:27:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411154944001,"power":26267,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354498510079516672}} 
[2026-07-01 03:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":119430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:27:29] local.INFO: GPS data processed {"connection_id":119430,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:27:29] local.INFO: Acknowledgment sent {"connection_id":119430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:27:37] local.INFO: TCP Data received {"connection_id":120525,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 03:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120525,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 03:27:37] local.INFO: Processing buffer {"connection_id":120525,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 03:27:37] local.INFO: IMEI packet received {"connection_id":120525,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 03:27:37] local.INFO: IMEI acknowledgment sent {"connection_id":120525,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:28:01] local.INFO: TCP Data received {"connection_id":119430,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a856e60012d4a4d80068ba5d8000e01492b..."} 
[2026-07-01 03:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a856e60012d4a4d80068ba5d8000e01492b..."} 
[2026-07-01 03:28:01] local.INFO: Processing buffer {"connection_id":119430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a856e60012d4a4d80068ba5d8000e01492b..."} 
[2026-07-01 03:28:01] local.INFO: Packet analysis {"connection_id":119430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a85"} 
[2026-07-01 03:28:01] local.INFO: Extracted packet for processing {"connection_id":119430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a85"} 
[2026-07-01 03:28:01] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":14,"angle":329,"satellites":43,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411154944001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:28:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354498510079516672,"note":"Value kept but may cause issues"} 
[2026-07-01 03:28:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782856380000,"timestamp_ms":1782856380000,"timestamp_seconds":1782856380,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a856e60"} 
[2026-07-01 03:28:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:28:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 03:28:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:28:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:28:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":119430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":119430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":119430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:28:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411154944001,"66":26267,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354498510079516672},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411154944001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:28:01] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:28:01] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:28:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354498510079516672,"description":"Unknown IO ID 45"} 
[2026-07-01 03:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411154944001,"power":26267,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354498510079516672}} 
[2026-07-01 03:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":119430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:28:01] local.INFO: GPS data processed {"connection_id":119430,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:28:01] local.INFO: Acknowledgment sent {"connection_id":119430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:28:17] local.INFO: TCP Data received {"connection_id":120526,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 03:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120526,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 03:28:17] local.INFO: Processing buffer {"connection_id":120526,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 03:28:17] local.INFO: IMEI packet received {"connection_id":120526,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 03:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":120526,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:28:27] local.INFO: TCP Data received {"connection_id":120527,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:28:27] local.INFO: Processing buffer {"connection_id":120527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:28:27] local.INFO: IMEI packet received {"connection_id":120527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 03:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":120527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:28:32] local.INFO: TCP Data received {"connection_id":120527,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:28:32] local.INFO: Processing buffer {"connection_id":120527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:28:32] local.INFO: IMEI packet received {"connection_id":120527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":120527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:28:34] local.INFO: TCP Data received {"connection_id":120527,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a856e60012d4a4d80068ba5d8000e01492b..."} 
[2026-07-01 03:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a856e60012d4a4d80068ba5d8000e01492b..."} 
[2026-07-01 03:28:34] local.INFO: Processing buffer {"connection_id":120527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a856e60012d4a4d80068ba5d8000e01492b..."} 
[2026-07-01 03:28:34] local.INFO: Packet analysis {"connection_id":120527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a85"} 
[2026-07-01 03:28:34] local.INFO: Extracted packet for processing {"connection_id":120527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a85"} 
[2026-07-01 03:28:34] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":14,"angle":329,"satellites":43,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411154944001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354498510079516672,"note":"Value kept but may cause issues"} 
[2026-07-01 03:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782856380000,"timestamp_ms":1782856380000,"timestamp_seconds":1782856380,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a856e60"} 
[2026-07-01 03:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 03:28:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:28:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":120527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":120527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":120527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411154944001,"66":26267,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354498510079516672},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411154944001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:28:34] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:28:34] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354498510079516672,"description":"Unknown IO ID 45"} 
[2026-07-01 03:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411154944001,"power":26267,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354498510079516672}} 
[2026-07-01 03:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":120527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:28:34] local.INFO: GPS data processed {"connection_id":120527,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:28:34] local.INFO: Acknowledgment sent {"connection_id":120527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:28:37] local.INFO: TCP Data received {"connection_id":120527,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a856e60012d4a4d80068ba5d8000e01492b..."} 
[2026-07-01 03:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a856e60012d4a4d80068ba5d8000e01492b..."} 
[2026-07-01 03:28:37] local.INFO: Processing buffer {"connection_id":120527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a856e60012d4a4d80068ba5d8000e01492b..."} 
[2026-07-01 03:28:37] local.INFO: Packet analysis {"connection_id":120527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a85"} 
[2026-07-01 03:28:37] local.INFO: Extracted packet for processing {"connection_id":120527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a85"} 
[2026-07-01 03:28:37] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":14,"angle":329,"satellites":43,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03: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-01 03:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411154944001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354498510079516672,"note":"Value kept but may cause issues"} 
[2026-07-01 03:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782856380000,"timestamp_ms":1782856380000,"timestamp_seconds":1782856380,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a856e60"} 
[2026-07-01 03: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-01 03:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 03:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03: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-01 03: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-01 03:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":120527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":120527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":120527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411154944001,"66":26267,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354498510079516672},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411154944001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:28:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:28:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354498510079516672,"description":"Unknown IO ID 45"} 
[2026-07-01 03:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411154944001,"power":26267,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354498510079516672}} 
[2026-07-01 03:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":120527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:28:37] local.INFO: GPS data processed {"connection_id":120527,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:28:37] local.INFO: Acknowledgment sent {"connection_id":120527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:29:22] local.INFO: TCP Data received {"connection_id":118774,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:29:22] local.INFO: Processing buffer {"connection_id":118774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:29:22] local.INFO: IMEI packet received {"connection_id":118774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 03:29:22] local.INFO: IMEI acknowledgment sent {"connection_id":118774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:29:27] local.INFO: TCP Data received {"connection_id":118774,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:29:27] local.INFO: Processing buffer {"connection_id":118774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:29:27] local.INFO: IMEI packet received {"connection_id":118774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":118774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:29:29] local.INFO: TCP Data received {"connection_id":118774,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a8a0628012d4a4d80068ba5d8000e01492e..."} 
[2026-07-01 03:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a8a0628012d4a4d80068ba5d8000e01492e..."} 
[2026-07-01 03:29:29] local.INFO: Processing buffer {"connection_id":118774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a8a0628012d4a4d80068ba5d8000e01492e..."} 
[2026-07-01 03:29:29] local.INFO: Packet analysis {"connection_id":118774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a8a"} 
[2026-07-01 03:29:29] local.INFO: Extracted packet for processing {"connection_id":118774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a8a"} 
[2026-07-01 03:29:29] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":14,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03:29:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411233280001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:29:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:29:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782856681000,"timestamp_ms":1782856681000,"timestamp_seconds":1782856681,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a8a0628"} 
[2026-07-01 03:29:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:29:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03:29:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-01 03:29:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:29:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:29:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":118774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":118774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":118774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:29:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411233280001,"66":25973,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411233280001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:29:29] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:29:29] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:29:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411233280001,"power":25973,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":118774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:29:29] local.INFO: GPS data processed {"connection_id":118774,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:29:29] local.INFO: Acknowledgment sent {"connection_id":118774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:30:02] local.INFO: TCP Data received {"connection_id":118774,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a8a0628012d4a4d80068ba5d8000e01492e..."} 
[2026-07-01 03:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a8a0628012d4a4d80068ba5d8000e01492e..."} 
[2026-07-01 03:30:02] local.INFO: Processing buffer {"connection_id":118774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a8a0628012d4a4d80068ba5d8000e01492e..."} 
[2026-07-01 03:30:02] local.INFO: Packet analysis {"connection_id":118774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a8a"} 
[2026-07-01 03:30:02] local.INFO: Extracted packet for processing {"connection_id":118774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a8a"} 
[2026-07-01 03:30:02] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":14,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03: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-01 03:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411233280001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:30:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782856681000,"timestamp_ms":1782856681000,"timestamp_seconds":1782856681,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a8a0628"} 
[2026-07-01 03: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-01 03:30:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-01 03:30:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03: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-01 03: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-01 03:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":118774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":118774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":118774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:30:02] local.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-01 03:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411233280001,"66":25973,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411233280001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:30:02] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:30:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411233280001,"power":25973,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":118774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:30:02] local.INFO: GPS data processed {"connection_id":118774,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:30:02] local.INFO: Acknowledgment sent {"connection_id":118774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:30:22] local.INFO: TCP Data received {"connection_id":119431,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:30:22] local.INFO: Processing buffer {"connection_id":119431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:30:22] local.INFO: IMEI packet received {"connection_id":119431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 03:30:22] local.INFO: IMEI acknowledgment sent {"connection_id":119431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:30:27] local.INFO: TCP Data received {"connection_id":119431,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:30:27] local.INFO: Processing buffer {"connection_id":119431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:30:27] local.INFO: IMEI packet received {"connection_id":119431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":119431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:30:29] local.INFO: TCP Data received {"connection_id":119431,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a8a0628012d4a4d80068ba5d8000e01492e..."} 
[2026-07-01 03:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a8a0628012d4a4d80068ba5d8000e01492e..."} 
[2026-07-01 03:30:29] local.INFO: Processing buffer {"connection_id":119431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a8a0628012d4a4d80068ba5d8000e01492e..."} 
[2026-07-01 03:30:29] local.INFO: Packet analysis {"connection_id":119431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a8a"} 
[2026-07-01 03:30:29] local.INFO: Extracted packet for processing {"connection_id":119431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a8a"} 
[2026-07-01 03:30:29] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":14,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03: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-01 03:30:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411233280001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:30:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:30:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782856681000,"timestamp_ms":1782856681000,"timestamp_seconds":1782856681,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a8a0628"} 
[2026-07-01 03: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-01 03:30:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-01 03:30:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03: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-01 03: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-01 03:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":119431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":119431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":119431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:30:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411233280001,"66":25973,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411233280001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:30:29] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:30:29] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:30:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:30:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411233280001,"power":25973,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:30:29] local.INFO: DEBUG: GPS processor result {"connection_id":119431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:30:29] local.INFO: GPS data processed {"connection_id":119431,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:30:29] local.INFO: Acknowledgment sent {"connection_id":119431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:31:02] local.INFO: TCP Data received {"connection_id":119431,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a8a0628012d4a4d80068ba5d8000e01492e..."} 
[2026-07-01 03:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a8a0628012d4a4d80068ba5d8000e01492e..."} 
[2026-07-01 03:31:02] local.INFO: Processing buffer {"connection_id":119431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a8a0628012d4a4d80068ba5d8000e01492e..."} 
[2026-07-01 03:31:02] local.INFO: Packet analysis {"connection_id":119431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a8a"} 
[2026-07-01 03:31:02] local.INFO: Extracted packet for processing {"connection_id":119431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a8a"} 
[2026-07-01 03:31:02] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":14,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411233280001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:31:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:31:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782856681000,"timestamp_ms":1782856681000,"timestamp_seconds":1782856681,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a8a0628"} 
[2026-07-01 03:31:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:31:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-01 03:31:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:31:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:31:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":119431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":119431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":119431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:31:02] local.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-01 03:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411233280001,"66":25973,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411233280001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:31:02] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:31:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:31:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411233280001,"power":25973,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:31:02] local.INFO: DEBUG: GPS processor result {"connection_id":119431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:31:02] local.INFO: GPS data processed {"connection_id":119431,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:31:02] local.INFO: Acknowledgment sent {"connection_id":119431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:31:27] local.INFO: TCP Data received {"connection_id":118667,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:31:27] local.INFO: Processing buffer {"connection_id":118667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:31:27] local.INFO: IMEI packet received {"connection_id":118667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 03:31:27] local.INFO: IMEI acknowledgment sent {"connection_id":118667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:31:32] local.INFO: TCP Data received {"connection_id":118667,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:31:32] local.INFO: Processing buffer {"connection_id":118667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:31:32] local.INFO: IMEI packet received {"connection_id":118667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":118667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:31:34] local.INFO: TCP Data received {"connection_id":118667,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a8a0628012d4a4d80068ba5d8000e01492e..."} 
[2026-07-01 03:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a8a0628012d4a4d80068ba5d8000e01492e..."} 
[2026-07-01 03:31:34] local.INFO: Processing buffer {"connection_id":118667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a8a0628012d4a4d80068ba5d8000e01492e..."} 
[2026-07-01 03:31:34] local.INFO: Packet analysis {"connection_id":118667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a8a"} 
[2026-07-01 03:31:34] local.INFO: Extracted packet for processing {"connection_id":118667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a8a"} 
[2026-07-01 03:31:34] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":14,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411233280001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782856681000,"timestamp_ms":1782856681000,"timestamp_seconds":1782856681,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a8a0628"} 
[2026-07-01 03:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:31:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-01 03:31:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:31:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":118667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":118667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":118667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411233280001,"66":25973,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411233280001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:31:34] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:31:34] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411233280001,"power":25973,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":118667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:31:34] local.INFO: GPS data processed {"connection_id":118667,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:31:34] local.INFO: Acknowledgment sent {"connection_id":118667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:31:37] local.INFO: TCP Data received {"connection_id":118667,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a8a0628012d4a4d80068ba5d8000e01492e..."} 
[2026-07-01 03:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a8a0628012d4a4d80068ba5d8000e01492e..."} 
[2026-07-01 03:31:37] local.INFO: Processing buffer {"connection_id":118667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a8a0628012d4a4d80068ba5d8000e01492e..."} 
[2026-07-01 03:31:37] local.INFO: Packet analysis {"connection_id":118667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a8a"} 
[2026-07-01 03:31:37] local.INFO: Extracted packet for processing {"connection_id":118667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a8a"} 
[2026-07-01 03:31:37] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":14,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411233280001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782856681000,"timestamp_ms":1782856681000,"timestamp_seconds":1782856681,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a8a0628"} 
[2026-07-01 03:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-01 03:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":118667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":118667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":118667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411233280001,"66":25973,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411233280001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:31:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:31:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411233280001,"power":25973,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":118667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:31:37] local.INFO: GPS data processed {"connection_id":118667,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:31:37] local.INFO: Acknowledgment sent {"connection_id":118667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:32:22] local.INFO: TCP Data received {"connection_id":118776,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:32:22] local.INFO: Processing buffer {"connection_id":118776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:32:22] local.INFO: IMEI packet received {"connection_id":118776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 03:32:22] local.INFO: IMEI acknowledgment sent {"connection_id":118776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:32:27] local.INFO: TCP Data received {"connection_id":118776,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:32:27] local.INFO: Processing buffer {"connection_id":118776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:32:27] local.INFO: IMEI packet received {"connection_id":118776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":118776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:32:29] local.INFO: TCP Data received {"connection_id":118776,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a8a0628012d4a4d80068ba5d8000e01492e..."} 
[2026-07-01 03:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a8a0628012d4a4d80068ba5d8000e01492e..."} 
[2026-07-01 03:32:29] local.INFO: Processing buffer {"connection_id":118776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a8a0628012d4a4d80068ba5d8000e01492e..."} 
[2026-07-01 03:32:29] local.INFO: Packet analysis {"connection_id":118776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a8a"} 
[2026-07-01 03:32:29] local.INFO: Extracted packet for processing {"connection_id":118776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a8a"} 
[2026-07-01 03:32:29] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":14,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:32:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411233280001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:32:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:32:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782856681000,"timestamp_ms":1782856681000,"timestamp_seconds":1782856681,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a8a0628"} 
[2026-07-01 03:32:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:32:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-01 03:32:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:32:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:32:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":118776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":118776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":118776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:32:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:32:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411233280001,"66":25973,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:32:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:32:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:32:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411233280001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:32:29] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:32:29] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:32:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:32:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:32:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411233280001,"power":25973,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":118776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:32:29] local.INFO: GPS data processed {"connection_id":118776,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:32:29] local.INFO: Acknowledgment sent {"connection_id":118776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:33:02] local.INFO: TCP Data received {"connection_id":118776,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a8a0628012d4a4d80068ba5d8000e01492e..."} 
[2026-07-01 03:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a8a0628012d4a4d80068ba5d8000e01492e..."} 
[2026-07-01 03:33:02] local.INFO: Processing buffer {"connection_id":118776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a8a0628012d4a4d80068ba5d8000e01492e..."} 
[2026-07-01 03:33:02] local.INFO: Packet analysis {"connection_id":118776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a8a"} 
[2026-07-01 03:33:02] local.INFO: Extracted packet for processing {"connection_id":118776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a8a"} 
[2026-07-01 03:33:02] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":14,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411233280001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:33:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:33:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782856681000,"timestamp_ms":1782856681000,"timestamp_seconds":1782856681,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a8a0628"} 
[2026-07-01 03:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:33:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-01 03:33:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:33:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":118776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":118776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":118776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:33:02] local.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-01 03:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411233280001,"66":25973,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411233280001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:33:02] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:33:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:33:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411233280001,"power":25973,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:33:02] local.INFO: DEBUG: GPS processor result {"connection_id":118776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:33:02] local.INFO: GPS data processed {"connection_id":118776,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:33:02] local.INFO: Acknowledgment sent {"connection_id":118776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:33:27] local.INFO: TCP Data received {"connection_id":118669,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:33:27] local.INFO: Processing buffer {"connection_id":118669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:33:27] local.INFO: IMEI packet received {"connection_id":118669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 03:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":118669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:33:32] local.INFO: TCP Data received {"connection_id":118669,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:33:32] local.INFO: Processing buffer {"connection_id":118669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:33:32] local.INFO: IMEI packet received {"connection_id":118669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":118669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:33:34] local.INFO: TCP Data received {"connection_id":118669,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a8a0628012d4a4d80068ba5d8000e01492e..."} 
[2026-07-01 03:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a8a0628012d4a4d80068ba5d8000e01492e..."} 
[2026-07-01 03:33:34] local.INFO: Processing buffer {"connection_id":118669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a8a0628012d4a4d80068ba5d8000e01492e..."} 
[2026-07-01 03:33:34] local.INFO: Packet analysis {"connection_id":118669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a8a"} 
[2026-07-01 03:33:34] local.INFO: Extracted packet for processing {"connection_id":118669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a8a"} 
[2026-07-01 03:33:34] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":14,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03: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-01 03:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411233280001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782856681000,"timestamp_ms":1782856681000,"timestamp_seconds":1782856681,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a8a0628"} 
[2026-07-01 03: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-01 03:33:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-01 03:33:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03: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-01 03: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-01 03:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":118669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":118669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":118669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411233280001,"66":25973,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411233280001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:33:34] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:33:34] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411233280001,"power":25973,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":118669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:33:34] local.INFO: GPS data processed {"connection_id":118669,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:33:34] local.INFO: Acknowledgment sent {"connection_id":118669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:33:37] local.INFO: TCP Data received {"connection_id":118668,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 03:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118668,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 03:33:37] local.INFO: Processing buffer {"connection_id":118668,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 03:33:37] local.INFO: IMEI packet received {"connection_id":118668,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 03:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":118668,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:33:37] local.INFO: TCP Data received {"connection_id":118669,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a8a0628012d4a4d80068ba5d8000e01492e..."} 
[2026-07-01 03:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a8a0628012d4a4d80068ba5d8000e01492e..."} 
[2026-07-01 03:33:37] local.INFO: Processing buffer {"connection_id":118669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a8a0628012d4a4d80068ba5d8000e01492e..."} 
[2026-07-01 03:33:37] local.INFO: Packet analysis {"connection_id":118669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a8a"} 
[2026-07-01 03:33:37] local.INFO: Extracted packet for processing {"connection_id":118669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a8a"} 
[2026-07-01 03:33:37] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":14,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411233280001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782856681000,"timestamp_ms":1782856681000,"timestamp_seconds":1782856681,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a8a0628"} 
[2026-07-01 03:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-07-01 03:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":118669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":118669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":118669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411233280001,"66":25973,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411233280001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:33:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:33:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411233280001,"power":25973,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":118669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:33:37] local.INFO: GPS data processed {"connection_id":118669,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:33:37] local.INFO: Acknowledgment sent {"connection_id":118669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:34:16] local.INFO: TCP Data received {"connection_id":118777,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 03:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118777,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 03:34:16] local.INFO: Processing buffer {"connection_id":118777,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 03:34:16] local.INFO: IMEI packet received {"connection_id":118777,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 03:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":118777,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:34:22] local.INFO: TCP Data received {"connection_id":120529,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:34:22] local.INFO: Processing buffer {"connection_id":120529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:34:22] local.INFO: IMEI packet received {"connection_id":120529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 03:34:22] local.INFO: IMEI acknowledgment sent {"connection_id":120529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:34:27] local.INFO: TCP Data received {"connection_id":120529,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:34:27] local.INFO: Processing buffer {"connection_id":120529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:34:27] local.INFO: IMEI packet received {"connection_id":120529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":120529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:34:28] local.INFO: TCP Data received {"connection_id":120529,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a8e9df0012d4a4d80068ba5d8001001492b..."} 
[2026-07-01 03:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a8e9df0012d4a4d80068ba5d8001001492b..."} 
[2026-07-01 03:34:28] local.INFO: Processing buffer {"connection_id":120529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a8e9df0012d4a4d80068ba5d8001001492b..."} 
[2026-07-01 03:34:28] local.INFO: Packet analysis {"connection_id":120529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a8e"} 
[2026-07-01 03:34:28] local.INFO: Extracted packet for processing {"connection_id":120529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a8e"} 
[2026-07-01 03:34:28] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":16,"angle":329,"satellites":43,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03: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-01 03:34:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411310336001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:34:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:34:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:34:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:34:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782856982000,"timestamp_ms":1782856982000,"timestamp_seconds":1782856982,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a8e9df0"} 
[2026-07-01 03: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-01 03:34:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-01 03:34:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03: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-01 03: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-01 03:34:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:34:28] local.INFO: Teltonika packet parsed successfully {"connection_id":120529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:34:28] local.INFO: Passing IMEI to GPS processor {"connection_id":120529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:34:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":120529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:34:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:34:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:34:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:34:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411310336001,"66":25778,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:34:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:34:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:34:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411310336001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:34:28] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:34:28] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:34:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:34:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:34:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411310336001,"power":25778,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:34:28] local.INFO: DEBUG: GPS processor result {"connection_id":120529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:34:28] local.INFO: GPS data processed {"connection_id":120529,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:34:28] local.INFO: Acknowledgment sent {"connection_id":120529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:34:32] local.INFO: TCP Data received {"connection_id":120529,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a8e9df0012d4a4d80068ba5d8001001492b..."} 
[2026-07-01 03:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a8e9df0012d4a4d80068ba5d8001001492b..."} 
[2026-07-01 03:34:32] local.INFO: Processing buffer {"connection_id":120529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a8e9df0012d4a4d80068ba5d8001001492b..."} 
[2026-07-01 03:34:32] local.INFO: Packet analysis {"connection_id":120529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a8e"} 
[2026-07-01 03:34:32] local.INFO: Extracted packet for processing {"connection_id":120529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a8e"} 
[2026-07-01 03:34:32] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":16,"angle":329,"satellites":43,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411310336001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:34:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782856982000,"timestamp_ms":1782856982000,"timestamp_seconds":1782856982,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a8e9df0"} 
[2026-07-01 03:34:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:34:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-01 03:34:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:34:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:34:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":120529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":120529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":120529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:34:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411310336001,"66":25778,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411310336001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:34:32] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:34:32] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411310336001,"power":25778,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":120529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:34:32] local.INFO: GPS data processed {"connection_id":120529,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:34:32] local.INFO: Acknowledgment sent {"connection_id":120529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:35:04] local.INFO: TCP Data received {"connection_id":120529,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a8e9df0012d4a4d80068ba5d8001001492b..."} 
[2026-07-01 03:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a8e9df0012d4a4d80068ba5d8001001492b..."} 
[2026-07-01 03:35:05] local.INFO: Processing buffer {"connection_id":120529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a8e9df0012d4a4d80068ba5d8001001492b..."} 
[2026-07-01 03:35:05] local.INFO: Packet analysis {"connection_id":120529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a8e"} 
[2026-07-01 03:35:05] local.INFO: Extracted packet for processing {"connection_id":120529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a8e"} 
[2026-07-01 03:35:05] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":16,"angle":329,"satellites":43,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411310336001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782856982000,"timestamp_ms":1782856982000,"timestamp_seconds":1782856982,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a8e9df0"} 
[2026-07-01 03:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-01 03:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":120529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":120529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":120529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411310336001,"66":25778,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411310336001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:35:05] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:35:05] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411310336001,"power":25778,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":120529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:35:05] local.INFO: GPS data processed {"connection_id":120529,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:35:05] local.INFO: Acknowledgment sent {"connection_id":120529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:35:22] local.INFO: TCP Data received {"connection_id":118671,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:35:22] local.INFO: Processing buffer {"connection_id":118671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:35:22] local.INFO: IMEI packet received {"connection_id":118671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 03:35:22] local.INFO: IMEI acknowledgment sent {"connection_id":118671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:35:27] local.INFO: TCP Data received {"connection_id":118671,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:35:27] local.INFO: Processing buffer {"connection_id":118671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:35:27] local.INFO: IMEI packet received {"connection_id":118671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":118671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:35:29] local.INFO: TCP Data received {"connection_id":118671,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a8e9df0012d4a4d80068ba5d8001001492b..."} 
[2026-07-01 03:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a8e9df0012d4a4d80068ba5d8001001492b..."} 
[2026-07-01 03:35:29] local.INFO: Processing buffer {"connection_id":118671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a8e9df0012d4a4d80068ba5d8001001492b..."} 
[2026-07-01 03:35:29] local.INFO: Packet analysis {"connection_id":118671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a8e"} 
[2026-07-01 03:35:29] local.INFO: Extracted packet for processing {"connection_id":118671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a8e"} 
[2026-07-01 03:35:29] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":16,"angle":329,"satellites":43,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03:35:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:35:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411310336001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:35:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:35:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:35:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:35:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782856982000,"timestamp_ms":1782856982000,"timestamp_seconds":1782856982,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a8e9df0"} 
[2026-07-01 03:35:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:35:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03:35:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-01 03:35:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:35:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:35:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:35:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:35:29] local.INFO: Teltonika packet parsed successfully {"connection_id":118671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:35:29] local.INFO: Passing IMEI to GPS processor {"connection_id":118671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:35:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":118671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:35:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:35:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:35:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:35:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411310336001,"66":25778,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:35:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:35:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:35:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411310336001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:35:29] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:35:29] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:35:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:35:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:35:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411310336001,"power":25778,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:35:29] local.INFO: DEBUG: GPS processor result {"connection_id":118671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:35:29] local.INFO: GPS data processed {"connection_id":118671,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:35:29] local.INFO: Acknowledgment sent {"connection_id":118671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:36:02] local.INFO: TCP Data received {"connection_id":118671,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a8e9df0012d4a4d80068ba5d8001001492b..."} 
[2026-07-01 03:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a8e9df0012d4a4d80068ba5d8001001492b..."} 
[2026-07-01 03:36:02] local.INFO: Processing buffer {"connection_id":118671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a8e9df0012d4a4d80068ba5d8001001492b..."} 
[2026-07-01 03:36:02] local.INFO: Packet analysis {"connection_id":118671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a8e"} 
[2026-07-01 03:36:02] local.INFO: Extracted packet for processing {"connection_id":118671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a8e"} 
[2026-07-01 03:36:02] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":16,"angle":329,"satellites":43,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411310336001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:36:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:36:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782856982000,"timestamp_ms":1782856982000,"timestamp_seconds":1782856982,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a8e9df0"} 
[2026-07-01 03:36:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:36:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-01 03:36:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:36:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:36:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":118671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":118671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":118671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:36:02] local.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-01 03:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411310336001,"66":25778,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411310336001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:36:02] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:36:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:36:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:36:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411310336001,"power":25778,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:36:02] local.INFO: DEBUG: GPS processor result {"connection_id":118671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:36:02] local.INFO: GPS data processed {"connection_id":118671,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:36:02] local.INFO: Acknowledgment sent {"connection_id":118671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:36:22] local.INFO: TCP Data received {"connection_id":118779,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:36:22] local.INFO: Processing buffer {"connection_id":118779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:36:22] local.INFO: IMEI packet received {"connection_id":118779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 03:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":118779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:36:27] local.INFO: TCP Data received {"connection_id":118779,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:36:27] local.INFO: Processing buffer {"connection_id":118779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:36:27] local.INFO: IMEI packet received {"connection_id":118779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":118779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:36:28] local.INFO: TCP Data received {"connection_id":118779,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a8e9df0012d4a4d80068ba5d8001001492b..."} 
[2026-07-01 03:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a8e9df0012d4a4d80068ba5d8001001492b..."} 
[2026-07-01 03:36:28] local.INFO: Processing buffer {"connection_id":118779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a8e9df0012d4a4d80068ba5d8001001492b..."} 
[2026-07-01 03:36:28] local.INFO: Packet analysis {"connection_id":118779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a8e"} 
[2026-07-01 03:36:28] local.INFO: Extracted packet for processing {"connection_id":118779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a8e"} 
[2026-07-01 03:36:28] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":16,"angle":329,"satellites":43,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03: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-01 03:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411310336001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:36:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:36:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782856982000,"timestamp_ms":1782856982000,"timestamp_seconds":1782856982,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a8e9df0"} 
[2026-07-01 03: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-01 03:36:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-01 03:36:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03: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-01 03: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-01 03:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:36:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411310336001,"66":25778,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411310336001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:36:28] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:36:28] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:36:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411310336001,"power":25778,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":118779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:36:28] local.INFO: GPS data processed {"connection_id":118779,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:36:28] local.INFO: Acknowledgment sent {"connection_id":118779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:37:01] local.INFO: TCP Data received {"connection_id":118779,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a8e9df0012d4a4d80068ba5d8001001492b..."} 
[2026-07-01 03:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a8e9df0012d4a4d80068ba5d8001001492b..."} 
[2026-07-01 03:37:01] local.INFO: Processing buffer {"connection_id":118779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a8e9df0012d4a4d80068ba5d8001001492b..."} 
[2026-07-01 03:37:01] local.INFO: Packet analysis {"connection_id":118779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a8e"} 
[2026-07-01 03:37:01] local.INFO: Extracted packet for processing {"connection_id":118779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a8e"} 
[2026-07-01 03:37:01] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":16,"angle":329,"satellites":43,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411310336001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:37:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782856982000,"timestamp_ms":1782856982000,"timestamp_seconds":1782856982,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a8e9df0"} 
[2026-07-01 03:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:37:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-01 03:37:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:37:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":118779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":118779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":118779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:37:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411310336001,"66":25778,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411310336001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:37:01] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:37:01] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411310336001,"power":25778,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":118779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:37:01] local.INFO: GPS data processed {"connection_id":118779,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:37:01] local.INFO: Acknowledgment sent {"connection_id":118779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:37:27] local.INFO: TCP Data received {"connection_id":118780,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:37:27] local.INFO: Processing buffer {"connection_id":118780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:37:27] local.INFO: IMEI packet received {"connection_id":118780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 03:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":118780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:37:32] local.INFO: TCP Data received {"connection_id":118780,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:37:32] local.INFO: Processing buffer {"connection_id":118780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:37:32] local.INFO: IMEI packet received {"connection_id":118780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":118780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:37:34] local.INFO: TCP Data received {"connection_id":118780,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a8e9df0012d4a4d80068ba5d8001001492b..."} 
[2026-07-01 03:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a8e9df0012d4a4d80068ba5d8001001492b..."} 
[2026-07-01 03:37:34] local.INFO: Processing buffer {"connection_id":118780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a8e9df0012d4a4d80068ba5d8001001492b..."} 
[2026-07-01 03:37:34] local.INFO: Packet analysis {"connection_id":118780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a8e"} 
[2026-07-01 03:37:34] local.INFO: Extracted packet for processing {"connection_id":118780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a8e"} 
[2026-07-01 03:37:34] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":16,"angle":329,"satellites":43,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411310336001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782856982000,"timestamp_ms":1782856982000,"timestamp_seconds":1782856982,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a8e9df0"} 
[2026-07-01 03:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-01 03:37:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:37:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":118780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":118780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":118780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411310336001,"66":25778,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411310336001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:37:34] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:37:34] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411310336001,"power":25778,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":118780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:37:34] local.INFO: GPS data processed {"connection_id":118780,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:37:34] local.INFO: Acknowledgment sent {"connection_id":118780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:37:37] local.INFO: TCP Data received {"connection_id":118780,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a8e9df0012d4a4d80068ba5d8001001492b..."} 
[2026-07-01 03:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a8e9df0012d4a4d80068ba5d8001001492b..."} 
[2026-07-01 03:37:37] local.INFO: Processing buffer {"connection_id":118780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a8e9df0012d4a4d80068ba5d8001001492b..."} 
[2026-07-01 03:37:37] local.INFO: Packet analysis {"connection_id":118780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a8e"} 
[2026-07-01 03:37:37] local.INFO: Extracted packet for processing {"connection_id":118780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a8e"} 
[2026-07-01 03:37:37] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":16,"angle":329,"satellites":43,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411310336001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782856982000,"timestamp_ms":1782856982000,"timestamp_seconds":1782856982,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a8e9df0"} 
[2026-07-01 03:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-01 03:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":118780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":118780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":118780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411310336001,"66":25778,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411310336001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:37:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:37:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411310336001,"power":25778,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":118780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:37:37] local.INFO: GPS data processed {"connection_id":118780,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:37:37] local.INFO: Acknowledgment sent {"connection_id":118780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:38:22] local.INFO: TCP Data received {"connection_id":120531,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:38:22] local.INFO: Processing buffer {"connection_id":120531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:38:22] local.INFO: IMEI packet received {"connection_id":120531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 03:38:22] local.INFO: IMEI acknowledgment sent {"connection_id":120531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:38:27] local.INFO: TCP Data received {"connection_id":120531,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:38:27] local.INFO: Processing buffer {"connection_id":120531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:38:27] local.INFO: IMEI packet received {"connection_id":120531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:38:27] local.INFO: IMEI acknowledgment sent {"connection_id":120531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:38:31] local.INFO: TCP Data received {"connection_id":120531,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a8e9df0012d4a4d80068ba5d8001001492b..."} 
[2026-07-01 03:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a8e9df0012d4a4d80068ba5d8001001492b..."} 
[2026-07-01 03:38:31] local.INFO: Processing buffer {"connection_id":120531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a8e9df0012d4a4d80068ba5d8001001492b..."} 
[2026-07-01 03:38:31] local.INFO: Packet analysis {"connection_id":120531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a8e"} 
[2026-07-01 03:38:31] local.INFO: Extracted packet for processing {"connection_id":120531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a8e"} 
[2026-07-01 03:38:31] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":16,"angle":329,"satellites":43,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411310336001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:38:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782856982000,"timestamp_ms":1782856982000,"timestamp_seconds":1782856982,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a8e9df0"} 
[2026-07-01 03:38:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:38:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-01 03:38:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:38:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:38:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":120531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":120531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":120531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:38:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411310336001,"66":25778,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411310336001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:38:31] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:38:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411310336001,"power":25778,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":120531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:38:31] local.INFO: GPS data processed {"connection_id":120531,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:38:31] local.INFO: Acknowledgment sent {"connection_id":120531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:39:02] local.INFO: TCP Data received {"connection_id":120531,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a9335b8012d4a4d80068ba5d80011014921..."} 
[2026-07-01 03:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a9335b8012d4a4d80068ba5d80011014921..."} 
[2026-07-01 03:39:02] local.INFO: Processing buffer {"connection_id":120531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a9335b8012d4a4d80068ba5d80011014921..."} 
[2026-07-01 03:39:02] local.INFO: Packet analysis {"connection_id":120531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a93"} 
[2026-07-01 03:39:02] local.INFO: Extracted packet for processing {"connection_id":120531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a93"} 
[2026-07-01 03:39:02] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":33,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411387392001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:39:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782857283000,"timestamp_ms":1782857283000,"timestamp_seconds":1782857283,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a9335b8"} 
[2026-07-01 03:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:39:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-01 03:39:02] 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-01 03:39:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":120531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":120531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":120531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:39:02] local.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-01 03:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411387392001,"66":25756,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411387392001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:39:02] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:39:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411387392001,"power":25756,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":120531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:39:02] local.INFO: GPS data processed {"connection_id":120531,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:39:02] local.INFO: Acknowledgment sent {"connection_id":120531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:39:22] local.INFO: TCP Data received {"connection_id":118781,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:39:22] local.INFO: Processing buffer {"connection_id":118781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:39:22] local.INFO: IMEI packet received {"connection_id":118781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 03:39:22] local.INFO: IMEI acknowledgment sent {"connection_id":118781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:39:27] local.INFO: TCP Data received {"connection_id":118781,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:39:27] local.INFO: Processing buffer {"connection_id":118781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:39:27] local.INFO: IMEI packet received {"connection_id":118781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":118781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:39:28] local.INFO: TCP Data received {"connection_id":118781,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a9335b8012d4a4d80068ba5d80011014921..."} 
[2026-07-01 03:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a9335b8012d4a4d80068ba5d80011014921..."} 
[2026-07-01 03:39:28] local.INFO: Processing buffer {"connection_id":118781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a9335b8012d4a4d80068ba5d80011014921..."} 
[2026-07-01 03:39:28] local.INFO: Packet analysis {"connection_id":118781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a93"} 
[2026-07-01 03:39:28] local.INFO: Extracted packet for processing {"connection_id":118781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a93"} 
[2026-07-01 03:39:28] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":33,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03: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-01 03:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411387392001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:39:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:39:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782857283000,"timestamp_ms":1782857283000,"timestamp_seconds":1782857283,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a9335b8"} 
[2026-07-01 03: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-01 03:39:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-01 03:39:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03: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-01 03: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-01 03:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:39:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411387392001,"66":25756,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411387392001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:39:28] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:39:28] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:39:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411387392001,"power":25756,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":118781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:39:28] local.INFO: GPS data processed {"connection_id":118781,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:39:28] local.INFO: Acknowledgment sent {"connection_id":118781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:39:32] local.INFO: TCP Data received {"connection_id":118673,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 03:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118673,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 03:39:32] local.INFO: Processing buffer {"connection_id":118673,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 03:39:32] local.INFO: IMEI packet received {"connection_id":118673,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 03:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":118673,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:39:59] local.INFO: TCP Data received {"connection_id":118781,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a9335b8012d4a4d80068ba5d80011014921..."} 
[2026-07-01 03:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a9335b8012d4a4d80068ba5d80011014921..."} 
[2026-07-01 03:39:59] local.INFO: Processing buffer {"connection_id":118781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a9335b8012d4a4d80068ba5d80011014921..."} 
[2026-07-01 03:39:59] local.INFO: Packet analysis {"connection_id":118781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a93"} 
[2026-07-01 03:39:59] local.INFO: Extracted packet for processing {"connection_id":118781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a93"} 
[2026-07-01 03:39:59] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":33,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03: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-01 03:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411387392001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:39:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782857283000,"timestamp_ms":1782857283000,"timestamp_seconds":1782857283,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a9335b8"} 
[2026-07-01 03: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-01 03:39:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-01 03:39:59] 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-01 03: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-01 03: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-01 03:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:39:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411387392001,"66":25756,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411387392001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:39:59] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:39:59] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411387392001,"power":25756,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":118781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:39:59] local.INFO: GPS data processed {"connection_id":118781,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:39:59] local.INFO: Acknowledgment sent {"connection_id":118781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:40:17] local.INFO: TCP Data received {"connection_id":118674,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 03:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118674,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 03:40:17] local.INFO: Processing buffer {"connection_id":118674,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 03:40:17] local.INFO: IMEI packet received {"connection_id":118674,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 03:40:17] local.INFO: IMEI acknowledgment sent {"connection_id":118674,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:40:27] local.INFO: TCP Data received {"connection_id":118675,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:40:27] local.INFO: Processing buffer {"connection_id":118675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:40:27] local.INFO: IMEI packet received {"connection_id":118675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 03:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":118675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:40:32] local.INFO: TCP Data received {"connection_id":118675,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:40:32] local.INFO: Processing buffer {"connection_id":118675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:40:32] local.INFO: IMEI packet received {"connection_id":118675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":118675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:40:33] local.INFO: TCP Data received {"connection_id":118675,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a9335b8012d4a4d80068ba5d80011014921..."} 
[2026-07-01 03:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a9335b8012d4a4d80068ba5d80011014921..."} 
[2026-07-01 03:40:33] local.INFO: Processing buffer {"connection_id":118675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a9335b8012d4a4d80068ba5d80011014921..."} 
[2026-07-01 03:40:33] local.INFO: Packet analysis {"connection_id":118675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a93"} 
[2026-07-01 03:40:33] local.INFO: Extracted packet for processing {"connection_id":118675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a93"} 
[2026-07-01 03:40:33] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":33,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411387392001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782857283000,"timestamp_ms":1782857283000,"timestamp_seconds":1782857283,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a9335b8"} 
[2026-07-01 03:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:40:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-01 03:40:33] 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-01 03:40:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":118675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":118675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":118675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:40:33] local.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-01 03:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411387392001,"66":25756,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411387392001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:40:33] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:40:33] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411387392001,"power":25756,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":118675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:40:33] local.INFO: GPS data processed {"connection_id":118675,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:40:33] local.INFO: Acknowledgment sent {"connection_id":118675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:41:04] local.INFO: TCP Data received {"connection_id":118675,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a9335b8012d4a4d80068ba5d80011014921..."} 
[2026-07-01 03:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a9335b8012d4a4d80068ba5d80011014921..."} 
[2026-07-01 03:41:04] local.INFO: Processing buffer {"connection_id":118675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a9335b8012d4a4d80068ba5d80011014921..."} 
[2026-07-01 03:41:04] local.INFO: Packet analysis {"connection_id":118675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a93"} 
[2026-07-01 03:41:04] local.INFO: Extracted packet for processing {"connection_id":118675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a93"} 
[2026-07-01 03:41:04] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":33,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03: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-01 03:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411387392001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782857283000,"timestamp_ms":1782857283000,"timestamp_seconds":1782857283,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a9335b8"} 
[2026-07-01 03: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-01 03:41:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-01 03:41:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03: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-01 03: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-01 03:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":118675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":118675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":118675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:41:04] local.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-01 03:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411387392001,"66":25756,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411387392001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:41:04] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:41:04] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411387392001,"power":25756,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":118675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:41:04] local.INFO: GPS data processed {"connection_id":118675,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:41:04] local.INFO: Acknowledgment sent {"connection_id":118675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:41:22] local.INFO: TCP Data received {"connection_id":119432,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:41:22] local.INFO: Processing buffer {"connection_id":119432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:41:22] local.INFO: IMEI packet received {"connection_id":119432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 03:41:22] local.INFO: IMEI acknowledgment sent {"connection_id":119432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:41:27] local.INFO: TCP Data received {"connection_id":119432,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:41:27] local.INFO: Processing buffer {"connection_id":119432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:41:27] local.INFO: IMEI packet received {"connection_id":119432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":119432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:41:28] local.INFO: TCP Data received {"connection_id":119432,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a9335b8012d4a4d80068ba5d80011014921..."} 
[2026-07-01 03:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a9335b8012d4a4d80068ba5d80011014921..."} 
[2026-07-01 03:41:28] local.INFO: Processing buffer {"connection_id":119432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a9335b8012d4a4d80068ba5d80011014921..."} 
[2026-07-01 03:41:28] local.INFO: Packet analysis {"connection_id":119432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a93"} 
[2026-07-01 03:41:28] local.INFO: Extracted packet for processing {"connection_id":119432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a93"} 
[2026-07-01 03:41:28] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":33,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411387392001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:41:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:41:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782857283000,"timestamp_ms":1782857283000,"timestamp_seconds":1782857283,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a9335b8"} 
[2026-07-01 03:41:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:41:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-01 03:41:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:41:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:41:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:41:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:41:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411387392001,"66":25756,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:41:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:41:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:41:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411387392001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:41:28] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:41:28] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:41:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:41:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:41:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411387392001,"power":25756,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":119432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:41:28] local.INFO: GPS data processed {"connection_id":119432,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:41:28] local.INFO: Acknowledgment sent {"connection_id":119432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:41:59] local.INFO: TCP Data received {"connection_id":119432,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a9335b8012d4a4d80068ba5d80011014921..."} 
[2026-07-01 03:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a9335b8012d4a4d80068ba5d80011014921..."} 
[2026-07-01 03:41:59] local.INFO: Processing buffer {"connection_id":119432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a9335b8012d4a4d80068ba5d80011014921..."} 
[2026-07-01 03:41:59] local.INFO: Packet analysis {"connection_id":119432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a93"} 
[2026-07-01 03:41:59] local.INFO: Extracted packet for processing {"connection_id":119432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a93"} 
[2026-07-01 03:41:59] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":33,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411387392001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:41:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782857283000,"timestamp_ms":1782857283000,"timestamp_seconds":1782857283,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a9335b8"} 
[2026-07-01 03:41:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:41:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-01 03:41:59] 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-01 03:41:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:41:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:41:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411387392001,"66":25756,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411387392001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:41:59] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:41:59] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411387392001,"power":25756,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":119432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:41:59] local.INFO: GPS data processed {"connection_id":119432,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:41:59] local.INFO: Acknowledgment sent {"connection_id":119432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:42:22] local.INFO: TCP Data received {"connection_id":119434,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:42:22] local.INFO: Processing buffer {"connection_id":119434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:42:22] local.INFO: IMEI packet received {"connection_id":119434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 03:42:22] local.INFO: IMEI acknowledgment sent {"connection_id":119434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:42:27] local.INFO: TCP Data received {"connection_id":119434,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:42:27] local.INFO: Processing buffer {"connection_id":119434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:42:27] local.INFO: IMEI packet received {"connection_id":119434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":119434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:42:27] local.INFO: TCP Data received {"connection_id":119434,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a9335b8012d4a4d80068ba5d80011014921..."} 
[2026-07-01 03:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a9335b8012d4a4d80068ba5d80011014921..."} 
[2026-07-01 03:42:27] local.INFO: Processing buffer {"connection_id":119434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a9335b8012d4a4d80068ba5d80011014921..."} 
[2026-07-01 03:42:27] local.INFO: Packet analysis {"connection_id":119434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a93"} 
[2026-07-01 03:42:27] local.INFO: Extracted packet for processing {"connection_id":119434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a93"} 
[2026-07-01 03:42:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":33,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411387392001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:42:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:42:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782857283000,"timestamp_ms":1782857283000,"timestamp_seconds":1782857283,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a9335b8"} 
[2026-07-01 03:42:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:42:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-01 03:42:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:42:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:42:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:42:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411387392001,"66":25756,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411387392001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:42:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:42:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:42:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:42:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411387392001,"power":25756,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":119434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:42:27] local.INFO: GPS data processed {"connection_id":119434,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:42:27] local.INFO: Acknowledgment sent {"connection_id":119434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:42:59] local.INFO: TCP Data received {"connection_id":119434,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a9335b8012d4a4d80068ba5d80011014921..."} 
[2026-07-01 03:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a9335b8012d4a4d80068ba5d80011014921..."} 
[2026-07-01 03:42:59] local.INFO: Processing buffer {"connection_id":119434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a9335b8012d4a4d80068ba5d80011014921..."} 
[2026-07-01 03:42:59] local.INFO: Packet analysis {"connection_id":119434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a93"} 
[2026-07-01 03:42:59] local.INFO: Extracted packet for processing {"connection_id":119434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a93"} 
[2026-07-01 03:42:59] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":33,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411387392001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:42:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782857283000,"timestamp_ms":1782857283000,"timestamp_seconds":1782857283,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a9335b8"} 
[2026-07-01 03:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:42:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-01 03:42:59] 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-01 03:42:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:42:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411387392001,"66":25756,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411387392001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:42:59] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:42:59] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411387392001,"power":25756,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":119434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:42:59] local.INFO: GPS data processed {"connection_id":119434,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:42:59] local.INFO: Acknowledgment sent {"connection_id":119434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:43:22] local.INFO: TCP Data received {"connection_id":118677,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:43:22] local.INFO: Processing buffer {"connection_id":118677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:43:22] local.INFO: IMEI packet received {"connection_id":118677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 03:43:22] local.INFO: IMEI acknowledgment sent {"connection_id":118677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:43:27] local.INFO: TCP Data received {"connection_id":118677,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:43:27] local.INFO: Processing buffer {"connection_id":118677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:43:27] local.INFO: IMEI packet received {"connection_id":118677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":118677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:43:28] local.INFO: TCP Data received {"connection_id":118677,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a9335b8012d4a4d80068ba5d80011014921..."} 
[2026-07-01 03:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a9335b8012d4a4d80068ba5d80011014921..."} 
[2026-07-01 03:43:28] local.INFO: Processing buffer {"connection_id":118677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a9335b8012d4a4d80068ba5d80011014921..."} 
[2026-07-01 03:43:28] local.INFO: Packet analysis {"connection_id":118677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a93"} 
[2026-07-01 03:43:28] local.INFO: Extracted packet for processing {"connection_id":118677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a93"} 
[2026-07-01 03:43:28] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":33,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03: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-01 03:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411387392001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:43:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:43:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782857283000,"timestamp_ms":1782857283000,"timestamp_seconds":1782857283,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a9335b8"} 
[2026-07-01 03: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-01 03:43:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-01 03:43:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03: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-01 03: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-01 03:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:43:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411387392001,"66":25756,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411387392001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:43:28] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:43:28] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:43:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411387392001,"power":25756,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:43:28] local.INFO: DEBUG: GPS processor result {"connection_id":118677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:43:28] local.INFO: GPS data processed {"connection_id":118677,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:43:28] local.INFO: Acknowledgment sent {"connection_id":118677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:43:58] local.INFO: TCP Data received {"connection_id":118677,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a97cd80012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 03:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a97cd80012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 03:43:58] local.INFO: Processing buffer {"connection_id":118677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a97cd80012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 03:43:58] local.INFO: Packet analysis {"connection_id":118677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a97"} 
[2026-07-01 03:43:58] local.INFO: Extracted packet for processing {"connection_id":118677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a97"} 
[2026-07-01 03:43:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03: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-01 03:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411464448001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:43:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:43:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782857584000,"timestamp_ms":1782857584000,"timestamp_seconds":1782857584,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a97cd80"} 
[2026-07-01 03: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-01 03:43:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-01 03:43:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03: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-01 03: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-01 03:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:43:58] local.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-01 03:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411464448001,"66":25702,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411464448001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:43:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:43:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:43:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:43:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411464448001,"power":25702,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:43:58] local.INFO: DEBUG: GPS processor result {"connection_id":118677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:43:58] local.INFO: GPS data processed {"connection_id":118677,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:43:58] local.INFO: Acknowledgment sent {"connection_id":118677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:44:27] local.INFO: TCP Data received {"connection_id":118783,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:44:27] local.INFO: Processing buffer {"connection_id":118783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:44:27] local.INFO: IMEI packet received {"connection_id":118783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 03:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":118783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:44:32] local.INFO: TCP Data received {"connection_id":118783,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:44:32] local.INFO: Processing buffer {"connection_id":118783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:44:32] local.INFO: IMEI packet received {"connection_id":118783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":118783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:44:33] local.INFO: TCP Data received {"connection_id":118783,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a97cd80012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 03:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a97cd80012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 03:44:33] local.INFO: Processing buffer {"connection_id":118783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a97cd80012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 03:44:33] local.INFO: Packet analysis {"connection_id":118783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a97"} 
[2026-07-01 03:44:33] local.INFO: Extracted packet for processing {"connection_id":118783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a97"} 
[2026-07-01 03:44:33] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03: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-01 03:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411464448001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:44:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782857584000,"timestamp_ms":1782857584000,"timestamp_seconds":1782857584,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a97cd80"} 
[2026-07-01 03: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-01 03:44:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-01 03:44:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03: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-01 03: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-01 03:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":118783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":118783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":118783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:44:33] local.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-01 03:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411464448001,"66":25702,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411464448001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:44:33] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:44:33] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411464448001,"power":25702,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":118783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:44:33] local.INFO: GPS data processed {"connection_id":118783,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:44:33] local.INFO: Acknowledgment sent {"connection_id":118783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:44:40] local.INFO: TCP Data received {"connection_id":118783,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a97cd80012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 03:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a97cd80012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 03:44:40] local.INFO: Processing buffer {"connection_id":118783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a97cd80012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 03:44:40] local.INFO: Packet analysis {"connection_id":118783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a97"} 
[2026-07-01 03:44:40] local.INFO: Extracted packet for processing {"connection_id":118783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a97"} 
[2026-07-01 03:44:40] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03: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-01 03:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411464448001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:44:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:44:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782857584000,"timestamp_ms":1782857584000,"timestamp_seconds":1782857584,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a97cd80"} 
[2026-07-01 03: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-01 03:44:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-01 03:44:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03: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-01 03: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-01 03:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":118783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":118783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":118783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03: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-01 03:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411464448001,"66":25702,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411464448001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:44:40] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:44:40] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:44:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411464448001,"power":25702,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":118783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:44:40] local.INFO: GPS data processed {"connection_id":118783,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:44:40] local.INFO: Acknowledgment sent {"connection_id":118783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:45:22] local.INFO: TCP Data received {"connection_id":118679,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:45:22] local.INFO: Processing buffer {"connection_id":118679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:45:22] local.INFO: IMEI packet received {"connection_id":118679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 03:45:22] local.INFO: IMEI acknowledgment sent {"connection_id":118679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:45:27] local.INFO: TCP Data received {"connection_id":118679,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:45:27] local.INFO: Processing buffer {"connection_id":118679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:45:27] local.INFO: IMEI packet received {"connection_id":118679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":118679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:45:27] local.INFO: TCP Data received {"connection_id":118678,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 03:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118678,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 03:45:27] local.INFO: Processing buffer {"connection_id":118678,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 03:45:27] local.INFO: IMEI packet received {"connection_id":118678,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 03:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":118678,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:45:28] local.INFO: TCP Data received {"connection_id":118679,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a97cd80012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 03:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a97cd80012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 03:45:28] local.INFO: Processing buffer {"connection_id":118679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a97cd80012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 03:45:28] local.INFO: Packet analysis {"connection_id":118679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a97"} 
[2026-07-01 03:45:28] local.INFO: Extracted packet for processing {"connection_id":118679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a97"} 
[2026-07-01 03:45:28] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03:45:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:45:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411464448001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:45:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:45:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:45:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:45:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782857584000,"timestamp_ms":1782857584000,"timestamp_seconds":1782857584,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a97cd80"} 
[2026-07-01 03:45:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:45:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03:45:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-01 03:45:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:45:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:45:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:45:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:45:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:45:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:45:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:45:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:45:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:45:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:45:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411464448001,"66":25702,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:45:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:45:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:45:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411464448001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:45:28] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:45:28] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:45:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:45:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:45:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411464448001,"power":25702,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:45:28] local.INFO: DEBUG: GPS processor result {"connection_id":118679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:45:28] local.INFO: GPS data processed {"connection_id":118679,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:45:28] local.INFO: Acknowledgment sent {"connection_id":118679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:45:59] local.INFO: TCP Data received {"connection_id":118679,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a97cd80012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 03:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a97cd80012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 03:45:59] local.INFO: Processing buffer {"connection_id":118679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a97cd80012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 03:45:59] local.INFO: Packet analysis {"connection_id":118679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a97"} 
[2026-07-01 03:45:59] local.INFO: Extracted packet for processing {"connection_id":118679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a97"} 
[2026-07-01 03:45:59] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411464448001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:45:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782857584000,"timestamp_ms":1782857584000,"timestamp_seconds":1782857584,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a97cd80"} 
[2026-07-01 03:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:45:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-01 03:45:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:45:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:45:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411464448001,"66":25702,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411464448001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:45:59] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:45:59] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411464448001,"power":25702,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":118679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:45:59] local.INFO: GPS data processed {"connection_id":118679,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:45:59] local.INFO: Acknowledgment sent {"connection_id":118679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:46:22] local.INFO: TCP Data received {"connection_id":118785,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:46:22] local.INFO: Processing buffer {"connection_id":118785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:46:22] local.INFO: IMEI packet received {"connection_id":118785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 03:46:22] local.INFO: IMEI acknowledgment sent {"connection_id":118785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:46:27] local.INFO: TCP Data received {"connection_id":118785,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:46:27] local.INFO: Processing buffer {"connection_id":118785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:46:27] local.INFO: IMEI packet received {"connection_id":118785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":118785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:46:28] local.INFO: TCP Data received {"connection_id":118785,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a97cd80012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 03:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a97cd80012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 03:46:28] local.INFO: Processing buffer {"connection_id":118785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a97cd80012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 03:46:28] local.INFO: Packet analysis {"connection_id":118785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a97"} 
[2026-07-01 03:46:28] local.INFO: Extracted packet for processing {"connection_id":118785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a97"} 
[2026-07-01 03:46:28] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03: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-01 03:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411464448001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:46:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:46:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782857584000,"timestamp_ms":1782857584000,"timestamp_seconds":1782857584,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a97cd80"} 
[2026-07-01 03: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-01 03:46:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-01 03:46:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03: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-01 03: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-01 03:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:46:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411464448001,"66":25702,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411464448001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:46:28] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:46:28] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:46:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411464448001,"power":25702,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":118785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:46:28] local.INFO: GPS data processed {"connection_id":118785,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:46:28] local.INFO: Acknowledgment sent {"connection_id":118785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:46:59] local.INFO: TCP Data received {"connection_id":118785,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a97cd80012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 03:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a97cd80012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 03:46:59] local.INFO: Processing buffer {"connection_id":118785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a97cd80012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 03:46:59] local.INFO: Packet analysis {"connection_id":118785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a97"} 
[2026-07-01 03:46:59] local.INFO: Extracted packet for processing {"connection_id":118785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a97"} 
[2026-07-01 03:46:59] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03: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-01 03:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411464448001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:46:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:46:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782857584000,"timestamp_ms":1782857584000,"timestamp_seconds":1782857584,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a97cd80"} 
[2026-07-01 03: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-01 03:46:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-01 03:46:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03: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-01 03: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-01 03:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:46:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411464448001,"66":25702,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411464448001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:46:59] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:46:59] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:46:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411464448001,"power":25702,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":118785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:46:59] local.INFO: GPS data processed {"connection_id":118785,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:46:59] local.INFO: Acknowledgment sent {"connection_id":118785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:47:22] local.INFO: TCP Data received {"connection_id":120532,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:47:22] local.INFO: Processing buffer {"connection_id":120532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:47:22] local.INFO: IMEI packet received {"connection_id":120532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 03:47:22] local.INFO: IMEI acknowledgment sent {"connection_id":120532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:47:27] local.INFO: TCP Data received {"connection_id":120532,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:47:27] local.INFO: Processing buffer {"connection_id":120532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:47:27] local.INFO: IMEI packet received {"connection_id":120532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":120532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:47:28] local.INFO: TCP Data received {"connection_id":120532,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a97cd80012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 03:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a97cd80012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 03:47:28] local.INFO: Processing buffer {"connection_id":120532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a97cd80012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 03:47:28] local.INFO: Packet analysis {"connection_id":120532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a97"} 
[2026-07-01 03:47:28] local.INFO: Extracted packet for processing {"connection_id":120532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a97"} 
[2026-07-01 03:47:28] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:47:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411464448001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:47:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:47:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:47:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:47:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782857584000,"timestamp_ms":1782857584000,"timestamp_seconds":1782857584,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a97cd80"} 
[2026-07-01 03:47:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:47:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-01 03:47:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:47:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:47:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:47:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:47:28] local.INFO: Teltonika packet parsed successfully {"connection_id":120532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:47:28] local.INFO: Passing IMEI to GPS processor {"connection_id":120532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:47:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":120532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:47:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:47:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:47:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:47:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411464448001,"66":25702,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:47:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:47:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:47:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411464448001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:47:28] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:47:28] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:47:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:47:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:47:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411464448001,"power":25702,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:47:28] local.INFO: DEBUG: GPS processor result {"connection_id":120532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:47:28] local.INFO: GPS data processed {"connection_id":120532,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:47:28] local.INFO: Acknowledgment sent {"connection_id":120532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:47:59] local.INFO: TCP Data received {"connection_id":120532,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a97cd80012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 03:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a97cd80012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 03:47:59] local.INFO: Processing buffer {"connection_id":120532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a97cd80012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 03:47:59] local.INFO: Packet analysis {"connection_id":120532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a97"} 
[2026-07-01 03:47:59] local.INFO: Extracted packet for processing {"connection_id":120532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a97"} 
[2026-07-01 03:47:59] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03: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-01 03:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411464448001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:47:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782857584000,"timestamp_ms":1782857584000,"timestamp_seconds":1782857584,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a97cd80"} 
[2026-07-01 03:47:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:47:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-01 03:47:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:47:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:47:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":120532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":120532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":120532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:47:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411464448001,"66":25702,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411464448001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:47:59] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:47:59] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411464448001,"power":25702,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":120532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:47:59] local.INFO: GPS data processed {"connection_id":120532,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:47:59] local.INFO: Acknowledgment sent {"connection_id":120532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:48:27] local.INFO: TCP Data received {"connection_id":118680,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:48:27] local.INFO: Processing buffer {"connection_id":118680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:48:27] local.INFO: IMEI packet received {"connection_id":118680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 03:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":118680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:48:32] local.INFO: TCP Data received {"connection_id":118680,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:48:32] local.INFO: Processing buffer {"connection_id":118680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:48:32] local.INFO: IMEI packet received {"connection_id":118680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":118680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:48:33] local.INFO: TCP Data received {"connection_id":118680,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a97cd80012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 03:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a97cd80012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 03:48:33] local.INFO: Processing buffer {"connection_id":118680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a97cd80012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 03:48:33] local.INFO: Packet analysis {"connection_id":118680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a97"} 
[2026-07-01 03:48:33] local.INFO: Extracted packet for processing {"connection_id":118680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a97"} 
[2026-07-01 03:48:33] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411464448001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782857584000,"timestamp_ms":1782857584000,"timestamp_seconds":1782857584,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a97cd80"} 
[2026-07-01 03:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-01 03:48:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:48:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":118680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":118680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":118680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:48:33] local.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-01 03:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411464448001,"66":25702,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411464448001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:48:33] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:48:33] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411464448001,"power":25702,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":118680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:48:33] local.INFO: GPS data processed {"connection_id":118680,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:48:33] local.INFO: Acknowledgment sent {"connection_id":118680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:48:37] local.INFO: TCP Data received {"connection_id":118680,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a97cd80012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 03:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a97cd80012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 03:48:37] local.INFO: Processing buffer {"connection_id":118680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a97cd80012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 03:48:37] local.INFO: Packet analysis {"connection_id":118680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a97"} 
[2026-07-01 03:48:37] local.INFO: Extracted packet for processing {"connection_id":118680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a97"} 
[2026-07-01 03:48:37] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411464448001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782857584000,"timestamp_ms":1782857584000,"timestamp_seconds":1782857584,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a97cd80"} 
[2026-07-01 03:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-01 03:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":118680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":118680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":118680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411464448001,"66":25702,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411464448001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:48:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:48:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411464448001,"power":25702,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":118680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:48:37] local.INFO: GPS data processed {"connection_id":118680,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:48:37] local.INFO: Acknowledgment sent {"connection_id":118680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:49:22] local.INFO: TCP Data received {"connection_id":118681,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:49:22] local.INFO: Processing buffer {"connection_id":118681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:49:22] local.INFO: IMEI packet received {"connection_id":118681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 03:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":118681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:49:27] local.INFO: TCP Data received {"connection_id":118681,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:49:27] local.INFO: Processing buffer {"connection_id":118681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:49:27] local.INFO: IMEI packet received {"connection_id":118681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":118681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:49:27] local.INFO: TCP Data received {"connection_id":118681,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a9c6548012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 03:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a9c6548012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 03:49:27] local.INFO: Processing buffer {"connection_id":118681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a9c6548012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 03:49:27] local.INFO: Packet analysis {"connection_id":118681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a9c"} 
[2026-07-01 03:49:27] local.INFO: Extracted packet for processing {"connection_id":118681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a9c"} 
[2026-07-01 03:49:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411541504001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:49:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782857885000,"timestamp_ms":1782857885000,"timestamp_seconds":1782857885,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a9c6548"} 
[2026-07-01 03:49:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:49:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-01 03:49:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:49:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:49:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:49:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411541504001,"66":25615,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411541504001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:49:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:49:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411541504001,"power":25615,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:49:28] local.INFO: DEBUG: GPS processor result {"connection_id":118681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:49:28] local.INFO: GPS data processed {"connection_id":118681,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:49:28] local.INFO: Acknowledgment sent {"connection_id":118681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:49:59] local.INFO: TCP Data received {"connection_id":118681,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a9c6548012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 03:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a9c6548012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 03:49:59] local.INFO: Processing buffer {"connection_id":118681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a9c6548012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 03:49:59] local.INFO: Packet analysis {"connection_id":118681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a9c"} 
[2026-07-01 03:49:59] local.INFO: Extracted packet for processing {"connection_id":118681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a9c"} 
[2026-07-01 03:49:59] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411541504001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:49:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782857885000,"timestamp_ms":1782857885000,"timestamp_seconds":1782857885,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a9c6548"} 
[2026-07-01 03:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:49:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-01 03:49:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:49:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:49:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411541504001,"66":25615,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411541504001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:49:59] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:49:59] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411541504001,"power":25615,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":118681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:49:59] local.INFO: GPS data processed {"connection_id":118681,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:49:59] local.INFO: Acknowledgment sent {"connection_id":118681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:50:22] local.INFO: TCP Data received {"connection_id":120533,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:50:22] local.INFO: Processing buffer {"connection_id":120533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:50:22] local.INFO: IMEI packet received {"connection_id":120533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 03:50:22] local.INFO: IMEI acknowledgment sent {"connection_id":120533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:50:27] local.INFO: TCP Data received {"connection_id":120533,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:50:27] local.INFO: Processing buffer {"connection_id":120533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:50:27] local.INFO: IMEI packet received {"connection_id":120533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":120533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:50:28] local.INFO: TCP Data received {"connection_id":120533,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a9c6548012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 03:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a9c6548012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 03:50:28] local.INFO: Processing buffer {"connection_id":120533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a9c6548012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 03:50:28] local.INFO: Packet analysis {"connection_id":120533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a9c"} 
[2026-07-01 03:50:28] local.INFO: Extracted packet for processing {"connection_id":120533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a9c"} 
[2026-07-01 03:50:28] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411541504001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:50:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:50:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782857885000,"timestamp_ms":1782857885000,"timestamp_seconds":1782857885,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a9c6548"} 
[2026-07-01 03:50:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:50:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-01 03:50:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:50:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:50:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":120533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":120533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":120533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:50:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411541504001,"66":25615,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411541504001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:50:28] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:50:28] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:50:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411541504001,"power":25615,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":120533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:50:28] local.INFO: GPS data processed {"connection_id":120533,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:50:28] local.INFO: Acknowledgment sent {"connection_id":120533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:50:58] local.INFO: TCP Data received {"connection_id":120533,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a9c6548012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 03:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a9c6548012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 03:50:58] local.INFO: Processing buffer {"connection_id":120533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a9c6548012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 03:50:58] local.INFO: Packet analysis {"connection_id":120533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a9c"} 
[2026-07-01 03:50:58] local.INFO: Extracted packet for processing {"connection_id":120533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a9c"} 
[2026-07-01 03:50:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03: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-01 03:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411541504001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:50:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:50:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782857885000,"timestamp_ms":1782857885000,"timestamp_seconds":1782857885,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a9c6548"} 
[2026-07-01 03: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-01 03:50:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-01 03:50:58] 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-01 03: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-01 03: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-01 03:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:50:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411541504001,"66":25615,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411541504001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:50:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:50:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:50:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411541504001,"power":25615,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":120533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:50:58] local.INFO: GPS data processed {"connection_id":120533,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:50:58] local.INFO: Acknowledgment sent {"connection_id":120533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:51:16] local.INFO: TCP Data received {"connection_id":118789,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 03:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118789,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 03:51:16] local.INFO: Processing buffer {"connection_id":118789,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 03:51:16] local.INFO: IMEI packet received {"connection_id":118789,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 03:51:16] local.INFO: IMEI acknowledgment sent {"connection_id":118789,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:51:22] local.INFO: TCP Data received {"connection_id":119438,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:51:22] local.INFO: Processing buffer {"connection_id":119438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:51:22] local.INFO: IMEI packet received {"connection_id":119438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 03:51:22] local.INFO: IMEI acknowledgment sent {"connection_id":119438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:51:27] local.INFO: TCP Data received {"connection_id":119438,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:51:27] local.INFO: Processing buffer {"connection_id":119438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:51:27] local.INFO: IMEI packet received {"connection_id":119438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":119438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:51:27] local.INFO: TCP Data received {"connection_id":119438,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a9c6548012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 03:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a9c6548012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 03:51:27] local.INFO: Processing buffer {"connection_id":119438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a9c6548012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 03:51:27] local.INFO: Packet analysis {"connection_id":119438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a9c"} 
[2026-07-01 03:51:27] local.INFO: Extracted packet for processing {"connection_id":119438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a9c"} 
[2026-07-01 03:51:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411541504001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:51:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782857885000,"timestamp_ms":1782857885000,"timestamp_seconds":1782857885,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a9c6548"} 
[2026-07-01 03:51:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:51:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-01 03:51:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:51:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:51:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:51:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411541504001,"66":25615,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411541504001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:51:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:51:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411541504001,"power":25615,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":119438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:51:27] local.INFO: GPS data processed {"connection_id":119438,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:51:27] local.INFO: Acknowledgment sent {"connection_id":119438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:51:58] local.INFO: TCP Data received {"connection_id":119438,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a9c6548012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 03:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a9c6548012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 03:51:58] local.INFO: Processing buffer {"connection_id":119438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a9c6548012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 03:51:58] local.INFO: Packet analysis {"connection_id":119438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a9c"} 
[2026-07-01 03:51:58] local.INFO: Extracted packet for processing {"connection_id":119438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a9c"} 
[2026-07-01 03:51:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03: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-01 03:51:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411541504001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:51:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:51:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:51:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:51:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782857885000,"timestamp_ms":1782857885000,"timestamp_seconds":1782857885,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a9c6548"} 
[2026-07-01 03: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-01 03:51:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-01 03:51:58] 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-01 03: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-01 03: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-01 03:51:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:51:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:51:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:51:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:51:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:51:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:51:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:51:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411541504001,"66":25615,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:51:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:51:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:51:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411541504001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:51:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:51:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:51:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:51:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:51:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411541504001,"power":25615,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:51:58] local.INFO: DEBUG: GPS processor result {"connection_id":119438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:51:58] local.INFO: GPS data processed {"connection_id":119438,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:51:58] local.INFO: Acknowledgment sent {"connection_id":119438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:52:27] local.INFO: TCP Data received {"connection_id":119439,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:52:27] local.INFO: Processing buffer {"connection_id":119439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:52:27] local.INFO: IMEI packet received {"connection_id":119439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 03:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":119439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:52:32] local.INFO: TCP Data received {"connection_id":119439,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:52:32] local.INFO: Processing buffer {"connection_id":119439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:52:32] local.INFO: IMEI packet received {"connection_id":119439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":119439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:52:32] local.INFO: TCP Data received {"connection_id":119439,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a9c6548012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 03:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a9c6548012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 03:52:32] local.INFO: Processing buffer {"connection_id":119439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a9c6548012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 03:52:32] local.INFO: Packet analysis {"connection_id":119439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a9c"} 
[2026-07-01 03:52:32] local.INFO: Extracted packet for processing {"connection_id":119439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a9c"} 
[2026-07-01 03:52:32] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411541504001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:52:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782857885000,"timestamp_ms":1782857885000,"timestamp_seconds":1782857885,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a9c6548"} 
[2026-07-01 03:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:52:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-01 03:52:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:52:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":119439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":119439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":119439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411541504001,"66":25615,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411541504001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:52:32] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:52:32] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411541504001,"power":25615,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":119439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:52:32] local.INFO: GPS data processed {"connection_id":119439,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:52:32] local.INFO: Acknowledgment sent {"connection_id":119439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:52:37] local.INFO: TCP Data received {"connection_id":119439,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a9c6548012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 03:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a9c6548012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 03:52:37] local.INFO: Processing buffer {"connection_id":119439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a9c6548012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 03:52:37] local.INFO: Packet analysis {"connection_id":119439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a9c"} 
[2026-07-01 03:52:37] local.INFO: Extracted packet for processing {"connection_id":119439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a9c"} 
[2026-07-01 03:52:37] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411541504001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782857885000,"timestamp_ms":1782857885000,"timestamp_seconds":1782857885,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a9c6548"} 
[2026-07-01 03:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-01 03:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":119439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":119439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":119439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411541504001,"66":25615,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411541504001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:52:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:52:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411541504001,"power":25615,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":119439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:52:37] local.INFO: GPS data processed {"connection_id":119439,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:52:37] local.INFO: Acknowledgment sent {"connection_id":119439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:52:42] local.INFO: TCP Data received {"connection_id":119439,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a9c6548012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 03:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a9c6548012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 03:52:42] local.INFO: Processing buffer {"connection_id":119439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a9c6548012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 03:52:42] local.INFO: Packet analysis {"connection_id":119439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a9c"} 
[2026-07-01 03:52:42] local.INFO: Extracted packet for processing {"connection_id":119439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a9c"} 
[2026-07-01 03:52:42] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 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-01 03:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411541504001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:52:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:52:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782857885000,"timestamp_ms":1782857885000,"timestamp_seconds":1782857885,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a9c6548"} 
[2026-07-01 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-01 03:52:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-01 03:52:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 03:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":119439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":119439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":119439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 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-01 03:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411541504001,"66":25615,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411541504001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:52:42] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:52:42] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:52:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411541504001,"power":25615,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":119439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:52:42] local.INFO: GPS data processed {"connection_id":119439,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:52:42] local.INFO: Acknowledgment sent {"connection_id":119439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:53:22] local.INFO: TCP Data received {"connection_id":120536,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:53:22] local.INFO: Processing buffer {"connection_id":120536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:53:22] local.INFO: IMEI packet received {"connection_id":120536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 03:53:22] local.INFO: IMEI acknowledgment sent {"connection_id":120536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:53:27] local.INFO: TCP Data received {"connection_id":120536,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:53:27] local.INFO: Processing buffer {"connection_id":120536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:53:27] local.INFO: IMEI packet received {"connection_id":120536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":120536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:53:28] local.INFO: TCP Data received {"connection_id":120536,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a9c6548012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 03:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a9c6548012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 03:53:28] local.INFO: Processing buffer {"connection_id":120536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a9c6548012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 03:53:28] local.INFO: Packet analysis {"connection_id":120536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a9c"} 
[2026-07-01 03:53:28] local.INFO: Extracted packet for processing {"connection_id":120536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a9c"} 
[2026-07-01 03:53:28] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:53:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411541504001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:53:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:53:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:53:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:53:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782857885000,"timestamp_ms":1782857885000,"timestamp_seconds":1782857885,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a9c6548"} 
[2026-07-01 03:53:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:53:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-01 03:53:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:53:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:53:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:53:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:53:28] local.INFO: Teltonika packet parsed successfully {"connection_id":120536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:53:28] local.INFO: Passing IMEI to GPS processor {"connection_id":120536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:53:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":120536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:53:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:53:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:53:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:53:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411541504001,"66":25615,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:53:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:53:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:53:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411541504001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:53:28] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:53:28] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:53:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:53:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:53:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411541504001,"power":25615,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:53:28] local.INFO: DEBUG: GPS processor result {"connection_id":120536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:53:28] local.INFO: GPS data processed {"connection_id":120536,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:53:28] local.INFO: Acknowledgment sent {"connection_id":120536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:53:58] local.INFO: TCP Data received {"connection_id":120536,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aa0fd10012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 03:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aa0fd10012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 03:53:58] local.INFO: Processing buffer {"connection_id":120536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aa0fd10012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 03:53:58] local.INFO: Packet analysis {"connection_id":120536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aa0"} 
[2026-07-01 03:53:58] local.INFO: Extracted packet for processing {"connection_id":120536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aa0"} 
[2026-07-01 03:53:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03: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-01 03:53:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411618560001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:53:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:53:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:53:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:53:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782858186000,"timestamp_ms":1782858186000,"timestamp_seconds":1782858186,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aa0fd10"} 
[2026-07-01 03: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-01 03:53:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 03:53:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03: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-01 03: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-01 03:53:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:53:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:53:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:53:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:53:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:53:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:53:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:53:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411618560001,"66":25582,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:53:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:53:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:53:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411618560001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:53:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:53:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:53:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:53:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:53:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411618560001,"power":25582,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:53:58] local.INFO: DEBUG: GPS processor result {"connection_id":120536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:53:58] local.INFO: GPS data processed {"connection_id":120536,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:53:58] local.INFO: Acknowledgment sent {"connection_id":120536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:54:22] local.INFO: TCP Data received {"connection_id":118683,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:54:22] local.INFO: Processing buffer {"connection_id":118683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:54:22] local.INFO: IMEI packet received {"connection_id":118683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 03:54:22] local.INFO: IMEI acknowledgment sent {"connection_id":118683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:54:27] local.INFO: TCP Data received {"connection_id":118683,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:54:27] local.INFO: Processing buffer {"connection_id":118683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:54:27] local.INFO: IMEI packet received {"connection_id":118683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":118683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:54:27] local.INFO: TCP Data received {"connection_id":118683,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aa0fd10012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 03:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aa0fd10012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 03:54:27] local.INFO: Processing buffer {"connection_id":118683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aa0fd10012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 03:54:27] local.INFO: Packet analysis {"connection_id":118683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aa0"} 
[2026-07-01 03:54:27] local.INFO: Extracted packet for processing {"connection_id":118683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aa0"} 
[2026-07-01 03:54:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:54:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411618560001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:54:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:54:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782858186000,"timestamp_ms":1782858186000,"timestamp_seconds":1782858186,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aa0fd10"} 
[2026-07-01 03:54:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:54:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 03:54:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:54:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:54:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:54:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411618560001,"66":25582,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411618560001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:54:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:54:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:54:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:54:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411618560001,"power":25582,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:54:27] local.INFO: DEBUG: GPS processor result {"connection_id":118683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:54:27] local.INFO: GPS data processed {"connection_id":118683,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:54:27] local.INFO: Acknowledgment sent {"connection_id":118683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:54:58] local.INFO: TCP Data received {"connection_id":118683,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aa0fd10012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 03:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aa0fd10012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 03:54:58] local.INFO: Processing buffer {"connection_id":118683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aa0fd10012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 03:54:58] local.INFO: Packet analysis {"connection_id":118683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aa0"} 
[2026-07-01 03:54:58] local.INFO: Extracted packet for processing {"connection_id":118683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aa0"} 
[2026-07-01 03:54:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03: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-01 03:54:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411618560001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:54:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:54:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:54:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:54:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782858186000,"timestamp_ms":1782858186000,"timestamp_seconds":1782858186,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aa0fd10"} 
[2026-07-01 03: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-01 03:54:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 03:54:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03: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-01 03: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-01 03:54:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:54:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:54:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:54:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:54:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:54:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:54:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:54:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411618560001,"66":25582,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:54:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:54:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:54:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411618560001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:54:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:54:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:54:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:54:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:54:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411618560001,"power":25582,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:54:58] local.INFO: DEBUG: GPS processor result {"connection_id":118683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:54:58] local.INFO: GPS data processed {"connection_id":118683,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:54:58] local.INFO: Acknowledgment sent {"connection_id":118683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:55:22] local.INFO: TCP Data received {"connection_id":118684,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:55:22] local.INFO: Processing buffer {"connection_id":118684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:55:22] local.INFO: IMEI packet received {"connection_id":118684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 03:55:22] local.INFO: IMEI acknowledgment sent {"connection_id":118684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:55:27] local.INFO: TCP Data received {"connection_id":118684,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:55:27] local.INFO: Processing buffer {"connection_id":118684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:55:27] local.INFO: IMEI packet received {"connection_id":118684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:55:27] local.INFO: IMEI acknowledgment sent {"connection_id":118684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:55:28] local.INFO: TCP Data received {"connection_id":118684,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aa0fd10012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 03:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aa0fd10012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 03:55:28] local.INFO: Processing buffer {"connection_id":118684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aa0fd10012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 03:55:28] local.INFO: Packet analysis {"connection_id":118684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aa0"} 
[2026-07-01 03:55:28] local.INFO: Extracted packet for processing {"connection_id":118684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aa0"} 
[2026-07-01 03:55:28] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03:55:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:55:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411618560001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:55:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:55:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:55:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:55:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782858186000,"timestamp_ms":1782858186000,"timestamp_seconds":1782858186,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aa0fd10"} 
[2026-07-01 03:55:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:55:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03:55:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 03:55:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:55:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:55:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:55:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:55:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:55:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:55:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:55:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:55:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:55:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:55:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411618560001,"66":25582,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:55:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:55:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:55:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411618560001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:55:28] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:55:28] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:55:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:55:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:55:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411618560001,"power":25582,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:55:28] local.INFO: DEBUG: GPS processor result {"connection_id":118684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:55:28] local.INFO: GPS data processed {"connection_id":118684,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:55:28] local.INFO: Acknowledgment sent {"connection_id":118684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:55:59] local.INFO: TCP Data received {"connection_id":118684,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aa0fd10012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 03:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aa0fd10012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 03:55:59] local.INFO: Processing buffer {"connection_id":118684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aa0fd10012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 03:55:59] local.INFO: Packet analysis {"connection_id":118684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aa0"} 
[2026-07-01 03:55:59] local.INFO: Extracted packet for processing {"connection_id":118684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aa0"} 
[2026-07-01 03:55:59] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03: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-01 03:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411618560001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:55:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782858186000,"timestamp_ms":1782858186000,"timestamp_seconds":1782858186,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aa0fd10"} 
[2026-07-01 03: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-01 03:55:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 03:55:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03: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-01 03: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-01 03:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:55:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411618560001,"66":25582,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411618560001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:55:59] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:55:59] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411618560001,"power":25582,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":118684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:55:59] local.INFO: GPS data processed {"connection_id":118684,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:55:59] local.INFO: Acknowledgment sent {"connection_id":118684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:56:22] local.INFO: TCP Data received {"connection_id":118685,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:56:22] local.INFO: Processing buffer {"connection_id":118685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:56:22] local.INFO: IMEI packet received {"connection_id":118685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 03:56:22] local.INFO: IMEI acknowledgment sent {"connection_id":118685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:56:27] local.INFO: TCP Data received {"connection_id":118685,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:56:27] local.INFO: Processing buffer {"connection_id":118685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:56:27] local.INFO: IMEI packet received {"connection_id":118685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":118685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:56:27] local.INFO: TCP Data received {"connection_id":118685,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aa0fd10012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 03:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aa0fd10012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 03:56:27] local.INFO: Processing buffer {"connection_id":118685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aa0fd10012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 03:56:27] local.INFO: Packet analysis {"connection_id":118685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aa0"} 
[2026-07-01 03:56:27] local.INFO: Extracted packet for processing {"connection_id":118685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aa0"} 
[2026-07-01 03:56:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411618560001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:56:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:56:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782858186000,"timestamp_ms":1782858186000,"timestamp_seconds":1782858186,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aa0fd10"} 
[2026-07-01 03:56:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:56:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 03:56:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:56:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:56:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:56:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411618560001,"66":25582,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:56:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:56:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411618560001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:56:28] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:56:28] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:56:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:56:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:56:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411618560001,"power":25582,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:56:28] local.INFO: DEBUG: GPS processor result {"connection_id":118685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:56:28] local.INFO: GPS data processed {"connection_id":118685,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:56:28] local.INFO: Acknowledgment sent {"connection_id":118685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:56:42] local.INFO: TCP Data received {"connection_id":120537,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 03:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120537,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 03:56:42] local.INFO: Processing buffer {"connection_id":120537,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 03:56:42] local.INFO: IMEI packet received {"connection_id":120537,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 03:56:42] local.INFO: IMEI acknowledgment sent {"connection_id":120537,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:56:58] local.INFO: TCP Data received {"connection_id":118685,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aa0fd10012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 03:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aa0fd10012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 03:56:58] local.INFO: Processing buffer {"connection_id":118685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aa0fd10012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 03:56:58] local.INFO: Packet analysis {"connection_id":118685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aa0"} 
[2026-07-01 03:56:58] local.INFO: Extracted packet for processing {"connection_id":118685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aa0"} 
[2026-07-01 03:56:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03: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-01 03:56:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411618560001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:56:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:56:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:56:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:56:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782858186000,"timestamp_ms":1782858186000,"timestamp_seconds":1782858186,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aa0fd10"} 
[2026-07-01 03: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-01 03:56:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 03:56:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03: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-01 03: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-01 03:56:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:56:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:56:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:56:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:56:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:56:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:56:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:56:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411618560001,"66":25582,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:56:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:56:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:56:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411618560001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:56:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:56:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:56:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:56:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:56:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411618560001,"power":25582,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:56:58] local.INFO: DEBUG: GPS processor result {"connection_id":118685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:56:58] local.INFO: GPS data processed {"connection_id":118685,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:56:58] local.INFO: Acknowledgment sent {"connection_id":118685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:57:16] local.INFO: TCP Data received {"connection_id":118790,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 03:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118790,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 03:57:16] local.INFO: Processing buffer {"connection_id":118790,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 03:57:16] local.INFO: IMEI packet received {"connection_id":118790,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 03:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":118790,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:57:22] local.INFO: TCP Data received {"connection_id":120538,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:57:22] local.INFO: Processing buffer {"connection_id":120538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:57:22] local.INFO: IMEI packet received {"connection_id":120538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 03:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":120538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:57:22] local.INFO: TCP Data received {"connection_id":118790,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 03:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118790,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 03:57:22] local.INFO: Processing buffer {"connection_id":118790,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 03:57:22] local.INFO: IMEI packet received {"connection_id":118790,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-01 03:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":118790,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:57:22] local.INFO: TCP Data received {"connection_id":118790,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1a994868012cb2a24007823d68004f00bb2a..."} 
[2026-07-01 03:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1a994868012cb2a24007823d68004f00bb2a..."} 
[2026-07-01 03:57:23] local.INFO: Processing buffer {"connection_id":118790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1a994868012cb2a24007823d68004f00bb2a..."} 
[2026-07-01 03:57:23] local.INFO: Packet analysis {"connection_id":118790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1a99"} 
[2026-07-01 03:57:23] local.INFO: Extracted packet for processing {"connection_id":118790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1a99"} 
[2026-07-01 03:57:23] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975912,"longitude_deg":74.9904448,"latitude_deg":12.5975912,"altitude":79,"angle":187,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823d68","is_valid_coordinates":true} 
[2026-07-01 03:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:57:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411489280001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:57:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130042276758945792,"note":"Value kept but may cause issues"} 
[2026-07-01 03:57:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737241600,"note":"Value kept but may cause issues"} 
[2026-07-01 03:57:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:57:23] local.INFO: AVL Record Parsed {"raw_timestamp":1782857681000,"timestamp_ms":1782857681000,"timestamp_seconds":1782857681,"priority":1,"record_length":96,"hex_timestamp":"0000019f1a994868"} 
[2026-07-01 03:57:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:57: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-01 03:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-01 03:57:23] 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-01 03:57:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:57:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:57:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:57:23] local.INFO: Teltonika packet parsed successfully {"connection_id":118790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:57:23] local.INFO: Passing IMEI to GPS processor {"connection_id":118790,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-01 03:57:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":118790,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-01 03:57:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:57:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-01 03:57:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-01 03:57:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411489280001,"66":25093,"184":206,"85":36096,"24":0,"16":130042276758945792,"44":-5574822987737241600},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-01 03:57:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-01 03:57:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-01 03:57:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411489280001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:57:23] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-01 03:57:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 03:57:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130042276758945792,"km_value":130042276758945.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:57:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737241600,"description":"Unknown IO ID 44"} 
[2026-07-01 03:57:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411489280001,"power":25093,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737241600}} 
[2026-07-01 03:57:23] local.INFO: DEBUG: GPS processor result {"connection_id":118790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415897,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:57:23] local.INFO: GPS data processed {"connection_id":118790,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:57:23] local.INFO: Acknowledgment sent {"connection_id":118790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:57:27] local.INFO: TCP Data received {"connection_id":120538,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:57:27] local.INFO: Processing buffer {"connection_id":120538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:57:27] local.INFO: IMEI packet received {"connection_id":120538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":120538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:57:27] local.INFO: TCP Data received {"connection_id":120538,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aa0fd10012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 03:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aa0fd10012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 03:57:27] local.INFO: Processing buffer {"connection_id":120538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aa0fd10012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 03:57:27] local.INFO: Packet analysis {"connection_id":120538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aa0"} 
[2026-07-01 03:57:27] local.INFO: Extracted packet for processing {"connection_id":120538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aa0"} 
[2026-07-01 03:57:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411618560001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:57:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782858186000,"timestamp_ms":1782858186000,"timestamp_seconds":1782858186,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aa0fd10"} 
[2026-07-01 03:57:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:57:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 03:57:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:57:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:57:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:57:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411618560001,"66":25582,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411618560001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:57:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:57:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411618560001,"power":25582,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":120538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:57:27] local.INFO: GPS data processed {"connection_id":120538,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:57:27] local.INFO: Acknowledgment sent {"connection_id":120538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:57:58] local.INFO: TCP Data received {"connection_id":120538,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aa0fd10012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 03:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aa0fd10012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 03:57:58] local.INFO: Processing buffer {"connection_id":120538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aa0fd10012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 03:57:58] local.INFO: Packet analysis {"connection_id":120538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aa0"} 
[2026-07-01 03:57:58] local.INFO: Extracted packet for processing {"connection_id":120538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aa0"} 
[2026-07-01 03:57:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03: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-01 03:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411618560001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:57:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:57:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:57:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:57:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782858186000,"timestamp_ms":1782858186000,"timestamp_seconds":1782858186,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aa0fd10"} 
[2026-07-01 03: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-01 03:57:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 03:57:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03: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-01 03: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-01 03:57:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:57:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:57:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:57:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:57:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:57:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:57:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:57:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411618560001,"66":25582,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:57:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:57:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:57:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411618560001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:57:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:57:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:57:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:57:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:57:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411618560001,"power":25582,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:57:58] local.INFO: DEBUG: GPS processor result {"connection_id":120538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:57:58] local.INFO: GPS data processed {"connection_id":120538,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:57:58] local.INFO: Acknowledgment sent {"connection_id":120538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:58:12] local.INFO: TCP Data received {"connection_id":119441,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 03:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119441,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 03:58:12] local.INFO: Processing buffer {"connection_id":119441,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 03:58:12] local.INFO: IMEI packet received {"connection_id":119441,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 03:58:12] local.INFO: IMEI acknowledgment sent {"connection_id":119441,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:58:27] local.INFO: TCP Data received {"connection_id":118791,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:58:27] local.INFO: Processing buffer {"connection_id":118791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:58:27] local.INFO: IMEI packet received {"connection_id":118791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 03:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":118791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:58:32] local.INFO: TCP Data received {"connection_id":118791,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:58:32] local.INFO: Processing buffer {"connection_id":118791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:58:32] local.INFO: IMEI packet received {"connection_id":118791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":118791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:58:33] local.INFO: TCP Data received {"connection_id":118791,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aa0fd10012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 03:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aa0fd10012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 03:58:33] local.INFO: Processing buffer {"connection_id":118791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aa0fd10012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 03:58:33] local.INFO: Packet analysis {"connection_id":118791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aa0"} 
[2026-07-01 03:58:33] local.INFO: Extracted packet for processing {"connection_id":118791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aa0"} 
[2026-07-01 03:58:33] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411618560001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782858186000,"timestamp_ms":1782858186000,"timestamp_seconds":1782858186,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aa0fd10"} 
[2026-07-01 03:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:58:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 03:58:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:58:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":118791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":118791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":118791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411618560001,"66":25582,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411618560001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:58:33] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:58:33] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411618560001,"power":25582,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":118791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:58:33] local.INFO: GPS data processed {"connection_id":118791,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:58:33] local.INFO: Acknowledgment sent {"connection_id":118791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:58:37] local.INFO: TCP Data received {"connection_id":118791,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aa0fd10012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 03:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aa0fd10012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 03:58:37] local.INFO: Processing buffer {"connection_id":118791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aa0fd10012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 03:58:37] local.INFO: Packet analysis {"connection_id":118791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aa0"} 
[2026-07-01 03:58:37] local.INFO: Extracted packet for processing {"connection_id":118791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aa0"} 
[2026-07-01 03:58:37] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411618560001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782858186000,"timestamp_ms":1782858186000,"timestamp_seconds":1782858186,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aa0fd10"} 
[2026-07-01 03:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 03:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":118791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":118791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":118791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411618560001,"66":25582,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411618560001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:58:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:58:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411618560001,"power":25582,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":118791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:58:37] local.INFO: GPS data processed {"connection_id":118791,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:58:37] local.INFO: Acknowledgment sent {"connection_id":118791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:59:22] local.INFO: TCP Data received {"connection_id":120539,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:59:22] local.INFO: Processing buffer {"connection_id":120539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:59:22] local.INFO: IMEI packet received {"connection_id":120539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 03:59:22] local.INFO: IMEI acknowledgment sent {"connection_id":120539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 03:59:27] local.INFO: TCP Data received {"connection_id":120539,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:59:27] local.INFO: Processing buffer {"connection_id":120539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 03:59:27] local.INFO: IMEI packet received {"connection_id":120539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 03:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":120539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 03:59:27] local.INFO: TCP Data received {"connection_id":120539,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aa594d8012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 03:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aa594d8012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 03:59:27] local.INFO: Processing buffer {"connection_id":120539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aa594d8012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 03:59:27] local.INFO: Packet analysis {"connection_id":120539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aa5"} 
[2026-07-01 03:59:27] local.INFO: Extracted packet for processing {"connection_id":120539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aa5"} 
[2026-07-01 03:59:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411695616001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:59:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782858487000,"timestamp_ms":1782858487000,"timestamp_seconds":1782858487,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aa594d8"} 
[2026-07-01 03:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:59:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-01 03:59:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:59:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:59:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411695616001,"66":25517,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411695616001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:59:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:59:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411695616001,"power":25517,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":120539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:59:27] local.INFO: GPS data processed {"connection_id":120539,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:59:27] local.INFO: Acknowledgment sent {"connection_id":120539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 03:59:58] local.INFO: TCP Data received {"connection_id":120539,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aa594d8012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 03:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aa594d8012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 03:59:58] local.INFO: Processing buffer {"connection_id":120539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aa594d8012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 03:59:58] local.INFO: Packet analysis {"connection_id":120539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aa5"} 
[2026-07-01 03:59:58] local.INFO: Extracted packet for processing {"connection_id":120539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aa5"} 
[2026-07-01 03:59:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 03:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 03:59:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411695616001,"note":"Value kept but may cause issues"} 
[2026-07-01 03:59:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 03:59:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 03:59:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 03:59:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782858487000,"timestamp_ms":1782858487000,"timestamp_seconds":1782858487,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aa594d8"} 
[2026-07-01 03:59:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 03:59:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 03:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-01 03:59:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 03:59:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 03:59:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 03:59:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 03:59:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 03:59:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:59:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 03:59:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 03:59:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 03:59:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 03:59:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411695616001,"66":25517,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 03:59:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 03:59:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 03:59:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411695616001,"description":"Unknown IO ID 0"} 
[2026-07-01 03:59:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 03:59:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 03:59:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 03:59:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 03:59:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411695616001,"power":25517,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 03:59:58] local.INFO: DEBUG: GPS processor result {"connection_id":120539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 03:59:58] local.INFO: GPS data processed {"connection_id":120539,"processed":1,"errors":0,"total":1} 
[2026-07-01 03:59:58] local.INFO: Acknowledgment sent {"connection_id":120539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:00:22] local.INFO: TCP Data received {"connection_id":120541,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:00:22] local.INFO: Processing buffer {"connection_id":120541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:00:22] local.INFO: IMEI packet received {"connection_id":120541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 04:00:22] local.INFO: IMEI acknowledgment sent {"connection_id":120541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:00:27] local.INFO: TCP Data received {"connection_id":120541,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:00:27] local.INFO: Processing buffer {"connection_id":120541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:00:27] local.INFO: IMEI packet received {"connection_id":120541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 04:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":120541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 04:00:28] local.INFO: TCP Data received {"connection_id":120541,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aa594d8012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aa594d8012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:00:28] local.INFO: Processing buffer {"connection_id":120541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aa594d8012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:00:28] local.INFO: Packet analysis {"connection_id":120541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aa5"} 
[2026-07-01 04:00:28] local.INFO: Extracted packet for processing {"connection_id":120541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aa5"} 
[2026-07-01 04:00:28] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:00:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411695616001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:00:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:00:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:00:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:00:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782858487000,"timestamp_ms":1782858487000,"timestamp_seconds":1782858487,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aa594d8"} 
[2026-07-01 04:00:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:00:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-01 04:00:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:00:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:00:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:00:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:00:28] local.INFO: Teltonika packet parsed successfully {"connection_id":120541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:00:28] local.INFO: Passing IMEI to GPS processor {"connection_id":120541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:00:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":120541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:00:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:00:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:00:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:00:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411695616001,"66":25517,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:00:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:00:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:00:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411695616001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:00:28] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:00:28] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:00:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:00:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:00:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411695616001,"power":25517,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:00:28] local.INFO: DEBUG: GPS processor result {"connection_id":120541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:00:28] local.INFO: GPS data processed {"connection_id":120541,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:00:28] local.INFO: Acknowledgment sent {"connection_id":120541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:00:58] local.INFO: TCP Data received {"connection_id":120541,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aa594d8012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aa594d8012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:00:58] local.INFO: Processing buffer {"connection_id":120541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aa594d8012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:00:58] local.INFO: Packet analysis {"connection_id":120541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aa5"} 
[2026-07-01 04:00:58] local.INFO: Extracted packet for processing {"connection_id":120541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aa5"} 
[2026-07-01 04:00:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04: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-01 04:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411695616001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:00:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:00:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782858487000,"timestamp_ms":1782858487000,"timestamp_seconds":1782858487,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aa594d8"} 
[2026-07-01 04: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-01 04:00:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-01 04:00:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04: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-01 04: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-01 04:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:00:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411695616001,"66":25517,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411695616001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:00:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:00:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:00:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411695616001,"power":25517,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":120541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:00:58] local.INFO: GPS data processed {"connection_id":120541,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:00:58] local.INFO: Acknowledgment sent {"connection_id":120541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:01:22] local.INFO: TCP Data received {"connection_id":118793,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:01:22] local.INFO: Processing buffer {"connection_id":118793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:01:22] local.INFO: IMEI packet received {"connection_id":118793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 04:01:22] local.INFO: IMEI acknowledgment sent {"connection_id":118793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:01:27] local.INFO: TCP Data received {"connection_id":118793,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:01:27] local.INFO: Processing buffer {"connection_id":118793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:01:27] local.INFO: IMEI packet received {"connection_id":118793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 04:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":118793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 04:01:28] local.INFO: TCP Data received {"connection_id":118793,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aa594d8012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aa594d8012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:01:28] local.INFO: Processing buffer {"connection_id":118793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aa594d8012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:01:28] local.INFO: Packet analysis {"connection_id":118793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aa5"} 
[2026-07-01 04:01:28] local.INFO: Extracted packet for processing {"connection_id":118793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aa5"} 
[2026-07-01 04:01:28] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:01:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411695616001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:01:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:01:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:01:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:01:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782858487000,"timestamp_ms":1782858487000,"timestamp_seconds":1782858487,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aa594d8"} 
[2026-07-01 04:01:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:01:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-01 04:01:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:01:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:01:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:01:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:01:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:01:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:01:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:01:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:01:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:01:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:01:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411695616001,"66":25517,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:01:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:01:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:01:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411695616001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:01:28] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:01:28] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:01:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:01:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:01:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411695616001,"power":25517,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:01:28] local.INFO: DEBUG: GPS processor result {"connection_id":118793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:01:28] local.INFO: GPS data processed {"connection_id":118793,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:01:28] local.INFO: Acknowledgment sent {"connection_id":118793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:01:58] local.INFO: TCP Data received {"connection_id":118793,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aa594d8012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aa594d8012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:01:58] local.INFO: Processing buffer {"connection_id":118793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aa594d8012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:01:58] local.INFO: Packet analysis {"connection_id":118793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aa5"} 
[2026-07-01 04:01:58] local.INFO: Extracted packet for processing {"connection_id":118793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aa5"} 
[2026-07-01 04:01:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04: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-01 04:01:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411695616001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:01:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:01:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:01:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:01:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782858487000,"timestamp_ms":1782858487000,"timestamp_seconds":1782858487,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aa594d8"} 
[2026-07-01 04: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-01 04:01:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-01 04:01:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04: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-01 04: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-01 04:01:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:01:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:01:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:01:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:01:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:01:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:01:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:01:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411695616001,"66":25517,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:01:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:01:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:01:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411695616001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:01:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:01:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:01:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:01:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:01:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411695616001,"power":25517,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:01:58] local.INFO: DEBUG: GPS processor result {"connection_id":118793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:01:58] local.INFO: GPS data processed {"connection_id":118793,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:01:58] local.INFO: Acknowledgment sent {"connection_id":118793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:02:22] local.INFO: TCP Data received {"connection_id":119442,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:02:22] local.INFO: Processing buffer {"connection_id":119442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:02:22] local.INFO: IMEI packet received {"connection_id":119442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 04:02:22] local.INFO: IMEI acknowledgment sent {"connection_id":119442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:02:27] local.INFO: TCP Data received {"connection_id":119442,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:02:27] local.INFO: Processing buffer {"connection_id":119442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:02:27] local.INFO: IMEI packet received {"connection_id":119442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 04:02:27] local.INFO: IMEI acknowledgment sent {"connection_id":119442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 04:02:27] local.INFO: TCP Data received {"connection_id":119442,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aa594d8012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aa594d8012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:02:27] local.INFO: Processing buffer {"connection_id":119442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aa594d8012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:02:27] local.INFO: Packet analysis {"connection_id":119442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aa5"} 
[2026-07-01 04:02:27] local.INFO: Extracted packet for processing {"connection_id":119442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aa5"} 
[2026-07-01 04:02:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411695616001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:02:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782858487000,"timestamp_ms":1782858487000,"timestamp_seconds":1782858487,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aa594d8"} 
[2026-07-01 04:02:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:02:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-01 04:02:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:02:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:02:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:02:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411695616001,"66":25517,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411695616001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:02:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:02:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411695616001,"power":25517,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:02:27] local.INFO: DEBUG: GPS processor result {"connection_id":119442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:02:27] local.INFO: GPS data processed {"connection_id":119442,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:02:27] local.INFO: Acknowledgment sent {"connection_id":119442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:02:58] local.INFO: TCP Data received {"connection_id":119442,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aa594d8012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aa594d8012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:02:58] local.INFO: Processing buffer {"connection_id":119442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aa594d8012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:02:58] local.INFO: Packet analysis {"connection_id":119442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aa5"} 
[2026-07-01 04:02:58] local.INFO: Extracted packet for processing {"connection_id":119442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aa5"} 
[2026-07-01 04:02:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04: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-01 04:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411695616001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:02:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:02:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782858487000,"timestamp_ms":1782858487000,"timestamp_seconds":1782858487,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aa594d8"} 
[2026-07-01 04: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-01 04:02:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-01 04:02:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04: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-01 04: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-01 04:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:02:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411695616001,"66":25517,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411695616001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:02:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:02:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:02:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411695616001,"power":25517,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":119442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:02:58] local.INFO: GPS data processed {"connection_id":119442,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:02:58] local.INFO: Acknowledgment sent {"connection_id":119442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:03:22] local.INFO: TCP Data received {"connection_id":119444,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:03:22] local.INFO: Processing buffer {"connection_id":119444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:03:22] local.INFO: IMEI packet received {"connection_id":119444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 04:03:22] local.INFO: IMEI acknowledgment sent {"connection_id":119444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:03:27] local.INFO: TCP Data received {"connection_id":119444,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:03:27] local.INFO: Processing buffer {"connection_id":119444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:03:27] local.INFO: IMEI packet received {"connection_id":119444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 04:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":119444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 04:03:28] local.INFO: TCP Data received {"connection_id":119444,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aa594d8012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aa594d8012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:03:28] local.INFO: Processing buffer {"connection_id":119444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aa594d8012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:03:28] local.INFO: Packet analysis {"connection_id":119444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aa5"} 
[2026-07-01 04:03:28] local.INFO: Extracted packet for processing {"connection_id":119444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aa5"} 
[2026-07-01 04:03:28] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:03:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411695616001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:03:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:03:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:03:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:03:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782858487000,"timestamp_ms":1782858487000,"timestamp_seconds":1782858487,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aa594d8"} 
[2026-07-01 04:03:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:03:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-01 04:03:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:03:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:03:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:03:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:03:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:03:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:03:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:03:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:03:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:03:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:03:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411695616001,"66":25517,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:03:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:03:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:03:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411695616001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:03:28] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:03:28] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:03:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:03:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:03:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411695616001,"power":25517,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:03:28] local.INFO: DEBUG: GPS processor result {"connection_id":119444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:03:28] local.INFO: GPS data processed {"connection_id":119444,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:03:28] local.INFO: Acknowledgment sent {"connection_id":119444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:03:44] local.INFO: TCP Data received {"connection_id":119443,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 04:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119443,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 04:03:44] local.INFO: Processing buffer {"connection_id":119443,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 04:03:44] local.INFO: IMEI packet received {"connection_id":119443,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 04:03:44] local.INFO: IMEI acknowledgment sent {"connection_id":119443,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:03:59] local.INFO: TCP Data received {"connection_id":119444,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aaa2ca0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aaa2ca0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:03:59] local.INFO: Processing buffer {"connection_id":119444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aaa2ca0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:03:59] local.INFO: Packet analysis {"connection_id":119444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aaa"} 
[2026-07-01 04:03:59] local.INFO: Extracted packet for processing {"connection_id":119444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aaa"} 
[2026-07-01 04:03:59] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":44,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:03:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411772672001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:03:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:03:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:03:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:03:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782858788000,"timestamp_ms":1782858788000,"timestamp_seconds":1782858788,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aaa2ca0"} 
[2026-07-01 04:03:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:03:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 04:03:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:03:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:03:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:03:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:03:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:03:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:03:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:03:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:03:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:03:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:03:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411772672001,"66":25495,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:03:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:03:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:03:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411772672001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:03:59] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:03:59] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:03:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:03:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:03:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411772672001,"power":25495,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:03:59] local.INFO: DEBUG: GPS processor result {"connection_id":119444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:03:59] local.INFO: GPS data processed {"connection_id":119444,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:03:59] local.INFO: Acknowledgment sent {"connection_id":119444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:04:16] local.INFO: TCP Data received {"connection_id":118688,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 04:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118688,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 04:04:16] local.INFO: Processing buffer {"connection_id":118688,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 04:04:16] local.INFO: IMEI packet received {"connection_id":118688,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 04:04:16] local.INFO: IMEI acknowledgment sent {"connection_id":118688,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:04:22] local.INFO: TCP Data received {"connection_id":120542,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:04:22] local.INFO: Processing buffer {"connection_id":120542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:04:22] local.INFO: IMEI packet received {"connection_id":120542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 04:04:22] local.INFO: IMEI acknowledgment sent {"connection_id":120542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:04:27] local.INFO: TCP Data received {"connection_id":120542,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:04:27] local.INFO: Processing buffer {"connection_id":120542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:04:27] local.INFO: IMEI packet received {"connection_id":120542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 04:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":120542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 04:04:28] local.INFO: TCP Data received {"connection_id":120542,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aaa2ca0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aaa2ca0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:04:28] local.INFO: Processing buffer {"connection_id":120542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aaa2ca0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:04:28] local.INFO: Packet analysis {"connection_id":120542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aaa"} 
[2026-07-01 04:04:28] local.INFO: Extracted packet for processing {"connection_id":120542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aaa"} 
[2026-07-01 04:04:28] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":44,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411772672001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:04:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:04:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782858788000,"timestamp_ms":1782858788000,"timestamp_seconds":1782858788,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aaa2ca0"} 
[2026-07-01 04:04:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:04:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 04:04:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:04:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:04:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":120542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":120542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":120542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:04:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411772672001,"66":25495,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411772672001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:04:28] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:04:28] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:04:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411772672001,"power":25495,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:04:28] local.INFO: DEBUG: GPS processor result {"connection_id":120542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:04:28] local.INFO: GPS data processed {"connection_id":120542,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:04:28] local.INFO: Acknowledgment sent {"connection_id":120542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:05:01] local.INFO: TCP Data received {"connection_id":120542,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aaa2ca0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aaa2ca0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:05:01] local.INFO: Processing buffer {"connection_id":120542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aaa2ca0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:05:01] local.INFO: Packet analysis {"connection_id":120542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aaa"} 
[2026-07-01 04:05:01] local.INFO: Extracted packet for processing {"connection_id":120542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aaa"} 
[2026-07-01 04:05:01] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":44,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411772672001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:05:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:05:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782858788000,"timestamp_ms":1782858788000,"timestamp_seconds":1782858788,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aaa2ca0"} 
[2026-07-01 04:05:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:05:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 04:05:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:05:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:05:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":120542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":120542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":120542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:05:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411772672001,"66":25495,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411772672001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:05:01] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:05:01] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:05:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411772672001,"power":25495,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":120542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:05:01] local.INFO: GPS data processed {"connection_id":120542,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:05:01] local.INFO: Acknowledgment sent {"connection_id":120542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:05:22] local.INFO: TCP Data received {"connection_id":118689,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:05:22] local.INFO: Processing buffer {"connection_id":118689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:05:22] local.INFO: IMEI packet received {"connection_id":118689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 04:05:22] local.INFO: IMEI acknowledgment sent {"connection_id":118689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:05:27] local.INFO: TCP Data received {"connection_id":118689,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:05:27] local.INFO: Processing buffer {"connection_id":118689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:05:27] local.INFO: IMEI packet received {"connection_id":118689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 04:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":118689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 04:05:27] local.INFO: TCP Data received {"connection_id":118689,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aaa2ca0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aaa2ca0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:05:27] local.INFO: Processing buffer {"connection_id":118689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aaa2ca0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:05:27] local.INFO: Packet analysis {"connection_id":118689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aaa"} 
[2026-07-01 04:05:27] local.INFO: Extracted packet for processing {"connection_id":118689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aaa"} 
[2026-07-01 04:05:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":44,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411772672001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:05:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:05:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782858788000,"timestamp_ms":1782858788000,"timestamp_seconds":1782858788,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aaa2ca0"} 
[2026-07-01 04:05:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:05:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 04:05:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:05:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:05:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:05:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:05:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411772672001,"66":25495,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:05:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411772672001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:05:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:05:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:05:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:05:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411772672001,"power":25495,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:05:27] local.INFO: DEBUG: GPS processor result {"connection_id":118689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:05:27] local.INFO: GPS data processed {"connection_id":118689,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:05:27] local.INFO: Acknowledgment sent {"connection_id":118689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:05:58] local.INFO: TCP Data received {"connection_id":118689,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aaa2ca0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aaa2ca0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:05:58] local.INFO: Processing buffer {"connection_id":118689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aaa2ca0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:05:58] local.INFO: Packet analysis {"connection_id":118689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aaa"} 
[2026-07-01 04:05:58] local.INFO: Extracted packet for processing {"connection_id":118689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aaa"} 
[2026-07-01 04:05:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":44,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04: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-01 04:05:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411772672001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:05:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:05:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:05:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:05:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782858788000,"timestamp_ms":1782858788000,"timestamp_seconds":1782858788,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aaa2ca0"} 
[2026-07-01 04: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-01 04:05:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04: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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 04:05:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04: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-01 04: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-01 04:05:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:05:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:05:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:05:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:05:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:05:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:05:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:05:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411772672001,"66":25495,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:05:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:05:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:05:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411772672001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:05:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:05:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:05:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:05:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:05:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411772672001,"power":25495,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:05:58] local.INFO: DEBUG: GPS processor result {"connection_id":118689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:05:58] local.INFO: GPS data processed {"connection_id":118689,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:05:58] local.INFO: Acknowledgment sent {"connection_id":118689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:06:22] local.INFO: TCP Data received {"connection_id":118795,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:06:22] local.INFO: Processing buffer {"connection_id":118795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:06:22] local.INFO: IMEI packet received {"connection_id":118795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 04:06:22] local.INFO: IMEI acknowledgment sent {"connection_id":118795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:06:27] local.INFO: TCP Data received {"connection_id":118795,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:06:27] local.INFO: Processing buffer {"connection_id":118795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:06:27] local.INFO: IMEI packet received {"connection_id":118795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 04:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":118795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 04:06:27] local.INFO: TCP Data received {"connection_id":118795,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aaa2ca0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aaa2ca0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:06:27] local.INFO: Processing buffer {"connection_id":118795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aaa2ca0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:06:27] local.INFO: Packet analysis {"connection_id":118795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aaa"} 
[2026-07-01 04:06:27] local.INFO: Extracted packet for processing {"connection_id":118795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aaa"} 
[2026-07-01 04:06:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":44,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:06:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:06:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411772672001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:06:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:06:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:06:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:06:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782858788000,"timestamp_ms":1782858788000,"timestamp_seconds":1782858788,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aaa2ca0"} 
[2026-07-01 04:06:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:06:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:06:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 04:06:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:06:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:06:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:06:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:06:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:06:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:06:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:06:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:06:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:06:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:06:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411772672001,"66":25495,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:06:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:06:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:06:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411772672001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:06:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:06:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:06:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:06:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:06:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411772672001,"power":25495,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:06:27] local.INFO: DEBUG: GPS processor result {"connection_id":118795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:06:27] local.INFO: GPS data processed {"connection_id":118795,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:06:27] local.INFO: Acknowledgment sent {"connection_id":118795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:06:59] local.INFO: TCP Data received {"connection_id":118795,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aaa2ca0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aaa2ca0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:06:59] local.INFO: Processing buffer {"connection_id":118795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aaa2ca0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:06:59] local.INFO: Packet analysis {"connection_id":118795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aaa"} 
[2026-07-01 04:06:59] local.INFO: Extracted packet for processing {"connection_id":118795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aaa"} 
[2026-07-01 04:06:59] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":44,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411772672001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:06:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:06:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782858788000,"timestamp_ms":1782858788000,"timestamp_seconds":1782858788,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aaa2ca0"} 
[2026-07-01 04:06:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:06:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 04:06:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:06:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:06:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:06:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411772672001,"66":25495,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411772672001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:06:59] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:06:59] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:06:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:06:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411772672001,"power":25495,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:06:59] local.INFO: DEBUG: GPS processor result {"connection_id":118795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:06:59] local.INFO: GPS data processed {"connection_id":118795,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:06:59] local.INFO: Acknowledgment sent {"connection_id":118795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:07:22] local.INFO: TCP Data received {"connection_id":120543,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:07:22] local.INFO: Processing buffer {"connection_id":120543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:07:22] local.INFO: IMEI packet received {"connection_id":120543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 04:07:22] local.INFO: IMEI acknowledgment sent {"connection_id":120543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:07:27] local.INFO: TCP Data received {"connection_id":120543,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:07:27] local.INFO: Processing buffer {"connection_id":120543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:07:27] local.INFO: IMEI packet received {"connection_id":120543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 04:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":120543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 04:07:28] local.INFO: TCP Data received {"connection_id":120543,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aaa2ca0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aaa2ca0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:07:28] local.INFO: Processing buffer {"connection_id":120543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aaa2ca0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:07:28] local.INFO: Packet analysis {"connection_id":120543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aaa"} 
[2026-07-01 04:07:28] local.INFO: Extracted packet for processing {"connection_id":120543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aaa"} 
[2026-07-01 04:07:28] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":44,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411772672001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:07:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782858788000,"timestamp_ms":1782858788000,"timestamp_seconds":1782858788,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aaa2ca0"} 
[2026-07-01 04:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:07:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 04:07:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:07:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":120543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":120543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":120543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:07:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411772672001,"66":25495,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411772672001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:07:28] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:07:28] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411772672001,"power":25495,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":120543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:07:28] local.INFO: GPS data processed {"connection_id":120543,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:07:28] local.INFO: Acknowledgment sent {"connection_id":120543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:07:59] local.INFO: TCP Data received {"connection_id":120543,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aaa2ca0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aaa2ca0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:07:59] local.INFO: Processing buffer {"connection_id":120543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aaa2ca0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:07:59] local.INFO: Packet analysis {"connection_id":120543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aaa"} 
[2026-07-01 04:07:59] local.INFO: Extracted packet for processing {"connection_id":120543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aaa"} 
[2026-07-01 04:07:59] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":44,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411772672001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:07:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782858788000,"timestamp_ms":1782858788000,"timestamp_seconds":1782858788,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aaa2ca0"} 
[2026-07-01 04:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:07:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 04:07:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:07:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":120543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":120543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":120543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:07:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411772672001,"66":25495,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411772672001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:07:59] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:07:59] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411772672001,"power":25495,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":120543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:07:59] local.INFO: GPS data processed {"connection_id":120543,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:07:59] local.INFO: Acknowledgment sent {"connection_id":120543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:08:27] local.INFO: TCP Data received {"connection_id":118796,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:08:27] local.INFO: Processing buffer {"connection_id":118796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:08:27] local.INFO: IMEI packet received {"connection_id":118796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 04:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":118796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:08:32] local.INFO: TCP Data received {"connection_id":118796,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:08:32] local.INFO: Processing buffer {"connection_id":118796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:08:32] local.INFO: IMEI packet received {"connection_id":118796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 04:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":118796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 04:08:32] local.INFO: TCP Data received {"connection_id":118796,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aaa2ca0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aaa2ca0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:08:32] local.INFO: Processing buffer {"connection_id":118796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aaa2ca0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:08:32] local.INFO: Packet analysis {"connection_id":118796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aaa"} 
[2026-07-01 04:08:32] local.INFO: Extracted packet for processing {"connection_id":118796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aaa"} 
[2026-07-01 04:08:32] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":44,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411772672001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:08:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782858788000,"timestamp_ms":1782858788000,"timestamp_seconds":1782858788,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aaa2ca0"} 
[2026-07-01 04:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:08:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 04:08:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:08:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":118796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":118796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":118796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411772672001,"66":25495,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411772672001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:08:32] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:08:32] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411772672001,"power":25495,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":118796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:08:33] local.INFO: GPS data processed {"connection_id":118796,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:08:33] local.INFO: Acknowledgment sent {"connection_id":118796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:08:37] local.INFO: TCP Data received {"connection_id":118796,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aaa2ca0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aaa2ca0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:08:37] local.INFO: Processing buffer {"connection_id":118796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aaa2ca0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:08:37] local.INFO: Packet analysis {"connection_id":118796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aaa"} 
[2026-07-01 04:08:37] local.INFO: Extracted packet for processing {"connection_id":118796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aaa"} 
[2026-07-01 04:08:37] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":44,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411772672001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782858788000,"timestamp_ms":1782858788000,"timestamp_seconds":1782858788,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aaa2ca0"} 
[2026-07-01 04:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 04:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:08:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":118796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":118796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":118796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411772672001,"66":25495,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411772672001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:08:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:08:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411772672001,"power":25495,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":118796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:08:37] local.INFO: GPS data processed {"connection_id":118796,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:08:37] local.INFO: Acknowledgment sent {"connection_id":118796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:09:22] local.INFO: TCP Data received {"connection_id":120545,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:09:22] local.INFO: Processing buffer {"connection_id":120545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:09:22] local.INFO: IMEI packet received {"connection_id":120545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 04:09:22] local.INFO: IMEI acknowledgment sent {"connection_id":120545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:09:27] local.INFO: TCP Data received {"connection_id":120545,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:09:27] local.INFO: Processing buffer {"connection_id":120545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:09:27] local.INFO: IMEI packet received {"connection_id":120545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 04:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":120545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 04:09:27] local.INFO: TCP Data received {"connection_id":120545,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aaec468012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aaec468012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:09:27] local.INFO: Processing buffer {"connection_id":120545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aaec468012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:09:27] local.INFO: Packet analysis {"connection_id":120545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aae"} 
[2026-07-01 04:09:27] local.INFO: Extracted packet for processing {"connection_id":120545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aae"} 
[2026-07-01 04:09:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411849728001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:09:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782859089000,"timestamp_ms":1782859089000,"timestamp_seconds":1782859089,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aaec468"} 
[2026-07-01 04:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:09:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-01 04:09:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:09:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:09:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411849728001,"66":25495,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411849728001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:09:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:09:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411849728001,"power":25495,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":120545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:09:27] local.INFO: GPS data processed {"connection_id":120545,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:09:27] local.INFO: Acknowledgment sent {"connection_id":120545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:09:44] local.INFO: TCP Data received {"connection_id":119446,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 04:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119446,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 04:09:44] local.INFO: Processing buffer {"connection_id":119446,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 04:09:44] local.INFO: IMEI packet received {"connection_id":119446,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 04:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":119446,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:09:58] local.INFO: TCP Data received {"connection_id":120545,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aaec468012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aaec468012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:09:58] local.INFO: Processing buffer {"connection_id":120545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aaec468012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:09:58] local.INFO: Packet analysis {"connection_id":120545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aae"} 
[2026-07-01 04:09:58] local.INFO: Extracted packet for processing {"connection_id":120545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aae"} 
[2026-07-01 04:09:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04: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-01 04:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411849728001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:09:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:09:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782859089000,"timestamp_ms":1782859089000,"timestamp_seconds":1782859089,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aaec468"} 
[2026-07-01 04: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-01 04:09:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-01 04:09:58] 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-01 04: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-01 04: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-01 04:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:09:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411849728001,"66":25495,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411849728001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:09:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:09:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:09:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:09:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411849728001,"power":25495,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:09:58] local.INFO: DEBUG: GPS processor result {"connection_id":120545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:09:58] local.INFO: GPS data processed {"connection_id":120545,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:09:58] local.INFO: Acknowledgment sent {"connection_id":120545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:10:22] local.INFO: TCP Data received {"connection_id":118691,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:10:22] local.INFO: Processing buffer {"connection_id":118691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:10:22] local.INFO: IMEI packet received {"connection_id":118691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 04:10:22] local.INFO: IMEI acknowledgment sent {"connection_id":118691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:10:22] local.INFO: TCP Data received {"connection_id":120546,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 04:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120546,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 04:10:22] local.INFO: Processing buffer {"connection_id":120546,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 04:10:22] local.INFO: IMEI packet received {"connection_id":120546,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 04:10:22] local.INFO: IMEI acknowledgment sent {"connection_id":120546,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:10:27] local.INFO: TCP Data received {"connection_id":118691,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:10:27] local.INFO: Processing buffer {"connection_id":118691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:10:27] local.INFO: IMEI packet received {"connection_id":118691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 04:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":118691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 04:10:27] local.INFO: TCP Data received {"connection_id":118691,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aaec468012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aaec468012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:10:27] local.INFO: Processing buffer {"connection_id":118691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aaec468012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:10:27] local.INFO: Packet analysis {"connection_id":118691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aae"} 
[2026-07-01 04:10:27] local.INFO: Extracted packet for processing {"connection_id":118691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aae"} 
[2026-07-01 04:10:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:10:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411849728001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:10:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:10:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:10:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:10:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782859089000,"timestamp_ms":1782859089000,"timestamp_seconds":1782859089,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aaec468"} 
[2026-07-01 04:10:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:10:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-01 04:10:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:10:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:10:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:10:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:10:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:10:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:10:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:10:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:10:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:10:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:10:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411849728001,"66":25495,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:10:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:10:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:10:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411849728001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:10:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:10:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:10:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:10:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:10:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411849728001,"power":25495,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:10:27] local.INFO: DEBUG: GPS processor result {"connection_id":118691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:10:27] local.INFO: GPS data processed {"connection_id":118691,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:10:27] local.INFO: Acknowledgment sent {"connection_id":118691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:10:58] local.INFO: TCP Data received {"connection_id":118691,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aaec468012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aaec468012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:10:58] local.INFO: Processing buffer {"connection_id":118691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aaec468012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:10:58] local.INFO: Packet analysis {"connection_id":118691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aae"} 
[2026-07-01 04:10:58] local.INFO: Extracted packet for processing {"connection_id":118691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aae"} 
[2026-07-01 04:10:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04: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-01 04:10:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411849728001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:10:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:10:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:10:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:10:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782859089000,"timestamp_ms":1782859089000,"timestamp_seconds":1782859089,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aaec468"} 
[2026-07-01 04: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-01 04:10:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-01 04:10:58] 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-01 04: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-01 04: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-01 04:10:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:10:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:10:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:10:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:10:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:10:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:10:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:10:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411849728001,"66":25495,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:10:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:10:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:10:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411849728001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:10:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:10:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:10:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:10:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:10:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411849728001,"power":25495,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:10:58] local.INFO: DEBUG: GPS processor result {"connection_id":118691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:10:58] local.INFO: GPS data processed {"connection_id":118691,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:10:58] local.INFO: Acknowledgment sent {"connection_id":118691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:11:22] local.INFO: TCP Data received {"connection_id":118798,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:11:22] local.INFO: Processing buffer {"connection_id":118798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:11:22] local.INFO: IMEI packet received {"connection_id":118798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 04:11:22] local.INFO: IMEI acknowledgment sent {"connection_id":118798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:11:27] local.INFO: TCP Data received {"connection_id":118798,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:11:27] local.INFO: Processing buffer {"connection_id":118798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:11:27] local.INFO: IMEI packet received {"connection_id":118798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 04:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":118798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 04:11:27] local.INFO: TCP Data received {"connection_id":118798,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aaec468012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aaec468012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:11:27] local.INFO: Processing buffer {"connection_id":118798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aaec468012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:11:27] local.INFO: Packet analysis {"connection_id":118798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aae"} 
[2026-07-01 04:11:27] local.INFO: Extracted packet for processing {"connection_id":118798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aae"} 
[2026-07-01 04:11:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411849728001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:11:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:11:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782859089000,"timestamp_ms":1782859089000,"timestamp_seconds":1782859089,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aaec468"} 
[2026-07-01 04:11:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:11:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-01 04:11:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:11:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:11:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:11:27] 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-01 04:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411849728001,"66":25495,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411849728001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:11:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:11:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:11:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411849728001,"power":25495,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:11:27] local.INFO: DEBUG: GPS processor result {"connection_id":118798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:11:27] local.INFO: GPS data processed {"connection_id":118798,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:11:27] local.INFO: Acknowledgment sent {"connection_id":118798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:11:59] local.INFO: TCP Data received {"connection_id":118798,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aaec468012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aaec468012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:11:59] local.INFO: Processing buffer {"connection_id":118798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aaec468012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:11:59] local.INFO: Packet analysis {"connection_id":118798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aae"} 
[2026-07-01 04:11:59] local.INFO: Extracted packet for processing {"connection_id":118798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aae"} 
[2026-07-01 04:11:59] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411849728001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:11:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782859089000,"timestamp_ms":1782859089000,"timestamp_seconds":1782859089,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aaec468"} 
[2026-07-01 04: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-01 04:11:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-01 04:11:59] 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-01 04: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-01 04: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-01 04:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:11:59] 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-01 04:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411849728001,"66":25495,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411849728001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:11:59] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:11:59] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411849728001,"power":25495,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":118798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:11:59] local.INFO: GPS data processed {"connection_id":118798,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:11:59] local.INFO: Acknowledgment sent {"connection_id":118798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:12:27] local.INFO: TCP Data received {"connection_id":119447,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:12:27] local.INFO: Processing buffer {"connection_id":119447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:12:27] local.INFO: IMEI packet received {"connection_id":119447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 04:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":119447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:12:32] local.INFO: TCP Data received {"connection_id":119447,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:12:32] local.INFO: Processing buffer {"connection_id":119447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:12:32] local.INFO: IMEI packet received {"connection_id":119447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 04:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":119447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 04:12:32] local.INFO: TCP Data received {"connection_id":119447,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aaec468012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aaec468012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:12:32] local.INFO: Processing buffer {"connection_id":119447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aaec468012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:12:32] local.INFO: Packet analysis {"connection_id":119447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aae"} 
[2026-07-01 04:12:32] local.INFO: Extracted packet for processing {"connection_id":119447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aae"} 
[2026-07-01 04:12:32] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411849728001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782859089000,"timestamp_ms":1782859089000,"timestamp_seconds":1782859089,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aaec468"} 
[2026-07-01 04:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:12:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-01 04:12:32] 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-01 04:12:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":119447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":119447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":119447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411849728001,"66":25495,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411849728001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:12:32] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:12:32] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411849728001,"power":25495,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":119447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:12:32] local.INFO: GPS data processed {"connection_id":119447,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:12:32] local.INFO: Acknowledgment sent {"connection_id":119447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:12:37] local.INFO: TCP Data received {"connection_id":119447,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aaec468012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aaec468012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:12:37] local.INFO: Processing buffer {"connection_id":119447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aaec468012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:12:37] local.INFO: Packet analysis {"connection_id":119447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aae"} 
[2026-07-01 04:12:37] local.INFO: Extracted packet for processing {"connection_id":119447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aae"} 
[2026-07-01 04:12:37] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04: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-01 04:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411849728001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782859089000,"timestamp_ms":1782859089000,"timestamp_seconds":1782859089,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aaec468"} 
[2026-07-01 04: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-01 04:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-01 04:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04: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-01 04: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-01 04:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":119447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":119447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":119447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411849728001,"66":25495,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411849728001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:12:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:12:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411849728001,"power":25495,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":119447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:12:37] local.INFO: GPS data processed {"connection_id":119447,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:12:37] local.INFO: Acknowledgment sent {"connection_id":119447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:13:22] local.INFO: TCP Data received {"connection_id":118799,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:13:22] local.INFO: Processing buffer {"connection_id":118799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:13:22] local.INFO: IMEI packet received {"connection_id":118799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 04:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":118799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:13:27] local.INFO: TCP Data received {"connection_id":118799,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:13:27] local.INFO: Processing buffer {"connection_id":118799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:13:27] local.INFO: IMEI packet received {"connection_id":118799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 04:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":118799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 04:13:27] local.INFO: TCP Data received {"connection_id":118799,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aaec468012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aaec468012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:13:27] local.INFO: Processing buffer {"connection_id":118799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aaec468012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:13:27] local.INFO: Packet analysis {"connection_id":118799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aae"} 
[2026-07-01 04:13:27] local.INFO: Extracted packet for processing {"connection_id":118799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aae"} 
[2026-07-01 04:13:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411849728001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:13:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:13:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782859089000,"timestamp_ms":1782859089000,"timestamp_seconds":1782859089,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aaec468"} 
[2026-07-01 04:13:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:13:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-01 04:13:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:13:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:13:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:13:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411849728001,"66":25495,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411849728001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:13:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:13:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:13:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411849728001,"power":25495,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:13:27] local.INFO: DEBUG: GPS processor result {"connection_id":118799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:13:27] local.INFO: GPS data processed {"connection_id":118799,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:13:27] local.INFO: Acknowledgment sent {"connection_id":118799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:13:58] local.INFO: TCP Data received {"connection_id":118799,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ab35c30012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ab35c30012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:13:58] local.INFO: Processing buffer {"connection_id":118799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ab35c30012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:13:58] local.INFO: Packet analysis {"connection_id":118799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ab3"} 
[2026-07-01 04:13:58] local.INFO: Extracted packet for processing {"connection_id":118799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ab3"} 
[2026-07-01 04:13:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04: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-01 04:13:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411926784001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:13:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:13:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:13:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:13:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782859390000,"timestamp_ms":1782859390000,"timestamp_seconds":1782859390,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ab35c30"} 
[2026-07-01 04: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-01 04:13:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-01 04:13:58] 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-01 04: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-01 04: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-01 04:13:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:13:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:13:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:13:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:13:58] 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-01 04:13:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:13:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:13:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411926784001,"66":25473,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:13:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:13:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:13:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411926784001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:13:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:13:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:13:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:13:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:13:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411926784001,"power":25473,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:13:58] local.INFO: DEBUG: GPS processor result {"connection_id":118799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:13:58] local.INFO: GPS data processed {"connection_id":118799,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:13:58] local.INFO: Acknowledgment sent {"connection_id":118799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:14:22] local.INFO: TCP Data received {"connection_id":118693,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:14:22] local.INFO: Processing buffer {"connection_id":118693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:14:22] local.INFO: IMEI packet received {"connection_id":118693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 04:14:22] local.INFO: IMEI acknowledgment sent {"connection_id":118693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:14:27] local.INFO: TCP Data received {"connection_id":118693,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:14:27] local.INFO: Processing buffer {"connection_id":118693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:14:27] local.INFO: IMEI packet received {"connection_id":118693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 04:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":118693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 04:14:27] local.INFO: TCP Data received {"connection_id":118693,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ab35c30012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ab35c30012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:14:27] local.INFO: Processing buffer {"connection_id":118693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ab35c30012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:14:27] local.INFO: Packet analysis {"connection_id":118693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ab3"} 
[2026-07-01 04:14:27] local.INFO: Extracted packet for processing {"connection_id":118693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ab3"} 
[2026-07-01 04:14:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411926784001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:14:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782859390000,"timestamp_ms":1782859390000,"timestamp_seconds":1782859390,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ab35c30"} 
[2026-07-01 04:14:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:14:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-01 04:14:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:14:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:14:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:14:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411926784001,"66":25473,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411926784001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:14:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:14:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411926784001,"power":25473,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":118693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:14:27] local.INFO: GPS data processed {"connection_id":118693,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:14:27] local.INFO: Acknowledgment sent {"connection_id":118693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:14:32] local.INFO: TCP Data received {"connection_id":118693,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ab35c30012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ab35c30012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:14:32] local.INFO: Processing buffer {"connection_id":118693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ab35c30012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:14:32] local.INFO: Packet analysis {"connection_id":118693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ab3"} 
[2026-07-01 04:14:32] local.INFO: Extracted packet for processing {"connection_id":118693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ab3"} 
[2026-07-01 04:14:32] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411926784001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:14:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782859390000,"timestamp_ms":1782859390000,"timestamp_seconds":1782859390,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ab35c30"} 
[2026-07-01 04:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:14:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-01 04:14:32] 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-01 04:14:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":118693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":118693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":118693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:14:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411926784001,"66":25473,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411926784001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:14:32] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:14:32] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411926784001,"power":25473,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":118693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:14:32] local.INFO: GPS data processed {"connection_id":118693,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:14:32] local.INFO: Acknowledgment sent {"connection_id":118693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:15:03] local.INFO: TCP Data received {"connection_id":118693,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ab35c30012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ab35c30012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:15:03] local.INFO: Processing buffer {"connection_id":118693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ab35c30012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:15:03] local.INFO: Packet analysis {"connection_id":118693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ab3"} 
[2026-07-01 04:15:03] local.INFO: Extracted packet for processing {"connection_id":118693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ab3"} 
[2026-07-01 04:15:03] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411926784001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782859390000,"timestamp_ms":1782859390000,"timestamp_seconds":1782859390,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ab35c30"} 
[2026-07-01 04:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-01 04:15:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":118693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":118693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":118693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:15:03] 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-01 04:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411926784001,"66":25473,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411926784001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:15:03] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:15:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411926784001,"power":25473,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":118693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:15:03] local.INFO: GPS data processed {"connection_id":118693,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:15:03] local.INFO: Acknowledgment sent {"connection_id":118693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:15:22] local.INFO: TCP Data received {"connection_id":118801,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:15:22] local.INFO: Processing buffer {"connection_id":118801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:15:22] local.INFO: IMEI packet received {"connection_id":118801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 04:15:22] local.INFO: IMEI acknowledgment sent {"connection_id":118801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:15:27] local.INFO: TCP Data received {"connection_id":118801,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:15:27] local.INFO: Processing buffer {"connection_id":118801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:15:27] local.INFO: IMEI packet received {"connection_id":118801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 04:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":118801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 04:15:27] local.INFO: TCP Data received {"connection_id":118801,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ab35c30012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ab35c30012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:15:27] local.INFO: Processing buffer {"connection_id":118801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ab35c30012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:15:27] local.INFO: Packet analysis {"connection_id":118801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ab3"} 
[2026-07-01 04:15:27] local.INFO: Extracted packet for processing {"connection_id":118801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ab3"} 
[2026-07-01 04:15:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:15:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411926784001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:15:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:15:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:15:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:15:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782859390000,"timestamp_ms":1782859390000,"timestamp_seconds":1782859390,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ab35c30"} 
[2026-07-01 04:15:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:15:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-01 04:15:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:15:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:15:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:15:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:15:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:15:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:15:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:15:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:15:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:15:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:15:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411926784001,"66":25473,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:15:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:15:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:15:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411926784001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:15:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:15:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:15:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:15:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:15:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411926784001,"power":25473,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:15:27] local.INFO: DEBUG: GPS processor result {"connection_id":118801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:15:27] local.INFO: GPS data processed {"connection_id":118801,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:15:27] local.INFO: Acknowledgment sent {"connection_id":118801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:15:47] local.INFO: TCP Data received {"connection_id":118800,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 04:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118800,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 04:15:47] local.INFO: Processing buffer {"connection_id":118800,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 04:15:47] local.INFO: IMEI packet received {"connection_id":118800,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 04:15:47] local.INFO: IMEI acknowledgment sent {"connection_id":118800,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:15:58] local.INFO: TCP Data received {"connection_id":118801,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ab35c30012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ab35c30012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:15:58] local.INFO: Processing buffer {"connection_id":118801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ab35c30012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:15:58] local.INFO: Packet analysis {"connection_id":118801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ab3"} 
[2026-07-01 04:15:58] local.INFO: Extracted packet for processing {"connection_id":118801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ab3"} 
[2026-07-01 04:15:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04: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-01 04:15:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411926784001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:15:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:15:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:15:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:15:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782859390000,"timestamp_ms":1782859390000,"timestamp_seconds":1782859390,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ab35c30"} 
[2026-07-01 04: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-01 04:15:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-01 04:15:58] 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-01 04: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-01 04: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-01 04:15:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:15:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:15:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:15:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:15:58] 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-01 04:15:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:15:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:15:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411926784001,"66":25473,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:15:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:15:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:15:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411926784001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:15:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:15:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:15:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:15:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:15:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411926784001,"power":25473,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:15:58] local.INFO: DEBUG: GPS processor result {"connection_id":118801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:15:58] local.INFO: GPS data processed {"connection_id":118801,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:15:58] local.INFO: Acknowledgment sent {"connection_id":118801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:16:16] local.INFO: TCP Data received {"connection_id":118694,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 04:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118694,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 04:16:16] local.INFO: Processing buffer {"connection_id":118694,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 04:16:16] local.INFO: IMEI packet received {"connection_id":118694,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 04:16:16] local.INFO: IMEI acknowledgment sent {"connection_id":118694,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:16:22] local.INFO: TCP Data received {"connection_id":120548,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:16:22] local.INFO: Processing buffer {"connection_id":120548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:16:22] local.INFO: IMEI packet received {"connection_id":120548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 04:16:22] local.INFO: IMEI acknowledgment sent {"connection_id":120548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:16:27] local.INFO: TCP Data received {"connection_id":120548,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:16:27] local.INFO: Processing buffer {"connection_id":120548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:16:27] local.INFO: IMEI packet received {"connection_id":120548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 04:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":120548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 04:16:27] local.INFO: TCP Data received {"connection_id":120548,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ab35c30012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ab35c30012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:16:27] local.INFO: Processing buffer {"connection_id":120548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ab35c30012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:16:27] local.INFO: Packet analysis {"connection_id":120548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ab3"} 
[2026-07-01 04:16:27] local.INFO: Extracted packet for processing {"connection_id":120548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ab3"} 
[2026-07-01 04:16:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411926784001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:16:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782859390000,"timestamp_ms":1782859390000,"timestamp_seconds":1782859390,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ab35c30"} 
[2026-07-01 04:16:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:16:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-01 04:16:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:16:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:16:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:16:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411926784001,"66":25473,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411926784001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:16:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:16:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411926784001,"power":25473,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":120548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:16:27] local.INFO: GPS data processed {"connection_id":120548,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:16:27] local.INFO: Acknowledgment sent {"connection_id":120548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:16:59] local.INFO: TCP Data received {"connection_id":120548,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ab35c30012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ab35c30012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:16:59] local.INFO: Processing buffer {"connection_id":120548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ab35c30012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:16:59] local.INFO: Packet analysis {"connection_id":120548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ab3"} 
[2026-07-01 04:16:59] local.INFO: Extracted packet for processing {"connection_id":120548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ab3"} 
[2026-07-01 04:16:59] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411926784001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:16:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782859390000,"timestamp_ms":1782859390000,"timestamp_seconds":1782859390,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ab35c30"} 
[2026-07-01 04:16:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:16:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-01 04:16:59] 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-01 04:16:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:16:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":120548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":120548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":120548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:16: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-01 04:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411926784001,"66":25473,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411926784001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:16:59] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:16:59] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411926784001,"power":25473,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":120548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:16:59] local.INFO: GPS data processed {"connection_id":120548,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:16:59] local.INFO: Acknowledgment sent {"connection_id":120548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:17:22] local.INFO: TCP Data received {"connection_id":118696,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:17:22] local.INFO: Processing buffer {"connection_id":118696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:17:22] local.INFO: IMEI packet received {"connection_id":118696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 04:17:22] local.INFO: IMEI acknowledgment sent {"connection_id":118696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:17:27] local.INFO: TCP Data received {"connection_id":118696,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:17:27] local.INFO: Processing buffer {"connection_id":118696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:17:27] local.INFO: IMEI packet received {"connection_id":118696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 04:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":118696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 04:17:27] local.INFO: TCP Data received {"connection_id":118696,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ab35c30012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ab35c30012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:17:27] local.INFO: Processing buffer {"connection_id":118696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ab35c30012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:17:27] local.INFO: Packet analysis {"connection_id":118696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ab3"} 
[2026-07-01 04:17:27] local.INFO: Extracted packet for processing {"connection_id":118696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ab3"} 
[2026-07-01 04:17:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411926784001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:17:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782859390000,"timestamp_ms":1782859390000,"timestamp_seconds":1782859390,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ab35c30"} 
[2026-07-01 04:17:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:17:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-01 04:17:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:17:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:17:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:17:27] 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-01 04:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411926784001,"66":25473,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411926784001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:17:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:17:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411926784001,"power":25473,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":118696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:17:27] local.INFO: GPS data processed {"connection_id":118696,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:17:27] local.INFO: Acknowledgment sent {"connection_id":118696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:17:59] local.INFO: TCP Data received {"connection_id":118696,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ab35c30012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ab35c30012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:17:59] local.INFO: Processing buffer {"connection_id":118696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ab35c30012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:17:59] local.INFO: Packet analysis {"connection_id":118696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ab3"} 
[2026-07-01 04:17:59] local.INFO: Extracted packet for processing {"connection_id":118696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ab3"} 
[2026-07-01 04:17:59] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411926784001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:17:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782859390000,"timestamp_ms":1782859390000,"timestamp_seconds":1782859390,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ab35c30"} 
[2026-07-01 04:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:17:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-01 04:17:59] 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-01 04:17:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:17:59] 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-01 04:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411926784001,"66":25473,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411926784001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:17:59] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:17:59] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411926784001,"power":25473,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":118696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:17:59] local.INFO: GPS data processed {"connection_id":118696,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:17:59] local.INFO: Acknowledgment sent {"connection_id":118696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:18:27] local.INFO: TCP Data received {"connection_id":119450,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:18:27] local.INFO: Processing buffer {"connection_id":119450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:18:27] local.INFO: IMEI packet received {"connection_id":119450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 04:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":119450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:18:32] local.INFO: TCP Data received {"connection_id":119450,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:18:32] local.INFO: Processing buffer {"connection_id":119450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:18:32] local.INFO: IMEI packet received {"connection_id":119450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 04:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":119450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 04:18:32] local.INFO: TCP Data received {"connection_id":119450,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ab35c30012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ab35c30012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:18:32] local.INFO: Processing buffer {"connection_id":119450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ab35c30012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:18:32] local.INFO: Packet analysis {"connection_id":119450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ab3"} 
[2026-07-01 04:18:32] local.INFO: Extracted packet for processing {"connection_id":119450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ab3"} 
[2026-07-01 04:18:32] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456411926784001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782859390000,"timestamp_ms":1782859390000,"timestamp_seconds":1782859390,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ab35c30"} 
[2026-07-01 04:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:18:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-01 04:18:32] 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-01 04:18:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":119450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":119450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":119450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456411926784001,"66":25473,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456411926784001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:18:32] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:18:32] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456411926784001,"power":25473,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":119450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:18:32] local.INFO: GPS data processed {"connection_id":119450,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:18:32] local.INFO: Acknowledgment sent {"connection_id":119450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:19:03] local.INFO: TCP Data received {"connection_id":119450,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ab7f3f8012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ab7f3f8012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:19:03] local.INFO: Processing buffer {"connection_id":119450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ab7f3f8012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:19:03] local.INFO: Packet analysis {"connection_id":119450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ab7"} 
[2026-07-01 04:19:03] local.INFO: Extracted packet for processing {"connection_id":119450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ab7"} 
[2026-07-01 04:19:03] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":44,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412003840001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782859691000,"timestamp_ms":1782859691000,"timestamp_seconds":1782859691,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ab7f3f8"} 
[2026-07-01 04:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-01 04:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:19:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":119450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":119450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":119450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412003840001,"66":25462,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412003840001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:19:03] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:19:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412003840001,"power":25462,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":119450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:19:03] local.INFO: GPS data processed {"connection_id":119450,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:19:03] local.INFO: Acknowledgment sent {"connection_id":119450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:19:22] local.INFO: TCP Data received {"connection_id":118802,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:19:22] local.INFO: Processing buffer {"connection_id":118802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:19:22] local.INFO: IMEI packet received {"connection_id":118802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 04:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":118802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:19:27] local.INFO: TCP Data received {"connection_id":118802,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:19:27] local.INFO: Processing buffer {"connection_id":118802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:19:27] local.INFO: IMEI packet received {"connection_id":118802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 04:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":118802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 04:19:27] local.INFO: TCP Data received {"connection_id":118802,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ab7f3f8012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ab7f3f8012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:19:27] local.INFO: Processing buffer {"connection_id":118802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ab7f3f8012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:19:27] local.INFO: Packet analysis {"connection_id":118802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ab7"} 
[2026-07-01 04:19:27] local.INFO: Extracted packet for processing {"connection_id":118802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ab7"} 
[2026-07-01 04:19:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":44,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:19:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412003840001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:19:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:19:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:19:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:19:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782859691000,"timestamp_ms":1782859691000,"timestamp_seconds":1782859691,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ab7f3f8"} 
[2026-07-01 04:19:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:19:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-01 04:19:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:19:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:19:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:19:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:19:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:19:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:19:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:19:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:19:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:19:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:19:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412003840001,"66":25462,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:19:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:19:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:19:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412003840001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:19:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:19:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:19:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:19:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:19:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412003840001,"power":25462,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:19:27] local.INFO: DEBUG: GPS processor result {"connection_id":118802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:19:27] local.INFO: GPS data processed {"connection_id":118802,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:19:27] local.INFO: Acknowledgment sent {"connection_id":118802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:19:58] local.INFO: TCP Data received {"connection_id":118802,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ab7f3f8012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ab7f3f8012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:19:58] local.INFO: Processing buffer {"connection_id":118802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ab7f3f8012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:19:58] local.INFO: Packet analysis {"connection_id":118802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ab7"} 
[2026-07-01 04:19:58] local.INFO: Extracted packet for processing {"connection_id":118802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ab7"} 
[2026-07-01 04:19:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":44,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:19:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412003840001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:19:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:19:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:19:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:19:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782859691000,"timestamp_ms":1782859691000,"timestamp_seconds":1782859691,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ab7f3f8"} 
[2026-07-01 04:19:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:19:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-01 04:19:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:19:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:19:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:19:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:19:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:19:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:19:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:19:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:19:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:19:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:19:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412003840001,"66":25462,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:19:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:19:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:19:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412003840001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:19:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:19:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:19:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:19:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:19:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412003840001,"power":25462,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:19:58] local.INFO: DEBUG: GPS processor result {"connection_id":118802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:19:58] local.INFO: GPS data processed {"connection_id":118802,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:19:58] local.INFO: Acknowledgment sent {"connection_id":118802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:20:22] local.INFO: TCP Data received {"connection_id":118804,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:20:22] local.INFO: Processing buffer {"connection_id":118804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:20:22] local.INFO: IMEI packet received {"connection_id":118804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 04:20:22] local.INFO: IMEI acknowledgment sent {"connection_id":118804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:20:27] local.INFO: TCP Data received {"connection_id":118804,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:20:27] local.INFO: Processing buffer {"connection_id":118804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:20:27] local.INFO: IMEI packet received {"connection_id":118804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 04:20:27] local.INFO: IMEI acknowledgment sent {"connection_id":118804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 04:20:27] local.INFO: TCP Data received {"connection_id":118804,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ab7f3f8012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ab7f3f8012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:20:27] local.INFO: Processing buffer {"connection_id":118804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ab7f3f8012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:20:27] local.INFO: Packet analysis {"connection_id":118804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ab7"} 
[2026-07-01 04:20:27] local.INFO: Extracted packet for processing {"connection_id":118804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ab7"} 
[2026-07-01 04:20:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":44,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412003840001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:20:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:20:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782859691000,"timestamp_ms":1782859691000,"timestamp_seconds":1782859691,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ab7f3f8"} 
[2026-07-01 04:20:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:20:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-01 04:20:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:20:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:20:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:20:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412003840001,"66":25462,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412003840001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:20:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:20:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:20:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412003840001,"power":25462,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":118804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:20:27] local.INFO: GPS data processed {"connection_id":118804,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:20:27] local.INFO: Acknowledgment sent {"connection_id":118804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:20:58] local.INFO: TCP Data received {"connection_id":118804,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ab7f3f8012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ab7f3f8012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:20:58] local.INFO: Processing buffer {"connection_id":118804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ab7f3f8012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:20:58] local.INFO: Packet analysis {"connection_id":118804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ab7"} 
[2026-07-01 04:20:58] local.INFO: Extracted packet for processing {"connection_id":118804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ab7"} 
[2026-07-01 04:20:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":44,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04: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-01 04:20:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412003840001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:20:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:20:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782859691000,"timestamp_ms":1782859691000,"timestamp_seconds":1782859691,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ab7f3f8"} 
[2026-07-01 04: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-01 04:20:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-01 04:20:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04: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-01 04: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-01 04:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:20:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:20:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412003840001,"66":25462,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:20:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:20:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:20:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412003840001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:20:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:20:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:20:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:20:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:20:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412003840001,"power":25462,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:20:58] local.INFO: DEBUG: GPS processor result {"connection_id":118804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:20:58] local.INFO: GPS data processed {"connection_id":118804,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:20:58] local.INFO: Acknowledgment sent {"connection_id":118804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:21:22] local.INFO: TCP Data received {"connection_id":120550,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:21:22] local.INFO: Processing buffer {"connection_id":120550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:21:22] local.INFO: IMEI packet received {"connection_id":120550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 04:21:22] local.INFO: IMEI acknowledgment sent {"connection_id":120550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:21:27] local.INFO: TCP Data received {"connection_id":120550,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:21:27] local.INFO: Processing buffer {"connection_id":120550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:21:27] local.INFO: IMEI packet received {"connection_id":120550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 04:21:27] local.INFO: IMEI acknowledgment sent {"connection_id":120550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 04:21:27] local.INFO: TCP Data received {"connection_id":120550,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ab7f3f8012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ab7f3f8012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:21:27] local.INFO: Processing buffer {"connection_id":120550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ab7f3f8012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:21:27] local.INFO: Packet analysis {"connection_id":120550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ab7"} 
[2026-07-01 04:21:27] local.INFO: Extracted packet for processing {"connection_id":120550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ab7"} 
[2026-07-01 04:21:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":44,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:21:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412003840001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:21:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:21:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:21:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:21:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782859691000,"timestamp_ms":1782859691000,"timestamp_seconds":1782859691,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ab7f3f8"} 
[2026-07-01 04:21:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:21:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-01 04:21:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:21:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:21:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:21:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:21:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:21:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:21:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:21:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:21:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:21:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:21:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412003840001,"66":25462,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:21:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:21:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:21:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412003840001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:21:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:21:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:21:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:21:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:21:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412003840001,"power":25462,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:21:27] local.INFO: DEBUG: GPS processor result {"connection_id":120550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:21:27] local.INFO: GPS data processed {"connection_id":120550,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:21:27] local.INFO: Acknowledgment sent {"connection_id":120550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:21:42] local.INFO: TCP Data received {"connection_id":119451,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 04:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119451,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 04:21:42] local.INFO: Processing buffer {"connection_id":119451,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 04:21:42] local.INFO: IMEI packet received {"connection_id":119451,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 04:21:42] local.INFO: IMEI acknowledgment sent {"connection_id":119451,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:21:58] local.INFO: TCP Data received {"connection_id":120550,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ab7f3f8012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ab7f3f8012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:21:58] local.INFO: Processing buffer {"connection_id":120550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ab7f3f8012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:21:58] local.INFO: Packet analysis {"connection_id":120550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ab7"} 
[2026-07-01 04:21:58] local.INFO: Extracted packet for processing {"connection_id":120550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ab7"} 
[2026-07-01 04:21:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":44,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:21:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412003840001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:21:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:21:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:21:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:21:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782859691000,"timestamp_ms":1782859691000,"timestamp_seconds":1782859691,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ab7f3f8"} 
[2026-07-01 04:21:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:21:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-01 04:21:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:21:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:21:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:21:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:21:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:21:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:21:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:21:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:21:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:21:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:21:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412003840001,"66":25462,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:21:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:21:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:21:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412003840001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:21:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:21:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:21:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:21:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:21:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412003840001,"power":25462,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:21:58] local.INFO: DEBUG: GPS processor result {"connection_id":120550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:21:58] local.INFO: GPS data processed {"connection_id":120550,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:21:58] local.INFO: Acknowledgment sent {"connection_id":120550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:22:16] local.INFO: TCP Data received {"connection_id":120551,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 04:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120551,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 04:22:16] local.INFO: Processing buffer {"connection_id":120551,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 04:22:16] local.INFO: IMEI packet received {"connection_id":120551,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 04:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":120551,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:22:27] local.INFO: TCP Data received {"connection_id":118805,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:22:27] local.INFO: Processing buffer {"connection_id":118805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:22:27] local.INFO: IMEI packet received {"connection_id":118805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 04:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":118805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:22:32] local.INFO: TCP Data received {"connection_id":118805,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:22:32] local.INFO: Processing buffer {"connection_id":118805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:22:32] local.INFO: IMEI packet received {"connection_id":118805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 04:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":118805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 04:22:32] local.INFO: TCP Data received {"connection_id":118805,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ab7f3f8012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ab7f3f8012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:22:32] local.INFO: Processing buffer {"connection_id":118805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ab7f3f8012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:22:32] local.INFO: Packet analysis {"connection_id":118805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ab7"} 
[2026-07-01 04:22:32] local.INFO: Extracted packet for processing {"connection_id":118805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ab7"} 
[2026-07-01 04:22:32] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":44,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412003840001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:22:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782859691000,"timestamp_ms":1782859691000,"timestamp_seconds":1782859691,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ab7f3f8"} 
[2026-07-01 04:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:22:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-01 04:22:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:22:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":118805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":118805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":118805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412003840001,"66":25462,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412003840001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:22:32] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:22:32] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412003840001,"power":25462,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":118805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:22:32] local.INFO: GPS data processed {"connection_id":118805,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:22:32] local.INFO: Acknowledgment sent {"connection_id":118805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:22:37] local.INFO: TCP Data received {"connection_id":118805,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ab7f3f8012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ab7f3f8012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:22:37] local.INFO: Processing buffer {"connection_id":118805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ab7f3f8012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:22:37] local.INFO: Packet analysis {"connection_id":118805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ab7"} 
[2026-07-01 04:22:37] local.INFO: Extracted packet for processing {"connection_id":118805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ab7"} 
[2026-07-01 04:22:37] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":44,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412003840001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782859691000,"timestamp_ms":1782859691000,"timestamp_seconds":1782859691,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ab7f3f8"} 
[2026-07-01 04:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-01 04:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:22:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":118805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":118805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":118805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412003840001,"66":25462,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412003840001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:22:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:22:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412003840001,"power":25462,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":118805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:22:37] local.INFO: GPS data processed {"connection_id":118805,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:22:37] local.INFO: Acknowledgment sent {"connection_id":118805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:23:22] local.INFO: TCP Data received {"connection_id":118807,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:23:22] local.INFO: Processing buffer {"connection_id":118807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:23:22] local.INFO: IMEI packet received {"connection_id":118807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 04:23:22] local.INFO: IMEI acknowledgment sent {"connection_id":118807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:23:27] local.INFO: TCP Data received {"connection_id":118807,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:23:27] local.INFO: Processing buffer {"connection_id":118807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:23:27] local.INFO: IMEI packet received {"connection_id":118807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 04:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":118807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 04:23:28] local.INFO: TCP Data received {"connection_id":118807,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ab7f3f8012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ab7f3f8012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:23:28] local.INFO: Processing buffer {"connection_id":118807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ab7f3f8012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:23:28] local.INFO: Packet analysis {"connection_id":118807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ab7"} 
[2026-07-01 04:23:28] local.INFO: Extracted packet for processing {"connection_id":118807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ab7"} 
[2026-07-01 04:23:28] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":44,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:23:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412003840001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:23:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:23:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:23:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:23:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782859691000,"timestamp_ms":1782859691000,"timestamp_seconds":1782859691,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ab7f3f8"} 
[2026-07-01 04:23:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:23:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-01 04:23:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:23:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:23:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:23:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:23:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:23:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:23:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:23:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:23:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:23:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:23:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412003840001,"66":25462,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:23:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:23:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:23:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412003840001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:23:28] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:23:28] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:23:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:23:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:23:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412003840001,"power":25462,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:23:28] local.INFO: DEBUG: GPS processor result {"connection_id":118807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:23:28] local.INFO: GPS data processed {"connection_id":118807,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:23:28] local.INFO: Acknowledgment sent {"connection_id":118807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:24:02] local.INFO: TCP Data received {"connection_id":118807,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1abc8bc0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1abc8bc0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:24:02] local.INFO: Processing buffer {"connection_id":118807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1abc8bc0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:24:02] local.INFO: Packet analysis {"connection_id":118807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1abc"} 
[2026-07-01 04:24:02] local.INFO: Extracted packet for processing {"connection_id":118807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1abc"} 
[2026-07-01 04:24:02] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":44,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412080896001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:24:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:24:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782859992000,"timestamp_ms":1782859992000,"timestamp_seconds":1782859992,"priority":1,"record_length":96,"hex_timestamp":"0000019f1abc8bc0"} 
[2026-07-01 04:24:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:24:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-01 04:24:02] 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-01 04:24:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:24:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":118807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":118807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":118807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:24:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412080896001,"66":25462,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412080896001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:24:02] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:24:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:24:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412080896001,"power":25462,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":118807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:24:02] local.INFO: GPS data processed {"connection_id":118807,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:24:02] local.INFO: Acknowledgment sent {"connection_id":118807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:24:22] local.INFO: TCP Data received {"connection_id":118697,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:24:22] local.INFO: Processing buffer {"connection_id":118697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:24:22] local.INFO: IMEI packet received {"connection_id":118697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 04:24:22] local.INFO: IMEI acknowledgment sent {"connection_id":118697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:24:27] local.INFO: TCP Data received {"connection_id":118697,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:24:27] local.INFO: Processing buffer {"connection_id":118697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:24:27] local.INFO: IMEI packet received {"connection_id":118697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 04:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":118697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 04:24:27] local.INFO: TCP Data received {"connection_id":118697,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1abc8bc0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1abc8bc0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:24:27] local.INFO: Processing buffer {"connection_id":118697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1abc8bc0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:24:27] local.INFO: Packet analysis {"connection_id":118697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1abc"} 
[2026-07-01 04:24:27] local.INFO: Extracted packet for processing {"connection_id":118697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1abc"} 
[2026-07-01 04:24:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":44,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:24:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412080896001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:24:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:24:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:24:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:24:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782859992000,"timestamp_ms":1782859992000,"timestamp_seconds":1782859992,"priority":1,"record_length":96,"hex_timestamp":"0000019f1abc8bc0"} 
[2026-07-01 04:24:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:24:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-01 04:24:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:24:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:24:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:24:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:24:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:24:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:24:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:24:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:24:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:24:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:24:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412080896001,"66":25462,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:24:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:24:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:24:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412080896001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:24:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:24:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:24:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:24:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:24:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412080896001,"power":25462,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:24:27] local.INFO: DEBUG: GPS processor result {"connection_id":118697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:24:27] local.INFO: GPS data processed {"connection_id":118697,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:24:27] local.INFO: Acknowledgment sent {"connection_id":118697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:24:58] local.INFO: TCP Data received {"connection_id":118697,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1abc8bc0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1abc8bc0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:24:58] local.INFO: Processing buffer {"connection_id":118697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1abc8bc0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:24:58] local.INFO: Packet analysis {"connection_id":118697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1abc"} 
[2026-07-01 04:24:58] local.INFO: Extracted packet for processing {"connection_id":118697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1abc"} 
[2026-07-01 04:24:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":44,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04: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-01 04:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412080896001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:24:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:24:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:24:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:24:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782859992000,"timestamp_ms":1782859992000,"timestamp_seconds":1782859992,"priority":1,"record_length":96,"hex_timestamp":"0000019f1abc8bc0"} 
[2026-07-01 04: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-01 04:24:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-01 04:24:58] 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-01 04: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-01 04: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-01 04:24:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:24:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:24:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:24:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:24:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:24:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:24:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:24:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412080896001,"66":25462,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:24:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:24:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:24:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412080896001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:24:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:24:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:24:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:24:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:24:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412080896001,"power":25462,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:24:58] local.INFO: DEBUG: GPS processor result {"connection_id":118697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:24:58] local.INFO: GPS data processed {"connection_id":118697,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:24:58] local.INFO: Acknowledgment sent {"connection_id":118697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:25:22] local.INFO: TCP Data received {"connection_id":120553,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:25:22] local.INFO: Processing buffer {"connection_id":120553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:25:22] local.INFO: IMEI packet received {"connection_id":120553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 04:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":120553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:25:27] local.INFO: TCP Data received {"connection_id":120553,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:25:27] local.INFO: Processing buffer {"connection_id":120553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:25:27] local.INFO: IMEI packet received {"connection_id":120553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 04:25:27] local.INFO: IMEI acknowledgment sent {"connection_id":120553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 04:25:27] local.INFO: TCP Data received {"connection_id":120553,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1abc8bc0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1abc8bc0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:25:27] local.INFO: Processing buffer {"connection_id":120553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1abc8bc0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:25:27] local.INFO: Packet analysis {"connection_id":120553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1abc"} 
[2026-07-01 04:25:27] local.INFO: Extracted packet for processing {"connection_id":120553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1abc"} 
[2026-07-01 04:25:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":44,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412080896001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:25:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782859992000,"timestamp_ms":1782859992000,"timestamp_seconds":1782859992,"priority":1,"record_length":96,"hex_timestamp":"0000019f1abc8bc0"} 
[2026-07-01 04:25:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:25:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-01 04:25:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:25:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:25:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:25:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412080896001,"66":25462,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412080896001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:25:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:25:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412080896001,"power":25462,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":120553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:25:27] local.INFO: GPS data processed {"connection_id":120553,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:25:27] local.INFO: Acknowledgment sent {"connection_id":120553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:25:52] local.INFO: TCP Data received {"connection_id":118809,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:25:52] local.INFO: Processing buffer {"connection_id":118809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:25:52] local.INFO: IMEI packet received {"connection_id":118809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 04:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":118809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:25:57] local.INFO: TCP Data received {"connection_id":118809,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:25:57] local.INFO: Processing buffer {"connection_id":118809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:25:57] local.INFO: IMEI packet received {"connection_id":118809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 04:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":118809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 04:25:58] local.INFO: TCP Data received {"connection_id":118809,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1abc8bc0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1abc8bc0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:25:58] local.INFO: Processing buffer {"connection_id":118809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1abc8bc0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:25:58] local.INFO: Packet analysis {"connection_id":118809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1abc"} 
[2026-07-01 04:25:58] local.INFO: Extracted packet for processing {"connection_id":118809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1abc"} 
[2026-07-01 04:25:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":44,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04: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-01 04:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412080896001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:25:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:25:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782859992000,"timestamp_ms":1782859992000,"timestamp_seconds":1782859992,"priority":1,"record_length":96,"hex_timestamp":"0000019f1abc8bc0"} 
[2026-07-01 04: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-01 04:25:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-01 04:25:58] 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-01 04: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-01 04: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-01 04:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:25:58] 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-01 04:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412080896001,"66":25462,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412080896001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:25:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:25:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:25:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412080896001,"power":25462,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":118809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:25:58] local.INFO: GPS data processed {"connection_id":118809,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:25:58] local.INFO: Acknowledgment sent {"connection_id":118809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:26:27] local.INFO: TCP Data received {"connection_id":119452,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:26:27] local.INFO: Processing buffer {"connection_id":119452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:26:27] local.INFO: IMEI packet received {"connection_id":119452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 04:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":119452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:26:32] local.INFO: TCP Data received {"connection_id":119452,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:26:32] local.INFO: Processing buffer {"connection_id":119452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:26:32] local.INFO: IMEI packet received {"connection_id":119452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 04:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":119452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 04:26:32] local.INFO: TCP Data received {"connection_id":119452,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1abc8bc0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1abc8bc0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:26:32] local.INFO: Processing buffer {"connection_id":119452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1abc8bc0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:26:32] local.INFO: Packet analysis {"connection_id":119452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1abc"} 
[2026-07-01 04:26:32] local.INFO: Extracted packet for processing {"connection_id":119452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1abc"} 
[2026-07-01 04:26:32] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":44,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04: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-01 04:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412080896001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782859992000,"timestamp_ms":1782859992000,"timestamp_seconds":1782859992,"priority":1,"record_length":96,"hex_timestamp":"0000019f1abc8bc0"} 
[2026-07-01 04: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-01 04:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-01 04:26:33] 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-01 04: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-01 04: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-01 04:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":119452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":119452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":119452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412080896001,"66":25462,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412080896001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:26:33] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:26:33] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412080896001,"power":25462,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":119452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:26:33] local.INFO: GPS data processed {"connection_id":119452,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:26:33] local.INFO: Acknowledgment sent {"connection_id":119452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:26:37] local.INFO: TCP Data received {"connection_id":119452,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1abc8bc0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1abc8bc0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:26:37] local.INFO: Processing buffer {"connection_id":119452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1abc8bc0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:26:37] local.INFO: Packet analysis {"connection_id":119452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1abc"} 
[2026-07-01 04:26:37] local.INFO: Extracted packet for processing {"connection_id":119452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1abc"} 
[2026-07-01 04:26:37] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":44,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412080896001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782859992000,"timestamp_ms":1782859992000,"timestamp_seconds":1782859992,"priority":1,"record_length":96,"hex_timestamp":"0000019f1abc8bc0"} 
[2026-07-01 04:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-01 04:26:37] 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-01 04:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":119452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":119452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":119452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412080896001,"66":25462,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412080896001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:26:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:26:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412080896001,"power":25462,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":119452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:26:37] local.INFO: GPS data processed {"connection_id":119452,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:26:37] local.INFO: Acknowledgment sent {"connection_id":119452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:27:21] local.INFO: TCP Data received {"connection_id":120554,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:27:21] local.INFO: Processing buffer {"connection_id":120554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:27:21] local.INFO: IMEI packet received {"connection_id":120554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 04:27:21] local.INFO: IMEI acknowledgment sent {"connection_id":120554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:27:27] local.INFO: TCP Data received {"connection_id":120554,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:27:27] local.INFO: Processing buffer {"connection_id":120554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:27:27] local.INFO: IMEI packet received {"connection_id":120554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 04:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":120554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 04:27:27] local.INFO: TCP Data received {"connection_id":120554,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1abc8bc0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1abc8bc0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:27:27] local.INFO: Processing buffer {"connection_id":120554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1abc8bc0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:27:27] local.INFO: Packet analysis {"connection_id":120554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1abc"} 
[2026-07-01 04:27:27] local.INFO: Extracted packet for processing {"connection_id":120554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1abc"} 
[2026-07-01 04:27:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":44,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412080896001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:27:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782859992000,"timestamp_ms":1782859992000,"timestamp_seconds":1782859992,"priority":1,"record_length":96,"hex_timestamp":"0000019f1abc8bc0"} 
[2026-07-01 04:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:27:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-01 04:27:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:27:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:27:27] 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-01 04:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412080896001,"66":25462,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412080896001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:27:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:27:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412080896001,"power":25462,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":120554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:27:27] local.INFO: GPS data processed {"connection_id":120554,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:27:27] local.INFO: Acknowledgment sent {"connection_id":120554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:27:47] local.INFO: TCP Data received {"connection_id":118810,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 04:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118810,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 04:27:47] local.INFO: Processing buffer {"connection_id":118810,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 04:27:47] local.INFO: IMEI packet received {"connection_id":118810,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 04:27:47] local.INFO: IMEI acknowledgment sent {"connection_id":118810,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:27:58] local.INFO: TCP Data received {"connection_id":120554,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1abc8bc0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1abc8bc0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:27:58] local.INFO: Processing buffer {"connection_id":120554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1abc8bc0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:27:58] local.INFO: Packet analysis {"connection_id":120554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1abc"} 
[2026-07-01 04:27:58] local.INFO: Extracted packet for processing {"connection_id":120554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1abc"} 
[2026-07-01 04:27:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":44,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04: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-01 04:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412080896001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:27:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:27:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782859992000,"timestamp_ms":1782859992000,"timestamp_seconds":1782859992,"priority":1,"record_length":96,"hex_timestamp":"0000019f1abc8bc0"} 
[2026-07-01 04: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-01 04:27:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-01 04:27:58] 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-01 04: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-01 04: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-01 04:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:27:58] 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-01 04:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412080896001,"66":25462,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412080896001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:27:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:27:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:27:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:27:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412080896001,"power":25462,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":120554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:27:59] local.INFO: GPS data processed {"connection_id":120554,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:27:59] local.INFO: Acknowledgment sent {"connection_id":120554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:28:16] local.INFO: TCP Data received {"connection_id":118699,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 04:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118699,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 04:28:16] local.INFO: Processing buffer {"connection_id":118699,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 04:28:16] local.INFO: IMEI packet received {"connection_id":118699,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 04:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":118699,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:28:21] local.INFO: TCP Data received {"connection_id":120555,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:28:21] local.INFO: Processing buffer {"connection_id":120555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:28:21] local.INFO: IMEI packet received {"connection_id":120555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 04:28:21] local.INFO: IMEI acknowledgment sent {"connection_id":120555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:28:27] local.INFO: TCP Data received {"connection_id":120555,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:28:27] local.INFO: Processing buffer {"connection_id":120555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:28:27] local.INFO: IMEI packet received {"connection_id":120555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 04:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":120555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 04:28:28] local.INFO: TCP Data received {"connection_id":120555,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1abc8bc0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1abc8bc0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:28:28] local.INFO: Processing buffer {"connection_id":120555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1abc8bc0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:28:28] local.INFO: Packet analysis {"connection_id":120555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1abc"} 
[2026-07-01 04:28:28] local.INFO: Extracted packet for processing {"connection_id":120555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1abc"} 
[2026-07-01 04:28:28] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":44,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:28:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412080896001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:28:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:28:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:28:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:28:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782859992000,"timestamp_ms":1782859992000,"timestamp_seconds":1782859992,"priority":1,"record_length":96,"hex_timestamp":"0000019f1abc8bc0"} 
[2026-07-01 04:28:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:28:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-01 04:28:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:28:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:28:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:28:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:28:28] local.INFO: Teltonika packet parsed successfully {"connection_id":120555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:28:28] local.INFO: Passing IMEI to GPS processor {"connection_id":120555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:28:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":120555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:28:28] 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-01 04:28:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:28:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:28:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412080896001,"66":25462,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:28:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:28:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:28:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412080896001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:28:28] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:28:28] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:28:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:28:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:28:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412080896001,"power":25462,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:28:28] local.INFO: DEBUG: GPS processor result {"connection_id":120555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:28:28] local.INFO: GPS data processed {"connection_id":120555,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:28:28] local.INFO: Acknowledgment sent {"connection_id":120555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:28:59] local.INFO: TCP Data received {"connection_id":120555,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ac12388012d4a4d80068ba5d8001101492b..."} 
[2026-07-01 04:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ac12388012d4a4d80068ba5d8001101492b..."} 
[2026-07-01 04:28:59] local.INFO: Processing buffer {"connection_id":120555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ac12388012d4a4d80068ba5d8001101492b..."} 
[2026-07-01 04:28:59] local.INFO: Packet analysis {"connection_id":120555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ac1"} 
[2026-07-01 04:28:59] local.INFO: Extracted packet for processing {"connection_id":120555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ac1"} 
[2026-07-01 04:28:59] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":43,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412157952001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:28:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782860293000,"timestamp_ms":1782860293000,"timestamp_seconds":1782860293,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ac12388"} 
[2026-07-01 04:28:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:28:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-01 04:28:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:28:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:28:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":120555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":120555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":120555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:28:59] 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-01 04:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412157952001,"66":25419,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412157952001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:28:59] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:28:59] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412157952001,"power":25419,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":120555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:28:59] local.INFO: GPS data processed {"connection_id":120555,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:28:59] local.INFO: Acknowledgment sent {"connection_id":120555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:29:26] local.INFO: TCP Data received {"connection_id":118700,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:29:27] local.INFO: Processing buffer {"connection_id":118700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:29:27] local.INFO: IMEI packet received {"connection_id":118700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 04:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":118700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:29:31] local.INFO: TCP Data received {"connection_id":118700,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:29:31] local.INFO: Processing buffer {"connection_id":118700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:29:31] local.INFO: IMEI packet received {"connection_id":118700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 04:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":118700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 04:29:32] local.INFO: TCP Data received {"connection_id":118700,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ac12388012d4a4d80068ba5d8001101492b..."} 
[2026-07-01 04:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ac12388012d4a4d80068ba5d8001101492b..."} 
[2026-07-01 04:29:32] local.INFO: Processing buffer {"connection_id":118700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ac12388012d4a4d80068ba5d8001101492b..."} 
[2026-07-01 04:29:32] local.INFO: Packet analysis {"connection_id":118700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ac1"} 
[2026-07-01 04:29:32] local.INFO: Extracted packet for processing {"connection_id":118700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ac1"} 
[2026-07-01 04:29:32] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":43,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412157952001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782860293000,"timestamp_ms":1782860293000,"timestamp_seconds":1782860293,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ac12388"} 
[2026-07-01 04:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:29:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-01 04:29:32] 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-01 04:29:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":118700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":118700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":118700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412157952001,"66":25419,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412157952001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:29:32] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:29:32] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412157952001,"power":25419,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":118700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:29:32] local.INFO: GPS data processed {"connection_id":118700,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:29:32] local.INFO: Acknowledgment sent {"connection_id":118700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:29:37] local.INFO: TCP Data received {"connection_id":118700,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ac12388012d4a4d80068ba5d8001101492b..."} 
[2026-07-01 04:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ac12388012d4a4d80068ba5d8001101492b..."} 
[2026-07-01 04:29:37] local.INFO: Processing buffer {"connection_id":118700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ac12388012d4a4d80068ba5d8001101492b..."} 
[2026-07-01 04:29:37] local.INFO: Packet analysis {"connection_id":118700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ac1"} 
[2026-07-01 04:29:37] local.INFO: Extracted packet for processing {"connection_id":118700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ac1"} 
[2026-07-01 04:29:37] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":43,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412157952001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782860293000,"timestamp_ms":1782860293000,"timestamp_seconds":1782860293,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ac12388"} 
[2026-07-01 04:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-01 04:29:37] 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-01 04:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":118700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":118700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":118700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412157952001,"66":25419,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412157952001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:29:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:29:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412157952001,"power":25419,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":118700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:29:37] local.INFO: GPS data processed {"connection_id":118700,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:29:37] local.INFO: Acknowledgment sent {"connection_id":118700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:30:21] local.INFO: TCP Data received {"connection_id":120557,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:30:21] local.INFO: Processing buffer {"connection_id":120557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:30:21] local.INFO: IMEI packet received {"connection_id":120557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 04:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":120557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:30:27] local.INFO: TCP Data received {"connection_id":120557,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:30:27] local.INFO: Processing buffer {"connection_id":120557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:30:27] local.INFO: IMEI packet received {"connection_id":120557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 04:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":120557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 04:30:28] local.INFO: TCP Data received {"connection_id":120557,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ac12388012d4a4d80068ba5d8001101492b..."} 
[2026-07-01 04:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ac12388012d4a4d80068ba5d8001101492b..."} 
[2026-07-01 04:30:28] local.INFO: Processing buffer {"connection_id":120557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ac12388012d4a4d80068ba5d8001101492b..."} 
[2026-07-01 04:30:28] local.INFO: Packet analysis {"connection_id":120557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ac1"} 
[2026-07-01 04:30:28] local.INFO: Extracted packet for processing {"connection_id":120557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ac1"} 
[2026-07-01 04:30:28] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":43,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412157952001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:30:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:30:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782860293000,"timestamp_ms":1782860293000,"timestamp_seconds":1782860293,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ac12388"} 
[2026-07-01 04:30:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:30:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-01 04:30:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:30:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:30:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":120557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":120557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":120557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:30:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412157952001,"66":25419,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412157952001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:30:28] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:30:28] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:30:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412157952001,"power":25419,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":120557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:30:28] local.INFO: GPS data processed {"connection_id":120557,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:30:28] local.INFO: Acknowledgment sent {"connection_id":120557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:30:59] local.INFO: TCP Data received {"connection_id":120557,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ac12388012d4a4d80068ba5d8001101492b..."} 
[2026-07-01 04:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ac12388012d4a4d80068ba5d8001101492b..."} 
[2026-07-01 04:30:59] local.INFO: Processing buffer {"connection_id":120557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ac12388012d4a4d80068ba5d8001101492b..."} 
[2026-07-01 04:30:59] local.INFO: Packet analysis {"connection_id":120557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ac1"} 
[2026-07-01 04:30:59] local.INFO: Extracted packet for processing {"connection_id":120557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ac1"} 
[2026-07-01 04:30:59] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":43,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412157952001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:30:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782860293000,"timestamp_ms":1782860293000,"timestamp_seconds":1782860293,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ac12388"} 
[2026-07-01 04:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:30:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-01 04:30:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:30:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":120557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":120557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":120557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:30:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412157952001,"66":25419,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412157952001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:30:59] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:30:59] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412157952001,"power":25419,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":120557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:30:59] local.INFO: GPS data processed {"connection_id":120557,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:30:59] local.INFO: Acknowledgment sent {"connection_id":120557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:31:21] local.INFO: TCP Data received {"connection_id":118812,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:31:21] local.INFO: Processing buffer {"connection_id":118812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:31:21] local.INFO: IMEI packet received {"connection_id":118812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 04:31:21] local.INFO: IMEI acknowledgment sent {"connection_id":118812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:31:27] local.INFO: TCP Data received {"connection_id":118812,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:31:27] local.INFO: Processing buffer {"connection_id":118812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:31:27] local.INFO: IMEI packet received {"connection_id":118812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 04:31:27] local.INFO: IMEI acknowledgment sent {"connection_id":118812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 04:31:27] local.INFO: TCP Data received {"connection_id":118812,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ac12388012d4a4d80068ba5d8001101492b..."} 
[2026-07-01 04:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ac12388012d4a4d80068ba5d8001101492b..."} 
[2026-07-01 04:31:27] local.INFO: Processing buffer {"connection_id":118812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ac12388012d4a4d80068ba5d8001101492b..."} 
[2026-07-01 04:31:27] local.INFO: Packet analysis {"connection_id":118812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ac1"} 
[2026-07-01 04:31:27] local.INFO: Extracted packet for processing {"connection_id":118812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ac1"} 
[2026-07-01 04:31:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":43,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412157952001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:31:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:31:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782860293000,"timestamp_ms":1782860293000,"timestamp_seconds":1782860293,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ac12388"} 
[2026-07-01 04:31:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:31:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-01 04:31:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:31:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:31:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:31:27] 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-01 04:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412157952001,"66":25419,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412157952001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:31:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:31:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:31:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412157952001,"power":25419,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":118812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:31:27] local.INFO: GPS data processed {"connection_id":118812,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:31:27] local.INFO: Acknowledgment sent {"connection_id":118812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:31:58] local.INFO: TCP Data received {"connection_id":118812,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ac12388012d4a4d80068ba5d8001101492b..."} 
[2026-07-01 04:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ac12388012d4a4d80068ba5d8001101492b..."} 
[2026-07-01 04:31:58] local.INFO: Processing buffer {"connection_id":118812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ac12388012d4a4d80068ba5d8001101492b..."} 
[2026-07-01 04:31:58] local.INFO: Packet analysis {"connection_id":118812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ac1"} 
[2026-07-01 04:31:58] local.INFO: Extracted packet for processing {"connection_id":118812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ac1"} 
[2026-07-01 04:31:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":43,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412157952001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:31:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782860293000,"timestamp_ms":1782860293000,"timestamp_seconds":1782860293,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ac12388"} 
[2026-07-01 04:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:31:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-01 04:31:58] 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-01 04:31:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:31:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412157952001,"66":25419,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412157952001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:31:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:31:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412157952001,"power":25419,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":118812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:31:58] local.INFO: GPS data processed {"connection_id":118812,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:31:58] local.INFO: Acknowledgment sent {"connection_id":118812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:32:22] local.INFO: TCP Data received {"connection_id":118701,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:32:22] local.INFO: Processing buffer {"connection_id":118701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:32:22] local.INFO: IMEI packet received {"connection_id":118701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 04:32:22] local.INFO: IMEI acknowledgment sent {"connection_id":118701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:32:26] local.INFO: TCP Data received {"connection_id":118701,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:32:27] local.INFO: Processing buffer {"connection_id":118701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:32:27] local.INFO: IMEI packet received {"connection_id":118701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 04:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":118701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 04:32:27] local.INFO: TCP Data received {"connection_id":118701,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ac12388012d4a4d80068ba5d8001101492b..."} 
[2026-07-01 04:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ac12388012d4a4d80068ba5d8001101492b..."} 
[2026-07-01 04:32:27] local.INFO: Processing buffer {"connection_id":118701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ac12388012d4a4d80068ba5d8001101492b..."} 
[2026-07-01 04:32:27] local.INFO: Packet analysis {"connection_id":118701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ac1"} 
[2026-07-01 04:32:27] local.INFO: Extracted packet for processing {"connection_id":118701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ac1"} 
[2026-07-01 04:32:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":43,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412157952001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:32:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782860293000,"timestamp_ms":1782860293000,"timestamp_seconds":1782860293,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ac12388"} 
[2026-07-01 04:32:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:32:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-01 04:32:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:32:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:32:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:32:27] 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-01 04:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412157952001,"66":25419,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412157952001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:32:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:32:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412157952001,"power":25419,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":118701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:32:27] local.INFO: GPS data processed {"connection_id":118701,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:32:27] local.INFO: Acknowledgment sent {"connection_id":118701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:33:00] local.INFO: TCP Data received {"connection_id":118701,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ac12388012d4a4d80068ba5d8001101492b..."} 
[2026-07-01 04:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ac12388012d4a4d80068ba5d8001101492b..."} 
[2026-07-01 04:33:00] local.INFO: Processing buffer {"connection_id":118701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ac12388012d4a4d80068ba5d8001101492b..."} 
[2026-07-01 04:33:00] local.INFO: Packet analysis {"connection_id":118701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ac1"} 
[2026-07-01 04:33:00] local.INFO: Extracted packet for processing {"connection_id":118701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ac1"} 
[2026-07-01 04:33:00] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":43,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412157952001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:33:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:33:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782860293000,"timestamp_ms":1782860293000,"timestamp_seconds":1782860293,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ac12388"} 
[2026-07-01 04:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:33:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-01 04:33:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:33:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":118701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":118701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":118701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:33:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412157952001,"66":25419,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412157952001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:33:00] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:33:00] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:33:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412157952001,"power":25419,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":118701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:33:00] local.INFO: GPS data processed {"connection_id":118701,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:33:00] local.INFO: Acknowledgment sent {"connection_id":118701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:33:22] local.INFO: TCP Data received {"connection_id":120558,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:33:22] local.INFO: Processing buffer {"connection_id":120558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:33:22] local.INFO: IMEI packet received {"connection_id":120558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 04:33:22] local.INFO: IMEI acknowledgment sent {"connection_id":120558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:33:27] local.INFO: TCP Data received {"connection_id":120558,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:33:27] local.INFO: Processing buffer {"connection_id":120558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:33:27] local.INFO: IMEI packet received {"connection_id":120558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 04:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":120558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 04:33:27] local.INFO: TCP Data received {"connection_id":120558,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ac12388012d4a4d80068ba5d8001101492b..."} 
[2026-07-01 04:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ac12388012d4a4d80068ba5d8001101492b..."} 
[2026-07-01 04:33:27] local.INFO: Processing buffer {"connection_id":120558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ac12388012d4a4d80068ba5d8001101492b..."} 
[2026-07-01 04:33:27] local.INFO: Packet analysis {"connection_id":120558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ac1"} 
[2026-07-01 04:33:27] local.INFO: Extracted packet for processing {"connection_id":120558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ac1"} 
[2026-07-01 04:33:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":43,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412157952001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:33:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:33:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782860293000,"timestamp_ms":1782860293000,"timestamp_seconds":1782860293,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ac12388"} 
[2026-07-01 04:33:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:33:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-01 04:33:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:33:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:33:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:33:27] 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-01 04:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412157952001,"66":25419,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412157952001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:33:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:33:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:33:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412157952001,"power":25419,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:33:27] local.INFO: DEBUG: GPS processor result {"connection_id":120558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:33:27] local.INFO: GPS data processed {"connection_id":120558,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:33:27] local.INFO: Acknowledgment sent {"connection_id":120558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:33:42] local.INFO: TCP Data received {"connection_id":118702,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 04:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118702,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 04:33:42] local.INFO: Processing buffer {"connection_id":118702,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 04:33:42] local.INFO: IMEI packet received {"connection_id":118702,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 04:33:42] local.INFO: IMEI acknowledgment sent {"connection_id":118702,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:33:59] local.INFO: TCP Data received {"connection_id":120558,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ac5bb50012d4a4d80068ba5d8001101492b..."} 
[2026-07-01 04:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ac5bb50012d4a4d80068ba5d8001101492b..."} 
[2026-07-01 04:33:59] local.INFO: Processing buffer {"connection_id":120558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ac5bb50012d4a4d80068ba5d8001101492b..."} 
[2026-07-01 04:33:59] local.INFO: Packet analysis {"connection_id":120558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ac5"} 
[2026-07-01 04:33:59] local.INFO: Extracted packet for processing {"connection_id":120558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ac5"} 
[2026-07-01 04:33:59] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":43,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04: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-01 04:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412235008001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:33:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782860594000,"timestamp_ms":1782860594000,"timestamp_seconds":1782860594,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ac5bb50"} 
[2026-07-01 04: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-01 04:33:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-01 04:33:59] 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-01 04: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-01 04: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-01 04:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":120558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":120558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":120558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:33:59] 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-01 04:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412235008001,"66":25441,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412235008001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:33:59] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:33:59] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412235008001,"power":25441,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":120558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:33:59] local.INFO: GPS data processed {"connection_id":120558,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:33:59] local.INFO: Acknowledgment sent {"connection_id":120558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:34:16] local.INFO: TCP Data received {"connection_id":119455,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 04:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119455,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 04:34:16] local.INFO: Processing buffer {"connection_id":119455,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 04:34:16] local.INFO: IMEI packet received {"connection_id":119455,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 04:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":119455,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:34:26] local.INFO: TCP Data received {"connection_id":118703,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:34:26] local.INFO: Processing buffer {"connection_id":118703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:34:26] local.INFO: IMEI packet received {"connection_id":118703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 04:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":118703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:34:32] local.INFO: TCP Data received {"connection_id":118703,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:34:32] local.INFO: Processing buffer {"connection_id":118703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:34:32] local.INFO: IMEI packet received {"connection_id":118703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 04:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":118703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 04:34:32] local.INFO: TCP Data received {"connection_id":118703,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ac5bb50012d4a4d80068ba5d8001101492b..."} 
[2026-07-01 04:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ac5bb50012d4a4d80068ba5d8001101492b..."} 
[2026-07-01 04:34:32] local.INFO: Processing buffer {"connection_id":118703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ac5bb50012d4a4d80068ba5d8001101492b..."} 
[2026-07-01 04:34:32] local.INFO: Packet analysis {"connection_id":118703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ac5"} 
[2026-07-01 04:34:32] local.INFO: Extracted packet for processing {"connection_id":118703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ac5"} 
[2026-07-01 04:34:32] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":43,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412235008001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:34:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782860594000,"timestamp_ms":1782860594000,"timestamp_seconds":1782860594,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ac5bb50"} 
[2026-07-01 04:34:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:34:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-01 04:34:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:34:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:34:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":118703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":118703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":118703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:34:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412235008001,"66":25441,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412235008001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:34:32] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:34:32] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412235008001,"power":25441,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":118703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:34:32] local.INFO: GPS data processed {"connection_id":118703,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:34:32] local.INFO: Acknowledgment sent {"connection_id":118703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:35:04] local.INFO: TCP Data received {"connection_id":118703,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ac5bb50012d4a4d80068ba5d8001101492b..."} 
[2026-07-01 04:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ac5bb50012d4a4d80068ba5d8001101492b..."} 
[2026-07-01 04:35:04] local.INFO: Processing buffer {"connection_id":118703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ac5bb50012d4a4d80068ba5d8001101492b..."} 
[2026-07-01 04:35:04] local.INFO: Packet analysis {"connection_id":118703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ac5"} 
[2026-07-01 04:35:04] local.INFO: Extracted packet for processing {"connection_id":118703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ac5"} 
[2026-07-01 04:35:04] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":43,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04: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-01 04:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412235008001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782860594000,"timestamp_ms":1782860594000,"timestamp_seconds":1782860594,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ac5bb50"} 
[2026-07-01 04: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-01 04:35:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-01 04:35:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04: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-01 04: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-01 04:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":118703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":118703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":118703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:35: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-01 04:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412235008001,"66":25441,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412235008001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:35:04] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:35:04] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412235008001,"power":25441,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":118703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:35:04] local.INFO: GPS data processed {"connection_id":118703,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:35:04] local.INFO: Acknowledgment sent {"connection_id":118703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:35:22] local.INFO: TCP Data received {"connection_id":119457,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:35:22] local.INFO: Processing buffer {"connection_id":119457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:35:22] local.INFO: IMEI packet received {"connection_id":119457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 04:35:22] local.INFO: IMEI acknowledgment sent {"connection_id":119457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:35:27] local.INFO: TCP Data received {"connection_id":119457,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:35:27] local.INFO: Processing buffer {"connection_id":119457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:35:27] local.INFO: IMEI packet received {"connection_id":119457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 04:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":119457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 04:35:27] local.INFO: TCP Data received {"connection_id":119457,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ac5bb50012d4a4d80068ba5d8001101492b..."} 
[2026-07-01 04:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ac5bb50012d4a4d80068ba5d8001101492b..."} 
[2026-07-01 04:35:27] local.INFO: Processing buffer {"connection_id":119457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ac5bb50012d4a4d80068ba5d8001101492b..."} 
[2026-07-01 04:35:27] local.INFO: Packet analysis {"connection_id":119457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ac5"} 
[2026-07-01 04:35:27] local.INFO: Extracted packet for processing {"connection_id":119457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ac5"} 
[2026-07-01 04:35:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":43,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:35:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412235008001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:35:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:35:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:35:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:35:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782860594000,"timestamp_ms":1782860594000,"timestamp_seconds":1782860594,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ac5bb50"} 
[2026-07-01 04:35:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:35:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-01 04:35:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:35:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:35:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:35:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:35:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:35:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:35:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:35:27] 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-01 04:35:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:35:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:35:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412235008001,"66":25441,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:35:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:35:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:35:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412235008001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:35:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:35:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:35:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:35:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:35:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412235008001,"power":25441,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:35:27] local.INFO: DEBUG: GPS processor result {"connection_id":119457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:35:27] local.INFO: GPS data processed {"connection_id":119457,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:35:27] local.INFO: Acknowledgment sent {"connection_id":119457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:35:58] local.INFO: TCP Data received {"connection_id":119457,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ac5bb50012d4a4d80068ba5d8001101492b..."} 
[2026-07-01 04:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ac5bb50012d4a4d80068ba5d8001101492b..."} 
[2026-07-01 04:35:58] local.INFO: Processing buffer {"connection_id":119457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ac5bb50012d4a4d80068ba5d8001101492b..."} 
[2026-07-01 04:35:58] local.INFO: Packet analysis {"connection_id":119457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ac5"} 
[2026-07-01 04:35:58] local.INFO: Extracted packet for processing {"connection_id":119457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ac5"} 
[2026-07-01 04:35:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":43,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04: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-01 04:35:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412235008001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:35:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:35:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:35:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:35:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782860594000,"timestamp_ms":1782860594000,"timestamp_seconds":1782860594,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ac5bb50"} 
[2026-07-01 04: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-01 04:35:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-01 04:35:58] 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-01 04: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-01 04: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-01 04:35:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:35:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:35:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:35:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:35:58] 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-01 04:35:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:35:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:35:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412235008001,"66":25441,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:35:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:35:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:35:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412235008001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:35:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:35:59] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412235008001,"power":25441,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":119457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:35:59] local.INFO: GPS data processed {"connection_id":119457,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:35:59] local.INFO: Acknowledgment sent {"connection_id":119457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:36:21] local.INFO: TCP Data received {"connection_id":118704,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:36:21] local.INFO: Processing buffer {"connection_id":118704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:36:21] local.INFO: IMEI packet received {"connection_id":118704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 04:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":118704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:36:26] local.INFO: TCP Data received {"connection_id":118704,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:36:27] local.INFO: Processing buffer {"connection_id":118704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:36:27] local.INFO: IMEI packet received {"connection_id":118704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 04:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":118704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 04:36:27] local.INFO: TCP Data received {"connection_id":118704,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ac5bb50012d4a4d80068ba5d8001101492b..."} 
[2026-07-01 04:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ac5bb50012d4a4d80068ba5d8001101492b..."} 
[2026-07-01 04:36:27] local.INFO: Processing buffer {"connection_id":118704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ac5bb50012d4a4d80068ba5d8001101492b..."} 
[2026-07-01 04:36:27] local.INFO: Packet analysis {"connection_id":118704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ac5"} 
[2026-07-01 04:36:27] local.INFO: Extracted packet for processing {"connection_id":118704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ac5"} 
[2026-07-01 04:36:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":43,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412235008001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:36:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:36:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782860594000,"timestamp_ms":1782860594000,"timestamp_seconds":1782860594,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ac5bb50"} 
[2026-07-01 04:36:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:36:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-01 04:36:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:36:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:36:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:36:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412235008001,"66":25441,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412235008001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:36:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:36:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:36:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:36:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412235008001,"power":25441,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:36:27] local.INFO: DEBUG: GPS processor result {"connection_id":118704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:36:27] local.INFO: GPS data processed {"connection_id":118704,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:36:27] local.INFO: Acknowledgment sent {"connection_id":118704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:36:58] local.INFO: TCP Data received {"connection_id":118704,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ac5bb50012d4a4d80068ba5d8001101492b..."} 
[2026-07-01 04:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ac5bb50012d4a4d80068ba5d8001101492b..."} 
[2026-07-01 04:36:58] local.INFO: Processing buffer {"connection_id":118704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ac5bb50012d4a4d80068ba5d8001101492b..."} 
[2026-07-01 04:36:58] local.INFO: Packet analysis {"connection_id":118704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ac5"} 
[2026-07-01 04:36:58] local.INFO: Extracted packet for processing {"connection_id":118704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ac5"} 
[2026-07-01 04:36:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":43,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04: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-01 04:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412235008001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:36:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:36:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782860594000,"timestamp_ms":1782860594000,"timestamp_seconds":1782860594,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ac5bb50"} 
[2026-07-01 04: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-01 04:36:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-01 04:36:58] 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-01 04: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-01 04: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-01 04:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:36:58] 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-01 04:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412235008001,"66":25441,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412235008001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:36:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:36:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:36:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412235008001,"power":25441,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":118704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:36:58] local.INFO: GPS data processed {"connection_id":118704,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:36:58] local.INFO: Acknowledgment sent {"connection_id":118704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:37:21] local.INFO: TCP Data received {"connection_id":118813,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:37:21] local.INFO: Processing buffer {"connection_id":118813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:37:21] local.INFO: IMEI packet received {"connection_id":118813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 04:37:21] local.INFO: IMEI acknowledgment sent {"connection_id":118813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:37:26] local.INFO: TCP Data received {"connection_id":118813,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:37:26] local.INFO: Processing buffer {"connection_id":118813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:37:26] local.INFO: IMEI packet received {"connection_id":118813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 04:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":118813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 04:37:36] local.INFO: TCP Data received {"connection_id":118813,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ac5bb50012d4a4d80068ba5d8001101492b..."} 
[2026-07-01 04:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ac5bb50012d4a4d80068ba5d8001101492b..."} 
[2026-07-01 04:37:36] local.INFO: Processing buffer {"connection_id":118813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ac5bb50012d4a4d80068ba5d8001101492b..."} 
[2026-07-01 04:37:36] local.INFO: Packet analysis {"connection_id":118813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ac5"} 
[2026-07-01 04:37:36] local.INFO: Extracted packet for processing {"connection_id":118813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ac5"} 
[2026-07-01 04:37:36] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":43,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412235008001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782860594000,"timestamp_ms":1782860594000,"timestamp_seconds":1782860594,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ac5bb50"} 
[2026-07-01 04:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-01 04:37:36] 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-01 04:37:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":118813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":118813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":118813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:37:36] 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-01 04:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412235008001,"66":25441,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412235008001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:37:36] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:37:36] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412235008001,"power":25441,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":118813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:37:36] local.INFO: GPS data processed {"connection_id":118813,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:37:36] local.INFO: Acknowledgment sent {"connection_id":118813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:38:22] local.INFO: TCP Data received {"connection_id":120560,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:38:22] local.INFO: Processing buffer {"connection_id":120560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:38:22] local.INFO: IMEI packet received {"connection_id":120560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 04:38:22] local.INFO: IMEI acknowledgment sent {"connection_id":120560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:38:27] local.INFO: TCP Data received {"connection_id":120560,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:38:27] local.INFO: Processing buffer {"connection_id":120560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:38:27] local.INFO: IMEI packet received {"connection_id":120560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 04:38:27] local.INFO: IMEI acknowledgment sent {"connection_id":120560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 04:38:28] local.INFO: TCP Data received {"connection_id":120560,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ac5bb50012d4a4d80068ba5d8001101492b..."} 
[2026-07-01 04:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ac5bb50012d4a4d80068ba5d8001101492b..."} 
[2026-07-01 04:38:28] local.INFO: Processing buffer {"connection_id":120560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ac5bb50012d4a4d80068ba5d8001101492b..."} 
[2026-07-01 04:38:28] local.INFO: Packet analysis {"connection_id":120560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ac5"} 
[2026-07-01 04:38:28] local.INFO: Extracted packet for processing {"connection_id":120560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ac5"} 
[2026-07-01 04:38:28] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":43,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04: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-01 04:38:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412235008001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:38:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:38:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:38:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:38:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782860594000,"timestamp_ms":1782860594000,"timestamp_seconds":1782860594,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ac5bb50"} 
[2026-07-01 04: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-01 04:38:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-01 04:38:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04: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-01 04: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-01 04:38:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:38:28] local.INFO: Teltonika packet parsed successfully {"connection_id":120560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:38:28] local.INFO: Passing IMEI to GPS processor {"connection_id":120560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:38:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":120560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:38:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:38:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:38:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:38:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412235008001,"66":25441,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:38:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:38:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:38:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412235008001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:38:28] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:38:28] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:38:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:38:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:38:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412235008001,"power":25441,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:38:28] local.INFO: DEBUG: GPS processor result {"connection_id":120560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:38:28] local.INFO: GPS data processed {"connection_id":120560,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:38:28] local.INFO: Acknowledgment sent {"connection_id":120560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:38:59] local.INFO: TCP Data received {"connection_id":120560,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aca5318012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aca5318012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:38:59] local.INFO: Processing buffer {"connection_id":120560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aca5318012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:38:59] local.INFO: Packet analysis {"connection_id":120560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aca"} 
[2026-07-01 04:38:59] local.INFO: Extracted packet for processing {"connection_id":120560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aca"} 
[2026-07-01 04:38:59] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04: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-01 04:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412312064001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:38:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782860895000,"timestamp_ms":1782860895000,"timestamp_seconds":1782860895,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aca5318"} 
[2026-07-01 04: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-01 04:38:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 04:38:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04: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-01 04: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-01 04:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":120560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":120560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":120560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:38:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412312064001,"66":25419,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412312064001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:38:59] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:38:59] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412312064001,"power":25419,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":120560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:38:59] local.INFO: GPS data processed {"connection_id":120560,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:38:59] local.INFO: Acknowledgment sent {"connection_id":120560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:39:27] local.INFO: TCP Data received {"connection_id":119461,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:39:27] local.INFO: Processing buffer {"connection_id":119461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:39:27] local.INFO: IMEI packet received {"connection_id":119461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 04:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":119461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:39:31] local.INFO: TCP Data received {"connection_id":119461,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:39:31] local.INFO: Processing buffer {"connection_id":119461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:39:31] local.INFO: IMEI packet received {"connection_id":119461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 04:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":119461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 04:39:32] local.INFO: TCP Data received {"connection_id":119461,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aca5318012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aca5318012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:39:32] local.INFO: Processing buffer {"connection_id":119461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aca5318012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:39:32] local.INFO: Packet analysis {"connection_id":119461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aca"} 
[2026-07-01 04:39:32] local.INFO: Extracted packet for processing {"connection_id":119461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aca"} 
[2026-07-01 04:39:32] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412312064001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782860895000,"timestamp_ms":1782860895000,"timestamp_seconds":1782860895,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aca5318"} 
[2026-07-01 04:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:39:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 04:39:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:39:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":119461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":119461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":119461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:39:32] 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-01 04:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412312064001,"66":25419,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412312064001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:39:32] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:39:32] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412312064001,"power":25419,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":119461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:39:32] local.INFO: GPS data processed {"connection_id":119461,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:39:32] local.INFO: Acknowledgment sent {"connection_id":119461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:39:42] local.INFO: TCP Data received {"connection_id":119460,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 04:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119460,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 04:39:42] local.INFO: Processing buffer {"connection_id":119460,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 04:39:42] local.INFO: IMEI packet received {"connection_id":119460,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 04:39:42] local.INFO: IMEI acknowledgment sent {"connection_id":119460,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:40:03] local.INFO: TCP Data received {"connection_id":119461,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aca5318012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aca5318012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:40:03] local.INFO: Processing buffer {"connection_id":119461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aca5318012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:40:03] local.INFO: Packet analysis {"connection_id":119461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aca"} 
[2026-07-01 04:40:03] local.INFO: Extracted packet for processing {"connection_id":119461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aca"} 
[2026-07-01 04:40:03] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412312064001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782860895000,"timestamp_ms":1782860895000,"timestamp_seconds":1782860895,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aca5318"} 
[2026-07-01 04:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 04:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:40:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":119461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":119461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":119461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:40:03] 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-01 04:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412312064001,"66":25419,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412312064001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:40:03] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:40:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412312064001,"power":25419,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":119461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:40:03] local.INFO: GPS data processed {"connection_id":119461,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:40:03] local.INFO: Acknowledgment sent {"connection_id":119461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:40:17] local.INFO: TCP Data received {"connection_id":119462,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 04:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119462,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 04:40:17] local.INFO: Processing buffer {"connection_id":119462,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 04:40:17] local.INFO: IMEI packet received {"connection_id":119462,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 04:40:17] local.INFO: IMEI acknowledgment sent {"connection_id":119462,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:40:21] local.INFO: TCP Data received {"connection_id":120561,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:40:21] local.INFO: Processing buffer {"connection_id":120561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:40:21] local.INFO: IMEI packet received {"connection_id":120561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 04:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":120561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:40:26] local.INFO: TCP Data received {"connection_id":120561,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:40:27] local.INFO: Processing buffer {"connection_id":120561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:40:27] local.INFO: IMEI packet received {"connection_id":120561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 04:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":120561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 04:40:27] local.INFO: TCP Data received {"connection_id":120561,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aca5318012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aca5318012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:40:27] local.INFO: Processing buffer {"connection_id":120561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aca5318012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:40:27] local.INFO: Packet analysis {"connection_id":120561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aca"} 
[2026-07-01 04:40:27] local.INFO: Extracted packet for processing {"connection_id":120561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aca"} 
[2026-07-01 04:40:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:40:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412312064001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:40:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:40:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:40:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:40:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782860895000,"timestamp_ms":1782860895000,"timestamp_seconds":1782860895,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aca5318"} 
[2026-07-01 04:40:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:40:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 04:40:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:40:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:40:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:40:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:40:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:40:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:40:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:40:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:40:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:40:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:40:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412312064001,"66":25419,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:40:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:40:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:40:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412312064001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:40:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:40:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:40:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:40:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:40:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412312064001,"power":25419,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:40:27] local.INFO: DEBUG: GPS processor result {"connection_id":120561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:40:27] local.INFO: GPS data processed {"connection_id":120561,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:40:27] local.INFO: Acknowledgment sent {"connection_id":120561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:40:58] local.INFO: TCP Data received {"connection_id":120561,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aca5318012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aca5318012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:40:58] local.INFO: Processing buffer {"connection_id":120561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aca5318012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:40:58] local.INFO: Packet analysis {"connection_id":120561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aca"} 
[2026-07-01 04:40:58] local.INFO: Extracted packet for processing {"connection_id":120561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aca"} 
[2026-07-01 04:40:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04: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-01 04:40:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412312064001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:40:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:40:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:40:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:40:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782860895000,"timestamp_ms":1782860895000,"timestamp_seconds":1782860895,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aca5318"} 
[2026-07-01 04: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-01 04:40:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 04:40:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04: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-01 04: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-01 04:40:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:40:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:40:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:40:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:40:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:40:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:40:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:40:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412312064001,"66":25419,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:40:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:40:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:40:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412312064001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:40:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:40:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:40:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:40:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:40:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412312064001,"power":25419,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:40:58] local.INFO: DEBUG: GPS processor result {"connection_id":120561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:40:58] local.INFO: GPS data processed {"connection_id":120561,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:40:58] local.INFO: Acknowledgment sent {"connection_id":120561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:41:21] local.INFO: TCP Data received {"connection_id":118705,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:41:21] local.INFO: Processing buffer {"connection_id":118705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:41:21] local.INFO: IMEI packet received {"connection_id":118705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 04:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":118705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:41:26] local.INFO: TCP Data received {"connection_id":118705,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:41:27] local.INFO: Processing buffer {"connection_id":118705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:41:27] local.INFO: IMEI packet received {"connection_id":118705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 04:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":118705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 04:41:27] local.INFO: TCP Data received {"connection_id":118705,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aca5318012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aca5318012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:41:27] local.INFO: Processing buffer {"connection_id":118705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aca5318012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:41:27] local.INFO: Packet analysis {"connection_id":118705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aca"} 
[2026-07-01 04:41:27] local.INFO: Extracted packet for processing {"connection_id":118705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aca"} 
[2026-07-01 04:41:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412312064001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:41:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782860895000,"timestamp_ms":1782860895000,"timestamp_seconds":1782860895,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aca5318"} 
[2026-07-01 04:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:41:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 04:41:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:41:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412312064001,"66":25419,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412312064001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:41:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:41:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412312064001,"power":25419,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":118705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:41:27] local.INFO: GPS data processed {"connection_id":118705,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:41:27] local.INFO: Acknowledgment sent {"connection_id":118705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:41:58] local.INFO: TCP Data received {"connection_id":118705,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aca5318012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aca5318012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:41:58] local.INFO: Processing buffer {"connection_id":118705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aca5318012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:41:58] local.INFO: Packet analysis {"connection_id":118705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aca"} 
[2026-07-01 04:41:58] local.INFO: Extracted packet for processing {"connection_id":118705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aca"} 
[2026-07-01 04:41:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04: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-01 04:41:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412312064001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:41:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:41:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:41:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:41:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782860895000,"timestamp_ms":1782860895000,"timestamp_seconds":1782860895,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aca5318"} 
[2026-07-01 04: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-01 04:41:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 04:41:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04: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-01 04: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-01 04:41:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:41:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:41:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:41:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:41:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:41:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:41:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:41:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412312064001,"66":25419,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:41:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:41:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:41:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412312064001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:41:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:41:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:41:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:41:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:41:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412312064001,"power":25419,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:41:58] local.INFO: DEBUG: GPS processor result {"connection_id":118705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:41:58] local.INFO: GPS data processed {"connection_id":118705,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:41:58] local.INFO: Acknowledgment sent {"connection_id":118705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:42:22] local.INFO: TCP Data received {"connection_id":118706,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:42:22] local.INFO: Processing buffer {"connection_id":118706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:42:22] local.INFO: IMEI packet received {"connection_id":118706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 04:42:22] local.INFO: IMEI acknowledgment sent {"connection_id":118706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:42:26] local.INFO: TCP Data received {"connection_id":118706,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:42:26] local.INFO: Processing buffer {"connection_id":118706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:42:26] local.INFO: IMEI packet received {"connection_id":118706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 04:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":118706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 04:42:27] local.INFO: TCP Data received {"connection_id":118706,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aca5318012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aca5318012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:42:27] local.INFO: Processing buffer {"connection_id":118706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aca5318012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:42:27] local.INFO: Packet analysis {"connection_id":118706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aca"} 
[2026-07-01 04:42:27] local.INFO: Extracted packet for processing {"connection_id":118706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aca"} 
[2026-07-01 04:42:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412312064001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:42:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:42:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782860895000,"timestamp_ms":1782860895000,"timestamp_seconds":1782860895,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aca5318"} 
[2026-07-01 04:42:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:42:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 04:42:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:42:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:42:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:42:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412312064001,"66":25419,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412312064001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:42:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:42:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:42:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:42:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412312064001,"power":25419,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":118706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:42:27] local.INFO: GPS data processed {"connection_id":118706,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:42:27] local.INFO: Acknowledgment sent {"connection_id":118706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:42:58] local.INFO: TCP Data received {"connection_id":118706,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aca5318012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aca5318012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:42:58] local.INFO: Processing buffer {"connection_id":118706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aca5318012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:42:58] local.INFO: Packet analysis {"connection_id":118706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aca"} 
[2026-07-01 04:42:58] local.INFO: Extracted packet for processing {"connection_id":118706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aca"} 
[2026-07-01 04:42:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04: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-01 04:42:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412312064001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:42:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:42:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:42:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:42:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782860895000,"timestamp_ms":1782860895000,"timestamp_seconds":1782860895,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aca5318"} 
[2026-07-01 04: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-01 04:42:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 04:42:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04: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-01 04: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-01 04:42:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:42:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:42:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:42:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:42:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:42:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:42:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:42:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412312064001,"66":25419,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:42:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:42:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:42:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412312064001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:42:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:42:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:42:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:42:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:42:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412312064001,"power":25419,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:42:58] local.INFO: DEBUG: GPS processor result {"connection_id":118706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:42:58] local.INFO: GPS data processed {"connection_id":118706,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:42:58] local.INFO: Acknowledgment sent {"connection_id":118706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:43:21] local.INFO: TCP Data received {"connection_id":119463,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:43:21] local.INFO: Processing buffer {"connection_id":119463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:43:21] local.INFO: IMEI packet received {"connection_id":119463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 04:43:21] local.INFO: IMEI acknowledgment sent {"connection_id":119463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:43:26] local.INFO: TCP Data received {"connection_id":119463,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:43:26] local.INFO: Processing buffer {"connection_id":119463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:43:26] local.INFO: IMEI packet received {"connection_id":119463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 04:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":119463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 04:43:27] local.INFO: TCP Data received {"connection_id":119463,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aca5318012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aca5318012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:43:27] local.INFO: Processing buffer {"connection_id":119463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aca5318012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:43:27] local.INFO: Packet analysis {"connection_id":119463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aca"} 
[2026-07-01 04:43:27] local.INFO: Extracted packet for processing {"connection_id":119463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aca"} 
[2026-07-01 04:43:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412312064001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:43:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:43:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:43:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:43:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782860895000,"timestamp_ms":1782860895000,"timestamp_seconds":1782860895,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aca5318"} 
[2026-07-01 04:43:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:43:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 04:43:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:43:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:43:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:43:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:43:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:43:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:43:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:43:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412312064001,"66":25419,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:43:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:43:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:43:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412312064001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:43:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:43:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:43:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:43:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:43:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412312064001,"power":25419,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:43:27] local.INFO: DEBUG: GPS processor result {"connection_id":119463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:43:27] local.INFO: GPS data processed {"connection_id":119463,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:43:27] local.INFO: Acknowledgment sent {"connection_id":119463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:43:58] local.INFO: TCP Data received {"connection_id":119463,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aceeae0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aceeae0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:43:58] local.INFO: Processing buffer {"connection_id":119463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aceeae0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:43:58] local.INFO: Packet analysis {"connection_id":119463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ace"} 
[2026-07-01 04:43:58] local.INFO: Extracted packet for processing {"connection_id":119463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ace"} 
[2026-07-01 04:43:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412389120001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:43:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:43:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782861196000,"timestamp_ms":1782861196000,"timestamp_seconds":1782861196,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aceeae0"} 
[2026-07-01 04:43:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:43:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-01 04:43:58] 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-01 04:43:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:43:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:43:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412389120001,"66":25397,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412389120001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:43:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:43:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:43:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:43:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412389120001,"power":25397,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:43:58] local.INFO: DEBUG: GPS processor result {"connection_id":119463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:43:58] local.INFO: GPS data processed {"connection_id":119463,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:43:58] local.INFO: Acknowledgment sent {"connection_id":119463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:44:26] local.INFO: TCP Data received {"connection_id":119464,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:44:27] local.INFO: Processing buffer {"connection_id":119464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:44:27] local.INFO: IMEI packet received {"connection_id":119464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 04:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":119464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:44:31] local.INFO: TCP Data received {"connection_id":119464,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:44:31] local.INFO: Processing buffer {"connection_id":119464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:44:31] local.INFO: IMEI packet received {"connection_id":119464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 04:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":119464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 04:44:32] local.INFO: TCP Data received {"connection_id":119464,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aceeae0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aceeae0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:44:32] local.INFO: Processing buffer {"connection_id":119464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aceeae0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:44:32] local.INFO: Packet analysis {"connection_id":119464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ace"} 
[2026-07-01 04:44:32] local.INFO: Extracted packet for processing {"connection_id":119464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ace"} 
[2026-07-01 04:44:32] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412389120001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782861196000,"timestamp_ms":1782861196000,"timestamp_seconds":1782861196,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aceeae0"} 
[2026-07-01 04:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:44:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-01 04:44:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:44:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":119464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":119464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":119464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412389120001,"66":25397,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412389120001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:44:32] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:44:32] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412389120001,"power":25397,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":119464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:44:32] local.INFO: GPS data processed {"connection_id":119464,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:44:32] local.INFO: Acknowledgment sent {"connection_id":119464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:45:03] local.INFO: TCP Data received {"connection_id":119464,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aceeae0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aceeae0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:45:03] local.INFO: Processing buffer {"connection_id":119464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aceeae0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:45:03] local.INFO: Packet analysis {"connection_id":119464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ace"} 
[2026-07-01 04:45:03] local.INFO: Extracted packet for processing {"connection_id":119464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ace"} 
[2026-07-01 04:45:03] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412389120001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782861196000,"timestamp_ms":1782861196000,"timestamp_seconds":1782861196,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aceeae0"} 
[2026-07-01 04:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-01 04:45:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:45:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":119464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":119464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":119464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412389120001,"66":25397,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412389120001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:45:03] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:45:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412389120001,"power":25397,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":119464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:45:03] local.INFO: GPS data processed {"connection_id":119464,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:45:03] local.INFO: Acknowledgment sent {"connection_id":119464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:45:21] local.INFO: TCP Data received {"connection_id":120564,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:45:21] local.INFO: Processing buffer {"connection_id":120564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:45:21] local.INFO: IMEI packet received {"connection_id":120564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 04:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":120564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:45:26] local.INFO: TCP Data received {"connection_id":120564,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:45:26] local.INFO: Processing buffer {"connection_id":120564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:45:26] local.INFO: IMEI packet received {"connection_id":120564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 04:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":120564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 04:45:27] local.INFO: TCP Data received {"connection_id":120564,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aceeae0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aceeae0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:45:27] local.INFO: Processing buffer {"connection_id":120564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aceeae0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:45:27] local.INFO: Packet analysis {"connection_id":120564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ace"} 
[2026-07-01 04:45:27] local.INFO: Extracted packet for processing {"connection_id":120564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ace"} 
[2026-07-01 04:45:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:45:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412389120001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:45:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:45:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:45:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:45:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782861196000,"timestamp_ms":1782861196000,"timestamp_seconds":1782861196,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aceeae0"} 
[2026-07-01 04:45:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:45:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-01 04:45:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:45:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:45:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:45:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:45:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:45:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:45:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:45:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:45:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:45:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:45:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412389120001,"66":25397,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:45:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:45:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:45:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412389120001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:45:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:45:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:45:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:45:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:45:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412389120001,"power":25397,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:45:27] local.INFO: DEBUG: GPS processor result {"connection_id":120564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:45:27] local.INFO: GPS data processed {"connection_id":120564,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:45:27] local.INFO: Acknowledgment sent {"connection_id":120564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:45:37] local.INFO: TCP Data received {"connection_id":119465,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 04:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119465,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 04:45:37] local.INFO: Processing buffer {"connection_id":119465,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 04:45:37] local.INFO: IMEI packet received {"connection_id":119465,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 04:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":119465,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:45:58] local.INFO: TCP Data received {"connection_id":120564,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aceeae0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aceeae0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:45:58] local.INFO: Processing buffer {"connection_id":120564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aceeae0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:45:58] local.INFO: Packet analysis {"connection_id":120564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ace"} 
[2026-07-01 04:45:58] local.INFO: Extracted packet for processing {"connection_id":120564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ace"} 
[2026-07-01 04:45:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04: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-01 04:45:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412389120001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:45:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:45:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:45:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:45:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782861196000,"timestamp_ms":1782861196000,"timestamp_seconds":1782861196,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aceeae0"} 
[2026-07-01 04: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-01 04:45:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-01 04:45:58] 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-01 04: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-01 04: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-01 04:45:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:45:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:45:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:45:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:45:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:45:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:45:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:45:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412389120001,"66":25397,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:45:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:45:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:45:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412389120001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:45:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:45:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:45:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:45:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:45:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412389120001,"power":25397,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:45:58] local.INFO: DEBUG: GPS processor result {"connection_id":120564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:45:58] local.INFO: GPS data processed {"connection_id":120564,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:45:58] local.INFO: Acknowledgment sent {"connection_id":120564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:46:16] local.INFO: TCP Data received {"connection_id":118815,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 04:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118815,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 04:46:16] local.INFO: Processing buffer {"connection_id":118815,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 04:46:16] local.INFO: IMEI packet received {"connection_id":118815,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 04:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":118815,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:46:21] local.INFO: TCP Data received {"connection_id":118816,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:46:21] local.INFO: Processing buffer {"connection_id":118816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:46:21] local.INFO: IMEI packet received {"connection_id":118816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 04:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":118816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:46:26] local.INFO: TCP Data received {"connection_id":118816,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:46:26] local.INFO: Processing buffer {"connection_id":118816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:46:26] local.INFO: IMEI packet received {"connection_id":118816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 04:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":118816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 04:46:27] local.INFO: TCP Data received {"connection_id":118816,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aceeae0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aceeae0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:46:27] local.INFO: Processing buffer {"connection_id":118816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aceeae0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:46:27] local.INFO: Packet analysis {"connection_id":118816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ace"} 
[2026-07-01 04:46:27] local.INFO: Extracted packet for processing {"connection_id":118816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ace"} 
[2026-07-01 04:46:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412389120001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:46:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:46:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:46:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:46:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782861196000,"timestamp_ms":1782861196000,"timestamp_seconds":1782861196,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aceeae0"} 
[2026-07-01 04:46:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:46:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-01 04:46:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:46:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:46:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:46:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:46:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:46:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:46:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:46:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:46:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:46:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:46:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412389120001,"66":25397,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:46:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:46:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:46:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412389120001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:46:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:46:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:46:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:46:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:46:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412389120001,"power":25397,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":118816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:46:27] local.INFO: GPS data processed {"connection_id":118816,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:46:27] local.INFO: Acknowledgment sent {"connection_id":118816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:46:58] local.INFO: TCP Data received {"connection_id":118816,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aceeae0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aceeae0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:46:58] local.INFO: Processing buffer {"connection_id":118816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aceeae0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:46:58] local.INFO: Packet analysis {"connection_id":118816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ace"} 
[2026-07-01 04:46:58] local.INFO: Extracted packet for processing {"connection_id":118816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ace"} 
[2026-07-01 04:46:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412389120001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:46:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:46:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:46:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:46:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782861196000,"timestamp_ms":1782861196000,"timestamp_seconds":1782861196,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aceeae0"} 
[2026-07-01 04:46:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:46:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-01 04:46:58] 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-01 04:46:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:46:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:46:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:46:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:46:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:46:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:46:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:46:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:46:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:46:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412389120001,"66":25397,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:46:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:46:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:46:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412389120001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:46:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:46:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:46:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:46:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:46:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412389120001,"power":25397,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:46:58] local.INFO: DEBUG: GPS processor result {"connection_id":118816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:46:58] local.INFO: GPS data processed {"connection_id":118816,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:46:58] local.INFO: Acknowledgment sent {"connection_id":118816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:47:21] local.INFO: TCP Data received {"connection_id":120565,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:47:21] local.INFO: Processing buffer {"connection_id":120565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:47:21] local.INFO: IMEI packet received {"connection_id":120565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 04:47:21] local.INFO: IMEI acknowledgment sent {"connection_id":120565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:47:26] local.INFO: TCP Data received {"connection_id":120565,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:47:26] local.INFO: Processing buffer {"connection_id":120565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:47:26] local.INFO: IMEI packet received {"connection_id":120565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 04:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":120565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 04:47:27] local.INFO: TCP Data received {"connection_id":120565,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aceeae0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aceeae0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:47:27] local.INFO: Processing buffer {"connection_id":120565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aceeae0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:47:27] local.INFO: Packet analysis {"connection_id":120565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ace"} 
[2026-07-01 04:47:27] local.INFO: Extracted packet for processing {"connection_id":120565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ace"} 
[2026-07-01 04:47:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04: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-01 04:47:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412389120001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:47:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:47:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:47:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:47:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782861196000,"timestamp_ms":1782861196000,"timestamp_seconds":1782861196,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aceeae0"} 
[2026-07-01 04: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-01 04:47:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-01 04:47:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04: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-01 04: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-01 04:47:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:47:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:47:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:47:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:47:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:47:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:47:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:47:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412389120001,"66":25397,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:47:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:47:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:47:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412389120001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:47:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:47:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:47:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:47:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:47:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412389120001,"power":25397,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:47:27] local.INFO: DEBUG: GPS processor result {"connection_id":120565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:47:27] local.INFO: GPS data processed {"connection_id":120565,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:47:27] local.INFO: Acknowledgment sent {"connection_id":120565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:47:58] local.INFO: TCP Data received {"connection_id":120565,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aceeae0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aceeae0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:47:58] local.INFO: Processing buffer {"connection_id":120565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aceeae0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:47:58] local.INFO: Packet analysis {"connection_id":120565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ace"} 
[2026-07-01 04:47:58] local.INFO: Extracted packet for processing {"connection_id":120565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ace"} 
[2026-07-01 04:47:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04: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-01 04:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412389120001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:47:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:47:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:47:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:47:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782861196000,"timestamp_ms":1782861196000,"timestamp_seconds":1782861196,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aceeae0"} 
[2026-07-01 04: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-01 04:47:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-01 04:47:58] 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-01 04: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-01 04: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-01 04:47:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:47:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:47:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:47:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:47:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:47:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:47:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:47:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412389120001,"66":25397,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:47:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:47:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:47:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412389120001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:47:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:47:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:47:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:47:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:47:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412389120001,"power":25397,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:47:58] local.INFO: DEBUG: GPS processor result {"connection_id":120565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":415999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:47:58] local.INFO: GPS data processed {"connection_id":120565,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:47:58] local.INFO: Acknowledgment sent {"connection_id":120565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:48:21] local.INFO: TCP Data received {"connection_id":119466,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:48:21] local.INFO: Processing buffer {"connection_id":119466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:48:21] local.INFO: IMEI packet received {"connection_id":119466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 04:48:21] local.INFO: IMEI acknowledgment sent {"connection_id":119466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:48:26] local.INFO: TCP Data received {"connection_id":119466,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:48:26] local.INFO: Processing buffer {"connection_id":119466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:48:26] local.INFO: IMEI packet received {"connection_id":119466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 04:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":119466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 04:48:27] local.INFO: TCP Data received {"connection_id":119466,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aceeae0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aceeae0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:48:27] local.INFO: Processing buffer {"connection_id":119466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aceeae0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:48:27] local.INFO: Packet analysis {"connection_id":119466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ace"} 
[2026-07-01 04:48:27] local.INFO: Extracted packet for processing {"connection_id":119466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ace"} 
[2026-07-01 04:48:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:48:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412389120001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:48:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:48:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:48:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:48:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782861196000,"timestamp_ms":1782861196000,"timestamp_seconds":1782861196,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aceeae0"} 
[2026-07-01 04:48:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:48:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-01 04:48:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:48:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:48:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:48:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:48:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:48:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:48:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:48:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:48:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:48:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:48:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412389120001,"66":25397,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:48:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:48:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:48:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412389120001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:48:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:48:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:48:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:48:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:48:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412389120001,"power":25397,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:48:27] local.INFO: DEBUG: GPS processor result {"connection_id":119466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:48:27] local.INFO: GPS data processed {"connection_id":119466,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:48:27] local.INFO: Acknowledgment sent {"connection_id":119466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:48:58] local.INFO: TCP Data received {"connection_id":119466,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ad382a8012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ad382a8012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:48:58] local.INFO: Processing buffer {"connection_id":119466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ad382a8012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:48:58] local.INFO: Packet analysis {"connection_id":119466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ad3"} 
[2026-07-01 04:48:58] local.INFO: Extracted packet for processing {"connection_id":119466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ad3"} 
[2026-07-01 04:48:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04: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-01 04:48:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412466176001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:48:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:48:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:48:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:48:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782861497000,"timestamp_ms":1782861497000,"timestamp_seconds":1782861497,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ad382a8"} 
[2026-07-01 04: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-01 04:48:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 04:48:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04: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-01 04: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-01 04:48:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:48:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:48:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:48:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:48:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:48:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:48:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:48:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412466176001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:48:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:48:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:48:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412466176001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:48:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:48:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:48:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:48:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:48:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412466176001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:48:58] local.INFO: DEBUG: GPS processor result {"connection_id":119466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:48:58] local.INFO: GPS data processed {"connection_id":119466,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:48:58] local.INFO: Acknowledgment sent {"connection_id":119466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:49:26] local.INFO: TCP Data received {"connection_id":118710,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:49:27] local.INFO: Processing buffer {"connection_id":118710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:49:27] local.INFO: IMEI packet received {"connection_id":118710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 04:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":118710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:49:31] local.INFO: TCP Data received {"connection_id":118710,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:49:31] local.INFO: Processing buffer {"connection_id":118710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:49:31] local.INFO: IMEI packet received {"connection_id":118710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 04:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":118710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 04:49:32] local.INFO: TCP Data received {"connection_id":118710,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ad382a8012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ad382a8012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:49:32] local.INFO: Processing buffer {"connection_id":118710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ad382a8012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:49:32] local.INFO: Packet analysis {"connection_id":118710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ad3"} 
[2026-07-01 04:49:32] local.INFO: Extracted packet for processing {"connection_id":118710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ad3"} 
[2026-07-01 04:49:32] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04: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-01 04:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412466176001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782861497000,"timestamp_ms":1782861497000,"timestamp_seconds":1782861497,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ad382a8"} 
[2026-07-01 04: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-01 04:49:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 04:49:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04: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-01 04: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-01 04:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":118710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":118710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":118710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412466176001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412466176001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:49:32] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:49:32] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412466176001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":118710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:49:32] local.INFO: GPS data processed {"connection_id":118710,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:49:32] local.INFO: Acknowledgment sent {"connection_id":118710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:50:04] local.INFO: TCP Data received {"connection_id":118710,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ad382a8012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ad382a8012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:50:04] local.INFO: Processing buffer {"connection_id":118710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ad382a8012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:50:04] local.INFO: Packet analysis {"connection_id":118710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ad3"} 
[2026-07-01 04:50:04] local.INFO: Extracted packet for processing {"connection_id":118710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ad3"} 
[2026-07-01 04:50:04] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412466176001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:50:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782861497000,"timestamp_ms":1782861497000,"timestamp_seconds":1782861497,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ad382a8"} 
[2026-07-01 04:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:50:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 04:50:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":118710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":118710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":118710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:50:04] local.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-01 04:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412466176001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412466176001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:50:04] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:50:04] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412466176001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":118710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:50:04] local.INFO: GPS data processed {"connection_id":118710,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:50:04] local.INFO: Acknowledgment sent {"connection_id":118710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:50:21] local.INFO: TCP Data received {"connection_id":118818,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:50:21] local.INFO: Processing buffer {"connection_id":118818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:50:21] local.INFO: IMEI packet received {"connection_id":118818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 04:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":118818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:50:26] local.INFO: TCP Data received {"connection_id":118818,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:50:26] local.INFO: Processing buffer {"connection_id":118818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:50:26] local.INFO: IMEI packet received {"connection_id":118818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 04:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":118818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 04:50:28] local.INFO: TCP Data received {"connection_id":118818,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ad382a8012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ad382a8012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:50:28] local.INFO: Processing buffer {"connection_id":118818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ad382a8012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:50:28] local.INFO: Packet analysis {"connection_id":118818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ad3"} 
[2026-07-01 04:50:28] local.INFO: Extracted packet for processing {"connection_id":118818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ad3"} 
[2026-07-01 04:50:28] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412466176001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:50:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:50:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782861497000,"timestamp_ms":1782861497000,"timestamp_seconds":1782861497,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ad382a8"} 
[2026-07-01 04:50:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:50:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 04:50:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:50:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:50:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:50:28] 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-01 04:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412466176001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412466176001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:50:28] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:50:28] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:50:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412466176001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":118818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:50:28] local.INFO: GPS data processed {"connection_id":118818,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:50:28] local.INFO: Acknowledgment sent {"connection_id":118818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:50:32] local.INFO: TCP Data received {"connection_id":118818,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ad382a8012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ad382a8012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:50:32] local.INFO: Processing buffer {"connection_id":118818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ad382a8012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:50:32] local.INFO: Packet analysis {"connection_id":118818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ad3"} 
[2026-07-01 04:50:32] local.INFO: Extracted packet for processing {"connection_id":118818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ad3"} 
[2026-07-01 04:50:32] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412466176001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:50:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782861497000,"timestamp_ms":1782861497000,"timestamp_seconds":1782861497,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ad382a8"} 
[2026-07-01 04:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:50:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 04:50:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:50:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":118818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":118818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":118818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:50:32] 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-01 04:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412466176001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412466176001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:50:32] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:50:32] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412466176001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":118818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:50:32] local.INFO: GPS data processed {"connection_id":118818,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:50:32] local.INFO: Acknowledgment sent {"connection_id":118818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:51:03] local.INFO: TCP Data received {"connection_id":118818,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ad382a8012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ad382a8012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:51:03] local.INFO: Processing buffer {"connection_id":118818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ad382a8012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:51:03] local.INFO: Packet analysis {"connection_id":118818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ad3"} 
[2026-07-01 04:51:03] local.INFO: Extracted packet for processing {"connection_id":118818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ad3"} 
[2026-07-01 04:51:03] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412466176001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782861497000,"timestamp_ms":1782861497000,"timestamp_seconds":1782861497,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ad382a8"} 
[2026-07-01 04:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 04:51:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:51:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":118818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":118818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":118818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:51:03] 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-01 04:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412466176001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412466176001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:51:03] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:51:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412466176001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":118818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:51:03] local.INFO: GPS data processed {"connection_id":118818,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:51:03] local.INFO: Acknowledgment sent {"connection_id":118818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:51:21] local.INFO: TCP Data received {"connection_id":119469,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:51:21] local.INFO: Processing buffer {"connection_id":119469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:51:21] local.INFO: IMEI packet received {"connection_id":119469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 04:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":119469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:51:26] local.INFO: TCP Data received {"connection_id":119469,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:51:26] local.INFO: Processing buffer {"connection_id":119469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:51:26] local.INFO: IMEI packet received {"connection_id":119469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 04:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":119469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 04:51:27] local.INFO: TCP Data received {"connection_id":119469,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ad382a8012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ad382a8012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:51:27] local.INFO: Processing buffer {"connection_id":119469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ad382a8012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:51:27] local.INFO: Packet analysis {"connection_id":119469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ad3"} 
[2026-07-01 04:51:27] local.INFO: Extracted packet for processing {"connection_id":119469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ad3"} 
[2026-07-01 04:51:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412466176001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:51:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782861497000,"timestamp_ms":1782861497000,"timestamp_seconds":1782861497,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ad382a8"} 
[2026-07-01 04:51:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:51:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 04:51:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:51:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:51:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:51:27] 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-01 04:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412466176001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412466176001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:51:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:51:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412466176001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":119469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:51:27] local.INFO: GPS data processed {"connection_id":119469,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:51:27] local.INFO: Acknowledgment sent {"connection_id":119469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:51:44] local.INFO: TCP Data received {"connection_id":120566,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 04:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120566,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 04:51:44] local.INFO: Processing buffer {"connection_id":120566,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 04:51:44] local.INFO: IMEI packet received {"connection_id":120566,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 04:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":120566,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:51:58] local.INFO: TCP Data received {"connection_id":119469,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ad382a8012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ad382a8012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:51:58] local.INFO: Processing buffer {"connection_id":119469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ad382a8012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:51:58] local.INFO: Packet analysis {"connection_id":119469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ad3"} 
[2026-07-01 04:51:58] local.INFO: Extracted packet for processing {"connection_id":119469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ad3"} 
[2026-07-01 04:51:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04: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-01 04:51:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412466176001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:51:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:51:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:51:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:51:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782861497000,"timestamp_ms":1782861497000,"timestamp_seconds":1782861497,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ad382a8"} 
[2026-07-01 04: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-01 04:51:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 04:51:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04: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-01 04: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-01 04:51:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:51:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:51:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:51:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:51:58] 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-01 04:51:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:51:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:51:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412466176001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:51:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:51:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:51:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412466176001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:51:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:51:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:51:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:51:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:51:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412466176001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:51:58] local.INFO: DEBUG: GPS processor result {"connection_id":119469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:51:58] local.INFO: GPS data processed {"connection_id":119469,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:51:58] local.INFO: Acknowledgment sent {"connection_id":119469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:52:16] local.INFO: TCP Data received {"connection_id":120567,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 04:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120567,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 04:52:16] local.INFO: Processing buffer {"connection_id":120567,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 04:52:16] local.INFO: IMEI packet received {"connection_id":120567,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 04:52:16] local.INFO: IMEI acknowledgment sent {"connection_id":120567,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:52:21] local.INFO: TCP Data received {"connection_id":119470,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:52:21] local.INFO: Processing buffer {"connection_id":119470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:52:21] local.INFO: IMEI packet received {"connection_id":119470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 04:52:21] local.INFO: IMEI acknowledgment sent {"connection_id":119470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:52:26] local.INFO: TCP Data received {"connection_id":119470,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:52:26] local.INFO: Processing buffer {"connection_id":119470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:52:26] local.INFO: IMEI packet received {"connection_id":119470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 04:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":119470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 04:52:27] local.INFO: TCP Data received {"connection_id":119470,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ad382a8012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ad382a8012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:52:27] local.INFO: Processing buffer {"connection_id":119470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ad382a8012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:52:27] local.INFO: Packet analysis {"connection_id":119470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ad3"} 
[2026-07-01 04:52:27] local.INFO: Extracted packet for processing {"connection_id":119470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ad3"} 
[2026-07-01 04:52:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412466176001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:52:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782861497000,"timestamp_ms":1782861497000,"timestamp_seconds":1782861497,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ad382a8"} 
[2026-07-01 04:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:52:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 04:52:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:52:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:52:27] 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-01 04:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412466176001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412466176001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:52:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:52:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412466176001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":119470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:52:27] local.INFO: GPS data processed {"connection_id":119470,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:52:27] local.INFO: Acknowledgment sent {"connection_id":119470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:52:58] local.INFO: TCP Data received {"connection_id":119470,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ad382a8012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ad382a8012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:52:58] local.INFO: Processing buffer {"connection_id":119470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ad382a8012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:52:58] local.INFO: Packet analysis {"connection_id":119470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ad3"} 
[2026-07-01 04:52:58] local.INFO: Extracted packet for processing {"connection_id":119470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ad3"} 
[2026-07-01 04:52:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04: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-01 04:52:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412466176001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:52:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:52:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:52:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:52:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782861497000,"timestamp_ms":1782861497000,"timestamp_seconds":1782861497,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ad382a8"} 
[2026-07-01 04: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-01 04:52:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 04:52:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04: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-01 04: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-01 04:52:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:52:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:52:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:52:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:52:58] 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-01 04:52:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:52:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:52:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412466176001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:52:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:52:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:52:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412466176001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:52:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:52:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:52:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:52:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:52:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412466176001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:52:58] local.INFO: DEBUG: GPS processor result {"connection_id":119470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:52:58] local.INFO: GPS data processed {"connection_id":119470,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:52:58] local.INFO: Acknowledgment sent {"connection_id":119470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:53:21] local.INFO: TCP Data received {"connection_id":120568,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:53:21] local.INFO: Processing buffer {"connection_id":120568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:53:21] local.INFO: IMEI packet received {"connection_id":120568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 04:53:21] local.INFO: IMEI acknowledgment sent {"connection_id":120568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:53:26] local.INFO: TCP Data received {"connection_id":120568,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:53:26] local.INFO: Processing buffer {"connection_id":120568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:53:26] local.INFO: IMEI packet received {"connection_id":120568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 04:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":120568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 04:53:27] local.INFO: TCP Data received {"connection_id":120568,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ad382a8012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ad382a8012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:53:27] local.INFO: Processing buffer {"connection_id":120568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ad382a8012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:53:27] local.INFO: Packet analysis {"connection_id":120568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ad3"} 
[2026-07-01 04:53:27] local.INFO: Extracted packet for processing {"connection_id":120568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ad3"} 
[2026-07-01 04:53:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412466176001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:53:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:53:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:53:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:53:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782861497000,"timestamp_ms":1782861497000,"timestamp_seconds":1782861497,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ad382a8"} 
[2026-07-01 04:53:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:53:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 04:53:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:53:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:53:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:53:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:53:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:53:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:53:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:53:27] 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-01 04:53:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412466176001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412466176001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:53:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:53:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:53:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:53:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412466176001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:53:27] local.INFO: DEBUG: GPS processor result {"connection_id":120568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:53:27] local.INFO: GPS data processed {"connection_id":120568,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:53:27] local.INFO: Acknowledgment sent {"connection_id":120568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:53:59] local.INFO: TCP Data received {"connection_id":120568,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ad81a70012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ad81a70012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:53:59] local.INFO: Processing buffer {"connection_id":120568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ad81a70012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:53:59] local.INFO: Packet analysis {"connection_id":120568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ad8"} 
[2026-07-01 04:53:59] local.INFO: Extracted packet for processing {"connection_id":120568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ad8"} 
[2026-07-01 04:53:59] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:53:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412543232001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:53:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:53:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:53:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:53:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782861798000,"timestamp_ms":1782861798000,"timestamp_seconds":1782861798,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ad81a70"} 
[2026-07-01 04:53:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:53:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 04:53:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:53:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:53:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:53:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:53:59] local.INFO: Teltonika packet parsed successfully {"connection_id":120568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:53:59] local.INFO: Passing IMEI to GPS processor {"connection_id":120568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:53:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":120568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:53:59] 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-01 04:53:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:53:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:53:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412543232001,"66":25397,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:53:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:53:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:53:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412543232001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:53:59] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:53:59] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:53:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:53:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:53:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412543232001,"power":25397,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:53:59] local.INFO: DEBUG: GPS processor result {"connection_id":120568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:53:59] local.INFO: GPS data processed {"connection_id":120568,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:53:59] local.INFO: Acknowledgment sent {"connection_id":120568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:54:26] local.INFO: TCP Data received {"connection_id":118711,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:54:26] local.INFO: Processing buffer {"connection_id":118711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:54:26] local.INFO: IMEI packet received {"connection_id":118711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 04:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":118711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:54:31] local.INFO: TCP Data received {"connection_id":118711,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:54:31] local.INFO: Processing buffer {"connection_id":118711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:54:31] local.INFO: IMEI packet received {"connection_id":118711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 04:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":118711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 04:54:33] local.INFO: TCP Data received {"connection_id":118711,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ad81a70012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ad81a70012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:54:33] local.INFO: Processing buffer {"connection_id":118711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ad81a70012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:54:33] local.INFO: Packet analysis {"connection_id":118711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ad8"} 
[2026-07-01 04:54:33] local.INFO: Extracted packet for processing {"connection_id":118711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ad8"} 
[2026-07-01 04:54:33] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412543232001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782861798000,"timestamp_ms":1782861798000,"timestamp_seconds":1782861798,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ad81a70"} 
[2026-07-01 04:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:54:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 04:54:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:54:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":118711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":118711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":118711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412543232001,"66":25397,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412543232001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:54:33] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:54:33] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412543232001,"power":25397,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":118711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:54:33] local.INFO: GPS data processed {"connection_id":118711,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:54:33] local.INFO: Acknowledgment sent {"connection_id":118711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:55:04] local.INFO: TCP Data received {"connection_id":118711,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ad81a70012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ad81a70012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:55:04] local.INFO: Processing buffer {"connection_id":118711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ad81a70012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:55:04] local.INFO: Packet analysis {"connection_id":118711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ad8"} 
[2026-07-01 04:55:04] local.INFO: Extracted packet for processing {"connection_id":118711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ad8"} 
[2026-07-01 04:55:04] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04: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-01 04:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412543232001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782861798000,"timestamp_ms":1782861798000,"timestamp_seconds":1782861798,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ad81a70"} 
[2026-07-01 04: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-01 04:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 04:55:04] 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-01 04: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-01 04: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-01 04:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":118711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":118711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":118711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:55:04] 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-01 04:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412543232001,"66":25397,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412543232001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:55:04] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:55:04] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412543232001,"power":25397,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":118711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:55:04] local.INFO: GPS data processed {"connection_id":118711,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:55:04] local.INFO: Acknowledgment sent {"connection_id":118711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:55:21] local.INFO: TCP Data received {"connection_id":119472,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:55:21] local.INFO: Processing buffer {"connection_id":119472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:55:21] local.INFO: IMEI packet received {"connection_id":119472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 04:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":119472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:55:26] local.INFO: TCP Data received {"connection_id":119472,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:55:26] local.INFO: Processing buffer {"connection_id":119472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:55:26] local.INFO: IMEI packet received {"connection_id":119472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 04:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":119472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 04:55:31] local.INFO: TCP Data received {"connection_id":119472,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ad81a70012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ad81a70012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:55:31] local.INFO: Processing buffer {"connection_id":119472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ad81a70012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:55:31] local.INFO: Packet analysis {"connection_id":119472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ad8"} 
[2026-07-01 04:55:31] local.INFO: Extracted packet for processing {"connection_id":119472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ad8"} 
[2026-07-01 04:55:31] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412543232001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:55:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782861798000,"timestamp_ms":1782861798000,"timestamp_seconds":1782861798,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ad81a70"} 
[2026-07-01 04:55:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:55:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 04:55:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:55:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:55:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:55:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412543232001,"66":25397,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412543232001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:55:31] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:55:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412543232001,"power":25397,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":119472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:55:31] local.INFO: GPS data processed {"connection_id":119472,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:55:31] local.INFO: Acknowledgment sent {"connection_id":119472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:56:02] local.INFO: TCP Data received {"connection_id":119472,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ad81a70012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ad81a70012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:56:02] local.INFO: Processing buffer {"connection_id":119472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ad81a70012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:56:02] local.INFO: Packet analysis {"connection_id":119472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ad8"} 
[2026-07-01 04:56:02] local.INFO: Extracted packet for processing {"connection_id":119472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ad8"} 
[2026-07-01 04:56:02] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412543232001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:56:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782861798000,"timestamp_ms":1782861798000,"timestamp_seconds":1782861798,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ad81a70"} 
[2026-07-01 04:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:56:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 04:56:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:56:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":119472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":119472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":119472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:56:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412543232001,"66":25397,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412543232001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:56:02] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:56:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412543232001,"power":25397,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":119472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:56:02] local.INFO: GPS data processed {"connection_id":119472,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:56:02] local.INFO: Acknowledgment sent {"connection_id":119472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:56:21] local.INFO: TCP Data received {"connection_id":118713,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:56:21] local.INFO: Processing buffer {"connection_id":118713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:56:21] local.INFO: IMEI packet received {"connection_id":118713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 04:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":118713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:56:26] local.INFO: TCP Data received {"connection_id":118713,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:56:26] local.INFO: Processing buffer {"connection_id":118713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:56:26] local.INFO: IMEI packet received {"connection_id":118713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 04:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":118713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 04:56:30] local.INFO: TCP Data received {"connection_id":118713,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ad81a70012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ad81a70012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:56:30] local.INFO: Processing buffer {"connection_id":118713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ad81a70012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:56:30] local.INFO: Packet analysis {"connection_id":118713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ad8"} 
[2026-07-01 04:56:30] local.INFO: Extracted packet for processing {"connection_id":118713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ad8"} 
[2026-07-01 04:56:30] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04: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-01 04:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412543232001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:56:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:56:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782861798000,"timestamp_ms":1782861798000,"timestamp_seconds":1782861798,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ad81a70"} 
[2026-07-01 04: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-01 04:56:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 04:56:30] 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-01 04: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-01 04: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-01 04:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":118713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":118713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":118713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:56:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412543232001,"66":25397,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412543232001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:56:30] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:56:30] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:56:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:56:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:56:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412543232001,"power":25397,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:56:30] local.INFO: DEBUG: GPS processor result {"connection_id":118713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:56:30] local.INFO: GPS data processed {"connection_id":118713,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:56:30] local.INFO: Acknowledgment sent {"connection_id":118713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:57:01] local.INFO: TCP Data received {"connection_id":118713,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ad81a70012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ad81a70012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:57:01] local.INFO: Processing buffer {"connection_id":118713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ad81a70012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:57:01] local.INFO: Packet analysis {"connection_id":118713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ad8"} 
[2026-07-01 04:57:01] local.INFO: Extracted packet for processing {"connection_id":118713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ad8"} 
[2026-07-01 04:57:01] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:57:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412543232001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:57:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:57:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:57:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:57:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782861798000,"timestamp_ms":1782861798000,"timestamp_seconds":1782861798,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ad81a70"} 
[2026-07-01 04:57:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:57:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:57:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 04:57:01] 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-01 04:57:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:57:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":118713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":118713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":118713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:57:01] 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-01 04:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412543232001,"66":25397,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412543232001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:57:01] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:57:01] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:57:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:57:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:57:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412543232001,"power":25397,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:57:01] local.INFO: DEBUG: GPS processor result {"connection_id":118713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:57:01] local.INFO: GPS data processed {"connection_id":118713,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:57:01] local.INFO: Acknowledgment sent {"connection_id":118713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:57:26] local.INFO: TCP Data received {"connection_id":120569,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:57:26] local.INFO: Processing buffer {"connection_id":120569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:57:26] local.INFO: IMEI packet received {"connection_id":120569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 04:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":120569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:57:31] local.INFO: TCP Data received {"connection_id":119473,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 04:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119473,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 04:57:31] local.INFO: Processing buffer {"connection_id":119473,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 04:57:31] local.INFO: IMEI packet received {"connection_id":119473,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 04:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":119473,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:57:31] local.INFO: TCP Data received {"connection_id":120569,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:57:31] local.INFO: Processing buffer {"connection_id":120569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:57:31] local.INFO: IMEI packet received {"connection_id":120569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 04:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":120569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 04:57:32] local.INFO: TCP Data received {"connection_id":120569,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ad81a70012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ad81a70012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:57:32] local.INFO: Processing buffer {"connection_id":120569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ad81a70012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:57:32] local.INFO: Packet analysis {"connection_id":120569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ad8"} 
[2026-07-01 04:57:32] local.INFO: Extracted packet for processing {"connection_id":120569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ad8"} 
[2026-07-01 04:57:32] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412543232001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:57:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782861798000,"timestamp_ms":1782861798000,"timestamp_seconds":1782861798,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ad81a70"} 
[2026-07-01 04:57:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:57:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 04:57:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:57:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:57:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":120569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":120569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":120569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:57:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412543232001,"66":25397,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412543232001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:57:32] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:57:32] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412543232001,"power":25397,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":120569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:57:32] local.INFO: GPS data processed {"connection_id":120569,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:57:32] local.INFO: Acknowledgment sent {"connection_id":120569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:57:37] local.INFO: TCP Data received {"connection_id":120569,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ad81a70012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ad81a70012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:57:37] local.INFO: Processing buffer {"connection_id":120569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ad81a70012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:57:37] local.INFO: Packet analysis {"connection_id":120569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ad8"} 
[2026-07-01 04:57:37] local.INFO: Extracted packet for processing {"connection_id":120569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ad8"} 
[2026-07-01 04:57:37] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412543232001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782861798000,"timestamp_ms":1782861798000,"timestamp_seconds":1782861798,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ad81a70"} 
[2026-07-01 04:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 04:57:37] 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-01 04:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":120569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":120569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":120569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412543232001,"66":25397,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412543232001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:57:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:57:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412543232001,"power":25397,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":120569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:57:37] local.INFO: GPS data processed {"connection_id":120569,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:57:37] local.INFO: Acknowledgment sent {"connection_id":120569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:58:16] local.INFO: TCP Data received {"connection_id":119474,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 04:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119474,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 04:58:16] local.INFO: Processing buffer {"connection_id":119474,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 04:58:16] local.INFO: IMEI packet received {"connection_id":119474,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 04:58:16] local.INFO: IMEI acknowledgment sent {"connection_id":119474,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:58:21] local.INFO: TCP Data received {"connection_id":119475,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:58:21] local.INFO: Processing buffer {"connection_id":119475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:58:21] local.INFO: IMEI packet received {"connection_id":119475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 04:58:21] local.INFO: IMEI acknowledgment sent {"connection_id":119475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:58:26] local.INFO: TCP Data received {"connection_id":119475,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:58:26] local.INFO: Processing buffer {"connection_id":119475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:58:26] local.INFO: IMEI packet received {"connection_id":119475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 04:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":119475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 04:58:27] local.INFO: TCP Data received {"connection_id":119475,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ad81a70012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ad81a70012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:58:27] local.INFO: Processing buffer {"connection_id":119475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ad81a70012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 04:58:27] local.INFO: Packet analysis {"connection_id":119475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ad8"} 
[2026-07-01 04:58:27] local.INFO: Extracted packet for processing {"connection_id":119475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ad8"} 
[2026-07-01 04:58:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:58:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412543232001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:58:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:58:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782861798000,"timestamp_ms":1782861798000,"timestamp_seconds":1782861798,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ad81a70"} 
[2026-07-01 04:58:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:58:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 04:58:27] 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-01 04:58:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:58:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:58:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:58:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:58:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:58:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:58:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:58:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:58:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412543232001,"66":25397,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:58:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:58:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:58:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412543232001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:58:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:58:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:58:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:58:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:58:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412543232001,"power":25397,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:58:27] local.INFO: DEBUG: GPS processor result {"connection_id":119475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:58:27] local.INFO: GPS data processed {"connection_id":119475,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:58:27] local.INFO: Acknowledgment sent {"connection_id":119475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:58:58] local.INFO: TCP Data received {"connection_id":119475,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f1adcb238012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1adcb238012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:58:58] local.INFO: Processing buffer {"connection_id":119475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1adcb238012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:58:58] local.INFO: Packet analysis {"connection_id":119475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1adc"} 
[2026-07-01 04:58:58] local.INFO: Extracted packet for processing {"connection_id":119475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1adc"} 
[2026-07-01 04:58:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":44,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412620288001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:58:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:58:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:58:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:58:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782862099000,"timestamp_ms":1782862099000,"timestamp_seconds":1782862099,"priority":1,"record_length":96,"hex_timestamp":"0000019f1adcb238"} 
[2026-07-01 04:58:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:58:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 04:58:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:58:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:58:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:58:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:58:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:58:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:58:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:58: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-01 04:58:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:58:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:58:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412620288001,"66":25397,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:58:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:58:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:58:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412620288001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:58:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:58:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:58:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:58:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:58:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412620288001,"power":25397,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:58:58] local.INFO: DEBUG: GPS processor result {"connection_id":119475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:58:58] local.INFO: GPS data processed {"connection_id":119475,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:58:58] local.INFO: Acknowledgment sent {"connection_id":119475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 04:59:21] local.INFO: TCP Data received {"connection_id":118822,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:59:21] local.INFO: Processing buffer {"connection_id":118822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:59:21] local.INFO: IMEI packet received {"connection_id":118822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 04:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":118822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 04:59:26] local.INFO: TCP Data received {"connection_id":118822,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:59:26] local.INFO: Processing buffer {"connection_id":118822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 04:59:26] local.INFO: IMEI packet received {"connection_id":118822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 04:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":118822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 04:59:27] local.INFO: TCP Data received {"connection_id":118822,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f1adcb238012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1adcb238012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:59:27] local.INFO: Processing buffer {"connection_id":118822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1adcb238012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 04:59:27] local.INFO: Packet analysis {"connection_id":118822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1adc"} 
[2026-07-01 04:59:27] local.INFO: Extracted packet for processing {"connection_id":118822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1adc"} 
[2026-07-01 04:59:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":44,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 04:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 04:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412620288001,"note":"Value kept but may cause issues"} 
[2026-07-01 04:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 04:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 04:59:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 04:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782862099000,"timestamp_ms":1782862099000,"timestamp_seconds":1782862099,"priority":1,"record_length":96,"hex_timestamp":"0000019f1adcb238"} 
[2026-07-01 04:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 04:59:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 04:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 04:59:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 04:59:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 04:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 04:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 04:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 04:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 04:59:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 04:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 04:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 04:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412620288001,"66":25397,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 04:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 04:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 04:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412620288001,"description":"Unknown IO ID 0"} 
[2026-07-01 04:59:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 04:59:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 04:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 04:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 04:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412620288001,"power":25397,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 04:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":118822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 04:59:27] local.INFO: GPS data processed {"connection_id":118822,"processed":1,"errors":0,"total":1} 
[2026-07-01 04:59:27] local.INFO: Acknowledgment sent {"connection_id":118822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:00:02] local.INFO: TCP Data received {"connection_id":118822,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f1adcb238012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 05:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1adcb238012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 05:00:02] local.INFO: Processing buffer {"connection_id":118822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1adcb238012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 05:00:02] local.INFO: Packet analysis {"connection_id":118822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1adc"} 
[2026-07-01 05:00:02] local.INFO: Extracted packet for processing {"connection_id":118822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1adc"} 
[2026-07-01 05:00:02] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":44,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:00:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412620288001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:00:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:00:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782862099000,"timestamp_ms":1782862099000,"timestamp_seconds":1782862099,"priority":1,"record_length":96,"hex_timestamp":"0000019f1adcb238"} 
[2026-07-01 05:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:00:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:00:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 05:00:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05:00:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":118822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":118822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":118822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:00:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 05:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412620288001,"66":25397,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412620288001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:00:02] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:00:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:00:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412620288001,"power":25397,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:00:02] local.INFO: DEBUG: GPS processor result {"connection_id":118822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:00:02] local.INFO: GPS data processed {"connection_id":118822,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:00:02] local.INFO: Acknowledgment sent {"connection_id":118822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:00:21] local.INFO: TCP Data received {"connection_id":118715,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:00:21] local.INFO: Processing buffer {"connection_id":118715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:00:21] local.INFO: IMEI packet received {"connection_id":118715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 05:00:21] local.INFO: IMEI acknowledgment sent {"connection_id":118715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:00:26] local.INFO: TCP Data received {"connection_id":118715,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:00:26] local.INFO: Processing buffer {"connection_id":118715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:00:26] local.INFO: IMEI packet received {"connection_id":118715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 05:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":118715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 05:00:38] local.INFO: TCP Data received {"connection_id":118715,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1adcb238012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 05:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1adcb238012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 05:00:38] local.INFO: Processing buffer {"connection_id":118715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1adcb238012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 05:00:38] local.INFO: Packet analysis {"connection_id":118715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1adc"} 
[2026-07-01 05:00:38] local.INFO: Extracted packet for processing {"connection_id":118715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1adc"} 
[2026-07-01 05:00:38] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":44,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412620288001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:00:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782862099000,"timestamp_ms":1782862099000,"timestamp_seconds":1782862099,"priority":1,"record_length":96,"hex_timestamp":"0000019f1adcb238"} 
[2026-07-01 05:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 05:00:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05:00:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":118715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":118715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":118715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 05:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412620288001,"66":25397,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412620288001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:00:38] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:00:38] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412620288001,"power":25397,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":118715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:00:38] local.INFO: GPS data processed {"connection_id":118715,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:00:38] local.INFO: Acknowledgment sent {"connection_id":118715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:01:26] local.INFO: TCP Data received {"connection_id":119476,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:01:26] local.INFO: Processing buffer {"connection_id":119476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:01:26] local.INFO: IMEI packet received {"connection_id":119476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 05:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":119476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:01:31] local.INFO: TCP Data received {"connection_id":119476,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:01:31] local.INFO: Processing buffer {"connection_id":119476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:01:31] local.INFO: IMEI packet received {"connection_id":119476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 05:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":119476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 05:01:32] local.INFO: TCP Data received {"connection_id":119476,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019f1adcb238012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 05:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1adcb238012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 05:01:32] local.INFO: Processing buffer {"connection_id":119476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1adcb238012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 05:01:32] local.INFO: Packet analysis {"connection_id":119476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1adc"} 
[2026-07-01 05:01:32] local.INFO: Extracted packet for processing {"connection_id":119476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1adc"} 
[2026-07-01 05:01:32] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":44,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412620288001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:01:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782862099000,"timestamp_ms":1782862099000,"timestamp_seconds":1782862099,"priority":1,"record_length":96,"hex_timestamp":"0000019f1adcb238"} 
[2026-07-01 05:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:01:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 05:01:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05:01:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":119476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":119476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":119476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:01:32] 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-01 05:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412620288001,"66":25397,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412620288001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:01:32] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:01:32] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412620288001,"power":25397,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":119476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:01:32] local.INFO: GPS data processed {"connection_id":119476,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:01:32] local.INFO: Acknowledgment sent {"connection_id":119476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:02:03] local.INFO: TCP Data received {"connection_id":119476,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019f1adcb238012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 05:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1adcb238012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 05:02:03] local.INFO: Processing buffer {"connection_id":119476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1adcb238012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 05:02:03] local.INFO: Packet analysis {"connection_id":119476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1adc"} 
[2026-07-01 05:02:03] local.INFO: Extracted packet for processing {"connection_id":119476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1adc"} 
[2026-07-01 05:02:03] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":44,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412620288001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782862099000,"timestamp_ms":1782862099000,"timestamp_seconds":1782862099,"priority":1,"record_length":96,"hex_timestamp":"0000019f1adcb238"} 
[2026-07-01 05:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:02:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 05:02:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05:02:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":119476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":119476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":119476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 05:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412620288001,"66":25397,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412620288001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:02:03] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:02:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412620288001,"power":25397,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":119476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:02:03] local.INFO: GPS data processed {"connection_id":119476,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:02:03] local.INFO: Acknowledgment sent {"connection_id":119476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:02:21] local.INFO: TCP Data received {"connection_id":118716,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:02:21] local.INFO: Processing buffer {"connection_id":118716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:02:21] local.INFO: IMEI packet received {"connection_id":118716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 05:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":118716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:02:26] local.INFO: TCP Data received {"connection_id":118716,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:02:26] local.INFO: Processing buffer {"connection_id":118716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:02:26] local.INFO: IMEI packet received {"connection_id":118716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 05:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":118716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 05:02:27] local.INFO: TCP Data received {"connection_id":118716,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f1adcb238012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 05:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1adcb238012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 05:02:27] local.INFO: Processing buffer {"connection_id":118716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1adcb238012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 05:02:27] local.INFO: Packet analysis {"connection_id":118716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1adc"} 
[2026-07-01 05:02:27] local.INFO: Extracted packet for processing {"connection_id":118716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1adc"} 
[2026-07-01 05:02:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":44,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412620288001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:02:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782862099000,"timestamp_ms":1782862099000,"timestamp_seconds":1782862099,"priority":1,"record_length":96,"hex_timestamp":"0000019f1adcb238"} 
[2026-07-01 05:02:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:02:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 05:02:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05:02:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:02:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:02:27] 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-01 05:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412620288001,"66":25397,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412620288001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:02:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:02:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412620288001,"power":25397,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:02:27] local.INFO: DEBUG: GPS processor result {"connection_id":118716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:02:27] local.INFO: GPS data processed {"connection_id":118716,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:02:27] local.INFO: Acknowledgment sent {"connection_id":118716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:02:58] local.INFO: TCP Data received {"connection_id":118716,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f1adcb238012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 05:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1adcb238012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 05:02:58] local.INFO: Processing buffer {"connection_id":118716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1adcb238012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 05:02:58] local.INFO: Packet analysis {"connection_id":118716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1adc"} 
[2026-07-01 05:02:58] local.INFO: Extracted packet for processing {"connection_id":118716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1adc"} 
[2026-07-01 05:02:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":44,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412620288001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:02:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:02:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782862099000,"timestamp_ms":1782862099000,"timestamp_seconds":1782862099,"priority":1,"record_length":96,"hex_timestamp":"0000019f1adcb238"} 
[2026-07-01 05:02:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:02:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 05:02:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05:02:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:02:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:02:58] 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-01 05:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412620288001,"66":25397,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412620288001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:02:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:02:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:02:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412620288001,"power":25397,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":118716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:02:58] local.INFO: GPS data processed {"connection_id":118716,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:02:58] local.INFO: Acknowledgment sent {"connection_id":118716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:03:21] local.INFO: TCP Data received {"connection_id":118823,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:03:21] local.INFO: Processing buffer {"connection_id":118823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:03:21] local.INFO: IMEI packet received {"connection_id":118823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 05:03:21] local.INFO: IMEI acknowledgment sent {"connection_id":118823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:03:26] local.INFO: TCP Data received {"connection_id":118823,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:03:26] local.INFO: Processing buffer {"connection_id":118823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:03:26] local.INFO: IMEI packet received {"connection_id":118823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 05:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":118823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 05:03:27] local.INFO: TCP Data received {"connection_id":118823,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f1adcb238012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 05:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1adcb238012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 05:03:27] local.INFO: Processing buffer {"connection_id":118823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1adcb238012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 05:03:27] local.INFO: Packet analysis {"connection_id":118823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1adc"} 
[2026-07-01 05:03:27] local.INFO: Extracted packet for processing {"connection_id":118823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1adc"} 
[2026-07-01 05:03:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":44,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412620288001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:03:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782862099000,"timestamp_ms":1782862099000,"timestamp_seconds":1782862099,"priority":1,"record_length":96,"hex_timestamp":"0000019f1adcb238"} 
[2026-07-01 05:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:03:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 05:03:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05:03:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:03:27] 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-01 05:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412620288001,"66":25397,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412620288001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:03:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:03:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412620288001,"power":25397,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":118823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:03:27] local.INFO: GPS data processed {"connection_id":118823,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:03:27] local.INFO: Acknowledgment sent {"connection_id":118823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:03:31] local.INFO: TCP Data received {"connection_id":119477,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 05:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119477,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 05:03:31] local.INFO: Processing buffer {"connection_id":119477,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 05:03:31] local.INFO: IMEI packet received {"connection_id":119477,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 05:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":119477,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:03:58] local.INFO: TCP Data received {"connection_id":118823,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ae14a00012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 05:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ae14a00012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 05:03:58] local.INFO: Processing buffer {"connection_id":118823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ae14a00012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 05:03:58] local.INFO: Packet analysis {"connection_id":118823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ae1"} 
[2026-07-01 05:03:58] local.INFO: Extracted packet for processing {"connection_id":118823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ae1"} 
[2026-07-01 05:03:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05: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-01 05:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412697344001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:03:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:03:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782862400000,"timestamp_ms":1782862400000,"timestamp_seconds":1782862400,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ae14a00"} 
[2026-07-01 05: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-01 05:03:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 05:03:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05: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-01 05: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-01 05:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:03:58] 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-01 05:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412697344001,"66":25397,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412697344001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:03:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:03:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:03:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412697344001,"power":25397,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":118823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:03:58] local.INFO: GPS data processed {"connection_id":118823,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:03:58] local.INFO: Acknowledgment sent {"connection_id":118823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:04:21] local.INFO: TCP Data received {"connection_id":120572,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 05:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120572,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 05:04:21] local.INFO: Processing buffer {"connection_id":120572,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 05:04:21] local.INFO: IMEI packet received {"connection_id":120572,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 05:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":120572,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:04:26] local.INFO: TCP Data received {"connection_id":120573,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:04:26] local.INFO: Processing buffer {"connection_id":120573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:04:26] local.INFO: IMEI packet received {"connection_id":120573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 05:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":120573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:04:31] local.INFO: TCP Data received {"connection_id":120573,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:04:31] local.INFO: Processing buffer {"connection_id":120573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:04:31] local.INFO: IMEI packet received {"connection_id":120573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 05:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":120573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 05:04:32] local.INFO: TCP Data received {"connection_id":120573,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ae14a00012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 05:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ae14a00012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 05:04:32] local.INFO: Processing buffer {"connection_id":120573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ae14a00012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 05:04:32] local.INFO: Packet analysis {"connection_id":120573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ae1"} 
[2026-07-01 05:04:32] local.INFO: Extracted packet for processing {"connection_id":120573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ae1"} 
[2026-07-01 05:04:32] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412697344001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:04:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782862400000,"timestamp_ms":1782862400000,"timestamp_seconds":1782862400,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ae14a00"} 
[2026-07-01 05:04:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:04:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 05:04:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05:04:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:04:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":120573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":120573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":120573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:04:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 05:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412697344001,"66":25397,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412697344001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:04:32] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:04:32] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412697344001,"power":25397,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":120573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:04:32] local.INFO: GPS data processed {"connection_id":120573,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:04:32] local.INFO: Acknowledgment sent {"connection_id":120573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:04:37] local.INFO: TCP Data received {"connection_id":120573,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ae14a00012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 05:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ae14a00012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 05:04:37] local.INFO: Processing buffer {"connection_id":120573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ae14a00012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 05:04:37] local.INFO: Packet analysis {"connection_id":120573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ae1"} 
[2026-07-01 05:04:37] local.INFO: Extracted packet for processing {"connection_id":120573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ae1"} 
[2026-07-01 05:04:37] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412697344001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782862400000,"timestamp_ms":1782862400000,"timestamp_seconds":1782862400,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ae14a00"} 
[2026-07-01 05:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 05:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":120573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":120573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":120573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 05:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412697344001,"66":25397,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412697344001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:04:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:04:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412697344001,"power":25397,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":120573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:04:37] local.INFO: GPS data processed {"connection_id":120573,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:04:37] local.INFO: Acknowledgment sent {"connection_id":120573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:05:21] local.INFO: TCP Data received {"connection_id":120574,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:05:21] local.INFO: Processing buffer {"connection_id":120574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:05:21] local.INFO: IMEI packet received {"connection_id":120574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 05:05:21] local.INFO: IMEI acknowledgment sent {"connection_id":120574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:05:26] local.INFO: TCP Data received {"connection_id":120574,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:05:26] local.INFO: Processing buffer {"connection_id":120574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:05:26] local.INFO: IMEI packet received {"connection_id":120574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 05:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":120574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 05:05:27] local.INFO: TCP Data received {"connection_id":120574,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ae14a00012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 05:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ae14a00012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 05:05:27] local.INFO: Processing buffer {"connection_id":120574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ae14a00012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 05:05:27] local.INFO: Packet analysis {"connection_id":120574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ae1"} 
[2026-07-01 05:05:27] local.INFO: Extracted packet for processing {"connection_id":120574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ae1"} 
[2026-07-01 05:05:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412697344001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:05:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:05:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782862400000,"timestamp_ms":1782862400000,"timestamp_seconds":1782862400,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ae14a00"} 
[2026-07-01 05:05:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:05:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 05:05:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05:05:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:05:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:05:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:05:28] local.INFO: Teltonika packet parsed successfully {"connection_id":120574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:05:28] local.INFO: Passing IMEI to GPS processor {"connection_id":120574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:05:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":120574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:05:28] 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-01 05:05:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:05:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:05:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412697344001,"66":25397,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:05:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:05:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:05:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412697344001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:05:28] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:05:28] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:05:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:05:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:05:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412697344001,"power":25397,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:05:28] local.INFO: DEBUG: GPS processor result {"connection_id":120574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:05:28] local.INFO: GPS data processed {"connection_id":120574,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:05:28] local.INFO: Acknowledgment sent {"connection_id":120574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:05:59] local.INFO: TCP Data received {"connection_id":120574,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ae14a00012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 05:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ae14a00012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 05:05:59] local.INFO: Processing buffer {"connection_id":120574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ae14a00012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 05:05:59] local.INFO: Packet analysis {"connection_id":120574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ae1"} 
[2026-07-01 05:05:59] local.INFO: Extracted packet for processing {"connection_id":120574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ae1"} 
[2026-07-01 05:05:59] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412697344001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:05:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782862400000,"timestamp_ms":1782862400000,"timestamp_seconds":1782862400,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ae14a00"} 
[2026-07-01 05:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:05:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 05:05:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05:05:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":120574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":120574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":120574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:05:59] 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-01 05:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412697344001,"66":25397,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412697344001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:05:59] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:05:59] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:05:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412697344001,"power":25397,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":120574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:05:59] local.INFO: GPS data processed {"connection_id":120574,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:05:59] local.INFO: Acknowledgment sent {"connection_id":120574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:06:22] local.INFO: TCP Data received {"connection_id":120576,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:06:22] local.INFO: Processing buffer {"connection_id":120576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:06:22] local.INFO: IMEI packet received {"connection_id":120576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 05:06:22] local.INFO: IMEI acknowledgment sent {"connection_id":120576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:06:30] local.INFO: TCP Data received {"connection_id":120576,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:06:30] local.INFO: Processing buffer {"connection_id":120576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:06:30] local.INFO: IMEI packet received {"connection_id":120576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 05:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":120576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 05:06:31] local.INFO: TCP Data received {"connection_id":120576,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ae14a00012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 05:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ae14a00012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 05:06:31] local.INFO: Processing buffer {"connection_id":120576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ae14a00012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 05:06:31] local.INFO: Packet analysis {"connection_id":120576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ae1"} 
[2026-07-01 05:06:31] local.INFO: Extracted packet for processing {"connection_id":120576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ae1"} 
[2026-07-01 05:06:31] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412697344001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:06:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782862400000,"timestamp_ms":1782862400000,"timestamp_seconds":1782862400,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ae14a00"} 
[2026-07-01 05:06:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:06:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 05:06:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05:06:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:06:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":120576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":120576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":120576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:06:31] 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-01 05:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412697344001,"66":25397,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412697344001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:06:31] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:06:31] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:06:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412697344001,"power":25397,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":120576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:06:31] local.INFO: GPS data processed {"connection_id":120576,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:06:31] local.INFO: Acknowledgment sent {"connection_id":120576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:07:07] local.INFO: TCP Data received {"connection_id":120576,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ae14a00012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 05:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ae14a00012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 05:07:07] local.INFO: Processing buffer {"connection_id":120576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ae14a00012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 05:07:07] local.INFO: Packet analysis {"connection_id":120576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ae1"} 
[2026-07-01 05:07:07] local.INFO: Extracted packet for processing {"connection_id":120576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ae1"} 
[2026-07-01 05:07:07] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412697344001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782862400000,"timestamp_ms":1782862400000,"timestamp_seconds":1782862400,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ae14a00"} 
[2026-07-01 05:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 05:07:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05:07:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":120576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":120576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":120576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:07:07] 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-01 05:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412697344001,"66":25397,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412697344001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:07:07] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:07:07] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412697344001,"power":25397,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":120576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:07:07] local.INFO: GPS data processed {"connection_id":120576,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:07:07] local.INFO: Acknowledgment sent {"connection_id":120576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:07:21] local.INFO: TCP Data received {"connection_id":118824,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:07:21] local.INFO: Processing buffer {"connection_id":118824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:07:21] local.INFO: IMEI packet received {"connection_id":118824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 05:07:21] local.INFO: IMEI acknowledgment sent {"connection_id":118824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:07:26] local.INFO: TCP Data received {"connection_id":118824,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:07:26] local.INFO: Processing buffer {"connection_id":118824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:07:26] local.INFO: IMEI packet received {"connection_id":118824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 05:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":118824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 05:07:29] local.INFO: TCP Data received {"connection_id":118824,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ae14a00012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 05:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ae14a00012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 05:07:29] local.INFO: Processing buffer {"connection_id":118824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ae14a00012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 05:07:29] local.INFO: Packet analysis {"connection_id":118824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ae1"} 
[2026-07-01 05:07:29] local.INFO: Extracted packet for processing {"connection_id":118824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ae1"} 
[2026-07-01 05:07:29] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05: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-01 05:07:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412697344001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:07:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:07:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:07:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:07:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782862400000,"timestamp_ms":1782862400000,"timestamp_seconds":1782862400,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ae14a00"} 
[2026-07-01 05: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-01 05:07:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:07:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 05:07:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05: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-01 05: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-01 05:07:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:07:29] local.INFO: Teltonika packet parsed successfully {"connection_id":118824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:07:29] local.INFO: Passing IMEI to GPS processor {"connection_id":118824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:07:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":118824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:07:29] 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-01 05:07:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:07:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:07:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412697344001,"66":25397,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:07:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:07:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:07:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412697344001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:07:29] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:07:29] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:07:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:07:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:07:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412697344001,"power":25397,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:07:29] local.INFO: DEBUG: GPS processor result {"connection_id":118824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:07:29] local.INFO: GPS data processed {"connection_id":118824,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:07:29] local.INFO: Acknowledgment sent {"connection_id":118824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:08:01] local.INFO: TCP Data received {"connection_id":118824,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ae14a00012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 05:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ae14a00012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 05:08:01] local.INFO: Processing buffer {"connection_id":118824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ae14a00012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 05:08:01] local.INFO: Packet analysis {"connection_id":118824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ae1"} 
[2026-07-01 05:08:01] local.INFO: Extracted packet for processing {"connection_id":118824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ae1"} 
[2026-07-01 05:08:01] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412697344001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:08:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:08:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782862400000,"timestamp_ms":1782862400000,"timestamp_seconds":1782862400,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ae14a00"} 
[2026-07-01 05:08:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:08:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 05:08:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05:08:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:08:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":118824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":118824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":118824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:08:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 05:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412697344001,"66":25397,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412697344001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:08:01] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:08:01] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:08:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:08:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412697344001,"power":25397,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":118824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:08:01] local.INFO: GPS data processed {"connection_id":118824,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:08:01] local.INFO: Acknowledgment sent {"connection_id":118824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:08:21] local.INFO: TCP Data received {"connection_id":118825,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:08:21] local.INFO: Processing buffer {"connection_id":118825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:08:21] local.INFO: IMEI packet received {"connection_id":118825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 05:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":118825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:08:28] local.INFO: TCP Data received {"connection_id":118825,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:08:28] local.INFO: Processing buffer {"connection_id":118825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:08:28] local.INFO: IMEI packet received {"connection_id":118825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 05:08:28] local.INFO: IMEI acknowledgment sent {"connection_id":118825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 05:08:29] local.INFO: TCP Data received {"connection_id":118825,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ae14a00012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 05:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ae14a00012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 05:08:29] local.INFO: Processing buffer {"connection_id":118825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ae14a00012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 05:08:29] local.INFO: Packet analysis {"connection_id":118825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ae1"} 
[2026-07-01 05:08:29] local.INFO: Extracted packet for processing {"connection_id":118825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ae1"} 
[2026-07-01 05:08:29] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05: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-01 05:08:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412697344001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:08:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:08:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:08:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:08:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782862400000,"timestamp_ms":1782862400000,"timestamp_seconds":1782862400,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ae14a00"} 
[2026-07-01 05: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-01 05:08:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:08:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 05:08:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05: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-01 05: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-01 05:08:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:08:29] local.INFO: Teltonika packet parsed successfully {"connection_id":118825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:08:29] local.INFO: Passing IMEI to GPS processor {"connection_id":118825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:08:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":118825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:08:29] 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-01 05:08:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:08:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:08:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412697344001,"66":25397,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:08:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:08:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:08:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412697344001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:08:29] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:08:29] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:08:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:08:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:08:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412697344001,"power":25397,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:08:29] local.INFO: DEBUG: GPS processor result {"connection_id":118825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:08:29] local.INFO: GPS data processed {"connection_id":118825,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:08:29] local.INFO: Acknowledgment sent {"connection_id":118825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:09:02] local.INFO: TCP Data received {"connection_id":118825,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ae5e1c8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ae5e1c8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:09:02] local.INFO: Processing buffer {"connection_id":118825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ae5e1c8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:09:02] local.INFO: Packet analysis {"connection_id":118825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ae5"} 
[2026-07-01 05:09:02] local.INFO: Extracted packet for processing {"connection_id":118825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ae5"} 
[2026-07-01 05:09:02] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":48,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412774400001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:09:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782862701000,"timestamp_ms":1782862701000,"timestamp_seconds":1782862701,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ae5e1c8"} 
[2026-07-01 05:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:09:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 05:09:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05:09:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":118825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":118825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":118825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:09:02] 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-01 05:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412774400001,"66":25375,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412774400001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:09:02] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:09:02] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412774400001,"power":25375,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:09:02] local.INFO: DEBUG: GPS processor result {"connection_id":118825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:09:02] local.INFO: GPS data processed {"connection_id":118825,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:09:02] local.INFO: Acknowledgment sent {"connection_id":118825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:09:26] local.INFO: TCP Data received {"connection_id":118826,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:09:26] local.INFO: Processing buffer {"connection_id":118826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:09:26] local.INFO: IMEI packet received {"connection_id":118826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 05:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":118826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:09:31] local.INFO: TCP Data received {"connection_id":118826,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:09:31] local.INFO: Processing buffer {"connection_id":118826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:09:31] local.INFO: IMEI packet received {"connection_id":118826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 05:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":118826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 05:09:32] local.INFO: TCP Data received {"connection_id":118826,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ae5e1c8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ae5e1c8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:09:32] local.INFO: Processing buffer {"connection_id":118826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ae5e1c8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:09:32] local.INFO: Packet analysis {"connection_id":118826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ae5"} 
[2026-07-01 05:09:32] local.INFO: Extracted packet for processing {"connection_id":118826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ae5"} 
[2026-07-01 05:09:32] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":48,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05: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-01 05:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412774400001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:09:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782862701000,"timestamp_ms":1782862701000,"timestamp_seconds":1782862701,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ae5e1c8"} 
[2026-07-01 05: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-01 05:09:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 05:09:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05: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-01 05: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-01 05:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":118826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":118826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":118826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:09:32] 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-01 05:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412774400001,"66":25375,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412774400001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:09:32] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:09:32] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412774400001,"power":25375,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":118826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:09:32] local.INFO: GPS data processed {"connection_id":118826,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:09:32] local.INFO: Acknowledgment sent {"connection_id":118826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:09:51] local.INFO: TCP Data received {"connection_id":119481,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 05:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119481,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 05:09:51] local.INFO: Processing buffer {"connection_id":119481,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 05:09:51] local.INFO: IMEI packet received {"connection_id":119481,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 05:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":119481,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:10:03] local.INFO: TCP Data received {"connection_id":118826,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ae5e1c8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ae5e1c8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:10:03] local.INFO: Processing buffer {"connection_id":118826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ae5e1c8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:10:03] local.INFO: Packet analysis {"connection_id":118826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ae5"} 
[2026-07-01 05:10:03] local.INFO: Extracted packet for processing {"connection_id":118826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ae5"} 
[2026-07-01 05:10:03] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":48,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05: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-01 05:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412774400001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782862701000,"timestamp_ms":1782862701000,"timestamp_seconds":1782862701,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ae5e1c8"} 
[2026-07-01 05: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-01 05:10:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 05:10:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05: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-01 05: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-01 05:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":118826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":118826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":118826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:10:03] 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-01 05:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412774400001,"66":25375,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412774400001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:10:03] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:10:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412774400001,"power":25375,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":118826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:10:03] local.INFO: GPS data processed {"connection_id":118826,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:10:03] local.INFO: Acknowledgment sent {"connection_id":118826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:10:16] local.INFO: TCP Data received {"connection_id":120577,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 05:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120577,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 05:10:16] local.INFO: Processing buffer {"connection_id":120577,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 05:10:16] local.INFO: IMEI packet received {"connection_id":120577,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 05:10:16] local.INFO: IMEI acknowledgment sent {"connection_id":120577,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:10:21] local.INFO: TCP Data received {"connection_id":118827,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:10:21] local.INFO: Processing buffer {"connection_id":118827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:10:21] local.INFO: IMEI packet received {"connection_id":118827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 05:10:21] local.INFO: IMEI acknowledgment sent {"connection_id":118827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:10:26] local.INFO: TCP Data received {"connection_id":118827,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:10:26] local.INFO: Processing buffer {"connection_id":118827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:10:26] local.INFO: IMEI packet received {"connection_id":118827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 05:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":118827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 05:10:27] local.INFO: TCP Data received {"connection_id":118827,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ae5e1c8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ae5e1c8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:10:27] local.INFO: Processing buffer {"connection_id":118827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ae5e1c8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:10:27] local.INFO: Packet analysis {"connection_id":118827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ae5"} 
[2026-07-01 05:10:27] local.INFO: Extracted packet for processing {"connection_id":118827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ae5"} 
[2026-07-01 05:10:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":48,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:10:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412774400001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:10:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:10:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:10:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:10:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782862701000,"timestamp_ms":1782862701000,"timestamp_seconds":1782862701,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ae5e1c8"} 
[2026-07-01 05:10:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:10:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 05:10:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05:10:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:10:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:10:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:10:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:10:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:10:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:10:27] 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-01 05:10:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:10:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:10:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412774400001,"66":25375,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:10:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:10:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:10:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412774400001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:10:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:10:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:10:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:10:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:10:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412774400001,"power":25375,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:10:27] local.INFO: DEBUG: GPS processor result {"connection_id":118827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:10:27] local.INFO: GPS data processed {"connection_id":118827,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:10:27] local.INFO: Acknowledgment sent {"connection_id":118827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:10:58] local.INFO: TCP Data received {"connection_id":118827,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ae5e1c8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ae5e1c8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:10:58] local.INFO: Processing buffer {"connection_id":118827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ae5e1c8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:10:58] local.INFO: Packet analysis {"connection_id":118827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ae5"} 
[2026-07-01 05:10:58] local.INFO: Extracted packet for processing {"connection_id":118827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ae5"} 
[2026-07-01 05:10:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":48,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05: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-01 05:10:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412774400001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:10:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:10:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:10:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:10:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782862701000,"timestamp_ms":1782862701000,"timestamp_seconds":1782862701,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ae5e1c8"} 
[2026-07-01 05: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-01 05:10:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 05:10:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05: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-01 05: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-01 05:10:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:10:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:10:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:10:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:10:58] 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-01 05:10:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:10:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:10:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412774400001,"66":25375,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:10:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:10:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:10:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412774400001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:10:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:10:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:10:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:10:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:10:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412774400001,"power":25375,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:10:58] local.INFO: DEBUG: GPS processor result {"connection_id":118827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:10:58] local.INFO: GPS data processed {"connection_id":118827,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:10:58] local.INFO: Acknowledgment sent {"connection_id":118827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:11:21] local.INFO: TCP Data received {"connection_id":120579,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:11:21] local.INFO: Processing buffer {"connection_id":120579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:11:21] local.INFO: IMEI packet received {"connection_id":120579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 05:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":120579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:11:28] local.INFO: TCP Data received {"connection_id":120579,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:11:28] local.INFO: Processing buffer {"connection_id":120579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:11:28] local.INFO: IMEI packet received {"connection_id":120579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 05:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":120579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 05:11:29] local.INFO: TCP Data received {"connection_id":120579,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ae5e1c8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ae5e1c8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:11:29] local.INFO: Processing buffer {"connection_id":120579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ae5e1c8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:11:29] local.INFO: Packet analysis {"connection_id":120579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ae5"} 
[2026-07-01 05:11:29] local.INFO: Extracted packet for processing {"connection_id":120579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ae5"} 
[2026-07-01 05:11:29] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":48,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05: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-01 05:11:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412774400001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:11:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:11:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:11:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:11:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782862701000,"timestamp_ms":1782862701000,"timestamp_seconds":1782862701,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ae5e1c8"} 
[2026-07-01 05: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-01 05:11:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:11:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 05:11:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05: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-01 05: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-01 05:11:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:11:29] local.INFO: Teltonika packet parsed successfully {"connection_id":120579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:11:29] local.INFO: Passing IMEI to GPS processor {"connection_id":120579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:11:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":120579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:11:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 05:11:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:11:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:11:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412774400001,"66":25375,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:11:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:11:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:11:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412774400001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:11:29] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:11:29] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:11:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:11:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:11:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412774400001,"power":25375,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:11:29] local.INFO: DEBUG: GPS processor result {"connection_id":120579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:11:29] local.INFO: GPS data processed {"connection_id":120579,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:11:29] local.INFO: Acknowledgment sent {"connection_id":120579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:12:00] local.INFO: TCP Data received {"connection_id":120579,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ae5e1c8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ae5e1c8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:12:00] local.INFO: Processing buffer {"connection_id":120579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ae5e1c8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:12:00] local.INFO: Packet analysis {"connection_id":120579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ae5"} 
[2026-07-01 05:12:00] local.INFO: Extracted packet for processing {"connection_id":120579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ae5"} 
[2026-07-01 05:12:00] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":48,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412774400001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:12:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:12:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782862701000,"timestamp_ms":1782862701000,"timestamp_seconds":1782862701,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ae5e1c8"} 
[2026-07-01 05:12:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:12:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 05:12:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05:12:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:12:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":120579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":120579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":120579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:12: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-01 05:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412774400001,"66":25375,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412774400001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:12:00] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:12:00] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:12:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412774400001,"power":25375,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":120579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:12:00] local.INFO: GPS data processed {"connection_id":120579,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:12:00] local.INFO: Acknowledgment sent {"connection_id":120579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:12:21] local.INFO: TCP Data received {"connection_id":118718,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:12:21] local.INFO: Processing buffer {"connection_id":118718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:12:21] local.INFO: IMEI packet received {"connection_id":118718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 05:12:21] local.INFO: IMEI acknowledgment sent {"connection_id":118718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:12:26] local.INFO: TCP Data received {"connection_id":118718,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:12:26] local.INFO: Processing buffer {"connection_id":118718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:12:26] local.INFO: IMEI packet received {"connection_id":118718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 05:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":118718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 05:12:28] local.INFO: TCP Data received {"connection_id":118718,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ae5e1c8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ae5e1c8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:12:28] local.INFO: Processing buffer {"connection_id":118718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ae5e1c8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:12:28] local.INFO: Packet analysis {"connection_id":118718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ae5"} 
[2026-07-01 05:12:28] local.INFO: Extracted packet for processing {"connection_id":118718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ae5"} 
[2026-07-01 05:12:28] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":48,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:12:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:12:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412774400001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:12:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:12:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:12:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:12:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782862701000,"timestamp_ms":1782862701000,"timestamp_seconds":1782862701,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ae5e1c8"} 
[2026-07-01 05:12:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:12:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:12:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 05:12:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05:12:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:12:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:12:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:12:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:12:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:12:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:12:28] 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-01 05:12:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:12:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:12:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412774400001,"66":25375,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:12:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:12:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:12:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412774400001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:12:28] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:12:28] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:12:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:12:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:12:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412774400001,"power":25375,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:12:28] local.INFO: DEBUG: GPS processor result {"connection_id":118718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:12:28] local.INFO: GPS data processed {"connection_id":118718,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:12:28] local.INFO: Acknowledgment sent {"connection_id":118718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:12:59] local.INFO: TCP Data received {"connection_id":118718,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ae5e1c8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ae5e1c8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:12:59] local.INFO: Processing buffer {"connection_id":118718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ae5e1c8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:12:59] local.INFO: Packet analysis {"connection_id":118718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ae5"} 
[2026-07-01 05:12:59] local.INFO: Extracted packet for processing {"connection_id":118718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ae5"} 
[2026-07-01 05:12:59] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":48,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412774400001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:12:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782862701000,"timestamp_ms":1782862701000,"timestamp_seconds":1782862701,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ae5e1c8"} 
[2026-07-01 05:12:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:12:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 05:12:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05:12:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:12:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:12:59] 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-01 05:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412774400001,"66":25375,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412774400001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:12:59] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:12:59] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412774400001,"power":25375,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":118718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:12:59] local.INFO: GPS data processed {"connection_id":118718,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:12:59] local.INFO: Acknowledgment sent {"connection_id":118718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:13:26] local.INFO: TCP Data received {"connection_id":120582,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:13:26] local.INFO: Processing buffer {"connection_id":120582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:13:26] local.INFO: IMEI packet received {"connection_id":120582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 05:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":120582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:13:31] local.INFO: TCP Data received {"connection_id":120582,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:13:31] local.INFO: Processing buffer {"connection_id":120582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:13:31] local.INFO: IMEI packet received {"connection_id":120582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 05:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":120582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 05:13:32] local.INFO: TCP Data received {"connection_id":120582,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ae5e1c8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ae5e1c8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:13:32] local.INFO: Processing buffer {"connection_id":120582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ae5e1c8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:13:32] local.INFO: Packet analysis {"connection_id":120582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ae5"} 
[2026-07-01 05:13:32] local.INFO: Extracted packet for processing {"connection_id":120582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ae5"} 
[2026-07-01 05:13:32] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":48,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412774400001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782862701000,"timestamp_ms":1782862701000,"timestamp_seconds":1782862701,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ae5e1c8"} 
[2026-07-01 05:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:13:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 05:13:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05:13:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":120582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":120582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":120582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 05:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412774400001,"66":25375,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412774400001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:13:32] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:13:32] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412774400001,"power":25375,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":120582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:13:32] local.INFO: GPS data processed {"connection_id":120582,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:13:32] local.INFO: Acknowledgment sent {"connection_id":120582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:13:37] local.INFO: TCP Data received {"connection_id":120582,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ae5e1c8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ae5e1c8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:13:37] local.INFO: Processing buffer {"connection_id":120582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ae5e1c8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:13:37] local.INFO: Packet analysis {"connection_id":120582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ae5"} 
[2026-07-01 05:13:37] local.INFO: Extracted packet for processing {"connection_id":120582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ae5"} 
[2026-07-01 05:13:37] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":48,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412774400001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782862701000,"timestamp_ms":1782862701000,"timestamp_seconds":1782862701,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ae5e1c8"} 
[2026-07-01 05:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 05:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":120582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":120582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":120582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 05:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412774400001,"66":25375,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412774400001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:13:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:13:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412774400001,"power":25375,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":120582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:13:37] local.INFO: GPS data processed {"connection_id":120582,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:13:37] local.INFO: Acknowledgment sent {"connection_id":120582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:14:21] local.INFO: TCP Data received {"connection_id":118828,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:14:21] local.INFO: Processing buffer {"connection_id":118828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:14:21] local.INFO: IMEI packet received {"connection_id":118828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 05:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":118828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:14:26] local.INFO: TCP Data received {"connection_id":118828,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:14:26] local.INFO: Processing buffer {"connection_id":118828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:14:26] local.INFO: IMEI packet received {"connection_id":118828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 05:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":118828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 05:14:27] local.INFO: TCP Data received {"connection_id":118828,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aea7990012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aea7990012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:14:27] local.INFO: Processing buffer {"connection_id":118828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aea7990012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:14:27] local.INFO: Packet analysis {"connection_id":118828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aea"} 
[2026-07-01 05:14:27] local.INFO: Extracted packet for processing {"connection_id":118828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aea"} 
[2026-07-01 05:14:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":48,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412851456001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:14:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782863002000,"timestamp_ms":1782863002000,"timestamp_seconds":1782863002,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aea7990"} 
[2026-07-01 05:14:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:14:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-01 05:14:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05:14:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:14:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:14:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 05:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412851456001,"66":25419,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412851456001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:14:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:14:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412851456001,"power":25419,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":118828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:14:27] local.INFO: GPS data processed {"connection_id":118828,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:14:27] local.INFO: Acknowledgment sent {"connection_id":118828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:14:58] local.INFO: TCP Data received {"connection_id":118828,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aea7990012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aea7990012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:14:58] local.INFO: Processing buffer {"connection_id":118828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aea7990012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:14:58] local.INFO: Packet analysis {"connection_id":118828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aea"} 
[2026-07-01 05:14:58] local.INFO: Extracted packet for processing {"connection_id":118828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aea"} 
[2026-07-01 05:14:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":48,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05: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-01 05:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412851456001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:14:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:14:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782863002000,"timestamp_ms":1782863002000,"timestamp_seconds":1782863002,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aea7990"} 
[2026-07-01 05: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-01 05:14:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-01 05:14:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05: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-01 05: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-01 05:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:14:58] 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-01 05:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412851456001,"66":25419,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412851456001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:14:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:14:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:14:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412851456001,"power":25419,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":118828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:14:58] local.INFO: GPS data processed {"connection_id":118828,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:14:58] local.INFO: Acknowledgment sent {"connection_id":118828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:15:21] local.INFO: TCP Data received {"connection_id":118830,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:15:21] local.INFO: Processing buffer {"connection_id":118830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:15:21] local.INFO: IMEI packet received {"connection_id":118830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 05:15:21] local.INFO: IMEI acknowledgment sent {"connection_id":118830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:15:26] local.INFO: TCP Data received {"connection_id":118830,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:15:26] local.INFO: Processing buffer {"connection_id":118830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:15:26] local.INFO: IMEI packet received {"connection_id":118830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 05:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":118830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 05:15:27] local.INFO: TCP Data received {"connection_id":118830,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aea7990012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aea7990012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:15:27] local.INFO: Processing buffer {"connection_id":118830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aea7990012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:15:27] local.INFO: Packet analysis {"connection_id":118830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aea"} 
[2026-07-01 05:15:27] local.INFO: Extracted packet for processing {"connection_id":118830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aea"} 
[2026-07-01 05:15:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":48,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:15:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412851456001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:15:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:15:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:15:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:15:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782863002000,"timestamp_ms":1782863002000,"timestamp_seconds":1782863002,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aea7990"} 
[2026-07-01 05:15:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:15:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-01 05:15:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05:15:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:15:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:15:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:15:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:15:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:15:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:15:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 05:15:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:15:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:15:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412851456001,"66":25419,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:15:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:15:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:15:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412851456001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:15:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:15:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:15:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:15:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:15:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412851456001,"power":25419,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:15:27] local.INFO: DEBUG: GPS processor result {"connection_id":118830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:15:27] local.INFO: GPS data processed {"connection_id":118830,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:15:27] local.INFO: Acknowledgment sent {"connection_id":118830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:15:41] local.INFO: TCP Data received {"connection_id":118829,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 05:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118829,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 05:15:41] local.INFO: Processing buffer {"connection_id":118829,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 05:15:41] local.INFO: IMEI packet received {"connection_id":118829,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 05:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":118829,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:15:58] local.INFO: TCP Data received {"connection_id":118830,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aea7990012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aea7990012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:15:58] local.INFO: Processing buffer {"connection_id":118830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aea7990012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:15:58] local.INFO: Packet analysis {"connection_id":118830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aea"} 
[2026-07-01 05:15:58] local.INFO: Extracted packet for processing {"connection_id":118830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aea"} 
[2026-07-01 05:15:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":48,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05: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-01 05:15:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412851456001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:15:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:15:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:15:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:15:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782863002000,"timestamp_ms":1782863002000,"timestamp_seconds":1782863002,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aea7990"} 
[2026-07-01 05: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-01 05:15:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-01 05:15:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05: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-01 05: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-01 05:15:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:15:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:15:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:15:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:15:58] 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-01 05:15:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:15:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:15:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412851456001,"66":25419,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:15:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:15:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:15:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412851456001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:15:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:15:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:15:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:15:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:15:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412851456001,"power":25419,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:15:58] local.INFO: DEBUG: GPS processor result {"connection_id":118830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:15:58] local.INFO: GPS data processed {"connection_id":118830,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:15:58] local.INFO: Acknowledgment sent {"connection_id":118830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:16:21] local.INFO: TCP Data received {"connection_id":118832,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:16:21] local.INFO: Processing buffer {"connection_id":118832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:16:21] local.INFO: IMEI packet received {"connection_id":118832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 05:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":118832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:16:21] local.INFO: TCP Data received {"connection_id":118831,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 05:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118831,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 05:16:21] local.INFO: Processing buffer {"connection_id":118831,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 05:16:21] local.INFO: IMEI packet received {"connection_id":118831,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 05:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":118831,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:16:26] local.INFO: TCP Data received {"connection_id":118832,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:16:26] local.INFO: Processing buffer {"connection_id":118832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:16:26] local.INFO: IMEI packet received {"connection_id":118832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 05:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":118832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 05:16:27] local.INFO: TCP Data received {"connection_id":118832,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aea7990012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aea7990012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:16:27] local.INFO: Processing buffer {"connection_id":118832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aea7990012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:16:27] local.INFO: Packet analysis {"connection_id":118832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aea"} 
[2026-07-01 05:16:27] local.INFO: Extracted packet for processing {"connection_id":118832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aea"} 
[2026-07-01 05:16:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":48,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412851456001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:16:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782863002000,"timestamp_ms":1782863002000,"timestamp_seconds":1782863002,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aea7990"} 
[2026-07-01 05:16:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:16:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-01 05:16:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05:16:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:16:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:16:27] 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-01 05:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412851456001,"66":25419,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412851456001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:16:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:16:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412851456001,"power":25419,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":118832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:16:27] local.INFO: GPS data processed {"connection_id":118832,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:16:27] local.INFO: Acknowledgment sent {"connection_id":118832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:16:58] local.INFO: TCP Data received {"connection_id":118832,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aea7990012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aea7990012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:16:58] local.INFO: Processing buffer {"connection_id":118832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aea7990012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:16:58] local.INFO: Packet analysis {"connection_id":118832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aea"} 
[2026-07-01 05:16:58] local.INFO: Extracted packet for processing {"connection_id":118832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aea"} 
[2026-07-01 05:16:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":48,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05: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-01 05:16:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412851456001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:16:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:16:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:16:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:16:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782863002000,"timestamp_ms":1782863002000,"timestamp_seconds":1782863002,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aea7990"} 
[2026-07-01 05: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-01 05:16:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-01 05:16:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05: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-01 05: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-01 05:16:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:16:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:16:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:16:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:16:58] 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-01 05:16:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:16:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:16:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412851456001,"66":25419,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:16:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:16:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:16:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412851456001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:16:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:16:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:16:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:16:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:16:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412851456001,"power":25419,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:16:58] local.INFO: DEBUG: GPS processor result {"connection_id":118832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:16:58] local.INFO: GPS data processed {"connection_id":118832,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:16:58] local.INFO: Acknowledgment sent {"connection_id":118832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:17:21] local.INFO: TCP Data received {"connection_id":120584,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:17:21] local.INFO: Processing buffer {"connection_id":120584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:17:21] local.INFO: IMEI packet received {"connection_id":120584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 05:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":120584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:17:26] local.INFO: TCP Data received {"connection_id":120584,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:17:26] local.INFO: Processing buffer {"connection_id":120584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:17:26] local.INFO: IMEI packet received {"connection_id":120584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 05:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":120584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 05:17:27] local.INFO: TCP Data received {"connection_id":120584,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aea7990012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aea7990012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:17:27] local.INFO: Processing buffer {"connection_id":120584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aea7990012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:17:27] local.INFO: Packet analysis {"connection_id":120584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aea"} 
[2026-07-01 05:17:27] local.INFO: Extracted packet for processing {"connection_id":120584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aea"} 
[2026-07-01 05:17:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":48,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412851456001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:17:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782863002000,"timestamp_ms":1782863002000,"timestamp_seconds":1782863002,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aea7990"} 
[2026-07-01 05:17:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:17:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-01 05:17:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05:17:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:17:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:17:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 05:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412851456001,"66":25419,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412851456001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:17:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:17:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412851456001,"power":25419,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":120584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:17:27] local.INFO: GPS data processed {"connection_id":120584,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:17:27] local.INFO: Acknowledgment sent {"connection_id":120584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:17:58] local.INFO: TCP Data received {"connection_id":120584,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aea7990012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aea7990012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:17:58] local.INFO: Processing buffer {"connection_id":120584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aea7990012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:17:58] local.INFO: Packet analysis {"connection_id":120584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aea"} 
[2026-07-01 05:17:58] local.INFO: Extracted packet for processing {"connection_id":120584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aea"} 
[2026-07-01 05:17:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":48,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05: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-01 05:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412851456001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:17:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:17:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:17:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:17:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782863002000,"timestamp_ms":1782863002000,"timestamp_seconds":1782863002,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aea7990"} 
[2026-07-01 05: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-01 05:17:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-01 05:17:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05: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-01 05: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-01 05:17:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:17:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:17:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:17:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:17:58] 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-01 05:17:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:17:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:17:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412851456001,"66":25419,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:17:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:17:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:17:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412851456001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:17:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:17:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:17:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:17:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:17:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412851456001,"power":25419,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:17:58] local.INFO: DEBUG: GPS processor result {"connection_id":120584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:17:58] local.INFO: GPS data processed {"connection_id":120584,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:17:58] local.INFO: Acknowledgment sent {"connection_id":120584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:18:21] local.INFO: TCP Data received {"connection_id":119483,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:18:21] local.INFO: Processing buffer {"connection_id":119483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:18:21] local.INFO: IMEI packet received {"connection_id":119483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 05:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":119483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:18:29] local.INFO: TCP Data received {"connection_id":119483,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:18:29] local.INFO: Processing buffer {"connection_id":119483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:18:29] local.INFO: IMEI packet received {"connection_id":119483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 05:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":119483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 05:18:30] local.INFO: TCP Data received {"connection_id":119483,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aea7990012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aea7990012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:18:30] local.INFO: Processing buffer {"connection_id":119483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aea7990012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:18:30] local.INFO: Packet analysis {"connection_id":119483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aea"} 
[2026-07-01 05:18:30] local.INFO: Extracted packet for processing {"connection_id":119483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aea"} 
[2026-07-01 05:18:30] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":48,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412851456001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:18:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:18:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782863002000,"timestamp_ms":1782863002000,"timestamp_seconds":1782863002,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aea7990"} 
[2026-07-01 05:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:18:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-01 05:18:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05:18:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":119483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":119483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":119483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:18:30] local.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-01 05:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412851456001,"66":25419,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412851456001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:18:30] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:18:30] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:18:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412851456001,"power":25419,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":119483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:18:30] local.INFO: GPS data processed {"connection_id":119483,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:18:30] local.INFO: Acknowledgment sent {"connection_id":119483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:19:01] local.INFO: TCP Data received {"connection_id":119483,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aef1158012d4a4d80068ba5d80011014932..."} 
[2026-07-01 05:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aef1158012d4a4d80068ba5d80011014932..."} 
[2026-07-01 05:19:01] local.INFO: Processing buffer {"connection_id":119483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aef1158012d4a4d80068ba5d80011014932..."} 
[2026-07-01 05:19:01] local.INFO: Packet analysis {"connection_id":119483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aef"} 
[2026-07-01 05:19:01] local.INFO: Extracted packet for processing {"connection_id":119483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aef"} 
[2026-07-01 05:19:01] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":50,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412928512001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:19:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:19:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782863303000,"timestamp_ms":1782863303000,"timestamp_seconds":1782863303,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aef1158"} 
[2026-07-01 05:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:19:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-01 05:19:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05:19:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":119483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":119483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":119483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:19:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 05:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412928512001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412928512001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:19:01] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:19:01] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:19:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412928512001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":119483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:19:01] local.INFO: GPS data processed {"connection_id":119483,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:19:01] local.INFO: Acknowledgment sent {"connection_id":119483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:19:26] local.INFO: TCP Data received {"connection_id":118720,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:19:26] local.INFO: Processing buffer {"connection_id":118720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:19:26] local.INFO: IMEI packet received {"connection_id":118720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 05:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":118720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:19:31] local.INFO: TCP Data received {"connection_id":118720,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:19:31] local.INFO: Processing buffer {"connection_id":118720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:19:31] local.INFO: IMEI packet received {"connection_id":118720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 05:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":118720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 05:19:32] local.INFO: TCP Data received {"connection_id":118720,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aef1158012d4a4d80068ba5d80011014932..."} 
[2026-07-01 05:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aef1158012d4a4d80068ba5d80011014932..."} 
[2026-07-01 05:19:32] local.INFO: Processing buffer {"connection_id":118720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aef1158012d4a4d80068ba5d80011014932..."} 
[2026-07-01 05:19:32] local.INFO: Packet analysis {"connection_id":118720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aef"} 
[2026-07-01 05:19:32] local.INFO: Extracted packet for processing {"connection_id":118720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aef"} 
[2026-07-01 05:19:32] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":50,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412928512001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782863303000,"timestamp_ms":1782863303000,"timestamp_seconds":1782863303,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aef1158"} 
[2026-07-01 05:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:19:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-01 05:19:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05:19:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":118720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":118720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":118720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 05:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412928512001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412928512001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:19:32] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:19:32] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412928512001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":118720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:19:32] local.INFO: GPS data processed {"connection_id":118720,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:19:32] local.INFO: Acknowledgment sent {"connection_id":118720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:19:37] local.INFO: TCP Data received {"connection_id":118720,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aef1158012d4a4d80068ba5d80011014932..."} 
[2026-07-01 05:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aef1158012d4a4d80068ba5d80011014932..."} 
[2026-07-01 05:19:37] local.INFO: Processing buffer {"connection_id":118720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aef1158012d4a4d80068ba5d80011014932..."} 
[2026-07-01 05:19:37] local.INFO: Packet analysis {"connection_id":118720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aef"} 
[2026-07-01 05:19:37] local.INFO: Extracted packet for processing {"connection_id":118720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aef"} 
[2026-07-01 05:19:37] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":50,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412928512001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782863303000,"timestamp_ms":1782863303000,"timestamp_seconds":1782863303,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aef1158"} 
[2026-07-01 05:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-01 05:19:37] 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-01 05:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":118720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":118720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":118720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 05:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412928512001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412928512001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:19:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:19:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412928512001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":118720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:19:37] local.INFO: GPS data processed {"connection_id":118720,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:19:37] local.INFO: Acknowledgment sent {"connection_id":118720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:20:21] local.INFO: TCP Data received {"connection_id":118833,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:20:21] local.INFO: Processing buffer {"connection_id":118833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:20:21] local.INFO: IMEI packet received {"connection_id":118833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 05:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":118833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:20:26] local.INFO: TCP Data received {"connection_id":118833,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:20:26] local.INFO: Processing buffer {"connection_id":118833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:20:26] local.INFO: IMEI packet received {"connection_id":118833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 05:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":118833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 05:20:27] local.INFO: TCP Data received {"connection_id":118833,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aef1158012d4a4d80068ba5d80011014932..."} 
[2026-07-01 05:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aef1158012d4a4d80068ba5d80011014932..."} 
[2026-07-01 05:20:27] local.INFO: Processing buffer {"connection_id":118833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aef1158012d4a4d80068ba5d80011014932..."} 
[2026-07-01 05:20:27] local.INFO: Packet analysis {"connection_id":118833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aef"} 
[2026-07-01 05:20:27] local.INFO: Extracted packet for processing {"connection_id":118833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aef"} 
[2026-07-01 05:20:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":50,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412928512001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:20:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:20:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782863303000,"timestamp_ms":1782863303000,"timestamp_seconds":1782863303,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aef1158"} 
[2026-07-01 05:20:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:20:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-01 05:20:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05:20:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:20:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:20:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 05:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412928512001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412928512001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:20:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:20:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:20:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412928512001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":118833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:20:27] local.INFO: GPS data processed {"connection_id":118833,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:20:27] local.INFO: Acknowledgment sent {"connection_id":118833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:20:58] local.INFO: TCP Data received {"connection_id":118833,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aef1158012d4a4d80068ba5d80011014932..."} 
[2026-07-01 05:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aef1158012d4a4d80068ba5d80011014932..."} 
[2026-07-01 05:20:58] local.INFO: Processing buffer {"connection_id":118833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aef1158012d4a4d80068ba5d80011014932..."} 
[2026-07-01 05:20:58] local.INFO: Packet analysis {"connection_id":118833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aef"} 
[2026-07-01 05:20:58] local.INFO: Extracted packet for processing {"connection_id":118833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aef"} 
[2026-07-01 05:20:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":50,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05: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-01 05:20:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412928512001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:20:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:20:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782863303000,"timestamp_ms":1782863303000,"timestamp_seconds":1782863303,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aef1158"} 
[2026-07-01 05: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-01 05:20:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-01 05:20:58] 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-01 05: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-01 05: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-01 05:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:20:58] 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-01 05:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:20:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412928512001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:20:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412928512001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:20:59] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:20:59] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412928512001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":118833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:20:59] local.INFO: GPS data processed {"connection_id":118833,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:20:59] local.INFO: Acknowledgment sent {"connection_id":118833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:21:21] local.INFO: TCP Data received {"connection_id":119485,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:21:21] local.INFO: Processing buffer {"connection_id":119485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:21:21] local.INFO: IMEI packet received {"connection_id":119485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 05:21:21] local.INFO: IMEI acknowledgment sent {"connection_id":119485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:21:26] local.INFO: TCP Data received {"connection_id":119485,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:21:26] local.INFO: Processing buffer {"connection_id":119485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:21:26] local.INFO: IMEI packet received {"connection_id":119485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 05:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":119485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 05:21:27] local.INFO: TCP Data received {"connection_id":119485,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aef1158012d4a4d80068ba5d80011014932..."} 
[2026-07-01 05:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aef1158012d4a4d80068ba5d80011014932..."} 
[2026-07-01 05:21:27] local.INFO: Processing buffer {"connection_id":119485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aef1158012d4a4d80068ba5d80011014932..."} 
[2026-07-01 05:21:27] local.INFO: Packet analysis {"connection_id":119485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aef"} 
[2026-07-01 05:21:27] local.INFO: Extracted packet for processing {"connection_id":119485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aef"} 
[2026-07-01 05:21:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":50,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:21:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412928512001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:21:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:21:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:21:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:21:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782863303000,"timestamp_ms":1782863303000,"timestamp_seconds":1782863303,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aef1158"} 
[2026-07-01 05:21:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:21:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-01 05:21:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05:21:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:21:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:21:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:21:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:21:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:21:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:21:27] 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-01 05:21:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:21:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:21:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412928512001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:21:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:21:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:21:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412928512001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:21:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:21:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:21:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:21:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:21:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412928512001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:21:27] local.INFO: DEBUG: GPS processor result {"connection_id":119485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:21:27] local.INFO: GPS data processed {"connection_id":119485,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:21:27] local.INFO: Acknowledgment sent {"connection_id":119485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:21:41] local.INFO: TCP Data received {"connection_id":118721,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 05:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118721,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 05:21:41] local.INFO: Processing buffer {"connection_id":118721,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 05:21:41] local.INFO: IMEI packet received {"connection_id":118721,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 05:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":118721,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:21:58] local.INFO: TCP Data received {"connection_id":119485,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aef1158012d4a4d80068ba5d80011014932..."} 
[2026-07-01 05:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aef1158012d4a4d80068ba5d80011014932..."} 
[2026-07-01 05:21:58] local.INFO: Processing buffer {"connection_id":119485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aef1158012d4a4d80068ba5d80011014932..."} 
[2026-07-01 05:21:58] local.INFO: Packet analysis {"connection_id":119485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aef"} 
[2026-07-01 05:21:58] local.INFO: Extracted packet for processing {"connection_id":119485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aef"} 
[2026-07-01 05:21:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":50,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05: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-01 05:21:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412928512001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:21:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:21:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:21:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:21:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782863303000,"timestamp_ms":1782863303000,"timestamp_seconds":1782863303,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aef1158"} 
[2026-07-01 05: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-01 05:21:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-01 05:21:58] 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-01 05: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-01 05: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-01 05:21:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:21:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:21:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:21:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:21:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 05:21:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:21:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:21:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412928512001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:21:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:21:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:21:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412928512001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:21:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:21:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:21:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:21:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:21:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412928512001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:21:58] local.INFO: DEBUG: GPS processor result {"connection_id":119485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:21:58] local.INFO: GPS data processed {"connection_id":119485,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:21:58] local.INFO: Acknowledgment sent {"connection_id":119485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:22:16] local.INFO: TCP Data received {"connection_id":119486,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 05:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119486,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 05:22:16] local.INFO: Processing buffer {"connection_id":119486,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 05:22:16] local.INFO: IMEI packet received {"connection_id":119486,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 05:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":119486,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:22:21] local.INFO: TCP Data received {"connection_id":120586,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:22:21] local.INFO: Processing buffer {"connection_id":120586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:22:21] local.INFO: IMEI packet received {"connection_id":120586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 05:22:21] local.INFO: IMEI acknowledgment sent {"connection_id":120586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:22:26] local.INFO: TCP Data received {"connection_id":120586,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:22:26] local.INFO: Processing buffer {"connection_id":120586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:22:26] local.INFO: IMEI packet received {"connection_id":120586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 05:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":120586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 05:22:27] local.INFO: TCP Data received {"connection_id":120586,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aef1158012d4a4d80068ba5d80011014932..."} 
[2026-07-01 05:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aef1158012d4a4d80068ba5d80011014932..."} 
[2026-07-01 05:22:27] local.INFO: Processing buffer {"connection_id":120586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aef1158012d4a4d80068ba5d80011014932..."} 
[2026-07-01 05:22:27] local.INFO: Packet analysis {"connection_id":120586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aef"} 
[2026-07-01 05:22:27] local.INFO: Extracted packet for processing {"connection_id":120586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aef"} 
[2026-07-01 05:22:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":50,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412928512001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:22:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:22:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782863303000,"timestamp_ms":1782863303000,"timestamp_seconds":1782863303,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aef1158"} 
[2026-07-01 05:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:22:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-01 05:22:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05:22:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:22:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 05:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412928512001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412928512001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:22:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:22:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:22:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412928512001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":120586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:22:27] local.INFO: GPS data processed {"connection_id":120586,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:22:27] local.INFO: Acknowledgment sent {"connection_id":120586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:22:59] local.INFO: TCP Data received {"connection_id":120586,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aef1158012d4a4d80068ba5d80011014932..."} 
[2026-07-01 05:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aef1158012d4a4d80068ba5d80011014932..."} 
[2026-07-01 05:22:59] local.INFO: Processing buffer {"connection_id":120586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aef1158012d4a4d80068ba5d80011014932..."} 
[2026-07-01 05:22:59] local.INFO: Packet analysis {"connection_id":120586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aef"} 
[2026-07-01 05:22:59] local.INFO: Extracted packet for processing {"connection_id":120586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aef"} 
[2026-07-01 05:22:59] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":50,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05: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-01 05:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412928512001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:22:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782863303000,"timestamp_ms":1782863303000,"timestamp_seconds":1782863303,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aef1158"} 
[2026-07-01 05: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-01 05:22:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-01 05:22:59] 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-01 05: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-01 05: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-01 05:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":120586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":120586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":120586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:22:59] 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-01 05:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412928512001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412928512001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:22:59] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:22:59] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412928512001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":120586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:22:59] local.INFO: GPS data processed {"connection_id":120586,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:22:59] local.INFO: Acknowledgment sent {"connection_id":120586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:23:21] local.INFO: TCP Data received {"connection_id":118834,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:23:21] local.INFO: Processing buffer {"connection_id":118834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:23:21] local.INFO: IMEI packet received {"connection_id":118834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 05:23:21] local.INFO: IMEI acknowledgment sent {"connection_id":118834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:23:26] local.INFO: TCP Data received {"connection_id":118834,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:23:26] local.INFO: Processing buffer {"connection_id":118834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:23:26] local.INFO: IMEI packet received {"connection_id":118834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 05:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":118834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 05:23:27] local.INFO: TCP Data received {"connection_id":118834,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aef1158012d4a4d80068ba5d80011014932..."} 
[2026-07-01 05:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aef1158012d4a4d80068ba5d80011014932..."} 
[2026-07-01 05:23:27] local.INFO: Processing buffer {"connection_id":118834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aef1158012d4a4d80068ba5d80011014932..."} 
[2026-07-01 05:23:27] local.INFO: Packet analysis {"connection_id":118834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aef"} 
[2026-07-01 05:23:27] local.INFO: Extracted packet for processing {"connection_id":118834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aef"} 
[2026-07-01 05:23:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":50,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:23:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412928512001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:23:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:23:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:23:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:23:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782863303000,"timestamp_ms":1782863303000,"timestamp_seconds":1782863303,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aef1158"} 
[2026-07-01 05:23:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:23:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-01 05:23:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05:23:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:23:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:23:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:23:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:23:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:23:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:23:27] 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-01 05:23:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:23:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:23:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412928512001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:23:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:23:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:23:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412928512001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:23:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:23:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:23:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:23:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:23:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412928512001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:23:27] local.INFO: DEBUG: GPS processor result {"connection_id":118834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:23:27] local.INFO: GPS data processed {"connection_id":118834,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:23:27] local.INFO: Acknowledgment sent {"connection_id":118834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:23:59] local.INFO: TCP Data received {"connection_id":118834,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f1aef1158012d4a4d80068ba5d80011014932..."} 
[2026-07-01 05:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1aef1158012d4a4d80068ba5d80011014932..."} 
[2026-07-01 05:23:59] local.INFO: Processing buffer {"connection_id":118834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1aef1158012d4a4d80068ba5d80011014932..."} 
[2026-07-01 05:23:59] local.INFO: Packet analysis {"connection_id":118834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1aef"} 
[2026-07-01 05:23:59] local.INFO: Extracted packet for processing {"connection_id":118834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1aef"} 
[2026-07-01 05:23:59] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":50,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456412928512001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:23:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:23:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:23:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:23:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782863303000,"timestamp_ms":1782863303000,"timestamp_seconds":1782863303,"priority":1,"record_length":96,"hex_timestamp":"0000019f1aef1158"} 
[2026-07-01 05:23:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:23:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-01 05:23:59] 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-01 05:23:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:23:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:23:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:23:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:23:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:23:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:23:59] 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-01 05:23:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:23:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:23:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456412928512001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:23:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:23:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:23:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456412928512001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:23:59] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:23:59] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:23:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:23:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:23:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456412928512001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":118834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:23:59] local.INFO: GPS data processed {"connection_id":118834,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:23:59] local.INFO: Acknowledgment sent {"connection_id":118834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:24:26] local.INFO: TCP Data received {"connection_id":118723,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:24:26] local.INFO: Processing buffer {"connection_id":118723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:24:26] local.INFO: IMEI packet received {"connection_id":118723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 05:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":118723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:24:31] local.INFO: TCP Data received {"connection_id":118723,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:24:31] local.INFO: Processing buffer {"connection_id":118723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:24:31] local.INFO: IMEI packet received {"connection_id":118723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 05:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":118723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 05:24:32] local.INFO: TCP Data received {"connection_id":118723,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1af3a920012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 05:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1af3a920012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 05:24:32] local.INFO: Processing buffer {"connection_id":118723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1af3a920012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 05:24:32] local.INFO: Packet analysis {"connection_id":118723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1af3"} 
[2026-07-01 05:24:32] local.INFO: Extracted packet for processing {"connection_id":118723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1af3"} 
[2026-07-01 05:24:32] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413005568001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782863604000,"timestamp_ms":1782863604000,"timestamp_seconds":1782863604,"priority":1,"record_length":96,"hex_timestamp":"0000019f1af3a920"} 
[2026-07-01 05:24:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:24:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 05:24:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05:24:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:24:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":118723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":118723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":118723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 05:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413005568001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413005568001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:24:32] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:24:32] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413005568001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":118723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:24:32] local.INFO: GPS data processed {"connection_id":118723,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:24:32] local.INFO: Acknowledgment sent {"connection_id":118723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:25:07] local.INFO: TCP Data received {"connection_id":118723,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1af3a920012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 05:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1af3a920012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 05:25:07] local.INFO: Processing buffer {"connection_id":118723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1af3a920012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 05:25:07] local.INFO: Packet analysis {"connection_id":118723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1af3"} 
[2026-07-01 05:25:07] local.INFO: Extracted packet for processing {"connection_id":118723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1af3"} 
[2026-07-01 05:25:07] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413005568001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782863604000,"timestamp_ms":1782863604000,"timestamp_seconds":1782863604,"priority":1,"record_length":96,"hex_timestamp":"0000019f1af3a920"} 
[2026-07-01 05:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 05:25:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05:25:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":118723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":118723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":118723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 05:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413005568001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413005568001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:25:07] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:25:07] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413005568001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":118723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:25:07] local.INFO: GPS data processed {"connection_id":118723,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:25:07] local.INFO: Acknowledgment sent {"connection_id":118723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:25:21] local.INFO: TCP Data received {"connection_id":120588,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:25:21] local.INFO: Processing buffer {"connection_id":120588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:25:21] local.INFO: IMEI packet received {"connection_id":120588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 05:25:21] local.INFO: IMEI acknowledgment sent {"connection_id":120588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:25:26] local.INFO: TCP Data received {"connection_id":120588,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:25:26] local.INFO: Processing buffer {"connection_id":120588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:25:26] local.INFO: IMEI packet received {"connection_id":120588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 05:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":120588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 05:25:27] local.INFO: TCP Data received {"connection_id":120588,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1af3a920012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 05:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1af3a920012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 05:25:27] local.INFO: Processing buffer {"connection_id":120588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1af3a920012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 05:25:27] local.INFO: Packet analysis {"connection_id":120588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1af3"} 
[2026-07-01 05:25:27] local.INFO: Extracted packet for processing {"connection_id":120588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1af3"} 
[2026-07-01 05:25:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413005568001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:25:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782863604000,"timestamp_ms":1782863604000,"timestamp_seconds":1782863604,"priority":1,"record_length":96,"hex_timestamp":"0000019f1af3a920"} 
[2026-07-01 05:25:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:25:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 05:25:27] 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-01 05:25:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:25:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:25:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 05:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413005568001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413005568001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:25:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:25:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413005568001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":120588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:25:27] local.INFO: GPS data processed {"connection_id":120588,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:25:27] local.INFO: Acknowledgment sent {"connection_id":120588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:25:58] local.INFO: TCP Data received {"connection_id":120588,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1af3a920012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 05:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1af3a920012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 05:25:58] local.INFO: Processing buffer {"connection_id":120588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1af3a920012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 05:25:58] local.INFO: Packet analysis {"connection_id":120588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1af3"} 
[2026-07-01 05:25:58] local.INFO: Extracted packet for processing {"connection_id":120588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1af3"} 
[2026-07-01 05:25:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05: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-01 05:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413005568001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:25:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:25:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782863604000,"timestamp_ms":1782863604000,"timestamp_seconds":1782863604,"priority":1,"record_length":96,"hex_timestamp":"0000019f1af3a920"} 
[2026-07-01 05: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-01 05:25:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 05:25:58] 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-01 05: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-01 05: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-01 05:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:25:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 05:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413005568001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413005568001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:25:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:25:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:25:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413005568001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":120588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:25:58] local.INFO: GPS data processed {"connection_id":120588,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:25:58] local.INFO: Acknowledgment sent {"connection_id":120588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:26:21] local.INFO: TCP Data received {"connection_id":118726,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:26:21] local.INFO: Processing buffer {"connection_id":118726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:26:21] local.INFO: IMEI packet received {"connection_id":118726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 05:26:21] local.INFO: IMEI acknowledgment sent {"connection_id":118726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:26:26] local.INFO: TCP Data received {"connection_id":118726,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:26:26] local.INFO: Processing buffer {"connection_id":118726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:26:26] local.INFO: IMEI packet received {"connection_id":118726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 05:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":118726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 05:26:27] local.INFO: TCP Data received {"connection_id":118726,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f1af3a920012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 05:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1af3a920012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 05:26:27] local.INFO: Processing buffer {"connection_id":118726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1af3a920012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 05:26:27] local.INFO: Packet analysis {"connection_id":118726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1af3"} 
[2026-07-01 05:26:27] local.INFO: Extracted packet for processing {"connection_id":118726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1af3"} 
[2026-07-01 05:26:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05: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-01 05:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413005568001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:26:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:26:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782863604000,"timestamp_ms":1782863604000,"timestamp_seconds":1782863604,"priority":1,"record_length":96,"hex_timestamp":"0000019f1af3a920"} 
[2026-07-01 05: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-01 05:26:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 05:26:27] 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-01 05: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-01 05: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-01 05:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:26:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 05:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413005568001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413005568001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:26:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:26:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413005568001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":118726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:26:27] local.INFO: GPS data processed {"connection_id":118726,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:26:27] local.INFO: Acknowledgment sent {"connection_id":118726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:27:00] local.INFO: TCP Data received {"connection_id":118726,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f1af3a920012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 05:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1af3a920012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 05:27:00] local.INFO: Processing buffer {"connection_id":118726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1af3a920012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 05:27:00] local.INFO: Packet analysis {"connection_id":118726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1af3"} 
[2026-07-01 05:27:00] local.INFO: Extracted packet for processing {"connection_id":118726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1af3"} 
[2026-07-01 05:27:00] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05: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-01 05:27:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413005568001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:27:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:27:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:27:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:27:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782863604000,"timestamp_ms":1782863604000,"timestamp_seconds":1782863604,"priority":1,"record_length":96,"hex_timestamp":"0000019f1af3a920"} 
[2026-07-01 05: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-01 05:27:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05: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":255,"data_length":795,"current_offset":136} 
[2026-07-01 05:27:00] 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-01 05: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-01 05: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-01 05:27:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:27:00] local.INFO: Teltonika packet parsed successfully {"connection_id":118726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:27:00] local.INFO: Passing IMEI to GPS processor {"connection_id":118726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:27:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":118726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:27:00] 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-01 05:27:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:27:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:27:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413005568001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:27:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:27:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:27:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413005568001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:27:00] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:27:00] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:27:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:27:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:27:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413005568001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:27:00] local.INFO: DEBUG: GPS processor result {"connection_id":118726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:27:00] local.INFO: GPS data processed {"connection_id":118726,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:27:00] local.INFO: Acknowledgment sent {"connection_id":118726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:27:26] local.INFO: TCP Data received {"connection_id":119488,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:27:26] local.INFO: Processing buffer {"connection_id":119488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:27:26] local.INFO: IMEI packet received {"connection_id":119488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 05:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":119488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:27:31] local.INFO: TCP Data received {"connection_id":119488,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:27:31] local.INFO: Processing buffer {"connection_id":119488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:27:31] local.INFO: IMEI packet received {"connection_id":119488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 05:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":119488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 05:27:32] local.INFO: TCP Data received {"connection_id":119488,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f1af3a920012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 05:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1af3a920012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 05:27:32] local.INFO: Processing buffer {"connection_id":119488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1af3a920012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 05:27:32] local.INFO: Packet analysis {"connection_id":119488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1af3"} 
[2026-07-01 05:27:32] local.INFO: Extracted packet for processing {"connection_id":119488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1af3"} 
[2026-07-01 05:27:32] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413005568001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782863604000,"timestamp_ms":1782863604000,"timestamp_seconds":1782863604,"priority":1,"record_length":96,"hex_timestamp":"0000019f1af3a920"} 
[2026-07-01 05:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:27:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 05:27:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05:27:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":119488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":119488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":119488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 05:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413005568001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413005568001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:27:32] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:27:32] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413005568001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":119488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:27:32] local.INFO: GPS data processed {"connection_id":119488,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:27:32] local.INFO: Acknowledgment sent {"connection_id":119488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:27:46] local.INFO: TCP Data received {"connection_id":119487,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 05:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119487,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 05:27:46] local.INFO: Processing buffer {"connection_id":119487,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 05:27:46] local.INFO: IMEI packet received {"connection_id":119487,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 05:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":119487,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:28:04] local.INFO: TCP Data received {"connection_id":119488,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f1af3a920012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 05:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1af3a920012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 05:28:04] local.INFO: Processing buffer {"connection_id":119488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1af3a920012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 05:28:04] local.INFO: Packet analysis {"connection_id":119488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1af3"} 
[2026-07-01 05:28:04] local.INFO: Extracted packet for processing {"connection_id":119488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1af3"} 
[2026-07-01 05:28:04] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05: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-01 05:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413005568001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:28:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782863604000,"timestamp_ms":1782863604000,"timestamp_seconds":1782863604,"priority":1,"record_length":96,"hex_timestamp":"0000019f1af3a920"} 
[2026-07-01 05: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-01 05:28:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 05:28:04] 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-01 05: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-01 05: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-01 05:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":119488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":119488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":119488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:28:04] 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-01 05:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413005568001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413005568001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:28:04] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:28:04] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413005568001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":119488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:28:04] local.INFO: GPS data processed {"connection_id":119488,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:28:04] local.INFO: Acknowledgment sent {"connection_id":119488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:28:16] local.INFO: TCP Data received {"connection_id":120589,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 05:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120589,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 05:28:16] local.INFO: Processing buffer {"connection_id":120589,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 05:28:16] local.INFO: IMEI packet received {"connection_id":120589,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 05:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":120589,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:28:21] local.INFO: TCP Data received {"connection_id":120590,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:28:21] local.INFO: Processing buffer {"connection_id":120590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:28:21] local.INFO: IMEI packet received {"connection_id":120590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 05:28:21] local.INFO: IMEI acknowledgment sent {"connection_id":120590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:28:26] local.INFO: TCP Data received {"connection_id":120590,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:28:26] local.INFO: Processing buffer {"connection_id":120590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:28:26] local.INFO: IMEI packet received {"connection_id":120590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 05:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":120590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 05:28:27] local.INFO: TCP Data received {"connection_id":120590,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f1af3a920012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 05:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1af3a920012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 05:28:27] local.INFO: Processing buffer {"connection_id":120590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1af3a920012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 05:28:27] local.INFO: Packet analysis {"connection_id":120590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1af3"} 
[2026-07-01 05:28:27] local.INFO: Extracted packet for processing {"connection_id":120590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1af3"} 
[2026-07-01 05:28:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:28:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413005568001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:28:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:28:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:28:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:28:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782863604000,"timestamp_ms":1782863604000,"timestamp_seconds":1782863604,"priority":1,"record_length":96,"hex_timestamp":"0000019f1af3a920"} 
[2026-07-01 05:28:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:28:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 05:28:27] 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-01 05:28:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:28:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:28:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:28:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:28:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:28:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:28:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 05:28:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:28:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:28:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413005568001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:28:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:28:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:28:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413005568001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:28:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:28:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:28:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:28:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:28:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413005568001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:28:27] local.INFO: DEBUG: GPS processor result {"connection_id":120590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:28:27] local.INFO: GPS data processed {"connection_id":120590,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:28:27] local.INFO: Acknowledgment sent {"connection_id":120590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:28:58] local.INFO: TCP Data received {"connection_id":120590,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f1af3a920012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 05:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1af3a920012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 05:28:58] local.INFO: Processing buffer {"connection_id":120590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1af3a920012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 05:28:58] local.INFO: Packet analysis {"connection_id":120590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1af3"} 
[2026-07-01 05:28:58] local.INFO: Extracted packet for processing {"connection_id":120590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1af3"} 
[2026-07-01 05:28:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05: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-01 05:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413005568001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:28:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782863604000,"timestamp_ms":1782863604000,"timestamp_seconds":1782863604,"priority":1,"record_length":96,"hex_timestamp":"0000019f1af3a920"} 
[2026-07-01 05: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-01 05:28:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 05:28:58] 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-01 05: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-01 05: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-01 05:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:28:58] 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-01 05:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413005568001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413005568001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:28:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:28:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413005568001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":120590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:28:58] local.INFO: GPS data processed {"connection_id":120590,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:28:58] local.INFO: Acknowledgment sent {"connection_id":120590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:29:26] local.INFO: TCP Data received {"connection_id":118836,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:29:26] local.INFO: Processing buffer {"connection_id":118836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:29:26] local.INFO: IMEI packet received {"connection_id":118836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 05:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":118836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:29:31] local.INFO: TCP Data received {"connection_id":118836,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:29:31] local.INFO: Processing buffer {"connection_id":118836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:29:31] local.INFO: IMEI packet received {"connection_id":118836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 05:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":118836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 05:29:32] local.INFO: TCP Data received {"connection_id":118836,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f1af840e8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1af840e8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:29:32] local.INFO: Processing buffer {"connection_id":118836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1af840e8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:29:32] local.INFO: Packet analysis {"connection_id":118836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1af8"} 
[2026-07-01 05:29:32] local.INFO: Extracted packet for processing {"connection_id":118836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1af8"} 
[2026-07-01 05:29:32] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":48,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413082624001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782863905000,"timestamp_ms":1782863905000,"timestamp_seconds":1782863905,"priority":1,"record_length":96,"hex_timestamp":"0000019f1af840e8"} 
[2026-07-01 05:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:29:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 05:29:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05:29:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":118836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":118836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":118836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 05:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413082624001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413082624001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:29:32] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:29:32] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413082624001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":118836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:29:32] local.INFO: GPS data processed {"connection_id":118836,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:29:32] local.INFO: Acknowledgment sent {"connection_id":118836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:29:37] local.INFO: TCP Data received {"connection_id":118836,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f1af840e8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1af840e8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:29:37] local.INFO: Processing buffer {"connection_id":118836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1af840e8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:29:37] local.INFO: Packet analysis {"connection_id":118836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1af8"} 
[2026-07-01 05:29:37] local.INFO: Extracted packet for processing {"connection_id":118836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1af8"} 
[2026-07-01 05:29:37] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":48,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413082624001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782863905000,"timestamp_ms":1782863905000,"timestamp_seconds":1782863905,"priority":1,"record_length":96,"hex_timestamp":"0000019f1af840e8"} 
[2026-07-01 05:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 05:29:37] 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-01 05:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":118836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":118836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":118836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 05:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413082624001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413082624001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:29:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:29:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413082624001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":118836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:29:37] local.INFO: GPS data processed {"connection_id":118836,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:29:37] local.INFO: Acknowledgment sent {"connection_id":118836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:30:21] local.INFO: TCP Data received {"connection_id":120592,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:30:21] local.INFO: Processing buffer {"connection_id":120592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:30:21] local.INFO: IMEI packet received {"connection_id":120592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 05:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":120592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:30:26] local.INFO: TCP Data received {"connection_id":120592,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:30:26] local.INFO: Processing buffer {"connection_id":120592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:30:26] local.INFO: IMEI packet received {"connection_id":120592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 05:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":120592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 05:30:27] local.INFO: TCP Data received {"connection_id":120592,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f1af840e8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1af840e8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:30:27] local.INFO: Processing buffer {"connection_id":120592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1af840e8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:30:27] local.INFO: Packet analysis {"connection_id":120592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1af8"} 
[2026-07-01 05:30:27] local.INFO: Extracted packet for processing {"connection_id":120592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1af8"} 
[2026-07-01 05:30:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":48,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413082624001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:30:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782863905000,"timestamp_ms":1782863905000,"timestamp_seconds":1782863905,"priority":1,"record_length":96,"hex_timestamp":"0000019f1af840e8"} 
[2026-07-01 05:30:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:30:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 05:30:27] 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-01 05:30:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:30:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:30:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 05:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413082624001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413082624001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:30:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:30:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413082624001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":120592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:30:27] local.INFO: GPS data processed {"connection_id":120592,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:30:27] local.INFO: Acknowledgment sent {"connection_id":120592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:30:58] local.INFO: TCP Data received {"connection_id":120592,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f1af840e8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1af840e8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:30:58] local.INFO: Processing buffer {"connection_id":120592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1af840e8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:30:58] local.INFO: Packet analysis {"connection_id":120592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1af8"} 
[2026-07-01 05:30:58] local.INFO: Extracted packet for processing {"connection_id":120592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1af8"} 
[2026-07-01 05:30:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":48,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05: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-01 05:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413082624001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:30:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:30:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:30:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:30:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782863905000,"timestamp_ms":1782863905000,"timestamp_seconds":1782863905,"priority":1,"record_length":96,"hex_timestamp":"0000019f1af840e8"} 
[2026-07-01 05: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-01 05:30:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 05:30:58] 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-01 05: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-01 05: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-01 05:30:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:30:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:30:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:30:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:30:58] 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-01 05:30:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:30:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:30:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413082624001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:30:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:30:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:30:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413082624001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:30:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:30:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:30:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:30:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:30:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413082624001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:30:58] local.INFO: DEBUG: GPS processor result {"connection_id":120592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:30:58] local.INFO: GPS data processed {"connection_id":120592,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:30:58] local.INFO: Acknowledgment sent {"connection_id":120592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:31:21] local.INFO: TCP Data received {"connection_id":119490,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:31:21] local.INFO: Processing buffer {"connection_id":119490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:31:21] local.INFO: IMEI packet received {"connection_id":119490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 05:31:21] local.INFO: IMEI acknowledgment sent {"connection_id":119490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:31:26] local.INFO: TCP Data received {"connection_id":119490,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:31:26] local.INFO: Processing buffer {"connection_id":119490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:31:26] local.INFO: IMEI packet received {"connection_id":119490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 05:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":119490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 05:31:27] local.INFO: TCP Data received {"connection_id":119490,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f1af840e8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1af840e8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:31:27] local.INFO: Processing buffer {"connection_id":119490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1af840e8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:31:27] local.INFO: Packet analysis {"connection_id":119490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1af8"} 
[2026-07-01 05:31:27] local.INFO: Extracted packet for processing {"connection_id":119490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1af8"} 
[2026-07-01 05:31:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":48,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413082624001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:31:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:31:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782863905000,"timestamp_ms":1782863905000,"timestamp_seconds":1782863905,"priority":1,"record_length":96,"hex_timestamp":"0000019f1af840e8"} 
[2026-07-01 05:31:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:31:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 05:31:27] 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-01 05:31:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:31:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:31:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 05:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413082624001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413082624001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:31:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:31:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:31:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413082624001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":119490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:31:27] local.INFO: GPS data processed {"connection_id":119490,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:31:27] local.INFO: Acknowledgment sent {"connection_id":119490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:31:58] local.INFO: TCP Data received {"connection_id":119490,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f1af840e8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1af840e8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:31:58] local.INFO: Processing buffer {"connection_id":119490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1af840e8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:31:58] local.INFO: Packet analysis {"connection_id":119490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1af8"} 
[2026-07-01 05:31:58] local.INFO: Extracted packet for processing {"connection_id":119490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1af8"} 
[2026-07-01 05:31:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":48,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05: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-01 05:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413082624001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:31:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782863905000,"timestamp_ms":1782863905000,"timestamp_seconds":1782863905,"priority":1,"record_length":96,"hex_timestamp":"0000019f1af840e8"} 
[2026-07-01 05: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-01 05:31:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 05:31:58] 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-01 05: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-01 05: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-01 05:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:31:58] 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-01 05:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413082624001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413082624001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:31:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:31:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413082624001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":119490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:31:58] local.INFO: GPS data processed {"connection_id":119490,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:31:58] local.INFO: Acknowledgment sent {"connection_id":119490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:32:21] local.INFO: TCP Data received {"connection_id":118727,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:32:21] local.INFO: Processing buffer {"connection_id":118727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:32:21] local.INFO: IMEI packet received {"connection_id":118727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 05:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":118727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:32:26] local.INFO: TCP Data received {"connection_id":118727,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:32:26] local.INFO: Processing buffer {"connection_id":118727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:32:26] local.INFO: IMEI packet received {"connection_id":118727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 05:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":118727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 05:32:27] local.INFO: TCP Data received {"connection_id":118727,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1af840e8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1af840e8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:32:27] local.INFO: Processing buffer {"connection_id":118727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1af840e8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:32:27] local.INFO: Packet analysis {"connection_id":118727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1af8"} 
[2026-07-01 05:32:27] local.INFO: Extracted packet for processing {"connection_id":118727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1af8"} 
[2026-07-01 05:32:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":48,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413082624001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:32:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782863905000,"timestamp_ms":1782863905000,"timestamp_seconds":1782863905,"priority":1,"record_length":96,"hex_timestamp":"0000019f1af840e8"} 
[2026-07-01 05:32:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:32:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 05:32:27] 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-01 05:32:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:32:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:32:27] 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-01 05:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413082624001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413082624001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:32:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:32:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413082624001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":118727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:32:27] local.INFO: GPS data processed {"connection_id":118727,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:32:27] local.INFO: Acknowledgment sent {"connection_id":118727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:32:58] local.INFO: TCP Data received {"connection_id":118727,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1af840e8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1af840e8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:32:58] local.INFO: Processing buffer {"connection_id":118727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1af840e8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:32:58] local.INFO: Packet analysis {"connection_id":118727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1af8"} 
[2026-07-01 05:32:58] local.INFO: Extracted packet for processing {"connection_id":118727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1af8"} 
[2026-07-01 05:32:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":48,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05: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-01 05:32:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413082624001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:32:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:32:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:32:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:32:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782863905000,"timestamp_ms":1782863905000,"timestamp_seconds":1782863905,"priority":1,"record_length":96,"hex_timestamp":"0000019f1af840e8"} 
[2026-07-01 05: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-01 05:32:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05: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":255,"data_length":795,"current_offset":136} 
[2026-07-01 05:32:58] 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-01 05: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-01 05: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-01 05:32:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:32:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:32:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:32:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:32:58] 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-01 05:32:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:32:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:32:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413082624001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:32:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:32:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:32:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413082624001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:32:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:32:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:32:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:32:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:32:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413082624001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:32:58] local.INFO: DEBUG: GPS processor result {"connection_id":118727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:32:58] local.INFO: GPS data processed {"connection_id":118727,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:32:58] local.INFO: Acknowledgment sent {"connection_id":118727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:33:21] local.INFO: TCP Data received {"connection_id":118838,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:33:21] local.INFO: Processing buffer {"connection_id":118838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:33:21] local.INFO: IMEI packet received {"connection_id":118838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 05:33:21] local.INFO: IMEI acknowledgment sent {"connection_id":118838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:33:26] local.INFO: TCP Data received {"connection_id":118838,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:33:26] local.INFO: Processing buffer {"connection_id":118838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:33:26] local.INFO: IMEI packet received {"connection_id":118838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 05:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":118838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 05:33:27] local.INFO: TCP Data received {"connection_id":118838,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1af840e8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1af840e8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:33:27] local.INFO: Processing buffer {"connection_id":118838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1af840e8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:33:27] local.INFO: Packet analysis {"connection_id":118838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1af8"} 
[2026-07-01 05:33:27] local.INFO: Extracted packet for processing {"connection_id":118838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1af8"} 
[2026-07-01 05:33:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":48,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413082624001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:33:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:33:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782863905000,"timestamp_ms":1782863905000,"timestamp_seconds":1782863905,"priority":1,"record_length":96,"hex_timestamp":"0000019f1af840e8"} 
[2026-07-01 05:33:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:33:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 05:33:27] 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-01 05:33:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:33:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:33:27] 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-01 05:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413082624001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413082624001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:33:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:33:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:33:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413082624001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:33:27] local.INFO: DEBUG: GPS processor result {"connection_id":118838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:33:27] local.INFO: GPS data processed {"connection_id":118838,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:33:27] local.INFO: Acknowledgment sent {"connection_id":118838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:33:31] local.INFO: TCP Data received {"connection_id":119491,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 05:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119491,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 05:33:31] local.INFO: Processing buffer {"connection_id":119491,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 05:33:31] local.INFO: IMEI packet received {"connection_id":119491,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 05:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":119491,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:33:58] local.INFO: TCP Data received {"connection_id":118838,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1af840e8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1af840e8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:33:58] local.INFO: Processing buffer {"connection_id":118838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1af840e8012d4a4d80068ba5d80011014930..."} 
[2026-07-01 05:33:58] local.INFO: Packet analysis {"connection_id":118838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1af8"} 
[2026-07-01 05:33:58] local.INFO: Extracted packet for processing {"connection_id":118838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1af8"} 
[2026-07-01 05:33:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":48,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05: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-01 05:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413082624001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:33:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:33:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782863905000,"timestamp_ms":1782863905000,"timestamp_seconds":1782863905,"priority":1,"record_length":96,"hex_timestamp":"0000019f1af840e8"} 
[2026-07-01 05: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-01 05:33:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 05:33:58] 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-01 05: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-01 05: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-01 05:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:33:58] 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-01 05:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413082624001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413082624001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:33:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:33:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:33:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413082624001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":118838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:33:58] local.INFO: GPS data processed {"connection_id":118838,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:33:58] local.INFO: Acknowledgment sent {"connection_id":118838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:34:16] local.INFO: TCP Data received {"connection_id":120593,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 05:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120593,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 05:34:16] local.INFO: Processing buffer {"connection_id":120593,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 05:34:16] local.INFO: IMEI packet received {"connection_id":120593,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 05:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":120593,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:34:26] local.INFO: TCP Data received {"connection_id":119492,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:34:26] local.INFO: Processing buffer {"connection_id":119492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:34:26] local.INFO: IMEI packet received {"connection_id":119492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 05:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":119492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:34:31] local.INFO: TCP Data received {"connection_id":119492,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:34:31] local.INFO: Processing buffer {"connection_id":119492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:34:31] local.INFO: IMEI packet received {"connection_id":119492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 05:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":119492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 05:35:21] local.INFO: TCP Data received {"connection_id":119495,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:35:21] local.INFO: Processing buffer {"connection_id":119495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:35:21] local.INFO: IMEI packet received {"connection_id":119495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 05:35:21] local.INFO: IMEI acknowledgment sent {"connection_id":119495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:35:26] local.INFO: TCP Data received {"connection_id":119495,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:35:26] local.INFO: Processing buffer {"connection_id":119495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:35:26] local.INFO: IMEI packet received {"connection_id":119495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 05:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":119495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 05:35:27] local.INFO: TCP Data received {"connection_id":119495,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1afcd8b0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 05:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1afcd8b0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 05:35:27] local.INFO: Processing buffer {"connection_id":119495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1afcd8b0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 05:35:27] local.INFO: Packet analysis {"connection_id":119495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1afc"} 
[2026-07-01 05:35:27] local.INFO: Extracted packet for processing {"connection_id":119495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1afc"} 
[2026-07-01 05:35:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":44,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:35:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413159680001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:35:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:35:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:35:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:35:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782864206000,"timestamp_ms":1782864206000,"timestamp_seconds":1782864206,"priority":1,"record_length":96,"hex_timestamp":"0000019f1afcd8b0"} 
[2026-07-01 05:35:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:35:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 05:35:27] 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-01 05:35:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:35:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:35:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:35:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:35:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:35:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:35:27] 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-01 05:35:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:35:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:35:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413159680001,"66":25321,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:35:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:35:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:35:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413159680001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:35:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:35:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:35:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:35:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:35:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413159680001,"power":25321,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:35:27] local.INFO: DEBUG: GPS processor result {"connection_id":119495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:35:27] local.INFO: GPS data processed {"connection_id":119495,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:35:27] local.INFO: Acknowledgment sent {"connection_id":119495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:35:32] local.INFO: TCP Data received {"connection_id":119492,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1afcd8b0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 05:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1afcd8b0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 05:35:32] local.INFO: Processing buffer {"connection_id":119492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1afcd8b0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 05:35:32] local.INFO: Packet analysis {"connection_id":119492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1afc"} 
[2026-07-01 05:35:32] local.INFO: Extracted packet for processing {"connection_id":119492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1afc"} 
[2026-07-01 05:35:32] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":44,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413159680001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:35:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782864206000,"timestamp_ms":1782864206000,"timestamp_seconds":1782864206,"priority":1,"record_length":96,"hex_timestamp":"0000019f1afcd8b0"} 
[2026-07-01 05:35:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:35:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 05:35:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05:35:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:35:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":119492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":119492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":119492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 05:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413159680001,"66":25321,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413159680001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:35:32] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:35:32] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413159680001,"power":25321,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":119492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:35:32] local.INFO: GPS data processed {"connection_id":119492,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:35:32] local.INFO: Acknowledgment sent {"connection_id":119492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:35:58] local.INFO: TCP Data received {"connection_id":119495,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1afcd8b0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 05:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1afcd8b0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 05:35:58] local.INFO: Processing buffer {"connection_id":119495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1afcd8b0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 05:35:58] local.INFO: Packet analysis {"connection_id":119495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1afc"} 
[2026-07-01 05:35:58] local.INFO: Extracted packet for processing {"connection_id":119495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1afc"} 
[2026-07-01 05:35:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":44,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05: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-01 05:35:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413159680001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:35:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:35:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:35:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:35:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782864206000,"timestamp_ms":1782864206000,"timestamp_seconds":1782864206,"priority":1,"record_length":96,"hex_timestamp":"0000019f1afcd8b0"} 
[2026-07-01 05: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-01 05:35:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 05:35:58] 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-01 05: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-01 05: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-01 05:35:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:35:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:35:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:35:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:35:58] 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-01 05:35:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:35:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:35:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413159680001,"66":25321,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:35:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:35:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:35:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413159680001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:35:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:35:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:35:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:35:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:35:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413159680001,"power":25321,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:35:58] local.INFO: DEBUG: GPS processor result {"connection_id":119495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:35:58] local.INFO: GPS data processed {"connection_id":119495,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:35:58] local.INFO: Acknowledgment sent {"connection_id":119495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:36:21] local.INFO: TCP Data received {"connection_id":118840,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:36:21] local.INFO: Processing buffer {"connection_id":118840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:36:21] local.INFO: IMEI packet received {"connection_id":118840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 05:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":118840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:36:26] local.INFO: TCP Data received {"connection_id":118840,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:36:26] local.INFO: Processing buffer {"connection_id":118840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:36:26] local.INFO: IMEI packet received {"connection_id":118840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 05:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":118840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 05:36:27] local.INFO: TCP Data received {"connection_id":118840,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1afcd8b0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 05:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1afcd8b0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 05:36:27] local.INFO: Processing buffer {"connection_id":118840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1afcd8b0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 05:36:27] local.INFO: Packet analysis {"connection_id":118840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1afc"} 
[2026-07-01 05:36:27] local.INFO: Extracted packet for processing {"connection_id":118840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1afc"} 
[2026-07-01 05:36:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":44,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413159680001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:36:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:36:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782864206000,"timestamp_ms":1782864206000,"timestamp_seconds":1782864206,"priority":1,"record_length":96,"hex_timestamp":"0000019f1afcd8b0"} 
[2026-07-01 05:36:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:36:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 05:36:27] 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-01 05:36:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:36:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:36:27] 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-01 05:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413159680001,"66":25321,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413159680001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:36:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:36:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:36:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:36:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413159680001,"power":25321,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:36:27] local.INFO: DEBUG: GPS processor result {"connection_id":118840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:36:27] local.INFO: GPS data processed {"connection_id":118840,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:36:27] local.INFO: Acknowledgment sent {"connection_id":118840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:36:58] local.INFO: TCP Data received {"connection_id":118840,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1afcd8b0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 05:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1afcd8b0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 05:36:58] local.INFO: Processing buffer {"connection_id":118840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1afcd8b0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 05:36:58] local.INFO: Packet analysis {"connection_id":118840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1afc"} 
[2026-07-01 05:36:58] local.INFO: Extracted packet for processing {"connection_id":118840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1afc"} 
[2026-07-01 05:36:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":44,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05: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-01 05:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413159680001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:36:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:36:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782864206000,"timestamp_ms":1782864206000,"timestamp_seconds":1782864206,"priority":1,"record_length":96,"hex_timestamp":"0000019f1afcd8b0"} 
[2026-07-01 05: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-01 05:36:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 05:36:58] 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-01 05: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-01 05: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-01 05:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:36:58] 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-01 05:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413159680001,"66":25321,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413159680001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:36:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:36:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:36:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413159680001,"power":25321,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":118840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:36:58] local.INFO: GPS data processed {"connection_id":118840,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:36:58] local.INFO: Acknowledgment sent {"connection_id":118840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:37:21] local.INFO: TCP Data received {"connection_id":120595,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:37:21] local.INFO: Processing buffer {"connection_id":120595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:37:21] local.INFO: IMEI packet received {"connection_id":120595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 05:37:21] local.INFO: IMEI acknowledgment sent {"connection_id":120595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:37:26] local.INFO: TCP Data received {"connection_id":120595,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:37:26] local.INFO: Processing buffer {"connection_id":120595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:37:26] local.INFO: IMEI packet received {"connection_id":120595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 05:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":120595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 05:37:27] local.INFO: TCP Data received {"connection_id":120595,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1afcd8b0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 05:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1afcd8b0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 05:37:27] local.INFO: Processing buffer {"connection_id":120595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1afcd8b0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 05:37:27] local.INFO: Packet analysis {"connection_id":120595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1afc"} 
[2026-07-01 05:37:27] local.INFO: Extracted packet for processing {"connection_id":120595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1afc"} 
[2026-07-01 05:37:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":44,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413159680001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:37:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782864206000,"timestamp_ms":1782864206000,"timestamp_seconds":1782864206,"priority":1,"record_length":96,"hex_timestamp":"0000019f1afcd8b0"} 
[2026-07-01 05:37:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:37:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 05:37:27] 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-01 05:37:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:37:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:37:27] 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-01 05:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413159680001,"66":25321,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413159680001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:37:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:37:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413159680001,"power":25321,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":120595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:37:27] local.INFO: GPS data processed {"connection_id":120595,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:37:27] local.INFO: Acknowledgment sent {"connection_id":120595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:37:58] local.INFO: TCP Data received {"connection_id":120595,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1afcd8b0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 05:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1afcd8b0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 05:37:58] local.INFO: Processing buffer {"connection_id":120595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1afcd8b0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 05:37:58] local.INFO: Packet analysis {"connection_id":120595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1afc"} 
[2026-07-01 05:37:58] local.INFO: Extracted packet for processing {"connection_id":120595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1afc"} 
[2026-07-01 05:37:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":44,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05: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-01 05:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413159680001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:37:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:37:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:37:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782864206000,"timestamp_ms":1782864206000,"timestamp_seconds":1782864206,"priority":1,"record_length":96,"hex_timestamp":"0000019f1afcd8b0"} 
[2026-07-01 05: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-01 05:37:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 05:37:58] 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-01 05: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-01 05: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-01 05:37:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:37:58] 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-01 05:37:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:37:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:37:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413159680001,"66":25321,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:37:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:37:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:37:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413159680001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:37:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:37:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:37:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:37:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:37:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413159680001,"power":25321,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:37:58] local.INFO: DEBUG: GPS processor result {"connection_id":120595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:37:58] local.INFO: GPS data processed {"connection_id":120595,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:37:58] local.INFO: Acknowledgment sent {"connection_id":120595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:38:21] local.INFO: TCP Data received {"connection_id":119497,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:38:21] local.INFO: Processing buffer {"connection_id":119497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:38:21] local.INFO: IMEI packet received {"connection_id":119497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 05:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":119497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:38:26] local.INFO: TCP Data received {"connection_id":119497,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:38:26] local.INFO: Processing buffer {"connection_id":119497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:38:26] local.INFO: IMEI packet received {"connection_id":119497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 05:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":119497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 05:38:27] local.INFO: TCP Data received {"connection_id":119497,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1afcd8b0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 05:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1afcd8b0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 05:38:27] local.INFO: Processing buffer {"connection_id":119497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1afcd8b0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 05:38:27] local.INFO: Packet analysis {"connection_id":119497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1afc"} 
[2026-07-01 05:38:27] local.INFO: Extracted packet for processing {"connection_id":119497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1afc"} 
[2026-07-01 05:38:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":44,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05: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-01 05:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413159680001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:38:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782864206000,"timestamp_ms":1782864206000,"timestamp_seconds":1782864206,"priority":1,"record_length":96,"hex_timestamp":"0000019f1afcd8b0"} 
[2026-07-01 05: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-01 05:38:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 05:38:27] 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-01 05: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-01 05: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-01 05:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:38:27] 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-01 05:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413159680001,"66":25321,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413159680001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:38:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:38:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413159680001,"power":25321,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":119497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:38:27] local.INFO: GPS data processed {"connection_id":119497,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:38:27] local.INFO: Acknowledgment sent {"connection_id":119497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:38:58] local.INFO: TCP Data received {"connection_id":119497,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1afcd8b0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 05:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1afcd8b0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 05:38:58] local.INFO: Processing buffer {"connection_id":119497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1afcd8b0012d4a4d80068ba5d8001101492c..."} 
[2026-07-01 05:38:58] local.INFO: Packet analysis {"connection_id":119497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1afc"} 
[2026-07-01 05:38:58] local.INFO: Extracted packet for processing {"connection_id":119497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1afc"} 
[2026-07-01 05:38:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":44,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05: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-01 05:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413159680001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:38:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:38:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:38:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:38:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782864206000,"timestamp_ms":1782864206000,"timestamp_seconds":1782864206,"priority":1,"record_length":96,"hex_timestamp":"0000019f1afcd8b0"} 
[2026-07-01 05: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-01 05:38:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05: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":255,"data_length":795,"current_offset":136} 
[2026-07-01 05:38:58] 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-01 05: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-01 05: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-01 05:38:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:38:58] 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-01 05:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413159680001,"66":25321,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413159680001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:38:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:38:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:38:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:38:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413159680001,"power":25321,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":119497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:38:58] local.INFO: GPS data processed {"connection_id":119497,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:38:58] local.INFO: Acknowledgment sent {"connection_id":119497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:39:26] local.INFO: TCP Data received {"connection_id":120596,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:39:26] local.INFO: Processing buffer {"connection_id":120596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:39:26] local.INFO: IMEI packet received {"connection_id":120596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 05:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":120596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:39:31] local.INFO: TCP Data received {"connection_id":118841,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 05:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118841,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 05:39:31] local.INFO: Processing buffer {"connection_id":118841,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 05:39:31] local.INFO: IMEI packet received {"connection_id":118841,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 05:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":118841,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:39:31] local.INFO: TCP Data received {"connection_id":120596,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:39:31] local.INFO: Processing buffer {"connection_id":120596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:39:31] local.INFO: IMEI packet received {"connection_id":120596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 05:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":120596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 05:39:32] local.INFO: TCP Data received {"connection_id":120596,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b017078012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b017078012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:39:32] local.INFO: Processing buffer {"connection_id":120596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b017078012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:39:32] local.INFO: Packet analysis {"connection_id":120596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b01"} 
[2026-07-01 05:39:32] local.INFO: Extracted packet for processing {"connection_id":120596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b01"} 
[2026-07-01 05:39:32] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413236736001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782864507000,"timestamp_ms":1782864507000,"timestamp_seconds":1782864507,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b017078"} 
[2026-07-01 05:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:39:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-01 05:39:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05:39:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":120596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":120596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":120596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 05:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413236736001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413236736001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:39:32] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:39:32] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413236736001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":120596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:39:32] local.INFO: GPS data processed {"connection_id":120596,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:39:32] local.INFO: Acknowledgment sent {"connection_id":120596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:40:04] local.INFO: TCP Data received {"connection_id":120596,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b017078012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b017078012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:40:04] local.INFO: Processing buffer {"connection_id":120596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b017078012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:40:04] local.INFO: Packet analysis {"connection_id":120596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b01"} 
[2026-07-01 05:40:04] local.INFO: Extracted packet for processing {"connection_id":120596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b01"} 
[2026-07-01 05:40:04] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05: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-01 05:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413236736001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782864507000,"timestamp_ms":1782864507000,"timestamp_seconds":1782864507,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b017078"} 
[2026-07-01 05: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-01 05:40:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-01 05:40: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-01 05: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-01 05: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-01 05:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":120596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":120596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":120596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:40:04] 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-01 05:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413236736001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413236736001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:40:04] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:40:04] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413236736001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":120596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:40:04] local.INFO: GPS data processed {"connection_id":120596,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:40:04] local.INFO: Acknowledgment sent {"connection_id":120596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:40:21] local.INFO: TCP Data received {"connection_id":119498,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:40:21] local.INFO: Processing buffer {"connection_id":119498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:40:21] local.INFO: IMEI packet received {"connection_id":119498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 05:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":119498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:40:21] local.INFO: TCP Data received {"connection_id":118842,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 05:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118842,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 05:40:21] local.INFO: Processing buffer {"connection_id":118842,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 05:40:21] local.INFO: IMEI packet received {"connection_id":118842,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 05:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":118842,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:40:26] local.INFO: TCP Data received {"connection_id":119498,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:40:26] local.INFO: Processing buffer {"connection_id":119498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:40:26] local.INFO: IMEI packet received {"connection_id":119498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 05:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":119498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 05:40:27] local.INFO: TCP Data received {"connection_id":119498,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b017078012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b017078012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:40:27] local.INFO: Processing buffer {"connection_id":119498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b017078012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:40:27] local.INFO: Packet analysis {"connection_id":119498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b01"} 
[2026-07-01 05:40:27] local.INFO: Extracted packet for processing {"connection_id":119498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b01"} 
[2026-07-01 05:40:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:40:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413236736001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:40:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:40:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:40:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:40:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782864507000,"timestamp_ms":1782864507000,"timestamp_seconds":1782864507,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b017078"} 
[2026-07-01 05:40:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:40:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-01 05:40:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05:40:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:40:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:40:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:40:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:40:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:40:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:40:27] 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-01 05:40:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:40:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:40:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413236736001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:40:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:40:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:40:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413236736001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:40:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:40:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:40:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:40:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:40:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413236736001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:40:27] local.INFO: DEBUG: GPS processor result {"connection_id":119498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:40:27] local.INFO: GPS data processed {"connection_id":119498,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:40:27] local.INFO: Acknowledgment sent {"connection_id":119498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:40:58] local.INFO: TCP Data received {"connection_id":119498,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b017078012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b017078012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:40:58] local.INFO: Processing buffer {"connection_id":119498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b017078012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:40:58] local.INFO: Packet analysis {"connection_id":119498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b01"} 
[2026-07-01 05:40:58] local.INFO: Extracted packet for processing {"connection_id":119498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b01"} 
[2026-07-01 05:40:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05: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-01 05:40:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413236736001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:40:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:40:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:40:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:40:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782864507000,"timestamp_ms":1782864507000,"timestamp_seconds":1782864507,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b017078"} 
[2026-07-01 05: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-01 05:40:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-01 05:40:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05: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-01 05: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-01 05:40:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:40:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:40:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:40:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:40:58] 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-01 05:40:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:40:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:40:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413236736001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:40:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:40:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:40:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413236736001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:40:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:40:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:40:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:40:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:40:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413236736001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:40:58] local.INFO: DEBUG: GPS processor result {"connection_id":119498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:40:58] local.INFO: GPS data processed {"connection_id":119498,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:40:58] local.INFO: Acknowledgment sent {"connection_id":119498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:41:21] local.INFO: TCP Data received {"connection_id":120597,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:41:21] local.INFO: Processing buffer {"connection_id":120597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:41:21] local.INFO: IMEI packet received {"connection_id":120597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 05:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":120597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:41:26] local.INFO: TCP Data received {"connection_id":120597,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:41:26] local.INFO: Processing buffer {"connection_id":120597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:41:26] local.INFO: IMEI packet received {"connection_id":120597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 05:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":120597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 05:41:27] local.INFO: TCP Data received {"connection_id":120597,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b017078012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b017078012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:41:27] local.INFO: Processing buffer {"connection_id":120597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b017078012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:41:27] local.INFO: Packet analysis {"connection_id":120597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b01"} 
[2026-07-01 05:41:27] local.INFO: Extracted packet for processing {"connection_id":120597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b01"} 
[2026-07-01 05:41:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05: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-01 05:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413236736001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:41:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782864507000,"timestamp_ms":1782864507000,"timestamp_seconds":1782864507,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b017078"} 
[2026-07-01 05: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-01 05:41:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-01 05:41:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05: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-01 05: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-01 05:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:41:27] 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-01 05:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413236736001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413236736001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:41:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:41:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413236736001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":120597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:41:27] local.INFO: GPS data processed {"connection_id":120597,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:41:27] local.INFO: Acknowledgment sent {"connection_id":120597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:41:58] local.INFO: TCP Data received {"connection_id":120597,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b017078012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b017078012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:41:58] local.INFO: Processing buffer {"connection_id":120597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b017078012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:41:58] local.INFO: Packet analysis {"connection_id":120597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b01"} 
[2026-07-01 05:41:58] local.INFO: Extracted packet for processing {"connection_id":120597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b01"} 
[2026-07-01 05:41:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05: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-01 05:41:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413236736001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:41:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:41:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:41:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:41:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782864507000,"timestamp_ms":1782864507000,"timestamp_seconds":1782864507,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b017078"} 
[2026-07-01 05: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-01 05:41:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-01 05:41:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05: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-01 05: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-01 05:41:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:41:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:41:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:41:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:41:58] 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-01 05:41:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:41:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:41:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413236736001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:41:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:41:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:41:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413236736001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:41:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:41:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:41:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:41:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:41:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413236736001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:41:58] local.INFO: DEBUG: GPS processor result {"connection_id":120597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:41:58] local.INFO: GPS data processed {"connection_id":120597,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:41:58] local.INFO: Acknowledgment sent {"connection_id":120597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:42:21] local.INFO: TCP Data received {"connection_id":118844,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:42:21] local.INFO: Processing buffer {"connection_id":118844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:42:21] local.INFO: IMEI packet received {"connection_id":118844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 05:42:21] local.INFO: IMEI acknowledgment sent {"connection_id":118844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:42:26] local.INFO: TCP Data received {"connection_id":118844,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:42:26] local.INFO: Processing buffer {"connection_id":118844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:42:26] local.INFO: IMEI packet received {"connection_id":118844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 05:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":118844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 05:42:27] local.INFO: TCP Data received {"connection_id":118844,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b017078012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b017078012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:42:27] local.INFO: Processing buffer {"connection_id":118844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b017078012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:42:27] local.INFO: Packet analysis {"connection_id":118844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b01"} 
[2026-07-01 05:42:27] local.INFO: Extracted packet for processing {"connection_id":118844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b01"} 
[2026-07-01 05:42:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413236736001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:42:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:42:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782864507000,"timestamp_ms":1782864507000,"timestamp_seconds":1782864507,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b017078"} 
[2026-07-01 05:42:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:42:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-01 05:42:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05:42:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:42:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:42:27] 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-01 05:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413236736001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413236736001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:42:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:42:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:42:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:42:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413236736001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":118844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:42:27] local.INFO: GPS data processed {"connection_id":118844,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:42:27] local.INFO: Acknowledgment sent {"connection_id":118844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:42:58] local.INFO: TCP Data received {"connection_id":118844,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b017078012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b017078012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:42:58] local.INFO: Processing buffer {"connection_id":118844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b017078012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:42:58] local.INFO: Packet analysis {"connection_id":118844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b01"} 
[2026-07-01 05:42:58] local.INFO: Extracted packet for processing {"connection_id":118844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b01"} 
[2026-07-01 05:42:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05: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-01 05:42:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413236736001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:42:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:42:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:42:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:42:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782864507000,"timestamp_ms":1782864507000,"timestamp_seconds":1782864507,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b017078"} 
[2026-07-01 05: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-01 05:42:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-01 05:42:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05: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-01 05: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-01 05:42:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:42:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:42:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:42:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:42:58] 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-01 05:42:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:42:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:42:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413236736001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:42:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:42:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:42:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413236736001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:42:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:42:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:42:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:42:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:42:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413236736001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:42:58] local.INFO: DEBUG: GPS processor result {"connection_id":118844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:42:58] local.INFO: GPS data processed {"connection_id":118844,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:42:58] local.INFO: Acknowledgment sent {"connection_id":118844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:43:21] local.INFO: TCP Data received {"connection_id":119501,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:43:21] local.INFO: Processing buffer {"connection_id":119501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:43:21] local.INFO: IMEI packet received {"connection_id":119501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 05:43:21] local.INFO: IMEI acknowledgment sent {"connection_id":119501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:43:26] local.INFO: TCP Data received {"connection_id":119501,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:43:26] local.INFO: Processing buffer {"connection_id":119501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:43:26] local.INFO: IMEI packet received {"connection_id":119501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 05:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":119501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 05:43:35] local.INFO: TCP Data received {"connection_id":119501,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b017078012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b017078012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:43:35] local.INFO: Processing buffer {"connection_id":119501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b017078012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:43:35] local.INFO: Packet analysis {"connection_id":119501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b01"} 
[2026-07-01 05:43:35] local.INFO: Extracted packet for processing {"connection_id":119501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b01"} 
[2026-07-01 05:43:35] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413236736001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:43:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782864507000,"timestamp_ms":1782864507000,"timestamp_seconds":1782864507,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b017078"} 
[2026-07-01 05: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-01 05:43:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-01 05:43:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05: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-01 05: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-01 05:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":119501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":119501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":119501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 05:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413236736001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413236736001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:43:35] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:43:35] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413236736001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":119501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:43:35] local.INFO: GPS data processed {"connection_id":119501,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:43:35] local.INFO: Acknowledgment sent {"connection_id":119501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:44:08] local.INFO: TCP Data received {"connection_id":119501,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b017078012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b017078012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:44:08] local.INFO: Processing buffer {"connection_id":119501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b017078012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:44:08] local.INFO: Packet analysis {"connection_id":119501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b01"} 
[2026-07-01 05:44:08] local.INFO: Extracted packet for processing {"connection_id":119501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b01"} 
[2026-07-01 05:44:08] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413236736001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:44:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782864507000,"timestamp_ms":1782864507000,"timestamp_seconds":1782864507,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b017078"} 
[2026-07-01 05:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-01 05:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05:44:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":119501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":119501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":119501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 05:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413236736001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413236736001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:44:08] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:44:08] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413236736001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":119501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:44:08] local.INFO: GPS data processed {"connection_id":119501,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:44:08] local.INFO: Acknowledgment sent {"connection_id":119501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:44:26] local.INFO: TCP Data received {"connection_id":120599,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:44:26] local.INFO: Processing buffer {"connection_id":120599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:44:26] local.INFO: IMEI packet received {"connection_id":120599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 05:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":120599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:44:31] local.INFO: TCP Data received {"connection_id":120599,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:44:31] local.INFO: Processing buffer {"connection_id":120599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:44:31] local.INFO: IMEI packet received {"connection_id":120599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 05:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":120599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 05:44:32] local.INFO: TCP Data received {"connection_id":120599,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b060840012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b060840012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:44:32] local.INFO: Processing buffer {"connection_id":120599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b060840012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:44:32] local.INFO: Packet analysis {"connection_id":120599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b06"} 
[2026-07-01 05:44:32] local.INFO: Extracted packet for processing {"connection_id":120599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b06"} 
[2026-07-01 05:44:32] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413313792001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782864808000,"timestamp_ms":1782864808000,"timestamp_seconds":1782864808,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b060840"} 
[2026-07-01 05:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:44:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 05:44:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05:44:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":120599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":120599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":120599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 05:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413313792001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413313792001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:44:32] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:44:32] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413313792001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":120599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:44:32] local.INFO: GPS data processed {"connection_id":120599,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:44:32] local.INFO: Acknowledgment sent {"connection_id":120599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:45:03] local.INFO: TCP Data received {"connection_id":120599,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b060840012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b060840012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:45:03] local.INFO: Processing buffer {"connection_id":120599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b060840012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:45:03] local.INFO: Packet analysis {"connection_id":120599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b06"} 
[2026-07-01 05:45:03] local.INFO: Extracted packet for processing {"connection_id":120599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b06"} 
[2026-07-01 05:45:03] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413313792001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782864808000,"timestamp_ms":1782864808000,"timestamp_seconds":1782864808,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b060840"} 
[2026-07-01 05:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 05:45:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05:45:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":120599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":120599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":120599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:45:03] 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-01 05:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413313792001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413313792001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:45:03] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:45:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413313792001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":120599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:45:03] local.INFO: GPS data processed {"connection_id":120599,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:45:03] local.INFO: Acknowledgment sent {"connection_id":120599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:45:21] local.INFO: TCP Data received {"connection_id":118845,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:45:21] local.INFO: Processing buffer {"connection_id":118845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:45:21] local.INFO: IMEI packet received {"connection_id":118845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 05:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":118845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:45:26] local.INFO: TCP Data received {"connection_id":118845,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:45:26] local.INFO: Processing buffer {"connection_id":118845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:45:26] local.INFO: IMEI packet received {"connection_id":118845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 05:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":118845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 05:45:27] local.INFO: TCP Data received {"connection_id":118845,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b060840012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b060840012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:45:27] local.INFO: Processing buffer {"connection_id":118845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b060840012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:45:27] local.INFO: Packet analysis {"connection_id":118845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b06"} 
[2026-07-01 05:45:27] local.INFO: Extracted packet for processing {"connection_id":118845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b06"} 
[2026-07-01 05:45:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:45:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413313792001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:45:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:45:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:45:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:45:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782864808000,"timestamp_ms":1782864808000,"timestamp_seconds":1782864808,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b060840"} 
[2026-07-01 05:45:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:45:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 05:45:27] 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-01 05:45:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:45:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:45:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:45:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:45:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:45:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:45:27] 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-01 05:45:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:45:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:45:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413313792001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:45:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:45:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:45:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413313792001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:45:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:45:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:45:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:45:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:45:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413313792001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:45:27] local.INFO: DEBUG: GPS processor result {"connection_id":118845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:45:27] local.INFO: GPS data processed {"connection_id":118845,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:45:27] local.INFO: Acknowledgment sent {"connection_id":118845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:45:51] local.INFO: TCP Data received {"connection_id":120600,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 05:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120600,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 05:45:51] local.INFO: Processing buffer {"connection_id":120600,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 05:45:51] local.INFO: IMEI packet received {"connection_id":120600,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 05:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":120600,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:45:58] local.INFO: TCP Data received {"connection_id":118845,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b060840012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b060840012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:45:58] local.INFO: Processing buffer {"connection_id":118845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b060840012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:45:58] local.INFO: Packet analysis {"connection_id":118845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b06"} 
[2026-07-01 05:45:58] local.INFO: Extracted packet for processing {"connection_id":118845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b06"} 
[2026-07-01 05:45:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05: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-01 05:45:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413313792001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:45:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:45:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:45:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:45:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782864808000,"timestamp_ms":1782864808000,"timestamp_seconds":1782864808,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b060840"} 
[2026-07-01 05: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-01 05:45:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 05:45:58] 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-01 05: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-01 05: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-01 05:45:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:45:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:45:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:45:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:45:58] 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-01 05:45:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:45:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:45:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413313792001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:45:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:45:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:45:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413313792001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:45:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:45:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:45:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:45:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:45:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413313792001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:45:58] local.INFO: DEBUG: GPS processor result {"connection_id":118845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:45:58] local.INFO: GPS data processed {"connection_id":118845,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:45:58] local.INFO: Acknowledgment sent {"connection_id":118845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:46:17] local.INFO: TCP Data received {"connection_id":120601,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 05:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120601,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 05:46:17] local.INFO: Processing buffer {"connection_id":120601,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 05:46:17] local.INFO: IMEI packet received {"connection_id":120601,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 05:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":120601,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:46:21] local.INFO: TCP Data received {"connection_id":119502,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:46:21] local.INFO: Processing buffer {"connection_id":119502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:46:21] local.INFO: IMEI packet received {"connection_id":119502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 05:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":119502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:46:26] local.INFO: TCP Data received {"connection_id":119502,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:46:26] local.INFO: Processing buffer {"connection_id":119502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:46:26] local.INFO: IMEI packet received {"connection_id":119502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 05:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":119502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 05:46:27] local.INFO: TCP Data received {"connection_id":119502,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b060840012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b060840012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:46:27] local.INFO: Processing buffer {"connection_id":119502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b060840012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:46:27] local.INFO: Packet analysis {"connection_id":119502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b06"} 
[2026-07-01 05:46:27] local.INFO: Extracted packet for processing {"connection_id":119502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b06"} 
[2026-07-01 05:46:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413313792001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:46:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:46:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:46:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:46:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782864808000,"timestamp_ms":1782864808000,"timestamp_seconds":1782864808,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b060840"} 
[2026-07-01 05:46:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:46:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 05:46:27] 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-01 05:46:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:46:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:46:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:46:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:46:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:46:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:46:27] 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-01 05:46:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:46:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:46:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413313792001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:46:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:46:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:46:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413313792001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:46:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:46:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:46:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:46:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:46:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413313792001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":119502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:46:27] local.INFO: GPS data processed {"connection_id":119502,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:46:27] local.INFO: Acknowledgment sent {"connection_id":119502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:46:59] local.INFO: TCP Data received {"connection_id":119502,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b060840012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b060840012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:46:59] local.INFO: Processing buffer {"connection_id":119502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b060840012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:46:59] local.INFO: Packet analysis {"connection_id":119502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b06"} 
[2026-07-01 05:46:59] local.INFO: Extracted packet for processing {"connection_id":119502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b06"} 
[2026-07-01 05:46:59] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05: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-01 05:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413313792001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:46:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:46:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782864808000,"timestamp_ms":1782864808000,"timestamp_seconds":1782864808,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b060840"} 
[2026-07-01 05: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-01 05:46:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05: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":255,"data_length":795,"current_offset":136} 
[2026-07-01 05:46:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05: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-01 05: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-01 05:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:46:59] 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-01 05:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413313792001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413313792001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:46:59] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:46:59] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:46:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413313792001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":119502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:46:59] local.INFO: GPS data processed {"connection_id":119502,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:46:59] local.INFO: Acknowledgment sent {"connection_id":119502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:47:26] local.INFO: TCP Data received {"connection_id":120603,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:47:26] local.INFO: Processing buffer {"connection_id":120603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:47:26] local.INFO: IMEI packet received {"connection_id":120603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 05:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":120603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:47:31] local.INFO: TCP Data received {"connection_id":120603,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:47:31] local.INFO: Processing buffer {"connection_id":120603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:47:31] local.INFO: IMEI packet received {"connection_id":120603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 05:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":120603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 05:47:33] local.INFO: TCP Data received {"connection_id":120603,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b060840012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b060840012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:47:33] local.INFO: Processing buffer {"connection_id":120603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b060840012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:47:33] local.INFO: Packet analysis {"connection_id":120603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b06"} 
[2026-07-01 05:47:33] local.INFO: Extracted packet for processing {"connection_id":120603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b06"} 
[2026-07-01 05:47:33] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413313792001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:47:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782864808000,"timestamp_ms":1782864808000,"timestamp_seconds":1782864808,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b060840"} 
[2026-07-01 05:47:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:47:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 05:47:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05:47:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:47:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":120603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":120603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":120603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:47:33] 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-01 05:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413313792001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413313792001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:47:33] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:47:33] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413313792001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":120603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:47:33] local.INFO: GPS data processed {"connection_id":120603,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:47:33] local.INFO: Acknowledgment sent {"connection_id":120603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:47:37] local.INFO: TCP Data received {"connection_id":120603,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b060840012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b060840012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:47:37] local.INFO: Processing buffer {"connection_id":120603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b060840012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:47:37] local.INFO: Packet analysis {"connection_id":120603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b06"} 
[2026-07-01 05:47:37] local.INFO: Extracted packet for processing {"connection_id":120603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b06"} 
[2026-07-01 05:47:37] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413313792001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782864808000,"timestamp_ms":1782864808000,"timestamp_seconds":1782864808,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b060840"} 
[2026-07-01 05:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 05:47:37] 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-01 05:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":120603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":120603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":120603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 05:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413313792001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413313792001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:47:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:47:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413313792001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":120603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:47:37] local.INFO: GPS data processed {"connection_id":120603,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:47:37] local.INFO: Acknowledgment sent {"connection_id":120603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:48:21] local.INFO: TCP Data received {"connection_id":119503,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:48:21] local.INFO: Processing buffer {"connection_id":119503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:48:21] local.INFO: IMEI packet received {"connection_id":119503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 05:48:21] local.INFO: IMEI acknowledgment sent {"connection_id":119503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:48:26] local.INFO: TCP Data received {"connection_id":119503,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:48:26] local.INFO: Processing buffer {"connection_id":119503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:48:26] local.INFO: IMEI packet received {"connection_id":119503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 05:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":119503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 05:48:27] local.INFO: TCP Data received {"connection_id":119503,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b060840012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b060840012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:48:27] local.INFO: Processing buffer {"connection_id":119503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b060840012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:48:27] local.INFO: Packet analysis {"connection_id":119503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b06"} 
[2026-07-01 05:48:27] local.INFO: Extracted packet for processing {"connection_id":119503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b06"} 
[2026-07-01 05:48:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:48:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413313792001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:48:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:48:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:48:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:48:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782864808000,"timestamp_ms":1782864808000,"timestamp_seconds":1782864808,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b060840"} 
[2026-07-01 05:48:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:48:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 05:48:27] 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-01 05:48:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:48:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:48:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:48:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:48:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:48:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:48:27] 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-01 05:48:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:48:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:48:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413313792001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:48:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:48:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:48:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413313792001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:48:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:48:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:48:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:48:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:48:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413313792001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:48:27] local.INFO: DEBUG: GPS processor result {"connection_id":119503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:48:27] local.INFO: GPS data processed {"connection_id":119503,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:48:27] local.INFO: Acknowledgment sent {"connection_id":119503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:48:58] local.INFO: TCP Data received {"connection_id":119503,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b060840012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b060840012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:48:58] local.INFO: Processing buffer {"connection_id":119503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b060840012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:48:58] local.INFO: Packet analysis {"connection_id":119503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b06"} 
[2026-07-01 05:48:58] local.INFO: Extracted packet for processing {"connection_id":119503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b06"} 
[2026-07-01 05:48:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05: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-01 05:48:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413313792001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:48:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:48:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:48:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:48:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782864808000,"timestamp_ms":1782864808000,"timestamp_seconds":1782864808,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b060840"} 
[2026-07-01 05: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-01 05:48:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 05:48:58] 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-01 05: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-01 05: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-01 05:48:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:48:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:48:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:48:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:48:58] 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-01 05:48:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:48:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:48:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413313792001,"66":25343,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:48:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:48:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:48:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413313792001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:48:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:48:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:48:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:48:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:48:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413313792001,"power":25343,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:48:58] local.INFO: DEBUG: GPS processor result {"connection_id":119503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:48:58] local.INFO: GPS data processed {"connection_id":119503,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:48:58] local.INFO: Acknowledgment sent {"connection_id":119503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:49:26] local.INFO: TCP Data received {"connection_id":118846,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:49:26] local.INFO: Processing buffer {"connection_id":118846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:49:26] local.INFO: IMEI packet received {"connection_id":118846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 05:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":118846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:49:31] local.INFO: TCP Data received {"connection_id":118846,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:49:31] local.INFO: Processing buffer {"connection_id":118846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:49:31] local.INFO: IMEI packet received {"connection_id":118846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 05:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":118846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 05:49:35] local.INFO: TCP Data received {"connection_id":118846,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b0aa008012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 05:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b0aa008012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 05:49:35] local.INFO: Processing buffer {"connection_id":118846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b0aa008012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 05:49:35] local.INFO: Packet analysis {"connection_id":118846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b0a"} 
[2026-07-01 05:49:35] local.INFO: Extracted packet for processing {"connection_id":118846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b0a"} 
[2026-07-01 05:49:35] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413390848001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:49:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782865109000,"timestamp_ms":1782865109000,"timestamp_seconds":1782865109,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b0aa008"} 
[2026-07-01 05:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:49:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 05:49:35] 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-01 05:49:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":118846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":118846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":118846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:49:35] 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-01 05:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413390848001,"66":25321,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413390848001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:49:35] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:49:35] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:49:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413390848001,"power":25321,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":118846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:49:35] local.INFO: GPS data processed {"connection_id":118846,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:49:35] local.INFO: Acknowledgment sent {"connection_id":118846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:50:06] local.INFO: TCP Data received {"connection_id":118846,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b0aa008012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 05:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b0aa008012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 05:50:06] local.INFO: Processing buffer {"connection_id":118846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b0aa008012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 05:50:06] local.INFO: Packet analysis {"connection_id":118846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b0a"} 
[2026-07-01 05:50:06] local.INFO: Extracted packet for processing {"connection_id":118846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b0a"} 
[2026-07-01 05:50:06] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413390848001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782865109000,"timestamp_ms":1782865109000,"timestamp_seconds":1782865109,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b0aa008"} 
[2026-07-01 05:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 05:50:06] 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-01 05:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":118846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":118846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":118846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:50:06] 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-01 05:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413390848001,"66":25321,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413390848001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:50:06] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:50:06] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413390848001,"power":25321,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":118846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:50:06] local.INFO: GPS data processed {"connection_id":118846,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:50:06] local.INFO: Acknowledgment sent {"connection_id":118846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:50:21] local.INFO: TCP Data received {"connection_id":118848,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:50:21] local.INFO: Processing buffer {"connection_id":118848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:50:21] local.INFO: IMEI packet received {"connection_id":118848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 05:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":118848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:50:26] local.INFO: TCP Data received {"connection_id":118848,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:50:26] local.INFO: Processing buffer {"connection_id":118848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:50:26] local.INFO: IMEI packet received {"connection_id":118848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 05:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":118848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 05:50:27] local.INFO: TCP Data received {"connection_id":118848,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b0aa008012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 05:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b0aa008012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 05:50:27] local.INFO: Processing buffer {"connection_id":118848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b0aa008012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 05:50:27] local.INFO: Packet analysis {"connection_id":118848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b0a"} 
[2026-07-01 05:50:27] local.INFO: Extracted packet for processing {"connection_id":118848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b0a"} 
[2026-07-01 05:50:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413390848001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:50:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:50:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782865109000,"timestamp_ms":1782865109000,"timestamp_seconds":1782865109,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b0aa008"} 
[2026-07-01 05:50:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:50:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 05:50:27] 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-01 05:50:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:50:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:50:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 05:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413390848001,"66":25321,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413390848001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:50:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:50:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:50:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413390848001,"power":25321,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":118848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:50:27] local.INFO: GPS data processed {"connection_id":118848,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:50:27] local.INFO: Acknowledgment sent {"connection_id":118848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:50:58] local.INFO: TCP Data received {"connection_id":118848,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b0aa008012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 05:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b0aa008012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 05:50:58] local.INFO: Processing buffer {"connection_id":118848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b0aa008012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 05:50:58] local.INFO: Packet analysis {"connection_id":118848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b0a"} 
[2026-07-01 05:50:58] local.INFO: Extracted packet for processing {"connection_id":118848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b0a"} 
[2026-07-01 05:50:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05: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-01 05:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413390848001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:50:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:50:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782865109000,"timestamp_ms":1782865109000,"timestamp_seconds":1782865109,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b0aa008"} 
[2026-07-01 05: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-01 05:50:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 05:50:58] 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-01 05: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-01 05: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-01 05:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:50:58] 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-01 05:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413390848001,"66":25321,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413390848001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:50:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:50:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:50:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413390848001,"power":25321,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":118848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:50:58] local.INFO: GPS data processed {"connection_id":118848,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:50:58] local.INFO: Acknowledgment sent {"connection_id":118848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:51:21] local.INFO: TCP Data received {"connection_id":118849,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:51:21] local.INFO: Processing buffer {"connection_id":118849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:51:21] local.INFO: IMEI packet received {"connection_id":118849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 05:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":118849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:51:26] local.INFO: TCP Data received {"connection_id":118849,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:51:26] local.INFO: Processing buffer {"connection_id":118849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:51:26] local.INFO: IMEI packet received {"connection_id":118849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 05:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":118849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 05:51:27] local.INFO: TCP Data received {"connection_id":118849,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b0aa008012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 05:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b0aa008012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 05:51:27] local.INFO: Processing buffer {"connection_id":118849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b0aa008012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 05:51:27] local.INFO: Packet analysis {"connection_id":118849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b0a"} 
[2026-07-01 05:51:27] local.INFO: Extracted packet for processing {"connection_id":118849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b0a"} 
[2026-07-01 05:51:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413390848001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:51:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782865109000,"timestamp_ms":1782865109000,"timestamp_seconds":1782865109,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b0aa008"} 
[2026-07-01 05:51:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:51:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 05:51:27] 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-01 05:51:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:51:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:51:27] 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-01 05:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413390848001,"66":25321,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413390848001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:51:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:51:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413390848001,"power":25321,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":118849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:51:27] local.INFO: GPS data processed {"connection_id":118849,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:51:27] local.INFO: Acknowledgment sent {"connection_id":118849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:51:46] local.INFO: TCP Data received {"connection_id":119504,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 05:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119504,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 05:51:46] local.INFO: Processing buffer {"connection_id":119504,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 05:51:46] local.INFO: IMEI packet received {"connection_id":119504,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 05:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":119504,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:52:08] local.INFO: TCP Data received {"connection_id":118849,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b0aa008012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 05:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b0aa008012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 05:52:08] local.INFO: Processing buffer {"connection_id":118849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b0aa008012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 05:52:08] local.INFO: Packet analysis {"connection_id":118849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b0a"} 
[2026-07-01 05:52:08] local.INFO: Extracted packet for processing {"connection_id":118849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b0a"} 
[2026-07-01 05:52:08] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05: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-01 05:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413390848001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782865109000,"timestamp_ms":1782865109000,"timestamp_seconds":1782865109,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b0aa008"} 
[2026-07-01 05: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-01 05:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 05:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05: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-01 05: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-01 05:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":118849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":118849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":118849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 05:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413390848001,"66":25321,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413390848001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:52:08] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:52:08] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413390848001,"power":25321,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":118849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:52:09] local.INFO: GPS data processed {"connection_id":118849,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:52:09] local.INFO: Acknowledgment sent {"connection_id":118849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:52:16] local.INFO: TCP Data received {"connection_id":120605,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 05:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120605,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 05:52:16] local.INFO: Processing buffer {"connection_id":120605,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 05:52:16] local.INFO: IMEI packet received {"connection_id":120605,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 05:52:16] local.INFO: IMEI acknowledgment sent {"connection_id":120605,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:52:26] local.INFO: TCP Data received {"connection_id":118850,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:52:26] local.INFO: Processing buffer {"connection_id":118850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:52:26] local.INFO: IMEI packet received {"connection_id":118850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 05:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":118850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:52:31] local.INFO: TCP Data received {"connection_id":118850,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:52:31] local.INFO: Processing buffer {"connection_id":118850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:52:31] local.INFO: IMEI packet received {"connection_id":118850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 05:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":118850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 05:52:32] local.INFO: TCP Data received {"connection_id":118850,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b0aa008012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 05:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b0aa008012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 05:52:32] local.INFO: Processing buffer {"connection_id":118850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b0aa008012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 05:52:32] local.INFO: Packet analysis {"connection_id":118850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b0a"} 
[2026-07-01 05:52:32] local.INFO: Extracted packet for processing {"connection_id":118850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b0a"} 
[2026-07-01 05:52:32] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413390848001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:52:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782865109000,"timestamp_ms":1782865109000,"timestamp_seconds":1782865109,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b0aa008"} 
[2026-07-01 05:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:52:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 05:52:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05:52:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":118850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":118850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":118850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 05:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413390848001,"66":25321,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413390848001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:52:32] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:52:32] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413390848001,"power":25321,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":118850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:52:32] local.INFO: GPS data processed {"connection_id":118850,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:52:32] local.INFO: Acknowledgment sent {"connection_id":118850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:52:39] local.INFO: TCP Data received {"connection_id":118850,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b0aa008012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 05:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b0aa008012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 05:52:39] local.INFO: Processing buffer {"connection_id":118850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b0aa008012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 05:52:39] local.INFO: Packet analysis {"connection_id":118850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b0a"} 
[2026-07-01 05:52:39] local.INFO: Extracted packet for processing {"connection_id":118850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b0a"} 
[2026-07-01 05:52:39] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05: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-01 05:52:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413390848001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:52:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:52:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:52:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:52:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782865109000,"timestamp_ms":1782865109000,"timestamp_seconds":1782865109,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b0aa008"} 
[2026-07-01 05: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-01 05:52:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05: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":255,"data_length":795,"current_offset":136} 
[2026-07-01 05:52:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05: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-01 05: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-01 05:52:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:52:39] local.INFO: Teltonika packet parsed successfully {"connection_id":118850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:52:39] local.INFO: Passing IMEI to GPS processor {"connection_id":118850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:52:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":118850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:52: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-01 05:52:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:52:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:52:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413390848001,"66":25321,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:52:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:52:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:52:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413390848001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:52:39] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:52:39] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:52:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:52:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:52:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413390848001,"power":25321,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:52:39] local.INFO: DEBUG: GPS processor result {"connection_id":118850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:52:39] local.INFO: GPS data processed {"connection_id":118850,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:52:39] local.INFO: Acknowledgment sent {"connection_id":118850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:53:21] local.INFO: TCP Data received {"connection_id":119505,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:53:21] local.INFO: Processing buffer {"connection_id":119505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:53:21] local.INFO: IMEI packet received {"connection_id":119505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 05:53:21] local.INFO: IMEI acknowledgment sent {"connection_id":119505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:53:26] local.INFO: TCP Data received {"connection_id":119505,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:53:26] local.INFO: Processing buffer {"connection_id":119505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:53:26] local.INFO: IMEI packet received {"connection_id":119505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 05:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":119505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 05:53:27] local.INFO: TCP Data received {"connection_id":119505,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b0aa008012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 05:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b0aa008012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 05:53:27] local.INFO: Processing buffer {"connection_id":119505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b0aa008012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 05:53:27] local.INFO: Packet analysis {"connection_id":119505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b0a"} 
[2026-07-01 05:53:27] local.INFO: Extracted packet for processing {"connection_id":119505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b0a"} 
[2026-07-01 05:53:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413390848001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:53:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:53:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:53:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:53:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782865109000,"timestamp_ms":1782865109000,"timestamp_seconds":1782865109,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b0aa008"} 
[2026-07-01 05:53:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:53:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 05:53:27] 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-01 05:53:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:53:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:53:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:53:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:53:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:53:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:53:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 05:53:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413390848001,"66":25321,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413390848001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:53:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:53:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:53:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:53:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413390848001,"power":25321,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:53:27] local.INFO: DEBUG: GPS processor result {"connection_id":119505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:53:27] local.INFO: GPS data processed {"connection_id":119505,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:53:27] local.INFO: Acknowledgment sent {"connection_id":119505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:53:58] local.INFO: TCP Data received {"connection_id":119505,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b0aa008012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 05:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b0aa008012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 05:53:58] local.INFO: Processing buffer {"connection_id":119505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b0aa008012d4a4d80068ba5d8001101492e..."} 
[2026-07-01 05:53:58] local.INFO: Packet analysis {"connection_id":119505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b0a"} 
[2026-07-01 05:53:58] local.INFO: Extracted packet for processing {"connection_id":119505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b0a"} 
[2026-07-01 05:53:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05: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-01 05:53:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413390848001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:53:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:53:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:53:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:53:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782865109000,"timestamp_ms":1782865109000,"timestamp_seconds":1782865109,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b0aa008"} 
[2026-07-01 05: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-01 05:53:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 05:53:58] 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-01 05: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-01 05: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-01 05:53:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:53:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:53:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:53:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:53:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 05:53:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:53:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:53:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413390848001,"66":25321,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:53:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:53:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:53:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413390848001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:53:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:53:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:53:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:53:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:53:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413390848001,"power":25321,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:53:58] local.INFO: DEBUG: GPS processor result {"connection_id":119505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:53:58] local.INFO: GPS data processed {"connection_id":119505,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:53:58] local.INFO: Acknowledgment sent {"connection_id":119505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:54:21] local.INFO: TCP Data received {"connection_id":120607,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:54:21] local.INFO: Processing buffer {"connection_id":120607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:54:21] local.INFO: IMEI packet received {"connection_id":120607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 05:54:21] local.INFO: IMEI acknowledgment sent {"connection_id":120607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:54:26] local.INFO: TCP Data received {"connection_id":120607,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:54:26] local.INFO: Processing buffer {"connection_id":120607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:54:26] local.INFO: IMEI packet received {"connection_id":120607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 05:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":120607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 05:54:27] local.INFO: TCP Data received {"connection_id":120607,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b0f37d0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b0f37d0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:54:27] local.INFO: Processing buffer {"connection_id":120607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b0f37d0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:54:27] local.INFO: Packet analysis {"connection_id":120607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b0f"} 
[2026-07-01 05:54:27] local.INFO: Extracted packet for processing {"connection_id":120607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b0f"} 
[2026-07-01 05:54:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:54:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413467904001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:54:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:54:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782865410000,"timestamp_ms":1782865410000,"timestamp_seconds":1782865410,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b0f37d0"} 
[2026-07-01 05:54:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:54:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-01 05:54:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05:54:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:54:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:54:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 05:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413467904001,"66":25321,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413467904001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:54:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:54:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:54:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:54:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413467904001,"power":25321,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:54:27] local.INFO: DEBUG: GPS processor result {"connection_id":120607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:54:27] local.INFO: GPS data processed {"connection_id":120607,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:54:27] local.INFO: Acknowledgment sent {"connection_id":120607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:54:59] local.INFO: TCP Data received {"connection_id":120607,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b0f37d0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b0f37d0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:54:59] local.INFO: Processing buffer {"connection_id":120607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b0f37d0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:54:59] local.INFO: Packet analysis {"connection_id":120607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b0f"} 
[2026-07-01 05:54:59] local.INFO: Extracted packet for processing {"connection_id":120607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b0f"} 
[2026-07-01 05:54:59] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05: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-01 05:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413467904001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:54:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782865410000,"timestamp_ms":1782865410000,"timestamp_seconds":1782865410,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b0f37d0"} 
[2026-07-01 05: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-01 05:54:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-01 05:54:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05: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-01 05: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-01 05:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":120607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":120607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":120607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:54:59] 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-01 05:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413467904001,"66":25321,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413467904001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:54:59] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:54:59] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413467904001,"power":25321,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":120607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:54:59] local.INFO: GPS data processed {"connection_id":120607,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:54:59] local.INFO: Acknowledgment sent {"connection_id":120607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:55:21] local.INFO: TCP Data received {"connection_id":118852,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:55:21] local.INFO: Processing buffer {"connection_id":118852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:55:21] local.INFO: IMEI packet received {"connection_id":118852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 05:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":118852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:55:26] local.INFO: TCP Data received {"connection_id":118852,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:55:26] local.INFO: Processing buffer {"connection_id":118852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:55:26] local.INFO: IMEI packet received {"connection_id":118852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 05:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":118852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 05:55:27] local.INFO: TCP Data received {"connection_id":118852,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b0f37d0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b0f37d0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:55:27] local.INFO: Processing buffer {"connection_id":118852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b0f37d0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:55:27] local.INFO: Packet analysis {"connection_id":118852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b0f"} 
[2026-07-01 05:55:27] local.INFO: Extracted packet for processing {"connection_id":118852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b0f"} 
[2026-07-01 05:55:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413467904001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:55:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:55:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782865410000,"timestamp_ms":1782865410000,"timestamp_seconds":1782865410,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b0f37d0"} 
[2026-07-01 05:55:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:55:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-01 05:55:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05:55:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:55:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:55:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 05:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413467904001,"66":25321,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413467904001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:55:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:55:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:55:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:55:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413467904001,"power":25321,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":118852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:55:27] local.INFO: GPS data processed {"connection_id":118852,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:55:27] local.INFO: Acknowledgment sent {"connection_id":118852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:55:58] local.INFO: TCP Data received {"connection_id":118852,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b0f37d0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b0f37d0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:55:58] local.INFO: Processing buffer {"connection_id":118852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b0f37d0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:55:58] local.INFO: Packet analysis {"connection_id":118852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b0f"} 
[2026-07-01 05:55:58] local.INFO: Extracted packet for processing {"connection_id":118852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b0f"} 
[2026-07-01 05:55:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05: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-01 05:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413467904001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:55:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:55:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782865410000,"timestamp_ms":1782865410000,"timestamp_seconds":1782865410,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b0f37d0"} 
[2026-07-01 05: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-01 05:55:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-01 05:55:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05: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-01 05: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-01 05:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:55:58] 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-01 05:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413467904001,"66":25321,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413467904001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:55:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:55:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:55:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413467904001,"power":25321,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":118852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:55:58] local.INFO: GPS data processed {"connection_id":118852,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:55:58] local.INFO: Acknowledgment sent {"connection_id":118852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:56:26] local.INFO: TCP Data received {"connection_id":118731,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:56:26] local.INFO: Processing buffer {"connection_id":118731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:56:26] local.INFO: IMEI packet received {"connection_id":118731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 05:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":118731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:56:31] local.INFO: TCP Data received {"connection_id":118731,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:56:31] local.INFO: Processing buffer {"connection_id":118731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:56:31] local.INFO: IMEI packet received {"connection_id":118731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 05:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":118731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 05:56:32] local.INFO: TCP Data received {"connection_id":118731,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b0f37d0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b0f37d0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:56:32] local.INFO: Processing buffer {"connection_id":118731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b0f37d0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:56:32] local.INFO: Packet analysis {"connection_id":118731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b0f"} 
[2026-07-01 05:56:32] local.INFO: Extracted packet for processing {"connection_id":118731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b0f"} 
[2026-07-01 05:56:32] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413467904001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:56:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782865410000,"timestamp_ms":1782865410000,"timestamp_seconds":1782865410,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b0f37d0"} 
[2026-07-01 05:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:56:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-01 05:56:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05:56:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":118731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":118731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":118731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 05:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413467904001,"66":25321,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413467904001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:56:32] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:56:32] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413467904001,"power":25321,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":118731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:56:32] local.INFO: GPS data processed {"connection_id":118731,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:56:32] local.INFO: Acknowledgment sent {"connection_id":118731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:56:37] local.INFO: TCP Data received {"connection_id":118731,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b0f37d0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b0f37d0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:56:37] local.INFO: Processing buffer {"connection_id":118731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b0f37d0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:56:37] local.INFO: Packet analysis {"connection_id":118731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b0f"} 
[2026-07-01 05:56:37] local.INFO: Extracted packet for processing {"connection_id":118731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b0f"} 
[2026-07-01 05:56:37] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413467904001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782865410000,"timestamp_ms":1782865410000,"timestamp_seconds":1782865410,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b0f37d0"} 
[2026-07-01 05:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-01 05:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":118731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":118731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":118731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 05:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413467904001,"66":25321,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413467904001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:56:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:56:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413467904001,"power":25321,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":118731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:56:37] local.INFO: GPS data processed {"connection_id":118731,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:56:37] local.INFO: Acknowledgment sent {"connection_id":118731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:57:21] local.INFO: TCP Data received {"connection_id":118854,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:57:21] local.INFO: Processing buffer {"connection_id":118854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:57:21] local.INFO: IMEI packet received {"connection_id":118854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 05:57:21] local.INFO: IMEI acknowledgment sent {"connection_id":118854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:57:26] local.INFO: TCP Data received {"connection_id":118854,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:57:26] local.INFO: Processing buffer {"connection_id":118854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:57:26] local.INFO: IMEI packet received {"connection_id":118854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 05:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":118854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 05:57:27] local.INFO: TCP Data received {"connection_id":118854,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b0f37d0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b0f37d0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:57:27] local.INFO: Processing buffer {"connection_id":118854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b0f37d0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:57:27] local.INFO: Packet analysis {"connection_id":118854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b0f"} 
[2026-07-01 05:57:27] local.INFO: Extracted packet for processing {"connection_id":118854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b0f"} 
[2026-07-01 05:57:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413467904001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:57:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782865410000,"timestamp_ms":1782865410000,"timestamp_seconds":1782865410,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b0f37d0"} 
[2026-07-01 05:57:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:57:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-01 05:57:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05:57:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:57:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:57:27] 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-01 05:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413467904001,"66":25321,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413467904001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:57:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:57:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413467904001,"power":25321,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":118854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:57:27] local.INFO: GPS data processed {"connection_id":118854,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:57:27] local.INFO: Acknowledgment sent {"connection_id":118854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:57:41] local.INFO: TCP Data received {"connection_id":118732,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 05:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118732,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 05:57:41] local.INFO: Processing buffer {"connection_id":118732,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 05:57:41] local.INFO: IMEI packet received {"connection_id":118732,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 05:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":118732,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:57:59] local.INFO: TCP Data received {"connection_id":118854,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b0f37d0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b0f37d0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:57:59] local.INFO: Processing buffer {"connection_id":118854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b0f37d0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:57:59] local.INFO: Packet analysis {"connection_id":118854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b0f"} 
[2026-07-01 05:57:59] local.INFO: Extracted packet for processing {"connection_id":118854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b0f"} 
[2026-07-01 05:57:59] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413467904001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:57:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782865410000,"timestamp_ms":1782865410000,"timestamp_seconds":1782865410,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b0f37d0"} 
[2026-07-01 05:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:57:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-01 05:57:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05:57:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:57:59] 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-01 05:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413467904001,"66":25321,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413467904001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:57:59] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:57:59] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413467904001,"power":25321,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":118854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:57:59] local.INFO: GPS data processed {"connection_id":118854,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:57:59] local.INFO: Acknowledgment sent {"connection_id":118854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:58:21] local.INFO: TCP Data received {"connection_id":118734,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:58:21] local.INFO: Processing buffer {"connection_id":118734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:58:21] local.INFO: IMEI packet received {"connection_id":118734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 05:58:21] local.INFO: IMEI acknowledgment sent {"connection_id":118734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:58:21] local.INFO: TCP Data received {"connection_id":118733,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 05:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118733,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 05:58:21] local.INFO: Processing buffer {"connection_id":118733,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 05:58:21] local.INFO: IMEI packet received {"connection_id":118733,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 05:58:21] local.INFO: IMEI acknowledgment sent {"connection_id":118733,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:58:26] local.INFO: TCP Data received {"connection_id":118734,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:58:26] local.INFO: Processing buffer {"connection_id":118734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:58:26] local.INFO: IMEI packet received {"connection_id":118734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 05:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":118734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 05:58:27] local.INFO: TCP Data received {"connection_id":118734,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b0f37d0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b0f37d0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:58:27] local.INFO: Processing buffer {"connection_id":118734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b0f37d0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:58:27] local.INFO: Packet analysis {"connection_id":118734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b0f"} 
[2026-07-01 05:58:27] local.INFO: Extracted packet for processing {"connection_id":118734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b0f"} 
[2026-07-01 05:58:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:58:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413467904001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:58:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:58:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782865410000,"timestamp_ms":1782865410000,"timestamp_seconds":1782865410,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b0f37d0"} 
[2026-07-01 05:58:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:58:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-01 05:58:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05:58:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:58:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:58:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:58:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:58:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:58:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 05:58:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:58:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:58:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413467904001,"66":25321,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:58:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:58:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:58:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413467904001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:58:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:58:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:58:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:58:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:58:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413467904001,"power":25321,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:58:27] local.INFO: DEBUG: GPS processor result {"connection_id":118734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:58:27] local.INFO: GPS data processed {"connection_id":118734,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:58:27] local.INFO: Acknowledgment sent {"connection_id":118734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:58:59] local.INFO: TCP Data received {"connection_id":118734,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b0f37d0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b0f37d0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:58:59] local.INFO: Processing buffer {"connection_id":118734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b0f37d0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:58:59] local.INFO: Packet analysis {"connection_id":118734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b0f"} 
[2026-07-01 05:58:59] local.INFO: Extracted packet for processing {"connection_id":118734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b0f"} 
[2026-07-01 05:58:59] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413467904001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:58:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782865410000,"timestamp_ms":1782865410000,"timestamp_seconds":1782865410,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b0f37d0"} 
[2026-07-01 05:58:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:58:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-01 05:58:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05:58:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:58:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 05:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413467904001,"66":25321,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413467904001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:58:59] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:58:59] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413467904001,"power":25321,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":118734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:58:59] local.INFO: GPS data processed {"connection_id":118734,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:58:59] local.INFO: Acknowledgment sent {"connection_id":118734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:59:21] local.INFO: TCP Data received {"connection_id":119506,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:59:21] local.INFO: Processing buffer {"connection_id":119506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:59:21] local.INFO: IMEI packet received {"connection_id":119506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 05:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":119506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 05:59:26] local.INFO: TCP Data received {"connection_id":119506,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:59:26] local.INFO: Processing buffer {"connection_id":119506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 05:59:26] local.INFO: IMEI packet received {"connection_id":119506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 05:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":119506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 05:59:27] local.INFO: TCP Data received {"connection_id":119506,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b13cf98012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b13cf98012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:59:27] local.INFO: Processing buffer {"connection_id":119506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b13cf98012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:59:27] local.INFO: Packet analysis {"connection_id":119506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b13"} 
[2026-07-01 05:59:27] local.INFO: Extracted packet for processing {"connection_id":119506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b13"} 
[2026-07-01 05:59:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 05:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413544960001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:59:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782865711000,"timestamp_ms":1782865711000,"timestamp_seconds":1782865711,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b13cf98"} 
[2026-07-01 05:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 05:59:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-01 05:59:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05:59:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 05:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 05:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:59:27] 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-01 05:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413544960001,"66":25321,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413544960001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:59:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:59:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413544960001,"power":25321,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":119506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:59:27] local.INFO: GPS data processed {"connection_id":119506,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:59:27] local.INFO: Acknowledgment sent {"connection_id":119506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 05:59:58] local.INFO: TCP Data received {"connection_id":119506,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b13cf98012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b13cf98012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:59:58] local.INFO: Processing buffer {"connection_id":119506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b13cf98012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 05:59:58] local.INFO: Packet analysis {"connection_id":119506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b13"} 
[2026-07-01 05:59:58] local.INFO: Extracted packet for processing {"connection_id":119506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b13"} 
[2026-07-01 05:59:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 05: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-01 05:59:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413544960001,"note":"Value kept but may cause issues"} 
[2026-07-01 05:59:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 05:59:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 05:59:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 05:59:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782865711000,"timestamp_ms":1782865711000,"timestamp_seconds":1782865711,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b13cf98"} 
[2026-07-01 05: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-01 05:59:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-01 05:59:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 05: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-01 05: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-01 05:59:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 05:59:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 05:59:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:59:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 05:59:58] 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-01 05:59:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 05:59:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 05:59:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413544960001,"66":25321,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 05:59:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 05:59:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 05:59:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413544960001,"description":"Unknown IO ID 0"} 
[2026-07-01 05:59:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 05:59:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 05:59:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 05:59:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 05:59:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413544960001,"power":25321,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 05:59:58] local.INFO: DEBUG: GPS processor result {"connection_id":119506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 05:59:58] local.INFO: GPS data processed {"connection_id":119506,"processed":1,"errors":0,"total":1} 
[2026-07-01 05:59:58] local.INFO: Acknowledgment sent {"connection_id":119506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:00:26] local.INFO: TCP Data received {"connection_id":120609,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:00:26] local.INFO: Processing buffer {"connection_id":120609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:00:26] local.INFO: IMEI packet received {"connection_id":120609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 06:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":120609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:00:31] local.INFO: TCP Data received {"connection_id":120609,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:00:31] local.INFO: Processing buffer {"connection_id":120609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:00:31] local.INFO: IMEI packet received {"connection_id":120609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":120609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:00:32] local.INFO: TCP Data received {"connection_id":120609,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b13cf98012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 06:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b13cf98012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 06:00:32] local.INFO: Processing buffer {"connection_id":120609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b13cf98012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 06:00:32] local.INFO: Packet analysis {"connection_id":120609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b13"} 
[2026-07-01 06:00:32] local.INFO: Extracted packet for processing {"connection_id":120609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b13"} 
[2026-07-01 06:00:32] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413544960001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782865711000,"timestamp_ms":1782865711000,"timestamp_seconds":1782865711,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b13cf98"} 
[2026-07-01 06:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:00:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-01 06:00:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:00:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":120609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":120609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":120609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 06:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413544960001,"66":25321,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413544960001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:00:32] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:00:32] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413544960001,"power":25321,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":120609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:00:32] local.INFO: GPS data processed {"connection_id":120609,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:00:32] local.INFO: Acknowledgment sent {"connection_id":120609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:00:37] local.INFO: TCP Data received {"connection_id":120609,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b13cf98012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 06:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b13cf98012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 06:00:37] local.INFO: Processing buffer {"connection_id":120609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b13cf98012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 06:00:37] local.INFO: Packet analysis {"connection_id":120609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b13"} 
[2026-07-01 06:00:37] local.INFO: Extracted packet for processing {"connection_id":120609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b13"} 
[2026-07-01 06:00:37] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413544960001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782865711000,"timestamp_ms":1782865711000,"timestamp_seconds":1782865711,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b13cf98"} 
[2026-07-01 06:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-01 06:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":120609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":120609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":120609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 06:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413544960001,"66":25321,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413544960001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:00:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:00:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413544960001,"power":25321,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":120609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:00:37] local.INFO: GPS data processed {"connection_id":120609,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:00:37] local.INFO: Acknowledgment sent {"connection_id":120609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:01:21] local.INFO: TCP Data received {"connection_id":118735,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:01:21] local.INFO: Processing buffer {"connection_id":118735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:01:21] local.INFO: IMEI packet received {"connection_id":118735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 06:01:21] local.INFO: IMEI acknowledgment sent {"connection_id":118735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:01:26] local.INFO: TCP Data received {"connection_id":118735,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:01:26] local.INFO: Processing buffer {"connection_id":118735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:01:26] local.INFO: IMEI packet received {"connection_id":118735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":118735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:01:27] local.INFO: TCP Data received {"connection_id":118735,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b13cf98012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 06:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b13cf98012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 06:01:27] local.INFO: Processing buffer {"connection_id":118735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b13cf98012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 06:01:27] local.INFO: Packet analysis {"connection_id":118735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b13"} 
[2026-07-01 06:01:27] local.INFO: Extracted packet for processing {"connection_id":118735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b13"} 
[2026-07-01 06:01:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413544960001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:01:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:01:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782865711000,"timestamp_ms":1782865711000,"timestamp_seconds":1782865711,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b13cf98"} 
[2026-07-01 06:01:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:01:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-01 06:01:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:01:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:01:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:01:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 06:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:01:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413544960001,"66":25321,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:01:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:01:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:01:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413544960001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:01:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:01:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:01:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:01:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:01:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413544960001,"power":25321,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:01:27] local.INFO: DEBUG: GPS processor result {"connection_id":118735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:01:27] local.INFO: GPS data processed {"connection_id":118735,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:01:27] local.INFO: Acknowledgment sent {"connection_id":118735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:01:58] local.INFO: TCP Data received {"connection_id":118735,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b13cf98012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 06:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b13cf98012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 06:01:58] local.INFO: Processing buffer {"connection_id":118735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b13cf98012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 06:01:58] local.INFO: Packet analysis {"connection_id":118735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b13"} 
[2026-07-01 06:01:58] local.INFO: Extracted packet for processing {"connection_id":118735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b13"} 
[2026-07-01 06:01:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06: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-01 06:01:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413544960001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:01:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:01:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:01:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:01:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782865711000,"timestamp_ms":1782865711000,"timestamp_seconds":1782865711,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b13cf98"} 
[2026-07-01 06: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-01 06:01:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-01 06:01:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06: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-01 06: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-01 06:01:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:01:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:01:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:01:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:01:58] 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-01 06:01:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:01:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:01:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413544960001,"66":25321,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:01:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:01:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:01:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413544960001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:01:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:01:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:01:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:01:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:01:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413544960001,"power":25321,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:01:58] local.INFO: DEBUG: GPS processor result {"connection_id":118735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:01:58] local.INFO: GPS data processed {"connection_id":118735,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:01:58] local.INFO: Acknowledgment sent {"connection_id":118735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:02:21] local.INFO: TCP Data received {"connection_id":118736,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:02:21] local.INFO: Processing buffer {"connection_id":118736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:02:21] local.INFO: IMEI packet received {"connection_id":118736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 06:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":118736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:02:26] local.INFO: TCP Data received {"connection_id":118736,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:02:26] local.INFO: Processing buffer {"connection_id":118736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:02:26] local.INFO: IMEI packet received {"connection_id":118736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":118736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:02:27] local.INFO: TCP Data received {"connection_id":118736,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b13cf98012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 06:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b13cf98012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 06:02:27] local.INFO: Processing buffer {"connection_id":118736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b13cf98012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 06:02:27] local.INFO: Packet analysis {"connection_id":118736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b13"} 
[2026-07-01 06:02:27] local.INFO: Extracted packet for processing {"connection_id":118736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b13"} 
[2026-07-01 06:02:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413544960001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:02:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782865711000,"timestamp_ms":1782865711000,"timestamp_seconds":1782865711,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b13cf98"} 
[2026-07-01 06:02:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:02:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-01 06:02:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:02:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:02:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:02:27] 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-01 06:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413544960001,"66":25321,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413544960001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:02:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:02:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413544960001,"power":25321,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:02:27] local.INFO: DEBUG: GPS processor result {"connection_id":118736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:02:27] local.INFO: GPS data processed {"connection_id":118736,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:02:27] local.INFO: Acknowledgment sent {"connection_id":118736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:02:58] local.INFO: TCP Data received {"connection_id":118736,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b13cf98012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 06:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b13cf98012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 06:02:58] local.INFO: Processing buffer {"connection_id":118736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b13cf98012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 06:02:58] local.INFO: Packet analysis {"connection_id":118736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b13"} 
[2026-07-01 06:02:58] local.INFO: Extracted packet for processing {"connection_id":118736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b13"} 
[2026-07-01 06:02:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06: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-01 06:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413544960001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:02:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:02:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782865711000,"timestamp_ms":1782865711000,"timestamp_seconds":1782865711,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b13cf98"} 
[2026-07-01 06: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-01 06:02:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-01 06:02:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06: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-01 06: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-01 06:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:02:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 06:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413544960001,"66":25321,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413544960001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:02:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:02:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:02:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413544960001,"power":25321,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":118736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:02:58] local.INFO: GPS data processed {"connection_id":118736,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:02:58] local.INFO: Acknowledgment sent {"connection_id":118736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:03:21] local.INFO: TCP Data received {"connection_id":120610,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:03:21] local.INFO: Processing buffer {"connection_id":120610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:03:21] local.INFO: IMEI packet received {"connection_id":120610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 06:03:21] local.INFO: IMEI acknowledgment sent {"connection_id":120610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:03:26] local.INFO: TCP Data received {"connection_id":120610,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:03:26] local.INFO: Processing buffer {"connection_id":120610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:03:26] local.INFO: IMEI packet received {"connection_id":120610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":120610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:03:27] local.INFO: TCP Data received {"connection_id":120610,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b13cf98012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 06:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b13cf98012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 06:03:27] local.INFO: Processing buffer {"connection_id":120610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b13cf98012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 06:03:27] local.INFO: Packet analysis {"connection_id":120610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b13"} 
[2026-07-01 06:03:27] local.INFO: Extracted packet for processing {"connection_id":120610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b13"} 
[2026-07-01 06:03:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413544960001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:03:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782865711000,"timestamp_ms":1782865711000,"timestamp_seconds":1782865711,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b13cf98"} 
[2026-07-01 06:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:03:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-01 06:03:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:03:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:03:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 06:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413544960001,"66":25321,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413544960001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:03:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:03:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413544960001,"power":25321,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":120610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:03:27] local.INFO: GPS data processed {"connection_id":120610,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:03:27] local.INFO: Acknowledgment sent {"connection_id":120610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:03:36] local.INFO: TCP Data received {"connection_id":118858,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 06:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118858,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 06:03:36] local.INFO: Processing buffer {"connection_id":118858,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 06:03:36] local.INFO: IMEI packet received {"connection_id":118858,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 06:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":118858,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:03:58] local.INFO: TCP Data received {"connection_id":120610,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b13cf98012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 06:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b13cf98012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 06:03:58] local.INFO: Processing buffer {"connection_id":120610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b13cf98012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 06:03:58] local.INFO: Packet analysis {"connection_id":120610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b13"} 
[2026-07-01 06:03:58] local.INFO: Extracted packet for processing {"connection_id":120610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b13"} 
[2026-07-01 06:03:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413544960001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:03:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:03:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782865711000,"timestamp_ms":1782865711000,"timestamp_seconds":1782865711,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b13cf98"} 
[2026-07-01 06:03:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:03:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-01 06:03:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:03:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:03:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:03:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 06:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413544960001,"66":25321,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413544960001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:03:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:03:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:03:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413544960001,"power":25321,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":120610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:03:58] local.INFO: GPS data processed {"connection_id":120610,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:03:58] local.INFO: Acknowledgment sent {"connection_id":120610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:04:17] local.INFO: TCP Data received {"connection_id":119507,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 06:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119507,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 06:04:17] local.INFO: Processing buffer {"connection_id":119507,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 06:04:17] local.INFO: IMEI packet received {"connection_id":119507,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 06:04:17] local.INFO: IMEI acknowledgment sent {"connection_id":119507,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:04:21] local.INFO: TCP Data received {"connection_id":118859,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:04:21] local.INFO: Processing buffer {"connection_id":118859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:04:21] local.INFO: IMEI packet received {"connection_id":118859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 06:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":118859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:04:26] local.INFO: TCP Data received {"connection_id":118859,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:04:26] local.INFO: Processing buffer {"connection_id":118859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:04:26] local.INFO: IMEI packet received {"connection_id":118859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":118859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:04:30] local.INFO: TCP Data received {"connection_id":118859,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b186760012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 06:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b186760012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 06:04:30] local.INFO: Processing buffer {"connection_id":118859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b186760012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 06:04:30] local.INFO: Packet analysis {"connection_id":118859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b18"} 
[2026-07-01 06:04:30] local.INFO: Extracted packet for processing {"connection_id":118859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b18"} 
[2026-07-01 06:04:30] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06: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-01 06:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413622016001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:04:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:04:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782866012000,"timestamp_ms":1782866012000,"timestamp_seconds":1782866012,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b186760"} 
[2026-07-01 06: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-01 06:04:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-01 06:04:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06: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-01 06: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-01 06:04:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":118859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":118859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":118859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:04:30] 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-01 06:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413622016001,"66":25299,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413622016001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:04:30] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:04:30] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:04:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413622016001,"power":25299,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:04:30] local.INFO: DEBUG: GPS processor result {"connection_id":118859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:04:30] local.INFO: GPS data processed {"connection_id":118859,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:04:30] local.INFO: Acknowledgment sent {"connection_id":118859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:05:10] local.INFO: TCP Data received {"connection_id":118859,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b186760012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 06:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b186760012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 06:05:10] local.INFO: Processing buffer {"connection_id":118859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b186760012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 06:05:10] local.INFO: Packet analysis {"connection_id":118859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b18"} 
[2026-07-01 06:05:10] local.INFO: Extracted packet for processing {"connection_id":118859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b18"} 
[2026-07-01 06:05:10] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413622016001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:05:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782866012000,"timestamp_ms":1782866012000,"timestamp_seconds":1782866012,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b186760"} 
[2026-07-01 06:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:05:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-01 06:05:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:05:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":118859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":118859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":118859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:05: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-01 06:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413622016001,"66":25299,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413622016001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:05:10] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:05:10] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413622016001,"power":25299,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":118859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:05:10] local.INFO: GPS data processed {"connection_id":118859,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:05:10] local.INFO: Acknowledgment sent {"connection_id":118859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:05:21] local.INFO: TCP Data received {"connection_id":119508,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:05:21] local.INFO: Processing buffer {"connection_id":119508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:05:21] local.INFO: IMEI packet received {"connection_id":119508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 06:05:21] local.INFO: IMEI acknowledgment sent {"connection_id":119508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:05:26] local.INFO: TCP Data received {"connection_id":119508,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:05:26] local.INFO: Processing buffer {"connection_id":119508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:05:26] local.INFO: IMEI packet received {"connection_id":119508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":119508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:05:27] local.INFO: TCP Data received {"connection_id":119508,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b186760012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 06:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b186760012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 06:05:27] local.INFO: Processing buffer {"connection_id":119508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b186760012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 06:05:27] local.INFO: Packet analysis {"connection_id":119508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b18"} 
[2026-07-01 06:05:27] local.INFO: Extracted packet for processing {"connection_id":119508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b18"} 
[2026-07-01 06:05:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413622016001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:05:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:05:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782866012000,"timestamp_ms":1782866012000,"timestamp_seconds":1782866012,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b186760"} 
[2026-07-01 06:05:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:05:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-01 06:05:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:05:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:05:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:05:27] 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-01 06:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:05:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413622016001,"66":25299,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:05:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413622016001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:05:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:05:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:05:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:05:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413622016001,"power":25299,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:05:27] local.INFO: DEBUG: GPS processor result {"connection_id":119508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:05:27] local.INFO: GPS data processed {"connection_id":119508,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:05:27] local.INFO: Acknowledgment sent {"connection_id":119508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:06:01] local.INFO: TCP Data received {"connection_id":119508,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b186760012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 06:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b186760012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 06:06:01] local.INFO: Processing buffer {"connection_id":119508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b186760012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 06:06:01] local.INFO: Packet analysis {"connection_id":119508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b18"} 
[2026-07-01 06:06:01] local.INFO: Extracted packet for processing {"connection_id":119508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b18"} 
[2026-07-01 06:06:01] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413622016001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:06:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:06:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:06:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:06:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782866012000,"timestamp_ms":1782866012000,"timestamp_seconds":1782866012,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b186760"} 
[2026-07-01 06:06:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:06:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-01 06:06:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:06:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:06:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:06:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:06:01] local.INFO: Teltonika packet parsed successfully {"connection_id":119508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:06:01] local.INFO: Passing IMEI to GPS processor {"connection_id":119508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:06:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":119508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:06:01] 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-01 06:06:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:06:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:06:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413622016001,"66":25299,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:06:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:06:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:06:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413622016001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:06:01] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:06:01] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:06:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:06:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:06:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413622016001,"power":25299,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":119508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:06:01] local.INFO: GPS data processed {"connection_id":119508,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:06:01] local.INFO: Acknowledgment sent {"connection_id":119508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:06:21] local.INFO: TCP Data received {"connection_id":118861,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:06:21] local.INFO: Processing buffer {"connection_id":118861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:06:21] local.INFO: IMEI packet received {"connection_id":118861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 06:06:21] local.INFO: IMEI acknowledgment sent {"connection_id":118861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:06:26] local.INFO: TCP Data received {"connection_id":118861,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:06:26] local.INFO: Processing buffer {"connection_id":118861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:06:26] local.INFO: IMEI packet received {"connection_id":118861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":118861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:06:27] local.INFO: TCP Data received {"connection_id":118861,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b186760012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 06:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b186760012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 06:06:27] local.INFO: Processing buffer {"connection_id":118861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b186760012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 06:06:27] local.INFO: Packet analysis {"connection_id":118861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b18"} 
[2026-07-01 06:06:27] local.INFO: Extracted packet for processing {"connection_id":118861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b18"} 
[2026-07-01 06:06:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06:06:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:06:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413622016001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:06:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:06:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:06:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:06:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782866012000,"timestamp_ms":1782866012000,"timestamp_seconds":1782866012,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b186760"} 
[2026-07-01 06:06:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:06:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06:06:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-01 06:06:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:06:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:06:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:06:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:06:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:06:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:06:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:06:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 06:06:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:06:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:06:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413622016001,"66":25299,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:06:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:06:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:06:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413622016001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:06:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:06:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:06:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:06:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:06:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413622016001,"power":25299,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:06:27] local.INFO: DEBUG: GPS processor result {"connection_id":118861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:06:27] local.INFO: GPS data processed {"connection_id":118861,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:06:27] local.INFO: Acknowledgment sent {"connection_id":118861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:06:58] local.INFO: TCP Data received {"connection_id":118861,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b186760012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 06:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b186760012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 06:06:58] local.INFO: Processing buffer {"connection_id":118861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b186760012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 06:06:58] local.INFO: Packet analysis {"connection_id":118861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b18"} 
[2026-07-01 06:06:58] local.INFO: Extracted packet for processing {"connection_id":118861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b18"} 
[2026-07-01 06:06:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06: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-01 06:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413622016001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:06:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:06:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782866012000,"timestamp_ms":1782866012000,"timestamp_seconds":1782866012,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b186760"} 
[2026-07-01 06: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-01 06:06:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-01 06:06:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06: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-01 06: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-01 06:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:06:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 06:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413622016001,"66":25299,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413622016001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:06:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:06:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:06:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413622016001,"power":25299,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:06:59] local.INFO: DEBUG: GPS processor result {"connection_id":118861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:06:59] local.INFO: GPS data processed {"connection_id":118861,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:06:59] local.INFO: Acknowledgment sent {"connection_id":118861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:07:21] local.INFO: TCP Data received {"connection_id":119510,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:07:21] local.INFO: Processing buffer {"connection_id":119510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:07:21] local.INFO: IMEI packet received {"connection_id":119510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 06:07:21] local.INFO: IMEI acknowledgment sent {"connection_id":119510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:07:26] local.INFO: TCP Data received {"connection_id":119510,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:07:26] local.INFO: Processing buffer {"connection_id":119510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:07:26] local.INFO: IMEI packet received {"connection_id":119510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":119510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:07:27] local.INFO: TCP Data received {"connection_id":119510,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b186760012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 06:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b186760012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 06:07:27] local.INFO: Processing buffer {"connection_id":119510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b186760012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 06:07:27] local.INFO: Packet analysis {"connection_id":119510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b18"} 
[2026-07-01 06:07:27] local.INFO: Extracted packet for processing {"connection_id":119510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b18"} 
[2026-07-01 06:07:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:07:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413622016001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:07:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:07:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:07:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:07:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782866012000,"timestamp_ms":1782866012000,"timestamp_seconds":1782866012,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b186760"} 
[2026-07-01 06:07:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:07:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-01 06:07:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:07:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:07:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:07:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:07:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:07:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:07:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:07:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 06:07:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:07:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:07:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413622016001,"66":25299,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:07:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:07:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:07:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413622016001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:07:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:07:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:07:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:07:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:07:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413622016001,"power":25299,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:07:27] local.INFO: DEBUG: GPS processor result {"connection_id":119510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:07:27] local.INFO: GPS data processed {"connection_id":119510,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:07:27] local.INFO: Acknowledgment sent {"connection_id":119510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:07:58] local.INFO: TCP Data received {"connection_id":119510,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b186760012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 06:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b186760012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 06:07:58] local.INFO: Processing buffer {"connection_id":119510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b186760012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 06:07:58] local.INFO: Packet analysis {"connection_id":119510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b18"} 
[2026-07-01 06:07:58] local.INFO: Extracted packet for processing {"connection_id":119510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b18"} 
[2026-07-01 06:07:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06: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-01 06:07:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413622016001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:07:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:07:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:07:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:07:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782866012000,"timestamp_ms":1782866012000,"timestamp_seconds":1782866012,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b186760"} 
[2026-07-01 06: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-01 06:07:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-01 06:07:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06: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-01 06: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-01 06:07:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:07:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:07:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:07:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:07:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 06:07:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:07:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:07:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413622016001,"66":25299,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:07:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:07:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:07:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413622016001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:07:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:07:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:07:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:07:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:07:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413622016001,"power":25299,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:07:58] local.INFO: DEBUG: GPS processor result {"connection_id":119510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:07:58] local.INFO: GPS data processed {"connection_id":119510,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:07:58] local.INFO: Acknowledgment sent {"connection_id":119510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:08:21] local.INFO: TCP Data received {"connection_id":120611,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:08:21] local.INFO: Processing buffer {"connection_id":120611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:08:21] local.INFO: IMEI packet received {"connection_id":120611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 06:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":120611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:08:26] local.INFO: TCP Data received {"connection_id":120611,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:08:26] local.INFO: Processing buffer {"connection_id":120611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:08:26] local.INFO: IMEI packet received {"connection_id":120611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":120611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:08:27] local.INFO: TCP Data received {"connection_id":120611,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b186760012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 06:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b186760012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 06:08:27] local.INFO: Processing buffer {"connection_id":120611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b186760012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 06:08:27] local.INFO: Packet analysis {"connection_id":120611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b18"} 
[2026-07-01 06:08:27] local.INFO: Extracted packet for processing {"connection_id":120611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b18"} 
[2026-07-01 06:08:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:08:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413622016001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:08:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:08:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:08:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:08:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782866012000,"timestamp_ms":1782866012000,"timestamp_seconds":1782866012,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b186760"} 
[2026-07-01 06:08:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:08:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-01 06:08:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:08:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:08:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:08:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:08:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:08:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:08:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:08:27] 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-01 06:08:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:08:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:08:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413622016001,"66":25299,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:08:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:08:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:08:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413622016001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:08:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:08:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:08:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:08:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:08:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413622016001,"power":25299,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:08:27] local.INFO: DEBUG: GPS processor result {"connection_id":120611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:08:27] local.INFO: GPS data processed {"connection_id":120611,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:08:27] local.INFO: Acknowledgment sent {"connection_id":120611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:08:58] local.INFO: TCP Data received {"connection_id":120611,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b186760012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 06:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b186760012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 06:08:58] local.INFO: Processing buffer {"connection_id":120611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b186760012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 06:08:58] local.INFO: Packet analysis {"connection_id":120611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b18"} 
[2026-07-01 06:08:58] local.INFO: Extracted packet for processing {"connection_id":120611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b18"} 
[2026-07-01 06:08:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413622016001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:08:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:08:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782866012000,"timestamp_ms":1782866012000,"timestamp_seconds":1782866012,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b186760"} 
[2026-07-01 06:08:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:08:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-01 06:08:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:08:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:08:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:08:58] 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-01 06:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413622016001,"66":25299,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413622016001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:08:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:08:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:08:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413622016001,"power":25299,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":120611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:08:58] local.INFO: GPS data processed {"connection_id":120611,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:08:58] local.INFO: Acknowledgment sent {"connection_id":120611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:09:26] local.INFO: TCP Data received {"connection_id":118738,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:09:26] local.INFO: Processing buffer {"connection_id":118738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:09:26] local.INFO: IMEI packet received {"connection_id":118738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 06:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":118738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:09:31] local.INFO: TCP Data received {"connection_id":118738,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:09:31] local.INFO: Processing buffer {"connection_id":118738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:09:31] local.INFO: IMEI packet received {"connection_id":118738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":118738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:09:32] local.INFO: TCP Data received {"connection_id":118738,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b1cff28012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b1cff28012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:09:32] local.INFO: Processing buffer {"connection_id":118738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b1cff28012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:09:32] local.INFO: Packet analysis {"connection_id":118738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b1c"} 
[2026-07-01 06:09:32] local.INFO: Extracted packet for processing {"connection_id":118738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b1c"} 
[2026-07-01 06:09:32] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06: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-01 06:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413699072001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:09:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782866313000,"timestamp_ms":1782866313000,"timestamp_seconds":1782866313,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b1cff28"} 
[2026-07-01 06: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-01 06:09:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-01 06:09:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06: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-01 06: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-01 06:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":118738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":118738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":118738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:09:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 06:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413699072001,"66":25321,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413699072001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:09:32] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:09:32] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413699072001,"power":25321,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":118738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:09:32] local.INFO: GPS data processed {"connection_id":118738,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:09:32] local.INFO: Acknowledgment sent {"connection_id":118738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:09:36] local.INFO: TCP Data received {"connection_id":119511,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 06:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119511,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 06:09:36] local.INFO: Processing buffer {"connection_id":119511,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 06:09:36] local.INFO: IMEI packet received {"connection_id":119511,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 06:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":119511,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:09:37] local.INFO: TCP Data received {"connection_id":118738,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b1cff28012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b1cff28012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:09:37] local.INFO: Processing buffer {"connection_id":118738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b1cff28012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:09:37] local.INFO: Packet analysis {"connection_id":118738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b1c"} 
[2026-07-01 06:09:37] local.INFO: Extracted packet for processing {"connection_id":118738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b1c"} 
[2026-07-01 06:09:37] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413699072001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782866313000,"timestamp_ms":1782866313000,"timestamp_seconds":1782866313,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b1cff28"} 
[2026-07-01 06:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-01 06:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":118738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":118738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":118738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 06:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413699072001,"66":25321,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413699072001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:09:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:09:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413699072001,"power":25321,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":118738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:09:37] local.INFO: GPS data processed {"connection_id":118738,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:09:37] local.INFO: Acknowledgment sent {"connection_id":118738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:10:16] local.INFO: TCP Data received {"connection_id":118863,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 06:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118863,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 06:10:16] local.INFO: Processing buffer {"connection_id":118863,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 06:10:16] local.INFO: IMEI packet received {"connection_id":118863,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 06:10:16] local.INFO: IMEI acknowledgment sent {"connection_id":118863,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:10:21] local.INFO: TCP Data received {"connection_id":120612,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:10:21] local.INFO: Processing buffer {"connection_id":120612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:10:21] local.INFO: IMEI packet received {"connection_id":120612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 06:10:21] local.INFO: IMEI acknowledgment sent {"connection_id":120612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:10:26] local.INFO: TCP Data received {"connection_id":120612,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:10:26] local.INFO: Processing buffer {"connection_id":120612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:10:26] local.INFO: IMEI packet received {"connection_id":120612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":120612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:10:27] local.INFO: TCP Data received {"connection_id":120612,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b1cff28012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b1cff28012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:10:27] local.INFO: Processing buffer {"connection_id":120612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b1cff28012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:10:27] local.INFO: Packet analysis {"connection_id":120612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b1c"} 
[2026-07-01 06:10:27] local.INFO: Extracted packet for processing {"connection_id":120612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b1c"} 
[2026-07-01 06:10:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:10:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413699072001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:10:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:10:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:10:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:10:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782866313000,"timestamp_ms":1782866313000,"timestamp_seconds":1782866313,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b1cff28"} 
[2026-07-01 06:10:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:10:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-01 06:10:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:10:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:10:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:10:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:10:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:10:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:10:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:10:27] local.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-01 06:10:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:10:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:10:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413699072001,"66":25321,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:10:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:10:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:10:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413699072001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:10:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:10:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:10:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:10:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:10:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413699072001,"power":25321,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:10:27] local.INFO: DEBUG: GPS processor result {"connection_id":120612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:10:27] local.INFO: GPS data processed {"connection_id":120612,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:10:27] local.INFO: Acknowledgment sent {"connection_id":120612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:10:58] local.INFO: TCP Data received {"connection_id":120612,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b1cff28012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b1cff28012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:10:58] local.INFO: Processing buffer {"connection_id":120612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b1cff28012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:10:58] local.INFO: Packet analysis {"connection_id":120612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b1c"} 
[2026-07-01 06:10:58] local.INFO: Extracted packet for processing {"connection_id":120612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b1c"} 
[2026-07-01 06:10:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06: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-01 06:10:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413699072001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:10:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:10:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:10:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:10:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782866313000,"timestamp_ms":1782866313000,"timestamp_seconds":1782866313,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b1cff28"} 
[2026-07-01 06: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-01 06:10:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-01 06:10: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-01 06: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-01 06: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-01 06:10:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:10:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:10:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:10:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:10: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-01 06:10:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:10:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:10:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413699072001,"66":25321,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:10:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:10:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:10:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413699072001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:10:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:10:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:10:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:10:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:10:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413699072001,"power":25321,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:10:58] local.INFO: DEBUG: GPS processor result {"connection_id":120612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:10:58] local.INFO: GPS data processed {"connection_id":120612,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:10:58] local.INFO: Acknowledgment sent {"connection_id":120612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:11:21] local.INFO: TCP Data received {"connection_id":118739,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:11:21] local.INFO: Processing buffer {"connection_id":118739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:11:21] local.INFO: IMEI packet received {"connection_id":118739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 06:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":118739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:11:26] local.INFO: TCP Data received {"connection_id":118739,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:11:26] local.INFO: Processing buffer {"connection_id":118739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:11:26] local.INFO: IMEI packet received {"connection_id":118739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":118739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:11:27] local.INFO: TCP Data received {"connection_id":118739,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b1cff28012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b1cff28012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:11:27] local.INFO: Processing buffer {"connection_id":118739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b1cff28012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:11:27] local.INFO: Packet analysis {"connection_id":118739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b1c"} 
[2026-07-01 06:11:27] local.INFO: Extracted packet for processing {"connection_id":118739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b1c"} 
[2026-07-01 06:11:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413699072001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:11:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:11:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782866313000,"timestamp_ms":1782866313000,"timestamp_seconds":1782866313,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b1cff28"} 
[2026-07-01 06:11:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:11:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-01 06:11:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:11:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:11:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:11:27] local.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-01 06:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413699072001,"66":25321,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413699072001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:11:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:11:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:11:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413699072001,"power":25321,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:11:27] local.INFO: DEBUG: GPS processor result {"connection_id":118739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:11:27] local.INFO: GPS data processed {"connection_id":118739,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:11:27] local.INFO: Acknowledgment sent {"connection_id":118739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:11:58] local.INFO: TCP Data received {"connection_id":118739,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b1cff28012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b1cff28012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:11:58] local.INFO: Processing buffer {"connection_id":118739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b1cff28012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:11:58] local.INFO: Packet analysis {"connection_id":118739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b1c"} 
[2026-07-01 06:11:58] local.INFO: Extracted packet for processing {"connection_id":118739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b1c"} 
[2026-07-01 06:11:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06: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-01 06:11:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413699072001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:11:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:11:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:11:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:11:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782866313000,"timestamp_ms":1782866313000,"timestamp_seconds":1782866313,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b1cff28"} 
[2026-07-01 06: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-01 06:11:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-01 06:11: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-01 06: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-01 06: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-01 06:11:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:11:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:11:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:11:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:11: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-01 06:11:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:11:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:11:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413699072001,"66":25321,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:11:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:11:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:11:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413699072001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:11:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:11:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:11:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:11:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:11:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413699072001,"power":25321,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:11:58] local.INFO: DEBUG: GPS processor result {"connection_id":118739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:11:58] local.INFO: GPS data processed {"connection_id":118739,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:11:58] local.INFO: Acknowledgment sent {"connection_id":118739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:12:21] local.INFO: TCP Data received {"connection_id":119513,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:12:21] local.INFO: Processing buffer {"connection_id":119513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:12:21] local.INFO: IMEI packet received {"connection_id":119513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 06:12:21] local.INFO: IMEI acknowledgment sent {"connection_id":119513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:12:26] local.INFO: TCP Data received {"connection_id":119513,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:12:26] local.INFO: Processing buffer {"connection_id":119513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:12:26] local.INFO: IMEI packet received {"connection_id":119513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":119513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:12:45] local.INFO: TCP Data received {"connection_id":119513,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b1cff28012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b1cff28012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:12:45] local.INFO: Processing buffer {"connection_id":119513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b1cff28012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:12:45] local.INFO: Packet analysis {"connection_id":119513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b1c"} 
[2026-07-01 06:12:45] local.INFO: Extracted packet for processing {"connection_id":119513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b1c"} 
[2026-07-01 06:12:45] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06: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-01 06:12:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413699072001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:12:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:12:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:12:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:12:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782866313000,"timestamp_ms":1782866313000,"timestamp_seconds":1782866313,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b1cff28"} 
[2026-07-01 06: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-01 06:12:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06: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-01 06: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-01 06: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-01 06: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-01 06:12:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:12:45] local.INFO: Teltonika packet parsed successfully {"connection_id":119513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:12:45] local.INFO: Passing IMEI to GPS processor {"connection_id":119513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:12:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":119513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:12: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-01 06:12:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:12:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:12:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413699072001,"66":25321,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:12:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:12:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:12:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413699072001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:12:45] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:12:45] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:12:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:12:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:12:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413699072001,"power":25321,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:12:45] local.INFO: DEBUG: GPS processor result {"connection_id":119513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:12:45] local.INFO: GPS data processed {"connection_id":119513,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:12:45] local.INFO: Acknowledgment sent {"connection_id":119513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:13:26] local.INFO: TCP Data received {"connection_id":118864,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:13:26] local.INFO: Processing buffer {"connection_id":118864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:13:26] local.INFO: IMEI packet received {"connection_id":118864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 06:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":118864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:13:31] local.INFO: TCP Data received {"connection_id":118864,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:13:31] local.INFO: Processing buffer {"connection_id":118864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:13:31] local.INFO: IMEI packet received {"connection_id":118864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":118864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:13:32] local.INFO: TCP Data received {"connection_id":118864,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b1cff28012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b1cff28012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:13:32] local.INFO: Processing buffer {"connection_id":118864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b1cff28012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:13:32] local.INFO: Packet analysis {"connection_id":118864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b1c"} 
[2026-07-01 06:13:32] local.INFO: Extracted packet for processing {"connection_id":118864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b1c"} 
[2026-07-01 06:13:32] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413699072001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782866313000,"timestamp_ms":1782866313000,"timestamp_seconds":1782866313,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b1cff28"} 
[2026-07-01 06:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:13:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-01 06:13:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:13:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":118864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":118864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":118864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 06:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413699072001,"66":25321,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413699072001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:13:32] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:13:32] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413699072001,"power":25321,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":118864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:13:32] local.INFO: GPS data processed {"connection_id":118864,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:13:32] local.INFO: Acknowledgment sent {"connection_id":118864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:13:37] local.INFO: TCP Data received {"connection_id":118864,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b1cff28012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b1cff28012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:13:37] local.INFO: Processing buffer {"connection_id":118864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b1cff28012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:13:37] local.INFO: Packet analysis {"connection_id":118864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b1c"} 
[2026-07-01 06:13:37] local.INFO: Extracted packet for processing {"connection_id":118864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b1c"} 
[2026-07-01 06:13:37] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413699072001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782866313000,"timestamp_ms":1782866313000,"timestamp_seconds":1782866313,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b1cff28"} 
[2026-07-01 06:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-01 06:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":118864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":118864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":118864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 06:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413699072001,"66":25321,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413699072001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:13:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:13:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413699072001,"power":25321,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":118864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:13:37] local.INFO: GPS data processed {"connection_id":118864,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:13:37] local.INFO: Acknowledgment sent {"connection_id":118864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:13:42] local.INFO: TCP Data received {"connection_id":118864,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b1cff28012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b1cff28012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:13:42] local.INFO: Processing buffer {"connection_id":118864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b1cff28012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:13:42] local.INFO: Packet analysis {"connection_id":118864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b1c"} 
[2026-07-01 06:13:42] local.INFO: Extracted packet for processing {"connection_id":118864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b1c"} 
[2026-07-01 06:13:42] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06: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-01 06:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413699072001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:13:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:13:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782866313000,"timestamp_ms":1782866313000,"timestamp_seconds":1782866313,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b1cff28"} 
[2026-07-01 06: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-01 06:13:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06: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":211,"data_length":795,"current_offset":136} 
[2026-07-01 06:13: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-01 06: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-01 06: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-01 06:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":118864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":118864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":118864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:13: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-01 06:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413699072001,"66":25321,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413699072001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:13:42] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:13:42] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:13:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413699072001,"power":25321,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":118864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:13:42] local.INFO: GPS data processed {"connection_id":118864,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:13:42] local.INFO: Acknowledgment sent {"connection_id":118864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:14:21] local.INFO: TCP Data received {"connection_id":120615,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:14:21] local.INFO: Processing buffer {"connection_id":120615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:14:21] local.INFO: IMEI packet received {"connection_id":120615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 06:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":120615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:14:26] local.INFO: TCP Data received {"connection_id":120615,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:14:26] local.INFO: Processing buffer {"connection_id":120615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:14:26] local.INFO: IMEI packet received {"connection_id":120615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":120615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:14:27] local.INFO: TCP Data received {"connection_id":120615,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b2196f0012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b2196f0012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:14:27] local.INFO: Processing buffer {"connection_id":120615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b2196f0012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:14:27] local.INFO: Packet analysis {"connection_id":120615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b21"} 
[2026-07-01 06:14:27] local.INFO: Extracted packet for processing {"connection_id":120615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b21"} 
[2026-07-01 06:14:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413776128001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:14:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782866614000,"timestamp_ms":1782866614000,"timestamp_seconds":1782866614,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b2196f0"} 
[2026-07-01 06:14:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:14:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-01 06:14:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:14:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:14:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:14:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 06:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413776128001,"66":25288,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413776128001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:14:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:14:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413776128001,"power":25288,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":120615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:14:27] local.INFO: GPS data processed {"connection_id":120615,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:14:27] local.INFO: Acknowledgment sent {"connection_id":120615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:14:58] local.INFO: TCP Data received {"connection_id":120615,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b2196f0012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b2196f0012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:14:58] local.INFO: Processing buffer {"connection_id":120615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b2196f0012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:14:58] local.INFO: Packet analysis {"connection_id":120615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b21"} 
[2026-07-01 06:14:58] local.INFO: Extracted packet for processing {"connection_id":120615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b21"} 
[2026-07-01 06:14:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06: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-01 06:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413776128001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:14:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:14:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782866614000,"timestamp_ms":1782866614000,"timestamp_seconds":1782866614,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b2196f0"} 
[2026-07-01 06: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-01 06:14:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-01 06:14:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06: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-01 06: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-01 06:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:14:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 06:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413776128001,"66":25288,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413776128001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:14:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:14:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:14:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413776128001,"power":25288,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":120615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:14:58] local.INFO: GPS data processed {"connection_id":120615,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:14:58] local.INFO: Acknowledgment sent {"connection_id":120615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:15:21] local.INFO: TCP Data received {"connection_id":119515,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:15:21] local.INFO: Processing buffer {"connection_id":119515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:15:21] local.INFO: IMEI packet received {"connection_id":119515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 06:15:21] local.INFO: IMEI acknowledgment sent {"connection_id":119515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:15:26] local.INFO: TCP Data received {"connection_id":119515,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:15:26] local.INFO: Processing buffer {"connection_id":119515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:15:26] local.INFO: IMEI packet received {"connection_id":119515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":119515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:15:27] local.INFO: TCP Data received {"connection_id":119515,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b2196f0012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b2196f0012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:15:27] local.INFO: Processing buffer {"connection_id":119515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b2196f0012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:15:27] local.INFO: Packet analysis {"connection_id":119515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b21"} 
[2026-07-01 06:15:27] local.INFO: Extracted packet for processing {"connection_id":119515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b21"} 
[2026-07-01 06:15:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:15:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413776128001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:15:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:15:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:15:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:15:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782866614000,"timestamp_ms":1782866614000,"timestamp_seconds":1782866614,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b2196f0"} 
[2026-07-01 06:15:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:15:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-01 06:15:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:15:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:15:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:15:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:15:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:15:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:15:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:15:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 06:15:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:15:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:15:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413776128001,"66":25288,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:15:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:15:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:15:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413776128001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:15:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:15:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:15:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:15:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:15:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413776128001,"power":25288,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:15:27] local.INFO: DEBUG: GPS processor result {"connection_id":119515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:15:27] local.INFO: GPS data processed {"connection_id":119515,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:15:27] local.INFO: Acknowledgment sent {"connection_id":119515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:15:41] local.INFO: TCP Data received {"connection_id":119514,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 06:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119514,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 06:15:41] local.INFO: Processing buffer {"connection_id":119514,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 06:15:41] local.INFO: IMEI packet received {"connection_id":119514,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 06:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":119514,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:15:58] local.INFO: TCP Data received {"connection_id":119515,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b2196f0012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b2196f0012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:15:58] local.INFO: Processing buffer {"connection_id":119515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b2196f0012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:15:58] local.INFO: Packet analysis {"connection_id":119515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b21"} 
[2026-07-01 06:15:58] local.INFO: Extracted packet for processing {"connection_id":119515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b21"} 
[2026-07-01 06:15:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06: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-01 06:15:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413776128001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:15:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:15:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:15:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:15:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782866614000,"timestamp_ms":1782866614000,"timestamp_seconds":1782866614,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b2196f0"} 
[2026-07-01 06: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-01 06:15:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-01 06:15:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06: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-01 06: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-01 06:15:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:15:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:15:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:15:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:15:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 06:15:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:15:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:15:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413776128001,"66":25288,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:15:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:15:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:15:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413776128001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:15:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:15:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:15:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:15:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:15:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413776128001,"power":25288,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:15:58] local.INFO: DEBUG: GPS processor result {"connection_id":119515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:15:58] local.INFO: GPS data processed {"connection_id":119515,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:15:58] local.INFO: Acknowledgment sent {"connection_id":119515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:16:21] local.INFO: TCP Data received {"connection_id":120616,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:16:21] local.INFO: Processing buffer {"connection_id":120616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:16:21] local.INFO: IMEI packet received {"connection_id":120616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 06:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":120616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:16:21] local.INFO: TCP Data received {"connection_id":118741,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 06:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118741,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 06:16:21] local.INFO: Processing buffer {"connection_id":118741,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 06:16:21] local.INFO: IMEI packet received {"connection_id":118741,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 06:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":118741,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:16:26] local.INFO: TCP Data received {"connection_id":120616,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:16:26] local.INFO: Processing buffer {"connection_id":120616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:16:26] local.INFO: IMEI packet received {"connection_id":120616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":120616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:16:27] local.INFO: TCP Data received {"connection_id":120616,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b2196f0012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b2196f0012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:16:27] local.INFO: Processing buffer {"connection_id":120616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b2196f0012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:16:27] local.INFO: Packet analysis {"connection_id":120616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b21"} 
[2026-07-01 06:16:27] local.INFO: Extracted packet for processing {"connection_id":120616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b21"} 
[2026-07-01 06:16:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413776128001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:16:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782866614000,"timestamp_ms":1782866614000,"timestamp_seconds":1782866614,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b2196f0"} 
[2026-07-01 06:16:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:16:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-01 06:16:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:16:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:16:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:16:27] 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-01 06:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413776128001,"66":25288,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413776128001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:16:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:16:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413776128001,"power":25288,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":120616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:16:27] local.INFO: GPS data processed {"connection_id":120616,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:16:27] local.INFO: Acknowledgment sent {"connection_id":120616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:16:58] local.INFO: TCP Data received {"connection_id":120616,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b2196f0012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b2196f0012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:16:58] local.INFO: Processing buffer {"connection_id":120616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b2196f0012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:16:58] local.INFO: Packet analysis {"connection_id":120616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b21"} 
[2026-07-01 06:16:58] local.INFO: Extracted packet for processing {"connection_id":120616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b21"} 
[2026-07-01 06:16:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06: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-01 06:16:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413776128001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:16:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:16:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:16:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:16:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782866614000,"timestamp_ms":1782866614000,"timestamp_seconds":1782866614,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b2196f0"} 
[2026-07-01 06: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-01 06:16:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-01 06:16:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06: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-01 06: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-01 06:16:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:16:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:16:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:16:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:16:58] 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-01 06:16:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:16:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:16:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413776128001,"66":25288,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:16:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:16:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:16:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413776128001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:16:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:16:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:16:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:16:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:16:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413776128001,"power":25288,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:16:58] local.INFO: DEBUG: GPS processor result {"connection_id":120616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:16:58] local.INFO: GPS data processed {"connection_id":120616,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:16:58] local.INFO: Acknowledgment sent {"connection_id":120616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:17:26] local.INFO: TCP Data received {"connection_id":118865,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:17:26] local.INFO: Processing buffer {"connection_id":118865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:17:26] local.INFO: IMEI packet received {"connection_id":118865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 06:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":118865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:17:31] local.INFO: TCP Data received {"connection_id":118865,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:17:31] local.INFO: Processing buffer {"connection_id":118865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:17:31] local.INFO: IMEI packet received {"connection_id":118865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":118865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:17:37] local.INFO: TCP Data received {"connection_id":118865,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b2196f0012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b2196f0012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:17:37] local.INFO: Processing buffer {"connection_id":118865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b2196f0012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:17:37] local.INFO: Packet analysis {"connection_id":118865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b21"} 
[2026-07-01 06:17:37] local.INFO: Extracted packet for processing {"connection_id":118865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b21"} 
[2026-07-01 06:17:37] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413776128001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782866614000,"timestamp_ms":1782866614000,"timestamp_seconds":1782866614,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b2196f0"} 
[2026-07-01 06:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-01 06:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":118865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":118865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":118865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 06:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413776128001,"66":25288,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413776128001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:17:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:17:37] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413776128001,"power":25288,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":118865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:17:37] local.INFO: GPS data processed {"connection_id":118865,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:17:37] local.INFO: Acknowledgment sent {"connection_id":118865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:18:21] local.INFO: TCP Data received {"connection_id":118866,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:18:21] local.INFO: Processing buffer {"connection_id":118866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:18:21] local.INFO: IMEI packet received {"connection_id":118866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 06:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":118866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:18:26] local.INFO: TCP Data received {"connection_id":118866,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:18:26] local.INFO: Processing buffer {"connection_id":118866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:18:26] local.INFO: IMEI packet received {"connection_id":118866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":118866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:18:27] local.INFO: TCP Data received {"connection_id":118866,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b2196f0012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b2196f0012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:18:27] local.INFO: Processing buffer {"connection_id":118866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b2196f0012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:18:27] local.INFO: Packet analysis {"connection_id":118866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b21"} 
[2026-07-01 06:18:27] local.INFO: Extracted packet for processing {"connection_id":118866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b21"} 
[2026-07-01 06:18:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413776128001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:18:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782866614000,"timestamp_ms":1782866614000,"timestamp_seconds":1782866614,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b2196f0"} 
[2026-07-01 06:18:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:18:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-01 06:18:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:18:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:18:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:18:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 06:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413776128001,"66":25288,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413776128001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:18:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:18:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413776128001,"power":25288,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":118866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:18:27] local.INFO: GPS data processed {"connection_id":118866,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:18:27] local.INFO: Acknowledgment sent {"connection_id":118866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:18:58] local.INFO: TCP Data received {"connection_id":118866,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b2196f0012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b2196f0012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:18:58] local.INFO: Processing buffer {"connection_id":118866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b2196f0012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:18:58] local.INFO: Packet analysis {"connection_id":118866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b21"} 
[2026-07-01 06:18:58] local.INFO: Extracted packet for processing {"connection_id":118866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b21"} 
[2026-07-01 06:18:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413776128001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:18:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:18:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782866614000,"timestamp_ms":1782866614000,"timestamp_seconds":1782866614,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b2196f0"} 
[2026-07-01 06:18:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:18:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-01 06:18:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:18:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:18:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:18:58] 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-01 06:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413776128001,"66":25288,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413776128001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:18:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:18:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:18:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413776128001,"power":25288,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":118866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:18:58] local.INFO: GPS data processed {"connection_id":118866,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:18:58] local.INFO: Acknowledgment sent {"connection_id":118866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:19:21] local.INFO: TCP Data received {"connection_id":120619,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:19:21] local.INFO: Processing buffer {"connection_id":120619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:19:21] local.INFO: IMEI packet received {"connection_id":120619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 06:19:21] local.INFO: IMEI acknowledgment sent {"connection_id":120619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:19:26] local.INFO: TCP Data received {"connection_id":120619,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:19:26] local.INFO: Processing buffer {"connection_id":120619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:19:26] local.INFO: IMEI packet received {"connection_id":120619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":120619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:19:27] local.INFO: TCP Data received {"connection_id":120619,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b262ad0012d4a4d80068ba5d80011014930..."} 
[2026-07-01 06:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b262ad0012d4a4d80068ba5d80011014930..."} 
[2026-07-01 06:19:27] local.INFO: Processing buffer {"connection_id":120619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b262ad0012d4a4d80068ba5d80011014930..."} 
[2026-07-01 06:19:27] local.INFO: Packet analysis {"connection_id":120619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b26"} 
[2026-07-01 06:19:27] local.INFO: Extracted packet for processing {"connection_id":120619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b26"} 
[2026-07-01 06:19:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":48,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:19:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413853184001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:19:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:19:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:19:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:19:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782866914000,"timestamp_ms":1782866914000,"timestamp_seconds":1782866914,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b262ad0"} 
[2026-07-01 06:19:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:19:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-01 06:19:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:19:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:19:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:19:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:19:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:19:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:19:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:19:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 06:19:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:19:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:19:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413853184001,"66":25223,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:19:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:19:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:19:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413853184001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:19:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:19:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:19:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:19:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:19:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413853184001,"power":25223,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:19:27] local.INFO: DEBUG: GPS processor result {"connection_id":120619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:19:27] local.INFO: GPS data processed {"connection_id":120619,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:19:27] local.INFO: Acknowledgment sent {"connection_id":120619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:19:58] local.INFO: TCP Data received {"connection_id":120619,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b262ad0012d4a4d80068ba5d80011014930..."} 
[2026-07-01 06:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b262ad0012d4a4d80068ba5d80011014930..."} 
[2026-07-01 06:19:58] local.INFO: Processing buffer {"connection_id":120619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b262ad0012d4a4d80068ba5d80011014930..."} 
[2026-07-01 06:19:58] local.INFO: Packet analysis {"connection_id":120619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b26"} 
[2026-07-01 06:19:58] local.INFO: Extracted packet for processing {"connection_id":120619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b26"} 
[2026-07-01 06:19:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":48,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:19:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413853184001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:19:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:19:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:19:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:19:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782866914000,"timestamp_ms":1782866914000,"timestamp_seconds":1782866914,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b262ad0"} 
[2026-07-01 06:19:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:19:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-01 06:19:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:19:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:19:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:19:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:19:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:19:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:19:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:19:58] 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-01 06:19:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:19:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:19:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413853184001,"66":25223,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:19:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:19:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:19:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413853184001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:19:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:19:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:19:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:19:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:19:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413853184001,"power":25223,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:19:58] local.INFO: DEBUG: GPS processor result {"connection_id":120619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:19:58] local.INFO: GPS data processed {"connection_id":120619,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:19:58] local.INFO: Acknowledgment sent {"connection_id":120619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:20:21] local.INFO: TCP Data received {"connection_id":118742,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:20:21] local.INFO: Processing buffer {"connection_id":118742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:20:21] local.INFO: IMEI packet received {"connection_id":118742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 06:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":118742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:20:26] local.INFO: TCP Data received {"connection_id":118742,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:20:26] local.INFO: Processing buffer {"connection_id":118742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:20:26] local.INFO: IMEI packet received {"connection_id":118742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":118742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:20:28] local.INFO: TCP Data received {"connection_id":118742,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b262ad0012d4a4d80068ba5d80011014930..."} 
[2026-07-01 06:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b262ad0012d4a4d80068ba5d80011014930..."} 
[2026-07-01 06:20:28] local.INFO: Processing buffer {"connection_id":118742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b262ad0012d4a4d80068ba5d80011014930..."} 
[2026-07-01 06:20:28] local.INFO: Packet analysis {"connection_id":118742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b26"} 
[2026-07-01 06:20:28] local.INFO: Extracted packet for processing {"connection_id":118742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b26"} 
[2026-07-01 06:20:28] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":48,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:20:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413853184001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:20:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:20:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:20:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:20:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782866914000,"timestamp_ms":1782866914000,"timestamp_seconds":1782866914,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b262ad0"} 
[2026-07-01 06:20:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:20:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-01 06:20:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:20:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:20:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:20:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:20:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:20:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:20:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:20:28] 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-01 06:20:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:20:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:20:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413853184001,"66":25223,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:20:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:20:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:20:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413853184001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:20:28] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:20:28] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:20:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:20:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:20:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413853184001,"power":25223,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:20:28] local.INFO: DEBUG: GPS processor result {"connection_id":118742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:20:28] local.INFO: GPS data processed {"connection_id":118742,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:20:28] local.INFO: Acknowledgment sent {"connection_id":118742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:20:59] local.INFO: TCP Data received {"connection_id":118742,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b262ad0012d4a4d80068ba5d80011014930..."} 
[2026-07-01 06:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b262ad0012d4a4d80068ba5d80011014930..."} 
[2026-07-01 06:20:59] local.INFO: Processing buffer {"connection_id":118742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b262ad0012d4a4d80068ba5d80011014930..."} 
[2026-07-01 06:20:59] local.INFO: Packet analysis {"connection_id":118742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b26"} 
[2026-07-01 06:20:59] local.INFO: Extracted packet for processing {"connection_id":118742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b26"} 
[2026-07-01 06:20:59] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":48,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413853184001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:20:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:20:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782866914000,"timestamp_ms":1782866914000,"timestamp_seconds":1782866914,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b262ad0"} 
[2026-07-01 06:20:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:20:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-01 06:20:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:20:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:20:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:20:59] 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-01 06:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413853184001,"66":25223,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413853184001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:20:59] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:20:59] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413853184001,"power":25223,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":118742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:20:59] local.INFO: GPS data processed {"connection_id":118742,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:20:59] local.INFO: Acknowledgment sent {"connection_id":118742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:21:26] local.INFO: TCP Data received {"connection_id":119518,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:21:26] local.INFO: Processing buffer {"connection_id":119518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:21:26] local.INFO: IMEI packet received {"connection_id":119518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 06:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":119518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:21:31] local.INFO: TCP Data received {"connection_id":119518,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:21:31] local.INFO: Processing buffer {"connection_id":119518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:21:31] local.INFO: IMEI packet received {"connection_id":119518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":119518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:21:32] local.INFO: TCP Data received {"connection_id":119518,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b262ad0012d4a4d80068ba5d80011014930..."} 
[2026-07-01 06:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b262ad0012d4a4d80068ba5d80011014930..."} 
[2026-07-01 06:21:32] local.INFO: Processing buffer {"connection_id":119518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b262ad0012d4a4d80068ba5d80011014930..."} 
[2026-07-01 06:21:32] local.INFO: Packet analysis {"connection_id":119518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b26"} 
[2026-07-01 06:21:32] local.INFO: Extracted packet for processing {"connection_id":119518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b26"} 
[2026-07-01 06:21:32] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":48,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06: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-01 06:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413853184001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:21:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782866914000,"timestamp_ms":1782866914000,"timestamp_seconds":1782866914,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b262ad0"} 
[2026-07-01 06: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-01 06:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-01 06:21:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06: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-01 06: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-01 06:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":119518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":119518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":119518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 06:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413853184001,"66":25223,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413853184001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:21:32] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:21:32] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413853184001,"power":25223,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":119518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:21:32] local.INFO: GPS data processed {"connection_id":119518,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:21:32] local.INFO: Acknowledgment sent {"connection_id":119518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:21:51] local.INFO: TCP Data received {"connection_id":118743,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 06:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118743,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 06:21:51] local.INFO: Processing buffer {"connection_id":118743,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 06:21:51] local.INFO: IMEI packet received {"connection_id":118743,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 06:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":118743,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:22:04] local.INFO: TCP Data received {"connection_id":119518,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b262ad0012d4a4d80068ba5d80011014930..."} 
[2026-07-01 06:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b262ad0012d4a4d80068ba5d80011014930..."} 
[2026-07-01 06:22:04] local.INFO: Processing buffer {"connection_id":119518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b262ad0012d4a4d80068ba5d80011014930..."} 
[2026-07-01 06:22:04] local.INFO: Packet analysis {"connection_id":119518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b26"} 
[2026-07-01 06:22:04] local.INFO: Extracted packet for processing {"connection_id":119518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b26"} 
[2026-07-01 06:22:04] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":48,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06: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-01 06:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413853184001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782866914000,"timestamp_ms":1782866914000,"timestamp_seconds":1782866914,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b262ad0"} 
[2026-07-01 06: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-01 06:22:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-01 06:22: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-01 06: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-01 06: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-01 06:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":119518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":119518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":119518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:22:04] 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-01 06:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413853184001,"66":25223,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413853184001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:22:04] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:22:04] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413853184001,"power":25223,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":119518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:22:04] local.INFO: GPS data processed {"connection_id":119518,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:22:04] local.INFO: Acknowledgment sent {"connection_id":119518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:22:18] local.INFO: TCP Data received {"connection_id":118867,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 06:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118867,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 06:22:18] local.INFO: Processing buffer {"connection_id":118867,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 06:22:18] local.INFO: IMEI packet received {"connection_id":118867,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 06:22:18] local.INFO: IMEI acknowledgment sent {"connection_id":118867,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:22:21] local.INFO: TCP Data received {"connection_id":120620,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:22:21] local.INFO: Processing buffer {"connection_id":120620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:22:21] local.INFO: IMEI packet received {"connection_id":120620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 06:22:21] local.INFO: IMEI acknowledgment sent {"connection_id":120620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:22:26] local.INFO: TCP Data received {"connection_id":120620,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:22:26] local.INFO: Processing buffer {"connection_id":120620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:22:26] local.INFO: IMEI packet received {"connection_id":120620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":120620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:22:27] local.INFO: TCP Data received {"connection_id":120620,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b262ad0012d4a4d80068ba5d80011014930..."} 
[2026-07-01 06:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b262ad0012d4a4d80068ba5d80011014930..."} 
[2026-07-01 06:22:27] local.INFO: Processing buffer {"connection_id":120620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b262ad0012d4a4d80068ba5d80011014930..."} 
[2026-07-01 06:22:27] local.INFO: Packet analysis {"connection_id":120620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b26"} 
[2026-07-01 06:22:27] local.INFO: Extracted packet for processing {"connection_id":120620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b26"} 
[2026-07-01 06:22:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":48,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413853184001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:22:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:22:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782866914000,"timestamp_ms":1782866914000,"timestamp_seconds":1782866914,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b262ad0"} 
[2026-07-01 06:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:22:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-01 06:22:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:22:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:22:27] 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-01 06:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413853184001,"66":25223,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413853184001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:22:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:22:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:22:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413853184001,"power":25223,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":120620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:22:27] local.INFO: GPS data processed {"connection_id":120620,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:22:27] local.INFO: Acknowledgment sent {"connection_id":120620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:22:59] local.INFO: TCP Data received {"connection_id":120620,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b262ad0012d4a4d80068ba5d80011014930..."} 
[2026-07-01 06:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b262ad0012d4a4d80068ba5d80011014930..."} 
[2026-07-01 06:22:59] local.INFO: Processing buffer {"connection_id":120620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b262ad0012d4a4d80068ba5d80011014930..."} 
[2026-07-01 06:22:59] local.INFO: Packet analysis {"connection_id":120620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b26"} 
[2026-07-01 06:22:59] local.INFO: Extracted packet for processing {"connection_id":120620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b26"} 
[2026-07-01 06:22:59] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":48,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06: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-01 06:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413853184001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:22:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782866914000,"timestamp_ms":1782866914000,"timestamp_seconds":1782866914,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b262ad0"} 
[2026-07-01 06: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-01 06:22:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-01 06:22:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06: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-01 06: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-01 06:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":120620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":120620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":120620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:22:59] 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-01 06:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413853184001,"66":25223,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413853184001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:22:59] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:22:59] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413853184001,"power":25223,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":120620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:22:59] local.INFO: GPS data processed {"connection_id":120620,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:22:59] local.INFO: Acknowledgment sent {"connection_id":120620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:23:21] local.INFO: TCP Data received {"connection_id":119519,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:23:21] local.INFO: Processing buffer {"connection_id":119519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:23:21] local.INFO: IMEI packet received {"connection_id":119519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 06:23:21] local.INFO: IMEI acknowledgment sent {"connection_id":119519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:23:26] local.INFO: TCP Data received {"connection_id":119519,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:23:26] local.INFO: Processing buffer {"connection_id":119519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:23:26] local.INFO: IMEI packet received {"connection_id":119519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":119519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:23:27] local.INFO: TCP Data received {"connection_id":119519,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b262ad0012d4a4d80068ba5d80011014930..."} 
[2026-07-01 06:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b262ad0012d4a4d80068ba5d80011014930..."} 
[2026-07-01 06:23:27] local.INFO: Processing buffer {"connection_id":119519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b262ad0012d4a4d80068ba5d80011014930..."} 
[2026-07-01 06:23:27] local.INFO: Packet analysis {"connection_id":119519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b26"} 
[2026-07-01 06:23:27] local.INFO: Extracted packet for processing {"connection_id":119519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b26"} 
[2026-07-01 06:23:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":48,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:23:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413853184001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:23:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:23:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:23:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:23:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782866914000,"timestamp_ms":1782866914000,"timestamp_seconds":1782866914,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b262ad0"} 
[2026-07-01 06:23:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:23:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-01 06:23:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:23:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:23:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:23:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:23:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:23:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:23:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:23:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 06:23:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:23:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:23:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413853184001,"66":25223,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:23:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:23:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:23:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413853184001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:23:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:23:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:23:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:23:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:23:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413853184001,"power":25223,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:23:27] local.INFO: DEBUG: GPS processor result {"connection_id":119519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:23:27] local.INFO: GPS data processed {"connection_id":119519,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:23:27] local.INFO: Acknowledgment sent {"connection_id":119519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:23:58] local.INFO: TCP Data received {"connection_id":119519,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b262ad0012d4a4d80068ba5d80011014930..."} 
[2026-07-01 06:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b262ad0012d4a4d80068ba5d80011014930..."} 
[2026-07-01 06:23:58] local.INFO: Processing buffer {"connection_id":119519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b262ad0012d4a4d80068ba5d80011014930..."} 
[2026-07-01 06:23:58] local.INFO: Packet analysis {"connection_id":119519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b26"} 
[2026-07-01 06:23:58] local.INFO: Extracted packet for processing {"connection_id":119519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b26"} 
[2026-07-01 06:23:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":48,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06: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-01 06:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413853184001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:23:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:23:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:23:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:23:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782866914000,"timestamp_ms":1782866914000,"timestamp_seconds":1782866914,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b262ad0"} 
[2026-07-01 06: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-01 06:23:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-01 06:23:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06: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-01 06: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-01 06:23:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:23:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:23:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:23:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:23:58] 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-01 06:23:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:23:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:23:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413853184001,"66":25223,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:23:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:23:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:23:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413853184001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:23:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:23:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:23:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:23:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:23:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413853184001,"power":25223,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:23:58] local.INFO: DEBUG: GPS processor result {"connection_id":119519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:23:58] local.INFO: GPS data processed {"connection_id":119519,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:23:58] local.INFO: Acknowledgment sent {"connection_id":119519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:24:21] local.INFO: TCP Data received {"connection_id":118869,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:24:21] local.INFO: Processing buffer {"connection_id":118869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:24:21] local.INFO: IMEI packet received {"connection_id":118869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 06:24:21] local.INFO: IMEI acknowledgment sent {"connection_id":118869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:24:26] local.INFO: TCP Data received {"connection_id":118869,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:24:26] local.INFO: Processing buffer {"connection_id":118869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:24:26] local.INFO: IMEI packet received {"connection_id":118869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":118869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:24:27] local.INFO: TCP Data received {"connection_id":118869,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b2ac298012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b2ac298012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:24:27] local.INFO: Processing buffer {"connection_id":118869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b2ac298012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:24:27] local.INFO: Packet analysis {"connection_id":118869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b2a"} 
[2026-07-01 06:24:27] local.INFO: Extracted packet for processing {"connection_id":118869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b2a"} 
[2026-07-01 06:24:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:24:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413929984001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:24:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:24:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:24:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:24:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782867215000,"timestamp_ms":1782867215000,"timestamp_seconds":1782867215,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b2ac298"} 
[2026-07-01 06:24:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:24:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-01 06:24:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:24:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:24:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:24:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:24:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:24:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:24:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:24:27] 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-01 06:24:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:24:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:24:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413929984001,"66":25212,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:24:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:24:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:24:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413929984001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:24:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:24:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:24:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:24:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:24:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413929984001,"power":25212,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:24:27] local.INFO: DEBUG: GPS processor result {"connection_id":118869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:24:27] local.INFO: GPS data processed {"connection_id":118869,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:24:27] local.INFO: Acknowledgment sent {"connection_id":118869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:24:58] local.INFO: TCP Data received {"connection_id":118869,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b2ac298012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b2ac298012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:24:58] local.INFO: Processing buffer {"connection_id":118869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b2ac298012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:24:58] local.INFO: Packet analysis {"connection_id":118869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b2a"} 
[2026-07-01 06:24:58] local.INFO: Extracted packet for processing {"connection_id":118869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b2a"} 
[2026-07-01 06:24:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06: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-01 06:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413929984001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:24:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:24:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:24:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:24:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782867215000,"timestamp_ms":1782867215000,"timestamp_seconds":1782867215,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b2ac298"} 
[2026-07-01 06: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-01 06:24:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-01 06:24:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06: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-01 06: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-01 06:24:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:24:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:24:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:24:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:24:58] 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-01 06:24:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:24:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:24:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413929984001,"66":25212,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:24:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:24:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:24:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413929984001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:24:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:24:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:24:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:24:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:24:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413929984001,"power":25212,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:24:58] local.INFO: DEBUG: GPS processor result {"connection_id":118869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:24:58] local.INFO: GPS data processed {"connection_id":118869,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:24:58] local.INFO: Acknowledgment sent {"connection_id":118869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:25:21] local.INFO: TCP Data received {"connection_id":118870,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:25:21] local.INFO: Processing buffer {"connection_id":118870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:25:21] local.INFO: IMEI packet received {"connection_id":118870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 06:25:21] local.INFO: IMEI acknowledgment sent {"connection_id":118870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:25:26] local.INFO: TCP Data received {"connection_id":118870,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:25:26] local.INFO: Processing buffer {"connection_id":118870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:25:26] local.INFO: IMEI packet received {"connection_id":118870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":118870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:25:27] local.INFO: TCP Data received {"connection_id":118870,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b2ac298012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b2ac298012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:25:27] local.INFO: Processing buffer {"connection_id":118870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b2ac298012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:25:27] local.INFO: Packet analysis {"connection_id":118870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b2a"} 
[2026-07-01 06:25:27] local.INFO: Extracted packet for processing {"connection_id":118870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b2a"} 
[2026-07-01 06:25:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413929984001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:25:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782867215000,"timestamp_ms":1782867215000,"timestamp_seconds":1782867215,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b2ac298"} 
[2026-07-01 06:25:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:25:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-01 06:25:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:25:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:25:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:25:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 06:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413929984001,"66":25212,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413929984001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:25:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:25:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413929984001,"power":25212,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":118870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:25:27] local.INFO: GPS data processed {"connection_id":118870,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:25:27] local.INFO: Acknowledgment sent {"connection_id":118870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:25:59] local.INFO: TCP Data received {"connection_id":118870,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b2ac298012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b2ac298012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:25:59] local.INFO: Processing buffer {"connection_id":118870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b2ac298012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:25:59] local.INFO: Packet analysis {"connection_id":118870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b2a"} 
[2026-07-01 06:25:59] local.INFO: Extracted packet for processing {"connection_id":118870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b2a"} 
[2026-07-01 06:25:59] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413929984001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:25:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782867215000,"timestamp_ms":1782867215000,"timestamp_seconds":1782867215,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b2ac298"} 
[2026-07-01 06: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-01 06:25:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-01 06:25: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-01 06: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-01 06: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-01 06:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:25:59] 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-01 06:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413929984001,"66":25212,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413929984001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:25:59] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:25:59] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413929984001,"power":25212,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":118870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:25:59] local.INFO: GPS data processed {"connection_id":118870,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:25:59] local.INFO: Acknowledgment sent {"connection_id":118870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:26:21] local.INFO: TCP Data received {"connection_id":118872,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:26:21] local.INFO: Processing buffer {"connection_id":118872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:26:21] local.INFO: IMEI packet received {"connection_id":118872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 06:26:21] local.INFO: IMEI acknowledgment sent {"connection_id":118872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:26:26] local.INFO: TCP Data received {"connection_id":118872,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:26:26] local.INFO: Processing buffer {"connection_id":118872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:26:26] local.INFO: IMEI packet received {"connection_id":118872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":118872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:26:28] local.INFO: TCP Data received {"connection_id":118872,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b2ac298012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b2ac298012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:26:28] local.INFO: Processing buffer {"connection_id":118872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b2ac298012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:26:28] local.INFO: Packet analysis {"connection_id":118872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b2a"} 
[2026-07-01 06:26:28] local.INFO: Extracted packet for processing {"connection_id":118872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b2a"} 
[2026-07-01 06:26:28] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 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-01 06:26:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413929984001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:26:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:26:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:26:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:26:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782867215000,"timestamp_ms":1782867215000,"timestamp_seconds":1782867215,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b2ac298"} 
[2026-07-01 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-01 06:26:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-01 06:26:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 06:26:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:26:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:26:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:26:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:26:28] 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-01 06:26:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:26:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:26:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413929984001,"66":25212,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:26:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:26:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:26:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413929984001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:26:28] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:26:28] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:26:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:26:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:26:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413929984001,"power":25212,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:26:28] local.INFO: DEBUG: GPS processor result {"connection_id":118872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:26:28] local.INFO: GPS data processed {"connection_id":118872,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:26:28] local.INFO: Acknowledgment sent {"connection_id":118872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:26:59] local.INFO: TCP Data received {"connection_id":118872,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b2ac298012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b2ac298012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:26:59] local.INFO: Processing buffer {"connection_id":118872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b2ac298012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:26:59] local.INFO: Packet analysis {"connection_id":118872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b2a"} 
[2026-07-01 06:26:59] local.INFO: Extracted packet for processing {"connection_id":118872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b2a"} 
[2026-07-01 06:26:59] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413929984001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:26:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782867215000,"timestamp_ms":1782867215000,"timestamp_seconds":1782867215,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b2ac298"} 
[2026-07-01 06:26:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:26:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-01 06:26: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-01 06:26:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:26:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:26:59] 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-01 06:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413929984001,"66":25212,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413929984001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:26:59] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:26:59] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413929984001,"power":25212,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":118872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:26:59] local.INFO: GPS data processed {"connection_id":118872,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:26:59] local.INFO: Acknowledgment sent {"connection_id":118872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:27:21] local.INFO: TCP Data received {"connection_id":119520,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:27:21] local.INFO: Processing buffer {"connection_id":119520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:27:21] local.INFO: IMEI packet received {"connection_id":119520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 06:27:21] local.INFO: IMEI acknowledgment sent {"connection_id":119520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:27:26] local.INFO: TCP Data received {"connection_id":119520,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:27:26] local.INFO: Processing buffer {"connection_id":119520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:27:26] local.INFO: IMEI packet received {"connection_id":119520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":119520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:27:27] local.INFO: TCP Data received {"connection_id":119520,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b2ac298012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b2ac298012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:27:27] local.INFO: Processing buffer {"connection_id":119520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b2ac298012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:27:27] local.INFO: Packet analysis {"connection_id":119520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b2a"} 
[2026-07-01 06:27:27] local.INFO: Extracted packet for processing {"connection_id":119520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b2a"} 
[2026-07-01 06:27:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413929984001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:27:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782867215000,"timestamp_ms":1782867215000,"timestamp_seconds":1782867215,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b2ac298"} 
[2026-07-01 06:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:27:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-01 06:27:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:27:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:27:27] 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-01 06:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413929984001,"66":25212,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413929984001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:27:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:27:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413929984001,"power":25212,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":119520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:27:27] local.INFO: GPS data processed {"connection_id":119520,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:27:27] local.INFO: Acknowledgment sent {"connection_id":119520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:27:36] local.INFO: TCP Data received {"connection_id":118746,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 06:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118746,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 06:27:36] local.INFO: Processing buffer {"connection_id":118746,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 06:27:36] local.INFO: IMEI packet received {"connection_id":118746,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 06:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":118746,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:27:58] local.INFO: TCP Data received {"connection_id":119520,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b2ac298012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b2ac298012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:27:58] local.INFO: Processing buffer {"connection_id":119520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b2ac298012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:27:58] local.INFO: Packet analysis {"connection_id":119520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b2a"} 
[2026-07-01 06:27:58] local.INFO: Extracted packet for processing {"connection_id":119520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b2a"} 
[2026-07-01 06:27:58] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 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-01 06:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413929984001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:27:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:27:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782867215000,"timestamp_ms":1782867215000,"timestamp_seconds":1782867215,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b2ac298"} 
[2026-07-01 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-01 06:27:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-01 06:27:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 06:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:27:58] 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-01 06:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413929984001,"66":25212,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413929984001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:27:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:27:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:27:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:27:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413929984001,"power":25212,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":119520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:27:58] local.INFO: GPS data processed {"connection_id":119520,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:27:58] local.INFO: Acknowledgment sent {"connection_id":119520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:28:16] local.INFO: TCP Data received {"connection_id":118747,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 06:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118747,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 06:28:16] local.INFO: Processing buffer {"connection_id":118747,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 06:28:16] local.INFO: IMEI packet received {"connection_id":118747,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 06:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":118747,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:28:21] local.INFO: TCP Data received {"connection_id":118873,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:28:21] local.INFO: Processing buffer {"connection_id":118873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:28:21] local.INFO: IMEI packet received {"connection_id":118873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 06:28:21] local.INFO: IMEI acknowledgment sent {"connection_id":118873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:28:26] local.INFO: TCP Data received {"connection_id":118873,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:28:26] local.INFO: Processing buffer {"connection_id":118873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:28:26] local.INFO: IMEI packet received {"connection_id":118873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":118873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:28:27] local.INFO: TCP Data received {"connection_id":118873,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b2ac298012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b2ac298012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:28:27] local.INFO: Processing buffer {"connection_id":118873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b2ac298012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:28:27] local.INFO: Packet analysis {"connection_id":118873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b2a"} 
[2026-07-01 06:28:27] local.INFO: Extracted packet for processing {"connection_id":118873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b2a"} 
[2026-07-01 06:28:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:28:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413929984001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:28:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:28:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:28:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:28:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782867215000,"timestamp_ms":1782867215000,"timestamp_seconds":1782867215,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b2ac298"} 
[2026-07-01 06:28:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:28:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-01 06:28:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:28:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:28:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:28:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:28:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:28:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:28:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:28:27] 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-01 06:28:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:28:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:28:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413929984001,"66":25212,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:28:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:28:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:28:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413929984001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:28:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:28:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:28:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:28:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:28:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413929984001,"power":25212,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:28:27] local.INFO: DEBUG: GPS processor result {"connection_id":118873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:28:27] local.INFO: GPS data processed {"connection_id":118873,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:28:27] local.INFO: Acknowledgment sent {"connection_id":118873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:28:59] local.INFO: TCP Data received {"connection_id":118873,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b2ac298012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b2ac298012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:28:59] local.INFO: Processing buffer {"connection_id":118873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b2ac298012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:28:59] local.INFO: Packet analysis {"connection_id":118873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b2a"} 
[2026-07-01 06:28:59] local.INFO: Extracted packet for processing {"connection_id":118873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b2a"} 
[2026-07-01 06:28:59] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456413929984001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:28:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782867215000,"timestamp_ms":1782867215000,"timestamp_seconds":1782867215,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b2ac298"} 
[2026-07-01 06:28:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:28:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-07-01 06:28: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-01 06:28:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:28:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:28:59] 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-01 06:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456413929984001,"66":25212,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456413929984001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:28:59] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:28:59] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456413929984001,"power":25212,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":118873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:28:59] local.INFO: GPS data processed {"connection_id":118873,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:28:59] local.INFO: Acknowledgment sent {"connection_id":118873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:29:21] local.INFO: TCP Data received {"connection_id":118874,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:29:21] local.INFO: Processing buffer {"connection_id":118874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:29:21] local.INFO: IMEI packet received {"connection_id":118874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 06:29:21] local.INFO: IMEI acknowledgment sent {"connection_id":118874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:29:26] local.INFO: TCP Data received {"connection_id":118874,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:29:26] local.INFO: Processing buffer {"connection_id":118874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:29:26] local.INFO: IMEI packet received {"connection_id":118874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":118874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:29:42] local.INFO: TCP Data received {"connection_id":118874,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b2f5a60012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b2f5a60012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:29:42] local.INFO: Processing buffer {"connection_id":118874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b2f5a60012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:29:42] local.INFO: Packet analysis {"connection_id":118874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b2f"} 
[2026-07-01 06:29:42] local.INFO: Extracted packet for processing {"connection_id":118874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b2f"} 
[2026-07-01 06:29:42] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06: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-01 06:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414007040001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:29:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:29:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782867516000,"timestamp_ms":1782867516000,"timestamp_seconds":1782867516,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b2f5a60"} 
[2026-07-01 06: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-01 06:29:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06: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":124,"data_length":795,"current_offset":136} 
[2026-07-01 06:29: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-01 06: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-01 06: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-01 06:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":118874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":118874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":118874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:29: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-01 06:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414007040001,"66":25299,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414007040001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:29:42] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:29:42] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:29:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414007040001,"power":25299,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":118874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:29:42] local.INFO: GPS data processed {"connection_id":118874,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:29:42] local.INFO: Acknowledgment sent {"connection_id":118874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:30:21] local.INFO: TCP Data received {"connection_id":118750,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:30:21] local.INFO: Processing buffer {"connection_id":118750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:30:21] local.INFO: IMEI packet received {"connection_id":118750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 06:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":118750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:30:26] local.INFO: TCP Data received {"connection_id":118750,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:30:26] local.INFO: Processing buffer {"connection_id":118750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:30:26] local.INFO: IMEI packet received {"connection_id":118750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":118750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:30:27] local.INFO: TCP Data received {"connection_id":118750,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b2f5a60012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b2f5a60012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:30:27] local.INFO: Processing buffer {"connection_id":118750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b2f5a60012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:30:27] local.INFO: Packet analysis {"connection_id":118750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b2f"} 
[2026-07-01 06:30:27] local.INFO: Extracted packet for processing {"connection_id":118750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b2f"} 
[2026-07-01 06:30:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414007040001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:30:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782867516000,"timestamp_ms":1782867516000,"timestamp_seconds":1782867516,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b2f5a60"} 
[2026-07-01 06:30:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:30:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-01 06:30:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:30:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:30:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:30:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 06:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414007040001,"66":25299,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414007040001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:30:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:30:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414007040001,"power":25299,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":118750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:30:27] local.INFO: GPS data processed {"connection_id":118750,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:30:27] local.INFO: Acknowledgment sent {"connection_id":118750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:30:59] local.INFO: TCP Data received {"connection_id":118750,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b2f5a60012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b2f5a60012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:30:59] local.INFO: Processing buffer {"connection_id":118750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b2f5a60012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:30:59] local.INFO: Packet analysis {"connection_id":118750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b2f"} 
[2026-07-01 06:30:59] local.INFO: Extracted packet for processing {"connection_id":118750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b2f"} 
[2026-07-01 06:30:59] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414007040001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:30:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782867516000,"timestamp_ms":1782867516000,"timestamp_seconds":1782867516,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b2f5a60"} 
[2026-07-01 06:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:30:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-01 06:30:59] 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-01 06:30:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:30: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-01 06:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414007040001,"66":25299,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414007040001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:30:59] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:30:59] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414007040001,"power":25299,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":118750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:30:59] local.INFO: GPS data processed {"connection_id":118750,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:30:59] local.INFO: Acknowledgment sent {"connection_id":118750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:31:21] local.INFO: TCP Data received {"connection_id":118751,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:31:21] local.INFO: Processing buffer {"connection_id":118751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:31:21] local.INFO: IMEI packet received {"connection_id":118751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 06:31:21] local.INFO: IMEI acknowledgment sent {"connection_id":118751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:31:26] local.INFO: TCP Data received {"connection_id":118751,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:31:26] local.INFO: Processing buffer {"connection_id":118751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:31:26] local.INFO: IMEI packet received {"connection_id":118751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":118751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:31:27] local.INFO: TCP Data received {"connection_id":118751,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b2f5a60012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b2f5a60012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:31:27] local.INFO: Processing buffer {"connection_id":118751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b2f5a60012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:31:27] local.INFO: Packet analysis {"connection_id":118751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b2f"} 
[2026-07-01 06:31:27] local.INFO: Extracted packet for processing {"connection_id":118751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b2f"} 
[2026-07-01 06:31:27] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414007040001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:31:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:31:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782867516000,"timestamp_ms":1782867516000,"timestamp_seconds":1782867516,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b2f5a60"} 
[2026-07-01 06:31:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:31:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-01 06:31:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:31:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:31:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:31:27] 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-01 06:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414007040001,"66":25299,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414007040001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:31:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:31:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:31:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414007040001,"power":25299,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":118751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:31:27] local.INFO: GPS data processed {"connection_id":118751,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:31:27] local.INFO: Acknowledgment sent {"connection_id":118751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:31:59] local.INFO: TCP Data received {"connection_id":118751,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b2f5a60012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b2f5a60012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:31:59] local.INFO: Processing buffer {"connection_id":118751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b2f5a60012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:31:59] local.INFO: Packet analysis {"connection_id":118751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b2f"} 
[2026-07-01 06:31:59] local.INFO: Extracted packet for processing {"connection_id":118751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b2f"} 
[2026-07-01 06:31:59] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06: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-01 06:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414007040001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:31:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:31:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782867516000,"timestamp_ms":1782867516000,"timestamp_seconds":1782867516,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b2f5a60"} 
[2026-07-01 06: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-01 06:31:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-01 06:31:59] 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-01 06: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-01 06: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-01 06:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:31:59] 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-01 06:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414007040001,"66":25299,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414007040001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:31:59] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:31:59] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:31:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414007040001,"power":25299,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":118751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:31:59] local.INFO: GPS data processed {"connection_id":118751,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:31:59] local.INFO: Acknowledgment sent {"connection_id":118751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:32:21] local.INFO: TCP Data received {"connection_id":119521,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:32:21] local.INFO: Processing buffer {"connection_id":119521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:32:21] local.INFO: IMEI packet received {"connection_id":119521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 06:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":119521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:32:26] local.INFO: TCP Data received {"connection_id":119521,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:32:26] local.INFO: Processing buffer {"connection_id":119521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:32:26] local.INFO: IMEI packet received {"connection_id":119521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":119521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:32:28] local.INFO: TCP Data received {"connection_id":119521,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b2f5a60012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b2f5a60012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:32:28] local.INFO: Processing buffer {"connection_id":119521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b2f5a60012d4a4d80068ba5d8001101492f..."} 
[2026-07-01 06:32:28] local.INFO: Packet analysis {"connection_id":119521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b2f"} 
[2026-07-01 06:32:28] local.INFO: Extracted packet for processing {"connection_id":119521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b2f"} 
[2026-07-01 06:32:28] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:32:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414007040001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:32:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:32:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:32:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:32:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782867516000,"timestamp_ms":1782867516000,"timestamp_seconds":1782867516,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b2f5a60"} 
[2026-07-01 06:32:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:32:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-01 06:32:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:32:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:32:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:32:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:32:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:32:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:32:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:32:28] 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-01 06:32:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:32:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:32:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414007040001,"66":25299,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:32:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:32:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:32:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414007040001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:32:28] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:32:28] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:32:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:32:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:32:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414007040001,"power":25299,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:32:28] local.INFO: DEBUG: GPS processor result {"connection_id":119521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:32:28] local.INFO: GPS data processed {"connection_id":119521,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:32:28] local.INFO: Acknowledgment sent {"connection_id":119521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:32:59] local.INFO: TCP Data received {"connection_id":119521,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b3267a0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 06:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b3267a0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 06:32:59] local.INFO: Processing buffer {"connection_id":119521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b3267a0012d4a4d80068ba5d8001101492d..."} 
[2026-07-01 06:32:59] local.INFO: Packet analysis {"connection_id":119521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b32"} 
[2026-07-01 06:32:59] local.INFO: Extracted packet for processing {"connection_id":119521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b32"} 
[2026-07-01 06:32:59] local.INFO: GPS Element Parsed {"raw_longitude":759844224,"raw_latitude":109815256,"longitude_deg":75.9844224,"latitude_deg":10.9815256,"altitude":17,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d4a4d80","hex_latitude":"068ba5d8","is_valid_coordinates":true} 
[2026-07-01 06:32:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414084096001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:32:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:32:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782867716000,"timestamp_ms":1782867716000,"timestamp_seconds":1782867716,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b3267a0"} 
[2026-07-01 06: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-01 06:32:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 06: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-01 06:32: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-01 06: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-01 06: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-01 06:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:32:59] 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-01 06:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414084096001,"66":25299,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414084096001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:32:59] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:32:59] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:32:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414084096001,"power":25299,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":119521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:32:59] local.INFO: GPS data processed {"connection_id":119521,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:32:59] local.INFO: Acknowledgment sent {"connection_id":119521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:33:19] local.INFO: TCP Data received {"connection_id":120623,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:33:19] local.INFO: Processing buffer {"connection_id":120623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:33:19] local.INFO: IMEI packet received {"connection_id":120623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 06:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":120623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:33:21] local.INFO: TCP Data received {"connection_id":120623,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:33:21] local.INFO: Processing buffer {"connection_id":120623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:33:21] local.INFO: IMEI packet received {"connection_id":120623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:33:21] local.INFO: IMEI acknowledgment sent {"connection_id":120623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:33:26] local.INFO: TCP Data received {"connection_id":120623,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:33:26] local.INFO: Processing buffer {"connection_id":120623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:33:26] local.INFO: IMEI packet received {"connection_id":120623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":120623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:33:27] local.INFO: TCP Data received {"connection_id":120623,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b327358012d4a4f80068ba4e8001100ae2d..."} 
[2026-07-01 06:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b327358012d4a4f80068ba4e8001100ae2d..."} 
[2026-07-01 06:33:27] local.INFO: Processing buffer {"connection_id":120623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b327358012d4a4f80068ba4e8001100ae2d..."} 
[2026-07-01 06:33:27] local.INFO: Packet analysis {"connection_id":120623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b32"} 
[2026-07-01 06:33:27] local.INFO: Extracted packet for processing {"connection_id":120623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b32"} 
[2026-07-01 06:33:27] local.INFO: GPS Element Parsed {"raw_longitude":759844736,"raw_latitude":109815016,"longitude_deg":75.9844736,"latitude_deg":10.9815016,"altitude":17,"angle":174,"satellites":45,"speed":0,"hex_longitude":"2d4a4f80","hex_latitude":"068ba4e8","is_valid_coordinates":true} 
[2026-07-01 06:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414135296001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:33:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354076297614448640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:33:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782867719000,"timestamp_ms":1782867719000,"timestamp_seconds":1782867719,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b327358"} 
[2026-07-01 06:33:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:33:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 06:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-01 06:33:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:33:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:33:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:33:27] 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-01 06:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414135296001,"66":25093,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354076297614448640},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414135296001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:33:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:33:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:33:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354076297614448640,"description":"Unknown IO ID 45"} 
[2026-07-01 06:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414135296001,"power":25093,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354076297614448640}} 
[2026-07-01 06:33:27] local.INFO: DEBUG: GPS processor result {"connection_id":120623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:33:27] local.INFO: GPS data processed {"connection_id":120623,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:33:27] local.INFO: Acknowledgment sent {"connection_id":120623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:33:31] local.INFO: TCP Data received {"connection_id":118875,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 06:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118875,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 06:33:31] local.INFO: Processing buffer {"connection_id":118875,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 06:33:31] local.INFO: IMEI packet received {"connection_id":118875,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 06:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":118875,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:33:58] local.INFO: TCP Data received {"connection_id":120623,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b32c560012d4a4f80068ba4e8001100ae2d..."} 
[2026-07-01 06:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b32c560012d4a4f80068ba4e8001100ae2d..."} 
[2026-07-01 06:33:58] local.INFO: Processing buffer {"connection_id":120623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b32c560012d4a4f80068ba4e8001100ae2d..."} 
[2026-07-01 06:33:58] local.INFO: Packet analysis {"connection_id":120623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b32"} 
[2026-07-01 06:33:58] local.INFO: Extracted packet for processing {"connection_id":120623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b32"} 
[2026-07-01 06:33:58] local.INFO: GPS Element Parsed {"raw_longitude":759844736,"raw_latitude":109815016,"longitude_deg":75.9844736,"latitude_deg":10.9815016,"altitude":17,"angle":174,"satellites":45,"speed":0,"hex_longitude":"2d4a4f80","hex_latitude":"068ba4e8","is_valid_coordinates":true} 
[2026-07-01 06:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414136064001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:33:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354639247567808512,"note":"Value kept but may cause issues"} 
[2026-07-01 06:33:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782867740000,"timestamp_ms":1782867740000,"timestamp_seconds":1782867740,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b32c560"} 
[2026-07-01 06:33:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:33:58] 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-01 06:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-01 06:33:58] 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-01 06:33:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:33:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:33:58] 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-01 06:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414136064001,"66":25028,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354639247567808512},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414136064001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:33:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:33:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:33:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354639247567808512,"description":"Unknown IO ID 45"} 
[2026-07-01 06:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414136064001,"power":25028,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354639247567808512}} 
[2026-07-01 06:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":120623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:33:58] local.INFO: GPS data processed {"connection_id":120623,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:33:58] local.INFO: Acknowledgment sent {"connection_id":120623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:34:16] local.INFO: TCP Data received {"connection_id":120624,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 06:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120624,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 06:34:16] local.INFO: Processing buffer {"connection_id":120624,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 06:34:16] local.INFO: IMEI packet received {"connection_id":120624,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 06:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":120624,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:34:21] local.INFO: TCP Data received {"connection_id":118752,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:34:21] local.INFO: Processing buffer {"connection_id":118752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:34:21] local.INFO: IMEI packet received {"connection_id":118752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 06:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":118752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:34:22] local.INFO: TCP Data received {"connection_id":118752,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:34:22] local.INFO: Processing buffer {"connection_id":118752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:34:22] local.INFO: IMEI packet received {"connection_id":118752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:34:22] local.INFO: IMEI acknowledgment sent {"connection_id":118752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:34:26] local.INFO: TCP Data received {"connection_id":118752,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:34:26] local.INFO: Processing buffer {"connection_id":118752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:34:26] local.INFO: IMEI packet received {"connection_id":118752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":118752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:34:27] local.INFO: TCP Data received {"connection_id":118752,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b331768012d4a4f80068ba4e8001100ae2d..."} 
[2026-07-01 06:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b331768012d4a4f80068ba4e8001100ae2d..."} 
[2026-07-01 06:34:27] local.INFO: Processing buffer {"connection_id":118752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b331768012d4a4f80068ba4e8001100ae2d..."} 
[2026-07-01 06:34:27] local.INFO: Packet analysis {"connection_id":118752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b33"} 
[2026-07-01 06:34:27] local.INFO: Extracted packet for processing {"connection_id":118752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b33"} 
[2026-07-01 06:34:27] local.INFO: GPS Element Parsed {"raw_longitude":759844736,"raw_latitude":109815016,"longitude_deg":75.9844736,"latitude_deg":10.9815016,"altitude":17,"angle":174,"satellites":45,"speed":0,"hex_longitude":"2d4a4f80","hex_latitude":"068ba4e8","is_valid_coordinates":true} 
[2026-07-01 06:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:34:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414141440001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:34:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:34:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354639247567808512,"note":"Value kept but may cause issues"} 
[2026-07-01 06:34:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:34:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782867761000,"timestamp_ms":1782867761000,"timestamp_seconds":1782867761,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b331768"} 
[2026-07-01 06:34:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:34:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 06:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-01 06:34:27] 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-01 06:34:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:34:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:34:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:34:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:34:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:34:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:34:27] 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-01 06:34:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:34:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:34:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414141440001,"66":24962,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354639247567808512},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:34:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:34:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:34:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414141440001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:34:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:34:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:34:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:34:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354639247567808512,"description":"Unknown IO ID 45"} 
[2026-07-01 06:34:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414141440001,"power":24962,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354639247567808512}} 
[2026-07-01 06:34:27] local.INFO: DEBUG: GPS processor result {"connection_id":118752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:34:27] local.INFO: GPS data processed {"connection_id":118752,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:34:27] local.INFO: Acknowledgment sent {"connection_id":118752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:34:58] local.INFO: TCP Data received {"connection_id":118752,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b336970012d4a4f80068ba4e8001100ae2c..."} 
[2026-07-01 06:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b336970012d4a4f80068ba4e8001100ae2c..."} 
[2026-07-01 06:34:58] local.INFO: Processing buffer {"connection_id":118752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b336970012d4a4f80068ba4e8001100ae2c..."} 
[2026-07-01 06:34:58] local.INFO: Packet analysis {"connection_id":118752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b33"} 
[2026-07-01 06:34:58] local.INFO: Extracted packet for processing {"connection_id":118752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b33"} 
[2026-07-01 06:34:58] local.INFO: GPS Element Parsed {"raw_longitude":759844736,"raw_latitude":109815016,"longitude_deg":75.9844736,"latitude_deg":10.9815016,"altitude":17,"angle":174,"satellites":44,"speed":0,"hex_longitude":"2d4a4f80","hex_latitude":"068ba4e8","is_valid_coordinates":true} 
[2026-07-01 06:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:34:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414146816001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:34:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354639247567808512,"note":"Value kept but may cause issues"} 
[2026-07-01 06:34:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:34:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782867782000,"timestamp_ms":1782867782000,"timestamp_seconds":1782867782,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b336970"} 
[2026-07-01 06:34:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:34: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-01 06:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-07-01 06:34:58] 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-01 06:34:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:34:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:34:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:34:58] 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-01 06:34:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:34:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:34:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414146816001,"66":24875,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354639247567808512},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:34:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:34:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:34:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414146816001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:34:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:34:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:34:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:34:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354639247567808512,"description":"Unknown IO ID 45"} 
[2026-07-01 06:34:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414146816001,"power":24875,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354639247567808512}} 
[2026-07-01 06:34:58] local.INFO: DEBUG: GPS processor result {"connection_id":118752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:34:58] local.INFO: GPS data processed {"connection_id":118752,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:34:58] local.INFO: Acknowledgment sent {"connection_id":118752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:35:21] local.INFO: TCP Data received {"connection_id":120626,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:35:21] local.INFO: Processing buffer {"connection_id":120626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:35:21] local.INFO: IMEI packet received {"connection_id":120626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 06:35:21] local.INFO: IMEI acknowledgment sent {"connection_id":120626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:35:25] local.INFO: TCP Data received {"connection_id":120626,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:35:25] local.INFO: Processing buffer {"connection_id":120626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:35:25] local.INFO: IMEI packet received {"connection_id":120626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:35:25] local.INFO: IMEI acknowledgment sent {"connection_id":120626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:35:26] local.INFO: TCP Data received {"connection_id":120626,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b33bb78012d4a4f80068ba4e8001100ae2b..."} 
[2026-07-01 06:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b33bb78012d4a4f80068ba4e8001100ae2b..."} 
[2026-07-01 06:35:26] local.INFO: Processing buffer {"connection_id":120626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b33bb78012d4a4f80068ba4e8001100ae2b..."} 
[2026-07-01 06:35:26] local.INFO: Packet analysis {"connection_id":120626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b33"} 
[2026-07-01 06:35:26] local.INFO: Extracted packet for processing {"connection_id":120626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b33"} 
[2026-07-01 06:35:26] local.INFO: GPS Element Parsed {"raw_longitude":759844736,"raw_latitude":109815016,"longitude_deg":75.9844736,"latitude_deg":10.9815016,"altitude":17,"angle":174,"satellites":43,"speed":0,"hex_longitude":"2d4a4f80","hex_latitude":"068ba4e8","is_valid_coordinates":true} 
[2026-07-01 06:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:35:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414152192001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:35:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:35:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354639247567808512,"note":"Value kept but may cause issues"} 
[2026-07-01 06:35:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:35:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782867803000,"timestamp_ms":1782867803000,"timestamp_seconds":1782867803,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b33bb78"} 
[2026-07-01 06:35:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:35: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-01 06:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-01 06:35:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:35:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:35:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:35:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:35:26] local.INFO: Teltonika packet parsed successfully {"connection_id":120626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:35:26] local.INFO: Passing IMEI to GPS processor {"connection_id":120626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:35:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":120626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:35:26] 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-01 06:35:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:35:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:35:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414152192001,"66":24864,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354639247567808512},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:35:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:35:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:35:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414152192001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:35:26] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:35:26] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:35:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:35:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354639247567808512,"description":"Unknown IO ID 45"} 
[2026-07-01 06:35:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414152192001,"power":24864,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354639247567808512}} 
[2026-07-01 06:35:26] local.INFO: DEBUG: GPS processor result {"connection_id":120626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:35:26] local.INFO: GPS data processed {"connection_id":120626,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:35:26] local.INFO: Acknowledgment sent {"connection_id":120626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:36:00] local.INFO: TCP Data received {"connection_id":120626,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b340d80012d4a4f80068ba4e8001100ae29..."} 
[2026-07-01 06:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b340d80012d4a4f80068ba4e8001100ae29..."} 
[2026-07-01 06:36:00] local.INFO: Processing buffer {"connection_id":120626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b340d80012d4a4f80068ba4e8001100ae29..."} 
[2026-07-01 06:36:00] local.INFO: Packet analysis {"connection_id":120626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b34"} 
[2026-07-01 06:36:00] local.INFO: Extracted packet for processing {"connection_id":120626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b34"} 
[2026-07-01 06:36:00] local.INFO: GPS Element Parsed {"raw_longitude":759844736,"raw_latitude":109815016,"longitude_deg":75.9844736,"latitude_deg":10.9815016,"altitude":17,"angle":174,"satellites":41,"speed":0,"hex_longitude":"2d4a4f80","hex_latitude":"068ba4e8","is_valid_coordinates":true} 
[2026-07-01 06: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-01 06:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414157568001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:36:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354639247567808512,"note":"Value kept but may cause issues"} 
[2026-07-01 06:36:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782867824000,"timestamp_ms":1782867824000,"timestamp_seconds":1782867824,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b340d80"} 
[2026-07-01 06: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-01 06:36:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 06: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":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-07-01 06:36:00] 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-01 06: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-01 06: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-01 06:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":120626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":120626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":120626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:36:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 06:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414157568001,"66":24854,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354639247567808512},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414157568001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:36:00] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:36:00] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:36:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354639247567808512,"description":"Unknown IO ID 45"} 
[2026-07-01 06:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414157568001,"power":24854,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354639247567808512}} 
[2026-07-01 06:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":120626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:36:00] local.INFO: GPS data processed {"connection_id":120626,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:36:00] local.INFO: Acknowledgment sent {"connection_id":120626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:36:21] local.INFO: TCP Data received {"connection_id":118753,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:36:21] local.INFO: Processing buffer {"connection_id":118753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:36:21] local.INFO: IMEI packet received {"connection_id":118753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 06:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":118753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:36:23] local.INFO: TCP Data received {"connection_id":118753,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:36:23] local.INFO: Processing buffer {"connection_id":118753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:36:23] local.INFO: IMEI packet received {"connection_id":118753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":118753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:36:25] local.INFO: TCP Data received {"connection_id":118753,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:36:25] local.INFO: Processing buffer {"connection_id":118753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:36:25] local.INFO: IMEI packet received {"connection_id":118753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":118753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:36:27] local.INFO: TCP Data received {"connection_id":118753,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:36:27] local.INFO: Processing buffer {"connection_id":118753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:36:27] local.INFO: IMEI packet received {"connection_id":118753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":118753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:36:28] local.INFO: TCP Data received {"connection_id":118753,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b345f88012d4a4f80068ba4e8001100ae2b..."} 
[2026-07-01 06:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b345f88012d4a4f80068ba4e8001100ae2b..."} 
[2026-07-01 06:36:28] local.INFO: Processing buffer {"connection_id":118753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b345f88012d4a4f80068ba4e8001100ae2b..."} 
[2026-07-01 06:36:28] local.INFO: Packet analysis {"connection_id":118753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b34"} 
[2026-07-01 06:36:28] local.INFO: Extracted packet for processing {"connection_id":118753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b34"} 
[2026-07-01 06:36:28] local.INFO: GPS Element Parsed {"raw_longitude":759844736,"raw_latitude":109815016,"longitude_deg":75.9844736,"latitude_deg":10.9815016,"altitude":17,"angle":174,"satellites":43,"speed":0,"hex_longitude":"2d4a4f80","hex_latitude":"068ba4e8","is_valid_coordinates":true} 
[2026-07-01 06: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-01 06:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414162944001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:36:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354639247567808512,"note":"Value kept but may cause issues"} 
[2026-07-01 06:36:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782867845000,"timestamp_ms":1782867845000,"timestamp_seconds":1782867845,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b345f88"} 
[2026-07-01 06: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-01 06:36:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 06: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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-01 06:36:28] 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-01 06: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-01 06: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-01 06:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:36:28] 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-01 06:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414162944001,"66":24854,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354639247567808512},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414162944001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:36:28] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:36:28] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:36:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354639247567808512,"description":"Unknown IO ID 45"} 
[2026-07-01 06:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414162944001,"power":24854,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354639247567808512}} 
[2026-07-01 06:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":118753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:36:28] local.INFO: GPS data processed {"connection_id":118753,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:36:28] local.INFO: Acknowledgment sent {"connection_id":118753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:36:32] local.INFO: TCP Data received {"connection_id":118753,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b34b190012d4a4f80068ba4e8001100ae2c..."} 
[2026-07-01 06:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b34b190012d4a4f80068ba4e8001100ae2c..."} 
[2026-07-01 06:36:32] local.INFO: Processing buffer {"connection_id":118753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b34b190012d4a4f80068ba4e8001100ae2c..."} 
[2026-07-01 06:36:32] local.INFO: Packet analysis {"connection_id":118753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b34"} 
[2026-07-01 06:36:32] local.INFO: Extracted packet for processing {"connection_id":118753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b34"} 
[2026-07-01 06:36:32] local.INFO: GPS Element Parsed {"raw_longitude":759844736,"raw_latitude":109815016,"longitude_deg":75.9844736,"latitude_deg":10.9815016,"altitude":17,"angle":174,"satellites":44,"speed":0,"hex_longitude":"2d4a4f80","hex_latitude":"068ba4e8","is_valid_coordinates":true} 
[2026-07-01 06:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414168320001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354639247567808512,"note":"Value kept but may cause issues"} 
[2026-07-01 06:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782867866000,"timestamp_ms":1782867866000,"timestamp_seconds":1782867866,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b34b190"} 
[2026-07-01 06:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:36: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-01 06:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-01 06:36:32] 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-01 06:36:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":118753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":118753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":118753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 06:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414168320001,"66":27745,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354639247567808512},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414168320001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:36:32] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:36:32] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354639247567808512,"description":"Unknown IO ID 45"} 
[2026-07-01 06:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414168320001,"power":27745,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354639247567808512}} 
[2026-07-01 06:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":118753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:36:32] local.INFO: GPS data processed {"connection_id":118753,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:36:32] local.INFO: Acknowledgment sent {"connection_id":118753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:37:03] local.INFO: TCP Data received {"connection_id":118753,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b350398012d4a4f80068ba4e8001100ae2c..."} 
[2026-07-01 06:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b350398012d4a4f80068ba4e8001100ae2c..."} 
[2026-07-01 06:37:03] local.INFO: Processing buffer {"connection_id":118753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b350398012d4a4f80068ba4e8001100ae2c..."} 
[2026-07-01 06:37:03] local.INFO: Packet analysis {"connection_id":118753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b35"} 
[2026-07-01 06:37:03] local.INFO: Extracted packet for processing {"connection_id":118753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b35"} 
[2026-07-01 06:37:03] local.INFO: GPS Element Parsed {"raw_longitude":759844736,"raw_latitude":109815016,"longitude_deg":75.9844736,"latitude_deg":10.9815016,"altitude":17,"angle":174,"satellites":44,"speed":0,"hex_longitude":"2d4a4f80","hex_latitude":"068ba4e8","is_valid_coordinates":true} 
[2026-07-01 06:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414173696001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332717265151590400,"note":"Value kept but may cause issues"} 
[2026-07-01 06:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5354639247567808512,"note":"Value kept but may cause issues"} 
[2026-07-01 06:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782867887000,"timestamp_ms":1782867887000,"timestamp_seconds":1782867887,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b350398"} 
[2026-07-01 06:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 06:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 06:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:37:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":118753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":118753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":118753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:37:03] 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-01 06:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414173696001,"66":27745,"82":206,"86":48896,"24":0,"16":332717265151590400,"45":5354639247567808512},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,86,24,16,45]} 
[2026-07-01 06:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414173696001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:37:03] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 06:37:03] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332717265151590400,"km_value":332717265151590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5354639247567808512,"description":"Unknown IO ID 45"} 
[2026-07-01 06:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414173696001,"power":27745,"unknown_82":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5354639247567808512}} 
[2026-07-01 06:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":118753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:37:03] local.INFO: GPS data processed {"connection_id":118753,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:37:03] local.INFO: Acknowledgment sent {"connection_id":118753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:37:21] local.INFO: TCP Data received {"connection_id":118755,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:37:21] local.INFO: Processing buffer {"connection_id":118755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:37:21] local.INFO: IMEI packet received {"connection_id":118755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 06:37:21] local.INFO: IMEI acknowledgment sent {"connection_id":118755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:37:22] local.INFO: TCP Data received {"connection_id":118755,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:37:22] local.INFO: Processing buffer {"connection_id":118755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:37:22] local.INFO: IMEI packet received {"connection_id":118755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":118755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:37:27] local.INFO: TCP Data received {"connection_id":118755,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:37:27] local.INFO: Processing buffer {"connection_id":118755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:37:27] local.INFO: IMEI packet received {"connection_id":118755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":118755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:37:27] local.INFO: TCP Data received {"connection_id":118755,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b3695f0012d49d180068c31200010012527..."} 
[2026-07-01 06:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b3695f0012d49d180068c31200010012527..."} 
[2026-07-01 06:37:27] local.INFO: Processing buffer {"connection_id":118755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b3695f0012d49d180068c31200010012527..."} 
[2026-07-01 06:37:27] local.INFO: Packet analysis {"connection_id":118755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b36"} 
[2026-07-01 06:37:27] local.INFO: Extracted packet for processing {"connection_id":118755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b36"} 
[2026-07-01 06:37:27] local.INFO: GPS Element Parsed {"raw_longitude":759812480,"raw_latitude":109850912,"longitude_deg":75.981248,"latitude_deg":10.9850912,"altitude":16,"angle":293,"satellites":39,"speed":52,"hex_longitude":"2d49d180","hex_latitude":"068c3120","is_valid_coordinates":true} 
[2026-07-01 06:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414203648001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332719648858439680,"note":"Value kept but may cause issues"} 
[2026-07-01 06:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5328462074741747712,"note":"Value kept but may cause issues"} 
[2026-07-01 06:37:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782867990000,"timestamp_ms":1782867990000,"timestamp_seconds":1782867990,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b3695f0"} 
[2026-07-01 06:37:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:37: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-01 06:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-01 06:37:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:37:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:37:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:37:27] 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-01 06:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414203648001,"66":27865,"85":206,"86":48896,"24":52,"16":332719648858439680,"45":5328462074741747712},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,86,24,16,45]} 
[2026-07-01 06:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414203648001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:37:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-07-01 06:37:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332719648858439680,"km_value":332719648858439.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5328462074741747712,"description":"Unknown IO ID 45"} 
[2026-07-01 06:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414203648001,"power":27865,"unknown_85":206,"unknown_86":48896,"ignition":52,"odometer":null,"unknown_45":5328462074741747712}} 
[2026-07-01 06:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":118755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:37:27] local.INFO: GPS data processed {"connection_id":118755,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:37:27] local.INFO: Acknowledgment sent {"connection_id":118755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:37:59] local.INFO: TCP Data received {"connection_id":118755,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b36b148012d49afc0068c3fb00011012627..."} 
[2026-07-01 06:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b36b148012d49afc0068c3fb00011012627..."} 
[2026-07-01 06:37:59] local.INFO: Processing buffer {"connection_id":118755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b36b148012d49afc0068c3fb00011012627..."} 
[2026-07-01 06:37:59] local.INFO: Packet analysis {"connection_id":118755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b36"} 
[2026-07-01 06:37:59] local.INFO: Extracted packet for processing {"connection_id":118755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b36"} 
[2026-07-01 06:37:59] local.INFO: GPS Element Parsed {"raw_longitude":759803840,"raw_latitude":109854640,"longitude_deg":75.980384,"latitude_deg":10.985464,"altitude":17,"angle":294,"satellites":39,"speed":53,"hex_longitude":"2d49afc0","hex_latitude":"068c3fb0","is_valid_coordinates":true} 
[2026-07-01 06: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-01 06:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414205440001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332720095535038464,"note":"Value kept but may cause issues"} 
[2026-07-01 06:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5319173400511455232,"note":"Value kept but may cause issues"} 
[2026-07-01 06:37:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782867997000,"timestamp_ms":1782867997000,"timestamp_seconds":1782867997,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b36b148"} 
[2026-07-01 06: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-01 06:37: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-01 06: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 06:37:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06: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-01 06: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-01 06:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:37:59] 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-01 06:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414205440001,"66":27865,"85":206,"86":48896,"24":53,"16":332720095535038464,"45":5319173400511455232},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,86,24,16,45]} 
[2026-07-01 06:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414205440001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:37:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-07-01 06:37:59] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332720095535038464,"km_value":332720095535038.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5319173400511455232,"description":"Unknown IO ID 45"} 
[2026-07-01 06:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414205440001,"power":27865,"unknown_85":206,"unknown_86":48896,"ignition":53,"odometer":null,"unknown_45":5319173400511455232}} 
[2026-07-01 06:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":118755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:37:59] local.INFO: GPS data processed {"connection_id":118755,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:37:59] local.INFO: Acknowledgment sent {"connection_id":118755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:38:21] local.INFO: TCP Data received {"connection_id":120627,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:38:21] local.INFO: Processing buffer {"connection_id":120627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:38:21] local.INFO: IMEI packet received {"connection_id":120627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 06:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":120627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:38:25] local.INFO: TCP Data received {"connection_id":120627,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:38:25] local.INFO: Processing buffer {"connection_id":120627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:38:25] local.INFO: IMEI packet received {"connection_id":120627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:38:25] local.INFO: IMEI acknowledgment sent {"connection_id":120627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:38:26] local.INFO: TCP Data received {"connection_id":120627,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:38:26] local.INFO: Processing buffer {"connection_id":120627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:38:26] local.INFO: IMEI packet received {"connection_id":120627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":120627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:38:27] local.INFO: TCP Data received {"connection_id":120627,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b36cca0012d498e80068c4e380012012729..."} 
[2026-07-01 06:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b36cca0012d498e80068c4e380012012729..."} 
[2026-07-01 06:38:27] local.INFO: Processing buffer {"connection_id":120627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b36cca0012d498e80068c4e380012012729..."} 
[2026-07-01 06:38:27] local.INFO: Packet analysis {"connection_id":120627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b36"} 
[2026-07-01 06:38:27] local.INFO: Extracted packet for processing {"connection_id":120627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b36"} 
[2026-07-01 06:38:27] local.INFO: GPS Element Parsed {"raw_longitude":759795328,"raw_latitude":109858360,"longitude_deg":75.9795328,"latitude_deg":10.985836,"altitude":18,"angle":295,"satellites":41,"speed":51,"hex_longitude":"2d498e80","hex_latitude":"068c4e38","is_valid_coordinates":true} 
[2026-07-01 06:38:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414207232001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332720542211637248,"note":"Value kept but may cause issues"} 
[2026-07-01 06:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5309673620048424960,"note":"Value kept but may cause issues"} 
[2026-07-01 06:38:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782868004000,"timestamp_ms":1782868004000,"timestamp_seconds":1782868004,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b36cca0"} 
[2026-07-01 06:38:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06: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-01 06:38:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 06:38:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:38:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:38:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:38:27] 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-01 06:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414207232001,"66":27887,"61":206,"86":48896,"24":51,"16":332720542211637248,"45":5309673620048424960},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,86,24,16,45]} 
[2026-07-01 06:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414207232001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:38:27] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 06:38:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332720542211637248,"km_value":332720542211637.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5309673620048424960,"description":"Unknown IO ID 45"} 
[2026-07-01 06:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414207232001,"power":27887,"unknown_61":206,"unknown_86":48896,"ignition":51,"odometer":null,"unknown_45":5309673620048424960}} 
[2026-07-01 06:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":120627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:38:27] local.INFO: GPS data processed {"connection_id":120627,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:38:27] local.INFO: Acknowledgment sent {"connection_id":120627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:38:59] local.INFO: TCP Data received {"connection_id":120627,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b36ebe0012d496b80068c61300015012f29..."} 
[2026-07-01 06:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b36ebe0012d496b80068c61300015012f29..."} 
[2026-07-01 06:38:59] local.INFO: Processing buffer {"connection_id":120627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b36ebe0012d496b80068c61300015012f29..."} 
[2026-07-01 06:38:59] local.INFO: Packet analysis {"connection_id":120627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b36"} 
[2026-07-01 06:38:59] local.INFO: Extracted packet for processing {"connection_id":120627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b36"} 
[2026-07-01 06:38:59] local.INFO: GPS Element Parsed {"raw_longitude":759786368,"raw_latitude":109863216,"longitude_deg":75.9786368,"latitude_deg":10.9863216,"altitude":21,"angle":303,"satellites":41,"speed":49,"hex_longitude":"2d496b80","hex_latitude":"068c6130","is_valid_coordinates":true} 
[2026-07-01 06: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-01 06:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414209024001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332721027542941696,"note":"Value kept but may cause issues"} 
[2026-07-01 06:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5300314577073747968,"note":"Value kept but may cause issues"} 
[2026-07-01 06:38:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782868012000,"timestamp_ms":1782868012000,"timestamp_seconds":1782868012,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b36ebe0"} 
[2026-07-01 06: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-01 06:38: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-01 06: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-01 06:38:59] 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-01 06: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-01 06: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-01 06:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":120627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":120627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":120627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:38:59] 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-01 06:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414209024001,"66":27767,"61":206,"86":48896,"24":49,"16":332721027542941696,"45":5300314577073747968},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,86,24,16,45]} 
[2026-07-01 06:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414209024001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:38:59] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 06:38:59] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332721027542941696,"km_value":332721027542941.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5300314577073747968,"description":"Unknown IO ID 45"} 
[2026-07-01 06:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414209024001,"power":27767,"unknown_61":206,"unknown_86":48896,"ignition":49,"odometer":null,"unknown_45":5300314577073747968}} 
[2026-07-01 06:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":120627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:38:59] local.INFO: GPS data processed {"connection_id":120627,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:38:59] local.INFO: Acknowledgment sent {"connection_id":120627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:39:27] local.INFO: TCP Data received {"connection_id":118876,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:39:27] local.INFO: Processing buffer {"connection_id":118876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:39:27] local.INFO: IMEI packet received {"connection_id":118876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 06:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":118876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:39:31] local.INFO: TCP Data received {"connection_id":118876,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:39:31] local.INFO: Processing buffer {"connection_id":118876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:39:31] local.INFO: IMEI packet received {"connection_id":118876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":118876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:39:32] local.INFO: TCP Data received {"connection_id":118876,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b382848012d48b600068da3b80020013d2b..."} 
[2026-07-01 06:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b382848012d48b600068da3b80020013d2b..."} 
[2026-07-01 06:39:32] local.INFO: Processing buffer {"connection_id":118876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b382848012d48b600068da3b80020013d2b..."} 
[2026-07-01 06:39:32] local.INFO: Packet analysis {"connection_id":118876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b38"} 
[2026-07-01 06:39:32] local.INFO: Extracted packet for processing {"connection_id":118876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b38"} 
[2026-07-01 06:39:32] local.INFO: GPS Element Parsed {"raw_longitude":759739904,"raw_latitude":109945784,"longitude_deg":75.9739904,"latitude_deg":10.9945784,"altitude":32,"angle":317,"satellites":43,"speed":34,"hex_longitude":"2d48b600","hex_latitude":"068da3b8","is_valid_coordinates":true} 
[2026-07-01 06:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414229248001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332725670402588672,"note":"Value kept but may cause issues"} 
[2026-07-01 06:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5245849169100720128,"note":"Value kept but may cause issues"} 
[2026-07-01 06:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782868093000,"timestamp_ms":1782868093000,"timestamp_seconds":1782868093,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b382848"} 
[2026-07-01 06:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:39:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 06:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 06:39:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:39:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":118876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":118876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":118876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 06:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414229248001,"66":27865,"61":206,"86":48896,"24":34,"16":332725670402588672,"45":5245849169100720128},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,86,24,16,45]} 
[2026-07-01 06:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414229248001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:39:32] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 06:39:32] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332725670402588672,"km_value":332725670402588.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5245849169100720128,"description":"Unknown IO ID 45"} 
[2026-07-01 06:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414229248001,"power":27865,"unknown_61":206,"unknown_86":48896,"ignition":34,"odometer":null,"unknown_45":5245849169100720128}} 
[2026-07-01 06:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":118876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:39:32] local.INFO: GPS data processed {"connection_id":118876,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:39:32] local.INFO: Acknowledgment sent {"connection_id":118876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:39:36] local.INFO: TCP Data received {"connection_id":119524,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 06:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119524,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 06:39:36] local.INFO: Processing buffer {"connection_id":119524,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 06:39:36] local.INFO: IMEI packet received {"connection_id":119524,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 06:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":119524,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:39:38] local.INFO: TCP Data received {"connection_id":118876,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b385728012d489b40068dbce0002301342b..."} 
[2026-07-01 06:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b385728012d489b40068dbce0002301342b..."} 
[2026-07-01 06:39:38] local.INFO: Processing buffer {"connection_id":118876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b385728012d489b40068dbce0002301342b..."} 
[2026-07-01 06:39:38] local.INFO: Packet analysis {"connection_id":118876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b38"} 
[2026-07-01 06:39:38] local.INFO: Extracted packet for processing {"connection_id":118876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b38"} 
[2026-07-01 06:39:38] local.INFO: GPS Element Parsed {"raw_longitude":759733056,"raw_latitude":109952224,"longitude_deg":75.9733056,"latitude_deg":10.9952224,"altitude":35,"angle":308,"satellites":43,"speed":27,"hex_longitude":"2d489b40","hex_latitude":"068dbce0","is_valid_coordinates":true} 
[2026-07-01 06:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414231808001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332726121374154752,"note":"Value kept but may cause issues"} 
[2026-07-01 06:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5239375244638271488,"note":"Value kept but may cause issues"} 
[2026-07-01 06:39:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782868105000,"timestamp_ms":1782868105000,"timestamp_seconds":1782868105,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b385728"} 
[2026-07-01 06:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 06:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 06:39:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":118876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":118876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":118876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 06:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414231808001,"66":27767,"61":206,"86":48896,"24":27,"16":332726121374154752,"45":5239375244638271488},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,86,24,16,45]} 
[2026-07-01 06:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414231808001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:39:38] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 06:39:38] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332726121374154752,"km_value":332726121374154.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":5239375244638271488,"description":"Unknown IO ID 45"} 
[2026-07-01 06:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414231808001,"power":27767,"unknown_61":206,"unknown_86":48896,"ignition":27,"odometer":null,"unknown_45":5239375244638271488}} 
[2026-07-01 06:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":118876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:39:38] local.INFO: GPS data processed {"connection_id":118876,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:39:38] local.INFO: Acknowledgment sent {"connection_id":118876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:40:21] local.INFO: TCP Data received {"connection_id":118757,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 06:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118757,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 06:40:21] local.INFO: Processing buffer {"connection_id":118757,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 06:40:21] local.INFO: IMEI packet received {"connection_id":118757,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 06:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":118757,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:40:22] local.INFO: TCP Data received {"connection_id":118758,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:40:22] local.INFO: Processing buffer {"connection_id":118758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:40:22] local.INFO: IMEI packet received {"connection_id":118758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 06:40:22] local.INFO: IMEI acknowledgment sent {"connection_id":118758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:40:22] local.INFO: TCP Data received {"connection_id":118758,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:40:22] local.INFO: Processing buffer {"connection_id":118758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:40:22] local.INFO: IMEI packet received {"connection_id":118758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:40:22] local.INFO: IMEI acknowledgment sent {"connection_id":118758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:40:27] local.INFO: TCP Data received {"connection_id":118758,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:40:27] local.INFO: Processing buffer {"connection_id":118758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:40:27] local.INFO: IMEI packet received {"connection_id":118758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":118758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:40:27] local.INFO: TCP Data received {"connection_id":118758,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b388dd8012d487d80068dd2180026012d2b..."} 
[2026-07-01 06:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b388dd8012d487d80068dd2180026012d2b..."} 
[2026-07-01 06:40:27] local.INFO: Processing buffer {"connection_id":118758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b388dd8012d487d80068dd2180026012d2b..."} 
[2026-07-01 06:40:27] local.INFO: Packet analysis {"connection_id":118758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b38"} 
[2026-07-01 06:40:27] local.INFO: Extracted packet for processing {"connection_id":118758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b38"} 
[2026-07-01 06:40:27] local.INFO: GPS Element Parsed {"raw_longitude":759725440,"raw_latitude":109957656,"longitude_deg":75.972544,"latitude_deg":10.9957656,"altitude":38,"angle":301,"satellites":43,"speed":28,"hex_longitude":"2d487d80","hex_latitude":"068dd218","is_valid_coordinates":true} 
[2026-07-01 06:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:40:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414234880001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:40:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332726572345720832,"note":"Value kept but may cause issues"} 
[2026-07-01 06:40:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5231845789012910080,"note":"Value kept but may cause issues"} 
[2026-07-01 06:40:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:40:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782868119000,"timestamp_ms":1782868119000,"timestamp_seconds":1782868119,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b388dd8"} 
[2026-07-01 06:40:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:40: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-01 06:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 06:40:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:40:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:40:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:40:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:40:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:40:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:40:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:40:27] 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-01 06:40:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:40:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:40:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414234880001,"66":27745,"73":206,"86":48896,"24":28,"16":332726572345720832,"45":5231845789012910080},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,86,24,16,45]} 
[2026-07-01 06:40:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:40:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:40:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414234880001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:40:27] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-01 06:40:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:40:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332726572345720832,"km_value":332726572345720.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:40:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5231845789012910080,"description":"Unknown IO ID 45"} 
[2026-07-01 06:40:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414234880001,"power":27745,"unknown_73":206,"unknown_86":48896,"ignition":28,"odometer":null,"unknown_45":5231845789012910080}} 
[2026-07-01 06:40:27] local.INFO: DEBUG: GPS processor result {"connection_id":118758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:40:27] local.INFO: GPS data processed {"connection_id":118758,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:40:27] local.INFO: Acknowledgment sent {"connection_id":118758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:40:33] local.INFO: TCP Data received {"connection_id":118758,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b38bcb8012d485e80068de2e0002a01262b..."} 
[2026-07-01 06:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b38bcb8012d485e80068de2e0002a01262b..."} 
[2026-07-01 06:40:33] local.INFO: Processing buffer {"connection_id":118758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b38bcb8012d485e80068de2e0002a01262b..."} 
[2026-07-01 06:40:33] local.INFO: Packet analysis {"connection_id":118758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b38"} 
[2026-07-01 06:40:33] local.INFO: Extracted packet for processing {"connection_id":118758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b38"} 
[2026-07-01 06:40:33] local.INFO: GPS Element Parsed {"raw_longitude":759717504,"raw_latitude":109961952,"longitude_deg":75.9717504,"latitude_deg":10.9961952,"altitude":42,"angle":294,"satellites":43,"speed":30,"hex_longitude":"2d485e80","hex_latitude":"068de2e0","is_valid_coordinates":true} 
[2026-07-01 06:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414238464001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332727001842450432,"note":"Value kept but may cause issues"} 
[2026-07-01 06:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5223471908457158656,"note":"Value kept but may cause issues"} 
[2026-07-01 06:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782868131000,"timestamp_ms":1782868131000,"timestamp_seconds":1782868131,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b38bcb8"} 
[2026-07-01 06:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:40:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 06:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 06:40:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:40:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":118758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":118758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":118758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 06:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414238464001,"66":27821,"73":206,"86":48896,"24":30,"16":332727001842450432,"45":5223471908457158656},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,86,24,16,45]} 
[2026-07-01 06:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414238464001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:40:33] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-01 06:40:33] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332727001842450432,"km_value":332727001842450.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5223471908457158656,"description":"Unknown IO ID 45"} 
[2026-07-01 06:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414238464001,"power":27821,"unknown_73":206,"unknown_86":48896,"ignition":30,"odometer":null,"unknown_45":5223471908457158656}} 
[2026-07-01 06:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":118758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:40:33] local.INFO: GPS data processed {"connection_id":118758,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:40:33] local.INFO: Acknowledgment sent {"connection_id":118758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:41:04] local.INFO: TCP Data received {"connection_id":118758,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b38e7b0012d483d00068def50002d011f2a..."} 
[2026-07-01 06:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b38e7b0012d483d00068def50002d011f2a..."} 
[2026-07-01 06:41:04] local.INFO: Processing buffer {"connection_id":118758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b38e7b0012d483d00068def50002d011f2a..."} 
[2026-07-01 06:41:04] local.INFO: Packet analysis {"connection_id":118758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b38"} 
[2026-07-01 06:41:04] local.INFO: Extracted packet for processing {"connection_id":118758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b38"} 
[2026-07-01 06:41:04] local.INFO: GPS Element Parsed {"raw_longitude":759708928,"raw_latitude":109965136,"longitude_deg":75.9708928,"latitude_deg":10.9965136,"altitude":45,"angle":287,"satellites":42,"speed":33,"hex_longitude":"2d483d00","hex_latitude":"068def50","is_valid_coordinates":true} 
[2026-07-01 06: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-01 06:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414241536001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332727435634147328,"note":"Value kept but may cause issues"} 
[2026-07-01 06:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5214746184180228096,"note":"Value kept but may cause issues"} 
[2026-07-01 06:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782868142000,"timestamp_ms":1782868142000,"timestamp_seconds":1782868142,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b38e7b0"} 
[2026-07-01 06: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-01 06:41:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 06:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 06:41:04] 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-01 06: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-01 06: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-01 06:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":118758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":118758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":118758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:41:04] 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-01 06:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414241536001,"66":27767,"62":206,"86":48896,"24":33,"16":332727435634147328,"45":5214746184180228096},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,86,24,16,45]} 
[2026-07-01 06:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414241536001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:41:04] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-07-01 06:41:04] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332727435634147328,"km_value":332727435634147.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5214746184180228096,"description":"Unknown IO ID 45"} 
[2026-07-01 06:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414241536001,"power":27767,"unknown_62":206,"unknown_86":48896,"ignition":33,"odometer":null,"unknown_45":5214746184180228096}} 
[2026-07-01 06:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":118758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:41:04] local.INFO: GPS data processed {"connection_id":118758,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:41:04] local.INFO: Acknowledgment sent {"connection_id":118758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:41:19] local.INFO: TCP Data received {"connection_id":119525,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:41:19] local.INFO: Processing buffer {"connection_id":119525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:41:19] local.INFO: IMEI packet received {"connection_id":119525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 06:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":119525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:41:42] local.INFO: TCP Data received {"connection_id":119525,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:41:42] local.INFO: Processing buffer {"connection_id":119525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:41:42] local.INFO: IMEI packet received {"connection_id":119525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:41:42] local.INFO: IMEI acknowledgment sent {"connection_id":119525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:41:44] local.INFO: TCP Data received {"connection_id":119525,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:41:44] local.INFO: Processing buffer {"connection_id":119525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:41:44] local.INFO: IMEI packet received {"connection_id":119525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":119525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:41:44] local.INFO: TCP Data received {"connection_id":119525,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b3912a8012d481800068df7880032011625..."} 
[2026-07-01 06:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b3912a8012d481800068df7880032011625..."} 
[2026-07-01 06:41:44] local.INFO: Processing buffer {"connection_id":119525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b3912a8012d481800068df7880032011625..."} 
[2026-07-01 06:41:44] local.INFO: Packet analysis {"connection_id":119525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b39"} 
[2026-07-01 06:41:44] local.INFO: Extracted packet for processing {"connection_id":119525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b39"} 
[2026-07-01 06:41:44] local.INFO: GPS Element Parsed {"raw_longitude":759699456,"raw_latitude":109967240,"longitude_deg":75.9699456,"latitude_deg":10.996724,"altitude":50,"angle":278,"satellites":37,"speed":35,"hex_longitude":"2d481800","hex_latitude":"068df788","is_valid_coordinates":true} 
[2026-07-01 06: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-01 06:41:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414244352001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:41:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332727899490615296,"note":"Value kept but may cause issues"} 
[2026-07-01 06:41:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5205316772461236224,"note":"Value kept but may cause issues"} 
[2026-07-01 06:41:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:41:44] local.INFO: AVL Record Parsed {"raw_timestamp":1782868153000,"timestamp_ms":1782868153000,"timestamp_seconds":1782868153,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b3912a8"} 
[2026-07-01 06: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-01 06:41:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 06: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 06:41:44] 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-01 06: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-01 06: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-01 06:41:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:41:44] local.INFO: Teltonika packet parsed successfully {"connection_id":119525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:41:44] local.INFO: Passing IMEI to GPS processor {"connection_id":119525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:41:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":119525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:41: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-01 06:41:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:41:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:41:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414244352001,"66":27800,"62":206,"86":48896,"24":35,"16":332727899490615296,"45":5205316772461236224},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,86,24,16,45]} 
[2026-07-01 06:41:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:41:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:41:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414244352001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:41:44] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-07-01 06:41:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:41:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332727899490615296,"km_value":332727899490615.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:41:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5205316772461236224,"description":"Unknown IO ID 45"} 
[2026-07-01 06:41:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414244352001,"power":27800,"unknown_62":206,"unknown_86":48896,"ignition":35,"odometer":null,"unknown_45":5205316772461236224}} 
[2026-07-01 06:41:44] local.INFO: DEBUG: GPS processor result {"connection_id":119525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:41:44] local.INFO: GPS data processed {"connection_id":119525,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:41:44] local.INFO: Acknowledgment sent {"connection_id":119525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:41:45] local.INFO: TCP Data received {"connection_id":119525,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b3939b8012d47f480068dfa700035010f20..."} 
[2026-07-01 06:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b3939b8012d47f480068dfa700035010f20..."} 
[2026-07-01 06:41:45] local.INFO: Processing buffer {"connection_id":119525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b3939b8012d47f480068dfa700035010f20..."} 
[2026-07-01 06:41:45] local.INFO: Packet analysis {"connection_id":119525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b39"} 
[2026-07-01 06:41:45] local.INFO: Extracted packet for processing {"connection_id":119525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b39"} 
[2026-07-01 06:41:45] local.INFO: GPS Element Parsed {"raw_longitude":759690368,"raw_latitude":109967984,"longitude_deg":75.9690368,"latitude_deg":10.9967984,"altitude":53,"angle":271,"satellites":32,"speed":36,"hex_longitude":"2d47f480","hex_latitude":"068dfa70","is_valid_coordinates":true} 
[2026-07-01 06: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-01 06:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414247168001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332728333282312192,"note":"Value kept but may cause issues"} 
[2026-07-01 06:41:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5194902198323480576,"note":"Value kept but may cause issues"} 
[2026-07-01 06:41:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782868163000,"timestamp_ms":1782868163000,"timestamp_seconds":1782868163,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b3939b8"} 
[2026-07-01 06: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-01 06:41:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 06: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":152,"data_length":795,"current_offset":136} 
[2026-07-01 06:41:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06: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-01 06: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-01 06:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":119525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":119525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":119525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:41: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-01 06:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414247168001,"66":27767,"73":206,"86":48896,"24":36,"16":332728333282312192,"45":5194902198323480576},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,86,24,16,45]} 
[2026-07-01 06:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414247168001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:41:45] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-01 06:41:45] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332728333282312192,"km_value":332728333282312.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:41:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":5194902198323480576,"description":"Unknown IO ID 45"} 
[2026-07-01 06:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414247168001,"power":27767,"unknown_73":206,"unknown_86":48896,"ignition":36,"odometer":null,"unknown_45":5194902198323480576}} 
[2026-07-01 06:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":119525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:41:45] local.INFO: GPS data processed {"connection_id":119525,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:41:45] local.INFO: Acknowledgment sent {"connection_id":119525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:42:20] local.INFO: TCP Data received {"connection_id":120628,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:42:20] local.INFO: Processing buffer {"connection_id":120628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:42:20] local.INFO: IMEI packet received {"connection_id":120628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 06:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":120628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:42:21] local.INFO: TCP Data received {"connection_id":120628,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:42:21] local.INFO: Processing buffer {"connection_id":120628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:42:21] local.INFO: IMEI packet received {"connection_id":120628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:42:21] local.INFO: IMEI acknowledgment sent {"connection_id":120628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:42:24] local.INFO: TCP Data received {"connection_id":120628,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:42:24] local.INFO: Processing buffer {"connection_id":120628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:42:24] local.INFO: IMEI packet received {"connection_id":120628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":120628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:42:27] local.INFO: TCP Data received {"connection_id":120628,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:42:27] local.INFO: Processing buffer {"connection_id":120628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:42:27] local.INFO: IMEI packet received {"connection_id":120628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":120628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:42:28] local.INFO: TCP Data received {"connection_id":120628,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b3b02c0012d468700068df9080059013726..."} 
[2026-07-01 06:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b3b02c0012d468700068df9080059013726..."} 
[2026-07-01 06:42:28] local.INFO: Processing buffer {"connection_id":120628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b3b02c0012d468700068df9080059013726..."} 
[2026-07-01 06:42:28] local.INFO: Packet analysis {"connection_id":120628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b3b"} 
[2026-07-01 06:42:28] local.INFO: Extracted packet for processing {"connection_id":120628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b3b"} 
[2026-07-01 06:42:28] local.INFO: GPS Element Parsed {"raw_longitude":759596800,"raw_latitude":109967624,"longitude_deg":75.95968,"latitude_deg":10.9967624,"altitude":89,"angle":311,"satellites":38,"speed":44,"hex_longitude":"2d468700","hex_latitude":"068df908","is_valid_coordinates":true} 
[2026-07-01 06:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414278144001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332732963257057280,"note":"Value kept but may cause issues"} 
[2026-07-01 06:42:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5087730600940068864,"note":"Value kept but may cause issues"} 
[2026-07-01 06:42:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:42:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782868280000,"timestamp_ms":1782868280000,"timestamp_seconds":1782868280,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b3b02c0"} 
[2026-07-01 06:42:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:42:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 06:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 06:42:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:42:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:42:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:42:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:42:28] local.INFO: Teltonika packet parsed successfully {"connection_id":120628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:42:28] local.INFO: Passing IMEI to GPS processor {"connection_id":120628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:42:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":120628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:42:28] 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-01 06:42:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:42:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:42:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414278144001,"66":27974,"170":206,"86":48896,"24":44,"16":332732963257057280,"45":5087730600940068864},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,86,24,16,45]} 
[2026-07-01 06:42:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:42:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:42:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414278144001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:42:28] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-01 06:42:28] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:42:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332732963257057280,"km_value":332732963257057.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:42:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5087730600940068864,"description":"Unknown IO ID 45"} 
[2026-07-01 06:42:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414278144001,"power":27974,"unknown_170":206,"unknown_86":48896,"ignition":44,"odometer":null,"unknown_45":5087730600940068864}} 
[2026-07-01 06:42:28] local.INFO: DEBUG: GPS processor result {"connection_id":120628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:42:28] local.INFO: GPS data processed {"connection_id":120628,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:42:28] local.INFO: Acknowledgment sent {"connection_id":120628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:42:29] local.INFO: TCP Data received {"connection_id":120628,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b3b1648012d467780068e0a300058014226..."} 
[2026-07-01 06:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b3b1648012d467780068e0a300058014226..."} 
[2026-07-01 06:42:29] local.INFO: Processing buffer {"connection_id":120628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b3b1648012d467780068e0a300058014226..."} 
[2026-07-01 06:42:29] local.INFO: Packet analysis {"connection_id":120628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b3b"} 
[2026-07-01 06:42:29] local.INFO: Extracted packet for processing {"connection_id":120628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b3b"} 
[2026-07-01 06:42:29] local.INFO: GPS Element Parsed {"raw_longitude":759592832,"raw_latitude":109972016,"longitude_deg":75.9592832,"latitude_deg":10.9972016,"altitude":88,"angle":322,"satellites":38,"speed":50,"hex_longitude":"2d467780","hex_latitude":"068e0a30","is_valid_coordinates":true} 
[2026-07-01 06: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-01 06:42:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414279680001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:42:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332733246724898816,"note":"Value kept but may cause issues"} 
[2026-07-01 06:42:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5082030732662605824,"note":"Value kept but may cause issues"} 
[2026-07-01 06:42:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:42:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782868285000,"timestamp_ms":1782868285000,"timestamp_seconds":1782868285,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b3b1648"} 
[2026-07-01 06: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-01 06:42:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 06: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-01 06:42:29] 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-01 06: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-01 06: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-01 06:42:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:42:29] local.INFO: Teltonika packet parsed successfully {"connection_id":120628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:42:29] local.INFO: Passing IMEI to GPS processor {"connection_id":120628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:42:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":120628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:42:29] 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-01 06:42:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:42:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:42:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414279680001,"66":27843,"170":206,"86":48896,"24":50,"16":332733246724898816,"45":5082030732662605824},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,86,24,16,45]} 
[2026-07-01 06:42:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:42:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:42:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414279680001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:42:29] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-01 06:42:29] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:42:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332733246724898816,"km_value":332733246724898.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:42:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5082030732662605824,"description":"Unknown IO ID 45"} 
[2026-07-01 06:42:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414279680001,"power":27843,"unknown_170":206,"unknown_86":48896,"ignition":50,"odometer":null,"unknown_45":5082030732662605824}} 
[2026-07-01 06:42:29] local.INFO: DEBUG: GPS processor result {"connection_id":120628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:42:29] local.INFO: GPS data processed {"connection_id":120628,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:42:29] local.INFO: Acknowledgment sent {"connection_id":120628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:43:00] local.INFO: TCP Data received {"connection_id":120628,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b3b31a0012d466100068e27a00056014228..."} 
[2026-07-01 06:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b3b31a0012d466100068e27a00056014228..."} 
[2026-07-01 06:43:01] local.INFO: Processing buffer {"connection_id":120628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b3b31a0012d466100068e27a00056014228..."} 
[2026-07-01 06:43:01] local.INFO: Packet analysis {"connection_id":120628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b3b"} 
[2026-07-01 06:43:01] local.INFO: Extracted packet for processing {"connection_id":120628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b3b"} 
[2026-07-01 06:43:01] local.INFO: GPS Element Parsed {"raw_longitude":759587072,"raw_latitude":109979552,"longitude_deg":75.9587072,"latitude_deg":10.9979552,"altitude":86,"angle":322,"satellites":40,"speed":56,"hex_longitude":"2d466100","hex_latitude":"068e27a0","is_valid_coordinates":true} 
[2026-07-01 06:43:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:43:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414280960001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:43:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332733701991432192,"note":"Value kept but may cause issues"} 
[2026-07-01 06:43:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5077667870524715008,"note":"Value kept but may cause issues"} 
[2026-07-01 06:43:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:43:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782868292000,"timestamp_ms":1782868292000,"timestamp_seconds":1782868292,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b3b31a0"} 
[2026-07-01 06:43:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:43:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 06:43:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 06:43:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:43:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:43:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:43:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:43:01] local.INFO: Teltonika packet parsed successfully {"connection_id":120628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:43:01] local.INFO: Passing IMEI to GPS processor {"connection_id":120628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:43:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":120628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:43:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 06:43:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:43:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:43:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414280960001,"66":27908,"170":206,"86":48896,"24":56,"16":332733701991432192,"45":5077667870524715008},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,86,24,16,45]} 
[2026-07-01 06:43:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:43:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:43:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414280960001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:43:01] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-01 06:43:01] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:43:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332733701991432192,"km_value":332733701991432.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:43:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5077667870524715008,"description":"Unknown IO ID 45"} 
[2026-07-01 06:43:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414280960001,"power":27908,"unknown_170":206,"unknown_86":48896,"ignition":56,"odometer":null,"unknown_45":5077667870524715008}} 
[2026-07-01 06:43:01] local.INFO: DEBUG: GPS processor result {"connection_id":120628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:43:01] local.INFO: GPS data processed {"connection_id":120628,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:43:01] local.INFO: Acknowledgment sent {"connection_id":120628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:43:21] local.INFO: TCP Data received {"connection_id":120629,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:43:21] local.INFO: Processing buffer {"connection_id":120629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:43:21] local.INFO: IMEI packet received {"connection_id":120629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 06:43:21] local.INFO: IMEI acknowledgment sent {"connection_id":120629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:43:22] local.INFO: TCP Data received {"connection_id":120629,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:43:22] local.INFO: Processing buffer {"connection_id":120629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:43:22] local.INFO: IMEI packet received {"connection_id":120629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:43:22] local.INFO: IMEI acknowledgment sent {"connection_id":120629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:43:27] local.INFO: TCP Data received {"connection_id":120629,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:43:27] local.INFO: Processing buffer {"connection_id":120629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:43:27] local.INFO: IMEI packet received {"connection_id":120629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":120629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:43:28] local.INFO: TCP Data received {"connection_id":120629,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b3b4cf8012d464a80068e47d80053014926..."} 
[2026-07-01 06:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b3b4cf8012d464a80068e47d80053014926..."} 
[2026-07-01 06:43:28] local.INFO: Processing buffer {"connection_id":120629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b3b4cf8012d464a80068e47d80053014926..."} 
[2026-07-01 06:43:28] local.INFO: Packet analysis {"connection_id":120629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b3b"} 
[2026-07-01 06:43:28] local.INFO: Extracted packet for processing {"connection_id":120629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b3b"} 
[2026-07-01 06:43:28] local.INFO: GPS Element Parsed {"raw_longitude":759581312,"raw_latitude":109987800,"longitude_deg":75.9581312,"latitude_deg":10.99878,"altitude":83,"angle":329,"satellites":38,"speed":57,"hex_longitude":"2d464a80","hex_latitude":"068e47d8","is_valid_coordinates":true} 
[2026-07-01 06: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-01 06:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414282752001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332734187322736640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:43:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5071334683550654464,"note":"Value kept but may cause issues"} 
[2026-07-01 06:43:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782868299000,"timestamp_ms":1782868299000,"timestamp_seconds":1782868299,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b3b4cf8"} 
[2026-07-01 06: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-01 06:43:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 06: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 06:43:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06: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-01 06: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-01 06:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":120629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":120629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":120629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:43:28] 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-01 06:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414282752001,"66":27876,"48":206,"86":48896,"24":57,"16":332734187322736640,"45":5071334683550654464},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,86,24,16,45]} 
[2026-07-01 06:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414282752001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:43:28] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-07-01 06:43:28] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332734187322736640,"km_value":332734187322736.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:43:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5071334683550654464,"description":"Unknown IO ID 45"} 
[2026-07-01 06:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414282752001,"power":27876,"unknown_48":206,"unknown_86":48896,"ignition":57,"odometer":null,"unknown_45":5071334683550654464}} 
[2026-07-01 06:43:28] local.INFO: DEBUG: GPS processor result {"connection_id":120629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:43:28] local.INFO: GPS data processed {"connection_id":120629,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:43:28] local.INFO: Acknowledgment sent {"connection_id":120629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:43:59] local.INFO: TCP Data received {"connection_id":120629,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b3c9900012d45c640069005e80043014329..."} 
[2026-07-01 06:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b3c9900012d45c640069005e80043014329..."} 
[2026-07-01 06:43:59] local.INFO: Processing buffer {"connection_id":120629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b3c9900012d45c640069005e80043014329..."} 
[2026-07-01 06:43:59] local.INFO: Packet analysis {"connection_id":120629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b3c"} 
[2026-07-01 06:43:59] local.INFO: Extracted packet for processing {"connection_id":120629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b3c"} 
[2026-07-01 06:43:59] local.INFO: GPS Element Parsed {"raw_longitude":759547456,"raw_latitude":110101992,"longitude_deg":75.9547456,"latitude_deg":11.0101992,"altitude":67,"angle":323,"satellites":41,"speed":49,"hex_longitude":"2d45c640","hex_latitude":"069005e8","is_valid_coordinates":true} 
[2026-07-01 06: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-01 06:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414304256001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:43:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332740067132964864,"note":"Value kept but may cause issues"} 
[2026-07-01 06:43:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5034250355398316032,"note":"Value kept but may cause issues"} 
[2026-07-01 06:43:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:43:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782868384000,"timestamp_ms":1782868384000,"timestamp_seconds":1782868384,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b3c9900"} 
[2026-07-01 06: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-01 06:43: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-01 06: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 06:43:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06: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-01 06: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-01 06:43:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:43:59] local.INFO: Teltonika packet parsed successfully {"connection_id":120629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:43:59] local.INFO: Passing IMEI to GPS processor {"connection_id":120629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:43:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":120629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:43:59] 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-01 06:43:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:43:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:43:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414304256001,"66":27974,"171":206,"86":48896,"24":49,"16":332740067132964864,"45":5034250355398316032},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,86,24,16,45]} 
[2026-07-01 06:43:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:43:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:43:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414304256001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:43:59] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-07-01 06:43:59] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:43:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332740067132964864,"km_value":332740067132964.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:43:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5034250355398316032,"description":"Unknown IO ID 45"} 
[2026-07-01 06:43:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414304256001,"power":27974,"unknown_171":206,"unknown_86":48896,"ignition":49,"odometer":null,"unknown_45":5034250355398316032}} 
[2026-07-01 06:43:59] local.INFO: DEBUG: GPS processor result {"connection_id":120629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:43:59] local.INFO: GPS data processed {"connection_id":120629,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:43:59] local.INFO: Acknowledgment sent {"connection_id":120629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:44:21] local.INFO: TCP Data received {"connection_id":118759,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:44:21] local.INFO: Processing buffer {"connection_id":118759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:44:21] local.INFO: IMEI packet received {"connection_id":118759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 06:44:21] local.INFO: IMEI acknowledgment sent {"connection_id":118759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:44:27] local.INFO: TCP Data received {"connection_id":118759,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:44:27] local.INFO: Processing buffer {"connection_id":118759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:44:27] local.INFO: IMEI packet received {"connection_id":118759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":118759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:44:28] local.INFO: TCP Data received {"connection_id":118759,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b3cb840012d45ae80069024680042014029..."} 
[2026-07-01 06:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b3cb840012d45ae80069024680042014029..."} 
[2026-07-01 06:44:28] local.INFO: Processing buffer {"connection_id":118759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b3cb840012d45ae80069024680042014029..."} 
[2026-07-01 06:44:28] local.INFO: Packet analysis {"connection_id":118759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b3c"} 
[2026-07-01 06:44:28] local.INFO: Extracted packet for processing {"connection_id":118759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b3c"} 
[2026-07-01 06:44:28] local.INFO: GPS Element Parsed {"raw_longitude":759541376,"raw_latitude":110109800,"longitude_deg":75.9541376,"latitude_deg":11.01098,"altitude":66,"angle":320,"satellites":41,"speed":48,"hex_longitude":"2d45ae80","hex_latitude":"06902468","is_valid_coordinates":true} 
[2026-07-01 06:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414306304001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332740543874334720,"note":"Value kept but may cause issues"} 
[2026-07-01 06:44:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5027776430936025088,"note":"Value kept but may cause issues"} 
[2026-07-01 06:44:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782868392000,"timestamp_ms":1782868392000,"timestamp_seconds":1782868392,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b3cb840"} 
[2026-07-01 06:44:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:44:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 06:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-01 06:44:28] 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-01 06:44:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:44:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:44:28] 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-01 06:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414306304001,"66":27995,"171":206,"86":48896,"24":48,"16":332740543874334720,"45":5027776430936025088},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,86,24,16,45]} 
[2026-07-01 06:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414306304001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:44:28] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-07-01 06:44:28] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332740543874334720,"km_value":332740543874334.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:44:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5027776430936025088,"description":"Unknown IO ID 45"} 
[2026-07-01 06:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414306304001,"power":27995,"unknown_171":206,"unknown_86":48896,"ignition":48,"odometer":null,"unknown_45":5027776430936025088}} 
[2026-07-01 06:44:28] local.INFO: DEBUG: GPS processor result {"connection_id":118759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:44:28] local.INFO: GPS data processed {"connection_id":118759,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:44:28] local.INFO: Acknowledgment sent {"connection_id":118759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:45:08] local.INFO: TCP Data received {"connection_id":118759,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b3cd780012d4592c006903fd80042013728..."} 
[2026-07-01 06:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b3cd780012d4592c006903fd80042013728..."} 
[2026-07-01 06:45:08] local.INFO: Processing buffer {"connection_id":118759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b3cd780012d4592c006903fd80042013728..."} 
[2026-07-01 06:45:08] local.INFO: Packet analysis {"connection_id":118759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b3c"} 
[2026-07-01 06:45:08] local.INFO: Extracted packet for processing {"connection_id":118759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b3c"} 
[2026-07-01 06:45:08] local.INFO: GPS Element Parsed {"raw_longitude":759534272,"raw_latitude":110116824,"longitude_deg":75.9534272,"latitude_deg":11.0116824,"altitude":66,"angle":311,"satellites":40,"speed":50,"hex_longitude":"2d4592c0","hex_latitude":"06903fd8","is_valid_coordinates":true} 
[2026-07-01 06:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414308352001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332741024910671872,"note":"Value kept but may cause issues"} 
[2026-07-01 06:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5021091400241145856,"note":"Value kept but may cause issues"} 
[2026-07-01 06:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782868400000,"timestamp_ms":1782868400000,"timestamp_seconds":1782868400,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b3cd780"} 
[2026-07-01 06:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 06:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-01 06:45:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:45:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":118759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":118759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":118759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 06:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414308352001,"66":27995,"171":206,"86":48896,"24":50,"16":332741024910671872,"45":5021091400241145856},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,86,24,16,45]} 
[2026-07-01 06:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414308352001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:45:08] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-07-01 06:45:08] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332741024910671872,"km_value":332741024910671.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":5021091400241145856,"description":"Unknown IO ID 45"} 
[2026-07-01 06:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414308352001,"power":27995,"unknown_171":206,"unknown_86":48896,"ignition":50,"odometer":null,"unknown_45":5021091400241145856}} 
[2026-07-01 06:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":118759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:45:08] local.INFO: GPS data processed {"connection_id":118759,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:45:08] local.INFO: Acknowledgment sent {"connection_id":118759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:45:36] local.INFO: TCP Data received {"connection_id":119527,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:45:36] local.INFO: Processing buffer {"connection_id":119527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:45:36] local.INFO: IMEI packet received {"connection_id":119527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 06:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":119527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:45:37] local.INFO: TCP Data received {"connection_id":119527,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:45:37] local.INFO: Processing buffer {"connection_id":119527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:45:37] local.INFO: IMEI packet received {"connection_id":119527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":119527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:45:41] local.INFO: TCP Data received {"connection_id":118879,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 06:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118879,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 06:45:41] local.INFO: Processing buffer {"connection_id":118879,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 06:45:41] local.INFO: IMEI packet received {"connection_id":118879,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 06:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":118879,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:45:41] local.INFO: TCP Data received {"connection_id":119527,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:45:42] local.INFO: Processing buffer {"connection_id":119527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:45:42] local.INFO: IMEI packet received {"connection_id":119527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:45:42] local.INFO: IMEI acknowledgment sent {"connection_id":119527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:45:44] local.INFO: TCP Data received {"connection_id":119527,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b3e0830012d44b880069199f80033016028..."} 
[2026-07-01 06:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b3e0830012d44b880069199f80033016028..."} 
[2026-07-01 06:45:44] local.INFO: Processing buffer {"connection_id":119527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b3e0830012d44b880069199f80033016028..."} 
[2026-07-01 06:45:44] local.INFO: Packet analysis {"connection_id":119527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b3e"} 
[2026-07-01 06:45:44] local.INFO: Extracted packet for processing {"connection_id":119527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b3e"} 
[2026-07-01 06:45:44] local.INFO: GPS Element Parsed {"raw_longitude":759478400,"raw_latitude":110205432,"longitude_deg":75.94784,"latitude_deg":11.0205432,"altitude":51,"angle":352,"satellites":40,"speed":58,"hex_longitude":"2d44b880","hex_latitude":"069199f8","is_valid_coordinates":true} 
[2026-07-01 06: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-01 06:45:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414328576001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:45:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332746165986525184,"note":"Value kept but may cause issues"} 
[2026-07-01 06:45:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4954170724550131712,"note":"Value kept but may cause issues"} 
[2026-07-01 06:45:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:45:44] local.INFO: AVL Record Parsed {"raw_timestamp":1782868478000,"timestamp_ms":1782868478000,"timestamp_seconds":1782868478,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b3e0830"} 
[2026-07-01 06: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-01 06:45:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 06: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 06:45:44] 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-01 06: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-01 06: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-01 06:45:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:45:44] local.INFO: Teltonika packet parsed successfully {"connection_id":119527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:45:44] local.INFO: Passing IMEI to GPS processor {"connection_id":119527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:45:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":119527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:45: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-01 06:45:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:45:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:45:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414328576001,"66":27908,"253":206,"86":48896,"24":58,"16":332746165986525184,"45":4954170724550131712},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,86,24,16,45]} 
[2026-07-01 06:45:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:45:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:45:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414328576001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:45:44] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-07-01 06:45:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:45:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332746165986525184,"km_value":332746165986525.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:45:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":4954170724550131712,"description":"Unknown IO ID 45"} 
[2026-07-01 06:45:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414328576001,"power":27908,"unknown_253":206,"unknown_86":48896,"ignition":58,"odometer":null,"unknown_45":4954170724550131712}} 
[2026-07-01 06:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":119527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:45:44] local.INFO: GPS data processed {"connection_id":119527,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:45:44] local.INFO: Acknowledgment sent {"connection_id":119527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:46:16] local.INFO: TCP Data received {"connection_id":118880,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 06:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118880,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 06:46:16] local.INFO: Processing buffer {"connection_id":118880,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 06:46:16] local.INFO: IMEI packet received {"connection_id":118880,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 06:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":118880,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:46:21] local.INFO: TCP Data received {"connection_id":120631,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:46:21] local.INFO: Processing buffer {"connection_id":120631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:46:21] local.INFO: IMEI packet received {"connection_id":120631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 06:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":120631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:46:22] local.INFO: TCP Data received {"connection_id":120631,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:46:22] local.INFO: Processing buffer {"connection_id":120631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:46:22] local.INFO: IMEI packet received {"connection_id":120631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:46:22] local.INFO: IMEI acknowledgment sent {"connection_id":120631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:46:26] local.INFO: TCP Data received {"connection_id":120631,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:46:26] local.INFO: Processing buffer {"connection_id":120631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:46:26] local.INFO: IMEI packet received {"connection_id":120631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":120631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:46:28] local.INFO: TCP Data received {"connection_id":120631,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b3e2388012d44b4c00691c1a00031016628..."} 
[2026-07-01 06:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b3e2388012d44b4c00691c1a00031016628..."} 
[2026-07-01 06:46:28] local.INFO: Processing buffer {"connection_id":120631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b3e2388012d44b4c00691c1a00031016628..."} 
[2026-07-01 06:46:28] local.INFO: Packet analysis {"connection_id":120631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b3e"} 
[2026-07-01 06:46:28] local.INFO: Extracted packet for processing {"connection_id":120631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b3e"} 
[2026-07-01 06:46:28] local.INFO: GPS Element Parsed {"raw_longitude":759477440,"raw_latitude":110215584,"longitude_deg":75.947744,"latitude_deg":11.0215584,"altitude":49,"angle":358,"satellites":40,"speed":57,"hex_longitude":"2d44b4c0","hex_latitude":"0691c1a0","is_valid_coordinates":true} 
[2026-07-01 06: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-01 06:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414330368001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332746664202731520,"note":"Value kept but may cause issues"} 
[2026-07-01 06:46:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4951848555994806272,"note":"Value kept but may cause issues"} 
[2026-07-01 06:46:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782868485000,"timestamp_ms":1782868485000,"timestamp_seconds":1782868485,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b3e2388"} 
[2026-07-01 06: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-01 06:46:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 06: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 06:46:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06: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-01 06: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-01 06:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":120631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":120631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":120631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:46:28] 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-01 06:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414330368001,"66":27169,"253":206,"86":48896,"24":57,"16":332746664202731520,"45":4951848555994806272},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,86,24,16,45]} 
[2026-07-01 06:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414330368001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:46:28] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-07-01 06:46:28] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-07-01 06:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332746664202731520,"km_value":332746664202731.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:46:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":4951848555994806272,"description":"Unknown IO ID 45"} 
[2026-07-01 06:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414330368001,"power":27169,"unknown_253":206,"unknown_86":48896,"ignition":57,"odometer":null,"unknown_45":4951848555994806272}} 
[2026-07-01 06:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":120631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:46:28] local.INFO: GPS data processed {"connection_id":120631,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:46:28] local.INFO: Acknowledgment sent {"connection_id":120631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:46:59] local.INFO: TCP Data received {"connection_id":120631,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b3f5ff0012d43ce800692f8700028014827..."} 
[2026-07-01 06:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b3f5ff0012d43ce800692f8700028014827..."} 
[2026-07-01 06:46:59] local.INFO: Processing buffer {"connection_id":120631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b3f5ff0012d43ce800692f8700028014827..."} 
[2026-07-01 06:46:59] local.INFO: Packet analysis {"connection_id":120631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b3f"} 
[2026-07-01 06:46:59] local.INFO: Extracted packet for processing {"connection_id":120631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b3f"} 
[2026-07-01 06:46:59] local.INFO: GPS Element Parsed {"raw_longitude":759418496,"raw_latitude":110295152,"longitude_deg":75.9418496,"latitude_deg":11.0295152,"altitude":40,"angle":328,"satellites":39,"speed":52,"hex_longitude":"2d43ce80","hex_latitude":"0692f870","is_valid_coordinates":true} 
[2026-07-01 06: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-01 06:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414351104001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332751994257145856,"note":"Value kept but may cause issues"} 
[2026-07-01 06:46:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4891753648488163328,"note":"Value kept but may cause issues"} 
[2026-07-01 06:46:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782868566000,"timestamp_ms":1782868566000,"timestamp_seconds":1782868566,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b3f5ff0"} 
[2026-07-01 06: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-01 06:46: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-01 06:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 06:46:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06: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-01 06: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-01 06:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":120631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":120631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":120631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:46:59] 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-01 06:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414351104001,"66":27908,"212":206,"86":48640,"24":52,"16":332751994257145856,"45":4891753648488163328},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,86,24,16,45]} 
[2026-07-01 06:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414351104001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:46:59] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-07-01 06:46:59] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-07-01 06:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332751994257145856,"km_value":332751994257145.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:46:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":4891753648488163328,"description":"Unknown IO ID 45"} 
[2026-07-01 06:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414351104001,"power":27908,"unknown_212":206,"unknown_86":48640,"ignition":52,"odometer":null,"unknown_45":4891753648488163328}} 
[2026-07-01 06:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":120631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:46:59] local.INFO: GPS data processed {"connection_id":120631,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:46:59] local.INFO: Acknowledgment sent {"connection_id":120631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:47:21] local.INFO: TCP Data received {"connection_id":119529,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:47:21] local.INFO: Processing buffer {"connection_id":119529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:47:21] local.INFO: IMEI packet received {"connection_id":119529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 06:47:21] local.INFO: IMEI acknowledgment sent {"connection_id":119529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:47:22] local.INFO: TCP Data received {"connection_id":119529,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:47:22] local.INFO: Processing buffer {"connection_id":119529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:47:22] local.INFO: IMEI packet received {"connection_id":119529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:47:22] local.INFO: IMEI acknowledgment sent {"connection_id":119529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:47:27] local.INFO: TCP Data received {"connection_id":119529,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:47:27] local.INFO: Processing buffer {"connection_id":119529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:47:27] local.INFO: IMEI packet received {"connection_id":119529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":119529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:47:28] local.INFO: TCP Data received {"connection_id":119529,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b3f7b48012d43bac0069317b00029014829..."} 
[2026-07-01 06:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b3f7b48012d43bac0069317b00029014829..."} 
[2026-07-01 06:47:28] local.INFO: Processing buffer {"connection_id":119529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b3f7b48012d43bac0069317b00029014829..."} 
[2026-07-01 06:47:28] local.INFO: Packet analysis {"connection_id":119529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b3f"} 
[2026-07-01 06:47:28] local.INFO: Extracted packet for processing {"connection_id":119529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b3f"} 
[2026-07-01 06:47:28] local.INFO: GPS Element Parsed {"raw_longitude":759413440,"raw_latitude":110303152,"longitude_deg":75.941344,"latitude_deg":11.0303152,"altitude":41,"angle":328,"satellites":41,"speed":53,"hex_longitude":"2d43bac0","hex_latitude":"069317b0","is_valid_coordinates":true} 
[2026-07-01 06:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:47:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414352896001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:47:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332752449523679232,"note":"Value kept but may cause issues"} 
[2026-07-01 06:47:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4885983411467481088,"note":"Value kept but may cause issues"} 
[2026-07-01 06:47:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:47:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782868573000,"timestamp_ms":1782868573000,"timestamp_seconds":1782868573,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b3f7b48"} 
[2026-07-01 06:47:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:47:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 06:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 06:47:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:47:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:47:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:47:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:47:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:47:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:47:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:47:28] 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-01 06:47:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:47:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:47:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414352896001,"66":27995,"212":206,"86":48640,"24":53,"16":332752449523679232,"45":4885983411467481088},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,86,24,16,45]} 
[2026-07-01 06:47:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:47:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:47:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414352896001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:47:28] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-07-01 06:47:28] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-07-01 06:47:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332752449523679232,"km_value":332752449523679.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:47:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":4885983411467481088,"description":"Unknown IO ID 45"} 
[2026-07-01 06:47:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414352896001,"power":27995,"unknown_212":206,"unknown_86":48640,"ignition":53,"odometer":null,"unknown_45":4885983411467481088}} 
[2026-07-01 06:47:28] local.INFO: DEBUG: GPS processor result {"connection_id":119529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:47:28] local.INFO: GPS data processed {"connection_id":119529,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:47:28] local.INFO: Acknowledgment sent {"connection_id":119529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:48:00] local.INFO: TCP Data received {"connection_id":119529,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b404a50012d4325c006942c28001b000f29..."} 
[2026-07-01 06:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b404a50012d4325c006942c28001b000f29..."} 
[2026-07-01 06:48:00] local.INFO: Processing buffer {"connection_id":119529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b404a50012d4325c006942c28001b000f29..."} 
[2026-07-01 06:48:00] local.INFO: Packet analysis {"connection_id":119529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b40"} 
[2026-07-01 06:48:00] local.INFO: Extracted packet for processing {"connection_id":119529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b40"} 
[2026-07-01 06:48:00] local.INFO: GPS Element Parsed {"raw_longitude":759375296,"raw_latitude":110373928,"longitude_deg":75.9375296,"latitude_deg":11.0373928,"altitude":27,"angle":15,"satellites":41,"speed":61,"hex_longitude":"2d4325c0","hex_latitude":"06942c28","is_valid_coordinates":true} 
[2026-07-01 06: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-01 06:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414367488001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332756435253329920,"note":"Value kept but may cause issues"} 
[2026-07-01 06:48:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4837499346748055552,"note":"Value kept but may cause issues"} 
[2026-07-01 06:48:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782868626000,"timestamp_ms":1782868626000,"timestamp_seconds":1782868626,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b404a50"} 
[2026-07-01 06: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-01 06:48:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 06: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-01 06:48:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06: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-01 06: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-01 06:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":119529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":119529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":119529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:48:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 06:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414367488001,"66":27876,"197":206,"86":48640,"24":61,"16":332756435253329920,"45":4837499346748055552},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,86,24,16,45]} 
[2026-07-01 06:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414367488001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:48:00] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-01 06:48:00] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-07-01 06:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332756435253329920,"km_value":332756435253329.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:48:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":4837499346748055552,"description":"Unknown IO ID 45"} 
[2026-07-01 06:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414367488001,"power":27876,"unknown_197":206,"unknown_86":48640,"ignition":61,"odometer":null,"unknown_45":4837499346748055552}} 
[2026-07-01 06:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":119529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:48:00] local.INFO: GPS data processed {"connection_id":119529,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:48:00] local.INFO: Acknowledgment sent {"connection_id":119529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:48:27] local.INFO: TCP Data received {"connection_id":118760,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:48:27] local.INFO: Processing buffer {"connection_id":118760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:48:27] local.INFO: IMEI packet received {"connection_id":118760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 06:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":118760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:48:33] local.INFO: TCP Data received {"connection_id":118760,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:48:33] local.INFO: Processing buffer {"connection_id":118760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:48:33] local.INFO: IMEI packet received {"connection_id":118760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":118760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:48:41] local.INFO: TCP Data received {"connection_id":118760,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b4061c0012d43330006944d800019001729..."} 
[2026-07-01 06:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b4061c0012d43330006944d800019001729..."} 
[2026-07-01 06:48:41] local.INFO: Processing buffer {"connection_id":118760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b4061c0012d43330006944d800019001729..."} 
[2026-07-01 06:48:41] local.INFO: Packet analysis {"connection_id":118760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b40"} 
[2026-07-01 06:48:41] local.INFO: Extracted packet for processing {"connection_id":118760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b40"} 
[2026-07-01 06:48:41] local.INFO: GPS Element Parsed {"raw_longitude":759378688,"raw_latitude":110382464,"longitude_deg":75.9378688,"latitude_deg":11.0382464,"altitude":25,"angle":23,"satellites":41,"speed":59,"hex_longitude":"2d433300","hex_latitude":"06944d80","is_valid_coordinates":true} 
[2026-07-01 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-01 06:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414368256001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332756877634961408,"note":"Value kept but may cause issues"} 
[2026-07-01 06:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4838484509167724544,"note":"Value kept but may cause issues"} 
[2026-07-01 06:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782868632000,"timestamp_ms":1782868632000,"timestamp_seconds":1782868632,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b4061c0"} 
[2026-07-01 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-01 06:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-01 06:48:41] 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-01 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-01 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-01 06:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":118760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":118760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":118760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:48: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-01 06:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414368256001,"66":27984,"197":206,"86":48640,"24":59,"16":332756877634961408,"45":4838484509167724544},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,86,24,16,45]} 
[2026-07-01 06:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414368256001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:48:41] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-01 06:48:41] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-07-01 06:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332756877634961408,"km_value":332756877634961.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":4838484509167724544,"description":"Unknown IO ID 45"} 
[2026-07-01 06:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414368256001,"power":27984,"unknown_197":206,"unknown_86":48640,"ignition":59,"odometer":null,"unknown_45":4838484509167724544}} 
[2026-07-01 06:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":118760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:48:41] local.INFO: GPS data processed {"connection_id":118760,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:48:41] local.INFO: Acknowledgment sent {"connection_id":118760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:49:22] local.INFO: TCP Data received {"connection_id":118881,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:49:22] local.INFO: Processing buffer {"connection_id":118881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:49:22] local.INFO: IMEI packet received {"connection_id":118881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 06:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":118881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:49:25] local.INFO: TCP Data received {"connection_id":118760,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b407930012d43408006946d600018001729..."} 
[2026-07-01 06:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b407930012d43408006946d600018001729..."} 
[2026-07-01 06:49:25] local.INFO: Processing buffer {"connection_id":118760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b407930012d43408006946d600018001729..."} 
[2026-07-01 06:49:25] local.INFO: Packet analysis {"connection_id":118760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b40"} 
[2026-07-01 06:49:25] local.INFO: Extracted packet for processing {"connection_id":118760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b40"} 
[2026-07-01 06:49:25] local.INFO: GPS Element Parsed {"raw_longitude":759382144,"raw_latitude":110390624,"longitude_deg":75.9382144,"latitude_deg":11.0390624,"altitude":24,"angle":23,"satellites":41,"speed":58,"hex_longitude":"2d434080","hex_latitude":"06946d60","is_valid_coordinates":true} 
[2026-07-01 06: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-01 06:49:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414369792001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:49:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332757311426658304,"note":"Value kept but may cause issues"} 
[2026-07-01 06:49:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4842214052611325952,"note":"Value kept but may cause issues"} 
[2026-07-01 06:49:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:49:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782868638000,"timestamp_ms":1782868638000,"timestamp_seconds":1782868638,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b407930"} 
[2026-07-01 06: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-01 06:49: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-01 06: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-01 06:49:25] 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-01 06: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-01 06: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-01 06:49:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:49:25] local.INFO: Teltonika packet parsed successfully {"connection_id":118760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:49:25] local.INFO: Passing IMEI to GPS processor {"connection_id":118760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:49:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":118760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:49:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 06:49:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:49:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:49:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414369792001,"66":27865,"197":206,"86":48640,"24":58,"16":332757311426658304,"45":4842214052611325952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,86,24,16,45]} 
[2026-07-01 06:49:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:49:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:49:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414369792001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:49:25] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-01 06:49:25] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-07-01 06:49:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332757311426658304,"km_value":332757311426658.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:49:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":4842214052611325952,"description":"Unknown IO ID 45"} 
[2026-07-01 06:49:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414369792001,"power":27865,"unknown_197":206,"unknown_86":48640,"ignition":58,"odometer":null,"unknown_45":4842214052611325952}} 
[2026-07-01 06:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":118760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:49:25] local.INFO: GPS data processed {"connection_id":118760,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:49:25] local.INFO: Acknowledgment sent {"connection_id":118760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:49:25] local.INFO: TCP Data received {"connection_id":118881,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:49:25] local.INFO: Processing buffer {"connection_id":118881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:49:25] local.INFO: IMEI packet received {"connection_id":118881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":118881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:49:29] local.INFO: TCP Data received {"connection_id":118881,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b4186b8012d436a000695c978001701422c..."} 
[2026-07-01 06:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b4186b8012d436a000695c978001701422c..."} 
[2026-07-01 06:49:29] local.INFO: Processing buffer {"connection_id":118881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b4186b8012d436a000695c978001701422c..."} 
[2026-07-01 06:49:29] local.INFO: Packet analysis {"connection_id":118881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b41"} 
[2026-07-01 06:49:29] local.INFO: Extracted packet for processing {"connection_id":118881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b41"} 
[2026-07-01 06:49:29] local.INFO: GPS Element Parsed {"raw_longitude":759392768,"raw_latitude":110479736,"longitude_deg":75.9392768,"latitude_deg":11.0479736,"altitude":23,"angle":322,"satellites":44,"speed":54,"hex_longitude":"2d436a00","hex_latitude":"0695c978","is_valid_coordinates":true} 
[2026-07-01 06: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-01 06:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414387200001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332761924221534208,"note":"Value kept but may cause issues"} 
[2026-07-01 06:49:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4863465413375922176,"note":"Value kept but may cause issues"} 
[2026-07-01 06:49:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782868707000,"timestamp_ms":1782868707000,"timestamp_seconds":1782868707,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b4186b8"} 
[2026-07-01 06: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-01 06:49:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 06: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 06:49:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06: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-01 06: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-01 06:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":118881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":118881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":118881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:49:29] 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-01 06:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414387200001,"66":27865,"28":206,"81":47616,"24":54,"16":332761924221534208,"45":4863465413375922176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,81,24,16,45]} 
[2026-07-01 06:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414387200001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:49:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-01 06:49:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-01 06:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332761924221534208,"km_value":332761924221534.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:49:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":4863465413375922176,"description":"Unknown IO ID 45"} 
[2026-07-01 06:49:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414387200001,"power":27865,"unknown_28":206,"unknown_81":47616,"ignition":54,"odometer":null,"unknown_45":4863465413375922176}} 
[2026-07-01 06:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":118881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:49:29] local.INFO: GPS data processed {"connection_id":118881,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:49:29] local.INFO: Acknowledgment sent {"connection_id":118881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:50:01] local.INFO: TCP Data received {"connection_id":118881,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b41a210012d4352400695e8d8001501432c..."} 
[2026-07-01 06:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b41a210012d4352400695e8d8001501432c..."} 
[2026-07-01 06:50:01] local.INFO: Processing buffer {"connection_id":118881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b41a210012d4352400695e8d8001501432c..."} 
[2026-07-01 06:50:01] local.INFO: Packet analysis {"connection_id":118881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b41"} 
[2026-07-01 06:50:01] local.INFO: Extracted packet for processing {"connection_id":118881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b41"} 
[2026-07-01 06:50:01] local.INFO: GPS Element Parsed {"raw_longitude":759386688,"raw_latitude":110487768,"longitude_deg":75.9386688,"latitude_deg":11.0487768,"altitude":21,"angle":323,"satellites":44,"speed":57,"hex_longitude":"2d435240","hex_latitude":"0695e8d8","is_valid_coordinates":true} 
[2026-07-01 06:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414388992001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332762409552838656,"note":"Value kept but may cause issues"} 
[2026-07-01 06:50:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4857695176355313664,"note":"Value kept but may cause issues"} 
[2026-07-01 06:50:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782868714000,"timestamp_ms":1782868714000,"timestamp_seconds":1782868714,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b41a210"} 
[2026-07-01 06:50:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:50:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 06:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 06:50:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:50:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:50:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":118881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":118881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":118881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:50:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 06:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414388992001,"66":27745,"28":206,"81":47616,"24":57,"16":332762409552838656,"45":4857695176355313664},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,81,24,16,45]} 
[2026-07-01 06:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414388992001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:50:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-01 06:50:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-01 06:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332762409552838656,"km_value":332762409552838.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:50:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":4857695176355313664,"description":"Unknown IO ID 45"} 
[2026-07-01 06:50:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414388992001,"power":27745,"unknown_28":206,"unknown_81":47616,"ignition":57,"odometer":null,"unknown_45":4857695176355313664}} 
[2026-07-01 06:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":118881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:50:01] local.INFO: GPS data processed {"connection_id":118881,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:50:01] local.INFO: Acknowledgment sent {"connection_id":118881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:50:39] local.INFO: TCP Data received {"connection_id":118761,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:50:39] local.INFO: Processing buffer {"connection_id":118761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:50:39] local.INFO: IMEI packet received {"connection_id":118761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 06:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":118761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:50:41] local.INFO: TCP Data received {"connection_id":118761,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:50:41] local.INFO: Processing buffer {"connection_id":118761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:50:41] local.INFO: IMEI packet received {"connection_id":118761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":118761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:50:47] local.INFO: TCP Data received {"connection_id":118761,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:50:47] local.INFO: Processing buffer {"connection_id":118761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:50:47] local.INFO: IMEI packet received {"connection_id":118761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":118761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:50:48] local.INFO: TCP Data received {"connection_id":118761,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b41bd68012d4339c006960940001201432c..."} 
[2026-07-01 06:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b41bd68012d4339c006960940001201432c..."} 
[2026-07-01 06:50:48] local.INFO: Processing buffer {"connection_id":118761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b41bd68012d4339c006960940001201432c..."} 
[2026-07-01 06:50:48] local.INFO: Packet analysis {"connection_id":118761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b41"} 
[2026-07-01 06:50:48] local.INFO: Extracted packet for processing {"connection_id":118761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b41"} 
[2026-07-01 06:50:48] local.INFO: GPS Element Parsed {"raw_longitude":759380416,"raw_latitude":110496064,"longitude_deg":75.9380416,"latitude_deg":11.0496064,"altitude":18,"angle":323,"satellites":44,"speed":59,"hex_longitude":"2d4339c0","hex_latitude":"06960940","is_valid_coordinates":true} 
[2026-07-01 06:50:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:50:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414390784001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:50:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332762912064012288,"note":"Value kept but may cause issues"} 
[2026-07-01 06:50:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4851010145660491776,"note":"Value kept but may cause issues"} 
[2026-07-01 06:50:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:50:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782868721000,"timestamp_ms":1782868721000,"timestamp_seconds":1782868721,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b41bd68"} 
[2026-07-01 06:50:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:50: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-01 06:50:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 06:50:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:50:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:50:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:50:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:50:48] local.INFO: Teltonika packet parsed successfully {"connection_id":118761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:50:48] local.INFO: Passing IMEI to GPS processor {"connection_id":118761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:50:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":118761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:50:48] 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-01 06:50:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:50:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:50:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414390784001,"66":27843,"28":206,"81":47616,"24":59,"16":332762912064012288,"45":4851010145660491776},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,81,24,16,45]} 
[2026-07-01 06:50:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:50:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:50:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414390784001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:50:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-01 06:50:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-01 06:50:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332762912064012288,"km_value":332762912064012.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:50:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4851010145660491776,"description":"Unknown IO ID 45"} 
[2026-07-01 06:50:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414390784001,"power":27843,"unknown_28":206,"unknown_81":47616,"ignition":59,"odometer":null,"unknown_45":4851010145660491776}} 
[2026-07-01 06:50:48] local.INFO: DEBUG: GPS processor result {"connection_id":118761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:50:48] local.INFO: GPS data processed {"connection_id":118761,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:50:48] local.INFO: Acknowledgment sent {"connection_id":118761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:50:50] local.INFO: TCP Data received {"connection_id":118761,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b41d4d8012d432480069625c0001001432c..."} 
[2026-07-01 06:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b41d4d8012d432480069625c0001001432c..."} 
[2026-07-01 06:50:50] local.INFO: Processing buffer {"connection_id":118761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b41d4d8012d432480069625c0001001432c..."} 
[2026-07-01 06:50:50] local.INFO: Packet analysis {"connection_id":118761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b41"} 
[2026-07-01 06:50:50] local.INFO: Extracted packet for processing {"connection_id":118761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b41"} 
[2026-07-01 06:50:50] local.INFO: GPS Element Parsed {"raw_longitude":759374976,"raw_latitude":110503360,"longitude_deg":75.9374976,"latitude_deg":11.050336,"altitude":16,"angle":323,"satellites":44,"speed":60,"hex_longitude":"2d432480","hex_latitude":"069625c0","is_valid_coordinates":true} 
[2026-07-01 06: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-01 06:50:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414392576001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:50:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332763350150676480,"note":"Value kept but may cause issues"} 
[2026-07-01 06:50:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4844114008733204480,"note":"Value kept but may cause issues"} 
[2026-07-01 06:50:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:50:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782868727000,"timestamp_ms":1782868727000,"timestamp_seconds":1782868727,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b41d4d8"} 
[2026-07-01 06: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-01 06:50: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-01 06: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":195,"data_length":795,"current_offset":136} 
[2026-07-01 06:50:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06: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-01 06: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-01 06:50:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:50:50] local.INFO: Teltonika packet parsed successfully {"connection_id":118761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:50:50] local.INFO: Passing IMEI to GPS processor {"connection_id":118761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:50:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":118761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:50: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-01 06:50:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:50:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:50:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414392576001,"66":27843,"28":206,"81":47616,"24":60,"16":332763350150676480,"45":4844114008733204480},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,81,24,16,45]} 
[2026-07-01 06:50:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:50:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:50:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414392576001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:50:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-01 06:50:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-01 06:50:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332763350150676480,"km_value":332763350150676.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:50:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":4844114008733204480,"description":"Unknown IO ID 45"} 
[2026-07-01 06:50:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414392576001,"power":27843,"unknown_28":206,"unknown_81":47616,"ignition":60,"odometer":null,"unknown_45":4844114008733204480}} 
[2026-07-01 06:50:50] local.INFO: DEBUG: GPS processor result {"connection_id":118761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:50:50] local.INFO: GPS data processed {"connection_id":118761,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:50:50] local.INFO: Acknowledgment sent {"connection_id":118761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:51:21] local.INFO: TCP Data received {"connection_id":120634,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:51:21] local.INFO: Processing buffer {"connection_id":120634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:51:21] local.INFO: IMEI packet received {"connection_id":120634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 06:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":120634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:51:23] local.INFO: TCP Data received {"connection_id":120634,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:51:23] local.INFO: Processing buffer {"connection_id":120634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:51:23] local.INFO: IMEI packet received {"connection_id":120634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:51:23] local.INFO: IMEI acknowledgment sent {"connection_id":120634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:51:24] local.INFO: TCP Data received {"connection_id":120634,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b434408012d42c8c00697aa98002f015323..."} 
[2026-07-01 06:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b434408012d42c8c00697aa98002f015323..."} 
[2026-07-01 06:51:24] local.INFO: Processing buffer {"connection_id":120634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b434408012d42c8c00697aa98002f015323..."} 
[2026-07-01 06:51:24] local.INFO: Packet analysis {"connection_id":120634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b43"} 
[2026-07-01 06:51:24] local.INFO: Extracted packet for processing {"connection_id":120634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b43"} 
[2026-07-01 06:51:24] local.INFO: GPS Element Parsed {"raw_longitude":759351488,"raw_latitude":110602904,"longitude_deg":75.9351488,"latitude_deg":11.0602904,"altitude":47,"angle":339,"satellites":35,"speed":40,"hex_longitude":"2d42c8c0","hex_latitude":"0697aa98","is_valid_coordinates":true} 
[2026-07-01 06:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:51:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414415616001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:51:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332768379557380096,"note":"Value kept but may cause issues"} 
[2026-07-01 06:51:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4814348029971044352,"note":"Value kept but may cause issues"} 
[2026-07-01 06:51:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:51:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782868821000,"timestamp_ms":1782868821000,"timestamp_seconds":1782868821,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b434408"} 
[2026-07-01 06:51:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:51: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-01 06:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 06:51:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:51:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:51:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:51:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:51:24] local.INFO: Teltonika packet parsed successfully {"connection_id":120634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:51:24] local.INFO: Passing IMEI to GPS processor {"connection_id":120634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:51:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":120634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:51:24] 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-01 06:51:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:51:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:51:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414415616001,"66":27930,"29":206,"81":47616,"24":40,"16":332768379557380096,"45":4814348029971044352},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,81,24,16,45]} 
[2026-07-01 06:51:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:51:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:51:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414415616001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:51:24] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-07-01 06:51:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-01 06:51:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332768379557380096,"km_value":332768379557380.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:51:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":4814348029971044352,"description":"Unknown IO ID 45"} 
[2026-07-01 06:51:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414415616001,"power":27930,"unknown_29":206,"unknown_81":47616,"ignition":40,"odometer":null,"unknown_45":4814348029971044352}} 
[2026-07-01 06:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":120634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:51:24] local.INFO: GPS data processed {"connection_id":120634,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:51:24] local.INFO: Acknowledgment sent {"connection_id":120634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:51:27] local.INFO: TCP Data received {"connection_id":120634,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b434408012d42c8c00697aa98002f015323..."} 
[2026-07-01 06:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b434408012d42c8c00697aa98002f015323..."} 
[2026-07-01 06:51:27] local.INFO: Processing buffer {"connection_id":120634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b434408012d42c8c00697aa98002f015323..."} 
[2026-07-01 06:51:27] local.INFO: Packet analysis {"connection_id":120634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b43"} 
[2026-07-01 06:51:27] local.INFO: Extracted packet for processing {"connection_id":120634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b43"} 
[2026-07-01 06:51:27] local.INFO: GPS Element Parsed {"raw_longitude":759351488,"raw_latitude":110602904,"longitude_deg":75.9351488,"latitude_deg":11.0602904,"altitude":47,"angle":339,"satellites":35,"speed":40,"hex_longitude":"2d42c8c0","hex_latitude":"0697aa98","is_valid_coordinates":true} 
[2026-07-01 06:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414418176001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332768379557380096,"note":"Value kept but may cause issues"} 
[2026-07-01 06:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4812307336392251392,"note":"Value kept but may cause issues"} 
[2026-07-01 06:51:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782868821000,"timestamp_ms":1782868821000,"timestamp_seconds":1782868821,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b434408"} 
[2026-07-01 06:51:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:51: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-01 06:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-01 06:51:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:51:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:51:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:51:27] 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-01 06:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414418176001,"66":27930,"29":206,"81":47616,"24":40,"16":332768379557380096,"45":4812307336392251392},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,81,24,16,45]} 
[2026-07-01 06:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414418176001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:51:27] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-07-01 06:51:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-01 06:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332768379557380096,"km_value":332768379557380.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":4812307336392251392,"description":"Unknown IO ID 45"} 
[2026-07-01 06:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414418176001,"power":27930,"unknown_29":206,"unknown_81":47616,"ignition":40,"odometer":null,"unknown_45":4812307336392251392}} 
[2026-07-01 06:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":120634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:51:27] local.INFO: GPS data processed {"connection_id":120634,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:51:27] local.INFO: Acknowledgment sent {"connection_id":120634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:51:36] local.INFO: TCP Data received {"connection_id":120633,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 06:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120633,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 06:51:36] local.INFO: Processing buffer {"connection_id":120633,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 06:51:36] local.INFO: IMEI packet received {"connection_id":120633,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 06:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":120633,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:51:58] local.INFO: TCP Data received {"connection_id":120634,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b4353a8012d42c0c00697b8b0002f014725..."} 
[2026-07-01 06:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b4353a8012d42c0c00697b8b0002f014725..."} 
[2026-07-01 06:51:58] local.INFO: Processing buffer {"connection_id":120634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b4353a8012d42c0c00697b8b0002f014725..."} 
[2026-07-01 06:51:58] local.INFO: Packet analysis {"connection_id":120634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b43"} 
[2026-07-01 06:51:58] local.INFO: Extracted packet for processing {"connection_id":120634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b43"} 
[2026-07-01 06:51:58] local.INFO: GPS Element Parsed {"raw_longitude":759349440,"raw_latitude":110606512,"longitude_deg":75.934944,"latitude_deg":11.0606512,"altitude":47,"angle":327,"satellites":37,"speed":43,"hex_longitude":"2d42c0c0","hex_latitude":"0697b8b0","is_valid_coordinates":true} 
[2026-07-01 06: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-01 06:51:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414418176001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:51:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332768581420843008,"note":"Value kept but may cause issues"} 
[2026-07-01 06:51:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4812307336392251392,"note":"Value kept but may cause issues"} 
[2026-07-01 06:51:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:51:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782868825000,"timestamp_ms":1782868825000,"timestamp_seconds":1782868825,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b4353a8"} 
[2026-07-01 06: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-01 06:51: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-01 06: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-01 06:51:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06: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-01 06: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-01 06:51:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:51:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:51:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:51:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:51:58] 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-01 06:51:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:51:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:51:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414418176001,"66":27984,"29":206,"81":47616,"24":43,"16":332768581420843008,"45":4812307336392251392},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,81,24,16,45]} 
[2026-07-01 06:51:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:51:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:51:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414418176001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:51:58] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-07-01 06:51:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-01 06:51:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332768581420843008,"km_value":332768581420843.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:51:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":4812307336392251392,"description":"Unknown IO ID 45"} 
[2026-07-01 06:51:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414418176001,"power":27984,"unknown_29":206,"unknown_81":47616,"ignition":43,"odometer":null,"unknown_45":4812307336392251392}} 
[2026-07-01 06:51:58] local.INFO: DEBUG: GPS processor result {"connection_id":120634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:51:58] local.INFO: GPS data processed {"connection_id":120634,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:51:58] local.INFO: Acknowledgment sent {"connection_id":120634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:52:16] local.INFO: TCP Data received {"connection_id":120635,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 06:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120635,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 06:52:16] local.INFO: Processing buffer {"connection_id":120635,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 06:52:16] local.INFO: IMEI packet received {"connection_id":120635,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 06:52:16] local.INFO: IMEI acknowledgment sent {"connection_id":120635,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:52:21] local.INFO: TCP Data received {"connection_id":120636,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:52:21] local.INFO: Processing buffer {"connection_id":120636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:52:21] local.INFO: IMEI packet received {"connection_id":120636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 06:52:21] local.INFO: IMEI acknowledgment sent {"connection_id":120636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:52:24] local.INFO: TCP Data received {"connection_id":120636,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:52:24] local.INFO: Processing buffer {"connection_id":120636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:52:24] local.INFO: IMEI packet received {"connection_id":120636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":120636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:52:27] local.INFO: TCP Data received {"connection_id":120636,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b4441f0012d41814006985e58001c012f2b..."} 
[2026-07-01 06:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b4441f0012d41814006985e58001c012f2b..."} 
[2026-07-01 06:52:27] local.INFO: Processing buffer {"connection_id":120636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b4441f0012d41814006985e58001c012f2b..."} 
[2026-07-01 06:52:27] local.INFO: Packet analysis {"connection_id":120636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b44"} 
[2026-07-01 06:52:27] local.INFO: Extracted packet for processing {"connection_id":120636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b44"} 
[2026-07-01 06:52:27] local.INFO: GPS Element Parsed {"raw_longitude":759267648,"raw_latitude":110648920,"longitude_deg":75.9267648,"latitude_deg":11.064892,"altitude":28,"angle":303,"satellites":43,"speed":67,"hex_longitude":"2d418140","hex_latitude":"06985e58","is_valid_coordinates":true} 
[2026-07-01 06:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414433280001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332773031006961664,"note":"Value kept but may cause issues"} 
[2026-07-01 06:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4729764799482122240,"note":"Value kept but may cause issues"} 
[2026-07-01 06:52:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782868886000,"timestamp_ms":1782868886000,"timestamp_seconds":1782868886,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b4441f0"} 
[2026-07-01 06:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:52: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-01 06:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-01 06:52:27] 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-01 06:52:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:52:27] 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-01 06:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414433280001,"66":27821,"71":206,"81":47616,"24":67,"16":332773031006961664,"45":4729764799482122240},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,81,24,16,45]} 
[2026-07-01 06:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414433280001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:52:27] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-01 06:52:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-01 06:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332773031006961664,"km_value":332773031006961.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":4729764799482122240,"description":"Unknown IO ID 45"} 
[2026-07-01 06:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414433280001,"power":27821,"unknown_71":206,"unknown_81":47616,"ignition":67,"odometer":null,"unknown_45":4729764799482122240}} 
[2026-07-01 06:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":120636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:52:27] local.INFO: GPS data processed {"connection_id":120636,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:52:27] local.INFO: Acknowledgment sent {"connection_id":120636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:52:29] local.INFO: TCP Data received {"connection_id":120636,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b445960012d416200069872e0001e012f2b..."} 
[2026-07-01 06:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b445960012d416200069872e0001e012f2b..."} 
[2026-07-01 06:52:29] local.INFO: Processing buffer {"connection_id":120636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b445960012d416200069872e0001e012f2b..."} 
[2026-07-01 06:52:29] local.INFO: Packet analysis {"connection_id":120636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b44"} 
[2026-07-01 06:52:29] local.INFO: Extracted packet for processing {"connection_id":120636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b44"} 
[2026-07-01 06:52:29] local.INFO: GPS Element Parsed {"raw_longitude":759259648,"raw_latitude":110654176,"longitude_deg":75.9259648,"latitude_deg":11.0654176,"altitude":30,"angle":303,"satellites":43,"speed":58,"hex_longitude":"2d416200","hex_latitude":"069872e0","is_valid_coordinates":true} 
[2026-07-01 06:52:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:52:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414434816001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:52:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332773490568462336,"note":"Value kept but may cause issues"} 
[2026-07-01 06:52:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4720124281531291648,"note":"Value kept but may cause issues"} 
[2026-07-01 06:52:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:52:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782868892000,"timestamp_ms":1782868892000,"timestamp_seconds":1782868892,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b445960"} 
[2026-07-01 06:52:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:52:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 06:52:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 06:52:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:52:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:52:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:52:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:52:29] local.INFO: Teltonika packet parsed successfully {"connection_id":120636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:52:29] local.INFO: Passing IMEI to GPS processor {"connection_id":120636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:52:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":120636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:52:29] 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-01 06:52:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:52:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:52:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414434816001,"66":27908,"71":206,"81":47616,"24":58,"16":332773490568462336,"45":4720124281531291648},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,81,24,16,45]} 
[2026-07-01 06:52:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:52:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:52:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414434816001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:52:29] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-01 06:52:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-01 06:52:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332773490568462336,"km_value":332773490568462.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:52:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":4720124281531291648,"description":"Unknown IO ID 45"} 
[2026-07-01 06:52:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414434816001,"power":27908,"unknown_71":206,"unknown_81":47616,"ignition":58,"odometer":null,"unknown_45":4720124281531291648}} 
[2026-07-01 06:52:29] local.INFO: DEBUG: GPS processor result {"connection_id":120636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:52:29] local.INFO: GPS data processed {"connection_id":120636,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:52:29] local.INFO: Acknowledgment sent {"connection_id":120636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:52:39] local.INFO: TCP Data received {"connection_id":118762,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 06:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118762,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 06:52:39] local.INFO: Processing buffer {"connection_id":118762,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 06:52:39] local.INFO: IMEI packet received {"connection_id":118762,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 06:52:39] local.INFO: IMEI acknowledgment sent {"connection_id":118762,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:52:40] local.INFO: TCP Data received {"connection_id":118762,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 06:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118762,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 06:52:40] local.INFO: Processing buffer {"connection_id":118762,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 06:52:40] local.INFO: IMEI packet received {"connection_id":118762,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 06:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":118762,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:52:43] local.INFO: TCP Data received {"connection_id":118762,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 06:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118762,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 06:52:43] local.INFO: Processing buffer {"connection_id":118762,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 06:52:43] local.INFO: IMEI packet received {"connection_id":118762,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 06:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":118762,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:52:44] local.INFO: TCP Data received {"connection_id":118762,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000000000002af80100000000000000000000000000..."} 
[2026-07-01 06:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000002af80100000000000000000000000000..."} 
[2026-07-01 06:52:44] local.INFO: Processing buffer {"connection_id":118762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000002af80100000000000000000000000000..."} 
[2026-07-01 06:52:44] local.INFO: Packet analysis {"connection_id":118762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-01 06:52:44] local.INFO: Extracted packet for processing {"connection_id":118762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-01 06:52: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-01 06:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 06:52:44] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-07-01 06:52:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":11000,"timestamp_seconds":11,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 06:52:44] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-01 06:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":118762,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":118762,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-01 06:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":118762,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-01 06:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-01 06:52:44] local.WARNING: DEBUG: No valid data to process  
[2026-07-01 06:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":118762,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-01 06:52:44] local.ERROR: GPS data processing failed {"connection_id":118762,"error":"No valid data to process"} 
[2026-07-01 06:52:44] local.INFO: Acknowledgment sent {"connection_id":118762,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-01 06:53:01] local.INFO: TCP Data received {"connection_id":120636,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b4474b8012d41420006988820002001302c..."} 
[2026-07-01 06:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b4474b8012d41420006988820002001302c..."} 
[2026-07-01 06:53:01] local.INFO: Processing buffer {"connection_id":120636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b4474b8012d41420006988820002001302c..."} 
[2026-07-01 06:53:01] local.INFO: Packet analysis {"connection_id":120636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b44"} 
[2026-07-01 06:53:01] local.INFO: Extracted packet for processing {"connection_id":120636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b44"} 
[2026-07-01 06:53:01] local.INFO: GPS Element Parsed {"raw_longitude":759251456,"raw_latitude":110659616,"longitude_deg":75.9251456,"latitude_deg":11.0659616,"altitude":32,"angle":304,"satellites":44,"speed":54,"hex_longitude":"2d414200","hex_latitude":"06988820","is_valid_coordinates":true} 
[2026-07-01 06: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-01 06:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414436352001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332773958719897600,"note":"Value kept but may cause issues"} 
[2026-07-01 06:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4711328188510429184,"note":"Value kept but may cause issues"} 
[2026-07-01 06:53:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782868899000,"timestamp_ms":1782868899000,"timestamp_seconds":1782868899,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b4474b8"} 
[2026-07-01 06: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-01 06:53:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 06:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 06:53:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06: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-01 06: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-01 06:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":120636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":120636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":120636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:53:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 06:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414436352001,"66":27908,"71":206,"81":47616,"24":54,"16":332773958719897600,"45":4711328188510429184},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,81,24,16,45]} 
[2026-07-01 06:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414436352001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:53:01] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-01 06:53:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-01 06:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332773958719897600,"km_value":332773958719897.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":4711328188510429184,"description":"Unknown IO ID 45"} 
[2026-07-01 06:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414436352001,"power":27908,"unknown_71":206,"unknown_81":47616,"ignition":54,"odometer":null,"unknown_45":4711328188510429184}} 
[2026-07-01 06:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":120636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:53:01] local.INFO: GPS data processed {"connection_id":120636,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:53:01] local.INFO: Acknowledgment sent {"connection_id":120636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:53:21] local.INFO: TCP Data received {"connection_id":118763,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:53:21] local.INFO: Processing buffer {"connection_id":118763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:53:21] local.INFO: IMEI packet received {"connection_id":118763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 06:53:21] local.INFO: IMEI acknowledgment sent {"connection_id":118763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:53:21] local.INFO: TCP Data received {"connection_id":118762,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000000000002af80100000000000000000000000000..."} 
[2026-07-01 06:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000002af80100000000000000000000000000..."} 
[2026-07-01 06:53:21] local.INFO: Processing buffer {"connection_id":118762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000002af80100000000000000000000000000..."} 
[2026-07-01 06:53:21] local.INFO: Packet analysis {"connection_id":118762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-01 06:53:21] local.INFO: Extracted packet for processing {"connection_id":118762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-01 06:53: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-01 06:53: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-01 06:53:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101066786702622720,"note":"Value kept but may cause issues"} 
[2026-07-01 06:53:21] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-07-01 06:53:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":11000,"timestamp_seconds":11,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 06:53:21] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:53:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-01 06:53:21] local.INFO: Teltonika packet parsed successfully {"connection_id":118762,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:53:21] local.INFO: Passing IMEI to GPS processor {"connection_id":118762,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-01 06:53:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":118762,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-01 06:53:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-01 06:53:21] local.WARNING: DEBUG: No valid data to process  
[2026-07-01 06:53:21] local.INFO: DEBUG: GPS processor result {"connection_id":118762,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-01 06:53:21] local.ERROR: GPS data processing failed {"connection_id":118762,"error":"No valid data to process"} 
[2026-07-01 06:53:21] local.INFO: Acknowledgment sent {"connection_id":118762,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-01 06:53:23] local.INFO: TCP Data received {"connection_id":118763,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:53:23] local.INFO: Processing buffer {"connection_id":118763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:53:23] local.INFO: IMEI packet received {"connection_id":118763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":118763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:53:24] local.INFO: TCP Data received {"connection_id":118763,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b449010012d41230006989c600022012f2d..."} 
[2026-07-01 06:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b449010012d41230006989c600022012f2d..."} 
[2026-07-01 06:53:24] local.INFO: Processing buffer {"connection_id":118763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b449010012d41230006989c600022012f2d..."} 
[2026-07-01 06:53:24] local.INFO: Packet analysis {"connection_id":118763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b44"} 
[2026-07-01 06:53:24] local.INFO: Extracted packet for processing {"connection_id":118763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b44"} 
[2026-07-01 06:53:24] local.INFO: GPS Element Parsed {"raw_longitude":759243520,"raw_latitude":110664800,"longitude_deg":75.924352,"latitude_deg":11.06648,"altitude":34,"angle":303,"satellites":45,"speed":52,"hex_longitude":"2d412300","hex_latitude":"06989c60","is_valid_coordinates":true} 
[2026-07-01 06:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:53:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414438144001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:53:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332774413986430976,"note":"Value kept but may cause issues"} 
[2026-07-01 06:53:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4702320989257080832,"note":"Value kept but may cause issues"} 
[2026-07-01 06:53:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:53:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782868906000,"timestamp_ms":1782868906000,"timestamp_seconds":1782868906,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b449010"} 
[2026-07-01 06:53:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:53: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-01 06:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 06:53:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:53:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:53:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:53:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:53:24] local.INFO: Teltonika packet parsed successfully {"connection_id":118763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:53:24] local.INFO: Passing IMEI to GPS processor {"connection_id":118763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:53:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":118763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:53:24] 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-01 06:53:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:53:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:53:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414438144001,"66":27876,"73":206,"81":47616,"24":52,"16":332774413986430976,"45":4702320989257080832},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,81,24,16,45]} 
[2026-07-01 06:53:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:53:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:53:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414438144001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:53:24] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-01 06:53:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-01 06:53:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332774413986430976,"km_value":332774413986431.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:53:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":4702320989257080832,"description":"Unknown IO ID 45"} 
[2026-07-01 06:53:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414438144001,"power":27876,"unknown_73":206,"unknown_81":47616,"ignition":52,"odometer":null,"unknown_45":4702320989257080832}} 
[2026-07-01 06:53:24] local.INFO: DEBUG: GPS processor result {"connection_id":118763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:53:24] local.INFO: GPS data processed {"connection_id":118763,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:53:24] local.INFO: Acknowledgment sent {"connection_id":118763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:53:53] local.INFO: TCP Data received {"connection_id":118762,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b463208012d7e430005d357200016016508..."} 
[2026-07-01 06:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b463208012d7e430005d357200016016508..."} 
[2026-07-01 06:53:53] local.INFO: Processing buffer {"connection_id":118762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b463208012d7e430005d357200016016508..."} 
[2026-07-01 06:53:53] local.INFO: Packet analysis {"connection_id":118762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b46"} 
[2026-07-01 06:53:53] local.INFO: Extracted packet for processing {"connection_id":118762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b46"} 
[2026-07-01 06:53:53] local.INFO: GPS Element Parsed {"raw_longitude":763249408,"raw_latitude":97736480,"longitude_deg":76.3249408,"latitude_deg":9.773648,"altitude":22,"angle":357,"satellites":8,"speed":1,"hex_longitude":"2d7e4300","hex_latitude":"05d35720","is_valid_coordinates":true} 
[2026-07-01 06:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:53:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414467072001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:53:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101067190429548544,"note":"Value kept but may cause issues"} 
[2026-07-01 06:53:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9098115697239068672,"note":"Value kept but may cause issues"} 
[2026-07-01 06:53:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:53:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782869013000,"timestamp_ms":1782869013000,"timestamp_seconds":1782869013,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b463208"} 
[2026-07-01 06:53:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:53:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1280,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 06:53:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 06:53:53] 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-01 06:53:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:53:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:53:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:53:53] local.INFO: Teltonika packet parsed successfully {"connection_id":118762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:53:53] local.INFO: Passing IMEI to GPS processor {"connection_id":118762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 06:53:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":118762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 06:53:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 06:53:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 06:53:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 06:53:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414467072001,"66":13189,"81":206,"85":15104,"24":1,"16":101067190429548544,"45":9098115697239068672},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 06:53:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 06:53:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 06:53:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414467072001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:53:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 06:53:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 06:53:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101067190429548544,"km_value":101067190429548.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:53:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9098115697239068672,"description":"Unknown IO ID 45"} 
[2026-07-01 06:53:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414467072001,"power":13189,"unknown_81":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9098115697239068672}} 
[2026-07-01 06:53:53] local.INFO: DEBUG: GPS processor result {"connection_id":118762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416252,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:53:53] local.INFO: GPS data processed {"connection_id":118762,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:53:53] local.INFO: Acknowledgment sent {"connection_id":118762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:53:55] local.INFO: TCP Data received {"connection_id":118763,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b45a568012d3fbd8006995698001601022d..."} 
[2026-07-01 06:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b45a568012d3fbd8006995698001601022d..."} 
[2026-07-01 06:53:55] local.INFO: Processing buffer {"connection_id":118763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b45a568012d3fbd8006995698001601022d..."} 
[2026-07-01 06:53:55] local.INFO: Packet analysis {"connection_id":118763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b45"} 
[2026-07-01 06:53:55] local.INFO: Extracted packet for processing {"connection_id":118763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b45"} 
[2026-07-01 06:53:55] local.INFO: GPS Element Parsed {"raw_longitude":759152000,"raw_latitude":110712472,"longitude_deg":75.9152,"latitude_deg":11.0712472,"altitude":22,"angle":258,"satellites":45,"speed":54,"hex_longitude":"2d3fbd80","hex_latitude":"06995698","is_valid_coordinates":true} 
[2026-07-01 06:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414456576001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332779490637774848,"note":"Value kept but may cause issues"} 
[2026-07-01 06:53:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4602467741282713600,"note":"Value kept but may cause issues"} 
[2026-07-01 06:53:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782868977000,"timestamp_ms":1782868977000,"timestamp_seconds":1782868977,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b45a568"} 
[2026-07-01 06:53:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:53:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 06:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 06:53:55] 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-01 06:53:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:53:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":118763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":118763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":118763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:53:55] 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-01 06:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414456576001,"66":27930,"232":206,"81":47616,"24":54,"16":332779490637774848,"45":4602467741282713600},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,81,24,16,45]} 
[2026-07-01 06:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414456576001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:53:55] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-07-01 06:53:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-01 06:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332779490637774848,"km_value":332779490637774.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:53:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":4602467741282713600,"description":"Unknown IO ID 45"} 
[2026-07-01 06:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414456576001,"power":27930,"unknown_232":206,"unknown_81":47616,"ignition":54,"odometer":null,"unknown_45":4602467741282713600}} 
[2026-07-01 06:53:55] local.INFO: DEBUG: GPS processor result {"connection_id":118763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:53:55] local.INFO: GPS data processed {"connection_id":118763,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:53:55] local.INFO: Acknowledgment sent {"connection_id":118763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:54:20] local.INFO: TCP Data received {"connection_id":119532,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:54:20] local.INFO: Processing buffer {"connection_id":119532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:54:20] local.INFO: IMEI packet received {"connection_id":119532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 06:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":119532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:54:21] local.INFO: TCP Data received {"connection_id":119532,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:54:21] local.INFO: Processing buffer {"connection_id":119532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:54:21] local.INFO: IMEI packet received {"connection_id":119532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:54:21] local.INFO: IMEI acknowledgment sent {"connection_id":119532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:54:24] local.INFO: TCP Data received {"connection_id":118762,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b4635f0012d7e430005d357400017015108..."} 
[2026-07-01 06:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b4635f0012d7e430005d357400017015108..."} 
[2026-07-01 06:54:24] local.INFO: Processing buffer {"connection_id":118762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b4635f0012d7e430005d357400017015108..."} 
[2026-07-01 06:54:24] local.INFO: Packet analysis {"connection_id":118762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b46"} 
[2026-07-01 06:54:24] local.INFO: Extracted packet for processing {"connection_id":118762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b46"} 
[2026-07-01 06:54:24] local.INFO: GPS Element Parsed {"raw_longitude":763249408,"raw_latitude":97736512,"longitude_deg":76.3249408,"latitude_deg":9.7736512,"altitude":23,"angle":337,"satellites":8,"speed":1,"hex_longitude":"2d7e4300","hex_latitude":"05d35740","is_valid_coordinates":true} 
[2026-07-01 06:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:54:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414467328001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:54:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101067194724515840,"note":"Value kept but may cause issues"} 
[2026-07-01 06:54:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9098115697239072768,"note":"Value kept but may cause issues"} 
[2026-07-01 06:54:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:54:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782869014000,"timestamp_ms":1782869014000,"timestamp_seconds":1782869014,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b4635f0"} 
[2026-07-01 06:54:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:54:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1536,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 06:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-01 06:54: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-01 06:54:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:54:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:54:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:54:24] local.INFO: Teltonika packet parsed successfully {"connection_id":118762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:54:24] local.INFO: Passing IMEI to GPS processor {"connection_id":118762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 06:54:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":118762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 06:54:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 06:54:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 06:54:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 06:54:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414467328001,"66":13189,"81":206,"85":15104,"24":1,"16":101067194724515840,"45":9098115697239072768},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 06:54:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 06:54:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 06:54:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414467328001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:54:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 06:54:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 06:54:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101067194724515840,"km_value":101067194724515.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:54:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9098115697239072768,"description":"Unknown IO ID 45"} 
[2026-07-01 06:54:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414467328001,"power":13189,"unknown_81":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9098115697239072768}} 
[2026-07-01 06:54:24] local.INFO: DEBUG: GPS processor result {"connection_id":118762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416254,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:54:24] local.INFO: GPS data processed {"connection_id":118762,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:54:24] local.INFO: Acknowledgment sent {"connection_id":118762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:54:26] local.INFO: TCP Data received {"connection_id":119532,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:54:26] local.INFO: Processing buffer {"connection_id":119532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:54:26] local.INFO: IMEI packet received {"connection_id":119532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":119532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:54:27] local.INFO: TCP Data received {"connection_id":119532,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b45c0c0012d3f988006994b70001700f82d..."} 
[2026-07-01 06:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b45c0c0012d3f988006994b70001700f82d..."} 
[2026-07-01 06:54:27] local.INFO: Processing buffer {"connection_id":119532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b45c0c0012d3f988006994b70001700f82d..."} 
[2026-07-01 06:54:27] local.INFO: Packet analysis {"connection_id":119532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b45"} 
[2026-07-01 06:54:27] local.INFO: Extracted packet for processing {"connection_id":119532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b45"} 
[2026-07-01 06:54:27] local.INFO: GPS Element Parsed {"raw_longitude":759142528,"raw_latitude":110709616,"longitude_deg":75.9142528,"latitude_deg":11.0709616,"altitude":23,"angle":248,"satellites":45,"speed":56,"hex_longitude":"2d3f9880","hex_latitude":"06994b70","is_valid_coordinates":true} 
[2026-07-01 06:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:54:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414458112001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332779963084177408,"note":"Value kept but may cause issues"} 
[2026-07-01 06:54:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4592967960818522112,"note":"Value kept but may cause issues"} 
[2026-07-01 06:54:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782868984000,"timestamp_ms":1782868984000,"timestamp_seconds":1782868984,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b45c0c0"} 
[2026-07-01 06:54:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:54: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-01 06:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-01 06:54:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:54:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:54:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:54:27] 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-01 06:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414458112001,"66":28028,"232":206,"81":47616,"24":56,"16":332779963084177408,"45":4592967960818522112},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,81,24,16,45]} 
[2026-07-01 06:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414458112001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:54:27] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-07-01 06:54:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-01 06:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332779963084177408,"km_value":332779963084177.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:54:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":4592967960818522112,"description":"Unknown IO ID 45"} 
[2026-07-01 06:54:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414458112001,"power":28028,"unknown_232":206,"unknown_81":47616,"ignition":56,"odometer":null,"unknown_45":4592967960818522112}} 
[2026-07-01 06:54:27] local.INFO: DEBUG: GPS processor result {"connection_id":119532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:54:27] local.INFO: GPS data processed {"connection_id":119532,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:54:27] local.INFO: Acknowledgment sent {"connection_id":119532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:54:55] local.INFO: TCP Data received {"connection_id":118762,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b464590012d7e430005d35748001700f308..."} 
[2026-07-01 06:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b464590012d7e430005d35748001700f308..."} 
[2026-07-01 06:54:55] local.INFO: Processing buffer {"connection_id":118762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b464590012d7e430005d35748001700f308..."} 
[2026-07-01 06:54:55] local.INFO: Packet analysis {"connection_id":118762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b46"} 
[2026-07-01 06:54:55] local.INFO: Extracted packet for processing {"connection_id":118762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b46"} 
[2026-07-01 06:54:55] local.INFO: GPS Element Parsed {"raw_longitude":763249408,"raw_latitude":97736520,"longitude_deg":76.3249408,"latitude_deg":9.773652,"altitude":23,"angle":243,"satellites":8,"speed":1,"hex_longitude":"2d7e4300","hex_latitude":"05d35748","is_valid_coordinates":true} 
[2026-07-01 06:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414467584001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101067194724515840,"note":"Value kept but may cause issues"} 
[2026-07-01 06:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9098115697239080960,"note":"Value kept but may cause issues"} 
[2026-07-01 06:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782869018000,"timestamp_ms":1782869018000,"timestamp_seconds":1782869018,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b464590"} 
[2026-07-01 06:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:54:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1536,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 06:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-01 06:54:55] 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-01 06:54:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":118762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":118762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 06:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":118762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 06:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 06:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 06:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 06:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414467584001,"66":13363,"81":206,"85":15104,"24":1,"16":101067194724515840,"45":9098115697239080960},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 06:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 06:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 06:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414467584001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:54:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 06:54:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 06:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101067194724515840,"km_value":101067194724515.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9098115697239080960,"description":"Unknown IO ID 45"} 
[2026-07-01 06:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414467584001,"power":13363,"unknown_81":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9098115697239080960}} 
[2026-07-01 06:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":118762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416256,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:54:55] local.INFO: GPS data processed {"connection_id":118762,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:54:55] local.INFO: Acknowledgment sent {"connection_id":118762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:54:59] local.INFO: TCP Data received {"connection_id":119532,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b46c678012d3e190006994db0001001292b..."} 
[2026-07-01 06:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b46c678012d3e190006994db0001001292b..."} 
[2026-07-01 06:54:59] local.INFO: Processing buffer {"connection_id":119532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b46c678012d3e190006994db0001001292b..."} 
[2026-07-01 06:54:59] local.INFO: Packet analysis {"connection_id":119532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b46"} 
[2026-07-01 06:54:59] local.INFO: Extracted packet for processing {"connection_id":119532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b46"} 
[2026-07-01 06:54:59] local.INFO: GPS Element Parsed {"raw_longitude":759044352,"raw_latitude":110710192,"longitude_deg":75.9044352,"latitude_deg":11.0710192,"altitude":16,"angle":297,"satellites":43,"speed":53,"hex_longitude":"2d3e1900","hex_latitude":"06994db0","is_valid_coordinates":true} 
[2026-07-01 06:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414476032001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332784777742516224,"note":"Value kept but may cause issues"} 
[2026-07-01 06:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4480166863900614656,"note":"Value kept but may cause issues"} 
[2026-07-01 06:54:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782869051000,"timestamp_ms":1782869051000,"timestamp_seconds":1782869051,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b46c678"} 
[2026-07-01 06:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:54: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-01 06:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-01 06:54:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:54:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:54:59] 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-01 06:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414476032001,"66":27713,"242":206,"81":47616,"24":53,"16":332784777742516224,"45":4480166863900614656},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,81,24,16,45]} 
[2026-07-01 06:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414476032001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:54:59] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-07-01 06:54:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-01 06:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332784777742516224,"km_value":332784777742516.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":4480166863900614656,"description":"Unknown IO ID 45"} 
[2026-07-01 06:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414476032001,"power":27713,"unknown_242":206,"unknown_81":47616,"ignition":53,"odometer":null,"unknown_45":4480166863900614656}} 
[2026-07-01 06:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":119532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:54:59] local.INFO: GPS data processed {"connection_id":119532,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:54:59] local.INFO: Acknowledgment sent {"connection_id":119532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:55:21] local.INFO: TCP Data received {"connection_id":118883,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:55:21] local.INFO: Processing buffer {"connection_id":118883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:55:21] local.INFO: IMEI packet received {"connection_id":118883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 06:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":118883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:55:26] local.INFO: TCP Data received {"connection_id":118762,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b47a138012d7e5f0005d34c08001900a412..."} 
[2026-07-01 06:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b47a138012d7e5f0005d34c08001900a412..."} 
[2026-07-01 06:55:26] local.INFO: Processing buffer {"connection_id":118762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b47a138012d7e5f0005d34c08001900a412..."} 
[2026-07-01 06:55:26] local.INFO: Packet analysis {"connection_id":118762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b47"} 
[2026-07-01 06:55:26] local.INFO: Extracted packet for processing {"connection_id":118762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b47"} 
[2026-07-01 06:55:26] local.INFO: GPS Element Parsed {"raw_longitude":763256576,"raw_latitude":97733640,"longitude_deg":76.3256576,"latitude_deg":9.773364,"altitude":25,"angle":164,"satellites":18,"speed":23,"hex_longitude":"2d7e5f00","hex_latitude":"05d34c08","is_valid_coordinates":true} 
[2026-07-01 06:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:55:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414490880001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:55:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101067645696081920,"note":"Value kept but may cause issues"} 
[2026-07-01 06:55:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9105645152865611776,"note":"Value kept but may cause issues"} 
[2026-07-01 06:55:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:55:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782869107000,"timestamp_ms":1782869107000,"timestamp_seconds":1782869107,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b47a138"} 
[2026-07-01 06:55:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:55:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5888,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 06:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-07-01 06:55: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-01 06:55:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:55:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:55:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:55:26] local.INFO: Teltonika packet parsed successfully {"connection_id":118762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:55:26] local.INFO: Passing IMEI to GPS processor {"connection_id":118762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 06:55:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":118762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 06:55:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 06:55:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 06:55:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 06:55:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414490880001,"66":12972,"109":206,"85":15104,"24":23,"16":101067645696081920,"45":9105645152865611776},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-01 06:55:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 06:55:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 06:55:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414490880001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:55:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-01 06:55:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 06:55:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101067645696081920,"km_value":101067645696081.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:55:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9105645152865611776,"description":"Unknown IO ID 45"} 
[2026-07-01 06:55:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414490880001,"power":12972,"unknown_109":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":9105645152865611776}} 
[2026-07-01 06:55:26] local.INFO: DEBUG: GPS processor result {"connection_id":118762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416258,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:55:26] local.INFO: GPS data processed {"connection_id":118762,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:55:26] local.INFO: Acknowledgment sent {"connection_id":118762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:55:28] local.INFO: TCP Data received {"connection_id":118883,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:55:28] local.INFO: Processing buffer {"connection_id":118883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:55:28] local.INFO: IMEI packet received {"connection_id":118883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:55:28] local.INFO: IMEI acknowledgment sent {"connection_id":118883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:55:38] local.INFO: TCP Data received {"connection_id":118883,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b46d618012d3e0780069959a8001101372d..."} 
[2026-07-01 06:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b46d618012d3e0780069959a8001101372d..."} 
[2026-07-01 06:55:38] local.INFO: Processing buffer {"connection_id":118883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b46d618012d3e0780069959a8001101372d..."} 
[2026-07-01 06:55:38] local.INFO: Packet analysis {"connection_id":118883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b46"} 
[2026-07-01 06:55:38] local.INFO: Extracted packet for processing {"connection_id":118883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b46"} 
[2026-07-01 06:55:38] local.INFO: GPS Element Parsed {"raw_longitude":759039872,"raw_latitude":110713256,"longitude_deg":75.9039872,"latitude_deg":11.0713256,"altitude":17,"angle":311,"satellites":45,"speed":53,"hex_longitude":"2d3e0780","hex_latitude":"069959a8","is_valid_coordinates":true} 
[2026-07-01 06:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414477056001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332785039735521280,"note":"Value kept but may cause issues"} 
[2026-07-01 06:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4474607733111107584,"note":"Value kept but may cause issues"} 
[2026-07-01 06:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782869055000,"timestamp_ms":1782869055000,"timestamp_seconds":1782869055,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b46d618"} 
[2026-07-01 06:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 06:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-01 06:55:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:55:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":118883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":118883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":118883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 06:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414477056001,"66":27865,"215":206,"81":47616,"24":53,"16":332785039735521280,"45":4474607733111107584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,81,24,16,45]} 
[2026-07-01 06:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414477056001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:55:38] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-01 06:55:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-01 06:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332785039735521280,"km_value":332785039735521.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":4474607733111107584,"description":"Unknown IO ID 45"} 
[2026-07-01 06:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414477056001,"power":27865,"unknown_215":206,"unknown_81":47616,"ignition":53,"odometer":null,"unknown_45":4474607733111107584}} 
[2026-07-01 06:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":118883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:55:38] local.INFO: GPS data processed {"connection_id":118883,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:55:38] local.INFO: Acknowledgment sent {"connection_id":118883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:55:57] local.INFO: TCP Data received {"connection_id":118762,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b47b4c0012d7e620005d33d38001500b012..."} 
[2026-07-01 06:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b47b4c0012d7e620005d33d38001500b012..."} 
[2026-07-01 06:55:57] local.INFO: Processing buffer {"connection_id":118762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b47b4c0012d7e620005d33d38001500b012..."} 
[2026-07-01 06:55:57] local.INFO: Packet analysis {"connection_id":118762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b47"} 
[2026-07-01 06:55:57] local.INFO: Extracted packet for processing {"connection_id":118762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b47"} 
[2026-07-01 06:55:57] local.INFO: GPS Element Parsed {"raw_longitude":763257344,"raw_latitude":97729848,"longitude_deg":76.3257344,"latitude_deg":9.7729848,"altitude":21,"angle":176,"satellites":18,"speed":34,"hex_longitude":"2d7e6200","hex_latitude":"05d33d38","is_valid_coordinates":true} 
[2026-07-01 06:55: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-01 06:55:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414491392001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:55:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101067834674642944,"note":"Value kept but may cause issues"} 
[2026-07-01 06:55:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9105996996586244096,"note":"Value kept but may cause issues"} 
[2026-07-01 06:55:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:55:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782869112000,"timestamp_ms":1782869112000,"timestamp_seconds":1782869112,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b47b4c0"} 
[2026-07-01 06:55:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:55: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 06:55:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-01 06:55:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:55: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-01 06:55:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:55:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:55:57] local.INFO: Teltonika packet parsed successfully {"connection_id":118762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:55:57] local.INFO: Passing IMEI to GPS processor {"connection_id":118762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 06:55:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":118762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 06:55:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 06:55:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 06:55:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 06:55:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414491392001,"66":13374,"109":206,"85":15104,"24":34,"16":101067834674642944,"45":9105996996586244096},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-01 06:55:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 06:55:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 06:55:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414491392001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:55:57] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-01 06:55:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 06:55:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101067834674642944,"km_value":101067834674642.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:55:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9105996996586244096,"description":"Unknown IO ID 45"} 
[2026-07-01 06:55:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414491392001,"power":13374,"unknown_109":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":9105996996586244096}} 
[2026-07-01 06:55:57] local.INFO: DEBUG: GPS processor result {"connection_id":118762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416260,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:55:57] local.INFO: GPS data processed {"connection_id":118762,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:55:57] local.INFO: Acknowledgment sent {"connection_id":118762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:56:27] local.INFO: TCP Data received {"connection_id":120639,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:56:27] local.INFO: Processing buffer {"connection_id":120639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:56:27] local.INFO: IMEI packet received {"connection_id":120639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 06:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":120639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:56:27] local.INFO: TCP Data received {"connection_id":120639,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:56:27] local.INFO: Processing buffer {"connection_id":120639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:56:27] local.INFO: IMEI packet received {"connection_id":120639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":120639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:56:29] local.INFO: TCP Data received {"connection_id":118762,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b47dbd0012d7e64c005d31960001300b012..."} 
[2026-07-01 06:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b47dbd0012d7e64c005d31960001300b012..."} 
[2026-07-01 06:56:29] local.INFO: Processing buffer {"connection_id":118762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b47dbd0012d7e64c005d31960001300b012..."} 
[2026-07-01 06:56:29] local.INFO: Packet analysis {"connection_id":118762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b47"} 
[2026-07-01 06:56:29] local.INFO: Extracted packet for processing {"connection_id":118762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b47"} 
[2026-07-01 06:56:29] local.INFO: GPS Element Parsed {"raw_longitude":763258048,"raw_latitude":97720672,"longitude_deg":76.3258048,"latitude_deg":9.7720672,"altitude":19,"angle":176,"satellites":18,"speed":33,"hex_longitude":"2d7e64c0","hex_latitude":"05d31960","is_valid_coordinates":true} 
[2026-07-01 06: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-01 06:56:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414492672001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:56:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101068281351241728,"note":"Value kept but may cause issues"} 
[2026-07-01 06:56:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9106841421515405312,"note":"Value kept but may cause issues"} 
[2026-07-01 06:56:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:56:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782869122000,"timestamp_ms":1782869122000,"timestamp_seconds":1782869122,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b47dbd0"} 
[2026-07-01 06: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-01 06:56:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 06: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-01 06:56:29] 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-01 06: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-01 06: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-01 06:56:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:56:29] local.INFO: Teltonika packet parsed successfully {"connection_id":118762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:56:29] local.INFO: Passing IMEI to GPS processor {"connection_id":118762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 06:56:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":118762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 06:56:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 06:56:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 06:56:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 06:56:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414492672001,"66":13254,"109":206,"85":15104,"24":33,"16":101068281351241728,"45":9106841421515405312},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-01 06:56:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 06:56:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 06:56:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414492672001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:56:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-01 06:56:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 06:56:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101068281351241728,"km_value":101068281351241.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:56:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9106841421515405312,"description":"Unknown IO ID 45"} 
[2026-07-01 06:56:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414492672001,"power":13254,"unknown_109":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9106841421515405312}} 
[2026-07-01 06:56:29] local.INFO: DEBUG: GPS processor result {"connection_id":118762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416261,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:56:29] local.INFO: GPS data processed {"connection_id":118762,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:56:29] local.INFO: Acknowledgment sent {"connection_id":118762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:56:32] local.INFO: TCP Data received {"connection_id":120639,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:56:32] local.INFO: Processing buffer {"connection_id":120639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:56:32] local.INFO: IMEI packet received {"connection_id":120639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":120639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:56:33] local.INFO: TCP Data received {"connection_id":120639,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b4806c8012d3dc500069ab638002501522e..."} 
[2026-07-01 06:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b4806c8012d3dc500069ab638002501522e..."} 
[2026-07-01 06:56:33] local.INFO: Processing buffer {"connection_id":120639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b4806c8012d3dc500069ab638002501522e..."} 
[2026-07-01 06:56:33] local.INFO: Packet analysis {"connection_id":120639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b48"} 
[2026-07-01 06:56:33] local.INFO: Extracted packet for processing {"connection_id":120639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b48"} 
[2026-07-01 06:56:33] local.INFO: GPS Element Parsed {"raw_longitude":759022848,"raw_latitude":110802488,"longitude_deg":75.9022848,"latitude_deg":11.0802488,"altitude":37,"angle":338,"satellites":46,"speed":43,"hex_longitude":"2d3dc500","hex_latitude":"069ab638","is_valid_coordinates":true} 
[2026-07-01 06:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414495744001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332789549451182080,"note":"Value kept but may cause issues"} 
[2026-07-01 06:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4454904484762718208,"note":"Value kept but may cause issues"} 
[2026-07-01 06:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782869133000,"timestamp_ms":1782869133000,"timestamp_seconds":1782869133,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b4806c8"} 
[2026-07-01 06:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:56:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 06:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 06:56:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:56:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":120639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":120639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":120639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 06:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414495744001,"66":27821,"225":206,"81":47616,"24":43,"16":332789549451182080,"45":4454904484762718208},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,81,24,16,45]} 
[2026-07-01 06:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414495744001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:56:33] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-07-01 06:56:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-01 06:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332789549451182080,"km_value":332789549451182.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":4454904484762718208,"description":"Unknown IO ID 45"} 
[2026-07-01 06:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414495744001,"power":27821,"unknown_225":206,"unknown_81":47616,"ignition":43,"odometer":null,"unknown_45":4454904484762718208}} 
[2026-07-01 06:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":120639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:56:33] local.INFO: GPS data processed {"connection_id":120639,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:56:33] local.INFO: Acknowledgment sent {"connection_id":120639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:56:35] local.INFO: TCP Data received {"connection_id":120639,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b482608012d3db740069ad790002601522e..."} 
[2026-07-01 06:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b482608012d3db740069ad790002601522e..."} 
[2026-07-01 06:56:35] local.INFO: Processing buffer {"connection_id":120639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b482608012d3db740069ad790002601522e..."} 
[2026-07-01 06:56:35] local.INFO: Packet analysis {"connection_id":120639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b48"} 
[2026-07-01 06:56:35] local.INFO: Extracted packet for processing {"connection_id":120639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b48"} 
[2026-07-01 06:56:35] local.INFO: GPS Element Parsed {"raw_longitude":759019328,"raw_latitude":110811024,"longitude_deg":75.9019328,"latitude_deg":11.0811024,"altitude":38,"angle":338,"satellites":46,"speed":47,"hex_longitude":"2d3db740","hex_latitude":"069ad790","is_valid_coordinates":true} 
[2026-07-01 06:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414498048001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332789996127780864,"note":"Value kept but may cause issues"} 
[2026-07-01 06:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4450963835091040256,"note":"Value kept but may cause issues"} 
[2026-07-01 06:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782869141000,"timestamp_ms":1782869141000,"timestamp_seconds":1782869141,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b482608"} 
[2026-07-01 06:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:56:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 06:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 06:56:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:56:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":120639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":120639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":120639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:56:35] 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-01 06:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414498048001,"66":28006,"225":206,"81":47616,"24":47,"16":332789996127780864,"45":4450963835091040256},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,81,24,16,45]} 
[2026-07-01 06:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414498048001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:56:35] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-07-01 06:56:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-01 06:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332789996127780864,"km_value":332789996127780.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":4450963835091040256,"description":"Unknown IO ID 45"} 
[2026-07-01 06:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414498048001,"power":28006,"unknown_225":206,"unknown_81":47616,"ignition":47,"odometer":null,"unknown_45":4450963835091040256}} 
[2026-07-01 06:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":120639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:56:35] local.INFO: GPS data processed {"connection_id":120639,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:56:35] local.INFO: Acknowledgment sent {"connection_id":120639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:57:00] local.INFO: TCP Data received {"connection_id":118762,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b481280012d7e678005d301b8000e006312..."} 
[2026-07-01 06:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b481280012d7e678005d301b8000e006312..."} 
[2026-07-01 06:57:00] local.INFO: Processing buffer {"connection_id":118762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b481280012d7e678005d301b8000e006312..."} 
[2026-07-01 06:57:00] local.INFO: Packet analysis {"connection_id":118762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b48"} 
[2026-07-01 06:57:00] local.INFO: Extracted packet for processing {"connection_id":118762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b48"} 
[2026-07-01 06:57:00] local.INFO: GPS Element Parsed {"raw_longitude":763258752,"raw_latitude":97714616,"longitude_deg":76.3258752,"latitude_deg":9.7714616,"altitude":14,"angle":99,"satellites":18,"speed":7,"hex_longitude":"2d7e6780","hex_latitude":"05d301b8","is_valid_coordinates":true} 
[2026-07-01 06:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414495232001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101068581998952448,"note":"Value kept but may cause issues"} 
[2026-07-01 06:57:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9107615477699010560,"note":"Value kept but may cause issues"} 
[2026-07-01 06:57:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782869136000,"timestamp_ms":1782869136000,"timestamp_seconds":1782869136,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b481280"} 
[2026-07-01 06:57:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:57:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6400,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 06:57:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-01 06:57:01] 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-01 06:57:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:57:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":118762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":118762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 06:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":118762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 06:57:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 06:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 06:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 06:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414495232001,"66":13330,"109":206,"85":15104,"24":7,"16":101068581998952448,"45":9107615477699010560},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-01 06:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 06:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 06:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414495232001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:57:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-01 06:57:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 06:57:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101068581998952448,"km_value":101068581998952.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:57:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9107615477699010560,"description":"Unknown IO ID 45"} 
[2026-07-01 06:57:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414495232001,"power":13330,"unknown_109":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9107615477699010560}} 
[2026-07-01 06:57:01] local.INFO: DEBUG: GPS processor result {"connection_id":118762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416264,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:57:01] local.INFO: GPS data processed {"connection_id":118762,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:57:01] local.INFO: Acknowledgment sent {"connection_id":118762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:57:07] local.INFO: TCP Data received {"connection_id":120639,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b484548012d3da840069afc08002601522e..."} 
[2026-07-01 06:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b484548012d3da840069afc08002601522e..."} 
[2026-07-01 06:57:07] local.INFO: Processing buffer {"connection_id":120639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b484548012d3da840069afc08002601522e..."} 
[2026-07-01 06:57:07] local.INFO: Packet analysis {"connection_id":120639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b48"} 
[2026-07-01 06:57:07] local.INFO: Extracted packet for processing {"connection_id":120639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b48"} 
[2026-07-01 06:57:07] local.INFO: GPS Element Parsed {"raw_longitude":759015488,"raw_latitude":110820360,"longitude_deg":75.9015488,"latitude_deg":11.082036,"altitude":38,"angle":338,"satellites":46,"speed":49,"hex_longitude":"2d3da840","hex_latitude":"069afc08","is_valid_coordinates":true} 
[2026-07-01 06:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414500096001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332790481459085312,"note":"Value kept but may cause issues"} 
[2026-07-01 06:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4447093554163453952,"note":"Value kept but may cause issues"} 
[2026-07-01 06:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782869149000,"timestamp_ms":1782869149000,"timestamp_seconds":1782869149,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b484548"} 
[2026-07-01 06:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:57:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 06:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-01 06:57:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:57:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":120639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":120639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":120639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 06:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414500096001,"66":27604,"225":206,"81":47616,"24":49,"16":332790481459085312,"45":4447093554163453952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,81,24,16,45]} 
[2026-07-01 06:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414500096001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:57:07] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-07-01 06:57:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-01 06:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332790481459085312,"km_value":332790481459085.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":4447093554163453952,"description":"Unknown IO ID 45"} 
[2026-07-01 06:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414500096001,"power":27604,"unknown_225":206,"unknown_81":47616,"ignition":49,"odometer":null,"unknown_45":4447093554163453952}} 
[2026-07-01 06:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":120639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:57:07] local.INFO: GPS data processed {"connection_id":120639,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:57:07] local.INFO: Acknowledgment sent {"connection_id":120639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:57:18] local.INFO: TCP Data received {"connection_id":119533,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 06:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119533,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 06:57:18] local.INFO: Processing buffer {"connection_id":119533,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 06:57:18] local.INFO: IMEI packet received {"connection_id":119533,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 06:57:18] local.INFO: IMEI acknowledgment sent {"connection_id":119533,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:57:22] local.INFO: TCP Data received {"connection_id":118885,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:57:22] local.INFO: Processing buffer {"connection_id":118885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:57:22] local.INFO: IMEI packet received {"connection_id":118885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 06:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":118885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:57:22] local.INFO: TCP Data received {"connection_id":118885,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:57:22] local.INFO: Processing buffer {"connection_id":118885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:57:22] local.INFO: IMEI packet received {"connection_id":118885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":118885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:57:23] local.INFO: TCP Data received {"connection_id":119533,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 06:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119533,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 06:57:23] local.INFO: Processing buffer {"connection_id":119533,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 06:57:23] local.INFO: IMEI packet received {"connection_id":119533,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 06:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":119533,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:57:25] local.INFO: TCP Data received {"connection_id":119533,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b481668012d7e684005d301f0000d004e12..."} 
[2026-07-01 06:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b481668012d7e684005d301f0000d004e12..."} 
[2026-07-01 06:57:25] local.INFO: Processing buffer {"connection_id":119533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b481668012d7e684005d301f0000d004e12..."} 
[2026-07-01 06:57:25] local.INFO: Packet analysis {"connection_id":119533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b48"} 
[2026-07-01 06:57:25] local.INFO: Extracted packet for processing {"connection_id":119533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b48"} 
[2026-07-01 06:57:25] local.INFO: GPS Element Parsed {"raw_longitude":763258944,"raw_latitude":97714672,"longitude_deg":76.3258944,"latitude_deg":9.7714672,"altitude":13,"angle":78,"satellites":18,"speed":8,"hex_longitude":"2d7e6840","hex_latitude":"05d301f0","is_valid_coordinates":true} 
[2026-07-01 06:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414498816001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101068594883854336,"note":"Value kept but may cause issues"} 
[2026-07-01 06:57:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9108389533883414528,"note":"Value kept but may cause issues"} 
[2026-07-01 06:57:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782869137000,"timestamp_ms":1782869137000,"timestamp_seconds":1782869137,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b481668"} 
[2026-07-01 06:57:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:57:25] 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-01 06:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-01 06:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-07-01 06:57:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-01 06:57:25] local.WARNING: Large IO value detected {"io_id":21,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-01 06:57:25] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3278140591997933720,"note":"Value kept but may cause issues"} 
[2026-07-01 06:57:25] local.WARNING: Large IO value detected {"io_id":211,"raw_value":6158672593515844096,"note":"Value kept but may cause issues"} 
[2026-07-01 06:57:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-07-01 06:57:25] local.WARNING: Large IO value detected {"io_id":149,"raw_value":2147560830,"note":"Value kept but may cause issues"} 
[2026-07-01 06:57:25] local.WARNING: Large IO value detected {"io_id":92,"raw_value":3221607249,"note":"Value kept but may cause issues"} 
[2026-07-01 06:57:25] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2315308365,"note":"Value kept but may cause issues"} 
[2026-07-01 06:57:25] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3545483264,"note":"Value kept but may cause issues"} 
[2026-07-01 06:57:25] local.WARNING: Large IO value detected {"io_id":214,"raw_value":57787500785980731,"note":"Value kept but may cause issues"} 
[2026-07-01 06:57:25] local.WARNING: Large IO value detected {"io_id":71,"raw_value":-8800032376977113083,"note":"Value kept but may cause issues"} 
[2026-07-01 06:57:25] local.WARNING: Large IO value detected {"io_id":12,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-07-01 06:57:25] local.WARNING: Large IO value detected {"io_id":77,"raw_value":7854504615591548928,"note":"Value kept but may cause issues"} 
[2026-07-01 06:57:25] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,109,85,24,241,157,16,17,159,219,45,192,25,19,18,10,66,180,61,21,161,1,240,172,227,27,211,4,113,205,149,92,112,239,52,2,103,5,15,214,71,12,77],"length":626,"final_offset":756,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-07-01 06:57:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1008915245492011008,"timestamp_seconds":1008915245492011.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 06:57:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119533,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 06:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119533,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 06:57:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 06:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 06:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 06:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414498816001,"66":13624,"109":206,"85":15104,"24":8,"16":101068594883854336,"45":9108389533883414528},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-01 06:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 06:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 06:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414498816001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:57:25] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-01 06:57:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 06:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101068594883854336,"km_value":101068594883854.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:57:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9108389533883414528,"description":"Unknown IO ID 45"} 
[2026-07-01 06:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414498816001,"power":13624,"unknown_109":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9108389533883414528}} 
[2026-07-01 06:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":119533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416266,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:57:25] local.INFO: GPS data processed {"connection_id":119533,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:57:25] local.INFO: Acknowledgment sent {"connection_id":119533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:57:27] local.INFO: TCP Data received {"connection_id":118885,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:57:27] local.INFO: Processing buffer {"connection_id":118885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:57:27] local.INFO: IMEI packet received {"connection_id":118885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":118885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:57:27] local.INFO: TCP Data received {"connection_id":118885,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b4860a0012d3d9c80069b1cf8002701592d..."} 
[2026-07-01 06:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b4860a0012d3d9c80069b1cf8002701592d..."} 
[2026-07-01 06:57:27] local.INFO: Processing buffer {"connection_id":118885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b4860a0012d3d9c80069b1cf8002701592d..."} 
[2026-07-01 06:57:27] local.INFO: Packet analysis {"connection_id":118885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b48"} 
[2026-07-01 06:57:27] local.INFO: Extracted packet for processing {"connection_id":118885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b48"} 
[2026-07-01 06:57:27] local.INFO: GPS Element Parsed {"raw_longitude":759012480,"raw_latitude":110828792,"longitude_deg":75.901248,"latitude_deg":11.0828792,"altitude":39,"angle":345,"satellites":45,"speed":53,"hex_longitude":"2d3d9c80","hex_latitude":"069b1cf8","is_valid_coordinates":true} 
[2026-07-01 06:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414502144001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332790915250782208,"note":"Value kept but may cause issues"} 
[2026-07-01 06:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4442871429515184128,"note":"Value kept but may cause issues"} 
[2026-07-01 06:57:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782869156000,"timestamp_ms":1782869156000,"timestamp_seconds":1782869156,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b4860a0"} 
[2026-07-01 06:57:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:57: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-01 06:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-01 06:57:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:57:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:57:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:57:27] 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-01 06:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414502144001,"66":27767,"34":206,"81":47616,"24":53,"16":332790915250782208,"45":4442871429515184128},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-07-01 06:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414502144001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:57:27] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-01 06:57:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-01 06:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332790915250782208,"km_value":332790915250782.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":4442871429515184128,"description":"Unknown IO ID 45"} 
[2026-07-01 06:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414502144001,"power":27767,"unknown_34":206,"unknown_81":47616,"ignition":53,"odometer":null,"unknown_45":4442871429515184128}} 
[2026-07-01 06:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":118885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:57:27] local.INFO: GPS data processed {"connection_id":118885,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:57:27] local.INFO: Acknowledgment sent {"connection_id":118885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:57:41] local.INFO: TCP Data received {"connection_id":118884,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 06:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118884,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 06:57:41] local.INFO: Processing buffer {"connection_id":118884,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 06:57:41] local.INFO: IMEI packet received {"connection_id":118884,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 06:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":118884,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:57:59] local.INFO: TCP Data received {"connection_id":118885,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b487bf8012d3d9540069b4280002701612d..."} 
[2026-07-01 06:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b487bf8012d3d9540069b4280002701612d..."} 
[2026-07-01 06:57:59] local.INFO: Processing buffer {"connection_id":118885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b487bf8012d3d9540069b4280002701612d..."} 
[2026-07-01 06:57:59] local.INFO: Packet analysis {"connection_id":118885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b48"} 
[2026-07-01 06:57:59] local.INFO: Extracted packet for processing {"connection_id":118885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b48"} 
[2026-07-01 06:57:59] local.INFO: GPS Element Parsed {"raw_longitude":759010624,"raw_latitude":110838400,"longitude_deg":75.9010624,"latitude_deg":11.08384,"altitude":39,"angle":353,"satellites":45,"speed":58,"hex_longitude":"2d3d9540","hex_latitude":"069b4280","is_valid_coordinates":true} 
[2026-07-01 06:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414503936001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332791391992152064,"note":"Value kept but may cause issues"} 
[2026-07-01 06:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4439564098540992512,"note":"Value kept but may cause issues"} 
[2026-07-01 06:57:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782869163000,"timestamp_ms":1782869163000,"timestamp_seconds":1782869163,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b487bf8"} 
[2026-07-01 06:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:57:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 06:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 06:57:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:57:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:57:59] 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-01 06:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414503936001,"66":27995,"34":206,"81":47616,"24":58,"16":332791391992152064,"45":4439564098540992512},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,81,24,16,45]} 
[2026-07-01 06:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414503936001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:57:59] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-01 06:57:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-01 06:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332791391992152064,"km_value":332791391992152.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":4439564098540992512,"description":"Unknown IO ID 45"} 
[2026-07-01 06:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414503936001,"power":27995,"unknown_34":206,"unknown_81":47616,"ignition":58,"odometer":null,"unknown_45":4439564098540992512}} 
[2026-07-01 06:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":118885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:57:59] local.INFO: GPS data processed {"connection_id":118885,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:57:59] local.INFO: Acknowledgment sent {"connection_id":118885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:58:08] local.INFO: TCP Data received {"connection_id":119533,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b4a0298012d7f528005d38ac80008003912..."} 
[2026-07-01 06:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b4a0298012d7f528005d38ac80008003912..."} 
[2026-07-01 06:58:08] local.INFO: Processing buffer {"connection_id":119533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b4a0298012d7f528005d38ac80008003912..."} 
[2026-07-01 06:58:08] local.INFO: Packet analysis {"connection_id":119533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b4a"} 
[2026-07-01 06:58:08] local.INFO: Extracted packet for processing {"connection_id":119533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b4a"} 
[2026-07-01 06:58:08] local.INFO: GPS Element Parsed {"raw_longitude":763318912,"raw_latitude":97749704,"longitude_deg":76.3318912,"latitude_deg":9.7749704,"altitude":8,"angle":57,"satellites":18,"speed":38,"hex_longitude":"2d7f5280","hex_latitude":"05d38ac8","is_valid_coordinates":true} 
[2026-07-01 06:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414529280001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101072099577167872,"note":"Value kept but may cause issues"} 
[2026-07-01 06:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9167851122721374208,"note":"Value kept but may cause issues"} 
[2026-07-01 06:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782869263000,"timestamp_ms":1782869263000,"timestamp_seconds":1782869263,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b4a0298"} 
[2026-07-01 06:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:58:08] 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-01 06:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-01 06:58:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-01 06:58:08] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-07-01 06:58:08] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2855282215297356288,"note":"Value kept but may cause issues"} 
[2026-07-01 06:58:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-07-01 06:58:08] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2315308365,"note":"Value kept but may cause issues"} 
[2026-07-01 06:58:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3543054336,"note":"Value kept but may cause issues"} 
[2026-07-01 06:58:08] local.WARNING: Large IO value detected {"io_id":160,"raw_value":57787500785980731,"note":"Value kept but may cause issues"} 
[2026-07-01 06:58:08] local.WARNING: Large IO value detected {"io_id":72,"raw_value":-2476978500141219835,"note":"Value kept but may cause issues"} 
[2026-07-01 06:58:08] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,109,85,24,241,157,16,20,159,215,45,128,112,10,18,66,176,192,80,12,19,125,1,240,110,227,27,211,4,113,205,102,2,144,239,52,103,5,13,14,160,72],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-07-01 06:58:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648569001188065280,"timestamp_seconds":648569001188065.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 06:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":119533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":119533,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 06:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":119533,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 06:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 06:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 06:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 06:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414529280001,"66":13243,"109":206,"85":15104,"24":38,"16":101072099577167872,"45":9167851122721374208},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-01 06:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 06:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 06:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414529280001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:58:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-01 06:58:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 06:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101072099577167872,"km_value":101072099577167.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9167851122721374208,"description":"Unknown IO ID 45"} 
[2026-07-01 06:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414529280001,"power":13243,"unknown_109":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9167851122721374208}} 
[2026-07-01 06:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":119533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416269,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:58:08] local.INFO: GPS data processed {"connection_id":119533,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:58:08] local.INFO: Acknowledgment sent {"connection_id":119533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:58:16] local.INFO: TCP Data received {"connection_id":118765,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 06:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118765,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 06:58:16] local.INFO: Processing buffer {"connection_id":118765,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 06:58:16] local.INFO: IMEI packet received {"connection_id":118765,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 06:58:16] local.INFO: IMEI acknowledgment sent {"connection_id":118765,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:58:21] local.INFO: TCP Data received {"connection_id":119534,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:58:21] local.INFO: Processing buffer {"connection_id":119534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:58:21] local.INFO: IMEI packet received {"connection_id":119534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 06:58:21] local.INFO: IMEI acknowledgment sent {"connection_id":119534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:58:23] local.INFO: TCP Data received {"connection_id":119534,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:58:23] local.INFO: Processing buffer {"connection_id":119534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:58:23] local.INFO: IMEI packet received {"connection_id":119534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":119534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:58:27] local.INFO: TCP Data received {"connection_id":119534,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:58:27] local.INFO: Processing buffer {"connection_id":119534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:58:27] local.INFO: IMEI packet received {"connection_id":119534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":119534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:58:27] local.INFO: TCP Data received {"connection_id":119534,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b49b090012d3d1d40069cc9e80034014b2e..."} 
[2026-07-01 06:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b49b090012d3d1d40069cc9e80034014b2e..."} 
[2026-07-01 06:58:27] local.INFO: Processing buffer {"connection_id":119534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b49b090012d3d1d40069cc9e80034014b2e..."} 
[2026-07-01 06:58:27] local.INFO: Packet analysis {"connection_id":119534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b49"} 
[2026-07-01 06:58:27] local.INFO: Extracted packet for processing {"connection_id":119534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b49"} 
[2026-07-01 06:58:27] local.INFO: GPS Element Parsed {"raw_longitude":758979904,"raw_latitude":110938600,"longitude_deg":75.8979904,"latitude_deg":11.09386,"altitude":52,"angle":331,"satellites":46,"speed":49,"hex_longitude":"2d3d1d40","hex_latitude":"069cc9e8","is_valid_coordinates":true} 
[2026-07-01 06:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:58:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414523904001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332796515888136192,"note":"Value kept but may cause issues"} 
[2026-07-01 06:58:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4409446276058865664,"note":"Value kept but may cause issues"} 
[2026-07-01 06:58:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782869242000,"timestamp_ms":1782869242000,"timestamp_seconds":1782869242,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b49b090"} 
[2026-07-01 06:58:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:58:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 06:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-01 06:58:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:58:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:58:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:58:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:58:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:58:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:58:28] 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-01 06:58:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:58:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:58:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414523904001,"66":27930,"35":206,"81":47616,"24":49,"16":332796515888136192,"45":4409446276058865664},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,81,24,16,45]} 
[2026-07-01 06:58:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:58:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:58:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414523904001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:58:28] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-01 06:58:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-01 06:58:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332796515888136192,"km_value":332796515888136.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:58:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":4409446276058865664,"description":"Unknown IO ID 45"} 
[2026-07-01 06:58:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414523904001,"power":27930,"unknown_35":206,"unknown_81":47616,"ignition":49,"odometer":null,"unknown_45":4409446276058865664}} 
[2026-07-01 06:58:28] local.INFO: DEBUG: GPS processor result {"connection_id":119534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:58:28] local.INFO: GPS data processed {"connection_id":119534,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:58:28] local.INFO: Acknowledgment sent {"connection_id":119534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:58:39] local.INFO: TCP Data received {"connection_id":119533,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b4a0e50012d7f5d0005d38fd80007004512..."} 
[2026-07-01 06:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b4a0e50012d7f5d0005d38fd80007004512..."} 
[2026-07-01 06:58:39] local.INFO: Processing buffer {"connection_id":119533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b4a0e50012d7f5d0005d38fd80007004512..."} 
[2026-07-01 06:58:39] local.INFO: Packet analysis {"connection_id":119533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b4a"} 
[2026-07-01 06:58:39] local.INFO: Extracted packet for processing {"connection_id":119533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b4a"} 
[2026-07-01 06:58:39] local.INFO: GPS Element Parsed {"raw_longitude":763321600,"raw_latitude":97751000,"longitude_deg":76.33216,"latitude_deg":9.7751,"altitude":7,"angle":69,"satellites":18,"speed":37,"hex_longitude":"2d7f5d00","hex_latitude":"05d38fd8","is_valid_coordinates":true} 
[2026-07-01 06: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-01 06:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414531328001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101072241311088640,"note":"Value kept but may cause issues"} 
[2026-07-01 06:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9174536153419401216,"note":"Value kept but may cause issues"} 
[2026-07-01 06:58:39] 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-01 06:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782869266000,"timestamp_ms":1782869266000,"timestamp_seconds":1782869266,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b4a0e50"} 
[2026-07-01 06: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-01 06:58:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 06: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-01 06:58:39] 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-01 06: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-01 06: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-01 06:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":119533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":119533,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 06:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":119533,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 06:58:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 06:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 06:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 06:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414531328001,"66":13298,"109":206,"85":15104,"24":37,"16":101072241311088640,"45":9174536153419401216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-01 06:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 06:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 06:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414531328001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:58:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-01 06:58:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 06:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101072241311088640,"km_value":101072241311088.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9174536153419401216,"description":"Unknown IO ID 45"} 
[2026-07-01 06:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414531328001,"power":13298,"unknown_109":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9174536153419401216}} 
[2026-07-01 06:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":119533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416271,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:58:39] local.INFO: GPS data processed {"connection_id":119533,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:58:39] local.INFO: Acknowledgment sent {"connection_id":119533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:58:59] local.INFO: TCP Data received {"connection_id":119534,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b49cbe8012d3d0f80069ce9d0003601572e..."} 
[2026-07-01 06:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b49cbe8012d3d0f80069ce9d0003601572e..."} 
[2026-07-01 06:58:59] local.INFO: Processing buffer {"connection_id":119534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b49cbe8012d3d0f80069ce9d0003601572e..."} 
[2026-07-01 06:58:59] local.INFO: Packet analysis {"connection_id":119534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b49"} 
[2026-07-01 06:58:59] local.INFO: Extracted packet for processing {"connection_id":119534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b49"} 
[2026-07-01 06:58:59] local.INFO: GPS Element Parsed {"raw_longitude":758976384,"raw_latitude":110946768,"longitude_deg":75.8976384,"latitude_deg":11.0946768,"altitude":54,"angle":343,"satellites":46,"speed":51,"hex_longitude":"2d3d0f80","hex_latitude":"069ce9d0","is_valid_coordinates":true} 
[2026-07-01 06:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414525952001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332796945384865792,"note":"Value kept but may cause issues"} 
[2026-07-01 06:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4403746407782672384,"note":"Value kept but may cause issues"} 
[2026-07-01 06:58:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782869249000,"timestamp_ms":1782869249000,"timestamp_seconds":1782869249,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b49cbe8"} 
[2026-07-01 06:58:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:58: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-01 06:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-01 06:58:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:58:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:58:59] 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-01 06:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414525952001,"66":27995,"35":206,"81":47616,"24":51,"16":332796945384865792,"45":4403746407782672384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,81,24,16,45]} 
[2026-07-01 06:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414525952001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:58:59] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-01 06:58:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-01 06:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332796945384865792,"km_value":332796945384865.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":4403746407782672384,"description":"Unknown IO ID 45"} 
[2026-07-01 06:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414525952001,"power":27995,"unknown_35":206,"unknown_81":47616,"ignition":51,"odometer":null,"unknown_45":4403746407782672384}} 
[2026-07-01 06:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":119534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:58:59] local.INFO: GPS data processed {"connection_id":119534,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:58:59] local.INFO: Acknowledgment sent {"connection_id":119534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:59:18] local.INFO: TCP Data received {"connection_id":118766,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 06:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118766,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 06:59:18] local.INFO: Processing buffer {"connection_id":118766,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 06:59:18] local.INFO: IMEI packet received {"connection_id":118766,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 06:59:18] local.INFO: IMEI acknowledgment sent {"connection_id":118766,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:59:23] local.INFO: TCP Data received {"connection_id":118766,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 06:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118766,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 06:59:23] local.INFO: Processing buffer {"connection_id":118766,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 06:59:23] local.INFO: IMEI packet received {"connection_id":118766,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 06:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":118766,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:59:23] local.INFO: TCP Data received {"connection_id":119535,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:59:23] local.INFO: Processing buffer {"connection_id":119535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:59:23] local.INFO: IMEI packet received {"connection_id":119535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 06:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":119535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 06:59:24] local.INFO: TCP Data received {"connection_id":118766,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b4b5670012d8043c005d383d00008007d18..."} 
[2026-07-01 06:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b4b5670012d8043c005d383d00008007d18..."} 
[2026-07-01 06:59:24] local.INFO: Processing buffer {"connection_id":118766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b4b5670012d8043c005d383d00008007d18..."} 
[2026-07-01 06:59:24] local.INFO: Packet analysis {"connection_id":118766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b4b"} 
[2026-07-01 06:59:24] local.INFO: Extracted packet for processing {"connection_id":118766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b4b"} 
[2026-07-01 06:59:24] local.INFO: GPS Element Parsed {"raw_longitude":763380672,"raw_latitude":97747920,"longitude_deg":76.3380672,"latitude_deg":9.774792,"altitude":8,"angle":125,"satellites":24,"speed":15,"hex_longitude":"2d8043c0","hex_latitude":"05d383d0","is_valid_coordinates":true} 
[2026-07-01 06:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414551808001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101075200543555584,"note":"Value kept but may cause issues"} 
[2026-07-01 06:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9206413144483596288,"note":"Value kept but may cause issues"} 
[2026-07-01 06:59:24] 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-01 06:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782869350000,"timestamp_ms":1782869350000,"timestamp_seconds":1782869350,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b4b5670"} 
[2026-07-01 06:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:59:24] 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-01 06:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-01 06:59:24] 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-01 06:59:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":118766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":118766,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 06:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":118766,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 06:59:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 06:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 06:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 06:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414551808001,"66":13189,"167":206,"85":15104,"24":15,"16":101075200543555584,"45":-9206413144483596288},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-01 06:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 06:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 06:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414551808001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:59:24] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-01 06:59:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 06:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101075200543555584,"km_value":101075200543555.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9206413144483596288,"description":"Unknown IO ID 45"} 
[2026-07-01 06:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414551808001,"power":13189,"unknown_167":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":-9206413144483596288}} 
[2026-07-01 06:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":118766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416273,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:59:24] local.INFO: GPS data processed {"connection_id":118766,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:59:24] local.INFO: Acknowledgment sent {"connection_id":118766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:59:28] local.INFO: TCP Data received {"connection_id":119535,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:59:28] local.INFO: Processing buffer {"connection_id":119535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:59:28] local.INFO: IMEI packet received {"connection_id":119535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":119535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:59:31] local.INFO: TCP Data received {"connection_id":119535,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:59:31] local.INFO: Processing buffer {"connection_id":119535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 06:59:31] local.INFO: IMEI packet received {"connection_id":119535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 06:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":119535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 06:59:34] local.INFO: TCP Data received {"connection_id":119535,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b4aa2c0012d3c7680069de7a0003601452e..."} 
[2026-07-01 06:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b4aa2c0012d3c7680069de7a0003601452e..."} 
[2026-07-01 06:59:34] local.INFO: Processing buffer {"connection_id":119535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b4aa2c0012d3c7680069de7a0003601452e..."} 
[2026-07-01 06:59:34] local.INFO: Packet analysis {"connection_id":119535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b4a"} 
[2026-07-01 06:59:34] local.INFO: Extracted packet for processing {"connection_id":119535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b4a"} 
[2026-07-01 06:59:34] local.INFO: GPS Element Parsed {"raw_longitude":758937216,"raw_latitude":111011744,"longitude_deg":75.8937216,"latitude_deg":11.1011744,"altitude":54,"angle":325,"satellites":46,"speed":52,"hex_longitude":"2d3c7680","hex_latitude":"069de7a0","is_valid_coordinates":true} 
[2026-07-01 06:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414541824001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332800772200726528,"note":"Value kept but may cause issues"} 
[2026-07-01 06:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4356810455434895360,"note":"Value kept but may cause issues"} 
[2026-07-01 06:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782869304000,"timestamp_ms":1782869304000,"timestamp_seconds":1782869304,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b4aa2c0"} 
[2026-07-01 06:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:59:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 06:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-01 06:59:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06:59:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":119535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":119535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":119535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:59:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 06:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414541824001,"66":27832,"96":206,"81":47616,"24":52,"16":332800772200726528,"45":4356810455434895360},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-07-01 06:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414541824001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:59:34] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-01 06:59:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-01 06:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332800772200726528,"km_value":332800772200726.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":4356810455434895360,"description":"Unknown IO ID 45"} 
[2026-07-01 06:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414541824001,"power":27832,"unknown_96":206,"unknown_81":47616,"ignition":52,"odometer":null,"unknown_45":4356810455434895360}} 
[2026-07-01 06:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":119535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:59:34] local.INFO: GPS data processed {"connection_id":119535,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:59:34] local.INFO: Acknowledgment sent {"connection_id":119535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:59:35] local.INFO: TCP Data received {"connection_id":119535,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b4abe18012d3c6440069e07300038014c2e..."} 
[2026-07-01 06:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b4abe18012d3c6440069e07300038014c2e..."} 
[2026-07-01 06:59:35] local.INFO: Processing buffer {"connection_id":119535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b4abe18012d3c6440069e07300038014c2e..."} 
[2026-07-01 06:59:35] local.INFO: Packet analysis {"connection_id":119535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b4a"} 
[2026-07-01 06:59:35] local.INFO: Extracted packet for processing {"connection_id":119535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b4a"} 
[2026-07-01 06:59:35] local.INFO: GPS Element Parsed {"raw_longitude":758932544,"raw_latitude":111019824,"longitude_deg":75.8932544,"latitude_deg":11.1019824,"altitude":56,"angle":332,"satellites":46,"speed":53,"hex_longitude":"2d3c6440","hex_latitude":"069e0730","is_valid_coordinates":true} 
[2026-07-01 06: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-01 06:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414541824001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332801223172292608,"note":"Value kept but may cause issues"} 
[2026-07-01 06:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4356810455434895360,"note":"Value kept but may cause issues"} 
[2026-07-01 06:59:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 06:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782869311000,"timestamp_ms":1782869311000,"timestamp_seconds":1782869311,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b4abe18"} 
[2026-07-01 06: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-01 06:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 06: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-01 06:59:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 06: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-01 06: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-01 06:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":119535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":119535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":119535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 06:59:35] 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-01 06:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 06:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 06:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414541824001,"66":27745,"96":206,"81":47616,"24":53,"16":332801223172292608,"45":4356810455434895360},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-07-01 06:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 06:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 06:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414541824001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:59:35] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-01 06:59:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-01 06:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332801223172292608,"km_value":332801223172292.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":4356810455434895360,"description":"Unknown IO ID 45"} 
[2026-07-01 06:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414541824001,"power":27745,"unknown_96":206,"unknown_81":47616,"ignition":53,"odometer":null,"unknown_45":4356810455434895360}} 
[2026-07-01 06:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":119535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:59:35] local.INFO: GPS data processed {"connection_id":119535,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:59:35] local.INFO: Acknowledgment sent {"connection_id":119535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 06:59:55] local.INFO: TCP Data received {"connection_id":118766,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b4b5a58012d80454005d383180008006c18..."} 
[2026-07-01 06:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b4b5a58012d80454005d383180008006c18..."} 
[2026-07-01 06:59:55] local.INFO: Processing buffer {"connection_id":118766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b4b5a58012d80454005d383180008006c18..."} 
[2026-07-01 06:59:55] local.INFO: Packet analysis {"connection_id":118766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b4b"} 
[2026-07-01 06:59:55] local.INFO: Extracted packet for processing {"connection_id":118766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b4b"} 
[2026-07-01 06:59:55] local.INFO: GPS Element Parsed {"raw_longitude":763381056,"raw_latitude":97747736,"longitude_deg":76.3381056,"latitude_deg":9.7747736,"altitude":8,"angle":108,"satellites":24,"speed":15,"hex_longitude":"2d804540","hex_latitude":"05d38318","is_valid_coordinates":true} 
[2026-07-01 06:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 06:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414553600001,"note":"Value kept but may cause issues"} 
[2026-07-01 06:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101075217723424768,"note":"Value kept but may cause issues"} 
[2026-07-01 06:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9204302082159161344,"note":"Value kept but may cause issues"} 
[2026-07-01 06:59:55] 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-01 06:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782869351000,"timestamp_ms":1782869351000,"timestamp_seconds":1782869351,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b4b5a58"} 
[2026-07-01 06:59:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 06:59:55] 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-01 06:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-01 06:59:55] 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-01 06:59:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 06:59:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 06:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 06:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":118766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 06:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":118766,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 06:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":118766,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 06:59:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 06:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 06:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 06:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414553600001,"66":12885,"167":206,"85":15104,"24":15,"16":101075217723424768,"45":-9204302082159161344},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-01 06:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 06:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 06:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414553600001,"description":"Unknown IO ID 0"} 
[2026-07-01 06:59:55] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-01 06:59:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 06:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101075217723424768,"km_value":101075217723424.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 06:59:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9204302082159161344,"description":"Unknown IO ID 45"} 
[2026-07-01 06:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414553600001,"power":12885,"unknown_167":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":-9204302082159161344}} 
[2026-07-01 06:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":118766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416276,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 06:59:55] local.INFO: GPS data processed {"connection_id":118766,"processed":1,"errors":0,"total":1} 
[2026-07-01 06:59:55] local.INFO: Acknowledgment sent {"connection_id":118766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:00:07] local.INFO: TCP Data received {"connection_id":119535,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b4ad970012d3c5300069e2800003a014b2c..."} 
[2026-07-01 07:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b4ad970012d3c5300069e2800003a014b2c..."} 
[2026-07-01 07:00:07] local.INFO: Processing buffer {"connection_id":119535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b4ad970012d3c5300069e2800003a014b2c..."} 
[2026-07-01 07:00:07] local.INFO: Packet analysis {"connection_id":119535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b4a"} 
[2026-07-01 07:00:07] local.INFO: Extracted packet for processing {"connection_id":119535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b4a"} 
[2026-07-01 07:00:07] local.INFO: GPS Element Parsed {"raw_longitude":758928128,"raw_latitude":111028224,"longitude_deg":75.8928128,"latitude_deg":11.1028224,"altitude":58,"angle":331,"satellites":44,"speed":54,"hex_longitude":"2d3c5300","hex_latitude":"069e2800","is_valid_coordinates":true} 
[2026-07-01 07:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414543616001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332801682733793280,"note":"Value kept but may cause issues"} 
[2026-07-01 07:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4351673537111994368,"note":"Value kept but may cause issues"} 
[2026-07-01 07:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782869318000,"timestamp_ms":1782869318000,"timestamp_seconds":1782869318,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b4ad970"} 
[2026-07-01 07:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 07:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:00:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":119535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":119535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":119535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414543616001,"66":27767,"108":206,"81":47616,"24":54,"16":332801682733793280,"45":4351673537111994368},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,81,24,16,45]} 
[2026-07-01 07:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414543616001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:00:07] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-07-01 07:00:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-01 07:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332801682733793280,"km_value":332801682733793.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":4351673537111994368,"description":"Unknown IO ID 45"} 
[2026-07-01 07:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414543616001,"power":27767,"unknown_108":206,"unknown_81":47616,"ignition":54,"odometer":null,"unknown_45":4351673537111994368}} 
[2026-07-01 07:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":119535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:00:07] local.INFO: GPS data processed {"connection_id":119535,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:00:07] local.INFO: Acknowledgment sent {"connection_id":119535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:00:22] local.INFO: TCP Data received {"connection_id":118886,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118886,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:00:22] local.INFO: Processing buffer {"connection_id":118886,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:00:22] local.INFO: IMEI packet received {"connection_id":118886,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 07:00:22] local.INFO: IMEI acknowledgment sent {"connection_id":118886,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:00:23] local.INFO: TCP Data received {"connection_id":118886,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118886,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:00:23] local.INFO: Processing buffer {"connection_id":118886,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:00:23] local.INFO: IMEI packet received {"connection_id":118886,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:00:23] local.INFO: IMEI acknowledgment sent {"connection_id":118886,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:00:28] local.INFO: TCP Data received {"connection_id":118886,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118886,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:00:28] local.INFO: Processing buffer {"connection_id":118886,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:00:28] local.INFO: IMEI packet received {"connection_id":118886,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:00:28] local.INFO: IMEI acknowledgment sent {"connection_id":118886,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:00:29] local.INFO: TCP Data received {"connection_id":118886,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b4b6610012d804a0005d382180009005f17..."} 
[2026-07-01 07:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b4b6610012d804a0005d382180009005f17..."} 
[2026-07-01 07:00:29] local.INFO: Processing buffer {"connection_id":118886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b4b6610012d804a0005d382180009005f17..."} 
[2026-07-01 07:00:29] local.INFO: Packet analysis {"connection_id":118886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b4b"} 
[2026-07-01 07:00:29] local.INFO: Extracted packet for processing {"connection_id":118886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b4b"} 
[2026-07-01 07:00:29] local.INFO: GPS Element Parsed {"raw_longitude":763382272,"raw_latitude":97747480,"longitude_deg":76.3382272,"latitude_deg":9.774748,"altitude":9,"angle":95,"satellites":23,"speed":16,"hex_longitude":"2d804a00","hex_latitude":"05d38218","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:00:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414553856001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:00:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101075277852966912,"note":"Value kept but may cause issues"} 
[2026-07-01 07:00:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9203879869694142464,"note":"Value kept but may cause issues"} 
[2026-07-01 07:00: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-01 07:00:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782869354000,"timestamp_ms":1782869354000,"timestamp_seconds":1782869354,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b4b6610"} 
[2026-07-01 07: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-01 07:00:29] 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-01 07: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-01 07:00:29] 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-01 07: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-01 07: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-01 07:00:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:00:29] local.INFO: Teltonika packet parsed successfully {"connection_id":118886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:00:29] local.INFO: Passing IMEI to GPS processor {"connection_id":118886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:00:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":118886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:00:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:00:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:00:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:00:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414553856001,"66":13493,"167":206,"85":15104,"24":16,"16":101075277852966912,"45":-9203879869694142464},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-01 07:00:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:00:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:00:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414553856001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:00:29] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-01 07:00:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:00:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101075277852966912,"km_value":101075277852966.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:00:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9203879869694142464,"description":"Unknown IO ID 45"} 
[2026-07-01 07:00:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414553856001,"power":13493,"unknown_167":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":-9203879869694142464}} 
[2026-07-01 07:00:29] local.INFO: DEBUG: GPS processor result {"connection_id":118886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416278,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:00:29] local.INFO: GPS data processed {"connection_id":118886,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:00:29] local.INFO: Acknowledgment sent {"connection_id":118886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:00:34] local.INFO: TCP Data received {"connection_id":118886,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b4ba490012d806fc005d37f100009005918..."} 
[2026-07-01 07:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b4ba490012d806fc005d37f100009005918..."} 
[2026-07-01 07:00:34] local.INFO: Processing buffer {"connection_id":118886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b4ba490012d806fc005d37f100009005918..."} 
[2026-07-01 07:00:34] local.INFO: Packet analysis {"connection_id":118886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b4b"} 
[2026-07-01 07:00:34] local.INFO: Extracted packet for processing {"connection_id":118886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b4b"} 
[2026-07-01 07:00:34] local.INFO: GPS Element Parsed {"raw_longitude":763391936,"raw_latitude":97746704,"longitude_deg":76.3391936,"latitude_deg":9.7746704,"altitude":9,"angle":89,"satellites":24,"speed":30,"hex_longitude":"2d806fc0","hex_latitude":"05d37f10","is_valid_coordinates":true} 
[2026-07-01 07:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414554624001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101075746004402176,"note":"Value kept but may cause issues"} 
[2026-07-01 07:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9202542863554832384,"note":"Value kept but may cause issues"} 
[2026-07-01 07:00:34] 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-01 07:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782869370000,"timestamp_ms":1782869370000,"timestamp_seconds":1782869370,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b4ba490"} 
[2026-07-01 07:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:00:34] 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-01 07:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-07-01 07:00:34] 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-01 07:00:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":118886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":118886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":118886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414554624001,"66":12798,"167":206,"85":15104,"24":30,"16":101075746004402176,"45":-9202542863554832384},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-07-01 07:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414554624001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:00:34] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-01 07:00:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101075746004402176,"km_value":101075746004402.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9202542863554832384,"description":"Unknown IO ID 45"} 
[2026-07-01 07:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414554624001,"power":12798,"unknown_167":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9202542863554832384}} 
[2026-07-01 07:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":118886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416279,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:00:34] local.INFO: GPS data processed {"connection_id":118886,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:00:34] local.INFO: Acknowledgment sent {"connection_id":118886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:00:56] local.INFO: TCP Data received {"connection_id":119536,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:00:56] local.INFO: Processing buffer {"connection_id":119536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:00:56] local.INFO: IMEI packet received {"connection_id":119536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 07:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":119536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:00:57] local.INFO: TCP Data received {"connection_id":119536,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:00:57] local.INFO: Processing buffer {"connection_id":119536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:00:57] local.INFO: IMEI packet received {"connection_id":119536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":119536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:00:59] local.INFO: TCP Data received {"connection_id":119536,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b4c0250012d3bf600069fa7380044000e2d..."} 
[2026-07-01 07:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b4c0250012d3bf600069fa7380044000e2d..."} 
[2026-07-01 07:00:59] local.INFO: Processing buffer {"connection_id":119536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b4c0250012d3bf600069fa7380044000e2d..."} 
[2026-07-01 07:00:59] local.INFO: Packet analysis {"connection_id":119536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b4c"} 
[2026-07-01 07:00:59] local.INFO: Extracted packet for processing {"connection_id":119536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b4c"} 
[2026-07-01 07:00:59] local.INFO: GPS Element Parsed {"raw_longitude":758904320,"raw_latitude":111126328,"longitude_deg":75.890432,"latitude_deg":11.1126328,"altitude":68,"angle":14,"satellites":45,"speed":58,"hex_longitude":"2d3bf600","hex_latitude":"069fa738","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414563072001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332806750795202560,"note":"Value kept but may cause issues"} 
[2026-07-01 07:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4318037277419773952,"note":"Value kept but may cause issues"} 
[2026-07-01 07:00:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782869394000,"timestamp_ms":1782869394000,"timestamp_seconds":1782869394,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b4c0250"} 
[2026-07-01 07: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-01 07:00: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-01 07: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-01 07:00:59] 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-01 07: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-01 07: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-01 07:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:00:59] 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-01 07:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414563072001,"66":27995,"109":206,"81":47616,"24":58,"16":332806750795202560,"45":4318037277419773952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,81,24,16,45]} 
[2026-07-01 07:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414563072001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:00:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-01 07:00:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-01 07:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332806750795202560,"km_value":332806750795202.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":4318037277419773952,"description":"Unknown IO ID 45"} 
[2026-07-01 07:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414563072001,"power":27995,"unknown_109":206,"unknown_81":47616,"ignition":58,"odometer":null,"unknown_45":4318037277419773952}} 
[2026-07-01 07:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":119536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:00:59] local.INFO: GPS data processed {"connection_id":119536,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:00:59] local.INFO: Acknowledgment sent {"connection_id":119536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:01:03] local.INFO: TCP Data received {"connection_id":119536,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b4c1da8012d3bffc0069fce180041000d2d..."} 
[2026-07-01 07:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b4c1da8012d3bffc0069fce180041000d2d..."} 
[2026-07-01 07:01:03] local.INFO: Processing buffer {"connection_id":119536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b4c1da8012d3bffc0069fce180041000d2d..."} 
[2026-07-01 07:01:03] local.INFO: Packet analysis {"connection_id":119536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b4c"} 
[2026-07-01 07:01:03] local.INFO: Extracted packet for processing {"connection_id":119536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b4c"} 
[2026-07-01 07:01:03] local.INFO: GPS Element Parsed {"raw_longitude":758906816,"raw_latitude":111136280,"longitude_deg":75.8906816,"latitude_deg":11.113628,"altitude":65,"angle":13,"satellites":45,"speed":58,"hex_longitude":"2d3bffc0","hex_latitude":"069fce18","is_valid_coordinates":true} 
[2026-07-01 07:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414564864001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332807249011408896,"note":"Value kept but may cause issues"} 
[2026-07-01 07:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4320640920956909568,"note":"Value kept but may cause issues"} 
[2026-07-01 07:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782869401000,"timestamp_ms":1782869401000,"timestamp_seconds":1782869401,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b4c1da8"} 
[2026-07-01 07:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:01:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-01 07:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":119536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":119536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":119536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:01:03] 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-01 07:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414564864001,"66":27843,"109":206,"81":47616,"24":58,"16":332807249011408896,"45":4320640920956909568},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,81,24,16,45]} 
[2026-07-01 07:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414564864001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:01:03] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-01 07:01:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-01 07:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332807249011408896,"km_value":332807249011408.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":4320640920956909568,"description":"Unknown IO ID 45"} 
[2026-07-01 07:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414564864001,"power":27843,"unknown_109":206,"unknown_81":47616,"ignition":58,"odometer":null,"unknown_45":4320640920956909568}} 
[2026-07-01 07:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":119536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:01:03] local.INFO: GPS data processed {"connection_id":119536,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:01:03] local.INFO: Acknowledgment sent {"connection_id":119536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:01:19] local.INFO: TCP Data received {"connection_id":119537,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119537,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:01:19] local.INFO: Processing buffer {"connection_id":119537,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:01:19] local.INFO: IMEI packet received {"connection_id":119537,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 07:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":119537,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:01:19] local.INFO: TCP Data received {"connection_id":119537,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119537,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:01:19] local.INFO: Processing buffer {"connection_id":119537,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:01:19] local.INFO: IMEI packet received {"connection_id":119537,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":119537,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:01:20] local.INFO: TCP Data received {"connection_id":119537,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119537,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:01:20] local.INFO: Processing buffer {"connection_id":119537,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:01:20] local.INFO: IMEI packet received {"connection_id":119537,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":119537,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:01:21] local.INFO: TCP Data received {"connection_id":119537,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b4cc988012d80aa8005d32388000500c518..."} 
[2026-07-01 07:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b4cc988012d80aa8005d32388000500c518..."} 
[2026-07-01 07:01:21] local.INFO: Processing buffer {"connection_id":119537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b4cc988012d80aa8005d32388000500c518..."} 
[2026-07-01 07:01:21] local.INFO: Packet analysis {"connection_id":119537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b4c"} 
[2026-07-01 07:01:21] local.INFO: Extracted packet for processing {"connection_id":119537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b4c"} 
[2026-07-01 07:01:21] local.INFO: GPS Element Parsed {"raw_longitude":763406976,"raw_latitude":97723272,"longitude_deg":76.3406976,"latitude_deg":9.7723272,"altitude":5,"angle":197,"satellites":24,"speed":25,"hex_longitude":"2d80aa80","hex_latitude":"05d32388","is_valid_coordinates":true} 
[2026-07-01 07:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414575360001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101077485466157056,"note":"Value kept but may cause issues"} 
[2026-07-01 07:01:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9174958315841722368,"note":"Value kept but may cause issues"} 
[2026-07-01 07:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782869445000,"timestamp_ms":1782869445000,"timestamp_seconds":1782869445,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b4cc988"} 
[2026-07-01 07:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:01:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-07-01 07:01:21] 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-01 07:01:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":119537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":119537,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":119537,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:01:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414575360001,"66":13493,"207":206,"85":15104,"24":25,"16":101077485466157056,"45":-9174958315841722368},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-01 07:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414575360001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:01:21] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-01 07:01:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101077485466157056,"km_value":101077485466157.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:01:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9174958315841722368,"description":"Unknown IO ID 45"} 
[2026-07-01 07:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414575360001,"power":13493,"unknown_207":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9174958315841722368}} 
[2026-07-01 07:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":119537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416282,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:01:21] local.INFO: GPS data processed {"connection_id":119537,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:01:21] local.INFO: Acknowledgment sent {"connection_id":119537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:01:22] local.INFO: TCP Data received {"connection_id":119537,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b4ce8c8012d80a60005d30ff0000500b818..."} 
[2026-07-01 07:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b4ce8c8012d80a60005d30ff0000500b818..."} 
[2026-07-01 07:01:22] local.INFO: Processing buffer {"connection_id":119537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b4ce8c8012d80a60005d30ff0000500b818..."} 
[2026-07-01 07:01:22] local.INFO: Packet analysis {"connection_id":119537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b4c"} 
[2026-07-01 07:01:22] local.INFO: Extracted packet for processing {"connection_id":119537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b4c"} 
[2026-07-01 07:01:22] local.INFO: GPS Element Parsed {"raw_longitude":763405824,"raw_latitude":97718256,"longitude_deg":76.3405824,"latitude_deg":9.7718256,"altitude":5,"angle":184,"satellites":24,"speed":25,"hex_longitude":"2d80a600","hex_latitude":"05d30ff0","is_valid_coordinates":true} 
[2026-07-01 07:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:01:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414577920001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:01:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101077734574260224,"note":"Value kept but may cause issues"} 
[2026-07-01 07:01:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9175380528308451328,"note":"Value kept but may cause issues"} 
[2026-07-01 07:01:22] 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-01 07:01:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782869453000,"timestamp_ms":1782869453000,"timestamp_seconds":1782869453,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b4ce8c8"} 
[2026-07-01 07:01:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:01:22] 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-01 07:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-07-01 07:01:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:01:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:01:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:01:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:01:22] local.INFO: Teltonika packet parsed successfully {"connection_id":119537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:01:22] local.INFO: Passing IMEI to GPS processor {"connection_id":119537,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:01:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":119537,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:01:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:01:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:01:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:01:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414577920001,"66":13493,"207":206,"85":15104,"24":25,"16":101077734574260224,"45":-9175380528308451328},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-01 07:01:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:01:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:01:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414577920001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:01:22] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-01 07:01:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:01:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101077734574260224,"km_value":101077734574260.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:01:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9175380528308451328,"description":"Unknown IO ID 45"} 
[2026-07-01 07:01:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414577920001,"power":13493,"unknown_207":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9175380528308451328}} 
[2026-07-01 07:01:22] local.INFO: DEBUG: GPS processor result {"connection_id":119537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416283,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:01:22] local.INFO: GPS data processed {"connection_id":119537,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:01:22] local.INFO: Acknowledgment sent {"connection_id":119537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:01:23] local.INFO: TCP Data received {"connection_id":119537,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b4d0bf0012d80a5c005d2fcb80004009e18..."} 
[2026-07-01 07:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b4d0bf0012d80a5c005d2fcb80004009e18..."} 
[2026-07-01 07:01:23] local.INFO: Processing buffer {"connection_id":119537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b4d0bf0012d80a5c005d2fcb80004009e18..."} 
[2026-07-01 07:01:23] local.INFO: Packet analysis {"connection_id":119537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b4d"} 
[2026-07-01 07:01:23] local.INFO: Extracted packet for processing {"connection_id":119537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b4d"} 
[2026-07-01 07:01:23] local.INFO: GPS Element Parsed {"raw_longitude":763405760,"raw_latitude":97713336,"longitude_deg":76.340576,"latitude_deg":9.7713336,"altitude":4,"angle":158,"satellites":24,"speed":17,"hex_longitude":"2d80a5c0","hex_latitude":"05d2fcb8","is_valid_coordinates":true} 
[2026-07-01 07:01:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:01:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414579968001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:01:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101077975092428800,"note":"Value kept but may cause issues"} 
[2026-07-01 07:01:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176647165704933376,"note":"Value kept but may cause issues"} 
[2026-07-01 07:01:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:01:23] local.INFO: AVL Record Parsed {"raw_timestamp":1782869462000,"timestamp_ms":1782869462000,"timestamp_seconds":1782869462,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b4d0bf0"} 
[2026-07-01 07:01:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:01:23] 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-01 07:01:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-07-01 07:01:23] 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-01 07:01:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:01:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:01:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:01:23] local.INFO: Teltonika packet parsed successfully {"connection_id":119537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:01:23] local.INFO: Passing IMEI to GPS processor {"connection_id":119537,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:01:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":119537,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:01:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:01:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:01:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:01:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414579968001,"66":13363,"208":206,"85":15104,"24":17,"16":101077975092428800,"45":-9176647165704933376},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-01 07:01:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:01:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:01:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414579968001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:01:23] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-01 07:01:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:01:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101077975092428800,"km_value":101077975092428.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:01:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176647165704933376,"description":"Unknown IO ID 45"} 
[2026-07-01 07:01:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414579968001,"power":13363,"unknown_208":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":-9176647165704933376}} 
[2026-07-01 07:01:23] local.INFO: DEBUG: GPS processor result {"connection_id":119537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416284,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:01:23] local.INFO: GPS data processed {"connection_id":119537,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:01:23] local.INFO: Acknowledgment sent {"connection_id":119537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:01:26] local.INFO: TCP Data received {"connection_id":119538,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:01:26] local.INFO: Processing buffer {"connection_id":119538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:01:26] local.INFO: IMEI packet received {"connection_id":119538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 07:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":119538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:01:27] local.INFO: TCP Data received {"connection_id":119538,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:01:27] local.INFO: Processing buffer {"connection_id":119538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:01:27] local.INFO: IMEI packet received {"connection_id":119538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":119538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:01:31] local.INFO: TCP Data received {"connection_id":119538,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:01:31] local.INFO: Processing buffer {"connection_id":119538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:01:31] local.INFO: IMEI packet received {"connection_id":119538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":119538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:01:32] local.INFO: TCP Data received {"connection_id":119538,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b4c3518012d3c0880069ff020003e000e2e..."} 
[2026-07-01 07:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b4c3518012d3c0880069ff020003e000e2e..."} 
[2026-07-01 07:01:32] local.INFO: Processing buffer {"connection_id":119538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b4c3518012d3c0880069ff020003e000e2e..."} 
[2026-07-01 07:01:32] local.INFO: Packet analysis {"connection_id":119538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b4c"} 
[2026-07-01 07:01:32] local.INFO: Extracted packet for processing {"connection_id":119538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b4c"} 
[2026-07-01 07:01:32] local.INFO: GPS Element Parsed {"raw_longitude":758909056,"raw_latitude":111144992,"longitude_deg":75.8909056,"latitude_deg":11.1144992,"altitude":62,"angle":14,"satellites":46,"speed":60,"hex_longitude":"2d3c0880","hex_latitude":"069ff020","is_valid_coordinates":true} 
[2026-07-01 07:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414566656001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332807687098073088,"note":"Value kept but may cause issues"} 
[2026-07-01 07:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4323385301982386176,"note":"Value kept but may cause issues"} 
[2026-07-01 07:01:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782869407000,"timestamp_ms":1782869407000,"timestamp_seconds":1782869407,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b4c3518"} 
[2026-07-01 07:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:01:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 07:01:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:01:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":119538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":119538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":119538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:01:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414566656001,"66":27930,"220":206,"81":47616,"24":60,"16":332807687098073088,"45":4323385301982386176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,81,24,16,45]} 
[2026-07-01 07:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414566656001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:01:32] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-07-01 07:01:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-01 07:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332807687098073088,"km_value":332807687098073.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":4323385301982386176,"description":"Unknown IO ID 45"} 
[2026-07-01 07:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414566656001,"power":27930,"unknown_220":206,"unknown_81":47616,"ignition":60,"odometer":null,"unknown_45":4323385301982386176}} 
[2026-07-01 07:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":119538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:01:32] local.INFO: GPS data processed {"connection_id":119538,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:01:32] local.INFO: Acknowledgment sent {"connection_id":119538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:01:33] local.INFO: TCP Data received {"connection_id":119538,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b4c4c88012d3c14c006a01208003b001c2d..."} 
[2026-07-01 07:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b4c4c88012d3c14c006a01208003b001c2d..."} 
[2026-07-01 07:01:33] local.INFO: Processing buffer {"connection_id":119538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b4c4c88012d3c14c006a01208003b001c2d..."} 
[2026-07-01 07:01:33] local.INFO: Packet analysis {"connection_id":119538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b4c"} 
[2026-07-01 07:01:33] local.INFO: Extracted packet for processing {"connection_id":119538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b4c"} 
[2026-07-01 07:01:33] local.INFO: GPS Element Parsed {"raw_longitude":758912192,"raw_latitude":111153672,"longitude_deg":75.8912192,"latitude_deg":11.1153672,"altitude":59,"angle":28,"satellites":45,"speed":62,"hex_longitude":"2d3c14c0","hex_latitude":"06a01208","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414568192001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332808133774671872,"note":"Value kept but may cause issues"} 
[2026-07-01 07:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4325848208030834688,"note":"Value kept but may cause issues"} 
[2026-07-01 07:01:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782869413000,"timestamp_ms":1782869413000,"timestamp_seconds":1782869413,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b4c4c88"} 
[2026-07-01 07: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-01 07:01:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-01 07:01:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07: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-01 07: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-01 07:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":119538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":119538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":119538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414568192001,"66":28050,"220":206,"81":47616,"24":62,"16":332808133774671872,"45":4325848208030834688},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,81,24,16,45]} 
[2026-07-01 07:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414568192001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:01:33] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-07-01 07:01:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-01 07:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332808133774671872,"km_value":332808133774671.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":4325848208030834688,"description":"Unknown IO ID 45"} 
[2026-07-01 07:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414568192001,"power":28050,"unknown_220":206,"unknown_81":47616,"ignition":62,"odometer":null,"unknown_45":4325848208030834688}} 
[2026-07-01 07:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":119538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:01:33] local.INFO: GPS data processed {"connection_id":119538,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:01:33] local.INFO: Acknowledgment sent {"connection_id":119538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:01:54] local.INFO: TCP Data received {"connection_id":119537,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b4da060012d80cfc005d2b5500003008c18..."} 
[2026-07-01 07:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b4da060012d80cfc005d2b5500003008c18..."} 
[2026-07-01 07:01:54] local.INFO: Processing buffer {"connection_id":119537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b4da060012d80cfc005d2b5500003008c18..."} 
[2026-07-01 07:01:54] local.INFO: Packet analysis {"connection_id":119537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b4d"} 
[2026-07-01 07:01:54] local.INFO: Extracted packet for processing {"connection_id":119537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b4d"} 
[2026-07-01 07:01:54] local.INFO: GPS Element Parsed {"raw_longitude":763416512,"raw_latitude":97695056,"longitude_deg":76.3416512,"latitude_deg":9.7695056,"altitude":3,"angle":140,"satellites":24,"speed":17,"hex_longitude":"2d80cfc0","hex_latitude":"05d2b550","is_valid_coordinates":true} 
[2026-07-01 07:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414591488001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101079224927911936,"note":"Value kept but may cause issues"} 
[2026-07-01 07:01:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9165317797898047488,"note":"Value kept but may cause issues"} 
[2026-07-01 07:01: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-01 07:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782869500000,"timestamp_ms":1782869500000,"timestamp_seconds":1782869500,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b4da060"} 
[2026-07-01 07:01:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:01:54] 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-01 07:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-01 07:01:54] 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-01 07:01:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:01:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":119537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":119537,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":119537,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:01:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414591488001,"66":13276,"208":206,"85":15104,"24":17,"16":101079224927911936,"45":-9165317797898047488},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-01 07:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414591488001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:01:54] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-01 07:01:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101079224927911936,"km_value":101079224927911.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:01:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9165317797898047488,"description":"Unknown IO ID 45"} 
[2026-07-01 07:01:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414591488001,"power":13276,"unknown_208":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":-9165317797898047488}} 
[2026-07-01 07:01:54] local.INFO: DEBUG: GPS processor result {"connection_id":119537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416287,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:01:54] local.INFO: GPS data processed {"connection_id":119537,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:01:54] local.INFO: Acknowledgment sent {"connection_id":119537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:02:05] local.INFO: TCP Data received {"connection_id":119538,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b4c4c88012d3c14c006a01208003b001c2d..."} 
[2026-07-01 07:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b4c4c88012d3c14c006a01208003b001c2d..."} 
[2026-07-01 07:02:05] local.INFO: Processing buffer {"connection_id":119538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b4c4c88012d3c14c006a01208003b001c2d..."} 
[2026-07-01 07:02:05] local.INFO: Packet analysis {"connection_id":119538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b4c"} 
[2026-07-01 07:02:05] local.INFO: Extracted packet for processing {"connection_id":119538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b4c"} 
[2026-07-01 07:02:05] local.INFO: GPS Element Parsed {"raw_longitude":758912192,"raw_latitude":111153672,"longitude_deg":75.8912192,"latitude_deg":11.1153672,"altitude":59,"angle":28,"satellites":45,"speed":62,"hex_longitude":"2d3c14c0","hex_latitude":"06a01208","is_valid_coordinates":true} 
[2026-07-01 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-01 07:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414569728001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332808133774671872,"note":"Value kept but may cause issues"} 
[2026-07-01 07:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4329296276497762304,"note":"Value kept but may cause issues"} 
[2026-07-01 07:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782869413000,"timestamp_ms":1782869413000,"timestamp_seconds":1782869413,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b4c4c88"} 
[2026-07-01 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-01 07:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-01 07:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 07:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":119538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":119538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":119538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414569728001,"66":28050,"220":206,"81":47616,"24":62,"16":332808133774671872,"45":4329296276497762304},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,81,24,16,45]} 
[2026-07-01 07:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414569728001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:02:05] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-07-01 07:02:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-07-01 07:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332808133774671872,"km_value":332808133774671.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":4329296276497762304,"description":"Unknown IO ID 45"} 
[2026-07-01 07:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414569728001,"power":28050,"unknown_220":206,"unknown_81":47616,"ignition":62,"odometer":null,"unknown_45":4329296276497762304}} 
[2026-07-01 07:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":119538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:02:05] local.INFO: GPS data processed {"connection_id":119538,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:02:05] local.INFO: Acknowledgment sent {"connection_id":119538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:02:19] local.INFO: TCP Data received {"connection_id":118887,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118887,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:02:19] local.INFO: Processing buffer {"connection_id":118887,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:02:19] local.INFO: IMEI packet received {"connection_id":118887,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 07:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":118887,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:02:19] local.INFO: TCP Data received {"connection_id":118887,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118887,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:02:19] local.INFO: Processing buffer {"connection_id":118887,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:02:19] local.INFO: IMEI packet received {"connection_id":118887,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":118887,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:02:20] local.INFO: TCP Data received {"connection_id":118887,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118887,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:02:20] local.INFO: Processing buffer {"connection_id":118887,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:02:20] local.INFO: IMEI packet received {"connection_id":118887,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:02:20] local.INFO: IMEI acknowledgment sent {"connection_id":118887,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:02:21] local.INFO: TCP Data received {"connection_id":118887,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b4da448012d80d14005d2b4500003007818..."} 
[2026-07-01 07:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b4da448012d80d14005d2b4500003007818..."} 
[2026-07-01 07:02:21] local.INFO: Processing buffer {"connection_id":118887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b4da448012d80d14005d2b4500003007818..."} 
[2026-07-01 07:02:21] local.INFO: Packet analysis {"connection_id":118887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b4d"} 
[2026-07-01 07:02:21] local.INFO: Extracted packet for processing {"connection_id":118887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b4d"} 
[2026-07-01 07:02:21] local.INFO: GPS Element Parsed {"raw_longitude":763416896,"raw_latitude":97694800,"longitude_deg":76.3416896,"latitude_deg":9.76948,"altitude":3,"angle":120,"satellites":24,"speed":16,"hex_longitude":"2d80d140","hex_latitude":"05d2b450","is_valid_coordinates":true} 
[2026-07-01 07:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414592000001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101079246402748416,"note":"Value kept but may cause issues"} 
[2026-07-01 07:02:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9164895585433202688,"note":"Value kept but may cause issues"} 
[2026-07-01 07:02: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-01 07:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782869501000,"timestamp_ms":1782869501000,"timestamp_seconds":1782869501,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b4da448"} 
[2026-07-01 07:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:02:21] 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-01 07:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-01 07:02: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-01 07:02:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":118887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":118887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":118887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:02:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414592000001,"66":13352,"208":206,"85":15104,"24":16,"16":101079246402748416,"45":-9164895585433202688},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-01 07:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414592000001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:02:21] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-01 07:02:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101079246402748416,"km_value":101079246402748.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:02:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9164895585433202688,"description":"Unknown IO ID 45"} 
[2026-07-01 07:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414592000001,"power":13352,"unknown_208":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":-9164895585433202688}} 
[2026-07-01 07:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":118887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416289,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:02:21] local.INFO: GPS data processed {"connection_id":118887,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:02:21] local.INFO: Acknowledgment sent {"connection_id":118887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:02:21] local.INFO: TCP Data received {"connection_id":118768,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:02:21] local.INFO: Processing buffer {"connection_id":118768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:02:21] local.INFO: IMEI packet received {"connection_id":118768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 07:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":118768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:02:22] local.INFO: TCP Data received {"connection_id":118887,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b4da830012d80d34005d2b3d00003006818..."} 
[2026-07-01 07:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b4da830012d80d34005d2b3d00003006818..."} 
[2026-07-01 07:02:22] local.INFO: Processing buffer {"connection_id":118887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b4da830012d80d34005d2b3d00003006818..."} 
[2026-07-01 07:02:22] local.INFO: Packet analysis {"connection_id":118887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b4d"} 
[2026-07-01 07:02:22] local.INFO: Extracted packet for processing {"connection_id":118887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b4d"} 
[2026-07-01 07:02:22] local.INFO: GPS Element Parsed {"raw_longitude":763417408,"raw_latitude":97694672,"longitude_deg":76.3417408,"latitude_deg":9.7694672,"altitude":3,"angle":104,"satellites":24,"speed":20,"hex_longitude":"2d80d340","hex_latitude":"05d2b3d0","is_valid_coordinates":true} 
[2026-07-01 07:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:02:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414592256001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:02:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101079272172552192,"note":"Value kept but may cause issues"} 
[2026-07-01 07:02:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9164473372968202240,"note":"Value kept but may cause issues"} 
[2026-07-01 07:02:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:02:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782869502000,"timestamp_ms":1782869502000,"timestamp_seconds":1782869502,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b4da830"} 
[2026-07-01 07:02:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:02:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-01 07:02:22] 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-01 07:02:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:02:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:02:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:02:22] local.INFO: Teltonika packet parsed successfully {"connection_id":118887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:02:22] local.INFO: Passing IMEI to GPS processor {"connection_id":118887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:02:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":118887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:02:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:02:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:02:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:02:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414592256001,"66":13352,"208":206,"85":15104,"24":20,"16":101079272172552192,"45":-9164473372968202240},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-01 07:02:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:02:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:02:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414592256001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:02:22] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-01 07:02:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:02:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101079272172552192,"km_value":101079272172552.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:02:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9164473372968202240,"description":"Unknown IO ID 45"} 
[2026-07-01 07:02:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414592256001,"power":13352,"unknown_208":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":-9164473372968202240}} 
[2026-07-01 07:02:22] local.INFO: DEBUG: GPS processor result {"connection_id":118887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416290,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:02:22] local.INFO: GPS data processed {"connection_id":118887,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:02:22] local.INFO: Acknowledgment sent {"connection_id":118887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:02:25] local.INFO: TCP Data received {"connection_id":118768,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:02:25] local.INFO: Processing buffer {"connection_id":118768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:02:25] local.INFO: IMEI packet received {"connection_id":118768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":118768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:02:26] local.INFO: TCP Data received {"connection_id":118768,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b4d4e58012d3ca60006a16b98003a00062f..."} 
[2026-07-01 07:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b4d4e58012d3ca60006a16b98003a00062f..."} 
[2026-07-01 07:02:26] local.INFO: Processing buffer {"connection_id":118768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b4d4e58012d3ca60006a16b98003a00062f..."} 
[2026-07-01 07:02:26] local.INFO: Packet analysis {"connection_id":118768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b4d"} 
[2026-07-01 07:02:26] local.INFO: Extracted packet for processing {"connection_id":118768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b4d"} 
[2026-07-01 07:02:26] local.INFO: GPS Element Parsed {"raw_longitude":758949376,"raw_latitude":111242136,"longitude_deg":75.8949376,"latitude_deg":11.1242136,"altitude":58,"angle":6,"satellites":47,"speed":45,"hex_longitude":"2d3ca600","hex_latitude":"06a16b98","is_valid_coordinates":true} 
[2026-07-01 07:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414584576001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:02:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332812823878959104,"note":"Value kept but may cause issues"} 
[2026-07-01 07:02:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4367999085815855104,"note":"Value kept but may cause issues"} 
[2026-07-01 07:02:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:02:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782869479000,"timestamp_ms":1782869479000,"timestamp_seconds":1782869479,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b4d4e58"} 
[2026-07-01 07:02:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:02: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-01 07:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-01 07:02:26] 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-01 07:02:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:02:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:02:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:02:26] local.INFO: Teltonika packet parsed successfully {"connection_id":118768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:02:26] local.INFO: Passing IMEI to GPS processor {"connection_id":118768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:02:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":118768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:02:26] 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-01 07:02:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:02:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:02:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414584576001,"66":27767,"44":206,"81":49664,"24":45,"16":332812823878959104,"45":4367999085815855104},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-07-01 07:02:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:02:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:02:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414584576001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:02:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-07-01 07:02:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-01 07:02:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332812823878959104,"km_value":332812823878959.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:02:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":4367999085815855104,"description":"Unknown IO ID 45"} 
[2026-07-01 07:02:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414584576001,"power":27767,"unknown_44":206,"unknown_81":49664,"ignition":45,"odometer":null,"unknown_45":4367999085815855104}} 
[2026-07-01 07:02:26] local.INFO: DEBUG: GPS processor result {"connection_id":118768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:02:26] local.INFO: GPS data processed {"connection_id":118768,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:02:26] local.INFO: Acknowledgment sent {"connection_id":118768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:02:53] local.INFO: TCP Data received {"connection_id":118887,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b4e8ea8012d81138005d239a8000800bf18..."} 
[2026-07-01 07:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b4e8ea8012d81138005d239a8000800bf18..."} 
[2026-07-01 07:02:53] local.INFO: Processing buffer {"connection_id":118887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b4e8ea8012d81138005d239a8000800bf18..."} 
[2026-07-01 07:02:53] local.INFO: Packet analysis {"connection_id":118887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b4e"} 
[2026-07-01 07:02:53] local.INFO: Extracted packet for processing {"connection_id":118887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b4e"} 
[2026-07-01 07:02:53] local.INFO: GPS Element Parsed {"raw_longitude":763433856,"raw_latitude":97663400,"longitude_deg":76.3433856,"latitude_deg":9.76634,"altitude":8,"angle":191,"satellites":24,"speed":38,"hex_longitude":"2d811380","hex_latitude":"05d239a8","is_valid_coordinates":true} 
[2026-07-01 07:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:02:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414605056001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:02:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101081368116592640,"note":"Value kept but may cause issues"} 
[2026-07-01 07:02:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9143503487208927232,"note":"Value kept but may cause issues"} 
[2026-07-01 07:02:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:02:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782869561000,"timestamp_ms":1782869561000,"timestamp_seconds":1782869561,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b4e8ea8"} 
[2026-07-01 07:02:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:02:53] 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-01 07:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-01 07:02:53] 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-01 07:02:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:02:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:02:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:02:53] local.INFO: Teltonika packet parsed successfully {"connection_id":118887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:02:53] local.INFO: Passing IMEI to GPS processor {"connection_id":118887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:02:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":118887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:02:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:02:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:02:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:02:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414605056001,"66":13015,"208":206,"85":15104,"24":38,"16":101081368116592640,"45":-9143503487208927232},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-01 07:02:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:02:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:02:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414605056001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:02:53] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-01 07:02:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:02:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101081368116592640,"km_value":101081368116592.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:02:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9143503487208927232,"description":"Unknown IO ID 45"} 
[2026-07-01 07:02:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414605056001,"power":13015,"unknown_208":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":-9143503487208927232}} 
[2026-07-01 07:02:53] local.INFO: DEBUG: GPS processor result {"connection_id":118887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416292,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:02:53] local.INFO: GPS data processed {"connection_id":118887,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:02:53] local.INFO: Acknowledgment sent {"connection_id":118887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:02:58] local.INFO: TCP Data received {"connection_id":118768,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b4d7180012d3ca6c006a19258003e01652e..."} 
[2026-07-01 07:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b4d7180012d3ca6c006a19258003e01652e..."} 
[2026-07-01 07:02:58] local.INFO: Processing buffer {"connection_id":118768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b4d7180012d3ca6c006a19258003e01652e..."} 
[2026-07-01 07:02:58] local.INFO: Packet analysis {"connection_id":118768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b4d"} 
[2026-07-01 07:02:58] local.INFO: Extracted packet for processing {"connection_id":118768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b4d"} 
[2026-07-01 07:02:58] local.INFO: GPS Element Parsed {"raw_longitude":758949568,"raw_latitude":111252056,"longitude_deg":75.8949568,"latitude_deg":11.1252056,"altitude":62,"angle":357,"satellites":46,"speed":42,"hex_longitude":"2d3ca6c0","hex_latitude":"06a19258","is_valid_coordinates":true} 
[2026-07-01 07:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414586624001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332813304915296256,"note":"Value kept but may cause issues"} 
[2026-07-01 07:02:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4370180516887631872,"note":"Value kept but may cause issues"} 
[2026-07-01 07:02:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782869488000,"timestamp_ms":1782869488000,"timestamp_seconds":1782869488,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b4d7180"} 
[2026-07-01 07:02:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:02: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-01 07:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 07:02:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:02:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:02:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:02:58] 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-01 07:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414586624001,"66":27789,"44":206,"81":49664,"24":42,"16":332813304915296256,"45":4370180516887631872},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-07-01 07:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414586624001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:02:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-07-01 07:02:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-01 07:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332813304915296256,"km_value":332813304915296.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:02:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":4370180516887631872,"description":"Unknown IO ID 45"} 
[2026-07-01 07:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414586624001,"power":27789,"unknown_44":206,"unknown_81":49664,"ignition":42,"odometer":null,"unknown_45":4370180516887631872}} 
[2026-07-01 07:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":118768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:02:59] local.INFO: GPS data processed {"connection_id":118768,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:02:59] local.INFO: Acknowledgment sent {"connection_id":118768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:03:16] local.INFO: TCP Data received {"connection_id":118769,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118769,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:03:16] local.INFO: Processing buffer {"connection_id":118769,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:03:16] local.INFO: IMEI packet received {"connection_id":118769,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 07:03:16] local.INFO: IMEI acknowledgment sent {"connection_id":118769,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:03:18] local.INFO: TCP Data received {"connection_id":118769,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118769,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:03:18] local.INFO: Processing buffer {"connection_id":118769,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:03:18] local.INFO: IMEI packet received {"connection_id":118769,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":118769,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:03:22] local.INFO: TCP Data received {"connection_id":119540,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:03:22] local.INFO: Processing buffer {"connection_id":119540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:03:22] local.INFO: IMEI packet received {"connection_id":119540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 07:03:22] local.INFO: IMEI acknowledgment sent {"connection_id":119540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:03:23] local.INFO: TCP Data received {"connection_id":119540,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:03:23] local.INFO: Processing buffer {"connection_id":119540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:03:23] local.INFO: IMEI packet received {"connection_id":119540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:03:23] local.INFO: IMEI acknowledgment sent {"connection_id":119540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:03:24] local.INFO: TCP Data received {"connection_id":118769,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118769,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:03:24] local.INFO: Processing buffer {"connection_id":118769,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:03:24] local.INFO: IMEI packet received {"connection_id":118769,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:03:24] local.INFO: IMEI acknowledgment sent {"connection_id":118769,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:03:24] local.INFO: TCP Data received {"connection_id":118769,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b4ea618012d8110c005d22400000500b018..."} 
[2026-07-01 07:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b4ea618012d8110c005d22400000500b018..."} 
[2026-07-01 07:03:24] local.INFO: Processing buffer {"connection_id":118769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b4ea618012d8110c005d22400000500b018..."} 
[2026-07-01 07:03:24] local.INFO: Packet analysis {"connection_id":118769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b4e"} 
[2026-07-01 07:03:24] local.INFO: Extracted packet for processing {"connection_id":118769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b4e"} 
[2026-07-01 07:03:24] local.INFO: GPS Element Parsed {"raw_longitude":763433152,"raw_latitude":97657856,"longitude_deg":76.3433152,"latitude_deg":9.7657856,"altitude":5,"angle":176,"satellites":24,"speed":34,"hex_longitude":"2d8110c0","hex_latitude":"05d22400","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:03:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414607616001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:03:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101081638699532288,"note":"Value kept but may cause issues"} 
[2026-07-01 07:03:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9145825655769159680,"note":"Value kept but may cause issues"} 
[2026-07-01 07:03:24] 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-01 07:03:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782869567000,"timestamp_ms":1782869567000,"timestamp_seconds":1782869567,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b4ea618"} 
[2026-07-01 07: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-01 07:03:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-01 07:03:24] 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-01 07: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-01 07: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-01 07:03:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:03:24] local.INFO: Teltonika packet parsed successfully {"connection_id":118769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:03:24] local.INFO: Passing IMEI to GPS processor {"connection_id":118769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:03:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":118769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:03:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:03:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:03:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:03:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414607616001,"66":12906,"208":206,"85":15104,"24":34,"16":101081638699532288,"45":-9145825655769159680},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-01 07:03:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:03:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:03:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414607616001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:03:24] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-01 07:03:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:03:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101081638699532288,"km_value":101081638699532.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:03:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9145825655769159680,"description":"Unknown IO ID 45"} 
[2026-07-01 07:03:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414607616001,"power":12906,"unknown_208":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":-9145825655769159680}} 
[2026-07-01 07:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":118769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416294,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:03:25] local.INFO: GPS data processed {"connection_id":118769,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:03:25] local.INFO: Acknowledgment sent {"connection_id":118769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:03:27] local.INFO: TCP Data received {"connection_id":119540,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:03:27] local.INFO: Processing buffer {"connection_id":119540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:03:27] local.INFO: IMEI packet received {"connection_id":119540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":119540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:03:29] local.INFO: TCP Data received {"connection_id":119540,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b4d94a8012d3ca54006a1b7f0004101652e..."} 
[2026-07-01 07:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b4d94a8012d3ca54006a1b7f0004101652e..."} 
[2026-07-01 07:03:29] local.INFO: Processing buffer {"connection_id":119540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b4d94a8012d3ca54006a1b7f0004101652e..."} 
[2026-07-01 07:03:29] local.INFO: Packet analysis {"connection_id":119540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b4d"} 
[2026-07-01 07:03:29] local.INFO: Extracted packet for processing {"connection_id":119540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b4d"} 
[2026-07-01 07:03:29] local.INFO: GPS Element Parsed {"raw_longitude":758949184,"raw_latitude":111261680,"longitude_deg":75.8949184,"latitude_deg":11.126168,"altitude":65,"angle":357,"satellites":46,"speed":42,"hex_longitude":"2d3ca540","hex_latitude":"06a1b7f0","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:03:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414588928001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:03:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332813773066731520,"note":"Value kept but may cause issues"} 
[2026-07-01 07:03:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4370391623122704384,"note":"Value kept but may cause issues"} 
[2026-07-01 07:03:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:03:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782869497000,"timestamp_ms":1782869497000,"timestamp_seconds":1782869497,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b4d94a8"} 
[2026-07-01 07: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-01 07:03:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-01 07:03:29] 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-01 07: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-01 07: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-01 07:03:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:03:29] local.INFO: Teltonika packet parsed successfully {"connection_id":119540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:03:29] local.INFO: Passing IMEI to GPS processor {"connection_id":119540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:03:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":119540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:03:29] 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-01 07:03:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:03:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:03:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414588928001,"66":27800,"44":206,"81":49664,"24":42,"16":332813773066731520,"45":4370391623122704384},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-07-01 07:03:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:03:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:03:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414588928001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:03:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-07-01 07:03:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-01 07:03:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332813773066731520,"km_value":332813773066731.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:03:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":4370391623122704384,"description":"Unknown IO ID 45"} 
[2026-07-01 07:03:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414588928001,"power":27800,"unknown_44":206,"unknown_81":49664,"ignition":42,"odometer":null,"unknown_45":4370391623122704384}} 
[2026-07-01 07:03:29] local.INFO: DEBUG: GPS processor result {"connection_id":119540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:03:29] local.INFO: GPS data processed {"connection_id":119540,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:03:29] local.INFO: Acknowledgment sent {"connection_id":119540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:03:35] local.INFO: TCP Data received {"connection_id":119540,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b4db7d0012d3ca3c006a1dcb0004401652e..."} 
[2026-07-01 07:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b4db7d0012d3ca3c006a1dcb0004401652e..."} 
[2026-07-01 07:03:35] local.INFO: Processing buffer {"connection_id":119540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b4db7d0012d3ca3c006a1dcb0004401652e..."} 
[2026-07-01 07:03:35] local.INFO: Packet analysis {"connection_id":119540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b4d"} 
[2026-07-01 07:03:35] local.INFO: Extracted packet for processing {"connection_id":119540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b4d"} 
[2026-07-01 07:03:35] local.INFO: GPS Element Parsed {"raw_longitude":758948800,"raw_latitude":111271088,"longitude_deg":75.89488,"latitude_deg":11.1271088,"altitude":68,"angle":357,"satellites":46,"speed":41,"hex_longitude":"2d3ca3c0","hex_latitude":"06a1dcb0","is_valid_coordinates":true} 
[2026-07-01 07:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414591232001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332814228333264896,"note":"Value kept but may cause issues"} 
[2026-07-01 07:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4369969410660102144,"note":"Value kept but may cause issues"} 
[2026-07-01 07:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782869506000,"timestamp_ms":1782869506000,"timestamp_seconds":1782869506,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b4db7d0"} 
[2026-07-01 07:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 07:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:03:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":119540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":119540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":119540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:03:35] 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-01 07:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414591232001,"66":27865,"44":206,"81":49664,"24":41,"16":332814228333264896,"45":4369969410660102144},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-07-01 07:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414591232001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:03:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-07-01 07:03:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-01 07:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332814228333264896,"km_value":332814228333264.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":4369969410660102144,"description":"Unknown IO ID 45"} 
[2026-07-01 07:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414591232001,"power":27865,"unknown_44":206,"unknown_81":49664,"ignition":41,"odometer":null,"unknown_45":4369969410660102144}} 
[2026-07-01 07:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":119540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:03:35] local.INFO: GPS data processed {"connection_id":119540,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:03:35] local.INFO: Acknowledgment sent {"connection_id":119540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:03:43] local.INFO: TCP Data received {"connection_id":119539,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119539,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:03:43] local.INFO: Processing buffer {"connection_id":119539,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:03:43] local.INFO: IMEI packet received {"connection_id":119539,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 07:03:43] local.INFO: IMEI acknowledgment sent {"connection_id":119539,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:03:56] local.INFO: TCP Data received {"connection_id":118769,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b4eb1d0012d81134005d21998000300a518..."} 
[2026-07-01 07:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b4eb1d0012d81134005d21998000300a518..."} 
[2026-07-01 07:03:56] local.INFO: Processing buffer {"connection_id":118769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b4eb1d0012d81134005d21998000300a518..."} 
[2026-07-01 07:03:56] local.INFO: Packet analysis {"connection_id":118769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b4e"} 
[2026-07-01 07:03:56] local.INFO: Extracted packet for processing {"connection_id":118769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b4e"} 
[2026-07-01 07:03:56] local.INFO: GPS Element Parsed {"raw_longitude":763433792,"raw_latitude":97655192,"longitude_deg":76.3433792,"latitude_deg":9.7655192,"altitude":3,"angle":165,"satellites":24,"speed":35,"hex_longitude":"2d811340","hex_latitude":"05d21998","is_valid_coordinates":true} 
[2026-07-01 07:03:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:03:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414609152001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:03:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101081771843518464,"note":"Value kept but may cause issues"} 
[2026-07-01 07:03:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9146599711956533248,"note":"Value kept but may cause issues"} 
[2026-07-01 07:03:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:03:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782869570000,"timestamp_ms":1782869570000,"timestamp_seconds":1782869570,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b4eb1d0"} 
[2026-07-01 07:03:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:03:56] 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-01 07:03:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-01 07:03:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:03:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:03:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:03:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:03:56] local.INFO: Teltonika packet parsed successfully {"connection_id":118769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:03:56] local.INFO: Passing IMEI to GPS processor {"connection_id":118769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:03:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":118769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:03:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:03:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:03:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:03:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414609152001,"66":13091,"208":206,"85":15104,"24":35,"16":101081771843518464,"45":-9146599711956533248},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-01 07:03:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:03:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:03:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414609152001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:03:56] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-01 07:03:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:03:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101081771843518464,"km_value":101081771843518.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:03:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9146599711956533248,"description":"Unknown IO ID 45"} 
[2026-07-01 07:03:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414609152001,"power":13091,"unknown_208":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":-9146599711956533248}} 
[2026-07-01 07:03:56] local.INFO: DEBUG: GPS processor result {"connection_id":118769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416297,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:03:56] local.INFO: GPS data processed {"connection_id":118769,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:03:56] local.INFO: Acknowledgment sent {"connection_id":118769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:04:06] local.INFO: TCP Data received {"connection_id":119540,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b4ef820012d3c980006a38b70004200062f..."} 
[2026-07-01 07:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b4ef820012d3c980006a38b70004200062f..."} 
[2026-07-01 07:04:06] local.INFO: Processing buffer {"connection_id":119540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b4ef820012d3c980006a38b70004200062f..."} 
[2026-07-01 07:04:06] local.INFO: Packet analysis {"connection_id":119540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b4e"} 
[2026-07-01 07:04:06] local.INFO: Extracted packet for processing {"connection_id":119540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b4e"} 
[2026-07-01 07:04:06] local.INFO: GPS Element Parsed {"raw_longitude":758945792,"raw_latitude":111381360,"longitude_deg":75.8945792,"latitude_deg":11.138136,"altitude":66,"angle":6,"satellites":47,"speed":59,"hex_longitude":"2d3c9800","hex_latitude":"06a38b70","is_valid_coordinates":true} 
[2026-07-01 07:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414612992001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332819657171927040,"note":"Value kept but may cause issues"} 
[2026-07-01 07:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4364762123619207168,"note":"Value kept but may cause issues"} 
[2026-07-01 07:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782869588000,"timestamp_ms":1782869588000,"timestamp_seconds":1782869588,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b4ef820"} 
[2026-07-01 07:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:04: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-01 07:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-01 07:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":119540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":119540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":119540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414612992001,"66":27930,"133":206,"81":49664,"24":59,"16":332819657171927040,"45":4364762123619207168},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,81,24,16,45]} 
[2026-07-01 07:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414612992001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:04:06] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-01 07:04:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-01 07:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332819657171927040,"km_value":332819657171927.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":4364762123619207168,"description":"Unknown IO ID 45"} 
[2026-07-01 07:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414612992001,"power":27930,"unknown_133":206,"unknown_81":49664,"ignition":59,"odometer":null,"unknown_45":4364762123619207168}} 
[2026-07-01 07:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":119540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:04:06] local.INFO: GPS data processed {"connection_id":119540,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:04:06] local.INFO: Acknowledgment sent {"connection_id":119540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:04:16] local.INFO: TCP Data received {"connection_id":119541,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119541,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:04:16] local.INFO: Processing buffer {"connection_id":119541,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:04:16] local.INFO: IMEI packet received {"connection_id":119541,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 07:04:16] local.INFO: IMEI acknowledgment sent {"connection_id":119541,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:04:16] local.INFO: TCP Data received {"connection_id":118770,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118770,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:04:16] local.INFO: Processing buffer {"connection_id":118770,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:04:16] local.INFO: IMEI packet received {"connection_id":118770,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 07:04:16] local.INFO: IMEI acknowledgment sent {"connection_id":118770,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:04:19] local.INFO: TCP Data received {"connection_id":118770,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118770,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:04:19] local.INFO: Processing buffer {"connection_id":118770,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:04:19] local.INFO: IMEI packet received {"connection_id":118770,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":118770,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:04:22] local.INFO: TCP Data received {"connection_id":119542,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:04:22] local.INFO: Processing buffer {"connection_id":119542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:04:22] local.INFO: IMEI packet received {"connection_id":119542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 07:04:22] local.INFO: IMEI acknowledgment sent {"connection_id":119542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:04:22] local.INFO: TCP Data received {"connection_id":119542,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:04:22] local.INFO: Processing buffer {"connection_id":119542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:04:22] local.INFO: IMEI packet received {"connection_id":119542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:04:22] local.INFO: IMEI acknowledgment sent {"connection_id":119542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:04:25] local.INFO: TCP Data received {"connection_id":118770,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118770,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:04:25] local.INFO: Processing buffer {"connection_id":118770,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:04:25] local.INFO: IMEI packet received {"connection_id":118770,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:04:25] local.INFO: IMEI acknowledgment sent {"connection_id":118770,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:04:26] local.INFO: TCP Data received {"connection_id":118770,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b4fc340012d816fc005d183880000005118..."} 
[2026-07-01 07:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b4fc340012d816fc005d183880000005118..."} 
[2026-07-01 07:04:26] local.INFO: Processing buffer {"connection_id":118770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b4fc340012d816fc005d183880000005118..."} 
[2026-07-01 07:04:26] local.INFO: Packet analysis {"connection_id":118770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b4f"} 
[2026-07-01 07:04:26] local.INFO: Extracted packet for processing {"connection_id":118770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b4f"} 
[2026-07-01 07:04:26] local.INFO: GPS Element Parsed {"raw_longitude":763457472,"raw_latitude":97616776,"longitude_deg":76.3457472,"latitude_deg":9.7616776,"altitude":0,"angle":81,"satellites":24,"speed":30,"hex_longitude":"2d816fc0","hex_latitude":"05d18388","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:04:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414625536001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:04:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101084722486050816,"note":"Value kept but may cause issues"} 
[2026-07-01 07:04:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9128092732248330240,"note":"Value kept but may cause issues"} 
[2026-07-01 07:04:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:04:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782869640000,"timestamp_ms":1782869640000,"timestamp_seconds":1782869640,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b4fc340"} 
[2026-07-01 07: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-01 07:04:26] 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-01 07: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-01 07:04:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07: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-01 07: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-01 07:04:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:04:26] local.INFO: Teltonika packet parsed successfully {"connection_id":118770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:04:26] local.INFO: Passing IMEI to GPS processor {"connection_id":118770,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:04:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":118770,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:04:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:04:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:04:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:04:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414625536001,"66":12917,"208":206,"85":15104,"24":30,"16":101084722486050816,"45":-9128092732248330240},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-01 07:04:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:04:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:04:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414625536001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:04:26] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-01 07:04:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:04:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101084722486050816,"km_value":101084722486050.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:04:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9128092732248330240,"description":"Unknown IO ID 45"} 
[2026-07-01 07:04:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414625536001,"power":12917,"unknown_208":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9128092732248330240}} 
[2026-07-01 07:04:26] local.INFO: DEBUG: GPS processor result {"connection_id":118770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416299,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:04:26] local.INFO: GPS data processed {"connection_id":118770,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:04:26] local.INFO: Acknowledgment sent {"connection_id":118770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:04:26] local.INFO: TCP Data received {"connection_id":119542,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:04:26] local.INFO: Processing buffer {"connection_id":119542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:04:26] local.INFO: IMEI packet received {"connection_id":119542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":119542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:04:27] local.INFO: TCP Data received {"connection_id":119542,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b4f1378012d3c9b8006a3b298004300032f..."} 
[2026-07-01 07:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b4f1378012d3c9b8006a3b298004300032f..."} 
[2026-07-01 07:04:27] local.INFO: Processing buffer {"connection_id":119542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b4f1378012d3c9b8006a3b298004300032f..."} 
[2026-07-01 07:04:27] local.INFO: Packet analysis {"connection_id":119542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b4f"} 
[2026-07-01 07:04:27] local.INFO: Extracted packet for processing {"connection_id":119542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b4f"} 
[2026-07-01 07:04:27] local.INFO: GPS Element Parsed {"raw_longitude":758946688,"raw_latitude":111391384,"longitude_deg":75.8946688,"latitude_deg":11.1391384,"altitude":67,"angle":3,"satellites":47,"speed":54,"hex_longitude":"2d3c9b80","hex_latitude":"06a3b298","is_valid_coordinates":true} 
[2026-07-01 07:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:04:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414614528001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:04:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332820142503231488,"note":"Value kept but may cause issues"} 
[2026-07-01 07:04:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4366239867249324032,"note":"Value kept but may cause issues"} 
[2026-07-01 07:04:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:04:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782869595000,"timestamp_ms":1782869595000,"timestamp_seconds":1782869595,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b4f1378"} 
[2026-07-01 07:04:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:04: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-01 07:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-01 07:04:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:04:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:04:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:04:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:04:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:04:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:04:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:04:27] 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-01 07:04:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:04:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:04:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414614528001,"66":27876,"133":206,"81":49664,"24":54,"16":332820142503231488,"45":4366239867249324032},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,81,24,16,45]} 
[2026-07-01 07:04:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:04:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:04:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414614528001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:04:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-01 07:04:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-01 07:04:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332820142503231488,"km_value":332820142503231.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:04:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":4366239867249324032,"description":"Unknown IO ID 45"} 
[2026-07-01 07:04:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414614528001,"power":27876,"unknown_133":206,"unknown_81":49664,"ignition":54,"odometer":null,"unknown_45":4366239867249324032}} 
[2026-07-01 07:04:27] local.INFO: DEBUG: GPS processor result {"connection_id":119542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:04:27] local.INFO: GPS data processed {"connection_id":119542,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:04:27] local.INFO: Acknowledgment sent {"connection_id":119542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:04:57] local.INFO: TCP Data received {"connection_id":118770,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b4fcb10012d81758005d185380000004518..."} 
[2026-07-01 07:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b4fcb10012d81758005d185380000004518..."} 
[2026-07-01 07:04:57] local.INFO: Processing buffer {"connection_id":118770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b4fcb10012d81758005d185380000004518..."} 
[2026-07-01 07:04:57] local.INFO: Packet analysis {"connection_id":118770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b4f"} 
[2026-07-01 07:04:57] local.INFO: Extracted packet for processing {"connection_id":118770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b4f"} 
[2026-07-01 07:04:57] local.INFO: GPS Element Parsed {"raw_longitude":763458944,"raw_latitude":97617208,"longitude_deg":76.3458944,"latitude_deg":9.7617208,"altitude":0,"angle":69,"satellites":24,"speed":28,"hex_longitude":"2d817580","hex_latitude":"05d18538","is_valid_coordinates":true} 
[2026-07-01 07:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:04:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414627840001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:04:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101084791205527552,"note":"Value kept but may cause issues"} 
[2026-07-01 07:04:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9119859589179537408,"note":"Value kept but may cause issues"} 
[2026-07-01 07:04: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-01 07:04:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782869642000,"timestamp_ms":1782869642000,"timestamp_seconds":1782869642,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b4fcb10"} 
[2026-07-01 07:04:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:04:57] 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-01 07:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-01 07:04:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:04:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:04:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:04:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:04:57] local.INFO: Teltonika packet parsed successfully {"connection_id":118770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:04:57] local.INFO: Passing IMEI to GPS processor {"connection_id":118770,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:04:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":118770,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:04:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:04:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:04:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:04:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414627840001,"66":12743,"208":206,"85":15104,"24":28,"16":101084791205527552,"45":-9119859589179537408},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-01 07:04:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:04:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:04:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414627840001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:04:57] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-01 07:04:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:04:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101084791205527552,"km_value":101084791205527.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:04:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9119859589179537408,"description":"Unknown IO ID 45"} 
[2026-07-01 07:04:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414627840001,"power":12743,"unknown_208":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9119859589179537408}} 
[2026-07-01 07:04:57] local.INFO: DEBUG: GPS processor result {"connection_id":118770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416301,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:04:57] local.INFO: GPS data processed {"connection_id":118770,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:04:57] local.INFO: Acknowledgment sent {"connection_id":118770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:04:59] local.INFO: TCP Data received {"connection_id":119542,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b4f2ed0012d3c9c8006a3d990004300002c..."} 
[2026-07-01 07:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b4f2ed0012d3c9c8006a3d990004300002c..."} 
[2026-07-01 07:04:59] local.INFO: Processing buffer {"connection_id":119542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b4f2ed0012d3c9c8006a3d990004300002c..."} 
[2026-07-01 07:04:59] local.INFO: Packet analysis {"connection_id":119542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b4f"} 
[2026-07-01 07:04:59] local.INFO: Extracted packet for processing {"connection_id":119542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b4f"} 
[2026-07-01 07:04:59] local.INFO: GPS Element Parsed {"raw_longitude":758946944,"raw_latitude":111401360,"longitude_deg":75.8946944,"latitude_deg":11.140136,"altitude":67,"angle":0,"satellites":44,"speed":59,"hex_longitude":"2d3c9c80","hex_latitude":"06a3d990","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414616320001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332820627834535936,"note":"Value kept but may cause issues"} 
[2026-07-01 07:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4367225029670377472,"note":"Value kept but may cause issues"} 
[2026-07-01 07:04:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782869602000,"timestamp_ms":1782869602000,"timestamp_seconds":1782869602,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b4f2ed0"} 
[2026-07-01 07: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-01 07:04: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-01 07:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-01 07:04:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07: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-01 07: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-01 07:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:04:59] 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-01 07:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414616320001,"66":27843,"133":206,"81":49664,"24":59,"16":332820627834535936,"45":4367225029670377472},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,81,24,16,45]} 
[2026-07-01 07:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414616320001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:04:59] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-01 07:04:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-01 07:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332820627834535936,"km_value":332820627834535.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":4367225029670377472,"description":"Unknown IO ID 45"} 
[2026-07-01 07:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414616320001,"power":27843,"unknown_133":206,"unknown_81":49664,"ignition":59,"odometer":null,"unknown_45":4367225029670377472}} 
[2026-07-01 07:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":119542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:04:59] local.INFO: GPS data processed {"connection_id":119542,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:04:59] local.INFO: Acknowledgment sent {"connection_id":119542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:05:19] local.INFO: TCP Data received {"connection_id":119543,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119543,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:05:19] local.INFO: Processing buffer {"connection_id":119543,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:05:19] local.INFO: IMEI packet received {"connection_id":119543,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 07:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":119543,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:05:21] local.INFO: TCP Data received {"connection_id":118889,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:05:21] local.INFO: Processing buffer {"connection_id":118889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:05:21] local.INFO: IMEI packet received {"connection_id":118889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 07:05:21] local.INFO: IMEI acknowledgment sent {"connection_id":118889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:05:22] local.INFO: TCP Data received {"connection_id":119543,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119543,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:05:22] local.INFO: Processing buffer {"connection_id":119543,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:05:22] local.INFO: IMEI packet received {"connection_id":119543,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:05:22] local.INFO: IMEI acknowledgment sent {"connection_id":119543,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:05:23] local.INFO: TCP Data received {"connection_id":119543,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b4fe280012d81840005d189c80000005918..."} 
[2026-07-01 07:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b4fe280012d81840005d189c80000005918..."} 
[2026-07-01 07:05:23] local.INFO: Processing buffer {"connection_id":119543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b4fe280012d81840005d189c80000005918..."} 
[2026-07-01 07:05:23] local.INFO: Packet analysis {"connection_id":119543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b4f"} 
[2026-07-01 07:05:23] local.INFO: Extracted packet for processing {"connection_id":119543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b4f"} 
[2026-07-01 07:05:23] local.INFO: GPS Element Parsed {"raw_longitude":763462656,"raw_latitude":97618376,"longitude_deg":76.3462656,"latitude_deg":9.7618376,"altitude":0,"angle":89,"satellites":24,"speed":23,"hex_longitude":"2d818400","hex_latitude":"05d189c8","is_valid_coordinates":true} 
[2026-07-01 07:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:05:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414628352001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:05:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101084980184088576,"note":"Value kept but may cause issues"} 
[2026-07-01 07:05:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9118241108063340544,"note":"Value kept but may cause issues"} 
[2026-07-01 07:05:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:05:23] local.INFO: AVL Record Parsed {"raw_timestamp":1782869648000,"timestamp_ms":1782869648000,"timestamp_seconds":1782869648,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b4fe280"} 
[2026-07-01 07:05:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:05:23] 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-01 07:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-01 07:05:23] 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-01 07:05:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:05:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:05:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:05:23] local.INFO: Teltonika packet parsed successfully {"connection_id":119543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:05:23] local.INFO: Passing IMEI to GPS processor {"connection_id":119543,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:05:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":119543,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:05:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:05:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:05:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:05:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414628352001,"66":12645,"208":206,"85":15104,"24":23,"16":101084980184088576,"45":-9118241108063340544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-01 07:05:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:05:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:05:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414628352001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:05:23] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-01 07:05:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:05:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101084980184088576,"km_value":101084980184088.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:05:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9118241108063340544,"description":"Unknown IO ID 45"} 
[2026-07-01 07:05:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414628352001,"power":12645,"unknown_208":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9118241108063340544}} 
[2026-07-01 07:05:23] local.INFO: DEBUG: GPS processor result {"connection_id":119543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416303,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:05:23] local.INFO: GPS data processed {"connection_id":119543,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:05:23] local.INFO: Acknowledgment sent {"connection_id":119543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:05:24] local.INFO: TCP Data received {"connection_id":118889,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:05:24] local.INFO: Processing buffer {"connection_id":118889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:05:24] local.INFO: IMEI packet received {"connection_id":118889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":118889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:05:26] local.INFO: TCP Data received {"connection_id":118889,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:05:26] local.INFO: Processing buffer {"connection_id":118889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:05:26] local.INFO: IMEI packet received {"connection_id":118889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":118889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:05:28] local.INFO: TCP Data received {"connection_id":118889,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b4ffdd8012d3cbfc006a512d00036015f2e..."} 
[2026-07-01 07:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b4ffdd8012d3cbfc006a512d00036015f2e..."} 
[2026-07-01 07:05:28] local.INFO: Processing buffer {"connection_id":118889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b4ffdd8012d3cbfc006a512d00036015f2e..."} 
[2026-07-01 07:05:28] local.INFO: Packet analysis {"connection_id":118889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b4f"} 
[2026-07-01 07:05:28] local.INFO: Extracted packet for processing {"connection_id":118889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b4f"} 
[2026-07-01 07:05:28] local.INFO: GPS Element Parsed {"raw_longitude":758955968,"raw_latitude":111481552,"longitude_deg":75.8955968,"latitude_deg":11.1481552,"altitude":54,"angle":351,"satellites":46,"speed":51,"hex_longitude":"2d3cbfc0","hex_latitude":"06a512d0","is_valid_coordinates":true} 
[2026-07-01 07:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:05:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414629888001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:05:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332824647923924992,"note":"Value kept but may cause issues"} 
[2026-07-01 07:05:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4378976609968728064,"note":"Value kept but may cause issues"} 
[2026-07-01 07:05:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:05:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782869655000,"timestamp_ms":1782869655000,"timestamp_seconds":1782869655,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b4ffdd8"} 
[2026-07-01 07:05:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:05:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 07:05:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:05:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:05:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:05:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:05:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:05:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:05:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:05:28] 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-01 07:05:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:05:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:05:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414629888001,"66":27767,"40":206,"81":49664,"24":51,"16":332824647923924992,"45":4378976609968728064},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,81,24,16,45]} 
[2026-07-01 07:05:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:05:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:05:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414629888001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:05:28] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-07-01 07:05:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-01 07:05:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332824647923924992,"km_value":332824647923925.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:05:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":4378976609968728064,"description":"Unknown IO ID 45"} 
[2026-07-01 07:05:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414629888001,"power":27767,"unknown_40":206,"unknown_81":49664,"ignition":51,"odometer":null,"unknown_45":4378976609968728064}} 
[2026-07-01 07:05:28] local.INFO: DEBUG: GPS processor result {"connection_id":118889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:05:28] local.INFO: GPS data processed {"connection_id":118889,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:05:28] local.INFO: Acknowledgment sent {"connection_id":118889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:05:54] local.INFO: TCP Data received {"connection_id":119543,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b511b00012d82488005d16628000c005d18..."} 
[2026-07-01 07:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b511b00012d82488005d16628000c005d18..."} 
[2026-07-01 07:05:54] local.INFO: Processing buffer {"connection_id":119543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b511b00012d82488005d16628000c005d18..."} 
[2026-07-01 07:05:54] local.INFO: Packet analysis {"connection_id":119543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b51"} 
[2026-07-01 07:05:54] local.INFO: Extracted packet for processing {"connection_id":119543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b51"} 
[2026-07-01 07:05:54] local.INFO: GPS Element Parsed {"raw_longitude":763512960,"raw_latitude":97609256,"longitude_deg":76.351296,"latitude_deg":9.7609256,"altitude":12,"angle":93,"satellites":24,"speed":30,"hex_longitude":"2d824880","hex_latitude":"05d16628","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:05:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414649600001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:05:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101087475560087552,"note":"Value kept but may cause issues"} 
[2026-07-01 07:05:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9061383162769715200,"note":"Value kept but may cause issues"} 
[2026-07-01 07:05:54] 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-01 07:05:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782869728000,"timestamp_ms":1782869728000,"timestamp_seconds":1782869728,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b511b00"} 
[2026-07-01 07: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-01 07:05:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-01 07:05: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-01 07: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-01 07: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-01 07:05:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:05:54] local.INFO: Teltonika packet parsed successfully {"connection_id":119543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:05:54] local.INFO: Passing IMEI to GPS processor {"connection_id":119543,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:05:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":119543,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:05:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:05:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:05:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:05:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414649600001,"66":13189,"65":206,"85":15104,"24":30,"16":101087475560087552,"45":-9061383162769715200},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-07-01 07:05:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:05:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:05:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414649600001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:05:54] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-07-01 07:05:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:05:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101087475560087552,"km_value":101087475560087.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:05:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9061383162769715200,"description":"Unknown IO ID 45"} 
[2026-07-01 07:05:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414649600001,"power":13189,"unknown_65":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9061383162769715200}} 
[2026-07-01 07:05:54] local.INFO: DEBUG: GPS processor result {"connection_id":119543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416305,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:05:54] local.INFO: GPS data processed {"connection_id":119543,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:05:54] local.INFO: Acknowledgment sent {"connection_id":119543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:06:00] local.INFO: TCP Data received {"connection_id":118889,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b501d18012d3cba4006a539c0003a015d2e..."} 
[2026-07-01 07:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b501d18012d3cba4006a539c0003a015d2e..."} 
[2026-07-01 07:06:00] local.INFO: Processing buffer {"connection_id":118889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b501d18012d3cba4006a539c0003a015d2e..."} 
[2026-07-01 07:06:00] local.INFO: Packet analysis {"connection_id":118889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b50"} 
[2026-07-01 07:06:00] local.INFO: Extracted packet for processing {"connection_id":118889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b50"} 
[2026-07-01 07:06:00] local.INFO: GPS Element Parsed {"raw_longitude":758954560,"raw_latitude":111491520,"longitude_deg":75.895456,"latitude_deg":11.149152,"altitude":58,"angle":349,"satellites":46,"speed":48,"hex_longitude":"2d3cba40","hex_latitude":"06a539c0","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414631680001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332825133255229440,"note":"Value kept but may cause issues"} 
[2026-07-01 07:06:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4377428497599221760,"note":"Value kept but may cause issues"} 
[2026-07-01 07:06:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782869663000,"timestamp_ms":1782869663000,"timestamp_seconds":1782869663,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b501d18"} 
[2026-07-01 07: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-01 07:06:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 07:06:00] 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-01 07: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-01 07: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-01 07:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":118889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":118889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":118889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:06:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414631680001,"66":27876,"40":206,"81":49664,"24":48,"16":332825133255229440,"45":4377428497599221760},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,81,24,16,45]} 
[2026-07-01 07:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414631680001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:06:00] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-07-01 07:06:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-01 07:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332825133255229440,"km_value":332825133255229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:06:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":4377428497599221760,"description":"Unknown IO ID 45"} 
[2026-07-01 07:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414631680001,"power":27876,"unknown_40":206,"unknown_81":49664,"ignition":48,"odometer":null,"unknown_45":4377428497599221760}} 
[2026-07-01 07:06:00] local.INFO: DEBUG: GPS processor result {"connection_id":118889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:06:00] local.INFO: GPS data processed {"connection_id":118889,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:06:00] local.INFO: Acknowledgment sent {"connection_id":118889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:06:18] local.INFO: TCP Data received {"connection_id":118771,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118771,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:06:18] local.INFO: Processing buffer {"connection_id":118771,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:06:18] local.INFO: IMEI packet received {"connection_id":118771,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 07:06:18] local.INFO: IMEI acknowledgment sent {"connection_id":118771,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:06:24] local.INFO: TCP Data received {"connection_id":118771,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118771,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:06:24] local.INFO: Processing buffer {"connection_id":118771,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:06:24] local.INFO: IMEI packet received {"connection_id":118771,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":118771,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:06:25] local.INFO: TCP Data received {"connection_id":118771,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b514210012d826f4005d16728000d005518..."} 
[2026-07-01 07:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b514210012d826f4005d16728000d005518..."} 
[2026-07-01 07:06:25] local.INFO: Processing buffer {"connection_id":118771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b514210012d826f4005d16728000d005518..."} 
[2026-07-01 07:06:25] local.INFO: Packet analysis {"connection_id":118771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b51"} 
[2026-07-01 07:06:25] local.INFO: Extracted packet for processing {"connection_id":118771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b51"} 
[2026-07-01 07:06:25] local.INFO: GPS Element Parsed {"raw_longitude":763522880,"raw_latitude":97609512,"longitude_deg":76.352288,"latitude_deg":9.7609512,"altitude":13,"angle":85,"satellites":24,"speed":43,"hex_longitude":"2d826f40","hex_latitude":"05d16728","is_valid_coordinates":true} 
[2026-07-01 07:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:06:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414650368001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:06:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101087948006490112,"note":"Value kept but may cause issues"} 
[2026-07-01 07:06:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9058849887979427840,"note":"Value kept but may cause issues"} 
[2026-07-01 07:06:25] 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-01 07:06:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782869738000,"timestamp_ms":1782869738000,"timestamp_seconds":1782869738,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b514210"} 
[2026-07-01 07:06:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:06:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-01 07:06:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:06:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:06:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:06:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:06:25] local.INFO: Teltonika packet parsed successfully {"connection_id":118771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:06:25] local.INFO: Passing IMEI to GPS processor {"connection_id":118771,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:06:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":118771,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:06:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:06:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:06:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:06:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414650368001,"66":13037,"65":206,"85":15104,"24":43,"16":101087948006490112,"45":-9058849887979427840},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-07-01 07:06:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:06:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:06:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414650368001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:06:25] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-07-01 07:06:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:06:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101087948006490112,"km_value":101087948006490.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:06:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9058849887979427840,"description":"Unknown IO ID 45"} 
[2026-07-01 07:06:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414650368001,"power":13037,"unknown_65":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":-9058849887979427840}} 
[2026-07-01 07:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":118771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416307,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:06:25] local.INFO: GPS data processed {"connection_id":118771,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:06:25] local.INFO: Acknowledgment sent {"connection_id":118771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:06:26] local.INFO: TCP Data received {"connection_id":119544,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:06:26] local.INFO: Processing buffer {"connection_id":119544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:06:26] local.INFO: IMEI packet received {"connection_id":119544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 07:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":119544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:06:27] local.INFO: TCP Data received {"connection_id":119544,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:06:27] local.INFO: Processing buffer {"connection_id":119544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:06:27] local.INFO: IMEI packet received {"connection_id":119544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":119544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:06:30] local.INFO: TCP Data received {"connection_id":119544,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b503488012d3cb1c006a554f0003d01512e..."} 
[2026-07-01 07:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b503488012d3cb1c006a554f0003d01512e..."} 
[2026-07-01 07:06:30] local.INFO: Processing buffer {"connection_id":119544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b503488012d3cb1c006a554f0003d01512e..."} 
[2026-07-01 07:06:30] local.INFO: Packet analysis {"connection_id":119544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b50"} 
[2026-07-01 07:06:30] local.INFO: Extracted packet for processing {"connection_id":119544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b50"} 
[2026-07-01 07:06:30] local.INFO: GPS Element Parsed {"raw_longitude":758952384,"raw_latitude":111498480,"longitude_deg":75.8952384,"latitude_deg":11.149848,"altitude":61,"angle":337,"satellites":46,"speed":47,"hex_longitude":"2d3cb1c0","hex_latitude":"06a554f0","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414633728001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332825489737515008,"note":"Value kept but may cause issues"} 
[2026-07-01 07:06:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4375880385229864960,"note":"Value kept but may cause issues"} 
[2026-07-01 07:06:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782869669000,"timestamp_ms":1782869669000,"timestamp_seconds":1782869669,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b503488"} 
[2026-07-01 07: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-01 07:06:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-01 07:06:30] 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-01 07: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-01 07: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-01 07:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":119544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":119544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":119544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:06:30] 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-01 07:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414633728001,"66":27865,"40":206,"81":49664,"24":47,"16":332825489737515008,"45":4375880385229864960},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,81,24,16,45]} 
[2026-07-01 07:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414633728001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:06:30] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-07-01 07:06:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-01 07:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332825489737515008,"km_value":332825489737515.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:06:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":4375880385229864960,"description":"Unknown IO ID 45"} 
[2026-07-01 07:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414633728001,"power":27865,"unknown_40":206,"unknown_81":49664,"ignition":47,"odometer":null,"unknown_45":4375880385229864960}} 
[2026-07-01 07:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":119544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:06:30] local.INFO: GPS data processed {"connection_id":119544,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:06:30] local.INFO: Acknowledgment sent {"connection_id":119544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:06:40] local.INFO: TCP Data received {"connection_id":119544,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b5053c8012d3ca08006a574b8004001492f..."} 
[2026-07-01 07:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b5053c8012d3ca08006a574b8004001492f..."} 
[2026-07-01 07:06:40] local.INFO: Processing buffer {"connection_id":119544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b5053c8012d3ca08006a574b8004001492f..."} 
[2026-07-01 07:06:40] local.INFO: Packet analysis {"connection_id":119544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b50"} 
[2026-07-01 07:06:40] local.INFO: Extracted packet for processing {"connection_id":119544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b50"} 
[2026-07-01 07:06:40] local.INFO: GPS Element Parsed {"raw_longitude":758947968,"raw_latitude":111506616,"longitude_deg":75.8947968,"latitude_deg":11.1506616,"altitude":64,"angle":329,"satellites":47,"speed":45,"hex_longitude":"2d3ca080","hex_latitude":"06a574b8","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:06:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414635264001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:06:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332825936414113792,"note":"Value kept but may cause issues"} 
[2026-07-01 07:06:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4373487847929606144,"note":"Value kept but may cause issues"} 
[2026-07-01 07:06:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:06:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782869677000,"timestamp_ms":1782869677000,"timestamp_seconds":1782869677,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b5053c8"} 
[2026-07-01 07: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-01 07:06:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 07:06:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07: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-01 07: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-01 07:06:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:06:40] local.INFO: Teltonika packet parsed successfully {"connection_id":119544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:06:40] local.INFO: Passing IMEI to GPS processor {"connection_id":119544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:06:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":119544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07: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-01 07:06:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:06:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:06:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414635264001,"66":27800,"40":206,"81":49664,"24":45,"16":332825936414113792,"45":4373487847929606144},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,81,24,16,45]} 
[2026-07-01 07:06:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:06:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:06:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414635264001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:06:40] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-07-01 07:06:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-01 07:06:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332825936414113792,"km_value":332825936414113.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:06:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":4373487847929606144,"description":"Unknown IO ID 45"} 
[2026-07-01 07:06:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414635264001,"power":27800,"unknown_40":206,"unknown_81":49664,"ignition":45,"odometer":null,"unknown_45":4373487847929606144}} 
[2026-07-01 07:06:40] local.INFO: DEBUG: GPS processor result {"connection_id":119544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:06:40] local.INFO: GPS data processed {"connection_id":119544,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:06:40] local.INFO: Acknowledgment sent {"connection_id":119544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:06:55] local.INFO: TCP Data received {"connection_id":118771,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b525f38012d83330005d153280007008418..."} 
[2026-07-01 07:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b525f38012d83330005d153280007008418..."} 
[2026-07-01 07:06:55] local.INFO: Processing buffer {"connection_id":118771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b525f38012d83330005d153280007008418..."} 
[2026-07-01 07:06:55] local.INFO: Packet analysis {"connection_id":118771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b52"} 
[2026-07-01 07:06:55] local.INFO: Extracted packet for processing {"connection_id":118771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b52"} 
[2026-07-01 07:06:55] local.INFO: GPS Element Parsed {"raw_longitude":763572992,"raw_latitude":97604392,"longitude_deg":76.3572992,"latitude_deg":9.7604392,"altitude":7,"angle":132,"satellites":24,"speed":10,"hex_longitude":"2d833300","hex_latitude":"05d15328","is_valid_coordinates":true} 
[2026-07-01 07:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414671360001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101090430497587200,"note":"Value kept but may cause issues"} 
[2026-07-01 07:06:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992984743430340608,"note":"Value kept but may cause issues"} 
[2026-07-01 07:06:55] 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-01 07:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782869811000,"timestamp_ms":1782869811000,"timestamp_seconds":1782869811,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b525f38"} 
[2026-07-01 07:06:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:06:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-01 07:06: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-01 07:06:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:06:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":118771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":118771,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":118771,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:06:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414671360001,"66":13222,"64":206,"85":15104,"24":10,"16":101090430497587200,"45":-8992984743430340608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-07-01 07:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414671360001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:06:55] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-01 07:06:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101090430497587200,"km_value":101090430497587.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:06:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992984743430340608,"description":"Unknown IO ID 45"} 
[2026-07-01 07:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414671360001,"power":13222,"unknown_64":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":-8992984743430340608}} 
[2026-07-01 07:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":118771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416310,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:06:55] local.INFO: GPS data processed {"connection_id":118771,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:06:55] local.INFO: Acknowledgment sent {"connection_id":118771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:07:18] local.INFO: TCP Data received {"connection_id":119546,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119546,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:07:18] local.INFO: Processing buffer {"connection_id":119546,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:07:18] local.INFO: IMEI packet received {"connection_id":119546,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 07:07:18] local.INFO: IMEI acknowledgment sent {"connection_id":119546,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:07:23] local.INFO: TCP Data received {"connection_id":119546,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119546,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:07:23] local.INFO: Processing buffer {"connection_id":119546,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:07:23] local.INFO: IMEI packet received {"connection_id":119546,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":119546,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:07:24] local.INFO: TCP Data received {"connection_id":119546,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b526320012d83338005d152600007009018..."} 
[2026-07-01 07:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b526320012d83338005d152600007009018..."} 
[2026-07-01 07:07:24] local.INFO: Processing buffer {"connection_id":119546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b526320012d83338005d152600007009018..."} 
[2026-07-01 07:07:24] local.INFO: Packet analysis {"connection_id":119546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b52"} 
[2026-07-01 07:07:24] local.INFO: Extracted packet for processing {"connection_id":119546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b52"} 
[2026-07-01 07:07:24] local.INFO: GPS Element Parsed {"raw_longitude":763573120,"raw_latitude":97604192,"longitude_deg":76.357312,"latitude_deg":9.7604192,"altitude":7,"angle":144,"satellites":24,"speed":10,"hex_longitude":"2d833380","hex_latitude":"05d15260","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:07:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414671616001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:07:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101090443382489088,"note":"Value kept but may cause issues"} 
[2026-07-01 07:07:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992844005942024192,"note":"Value kept but may cause issues"} 
[2026-07-01 07:07:24] 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-01 07:07:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782869812000,"timestamp_ms":1782869812000,"timestamp_seconds":1782869812,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b526320"} 
[2026-07-01 07: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-01 07:07:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07: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":166,"data_length":795,"current_offset":136} 
[2026-07-01 07:07:24] 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-01 07: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-01 07: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-01 07:07:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:07:24] local.INFO: Teltonika packet parsed successfully {"connection_id":119546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:07:24] local.INFO: Passing IMEI to GPS processor {"connection_id":119546,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:07:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":119546,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:07:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:07:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:07:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:07:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414671616001,"66":13222,"64":206,"85":15104,"24":10,"16":101090443382489088,"45":-8992844005942024192},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-07-01 07:07:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:07:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:07:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414671616001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:07:24] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-01 07:07:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:07:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101090443382489088,"km_value":101090443382489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:07:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992844005942024192,"description":"Unknown IO ID 45"} 
[2026-07-01 07:07:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414671616001,"power":13222,"unknown_64":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":-8992844005942024192}} 
[2026-07-01 07:07:24] local.INFO: DEBUG: GPS processor result {"connection_id":119546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416311,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:07:24] local.INFO: GPS data processed {"connection_id":119546,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:07:24] local.INFO: Acknowledgment sent {"connection_id":119546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:07:26] local.INFO: TCP Data received {"connection_id":120643,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:07:26] local.INFO: Processing buffer {"connection_id":120643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:07:26] local.INFO: IMEI packet received {"connection_id":120643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 07:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":120643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:07:28] local.INFO: TCP Data received {"connection_id":120643,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:07:28] local.INFO: Processing buffer {"connection_id":120643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:07:28] local.INFO: IMEI packet received {"connection_id":120643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:07:28] local.INFO: IMEI acknowledgment sent {"connection_id":120643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:07:31] local.INFO: TCP Data received {"connection_id":120643,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:07:31] local.INFO: Processing buffer {"connection_id":120643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:07:31] local.INFO: IMEI packet received {"connection_id":120643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":120643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:07:33] local.INFO: TCP Data received {"connection_id":120643,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b51da68012d3b52c006a71f900035011824..."} 
[2026-07-01 07:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b51da68012d3b52c006a71f900035011824..."} 
[2026-07-01 07:07:33] local.INFO: Processing buffer {"connection_id":120643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b51da68012d3b52c006a71f900035011824..."} 
[2026-07-01 07:07:33] local.INFO: Packet analysis {"connection_id":120643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b51"} 
[2026-07-01 07:07:33] local.INFO: Extracted packet for processing {"connection_id":120643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b51"} 
[2026-07-01 07:07:33] local.INFO: GPS Element Parsed {"raw_longitude":758862528,"raw_latitude":111615888,"longitude_deg":75.8862528,"latitude_deg":11.1615888,"altitude":53,"angle":280,"satellites":36,"speed":67,"hex_longitude":"2d3b52c0","hex_latitude":"06a71f90","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414661376001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332832786886950912,"note":"Value kept but may cause issues"} 
[2026-07-01 07:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4285949130202003456,"note":"Value kept but may cause issues"} 
[2026-07-01 07:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782869777000,"timestamp_ms":1782869777000,"timestamp_seconds":1782869777,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b51da68"} 
[2026-07-01 07: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-01 07:07:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-01 07:07:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07: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-01 07: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-01 07:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":120643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":120643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":120643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414661376001,"66":27930,"186":206,"81":49664,"24":67,"16":332832786886950912,"45":4285949130202003456},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,81,24,16,45]} 
[2026-07-01 07:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414661376001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:07:33] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-07-01 07:07:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-01 07:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332832786886950912,"km_value":332832786886950.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":4285949130202003456,"description":"Unknown IO ID 45"} 
[2026-07-01 07:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414661376001,"power":27930,"unknown_186":206,"unknown_81":49664,"ignition":67,"odometer":null,"unknown_45":4285949130202003456}} 
[2026-07-01 07:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":120643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:07:33] local.INFO: GPS data processed {"connection_id":120643,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:07:33] local.INFO: Acknowledgment sent {"connection_id":120643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:07:34] local.INFO: TCP Data received {"connection_id":120643,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b51da68012d3b52c006a71f900035011824..."} 
[2026-07-01 07:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b51da68012d3b52c006a71f900035011824..."} 
[2026-07-01 07:07:34] local.INFO: Processing buffer {"connection_id":120643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b51da68012d3b52c006a71f900035011824..."} 
[2026-07-01 07:07:34] local.INFO: Packet analysis {"connection_id":120643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b51"} 
[2026-07-01 07:07:34] local.INFO: Extracted packet for processing {"connection_id":120643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b51"} 
[2026-07-01 07:07:34] local.INFO: GPS Element Parsed {"raw_longitude":758862528,"raw_latitude":111615888,"longitude_deg":75.8862528,"latitude_deg":11.1615888,"altitude":53,"angle":280,"satellites":36,"speed":67,"hex_longitude":"2d3b52c0","hex_latitude":"06a71f90","is_valid_coordinates":true} 
[2026-07-01 07:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414662912001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332832786886950912,"note":"Value kept but may cause issues"} 
[2026-07-01 07:07:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4274690131134222336,"note":"Value kept but may cause issues"} 
[2026-07-01 07:07:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782869777000,"timestamp_ms":1782869777000,"timestamp_seconds":1782869777,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b51da68"} 
[2026-07-01 07:07:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:07:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-01 07:07:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:07:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:07:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":120643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":120643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":120643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:07:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414662912001,"66":27930,"186":206,"81":49664,"24":67,"16":332832786886950912,"45":4274690131134222336},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,81,24,16,45]} 
[2026-07-01 07:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414662912001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:07:34] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-07-01 07:07:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-01 07:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332832786886950912,"km_value":332832786886950.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:07:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":4274690131134222336,"description":"Unknown IO ID 45"} 
[2026-07-01 07:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414662912001,"power":27930,"unknown_186":206,"unknown_81":49664,"ignition":67,"odometer":null,"unknown_45":4274690131134222336}} 
[2026-07-01 07:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":120643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:07:34] local.INFO: GPS data processed {"connection_id":120643,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:07:34] local.INFO: Acknowledgment sent {"connection_id":120643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:07:56] local.INFO: TCP Data received {"connection_id":119546,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b526708012d83340005d15180000700a717..."} 
[2026-07-01 07:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b526708012d83340005d15180000700a717..."} 
[2026-07-01 07:07:56] local.INFO: Processing buffer {"connection_id":119546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b526708012d83340005d15180000700a717..."} 
[2026-07-01 07:07:56] local.INFO: Packet analysis {"connection_id":119546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b52"} 
[2026-07-01 07:07:56] local.INFO: Extracted packet for processing {"connection_id":119546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b52"} 
[2026-07-01 07:07:56] local.INFO: GPS Element Parsed {"raw_longitude":763573248,"raw_latitude":97603968,"longitude_deg":76.3573248,"latitude_deg":9.7603968,"altitude":7,"angle":167,"satellites":23,"speed":8,"hex_longitude":"2d833400","hex_latitude":"05d15180","is_valid_coordinates":true} 
[2026-07-01 07:07:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:07:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414671872001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:07:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101090456267390976,"note":"Value kept but may cause issues"} 
[2026-07-01 07:07:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992703268453720064,"note":"Value kept but may cause issues"} 
[2026-07-01 07:07:56] 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-01 07:07:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782869813000,"timestamp_ms":1782869813000,"timestamp_seconds":1782869813,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b526708"} 
[2026-07-01 07:07:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:07:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:07:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-01 07:07:56] 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-01 07:07:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:07:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:07:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:07:56] local.INFO: Teltonika packet parsed successfully {"connection_id":119546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:07:56] local.INFO: Passing IMEI to GPS processor {"connection_id":119546,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:07:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":119546,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:07:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:07:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:07:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:07:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414671872001,"66":13189,"64":206,"85":15104,"24":8,"16":101090456267390976,"45":-8992703268453720064},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-07-01 07:07:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:07:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:07:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414671872001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:07:56] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-01 07:07:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:07:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101090456267390976,"km_value":101090456267390.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:07:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992703268453720064,"description":"Unknown IO ID 45"} 
[2026-07-01 07:07:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414671872001,"power":13189,"unknown_64":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":-8992703268453720064}} 
[2026-07-01 07:07:56] local.INFO: DEBUG: GPS processor result {"connection_id":119546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416314,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:07:56] local.INFO: GPS data processed {"connection_id":119546,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:07:56] local.INFO: Acknowledgment sent {"connection_id":119546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:08:06] local.INFO: TCP Data received {"connection_id":120643,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b52b140012d39e0c006a79050001601502d..."} 
[2026-07-01 07:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b52b140012d39e0c006a79050001601502d..."} 
[2026-07-01 07:08:06] local.INFO: Processing buffer {"connection_id":120643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b52b140012d39e0c006a79050001601502d..."} 
[2026-07-01 07:08:06] local.INFO: Packet analysis {"connection_id":120643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b52"} 
[2026-07-01 07:08:06] local.INFO: Extracted packet for processing {"connection_id":120643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b52"} 
[2026-07-01 07:08:06] local.INFO: GPS Element Parsed {"raw_longitude":758767808,"raw_latitude":111644752,"longitude_deg":75.8767808,"latitude_deg":11.1644752,"altitude":22,"angle":336,"satellites":45,"speed":72,"hex_longitude":"2d39e0c0","hex_latitude":"06a79050","is_valid_coordinates":true} 
[2026-07-01 07:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414676224001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332837661674831872,"note":"Value kept but may cause issues"} 
[2026-07-01 07:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4173359139524542464,"note":"Value kept but may cause issues"} 
[2026-07-01 07:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782869832000,"timestamp_ms":1782869832000,"timestamp_seconds":1782869832,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b52b140"} 
[2026-07-01 07:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 07:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":120643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":120643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":120643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414676224001,"66":27876,"238":206,"81":49664,"24":72,"16":332837661674831872,"45":4173359139524542464},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,81,24,16,45]} 
[2026-07-01 07:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414676224001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:08:06] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-07-01 07:08:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-01 07:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332837661674831872,"km_value":332837661674831.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":4173359139524542464,"description":"Unknown IO ID 45"} 
[2026-07-01 07:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414676224001,"power":27876,"unknown_238":206,"unknown_81":49664,"ignition":72,"odometer":null,"unknown_45":4173359139524542464}} 
[2026-07-01 07:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":120643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:08:06] local.INFO: GPS data processed {"connection_id":120643,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:08:06] local.INFO: Acknowledgment sent {"connection_id":120643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:08:18] local.INFO: TCP Data received {"connection_id":119547,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119547,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:08:18] local.INFO: Processing buffer {"connection_id":119547,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:08:18] local.INFO: IMEI packet received {"connection_id":119547,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 07:08:18] local.INFO: IMEI acknowledgment sent {"connection_id":119547,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:08:22] local.INFO: TCP Data received {"connection_id":119548,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:08:22] local.INFO: Processing buffer {"connection_id":119548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:08:22] local.INFO: IMEI packet received {"connection_id":119548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 07:08:22] local.INFO: IMEI acknowledgment sent {"connection_id":119548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:08:23] local.INFO: TCP Data received {"connection_id":119548,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:08:23] local.INFO: Processing buffer {"connection_id":119548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:08:23] local.INFO: IMEI packet received {"connection_id":119548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":119548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:08:23] local.INFO: TCP Data received {"connection_id":119547,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119547,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:08:23] local.INFO: Processing buffer {"connection_id":119547,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:08:23] local.INFO: IMEI packet received {"connection_id":119547,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":119547,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:08:24] local.INFO: TCP Data received {"connection_id":119547,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b52a588012d83334005d151d00007015618..."} 
[2026-07-01 07:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b52a588012d83334005d151d00007015618..."} 
[2026-07-01 07:08:24] local.INFO: Processing buffer {"connection_id":119547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b52a588012d83334005d151d00007015618..."} 
[2026-07-01 07:08:24] local.INFO: Packet analysis {"connection_id":119547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b52"} 
[2026-07-01 07:08:24] local.INFO: Extracted packet for processing {"connection_id":119547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b52"} 
[2026-07-01 07:08:24] local.INFO: GPS Element Parsed {"raw_longitude":763573056,"raw_latitude":97604048,"longitude_deg":76.3573056,"latitude_deg":9.7604048,"altitude":7,"angle":342,"satellites":24,"speed":2,"hex_longitude":"2d833340","hex_latitude":"05d151d0","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:08:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414672128001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101090499217063936,"note":"Value kept but may cause issues"} 
[2026-07-01 07:08:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992562530965422080,"note":"Value kept but may cause issues"} 
[2026-07-01 07:08:24] 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-01 07:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782869829000,"timestamp_ms":1782869829000,"timestamp_seconds":1782869829,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b52a588"} 
[2026-07-01 07: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-01 07:08:24] 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-01 07: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":133,"data_length":795,"current_offset":136} 
[2026-07-01 07:08: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-01 07: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-01 07: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-01 07:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":119547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":119547,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":119547,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:08:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:08:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414672128001,"66":13526,"64":206,"85":15104,"24":2,"16":101090499217063936,"45":-8992562530965422080},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-07-01 07:08:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:08:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:08:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414672128001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:08:24] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-01 07:08:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:08:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101090499217063936,"km_value":101090499217063.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:08:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992562530965422080,"description":"Unknown IO ID 45"} 
[2026-07-01 07:08:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414672128001,"power":13526,"unknown_64":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":-8992562530965422080}} 
[2026-07-01 07:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":119547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416316,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:08:24] local.INFO: GPS data processed {"connection_id":119547,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:08:24] local.INFO: Acknowledgment sent {"connection_id":119547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:08:26] local.INFO: TCP Data received {"connection_id":119548,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:08:26] local.INFO: Processing buffer {"connection_id":119548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:08:26] local.INFO: IMEI packet received {"connection_id":119548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":119548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:08:28] local.INFO: TCP Data received {"connection_id":119548,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b52c4c8012d39d48006a7b200001301542a..."} 
[2026-07-01 07:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b52c4c8012d39d48006a7b200001301542a..."} 
[2026-07-01 07:08:28] local.INFO: Processing buffer {"connection_id":119548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b52c4c8012d39d48006a7b200001301542a..."} 
[2026-07-01 07:08:28] local.INFO: Packet analysis {"connection_id":119548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b52"} 
[2026-07-01 07:08:28] local.INFO: Extracted packet for processing {"connection_id":119548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b52"} 
[2026-07-01 07:08:28] local.INFO: GPS Element Parsed {"raw_longitude":758764672,"raw_latitude":111653376,"longitude_deg":75.8764672,"latitude_deg":11.1653376,"altitude":19,"angle":340,"satellites":42,"speed":73,"hex_longitude":"2d39d480","hex_latitude":"06a7b200","is_valid_coordinates":true} 
[2026-07-01 07:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414676992001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:08:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4170544389758668800,"note":"Value kept but may cause issues"} 
[2026-07-01 07:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332838108351430656,"note":"Value kept but may cause issues"} 
[2026-07-01 07:08:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,81,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-01 07:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782869837000,"timestamp_ms":1782869837000,"timestamp_seconds":1782869837,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b52c4c8"} 
[2026-07-01 07:08:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:08:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-01 07:08:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:08:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:08:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:08:28] 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-01 07:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414676992001,"66":27919,"45":4170544389758668800,"81":23296,"24":73,"16":332838108351430656},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-07-01 07:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414676992001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:08:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":4170544389758668800,"description":"Unknown IO ID 45"} 
[2026-07-01 07:08:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-01 07:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332838108351430656,"km_value":332838108351430.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:08:28] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456414676992001,"power":27919,"unknown_45":4170544389758668800,"unknown_81":23296,"ignition":73,"odometer":null}} 
[2026-07-01 07:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":119548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:08:28] local.INFO: GPS data processed {"connection_id":119548,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:08:28] local.INFO: Acknowledgment sent {"connection_id":119548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:08:29] local.INFO: TCP Data received {"connection_id":119548,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b52d850012d39c84006a7d3c8001101542c..."} 
[2026-07-01 07:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b52d850012d39c84006a7d3c8001101542c..."} 
[2026-07-01 07:08:29] local.INFO: Processing buffer {"connection_id":119548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b52d850012d39c84006a7d3c8001101542c..."} 
[2026-07-01 07:08:29] local.INFO: Packet analysis {"connection_id":119548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b52"} 
[2026-07-01 07:08:29] local.INFO: Extracted packet for processing {"connection_id":119548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b52"} 
[2026-07-01 07:08:29] local.INFO: GPS Element Parsed {"raw_longitude":758761536,"raw_latitude":111662024,"longitude_deg":75.8761536,"latitude_deg":11.1662024,"altitude":17,"angle":340,"satellites":44,"speed":72,"hex_longitude":"2d39c840","hex_latitude":"06a7d3c8","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:08:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414678272001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:08:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4167096321296171008,"note":"Value kept but may cause issues"} 
[2026-07-01 07:08:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332838550733062144,"note":"Value kept but may cause issues"} 
[2026-07-01 07:08:29] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,81,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-01 07:08:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782869842000,"timestamp_ms":1782869842000,"timestamp_seconds":1782869842,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b52d850"} 
[2026-07-01 07: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-01 07:08:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 07:08:29] 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-01 07: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-01 07: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-01 07:08:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:08:29] local.INFO: Teltonika packet parsed successfully {"connection_id":119548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:08:29] local.INFO: Passing IMEI to GPS processor {"connection_id":119548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:08:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":119548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:08:29] 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-01 07:08:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:08:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:08:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414678272001,"66":27908,"45":4167096321296171008,"81":23296,"24":72,"16":332838550733062144},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-07-01 07:08:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:08:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:08:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414678272001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:08:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":4167096321296171008,"description":"Unknown IO ID 45"} 
[2026-07-01 07:08:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-01 07:08:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332838550733062144,"km_value":332838550733062.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:08:29] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456414678272001,"power":27908,"unknown_45":4167096321296171008,"unknown_81":23296,"ignition":72,"odometer":null}} 
[2026-07-01 07:08:29] local.INFO: DEBUG: GPS processor result {"connection_id":119548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:08:29] local.INFO: GPS data processed {"connection_id":119548,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:08:29] local.INFO: Acknowledgment sent {"connection_id":119548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:08:55] local.INFO: TCP Data received {"connection_id":119547,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b52a970012d83334005d152180007016218..."} 
[2026-07-01 07:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b52a970012d83334005d152180007016218..."} 
[2026-07-01 07:08:55] local.INFO: Processing buffer {"connection_id":119547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b52a970012d83334005d152180007016218..."} 
[2026-07-01 07:08:55] local.INFO: Packet analysis {"connection_id":119547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b52"} 
[2026-07-01 07:08:55] local.INFO: Extracted packet for processing {"connection_id":119547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b52"} 
[2026-07-01 07:08:55] local.INFO: GPS Element Parsed {"raw_longitude":763573056,"raw_latitude":97604120,"longitude_deg":76.3573056,"latitude_deg":9.760412,"altitude":7,"angle":354,"satellites":24,"speed":2,"hex_longitude":"2d833340","hex_latitude":"05d15218","is_valid_coordinates":true} 
[2026-07-01 07:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414676224001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101090503512031232,"note":"Value kept but may cause issues"} 
[2026-07-01 07:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992773637197934592,"note":"Value kept but may cause issues"} 
[2026-07-01 07:08:55] 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-01 07:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782869830000,"timestamp_ms":1782869830000,"timestamp_seconds":1782869830,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b52a970"} 
[2026-07-01 07:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:08: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-01 07:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-07-01 07:08:55] 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-01 07:08:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":119547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":119547,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":119547,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414676224001,"66":13526,"64":206,"85":15104,"24":2,"16":101090503512031232,"45":-8992773637197934592},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-07-01 07:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414676224001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:08:55] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-01 07:08:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101090503512031232,"km_value":101090503512031.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992773637197934592,"description":"Unknown IO ID 45"} 
[2026-07-01 07:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414676224001,"power":13526,"unknown_64":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":-8992773637197934592}} 
[2026-07-01 07:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":119547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416319,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:08:55] local.INFO: GPS data processed {"connection_id":119547,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:08:55] local.INFO: Acknowledgment sent {"connection_id":119547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:09:01] local.INFO: TCP Data received {"connection_id":119548,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b52ebd8012d39bcc006a7f530001001552a..."} 
[2026-07-01 07:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b52ebd8012d39bcc006a7f530001001552a..."} 
[2026-07-01 07:09:01] local.INFO: Processing buffer {"connection_id":119548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b52ebd8012d39bcc006a7f530001001552a..."} 
[2026-07-01 07:09:01] local.INFO: Packet analysis {"connection_id":119548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b52"} 
[2026-07-01 07:09:01] local.INFO: Extracted packet for processing {"connection_id":119548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b52"} 
[2026-07-01 07:09:01] local.INFO: GPS Element Parsed {"raw_longitude":758758592,"raw_latitude":111670576,"longitude_deg":75.8758592,"latitude_deg":11.1670576,"altitude":16,"angle":341,"satellites":42,"speed":70,"hex_longitude":"2d39bcc0","hex_latitude":"06a7f530","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414679552001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:09:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4163648252833679360,"note":"Value kept but may cause issues"} 
[2026-07-01 07:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332838988819726336,"note":"Value kept but may cause issues"} 
[2026-07-01 07:09:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,81,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-01 07:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782869847000,"timestamp_ms":1782869847000,"timestamp_seconds":1782869847,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b52ebd8"} 
[2026-07-01 07: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-01 07:09:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 07:09:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07: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-01 07: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-01 07:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":119548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":119548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":119548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:09:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414679552001,"66":27767,"45":4163648252833679360,"81":23296,"24":70,"16":332838988819726336},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-07-01 07:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414679552001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:09:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":4163648252833679360,"description":"Unknown IO ID 45"} 
[2026-07-01 07:09:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-01 07:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332838988819726336,"km_value":332838988819726.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:09:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456414679552001,"power":27767,"unknown_45":4163648252833679360,"unknown_81":23296,"ignition":70,"odometer":null}} 
[2026-07-01 07:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":119548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:09:01] local.INFO: GPS data processed {"connection_id":119548,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:09:01] local.INFO: Acknowledgment sent {"connection_id":119548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:09:20] local.INFO: TCP Data received {"connection_id":120644,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:09:20] local.INFO: Processing buffer {"connection_id":120644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:09:20] local.INFO: IMEI packet received {"connection_id":120644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 07:09:20] local.INFO: IMEI acknowledgment sent {"connection_id":120644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:09:21] local.INFO: TCP Data received {"connection_id":120644,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:09:21] local.INFO: Processing buffer {"connection_id":120644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:09:21] local.INFO: IMEI packet received {"connection_id":120644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":120644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:09:23] local.INFO: TCP Data received {"connection_id":118773,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118773,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:09:23] local.INFO: Processing buffer {"connection_id":118773,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:09:23] local.INFO: IMEI packet received {"connection_id":118773,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 07:09:23] local.INFO: IMEI acknowledgment sent {"connection_id":118773,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:09:27] local.INFO: TCP Data received {"connection_id":120644,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:09:27] local.INFO: Processing buffer {"connection_id":120644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:09:27] local.INFO: IMEI packet received {"connection_id":120644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":120644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:09:28] local.INFO: TCP Data received {"connection_id":120644,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b52ff60012d39b34006a816a8000e01582b..."} 
[2026-07-01 07:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b52ff60012d39b34006a816a8000e01582b..."} 
[2026-07-01 07:09:28] local.INFO: Processing buffer {"connection_id":120644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b52ff60012d39b34006a816a8000e01582b..."} 
[2026-07-01 07:09:28] local.INFO: Packet analysis {"connection_id":120644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b52"} 
[2026-07-01 07:09:28] local.INFO: Extracted packet for processing {"connection_id":120644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b52"} 
[2026-07-01 07:09:28] local.INFO: GPS Element Parsed {"raw_longitude":758756160,"raw_latitude":111679144,"longitude_deg":75.875616,"latitude_deg":11.1679144,"altitude":14,"angle":344,"satellites":43,"speed":69,"hex_longitude":"2d39b340","hex_latitude":"06a816a8","is_valid_coordinates":true} 
[2026-07-01 07:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:09:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414680832001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:09:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4160411290603696128,"note":"Value kept but may cause issues"} 
[2026-07-01 07:09:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332839422611423232,"note":"Value kept but may cause issues"} 
[2026-07-01 07:09:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,81,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-01 07:09:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782869852000,"timestamp_ms":1782869852000,"timestamp_seconds":1782869852,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b52ff60"} 
[2026-07-01 07:09:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:09:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 07:09:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:09:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:09:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:09:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:09:28] local.INFO: Teltonika packet parsed successfully {"connection_id":120644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:09:28] local.INFO: Passing IMEI to GPS processor {"connection_id":120644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:09:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":120644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:09:28] 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-01 07:09:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:09:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:09:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414680832001,"66":27800,"45":4160411290603696128,"81":23296,"24":69,"16":332839422611423232},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-07-01 07:09:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:09:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:09:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414680832001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:09:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":4160411290603696128,"description":"Unknown IO ID 45"} 
[2026-07-01 07:09:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-01 07:09:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332839422611423232,"km_value":332839422611423.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:09:28] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456414680832001,"power":27800,"unknown_45":4160411290603696128,"unknown_81":23296,"ignition":69,"odometer":null}} 
[2026-07-01 07:09:28] local.INFO: DEBUG: GPS processor result {"connection_id":120644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:09:28] local.INFO: GPS data processed {"connection_id":120644,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:09:28] local.INFO: Acknowledgment sent {"connection_id":120644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:09:29] local.INFO: TCP Data received {"connection_id":118773,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118773,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:09:29] local.INFO: Processing buffer {"connection_id":118773,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:09:29] local.INFO: IMEI packet received {"connection_id":118773,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":118773,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:09:32] local.INFO: TCP Data received {"connection_id":118773,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b52b528012d83334005d152c80007000418..."} 
[2026-07-01 07:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b52b528012d83334005d152c80007000418..."} 
[2026-07-01 07:09:32] local.INFO: Processing buffer {"connection_id":118773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b52b528012d83334005d152c80007000418..."} 
[2026-07-01 07:09:32] local.INFO: Packet analysis {"connection_id":118773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b52"} 
[2026-07-01 07:09:32] local.INFO: Extracted packet for processing {"connection_id":118773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b52"} 
[2026-07-01 07:09:32] local.INFO: GPS Element Parsed {"raw_longitude":763573056,"raw_latitude":97604296,"longitude_deg":76.3573056,"latitude_deg":9.7604296,"altitude":7,"angle":4,"satellites":24,"speed":2,"hex_longitude":"2d833340","hex_latitude":"05d152c8","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414676480001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101090512101965824,"note":"Value kept but may cause issues"} 
[2026-07-01 07:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992773637197916160,"note":"Value kept but may cause issues"} 
[2026-07-01 07:09:32] 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-01 07:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782869833000,"timestamp_ms":1782869833000,"timestamp_seconds":1782869833,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b52b528"} 
[2026-07-01 07: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-01 07:09:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-07-01 07:09:32] 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-01 07: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-01 07: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-01 07:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":118773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":118773,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":118773,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:09:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414676480001,"66":13352,"64":206,"85":15104,"24":2,"16":101090512101965824,"45":-8992773637197916160},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-07-01 07:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414676480001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:09:32] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-07-01 07:09:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101090512101965824,"km_value":101090512101965.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992773637197916160,"description":"Unknown IO ID 45"} 
[2026-07-01 07:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414676480001,"power":13352,"unknown_64":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":-8992773637197916160}} 
[2026-07-01 07:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":118773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416322,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:09:32] local.INFO: GPS data processed {"connection_id":118773,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:09:32] local.INFO: Acknowledgment sent {"connection_id":118773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:09:36] local.INFO: TCP Data received {"connection_id":118773,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b530730012d83334005d153900007016618..."} 
[2026-07-01 07:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b530730012d83334005d153900007016618..."} 
[2026-07-01 07:09:36] local.INFO: Processing buffer {"connection_id":118773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b530730012d83334005d153900007016618..."} 
[2026-07-01 07:09:36] local.INFO: Packet analysis {"connection_id":118773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b53"} 
[2026-07-01 07:09:36] local.INFO: Extracted packet for processing {"connection_id":118773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b53"} 
[2026-07-01 07:09:36] local.INFO: GPS Element Parsed {"raw_longitude":763573056,"raw_latitude":97604496,"longitude_deg":76.3573056,"latitude_deg":9.7604496,"altitude":7,"angle":358,"satellites":24,"speed":0,"hex_longitude":"2d833340","hex_latitude":"05d15390","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414677248001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101090520691900416,"note":"Value kept but may cause issues"} 
[2026-07-01 07:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992773637197871104,"note":"Value kept but may cause issues"} 
[2026-07-01 07:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782869854000,"timestamp_ms":1782869854000,"timestamp_seconds":1782869854,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b530730"} 
[2026-07-01 07: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-01 07:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-01 07:09:36] 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-01 07: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-01 07: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-01 07:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":118773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":118773,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":118773,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414677248001,"66":13439,"221":206,"85":15104,"24":0,"16":101090520691900416,"45":-8992773637197871104},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-07-01 07:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414677248001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:09:36] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-01 07:09:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101090520691900416,"km_value":101090520691900.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992773637197871104,"description":"Unknown IO ID 45"} 
[2026-07-01 07:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414677248001,"power":13439,"unknown_221":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8992773637197871104}} 
[2026-07-01 07:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":118773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416323,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:09:36] local.INFO: GPS data processed {"connection_id":118773,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:09:36] local.INFO: Acknowledgment sent {"connection_id":118773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:09:36] local.INFO: TCP Data received {"connection_id":118891,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118891,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:09:36] local.INFO: Processing buffer {"connection_id":118891,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:09:36] local.INFO: IMEI packet received {"connection_id":118891,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 07:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":118891,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:09:59] local.INFO: TCP Data received {"connection_id":120644,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b545b08012d39248006aa20e0000901592c..."} 
[2026-07-01 07:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b545b08012d39248006aa20e0000901592c..."} 
[2026-07-01 07:09:59] local.INFO: Processing buffer {"connection_id":120644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b545b08012d39248006aa20e0000901592c..."} 
[2026-07-01 07:09:59] local.INFO: Packet analysis {"connection_id":120644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b54"} 
[2026-07-01 07:09:59] local.INFO: Extracted packet for processing {"connection_id":120644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b54"} 
[2026-07-01 07:09:59] local.INFO: GPS Element Parsed {"raw_longitude":758719616,"raw_latitude":111812832,"longitude_deg":75.8719616,"latitude_deg":11.1812832,"altitude":9,"angle":345,"satellites":44,"speed":56,"hex_longitude":"2d392480","hex_latitude":"06aa20e0","is_valid_coordinates":true} 
[2026-07-01 07:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414703104001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332846131350339584,"note":"Value kept but may cause issues"} 
[2026-07-01 07:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4120512212688855040,"note":"Value kept but may cause issues"} 
[2026-07-01 07:09:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782869941000,"timestamp_ms":1782869941000,"timestamp_seconds":1782869941,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b545b08"} 
[2026-07-01 07:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:09: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-01 07:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 07:09:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:09:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":120644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":120644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":120644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:09:59] 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-01 07:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414703104001,"66":27800,"163":206,"81":23296,"24":56,"16":332846131350339584,"45":4120512212688855040},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,81,24,16,45]} 
[2026-07-01 07:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414703104001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:09:59] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-01 07:09:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-01 07:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332846131350339584,"km_value":332846131350339.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":4120512212688855040,"description":"Unknown IO ID 45"} 
[2026-07-01 07:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414703104001,"power":27800,"unknown_163":206,"unknown_81":23296,"ignition":56,"odometer":null,"unknown_45":4120512212688855040}} 
[2026-07-01 07:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":120644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:09:59] local.INFO: GPS data processed {"connection_id":120644,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:09:59] local.INFO: Acknowledgment sent {"connection_id":120644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:10:19] local.INFO: TCP Data received {"connection_id":118774,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118774,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:10:19] local.INFO: Processing buffer {"connection_id":118774,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:10:19] local.INFO: IMEI packet received {"connection_id":118774,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 07:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":118774,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:10:21] local.INFO: TCP Data received {"connection_id":118775,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118775,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:10:21] local.INFO: Processing buffer {"connection_id":118775,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:10:21] local.INFO: IMEI packet received {"connection_id":118775,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 07:10:21] local.INFO: IMEI acknowledgment sent {"connection_id":118775,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:10:22] local.INFO: TCP Data received {"connection_id":118774,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118774,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:10:22] local.INFO: Processing buffer {"connection_id":118774,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:10:22] local.INFO: IMEI packet received {"connection_id":118774,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:10:22] local.INFO: IMEI acknowledgment sent {"connection_id":118774,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:10:26] local.INFO: TCP Data received {"connection_id":120645,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:10:26] local.INFO: Processing buffer {"connection_id":120645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:10:26] local.INFO: IMEI packet received {"connection_id":120645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 07:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":120645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:10:27] local.INFO: TCP Data received {"connection_id":120645,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:10:27] local.INFO: Processing buffer {"connection_id":120645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:10:27] local.INFO: IMEI packet received {"connection_id":120645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":120645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:10:31] local.INFO: TCP Data received {"connection_id":120645,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:10:31] local.INFO: Processing buffer {"connection_id":120645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:10:31] local.INFO: IMEI packet received {"connection_id":120645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":120645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:10:33] local.INFO: TCP Data received {"connection_id":120645,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b547660012d391a8006aa4538000901592d..."} 
[2026-07-01 07:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b547660012d391a8006aa4538000901592d..."} 
[2026-07-01 07:10:33] local.INFO: Processing buffer {"connection_id":120645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b547660012d391a8006aa4538000901592d..."} 
[2026-07-01 07:10:33] local.INFO: Packet analysis {"connection_id":120645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b54"} 
[2026-07-01 07:10:33] local.INFO: Extracted packet for processing {"connection_id":120645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b54"} 
[2026-07-01 07:10:33] local.INFO: GPS Element Parsed {"raw_longitude":758717056,"raw_latitude":111822136,"longitude_deg":75.8717056,"latitude_deg":11.1822136,"altitude":9,"angle":345,"satellites":45,"speed":56,"hex_longitude":"2d391a80","hex_latitude":"06aa4538","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414704896001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332846599501774848,"note":"Value kept but may cause issues"} 
[2026-07-01 07:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4117556725435916288,"note":"Value kept but may cause issues"} 
[2026-07-01 07:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782869948000,"timestamp_ms":1782869948000,"timestamp_seconds":1782869948,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b547660"} 
[2026-07-01 07: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-01 07:10:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 07:10:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07: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-01 07: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-01 07:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":120645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":120645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":120645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414704896001,"66":27865,"163":206,"81":23296,"24":56,"16":332846599501774848,"45":4117556725435916288},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,81,24,16,45]} 
[2026-07-01 07:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414704896001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:10:33] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-01 07:10:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-01 07:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332846599501774848,"km_value":332846599501774.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":4117556725435916288,"description":"Unknown IO ID 45"} 
[2026-07-01 07:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414704896001,"power":27865,"unknown_163":206,"unknown_81":23296,"ignition":56,"odometer":null,"unknown_45":4117556725435916288}} 
[2026-07-01 07:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":120645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:10:33] local.INFO: GPS data processed {"connection_id":120645,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:10:33] local.INFO: Acknowledgment sent {"connection_id":120645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:10:34] local.INFO: TCP Data received {"connection_id":120645,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b5491b8012d39100006aa6bd0000801592b..."} 
[2026-07-01 07:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b5491b8012d39100006aa6bd0000801592b..."} 
[2026-07-01 07:10:34] local.INFO: Processing buffer {"connection_id":120645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b5491b8012d39100006aa6bd0000801592b..."} 
[2026-07-01 07:10:34] local.INFO: Packet analysis {"connection_id":120645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b54"} 
[2026-07-01 07:10:34] local.INFO: Extracted packet for processing {"connection_id":120645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b54"} 
[2026-07-01 07:10:34] local.INFO: GPS Element Parsed {"raw_longitude":758714368,"raw_latitude":111832016,"longitude_deg":75.8714368,"latitude_deg":11.1832016,"altitude":8,"angle":345,"satellites":43,"speed":60,"hex_longitude":"2d391000","hex_latitude":"06aa6bd0","is_valid_coordinates":true} 
[2026-07-01 07:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414706688001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332847093423013888,"note":"Value kept but may cause issues"} 
[2026-07-01 07:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4114741975671191552,"note":"Value kept but may cause issues"} 
[2026-07-01 07:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782869955000,"timestamp_ms":1782869955000,"timestamp_seconds":1782869955,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b5491b8"} 
[2026-07-01 07:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:10:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 07:10:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:10:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":120645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":120645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":120645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414706688001,"66":27832,"163":206,"81":23296,"24":60,"16":332847093423013888,"45":4114741975671191552},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,81,24,16,45]} 
[2026-07-01 07:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414706688001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:10:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-01 07:10:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-01 07:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332847093423013888,"km_value":332847093423013.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":4114741975671191552,"description":"Unknown IO ID 45"} 
[2026-07-01 07:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414706688001,"power":27832,"unknown_163":206,"unknown_81":23296,"ignition":60,"odometer":null,"unknown_45":4114741975671191552}} 
[2026-07-01 07:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":120645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:10:34] local.INFO: GPS data processed {"connection_id":120645,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:10:34] local.INFO: Acknowledgment sent {"connection_id":120645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:10:39] local.INFO: TCP Data received {"connection_id":118774,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b535938012d83334005d15390000701661b..."} 
[2026-07-01 07:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b535938012d83334005d15390000701661b..."} 
[2026-07-01 07:10:39] local.INFO: Processing buffer {"connection_id":118774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b535938012d83334005d15390000701661b..."} 
[2026-07-01 07:10:39] local.INFO: Packet analysis {"connection_id":118774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b53"} 
[2026-07-01 07:10:39] local.INFO: Extracted packet for processing {"connection_id":118774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b53"} 
[2026-07-01 07:10:39] local.INFO: GPS Element Parsed {"raw_longitude":763573056,"raw_latitude":97604496,"longitude_deg":76.3573056,"latitude_deg":9.7604496,"altitude":7,"angle":358,"satellites":27,"speed":0,"hex_longitude":"2d833340","hex_latitude":"05d15390","is_valid_coordinates":true} 
[2026-07-01 07:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414682624001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101090520691900416,"note":"Value kept but may cause issues"} 
[2026-07-01 07:10:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992773637197819904,"note":"Value kept but may cause issues"} 
[2026-07-01 07:10:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782869875000,"timestamp_ms":1782869875000,"timestamp_seconds":1782869875,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b535938"} 
[2026-07-01 07:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:10:39] 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-01 07:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-07-01 07:10:39] 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-01 07:10:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":118774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":118774,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":118774,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:10:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414682624001,"66":13330,"221":206,"85":15104,"24":0,"16":101090520691900416,"45":-8992773637197819904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-07-01 07:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414682624001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:10:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-01 07:10:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101090520691900416,"km_value":101090520691900.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:10:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992773637197819904,"description":"Unknown IO ID 45"} 
[2026-07-01 07:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414682624001,"power":13330,"unknown_221":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8992773637197819904}} 
[2026-07-01 07:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":118774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416327,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:10:39] local.INFO: GPS data processed {"connection_id":118774,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:10:39] local.INFO: Acknowledgment sent {"connection_id":118774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:10:44] local.INFO: TCP Data received {"connection_id":118774,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b53ab40012d83334005d15390000701661b..."} 
[2026-07-01 07:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b53ab40012d83334005d15390000701661b..."} 
[2026-07-01 07:10:44] local.INFO: Processing buffer {"connection_id":118774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b53ab40012d83334005d15390000701661b..."} 
[2026-07-01 07:10:44] local.INFO: Packet analysis {"connection_id":118774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b53"} 
[2026-07-01 07:10:44] local.INFO: Extracted packet for processing {"connection_id":118774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b53"} 
[2026-07-01 07:10:44] local.INFO: GPS Element Parsed {"raw_longitude":763573056,"raw_latitude":97604496,"longitude_deg":76.3573056,"latitude_deg":9.7604496,"altitude":7,"angle":358,"satellites":27,"speed":0,"hex_longitude":"2d833340","hex_latitude":"05d15390","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414688000001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101090520691900416,"note":"Value kept but may cause issues"} 
[2026-07-01 07:10:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992773637197819904,"note":"Value kept but may cause issues"} 
[2026-07-01 07:10:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1782869896000,"timestamp_ms":1782869896000,"timestamp_seconds":1782869896,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b53ab40"} 
[2026-07-01 07: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-01 07:10:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07: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":18,"data_length":795,"current_offset":136} 
[2026-07-01 07:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-07-01 07:10:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-01 07:10:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2201174021,"note":"Value kept but may cause issues"} 
[2026-07-01 07:10:44] local.WARNING: Large IO value detected {"io_id":64,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-01 07:10:44] local.WARNING: Large IO value detected {"io_id":10,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-07-01 07:10:44] local.WARNING: Large IO value detected {"io_id":82,"raw_value":6861235327285264389,"note":"Value kept but may cause issues"} 
[2026-07-01 07:10:44] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3279520479090660288,"note":"Value kept but may cause issues"} 
[2026-07-01 07:10:44] local.WARNING: Large IO value detected {"io_id":209,"raw_value":5992039334289872896,"note":"Value kept but may cause issues"} 
[2026-07-01 07:10:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1312817358,"corrected_to":0} 
[2026-07-01 07:10:44] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2231422286,"note":"Value kept but may cause issues"} 
[2026-07-01 07:10:44] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3511836672,"note":"Value kept but may cause issues"} 
[2026-07-01 07:10:44] local.WARNING: Large IO value detected {"io_id":166,"raw_value":57788407024080187,"note":"Value kept but may cause issues"} 
[2026-07-01 07:10:44] local.WARNING: Large IO value detected {"io_id":78,"raw_value":4611912883884791808,"note":"Value kept but may cause issues"} 
[2026-07-01 07:10:44] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,221,85,24,241,157,16,37,159,7,45,64,83,10,66,181,82,169,1,240,214,227,27,209,4,113,205,2,103,52,128,23,239,51,5,166,78],"length":626,"final_offset":756,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1312817358,"validated":0}]} 
[2026-07-01 07:10:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504796899392356352,"timestamp_seconds":504796899392356.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 07: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-01 07:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":118774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":118774,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":118774,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:10:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414688000001,"66":13428,"221":206,"85":15104,"24":0,"16":101090520691900416,"45":-8992773637197819904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-07-01 07:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414688000001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:10:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-01 07:10:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:10:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101090520691900416,"km_value":101090520691900.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:10:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992773637197819904,"description":"Unknown IO ID 45"} 
[2026-07-01 07:10:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414688000001,"power":13428,"unknown_221":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8992773637197819904}} 
[2026-07-01 07:10:44] local.INFO: DEBUG: GPS processor result {"connection_id":118774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416328,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:10:44] local.INFO: GPS data processed {"connection_id":118774,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:10:44] local.INFO: Acknowledgment sent {"connection_id":118774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:11:05] local.INFO: TCP Data received {"connection_id":120645,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b54a928012d3906c006aa8e58000901592b..."} 
[2026-07-01 07:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b54a928012d3906c006aa8e58000901592b..."} 
[2026-07-01 07:11:05] local.INFO: Processing buffer {"connection_id":120645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b54a928012d3906c006aa8e58000901592b..."} 
[2026-07-01 07:11:05] local.INFO: Packet analysis {"connection_id":120645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b54"} 
[2026-07-01 07:11:05] local.INFO: Extracted packet for processing {"connection_id":120645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b54"} 
[2026-07-01 07:11:05] local.INFO: GPS Element Parsed {"raw_longitude":758712000,"raw_latitude":111840856,"longitude_deg":75.8712,"latitude_deg":11.1840856,"altitude":9,"angle":345,"satellites":43,"speed":60,"hex_longitude":"2d3906c0","hex_latitude":"06aa8e58","is_valid_coordinates":true} 
[2026-07-01 07:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414708480001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332847540099612672,"note":"Value kept but may cause issues"} 
[2026-07-01 07:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4111786488418258944,"note":"Value kept but may cause issues"} 
[2026-07-01 07:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782869961000,"timestamp_ms":1782869961000,"timestamp_seconds":1782869961,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b54a928"} 
[2026-07-01 07:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-01 07:11:05] 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-01 07:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":120645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":120645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":120645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414708480001,"66":27995,"163":206,"81":23296,"24":60,"16":332847540099612672,"45":4111786488418258944},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,81,24,16,45]} 
[2026-07-01 07:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414708480001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:11:05] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-01 07:11:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-01 07:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332847540099612672,"km_value":332847540099612.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":4111786488418258944,"description":"Unknown IO ID 45"} 
[2026-07-01 07:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414708480001,"power":27995,"unknown_163":206,"unknown_81":23296,"ignition":60,"odometer":null,"unknown_45":4111786488418258944}} 
[2026-07-01 07:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":120645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:11:05] local.INFO: GPS data processed {"connection_id":120645,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:11:05] local.INFO: Acknowledgment sent {"connection_id":120645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:11:21] local.INFO: TCP Data received {"connection_id":119549,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:11:21] local.INFO: Processing buffer {"connection_id":119549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:11:21] local.INFO: IMEI packet received {"connection_id":119549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 07:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":119549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:11:22] local.INFO: TCP Data received {"connection_id":119549,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:11:22] local.INFO: Processing buffer {"connection_id":119549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:11:22] local.INFO: IMEI packet received {"connection_id":119549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:11:22] local.INFO: IMEI acknowledgment sent {"connection_id":119549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:11:22] local.INFO: TCP Data received {"connection_id":118893,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118893,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:11:22] local.INFO: Processing buffer {"connection_id":118893,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:11:22] local.INFO: IMEI packet received {"connection_id":118893,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 07:11:22] local.INFO: IMEI acknowledgment sent {"connection_id":118893,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:11:23] local.INFO: TCP Data received {"connection_id":118893,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118893,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:11:23] local.INFO: Processing buffer {"connection_id":118893,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:11:23] local.INFO: IMEI packet received {"connection_id":118893,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:11:23] local.INFO: IMEI acknowledgment sent {"connection_id":118893,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:11:27] local.INFO: TCP Data received {"connection_id":119549,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:11:27] local.INFO: Processing buffer {"connection_id":119549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:11:27] local.INFO: IMEI packet received {"connection_id":119549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":119549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:11:30] local.INFO: TCP Data received {"connection_id":119549,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b54c480012d38fcc006aab488000901592c..."} 
[2026-07-01 07:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b54c480012d38fcc006aab488000901592c..."} 
[2026-07-01 07:11:30] local.INFO: Processing buffer {"connection_id":119549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b54c480012d38fcc006aab488000901592c..."} 
[2026-07-01 07:11:30] local.INFO: Packet analysis {"connection_id":119549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b54"} 
[2026-07-01 07:11:30] local.INFO: Extracted packet for processing {"connection_id":119549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b54"} 
[2026-07-01 07:11:30] local.INFO: GPS Element Parsed {"raw_longitude":758709440,"raw_latitude":111850632,"longitude_deg":75.870944,"latitude_deg":11.1850632,"altitude":9,"angle":345,"satellites":44,"speed":56,"hex_longitude":"2d38fcc0","hex_latitude":"06aab488","is_valid_coordinates":true} 
[2026-07-01 07:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414710016001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332848029725884416,"note":"Value kept but may cause issues"} 
[2026-07-01 07:11:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4109182844885948416,"note":"Value kept but may cause issues"} 
[2026-07-01 07:11:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782869968000,"timestamp_ms":1782869968000,"timestamp_seconds":1782869968,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b54c480"} 
[2026-07-01 07:11:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:11:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-01 07:11:30] 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-01 07:11:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:11:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":119549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":119549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":119549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:11:30] 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-01 07:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414710016001,"66":27908,"163":206,"81":23296,"24":56,"16":332848029725884416,"45":4109182844885948416},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,81,24,16,45]} 
[2026-07-01 07:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414710016001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:11:30] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-01 07:11:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-07-01 07:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332848029725884416,"km_value":332848029725884.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:11:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":4109182844885948416,"description":"Unknown IO ID 45"} 
[2026-07-01 07:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414710016001,"power":27908,"unknown_163":206,"unknown_81":23296,"ignition":56,"odometer":null,"unknown_45":4109182844885948416}} 
[2026-07-01 07:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":119549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:11:30] local.INFO: GPS data processed {"connection_id":119549,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:11:30] local.INFO: Acknowledgment sent {"connection_id":119549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:11:33] local.INFO: TCP Data received {"connection_id":118893,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118893,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:11:33] local.INFO: Processing buffer {"connection_id":118893,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:11:33] local.INFO: IMEI packet received {"connection_id":118893,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":118893,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:11:34] local.INFO: TCP Data received {"connection_id":118893,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b55d208012d8332c005d152d00008010422..."} 
[2026-07-01 07:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b55d208012d8332c005d152d00008010422..."} 
[2026-07-01 07:11:34] local.INFO: Processing buffer {"connection_id":118893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b55d208012d8332c005d152d00008010422..."} 
[2026-07-01 07:11:34] local.INFO: Packet analysis {"connection_id":118893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b55"} 
[2026-07-01 07:11:34] local.INFO: Extracted packet for processing {"connection_id":118893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b55"} 
[2026-07-01 07:11:34] local.INFO: GPS Element Parsed {"raw_longitude":763572928,"raw_latitude":97604304,"longitude_deg":76.3572928,"latitude_deg":9.7604304,"altitude":8,"angle":260,"satellites":34,"speed":6,"hex_longitude":"2d8332c0","hex_latitude":"05d152d0","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414729216001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101090580821442560,"note":"Value kept but may cause issues"} 
[2026-07-01 07:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992773637197854720,"note":"Value kept but may cause issues"} 
[2026-07-01 07:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782870037000,"timestamp_ms":1782870037000,"timestamp_seconds":1782870037,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b55d208"} 
[2026-07-01 07: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-01 07:11: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-01 07: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":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-07-01 07:11:34] 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-01 07: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-01 07: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-01 07:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":118893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":118893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":118893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414729216001,"66":11765,"245":206,"85":15104,"24":6,"16":101090580821442560,"45":-8992773637197854720},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-07-01 07:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414729216001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:11:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101090580821442560,"km_value":101090580821442.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992773637197854720,"description":"Unknown IO ID 45"} 
[2026-07-01 07:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414729216001,"power":11765,"geofence_id":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":-8992773637197854720}} 
[2026-07-01 07:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":118893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416331,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:11:34] local.INFO: GPS data processed {"connection_id":118893,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:11:34] local.INFO: Acknowledgment sent {"connection_id":118893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:11:35] local.INFO: TCP Data received {"connection_id":118893,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b55d9d8012d83310005d152c80008011722..."} 
[2026-07-01 07:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b55d9d8012d83310005d152c80008011722..."} 
[2026-07-01 07:11:35] local.INFO: Processing buffer {"connection_id":118893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b55d9d8012d83310005d152c80008011722..."} 
[2026-07-01 07:11:35] local.INFO: Packet analysis {"connection_id":118893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b55"} 
[2026-07-01 07:11:35] local.INFO: Extracted packet for processing {"connection_id":118893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b55"} 
[2026-07-01 07:11:35] local.INFO: GPS Element Parsed {"raw_longitude":763572480,"raw_latitude":97604296,"longitude_deg":76.357248,"latitude_deg":9.7604296,"altitude":8,"angle":279,"satellites":34,"speed":11,"hex_longitude":"2d833100","hex_latitude":"05d152c8","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414729472001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101090606591246336,"note":"Value kept but may cause issues"} 
[2026-07-01 07:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992914374686224384,"note":"Value kept but may cause issues"} 
[2026-07-01 07:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782870039000,"timestamp_ms":1782870039000,"timestamp_seconds":1782870039,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b55d9d8"} 
[2026-07-01 07: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-01 07:11:35] 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-01 07: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":45,"n8_eight_byte":245,"data_length":795,"current_offset":136} 
[2026-07-01 07:11:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2628,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07: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-01 07: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-01 07:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":118893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":118893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":118893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414729472001,"66":12863,"221":206,"85":15104,"24":11,"16":101090606591246336,"45":-8992914374686224384},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-07-01 07:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414729472001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:11:35] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-01 07:11:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101090606591246336,"km_value":101090606591246.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992914374686224384,"description":"Unknown IO ID 45"} 
[2026-07-01 07:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414729472001,"power":12863,"unknown_221":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":-8992914374686224384}} 
[2026-07-01 07:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":118893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416332,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:11:35] local.INFO: GPS data processed {"connection_id":118893,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:11:35] local.INFO: Acknowledgment sent {"connection_id":118893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:12:02] local.INFO: TCP Data received {"connection_id":119549,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b563b80012d38760006acad58000d01582e..."} 
[2026-07-01 07:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b563b80012d38760006acad58000d01582e..."} 
[2026-07-01 07:12:02] local.INFO: Processing buffer {"connection_id":119549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b563b80012d38760006acad58000d01582e..."} 
[2026-07-01 07:12:02] local.INFO: Packet analysis {"connection_id":119549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b56"} 
[2026-07-01 07:12:02] local.INFO: Extracted packet for processing {"connection_id":119549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b56"} 
[2026-07-01 07:12:02] local.INFO: GPS Element Parsed {"raw_longitude":758674944,"raw_latitude":111979864,"longitude_deg":75.8674944,"latitude_deg":11.1979864,"altitude":13,"angle":344,"satellites":46,"speed":54,"hex_longitude":"2d387600","hex_latitude":"06acad58","is_valid_coordinates":true} 
[2026-07-01 07:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414734592001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332854506536566784,"note":"Value kept but may cause issues"} 
[2026-07-01 07:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4071254091807408128,"note":"Value kept but may cause issues"} 
[2026-07-01 07:12:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782870064000,"timestamp_ms":1782870064000,"timestamp_seconds":1782870064,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b563b80"} 
[2026-07-01 07:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:12:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-01 07:12:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:12:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":119549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":119549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":119549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:12:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414734592001,"66":27974,"185":206,"81":49664,"24":54,"16":332854506536566784,"45":4071254091807408128},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,81,24,16,45]} 
[2026-07-01 07:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414734592001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:12:02] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-01 07:12:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-01 07:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332854506536566784,"km_value":332854506536566.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":4071254091807408128,"description":"Unknown IO ID 45"} 
[2026-07-01 07:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414734592001,"power":27974,"unknown_185":206,"unknown_81":49664,"ignition":54,"odometer":null,"unknown_45":4071254091807408128}} 
[2026-07-01 07:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":119549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:12:02] local.INFO: GPS data processed {"connection_id":119549,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:12:02] local.INFO: Acknowledgment sent {"connection_id":119549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:12:19] local.INFO: TCP Data received {"connection_id":118777,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118777,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:12:19] local.INFO: Processing buffer {"connection_id":118777,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:12:19] local.INFO: IMEI packet received {"connection_id":118777,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 07:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":118777,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:12:21] local.INFO: TCP Data received {"connection_id":118777,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118777,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:12:21] local.INFO: Processing buffer {"connection_id":118777,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:12:21] local.INFO: IMEI packet received {"connection_id":118777,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:12:21] local.INFO: IMEI acknowledgment sent {"connection_id":118777,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:12:22] local.INFO: TCP Data received {"connection_id":118778,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:12:22] local.INFO: Processing buffer {"connection_id":118778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:12:22] local.INFO: IMEI packet received {"connection_id":118778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 07:12:22] local.INFO: IMEI acknowledgment sent {"connection_id":118778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:12:22] local.INFO: TCP Data received {"connection_id":118777,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b561858012d830b8005d155c8000a011122..."} 
[2026-07-01 07:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b561858012d830b8005d155c8000a011122..."} 
[2026-07-01 07:12:22] local.INFO: Processing buffer {"connection_id":118777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b561858012d830b8005d155c8000a011122..."} 
[2026-07-01 07:12:22] local.INFO: Packet analysis {"connection_id":118777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b56"} 
[2026-07-01 07:12:22] local.INFO: Extracted packet for processing {"connection_id":118777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b56"} 
[2026-07-01 07:12:22] local.INFO: GPS Element Parsed {"raw_longitude":763562880,"raw_latitude":97605064,"longitude_deg":76.356288,"latitude_deg":9.7605064,"altitude":10,"angle":273,"satellites":34,"speed":35,"hex_longitude":"2d830b80","hex_latitude":"05d155c8","is_valid_coordinates":true} 
[2026-07-01 07:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:12:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414729984001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:12:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101091066152747008,"note":"Value kept but may cause issues"} 
[2026-07-01 07:12:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8993406955895470080,"note":"Value kept but may cause issues"} 
[2026-07-01 07:12:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:12:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782870055000,"timestamp_ms":1782870055000,"timestamp_seconds":1782870055,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b561858"} 
[2026-07-01 07:12:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:12: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-01 07:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-01 07:12:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:12:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:12:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:12:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:12:22] local.INFO: Teltonika packet parsed successfully {"connection_id":118777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:12:22] local.INFO: Passing IMEI to GPS processor {"connection_id":118777,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:12:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":118777,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:12:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:12:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:12:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:12:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414729984001,"66":13178,"221":206,"85":15104,"24":35,"16":101091066152747008,"45":-8993406955895470080},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-07-01 07:12:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:12:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:12:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414729984001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:12:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-01 07:12:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:12:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101091066152747008,"km_value":101091066152747.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:12:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8993406955895470080,"description":"Unknown IO ID 45"} 
[2026-07-01 07:12:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414729984001,"power":13178,"unknown_221":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":-8993406955895470080}} 
[2026-07-01 07:12:22] local.INFO: DEBUG: GPS processor result {"connection_id":118777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416334,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:12:22] local.INFO: GPS data processed {"connection_id":118777,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:12:22] local.INFO: Acknowledgment sent {"connection_id":118777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:12:23] local.INFO: TCP Data received {"connection_id":118778,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:12:23] local.INFO: Processing buffer {"connection_id":118778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:12:23] local.INFO: IMEI packet received {"connection_id":118778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":118778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:12:27] local.INFO: TCP Data received {"connection_id":118778,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:12:27] local.INFO: Processing buffer {"connection_id":118778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:12:27] local.INFO: IMEI packet received {"connection_id":118778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":118778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:12:28] local.INFO: TCP Data received {"connection_id":118778,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b5656d8012d386cc006acd0f80010015a2d..."} 
[2026-07-01 07:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b5656d8012d386cc006acd0f80010015a2d..."} 
[2026-07-01 07:12:28] local.INFO: Processing buffer {"connection_id":118778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b5656d8012d386cc006acd0f80010015a2d..."} 
[2026-07-01 07:12:28] local.INFO: Packet analysis {"connection_id":118778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b56"} 
[2026-07-01 07:12:28] local.INFO: Extracted packet for processing {"connection_id":118778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b56"} 
[2026-07-01 07:12:28] local.INFO: GPS Element Parsed {"raw_longitude":758672576,"raw_latitude":111988984,"longitude_deg":75.8672576,"latitude_deg":11.1988984,"altitude":16,"angle":346,"satellites":45,"speed":52,"hex_longitude":"2d386cc0","hex_latitude":"06acd0f8","is_valid_coordinates":true} 
[2026-07-01 07:12:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:12:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414736384001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:12:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332854961803100160,"note":"Value kept but may cause issues"} 
[2026-07-01 07:12:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4068439342042667008,"note":"Value kept but may cause issues"} 
[2026-07-01 07:12:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:12:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782870071000,"timestamp_ms":1782870071000,"timestamp_seconds":1782870071,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b5656d8"} 
[2026-07-01 07:12:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:12:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:12:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-01 07:12:28] 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-01 07:12:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:12:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:12:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:12:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:12:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:12:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:12:28] 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-01 07:12:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:12:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:12:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414736384001,"66":27974,"185":206,"81":49664,"24":52,"16":332854961803100160,"45":4068439342042667008},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,81,24,16,45]} 
[2026-07-01 07:12:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:12:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:12:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414736384001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:12:28] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-01 07:12:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-01 07:12:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332854961803100160,"km_value":332854961803100.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:12:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":4068439342042667008,"description":"Unknown IO ID 45"} 
[2026-07-01 07:12:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414736384001,"power":27974,"unknown_185":206,"unknown_81":49664,"ignition":52,"odometer":null,"unknown_45":4068439342042667008}} 
[2026-07-01 07:12:28] local.INFO: DEBUG: GPS processor result {"connection_id":118778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:12:28] local.INFO: GPS data processed {"connection_id":118778,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:12:28] local.INFO: Acknowledgment sent {"connection_id":118778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:12:29] local.INFO: TCP Data received {"connection_id":118778,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b567230012d38634006acf418001201592c..."} 
[2026-07-01 07:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b567230012d38634006acf418001201592c..."} 
[2026-07-01 07:12:29] local.INFO: Processing buffer {"connection_id":118778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b567230012d38634006acf418001201592c..."} 
[2026-07-01 07:12:29] local.INFO: Packet analysis {"connection_id":118778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b56"} 
[2026-07-01 07:12:29] local.INFO: Extracted packet for processing {"connection_id":118778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b56"} 
[2026-07-01 07:12:29] local.INFO: GPS Element Parsed {"raw_longitude":758670144,"raw_latitude":111997976,"longitude_deg":75.8670144,"latitude_deg":11.1997976,"altitude":18,"angle":345,"satellites":44,"speed":53,"hex_longitude":"2d386340","hex_latitude":"06acf418","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414738176001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332855412774666240,"note":"Value kept but may cause issues"} 
[2026-07-01 07:12:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4065835698510428160,"note":"Value kept but may cause issues"} 
[2026-07-01 07:12:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782870078000,"timestamp_ms":1782870078000,"timestamp_seconds":1782870078,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b567230"} 
[2026-07-01 07: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-01 07:12:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-01 07:12:29] 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-01 07: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-01 07: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-01 07:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":118778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":118778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":118778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:12:29] 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-01 07:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414738176001,"66":27865,"185":206,"81":49664,"24":53,"16":332855412774666240,"45":4065835698510428160},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,81,24,16,45]} 
[2026-07-01 07:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414738176001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:12:29] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-01 07:12:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-01 07:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332855412774666240,"km_value":332855412774666.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:12:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":4065835698510428160,"description":"Unknown IO ID 45"} 
[2026-07-01 07:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414738176001,"power":27865,"unknown_185":206,"unknown_81":49664,"ignition":53,"odometer":null,"unknown_45":4065835698510428160}} 
[2026-07-01 07:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":118778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:12:29] local.INFO: GPS data processed {"connection_id":118778,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:12:29] local.INFO: Acknowledgment sent {"connection_id":118778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:12:53] local.INFO: TCP Data received {"connection_id":118777,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b563b80012d82e5c005d158500008011322..."} 
[2026-07-01 07:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b563b80012d82e5c005d158500008011322..."} 
[2026-07-01 07:12:53] local.INFO: Processing buffer {"connection_id":118777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b563b80012d82e5c005d158500008011322..."} 
[2026-07-01 07:12:53] local.INFO: Packet analysis {"connection_id":118777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b56"} 
[2026-07-01 07:12:53] local.INFO: Extracted packet for processing {"connection_id":118777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b56"} 
[2026-07-01 07:12:53] local.INFO: GPS Element Parsed {"raw_longitude":763553216,"raw_latitude":97605712,"longitude_deg":76.3553216,"latitude_deg":9.7605712,"altitude":8,"angle":275,"satellites":34,"speed":47,"hex_longitude":"2d82e5c0","hex_latitude":"05d15850","is_valid_coordinates":true} 
[2026-07-01 07:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:12:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414734080001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:12:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101091525714247680,"note":"Value kept but may cause issues"} 
[2026-07-01 07:12:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9003962267521923072,"note":"Value kept but may cause issues"} 
[2026-07-01 07:12:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:12:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782870064000,"timestamp_ms":1782870064000,"timestamp_seconds":1782870064,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b563b80"} 
[2026-07-01 07:12:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:12:53] 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-01 07:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-01 07:12: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-01 07:12:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:12:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:12:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:12:53] local.INFO: Teltonika packet parsed successfully {"connection_id":118777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:12:53] local.INFO: Passing IMEI to GPS processor {"connection_id":118777,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:12:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":118777,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:12:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:12:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:12:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:12:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414734080001,"66":13254,"221":206,"85":15104,"24":47,"16":101091525714247680,"45":-9003962267521923072},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-07-01 07:12:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:12:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:12:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414734080001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:12:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-01 07:12:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:12:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101091525714247680,"km_value":101091525714247.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:12:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9003962267521923072,"description":"Unknown IO ID 45"} 
[2026-07-01 07:12:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414734080001,"power":13254,"unknown_221":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":-9003962267521923072}} 
[2026-07-01 07:12:53] local.INFO: DEBUG: GPS processor result {"connection_id":118777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416337,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:12:53] local.INFO: GPS data processed {"connection_id":118777,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:12:53] local.INFO: Acknowledgment sent {"connection_id":118777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:13:00] local.INFO: TCP Data received {"connection_id":118778,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b568d88012d38598006ad1898001201592b..."} 
[2026-07-01 07:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b568d88012d38598006ad1898001201592b..."} 
[2026-07-01 07:13:00] local.INFO: Processing buffer {"connection_id":118778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b568d88012d38598006ad1898001201592b..."} 
[2026-07-01 07:13:00] local.INFO: Packet analysis {"connection_id":118778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b56"} 
[2026-07-01 07:13:00] local.INFO: Extracted packet for processing {"connection_id":118778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b56"} 
[2026-07-01 07:13:00] local.INFO: GPS Element Parsed {"raw_longitude":758667648,"raw_latitude":112007320,"longitude_deg":75.8667648,"latitude_deg":11.200732,"altitude":18,"angle":345,"satellites":43,"speed":57,"hex_longitude":"2d385980","hex_latitude":"06ad1898","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414739968001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332855880926101504,"note":"Value kept but may cause issues"} 
[2026-07-01 07:13:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4063161686233978880,"note":"Value kept but may cause issues"} 
[2026-07-01 07:13:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782870085000,"timestamp_ms":1782870085000,"timestamp_seconds":1782870085,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b568d88"} 
[2026-07-01 07: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-01 07:13:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 07:13:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07: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-01 07: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-01 07:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":118778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":118778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":118778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:13:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414739968001,"66":27745,"185":206,"81":49664,"24":57,"16":332855880926101504,"45":4063161686233978880},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,81,24,16,45]} 
[2026-07-01 07:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414739968001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:13:00] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-01 07:13:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-01 07:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332855880926101504,"km_value":332855880926101.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:13:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":4063161686233978880,"description":"Unknown IO ID 45"} 
[2026-07-01 07:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414739968001,"power":27745,"unknown_185":206,"unknown_81":49664,"ignition":57,"odometer":null,"unknown_45":4063161686233978880}} 
[2026-07-01 07:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":118778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:13:00] local.INFO: GPS data processed {"connection_id":118778,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:13:00] local.INFO: Acknowledgment sent {"connection_id":118778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:13:19] local.INFO: TCP Data received {"connection_id":120647,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120647,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:13:19] local.INFO: Processing buffer {"connection_id":120647,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:13:19] local.INFO: IMEI packet received {"connection_id":120647,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 07:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":120647,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:13:24] local.INFO: TCP Data received {"connection_id":120647,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120647,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:13:24] local.INFO: Processing buffer {"connection_id":120647,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:13:24] local.INFO: IMEI packet received {"connection_id":120647,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":120647,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:13:31] local.INFO: TCP Data received {"connection_id":120648,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:13:31] local.INFO: Processing buffer {"connection_id":120648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:13:31] local.INFO: IMEI packet received {"connection_id":120648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 07:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":120648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:13:35] local.INFO: TCP Data received {"connection_id":120648,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:13:35] local.INFO: Processing buffer {"connection_id":120648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:13:35] local.INFO: IMEI packet received {"connection_id":120648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":120648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:13:36] local.INFO: TCP Data received {"connection_id":120648,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:13:36] local.INFO: Processing buffer {"connection_id":120648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:13:36] local.INFO: IMEI packet received {"connection_id":120648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":120648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:13:37] local.INFO: TCP Data received {"connection_id":120648,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b57a2e0012d3790c006ae7be8000901472d..."} 
[2026-07-01 07:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b57a2e0012d3790c006ae7be8000901472d..."} 
[2026-07-01 07:13:37] local.INFO: Processing buffer {"connection_id":120648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b57a2e0012d3790c006ae7be8000901472d..."} 
[2026-07-01 07:13:37] local.INFO: Packet analysis {"connection_id":120648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b57"} 
[2026-07-01 07:13:37] local.INFO: Extracted packet for processing {"connection_id":120648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b57"} 
[2026-07-01 07:13:37] local.INFO: GPS Element Parsed {"raw_longitude":758616256,"raw_latitude":112098280,"longitude_deg":75.8616256,"latitude_deg":11.209828,"altitude":9,"angle":327,"satellites":45,"speed":56,"hex_longitude":"2d3790c0","hex_latitude":"06ae7be8","is_valid_coordinates":true} 
[2026-07-01 07:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414758144001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332860944692543488,"note":"Value kept but may cause issues"} 
[2026-07-01 07:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4009892546915026944,"note":"Value kept but may cause issues"} 
[2026-07-01 07:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782870156000,"timestamp_ms":1782870156000,"timestamp_seconds":1782870156,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b57a2e0"} 
[2026-07-01 07:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 07:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":120648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":120648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":120648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414758144001,"66":27800,"6":206,"81":49664,"24":56,"16":332860944692543488,"45":4009892546915026944},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,81,24,16,45]} 
[2026-07-01 07:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414758144001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:13:37] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-07-01 07:13:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-01 07:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332860944692543488,"km_value":332860944692543.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4009892546915026944,"description":"Unknown IO ID 45"} 
[2026-07-01 07:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414758144001,"power":27800,"unknown_6":206,"unknown_81":49664,"ignition":56,"odometer":null,"unknown_45":4009892546915026944}} 
[2026-07-01 07:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":120648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:13:37] local.INFO: GPS data processed {"connection_id":120648,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:13:37] local.INFO: Acknowledgment sent {"connection_id":120648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:13:42] local.INFO: TCP Data received {"connection_id":120648,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b57be38012d377b4006ae9d88000a01472b..."} 
[2026-07-01 07:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b57be38012d377b4006ae9d88000a01472b..."} 
[2026-07-01 07:13:42] local.INFO: Processing buffer {"connection_id":120648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b57be38012d377b4006ae9d88000a01472b..."} 
[2026-07-01 07:13:42] local.INFO: Packet analysis {"connection_id":120648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b57"} 
[2026-07-01 07:13:42] local.INFO: Extracted packet for processing {"connection_id":120648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b57"} 
[2026-07-01 07:13:42] local.INFO: GPS Element Parsed {"raw_longitude":758610752,"raw_latitude":112106888,"longitude_deg":75.8610752,"latitude_deg":11.2106888,"altitude":10,"angle":327,"satellites":43,"speed":58,"hex_longitude":"2d377b40","hex_latitude":"06ae9d88","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414759936001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332861438613782528,"note":"Value kept but may cause issues"} 
[2026-07-01 07:13:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4003911203662063616,"note":"Value kept but may cause issues"} 
[2026-07-01 07:13:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782870163000,"timestamp_ms":1782870163000,"timestamp_seconds":1782870163,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b57be38"} 
[2026-07-01 07: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-01 07:13:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 07:13:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07: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-01 07: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-01 07:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":120648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":120648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":120648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:13: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-01 07:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414759936001,"66":27995,"6":206,"81":49664,"24":58,"16":332861438613782528,"45":4003911203662063616},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,81,24,16,45]} 
[2026-07-01 07:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414759936001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:13:42] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-07-01 07:13:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-01 07:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332861438613782528,"km_value":332861438613782.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:13:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4003911203662063616,"description":"Unknown IO ID 45"} 
[2026-07-01 07:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414759936001,"power":27995,"unknown_6":206,"unknown_81":49664,"ignition":58,"odometer":null,"unknown_45":4003911203662063616}} 
[2026-07-01 07:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":120648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:13:42] local.INFO: GPS data processed {"connection_id":120648,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:13:42] local.INFO: Acknowledgment sent {"connection_id":120648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:13:46] local.INFO: TCP Data received {"connection_id":120647,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b565ac0012d82c30005d15d480005011821..."} 
[2026-07-01 07:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b565ac0012d82c30005d15d480005011821..."} 
[2026-07-01 07:13:46] local.INFO: Processing buffer {"connection_id":120647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b565ac0012d82c30005d15d480005011821..."} 
[2026-07-01 07:13:46] local.INFO: Packet analysis {"connection_id":120647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b56"} 
[2026-07-01 07:13:46] local.INFO: Extracted packet for processing {"connection_id":120647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b56"} 
[2026-07-01 07:13:46] local.INFO: GPS Element Parsed {"raw_longitude":763544320,"raw_latitude":97606984,"longitude_deg":76.354432,"latitude_deg":9.7606984,"altitude":5,"angle":280,"satellites":33,"speed":41,"hex_longitude":"2d82c300","hex_latitude":"05d15d48","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414736384001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101091955210977280,"note":"Value kept but may cause issues"} 
[2026-07-01 07:13:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9014587947892584448,"note":"Value kept but may cause issues"} 
[2026-07-01 07:13:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1782870072000,"timestamp_ms":1782870072000,"timestamp_seconds":1782870072,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b565ac0"} 
[2026-07-01 07: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-01 07:13:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-01 07:13:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07: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-01 07: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-01 07:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":120647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":120647,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":120647,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:13:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414736384001,"66":13222,"221":206,"85":15104,"24":41,"16":101091955210977280,"45":-9014587947892584448},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-07-01 07:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414736384001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:13:46] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-01 07:13:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101091955210977280,"km_value":101091955210977.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:13:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9014587947892584448,"description":"Unknown IO ID 45"} 
[2026-07-01 07:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414736384001,"power":13222,"unknown_221":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":-9014587947892584448}} 
[2026-07-01 07:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":120647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416341,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:13:46] local.INFO: GPS data processed {"connection_id":120647,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:13:46] local.INFO: Acknowledgment sent {"connection_id":120647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:14:19] local.INFO: TCP Data received {"connection_id":118895,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118895,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:14:19] local.INFO: Processing buffer {"connection_id":118895,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:14:19] local.INFO: IMEI packet received {"connection_id":118895,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 07:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":118895,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:14:19] local.INFO: TCP Data received {"connection_id":118895,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118895,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:14:19] local.INFO: Processing buffer {"connection_id":118895,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:14:19] local.INFO: IMEI packet received {"connection_id":118895,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":118895,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:14:21] local.INFO: TCP Data received {"connection_id":118779,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:14:21] local.INFO: Processing buffer {"connection_id":118779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:14:21] local.INFO: IMEI packet received {"connection_id":118779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 07:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":118779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:14:22] local.INFO: TCP Data received {"connection_id":118779,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:14:22] local.INFO: Processing buffer {"connection_id":118779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:14:22] local.INFO: IMEI packet received {"connection_id":118779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:14:22] local.INFO: IMEI acknowledgment sent {"connection_id":118779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:14:24] local.INFO: TCP Data received {"connection_id":118895,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118895,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:14:24] local.INFO: Processing buffer {"connection_id":118895,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:14:24] local.INFO: IMEI packet received {"connection_id":118895,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":118895,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:14:24] local.INFO: TCP Data received {"connection_id":118895,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b589ce0012d8294c005d22160000b016523..."} 
[2026-07-01 07:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b589ce0012d8294c005d22160000b016523..."} 
[2026-07-01 07:14:24] local.INFO: Processing buffer {"connection_id":118895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b589ce0012d8294c005d22160000b016523..."} 
[2026-07-01 07:14:24] local.INFO: Packet analysis {"connection_id":118895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b58"} 
[2026-07-01 07:14:24] local.INFO: Extracted packet for processing {"connection_id":118895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b58"} 
[2026-07-01 07:14:24] local.INFO: GPS Element Parsed {"raw_longitude":763532480,"raw_latitude":97657184,"longitude_deg":76.353248,"latitude_deg":9.7657184,"altitude":11,"angle":357,"satellites":35,"speed":28,"hex_longitude":"2d8294c0","hex_latitude":"05d22160","is_valid_coordinates":true} 
[2026-07-01 07:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414772992001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101094901558542336,"note":"Value kept but may cause issues"} 
[2026-07-01 07:14:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037317052251154432,"note":"Value kept but may cause issues"} 
[2026-07-01 07:14:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782870220000,"timestamp_ms":1782870220000,"timestamp_seconds":1782870220,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b589ce0"} 
[2026-07-01 07:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:14:24] 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-01 07:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-01 07:14:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-01 07:14:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2190786565,"note":"Value kept but may cause issues"} 
[2026-07-01 07:14:24] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-07-01 07:14:24] local.WARNING: Large IO value detected {"io_id":209,"raw_value":7653867592486167040,"note":"Value kept but may cause issues"} 
[2026-07-01 07:14:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1312882894,"corrected_to":0} 
[2026-07-01 07:14:24] local.WARNING: Large IO value detected {"io_id":148,"raw_value":2147865008,"note":"Value kept but may cause issues"} 
[2026-07-01 07:14:24] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3515678720,"note":"Value kept but may cause issues"} 
[2026-07-01 07:14:24] local.WARNING: Large IO value detected {"io_id":84,"raw_value":57815469613012283,"note":"Value kept but may cause issues"} 
[2026-07-01 07:14:24] local.WARNING: Large IO value detected {"io_id":86,"raw_value":-5152116678735871995,"note":"Value kept but may cause issues"} 
[2026-07-01 07:14:24] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,63,85,24,241,157,16,40,159,45,64,218,8,34,10,66,201,215,9,178,128,1,240,116,227,27,209,4,113,205,18,148,112,239,50,221,2,103,5,32,84,86],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1312882894,"validated":0}]} 
[2026-07-01 07:14:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792634779959230464,"timestamp_seconds":792634779959230.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 07:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":118895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":118895,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":118895,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:14:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414772992001,"66":13526,"63":206,"85":15104,"24":28,"16":101094901558542336,"45":-9037317052251154432},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-07-01 07:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414772992001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:14:24] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-01 07:14:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101094901558542336,"km_value":101094901558542.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:14:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037317052251154432,"description":"Unknown IO ID 45"} 
[2026-07-01 07:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414772992001,"power":13526,"unknown_63":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9037317052251154432}} 
[2026-07-01 07:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":118895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416342,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:14:24] local.INFO: GPS data processed {"connection_id":118895,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:14:24] local.INFO: Acknowledgment sent {"connection_id":118895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:14:26] local.INFO: TCP Data received {"connection_id":118779,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:14:26] local.INFO: Processing buffer {"connection_id":118779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:14:26] local.INFO: IMEI packet received {"connection_id":118779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":118779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:14:27] local.INFO: TCP Data received {"connection_id":118779,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b57d5a8012d37688006aebae0000c01472b..."} 
[2026-07-01 07:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b57d5a8012d37688006aebae0000c01472b..."} 
[2026-07-01 07:14:27] local.INFO: Processing buffer {"connection_id":118779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b57d5a8012d37688006aebae0000c01472b..."} 
[2026-07-01 07:14:27] local.INFO: Packet analysis {"connection_id":118779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b57"} 
[2026-07-01 07:14:27] local.INFO: Extracted packet for processing {"connection_id":118779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b57"} 
[2026-07-01 07:14:27] local.INFO: GPS Element Parsed {"raw_longitude":758605952,"raw_latitude":112114400,"longitude_deg":75.8605952,"latitude_deg":11.21144,"altitude":12,"angle":327,"satellites":43,"speed":58,"hex_longitude":"2d376880","hex_latitude":"06aebae0","is_valid_coordinates":true} 
[2026-07-01 07:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414761728001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332861868110512128,"note":"Value kept but may cause issues"} 
[2026-07-01 07:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3997859491664988160,"note":"Value kept but may cause issues"} 
[2026-07-01 07:14:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782870169000,"timestamp_ms":1782870169000,"timestamp_seconds":1782870169,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b57d5a8"} 
[2026-07-01 07:14:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:14: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-01 07:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-01 07:14:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:14:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:14:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:14:27] 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-01 07:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414761728001,"66":28017,"6":206,"81":49664,"24":58,"16":332861868110512128,"45":3997859491664988160},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,81,24,16,45]} 
[2026-07-01 07:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414761728001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:14:27] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-07-01 07:14:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-01 07:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332861868110512128,"km_value":332861868110512.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3997859491664988160,"description":"Unknown IO ID 45"} 
[2026-07-01 07:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414761728001,"power":28017,"unknown_6":206,"unknown_81":49664,"ignition":58,"odometer":null,"unknown_45":3997859491664988160}} 
[2026-07-01 07:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":118779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:14:27] local.INFO: GPS data processed {"connection_id":118779,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:14:27] local.INFO: Acknowledgment sent {"connection_id":118779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:14:55] local.INFO: TCP Data received {"connection_id":118895,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b58cfa8012d82968005d245c0000c000323..."} 
[2026-07-01 07:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b58cfa8012d82968005d245c0000c000323..."} 
[2026-07-01 07:14:55] local.INFO: Processing buffer {"connection_id":118895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b58cfa8012d82968005d245c0000c000323..."} 
[2026-07-01 07:14:55] local.INFO: Packet analysis {"connection_id":118895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b58"} 
[2026-07-01 07:14:55] local.INFO: Extracted packet for processing {"connection_id":118895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b58"} 
[2026-07-01 07:14:55] local.INFO: GPS Element Parsed {"raw_longitude":763532928,"raw_latitude":97666496,"longitude_deg":76.3532928,"latitude_deg":9.7666496,"altitude":12,"angle":3,"satellites":35,"speed":25,"hex_longitude":"2d829680","hex_latitude":"05d245c0","is_valid_coordinates":true} 
[2026-07-01 07:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414776320001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101095356825075712,"note":"Value kept but may cause issues"} 
[2026-07-01 07:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037387420992970752,"note":"Value kept but may cause issues"} 
[2026-07-01 07:14:55] 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-01 07:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782870233000,"timestamp_ms":1782870233000,"timestamp_seconds":1782870233,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b58cfa8"} 
[2026-07-01 07:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:14:55] 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-01 07:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-07-01 07:14:55] 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-01 07:14:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":118895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":118895,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":118895,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:14:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414776320001,"66":13602,"63":206,"85":15104,"24":25,"16":101095356825075712,"45":-9037387420992970752},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-07-01 07:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414776320001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:14:55] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-01 07:14:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101095356825075712,"km_value":101095356825075.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037387420992970752,"description":"Unknown IO ID 45"} 
[2026-07-01 07:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414776320001,"power":13602,"unknown_63":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9037387420992970752}} 
[2026-07-01 07:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":118895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416344,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:14:55] local.INFO: GPS data processed {"connection_id":118895,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:14:55] local.INFO: Acknowledgment sent {"connection_id":118895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:14:59] local.INFO: TCP Data received {"connection_id":118779,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b58f2d0012d36ae0006b02f40000a014e2e..."} 
[2026-07-01 07:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b58f2d0012d36ae0006b02f40000a014e2e..."} 
[2026-07-01 07:14:59] local.INFO: Processing buffer {"connection_id":118779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b58f2d0012d36ae0006b02f40000a014e2e..."} 
[2026-07-01 07:14:59] local.INFO: Packet analysis {"connection_id":118779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b58"} 
[2026-07-01 07:14:59] local.INFO: Extracted packet for processing {"connection_id":118779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b58"} 
[2026-07-01 07:14:59] local.INFO: GPS Element Parsed {"raw_longitude":758558208,"raw_latitude":112209728,"longitude_deg":75.8558208,"latitude_deg":11.2209728,"altitude":10,"angle":334,"satellites":46,"speed":59,"hex_longitude":"2d36ae00","hex_latitude":"06b02f40","is_valid_coordinates":true} 
[2026-07-01 07:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414780416001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332867026366234624,"note":"Value kept but may cause issues"} 
[2026-07-01 07:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3944379246114168832,"note":"Value kept but may cause issues"} 
[2026-07-01 07:14:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782870242000,"timestamp_ms":1782870242000,"timestamp_seconds":1782870242,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b58f2d0"} 
[2026-07-01 07:14:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:14: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-01 07:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-01 07:14:59] 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-01 07:14:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:14:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:14:59] 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-01 07:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414780416001,"66":27745,"85":206,"81":23552,"24":59,"16":332867026366234624,"45":3944379246114168832},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,81,24,16,45]} 
[2026-07-01 07:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414780416001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:14:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-07-01 07:14:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-07-01 07:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332867026366234624,"km_value":332867026366234.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3944379246114168832,"description":"Unknown IO ID 45"} 
[2026-07-01 07:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414780416001,"power":27745,"unknown_85":206,"unknown_81":23552,"ignition":59,"odometer":null,"unknown_45":3944379246114168832}} 
[2026-07-01 07:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":118779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:14:59] local.INFO: GPS data processed {"connection_id":118779,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:14:59] local.INFO: Acknowledgment sent {"connection_id":118779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:15:18] local.INFO: TCP Data received {"connection_id":119550,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119550,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:15:18] local.INFO: Processing buffer {"connection_id":119550,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:15:18] local.INFO: IMEI packet received {"connection_id":119550,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 07:15:18] local.INFO: IMEI acknowledgment sent {"connection_id":119550,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:15:19] local.INFO: TCP Data received {"connection_id":119550,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119550,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:15:19] local.INFO: Processing buffer {"connection_id":119550,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:15:19] local.INFO: IMEI packet received {"connection_id":119550,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":119550,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:15:24] local.INFO: TCP Data received {"connection_id":119550,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119550,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:15:24] local.INFO: Processing buffer {"connection_id":119550,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:15:24] local.INFO: IMEI packet received {"connection_id":119550,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:15:24] local.INFO: IMEI acknowledgment sent {"connection_id":119550,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:15:24] local.INFO: TCP Data received {"connection_id":119551,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:15:24] local.INFO: Processing buffer {"connection_id":119551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:15:24] local.INFO: IMEI packet received {"connection_id":119551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 07:15:24] local.INFO: IMEI acknowledgment sent {"connection_id":119551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:15:25] local.INFO: TCP Data received {"connection_id":119550,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b58f2d0012d8295c005d25940000c015f23..."} 
[2026-07-01 07:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b58f2d0012d8295c005d25940000c015f23..."} 
[2026-07-01 07:15:25] local.INFO: Processing buffer {"connection_id":119550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b58f2d0012d8295c005d25940000c015f23..."} 
[2026-07-01 07:15:25] local.INFO: Packet analysis {"connection_id":119550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b58"} 
[2026-07-01 07:15:25] local.INFO: Extracted packet for processing {"connection_id":119550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b58"} 
[2026-07-01 07:15:25] local.INFO: GPS Element Parsed {"raw_longitude":763532736,"raw_latitude":97671488,"longitude_deg":76.3532736,"latitude_deg":9.7671488,"altitude":12,"angle":351,"satellites":35,"speed":21,"hex_longitude":"2d8295c0","hex_latitude":"05d25940","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:15:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414779648001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:15:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101095597343244288,"note":"Value kept but may cause issues"} 
[2026-07-01 07:15:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036894839781343232,"note":"Value kept but may cause issues"} 
[2026-07-01 07:15:25] 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-01 07:15:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782870242000,"timestamp_ms":1782870242000,"timestamp_seconds":1782870242,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b58f2d0"} 
[2026-07-01 07: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-01 07:15:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-07-01 07:15:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07: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-01 07: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-01 07:15:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:15:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:15:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:15:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:15:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:15:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:15:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:15:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414779648001,"66":13537,"63":206,"85":15104,"24":21,"16":101095597343244288,"45":-9036894839781343232},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-07-01 07:15:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:15:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:15:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414779648001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:15:25] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-01 07:15:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:15:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101095597343244288,"km_value":101095597343244.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:15:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036894839781343232,"description":"Unknown IO ID 45"} 
[2026-07-01 07:15:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414779648001,"power":13537,"unknown_63":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":-9036894839781343232}} 
[2026-07-01 07:15:25] local.INFO: DEBUG: GPS processor result {"connection_id":119550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416346,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:15:25] local.INFO: GPS data processed {"connection_id":119550,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:15:25] local.INFO: Acknowledgment sent {"connection_id":119550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:15:26] local.INFO: TCP Data received {"connection_id":119551,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:15:26] local.INFO: Processing buffer {"connection_id":119551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:15:26] local.INFO: IMEI packet received {"connection_id":119551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":119551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:15:29] local.INFO: TCP Data received {"connection_id":119551,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:15:29] local.INFO: Processing buffer {"connection_id":119551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:15:29] local.INFO: IMEI packet received {"connection_id":119551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":119551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:15:36] local.INFO: TCP Data received {"connection_id":118896,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118896,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:15:36] local.INFO: Processing buffer {"connection_id":118896,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:15:36] local.INFO: IMEI packet received {"connection_id":118896,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 07:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":118896,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:15:40] local.INFO: TCP Data received {"connection_id":119551,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b590e28012d369d0006b053680009014f2d..."} 
[2026-07-01 07:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b590e28012d369d0006b053680009014f2d..."} 
[2026-07-01 07:15:40] local.INFO: Processing buffer {"connection_id":119551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b590e28012d369d0006b053680009014f2d..."} 
[2026-07-01 07:15:40] local.INFO: Packet analysis {"connection_id":119551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b59"} 
[2026-07-01 07:15:40] local.INFO: Extracted packet for processing {"connection_id":119551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b59"} 
[2026-07-01 07:15:40] local.INFO: GPS Element Parsed {"raw_longitude":758553856,"raw_latitude":112218984,"longitude_deg":75.8553856,"latitude_deg":11.2218984,"altitude":9,"angle":335,"satellites":45,"speed":56,"hex_longitude":"2d369d00","hex_latitude":"06b05368","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414781952001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332867520287473664,"note":"Value kept but may cause issues"} 
[2026-07-01 07:15:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3940086752721453056,"note":"Value kept but may cause issues"} 
[2026-07-01 07:15:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782870249000,"timestamp_ms":1782870249000,"timestamp_seconds":1782870249,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b590e28"} 
[2026-07-01 07: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-01 07:15:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 07:15:40] 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-01 07: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-01 07: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-01 07:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":119551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":119551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":119551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:15: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-01 07:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414781952001,"66":27104,"85":206,"81":23552,"24":56,"16":332867520287473664,"45":3940086752721453056},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,81,24,16,45]} 
[2026-07-01 07:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414781952001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:15:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-07-01 07:15:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-07-01 07:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332867520287473664,"km_value":332867520287473.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:15:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3940086752721453056,"description":"Unknown IO ID 45"} 
[2026-07-01 07:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414781952001,"power":27104,"unknown_85":206,"unknown_81":23552,"ignition":56,"odometer":null,"unknown_45":3940086752721453056}} 
[2026-07-01 07:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":119551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:15:40] local.INFO: GPS data processed {"connection_id":119551,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:15:40] local.INFO: Acknowledgment sent {"connection_id":119551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:15:42] local.INFO: TCP Data received {"connection_id":119551,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b592980012d368d8006b07598000a014e2e..."} 
[2026-07-01 07:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b592980012d368d8006b07598000a014e2e..."} 
[2026-07-01 07:15:42] local.INFO: Processing buffer {"connection_id":119551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b592980012d368d8006b07598000a014e2e..."} 
[2026-07-01 07:15:42] local.INFO: Packet analysis {"connection_id":119551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b59"} 
[2026-07-01 07:15:42] local.INFO: Extracted packet for processing {"connection_id":119551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b59"} 
[2026-07-01 07:15:42] local.INFO: GPS Element Parsed {"raw_longitude":758549888,"raw_latitude":112227736,"longitude_deg":75.8549888,"latitude_deg":11.2227736,"altitude":10,"angle":334,"satellites":46,"speed":53,"hex_longitude":"2d368d80","hex_latitude":"06b07598","is_valid_coordinates":true} 
[2026-07-01 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-01 07:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414783744001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332867984143941632,"note":"Value kept but may cause issues"} 
[2026-07-01 07:15:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3935301678119741440,"note":"Value kept but may cause issues"} 
[2026-07-01 07:15:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782870256000,"timestamp_ms":1782870256000,"timestamp_seconds":1782870256,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b592980"} 
[2026-07-01 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-01 07:15:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 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":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-01 07:15:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 07:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":119551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":119551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":119551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:15: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-01 07:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414783744001,"66":27767,"221":206,"81":23552,"24":53,"16":332867984143941632,"45":3935301678119741440},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,81,24,16,45]} 
[2026-07-01 07:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414783744001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:15:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-01 07:15:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-07-01 07:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332867984143941632,"km_value":332867984143941.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:15:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3935301678119741440,"description":"Unknown IO ID 45"} 
[2026-07-01 07:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414783744001,"power":27767,"unknown_221":206,"unknown_81":23552,"ignition":53,"odometer":null,"unknown_45":3935301678119741440}} 
[2026-07-01 07:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":119551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:15:42] local.INFO: GPS data processed {"connection_id":119551,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:15:42] local.INFO: Acknowledgment sent {"connection_id":119551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:16:06] local.INFO: TCP Data received {"connection_id":119550,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b5a90e0012d827e8005d34a680007011823..."} 
[2026-07-01 07:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b5a90e0012d827e8005d34a680007011823..."} 
[2026-07-01 07:16:06] local.INFO: Processing buffer {"connection_id":119550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b5a90e0012d827e8005d34a680007011823..."} 
[2026-07-01 07:16:06] local.INFO: Packet analysis {"connection_id":119550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b5a"} 
[2026-07-01 07:16:06] local.INFO: Extracted packet for processing {"connection_id":119550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b5a"} 
[2026-07-01 07:16:06] local.INFO: GPS Element Parsed {"raw_longitude":763526784,"raw_latitude":97733224,"longitude_deg":76.3526784,"latitude_deg":9.7733224,"altitude":7,"angle":280,"satellites":35,"speed":10,"hex_longitude":"2d827e80","hex_latitude":"05d34a68","is_valid_coordinates":true} 
[2026-07-01 07:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414808832001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101098629590155264,"note":"Value kept but may cause issues"} 
[2026-07-01 07:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9043439132972804096,"note":"Value kept but may cause issues"} 
[2026-07-01 07:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782870348000,"timestamp_ms":1782870348000,"timestamp_seconds":1782870348,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b5a90e0"} 
[2026-07-01 07:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:16:06] 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-01 07:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-01 07:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":119550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":119550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":119550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414808832001,"66":13450,"221":206,"85":15104,"24":10,"16":101098629590155264,"45":-9043439132972804096},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-07-01 07:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414808832001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:16:06] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-01 07:16:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101098629590155264,"km_value":101098629590155.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9043439132972804096,"description":"Unknown IO ID 45"} 
[2026-07-01 07:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414808832001,"power":13450,"unknown_221":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":-9043439132972804096}} 
[2026-07-01 07:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":119550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416349,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:16:06] local.INFO: GPS data processed {"connection_id":119550,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:16:06] local.INFO: Acknowledgment sent {"connection_id":119550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:16:16] local.INFO: TCP Data received {"connection_id":120649,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120649,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:16:16] local.INFO: Processing buffer {"connection_id":120649,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:16:16] local.INFO: IMEI packet received {"connection_id":120649,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 07:16:16] local.INFO: IMEI acknowledgment sent {"connection_id":120649,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:16:20] local.INFO: TCP Data received {"connection_id":118897,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:16:20] local.INFO: Processing buffer {"connection_id":118897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:16:20] local.INFO: IMEI packet received {"connection_id":118897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 07:16:20] local.INFO: IMEI acknowledgment sent {"connection_id":118897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:16:21] local.INFO: TCP Data received {"connection_id":118897,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:16:21] local.INFO: Processing buffer {"connection_id":118897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:16:21] local.INFO: IMEI packet received {"connection_id":118897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":118897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:16:25] local.INFO: TCP Data received {"connection_id":118897,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:16:25] local.INFO: Processing buffer {"connection_id":118897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:16:25] local.INFO: IMEI packet received {"connection_id":118897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":118897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:16:26] local.INFO: TCP Data received {"connection_id":118897,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b5a46a8012d35e38006b1da80000e01332f..."} 
[2026-07-01 07:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b5a46a8012d35e38006b1da80000e01332f..."} 
[2026-07-01 07:16:26] local.INFO: Processing buffer {"connection_id":118897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b5a46a8012d35e38006b1da80000e01332f..."} 
[2026-07-01 07:16:26] local.INFO: Packet analysis {"connection_id":118897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b5a"} 
[2026-07-01 07:16:26] local.INFO: Extracted packet for processing {"connection_id":118897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b5a"} 
[2026-07-01 07:16:26] local.INFO: GPS Element Parsed {"raw_longitude":758506368,"raw_latitude":112319104,"longitude_deg":75.8506368,"latitude_deg":11.2319104,"altitude":14,"angle":307,"satellites":47,"speed":61,"hex_longitude":"2d35e380","hex_latitude":"06b1da80","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:16:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414802944001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:16:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332872910471430144,"note":"Value kept but may cause issues"} 
[2026-07-01 07:16:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3889421256940179456,"note":"Value kept but may cause issues"} 
[2026-07-01 07:16:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:16:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782870329000,"timestamp_ms":1782870329000,"timestamp_seconds":1782870329,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b5a46a8"} 
[2026-07-01 07: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-01 07:16: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-01 07: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-01 07:16:26] 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-01 07: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-01 07: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-01 07:16:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:16:26] local.INFO: Teltonika packet parsed successfully {"connection_id":118897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:16:26] local.INFO: Passing IMEI to GPS processor {"connection_id":118897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:16:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":118897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:16:26] 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-01 07:16:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:16:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:16:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414802944001,"66":27800,"225":206,"81":23552,"24":61,"16":332872910471430144,"45":3889421256940179456},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,81,24,16,45]} 
[2026-07-01 07:16:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:16:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:16:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414802944001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:16:26] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-07-01 07:16:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-07-01 07:16:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332872910471430144,"km_value":332872910471430.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:16:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3889421256940179456,"description":"Unknown IO ID 45"} 
[2026-07-01 07:16:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414802944001,"power":27800,"unknown_225":206,"unknown_81":23552,"ignition":61,"odometer":null,"unknown_45":3889421256940179456}} 
[2026-07-01 07:16:26] local.INFO: DEBUG: GPS processor result {"connection_id":118897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:16:26] local.INFO: GPS data processed {"connection_id":118897,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:16:26] local.INFO: Acknowledgment sent {"connection_id":118897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:16:33] local.INFO: TCP Data received {"connection_id":118780,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118780,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:16:33] local.INFO: Processing buffer {"connection_id":118780,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:16:33] local.INFO: IMEI packet received {"connection_id":118780,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 07:16:33] local.INFO: IMEI acknowledgment sent {"connection_id":118780,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:16:36] local.INFO: TCP Data received {"connection_id":118780,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118780,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:16:36] local.INFO: Processing buffer {"connection_id":118780,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:16:36] local.INFO: IMEI packet received {"connection_id":118780,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":118780,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:16:37] local.INFO: TCP Data received {"connection_id":118780,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b5a94c8012d827d4005d34a700008010b23..."} 
[2026-07-01 07:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b5a94c8012d827d4005d34a700008010b23..."} 
[2026-07-01 07:16:37] local.INFO: Processing buffer {"connection_id":118780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b5a94c8012d827d4005d34a700008010b23..."} 
[2026-07-01 07:16:37] local.INFO: Packet analysis {"connection_id":118780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b5a"} 
[2026-07-01 07:16:37] local.INFO: Extracted packet for processing {"connection_id":118780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b5a"} 
[2026-07-01 07:16:37] local.INFO: GPS Element Parsed {"raw_longitude":763526464,"raw_latitude":97733232,"longitude_deg":76.3526464,"latitude_deg":9.7733232,"altitude":8,"angle":267,"satellites":35,"speed":13,"hex_longitude":"2d827d40","hex_latitude":"05d34a70","is_valid_coordinates":true} 
[2026-07-01 07:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414809088001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101098646770024448,"note":"Value kept but may cause issues"} 
[2026-07-01 07:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9043650239205316608,"note":"Value kept but may cause issues"} 
[2026-07-01 07:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782870349000,"timestamp_ms":1782870349000,"timestamp_seconds":1782870349,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b5a94c8"} 
[2026-07-01 07:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-01 07:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":118780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":118780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":118780,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414809088001,"66":13254,"221":206,"85":15104,"24":13,"16":101098646770024448,"45":-9043650239205316608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-07-01 07:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414809088001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:16:37] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-01 07:16:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101098646770024448,"km_value":101098646770024.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9043650239205316608,"description":"Unknown IO ID 45"} 
[2026-07-01 07:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414809088001,"power":13254,"unknown_221":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":-9043650239205316608}} 
[2026-07-01 07:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":118780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416351,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:16:37] local.INFO: GPS data processed {"connection_id":118780,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:16:37] local.INFO: Acknowledgment sent {"connection_id":118780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:16:58] local.INFO: TCP Data received {"connection_id":118897,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b5a5e18012d35c48006b1ef90000a012e30..."} 
[2026-07-01 07:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b5a5e18012d35c48006b1ef90000a012e30..."} 
[2026-07-01 07:16:58] local.INFO: Processing buffer {"connection_id":118897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b5a5e18012d35c48006b1ef90000a012e30..."} 
[2026-07-01 07:16:58] local.INFO: Packet analysis {"connection_id":118897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b5a"} 
[2026-07-01 07:16:58] local.INFO: Extracted packet for processing {"connection_id":118897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b5a"} 
[2026-07-01 07:16:58] local.INFO: GPS Element Parsed {"raw_longitude":758498432,"raw_latitude":112324496,"longitude_deg":75.8498432,"latitude_deg":11.2324496,"altitude":10,"angle":302,"satellites":48,"speed":63,"hex_longitude":"2d35c480","hex_latitude":"06b1ef90","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:16:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414804224001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:16:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332873370032930816,"note":"Value kept but may cause issues"} 
[2026-07-01 07:16:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3883088069965545472,"note":"Value kept but may cause issues"} 
[2026-07-01 07:16:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:16:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782870335000,"timestamp_ms":1782870335000,"timestamp_seconds":1782870335,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b5a5e18"} 
[2026-07-01 07: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-01 07:16: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-01 07: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 07:16:58] 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-01 07: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-01 07: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-01 07:16:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:16:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:16:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:16:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:16:58] 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-01 07:16:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:16:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:16:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414804224001,"66":27865,"225":206,"81":23552,"24":63,"16":332873370032930816,"45":3883088069965545472},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,81,24,16,45]} 
[2026-07-01 07:16:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:16:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:16:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414804224001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:16:58] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-07-01 07:16:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-07-01 07:16:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332873370032930816,"km_value":332873370032930.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:16:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3883088069965545472,"description":"Unknown IO ID 45"} 
[2026-07-01 07:16:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414804224001,"power":27865,"unknown_225":206,"unknown_81":23552,"ignition":63,"odometer":null,"unknown_45":3883088069965545472}} 
[2026-07-01 07:16:58] local.INFO: DEBUG: GPS processor result {"connection_id":118897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:16:58] local.INFO: GPS data processed {"connection_id":118897,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:16:58] local.INFO: Acknowledgment sent {"connection_id":118897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:17:19] local.INFO: TCP Data received {"connection_id":118781,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118781,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:17:19] local.INFO: Processing buffer {"connection_id":118781,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:17:19] local.INFO: IMEI packet received {"connection_id":118781,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 07:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":118781,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:17:19] local.INFO: TCP Data received {"connection_id":118781,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118781,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:17:19] local.INFO: Processing buffer {"connection_id":118781,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:17:19] local.INFO: IMEI packet received {"connection_id":118781,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":118781,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:17:21] local.INFO: TCP Data received {"connection_id":118782,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:17:21] local.INFO: Processing buffer {"connection_id":118782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:17:21] local.INFO: IMEI packet received {"connection_id":118782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 07:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":118782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:17:24] local.INFO: TCP Data received {"connection_id":118781,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118781,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:17:24] local.INFO: Processing buffer {"connection_id":118781,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:17:24] local.INFO: IMEI packet received {"connection_id":118781,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":118781,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:17:24] local.INFO: TCP Data received {"connection_id":118781,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b5ba638012d81b40005d381680008013923..."} 
[2026-07-01 07:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b5ba638012d81b40005d381680008013923..."} 
[2026-07-01 07:17:24] local.INFO: Processing buffer {"connection_id":118781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b5ba638012d81b40005d381680008013923..."} 
[2026-07-01 07:17:24] local.INFO: Packet analysis {"connection_id":118781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b5b"} 
[2026-07-01 07:17:24] local.INFO: Extracted packet for processing {"connection_id":118781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b5b"} 
[2026-07-01 07:17:24] local.INFO: GPS Element Parsed {"raw_longitude":763474944,"raw_latitude":97747304,"longitude_deg":76.3474944,"latitude_deg":9.7747304,"altitude":8,"angle":313,"satellites":35,"speed":25,"hex_longitude":"2d81b400","hex_latitude":"05d38168","is_valid_coordinates":true} 
[2026-07-01 07:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414827008001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101101734851510272,"note":"Value kept but may cause issues"} 
[2026-07-01 07:17:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9100015603288115200,"note":"Value kept but may cause issues"} 
[2026-07-01 07:17:24] 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-01 07:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782870419000,"timestamp_ms":1782870419000,"timestamp_seconds":1782870419,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b5ba638"} 
[2026-07-01 07:17:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:17:24] 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-01 07:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-01 07:17:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-01 07:17:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2176860165,"note":"Value kept but may cause issues"} 
[2026-07-01 07:17:24] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-07-01 07:17:24] local.WARNING: Large IO value detected {"io_id":211,"raw_value":5170132389423162112,"note":"Value kept but may cause issues"} 
[2026-07-01 07:17:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795897038,"corrected_to":0} 
[2026-07-01 07:17:24] local.WARNING: Large IO value detected {"io_id":193,"raw_value":3221607278,"note":"Value kept but may cause issues"} 
[2026-07-01 07:17:24] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607154086,"note":"Value kept but may cause issues"} 
[2026-07-01 07:17:24] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3544821760,"note":"Value kept but may cause issues"} 
[2026-07-01 07:17:24] local.WARNING: Large IO value detected {"io_id":94,"raw_value":57885602133988667,"note":"Value kept but may cause issues"} 
[2026-07-01 07:17:24] local.WARNING: Large IO value detected {"io_id":91,"raw_value":5784875016319746053,"note":"Value kept but may cause issues"} 
[2026-07-01 07:17:24] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,166,85,24,241,157,16,47,159,154,45,128,126,7,35,10,66,150,125,146,192,1,240,227,27,211,4,113,205,127,193,96,34,239,50,2,103,5,20,94,91],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2795897038,"validated":0}]} 
[2026-07-01 07:17:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576790756117184512,"timestamp_seconds":576790756117184.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 07:17:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":118781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":118781,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":118781,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:17:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414827008001,"66":13059,"166":206,"85":15104,"24":25,"16":101101734851510272,"45":-9100015603288115200},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-07-01 07:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414827008001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:17:24] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-07-01 07:17:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101101734851510272,"km_value":101101734851510.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:17:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9100015603288115200,"description":"Unknown IO ID 45"} 
[2026-07-01 07:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414827008001,"power":13059,"unknown_166":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9100015603288115200}} 
[2026-07-01 07:17:24] local.INFO: DEBUG: GPS processor result {"connection_id":118781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416353,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:17:24] local.INFO: GPS data processed {"connection_id":118781,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:17:24] local.INFO: Acknowledgment sent {"connection_id":118781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:17:26] local.INFO: TCP Data received {"connection_id":118782,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:17:26] local.INFO: Processing buffer {"connection_id":118782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:17:26] local.INFO: IMEI packet received {"connection_id":118782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":118782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:17:27] local.INFO: TCP Data received {"connection_id":118782,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b5a7588012d35a4c006b204480008012f2d..."} 
[2026-07-01 07:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b5a7588012d35a4c006b204480008012f2d..."} 
[2026-07-01 07:17:27] local.INFO: Processing buffer {"connection_id":118782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b5a7588012d35a4c006b204480008012f2d..."} 
[2026-07-01 07:17:27] local.INFO: Packet analysis {"connection_id":118782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b5a"} 
[2026-07-01 07:17:27] local.INFO: Extracted packet for processing {"connection_id":118782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b5a"} 
[2026-07-01 07:17:27] local.INFO: GPS Element Parsed {"raw_longitude":758490304,"raw_latitude":112329800,"longitude_deg":75.8490304,"latitude_deg":11.23298,"altitude":8,"angle":303,"satellites":45,"speed":64,"hex_longitude":"2d35a4c0","hex_latitude":"06b20448","is_valid_coordinates":true} 
[2026-07-01 07:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414805760001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332873833889398784,"note":"Value kept but may cause issues"} 
[2026-07-01 07:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3874362345688895488,"note":"Value kept but may cause issues"} 
[2026-07-01 07:17:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782870341000,"timestamp_ms":1782870341000,"timestamp_seconds":1782870341,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b5a7588"} 
[2026-07-01 07:17:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:17: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-01 07:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 07:17:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:17:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:17:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:17:27] 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-01 07:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414805760001,"66":27745,"225":206,"81":23552,"24":64,"16":332873833889398784,"45":3874362345688895488},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,81,24,16,45]} 
[2026-07-01 07:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414805760001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:17:27] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-07-01 07:17:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-07-01 07:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332873833889398784,"km_value":332873833889398.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3874362345688895488,"description":"Unknown IO ID 45"} 
[2026-07-01 07:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414805760001,"power":27745,"unknown_225":206,"unknown_81":23552,"ignition":64,"odometer":null,"unknown_45":3874362345688895488}} 
[2026-07-01 07:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":118782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:17:27] local.INFO: GPS data processed {"connection_id":118782,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:17:27] local.INFO: Acknowledgment sent {"connection_id":118782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:17:55] local.INFO: TCP Data received {"connection_id":118781,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b5c5dd0012d81a2c005d432400005014523..."} 
[2026-07-01 07:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b5c5dd0012d81a2c005d432400005014523..."} 
[2026-07-01 07:17:55] local.INFO: Processing buffer {"connection_id":118781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b5c5dd0012d81a2c005d432400005014523..."} 
[2026-07-01 07:17:55] local.INFO: Packet analysis {"connection_id":118781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b5c"} 
[2026-07-01 07:17:55] local.INFO: Extracted packet for processing {"connection_id":118781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b5c"} 
[2026-07-01 07:17:55] local.INFO: GPS Element Parsed {"raw_longitude":763470528,"raw_latitude":97792576,"longitude_deg":76.3470528,"latitude_deg":9.7792576,"altitude":5,"angle":325,"satellites":35,"speed":35,"hex_longitude":"2d81a2c0","hex_latitude":"05d43240","is_valid_coordinates":true} 
[2026-07-01 07:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:17:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414838784001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:17:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101103998299275264,"note":"Value kept but may cause issues"} 
[2026-07-01 07:17:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9104519202904176640,"note":"Value kept but may cause issues"} 
[2026-07-01 07:17:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:17:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782870466000,"timestamp_ms":1782870466000,"timestamp_seconds":1782870466,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b5c5dd0"} 
[2026-07-01 07:17:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:17: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-01 07:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-01 07:17:55] 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-01 07:17:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:17:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:17:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:17:55] local.INFO: Teltonika packet parsed successfully {"connection_id":118781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:17:55] local.INFO: Passing IMEI to GPS processor {"connection_id":118781,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:17:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":118781,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:17:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:17:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:17:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:17:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414838784001,"66":13526,"166":206,"85":15104,"24":35,"16":101103998299275264,"45":-9104519202904176640},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-07-01 07:17:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:17:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:17:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414838784001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:17:55] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-07-01 07:17:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:17:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101103998299275264,"km_value":101103998299275.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:17:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9104519202904176640,"description":"Unknown IO ID 45"} 
[2026-07-01 07:17:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414838784001,"power":13526,"unknown_166":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":-9104519202904176640}} 
[2026-07-01 07:17:55] local.INFO: DEBUG: GPS processor result {"connection_id":118781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416355,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:17:55] local.INFO: GPS data processed {"connection_id":118781,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:17:55] local.INFO: Acknowledgment sent {"connection_id":118781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:17:58] local.INFO: TCP Data received {"connection_id":118782,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b5a8cf8012d35844006b219100006012f2d..."} 
[2026-07-01 07:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b5a8cf8012d35844006b219100006012f2d..."} 
[2026-07-01 07:17:58] local.INFO: Processing buffer {"connection_id":118782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b5a8cf8012d35844006b219100006012f2d..."} 
[2026-07-01 07:17:58] local.INFO: Packet analysis {"connection_id":118782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b5a"} 
[2026-07-01 07:17:58] local.INFO: Extracted packet for processing {"connection_id":118782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b5a"} 
[2026-07-01 07:17:58] local.INFO: GPS Element Parsed {"raw_longitude":758481984,"raw_latitude":112335120,"longitude_deg":75.8481984,"latitude_deg":11.233512,"altitude":6,"angle":303,"satellites":45,"speed":64,"hex_longitude":"2d358440","hex_latitude":"06b21910","is_valid_coordinates":true} 
[2026-07-01 07:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414807296001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:17:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332874306335801344,"note":"Value kept but may cause issues"} 
[2026-07-01 07:17:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3865425515179689984,"note":"Value kept but may cause issues"} 
[2026-07-01 07:17:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:17:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782870347000,"timestamp_ms":1782870347000,"timestamp_seconds":1782870347,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b5a8cf8"} 
[2026-07-01 07:17:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:17: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-01 07:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 07:17:58] 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-01 07:17:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:17:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:17:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:17:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:17:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:17:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:17:58] 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-01 07:17:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:17:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:17:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414807296001,"66":27865,"225":206,"81":23552,"24":64,"16":332874306335801344,"45":3865425515179689984},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,81,24,16,45]} 
[2026-07-01 07:17:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:17:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:17:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414807296001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:17:58] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-07-01 07:17:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-07-01 07:17:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332874306335801344,"km_value":332874306335801.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:17:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3865425515179689984,"description":"Unknown IO ID 45"} 
[2026-07-01 07:17:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414807296001,"power":27865,"unknown_225":206,"unknown_81":23552,"ignition":64,"odometer":null,"unknown_45":3865425515179689984}} 
[2026-07-01 07:17:58] local.INFO: DEBUG: GPS processor result {"connection_id":118782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:17:58] local.INFO: GPS data processed {"connection_id":118782,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:17:58] local.INFO: Acknowledgment sent {"connection_id":118782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:18:17] local.INFO: TCP Data received {"connection_id":120650,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120650,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:18:17] local.INFO: Processing buffer {"connection_id":120650,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:18:17] local.INFO: IMEI packet received {"connection_id":120650,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 07:18:17] local.INFO: IMEI acknowledgment sent {"connection_id":120650,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:18:18] local.INFO: TCP Data received {"connection_id":120650,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120650,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:18:18] local.INFO: Processing buffer {"connection_id":120650,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:18:18] local.INFO: IMEI packet received {"connection_id":120650,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:18:18] local.INFO: IMEI acknowledgment sent {"connection_id":120650,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:18:19] local.INFO: TCP Data received {"connection_id":120650,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120650,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:18:19] local.INFO: Processing buffer {"connection_id":120650,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:18:19] local.INFO: IMEI packet received {"connection_id":120650,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":120650,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:18:19] local.INFO: TCP Data received {"connection_id":120650,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120650,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:18:19] local.INFO: Processing buffer {"connection_id":120650,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:18:19] local.INFO: IMEI packet received {"connection_id":120650,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":120650,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:18:26] local.INFO: TCP Data received {"connection_id":119554,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:18:26] local.INFO: Processing buffer {"connection_id":119554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:18:26] local.INFO: IMEI packet received {"connection_id":119554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 07:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":119554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:18:27] local.INFO: TCP Data received {"connection_id":119554,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:18:27] local.INFO: Processing buffer {"connection_id":119554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:18:27] local.INFO: IMEI packet received {"connection_id":119554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":119554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:18:28] local.INFO: TCP Data received {"connection_id":119554,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b5bfc28012d344d0006b2e3d0000a012f2f..."} 
[2026-07-01 07:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b5bfc28012d344d0006b2e3d0000a012f2f..."} 
[2026-07-01 07:18:28] local.INFO: Processing buffer {"connection_id":119554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b5bfc28012d344d0006b2e3d0000a012f2f..."} 
[2026-07-01 07:18:28] local.INFO: Packet analysis {"connection_id":119554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b5b"} 
[2026-07-01 07:18:28] local.INFO: Extracted packet for processing {"connection_id":119554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b5b"} 
[2026-07-01 07:18:28] local.INFO: GPS Element Parsed {"raw_longitude":758402304,"raw_latitude":112387024,"longitude_deg":75.8402304,"latitude_deg":11.2387024,"altitude":10,"angle":303,"satellites":47,"speed":32,"hex_longitude":"2d344d00","hex_latitude":"06b2e3d0","is_valid_coordinates":true} 
[2026-07-01 07:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:18:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414830080001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:18:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332878859001135104,"note":"Value kept but may cause issues"} 
[2026-07-01 07:18:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3777534953715136512,"note":"Value kept but may cause issues"} 
[2026-07-01 07:18:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:18:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782870441000,"timestamp_ms":1782870441000,"timestamp_seconds":1782870441,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b5bfc28"} 
[2026-07-01 07:18:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:18:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 07:18:28] 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-01 07:18:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:18:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:18:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:18:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:18:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:18:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:18:28] 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-01 07:18:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:18:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:18:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414830080001,"66":27745,"227":206,"81":23552,"24":32,"16":332878859001135104,"45":3777534953715136512},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,81,24,16,45]} 
[2026-07-01 07:18:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:18:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:18:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414830080001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:18:28] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-07-01 07:18:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-07-01 07:18:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332878859001135104,"km_value":332878859001135.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:18:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3777534953715136512,"description":"Unknown IO ID 45"} 
[2026-07-01 07:18:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414830080001,"power":27745,"unknown_227":206,"unknown_81":23552,"ignition":32,"odometer":null,"unknown_45":3777534953715136512}} 
[2026-07-01 07:18:28] local.INFO: DEBUG: GPS processor result {"connection_id":119554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:18:28] local.INFO: GPS data processed {"connection_id":119554,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:18:28] local.INFO: Acknowledgment sent {"connection_id":119554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:18:59] local.INFO: TCP Data received {"connection_id":119554,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b5c2720012d342f4006b2f798000c012e2d..."} 
[2026-07-01 07:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b5c2720012d342f4006b2f798000c012e2d..."} 
[2026-07-01 07:18:59] local.INFO: Processing buffer {"connection_id":119554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b5c2720012d342f4006b2f798000c012e2d..."} 
[2026-07-01 07:18:59] local.INFO: Packet analysis {"connection_id":119554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b5c"} 
[2026-07-01 07:18:59] local.INFO: Extracted packet for processing {"connection_id":119554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b5c"} 
[2026-07-01 07:18:59] local.INFO: GPS Element Parsed {"raw_longitude":758394688,"raw_latitude":112392088,"longitude_deg":75.8394688,"latitude_deg":11.2392088,"altitude":12,"angle":302,"satellites":45,"speed":37,"hex_longitude":"2d342f40","hex_latitude":"06b2f798","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:18:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414832896001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:18:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332879297087799296,"note":"Value kept but may cause issues"} 
[2026-07-01 07:18:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3768668491950051328,"note":"Value kept but may cause issues"} 
[2026-07-01 07:18:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:18:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782870452000,"timestamp_ms":1782870452000,"timestamp_seconds":1782870452,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b5c2720"} 
[2026-07-01 07: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-01 07:18: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-01 07: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 07:18:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07: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-01 07: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-01 07:18:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:18:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:18:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:18:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:18:59] 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-01 07:18:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:18:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:18:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414832896001,"66":27832,"227":206,"81":23552,"24":37,"16":332879297087799296,"45":3768668491950051328},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,81,24,16,45]} 
[2026-07-01 07:18:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:18:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:18:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414832896001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:18:59] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-07-01 07:18:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-07-01 07:18:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332879297087799296,"km_value":332879297087799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:18:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3768668491950051328,"description":"Unknown IO ID 45"} 
[2026-07-01 07:18:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414832896001,"power":27832,"unknown_227":206,"unknown_81":23552,"ignition":37,"odometer":null,"unknown_45":3768668491950051328}} 
[2026-07-01 07:18:59] local.INFO: DEBUG: GPS processor result {"connection_id":119554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:18:59] local.INFO: GPS data processed {"connection_id":119554,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:18:59] local.INFO: Acknowledgment sent {"connection_id":119554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:19:22] local.INFO: TCP Data received {"connection_id":120651,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:19:22] local.INFO: Processing buffer {"connection_id":120651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:19:22] local.INFO: IMEI packet received {"connection_id":120651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 07:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":120651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:19:23] local.INFO: TCP Data received {"connection_id":120651,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:19:23] local.INFO: Processing buffer {"connection_id":120651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:19:23] local.INFO: IMEI packet received {"connection_id":120651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":120651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:19:26] local.INFO: TCP Data received {"connection_id":120651,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:19:26] local.INFO: Processing buffer {"connection_id":120651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:19:26] local.INFO: IMEI packet received {"connection_id":120651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":120651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:19:28] local.INFO: TCP Data received {"connection_id":120651,"ip":"42.106.6.25","data_length":1348,"data_hex":"000000000000030f8e0a0000019f1b5c4a48012d340f8006b30b18000d012f2f..."} 
[2026-07-01 07:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120651,"packet_length":1348,"packet_hex":"000000000000030f8e0a0000019f1b5c4a48012d340f8006b30b18000d012f2f..."} 
[2026-07-01 07:19:28] local.INFO: Processing buffer {"connection_id":120651,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a0000019f1b5c4a48012d340f8006b30b18000d012f2f..."} 
[2026-07-01 07:19:28] local.INFO: Packet analysis {"connection_id":120651,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a0000019f1b5c"} 
[2026-07-01 07:19:28] local.INFO: Extracted packet for processing {"connection_id":120651,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019f1b5c"} 
[2026-07-01 07:19:28] local.INFO: GPS Element Parsed {"raw_longitude":758386560,"raw_latitude":112397080,"longitude_deg":75.838656,"latitude_deg":11.239708,"altitude":13,"angle":303,"satellites":47,"speed":44,"hex_longitude":"2d340f80","hex_latitude":"06b30b18","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414835712001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332879756649299968,"note":"Value kept but may cause issues"} 
[2026-07-01 07:19:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3760294611394205696,"note":"Value kept but may cause issues"} 
[2026-07-01 07:19:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782870461000,"timestamp_ms":1782870461000,"timestamp_seconds":1782870461,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b5c4a48"} 
[2026-07-01 07: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-01 07:19:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-01 07:19:28] 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-01 07: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-01 07: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-01 07:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":120651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":120651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":120651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:19:28] 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-01 07:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414835712001,"66":28006,"227":206,"81":23552,"24":44,"16":332879756649299968,"45":3760294611394205696},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,81,24,16,45]} 
[2026-07-01 07:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414835712001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:19:28] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-07-01 07:19:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-07-01 07:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332879756649299968,"km_value":332879756649299.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:19:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3760294611394205696,"description":"Unknown IO ID 45"} 
[2026-07-01 07:19:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414835712001,"power":28006,"unknown_227":206,"unknown_81":23552,"ignition":44,"odometer":null,"unknown_45":3760294611394205696}} 
[2026-07-01 07:19:28] local.INFO: DEBUG: GPS processor result {"connection_id":120651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:19:28] local.INFO: GPS data processed {"connection_id":120651,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:19:28] local.INFO: Acknowledgment sent {"connection_id":120651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:19:28] local.INFO: Packet analysis {"connection_id":120651,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019f1b5c"} 
[2026-07-01 07:19:28] local.INFO: Incomplete packet, waiting for more data {"connection_id":120651,"needed":795,"available":553} 
[2026-07-01 07:19:29] local.INFO: TCP Data received {"connection_id":120651,"ip":"42.106.6.25","data_length":242,"data_hex":"0000000000019f1b5b4c60012d34a3c006b2a6c80008012f3000270000000a00..."} 
[2026-07-01 07:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120651,"packet_length":242,"packet_hex":"0000000000019f1b5b4c60012d34a3c006b2a6c80008012f3000270000000a00..."} 
[2026-07-01 07:19:29] local.INFO: Processing buffer {"connection_id":120651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b5c6988012d33f2c006b32188000e01382e..."} 
[2026-07-01 07:19:29] local.INFO: Packet analysis {"connection_id":120651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b5c"} 
[2026-07-01 07:19:29] local.INFO: Extracted packet for processing {"connection_id":120651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b5c"} 
[2026-07-01 07:19:29] local.INFO: GPS Element Parsed {"raw_longitude":758379200,"raw_latitude":112402824,"longitude_deg":75.83792,"latitude_deg":11.2402824,"altitude":14,"angle":312,"satellites":46,"speed":47,"hex_longitude":"2d33f2c0","hex_latitude":"06b32188","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:19:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414838016001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:19:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332880203325898752,"note":"Value kept but may cause issues"} 
[2026-07-01 07:19:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3751357780884920320,"note":"Value kept but may cause issues"} 
[2026-07-01 07:19:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:19:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782870469000,"timestamp_ms":1782870469000,"timestamp_seconds":1782870469,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b5c6988"} 
[2026-07-01 07: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-01 07:19:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-01 07:19:29] 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-01 07: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-01 07: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-01 07:19:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:19:29] local.INFO: Teltonika packet parsed successfully {"connection_id":120651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:19:29] local.INFO: Passing IMEI to GPS processor {"connection_id":120651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:19:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":120651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:19:29] 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-01 07:19:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:19:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:19:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414838016001,"66":27908,"227":206,"81":23552,"24":47,"16":332880203325898752,"45":3751357780884920320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,81,24,16,45]} 
[2026-07-01 07:19:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:19:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:19:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414838016001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:19:29] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-07-01 07:19:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-07-01 07:19:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332880203325898752,"km_value":332880203325898.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:19:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3751357780884920320,"description":"Unknown IO ID 45"} 
[2026-07-01 07:19:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414838016001,"power":27908,"unknown_227":206,"unknown_81":23552,"ignition":47,"odometer":null,"unknown_45":3751357780884920320}} 
[2026-07-01 07:19:29] local.INFO: DEBUG: GPS processor result {"connection_id":120651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:19:29] local.INFO: GPS data processed {"connection_id":120651,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:19:29] local.INFO: Acknowledgment sent {"connection_id":120651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:19:32] local.INFO: TCP Data received {"connection_id":120651,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b5c88c8012d33d7c006b33d80000f01412c..."} 
[2026-07-01 07:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b5c88c8012d33d7c006b33d80000f01412c..."} 
[2026-07-01 07:19:32] local.INFO: Processing buffer {"connection_id":120651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b5c88c8012d33d7c006b33d80000f01412c..."} 
[2026-07-01 07:19:32] local.INFO: Packet analysis {"connection_id":120651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b5c"} 
[2026-07-01 07:19:32] local.INFO: Extracted packet for processing {"connection_id":120651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b5c"} 
[2026-07-01 07:19:32] local.INFO: GPS Element Parsed {"raw_longitude":758372288,"raw_latitude":112409984,"longitude_deg":75.8372288,"latitude_deg":11.2409984,"altitude":15,"angle":321,"satellites":44,"speed":51,"hex_longitude":"2d33d7c0","hex_latitude":"06b33d80","is_valid_coordinates":true} 
[2026-07-01 07:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414840064001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332880680067268608,"note":"Value kept but may cause issues"} 
[2026-07-01 07:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3743265375305959424,"note":"Value kept but may cause issues"} 
[2026-07-01 07:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782870477000,"timestamp_ms":1782870477000,"timestamp_seconds":1782870477,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b5c88c8"} 
[2026-07-01 07:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:19:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 07:19:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:19:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":120651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":120651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":120651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414840064001,"66":27974,"227":206,"81":23552,"24":51,"16":332880680067268608,"45":3743265375305959424},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,81,24,16,45]} 
[2026-07-01 07:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414840064001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:19:32] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-07-01 07:19:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-07-01 07:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332880680067268608,"km_value":332880680067268.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3743265375305959424,"description":"Unknown IO ID 45"} 
[2026-07-01 07:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414840064001,"power":27974,"unknown_227":206,"unknown_81":23552,"ignition":51,"odometer":null,"unknown_45":3743265375305959424}} 
[2026-07-01 07:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":120651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:19:32] local.INFO: GPS data processed {"connection_id":120651,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:19:32] local.INFO: Acknowledgment sent {"connection_id":120651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:20:24] local.INFO: TCP Data received {"connection_id":118786,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:20:24] local.INFO: Processing buffer {"connection_id":118786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:20:24] local.INFO: IMEI packet received {"connection_id":118786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 07:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":118786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:20:24] local.INFO: TCP Data received {"connection_id":118786,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:20:24] local.INFO: Processing buffer {"connection_id":118786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:20:24] local.INFO: IMEI packet received {"connection_id":118786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":118786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:20:25] local.INFO: TCP Data received {"connection_id":118786,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b5dc918012d3366c006b48768001001302b..."} 
[2026-07-01 07:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b5dc918012d3366c006b48768001001302b..."} 
[2026-07-01 07:20:25] local.INFO: Processing buffer {"connection_id":118786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b5dc918012d3366c006b48768001001302b..."} 
[2026-07-01 07:20:25] local.INFO: Packet analysis {"connection_id":118786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b5d"} 
[2026-07-01 07:20:25] local.INFO: Extracted packet for processing {"connection_id":118786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b5d"} 
[2026-07-01 07:20:25] local.INFO: GPS Element Parsed {"raw_longitude":758343360,"raw_latitude":112494440,"longitude_deg":75.834336,"latitude_deg":11.249444,"altitude":16,"angle":304,"satellites":43,"speed":48,"hex_longitude":"2d3366c0","hex_latitude":"06b48768","is_valid_coordinates":true} 
[2026-07-01 07:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414861056001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332885219847700480,"note":"Value kept but may cause issues"} 
[2026-07-01 07:20:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3711669809192101888,"note":"Value kept but may cause issues"} 
[2026-07-01 07:20:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782870559000,"timestamp_ms":1782870559000,"timestamp_seconds":1782870559,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b5dc918"} 
[2026-07-01 07:20:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:20: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-01 07:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-01 07:20:25] 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-01 07:20:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:20:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":118786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":118786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":118786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:20:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414861056001,"66":27843,"255":206,"81":23552,"24":48,"16":332885219847700480,"45":3711669809192101888},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,81,24,16,45]} 
[2026-07-01 07:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414861056001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:20:25] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-01 07:20:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-07-01 07:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332885219847700480,"km_value":332885219847700.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:20:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3711669809192101888,"description":"Unknown IO ID 45"} 
[2026-07-01 07:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414861056001,"power":27843,"unknown_255":206,"unknown_81":23552,"ignition":48,"odometer":null,"unknown_45":3711669809192101888}} 
[2026-07-01 07:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":118786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:20:25] local.INFO: GPS data processed {"connection_id":118786,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:20:25] local.INFO: Acknowledgment sent {"connection_id":118786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:20:27] local.INFO: TCP Data received {"connection_id":118786,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b5dc918012d3366c006b48768001001302b..."} 
[2026-07-01 07:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b5dc918012d3366c006b48768001001302b..."} 
[2026-07-01 07:20:27] local.INFO: Processing buffer {"connection_id":118786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b5dc918012d3366c006b48768001001302b..."} 
[2026-07-01 07:20:27] local.INFO: Packet analysis {"connection_id":118786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b5d"} 
[2026-07-01 07:20:27] local.INFO: Extracted packet for processing {"connection_id":118786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b5d"} 
[2026-07-01 07:20:27] local.INFO: GPS Element Parsed {"raw_longitude":758343360,"raw_latitude":112494440,"longitude_deg":75.834336,"latitude_deg":11.249444,"altitude":16,"angle":304,"satellites":43,"speed":48,"hex_longitude":"2d3366c0","hex_latitude":"06b48768","is_valid_coordinates":true} 
[2026-07-01 07:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414863104001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332885219847700480,"note":"Value kept but may cause issues"} 
[2026-07-01 07:20:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3703858878589921280,"note":"Value kept but may cause issues"} 
[2026-07-01 07:20:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782870559000,"timestamp_ms":1782870559000,"timestamp_seconds":1782870559,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b5dc918"} 
[2026-07-01 07:20:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:20: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-01 07:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 07:20:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:20:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:20:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:20:27] 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-01 07:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414863104001,"66":27843,"255":206,"81":23552,"24":48,"16":332885219847700480,"45":3703858878589921280},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,81,24,16,45]} 
[2026-07-01 07:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414863104001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:20:27] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-01 07:20:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-07-01 07:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332885219847700480,"km_value":332885219847700.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:20:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3703858878589921280,"description":"Unknown IO ID 45"} 
[2026-07-01 07:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414863104001,"power":27843,"unknown_255":206,"unknown_81":23552,"ignition":48,"odometer":null,"unknown_45":3703858878589921280}} 
[2026-07-01 07:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":118786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:20:27] local.INFO: GPS data processed {"connection_id":118786,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:20:27] local.INFO: Acknowledgment sent {"connection_id":118786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:21:01] local.INFO: TCP Data received {"connection_id":118786,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b5de470012d33478006b49898000e01282d..."} 
[2026-07-01 07:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b5de470012d33478006b49898000e01282d..."} 
[2026-07-01 07:21:01] local.INFO: Processing buffer {"connection_id":118786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b5de470012d33478006b49898000e01282d..."} 
[2026-07-01 07:21:01] local.INFO: Packet analysis {"connection_id":118786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b5d"} 
[2026-07-01 07:21:01] local.INFO: Extracted packet for processing {"connection_id":118786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b5d"} 
[2026-07-01 07:21:01] local.INFO: GPS Element Parsed {"raw_longitude":758335360,"raw_latitude":112498840,"longitude_deg":75.833536,"latitude_deg":11.249884,"altitude":14,"angle":296,"satellites":45,"speed":53,"hex_longitude":"2d334780","hex_latitude":"06b49898","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414863104001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332885657934364672,"note":"Value kept but may cause issues"} 
[2026-07-01 07:21:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3703858878589921280,"note":"Value kept but may cause issues"} 
[2026-07-01 07:21:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782870566000,"timestamp_ms":1782870566000,"timestamp_seconds":1782870566,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b5de470"} 
[2026-07-01 07: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-01 07:21:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 07:21:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07: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-01 07: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-01 07:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":118786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":118786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":118786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:21:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414863104001,"66":27832,"255":206,"81":23552,"24":53,"16":332885657934364672,"45":3703858878589921280},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,81,24,16,45]} 
[2026-07-01 07:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414863104001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:21:01] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-01 07:21:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-07-01 07:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332885657934364672,"km_value":332885657934364.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:21:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3703858878589921280,"description":"Unknown IO ID 45"} 
[2026-07-01 07:21:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414863104001,"power":27832,"unknown_255":206,"unknown_81":23552,"ignition":53,"odometer":null,"unknown_45":3703858878589921280}} 
[2026-07-01 07:21:01] local.INFO: DEBUG: GPS processor result {"connection_id":118786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:21:01] local.INFO: GPS data processed {"connection_id":118786,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:21:01] local.INFO: Acknowledgment sent {"connection_id":118786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:21:31] local.INFO: TCP Data received {"connection_id":119556,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:21:31] local.INFO: Processing buffer {"connection_id":119556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:21:31] local.INFO: IMEI packet received {"connection_id":119556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 07:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":119556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:21:33] local.INFO: TCP Data received {"connection_id":119556,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:21:33] local.INFO: Processing buffer {"connection_id":119556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:21:33] local.INFO: IMEI packet received {"connection_id":119556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":119556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:21:34] local.INFO: TCP Data received {"connection_id":119556,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b5f0968012d31dfc006b56008000b013a2e..."} 
[2026-07-01 07:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b5f0968012d31dfc006b56008000b013a2e..."} 
[2026-07-01 07:21:34] local.INFO: Processing buffer {"connection_id":119556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b5f0968012d31dfc006b56008000b013a2e..."} 
[2026-07-01 07:21:34] local.INFO: Packet analysis {"connection_id":119556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b5f"} 
[2026-07-01 07:21:34] local.INFO: Extracted packet for processing {"connection_id":119556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b5f"} 
[2026-07-01 07:21:34] local.INFO: GPS Element Parsed {"raw_longitude":758243264,"raw_latitude":112549896,"longitude_deg":75.8243264,"latitude_deg":11.2549896,"altitude":11,"angle":314,"satellites":46,"speed":53,"hex_longitude":"2d31dfc0","hex_latitude":"06b56008","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414882304001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332890717405839360,"note":"Value kept but may cause issues"} 
[2026-07-01 07:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3601190880847302656,"note":"Value kept but may cause issues"} 
[2026-07-01 07:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782870641000,"timestamp_ms":1782870641000,"timestamp_seconds":1782870641,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b5f0968"} 
[2026-07-01 07: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-01 07:21:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 07:21:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07: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-01 07: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-01 07:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":119556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":119556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":119556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414882304001,"66":27006,"82":206,"81":23552,"24":53,"16":332890717405839360,"45":3601190880847302656},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-07-01 07:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414882304001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:21:34] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 07:21:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-07-01 07:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332890717405839360,"km_value":332890717405839.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3601190880847302656,"description":"Unknown IO ID 45"} 
[2026-07-01 07:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414882304001,"power":27006,"unknown_82":206,"unknown_81":23552,"ignition":53,"odometer":null,"unknown_45":3601190880847302656}} 
[2026-07-01 07:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":119556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:21:34] local.INFO: GPS data processed {"connection_id":119556,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:21:34] local.INFO: Acknowledgment sent {"connection_id":119556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:21:36] local.INFO: TCP Data received {"connection_id":118787,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118787,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:21:36] local.INFO: Processing buffer {"connection_id":118787,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:21:36] local.INFO: IMEI packet received {"connection_id":118787,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 07:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":118787,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:22:06] local.INFO: TCP Data received {"connection_id":119556,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b5f24c0012d31c60006b57bd0000b01402e..."} 
[2026-07-01 07:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b5f24c0012d31c60006b57bd0000b01402e..."} 
[2026-07-01 07:22:06] local.INFO: Processing buffer {"connection_id":119556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b5f24c0012d31c60006b57bd0000b01402e..."} 
[2026-07-01 07:22:06] local.INFO: Packet analysis {"connection_id":119556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b5f"} 
[2026-07-01 07:22:06] local.INFO: Extracted packet for processing {"connection_id":119556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b5f"} 
[2026-07-01 07:22:06] local.INFO: GPS Element Parsed {"raw_longitude":758236672,"raw_latitude":112557008,"longitude_deg":75.8236672,"latitude_deg":11.2557008,"altitude":11,"angle":320,"satellites":46,"speed":56,"hex_longitude":"2d31c600","hex_latitude":"06b57bd0","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414884096001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332891181262307328,"note":"Value kept but may cause issues"} 
[2026-07-01 07:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3593802162710251520,"note":"Value kept but may cause issues"} 
[2026-07-01 07:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782870648000,"timestamp_ms":1782870648000,"timestamp_seconds":1782870648,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b5f24c0"} 
[2026-07-01 07: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-01 07:22: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-01 07: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":105,"n8_eight_byte":126,"data_length":795,"current_offset":136} 
[2026-07-01 07:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1857,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07: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-01 07: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-01 07:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":119556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":119556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":119556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414884096001,"66":27865,"82":206,"81":23552,"24":56,"16":332891181262307328,"45":3593802162710251520},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-07-01 07:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414884096001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:22:06] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 07:22:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-07-01 07:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332891181262307328,"km_value":332891181262307.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3593802162710251520,"description":"Unknown IO ID 45"} 
[2026-07-01 07:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414884096001,"power":27865,"unknown_82":206,"unknown_81":23552,"ignition":56,"odometer":null,"unknown_45":3593802162710251520}} 
[2026-07-01 07:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":119556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:22:06] local.INFO: GPS data processed {"connection_id":119556,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:22:06] local.INFO: Acknowledgment sent {"connection_id":119556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:22:16] local.INFO: TCP Data received {"connection_id":120653,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120653,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:22:16] local.INFO: Processing buffer {"connection_id":120653,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:22:16] local.INFO: IMEI packet received {"connection_id":120653,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 07:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":120653,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:22:19] local.INFO: TCP Data received {"connection_id":118789,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:22:19] local.INFO: Processing buffer {"connection_id":118789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:22:19] local.INFO: IMEI packet received {"connection_id":118789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 07:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":118789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:22:20] local.INFO: TCP Data received {"connection_id":118789,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:22:20] local.INFO: Processing buffer {"connection_id":118789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:22:20] local.INFO: IMEI packet received {"connection_id":118789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:22:20] local.INFO: IMEI acknowledgment sent {"connection_id":118789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:22:21] local.INFO: TCP Data received {"connection_id":118789,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:22:21] local.INFO: Processing buffer {"connection_id":118789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:22:21] local.INFO: IMEI packet received {"connection_id":118789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:22:21] local.INFO: IMEI acknowledgment sent {"connection_id":118789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:22:21] local.INFO: TCP Data received {"connection_id":120653,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120653,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:22:21] local.INFO: Processing buffer {"connection_id":120653,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:22:21] local.INFO: IMEI packet received {"connection_id":120653,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-01 07:22:21] local.INFO: IMEI acknowledgment sent {"connection_id":120653,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:22:22] local.INFO: TCP Data received {"connection_id":120653,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b30d548012cb2a24007823d68004f00bb2a..."} 
[2026-07-01 07:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b30d548012cb2a24007823d68004f00bb2a..."} 
[2026-07-01 07:22:22] local.INFO: Processing buffer {"connection_id":120653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b30d548012cb2a24007823d68004f00bb2a..."} 
[2026-07-01 07:22:22] local.INFO: Packet analysis {"connection_id":120653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b30"} 
[2026-07-01 07:22:22] local.INFO: Extracted packet for processing {"connection_id":120653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b30"} 
[2026-07-01 07:22:22] local.INFO: GPS Element Parsed {"raw_longitude":749904448,"raw_latitude":125975912,"longitude_deg":74.9904448,"latitude_deg":12.5975912,"altitude":79,"angle":187,"satellites":42,"speed":0,"hex_longitude":"2cb2a240","hex_latitude":"07823d68","is_valid_coordinates":true} 
[2026-07-01 07:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:22:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414031872001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:22:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130042276758945792,"note":"Value kept but may cause issues"} 
[2026-07-01 07:22:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574822987737241600,"note":"Value kept but may cause issues"} 
[2026-07-01 07:22:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:22:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782867613000,"timestamp_ms":1782867613000,"timestamp_seconds":1782867613,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b30d548"} 
[2026-07-01 07:22:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:22: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-01 07:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-01 07:22:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:22:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:22:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:22:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:22:22] local.INFO: Teltonika packet parsed successfully {"connection_id":120653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:22:22] local.INFO: Passing IMEI to GPS processor {"connection_id":120653,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-01 07:22:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":120653,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-01 07:22:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:22:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-01 07:22:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-01 07:22:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414031872001,"66":25473,"184":206,"85":36096,"24":0,"16":130042276758945792,"44":-5574822987737241600},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-01 07:22:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-01 07:22:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-01 07:22:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414031872001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:22:22] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-01 07:22:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 07:22:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130042276758945792,"km_value":130042276758945.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:22:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574822987737241600,"description":"Unknown IO ID 44"} 
[2026-07-01 07:22:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414031872001,"power":25473,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5574822987737241600}} 
[2026-07-01 07:22:22] local.INFO: DEBUG: GPS processor result {"connection_id":120653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416367,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:22:22] local.INFO: GPS data processed {"connection_id":120653,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:22:22] local.INFO: Acknowledgment sent {"connection_id":120653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:22:26] local.INFO: TCP Data received {"connection_id":118789,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:22:26] local.INFO: Processing buffer {"connection_id":118789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:22:26] local.INFO: IMEI packet received {"connection_id":118789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":118789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:22:26] local.INFO: TCP Data received {"connection_id":118789,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b5f4018012d31adc006b59b38000c01442d..."} 
[2026-07-01 07:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b5f4018012d31adc006b59b38000c01442d..."} 
[2026-07-01 07:22:26] local.INFO: Processing buffer {"connection_id":118789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b5f4018012d31adc006b59b38000c01442d..."} 
[2026-07-01 07:22:26] local.INFO: Packet analysis {"connection_id":118789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b5f"} 
[2026-07-01 07:22:26] local.INFO: Extracted packet for processing {"connection_id":118789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b5f"} 
[2026-07-01 07:22:26] local.INFO: GPS Element Parsed {"raw_longitude":758230464,"raw_latitude":112565048,"longitude_deg":75.8230464,"latitude_deg":11.2565048,"altitude":12,"angle":324,"satellites":45,"speed":58,"hex_longitude":"2d31adc0","hex_latitude":"06b59b38","is_valid_coordinates":true} 
[2026-07-01 07:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:22:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414885888001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:22:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332891670888579072,"note":"Value kept but may cause issues"} 
[2026-07-01 07:22:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3586554182061772800,"note":"Value kept but may cause issues"} 
[2026-07-01 07:22:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:22:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782870655000,"timestamp_ms":1782870655000,"timestamp_seconds":1782870655,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b5f4018"} 
[2026-07-01 07:22:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:22:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 07:22:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:22:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:22:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:22:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:22:26] local.INFO: Teltonika packet parsed successfully {"connection_id":118789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:22:26] local.INFO: Passing IMEI to GPS processor {"connection_id":118789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:22:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":118789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:22:26] 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-01 07:22:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:22:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:22:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414885888001,"66":27789,"82":206,"81":23552,"24":58,"16":332891670888579072,"45":3586554182061772800},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-07-01 07:22:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:22:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:22:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414885888001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:22:26] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 07:22:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-07-01 07:22:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332891670888579072,"km_value":332891670888579.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:22:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3586554182061772800,"description":"Unknown IO ID 45"} 
[2026-07-01 07:22:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414885888001,"power":27789,"unknown_82":206,"unknown_81":23552,"ignition":58,"odometer":null,"unknown_45":3586554182061772800}} 
[2026-07-01 07:22:26] local.INFO: DEBUG: GPS processor result {"connection_id":118789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:22:26] local.INFO: GPS data processed {"connection_id":118789,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:22:26] local.INFO: Acknowledgment sent {"connection_id":118789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:22:59] local.INFO: TCP Data received {"connection_id":118789,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b603a18012d30afc006b69d08000c01182b..."} 
[2026-07-01 07:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b603a18012d30afc006b69d08000c01182b..."} 
[2026-07-01 07:22:59] local.INFO: Processing buffer {"connection_id":118789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b603a18012d30afc006b69d08000c01182b..."} 
[2026-07-01 07:22:59] local.INFO: Packet analysis {"connection_id":118789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b60"} 
[2026-07-01 07:22:59] local.INFO: Extracted packet for processing {"connection_id":118789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b60"} 
[2026-07-01 07:22:59] local.INFO: GPS Element Parsed {"raw_longitude":758165440,"raw_latitude":112631048,"longitude_deg":75.816544,"latitude_deg":11.2631048,"altitude":12,"angle":280,"satellites":43,"speed":61,"hex_longitude":"2d30afc0","hex_latitude":"06b69d08","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414902528001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332896318043193344,"note":"Value kept but may cause issues"} 
[2026-07-01 07:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3518577975204571136,"note":"Value kept but may cause issues"} 
[2026-07-01 07:22:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782870719000,"timestamp_ms":1782870719000,"timestamp_seconds":1782870719,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b603a18"} 
[2026-07-01 07: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-01 07:22: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-01 07:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 07:22:59] 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-01 07: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-01 07: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-01 07:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:22:59] 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-01 07:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414902528001,"66":27789,"201":206,"81":23552,"24":61,"16":332896318043193344,"45":3518577975204571136},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,81,24,16,45]} 
[2026-07-01 07:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414902528001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:22:59] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-01 07:22:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-07-01 07:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332896318043193344,"km_value":332896318043193.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3518577975204571136,"description":"Unknown IO ID 45"} 
[2026-07-01 07:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414902528001,"power":27789,"unknown_201":206,"unknown_81":23552,"ignition":61,"odometer":null,"unknown_45":3518577975204571136}} 
[2026-07-01 07:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":118789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:22:59] local.INFO: GPS data processed {"connection_id":118789,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:22:59] local.INFO: Acknowledgment sent {"connection_id":118789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:23:06] local.INFO: TCP Data received {"connection_id":119557,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119557,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:23:06] local.INFO: Processing buffer {"connection_id":119557,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:23:06] local.INFO: IMEI packet received {"connection_id":119557,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 07:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":119557,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:23:21] local.INFO: TCP Data received {"connection_id":120654,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:23:21] local.INFO: Processing buffer {"connection_id":120654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:23:21] local.INFO: IMEI packet received {"connection_id":120654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 07:23:21] local.INFO: IMEI acknowledgment sent {"connection_id":120654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:23:22] local.INFO: TCP Data received {"connection_id":120654,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:23:22] local.INFO: Processing buffer {"connection_id":120654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:23:22] local.INFO: IMEI packet received {"connection_id":120654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:23:22] local.INFO: IMEI acknowledgment sent {"connection_id":120654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:23:24] local.INFO: TCP Data received {"connection_id":119558,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119558,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:23:24] local.INFO: Processing buffer {"connection_id":119558,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:23:24] local.INFO: IMEI packet received {"connection_id":119558,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 07:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":119558,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:23:24] local.INFO: TCP Data received {"connection_id":119558,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b60de28012d82b7c005d632980007001924..."} 
[2026-07-01 07:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b60de28012d82b7c005d632980007001924..."} 
[2026-07-01 07:23:24] local.INFO: Processing buffer {"connection_id":119558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b60de28012d82b7c005d632980007001924..."} 
[2026-07-01 07:23:24] local.INFO: Packet analysis {"connection_id":119558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b60"} 
[2026-07-01 07:23:24] local.INFO: Extracted packet for processing {"connection_id":119558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b60"} 
[2026-07-01 07:23:24] local.INFO: GPS Element Parsed {"raw_longitude":763541440,"raw_latitude":97923736,"longitude_deg":76.354144,"latitude_deg":9.7923736,"altitude":7,"angle":25,"satellites":36,"speed":21,"hex_longitude":"2d82b7c0","hex_latitude":"05d63298","is_valid_coordinates":true} 
[2026-07-01 07:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:23:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414913792001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:23:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101113533126672384,"note":"Value kept but may cause issues"} 
[2026-07-01 07:23:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9029154277856350208,"note":"Value kept but may cause issues"} 
[2026-07-01 07:23: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-01 07:23:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782870761000,"timestamp_ms":1782870761000,"timestamp_seconds":1782870761,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b60de28"} 
[2026-07-01 07:23:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:23:24] 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-01 07:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-01 07:23:24] 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-01 07:23:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:23:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:23:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:23:24] local.INFO: Teltonika packet parsed successfully {"connection_id":119558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:23:24] local.INFO: Passing IMEI to GPS processor {"connection_id":119558,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:23:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":119558,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:23:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:23:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:23:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:23:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414913792001,"66":13254,"157":206,"85":15104,"24":21,"16":101113533126672384,"45":-9029154277856350208},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-07-01 07:23:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:23:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:23:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414913792001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:23:24] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 07:23:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:23:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101113533126672384,"km_value":101113533126672.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:23:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9029154277856350208,"description":"Unknown IO ID 45"} 
[2026-07-01 07:23:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414913792001,"power":13254,"unknown_157":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":-9029154277856350208}} 
[2026-07-01 07:23:24] local.INFO: DEBUG: GPS processor result {"connection_id":119558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416370,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:23:24] local.INFO: GPS data processed {"connection_id":119558,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:23:24] local.INFO: Acknowledgment sent {"connection_id":119558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:23:44] local.INFO: TCP Data received {"connection_id":120654,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:23:44] local.INFO: Processing buffer {"connection_id":120654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:23:44] local.INFO: IMEI packet received {"connection_id":120654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":120654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:23:48] local.INFO: TCP Data received {"connection_id":120654,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b605188012d308c8006b6a3a8000d01182b..."} 
[2026-07-01 07:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b605188012d308c8006b6a3a8000d01182b..."} 
[2026-07-01 07:23:48] local.INFO: Processing buffer {"connection_id":120654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b605188012d308c8006b6a3a8000d01182b..."} 
[2026-07-01 07:23:48] local.INFO: Packet analysis {"connection_id":120654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b60"} 
[2026-07-01 07:23:48] local.INFO: Extracted packet for processing {"connection_id":120654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b60"} 
[2026-07-01 07:23:48] local.INFO: GPS Element Parsed {"raw_longitude":758156416,"raw_latitude":112632744,"longitude_deg":75.8156416,"latitude_deg":11.2632744,"altitude":13,"angle":280,"satellites":43,"speed":58,"hex_longitude":"2d308c80","hex_latitude":"06b6a3a8","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:23:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414904064001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:23:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332896751834890240,"note":"Value kept but may cause issues"} 
[2026-07-01 07:23:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3508233769810987008,"note":"Value kept but may cause issues"} 
[2026-07-01 07:23:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:23:48] local.INFO: AVL Record Parsed {"raw_timestamp":1782870725000,"timestamp_ms":1782870725000,"timestamp_seconds":1782870725,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b605188"} 
[2026-07-01 07: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-01 07:23: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-01 07:23:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-01 07:23:48] 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-01 07: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-01 07: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-01 07:23:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:23:48] local.INFO: Teltonika packet parsed successfully {"connection_id":120654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:23:48] local.INFO: Passing IMEI to GPS processor {"connection_id":120654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:23:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":120654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:23:48] 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-01 07:23:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:23:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:23:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414904064001,"66":27104,"201":206,"81":23552,"24":58,"16":332896751834890240,"45":3508233769810987008},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,81,24,16,45]} 
[2026-07-01 07:23:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:23:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:23:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414904064001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:23:48] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-01 07:23:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-07-01 07:23:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332896751834890240,"km_value":332896751834890.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:23:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3508233769810987008,"description":"Unknown IO ID 45"} 
[2026-07-01 07:23:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414904064001,"power":27104,"unknown_201":206,"unknown_81":23552,"ignition":58,"odometer":null,"unknown_45":3508233769810987008}} 
[2026-07-01 07:23:48] local.INFO: DEBUG: GPS processor result {"connection_id":120654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:23:48] local.INFO: GPS data processed {"connection_id":120654,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:23:48] local.INFO: Acknowledgment sent {"connection_id":120654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:23:55] local.INFO: TCP Data received {"connection_id":119558,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b60e210012d82b88005d634f00007000d24..."} 
[2026-07-01 07:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b60e210012d82b88005d634f00007000d24..."} 
[2026-07-01 07:23:55] local.INFO: Processing buffer {"connection_id":119558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b60e210012d82b88005d634f00007000d24..."} 
[2026-07-01 07:23:55] local.INFO: Packet analysis {"connection_id":119558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b60"} 
[2026-07-01 07:23:55] local.INFO: Extracted packet for processing {"connection_id":119558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b60"} 
[2026-07-01 07:23:55] local.INFO: GPS Element Parsed {"raw_longitude":763541632,"raw_latitude":97924336,"longitude_deg":76.3541632,"latitude_deg":9.7924336,"altitude":7,"angle":13,"satellites":36,"speed":24,"hex_longitude":"2d82b880","hex_latitude":"05d634f0","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414914816001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101113563191443456,"note":"Value kept but may cause issues"} 
[2026-07-01 07:23:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9027535796739860480,"note":"Value kept but may cause issues"} 
[2026-07-01 07:23:55] 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-01 07:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782870762000,"timestamp_ms":1782870762000,"timestamp_seconds":1782870762,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b60e210"} 
[2026-07-01 07: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-01 07:23:55] 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-01 07: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-01 07:23:55] 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-01 07: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-01 07: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-01 07:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":119558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":119558,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":119558,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:23:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414914816001,"66":13254,"157":206,"85":15104,"24":24,"16":101113563191443456,"45":-9027535796739860480},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-07-01 07:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414914816001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:23:55] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 07:23:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101113563191443456,"km_value":101113563191443.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:23:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9027535796739860480,"description":"Unknown IO ID 45"} 
[2026-07-01 07:23:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414914816001,"power":13254,"unknown_157":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9027535796739860480}} 
[2026-07-01 07:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":119558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416372,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:23:55] local.INFO: GPS data processed {"connection_id":119558,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:23:55] local.INFO: Acknowledgment sent {"connection_id":119558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:24:18] local.INFO: TCP Data received {"connection_id":120656,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120656,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:24:18] local.INFO: Processing buffer {"connection_id":120656,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:24:18] local.INFO: IMEI packet received {"connection_id":120656,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 07:24:18] local.INFO: IMEI acknowledgment sent {"connection_id":120656,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:24:22] local.INFO: TCP Data received {"connection_id":118790,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:24:22] local.INFO: Processing buffer {"connection_id":118790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:24:22] local.INFO: IMEI packet received {"connection_id":118790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 07:24:22] local.INFO: IMEI acknowledgment sent {"connection_id":118790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:24:23] local.INFO: TCP Data received {"connection_id":120656,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120656,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:24:23] local.INFO: Processing buffer {"connection_id":120656,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:24:23] local.INFO: IMEI packet received {"connection_id":120656,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":120656,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:24:24] local.INFO: TCP Data received {"connection_id":120656,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b610d08012d82c30005d659d00007001224..."} 
[2026-07-01 07:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b610d08012d82c30005d659d00007001224..."} 
[2026-07-01 07:24:24] local.INFO: Processing buffer {"connection_id":120656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b610d08012d82c30005d659d00007001224..."} 
[2026-07-01 07:24:24] local.INFO: Packet analysis {"connection_id":120656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b61"} 
[2026-07-01 07:24:24] local.INFO: Extracted packet for processing {"connection_id":120656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b61"} 
[2026-07-01 07:24:24] local.INFO: GPS Element Parsed {"raw_longitude":763544320,"raw_latitude":97933776,"longitude_deg":76.354432,"latitude_deg":9.7933776,"altitude":7,"angle":18,"satellites":36,"speed":39,"hex_longitude":"2d82c300","hex_latitude":"05d659d0","is_valid_coordinates":true} 
[2026-07-01 07:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:24:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414915072001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:24:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101114039932813312,"note":"Value kept but may cause issues"} 
[2026-07-01 07:24:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9027324690507173888,"note":"Value kept but may cause issues"} 
[2026-07-01 07:24: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-01 07:24:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782870773000,"timestamp_ms":1782870773000,"timestamp_seconds":1782870773,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b610d08"} 
[2026-07-01 07:24:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:24:24] 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-01 07:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-01 07:24:24] 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-01 07:24:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:24:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:24:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:24:24] local.INFO: Teltonika packet parsed successfully {"connection_id":120656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:24:24] local.INFO: Passing IMEI to GPS processor {"connection_id":120656,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:24:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":120656,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:24:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:24:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:24:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:24:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414915072001,"66":13189,"157":206,"85":15104,"24":39,"16":101114039932813312,"45":-9027324690507173888},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-07-01 07:24:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:24:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:24:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414915072001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:24:24] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 07:24:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:24:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101114039932813312,"km_value":101114039932813.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:24:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9027324690507173888,"description":"Unknown IO ID 45"} 
[2026-07-01 07:24:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414915072001,"power":13189,"unknown_157":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":-9027324690507173888}} 
[2026-07-01 07:24:24] local.INFO: DEBUG: GPS processor result {"connection_id":120656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416373,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:24:24] local.INFO: GPS data processed {"connection_id":120656,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:24:24] local.INFO: Acknowledgment sent {"connection_id":120656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:24:25] local.INFO: TCP Data received {"connection_id":118790,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:24:25] local.INFO: Processing buffer {"connection_id":118790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:24:25] local.INFO: IMEI packet received {"connection_id":118790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":118790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:24:26] local.INFO: TCP Data received {"connection_id":118790,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:24:26] local.INFO: Processing buffer {"connection_id":118790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:24:26] local.INFO: IMEI packet received {"connection_id":118790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":118790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:24:27] local.INFO: TCP Data received {"connection_id":118790,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b615f10012d2f9e8006b7b010000a01532d..."} 
[2026-07-01 07:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b615f10012d2f9e8006b7b010000a01532d..."} 
[2026-07-01 07:24:27] local.INFO: Processing buffer {"connection_id":118790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b615f10012d2f9e8006b7b010000a01532d..."} 
[2026-07-01 07:24:27] local.INFO: Packet analysis {"connection_id":118790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b61"} 
[2026-07-01 07:24:27] local.INFO: Extracted packet for processing {"connection_id":118790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b61"} 
[2026-07-01 07:24:27] local.INFO: GPS Element Parsed {"raw_longitude":758095488,"raw_latitude":112701456,"longitude_deg":75.8095488,"latitude_deg":11.2701456,"altitude":10,"angle":339,"satellites":45,"speed":60,"hex_longitude":"2d2f9e80","hex_latitude":"06b7b010","is_valid_coordinates":true} 
[2026-07-01 07:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:24:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414921728001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:24:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332901682457346048,"note":"Value kept but may cause issues"} 
[2026-07-01 07:24:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3434557694672746496,"note":"Value kept but may cause issues"} 
[2026-07-01 07:24:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-01 07:24:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782870794000,"timestamp_ms":1782870794000,"timestamp_seconds":1782870794,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b615f10"} 
[2026-07-01 07:24:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:24: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-01 07:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 07:24:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:24:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:24:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:24:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:24:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:24:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:24:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:24:27] 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-01 07:24:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:24:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:24:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414921728001,"66":27800,"81":21760,"24":60,"16":332901682457346048,"45":3434557694672746496},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-07-01 07:24:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:24:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:24:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414921728001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:24:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-07-01 07:24:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332901682457346048,"km_value":332901682457346.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:24:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3434557694672746496,"description":"Unknown IO ID 45"} 
[2026-07-01 07:24:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456414921728001,"power":27800,"unknown_81":21760,"ignition":60,"odometer":null,"unknown_45":3434557694672746496}} 
[2026-07-01 07:24:27] local.INFO: DEBUG: GPS processor result {"connection_id":118790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:24:27] local.INFO: GPS data processed {"connection_id":118790,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:24:27] local.INFO: Acknowledgment sent {"connection_id":118790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:24:31] local.INFO: TCP Data received {"connection_id":118790,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b617a68012d2f8fc006b7d520000a01502f..."} 
[2026-07-01 07:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b617a68012d2f8fc006b7d520000a01502f..."} 
[2026-07-01 07:24:31] local.INFO: Processing buffer {"connection_id":118790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b617a68012d2f8fc006b7d520000a01502f..."} 
[2026-07-01 07:24:31] local.INFO: Packet analysis {"connection_id":118790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b61"} 
[2026-07-01 07:24:31] local.INFO: Extracted packet for processing {"connection_id":118790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b61"} 
[2026-07-01 07:24:31] local.INFO: GPS Element Parsed {"raw_longitude":758091712,"raw_latitude":112710944,"longitude_deg":75.8091712,"latitude_deg":11.2710944,"altitude":10,"angle":336,"satellites":47,"speed":55,"hex_longitude":"2d2f8fc0","hex_latitude":"06b7d520","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414923264001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332902176378585088,"note":"Value kept but may cause issues"} 
[2026-07-01 07:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3431320732442824704,"note":"Value kept but may cause issues"} 
[2026-07-01 07:24:31] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-01 07:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782870801000,"timestamp_ms":1782870801000,"timestamp_seconds":1782870801,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b617a68"} 
[2026-07-01 07: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-01 07:24:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 07:24:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07: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-01 07: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-01 07:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":118790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":118790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":118790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414923264001,"66":27843,"81":21760,"24":55,"16":332902176378585088,"45":3431320732442824704},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-07-01 07:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414923264001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:24:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-07-01 07:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332902176378585088,"km_value":332902176378585.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3431320732442824704,"description":"Unknown IO ID 45"} 
[2026-07-01 07:24:31] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456414923264001,"power":27843,"unknown_81":21760,"ignition":55,"odometer":null,"unknown_45":3431320732442824704}} 
[2026-07-01 07:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":118790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:24:31] local.INFO: GPS data processed {"connection_id":118790,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:24:31] local.INFO: Acknowledgment sent {"connection_id":118790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:24:55] local.INFO: TCP Data received {"connection_id":120656,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b613800012d82cd8005d677d8000b000724..."} 
[2026-07-01 07:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b613800012d82cd8005d677d8000b000724..."} 
[2026-07-01 07:24:55] local.INFO: Processing buffer {"connection_id":120656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b613800012d82cd8005d677d8000b000724..."} 
[2026-07-01 07:24:55] local.INFO: Packet analysis {"connection_id":120656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b61"} 
[2026-07-01 07:24:55] local.INFO: Extracted packet for processing {"connection_id":120656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b61"} 
[2026-07-01 07:24:55] local.INFO: GPS Element Parsed {"raw_longitude":763547008,"raw_latitude":97941464,"longitude_deg":76.3547008,"latitude_deg":9.7941464,"altitude":11,"angle":7,"satellites":36,"speed":17,"hex_longitude":"2d82cd80","hex_latitude":"05d677d8","is_valid_coordinates":true} 
[2026-07-01 07:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414917888001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101114435069804544,"note":"Value kept but may cause issues"} 
[2026-07-01 07:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9024369203249295360,"note":"Value kept but may cause issues"} 
[2026-07-01 07:24:55] 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-01 07:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782870784000,"timestamp_ms":1782870784000,"timestamp_seconds":1782870784,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b613800"} 
[2026-07-01 07:24:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:24:55] 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-01 07:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-01 07:24:55] 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-01 07:24:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:24:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":120656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":120656,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":120656,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414917888001,"66":13396,"157":206,"85":15104,"24":17,"16":101114435069804544,"45":-9024369203249295360},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-07-01 07:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414917888001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:24:55] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 07:24:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101114435069804544,"km_value":101114435069804.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9024369203249295360,"description":"Unknown IO ID 45"} 
[2026-07-01 07:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414917888001,"power":13396,"unknown_157":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":-9024369203249295360}} 
[2026-07-01 07:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":120656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416376,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:24:55] local.INFO: GPS data processed {"connection_id":120656,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:24:55] local.INFO: Acknowledgment sent {"connection_id":120656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:25:18] local.INFO: TCP Data received {"connection_id":119559,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119559,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:25:18] local.INFO: Processing buffer {"connection_id":119559,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:25:18] local.INFO: IMEI packet received {"connection_id":119559,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 07:25:18] local.INFO: IMEI acknowledgment sent {"connection_id":119559,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:25:23] local.INFO: TCP Data received {"connection_id":119559,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119559,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:25:23] local.INFO: Processing buffer {"connection_id":119559,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:25:23] local.INFO: IMEI packet received {"connection_id":119559,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:25:23] local.INFO: IMEI acknowledgment sent {"connection_id":119559,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:25:23] local.INFO: TCP Data received {"connection_id":119559,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b629f60012d82ac8005d737f00008016023..."} 
[2026-07-01 07:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b629f60012d82ac8005d737f00008016023..."} 
[2026-07-01 07:25:24] local.INFO: Processing buffer {"connection_id":119559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b629f60012d82ac8005d737f00008016023..."} 
[2026-07-01 07:25:24] local.INFO: Packet analysis {"connection_id":119559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b62"} 
[2026-07-01 07:25:24] local.INFO: Extracted packet for processing {"connection_id":119559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b62"} 
[2026-07-01 07:25:24] local.INFO: GPS Element Parsed {"raw_longitude":763538560,"raw_latitude":97990640,"longitude_deg":76.353856,"latitude_deg":9.799064,"altitude":8,"angle":352,"satellites":35,"speed":39,"hex_longitude":"2d82ac80","hex_latitude":"05d737f0","is_valid_coordinates":true} 
[2026-07-01 07:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:25:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414941184001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:25:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101116960510574592,"note":"Value kept but may cause issues"} 
[2026-07-01 07:25:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9029013540352915456,"note":"Value kept but may cause issues"} 
[2026-07-01 07:25:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:25:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782870876000,"timestamp_ms":1782870876000,"timestamp_seconds":1782870876,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b629f60"} 
[2026-07-01 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-01 07:25:24] 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-01 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":139,"data_length":795,"current_offset":136} 
[2026-07-01 07:25:24] 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-01 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-01 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-01 07:25:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:25:24] local.INFO: Teltonika packet parsed successfully {"connection_id":119559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:25:24] local.INFO: Passing IMEI to GPS processor {"connection_id":119559,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:25:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":119559,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:25:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:25:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:25:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:25:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414941184001,"66":12917,"156":206,"85":15104,"24":39,"16":101116960510574592,"45":-9029013540352915456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-07-01 07:25:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:25:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:25:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414941184001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:25:24] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-01 07:25:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:25:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101116960510574592,"km_value":101116960510574.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:25:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9029013540352915456,"description":"Unknown IO ID 45"} 
[2026-07-01 07:25:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414941184001,"power":12917,"unknown_156":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":-9029013540352915456}} 
[2026-07-01 07:25:24] local.INFO: DEBUG: GPS processor result {"connection_id":119559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416377,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:25:24] local.INFO: GPS data processed {"connection_id":119559,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:25:24] local.INFO: Acknowledgment sent {"connection_id":119559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:25:30] local.INFO: TCP Data received {"connection_id":118790,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b6195c0012d2f7fc006b7f8d8000b01502f..."} 
[2026-07-01 07:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b6195c0012d2f7fc006b7f8d8000b01502f..."} 
[2026-07-01 07:25:30] local.INFO: Processing buffer {"connection_id":118790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b6195c0012d2f7fc006b7f8d8000b01502f..."} 
[2026-07-01 07:25:30] local.INFO: Packet analysis {"connection_id":118790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b61"} 
[2026-07-01 07:25:30] local.INFO: Extracted packet for processing {"connection_id":118790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b61"} 
[2026-07-01 07:25:30] local.INFO: GPS Element Parsed {"raw_longitude":758087616,"raw_latitude":112720088,"longitude_deg":75.8087616,"latitude_deg":11.2720088,"altitude":11,"angle":336,"satellites":47,"speed":58,"hex_longitude":"2d2f7fc0","hex_latitude":"06b7f8d8","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:25:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414925056001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:25:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332902661709889536,"note":"Value kept but may cause issues"} 
[2026-07-01 07:25:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3427168976538771456,"note":"Value kept but may cause issues"} 
[2026-07-01 07:25:30] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-01 07:25:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782870808000,"timestamp_ms":1782870808000,"timestamp_seconds":1782870808,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b6195c0"} 
[2026-07-01 07: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-01 07:25:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 07:25:30] 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-01 07: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-01 07: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-01 07:25:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:25:30] local.INFO: Teltonika packet parsed successfully {"connection_id":118790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:25:30] local.INFO: Passing IMEI to GPS processor {"connection_id":118790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:25:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":118790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:25:30] 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-01 07:25:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:25:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:25:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414925056001,"66":27865,"81":21760,"24":58,"16":332902661709889536,"45":3427168976538771456},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-07-01 07:25:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:25:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:25:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414925056001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:25:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-07-01 07:25:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332902661709889536,"km_value":332902661709889.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:25:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3427168976538771456,"description":"Unknown IO ID 45"} 
[2026-07-01 07:25:30] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456414925056001,"power":27865,"unknown_81":21760,"ignition":58,"odometer":null,"unknown_45":3427168976538771456}} 
[2026-07-01 07:25:30] local.INFO: DEBUG: GPS processor result {"connection_id":118790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:25:30] local.INFO: GPS data processed {"connection_id":118790,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:25:30] local.INFO: Acknowledgment sent {"connection_id":118790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:25:35] local.INFO: TCP Data received {"connection_id":120657,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:25:35] local.INFO: Processing buffer {"connection_id":120657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:25:35] local.INFO: IMEI packet received {"connection_id":120657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 07:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":120657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:25:37] local.INFO: TCP Data received {"connection_id":120657,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:25:37] local.INFO: Processing buffer {"connection_id":120657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:25:37] local.INFO: IMEI packet received {"connection_id":120657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":120657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:25:41] local.INFO: TCP Data received {"connection_id":120657,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:25:41] local.INFO: Processing buffer {"connection_id":120657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:25:41] local.INFO: IMEI packet received {"connection_id":120657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":120657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:25:42] local.INFO: TCP Data received {"connection_id":120657,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b629f60012d2ebf8006b95308000e014a2e..."} 
[2026-07-01 07:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b629f60012d2ebf8006b95308000e014a2e..."} 
[2026-07-01 07:25:42] local.INFO: Processing buffer {"connection_id":120657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b629f60012d2ebf8006b95308000e014a2e..."} 
[2026-07-01 07:25:42] local.INFO: Packet analysis {"connection_id":120657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b62"} 
[2026-07-01 07:25:42] local.INFO: Extracted packet for processing {"connection_id":120657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b62"} 
[2026-07-01 07:25:42] local.INFO: GPS Element Parsed {"raw_longitude":758038400,"raw_latitude":112808712,"longitude_deg":75.80384,"latitude_deg":11.2808712,"altitude":14,"angle":330,"satellites":46,"speed":56,"hex_longitude":"2d2ebf80","hex_latitude":"06b95308","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414942464001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332907562267574272,"note":"Value kept but may cause issues"} 
[2026-07-01 07:25:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3374181312195768320,"note":"Value kept but may cause issues"} 
[2026-07-01 07:25:42] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-01 07:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782870876000,"timestamp_ms":1782870876000,"timestamp_seconds":1782870876,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b629f60"} 
[2026-07-01 07: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-01 07:25:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 07:25:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07: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-01 07: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-01 07:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":120657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":120657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":120657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:25: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-01 07:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414942464001,"66":27800,"81":21760,"24":56,"16":332907562267574272,"45":3374181312195768320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-07-01 07:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414942464001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:25:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-07-01 07:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332907562267574272,"km_value":332907562267574.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:25:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3374181312195768320,"description":"Unknown IO ID 45"} 
[2026-07-01 07:25:42] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456414942464001,"power":27800,"unknown_81":21760,"ignition":56,"odometer":null,"unknown_45":3374181312195768320}} 
[2026-07-01 07:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":120657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:25:42] local.INFO: GPS data processed {"connection_id":120657,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:25:42] local.INFO: Acknowledgment sent {"connection_id":120657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:25:54] local.INFO: TCP Data received {"connection_id":119559,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b62ed80012d82a94005d74fb80006016325..."} 
[2026-07-01 07:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b62ed80012d82a94005d74fb80006016325..."} 
[2026-07-01 07:25:54] local.INFO: Processing buffer {"connection_id":119559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b62ed80012d82a94005d74fb80006016325..."} 
[2026-07-01 07:25:54] local.INFO: Packet analysis {"connection_id":119559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b62"} 
[2026-07-01 07:25:54] local.INFO: Extracted packet for processing {"connection_id":119559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b62"} 
[2026-07-01 07:25:54] local.INFO: GPS Element Parsed {"raw_longitude":763537728,"raw_latitude":97996728,"longitude_deg":76.3537728,"latitude_deg":9.7996728,"altitude":6,"angle":355,"satellites":37,"speed":5,"hex_longitude":"2d82a940","hex_latitude":"05d74fb8","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414944256001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101117261158285312,"note":"Value kept but may cause issues"} 
[2026-07-01 07:25:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9030702390210727936,"note":"Value kept but may cause issues"} 
[2026-07-01 07:25:54] 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-01 07:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782870896000,"timestamp_ms":1782870896000,"timestamp_seconds":1782870896,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b62ed80"} 
[2026-07-01 07: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-01 07:25:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07: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":117,"data_length":795,"current_offset":136} 
[2026-07-01 07:25:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07: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-01 07: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-01 07:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":119559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":119559,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":119559,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:25:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414944256001,"66":13276,"155":206,"85":15104,"24":5,"16":101117261158285312,"45":-9030702390210727936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-07-01 07:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414944256001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:25:54] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-01 07:25:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101117261158285312,"km_value":101117261158285.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:25:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9030702390210727936,"description":"Unknown IO ID 45"} 
[2026-07-01 07:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414944256001,"power":13276,"unknown_155":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":-9030702390210727936}} 
[2026-07-01 07:25:54] local.INFO: DEBUG: GPS processor result {"connection_id":119559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416380,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:25:54] local.INFO: GPS data processed {"connection_id":119559,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:25:54] local.INFO: Acknowledgment sent {"connection_id":119559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:26:21] local.INFO: TCP Data received {"connection_id":119560,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:26:21] local.INFO: Processing buffer {"connection_id":119560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:26:21] local.INFO: IMEI packet received {"connection_id":119560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 07:26:21] local.INFO: IMEI acknowledgment sent {"connection_id":119560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:26:23] local.INFO: TCP Data received {"connection_id":118899,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118899,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:26:23] local.INFO: Processing buffer {"connection_id":118899,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:26:23] local.INFO: IMEI packet received {"connection_id":118899,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 07:26:23] local.INFO: IMEI acknowledgment sent {"connection_id":118899,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:26:25] local.INFO: TCP Data received {"connection_id":118899,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118899,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:26:25] local.INFO: Processing buffer {"connection_id":118899,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:26:25] local.INFO: IMEI packet received {"connection_id":118899,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":118899,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:26:26] local.INFO: TCP Data received {"connection_id":119560,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:26:26] local.INFO: Processing buffer {"connection_id":119560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:26:26] local.INFO: IMEI packet received {"connection_id":119560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":119560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:26:26] local.INFO: TCP Data received {"connection_id":119560,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:26:26] local.INFO: Processing buffer {"connection_id":119560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:26:26] local.INFO: IMEI packet received {"connection_id":119560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":119560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:26:27] local.INFO: TCP Data received {"connection_id":119560,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b62bab8012d2eadc006b975500011014d2e..."} 
[2026-07-01 07:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b62bab8012d2eadc006b975500011014d2e..."} 
[2026-07-01 07:26:27] local.INFO: Processing buffer {"connection_id":119560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b62bab8012d2eadc006b975500011014d2e..."} 
[2026-07-01 07:26:27] local.INFO: Packet analysis {"connection_id":119560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b62"} 
[2026-07-01 07:26:27] local.INFO: Extracted packet for processing {"connection_id":119560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b62"} 
[2026-07-01 07:26:27] local.INFO: GPS Element Parsed {"raw_longitude":758033856,"raw_latitude":112817488,"longitude_deg":75.8033856,"latitude_deg":11.2817488,"altitude":17,"angle":333,"satellites":46,"speed":55,"hex_longitude":"2d2eadc0","hex_latitude":"06b97550","is_valid_coordinates":true} 
[2026-07-01 07:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414944256001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332908039008944128,"note":"Value kept but may cause issues"} 
[2026-07-01 07:26:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3368551812663805952,"note":"Value kept but may cause issues"} 
[2026-07-01 07:26:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-01 07:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782870883000,"timestamp_ms":1782870883000,"timestamp_seconds":1782870883,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b62bab8"} 
[2026-07-01 07:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07: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-01 07:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 07:26:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:26:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:26:27] 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-01 07:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414944256001,"66":27800,"81":21760,"24":55,"16":332908039008944128,"45":3368551812663805952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-07-01 07:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414944256001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:26:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-07-01 07:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332908039008944128,"km_value":332908039008944.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3368551812663805952,"description":"Unknown IO ID 45"} 
[2026-07-01 07:26:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456414944256001,"power":27800,"unknown_81":21760,"ignition":55,"odometer":null,"unknown_45":3368551812663805952}} 
[2026-07-01 07:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":119560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:26:27] local.INFO: GPS data processed {"connection_id":119560,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:26:27] local.INFO: Acknowledgment sent {"connection_id":119560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:26:31] local.INFO: TCP Data received {"connection_id":119560,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b62d610012d2e9d4006b997880014014c2e..."} 
[2026-07-01 07:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b62d610012d2e9d4006b997880014014c2e..."} 
[2026-07-01 07:26:31] local.INFO: Processing buffer {"connection_id":119560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b62d610012d2e9d4006b997880014014c2e..."} 
[2026-07-01 07:26:31] local.INFO: Packet analysis {"connection_id":119560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b62"} 
[2026-07-01 07:26:31] local.INFO: Extracted packet for processing {"connection_id":119560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b62"} 
[2026-07-01 07:26:31] local.INFO: GPS Element Parsed {"raw_longitude":758029632,"raw_latitude":112826248,"longitude_deg":75.8029632,"latitude_deg":11.2826248,"altitude":20,"angle":332,"satellites":46,"speed":54,"hex_longitude":"2d2e9d40","hex_latitude":"06b99788","is_valid_coordinates":true} 
[2026-07-01 07:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414946048001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332908507160379392,"note":"Value kept but may cause issues"} 
[2026-07-01 07:26:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3363555631829438464,"note":"Value kept but may cause issues"} 
[2026-07-01 07:26:31] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-01 07:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782870890000,"timestamp_ms":1782870890000,"timestamp_seconds":1782870890,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b62d610"} 
[2026-07-01 07:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:26:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 07:26:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:26:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414946048001,"66":27800,"81":21760,"24":54,"16":332908507160379392,"45":3363555631829438464},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-07-01 07:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414946048001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:26:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-07-01 07:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332908507160379392,"km_value":332908507160379.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:26:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3363555631829438464,"description":"Unknown IO ID 45"} 
[2026-07-01 07:26:31] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456414946048001,"power":27800,"unknown_81":21760,"ignition":54,"odometer":null,"unknown_45":3363555631829438464}} 
[2026-07-01 07:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":119560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:26:31] local.INFO: GPS data processed {"connection_id":119560,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:26:31] local.INFO: Acknowledgment sent {"connection_id":119560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:26:35] local.INFO: TCP Data received {"connection_id":118899,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118899,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:26:35] local.INFO: Processing buffer {"connection_id":118899,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:26:35] local.INFO: IMEI packet received {"connection_id":118899,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":118899,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:26:35] local.INFO: TCP Data received {"connection_id":118899,"ip":"42.106.6.23","data_length":1340,"data_hex":"000000000000030f8e0a0000019f1b632c00012d82a5c005d773580009016225..."} 
[2026-07-01 07:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118899,"packet_length":1340,"packet_hex":"000000000000030f8e0a0000019f1b632c00012d82a5c005d773580009016225..."} 
[2026-07-01 07:26:35] local.INFO: Processing buffer {"connection_id":118899,"buffer_length":1340,"buffer_hex":"000000000000030f8e0a0000019f1b632c00012d82a5c005d773580009016225..."} 
[2026-07-01 07:26:35] local.INFO: Packet analysis {"connection_id":118899,"data_field_length":783,"total_packet_length":795,"buffer_length":1340,"packet_hex_start":"000000000000030f8e0a0000019f1b63"} 
[2026-07-01 07:26:35] local.INFO: Extracted packet for processing {"connection_id":118899,"packet_length":795,"remaining_buffer_length":545,"packet_hex_start":"000000000000030f8e0a0000019f1b63"} 
[2026-07-01 07:26:35] local.INFO: GPS Element Parsed {"raw_longitude":763536832,"raw_latitude":98005848,"longitude_deg":76.3536832,"latitude_deg":9.8005848,"altitude":9,"angle":354,"satellites":37,"speed":33,"hex_longitude":"2d82a5c0","hex_latitude":"05d77358","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414949376001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101117707834884096,"note":"Value kept but may cause issues"} 
[2026-07-01 07:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9031617183883479040,"note":"Value kept but may cause issues"} 
[2026-07-01 07: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-01 07:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782870912000,"timestamp_ms":1782870912000,"timestamp_seconds":1782870912,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b632c00"} 
[2026-07-01 07: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-01 07:26: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-01 07: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":220,"data_length":795,"current_offset":136} 
[2026-07-01 07:26: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-01 07: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-01 07: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-01 07:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":118899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":118899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":118899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414949376001,"66":13059,"155":206,"85":15104,"24":33,"16":101117707834884096,"45":-9031617183883479040},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-07-01 07:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414949376001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:26:35] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-01 07:26:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101117707834884096,"km_value":101117707834884.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9031617183883479040,"description":"Unknown IO ID 45"} 
[2026-07-01 07:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414949376001,"power":13059,"unknown_155":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9031617183883479040}} 
[2026-07-01 07:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":118899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416383,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:26:35] local.INFO: GPS data processed {"connection_id":118899,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:26:35] local.INFO: Acknowledgment sent {"connection_id":118899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:26:35] local.INFO: Packet analysis {"connection_id":118899,"data_field_length":783,"total_packet_length":795,"buffer_length":545,"packet_hex_start":"000000000000030f8e0a0000019f1b63"} 
[2026-07-01 07:26:35] local.INFO: Incomplete packet, waiting for more data {"connection_id":118899,"needed":795,"available":545} 
[2026-07-01 07:26:44] local.INFO: TCP Data received {"connection_id":118899,"ip":"42.106.6.23","data_length":250,"data_hex":"e3001001673c19000000000000019f1b620320012d82b74005d6a528000c0002..."} 
[2026-07-01 07:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118899,"packet_length":250,"packet_hex":"e3001001673c19000000000000019f1b620320012d82b74005d6a528000c0002..."} 
[2026-07-01 07:26:44] local.INFO: Processing buffer {"connection_id":118899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b634f28012d82a40005d795f0000c016324..."} 
[2026-07-01 07:26:44] local.INFO: Packet analysis {"connection_id":118899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b63"} 
[2026-07-01 07:26:44] local.INFO: Extracted packet for processing {"connection_id":118899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b63"} 
[2026-07-01 07:26:44] local.INFO: GPS Element Parsed {"raw_longitude":763536384,"raw_latitude":98014704,"longitude_deg":76.3536384,"latitude_deg":9.8014704,"altitude":12,"angle":355,"satellites":36,"speed":44,"hex_longitude":"2d82a400","hex_latitude":"05d795f0","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414953472001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101118137331613696,"note":"Value kept but may cause issues"} 
[2026-07-01 07:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9032602346299631616,"note":"Value kept but may cause issues"} 
[2026-07-01 07:26:44] 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-01 07:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1782870921000,"timestamp_ms":1782870921000,"timestamp_seconds":1782870921,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b634f28"} 
[2026-07-01 07: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-01 07:26:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-01 07:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303167374937510,"note":"Value kept but may cause issues"} 
[2026-07-01 07:26:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-01 07:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2193096709,"note":"Value kept but may cause issues"} 
[2026-07-01 07:26:44] local.WARNING: Large IO value detected {"io_id":156,"raw_value":58077557095399456,"note":"Value kept but may cause issues"} 
[2026-07-01 07:26:44] local.WARNING: Large IO value detected {"io_id":60,"raw_value":3909091328,"note":"Value kept but may cause issues"} 
[2026-07-01 07:26:44] local.WARNING: Large IO value detected {"io_id":214,"raw_value":4013424646,"note":"Value kept but may cause issues"} 
[2026-07-01 07:26:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795241678,"corrected_to":0} 
[2026-07-01 07:26:44] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3601147904,"note":"Value kept but may cause issues"} 
[2026-07-01 07:26:44] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,155,85,24,241,157,16,62,159,237,45,64,79,6,37,10,66,61,128,55,8,35,156,112,1,240,139,227,60,27,214,4,113,205,41,42,186,239,52,2,103,5,12,32],"length":486,"final_offset":616,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2795241678,"validated":0}]} 
[2026-07-01 07:26:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648907732373536768,"timestamp_seconds":648907732373536.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 07: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-01 07:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":118899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":118899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":118899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414953472001,"66":12809,"155":206,"85":15104,"24":44,"16":101118137331613696,"45":-9032602346299631616},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-07-01 07:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414953472001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:26:44] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-01 07:26:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101118137331613696,"km_value":101118137331613.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9032602346299631616,"description":"Unknown IO ID 45"} 
[2026-07-01 07:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414953472001,"power":12809,"unknown_155":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":-9032602346299631616}} 
[2026-07-01 07:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":118899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416384,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:26:44] local.INFO: GPS data processed {"connection_id":118899,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:26:44] local.INFO: Acknowledgment sent {"connection_id":118899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:26:45] local.INFO: TCP Data received {"connection_id":118899,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b636e68012d82a18005d7bb20000d016524..."} 
[2026-07-01 07:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b636e68012d82a18005d7bb20000d016524..."} 
[2026-07-01 07:26:45] local.INFO: Processing buffer {"connection_id":118899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b636e68012d82a18005d7bb20000d016524..."} 
[2026-07-01 07:26:45] local.INFO: Packet analysis {"connection_id":118899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b63"} 
[2026-07-01 07:26:45] local.INFO: Extracted packet for processing {"connection_id":118899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b63"} 
[2026-07-01 07:26:45] local.INFO: GPS Element Parsed {"raw_longitude":763535744,"raw_latitude":98024224,"longitude_deg":76.3535744,"latitude_deg":9.8024224,"altitude":13,"angle":357,"satellites":36,"speed":46,"hex_longitude":"2d82a180","hex_latitude":"05d7bb20","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:26:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414955776001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:26:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101118601188081664,"note":"Value kept but may cause issues"} 
[2026-07-01 07:26:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9033094927506608128,"note":"Value kept but may cause issues"} 
[2026-07-01 07:26: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-01 07:26:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782870929000,"timestamp_ms":1782870929000,"timestamp_seconds":1782870929,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b636e68"} 
[2026-07-01 07: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-01 07:26:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-01 07:26:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2305843009381467136,"note":"Value kept but may cause issues"} 
[2026-07-01 07:26:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-01 07:26:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2192736261,"note":"Value kept but may cause issues"} 
[2026-07-01 07:26:45] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-01 07:26:45] local.WARNING: Large IO value detected {"io_id":27,"raw_value":7062523830077667136,"note":"Value kept but may cause issues"} 
[2026-07-01 07:26:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795241678,"corrected_to":0} 
[2026-07-01 07:26:45] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2979931597769276891,"note":"Value kept but may cause issues"} 
[2026-07-01 07:26:45] local.WARNING: Large IO value detected {"io_id":52,"raw_value":504629273731059285,"note":"Value kept but may cause issues"} 
[2026-07-01 07:26:45] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755584124780785,"note":"Value kept but may cause issues"} 
[2026-07-01 07:26:45] local.INFO: IO Element Parsed {"io_data_count":47,"io_data_keys":[0,155,85,24,241,157,16,62,159,44,45,192,115,9,37,10,66,237,64,79,6,61,128,1,240,117,227,27,215,4,113,205,32,77,184,56,36,239,50,156,2,103,5,43,52,59,25],"length":535,"final_offset":665,"validated_count":47,"validation_warnings":[{"io_id":205,"original":2795241678,"validated":0}]} 
[2026-07-01 07:26:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865081609704701952,"timestamp_seconds":865081609704702.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 07: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-01 07:26:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:26:45] local.INFO: Teltonika packet parsed successfully {"connection_id":118899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:26:45] local.INFO: Passing IMEI to GPS processor {"connection_id":118899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:26:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":118899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:26:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:26:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:26:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:26:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414955776001,"66":13037,"155":206,"85":15104,"24":46,"16":101118601188081664,"45":-9033094927506608128},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-07-01 07:26:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:26:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:26:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414955776001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:26:45] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-01 07:26:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:26:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101118601188081664,"km_value":101118601188081.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:26:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9033094927506608128,"description":"Unknown IO ID 45"} 
[2026-07-01 07:26:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414955776001,"power":13037,"unknown_155":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":-9033094927506608128}} 
[2026-07-01 07:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":118899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416385,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:26:45] local.INFO: GPS data processed {"connection_id":118899,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:26:45] local.INFO: Acknowledgment sent {"connection_id":118899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:27:04] local.INFO: TCP Data received {"connection_id":119560,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b6406c0012d2de50006bb24300017014f2d..."} 
[2026-07-01 07:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b6406c0012d2de50006bb24300017014f2d..."} 
[2026-07-01 07:27:04] local.INFO: Processing buffer {"connection_id":119560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b6406c0012d2de50006bb24300017014f2d..."} 
[2026-07-01 07:27:04] local.INFO: Packet analysis {"connection_id":119560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b64"} 
[2026-07-01 07:27:04] local.INFO: Extracted packet for processing {"connection_id":119560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b64"} 
[2026-07-01 07:27:04] local.INFO: GPS Element Parsed {"raw_longitude":757982464,"raw_latitude":112927792,"longitude_deg":75.7982464,"latitude_deg":11.2927792,"altitude":23,"angle":335,"satellites":45,"speed":58,"hex_longitude":"2d2de500","hex_latitude":"06bb2430","is_valid_coordinates":true} 
[2026-07-01 07:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414966016001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332913923114139648,"note":"Value kept but may cause issues"} 
[2026-07-01 07:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3311764236140656640,"note":"Value kept but may cause issues"} 
[2026-07-01 07:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782870968000,"timestamp_ms":1782870968000,"timestamp_seconds":1782870968,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b6406c0"} 
[2026-07-01 07:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:27: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-01 07:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-01 07:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":119560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":119560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":119560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:27:04] 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-01 07:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414966016001,"66":27767,"139":206,"81":20992,"24":58,"16":332913923114139648,"45":3311764236140656640},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,81,24,16,45]} 
[2026-07-01 07:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414966016001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:27:04] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-07-01 07:27:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-07-01 07:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332913923114139648,"km_value":332913923114139.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3311764236140656640,"description":"Unknown IO ID 45"} 
[2026-07-01 07:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414966016001,"power":27767,"unknown_139":206,"unknown_81":20992,"ignition":58,"odometer":null,"unknown_45":3311764236140656640}} 
[2026-07-01 07:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":119560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:27:04] local.INFO: GPS data processed {"connection_id":119560,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:27:04] local.INFO: Acknowledgment sent {"connection_id":119560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:27:16] local.INFO: TCP Data received {"connection_id":120658,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120658,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:27:16] local.INFO: Processing buffer {"connection_id":120658,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:27:16] local.INFO: IMEI packet received {"connection_id":120658,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 07:27:16] local.INFO: IMEI acknowledgment sent {"connection_id":120658,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:27:18] local.INFO: TCP Data received {"connection_id":120658,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120658,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:27:18] local.INFO: Processing buffer {"connection_id":120658,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:27:18] local.INFO: IMEI packet received {"connection_id":120658,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:27:18] local.INFO: IMEI acknowledgment sent {"connection_id":120658,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:27:23] local.INFO: TCP Data received {"connection_id":120658,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120658,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:27:23] local.INFO: Processing buffer {"connection_id":120658,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:27:23] local.INFO: IMEI packet received {"connection_id":120658,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:27:23] local.INFO: IMEI acknowledgment sent {"connection_id":120658,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:27:24] local.INFO: TCP Data received {"connection_id":120658,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b64f8f0012d827f0005d90b68000a016025..."} 
[2026-07-01 07:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b64f8f0012d827f0005d90b68000a016025..."} 
[2026-07-01 07:27:24] local.INFO: Processing buffer {"connection_id":120658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b64f8f0012d827f0005d90b68000a016025..."} 
[2026-07-01 07:27:24] local.INFO: Packet analysis {"connection_id":120658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b64"} 
[2026-07-01 07:27:24] local.INFO: Extracted packet for processing {"connection_id":120658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b64"} 
[2026-07-01 07:27:24] local.INFO: GPS Element Parsed {"raw_longitude":763526912,"raw_latitude":98110312,"longitude_deg":76.3526912,"latitude_deg":9.8110312,"altitude":10,"angle":352,"satellites":37,"speed":55,"hex_longitude":"2d827f00","hex_latitude":"05d90b68","is_valid_coordinates":true} 
[2026-07-01 07:27:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:27:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414981888001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:27:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101122831730868224,"note":"Value kept but may cause issues"} 
[2026-07-01 07:27:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042594707948582912,"note":"Value kept but may cause issues"} 
[2026-07-01 07:27:24] 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-01 07:27:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782871030000,"timestamp_ms":1782871030000,"timestamp_seconds":1782871030,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b64f8f0"} 
[2026-07-01 07:27:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:27:24] 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-01 07:27:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-07-01 07:27:24] 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-01 07:27:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:27:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:27:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:27:24] local.INFO: Teltonika packet parsed successfully {"connection_id":120658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:27:24] local.INFO: Passing IMEI to GPS processor {"connection_id":120658,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:27:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":120658,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:27:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:27:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:27:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:27:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414981888001,"66":13363,"47":206,"85":15104,"24":55,"16":101122831730868224,"45":-9042594707948582912},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-07-01 07:27:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:27:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:27:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414981888001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:27:24] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-01 07:27:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:27:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101122831730868224,"km_value":101122831730868.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:27:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042594707948582912,"description":"Unknown IO ID 45"} 
[2026-07-01 07:27:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414981888001,"power":13363,"unknown_47":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":-9042594707948582912}} 
[2026-07-01 07:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":120658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416387,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:27:24] local.INFO: GPS data processed {"connection_id":120658,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:27:24] local.INFO: Acknowledgment sent {"connection_id":120658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:27:30] local.INFO: TCP Data received {"connection_id":118792,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:27:30] local.INFO: Processing buffer {"connection_id":118792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:27:30] local.INFO: IMEI packet received {"connection_id":118792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 07:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":118792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:27:31] local.INFO: TCP Data received {"connection_id":118792,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:27:31] local.INFO: Processing buffer {"connection_id":118792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:27:31] local.INFO: IMEI packet received {"connection_id":118792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":118792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:27:31] local.INFO: TCP Data received {"connection_id":118792,"ip":"42.106.6.25","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f1b..."} 
[2026-07-01 07:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118792,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f1b..."} 
[2026-07-01 07:27:31] local.INFO: Processing buffer {"connection_id":118792,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f1b..."} 
[2026-07-01 07:27:31] local.INFO: IMEI packet received {"connection_id":118792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":118792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:27:32] local.INFO: TCP Data received {"connection_id":118792,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b6435a0012d2dc6c006bb64480015014d2e..."} 
[2026-07-01 07:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b6435a0012d2dc6c006bb64480015014d2e..."} 
[2026-07-01 07:27:32] local.INFO: Processing buffer {"connection_id":118792,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f1b641e30012d2dd64006bb44600016014f2c..."} 
[2026-07-01 07:27:32] local.INFO: Packet analysis {"connection_id":118792,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f1b64"} 
[2026-07-01 07:27:32] local.INFO: Extracted packet for processing {"connection_id":118792,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b64"} 
[2026-07-01 07:27:32] local.INFO: GPS Element Parsed {"raw_longitude":757978688,"raw_latitude":112936032,"longitude_deg":75.7978688,"latitude_deg":11.2936032,"altitude":22,"angle":335,"satellites":44,"speed":61,"hex_longitude":"2d2dd640","hex_latitude":"06bb4460","is_valid_coordinates":true} 
[2026-07-01 07:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414967808001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332914361200803840,"note":"Value kept but may cause issues"} 
[2026-07-01 07:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3307049530283012096,"note":"Value kept but may cause issues"} 
[2026-07-01 07:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782870974000,"timestamp_ms":1782870974000,"timestamp_seconds":1782870974,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b641e30"} 
[2026-07-01 07:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:27:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 07:27: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-01 07:27:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":118792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":118792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":118792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414967808001,"66":27767,"139":206,"81":20992,"24":61,"16":332914361200803840,"45":3307049530283012096},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,81,24,16,45]} 
[2026-07-01 07:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414967808001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:27:32] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-07-01 07:27:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-07-01 07:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332914361200803840,"km_value":332914361200803.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3307049530283012096,"description":"Unknown IO ID 45"} 
[2026-07-01 07:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414967808001,"power":27767,"unknown_139":206,"unknown_81":20992,"ignition":61,"odometer":null,"unknown_45":3307049530283012096}} 
[2026-07-01 07:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":118792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:27:32] local.INFO: GPS data processed {"connection_id":118792,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:27:32] local.INFO: Acknowledgment sent {"connection_id":118792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:27:32] local.INFO: Packet analysis {"connection_id":118792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b64"} 
[2026-07-01 07:27:32] local.INFO: Extracted packet for processing {"connection_id":118792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b64"} 
[2026-07-01 07:27:32] local.INFO: GPS Element Parsed {"raw_longitude":757974720,"raw_latitude":112944200,"longitude_deg":75.797472,"latitude_deg":11.29442,"altitude":21,"angle":333,"satellites":46,"speed":59,"hex_longitude":"2d2dc6c0","hex_latitude":"06bb6448","is_valid_coordinates":true} 
[2026-07-01 07:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414969344001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332914799287468032,"note":"Value kept but may cause issues"} 
[2026-07-01 07:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3302897774378639360,"note":"Value kept but may cause issues"} 
[2026-07-01 07:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782870980000,"timestamp_ms":1782870980000,"timestamp_seconds":1782870980,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b6435a0"} 
[2026-07-01 07:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:27:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 07:27: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-01 07:27:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":118792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":118792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":118792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414969344001,"66":27995,"139":206,"81":20992,"24":59,"16":332914799287468032,"45":3302897774378639360},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,81,24,16,45]} 
[2026-07-01 07:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414969344001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:27:32] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-07-01 07:27:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-07-01 07:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332914799287468032,"km_value":332914799287468.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3302897774378639360,"description":"Unknown IO ID 45"} 
[2026-07-01 07:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414969344001,"power":27995,"unknown_139":206,"unknown_81":20992,"ignition":59,"odometer":null,"unknown_45":3302897774378639360}} 
[2026-07-01 07:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":118792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:27:32] local.INFO: GPS data processed {"connection_id":118792,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:27:32] local.INFO: Acknowledgment sent {"connection_id":118792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:27:37] local.INFO: TCP Data received {"connection_id":118792,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b644d10012d2db7c006bb84100014014f30..."} 
[2026-07-01 07:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b644d10012d2db7c006bb84100014014f30..."} 
[2026-07-01 07:27:37] local.INFO: Processing buffer {"connection_id":118792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b644d10012d2db7c006bb84100014014f30..."} 
[2026-07-01 07:27:37] local.INFO: Packet analysis {"connection_id":118792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b64"} 
[2026-07-01 07:27:37] local.INFO: Extracted packet for processing {"connection_id":118792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b64"} 
[2026-07-01 07:27:37] local.INFO: GPS Element Parsed {"raw_longitude":757970880,"raw_latitude":112952336,"longitude_deg":75.797088,"latitude_deg":11.2952336,"altitude":20,"angle":335,"satellites":48,"speed":58,"hex_longitude":"2d2db7c0","hex_latitude":"06bb8410","is_valid_coordinates":true} 
[2026-07-01 07:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414970880001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332915233079164928,"note":"Value kept but may cause issues"} 
[2026-07-01 07:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3298534912241715200,"note":"Value kept but may cause issues"} 
[2026-07-01 07:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782870986000,"timestamp_ms":1782870986000,"timestamp_seconds":1782870986,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b644d10"} 
[2026-07-01 07:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-01 07:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":118792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":118792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":118792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414970880001,"66":28017,"139":206,"81":20992,"24":58,"16":332915233079164928,"45":3298534912241715200},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,81,24,16,45]} 
[2026-07-01 07:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414970880001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:27:37] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-07-01 07:27:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-07-01 07:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332915233079164928,"km_value":332915233079164.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3298534912241715200,"description":"Unknown IO ID 45"} 
[2026-07-01 07:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414970880001,"power":28017,"unknown_139":206,"unknown_81":20992,"ignition":58,"odometer":null,"unknown_45":3298534912241715200}} 
[2026-07-01 07:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":118792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:27:37] local.INFO: GPS data processed {"connection_id":118792,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:27:37] local.INFO: Acknowledgment sent {"connection_id":118792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:27:55] local.INFO: TCP Data received {"connection_id":120658,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b650c78012d82784005d92648000b015425..."} 
[2026-07-01 07:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b650c78012d82784005d92648000b015425..."} 
[2026-07-01 07:27:55] local.INFO: Processing buffer {"connection_id":120658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b650c78012d82784005d92648000b015425..."} 
[2026-07-01 07:27:55] local.INFO: Packet analysis {"connection_id":120658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b65"} 
[2026-07-01 07:27:55] local.INFO: Extracted packet for processing {"connection_id":120658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b65"} 
[2026-07-01 07:27:55] local.INFO: GPS Element Parsed {"raw_longitude":763525184,"raw_latitude":98117192,"longitude_deg":76.3525184,"latitude_deg":9.8117192,"altitude":11,"angle":340,"satellites":37,"speed":56,"hex_longitude":"2d827840","hex_latitude":"05d92648","is_valid_coordinates":true} 
[2026-07-01 07:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414983680001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101123179623219200,"note":"Value kept but may cause issues"} 
[2026-07-01 07:27:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9043509501620426752,"note":"Value kept but may cause issues"} 
[2026-07-01 07:27: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-01 07:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782871035000,"timestamp_ms":1782871035000,"timestamp_seconds":1782871035,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b650c78"} 
[2026-07-01 07:27:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:27:55] 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-01 07:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-01 07:27:55] 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-01 07:27:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:27:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":120658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":120658,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":120658,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:27:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414983680001,"66":13254,"47":206,"85":15104,"24":56,"16":101123179623219200,"45":-9043509501620426752},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-07-01 07:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414983680001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:27:55] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-01 07:27:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101123179623219200,"km_value":101123179623219.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:27:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9043509501620426752,"description":"Unknown IO ID 45"} 
[2026-07-01 07:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414983680001,"power":13254,"unknown_47":206,"unknown_85":15104,"ignition":56,"odometer":null,"unknown_45":-9043509501620426752}} 
[2026-07-01 07:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":120658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416391,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:27:55] local.INFO: GPS data processed {"connection_id":120658,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:27:55] local.INFO: Acknowledgment sent {"connection_id":120658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:28:18] local.INFO: TCP Data received {"connection_id":118901,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:28:18] local.INFO: Processing buffer {"connection_id":118901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:28:18] local.INFO: IMEI packet received {"connection_id":118901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 07:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":118901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:28:19] local.INFO: TCP Data received {"connection_id":120659,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120659,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:28:19] local.INFO: Processing buffer {"connection_id":120659,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:28:19] local.INFO: IMEI packet received {"connection_id":120659,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 07:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":120659,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:28:21] local.INFO: TCP Data received {"connection_id":118901,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:28:21] local.INFO: Processing buffer {"connection_id":118901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:28:21] local.INFO: IMEI packet received {"connection_id":118901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:28:21] local.INFO: IMEI acknowledgment sent {"connection_id":118901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:28:24] local.INFO: TCP Data received {"connection_id":120659,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120659,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:28:24] local.INFO: Processing buffer {"connection_id":120659,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:28:24] local.INFO: IMEI packet received {"connection_id":120659,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":120659,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:28:25] local.INFO: TCP Data received {"connection_id":118901,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:28:25] local.INFO: Processing buffer {"connection_id":118901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:28:25] local.INFO: IMEI packet received {"connection_id":118901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":118901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:28:26] local.INFO: TCP Data received {"connection_id":118901,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b646868012d2da64006bba790001401482d..."} 
[2026-07-01 07:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b646868012d2da64006bba790001401482d..."} 
[2026-07-01 07:28:26] local.INFO: Processing buffer {"connection_id":118901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b646868012d2da64006bba790001401482d..."} 
[2026-07-01 07:28:26] local.INFO: Packet analysis {"connection_id":118901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b64"} 
[2026-07-01 07:28:26] local.INFO: Extracted packet for processing {"connection_id":118901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b64"} 
[2026-07-01 07:28:26] local.INFO: GPS Element Parsed {"raw_longitude":757966400,"raw_latitude":112961424,"longitude_deg":75.79664,"latitude_deg":11.2961424,"altitude":20,"angle":328,"satellites":45,"speed":55,"hex_longitude":"2d2da640","hex_latitude":"06bba790","is_valid_coordinates":true} 
[2026-07-01 07:28:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:28:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414972416001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:28:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332915722705436672,"note":"Value kept but may cause issues"} 
[2026-07-01 07:28:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3294312787593138176,"note":"Value kept but may cause issues"} 
[2026-07-01 07:28:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:28:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782870993000,"timestamp_ms":1782870993000,"timestamp_seconds":1782870993,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b646868"} 
[2026-07-01 07:28:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:28: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-01 07:28:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-01 07:28:26] 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-01 07:28:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:28:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:28:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:28:26] local.INFO: Teltonika packet parsed successfully {"connection_id":118901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:28:26] local.INFO: Passing IMEI to GPS processor {"connection_id":118901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:28:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":118901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:28:26] 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-01 07:28:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:28:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:28:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414972416001,"66":27800,"139":206,"81":20992,"24":55,"16":332915722705436672,"45":3294312787593138176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,81,24,16,45]} 
[2026-07-01 07:28:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:28:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:28:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414972416001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:28:26] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-07-01 07:28:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-07-01 07:28:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332915722705436672,"km_value":332915722705436.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:28:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3294312787593138176,"description":"Unknown IO ID 45"} 
[2026-07-01 07:28:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414972416001,"power":27800,"unknown_139":206,"unknown_81":20992,"ignition":55,"odometer":null,"unknown_45":3294312787593138176}} 
[2026-07-01 07:28:26] local.INFO: DEBUG: GPS processor result {"connection_id":118901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:28:26] local.INFO: GPS data processed {"connection_id":118901,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:28:26] local.INFO: Acknowledgment sent {"connection_id":118901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:28:31] local.INFO: TCP Data received {"connection_id":119561,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119561,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:28:31] local.INFO: Processing buffer {"connection_id":119561,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:28:31] local.INFO: IMEI packet received {"connection_id":119561,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 07:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":119561,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:28:32] local.INFO: TCP Data received {"connection_id":120659,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b6523e8012d826c0005d946f0000a015425..."} 
[2026-07-01 07:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b6523e8012d826c0005d946f0000a015425..."} 
[2026-07-01 07:28:32] local.INFO: Processing buffer {"connection_id":120659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b6523e8012d826c0005d946f0000a015425..."} 
[2026-07-01 07:28:32] local.INFO: Packet analysis {"connection_id":120659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b65"} 
[2026-07-01 07:28:32] local.INFO: Extracted packet for processing {"connection_id":120659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b65"} 
[2026-07-01 07:28:32] local.INFO: GPS Element Parsed {"raw_longitude":763522048,"raw_latitude":98125552,"longitude_deg":76.3522048,"latitude_deg":9.8125552,"altitude":10,"angle":340,"satellites":37,"speed":59,"hex_longitude":"2d826c00","hex_latitude":"05d946f0","is_valid_coordinates":true} 
[2026-07-01 07:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414984960001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101123609119948800,"note":"Value kept but may cause issues"} 
[2026-07-01 07:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9045409457711462400,"note":"Value kept but may cause issues"} 
[2026-07-01 07:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782871041000,"timestamp_ms":1782871041000,"timestamp_seconds":1782871041,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b6523e8"} 
[2026-07-01 07:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:28:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-01 07: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-01 07:28:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":120659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":120659,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":120659,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414984960001,"66":13276,"47":206,"85":15104,"24":59,"16":101123609119948800,"45":-9045409457711462400},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-07-01 07:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414984960001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:28:32] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-01 07:28:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101123609119948800,"km_value":101123609119948.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9045409457711462400,"description":"Unknown IO ID 45"} 
[2026-07-01 07:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414984960001,"power":13276,"unknown_47":206,"unknown_85":15104,"ignition":59,"odometer":null,"unknown_45":-9045409457711462400}} 
[2026-07-01 07:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":120659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416393,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:28:32] local.INFO: GPS data processed {"connection_id":120659,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:28:32] local.INFO: Acknowledgment sent {"connection_id":120659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:29:04] local.INFO: TCP Data received {"connection_id":118901,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b65d3b0012d2c4e0006bd31280013013d2d..."} 
[2026-07-01 07:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b65d3b0012d2c4e0006bd31280013013d2d..."} 
[2026-07-01 07:29:04] local.INFO: Processing buffer {"connection_id":118901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b65d3b0012d2c4e0006bd31280013013d2d..."} 
[2026-07-01 07:29:04] local.INFO: Packet analysis {"connection_id":118901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b65"} 
[2026-07-01 07:29:04] local.INFO: Extracted packet for processing {"connection_id":118901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b65"} 
[2026-07-01 07:29:04] local.INFO: GPS Element Parsed {"raw_longitude":757878272,"raw_latitude":113062184,"longitude_deg":75.7878272,"latitude_deg":11.3062184,"altitude":19,"angle":317,"satellites":45,"speed":54,"hex_longitude":"2d2c4e00","hex_latitude":"06bd3128","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456414996224001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332922165156380672,"note":"Value kept but may cause issues"} 
[2026-07-01 07:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3199596457956380672,"note":"Value kept but may cause issues"} 
[2026-07-01 07:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782871086000,"timestamp_ms":1782871086000,"timestamp_seconds":1782871086,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b65d3b0"} 
[2026-07-01 07: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-01 07:29: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-01 07: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 07:29:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07: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-01 07: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-01 07:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":118901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":118901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":118901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:29:04] 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-01 07:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456414996224001,"66":27767,"124":206,"81":20992,"24":54,"16":332922165156380672,"45":3199596457956380672},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,81,24,16,45]} 
[2026-07-01 07:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456414996224001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:29:04] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-07-01 07:29:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-07-01 07:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332922165156380672,"km_value":332922165156380.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3199596457956380672,"description":"Unknown IO ID 45"} 
[2026-07-01 07:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456414996224001,"power":27767,"unknown_124":206,"unknown_81":20992,"ignition":54,"odometer":null,"unknown_45":3199596457956380672}} 
[2026-07-01 07:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":118901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:29:04] local.INFO: GPS data processed {"connection_id":118901,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:29:04] local.INFO: Acknowledgment sent {"connection_id":118901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:29:04] local.INFO: TCP Data received {"connection_id":120659,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b669ed0012d821a4005da8e780005013024..."} 
[2026-07-01 07:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b669ed0012d821a4005da8e780005013024..."} 
[2026-07-01 07:29:04] local.INFO: Processing buffer {"connection_id":120659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b669ed0012d821a4005da8e780005013024..."} 
[2026-07-01 07:29:04] local.INFO: Packet analysis {"connection_id":120659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b66"} 
[2026-07-01 07:29:04] local.INFO: Extracted packet for processing {"connection_id":120659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b66"} 
[2026-07-01 07:29:04] local.INFO: GPS Element Parsed {"raw_longitude":763501120,"raw_latitude":98209400,"longitude_deg":76.350112,"latitude_deg":9.82094,"altitude":5,"angle":304,"satellites":36,"speed":21,"hex_longitude":"2d821a40","hex_latitude":"05da8e78","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415010816001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101127839662735360,"note":"Value kept but may cause issues"} 
[2026-07-01 07:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9070882943080388608,"note":"Value kept but may cause issues"} 
[2026-07-01 07:29: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-01 07:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782871138000,"timestamp_ms":1782871138000,"timestamp_seconds":1782871138,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b669ed0"} 
[2026-07-01 07: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-01 07:29:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-01 07:29: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-01 07: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-01 07: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-01 07:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":120659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":120659,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":120659,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415010816001,"66":12613,"71":206,"85":15104,"24":21,"16":101127839662735360,"45":-9070882943080388608},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-01 07:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415010816001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:29:04] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-01 07:29:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101127839662735360,"km_value":101127839662735.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9070882943080388608,"description":"Unknown IO ID 45"} 
[2026-07-01 07:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415010816001,"power":12613,"unknown_71":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":-9070882943080388608}} 
[2026-07-01 07:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":120659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416395,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:29:04] local.INFO: GPS data processed {"connection_id":120659,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:29:04] local.INFO: Acknowledgment sent {"connection_id":120659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:29:16] local.INFO: TCP Data received {"connection_id":118793,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118793,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:29:16] local.INFO: Processing buffer {"connection_id":118793,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:29:16] local.INFO: IMEI packet received {"connection_id":118793,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 07:29:16] local.INFO: IMEI acknowledgment sent {"connection_id":118793,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:29:19] local.INFO: TCP Data received {"connection_id":119562,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119562,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:29:19] local.INFO: Processing buffer {"connection_id":119562,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:29:19] local.INFO: IMEI packet received {"connection_id":119562,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 07:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":119562,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:29:22] local.INFO: TCP Data received {"connection_id":118902,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:29:22] local.INFO: Processing buffer {"connection_id":118902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:29:22] local.INFO: IMEI packet received {"connection_id":118902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 07:29:22] local.INFO: IMEI acknowledgment sent {"connection_id":118902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:29:23] local.INFO: TCP Data received {"connection_id":119562,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119562,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:29:23] local.INFO: Processing buffer {"connection_id":119562,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:29:23] local.INFO: IMEI packet received {"connection_id":119562,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":119562,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:29:24] local.INFO: TCP Data received {"connection_id":119562,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b66a2b8012d8218c005da8f080005011f25..."} 
[2026-07-01 07:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b66a2b8012d8218c005da8f080005011f25..."} 
[2026-07-01 07:29:24] local.INFO: Processing buffer {"connection_id":119562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b66a2b8012d8218c005da8f080005011f25..."} 
[2026-07-01 07:29:24] local.INFO: Packet analysis {"connection_id":119562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b66"} 
[2026-07-01 07:29:24] local.INFO: Extracted packet for processing {"connection_id":119562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b66"} 
[2026-07-01 07:29:24] local.INFO: GPS Element Parsed {"raw_longitude":763500736,"raw_latitude":98209544,"longitude_deg":76.3500736,"latitude_deg":9.8209544,"altitude":5,"angle":287,"satellites":37,"speed":17,"hex_longitude":"2d8218c0","hex_latitude":"05da8f08","is_valid_coordinates":true} 
[2026-07-01 07:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:29:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415011328001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:29:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101127856842604544,"note":"Value kept but may cause issues"} 
[2026-07-01 07:29:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9071868105498658816,"note":"Value kept but may cause issues"} 
[2026-07-01 07:29:24] 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-01 07:29:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782871139000,"timestamp_ms":1782871139000,"timestamp_seconds":1782871139,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b66a2b8"} 
[2026-07-01 07:29:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:29:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-01 07:29:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-01 07:29:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:29:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:29:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:29:24] local.INFO: Teltonika packet parsed successfully {"connection_id":119562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:29:24] local.INFO: Passing IMEI to GPS processor {"connection_id":119562,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:29:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":119562,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:29:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:29:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:29:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:29:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415011328001,"66":12863,"71":206,"85":15104,"24":17,"16":101127856842604544,"45":-9071868105498658816},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-01 07:29:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:29:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:29:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415011328001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:29:24] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-01 07:29:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:29:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101127856842604544,"km_value":101127856842604.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:29:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9071868105498658816,"description":"Unknown IO ID 45"} 
[2026-07-01 07:29:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415011328001,"power":12863,"unknown_71":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":-9071868105498658816}} 
[2026-07-01 07:29:24] local.INFO: DEBUG: GPS processor result {"connection_id":119562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416396,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:29:24] local.INFO: GPS data processed {"connection_id":119562,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:29:24] local.INFO: Acknowledgment sent {"connection_id":119562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:29:26] local.INFO: TCP Data received {"connection_id":118902,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:29:26] local.INFO: Processing buffer {"connection_id":118902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:29:26] local.INFO: IMEI packet received {"connection_id":118902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":118902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:29:27] local.INFO: TCP Data received {"connection_id":118902,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:29:27] local.INFO: Processing buffer {"connection_id":118902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:29:27] local.INFO: IMEI packet received {"connection_id":118902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":118902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:29:30] local.INFO: TCP Data received {"connection_id":118902,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:29:30] local.INFO: Processing buffer {"connection_id":118902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:29:30] local.INFO: IMEI packet received {"connection_id":118902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":118902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:29:55] local.INFO: TCP Data received {"connection_id":119562,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b66a6a0012d8216c005da8f180005010c25..."} 
[2026-07-01 07:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b66a6a0012d8216c005da8f180005010c25..."} 
[2026-07-01 07:29:55] local.INFO: Processing buffer {"connection_id":119562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b66a6a0012d8216c005da8f180005010c25..."} 
[2026-07-01 07:29:55] local.INFO: Packet analysis {"connection_id":119562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b66"} 
[2026-07-01 07:29:55] local.INFO: Extracted packet for processing {"connection_id":119562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b66"} 
[2026-07-01 07:29:55] local.INFO: GPS Element Parsed {"raw_longitude":763500224,"raw_latitude":98209560,"longitude_deg":76.3500224,"latitude_deg":9.820956,"altitude":5,"angle":268,"satellites":37,"speed":18,"hex_longitude":"2d8216c0","hex_latitude":"05da8f18","is_valid_coordinates":true} 
[2026-07-01 07:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415011584001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101127882612408320,"note":"Value kept but may cause issues"} 
[2026-07-01 07:29:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9072290317963687936,"note":"Value kept but may cause issues"} 
[2026-07-01 07:29:55] 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-01 07:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782871140000,"timestamp_ms":1782871140000,"timestamp_seconds":1782871140,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b66a6a0"} 
[2026-07-01 07: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-01 07:29:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-01 07:29:55] 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-01 07: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-01 07: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-01 07:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":119562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":119562,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":119562,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:29:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415011584001,"66":12863,"71":206,"85":15104,"24":18,"16":101127882612408320,"45":-9072290317963687936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-01 07:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415011584001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:29:55] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-01 07:29:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101127882612408320,"km_value":101127882612408.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:29:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9072290317963687936,"description":"Unknown IO ID 45"} 
[2026-07-01 07:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415011584001,"power":12863,"unknown_71":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":-9072290317963687936}} 
[2026-07-01 07:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":119562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416397,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:29:55] local.INFO: GPS data processed {"connection_id":119562,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:29:55] local.INFO: Acknowledgment sent {"connection_id":119562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:30:18] local.INFO: TCP Data received {"connection_id":120661,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120661,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:30:18] local.INFO: Processing buffer {"connection_id":120661,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:30:18] local.INFO: IMEI packet received {"connection_id":120661,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 07:30:18] local.INFO: IMEI acknowledgment sent {"connection_id":120661,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:30:19] local.INFO: TCP Data received {"connection_id":120661,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120661,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:30:19] local.INFO: Processing buffer {"connection_id":120661,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:30:19] local.INFO: IMEI packet received {"connection_id":120661,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":120661,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:30:22] local.INFO: TCP Data received {"connection_id":120661,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120661,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:30:22] local.INFO: Processing buffer {"connection_id":120661,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:30:22] local.INFO: IMEI packet received {"connection_id":120661,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:30:22] local.INFO: IMEI acknowledgment sent {"connection_id":120661,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:30:23] local.INFO: TCP Data received {"connection_id":120661,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120661,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:30:23] local.INFO: Processing buffer {"connection_id":120661,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:30:23] local.INFO: IMEI packet received {"connection_id":120661,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":120661,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:30:27] local.INFO: TCP Data received {"connection_id":120661,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b6771c0012d81648005da88400007014225..."} 
[2026-07-01 07:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b6771c0012d81648005da88400007014225..."} 
[2026-07-01 07:30:27] local.INFO: Processing buffer {"connection_id":120661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b6771c0012d81648005da88400007014225..."} 
[2026-07-01 07:30:27] local.INFO: Packet analysis {"connection_id":120661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b67"} 
[2026-07-01 07:30:27] local.INFO: Extracted packet for processing {"connection_id":120661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b67"} 
[2026-07-01 07:30:27] local.INFO: GPS Element Parsed {"raw_longitude":763454592,"raw_latitude":98207808,"longitude_deg":76.3454592,"latitude_deg":9.8207808,"altitude":7,"angle":322,"satellites":37,"speed":27,"hex_longitude":"2d816480","hex_latitude":"05da8840","is_valid_coordinates":true} 
[2026-07-01 07:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415024896001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101130180419911680,"note":"Value kept but may cause issues"} 
[2026-07-01 07:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9122533601307125760,"note":"Value kept but may cause issues"} 
[2026-07-01 07:30:27] 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-01 07:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782871192000,"timestamp_ms":1782871192000,"timestamp_seconds":1782871192,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b6771c0"} 
[2026-07-01 07:30:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:30:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-01 07:30:27] 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-01 07:30:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:30:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120661,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120661,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:30:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415024896001,"66":13341,"71":206,"85":15104,"24":27,"16":101130180419911680,"45":-9122533601307125760},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-01 07:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415024896001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:30:27] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-01 07:30:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101130180419911680,"km_value":101130180419911.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9122533601307125760,"description":"Unknown IO ID 45"} 
[2026-07-01 07:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415024896001,"power":13341,"unknown_71":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9122533601307125760}} 
[2026-07-01 07:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":120661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416398,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:30:27] local.INFO: GPS data processed {"connection_id":120661,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:30:27] local.INFO: Acknowledgment sent {"connection_id":120661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:30:28] local.INFO: TCP Data received {"connection_id":120661,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b6775a8012d81640005da8b080007015225..."} 
[2026-07-01 07:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b6775a8012d81640005da8b080007015225..."} 
[2026-07-01 07:30:28] local.INFO: Processing buffer {"connection_id":120661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b6775a8012d81640005da8b080007015225..."} 
[2026-07-01 07:30:28] local.INFO: Packet analysis {"connection_id":120661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b67"} 
[2026-07-01 07:30:28] local.INFO: Extracted packet for processing {"connection_id":120661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b67"} 
[2026-07-01 07:30:28] local.INFO: GPS Element Parsed {"raw_longitude":763454464,"raw_latitude":98208520,"longitude_deg":76.3454464,"latitude_deg":9.820852,"altitude":7,"angle":338,"satellites":37,"speed":28,"hex_longitude":"2d816400","hex_latitude":"05da8b08","is_valid_coordinates":true} 
[2026-07-01 07:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415025152001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101130214779650048,"note":"Value kept but may cause issues"} 
[2026-07-01 07:30:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9123026182516228096,"note":"Value kept but may cause issues"} 
[2026-07-01 07:30:28] 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-01 07:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782871193000,"timestamp_ms":1782871193000,"timestamp_seconds":1782871193,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b6775a8"} 
[2026-07-01 07:30:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:30: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-01 07:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-01 07:30:28] 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-01 07:30:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:30:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":120661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":120661,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":120661,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:30:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415025152001,"66":13222,"71":206,"85":15104,"24":28,"16":101130214779650048,"45":-9123026182516228096},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-01 07:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415025152001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:30:28] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-01 07:30:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101130214779650048,"km_value":101130214779650.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:30:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9123026182516228096,"description":"Unknown IO ID 45"} 
[2026-07-01 07:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415025152001,"power":13222,"unknown_71":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9123026182516228096}} 
[2026-07-01 07:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":120661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416399,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:30:28] local.INFO: GPS data processed {"connection_id":120661,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:30:28] local.INFO: Acknowledgment sent {"connection_id":120661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:30:59] local.INFO: TCP Data received {"connection_id":120661,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b679cb8012d81588005daaf380007015225..."} 
[2026-07-01 07:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b679cb8012d81588005daaf380007015225..."} 
[2026-07-01 07:30:59] local.INFO: Processing buffer {"connection_id":120661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b679cb8012d81588005daaf380007015225..."} 
[2026-07-01 07:30:59] local.INFO: Packet analysis {"connection_id":120661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b67"} 
[2026-07-01 07:30:59] local.INFO: Extracted packet for processing {"connection_id":120661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b67"} 
[2026-07-01 07:30:59] local.INFO: GPS Element Parsed {"raw_longitude":763451520,"raw_latitude":98217784,"longitude_deg":76.345152,"latitude_deg":9.8217784,"altitude":7,"angle":338,"satellites":37,"speed":44,"hex_longitude":"2d815880","hex_latitude":"05daaf38","is_valid_coordinates":true} 
[2026-07-01 07:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415025408001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101130687226052608,"note":"Value kept but may cause issues"} 
[2026-07-01 07:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9123166920004401152,"note":"Value kept but may cause issues"} 
[2026-07-01 07:30:59] 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-01 07:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782871203000,"timestamp_ms":1782871203000,"timestamp_seconds":1782871203,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b679cb8"} 
[2026-07-01 07:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:30:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-01 07:30:59] 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-01 07:30:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":120661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":120661,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":120661,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:30:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415025408001,"66":13341,"71":206,"85":15104,"24":44,"16":101130687226052608,"45":-9123166920004401152},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-01 07:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415025408001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:30:59] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-01 07:30:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101130687226052608,"km_value":101130687226052.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9123166920004401152,"description":"Unknown IO ID 45"} 
[2026-07-01 07:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415025408001,"power":13341,"unknown_71":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":-9123166920004401152}} 
[2026-07-01 07:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":120661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416400,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:30:59] local.INFO: GPS data processed {"connection_id":120661,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:30:59] local.INFO: Acknowledgment sent {"connection_id":120661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:31:18] local.INFO: TCP Data received {"connection_id":118796,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118796,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:31:18] local.INFO: Processing buffer {"connection_id":118796,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:31:18] local.INFO: IMEI packet received {"connection_id":118796,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 07:31:18] local.INFO: IMEI acknowledgment sent {"connection_id":118796,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:31:19] local.INFO: TCP Data received {"connection_id":118796,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118796,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:31:19] local.INFO: Processing buffer {"connection_id":118796,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:31:19] local.INFO: IMEI packet received {"connection_id":118796,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":118796,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:31:24] local.INFO: TCP Data received {"connection_id":118796,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118796,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:31:24] local.INFO: Processing buffer {"connection_id":118796,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:31:24] local.INFO: IMEI packet received {"connection_id":118796,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:31:24] local.INFO: IMEI acknowledgment sent {"connection_id":118796,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:31:24] local.INFO: TCP Data received {"connection_id":118796,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b687b60012d80ef0005db90a80003014f23..."} 
[2026-07-01 07:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b687b60012d80ef0005db90a80003014f23..."} 
[2026-07-01 07:31:24] local.INFO: Processing buffer {"connection_id":118796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b687b60012d80ef0005db90a80003014f23..."} 
[2026-07-01 07:31:24] local.INFO: Packet analysis {"connection_id":118796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b68"} 
[2026-07-01 07:31:24] local.INFO: Extracted packet for processing {"connection_id":118796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b68"} 
[2026-07-01 07:31:24] local.INFO: GPS Element Parsed {"raw_longitude":763424512,"raw_latitude":98275496,"longitude_deg":76.3424512,"latitude_deg":9.8275496,"altitude":3,"angle":335,"satellites":35,"speed":41,"hex_longitude":"2d80ef00","hex_latitude":"05db90a8","is_valid_coordinates":true} 
[2026-07-01 07:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415040256001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101133813962244096,"note":"Value kept but may cause issues"} 
[2026-07-01 07:31:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9152369948823365632,"note":"Value kept but may cause issues"} 
[2026-07-01 07:31:24] 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-01 07:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782871260000,"timestamp_ms":1782871260000,"timestamp_seconds":1782871260,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b687b60"} 
[2026-07-01 07:31:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:31:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-01 07:31:24] 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-01 07:31:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:31:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":118796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":118796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":118796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:31:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415040256001,"66":13102,"154":206,"85":15104,"24":41,"16":101133813962244096,"45":-9152369948823365632},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-07-01 07:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415040256001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:31:24] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-01 07:31:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101133813962244096,"km_value":101133813962244.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:31:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9152369948823365632,"description":"Unknown IO ID 45"} 
[2026-07-01 07:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415040256001,"power":13102,"unknown_154":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":-9152369948823365632}} 
[2026-07-01 07:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":118796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416401,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:31:24] local.INFO: GPS data processed {"connection_id":118796,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:31:24] local.INFO: Acknowledgment sent {"connection_id":118796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:31:55] local.INFO: TCP Data received {"connection_id":118796,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b688718012d80e88005db9b300003014321..."} 
[2026-07-01 07:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b688718012d80e88005db9b300003014321..."} 
[2026-07-01 07:31:55] local.INFO: Processing buffer {"connection_id":118796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b688718012d80e88005db9b300003014321..."} 
[2026-07-01 07:31:55] local.INFO: Packet analysis {"connection_id":118796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b68"} 
[2026-07-01 07:31:55] local.INFO: Extracted packet for processing {"connection_id":118796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b68"} 
[2026-07-01 07:31:55] local.INFO: GPS Element Parsed {"raw_longitude":763422848,"raw_latitude":98278192,"longitude_deg":76.3422848,"latitude_deg":9.8278192,"altitude":3,"angle":323,"satellites":33,"speed":40,"hex_longitude":"2d80e880","hex_latitude":"05db9b30","is_valid_coordinates":true} 
[2026-07-01 07:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415042560001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101133964286099456,"note":"Value kept but may cause issues"} 
[2026-07-01 07:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9156099492262402048,"note":"Value kept but may cause issues"} 
[2026-07-01 07:31:55] 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-01 07:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782871263000,"timestamp_ms":1782871263000,"timestamp_seconds":1782871263,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b688718"} 
[2026-07-01 07:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:31:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-01 07:31:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:31:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":118796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":118796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":118796,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415042560001,"66":12874,"154":206,"85":15104,"24":40,"16":101133964286099456,"45":-9156099492262402048},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-07-01 07:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415042560001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:31:55] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-01 07:31:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101133964286099456,"km_value":101133964286099.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9156099492262402048,"description":"Unknown IO ID 45"} 
[2026-07-01 07:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415042560001,"power":12874,"unknown_154":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":-9156099492262402048}} 
[2026-07-01 07:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":118796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416402,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:31:55] local.INFO: GPS data processed {"connection_id":118796,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:31:55] local.INFO: Acknowledgment sent {"connection_id":118796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:32:23] local.INFO: TCP Data received {"connection_id":120665,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120665,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:32:23] local.INFO: Processing buffer {"connection_id":120665,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:32:23] local.INFO: IMEI packet received {"connection_id":120665,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 07:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":120665,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:32:24] local.INFO: TCP Data received {"connection_id":120665,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120665,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:32:24] local.INFO: Processing buffer {"connection_id":120665,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:32:24] local.INFO: IMEI packet received {"connection_id":120665,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":120665,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:32:29] local.INFO: TCP Data received {"connection_id":120665,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120665,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:32:29] local.INFO: Processing buffer {"connection_id":120665,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:32:29] local.INFO: IMEI packet received {"connection_id":120665,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":120665,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:32:30] local.INFO: TCP Data received {"connection_id":120665,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b698cd0012d8067c005dca7b00005012721..."} 
[2026-07-01 07:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b698cd0012d8067c005dca7b00005012721..."} 
[2026-07-01 07:32:30] local.INFO: Processing buffer {"connection_id":120665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b698cd0012d8067c005dca7b00005012721..."} 
[2026-07-01 07:32:30] local.INFO: Packet analysis {"connection_id":120665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b69"} 
[2026-07-01 07:32:30] local.INFO: Extracted packet for processing {"connection_id":120665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b69"} 
[2026-07-01 07:32:30] local.INFO: GPS Element Parsed {"raw_longitude":763389888,"raw_latitude":98346928,"longitude_deg":76.3389888,"latitude_deg":9.8346928,"altitude":5,"angle":295,"satellites":33,"speed":21,"hex_longitude":"2d8067c0","hex_latitude":"05dca7b0","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415060224001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101137675137843200,"note":"Value kept but may cause issues"} 
[2026-07-01 07:32:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9193676401635057664,"note":"Value kept but may cause issues"} 
[2026-07-01 07:32:30] 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-01 07:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782871330000,"timestamp_ms":1782871330000,"timestamp_seconds":1782871330,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b698cd0"} 
[2026-07-01 07: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-01 07:32:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-01 07:32:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07: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-01 07: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-01 07:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":120665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":120665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":120665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:32:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415060224001,"66":13276,"154":206,"85":15104,"24":21,"16":101137675137843200,"45":-9193676401635057664},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-07-01 07:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415060224001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:32:30] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-01 07:32:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101137675137843200,"km_value":101137675137843.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:32:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9193676401635057664,"description":"Unknown IO ID 45"} 
[2026-07-01 07:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415060224001,"power":13276,"unknown_154":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":-9193676401635057664}} 
[2026-07-01 07:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":120665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416403,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:32:30] local.INFO: GPS data processed {"connection_id":120665,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:32:30] local.INFO: Acknowledgment sent {"connection_id":120665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:32:32] local.INFO: TCP Data received {"connection_id":120665,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b6990b8012d80658005dca8300005011722..."} 
[2026-07-01 07:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b6990b8012d80658005dca8300005011722..."} 
[2026-07-01 07:32:32] local.INFO: Processing buffer {"connection_id":120665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b6990b8012d80658005dca8300005011722..."} 
[2026-07-01 07:32:32] local.INFO: Packet analysis {"connection_id":120665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b69"} 
[2026-07-01 07:32:32] local.INFO: Extracted packet for processing {"connection_id":120665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b69"} 
[2026-07-01 07:32:32] local.INFO: GPS Element Parsed {"raw_longitude":763389312,"raw_latitude":98347056,"longitude_deg":76.3389312,"latitude_deg":9.8347056,"altitude":5,"angle":279,"satellites":34,"speed":23,"hex_longitude":"2d806580","hex_latitude":"05dca830","is_valid_coordinates":true} 
[2026-07-01 07:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415060480001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101137705202614272,"note":"Value kept but may cause issues"} 
[2026-07-01 07:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9194168982844231680,"note":"Value kept but may cause issues"} 
[2026-07-01 07:32:32] 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-01 07:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782871331000,"timestamp_ms":1782871331000,"timestamp_seconds":1782871331,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b6990b8"} 
[2026-07-01 07:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:32:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-01 07:32:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:32:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":120665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":120665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":120665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:32:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415060480001,"66":13135,"154":206,"85":15104,"24":23,"16":101137705202614272,"45":-9194168982844231680},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-07-01 07:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415060480001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:32:32] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-01 07:32:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101137705202614272,"km_value":101137705202614.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9194168982844231680,"description":"Unknown IO ID 45"} 
[2026-07-01 07:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415060480001,"power":13135,"unknown_154":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9194168982844231680}} 
[2026-07-01 07:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":120665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416404,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:32:32] local.INFO: GPS data processed {"connection_id":120665,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:32:32] local.INFO: Acknowledgment sent {"connection_id":120665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:33:03] local.INFO: TCP Data received {"connection_id":120665,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b6994a0012d8062c005dca8100004010a22..."} 
[2026-07-01 07:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b6994a0012d8062c005dca8100004010a22..."} 
[2026-07-01 07:33:03] local.INFO: Processing buffer {"connection_id":120665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b6994a0012d8062c005dca8100004010a22..."} 
[2026-07-01 07:33:03] local.INFO: Packet analysis {"connection_id":120665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b69"} 
[2026-07-01 07:33:03] local.INFO: Extracted packet for processing {"connection_id":120665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b69"} 
[2026-07-01 07:33:03] local.INFO: GPS Element Parsed {"raw_longitude":763388608,"raw_latitude":98347024,"longitude_deg":76.3388608,"latitude_deg":9.8347024,"altitude":4,"angle":266,"satellites":34,"speed":26,"hex_longitude":"2d8062c0","hex_latitude":"05dca810","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415060736001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101137735267385344,"note":"Value kept but may cause issues"} 
[2026-07-01 07:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9194802301541797888,"note":"Value kept but may cause issues"} 
[2026-07-01 07:33:03] 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-01 07:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782871332000,"timestamp_ms":1782871332000,"timestamp_seconds":1782871332,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b6994a0"} 
[2026-07-01 07: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-01 07:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-01 07:33:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07: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-01 07: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-01 07:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":120665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":120665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":120665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415060736001,"66":13135,"154":206,"85":15104,"24":26,"16":101137735267385344,"45":-9194802301541797888},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-07-01 07:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415060736001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:33:03] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-01 07:33:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101137735267385344,"km_value":101137735267385.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9194802301541797888,"description":"Unknown IO ID 45"} 
[2026-07-01 07:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415060736001,"power":13135,"unknown_154":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9194802301541797888}} 
[2026-07-01 07:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":120665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416405,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:33:03] local.INFO: GPS data processed {"connection_id":120665,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:33:03] local.INFO: Acknowledgment sent {"connection_id":120665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:33:32] local.INFO: TCP Data received {"connection_id":119565,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119565,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:33:32] local.INFO: Processing buffer {"connection_id":119565,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:33:32] local.INFO: IMEI packet received {"connection_id":119565,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 07:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":119565,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:33:59] local.INFO: TCP Data received {"connection_id":119565,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119565,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:33:59] local.INFO: Processing buffer {"connection_id":119565,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:33:59] local.INFO: IMEI packet received {"connection_id":119565,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":119565,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:34:00] local.INFO: TCP Data received {"connection_id":119565,"ip":"42.106.6.23","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-01 07:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119565,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-01 07:34:00] local.INFO: Processing buffer {"connection_id":119565,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-01 07:34:00] local.INFO: IMEI packet received {"connection_id":119565,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":119565,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:34:30] local.INFO: TCP Data received {"connection_id":118906,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:34:30] local.INFO: Processing buffer {"connection_id":118906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:34:30] local.INFO: IMEI packet received {"connection_id":118906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 07:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":118906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:34:31] local.INFO: TCP Data received {"connection_id":118906,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b6acd20012d27a34006c2d7b0000e014e2c..."} 
[2026-07-01 07:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b6acd20012d27a34006c2d7b0000e014e2c..."} 
[2026-07-01 07:34:31] local.INFO: Processing buffer {"connection_id":118906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b6acd20012d27a34006c2d7b0000e014e2c..."} 
[2026-07-01 07:34:31] local.INFO: Packet analysis {"connection_id":118906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b6a"} 
[2026-07-01 07:34:31] local.INFO: Extracted packet for processing {"connection_id":118906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b6a"} 
[2026-07-01 07:34:31] local.INFO: GPS Element Parsed {"raw_longitude":757572416,"raw_latitude":113432496,"longitude_deg":75.7572416,"latitude_deg":11.3432496,"altitude":14,"angle":334,"satellites":44,"speed":59,"hex_longitude":"2d27a340","hex_latitude":"06c2d7b0","is_valid_coordinates":true} 
[2026-07-01 07:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415079936001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332945418109321216,"note":"Value kept but may cause issues"} 
[2026-07-01 07:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2860348742370299904,"note":"Value kept but may cause issues"} 
[2026-07-01 07:34:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782871412000,"timestamp_ms":1782871412000,"timestamp_seconds":1782871412,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b6acd20"} 
[2026-07-01 07:34:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:34:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 07:34:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:34:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:34:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":118906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":118906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":118906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:34:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415079936001,"66":27571,"230":206,"81":20992,"24":59,"16":332945418109321216,"45":2860348742370299904},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,81,24,16,45]} 
[2026-07-01 07:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415079936001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:34:31] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-07-01 07:34:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-07-01 07:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332945418109321216,"km_value":332945418109321.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":2860348742370299904,"description":"Unknown IO ID 45"} 
[2026-07-01 07:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415079936001,"power":27571,"unknown_230":206,"unknown_81":20992,"ignition":59,"odometer":null,"unknown_45":2860348742370299904}} 
[2026-07-01 07:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":118906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:34:31] local.INFO: GPS data processed {"connection_id":118906,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:34:31] local.INFO: Acknowledgment sent {"connection_id":118906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:34:40] local.INFO: TCP Data received {"connection_id":118904,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118904,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:34:40] local.INFO: Processing buffer {"connection_id":118904,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:34:40] local.INFO: IMEI packet received {"connection_id":118904,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 07:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":118904,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:35:03] local.INFO: TCP Data received {"connection_id":118906,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b6ae490012d27944006c2f768000f014e2d..."} 
[2026-07-01 07:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b6ae490012d27944006c2f768000f014e2d..."} 
[2026-07-01 07:35:03] local.INFO: Processing buffer {"connection_id":118906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b6ae490012d27944006c2f768000f014e2d..."} 
[2026-07-01 07:35:03] local.INFO: Packet analysis {"connection_id":118906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b6a"} 
[2026-07-01 07:35:03] local.INFO: Extracted packet for processing {"connection_id":118906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b6a"} 
[2026-07-01 07:35:03] local.INFO: GPS Element Parsed {"raw_longitude":757568576,"raw_latitude":113440616,"longitude_deg":75.7568576,"latitude_deg":11.3440616,"altitude":15,"angle":334,"satellites":45,"speed":58,"hex_longitude":"2d279440","hex_latitude":"06c2f768","is_valid_coordinates":true} 
[2026-07-01 07:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415081472001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332945851901018112,"note":"Value kept but may cause issues"} 
[2026-07-01 07:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2856196986465923072,"note":"Value kept but may cause issues"} 
[2026-07-01 07:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782871418000,"timestamp_ms":1782871418000,"timestamp_seconds":1782871418,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b6ae490"} 
[2026-07-01 07:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:35:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-01 07:35:03] 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-01 07:35:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":118906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":118906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":118906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:35:03] 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-01 07:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415081472001,"66":27832,"230":206,"81":20992,"24":58,"16":332945851901018112,"45":2856196986465923072},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,81,24,16,45]} 
[2026-07-01 07:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415081472001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:35:03] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-07-01 07:35:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-07-01 07:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332945851901018112,"km_value":332945851901018.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":2856196986465923072,"description":"Unknown IO ID 45"} 
[2026-07-01 07:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415081472001,"power":27832,"unknown_230":206,"unknown_81":20992,"ignition":58,"odometer":null,"unknown_45":2856196986465923072}} 
[2026-07-01 07:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":118906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:35:03] local.INFO: GPS data processed {"connection_id":118906,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:35:03] local.INFO: Acknowledgment sent {"connection_id":118906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:35:16] local.INFO: TCP Data received {"connection_id":120666,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120666,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:35:16] local.INFO: Processing buffer {"connection_id":120666,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:35:16] local.INFO: IMEI packet received {"connection_id":120666,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 07:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":120666,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:35:21] local.INFO: TCP Data received {"connection_id":118907,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:35:21] local.INFO: Processing buffer {"connection_id":118907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:35:21] local.INFO: IMEI packet received {"connection_id":118907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 07:35:21] local.INFO: IMEI acknowledgment sent {"connection_id":118907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:35:33] local.INFO: TCP Data received {"connection_id":118907,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:35:33] local.INFO: Processing buffer {"connection_id":118907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:35:33] local.INFO: IMEI packet received {"connection_id":118907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":118907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:35:42] local.INFO: TCP Data received {"connection_id":118907,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b6affe8012d27834006c31ba8000f014e2d..."} 
[2026-07-01 07:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b6affe8012d27834006c31ba8000f014e2d..."} 
[2026-07-01 07:35:42] local.INFO: Processing buffer {"connection_id":118907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b6affe8012d27834006c31ba8000f014e2d..."} 
[2026-07-01 07:35:42] local.INFO: Packet analysis {"connection_id":118907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b6a"} 
[2026-07-01 07:35:42] local.INFO: Extracted packet for processing {"connection_id":118907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b6a"} 
[2026-07-01 07:35:42] local.INFO: GPS Element Parsed {"raw_longitude":757564224,"raw_latitude":113449896,"longitude_deg":75.7564224,"latitude_deg":11.3449896,"altitude":15,"angle":334,"satellites":45,"speed":58,"hex_longitude":"2d278340","hex_latitude":"06c31ba8","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415083008001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332946345822257152,"note":"Value kept but may cause issues"} 
[2026-07-01 07:35:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2851974861817341952,"note":"Value kept but may cause issues"} 
[2026-07-01 07:35:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782871425000,"timestamp_ms":1782871425000,"timestamp_seconds":1782871425,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b6affe8"} 
[2026-07-01 07: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-01 07:35:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-01 07:35:42] 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-01 07: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-01 07: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-01 07:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":118907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":118907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":118907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07: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-01 07:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415083008001,"66":27745,"230":206,"81":20992,"24":58,"16":332946345822257152,"45":2851974861817341952},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,81,24,16,45]} 
[2026-07-01 07:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415083008001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:35:42] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-07-01 07:35:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-07-01 07:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332946345822257152,"km_value":332946345822257.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:35:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":2851974861817341952,"description":"Unknown IO ID 45"} 
[2026-07-01 07:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415083008001,"power":27745,"unknown_230":206,"unknown_81":20992,"ignition":58,"odometer":null,"unknown_45":2851974861817341952}} 
[2026-07-01 07:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":118907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:35:42] local.INFO: GPS data processed {"connection_id":118907,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:35:42] local.INFO: Acknowledgment sent {"connection_id":118907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:36:25] local.INFO: TCP Data received {"connection_id":119566,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:36:25] local.INFO: Processing buffer {"connection_id":119566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:36:25] local.INFO: IMEI packet received {"connection_id":119566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 07:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":119566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:36:27] local.INFO: TCP Data received {"connection_id":119566,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:36:27] local.INFO: Processing buffer {"connection_id":119566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:36:27] local.INFO: IMEI packet received {"connection_id":119566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":119566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:36:37] local.INFO: TCP Data received {"connection_id":119566,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:36:37] local.INFO: Processing buffer {"connection_id":119566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:36:37] local.INFO: IMEI packet received {"connection_id":119566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:36:37] local.INFO: IMEI acknowledgment sent {"connection_id":119566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:37:21] local.INFO: TCP Data received {"connection_id":119566,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b6c5f78012d26a98006c4cad8000c013e2f..."} 
[2026-07-01 07:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b6c5f78012d26a98006c4cad8000c013e2f..."} 
[2026-07-01 07:37:21] local.INFO: Processing buffer {"connection_id":119566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b6c5f78012d26a98006c4cad8000c013e2f..."} 
[2026-07-01 07:37:21] local.INFO: Packet analysis {"connection_id":119566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b6c"} 
[2026-07-01 07:37:21] local.INFO: Extracted packet for processing {"connection_id":119566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b6c"} 
[2026-07-01 07:37:21] local.INFO: GPS Element Parsed {"raw_longitude":757508480,"raw_latitude":113560280,"longitude_deg":75.750848,"latitude_deg":11.356028,"altitude":12,"angle":318,"satellites":47,"speed":59,"hex_longitude":"2d26a980","hex_latitude":"06c4cad8","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415106304001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332952333006667776,"note":"Value kept but may cause issues"} 
[2026-07-01 07:37:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2792231798039343104,"note":"Value kept but may cause issues"} 
[2026-07-01 07:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782871515000,"timestamp_ms":1782871515000,"timestamp_seconds":1782871515,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b6c5f78"} 
[2026-07-01 07: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-01 07:37: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-01 07: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 07:37:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07: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-01 07: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-01 07:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":119566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":119566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":119566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:37:21] 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-01 07:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415106304001,"66":27865,"85":206,"81":20992,"24":59,"16":332952333006667776,"45":2792231798039343104},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,81,24,16,45]} 
[2026-07-01 07:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415106304001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:37:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-07-01 07:37:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-07-01 07:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332952333006667776,"km_value":332952333006667.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:37:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2792231798039343104,"description":"Unknown IO ID 45"} 
[2026-07-01 07:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415106304001,"power":27865,"unknown_85":206,"unknown_81":20992,"ignition":59,"odometer":null,"unknown_45":2792231798039343104}} 
[2026-07-01 07:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":119566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:37:21] local.INFO: GPS data processed {"connection_id":119566,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:37:21] local.INFO: Acknowledgment sent {"connection_id":119566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:37:22] local.INFO: TCP Data received {"connection_id":118799,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:37:22] local.INFO: Processing buffer {"connection_id":118799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:37:22] local.INFO: IMEI packet received {"connection_id":118799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 07:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":118799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:37:26] local.INFO: TCP Data received {"connection_id":118799,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:37:26] local.INFO: Processing buffer {"connection_id":118799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:37:26] local.INFO: IMEI packet received {"connection_id":118799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":118799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:37:28] local.INFO: TCP Data received {"connection_id":118799,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:37:28] local.INFO: Processing buffer {"connection_id":118799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:37:28] local.INFO: IMEI packet received {"connection_id":118799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":118799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:37:29] local.INFO: TCP Data received {"connection_id":118799,"ip":"42.106.6.25","data_length":93,"data_hex":"00000000000000518e010000019f1b6d74d0012d25a34006c60a10000c01472e..."} 
[2026-07-01 07:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118799,"packet_length":93,"packet_hex":"00000000000000518e010000019f1b6d74d0012d25a34006c60a10000c01472e..."} 
[2026-07-01 07:37:29] local.INFO: Processing buffer {"connection_id":118799,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f1b6d74d0012d25a34006c60a10000c01472e..."} 
[2026-07-01 07:37:29] local.INFO: Packet analysis {"connection_id":118799,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f1b6d"} 
[2026-07-01 07:37:29] local.INFO: Extracted packet for processing {"connection_id":118799,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f1b6d"} 
[2026-07-01 07:37:29] local.INFO: GPS Element Parsed {"raw_longitude":757441344,"raw_latitude":113642000,"longitude_deg":75.7441344,"latitude_deg":11.3642,"altitude":12,"angle":327,"satellites":46,"speed":59,"hex_longitude":"2d25a340","hex_latitude":"06c60a10","is_valid_coordinates":true} 
[2026-07-01 07: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":93,"current_offset":40} 
[2026-07-01 07:37:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:37:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:37:29] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:37:29] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-01 07:37:29] local.INFO: Teltonika packet parsed successfully {"connection_id":118799,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-01 07:37:29] local.INFO: Passing IMEI to GPS processor {"connection_id":118799,"device_imei":"862567074773115","avl_records_count":0} 
[2026-07-01 07:37:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":118799,"device_imei":"862567074773115","avl_records_count":0} 
[2026-07-01 07:37:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-01 07:37:29] local.WARNING: DEBUG: No valid data to process  
[2026-07-01 07:37:29] local.INFO: DEBUG: GPS processor result {"connection_id":118799,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-01 07:37:29] local.ERROR: GPS data processing failed {"connection_id":118799,"error":"No valid data to process"} 
[2026-07-01 07:37:29] local.INFO: Acknowledgment sent {"connection_id":118799,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-01 07:37:31] local.INFO: TCP Data received {"connection_id":118799,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b6d8c40012d2590c006c628a0000c014a2e..."} 
[2026-07-01 07:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b6d8c40012d2590c006c628a0000c014a2e..."} 
[2026-07-01 07:37:31] local.INFO: Processing buffer {"connection_id":118799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b6d8c40012d2590c006c628a0000c014a2e..."} 
[2026-07-01 07:37:31] local.INFO: Packet analysis {"connection_id":118799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b6d"} 
[2026-07-01 07:37:31] local.INFO: Extracted packet for processing {"connection_id":118799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b6d"} 
[2026-07-01 07:37:31] local.INFO: GPS Element Parsed {"raw_longitude":757436608,"raw_latitude":113649824,"longitude_deg":75.7436608,"latitude_deg":11.3649824,"altitude":12,"angle":330,"satellites":46,"speed":60,"hex_longitude":"2d2590c0","hex_latitude":"06c628a0","is_valid_coordinates":true} 
[2026-07-01 07:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415126016001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332957869219512320,"note":"Value kept but may cause issues"} 
[2026-07-01 07:37:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2712081798443700224,"note":"Value kept but may cause issues"} 
[2026-07-01 07:37:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782871592000,"timestamp_ms":1782871592000,"timestamp_seconds":1782871592,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b6d8c40"} 
[2026-07-01 07:37:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:37:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 07:37:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:37:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:37:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":118799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":118799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":118799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:37:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415126016001,"66":27908,"135":206,"81":20992,"24":60,"16":332957869219512320,"45":2712081798443700224},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,81,24,16,45]} 
[2026-07-01 07:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415126016001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:37:31] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-01 07:37:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-07-01 07:37:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332957869219512320,"km_value":332957869219512.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:37:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":2712081798443700224,"description":"Unknown IO ID 45"} 
[2026-07-01 07:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415126016001,"power":27908,"unknown_135":206,"unknown_81":20992,"ignition":60,"odometer":null,"unknown_45":2712081798443700224}} 
[2026-07-01 07:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":118799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:37:31] local.INFO: GPS data processed {"connection_id":118799,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:37:31] local.INFO: Acknowledgment sent {"connection_id":118799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:38:02] local.INFO: TCP Data received {"connection_id":118799,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b6da3b0012d257f8006c64788000c014b2e..."} 
[2026-07-01 07:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b6da3b0012d257f8006c64788000c014b2e..."} 
[2026-07-01 07:38:02] local.INFO: Processing buffer {"connection_id":118799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b6da3b0012d257f8006c64788000c014b2e..."} 
[2026-07-01 07:38:02] local.INFO: Packet analysis {"connection_id":118799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b6d"} 
[2026-07-01 07:38:02] local.INFO: Extracted packet for processing {"connection_id":118799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b6d"} 
[2026-07-01 07:38:02] local.INFO: GPS Element Parsed {"raw_longitude":757432192,"raw_latitude":113657736,"longitude_deg":75.7432192,"latitude_deg":11.3657736,"altitude":12,"angle":331,"satellites":46,"speed":59,"hex_longitude":"2d257f80","hex_latitude":"06c64788","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415127552001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332958307306176512,"note":"Value kept but may cause issues"} 
[2026-07-01 07:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2706874511376556032,"note":"Value kept but may cause issues"} 
[2026-07-01 07:38:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782871598000,"timestamp_ms":1782871598000,"timestamp_seconds":1782871598,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b6da3b0"} 
[2026-07-01 07: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-01 07:38:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 07:38:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07: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-01 07: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-01 07:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":118799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":118799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":118799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:38:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415127552001,"66":27767,"135":206,"81":20992,"24":59,"16":332958307306176512,"45":2706874511376556032},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,81,24,16,45]} 
[2026-07-01 07:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415127552001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:38:02] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-01 07:38:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-07-01 07:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332958307306176512,"km_value":332958307306176.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":2706874511376556032,"description":"Unknown IO ID 45"} 
[2026-07-01 07:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415127552001,"power":27767,"unknown_135":206,"unknown_81":20992,"ignition":59,"odometer":null,"unknown_45":2706874511376556032}} 
[2026-07-01 07:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":118799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:38:02] local.INFO: GPS data processed {"connection_id":118799,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:38:02] local.INFO: Acknowledgment sent {"connection_id":118799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:38:21] local.INFO: TCP Data received {"connection_id":118908,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:38:21] local.INFO: Processing buffer {"connection_id":118908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:38:21] local.INFO: IMEI packet received {"connection_id":118908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 07:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":118908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:38:22] local.INFO: TCP Data received {"connection_id":118908,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:38:22] local.INFO: Processing buffer {"connection_id":118908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:38:22] local.INFO: IMEI packet received {"connection_id":118908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:38:22] local.INFO: IMEI acknowledgment sent {"connection_id":118908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:38:26] local.INFO: TCP Data received {"connection_id":118908,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:38:26] local.INFO: Processing buffer {"connection_id":118908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:38:26] local.INFO: IMEI packet received {"connection_id":118908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":118908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:38:27] local.INFO: TCP Data received {"connection_id":118908,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b6dbb20012d256e8006c66630000c014b2e..."} 
[2026-07-01 07:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b6dbb20012d256e8006c66630000c014b2e..."} 
[2026-07-01 07:38:27] local.INFO: Processing buffer {"connection_id":118908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b6dbb20012d256e8006c66630000c014b2e..."} 
[2026-07-01 07:38:27] local.INFO: Packet analysis {"connection_id":118908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b6d"} 
[2026-07-01 07:38:27] local.INFO: Extracted packet for processing {"connection_id":118908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b6d"} 
[2026-07-01 07:38:27] local.INFO: GPS Element Parsed {"raw_longitude":757427840,"raw_latitude":113665584,"longitude_deg":75.742784,"latitude_deg":11.3665584,"altitude":12,"angle":331,"satellites":46,"speed":59,"hex_longitude":"2d256e80","hex_latitude":"06c66630","is_valid_coordinates":true} 
[2026-07-01 07:38:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415129088001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332958741097873408,"note":"Value kept but may cause issues"} 
[2026-07-01 07:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2702019068030322688,"note":"Value kept but may cause issues"} 
[2026-07-01 07:38:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782871604000,"timestamp_ms":1782871604000,"timestamp_seconds":1782871604,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b6dbb20"} 
[2026-07-01 07:38:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:38:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:38:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 07:38:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:38:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:38:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:38:27] 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-01 07:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415129088001,"66":27767,"135":206,"81":20992,"24":59,"16":332958741097873408,"45":2702019068030322688},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,81,24,16,45]} 
[2026-07-01 07:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415129088001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:38:27] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-01 07:38:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-07-01 07:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332958741097873408,"km_value":332958741097873.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":2702019068030322688,"description":"Unknown IO ID 45"} 
[2026-07-01 07:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415129088001,"power":27767,"unknown_135":206,"unknown_81":20992,"ignition":59,"odometer":null,"unknown_45":2702019068030322688}} 
[2026-07-01 07:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":118908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:38:27] local.INFO: GPS data processed {"connection_id":118908,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:38:27] local.INFO: Acknowledgment sent {"connection_id":118908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:38:28] local.INFO: TCP Data received {"connection_id":118908,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b6dd290012d255dc006c68518000d014c2e..."} 
[2026-07-01 07:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b6dd290012d255dc006c68518000d014c2e..."} 
[2026-07-01 07:38:28] local.INFO: Processing buffer {"connection_id":118908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b6dd290012d255dc006c68518000d014c2e..."} 
[2026-07-01 07:38:28] local.INFO: Packet analysis {"connection_id":118908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b6d"} 
[2026-07-01 07:38:28] local.INFO: Extracted packet for processing {"connection_id":118908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b6d"} 
[2026-07-01 07:38:28] local.INFO: GPS Element Parsed {"raw_longitude":757423552,"raw_latitude":113673496,"longitude_deg":75.7423552,"latitude_deg":11.3673496,"altitude":13,"angle":332,"satellites":46,"speed":59,"hex_longitude":"2d255dc0","hex_latitude":"06c68518","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:38:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415130624001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:38:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332959174889570304,"note":"Value kept but may cause issues"} 
[2026-07-01 07:38:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2697233993428250624,"note":"Value kept but may cause issues"} 
[2026-07-01 07:38:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:38:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782871610000,"timestamp_ms":1782871610000,"timestamp_seconds":1782871610,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b6dd290"} 
[2026-07-01 07: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-01 07:38:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 07:38:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07: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-01 07: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-01 07:38:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:38:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:38:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:38:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:38:28] 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-01 07:38:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:38:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:38:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415130624001,"66":27821,"78":206,"81":22528,"24":59,"16":332959174889570304,"45":2697233993428250624},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-07-01 07:38:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:38:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:38:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415130624001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:38:28] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-07-01 07:38:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-07-01 07:38:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332959174889570304,"km_value":332959174889570.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:38:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":2697233993428250624,"description":"Unknown IO ID 45"} 
[2026-07-01 07:38:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415130624001,"power":27821,"unknown_78":206,"unknown_81":22528,"ignition":59,"odometer":null,"unknown_45":2697233993428250624}} 
[2026-07-01 07:38:28] local.INFO: DEBUG: GPS processor result {"connection_id":118908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:38:28] local.INFO: GPS data processed {"connection_id":118908,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:38:28] local.INFO: Acknowledgment sent {"connection_id":118908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:38:59] local.INFO: TCP Data received {"connection_id":118908,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b6ee7e8012d24d58006c80808000a01562f..."} 
[2026-07-01 07:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b6ee7e8012d24d58006c80808000a01562f..."} 
[2026-07-01 07:38:59] local.INFO: Processing buffer {"connection_id":118908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b6ee7e8012d24d58006c80808000a01562f..."} 
[2026-07-01 07:38:59] local.INFO: Packet analysis {"connection_id":118908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b6e"} 
[2026-07-01 07:38:59] local.INFO: Extracted packet for processing {"connection_id":118908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b6e"} 
[2026-07-01 07:38:59] local.INFO: GPS Element Parsed {"raw_longitude":757388672,"raw_latitude":113772552,"longitude_deg":75.7388672,"latitude_deg":11.3772552,"altitude":10,"angle":342,"satellites":47,"speed":64,"hex_longitude":"2d24d580","hex_latitude":"06c80808","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415148800001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332964315965423616,"note":"Value kept but may cause issues"} 
[2026-07-01 07:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2657405284248707072,"note":"Value kept but may cause issues"} 
[2026-07-01 07:38:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782871681000,"timestamp_ms":1782871681000,"timestamp_seconds":1782871681,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b6ee7e8"} 
[2026-07-01 07: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-01 07:38: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-01 07: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 07:38:59] 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-01 07: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-01 07: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-01 07:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:38:59] 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-01 07:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415148800001,"66":27865,"79":206,"81":22528,"24":64,"16":332964315965423616,"45":2657405284248707072},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,81,24,16,45]} 
[2026-07-01 07:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415148800001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:38:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-07-01 07:38:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-07-01 07:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332964315965423616,"km_value":332964315965423.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":2657405284248707072,"description":"Unknown IO ID 45"} 
[2026-07-01 07:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415148800001,"power":27865,"unknown_79":206,"unknown_81":22528,"ignition":64,"odometer":null,"unknown_45":2657405284248707072}} 
[2026-07-01 07:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":118908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:38:59] local.INFO: GPS data processed {"connection_id":118908,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:38:59] local.INFO: Acknowledgment sent {"connection_id":118908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:39:02] local.INFO: TCP Data received {"connection_id":120671,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120671,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:39:02] local.INFO: Processing buffer {"connection_id":120671,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:39:02] local.INFO: IMEI packet received {"connection_id":120671,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 07:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":120671,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:39:02] local.INFO: TCP Data received {"connection_id":120671,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b6f5d18012d7e0f4005e0cd700004000225..."} 
[2026-07-01 07:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b6f5d18012d7e0f4005e0cd700004000225..."} 
[2026-07-01 07:39:02] local.INFO: Processing buffer {"connection_id":120671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b6f5d18012d7e0f4005e0cd700004000225..."} 
[2026-07-01 07:39:02] local.INFO: Packet analysis {"connection_id":120671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b6f"} 
[2026-07-01 07:39:02] local.INFO: Extracted packet for processing {"connection_id":120671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b6f"} 
[2026-07-01 07:39:02] local.INFO: GPS Element Parsed {"raw_longitude":763236160,"raw_latitude":98618736,"longitude_deg":76.323616,"latitude_deg":9.8618736,"altitude":4,"angle":2,"satellites":37,"speed":29,"hex_longitude":"2d7e0f40","hex_latitude":"05e0cd70","is_valid_coordinates":true} 
[2026-07-01 07:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415157504001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101155031100686336,"note":"Value kept but may cause issues"} 
[2026-07-01 07:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9083619736163954688,"note":"Value kept but may cause issues"} 
[2026-07-01 07:39: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-01 07:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782871711000,"timestamp_ms":1782871711000,"timestamp_seconds":1782871711,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b6f5d18"} 
[2026-07-01 07:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:39:02] local.INFO: 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-01 07:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-01 07:39:02] 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-01 07:39:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":120671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":120671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":120671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415157504001,"66":12863,"207":206,"85":15104,"24":29,"16":101155031100686336,"45":9083619736163954688},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-01 07:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415157504001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:39:02] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-01 07:39:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101155031100686336,"km_value":101155031100686.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9083619736163954688,"description":"Unknown IO ID 45"} 
[2026-07-01 07:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415157504001,"power":12863,"unknown_207":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9083619736163954688}} 
[2026-07-01 07:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":120671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416415,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:39:02] local.INFO: GPS data processed {"connection_id":120671,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:39:02] local.INFO: Acknowledgment sent {"connection_id":120671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:39:18] local.INFO: TCP Data received {"connection_id":119567,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119567,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:39:18] local.INFO: Processing buffer {"connection_id":119567,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:39:18] local.INFO: IMEI packet received {"connection_id":119567,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 07:39:18] local.INFO: IMEI acknowledgment sent {"connection_id":119567,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:39:21] local.INFO: TCP Data received {"connection_id":120672,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:39:21] local.INFO: Processing buffer {"connection_id":120672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:39:21] local.INFO: IMEI packet received {"connection_id":120672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 07:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":120672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:39:22] local.INFO: TCP Data received {"connection_id":120672,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:39:22] local.INFO: Processing buffer {"connection_id":120672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:39:22] local.INFO: IMEI packet received {"connection_id":120672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:39:22] local.INFO: IMEI acknowledgment sent {"connection_id":120672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:39:24] local.INFO: TCP Data received {"connection_id":119567,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119567,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:39:24] local.INFO: Processing buffer {"connection_id":119567,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:39:24] local.INFO: IMEI packet received {"connection_id":119567,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":119567,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:39:24] local.INFO: TCP Data received {"connection_id":119567,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b6f8810012d7e110005e0f0600004016424..."} 
[2026-07-01 07:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b6f8810012d7e110005e0f0600004016424..."} 
[2026-07-01 07:39:24] local.INFO: Processing buffer {"connection_id":119567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b6f8810012d7e110005e0f0600004016424..."} 
[2026-07-01 07:39:24] local.INFO: Packet analysis {"connection_id":119567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b6f"} 
[2026-07-01 07:39:24] local.INFO: Extracted packet for processing {"connection_id":119567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b6f"} 
[2026-07-01 07:39:24] local.INFO: GPS Element Parsed {"raw_longitude":763236608,"raw_latitude":98627680,"longitude_deg":76.3236608,"latitude_deg":9.862768,"altitude":4,"angle":356,"satellites":36,"speed":32,"hex_longitude":"2d7e1100","hex_latitude":"05e0f060","is_valid_coordinates":true} 
[2026-07-01 07:39:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:39:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415158016001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:39:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101155469187350528,"note":"Value kept but may cause issues"} 
[2026-07-01 07:39:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9083549367420153856,"note":"Value kept but may cause issues"} 
[2026-07-01 07:39:24] 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-01 07:39:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782871722000,"timestamp_ms":1782871722000,"timestamp_seconds":1782871722,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b6f8810"} 
[2026-07-01 07:39:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:39: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-01 07:39:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-01 07:39:24] 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-01 07:39:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:39:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:39:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:39:24] local.INFO: Teltonika packet parsed successfully {"connection_id":119567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:39:24] local.INFO: Passing IMEI to GPS processor {"connection_id":119567,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:39:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":119567,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:39:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:39:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:39:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:39:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415158016001,"66":13048,"60":206,"85":15104,"24":32,"16":101155469187350528,"45":9083549367420153856},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-07-01 07:39:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:39:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:39:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415158016001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:39:24] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-01 07:39:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:39:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101155469187350528,"km_value":101155469187350.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:39:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9083549367420153856,"description":"Unknown IO ID 45"} 
[2026-07-01 07:39:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415158016001,"power":13048,"unknown_60":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":9083549367420153856}} 
[2026-07-01 07:39:24] local.INFO: DEBUG: GPS processor result {"connection_id":119567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416416,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:39:24] local.INFO: GPS data processed {"connection_id":119567,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:39:24] local.INFO: Acknowledgment sent {"connection_id":119567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:39:26] local.INFO: TCP Data received {"connection_id":120672,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:39:26] local.INFO: Processing buffer {"connection_id":120672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:39:26] local.INFO: IMEI packet received {"connection_id":120672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":120672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:39:32] local.INFO: TCP Data received {"connection_id":120672,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b6eff58012d24ca0006c82b38000a01552e..."} 
[2026-07-01 07:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b6eff58012d24ca0006c82b38000a01552e..."} 
[2026-07-01 07:39:32] local.INFO: Processing buffer {"connection_id":120672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b6eff58012d24ca0006c82b38000a01552e..."} 
[2026-07-01 07:39:32] local.INFO: Packet analysis {"connection_id":120672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b6e"} 
[2026-07-01 07:39:32] local.INFO: Extracted packet for processing {"connection_id":120672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b6e"} 
[2026-07-01 07:39:32] local.INFO: GPS Element Parsed {"raw_longitude":757385728,"raw_latitude":113781560,"longitude_deg":75.7385728,"latitude_deg":11.378156,"altitude":10,"angle":341,"satellites":46,"speed":60,"hex_longitude":"2d24ca00","hex_latitude":"06c82b38","is_valid_coordinates":true} 
[2026-07-01 07:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415150336001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332964775526924288,"note":"Value kept but may cause issues"} 
[2026-07-01 07:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2654168322018904064,"note":"Value kept but may cause issues"} 
[2026-07-01 07:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782871687000,"timestamp_ms":1782871687000,"timestamp_seconds":1782871687,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b6eff58"} 
[2026-07-01 07:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:39:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 07:39:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:39:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":120672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":120672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":120672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415150336001,"66":27800,"79":206,"81":22528,"24":60,"16":332964775526924288,"45":2654168322018904064},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,81,24,16,45]} 
[2026-07-01 07:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415150336001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:39:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-07-01 07:39:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-07-01 07:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332964775526924288,"km_value":332964775526924.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":2654168322018904064,"description":"Unknown IO ID 45"} 
[2026-07-01 07:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415150336001,"power":27800,"unknown_79":206,"unknown_81":22528,"ignition":60,"odometer":null,"unknown_45":2654168322018904064}} 
[2026-07-01 07:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":120672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:39:32] local.INFO: GPS data processed {"connection_id":120672,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:39:32] local.INFO: Acknowledgment sent {"connection_id":120672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:39:55] local.INFO: TCP Data received {"connection_id":119567,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b6fa750012d7e10c005e107c80004000d23..."} 
[2026-07-01 07:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b6fa750012d7e10c005e107c80004000d23..."} 
[2026-07-01 07:39:55] local.INFO: Processing buffer {"connection_id":119567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b6fa750012d7e10c005e107c80004000d23..."} 
[2026-07-01 07:39:55] local.INFO: Packet analysis {"connection_id":119567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b6f"} 
[2026-07-01 07:39:55] local.INFO: Extracted packet for processing {"connection_id":119567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b6f"} 
[2026-07-01 07:39:55] local.INFO: GPS Element Parsed {"raw_longitude":763236544,"raw_latitude":98633672,"longitude_deg":76.3236544,"latitude_deg":9.8633672,"altitude":4,"angle":13,"satellites":35,"speed":26,"hex_longitude":"2d7e10c0","hex_latitude":"05e107c8","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:39:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415160832001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:39:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101155761245126656,"note":"Value kept but may cause issues"} 
[2026-07-01 07:39:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084041948631687168,"note":"Value kept but may cause issues"} 
[2026-07-01 07:39:55] 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-01 07:39:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782871730000,"timestamp_ms":1782871730000,"timestamp_seconds":1782871730,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b6fa750"} 
[2026-07-01 07: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-01 07:39: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-01 07: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-01 07:39:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07: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-01 07: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-01 07:39:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:39:55] local.INFO: Teltonika packet parsed successfully {"connection_id":119567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:39:55] local.INFO: Passing IMEI to GPS processor {"connection_id":119567,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:39:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":119567,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:39:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:39:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:39:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:39:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415160832001,"66":13319,"60":206,"85":15104,"24":26,"16":101155761245126656,"45":9084041948631687168},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-07-01 07:39:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:39:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:39:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415160832001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:39:55] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-01 07:39:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:39:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101155761245126656,"km_value":101155761245126.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:39:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084041948631687168,"description":"Unknown IO ID 45"} 
[2026-07-01 07:39:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415160832001,"power":13319,"unknown_60":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":9084041948631687168}} 
[2026-07-01 07:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":119567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416418,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:39:55] local.INFO: GPS data processed {"connection_id":119567,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:39:55] local.INFO: Acknowledgment sent {"connection_id":119567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:40:05] local.INFO: TCP Data received {"connection_id":120672,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b6f1ab0012d24bd0006c850d8000b01542f..."} 
[2026-07-01 07:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b6f1ab0012d24bd0006c850d8000b01542f..."} 
[2026-07-01 07:40:05] local.INFO: Processing buffer {"connection_id":120672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b6f1ab0012d24bd0006c850d8000b01542f..."} 
[2026-07-01 07:40:05] local.INFO: Packet analysis {"connection_id":120672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b6f"} 
[2026-07-01 07:40:05] local.INFO: Extracted packet for processing {"connection_id":120672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b6f"} 
[2026-07-01 07:40:05] local.INFO: GPS Element Parsed {"raw_longitude":757382400,"raw_latitude":113791192,"longitude_deg":75.73824,"latitude_deg":11.3791192,"altitude":11,"angle":340,"satellites":47,"speed":54,"hex_longitude":"2d24bd00","hex_latitude":"06c850d8","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415151872001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332965269448163328,"note":"Value kept but may cause issues"} 
[2026-07-01 07:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2650931359789037568,"note":"Value kept but may cause issues"} 
[2026-07-01 07:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782871694000,"timestamp_ms":1782871694000,"timestamp_seconds":1782871694,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b6f1ab0"} 
[2026-07-01 07: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-01 07:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 07:40:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07: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-01 07: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-01 07:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":120672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":120672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":120672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415151872001,"66":27767,"46":206,"81":22528,"24":54,"16":332965269448163328,"45":2650931359789037568},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-07-01 07:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415151872001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:40:05] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-07-01 07:40:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-07-01 07:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332965269448163328,"km_value":332965269448163.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":2650931359789037568,"description":"Unknown IO ID 45"} 
[2026-07-01 07:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415151872001,"power":27767,"unknown_46":206,"unknown_81":22528,"ignition":54,"odometer":null,"unknown_45":2650931359789037568}} 
[2026-07-01 07:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":120672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:40:05] local.INFO: GPS data processed {"connection_id":120672,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:40:05] local.INFO: Acknowledgment sent {"connection_id":120672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:40:21] local.INFO: TCP Data received {"connection_id":119568,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:40:21] local.INFO: Processing buffer {"connection_id":119568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:40:21] local.INFO: IMEI packet received {"connection_id":119568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 07:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":119568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:40:24] local.INFO: TCP Data received {"connection_id":120674,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120674,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:40:24] local.INFO: Processing buffer {"connection_id":120674,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:40:24] local.INFO: IMEI packet received {"connection_id":120674,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 07:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":120674,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:40:24] local.INFO: TCP Data received {"connection_id":119568,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:40:24] local.INFO: Processing buffer {"connection_id":119568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:40:24] local.INFO: IMEI packet received {"connection_id":119568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":119568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:40:28] local.INFO: TCP Data received {"connection_id":119568,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:40:28] local.INFO: Processing buffer {"connection_id":119568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:40:28] local.INFO: IMEI packet received {"connection_id":119568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":119568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:40:29] local.INFO: TCP Data received {"connection_id":120674,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120674,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:40:29] local.INFO: Processing buffer {"connection_id":120674,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:40:29] local.INFO: IMEI packet received {"connection_id":120674,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":120674,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:40:29] local.INFO: TCP Data received {"connection_id":119568,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b705718012d24120006c9ce20000f015430..."} 
[2026-07-01 07:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b705718012d24120006c9ce20000f015430..."} 
[2026-07-01 07:40:29] local.INFO: Processing buffer {"connection_id":119568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b705718012d24120006c9ce20000f015430..."} 
[2026-07-01 07:40:29] local.INFO: Packet analysis {"connection_id":119568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b70"} 
[2026-07-01 07:40:29] local.INFO: Extracted packet for processing {"connection_id":119568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b70"} 
[2026-07-01 07:40:29] local.INFO: GPS Element Parsed {"raw_longitude":757338624,"raw_latitude":113888800,"longitude_deg":75.7338624,"latitude_deg":11.38888,"altitude":15,"angle":340,"satellites":48,"speed":55,"hex_longitude":"2d241200","hex_latitude":"06c9ce20","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:40:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415172608001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:40:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332970513603231744,"note":"Value kept but may cause issues"} 
[2026-07-01 07:40:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2602869507540756480,"note":"Value kept but may cause issues"} 
[2026-07-01 07:40:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:40:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782871775000,"timestamp_ms":1782871775000,"timestamp_seconds":1782871775,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b705718"} 
[2026-07-01 07: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-01 07:40:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 07:40:29] 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-01 07: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-01 07: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-01 07:40:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:40:29] local.INFO: Teltonika packet parsed successfully {"connection_id":119568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:40:29] local.INFO: Passing IMEI to GPS processor {"connection_id":119568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:40:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":119568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:40:29] 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-01 07:40:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:40:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:40:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415172608001,"66":27800,"47":206,"81":22528,"24":55,"16":332970513603231744,"45":2602869507540756480},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,81,24,16,45]} 
[2026-07-01 07:40:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:40:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:40:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415172608001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:40:29] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-01 07:40:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-07-01 07:40:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332970513603231744,"km_value":332970513603231.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:40:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2602869507540756480,"description":"Unknown IO ID 45"} 
[2026-07-01 07:40:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415172608001,"power":27800,"unknown_47":206,"unknown_81":22528,"ignition":55,"odometer":null,"unknown_45":2602869507540756480}} 
[2026-07-01 07:40:29] local.INFO: DEBUG: GPS processor result {"connection_id":119568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:40:29] local.INFO: GPS data processed {"connection_id":119568,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:40:29] local.INFO: Acknowledgment sent {"connection_id":119568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:40:30] local.INFO: TCP Data received {"connection_id":120674,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b709d68012d7e290005e1c6a80006000623..."} 
[2026-07-01 07:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b709d68012d7e290005e1c6a80006000623..."} 
[2026-07-01 07:40:30] local.INFO: Processing buffer {"connection_id":120674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b709d68012d7e290005e1c6a80006000623..."} 
[2026-07-01 07:40:30] local.INFO: Packet analysis {"connection_id":120674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b70"} 
[2026-07-01 07:40:30] local.INFO: Extracted packet for processing {"connection_id":120674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b70"} 
[2026-07-01 07:40:30] local.INFO: GPS Element Parsed {"raw_longitude":763242752,"raw_latitude":98682536,"longitude_deg":76.3242752,"latitude_deg":9.8682536,"altitude":6,"angle":6,"satellites":35,"speed":37,"hex_longitude":"2d7e2900","hex_latitude":"05e1c6a8","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415178496001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101158217966419968,"note":"Value kept but may cause issues"} 
[2026-07-01 07:40:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9090375135621261312,"note":"Value kept but may cause issues"} 
[2026-07-01 07:40:30] 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-01 07:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782871793000,"timestamp_ms":1782871793000,"timestamp_seconds":1782871793,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b709d68"} 
[2026-07-01 07: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-01 07:40:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-01 07:40:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07: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-01 07: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-01 07:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":120674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":120674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":120674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:40:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415178496001,"66":13048,"60":206,"85":15104,"24":37,"16":101158217966419968,"45":9090375135621261312},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-07-01 07:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415178496001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:40:30] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-01 07:40:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101158217966419968,"km_value":101158217966419.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:40:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9090375135621261312,"description":"Unknown IO ID 45"} 
[2026-07-01 07:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415178496001,"power":13048,"unknown_60":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9090375135621261312}} 
[2026-07-01 07:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":120674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416421,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:40:30] local.INFO: GPS data processed {"connection_id":120674,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:40:30] local.INFO: Acknowledgment sent {"connection_id":120674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:40:34] local.INFO: TCP Data received {"connection_id":120674,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b70c478012d7e2ac005e1ec300005000223..."} 
[2026-07-01 07:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b70c478012d7e2ac005e1ec300005000223..."} 
[2026-07-01 07:40:34] local.INFO: Processing buffer {"connection_id":120674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b70c478012d7e2ac005e1ec300005000223..."} 
[2026-07-01 07:40:34] local.INFO: Packet analysis {"connection_id":120674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b70"} 
[2026-07-01 07:40:34] local.INFO: Extracted packet for processing {"connection_id":120674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b70"} 
[2026-07-01 07:40:34] local.INFO: GPS Element Parsed {"raw_longitude":763243200,"raw_latitude":98692144,"longitude_deg":76.32432,"latitude_deg":9.8692144,"altitude":5,"angle":2,"satellites":35,"speed":33,"hex_longitude":"2d7e2ac0","hex_latitude":"05e1ec30","is_valid_coordinates":true} 
[2026-07-01 07:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415179008001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101158681822887936,"note":"Value kept but may cause issues"} 
[2026-07-01 07:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9090797348086786048,"note":"Value kept but may cause issues"} 
[2026-07-01 07:40: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-01 07:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782871803000,"timestamp_ms":1782871803000,"timestamp_seconds":1782871803,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b70c478"} 
[2026-07-01 07:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:40: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-01 07:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-01 07:40:34] 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-01 07:40:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":120674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":120674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":120674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415179008001,"66":13319,"60":206,"85":15104,"24":33,"16":101158681822887936,"45":9090797348086786048},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-07-01 07:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415179008001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:40:34] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-01 07:40:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101158681822887936,"km_value":101158681822887.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9090797348086786048,"description":"Unknown IO ID 45"} 
[2026-07-01 07:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415179008001,"power":13319,"unknown_60":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9090797348086786048}} 
[2026-07-01 07:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":120674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416422,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:40:34] local.INFO: GPS data processed {"connection_id":120674,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:40:34] local.INFO: Acknowledgment sent {"connection_id":120674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:40:41] local.INFO: TCP Data received {"connection_id":120673,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120673,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:40:41] local.INFO: Processing buffer {"connection_id":120673,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:40:41] local.INFO: IMEI packet received {"connection_id":120673,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 07:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":120673,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:41:03] local.INFO: TCP Data received {"connection_id":119568,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b707270012d2401c006c9f1a8000f01482f..."} 
[2026-07-01 07:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b707270012d2401c006c9f1a8000f01482f..."} 
[2026-07-01 07:41:03] local.INFO: Processing buffer {"connection_id":119568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b707270012d2401c006c9f1a8000f01482f..."} 
[2026-07-01 07:41:03] local.INFO: Packet analysis {"connection_id":119568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b70"} 
[2026-07-01 07:41:03] local.INFO: Extracted packet for processing {"connection_id":119568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b70"} 
[2026-07-01 07:41:03] local.INFO: GPS Element Parsed {"raw_longitude":757334464,"raw_latitude":113897896,"longitude_deg":75.7334464,"latitude_deg":11.3897896,"altitude":15,"angle":328,"satellites":47,"speed":58,"hex_longitude":"2d2401c0","hex_latitude":"06c9f1a8","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415174400001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332970994639568896,"note":"Value kept but may cause issues"} 
[2026-07-01 07:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2599139964101730304,"note":"Value kept but may cause issues"} 
[2026-07-01 07:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782871782000,"timestamp_ms":1782871782000,"timestamp_seconds":1782871782,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b707270"} 
[2026-07-01 07: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-01 07:41:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 07:41:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07: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-01 07: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-01 07:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":119568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":119568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":119568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:41:03] 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-01 07:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415174400001,"66":27876,"47":206,"81":22528,"24":58,"16":332970994639568896,"45":2599139964101730304},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,81,24,16,45]} 
[2026-07-01 07:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415174400001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:41:03] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-01 07:41:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-07-01 07:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332970994639568896,"km_value":332970994639568.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":2599139964101730304,"description":"Unknown IO ID 45"} 
[2026-07-01 07:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415174400001,"power":27876,"unknown_47":206,"unknown_81":22528,"ignition":58,"odometer":null,"unknown_45":2599139964101730304}} 
[2026-07-01 07:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":119568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:41:03] local.INFO: GPS data processed {"connection_id":119568,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:41:03] local.INFO: Acknowledgment sent {"connection_id":119568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:41:16] local.INFO: TCP Data received {"connection_id":120675,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120675,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:41:16] local.INFO: Processing buffer {"connection_id":120675,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:41:16] local.INFO: IMEI packet received {"connection_id":120675,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 07:41:16] local.INFO: IMEI acknowledgment sent {"connection_id":120675,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:41:19] local.INFO: TCP Data received {"connection_id":118801,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118801,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:41:19] local.INFO: Processing buffer {"connection_id":118801,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:41:19] local.INFO: IMEI packet received {"connection_id":118801,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 07:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":118801,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:41:19] local.INFO: TCP Data received {"connection_id":118801,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118801,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:41:19] local.INFO: Processing buffer {"connection_id":118801,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:41:19] local.INFO: IMEI packet received {"connection_id":118801,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":118801,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:41:21] local.INFO: TCP Data received {"connection_id":118802,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:41:21] local.INFO: Processing buffer {"connection_id":118802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:41:21] local.INFO: IMEI packet received {"connection_id":118802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 07:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":118802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:41:21] local.INFO: TCP Data received {"connection_id":118802,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:41:21] local.INFO: Processing buffer {"connection_id":118802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:41:21] local.INFO: IMEI packet received {"connection_id":118802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":118802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:41:25] local.INFO: TCP Data received {"connection_id":118801,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118801,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:41:25] local.INFO: Processing buffer {"connection_id":118801,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:41:25] local.INFO: IMEI packet received {"connection_id":118801,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":118801,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:41:26] local.INFO: TCP Data received {"connection_id":118801,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b71a320012d7dc1c005e1fc280008010a26..."} 
[2026-07-01 07:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b71a320012d7dc1c005e1fc280008010a26..."} 
[2026-07-01 07:41:26] local.INFO: Processing buffer {"connection_id":118801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b71a320012d7dc1c005e1fc280008010a26..."} 
[2026-07-01 07:41:26] local.INFO: Packet analysis {"connection_id":118801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b71"} 
[2026-07-01 07:41:26] local.INFO: Extracted packet for processing {"connection_id":118801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b71"} 
[2026-07-01 07:41:26] local.INFO: GPS Element Parsed {"raw_longitude":763216320,"raw_latitude":98696232,"longitude_deg":76.321632,"latitude_deg":9.8696232,"altitude":8,"angle":266,"satellites":38,"speed":37,"hex_longitude":"2d7dc1c0","hex_latitude":"05e1fc28","is_valid_coordinates":true} 
[2026-07-01 07:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:41:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415195648001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:41:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101160408399740928,"note":"Value kept but may cause issues"} 
[2026-07-01 07:41:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9063846119070337024,"note":"Value kept but may cause issues"} 
[2026-07-01 07:41:26] 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-01 07:41:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782871860000,"timestamp_ms":1782871860000,"timestamp_seconds":1782871860,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b71a320"} 
[2026-07-01 07:41:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:41:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-01 07:41:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:41:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:41:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:41:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:41:26] local.INFO: Teltonika packet parsed successfully {"connection_id":118801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:41:26] local.INFO: Passing IMEI to GPS processor {"connection_id":118801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:41:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":118801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:41:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:41:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:41:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:41:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415195648001,"66":12906,"61":206,"85":15104,"24":37,"16":101160408399740928,"45":9063846119070337024},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-01 07:41:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:41:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:41:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415195648001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:41:26] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 07:41:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:41:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101160408399740928,"km_value":101160408399740.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:41:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9063846119070337024,"description":"Unknown IO ID 45"} 
[2026-07-01 07:41:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415195648001,"power":12906,"unknown_61":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9063846119070337024}} 
[2026-07-01 07:41:26] local.INFO: DEBUG: GPS processor result {"connection_id":118801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416424,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:41:26] local.INFO: GPS data processed {"connection_id":118801,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:41:26] local.INFO: Acknowledgment sent {"connection_id":118801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:41:26] local.INFO: TCP Data received {"connection_id":118802,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:41:26] local.INFO: Processing buffer {"connection_id":118802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:41:26] local.INFO: IMEI packet received {"connection_id":118802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":118802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:41:28] local.INFO: TCP Data received {"connection_id":118802,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b712a08012d231b4006ca7660000f014230..."} 
[2026-07-01 07:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b712a08012d231b4006ca7660000f014230..."} 
[2026-07-01 07:41:28] local.INFO: Processing buffer {"connection_id":118802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b712a08012d231b4006ca7660000f014230..."} 
[2026-07-01 07:41:28] local.INFO: Packet analysis {"connection_id":118802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b71"} 
[2026-07-01 07:41:28] local.INFO: Extracted packet for processing {"connection_id":118802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b71"} 
[2026-07-01 07:41:28] local.INFO: GPS Element Parsed {"raw_longitude":757275456,"raw_latitude":113931872,"longitude_deg":75.7275456,"latitude_deg":11.3931872,"altitude":15,"angle":322,"satellites":48,"speed":58,"hex_longitude":"2d231b40","hex_latitude":"06ca7660","is_valid_coordinates":true} 
[2026-07-01 07:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415186688001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332974383368765440,"note":"Value kept but may cause issues"} 
[2026-07-01 07:41:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2535878463095250944,"note":"Value kept but may cause issues"} 
[2026-07-01 07:41:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782871829000,"timestamp_ms":1782871829000,"timestamp_seconds":1782871829,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b712a08"} 
[2026-07-01 07:41:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:41: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-01 07:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 07:41:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:41:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:41:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:41:28] 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-01 07:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:41:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415186688001,"66":27832,"232":206,"81":22528,"24":58,"16":332974383368765440,"45":2535878463095250944},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,81,24,16,45]} 
[2026-07-01 07:41:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:41:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:41:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415186688001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:41:28] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-07-01 07:41:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-07-01 07:41:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332974383368765440,"km_value":332974383368765.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:41:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":2535878463095250944,"description":"Unknown IO ID 45"} 
[2026-07-01 07:41:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415186688001,"power":27832,"unknown_232":206,"unknown_81":22528,"ignition":58,"odometer":null,"unknown_45":2535878463095250944}} 
[2026-07-01 07:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":118802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:41:28] local.INFO: GPS data processed {"connection_id":118802,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:41:28] local.INFO: Acknowledgment sent {"connection_id":118802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:41:57] local.INFO: TCP Data received {"connection_id":118801,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b71aed8012d7db70005e1fce0000a011525..."} 
[2026-07-01 07:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b71aed8012d7db70005e1fce0000a011525..."} 
[2026-07-01 07:41:57] local.INFO: Processing buffer {"connection_id":118801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b71aed8012d7db70005e1fce0000a011525..."} 
[2026-07-01 07:41:57] local.INFO: Packet analysis {"connection_id":118801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b71"} 
[2026-07-01 07:41:57] local.INFO: Extracted packet for processing {"connection_id":118801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b71"} 
[2026-07-01 07:41:57] local.INFO: GPS Element Parsed {"raw_longitude":763213568,"raw_latitude":98696416,"longitude_deg":76.3213568,"latitude_deg":9.8696416,"altitude":10,"angle":277,"satellites":37,"speed":35,"hex_longitude":"2d7db700","hex_latitude":"05e1fce0","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:41:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415196160001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:41:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101160537248759808,"note":"Value kept but may cause issues"} 
[2026-07-01 07:41:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9061735056744916992,"note":"Value kept but may cause issues"} 
[2026-07-01 07:41:57] 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-01 07:41:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782871863000,"timestamp_ms":1782871863000,"timestamp_seconds":1782871863,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b71aed8"} 
[2026-07-01 07: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-01 07:41: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-01 07: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-01 07:41:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07: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-01 07: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-01 07:41:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:41:57] local.INFO: Teltonika packet parsed successfully {"connection_id":118801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:41:57] local.INFO: Passing IMEI to GPS processor {"connection_id":118801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:41:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":118801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:41:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:41:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:41:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:41:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415196160001,"66":12863,"61":206,"85":15104,"24":35,"16":101160537248759808,"45":9061735056744916992},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-01 07:41:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:41:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:41:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415196160001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:41:57] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 07:41:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:41:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101160537248759808,"km_value":101160537248759.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:41:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9061735056744916992,"description":"Unknown IO ID 45"} 
[2026-07-01 07:41:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415196160001,"power":12863,"unknown_61":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":9061735056744916992}} 
[2026-07-01 07:41:57] local.INFO: DEBUG: GPS processor result {"connection_id":118801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416426,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:41:57] local.INFO: GPS data processed {"connection_id":118801,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:41:57] local.INFO: Acknowledgment sent {"connection_id":118801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:41:59] local.INFO: TCP Data received {"connection_id":118802,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b714560012d23028006ca96280012014331..."} 
[2026-07-01 07:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b714560012d23028006ca96280012014331..."} 
[2026-07-01 07:41:59] local.INFO: Processing buffer {"connection_id":118802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b714560012d23028006ca96280012014331..."} 
[2026-07-01 07:41:59] local.INFO: Packet analysis {"connection_id":118802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b71"} 
[2026-07-01 07:41:59] local.INFO: Extracted packet for processing {"connection_id":118802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b71"} 
[2026-07-01 07:41:59] local.INFO: GPS Element Parsed {"raw_longitude":757269120,"raw_latitude":113940008,"longitude_deg":75.726912,"latitude_deg":11.3940008,"altitude":18,"angle":323,"satellites":49,"speed":58,"hex_longitude":"2d230280","hex_latitude":"06ca9628","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415188224001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332974881584971776,"note":"Value kept but may cause issues"} 
[2026-07-01 07:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2529686013609402368,"note":"Value kept but may cause issues"} 
[2026-07-01 07:41:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782871836000,"timestamp_ms":1782871836000,"timestamp_seconds":1782871836,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b714560"} 
[2026-07-01 07: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-01 07:41:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-01 07:41:59] 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-01 07: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-01 07: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-01 07:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:41:59] 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-01 07:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415188224001,"66":27800,"232":206,"81":22528,"24":58,"16":332974881584971776,"45":2529686013609402368},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,81,24,16,45]} 
[2026-07-01 07:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415188224001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:41:59] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-07-01 07:41:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-07-01 07:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332974881584971776,"km_value":332974881584971.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":2529686013609402368,"description":"Unknown IO ID 45"} 
[2026-07-01 07:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415188224001,"power":27800,"unknown_232":206,"unknown_81":22528,"ignition":58,"odometer":null,"unknown_45":2529686013609402368}} 
[2026-07-01 07:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":118802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:41:59] local.INFO: GPS data processed {"connection_id":118802,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:41:59] local.INFO: Acknowledgment sent {"connection_id":118802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:42:16] local.INFO: TCP Data received {"connection_id":118909,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118909,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:42:16] local.INFO: Processing buffer {"connection_id":118909,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:42:16] local.INFO: IMEI packet received {"connection_id":118909,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 07:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":118909,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:42:19] local.INFO: TCP Data received {"connection_id":118909,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118909,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:42:19] local.INFO: Processing buffer {"connection_id":118909,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:42:19] local.INFO: IMEI packet received {"connection_id":118909,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":118909,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:42:23] local.INFO: TCP Data received {"connection_id":118909,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118909,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:42:23] local.INFO: Processing buffer {"connection_id":118909,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:42:23] local.INFO: IMEI packet received {"connection_id":118909,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:42:23] local.INFO: IMEI acknowledgment sent {"connection_id":118909,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:42:23] local.INFO: TCP Data received {"connection_id":118909,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b71e588012d7d930005e20040000d011326..."} 
[2026-07-01 07:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b71e588012d7d930005e20040000d011326..."} 
[2026-07-01 07:42:23] local.INFO: Processing buffer {"connection_id":118909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b71e588012d7d930005e20040000d011326..."} 
[2026-07-01 07:42:23] local.INFO: Packet analysis {"connection_id":118909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b71"} 
[2026-07-01 07:42:23] local.INFO: Extracted packet for processing {"connection_id":118909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b71"} 
[2026-07-01 07:42:23] local.INFO: GPS Element Parsed {"raw_longitude":763204352,"raw_latitude":98697280,"longitude_deg":76.3204352,"latitude_deg":9.869728,"altitude":13,"angle":275,"satellites":38,"speed":22,"hex_longitude":"2d7d9300","hex_latitude":"05e20040","is_valid_coordinates":true} 
[2026-07-01 07:42:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:42:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415196928001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:42:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101160983925358592,"note":"Value kept but may cause issues"} 
[2026-07-01 07:42:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9058709200745324544,"note":"Value kept but may cause issues"} 
[2026-07-01 07:42:23] 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-01 07:42:23] local.INFO: AVL Record Parsed {"raw_timestamp":1782871877000,"timestamp_ms":1782871877000,"timestamp_seconds":1782871877,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b71e588"} 
[2026-07-01 07:42:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:42:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:42:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-01 07:42:23] 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-01 07:42:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:42:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:42:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:42:23] local.INFO: Teltonika packet parsed successfully {"connection_id":118909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:42:23] local.INFO: Passing IMEI to GPS processor {"connection_id":118909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:42:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":118909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:42:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:42:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:42:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:42:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415196928001,"66":12765,"61":206,"85":15104,"24":22,"16":101160983925358592,"45":9058709200745324544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-01 07:42:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:42:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:42:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415196928001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:42:23] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 07:42:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:42:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101160983925358592,"km_value":101160983925358.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:42:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9058709200745324544,"description":"Unknown IO ID 45"} 
[2026-07-01 07:42:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415196928001,"power":12765,"unknown_61":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9058709200745324544}} 
[2026-07-01 07:42:23] local.INFO: DEBUG: GPS processor result {"connection_id":118909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416428,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:42:23] local.INFO: GPS data processed {"connection_id":118909,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:42:23] local.INFO: Acknowledgment sent {"connection_id":118909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:42:24] local.INFO: TCP Data received {"connection_id":118910,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:42:24] local.INFO: Processing buffer {"connection_id":118910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:42:24] local.INFO: IMEI packet received {"connection_id":118910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 07:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":118910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:42:26] local.INFO: TCP Data received {"connection_id":118910,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:42:26] local.INFO: Processing buffer {"connection_id":118910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:42:26] local.INFO: IMEI packet received {"connection_id":118910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":118910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:42:30] local.INFO: TCP Data received {"connection_id":118910,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:42:30] local.INFO: Processing buffer {"connection_id":118910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:42:30] local.INFO: IMEI packet received {"connection_id":118910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":118910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:42:31] local.INFO: TCP Data received {"connection_id":118910,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b7256d0012d22360006cbdb48000b013d30..."} 
[2026-07-01 07:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b7256d0012d22360006cbdb48000b013d30..."} 
[2026-07-01 07:42:31] local.INFO: Processing buffer {"connection_id":118910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b7256d0012d22360006cbdb48000b013d30..."} 
[2026-07-01 07:42:31] local.INFO: Packet analysis {"connection_id":118910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b72"} 
[2026-07-01 07:42:31] local.INFO: Extracted packet for processing {"connection_id":118910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b72"} 
[2026-07-01 07:42:31] local.INFO: GPS Element Parsed {"raw_longitude":757216768,"raw_latitude":114023240,"longitude_deg":75.7216768,"latitude_deg":11.402324,"altitude":11,"angle":317,"satellites":48,"speed":59,"hex_longitude":"2d223600","hex_latitude":"06cbdb48","is_valid_coordinates":true} 
[2026-07-01 07:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415206400001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332979739192983552,"note":"Value kept but may cause issues"} 
[2026-07-01 07:42:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2472687330847350784,"note":"Value kept but may cause issues"} 
[2026-07-01 07:42:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782871906000,"timestamp_ms":1782871906000,"timestamp_seconds":1782871906,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b7256d0"} 
[2026-07-01 07:42:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:42:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 07:42:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:42:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:42:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":118910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":118910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":118910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:42:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415206400001,"66":27821,"232":206,"81":22528,"24":59,"16":332979739192983552,"45":2472687330847350784},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,81,24,16,45]} 
[2026-07-01 07:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415206400001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:42:31] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-07-01 07:42:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-07-01 07:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332979739192983552,"km_value":332979739192983.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:42:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":2472687330847350784,"description":"Unknown IO ID 45"} 
[2026-07-01 07:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415206400001,"power":27821,"unknown_232":206,"unknown_81":22528,"ignition":59,"odometer":null,"unknown_45":2472687330847350784}} 
[2026-07-01 07:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":118910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:42:31] local.INFO: GPS data processed {"connection_id":118910,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:42:31] local.INFO: Acknowledgment sent {"connection_id":118910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:42:33] local.INFO: TCP Data received {"connection_id":118910,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b726e40012d22218006cbf780000b014830..."} 
[2026-07-01 07:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b726e40012d22218006cbf780000b014830..."} 
[2026-07-01 07:42:33] local.INFO: Processing buffer {"connection_id":118910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b726e40012d22218006cbf780000b014830..."} 
[2026-07-01 07:42:33] local.INFO: Packet analysis {"connection_id":118910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b72"} 
[2026-07-01 07:42:33] local.INFO: Extracted packet for processing {"connection_id":118910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b72"} 
[2026-07-01 07:42:33] local.INFO: GPS Element Parsed {"raw_longitude":757211520,"raw_latitude":114030464,"longitude_deg":75.721152,"latitude_deg":11.4030464,"altitude":11,"angle":328,"satellites":48,"speed":59,"hex_longitude":"2d222180","hex_latitude":"06cbf780","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415207936001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332980172984680448,"note":"Value kept but may cause issues"} 
[2026-07-01 07:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2465157875221874688,"note":"Value kept but may cause issues"} 
[2026-07-01 07:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782871912000,"timestamp_ms":1782871912000,"timestamp_seconds":1782871912,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b726e40"} 
[2026-07-01 07: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-01 07:42: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-01 07: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 07:42:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07: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-01 07: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-01 07:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":118910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":118910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":118910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415207936001,"66":27821,"232":206,"81":22528,"24":59,"16":332980172984680448,"45":2465157875221874688},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,81,24,16,45]} 
[2026-07-01 07:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415207936001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:42:33] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-07-01 07:42:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-07-01 07:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332980172984680448,"km_value":332980172984680.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":2465157875221874688,"description":"Unknown IO ID 45"} 
[2026-07-01 07:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415207936001,"power":27821,"unknown_232":206,"unknown_81":22528,"ignition":59,"odometer":null,"unknown_45":2465157875221874688}} 
[2026-07-01 07:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":118910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:42:33] local.INFO: GPS data processed {"connection_id":118910,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:42:33] local.INFO: Acknowledgment sent {"connection_id":118910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:42:54] local.INFO: TCP Data received {"connection_id":118909,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b721850012d7d6e0005e20310000f011326..."} 
[2026-07-01 07:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b721850012d7d6e0005e20310000f011326..."} 
[2026-07-01 07:42:54] local.INFO: Processing buffer {"connection_id":118909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b721850012d7d6e0005e20310000f011326..."} 
[2026-07-01 07:42:54] local.INFO: Packet analysis {"connection_id":118909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b72"} 
[2026-07-01 07:42:54] local.INFO: Extracted packet for processing {"connection_id":118909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b72"} 
[2026-07-01 07:42:54] local.INFO: GPS Element Parsed {"raw_longitude":763194880,"raw_latitude":98698000,"longitude_deg":76.319488,"latitude_deg":9.8698,"altitude":15,"angle":275,"satellites":38,"speed":29,"hex_longitude":"2d7d6e00","hex_latitude":"05e20310","is_valid_coordinates":true} 
[2026-07-01 07:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:42:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415200512001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:42:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101161434896924672,"note":"Value kept but may cause issues"} 
[2026-07-01 07:42:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9048576101583962112,"note":"Value kept but may cause issues"} 
[2026-07-01 07:42:54] 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-01 07:42:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782871890000,"timestamp_ms":1782871890000,"timestamp_seconds":1782871890,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b721850"} 
[2026-07-01 07:42:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:42:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-01 07:42:54] 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-01 07:42:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:42:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:42:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:42:54] local.INFO: Teltonika packet parsed successfully {"connection_id":118909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:42:54] local.INFO: Passing IMEI to GPS processor {"connection_id":118909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:42:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":118909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:42:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:42:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:42:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:42:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415200512001,"66":12613,"61":206,"85":15104,"24":29,"16":101161434896924672,"45":9048576101583962112},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-01 07:42:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:42:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:42:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415200512001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:42:54] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 07:42:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:42:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101161434896924672,"km_value":101161434896924.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:42:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9048576101583962112,"description":"Unknown IO ID 45"} 
[2026-07-01 07:42:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415200512001,"power":12613,"unknown_61":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9048576101583962112}} 
[2026-07-01 07:42:54] local.INFO: DEBUG: GPS processor result {"connection_id":118909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416431,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:42:54] local.INFO: GPS data processed {"connection_id":118909,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:42:54] local.INFO: Acknowledgment sent {"connection_id":118909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:43:05] local.INFO: TCP Data received {"connection_id":118910,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b726e40012d22218006cbf780000b014830..."} 
[2026-07-01 07:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b726e40012d22218006cbf780000b014830..."} 
[2026-07-01 07:43:05] local.INFO: Processing buffer {"connection_id":118910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b726e40012d22218006cbf780000b014830..."} 
[2026-07-01 07:43:05] local.INFO: Packet analysis {"connection_id":118910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b72"} 
[2026-07-01 07:43:05] local.INFO: Extracted packet for processing {"connection_id":118910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b72"} 
[2026-07-01 07:43:05] local.INFO: GPS Element Parsed {"raw_longitude":757211520,"raw_latitude":114030464,"longitude_deg":75.721152,"latitude_deg":11.4030464,"altitude":11,"angle":328,"satellites":48,"speed":59,"hex_longitude":"2d222180","hex_latitude":"06cbf780","is_valid_coordinates":true} 
[2026-07-01 07:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415209472001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332980172984680448,"note":"Value kept but may cause issues"} 
[2026-07-01 07:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2459387638201155584,"note":"Value kept but may cause issues"} 
[2026-07-01 07:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782871912000,"timestamp_ms":1782871912000,"timestamp_seconds":1782871912,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b726e40"} 
[2026-07-01 07:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 07:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:43:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":118910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":118910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":118910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415209472001,"66":27821,"232":206,"81":22528,"24":59,"16":332980172984680448,"45":2459387638201155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,81,24,16,45]} 
[2026-07-01 07:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415209472001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:43:05] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-07-01 07:43:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-07-01 07:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332980172984680448,"km_value":332980172984680.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":2459387638201155584,"description":"Unknown IO ID 45"} 
[2026-07-01 07:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415209472001,"power":27821,"unknown_232":206,"unknown_81":22528,"ignition":59,"odometer":null,"unknown_45":2459387638201155584}} 
[2026-07-01 07:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":118910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:43:05] local.INFO: GPS data processed {"connection_id":118910,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:43:05] local.INFO: Acknowledgment sent {"connection_id":118910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:43:18] local.INFO: TCP Data received {"connection_id":119570,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119570,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:43:18] local.INFO: Processing buffer {"connection_id":119570,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:43:18] local.INFO: IMEI packet received {"connection_id":119570,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 07:43:18] local.INFO: IMEI acknowledgment sent {"connection_id":119570,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:43:22] local.INFO: TCP Data received {"connection_id":119570,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119570,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:43:22] local.INFO: Processing buffer {"connection_id":119570,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:43:22] local.INFO: IMEI packet received {"connection_id":119570,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:43:22] local.INFO: IMEI acknowledgment sent {"connection_id":119570,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:43:23] local.INFO: TCP Data received {"connection_id":119570,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119570,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:43:23] local.INFO: Processing buffer {"connection_id":119570,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:43:23] local.INFO: IMEI packet received {"connection_id":119570,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:43:23] local.INFO: IMEI acknowledgment sent {"connection_id":119570,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:43:25] local.INFO: TCP Data received {"connection_id":119570,"ip":"42.106.6.23","data_length":812,"data_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019f1b..."} 
[2026-07-01 07:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119570,"packet_length":812,"packet_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019f1b..."} 
[2026-07-01 07:43:25] local.INFO: Processing buffer {"connection_id":119570,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019f1b..."} 
[2026-07-01 07:43:25] local.INFO: IMEI packet received {"connection_id":119570,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:43:25] local.INFO: IMEI acknowledgment sent {"connection_id":119570,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:43:26] local.INFO: TCP Data received {"connection_id":120677,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:43:26] local.INFO: Processing buffer {"connection_id":120677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:43:26] local.INFO: IMEI packet received {"connection_id":120677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 07:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":120677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:43:26] local.INFO: TCP Data received {"connection_id":120677,"ip":"42.106.6.25","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 07:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120677,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 07:43:26] local.INFO: Processing buffer {"connection_id":120677,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 07:43:26] local.INFO: IMEI packet received {"connection_id":120677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":120677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:43:27] local.INFO: TCP Data received {"connection_id":119570,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b727228012d7d258005e20930000a011328..."} 
[2026-07-01 07:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b727228012d7d258005e20930000a011328..."} 
[2026-07-01 07:43:27] local.INFO: Processing buffer {"connection_id":119570,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f1b724730012d7d48c005e20640000c011326..."} 
[2026-07-01 07:43:27] local.INFO: Packet analysis {"connection_id":119570,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f1b72"} 
[2026-07-01 07:43:27] local.INFO: Extracted packet for processing {"connection_id":119570,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b72"} 
[2026-07-01 07:43:27] local.INFO: GPS Element Parsed {"raw_longitude":763185344,"raw_latitude":98698816,"longitude_deg":76.3185344,"latitude_deg":9.8698816,"altitude":12,"angle":275,"satellites":38,"speed":30,"hex_longitude":"2d7d48c0","hex_latitude":"05e20640","is_valid_coordinates":true} 
[2026-07-01 07:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415203840001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:43:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101161894458425344,"note":"Value kept but may cause issues"} 
[2026-07-01 07:43:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9038161527445852160,"note":"Value kept but may cause issues"} 
[2026-07-01 07:43:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:43:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782871902000,"timestamp_ms":1782871902000,"timestamp_seconds":1782871902,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b724730"} 
[2026-07-01 07:43:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:43:27] local.INFO: 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-01 07:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-01 07:43:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:43:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:43:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:43:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119570,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119570,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:43:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:43:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:43:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:43:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415203840001,"66":12461,"61":206,"85":15104,"24":30,"16":101161894458425344,"45":9038161527445852160},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-01 07:43:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:43:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:43:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415203840001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:43:27] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 07:43:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:43:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101161894458425344,"km_value":101161894458425.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:43:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9038161527445852160,"description":"Unknown IO ID 45"} 
[2026-07-01 07:43:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415203840001,"power":12461,"unknown_61":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9038161527445852160}} 
[2026-07-01 07:43:27] local.INFO: DEBUG: GPS processor result {"connection_id":119570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416433,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:43:27] local.INFO: GPS data processed {"connection_id":119570,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:43:27] local.INFO: Acknowledgment sent {"connection_id":119570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:43:27] local.INFO: Packet analysis {"connection_id":119570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b72"} 
[2026-07-01 07:43:27] local.INFO: Extracted packet for processing {"connection_id":119570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b72"} 
[2026-07-01 07:43:27] local.INFO: GPS Element Parsed {"raw_longitude":763176320,"raw_latitude":98699568,"longitude_deg":76.317632,"latitude_deg":9.8699568,"altitude":10,"angle":275,"satellites":40,"speed":37,"hex_longitude":"2d7d2580","hex_latitude":"05e20930","is_valid_coordinates":true} 
[2026-07-01 07:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415206912001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:43:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101162323955154944,"note":"Value kept but may cause issues"} 
[2026-07-01 07:43:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027676584563589120,"note":"Value kept but may cause issues"} 
[2026-07-01 07:43:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:43:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782871913000,"timestamp_ms":1782871913000,"timestamp_seconds":1782871913,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b727228"} 
[2026-07-01 07:43:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:43:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 07:43:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:43:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:43:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:43:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119570,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119570,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:43:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:43:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:43:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:43:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415206912001,"66":12939,"61":206,"85":15104,"24":37,"16":101162323955154944,"45":9027676584563589120},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-01 07:43:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:43:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:43:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415206912001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:43:27] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 07:43:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:43:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101162323955154944,"km_value":101162323955154.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:43:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027676584563589120,"description":"Unknown IO ID 45"} 
[2026-07-01 07:43:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415206912001,"power":12939,"unknown_61":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9027676584563589120}} 
[2026-07-01 07:43:27] local.INFO: DEBUG: GPS processor result {"connection_id":119570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416434,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:43:27] local.INFO: GPS data processed {"connection_id":119570,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:43:27] local.INFO: Acknowledgment sent {"connection_id":119570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:43:27] local.INFO: TCP Data received {"connection_id":120677,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b7285b0012d22100006cc15f0000a014a2f..."} 
[2026-07-01 07:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b7285b0012d22100006cc15f0000a014a2f..."} 
[2026-07-01 07:43:27] local.INFO: Processing buffer {"connection_id":120677,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f1b..."} 
[2026-07-01 07:43:27] local.INFO: IMEI packet received {"connection_id":120677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":120677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:43:28] local.INFO: TCP Data received {"connection_id":120677,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b729d20012d21fec006cc34800009014b2f..."} 
[2026-07-01 07:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b729d20012d21fec006cc34800009014b2f..."} 
[2026-07-01 07:43:28] local.INFO: Processing buffer {"connection_id":120677,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f1b7285b0012d22100006cc15f0000a014a2f..."} 
[2026-07-01 07:43:28] local.INFO: Packet analysis {"connection_id":120677,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f1b72"} 
[2026-07-01 07:43:28] local.INFO: Extracted packet for processing {"connection_id":120677,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b72"} 
[2026-07-01 07:43:28] local.INFO: GPS Element Parsed {"raw_longitude":757207040,"raw_latitude":114038256,"longitude_deg":75.720704,"latitude_deg":11.4038256,"altitude":10,"angle":330,"satellites":47,"speed":59,"hex_longitude":"2d221000","hex_latitude":"06cc15f0","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415209472001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332980606776377344,"note":"Value kept but may cause issues"} 
[2026-07-01 07:43:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2459387638201155584,"note":"Value kept but may cause issues"} 
[2026-07-01 07:43:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782871918000,"timestamp_ms":1782871918000,"timestamp_seconds":1782871918,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b7285b0"} 
[2026-07-01 07: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-01 07:43:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 07:43:28] 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-01 07: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-01 07: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-01 07:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":120677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":120677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":120677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:43:28] 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-01 07:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415209472001,"66":27843,"232":206,"81":22528,"24":59,"16":332980606776377344,"45":2459387638201155584},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,81,24,16,45]} 
[2026-07-01 07:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415209472001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:43:28] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-07-01 07:43:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-07-01 07:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332980606776377344,"km_value":332980606776377.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:43:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":2459387638201155584,"description":"Unknown IO ID 45"} 
[2026-07-01 07:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415209472001,"power":27843,"unknown_232":206,"unknown_81":22528,"ignition":59,"odometer":null,"unknown_45":2459387638201155584}} 
[2026-07-01 07:43:28] local.INFO: DEBUG: GPS processor result {"connection_id":120677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:43:28] local.INFO: GPS data processed {"connection_id":120677,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:43:28] local.INFO: Acknowledgment sent {"connection_id":120677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:43:28] local.INFO: Packet analysis {"connection_id":120677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b72"} 
[2026-07-01 07:43:28] local.INFO: Extracted packet for processing {"connection_id":120677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b72"} 
[2026-07-01 07:43:28] local.INFO: GPS Element Parsed {"raw_longitude":757202624,"raw_latitude":114046080,"longitude_deg":75.7202624,"latitude_deg":11.404608,"altitude":9,"angle":331,"satellites":47,"speed":59,"hex_longitude":"2d21fec0","hex_latitude":"06cc3480","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415211008001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332981040568074240,"note":"Value kept but may cause issues"} 
[2026-07-01 07:43:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2454461826110713856,"note":"Value kept but may cause issues"} 
[2026-07-01 07:43:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782871924000,"timestamp_ms":1782871924000,"timestamp_seconds":1782871924,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b729d20"} 
[2026-07-01 07: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-01 07:43:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 07:43:28] 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-01 07: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-01 07: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-01 07:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":120677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":120677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":120677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:43:28] 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-01 07:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415211008001,"66":27843,"232":206,"81":22528,"24":59,"16":332981040568074240,"45":2454461826110713856},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,81,24,16,45]} 
[2026-07-01 07:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415211008001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:43:28] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-07-01 07:43:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-07-01 07:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332981040568074240,"km_value":332981040568074.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:43:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":2454461826110713856,"description":"Unknown IO ID 45"} 
[2026-07-01 07:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415211008001,"power":27843,"unknown_232":206,"unknown_81":22528,"ignition":59,"odometer":null,"unknown_45":2454461826110713856}} 
[2026-07-01 07:43:28] local.INFO: DEBUG: GPS processor result {"connection_id":120677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:43:28] local.INFO: GPS data processed {"connection_id":120677,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:43:28] local.INFO: Acknowledgment sent {"connection_id":120677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:43:28] local.INFO: TCP Data received {"connection_id":119570,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b729d20012d7d028005e20be80008011328..."} 
[2026-07-01 07:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b729d20012d7d028005e20be80008011328..."} 
[2026-07-01 07:43:28] local.INFO: Processing buffer {"connection_id":119570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b729d20012d7d028005e20be80008011328..."} 
[2026-07-01 07:43:28] local.INFO: Packet analysis {"connection_id":119570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b72"} 
[2026-07-01 07:43:28] local.INFO: Extracted packet for processing {"connection_id":119570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b72"} 
[2026-07-01 07:43:28] local.INFO: GPS Element Parsed {"raw_longitude":763167360,"raw_latitude":98700264,"longitude_deg":76.316736,"latitude_deg":9.8700264,"altitude":8,"angle":275,"satellites":40,"speed":16,"hex_longitude":"2d7d0280","hex_latitude":"05e20be8","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415209728001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101162757746851840,"note":"Value kept but may cause issues"} 
[2026-07-01 07:43:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017754591634731008,"note":"Value kept but may cause issues"} 
[2026-07-01 07:43:28] 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-01 07:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782871924000,"timestamp_ms":1782871924000,"timestamp_seconds":1782871924,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b729d20"} 
[2026-07-01 07: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-01 07:43:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-01 07:43:28] 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-01 07: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-01 07: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-01 07:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119570,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119570,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:43:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415209728001,"66":12722,"61":206,"85":15104,"24":16,"16":101162757746851840,"45":9017754591634731008},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-01 07:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415209728001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:43:28] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 07:43:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101162757746851840,"km_value":101162757746851.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:43:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017754591634731008,"description":"Unknown IO ID 45"} 
[2026-07-01 07:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415209728001,"power":12722,"unknown_61":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":9017754591634731008}} 
[2026-07-01 07:43:28] local.INFO: DEBUG: GPS processor result {"connection_id":119570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416437,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:43:28] local.INFO: GPS data processed {"connection_id":119570,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:43:28] local.INFO: Acknowledgment sent {"connection_id":119570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:43:31] local.INFO: TCP Data received {"connection_id":120677,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b72b490012d21ed8006cc53280008014a30..."} 
[2026-07-01 07:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b72b490012d21ed8006cc53280008014a30..."} 
[2026-07-01 07:43:31] local.INFO: Processing buffer {"connection_id":120677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b72b490012d21ed8006cc53280008014a30..."} 
[2026-07-01 07:43:31] local.INFO: Packet analysis {"connection_id":120677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b72"} 
[2026-07-01 07:43:31] local.INFO: Extracted packet for processing {"connection_id":120677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b72"} 
[2026-07-01 07:43:31] local.INFO: GPS Element Parsed {"raw_longitude":757198208,"raw_latitude":114053928,"longitude_deg":75.7198208,"latitude_deg":11.4053928,"altitude":8,"angle":330,"satellites":48,"speed":59,"hex_longitude":"2d21ed80","hex_latitude":"06cc5328","is_valid_coordinates":true} 
[2026-07-01 07:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415212544001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332981474359771136,"note":"Value kept but may cause issues"} 
[2026-07-01 07:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2449606382764457984,"note":"Value kept but may cause issues"} 
[2026-07-01 07:43:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782871930000,"timestamp_ms":1782871930000,"timestamp_seconds":1782871930,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b72b490"} 
[2026-07-01 07:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:43:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 07:43:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:43:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":120677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":120677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":120677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415212544001,"66":27821,"233":206,"81":22528,"24":59,"16":332981474359771136,"45":2449606382764457984},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,81,24,16,45]} 
[2026-07-01 07:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415212544001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:43:31] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-07-01 07:43:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-07-01 07:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332981474359771136,"km_value":332981474359771.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":2449606382764457984,"description":"Unknown IO ID 45"} 
[2026-07-01 07:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415212544001,"power":27821,"unknown_233":206,"unknown_81":22528,"ignition":59,"odometer":null,"unknown_45":2449606382764457984}} 
[2026-07-01 07:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":120677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:43:31] local.INFO: GPS data processed {"connection_id":120677,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:43:31] local.INFO: Acknowledgment sent {"connection_id":120677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:43:59] local.INFO: TCP Data received {"connection_id":119570,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b743b30012d7c3b0005e1e098000600e825..."} 
[2026-07-01 07:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b743b30012d7c3b0005e1e098000600e825..."} 
[2026-07-01 07:43:59] local.INFO: Processing buffer {"connection_id":119570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b743b30012d7c3b0005e1e098000600e825..."} 
[2026-07-01 07:43:59] local.INFO: Packet analysis {"connection_id":119570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b74"} 
[2026-07-01 07:43:59] local.INFO: Extracted packet for processing {"connection_id":119570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b74"} 
[2026-07-01 07:43:59] local.INFO: GPS Element Parsed {"raw_longitude":763116288,"raw_latitude":98689176,"longitude_deg":76.3116288,"latitude_deg":9.8689176,"altitude":6,"angle":232,"satellites":37,"speed":18,"hex_longitude":"2d7c3b00","hex_latitude":"05e1e098","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415237888001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:43:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101165532295725056,"note":"Value kept but may cause issues"} 
[2026-07-01 07:43:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953578296942725120,"note":"Value kept but may cause issues"} 
[2026-07-01 07:43:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:43:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782872030000,"timestamp_ms":1782872030000,"timestamp_seconds":1782872030,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b743b30"} 
[2026-07-01 07: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-01 07:43:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-01 07:43:59] 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-01 07: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-01 07: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-01 07:43:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:43:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:43:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119570,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:43:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119570,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:43:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:43:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:43:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:43:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415237888001,"66":13091,"61":206,"85":15104,"24":18,"16":101165532295725056,"45":8953578296942725120},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-01 07:43:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:43:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:43:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415237888001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:43:59] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 07:43:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:43:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101165532295725056,"km_value":101165532295725.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:43:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953578296942725120,"description":"Unknown IO ID 45"} 
[2026-07-01 07:43:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415237888001,"power":13091,"unknown_61":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8953578296942725120}} 
[2026-07-01 07:43:59] local.INFO: DEBUG: GPS processor result {"connection_id":119570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416439,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:43:59] local.INFO: GPS data processed {"connection_id":119570,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:43:59] local.INFO: Acknowledgment sent {"connection_id":119570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:44:02] local.INFO: TCP Data received {"connection_id":120677,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b72cc00012d21dc0006cc71a00008014b2f..."} 
[2026-07-01 07:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b72cc00012d21dc0006cc71a00008014b2f..."} 
[2026-07-01 07:44:02] local.INFO: Processing buffer {"connection_id":120677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b72cc00012d21dc0006cc71a00008014b2f..."} 
[2026-07-01 07:44:02] local.INFO: Packet analysis {"connection_id":120677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b72"} 
[2026-07-01 07:44:02] local.INFO: Extracted packet for processing {"connection_id":120677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b72"} 
[2026-07-01 07:44:02] local.INFO: GPS Element Parsed {"raw_longitude":757193728,"raw_latitude":114061728,"longitude_deg":75.7193728,"latitude_deg":11.4061728,"altitude":8,"angle":331,"satellites":47,"speed":59,"hex_longitude":"2d21dc00","hex_latitude":"06cc71a0","is_valid_coordinates":true} 
[2026-07-01 07:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415214080001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332981908151468032,"note":"Value kept but may cause issues"} 
[2026-07-01 07:44:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2444750939418208256,"note":"Value kept but may cause issues"} 
[2026-07-01 07:44:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782871936000,"timestamp_ms":1782871936000,"timestamp_seconds":1782871936,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b72cc00"} 
[2026-07-01 07:44:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:44:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 07:44:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:44:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:44:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":120677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":120677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":120677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:44:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415214080001,"66":27821,"233":206,"81":22528,"24":59,"16":332981908151468032,"45":2444750939418208256},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,81,24,16,45]} 
[2026-07-01 07:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415214080001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:44:02] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-07-01 07:44:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-07-01 07:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332981908151468032,"km_value":332981908151468.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:44:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":2444750939418208256,"description":"Unknown IO ID 45"} 
[2026-07-01 07:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415214080001,"power":27821,"unknown_233":206,"unknown_81":22528,"ignition":59,"odometer":null,"unknown_45":2444750939418208256}} 
[2026-07-01 07:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":120677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:44:02] local.INFO: GPS data processed {"connection_id":120677,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:44:02] local.INFO: Acknowledgment sent {"connection_id":120677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:44:18] local.INFO: TCP Data received {"connection_id":119571,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119571,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:44:18] local.INFO: Processing buffer {"connection_id":119571,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:44:18] local.INFO: IMEI packet received {"connection_id":119571,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 07:44:18] local.INFO: IMEI acknowledgment sent {"connection_id":119571,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:44:19] local.INFO: TCP Data received {"connection_id":119571,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119571,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:44:19] local.INFO: Processing buffer {"connection_id":119571,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:44:19] local.INFO: IMEI packet received {"connection_id":119571,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":119571,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:44:21] local.INFO: TCP Data received {"connection_id":118911,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:44:22] local.INFO: Processing buffer {"connection_id":118911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:44:22] local.INFO: IMEI packet received {"connection_id":118911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 07:44:22] local.INFO: IMEI acknowledgment sent {"connection_id":118911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:44:23] local.INFO: TCP Data received {"connection_id":119571,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119571,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:44:23] local.INFO: Processing buffer {"connection_id":119571,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:44:23] local.INFO: IMEI packet received {"connection_id":119571,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":119571,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:44:24] local.INFO: TCP Data received {"connection_id":119571,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b744300012d7c378005e1dea0000600f827..."} 
[2026-07-01 07:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b744300012d7c378005e1dea0000600f827..."} 
[2026-07-01 07:44:24] local.INFO: Processing buffer {"connection_id":119571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b744300012d7c378005e1dea0000600f827..."} 
[2026-07-01 07:44:24] local.INFO: Packet analysis {"connection_id":119571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b74"} 
[2026-07-01 07:44:24] local.INFO: Extracted packet for processing {"connection_id":119571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b74"} 
[2026-07-01 07:44:24] local.INFO: GPS Element Parsed {"raw_longitude":763115392,"raw_latitude":98688672,"longitude_deg":76.3115392,"latitude_deg":9.8688672,"altitude":6,"angle":248,"satellites":39,"speed":21,"hex_longitude":"2d7c3780","hex_latitude":"05e1dea0","is_valid_coordinates":true} 
[2026-07-01 07:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415239680001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101165583835332608,"note":"Value kept but may cause issues"} 
[2026-07-01 07:44:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8951748709593421824,"note":"Value kept but may cause issues"} 
[2026-07-01 07:44:24] 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-01 07:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782872032000,"timestamp_ms":1782872032000,"timestamp_seconds":1782872032,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b744300"} 
[2026-07-01 07:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:44: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-01 07:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-01 07:44:24] 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-01 07:44:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":119571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":119571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":119571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:44:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415239680001,"66":12624,"61":206,"85":15104,"24":21,"16":101165583835332608,"45":8951748709593421824},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-01 07:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415239680001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:44:24] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 07:44:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101165583835332608,"km_value":101165583835332.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:44:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8951748709593421824,"description":"Unknown IO ID 45"} 
[2026-07-01 07:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415239680001,"power":12624,"unknown_61":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8951748709593421824}} 
[2026-07-01 07:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":119571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416441,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:44:24] local.INFO: GPS data processed {"connection_id":119571,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:44:24] local.INFO: Acknowledgment sent {"connection_id":119571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:44:26] local.INFO: TCP Data received {"connection_id":118911,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:44:26] local.INFO: Processing buffer {"connection_id":118911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:44:26] local.INFO: IMEI packet received {"connection_id":118911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":118911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:44:27] local.INFO: TCP Data received {"connection_id":118911,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b72e370012d21cc8006cc91000009015230..."} 
[2026-07-01 07:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b72e370012d21cc8006cc91000009015230..."} 
[2026-07-01 07:44:27] local.INFO: Processing buffer {"connection_id":118911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b72e370012d21cc8006cc91000009015230..."} 
[2026-07-01 07:44:27] local.INFO: Packet analysis {"connection_id":118911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b72"} 
[2026-07-01 07:44:27] local.INFO: Extracted packet for processing {"connection_id":118911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b72"} 
[2026-07-01 07:44:27] local.INFO: GPS Element Parsed {"raw_longitude":757189760,"raw_latitude":114069760,"longitude_deg":75.718976,"latitude_deg":11.406976,"altitude":9,"angle":338,"satellites":48,"speed":59,"hex_longitude":"2d21cc80","hex_latitude":"06cc9100","is_valid_coordinates":true} 
[2026-07-01 07:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:44:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415215616001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:44:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332982341943164928,"note":"Value kept but may cause issues"} 
[2026-07-01 07:44:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2439825127327768576,"note":"Value kept but may cause issues"} 
[2026-07-01 07:44:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:44:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782871942000,"timestamp_ms":1782871942000,"timestamp_seconds":1782871942,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b72e370"} 
[2026-07-01 07:44:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:44:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 07:44:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:44:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:44:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:44:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:44:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:44:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:44:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:44:27] 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-01 07:44:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:44:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:44:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415215616001,"66":27745,"233":206,"81":22528,"24":59,"16":332982341943164928,"45":2439825127327768576},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,81,24,16,45]} 
[2026-07-01 07:44:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:44:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:44:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415215616001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:44:27] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-07-01 07:44:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-07-01 07:44:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332982341943164928,"km_value":332982341943164.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:44:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":2439825127327768576,"description":"Unknown IO ID 45"} 
[2026-07-01 07:44:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415215616001,"power":27745,"unknown_233":206,"unknown_81":22528,"ignition":59,"odometer":null,"unknown_45":2439825127327768576}} 
[2026-07-01 07:44:27] local.INFO: DEBUG: GPS processor result {"connection_id":118911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:44:27] local.INFO: GPS data processed {"connection_id":118911,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:44:27] local.INFO: Acknowledgment sent {"connection_id":118911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:44:30] local.INFO: TCP Data received {"connection_id":118911,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b72fec8012d21c2c006ccb6580009016030..."} 
[2026-07-01 07:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b72fec8012d21c2c006ccb6580009016030..."} 
[2026-07-01 07:44:30] local.INFO: Processing buffer {"connection_id":118911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b72fec8012d21c2c006ccb6580009016030..."} 
[2026-07-01 07:44:30] local.INFO: Packet analysis {"connection_id":118911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b72"} 
[2026-07-01 07:44:30] local.INFO: Extracted packet for processing {"connection_id":118911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b72"} 
[2026-07-01 07:44:30] local.INFO: GPS Element Parsed {"raw_longitude":757187264,"raw_latitude":114079320,"longitude_deg":75.7187264,"latitude_deg":11.407932,"altitude":9,"angle":352,"satellites":48,"speed":52,"hex_longitude":"2d21c2c0","hex_latitude":"06ccb658","is_valid_coordinates":true} 
[2026-07-01 07:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415217152001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332982818684534784,"note":"Value kept but may cause issues"} 
[2026-07-01 07:44:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2435462265190809600,"note":"Value kept but may cause issues"} 
[2026-07-01 07:44:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782871949000,"timestamp_ms":1782871949000,"timestamp_seconds":1782871949,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b72fec8"} 
[2026-07-01 07:44:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:44:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 07:44:30] 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-01 07:44:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:44:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":118911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":118911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":118911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:44:30] 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-01 07:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415217152001,"66":27767,"233":206,"81":22528,"24":52,"16":332982818684534784,"45":2435462265190809600},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,81,24,16,45]} 
[2026-07-01 07:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415217152001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:44:30] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-07-01 07:44:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-07-01 07:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332982818684534784,"km_value":332982818684534.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:44:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":2435462265190809600,"description":"Unknown IO ID 45"} 
[2026-07-01 07:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415217152001,"power":27767,"unknown_233":206,"unknown_81":22528,"ignition":52,"odometer":null,"unknown_45":2435462265190809600}} 
[2026-07-01 07:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":118911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:44:30] local.INFO: GPS data processed {"connection_id":118911,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:44:30] local.INFO: Acknowledgment sent {"connection_id":118911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:44:55] local.INFO: TCP Data received {"connection_id":119571,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b744ad0012d7c330005e1ddb80006010d27..."} 
[2026-07-01 07:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b744ad0012d7c330005e1ddb80006010d27..."} 
[2026-07-01 07:44:55] local.INFO: Processing buffer {"connection_id":119571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b744ad0012d7c330005e1ddb80006010d27..."} 
[2026-07-01 07:44:55] local.INFO: Packet analysis {"connection_id":119571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b74"} 
[2026-07-01 07:44:55] local.INFO: Extracted packet for processing {"connection_id":119571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b74"} 
[2026-07-01 07:44:55] local.INFO: GPS Element Parsed {"raw_longitude":763114240,"raw_latitude":98688440,"longitude_deg":76.311424,"latitude_deg":9.868844,"altitude":6,"angle":269,"satellites":39,"speed":22,"hex_longitude":"2d7c3300","hex_latitude":"05e1ddb8","is_valid_coordinates":true} 
[2026-07-01 07:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415240192001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101165639669907456,"note":"Value kept but may cause issues"} 
[2026-07-01 07:44:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950763547174805504,"note":"Value kept but may cause issues"} 
[2026-07-01 07:44:55] 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-01 07:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782872034000,"timestamp_ms":1782872034000,"timestamp_seconds":1782872034,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b744ad0"} 
[2026-07-01 07:44:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:44: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-01 07:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-01 07:44:55] 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-01 07:44:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:44:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":119571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":119571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":119571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:44:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415240192001,"66":12624,"61":206,"85":15104,"24":22,"16":101165639669907456,"45":8950763547174805504},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-01 07:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415240192001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:44:55] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 07:44:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101165639669907456,"km_value":101165639669907.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:44:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950763547174805504,"description":"Unknown IO ID 45"} 
[2026-07-01 07:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415240192001,"power":12624,"unknown_61":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8950763547174805504}} 
[2026-07-01 07:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":119571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416444,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:44:55] local.INFO: GPS data processed {"connection_id":119571,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:44:55] local.INFO: Acknowledgment sent {"connection_id":119571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:45:02] local.INFO: TCP Data received {"connection_id":118911,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b72fec8012d21c2c006ccb6580009016030..."} 
[2026-07-01 07:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b72fec8012d21c2c006ccb6580009016030..."} 
[2026-07-01 07:45:02] local.INFO: Processing buffer {"connection_id":118911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b72fec8012d21c2c006ccb6580009016030..."} 
[2026-07-01 07:45:02] local.INFO: Packet analysis {"connection_id":118911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b72"} 
[2026-07-01 07:45:02] local.INFO: Extracted packet for processing {"connection_id":118911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b72"} 
[2026-07-01 07:45:02] local.INFO: GPS Element Parsed {"raw_longitude":757187264,"raw_latitude":114079320,"longitude_deg":75.7187264,"latitude_deg":11.407932,"altitude":9,"angle":352,"satellites":48,"speed":52,"hex_longitude":"2d21c2c0","hex_latitude":"06ccb658","is_valid_coordinates":true} 
[2026-07-01 07:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415218944001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332982818684534784,"note":"Value kept but may cause issues"} 
[2026-07-01 07:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2432717884170328064,"note":"Value kept but may cause issues"} 
[2026-07-01 07:45:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782871949000,"timestamp_ms":1782871949000,"timestamp_seconds":1782871949,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b72fec8"} 
[2026-07-01 07:45:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:45:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 07:45:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:45:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:45:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":118911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":118911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":118911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:45:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415218944001,"66":27767,"233":206,"81":22528,"24":52,"16":332982818684534784,"45":2432717884170328064},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,81,24,16,45]} 
[2026-07-01 07:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415218944001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:45:02] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-07-01 07:45:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-07-01 07:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332982818684534784,"km_value":332982818684534.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":2432717884170328064,"description":"Unknown IO ID 45"} 
[2026-07-01 07:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415218944001,"power":27767,"unknown_233":206,"unknown_81":22528,"ignition":52,"odometer":null,"unknown_45":2432717884170328064}} 
[2026-07-01 07:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":118911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:45:02] local.INFO: GPS data processed {"connection_id":118911,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:45:02] local.INFO: Acknowledgment sent {"connection_id":118911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:45:18] local.INFO: TCP Data received {"connection_id":119572,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119572,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:45:18] local.INFO: Processing buffer {"connection_id":119572,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:45:18] local.INFO: IMEI packet received {"connection_id":119572,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 07:45:18] local.INFO: IMEI acknowledgment sent {"connection_id":119572,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:45:22] local.INFO: TCP Data received {"connection_id":118912,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:45:22] local.INFO: Processing buffer {"connection_id":118912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:45:22] local.INFO: IMEI packet received {"connection_id":118912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 07:45:22] local.INFO: IMEI acknowledgment sent {"connection_id":118912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:45:22] local.INFO: TCP Data received {"connection_id":118912,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:45:22] local.INFO: Processing buffer {"connection_id":118912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:45:22] local.INFO: IMEI packet received {"connection_id":118912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:45:22] local.INFO: IMEI acknowledgment sent {"connection_id":118912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:45:24] local.INFO: TCP Data received {"connection_id":119572,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119572,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:45:24] local.INFO: Processing buffer {"connection_id":119572,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:45:24] local.INFO: IMEI packet received {"connection_id":119572,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":119572,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:45:25] local.INFO: TCP Data received {"connection_id":119572,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b7479b0012d7c0d4005e1dbf00006010728..."} 
[2026-07-01 07:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b7479b0012d7c0d4005e1dbf00006010728..."} 
[2026-07-01 07:45:25] local.INFO: Processing buffer {"connection_id":119572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b7479b0012d7c0d4005e1dbf00006010728..."} 
[2026-07-01 07:45:25] local.INFO: Packet analysis {"connection_id":119572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b74"} 
[2026-07-01 07:45:25] local.INFO: Extracted packet for processing {"connection_id":119572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b74"} 
[2026-07-01 07:45:25] local.INFO: GPS Element Parsed {"raw_longitude":763104576,"raw_latitude":98687984,"longitude_deg":76.3104576,"latitude_deg":9.8687984,"altitude":6,"angle":263,"satellites":40,"speed":35,"hex_longitude":"2d7c0d40","hex_latitude":"05e1dbf0","is_valid_coordinates":true} 
[2026-07-01 07:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415240704001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:45:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101166103526375424,"note":"Value kept but may cause issues"} 
[2026-07-01 07:45:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949496909779548160,"note":"Value kept but may cause issues"} 
[2026-07-01 07:45: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-01 07:45:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782872046000,"timestamp_ms":1782872046000,"timestamp_seconds":1782872046,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b7479b0"} 
[2026-07-01 07:45:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:45:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-01 07:45:25] 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-01 07:45:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:45:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:45:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:45:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:45:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:45:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:45:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:45:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415240704001,"66":12765,"169":206,"85":15104,"24":35,"16":101166103526375424,"45":8949496909779548160},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-01 07:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415240704001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:45:25] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-01 07:45:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101166103526375424,"km_value":101166103526375.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:45:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949496909779548160,"description":"Unknown IO ID 45"} 
[2026-07-01 07:45:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415240704001,"power":12765,"unknown_169":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8949496909779548160}} 
[2026-07-01 07:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":119572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416446,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:45:25] local.INFO: GPS data processed {"connection_id":119572,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:45:25] local.INFO: Acknowledgment sent {"connection_id":119572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:45:26] local.INFO: TCP Data received {"connection_id":118912,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:45:26] local.INFO: Processing buffer {"connection_id":118912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:45:26] local.INFO: IMEI packet received {"connection_id":118912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":118912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:45:28] local.INFO: TCP Data received {"connection_id":118912,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b749508012d21050006cdde78000c01492e..."} 
[2026-07-01 07:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b749508012d21050006cdde78000c01492e..."} 
[2026-07-01 07:45:28] local.INFO: Processing buffer {"connection_id":118912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b749508012d21050006cdde78000c01492e..."} 
[2026-07-01 07:45:28] local.INFO: Packet analysis {"connection_id":118912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b74"} 
[2026-07-01 07:45:28] local.INFO: Extracted packet for processing {"connection_id":118912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b74"} 
[2026-07-01 07:45:28] local.INFO: GPS Element Parsed {"raw_longitude":757138688,"raw_latitude":114155128,"longitude_deg":75.7138688,"latitude_deg":11.4155128,"altitude":12,"angle":329,"satellites":46,"speed":33,"hex_longitude":"2d210500","hex_latitude":"06cdde78","is_valid_coordinates":true} 
[2026-07-01 07:45:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:45:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415242752001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:45:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332987281155555328,"note":"Value kept but may cause issues"} 
[2026-07-01 07:45:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2385148613123702784,"note":"Value kept but may cause issues"} 
[2026-07-01 07:45:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:45:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782872053000,"timestamp_ms":1782872053000,"timestamp_seconds":1782872053,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b749508"} 
[2026-07-01 07:45:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:45: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-01 07:45:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 07:45:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:45:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:45:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:45:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:45:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:45:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:45:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:45:28] 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-01 07:45:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:45:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:45:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415242752001,"66":27908,"60":206,"81":22528,"24":33,"16":332987281155555328,"45":2385148613123702784},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,81,24,16,45]} 
[2026-07-01 07:45:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:45:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:45:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415242752001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:45:28] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-01 07:45:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-07-01 07:45:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332987281155555328,"km_value":332987281155555.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:45:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":2385148613123702784,"description":"Unknown IO ID 45"} 
[2026-07-01 07:45:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415242752001,"power":27908,"unknown_60":206,"unknown_81":22528,"ignition":33,"odometer":null,"unknown_45":2385148613123702784}} 
[2026-07-01 07:45:28] local.INFO: DEBUG: GPS processor result {"connection_id":118912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:45:28] local.INFO: GPS data processed {"connection_id":118912,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:45:28] local.INFO: Acknowledgment sent {"connection_id":118912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:45:56] local.INFO: TCP Data received {"connection_id":119572,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b74a4a8012d7bf84005e1d8e80006011427..."} 
[2026-07-01 07:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b74a4a8012d7bf84005e1d8e80006011427..."} 
[2026-07-01 07:45:56] local.INFO: Processing buffer {"connection_id":119572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b74a4a8012d7bf84005e1d8e80006011427..."} 
[2026-07-01 07:45:56] local.INFO: Packet analysis {"connection_id":119572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b74"} 
[2026-07-01 07:45:56] local.INFO: Extracted packet for processing {"connection_id":119572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b74"} 
[2026-07-01 07:45:56] local.INFO: GPS Element Parsed {"raw_longitude":763099200,"raw_latitude":98687208,"longitude_deg":76.30992,"latitude_deg":9.8687208,"altitude":6,"angle":276,"satellites":39,"speed":11,"hex_longitude":"2d7bf840","hex_latitude":"05e1d8e8","is_valid_coordinates":true} 
[2026-07-01 07:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415243776001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101166365519380480,"note":"Value kept but may cause issues"} 
[2026-07-01 07:45:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938871229408604160,"note":"Value kept but may cause issues"} 
[2026-07-01 07:45:56] 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-01 07:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782872057000,"timestamp_ms":1782872057000,"timestamp_seconds":1782872057,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b74a4a8"} 
[2026-07-01 07:45:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:45: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-01 07:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-01 07:45:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:45:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:45:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":119572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":119572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":119572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:45:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415243776001,"66":12982,"43":206,"85":15104,"24":11,"16":101166365519380480,"45":8938871229408604160},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-07-01 07:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415243776001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:45:56] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-01 07:45:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101166365519380480,"km_value":101166365519380.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:45:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938871229408604160,"description":"Unknown IO ID 45"} 
[2026-07-01 07:45:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415243776001,"power":12982,"unknown_43":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8938871229408604160}} 
[2026-07-01 07:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":119572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416448,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:45:56] local.INFO: GPS data processed {"connection_id":119572,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:45:56] local.INFO: Acknowledgment sent {"connection_id":119572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:46:00] local.INFO: TCP Data received {"connection_id":118912,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b74c000012d20f2c006cdfda8000d014a2e..."} 
[2026-07-01 07:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b74c000012d20f2c006cdfda8000d014a2e..."} 
[2026-07-01 07:46:00] local.INFO: Processing buffer {"connection_id":118912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b74c000012d20f2c006cdfda8000d014a2e..."} 
[2026-07-01 07:46:00] local.INFO: Packet analysis {"connection_id":118912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b74"} 
[2026-07-01 07:46:00] local.INFO: Extracted packet for processing {"connection_id":118912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b74"} 
[2026-07-01 07:46:00] local.INFO: GPS Element Parsed {"raw_longitude":757134016,"raw_latitude":114163112,"longitude_deg":75.7134016,"latitude_deg":11.4163112,"altitude":13,"angle":330,"satellites":46,"speed":33,"hex_longitude":"2d20f2c0","hex_latitude":"06cdfda8","is_valid_coordinates":true} 
[2026-07-01 07:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415245568001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332987727832154112,"note":"Value kept but may cause issues"} 
[2026-07-01 07:46:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2379308007358887936,"note":"Value kept but may cause issues"} 
[2026-07-01 07:46:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782872064000,"timestamp_ms":1782872064000,"timestamp_seconds":1782872064,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b74c000"} 
[2026-07-01 07:46:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:46:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 07:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 07:46:00] 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-01 07:46:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:46:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":118912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":118912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":118912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:46:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415245568001,"66":27865,"60":206,"81":22528,"24":33,"16":332987727832154112,"45":2379308007358887936},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,81,24,16,45]} 
[2026-07-01 07:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415245568001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:46:00] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-01 07:46:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-07-01 07:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332987727832154112,"km_value":332987727832154.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:46:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":2379308007358887936,"description":"Unknown IO ID 45"} 
[2026-07-01 07:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415245568001,"power":27865,"unknown_60":206,"unknown_81":22528,"ignition":33,"odometer":null,"unknown_45":2379308007358887936}} 
[2026-07-01 07:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":118912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:46:00] local.INFO: GPS data processed {"connection_id":118912,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:46:00] local.INFO: Acknowledgment sent {"connection_id":118912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:46:21] local.INFO: TCP Data received {"connection_id":120681,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:46:21] local.INFO: Processing buffer {"connection_id":120681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:46:21] local.INFO: IMEI packet received {"connection_id":120681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 07:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":120681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:46:23] local.INFO: TCP Data received {"connection_id":120681,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:46:23] local.INFO: Processing buffer {"connection_id":120681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:46:23] local.INFO: IMEI packet received {"connection_id":120681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:46:23] local.INFO: IMEI acknowledgment sent {"connection_id":120681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:46:25] local.INFO: TCP Data received {"connection_id":120680,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120680,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:46:25] local.INFO: Processing buffer {"connection_id":120680,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:46:25] local.INFO: IMEI packet received {"connection_id":120680,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 07:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":120680,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:46:25] local.INFO: TCP Data received {"connection_id":120680,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120680,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:46:25] local.INFO: Processing buffer {"connection_id":120680,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:46:25] local.INFO: IMEI packet received {"connection_id":120680,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":120680,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:46:26] local.INFO: TCP Data received {"connection_id":120680,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b760c08012d7b540005e1b1b8000b00f724..."} 
[2026-07-01 07:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b760c08012d7b540005e1b1b8000b00f724..."} 
[2026-07-01 07:46:26] local.INFO: Processing buffer {"connection_id":120680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b760c08012d7b540005e1b1b8000b00f724..."} 
[2026-07-01 07:46:26] local.INFO: Packet analysis {"connection_id":120680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b76"} 
[2026-07-01 07:46:26] local.INFO: Extracted packet for processing {"connection_id":120680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b76"} 
[2026-07-01 07:46:26] local.INFO: GPS Element Parsed {"raw_longitude":763057152,"raw_latitude":98677176,"longitude_deg":76.3057152,"latitude_deg":9.8677176,"altitude":11,"angle":247,"satellites":36,"speed":10,"hex_longitude":"2d7b5400","hex_latitude":"05e1b1b8","is_valid_coordinates":true} 
[2026-07-01 07:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415266048001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101168517297995776,"note":"Value kept but may cause issues"} 
[2026-07-01 07:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892287120760383488,"note":"Value kept but may cause issues"} 
[2026-07-01 07:46: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-01 07:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782872149000,"timestamp_ms":1782872149000,"timestamp_seconds":1782872149,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b760c08"} 
[2026-07-01 07:46:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:46:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-07-01 07:46:26] 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-01 07:46:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:46:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":120680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":120680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":120680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:46:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415266048001,"66":12515,"169":206,"85":15104,"24":10,"16":101168517297995776,"45":8892287120760383488},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-01 07:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415266048001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:46:26] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-01 07:46:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101168517297995776,"km_value":101168517297995.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892287120760383488,"description":"Unknown IO ID 45"} 
[2026-07-01 07:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415266048001,"power":12515,"unknown_169":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8892287120760383488}} 
[2026-07-01 07:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":120680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416450,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:46:26] local.INFO: GPS data processed {"connection_id":120680,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:46:26] local.INFO: Acknowledgment sent {"connection_id":120680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:46:26] local.INFO: TCP Data received {"connection_id":120681,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:46:26] local.INFO: Processing buffer {"connection_id":120681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:46:26] local.INFO: IMEI packet received {"connection_id":120681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":120681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:46:28] local.INFO: TCP Data received {"connection_id":120680,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b765258012d7b4b8005e1aec8000d010223..."} 
[2026-07-01 07:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b765258012d7b4b8005e1aec8000d010223..."} 
[2026-07-01 07:46:28] local.INFO: Processing buffer {"connection_id":120680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b765258012d7b4b8005e1aec8000d010223..."} 
[2026-07-01 07:46:28] local.INFO: Packet analysis {"connection_id":120680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b76"} 
[2026-07-01 07:46:28] local.INFO: Extracted packet for processing {"connection_id":120680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b76"} 
[2026-07-01 07:46:28] local.INFO: GPS Element Parsed {"raw_longitude":763054976,"raw_latitude":98676424,"longitude_deg":76.3054976,"latitude_deg":9.8676424,"altitude":13,"angle":258,"satellites":35,"speed":7,"hex_longitude":"2d7b4b80","hex_latitude":"05e1aec8","is_valid_coordinates":true} 
[2026-07-01 07:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415270144001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101168637557080064,"note":"Value kept but may cause issues"} 
[2026-07-01 07:46:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886727989970188288,"note":"Value kept but may cause issues"} 
[2026-07-01 07:46:28] 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-01 07:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782872167000,"timestamp_ms":1782872167000,"timestamp_seconds":1782872167,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b765258"} 
[2026-07-01 07:46:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:46:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-07-01 07:46:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:46:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:46:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":120680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":120680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":120680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:46:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415270144001,"66":12526,"169":206,"85":15104,"24":7,"16":101168637557080064,"45":8886727989970188288},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-01 07:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415270144001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:46:28] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-01 07:46:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101168637557080064,"km_value":101168637557080.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:46:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886727989970188288,"description":"Unknown IO ID 45"} 
[2026-07-01 07:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415270144001,"power":12526,"unknown_169":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8886727989970188288}} 
[2026-07-01 07:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":120680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416451,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:46:28] local.INFO: GPS data processed {"connection_id":120680,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:46:28] local.INFO: Acknowledgment sent {"connection_id":120680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:46:28] local.INFO: TCP Data received {"connection_id":120681,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b74e710012d20e14006ce1c28000d014a2f..."} 
[2026-07-01 07:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b74e710012d20e14006ce1c28000d014a2f..."} 
[2026-07-01 07:46:28] local.INFO: Processing buffer {"connection_id":120681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b74e710012d20e14006ce1c28000d014a2f..."} 
[2026-07-01 07:46:28] local.INFO: Packet analysis {"connection_id":120681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b74"} 
[2026-07-01 07:46:28] local.INFO: Extracted packet for processing {"connection_id":120681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b74"} 
[2026-07-01 07:46:28] local.INFO: GPS Element Parsed {"raw_longitude":757129536,"raw_latitude":114170920,"longitude_deg":75.7129536,"latitude_deg":11.417092,"altitude":13,"angle":330,"satellites":47,"speed":39,"hex_longitude":"2d20e140","hex_latitude":"06ce1c28","is_valid_coordinates":true} 
[2026-07-01 07:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415248384001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332988161623851008,"note":"Value kept but may cause issues"} 
[2026-07-01 07:46:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2374171089035962368,"note":"Value kept but may cause issues"} 
[2026-07-01 07:46:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782872074000,"timestamp_ms":1782872074000,"timestamp_seconds":1782872074,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b74e710"} 
[2026-07-01 07:46:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:46: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-01 07:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 07:46:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:46:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:46:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":120681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":120681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":120681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:46:28] 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-01 07:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415248384001,"66":27974,"60":206,"81":22528,"24":39,"16":332988161623851008,"45":2374171089035962368},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,81,24,16,45]} 
[2026-07-01 07:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415248384001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:46:28] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-01 07:46:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-07-01 07:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332988161623851008,"km_value":332988161623851.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:46:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":2374171089035962368,"description":"Unknown IO ID 45"} 
[2026-07-01 07:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415248384001,"power":27974,"unknown_60":206,"unknown_81":22528,"ignition":39,"odometer":null,"unknown_45":2374171089035962368}} 
[2026-07-01 07:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":120681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:46:28] local.INFO: GPS data processed {"connection_id":120681,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:46:28] local.INFO: Acknowledgment sent {"connection_id":120681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:46:31] local.INFO: TCP Data received {"connection_id":120679,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120679,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:46:31] local.INFO: Processing buffer {"connection_id":120679,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:46:31] local.INFO: IMEI packet received {"connection_id":120679,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 07:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":120679,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:46:59] local.INFO: TCP Data received {"connection_id":120680,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b7665e0012d7b47c005e1ae68000e011023..."} 
[2026-07-01 07:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b7665e0012d7b47c005e1ae68000e011023..."} 
[2026-07-01 07:46:59] local.INFO: Processing buffer {"connection_id":120680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b7665e0012d7b47c005e1ae68000e011023..."} 
[2026-07-01 07:46:59] local.INFO: Packet analysis {"connection_id":120680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b76"} 
[2026-07-01 07:46:59] local.INFO: Extracted packet for processing {"connection_id":120680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b76"} 
[2026-07-01 07:46:59] local.INFO: GPS Element Parsed {"raw_longitude":763054016,"raw_latitude":98676328,"longitude_deg":76.3054016,"latitude_deg":9.8676328,"altitude":14,"angle":272,"satellites":35,"speed":4,"hex_longitude":"2d7b47c0","hex_latitude":"05e1ae68","is_valid_coordinates":true} 
[2026-07-01 07:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415274752001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101168680506753024,"note":"Value kept but may cause issues"} 
[2026-07-01 07:46:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884335452667955200,"note":"Value kept but may cause issues"} 
[2026-07-01 07:46:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782872172000,"timestamp_ms":1782872172000,"timestamp_seconds":1782872172,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b7665e0"} 
[2026-07-01 07:46:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:46:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-01 07:46:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:46:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:46:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":120680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":120680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":120680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:46:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415274752001,"66":12363,"169":206,"85":15104,"24":4,"16":101168680506753024,"45":8884335452667955200},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-01 07:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415274752001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:46:59] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-01 07:46:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101168680506753024,"km_value":101168680506753.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:46:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884335452667955200,"description":"Unknown IO ID 45"} 
[2026-07-01 07:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415274752001,"power":12363,"unknown_169":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8884335452667955200}} 
[2026-07-01 07:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":120680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416453,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:46:59] local.INFO: GPS data processed {"connection_id":120680,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:46:59] local.INFO: Acknowledgment sent {"connection_id":120680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:47:00] local.INFO: TCP Data received {"connection_id":120681,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b750a38012d20d08006ce3d10000b01532f..."} 
[2026-07-01 07:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b750a38012d20d08006ce3d10000b01532f..."} 
[2026-07-01 07:47:00] local.INFO: Processing buffer {"connection_id":120681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b750a38012d20d08006ce3d10000b01532f..."} 
[2026-07-01 07:47:00] local.INFO: Packet analysis {"connection_id":120681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b75"} 
[2026-07-01 07:47:00] local.INFO: Extracted packet for processing {"connection_id":120681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b75"} 
[2026-07-01 07:47:00] local.INFO: GPS Element Parsed {"raw_longitude":757125248,"raw_latitude":114179344,"longitude_deg":75.7125248,"latitude_deg":11.4179344,"altitude":11,"angle":339,"satellites":47,"speed":44,"hex_longitude":"2d20d080","hex_latitude":"06ce3d10","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:47:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415250944001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:47:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332988616890384384,"note":"Value kept but may cause issues"} 
[2026-07-01 07:47:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2369245276945524736,"note":"Value kept but may cause issues"} 
[2026-07-01 07:47:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:47:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782872083000,"timestamp_ms":1782872083000,"timestamp_seconds":1782872083,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b750a38"} 
[2026-07-01 07: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-01 07:47:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 07:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-01 07:47:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07: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-01 07: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-01 07:47:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:47:00] local.INFO: Teltonika packet parsed successfully {"connection_id":120681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:47:00] local.INFO: Passing IMEI to GPS processor {"connection_id":120681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:47:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":120681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:47:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:47:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:47:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:47:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415250944001,"66":27908,"60":206,"81":22528,"24":44,"16":332988616890384384,"45":2369245276945524736},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,81,24,16,45]} 
[2026-07-01 07:47:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:47:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:47:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415250944001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:47:00] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-01 07:47:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-07-01 07:47:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332988616890384384,"km_value":332988616890384.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:47:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":2369245276945524736,"description":"Unknown IO ID 45"} 
[2026-07-01 07:47:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415250944001,"power":27908,"unknown_60":206,"unknown_81":22528,"ignition":44,"odometer":null,"unknown_45":2369245276945524736}} 
[2026-07-01 07:47:00] local.INFO: DEBUG: GPS processor result {"connection_id":120681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:47:00] local.INFO: GPS data processed {"connection_id":120681,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:47:00] local.INFO: Acknowledgment sent {"connection_id":120681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:47:16] local.INFO: TCP Data received {"connection_id":118805,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118805,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:47:16] local.INFO: Processing buffer {"connection_id":118805,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:47:16] local.INFO: IMEI packet received {"connection_id":118805,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 07:47:16] local.INFO: IMEI acknowledgment sent {"connection_id":118805,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:47:18] local.INFO: TCP Data received {"connection_id":118804,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118804,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:47:18] local.INFO: Processing buffer {"connection_id":118804,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:47:18] local.INFO: IMEI packet received {"connection_id":118804,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 07:47:18] local.INFO: IMEI acknowledgment sent {"connection_id":118804,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:47:19] local.INFO: TCP Data received {"connection_id":118804,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118804,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:47:19] local.INFO: Processing buffer {"connection_id":118804,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:47:19] local.INFO: IMEI packet received {"connection_id":118804,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":118804,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:47:23] local.INFO: TCP Data received {"connection_id":118804,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118804,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:47:23] local.INFO: Processing buffer {"connection_id":118804,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:47:23] local.INFO: IMEI packet received {"connection_id":118804,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:47:23] local.INFO: IMEI acknowledgment sent {"connection_id":118804,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:47:24] local.INFO: TCP Data received {"connection_id":118804,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b7690d8012d7b448005e1ae68000f012425..."} 
[2026-07-01 07:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b7690d8012d7b448005e1ae68000f012425..."} 
[2026-07-01 07:47:24] local.INFO: Processing buffer {"connection_id":118804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b7690d8012d7b448005e1ae68000f012425..."} 
[2026-07-01 07:47:24] local.INFO: Packet analysis {"connection_id":118804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b76"} 
[2026-07-01 07:47:24] local.INFO: Extracted packet for processing {"connection_id":118804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b76"} 
[2026-07-01 07:47:24] local.INFO: GPS Element Parsed {"raw_longitude":763053184,"raw_latitude":98676328,"longitude_deg":76.3053184,"latitude_deg":9.8676328,"altitude":15,"angle":292,"satellites":37,"speed":3,"hex_longitude":"2d7b4480","hex_latitude":"05e1ae68","is_valid_coordinates":true} 
[2026-07-01 07:47:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:47:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415276032001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:47:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101168723456425984,"note":"Value kept but may cause issues"} 
[2026-07-01 07:47:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883279921505265664,"note":"Value kept but may cause issues"} 
[2026-07-01 07:47:24] 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-01 07:47:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782872183000,"timestamp_ms":1782872183000,"timestamp_seconds":1782872183,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b7690d8"} 
[2026-07-01 07:47:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:47:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:47:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-01 07:47:24] 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-01 07:47:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:47:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:47:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:47:24] local.INFO: Teltonika packet parsed successfully {"connection_id":118804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:47:24] local.INFO: Passing IMEI to GPS processor {"connection_id":118804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:47:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":118804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:47:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:47:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:47:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:47:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415276032001,"66":12667,"169":206,"85":15104,"24":3,"16":101168723456425984,"45":8883279921505265664},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-01 07:47:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:47:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:47:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415276032001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:47:24] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-01 07:47:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:47:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101168723456425984,"km_value":101168723456425.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:47:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883279921505265664,"description":"Unknown IO ID 45"} 
[2026-07-01 07:47:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415276032001,"power":12667,"unknown_169":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8883279921505265664}} 
[2026-07-01 07:47:24] local.INFO: DEBUG: GPS processor result {"connection_id":118804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416455,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:47:24] local.INFO: GPS data processed {"connection_id":118804,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:47:24] local.INFO: Acknowledgment sent {"connection_id":118804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:47:25] local.INFO: TCP Data received {"connection_id":118913,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:47:25] local.INFO: Processing buffer {"connection_id":118913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:47:25] local.INFO: IMEI packet received {"connection_id":118913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 07:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":118913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:47:25] local.INFO: TCP Data received {"connection_id":118804,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b769c90012d7b43c005e1aea8000f013425..."} 
[2026-07-01 07:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b769c90012d7b43c005e1aea8000f013425..."} 
[2026-07-01 07:47:25] local.INFO: Processing buffer {"connection_id":118804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b769c90012d7b43c005e1aea8000f013425..."} 
[2026-07-01 07:47:25] local.INFO: Packet analysis {"connection_id":118804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b76"} 
[2026-07-01 07:47:25] local.INFO: Extracted packet for processing {"connection_id":118804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b76"} 
[2026-07-01 07:47:25] local.INFO: GPS Element Parsed {"raw_longitude":763052992,"raw_latitude":98676392,"longitude_deg":76.3052992,"latitude_deg":9.8676392,"altitude":15,"angle":308,"satellites":37,"speed":2,"hex_longitude":"2d7b43c0","hex_latitude":"05e1aea8","is_valid_coordinates":true} 
[2026-07-01 07:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:47:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415278848001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:47:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101168736341327872,"note":"Value kept but may cause issues"} 
[2026-07-01 07:47:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882365127830956032,"note":"Value kept but may cause issues"} 
[2026-07-01 07:47: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-01 07:47:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782872186000,"timestamp_ms":1782872186000,"timestamp_seconds":1782872186,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b769c90"} 
[2026-07-01 07:47:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:47:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-01 07:47:25] 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-01 07:47:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:47:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:47:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:47:25] local.INFO: Teltonika packet parsed successfully {"connection_id":118804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:47:25] local.INFO: Passing IMEI to GPS processor {"connection_id":118804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:47:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":118804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:47:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:47:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:47:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:47:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415278848001,"66":12765,"169":206,"85":15104,"24":2,"16":101168736341327872,"45":8882365127830956032},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-01 07:47:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:47:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:47:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415278848001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:47:25] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-01 07:47:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:47:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101168736341327872,"km_value":101168736341327.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:47:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882365127830956032,"description":"Unknown IO ID 45"} 
[2026-07-01 07:47:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415278848001,"power":12765,"unknown_169":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8882365127830956032}} 
[2026-07-01 07:47:25] local.INFO: DEBUG: GPS processor result {"connection_id":118804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416456,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:47:25] local.INFO: GPS data processed {"connection_id":118804,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:47:25] local.INFO: Acknowledgment sent {"connection_id":118804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:47:26] local.INFO: TCP Data received {"connection_id":118913,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:47:26] local.INFO: Processing buffer {"connection_id":118913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:47:26] local.INFO: IMEI packet received {"connection_id":118913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":118913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:47:31] local.INFO: TCP Data received {"connection_id":118913,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:47:31] local.INFO: Processing buffer {"connection_id":118913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:47:31] local.INFO: IMEI packet received {"connection_id":118913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":118913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:47:34] local.INFO: TCP Data received {"connection_id":118913,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b752d60012d20c64006ce6228000b015b2c..."} 
[2026-07-01 07:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b752d60012d20c64006ce6228000b015b2c..."} 
[2026-07-01 07:47:34] local.INFO: Processing buffer {"connection_id":118913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b752d60012d20c64006ce6228000b015b2c..."} 
[2026-07-01 07:47:34] local.INFO: Packet analysis {"connection_id":118913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b75"} 
[2026-07-01 07:47:34] local.INFO: Extracted packet for processing {"connection_id":118913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b75"} 
[2026-07-01 07:47:34] local.INFO: GPS Element Parsed {"raw_longitude":757122624,"raw_latitude":114188840,"longitude_deg":75.7122624,"latitude_deg":11.418884,"altitude":11,"angle":347,"satellites":44,"speed":42,"hex_longitude":"2d20c640","hex_latitude":"06ce6228","is_valid_coordinates":true} 
[2026-07-01 07:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415253248001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332989097926721536,"note":"Value kept but may cause issues"} 
[2026-07-01 07:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2364530571087777792,"note":"Value kept but may cause issues"} 
[2026-07-01 07:47:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782872092000,"timestamp_ms":1782872092000,"timestamp_seconds":1782872092,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b752d60"} 
[2026-07-01 07:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:47:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 07:47:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:47:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":118913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":118913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":118913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415253248001,"66":27865,"60":206,"81":22528,"24":42,"16":332989097926721536,"45":2364530571087777792},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,81,24,16,45]} 
[2026-07-01 07:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415253248001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:47:34] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-01 07:47:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-07-01 07:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332989097926721536,"km_value":332989097926721.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":2364530571087777792,"description":"Unknown IO ID 45"} 
[2026-07-01 07:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415253248001,"power":27865,"unknown_60":206,"unknown_81":22528,"ignition":42,"odometer":null,"unknown_45":2364530571087777792}} 
[2026-07-01 07:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":118913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:47:34] local.INFO: GPS data processed {"connection_id":118913,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:47:34] local.INFO: Acknowledgment sent {"connection_id":118913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:47:36] local.INFO: TCP Data received {"connection_id":118913,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b755088012d20bf0006ce8520000c015c2d..."} 
[2026-07-01 07:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b755088012d20bf0006ce8520000c015c2d..."} 
[2026-07-01 07:47:36] local.INFO: Processing buffer {"connection_id":118913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b755088012d20bf0006ce8520000c015c2d..."} 
[2026-07-01 07:47:36] local.INFO: Packet analysis {"connection_id":118913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b75"} 
[2026-07-01 07:47:36] local.INFO: Extracted packet for processing {"connection_id":118913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b75"} 
[2026-07-01 07:47:36] local.INFO: GPS Element Parsed {"raw_longitude":757120768,"raw_latitude":114197792,"longitude_deg":75.7120768,"latitude_deg":11.4197792,"altitude":12,"angle":348,"satellites":45,"speed":38,"hex_longitude":"2d20bf00","hex_latitude":"06ce8520","is_valid_coordinates":true} 
[2026-07-01 07:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415255552001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332989540308353024,"note":"Value kept but may cause issues"} 
[2026-07-01 07:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2361645452578924544,"note":"Value kept but may cause issues"} 
[2026-07-01 07:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782872101000,"timestamp_ms":1782872101000,"timestamp_seconds":1782872101,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b755088"} 
[2026-07-01 07:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 07:47:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:47:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":118913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":118913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":118913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415255552001,"66":28028,"61":206,"81":22528,"24":38,"16":332989540308353024,"45":2361645452578924544},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,81,24,16,45]} 
[2026-07-01 07:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415255552001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:47:36] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 07:47:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-07-01 07:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332989540308353024,"km_value":332989540308353.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":2361645452578924544,"description":"Unknown IO ID 45"} 
[2026-07-01 07:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415255552001,"power":28028,"unknown_61":206,"unknown_81":22528,"ignition":38,"odometer":null,"unknown_45":2361645452578924544}} 
[2026-07-01 07:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":118913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:47:36] local.INFO: GPS data processed {"connection_id":118913,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:47:36] local.INFO: Acknowledgment sent {"connection_id":118913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:47:56] local.INFO: TCP Data received {"connection_id":118804,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b77b9b8012d7b2f4005e20588000100031b..."} 
[2026-07-01 07:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b77b9b8012d7b2f4005e20588000100031b..."} 
[2026-07-01 07:47:56] local.INFO: Processing buffer {"connection_id":118804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b77b9b8012d7b2f4005e20588000100031b..."} 
[2026-07-01 07:47:56] local.INFO: Packet analysis {"connection_id":118804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b77"} 
[2026-07-01 07:47:56] local.INFO: Extracted packet for processing {"connection_id":118804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b77"} 
[2026-07-01 07:47:56] local.INFO: GPS Element Parsed {"raw_longitude":763047744,"raw_latitude":98698632,"longitude_deg":76.3047744,"latitude_deg":9.8698632,"altitude":1,"angle":3,"satellites":27,"speed":5,"hex_longitude":"2d7b2f40","hex_latitude":"05e20588","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:47:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415296256001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:47:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101169895982497792,"note":"Value kept but may cause issues"} 
[2026-07-01 07:47:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8876031940860160000,"note":"Value kept but may cause issues"} 
[2026-07-01 07:47:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:47:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782872259000,"timestamp_ms":1782872259000,"timestamp_seconds":1782872259,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b77b9b8"} 
[2026-07-01 07: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-01 07:47:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-01 07:47:56] 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-01 07: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-01 07: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-01 07:47:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:47:56] local.INFO: Teltonika packet parsed successfully {"connection_id":118804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:47:56] local.INFO: Passing IMEI to GPS processor {"connection_id":118804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:47:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":118804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:47:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:47:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:47:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:47:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415296256001,"66":13059,"169":206,"85":15104,"24":5,"16":101169895982497792,"45":8876031940860160000},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-01 07:47:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:47:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:47:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415296256001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:47:56] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-01 07:47:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:47:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101169895982497792,"km_value":101169895982497.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:47:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8876031940860160000,"description":"Unknown IO ID 45"} 
[2026-07-01 07:47:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415296256001,"power":13059,"unknown_169":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8876031940860160000}} 
[2026-07-01 07:47:56] local.INFO: DEBUG: GPS processor result {"connection_id":118804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416459,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:47:56] local.INFO: GPS data processed {"connection_id":118804,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:47:56] local.INFO: Acknowledgment sent {"connection_id":118804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:48:16] local.INFO: TCP Data received {"connection_id":119573,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119573,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:48:16] local.INFO: Processing buffer {"connection_id":119573,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:48:16] local.INFO: IMEI packet received {"connection_id":119573,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 07:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":119573,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:48:18] local.INFO: TCP Data received {"connection_id":119573,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119573,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:48:18] local.INFO: Processing buffer {"connection_id":119573,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:48:18] local.INFO: IMEI packet received {"connection_id":119573,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:48:18] local.INFO: IMEI acknowledgment sent {"connection_id":119573,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:48:20] local.INFO: TCP Data received {"connection_id":120683,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:48:20] local.INFO: Processing buffer {"connection_id":120683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:48:20] local.INFO: IMEI packet received {"connection_id":120683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 07:48:20] local.INFO: IMEI acknowledgment sent {"connection_id":120683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:48:21] local.INFO: TCP Data received {"connection_id":120683,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:48:21] local.INFO: Processing buffer {"connection_id":120683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:48:21] local.INFO: IMEI packet received {"connection_id":120683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:48:21] local.INFO: IMEI acknowledgment sent {"connection_id":120683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:48:24] local.INFO: TCP Data received {"connection_id":119573,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119573,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:48:24] local.INFO: Processing buffer {"connection_id":119573,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:48:24] local.INFO: IMEI packet received {"connection_id":119573,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:48:24] local.INFO: IMEI acknowledgment sent {"connection_id":119573,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:48:25] local.INFO: TCP Data received {"connection_id":119573,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b77d128012d7b2ec005e208c80000015c1d..."} 
[2026-07-01 07:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b77d128012d7b2ec005e208c80000015c1d..."} 
[2026-07-01 07:48:25] local.INFO: Processing buffer {"connection_id":119573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b77d128012d7b2ec005e208c80000015c1d..."} 
[2026-07-01 07:48:25] local.INFO: Packet analysis {"connection_id":119573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b77"} 
[2026-07-01 07:48:25] local.INFO: Extracted packet for processing {"connection_id":119573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b77"} 
[2026-07-01 07:48:25] local.INFO: GPS Element Parsed {"raw_longitude":763047616,"raw_latitude":98699464,"longitude_deg":76.3047616,"latitude_deg":9.8699464,"altitude":0,"angle":348,"satellites":29,"speed":6,"hex_longitude":"2d7b2ec0","hex_latitude":"05e208c8","is_valid_coordinates":true} 
[2026-07-01 07:48: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-01 07:48:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415298304001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:48:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101169938932170752,"note":"Value kept but may cause issues"} 
[2026-07-01 07:48:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8876383784581564416,"note":"Value kept but may cause issues"} 
[2026-07-01 07:48: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-01 07:48:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782872265000,"timestamp_ms":1782872265000,"timestamp_seconds":1782872265,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b77d128"} 
[2026-07-01 07:48:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:48:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:48:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-01 07:48:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303150966820263,"note":"Value kept but may cause issues"} 
[2026-07-01 07:48:25] local.WARNING: Large IO value detected {"io_id":169,"raw_value":58077557095399433,"note":"Value kept but may cause issues"} 
[2026-07-01 07:48:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-01 07:48:25] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":61440,"corrected_to":0} 
[2026-07-01 07:48:25] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3786440704,"note":"Value kept but may cause issues"} 
[2026-07-01 07:48:25] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3584032781,"note":"Value kept but may cause issues"} 
[2026-07-01 07:48:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2812870862,"corrected_to":0} 
[2026-07-01 07:48:25] local.WARNING: Large IO value detected {"io_id":222,"raw_value":4160826747,"note":"Value kept but may cause issues"} 
[2026-07-01 07:48:25] local.WARNING: Large IO value detected {"io_id":61,"raw_value":2147869106,"note":"Value kept but may cause issues"} 
[2026-07-01 07:48:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":983396,"corrected_to":0} 
[2026-07-01 07:48:25] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,169,85,24,241,157,16,109,159,154,45,253,4,27,10,66,123,128,246,5,28,103,192,1,240,254,227,225,113,205,26,222,61,200,36,239,48,2,15,9],"length":486,"final_offset":616,"validated_count":40,"validation_warnings":[{"io_id":246,"original":61440,"validated":0},{"io_id":205,"original":2812870862,"validated":0},{"io_id":200,"original":983396,"validated":0}]} 
[2026-07-01 07:48:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72061008537255936,"timestamp_seconds":72061008537255.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 07:48:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:48:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:48:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:48:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119573,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:48:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119573,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:48:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:48:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:48:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:48:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415298304001,"66":13015,"169":206,"85":15104,"24":6,"16":101169938932170752,"45":8876383784581564416},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-01 07:48:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:48:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:48:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415298304001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:48:25] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-01 07:48:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:48:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101169938932170752,"km_value":101169938932170.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:48:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8876383784581564416,"description":"Unknown IO ID 45"} 
[2026-07-01 07:48:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415298304001,"power":13015,"unknown_169":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8876383784581564416}} 
[2026-07-01 07:48:25] local.INFO: DEBUG: GPS processor result {"connection_id":119573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416460,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:48:25] local.INFO: GPS data processed {"connection_id":119573,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:48:25] local.INFO: Acknowledgment sent {"connection_id":119573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:48:26] local.INFO: TCP Data received {"connection_id":120683,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:48:26] local.INFO: Processing buffer {"connection_id":120683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:48:26] local.INFO: IMEI packet received {"connection_id":120683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":120683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:48:27] local.INFO: TCP Data received {"connection_id":120683,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b7738d0012d1fe04006cf6de0001001282f..."} 
[2026-07-01 07:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b7738d0012d1fe04006cf6de0001001282f..."} 
[2026-07-01 07:48:27] local.INFO: Processing buffer {"connection_id":120683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b7738d0012d1fe04006cf6de0001001282f..."} 
[2026-07-01 07:48:27] local.INFO: Packet analysis {"connection_id":120683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b77"} 
[2026-07-01 07:48:27] local.INFO: Extracted packet for processing {"connection_id":120683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b77"} 
[2026-07-01 07:48:27] local.INFO: GPS Element Parsed {"raw_longitude":757063744,"raw_latitude":114257376,"longitude_deg":75.7063744,"latitude_deg":11.4257376,"altitude":16,"angle":296,"satellites":47,"speed":45,"hex_longitude":"2d1fe040","hex_latitude":"06cf6de0","is_valid_coordinates":true} 
[2026-07-01 07:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:48:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415287552001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:48:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332993775146106880,"note":"Value kept but may cause issues"} 
[2026-07-01 07:48:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2306968938369298432,"note":"Value kept but may cause issues"} 
[2026-07-01 07:48:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-01 07:48:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782872226000,"timestamp_ms":1782872226000,"timestamp_seconds":1782872226,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b7738d0"} 
[2026-07-01 07:48:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:48: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-01 07:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-01 07:48:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:48:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:48:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:48:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:48:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:48:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:48:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:48:27] 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-01 07:48:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:48:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:48:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415287552001,"66":27865,"81":22528,"24":45,"16":332993775146106880,"45":2306968938369298432},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-07-01 07:48:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:48:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:48:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415287552001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:48:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-07-01 07:48:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332993775146106880,"km_value":332993775146106.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:48:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":2306968938369298432,"description":"Unknown IO ID 45"} 
[2026-07-01 07:48:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456415287552001,"power":27865,"unknown_81":22528,"ignition":45,"odometer":null,"unknown_45":2306968938369298432}} 
[2026-07-01 07:48:27] local.INFO: DEBUG: GPS processor result {"connection_id":120683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:48:27] local.INFO: GPS data processed {"connection_id":120683,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:48:27] local.INFO: Acknowledgment sent {"connection_id":120683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:48:57] local.INFO: TCP Data received {"connection_id":119573,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b77f450012d7b2e0005e21210000001671b..."} 
[2026-07-01 07:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b77f450012d7b2e0005e21210000001671b..."} 
[2026-07-01 07:48:57] local.INFO: Processing buffer {"connection_id":119573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b77f450012d7b2e0005e21210000001671b..."} 
[2026-07-01 07:48:57] local.INFO: Packet analysis {"connection_id":119573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b77"} 
[2026-07-01 07:48:57] local.INFO: Extracted packet for processing {"connection_id":119573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b77"} 
[2026-07-01 07:48:57] local.INFO: GPS Element Parsed {"raw_longitude":763047424,"raw_latitude":98701840,"longitude_deg":76.3047424,"latitude_deg":9.870184,"altitude":0,"angle":359,"satellites":27,"speed":10,"hex_longitude":"2d7b2e00","hex_latitude":"05e21210","is_valid_coordinates":true} 
[2026-07-01 07:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:48:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415299840001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:48:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101170054896287744,"note":"Value kept but may cause issues"} 
[2026-07-01 07:48:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8876243047093422080,"note":"Value kept but may cause issues"} 
[2026-07-01 07:48:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:48:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782872274000,"timestamp_ms":1782872274000,"timestamp_seconds":1782872274,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b77f450"} 
[2026-07-01 07:48:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:48:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-01 07:48: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-01 07:48:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:48:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:48:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:48:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:48:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119573,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:48:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119573,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:48:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:48:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:48:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:48:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415299840001,"66":12689,"169":206,"85":15104,"24":10,"16":101170054896287744,"45":8876243047093422080},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-01 07:48:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:48:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:48:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415299840001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:48:57] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-01 07:48:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:48:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101170054896287744,"km_value":101170054896287.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:48:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8876243047093422080,"description":"Unknown IO ID 45"} 
[2026-07-01 07:48:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415299840001,"power":12689,"unknown_169":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8876243047093422080}} 
[2026-07-01 07:48:57] local.INFO: DEBUG: GPS processor result {"connection_id":119573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416462,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:48:57] local.INFO: GPS data processed {"connection_id":119573,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:48:57] local.INFO: Acknowledgment sent {"connection_id":119573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:48:58] local.INFO: TCP Data received {"connection_id":120683,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b775810012d1fbe8006cf7ca0000f01212f..."} 
[2026-07-01 07:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b775810012d1fbe8006cf7ca0000f01212f..."} 
[2026-07-01 07:48:58] local.INFO: Processing buffer {"connection_id":120683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b775810012d1fbe8006cf7ca0000f01212f..."} 
[2026-07-01 07:48:58] local.INFO: Packet analysis {"connection_id":120683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b77"} 
[2026-07-01 07:48:58] local.INFO: Extracted packet for processing {"connection_id":120683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b77"} 
[2026-07-01 07:48:58] local.INFO: GPS Element Parsed {"raw_longitude":757055104,"raw_latitude":114261152,"longitude_deg":75.7055104,"latitude_deg":11.4261152,"altitude":15,"angle":289,"satellites":47,"speed":45,"hex_longitude":"2d1fbe80","hex_latitude":"06cf7ca0","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:48:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415289856001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:48:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332994226117672960,"note":"Value kept but may cause issues"} 
[2026-07-01 07:48:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2296906207953018880,"note":"Value kept but may cause issues"} 
[2026-07-01 07:48:58] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-01 07:48:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782872234000,"timestamp_ms":1782872234000,"timestamp_seconds":1782872234,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b775810"} 
[2026-07-01 07: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-01 07:48: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-01 07: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 07:48:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07: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-01 07: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-01 07:48:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:48:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:48:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:48:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:48:58] 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-01 07:48:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:48:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:48:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415289856001,"66":27800,"81":22528,"24":45,"16":332994226117672960,"45":2296906207953018880},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-07-01 07:48:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:48:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:48:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415289856001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:48:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-07-01 07:48:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332994226117672960,"km_value":332994226117672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:48:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2296906207953018880,"description":"Unknown IO ID 45"} 
[2026-07-01 07:48:58] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456415289856001,"power":27800,"unknown_81":22528,"ignition":45,"odometer":null,"unknown_45":2296906207953018880}} 
[2026-07-01 07:48:58] local.INFO: DEBUG: GPS processor result {"connection_id":120683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:48:58] local.INFO: GPS data processed {"connection_id":120683,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:48:58] local.INFO: Acknowledgment sent {"connection_id":120683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:49:19] local.INFO: TCP Data received {"connection_id":118806,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118806,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:49:19] local.INFO: Processing buffer {"connection_id":118806,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:49:19] local.INFO: IMEI packet received {"connection_id":118806,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 07:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":118806,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:49:20] local.INFO: TCP Data received {"connection_id":118807,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:49:20] local.INFO: Processing buffer {"connection_id":118807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:49:20] local.INFO: IMEI packet received {"connection_id":118807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 07:49:20] local.INFO: IMEI acknowledgment sent {"connection_id":118807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:49:20] local.INFO: TCP Data received {"connection_id":118806,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118806,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:49:20] local.INFO: Processing buffer {"connection_id":118806,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:49:20] local.INFO: IMEI packet received {"connection_id":118806,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:49:20] local.INFO: IMEI acknowledgment sent {"connection_id":118806,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:49:24] local.INFO: TCP Data received {"connection_id":118806,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118806,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:49:24] local.INFO: Processing buffer {"connection_id":118806,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:49:24] local.INFO: IMEI packet received {"connection_id":118806,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:49:24] local.INFO: IMEI acknowledgment sent {"connection_id":118806,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:49:25] local.INFO: TCP Data received {"connection_id":118807,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:49:25] local.INFO: Processing buffer {"connection_id":118807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:49:25] local.INFO: IMEI packet received {"connection_id":118807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":118807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:49:26] local.INFO: TCP Data received {"connection_id":118806,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b784658012d7b2c4005e232d80005016323..."} 
[2026-07-01 07:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b784658012d7b2c4005e232d80005016323..."} 
[2026-07-01 07:49:26] local.INFO: Processing buffer {"connection_id":118806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b784658012d7b2c4005e232d80005016323..."} 
[2026-07-01 07:49:26] local.INFO: Packet analysis {"connection_id":118806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b78"} 
[2026-07-01 07:49:26] local.INFO: Extracted packet for processing {"connection_id":118806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b78"} 
[2026-07-01 07:49:26] local.INFO: GPS Element Parsed {"raw_longitude":763046976,"raw_latitude":98710232,"longitude_deg":76.3046976,"latitude_deg":9.8710232,"altitude":5,"angle":355,"satellites":35,"speed":18,"hex_longitude":"2d7b2c40","hex_latitude":"05e232d8","is_valid_coordinates":true} 
[2026-07-01 07:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:49:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415302144001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:49:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101170462918180864,"note":"Value kept but may cause issues"} 
[2026-07-01 07:49:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8876031940861497344,"note":"Value kept but may cause issues"} 
[2026-07-01 07:49: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-01 07:49:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782872295000,"timestamp_ms":1782872295000,"timestamp_seconds":1782872295,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b784658"} 
[2026-07-01 07:49:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:49:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-01 07:49:26] 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-01 07:49:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:49:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:49:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:49:26] local.INFO: Teltonika packet parsed successfully {"connection_id":118806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:49:26] local.INFO: Passing IMEI to GPS processor {"connection_id":118806,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:49:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":118806,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:49:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:49:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:49:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:49:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415302144001,"66":12613,"169":206,"85":15104,"24":18,"16":101170462918180864,"45":8876031940861497344},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-01 07:49:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:49:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:49:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415302144001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:49:26] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-01 07:49:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:49:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101170462918180864,"km_value":101170462918180.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:49:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8876031940861497344,"description":"Unknown IO ID 45"} 
[2026-07-01 07:49:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415302144001,"power":12613,"unknown_169":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8876031940861497344}} 
[2026-07-01 07:49:26] local.INFO: DEBUG: GPS processor result {"connection_id":118806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416464,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:49:26] local.INFO: GPS data processed {"connection_id":118806,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:49:26] local.INFO: Acknowledgment sent {"connection_id":118806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:49:26] local.INFO: TCP Data received {"connection_id":118807,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:49:26] local.INFO: Processing buffer {"connection_id":118807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:49:26] local.INFO: IMEI packet received {"connection_id":118807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":118807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:49:27] local.INFO: TCP Data received {"connection_id":118807,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b777b38012d1f9b8006cf8b78001001252e..."} 
[2026-07-01 07:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b777b38012d1f9b8006cf8b78001001252e..."} 
[2026-07-01 07:49:27] local.INFO: Processing buffer {"connection_id":118807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b777b38012d1f9b8006cf8b78001001252e..."} 
[2026-07-01 07:49:27] local.INFO: Packet analysis {"connection_id":118807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b77"} 
[2026-07-01 07:49:27] local.INFO: Extracted packet for processing {"connection_id":118807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b77"} 
[2026-07-01 07:49:27] local.INFO: GPS Element Parsed {"raw_longitude":757046144,"raw_latitude":114264952,"longitude_deg":75.7046144,"latitude_deg":11.4264952,"altitude":16,"angle":293,"satellites":46,"speed":40,"hex_longitude":"2d1f9b80","hex_latitude":"06cf8b78","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415291904001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332994689974140928,"note":"Value kept but may cause issues"} 
[2026-07-01 07:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2287406427490000896,"note":"Value kept but may cause issues"} 
[2026-07-01 07:49:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-01 07:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782872243000,"timestamp_ms":1782872243000,"timestamp_seconds":1782872243,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b777b38"} 
[2026-07-01 07: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-01 07:49: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-01 07: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 07:49:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07: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-01 07: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-01 07:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:49:27] 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-01 07:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415291904001,"66":27865,"81":22528,"24":40,"16":332994689974140928,"45":2287406427490000896},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-07-01 07:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415291904001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:49:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-07-01 07:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332994689974140928,"km_value":332994689974140.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":2287406427490000896,"description":"Unknown IO ID 45"} 
[2026-07-01 07:49:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456415291904001,"power":27865,"unknown_81":22528,"ignition":40,"odometer":null,"unknown_45":2287406427490000896}} 
[2026-07-01 07:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":118807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:49:27] local.INFO: GPS data processed {"connection_id":118807,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:49:27] local.INFO: Acknowledgment sent {"connection_id":118807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:49:28] local.INFO: TCP Data received {"connection_id":118807,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b77a630012d1f794006cf9b88001301292c..."} 
[2026-07-01 07:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b77a630012d1f794006cf9b88001301292c..."} 
[2026-07-01 07:49:28] local.INFO: Processing buffer {"connection_id":118807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b77a630012d1f794006cf9b88001301292c..."} 
[2026-07-01 07:49:28] local.INFO: Packet analysis {"connection_id":118807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b77"} 
[2026-07-01 07:49:28] local.INFO: Extracted packet for processing {"connection_id":118807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b77"} 
[2026-07-01 07:49:28] local.INFO: GPS Element Parsed {"raw_longitude":757037376,"raw_latitude":114269064,"longitude_deg":75.7037376,"latitude_deg":11.4269064,"altitude":19,"angle":297,"satellites":44,"speed":30,"hex_longitude":"2d1f7940","hex_latitude":"06cf9b88","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:49:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415294208001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:49:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332995153830608896,"note":"Value kept but may cause issues"} 
[2026-07-01 07:49:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2277554803306100736,"note":"Value kept but may cause issues"} 
[2026-07-01 07:49:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-01 07:49:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782872254000,"timestamp_ms":1782872254000,"timestamp_seconds":1782872254,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b77a630"} 
[2026-07-01 07: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-01 07:49: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-01 07: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 07:49:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07: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-01 07: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-01 07:49:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:49:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:49:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:49:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:49:28] 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-01 07:49:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:49:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:49:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415294208001,"66":27767,"81":22528,"24":30,"16":332995153830608896,"45":2277554803306100736},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-07-01 07:49:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:49:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:49:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415294208001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:49:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-07-01 07:49:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332995153830608896,"km_value":332995153830608.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:49:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":2277554803306100736,"description":"Unknown IO ID 45"} 
[2026-07-01 07:49:28] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456415294208001,"power":27767,"unknown_81":22528,"ignition":30,"odometer":null,"unknown_45":2277554803306100736}} 
[2026-07-01 07:49:28] local.INFO: DEBUG: GPS processor result {"connection_id":118807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:49:28] local.INFO: GPS data processed {"connection_id":118807,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:49:28] local.INFO: Acknowledgment sent {"connection_id":118807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:49:30] local.INFO: TCP Data received {"connection_id":118806,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b7884d8012d7b270005e255880005015e21..."} 
[2026-07-01 07:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b7884d8012d7b270005e255880005015e21..."} 
[2026-07-01 07:49:30] local.INFO: Processing buffer {"connection_id":118806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b7884d8012d7b270005e255880005015e21..."} 
[2026-07-01 07:49:30] local.INFO: Packet analysis {"connection_id":118806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b78"} 
[2026-07-01 07:49:30] local.INFO: Extracted packet for processing {"connection_id":118806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b78"} 
[2026-07-01 07:49:30] local.INFO: GPS Element Parsed {"raw_longitude":763045632,"raw_latitude":98719112,"longitude_deg":76.3045632,"latitude_deg":9.8719112,"altitude":5,"angle":350,"satellites":33,"speed":25,"hex_longitude":"2d7b2700","hex_latitude":"05e25588","is_valid_coordinates":true} 
[2026-07-01 07:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415307520001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101170901004845056,"note":"Value kept but may cause issues"} 
[2026-07-01 07:49:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8875539359654402048,"note":"Value kept but may cause issues"} 
[2026-07-01 07:49:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782872311000,"timestamp_ms":1782872311000,"timestamp_seconds":1782872311,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b7884d8"} 
[2026-07-01 07:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:49:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-01 07:49:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:49:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":118806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":118806,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":118806,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:49:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415307520001,"66":12939,"169":206,"85":15104,"24":25,"16":101170901004845056,"45":8875539359654402048},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-01 07:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415307520001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:49:30] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-01 07:49:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101170901004845056,"km_value":101170901004845.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:49:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8875539359654402048,"description":"Unknown IO ID 45"} 
[2026-07-01 07:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415307520001,"power":12939,"unknown_169":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8875539359654402048}} 
[2026-07-01 07:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":118806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416467,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:49:30] local.INFO: GPS data processed {"connection_id":118806,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:49:30] local.INFO: Acknowledgment sent {"connection_id":118806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:50:00] local.INFO: TCP Data received {"connection_id":118807,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b78ea68012d1eacc006d0bc40001001452e..."} 
[2026-07-01 07:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b78ea68012d1eacc006d0bc40001001452e..."} 
[2026-07-01 07:50:00] local.INFO: Processing buffer {"connection_id":118807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b78ea68012d1eacc006d0bc40001001452e..."} 
[2026-07-01 07:50:00] local.INFO: Packet analysis {"connection_id":118807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b78"} 
[2026-07-01 07:50:00] local.INFO: Extracted packet for processing {"connection_id":118807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b78"} 
[2026-07-01 07:50:00] local.INFO: GPS Element Parsed {"raw_longitude":756985024,"raw_latitude":114342976,"longitude_deg":75.6985024,"latitude_deg":11.4342976,"altitude":16,"angle":325,"satellites":46,"speed":52,"hex_longitude":"2d1eacc0","hex_latitude":"06d0bc40","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415316480001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":332999538992218112,"note":"Value kept but may cause issues"} 
[2026-07-01 07:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2215982152168626176,"note":"Value kept but may cause issues"} 
[2026-07-01 07:50:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782872337000,"timestamp_ms":1782872337000,"timestamp_seconds":1782872337,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b78ea68"} 
[2026-07-01 07: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-01 07:50:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 07: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 07:50:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07: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-01 07: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-01 07:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":118807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":118807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":118807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:50:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415316480001,"66":27800,"141":206,"81":20480,"24":52,"16":332999538992218112,"45":2215982152168626176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,81,24,16,45]} 
[2026-07-01 07:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415316480001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:50:00] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 07:50:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-01 07:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":332999538992218112,"km_value":332999538992218.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":2215982152168626176,"description":"Unknown IO ID 45"} 
[2026-07-01 07:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415316480001,"power":27800,"unknown_141":206,"unknown_81":20480,"ignition":52,"odometer":null,"unknown_45":2215982152168626176}} 
[2026-07-01 07:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":118807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:50:00] local.INFO: GPS data processed {"connection_id":118807,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:50:00] local.INFO: Acknowledgment sent {"connection_id":118807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:50:06] local.INFO: TCP Data received {"connection_id":118806,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b78afd0012d7b228005e27aa00003015f21..."} 
[2026-07-01 07:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b78afd0012d7b228005e27aa00003015f21..."} 
[2026-07-01 07:50:06] local.INFO: Processing buffer {"connection_id":118806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b78afd0012d7b228005e27aa00003015f21..."} 
[2026-07-01 07:50:06] local.INFO: Packet analysis {"connection_id":118806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b78"} 
[2026-07-01 07:50:06] local.INFO: Extracted packet for processing {"connection_id":118806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b78"} 
[2026-07-01 07:50:06] local.INFO: GPS Element Parsed {"raw_longitude":763044480,"raw_latitude":98728608,"longitude_deg":76.304448,"latitude_deg":9.8728608,"altitude":3,"angle":351,"satellites":33,"speed":40,"hex_longitude":"2d7b2280","hex_latitude":"05e27aa0","is_valid_coordinates":true} 
[2026-07-01 07:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415311616001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101171364861313024,"note":"Value kept but may cause issues"} 
[2026-07-01 07:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874061616028944384,"note":"Value kept but may cause issues"} 
[2026-07-01 07:50:06] 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-01 07:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782872322000,"timestamp_ms":1782872322000,"timestamp_seconds":1782872322,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b78afd0"} 
[2026-07-01 07:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-01 07:50:06] 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-01 07:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":118806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":118806,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":118806,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415311616001,"66":12906,"169":206,"85":15104,"24":40,"16":101171364861313024,"45":8874061616028944384},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-07-01 07:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415311616001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:50:06] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-01 07:50:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101171364861313024,"km_value":101171364861313.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874061616028944384,"description":"Unknown IO ID 45"} 
[2026-07-01 07:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415311616001,"power":12906,"unknown_169":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":8874061616028944384}} 
[2026-07-01 07:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":118806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416469,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:50:06] local.INFO: GPS data processed {"connection_id":118806,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:50:06] local.INFO: Acknowledgment sent {"connection_id":118806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:50:18] local.INFO: TCP Data received {"connection_id":118916,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118916,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:50:18] local.INFO: Processing buffer {"connection_id":118916,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:50:18] local.INFO: IMEI packet received {"connection_id":118916,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 07:50:18] local.INFO: IMEI acknowledgment sent {"connection_id":118916,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:50:21] local.INFO: TCP Data received {"connection_id":118808,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:50:21] local.INFO: Processing buffer {"connection_id":118808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:50:21] local.INFO: IMEI packet received {"connection_id":118808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 07:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":118808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:50:24] local.INFO: TCP Data received {"connection_id":118916,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118916,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:50:24] local.INFO: Processing buffer {"connection_id":118916,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:50:24] local.INFO: IMEI packet received {"connection_id":118916,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":118916,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:50:25] local.INFO: TCP Data received {"connection_id":118916,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b78d6e0012d7b1d8005e29d300002016119..."} 
[2026-07-01 07:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b78d6e0012d7b1d8005e29d300002016119..."} 
[2026-07-01 07:50:25] local.INFO: Processing buffer {"connection_id":118916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b78d6e0012d7b1d8005e29d300002016119..."} 
[2026-07-01 07:50:25] local.INFO: Packet analysis {"connection_id":118916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b78"} 
[2026-07-01 07:50:25] local.INFO: Extracted packet for processing {"connection_id":118916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b78"} 
[2026-07-01 07:50:25] local.INFO: GPS Element Parsed {"raw_longitude":763043200,"raw_latitude":98737456,"longitude_deg":76.30432,"latitude_deg":9.8737456,"altitude":2,"angle":353,"satellites":25,"speed":38,"hex_longitude":"2d7b1d80","hex_latitude":"05e29d30","is_valid_coordinates":true} 
[2026-07-01 07:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415314432001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101171798653009920,"note":"Value kept but may cause issues"} 
[2026-07-01 07:50:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872794978636177408,"note":"Value kept but may cause issues"} 
[2026-07-01 07:50:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782872332000,"timestamp_ms":1782872332000,"timestamp_seconds":1782872332,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b78d6e0"} 
[2026-07-01 07:50:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:50:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-01 07:50:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:50:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:50:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":118916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":118916,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":118916,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:50:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415314432001,"66":12613,"96":206,"85":15104,"24":38,"16":101171798653009920,"45":8872794978636177408},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-01 07:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415314432001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:50:25] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-01 07:50:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:50:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101171798653009920,"km_value":101171798653009.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:50:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872794978636177408,"description":"Unknown IO ID 45"} 
[2026-07-01 07:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415314432001,"power":12613,"unknown_96":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8872794978636177408}} 
[2026-07-01 07:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":118916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416470,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:50:25] local.INFO: GPS data processed {"connection_id":118916,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:50:25] local.INFO: Acknowledgment sent {"connection_id":118916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:50:26] local.INFO: TCP Data received {"connection_id":118808,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:50:26] local.INFO: Processing buffer {"connection_id":118808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:50:26] local.INFO: IMEI packet received {"connection_id":118808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":118808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:50:28] local.INFO: TCP Data received {"connection_id":118808,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b7909a8012d1e964006d0dd28001101482d..."} 
[2026-07-01 07:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b7909a8012d1e964006d0dd28001101482d..."} 
[2026-07-01 07:50:28] local.INFO: Processing buffer {"connection_id":118808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b7909a8012d1e964006d0dd28001101482d..."} 
[2026-07-01 07:50:28] local.INFO: Packet analysis {"connection_id":118808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b79"} 
[2026-07-01 07:50:28] local.INFO: Extracted packet for processing {"connection_id":118808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b79"} 
[2026-07-01 07:50:28] local.INFO: GPS Element Parsed {"raw_longitude":756979264,"raw_latitude":114351400,"longitude_deg":75.6979264,"latitude_deg":11.43514,"altitude":17,"angle":328,"satellites":45,"speed":50,"hex_longitude":"2d1e9640","hex_latitude":"06d0dd28","is_valid_coordinates":true} 
[2026-07-01 07:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415318272001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333000028618489856,"note":"Value kept but may cause issues"} 
[2026-07-01 07:50:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2210352652636405760,"note":"Value kept but may cause issues"} 
[2026-07-01 07:50:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782872345000,"timestamp_ms":1782872345000,"timestamp_seconds":1782872345,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b7909a8"} 
[2026-07-01 07:50:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:50: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-01 07:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 07:50:28] 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-01 07:50:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:50:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:50:28] 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-01 07:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415318272001,"66":27908,"141":206,"81":20480,"24":50,"16":333000028618489856,"45":2210352652636405760},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,81,24,16,45]} 
[2026-07-01 07:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415318272001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:50:28] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 07:50:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-01 07:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333000028618489856,"km_value":333000028618489.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:50:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":2210352652636405760,"description":"Unknown IO ID 45"} 
[2026-07-01 07:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415318272001,"power":27908,"unknown_141":206,"unknown_81":20480,"ignition":50,"odometer":null,"unknown_45":2210352652636405760}} 
[2026-07-01 07:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":118808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:50:28] local.INFO: GPS data processed {"connection_id":118808,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:50:28] local.INFO: Acknowledgment sent {"connection_id":118808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:50:56] local.INFO: TCP Data received {"connection_id":118916,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b78fa08012d7b184005e2c1700000015d19..."} 
[2026-07-01 07:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b78fa08012d7b184005e2c1700000015d19..."} 
[2026-07-01 07:50:56] local.INFO: Processing buffer {"connection_id":118916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b78fa08012d7b184005e2c1700000015d19..."} 
[2026-07-01 07:50:56] local.INFO: Packet analysis {"connection_id":118916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b78"} 
[2026-07-01 07:50:56] local.INFO: Extracted packet for processing {"connection_id":118916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b78"} 
[2026-07-01 07:50:56] local.INFO: GPS Element Parsed {"raw_longitude":763041856,"raw_latitude":98746736,"longitude_deg":76.3041856,"latitude_deg":9.8746736,"altitude":0,"angle":349,"satellites":25,"speed":45,"hex_longitude":"2d7b1840","hex_latitude":"05e2c170","is_valid_coordinates":true} 
[2026-07-01 07:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415316992001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101172253919543296,"note":"Value kept but may cause issues"} 
[2026-07-01 07:50:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8871387603754889216,"note":"Value kept but may cause issues"} 
[2026-07-01 07:50:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782872341000,"timestamp_ms":1782872341000,"timestamp_seconds":1782872341,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b78fa08"} 
[2026-07-01 07:50:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:50:56] 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-01 07:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-01 07:50:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-01 07:50:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:50:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":118916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":118916,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":118916,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:50:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415316992001,"66":13091,"96":206,"85":15104,"24":45,"16":101172253919543296,"45":8871387603754889216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-01 07:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415316992001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:50:56] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-01 07:50:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101172253919543296,"km_value":101172253919543.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:50:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8871387603754889216,"description":"Unknown IO ID 45"} 
[2026-07-01 07:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415316992001,"power":13091,"unknown_96":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":8871387603754889216}} 
[2026-07-01 07:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":118916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416472,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:50:56] local.INFO: GPS data processed {"connection_id":118916,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:50:56] local.INFO: Acknowledgment sent {"connection_id":118916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:50:59] local.INFO: TCP Data received {"connection_id":118808,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b792cd0012d1e82c006d0fce00012014727..."} 
[2026-07-01 07:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b792cd0012d1e82c006d0fce00012014727..."} 
[2026-07-01 07:50:59] local.INFO: Processing buffer {"connection_id":118808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b792cd0012d1e82c006d0fce00012014727..."} 
[2026-07-01 07:50:59] local.INFO: Packet analysis {"connection_id":118808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b79"} 
[2026-07-01 07:50:59] local.INFO: Extracted packet for processing {"connection_id":118808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b79"} 
[2026-07-01 07:50:59] local.INFO: GPS Element Parsed {"raw_longitude":756974272,"raw_latitude":114359520,"longitude_deg":75.6974272,"latitude_deg":11.435952,"altitude":18,"angle":327,"satellites":39,"speed":39,"hex_longitude":"2d1e82c0","hex_latitude":"06d0fce0","is_valid_coordinates":true} 
[2026-07-01 07:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415320320001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333000488179990528,"note":"Value kept but may cause issues"} 
[2026-07-01 07:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2204019465662572544,"note":"Value kept but may cause issues"} 
[2026-07-01 07:50:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782872354000,"timestamp_ms":1782872354000,"timestamp_seconds":1782872354,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b792cd0"} 
[2026-07-01 07:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:50: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-01 07:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 07:50:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:50:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:50:59] 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-01 07:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415320320001,"66":27908,"141":206,"81":20480,"24":39,"16":333000488179990528,"45":2204019465662572544},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,81,24,16,45]} 
[2026-07-01 07:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415320320001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:50:59] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 07:50:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-01 07:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333000488179990528,"km_value":333000488179990.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":2204019465662572544,"description":"Unknown IO ID 45"} 
[2026-07-01 07:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415320320001,"power":27908,"unknown_141":206,"unknown_81":20480,"ignition":39,"odometer":null,"unknown_45":2204019465662572544}} 
[2026-07-01 07:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":118808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:50:59] local.INFO: GPS data processed {"connection_id":118808,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:50:59] local.INFO: Acknowledgment sent {"connection_id":118808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:51:18] local.INFO: TCP Data received {"connection_id":120685,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120685,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:51:18] local.INFO: Processing buffer {"connection_id":120685,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:51:18] local.INFO: IMEI packet received {"connection_id":120685,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 07:51:18] local.INFO: IMEI acknowledgment sent {"connection_id":120685,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:51:19] local.INFO: TCP Data received {"connection_id":120685,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120685,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:51:19] local.INFO: Processing buffer {"connection_id":120685,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:51:19] local.INFO: IMEI packet received {"connection_id":120685,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":120685,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:51:21] local.INFO: TCP Data received {"connection_id":118809,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:51:21] local.INFO: Processing buffer {"connection_id":118809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:51:21] local.INFO: IMEI packet received {"connection_id":118809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 07:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":118809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:51:24] local.INFO: TCP Data received {"connection_id":120685,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120685,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:51:24] local.INFO: Processing buffer {"connection_id":120685,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:51:24] local.INFO: IMEI packet received {"connection_id":120685,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":120685,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:51:25] local.INFO: TCP Data received {"connection_id":120685,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b791948012d7b124005e2e6380000015e1c..."} 
[2026-07-01 07:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b791948012d7b124005e2e6380000015e1c..."} 
[2026-07-01 07:51:25] local.INFO: Processing buffer {"connection_id":120685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b791948012d7b124005e2e6380000015e1c..."} 
[2026-07-01 07:51:25] local.INFO: Packet analysis {"connection_id":120685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b79"} 
[2026-07-01 07:51:25] local.INFO: Extracted packet for processing {"connection_id":120685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b79"} 
[2026-07-01 07:51:25] local.INFO: GPS Element Parsed {"raw_longitude":763040320,"raw_latitude":98756152,"longitude_deg":76.304032,"latitude_deg":9.8756152,"altitude":0,"angle":350,"satellites":28,"speed":49,"hex_longitude":"2d7b1240","hex_latitude":"05e2e638","is_valid_coordinates":true} 
[2026-07-01 07:51:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:51:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415319296001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:51:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101172713481043968,"note":"Value kept but may cause issues"} 
[2026-07-01 07:51:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869909860129533952,"note":"Value kept but may cause issues"} 
[2026-07-01 07:51:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:51:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782872349000,"timestamp_ms":1782872349000,"timestamp_seconds":1782872349,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b791948"} 
[2026-07-01 07:51:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:51:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:51:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-01 07:51:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:51:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:51:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:51:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:51:25] local.INFO: Teltonika packet parsed successfully {"connection_id":120685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:51:25] local.INFO: Passing IMEI to GPS processor {"connection_id":120685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:51:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":120685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:51:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:51:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:51:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:51:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415319296001,"66":12722,"96":206,"85":15104,"24":49,"16":101172713481043968,"45":8869909860129533952},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-01 07:51:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:51:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:51:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415319296001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:51:25] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-01 07:51:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:51:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101172713481043968,"km_value":101172713481043.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:51:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869909860129533952,"description":"Unknown IO ID 45"} 
[2026-07-01 07:51:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415319296001,"power":12722,"unknown_96":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8869909860129533952}} 
[2026-07-01 07:51:25] local.INFO: DEBUG: GPS processor result {"connection_id":120685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416474,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:51:25] local.INFO: GPS data processed {"connection_id":120685,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:51:25] local.INFO: Acknowledgment sent {"connection_id":120685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:51:26] local.INFO: TCP Data received {"connection_id":118809,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:51:26] local.INFO: Processing buffer {"connection_id":118809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:51:26] local.INFO: IMEI packet received {"connection_id":118809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":118809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:51:26] local.INFO: TCP Data received {"connection_id":118809,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:51:26] local.INFO: Processing buffer {"connection_id":118809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:51:26] local.INFO: IMEI packet received {"connection_id":118809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":118809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:51:27] local.INFO: TCP Data received {"connection_id":118809,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b794ff8012d1e6b8006d11be0001201412d..."} 
[2026-07-01 07:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b794ff8012d1e6b8006d11be0001201412d..."} 
[2026-07-01 07:51:27] local.INFO: Processing buffer {"connection_id":118809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b794ff8012d1e6b8006d11be0001201412d..."} 
[2026-07-01 07:51:27] local.INFO: Packet analysis {"connection_id":118809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b79"} 
[2026-07-01 07:51:27] local.INFO: Extracted packet for processing {"connection_id":118809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b79"} 
[2026-07-01 07:51:27] local.INFO: GPS Element Parsed {"raw_longitude":756968320,"raw_latitude":114367456,"longitude_deg":75.696832,"latitude_deg":11.4367456,"altitude":18,"angle":321,"satellites":45,"speed":47,"hex_longitude":"2d1e6b80","hex_latitude":"06d11be0","is_valid_coordinates":true} 
[2026-07-01 07:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415322624001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333000969216327680,"note":"Value kept but may cause issues"} 
[2026-07-01 07:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2198530703618793472,"note":"Value kept but may cause issues"} 
[2026-07-01 07:51:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782872363000,"timestamp_ms":1782872363000,"timestamp_seconds":1782872363,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b794ff8"} 
[2026-07-01 07:51:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:51: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-01 07:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 07:51:27] 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-01 07:51:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:51:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:51:27] 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-01 07:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415322624001,"66":27865,"141":206,"81":20480,"24":47,"16":333000969216327680,"45":2198530703618793472},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,81,24,16,45]} 
[2026-07-01 07:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415322624001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:51:27] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 07:51:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-01 07:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333000969216327680,"km_value":333000969216327.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":2198530703618793472,"description":"Unknown IO ID 45"} 
[2026-07-01 07:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415322624001,"power":27865,"unknown_141":206,"unknown_81":20480,"ignition":47,"odometer":null,"unknown_45":2198530703618793472}} 
[2026-07-01 07:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":118809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:51:27] local.INFO: GPS data processed {"connection_id":118809,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:51:27] local.INFO: Acknowledgment sent {"connection_id":118809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:51:32] local.INFO: TCP Data received {"connection_id":118809,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b796f38012d1e550006d13a30001101432f..."} 
[2026-07-01 07:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b796f38012d1e550006d13a30001101432f..."} 
[2026-07-01 07:51:32] local.INFO: Processing buffer {"connection_id":118809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b796f38012d1e550006d13a30001101432f..."} 
[2026-07-01 07:51:32] local.INFO: Packet analysis {"connection_id":118809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b79"} 
[2026-07-01 07:51:32] local.INFO: Extracted packet for processing {"connection_id":118809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b79"} 
[2026-07-01 07:51:32] local.INFO: GPS Element Parsed {"raw_longitude":756962560,"raw_latitude":114375216,"longitude_deg":75.696256,"latitude_deg":11.4375216,"altitude":17,"angle":323,"satellites":47,"speed":47,"hex_longitude":"2d1e5500","hex_latitude":"06d13a30","is_valid_coordinates":true} 
[2026-07-01 07:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415324928001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333001433072795648,"note":"Value kept but may cause issues"} 
[2026-07-01 07:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2191986410412302336,"note":"Value kept but may cause issues"} 
[2026-07-01 07:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782872371000,"timestamp_ms":1782872371000,"timestamp_seconds":1782872371,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b796f38"} 
[2026-07-01 07:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:51:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 07:51:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:51:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":118809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":118809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":118809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415324928001,"66":27843,"140":206,"81":20480,"24":47,"16":333001433072795648,"45":2191986410412302336},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,81,24,16,45]} 
[2026-07-01 07:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415324928001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:51:32] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-07-01 07:51:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-01 07:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333001433072795648,"km_value":333001433072795.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":2191986410412302336,"description":"Unknown IO ID 45"} 
[2026-07-01 07:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415324928001,"power":27843,"unknown_140":206,"unknown_81":20480,"ignition":47,"odometer":null,"unknown_45":2191986410412302336}} 
[2026-07-01 07:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":118809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:51:32] local.INFO: GPS data processed {"connection_id":118809,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:51:32] local.INFO: Acknowledgment sent {"connection_id":118809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:51:58] local.INFO: TCP Data received {"connection_id":120685,"ip":"42.106.6.23","data_length":93,"data_hex":"00000000000000518e010000019f1b7b3840012d7ac94005e414a00008014123..."} 
[2026-07-01 07:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120685,"packet_length":93,"packet_hex":"00000000000000518e010000019f1b7b3840012d7ac94005e414a00008014123..."} 
[2026-07-01 07:51:58] local.INFO: Processing buffer {"connection_id":120685,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f1b7b3840012d7ac94005e414a00008014123..."} 
[2026-07-01 07:51:58] local.INFO: Packet analysis {"connection_id":120685,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f1b7b"} 
[2026-07-01 07:51:58] local.INFO: Extracted packet for processing {"connection_id":120685,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f1b7b"} 
[2026-07-01 07:51:58] local.INFO: GPS Element Parsed {"raw_longitude":763021632,"raw_latitude":98833568,"longitude_deg":76.3021632,"latitude_deg":9.8833568,"altitude":8,"angle":321,"satellites":35,"speed":39,"hex_longitude":"2d7ac940","hex_latitude":"05e414a0","is_valid_coordinates":true} 
[2026-07-01 07:51:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-07-01 07:51: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-01 07:51: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-01 07:51:58] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:51:58] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-01 07:51:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120685,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-01 07:51:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120685,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-01 07:51:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120685,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-01 07:51:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-01 07:51:58] local.WARNING: DEBUG: No valid data to process  
[2026-07-01 07:51:58] local.INFO: DEBUG: GPS processor result {"connection_id":120685,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-01 07:51:58] local.ERROR: GPS data processing failed {"connection_id":120685,"error":"No valid data to process"} 
[2026-07-01 07:51:58] local.INFO: Acknowledgment sent {"connection_id":120685,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-01 07:52:04] local.INFO: TCP Data received {"connection_id":118809,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b79b970012d1e414006d15728000f01432e..."} 
[2026-07-01 07:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b79b970012d1e414006d15728000f01432e..."} 
[2026-07-01 07:52:04] local.INFO: Processing buffer {"connection_id":118809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b79b970012d1e414006d15728000f01432e..."} 
[2026-07-01 07:52:04] local.INFO: Packet analysis {"connection_id":118809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b79"} 
[2026-07-01 07:52:04] local.INFO: Extracted packet for processing {"connection_id":118809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b79"} 
[2026-07-01 07:52:04] local.INFO: GPS Element Parsed {"raw_longitude":756957504,"raw_latitude":114382632,"longitude_deg":75.6957504,"latitude_deg":11.4382632,"altitude":15,"angle":323,"satellites":46,"speed":9,"hex_longitude":"2d1e4140","hex_latitude":"06d15728","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415326976001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333001866864492544,"note":"Value kept but may cause issues"} 
[2026-07-01 07:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2185653223438299136,"note":"Value kept but may cause issues"} 
[2026-07-01 07:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782872390000,"timestamp_ms":1782872390000,"timestamp_seconds":1782872390,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b79b970"} 
[2026-07-01 07: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-01 07:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 07:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07: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-01 07: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-01 07:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":118809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":118809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":118809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:52:04] 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-01 07:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415326976001,"66":27789,"140":206,"81":20480,"24":9,"16":333001866864492544,"45":2185653223438299136},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,81,24,16,45]} 
[2026-07-01 07:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415326976001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:52:04] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-07-01 07:52:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-01 07:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333001866864492544,"km_value":333001866864492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":2185653223438299136,"description":"Unknown IO ID 45"} 
[2026-07-01 07:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415326976001,"power":27789,"unknown_140":206,"unknown_81":20480,"ignition":9,"odometer":null,"unknown_45":2185653223438299136}} 
[2026-07-01 07:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":118809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:52:04] local.INFO: GPS data processed {"connection_id":118809,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:52:04] local.INFO: Acknowledgment sent {"connection_id":118809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:52:24] local.INFO: TCP Data received {"connection_id":118811,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118811,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:52:24] local.INFO: Processing buffer {"connection_id":118811,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:52:24] local.INFO: IMEI packet received {"connection_id":118811,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 07:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":118811,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:52:26] local.INFO: TCP Data received {"connection_id":119574,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:52:26] local.INFO: Processing buffer {"connection_id":119574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:52:26] local.INFO: IMEI packet received {"connection_id":119574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 07:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":119574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:52:29] local.INFO: TCP Data received {"connection_id":118811,"ip":"42.106.6.24","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-01 07:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118811,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-01 07:52:29] local.INFO: Processing buffer {"connection_id":118811,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-01 07:52:29] local.INFO: IMEI packet received {"connection_id":118811,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":118811,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:52:30] local.INFO: TCP Data received {"connection_id":118811,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b7b5780012d7ab00005e42d300007013724..."} 
[2026-07-01 07:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b7b5780012d7ab00005e42d300007013724..."} 
[2026-07-01 07:52:30] local.INFO: Processing buffer {"connection_id":118811,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019f1b..."} 
[2026-07-01 07:52:30] local.INFO: IMEI packet received {"connection_id":118811,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":118811,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:52:31] local.INFO: TCP Data received {"connection_id":119574,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:52:31] local.INFO: Processing buffer {"connection_id":119574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:52:31] local.INFO: IMEI packet received {"connection_id":119574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":119574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:52:32] local.INFO: TCP Data received {"connection_id":119574,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b7b4010012d1dac0006d22300000e01352c..."} 
[2026-07-01 07:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b7b4010012d1dac0006d22300000e01352c..."} 
[2026-07-01 07:52:32] local.INFO: Processing buffer {"connection_id":119574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b7b4010012d1dac0006d22300000e01352c..."} 
[2026-07-01 07:52:32] local.INFO: Packet analysis {"connection_id":119574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b7b"} 
[2026-07-01 07:52:32] local.INFO: Extracted packet for processing {"connection_id":119574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b7b"} 
[2026-07-01 07:52:32] local.INFO: GPS Element Parsed {"raw_longitude":756919296,"raw_latitude":114434816,"longitude_deg":75.6919296,"latitude_deg":11.4434816,"altitude":14,"angle":309,"satellites":44,"speed":32,"hex_longitude":"2d1dac00","hex_latitude":"06d22300","is_valid_coordinates":true} 
[2026-07-01 07:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415353856001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333005036550356992,"note":"Value kept but may cause issues"} 
[2026-07-01 07:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2146035620479932416,"note":"Value kept but may cause issues"} 
[2026-07-01 07:52:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782872490000,"timestamp_ms":1782872490000,"timestamp_seconds":1782872490,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b7b4010"} 
[2026-07-01 07:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:52:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 07:52: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-01 07:52:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":119574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":119574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":119574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415353856001,"66":27767,"5":206,"81":20480,"24":32,"16":333005036550356992,"45":2146035620479932416},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,81,24,16,45]} 
[2026-07-01 07:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415353856001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:52:32] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-07-01 07:52:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-01 07:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333005036550356992,"km_value":333005036550357.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":2146035620479932416,"description":"Unknown IO ID 45"} 
[2026-07-01 07:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415353856001,"power":27767,"unknown_5":206,"unknown_81":20480,"ignition":32,"odometer":null,"unknown_45":2146035620479932416}} 
[2026-07-01 07:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":119574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:52:32] local.INFO: GPS data processed {"connection_id":119574,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:52:32] local.INFO: Acknowledgment sent {"connection_id":119574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:52:33] local.INFO: TCP Data received {"connection_id":119574,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b7b6ef0012d1d90c006d23a60000e01382c..."} 
[2026-07-01 07:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b7b6ef0012d1d90c006d23a60000e01382c..."} 
[2026-07-01 07:52:33] local.INFO: Processing buffer {"connection_id":119574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b7b6ef0012d1d90c006d23a60000e01382c..."} 
[2026-07-01 07:52:33] local.INFO: Packet analysis {"connection_id":119574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b7b"} 
[2026-07-01 07:52:33] local.INFO: Extracted packet for processing {"connection_id":119574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b7b"} 
[2026-07-01 07:52:33] local.INFO: GPS Element Parsed {"raw_longitude":756912320,"raw_latitude":114440800,"longitude_deg":75.691232,"latitude_deg":11.44408,"altitude":14,"angle":312,"satellites":44,"speed":20,"hex_longitude":"2d1d90c0","hex_latitude":"06d23a60","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415357440001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333005478931988480,"note":"Value kept but may cause issues"} 
[2026-07-01 07:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2138083952389455872,"note":"Value kept but may cause issues"} 
[2026-07-01 07:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782872502000,"timestamp_ms":1782872502000,"timestamp_seconds":1782872502,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b7b6ef0"} 
[2026-07-01 07: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-01 07:52:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 07:52:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07: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-01 07: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-01 07:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":119574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":119574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":119574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415357440001,"66":27876,"5":206,"81":20480,"24":20,"16":333005478931988480,"45":2138083952389455872},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,81,24,16,45]} 
[2026-07-01 07:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415357440001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:52:33] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-07-01 07:52:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-01 07:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333005478931988480,"km_value":333005478931988.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":2138083952389455872,"description":"Unknown IO ID 45"} 
[2026-07-01 07:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415357440001,"power":27876,"unknown_5":206,"unknown_81":20480,"ignition":20,"odometer":null,"unknown_45":2138083952389455872}} 
[2026-07-01 07:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":119574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:52:33] local.INFO: GPS data processed {"connection_id":119574,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:52:33] local.INFO: Acknowledgment sent {"connection_id":119574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:52:36] local.INFO: TCP Data received {"connection_id":118811,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b7b76c0012d7a924005e445680005013424..."} 
[2026-07-01 07:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b7b76c0012d7a924005e445680005013424..."} 
[2026-07-01 07:52:36] local.INFO: Processing buffer {"connection_id":118811,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f1b7b5780012d7ab00005e42d300007013724..."} 
[2026-07-01 07:52:36] local.INFO: Packet analysis {"connection_id":118811,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f1b7b"} 
[2026-07-01 07:52:36] local.INFO: Extracted packet for processing {"connection_id":118811,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b7b"} 
[2026-07-01 07:52:36] local.INFO: GPS Element Parsed {"raw_longitude":763015168,"raw_latitude":98839856,"longitude_deg":76.3015168,"latitude_deg":9.8839856,"altitude":7,"angle":311,"satellites":36,"speed":50,"hex_longitude":"2d7ab000","hex_latitude":"05e42d30","is_valid_coordinates":true} 
[2026-07-01 07:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415356928001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101177042808078336,"note":"Value kept but may cause issues"} 
[2026-07-01 07:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8847673336991621120,"note":"Value kept but may cause issues"} 
[2026-07-01 07:52:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782872496000,"timestamp_ms":1782872496000,"timestamp_seconds":1782872496,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b7b5780"} 
[2026-07-01 07:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:52:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 07:52:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:52:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":118811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":118811,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":118811,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:52:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415356928001,"66":12689,"97":206,"85":15104,"24":50,"16":101177042808078336,"45":8847673336991621120},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-01 07:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415356928001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:52:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 07:52:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101177042808078336,"km_value":101177042808078.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8847673336991621120,"description":"Unknown IO ID 45"} 
[2026-07-01 07:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415356928001,"power":12689,"unknown_97":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":8847673336991621120}} 
[2026-07-01 07:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":118811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416480,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:52:36] local.INFO: GPS data processed {"connection_id":118811,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:52:36] local.INFO: Acknowledgment sent {"connection_id":118811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:52:36] local.INFO: Packet analysis {"connection_id":118811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b7b"} 
[2026-07-01 07:52:36] local.INFO: Extracted packet for processing {"connection_id":118811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b7b"} 
[2026-07-01 07:52:36] local.INFO: GPS Element Parsed {"raw_longitude":763007552,"raw_latitude":98846056,"longitude_deg":76.3007552,"latitude_deg":9.8846056,"altitude":5,"angle":308,"satellites":36,"speed":39,"hex_longitude":"2d7a9240","hex_latitude":"05e44568","is_valid_coordinates":true} 
[2026-07-01 07:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415358976001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101177510959513600,"note":"Value kept but may cause issues"} 
[2026-07-01 07:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8840566093831286784,"note":"Value kept but may cause issues"} 
[2026-07-01 07:52:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782872504000,"timestamp_ms":1782872504000,"timestamp_seconds":1782872504,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b7b76c0"} 
[2026-07-01 07:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:52:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-01 07:52:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:52:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":118811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":118811,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":118811,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:52:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415358976001,"66":12743,"97":206,"85":15104,"24":39,"16":101177510959513600,"45":8840566093831286784},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-01 07:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415358976001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:52:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 07:52:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101177510959513600,"km_value":101177510959513.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8840566093831286784,"description":"Unknown IO ID 45"} 
[2026-07-01 07:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415358976001,"power":12743,"unknown_97":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8840566093831286784}} 
[2026-07-01 07:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":118811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416481,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:52:36] local.INFO: GPS data processed {"connection_id":118811,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:52:36] local.INFO: Acknowledgment sent {"connection_id":118811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:52:41] local.INFO: TCP Data received {"connection_id":118810,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118810,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:52:41] local.INFO: Processing buffer {"connection_id":118810,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:52:41] local.INFO: IMEI packet received {"connection_id":118810,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 07:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":118810,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:53:05] local.INFO: TCP Data received {"connection_id":119574,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b7b9600012d1d800006d24cf8000c01442b..."} 
[2026-07-01 07:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b7b9600012d1d800006d24cf8000c01442b..."} 
[2026-07-01 07:53:05] local.INFO: Processing buffer {"connection_id":119574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b7b9600012d1d800006d24cf8000c01442b..."} 
[2026-07-01 07:53:05] local.INFO: Packet analysis {"connection_id":119574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b7b"} 
[2026-07-01 07:53:05] local.INFO: Extracted packet for processing {"connection_id":119574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b7b"} 
[2026-07-01 07:53:05] local.INFO: GPS Element Parsed {"raw_longitude":756908032,"raw_latitude":114445560,"longitude_deg":75.6908032,"latitude_deg":11.444556,"altitude":12,"angle":324,"satellites":43,"speed":33,"hex_longitude":"2d1d8000","hex_latitude":"06d24cf8","is_valid_coordinates":true} 
[2026-07-01 07:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415360512001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333005783874666496,"note":"Value kept but may cause issues"} 
[2026-07-01 07:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130413759275622400,"note":"Value kept but may cause issues"} 
[2026-07-01 07:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 07:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782872512000,"timestamp_ms":1782872512000,"timestamp_seconds":1782872512,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b7b9600"} 
[2026-07-01 07:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:53:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-01 07:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:53:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":119574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":119574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":119574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415360512001,"66":27887,"5":206,"81":20480,"24":33,"16":333005783874666496,"45":2130413759275622400},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,81,24,16,45]} 
[2026-07-01 07:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415360512001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:53:05] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-07-01 07:53:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-01 07:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333005783874666496,"km_value":333005783874666.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130413759275622400,"description":"Unknown IO ID 45"} 
[2026-07-01 07:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415360512001,"power":27887,"unknown_5":206,"unknown_81":20480,"ignition":33,"odometer":null,"unknown_45":2130413759275622400}} 
[2026-07-01 07:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":119574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:53:05] local.INFO: GPS data processed {"connection_id":119574,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:53:05] local.INFO: Acknowledgment sent {"connection_id":119574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:53:16] local.INFO: TCP Data received {"connection_id":120686,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120686,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:53:16] local.INFO: Processing buffer {"connection_id":120686,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:53:16] local.INFO: IMEI packet received {"connection_id":120686,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 07:53:16] local.INFO: IMEI acknowledgment sent {"connection_id":120686,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:53:21] local.INFO: TCP Data received {"connection_id":118918,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:53:21] local.INFO: Processing buffer {"connection_id":118918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:53:21] local.INFO: IMEI packet received {"connection_id":118918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 07:53:21] local.INFO: IMEI acknowledgment sent {"connection_id":118918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:53:24] local.INFO: TCP Data received {"connection_id":118812,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118812,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:53:24] local.INFO: Processing buffer {"connection_id":118812,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:53:24] local.INFO: IMEI packet received {"connection_id":118812,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 07:53:24] local.INFO: IMEI acknowledgment sent {"connection_id":118812,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:53:26] local.INFO: TCP Data received {"connection_id":118918,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:53:26] local.INFO: Processing buffer {"connection_id":118918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:53:26] local.INFO: IMEI packet received {"connection_id":118918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":118918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:53:27] local.INFO: TCP Data received {"connection_id":118812,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118812,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:53:27] local.INFO: Processing buffer {"connection_id":118812,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:53:27] local.INFO: IMEI packet received {"connection_id":118812,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":118812,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:53:28] local.INFO: TCP Data received {"connection_id":118812,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b7ba1b8012d7a748005e45ce00005013424..."} 
[2026-07-01 07:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b7ba1b8012d7a748005e45ce00005013424..."} 
[2026-07-01 07:53:28] local.INFO: Processing buffer {"connection_id":118812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b7ba1b8012d7a748005e45ce00005013424..."} 
[2026-07-01 07:53:28] local.INFO: Packet analysis {"connection_id":118812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b7b"} 
[2026-07-01 07:53:28] local.INFO: Extracted packet for processing {"connection_id":118812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b7b"} 
[2026-07-01 07:53:28] local.INFO: GPS Element Parsed {"raw_longitude":762999936,"raw_latitude":98852064,"longitude_deg":76.2999936,"latitude_deg":9.8852064,"altitude":5,"angle":308,"satellites":36,"speed":32,"hex_longitude":"2d7a7480","hex_latitude":"05e45ce0","is_valid_coordinates":true} 
[2026-07-01 07:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:53:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415361024001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:53:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101177979110948864,"note":"Value kept but may cause issues"} 
[2026-07-01 07:53:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8832192213275731968,"note":"Value kept but may cause issues"} 
[2026-07-01 07:53: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-01 07:53:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782872515000,"timestamp_ms":1782872515000,"timestamp_seconds":1782872515,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b7ba1b8"} 
[2026-07-01 07:53:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:53:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-01 07:53:28] 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-01 07:53:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:53:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:53:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:53:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:53:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:53:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:53:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:53:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:53:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:53:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415361024001,"66":12341,"97":206,"85":15104,"24":32,"16":101177979110948864,"45":8832192213275731968},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-01 07:53:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:53:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:53:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415361024001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:53:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 07:53:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:53:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101177979110948864,"km_value":101177979110948.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:53:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8832192213275731968,"description":"Unknown IO ID 45"} 
[2026-07-01 07:53:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415361024001,"power":12341,"unknown_97":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8832192213275731968}} 
[2026-07-01 07:53:28] local.INFO: DEBUG: GPS processor result {"connection_id":118812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416483,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:53:28] local.INFO: GPS data processed {"connection_id":118812,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:53:28] local.INFO: Acknowledgment sent {"connection_id":118812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:53:28] local.INFO: TCP Data received {"connection_id":118918,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b7bbd10012d1d6a8006d26ce8000c01462c..."} 
[2026-07-01 07:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b7bbd10012d1d6a8006d26ce8000c01462c..."} 
[2026-07-01 07:53:28] local.INFO: Processing buffer {"connection_id":118918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b7bbd10012d1d6a8006d26ce8000c01462c..."} 
[2026-07-01 07:53:28] local.INFO: Packet analysis {"connection_id":118918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b7b"} 
[2026-07-01 07:53:28] local.INFO: Extracted packet for processing {"connection_id":118918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b7b"} 
[2026-07-01 07:53:28] local.INFO: GPS Element Parsed {"raw_longitude":756902528,"raw_latitude":114453736,"longitude_deg":75.6902528,"latitude_deg":11.4453736,"altitude":12,"angle":326,"satellites":44,"speed":37,"hex_longitude":"2d1d6a80","hex_latitude":"06d26ce8","is_valid_coordinates":true} 
[2026-07-01 07:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:53:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415363072001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:53:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333006260616036352,"note":"Value kept but may cause issues"} 
[2026-07-01 07:53:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2125699053416937472,"note":"Value kept but may cause issues"} 
[2026-07-01 07:53:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-01 07:53:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782872522000,"timestamp_ms":1782872522000,"timestamp_seconds":1782872522,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b7bbd10"} 
[2026-07-01 07:53:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:53: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-01 07:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-01 07:53:28] 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-01 07:53:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:53:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:53:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:53:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:53:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:53:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:53:28] 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-01 07:53:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:53:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:53:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415363072001,"66":27745,"81":20480,"24":37,"16":333006260616036352,"45":2125699053416937472},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-07-01 07:53:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:53:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:53:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415363072001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:53:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-01 07:53:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333006260616036352,"km_value":333006260616036.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:53:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":2125699053416937472,"description":"Unknown IO ID 45"} 
[2026-07-01 07:53:28] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456415363072001,"power":27745,"unknown_81":20480,"ignition":37,"odometer":null,"unknown_45":2125699053416937472}} 
[2026-07-01 07:53:28] local.INFO: DEBUG: GPS processor result {"connection_id":118918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:53:28] local.INFO: GPS data processed {"connection_id":118918,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:53:28] local.INFO: Acknowledgment sent {"connection_id":118918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:54:00] local.INFO: TCP Data received {"connection_id":118812,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b7d3be0012d7a2fc005e45c90000c004426..."} 
[2026-07-01 07:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b7d3be0012d7a2fc005e45c90000c004426..."} 
[2026-07-01 07:54:00] local.INFO: Processing buffer {"connection_id":118812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b7d3be0012d7a2fc005e45c90000c004426..."} 
[2026-07-01 07:54:00] local.INFO: Packet analysis {"connection_id":118812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b7d"} 
[2026-07-01 07:54:00] local.INFO: Extracted packet for processing {"connection_id":118812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b7d"} 
[2026-07-01 07:54:00] local.INFO: GPS Element Parsed {"raw_longitude":762982336,"raw_latitude":98851984,"longitude_deg":76.2982336,"latitude_deg":9.8851984,"altitude":12,"angle":68,"satellites":38,"speed":5,"hex_longitude":"2d7a2fc0","hex_latitude":"05e45c90","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415389696001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101178941183623168,"note":"Value kept but may cause issues"} 
[2026-07-01 07:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804396559326988288,"note":"Value kept but may cause issues"} 
[2026-07-01 07:54: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-01 07:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782872620000,"timestamp_ms":1782872620000,"timestamp_seconds":1782872620,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b7d3be0"} 
[2026-07-01 07: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-01 07:54:00] 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-01 07: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 07:54:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07: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-01 07: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-01 07:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":118812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":118812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":118812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:54:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415389696001,"66":13091,"39":206,"87":13824,"24":5,"16":101178941183623168,"45":8804396559326988288},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-01 07:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415389696001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:54:00] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-01 07:54:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 07:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101178941183623168,"km_value":101178941183623.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804396559326988288,"description":"Unknown IO ID 45"} 
[2026-07-01 07:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415389696001,"power":13091,"unknown_39":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8804396559326988288}} 
[2026-07-01 07:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":118812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416485,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:54:00] local.INFO: GPS data processed {"connection_id":118812,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:54:00] local.INFO: Acknowledgment sent {"connection_id":118812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:54:00] local.INFO: TCP Data received {"connection_id":118918,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b7be420012d1d59c006d28c90000d01502a..."} 
[2026-07-01 07:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b7be420012d1d59c006d28c90000d01502a..."} 
[2026-07-01 07:54:00] local.INFO: Processing buffer {"connection_id":118918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b7be420012d1d59c006d28c90000d01502a..."} 
[2026-07-01 07:54:00] local.INFO: Packet analysis {"connection_id":118918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b7b"} 
[2026-07-01 07:54:00] local.INFO: Extracted packet for processing {"connection_id":118918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b7b"} 
[2026-07-01 07:54:00] local.INFO: GPS Element Parsed {"raw_longitude":756898240,"raw_latitude":114461840,"longitude_deg":75.689824,"latitude_deg":11.446184,"altitude":13,"angle":336,"satellites":42,"speed":32,"hex_longitude":"2d1d59c0","hex_latitude":"06d28c90","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415365632001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333006702997667840,"note":"Value kept but may cause issues"} 
[2026-07-01 07:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2119647341419751424,"note":"Value kept but may cause issues"} 
[2026-07-01 07:54:00] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-01 07:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782872532000,"timestamp_ms":1782872532000,"timestamp_seconds":1782872532,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b7be420"} 
[2026-07-01 07: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-01 07:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 07: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 07:54:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07: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-01 07: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-01 07:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":118918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":118918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":118918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:54:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 07:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415365632001,"66":27800,"81":20480,"24":32,"16":333006702997667840,"45":2119647341419751424},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-07-01 07:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415365632001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:54:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-01 07:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333006702997667840,"km_value":333006702997667.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":2119647341419751424,"description":"Unknown IO ID 45"} 
[2026-07-01 07:54:00] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456415365632001,"power":27800,"unknown_81":20480,"ignition":32,"odometer":null,"unknown_45":2119647341419751424}} 
[2026-07-01 07:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":118918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:54:00] local.INFO: GPS data processed {"connection_id":118918,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:54:00] local.INFO: Acknowledgment sent {"connection_id":118918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:54:22] local.INFO: TCP Data received {"connection_id":120688,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:54:22] local.INFO: Processing buffer {"connection_id":120688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:54:22] local.INFO: IMEI packet received {"connection_id":120688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 07:54:22] local.INFO: IMEI acknowledgment sent {"connection_id":120688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:54:26] local.INFO: TCP Data received {"connection_id":120688,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:54:26] local.INFO: Processing buffer {"connection_id":120688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:54:26] local.INFO: IMEI packet received {"connection_id":120688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":120688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:54:27] local.INFO: TCP Data received {"connection_id":120688,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b7c1eb8012d1d4b4006d2ac90000d014d2e..."} 
[2026-07-01 07:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b7c1eb8012d1d4b4006d2ac90000d014d2e..."} 
[2026-07-01 07:54:27] local.INFO: Processing buffer {"connection_id":120688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b7c1eb8012d1d4b4006d2ac90000d014d2e..."} 
[2026-07-01 07:54:27] local.INFO: Packet analysis {"connection_id":120688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b7c"} 
[2026-07-01 07:54:27] local.INFO: Extracted packet for processing {"connection_id":120688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b7c"} 
[2026-07-01 07:54:27] local.INFO: GPS Element Parsed {"raw_longitude":756894528,"raw_latitude":114470032,"longitude_deg":75.6894528,"latitude_deg":11.4470032,"altitude":13,"angle":333,"satellites":46,"speed":14,"hex_longitude":"2d1d4b40","hex_latitude":"06d2ac90","is_valid_coordinates":true} 
[2026-07-01 07:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 07:54:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415368192001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333007141084332032,"note":"Value kept but may cause issues"} 
[2026-07-01 07:54:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2114932635561922560,"note":"Value kept but may cause issues"} 
[2026-07-01 07:54:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-01 07:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782872547000,"timestamp_ms":1782872547000,"timestamp_seconds":1782872547,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b7c1eb8"} 
[2026-07-01 07:54:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 07:54:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 07:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 07:54:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 07:54:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 07:54:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 07:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:54:27] 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-01 07:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415368192001,"66":27821,"81":20480,"24":14,"16":333007141084332032,"45":2114932635561922560},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-07-01 07:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415368192001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:54:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-01 07:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333007141084332032,"km_value":333007141084332.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:54:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":2114932635561922560,"description":"Unknown IO ID 45"} 
[2026-07-01 07:54:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456415368192001,"power":27821,"unknown_81":20480,"ignition":14,"odometer":null,"unknown_45":2114932635561922560}} 
[2026-07-01 07:54:27] local.INFO: DEBUG: GPS processor result {"connection_id":120688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:54:27] local.INFO: GPS data processed {"connection_id":120688,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:54:27] local.INFO: Acknowledgment sent {"connection_id":120688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:54:34] local.INFO: TCP Data received {"connection_id":118919,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118919,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:54:34] local.INFO: Processing buffer {"connection_id":118919,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:54:34] local.INFO: IMEI packet received {"connection_id":118919,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 07:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":118919,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:54:34] local.INFO: TCP Data received {"connection_id":118919,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118919,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:54:34] local.INFO: Processing buffer {"connection_id":118919,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:54:34] local.INFO: IMEI packet received {"connection_id":118919,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":118919,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:54:35] local.INFO: TCP Data received {"connection_id":118919,"ip":"42.106.6.24","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-01 07:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118919,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-01 07:54:35] local.INFO: Processing buffer {"connection_id":118919,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-01 07:54:35] local.INFO: IMEI packet received {"connection_id":118919,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 07:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":118919,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:54:58] local.INFO: TCP Data received {"connection_id":120688,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b7c2e58012d1d488006d2b030000d013e2f..."} 
[2026-07-01 07:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b7c2e58012d1d488006d2b030000d013e2f..."} 
[2026-07-01 07:54:58] local.INFO: Processing buffer {"connection_id":120688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b7c2e58012d1d488006d2b030000d013e2f..."} 
[2026-07-01 07:54:58] local.INFO: Packet analysis {"connection_id":120688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b7c"} 
[2026-07-01 07:54:58] local.INFO: Extracted packet for processing {"connection_id":120688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b7c"} 
[2026-07-01 07:54:58] local.INFO: GPS Element Parsed {"raw_longitude":756893824,"raw_latitude":114470960,"longitude_deg":75.6893824,"latitude_deg":11.447096,"altitude":13,"angle":318,"satellites":47,"speed":11,"hex_longitude":"2d1d4880","hex_latitude":"06d2b030","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:54:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415372032001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:54:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333007192623939584,"note":"Value kept but may cause issues"} 
[2026-07-01 07:54:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2110851248401715200,"note":"Value kept but may cause issues"} 
[2026-07-01 07:54:58] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-01 07:54:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782872551000,"timestamp_ms":1782872551000,"timestamp_seconds":1782872551,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b7c2e58"} 
[2026-07-01 07: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-01 07:54: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-01 07: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 07:54:58] 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-01 07: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-01 07: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-01 07:54:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:54:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:54:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:54:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 07:54:58] 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-01 07:54:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 07:54:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 07:54:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415372032001,"66":27876,"81":20480,"24":11,"16":333007192623939584,"45":2110851248401715200},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-07-01 07:54:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 07:54:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 07:54:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415372032001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:54:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-01 07:54:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333007192623939584,"km_value":333007192623939.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:54:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2110851248401715200,"description":"Unknown IO ID 45"} 
[2026-07-01 07:54:58] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456415372032001,"power":27876,"unknown_81":20480,"ignition":11,"odometer":null,"unknown_45":2110851248401715200}} 
[2026-07-01 07:54:58] local.INFO: DEBUG: GPS processor result {"connection_id":120688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:54:58] local.INFO: GPS data processed {"connection_id":120688,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:54:58] local.INFO: Acknowledgment sent {"connection_id":120688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 07:55:19] local.INFO: TCP Data received {"connection_id":119575,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:55:19] local.INFO: Processing buffer {"connection_id":119575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:55:19] local.INFO: IMEI packet received {"connection_id":119575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 07:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":119575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:55:21] local.INFO: TCP Data received {"connection_id":119575,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:55:21] local.INFO: Processing buffer {"connection_id":119575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:55:21] local.INFO: IMEI packet received {"connection_id":119575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":119575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:55:22] local.INFO: TCP Data received {"connection_id":119575,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:55:22] local.INFO: Processing buffer {"connection_id":119575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:55:22] local.INFO: IMEI packet received {"connection_id":119575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:55:22] local.INFO: IMEI acknowledgment sent {"connection_id":119575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:55:23] local.INFO: TCP Data received {"connection_id":119575,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:55:23] local.INFO: Processing buffer {"connection_id":119575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 07:55:23] local.INFO: IMEI packet received {"connection_id":119575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 07:55:23] local.INFO: IMEI acknowledgment sent {"connection_id":119575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 07:58:43] local.INFO: TCP Data received {"connection_id":120689,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120689,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:58:43] local.INFO: Processing buffer {"connection_id":120689,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:58:43] local.INFO: IMEI packet received {"connection_id":120689,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 07:58:43] local.INFO: IMEI acknowledgment sent {"connection_id":120689,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:59:16] local.INFO: TCP Data received {"connection_id":119576,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119576,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:59:16] local.INFO: Processing buffer {"connection_id":119576,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 07:59:16] local.INFO: IMEI packet received {"connection_id":119576,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 07:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":119576,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:59:38] local.INFO: TCP Data received {"connection_id":119577,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119577,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:59:38] local.INFO: Processing buffer {"connection_id":119577,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 07:59:38] local.INFO: IMEI packet received {"connection_id":119577,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 07:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":119577,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 07:59:39] local.INFO: TCP Data received {"connection_id":119577,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b8225b0012d7ad68005e3e988000600aa2b..."} 
[2026-07-01 07:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b8225b0012d7ad68005e3e988000600aa2b..."} 
[2026-07-01 07:59:39] local.INFO: Processing buffer {"connection_id":119577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b8225b0012d7ad68005e3e988000600aa2b..."} 
[2026-07-01 07:59:39] local.INFO: Packet analysis {"connection_id":119577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b82"} 
[2026-07-01 07:59:39] local.INFO: Extracted packet for processing {"connection_id":119577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b82"} 
[2026-07-01 07:59:39] local.INFO: GPS Element Parsed {"raw_longitude":763025024,"raw_latitude":98822536,"longitude_deg":76.3025024,"latitude_deg":9.8822536,"altitude":6,"angle":170,"satellites":43,"speed":24,"hex_longitude":"2d7ad680","hex_latitude":"05e3e988","is_valid_coordinates":true} 
[2026-07-01 07: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-01 07:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415469824001,"note":"Value kept but may cause issues"} 
[2026-07-01 07:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101181831696613376,"note":"Value kept but may cause issues"} 
[2026-07-01 07:59:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849080711874637824,"note":"Value kept but may cause issues"} 
[2026-07-01 07:59: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-01 07:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782872942000,"timestamp_ms":1782872942000,"timestamp_seconds":1782872942,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b8225b0"} 
[2026-07-01 07: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-01 07:59:39] 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-01 07: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-01 07:59:39] 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-01 07: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-01 07: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-01 07:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 07:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":119577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 07:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":119577,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":119577,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 07:59:39] 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-01 07:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 07:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 07:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415469824001,"66":12982,"97":206,"85":15104,"24":24,"16":101181831696613376,"45":8849080711874637824},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-01 07:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 07:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 07:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415469824001,"description":"Unknown IO ID 0"} 
[2026-07-01 07:59:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 07:59:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 07:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101181831696613376,"km_value":101181831696613.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 07:59:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849080711874637824,"description":"Unknown IO ID 45"} 
[2026-07-01 07:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415469824001,"power":12982,"unknown_97":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8849080711874637824}} 
[2026-07-01 07:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":119577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416489,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 07:59:39] local.INFO: GPS data processed {"connection_id":119577,"processed":1,"errors":0,"total":1} 
[2026-07-01 07:59:39] local.INFO: Acknowledgment sent {"connection_id":119577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:00:19] local.INFO: TCP Data received {"connection_id":119578,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119578,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:00:19] local.INFO: Processing buffer {"connection_id":119578,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:00:19] local.INFO: IMEI packet received {"connection_id":119578,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 08:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":119578,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:00:19] local.INFO: TCP Data received {"connection_id":119578,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119578,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:00:19] local.INFO: Processing buffer {"connection_id":119578,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:00:19] local.INFO: IMEI packet received {"connection_id":119578,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":119578,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:00:24] local.INFO: TCP Data received {"connection_id":119578,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119578,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:00:24] local.INFO: Processing buffer {"connection_id":119578,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:00:24] local.INFO: IMEI packet received {"connection_id":119578,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":119578,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:00:25] local.INFO: TCP Data received {"connection_id":120693,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:00:25] local.INFO: Processing buffer {"connection_id":120693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:00:25] local.INFO: IMEI packet received {"connection_id":120693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 08:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":120693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:00:26] local.INFO: TCP Data received {"connection_id":120693,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b81a4c8012d19cac006d5ab00000b01292c..."} 
[2026-07-01 08:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b81a4c8012d19cac006d5ab00000b01292c..."} 
[2026-07-01 08:00:26] local.INFO: Processing buffer {"connection_id":120693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b81a4c8012d19cac006d5ab00000b01292c..."} 
[2026-07-01 08:00:26] local.INFO: Packet analysis {"connection_id":120693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b81"} 
[2026-07-01 08:00:26] local.INFO: Extracted packet for processing {"connection_id":120693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b81"} 
[2026-07-01 08:00:26] local.INFO: GPS Element Parsed {"raw_longitude":756665024,"raw_latitude":114666240,"longitude_deg":75.6665024,"latitude_deg":11.466624,"altitude":11,"angle":297,"satellites":44,"speed":41,"hex_longitude":"2d19cac0","hex_latitude":"06d5ab00","is_valid_coordinates":true} 
[2026-07-01 08:00:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:00:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415462400001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:00:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333022173469868032,"note":"Value kept but may cause issues"} 
[2026-07-01 08:00:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1867164287363356672,"note":"Value kept but may cause issues"} 
[2026-07-01 08:00:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:00:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782872909000,"timestamp_ms":1782872909000,"timestamp_seconds":1782872909,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b81a4c8"} 
[2026-07-01 08:00:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:00: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-01 08:00:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-01 08:00:26] 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-01 08:00:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:00:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:00:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:00:26] local.INFO: Teltonika packet parsed successfully {"connection_id":120693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:00:26] local.INFO: Passing IMEI to GPS processor {"connection_id":120693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:00:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":120693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:00:26] 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-01 08:00:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:00:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:00:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415462400001,"66":27865,"159":206,"81":20480,"24":41,"16":333022173469868032,"45":1867164287363356672},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,81,24,16,45]} 
[2026-07-01 08:00:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:00:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:00:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415462400001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:00:26] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-07-01 08:00:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-01 08:00:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333022173469868032,"km_value":333022173469868.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:00:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1867164287363356672,"description":"Unknown IO ID 45"} 
[2026-07-01 08:00:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415462400001,"power":27865,"unknown_159":206,"unknown_81":20480,"ignition":41,"odometer":null,"unknown_45":1867164287363356672}} 
[2026-07-01 08:00:26] local.INFO: DEBUG: GPS processor result {"connection_id":120693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:00:26] local.INFO: GPS data processed {"connection_id":120693,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:00:26] local.INFO: Acknowledgment sent {"connection_id":120693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:00:58] local.INFO: TCP Data received {"connection_id":120693,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b8313f8012d1840c006d60f90000f010a2c..."} 
[2026-07-01 08:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b8313f8012d1840c006d60f90000f010a2c..."} 
[2026-07-01 08:00:58] local.INFO: Processing buffer {"connection_id":120693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b8313f8012d1840c006d60f90000f010a2c..."} 
[2026-07-01 08:00:58] local.INFO: Packet analysis {"connection_id":120693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b83"} 
[2026-07-01 08:00:58] local.INFO: Extracted packet for processing {"connection_id":120693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b83"} 
[2026-07-01 08:00:58] local.INFO: GPS Element Parsed {"raw_longitude":756564160,"raw_latitude":114691984,"longitude_deg":75.656416,"latitude_deg":11.4691984,"altitude":15,"angle":266,"satellites":44,"speed":44,"hex_longitude":"2d1840c0","hex_latitude":"06d60f90","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415487488001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333027284480950272,"note":"Value kept but may cause issues"} 
[2026-07-01 08:00:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1753518765524621312,"note":"Value kept but may cause issues"} 
[2026-07-01 08:00:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782873003000,"timestamp_ms":1782873003000,"timestamp_seconds":1782873003,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b8313f8"} 
[2026-07-01 08: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-01 08:00:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-01 08:00:58] 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-01 08: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-01 08: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-01 08:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:00:58] 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-01 08:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415487488001,"66":27865,"160":206,"81":20480,"24":44,"16":333027284480950272,"45":1753518765524621312},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,81,24,16,45]} 
[2026-07-01 08:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415487488001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:00:58] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-07-01 08:00:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-01 08:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333027284480950272,"km_value":333027284480950.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:00:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1753518765524621312,"description":"Unknown IO ID 45"} 
[2026-07-01 08:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415487488001,"power":27865,"unknown_160":206,"unknown_81":20480,"ignition":44,"odometer":null,"unknown_45":1753518765524621312}} 
[2026-07-01 08:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":120693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:00:58] local.INFO: GPS data processed {"connection_id":120693,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:00:58] local.INFO: Acknowledgment sent {"connection_id":120693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:01:19] local.INFO: TCP Data received {"connection_id":118820,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118820,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:01:19] local.INFO: Processing buffer {"connection_id":118820,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:01:19] local.INFO: IMEI packet received {"connection_id":118820,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 08:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":118820,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:01:19] local.INFO: TCP Data received {"connection_id":118820,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118820,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:01:19] local.INFO: Processing buffer {"connection_id":118820,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:01:19] local.INFO: IMEI packet received {"connection_id":118820,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":118820,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:01:20] local.INFO: TCP Data received {"connection_id":118821,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:01:20] local.INFO: Processing buffer {"connection_id":118821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:01:20] local.INFO: IMEI packet received {"connection_id":118821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 08:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":118821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:01:21] local.INFO: TCP Data received {"connection_id":118821,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:01:21] local.INFO: Processing buffer {"connection_id":118821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:01:21] local.INFO: IMEI packet received {"connection_id":118821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:01:21] local.INFO: IMEI acknowledgment sent {"connection_id":118821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:01:23] local.INFO: TCP Data received {"connection_id":118820,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118820,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:01:23] local.INFO: Processing buffer {"connection_id":118820,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:01:23] local.INFO: IMEI packet received {"connection_id":118820,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:01:23] local.INFO: IMEI acknowledgment sent {"connection_id":118820,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:01:24] local.INFO: TCP Data received {"connection_id":118820,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b834aa8012d7af94005e377a0000900a22b..."} 
[2026-07-01 08:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b834aa8012d7af94005e377a0000900a22b..."} 
[2026-07-01 08:01:24] local.INFO: Processing buffer {"connection_id":118820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b834aa8012d7af94005e377a0000900a22b..."} 
[2026-07-01 08:01:24] local.INFO: Packet analysis {"connection_id":118820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b83"} 
[2026-07-01 08:01:24] local.INFO: Extracted packet for processing {"connection_id":118820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b83"} 
[2026-07-01 08:01:24] local.INFO: GPS Element Parsed {"raw_longitude":763033920,"raw_latitude":98793376,"longitude_deg":76.303392,"latitude_deg":9.8793376,"altitude":9,"angle":162,"satellites":43,"speed":14,"hex_longitude":"2d7af940","hex_latitude":"05e377a0","is_valid_coordinates":true} 
[2026-07-01 08:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:01:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415486976001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:01:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101183313460330496,"note":"Value kept but may cause issues"} 
[2026-07-01 08:01:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8859354548516216832,"note":"Value kept but may cause issues"} 
[2026-07-01 08:01: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-01 08:01:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782873017000,"timestamp_ms":1782873017000,"timestamp_seconds":1782873017,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b834aa8"} 
[2026-07-01 08:01:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:01:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-01 08:01:24] 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-01 08:01:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:01:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:01:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:01:24] local.INFO: Teltonika packet parsed successfully {"connection_id":118820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:01:24] local.INFO: Passing IMEI to GPS processor {"connection_id":118820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:01:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":118820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:01:24] 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-01 08:01:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:01:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:01:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415486976001,"66":12939,"97":206,"85":15104,"24":14,"16":101183313460330496,"45":8859354548516216832},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-01 08:01:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:01:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:01:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415486976001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:01:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 08:01:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 08:01:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101183313460330496,"km_value":101183313460330.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:01:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8859354548516216832,"description":"Unknown IO ID 45"} 
[2026-07-01 08:01:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415486976001,"power":12939,"unknown_97":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8859354548516216832}} 
[2026-07-01 08:01:24] local.INFO: DEBUG: GPS processor result {"connection_id":118820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416492,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:01:24] local.INFO: GPS data processed {"connection_id":118820,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:01:24] local.INFO: Acknowledgment sent {"connection_id":118820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:01:26] local.INFO: TCP Data received {"connection_id":118821,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:01:26] local.INFO: Processing buffer {"connection_id":118821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:01:26] local.INFO: IMEI packet received {"connection_id":118821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":118821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:01:28] local.INFO: TCP Data received {"connection_id":118821,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b831fb0012d18330006d61070000f011829..."} 
[2026-07-01 08:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b831fb0012d18330006d61070000f011829..."} 
[2026-07-01 08:01:28] local.INFO: Processing buffer {"connection_id":118821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b831fb0012d18330006d61070000f011829..."} 
[2026-07-01 08:01:28] local.INFO: Packet analysis {"connection_id":118821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b83"} 
[2026-07-01 08:01:28] local.INFO: Extracted packet for processing {"connection_id":118821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b83"} 
[2026-07-01 08:01:28] local.INFO: GPS Element Parsed {"raw_longitude":756560640,"raw_latitude":114692208,"longitude_deg":75.656064,"latitude_deg":11.4692208,"altitude":15,"angle":280,"satellites":41,"speed":46,"hex_longitude":"2d183300","hex_latitude":"06d61070","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:01:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415488768001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:01:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333027451984674816,"note":"Value kept but may cause issues"} 
[2026-07-01 08:01:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747607791013433344,"note":"Value kept but may cause issues"} 
[2026-07-01 08:01:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:01:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782873006000,"timestamp_ms":1782873006000,"timestamp_seconds":1782873006,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b831fb0"} 
[2026-07-01 08: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-01 08:01: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-01 08: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 08:01:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08: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-01 08: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-01 08:01:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:01:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:01:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:01:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:01:28] 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-01 08:01:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:01:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:01:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415488768001,"66":27767,"160":206,"81":20480,"24":46,"16":333027451984674816,"45":1747607791013433344},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,81,24,16,45]} 
[2026-07-01 08:01:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:01:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:01:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415488768001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:01:28] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-07-01 08:01:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-01 08:01:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333027451984674816,"km_value":333027451984674.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:01:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747607791013433344,"description":"Unknown IO ID 45"} 
[2026-07-01 08:01:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415488768001,"power":27767,"unknown_160":206,"unknown_81":20480,"ignition":46,"odometer":null,"unknown_45":1747607791013433344}} 
[2026-07-01 08:01:28] local.INFO: DEBUG: GPS processor result {"connection_id":118821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:01:28] local.INFO: GPS data processed {"connection_id":118821,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:01:28] local.INFO: Acknowledgment sent {"connection_id":118821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:01:32] local.INFO: TCP Data received {"connection_id":119578,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b826430012d7adf4005e3c800000700a52b..."} 
[2026-07-01 08:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b826430012d7adf4005e3c800000700a52b..."} 
[2026-07-01 08:01:32] local.INFO: Processing buffer {"connection_id":119578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b826430012d7adf4005e3c800000700a52b..."} 
[2026-07-01 08:01:32] local.INFO: Packet analysis {"connection_id":119578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b82"} 
[2026-07-01 08:01:32] local.INFO: Extracted packet for processing {"connection_id":119578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b82"} 
[2026-07-01 08:01:32] local.INFO: GPS Element Parsed {"raw_longitude":763027264,"raw_latitude":98813952,"longitude_deg":76.3027264,"latitude_deg":9.8813952,"altitude":7,"angle":165,"satellites":43,"speed":25,"hex_longitude":"2d7adf40","hex_latitude":"05e3c800","is_valid_coordinates":true} 
[2026-07-01 08:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415473152001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101182261193342976,"note":"Value kept but may cause issues"} 
[2026-07-01 08:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851402880430213120,"note":"Value kept but may cause issues"} 
[2026-07-01 08:01:32] 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-01 08:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782872958000,"timestamp_ms":1782872958000,"timestamp_seconds":1782872958,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b826430"} 
[2026-07-01 08:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:01:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-01 08:01:32] 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-01 08:01:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":119578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":119578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":119578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:01:32] 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-01 08:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415473152001,"66":13015,"97":206,"85":15104,"24":25,"16":101182261193342976,"45":8851402880430213120},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-01 08:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415473152001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:01:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 08:01:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 08:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101182261193342976,"km_value":101182261193342.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851402880430213120,"description":"Unknown IO ID 45"} 
[2026-07-01 08:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415473152001,"power":13015,"unknown_97":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8851402880430213120}} 
[2026-07-01 08:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":119578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416494,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:01:32] local.INFO: GPS data processed {"connection_id":119578,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:01:32] local.INFO: Acknowledgment sent {"connection_id":119578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:01:55] local.INFO: TCP Data received {"connection_id":118820,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b8398c8012d7b04c005e35688000e009b2b..."} 
[2026-07-01 08:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b8398c8012d7b04c005e35688000e009b2b..."} 
[2026-07-01 08:01:55] local.INFO: Processing buffer {"connection_id":118820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b8398c8012d7b04c005e35688000e009b2b..."} 
[2026-07-01 08:01:55] local.INFO: Packet analysis {"connection_id":118820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b83"} 
[2026-07-01 08:01:55] local.INFO: Extracted packet for processing {"connection_id":118820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b83"} 
[2026-07-01 08:01:55] local.INFO: GPS Element Parsed {"raw_longitude":763036864,"raw_latitude":98784904,"longitude_deg":76.3036864,"latitude_deg":9.8784904,"altitude":14,"angle":155,"satellites":43,"speed":12,"hex_longitude":"2d7b04c0","hex_latitude":"05e35688","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415492352001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101183747252027392,"note":"Value kept but may cause issues"} 
[2026-07-01 08:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8861184135863443456,"note":"Value kept but may cause issues"} 
[2026-07-01 08:01: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-01 08:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782873037000,"timestamp_ms":1782873037000,"timestamp_seconds":1782873037,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b8398c8"} 
[2026-07-01 08: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-01 08:01:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-01 08:01:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08: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-01 08: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-01 08:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":118820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":118820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":118820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:01:55] 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-01 08:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415492352001,"66":12939,"97":206,"85":15104,"24":12,"16":101183747252027392,"45":8861184135863443456},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-01 08:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415492352001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:01:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 08:01:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 08:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101183747252027392,"km_value":101183747252027.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8861184135863443456,"description":"Unknown IO ID 45"} 
[2026-07-01 08:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415492352001,"power":12939,"unknown_97":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8861184135863443456}} 
[2026-07-01 08:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":118820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416495,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:01:55] local.INFO: GPS data processed {"connection_id":118820,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:01:55] local.INFO: Acknowledgment sent {"connection_id":118820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:01:59] local.INFO: TCP Data received {"connection_id":118821,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b833ef0012d180c4006d619a00010011c27..."} 
[2026-07-01 08:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b833ef0012d180c4006d619a00010011c27..."} 
[2026-07-01 08:01:59] local.INFO: Processing buffer {"connection_id":118821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b833ef0012d180c4006d619a00010011c27..."} 
[2026-07-01 08:01:59] local.INFO: Packet analysis {"connection_id":118821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b83"} 
[2026-07-01 08:01:59] local.INFO: Extracted packet for processing {"connection_id":118821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b83"} 
[2026-07-01 08:01:59] local.INFO: GPS Element Parsed {"raw_longitude":756550720,"raw_latitude":114694560,"longitude_deg":75.655072,"latitude_deg":11.469456,"altitude":16,"angle":284,"satellites":39,"speed":52,"hex_longitude":"2d180c40","hex_latitude":"06d619a0","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415489536001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333027937315979264,"note":"Value kept but may cause issues"} 
[2026-07-01 08:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743737510083719168,"note":"Value kept but may cause issues"} 
[2026-07-01 08:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782873014000,"timestamp_ms":1782873014000,"timestamp_seconds":1782873014,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b833ef0"} 
[2026-07-01 08: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-01 08:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 08:01:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08: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-01 08: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-01 08:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:01:59] 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-01 08:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415489536001,"66":27908,"160":206,"81":20480,"24":52,"16":333027937315979264,"45":1743737510083719168},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,81,24,16,45]} 
[2026-07-01 08:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415489536001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:01:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-07-01 08:01:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-01 08:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333027937315979264,"km_value":333027937315979.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743737510083719168,"description":"Unknown IO ID 45"} 
[2026-07-01 08:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415489536001,"power":27908,"unknown_160":206,"unknown_81":20480,"ignition":52,"odometer":null,"unknown_45":1743737510083719168}} 
[2026-07-01 08:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":118821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:01:59] local.INFO: GPS data processed {"connection_id":118821,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:01:59] local.INFO: Acknowledgment sent {"connection_id":118821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:02:19] local.INFO: TCP Data received {"connection_id":120694,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120694,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:02:19] local.INFO: Processing buffer {"connection_id":120694,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:02:19] local.INFO: IMEI packet received {"connection_id":120694,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 08:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":120694,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:02:22] local.INFO: TCP Data received {"connection_id":120696,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:02:22] local.INFO: Processing buffer {"connection_id":120696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:02:22] local.INFO: IMEI packet received {"connection_id":120696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 08:02:22] local.INFO: IMEI acknowledgment sent {"connection_id":120696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:02:24] local.INFO: TCP Data received {"connection_id":120694,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120694,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:02:24] local.INFO: Processing buffer {"connection_id":120694,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:02:24] local.INFO: IMEI packet received {"connection_id":120694,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:02:24] local.INFO: IMEI acknowledgment sent {"connection_id":120694,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:02:25] local.INFO: TCP Data received {"connection_id":120694,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b83bbf0012d7b080005e34f38000f00a72c..."} 
[2026-07-01 08:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b83bbf0012d7b080005e34f38000f00a72c..."} 
[2026-07-01 08:02:25] local.INFO: Processing buffer {"connection_id":120694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b83bbf0012d7b080005e34f38000f00a72c..."} 
[2026-07-01 08:02:25] local.INFO: Packet analysis {"connection_id":120694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b83"} 
[2026-07-01 08:02:25] local.INFO: Extracted packet for processing {"connection_id":120694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b83"} 
[2026-07-01 08:02:25] local.INFO: GPS Element Parsed {"raw_longitude":763037696,"raw_latitude":98783032,"longitude_deg":76.3037696,"latitude_deg":9.8783032,"altitude":15,"angle":167,"satellites":44,"speed":5,"hex_longitude":"2d7b0800","hex_latitude":"05e34f38","is_valid_coordinates":true} 
[2026-07-01 08:02:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:02:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415497472001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:02:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101183850331242496,"note":"Value kept but may cause issues"} 
[2026-07-01 08:02:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864421098093447168,"note":"Value kept but may cause issues"} 
[2026-07-01 08:02: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-01 08:02:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782873046000,"timestamp_ms":1782873046000,"timestamp_seconds":1782873046,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b83bbf0"} 
[2026-07-01 08:02:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:02: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-01 08:02:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-01 08:02:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:02:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:02:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:02:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:02:25] local.INFO: Teltonika packet parsed successfully {"connection_id":120694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:02:25] local.INFO: Passing IMEI to GPS processor {"connection_id":120694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:02:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":120694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:02:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:02:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:02:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:02:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415497472001,"66":13189,"97":206,"85":15104,"24":5,"16":101183850331242496,"45":8864421098093447168},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-01 08:02:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:02:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:02:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415497472001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:02:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 08:02:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 08:02:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101183850331242496,"km_value":101183850331242.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:02:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864421098093447168,"description":"Unknown IO ID 45"} 
[2026-07-01 08:02:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415497472001,"power":13189,"unknown_97":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8864421098093447168}} 
[2026-07-01 08:02:25] local.INFO: DEBUG: GPS processor result {"connection_id":120694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416497,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:02:25] local.INFO: GPS data processed {"connection_id":120694,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:02:25] local.INFO: Acknowledgment sent {"connection_id":120694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:02:26] local.INFO: TCP Data received {"connection_id":120696,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:02:26] local.INFO: Processing buffer {"connection_id":120696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:02:26] local.INFO: IMEI packet received {"connection_id":120696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":120696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:02:27] local.INFO: TCP Data received {"connection_id":120696,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b835a48012d17e64006d623f8000e011d2a..."} 
[2026-07-01 08:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b835a48012d17e64006d623f8000e011d2a..."} 
[2026-07-01 08:02:27] local.INFO: Processing buffer {"connection_id":120696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b835a48012d17e64006d623f8000e011d2a..."} 
[2026-07-01 08:02:27] local.INFO: Packet analysis {"connection_id":120696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b83"} 
[2026-07-01 08:02:27] local.INFO: Extracted packet for processing {"connection_id":120696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b83"} 
[2026-07-01 08:02:27] local.INFO: GPS Element Parsed {"raw_longitude":756540992,"raw_latitude":114697208,"longitude_deg":75.6540992,"latitude_deg":11.4697208,"altitude":14,"angle":285,"satellites":42,"speed":57,"hex_longitude":"2d17e640","hex_latitude":"06d623f8","is_valid_coordinates":true} 
[2026-07-01 08:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415491584001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333028418352316416,"note":"Value kept but may cause issues"} 
[2026-07-01 08:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732830354736783360,"note":"Value kept but may cause issues"} 
[2026-07-01 08:02:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782873021000,"timestamp_ms":1782873021000,"timestamp_seconds":1782873021,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b835a48"} 
[2026-07-01 08:02:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:02:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 08:02:27] 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-01 08:02:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:02:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:02:27] 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-01 08:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415491584001,"66":27800,"160":206,"81":20480,"24":57,"16":333028418352316416,"45":1732830354736783360},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,81,24,16,45]} 
[2026-07-01 08:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415491584001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:02:27] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-07-01 08:02:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-01 08:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333028418352316416,"km_value":333028418352316.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732830354736783360,"description":"Unknown IO ID 45"} 
[2026-07-01 08:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415491584001,"power":27800,"unknown_160":206,"unknown_81":20480,"ignition":57,"odometer":null,"unknown_45":1732830354736783360}} 
[2026-07-01 08:02:27] local.INFO: DEBUG: GPS processor result {"connection_id":120696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:02:27] local.INFO: GPS data processed {"connection_id":120696,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:02:27] local.INFO: Acknowledgment sent {"connection_id":120696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:02:56] local.INFO: TCP Data received {"connection_id":120694,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b840628012d7b0c0005e33a90001000b52a..."} 
[2026-07-01 08:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b840628012d7b0c0005e33a90001000b52a..."} 
[2026-07-01 08:02:56] local.INFO: Processing buffer {"connection_id":120694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b840628012d7b0c0005e33a90001000b52a..."} 
[2026-07-01 08:02:56] local.INFO: Packet analysis {"connection_id":120694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b84"} 
[2026-07-01 08:02:56] local.INFO: Extracted packet for processing {"connection_id":120694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b84"} 
[2026-07-01 08:02:56] local.INFO: GPS Element Parsed {"raw_longitude":763038720,"raw_latitude":98777744,"longitude_deg":76.303872,"latitude_deg":9.8777744,"altitude":16,"angle":181,"satellites":42,"speed":16,"hex_longitude":"2d7b0c00","hex_latitude":"05e33a90","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:02:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415499776001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:02:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101184112324247552,"note":"Value kept but may cause issues"} 
[2026-07-01 08:02:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865335891767277568,"note":"Value kept but may cause issues"} 
[2026-07-01 08:02:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:02:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782873065000,"timestamp_ms":1782873065000,"timestamp_seconds":1782873065,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b840628"} 
[2026-07-01 08: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-01 08:02:56] 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-01 08: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-01 08:02:56] 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-01 08: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-01 08: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-01 08:02:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:02:56] local.INFO: Teltonika packet parsed successfully {"connection_id":120694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:02:56] local.INFO: Passing IMEI to GPS processor {"connection_id":120694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:02:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":120694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:02:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:02:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:02:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:02:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415499776001,"66":12885,"97":206,"85":15104,"24":16,"16":101184112324247552,"45":8865335891767277568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-01 08:02:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:02:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:02:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415499776001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:02:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 08:02:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 08:02:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101184112324247552,"km_value":101184112324247.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:02:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865335891767277568,"description":"Unknown IO ID 45"} 
[2026-07-01 08:02:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415499776001,"power":12885,"unknown_97":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":8865335891767277568}} 
[2026-07-01 08:02:56] local.INFO: DEBUG: GPS processor result {"connection_id":120694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416499,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:02:56] local.INFO: GPS data processed {"connection_id":120694,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:02:56] local.INFO: Acknowledgment sent {"connection_id":120694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:02:59] local.INFO: TCP Data received {"connection_id":120696,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b84c590012d1644c006d674380019011e2e..."} 
[2026-07-01 08:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b84c590012d1644c006d674380019011e2e..."} 
[2026-07-01 08:02:59] local.INFO: Processing buffer {"connection_id":120696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b84c590012d1644c006d674380019011e2e..."} 
[2026-07-01 08:02:59] local.INFO: Packet analysis {"connection_id":120696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b84"} 
[2026-07-01 08:02:59] local.INFO: Extracted packet for processing {"connection_id":120696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b84"} 
[2026-07-01 08:02:59] local.INFO: GPS Element Parsed {"raw_longitude":756434112,"raw_latitude":114717752,"longitude_deg":75.6434112,"latitude_deg":11.4717752,"altitude":25,"angle":286,"satellites":46,"speed":33,"hex_longitude":"2d1644c0","hex_latitude":"06d67438","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415515904001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333033610967777280,"note":"Value kept but may cause issues"} 
[2026-07-01 08:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1609192471222384640,"note":"Value kept but may cause issues"} 
[2026-07-01 08:02:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782873114000,"timestamp_ms":1782873114000,"timestamp_seconds":1782873114,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b84c590"} 
[2026-07-01 08: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-01 08:02: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-01 08:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 08:02:59] 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-01 08:02:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08: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-01 08:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":120696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":120696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":120696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:02:59] 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-01 08:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415515904001,"66":27713,"44":206,"81":20480,"24":33,"16":333033610967777280,"45":1609192471222384640},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-07-01 08:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415515904001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:02:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-07-01 08:02:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-01 08:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333033610967777280,"km_value":333033610967777.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1609192471222384640,"description":"Unknown IO ID 45"} 
[2026-07-01 08:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415515904001,"power":27713,"unknown_44":206,"unknown_81":20480,"ignition":33,"odometer":null,"unknown_45":1609192471222384640}} 
[2026-07-01 08:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":120696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:02:59] local.INFO: GPS data processed {"connection_id":120696,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:02:59] local.INFO: Acknowledgment sent {"connection_id":120696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:03:18] local.INFO: TCP Data received {"connection_id":118922,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118922,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:03:18] local.INFO: Processing buffer {"connection_id":118922,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:03:18] local.INFO: IMEI packet received {"connection_id":118922,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 08:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":118922,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:03:21] local.INFO: TCP Data received {"connection_id":119580,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:03:21] local.INFO: Processing buffer {"connection_id":119580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:03:21] local.INFO: IMEI packet received {"connection_id":119580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 08:03:21] local.INFO: IMEI acknowledgment sent {"connection_id":119580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:03:24] local.INFO: TCP Data received {"connection_id":118922,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118922,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:03:24] local.INFO: Processing buffer {"connection_id":118922,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:03:24] local.INFO: IMEI packet received {"connection_id":118922,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:03:24] local.INFO: IMEI acknowledgment sent {"connection_id":118922,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:03:25] local.INFO: TCP Data received {"connection_id":118922,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b843508012d7b0dc005e32748000e00aa28..."} 
[2026-07-01 08:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b843508012d7b0dc005e32748000e00aa28..."} 
[2026-07-01 08:03:25] local.INFO: Processing buffer {"connection_id":118922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b843508012d7b0dc005e32748000e00aa28..."} 
[2026-07-01 08:03:25] local.INFO: Packet analysis {"connection_id":118922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b84"} 
[2026-07-01 08:03:25] local.INFO: Extracted packet for processing {"connection_id":118922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b84"} 
[2026-07-01 08:03:25] local.INFO: GPS Element Parsed {"raw_longitude":763039168,"raw_latitude":98772808,"longitude_deg":76.3039168,"latitude_deg":9.8772808,"altitude":14,"angle":170,"satellites":40,"speed":14,"hex_longitude":"2d7b0dc0","hex_latitude":"05e32748","is_valid_coordinates":true} 
[2026-07-01 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-01 08:03:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415504640001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:03:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101184352842416128,"note":"Value kept but may cause issues"} 
[2026-07-01 08:03:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866461791672766464,"note":"Value kept but may cause issues"} 
[2026-07-01 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-01 08:03:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782873077000,"timestamp_ms":1782873077000,"timestamp_seconds":1782873077,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b843508"} 
[2026-07-01 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-01 08:03: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-01 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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-01 08:03:25] 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-01 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-01 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-01 08:03:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:03:25] local.INFO: Teltonika packet parsed successfully {"connection_id":118922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:03:25] local.INFO: Passing IMEI to GPS processor {"connection_id":118922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:03:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":118922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:03:25] 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-01 08:03:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:03:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:03:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415504640001,"66":13363,"97":206,"85":15104,"24":14,"16":101184352842416128,"45":8866461791672766464},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-01 08:03:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:03:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:03:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415504640001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:03:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 08:03:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 08:03:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101184352842416128,"km_value":101184352842416.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:03:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866461791672766464,"description":"Unknown IO ID 45"} 
[2026-07-01 08:03:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415504640001,"power":13363,"unknown_97":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8866461791672766464}} 
[2026-07-01 08:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":118922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416501,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:03:25] local.INFO: GPS data processed {"connection_id":118922,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:03:25] local.INFO: Acknowledgment sent {"connection_id":118922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:03:26] local.INFO: TCP Data received {"connection_id":119580,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:03:26] local.INFO: Processing buffer {"connection_id":119580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:03:26] local.INFO: IMEI packet received {"connection_id":119580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":119580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:03:28] local.INFO: TCP Data received {"connection_id":119580,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b84d530012d16388006d67980001a012c30..."} 
[2026-07-01 08:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b84d530012d16388006d67980001a012c30..."} 
[2026-07-01 08:03:28] local.INFO: Processing buffer {"connection_id":119580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b84d530012d16388006d67980001a012c30..."} 
[2026-07-01 08:03:28] local.INFO: Packet analysis {"connection_id":119580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b84"} 
[2026-07-01 08:03:28] local.INFO: Extracted packet for processing {"connection_id":119580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b84"} 
[2026-07-01 08:03:28] local.INFO: GPS Element Parsed {"raw_longitude":756430976,"raw_latitude":114719104,"longitude_deg":75.6430976,"latitude_deg":11.4719104,"altitude":26,"angle":300,"satellites":48,"speed":33,"hex_longitude":"2d163880","hex_latitude":"06d67980","is_valid_coordinates":true} 
[2026-07-01 08:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:03:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415517184001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:03:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333033774176534528,"note":"Value kept but may cause issues"} 
[2026-07-01 08:03:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1604618502851016704,"note":"Value kept but may cause issues"} 
[2026-07-01 08:03:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:03:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782873118000,"timestamp_ms":1782873118000,"timestamp_seconds":1782873118,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b84d530"} 
[2026-07-01 08:03:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:03:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-01 08:03:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:03:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:03:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:03:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:03:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:03:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:03:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:03:28] 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-01 08:03:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:03:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:03:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415517184001,"66":27745,"44":206,"81":20480,"24":33,"16":333033774176534528,"45":1604618502851016704},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-07-01 08:03:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:03:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:03:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415517184001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:03:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-07-01 08:03:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-01 08:03:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333033774176534528,"km_value":333033774176534.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:03:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1604618502851016704,"description":"Unknown IO ID 45"} 
[2026-07-01 08:03:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415517184001,"power":27745,"unknown_44":206,"unknown_81":20480,"ignition":33,"odometer":null,"unknown_45":1604618502851016704}} 
[2026-07-01 08:03:28] local.INFO: DEBUG: GPS processor result {"connection_id":119580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:03:28] local.INFO: GPS data processed {"connection_id":119580,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:03:28] local.INFO: Acknowledgment sent {"connection_id":119580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:03:56] local.INFO: TCP Data received {"connection_id":118922,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b844c78012d7b104005e31ee0000d009f28..."} 
[2026-07-01 08:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b844c78012d7b104005e31ee0000d009f28..."} 
[2026-07-01 08:03:56] local.INFO: Processing buffer {"connection_id":118922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b844c78012d7b104005e31ee0000d009f28..."} 
[2026-07-01 08:03:56] local.INFO: Packet analysis {"connection_id":118922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b84"} 
[2026-07-01 08:03:56] local.INFO: Extracted packet for processing {"connection_id":118922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b84"} 
[2026-07-01 08:03:56] local.INFO: GPS Element Parsed {"raw_longitude":763039808,"raw_latitude":98770656,"longitude_deg":76.3039808,"latitude_deg":9.8770656,"altitude":13,"angle":159,"satellites":40,"speed":12,"hex_longitude":"2d7b1040","hex_latitude":"05e31ee0","is_valid_coordinates":true} 
[2026-07-01 08:03:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:03:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415507712001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:03:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101184460216598528,"note":"Value kept but may cause issues"} 
[2026-07-01 08:03:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866954372880746496,"note":"Value kept but may cause issues"} 
[2026-07-01 08:03:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:03:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782873083000,"timestamp_ms":1782873083000,"timestamp_seconds":1782873083,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b844c78"} 
[2026-07-01 08:03:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:03:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:03:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-01 08:03:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:03:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:03:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:03:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:03:56] local.INFO: Teltonika packet parsed successfully {"connection_id":118922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:03:56] local.INFO: Passing IMEI to GPS processor {"connection_id":118922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:03:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":118922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:03:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:03:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:03:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:03:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415507712001,"66":12330,"97":206,"85":15104,"24":12,"16":101184460216598528,"45":8866954372880746496},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-01 08:03:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:03:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:03:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415507712001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:03:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 08:03:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 08:03:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101184460216598528,"km_value":101184460216598.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:03:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866954372880746496,"description":"Unknown IO ID 45"} 
[2026-07-01 08:03:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415507712001,"power":12330,"unknown_97":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8866954372880746496}} 
[2026-07-01 08:03:56] local.INFO: DEBUG: GPS processor result {"connection_id":118922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416503,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:03:56] local.INFO: GPS data processed {"connection_id":118922,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:03:56] local.INFO: Acknowledgment sent {"connection_id":118922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:03:59] local.INFO: TCP Data received {"connection_id":119580,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b8507f8012d161ac006d69020001c01362f..."} 
[2026-07-01 08:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b8507f8012d161ac006d69020001c01362f..."} 
[2026-07-01 08:03:59] local.INFO: Processing buffer {"connection_id":119580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b8507f8012d161ac006d69020001c01362f..."} 
[2026-07-01 08:03:59] local.INFO: Packet analysis {"connection_id":119580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b85"} 
[2026-07-01 08:03:59] local.INFO: Extracted packet for processing {"connection_id":119580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b85"} 
[2026-07-01 08:03:59] local.INFO: GPS Element Parsed {"raw_longitude":756423360,"raw_latitude":114724896,"longitude_deg":75.642336,"latitude_deg":11.4724896,"altitude":28,"angle":310,"satellites":47,"speed":29,"hex_longitude":"2d161ac0","hex_latitude":"06d69020","is_valid_coordinates":true} 
[2026-07-01 08:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:03:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415518208001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:03:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333034233738035200,"note":"Value kept but may cause issues"} 
[2026-07-01 08:03:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1601170434386657280,"note":"Value kept but may cause issues"} 
[2026-07-01 08:03:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:03:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782873131000,"timestamp_ms":1782873131000,"timestamp_seconds":1782873131,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b8507f8"} 
[2026-07-01 08:03:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:03:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 08:03:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:03:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:03:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:03:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:03:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:03:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:03:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:03:59] 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-01 08:03:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:03:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:03:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415518208001,"66":27930,"44":206,"81":20480,"24":29,"16":333034233738035200,"45":1601170434386657280},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-07-01 08:03:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:03:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:03:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415518208001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:03:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-07-01 08:03:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-01 08:03:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333034233738035200,"km_value":333034233738035.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:03:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1601170434386657280,"description":"Unknown IO ID 45"} 
[2026-07-01 08:03:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415518208001,"power":27930,"unknown_44":206,"unknown_81":20480,"ignition":29,"odometer":null,"unknown_45":1601170434386657280}} 
[2026-07-01 08:03:59] local.INFO: DEBUG: GPS processor result {"connection_id":119580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:03:59] local.INFO: GPS data processed {"connection_id":119580,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:03:59] local.INFO: Acknowledgment sent {"connection_id":119580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:04:18] local.INFO: TCP Data received {"connection_id":120697,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120697,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:04:18] local.INFO: Processing buffer {"connection_id":120697,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:04:18] local.INFO: IMEI packet received {"connection_id":120697,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 08:04:18] local.INFO: IMEI acknowledgment sent {"connection_id":120697,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:04:21] local.INFO: TCP Data received {"connection_id":119581,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:04:21] local.INFO: Processing buffer {"connection_id":119581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:04:21] local.INFO: IMEI packet received {"connection_id":119581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 08:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":119581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:04:23] local.INFO: TCP Data received {"connection_id":119581,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:04:23] local.INFO: Processing buffer {"connection_id":119581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:04:23] local.INFO: IMEI packet received {"connection_id":119581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:04:23] local.INFO: IMEI acknowledgment sent {"connection_id":119581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:04:24] local.INFO: TCP Data received {"connection_id":120697,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120697,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:04:24] local.INFO: Processing buffer {"connection_id":120697,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:04:24] local.INFO: IMEI packet received {"connection_id":120697,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":120697,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:04:25] local.INFO: TCP Data received {"connection_id":120697,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b8467d0012d7b120005e31be8000b00892b..."} 
[2026-07-01 08:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b8467d0012d7b120005e31be8000b00892b..."} 
[2026-07-01 08:04:25] local.INFO: Processing buffer {"connection_id":120697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b8467d0012d7b120005e31be8000b00892b..."} 
[2026-07-01 08:04:25] local.INFO: Packet analysis {"connection_id":120697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b84"} 
[2026-07-01 08:04:25] local.INFO: Extracted packet for processing {"connection_id":120697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b84"} 
[2026-07-01 08:04:25] local.INFO: GPS Element Parsed {"raw_longitude":763040256,"raw_latitude":98769896,"longitude_deg":76.3040256,"latitude_deg":9.8769896,"altitude":11,"angle":137,"satellites":43,"speed":6,"hex_longitude":"2d7b1200","hex_latitude":"05e31be8","is_valid_coordinates":true} 
[2026-07-01 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-01 08:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415509248001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101184511756206080,"note":"Value kept but may cause issues"} 
[2026-07-01 08:04:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867658060321972224,"note":"Value kept but may cause issues"} 
[2026-07-01 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-01 08:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782873090000,"timestamp_ms":1782873090000,"timestamp_seconds":1782873090,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b8467d0"} 
[2026-07-01 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-01 08:04: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-01 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":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-07-01 08:04:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":816,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 08:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":120697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":120697,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":120697,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:04:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415509248001,"66":12982,"97":206,"85":15104,"24":6,"16":101184511756206080,"45":8867658060321972224},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-01 08:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415509248001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:04:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 08:04:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 08:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101184511756206080,"km_value":101184511756206.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:04:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867658060321972224,"description":"Unknown IO ID 45"} 
[2026-07-01 08:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415509248001,"power":12982,"unknown_97":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8867658060321972224}} 
[2026-07-01 08:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":120697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416505,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:04:25] local.INFO: GPS data processed {"connection_id":120697,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:04:25] local.INFO: Acknowledgment sent {"connection_id":120697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:04:26] local.INFO: TCP Data received {"connection_id":119581,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:04:26] local.INFO: Processing buffer {"connection_id":119581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:04:26] local.INFO: IMEI packet received {"connection_id":119581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":119581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:04:27] local.INFO: TCP Data received {"connection_id":119581,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b852b20012d16048006d69f600017012930..."} 
[2026-07-01 08:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b852b20012d16048006d69f600017012930..."} 
[2026-07-01 08:04:27] local.INFO: Processing buffer {"connection_id":119581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b852b20012d16048006d69f600017012930..."} 
[2026-07-01 08:04:27] local.INFO: Packet analysis {"connection_id":119581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b85"} 
[2026-07-01 08:04:27] local.INFO: Extracted packet for processing {"connection_id":119581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b85"} 
[2026-07-01 08:04:27] local.INFO: GPS Element Parsed {"raw_longitude":756417664,"raw_latitude":114728800,"longitude_deg":75.6417664,"latitude_deg":11.47288,"altitude":23,"angle":297,"satellites":48,"speed":29,"hex_longitude":"2d160480","hex_latitude":"06d69f60","is_valid_coordinates":true} 
[2026-07-01 08:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:04:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415521536001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:04:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333034560155549696,"note":"Value kept but may cause issues"} 
[2026-07-01 08:04:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1592796553830998016,"note":"Value kept but may cause issues"} 
[2026-07-01 08:04:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:04:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782873140000,"timestamp_ms":1782873140000,"timestamp_seconds":1782873140,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b852b20"} 
[2026-07-01 08:04:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:04: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-01 08:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-01 08:04:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:04:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:04:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:04:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:04:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:04:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:04:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:04:27] 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-01 08:04:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:04:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:04:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415521536001,"66":27930,"44":206,"81":20480,"24":29,"16":333034560155549696,"45":1592796553830998016},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-07-01 08:04:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:04:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:04:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415521536001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:04:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-07-01 08:04:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-01 08:04:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333034560155549696,"km_value":333034560155549.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:04:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1592796553830998016,"description":"Unknown IO ID 45"} 
[2026-07-01 08:04:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415521536001,"power":27930,"unknown_44":206,"unknown_81":20480,"ignition":29,"odometer":null,"unknown_45":1592796553830998016}} 
[2026-07-01 08:04:27] local.INFO: DEBUG: GPS processor result {"connection_id":119581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:04:27] local.INFO: GPS data processed {"connection_id":119581,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:04:27] local.INFO: Acknowledgment sent {"connection_id":119581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:04:46] local.INFO: TCP Data received {"connection_id":118823,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 08:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118823,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 08:04:46] local.INFO: Processing buffer {"connection_id":118823,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 08:04:46] local.INFO: IMEI packet received {"connection_id":118823,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 08:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":118823,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:04:56] local.INFO: TCP Data received {"connection_id":120697,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b847388012d7b130005e31a60000b00a329..."} 
[2026-07-01 08:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b847388012d7b130005e31a60000b00a329..."} 
[2026-07-01 08:04:56] local.INFO: Processing buffer {"connection_id":120697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b847388012d7b130005e31a60000b00a329..."} 
[2026-07-01 08:04:56] local.INFO: Packet analysis {"connection_id":120697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b84"} 
[2026-07-01 08:04:56] local.INFO: Extracted packet for processing {"connection_id":120697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b84"} 
[2026-07-01 08:04:56] local.INFO: GPS Element Parsed {"raw_longitude":763040512,"raw_latitude":98769504,"longitude_deg":76.3040512,"latitude_deg":9.8769504,"altitude":11,"angle":163,"satellites":41,"speed":6,"hex_longitude":"2d7b1300","hex_latitude":"05e31a60","is_valid_coordinates":true} 
[2026-07-01 08:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415511040001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101184533231042560,"note":"Value kept but may cause issues"} 
[2026-07-01 08:04:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868150641531021312,"note":"Value kept but may cause issues"} 
[2026-07-01 08:04:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782873093000,"timestamp_ms":1782873093000,"timestamp_seconds":1782873093,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b847388"} 
[2026-07-01 08:04:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:04:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-01 08:04:56] 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-01 08:04:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:04:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":120697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":120697,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":120697,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:04:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415511040001,"66":12624,"97":206,"85":15104,"24":6,"16":101184533231042560,"45":8868150641531021312},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-01 08:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415511040001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:04:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 08:04:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 08:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101184533231042560,"km_value":101184533231042.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:04:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868150641531021312,"description":"Unknown IO ID 45"} 
[2026-07-01 08:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415511040001,"power":12624,"unknown_97":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8868150641531021312}} 
[2026-07-01 08:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":120697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416507,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:04:56] local.INFO: GPS data processed {"connection_id":120697,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:04:56] local.INFO: Acknowledgment sent {"connection_id":120697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:04:59] local.INFO: TCP Data received {"connection_id":119581,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b855de8012d15e50006d6b0600013012a2e..."} 
[2026-07-01 08:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b855de8012d15e50006d6b0600013012a2e..."} 
[2026-07-01 08:04:59] local.INFO: Processing buffer {"connection_id":119581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b855de8012d15e50006d6b0600013012a2e..."} 
[2026-07-01 08:04:59] local.INFO: Packet analysis {"connection_id":119581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b85"} 
[2026-07-01 08:04:59] local.INFO: Extracted packet for processing {"connection_id":119581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b85"} 
[2026-07-01 08:04:59] local.INFO: GPS Element Parsed {"raw_longitude":756409600,"raw_latitude":114733152,"longitude_deg":75.64096,"latitude_deg":11.4733152,"altitude":19,"angle":298,"satellites":46,"speed":27,"hex_longitude":"2d15e500","hex_latitude":"06d6b060","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415523840001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333035002537181184,"note":"Value kept but may cause issues"} 
[2026-07-01 08:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1586533735600185344,"note":"Value kept but may cause issues"} 
[2026-07-01 08:04:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782873153000,"timestamp_ms":1782873153000,"timestamp_seconds":1782873153,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b855de8"} 
[2026-07-01 08: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-01 08:04: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-01 08:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-01 08:04:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08: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-01 08: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-01 08:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:04:59] 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-01 08:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415523840001,"66":27974,"44":206,"81":20480,"24":27,"16":333035002537181184,"45":1586533735600185344},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-07-01 08:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415523840001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:04:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-07-01 08:04:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-01 08:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333035002537181184,"km_value":333035002537181.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1586533735600185344,"description":"Unknown IO ID 45"} 
[2026-07-01 08:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415523840001,"power":27974,"unknown_44":206,"unknown_81":20480,"ignition":27,"odometer":null,"unknown_45":1586533735600185344}} 
[2026-07-01 08:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":119581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:04:59] local.INFO: GPS data processed {"connection_id":119581,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:04:59] local.INFO: Acknowledgment sent {"connection_id":119581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:05:16] local.INFO: TCP Data received {"connection_id":120698,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 08:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120698,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 08:05:16] local.INFO: Processing buffer {"connection_id":120698,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 08:05:16] local.INFO: IMEI packet received {"connection_id":120698,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 08:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":120698,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:05:21] local.INFO: TCP Data received {"connection_id":118924,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:05:21] local.INFO: Processing buffer {"connection_id":118924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:05:21] local.INFO: IMEI packet received {"connection_id":118924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 08:05:21] local.INFO: IMEI acknowledgment sent {"connection_id":118924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:05:24] local.INFO: TCP Data received {"connection_id":118923,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118923,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:05:24] local.INFO: Processing buffer {"connection_id":118923,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:05:24] local.INFO: IMEI packet received {"connection_id":118923,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 08:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":118923,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:05:26] local.INFO: TCP Data received {"connection_id":118924,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:05:26] local.INFO: Processing buffer {"connection_id":118924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:05:26] local.INFO: IMEI packet received {"connection_id":118924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":118924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:05:27] local.INFO: TCP Data received {"connection_id":118924,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b85ac08012d15c5c006d6c0f80010012a30..."} 
[2026-07-01 08:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b85ac08012d15c5c006d6c0f80010012a30..."} 
[2026-07-01 08:05:27] local.INFO: Processing buffer {"connection_id":118924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b85ac08012d15c5c006d6c0f80010012a30..."} 
[2026-07-01 08:05:27] local.INFO: Packet analysis {"connection_id":118924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b85"} 
[2026-07-01 08:05:27] local.INFO: Extracted packet for processing {"connection_id":118924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b85"} 
[2026-07-01 08:05:27] local.INFO: GPS Element Parsed {"raw_longitude":756401600,"raw_latitude":114737400,"longitude_deg":75.64016,"latitude_deg":11.47374,"altitude":16,"angle":298,"satellites":48,"speed":10,"hex_longitude":"2d15c5c0","hex_latitude":"06d6c0f8","is_valid_coordinates":true} 
[2026-07-01 08:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415527168001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333035432033910784,"note":"Value kept but may cause issues"} 
[2026-07-01 08:05:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1577667273834913792,"note":"Value kept but may cause issues"} 
[2026-07-01 08:05:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782873173000,"timestamp_ms":1782873173000,"timestamp_seconds":1782873173,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b85ac08"} 
[2026-07-01 08:05:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:05: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-01 08:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-01 08:05:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:05:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:05:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:05:27] 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-01 08:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:05:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415527168001,"66":27876,"44":206,"81":20480,"24":10,"16":333035432033910784,"45":1577667273834913792},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-07-01 08:05:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415527168001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:05:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-07-01 08:05:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-01 08:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333035432033910784,"km_value":333035432033910.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:05:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1577667273834913792,"description":"Unknown IO ID 45"} 
[2026-07-01 08:05:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415527168001,"power":27876,"unknown_44":206,"unknown_81":20480,"ignition":10,"odometer":null,"unknown_45":1577667273834913792}} 
[2026-07-01 08:05:27] local.INFO: DEBUG: GPS processor result {"connection_id":118924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:05:27] local.INFO: GPS data processed {"connection_id":118924,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:05:27] local.INFO: Acknowledgment sent {"connection_id":118924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:05:29] local.INFO: TCP Data received {"connection_id":118923,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118923,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:05:29] local.INFO: Processing buffer {"connection_id":118923,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:05:29] local.INFO: IMEI packet received {"connection_id":118923,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":118923,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:05:30] local.INFO: TCP Data received {"connection_id":118923,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b8492c8012d7b140005e319a8000a00a329..."} 
[2026-07-01 08:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b8492c8012d7b140005e319a8000a00a329..."} 
[2026-07-01 08:05:30] local.INFO: Processing buffer {"connection_id":118923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b8492c8012d7b140005e319a8000a00a329..."} 
[2026-07-01 08:05:30] local.INFO: Packet analysis {"connection_id":118923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b84"} 
[2026-07-01 08:05:30] local.INFO: Extracted packet for processing {"connection_id":118923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b84"} 
[2026-07-01 08:05:30] local.INFO: GPS Element Parsed {"raw_longitude":763040768,"raw_latitude":98769320,"longitude_deg":76.3040768,"latitude_deg":9.876932,"altitude":10,"angle":163,"satellites":41,"speed":0,"hex_longitude":"2d7b1400","hex_latitude":"05e319a8","is_valid_coordinates":true} 
[2026-07-01 08:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415511808001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101184554705879040,"note":"Value kept but may cause issues"} 
[2026-07-01 08:05:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868432116507631616,"note":"Value kept but may cause issues"} 
[2026-07-01 08:05:30] 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-01 08:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782873101000,"timestamp_ms":1782873101000,"timestamp_seconds":1782873101,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b8492c8"} 
[2026-07-01 08: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-01 08:05:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-01 08:05:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08: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-01 08: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-01 08:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":118923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":118923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":118923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:05:30] 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-01 08:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415511808001,"66":12917,"97":206,"85":15104,"24":0,"16":101184554705879040,"45":8868432116507631616},"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-01 08:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415511808001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:05:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 08:05:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 08:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101184554705879040,"km_value":101184554705879.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:05:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868432116507631616,"description":"Unknown IO ID 45"} 
[2026-07-01 08:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415511808001,"power":12917,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8868432116507631616}} 
[2026-07-01 08:05:30] local.INFO: DEBUG: GPS processor result {"connection_id":118923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416510,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:05:30] local.INFO: GPS data processed {"connection_id":118923,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:05:30] local.INFO: Acknowledgment sent {"connection_id":118923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:05:34] local.INFO: TCP Data received {"connection_id":118923,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b8492c8012d7b140005e319a8000a00a329..."} 
[2026-07-01 08:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b8492c8012d7b140005e319a8000a00a329..."} 
[2026-07-01 08:05:34] local.INFO: Processing buffer {"connection_id":118923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b8492c8012d7b140005e319a8000a00a329..."} 
[2026-07-01 08:05:34] local.INFO: Packet analysis {"connection_id":118923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b84"} 
[2026-07-01 08:05:34] local.INFO: Extracted packet for processing {"connection_id":118923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b84"} 
[2026-07-01 08:05:34] local.INFO: GPS Element Parsed {"raw_longitude":763040768,"raw_latitude":98769320,"longitude_deg":76.3040768,"latitude_deg":9.876932,"altitude":10,"angle":163,"satellites":41,"speed":0,"hex_longitude":"2d7b1400","hex_latitude":"05e319a8","is_valid_coordinates":true} 
[2026-07-01 08:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415513856001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101184554705879040,"note":"Value kept but may cause issues"} 
[2026-07-01 08:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868713591484295168,"note":"Value kept but may cause issues"} 
[2026-07-01 08:05: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-01 08:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782873101000,"timestamp_ms":1782873101000,"timestamp_seconds":1782873101,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b8492c8"} 
[2026-07-01 08: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-01 08:05:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 08: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-01 08:05: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-01 08: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-01 08: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-01 08:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":118923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":118923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":118923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:05: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-01 08:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415513856001,"66":12917,"97":206,"85":15104,"24":0,"16":101184554705879040,"45":8868713591484295168},"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-01 08:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415513856001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:05:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 08:05:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 08:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101184554705879040,"km_value":101184554705879.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868713591484295168,"description":"Unknown IO ID 45"} 
[2026-07-01 08:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415513856001,"power":12917,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8868713591484295168}} 
[2026-07-01 08:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":118923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416511,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:05:34] local.INFO: GPS data processed {"connection_id":118923,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:05:34] local.INFO: Acknowledgment sent {"connection_id":118923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:05:59] local.INFO: TCP Data received {"connection_id":118924,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b8780c8012d15438006d74c68000f013d2e..."} 
[2026-07-01 08:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b8780c8012d15438006d74c68000f013d2e..."} 
[2026-07-01 08:05:59] local.INFO: Processing buffer {"connection_id":118924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b8780c8012d15438006d74c68000f013d2e..."} 
[2026-07-01 08:05:59] local.INFO: Packet analysis {"connection_id":118924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b87"} 
[2026-07-01 08:05:59] local.INFO: Extracted packet for processing {"connection_id":118924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b87"} 
[2026-07-01 08:05:59] local.INFO: GPS Element Parsed {"raw_longitude":756368256,"raw_latitude":114773096,"longitude_deg":75.6368256,"latitude_deg":11.4773096,"altitude":15,"angle":317,"satellites":46,"speed":24,"hex_longitude":"2d154380","hex_latitude":"06d74c68","is_valid_coordinates":true} 
[2026-07-01 08:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415563008001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333037832920629248,"note":"Value kept but may cause issues"} 
[2026-07-01 08:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1532209065106368512,"note":"Value kept but may cause issues"} 
[2026-07-01 08:05:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782873293000,"timestamp_ms":1782873293000,"timestamp_seconds":1782873293,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b8780c8"} 
[2026-07-01 08:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:05: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-01 08:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 08:05:59] 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-01 08:05:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:05:59] 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-01 08:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415563008001,"66":27800,"183":206,"81":20480,"24":24,"16":333037832920629248,"45":1532209065106368512},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-07-01 08:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415563008001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:05:59] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 08:05:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-01 08:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333037832920629248,"km_value":333037832920629.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:05:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1532209065106368512,"description":"Unknown IO ID 45"} 
[2026-07-01 08:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415563008001,"power":27800,"unknown_183":206,"unknown_81":20480,"ignition":24,"odometer":null,"unknown_45":1532209065106368512}} 
[2026-07-01 08:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":118924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:05:59] local.INFO: GPS data processed {"connection_id":118924,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:05:59] local.INFO: Acknowledgment sent {"connection_id":118924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:06:19] local.INFO: TCP Data received {"connection_id":118925,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118925,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:06:19] local.INFO: Processing buffer {"connection_id":118925,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:06:19] local.INFO: IMEI packet received {"connection_id":118925,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 08:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":118925,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:06:24] local.INFO: TCP Data received {"connection_id":118925,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118925,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:06:24] local.INFO: Processing buffer {"connection_id":118925,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:06:24] local.INFO: IMEI packet received {"connection_id":118925,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":118925,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:06:24] local.INFO: TCP Data received {"connection_id":118925,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b8492c8012d7b140005e319a8000a00a329..."} 
[2026-07-01 08:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b8492c8012d7b140005e319a8000a00a329..."} 
[2026-07-01 08:06:24] local.INFO: Processing buffer {"connection_id":118925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b8492c8012d7b140005e319a8000a00a329..."} 
[2026-07-01 08:06:24] local.INFO: Packet analysis {"connection_id":118925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b84"} 
[2026-07-01 08:06:24] local.INFO: Extracted packet for processing {"connection_id":118925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b84"} 
[2026-07-01 08:06:24] local.INFO: GPS Element Parsed {"raw_longitude":763040768,"raw_latitude":98769320,"longitude_deg":76.3040768,"latitude_deg":9.876932,"altitude":10,"angle":163,"satellites":41,"speed":0,"hex_longitude":"2d7b1400","hex_latitude":"05e319a8","is_valid_coordinates":true} 
[2026-07-01 08:06:24] 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-01 08:06:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415513856001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:06:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101184554705879040,"note":"Value kept but may cause issues"} 
[2026-07-01 08:06:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868713591484295168,"note":"Value kept but may cause issues"} 
[2026-07-01 08:06: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-01 08:06:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782873101000,"timestamp_ms":1782873101000,"timestamp_seconds":1782873101,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b8492c8"} 
[2026-07-01 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-01 08:06:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-01 08:06:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 08:06:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:06:24] local.INFO: Teltonika packet parsed successfully {"connection_id":118925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:06:24] local.INFO: Passing IMEI to GPS processor {"connection_id":118925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:06:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":118925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:06:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:06:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:06:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:06:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415513856001,"66":12917,"97":206,"85":15104,"24":0,"16":101184554705879040,"45":8868713591484295168},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-01 08:06:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:06:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:06:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415513856001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:06:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 08:06:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 08:06:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101184554705879040,"km_value":101184554705879.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:06:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868713591484295168,"description":"Unknown IO ID 45"} 
[2026-07-01 08:06:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415513856001,"power":12917,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8868713591484295168}} 
[2026-07-01 08:06:24] local.INFO: DEBUG: GPS processor result {"connection_id":118925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416513,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:06:24] local.INFO: GPS data processed {"connection_id":118925,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:06:24] local.INFO: Acknowledgment sent {"connection_id":118925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:06:26] local.INFO: TCP Data received {"connection_id":120700,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:06:26] local.INFO: Processing buffer {"connection_id":120700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:06:26] local.INFO: IMEI packet received {"connection_id":120700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 08:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":120700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:06:27] local.INFO: TCP Data received {"connection_id":120700,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:06:27] local.INFO: Processing buffer {"connection_id":120700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:06:27] local.INFO: IMEI packet received {"connection_id":120700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":120700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:06:29] local.INFO: TCP Data received {"connection_id":120700,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b87bb60012d152ac006d766e80010013b2f..."} 
[2026-07-01 08:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b87bb60012d152ac006d766e80010013b2f..."} 
[2026-07-01 08:06:29] local.INFO: Processing buffer {"connection_id":120700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b87bb60012d152ac006d766e80010013b2f..."} 
[2026-07-01 08:06:29] local.INFO: Packet analysis {"connection_id":120700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b87"} 
[2026-07-01 08:06:29] local.INFO: Extracted packet for processing {"connection_id":120700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b87"} 
[2026-07-01 08:06:29] local.INFO: GPS Element Parsed {"raw_longitude":756361920,"raw_latitude":114779880,"longitude_deg":75.636192,"latitude_deg":11.477988,"altitude":16,"angle":315,"satellites":47,"speed":19,"hex_longitude":"2d152ac0","hex_latitude":"06d766e8","is_valid_coordinates":true} 
[2026-07-01 08:06:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:06:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415563008001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:06:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333038279597228032,"note":"Value kept but may cause issues"} 
[2026-07-01 08:06:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1532209065106368512,"note":"Value kept but may cause issues"} 
[2026-07-01 08:06:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:06:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782873308000,"timestamp_ms":1782873308000,"timestamp_seconds":1782873308,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b87bb60"} 
[2026-07-01 08:06:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:06:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:06:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 08:06:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:06:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:06:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:06:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:06:29] local.INFO: Teltonika packet parsed successfully {"connection_id":120700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:06:29] local.INFO: Passing IMEI to GPS processor {"connection_id":120700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:06:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":120700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:06:29] 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-01 08:06:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:06:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:06:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415563008001,"66":27865,"183":206,"81":20480,"24":19,"16":333038279597228032,"45":1532209065106368512},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-07-01 08:06:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:06:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:06:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415563008001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:06:29] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 08:06:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-01 08:06:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333038279597228032,"km_value":333038279597228.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:06:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1532209065106368512,"description":"Unknown IO ID 45"} 
[2026-07-01 08:06:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415563008001,"power":27865,"unknown_183":206,"unknown_81":20480,"ignition":19,"odometer":null,"unknown_45":1532209065106368512}} 
[2026-07-01 08:06:29] local.INFO: DEBUG: GPS processor result {"connection_id":120700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:06:29] local.INFO: GPS data processed {"connection_id":120700,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:06:29] local.INFO: Acknowledgment sent {"connection_id":120700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:06:32] local.INFO: TCP Data received {"connection_id":120700,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b87de88012d151f8006d772e0001001472f..."} 
[2026-07-01 08:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b87de88012d151f8006d772e0001001472f..."} 
[2026-07-01 08:06:32] local.INFO: Processing buffer {"connection_id":120700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b87de88012d151f8006d772e0001001472f..."} 
[2026-07-01 08:06:32] local.INFO: Packet analysis {"connection_id":120700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b87"} 
[2026-07-01 08:06:32] local.INFO: Extracted packet for processing {"connection_id":120700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b87"} 
[2026-07-01 08:06:32] local.INFO: GPS Element Parsed {"raw_longitude":756359040,"raw_latitude":114782944,"longitude_deg":75.635904,"latitude_deg":11.4782944,"altitude":16,"angle":327,"satellites":47,"speed":8,"hex_longitude":"2d151f80","hex_latitude":"06d772e0","is_valid_coordinates":true} 
[2026-07-01 08:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415566848001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333038481460690944,"note":"Value kept but may cause issues"} 
[2026-07-01 08:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1525242559434516480,"note":"Value kept but may cause issues"} 
[2026-07-01 08:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782873317000,"timestamp_ms":1782873317000,"timestamp_seconds":1782873317,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b87de88"} 
[2026-07-01 08:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:06:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 08:06:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:06:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":120700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":120700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":120700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415566848001,"66":27800,"183":206,"81":20480,"24":8,"16":333038481460690944,"45":1525242559434516480},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-07-01 08:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415566848001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:06:32] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 08:06:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-01 08:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333038481460690944,"km_value":333038481460690.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1525242559434516480,"description":"Unknown IO ID 45"} 
[2026-07-01 08:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415566848001,"power":27800,"unknown_183":206,"unknown_81":20480,"ignition":8,"odometer":null,"unknown_45":1525242559434516480}} 
[2026-07-01 08:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":120700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:06:32] local.INFO: GPS data processed {"connection_id":120700,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:06:32] local.INFO: Acknowledgment sent {"connection_id":120700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:06:36] local.INFO: TCP Data received {"connection_id":120700,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b87f210012d151e4006d77510001001532f..."} 
[2026-07-01 08:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b87f210012d151e4006d77510001001532f..."} 
[2026-07-01 08:06:36] local.INFO: Processing buffer {"connection_id":120700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b87f210012d151e4006d77510001001532f..."} 
[2026-07-01 08:06:36] local.INFO: Packet analysis {"connection_id":120700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b87"} 
[2026-07-01 08:06:36] local.INFO: Extracted packet for processing {"connection_id":120700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b87"} 
[2026-07-01 08:06:36] local.INFO: GPS Element Parsed {"raw_longitude":756358720,"raw_latitude":114783504,"longitude_deg":75.635872,"latitude_deg":11.4783504,"altitude":16,"angle":339,"satellites":47,"speed":7,"hex_longitude":"2d151e40","hex_latitude":"06d77510","is_valid_coordinates":true} 
[2026-07-01 08:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415569152001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333038511525462016,"note":"Value kept but may cause issues"} 
[2026-07-01 08:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1522075965947305984,"note":"Value kept but may cause issues"} 
[2026-07-01 08:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782873322000,"timestamp_ms":1782873322000,"timestamp_seconds":1782873322,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b87f210"} 
[2026-07-01 08:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 08:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:06:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":120700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":120700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":120700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415569152001,"66":27800,"183":206,"81":20480,"24":7,"16":333038511525462016,"45":1522075965947305984},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-07-01 08:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415569152001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:06:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 08:06:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-01 08:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333038511525462016,"km_value":333038511525462.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1522075965947305984,"description":"Unknown IO ID 45"} 
[2026-07-01 08:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415569152001,"power":27800,"unknown_183":206,"unknown_81":20480,"ignition":7,"odometer":null,"unknown_45":1522075965947305984}} 
[2026-07-01 08:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":120700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:06:36] local.INFO: GPS data processed {"connection_id":120700,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:06:36] local.INFO: Acknowledgment sent {"connection_id":120700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:06:56] local.INFO: TCP Data received {"connection_id":118925,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b892a90012d7b16c005e319a8000a00a327..."} 
[2026-07-01 08:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b892a90012d7b16c005e319a8000a00a327..."} 
[2026-07-01 08:06:56] local.INFO: Processing buffer {"connection_id":118925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b892a90012d7b16c005e319a8000a00a327..."} 
[2026-07-01 08:06:56] local.INFO: Packet analysis {"connection_id":118925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b89"} 
[2026-07-01 08:06:56] local.INFO: Extracted packet for processing {"connection_id":118925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b89"} 
[2026-07-01 08:06:56] local.INFO: GPS Element Parsed {"raw_longitude":763041472,"raw_latitude":98769320,"longitude_deg":76.3041472,"latitude_deg":9.876932,"altitude":10,"angle":163,"satellites":39,"speed":0,"hex_longitude":"2d7b16c0","hex_latitude":"05e319a8","is_valid_coordinates":true} 
[2026-07-01 08:06:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:06:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415513856001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:06:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101184554705879040,"note":"Value kept but may cause issues"} 
[2026-07-01 08:06:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868713591484295168,"note":"Value kept but may cause issues"} 
[2026-07-01 08:06:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:06:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782873402000,"timestamp_ms":1782873402000,"timestamp_seconds":1782873402,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b892a90"} 
[2026-07-01 08:06:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:06:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 08:06:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-01 08:06:56] 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-01 08:06:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:06:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:06:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:06:56] local.INFO: Teltonika packet parsed successfully {"connection_id":118925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:06:56] local.INFO: Passing IMEI to GPS processor {"connection_id":118925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:06:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":118925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:06:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:06:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:06:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:06:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415513856001,"66":12982,"97":206,"85":15104,"24":0,"16":101184554705879040,"45":8868713591484295168},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-01 08:06:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:06:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:06:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415513856001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:06:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 08:06:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 08:06:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101184554705879040,"km_value":101184554705879.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:06:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868713591484295168,"description":"Unknown IO ID 45"} 
[2026-07-01 08:06:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415513856001,"power":12982,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8868713591484295168}} 
[2026-07-01 08:06:56] local.INFO: DEBUG: GPS processor result {"connection_id":118925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416517,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:06:56] local.INFO: GPS data processed {"connection_id":118925,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:06:56] local.INFO: Acknowledgment sent {"connection_id":118925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:07:18] local.INFO: TCP Data received {"connection_id":119582,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:07:18] local.INFO: Processing buffer {"connection_id":119582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:07:18] local.INFO: IMEI packet received {"connection_id":119582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 08:07:18] local.INFO: IMEI acknowledgment sent {"connection_id":119582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:07:18] local.INFO: TCP Data received {"connection_id":119583,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119583,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:07:18] local.INFO: Processing buffer {"connection_id":119583,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:07:18] local.INFO: IMEI packet received {"connection_id":119583,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 08:07:18] local.INFO: IMEI acknowledgment sent {"connection_id":119583,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:07:22] local.INFO: TCP Data received {"connection_id":119582,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:07:22] local.INFO: Processing buffer {"connection_id":119582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:07:22] local.INFO: IMEI packet received {"connection_id":119582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:07:22] local.INFO: IMEI acknowledgment sent {"connection_id":119582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:07:24] local.INFO: TCP Data received {"connection_id":119583,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119583,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:07:24] local.INFO: Processing buffer {"connection_id":119583,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:07:24] local.INFO: IMEI packet received {"connection_id":119583,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:07:24] local.INFO: IMEI acknowledgment sent {"connection_id":119583,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:07:25] local.INFO: TCP Data received {"connection_id":119583,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b892a90012d7b16c005e319a8000a00a327..."} 
[2026-07-01 08:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b892a90012d7b16c005e319a8000a00a327..."} 
[2026-07-01 08:07:25] local.INFO: Processing buffer {"connection_id":119583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b892a90012d7b16c005e319a8000a00a327..."} 
[2026-07-01 08:07:25] local.INFO: Packet analysis {"connection_id":119583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b89"} 
[2026-07-01 08:07:25] local.INFO: Extracted packet for processing {"connection_id":119583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b89"} 
[2026-07-01 08:07:25] local.INFO: GPS Element Parsed {"raw_longitude":763041472,"raw_latitude":98769320,"longitude_deg":76.3041472,"latitude_deg":9.876932,"altitude":10,"angle":163,"satellites":39,"speed":0,"hex_longitude":"2d7b16c0","hex_latitude":"05e319a8","is_valid_coordinates":true} 
[2026-07-01 08:07:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:07:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415513856001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:07:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101184554705879040,"note":"Value kept but may cause issues"} 
[2026-07-01 08:07:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868713591484295168,"note":"Value kept but may cause issues"} 
[2026-07-01 08:07: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-01 08:07:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782873402000,"timestamp_ms":1782873402000,"timestamp_seconds":1782873402,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b892a90"} 
[2026-07-01 08:07:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:07:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 08:07:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-01 08:07:25] 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-01 08:07:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:07:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:07:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:07:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:07:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119583,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:07:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119583,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:07: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-01 08:07:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:07:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:07:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415513856001,"66":12982,"97":206,"85":15104,"24":0,"16":101184554705879040,"45":8868713591484295168},"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-01 08:07:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:07:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:07:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415513856001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:07:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 08:07:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 08:07:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101184554705879040,"km_value":101184554705879.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:07:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868713591484295168,"description":"Unknown IO ID 45"} 
[2026-07-01 08:07:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415513856001,"power":12982,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8868713591484295168}} 
[2026-07-01 08:07:25] local.INFO: DEBUG: GPS processor result {"connection_id":119583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416518,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:07:25] local.INFO: GPS data processed {"connection_id":119583,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:07:25] local.INFO: Acknowledgment sent {"connection_id":119583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:07:26] local.INFO: TCP Data received {"connection_id":119582,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:07:26] local.INFO: Processing buffer {"connection_id":119582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:07:26] local.INFO: IMEI packet received {"connection_id":119582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":119582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:07:27] local.INFO: TCP Data received {"connection_id":119582,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b880980012d151b0006d77ca0001101432f..."} 
[2026-07-01 08:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b880980012d151b0006d77ca0001101432f..."} 
[2026-07-01 08:07:27] local.INFO: Processing buffer {"connection_id":119582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b880980012d151b0006d77ca0001101432f..."} 
[2026-07-01 08:07:27] local.INFO: Packet analysis {"connection_id":119582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b88"} 
[2026-07-01 08:07:27] local.INFO: Extracted packet for processing {"connection_id":119582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b88"} 
[2026-07-01 08:07:27] local.INFO: GPS Element Parsed {"raw_longitude":756357888,"raw_latitude":114785440,"longitude_deg":75.6357888,"latitude_deg":11.478544,"altitude":17,"angle":323,"satellites":47,"speed":20,"hex_longitude":"2d151b00","hex_latitude":"06d77ca0","is_valid_coordinates":true} 
[2026-07-01 08:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:07:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415570432001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:07:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333038614604677120,"note":"Value kept but may cause issues"} 
[2026-07-01 08:07:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1521724122226561024,"note":"Value kept but may cause issues"} 
[2026-07-01 08:07:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:07:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782873328000,"timestamp_ms":1782873328000,"timestamp_seconds":1782873328,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b880980"} 
[2026-07-01 08:07:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:07: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-01 08:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 08:07:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:07:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:07:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:07:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:07:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:07:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:07:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:07:27] 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-01 08:07:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:07:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:07:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415570432001,"66":27865,"183":206,"81":20480,"24":20,"16":333038614604677120,"45":1521724122226561024},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-07-01 08:07:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:07:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:07:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415570432001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:07:27] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 08:07:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-01 08:07:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333038614604677120,"km_value":333038614604677.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:07:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1521724122226561024,"description":"Unknown IO ID 45"} 
[2026-07-01 08:07:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415570432001,"power":27865,"unknown_183":206,"unknown_81":20480,"ignition":20,"odometer":null,"unknown_45":1521724122226561024}} 
[2026-07-01 08:07:27] local.INFO: DEBUG: GPS processor result {"connection_id":119582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:07:27] local.INFO: GPS data processed {"connection_id":119582,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:07:27] local.INFO: Acknowledgment sent {"connection_id":119582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:07:28] local.INFO: TCP Data received {"connection_id":119582,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b883860012d15020006d797500011013c2f..."} 
[2026-07-01 08:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b883860012d15020006d797500011013c2f..."} 
[2026-07-01 08:07:28] local.INFO: Processing buffer {"connection_id":119582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b883860012d15020006d797500011013c2f..."} 
[2026-07-01 08:07:28] local.INFO: Packet analysis {"connection_id":119582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b88"} 
[2026-07-01 08:07:28] local.INFO: Extracted packet for processing {"connection_id":119582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b88"} 
[2026-07-01 08:07:28] local.INFO: GPS Element Parsed {"raw_longitude":756351488,"raw_latitude":114792272,"longitude_deg":75.6351488,"latitude_deg":11.4792272,"altitude":17,"angle":316,"satellites":47,"speed":39,"hex_longitude":"2d150200","hex_latitude":"06d79750","is_valid_coordinates":true} 
[2026-07-01 08:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415571968001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333039065576243200,"note":"Value kept but may cause issues"} 
[2026-07-01 08:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1520809328552747008,"note":"Value kept but may cause issues"} 
[2026-07-01 08:07:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782873340000,"timestamp_ms":1782873340000,"timestamp_seconds":1782873340,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b883860"} 
[2026-07-01 08:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:07:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 08:07:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:07:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:07:28] 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-01 08:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415571968001,"66":27865,"183":206,"81":20480,"24":39,"16":333039065576243200,"45":1520809328552747008},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,81,24,16,45]} 
[2026-07-01 08:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415571968001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:07:28] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 08:07:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-01 08:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333039065576243200,"km_value":333039065576243.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1520809328552747008,"description":"Unknown IO ID 45"} 
[2026-07-01 08:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415571968001,"power":27865,"unknown_183":206,"unknown_81":20480,"ignition":39,"odometer":null,"unknown_45":1520809328552747008}} 
[2026-07-01 08:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":119582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:07:28] local.INFO: GPS data processed {"connection_id":119582,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:07:28] local.INFO: Acknowledgment sent {"connection_id":119582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:07:56] local.INFO: TCP Data received {"connection_id":119583,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b892a90012d7b16c005e319a8000a00a327..."} 
[2026-07-01 08:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b892a90012d7b16c005e319a8000a00a327..."} 
[2026-07-01 08:07:56] local.INFO: Processing buffer {"connection_id":119583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b892a90012d7b16c005e319a8000a00a327..."} 
[2026-07-01 08:07:56] local.INFO: Packet analysis {"connection_id":119583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b89"} 
[2026-07-01 08:07:56] local.INFO: Extracted packet for processing {"connection_id":119583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b89"} 
[2026-07-01 08:07:56] local.INFO: GPS Element Parsed {"raw_longitude":763041472,"raw_latitude":98769320,"longitude_deg":76.3041472,"latitude_deg":9.876932,"altitude":10,"angle":163,"satellites":39,"speed":0,"hex_longitude":"2d7b16c0","hex_latitude":"05e319a8","is_valid_coordinates":true} 
[2026-07-01 08:07:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:07:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415513856001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:07:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101184554705879040,"note":"Value kept but may cause issues"} 
[2026-07-01 08:07:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868713591484295168,"note":"Value kept but may cause issues"} 
[2026-07-01 08:07:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:07:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782873402000,"timestamp_ms":1782873402000,"timestamp_seconds":1782873402,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b892a90"} 
[2026-07-01 08:07:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:07:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 08:07:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-01 08:07:56] 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-01 08:07:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:07:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:07:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:07:56] local.INFO: Teltonika packet parsed successfully {"connection_id":119583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:07:56] local.INFO: Passing IMEI to GPS processor {"connection_id":119583,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:07:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":119583,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:07:56] 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-01 08:07:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:07:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:07:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415513856001,"66":12982,"97":206,"85":15104,"24":0,"16":101184554705879040,"45":8868713591484295168},"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-01 08:07:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:07:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:07:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415513856001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:07:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 08:07:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 08:07:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101184554705879040,"km_value":101184554705879.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:07:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868713591484295168,"description":"Unknown IO ID 45"} 
[2026-07-01 08:07:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415513856001,"power":12982,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8868713591484295168}} 
[2026-07-01 08:07:56] local.INFO: DEBUG: GPS processor result {"connection_id":119583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416521,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:07:56] local.INFO: GPS data processed {"connection_id":119583,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:07:56] local.INFO: Acknowledgment sent {"connection_id":119583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:07:59] local.INFO: TCP Data received {"connection_id":119582,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b897c98012d14150006d8d3b00014014d30..."} 
[2026-07-01 08:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b897c98012d14150006d8d3b00014014d30..."} 
[2026-07-01 08:07:59] local.INFO: Processing buffer {"connection_id":119582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b897c98012d14150006d8d3b00014014d30..."} 
[2026-07-01 08:07:59] local.INFO: Packet analysis {"connection_id":119582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b89"} 
[2026-07-01 08:07:59] local.INFO: Extracted packet for processing {"connection_id":119582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b89"} 
[2026-07-01 08:07:59] local.INFO: GPS Element Parsed {"raw_longitude":756290816,"raw_latitude":114873264,"longitude_deg":75.6290816,"latitude_deg":11.4873264,"altitude":20,"angle":333,"satellites":48,"speed":36,"hex_longitude":"2d141500","hex_latitude":"06d8d3b0","is_valid_coordinates":true} 
[2026-07-01 08:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415592448001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333043996198699008,"note":"Value kept but may cause issues"} 
[2026-07-01 08:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1451566484302309376,"note":"Value kept but may cause issues"} 
[2026-07-01 08:07:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782873423000,"timestamp_ms":1782873423000,"timestamp_seconds":1782873423,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b897c98"} 
[2026-07-01 08:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:07:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 08:07:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:07:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:07:59] 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-01 08:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415592448001,"66":27865,"89":206,"81":20480,"24":36,"16":333043996198699008,"45":1451566484302309376},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,81,24,16,45]} 
[2026-07-01 08:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415592448001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:07:59] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 08:07:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-01 08:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333043996198699008,"km_value":333043996198699.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1451566484302309376,"description":"Unknown IO ID 45"} 
[2026-07-01 08:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415592448001,"power":27865,"unknown_89":206,"unknown_81":20480,"ignition":36,"odometer":null,"unknown_45":1451566484302309376}} 
[2026-07-01 08:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":119582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:07:59] local.INFO: GPS data processed {"connection_id":119582,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:07:59] local.INFO: Acknowledgment sent {"connection_id":119582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:08:21] local.INFO: TCP Data received {"connection_id":119585,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:08:21] local.INFO: Processing buffer {"connection_id":119585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:08:21] local.INFO: IMEI packet received {"connection_id":119585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 08:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":119585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:08:23] local.INFO: TCP Data received {"connection_id":119585,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:08:23] local.INFO: Processing buffer {"connection_id":119585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:08:23] local.INFO: IMEI packet received {"connection_id":119585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":119585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:08:24] local.INFO: TCP Data received {"connection_id":120701,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120701,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:08:24] local.INFO: Processing buffer {"connection_id":120701,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:08:24] local.INFO: IMEI packet received {"connection_id":120701,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 08:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":120701,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:08:24] local.INFO: TCP Data received {"connection_id":119585,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b899fc0012d14028006d8f4b0001301472f..."} 
[2026-07-01 08:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b899fc0012d14028006d8f4b0001301472f..."} 
[2026-07-01 08:08:24] local.INFO: Processing buffer {"connection_id":119585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b899fc0012d14028006d8f4b0001301472f..."} 
[2026-07-01 08:08:24] local.INFO: Packet analysis {"connection_id":119585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b89"} 
[2026-07-01 08:08:24] local.INFO: Extracted packet for processing {"connection_id":119585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b89"} 
[2026-07-01 08:08:24] local.INFO: GPS Element Parsed {"raw_longitude":756286080,"raw_latitude":114881712,"longitude_deg":75.628608,"latitude_deg":11.4881712,"altitude":19,"angle":327,"satellites":47,"speed":46,"hex_longitude":"2d140280","hex_latitude":"06d8f4b0","is_valid_coordinates":true} 
[2026-07-01 08:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:08:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415596288001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333044464350134272,"note":"Value kept but may cause issues"} 
[2026-07-01 08:08:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1447062884677038080,"note":"Value kept but may cause issues"} 
[2026-07-01 08:08:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782873432000,"timestamp_ms":1782873432000,"timestamp_seconds":1782873432,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b899fc0"} 
[2026-07-01 08:08:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:08: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-01 08:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 08:08:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:08:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:08:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":119585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":119585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":119585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:08:24] 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-01 08:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:08:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415596288001,"66":27800,"89":206,"81":20480,"24":46,"16":333044464350134272,"45":1447062884677038080},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,81,24,16,45]} 
[2026-07-01 08:08:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:08:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:08:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415596288001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:08:24] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 08:08:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-01 08:08:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333044464350134272,"km_value":333044464350134.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:08:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1447062884677038080,"description":"Unknown IO ID 45"} 
[2026-07-01 08:08:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415596288001,"power":27800,"unknown_89":206,"unknown_81":20480,"ignition":46,"odometer":null,"unknown_45":1447062884677038080}} 
[2026-07-01 08:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":119585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:08:24] local.INFO: GPS data processed {"connection_id":119585,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:08:24] local.INFO: Acknowledgment sent {"connection_id":119585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:08:29] local.INFO: TCP Data received {"connection_id":120701,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120701,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:08:29] local.INFO: Processing buffer {"connection_id":120701,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:08:29] local.INFO: IMEI packet received {"connection_id":120701,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":120701,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:08:29] local.INFO: TCP Data received {"connection_id":120701,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b892a90012d7b16c005e319a8000a00a327..."} 
[2026-07-01 08:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b892a90012d7b16c005e319a8000a00a327..."} 
[2026-07-01 08:08:29] local.INFO: Processing buffer {"connection_id":120701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b892a90012d7b16c005e319a8000a00a327..."} 
[2026-07-01 08:08:29] local.INFO: Packet analysis {"connection_id":120701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b89"} 
[2026-07-01 08:08:29] local.INFO: Extracted packet for processing {"connection_id":120701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b89"} 
[2026-07-01 08:08:29] local.INFO: GPS Element Parsed {"raw_longitude":763041472,"raw_latitude":98769320,"longitude_deg":76.3041472,"latitude_deg":9.876932,"altitude":10,"angle":163,"satellites":39,"speed":0,"hex_longitude":"2d7b16c0","hex_latitude":"05e319a8","is_valid_coordinates":true} 
[2026-07-01 08:08:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:08:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415513856001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:08:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101184554705879040,"note":"Value kept but may cause issues"} 
[2026-07-01 08:08:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868713591484295168,"note":"Value kept but may cause issues"} 
[2026-07-01 08:08: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-01 08:08:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782873402000,"timestamp_ms":1782873402000,"timestamp_seconds":1782873402,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b892a90"} 
[2026-07-01 08:08:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:08:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 08:08:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-01 08:08: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-01 08:08:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:08:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:08:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:08:29] local.INFO: Teltonika packet parsed successfully {"connection_id":120701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:08:29] local.INFO: Passing IMEI to GPS processor {"connection_id":120701,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:08:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":120701,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:08:29] 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-01 08:08:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:08:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:08:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415513856001,"66":12982,"97":206,"85":15104,"24":0,"16":101184554705879040,"45":8868713591484295168},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-01 08:08:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:08:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:08:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415513856001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:08:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 08:08:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 08:08:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101184554705879040,"km_value":101184554705879.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:08:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868713591484295168,"description":"Unknown IO ID 45"} 
[2026-07-01 08:08:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415513856001,"power":12982,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8868713591484295168}} 
[2026-07-01 08:08:29] local.INFO: DEBUG: GPS processor result {"connection_id":120701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416524,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:08:29] local.INFO: GPS data processed {"connection_id":120701,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:08:29] local.INFO: Acknowledgment sent {"connection_id":120701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:08:34] local.INFO: TCP Data received {"connection_id":120701,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b892a90012d7b16c005e319a8000a00a327..."} 
[2026-07-01 08:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b892a90012d7b16c005e319a8000a00a327..."} 
[2026-07-01 08:08:34] local.INFO: Processing buffer {"connection_id":120701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b892a90012d7b16c005e319a8000a00a327..."} 
[2026-07-01 08:08:34] local.INFO: Packet analysis {"connection_id":120701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b89"} 
[2026-07-01 08:08:34] local.INFO: Extracted packet for processing {"connection_id":120701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b89"} 
[2026-07-01 08:08:34] local.INFO: GPS Element Parsed {"raw_longitude":763041472,"raw_latitude":98769320,"longitude_deg":76.3041472,"latitude_deg":9.876932,"altitude":10,"angle":163,"satellites":39,"speed":0,"hex_longitude":"2d7b16c0","hex_latitude":"05e319a8","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415513856001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101184554705879040,"note":"Value kept but may cause issues"} 
[2026-07-01 08:08:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868713591484295168,"note":"Value kept but may cause issues"} 
[2026-07-01 08:08: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-01 08:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782873402000,"timestamp_ms":1782873402000,"timestamp_seconds":1782873402,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b892a90"} 
[2026-07-01 08: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-01 08:08:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 08: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-01 08:08: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-01 08: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-01 08: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-01 08:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":120701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":120701,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":120701,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:08: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-01 08:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415513856001,"66":12982,"97":206,"85":15104,"24":0,"16":101184554705879040,"45":8868713591484295168},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-01 08:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415513856001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:08:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 08:08:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 08:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101184554705879040,"km_value":101184554705879.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:08:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868713591484295168,"description":"Unknown IO ID 45"} 
[2026-07-01 08:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415513856001,"power":12982,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8868713591484295168}} 
[2026-07-01 08:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":120701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416525,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:08:34] local.INFO: GPS data processed {"connection_id":120701,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:08:34] local.INFO: Acknowledgment sent {"connection_id":120701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:08:55] local.INFO: TCP Data received {"connection_id":119585,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b89bf00012d13ed0006d915b80013014830..."} 
[2026-07-01 08:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b89bf00012d13ed0006d915b80013014830..."} 
[2026-07-01 08:08:55] local.INFO: Processing buffer {"connection_id":119585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b89bf00012d13ed0006d915b80013014830..."} 
[2026-07-01 08:08:55] local.INFO: Packet analysis {"connection_id":119585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b89"} 
[2026-07-01 08:08:55] local.INFO: Extracted packet for processing {"connection_id":119585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b89"} 
[2026-07-01 08:08:55] local.INFO: GPS Element Parsed {"raw_longitude":756280576,"raw_latitude":114890168,"longitude_deg":75.6280576,"latitude_deg":11.4890168,"altitude":19,"angle":328,"satellites":48,"speed":53,"hex_longitude":"2d13ed00","hex_latitude":"06d915b8","is_valid_coordinates":true} 
[2026-07-01 08:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415598592001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333044949681438720,"note":"Value kept but may cause issues"} 
[2026-07-01 08:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1441855597610053632,"note":"Value kept but may cause issues"} 
[2026-07-01 08:08:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782873440000,"timestamp_ms":1782873440000,"timestamp_seconds":1782873440,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b89bf00"} 
[2026-07-01 08:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:08:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 08:08:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:08:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":119585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":119585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":119585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:08:55] 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-01 08:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415598592001,"66":27800,"89":206,"81":20480,"24":53,"16":333044949681438720,"45":1441855597610053632},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,81,24,16,45]} 
[2026-07-01 08:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415598592001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:08:55] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 08:08:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-01 08:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333044949681438720,"km_value":333044949681438.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1441855597610053632,"description":"Unknown IO ID 45"} 
[2026-07-01 08:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415598592001,"power":27800,"unknown_89":206,"unknown_81":20480,"ignition":53,"odometer":null,"unknown_45":1441855597610053632}} 
[2026-07-01 08:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":119585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:08:55] local.INFO: GPS data processed {"connection_id":119585,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:08:55] local.INFO: Acknowledgment sent {"connection_id":119585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:09:19] local.INFO: TCP Data received {"connection_id":118927,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118927,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:09:19] local.INFO: Processing buffer {"connection_id":118927,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:09:19] local.INFO: IMEI packet received {"connection_id":118927,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 08:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":118927,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:09:21] local.INFO: TCP Data received {"connection_id":118825,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:09:21] local.INFO: Processing buffer {"connection_id":118825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:09:21] local.INFO: IMEI packet received {"connection_id":118825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 08:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":118825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:09:23] local.INFO: TCP Data received {"connection_id":118825,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:09:23] local.INFO: Processing buffer {"connection_id":118825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:09:23] local.INFO: IMEI packet received {"connection_id":118825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:09:23] local.INFO: IMEI acknowledgment sent {"connection_id":118825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:09:24] local.INFO: TCP Data received {"connection_id":118927,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118927,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:09:24] local.INFO: Processing buffer {"connection_id":118927,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:09:24] local.INFO: IMEI packet received {"connection_id":118927,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":118927,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:09:24] local.INFO: TCP Data received {"connection_id":118927,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b892a90012d7b16c005e319a8000a00a327..."} 
[2026-07-01 08:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b892a90012d7b16c005e319a8000a00a327..."} 
[2026-07-01 08:09:24] local.INFO: Processing buffer {"connection_id":118927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b892a90012d7b16c005e319a8000a00a327..."} 
[2026-07-01 08:09:24] local.INFO: Packet analysis {"connection_id":118927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b89"} 
[2026-07-01 08:09:24] local.INFO: Extracted packet for processing {"connection_id":118927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b89"} 
[2026-07-01 08:09:24] local.INFO: GPS Element Parsed {"raw_longitude":763041472,"raw_latitude":98769320,"longitude_deg":76.3041472,"latitude_deg":9.876932,"altitude":10,"angle":163,"satellites":39,"speed":0,"hex_longitude":"2d7b16c0","hex_latitude":"05e319a8","is_valid_coordinates":true} 
[2026-07-01 08:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415513856001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:09:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101184554705879040,"note":"Value kept but may cause issues"} 
[2026-07-01 08:09:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868713591484295168,"note":"Value kept but may cause issues"} 
[2026-07-01 08:09: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-01 08:09:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782873402000,"timestamp_ms":1782873402000,"timestamp_seconds":1782873402,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b892a90"} 
[2026-07-01 08:09:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:09:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 08:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-01 08:09:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:09:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:09:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:09:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":118927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":118927,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":118927,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:09:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415513856001,"66":12982,"97":206,"85":15104,"24":0,"16":101184554705879040,"45":8868713591484295168},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-01 08:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415513856001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:09:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 08:09:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 08:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101184554705879040,"km_value":101184554705879.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:09:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868713591484295168,"description":"Unknown IO ID 45"} 
[2026-07-01 08:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415513856001,"power":12982,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8868713591484295168}} 
[2026-07-01 08:09:24] local.INFO: DEBUG: GPS processor result {"connection_id":118927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416527,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:09:24] local.INFO: GPS data processed {"connection_id":118927,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:09:24] local.INFO: Acknowledgment sent {"connection_id":118927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:09:26] local.INFO: TCP Data received {"connection_id":118825,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:09:26] local.INFO: Processing buffer {"connection_id":118825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:09:26] local.INFO: IMEI packet received {"connection_id":118825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":118825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:09:27] local.INFO: TCP Data received {"connection_id":118825,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b8a99c0012d13c88006da5350000d015e32..."} 
[2026-07-01 08:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b8a99c0012d13c88006da5350000d015e32..."} 
[2026-07-01 08:09:27] local.INFO: Processing buffer {"connection_id":118825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b8a99c0012d13c88006da5350000d015e32..."} 
[2026-07-01 08:09:27] local.INFO: Packet analysis {"connection_id":118825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b8a"} 
[2026-07-01 08:09:27] local.INFO: Extracted packet for processing {"connection_id":118825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b8a"} 
[2026-07-01 08:09:27] local.INFO: GPS Element Parsed {"raw_longitude":756271232,"raw_latitude":114971472,"longitude_deg":75.6271232,"latitude_deg":11.4971472,"altitude":13,"angle":350,"satellites":50,"speed":61,"hex_longitude":"2d13c880","hex_latitude":"06da5350","is_valid_coordinates":true} 
[2026-07-01 08:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415613440001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333048978360762368,"note":"Value kept but may cause issues"} 
[2026-07-01 08:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1426374473911562240,"note":"Value kept but may cause issues"} 
[2026-07-01 08:09:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782873496000,"timestamp_ms":1782873496000,"timestamp_seconds":1782873496,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b8a99c0"} 
[2026-07-01 08:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:09: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-01 08:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 08:09:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:09:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:09:27] 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-01 08:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415613440001,"66":27843,"152":206,"81":20480,"24":61,"16":333048978360762368,"45":1426374473911562240},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,81,24,16,45]} 
[2026-07-01 08:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415613440001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:09:27] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-07-01 08:09:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-01 08:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333048978360762368,"km_value":333048978360762.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1426374473911562240,"description":"Unknown IO ID 45"} 
[2026-07-01 08:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415613440001,"power":27843,"unknown_152":206,"unknown_81":20480,"ignition":61,"odometer":null,"unknown_45":1426374473911562240}} 
[2026-07-01 08:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":118825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:09:27] local.INFO: GPS data processed {"connection_id":118825,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:09:27] local.INFO: Acknowledgment sent {"connection_id":118825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:09:30] local.INFO: TCP Data received {"connection_id":118825,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b8ab130012d13bf0006da7590000d015532..."} 
[2026-07-01 08:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b8ab130012d13bf0006da7590000d015532..."} 
[2026-07-01 08:09:30] local.INFO: Processing buffer {"connection_id":118825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b8ab130012d13bf0006da7590000d015532..."} 
[2026-07-01 08:09:30] local.INFO: Packet analysis {"connection_id":118825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b8a"} 
[2026-07-01 08:09:30] local.INFO: Extracted packet for processing {"connection_id":118825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b8a"} 
[2026-07-01 08:09:30] local.INFO: GPS Element Parsed {"raw_longitude":756268800,"raw_latitude":114980240,"longitude_deg":75.62688,"latitude_deg":11.498024,"altitude":13,"angle":341,"satellites":50,"speed":59,"hex_longitude":"2d13bf00","hex_latitude":"06da7590","is_valid_coordinates":true} 
[2026-07-01 08:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415614976001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333049420742393856,"note":"Value kept but may cause issues"} 
[2026-07-01 08:09:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1425530048983814144,"note":"Value kept but may cause issues"} 
[2026-07-01 08:09:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782873502000,"timestamp_ms":1782873502000,"timestamp_seconds":1782873502,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b8ab130"} 
[2026-07-01 08:09:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:09:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 08:09:30] 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-01 08:09:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:09:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":118825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":118825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":118825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:09:30] 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-01 08:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415614976001,"66":27843,"152":206,"81":20480,"24":59,"16":333049420742393856,"45":1425530048983814144},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,81,24,16,45]} 
[2026-07-01 08:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415614976001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:09:30] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-07-01 08:09:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-01 08:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333049420742393856,"km_value":333049420742393.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:09:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1425530048983814144,"description":"Unknown IO ID 45"} 
[2026-07-01 08:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415614976001,"power":27843,"unknown_152":206,"unknown_81":20480,"ignition":59,"odometer":null,"unknown_45":1425530048983814144}} 
[2026-07-01 08:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":118825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:09:30] local.INFO: GPS data processed {"connection_id":118825,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:09:30] local.INFO: Acknowledgment sent {"connection_id":118825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:09:56] local.INFO: TCP Data received {"connection_id":118927,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b892a90012d7b16c005e319a8000a00a327..."} 
[2026-07-01 08:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b892a90012d7b16c005e319a8000a00a327..."} 
[2026-07-01 08:09:56] local.INFO: Processing buffer {"connection_id":118927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b892a90012d7b16c005e319a8000a00a327..."} 
[2026-07-01 08:09:56] local.INFO: Packet analysis {"connection_id":118927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b89"} 
[2026-07-01 08:09:56] local.INFO: Extracted packet for processing {"connection_id":118927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b89"} 
[2026-07-01 08:09:56] local.INFO: GPS Element Parsed {"raw_longitude":763041472,"raw_latitude":98769320,"longitude_deg":76.3041472,"latitude_deg":9.876932,"altitude":10,"angle":163,"satellites":39,"speed":0,"hex_longitude":"2d7b16c0","hex_latitude":"05e319a8","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:09:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415513856001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:09:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101184554705879040,"note":"Value kept but may cause issues"} 
[2026-07-01 08:09:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868713591484295168,"note":"Value kept but may cause issues"} 
[2026-07-01 08:09:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:09:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782873402000,"timestamp_ms":1782873402000,"timestamp_seconds":1782873402,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b892a90"} 
[2026-07-01 08: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-01 08:09:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 08: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-01 08:09:56] 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-01 08:09:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08: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-01 08:09:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:09:56] local.INFO: Teltonika packet parsed successfully {"connection_id":118927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:09:56] local.INFO: Passing IMEI to GPS processor {"connection_id":118927,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:09:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":118927,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:09:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:09:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:09:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:09:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415513856001,"66":12982,"97":206,"85":15104,"24":0,"16":101184554705879040,"45":8868713591484295168},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-01 08:09:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:09:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:09:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415513856001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:09:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 08:09:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 08:09:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101184554705879040,"km_value":101184554705879.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:09:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868713591484295168,"description":"Unknown IO ID 45"} 
[2026-07-01 08:09:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415513856001,"power":12982,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8868713591484295168}} 
[2026-07-01 08:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":118927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416530,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:09:56] local.INFO: GPS data processed {"connection_id":118927,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:09:56] local.INFO: Acknowledgment sent {"connection_id":118927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:10:01] local.INFO: TCP Data received {"connection_id":118825,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b8ac8a0012d13b34006da96a8000e015430..."} 
[2026-07-01 08:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b8ac8a0012d13b34006da96a8000e015430..."} 
[2026-07-01 08:10:01] local.INFO: Processing buffer {"connection_id":118825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b8ac8a0012d13b34006da96a8000e015430..."} 
[2026-07-01 08:10:01] local.INFO: Packet analysis {"connection_id":118825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b8a"} 
[2026-07-01 08:10:01] local.INFO: Extracted packet for processing {"connection_id":118825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b8a"} 
[2026-07-01 08:10:01] local.INFO: GPS Element Parsed {"raw_longitude":756265792,"raw_latitude":114988712,"longitude_deg":75.6265792,"latitude_deg":11.4988712,"altitude":14,"angle":340,"satellites":48,"speed":59,"hex_longitude":"2d13b340","hex_latitude":"06da96a8","is_valid_coordinates":true} 
[2026-07-01 08:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415616512001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333049854534090752,"note":"Value kept but may cause issues"} 
[2026-07-01 08:10:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1422856036707307520,"note":"Value kept but may cause issues"} 
[2026-07-01 08:10:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782873508000,"timestamp_ms":1782873508000,"timestamp_seconds":1782873508,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b8ac8a0"} 
[2026-07-01 08:10:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:10:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 08:10:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:10:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:10:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":118825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":118825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":118825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:10:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415616512001,"66":27626,"152":206,"81":20480,"24":59,"16":333049854534090752,"45":1422856036707307520},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,81,24,16,45]} 
[2026-07-01 08:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415616512001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:10:01] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-07-01 08:10:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-01 08:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333049854534090752,"km_value":333049854534090.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:10:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1422856036707307520,"description":"Unknown IO ID 45"} 
[2026-07-01 08:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415616512001,"power":27626,"unknown_152":206,"unknown_81":20480,"ignition":59,"odometer":null,"unknown_45":1422856036707307520}} 
[2026-07-01 08:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":118825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:10:01] local.INFO: GPS data processed {"connection_id":118825,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:10:01] local.INFO: Acknowledgment sent {"connection_id":118825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:10:17] local.INFO: TCP Data received {"connection_id":119586,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119586,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:10:17] local.INFO: Processing buffer {"connection_id":119586,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:10:17] local.INFO: IMEI packet received {"connection_id":119586,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 08:10:17] local.INFO: IMEI acknowledgment sent {"connection_id":119586,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:10:18] local.INFO: TCP Data received {"connection_id":119586,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119586,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:10:18] local.INFO: Processing buffer {"connection_id":119586,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:10:18] local.INFO: IMEI packet received {"connection_id":119586,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:10:18] local.INFO: IMEI acknowledgment sent {"connection_id":119586,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:10:20] local.INFO: TCP Data received {"connection_id":118929,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:10:20] local.INFO: Processing buffer {"connection_id":118929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:10:20] local.INFO: IMEI packet received {"connection_id":118929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 08:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":118929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:10:21] local.INFO: TCP Data received {"connection_id":118929,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:10:21] local.INFO: Processing buffer {"connection_id":118929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:10:21] local.INFO: IMEI packet received {"connection_id":118929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:10:21] local.INFO: IMEI acknowledgment sent {"connection_id":118929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:10:24] local.INFO: TCP Data received {"connection_id":119586,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119586,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:10:24] local.INFO: Processing buffer {"connection_id":119586,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:10:24] local.INFO: IMEI packet received {"connection_id":119586,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:10:24] local.INFO: IMEI acknowledgment sent {"connection_id":119586,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:10:25] local.INFO: TCP Data received {"connection_id":119586,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b8c33e8012d7b16c005e319a8000a00a328..."} 
[2026-07-01 08:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b8c33e8012d7b16c005e319a8000a00a328..."} 
[2026-07-01 08:10:25] local.INFO: Processing buffer {"connection_id":119586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b8c33e8012d7b16c005e319a8000a00a328..."} 
[2026-07-01 08:10:25] local.INFO: Packet analysis {"connection_id":119586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b8c"} 
[2026-07-01 08:10:25] local.INFO: Extracted packet for processing {"connection_id":119586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b8c"} 
[2026-07-01 08:10:25] local.INFO: GPS Element Parsed {"raw_longitude":763041472,"raw_latitude":98769320,"longitude_deg":76.3041472,"latitude_deg":9.876932,"altitude":10,"angle":163,"satellites":40,"speed":0,"hex_longitude":"2d7b16c0","hex_latitude":"05e319a8","is_valid_coordinates":true} 
[2026-07-01 08:10: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-01 08:10:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415590912001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:10:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101184554705879040,"note":"Value kept but may cause issues"} 
[2026-07-01 08:10:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869487647670249472,"note":"Value kept but may cause issues"} 
[2026-07-01 08:10: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-01 08:10:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782873601000,"timestamp_ms":1782873601000,"timestamp_seconds":1782873601,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b8c33e8"} 
[2026-07-01 08:10:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:10:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 08:10:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-01 08:10:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:10:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:10:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:10:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:10:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:10:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119586,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:10:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119586,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:10: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-01 08:10:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:10:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:10:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415590912001,"66":12765,"97":206,"85":15104,"24":0,"16":101184554705879040,"45":8869487647670249472},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-01 08:10:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:10:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:10:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415590912001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:10:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 08:10:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 08:10:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101184554705879040,"km_value":101184554705879.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:10:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869487647670249472,"description":"Unknown IO ID 45"} 
[2026-07-01 08:10:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415590912001,"power":12765,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8869487647670249472}} 
[2026-07-01 08:10:25] local.INFO: DEBUG: GPS processor result {"connection_id":119586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416532,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:10:25] local.INFO: GPS data processed {"connection_id":119586,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:10:25] local.INFO: Acknowledgment sent {"connection_id":119586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:10:26] local.INFO: TCP Data received {"connection_id":118929,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:10:26] local.INFO: Processing buffer {"connection_id":118929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:10:26] local.INFO: IMEI packet received {"connection_id":118929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":118929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:10:28] local.INFO: TCP Data received {"connection_id":118929,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b8ae010012d13a8c006dab820000f015c30..."} 
[2026-07-01 08:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b8ae010012d13a8c006dab820000f015c30..."} 
[2026-07-01 08:10:28] local.INFO: Processing buffer {"connection_id":118929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b8ae010012d13a8c006dab820000f015c30..."} 
[2026-07-01 08:10:28] local.INFO: Packet analysis {"connection_id":118929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b8a"} 
[2026-07-01 08:10:28] local.INFO: Extracted packet for processing {"connection_id":118929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b8a"} 
[2026-07-01 08:10:28] local.INFO: GPS Element Parsed {"raw_longitude":756263104,"raw_latitude":114997280,"longitude_deg":75.6263104,"latitude_deg":11.499728,"altitude":15,"angle":348,"satellites":48,"speed":59,"hex_longitude":"2d13a8c0","hex_latitude":"06dab820","is_valid_coordinates":true} 
[2026-07-01 08:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:10:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415618048001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:10:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333050288325787648,"note":"Value kept but may cause issues"} 
[2026-07-01 08:10:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1419548705733126144,"note":"Value kept but may cause issues"} 
[2026-07-01 08:10:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:10:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782873514000,"timestamp_ms":1782873514000,"timestamp_seconds":1782873514,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b8ae010"} 
[2026-07-01 08:10:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:10: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-01 08:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-01 08:10:28] 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-01 08:10:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:10:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:10:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:10:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:10:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:10:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:10:28] 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-01 08:10:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:10:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:10:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415618048001,"66":27887,"152":206,"81":20480,"24":59,"16":333050288325787648,"45":1419548705733126144},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,81,24,16,45]} 
[2026-07-01 08:10:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:10:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:10:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415618048001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:10:28] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-07-01 08:10:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-01 08:10:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333050288325787648,"km_value":333050288325787.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:10:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1419548705733126144,"description":"Unknown IO ID 45"} 
[2026-07-01 08:10:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415618048001,"power":27887,"unknown_152":206,"unknown_81":20480,"ignition":59,"odometer":null,"unknown_45":1419548705733126144}} 
[2026-07-01 08:10:28] local.INFO: DEBUG: GPS processor result {"connection_id":118929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:10:28] local.INFO: GPS data processed {"connection_id":118929,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:10:28] local.INFO: Acknowledgment sent {"connection_id":118929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:10:31] local.INFO: TCP Data received {"connection_id":118928,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 08:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118928,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 08:10:31] local.INFO: Processing buffer {"connection_id":118928,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 08:10:31] local.INFO: IMEI packet received {"connection_id":118928,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 08:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":118928,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:10:56] local.INFO: TCP Data received {"connection_id":119586,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b8c33e8012d7b16c005e319a8000a00a328..."} 
[2026-07-01 08:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b8c33e8012d7b16c005e319a8000a00a328..."} 
[2026-07-01 08:10:56] local.INFO: Processing buffer {"connection_id":119586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b8c33e8012d7b16c005e319a8000a00a328..."} 
[2026-07-01 08:10:56] local.INFO: Packet analysis {"connection_id":119586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b8c"} 
[2026-07-01 08:10:56] local.INFO: Extracted packet for processing {"connection_id":119586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b8c"} 
[2026-07-01 08:10:56] local.INFO: GPS Element Parsed {"raw_longitude":763041472,"raw_latitude":98769320,"longitude_deg":76.3041472,"latitude_deg":9.876932,"altitude":10,"angle":163,"satellites":40,"speed":0,"hex_longitude":"2d7b16c0","hex_latitude":"05e319a8","is_valid_coordinates":true} 
[2026-07-01 08:10:56] 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-01 08:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415641856001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101184554705879040,"note":"Value kept but may cause issues"} 
[2026-07-01 08:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869487647670249472,"note":"Value kept but may cause issues"} 
[2026-07-01 08:10:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782873601000,"timestamp_ms":1782873601000,"timestamp_seconds":1782873601,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b8c33e8"} 
[2026-07-01 08:10:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:10:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-01 08:10:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:10:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:10:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":119586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":119586,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":119586,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:10:56] 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-01 08:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415641856001,"66":12765,"97":206,"85":15104,"24":0,"16":101184554705879040,"45":8869487647670249472},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-01 08:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415641856001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:10:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 08:10:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 08:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101184554705879040,"km_value":101184554705879.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869487647670249472,"description":"Unknown IO ID 45"} 
[2026-07-01 08:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415641856001,"power":12765,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8869487647670249472}} 
[2026-07-01 08:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":119586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416534,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:10:56] local.INFO: GPS data processed {"connection_id":119586,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:10:56] local.INFO: Acknowledgment sent {"connection_id":119586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:10:59] local.INFO: TCP Data received {"connection_id":118929,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b8c37d0012d1330c006dc4b08000a014e2e..."} 
[2026-07-01 08:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b8c37d0012d1330c006dc4b08000a014e2e..."} 
[2026-07-01 08:10:59] local.INFO: Processing buffer {"connection_id":118929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b8c37d0012d1330c006dc4b08000a014e2e..."} 
[2026-07-01 08:10:59] local.INFO: Packet analysis {"connection_id":118929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b8c"} 
[2026-07-01 08:10:59] local.INFO: Extracted packet for processing {"connection_id":118929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b8c"} 
[2026-07-01 08:10:59] local.INFO: GPS Element Parsed {"raw_longitude":756232384,"raw_latitude":115100424,"longitude_deg":75.6232384,"latitude_deg":11.5100424,"altitude":10,"angle":334,"satellites":46,"speed":56,"hex_longitude":"2d1330c0","hex_latitude":"06dc4b08","is_valid_coordinates":true} 
[2026-07-01 08:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415640320001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333055553955692544,"note":"Value kept but may cause issues"} 
[2026-07-01 08:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1387319820926005248,"note":"Value kept but may cause issues"} 
[2026-07-01 08:10:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782873602000,"timestamp_ms":1782873602000,"timestamp_seconds":1782873602,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b8c37d0"} 
[2026-07-01 08:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:10: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-01 08:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-01 08:10:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:10:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:10:59] 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-01 08:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415640320001,"66":27908,"65":206,"81":20480,"24":56,"16":333055553955692544,"45":1387319820926005248},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,81,24,16,45]} 
[2026-07-01 08:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415640320001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:10:59] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-07-01 08:10:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-01 08:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333055553955692544,"km_value":333055553955692.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1387319820926005248,"description":"Unknown IO ID 45"} 
[2026-07-01 08:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415640320001,"power":27908,"unknown_65":206,"unknown_81":20480,"ignition":56,"odometer":null,"unknown_45":1387319820926005248}} 
[2026-07-01 08:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":118929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:10:59] local.INFO: GPS data processed {"connection_id":118929,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:10:59] local.INFO: Acknowledgment sent {"connection_id":118929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:11:16] local.INFO: TCP Data received {"connection_id":119587,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 08:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119587,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 08:11:16] local.INFO: Processing buffer {"connection_id":119587,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 08:11:16] local.INFO: IMEI packet received {"connection_id":119587,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 08:11:16] local.INFO: IMEI acknowledgment sent {"connection_id":119587,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:11:18] local.INFO: TCP Data received {"connection_id":119588,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119588,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:11:18] local.INFO: Processing buffer {"connection_id":119588,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:11:18] local.INFO: IMEI packet received {"connection_id":119588,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 08:11:18] local.INFO: IMEI acknowledgment sent {"connection_id":119588,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:11:21] local.INFO: TCP Data received {"connection_id":119589,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:11:21] local.INFO: Processing buffer {"connection_id":119589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:11:21] local.INFO: IMEI packet received {"connection_id":119589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 08:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":119589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:11:22] local.INFO: TCP Data received {"connection_id":119589,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:11:22] local.INFO: Processing buffer {"connection_id":119589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:11:22] local.INFO: IMEI packet received {"connection_id":119589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:11:22] local.INFO: IMEI acknowledgment sent {"connection_id":119589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:11:24] local.INFO: TCP Data received {"connection_id":119588,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119588,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:11:24] local.INFO: Processing buffer {"connection_id":119588,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:11:24] local.INFO: IMEI packet received {"connection_id":119588,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":119588,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:11:24] local.INFO: TCP Data received {"connection_id":119588,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b8c6e80012d7b140005e317e0000800bd28..."} 
[2026-07-01 08:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b8c6e80012d7b140005e317e0000800bd28..."} 
[2026-07-01 08:11:24] local.INFO: Processing buffer {"connection_id":119588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b8c6e80012d7b140005e317e0000800bd28..."} 
[2026-07-01 08:11:24] local.INFO: Packet analysis {"connection_id":119588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b8c"} 
[2026-07-01 08:11:24] local.INFO: Extracted packet for processing {"connection_id":119588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b8c"} 
[2026-07-01 08:11:24] local.INFO: GPS Element Parsed {"raw_longitude":763040768,"raw_latitude":98768864,"longitude_deg":76.3040768,"latitude_deg":9.8768864,"altitude":8,"angle":189,"satellites":40,"speed":3,"hex_longitude":"2d7b1400","hex_latitude":"05e317e0","is_valid_coordinates":true} 
[2026-07-01 08:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415641856001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101184576180715520,"note":"Value kept but may cause issues"} 
[2026-07-01 08:11:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869487647670249472,"note":"Value kept but may cause issues"} 
[2026-07-01 08:11: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-01 08:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782873616000,"timestamp_ms":1782873616000,"timestamp_seconds":1782873616,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b8c6e80"} 
[2026-07-01 08:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:11:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-01 08:11:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:11:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":119588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":119588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":119588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:11:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415641856001,"66":11765,"97":206,"85":15104,"24":3,"16":101184576180715520,"45":8869487647670249472},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-01 08:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415641856001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:11:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 08:11:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 08:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101184576180715520,"km_value":101184576180715.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:11:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869487647670249472,"description":"Unknown IO ID 45"} 
[2026-07-01 08:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415641856001,"power":11765,"unknown_97":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8869487647670249472}} 
[2026-07-01 08:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":119588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416536,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:11:24] local.INFO: GPS data processed {"connection_id":119588,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:11:24] local.INFO: Acknowledgment sent {"connection_id":119588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:11:26] local.INFO: TCP Data received {"connection_id":119589,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:11:26] local.INFO: Processing buffer {"connection_id":119589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:11:26] local.INFO: IMEI packet received {"connection_id":119589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":119589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:11:27] local.INFO: TCP Data received {"connection_id":119589,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b8c5328012d131e4006dc6e70000b01492f..."} 
[2026-07-01 08:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b8c5328012d131e4006dc6e70000b01492f..."} 
[2026-07-01 08:11:27] local.INFO: Processing buffer {"connection_id":119589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b8c5328012d131e4006dc6e70000b01492f..."} 
[2026-07-01 08:11:27] local.INFO: Packet analysis {"connection_id":119589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b8c"} 
[2026-07-01 08:11:27] local.INFO: Extracted packet for processing {"connection_id":119589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b8c"} 
[2026-07-01 08:11:27] local.INFO: GPS Element Parsed {"raw_longitude":756227648,"raw_latitude":115109488,"longitude_deg":75.6227648,"latitude_deg":11.5109488,"altitude":11,"angle":329,"satellites":47,"speed":59,"hex_longitude":"2d131e40","hex_latitude":"06dc6e70","is_valid_coordinates":true} 
[2026-07-01 08:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415642112001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333056047876931584,"note":"Value kept but may cause issues"} 
[2026-07-01 08:11:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1382816221300983808,"note":"Value kept but may cause issues"} 
[2026-07-01 08:11:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782873609000,"timestamp_ms":1782873609000,"timestamp_seconds":1782873609,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b8c5328"} 
[2026-07-01 08:11:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:11: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-01 08:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 08:11:27] 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-01 08:11:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:11:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:11:27] 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-01 08:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415642112001,"66":27843,"67":206,"81":20480,"24":59,"16":333056047876931584,"45":1382816221300983808},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,81,24,16,45]} 
[2026-07-01 08:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415642112001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:11:27] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-07-01 08:11:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-01 08:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333056047876931584,"km_value":333056047876931.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:11:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1382816221300983808,"description":"Unknown IO ID 45"} 
[2026-07-01 08:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415642112001,"power":27843,"unknown_67":206,"unknown_81":20480,"ignition":59,"odometer":null,"unknown_45":1382816221300983808}} 
[2026-07-01 08:11:27] local.INFO: DEBUG: GPS processor result {"connection_id":119589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:11:27] local.INFO: GPS data processed {"connection_id":119589,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:11:27] local.INFO: Acknowledgment sent {"connection_id":119589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:11:56] local.INFO: TCP Data received {"connection_id":119588,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b8c8dc0012d7b140005e30f60000800ae29..."} 
[2026-07-01 08:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b8c8dc0012d7b140005e30f60000800ae29..."} 
[2026-07-01 08:11:56] local.INFO: Processing buffer {"connection_id":119588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b8c8dc0012d7b140005e30f60000800ae29..."} 
[2026-07-01 08:11:56] local.INFO: Packet analysis {"connection_id":119588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b8c"} 
[2026-07-01 08:11:56] local.INFO: Extracted packet for processing {"connection_id":119588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b8c"} 
[2026-07-01 08:11:56] local.INFO: GPS Element Parsed {"raw_longitude":763040768,"raw_latitude":98766688,"longitude_deg":76.3040768,"latitude_deg":9.8766688,"altitude":8,"angle":174,"satellites":41,"speed":17,"hex_longitude":"2d7b1400","hex_latitude":"05e30f60","is_valid_coordinates":true} 
[2026-07-01 08:11:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:11:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415645696001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101184683554897920,"note":"Value kept but may cause issues"} 
[2026-07-01 08:11:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868713591484178432,"note":"Value kept but may cause issues"} 
[2026-07-01 08:11:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:11:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782873624000,"timestamp_ms":1782873624000,"timestamp_seconds":1782873624,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b8c8dc0"} 
[2026-07-01 08:11:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:11:56] 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-01 08:11:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":245,"data_length":795,"current_offset":136} 
[2026-07-01 08:11:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2628,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:11:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:11:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":119588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":119588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":119588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:11:56] 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-01 08:11:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:11:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:11:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415645696001,"66":13015,"97":206,"85":15104,"24":17,"16":101184683554897920,"45":8868713591484178432},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-01 08:11:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:11:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:11:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415645696001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:11:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 08:11:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 08:11:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101184683554897920,"km_value":101184683554897.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:11:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868713591484178432,"description":"Unknown IO ID 45"} 
[2026-07-01 08:11:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415645696001,"power":13015,"unknown_97":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8868713591484178432}} 
[2026-07-01 08:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":119588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416538,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:11:56] local.INFO: GPS data processed {"connection_id":119588,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:11:56] local.INFO: Acknowledgment sent {"connection_id":119588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:11:58] local.INFO: TCP Data received {"connection_id":119589,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b8c6a98012d130bc006dc8cc8000c014730..."} 
[2026-07-01 08:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b8c6a98012d130bc006dc8cc8000c014730..."} 
[2026-07-01 08:11:58] local.INFO: Processing buffer {"connection_id":119589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b8c6a98012d130bc006dc8cc8000c014730..."} 
[2026-07-01 08:11:58] local.INFO: Packet analysis {"connection_id":119589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b8c"} 
[2026-07-01 08:11:58] local.INFO: Extracted packet for processing {"connection_id":119589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b8c"} 
[2026-07-01 08:11:58] local.INFO: GPS Element Parsed {"raw_longitude":756222912,"raw_latitude":115117256,"longitude_deg":75.6222912,"latitude_deg":11.5117256,"altitude":12,"angle":327,"satellites":48,"speed":60,"hex_longitude":"2d130bc0","hex_latitude":"06dc8cc8","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:11:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415643904001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:11:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333056485963595776,"note":"Value kept but may cause issues"} 
[2026-07-01 08:11:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1377608934234157056,"note":"Value kept but may cause issues"} 
[2026-07-01 08:11:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:11:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782873615000,"timestamp_ms":1782873615000,"timestamp_seconds":1782873615,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b8c6a98"} 
[2026-07-01 08: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-01 08:11: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-01 08:11:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 08:11:58] 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-01 08: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-01 08: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-01 08:11:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:11:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:11:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:11:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:11:58] 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-01 08:11:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:11:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:11:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415643904001,"66":27865,"67":206,"81":20480,"24":60,"16":333056485963595776,"45":1377608934234157056},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,81,24,16,45]} 
[2026-07-01 08:11:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:11:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:11:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415643904001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:11:58] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-07-01 08:11:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-01 08:11:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333056485963595776,"km_value":333056485963595.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:11:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1377608934234157056,"description":"Unknown IO ID 45"} 
[2026-07-01 08:11:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415643904001,"power":27865,"unknown_67":206,"unknown_81":20480,"ignition":60,"odometer":null,"unknown_45":1377608934234157056}} 
[2026-07-01 08:11:58] local.INFO: DEBUG: GPS processor result {"connection_id":119589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:11:58] local.INFO: GPS data processed {"connection_id":119589,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:11:58] local.INFO: Acknowledgment sent {"connection_id":119589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:12:18] local.INFO: TCP Data received {"connection_id":118930,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118930,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:12:18] local.INFO: Processing buffer {"connection_id":118930,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:12:18] local.INFO: IMEI packet received {"connection_id":118930,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 08:12:18] local.INFO: IMEI acknowledgment sent {"connection_id":118930,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:12:21] local.INFO: TCP Data received {"connection_id":118931,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:12:21] local.INFO: Processing buffer {"connection_id":118931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:12:21] local.INFO: IMEI packet received {"connection_id":118931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 08:12:21] local.INFO: IMEI acknowledgment sent {"connection_id":118931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:12:23] local.INFO: TCP Data received {"connection_id":118930,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118930,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:12:23] local.INFO: Processing buffer {"connection_id":118930,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:12:23] local.INFO: IMEI packet received {"connection_id":118930,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":118930,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:12:24] local.INFO: TCP Data received {"connection_id":118930,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b8cc470012d7b1a0005e2eb08000700ac27..."} 
[2026-07-01 08:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b8cc470012d7b1a0005e2eb08000700ac27..."} 
[2026-07-01 08:12:24] local.INFO: Processing buffer {"connection_id":118930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b8cc470012d7b1a0005e2eb08000700ac27..."} 
[2026-07-01 08:12:24] local.INFO: Packet analysis {"connection_id":118930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b8c"} 
[2026-07-01 08:12:24] local.INFO: Extracted packet for processing {"connection_id":118930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b8c"} 
[2026-07-01 08:12:24] local.INFO: GPS Element Parsed {"raw_longitude":763042304,"raw_latitude":98757384,"longitude_deg":76.3042304,"latitude_deg":9.8757384,"altitude":7,"angle":172,"satellites":39,"speed":23,"hex_longitude":"2d7b1a00","hex_latitude":"05e2eb08","is_valid_coordinates":true} 
[2026-07-01 08:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:12:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415647744001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:12:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101185138821431296,"note":"Value kept but may cause issues"} 
[2026-07-01 08:12:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868713591483621376,"note":"Value kept but may cause issues"} 
[2026-07-01 08:12: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-01 08:12:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782873638000,"timestamp_ms":1782873638000,"timestamp_seconds":1782873638,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b8cc470"} 
[2026-07-01 08:12:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:12: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-01 08:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-01 08:12:24] 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-01 08:12:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:12:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:12:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:12:24] local.INFO: Teltonika packet parsed successfully {"connection_id":118930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:12:24] local.INFO: Passing IMEI to GPS processor {"connection_id":118930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:12:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":118930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:12:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:12:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:12:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:12:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415647744001,"66":12917,"97":206,"85":15104,"24":23,"16":101185138821431296,"45":8868713591483621376},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-01 08:12:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:12:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:12:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415647744001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:12:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 08:12:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 08:12:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101185138821431296,"km_value":101185138821431.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:12:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868713591483621376,"description":"Unknown IO ID 45"} 
[2026-07-01 08:12:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415647744001,"power":12917,"unknown_97":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8868713591483621376}} 
[2026-07-01 08:12:24] local.INFO: DEBUG: GPS processor result {"connection_id":118930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416540,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:12:24] local.INFO: GPS data processed {"connection_id":118930,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:12:24] local.INFO: Acknowledgment sent {"connection_id":118930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:12:24] local.INFO: TCP Data received {"connection_id":118931,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:12:24] local.INFO: Processing buffer {"connection_id":118931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:12:24] local.INFO: IMEI packet received {"connection_id":118931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":118931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:12:26] local.INFO: TCP Data received {"connection_id":118931,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:12:26] local.INFO: Processing buffer {"connection_id":118931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:12:26] local.INFO: IMEI packet received {"connection_id":118931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":118931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:12:30] local.INFO: TCP Data received {"connection_id":118931,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b8d7c08012d1270c006ddc2b0000c015d31..."} 
[2026-07-01 08:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b8d7c08012d1270c006ddc2b0000c015d31..."} 
[2026-07-01 08:12:30] local.INFO: Processing buffer {"connection_id":118931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b8d7c08012d1270c006ddc2b0000c015d31..."} 
[2026-07-01 08:12:30] local.INFO: Packet analysis {"connection_id":118931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b8d"} 
[2026-07-01 08:12:30] local.INFO: Extracted packet for processing {"connection_id":118931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b8d"} 
[2026-07-01 08:12:30] local.INFO: GPS Element Parsed {"raw_longitude":756183232,"raw_latitude":115196592,"longitude_deg":75.6183232,"latitude_deg":11.5196592,"altitude":12,"angle":349,"satellites":49,"speed":59,"hex_longitude":"2d1270c0","hex_latitude":"06ddc2b0","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415662336001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333060798110760960,"note":"Value kept but may cause issues"} 
[2026-07-01 08:12:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1330743350632620032,"note":"Value kept but may cause issues"} 
[2026-07-01 08:12:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782873685000,"timestamp_ms":1782873685000,"timestamp_seconds":1782873685,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b8d7c08"} 
[2026-07-01 08: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-01 08:12:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 08:12:30] 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-01 08: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-01 08: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-01 08:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":118931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":118931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":118931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:12:30] 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-01 08:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415662336001,"66":27832,"232":206,"81":20480,"24":59,"16":333060798110760960,"45":1330743350632620032},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,81,24,16,45]} 
[2026-07-01 08:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415662336001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:12:30] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-07-01 08:12:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-01 08:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333060798110760960,"km_value":333060798110760.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:12:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1330743350632620032,"description":"Unknown IO ID 45"} 
[2026-07-01 08:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415662336001,"power":27832,"unknown_232":206,"unknown_81":20480,"ignition":59,"odometer":null,"unknown_45":1330743350632620032}} 
[2026-07-01 08:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":118931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:12:30] local.INFO: GPS data processed {"connection_id":118931,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:12:30] local.INFO: Acknowledgment sent {"connection_id":118931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:12:32] local.INFO: TCP Data received {"connection_id":118931,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b8d9760012d126d8006dde9b8000d01632f..."} 
[2026-07-01 08:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b8d9760012d126d8006dde9b8000d01632f..."} 
[2026-07-01 08:12:32] local.INFO: Processing buffer {"connection_id":118931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b8d9760012d126d8006dde9b8000d01632f..."} 
[2026-07-01 08:12:32] local.INFO: Packet analysis {"connection_id":118931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b8d"} 
[2026-07-01 08:12:32] local.INFO: Extracted packet for processing {"connection_id":118931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b8d"} 
[2026-07-01 08:12:32] local.INFO: GPS Element Parsed {"raw_longitude":756182400,"raw_latitude":115206584,"longitude_deg":75.61824,"latitude_deg":11.5206584,"altitude":13,"angle":355,"satellites":47,"speed":55,"hex_longitude":"2d126d80","hex_latitude":"06dde9b8","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415663360001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333061283442065408,"note":"Value kept but may cause issues"} 
[2026-07-01 08:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1328773025797156864,"note":"Value kept but may cause issues"} 
[2026-07-01 08:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782873692000,"timestamp_ms":1782873692000,"timestamp_seconds":1782873692,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b8d9760"} 
[2026-07-01 08: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-01 08:12:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-01 08:12:32] 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-01 08: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-01 08: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-01 08:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":118931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":118931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":118931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415663360001,"66":27767,"232":206,"81":20480,"24":55,"16":333061283442065408,"45":1328773025797156864},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,81,24,16,45]} 
[2026-07-01 08:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415663360001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:12:32] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-07-01 08:12:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-01 08:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333061283442065408,"km_value":333061283442065.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1328773025797156864,"description":"Unknown IO ID 45"} 
[2026-07-01 08:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415663360001,"power":27767,"unknown_232":206,"unknown_81":20480,"ignition":55,"odometer":null,"unknown_45":1328773025797156864}} 
[2026-07-01 08:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":118931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:12:32] local.INFO: GPS data processed {"connection_id":118931,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:12:32] local.INFO: Acknowledgment sent {"connection_id":118931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:12:57] local.INFO: TCP Data received {"connection_id":118930,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b8eb488012d7b0ec005e2fb70000000061d..."} 
[2026-07-01 08:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b8eb488012d7b0ec005e2fb70000000061d..."} 
[2026-07-01 08:12:57] local.INFO: Processing buffer {"connection_id":118930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b8eb488012d7b0ec005e2fb70000000061d..."} 
[2026-07-01 08:12:57] local.INFO: Packet analysis {"connection_id":118930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b8e"} 
[2026-07-01 08:12:57] local.INFO: Extracted packet for processing {"connection_id":118930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b8e"} 
[2026-07-01 08:12:57] local.INFO: GPS Element Parsed {"raw_longitude":763039424,"raw_latitude":98761584,"longitude_deg":76.3039424,"latitude_deg":9.8761584,"altitude":0,"angle":6,"satellites":29,"speed":10,"hex_longitude":"2d7b0ec0","hex_latitude":"05e2fb70","is_valid_coordinates":true} 
[2026-07-01 08:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:12:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415680768001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101187672852135936,"note":"Value kept but may cause issues"} 
[2026-07-01 08:12:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868572853991823360,"note":"Value kept but may cause issues"} 
[2026-07-01 08:12:57] 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-01 08:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782873765000,"timestamp_ms":1782873765000,"timestamp_seconds":1782873765,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b8eb488"} 
[2026-07-01 08:12:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:12:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-01 08:12:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:12:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:12:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":118930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":118930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":118930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:12:57] 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-01 08:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415680768001,"66":13222,"96":206,"85":15104,"24":10,"16":101187672852135936,"45":8868572853991823360},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-01 08:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415680768001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:12:57] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-01 08:12:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 08:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101187672852135936,"km_value":101187672852135.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:12:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868572853991823360,"description":"Unknown IO ID 45"} 
[2026-07-01 08:12:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415680768001,"power":13222,"unknown_96":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8868572853991823360}} 
[2026-07-01 08:12:57] local.INFO: DEBUG: GPS processor result {"connection_id":118930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416543,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:12:57] local.INFO: GPS data processed {"connection_id":118930,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:12:57] local.INFO: Acknowledgment sent {"connection_id":118930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:13:14] local.INFO: TCP Data received {"connection_id":118931,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b8db2b8012d126a4006de1070000c01612f..."} 
[2026-07-01 08:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b8db2b8012d126a4006de1070000c01612f..."} 
[2026-07-01 08:13:14] local.INFO: Processing buffer {"connection_id":118931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b8db2b8012d126a4006de1070000c01612f..."} 
[2026-07-01 08:13:14] local.INFO: Packet analysis {"connection_id":118931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b8d"} 
[2026-07-01 08:13:14] local.INFO: Extracted packet for processing {"connection_id":118931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b8d"} 
[2026-07-01 08:13:14] local.INFO: GPS Element Parsed {"raw_longitude":756181568,"raw_latitude":115216496,"longitude_deg":75.6181568,"latitude_deg":11.5216496,"altitude":12,"angle":353,"satellites":47,"speed":57,"hex_longitude":"2d126a40","hex_latitude":"06de1070","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:13:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415665152001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:13:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333061764478402560,"note":"Value kept but may cause issues"} 
[2026-07-01 08:13:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1327858232125405184,"note":"Value kept but may cause issues"} 
[2026-07-01 08:13:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:13:14] local.INFO: AVL Record Parsed {"raw_timestamp":1782873699000,"timestamp_ms":1782873699000,"timestamp_seconds":1782873699,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b8db2b8"} 
[2026-07-01 08: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-01 08:13:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 08:13:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:13:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08: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-01 08:13:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:13:14] local.INFO: Teltonika packet parsed successfully {"connection_id":118931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:13:14] local.INFO: Passing IMEI to GPS processor {"connection_id":118931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:13:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":118931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:13:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:13:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:13:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:13:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415665152001,"66":27865,"232":206,"81":20480,"24":57,"16":333061764478402560,"45":1327858232125405184},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,81,24,16,45]} 
[2026-07-01 08:13:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:13:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:13:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415665152001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:13:14] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-07-01 08:13:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-01 08:13:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333061764478402560,"km_value":333061764478402.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:13:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1327858232125405184,"description":"Unknown IO ID 45"} 
[2026-07-01 08:13:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415665152001,"power":27865,"unknown_232":206,"unknown_81":20480,"ignition":57,"odometer":null,"unknown_45":1327858232125405184}} 
[2026-07-01 08:13:14] local.INFO: DEBUG: GPS processor result {"connection_id":118931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:13:14] local.INFO: GPS data processed {"connection_id":118931,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:13:14] local.INFO: Acknowledgment sent {"connection_id":118931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:13:21] local.INFO: TCP Data received {"connection_id":118827,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:13:21] local.INFO: Processing buffer {"connection_id":118827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:13:21] local.INFO: IMEI packet received {"connection_id":118827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 08:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":118827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:13:23] local.INFO: TCP Data received {"connection_id":118827,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:13:23] local.INFO: Processing buffer {"connection_id":118827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:13:23] local.INFO: IMEI packet received {"connection_id":118827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:13:23] local.INFO: IMEI acknowledgment sent {"connection_id":118827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:13:24] local.INFO: TCP Data received {"connection_id":119592,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119592,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:13:24] local.INFO: Processing buffer {"connection_id":119592,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:13:24] local.INFO: IMEI packet received {"connection_id":119592,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 08:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":119592,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:13:26] local.INFO: TCP Data received {"connection_id":118827,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:13:26] local.INFO: Processing buffer {"connection_id":118827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:13:26] local.INFO: IMEI packet received {"connection_id":118827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":118827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:13:28] local.INFO: TCP Data received {"connection_id":119592,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119592,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:13:28] local.INFO: Processing buffer {"connection_id":119592,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:13:28] local.INFO: IMEI packet received {"connection_id":119592,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:13:28] local.INFO: IMEI acknowledgment sent {"connection_id":119592,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:13:29] local.INFO: TCP Data received {"connection_id":119592,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b8eb870012d7b0ec005e2fbd0000000111e..."} 
[2026-07-01 08:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b8eb870012d7b0ec005e2fbd0000000111e..."} 
[2026-07-01 08:13:30] local.INFO: Processing buffer {"connection_id":119592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b8eb870012d7b0ec005e2fbd0000000111e..."} 
[2026-07-01 08:13:30] local.INFO: Packet analysis {"connection_id":119592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b8e"} 
[2026-07-01 08:13:30] local.INFO: Extracted packet for processing {"connection_id":119592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b8e"} 
[2026-07-01 08:13:30] local.INFO: GPS Element Parsed {"raw_longitude":763039424,"raw_latitude":98761680,"longitude_deg":76.3039424,"latitude_deg":9.876168,"altitude":0,"angle":17,"satellites":30,"speed":5,"hex_longitude":"2d7b0ec0","hex_latitude":"05e2fbd0","is_valid_coordinates":true} 
[2026-07-01 08:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:13:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415683840001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:13:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101187677147103232,"note":"Value kept but may cause issues"} 
[2026-07-01 08:13:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867235847854583808,"note":"Value kept but may cause issues"} 
[2026-07-01 08:13:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:13:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782873766000,"timestamp_ms":1782873766000,"timestamp_seconds":1782873766,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b8eb870"} 
[2026-07-01 08:13:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:13:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-01 08:13:30] 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-01 08:13:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:13:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:13:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:13:30] local.INFO: Teltonika packet parsed successfully {"connection_id":119592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:13:30] local.INFO: Passing IMEI to GPS processor {"connection_id":119592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:13:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":119592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:13:30] 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-01 08:13:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:13:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:13:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415683840001,"66":13222,"96":206,"85":15104,"24":5,"16":101187677147103232,"45":8867235847854583808},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-01 08:13:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:13:30] local.INFO: TCP Data received {"connection_id":118827,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b8dce10012d1263c006de3820000c015c30..."} 
[2026-07-01 08:13:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:13:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415683840001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:13:30] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-01 08:13:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 08:13:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101187677147103232,"km_value":101187677147103.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:13:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867235847854583808,"description":"Unknown IO ID 45"} 
[2026-07-01 08:13:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415683840001,"power":13222,"unknown_96":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8867235847854583808}} 
[2026-07-01 08:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b8dce10012d1263c006de3820000c015c30..."} 
[2026-07-01 08:13:30] local.INFO: Processing buffer {"connection_id":118827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b8dce10012d1263c006de3820000c015c30..."} 
[2026-07-01 08:13:30] local.INFO: Packet analysis {"connection_id":118827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b8d"} 
[2026-07-01 08:13:30] local.INFO: Extracted packet for processing {"connection_id":118827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b8d"} 
[2026-07-01 08:13:30] local.INFO: GPS Element Parsed {"raw_longitude":756179904,"raw_latitude":115226656,"longitude_deg":75.6179904,"latitude_deg":11.5226656,"altitude":12,"angle":348,"satellites":48,"speed":59,"hex_longitude":"2d1263c0","hex_latitude":"06de3820","is_valid_coordinates":true} 
[2026-07-01 08:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:13:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415666944001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:13:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333062266989576192,"note":"Value kept but may cause issues"} 
[2026-07-01 08:13:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1326943438453633024,"note":"Value kept but may cause issues"} 
[2026-07-01 08:13:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:13:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782873706000,"timestamp_ms":1782873706000,"timestamp_seconds":1782873706,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b8dce10"} 
[2026-07-01 08:13:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:13:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 08:13:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:13:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:13:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:13:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:13:30] local.INFO: Teltonika packet parsed successfully {"connection_id":118827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:13:30] local.INFO: Passing IMEI to GPS processor {"connection_id":118827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:13:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":118827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:13:30] 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-01 08:13:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:13:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:13:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415666944001,"66":27789,"232":206,"81":20480,"24":59,"16":333062266989576192,"45":1326943438453633024},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,81,24,16,45]} 
[2026-07-01 08:13:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:13:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:13:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415666944001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:13:30] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-07-01 08:13:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-01 08:13:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333062266989576192,"km_value":333062266989576.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:13:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1326943438453633024,"description":"Unknown IO ID 45"} 
[2026-07-01 08:13:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415666944001,"power":27789,"unknown_232":206,"unknown_81":20480,"ignition":59,"odometer":null,"unknown_45":1326943438453633024}} 
[2026-07-01 08:13:30] local.INFO: DEBUG: GPS processor result {"connection_id":118827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:13:30] local.INFO: GPS data processed {"connection_id":118827,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:13:30] local.INFO: Acknowledgment sent {"connection_id":118827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:13:30] local.INFO: DEBUG: GPS processor result {"connection_id":119592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416546,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:13:30] local.INFO: GPS data processed {"connection_id":119592,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:13:30] local.INFO: Acknowledgment sent {"connection_id":119592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:13:33] local.INFO: TCP Data received {"connection_id":119592,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b8ed3c8012d7b0ec005e2fc90000000221e..."} 
[2026-07-01 08:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b8ed3c8012d7b0ec005e2fc90000000221e..."} 
[2026-07-01 08:13:33] local.INFO: Processing buffer {"connection_id":119592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b8ed3c8012d7b0ec005e2fc90000000221e..."} 
[2026-07-01 08:13:33] local.INFO: Packet analysis {"connection_id":119592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b8e"} 
[2026-07-01 08:13:33] local.INFO: Extracted packet for processing {"connection_id":119592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b8e"} 
[2026-07-01 08:13:33] local.INFO: GPS Element Parsed {"raw_longitude":763039424,"raw_latitude":98761872,"longitude_deg":76.3039424,"latitude_deg":9.8761872,"altitude":0,"angle":34,"satellites":30,"speed":0,"hex_longitude":"2d7b0ec0","hex_latitude":"05e2fc90","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415684096001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101187694326972416,"note":"Value kept but may cause issues"} 
[2026-07-01 08:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867235847854608384,"note":"Value kept but may cause issues"} 
[2026-07-01 08:13:33] 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-01 08:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782873773000,"timestamp_ms":1782873773000,"timestamp_seconds":1782873773,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b8ed3c8"} 
[2026-07-01 08: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-01 08:13:33] 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-01 08: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-01 08:13: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-01 08: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-01 08: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-01 08:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":119592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":119592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":119592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:13:33] 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-01 08:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415684096001,"66":13189,"96":206,"85":15104,"24":0,"16":101187694326972416,"45":8867235847854608384},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-07-01 08:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415684096001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:13:33] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-01 08:13:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 08:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101187694326972416,"km_value":101187694326972.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867235847854608384,"description":"Unknown IO ID 45"} 
[2026-07-01 08:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415684096001,"power":13189,"unknown_96":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8867235847854608384}} 
[2026-07-01 08:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":119592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416547,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:13:33] local.INFO: GPS data processed {"connection_id":119592,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:13:33] local.INFO: Acknowledgment sent {"connection_id":119592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:14:02] local.INFO: TCP Data received {"connection_id":118827,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b8f1248012d12014006dfd6f0000c015d30..."} 
[2026-07-01 08:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b8f1248012d12014006dfd6f0000c015d30..."} 
[2026-07-01 08:14:02] local.INFO: Processing buffer {"connection_id":118827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b8f1248012d12014006dfd6f0000c015d30..."} 
[2026-07-01 08:14:02] local.INFO: Packet analysis {"connection_id":118827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b8f"} 
[2026-07-01 08:14:02] local.INFO: Extracted packet for processing {"connection_id":118827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b8f"} 
[2026-07-01 08:14:02] local.INFO: GPS Element Parsed {"raw_longitude":756154688,"raw_latitude":115332848,"longitude_deg":75.6154688,"latitude_deg":11.5332848,"altitude":12,"angle":349,"satellites":48,"speed":59,"hex_longitude":"2d120140","hex_latitude":"06dfd6f0","is_valid_coordinates":true} 
[2026-07-01 08:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415688448001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333067566979219456,"note":"Value kept but may cause issues"} 
[2026-07-01 08:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1299007047042617344,"note":"Value kept but may cause issues"} 
[2026-07-01 08:14:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782873789000,"timestamp_ms":1782873789000,"timestamp_seconds":1782873789,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b8f1248"} 
[2026-07-01 08:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:14:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-01 08:14:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:14:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":118827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":118827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":118827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415688448001,"66":27908,"97":206,"81":20480,"24":59,"16":333067566979219456,"45":1299007047042617344},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-07-01 08:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415688448001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:14:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 08:14:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-01 08:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333067566979219456,"km_value":333067566979219.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1299007047042617344,"description":"Unknown IO ID 45"} 
[2026-07-01 08:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415688448001,"power":27908,"unknown_97":206,"unknown_81":20480,"ignition":59,"odometer":null,"unknown_45":1299007047042617344}} 
[2026-07-01 08:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":118827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:14:02] local.INFO: GPS data processed {"connection_id":118827,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:14:02] local.INFO: Acknowledgment sent {"connection_id":118827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:14:18] local.INFO: TCP Data received {"connection_id":119593,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119593,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:14:18] local.INFO: Processing buffer {"connection_id":119593,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:14:18] local.INFO: IMEI packet received {"connection_id":119593,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 08:14:18] local.INFO: IMEI acknowledgment sent {"connection_id":119593,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:14:23] local.INFO: TCP Data received {"connection_id":119593,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119593,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:14:23] local.INFO: Processing buffer {"connection_id":119593,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:14:23] local.INFO: IMEI packet received {"connection_id":119593,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:14:23] local.INFO: IMEI acknowledgment sent {"connection_id":119593,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:14:24] local.INFO: TCP Data received {"connection_id":119593,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b8f0a78012d7b0ec005e2fd580000016520..."} 
[2026-07-01 08:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b8f0a78012d7b0ec005e2fd580000016520..."} 
[2026-07-01 08:14:24] local.INFO: Processing buffer {"connection_id":119593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b8f0a78012d7b0ec005e2fd580000016520..."} 
[2026-07-01 08:14:24] local.INFO: Packet analysis {"connection_id":119593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b8f"} 
[2026-07-01 08:14:24] local.INFO: Extracted packet for processing {"connection_id":119593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b8f"} 
[2026-07-01 08:14:24] local.INFO: GPS Element Parsed {"raw_longitude":763039424,"raw_latitude":98762072,"longitude_deg":76.3039424,"latitude_deg":9.8762072,"altitude":0,"angle":357,"satellites":32,"speed":3,"hex_longitude":"2d7b0ec0","hex_latitude":"05e2fd58","is_valid_coordinates":true} 
[2026-07-01 08:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415685888001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101187702916907008,"note":"Value kept but may cause issues"} 
[2026-07-01 08:14:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867235847854657536,"note":"Value kept but may cause issues"} 
[2026-07-01 08:14: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-01 08:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782873787000,"timestamp_ms":1782873787000,"timestamp_seconds":1782873787,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b8f0a78"} 
[2026-07-01 08:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:14:24] 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-01 08:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-01 08:14: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-01 08:14:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":119593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":119593,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":119593,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:14:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415685888001,"66":13091,"97":206,"85":15104,"24":3,"16":101187702916907008,"45":8867235847854657536},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-01 08:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415685888001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:14:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 08:14:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 08:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101187702916907008,"km_value":101187702916907.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:14:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867235847854657536,"description":"Unknown IO ID 45"} 
[2026-07-01 08:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415685888001,"power":13091,"unknown_97":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8867235847854657536}} 
[2026-07-01 08:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":119593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416549,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:14:24] local.INFO: GPS data processed {"connection_id":119593,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:14:24] local.INFO: Acknowledgment sent {"connection_id":119593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:14:31] local.INFO: TCP Data received {"connection_id":118828,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:14:31] local.INFO: Processing buffer {"connection_id":118828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:14:31] local.INFO: IMEI packet received {"connection_id":118828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 08:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":118828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:14:32] local.INFO: TCP Data received {"connection_id":118828,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:14:32] local.INFO: Processing buffer {"connection_id":118828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:14:32] local.INFO: IMEI packet received {"connection_id":118828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":118828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:14:38] local.INFO: TCP Data received {"connection_id":118828,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:14:38] local.INFO: Processing buffer {"connection_id":118828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:14:38] local.INFO: IMEI packet received {"connection_id":118828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:14:38] local.INFO: IMEI acknowledgment sent {"connection_id":118828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:14:38] local.INFO: TCP Data received {"connection_id":118828,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b8f29b8012d11f94006dff900000c01592e..."} 
[2026-07-01 08:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b8f29b8012d11f94006dff900000c01592e..."} 
[2026-07-01 08:14:38] local.INFO: Processing buffer {"connection_id":118828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b8f29b8012d11f94006dff900000c01592e..."} 
[2026-07-01 08:14:38] local.INFO: Packet analysis {"connection_id":118828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b8f"} 
[2026-07-01 08:14:38] local.INFO: Extracted packet for processing {"connection_id":118828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b8f"} 
[2026-07-01 08:14:38] local.INFO: GPS Element Parsed {"raw_longitude":756152640,"raw_latitude":115341568,"longitude_deg":75.615264,"latitude_deg":11.5341568,"altitude":12,"angle":345,"satellites":46,"speed":59,"hex_longitude":"2d11f940","hex_latitude":"06dff900","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415689984001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333068000770916352,"note":"Value kept but may cause issues"} 
[2026-07-01 08:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1297388565928800256,"note":"Value kept but may cause issues"} 
[2026-07-01 08:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782873795000,"timestamp_ms":1782873795000,"timestamp_seconds":1782873795,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b8f29b8"} 
[2026-07-01 08: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-01 08:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 08:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08: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-01 08: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-01 08:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":118828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":118828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":118828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415689984001,"66":27865,"98":206,"81":20480,"24":59,"16":333068000770916352,"45":1297388565928800256},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,81,24,16,45]} 
[2026-07-01 08:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415689984001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:14:38] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-07-01 08:14:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-01 08:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333068000770916352,"km_value":333068000770916.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1297388565928800256,"description":"Unknown IO ID 45"} 
[2026-07-01 08:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415689984001,"power":27865,"unknown_98":206,"unknown_81":20480,"ignition":59,"odometer":null,"unknown_45":1297388565928800256}} 
[2026-07-01 08:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":118828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:14:38] local.INFO: GPS data processed {"connection_id":118828,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:14:38] local.INFO: Acknowledgment sent {"connection_id":118828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:14:56] local.INFO: TCP Data received {"connection_id":119593,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b8f1a18012d7b0ec005e2fed0000000081f..."} 
[2026-07-01 08:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b8f1a18012d7b0ec005e2fed0000000081f..."} 
[2026-07-01 08:14:56] local.INFO: Processing buffer {"connection_id":119593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b8f1a18012d7b0ec005e2fed0000000081f..."} 
[2026-07-01 08:14:56] local.INFO: Packet analysis {"connection_id":119593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b8f"} 
[2026-07-01 08:14:56] local.INFO: Extracted packet for processing {"connection_id":119593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b8f"} 
[2026-07-01 08:14:56] local.INFO: GPS Element Parsed {"raw_longitude":763039424,"raw_latitude":98762448,"longitude_deg":76.3039424,"latitude_deg":9.8762448,"altitude":0,"angle":8,"satellites":31,"speed":3,"hex_longitude":"2d7b0ec0","hex_latitude":"05e2fed0","is_valid_coordinates":true} 
[2026-07-01 08:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415689472001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101187724391743488,"note":"Value kept but may cause issues"} 
[2026-07-01 08:14:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867235847854708736,"note":"Value kept but may cause issues"} 
[2026-07-01 08:14:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782873791000,"timestamp_ms":1782873791000,"timestamp_seconds":1782873791,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b8f1a18"} 
[2026-07-01 08:14:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:14:56] 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-01 08:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-01 08:14:56] 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-01 08:14:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:14:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":119593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":119593,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":119593,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:14:56] 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-01 08:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415689472001,"66":13091,"97":206,"85":15104,"24":3,"16":101187724391743488,"45":8867235847854708736},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-01 08:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415689472001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:14:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 08:14:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 08:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101187724391743488,"km_value":101187724391743.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:14:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867235847854708736,"description":"Unknown IO ID 45"} 
[2026-07-01 08:14:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415689472001,"power":13091,"unknown_97":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8867235847854708736}} 
[2026-07-01 08:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":119593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416551,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:14:56] local.INFO: GPS data processed {"connection_id":119593,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:14:56] local.INFO: Acknowledgment sent {"connection_id":119593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:15:19] local.INFO: TCP Data received {"connection_id":118932,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118932,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:15:19] local.INFO: Processing buffer {"connection_id":118932,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:15:19] local.INFO: IMEI packet received {"connection_id":118932,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 08:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":118932,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:15:21] local.INFO: TCP Data received {"connection_id":118933,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:15:21] local.INFO: Processing buffer {"connection_id":118933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:15:21] local.INFO: IMEI packet received {"connection_id":118933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 08:15:21] local.INFO: IMEI acknowledgment sent {"connection_id":118933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:15:24] local.INFO: TCP Data received {"connection_id":118932,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118932,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:15:24] local.INFO: Processing buffer {"connection_id":118932,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:15:24] local.INFO: IMEI packet received {"connection_id":118932,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:15:24] local.INFO: IMEI acknowledgment sent {"connection_id":118932,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:15:24] local.INFO: TCP Data received {"connection_id":118932,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b8f6838012d7b0ec005e2fee8000000051f..."} 
[2026-07-01 08:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b8f6838012d7b0ec005e2fee8000000051f..."} 
[2026-07-01 08:15:25] local.INFO: Processing buffer {"connection_id":118932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b8f6838012d7b0ec005e2fee8000000051f..."} 
[2026-07-01 08:15:25] local.INFO: Packet analysis {"connection_id":118932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b8f"} 
[2026-07-01 08:15:25] local.INFO: Extracted packet for processing {"connection_id":118932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b8f"} 
[2026-07-01 08:15:25] local.INFO: GPS Element Parsed {"raw_longitude":763039424,"raw_latitude":98762472,"longitude_deg":76.3039424,"latitude_deg":9.8762472,"altitude":0,"angle":5,"satellites":31,"speed":0,"hex_longitude":"2d7b0ec0","hex_latitude":"05e2fee8","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:15:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415690496001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:15:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101187724391743488,"note":"Value kept but may cause issues"} 
[2026-07-01 08:15:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867235847854804992,"note":"Value kept but may cause issues"} 
[2026-07-01 08:15: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-01 08:15:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782873811000,"timestamp_ms":1782873811000,"timestamp_seconds":1782873811,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b8f6838"} 
[2026-07-01 08: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-01 08:15: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-01 08: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-01 08:15:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08: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-01 08: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-01 08:15:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:15:25] local.INFO: Teltonika packet parsed successfully {"connection_id":118932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:15:25] local.INFO: Passing IMEI to GPS processor {"connection_id":118932,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:15:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":118932,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:15:25] 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-01 08:15:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:15:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:15:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415690496001,"66":13319,"97":206,"85":15104,"24":0,"16":101187724391743488,"45":8867235847854804992},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-01 08:15:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:15:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:15:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415690496001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:15:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 08:15:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 08:15:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101187724391743488,"km_value":101187724391743.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:15:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867235847854804992,"description":"Unknown IO ID 45"} 
[2026-07-01 08:15:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415690496001,"power":13319,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8867235847854804992}} 
[2026-07-01 08:15:25] local.INFO: DEBUG: GPS processor result {"connection_id":118932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416552,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:15:25] local.INFO: GPS data processed {"connection_id":118932,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:15:25] local.INFO: Acknowledgment sent {"connection_id":118932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:15:26] local.INFO: TCP Data received {"connection_id":118933,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:15:26] local.INFO: Processing buffer {"connection_id":118933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:15:26] local.INFO: IMEI packet received {"connection_id":118933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":118933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:15:27] local.INFO: TCP Data received {"connection_id":118933,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b903358012d1194c006e178f8000c01562e..."} 
[2026-07-01 08:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b903358012d1194c006e178f8000c01562e..."} 
[2026-07-01 08:15:27] local.INFO: Processing buffer {"connection_id":118933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b903358012d1194c006e178f8000c01562e..."} 
[2026-07-01 08:15:27] local.INFO: Packet analysis {"connection_id":118933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b90"} 
[2026-07-01 08:15:27] local.INFO: Extracted packet for processing {"connection_id":118933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b90"} 
[2026-07-01 08:15:27] local.INFO: GPS Element Parsed {"raw_longitude":756126912,"raw_latitude":115439864,"longitude_deg":75.6126912,"latitude_deg":11.5439864,"altitude":12,"angle":342,"satellites":46,"speed":59,"hex_longitude":"2d1194c0","hex_latitude":"06e178f8","is_valid_coordinates":true} 
[2026-07-01 08:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:15:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415707392001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:15:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333072939983306752,"note":"Value kept but may cause issues"} 
[2026-07-01 08:15:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1270226230701473792,"note":"Value kept but may cause issues"} 
[2026-07-01 08:15:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:15:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782873863000,"timestamp_ms":1782873863000,"timestamp_seconds":1782873863,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b903358"} 
[2026-07-01 08:15:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:15: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-01 08:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 08:15:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:15:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:15:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:15:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:15:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:15:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:15:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:15:27] 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-01 08:15:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:15:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:15:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415707392001,"66":27832,"109":206,"81":20480,"24":59,"16":333072939983306752,"45":1270226230701473792},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,81,24,16,45]} 
[2026-07-01 08:15:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:15:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:15:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415707392001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:15:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-01 08:15:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-01 08:15:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333072939983306752,"km_value":333072939983306.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:15:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1270226230701473792,"description":"Unknown IO ID 45"} 
[2026-07-01 08:15:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415707392001,"power":27832,"unknown_109":206,"unknown_81":20480,"ignition":59,"odometer":null,"unknown_45":1270226230701473792}} 
[2026-07-01 08:15:27] local.INFO: DEBUG: GPS processor result {"connection_id":118933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:15:27] local.INFO: GPS data processed {"connection_id":118933,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:15:27] local.INFO: Acknowledgment sent {"connection_id":118933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:15:56] local.INFO: TCP Data received {"connection_id":118932,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b8fba40012d7b0ec005e2fee8000000051e..."} 
[2026-07-01 08:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b8fba40012d7b0ec005e2fee8000000051e..."} 
[2026-07-01 08:15:56] local.INFO: Processing buffer {"connection_id":118932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b8fba40012d7b0ec005e2fee8000000051e..."} 
[2026-07-01 08:15:56] local.INFO: Packet analysis {"connection_id":118932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b8f"} 
[2026-07-01 08:15:56] local.INFO: Extracted packet for processing {"connection_id":118932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b8f"} 
[2026-07-01 08:15:56] local.INFO: GPS Element Parsed {"raw_longitude":763039424,"raw_latitude":98762472,"longitude_deg":76.3039424,"latitude_deg":9.8762472,"altitude":0,"angle":5,"satellites":30,"speed":0,"hex_longitude":"2d7b0ec0","hex_latitude":"05e2fee8","is_valid_coordinates":true} 
[2026-07-01 08:15:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415695616001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101187724391743488,"note":"Value kept but may cause issues"} 
[2026-07-01 08:15:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867235847854811136,"note":"Value kept but may cause issues"} 
[2026-07-01 08:15:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:15:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782873832000,"timestamp_ms":1782873832000,"timestamp_seconds":1782873832,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b8fba40"} 
[2026-07-01 08:15:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:15:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:15:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-01 08:15:56] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-01 08:15:56] local.WARNING: Large IO value detected {"io_id":125,"raw_value":2885681152,"note":"Value kept but may cause issues"} 
[2026-07-01 08:15:56] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-01 08:15:56] local.WARNING: Large IO value detected {"io_id":27,"raw_value":2394451969,"note":"Value kept but may cause issues"} 
[2026-07-01 08:15:56] local.WARNING: Large IO value detected {"io_id":226,"raw_value":-5424585751144617984,"note":"Value kept but may cause issues"} 
[2026-07-01 08:15:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791309518,"corrected_to":0} 
[2026-07-01 08:15:56] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3805992960,"note":"Value kept but may cause issues"} 
[2026-07-01 08:15:56] local.WARNING: Large IO value detected {"io_id":180,"raw_value":2281778555,"note":"Value kept but may cause issues"} 
[2026-07-01 08:15:56] local.WARNING: Large IO value detected {"io_id":14,"raw_value":3221611259,"note":"Value kept but may cause issues"} 
[2026-07-01 08:15:56] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070502,"note":"Value kept but may cause issues"} 
[2026-07-01 08:15:56] local.WARNING: Large IO value detected {"io_id":46,"raw_value":57885301486277947,"note":"Value kept but may cause issues"} 
[2026-07-01 08:15:56] local.WARNING: Large IO value detected {"io_id":142,"raw_value":7097674307586359301,"note":"Value kept but may cause issues"} 
[2026-07-01 08:15:56] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,97,85,24,241,157,16,125,159,26,45,192,254,31,10,66,253,32,211,1,240,133,227,27,226,4,113,205,5,180,14,112,29,239,51,96,2,103,42,46,142],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2791309518,"validated":0}]} 
[2026-07-01 08:15:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5630702125056,"timestamp_seconds":5630702125.056,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 08:15:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":118932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":118932,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":118932,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:15:56] 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-01 08:15:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:15:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:15:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415695616001,"66":13363,"97":206,"85":15104,"24":0,"16":101187724391743488,"45":8867235847854811136},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-01 08:15:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:15:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:15:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415695616001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:15:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 08:15:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 08:15:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101187724391743488,"km_value":101187724391743.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:15:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867235847854811136,"description":"Unknown IO ID 45"} 
[2026-07-01 08:15:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415695616001,"power":13363,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8867235847854811136}} 
[2026-07-01 08:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":118932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416554,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:15:56] local.INFO: GPS data processed {"connection_id":118932,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:15:56] local.INFO: Acknowledgment sent {"connection_id":118932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:16:01] local.INFO: TCP Data received {"connection_id":118933,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b904ac8012d118cc006e19ae8000c015e2e..."} 
[2026-07-01 08:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b904ac8012d118cc006e19ae8000c015e2e..."} 
[2026-07-01 08:16:01] local.INFO: Processing buffer {"connection_id":118933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b904ac8012d118cc006e19ae8000c015e2e..."} 
[2026-07-01 08:16:01] local.INFO: Packet analysis {"connection_id":118933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b90"} 
[2026-07-01 08:16:01] local.INFO: Extracted packet for processing {"connection_id":118933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b90"} 
[2026-07-01 08:16:01] local.INFO: GPS Element Parsed {"raw_longitude":756124864,"raw_latitude":115448552,"longitude_deg":75.6124864,"latitude_deg":11.5448552,"altitude":12,"angle":350,"satellites":46,"speed":59,"hex_longitude":"2d118cc0","hex_latitude":"06e19ae8","is_valid_coordinates":true} 
[2026-07-01 08:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:16:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415708928001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:16:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333073373775003648,"note":"Value kept but may cause issues"} 
[2026-07-01 08:16:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1266848530983090176,"note":"Value kept but may cause issues"} 
[2026-07-01 08:16:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:16:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782873869000,"timestamp_ms":1782873869000,"timestamp_seconds":1782873869,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b904ac8"} 
[2026-07-01 08:16:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:16:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-01 08:16:01] 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-01 08:16:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:16:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:16:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:16:01] local.INFO: Teltonika packet parsed successfully {"connection_id":118933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:16:01] local.INFO: Passing IMEI to GPS processor {"connection_id":118933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:16:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":118933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:16:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:16:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:16:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:16:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415708928001,"66":27843,"109":206,"81":20480,"24":59,"16":333073373775003648,"45":1266848530983090176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,81,24,16,45]} 
[2026-07-01 08:16:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:16:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:16:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415708928001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:16:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-01 08:16:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-01 08:16:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333073373775003648,"km_value":333073373775003.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:16:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1266848530983090176,"description":"Unknown IO ID 45"} 
[2026-07-01 08:16:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415708928001,"power":27843,"unknown_109":206,"unknown_81":20480,"ignition":59,"odometer":null,"unknown_45":1266848530983090176}} 
[2026-07-01 08:16:01] local.INFO: DEBUG: GPS processor result {"connection_id":118933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:16:01] local.INFO: GPS data processed {"connection_id":118933,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:16:01] local.INFO: Acknowledgment sent {"connection_id":118933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:16:18] local.INFO: TCP Data received {"connection_id":118829,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118829,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:16:18] local.INFO: Processing buffer {"connection_id":118829,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:16:18] local.INFO: IMEI packet received {"connection_id":118829,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 08:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":118829,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:16:24] local.INFO: TCP Data received {"connection_id":118829,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118829,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:16:24] local.INFO: Processing buffer {"connection_id":118829,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:16:24] local.INFO: IMEI packet received {"connection_id":118829,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":118829,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:16:25] local.INFO: TCP Data received {"connection_id":118829,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b8ff8c0012d7b0ec005e2fee8000000051a..."} 
[2026-07-01 08:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b8ff8c0012d7b0ec005e2fee8000000051a..."} 
[2026-07-01 08:16:25] local.INFO: Processing buffer {"connection_id":118829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b8ff8c0012d7b0ec005e2fee8000000051a..."} 
[2026-07-01 08:16:25] local.INFO: Packet analysis {"connection_id":118829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b8f"} 
[2026-07-01 08:16:25] local.INFO: Extracted packet for processing {"connection_id":118829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b8f"} 
[2026-07-01 08:16:25] local.INFO: GPS Element Parsed {"raw_longitude":763039424,"raw_latitude":98762472,"longitude_deg":76.3039424,"latitude_deg":9.8762472,"altitude":0,"angle":5,"satellites":26,"speed":0,"hex_longitude":"2d7b0ec0","hex_latitude":"05e2fee8","is_valid_coordinates":true} 
[2026-07-01 08:16: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-01 08:16:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415700992001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:16:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101187724391743488,"note":"Value kept but may cause issues"} 
[2026-07-01 08:16:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867235847854811136,"note":"Value kept but may cause issues"} 
[2026-07-01 08:16: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-01 08:16:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782873848000,"timestamp_ms":1782873848000,"timestamp_seconds":1782873848,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b8ff8c0"} 
[2026-07-01 08:16:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:16: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-01 08:16:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-01 08:16:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:16:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:16:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:16:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:16:25] local.INFO: Teltonika packet parsed successfully {"connection_id":118829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:16:25] local.INFO: Passing IMEI to GPS processor {"connection_id":118829,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:16:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":118829,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:16:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:16:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:16:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:16:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415700992001,"66":13330,"97":206,"85":15104,"24":0,"16":101187724391743488,"45":8867235847854811136},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-01 08:16:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:16:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:16:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415700992001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:16:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 08:16:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 08:16:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101187724391743488,"km_value":101187724391743.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:16:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867235847854811136,"description":"Unknown IO ID 45"} 
[2026-07-01 08:16:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415700992001,"power":13330,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8867235847854811136}} 
[2026-07-01 08:16:25] local.INFO: DEBUG: GPS processor result {"connection_id":118829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416556,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:16:25] local.INFO: GPS data processed {"connection_id":118829,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:16:25] local.INFO: Acknowledgment sent {"connection_id":118829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:16:25] local.INFO: TCP Data received {"connection_id":118830,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:16:25] local.INFO: Processing buffer {"connection_id":118830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:16:25] local.INFO: IMEI packet received {"connection_id":118830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 08:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":118830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:16:26] local.INFO: TCP Data received {"connection_id":118830,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:16:26] local.INFO: Processing buffer {"connection_id":118830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:16:26] local.INFO: IMEI packet received {"connection_id":118830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":118830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:16:31] local.INFO: TCP Data received {"connection_id":118830,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:16:31] local.INFO: Processing buffer {"connection_id":118830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:16:31] local.INFO: IMEI packet received {"connection_id":118830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":118830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:16:42] local.INFO: TCP Data received {"connection_id":118830,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b906238012d1186c006e1bd68000c015e30..."} 
[2026-07-01 08:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b906238012d1186c006e1bd68000c015e30..."} 
[2026-07-01 08:16:42] local.INFO: Processing buffer {"connection_id":118830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b906238012d1186c006e1bd68000c015e30..."} 
[2026-07-01 08:16:42] local.INFO: Packet analysis {"connection_id":118830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b90"} 
[2026-07-01 08:16:42] local.INFO: Extracted packet for processing {"connection_id":118830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b90"} 
[2026-07-01 08:16:42] local.INFO: GPS Element Parsed {"raw_longitude":756123328,"raw_latitude":115457384,"longitude_deg":75.6123328,"latitude_deg":11.5457384,"altitude":12,"angle":350,"satellites":48,"speed":59,"hex_longitude":"2d1186c0","hex_latitude":"06e1bd68","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415710464001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333073807566700544,"note":"Value kept but may cause issues"} 
[2026-07-01 08:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1264596731171629056,"note":"Value kept but may cause issues"} 
[2026-07-01 08:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782873875000,"timestamp_ms":1782873875000,"timestamp_seconds":1782873875,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b906238"} 
[2026-07-01 08: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-01 08:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 08:16:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08: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-01 08: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-01 08:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":118830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":118830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":118830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:16: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-01 08:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415710464001,"66":27843,"108":206,"81":20480,"24":59,"16":333073807566700544,"45":1264596731171629056},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,81,24,16,45]} 
[2026-07-01 08:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415710464001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:16:42] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-07-01 08:16:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-01 08:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333073807566700544,"km_value":333073807566700.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1264596731171629056,"description":"Unknown IO ID 45"} 
[2026-07-01 08:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415710464001,"power":27843,"unknown_108":206,"unknown_81":20480,"ignition":59,"odometer":null,"unknown_45":1264596731171629056}} 
[2026-07-01 08:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":118830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:16:42] local.INFO: GPS data processed {"connection_id":118830,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:16:42] local.INFO: Acknowledgment sent {"connection_id":118830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:16:46] local.INFO: TCP Data received {"connection_id":119594,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 08:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119594,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 08:16:46] local.INFO: Processing buffer {"connection_id":119594,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 08:16:46] local.INFO: IMEI packet received {"connection_id":119594,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 08:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":119594,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:16:56] local.INFO: TCP Data received {"connection_id":118829,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b8ff8c0012d7b0ec005e2fee8000000051a..."} 
[2026-07-01 08:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b8ff8c0012d7b0ec005e2fee8000000051a..."} 
[2026-07-01 08:16:56] local.INFO: Processing buffer {"connection_id":118829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b8ff8c0012d7b0ec005e2fee8000000051a..."} 
[2026-07-01 08:16:56] local.INFO: Packet analysis {"connection_id":118829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b8f"} 
[2026-07-01 08:16:56] local.INFO: Extracted packet for processing {"connection_id":118829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b8f"} 
[2026-07-01 08:16:56] local.INFO: GPS Element Parsed {"raw_longitude":763039424,"raw_latitude":98762472,"longitude_deg":76.3039424,"latitude_deg":9.8762472,"altitude":0,"angle":5,"satellites":26,"speed":0,"hex_longitude":"2d7b0ec0","hex_latitude":"05e2fee8","is_valid_coordinates":true} 
[2026-07-01 08:16:56] 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-01 08:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415705088001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101187724391743488,"note":"Value kept but may cause issues"} 
[2026-07-01 08:16:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867235847854811136,"note":"Value kept but may cause issues"} 
[2026-07-01 08:16:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782873848000,"timestamp_ms":1782873848000,"timestamp_seconds":1782873848,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b8ff8c0"} 
[2026-07-01 08: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-01 08:16:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 08: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-07-01 08:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-07-01 08:16:56] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-01 08:16:56] local.WARNING: Large IO value detected {"io_id":125,"raw_value":3003121664,"note":"Value kept but may cause issues"} 
[2026-07-01 08:16:56] local.WARNING: Large IO value detected {"io_id":10,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-07-01 08:16:56] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3277234594417662680,"note":"Value kept but may cause issues"} 
[2026-07-01 08:16:56] local.WARNING: Large IO value detected {"io_id":27,"raw_value":2399827969,"note":"Value kept but may cause issues"} 
[2026-07-01 08:16:56] local.WARNING: Large IO value detected {"io_id":226,"raw_value":-328762772797645568,"note":"Value kept but may cause issues"} 
[2026-07-01 08:16:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-07-01 08:16:56] local.WARNING: Large IO value detected {"io_id":211,"raw_value":3355520379,"note":"Value kept but may cause issues"} 
[2026-07-01 08:16:56] local.WARNING: Large IO value detected {"io_id":14,"raw_value":3221611260,"note":"Value kept but may cause issues"} 
[2026-07-01 08:16:56] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2231422374,"note":"Value kept but may cause issues"} 
[2026-07-01 08:16:56] local.WARNING: Large IO value detected {"io_id":166,"raw_value":6917755893098485760,"note":"Value kept but may cause issues"} 
[2026-07-01 08:16:56] local.WARNING: Large IO value detected {"io_id":142,"raw_value":-5438095255200153595,"note":"Value kept but may cause issues"} 
[2026-07-01 08:16:56] local.WARNING: Large IO value detected {"io_id":84,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-01 08:16:56] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,97,85,24,241,157,16,125,159,186,45,192,254,30,10,66,104,31,26,1,240,35,227,27,226,4,113,205,3,211,14,144,239,51,96,2,103,5,166,142,84],"length":626,"final_offset":756,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-07-01 08:16:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5609227288815,"timestamp_seconds":5609227288.815,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 08: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-01 08:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":118829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":118829,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":118829,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:16:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415705088001,"66":13330,"97":206,"85":15104,"24":0,"16":101187724391743488,"45":8867235847854811136},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-01 08:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415705088001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:16:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 08:16:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 08:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101187724391743488,"km_value":101187724391743.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:16:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867235847854811136,"description":"Unknown IO ID 45"} 
[2026-07-01 08:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415705088001,"power":13330,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8867235847854811136}} 
[2026-07-01 08:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":118829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416558,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:16:56] local.INFO: GPS data processed {"connection_id":118829,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:16:56] local.INFO: Acknowledgment sent {"connection_id":118829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:17:21] local.INFO: TCP Data received {"connection_id":119595,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 08:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119595,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 08:17:21] local.INFO: Processing buffer {"connection_id":119595,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 08:17:21] local.INFO: IMEI packet received {"connection_id":119595,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 08:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":119595,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:17:21] local.INFO: TCP Data received {"connection_id":118934,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:17:21] local.INFO: Processing buffer {"connection_id":118934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:17:21] local.INFO: IMEI packet received {"connection_id":118934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 08:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":118934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:17:23] local.INFO: TCP Data received {"connection_id":118934,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:17:23] local.INFO: Processing buffer {"connection_id":118934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:17:23] local.INFO: IMEI packet received {"connection_id":118934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":118934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:17:34] local.INFO: TCP Data received {"connection_id":118935,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118935,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:17:34] local.INFO: Processing buffer {"connection_id":118935,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:17:34] local.INFO: IMEI packet received {"connection_id":118935,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 08:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":118935,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:17:35] local.INFO: TCP Data received {"connection_id":118934,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:17:35] local.INFO: Processing buffer {"connection_id":118934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:17:35] local.INFO: IMEI packet received {"connection_id":118934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":118934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:17:39] local.INFO: TCP Data received {"connection_id":118935,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118935,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:17:39] local.INFO: Processing buffer {"connection_id":118935,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:17:39] local.INFO: IMEI packet received {"connection_id":118935,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:17:39] local.INFO: IMEI acknowledgment sent {"connection_id":118935,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:17:39] local.INFO: TCP Data received {"connection_id":118934,"ip":"42.106.6.25","data_length":1348,"data_hex":"000000000000030f8e0a0000019f1b91e108012d11594006e391d00012016430..."} 
[2026-07-01 08:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118934,"packet_length":1348,"packet_hex":"000000000000030f8e0a0000019f1b91e108012d11594006e391d00012016430..."} 
[2026-07-01 08:17:39] local.INFO: Processing buffer {"connection_id":118934,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a0000019f1b91e108012d11594006e391d00012016430..."} 
[2026-07-01 08:17:39] local.INFO: Packet analysis {"connection_id":118934,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a0000019f1b91"} 
[2026-07-01 08:17:39] local.INFO: Extracted packet for processing {"connection_id":118934,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019f1b91"} 
[2026-07-01 08:17:39] local.INFO: GPS Element Parsed {"raw_longitude":756111680,"raw_latitude":115577296,"longitude_deg":75.611168,"latitude_deg":11.5577296,"altitude":18,"angle":356,"satellites":48,"speed":53,"hex_longitude":"2d115940","hex_latitude":"06e391d0","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415735296001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333079704556797952,"note":"Value kept but may cause issues"} 
[2026-07-01 08:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1251156301064394752,"note":"Value kept but may cause issues"} 
[2026-07-01 08:17:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782873973000,"timestamp_ms":1782873973000,"timestamp_seconds":1782873973,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b91e108"} 
[2026-07-01 08: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-01 08:17: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-01 08: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 08:17:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08: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-01 08: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-01 08:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":118934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":118934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":118934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:17:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415735296001,"66":27908,"111":206,"81":20480,"24":53,"16":333079704556797952,"45":1251156301064394752},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,81,24,16,45]} 
[2026-07-01 08:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415735296001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:17:39] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-01 08:17:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-01 08:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333079704556797952,"km_value":333079704556797.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1251156301064394752,"description":"Unknown IO ID 45"} 
[2026-07-01 08:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415735296001,"power":27908,"unknown_111":206,"unknown_81":20480,"ignition":53,"odometer":null,"unknown_45":1251156301064394752}} 
[2026-07-01 08:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":118934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:17:39] local.INFO: GPS data processed {"connection_id":118934,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:17:39] local.INFO: Acknowledgment sent {"connection_id":118934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:17:39] local.INFO: Packet analysis {"connection_id":118934,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019f1b91"} 
[2026-07-01 08:17:39] local.INFO: Incomplete packet, waiting for more data {"connection_id":118934,"needed":795,"available":553} 
[2026-07-01 08:17:39] local.INFO: TCP Data received {"connection_id":118935,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b900478012d7b0e0005e2fe28000000f61c..."} 
[2026-07-01 08:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b900478012d7b0e0005e2fe28000000f61c..."} 
[2026-07-01 08:17:39] local.INFO: Processing buffer {"connection_id":118935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b900478012d7b0e0005e2fe28000000f61c..."} 
[2026-07-01 08:17:39] local.INFO: Packet analysis {"connection_id":118935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b90"} 
[2026-07-01 08:17:39] local.INFO: Extracted packet for processing {"connection_id":118935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b90"} 
[2026-07-01 08:17:39] local.INFO: GPS Element Parsed {"raw_longitude":763039232,"raw_latitude":98762280,"longitude_deg":76.3039232,"latitude_deg":9.876228,"altitude":0,"angle":246,"satellites":28,"speed":1,"hex_longitude":"2d7b0e00","hex_latitude":"05e2fe28","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415705088001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101187724391743488,"note":"Value kept but may cause issues"} 
[2026-07-01 08:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867235847854811136,"note":"Value kept but may cause issues"} 
[2026-07-01 08:17: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-01 08:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782873851000,"timestamp_ms":1782873851000,"timestamp_seconds":1782873851,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b900478"} 
[2026-07-01 08: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-01 08:17:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 08: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":18,"data_length":795,"current_offset":136} 
[2026-07-01 08:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-07-01 08:17:39] local.WARNING: Large IO value detected {"io_id":85,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-07-01 08:17:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-01 08:17:39] local.WARNING: Large IO value detected {"io_id":125,"raw_value":3003121664,"note":"Value kept but may cause issues"} 
[2026-07-01 08:17:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3277229371737439088,"note":"Value kept but may cause issues"} 
[2026-07-01 08:17:39] local.WARNING: Large IO value detected {"io_id":27,"raw_value":2400851969,"note":"Value kept but may cause issues"} 
[2026-07-01 08:17:39] local.WARNING: Large IO value detected {"io_id":226,"raw_value":-301741175032701440,"note":"Value kept but may cause issues"} 
[2026-07-01 08:17:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-07-01 08:17:39] local.WARNING: Large IO value detected {"io_id":14,"raw_value":3221611261,"note":"Value kept but may cause issues"} 
[2026-07-01 08:17:39] local.WARNING: Large IO value detected {"io_id":5,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-07-01 08:17:39] local.WARNING: Large IO value detected {"io_id":133,"raw_value":57885301486277947,"note":"Value kept but may cause issues"} 
[2026-07-01 08:17:39] local.WARNING: Large IO value detected {"io_id":142,"raw_value":-5156620278489497595,"note":"Value kept but may cause issues"} 
[2026-07-01 08:17:39] local.WARNING: Large IO value detected {"io_id":166,"raw_value":6917755893098485760,"note":"Value kept but may cause issues"} 
[2026-07-01 08:17:39] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,97,85,24,241,157,16,125,159,248,45,192,254,26,10,66,186,30,104,1,240,7,227,27,226,4,113,205,3,14,88,32,239,51,2,103,5,133,142,166],"length":626,"final_offset":756,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-07-01 08:17:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5609227288816,"timestamp_seconds":5609227288.816,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 08: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-01 08:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":118935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":118935,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":118935,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:17:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415705088001,"66":12722,"97":206,"85":15104,"24":1,"16":101187724391743488,"45":8867235847854811136},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-01 08:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415705088001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:17:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 08:17:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 08:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101187724391743488,"km_value":101187724391743.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867235847854811136,"description":"Unknown IO ID 45"} 
[2026-07-01 08:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415705088001,"power":12722,"unknown_97":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8867235847854811136}} 
[2026-07-01 08:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":118935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416560,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:17:39] local.INFO: GPS data processed {"connection_id":118935,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:17:39] local.INFO: Acknowledgment sent {"connection_id":118935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:17:41] local.INFO: TCP Data received {"connection_id":118934,"ip":"42.106.6.25","data_length":1037,"data_hex":"0000000000019f1b9119d0012d11880006e2ba20000b016033003a0000000a00..."} 
[2026-07-01 08:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118934,"packet_length":1037,"packet_hex":"0000000000019f1b9119d0012d11880006e2ba20000b016033003a0000000a00..."} 
[2026-07-01 08:17:41] local.INFO: Processing buffer {"connection_id":118934,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f1b91fc60012d11560006e3ba40000d01632d..."} 
[2026-07-01 08:17:41] local.INFO: Packet analysis {"connection_id":118934,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f1b91"} 
[2026-07-01 08:17:41] local.INFO: Extracted packet for processing {"connection_id":118934,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b91"} 
[2026-07-01 08:17:41] local.INFO: GPS Element Parsed {"raw_longitude":756110848,"raw_latitude":115587648,"longitude_deg":75.6110848,"latitude_deg":11.5587648,"altitude":13,"angle":355,"satellites":45,"speed":62,"hex_longitude":"2d115600","hex_latitude":"06e3ba40","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415737088001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333080207067971584,"note":"Value kept but may cause issues"} 
[2026-07-01 08:17:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1250100769903988736,"note":"Value kept but may cause issues"} 
[2026-07-01 08:17:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782873980000,"timestamp_ms":1782873980000,"timestamp_seconds":1782873980,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b91fc60"} 
[2026-07-01 08: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-01 08:17:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 08:17:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08: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-01 08: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-01 08:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":118934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":118934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":118934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:17: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-01 08:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415737088001,"66":27865,"111":206,"81":20480,"24":62,"16":333080207067971584,"45":1250100769903988736},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,81,24,16,45]} 
[2026-07-01 08:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415737088001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:17:41] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-01 08:17:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-01 08:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333080207067971584,"km_value":333080207067971.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:17:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1250100769903988736,"description":"Unknown IO ID 45"} 
[2026-07-01 08:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415737088001,"power":27865,"unknown_111":206,"unknown_81":20480,"ignition":62,"odometer":null,"unknown_45":1250100769903988736}} 
[2026-07-01 08:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":118934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:17:41] local.INFO: GPS data processed {"connection_id":118934,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:17:41] local.INFO: Acknowledgment sent {"connection_id":118934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:17:41] local.INFO: Packet analysis {"connection_id":118934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b92"} 
[2026-07-01 08:17:41] local.INFO: Extracted packet for processing {"connection_id":118934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b92"} 
[2026-07-01 08:17:41] local.INFO: GPS Element Parsed {"raw_longitude":756110016,"raw_latitude":115597096,"longitude_deg":75.6110016,"latitude_deg":11.5597096,"altitude":10,"angle":354,"satellites":47,"speed":63,"hex_longitude":"2d1152c0","hex_latitude":"06e3df28","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415738880001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333080670924439552,"note":"Value kept but may cause issues"} 
[2026-07-01 08:17:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1249185976232329216,"note":"Value kept but may cause issues"} 
[2026-07-01 08:17:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782873986000,"timestamp_ms":1782873986000,"timestamp_seconds":1782873986,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b9213d0"} 
[2026-07-01 08: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-01 08:17:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 08:17:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08: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-01 08: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-01 08:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":118934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":118934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":118934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:17: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-01 08:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415738880001,"66":27821,"111":206,"81":20480,"24":63,"16":333080670924439552,"45":1249185976232329216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,81,24,16,45]} 
[2026-07-01 08:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415738880001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:17:41] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-01 08:17:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-01 08:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333080670924439552,"km_value":333080670924439.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:17:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1249185976232329216,"description":"Unknown IO ID 45"} 
[2026-07-01 08:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415738880001,"power":27821,"unknown_111":206,"unknown_81":20480,"ignition":63,"odometer":null,"unknown_45":1249185976232329216}} 
[2026-07-01 08:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":118934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:17:42] local.INFO: GPS data processed {"connection_id":118934,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:17:42] local.INFO: Acknowledgment sent {"connection_id":118934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:18:15] local.INFO: TCP Data received {"connection_id":120704,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120704,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:18:15] local.INFO: Processing buffer {"connection_id":120704,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:18:15] local.INFO: IMEI packet received {"connection_id":120704,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 08:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":120704,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:18:19] local.INFO: TCP Data received {"connection_id":120704,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120704,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:18:19] local.INFO: Processing buffer {"connection_id":120704,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:18:19] local.INFO: IMEI packet received {"connection_id":120704,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":120704,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:18:21] local.INFO: TCP Data received {"connection_id":120705,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:18:21] local.INFO: Processing buffer {"connection_id":120705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:18:21] local.INFO: IMEI packet received {"connection_id":120705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 08:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":120705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:18:22] local.INFO: TCP Data received {"connection_id":120704,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120704,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:18:22] local.INFO: Processing buffer {"connection_id":120704,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:18:22] local.INFO: IMEI packet received {"connection_id":120704,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:18:22] local.INFO: IMEI acknowledgment sent {"connection_id":120704,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:18:23] local.INFO: TCP Data received {"connection_id":120704,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b924698012d7b0dc005e2fdd8000000f823..."} 
[2026-07-01 08:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b924698012d7b0dc005e2fdd8000000f823..."} 
[2026-07-01 08:18:23] local.INFO: Processing buffer {"connection_id":120704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b924698012d7b0dc005e2fdd8000000f823..."} 
[2026-07-01 08:18:23] local.INFO: Packet analysis {"connection_id":120704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b92"} 
[2026-07-01 08:18:23] local.INFO: Extracted packet for processing {"connection_id":120704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b92"} 
[2026-07-01 08:18:23] local.INFO: GPS Element Parsed {"raw_longitude":763039168,"raw_latitude":98762200,"longitude_deg":76.3039168,"latitude_deg":9.87622,"altitude":0,"angle":248,"satellites":35,"speed":0,"hex_longitude":"2d7b0dc0","hex_latitude":"05e2fdd8","is_valid_coordinates":true} 
[2026-07-01 08:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:18:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415705856001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:18:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101187724391743488,"note":"Value kept but may cause issues"} 
[2026-07-01 08:18:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867024741622228992,"note":"Value kept but may cause issues"} 
[2026-07-01 08:18:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:18:23] local.INFO: AVL Record Parsed {"raw_timestamp":1782873999000,"timestamp_ms":1782873999000,"timestamp_seconds":1782873999,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b924698"} 
[2026-07-01 08: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-01 08:18:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 08: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-01 08:18:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08: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-01 08: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-01 08:18:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:18:23] local.INFO: Teltonika packet parsed successfully {"connection_id":120704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:18:23] local.INFO: Passing IMEI to GPS processor {"connection_id":120704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:18:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":120704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:18:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:18:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:18:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:18:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415705856001,"66":13243,"97":206,"85":15104,"24":0,"16":101187724391743488,"45":8867024741622228992},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-01 08:18:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:18:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:18:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415705856001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:18:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 08:18:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 08:18:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101187724391743488,"km_value":101187724391743.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:18:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867024741622228992,"description":"Unknown IO ID 45"} 
[2026-07-01 08:18:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415705856001,"power":13243,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8867024741622228992}} 
[2026-07-01 08:18:23] local.INFO: DEBUG: GPS processor result {"connection_id":120704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416563,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:18:23] local.INFO: GPS data processed {"connection_id":120704,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:18:23] local.INFO: Acknowledgment sent {"connection_id":120704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:18:26] local.INFO: TCP Data received {"connection_id":120705,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:18:26] local.INFO: Processing buffer {"connection_id":120705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:18:26] local.INFO: IMEI packet received {"connection_id":120705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":120705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:18:32] local.INFO: TCP Data received {"connection_id":120705,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b922b40012d114e4006e403d8000801602f..."} 
[2026-07-01 08:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b922b40012d114e4006e403d8000801602f..."} 
[2026-07-01 08:18:32] local.INFO: Processing buffer {"connection_id":120705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b922b40012d114e4006e403d8000801602f..."} 
[2026-07-01 08:18:32] local.INFO: Packet analysis {"connection_id":120705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b92"} 
[2026-07-01 08:18:32] local.INFO: Extracted packet for processing {"connection_id":120705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b92"} 
[2026-07-01 08:18:32] local.INFO: GPS Element Parsed {"raw_longitude":756108864,"raw_latitude":115606488,"longitude_deg":75.6108864,"latitude_deg":11.5606488,"altitude":8,"angle":352,"satellites":47,"speed":62,"hex_longitude":"2d114e40","hex_latitude":"06e403d8","is_valid_coordinates":true} 
[2026-07-01 08:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415740416001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333081126190972928,"note":"Value kept but may cause issues"} 
[2026-07-01 08:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1248271182560438272,"note":"Value kept but may cause issues"} 
[2026-07-01 08:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782873992000,"timestamp_ms":1782873992000,"timestamp_seconds":1782873992,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b922b40"} 
[2026-07-01 08:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:18:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 08:18:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:18:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":120705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":120705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":120705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415740416001,"66":27832,"111":206,"81":20480,"24":62,"16":333081126190972928,"45":1248271182560438272},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,81,24,16,45]} 
[2026-07-01 08:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415740416001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:18:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-01 08:18:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-01 08:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333081126190972928,"km_value":333081126190972.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1248271182560438272,"description":"Unknown IO ID 45"} 
[2026-07-01 08:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415740416001,"power":27832,"unknown_111":206,"unknown_81":20480,"ignition":62,"odometer":null,"unknown_45":1248271182560438272}} 
[2026-07-01 08:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":120705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:18:32] local.INFO: GPS data processed {"connection_id":120705,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:18:32] local.INFO: Acknowledgment sent {"connection_id":120705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:18:55] local.INFO: TCP Data received {"connection_id":120704,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b924698012d7b0dc005e2fdd8000000f823..."} 
[2026-07-01 08:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b924698012d7b0dc005e2fdd8000000f823..."} 
[2026-07-01 08:18:55] local.INFO: Processing buffer {"connection_id":120704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b924698012d7b0dc005e2fdd8000000f823..."} 
[2026-07-01 08:18:55] local.INFO: Packet analysis {"connection_id":120704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b92"} 
[2026-07-01 08:18:55] local.INFO: Extracted packet for processing {"connection_id":120704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b92"} 
[2026-07-01 08:18:55] local.INFO: GPS Element Parsed {"raw_longitude":763039168,"raw_latitude":98762200,"longitude_deg":76.3039168,"latitude_deg":9.87622,"altitude":0,"angle":248,"satellites":35,"speed":0,"hex_longitude":"2d7b0dc0","hex_latitude":"05e2fdd8","is_valid_coordinates":true} 
[2026-07-01 08:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415743744001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101187724391743488,"note":"Value kept but may cause issues"} 
[2026-07-01 08:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866954372878030848,"note":"Value kept but may cause issues"} 
[2026-07-01 08:18: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-01 08:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782873999000,"timestamp_ms":1782873999000,"timestamp_seconds":1782873999,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b924698"} 
[2026-07-01 08:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:18: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-01 08:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-01 08:18: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-01 08:18:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":120704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":120704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":120704,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415743744001,"66":13243,"97":206,"85":15104,"24":0,"16":101187724391743488,"45":8866954372878030848},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-01 08:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415743744001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:18:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 08:18:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 08:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101187724391743488,"km_value":101187724391743.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866954372878030848,"description":"Unknown IO ID 45"} 
[2026-07-01 08:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415743744001,"power":13243,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8866954372878030848}} 
[2026-07-01 08:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":120704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416565,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:18:55] local.INFO: GPS data processed {"connection_id":120704,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:18:55] local.INFO: Acknowledgment sent {"connection_id":120704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:19:03] local.INFO: TCP Data received {"connection_id":120705,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b923ae0012d11498006e41908000701542e..."} 
[2026-07-01 08:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b923ae0012d11498006e41908000701542e..."} 
[2026-07-01 08:19:03] local.INFO: Processing buffer {"connection_id":120705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b923ae0012d11498006e41908000701542e..."} 
[2026-07-01 08:19:03] local.INFO: Packet analysis {"connection_id":120705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b92"} 
[2026-07-01 08:19:03] local.INFO: Extracted packet for processing {"connection_id":120705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b92"} 
[2026-07-01 08:19:03] local.INFO: GPS Element Parsed {"raw_longitude":756107648,"raw_latitude":115611912,"longitude_deg":75.6107648,"latitude_deg":11.5611912,"altitude":7,"angle":340,"satellites":46,"speed":52,"hex_longitude":"2d114980","hex_latitude":"06e41908","is_valid_coordinates":true} 
[2026-07-01 08:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415741952001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333081396773912576,"note":"Value kept but may cause issues"} 
[2026-07-01 08:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1247004545167644672,"note":"Value kept but may cause issues"} 
[2026-07-01 08:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782873996000,"timestamp_ms":1782873996000,"timestamp_seconds":1782873996,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b923ae0"} 
[2026-07-01 08:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-01 08:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:19:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":120705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":120705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":120705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:19:03] local.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-01 08:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415741952001,"66":27745,"112":206,"81":20480,"24":52,"16":333081396773912576,"45":1247004545167644672},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,81,24,16,45]} 
[2026-07-01 08:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415741952001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:19:03] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-01 08:19:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-01 08:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333081396773912576,"km_value":333081396773912.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1247004545167644672,"description":"Unknown IO ID 45"} 
[2026-07-01 08:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415741952001,"power":27745,"unknown_112":206,"unknown_81":20480,"ignition":52,"odometer":null,"unknown_45":1247004545167644672}} 
[2026-07-01 08:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":120705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:19:03] local.INFO: GPS data processed {"connection_id":120705,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:19:03] local.INFO: Acknowledgment sent {"connection_id":120705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:19:19] local.INFO: TCP Data received {"connection_id":119596,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119596,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:19:19] local.INFO: Processing buffer {"connection_id":119596,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:19:19] local.INFO: IMEI packet received {"connection_id":119596,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 08:19:19] local.INFO: IMEI acknowledgment sent {"connection_id":119596,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:19:21] local.INFO: TCP Data received {"connection_id":118937,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:19:21] local.INFO: Processing buffer {"connection_id":118937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:19:21] local.INFO: IMEI packet received {"connection_id":118937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 08:19:21] local.INFO: IMEI acknowledgment sent {"connection_id":118937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:19:22] local.INFO: TCP Data received {"connection_id":119596,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119596,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:19:22] local.INFO: Processing buffer {"connection_id":119596,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:19:22] local.INFO: IMEI packet received {"connection_id":119596,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":119596,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:19:23] local.INFO: TCP Data received {"connection_id":119596,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b925638012d7b0c8005e2fd800000003b21..."} 
[2026-07-01 08:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b925638012d7b0c8005e2fd800000003b21..."} 
[2026-07-01 08:19:23] local.INFO: Processing buffer {"connection_id":119596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b925638012d7b0c8005e2fd800000003b21..."} 
[2026-07-01 08:19:23] local.INFO: Packet analysis {"connection_id":119596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b92"} 
[2026-07-01 08:19:23] local.INFO: Extracted packet for processing {"connection_id":119596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b92"} 
[2026-07-01 08:19:23] local.INFO: GPS Element Parsed {"raw_longitude":763038848,"raw_latitude":98762112,"longitude_deg":76.3038848,"latitude_deg":9.8762112,"altitude":0,"angle":59,"satellites":33,"speed":0,"hex_longitude":"2d7b0c80","hex_latitude":"05e2fd80","is_valid_coordinates":true} 
[2026-07-01 08:19:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:19:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415743744001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:19:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101187724391743488,"note":"Value kept but may cause issues"} 
[2026-07-01 08:19:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866954372878030848,"note":"Value kept but may cause issues"} 
[2026-07-01 08:19:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:19:23] local.INFO: AVL Record Parsed {"raw_timestamp":1782874003000,"timestamp_ms":1782874003000,"timestamp_seconds":1782874003,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b925638"} 
[2026-07-01 08:19:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:19: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-01 08:19:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-01 08:19: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-01 08:19:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:19:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:19:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:19:23] local.INFO: Teltonika packet parsed successfully {"connection_id":119596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:19:23] local.INFO: Passing IMEI to GPS processor {"connection_id":119596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:19:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":119596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:19:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:19:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:19:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:19:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415743744001,"66":12385,"97":206,"85":15104,"24":0,"16":101187724391743488,"45":8866954372878030848},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-01 08:19:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:19:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:19:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415743744001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:19:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 08:19:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 08:19:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101187724391743488,"km_value":101187724391743.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:19:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866954372878030848,"description":"Unknown IO ID 45"} 
[2026-07-01 08:19:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415743744001,"power":12385,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8866954372878030848}} 
[2026-07-01 08:19:23] local.INFO: DEBUG: GPS processor result {"connection_id":119596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416567,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:19:23] local.INFO: GPS data processed {"connection_id":119596,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:19:23] local.INFO: Acknowledgment sent {"connection_id":119596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:19:26] local.INFO: TCP Data received {"connection_id":118937,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:19:26] local.INFO: Processing buffer {"connection_id":118937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:19:26] local.INFO: IMEI packet received {"connection_id":118937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":118937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:19:27] local.INFO: TCP Data received {"connection_id":118937,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b925a20012d1138c006e43c080008014933..."} 
[2026-07-01 08:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b925a20012d1138c006e43c080008014933..."} 
[2026-07-01 08:19:27] local.INFO: Processing buffer {"connection_id":118937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b925a20012d1138c006e43c080008014933..."} 
[2026-07-01 08:19:27] local.INFO: Packet analysis {"connection_id":118937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b92"} 
[2026-07-01 08:19:27] local.INFO: Extracted packet for processing {"connection_id":118937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b92"} 
[2026-07-01 08:19:27] local.INFO: GPS Element Parsed {"raw_longitude":756103360,"raw_latitude":115620872,"longitude_deg":75.610336,"latitude_deg":11.5620872,"altitude":8,"angle":329,"satellites":51,"speed":46,"hex_longitude":"2d1138c0","hex_latitude":"06e43c08","is_valid_coordinates":true} 
[2026-07-01 08:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:19:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415742976001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:19:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333081877810249728,"note":"Value kept but may cause issues"} 
[2026-07-01 08:19:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1245667539029657600,"note":"Value kept but may cause issues"} 
[2026-07-01 08:19:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:19:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782874004000,"timestamp_ms":1782874004000,"timestamp_seconds":1782874004,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b925a20"} 
[2026-07-01 08:19:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:19:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 08:19:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:19:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:19:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:19:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:19:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:19:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:19:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:19:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:19:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:19:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:19:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415742976001,"66":27865,"112":206,"81":20480,"24":46,"16":333081877810249728,"45":1245667539029657600},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,81,24,16,45]} 
[2026-07-01 08:19:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:19:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:19:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415742976001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:19:27] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-01 08:19:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-01 08:19:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333081877810249728,"km_value":333081877810249.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:19:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1245667539029657600,"description":"Unknown IO ID 45"} 
[2026-07-01 08:19:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415742976001,"power":27865,"unknown_112":206,"unknown_81":20480,"ignition":46,"odometer":null,"unknown_45":1245667539029657600}} 
[2026-07-01 08:19:28] local.INFO: DEBUG: GPS processor result {"connection_id":118937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:19:28] local.INFO: GPS data processed {"connection_id":118937,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:19:28] local.INFO: Acknowledgment sent {"connection_id":118937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:19:55] local.INFO: TCP Data received {"connection_id":119596,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b928130012d7b0d4005e2fe400000000323..."} 
[2026-07-01 08:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b928130012d7b0d4005e2fe400000000323..."} 
[2026-07-01 08:19:55] local.INFO: Processing buffer {"connection_id":119596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b928130012d7b0d4005e2fe400000000323..."} 
[2026-07-01 08:19:55] local.INFO: Packet analysis {"connection_id":119596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b92"} 
[2026-07-01 08:19:55] local.INFO: Extracted packet for processing {"connection_id":119596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b92"} 
[2026-07-01 08:19:55] local.INFO: GPS Element Parsed {"raw_longitude":763039040,"raw_latitude":98762304,"longitude_deg":76.303904,"latitude_deg":9.8762304,"altitude":0,"angle":3,"satellites":35,"speed":3,"hex_longitude":"2d7b0d40","hex_latitude":"05e2fe40","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415744768001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101187737276645376,"note":"Value kept but may cause issues"} 
[2026-07-01 08:19:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866602529157120000,"note":"Value kept but may cause issues"} 
[2026-07-01 08:19: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-01 08:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782874014000,"timestamp_ms":1782874014000,"timestamp_seconds":1782874014,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b928130"} 
[2026-07-01 08: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-01 08: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-01 08: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 08:19:55] 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-01 08: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-01 08: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-01 08:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":119596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":119596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":119596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:19:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415744768001,"66":11602,"97":206,"85":15104,"24":3,"16":101187737276645376,"45":8866602529157120000},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-01 08:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415744768001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:19:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 08:19:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 08:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101187737276645376,"km_value":101187737276645.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:19:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866602529157120000,"description":"Unknown IO ID 45"} 
[2026-07-01 08:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415744768001,"power":11602,"unknown_97":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8866602529157120000}} 
[2026-07-01 08:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":119596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416569,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:19:55] local.INFO: GPS data processed {"connection_id":119596,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:19:55] local.INFO: Acknowledgment sent {"connection_id":119596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:19:59] local.INFO: TCP Data received {"connection_id":118937,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b927d48012d1125c006e45d38000c015131..."} 
[2026-07-01 08:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b927d48012d1125c006e45d38000c015131..."} 
[2026-07-01 08:19:59] local.INFO: Processing buffer {"connection_id":118937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b927d48012d1125c006e45d38000c015131..."} 
[2026-07-01 08:19:59] local.INFO: Packet analysis {"connection_id":118937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b92"} 
[2026-07-01 08:19:59] local.INFO: Extracted packet for processing {"connection_id":118937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b92"} 
[2026-07-01 08:19:59] local.INFO: GPS Element Parsed {"raw_longitude":756098496,"raw_latitude":115629368,"longitude_deg":75.6098496,"latitude_deg":11.5629368,"altitude":12,"angle":337,"satellites":49,"speed":40,"hex_longitude":"2d1125c0","hex_latitude":"06e45d38","is_valid_coordinates":true} 
[2026-07-01 08:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415745024001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333082350256652288,"note":"Value kept but may cause issues"} 
[2026-07-01 08:19:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1240952833172047872,"note":"Value kept but may cause issues"} 
[2026-07-01 08:19:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782874013000,"timestamp_ms":1782874013000,"timestamp_seconds":1782874013,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b927d48"} 
[2026-07-01 08:19:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:19: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-01 08:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 08:19:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:19:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:19:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:19:59] 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-01 08:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415745024001,"66":27800,"112":206,"81":20480,"24":40,"16":333082350256652288,"45":1240952833172047872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,81,24,16,45]} 
[2026-07-01 08:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415745024001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:19:59] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-01 08:19:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-07-01 08:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333082350256652288,"km_value":333082350256652.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:19:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1240952833172047872,"description":"Unknown IO ID 45"} 
[2026-07-01 08:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415745024001,"power":27800,"unknown_112":206,"unknown_81":20480,"ignition":40,"odometer":null,"unknown_45":1240952833172047872}} 
[2026-07-01 08:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":118937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:19:59] local.INFO: GPS data processed {"connection_id":118937,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:19:59] local.INFO: Acknowledgment sent {"connection_id":118937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:20:18] local.INFO: TCP Data received {"connection_id":118938,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118938,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:20:18] local.INFO: Processing buffer {"connection_id":118938,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:20:18] local.INFO: IMEI packet received {"connection_id":118938,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 08:20:18] local.INFO: IMEI acknowledgment sent {"connection_id":118938,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:20:21] local.INFO: TCP Data received {"connection_id":120706,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:20:21] local.INFO: Processing buffer {"connection_id":120706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:20:21] local.INFO: IMEI packet received {"connection_id":120706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 08:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":120706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:20:21] local.INFO: TCP Data received {"connection_id":118938,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118938,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:20:21] local.INFO: Processing buffer {"connection_id":118938,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:20:21] local.INFO: IMEI packet received {"connection_id":118938,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":118938,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:20:23] local.INFO: TCP Data received {"connection_id":118938,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118938,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:20:23] local.INFO: Processing buffer {"connection_id":118938,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:20:23] local.INFO: IMEI packet received {"connection_id":118938,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:20:23] local.INFO: IMEI acknowledgment sent {"connection_id":118938,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:20:24] local.INFO: TCP Data received {"connection_id":118938,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b929c88012d7b0cc005e304480000015f22..."} 
[2026-07-01 08:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b929c88012d7b0cc005e304480000015f22..."} 
[2026-07-01 08:20:24] local.INFO: Processing buffer {"connection_id":118938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b929c88012d7b0cc005e304480000015f22..."} 
[2026-07-01 08:20:24] local.INFO: Packet analysis {"connection_id":118938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b92"} 
[2026-07-01 08:20:24] local.INFO: Extracted packet for processing {"connection_id":118938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b92"} 
[2026-07-01 08:20:24] local.INFO: GPS Element Parsed {"raw_longitude":763038912,"raw_latitude":98763848,"longitude_deg":76.3038912,"latitude_deg":9.8763848,"altitude":0,"angle":351,"satellites":34,"speed":14,"hex_longitude":"2d7b0cc0","hex_latitude":"05e30448","is_valid_coordinates":true} 
[2026-07-01 08:20:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:20:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415747584001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:20:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101187814586056704,"note":"Value kept but may cause issues"} 
[2026-07-01 08:20:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866813635389702144,"note":"Value kept but may cause issues"} 
[2026-07-01 08:20: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-01 08:20:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782874021000,"timestamp_ms":1782874021000,"timestamp_seconds":1782874021,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b929c88"} 
[2026-07-01 08:20:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08: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-01 08:20:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-07-01 08:20:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1161,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:20:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:20:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:20:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:20:24] local.INFO: Teltonika packet parsed successfully {"connection_id":118938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:20:24] local.INFO: Passing IMEI to GPS processor {"connection_id":118938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:20:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":118938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:20:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:20:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:20:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:20:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415747584001,"66":12613,"97":206,"85":15104,"24":14,"16":101187814586056704,"45":8866813635389702144},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-01 08:20:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:20:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:20:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415747584001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:20:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 08:20:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 08:20:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101187814586056704,"km_value":101187814586056.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:20:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866813635389702144,"description":"Unknown IO ID 45"} 
[2026-07-01 08:20:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415747584001,"power":12613,"unknown_97":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8866813635389702144}} 
[2026-07-01 08:20:24] local.INFO: DEBUG: GPS processor result {"connection_id":118938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416571,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:20:24] local.INFO: GPS data processed {"connection_id":118938,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:20:24] local.INFO: Acknowledgment sent {"connection_id":118938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:20:26] local.INFO: TCP Data received {"connection_id":120706,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:20:26] local.INFO: Processing buffer {"connection_id":120706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:20:26] local.INFO: IMEI packet received {"connection_id":120706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":120706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:20:27] local.INFO: TCP Data received {"connection_id":118938,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b92eaa8012d7b07c005e325a00000016221..."} 
[2026-07-01 08:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b92eaa8012d7b07c005e325a00000016221..."} 
[2026-07-01 08:20:27] local.INFO: Processing buffer {"connection_id":118938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b92eaa8012d7b07c005e325a00000016221..."} 
[2026-07-01 08:20:27] local.INFO: Packet analysis {"connection_id":118938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b92"} 
[2026-07-01 08:20:27] local.INFO: Extracted packet for processing {"connection_id":118938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b92"} 
[2026-07-01 08:20:27] local.INFO: GPS Element Parsed {"raw_longitude":763037632,"raw_latitude":98772384,"longitude_deg":76.3037632,"latitude_deg":9.8772384,"altitude":0,"angle":354,"satellites":33,"speed":15,"hex_longitude":"2d7b07c0","hex_latitude":"05e325a0","is_valid_coordinates":true} 
[2026-07-01 08:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415749376001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101188231197884416,"note":"Value kept but may cause issues"} 
[2026-07-01 08:20:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866672897901742080,"note":"Value kept but may cause issues"} 
[2026-07-01 08:20:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782874041000,"timestamp_ms":1782874041000,"timestamp_seconds":1782874041,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b92eaa8"} 
[2026-07-01 08:20:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:20:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-01 08:20:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:20:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:20:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:20:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415749376001,"66":13102,"97":206,"85":15104,"24":15,"16":101188231197884416,"45":8866672897901742080},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-01 08:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415749376001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:20:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 08:20:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 08:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101188231197884416,"km_value":101188231197884.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:20:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866672897901742080,"description":"Unknown IO ID 45"} 
[2026-07-01 08:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415749376001,"power":13102,"unknown_97":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8866672897901742080}} 
[2026-07-01 08:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":118938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416572,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:20:27] local.INFO: GPS data processed {"connection_id":118938,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:20:27] local.INFO: Acknowledgment sent {"connection_id":118938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:20:28] local.INFO: TCP Data received {"connection_id":120706,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b928900012d11218006e46888000d015233..."} 
[2026-07-01 08:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b928900012d11218006e46888000d015233..."} 
[2026-07-01 08:20:28] local.INFO: Processing buffer {"connection_id":120706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b928900012d11218006e46888000d015233..."} 
[2026-07-01 08:20:28] local.INFO: Packet analysis {"connection_id":120706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b92"} 
[2026-07-01 08:20:28] local.INFO: Extracted packet for processing {"connection_id":120706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b92"} 
[2026-07-01 08:20:28] local.INFO: GPS Element Parsed {"raw_longitude":756097408,"raw_latitude":115632264,"longitude_deg":75.6097408,"latitude_deg":11.5632264,"altitude":13,"angle":338,"satellites":51,"speed":42,"hex_longitude":"2d112180","hex_latitude":"06e46888","is_valid_coordinates":true} 
[2026-07-01 08:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:20:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415747328001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:20:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333082500580507648,"note":"Value kept but may cause issues"} 
[2026-07-01 08:20:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1235604808616720384,"note":"Value kept but may cause issues"} 
[2026-07-01 08:20:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:20:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782874016000,"timestamp_ms":1782874016000,"timestamp_seconds":1782874016,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b928900"} 
[2026-07-01 08: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-01 08:20:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 08:20:28] 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-01 08: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-01 08: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-01 08:20:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:20:28] local.INFO: Teltonika packet parsed successfully {"connection_id":120706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:20:28] local.INFO: Passing IMEI to GPS processor {"connection_id":120706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:20:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":120706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:20:28] 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-01 08:20:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:20:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:20:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415747328001,"66":27908,"245":206,"80":6400,"24":42,"16":333082500580507648,"45":1235604808616720384},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-07-01 08:20:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:20:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:20:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415747328001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:20:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:20:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333082500580507648,"km_value":333082500580507.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:20:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1235604808616720384,"description":"Unknown IO ID 45"} 
[2026-07-01 08:20:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415747328001,"power":27908,"geofence_id":206,"unknown_80":6400,"ignition":42,"odometer":null,"unknown_45":1235604808616720384}} 
[2026-07-01 08:20:28] local.INFO: DEBUG: GPS processor result {"connection_id":120706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:20:28] local.INFO: GPS data processed {"connection_id":120706,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:20:28] local.INFO: Acknowledgment sent {"connection_id":120706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:20:58] local.INFO: TCP Data received {"connection_id":118938,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b95d0d8012d7acb0005e411a00008010a2b..."} 
[2026-07-01 08:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b95d0d8012d7acb0005e411a00008010a2b..."} 
[2026-07-01 08:20:58] local.INFO: Processing buffer {"connection_id":118938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b95d0d8012d7acb0005e411a00008010a2b..."} 
[2026-07-01 08:20:58] local.INFO: Packet analysis {"connection_id":118938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b95"} 
[2026-07-01 08:20:58] local.INFO: Extracted packet for processing {"connection_id":118938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b95"} 
[2026-07-01 08:20:58] local.INFO: GPS Element Parsed {"raw_longitude":763022080,"raw_latitude":98832800,"longitude_deg":76.302208,"latitude_deg":9.88328,"altitude":8,"angle":266,"satellites":43,"speed":5,"hex_longitude":"2d7acb00","hex_latitude":"05e411a0","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:20:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415801600001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101191289214599168,"note":"Value kept but may cause issues"} 
[2026-07-01 08:20:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849010343130570752,"note":"Value kept but may cause issues"} 
[2026-07-01 08:20:58] 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-01 08:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782874231000,"timestamp_ms":1782874231000,"timestamp_seconds":1782874231,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b95d0d8"} 
[2026-07-01 08: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-01 08:20:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 08:20: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-01 08: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-01 08: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-01 08:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:20:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:20:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415801600001,"66":13254,"97":206,"85":15104,"24":5,"16":101191289214599168,"45":8849010343130570752},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-01 08:20:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:20:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:20:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415801600001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:20:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 08:20:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 08:20:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101191289214599168,"km_value":101191289214599.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:20:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849010343130570752,"description":"Unknown IO ID 45"} 
[2026-07-01 08:20:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415801600001,"power":13254,"unknown_97":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8849010343130570752}} 
[2026-07-01 08:20:58] local.INFO: DEBUG: GPS processor result {"connection_id":118938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416574,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:20:58] local.INFO: GPS data processed {"connection_id":118938,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:20:58] local.INFO: Acknowledgment sent {"connection_id":118938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:20:59] local.INFO: TCP Data received {"connection_id":120706,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b928900012d11218006e46888000d015233..."} 
[2026-07-01 08:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b928900012d11218006e46888000d015233..."} 
[2026-07-01 08:20:59] local.INFO: Processing buffer {"connection_id":120706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b928900012d11218006e46888000d015233..."} 
[2026-07-01 08:20:59] local.INFO: Packet analysis {"connection_id":120706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b92"} 
[2026-07-01 08:20:59] local.INFO: Extracted packet for processing {"connection_id":120706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b92"} 
[2026-07-01 08:20:59] local.INFO: GPS Element Parsed {"raw_longitude":756097408,"raw_latitude":115632264,"longitude_deg":75.6097408,"latitude_deg":11.5632264,"altitude":13,"angle":338,"satellites":51,"speed":42,"hex_longitude":"2d112180","hex_latitude":"06e46888","is_valid_coordinates":true} 
[2026-07-01 08:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415747328001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333082500580507648,"note":"Value kept but may cause issues"} 
[2026-07-01 08:20:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1235604808616720384,"note":"Value kept but may cause issues"} 
[2026-07-01 08:20:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782874016000,"timestamp_ms":1782874016000,"timestamp_seconds":1782874016,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b928900"} 
[2026-07-01 08:20:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:20: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-01 08:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 08:20:59] 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-01 08:20:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:20:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":120706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":120706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":120706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:20:59] 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-01 08:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415747328001,"66":27908,"245":206,"80":6400,"24":42,"16":333082500580507648,"45":1235604808616720384},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-07-01 08:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415747328001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:20:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333082500580507648,"km_value":333082500580507.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1235604808616720384,"description":"Unknown IO ID 45"} 
[2026-07-01 08:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415747328001,"power":27908,"geofence_id":206,"unknown_80":6400,"ignition":42,"odometer":null,"unknown_45":1235604808616720384}} 
[2026-07-01 08:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":120706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:20:59] local.INFO: GPS data processed {"connection_id":120706,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:20:59] local.INFO: Acknowledgment sent {"connection_id":120706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:21:18] local.INFO: TCP Data received {"connection_id":118940,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118940,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:21:18] local.INFO: Processing buffer {"connection_id":118940,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:21:18] local.INFO: IMEI packet received {"connection_id":118940,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 08:21:18] local.INFO: IMEI acknowledgment sent {"connection_id":118940,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:21:24] local.INFO: TCP Data received {"connection_id":118940,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118940,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:21:24] local.INFO: Processing buffer {"connection_id":118940,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:21:24] local.INFO: IMEI packet received {"connection_id":118940,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":118940,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:21:25] local.INFO: TCP Data received {"connection_id":118940,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b95d4c0012d7aca0005e41178000800fc2d..."} 
[2026-07-01 08:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b95d4c0012d7aca0005e41178000800fc2d..."} 
[2026-07-01 08:21:25] local.INFO: Processing buffer {"connection_id":118940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b95d4c0012d7aca0005e41178000800fc2d..."} 
[2026-07-01 08:21:25] local.INFO: Packet analysis {"connection_id":118940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b95"} 
[2026-07-01 08:21:25] local.INFO: Extracted packet for processing {"connection_id":118940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b95"} 
[2026-07-01 08:21:25] local.INFO: GPS Element Parsed {"raw_longitude":763021824,"raw_latitude":98832760,"longitude_deg":76.3021824,"latitude_deg":9.883276,"altitude":8,"angle":252,"satellites":45,"speed":7,"hex_longitude":"2d7aca00","hex_latitude":"05e41178","is_valid_coordinates":true} 
[2026-07-01 08:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415803136001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101191297804533760,"note":"Value kept but may cause issues"} 
[2026-07-01 08:21:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848165918200668160,"note":"Value kept but may cause issues"} 
[2026-07-01 08:21: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-01 08:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782874232000,"timestamp_ms":1782874232000,"timestamp_seconds":1782874232,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b95d4c0"} 
[2026-07-01 08:21:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:21: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-01 08:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-01 08:21: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-01 08:21:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:21:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":118940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":118940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":118940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:21:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415803136001,"66":13254,"97":206,"85":15104,"24":7,"16":101191297804533760,"45":8848165918200668160},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-01 08:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415803136001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:21:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 08:21:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 08:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101191297804533760,"km_value":101191297804533.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:21:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848165918200668160,"description":"Unknown IO ID 45"} 
[2026-07-01 08:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415803136001,"power":13254,"unknown_97":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8848165918200668160}} 
[2026-07-01 08:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":118940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416576,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:21:25] local.INFO: GPS data processed {"connection_id":118940,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:21:25] local.INFO: Acknowledgment sent {"connection_id":118940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:21:26] local.INFO: TCP Data received {"connection_id":119598,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:21:26] local.INFO: Processing buffer {"connection_id":119598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:21:26] local.INFO: IMEI packet received {"connection_id":119598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 08:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":119598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:21:32] local.INFO: TCP Data received {"connection_id":119598,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:21:32] local.INFO: Processing buffer {"connection_id":119598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:21:32] local.INFO: IMEI packet received {"connection_id":119598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":119598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:21:33] local.INFO: TCP Data received {"connection_id":119598,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b928900012d11218006e46888000d015233..."} 
[2026-07-01 08:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b928900012d11218006e46888000d015233..."} 
[2026-07-01 08:21:33] local.INFO: Processing buffer {"connection_id":119598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b928900012d11218006e46888000d015233..."} 
[2026-07-01 08:21:33] local.INFO: Packet analysis {"connection_id":119598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b92"} 
[2026-07-01 08:21:33] local.INFO: Extracted packet for processing {"connection_id":119598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b92"} 
[2026-07-01 08:21:33] local.INFO: GPS Element Parsed {"raw_longitude":756097408,"raw_latitude":115632264,"longitude_deg":75.6097408,"latitude_deg":11.5632264,"altitude":13,"angle":338,"satellites":51,"speed":42,"hex_longitude":"2d112180","hex_latitude":"06e46888","is_valid_coordinates":true} 
[2026-07-01 08:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415747328001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333082500580507648,"note":"Value kept but may cause issues"} 
[2026-07-01 08:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1235604808616720384,"note":"Value kept but may cause issues"} 
[2026-07-01 08:21:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782874016000,"timestamp_ms":1782874016000,"timestamp_seconds":1782874016,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b928900"} 
[2026-07-01 08: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-01 08:21:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 08:21:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08: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-01 08: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-01 08:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":119598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":119598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":119598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:21:33] 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-01 08:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415747328001,"66":27908,"245":206,"80":6400,"24":42,"16":333082500580507648,"45":1235604808616720384},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-07-01 08:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415747328001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:21:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333082500580507648,"km_value":333082500580507.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1235604808616720384,"description":"Unknown IO ID 45"} 
[2026-07-01 08:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415747328001,"power":27908,"geofence_id":206,"unknown_80":6400,"ignition":42,"odometer":null,"unknown_45":1235604808616720384}} 
[2026-07-01 08:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":119598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:21:33] local.INFO: GPS data processed {"connection_id":119598,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:21:33] local.INFO: Acknowledgment sent {"connection_id":119598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:21:37] local.INFO: TCP Data received {"connection_id":119598,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b928900012d11218006e46888000d015233..."} 
[2026-07-01 08:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b928900012d11218006e46888000d015233..."} 
[2026-07-01 08:21:37] local.INFO: Processing buffer {"connection_id":119598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b928900012d11218006e46888000d015233..."} 
[2026-07-01 08:21:37] local.INFO: Packet analysis {"connection_id":119598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b92"} 
[2026-07-01 08:21:37] local.INFO: Extracted packet for processing {"connection_id":119598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b92"} 
[2026-07-01 08:21:37] local.INFO: GPS Element Parsed {"raw_longitude":756097408,"raw_latitude":115632264,"longitude_deg":75.6097408,"latitude_deg":11.5632264,"altitude":13,"angle":338,"satellites":51,"speed":42,"hex_longitude":"2d112180","hex_latitude":"06e46888","is_valid_coordinates":true} 
[2026-07-01 08:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415747328001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333082500580507648,"note":"Value kept but may cause issues"} 
[2026-07-01 08:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1235604808616720384,"note":"Value kept but may cause issues"} 
[2026-07-01 08:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782874016000,"timestamp_ms":1782874016000,"timestamp_seconds":1782874016,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b928900"} 
[2026-07-01 08:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 08:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":119598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":119598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":119598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415747328001,"66":27908,"245":206,"80":6400,"24":42,"16":333082500580507648,"45":1235604808616720384},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-07-01 08:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415747328001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:21:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333082500580507648,"km_value":333082500580507.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1235604808616720384,"description":"Unknown IO ID 45"} 
[2026-07-01 08:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415747328001,"power":27908,"geofence_id":206,"unknown_80":6400,"ignition":42,"odometer":null,"unknown_45":1235604808616720384}} 
[2026-07-01 08:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":119598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:21:37] local.INFO: GPS data processed {"connection_id":119598,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:21:37] local.INFO: Acknowledgment sent {"connection_id":119598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:21:42] local.INFO: TCP Data received {"connection_id":119598,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b928900012d11218006e46888000d015233..."} 
[2026-07-01 08:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b928900012d11218006e46888000d015233..."} 
[2026-07-01 08:21:42] local.INFO: Processing buffer {"connection_id":119598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b928900012d11218006e46888000d015233..."} 
[2026-07-01 08:21:42] local.INFO: Packet analysis {"connection_id":119598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b92"} 
[2026-07-01 08:21:42] local.INFO: Extracted packet for processing {"connection_id":119598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b92"} 
[2026-07-01 08:21:42] local.INFO: GPS Element Parsed {"raw_longitude":756097408,"raw_latitude":115632264,"longitude_deg":75.6097408,"latitude_deg":11.5632264,"altitude":13,"angle":338,"satellites":51,"speed":42,"hex_longitude":"2d112180","hex_latitude":"06e46888","is_valid_coordinates":true} 
[2026-07-01 08:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415747328001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333082500580507648,"note":"Value kept but may cause issues"} 
[2026-07-01 08:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1235604808616720384,"note":"Value kept but may cause issues"} 
[2026-07-01 08:21:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782874016000,"timestamp_ms":1782874016000,"timestamp_seconds":1782874016,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b928900"} 
[2026-07-01 08: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-01 08:21:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 08:21:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08: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-01 08: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-01 08:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":119598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":119598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":119598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:21: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-01 08:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415747328001,"66":27908,"245":206,"80":6400,"24":42,"16":333082500580507648,"45":1235604808616720384},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-07-01 08:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415747328001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:21:42] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333082500580507648,"km_value":333082500580507.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1235604808616720384,"description":"Unknown IO ID 45"} 
[2026-07-01 08:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415747328001,"power":27908,"geofence_id":206,"unknown_80":6400,"ignition":42,"odometer":null,"unknown_45":1235604808616720384}} 
[2026-07-01 08:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":119598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:21:42] local.INFO: GPS data processed {"connection_id":119598,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:21:42] local.INFO: Acknowledgment sent {"connection_id":119598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:21:56] local.INFO: TCP Data received {"connection_id":118940,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b9622e0012d7aaf4005e40c780006010424..."} 
[2026-07-01 08:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b9622e0012d7aaf4005e40c780006010424..."} 
[2026-07-01 08:21:56] local.INFO: Processing buffer {"connection_id":118940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b9622e0012d7aaf4005e40c780006010424..."} 
[2026-07-01 08:21:56] local.INFO: Packet analysis {"connection_id":118940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b96"} 
[2026-07-01 08:21:56] local.INFO: Extracted packet for processing {"connection_id":118940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b96"} 
[2026-07-01 08:21:56] local.INFO: GPS Element Parsed {"raw_longitude":763014976,"raw_latitude":98831480,"longitude_deg":76.3014976,"latitude_deg":9.883148,"altitude":6,"angle":260,"satellites":36,"speed":11,"hex_longitude":"2d7aaf40","hex_latitude":"05e40c78","is_valid_coordinates":true} 
[2026-07-01 08:21:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415803392001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101191637106950144,"note":"Value kept but may cause issues"} 
[2026-07-01 08:21:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8847884443223947264,"note":"Value kept but may cause issues"} 
[2026-07-01 08:21:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782874252000,"timestamp_ms":1782874252000,"timestamp_seconds":1782874252,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b9622e0"} 
[2026-07-01 08:21:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:21:56] 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-01 08:21:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-01 08:21: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-01 08:21:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:21:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":118940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":118940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":118940,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:21:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415803392001,"66":13048,"97":206,"85":15104,"24":11,"16":101191637106950144,"45":8847884443223947264},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-01 08:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415803392001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:21:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 08:21:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 08:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101191637106950144,"km_value":101191637106950.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:21:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8847884443223947264,"description":"Unknown IO ID 45"} 
[2026-07-01 08:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415803392001,"power":13048,"unknown_97":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8847884443223947264}} 
[2026-07-01 08:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":118940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416580,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:21:56] local.INFO: GPS data processed {"connection_id":118940,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:21:56] local.INFO: Acknowledgment sent {"connection_id":118940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:22:21] local.INFO: TCP Data received {"connection_id":120708,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:22:21] local.INFO: Processing buffer {"connection_id":120708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:22:21] local.INFO: IMEI packet received {"connection_id":120708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 08:22:21] local.INFO: IMEI acknowledgment sent {"connection_id":120708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:22:24] local.INFO: TCP Data received {"connection_id":120709,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120709,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:22:24] local.INFO: Processing buffer {"connection_id":120709,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:22:24] local.INFO: IMEI packet received {"connection_id":120709,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 08:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":120709,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:22:27] local.INFO: TCP Data received {"connection_id":120708,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:22:27] local.INFO: Processing buffer {"connection_id":120708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:22:27] local.INFO: IMEI packet received {"connection_id":120708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":120708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:22:28] local.INFO: TCP Data received {"connection_id":120709,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120709,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:22:28] local.INFO: Processing buffer {"connection_id":120709,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:22:28] local.INFO: IMEI packet received {"connection_id":120709,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":120709,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:22:29] local.INFO: TCP Data received {"connection_id":120709,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b9674e8012d7a9f4005e40ac0000601092a..."} 
[2026-07-01 08:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b9674e8012d7a9f4005e40ac0000601092a..."} 
[2026-07-01 08:22:29] local.INFO: Processing buffer {"connection_id":120709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b9674e8012d7a9f4005e40ac0000601092a..."} 
[2026-07-01 08:22:29] local.INFO: Packet analysis {"connection_id":120709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b96"} 
[2026-07-01 08:22:29] local.INFO: Extracted packet for processing {"connection_id":120709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b96"} 
[2026-07-01 08:22:29] local.INFO: GPS Element Parsed {"raw_longitude":763010880,"raw_latitude":98831040,"longitude_deg":76.301088,"latitude_deg":9.883104,"altitude":6,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d7a9f40","hex_latitude":"05e40ac0","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:22:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415808512001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:22:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101191856150282240,"note":"Value kept but may cause issues"} 
[2026-07-01 08:22:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8840354987596609536,"note":"Value kept but may cause issues"} 
[2026-07-01 08:22: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-01 08:22:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782874273000,"timestamp_ms":1782874273000,"timestamp_seconds":1782874273,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b9674e8"} 
[2026-07-01 08: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-01 08:22:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-01 08:22:29] 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-01 08: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-01 08: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-01 08:22:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:22:29] local.INFO: Teltonika packet parsed successfully {"connection_id":120709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:22:29] local.INFO: Passing IMEI to GPS processor {"connection_id":120709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:22:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":120709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:22:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:22:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:22:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:22:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415808512001,"66":13091,"97":206,"85":15104,"24":0,"16":101191856150282240,"45":8840354987596609536},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-01 08:22:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:22:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:22:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415808512001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:22:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 08:22:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 08:22:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101191856150282240,"km_value":101191856150282.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:22:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8840354987596609536,"description":"Unknown IO ID 45"} 
[2026-07-01 08:22:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415808512001,"power":13091,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8840354987596609536}} 
[2026-07-01 08:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":120709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416581,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:22:29] local.INFO: GPS data processed {"connection_id":120709,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:22:29] local.INFO: Acknowledgment sent {"connection_id":120709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:22:29] local.INFO: TCP Data received {"connection_id":120708,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b928900012d11218006e46888000d015233..."} 
[2026-07-01 08:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b928900012d11218006e46888000d015233..."} 
[2026-07-01 08:22:29] local.INFO: Processing buffer {"connection_id":120708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b928900012d11218006e46888000d015233..."} 
[2026-07-01 08:22:29] local.INFO: Packet analysis {"connection_id":120708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b92"} 
[2026-07-01 08:22:29] local.INFO: Extracted packet for processing {"connection_id":120708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b92"} 
[2026-07-01 08:22:29] local.INFO: GPS Element Parsed {"raw_longitude":756097408,"raw_latitude":115632264,"longitude_deg":75.6097408,"latitude_deg":11.5632264,"altitude":13,"angle":338,"satellites":51,"speed":42,"hex_longitude":"2d112180","hex_latitude":"06e46888","is_valid_coordinates":true} 
[2026-07-01 08:22: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-01 08:22:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415747328001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:22:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333082500580507648,"note":"Value kept but may cause issues"} 
[2026-07-01 08:22:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1235604808616720384,"note":"Value kept but may cause issues"} 
[2026-07-01 08:22:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:22:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782874016000,"timestamp_ms":1782874016000,"timestamp_seconds":1782874016,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b928900"} 
[2026-07-01 08: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-01 08:22:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 08:22:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08: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-01 08: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-01 08:22:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:22:29] local.INFO: Teltonika packet parsed successfully {"connection_id":120708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:22:29] local.INFO: Passing IMEI to GPS processor {"connection_id":120708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:22:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":120708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:22:29] 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-01 08:22:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:22:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:22:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415747328001,"66":27908,"245":206,"80":6400,"24":42,"16":333082500580507648,"45":1235604808616720384},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-07-01 08:22:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:22:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:22:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415747328001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:22:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:22:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333082500580507648,"km_value":333082500580507.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:22:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1235604808616720384,"description":"Unknown IO ID 45"} 
[2026-07-01 08:22:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415747328001,"power":27908,"geofence_id":206,"unknown_80":6400,"ignition":42,"odometer":null,"unknown_45":1235604808616720384}} 
[2026-07-01 08:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":120708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:22:29] local.INFO: GPS data processed {"connection_id":120708,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:22:29] local.INFO: Acknowledgment sent {"connection_id":120708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:22:29] local.INFO: TCP Data received {"connection_id":120709,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b9680a0012d7a9f8005e40ae00007004e2a..."} 
[2026-07-01 08:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b9680a0012d7a9f8005e40ae00007004e2a..."} 
[2026-07-01 08:22:29] local.INFO: Processing buffer {"connection_id":120709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b9680a0012d7a9f8005e40ae00007004e2a..."} 
[2026-07-01 08:22:29] local.INFO: Packet analysis {"connection_id":120709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b96"} 
[2026-07-01 08:22:29] local.INFO: Extracted packet for processing {"connection_id":120709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b96"} 
[2026-07-01 08:22:29] local.INFO: GPS Element Parsed {"raw_longitude":763010944,"raw_latitude":98831072,"longitude_deg":76.3010944,"latitude_deg":9.8831072,"altitude":7,"angle":78,"satellites":42,"speed":1,"hex_longitude":"2d7a9f80","hex_latitude":"05e40ae0","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:22:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415813888001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:22:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101191860445249536,"note":"Value kept but may cause issues"} 
[2026-07-01 08:22:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835851387969126400,"note":"Value kept but may cause issues"} 
[2026-07-01 08:22: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-01 08:22:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782874276000,"timestamp_ms":1782874276000,"timestamp_seconds":1782874276,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b9680a0"} 
[2026-07-01 08: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-01 08:22:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-01 08:22:29] 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-01 08: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-01 08: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-01 08:22:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:22:29] local.INFO: Teltonika packet parsed successfully {"connection_id":120709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:22:29] local.INFO: Passing IMEI to GPS processor {"connection_id":120709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:22:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":120709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:22:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:22:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:22:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:22:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415813888001,"66":13037,"97":206,"85":15104,"24":1,"16":101191860445249536,"45":8835851387969126400},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-01 08:22:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:22:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:22:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415813888001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:22:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 08:22:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 08:22:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101191860445249536,"km_value":101191860445249.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:22:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835851387969126400,"description":"Unknown IO ID 45"} 
[2026-07-01 08:22:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415813888001,"power":13037,"unknown_97":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8835851387969126400}} 
[2026-07-01 08:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":120709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416583,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:22:29] local.INFO: GPS data processed {"connection_id":120709,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:22:29] local.INFO: Acknowledgment sent {"connection_id":120709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:22:56] local.INFO: TCP Data received {"connection_id":120707,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 08:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120707,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 08:22:56] local.INFO: Processing buffer {"connection_id":120707,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 08:22:56] local.INFO: IMEI packet received {"connection_id":120707,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 08:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":120707,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:23:01] local.INFO: TCP Data received {"connection_id":120708,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b972898012d11004006e4bc08000b015532..."} 
[2026-07-01 08:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b972898012d11004006e4bc08000b015532..."} 
[2026-07-01 08:23:01] local.INFO: Processing buffer {"connection_id":120708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b972898012d11004006e4bc08000b015532..."} 
[2026-07-01 08:23:01] local.INFO: Packet analysis {"connection_id":120708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b97"} 
[2026-07-01 08:23:01] local.INFO: Extracted packet for processing {"connection_id":120708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b97"} 
[2026-07-01 08:23:01] local.INFO: GPS Element Parsed {"raw_longitude":756088896,"raw_latitude":115653640,"longitude_deg":75.6088896,"latitude_deg":11.565364,"altitude":11,"angle":341,"satellites":50,"speed":0,"hex_longitude":"2d110040","hex_latitude":"06e4bc08","is_valid_coordinates":true} 
[2026-07-01 08:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415748096001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333082500580507648,"note":"Value kept but may cause issues"} 
[2026-07-01 08:23:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1234408539966441472,"note":"Value kept but may cause issues"} 
[2026-07-01 08:23:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782874319000,"timestamp_ms":1782874319000,"timestamp_seconds":1782874319,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b972898"} 
[2026-07-01 08:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:23:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 08:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 08:23:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:23:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":120708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":120708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":120708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:23:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415748096001,"66":26321,"245":206,"80":6400,"24":0,"16":333082500580507648,"45":1234408539966441472},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-07-01 08:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415748096001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:23:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333082500580507648,"km_value":333082500580507.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:23:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1234408539966441472,"description":"Unknown IO ID 45"} 
[2026-07-01 08:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415748096001,"power":26321,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1234408539966441472}} 
[2026-07-01 08:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":120708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:23:01] local.INFO: GPS data processed {"connection_id":120708,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:23:01] local.INFO: Acknowledgment sent {"connection_id":120708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:23:01] local.INFO: TCP Data received {"connection_id":120709,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b96d2a8012d7a9fc005e40ab0000700522c..."} 
[2026-07-01 08:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b96d2a8012d7a9fc005e40ab0000700522c..."} 
[2026-07-01 08:23:01] local.INFO: Processing buffer {"connection_id":120709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b96d2a8012d7a9fc005e40ab0000700522c..."} 
[2026-07-01 08:23:01] local.INFO: Packet analysis {"connection_id":120709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b96"} 
[2026-07-01 08:23:01] local.INFO: Extracted packet for processing {"connection_id":120709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b96"} 
[2026-07-01 08:23:01] local.INFO: GPS Element Parsed {"raw_longitude":763011008,"raw_latitude":98831024,"longitude_deg":76.3011008,"latitude_deg":9.8831024,"altitude":7,"angle":82,"satellites":44,"speed":0,"hex_longitude":"2d7a9fc0","hex_latitude":"05e40ab0","is_valid_coordinates":true} 
[2026-07-01 08:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415814656001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101191864740216832,"note":"Value kept but may cause issues"} 
[2026-07-01 08:23:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835921756713312256,"note":"Value kept but may cause issues"} 
[2026-07-01 08:23:01] 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-01 08:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782874297000,"timestamp_ms":1782874297000,"timestamp_seconds":1782874297,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b96d2a8"} 
[2026-07-01 08:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:23: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-01 08:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-01 08:23:01] 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-01 08:23:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":120709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":120709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":120709,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:23:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415814656001,"66":13222,"97":206,"85":15104,"24":0,"16":101191864740216832,"45":8835921756713312256},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-01 08:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415814656001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:23:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 08:23:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 08:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101191864740216832,"km_value":101191864740216.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:23:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835921756713312256,"description":"Unknown IO ID 45"} 
[2026-07-01 08:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415814656001,"power":13222,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8835921756713312256}} 
[2026-07-01 08:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":120709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416585,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:23:01] local.INFO: GPS data processed {"connection_id":120709,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:23:01] local.INFO: Acknowledgment sent {"connection_id":120709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:23:16] local.INFO: TCP Data received {"connection_id":119599,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 08:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119599,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 08:23:16] local.INFO: Processing buffer {"connection_id":119599,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 08:23:16] local.INFO: IMEI packet received {"connection_id":119599,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 08:23:16] local.INFO: IMEI acknowledgment sent {"connection_id":119599,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:23:19] local.INFO: TCP Data received {"connection_id":118832,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118832,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:23:19] local.INFO: Processing buffer {"connection_id":118832,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:23:19] local.INFO: IMEI packet received {"connection_id":118832,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 08:23:19] local.INFO: IMEI acknowledgment sent {"connection_id":118832,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:23:21] local.INFO: TCP Data received {"connection_id":118941,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:23:21] local.INFO: Processing buffer {"connection_id":118941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:23:21] local.INFO: IMEI packet received {"connection_id":118941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 08:23:21] local.INFO: IMEI acknowledgment sent {"connection_id":118941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:23:24] local.INFO: TCP Data received {"connection_id":118832,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118832,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:23:24] local.INFO: Processing buffer {"connection_id":118832,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:23:24] local.INFO: IMEI packet received {"connection_id":118832,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":118832,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:23:25] local.INFO: TCP Data received {"connection_id":118832,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b9724b0012d7aa30005e40c280007004e29..."} 
[2026-07-01 08:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b9724b0012d7aa30005e40c280007004e29..."} 
[2026-07-01 08:23:25] local.INFO: Processing buffer {"connection_id":118832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b9724b0012d7aa30005e40c280007004e29..."} 
[2026-07-01 08:23:25] local.INFO: Packet analysis {"connection_id":118832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b97"} 
[2026-07-01 08:23:25] local.INFO: Extracted packet for processing {"connection_id":118832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b97"} 
[2026-07-01 08:23:25] local.INFO: GPS Element Parsed {"raw_longitude":763011840,"raw_latitude":98831400,"longitude_deg":76.301184,"latitude_deg":9.88314,"altitude":7,"angle":78,"satellites":41,"speed":8,"hex_longitude":"2d7aa300","hex_latitude":"05e40c28","is_valid_coordinates":true} 
[2026-07-01 08:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415820032001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101191911984857088,"note":"Value kept but may cause issues"} 
[2026-07-01 08:23:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835992125457477632,"note":"Value kept but may cause issues"} 
[2026-07-01 08:23: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-01 08:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782874318000,"timestamp_ms":1782874318000,"timestamp_seconds":1782874318,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b9724b0"} 
[2026-07-01 08:23:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:23: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-01 08:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-01 08:23: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-01 08:23:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:23:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":118832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":118832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":118832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:23:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415820032001,"66":13243,"97":206,"85":15104,"24":8,"16":101191911984857088,"45":8835992125457477632},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-01 08:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415820032001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:23:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 08:23:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 08:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101191911984857088,"km_value":101191911984857.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:23:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835992125457477632,"description":"Unknown IO ID 45"} 
[2026-07-01 08:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415820032001,"power":13243,"unknown_97":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8835992125457477632}} 
[2026-07-01 08:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":118832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416586,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:23:25] local.INFO: GPS data processed {"connection_id":118832,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:23:25] local.INFO: Acknowledgment sent {"connection_id":118832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:23:26] local.INFO: TCP Data received {"connection_id":118941,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:23:26] local.INFO: Processing buffer {"connection_id":118941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:23:26] local.INFO: IMEI packet received {"connection_id":118941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":118941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:23:27] local.INFO: TCP Data received {"connection_id":118941,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b972898012d11004006e4bc08000b015532..."} 
[2026-07-01 08:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b972898012d11004006e4bc08000b015532..."} 
[2026-07-01 08:23:27] local.INFO: Processing buffer {"connection_id":118941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b972898012d11004006e4bc08000b015532..."} 
[2026-07-01 08:23:27] local.INFO: Packet analysis {"connection_id":118941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b97"} 
[2026-07-01 08:23:27] local.INFO: Extracted packet for processing {"connection_id":118941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b97"} 
[2026-07-01 08:23:27] local.INFO: GPS Element Parsed {"raw_longitude":756088896,"raw_latitude":115653640,"longitude_deg":75.6088896,"latitude_deg":11.565364,"altitude":11,"angle":341,"satellites":50,"speed":0,"hex_longitude":"2d110040","hex_latitude":"06e4bc08","is_valid_coordinates":true} 
[2026-07-01 08:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:23:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415748096001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:23:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333082500580507648,"note":"Value kept but may cause issues"} 
[2026-07-01 08:23:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1234408539966441472,"note":"Value kept but may cause issues"} 
[2026-07-01 08:23:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:23:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782874319000,"timestamp_ms":1782874319000,"timestamp_seconds":1782874319,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b972898"} 
[2026-07-01 08:23:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:23:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 08:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 08:23:27] 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-01 08:23:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:23:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:23:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:23:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:23:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:23:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:23:27] 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-01 08:23:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:23:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:23:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415748096001,"66":26321,"245":206,"80":6400,"24":0,"16":333082500580507648,"45":1234408539966441472},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-07-01 08:23:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:23:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:23:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415748096001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:23:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:23:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333082500580507648,"km_value":333082500580507.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:23:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1234408539966441472,"description":"Unknown IO ID 45"} 
[2026-07-01 08:23:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415748096001,"power":26321,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1234408539966441472}} 
[2026-07-01 08:23:27] local.INFO: DEBUG: GPS processor result {"connection_id":118941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:23:27] local.INFO: GPS data processed {"connection_id":118941,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:23:27] local.INFO: Acknowledgment sent {"connection_id":118941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:23:32] local.INFO: TCP Data received {"connection_id":118941,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b972898012d11004006e4bc08000b015532..."} 
[2026-07-01 08:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b972898012d11004006e4bc08000b015532..."} 
[2026-07-01 08:23:32] local.INFO: Processing buffer {"connection_id":118941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b972898012d11004006e4bc08000b015532..."} 
[2026-07-01 08:23:32] local.INFO: Packet analysis {"connection_id":118941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b97"} 
[2026-07-01 08:23:32] local.INFO: Extracted packet for processing {"connection_id":118941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b97"} 
[2026-07-01 08:23:32] local.INFO: GPS Element Parsed {"raw_longitude":756088896,"raw_latitude":115653640,"longitude_deg":75.6088896,"latitude_deg":11.565364,"altitude":11,"angle":341,"satellites":50,"speed":0,"hex_longitude":"2d110040","hex_latitude":"06e4bc08","is_valid_coordinates":true} 
[2026-07-01 08:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415748096001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333082500580507648,"note":"Value kept but may cause issues"} 
[2026-07-01 08:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1234408539966441472,"note":"Value kept but may cause issues"} 
[2026-07-01 08:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782874319000,"timestamp_ms":1782874319000,"timestamp_seconds":1782874319,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b972898"} 
[2026-07-01 08:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:23:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 08:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 08:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:23:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":118941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":118941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":118941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415748096001,"66":26321,"245":206,"80":6400,"24":0,"16":333082500580507648,"45":1234408539966441472},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-07-01 08:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415748096001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:23:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333082500580507648,"km_value":333082500580507.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1234408539966441472,"description":"Unknown IO ID 45"} 
[2026-07-01 08:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415748096001,"power":26321,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1234408539966441472}} 
[2026-07-01 08:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":118941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:23:32] local.INFO: GPS data processed {"connection_id":118941,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:23:32] local.INFO: Acknowledgment sent {"connection_id":118941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:23:57] local.INFO: TCP Data received {"connection_id":118832,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b976ee8012d7ac64005e410e80008005521..."} 
[2026-07-01 08:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b976ee8012d7ac64005e410e80008005521..."} 
[2026-07-01 08:23:57] local.INFO: Processing buffer {"connection_id":118832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b976ee8012d7ac64005e410e80008005521..."} 
[2026-07-01 08:23:57] local.INFO: Packet analysis {"connection_id":118832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b97"} 
[2026-07-01 08:23:57] local.INFO: Extracted packet for processing {"connection_id":118832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b97"} 
[2026-07-01 08:23:57] local.INFO: GPS Element Parsed {"raw_longitude":763020864,"raw_latitude":98832616,"longitude_deg":76.3020864,"latitude_deg":9.8832616,"altitude":8,"angle":85,"satellites":33,"speed":18,"hex_longitude":"2d7ac640","hex_latitude":"05e410e8","is_valid_coordinates":true} 
[2026-07-01 08:23:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:23:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415825408001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:23:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101192345776553984,"note":"Value kept but may cause issues"} 
[2026-07-01 08:23:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8836906919131883520,"note":"Value kept but may cause issues"} 
[2026-07-01 08:23:57] 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-01 08:23:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782874337000,"timestamp_ms":1782874337000,"timestamp_seconds":1782874337,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b976ee8"} 
[2026-07-01 08:23:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:23:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:23:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-01 08:23: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-01 08:23:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:23:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:23:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:23:57] local.INFO: Teltonika packet parsed successfully {"connection_id":118832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:23:57] local.INFO: Passing IMEI to GPS processor {"connection_id":118832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:23:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":118832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:23:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:23:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:23:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:23:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415825408001,"66":12461,"97":206,"85":15104,"24":18,"16":101192345776553984,"45":8836906919131883520},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-01 08:23:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:23:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:23:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415825408001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:23:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 08:23:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 08:23:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101192345776553984,"km_value":101192345776553.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:23:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8836906919131883520,"description":"Unknown IO ID 45"} 
[2026-07-01 08:23:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415825408001,"power":12461,"unknown_97":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8836906919131883520}} 
[2026-07-01 08:23:57] local.INFO: DEBUG: GPS processor result {"connection_id":118832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416589,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:23:57] local.INFO: GPS data processed {"connection_id":118832,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:23:57] local.INFO: Acknowledgment sent {"connection_id":118832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:24:04] local.INFO: TCP Data received {"connection_id":118941,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b972898012d11004006e4bc08000b015532..."} 
[2026-07-01 08:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b972898012d11004006e4bc08000b015532..."} 
[2026-07-01 08:24:04] local.INFO: Processing buffer {"connection_id":118941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b972898012d11004006e4bc08000b015532..."} 
[2026-07-01 08:24:04] local.INFO: Packet analysis {"connection_id":118941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b97"} 
[2026-07-01 08:24:04] local.INFO: Extracted packet for processing {"connection_id":118941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b97"} 
[2026-07-01 08:24:04] local.INFO: GPS Element Parsed {"raw_longitude":756088896,"raw_latitude":115653640,"longitude_deg":75.6088896,"latitude_deg":11.565364,"altitude":11,"angle":341,"satellites":50,"speed":0,"hex_longitude":"2d110040","hex_latitude":"06e4bc08","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415748096001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333082500580507648,"note":"Value kept but may cause issues"} 
[2026-07-01 08:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1234408539966441472,"note":"Value kept but may cause issues"} 
[2026-07-01 08:24:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782874319000,"timestamp_ms":1782874319000,"timestamp_seconds":1782874319,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b972898"} 
[2026-07-01 08: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-01 08:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 08: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 08:24:04] 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-01 08: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-01 08: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-01 08:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":118941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":118941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":118941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:24:04] 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-01 08:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415748096001,"66":26321,"245":206,"80":6400,"24":0,"16":333082500580507648,"45":1234408539966441472},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-07-01 08:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415748096001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:24:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333082500580507648,"km_value":333082500580507.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1234408539966441472,"description":"Unknown IO ID 45"} 
[2026-07-01 08:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415748096001,"power":26321,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1234408539966441472}} 
[2026-07-01 08:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":118941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:24:04] local.INFO: GPS data processed {"connection_id":118941,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:24:04] local.INFO: Acknowledgment sent {"connection_id":118941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:24:19] local.INFO: TCP Data received {"connection_id":119600,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119600,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:24:19] local.INFO: Processing buffer {"connection_id":119600,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:24:19] local.INFO: IMEI packet received {"connection_id":119600,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 08:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":119600,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:24:21] local.INFO: TCP Data received {"connection_id":119601,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:24:21] local.INFO: Processing buffer {"connection_id":119601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:24:21] local.INFO: IMEI packet received {"connection_id":119601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 08:24:21] local.INFO: IMEI acknowledgment sent {"connection_id":119601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:24:24] local.INFO: TCP Data received {"connection_id":119600,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119600,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:24:24] local.INFO: Processing buffer {"connection_id":119600,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:24:24] local.INFO: IMEI packet received {"connection_id":119600,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:24:24] local.INFO: IMEI acknowledgment sent {"connection_id":119600,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:24:25] local.INFO: TCP Data received {"connection_id":119600,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b979210012d7acd0005e410500008008a28..."} 
[2026-07-01 08:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b979210012d7acd0005e410500008008a28..."} 
[2026-07-01 08:24:25] local.INFO: Processing buffer {"connection_id":119600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b979210012d7acd0005e410500008008a28..."} 
[2026-07-01 08:24:25] local.INFO: Packet analysis {"connection_id":119600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b97"} 
[2026-07-01 08:24:25] local.INFO: Extracted packet for processing {"connection_id":119600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b97"} 
[2026-07-01 08:24:25] local.INFO: GPS Element Parsed {"raw_longitude":763022592,"raw_latitude":98832464,"longitude_deg":76.3022592,"latitude_deg":9.8832464,"altitude":8,"angle":138,"satellites":40,"speed":9,"hex_longitude":"2d7acd00","hex_latitude":"05e41050","is_valid_coordinates":true} 
[2026-07-01 08:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415830272001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101192435970867200,"note":"Value kept but may cause issues"} 
[2026-07-01 08:24:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8846828912061245440,"note":"Value kept but may cause issues"} 
[2026-07-01 08:24: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-01 08:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782874346000,"timestamp_ms":1782874346000,"timestamp_seconds":1782874346,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b979210"} 
[2026-07-01 08:24:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:24: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-01 08:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 08:24:25] 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-01 08:24:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:24:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119600,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119600,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:24:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415830272001,"66":13243,"97":206,"85":15104,"24":9,"16":101192435970867200,"45":8846828912061245440},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-01 08:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415830272001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:24:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 08:24:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 08:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101192435970867200,"km_value":101192435970867.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:24:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8846828912061245440,"description":"Unknown IO ID 45"} 
[2026-07-01 08:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415830272001,"power":13243,"unknown_97":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8846828912061245440}} 
[2026-07-01 08:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":119600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416591,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:24:25] local.INFO: GPS data processed {"connection_id":119600,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:24:25] local.INFO: Acknowledgment sent {"connection_id":119600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:24:26] local.INFO: TCP Data received {"connection_id":119601,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:24:26] local.INFO: Processing buffer {"connection_id":119601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:24:26] local.INFO: IMEI packet received {"connection_id":119601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":119601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:24:27] local.INFO: TCP Data received {"connection_id":119601,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b972898012d11004006e4bc08000b015532..."} 
[2026-07-01 08:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b972898012d11004006e4bc08000b015532..."} 
[2026-07-01 08:24:27] local.INFO: Processing buffer {"connection_id":119601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b972898012d11004006e4bc08000b015532..."} 
[2026-07-01 08:24:27] local.INFO: Packet analysis {"connection_id":119601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b97"} 
[2026-07-01 08:24:27] local.INFO: Extracted packet for processing {"connection_id":119601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b97"} 
[2026-07-01 08:24:27] local.INFO: GPS Element Parsed {"raw_longitude":756088896,"raw_latitude":115653640,"longitude_deg":75.6088896,"latitude_deg":11.565364,"altitude":11,"angle":341,"satellites":50,"speed":0,"hex_longitude":"2d110040","hex_latitude":"06e4bc08","is_valid_coordinates":true} 
[2026-07-01 08:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:24:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415748096001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:24:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333082500580507648,"note":"Value kept but may cause issues"} 
[2026-07-01 08:24:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1234408539966441472,"note":"Value kept but may cause issues"} 
[2026-07-01 08:24:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:24:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782874319000,"timestamp_ms":1782874319000,"timestamp_seconds":1782874319,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b972898"} 
[2026-07-01 08:24:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:24:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 08:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 08:24:27] 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-01 08:24:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:24:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:24:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:24:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:24:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:24:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:24:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:24:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:24:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:24:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415748096001,"66":26321,"245":206,"80":6400,"24":0,"16":333082500580507648,"45":1234408539966441472},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-07-01 08:24:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:24:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:24:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415748096001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:24:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:24:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333082500580507648,"km_value":333082500580507.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:24:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1234408539966441472,"description":"Unknown IO ID 45"} 
[2026-07-01 08:24:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415748096001,"power":26321,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1234408539966441472}} 
[2026-07-01 08:24:27] local.INFO: DEBUG: GPS processor result {"connection_id":119601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:24:27] local.INFO: GPS data processed {"connection_id":119601,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:24:27] local.INFO: Acknowledgment sent {"connection_id":119601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:24:56] local.INFO: TCP Data received {"connection_id":119600,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b990cf8012d7b0c0005e35518000b00252c..."} 
[2026-07-01 08:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b990cf8012d7b0c0005e35518000b00252c..."} 
[2026-07-01 08:24:56] local.INFO: Processing buffer {"connection_id":119600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b990cf8012d7b0c0005e35518000b00252c..."} 
[2026-07-01 08:24:56] local.INFO: Packet analysis {"connection_id":119600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b99"} 
[2026-07-01 08:24:56] local.INFO: Extracted packet for processing {"connection_id":119600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b99"} 
[2026-07-01 08:24:56] local.INFO: GPS Element Parsed {"raw_longitude":763038720,"raw_latitude":98784536,"longitude_deg":76.303872,"latitude_deg":9.8784536,"altitude":11,"angle":37,"satellites":44,"speed":9,"hex_longitude":"2d7b0c00","hex_latitude":"05e35518","is_valid_coordinates":true} 
[2026-07-01 08:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415855872001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101194935641833472,"note":"Value kept but may cause issues"} 
[2026-07-01 08:24:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865758104232677376,"note":"Value kept but may cause issues"} 
[2026-07-01 08:24:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782874443000,"timestamp_ms":1782874443000,"timestamp_seconds":1782874443,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b990cf8"} 
[2026-07-01 08:24:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:24:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-01 08:24:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:24:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:24:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":119600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":119600,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":119600,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:24:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415855872001,"66":12776,"97":206,"85":15104,"24":9,"16":101194935641833472,"45":8865758104232677376},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-01 08:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415855872001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:24:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 08:24:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 08:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101194935641833472,"km_value":101194935641833.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:24:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865758104232677376,"description":"Unknown IO ID 45"} 
[2026-07-01 08:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415855872001,"power":12776,"unknown_97":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8865758104232677376}} 
[2026-07-01 08:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":119600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416593,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:24:56] local.INFO: GPS data processed {"connection_id":119600,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:24:56] local.INFO: Acknowledgment sent {"connection_id":119600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:24:59] local.INFO: TCP Data received {"connection_id":119601,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b972898012d11004006e4bc08000b015532..."} 
[2026-07-01 08:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b972898012d11004006e4bc08000b015532..."} 
[2026-07-01 08:24:59] local.INFO: Processing buffer {"connection_id":119601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b972898012d11004006e4bc08000b015532..."} 
[2026-07-01 08:24:59] local.INFO: Packet analysis {"connection_id":119601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b97"} 
[2026-07-01 08:24:59] local.INFO: Extracted packet for processing {"connection_id":119601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b97"} 
[2026-07-01 08:24:59] local.INFO: GPS Element Parsed {"raw_longitude":756088896,"raw_latitude":115653640,"longitude_deg":75.6088896,"latitude_deg":11.565364,"altitude":11,"angle":341,"satellites":50,"speed":0,"hex_longitude":"2d110040","hex_latitude":"06e4bc08","is_valid_coordinates":true} 
[2026-07-01 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-01 08:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415748096001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:24:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333082500580507648,"note":"Value kept but may cause issues"} 
[2026-07-01 08:24:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1234408539966441472,"note":"Value kept but may cause issues"} 
[2026-07-01 08:24:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:24:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782874319000,"timestamp_ms":1782874319000,"timestamp_seconds":1782874319,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b972898"} 
[2026-07-01 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-01 08:24:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 08:24:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 08:24:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:24:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:24:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:24:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:24:59] 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-01 08:24:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:24:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:24:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415748096001,"66":26321,"245":206,"80":6400,"24":0,"16":333082500580507648,"45":1234408539966441472},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-07-01 08:24:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:24:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:24:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415748096001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:24:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:24:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333082500580507648,"km_value":333082500580507.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:24:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1234408539966441472,"description":"Unknown IO ID 45"} 
[2026-07-01 08:24:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415748096001,"power":26321,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1234408539966441472}} 
[2026-07-01 08:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":119601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:25:00] local.INFO: GPS data processed {"connection_id":119601,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:25:00] local.INFO: Acknowledgment sent {"connection_id":119601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:25:21] local.INFO: TCP Data received {"connection_id":118833,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:25:21] local.INFO: Processing buffer {"connection_id":118833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:25:21] local.INFO: IMEI packet received {"connection_id":118833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 08:25:21] local.INFO: IMEI acknowledgment sent {"connection_id":118833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:25:23] local.INFO: TCP Data received {"connection_id":118943,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118943,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:25:23] local.INFO: Processing buffer {"connection_id":118943,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:25:23] local.INFO: IMEI packet received {"connection_id":118943,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 08:25:23] local.INFO: IMEI acknowledgment sent {"connection_id":118943,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:25:24] local.INFO: TCP Data received {"connection_id":118943,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118943,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:25:24] local.INFO: Processing buffer {"connection_id":118943,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:25:24] local.INFO: IMEI packet received {"connection_id":118943,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":118943,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:25:26] local.INFO: TCP Data received {"connection_id":118833,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:25:26] local.INFO: Processing buffer {"connection_id":118833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:25:26] local.INFO: IMEI packet received {"connection_id":118833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":118833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:25:28] local.INFO: TCP Data received {"connection_id":118833,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b972898012d11004006e4bc08000b015532..."} 
[2026-07-01 08:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b972898012d11004006e4bc08000b015532..."} 
[2026-07-01 08:25:28] local.INFO: Processing buffer {"connection_id":118833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b972898012d11004006e4bc08000b015532..."} 
[2026-07-01 08:25:28] local.INFO: Packet analysis {"connection_id":118833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b97"} 
[2026-07-01 08:25:28] local.INFO: Extracted packet for processing {"connection_id":118833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b97"} 
[2026-07-01 08:25:28] local.INFO: GPS Element Parsed {"raw_longitude":756088896,"raw_latitude":115653640,"longitude_deg":75.6088896,"latitude_deg":11.565364,"altitude":11,"angle":341,"satellites":50,"speed":0,"hex_longitude":"2d110040","hex_latitude":"06e4bc08","is_valid_coordinates":true} 
[2026-07-01 08:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:25:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415748096001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:25:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333082500580507648,"note":"Value kept but may cause issues"} 
[2026-07-01 08:25:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1234408539966441472,"note":"Value kept but may cause issues"} 
[2026-07-01 08:25:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:25:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782874319000,"timestamp_ms":1782874319000,"timestamp_seconds":1782874319,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b972898"} 
[2026-07-01 08:25:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:25:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 08:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 08:25:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:25:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:25:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:25:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:25:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:25:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:25:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:25:28] 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-01 08:25:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:25:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:25:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415748096001,"66":26321,"245":206,"80":6400,"24":0,"16":333082500580507648,"45":1234408539966441472},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-07-01 08:25:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:25:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:25:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415748096001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:25:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:25:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333082500580507648,"km_value":333082500580507.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:25:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1234408539966441472,"description":"Unknown IO ID 45"} 
[2026-07-01 08:25:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415748096001,"power":26321,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1234408539966441472}} 
[2026-07-01 08:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":118833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:25:28] local.INFO: GPS data processed {"connection_id":118833,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:25:28] local.INFO: Acknowledgment sent {"connection_id":118833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:25:29] local.INFO: TCP Data received {"connection_id":118943,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118943,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:25:29] local.INFO: Processing buffer {"connection_id":118943,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:25:29] local.INFO: IMEI packet received {"connection_id":118943,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":118943,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:25:29] local.INFO: TCP Data received {"connection_id":118943,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b995f00012d7b1ec005e36f98000700212c..."} 
[2026-07-01 08:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b995f00012d7b1ec005e36f98000700212c..."} 
[2026-07-01 08:25:29] local.INFO: Processing buffer {"connection_id":118943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b995f00012d7b1ec005e36f98000700212c..."} 
[2026-07-01 08:25:29] local.INFO: Packet analysis {"connection_id":118943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b99"} 
[2026-07-01 08:25:29] local.INFO: Extracted packet for processing {"connection_id":118943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b99"} 
[2026-07-01 08:25:29] local.INFO: GPS Element Parsed {"raw_longitude":763043520,"raw_latitude":98791320,"longitude_deg":76.304352,"latitude_deg":9.879132,"altitude":7,"angle":33,"satellites":44,"speed":11,"hex_longitude":"2d7b1ec0","hex_latitude":"05e36f98","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415857408001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101195339368759296,"note":"Value kept but may cause issues"} 
[2026-07-01 08:25:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866461791674505216,"note":"Value kept but may cause issues"} 
[2026-07-01 08:25: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-01 08:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782874464000,"timestamp_ms":1782874464000,"timestamp_seconds":1782874464,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b995f00"} 
[2026-07-01 08: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-01 08:25:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-01 08:25: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-01 08: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-01 08: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-01 08:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":118943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":118943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":118943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:25:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415857408001,"66":12961,"97":206,"85":15104,"24":11,"16":101195339368759296,"45":8866461791674505216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-01 08:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415857408001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:25:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 08:25:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 08:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101195339368759296,"km_value":101195339368759.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:25:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866461791674505216,"description":"Unknown IO ID 45"} 
[2026-07-01 08:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415857408001,"power":12961,"unknown_97":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8866461791674505216}} 
[2026-07-01 08:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":118943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416596,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:25:29] local.INFO: GPS data processed {"connection_id":118943,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:25:29] local.INFO: Acknowledgment sent {"connection_id":118943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:26:09] local.INFO: TCP Data received {"connection_id":118943,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b99b108012d7b300005e38bc8000600232e..."} 
[2026-07-01 08:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b99b108012d7b300005e38bc8000600232e..."} 
[2026-07-01 08:26:09] local.INFO: Processing buffer {"connection_id":118943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b99b108012d7b300005e38bc8000600232e..."} 
[2026-07-01 08:26:09] local.INFO: Packet analysis {"connection_id":118943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b99"} 
[2026-07-01 08:26:09] local.INFO: Extracted packet for processing {"connection_id":118943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b99"} 
[2026-07-01 08:26:09] local.INFO: GPS Element Parsed {"raw_longitude":763047936,"raw_latitude":98798536,"longitude_deg":76.3047936,"latitude_deg":9.8798536,"altitude":6,"angle":35,"satellites":46,"speed":29,"hex_longitude":"2d7b3000","hex_latitude":"05e38bc8","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415862784001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101195751685619712,"note":"Value kept but may cause issues"} 
[2026-07-01 08:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8871739447489566720,"note":"Value kept but may cause issues"} 
[2026-07-01 08:26: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-01 08:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782874485000,"timestamp_ms":1782874485000,"timestamp_seconds":1782874485,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b99b108"} 
[2026-07-01 08: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-01 08:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-01 08:26: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-01 08: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-01 08: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-01 08:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":118943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":118943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":118943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415862784001,"66":12906,"97":206,"85":15104,"24":29,"16":101195751685619712,"45":8871739447489566720},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-01 08:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415862784001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:26:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 08:26:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 08:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101195751685619712,"km_value":101195751685619.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8871739447489566720,"description":"Unknown IO ID 45"} 
[2026-07-01 08:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415862784001,"power":12906,"unknown_97":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8871739447489566720}} 
[2026-07-01 08:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":118943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416597,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:26:09] local.INFO: GPS data processed {"connection_id":118943,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:26:09] local.INFO: Acknowledgment sent {"connection_id":118943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:26:16] local.INFO: TCP Data received {"connection_id":119604,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:26:16] local.INFO: Processing buffer {"connection_id":119604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:26:16] local.INFO: IMEI packet received {"connection_id":119604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 08:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":119604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:26:19] local.INFO: TCP Data received {"connection_id":119605,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119605,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:26:19] local.INFO: Processing buffer {"connection_id":119605,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:26:19] local.INFO: IMEI packet received {"connection_id":119605,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 08:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":119605,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:26:21] local.INFO: TCP Data received {"connection_id":119604,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:26:21] local.INFO: Processing buffer {"connection_id":119604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:26:21] local.INFO: IMEI packet received {"connection_id":119604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:26:21] local.INFO: IMEI acknowledgment sent {"connection_id":119604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:26:22] local.INFO: TCP Data received {"connection_id":119604,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b972898012d11004006e4bc08000b015532..."} 
[2026-07-01 08:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b972898012d11004006e4bc08000b015532..."} 
[2026-07-01 08:26:22] local.INFO: Processing buffer {"connection_id":119604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b972898012d11004006e4bc08000b015532..."} 
[2026-07-01 08:26:22] local.INFO: Packet analysis {"connection_id":119604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b97"} 
[2026-07-01 08:26:22] local.INFO: Extracted packet for processing {"connection_id":119604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b97"} 
[2026-07-01 08:26:22] local.INFO: GPS Element Parsed {"raw_longitude":756088896,"raw_latitude":115653640,"longitude_deg":75.6088896,"latitude_deg":11.565364,"altitude":11,"angle":341,"satellites":50,"speed":0,"hex_longitude":"2d110040","hex_latitude":"06e4bc08","is_valid_coordinates":true} 
[2026-07-01 08:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:26:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415748096001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:26:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333082500580507648,"note":"Value kept but may cause issues"} 
[2026-07-01 08:26:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1234408539966441472,"note":"Value kept but may cause issues"} 
[2026-07-01 08:26:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:26:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782874319000,"timestamp_ms":1782874319000,"timestamp_seconds":1782874319,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b972898"} 
[2026-07-01 08:26:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:26:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 08:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 08:26:22] 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-01 08:26:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:26:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:26:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:26:22] local.INFO: Teltonika packet parsed successfully {"connection_id":119604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:26:22] local.INFO: Passing IMEI to GPS processor {"connection_id":119604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:26:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":119604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:26:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:26:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:26:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:26:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415748096001,"66":26321,"245":206,"80":6400,"24":0,"16":333082500580507648,"45":1234408539966441472},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-07-01 08:26:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:26:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:26:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415748096001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:26:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:26:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333082500580507648,"km_value":333082500580507.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:26:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1234408539966441472,"description":"Unknown IO ID 45"} 
[2026-07-01 08:26:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415748096001,"power":26321,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1234408539966441472}} 
[2026-07-01 08:26:22] local.INFO: DEBUG: GPS processor result {"connection_id":119604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:26:22] local.INFO: GPS data processed {"connection_id":119604,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:26:22] local.INFO: Acknowledgment sent {"connection_id":119604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:26:23] local.INFO: TCP Data received {"connection_id":119605,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119605,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:26:23] local.INFO: Processing buffer {"connection_id":119605,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:26:23] local.INFO: IMEI packet received {"connection_id":119605,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:26:23] local.INFO: IMEI acknowledgment sent {"connection_id":119605,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:26:24] local.INFO: TCP Data received {"connection_id":119605,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b99d818012d7b43c005e3a8b8000600212d..."} 
[2026-07-01 08:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b99d818012d7b43c005e3a8b8000600212d..."} 
[2026-07-01 08:26:24] local.INFO: Processing buffer {"connection_id":119605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b99d818012d7b43c005e3a8b8000600212d..."} 
[2026-07-01 08:26:24] local.INFO: Packet analysis {"connection_id":119605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b99"} 
[2026-07-01 08:26:24] local.INFO: Extracted packet for processing {"connection_id":119605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b99"} 
[2026-07-01 08:26:24] local.INFO: GPS Element Parsed {"raw_longitude":763052992,"raw_latitude":98805944,"longitude_deg":76.3052992,"latitude_deg":9.8805944,"altitude":6,"angle":33,"satellites":45,"speed":35,"hex_longitude":"2d7b43c0","hex_latitude":"05e3a8b8","is_valid_coordinates":true} 
[2026-07-01 08:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415868160001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101196181182349312,"note":"Value kept but may cause issues"} 
[2026-07-01 08:26:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8876594890839672832,"note":"Value kept but may cause issues"} 
[2026-07-01 08:26: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-01 08:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782874495000,"timestamp_ms":1782874495000,"timestamp_seconds":1782874495,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b99d818"} 
[2026-07-01 08:26:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:26: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-01 08:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-01 08:26:24] 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-01 08:26:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:26:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":119605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":119605,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":119605,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:26:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415868160001,"66":13135,"97":206,"85":15104,"24":35,"16":101196181182349312,"45":8876594890839672832},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-01 08:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415868160001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:26:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 08:26:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 08:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101196181182349312,"km_value":101196181182349.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:26:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8876594890839672832,"description":"Unknown IO ID 45"} 
[2026-07-01 08:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415868160001,"power":13135,"unknown_97":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8876594890839672832}} 
[2026-07-01 08:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":119605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416599,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:26:24] local.INFO: GPS data processed {"connection_id":119605,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:26:24] local.INFO: Acknowledgment sent {"connection_id":119605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:26:55] local.INFO: TCP Data received {"connection_id":119604,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b972898012d11004006e4bc08000b015532..."} 
[2026-07-01 08:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b972898012d11004006e4bc08000b015532..."} 
[2026-07-01 08:26:55] local.INFO: Processing buffer {"connection_id":119604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b972898012d11004006e4bc08000b015532..."} 
[2026-07-01 08:26:55] local.INFO: Packet analysis {"connection_id":119604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b97"} 
[2026-07-01 08:26:55] local.INFO: Extracted packet for processing {"connection_id":119604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b97"} 
[2026-07-01 08:26:55] local.INFO: GPS Element Parsed {"raw_longitude":756088896,"raw_latitude":115653640,"longitude_deg":75.6088896,"latitude_deg":11.565364,"altitude":11,"angle":341,"satellites":50,"speed":0,"hex_longitude":"2d110040","hex_latitude":"06e4bc08","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:26:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415748096001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333082500580507648,"note":"Value kept but may cause issues"} 
[2026-07-01 08:26:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1234408539966441472,"note":"Value kept but may cause issues"} 
[2026-07-01 08:26:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:26:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782874319000,"timestamp_ms":1782874319000,"timestamp_seconds":1782874319,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b972898"} 
[2026-07-01 08: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-01 08:26:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 08: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 08:26:55] 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-01 08: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-01 08: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-01 08:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":119604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":119604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":119604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:26:55] 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-01 08:26:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:26:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:26:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415748096001,"66":26321,"245":206,"80":6400,"24":0,"16":333082500580507648,"45":1234408539966441472},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-07-01 08:26:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:26:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:26:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415748096001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:26:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:26:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333082500580507648,"km_value":333082500580507.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:26:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1234408539966441472,"description":"Unknown IO ID 45"} 
[2026-07-01 08:26:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415748096001,"power":26321,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1234408539966441472}} 
[2026-07-01 08:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":119604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:26:55] local.INFO: GPS data processed {"connection_id":119604,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:26:55] local.INFO: Acknowledgment sent {"connection_id":119604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:27:04] local.INFO: TCP Data received {"connection_id":119605,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b9b85c8012d7c39c005e518480005001f2e..."} 
[2026-07-01 08:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b9b85c8012d7c39c005e518480005001f2e..."} 
[2026-07-01 08:27:04] local.INFO: Processing buffer {"connection_id":119605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b9b85c8012d7c39c005e518480005001f2e..."} 
[2026-07-01 08:27:04] local.INFO: Packet analysis {"connection_id":119605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b9b"} 
[2026-07-01 08:27:04] local.INFO: Extracted packet for processing {"connection_id":119605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b9b"} 
[2026-07-01 08:27:04] local.INFO: GPS Element Parsed {"raw_longitude":763115968,"raw_latitude":98900040,"longitude_deg":76.3115968,"latitude_deg":9.890004,"altitude":5,"angle":31,"satellites":46,"speed":32,"hex_longitude":"2d7c39c0","hex_latitude":"05e51848","is_valid_coordinates":true} 
[2026-07-01 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":795,"current_offset":40} 
[2026-07-01 08:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415896320001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101201657265651712,"note":"Value kept but may cause issues"} 
[2026-07-01 08:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946119210111111168,"note":"Value kept but may cause issues"} 
[2026-07-01 08:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782874605000,"timestamp_ms":1782874605000,"timestamp_seconds":1782874605,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b9b85c8"} 
[2026-07-01 08: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-01 08:27: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-01 08: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":3,"data_length":795,"current_offset":136} 
[2026-07-01 08:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303165747547558,"note":"Value kept but may cause issues"} 
[2026-07-01 08:27:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-01 08:27:04] local.WARNING: Large IO value detected {"io_id":136,"raw_value":3070230528,"note":"Value kept but may cause issues"} 
[2026-07-01 08:27:04] local.WARNING: Large IO value detected {"io_id":27,"raw_value":2597203969,"note":"Value kept but may cause issues"} 
[2026-07-01 08:27:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-07-01 08:27:04] local.WARNING: Large IO value detected {"io_id":178,"raw_value":3623955835,"note":"Value kept but may cause issues"} 
[2026-07-01 08:27:04] local.WARNING: Large IO value detected {"io_id":194,"raw_value":3221611616,"note":"Value kept but may cause issues"} 
[2026-07-01 08:27:04] local.WARNING: Large IO value detected {"io_id":97,"raw_value":58077557095399470,"note":"Value kept but may cause issues"} 
[2026-07-01 08:27:04] local.WARNING: Large IO value detected {"io_id":103,"raw_value":2280128512,"note":"Value kept but may cause issues"} 
[2026-07-01 08:27:04] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3829362688,"note":"Value kept but may cause issues"} 
[2026-07-01 08:27:04] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,95,85,24,241,157,16,137,159,40,45,64,217,8,48,10,66,4,192,185,233,1,240,187,227,136,27,228,113,205,52,178,194,72,47,239,51,97,2,103,5,13,46],"length":486,"final_offset":616,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-07-01 08:27:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432378755737321472,"timestamp_seconds":432378755737321.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 08: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-01 08:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":119605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":119605,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":119605,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415896320001,"66":12906,"95":206,"85":15104,"24":32,"16":101201657265651712,"45":8946119210111111168},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-07-01 08:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415896320001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:27:04] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-01 08:27:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 08:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101201657265651712,"km_value":101201657265651.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946119210111111168,"description":"Unknown IO ID 45"} 
[2026-07-01 08:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415896320001,"power":12906,"unknown_95":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8946119210111111168}} 
[2026-07-01 08:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":119605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416601,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:27:04] local.INFO: GPS data processed {"connection_id":119605,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:27:04] local.INFO: Acknowledgment sent {"connection_id":119605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:27:17] local.INFO: TCP Data received {"connection_id":118945,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118945,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:27:17] local.INFO: Processing buffer {"connection_id":118945,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:27:17] local.INFO: IMEI packet received {"connection_id":118945,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 08:27:17] local.INFO: IMEI acknowledgment sent {"connection_id":118945,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:27:18] local.INFO: TCP Data received {"connection_id":118945,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118945,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:27:18] local.INFO: Processing buffer {"connection_id":118945,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:27:18] local.INFO: IMEI packet received {"connection_id":118945,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:27:18] local.INFO: IMEI acknowledgment sent {"connection_id":118945,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:27:24] local.INFO: TCP Data received {"connection_id":118945,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118945,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:27:24] local.INFO: Processing buffer {"connection_id":118945,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:27:24] local.INFO: IMEI packet received {"connection_id":118945,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":118945,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:27:26] local.INFO: TCP Data received {"connection_id":118834,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:27:26] local.INFO: Processing buffer {"connection_id":118834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:27:26] local.INFO: IMEI packet received {"connection_id":118834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 08:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":118834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:27:31] local.INFO: TCP Data received {"connection_id":118834,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:27:31] local.INFO: Processing buffer {"connection_id":118834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:27:31] local.INFO: IMEI packet received {"connection_id":118834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":118834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:27:32] local.INFO: TCP Data received {"connection_id":118834,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b972898012d11004006e4bc08000b015532..."} 
[2026-07-01 08:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b972898012d11004006e4bc08000b015532..."} 
[2026-07-01 08:27:32] local.INFO: Processing buffer {"connection_id":118834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b972898012d11004006e4bc08000b015532..."} 
[2026-07-01 08:27:32] local.INFO: Packet analysis {"connection_id":118834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b97"} 
[2026-07-01 08:27:32] local.INFO: Extracted packet for processing {"connection_id":118834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b97"} 
[2026-07-01 08:27:32] local.INFO: GPS Element Parsed {"raw_longitude":756088896,"raw_latitude":115653640,"longitude_deg":75.6088896,"latitude_deg":11.565364,"altitude":11,"angle":341,"satellites":50,"speed":0,"hex_longitude":"2d110040","hex_latitude":"06e4bc08","is_valid_coordinates":true} 
[2026-07-01 08:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415748096001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333082500580507648,"note":"Value kept but may cause issues"} 
[2026-07-01 08:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1234408539966441472,"note":"Value kept but may cause issues"} 
[2026-07-01 08:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782874319000,"timestamp_ms":1782874319000,"timestamp_seconds":1782874319,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b972898"} 
[2026-07-01 08:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:27:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 08:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 08:27:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:27:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":118834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":118834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":118834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415748096001,"66":26321,"245":206,"80":6400,"24":0,"16":333082500580507648,"45":1234408539966441472},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-07-01 08:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415748096001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:27:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333082500580507648,"km_value":333082500580507.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1234408539966441472,"description":"Unknown IO ID 45"} 
[2026-07-01 08:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415748096001,"power":26321,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1234408539966441472}} 
[2026-07-01 08:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":118834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:27:32] local.INFO: GPS data processed {"connection_id":118834,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:27:32] local.INFO: Acknowledgment sent {"connection_id":118834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:27:37] local.INFO: TCP Data received {"connection_id":118834,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b972898012d11004006e4bc08000b015532..."} 
[2026-07-01 08:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b972898012d11004006e4bc08000b015532..."} 
[2026-07-01 08:27:37] local.INFO: Processing buffer {"connection_id":118834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b972898012d11004006e4bc08000b015532..."} 
[2026-07-01 08:27:37] local.INFO: Packet analysis {"connection_id":118834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b97"} 
[2026-07-01 08:27:37] local.INFO: Extracted packet for processing {"connection_id":118834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b97"} 
[2026-07-01 08:27:37] local.INFO: GPS Element Parsed {"raw_longitude":756088896,"raw_latitude":115653640,"longitude_deg":75.6088896,"latitude_deg":11.565364,"altitude":11,"angle":341,"satellites":50,"speed":0,"hex_longitude":"2d110040","hex_latitude":"06e4bc08","is_valid_coordinates":true} 
[2026-07-01 08:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415748096001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333082500580507648,"note":"Value kept but may cause issues"} 
[2026-07-01 08:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1234408539966441472,"note":"Value kept but may cause issues"} 
[2026-07-01 08:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782874319000,"timestamp_ms":1782874319000,"timestamp_seconds":1782874319,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b972898"} 
[2026-07-01 08:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 08:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 08:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":118834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":118834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":118834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415748096001,"66":26321,"245":206,"80":6400,"24":0,"16":333082500580507648,"45":1234408539966441472},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-07-01 08:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415748096001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:27:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333082500580507648,"km_value":333082500580507.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1234408539966441472,"description":"Unknown IO ID 45"} 
[2026-07-01 08:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415748096001,"power":26321,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1234408539966441472}} 
[2026-07-01 08:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":118834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:27:37] local.INFO: GPS data processed {"connection_id":118834,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:27:37] local.INFO: Acknowledgment sent {"connection_id":118834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:28:00] local.INFO: TCP Data received {"connection_id":118945,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b9b9950012d7c3f8005e522b80005000f2e..."} 
[2026-07-01 08:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b9b9950012d7c3f8005e522b80005000f2e..."} 
[2026-07-01 08:28:00] local.INFO: Processing buffer {"connection_id":118945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b9b9950012d7c3f8005e522b80005000f2e..."} 
[2026-07-01 08:28:00] local.INFO: Packet analysis {"connection_id":118945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b9b"} 
[2026-07-01 08:28:00] local.INFO: Extracted packet for processing {"connection_id":118945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b9b"} 
[2026-07-01 08:28:00] local.INFO: GPS Element Parsed {"raw_longitude":763117440,"raw_latitude":98902712,"longitude_deg":76.311744,"latitude_deg":9.8902712,"altitude":5,"angle":15,"satellites":46,"speed":18,"hex_longitude":"2d7c3f80","hex_latitude":"05e522b8","is_valid_coordinates":true} 
[2026-07-01 08:28:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:28:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415898880001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:28:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101201803294539776,"note":"Value kept but may cause issues"} 
[2026-07-01 08:28:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8951396865926514688,"note":"Value kept but may cause issues"} 
[2026-07-01 08:28:00] 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-01 08:28:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782874610000,"timestamp_ms":1782874610000,"timestamp_seconds":1782874610,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b9b9950"} 
[2026-07-01 08:28:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:28:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:28:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-01 08:28:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:28:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:28:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:28:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:28:00] local.INFO: Teltonika packet parsed successfully {"connection_id":118945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:28:00] local.INFO: Passing IMEI to GPS processor {"connection_id":118945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:28:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":118945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:28:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:28:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:28:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:28:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415898880001,"66":12645,"95":206,"85":15104,"24":18,"16":101201803294539776,"45":8951396865926514688},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-07-01 08:28:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:28:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:28:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415898880001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:28:00] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-01 08:28:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 08:28:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101201803294539776,"km_value":101201803294539.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:28:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8951396865926514688,"description":"Unknown IO ID 45"} 
[2026-07-01 08:28:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415898880001,"power":12645,"unknown_95":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8951396865926514688}} 
[2026-07-01 08:28:00] local.INFO: DEBUG: GPS processor result {"connection_id":118945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416604,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:28:00] local.INFO: GPS data processed {"connection_id":118945,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:28:00] local.INFO: Acknowledgment sent {"connection_id":118945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:28:10] local.INFO: TCP Data received {"connection_id":118945,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b9b9d38012d7c3f8005e52458000401622e..."} 
[2026-07-01 08:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b9b9d38012d7c3f8005e52458000401622e..."} 
[2026-07-01 08:28:10] local.INFO: Processing buffer {"connection_id":118945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b9b9d38012d7c3f8005e52458000401622e..."} 
[2026-07-01 08:28:10] local.INFO: Packet analysis {"connection_id":118945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b9b"} 
[2026-07-01 08:28:10] local.INFO: Extracted packet for processing {"connection_id":118945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b9b"} 
[2026-07-01 08:28:10] local.INFO: GPS Element Parsed {"raw_longitude":763117440,"raw_latitude":98903128,"longitude_deg":76.311744,"latitude_deg":9.8903128,"altitude":4,"angle":354,"satellites":46,"speed":17,"hex_longitude":"2d7c3f80","hex_latitude":"05e52458","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415900160001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101201824769376256,"note":"Value kept but may cause issues"} 
[2026-07-01 08:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953015347043284992,"note":"Value kept but may cause issues"} 
[2026-07-01 08:28:10] 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-01 08:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782874611000,"timestamp_ms":1782874611000,"timestamp_seconds":1782874611,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b9b9d38"} 
[2026-07-01 08: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-01 08:28: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-01 08: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-01 08:28:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08: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-01 08: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-01 08:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":118945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":118945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":118945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415900160001,"66":13091,"95":206,"85":15104,"24":17,"16":101201824769376256,"45":8953015347043284992},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-07-01 08:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415900160001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:28:10] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-01 08:28:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 08:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101201824769376256,"km_value":101201824769376.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953015347043284992,"description":"Unknown IO ID 45"} 
[2026-07-01 08:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415900160001,"power":13091,"unknown_95":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8953015347043284992}} 
[2026-07-01 08:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":118945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416605,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:28:10] local.INFO: GPS data processed {"connection_id":118945,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:28:10] local.INFO: Acknowledgment sent {"connection_id":118945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:28:18] local.INFO: TCP Data received {"connection_id":118947,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118947,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:28:18] local.INFO: Processing buffer {"connection_id":118947,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:28:18] local.INFO: IMEI packet received {"connection_id":118947,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 08:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":118947,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:28:19] local.INFO: TCP Data received {"connection_id":118947,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118947,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:28:19] local.INFO: Processing buffer {"connection_id":118947,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:28:19] local.INFO: IMEI packet received {"connection_id":118947,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":118947,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:28:21] local.INFO: TCP Data received {"connection_id":118835,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:28:21] local.INFO: Processing buffer {"connection_id":118835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:28:21] local.INFO: IMEI packet received {"connection_id":118835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 08:28:21] local.INFO: IMEI acknowledgment sent {"connection_id":118835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:28:25] local.INFO: TCP Data received {"connection_id":118947,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118947,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:28:25] local.INFO: Processing buffer {"connection_id":118947,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:28:25] local.INFO: IMEI packet received {"connection_id":118947,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":118947,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:28:26] local.INFO: TCP Data received {"connection_id":118947,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b9bd7d0012d7c38c005e546d80004015b2d..."} 
[2026-07-01 08:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b9bd7d0012d7c38c005e546d80004015b2d..."} 
[2026-07-01 08:28:26] local.INFO: Processing buffer {"connection_id":118947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b9bd7d0012d7c38c005e546d80004015b2d..."} 
[2026-07-01 08:28:26] local.INFO: Packet analysis {"connection_id":118947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b9b"} 
[2026-07-01 08:28:26] local.INFO: Extracted packet for processing {"connection_id":118947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b9b"} 
[2026-07-01 08:28:26] local.INFO: GPS Element Parsed {"raw_longitude":763115712,"raw_latitude":98911960,"longitude_deg":76.3115712,"latitude_deg":9.891196,"altitude":4,"angle":347,"satellites":45,"speed":27,"hex_longitude":"2d7c38c0","hex_latitude":"05e546d8","is_valid_coordinates":true} 
[2026-07-01 08:28:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:28:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415900416001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:28:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101202262856040448,"note":"Value kept but may cause issues"} 
[2026-07-01 08:28:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953015347043391488,"note":"Value kept but may cause issues"} 
[2026-07-01 08:28:26] 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-01 08:28:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782874626000,"timestamp_ms":1782874626000,"timestamp_seconds":1782874626,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b9bd7d0"} 
[2026-07-01 08:28:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:28: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-01 08:28:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-01 08:28: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-01 08:28:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:28:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:28:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:28:26] local.INFO: Teltonika packet parsed successfully {"connection_id":118947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:28:26] local.INFO: Passing IMEI to GPS processor {"connection_id":118947,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:28:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":118947,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:28:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:28:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:28:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:28:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415900416001,"66":13276,"39":206,"87":13824,"24":27,"16":101202262856040448,"45":8953015347043391488},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-01 08:28:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:28:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:28:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415900416001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:28:26] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-01 08:28:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:28:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101202262856040448,"km_value":101202262856040.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:28:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953015347043391488,"description":"Unknown IO ID 45"} 
[2026-07-01 08:28:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415900416001,"power":13276,"unknown_39":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8953015347043391488}} 
[2026-07-01 08:28:26] local.INFO: DEBUG: GPS processor result {"connection_id":118947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416606,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:28:26] local.INFO: GPS data processed {"connection_id":118947,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:28:26] local.INFO: Acknowledgment sent {"connection_id":118947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:28:27] local.INFO: TCP Data received {"connection_id":118835,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:28:27] local.INFO: Processing buffer {"connection_id":118835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:28:27] local.INFO: IMEI packet received {"connection_id":118835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":118835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:28:30] local.INFO: TCP Data received {"connection_id":118835,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b9bc060012d11004006e4bc08000b015531..."} 
[2026-07-01 08:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b9bc060012d11004006e4bc08000b015531..."} 
[2026-07-01 08:28:30] local.INFO: Processing buffer {"connection_id":118835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b9bc060012d11004006e4bc08000b015531..."} 
[2026-07-01 08:28:30] local.INFO: Packet analysis {"connection_id":118835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b9b"} 
[2026-07-01 08:28:30] local.INFO: Extracted packet for processing {"connection_id":118835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b9b"} 
[2026-07-01 08:28:30] local.INFO: GPS Element Parsed {"raw_longitude":756088896,"raw_latitude":115653640,"longitude_deg":75.6088896,"latitude_deg":11.565364,"altitude":11,"angle":341,"satellites":49,"speed":0,"hex_longitude":"2d110040","hex_latitude":"06e4bc08","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415825664001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333082500580507648,"note":"Value kept but may cause issues"} 
[2026-07-01 08:28:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1225049496996284416,"note":"Value kept but may cause issues"} 
[2026-07-01 08:28:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782874620000,"timestamp_ms":1782874620000,"timestamp_seconds":1782874620,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b9bc060"} 
[2026-07-01 08: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-01 08:28:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 08: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-07-01 08:28:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08: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-01 08: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-01 08:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":118835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":118835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":118835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:28:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415825664001,"66":26006,"245":206,"80":6400,"24":0,"16":333082500580507648,"45":1225049496996284416},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-07-01 08:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415825664001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:28:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333082500580507648,"km_value":333082500580507.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:28:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1225049496996284416,"description":"Unknown IO ID 45"} 
[2026-07-01 08:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415825664001,"power":26006,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1225049496996284416}} 
[2026-07-01 08:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":118835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:28:30] local.INFO: GPS data processed {"connection_id":118835,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:28:30] local.INFO: Acknowledgment sent {"connection_id":118835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:28:31] local.INFO: TCP Data received {"connection_id":118946,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 08:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118946,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 08:28:31] local.INFO: Processing buffer {"connection_id":118946,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 08:28:31] local.INFO: IMEI packet received {"connection_id":118946,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 08:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":118946,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:28:58] local.INFO: TCP Data received {"connection_id":118947,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b9d1050012d7bcb8005e62bd8000401512a..."} 
[2026-07-01 08:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b9d1050012d7bcb8005e62bd8000401512a..."} 
[2026-07-01 08:28:58] local.INFO: Processing buffer {"connection_id":118947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b9d1050012d7bcb8005e62bd8000401512a..."} 
[2026-07-01 08:28:58] local.INFO: Packet analysis {"connection_id":118947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b9d"} 
[2026-07-01 08:28:58] local.INFO: Extracted packet for processing {"connection_id":118947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b9d"} 
[2026-07-01 08:28:58] local.INFO: GPS Element Parsed {"raw_longitude":763087744,"raw_latitude":98970584,"longitude_deg":76.3087744,"latitude_deg":9.8970584,"altitude":4,"angle":337,"satellites":42,"speed":5,"hex_longitude":"2d7bcb80","hex_latitude":"05e62bd8","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415924224001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101205475491577856,"note":"Value kept but may cause issues"} 
[2026-07-01 08:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8920364249762177024,"note":"Value kept but may cause issues"} 
[2026-07-01 08:28:58] 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-01 08:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782874706000,"timestamp_ms":1782874706000,"timestamp_seconds":1782874706,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b9d1050"} 
[2026-07-01 08: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-01 08:28:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-07-01 08:28: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-01 08: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-01 08: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-01 08:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118947,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118947,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:28:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415924224001,"66":12037,"38":206,"87":13824,"24":5,"16":101205475491577856,"45":8920364249762177024},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-07-01 08:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415924224001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:28:58] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-01 08:28:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101205475491577856,"km_value":101205475491577.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8920364249762177024,"description":"Unknown IO ID 45"} 
[2026-07-01 08:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415924224001,"power":12037,"unknown_38":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8920364249762177024}} 
[2026-07-01 08:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":118947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416608,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:28:58] local.INFO: GPS data processed {"connection_id":118947,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:28:58] local.INFO: Acknowledgment sent {"connection_id":118947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:29:01] local.INFO: TCP Data received {"connection_id":118835,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b9bc060012d11004006e4bc08000b015531..."} 
[2026-07-01 08:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b9bc060012d11004006e4bc08000b015531..."} 
[2026-07-01 08:29:01] local.INFO: Processing buffer {"connection_id":118835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b9bc060012d11004006e4bc08000b015531..."} 
[2026-07-01 08:29:01] local.INFO: Packet analysis {"connection_id":118835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b9b"} 
[2026-07-01 08:29:01] local.INFO: Extracted packet for processing {"connection_id":118835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b9b"} 
[2026-07-01 08:29:01] local.INFO: GPS Element Parsed {"raw_longitude":756088896,"raw_latitude":115653640,"longitude_deg":75.6088896,"latitude_deg":11.565364,"altitude":11,"angle":341,"satellites":49,"speed":0,"hex_longitude":"2d110040","hex_latitude":"06e4bc08","is_valid_coordinates":true} 
[2026-07-01 08:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415825664001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333082500580507648,"note":"Value kept but may cause issues"} 
[2026-07-01 08:29:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1225049496996284416,"note":"Value kept but may cause issues"} 
[2026-07-01 08:29:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782874620000,"timestamp_ms":1782874620000,"timestamp_seconds":1782874620,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b9bc060"} 
[2026-07-01 08:29:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:29:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 08:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-07-01 08:29:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:29:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:29:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":118835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":118835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":118835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:29:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415825664001,"66":26006,"245":206,"80":6400,"24":0,"16":333082500580507648,"45":1225049496996284416},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-07-01 08:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415825664001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:29:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333082500580507648,"km_value":333082500580507.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:29:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1225049496996284416,"description":"Unknown IO ID 45"} 
[2026-07-01 08:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415825664001,"power":26006,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1225049496996284416}} 
[2026-07-01 08:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":118835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:29:01] local.INFO: GPS data processed {"connection_id":118835,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:29:01] local.INFO: Acknowledgment sent {"connection_id":118835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:29:16] local.INFO: TCP Data received {"connection_id":118836,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 08:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118836,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 08:29:16] local.INFO: Processing buffer {"connection_id":118836,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 08:29:16] local.INFO: IMEI packet received {"connection_id":118836,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 08:29:16] local.INFO: IMEI acknowledgment sent {"connection_id":118836,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:29:21] local.INFO: TCP Data received {"connection_id":120710,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:29:21] local.INFO: Processing buffer {"connection_id":120710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:29:21] local.INFO: IMEI packet received {"connection_id":120710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 08:29:21] local.INFO: IMEI acknowledgment sent {"connection_id":120710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:29:24] local.INFO: TCP Data received {"connection_id":118948,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118948,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:29:24] local.INFO: Processing buffer {"connection_id":118948,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:29:24] local.INFO: IMEI packet received {"connection_id":118948,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 08:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":118948,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:29:26] local.INFO: TCP Data received {"connection_id":120710,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:29:26] local.INFO: Processing buffer {"connection_id":120710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:29:26] local.INFO: IMEI packet received {"connection_id":120710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":120710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:29:28] local.INFO: TCP Data received {"connection_id":120710,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b9bc060012d11004006e4bc08000b015531..."} 
[2026-07-01 08:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b9bc060012d11004006e4bc08000b015531..."} 
[2026-07-01 08:29:28] local.INFO: Processing buffer {"connection_id":120710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b9bc060012d11004006e4bc08000b015531..."} 
[2026-07-01 08:29:28] local.INFO: Packet analysis {"connection_id":120710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b9b"} 
[2026-07-01 08:29:28] local.INFO: Extracted packet for processing {"connection_id":120710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b9b"} 
[2026-07-01 08:29:28] local.INFO: GPS Element Parsed {"raw_longitude":756088896,"raw_latitude":115653640,"longitude_deg":75.6088896,"latitude_deg":11.565364,"altitude":11,"angle":341,"satellites":49,"speed":0,"hex_longitude":"2d110040","hex_latitude":"06e4bc08","is_valid_coordinates":true} 
[2026-07-01 08:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:29:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415825664001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:29:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333082500580507648,"note":"Value kept but may cause issues"} 
[2026-07-01 08:29:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1225049496996284416,"note":"Value kept but may cause issues"} 
[2026-07-01 08:29:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:29:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782874620000,"timestamp_ms":1782874620000,"timestamp_seconds":1782874620,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b9bc060"} 
[2026-07-01 08:29:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:29:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 08:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-07-01 08:29:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:29:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:29:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:29:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:29:28] local.INFO: Teltonika packet parsed successfully {"connection_id":120710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:29:28] local.INFO: Passing IMEI to GPS processor {"connection_id":120710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:29:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":120710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:29:28] 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-01 08:29:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:29:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:29:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415825664001,"66":26006,"245":206,"80":6400,"24":0,"16":333082500580507648,"45":1225049496996284416},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-07-01 08:29:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:29:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:29:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415825664001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:29:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:29:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333082500580507648,"km_value":333082500580507.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:29:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1225049496996284416,"description":"Unknown IO ID 45"} 
[2026-07-01 08:29:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415825664001,"power":26006,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1225049496996284416}} 
[2026-07-01 08:29:28] local.INFO: DEBUG: GPS processor result {"connection_id":120710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:29:28] local.INFO: GPS data processed {"connection_id":120710,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:29:28] local.INFO: Acknowledgment sent {"connection_id":120710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:29:28] local.INFO: TCP Data received {"connection_id":118948,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118948,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:29:28] local.INFO: Processing buffer {"connection_id":118948,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:29:28] local.INFO: IMEI packet received {"connection_id":118948,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":118948,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:29:29] local.INFO: TCP Data received {"connection_id":118948,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b9d2f90012d7bc88005e632400004015e2c..."} 
[2026-07-01 08:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b9d2f90012d7bc88005e632400004015e2c..."} 
[2026-07-01 08:29:29] local.INFO: Processing buffer {"connection_id":118948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b9d2f90012d7bc88005e632400004015e2c..."} 
[2026-07-01 08:29:29] local.INFO: Packet analysis {"connection_id":118948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b9d"} 
[2026-07-01 08:29:29] local.INFO: Extracted packet for processing {"connection_id":118948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b9d"} 
[2026-07-01 08:29:29] local.INFO: GPS Element Parsed {"raw_longitude":763086976,"raw_latitude":98972224,"longitude_deg":76.3086976,"latitude_deg":9.8972224,"altitude":4,"angle":350,"satellites":44,"speed":5,"hex_longitude":"2d7bc880","hex_latitude":"05e63240","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415924736001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101205565685891072,"note":"Value kept but may cause issues"} 
[2026-07-01 08:29:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8920364249762224128,"note":"Value kept but may cause issues"} 
[2026-07-01 08:29:29] 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-01 08:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782874714000,"timestamp_ms":1782874714000,"timestamp_seconds":1782874714,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b9d2f90"} 
[2026-07-01 08: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-01 08:29:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08: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":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-01 08:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3026418949760746496,"note":"Value kept but may cause issues"} 
[2026-07-01 08:29:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-01 08:29:29] local.WARNING: Large IO value detected {"io_id":27,"raw_value":2629715969,"note":"Value kept but may cause issues"} 
[2026-07-01 08:29:29] local.WARNING: Large IO value detected {"io_id":229,"raw_value":4035969028,"note":"Value kept but may cause issues"} 
[2026-07-01 08:29:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6352046685655793688,"corrected_to":0} 
[2026-07-01 08:29:29] local.WARNING: Large IO value detected {"io_id":170,"raw_value":3221302651,"note":"Value kept but may cause issues"} 
[2026-07-01 08:29:29] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182221119684864,"note":"Value kept but may cause issues"} 
[2026-07-01 08:29:29] local.WARNING: Large IO value detected {"io_id":103,"raw_value":2364866560,"note":"Value kept but may cause issues"} 
[2026-07-01 08:29:29] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1886313352452292571,"note":"Value kept but may cause issues"} 
[2026-07-01 08:29:29] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195120128,"note":"Value kept but may cause issues"} 
[2026-07-01 08:29:29] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,38,87,24,241,157,16,141,159,8,45,128,43,3,41,10,66,237,64,25,4,198,192,1,240,7,227,27,229,113,205,30,170,234,239,51,39,2,103,5,69],"length":484,"final_offset":614,"validated_count":41,"validation_warnings":[{"io_id":205,"original":6352046685655793688,"validated":0}]} 
[2026-07-01 08:29:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288601091959226368,"timestamp_seconds":288601091959226.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 08: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-01 08:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":118948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":118948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":118948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:29:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415924736001,"66":12809,"95":206,"87":13824,"24":5,"16":101205565685891072,"45":8920364249762224128},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-07-01 08:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415924736001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:29:29] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-01 08:29:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101205565685891072,"km_value":101205565685891.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:29:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8920364249762224128,"description":"Unknown IO ID 45"} 
[2026-07-01 08:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415924736001,"power":12809,"unknown_95":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8920364249762224128}} 
[2026-07-01 08:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":118948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416611,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:29:29] local.INFO: GPS data processed {"connection_id":118948,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:29:29] local.INFO: Acknowledgment sent {"connection_id":118948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:29:30] local.INFO: TCP Data received {"connection_id":118948,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b9d3760012d7bc84005e633100004014e2d..."} 
[2026-07-01 08:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b9d3760012d7bc84005e633100004014e2d..."} 
[2026-07-01 08:29:30] local.INFO: Processing buffer {"connection_id":118948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b9d3760012d7bc84005e633100004014e2d..."} 
[2026-07-01 08:29:30] local.INFO: Packet analysis {"connection_id":118948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b9d"} 
[2026-07-01 08:29:30] local.INFO: Extracted packet for processing {"connection_id":118948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b9d"} 
[2026-07-01 08:29:30] local.INFO: GPS Element Parsed {"raw_longitude":763086912,"raw_latitude":98972432,"longitude_deg":76.3086912,"latitude_deg":9.8972432,"altitude":4,"angle":334,"satellites":45,"speed":5,"hex_longitude":"2d7bc840","hex_latitude":"05e63310","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415926784001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101205578570792960,"note":"Value kept but may cause issues"} 
[2026-07-01 08:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8919519824832512000,"note":"Value kept but may cause issues"} 
[2026-07-01 08:29:30] 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-01 08:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782874716000,"timestamp_ms":1782874716000,"timestamp_seconds":1782874716,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b9d3760"} 
[2026-07-01 08: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-01 08:29:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-01 08:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3026418949760746496,"note":"Value kept but may cause issues"} 
[2026-07-01 08:29:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-01 08:29:30] local.WARNING: Large IO value detected {"io_id":141,"raw_value":2701131776,"note":"Value kept but may cause issues"} 
[2026-07-01 08:29:30] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-01 08:29:30] local.WARNING: Large IO value detected {"io_id":27,"raw_value":-7165394127855812672,"note":"Value kept but may cause issues"} 
[2026-07-01 08:29:30] local.WARNING: Large IO value detected {"io_id":229,"raw_value":4125622276,"note":"Value kept but may cause issues"} 
[2026-07-01 08:29:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1478951118,"corrected_to":0} 
[2026-07-01 08:29:30] local.WARNING: Large IO value detected {"io_id":51,"raw_value":8791252251122388567,"note":"Value kept but may cause issues"} 
[2026-07-01 08:29:30] local.WARNING: Large IO value detected {"io_id":103,"raw_value":2368012288,"note":"Value kept but may cause issues"} 
[2026-07-01 08:29:30] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1886313352452292571,"note":"Value kept but may cause issues"} 
[2026-07-01 08:29:30] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755545470075121,"note":"Value kept but may cause issues"} 
[2026-07-01 08:29:30] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,95,87,24,241,157,16,141,159,45,128,43,4,42,10,66,38,8,3,41,237,64,1,240,248,227,27,229,113,205,30,190,222,144,239,51,39,2,103,5,34,54,245],"length":535,"final_offset":665,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1478951118,"validated":0}]} 
[2026-07-01 08:29:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288615394200322048,"timestamp_seconds":288615394200322.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 08: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-01 08:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":118948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":118948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":118948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:29:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415926784001,"66":13189,"95":206,"87":13824,"24":5,"16":101205578570792960,"45":8919519824832512000},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-07-01 08:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415926784001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:29:30] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-01 08:29:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101205578570792960,"km_value":101205578570792.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8919519824832512000,"description":"Unknown IO ID 45"} 
[2026-07-01 08:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415926784001,"power":13189,"unknown_95":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8919519824832512000}} 
[2026-07-01 08:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":118948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416612,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:29:30] local.INFO: GPS data processed {"connection_id":118948,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:29:30] local.INFO: Acknowledgment sent {"connection_id":118948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:29:59] local.INFO: TCP Data received {"connection_id":120710,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b9bc060012d11004006e4bc08000b015531..."} 
[2026-07-01 08:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b9bc060012d11004006e4bc08000b015531..."} 
[2026-07-01 08:29:59] local.INFO: Processing buffer {"connection_id":120710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b9bc060012d11004006e4bc08000b015531..."} 
[2026-07-01 08:29:59] local.INFO: Packet analysis {"connection_id":120710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b9b"} 
[2026-07-01 08:29:59] local.INFO: Extracted packet for processing {"connection_id":120710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b9b"} 
[2026-07-01 08:29:59] local.INFO: GPS Element Parsed {"raw_longitude":756088896,"raw_latitude":115653640,"longitude_deg":75.6088896,"latitude_deg":11.565364,"altitude":11,"angle":341,"satellites":49,"speed":0,"hex_longitude":"2d110040","hex_latitude":"06e4bc08","is_valid_coordinates":true} 
[2026-07-01 08:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415825664001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333082500580507648,"note":"Value kept but may cause issues"} 
[2026-07-01 08:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1225049496996284416,"note":"Value kept but may cause issues"} 
[2026-07-01 08:29:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782874620000,"timestamp_ms":1782874620000,"timestamp_seconds":1782874620,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b9bc060"} 
[2026-07-01 08:29:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:29:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 08:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-07-01 08:29:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:29:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:29:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":120710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":120710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":120710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:29:59] 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-01 08:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415825664001,"66":26006,"245":206,"80":6400,"24":0,"16":333082500580507648,"45":1225049496996284416},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-07-01 08:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415825664001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:29:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333082500580507648,"km_value":333082500580507.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1225049496996284416,"description":"Unknown IO ID 45"} 
[2026-07-01 08:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415825664001,"power":26006,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1225049496996284416}} 
[2026-07-01 08:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":120710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:29:59] local.INFO: GPS data processed {"connection_id":120710,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:29:59] local.INFO: Acknowledgment sent {"connection_id":120710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:30:01] local.INFO: TCP Data received {"connection_id":118948,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b9d8580012d7bba0005e64ec00004014c26..."} 
[2026-07-01 08:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b9d8580012d7bba0005e64ec00004014c26..."} 
[2026-07-01 08:30:01] local.INFO: Processing buffer {"connection_id":118948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b9d8580012d7bba0005e64ec00004014c26..."} 
[2026-07-01 08:30:01] local.INFO: Packet analysis {"connection_id":118948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b9d"} 
[2026-07-01 08:30:01] local.INFO: Extracted packet for processing {"connection_id":118948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b9d"} 
[2026-07-01 08:30:01] local.INFO: GPS Element Parsed {"raw_longitude":763083264,"raw_latitude":98979520,"longitude_deg":76.3083264,"latitude_deg":9.897952,"altitude":4,"angle":332,"satellites":38,"speed":30,"hex_longitude":"2d7bba00","hex_latitude":"05e64ec0","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:30:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415927296001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:30:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101205965117849600,"note":"Value kept but may cause issues"} 
[2026-07-01 08:30:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8919449456088387584,"note":"Value kept but may cause issues"} 
[2026-07-01 08:30:01] 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-01 08:30:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782874736000,"timestamp_ms":1782874736000,"timestamp_seconds":1782874736,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b9d8580"} 
[2026-07-01 08: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-01 08:30:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08: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":133,"data_length":795,"current_offset":136} 
[2026-07-01 08:30:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08: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-01 08: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-01 08:30:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:30:01] local.INFO: Teltonika packet parsed successfully {"connection_id":118948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:30:01] local.INFO: Passing IMEI to GPS processor {"connection_id":118948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:30:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":118948,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:30:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:30:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:30:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:30:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415927296001,"66":13102,"95":206,"87":13824,"24":30,"16":101205965117849600,"45":8919449456088387584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-07-01 08:30:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:30:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:30:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415927296001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:30:01] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-01 08:30:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:30:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101205965117849600,"km_value":101205965117849.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:30:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8919449456088387584,"description":"Unknown IO ID 45"} 
[2026-07-01 08:30:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415927296001,"power":13102,"unknown_95":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8919449456088387584}} 
[2026-07-01 08:30:01] local.INFO: DEBUG: GPS processor result {"connection_id":118948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416614,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:30:01] local.INFO: GPS data processed {"connection_id":118948,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:30:01] local.INFO: Acknowledgment sent {"connection_id":118948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:30:19] local.INFO: TCP Data received {"connection_id":119606,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119606,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:30:19] local.INFO: Processing buffer {"connection_id":119606,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:30:19] local.INFO: IMEI packet received {"connection_id":119606,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 08:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":119606,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:30:21] local.INFO: TCP Data received {"connection_id":118949,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:30:21] local.INFO: Processing buffer {"connection_id":118949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:30:21] local.INFO: IMEI packet received {"connection_id":118949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 08:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":118949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:30:24] local.INFO: TCP Data received {"connection_id":119606,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119606,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:30:24] local.INFO: Processing buffer {"connection_id":119606,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:30:24] local.INFO: IMEI packet received {"connection_id":119606,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":119606,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:30:25] local.INFO: TCP Data received {"connection_id":119606,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b9e8f20012d7b7d4005e71c080004014f2d..."} 
[2026-07-01 08:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b9e8f20012d7b7d4005e71c080004014f2d..."} 
[2026-07-01 08:30:25] local.INFO: Processing buffer {"connection_id":119606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b9e8f20012d7b7d4005e71c080004014f2d..."} 
[2026-07-01 08:30:25] local.INFO: Packet analysis {"connection_id":119606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b9e"} 
[2026-07-01 08:30:25] local.INFO: Extracted packet for processing {"connection_id":119606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b9e"} 
[2026-07-01 08:30:25] local.INFO: GPS Element Parsed {"raw_longitude":763067712,"raw_latitude":99032072,"longitude_deg":76.3067712,"latitude_deg":9.9032072,"altitude":4,"angle":335,"satellites":45,"speed":24,"hex_longitude":"2d7b7d40","hex_latitude":"05e71c08","is_valid_coordinates":true} 
[2026-07-01 08:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415948544001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101208679537180672,"note":"Value kept but may cause issues"} 
[2026-07-01 08:30:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900309157686650880,"note":"Value kept but may cause issues"} 
[2026-07-01 08:30:25] 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-01 08:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782874804000,"timestamp_ms":1782874804000,"timestamp_seconds":1782874804,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b9e8f20"} 
[2026-07-01 08:30:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:30:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-01 08:30:25] 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-01 08:30:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:30:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:30:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415948544001,"66":13222,"96":206,"87":13824,"24":24,"16":101208679537180672,"45":8900309157686650880},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-01 08:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415948544001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:30:25] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-01 08:30:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101208679537180672,"km_value":101208679537180.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:30:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900309157686650880,"description":"Unknown IO ID 45"} 
[2026-07-01 08:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415948544001,"power":13222,"unknown_96":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8900309157686650880}} 
[2026-07-01 08:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":119606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416615,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:30:25] local.INFO: GPS data processed {"connection_id":119606,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:30:25] local.INFO: Acknowledgment sent {"connection_id":119606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:30:26] local.INFO: TCP Data received {"connection_id":118949,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:30:26] local.INFO: Processing buffer {"connection_id":118949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:30:26] local.INFO: IMEI packet received {"connection_id":118949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":118949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:30:27] local.INFO: TCP Data received {"connection_id":118949,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b9bc060012d11004006e4bc08000b015531..."} 
[2026-07-01 08:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b9bc060012d11004006e4bc08000b015531..."} 
[2026-07-01 08:30:27] local.INFO: Processing buffer {"connection_id":118949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b9bc060012d11004006e4bc08000b015531..."} 
[2026-07-01 08:30:27] local.INFO: Packet analysis {"connection_id":118949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b9b"} 
[2026-07-01 08:30:27] local.INFO: Extracted packet for processing {"connection_id":118949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b9b"} 
[2026-07-01 08:30:27] local.INFO: GPS Element Parsed {"raw_longitude":756088896,"raw_latitude":115653640,"longitude_deg":75.6088896,"latitude_deg":11.565364,"altitude":11,"angle":341,"satellites":49,"speed":0,"hex_longitude":"2d110040","hex_latitude":"06e4bc08","is_valid_coordinates":true} 
[2026-07-01 08:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415825664001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333082500580507648,"note":"Value kept but may cause issues"} 
[2026-07-01 08:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1225049496996284416,"note":"Value kept but may cause issues"} 
[2026-07-01 08:30:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782874620000,"timestamp_ms":1782874620000,"timestamp_seconds":1782874620,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b9bc060"} 
[2026-07-01 08:30:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:30:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 08:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-07-01 08:30:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:30:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:30:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:30:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415825664001,"66":26006,"245":206,"80":6400,"24":0,"16":333082500580507648,"45":1225049496996284416},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-07-01 08:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415825664001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:30:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333082500580507648,"km_value":333082500580507.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1225049496996284416,"description":"Unknown IO ID 45"} 
[2026-07-01 08:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415825664001,"power":26006,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1225049496996284416}} 
[2026-07-01 08:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":118949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:30:27] local.INFO: GPS data processed {"connection_id":118949,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:30:27] local.INFO: Acknowledgment sent {"connection_id":118949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:30:56] local.INFO: TCP Data received {"connection_id":119606,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b9e9ad8012d7b7b8005e721b80004015b2b..."} 
[2026-07-01 08:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b9e9ad8012d7b7b8005e721b80004015b2b..."} 
[2026-07-01 08:30:56] local.INFO: Processing buffer {"connection_id":119606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b9e9ad8012d7b7b8005e721b80004015b2b..."} 
[2026-07-01 08:30:56] local.INFO: Packet analysis {"connection_id":119606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b9e"} 
[2026-07-01 08:30:56] local.INFO: Extracted packet for processing {"connection_id":119606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b9e"} 
[2026-07-01 08:30:56] local.INFO: GPS Element Parsed {"raw_longitude":763067264,"raw_latitude":99033528,"longitude_deg":76.3067264,"latitude_deg":9.9033528,"altitude":4,"angle":347,"satellites":43,"speed":15,"hex_longitude":"2d7b7b80","hex_latitude":"05e721b8","is_valid_coordinates":true} 
[2026-07-01 08:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415949824001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101208752551624704,"note":"Value kept but may cause issues"} 
[2026-07-01 08:30:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8898338832850356224,"note":"Value kept but may cause issues"} 
[2026-07-01 08:30:56] 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-01 08:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782874807000,"timestamp_ms":1782874807000,"timestamp_seconds":1782874807,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b9e9ad8"} 
[2026-07-01 08:30:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:30:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-01 08:30:56] 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-01 08:30:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:30:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":119606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":119606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":119606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:30:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415949824001,"66":13015,"96":206,"87":13824,"24":15,"16":101208752551624704,"45":8898338832850356224},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-01 08:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415949824001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:30:56] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-01 08:30:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101208752551624704,"km_value":101208752551624.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:30:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8898338832850356224,"description":"Unknown IO ID 45"} 
[2026-07-01 08:30:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415949824001,"power":13015,"unknown_96":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8898338832850356224}} 
[2026-07-01 08:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":119606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416617,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:30:56] local.INFO: GPS data processed {"connection_id":119606,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:30:56] local.INFO: Acknowledgment sent {"connection_id":119606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:30:59] local.INFO: TCP Data received {"connection_id":118949,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b9bc060012d11004006e4bc08000b015531..."} 
[2026-07-01 08:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b9bc060012d11004006e4bc08000b015531..."} 
[2026-07-01 08:30:59] local.INFO: Processing buffer {"connection_id":118949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b9bc060012d11004006e4bc08000b015531..."} 
[2026-07-01 08:30:59] local.INFO: Packet analysis {"connection_id":118949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b9b"} 
[2026-07-01 08:30:59] local.INFO: Extracted packet for processing {"connection_id":118949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b9b"} 
[2026-07-01 08:30:59] local.INFO: GPS Element Parsed {"raw_longitude":756088896,"raw_latitude":115653640,"longitude_deg":75.6088896,"latitude_deg":11.565364,"altitude":11,"angle":341,"satellites":49,"speed":0,"hex_longitude":"2d110040","hex_latitude":"06e4bc08","is_valid_coordinates":true} 
[2026-07-01 08:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415825664001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333082500580507648,"note":"Value kept but may cause issues"} 
[2026-07-01 08:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1225049496996284416,"note":"Value kept but may cause issues"} 
[2026-07-01 08:30:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782874620000,"timestamp_ms":1782874620000,"timestamp_seconds":1782874620,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b9bc060"} 
[2026-07-01 08:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:30:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 08:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-07-01 08:30:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:30:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:30:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415825664001,"66":26006,"245":206,"80":6400,"24":0,"16":333082500580507648,"45":1225049496996284416},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-07-01 08:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415825664001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:30:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333082500580507648,"km_value":333082500580507.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1225049496996284416,"description":"Unknown IO ID 45"} 
[2026-07-01 08:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415825664001,"power":26006,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1225049496996284416}} 
[2026-07-01 08:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":118949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:30:59] local.INFO: GPS data processed {"connection_id":118949,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:30:59] local.INFO: Acknowledgment sent {"connection_id":118949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:31:19] local.INFO: TCP Data received {"connection_id":118839,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118839,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:31:19] local.INFO: Processing buffer {"connection_id":118839,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:31:19] local.INFO: IMEI packet received {"connection_id":118839,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 08:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":118839,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:31:24] local.INFO: TCP Data received {"connection_id":118839,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118839,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:31:24] local.INFO: Processing buffer {"connection_id":118839,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:31:24] local.INFO: IMEI packet received {"connection_id":118839,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:31:24] local.INFO: IMEI acknowledgment sent {"connection_id":118839,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:31:24] local.INFO: TCP Data received {"connection_id":118839,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b9ea2a8012d7b7b8005e723b8000301662b..."} 
[2026-07-01 08:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b9ea2a8012d7b7b8005e723b8000301662b..."} 
[2026-07-01 08:31:25] local.INFO: Processing buffer {"connection_id":118839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b9ea2a8012d7b7b8005e723b8000301662b..."} 
[2026-07-01 08:31:25] local.INFO: Packet analysis {"connection_id":118839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b9e"} 
[2026-07-01 08:31:25] local.INFO: Extracted packet for processing {"connection_id":118839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b9e"} 
[2026-07-01 08:31:25] local.INFO: GPS Element Parsed {"raw_longitude":763067264,"raw_latitude":99034040,"longitude_deg":76.3067264,"latitude_deg":9.903404,"altitude":3,"angle":358,"satellites":43,"speed":6,"hex_longitude":"2d7b7b80","hex_latitude":"05e723b8","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:31:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415950592001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101208778321428480,"note":"Value kept but may cause issues"} 
[2026-07-01 08:31:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897846251641485312,"note":"Value kept but may cause issues"} 
[2026-07-01 08:31:25] 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-01 08:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782874809000,"timestamp_ms":1782874809000,"timestamp_seconds":1782874809,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b9ea2a8"} 
[2026-07-01 08: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-01 08:31:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-01 08:31: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-01 08: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-01 08: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-01 08:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":118839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":118839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":118839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:31:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:31:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415950592001,"66":12982,"96":206,"87":13824,"24":6,"16":101208778321428480,"45":8897846251641485312},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-01 08:31:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:31:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:31:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415950592001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:31:25] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-01 08:31:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:31:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101208778321428480,"km_value":101208778321428.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:31:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897846251641485312,"description":"Unknown IO ID 45"} 
[2026-07-01 08:31:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415950592001,"power":12982,"unknown_96":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8897846251641485312}} 
[2026-07-01 08:31:25] local.INFO: DEBUG: GPS processor result {"connection_id":118839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416619,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:31:25] local.INFO: GPS data processed {"connection_id":118839,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:31:25] local.INFO: Acknowledgment sent {"connection_id":118839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:31:26] local.INFO: TCP Data received {"connection_id":120711,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:31:26] local.INFO: Processing buffer {"connection_id":120711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:31:26] local.INFO: IMEI packet received {"connection_id":120711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 08:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":120711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:31:31] local.INFO: TCP Data received {"connection_id":120711,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:31:31] local.INFO: Processing buffer {"connection_id":120711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:31:31] local.INFO: IMEI packet received {"connection_id":120711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":120711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:31:32] local.INFO: TCP Data received {"connection_id":120711,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b9bc060012d11004006e4bc08000b015531..."} 
[2026-07-01 08:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b9bc060012d11004006e4bc08000b015531..."} 
[2026-07-01 08:31:32] local.INFO: Processing buffer {"connection_id":120711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b9bc060012d11004006e4bc08000b015531..."} 
[2026-07-01 08:31:32] local.INFO: Packet analysis {"connection_id":120711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b9b"} 
[2026-07-01 08:31:32] local.INFO: Extracted packet for processing {"connection_id":120711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b9b"} 
[2026-07-01 08:31:32] local.INFO: GPS Element Parsed {"raw_longitude":756088896,"raw_latitude":115653640,"longitude_deg":75.6088896,"latitude_deg":11.565364,"altitude":11,"angle":341,"satellites":49,"speed":0,"hex_longitude":"2d110040","hex_latitude":"06e4bc08","is_valid_coordinates":true} 
[2026-07-01 08:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415825664001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333082500580507648,"note":"Value kept but may cause issues"} 
[2026-07-01 08:31:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1225049496996284416,"note":"Value kept but may cause issues"} 
[2026-07-01 08:31:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782874620000,"timestamp_ms":1782874620000,"timestamp_seconds":1782874620,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b9bc060"} 
[2026-07-01 08:31:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:31:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 08:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-07-01 08:31:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:31:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:31:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":120711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":120711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":120711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:31:32] 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-01 08:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415825664001,"66":26006,"245":206,"80":6400,"24":0,"16":333082500580507648,"45":1225049496996284416},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-07-01 08:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415825664001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:31:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333082500580507648,"km_value":333082500580507.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:31:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1225049496996284416,"description":"Unknown IO ID 45"} 
[2026-07-01 08:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415825664001,"power":26006,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1225049496996284416}} 
[2026-07-01 08:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":120711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:31:32] local.INFO: GPS data processed {"connection_id":120711,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:31:32] local.INFO: Acknowledgment sent {"connection_id":120711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:31:37] local.INFO: TCP Data received {"connection_id":120711,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b9bc060012d11004006e4bc08000b015531..."} 
[2026-07-01 08:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b9bc060012d11004006e4bc08000b015531..."} 
[2026-07-01 08:31:37] local.INFO: Processing buffer {"connection_id":120711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b9bc060012d11004006e4bc08000b015531..."} 
[2026-07-01 08:31:37] local.INFO: Packet analysis {"connection_id":120711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b9b"} 
[2026-07-01 08:31:37] local.INFO: Extracted packet for processing {"connection_id":120711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b9b"} 
[2026-07-01 08:31:37] local.INFO: GPS Element Parsed {"raw_longitude":756088896,"raw_latitude":115653640,"longitude_deg":75.6088896,"latitude_deg":11.565364,"altitude":11,"angle":341,"satellites":49,"speed":0,"hex_longitude":"2d110040","hex_latitude":"06e4bc08","is_valid_coordinates":true} 
[2026-07-01 08:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415825664001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333082500580507648,"note":"Value kept but may cause issues"} 
[2026-07-01 08:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1225049496996284416,"note":"Value kept but may cause issues"} 
[2026-07-01 08:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782874620000,"timestamp_ms":1782874620000,"timestamp_seconds":1782874620,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b9bc060"} 
[2026-07-01 08:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 08:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-07-01 08:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":120711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":120711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":120711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415825664001,"66":26006,"245":206,"80":6400,"24":0,"16":333082500580507648,"45":1225049496996284416},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-07-01 08:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415825664001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:31:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333082500580507648,"km_value":333082500580507.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1225049496996284416,"description":"Unknown IO ID 45"} 
[2026-07-01 08:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415825664001,"power":26006,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1225049496996284416}} 
[2026-07-01 08:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":120711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:31:37] local.INFO: GPS data processed {"connection_id":120711,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:31:37] local.INFO: Acknowledgment sent {"connection_id":120711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:31:57] local.INFO: TCP Data received {"connection_id":118839,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b9eb248012d7b7ac005e72748000301592b..."} 
[2026-07-01 08:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b9eb248012d7b7ac005e72748000301592b..."} 
[2026-07-01 08:31:57] local.INFO: Processing buffer {"connection_id":118839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b9eb248012d7b7ac005e72748000301592b..."} 
[2026-07-01 08:31:57] local.INFO: Packet analysis {"connection_id":118839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b9e"} 
[2026-07-01 08:31:57] local.INFO: Extracted packet for processing {"connection_id":118839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b9e"} 
[2026-07-01 08:31:57] local.INFO: GPS Element Parsed {"raw_longitude":763067072,"raw_latitude":99034952,"longitude_deg":76.3067072,"latitude_deg":9.9034952,"altitude":3,"angle":345,"satellites":43,"speed":16,"hex_longitude":"2d7b7ac0","hex_latitude":"05e72748","is_valid_coordinates":true} 
[2026-07-01 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-01 08:31:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415951104001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:31:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101208825566068736,"note":"Value kept but may cause issues"} 
[2026-07-01 08:31:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897846251641616384,"note":"Value kept but may cause issues"} 
[2026-07-01 08:31:57] 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-01 08:31:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782874813000,"timestamp_ms":1782874813000,"timestamp_seconds":1782874813,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b9eb248"} 
[2026-07-01 08: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-01 08:31:57] 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-01 08: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-01 08:31:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08: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-01 08: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-01 08:31:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:31:57] local.INFO: Teltonika packet parsed successfully {"connection_id":118839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:31:57] local.INFO: Passing IMEI to GPS processor {"connection_id":118839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:31:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":118839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:31:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:31:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:31:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:31:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415951104001,"66":12298,"96":206,"87":13824,"24":16,"16":101208825566068736,"45":8897846251641616384},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-01 08:31:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:31:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:31:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415951104001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:31:57] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-01 08:31:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:31:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101208825566068736,"km_value":101208825566068.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:31:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897846251641616384,"description":"Unknown IO ID 45"} 
[2026-07-01 08:31:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415951104001,"power":12298,"unknown_96":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":8897846251641616384}} 
[2026-07-01 08:31:57] local.INFO: DEBUG: GPS processor result {"connection_id":118839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416622,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:31:57] local.INFO: GPS data processed {"connection_id":118839,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:31:57] local.INFO: Acknowledgment sent {"connection_id":118839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:32:18] local.INFO: TCP Data received {"connection_id":118950,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118950,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:32:18] local.INFO: Processing buffer {"connection_id":118950,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:32:18] local.INFO: IMEI packet received {"connection_id":118950,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 08:32:18] local.INFO: IMEI acknowledgment sent {"connection_id":118950,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:32:18] local.INFO: TCP Data received {"connection_id":118950,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118950,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:32:18] local.INFO: Processing buffer {"connection_id":118950,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:32:18] local.INFO: IMEI packet received {"connection_id":118950,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:32:18] local.INFO: IMEI acknowledgment sent {"connection_id":118950,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:32:21] local.INFO: TCP Data received {"connection_id":120712,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:32:21] local.INFO: Processing buffer {"connection_id":120712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:32:21] local.INFO: IMEI packet received {"connection_id":120712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 08:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":120712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:32:24] local.INFO: TCP Data received {"connection_id":118950,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118950,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:32:24] local.INFO: Processing buffer {"connection_id":118950,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:32:24] local.INFO: IMEI packet received {"connection_id":118950,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":118950,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:32:24] local.INFO: TCP Data received {"connection_id":118950,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b9f0068012d7b770005e734480004016427..."} 
[2026-07-01 08:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b9f0068012d7b770005e734480004016427..."} 
[2026-07-01 08:32:24] local.INFO: Processing buffer {"connection_id":118950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b9f0068012d7b770005e734480004016427..."} 
[2026-07-01 08:32:24] local.INFO: Packet analysis {"connection_id":118950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b9f"} 
[2026-07-01 08:32:24] local.INFO: Extracted packet for processing {"connection_id":118950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b9f"} 
[2026-07-01 08:32:24] local.INFO: GPS Element Parsed {"raw_longitude":763066112,"raw_latitude":99038280,"longitude_deg":76.3066112,"latitude_deg":9.903828,"altitude":4,"angle":356,"satellites":39,"speed":2,"hex_longitude":"2d7b7700","hex_latitude":"05e73448","is_valid_coordinates":true} 
[2026-07-01 08:32:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:32:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415952128001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:32:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101208997364760576,"note":"Value kept but may cause issues"} 
[2026-07-01 08:32:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897635145409316864,"note":"Value kept but may cause issues"} 
[2026-07-01 08:32:24] 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-01 08:32:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782874833000,"timestamp_ms":1782874833000,"timestamp_seconds":1782874833,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b9f0068"} 
[2026-07-01 08:32:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:32:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:32:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-01 08:32:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-01 08:32:24] local.WARNING: Large IO value detected {"io_id":87,"raw_value":3891136466813714944,"note":"Value kept but may cause issues"} 
[2026-07-01 08:32:24] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185959,"note":"Value kept but may cause issues"} 
[2026-07-01 08:32:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-01 08:32:24] local.WARNING: Large IO value detected {"io_id":144,"raw_value":3386706919782612993,"note":"Value kept but may cause issues"} 
[2026-07-01 08:32:24] local.WARNING: Large IO value detected {"io_id":159,"raw_value":1990090963685309334,"note":"Value kept but may cause issues"} 
[2026-07-01 08:32:24] local.WARNING: Large IO value detected {"io_id":128,"raw_value":425275360863977816,"note":"Value kept but may cause issues"} 
[2026-07-01 08:32:24] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832601,"note":"Value kept but may cause issues"} 
[2026-07-01 08:32:24] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3654109029424103630,"note":"Value kept but may cause issues"} 
[2026-07-01 08:32:24] local.WARNING: Large IO value detected {"io_id":27,"raw_value":2658899969,"note":"Value kept but may cause issues"} 
[2026-07-01 08:32:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298137294,"corrected_to":0} 
[2026-07-01 08:32:24] local.WARNING: Large IO value detected {"io_id":41,"raw_value":7599824371843076,"note":"Value kept but may cause issues"} 
[2026-07-01 08:32:24] local.WARNING: Large IO value detected {"io_id":103,"raw_value":2422800384,"note":"Value kept but may cause issues"} 
[2026-07-01 08:32:24] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3874340864,"note":"Value kept but may cause issues"} 
[2026-07-01 08:32:24] local.WARNING: Large IO value detected {"io_id":7,"raw_value":93494772731215872,"note":"Value kept but may cause issues"} 
[2026-07-01 08:32:24] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,96,87,24,241,157,16,144,159,162,45,128,35,3,43,10,66,154,33,4,143,64,1,240,166,227,27,231,113,205,100,138,41,239,50,2,103,5,7],"length":534,"final_offset":664,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1298137294,"validated":0}]} 
[2026-07-01 08:32:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216552298310008832,"timestamp_seconds":216552298310008.84,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 08:32:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:32:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:32:24] local.INFO: Teltonika packet parsed successfully {"connection_id":118950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:32:24] local.INFO: Passing IMEI to GPS processor {"connection_id":118950,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:32:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":118950,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:32:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:32:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:32:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:32:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415952128001,"66":12841,"96":206,"87":13824,"24":2,"16":101208997364760576,"45":8897635145409316864},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-01 08:32:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:32:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:32:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415952128001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:32:24] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-01 08:32:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:32:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101208997364760576,"km_value":101208997364760.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:32:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897635145409316864,"description":"Unknown IO ID 45"} 
[2026-07-01 08:32:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415952128001,"power":12841,"unknown_96":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8897635145409316864}} 
[2026-07-01 08:32:24] local.INFO: DEBUG: GPS processor result {"connection_id":118950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416623,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:32:24] local.INFO: GPS data processed {"connection_id":118950,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:32:24] local.INFO: Acknowledgment sent {"connection_id":118950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:32:27] local.INFO: TCP Data received {"connection_id":120712,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:32:27] local.INFO: Processing buffer {"connection_id":120712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:32:27] local.INFO: IMEI packet received {"connection_id":120712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":120712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:32:28] local.INFO: TCP Data received {"connection_id":120712,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b9bc060012d11004006e4bc08000b015531..."} 
[2026-07-01 08:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b9bc060012d11004006e4bc08000b015531..."} 
[2026-07-01 08:32:28] local.INFO: Processing buffer {"connection_id":120712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b9bc060012d11004006e4bc08000b015531..."} 
[2026-07-01 08:32:28] local.INFO: Packet analysis {"connection_id":120712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b9b"} 
[2026-07-01 08:32:28] local.INFO: Extracted packet for processing {"connection_id":120712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b9b"} 
[2026-07-01 08:32:28] local.INFO: GPS Element Parsed {"raw_longitude":756088896,"raw_latitude":115653640,"longitude_deg":75.6088896,"latitude_deg":11.565364,"altitude":11,"angle":341,"satellites":49,"speed":0,"hex_longitude":"2d110040","hex_latitude":"06e4bc08","is_valid_coordinates":true} 
[2026-07-01 08:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:32:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415825664001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:32:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333082500580507648,"note":"Value kept but may cause issues"} 
[2026-07-01 08:32:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1225049496996284416,"note":"Value kept but may cause issues"} 
[2026-07-01 08:32:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:32:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782874620000,"timestamp_ms":1782874620000,"timestamp_seconds":1782874620,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b9bc060"} 
[2026-07-01 08:32:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:32:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 08:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-07-01 08:32:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:32:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:32:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:32:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:32:28] local.INFO: Teltonika packet parsed successfully {"connection_id":120712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:32:28] local.INFO: Passing IMEI to GPS processor {"connection_id":120712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:32:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":120712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:32:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:32:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:32:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:32:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415825664001,"66":26006,"245":206,"80":6400,"24":0,"16":333082500580507648,"45":1225049496996284416},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-07-01 08:32:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:32:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:32:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415825664001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:32:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:32:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333082500580507648,"km_value":333082500580507.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:32:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1225049496996284416,"description":"Unknown IO ID 45"} 
[2026-07-01 08:32:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415825664001,"power":26006,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1225049496996284416}} 
[2026-07-01 08:32:28] local.INFO: DEBUG: GPS processor result {"connection_id":120712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:32:28] local.INFO: GPS data processed {"connection_id":120712,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:32:28] local.INFO: Acknowledgment sent {"connection_id":120712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:32:57] local.INFO: TCP Data received {"connection_id":118950,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b9f4e88012d7b740005e755880005015b29..."} 
[2026-07-01 08:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b9f4e88012d7b740005e755880005015b29..."} 
[2026-07-01 08:32:57] local.INFO: Processing buffer {"connection_id":118950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b9f4e88012d7b740005e755880005015b29..."} 
[2026-07-01 08:32:57] local.INFO: Packet analysis {"connection_id":118950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b9f"} 
[2026-07-01 08:32:57] local.INFO: Extracted packet for processing {"connection_id":118950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b9f"} 
[2026-07-01 08:32:57] local.INFO: GPS Element Parsed {"raw_longitude":763065344,"raw_latitude":99046792,"longitude_deg":76.3065344,"latitude_deg":9.9046792,"altitude":5,"angle":347,"satellites":41,"speed":29,"hex_longitude":"2d7b7400","hex_latitude":"05e75588","is_valid_coordinates":true} 
[2026-07-01 08:32: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-01 08:32:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415957248001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:32:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101209413976588288,"note":"Value kept but may cause issues"} 
[2026-07-01 08:32:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896579614247503872,"note":"Value kept but may cause issues"} 
[2026-07-01 08:32:57] 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-01 08:32:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782874853000,"timestamp_ms":1782874853000,"timestamp_seconds":1782874853,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b9f4e88"} 
[2026-07-01 08:32:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:32:57] 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-01 08:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-01 08:32:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:32: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-01 08:32:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:32:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:32:57] local.INFO: Teltonika packet parsed successfully {"connection_id":118950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:32:57] local.INFO: Passing IMEI to GPS processor {"connection_id":118950,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:32:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":118950,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:32:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:32:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:32:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:32:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415957248001,"66":13091,"96":206,"87":13824,"24":29,"16":101209413976588288,"45":8896579614247503872},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-01 08:32:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:32:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:32:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415957248001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:32:57] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-01 08:32:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:32:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101209413976588288,"km_value":101209413976588.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:32:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896579614247503872,"description":"Unknown IO ID 45"} 
[2026-07-01 08:32:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415957248001,"power":13091,"unknown_96":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8896579614247503872}} 
[2026-07-01 08:32:58] local.INFO: DEBUG: GPS processor result {"connection_id":118950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416625,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:32:58] local.INFO: GPS data processed {"connection_id":118950,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:32:58] local.INFO: Acknowledgment sent {"connection_id":118950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:33:01] local.INFO: TCP Data received {"connection_id":120712,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ba05828012d11004006e4bc08000b01552f..."} 
[2026-07-01 08:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ba05828012d11004006e4bc08000b01552f..."} 
[2026-07-01 08:33:01] local.INFO: Processing buffer {"connection_id":120712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ba05828012d11004006e4bc08000b01552f..."} 
[2026-07-01 08:33:01] local.INFO: Packet analysis {"connection_id":120712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ba0"} 
[2026-07-01 08:33:01] local.INFO: Extracted packet for processing {"connection_id":120712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ba0"} 
[2026-07-01 08:33:01] local.INFO: GPS Element Parsed {"raw_longitude":756088896,"raw_latitude":115653640,"longitude_deg":75.6088896,"latitude_deg":11.565364,"altitude":11,"angle":341,"satellites":47,"speed":0,"hex_longitude":"2d110040","hex_latitude":"06e4bc08","is_valid_coordinates":true} 
[2026-07-01 08:33:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415902720001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333082500580507648,"note":"Value kept but may cause issues"} 
[2026-07-01 08:33:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1225049496996284416,"note":"Value kept but may cause issues"} 
[2026-07-01 08:33:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782874921000,"timestamp_ms":1782874921000,"timestamp_seconds":1782874921,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ba05828"} 
[2026-07-01 08:33:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:33:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 08:33:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-01 08:33:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:33:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:33:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":120712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":120712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":120712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:33:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:33:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415902720001,"66":25919,"245":206,"80":6400,"24":0,"16":333082500580507648,"45":1225049496996284416},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-07-01 08:33:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:33:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:33:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415902720001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:33:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:33:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333082500580507648,"km_value":333082500580507.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:33:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1225049496996284416,"description":"Unknown IO ID 45"} 
[2026-07-01 08:33:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415902720001,"power":25919,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1225049496996284416}} 
[2026-07-01 08:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":120712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:33:01] local.INFO: GPS data processed {"connection_id":120712,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:33:01] local.INFO: Acknowledgment sent {"connection_id":120712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:33:18] local.INFO: TCP Data received {"connection_id":119608,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119608,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:33:18] local.INFO: Processing buffer {"connection_id":119608,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:33:18] local.INFO: IMEI packet received {"connection_id":119608,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 08:33:18] local.INFO: IMEI acknowledgment sent {"connection_id":119608,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:33:21] local.INFO: TCP Data received {"connection_id":118952,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:33:21] local.INFO: Processing buffer {"connection_id":118952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:33:21] local.INFO: IMEI packet received {"connection_id":118952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 08:33:21] local.INFO: IMEI acknowledgment sent {"connection_id":118952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:33:23] local.INFO: TCP Data received {"connection_id":119608,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119608,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:33:23] local.INFO: Processing buffer {"connection_id":119608,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:33:23] local.INFO: IMEI packet received {"connection_id":119608,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:33:23] local.INFO: IMEI acknowledgment sent {"connection_id":119608,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:33:26] local.INFO: TCP Data received {"connection_id":118952,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:33:26] local.INFO: Processing buffer {"connection_id":118952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:33:26] local.INFO: IMEI packet received {"connection_id":118952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":118952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:33:27] local.INFO: TCP Data received {"connection_id":118952,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ba05828012d11004006e4bc08000b01552f..."} 
[2026-07-01 08:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ba05828012d11004006e4bc08000b01552f..."} 
[2026-07-01 08:33:27] local.INFO: Processing buffer {"connection_id":118952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ba05828012d11004006e4bc08000b01552f..."} 
[2026-07-01 08:33:27] local.INFO: Packet analysis {"connection_id":118952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ba0"} 
[2026-07-01 08:33:27] local.INFO: Extracted packet for processing {"connection_id":118952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ba0"} 
[2026-07-01 08:33:27] local.INFO: GPS Element Parsed {"raw_longitude":756088896,"raw_latitude":115653640,"longitude_deg":75.6088896,"latitude_deg":11.565364,"altitude":11,"angle":341,"satellites":47,"speed":0,"hex_longitude":"2d110040","hex_latitude":"06e4bc08","is_valid_coordinates":true} 
[2026-07-01 08:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415902720001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333082500580507648,"note":"Value kept but may cause issues"} 
[2026-07-01 08:33:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1225049496996284416,"note":"Value kept but may cause issues"} 
[2026-07-01 08:33:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782874921000,"timestamp_ms":1782874921000,"timestamp_seconds":1782874921,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ba05828"} 
[2026-07-01 08:33:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:33:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 08:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-01 08:33:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:33:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:33:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:33:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415902720001,"66":25919,"245":206,"80":6400,"24":0,"16":333082500580507648,"45":1225049496996284416},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-07-01 08:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415902720001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:33:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333082500580507648,"km_value":333082500580507.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:33:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1225049496996284416,"description":"Unknown IO ID 45"} 
[2026-07-01 08:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415902720001,"power":25919,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1225049496996284416}} 
[2026-07-01 08:33:27] local.INFO: DEBUG: GPS processor result {"connection_id":118952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:33:27] local.INFO: GPS data processed {"connection_id":118952,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:33:27] local.INFO: Acknowledgment sent {"connection_id":118952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:33:48] local.INFO: TCP Data received {"connection_id":119608,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119608,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:33:48] local.INFO: Processing buffer {"connection_id":119608,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:33:48] local.INFO: IMEI packet received {"connection_id":119608,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":119608,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:33:50] local.INFO: TCP Data received {"connection_id":119608,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1b9fa090012d7b6f8005e767500005015d24..."} 
[2026-07-01 08:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1b9fa090012d7b6f8005e767500005015d24..."} 
[2026-07-01 08:33:50] local.INFO: Processing buffer {"connection_id":119608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1b9fa090012d7b6f8005e767500005015d24..."} 
[2026-07-01 08:33:50] local.INFO: Packet analysis {"connection_id":119608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1b9f"} 
[2026-07-01 08:33:50] local.INFO: Extracted packet for processing {"connection_id":119608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1b9f"} 
[2026-07-01 08:33:50] local.INFO: GPS Element Parsed {"raw_longitude":763064192,"raw_latitude":99051344,"longitude_deg":76.3064192,"latitude_deg":9.9051344,"altitude":5,"angle":349,"satellites":36,"speed":0,"hex_longitude":"2d7b6f80","hex_latitude":"05e76750","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:33:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415962368001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:33:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101209641609854976,"note":"Value kept but may cause issues"} 
[2026-07-01 08:33:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8895735189319550976,"note":"Value kept but may cause issues"} 
[2026-07-01 08:33:50] 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-01 08:33:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782874874000,"timestamp_ms":1782874874000,"timestamp_seconds":1782874874,"priority":1,"record_length":96,"hex_timestamp":"0000019f1b9fa090"} 
[2026-07-01 08:33:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:33:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:33:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-01 08:33: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-01 08: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-01 08:33:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:33:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:33:50] local.INFO: Teltonika packet parsed successfully {"connection_id":119608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:33:50] local.INFO: Passing IMEI to GPS processor {"connection_id":119608,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:33:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":119608,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:33:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:33:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:33:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:33:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415962368001,"66":12798,"96":206,"87":13824,"24":0,"16":101209641609854976,"45":8895735189319550976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-01 08:33:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:33:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:33:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415962368001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:33:50] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-01 08:33:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:33:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101209641609854976,"km_value":101209641609854.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:33:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8895735189319550976,"description":"Unknown IO ID 45"} 
[2026-07-01 08:33:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415962368001,"power":12798,"unknown_96":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8895735189319550976}} 
[2026-07-01 08:33:50] local.INFO: DEBUG: GPS processor result {"connection_id":119608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416628,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:33:50] local.INFO: GPS data processed {"connection_id":119608,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:33:50] local.INFO: Acknowledgment sent {"connection_id":119608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:33:52] local.INFO: TCP Data received {"connection_id":119608,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ba1b3d0012d7b5c8005e85738000301612b..."} 
[2026-07-01 08:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ba1b3d0012d7b5c8005e85738000301612b..."} 
[2026-07-01 08:33:52] local.INFO: Processing buffer {"connection_id":119608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ba1b3d0012d7b5c8005e85738000301612b..."} 
[2026-07-01 08:33:52] local.INFO: Packet analysis {"connection_id":119608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ba1"} 
[2026-07-01 08:33:52] local.INFO: Extracted packet for processing {"connection_id":119608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ba1"} 
[2026-07-01 08:33:52] local.INFO: GPS Element Parsed {"raw_longitude":763059328,"raw_latitude":99112760,"longitude_deg":76.3059328,"latitude_deg":9.911276,"altitude":3,"angle":353,"satellites":43,"speed":38,"hex_longitude":"2d7b5c80","hex_latitude":"05e85738","is_valid_coordinates":true} 
[2026-07-01 08:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:33:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416000256001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:33:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101212669561798656,"note":"Value kept but may cause issues"} 
[2026-07-01 08:33:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888205733707370496,"note":"Value kept but may cause issues"} 
[2026-07-01 08:33:52] 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-01 08:33:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782875010000,"timestamp_ms":1782875010000,"timestamp_seconds":1782875010,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ba1b3d0"} 
[2026-07-01 08:33:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:33:52] 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-01 08:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-01 08:33:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:33:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:33:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:33:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:33:52] local.INFO: Teltonika packet parsed successfully {"connection_id":119608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:33:52] local.INFO: Passing IMEI to GPS processor {"connection_id":119608,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:33:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":119608,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:33:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:33:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:33:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:33:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416000256001,"66":13059,"201":206,"87":13824,"24":38,"16":101212669561798656,"45":8888205733707370496},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-01 08:33:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:33:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:33:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416000256001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:33:52] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-01 08:33:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:33:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101212669561798656,"km_value":101212669561798.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:33:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888205733707370496,"description":"Unknown IO ID 45"} 
[2026-07-01 08:33:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416000256001,"power":13059,"unknown_201":206,"unknown_87":13824,"ignition":38,"odometer":null,"unknown_45":8888205733707370496}} 
[2026-07-01 08:33:52] local.INFO: DEBUG: GPS processor result {"connection_id":119608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416629,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:33:52] local.INFO: GPS data processed {"connection_id":119608,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:33:52] local.INFO: Acknowledgment sent {"connection_id":119608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:33:59] local.INFO: TCP Data received {"connection_id":118952,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ba05828012d11004006e4bc08000b01552f..."} 
[2026-07-01 08:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ba05828012d11004006e4bc08000b01552f..."} 
[2026-07-01 08:33:59] local.INFO: Processing buffer {"connection_id":118952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ba05828012d11004006e4bc08000b01552f..."} 
[2026-07-01 08:33:59] local.INFO: Packet analysis {"connection_id":118952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ba0"} 
[2026-07-01 08:33:59] local.INFO: Extracted packet for processing {"connection_id":118952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ba0"} 
[2026-07-01 08:33:59] local.INFO: GPS Element Parsed {"raw_longitude":756088896,"raw_latitude":115653640,"longitude_deg":75.6088896,"latitude_deg":11.565364,"altitude":11,"angle":341,"satellites":47,"speed":0,"hex_longitude":"2d110040","hex_latitude":"06e4bc08","is_valid_coordinates":true} 
[2026-07-01 08:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415902720001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333082500580507648,"note":"Value kept but may cause issues"} 
[2026-07-01 08:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1225049496996284416,"note":"Value kept but may cause issues"} 
[2026-07-01 08:33:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782874921000,"timestamp_ms":1782874921000,"timestamp_seconds":1782874921,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ba05828"} 
[2026-07-01 08:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:33:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 08:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-01 08:33:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:33:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:33:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415902720001,"66":25919,"245":206,"80":6400,"24":0,"16":333082500580507648,"45":1225049496996284416},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-07-01 08:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415902720001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:34:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333082500580507648,"km_value":333082500580507.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1225049496996284416,"description":"Unknown IO ID 45"} 
[2026-07-01 08:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415902720001,"power":25919,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1225049496996284416}} 
[2026-07-01 08:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":118952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:34:00] local.INFO: GPS data processed {"connection_id":118952,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:34:00] local.INFO: Acknowledgment sent {"connection_id":118952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:34:21] local.INFO: TCP Data received {"connection_id":118953,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:34:21] local.INFO: Processing buffer {"connection_id":118953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:34:21] local.INFO: IMEI packet received {"connection_id":118953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 08:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":118953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:34:23] local.INFO: TCP Data received {"connection_id":120713,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120713,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:34:23] local.INFO: Processing buffer {"connection_id":120713,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:34:23] local.INFO: IMEI packet received {"connection_id":120713,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 08:34:23] local.INFO: IMEI acknowledgment sent {"connection_id":120713,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:34:24] local.INFO: TCP Data received {"connection_id":120713,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120713,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:34:24] local.INFO: Processing buffer {"connection_id":120713,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:34:24] local.INFO: IMEI packet received {"connection_id":120713,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":120713,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:34:25] local.INFO: TCP Data received {"connection_id":120713,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120713,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:34:25] local.INFO: Processing buffer {"connection_id":120713,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:34:25] local.INFO: IMEI packet received {"connection_id":120713,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":120713,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:34:26] local.INFO: TCP Data received {"connection_id":120713,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ba1d6f8012d7b58c005e87dd00003016527..."} 
[2026-07-01 08:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ba1d6f8012d7b58c005e87dd00003016527..."} 
[2026-07-01 08:34:26] local.INFO: Processing buffer {"connection_id":120713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ba1d6f8012d7b58c005e87dd00003016527..."} 
[2026-07-01 08:34:26] local.INFO: Packet analysis {"connection_id":120713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ba1"} 
[2026-07-01 08:34:26] local.INFO: Extracted packet for processing {"connection_id":120713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ba1"} 
[2026-07-01 08:34:26] local.INFO: GPS Element Parsed {"raw_longitude":763058368,"raw_latitude":99122640,"longitude_deg":76.3058368,"latitude_deg":9.912264,"altitude":3,"angle":357,"satellites":39,"speed":46,"hex_longitude":"2d7b58c0","hex_latitude":"05e87dd0","is_valid_coordinates":true} 
[2026-07-01 08:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:34:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416002560001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:34:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101213150598135808,"note":"Value kept but may cause issues"} 
[2026-07-01 08:34:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889120527383738368,"note":"Value kept but may cause issues"} 
[2026-07-01 08:34: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-01 08:34:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782875019000,"timestamp_ms":1782875019000,"timestamp_seconds":1782875019,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ba1d6f8"} 
[2026-07-01 08:34:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:34:26] 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-01 08:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-01 08:34:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303163549732173,"note":"Value kept but may cause issues"} 
[2026-07-01 08:34:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-01 08:34:26] local.WARNING: Large IO value detected {"io_id":147,"raw_value":3087007744,"note":"Value kept but may cause issues"} 
[2026-07-01 08:34:26] local.WARNING: Large IO value detected {"io_id":27,"raw_value":2706771969,"note":"Value kept but may cause issues"} 
[2026-07-01 08:34:26] local.WARNING: Large IO value detected {"io_id":90,"raw_value":3221612567,"note":"Value kept but may cause issues"} 
[2026-07-01 08:34:26] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3238055183,"note":"Value kept but may cause issues"} 
[2026-07-01 08:34:26] local.WARNING: Large IO value detected {"io_id":103,"raw_value":2477326336,"note":"Value kept but may cause issues"} 
[2026-07-01 08:34:26] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3892869120,"note":"Value kept but may cause issues"} 
[2026-07-01 08:34:26] local.WARNING: Large IO value detected {"io_id":96,"raw_value":58079734643818524,"note":"Value kept but may cause issues"} 
[2026-07-01 08:34:26] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,201,87,24,241,157,16,148,159,144,45,64,55,2,41,10,66,109,31,37,147,101,1,240,237,227,27,232,4,113,205,8,82,90,36,239,50,103,5,3,28,96],"length":486,"final_offset":616,"validated_count":42,"validation_warnings":[]} 
[2026-07-01 08:34:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216561094404472832,"timestamp_seconds":216561094404472.84,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 08:34:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:34:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:34:26] local.INFO: Teltonika packet parsed successfully {"connection_id":120713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:34:26] local.INFO: Passing IMEI to GPS processor {"connection_id":120713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:34:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":120713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:34:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:34:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:34:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:34:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416002560001,"66":13222,"201":206,"87":13824,"24":46,"16":101213150598135808,"45":8889120527383738368},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-01 08:34:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:34:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:34:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416002560001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:34:26] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-01 08:34:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:34:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101213150598135808,"km_value":101213150598135.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:34:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889120527383738368,"description":"Unknown IO ID 45"} 
[2026-07-01 08:34:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416002560001,"power":13222,"unknown_201":206,"unknown_87":13824,"ignition":46,"odometer":null,"unknown_45":8889120527383738368}} 
[2026-07-01 08:34:26] local.INFO: DEBUG: GPS processor result {"connection_id":120713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416631,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:34:26] local.INFO: GPS data processed {"connection_id":120713,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:34:26] local.INFO: Acknowledgment sent {"connection_id":120713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:34:26] local.INFO: TCP Data received {"connection_id":118953,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:34:26] local.INFO: Processing buffer {"connection_id":118953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:34:26] local.INFO: IMEI packet received {"connection_id":118953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":118953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:34:27] local.INFO: TCP Data received {"connection_id":118953,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ba05828012d11004006e4bc08000b01552f..."} 
[2026-07-01 08:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ba05828012d11004006e4bc08000b01552f..."} 
[2026-07-01 08:34:27] local.INFO: Processing buffer {"connection_id":118953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ba05828012d11004006e4bc08000b01552f..."} 
[2026-07-01 08:34:27] local.INFO: Packet analysis {"connection_id":118953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ba0"} 
[2026-07-01 08:34:27] local.INFO: Extracted packet for processing {"connection_id":118953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ba0"} 
[2026-07-01 08:34:27] local.INFO: GPS Element Parsed {"raw_longitude":756088896,"raw_latitude":115653640,"longitude_deg":75.6088896,"latitude_deg":11.565364,"altitude":11,"angle":341,"satellites":47,"speed":0,"hex_longitude":"2d110040","hex_latitude":"06e4bc08","is_valid_coordinates":true} 
[2026-07-01 08:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:34:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415902720001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:34:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333082500580507648,"note":"Value kept but may cause issues"} 
[2026-07-01 08:34:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1225049496996284416,"note":"Value kept but may cause issues"} 
[2026-07-01 08:34:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:34:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782874921000,"timestamp_ms":1782874921000,"timestamp_seconds":1782874921,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ba05828"} 
[2026-07-01 08:34:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:34:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 08:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-01 08:34:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:34:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:34:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:34:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:34:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:34:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:34:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:34:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:34:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:34:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:34:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415902720001,"66":25919,"245":206,"80":6400,"24":0,"16":333082500580507648,"45":1225049496996284416},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-07-01 08:34:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:34:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:34:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415902720001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:34:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:34:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333082500580507648,"km_value":333082500580507.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:34:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1225049496996284416,"description":"Unknown IO ID 45"} 
[2026-07-01 08:34:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415902720001,"power":25919,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1225049496996284416}} 
[2026-07-01 08:34:27] local.INFO: DEBUG: GPS processor result {"connection_id":118953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:34:27] local.INFO: GPS data processed {"connection_id":118953,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:34:27] local.INFO: Acknowledgment sent {"connection_id":118953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:34:31] local.INFO: TCP Data received {"connection_id":119609,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 08:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119609,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 08:34:31] local.INFO: Processing buffer {"connection_id":119609,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 08:34:31] local.INFO: IMEI packet received {"connection_id":119609,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 08:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":119609,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:34:59] local.INFO: TCP Data received {"connection_id":118953,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ba05828012d11004006e4bc08000b01552f..."} 
[2026-07-01 08:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ba05828012d11004006e4bc08000b01552f..."} 
[2026-07-01 08:34:59] local.INFO: Processing buffer {"connection_id":118953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ba05828012d11004006e4bc08000b01552f..."} 
[2026-07-01 08:34:59] local.INFO: Packet analysis {"connection_id":118953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ba0"} 
[2026-07-01 08:34:59] local.INFO: Extracted packet for processing {"connection_id":118953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ba0"} 
[2026-07-01 08:34:59] local.INFO: GPS Element Parsed {"raw_longitude":756088896,"raw_latitude":115653640,"longitude_deg":75.6088896,"latitude_deg":11.565364,"altitude":11,"angle":341,"satellites":47,"speed":0,"hex_longitude":"2d110040","hex_latitude":"06e4bc08","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415902720001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333082500580507648,"note":"Value kept but may cause issues"} 
[2026-07-01 08:34:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1225049496996284416,"note":"Value kept but may cause issues"} 
[2026-07-01 08:34:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782874921000,"timestamp_ms":1782874921000,"timestamp_seconds":1782874921,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ba05828"} 
[2026-07-01 08: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-01 08:34:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 08: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-01 08:34:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08: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-01 08: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-01 08:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:34: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-01 08:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415902720001,"66":25919,"245":206,"80":6400,"24":0,"16":333082500580507648,"45":1225049496996284416},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-07-01 08:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415902720001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:34:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333082500580507648,"km_value":333082500580507.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:34:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1225049496996284416,"description":"Unknown IO ID 45"} 
[2026-07-01 08:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415902720001,"power":25919,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1225049496996284416}} 
[2026-07-01 08:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":118953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:34:59] local.INFO: GPS data processed {"connection_id":118953,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:34:59] local.INFO: Acknowledgment sent {"connection_id":118953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:35:10] local.INFO: TCP Data received {"connection_id":120713,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ba2c158012d7b608005e932080004004e29..."} 
[2026-07-01 08:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ba2c158012d7b608005e932080004004e29..."} 
[2026-07-01 08:35:10] local.INFO: Processing buffer {"connection_id":120713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ba2c158012d7b608005e932080004004e29..."} 
[2026-07-01 08:35:10] local.INFO: Packet analysis {"connection_id":120713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ba2"} 
[2026-07-01 08:35:10] local.INFO: Extracted packet for processing {"connection_id":120713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ba2"} 
[2026-07-01 08:35:10] local.INFO: GPS Element Parsed {"raw_longitude":763060352,"raw_latitude":99168776,"longitude_deg":76.3060352,"latitude_deg":9.9168776,"altitude":4,"angle":78,"satellites":41,"speed":18,"hex_longitude":"2d7b6080","hex_latitude":"05e93208","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416017664001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101215654564069376,"note":"Value kept but may cause issues"} 
[2026-07-01 08:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884828034003132416,"note":"Value kept but may cause issues"} 
[2026-07-01 08:35:10] 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-01 08:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782875079000,"timestamp_ms":1782875079000,"timestamp_seconds":1782875079,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ba2c158"} 
[2026-07-01 08: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-01 08:35:10] 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-01 08: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-01 08:35:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08: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-01 08: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-01 08:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":120713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":120713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":120713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416017664001,"66":13059,"201":206,"87":13824,"24":18,"16":101215654564069376,"45":8884828034003132416},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-01 08:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416017664001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:35:10] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-01 08:35:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101215654564069376,"km_value":101215654564069.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884828034003132416,"description":"Unknown IO ID 45"} 
[2026-07-01 08:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416017664001,"power":13059,"unknown_201":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8884828034003132416}} 
[2026-07-01 08:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":120713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416634,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:35:10] local.INFO: GPS data processed {"connection_id":120713,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:35:10] local.INFO: Acknowledgment sent {"connection_id":120713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:35:21] local.INFO: TCP Data received {"connection_id":120714,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 08:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120714,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 08:35:21] local.INFO: Processing buffer {"connection_id":120714,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 08:35:21] local.INFO: IMEI packet received {"connection_id":120714,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 08:35:21] local.INFO: IMEI acknowledgment sent {"connection_id":120714,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:35:26] local.INFO: TCP Data received {"connection_id":120715,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:35:26] local.INFO: Processing buffer {"connection_id":120715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:35:26] local.INFO: IMEI packet received {"connection_id":120715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 08:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":120715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:35:29] local.INFO: TCP Data received {"connection_id":118841,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118841,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:35:29] local.INFO: Processing buffer {"connection_id":118841,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:35:29] local.INFO: IMEI packet received {"connection_id":118841,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 08:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":118841,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:35:29] local.INFO: TCP Data received {"connection_id":118841,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118841,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:35:29] local.INFO: Processing buffer {"connection_id":118841,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:35:29] local.INFO: IMEI packet received {"connection_id":118841,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":118841,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:35:31] local.INFO: TCP Data received {"connection_id":118841,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ba2ec50012d7b77c005e938080003004029..."} 
[2026-07-01 08:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ba2ec50012d7b77c005e938080003004029..."} 
[2026-07-01 08:35:31] local.INFO: Processing buffer {"connection_id":118841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ba2ec50012d7b77c005e938080003004029..."} 
[2026-07-01 08:35:31] local.INFO: Packet analysis {"connection_id":118841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ba2"} 
[2026-07-01 08:35:31] local.INFO: Extracted packet for processing {"connection_id":118841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ba2"} 
[2026-07-01 08:35:31] local.INFO: GPS Element Parsed {"raw_longitude":763066304,"raw_latitude":99170312,"longitude_deg":76.3066304,"latitude_deg":9.9170312,"altitude":3,"angle":64,"satellites":41,"speed":18,"hex_longitude":"2d7b77c0","hex_latitude":"05e93808","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416020224001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101215950916812800,"note":"Value kept but may cause issues"} 
[2026-07-01 08:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8890246427304921088,"note":"Value kept but may cause issues"} 
[2026-07-01 08:35:31] 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-01 08:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782875090000,"timestamp_ms":1782875090000,"timestamp_seconds":1782875090,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ba2ec50"} 
[2026-07-01 08: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-01 08:35:31] 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-01 08: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":3,"data_length":795,"current_offset":136} 
[2026-07-01 08:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303153701506319,"note":"Value kept but may cause issues"} 
[2026-07-01 08:35:31] local.WARNING: Large IO value detected {"io_id":201,"raw_value":58079734643818503,"note":"Value kept but may cause issues"} 
[2026-07-01 08:35:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-01 08:35:31] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3623931151,"note":"Value kept but may cause issues"} 
[2026-07-01 08:35:31] local.WARNING: Large IO value detected {"io_id":150,"raw_value":3690987520,"note":"Value kept but may cause issues"} 
[2026-07-01 08:35:31] local.WARNING: Large IO value detected {"io_id":27,"raw_value":2726995969,"note":"Value kept but may cause issues"} 
[2026-07-01 08:35:31] local.WARNING: Large IO value detected {"io_id":134,"raw_value":3221302651,"note":"Value kept but may cause issues"} 
[2026-07-01 08:35:31] local.WARNING: Large IO value detected {"io_id":73,"raw_value":3221612847,"note":"Value kept but may cause issues"} 
[2026-07-01 08:35:31] local.WARNING: Large IO value detected {"io_id":103,"raw_value":2530738176,"note":"Value kept but may cause issues"} 
[2026-07-01 08:35:31] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3912173568,"note":"Value kept but may cause issues"} 
[2026-07-01 08:35:31] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,201,87,24,241,157,16,151,159,154,45,64,48,3,39,10,66,150,146,128,2,38,142,192,1,240,238,227,27,233,4,113,205,6,134,73,136,37,239,103,5,7],"length":486,"final_offset":616,"validated_count":42,"validation_warnings":[]} 
[2026-07-01 08:35:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288316314153517056,"timestamp_seconds":288316314153517.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 08: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-01 08:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":118841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":118841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":118841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416020224001,"66":13102,"201":206,"87":13824,"24":18,"16":101215950916812800,"45":8890246427304921088},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-01 08:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416020224001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:35:31] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-01 08:35:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101215950916812800,"km_value":101215950916812.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8890246427304921088,"description":"Unknown IO ID 45"} 
[2026-07-01 08:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416020224001,"power":13102,"unknown_201":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8890246427304921088}} 
[2026-07-01 08:35:31] local.INFO: TCP Data received {"connection_id":120715,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:35:31] local.INFO: Processing buffer {"connection_id":120715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:35:31] local.INFO: IMEI packet received {"connection_id":120715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":120715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":118841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416635,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:35:31] local.INFO: GPS data processed {"connection_id":118841,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:35:31] local.INFO: Acknowledgment sent {"connection_id":118841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:35:32] local.INFO: TCP Data received {"connection_id":120715,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ba05828012d11004006e4bc08000b01552f..."} 
[2026-07-01 08:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ba05828012d11004006e4bc08000b01552f..."} 
[2026-07-01 08:35:32] local.INFO: Processing buffer {"connection_id":120715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ba05828012d11004006e4bc08000b01552f..."} 
[2026-07-01 08:35:32] local.INFO: Packet analysis {"connection_id":120715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ba0"} 
[2026-07-01 08:35:32] local.INFO: Extracted packet for processing {"connection_id":120715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ba0"} 
[2026-07-01 08:35:32] local.INFO: GPS Element Parsed {"raw_longitude":756088896,"raw_latitude":115653640,"longitude_deg":75.6088896,"latitude_deg":11.565364,"altitude":11,"angle":341,"satellites":47,"speed":0,"hex_longitude":"2d110040","hex_latitude":"06e4bc08","is_valid_coordinates":true} 
[2026-07-01 08:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415902720001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333082500580507648,"note":"Value kept but may cause issues"} 
[2026-07-01 08:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1225049496996284416,"note":"Value kept but may cause issues"} 
[2026-07-01 08:35:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782874921000,"timestamp_ms":1782874921000,"timestamp_seconds":1782874921,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ba05828"} 
[2026-07-01 08:35:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:35:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 08:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-01 08:35:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:35:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:35:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":120715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":120715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":120715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415902720001,"66":25919,"245":206,"80":6400,"24":0,"16":333082500580507648,"45":1225049496996284416},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-07-01 08:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415902720001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:35:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333082500580507648,"km_value":333082500580507.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1225049496996284416,"description":"Unknown IO ID 45"} 
[2026-07-01 08:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415902720001,"power":25919,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1225049496996284416}} 
[2026-07-01 08:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":120715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:35:32] local.INFO: GPS data processed {"connection_id":120715,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:35:32] local.INFO: Acknowledgment sent {"connection_id":120715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:35:41] local.INFO: TCP Data received {"connection_id":118841,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ba2ffd8012d7b804005e93c080002004f2a..."} 
[2026-07-01 08:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ba2ffd8012d7b804005e93c080002004f2a..."} 
[2026-07-01 08:35:41] local.INFO: Processing buffer {"connection_id":118841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ba2ffd8012d7b804005e93c080002004f2a..."} 
[2026-07-01 08:35:41] local.INFO: Packet analysis {"connection_id":118841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ba2"} 
[2026-07-01 08:35:41] local.INFO: Extracted packet for processing {"connection_id":118841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ba2"} 
[2026-07-01 08:35:41] local.INFO: GPS Element Parsed {"raw_longitude":763068480,"raw_latitude":99171336,"longitude_deg":76.306848,"latitude_deg":9.9171336,"altitude":2,"angle":79,"satellites":42,"speed":16,"hex_longitude":"2d7b8040","hex_latitude":"05e93c08","is_valid_coordinates":true} 
[2026-07-01 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-01 08:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416023040001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101216062585962496,"note":"Value kept but may cause issues"} 
[2026-07-01 08:35:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896790720513837056,"note":"Value kept but may cause issues"} 
[2026-07-01 08:35:41] 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-01 08:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782875095000,"timestamp_ms":1782875095000,"timestamp_seconds":1782875095,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ba2ffd8"} 
[2026-07-01 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-01 08:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-01 08:35:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 08:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":118841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":118841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":118841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:35:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416023040001,"66":12841,"201":206,"87":13824,"24":16,"16":101216062585962496,"45":8896790720513837056},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-01 08:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416023040001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:35:41] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-01 08:35:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101216062585962496,"km_value":101216062585962.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:35:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896790720513837056,"description":"Unknown IO ID 45"} 
[2026-07-01 08:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416023040001,"power":12841,"unknown_201":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":8896790720513837056}} 
[2026-07-01 08:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":118841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416637,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:35:42] local.INFO: GPS data processed {"connection_id":118841,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:35:42] local.INFO: Acknowledgment sent {"connection_id":118841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:36:05] local.INFO: TCP Data received {"connection_id":120715,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ba05828012d11004006e4bc08000b01552f..."} 
[2026-07-01 08:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ba05828012d11004006e4bc08000b01552f..."} 
[2026-07-01 08:36:05] local.INFO: Processing buffer {"connection_id":120715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ba05828012d11004006e4bc08000b01552f..."} 
[2026-07-01 08:36:05] local.INFO: Packet analysis {"connection_id":120715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ba0"} 
[2026-07-01 08:36:05] local.INFO: Extracted packet for processing {"connection_id":120715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ba0"} 
[2026-07-01 08:36:05] local.INFO: GPS Element Parsed {"raw_longitude":756088896,"raw_latitude":115653640,"longitude_deg":75.6088896,"latitude_deg":11.565364,"altitude":11,"angle":341,"satellites":47,"speed":0,"hex_longitude":"2d110040","hex_latitude":"06e4bc08","is_valid_coordinates":true} 
[2026-07-01 08:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415902720001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333082500580507648,"note":"Value kept but may cause issues"} 
[2026-07-01 08:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1225049496996284416,"note":"Value kept but may cause issues"} 
[2026-07-01 08:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782874921000,"timestamp_ms":1782874921000,"timestamp_seconds":1782874921,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ba05828"} 
[2026-07-01 08:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 08:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-01 08:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":120715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":120715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":120715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415902720001,"66":25919,"245":206,"80":6400,"24":0,"16":333082500580507648,"45":1225049496996284416},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-07-01 08:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415902720001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:36:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333082500580507648,"km_value":333082500580507.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1225049496996284416,"description":"Unknown IO ID 45"} 
[2026-07-01 08:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415902720001,"power":25919,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1225049496996284416}} 
[2026-07-01 08:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":120715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:36:05] local.INFO: GPS data processed {"connection_id":120715,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:36:05] local.INFO: Acknowledgment sent {"connection_id":120715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:36:21] local.INFO: TCP Data received {"connection_id":118954,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:36:21] local.INFO: Processing buffer {"connection_id":118954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:36:21] local.INFO: IMEI packet received {"connection_id":118954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 08:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":118954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:36:27] local.INFO: TCP Data received {"connection_id":118954,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:36:27] local.INFO: Processing buffer {"connection_id":118954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:36:27] local.INFO: IMEI packet received {"connection_id":118954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":118954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:36:28] local.INFO: TCP Data received {"connection_id":118842,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118842,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:36:28] local.INFO: Processing buffer {"connection_id":118842,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:36:28] local.INFO: IMEI packet received {"connection_id":118842,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 08:36:28] local.INFO: IMEI acknowledgment sent {"connection_id":118842,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:36:29] local.INFO: TCP Data received {"connection_id":118954,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ba05828012d11004006e4bc08000b01552f..."} 
[2026-07-01 08:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ba05828012d11004006e4bc08000b01552f..."} 
[2026-07-01 08:36:29] local.INFO: Processing buffer {"connection_id":118954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ba05828012d11004006e4bc08000b01552f..."} 
[2026-07-01 08:36:29] local.INFO: Packet analysis {"connection_id":118954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ba0"} 
[2026-07-01 08:36:29] local.INFO: Extracted packet for processing {"connection_id":118954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ba0"} 
[2026-07-01 08:36:29] local.INFO: GPS Element Parsed {"raw_longitude":756088896,"raw_latitude":115653640,"longitude_deg":75.6088896,"latitude_deg":11.565364,"altitude":11,"angle":341,"satellites":47,"speed":0,"hex_longitude":"2d110040","hex_latitude":"06e4bc08","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415902720001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333082500580507648,"note":"Value kept but may cause issues"} 
[2026-07-01 08:36:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1225049496996284416,"note":"Value kept but may cause issues"} 
[2026-07-01 08:36:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782874921000,"timestamp_ms":1782874921000,"timestamp_seconds":1782874921,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ba05828"} 
[2026-07-01 08: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-01 08:36:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 08:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-01 08:36:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08: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-01 08: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-01 08:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":118954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":118954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":118954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:36:29] 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-01 08:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415902720001,"66":25919,"245":206,"80":6400,"24":0,"16":333082500580507648,"45":1225049496996284416},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-07-01 08:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415902720001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:36:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333082500580507648,"km_value":333082500580507.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:36:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1225049496996284416,"description":"Unknown IO ID 45"} 
[2026-07-01 08:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415902720001,"power":25919,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1225049496996284416}} 
[2026-07-01 08:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":118954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:36:29] local.INFO: GPS data processed {"connection_id":118954,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:36:29] local.INFO: Acknowledgment sent {"connection_id":118954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:36:29] local.INFO: TCP Data received {"connection_id":118842,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118842,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:36:29] local.INFO: Processing buffer {"connection_id":118842,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:36:29] local.INFO: IMEI packet received {"connection_id":118842,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":118842,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:36:33] local.INFO: TCP Data received {"connection_id":118842,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118842,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:36:33] local.INFO: Processing buffer {"connection_id":118842,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:36:33] local.INFO: IMEI packet received {"connection_id":118842,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":118842,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:36:34] local.INFO: TCP Data received {"connection_id":118842,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ba34df8012d7b97c005e940f8000300482a..."} 
[2026-07-01 08:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ba34df8012d7b97c005e940f8000300482a..."} 
[2026-07-01 08:36:34] local.INFO: Processing buffer {"connection_id":118842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ba34df8012d7b97c005e940f8000300482a..."} 
[2026-07-01 08:36:34] local.INFO: Packet analysis {"connection_id":118842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ba3"} 
[2026-07-01 08:36:34] local.INFO: Extracted packet for processing {"connection_id":118842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ba3"} 
[2026-07-01 08:36:34] local.INFO: GPS Element Parsed {"raw_longitude":763074496,"raw_latitude":99172600,"longitude_deg":76.3074496,"latitude_deg":9.91726,"altitude":3,"angle":72,"satellites":42,"speed":18,"hex_longitude":"2d7b97c0","hex_latitude":"05e940f8","is_valid_coordinates":true} 
[2026-07-01 08:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416024320001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101216358938705920,"note":"Value kept but may cause issues"} 
[2026-07-01 08:36:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899183257816139776,"note":"Value kept but may cause issues"} 
[2026-07-01 08:36:34] 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-01 08:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782875115000,"timestamp_ms":1782875115000,"timestamp_seconds":1782875115,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ba34df8"} 
[2026-07-01 08:36:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:36:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-01 08:36: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-01 08:36:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:36:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":118842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":118842,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":118842,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416024320001,"66":12961,"201":206,"87":13824,"24":18,"16":101216358938705920,"45":8899183257816139776},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-01 08:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416024320001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:36:34] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-01 08:36:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101216358938705920,"km_value":101216358938705.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:36:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899183257816139776,"description":"Unknown IO ID 45"} 
[2026-07-01 08:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416024320001,"power":12961,"unknown_201":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8899183257816139776}} 
[2026-07-01 08:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":118842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416640,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:36:34] local.INFO: GPS data processed {"connection_id":118842,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:36:34] local.INFO: Acknowledgment sent {"connection_id":118842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:36:40] local.INFO: TCP Data received {"connection_id":118842,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ba3a000012d7bb54005e94b40000400442f..."} 
[2026-07-01 08:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ba3a000012d7bb54005e94b40000400442f..."} 
[2026-07-01 08:36:40] local.INFO: Processing buffer {"connection_id":118842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ba3a000012d7bb54005e94b40000400442f..."} 
[2026-07-01 08:36:40] local.INFO: Packet analysis {"connection_id":118842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ba3"} 
[2026-07-01 08:36:40] local.INFO: Extracted packet for processing {"connection_id":118842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ba3"} 
[2026-07-01 08:36:40] local.INFO: GPS Element Parsed {"raw_longitude":763082048,"raw_latitude":99175232,"longitude_deg":76.3082048,"latitude_deg":9.9175232,"altitude":4,"angle":68,"satellites":47,"speed":13,"hex_longitude":"2d7bb540","hex_latitude":"05e94b40","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416029440001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101216741190795264,"note":"Value kept but may cause issues"} 
[2026-07-01 08:36:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905797919769163776,"note":"Value kept but may cause issues"} 
[2026-07-01 08:36:40] 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-01 08:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782875136000,"timestamp_ms":1782875136000,"timestamp_seconds":1782875136,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ba3a000"} 
[2026-07-01 08: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-01 08:36:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-01 08:36:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08: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-01 08: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-01 08:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":118842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":118842,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":118842,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:36:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416029440001,"66":12874,"201":206,"87":13824,"24":13,"16":101216741190795264,"45":8905797919769163776},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-01 08:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416029440001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:36:40] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-01 08:36:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101216741190795264,"km_value":101216741190795.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:36:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905797919769163776,"description":"Unknown IO ID 45"} 
[2026-07-01 08:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416029440001,"power":12874,"unknown_201":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8905797919769163776}} 
[2026-07-01 08:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":118842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416641,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:36:40] local.INFO: GPS data processed {"connection_id":118842,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:36:40] local.INFO: Acknowledgment sent {"connection_id":118842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:37:02] local.INFO: TCP Data received {"connection_id":118954,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ba05828012d11004006e4bc08000b01552f..."} 
[2026-07-01 08:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ba05828012d11004006e4bc08000b01552f..."} 
[2026-07-01 08:37:02] local.INFO: Processing buffer {"connection_id":118954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ba05828012d11004006e4bc08000b01552f..."} 
[2026-07-01 08:37:02] local.INFO: Packet analysis {"connection_id":118954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ba0"} 
[2026-07-01 08:37:02] local.INFO: Extracted packet for processing {"connection_id":118954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ba0"} 
[2026-07-01 08:37:02] local.INFO: GPS Element Parsed {"raw_longitude":756088896,"raw_latitude":115653640,"longitude_deg":75.6088896,"latitude_deg":11.565364,"altitude":11,"angle":341,"satellites":47,"speed":0,"hex_longitude":"2d110040","hex_latitude":"06e4bc08","is_valid_coordinates":true} 
[2026-07-01 08:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:37:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415902720001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:37:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333082500580507648,"note":"Value kept but may cause issues"} 
[2026-07-01 08:37:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1225049496996284416,"note":"Value kept but may cause issues"} 
[2026-07-01 08:37:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:37:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782874921000,"timestamp_ms":1782874921000,"timestamp_seconds":1782874921,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ba05828"} 
[2026-07-01 08:37:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:37:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 08:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-01 08:37:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:37:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:37:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:37:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:37:02] local.INFO: Teltonika packet parsed successfully {"connection_id":118954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:37:02] local.INFO: Passing IMEI to GPS processor {"connection_id":118954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:37:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":118954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:37:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:37:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:37:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:37:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415902720001,"66":25919,"245":206,"80":6400,"24":0,"16":333082500580507648,"45":1225049496996284416},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-07-01 08:37:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:37:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:37:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415902720001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:37:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:37:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333082500580507648,"km_value":333082500580507.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:37:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1225049496996284416,"description":"Unknown IO ID 45"} 
[2026-07-01 08:37:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415902720001,"power":25919,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1225049496996284416}} 
[2026-07-01 08:37:02] local.INFO: DEBUG: GPS processor result {"connection_id":118954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:37:02] local.INFO: GPS data processed {"connection_id":118954,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:37:02] local.INFO: Acknowledgment sent {"connection_id":118954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:37:19] local.INFO: TCP Data received {"connection_id":119611,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119611,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:37:19] local.INFO: Processing buffer {"connection_id":119611,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:37:19] local.INFO: IMEI packet received {"connection_id":119611,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 08:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":119611,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:37:19] local.INFO: TCP Data received {"connection_id":119611,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119611,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:37:19] local.INFO: Processing buffer {"connection_id":119611,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:37:19] local.INFO: IMEI packet received {"connection_id":119611,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":119611,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:37:21] local.INFO: TCP Data received {"connection_id":120717,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:37:21] local.INFO: Processing buffer {"connection_id":120717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:37:21] local.INFO: IMEI packet received {"connection_id":120717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 08:37:21] local.INFO: IMEI acknowledgment sent {"connection_id":120717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:37:21] local.INFO: TCP Data received {"connection_id":119611,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119611,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:37:21] local.INFO: Processing buffer {"connection_id":119611,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:37:21] local.INFO: IMEI packet received {"connection_id":119611,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:37:21] local.INFO: IMEI acknowledgment sent {"connection_id":119611,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:37:22] local.INFO: TCP Data received {"connection_id":119611,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ba3b770012d7bbbc005e94e88000300392d..."} 
[2026-07-01 08:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ba3b770012d7bbbc005e94e88000300392d..."} 
[2026-07-01 08:37:22] local.INFO: Processing buffer {"connection_id":119611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ba3b770012d7bbbc005e94e88000300392d..."} 
[2026-07-01 08:37:22] local.INFO: Packet analysis {"connection_id":119611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ba3"} 
[2026-07-01 08:37:22] local.INFO: Extracted packet for processing {"connection_id":119611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ba3"} 
[2026-07-01 08:37:22] local.INFO: GPS Element Parsed {"raw_longitude":763083712,"raw_latitude":99176072,"longitude_deg":76.3083712,"latitude_deg":9.9176072,"altitude":3,"angle":57,"satellites":45,"speed":14,"hex_longitude":"2d7bbbc0","hex_latitude":"05e94e88","is_valid_coordinates":true} 
[2026-07-01 08:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:37:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416034816001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:37:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101216831385108480,"note":"Value kept but may cause issues"} 
[2026-07-01 08:37:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8914101431582801920,"note":"Value kept but may cause issues"} 
[2026-07-01 08:37:22] 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-01 08:37:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782875142000,"timestamp_ms":1782875142000,"timestamp_seconds":1782875142,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ba3b770"} 
[2026-07-01 08:37:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:37:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-07-01 08:37:22] 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-01 08:37:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:37:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:37:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:37:22] local.INFO: Teltonika packet parsed successfully {"connection_id":119611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:37:22] local.INFO: Passing IMEI to GPS processor {"connection_id":119611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:37:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":119611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:37:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:37:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:37:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:37:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416034816001,"66":12939,"201":206,"87":13824,"24":14,"16":101216831385108480,"45":8914101431582801920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-01 08:37:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:37:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:37:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416034816001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:37:22] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-01 08:37:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:37:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101216831385108480,"km_value":101216831385108.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:37:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8914101431582801920,"description":"Unknown IO ID 45"} 
[2026-07-01 08:37:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416034816001,"power":12939,"unknown_201":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8914101431582801920}} 
[2026-07-01 08:37:22] local.INFO: DEBUG: GPS processor result {"connection_id":119611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416643,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:37:22] local.INFO: GPS data processed {"connection_id":119611,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:37:22] local.INFO: Acknowledgment sent {"connection_id":119611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:37:24] local.INFO: TCP Data received {"connection_id":119611,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ba3de80012d7bcf4005e95b600005004b2c..."} 
[2026-07-01 08:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ba3de80012d7bcf4005e95b600005004b2c..."} 
[2026-07-01 08:37:24] local.INFO: Processing buffer {"connection_id":119611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ba3de80012d7bcf4005e95b600005004b2c..."} 
[2026-07-01 08:37:24] local.INFO: Packet analysis {"connection_id":119611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ba3"} 
[2026-07-01 08:37:24] local.INFO: Extracted packet for processing {"connection_id":119611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ba3"} 
[2026-07-01 08:37:24] local.INFO: GPS Element Parsed {"raw_longitude":763088704,"raw_latitude":99179360,"longitude_deg":76.3088704,"latitude_deg":9.917936,"altitude":5,"angle":75,"satellites":44,"speed":29,"hex_longitude":"2d7bcf40","hex_latitude":"05e95b60","is_valid_coordinates":true} 
[2026-07-01 08:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:37:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416036352001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:37:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101217119147917312,"note":"Value kept but may cause issues"} 
[2026-07-01 08:37:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8915931018931636224,"note":"Value kept but may cause issues"} 
[2026-07-01 08:37:24] 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-01 08:37:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782875152000,"timestamp_ms":1782875152000,"timestamp_seconds":1782875152,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ba3de80"} 
[2026-07-01 08:37:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:37:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 08:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-01 08:37:24] 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-01 08:37:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:37:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:37:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:37:24] local.INFO: Teltonika packet parsed successfully {"connection_id":119611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:37:24] local.INFO: Passing IMEI to GPS processor {"connection_id":119611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:37:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":119611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:37:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:37:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:37:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:37:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416036352001,"66":13059,"201":206,"87":13824,"24":29,"16":101217119147917312,"45":8915931018931636224},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-01 08:37:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:37:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:37:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416036352001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:37:24] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-01 08:37:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:37:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101217119147917312,"km_value":101217119147917.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:37:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8915931018931636224,"description":"Unknown IO ID 45"} 
[2026-07-01 08:37:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416036352001,"power":13059,"unknown_201":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8915931018931636224}} 
[2026-07-01 08:37:24] local.INFO: DEBUG: GPS processor result {"connection_id":119611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416644,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:37:24] local.INFO: GPS data processed {"connection_id":119611,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:37:24] local.INFO: Acknowledgment sent {"connection_id":119611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:37:26] local.INFO: TCP Data received {"connection_id":120717,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:37:26] local.INFO: Processing buffer {"connection_id":120717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:37:26] local.INFO: IMEI packet received {"connection_id":120717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":120717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:37:27] local.INFO: TCP Data received {"connection_id":120717,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ba05828012d11004006e4bc08000b01552f..."} 
[2026-07-01 08:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ba05828012d11004006e4bc08000b01552f..."} 
[2026-07-01 08:37:27] local.INFO: Processing buffer {"connection_id":120717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ba05828012d11004006e4bc08000b01552f..."} 
[2026-07-01 08:37:27] local.INFO: Packet analysis {"connection_id":120717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ba0"} 
[2026-07-01 08:37:27] local.INFO: Extracted packet for processing {"connection_id":120717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ba0"} 
[2026-07-01 08:37:27] local.INFO: GPS Element Parsed {"raw_longitude":756088896,"raw_latitude":115653640,"longitude_deg":75.6088896,"latitude_deg":11.565364,"altitude":11,"angle":341,"satellites":47,"speed":0,"hex_longitude":"2d110040","hex_latitude":"06e4bc08","is_valid_coordinates":true} 
[2026-07-01 08:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415902720001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333082500580507648,"note":"Value kept but may cause issues"} 
[2026-07-01 08:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1225049496996284416,"note":"Value kept but may cause issues"} 
[2026-07-01 08:37:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782874921000,"timestamp_ms":1782874921000,"timestamp_seconds":1782874921,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ba05828"} 
[2026-07-01 08:37:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:37:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 08:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-01 08:37:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:37:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:37:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:37:27] 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-01 08:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415902720001,"66":25919,"245":206,"80":6400,"24":0,"16":333082500580507648,"45":1225049496996284416},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-07-01 08:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415902720001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:37:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333082500580507648,"km_value":333082500580507.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1225049496996284416,"description":"Unknown IO ID 45"} 
[2026-07-01 08:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415902720001,"power":25919,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1225049496996284416}} 
[2026-07-01 08:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":120717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:37:27] local.INFO: GPS data processed {"connection_id":120717,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:37:27] local.INFO: Acknowledgment sent {"connection_id":120717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:37:55] local.INFO: TCP Data received {"connection_id":119611,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ba574c0012d7c8f0005e99e100005015829..."} 
[2026-07-01 08:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ba574c0012d7c8f0005e99e100005015829..."} 
[2026-07-01 08:37:55] local.INFO: Processing buffer {"connection_id":119611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ba574c0012d7c8f0005e99e100005015829..."} 
[2026-07-01 08:37:55] local.INFO: Packet analysis {"connection_id":119611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ba5"} 
[2026-07-01 08:37:55] local.INFO: Extracted packet for processing {"connection_id":119611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ba5"} 
[2026-07-01 08:37:55] local.INFO: GPS Element Parsed {"raw_longitude":763137792,"raw_latitude":99196432,"longitude_deg":76.3137792,"latitude_deg":9.9196432,"altitude":5,"angle":344,"satellites":41,"speed":13,"hex_longitude":"2d7c8f00","hex_latitude":"05e99e10","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416065280001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101219644588687360,"note":"Value kept but may cause issues"} 
[2026-07-01 08:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8975392607766900736,"note":"Value kept but may cause issues"} 
[2026-07-01 08:37:55] 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-01 08:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782875256000,"timestamp_ms":1782875256000,"timestamp_seconds":1782875256,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ba574c0"} 
[2026-07-01 08: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-01 08:37: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-01 08:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-01 08:37: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-01 08: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-01 08: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-01 08:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":119611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":119611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":119611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416065280001,"66":13015,"9":206,"87":13824,"24":13,"16":101219644588687360,"45":8975392607766900736},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-07-01 08:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416065280001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:37:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-07-01 08:37:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101219644588687360,"km_value":101219644588687.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8975392607766900736,"description":"Unknown IO ID 45"} 
[2026-07-01 08:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416065280001,"power":13015,"unknown_9":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8975392607766900736}} 
[2026-07-01 08:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":119611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416646,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:37:55] local.INFO: GPS data processed {"connection_id":119611,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:37:55] local.INFO: Acknowledgment sent {"connection_id":119611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:37:59] local.INFO: TCP Data received {"connection_id":120717,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ba4eff0012d11004006e4bc08000b01552d..."} 
[2026-07-01 08:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ba4eff0012d11004006e4bc08000b01552d..."} 
[2026-07-01 08:37:59] local.INFO: Processing buffer {"connection_id":120717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ba4eff0012d11004006e4bc08000b01552d..."} 
[2026-07-01 08:37:59] local.INFO: Packet analysis {"connection_id":120717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ba4"} 
[2026-07-01 08:37:59] local.INFO: Extracted packet for processing {"connection_id":120717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ba4"} 
[2026-07-01 08:37:59] local.INFO: GPS Element Parsed {"raw_longitude":756088896,"raw_latitude":115653640,"longitude_deg":75.6088896,"latitude_deg":11.565364,"altitude":11,"angle":341,"satellites":45,"speed":0,"hex_longitude":"2d110040","hex_latitude":"06e4bc08","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415979776001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333082500580507648,"note":"Value kept but may cause issues"} 
[2026-07-01 08:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1225049496996284416,"note":"Value kept but may cause issues"} 
[2026-07-01 08:37:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782875222000,"timestamp_ms":1782875222000,"timestamp_seconds":1782875222,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ba4eff0"} 
[2026-07-01 08: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-01 08:37:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 08: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-01 08:37:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08: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-01 08: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-01 08:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":120717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":120717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":120717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:37:59] 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-01 08:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415979776001,"66":25843,"245":206,"80":6400,"24":0,"16":333082500580507648,"45":1225049496996284416},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-07-01 08:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415979776001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:37:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333082500580507648,"km_value":333082500580507.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1225049496996284416,"description":"Unknown IO ID 45"} 
[2026-07-01 08:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415979776001,"power":25843,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1225049496996284416}} 
[2026-07-01 08:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":120717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:37:59] local.INFO: GPS data processed {"connection_id":120717,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:37:59] local.INFO: Acknowledgment sent {"connection_id":120717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:38:17] local.INFO: TCP Data received {"connection_id":118956,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118956,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:38:17] local.INFO: Processing buffer {"connection_id":118956,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:38:17] local.INFO: IMEI packet received {"connection_id":118956,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 08:38:17] local.INFO: IMEI acknowledgment sent {"connection_id":118956,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:38:18] local.INFO: TCP Data received {"connection_id":118956,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118956,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:38:18] local.INFO: Processing buffer {"connection_id":118956,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:38:18] local.INFO: IMEI packet received {"connection_id":118956,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:38:18] local.INFO: IMEI acknowledgment sent {"connection_id":118956,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:38:21] local.INFO: TCP Data received {"connection_id":120718,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:38:21] local.INFO: Processing buffer {"connection_id":120718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:38:21] local.INFO: IMEI packet received {"connection_id":120718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 08:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":120718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:38:24] local.INFO: TCP Data received {"connection_id":118956,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118956,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:38:24] local.INFO: Processing buffer {"connection_id":118956,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:38:24] local.INFO: IMEI packet received {"connection_id":118956,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":118956,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:38:26] local.INFO: TCP Data received {"connection_id":118956,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ba59400012d7c8c8005e9a9e00006016429..."} 
[2026-07-01 08:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ba59400012d7c8c8005e9a9e00006016429..."} 
[2026-07-01 08:38:26] local.INFO: Processing buffer {"connection_id":118956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ba59400012d7c8c8005e9a9e00006016429..."} 
[2026-07-01 08:38:26] local.INFO: Packet analysis {"connection_id":118956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ba5"} 
[2026-07-01 08:38:26] local.INFO: Extracted packet for processing {"connection_id":118956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ba5"} 
[2026-07-01 08:38:26] local.INFO: GPS Element Parsed {"raw_longitude":763137152,"raw_latitude":99199456,"longitude_deg":76.3137152,"latitude_deg":9.9199456,"altitude":6,"angle":356,"satellites":41,"speed":6,"hex_longitude":"2d7c8c80","hex_latitude":"05e9a9e0","is_valid_coordinates":true} 
[2026-07-01 08:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:38:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416065536001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:38:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101219794912542720,"note":"Value kept but may cause issues"} 
[2026-07-01 08:38:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8975392607766974464,"note":"Value kept but may cause issues"} 
[2026-07-01 08:38:26] 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-01 08:38:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782875264000,"timestamp_ms":1782875264000,"timestamp_seconds":1782875264,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ba59400"} 
[2026-07-01 08:38:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:38: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-01 08:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-01 08:38:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:38:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:38:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:38:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:38:26] local.INFO: Teltonika packet parsed successfully {"connection_id":118956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:38:26] local.INFO: Passing IMEI to GPS processor {"connection_id":118956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:38:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":118956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:38:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:38:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:38:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:38:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416065536001,"66":12906,"9":206,"87":13824,"24":6,"16":101219794912542720,"45":8975392607766974464},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-07-01 08:38:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:38:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:38:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416065536001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:38:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-07-01 08:38:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:38:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101219794912542720,"km_value":101219794912542.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:38:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8975392607766974464,"description":"Unknown IO ID 45"} 
[2026-07-01 08:38:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416065536001,"power":12906,"unknown_9":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8975392607766974464}} 
[2026-07-01 08:38:26] local.INFO: DEBUG: GPS processor result {"connection_id":118956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416648,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:38:26] local.INFO: GPS data processed {"connection_id":118956,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:38:26] local.INFO: Acknowledgment sent {"connection_id":118956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:38:26] local.INFO: TCP Data received {"connection_id":120718,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:38:26] local.INFO: Processing buffer {"connection_id":120718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:38:26] local.INFO: IMEI packet received {"connection_id":120718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":120718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:38:57] local.INFO: TCP Data received {"connection_id":118956,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ba6a188012d7ccac005e9bdb0000700812a..."} 
[2026-07-01 08:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ba6a188012d7ccac005e9bdb0000700812a..."} 
[2026-07-01 08:38:57] local.INFO: Processing buffer {"connection_id":118956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ba6a188012d7ccac005e9bdb0000700812a..."} 
[2026-07-01 08:38:57] local.INFO: Packet analysis {"connection_id":118956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ba6"} 
[2026-07-01 08:38:57] local.INFO: Extracted packet for processing {"connection_id":118956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ba6"} 
[2026-07-01 08:38:57] local.INFO: GPS Element Parsed {"raw_longitude":763153088,"raw_latitude":99204528,"longitude_deg":76.3153088,"latitude_deg":9.9204528,"altitude":7,"angle":129,"satellites":42,"speed":15,"hex_longitude":"2d7ccac0","hex_latitude":"05e9bdb0","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416084992001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101220748395282432,"note":"Value kept but may cause issues"} 
[2026-07-01 08:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8991858893906667520,"note":"Value kept but may cause issues"} 
[2026-07-01 08:38:57] 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-01 08:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782875333000,"timestamp_ms":1782875333000,"timestamp_seconds":1782875333,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ba6a188"} 
[2026-07-01 08: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-01 08:38:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-01 08:38:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08: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-01 08: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-01 08:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":118956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":118956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":118956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:38:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416084992001,"66":12982,"192":206,"87":13824,"24":15,"16":101220748395282432,"45":8991858893906667520},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-07-01 08:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416084992001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:38:57] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-01 08:38:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101220748395282432,"km_value":101220748395282.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8991858893906667520,"description":"Unknown IO ID 45"} 
[2026-07-01 08:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416084992001,"power":12982,"unknown_192":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8991858893906667520}} 
[2026-07-01 08:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":118956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416649,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:38:57] local.INFO: GPS data processed {"connection_id":118956,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:38:57] local.INFO: Acknowledgment sent {"connection_id":118956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:38:57] local.INFO: TCP Data received {"connection_id":120718,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ba4eff0012d11004006e4bc08000b01552d..."} 
[2026-07-01 08:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ba4eff0012d11004006e4bc08000b01552d..."} 
[2026-07-01 08:38:57] local.INFO: Processing buffer {"connection_id":120718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ba4eff0012d11004006e4bc08000b01552d..."} 
[2026-07-01 08:38:57] local.INFO: Packet analysis {"connection_id":120718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ba4"} 
[2026-07-01 08:38:57] local.INFO: Extracted packet for processing {"connection_id":120718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ba4"} 
[2026-07-01 08:38:57] local.INFO: GPS Element Parsed {"raw_longitude":756088896,"raw_latitude":115653640,"longitude_deg":75.6088896,"latitude_deg":11.565364,"altitude":11,"angle":341,"satellites":45,"speed":0,"hex_longitude":"2d110040","hex_latitude":"06e4bc08","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415979776001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333082500580507648,"note":"Value kept but may cause issues"} 
[2026-07-01 08:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1225049496996284416,"note":"Value kept but may cause issues"} 
[2026-07-01 08:38:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782875222000,"timestamp_ms":1782875222000,"timestamp_seconds":1782875222,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ba4eff0"} 
[2026-07-01 08: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-01 08:38:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 08:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-01 08:38:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08: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-01 08: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-01 08:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":120718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":120718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":120718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:38:57] 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-01 08:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415979776001,"66":25843,"245":206,"80":6400,"24":0,"16":333082500580507648,"45":1225049496996284416},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-07-01 08:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415979776001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:38:57] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333082500580507648,"km_value":333082500580507.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1225049496996284416,"description":"Unknown IO ID 45"} 
[2026-07-01 08:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415979776001,"power":25843,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1225049496996284416}} 
[2026-07-01 08:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":120718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:38:57] local.INFO: GPS data processed {"connection_id":120718,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:38:57] local.INFO: Acknowledgment sent {"connection_id":120718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:38:59] local.INFO: TCP Data received {"connection_id":120718,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ba4eff0012d11004006e4bc08000b01552d..."} 
[2026-07-01 08:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ba4eff0012d11004006e4bc08000b01552d..."} 
[2026-07-01 08:38:59] local.INFO: Processing buffer {"connection_id":120718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ba4eff0012d11004006e4bc08000b01552d..."} 
[2026-07-01 08:38:59] local.INFO: Packet analysis {"connection_id":120718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ba4"} 
[2026-07-01 08:38:59] local.INFO: Extracted packet for processing {"connection_id":120718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ba4"} 
[2026-07-01 08:38:59] local.INFO: GPS Element Parsed {"raw_longitude":756088896,"raw_latitude":115653640,"longitude_deg":75.6088896,"latitude_deg":11.565364,"altitude":11,"angle":341,"satellites":45,"speed":0,"hex_longitude":"2d110040","hex_latitude":"06e4bc08","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415979776001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333082500580507648,"note":"Value kept but may cause issues"} 
[2026-07-01 08:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1225049496996284416,"note":"Value kept but may cause issues"} 
[2026-07-01 08:38:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782875222000,"timestamp_ms":1782875222000,"timestamp_seconds":1782875222,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ba4eff0"} 
[2026-07-01 08: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-01 08:38:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 08: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-01 08:38:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08: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-01 08: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-01 08:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":120718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":120718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":120718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:38:59] 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-01 08:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415979776001,"66":25843,"245":206,"80":6400,"24":0,"16":333082500580507648,"45":1225049496996284416},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-07-01 08:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415979776001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:38:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333082500580507648,"km_value":333082500580507.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1225049496996284416,"description":"Unknown IO ID 45"} 
[2026-07-01 08:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415979776001,"power":25843,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1225049496996284416}} 
[2026-07-01 08:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":120718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:38:59] local.INFO: GPS data processed {"connection_id":120718,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:38:59] local.INFO: Acknowledgment sent {"connection_id":120718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:39:18] local.INFO: TCP Data received {"connection_id":118957,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118957,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:39:18] local.INFO: Processing buffer {"connection_id":118957,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:39:18] local.INFO: IMEI packet received {"connection_id":118957,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 08:39:18] local.INFO: IMEI acknowledgment sent {"connection_id":118957,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:39:21] local.INFO: TCP Data received {"connection_id":119614,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:39:21] local.INFO: Processing buffer {"connection_id":119614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:39:21] local.INFO: IMEI packet received {"connection_id":119614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 08:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":119614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:39:23] local.INFO: TCP Data received {"connection_id":118957,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118957,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:39:23] local.INFO: Processing buffer {"connection_id":118957,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:39:23] local.INFO: IMEI packet received {"connection_id":118957,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:39:23] local.INFO: IMEI acknowledgment sent {"connection_id":118957,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:39:24] local.INFO: TCP Data received {"connection_id":118957,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ba6a570012d7ccb8005e9bc78000700982a..."} 
[2026-07-01 08:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ba6a570012d7ccb8005e9bc78000700982a..."} 
[2026-07-01 08:39:24] local.INFO: Processing buffer {"connection_id":118957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ba6a570012d7ccb8005e9bc78000700982a..."} 
[2026-07-01 08:39:24] local.INFO: Packet analysis {"connection_id":118957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ba6"} 
[2026-07-01 08:39:24] local.INFO: Extracted packet for processing {"connection_id":118957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ba6"} 
[2026-07-01 08:39:24] local.INFO: GPS Element Parsed {"raw_longitude":763153280,"raw_latitude":99204216,"longitude_deg":76.315328,"latitude_deg":9.9204216,"altitude":7,"angle":152,"satellites":42,"speed":15,"hex_longitude":"2d7ccb80","hex_latitude":"05e9bc78","is_valid_coordinates":true} 
[2026-07-01 08:39:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:39:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416085248001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:39:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101220765575151616,"note":"Value kept but may cause issues"} 
[2026-07-01 08:39:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992210737627508736,"note":"Value kept but may cause issues"} 
[2026-07-01 08:39: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-01 08:39:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782875334000,"timestamp_ms":1782875334000,"timestamp_seconds":1782875334,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ba6a570"} 
[2026-07-01 08:39:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:39:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 08:39:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-01 08:39: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-01 08:39:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:39:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:39:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:39:24] local.INFO: Teltonika packet parsed successfully {"connection_id":118957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:39:24] local.INFO: Passing IMEI to GPS processor {"connection_id":118957,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:39:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":118957,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:39:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:39:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:39:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:39:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416085248001,"66":12982,"192":206,"87":13824,"24":15,"16":101220765575151616,"45":8992210737627508736},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-07-01 08:39:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:39:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:39:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416085248001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:39:24] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-01 08:39:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:39:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101220765575151616,"km_value":101220765575151.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:39:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992210737627508736,"description":"Unknown IO ID 45"} 
[2026-07-01 08:39:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416085248001,"power":12982,"unknown_192":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8992210737627508736}} 
[2026-07-01 08:39:24] local.INFO: DEBUG: GPS processor result {"connection_id":118957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416652,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:39:24] local.INFO: GPS data processed {"connection_id":118957,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:39:24] local.INFO: Acknowledgment sent {"connection_id":118957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:39:26] local.INFO: TCP Data received {"connection_id":119614,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:39:26] local.INFO: Processing buffer {"connection_id":119614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:39:26] local.INFO: IMEI packet received {"connection_id":119614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":119614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:39:28] local.INFO: TCP Data received {"connection_id":119614,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ba4eff0012d11004006e4bc08000b01552d..."} 
[2026-07-01 08:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ba4eff0012d11004006e4bc08000b01552d..."} 
[2026-07-01 08:39:28] local.INFO: Processing buffer {"connection_id":119614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ba4eff0012d11004006e4bc08000b01552d..."} 
[2026-07-01 08:39:28] local.INFO: Packet analysis {"connection_id":119614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ba4"} 
[2026-07-01 08:39:28] local.INFO: Extracted packet for processing {"connection_id":119614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ba4"} 
[2026-07-01 08:39:28] local.INFO: GPS Element Parsed {"raw_longitude":756088896,"raw_latitude":115653640,"longitude_deg":75.6088896,"latitude_deg":11.565364,"altitude":11,"angle":341,"satellites":45,"speed":0,"hex_longitude":"2d110040","hex_latitude":"06e4bc08","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415979776001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333082500580507648,"note":"Value kept but may cause issues"} 
[2026-07-01 08:39:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1225049496996284416,"note":"Value kept but may cause issues"} 
[2026-07-01 08:39:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782875222000,"timestamp_ms":1782875222000,"timestamp_seconds":1782875222,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ba4eff0"} 
[2026-07-01 08: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-01 08:39:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 08:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-01 08:39:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08: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-01 08: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-01 08:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:39:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415979776001,"66":25843,"245":206,"80":6400,"24":0,"16":333082500580507648,"45":1225049496996284416},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-07-01 08:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415979776001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:39:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333082500580507648,"km_value":333082500580507.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:39:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1225049496996284416,"description":"Unknown IO ID 45"} 
[2026-07-01 08:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415979776001,"power":25843,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1225049496996284416}} 
[2026-07-01 08:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":119614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:39:28] local.INFO: GPS data processed {"connection_id":119614,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:39:28] local.INFO: Acknowledgment sent {"connection_id":119614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:39:55] local.INFO: TCP Data received {"connection_id":118957,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ba74598012d7d128005e9c520000601662e..."} 
[2026-07-01 08:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ba74598012d7d128005e9c520000601662e..."} 
[2026-07-01 08:39:55] local.INFO: Processing buffer {"connection_id":118957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ba74598012d7d128005e9c520000601662e..."} 
[2026-07-01 08:39:55] local.INFO: Packet analysis {"connection_id":118957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ba7"} 
[2026-07-01 08:39:55] local.INFO: Extracted packet for processing {"connection_id":118957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ba7"} 
[2026-07-01 08:39:55] local.INFO: GPS Element Parsed {"raw_longitude":763171456,"raw_latitude":99206432,"longitude_deg":76.3171456,"latitude_deg":9.9206432,"altitude":6,"angle":358,"satellites":46,"speed":15,"hex_longitude":"2d7d1280","hex_latitude":"05e9c520","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:39:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416095744001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:39:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101221736237760512,"note":"Value kept but may cause issues"} 
[2026-07-01 08:39:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9012336198462711808,"note":"Value kept but may cause issues"} 
[2026-07-01 08:39:55] 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-01 08:39:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782875375000,"timestamp_ms":1782875375000,"timestamp_seconds":1782875375,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ba74598"} 
[2026-07-01 08: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-01 08:39: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-01 08: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-01 08:39:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303158080359766,"note":"Value kept but may cause issues"} 
[2026-07-01 08:39:55] local.WARNING: Large IO value detected {"io_id":192,"raw_value":58079734643818503,"note":"Value kept but may cause issues"} 
[2026-07-01 08:39:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-01 08:39:55] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3921039360,"note":"Value kept but may cause issues"} 
[2026-07-01 08:39:55] local.WARNING: Large IO value detected {"io_id":27,"raw_value":2801235969,"note":"Value kept but may cause issues"} 
[2026-07-01 08:39:55] local.WARNING: Large IO value detected {"io_id":233,"raw_value":3162505223,"note":"Value kept but may cause issues"} 
[2026-07-01 08:39:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1455423694,"corrected_to":0} 
[2026-07-01 08:39:55] local.WARNING: Large IO value detected {"io_id":196,"raw_value":2952867196,"note":"Value kept but may cause issues"} 
[2026-07-01 08:39:55] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137391958,"note":"Value kept but may cause issues"} 
[2026-07-01 08:39:55] local.WARNING: Large IO value detected {"io_id":103,"raw_value":2614820864,"note":"Value kept but may cause issues"} 
[2026-07-01 08:39:55] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,192,87,24,241,157,16,156,159,61,45,194,6,10,66,46,128,193,5,30,1,240,173,227,27,233,4,113,205,196,208,112,43,239,51,2,103,7],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1455423694,"validated":0}]} 
[2026-07-01 08:39:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432360051152977920,"timestamp_seconds":432360051152977.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 08: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-01 08:39:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:39:55] local.INFO: Teltonika packet parsed successfully {"connection_id":118957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:39:55] local.INFO: Passing IMEI to GPS processor {"connection_id":118957,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:39:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":118957,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:39:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:39:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:39:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:39:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416095744001,"66":13352,"192":206,"87":13824,"24":15,"16":101221736237760512,"45":9012336198462711808},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-07-01 08:39:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:39:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:39:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416095744001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:39:55] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-01 08:39:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:39:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101221736237760512,"km_value":101221736237760.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:39:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9012336198462711808,"description":"Unknown IO ID 45"} 
[2026-07-01 08:39:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416095744001,"power":13352,"unknown_192":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":9012336198462711808}} 
[2026-07-01 08:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":118957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416654,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:39:55] local.INFO: GPS data processed {"connection_id":118957,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:39:55] local.INFO: Acknowledgment sent {"connection_id":118957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:40:00] local.INFO: TCP Data received {"connection_id":119614,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ba4eff0012d11004006e4bc08000b01552d..."} 
[2026-07-01 08:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ba4eff0012d11004006e4bc08000b01552d..."} 
[2026-07-01 08:40:00] local.INFO: Processing buffer {"connection_id":119614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ba4eff0012d11004006e4bc08000b01552d..."} 
[2026-07-01 08:40:00] local.INFO: Packet analysis {"connection_id":119614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ba4"} 
[2026-07-01 08:40:00] local.INFO: Extracted packet for processing {"connection_id":119614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ba4"} 
[2026-07-01 08:40:00] local.INFO: GPS Element Parsed {"raw_longitude":756088896,"raw_latitude":115653640,"longitude_deg":75.6088896,"latitude_deg":11.565364,"altitude":11,"angle":341,"satellites":45,"speed":0,"hex_longitude":"2d110040","hex_latitude":"06e4bc08","is_valid_coordinates":true} 
[2026-07-01 08:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456415979776001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333082500580507648,"note":"Value kept but may cause issues"} 
[2026-07-01 08:40:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1225049496996284416,"note":"Value kept but may cause issues"} 
[2026-07-01 08:40:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782875222000,"timestamp_ms":1782875222000,"timestamp_seconds":1782875222,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ba4eff0"} 
[2026-07-01 08:40:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:40:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 08:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-01 08:40:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:40:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:40:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":119614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":119614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":119614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:40:00] 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-01 08:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456415979776001,"66":25843,"245":206,"80":6400,"24":0,"16":333082500580507648,"45":1225049496996284416},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-07-01 08:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456415979776001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:40:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333082500580507648,"km_value":333082500580507.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:40:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1225049496996284416,"description":"Unknown IO ID 45"} 
[2026-07-01 08:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456415979776001,"power":25843,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1225049496996284416}} 
[2026-07-01 08:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":119614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:40:00] local.INFO: GPS data processed {"connection_id":119614,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:40:00] local.INFO: Acknowledgment sent {"connection_id":119614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:40:18] local.INFO: TCP Data received {"connection_id":118843,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118843,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:40:18] local.INFO: Processing buffer {"connection_id":118843,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:40:18] local.INFO: IMEI packet received {"connection_id":118843,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 08:40:18] local.INFO: IMEI acknowledgment sent {"connection_id":118843,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:40:21] local.INFO: TCP Data received {"connection_id":118959,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:40:21] local.INFO: Processing buffer {"connection_id":118959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:40:21] local.INFO: IMEI packet received {"connection_id":118959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 08:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":118959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:40:24] local.INFO: TCP Data received {"connection_id":118843,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118843,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:40:24] local.INFO: Processing buffer {"connection_id":118843,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:40:24] local.INFO: IMEI packet received {"connection_id":118843,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":118843,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:40:25] local.INFO: TCP Data received {"connection_id":118843,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ba75920012d7d130005e9d1380006000c2d..."} 
[2026-07-01 08:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ba75920012d7d130005e9d1380006000c2d..."} 
[2026-07-01 08:40:25] local.INFO: Processing buffer {"connection_id":118843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ba75920012d7d130005e9d1380006000c2d..."} 
[2026-07-01 08:40:25] local.INFO: Packet analysis {"connection_id":118843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ba7"} 
[2026-07-01 08:40:25] local.INFO: Extracted packet for processing {"connection_id":118843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ba7"} 
[2026-07-01 08:40:25] local.INFO: GPS Element Parsed {"raw_longitude":763171584,"raw_latitude":99209528,"longitude_deg":76.3171584,"latitude_deg":9.9209528,"altitude":6,"angle":12,"satellites":45,"speed":29,"hex_longitude":"2d7d1300","hex_latitude":"05e9d138","is_valid_coordinates":true} 
[2026-07-01 08:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:40:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416096000001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:40:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101221886561615872,"note":"Value kept but may cause issues"} 
[2026-07-01 08:40:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9012406567206985728,"note":"Value kept but may cause issues"} 
[2026-07-01 08:40: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-01 08:40:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782875380000,"timestamp_ms":1782875380000,"timestamp_seconds":1782875380,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ba75920"} 
[2026-07-01 08:40:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:40:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 08:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-01 08:40:25] 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-01 08:40:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:40:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:40:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:40:25] local.INFO: Teltonika packet parsed successfully {"connection_id":118843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:40:25] local.INFO: Passing IMEI to GPS processor {"connection_id":118843,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:40:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":118843,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:40:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:40:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:40:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:40:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416096000001,"66":13015,"192":206,"87":13824,"24":29,"16":101221886561615872,"45":9012406567206985728},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-07-01 08:40:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:40:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:40:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416096000001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:40:25] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-01 08:40:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:40:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101221886561615872,"km_value":101221886561615.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:40:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9012406567206985728,"description":"Unknown IO ID 45"} 
[2026-07-01 08:40:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416096000001,"power":13015,"unknown_192":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":9012406567206985728}} 
[2026-07-01 08:40:25] local.INFO: DEBUG: GPS processor result {"connection_id":118843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416656,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:40:25] local.INFO: GPS data processed {"connection_id":118843,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:40:25] local.INFO: Acknowledgment sent {"connection_id":118843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:40:28] local.INFO: TCP Data received {"connection_id":118959,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:40:28] local.INFO: Processing buffer {"connection_id":118959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:40:28] local.INFO: IMEI packet received {"connection_id":118959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":118959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:40:29] local.INFO: TCP Data received {"connection_id":118959,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ba735f8012d11004006e4bc08000b01552f..."} 
[2026-07-01 08:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ba735f8012d11004006e4bc08000b01552f..."} 
[2026-07-01 08:40:29] local.INFO: Processing buffer {"connection_id":118959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ba735f8012d11004006e4bc08000b01552f..."} 
[2026-07-01 08:40:29] local.INFO: Packet analysis {"connection_id":118959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ba7"} 
[2026-07-01 08:40:29] local.INFO: Extracted packet for processing {"connection_id":118959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ba7"} 
[2026-07-01 08:40:29] local.INFO: GPS Element Parsed {"raw_longitude":756088896,"raw_latitude":115653640,"longitude_deg":75.6088896,"latitude_deg":11.565364,"altitude":11,"angle":341,"satellites":47,"speed":0,"hex_longitude":"2d110040","hex_latitude":"06e4bc08","is_valid_coordinates":true} 
[2026-07-01 08:40: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-01 08:40:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416056832001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:40:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333082500580507648,"note":"Value kept but may cause issues"} 
[2026-07-01 08:40:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1225049496996284416,"note":"Value kept but may cause issues"} 
[2026-07-01 08:40:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:40:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782875371000,"timestamp_ms":1782875371000,"timestamp_seconds":1782875371,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ba735f8"} 
[2026-07-01 08: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-01 08:40:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 08:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-01 08:40:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08: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-01 08: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-01 08:40:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:40:29] local.INFO: Teltonika packet parsed successfully {"connection_id":118959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:40:29] local.INFO: Passing IMEI to GPS processor {"connection_id":118959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:40:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":118959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:40:29] 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-01 08:40:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:40:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:40:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416056832001,"66":25778,"245":206,"80":6400,"24":0,"16":333082500580507648,"45":1225049496996284416},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-07-01 08:40:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:40:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:40:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416056832001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:40:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:40:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333082500580507648,"km_value":333082500580507.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:40:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1225049496996284416,"description":"Unknown IO ID 45"} 
[2026-07-01 08:40:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416056832001,"power":25778,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1225049496996284416}} 
[2026-07-01 08:40:29] local.INFO: DEBUG: GPS processor result {"connection_id":118959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:40:29] local.INFO: GPS data processed {"connection_id":118959,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:40:29] local.INFO: Acknowledgment sent {"connection_id":118959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:40:41] local.INFO: TCP Data received {"connection_id":118958,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 08:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118958,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 08:40:41] local.INFO: Processing buffer {"connection_id":118958,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 08:40:41] local.INFO: IMEI packet received {"connection_id":118958,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 08:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":118958,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:40:58] local.INFO: TCP Data received {"connection_id":118843,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ba77860012d7d150005e9e858000600012c..."} 
[2026-07-01 08:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ba77860012d7d150005e9e858000600012c..."} 
[2026-07-01 08:40:58] local.INFO: Processing buffer {"connection_id":118843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ba77860012d7d150005e9e858000600012c..."} 
[2026-07-01 08:40:58] local.INFO: Packet analysis {"connection_id":118843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ba7"} 
[2026-07-01 08:40:58] local.INFO: Extracted packet for processing {"connection_id":118843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ba7"} 
[2026-07-01 08:40:58] local.INFO: GPS Element Parsed {"raw_longitude":763172096,"raw_latitude":99215448,"longitude_deg":76.3172096,"latitude_deg":9.9215448,"altitude":6,"angle":1,"satellites":44,"speed":31,"hex_longitude":"2d7d1500","hex_latitude":"05e9e858","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:40:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416097280001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:40:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101222174324424704,"note":"Value kept but may cause issues"} 
[2026-07-01 08:40:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9012547304696133632,"note":"Value kept but may cause issues"} 
[2026-07-01 08:40: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-01 08:40:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782875388000,"timestamp_ms":1782875388000,"timestamp_seconds":1782875388,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ba77860"} 
[2026-07-01 08: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-01 08:40:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-01 08:40: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-01 08: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-01 08: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-01 08:40:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:40:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:40:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118843,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:40:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118843,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:40:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:40:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:40:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:40:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416097280001,"66":13363,"192":206,"87":13824,"24":31,"16":101222174324424704,"45":9012547304696133632},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-07-01 08:40:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:40:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:40:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416097280001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:40:58] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-01 08:40:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:40:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101222174324424704,"km_value":101222174324424.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:40:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9012547304696133632,"description":"Unknown IO ID 45"} 
[2026-07-01 08:40:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416097280001,"power":13363,"unknown_192":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":9012547304696133632}} 
[2026-07-01 08:40:58] local.INFO: DEBUG: GPS processor result {"connection_id":118843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416658,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:40:58] local.INFO: GPS data processed {"connection_id":118843,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:40:58] local.INFO: Acknowledgment sent {"connection_id":118843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:41:00] local.INFO: TCP Data received {"connection_id":118959,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ba78fd0012d10f7c006e4ccc8000b014d2e..."} 
[2026-07-01 08:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ba78fd0012d10f7c006e4ccc8000b014d2e..."} 
[2026-07-01 08:41:00] local.INFO: Processing buffer {"connection_id":118959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ba78fd0012d10f7c006e4ccc8000b014d2e..."} 
[2026-07-01 08:41:00] local.INFO: Packet analysis {"connection_id":118959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ba7"} 
[2026-07-01 08:41:00] local.INFO: Extracted packet for processing {"connection_id":118959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ba7"} 
[2026-07-01 08:41:00] local.INFO: GPS Element Parsed {"raw_longitude":756086720,"raw_latitude":115657928,"longitude_deg":75.608672,"latitude_deg":11.5657928,"altitude":11,"angle":333,"satellites":46,"speed":0,"hex_longitude":"2d10f7c0","hex_latitude":"06e4ccc8","is_valid_coordinates":true} 
[2026-07-01 08:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416094976001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333082500580507648,"note":"Value kept but may cause issues"} 
[2026-07-01 08:41:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1225049496996284416,"note":"Value kept but may cause issues"} 
[2026-07-01 08:41:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782875394000,"timestamp_ms":1782875394000,"timestamp_seconds":1782875394,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ba78fd0"} 
[2026-07-01 08:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:41:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 08:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-01 08:41:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:41:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":118959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":118959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":118959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:41:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416094976001,"66":27745,"245":206,"80":6400,"24":0,"16":333082500580507648,"45":1225049496996284416},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-07-01 08:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416094976001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:41:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333082500580507648,"km_value":333082500580507.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:41:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1225049496996284416,"description":"Unknown IO ID 45"} 
[2026-07-01 08:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416094976001,"power":27745,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1225049496996284416}} 
[2026-07-01 08:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":118959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:41:00] local.INFO: GPS data processed {"connection_id":118959,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:41:00] local.INFO: Acknowledgment sent {"connection_id":118959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:41:16] local.INFO: TCP Data received {"connection_id":118960,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 08:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118960,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 08:41:16] local.INFO: Processing buffer {"connection_id":118960,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 08:41:16] local.INFO: IMEI packet received {"connection_id":118960,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 08:41:16] local.INFO: IMEI acknowledgment sent {"connection_id":118960,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:41:18] local.INFO: TCP Data received {"connection_id":120719,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120719,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:41:18] local.INFO: Processing buffer {"connection_id":120719,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:41:18] local.INFO: IMEI packet received {"connection_id":120719,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 08:41:18] local.INFO: IMEI acknowledgment sent {"connection_id":120719,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:41:21] local.INFO: TCP Data received {"connection_id":120720,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:41:21] local.INFO: Processing buffer {"connection_id":120720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:41:21] local.INFO: IMEI packet received {"connection_id":120720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 08:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":120720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:41:24] local.INFO: TCP Data received {"connection_id":120719,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120719,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:41:24] local.INFO: Processing buffer {"connection_id":120719,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:41:24] local.INFO: IMEI packet received {"connection_id":120719,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":120719,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:41:24] local.INFO: TCP Data received {"connection_id":120719,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ba7a358012d7d15c005ea0ca0000800022c..."} 
[2026-07-01 08:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ba7a358012d7d15c005ea0ca0000800022c..."} 
[2026-07-01 08:41:24] local.INFO: Processing buffer {"connection_id":120719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ba7a358012d7d15c005ea0ca0000800022c..."} 
[2026-07-01 08:41:24] local.INFO: Packet analysis {"connection_id":120719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ba7"} 
[2026-07-01 08:41:24] local.INFO: Extracted packet for processing {"connection_id":120719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ba7"} 
[2026-07-01 08:41:24] local.INFO: GPS Element Parsed {"raw_longitude":763172288,"raw_latitude":99224736,"longitude_deg":76.3172288,"latitude_deg":9.9224736,"altitude":8,"angle":2,"satellites":44,"speed":33,"hex_longitude":"2d7d15c0","hex_latitude":"05ea0ca0","is_valid_coordinates":true} 
[2026-07-01 08:41:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:41:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416099328001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:41:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101222625295990784,"note":"Value kept but may cause issues"} 
[2026-07-01 08:41:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013110254651070464,"note":"Value kept but may cause issues"} 
[2026-07-01 08:41: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-01 08:41:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782875399000,"timestamp_ms":1782875399000,"timestamp_seconds":1782875399,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ba7a358"} 
[2026-07-01 08:41:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:41:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 08:41:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-01 08:41:24] 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-01 08:41:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:41:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:41:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:41:24] local.INFO: Teltonika packet parsed successfully {"connection_id":120719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:41:24] local.INFO: Passing IMEI to GPS processor {"connection_id":120719,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:41:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":120719,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:41:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:41:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:41:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:41:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416099328001,"66":12906,"192":206,"87":13824,"24":33,"16":101222625295990784,"45":9013110254651070464},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-07-01 08:41:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:41:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:41:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416099328001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:41:24] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-01 08:41:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:41:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101222625295990784,"km_value":101222625295990.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:41:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013110254651070464,"description":"Unknown IO ID 45"} 
[2026-07-01 08:41:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416099328001,"power":12906,"unknown_192":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":9013110254651070464}} 
[2026-07-01 08:41:24] local.INFO: DEBUG: GPS processor result {"connection_id":120719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416660,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:41:24] local.INFO: GPS data processed {"connection_id":120719,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:41:24] local.INFO: Acknowledgment sent {"connection_id":120719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:41:26] local.INFO: TCP Data received {"connection_id":120720,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:41:26] local.INFO: Processing buffer {"connection_id":120720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:41:26] local.INFO: IMEI packet received {"connection_id":120720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":120720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:41:26] local.INFO: TCP Data received {"connection_id":120720,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:41:26] local.INFO: Processing buffer {"connection_id":120720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:41:26] local.INFO: IMEI packet received {"connection_id":120720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":120720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:41:27] local.INFO: TCP Data received {"connection_id":120720,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ba7e1d8012d10f7c006e4ccc8000b014d2f..."} 
[2026-07-01 08:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ba7e1d8012d10f7c006e4ccc8000b014d2f..."} 
[2026-07-01 08:41:27] local.INFO: Processing buffer {"connection_id":120720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ba7e1d8012d10f7c006e4ccc8000b014d2f..."} 
[2026-07-01 08:41:27] local.INFO: Packet analysis {"connection_id":120720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ba7"} 
[2026-07-01 08:41:27] local.INFO: Extracted packet for processing {"connection_id":120720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ba7"} 
[2026-07-01 08:41:27] local.INFO: GPS Element Parsed {"raw_longitude":756086720,"raw_latitude":115657928,"longitude_deg":75.608672,"latitude_deg":11.5657928,"altitude":11,"angle":333,"satellites":47,"speed":0,"hex_longitude":"2d10f7c0","hex_latitude":"06e4ccc8","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416100864001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333082500580507648,"note":"Value kept but may cause issues"} 
[2026-07-01 08:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1222656959695341568,"note":"Value kept but may cause issues"} 
[2026-07-01 08:41:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782875415000,"timestamp_ms":1782875415000,"timestamp_seconds":1782875415,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ba7e1d8"} 
[2026-07-01 08: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-01 08:41:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 08:41:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08: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-01 08: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-01 08:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416100864001,"66":27767,"245":206,"80":6400,"24":0,"16":333082500580507648,"45":1222656959695341568},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-07-01 08:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416100864001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:41:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333082500580507648,"km_value":333082500580507.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1222656959695341568,"description":"Unknown IO ID 45"} 
[2026-07-01 08:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416100864001,"power":27767,"geofence_id":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":1222656959695341568}} 
[2026-07-01 08:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":120720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:41:27] local.INFO: GPS data processed {"connection_id":120720,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:41:27] local.INFO: Acknowledgment sent {"connection_id":120720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:41:32] local.INFO: TCP Data received {"connection_id":120720,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ba814a0012d10f60006e4d130000a01582f..."} 
[2026-07-01 08:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ba814a0012d10f60006e4d130000a01582f..."} 
[2026-07-01 08:41:32] local.INFO: Processing buffer {"connection_id":120720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ba814a0012d10f60006e4d130000a01582f..."} 
[2026-07-01 08:41:32] local.INFO: Packet analysis {"connection_id":120720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ba8"} 
[2026-07-01 08:41:32] local.INFO: Extracted packet for processing {"connection_id":120720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ba8"} 
[2026-07-01 08:41:32] local.INFO: GPS Element Parsed {"raw_longitude":756086272,"raw_latitude":115659056,"longitude_deg":75.6086272,"latitude_deg":11.5659056,"altitude":10,"angle":344,"satellites":47,"speed":7,"hex_longitude":"2d10f600","hex_latitude":"06e4d130","is_valid_coordinates":true} 
[2026-07-01 08:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416106240001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333082560710049792,"note":"Value kept but may cause issues"} 
[2026-07-01 08:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1222656959695341568,"note":"Value kept but may cause issues"} 
[2026-07-01 08:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782875428000,"timestamp_ms":1782875428000,"timestamp_seconds":1782875428,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ba814a0"} 
[2026-07-01 08:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:41:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 08:41: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-01 08:41:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":120720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":120720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":120720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416106240001,"66":27865,"245":206,"80":6400,"24":7,"16":333082560710049792,"45":1222656959695341568},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-07-01 08:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416106240001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:41:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333082560710049792,"km_value":333082560710049.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1222656959695341568,"description":"Unknown IO ID 45"} 
[2026-07-01 08:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416106240001,"power":27865,"geofence_id":206,"unknown_80":6400,"ignition":7,"odometer":null,"unknown_45":1222656959695341568}} 
[2026-07-01 08:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":120720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:41:32] local.INFO: GPS data processed {"connection_id":120720,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:41:32] local.INFO: Acknowledgment sent {"connection_id":120720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:41:56] local.INFO: TCP Data received {"connection_id":120719,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ba7ddf0012d7d16c005ea30c0000b016727..."} 
[2026-07-01 08:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ba7ddf0012d7d16c005ea30c0000b016727..."} 
[2026-07-01 08:41:56] local.INFO: Processing buffer {"connection_id":120719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ba7ddf0012d7d16c005ea30c0000b016727..."} 
[2026-07-01 08:41:56] local.INFO: Packet analysis {"connection_id":120719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ba7"} 
[2026-07-01 08:41:56] local.INFO: Extracted packet for processing {"connection_id":120719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ba7"} 
[2026-07-01 08:41:56] local.INFO: GPS Element Parsed {"raw_longitude":763172544,"raw_latitude":99233984,"longitude_deg":76.3172544,"latitude_deg":9.9233984,"altitude":11,"angle":359,"satellites":39,"speed":15,"hex_longitude":"2d7d16c0","hex_latitude":"05ea30c0","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:41:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416102144001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:41:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101223071972589568,"note":"Value kept but may cause issues"} 
[2026-07-01 08:41:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013321360885981184,"note":"Value kept but may cause issues"} 
[2026-07-01 08:41:56] 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-01 08:41:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782875414000,"timestamp_ms":1782875414000,"timestamp_seconds":1782875414,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ba7ddf0"} 
[2026-07-01 08: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-01 08:41:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-01 08:41:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:41:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08: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-01 08:41:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:41:56] local.INFO: Teltonika packet parsed successfully {"connection_id":120719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:41:56] local.INFO: Passing IMEI to GPS processor {"connection_id":120719,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:41:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":120719,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:41:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:41:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:41:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:41:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416102144001,"66":12298,"154":206,"87":13824,"24":15,"16":101223071972589568,"45":9013321360885981184},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-07-01 08:41:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:41:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:41:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416102144001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:41:56] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-01 08:41:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:41:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101223071972589568,"km_value":101223071972589.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:41:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013321360885981184,"description":"Unknown IO ID 45"} 
[2026-07-01 08:41:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416102144001,"power":12298,"unknown_154":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":9013321360885981184}} 
[2026-07-01 08:41:56] local.INFO: DEBUG: GPS processor result {"connection_id":120719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416663,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:41:56] local.INFO: GPS data processed {"connection_id":120719,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:41:56] local.INFO: Acknowledgment sent {"connection_id":120719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:42:03] local.INFO: TCP Data received {"connection_id":120720,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ba82058012d10f4c006e4d480000a014c2f..."} 
[2026-07-01 08:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ba82058012d10f4c006e4d480000a014c2f..."} 
[2026-07-01 08:42:03] local.INFO: Processing buffer {"connection_id":120720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ba82058012d10f4c006e4d480000a014c2f..."} 
[2026-07-01 08:42:03] local.INFO: Packet analysis {"connection_id":120720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ba8"} 
[2026-07-01 08:42:03] local.INFO: Extracted packet for processing {"connection_id":120720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ba8"} 
[2026-07-01 08:42:03] local.INFO: GPS Element Parsed {"raw_longitude":756085952,"raw_latitude":115659904,"longitude_deg":75.6085952,"latitude_deg":11.5659904,"altitude":10,"angle":332,"satellites":47,"speed":15,"hex_longitude":"2d10f4c0","hex_latitude":"06e4d480","is_valid_coordinates":true} 
[2026-07-01 08:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416109568001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333082603659722752,"note":"Value kept but may cause issues"} 
[2026-07-01 08:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1222164378486386688,"note":"Value kept but may cause issues"} 
[2026-07-01 08:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782875431000,"timestamp_ms":1782875431000,"timestamp_seconds":1782875431,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ba82058"} 
[2026-07-01 08:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:42:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 08:42:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:42:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":120720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":120720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":120720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:42:03] 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-01 08:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416109568001,"66":27843,"245":206,"80":6400,"24":15,"16":333082603659722752,"45":1222164378486386688},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-07-01 08:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416109568001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:42:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333082603659722752,"km_value":333082603659722.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1222164378486386688,"description":"Unknown IO ID 45"} 
[2026-07-01 08:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416109568001,"power":27843,"geofence_id":206,"unknown_80":6400,"ignition":15,"odometer":null,"unknown_45":1222164378486386688}} 
[2026-07-01 08:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":120720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:42:03] local.INFO: GPS data processed {"connection_id":120720,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:42:03] local.INFO: Acknowledgment sent {"connection_id":120720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:42:24] local.INFO: TCP Data received {"connection_id":120721,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120721,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:42:24] local.INFO: Processing buffer {"connection_id":120721,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:42:24] local.INFO: IMEI packet received {"connection_id":120721,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 08:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":120721,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:42:25] local.INFO: TCP Data received {"connection_id":118845,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:42:25] local.INFO: Processing buffer {"connection_id":118845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:42:25] local.INFO: IMEI packet received {"connection_id":118845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 08:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":118845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:42:26] local.INFO: TCP Data received {"connection_id":118845,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:42:26] local.INFO: Processing buffer {"connection_id":118845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:42:26] local.INFO: IMEI packet received {"connection_id":118845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":118845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:42:29] local.INFO: TCP Data received {"connection_id":120721,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120721,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:42:29] local.INFO: Processing buffer {"connection_id":120721,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:42:29] local.INFO: IMEI packet received {"connection_id":120721,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":120721,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:42:30] local.INFO: TCP Data received {"connection_id":120721,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ba82c10012d7d16c005ea3390000b00012c..."} 
[2026-07-01 08:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ba82c10012d7d16c005ea3390000b00012c..."} 
[2026-07-01 08:42:30] local.INFO: Processing buffer {"connection_id":120721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ba82c10012d7d16c005ea3390000b00012c..."} 
[2026-07-01 08:42:30] local.INFO: Packet analysis {"connection_id":120721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ba8"} 
[2026-07-01 08:42:30] local.INFO: Extracted packet for processing {"connection_id":120721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ba8"} 
[2026-07-01 08:42:30] local.INFO: GPS Element Parsed {"raw_longitude":763172544,"raw_latitude":99234704,"longitude_deg":76.3172544,"latitude_deg":9.9234704,"altitude":11,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d7d16c0","hex_latitude":"05ea3390","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416105984001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101223110627295232,"note":"Value kept but may cause issues"} 
[2026-07-01 08:42:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013602835865059328,"note":"Value kept but may cause issues"} 
[2026-07-01 08:42:30] 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-01 08:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782875434000,"timestamp_ms":1782875434000,"timestamp_seconds":1782875434,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ba82c10"} 
[2026-07-01 08: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-01 08:42:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08: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":10,"data_length":795,"current_offset":136} 
[2026-07-01 08:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-01 08:42:30] local.WARNING: Large IO value detected {"io_id":87,"raw_value":3891136466461393408,"note":"Value kept but may cause issues"} 
[2026-07-01 08:42:30] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185959,"note":"Value kept but may cause issues"} 
[2026-07-01 08:42:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-01 08:42:30] local.WARNING: Large IO value detected {"io_id":159,"raw_value":1992612109488061712,"note":"Value kept but may cause issues"} 
[2026-07-01 08:42:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3096224744472580,"note":"Value kept but may cause issues"} 
[2026-07-01 08:42:30] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832603,"note":"Value kept but may cause issues"} 
[2026-07-01 08:42:30] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3675782602788176078,"note":"Value kept but may cause issues"} 
[2026-07-01 08:42:30] local.WARNING: Large IO value detected {"io_id":6,"raw_value":9619627365629952,"note":"Value kept but may cause issues"} 
[2026-07-01 08:42:30] local.WARNING: Large IO value detected {"io_id":156,"raw_value":-7349874591868649471,"note":"Value kept but may cause issues"} 
[2026-07-01 08:42:30] local.WARNING: Large IO value detected {"io_id":27,"raw_value":2806355969,"note":"Value kept but may cause issues"} 
[2026-07-01 08:42:30] local.WARNING: Large IO value detected {"io_id":233,"raw_value":3307208710,"note":"Value kept but may cause issues"} 
[2026-07-01 08:42:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1455423694,"corrected_to":0} 
[2026-07-01 08:42:30] local.WARNING: Large IO value detected {"io_id":65,"raw_value":2952867197,"note":"Value kept but may cause issues"} 
[2026-07-01 08:42:30] local.WARNING: Large IO value detected {"io_id":103,"raw_value":2627534848,"note":"Value kept but may cause issues"} 
[2026-07-01 08:42:30] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3921850368,"note":"Value kept but may cause issues"} 
[2026-07-01 08:42:30] local.WARNING: Large IO value detected {"io_id":128,"raw_value":426084326544048193,"note":"Value kept but may cause issues"} 
[2026-07-01 08:42:30] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,154,87,24,241,157,16,159,163,45,192,12,8,44,10,66,120,232,6,89,1,240,215,227,156,27,233,4,113,205,15,65,18,168,239,51,2,103,5,128],"length":534,"final_offset":664,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1455423694,"validated":0}]} 
[2026-07-01 08:42:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":793028426596286464,"timestamp_seconds":793028426596286.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 08: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-01 08:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":120721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":120721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":120721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:42:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416105984001,"66":13037,"154":206,"87":13824,"24":0,"16":101223110627295232,"45":9013602835865059328},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-07-01 08:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416105984001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:42:30] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-01 08:42:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101223110627295232,"km_value":101223110627295.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:42:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013602835865059328,"description":"Unknown IO ID 45"} 
[2026-07-01 08:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416105984001,"power":13037,"unknown_154":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9013602835865059328}} 
[2026-07-01 08:42:30] local.INFO: DEBUG: GPS processor result {"connection_id":120721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416665,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:42:30] local.INFO: GPS data processed {"connection_id":120721,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:42:30] local.INFO: Acknowledgment sent {"connection_id":120721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:42:31] local.INFO: TCP Data received {"connection_id":120721,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ba85320012d7d180005ea34f8000b001028..."} 
[2026-07-01 08:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ba85320012d7d180005ea34f8000b001028..."} 
[2026-07-01 08:42:31] local.INFO: Processing buffer {"connection_id":120721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ba85320012d7d180005ea34f8000b001028..."} 
[2026-07-01 08:42:31] local.INFO: Packet analysis {"connection_id":120721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ba8"} 
[2026-07-01 08:42:31] local.INFO: Extracted packet for processing {"connection_id":120721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ba8"} 
[2026-07-01 08:42:31] local.INFO: GPS Element Parsed {"raw_longitude":763172864,"raw_latitude":99235064,"longitude_deg":76.3172864,"latitude_deg":9.9235064,"altitude":11,"angle":16,"satellites":40,"speed":3,"hex_longitude":"2d7d1800","hex_latitude":"05ea34f8","is_valid_coordinates":true} 
[2026-07-01 08:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416111104001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101223132102131712,"note":"Value kept but may cause issues"} 
[2026-07-01 08:42:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013602835865243648,"note":"Value kept but may cause issues"} 
[2026-07-01 08:42:31] 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-01 08:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782875444000,"timestamp_ms":1782875444000,"timestamp_seconds":1782875444,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ba85320"} 
[2026-07-01 08:42:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:42:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-01 08:42: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-01 08:42:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:42:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":120721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":120721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":120721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:42:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416111104001,"66":13048,"154":206,"87":13824,"24":3,"16":101223132102131712,"45":9013602835865243648},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-07-01 08:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416111104001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:42:31] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-01 08:42:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101223132102131712,"km_value":101223132102131.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:42:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013602835865243648,"description":"Unknown IO ID 45"} 
[2026-07-01 08:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416111104001,"power":13048,"unknown_154":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":9013602835865243648}} 
[2026-07-01 08:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":120721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416666,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:42:31] local.INFO: GPS data processed {"connection_id":120721,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:42:31] local.INFO: Acknowledgment sent {"connection_id":120721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:42:31] local.INFO: TCP Data received {"connection_id":118845,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:42:31] local.INFO: Processing buffer {"connection_id":118845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:42:31] local.INFO: IMEI packet received {"connection_id":118845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":118845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:42:32] local.INFO: TCP Data received {"connection_id":118845,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ba85ed8012d10e14006e4f3e8000b014a2c..."} 
[2026-07-01 08:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ba85ed8012d10e14006e4f3e8000b014a2c..."} 
[2026-07-01 08:42:32] local.INFO: Processing buffer {"connection_id":118845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ba85ed8012d10e14006e4f3e8000b014a2c..."} 
[2026-07-01 08:42:32] local.INFO: Packet analysis {"connection_id":118845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ba8"} 
[2026-07-01 08:42:32] local.INFO: Extracted packet for processing {"connection_id":118845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ba8"} 
[2026-07-01 08:42:32] local.INFO: GPS Element Parsed {"raw_longitude":756080960,"raw_latitude":115667944,"longitude_deg":75.608096,"latitude_deg":11.5667944,"altitude":11,"angle":330,"satellites":44,"speed":29,"hex_longitude":"2d10e140","hex_latitude":"06e4f3e8","is_valid_coordinates":true} 
[2026-07-01 08:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416110336001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333083063221223424,"note":"Value kept but may cause issues"} 
[2026-07-01 08:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1221812534765715456,"note":"Value kept but may cause issues"} 
[2026-07-01 08:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782875447000,"timestamp_ms":1782875447000,"timestamp_seconds":1782875447,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ba85ed8"} 
[2026-07-01 08:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:42:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 08:42:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:42:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":118845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":118845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":118845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416110336001,"66":27821,"245":206,"80":6400,"24":29,"16":333083063221223424,"45":1221812534765715456},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-07-01 08:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416110336001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:42:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333083063221223424,"km_value":333083063221223.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1221812534765715456,"description":"Unknown IO ID 45"} 
[2026-07-01 08:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416110336001,"power":27821,"geofence_id":206,"unknown_80":6400,"ignition":29,"odometer":null,"unknown_45":1221812534765715456}} 
[2026-07-01 08:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":118845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:42:32] local.INFO: GPS data processed {"connection_id":118845,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:42:32] local.INFO: Acknowledgment sent {"connection_id":118845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:42:33] local.INFO: TCP Data received {"connection_id":118845,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ba885e8012d10d34006e51078000d01552c..."} 
[2026-07-01 08:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ba885e8012d10d34006e51078000d01552c..."} 
[2026-07-01 08:42:33] local.INFO: Processing buffer {"connection_id":118845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ba885e8012d10d34006e51078000d01552c..."} 
[2026-07-01 08:42:33] local.INFO: Packet analysis {"connection_id":118845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ba8"} 
[2026-07-01 08:42:33] local.INFO: Extracted packet for processing {"connection_id":118845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ba8"} 
[2026-07-01 08:42:33] local.INFO: GPS Element Parsed {"raw_longitude":756077376,"raw_latitude":115675256,"longitude_deg":75.6077376,"latitude_deg":11.5675256,"altitude":13,"angle":341,"satellites":44,"speed":34,"hex_longitude":"2d10d340","hex_latitude":"06e51078","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416114432001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333083458358214656,"note":"Value kept but may cause issues"} 
[2026-07-01 08:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1216323772721915904,"note":"Value kept but may cause issues"} 
[2026-07-01 08:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782875457000,"timestamp_ms":1782875457000,"timestamp_seconds":1782875457,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ba885e8"} 
[2026-07-01 08: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-01 08:42: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-01 08: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 08:42:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08: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-01 08: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-01 08:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":118845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":118845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":118845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416114432001,"66":27832,"245":206,"80":6400,"24":34,"16":333083458358214656,"45":1216323772721915904},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-07-01 08:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416114432001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:42:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333083458358214656,"km_value":333083458358214.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1216323772721915904,"description":"Unknown IO ID 45"} 
[2026-07-01 08:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416114432001,"power":27832,"geofence_id":206,"unknown_80":6400,"ignition":34,"odometer":null,"unknown_45":1216323772721915904}} 
[2026-07-01 08:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":118845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:42:33] local.INFO: GPS data processed {"connection_id":118845,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:42:33] local.INFO: Acknowledgment sent {"connection_id":118845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:43:02] local.INFO: TCP Data received {"connection_id":120721,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1baa3f50012d7d20c005eafe200009015129..."} 
[2026-07-01 08:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1baa3f50012d7d20c005eafe200009015129..."} 
[2026-07-01 08:43:02] local.INFO: Processing buffer {"connection_id":120721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1baa3f50012d7d20c005eafe200009015129..."} 
[2026-07-01 08:43:02] local.INFO: Packet analysis {"connection_id":120721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1baa"} 
[2026-07-01 08:43:02] local.INFO: Extracted packet for processing {"connection_id":120721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1baa"} 
[2026-07-01 08:43:02] local.INFO: GPS Element Parsed {"raw_longitude":763175104,"raw_latitude":99286560,"longitude_deg":76.3175104,"latitude_deg":9.928656,"altitude":9,"angle":337,"satellites":41,"speed":6,"hex_longitude":"2d7d20c0","hex_latitude":"05eafe20","is_valid_coordinates":true} 
[2026-07-01 08:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416145408001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101225648952967168,"note":"Value kept but may cause issues"} 
[2026-07-01 08:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016417585645498368,"note":"Value kept but may cause issues"} 
[2026-07-01 08:43:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782875570000,"timestamp_ms":1782875570000,"timestamp_seconds":1782875570,"priority":1,"record_length":96,"hex_timestamp":"0000019f1baa3f50"} 
[2026-07-01 08:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:43:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-01 08:43:02] 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-01 08:43:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":120721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":120721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":120721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:43:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416145408001,"66":12841,"158":206,"87":13824,"24":6,"16":101225648952967168,"45":9016417585645498368},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-01 08:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416145408001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:43:02] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-01 08:43:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101225648952967168,"km_value":101225648952967.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016417585645498368,"description":"Unknown IO ID 45"} 
[2026-07-01 08:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416145408001,"power":12841,"unknown_158":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":9016417585645498368}} 
[2026-07-01 08:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":120721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416669,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:43:02] local.INFO: GPS data processed {"connection_id":120721,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:43:02] local.INFO: Acknowledgment sent {"connection_id":120721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:43:05] local.INFO: TCP Data received {"connection_id":118845,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ba98f88012d105e0006e646a8000701322d..."} 
[2026-07-01 08:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ba98f88012d105e0006e646a8000701322d..."} 
[2026-07-01 08:43:05] local.INFO: Processing buffer {"connection_id":118845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ba98f88012d105e0006e646a8000701322d..."} 
[2026-07-01 08:43:05] local.INFO: Packet analysis {"connection_id":118845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ba9"} 
[2026-07-01 08:43:05] local.INFO: Extracted packet for processing {"connection_id":118845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ba9"} 
[2026-07-01 08:43:05] local.INFO: GPS Element Parsed {"raw_longitude":756047360,"raw_latitude":115754664,"longitude_deg":75.604736,"latitude_deg":11.5754664,"altitude":7,"angle":306,"satellites":45,"speed":56,"hex_longitude":"2d105e00","hex_latitude":"06e646a8","is_valid_coordinates":true} 
[2026-07-01 08:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416132864001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333087688901001216,"note":"Value kept but may cause issues"} 
[2026-07-01 08:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1186487425211279360,"note":"Value kept but may cause issues"} 
[2026-07-01 08:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782875525000,"timestamp_ms":1782875525000,"timestamp_seconds":1782875525,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ba98f88"} 
[2026-07-01 08:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-01 08:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:43:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":118845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":118845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":118845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416132864001,"66":27713,"73":206,"80":6400,"24":56,"16":333087688901001216,"45":1186487425211279360},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,80,24,16,45]} 
[2026-07-01 08:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416132864001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:43:05] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-01 08:43:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333087688901001216,"km_value":333087688901001.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1186487425211279360,"description":"Unknown IO ID 45"} 
[2026-07-01 08:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416132864001,"power":27713,"unknown_73":206,"unknown_80":6400,"ignition":56,"odometer":null,"unknown_45":1186487425211279360}} 
[2026-07-01 08:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":118845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:43:05] local.INFO: GPS data processed {"connection_id":118845,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:43:05] local.INFO: Acknowledgment sent {"connection_id":118845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:43:19] local.INFO: TCP Data received {"connection_id":118846,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118846,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:43:19] local.INFO: Processing buffer {"connection_id":118846,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:43:19] local.INFO: IMEI packet received {"connection_id":118846,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 08:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":118846,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:43:21] local.INFO: TCP Data received {"connection_id":119616,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:43:21] local.INFO: Processing buffer {"connection_id":119616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:43:21] local.INFO: IMEI packet received {"connection_id":119616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 08:43:21] local.INFO: IMEI acknowledgment sent {"connection_id":119616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:43:23] local.INFO: TCP Data received {"connection_id":119616,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:43:23] local.INFO: Processing buffer {"connection_id":119616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:43:23] local.INFO: IMEI packet received {"connection_id":119616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:43:23] local.INFO: IMEI acknowledgment sent {"connection_id":119616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:43:24] local.INFO: TCP Data received {"connection_id":118846,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118846,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:43:24] local.INFO: Processing buffer {"connection_id":118846,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:43:24] local.INFO: IMEI packet received {"connection_id":118846,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:43:24] local.INFO: IMEI acknowledgment sent {"connection_id":118846,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:43:24] local.INFO: TCP Data received {"connection_id":119616,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ba9aae0012d103f0006e65d68000601322e..."} 
[2026-07-01 08:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ba9aae0012d103f0006e65d68000601322e..."} 
[2026-07-01 08:43:24] local.INFO: Processing buffer {"connection_id":119616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ba9aae0012d103f0006e65d68000601322e..."} 
[2026-07-01 08:43:24] local.INFO: Packet analysis {"connection_id":119616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ba9"} 
[2026-07-01 08:43:24] local.INFO: Extracted packet for processing {"connection_id":119616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ba9"} 
[2026-07-01 08:43:24] local.INFO: GPS Element Parsed {"raw_longitude":756039424,"raw_latitude":115760488,"longitude_deg":75.6039424,"latitude_deg":11.5760488,"altitude":6,"angle":306,"satellites":46,"speed":54,"hex_longitude":"2d103f00","hex_latitude":"06e65d68","is_valid_coordinates":true} 
[2026-07-01 08:43:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:43:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416134400001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:43:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333088161347403776,"note":"Value kept but may cause issues"} 
[2026-07-01 08:43:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1179380182050842624,"note":"Value kept but may cause issues"} 
[2026-07-01 08:43:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:43:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782875532000,"timestamp_ms":1782875532000,"timestamp_seconds":1782875532,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ba9aae0"} 
[2026-07-01 08:43:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:43:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:43:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-01 08:43:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:43:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:43:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:43:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:43:24] local.INFO: Teltonika packet parsed successfully {"connection_id":119616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:43:24] local.INFO: Passing IMEI to GPS processor {"connection_id":119616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:43:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":119616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:43:24] 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-01 08:43:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:43:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:43:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416134400001,"66":27876,"73":206,"80":6400,"24":54,"16":333088161347403776,"45":1179380182050842624},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,80,24,16,45]} 
[2026-07-01 08:43:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:43:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:43:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416134400001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:43:24] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-01 08:43:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:43:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333088161347403776,"km_value":333088161347403.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:43:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1179380182050842624,"description":"Unknown IO ID 45"} 
[2026-07-01 08:43:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416134400001,"power":27876,"unknown_73":206,"unknown_80":6400,"ignition":54,"odometer":null,"unknown_45":1179380182050842624}} 
[2026-07-01 08:43:24] local.INFO: DEBUG: GPS processor result {"connection_id":119616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:43:24] local.INFO: GPS data processed {"connection_id":119616,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:43:24] local.INFO: Acknowledgment sent {"connection_id":119616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:43:25] local.INFO: TCP Data received {"connection_id":118846,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1baa4338012d7d208005eafe98000901362a..."} 
[2026-07-01 08:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1baa4338012d7d208005eafe98000901362a..."} 
[2026-07-01 08:43:25] local.INFO: Processing buffer {"connection_id":118846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1baa4338012d7d208005eafe98000901362a..."} 
[2026-07-01 08:43:25] local.INFO: Packet analysis {"connection_id":118846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1baa"} 
[2026-07-01 08:43:25] local.INFO: Extracted packet for processing {"connection_id":118846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1baa"} 
[2026-07-01 08:43:25] local.INFO: GPS Element Parsed {"raw_longitude":763175040,"raw_latitude":99286680,"longitude_deg":76.317504,"latitude_deg":9.928668,"altitude":9,"angle":310,"satellites":42,"speed":6,"hex_longitude":"2d7d2080","hex_latitude":"05eafe98","is_valid_coordinates":true} 
[2026-07-01 08:43:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:43:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416145920001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:43:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101225657542901760,"note":"Value kept but may cause issues"} 
[2026-07-01 08:43:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016417585645625344,"note":"Value kept but may cause issues"} 
[2026-07-01 08:43:25] 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-01 08:43:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782875571000,"timestamp_ms":1782875571000,"timestamp_seconds":1782875571,"priority":1,"record_length":96,"hex_timestamp":"0000019f1baa4338"} 
[2026-07-01 08:43:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:43:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:43:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-01 08:43:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:43:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:43:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:43:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:43:25] local.INFO: Teltonika packet parsed successfully {"connection_id":118846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:43:25] local.INFO: Passing IMEI to GPS processor {"connection_id":118846,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:43:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":118846,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:43:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:43:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:43:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:43:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416145920001,"66":12526,"158":206,"87":13824,"24":6,"16":101225657542901760,"45":9016417585645625344},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-01 08:43:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:43:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:43:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416145920001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:43:25] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-01 08:43:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:43:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101225657542901760,"km_value":101225657542901.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:43:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016417585645625344,"description":"Unknown IO ID 45"} 
[2026-07-01 08:43:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416145920001,"power":12526,"unknown_158":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":9016417585645625344}} 
[2026-07-01 08:43:25] local.INFO: DEBUG: GPS processor result {"connection_id":118846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416672,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:43:25] local.INFO: GPS data processed {"connection_id":118846,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:43:25] local.INFO: Acknowledgment sent {"connection_id":118846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:43:26] local.INFO: TCP Data received {"connection_id":118846,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1baa4ef0012d7d1f4005eafef8000900f92a..."} 
[2026-07-01 08:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1baa4ef0012d7d1f4005eafef8000900f92a..."} 
[2026-07-01 08:43:26] local.INFO: Processing buffer {"connection_id":118846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1baa4ef0012d7d1f4005eafef8000900f92a..."} 
[2026-07-01 08:43:26] local.INFO: Packet analysis {"connection_id":118846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1baa"} 
[2026-07-01 08:43:26] local.INFO: Extracted packet for processing {"connection_id":118846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1baa"} 
[2026-07-01 08:43:26] local.INFO: GPS Element Parsed {"raw_longitude":763174720,"raw_latitude":99286776,"longitude_deg":76.317472,"latitude_deg":9.9286776,"altitude":9,"angle":249,"satellites":42,"speed":6,"hex_longitude":"2d7d1f40","hex_latitude":"05eafef8","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:43:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416146176001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:43:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101225674722770944,"note":"Value kept but may cause issues"} 
[2026-07-01 08:43:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016347216901478400,"note":"Value kept but may cause issues"} 
[2026-07-01 08:43:26] 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-01 08:43:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782875574000,"timestamp_ms":1782875574000,"timestamp_seconds":1782875574,"priority":1,"record_length":96,"hex_timestamp":"0000019f1baa4ef0"} 
[2026-07-01 08: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-01 08:43:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-01 08:43:26] 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-01 08: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-01 08: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-01 08:43:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:43:26] local.INFO: Teltonika packet parsed successfully {"connection_id":118846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:43:26] local.INFO: Passing IMEI to GPS processor {"connection_id":118846,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:43:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":118846,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:43:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:43:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:43:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:43:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416146176001,"66":13059,"158":206,"87":13824,"24":6,"16":101225674722770944,"45":9016347216901478400},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-01 08:43:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:43:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:43:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416146176001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:43:26] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-01 08:43:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:43:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101225674722770944,"km_value":101225674722770.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:43:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016347216901478400,"description":"Unknown IO ID 45"} 
[2026-07-01 08:43:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416146176001,"power":13059,"unknown_158":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":9016347216901478400}} 
[2026-07-01 08:43:26] local.INFO: DEBUG: GPS processor result {"connection_id":118846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416673,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:43:26] local.INFO: GPS data processed {"connection_id":118846,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:43:26] local.INFO: Acknowledgment sent {"connection_id":118846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:43:56] local.INFO: TCP Data received {"connection_id":119616,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ba9c638012d10214006e67320000601322e..."} 
[2026-07-01 08:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ba9c638012d10214006e67320000601322e..."} 
[2026-07-01 08:43:56] local.INFO: Processing buffer {"connection_id":119616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ba9c638012d10214006e67320000601322e..."} 
[2026-07-01 08:43:56] local.INFO: Packet analysis {"connection_id":119616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ba9"} 
[2026-07-01 08:43:56] local.INFO: Extracted packet for processing {"connection_id":119616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ba9"} 
[2026-07-01 08:43:56] local.INFO: GPS Element Parsed {"raw_longitude":756031808,"raw_latitude":115766048,"longitude_deg":75.6031808,"latitude_deg":11.5766048,"altitude":6,"angle":306,"satellites":46,"speed":51,"hex_longitude":"2d102140","hex_latitude":"06e67320","is_valid_coordinates":true} 
[2026-07-01 08:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:43:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416136192001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:43:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333088612318969856,"note":"Value kept but may cause issues"} 
[2026-07-01 08:43:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1170654457774303232,"note":"Value kept but may cause issues"} 
[2026-07-01 08:43:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:43:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782875539000,"timestamp_ms":1782875539000,"timestamp_seconds":1782875539,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ba9c638"} 
[2026-07-01 08:43:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:43: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-01 08:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-01 08:43:56] 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-01 08:43:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:43:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:43:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:43:56] local.INFO: Teltonika packet parsed successfully {"connection_id":119616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:43:56] local.INFO: Passing IMEI to GPS processor {"connection_id":119616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:43:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":119616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:43:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:43:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:43:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:43:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416136192001,"66":28093,"73":206,"80":6400,"24":51,"16":333088612318969856,"45":1170654457774303232},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,80,24,16,45]} 
[2026-07-01 08:43:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:43:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:43:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416136192001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:43:56] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-01 08:43:56] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:43:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333088612318969856,"km_value":333088612318969.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:43:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1170654457774303232,"description":"Unknown IO ID 45"} 
[2026-07-01 08:43:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416136192001,"power":28093,"unknown_73":206,"unknown_80":6400,"ignition":51,"odometer":null,"unknown_45":1170654457774303232}} 
[2026-07-01 08:43:56] local.INFO: DEBUG: GPS processor result {"connection_id":119616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:43:56] local.INFO: GPS data processed {"connection_id":119616,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:43:56] local.INFO: Acknowledgment sent {"connection_id":119616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:43:57] local.INFO: TCP Data received {"connection_id":118846,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1baa8d70012d7d090005eaf4d8000a00ec27..."} 
[2026-07-01 08:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1baa8d70012d7d090005eaf4d8000a00ec27..."} 
[2026-07-01 08:43:57] local.INFO: Processing buffer {"connection_id":118846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1baa8d70012d7d090005eaf4d8000a00ec27..."} 
[2026-07-01 08:43:57] local.INFO: Packet analysis {"connection_id":118846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1baa"} 
[2026-07-01 08:43:57] local.INFO: Extracted packet for processing {"connection_id":118846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1baa"} 
[2026-07-01 08:43:57] local.INFO: GPS Element Parsed {"raw_longitude":763169024,"raw_latitude":99284184,"longitude_deg":76.3169024,"latitude_deg":9.9284184,"altitude":10,"angle":236,"satellites":39,"speed":20,"hex_longitude":"2d7d0900","hex_latitude":"05eaf4d8","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:43:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416146944001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:43:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101225975370481664,"note":"Value kept but may cause issues"} 
[2026-07-01 08:43:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015995373180614656,"note":"Value kept but may cause issues"} 
[2026-07-01 08:43:57] 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-01 08:43:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782875590000,"timestamp_ms":1782875590000,"timestamp_seconds":1782875590,"priority":1,"record_length":96,"hex_timestamp":"0000019f1baa8d70"} 
[2026-07-01 08: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-01 08:43:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-01 08:43:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303162828311888,"note":"Value kept but may cause issues"} 
[2026-07-01 08:43:57] local.WARNING: Large IO value detected {"io_id":158,"raw_value":58079734643818507,"note":"Value kept but may cause issues"} 
[2026-07-01 08:43:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-01 08:43:57] local.WARNING: Large IO value detected {"io_id":27,"raw_value":2850899969,"note":"Value kept but may cause issues"} 
[2026-07-01 08:43:57] local.WARNING: Large IO value detected {"io_id":234,"raw_value":3644325895,"note":"Value kept but may cause issues"} 
[2026-07-01 08:43:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1352532174,"corrected_to":0} 
[2026-07-01 08:43:57] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070416,"note":"Value kept but may cause issues"} 
[2026-07-01 08:43:57] local.WARNING: Large IO value detected {"io_id":103,"raw_value":2680225792,"note":"Value kept but may cause issues"} 
[2026-07-01 08:43:57] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,158,87,24,241,157,16,160,159,67,45,128,254,9,42,10,66,63,192,41,55,1,240,79,227,27,234,4,113,205,229,31,88,44,239,51,2,103,5,11],"length":486,"final_offset":616,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1352532174,"validated":0}]} 
[2026-07-01 08:43:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648792305125687296,"timestamp_seconds":648792305125687.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 08: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-01 08:43:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:43:57] local.INFO: Teltonika packet parsed successfully {"connection_id":118846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:43:57] local.INFO: Passing IMEI to GPS processor {"connection_id":118846,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:43:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":118846,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:43:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:43:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:43:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:43:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416146944001,"66":12961,"158":206,"87":13824,"24":20,"16":101225975370481664,"45":9015995373180614656},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-01 08:43:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:43:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:43:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416146944001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:43:57] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-01 08:43:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:43:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101225975370481664,"km_value":101225975370481.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:43:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015995373180614656,"description":"Unknown IO ID 45"} 
[2026-07-01 08:43:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416146944001,"power":12961,"unknown_158":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":9015995373180614656}} 
[2026-07-01 08:43:57] local.INFO: DEBUG: GPS processor result {"connection_id":118846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416675,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:43:57] local.INFO: GPS data processed {"connection_id":118846,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:43:57] local.INFO: Acknowledgment sent {"connection_id":118846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:44:19] local.INFO: TCP Data received {"connection_id":119617,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119617,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:44:19] local.INFO: Processing buffer {"connection_id":119617,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:44:19] local.INFO: IMEI packet received {"connection_id":119617,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 08:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":119617,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:44:20] local.INFO: TCP Data received {"connection_id":119617,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119617,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:44:20] local.INFO: Processing buffer {"connection_id":119617,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:44:20] local.INFO: IMEI packet received {"connection_id":119617,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":119617,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:44:21] local.INFO: TCP Data received {"connection_id":119619,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:44:21] local.INFO: Processing buffer {"connection_id":119619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:44:21] local.INFO: IMEI packet received {"connection_id":119619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 08:44:21] local.INFO: IMEI acknowledgment sent {"connection_id":119619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:44:24] local.INFO: TCP Data received {"connection_id":119617,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119617,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:44:24] local.INFO: Processing buffer {"connection_id":119617,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:44:24] local.INFO: IMEI packet received {"connection_id":119617,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:44:24] local.INFO: IMEI acknowledgment sent {"connection_id":119617,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:44:25] local.INFO: TCP Data received {"connection_id":119617,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1baac038012d7d030005eaf128000c01062a..."} 
[2026-07-01 08:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1baac038012d7d030005eaf128000c01062a..."} 
[2026-07-01 08:44:25] local.INFO: Processing buffer {"connection_id":119617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1baac038012d7d030005eaf128000c01062a..."} 
[2026-07-01 08:44:25] local.INFO: Packet analysis {"connection_id":119617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1baa"} 
[2026-07-01 08:44:25] local.INFO: Extracted packet for processing {"connection_id":119617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1baa"} 
[2026-07-01 08:44:25] local.INFO: GPS Element Parsed {"raw_longitude":763167488,"raw_latitude":99283240,"longitude_deg":76.3167488,"latitude_deg":9.928324,"altitude":12,"angle":262,"satellites":42,"speed":7,"hex_longitude":"2d7d0300","hex_latitude":"05eaf128","is_valid_coordinates":true} 
[2026-07-01 08:44:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:44:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416151040001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:44:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101226069859762176,"note":"Value kept but may cause issues"} 
[2026-07-01 08:44:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009732554948139008,"note":"Value kept but may cause issues"} 
[2026-07-01 08:44:25] 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-01 08:44:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782875603000,"timestamp_ms":1782875603000,"timestamp_seconds":1782875603,"priority":1,"record_length":96,"hex_timestamp":"0000019f1baac038"} 
[2026-07-01 08:44:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:44:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:44:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-01 08:44:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:44:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:44:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:44:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:44:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:44:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:44:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:44:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:44:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:44:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:44:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416151040001,"66":13059,"158":206,"87":13824,"24":7,"16":101226069859762176,"45":9009732554948139008},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-01 08:44:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:44:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:44:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416151040001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:44:25] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-01 08:44:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:44:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101226069859762176,"km_value":101226069859762.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:44:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009732554948139008,"description":"Unknown IO ID 45"} 
[2026-07-01 08:44:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416151040001,"power":13059,"unknown_158":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":9009732554948139008}} 
[2026-07-01 08:44:25] local.INFO: DEBUG: GPS processor result {"connection_id":119617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416676,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:44:25] local.INFO: GPS data processed {"connection_id":119617,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:44:25] local.INFO: Acknowledgment sent {"connection_id":119617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:44:29] local.INFO: TCP Data received {"connection_id":119619,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:44:29] local.INFO: Processing buffer {"connection_id":119619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:44:29] local.INFO: IMEI packet received {"connection_id":119619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":119619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:44:29] local.INFO: TCP Data received {"connection_id":119617,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1baae748012d7cf64005eaee20000b00f929..."} 
[2026-07-01 08:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1baae748012d7cf64005eaee20000b00f929..."} 
[2026-07-01 08:44:29] local.INFO: Processing buffer {"connection_id":119617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1baae748012d7cf64005eaee20000b00f929..."} 
[2026-07-01 08:44:29] local.INFO: Packet analysis {"connection_id":119617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1baa"} 
[2026-07-01 08:44:29] local.INFO: Extracted packet for processing {"connection_id":119617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1baa"} 
[2026-07-01 08:44:29] local.INFO: GPS Element Parsed {"raw_longitude":763164224,"raw_latitude":99282464,"longitude_deg":76.3164224,"latitude_deg":9.9282464,"altitude":11,"angle":249,"satellites":41,"speed":9,"hex_longitude":"2d7cf640","hex_latitude":"05eaee20","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:44:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416154368001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:44:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101226233068519424,"note":"Value kept but may cause issues"} 
[2026-07-01 08:44:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9008043705087633408,"note":"Value kept but may cause issues"} 
[2026-07-01 08:44:29] 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-01 08:44:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782875613000,"timestamp_ms":1782875613000,"timestamp_seconds":1782875613,"priority":1,"record_length":96,"hex_timestamp":"0000019f1baae748"} 
[2026-07-01 08: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-01 08:44:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-01 08:44:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303161721015632,"note":"Value kept but may cause issues"} 
[2026-07-01 08:44:29] local.WARNING: Large IO value detected {"io_id":158,"raw_value":58079734643818506,"note":"Value kept but may cause issues"} 
[2026-07-01 08:44:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-01 08:44:29] local.WARNING: Large IO value detected {"io_id":27,"raw_value":2856275969,"note":"Value kept but may cause issues"} 
[2026-07-01 08:44:29] local.WARNING: Large IO value detected {"io_id":234,"raw_value":4263510025,"note":"Value kept but may cause issues"} 
[2026-07-01 08:44:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1352532174,"corrected_to":0} 
[2026-07-01 08:44:29] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2147560829,"note":"Value kept but may cause issues"} 
[2026-07-01 08:44:29] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3221613308,"note":"Value kept but may cause issues"} 
[2026-07-01 08:44:29] local.WARNING: Large IO value detected {"io_id":103,"raw_value":2687238144,"note":"Value kept but may cause issues"} 
[2026-07-01 08:44:29] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3940104192,"note":"Value kept but may cause issues"} 
[2026-07-01 08:44:29] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,158,87,24,241,157,16,160,159,141,45,244,10,39,66,78,64,254,9,42,67,128,1,240,238,227,27,234,4,113,205,6,55,32,48,239,51,2,103,5,7],"length":486,"final_offset":616,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1352532174,"validated":0}]} 
[2026-07-01 08:44:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864979380890697728,"timestamp_seconds":864979380890697.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 08: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-01 08:44:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:44:29] local.INFO: Teltonika packet parsed successfully {"connection_id":119617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:44:29] local.INFO: Passing IMEI to GPS processor {"connection_id":119617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:44:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":119617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:44:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:44:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:44:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:44:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416154368001,"66":13048,"158":206,"87":13824,"24":9,"16":101226233068519424,"45":9008043705087633408},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-01 08:44:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:44:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:44:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416154368001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:44:29] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-01 08:44:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:44:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101226233068519424,"km_value":101226233068519.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:44:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9008043705087633408,"description":"Unknown IO ID 45"} 
[2026-07-01 08:44:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416154368001,"power":13048,"unknown_158":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":9008043705087633408}} 
[2026-07-01 08:44:29] local.INFO: DEBUG: GPS processor result {"connection_id":119617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416677,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:44:29] local.INFO: GPS data processed {"connection_id":119617,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:44:29] local.INFO: Acknowledgment sent {"connection_id":119617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:44:30] local.INFO: TCP Data received {"connection_id":119619,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ba9e578012d10014006e68a100007013031..."} 
[2026-07-01 08:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ba9e578012d10014006e68a100007013031..."} 
[2026-07-01 08:44:30] local.INFO: Processing buffer {"connection_id":119619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ba9e578012d10014006e68a100007013031..."} 
[2026-07-01 08:44:30] local.INFO: Packet analysis {"connection_id":119619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ba9"} 
[2026-07-01 08:44:30] local.INFO: Extracted packet for processing {"connection_id":119619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ba9"} 
[2026-07-01 08:44:30] local.INFO: GPS Element Parsed {"raw_longitude":756023616,"raw_latitude":115771920,"longitude_deg":75.6023616,"latitude_deg":11.577192,"altitude":7,"angle":304,"satellites":49,"speed":49,"hex_longitude":"2d100140","hex_latitude":"06e68a10","is_valid_coordinates":true} 
[2026-07-01 08:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416137984001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333089093355307008,"note":"Value kept but may cause issues"} 
[2026-07-01 08:44:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1162280577218584576,"note":"Value kept but may cause issues"} 
[2026-07-01 08:44:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782875547000,"timestamp_ms":1782875547000,"timestamp_seconds":1782875547,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ba9e578"} 
[2026-07-01 08:44:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:44:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-07-01 08:44:30] 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-01 08:44:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:44:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":119619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":119619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":119619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:44:30] 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-01 08:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416137984001,"66":27887,"73":206,"80":6400,"24":49,"16":333089093355307008,"45":1162280577218584576},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,80,24,16,45]} 
[2026-07-01 08:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416137984001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:44:30] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-01 08:44:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333089093355307008,"km_value":333089093355307.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:44:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1162280577218584576,"description":"Unknown IO ID 45"} 
[2026-07-01 08:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416137984001,"power":27887,"unknown_73":206,"unknown_80":6400,"ignition":49,"odometer":null,"unknown_45":1162280577218584576}} 
[2026-07-01 08:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":119619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:44:30] local.INFO: GPS data processed {"connection_id":119619,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:44:30] local.INFO: Acknowledgment sent {"connection_id":119619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:45:01] local.INFO: TCP Data received {"connection_id":119617,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bab3568012d7cf58005eaee10000b00f925..."} 
[2026-07-01 08:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bab3568012d7cf58005eaee10000b00f925..."} 
[2026-07-01 08:45:01] local.INFO: Processing buffer {"connection_id":119617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bab3568012d7cf58005eaee10000b00f925..."} 
[2026-07-01 08:45:01] local.INFO: Packet analysis {"connection_id":119617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bab"} 
[2026-07-01 08:45:01] local.INFO: Extracted packet for processing {"connection_id":119617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bab"} 
[2026-07-01 08:45:01] local.INFO: GPS Element Parsed {"raw_longitude":763164032,"raw_latitude":99282448,"longitude_deg":76.3164032,"latitude_deg":9.9282448,"altitude":11,"angle":249,"satellites":37,"speed":0,"hex_longitude":"2d7cf580","hex_latitude":"05eaee10","is_valid_coordinates":true} 
[2026-07-01 08:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416156928001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101226250248388608,"note":"Value kept but may cause issues"} 
[2026-07-01 08:45:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004454899134373888,"note":"Value kept but may cause issues"} 
[2026-07-01 08:45:01] 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-01 08:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782875633000,"timestamp_ms":1782875633000,"timestamp_seconds":1782875633,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bab3568"} 
[2026-07-01 08:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:45: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-01 08:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-01 08:45: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-01 08:45:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":119617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":119617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":119617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:45:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416156928001,"66":13015,"158":206,"87":13824,"24":0,"16":101226250248388608,"45":9004454899134373888},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-01 08:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416156928001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:45:01] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-01 08:45:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101226250248388608,"km_value":101226250248388.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:45:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004454899134373888,"description":"Unknown IO ID 45"} 
[2026-07-01 08:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416156928001,"power":13015,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9004454899134373888}} 
[2026-07-01 08:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":119617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416679,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:45:01] local.INFO: GPS data processed {"connection_id":119617,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:45:01] local.INFO: Acknowledgment sent {"connection_id":119617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:45:01] local.INFO: TCP Data received {"connection_id":119619,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1baa04b8012d0fe04006e69c480007012631..."} 
[2026-07-01 08:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1baa04b8012d0fe04006e69c480007012631..."} 
[2026-07-01 08:45:01] local.INFO: Processing buffer {"connection_id":119619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1baa04b8012d0fe04006e69c480007012631..."} 
[2026-07-01 08:45:01] local.INFO: Packet analysis {"connection_id":119619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1baa"} 
[2026-07-01 08:45:01] local.INFO: Extracted packet for processing {"connection_id":119619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1baa"} 
[2026-07-01 08:45:01] local.INFO: GPS Element Parsed {"raw_longitude":756015168,"raw_latitude":115776584,"longitude_deg":75.6015168,"latitude_deg":11.5776584,"altitude":7,"angle":294,"satellites":49,"speed":44,"hex_longitude":"2d0fe040","hex_latitude":"06e69c48","is_valid_coordinates":true} 
[2026-07-01 08:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416140032001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333089552916807680,"note":"Value kept but may cause issues"} 
[2026-07-01 08:45:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1153273377965346816,"note":"Value kept but may cause issues"} 
[2026-07-01 08:45:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782875555000,"timestamp_ms":1782875555000,"timestamp_seconds":1782875555,"priority":1,"record_length":96,"hex_timestamp":"0000019f1baa04b8"} 
[2026-07-01 08:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:45:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-01 08:45:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:45:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":119619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":119619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":119619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:45:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416140032001,"66":27919,"73":206,"80":6400,"24":44,"16":333089552916807680,"45":1153273377965346816},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,80,24,16,45]} 
[2026-07-01 08:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416140032001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:45:01] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-01 08:45:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333089552916807680,"km_value":333089552916807.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:45:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1153273377965346816,"description":"Unknown IO ID 45"} 
[2026-07-01 08:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416140032001,"power":27919,"unknown_73":206,"unknown_80":6400,"ignition":44,"odometer":null,"unknown_45":1153273377965346816}} 
[2026-07-01 08:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":119619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:45:01] local.INFO: GPS data processed {"connection_id":119619,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:45:01] local.INFO: Acknowledgment sent {"connection_id":119619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:45:17] local.INFO: TCP Data received {"connection_id":118962,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118962,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:45:17] local.INFO: Processing buffer {"connection_id":118962,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:45:17] local.INFO: IMEI packet received {"connection_id":118962,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 08:45:17] local.INFO: IMEI acknowledgment sent {"connection_id":118962,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:45:18] local.INFO: TCP Data received {"connection_id":118962,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118962,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:45:18] local.INFO: Processing buffer {"connection_id":118962,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:45:18] local.INFO: IMEI packet received {"connection_id":118962,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:45:18] local.INFO: IMEI acknowledgment sent {"connection_id":118962,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:45:21] local.INFO: TCP Data received {"connection_id":118963,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:45:21] local.INFO: Processing buffer {"connection_id":118963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:45:21] local.INFO: IMEI packet received {"connection_id":118963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 08:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":118963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:45:21] local.INFO: TCP Data received {"connection_id":118963,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:45:21] local.INFO: Processing buffer {"connection_id":118963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:45:21] local.INFO: IMEI packet received {"connection_id":118963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":118963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:45:24] local.INFO: TCP Data received {"connection_id":118962,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118962,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:45:24] local.INFO: Processing buffer {"connection_id":118962,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:45:24] local.INFO: IMEI packet received {"connection_id":118962,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":118962,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:45:24] local.INFO: TCP Data received {"connection_id":118962,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bab73e8012d7cf48005eaed88000c010922..."} 
[2026-07-01 08:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bab73e8012d7cf48005eaed88000c010922..."} 
[2026-07-01 08:45:24] local.INFO: Processing buffer {"connection_id":118962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bab73e8012d7cf48005eaed88000c010922..."} 
[2026-07-01 08:45:24] local.INFO: Packet analysis {"connection_id":118962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bab"} 
[2026-07-01 08:45:24] local.INFO: Extracted packet for processing {"connection_id":118962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bab"} 
[2026-07-01 08:45:24] local.INFO: GPS Element Parsed {"raw_longitude":763163776,"raw_latitude":99282312,"longitude_deg":76.3163776,"latitude_deg":9.9282312,"altitude":12,"angle":265,"satellites":34,"speed":3,"hex_longitude":"2d7cf480","hex_latitude":"05eaed88","is_valid_coordinates":true} 
[2026-07-01 08:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:45:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416162048001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:45:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101226263133290496,"note":"Value kept but may cause issues"} 
[2026-07-01 08:45:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004243792901836800,"note":"Value kept but may cause issues"} 
[2026-07-01 08:45:24] 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-01 08:45:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782875649000,"timestamp_ms":1782875649000,"timestamp_seconds":1782875649,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bab73e8"} 
[2026-07-01 08:45:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:45: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-01 08:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-01 08:45:24] 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-01 08:45:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:45:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:45:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:45:24] local.INFO: Teltonika packet parsed successfully {"connection_id":118962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:45:24] local.INFO: Passing IMEI to GPS processor {"connection_id":118962,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:45:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":118962,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:45:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:45:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:45:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:45:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416162048001,"66":13298,"158":206,"87":13824,"24":3,"16":101226263133290496,"45":9004243792901836800},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-01 08:45:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:45:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:45:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416162048001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:45:24] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-01 08:45:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:45:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101226263133290496,"km_value":101226263133290.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:45:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004243792901836800,"description":"Unknown IO ID 45"} 
[2026-07-01 08:45:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416162048001,"power":13298,"unknown_158":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":9004243792901836800}} 
[2026-07-01 08:45:24] local.INFO: DEBUG: GPS processor result {"connection_id":118962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416681,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:45:24] local.INFO: GPS data processed {"connection_id":118962,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:45:24] local.INFO: Acknowledgment sent {"connection_id":118962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:45:26] local.INFO: TCP Data received {"connection_id":118963,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:45:26] local.INFO: Processing buffer {"connection_id":118963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:45:26] local.INFO: IMEI packet received {"connection_id":118963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":118963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:45:27] local.INFO: TCP Data received {"connection_id":118963,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1baa2bc8012d0fbec006e6aa10000701202d..."} 
[2026-07-01 08:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1baa2bc8012d0fbec006e6aa10000701202d..."} 
[2026-07-01 08:45:27] local.INFO: Processing buffer {"connection_id":118963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1baa2bc8012d0fbec006e6aa10000701202d..."} 
[2026-07-01 08:45:27] local.INFO: Packet analysis {"connection_id":118963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1baa"} 
[2026-07-01 08:45:27] local.INFO: Extracted packet for processing {"connection_id":118963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1baa"} 
[2026-07-01 08:45:27] local.INFO: GPS Element Parsed {"raw_longitude":756006592,"raw_latitude":115780112,"longitude_deg":75.6006592,"latitude_deg":11.5780112,"altitude":7,"angle":288,"satellites":45,"speed":29,"hex_longitude":"2d0fbec0","hex_latitude":"06e6aa10","is_valid_coordinates":true} 
[2026-07-01 08:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:45:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416142080001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:45:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333089995298439168,"note":"Value kept but may cause issues"} 
[2026-07-01 08:45:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1143984703735089152,"note":"Value kept but may cause issues"} 
[2026-07-01 08:45:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:45:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782875565000,"timestamp_ms":1782875565000,"timestamp_seconds":1782875565,"priority":1,"record_length":96,"hex_timestamp":"0000019f1baa2bc8"} 
[2026-07-01 08:45:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:45:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 08:45:27] 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-01 08:45:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:45:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:45:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:45:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:45:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:45:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:45:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:45:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:45:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:45:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416142080001,"66":27919,"74":206,"80":6400,"24":29,"16":333089995298439168,"45":1143984703735089152},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,80,24,16,45]} 
[2026-07-01 08:45:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:45:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:45:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416142080001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:45:27] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-07-01 08:45:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:45:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333089995298439168,"km_value":333089995298439.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:45:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1143984703735089152,"description":"Unknown IO ID 45"} 
[2026-07-01 08:45:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416142080001,"power":27919,"unknown_74":206,"unknown_80":6400,"ignition":29,"odometer":null,"unknown_45":1143984703735089152}} 
[2026-07-01 08:45:27] local.INFO: DEBUG: GPS processor result {"connection_id":118963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:45:27] local.INFO: GPS data processed {"connection_id":118963,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:45:27] local.INFO: Acknowledgment sent {"connection_id":118963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:45:55] local.INFO: TCP Data received {"connection_id":118962,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bab9710012d7ce78005eaec80000b011425..."} 
[2026-07-01 08:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bab9710012d7ce78005eaec80000b011425..."} 
[2026-07-01 08:45:55] local.INFO: Processing buffer {"connection_id":118962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bab9710012d7ce78005eaec80000b011425..."} 
[2026-07-01 08:45:55] local.INFO: Packet analysis {"connection_id":118962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bab"} 
[2026-07-01 08:45:55] local.INFO: Extracted packet for processing {"connection_id":118962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bab"} 
[2026-07-01 08:45:55] local.INFO: GPS Element Parsed {"raw_longitude":763160448,"raw_latitude":99282048,"longitude_deg":76.3160448,"latitude_deg":9.9282048,"altitude":11,"angle":276,"satellites":37,"speed":11,"hex_longitude":"2d7ce780","hex_latitude":"05eaec80","is_valid_coordinates":true} 
[2026-07-01 08:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416166144001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101226422047080448,"note":"Value kept but may cause issues"} 
[2026-07-01 08:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9003962317925091328,"note":"Value kept but may cause issues"} 
[2026-07-01 08:45:55] 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-01 08:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782875658000,"timestamp_ms":1782875658000,"timestamp_seconds":1782875658,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bab9710"} 
[2026-07-01 08:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:45:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-07-01 08:45:55] 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-01 08:45:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":118962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":118962,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":118962,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:45:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416166144001,"66":12982,"158":206,"87":13824,"24":11,"16":101226422047080448,"45":9003962317925091328},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-01 08:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416166144001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:45:55] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-01 08:45:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101226422047080448,"km_value":101226422047080.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9003962317925091328,"description":"Unknown IO ID 45"} 
[2026-07-01 08:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416166144001,"power":12982,"unknown_158":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":9003962317925091328}} 
[2026-07-01 08:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":118962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416683,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:45:55] local.INFO: GPS data processed {"connection_id":118962,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:45:55] local.INFO: Acknowledgment sent {"connection_id":118962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:45:59] local.INFO: TCP Data received {"connection_id":118963,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1baa6e30012d0fa64006e6b1900006012c2f..."} 
[2026-07-01 08:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1baa6e30012d0fa64006e6b1900006012c2f..."} 
[2026-07-01 08:45:59] local.INFO: Processing buffer {"connection_id":118963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1baa6e30012d0fa64006e6b1900006012c2f..."} 
[2026-07-01 08:45:59] local.INFO: Packet analysis {"connection_id":118963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1baa"} 
[2026-07-01 08:45:59] local.INFO: Extracted packet for processing {"connection_id":118963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1baa"} 
[2026-07-01 08:45:59] local.INFO: GPS Element Parsed {"raw_longitude":756000320,"raw_latitude":115782032,"longitude_deg":75.600032,"latitude_deg":11.5782032,"altitude":6,"angle":300,"satellites":47,"speed":12,"hex_longitude":"2d0fa640","hex_latitude":"06e6b190","is_valid_coordinates":true} 
[2026-07-01 08:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416144640001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333090308831051776,"note":"Value kept but may cause issues"} 
[2026-07-01 08:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1134555292016185344,"note":"Value kept but may cause issues"} 
[2026-07-01 08:45:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782875582000,"timestamp_ms":1782875582000,"timestamp_seconds":1782875582,"priority":1,"record_length":96,"hex_timestamp":"0000019f1baa6e30"} 
[2026-07-01 08:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:45:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 08:45:59] 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-01 08:45:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:45:59] 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-01 08:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416144640001,"66":27908,"74":206,"80":6400,"24":12,"16":333090308831051776,"45":1134555292016185344},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,80,24,16,45]} 
[2026-07-01 08:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416144640001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:45:59] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-07-01 08:45:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333090308831051776,"km_value":333090308831051.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1134555292016185344,"description":"Unknown IO ID 45"} 
[2026-07-01 08:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416144640001,"power":27908,"unknown_74":206,"unknown_80":6400,"ignition":12,"odometer":null,"unknown_45":1134555292016185344}} 
[2026-07-01 08:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":118963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:45:59] local.INFO: GPS data processed {"connection_id":118963,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:45:59] local.INFO: Acknowledgment sent {"connection_id":118963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:46:18] local.INFO: TCP Data received {"connection_id":118848,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118848,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:46:18] local.INFO: Processing buffer {"connection_id":118848,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:46:18] local.INFO: IMEI packet received {"connection_id":118848,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 08:46:18] local.INFO: IMEI acknowledgment sent {"connection_id":118848,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:46:21] local.INFO: TCP Data received {"connection_id":118849,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:46:21] local.INFO: Processing buffer {"connection_id":118849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:46:21] local.INFO: IMEI packet received {"connection_id":118849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 08:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":118849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:46:24] local.INFO: TCP Data received {"connection_id":118848,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118848,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:46:24] local.INFO: Processing buffer {"connection_id":118848,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:46:24] local.INFO: IMEI packet received {"connection_id":118848,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":118848,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:46:24] local.INFO: TCP Data received {"connection_id":118848,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1babc9d8012d7cdf8005eaec90000c010626..."} 
[2026-07-01 08:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1babc9d8012d7cdf8005eaec90000c010626..."} 
[2026-07-01 08:46:24] local.INFO: Processing buffer {"connection_id":118848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1babc9d8012d7cdf8005eaec90000c010626..."} 
[2026-07-01 08:46:24] local.INFO: Packet analysis {"connection_id":118848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bab"} 
[2026-07-01 08:46:24] local.INFO: Extracted packet for processing {"connection_id":118848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bab"} 
[2026-07-01 08:46:24] local.INFO: GPS Element Parsed {"raw_longitude":763158400,"raw_latitude":99282064,"longitude_deg":76.31584,"latitude_deg":9.9282064,"altitude":12,"angle":262,"satellites":38,"speed":11,"hex_longitude":"2d7cdf80","hex_latitude":"05eaec90","is_valid_coordinates":true} 
[2026-07-01 08:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:46:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416168448001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:46:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101226529421262848,"note":"Value kept but may cause issues"} 
[2026-07-01 08:46:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9000303143227785216,"note":"Value kept but may cause issues"} 
[2026-07-01 08:46:24] 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-01 08:46:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782875671000,"timestamp_ms":1782875671000,"timestamp_seconds":1782875671,"priority":1,"record_length":96,"hex_timestamp":"0000019f1babc9d8"} 
[2026-07-01 08:46:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:46: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-01 08:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-01 08:46: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-01 08:46:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:46:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:46:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:46:24] local.INFO: Teltonika packet parsed successfully {"connection_id":118848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:46:24] local.INFO: Passing IMEI to GPS processor {"connection_id":118848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:46:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":118848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:46:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:46:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:46:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:46:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416168448001,"66":13276,"158":206,"87":13824,"24":11,"16":101226529421262848,"45":9000303143227785216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-01 08:46:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:46:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:46:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416168448001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:46:24] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-01 08:46:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:46:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101226529421262848,"km_value":101226529421262.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:46:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9000303143227785216,"description":"Unknown IO ID 45"} 
[2026-07-01 08:46:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416168448001,"power":13276,"unknown_158":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":9000303143227785216}} 
[2026-07-01 08:46:24] local.INFO: DEBUG: GPS processor result {"connection_id":118848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416685,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:46:24] local.INFO: GPS data processed {"connection_id":118848,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:46:24] local.INFO: Acknowledgment sent {"connection_id":118848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:46:26] local.INFO: TCP Data received {"connection_id":118849,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:46:26] local.INFO: Processing buffer {"connection_id":118849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:46:26] local.INFO: IMEI packet received {"connection_id":118849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":118849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:46:27] local.INFO: TCP Data received {"connection_id":118849,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bac98e0012d0f2ec006e6fe90000d00032e..."} 
[2026-07-01 08:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bac98e0012d0f2ec006e6fe90000d00032e..."} 
[2026-07-01 08:46:27] local.INFO: Processing buffer {"connection_id":118849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bac98e0012d0f2ec006e6fe90000d00032e..."} 
[2026-07-01 08:46:27] local.INFO: Packet analysis {"connection_id":118849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bac"} 
[2026-07-01 08:46:27] local.INFO: Extracted packet for processing {"connection_id":118849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bac"} 
[2026-07-01 08:46:27] local.INFO: GPS Element Parsed {"raw_longitude":755969728,"raw_latitude":115801744,"longitude_deg":75.5969728,"latitude_deg":11.5801744,"altitude":13,"angle":3,"satellites":46,"speed":13,"hex_longitude":"2d0f2ec0","hex_latitude":"06e6fe90","is_valid_coordinates":true} 
[2026-07-01 08:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416184832001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:46:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333092108422348800,"note":"Value kept but may cause issues"} 
[2026-07-01 08:46:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1094022895375224832,"note":"Value kept but may cause issues"} 
[2026-07-01 08:46:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:46:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782875724000,"timestamp_ms":1782875724000,"timestamp_seconds":1782875724,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bac98e0"} 
[2026-07-01 08:46:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:46:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 08:46:27] 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-01 08:46:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:46:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:46:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:46:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:46:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:46:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:46:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:46:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:46:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:46:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416184832001,"66":27865,"166":206,"80":6400,"24":13,"16":333092108422348800,"45":1094022895375224832},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,80,24,16,45]} 
[2026-07-01 08:46:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:46:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:46:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416184832001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:46:27] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-07-01 08:46:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:46:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333092108422348800,"km_value":333092108422348.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:46:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1094022895375224832,"description":"Unknown IO ID 45"} 
[2026-07-01 08:46:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416184832001,"power":27865,"unknown_166":206,"unknown_80":6400,"ignition":13,"odometer":null,"unknown_45":1094022895375224832}} 
[2026-07-01 08:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":118849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:46:27] local.INFO: GPS data processed {"connection_id":118849,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:46:27] local.INFO: Acknowledgment sent {"connection_id":118849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:46:31] local.INFO: TCP Data received {"connection_id":118847,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 08:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118847,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 08:46:31] local.INFO: Processing buffer {"connection_id":118847,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 08:46:31] local.INFO: IMEI packet received {"connection_id":118847,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 08:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":118847,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:46:58] local.INFO: TCP Data received {"connection_id":118849,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bac9cc8012d0f2ec006e6fff8000d01592e..."} 
[2026-07-01 08:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bac9cc8012d0f2ec006e6fff8000d01592e..."} 
[2026-07-01 08:46:58] local.INFO: Processing buffer {"connection_id":118849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bac9cc8012d0f2ec006e6fff8000d01592e..."} 
[2026-07-01 08:46:58] local.INFO: Packet analysis {"connection_id":118849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bac"} 
[2026-07-01 08:46:58] local.INFO: Extracted packet for processing {"connection_id":118849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bac"} 
[2026-07-01 08:46:58] local.INFO: GPS Element Parsed {"raw_longitude":755969728,"raw_latitude":115802104,"longitude_deg":75.5969728,"latitude_deg":11.5802104,"altitude":13,"angle":345,"satellites":46,"speed":16,"hex_longitude":"2d0f2ec0","hex_latitude":"06e6fff8","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416185344001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:46:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333092125602217984,"note":"Value kept but may cause issues"} 
[2026-07-01 08:46:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1094022895375388672,"note":"Value kept but may cause issues"} 
[2026-07-01 08:46:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:46:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782875725000,"timestamp_ms":1782875725000,"timestamp_seconds":1782875725,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bac9cc8"} 
[2026-07-01 08: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-01 08:46:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 08:46:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08: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-01 08: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-01 08:46:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:46:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:46:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:46:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:46:58] 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-01 08:46:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:46:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:46:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416185344001,"66":27865,"166":206,"80":6400,"24":16,"16":333092125602217984,"45":1094022895375388672},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,80,24,16,45]} 
[2026-07-01 08:46:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:46:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:46:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416185344001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:46:58] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-07-01 08:46:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:46:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333092125602217984,"km_value":333092125602218.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:46:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1094022895375388672,"description":"Unknown IO ID 45"} 
[2026-07-01 08:46:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416185344001,"power":27865,"unknown_166":206,"unknown_80":6400,"ignition":16,"odometer":null,"unknown_45":1094022895375388672}} 
[2026-07-01 08:46:58] local.INFO: DEBUG: GPS processor result {"connection_id":118849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:46:58] local.INFO: GPS data processed {"connection_id":118849,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:46:58] local.INFO: Acknowledgment sent {"connection_id":118849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:46:59] local.INFO: TCP Data received {"connection_id":118848,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1baddd18012d7c2cc005eb24000004013e27..."} 
[2026-07-01 08:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1baddd18012d7c2cc005eb24000004013e27..."} 
[2026-07-01 08:46:59] local.INFO: Processing buffer {"connection_id":118848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1baddd18012d7c2cc005eb24000004013e27..."} 
[2026-07-01 08:46:59] local.INFO: Packet analysis {"connection_id":118848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bad"} 
[2026-07-01 08:46:59] local.INFO: Extracted packet for processing {"connection_id":118848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bad"} 
[2026-07-01 08:46:59] local.INFO: GPS Element Parsed {"raw_longitude":763112640,"raw_latitude":99296256,"longitude_deg":76.311264,"latitude_deg":9.9296256,"altitude":4,"angle":318,"satellites":39,"speed":24,"hex_longitude":"2d7c2cc0","hex_latitude":"05eb2400","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416206336001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101229785006473216,"note":"Value kept but may cause issues"} 
[2026-07-01 08:46:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948230272539826176,"note":"Value kept but may cause issues"} 
[2026-07-01 08:46:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782875807000,"timestamp_ms":1782875807000,"timestamp_seconds":1782875807,"priority":1,"record_length":96,"hex_timestamp":"0000019f1baddd18"} 
[2026-07-01 08: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-01 08:46: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-01 08:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-01 08:46:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-01 08:46:59] local.WARNING: Large IO value detected {"io_id":163,"raw_value":3254779904,"note":"Value kept but may cause issues"} 
[2026-07-01 08:46:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1309278414,"corrected_to":0} 
[2026-07-01 08:46:59] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-01 08:46:59] local.WARNING: Large IO value detected {"io_id":235,"raw_value":538180176968426752,"note":"Value kept but may cause issues"} 
[2026-07-01 08:46:59] local.WARNING: Large IO value detected {"io_id":57,"raw_value":2147871500,"note":"Value kept but may cause issues"} 
[2026-07-01 08:46:59] local.WARNING: Large IO value detected {"io_id":103,"raw_value":2745434112,"note":"Value kept but may cause issues"} 
[2026-07-01 08:46:59] local.WARNING: Large IO value detected {"io_id":79,"raw_value":57788175095846710,"note":"Value kept but may cause issues"} 
[2026-07-01 08:46:59] local.WARNING: Large IO value detected {"io_id":173,"raw_value":-6174433794255486971,"note":"Value kept but may cause issues"} 
[2026-07-01 08:46:59] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,10,87,24,241,157,16,163,159,205,45,27,5,41,66,197,64,22,38,193,128,1,240,215,227,235,4,113,26,178,57,40,239,51,2,103,79,173],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1309278414,"validated":0}]} 
[2026-07-01 08:46:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360650976531972096,"timestamp_seconds":360650976531972.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 08: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-01 08:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:46:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416206336001,"66":12189,"10":206,"87":13824,"24":24,"16":101229785006473216,"45":8948230272539826176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-07-01 08:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416206336001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:46:59] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-01 08:46:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101229785006473216,"km_value":101229785006473.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:46:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948230272539826176,"description":"Unknown IO ID 45"} 
[2026-07-01 08:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416206336001,"power":12189,"unknown_10":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8948230272539826176}} 
[2026-07-01 08:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":118848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416688,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:46:59] local.INFO: GPS data processed {"connection_id":118848,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:46:59] local.INFO: Acknowledgment sent {"connection_id":118848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:47:18] local.INFO: TCP Data received {"connection_id":118964,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118964,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:47:18] local.INFO: Processing buffer {"connection_id":118964,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:47:18] local.INFO: IMEI packet received {"connection_id":118964,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 08:47:18] local.INFO: IMEI acknowledgment sent {"connection_id":118964,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:47:19] local.INFO: TCP Data received {"connection_id":118964,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118964,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:47:19] local.INFO: Processing buffer {"connection_id":118964,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:47:19] local.INFO: IMEI packet received {"connection_id":118964,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":118964,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:47:21] local.INFO: TCP Data received {"connection_id":119621,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:47:21] local.INFO: Processing buffer {"connection_id":119621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:47:21] local.INFO: IMEI packet received {"connection_id":119621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 08:47:21] local.INFO: IMEI acknowledgment sent {"connection_id":119621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:47:21] local.INFO: TCP Data received {"connection_id":119620,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 08:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119620,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 08:47:21] local.INFO: Processing buffer {"connection_id":119620,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 08:47:21] local.INFO: IMEI packet received {"connection_id":119620,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 08:47:21] local.INFO: IMEI acknowledgment sent {"connection_id":119620,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:47:23] local.INFO: TCP Data received {"connection_id":118964,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118964,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:47:23] local.INFO: Processing buffer {"connection_id":118964,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:47:23] local.INFO: IMEI packet received {"connection_id":118964,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:47:23] local.INFO: IMEI acknowledgment sent {"connection_id":118964,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:47:24] local.INFO: TCP Data received {"connection_id":118964,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1badecb8012d7c270005eb2b300004015023..."} 
[2026-07-01 08:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1badecb8012d7c270005eb2b300004015023..."} 
[2026-07-01 08:47:24] local.INFO: Processing buffer {"connection_id":118964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1badecb8012d7c270005eb2b300004015023..."} 
[2026-07-01 08:47:24] local.INFO: Packet analysis {"connection_id":118964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bad"} 
[2026-07-01 08:47:24] local.INFO: Extracted packet for processing {"connection_id":118964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bad"} 
[2026-07-01 08:47:24] local.INFO: GPS Element Parsed {"raw_longitude":763111168,"raw_latitude":99298096,"longitude_deg":76.3111168,"latitude_deg":9.9298096,"altitude":4,"angle":336,"satellites":35,"speed":21,"hex_longitude":"2d7c2700","hex_latitude":"05eb2b30","is_valid_coordinates":true} 
[2026-07-01 08:47:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:47:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416206592001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:47:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101229900970590208,"note":"Value kept but may cause issues"} 
[2026-07-01 08:47:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947737691330707456,"note":"Value kept but may cause issues"} 
[2026-07-01 08:47:24] 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-01 08:47:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782875811000,"timestamp_ms":1782875811000,"timestamp_seconds":1782875811,"priority":1,"record_length":96,"hex_timestamp":"0000019f1badecb8"} 
[2026-07-01 08:47:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:47: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-01 08:47:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-07-01 08:47:24] 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-01 08:47:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:47:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:47:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:47:24] local.INFO: Teltonika packet parsed successfully {"connection_id":118964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:47:24] local.INFO: Passing IMEI to GPS processor {"connection_id":118964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:47:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":118964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:47:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:47:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:47:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:47:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416206592001,"66":13222,"10":206,"87":13824,"24":21,"16":101229900970590208,"45":8947737691330707456},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-07-01 08:47:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:47:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:47:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416206592001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:47:24] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-01 08:47:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:47:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101229900970590208,"km_value":101229900970590.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:47:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947737691330707456,"description":"Unknown IO ID 45"} 
[2026-07-01 08:47:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416206592001,"power":13222,"unknown_10":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8947737691330707456}} 
[2026-07-01 08:47:24] local.INFO: DEBUG: GPS processor result {"connection_id":118964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416689,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:47:24] local.INFO: GPS data processed {"connection_id":118964,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:47:24] local.INFO: Acknowledgment sent {"connection_id":118964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:47:26] local.INFO: TCP Data received {"connection_id":119621,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:47:26] local.INFO: Processing buffer {"connection_id":119621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:47:26] local.INFO: IMEI packet received {"connection_id":119621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":119621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:47:27] local.INFO: TCP Data received {"connection_id":119621,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1baca498012d0f2d4006e70348000d01472c..."} 
[2026-07-01 08:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1baca498012d0f2d4006e70348000d01472c..."} 
[2026-07-01 08:47:27] local.INFO: Processing buffer {"connection_id":119621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1baca498012d0f2d4006e70348000d01472c..."} 
[2026-07-01 08:47:27] local.INFO: Packet analysis {"connection_id":119621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bac"} 
[2026-07-01 08:47:27] local.INFO: Extracted packet for processing {"connection_id":119621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bac"} 
[2026-07-01 08:47:27] local.INFO: GPS Element Parsed {"raw_longitude":755969344,"raw_latitude":115802952,"longitude_deg":75.5969344,"latitude_deg":11.5802952,"altitude":13,"angle":327,"satellites":44,"speed":20,"hex_longitude":"2d0f2d40","hex_latitude":"06e70348","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:47:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416185600001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:47:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333092168551890944,"note":"Value kept but may cause issues"} 
[2026-07-01 08:47:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1094022895375480832,"note":"Value kept but may cause issues"} 
[2026-07-01 08:47:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:47:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782875727000,"timestamp_ms":1782875727000,"timestamp_seconds":1782875727,"priority":1,"record_length":96,"hex_timestamp":"0000019f1baca498"} 
[2026-07-01 08: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-01 08:47: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-01 08: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 08:47:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08: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-01 08: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-01 08:47:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:47:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:47:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:47:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:47:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:47:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:47:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:47:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416185600001,"66":27321,"166":206,"80":6400,"24":20,"16":333092168551890944,"45":1094022895375480832},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,80,24,16,45]} 
[2026-07-01 08:47:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:47:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:47:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416185600001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:47:28] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-07-01 08:47:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:47:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333092168551890944,"km_value":333092168551890.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:47:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1094022895375480832,"description":"Unknown IO ID 45"} 
[2026-07-01 08:47:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416185600001,"power":27321,"unknown_166":206,"unknown_80":6400,"ignition":20,"odometer":null,"unknown_45":1094022895375480832}} 
[2026-07-01 08:47:28] local.INFO: DEBUG: GPS processor result {"connection_id":119621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:47:28] local.INFO: GPS data processed {"connection_id":119621,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:47:28] local.INFO: Acknowledgment sent {"connection_id":119621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:47:59] local.INFO: TCP Data received {"connection_id":119621,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bacac68012d0f2a4006e706d0000d013c2d..."} 
[2026-07-01 08:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bacac68012d0f2a4006e706d0000d013c2d..."} 
[2026-07-01 08:47:59] local.INFO: Processing buffer {"connection_id":119621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bacac68012d0f2a4006e706d0000d013c2d..."} 
[2026-07-01 08:47:59] local.INFO: Packet analysis {"connection_id":119621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bac"} 
[2026-07-01 08:47:59] local.INFO: Extracted packet for processing {"connection_id":119621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bac"} 
[2026-07-01 08:47:59] local.INFO: GPS Element Parsed {"raw_longitude":755968576,"raw_latitude":115803856,"longitude_deg":75.5968576,"latitude_deg":11.5803856,"altitude":13,"angle":316,"satellites":45,"speed":25,"hex_longitude":"2d0f2a40","hex_latitude":"06e706d0","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416186112001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333092228681433088,"note":"Value kept but may cause issues"} 
[2026-07-01 08:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1093600682910631936,"note":"Value kept but may cause issues"} 
[2026-07-01 08:47:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782875729000,"timestamp_ms":1782875729000,"timestamp_seconds":1782875729,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bacac68"} 
[2026-07-01 08:47:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:47:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-01 08:47:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:47:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:47:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:47:59] 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-01 08:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416186112001,"66":27593,"166":206,"80":6400,"24":25,"16":333092228681433088,"45":1093600682910631936},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,80,24,16,45]} 
[2026-07-01 08:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416186112001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:47:59] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-07-01 08:47:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333092228681433088,"km_value":333092228681433.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1093600682910631936,"description":"Unknown IO ID 45"} 
[2026-07-01 08:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416186112001,"power":27593,"unknown_166":206,"unknown_80":6400,"ignition":25,"odometer":null,"unknown_45":1093600682910631936}} 
[2026-07-01 08:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":119621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:47:59] local.INFO: GPS data processed {"connection_id":119621,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:47:59] local.INFO: Acknowledgment sent {"connection_id":119621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:48:15] local.INFO: TCP Data received {"connection_id":118964,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1badf0a0012d7c268005eb2d600003015d26..."} 
[2026-07-01 08:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1badf0a0012d7c268005eb2d600003015d26..."} 
[2026-07-01 08:48:15] local.INFO: Processing buffer {"connection_id":118964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1badf0a0012d7c268005eb2d600003015d26..."} 
[2026-07-01 08:48:15] local.INFO: Packet analysis {"connection_id":118964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bad"} 
[2026-07-01 08:48:15] local.INFO: Extracted packet for processing {"connection_id":118964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bad"} 
[2026-07-01 08:48:15] local.INFO: GPS Element Parsed {"raw_longitude":763111040,"raw_latitude":99298656,"longitude_deg":76.311104,"latitude_deg":9.9298656,"altitude":3,"angle":349,"satellites":38,"speed":22,"hex_longitude":"2d7c2680","hex_latitude":"05eb2d60","is_valid_coordinates":true} 
[2026-07-01 08:48:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:48:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416207616001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:48:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101229926740393984,"note":"Value kept but may cause issues"} 
[2026-07-01 08:48:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946119210215092224,"note":"Value kept but may cause issues"} 
[2026-07-01 08:48:15] 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-01 08:48:15] local.INFO: AVL Record Parsed {"raw_timestamp":1782875812000,"timestamp_ms":1782875812000,"timestamp_seconds":1782875812,"priority":1,"record_length":96,"hex_timestamp":"0000019f1badf0a0"} 
[2026-07-01 08: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-01 08:48:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08: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":166,"data_length":795,"current_offset":136} 
[2026-07-01 08:48:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08: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-01 08: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-01 08:48:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:48:15] local.INFO: Teltonika packet parsed successfully {"connection_id":118964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:48:15] local.INFO: Passing IMEI to GPS processor {"connection_id":118964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:48:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":118964,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:48:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:48:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:48:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:48:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416207616001,"66":13222,"10":206,"87":13824,"24":22,"16":101229926740393984,"45":8946119210215092224},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-07-01 08:48:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:48:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:48:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416207616001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:48:15] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-01 08:48:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:48:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101229926740393984,"km_value":101229926740393.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:48:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946119210215092224,"description":"Unknown IO ID 45"} 
[2026-07-01 08:48:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416207616001,"power":13222,"unknown_10":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8946119210215092224}} 
[2026-07-01 08:48:15] local.INFO: DEBUG: GPS processor result {"connection_id":118964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416692,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:48:15] local.INFO: GPS data processed {"connection_id":118964,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:48:15] local.INFO: Acknowledgment sent {"connection_id":118964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:48:21] local.INFO: TCP Data received {"connection_id":120722,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:48:21] local.INFO: Processing buffer {"connection_id":120722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:48:21] local.INFO: IMEI packet received {"connection_id":120722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 08:48:21] local.INFO: IMEI acknowledgment sent {"connection_id":120722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:48:25] local.INFO: TCP Data received {"connection_id":119622,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119622,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:48:25] local.INFO: Processing buffer {"connection_id":119622,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:48:25] local.INFO: IMEI packet received {"connection_id":119622,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 08:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":119622,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:48:26] local.INFO: TCP Data received {"connection_id":120722,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:48:26] local.INFO: Processing buffer {"connection_id":120722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:48:26] local.INFO: IMEI packet received {"connection_id":120722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":120722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:48:27] local.INFO: TCP Data received {"connection_id":120722,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bacd760012d0f118006e72200000c01402d..."} 
[2026-07-01 08:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bacd760012d0f118006e72200000c01402d..."} 
[2026-07-01 08:48:27] local.INFO: Processing buffer {"connection_id":120722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bacd760012d0f118006e72200000c01402d..."} 
[2026-07-01 08:48:27] local.INFO: Packet analysis {"connection_id":120722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bac"} 
[2026-07-01 08:48:27] local.INFO: Extracted packet for processing {"connection_id":120722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bac"} 
[2026-07-01 08:48:27] local.INFO: GPS Element Parsed {"raw_longitude":755962240,"raw_latitude":115810816,"longitude_deg":75.596224,"latitude_deg":11.5810816,"altitude":12,"angle":320,"satellites":45,"speed":43,"hex_longitude":"2d0f1180","hex_latitude":"06e72200","is_valid_coordinates":true} 
[2026-07-01 08:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:48:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416186624001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:48:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333092679652999168,"note":"Value kept but may cause issues"} 
[2026-07-01 08:48:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1092756257980731392,"note":"Value kept but may cause issues"} 
[2026-07-01 08:48:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:48:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782875740000,"timestamp_ms":1782875740000,"timestamp_seconds":1782875740,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bacd760"} 
[2026-07-01 08:48:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:48:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-01 08:48:27] 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-01 08:48:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:48:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:48:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:48:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:48:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:48:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:48:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:48:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:48:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:48:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416186624001,"66":27865,"166":206,"80":6400,"24":43,"16":333092679652999168,"45":1092756257980731392},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,80,24,16,45]} 
[2026-07-01 08:48:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:48:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:48:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416186624001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:48:27] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-07-01 08:48:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:48:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333092679652999168,"km_value":333092679652999.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:48:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1092756257980731392,"description":"Unknown IO ID 45"} 
[2026-07-01 08:48:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416186624001,"power":27865,"unknown_166":206,"unknown_80":6400,"ignition":43,"odometer":null,"unknown_45":1092756257980731392}} 
[2026-07-01 08:48:27] local.INFO: DEBUG: GPS processor result {"connection_id":120722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:48:27] local.INFO: GPS data processed {"connection_id":120722,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:48:27] local.INFO: Acknowledgment sent {"connection_id":120722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:48:28] local.INFO: TCP Data received {"connection_id":119622,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119622,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:48:28] local.INFO: Processing buffer {"connection_id":119622,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:48:28] local.INFO: IMEI packet received {"connection_id":119622,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:48:28] local.INFO: IMEI acknowledgment sent {"connection_id":119622,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:48:28] local.INFO: TCP Data received {"connection_id":119622,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119622,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:48:28] local.INFO: Processing buffer {"connection_id":119622,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:48:28] local.INFO: IMEI packet received {"connection_id":119622,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:48:28] local.INFO: IMEI acknowledgment sent {"connection_id":119622,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:48:30] local.INFO: TCP Data received {"connection_id":119622,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bae2368012d7c248005eb50c80002016227..."} 
[2026-07-01 08:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bae2368012d7c248005eb50c80002016227..."} 
[2026-07-01 08:48:30] local.INFO: Processing buffer {"connection_id":119622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bae2368012d7c248005eb50c80002016227..."} 
[2026-07-01 08:48:30] local.INFO: Packet analysis {"connection_id":119622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bae"} 
[2026-07-01 08:48:30] local.INFO: Extracted packet for processing {"connection_id":119622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bae"} 
[2026-07-01 08:48:30] local.INFO: GPS Element Parsed {"raw_longitude":763110528,"raw_latitude":99307720,"longitude_deg":76.3110528,"latitude_deg":9.930772,"altitude":2,"angle":354,"satellites":39,"speed":26,"hex_longitude":"2d7c2480","hex_latitude":"05eb50c8","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416207872001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101230369122025472,"note":"Value kept but may cause issues"} 
[2026-07-01 08:48:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945978472726880256,"note":"Value kept but may cause issues"} 
[2026-07-01 08:48:30] 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-01 08:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782875825000,"timestamp_ms":1782875825000,"timestamp_seconds":1782875825,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bae2368"} 
[2026-07-01 08: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-01 08:48:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-01 08:48:30] 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-01 08: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-01 08: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-01 08:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":119622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":119622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":119622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:48:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416207872001,"66":13319,"10":206,"87":13824,"24":26,"16":101230369122025472,"45":8945978472726880256},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-07-01 08:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416207872001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:48:30] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-01 08:48:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101230369122025472,"km_value":101230369122025.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:48:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945978472726880256,"description":"Unknown IO ID 45"} 
[2026-07-01 08:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416207872001,"power":13319,"unknown_10":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8945978472726880256}} 
[2026-07-01 08:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":119622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416694,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:48:30] local.INFO: GPS data processed {"connection_id":119622,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:48:30] local.INFO: Acknowledgment sent {"connection_id":119622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:48:35] local.INFO: TCP Data received {"connection_id":119622,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bae5630012d7c1e4005eb75400000015b27..."} 
[2026-07-01 08:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bae5630012d7c1e4005eb75400000015b27..."} 
[2026-07-01 08:48:35] local.INFO: Processing buffer {"connection_id":119622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bae5630012d7c1e4005eb75400000015b27..."} 
[2026-07-01 08:48:35] local.INFO: Packet analysis {"connection_id":119622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bae"} 
[2026-07-01 08:48:35] local.INFO: Extracted packet for processing {"connection_id":119622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bae"} 
[2026-07-01 08:48:35] local.INFO: GPS Element Parsed {"raw_longitude":763108928,"raw_latitude":99317056,"longitude_deg":76.3108928,"latitude_deg":9.9317056,"altitude":0,"angle":347,"satellites":39,"speed":26,"hex_longitude":"2d7c1e40","hex_latitude":"05eb7540","is_valid_coordinates":true} 
[2026-07-01 08:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416211200001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101230828683526144,"note":"Value kept but may cause issues"} 
[2026-07-01 08:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945415522775779328,"note":"Value kept but may cause issues"} 
[2026-07-01 08:48: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-01 08:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782875838000,"timestamp_ms":1782875838000,"timestamp_seconds":1782875838,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bae5630"} 
[2026-07-01 08:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:48:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-01 08:48:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-01 08:48:35] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-07-01 08:48:35] local.WARNING: Large IO value detected {"io_id":163,"raw_value":4093640704,"note":"Value kept but may cause issues"} 
[2026-07-01 08:48:35] local.WARNING: Large IO value detected {"io_id":27,"raw_value":2916691969,"note":"Value kept but may cause issues"} 
[2026-07-01 08:48:35] local.WARNING: Large IO value detected {"io_id":235,"raw_value":1434396507108812288,"note":"Value kept but may cause issues"} 
[2026-07-01 08:48:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2013343100,"corrected_to":0} 
[2026-07-01 08:48:35] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3691040078,"note":"Value kept but may cause issues"} 
[2026-07-01 08:48:35] local.WARNING: Large IO value detected {"io_id":103,"raw_value":2748841984,"note":"Value kept but may cause issues"} 
[2026-07-01 08:48:35] local.WARNING: Large IO value detected {"io_id":215,"raw_value":57788175095846710,"note":"Value kept but may cause issues"} 
[2026-07-01 08:48:35] local.WARNING: Large IO value detected {"io_id":173,"raw_value":-4485583933992173563,"note":"Value kept but may cause issues"} 
[2026-07-01 08:48:35] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,10,87,24,241,157,16,164,159,240,45,128,3,38,66,236,43,4,35,221,192,1,227,163,27,235,113,205,22,48,64,41,239,51,2,103,5,26,215,173],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2013343100,"validated":0}]} 
[2026-07-01 08:48:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144504582697517056,"timestamp_seconds":144504582697517.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 08:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":119622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":119622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":119622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416211200001,"66":13406,"10":206,"87":13824,"24":26,"16":101230828683526144,"45":8945415522775779328},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-07-01 08:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416211200001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:48:35] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-01 08:48:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101230828683526144,"km_value":101230828683526.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945415522775779328,"description":"Unknown IO ID 45"} 
[2026-07-01 08:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416211200001,"power":13406,"unknown_10":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8945415522775779328}} 
[2026-07-01 08:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":119622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416695,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:48:35] local.INFO: GPS data processed {"connection_id":119622,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:48:35] local.INFO: Acknowledgment sent {"connection_id":119622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:48:59] local.INFO: TCP Data received {"connection_id":120722,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bae8ce0012d0e834006e7bef8000301632f..."} 
[2026-07-01 08:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bae8ce0012d0e834006e7bef8000301632f..."} 
[2026-07-01 08:48:59] local.INFO: Processing buffer {"connection_id":120722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bae8ce0012d0e834006e7bef8000301632f..."} 
[2026-07-01 08:48:59] local.INFO: Packet analysis {"connection_id":120722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bae"} 
[2026-07-01 08:48:59] local.INFO: Extracted packet for processing {"connection_id":120722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bae"} 
[2026-07-01 08:48:59] local.INFO: GPS Element Parsed {"raw_longitude":755925824,"raw_latitude":115851000,"longitude_deg":75.5925824,"latitude_deg":11.5851,"altitude":3,"angle":355,"satellites":47,"speed":7,"hex_longitude":"2d0e8340","hex_latitude":"06e7bef8","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416214784001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333095329647820800,"note":"Value kept but may cause issues"} 
[2026-07-01 08:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1046172149346594816,"note":"Value kept but may cause issues"} 
[2026-07-01 08:48:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782875852000,"timestamp_ms":1782875852000,"timestamp_seconds":1782875852,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bae8ce0"} 
[2026-07-01 08: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-01 08:48:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 08:48:59] 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-01 08: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-01 08: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-01 08:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":120722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":120722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":120722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:48:59] 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-01 08:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416214784001,"66":27995,"177":206,"80":6400,"24":7,"16":333095329647820800,"45":1046172149346594816},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,80,24,16,45]} 
[2026-07-01 08:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416214784001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:48:59] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-01 08:48:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333095329647820800,"km_value":333095329647820.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1046172149346594816,"description":"Unknown IO ID 45"} 
[2026-07-01 08:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416214784001,"power":27995,"unknown_177":206,"unknown_80":6400,"ignition":7,"odometer":null,"unknown_45":1046172149346594816}} 
[2026-07-01 08:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":120722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:48:59] local.INFO: GPS data processed {"connection_id":120722,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:48:59] local.INFO: Acknowledgment sent {"connection_id":120722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:49:22] local.INFO: TCP Data received {"connection_id":120724,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:49:22] local.INFO: Processing buffer {"connection_id":120724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:49:22] local.INFO: IMEI packet received {"connection_id":120724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 08:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":120724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:49:24] local.INFO: TCP Data received {"connection_id":120723,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120723,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:49:24] local.INFO: Processing buffer {"connection_id":120723,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:49:24] local.INFO: IMEI packet received {"connection_id":120723,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 08:49:24] local.INFO: IMEI acknowledgment sent {"connection_id":120723,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:49:26] local.INFO: TCP Data received {"connection_id":120724,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:49:26] local.INFO: Processing buffer {"connection_id":120724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:49:26] local.INFO: IMEI packet received {"connection_id":120724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":120724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:49:27] local.INFO: TCP Data received {"connection_id":120724,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:49:27] local.INFO: Processing buffer {"connection_id":120724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:49:27] local.INFO: IMEI packet received {"connection_id":120724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":120724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:49:28] local.INFO: TCP Data received {"connection_id":120723,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120723,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:49:28] local.INFO: Processing buffer {"connection_id":120723,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:49:28] local.INFO: IMEI packet received {"connection_id":120723,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":120723,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:49:28] local.INFO: TCP Data received {"connection_id":120724,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1baedee8012d0e7fc006e7cfd00004015a2f..."} 
[2026-07-01 08:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1baedee8012d0e7fc006e7cfd00004015a2f..."} 
[2026-07-01 08:49:28] local.INFO: Processing buffer {"connection_id":120724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1baedee8012d0e7fc006e7cfd00004015a2f..."} 
[2026-07-01 08:49:28] local.INFO: Packet analysis {"connection_id":120724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bae"} 
[2026-07-01 08:49:28] local.INFO: Extracted packet for processing {"connection_id":120724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bae"} 
[2026-07-01 08:49:28] local.INFO: GPS Element Parsed {"raw_longitude":755924928,"raw_latitude":115855312,"longitude_deg":75.5924928,"latitude_deg":11.5855312,"altitude":4,"angle":346,"satellites":47,"speed":8,"hex_longitude":"2d0e7fc0","hex_latitude":"06e7cfd0","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:49:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416218112001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:49:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333095548691152896,"note":"Value kept but may cause issues"} 
[2026-07-01 08:49:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1045749936882120704,"note":"Value kept but may cause issues"} 
[2026-07-01 08:49:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:49:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782875873000,"timestamp_ms":1782875873000,"timestamp_seconds":1782875873,"priority":1,"record_length":96,"hex_timestamp":"0000019f1baedee8"} 
[2026-07-01 08: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-01 08:49: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-01 08: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-01 08:49:28] 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-01 08: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-01 08: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-01 08:49:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:49:28] local.INFO: Teltonika packet parsed successfully {"connection_id":120724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:49:28] local.INFO: Passing IMEI to GPS processor {"connection_id":120724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:49:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":120724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:49:28] 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-01 08:49:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:49:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:49:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416218112001,"66":28006,"177":206,"80":6400,"24":8,"16":333095548691152896,"45":1045749936882120704},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,80,24,16,45]} 
[2026-07-01 08:49:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:49:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:49:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416218112001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:49:28] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-01 08:49:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:49:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333095548691152896,"km_value":333095548691152.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:49:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1045749936882120704,"description":"Unknown IO ID 45"} 
[2026-07-01 08:49:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416218112001,"power":28006,"unknown_177":206,"unknown_80":6400,"ignition":8,"odometer":null,"unknown_45":1045749936882120704}} 
[2026-07-01 08:49:28] local.INFO: DEBUG: GPS processor result {"connection_id":120724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:49:28] local.INFO: GPS data processed {"connection_id":120724,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:49:28] local.INFO: Acknowledgment sent {"connection_id":120724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:49:28] local.INFO: TCP Data received {"connection_id":120723,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bafd500012d7be4c005ec35e00000002e2a..."} 
[2026-07-01 08:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bafd500012d7be4c005ec35e00000002e2a..."} 
[2026-07-01 08:49:28] local.INFO: Processing buffer {"connection_id":120723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bafd500012d7be4c005ec35e00000002e2a..."} 
[2026-07-01 08:49:28] local.INFO: Packet analysis {"connection_id":120723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1baf"} 
[2026-07-01 08:49:28] local.INFO: Extracted packet for processing {"connection_id":120723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1baf"} 
[2026-07-01 08:49:28] local.INFO: GPS Element Parsed {"raw_longitude":763094208,"raw_latitude":99366368,"longitude_deg":76.3094208,"latitude_deg":9.9366368,"altitude":0,"angle":46,"satellites":42,"speed":11,"hex_longitude":"2d7be4c0","hex_latitude":"05ec35e0","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:49:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416239360001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:49:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101233349829328896,"note":"Value kept but may cause issues"} 
[2026-07-01 08:49:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927260386792902656,"note":"Value kept but may cause issues"} 
[2026-07-01 08:49:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:49:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782875936000,"timestamp_ms":1782875936000,"timestamp_seconds":1782875936,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bafd500"} 
[2026-07-01 08: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-01 08:49:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-01 08:49:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-01 08:49:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1439039694,"corrected_to":0} 
[2026-07-01 08:49:28] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788848,"note":"Value kept but may cause issues"} 
[2026-07-01 08:49:28] local.WARNING: Large IO value detected {"io_id":27,"raw_value":2946131969,"note":"Value kept but may cause issues"} 
[2026-07-01 08:49:28] local.WARNING: Large IO value detected {"io_id":237,"raw_value":3221613602,"note":"Value kept but may cause issues"} 
[2026-07-01 08:49:28] local.WARNING: Large IO value detected {"io_id":103,"raw_value":2800877568,"note":"Value kept but may cause issues"} 
[2026-07-01 08:49:28] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3959468032,"note":"Value kept but may cause issues"} 
[2026-07-01 08:49:28] local.WARNING: Large IO value detected {"io_id":238,"raw_value":57796679131092790,"note":"Value kept but may cause issues"} 
[2026-07-01 08:49:28] local.WARNING: Large IO value detected {"io_id":175,"raw_value":2400419896253661189,"note":"Value kept but may cause issues"} 
[2026-07-01 08:49:28] local.WARNING: Large IO value detected {"io_id":235,"raw_value":-2501749592981034752,"note":"Value kept but may cause issues"} 
[2026-07-01 08:49:28] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,198,87,24,241,157,16,167,159,205,45,52,40,10,66,201,51,173,192,1,240,7,227,27,236,4,113,21,154,237,176,239,2,103,5,22,238,175,235],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1439039694,"validated":0}]} 
[2026-07-01 08:49:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":22166326804480,"timestamp_seconds":22166326804.48,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 08: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-01 08:49:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:49:28] local.INFO: Teltonika packet parsed successfully {"connection_id":120723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:49:28] local.INFO: Passing IMEI to GPS processor {"connection_id":120723,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:49:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":120723,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:49:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:49:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:49:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:49:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416239360001,"66":13319,"198":206,"87":13824,"24":11,"16":101233349829328896,"45":8927260386792902656},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-01 08:49:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:49:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:49:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416239360001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:49:28] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-01 08:49:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:49:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101233349829328896,"km_value":101233349829328.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:49:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927260386792902656,"description":"Unknown IO ID 45"} 
[2026-07-01 08:49:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416239360001,"power":13319,"unknown_198":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8927260386792902656}} 
[2026-07-01 08:49:28] local.INFO: DEBUG: GPS processor result {"connection_id":120723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416698,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:49:28] local.INFO: GPS data processed {"connection_id":120723,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:49:28] local.INFO: Acknowledgment sent {"connection_id":120723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:49:29] local.INFO: TCP Data received {"connection_id":120723,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bafd8e8012d7be5c005ec36a8000000402a..."} 
[2026-07-01 08:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bafd8e8012d7be5c005ec36a8000000402a..."} 
[2026-07-01 08:49:29] local.INFO: Processing buffer {"connection_id":120723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bafd8e8012d7be5c005ec36a8000000402a..."} 
[2026-07-01 08:49:29] local.INFO: Packet analysis {"connection_id":120723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1baf"} 
[2026-07-01 08:49:29] local.INFO: Extracted packet for processing {"connection_id":120723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1baf"} 
[2026-07-01 08:49:29] local.INFO: GPS Element Parsed {"raw_longitude":763094464,"raw_latitude":99366568,"longitude_deg":76.3094464,"latitude_deg":9.9366568,"altitude":0,"angle":64,"satellites":42,"speed":14,"hex_longitude":"2d7be5c0","hex_latitude":"05ec36a8","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416239616001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101233367009198080,"note":"Value kept but may cause issues"} 
[2026-07-01 08:49:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927471493025488896,"note":"Value kept but may cause issues"} 
[2026-07-01 08:49: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-01 08:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782875937000,"timestamp_ms":1782875937000,"timestamp_seconds":1782875937,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bafd8e8"} 
[2026-07-01 08: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-01 08:49:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-01 08:49:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-01 08:49:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1439039694,"corrected_to":0} 
[2026-07-01 08:49:29] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-01 08:49:29] local.WARNING: Large IO value detected {"io_id":27,"raw_value":2947411969,"note":"Value kept but may cause issues"} 
[2026-07-01 08:49:29] local.WARNING: Large IO value detected {"io_id":236,"raw_value":49539595924152832,"note":"Value kept but may cause issues"} 
[2026-07-01 08:49:29] local.WARNING: Large IO value detected {"io_id":237,"raw_value":3221613602,"note":"Value kept but may cause issues"} 
[2026-07-01 08:49:29] local.WARNING: Large IO value detected {"io_id":103,"raw_value":2800877568,"note":"Value kept but may cause issues"} 
[2026-07-01 08:49:29] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3961696256,"note":"Value kept but may cause issues"} 
[2026-07-01 08:49:29] local.WARNING: Large IO value detected {"io_id":79,"raw_value":57796679131092790,"note":"Value kept but may cause issues"} 
[2026-07-01 08:49:29] local.WARNING: Large IO value detected {"io_id":175,"raw_value":6904019523623763973,"note":"Value kept but may cause issues"} 
[2026-07-01 08:49:29] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,198,87,24,241,157,16,167,159,209,45,53,41,10,66,205,52,40,201,1,240,68,227,27,236,4,113,154,237,176,239,51,2,103,5,21,79,175],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1439039694,"validated":0}]} 
[2026-07-01 08:49:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":50757924225024,"timestamp_seconds":50757924225.024,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 08: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-01 08:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":120723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":120723,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":120723,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:49:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416239616001,"66":13135,"198":206,"87":13824,"24":14,"16":101233367009198080,"45":8927471493025488896},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-01 08:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416239616001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:49:29] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-01 08:49:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101233367009198080,"km_value":101233367009198.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:49:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927471493025488896,"description":"Unknown IO ID 45"} 
[2026-07-01 08:49:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416239616001,"power":13135,"unknown_198":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8927471493025488896}} 
[2026-07-01 08:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":120723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416699,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:49:29] local.INFO: GPS data processed {"connection_id":120723,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:49:29] local.INFO: Acknowledgment sent {"connection_id":120723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:49:59] local.INFO: TCP Data received {"connection_id":120724,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1baf30f0012d0e7c0006e7dcc00006015f2f..."} 
[2026-07-01 08:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1baf30f0012d0e7c0006e7dcc00006015f2f..."} 
[2026-07-01 08:49:59] local.INFO: Processing buffer {"connection_id":120724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1baf30f0012d0e7c0006e7dcc00006015f2f..."} 
[2026-07-01 08:49:59] local.INFO: Packet analysis {"connection_id":120724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1baf"} 
[2026-07-01 08:49:59] local.INFO: Extracted packet for processing {"connection_id":120724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1baf"} 
[2026-07-01 08:49:59] local.INFO: GPS Element Parsed {"raw_longitude":755923968,"raw_latitude":115858624,"longitude_deg":75.5923968,"latitude_deg":11.5858624,"altitude":6,"angle":351,"satellites":47,"speed":4,"hex_longitude":"2d0e7c00","hex_latitude":"06e7dcc0","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416223488001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333095720489844736,"note":"Value kept but may cause issues"} 
[2026-07-01 08:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1044764774464737280,"note":"Value kept but may cause issues"} 
[2026-07-01 08:49:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782875894000,"timestamp_ms":1782875894000,"timestamp_seconds":1782875894,"priority":1,"record_length":96,"hex_timestamp":"0000019f1baf30f0"} 
[2026-07-01 08: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-01 08:49:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-01 08:49:59] 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-01 08: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-01 08: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-01 08:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":120724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":120724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":120724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:49:59] 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-01 08:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416223488001,"66":27919,"177":206,"80":6400,"24":4,"16":333095720489844736,"45":1044764774464737280},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,80,24,16,45]} 
[2026-07-01 08:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416223488001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:49:59] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-01 08:49:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333095720489844736,"km_value":333095720489844.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1044764774464737280,"description":"Unknown IO ID 45"} 
[2026-07-01 08:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416223488001,"power":27919,"unknown_177":206,"unknown_80":6400,"ignition":4,"odometer":null,"unknown_45":1044764774464737280}} 
[2026-07-01 08:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":120724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:49:59] local.INFO: GPS data processed {"connection_id":120724,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:49:59] local.INFO: Acknowledgment sent {"connection_id":120724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:50:01] local.INFO: TCP Data received {"connection_id":120723,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bafdcd0012d7be70005ec3700000000522a..."} 
[2026-07-01 08:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bafdcd0012d7be70005ec3700000000522a..."} 
[2026-07-01 08:50:01] local.INFO: Processing buffer {"connection_id":120723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bafdcd0012d7be70005ec3700000000522a..."} 
[2026-07-01 08:50:01] local.INFO: Packet analysis {"connection_id":120723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1baf"} 
[2026-07-01 08:50:01] local.INFO: Extracted packet for processing {"connection_id":120723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1baf"} 
[2026-07-01 08:50:01] local.INFO: GPS Element Parsed {"raw_longitude":763094784,"raw_latitude":99366656,"longitude_deg":76.3094784,"latitude_deg":9.9366656,"altitude":0,"angle":82,"satellites":42,"speed":15,"hex_longitude":"2d7be700","hex_latitude":"05ec3700","is_valid_coordinates":true} 
[2026-07-01 08:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416239872001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101233384189067264,"note":"Value kept but may cause issues"} 
[2026-07-01 08:50:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927752968002250752,"note":"Value kept but may cause issues"} 
[2026-07-01 08:50:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782875938000,"timestamp_ms":1782875938000,"timestamp_seconds":1782875938,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bafdcd0"} 
[2026-07-01 08:50:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:50:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-01 08:50:01] 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-01 08:50:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:50:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":120723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":120723,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":120723,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:50:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416239872001,"66":13135,"198":206,"87":13824,"24":15,"16":101233384189067264,"45":8927752968002250752},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-01 08:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416239872001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:50:01] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-01 08:50:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101233384189067264,"km_value":101233384189067.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:50:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927752968002250752,"description":"Unknown IO ID 45"} 
[2026-07-01 08:50:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416239872001,"power":13135,"unknown_198":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8927752968002250752}} 
[2026-07-01 08:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":120723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416701,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:50:01] local.INFO: GPS data processed {"connection_id":120723,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:50:01] local.INFO: Acknowledgment sent {"connection_id":120723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:50:19] local.INFO: TCP Data received {"connection_id":118966,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118966,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:50:19] local.INFO: Processing buffer {"connection_id":118966,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:50:19] local.INFO: IMEI packet received {"connection_id":118966,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 08:50:19] local.INFO: IMEI acknowledgment sent {"connection_id":118966,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:50:21] local.INFO: TCP Data received {"connection_id":119623,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:50:21] local.INFO: Processing buffer {"connection_id":119623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:50:21] local.INFO: IMEI packet received {"connection_id":119623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 08:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":119623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:50:23] local.INFO: TCP Data received {"connection_id":118966,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118966,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:50:24] local.INFO: Processing buffer {"connection_id":118966,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:50:24] local.INFO: IMEI packet received {"connection_id":118966,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":118966,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:50:24] local.INFO: TCP Data received {"connection_id":118966,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bb02320012d7c0d8005ec38700000005824..."} 
[2026-07-01 08:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bb02320012d7c0d8005ec38700000005824..."} 
[2026-07-01 08:50:24] local.INFO: Processing buffer {"connection_id":118966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bb02320012d7c0d8005ec38700000005824..."} 
[2026-07-01 08:50:24] local.INFO: Packet analysis {"connection_id":118966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bb0"} 
[2026-07-01 08:50:24] local.INFO: Extracted packet for processing {"connection_id":118966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bb0"} 
[2026-07-01 08:50:24] local.INFO: GPS Element Parsed {"raw_longitude":763104640,"raw_latitude":99367024,"longitude_deg":76.310464,"latitude_deg":9.9367024,"altitude":0,"angle":88,"satellites":36,"speed":39,"hex_longitude":"2d7c0d80","hex_latitude":"05ec3870","is_valid_coordinates":true} 
[2026-07-01 08:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416240128001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101233852340502528,"note":"Value kept but may cause issues"} 
[2026-07-01 08:50:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928104811723161600,"note":"Value kept but may cause issues"} 
[2026-07-01 08:50:24] 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-01 08:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782875956000,"timestamp_ms":1782875956000,"timestamp_seconds":1782875956,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bb02320"} 
[2026-07-01 08:50:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:50: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-01 08:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-01 08:50: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-01 08:50:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:50:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":118966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":118966,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":118966,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:50:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416240128001,"66":13319,"198":206,"87":13824,"24":39,"16":101233852340502528,"45":8928104811723161600},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-01 08:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416240128001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:50:24] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-01 08:50:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101233852340502528,"km_value":101233852340502.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:50:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928104811723161600,"description":"Unknown IO ID 45"} 
[2026-07-01 08:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416240128001,"power":13319,"unknown_198":206,"unknown_87":13824,"ignition":39,"odometer":null,"unknown_45":8928104811723161600}} 
[2026-07-01 08:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":118966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416702,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:50:25] local.INFO: GPS data processed {"connection_id":118966,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:50:25] local.INFO: Acknowledgment sent {"connection_id":118966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:50:26] local.INFO: TCP Data received {"connection_id":119623,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:50:26] local.INFO: Processing buffer {"connection_id":119623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:50:26] local.INFO: IMEI packet received {"connection_id":119623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":119623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:50:27] local.INFO: TCP Data received {"connection_id":119623,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1baf5be8012d0e7a8006e7e498000800022f..."} 
[2026-07-01 08:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1baf5be8012d0e7a8006e7e498000800022f..."} 
[2026-07-01 08:50:27] local.INFO: Processing buffer {"connection_id":119623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1baf5be8012d0e7a8006e7e498000800022f..."} 
[2026-07-01 08:50:27] local.INFO: Packet analysis {"connection_id":119623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1baf"} 
[2026-07-01 08:50:27] local.INFO: Extracted packet for processing {"connection_id":119623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1baf"} 
[2026-07-01 08:50:27] local.INFO: GPS Element Parsed {"raw_longitude":755923584,"raw_latitude":115860632,"longitude_deg":75.5923584,"latitude_deg":11.5860632,"altitude":8,"angle":2,"satellites":47,"speed":8,"hex_longitude":"2d0e7a80","hex_latitude":"06e7e498","is_valid_coordinates":true} 
[2026-07-01 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-01 08:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416228864001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333095819274092544,"note":"Value kept but may cause issues"} 
[2026-07-01 08:50:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1043709243302920192,"note":"Value kept but may cause issues"} 
[2026-07-01 08:50:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782875905000,"timestamp_ms":1782875905000,"timestamp_seconds":1782875905,"priority":1,"record_length":96,"hex_timestamp":"0000019f1baf5be8"} 
[2026-07-01 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-01 08:50:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 08:50:27] 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-01 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-01 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-01 08:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:50:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416228864001,"66":27930,"177":206,"80":6400,"24":8,"16":333095819274092544,"45":1043709243302920192},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,80,24,16,45]} 
[2026-07-01 08:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416228864001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:50:27] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-01 08:50:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333095819274092544,"km_value":333095819274092.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:50:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1043709243302920192,"description":"Unknown IO ID 45"} 
[2026-07-01 08:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416228864001,"power":27930,"unknown_177":206,"unknown_80":6400,"ignition":8,"odometer":null,"unknown_45":1043709243302920192}} 
[2026-07-01 08:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":119623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:50:27] local.INFO: GPS data processed {"connection_id":119623,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:50:27] local.INFO: Acknowledgment sent {"connection_id":119623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:50:56] local.INFO: TCP Data received {"connection_id":118966,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bb04a30012d7c310005ec3a100004005727..."} 
[2026-07-01 08:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bb04a30012d7c310005ec3a100004005727..."} 
[2026-07-01 08:50:56] local.INFO: Processing buffer {"connection_id":118966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bb04a30012d7c310005ec3a100004005727..."} 
[2026-07-01 08:50:56] local.INFO: Packet analysis {"connection_id":118966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bb0"} 
[2026-07-01 08:50:56] local.INFO: Extracted packet for processing {"connection_id":118966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bb0"} 
[2026-07-01 08:50:56] local.INFO: GPS Element Parsed {"raw_longitude":763113728,"raw_latitude":99367440,"longitude_deg":76.3113728,"latitude_deg":9.936744,"altitude":4,"angle":87,"satellites":39,"speed":23,"hex_longitude":"2d7c3100","hex_latitude":"05ec3a10","is_valid_coordinates":true} 
[2026-07-01 08:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416244736001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101234286132199424,"note":"Value kept but may cause issues"} 
[2026-07-01 08:50:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938941598326616064,"note":"Value kept but may cause issues"} 
[2026-07-01 08:50: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-01 08:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782875966000,"timestamp_ms":1782875966000,"timestamp_seconds":1782875966,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bb04a30"} 
[2026-07-01 08:50:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:50:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-01 08:50:56] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-01 08:50:56] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-01 08:50:56] local.WARNING: Large IO value detected {"io_id":27,"raw_value":2949715969,"note":"Value kept but may cause issues"} 
[2026-07-01 08:50:56] local.WARNING: Large IO value detected {"io_id":236,"raw_value":3143512539925915904,"note":"Value kept but may cause issues"} 
[2026-07-01 08:50:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":805383547,"corrected_to":0} 
[2026-07-01 08:50:56] local.WARNING: Large IO value detected {"io_id":103,"raw_value":2804678656,"note":"Value kept but may cause issues"} 
[2026-07-01 08:50:56] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3962785792,"note":"Value kept but may cause issues"} 
[2026-07-01 08:50:56] local.WARNING: Large IO value detected {"io_id":68,"raw_value":57796679131092790,"note":"Value kept but may cause issues"} 
[2026-07-01 08:50:56] local.WARNING: Large IO value detected {"io_id":175,"raw_value":-5913225015873388539,"note":"Value kept but may cause issues"} 
[2026-07-01 08:50:56] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,198,87,24,241,157,16,167,159,220,45,55,42,10,66,216,192,54,213,1,240,7,227,27,236,4,113,205,9,228,40,239,52,2,103,5,8,68,175],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":805383547,"validated":0}]} 
[2026-07-01 08:50:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":96911644622848,"timestamp_seconds":96911644622.848,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 08:50:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":118966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":118966,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":118966,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:50:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416244736001,"66":13091,"198":206,"87":13824,"24":23,"16":101234286132199424,"45":8938941598326616064},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-01 08:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416244736001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:50:56] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-01 08:50:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101234286132199424,"km_value":101234286132199.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:50:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938941598326616064,"description":"Unknown IO ID 45"} 
[2026-07-01 08:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416244736001,"power":13091,"unknown_198":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8938941598326616064}} 
[2026-07-01 08:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":118966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416704,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:50:56] local.INFO: GPS data processed {"connection_id":118966,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:50:56] local.INFO: Acknowledgment sent {"connection_id":118966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:50:59] local.INFO: TCP Data received {"connection_id":119623,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bb0abd8012d0e9b8006e8bf58000700162a..."} 
[2026-07-01 08:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bb0abd8012d0e9b8006e8bf58000700162a..."} 
[2026-07-01 08:50:59] local.INFO: Processing buffer {"connection_id":119623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bb0abd8012d0e9b8006e8bf58000700162a..."} 
[2026-07-01 08:50:59] local.INFO: Packet analysis {"connection_id":119623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bb0"} 
[2026-07-01 08:50:59] local.INFO: Extracted packet for processing {"connection_id":119623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bb0"} 
[2026-07-01 08:50:59] local.INFO: GPS Element Parsed {"raw_longitude":755932032,"raw_latitude":115916632,"longitude_deg":75.5932032,"latitude_deg":11.5916632,"altitude":7,"angle":22,"satellites":42,"speed":11,"hex_longitude":"2d0e9b80","hex_latitude":"06e8bf58","is_valid_coordinates":true} 
[2026-07-01 08:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416250624001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333098641067606016,"note":"Value kept but may cause issues"} 
[2026-07-01 08:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1048916530384801792,"note":"Value kept but may cause issues"} 
[2026-07-01 08:50:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782875991000,"timestamp_ms":1782875991000,"timestamp_seconds":1782875991,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bb0abd8"} 
[2026-07-01 08:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:50:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 08:50:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:50:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:50:59] 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-01 08:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416250624001,"66":27800,"104":206,"80":6400,"24":11,"16":333098641067606016,"45":1048916530384801792},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,80,24,16,45]} 
[2026-07-01 08:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416250624001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:50:59] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-07-01 08:50:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333098641067606016,"km_value":333098641067606.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1048916530384801792,"description":"Unknown IO ID 45"} 
[2026-07-01 08:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416250624001,"power":27800,"unknown_104":206,"unknown_80":6400,"ignition":11,"odometer":null,"unknown_45":1048916530384801792}} 
[2026-07-01 08:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":119623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:50:59] local.INFO: GPS data processed {"connection_id":119623,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:50:59] local.INFO: Acknowledgment sent {"connection_id":119623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:51:19] local.INFO: TCP Data received {"connection_id":120725,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120725,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:51:19] local.INFO: Processing buffer {"connection_id":120725,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:51:19] local.INFO: IMEI packet received {"connection_id":120725,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 08:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":120725,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:51:19] local.INFO: TCP Data received {"connection_id":120726,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:51:19] local.INFO: Processing buffer {"connection_id":120726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:51:19] local.INFO: IMEI packet received {"connection_id":120726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 08:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":120726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:51:19] local.INFO: TCP Data received {"connection_id":120725,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120725,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:51:19] local.INFO: Processing buffer {"connection_id":120725,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:51:19] local.INFO: IMEI packet received {"connection_id":120725,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":120725,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:51:21] local.INFO: TCP Data received {"connection_id":120726,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:51:21] local.INFO: Processing buffer {"connection_id":120726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:51:21] local.INFO: IMEI packet received {"connection_id":120726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":120726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:51:27] local.INFO: TCP Data received {"connection_id":120725,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120725,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:51:27] local.INFO: Processing buffer {"connection_id":120725,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:51:27] local.INFO: IMEI packet received {"connection_id":120725,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":120725,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:51:27] local.INFO: TCP Data received {"connection_id":120726,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:51:27] local.INFO: Processing buffer {"connection_id":120726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:51:27] local.INFO: IMEI packet received {"connection_id":120726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":120726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:51:28] local.INFO: TCP Data received {"connection_id":120725,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bb1ada8012d7d1d8005ec3e98000d00ed29..."} 
[2026-07-01 08:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bb1ada8012d7d1d8005ec3e98000d00ed29..."} 
[2026-07-01 08:51:28] local.INFO: Processing buffer {"connection_id":120725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bb1ada8012d7d1d8005ec3e98000d00ed29..."} 
[2026-07-01 08:51:28] local.INFO: Packet analysis {"connection_id":120725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bb1"} 
[2026-07-01 08:51:28] local.INFO: Extracted packet for processing {"connection_id":120725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bb1"} 
[2026-07-01 08:51:28] local.INFO: GPS Element Parsed {"raw_longitude":763174272,"raw_latitude":99368600,"longitude_deg":76.3174272,"latitude_deg":9.93686,"altitude":13,"angle":237,"satellites":41,"speed":2,"hex_longitude":"2d7d1d80","hex_latitude":"05ec3e98","is_valid_coordinates":true} 
[2026-07-01 08:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416267520001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101237245364666368,"note":"Value kept but may cause issues"} 
[2026-07-01 08:51:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015713898225002496,"note":"Value kept but may cause issues"} 
[2026-07-01 08:51:28] 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-01 08:51:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782876057000,"timestamp_ms":1782876057000,"timestamp_seconds":1782876057,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bb1ada8"} 
[2026-07-01 08:51:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:51:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-01 08:51:28] 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-01 08:51:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:51:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":120725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":120725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":120725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:51:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:51:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:51:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:51:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416267520001,"66":13319,"110":206,"87":13824,"24":2,"16":101237245364666368,"45":9015713898225002496},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 08:51:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:51:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416267520001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:51:28] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 08:51:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101237245364666368,"km_value":101237245364666.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:51:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015713898225002496,"description":"Unknown IO ID 45"} 
[2026-07-01 08:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416267520001,"power":13319,"unknown_110":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":9015713898225002496}} 
[2026-07-01 08:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":120725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416706,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:51:28] local.INFO: GPS data processed {"connection_id":120725,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:51:28] local.INFO: Acknowledgment sent {"connection_id":120725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:51:29] local.INFO: TCP Data received {"connection_id":120726,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bb0ea58012d0ea90006e8e270000700152c..."} 
[2026-07-01 08:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bb0ea58012d0ea90006e8e270000700152c..."} 
[2026-07-01 08:51:29] local.INFO: Processing buffer {"connection_id":120726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bb0ea58012d0ea90006e8e270000700152c..."} 
[2026-07-01 08:51:29] local.INFO: Packet analysis {"connection_id":120726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bb0"} 
[2026-07-01 08:51:29] local.INFO: Extracted packet for processing {"connection_id":120726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bb0"} 
[2026-07-01 08:51:29] local.INFO: GPS Element Parsed {"raw_longitude":755935488,"raw_latitude":115925616,"longitude_deg":75.5935488,"latitude_deg":11.5925616,"altitude":7,"angle":21,"satellites":44,"speed":32,"hex_longitude":"2d0ea900","hex_latitude":"06e8e270","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:51:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416253696001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:51:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333099109219041280,"note":"Value kept but may cause issues"} 
[2026-07-01 08:51:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1052575705084155904,"note":"Value kept but may cause issues"} 
[2026-07-01 08:51:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:51:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782876007000,"timestamp_ms":1782876007000,"timestamp_seconds":1782876007,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bb0ea58"} 
[2026-07-01 08: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-01 08:51: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-01 08: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 08:51:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08: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-01 08: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-01 08:51:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:51:29] local.INFO: Teltonika packet parsed successfully {"connection_id":120726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:51:29] local.INFO: Passing IMEI to GPS processor {"connection_id":120726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:51:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":120726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:51:29] 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-01 08:51:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:51:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:51:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416253696001,"66":27919,"104":206,"80":6400,"24":32,"16":333099109219041280,"45":1052575705084155904},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,80,24,16,45]} 
[2026-07-01 08:51:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:51:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:51:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416253696001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:51:29] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-07-01 08:51:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:51:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333099109219041280,"km_value":333099109219041.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:51:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1052575705084155904,"description":"Unknown IO ID 45"} 
[2026-07-01 08:51:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416253696001,"power":27919,"unknown_104":206,"unknown_80":6400,"ignition":32,"odometer":null,"unknown_45":1052575705084155904}} 
[2026-07-01 08:51:29] local.INFO: DEBUG: GPS processor result {"connection_id":120726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:51:29] local.INFO: GPS data processed {"connection_id":120726,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:51:29] local.INFO: Acknowledgment sent {"connection_id":120726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:52:00] local.INFO: TCP Data received {"connection_id":120726,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bb11938012d0eb68006e90070000600242e..."} 
[2026-07-01 08:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bb11938012d0eb68006e90070000600242e..."} 
[2026-07-01 08:52:00] local.INFO: Processing buffer {"connection_id":120726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bb11938012d0eb68006e90070000600242e..."} 
[2026-07-01 08:52:00] local.INFO: Packet analysis {"connection_id":120726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bb1"} 
[2026-07-01 08:52:00] local.INFO: Extracted packet for processing {"connection_id":120726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bb1"} 
[2026-07-01 08:52:00] local.INFO: GPS Element Parsed {"raw_longitude":755938944,"raw_latitude":115933296,"longitude_deg":75.5938944,"latitude_deg":11.5933296,"altitude":6,"angle":36,"satellites":46,"speed":21,"hex_longitude":"2d0eb680","hex_latitude":"06e90070","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416257792001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333099517240934400,"note":"Value kept but may cause issues"} 
[2026-07-01 08:52:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1056375617272049664,"note":"Value kept but may cause issues"} 
[2026-07-01 08:52:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782876019000,"timestamp_ms":1782876019000,"timestamp_seconds":1782876019,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bb11938"} 
[2026-07-01 08: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-01 08:52:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 08: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 08:52:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08: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-01 08: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-01 08:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":120726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":120726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":120726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:52:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416257792001,"66":27908,"104":206,"80":6400,"24":21,"16":333099517240934400,"45":1056375617272049664},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,80,24,16,45]} 
[2026-07-01 08:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416257792001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:52:00] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-07-01 08:52:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333099517240934400,"km_value":333099517240934.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:52:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1056375617272049664,"description":"Unknown IO ID 45"} 
[2026-07-01 08:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416257792001,"power":27908,"unknown_104":206,"unknown_80":6400,"ignition":21,"odometer":null,"unknown_45":1056375617272049664}} 
[2026-07-01 08:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":120726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:52:00] local.INFO: GPS data processed {"connection_id":120726,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:52:00] local.INFO: Acknowledgment sent {"connection_id":120726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:52:06] local.INFO: TCP Data received {"connection_id":120725,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bb1b190012d7d1d0005ec3e68000d00fb27..."} 
[2026-07-01 08:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bb1b190012d7d1d0005ec3e68000d00fb27..."} 
[2026-07-01 08:52:06] local.INFO: Processing buffer {"connection_id":120725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bb1b190012d7d1d0005ec3e68000d00fb27..."} 
[2026-07-01 08:52:06] local.INFO: Packet analysis {"connection_id":120725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bb1"} 
[2026-07-01 08:52:06] local.INFO: Extracted packet for processing {"connection_id":120725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bb1"} 
[2026-07-01 08:52:06] local.INFO: GPS Element Parsed {"raw_longitude":763174144,"raw_latitude":99368552,"longitude_deg":76.3174144,"latitude_deg":9.9368552,"altitude":13,"angle":251,"satellites":39,"speed":4,"hex_longitude":"2d7d1d00","hex_latitude":"05ec3e68","is_valid_coordinates":true} 
[2026-07-01 08:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416270592001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101237253954600960,"note":"Value kept but may cause issues"} 
[2026-07-01 08:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015502791992317952,"note":"Value kept but may cause issues"} 
[2026-07-01 08:52:06] 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-01 08:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782876058000,"timestamp_ms":1782876058000,"timestamp_seconds":1782876058,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bb1b190"} 
[2026-07-01 08:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-01 08:52:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-01 08:52:06] local.WARNING: Large IO value detected {"io_id":170,"raw_value":2919235584,"note":"Value kept but may cause issues"} 
[2026-07-01 08:52:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-07-01 08:52:06] local.WARNING: Large IO value detected {"io_id":27,"raw_value":2976851969,"note":"Value kept but may cause issues"} 
[2026-07-01 08:52:06] local.WARNING: Large IO value detected {"io_id":236,"raw_value":4674736438985894400,"note":"Value kept but may cause issues"} 
[2026-07-01 08:52:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-07-01 08:52:06] local.WARNING: Large IO value detected {"io_id":91,"raw_value":2684431741,"note":"Value kept but may cause issues"} 
[2026-07-01 08:52:06] local.WARNING: Large IO value detected {"io_id":14,"raw_value":3221613635,"note":"Value kept but may cause issues"} 
[2026-07-01 08:52:06] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2986397001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:52:06] local.WARNING: Large IO value detected {"io_id":103,"raw_value":2860777472,"note":"Value kept but may cause issues"} 
[2026-07-01 08:52:06] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3963762688,"note":"Value kept but may cause issues"} 
[2026-07-01 08:52:06] local.WARNING: Large IO value detected {"io_id":248,"raw_value":57796679131092790,"note":"Value kept but may cause issues"} 
[2026-07-01 08:52:06] local.WARNING: Large IO value detected {"io_id":177,"raw_value":128353884258598917,"note":"Value kept but may cause issues"} 
[2026-07-01 08:52:06] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,110,87,24,241,157,16,170,159,126,45,64,12,35,10,66,122,192,65,118,1,240,106,227,27,236,4,113,205,91,14,33,239,49,2,103,5,8,29,248,177],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-07-01 08:52:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":937009482842636288,"timestamp_seconds":937009482842636.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 08:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":120725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":120725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":120725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416270592001,"66":13319,"110":206,"87":13824,"24":4,"16":101237253954600960,"45":9015502791992317952},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 08:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416270592001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:52:06] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 08:52:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101237253954600960,"km_value":101237253954600.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015502791992317952,"description":"Unknown IO ID 45"} 
[2026-07-01 08:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416270592001,"power":13319,"unknown_110":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":9015502791992317952}} 
[2026-07-01 08:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":120725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416709,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:52:06] local.INFO: GPS data processed {"connection_id":120725,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:52:06] local.INFO: Acknowledgment sent {"connection_id":120725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:52:18] local.INFO: TCP Data received {"connection_id":118968,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118968,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:52:18] local.INFO: Processing buffer {"connection_id":118968,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:52:18] local.INFO: IMEI packet received {"connection_id":118968,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 08:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":118968,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:52:20] local.INFO: TCP Data received {"connection_id":119624,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:52:20] local.INFO: Processing buffer {"connection_id":119624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:52:20] local.INFO: IMEI packet received {"connection_id":119624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 08:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":119624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:52:20] local.INFO: TCP Data received {"connection_id":118968,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118968,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:52:20] local.INFO: Processing buffer {"connection_id":118968,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:52:20] local.INFO: IMEI packet received {"connection_id":118968,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":118968,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:52:21] local.INFO: TCP Data received {"connection_id":119624,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:52:21] local.INFO: Processing buffer {"connection_id":119624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:52:21] local.INFO: IMEI packet received {"connection_id":119624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:52:21] local.INFO: IMEI acknowledgment sent {"connection_id":119624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:52:23] local.INFO: TCP Data received {"connection_id":118968,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118968,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:52:23] local.INFO: Processing buffer {"connection_id":118968,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:52:23] local.INFO: IMEI packet received {"connection_id":118968,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":118968,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:52:24] local.INFO: TCP Data received {"connection_id":118968,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bb1c900012d7d15c005ec3cf8000d010728..."} 
[2026-07-01 08:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bb1c900012d7d15c005ec3cf8000d010728..."} 
[2026-07-01 08:52:24] local.INFO: Processing buffer {"connection_id":118968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bb1c900012d7d15c005ec3cf8000d010728..."} 
[2026-07-01 08:52:24] local.INFO: Packet analysis {"connection_id":118968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bb1"} 
[2026-07-01 08:52:24] local.INFO: Extracted packet for processing {"connection_id":118968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bb1"} 
[2026-07-01 08:52:24] local.INFO: GPS Element Parsed {"raw_longitude":763172288,"raw_latitude":99368184,"longitude_deg":76.3172288,"latitude_deg":9.9368184,"altitude":13,"angle":263,"satellites":40,"speed":18,"hex_longitude":"2d7d15c0","hex_latitude":"05ec3cf8","is_valid_coordinates":true} 
[2026-07-01 08:52:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:52:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416270848001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:52:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101237344148914176,"note":"Value kept but may cause issues"} 
[2026-07-01 08:52:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015362054503950336,"note":"Value kept but may cause issues"} 
[2026-07-01 08:52:24] 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-01 08:52:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782876064000,"timestamp_ms":1782876064000,"timestamp_seconds":1782876064,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bb1c900"} 
[2026-07-01 08:52:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:52: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-01 08:52:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-01 08:52:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-01 08:52:24] local.WARNING: Large IO value detected {"io_id":170,"raw_value":2969567232,"note":"Value kept but may cause issues"} 
[2026-07-01 08:52:24] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-07-01 08:52:24] local.WARNING: Large IO value detected {"io_id":27,"raw_value":2977363969,"note":"Value kept but may cause issues"} 
[2026-07-01 08:52:24] local.WARNING: Large IO value detected {"io_id":236,"raw_value":4771563839564817408,"note":"Value kept but may cause issues"} 
[2026-07-01 08:52:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-07-01 08:52:24] local.WARNING: Large IO value detected {"io_id":26,"raw_value":2147871811,"note":"Value kept but may cause issues"} 
[2026-07-01 08:52:24] local.WARNING: Large IO value detected {"io_id":51,"raw_value":4060138825,"note":"Value kept but may cause issues"} 
[2026-07-01 08:52:24] local.WARNING: Large IO value detected {"io_id":103,"raw_value":2863005696,"note":"Value kept but may cause issues"} 
[2026-07-01 08:52:24] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3963875328,"note":"Value kept but may cause issues"} 
[2026-07-01 08:52:24] local.WARNING: Large IO value detected {"io_id":178,"raw_value":57783107034437430,"note":"Value kept but may cause issues"} 
[2026-07-01 08:52:24] local.WARNING: Large IO value detected {"io_id":177,"raw_value":2943103651367501829,"note":"Value kept but may cause issues"} 
[2026-07-01 08:52:24] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,110,87,24,241,157,16,170,159,173,45,128,62,13,41,10,66,126,64,12,35,122,192,1,240,133,227,27,236,4,113,205,111,26,160,239,51,2,103,5,28,178,177],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-07-01 08:52:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":937024867415621632,"timestamp_seconds":937024867415621.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 08:52:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:52:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:52:24] local.INFO: Teltonika packet parsed successfully {"connection_id":118968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:52:24] local.INFO: Passing IMEI to GPS processor {"connection_id":118968,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:52:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":118968,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:52:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:52:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:52:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:52:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416270848001,"66":13298,"110":206,"87":13824,"24":18,"16":101237344148914176,"45":9015362054503950336},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 08:52:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:52:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:52:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416270848001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:52:24] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 08:52:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:52:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101237344148914176,"km_value":101237344148914.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:52:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015362054503950336,"description":"Unknown IO ID 45"} 
[2026-07-01 08:52:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416270848001,"power":13298,"unknown_110":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":9015362054503950336}} 
[2026-07-01 08:52:24] local.INFO: DEBUG: GPS processor result {"connection_id":118968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416710,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:52:24] local.INFO: GPS data processed {"connection_id":118968,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:52:24] local.INFO: Acknowledgment sent {"connection_id":118968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:52:24] local.INFO: TCP Data received {"connection_id":119624,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:52:24] local.INFO: Processing buffer {"connection_id":119624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:52:24] local.INFO: IMEI packet received {"connection_id":119624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":119624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:52:26] local.INFO: TCP Data received {"connection_id":119624,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bb14048012d0ec1c006e91378000700182f..."} 
[2026-07-01 08:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bb14048012d0ec1c006e91378000700182f..."} 
[2026-07-01 08:52:26] local.INFO: Processing buffer {"connection_id":119624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bb14048012d0ec1c006e91378000700182f..."} 
[2026-07-01 08:52:26] local.INFO: Packet analysis {"connection_id":119624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bb1"} 
[2026-07-01 08:52:26] local.INFO: Extracted packet for processing {"connection_id":119624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bb1"} 
[2026-07-01 08:52:26] local.INFO: GPS Element Parsed {"raw_longitude":755941824,"raw_latitude":115938168,"longitude_deg":75.5941824,"latitude_deg":11.5938168,"altitude":7,"angle":24,"satellites":47,"speed":21,"hex_longitude":"2d0ec1c0","hex_latitude":"06e91378","is_valid_coordinates":true} 
[2026-07-01 08:52: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-01 08:52:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416260864001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:52:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333099792118841344,"note":"Value kept but may cause issues"} 
[2026-07-01 08:52:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1060175529459609600,"note":"Value kept but may cause issues"} 
[2026-07-01 08:52:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:52:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782876029000,"timestamp_ms":1782876029000,"timestamp_seconds":1782876029,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bb14048"} 
[2026-07-01 08:52:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:52:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 08:52:26] 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-01 08:52:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:52:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:52:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:52:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:52:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:52:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:52:26] 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-01 08:52:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:52:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:52:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416260864001,"66":27919,"104":206,"80":6400,"24":21,"16":333099792118841344,"45":1060175529459609600},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,80,24,16,45]} 
[2026-07-01 08:52:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:52:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:52:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416260864001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:52:26] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-07-01 08:52:26] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:52:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333099792118841344,"km_value":333099792118841.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:52:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1060175529459609600,"description":"Unknown IO ID 45"} 
[2026-07-01 08:52:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416260864001,"power":27919,"unknown_104":206,"unknown_80":6400,"ignition":21,"odometer":null,"unknown_45":1060175529459609600}} 
[2026-07-01 08:52:26] local.INFO: DEBUG: GPS processor result {"connection_id":119624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:52:26] local.INFO: GPS data processed {"connection_id":119624,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:52:26] local.INFO: Acknowledgment sent {"connection_id":119624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:52:46] local.INFO: TCP Data received {"connection_id":120727,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 08:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120727,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 08:52:46] local.INFO: Processing buffer {"connection_id":120727,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 08:52:46] local.INFO: IMEI packet received {"connection_id":120727,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 08:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":120727,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:52:55] local.INFO: TCP Data received {"connection_id":118968,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bb1fbc8012d7cf08005ec3a78000e010a2a..."} 
[2026-07-01 08:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bb1fbc8012d7cf08005ec3a78000e010a2a..."} 
[2026-07-01 08:52:55] local.INFO: Processing buffer {"connection_id":118968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bb1fbc8012d7cf08005ec3a78000e010a2a..."} 
[2026-07-01 08:52:55] local.INFO: Packet analysis {"connection_id":118968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bb1"} 
[2026-07-01 08:52:55] local.INFO: Extracted packet for processing {"connection_id":118968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bb1"} 
[2026-07-01 08:52:55] local.INFO: GPS Element Parsed {"raw_longitude":763162752,"raw_latitude":99367544,"longitude_deg":76.3162752,"latitude_deg":9.9367544,"altitude":14,"angle":266,"satellites":42,"speed":34,"hex_longitude":"2d7cf080","hex_latitude":"05ec3a78","is_valid_coordinates":true} 
[2026-07-01 08:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416272384001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101237799415447552,"note":"Value kept but may cause issues"} 
[2026-07-01 08:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013321360922703872,"note":"Value kept but may cause issues"} 
[2026-07-01 08:52:55] 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-01 08:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782876077000,"timestamp_ms":1782876077000,"timestamp_seconds":1782876077,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bb1fbc8"} 
[2026-07-01 08:52:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:52:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-07-01 08:52:55] 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-01 08:52:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:52:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":118968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":118968,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":118968,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:52:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416272384001,"66":13004,"110":206,"87":13824,"24":34,"16":101237799415447552,"45":9013321360922703872},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 08:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416272384001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:52:55] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 08:52:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101237799415447552,"km_value":101237799415447.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:52:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013321360922703872,"description":"Unknown IO ID 45"} 
[2026-07-01 08:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416272384001,"power":13004,"unknown_110":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":9013321360922703872}} 
[2026-07-01 08:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":118968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416712,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:52:55] local.INFO: GPS data processed {"connection_id":118968,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:52:55] local.INFO: Acknowledgment sent {"connection_id":118968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:52:57] local.INFO: TCP Data received {"connection_id":119624,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bb153d0012d0ec5c006e91b980007000b2f..."} 
[2026-07-01 08:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bb153d0012d0ec5c006e91b980007000b2f..."} 
[2026-07-01 08:52:57] local.INFO: Processing buffer {"connection_id":119624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bb153d0012d0ec5c006e91b980007000b2f..."} 
[2026-07-01 08:52:57] local.INFO: Packet analysis {"connection_id":119624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bb1"} 
[2026-07-01 08:52:57] local.INFO: Extracted packet for processing {"connection_id":119624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bb1"} 
[2026-07-01 08:52:57] local.INFO: GPS Element Parsed {"raw_longitude":755942848,"raw_latitude":115940248,"longitude_deg":75.5942848,"latitude_deg":11.5940248,"altitude":7,"angle":11,"satellites":47,"speed":18,"hex_longitude":"2d0ec5c0","hex_latitude":"06e91b98","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:52:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416263424001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:52:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333099899493023744,"note":"Value kept but may cause issues"} 
[2026-07-01 08:52:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1063342122948851712,"note":"Value kept but may cause issues"} 
[2026-07-01 08:52:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:52:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782876034000,"timestamp_ms":1782876034000,"timestamp_seconds":1782876034,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bb153d0"} 
[2026-07-01 08: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-01 08:52:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 08:52:57] 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-01 08: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-01 08: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-01 08:52:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:52:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:52:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:52:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:52:57] 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-01 08:52:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:52:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:52:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416263424001,"66":28006,"104":206,"80":6400,"24":18,"16":333099899493023744,"45":1063342122948851712},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,80,24,16,45]} 
[2026-07-01 08:52:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:52:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:52:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416263424001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:52:57] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-07-01 08:52:57] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:52:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333099899493023744,"km_value":333099899493023.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:52:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1063342122948851712,"description":"Unknown IO ID 45"} 
[2026-07-01 08:52:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416263424001,"power":28006,"unknown_104":206,"unknown_80":6400,"ignition":18,"odometer":null,"unknown_45":1063342122948851712}} 
[2026-07-01 08:52:57] local.INFO: DEBUG: GPS processor result {"connection_id":119624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:52:57] local.INFO: GPS data processed {"connection_id":119624,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:52:57] local.INFO: Acknowledgment sent {"connection_id":119624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:53:16] local.INFO: TCP Data received {"connection_id":118852,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 08:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118852,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 08:53:16] local.INFO: Processing buffer {"connection_id":118852,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 08:53:16] local.INFO: IMEI packet received {"connection_id":118852,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 08:53:16] local.INFO: IMEI acknowledgment sent {"connection_id":118852,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:53:18] local.INFO: TCP Data received {"connection_id":118853,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118853,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:53:18] local.INFO: Processing buffer {"connection_id":118853,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:53:18] local.INFO: IMEI packet received {"connection_id":118853,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 08:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":118853,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:53:21] local.INFO: TCP Data received {"connection_id":118854,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:53:21] local.INFO: Processing buffer {"connection_id":118854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:53:21] local.INFO: IMEI packet received {"connection_id":118854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 08:53:21] local.INFO: IMEI acknowledgment sent {"connection_id":118854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:53:21] local.INFO: TCP Data received {"connection_id":118853,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118853,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:53:21] local.INFO: Processing buffer {"connection_id":118853,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:53:21] local.INFO: IMEI packet received {"connection_id":118853,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:53:21] local.INFO: IMEI acknowledgment sent {"connection_id":118853,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:53:22] local.INFO: TCP Data received {"connection_id":118854,"ip":"42.106.6.28","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 08:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118854,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 08:53:22] local.INFO: Processing buffer {"connection_id":118854,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 08:53:22] local.INFO: IMEI packet received {"connection_id":118854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:53:22] local.INFO: IMEI acknowledgment sent {"connection_id":118854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:53:23] local.INFO: TCP Data received {"connection_id":118853,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118853,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:53:23] local.INFO: Processing buffer {"connection_id":118853,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:53:23] local.INFO: IMEI packet received {"connection_id":118853,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":118853,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:53:24] local.INFO: TCP Data received {"connection_id":118853,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bb23278012d7ccc4005ec3948000f010c28..."} 
[2026-07-01 08:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bb23278012d7ccc4005ec3948000f010c28..."} 
[2026-07-01 08:53:24] local.INFO: Processing buffer {"connection_id":118853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bb23278012d7ccc4005ec3948000f010c28..."} 
[2026-07-01 08:53:24] local.INFO: Packet analysis {"connection_id":118853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bb2"} 
[2026-07-01 08:53:24] local.INFO: Extracted packet for processing {"connection_id":118853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bb2"} 
[2026-07-01 08:53:24] local.INFO: GPS Element Parsed {"raw_longitude":763153472,"raw_latitude":99367240,"longitude_deg":76.3153472,"latitude_deg":9.936724,"altitude":15,"angle":268,"satellites":40,"speed":26,"hex_longitude":"2d7ccc40","hex_latitude":"05ec3948","is_valid_coordinates":true} 
[2026-07-01 08:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:53:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416275712001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:53:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101238246092046336,"note":"Value kept but may cause issues"} 
[2026-07-01 08:53:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9002836418040068096,"note":"Value kept but may cause issues"} 
[2026-07-01 08:53:24] 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-01 08:53:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782876091000,"timestamp_ms":1782876091000,"timestamp_seconds":1782876091,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bb23278"} 
[2026-07-01 08:53:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:53: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-01 08:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-01 08:53:24] 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-01 08:53:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:53:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:53:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:53:24] local.INFO: Teltonika packet parsed successfully {"connection_id":118853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:53:24] local.INFO: Passing IMEI to GPS processor {"connection_id":118853,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:53:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":118853,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:53:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:53:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:53:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:53:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416275712001,"66":13363,"110":206,"87":13824,"24":26,"16":101238246092046336,"45":9002836418040068096},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 08:53:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:53:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:53:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416275712001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:53:24] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 08:53:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:53:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101238246092046336,"km_value":101238246092046.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:53:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9002836418040068096,"description":"Unknown IO ID 45"} 
[2026-07-01 08:53:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416275712001,"power":13363,"unknown_110":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":9002836418040068096}} 
[2026-07-01 08:53:24] local.INFO: DEBUG: GPS processor result {"connection_id":118853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416714,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:53:24] local.INFO: GPS data processed {"connection_id":118853,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:53:24] local.INFO: Acknowledgment sent {"connection_id":118853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:53:26] local.INFO: TCP Data received {"connection_id":118854,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:53:26] local.INFO: Processing buffer {"connection_id":118854,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 08:53:26] local.INFO: IMEI packet received {"connection_id":118854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":118854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:53:28] local.INFO: TCP Data received {"connection_id":118854,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bb2f9b0012d0ebe0006e9bab0000d01492a..."} 
[2026-07-01 08:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bb2f9b0012d0ebe0006e9bab0000d01492a..."} 
[2026-07-01 08:53:28] local.INFO: Processing buffer {"connection_id":118854,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f1b..."} 
[2026-07-01 08:53:28] local.INFO: IMEI packet received {"connection_id":118854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":118854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:53:29] local.INFO: TCP Data received {"connection_id":118853,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bb26158012d7ca8c005ec3810000c010d28..."} 
[2026-07-01 08:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bb26158012d7ca8c005ec3810000c010d28..."} 
[2026-07-01 08:53:29] local.INFO: Processing buffer {"connection_id":118853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bb26158012d7ca8c005ec3810000c010d28..."} 
[2026-07-01 08:53:29] local.INFO: Packet analysis {"connection_id":118853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bb2"} 
[2026-07-01 08:53:29] local.INFO: Extracted packet for processing {"connection_id":118853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bb2"} 
[2026-07-01 08:53:29] local.INFO: GPS Element Parsed {"raw_longitude":763144384,"raw_latitude":99366928,"longitude_deg":76.3144384,"latitude_deg":9.9366928,"altitude":12,"angle":269,"satellites":40,"speed":30,"hex_longitude":"2d7ca8c0","hex_latitude":"05ec3810","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:53:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416279296001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:53:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101238679883743232,"note":"Value kept but may cause issues"} 
[2026-07-01 08:53:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992632950134228992,"note":"Value kept but may cause issues"} 
[2026-07-01 08:53:29] 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-01 08:53:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782876103000,"timestamp_ms":1782876103000,"timestamp_seconds":1782876103,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bb26158"} 
[2026-07-01 08: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-01 08:53:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08: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":51,"data_length":795,"current_offset":136} 
[2026-07-01 08:53: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-01 08: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-01 08: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-01 08:53:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:53:29] local.INFO: Teltonika packet parsed successfully {"connection_id":118853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:53:29] local.INFO: Passing IMEI to GPS processor {"connection_id":118853,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:53:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":118853,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:53:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:53:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:53:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:53:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416279296001,"66":13254,"110":206,"87":13824,"24":30,"16":101238679883743232,"45":8992632950134228992},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 08:53:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:53:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:53:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416279296001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:53:29] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 08:53:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:53:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101238679883743232,"km_value":101238679883743.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:53:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992632950134228992,"description":"Unknown IO ID 45"} 
[2026-07-01 08:53:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416279296001,"power":13254,"unknown_110":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8992632950134228992}} 
[2026-07-01 08:53:29] local.INFO: DEBUG: GPS processor result {"connection_id":118853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416715,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:53:29] local.INFO: GPS data processed {"connection_id":118853,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:53:29] local.INFO: Acknowledgment sent {"connection_id":118853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:53:29] local.INFO: TCP Data received {"connection_id":118854,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bb34bb8012d0eae8006e9d148001101572a..."} 
[2026-07-01 08:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bb34bb8012d0eae8006e9d148001101572a..."} 
[2026-07-01 08:53:29] local.INFO: Processing buffer {"connection_id":118854,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f1bb2f9b0012d0ebe0006e9bab0000d01492a..."} 
[2026-07-01 08:53:29] local.INFO: Packet analysis {"connection_id":118854,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f1bb2"} 
[2026-07-01 08:53:29] local.INFO: Extracted packet for processing {"connection_id":118854,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bb2"} 
[2026-07-01 08:53:29] local.INFO: GPS Element Parsed {"raw_longitude":755940864,"raw_latitude":115980976,"longitude_deg":75.5940864,"latitude_deg":11.5980976,"altitude":13,"angle":329,"satellites":42,"speed":15,"hex_longitude":"2d0ebe00","hex_latitude":"06e9bab0","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:53:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416287488001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:53:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333101995437064192,"note":"Value kept but may cause issues"} 
[2026-07-01 08:53:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1066719822678272000,"note":"Value kept but may cause issues"} 
[2026-07-01 08:53:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:53:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782876142000,"timestamp_ms":1782876142000,"timestamp_seconds":1782876142,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bb2f9b0"} 
[2026-07-01 08: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-01 08:53:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-01 08:53:29] 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-01 08: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-01 08: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-01 08:53:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:53:29] local.INFO: Teltonika packet parsed successfully {"connection_id":118854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:53:29] local.INFO: Passing IMEI to GPS processor {"connection_id":118854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:53:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":118854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:53:29] 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-01 08:53:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:53:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:53:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416287488001,"66":27843,"1":206,"80":6400,"24":15,"16":333101995437064192,"45":1066719822678272000},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,80,24,16,45]} 
[2026-07-01 08:53:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:53:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:53:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416287488001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:53:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:53:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333101995437064192,"km_value":333101995437064.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:53:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1066719822678272000,"description":"Unknown IO ID 45"} 
[2026-07-01 08:53:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416287488001,"power":27843,"imei":206,"unknown_80":6400,"ignition":15,"odometer":null,"unknown_45":1066719822678272000}} 
[2026-07-01 08:53:29] local.INFO: DEBUG: GPS processor result {"connection_id":118854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:53:29] local.INFO: GPS data processed {"connection_id":118854,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:53:29] local.INFO: Acknowledgment sent {"connection_id":118854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:53:29] local.INFO: Packet analysis {"connection_id":118854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bb3"} 
[2026-07-01 08:53:29] local.INFO: Extracted packet for processing {"connection_id":118854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bb3"} 
[2026-07-01 08:53:29] local.INFO: GPS Element Parsed {"raw_longitude":755936896,"raw_latitude":115986760,"longitude_deg":75.5936896,"latitude_deg":11.598676,"altitude":17,"angle":343,"satellites":42,"speed":14,"hex_longitude":"2d0eae80","hex_latitude":"06e9d148","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:53:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416292352001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:53:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333102334739480576,"note":"Value kept but may cause issues"} 
[2026-07-01 08:53:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1062286591797145600,"note":"Value kept but may cause issues"} 
[2026-07-01 08:53:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:53:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782876163000,"timestamp_ms":1782876163000,"timestamp_seconds":1782876163,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bb34bb8"} 
[2026-07-01 08: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-01 08:53:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 08:53:29] 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-01 08: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-01 08: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-01 08:53:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:53:29] local.INFO: Teltonika packet parsed successfully {"connection_id":118854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:53:29] local.INFO: Passing IMEI to GPS processor {"connection_id":118854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:53:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":118854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:53:29] 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-01 08:53:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:53:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:53:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416292352001,"66":27843,"1":206,"80":6400,"24":14,"16":333102334739480576,"45":1062286591797145600},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,80,24,16,45]} 
[2026-07-01 08:53:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:53:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:53:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416292352001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:53:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:53:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333102334739480576,"km_value":333102334739480.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:53:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1062286591797145600,"description":"Unknown IO ID 45"} 
[2026-07-01 08:53:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416292352001,"power":27843,"imei":206,"unknown_80":6400,"ignition":14,"odometer":null,"unknown_45":1062286591797145600}} 
[2026-07-01 08:53:29] local.INFO: DEBUG: GPS processor result {"connection_id":118854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:53:29] local.INFO: GPS data processed {"connection_id":118854,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:53:29] local.INFO: Acknowledgment sent {"connection_id":118854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:54:00] local.INFO: TCP Data received {"connection_id":118853,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bb42a60012d7b284005ebeda8000e00f32c..."} 
[2026-07-01 08:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bb42a60012d7b284005ebeda8000e00f32c..."} 
[2026-07-01 08:54:00] local.INFO: Processing buffer {"connection_id":118853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bb42a60012d7b284005ebeda8000e00f32c..."} 
[2026-07-01 08:54:00] local.INFO: Packet analysis {"connection_id":118853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bb4"} 
[2026-07-01 08:54:00] local.INFO: Extracted packet for processing {"connection_id":118853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bb4"} 
[2026-07-01 08:54:00] local.INFO: GPS Element Parsed {"raw_longitude":763045952,"raw_latitude":99347880,"longitude_deg":76.3045952,"latitude_deg":9.934788,"altitude":14,"angle":243,"satellites":44,"speed":41,"hex_longitude":"2d7b2840","hex_latitude":"05ebeda8","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416309760001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101243524606853120,"note":"Value kept but may cause issues"} 
[2026-07-01 08:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884124346608435200,"note":"Value kept but may cause issues"} 
[2026-07-01 08:54:00] 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-01 08:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782876220000,"timestamp_ms":1782876220000,"timestamp_seconds":1782876220,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bb42a60"} 
[2026-07-01 08: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-01 08:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-01 08:54: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-01 08: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-01 08: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-01 08:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":118853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":118853,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":118853,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:54:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416309760001,"66":13319,"198":206,"87":13824,"24":41,"16":101243524606853120,"45":8884124346608435200},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-01 08:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416309760001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:54:00] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-01 08:54:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101243524606853120,"km_value":101243524606853.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884124346608435200,"description":"Unknown IO ID 45"} 
[2026-07-01 08:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416309760001,"power":13319,"unknown_198":206,"unknown_87":13824,"ignition":41,"odometer":null,"unknown_45":8884124346608435200}} 
[2026-07-01 08:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":118853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416718,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:54:01] local.INFO: GPS data processed {"connection_id":118853,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:54:01] local.INFO: Acknowledgment sent {"connection_id":118853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:54:01] local.INFO: TCP Data received {"connection_id":118854,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bb34bb8012d0eae8006e9d148001101572a..."} 
[2026-07-01 08:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bb34bb8012d0eae8006e9d148001101572a..."} 
[2026-07-01 08:54:01] local.INFO: Processing buffer {"connection_id":118854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bb34bb8012d0eae8006e9d148001101572a..."} 
[2026-07-01 08:54:01] local.INFO: Packet analysis {"connection_id":118854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bb3"} 
[2026-07-01 08:54:01] local.INFO: Extracted packet for processing {"connection_id":118854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bb3"} 
[2026-07-01 08:54:01] local.INFO: GPS Element Parsed {"raw_longitude":755936896,"raw_latitude":115986760,"longitude_deg":75.5936896,"latitude_deg":11.598676,"altitude":17,"angle":343,"satellites":42,"speed":14,"hex_longitude":"2d0eae80","hex_latitude":"06e9d148","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416297728001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333102334739480576,"note":"Value kept but may cause issues"} 
[2026-07-01 08:54:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1057923729659611136,"note":"Value kept but may cause issues"} 
[2026-07-01 08:54:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782876163000,"timestamp_ms":1782876163000,"timestamp_seconds":1782876163,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bb34bb8"} 
[2026-07-01 08: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-01 08:54:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 08:54:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08: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-01 08: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-01 08:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":118854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":118854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":118854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:54:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416297728001,"66":27843,"1":206,"80":6400,"24":14,"16":333102334739480576,"45":1057923729659611136},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,80,24,16,45]} 
[2026-07-01 08:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416297728001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:54:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333102334739480576,"km_value":333102334739480.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:54:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1057923729659611136,"description":"Unknown IO ID 45"} 
[2026-07-01 08:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416297728001,"power":27843,"imei":206,"unknown_80":6400,"ignition":14,"odometer":null,"unknown_45":1057923729659611136}} 
[2026-07-01 08:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":118854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:54:01] local.INFO: GPS data processed {"connection_id":118854,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:54:01] local.INFO: Acknowledgment sent {"connection_id":118854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:54:18] local.INFO: TCP Data received {"connection_id":118969,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118969,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:54:18] local.INFO: Processing buffer {"connection_id":118969,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:54:18] local.INFO: IMEI packet received {"connection_id":118969,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 08:54:18] local.INFO: IMEI acknowledgment sent {"connection_id":118969,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:54:19] local.INFO: TCP Data received {"connection_id":118969,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118969,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:54:19] local.INFO: Processing buffer {"connection_id":118969,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:54:19] local.INFO: IMEI packet received {"connection_id":118969,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:54:19] local.INFO: IMEI acknowledgment sent {"connection_id":118969,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:54:24] local.INFO: TCP Data received {"connection_id":118969,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118969,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:54:24] local.INFO: Processing buffer {"connection_id":118969,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:54:24] local.INFO: IMEI packet received {"connection_id":118969,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":118969,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:54:25] local.INFO: TCP Data received {"connection_id":118969,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bb44d88012d7b078005ebdd68000e00f22b..."} 
[2026-07-01 08:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bb44d88012d7b078005ebdd68000e00f22b..."} 
[2026-07-01 08:54:25] local.INFO: Processing buffer {"connection_id":118969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bb44d88012d7b078005ebdd68000e00f22b..."} 
[2026-07-01 08:54:25] local.INFO: Packet analysis {"connection_id":118969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bb4"} 
[2026-07-01 08:54:25] local.INFO: Extracted packet for processing {"connection_id":118969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bb4"} 
[2026-07-01 08:54:25] local.INFO: GPS Element Parsed {"raw_longitude":763037568,"raw_latitude":99343720,"longitude_deg":76.3037568,"latitude_deg":9.934372,"altitude":14,"angle":242,"satellites":43,"speed":38,"hex_longitude":"2d7b0780","hex_latitude":"05ebdd68","is_valid_coordinates":true} 
[2026-07-01 08:54:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:54:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416312320001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:54:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101243975578419200,"note":"Value kept but may cause issues"} 
[2026-07-01 08:54:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874413459910797312,"note":"Value kept but may cause issues"} 
[2026-07-01 08:54:25] 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-01 08:54:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782876229000,"timestamp_ms":1782876229000,"timestamp_seconds":1782876229,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bb44d88"} 
[2026-07-01 08:54:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:54: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-01 08:54:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-01 08:54:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-01 08:54:25] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-07-01 08:54:25] local.WARNING: Large IO value detected {"io_id":27,"raw_value":3012947969,"note":"Value kept but may cause issues"} 
[2026-07-01 08:54:25] local.WARNING: Large IO value detected {"io_id":236,"raw_value":3701958953845533696,"note":"Value kept but may cause issues"} 
[2026-07-01 08:54:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1439039694,"corrected_to":0} 
[2026-07-01 08:54:25] local.WARNING: Large IO value detected {"io_id":114,"raw_value":3355520379,"note":"Value kept but may cause issues"} 
[2026-07-01 08:54:25] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137391957,"note":"Value kept but may cause issues"} 
[2026-07-01 08:54:25] local.WARNING: Large IO value detected {"io_id":103,"raw_value":2925658112,"note":"Value kept but may cause issues"} 
[2026-07-01 08:54:25] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3962609664,"note":"Value kept but may cause issues"} 
[2026-07-01 08:54:25] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57796679131092790,"note":"Value kept but may cause issues"} 
[2026-07-01 08:54:25] local.WARNING: Large IO value detected {"io_id":179,"raw_value":2078412522898309125,"note":"Value kept but may cause issues"} 
[2026-07-01 08:54:25] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,198,87,24,241,157,16,176,159,3,45,192,254,43,10,66,220,128,12,17,42,175,185,1,240,231,227,27,236,4,113,205,41,114,215,152,44,239,51,2,103,5,15,7,179],"length":527,"final_offset":657,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1439039694,"validated":0}]} 
[2026-07-01 08:54:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1009073686837788672,"timestamp_seconds":1009073686837788.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 08:54:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:54:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:54:25] local.INFO: Teltonika packet parsed successfully {"connection_id":118969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:54:25] local.INFO: Passing IMEI to GPS processor {"connection_id":118969,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:54:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":118969,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:54:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:54:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:54:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:54:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416312320001,"66":13178,"155":206,"87":13824,"24":38,"16":101243975578419200,"45":8874413459910797312},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-07-01 08:54:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:54:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:54:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416312320001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:54:25] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-01 08:54:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:54:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101243975578419200,"km_value":101243975578419.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:54:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874413459910797312,"description":"Unknown IO ID 45"} 
[2026-07-01 08:54:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416312320001,"power":13178,"unknown_155":206,"unknown_87":13824,"ignition":38,"odometer":null,"unknown_45":8874413459910797312}} 
[2026-07-01 08:54:25] local.INFO: DEBUG: GPS processor result {"connection_id":118969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416720,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:54:25] local.INFO: GPS data processed {"connection_id":118969,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:54:25] local.INFO: Acknowledgment sent {"connection_id":118969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:54:26] local.INFO: TCP Data received {"connection_id":119625,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:54:26] local.INFO: Processing buffer {"connection_id":119625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:54:26] local.INFO: IMEI packet received {"connection_id":119625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 08:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":119625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:54:48] local.INFO: TCP Data received {"connection_id":119625,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:54:48] local.INFO: Processing buffer {"connection_id":119625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:54:48] local.INFO: IMEI packet received {"connection_id":119625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":119625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:54:50] local.INFO: TCP Data received {"connection_id":119625,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bb36328012d0ea90006e9dbe0000f014b29..."} 
[2026-07-01 08:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bb36328012d0ea90006e9dbe0000f014b29..."} 
[2026-07-01 08:54:50] local.INFO: Processing buffer {"connection_id":119625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bb36328012d0ea90006e9dbe0000f014b29..."} 
[2026-07-01 08:54:50] local.INFO: Packet analysis {"connection_id":119625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bb3"} 
[2026-07-01 08:54:50] local.INFO: Extracted packet for processing {"connection_id":119625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bb3"} 
[2026-07-01 08:54:50] local.INFO: GPS Element Parsed {"raw_longitude":755935488,"raw_latitude":115989472,"longitude_deg":75.5935488,"latitude_deg":11.5989472,"altitude":15,"angle":331,"satellites":41,"speed":23,"hex_longitude":"2d0ea900","hex_latitude":"06e9dbe0","is_valid_coordinates":true} 
[2026-07-01 08:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:54:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416297728001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:54:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333102480768368640,"note":"Value kept but may cause issues"} 
[2026-07-01 08:54:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1057923729659611136,"note":"Value kept but may cause issues"} 
[2026-07-01 08:54:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:54:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782876169000,"timestamp_ms":1782876169000,"timestamp_seconds":1782876169,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bb36328"} 
[2026-07-01 08:54:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:54: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-01 08:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 08:54:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:54:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:54:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:54:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:54:50] local.INFO: Teltonika packet parsed successfully {"connection_id":119625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:54:50] local.INFO: Passing IMEI to GPS processor {"connection_id":119625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:54:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":119625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:54:50] 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-01 08:54:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:54:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:54:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416297728001,"66":27832,"1":206,"80":6400,"24":23,"16":333102480768368640,"45":1057923729659611136},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,80,24,16,45]} 
[2026-07-01 08:54:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:54:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:54:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416297728001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:54:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:54:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333102480768368640,"km_value":333102480768368.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:54:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1057923729659611136,"description":"Unknown IO ID 45"} 
[2026-07-01 08:54:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416297728001,"power":27832,"imei":206,"unknown_80":6400,"ignition":23,"odometer":null,"unknown_45":1057923729659611136}} 
[2026-07-01 08:54:50] local.INFO: DEBUG: GPS processor result {"connection_id":119625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:54:50] local.INFO: GPS data processed {"connection_id":119625,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:54:50] local.INFO: Acknowledgment sent {"connection_id":119625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:55:21] local.INFO: TCP Data received {"connection_id":119626,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:55:21] local.INFO: Processing buffer {"connection_id":119626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:55:21] local.INFO: IMEI packet received {"connection_id":119626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 08:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":119626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:55:23] local.INFO: TCP Data received {"connection_id":118971,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118971,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:55:23] local.INFO: Processing buffer {"connection_id":118971,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:55:23] local.INFO: IMEI packet received {"connection_id":118971,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 08:55:23] local.INFO: IMEI acknowledgment sent {"connection_id":118971,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:55:26] local.INFO: TCP Data received {"connection_id":119626,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:55:26] local.INFO: Processing buffer {"connection_id":119626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:55:26] local.INFO: IMEI packet received {"connection_id":119626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":119626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:55:27] local.INFO: TCP Data received {"connection_id":119626,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bb38e20012d0e9ec006e9ec78000f015a2b..."} 
[2026-07-01 08:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bb38e20012d0e9ec006e9ec78000f015a2b..."} 
[2026-07-01 08:55:27] local.INFO: Processing buffer {"connection_id":119626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bb38e20012d0e9ec006e9ec78000f015a2b..."} 
[2026-07-01 08:55:27] local.INFO: Packet analysis {"connection_id":119626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bb3"} 
[2026-07-01 08:55:27] local.INFO: Extracted packet for processing {"connection_id":119626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bb3"} 
[2026-07-01 08:55:27] local.INFO: GPS Element Parsed {"raw_longitude":755932864,"raw_latitude":115993720,"longitude_deg":75.5932864,"latitude_deg":11.599372,"altitude":15,"angle":346,"satellites":43,"speed":14,"hex_longitude":"2d0e9ec0","hex_latitude":"06e9ec78","is_valid_coordinates":true} 
[2026-07-01 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-01 08:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416299264001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333102721286537216,"note":"Value kept but may cause issues"} 
[2026-07-01 08:55:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1056375617288396800,"note":"Value kept but may cause issues"} 
[2026-07-01 08:55:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782876180000,"timestamp_ms":1782876180000,"timestamp_seconds":1782876180,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bb38e20"} 
[2026-07-01 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-01 08:55:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-01 08:55:27] 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-01 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-01 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-01 08:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:55:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416299264001,"66":28093,"35":206,"80":6400,"24":14,"16":333102721286537216,"45":1056375617288396800},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-07-01 08:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416299264001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:55:27] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-01 08:55:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333102721286537216,"km_value":333102721286537.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:55:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1056375617288396800,"description":"Unknown IO ID 45"} 
[2026-07-01 08:55:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416299264001,"power":28093,"unknown_35":206,"unknown_80":6400,"ignition":14,"odometer":null,"unknown_45":1056375617288396800}} 
[2026-07-01 08:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":119626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:55:27] local.INFO: GPS data processed {"connection_id":119626,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:55:27] local.INFO: Acknowledgment sent {"connection_id":119626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:55:28] local.INFO: TCP Data received {"connection_id":118971,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118971,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:55:28] local.INFO: Processing buffer {"connection_id":118971,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:55:28] local.INFO: IMEI packet received {"connection_id":118971,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:55:28] local.INFO: IMEI acknowledgment sent {"connection_id":118971,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:55:29] local.INFO: TCP Data received {"connection_id":118971,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bb470b0012d7ae54005ebcc08000d00f22b..."} 
[2026-07-01 08:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bb470b0012d7ae54005ebcc08000d00f22b..."} 
[2026-07-01 08:55:29] local.INFO: Processing buffer {"connection_id":118971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bb470b0012d7ae54005ebcc08000d00f22b..."} 
[2026-07-01 08:55:29] local.INFO: Packet analysis {"connection_id":118971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bb4"} 
[2026-07-01 08:55:29] local.INFO: Extracted packet for processing {"connection_id":118971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bb4"} 
[2026-07-01 08:55:29] local.INFO: GPS Element Parsed {"raw_longitude":763028800,"raw_latitude":99339272,"longitude_deg":76.30288,"latitude_deg":9.9339272,"altitude":13,"angle":242,"satellites":43,"speed":46,"hex_longitude":"2d7ae540","hex_latitude":"05ebcc08","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:55:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416314624001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:55:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101244448024821760,"note":"Value kept but may cause issues"} 
[2026-07-01 08:55:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865195154422458368,"note":"Value kept but may cause issues"} 
[2026-07-01 08:55:29] 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-01 08:55:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782876238000,"timestamp_ms":1782876238000,"timestamp_seconds":1782876238,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bb470b0"} 
[2026-07-01 08: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-01 08:55:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-01 08:55:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08: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-01 08: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-01 08:55:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:55:29] local.INFO: Teltonika packet parsed successfully {"connection_id":118971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:55:29] local.INFO: Passing IMEI to GPS processor {"connection_id":118971,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:55:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":118971,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:55:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:55:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:55:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:55:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416314624001,"66":13319,"155":206,"87":13824,"24":46,"16":101244448024821760,"45":8865195154422458368},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-07-01 08:55:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:55:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:55:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416314624001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:55:29] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-01 08:55:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:55:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101244448024821760,"km_value":101244448024821.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:55:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865195154422458368,"description":"Unknown IO ID 45"} 
[2026-07-01 08:55:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416314624001,"power":13319,"unknown_155":206,"unknown_87":13824,"ignition":46,"odometer":null,"unknown_45":8865195154422458368}} 
[2026-07-01 08:55:29] local.INFO: DEBUG: GPS processor result {"connection_id":118971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416723,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:55:29] local.INFO: GPS data processed {"connection_id":118971,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:55:29] local.INFO: Acknowledgment sent {"connection_id":118971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:55:30] local.INFO: TCP Data received {"connection_id":118971,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bb48ff0012d7ac44005ebbc08000c00f42c..."} 
[2026-07-01 08:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bb48ff0012d7ac44005ebbc08000c00f42c..."} 
[2026-07-01 08:55:30] local.INFO: Processing buffer {"connection_id":118971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bb48ff0012d7ac44005ebbc08000c00f42c..."} 
[2026-07-01 08:55:30] local.INFO: Packet analysis {"connection_id":118971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bb4"} 
[2026-07-01 08:55:30] local.INFO: Extracted packet for processing {"connection_id":118971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bb4"} 
[2026-07-01 08:55:30] local.INFO: GPS Element Parsed {"raw_longitude":763020352,"raw_latitude":99335176,"longitude_deg":76.3020352,"latitude_deg":9.9335176,"altitude":12,"angle":244,"satellites":44,"speed":44,"hex_longitude":"2d7ac440","hex_latitude":"05ebbc08","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416316928001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101244894701420544,"note":"Value kept but may cause issues"} 
[2026-07-01 08:55:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8855554636468979712,"note":"Value kept but may cause issues"} 
[2026-07-01 08:55:30] 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-01 08:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782876246000,"timestamp_ms":1782876246000,"timestamp_seconds":1782876246,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bb48ff0"} 
[2026-07-01 08: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-01 08:55:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-01 08:55:30] local.WARNING: Large IO value detected {"io_id":24,"raw_value":57796679131092790,"note":"Value kept but may cause issues"} 
[2026-07-01 08:55:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-01 08:55:30] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-01 08:55:30] local.WARNING: Large IO value detected {"io_id":27,"raw_value":3017555969,"note":"Value kept but may cause issues"} 
[2026-07-01 08:55:30] local.WARNING: Large IO value detected {"io_id":236,"raw_value":3141260813121825792,"note":"Value kept but may cause issues"} 
[2026-07-01 08:55:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1439039694,"corrected_to":0} 
[2026-07-01 08:55:30] local.WARNING: Large IO value detected {"io_id":146,"raw_value":2147871767,"note":"Value kept but may cause issues"} 
[2026-07-01 08:55:30] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3875589461,"note":"Value kept but may cause issues"} 
[2026-07-01 08:55:30] local.WARNING: Large IO value detected {"io_id":103,"raw_value":2939027456,"note":"Value kept but may cause issues"} 
[2026-07-01 08:55:30] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3961622528,"note":"Value kept but may cause issues"} 
[2026-07-01 08:55:30] local.WARNING: Large IO value detected {"io_id":179,"raw_value":8270862010528759813,"note":"Value kept but may cause issues"} 
[2026-07-01 08:55:30] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,155,87,24,241,157,16,177,159,77,45,128,221,14,43,10,66,176,42,64,237,44,198,3,192,1,240,216,227,27,236,4,113,205,41,185,146,72,239,51,2,103,5,17,179],"length":527,"final_offset":657,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1439039694,"validated":0}]} 
[2026-07-01 08:55:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":937014988993593344,"timestamp_seconds":937014988993593.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 08: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-01 08:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":118971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":118971,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":118971,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:55:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416316928001,"66":13374,"155":206,"87":13824,"24":44,"16":101244894701420544,"45":8855554636468979712},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-07-01 08:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416316928001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:55:30] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-01 08:55:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101244894701420544,"km_value":101244894701420.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:55:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8855554636468979712,"description":"Unknown IO ID 45"} 
[2026-07-01 08:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416316928001,"power":13374,"unknown_155":206,"unknown_87":13824,"ignition":44,"odometer":null,"unknown_45":8855554636468979712}} 
[2026-07-01 08:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":118971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416724,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:55:30] local.INFO: GPS data processed {"connection_id":118971,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:55:30] local.INFO: Acknowledgment sent {"connection_id":118971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:55:58] local.INFO: TCP Data received {"connection_id":119626,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bb3ad60012d0e980006e9fc780012014f2c..."} 
[2026-07-01 08:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bb3ad60012d0e980006e9fc780012014f2c..."} 
[2026-07-01 08:55:58] local.INFO: Processing buffer {"connection_id":119626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bb3ad60012d0e980006e9fc780012014f2c..."} 
[2026-07-01 08:55:58] local.INFO: Packet analysis {"connection_id":119626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bb3"} 
[2026-07-01 08:55:58] local.INFO: Extracted packet for processing {"connection_id":119626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bb3"} 
[2026-07-01 08:55:58] local.INFO: GPS Element Parsed {"raw_longitude":755931136,"raw_latitude":115997816,"longitude_deg":75.5931136,"latitude_deg":11.5997816,"altitude":18,"angle":335,"satellites":44,"speed":24,"hex_longitude":"2d0e9800","hex_latitude":"06e9fc78","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416302080001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333102944624836608,"note":"Value kept but may cause issues"} 
[2026-07-01 08:55:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1053490498778200064,"note":"Value kept but may cause issues"} 
[2026-07-01 08:55:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782876188000,"timestamp_ms":1782876188000,"timestamp_seconds":1782876188,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bb3ad60"} 
[2026-07-01 08: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-01 08:55:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08: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":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-07-01 08:55:58] 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-01 08: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-01 08: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-01 08:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:55:58] 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-01 08:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416302080001,"66":28104,"35":206,"80":6400,"24":24,"16":333102944624836608,"45":1053490498778200064},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,80,24,16,45]} 
[2026-07-01 08:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416302080001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:55:58] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-01 08:55:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333102944624836608,"km_value":333102944624836.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:55:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1053490498778200064,"description":"Unknown IO ID 45"} 
[2026-07-01 08:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416302080001,"power":28104,"unknown_35":206,"unknown_80":6400,"ignition":24,"odometer":null,"unknown_45":1053490498778200064}} 
[2026-07-01 08:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":119626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:55:58] local.INFO: GPS data processed {"connection_id":119626,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:55:58] local.INFO: Acknowledgment sent {"connection_id":119626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:56:01] local.INFO: TCP Data received {"connection_id":118971,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bb4bae8012d7aa2c005ebae40000a00f92b..."} 
[2026-07-01 08:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bb4bae8012d7aa2c005ebae40000a00f92b..."} 
[2026-07-01 08:56:01] local.INFO: Processing buffer {"connection_id":118971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bb4bae8012d7aa2c005ebae40000a00f92b..."} 
[2026-07-01 08:56:01] local.INFO: Packet analysis {"connection_id":118971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bb4"} 
[2026-07-01 08:56:01] local.INFO: Extracted packet for processing {"connection_id":118971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bb4"} 
[2026-07-01 08:56:01] local.INFO: GPS Element Parsed {"raw_longitude":763011776,"raw_latitude":99331648,"longitude_deg":76.3011776,"latitude_deg":9.9331648,"altitude":10,"angle":249,"satellites":43,"speed":27,"hex_longitude":"2d7aa2c0","hex_latitude":"05ebae40","is_valid_coordinates":true} 
[2026-07-01 08:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416318976001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101245341378019328,"note":"Value kept but may cause issues"} 
[2026-07-01 08:56:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8846265962236479488,"note":"Value kept but may cause issues"} 
[2026-07-01 08:56:01] 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-01 08:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782876257000,"timestamp_ms":1782876257000,"timestamp_seconds":1782876257,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bb4bae8"} 
[2026-07-01 08:56:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:56:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-01 08:56:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:56:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:56:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":118971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":118971,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":118971,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:56:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416318976001,"66":13374,"155":206,"87":13824,"24":27,"16":101245341378019328,"45":8846265962236479488},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-07-01 08:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416318976001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:56:01] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-01 08:56:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101245341378019328,"km_value":101245341378019.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:56:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8846265962236479488,"description":"Unknown IO ID 45"} 
[2026-07-01 08:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416318976001,"power":13374,"unknown_155":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8846265962236479488}} 
[2026-07-01 08:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":118971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416726,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:56:01] local.INFO: GPS data processed {"connection_id":118971,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:56:01] local.INFO: Acknowledgment sent {"connection_id":118971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:56:18] local.INFO: TCP Data received {"connection_id":120728,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120728,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:56:18] local.INFO: Processing buffer {"connection_id":120728,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:56:18] local.INFO: IMEI packet received {"connection_id":120728,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 08:56:18] local.INFO: IMEI acknowledgment sent {"connection_id":120728,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:56:23] local.INFO: TCP Data received {"connection_id":120728,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120728,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:56:23] local.INFO: Processing buffer {"connection_id":120728,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:56:23] local.INFO: IMEI packet received {"connection_id":120728,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:56:23] local.INFO: IMEI acknowledgment sent {"connection_id":120728,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:56:34] local.INFO: TCP Data received {"connection_id":118856,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:56:34] local.INFO: Processing buffer {"connection_id":118856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:56:34] local.INFO: IMEI packet received {"connection_id":118856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 08:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":118856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:56:35] local.INFO: TCP Data received {"connection_id":120728,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bb4e9c8012d7a810005eba220000a00fa2a..."} 
[2026-07-01 08:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bb4e9c8012d7a810005eba220000a00fa2a..."} 
[2026-07-01 08:56:35] local.INFO: Processing buffer {"connection_id":120728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bb4e9c8012d7a810005eba220000a00fa2a..."} 
[2026-07-01 08:56:35] local.INFO: Packet analysis {"connection_id":120728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bb4"} 
[2026-07-01 08:56:35] local.INFO: Extracted packet for processing {"connection_id":120728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bb4"} 
[2026-07-01 08:56:35] local.INFO: GPS Element Parsed {"raw_longitude":763003136,"raw_latitude":99328544,"longitude_deg":76.3003136,"latitude_deg":9.9328544,"altitude":10,"angle":250,"satellites":42,"speed":32,"hex_longitude":"2d7a8100","hex_latitude":"05eba220","is_valid_coordinates":true} 
[2026-07-01 08:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416321792001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101245779464683520,"note":"Value kept but may cause issues"} 
[2026-07-01 08:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8836836550515769344,"note":"Value kept but may cause issues"} 
[2026-07-01 08:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782876269000,"timestamp_ms":1782876269000,"timestamp_seconds":1782876269,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bb4e9c8"} 
[2026-07-01 08:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:56:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-01 08:56:35] 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-01 08:56:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":120728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":120728,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":120728,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416321792001,"66":13048,"155":206,"87":13824,"24":32,"16":101245779464683520,"45":8836836550515769344},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-07-01 08:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416321792001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:56:35] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-01 08:56:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101245779464683520,"km_value":101245779464683.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8836836550515769344,"description":"Unknown IO ID 45"} 
[2026-07-01 08:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416321792001,"power":13048,"unknown_155":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8836836550515769344}} 
[2026-07-01 08:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":120728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416727,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:56:35] local.INFO: GPS data processed {"connection_id":120728,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:56:35] local.INFO: Acknowledgment sent {"connection_id":120728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:56:36] local.INFO: TCP Data received {"connection_id":118856,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:56:36] local.INFO: Processing buffer {"connection_id":118856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:56:36] local.INFO: IMEI packet received {"connection_id":118856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":118856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:56:38] local.INFO: TCP Data received {"connection_id":118856,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bb59d78012d0e39c006ea7f78001b01482a..."} 
[2026-07-01 08:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bb59d78012d0e39c006ea7f78001b01482a..."} 
[2026-07-01 08:56:38] local.INFO: Processing buffer {"connection_id":118856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bb59d78012d0e39c006ea7f78001b01482a..."} 
[2026-07-01 08:56:38] local.INFO: Packet analysis {"connection_id":118856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bb5"} 
[2026-07-01 08:56:38] local.INFO: Extracted packet for processing {"connection_id":118856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bb5"} 
[2026-07-01 08:56:38] local.INFO: GPS Element Parsed {"raw_longitude":755907008,"raw_latitude":116031352,"longitude_deg":75.5907008,"latitude_deg":11.6031352,"altitude":27,"angle":328,"satellites":42,"speed":27,"hex_longitude":"2d0e39c0","hex_latitude":"06ea7f78","is_valid_coordinates":true} 
[2026-07-01 08:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416332800001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333104954669531136,"note":"Value kept but may cause issues"} 
[2026-07-01 08:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1030761394416539648,"note":"Value kept but may cause issues"} 
[2026-07-01 08:56:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782876315000,"timestamp_ms":1782876315000,"timestamp_seconds":1782876315,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bb59d78"} 
[2026-07-01 08:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 08:56:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:56:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":118856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":118856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":118856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:56:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416332800001,"66":27930,"34":206,"80":6400,"24":27,"16":333104954669531136,"45":1030761394416539648},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,80,24,16,45]} 
[2026-07-01 08:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416332800001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:56:38] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-01 08:56:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333104954669531136,"km_value":333104954669531.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1030761394416539648,"description":"Unknown IO ID 45"} 
[2026-07-01 08:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416332800001,"power":27930,"unknown_34":206,"unknown_80":6400,"ignition":27,"odometer":null,"unknown_45":1030761394416539648}} 
[2026-07-01 08:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":118856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:56:38] local.INFO: GPS data processed {"connection_id":118856,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:56:38] local.INFO: Acknowledgment sent {"connection_id":118856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:56:40] local.INFO: TCP Data received {"connection_id":118856,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bb5cc58012d0e234006ea9cd8001a013f2b..."} 
[2026-07-01 08:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bb5cc58012d0e234006ea9cd8001a013f2b..."} 
[2026-07-01 08:56:40] local.INFO: Processing buffer {"connection_id":118856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bb5cc58012d0e234006ea9cd8001a013f2b..."} 
[2026-07-01 08:56:40] local.INFO: Packet analysis {"connection_id":118856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bb5"} 
[2026-07-01 08:56:40] local.INFO: Extracted packet for processing {"connection_id":118856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bb5"} 
[2026-07-01 08:56:40] local.INFO: GPS Element Parsed {"raw_longitude":755901248,"raw_latitude":116038872,"longitude_deg":75.5901248,"latitude_deg":11.6038872,"altitude":26,"angle":319,"satellites":43,"speed":30,"hex_longitude":"2d0e2340","hex_latitude":"06ea9cd8","is_valid_coordinates":true} 
[2026-07-01 08: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-01 08:56:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416336640001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:56:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333105409936064512,"note":"Value kept but may cause issues"} 
[2026-07-01 08:56:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1025061526140057600,"note":"Value kept but may cause issues"} 
[2026-07-01 08:56:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:56:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782876327000,"timestamp_ms":1782876327000,"timestamp_seconds":1782876327,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bb5cc58"} 
[2026-07-01 08: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-01 08:56:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-01 08:56:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08: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-01 08: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-01 08:56:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:56:40] local.INFO: Teltonika packet parsed successfully {"connection_id":118856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:56:40] local.INFO: Passing IMEI to GPS processor {"connection_id":118856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:56:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":118856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:56: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-01 08:56:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:56:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:56:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416336640001,"66":27930,"34":206,"80":6400,"24":30,"16":333105409936064512,"45":1025061526140057600},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,80,24,16,45]} 
[2026-07-01 08:56:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:56:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:56:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416336640001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:56:40] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-01 08:56:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:56:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333105409936064512,"km_value":333105409936064.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:56:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1025061526140057600,"description":"Unknown IO ID 45"} 
[2026-07-01 08:56:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416336640001,"power":27930,"unknown_34":206,"unknown_80":6400,"ignition":30,"odometer":null,"unknown_45":1025061526140057600}} 
[2026-07-01 08:56:40] local.INFO: DEBUG: GPS processor result {"connection_id":118856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:56:40] local.INFO: GPS data processed {"connection_id":118856,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:56:40] local.INFO: Acknowledgment sent {"connection_id":118856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:57:18] local.INFO: TCP Data received {"connection_id":120730,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120730,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:57:18] local.INFO: Processing buffer {"connection_id":120730,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:57:18] local.INFO: IMEI packet received {"connection_id":120730,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 08:57:18] local.INFO: IMEI acknowledgment sent {"connection_id":120730,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:57:21] local.INFO: TCP Data received {"connection_id":119628,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:57:21] local.INFO: Processing buffer {"connection_id":119628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:57:21] local.INFO: IMEI packet received {"connection_id":119628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 08:57:21] local.INFO: IMEI acknowledgment sent {"connection_id":119628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:57:23] local.INFO: TCP Data received {"connection_id":120730,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120730,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:57:23] local.INFO: Processing buffer {"connection_id":120730,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:57:23] local.INFO: IMEI packet received {"connection_id":120730,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":120730,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:57:25] local.INFO: TCP Data received {"connection_id":120730,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bb6c270012d7a3e4005ebc1600004014f26..."} 
[2026-07-01 08:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bb6c270012d7a3e4005ebc1600004014f26..."} 
[2026-07-01 08:57:25] local.INFO: Processing buffer {"connection_id":120730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bb6c270012d7a3e4005ebc1600004014f26..."} 
[2026-07-01 08:57:25] local.INFO: Packet analysis {"connection_id":120730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bb6"} 
[2026-07-01 08:57:25] local.INFO: Extracted packet for processing {"connection_id":120730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bb6"} 
[2026-07-01 08:57:25] local.INFO: GPS Element Parsed {"raw_longitude":762986048,"raw_latitude":99336544,"longitude_deg":76.2986048,"latitude_deg":9.9336544,"altitude":4,"angle":335,"satellites":38,"speed":14,"hex_longitude":"2d7a3e40","hex_latitude":"05ebc160","is_valid_coordinates":true} 
[2026-07-01 08:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416350464001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101246990645460992,"note":"Value kept but may cause issues"} 
[2026-07-01 08:57:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8812488965029662720,"note":"Value kept but may cause issues"} 
[2026-07-01 08:57:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782876390000,"timestamp_ms":1782876390000,"timestamp_seconds":1782876390,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bb6c270"} 
[2026-07-01 08:57:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:57:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 08:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-01 08:57: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-01 08:57:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:57:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":120730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":120730,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":120730,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:57:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416350464001,"66":13243,"161":206,"87":13824,"24":14,"16":101246990645460992,"45":8812488965029662720},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-07-01 08:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416350464001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:57:25] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-01 08:57:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101246990645460992,"km_value":101246990645460.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:57:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8812488965029662720,"description":"Unknown IO ID 45"} 
[2026-07-01 08:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416350464001,"power":13243,"unknown_161":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8812488965029662720}} 
[2026-07-01 08:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":120730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416730,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:57:25] local.INFO: GPS data processed {"connection_id":120730,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:57:25] local.INFO: Acknowledgment sent {"connection_id":120730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:57:26] local.INFO: TCP Data received {"connection_id":119628,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:57:26] local.INFO: Processing buffer {"connection_id":119628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:57:26] local.INFO: IMEI packet received {"connection_id":119628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":119628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:57:27] local.INFO: TCP Data received {"connection_id":119628,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bb5ef80012d0e108006eaae80001b01332c..."} 
[2026-07-01 08:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bb5ef80012d0e108006eaae80001b01332c..."} 
[2026-07-01 08:57:27] local.INFO: Processing buffer {"connection_id":119628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bb5ef80012d0e108006eaae80001b01332c..."} 
[2026-07-01 08:57:27] local.INFO: Packet analysis {"connection_id":119628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bb5"} 
[2026-07-01 08:57:27] local.INFO: Extracted packet for processing {"connection_id":119628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bb5"} 
[2026-07-01 08:57:27] local.INFO: GPS Element Parsed {"raw_longitude":755896448,"raw_latitude":116043392,"longitude_deg":75.5896448,"latitude_deg":11.6043392,"altitude":27,"angle":307,"satellites":44,"speed":25,"hex_longitude":"2d0e1080","hex_latitude":"06eaae80","is_valid_coordinates":true} 
[2026-07-01 08:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416339712001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333105727763644416,"note":"Value kept but may cause issues"} 
[2026-07-01 08:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1018728339165992960,"note":"Value kept but may cause issues"} 
[2026-07-01 08:57:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782876336000,"timestamp_ms":1782876336000,"timestamp_seconds":1782876336,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bb5ef80"} 
[2026-07-01 08:57:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:57: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-01 08:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-01 08:57:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:57:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:57:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:57:27] local.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-01 08:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416339712001,"66":27865,"34":206,"80":6400,"24":25,"16":333105727763644416,"45":1018728339165992960},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,80,24,16,45]} 
[2026-07-01 08:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416339712001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:57:27] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-01 08:57:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333105727763644416,"km_value":333105727763644.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1018728339165992960,"description":"Unknown IO ID 45"} 
[2026-07-01 08:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416339712001,"power":27865,"unknown_34":206,"unknown_80":6400,"ignition":25,"odometer":null,"unknown_45":1018728339165992960}} 
[2026-07-01 08:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":119628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:57:27] local.INFO: GPS data processed {"connection_id":119628,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:57:27] local.INFO: Acknowledgment sent {"connection_id":119628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:57:56] local.INFO: TCP Data received {"connection_id":120730,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bb71478012d7a2e4005ebde90000b015225..."} 
[2026-07-01 08:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bb71478012d7a2e4005ebde90000b015225..."} 
[2026-07-01 08:57:56] local.INFO: Processing buffer {"connection_id":120730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bb71478012d7a2e4005ebde90000b015225..."} 
[2026-07-01 08:57:56] local.INFO: Packet analysis {"connection_id":120730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bb7"} 
[2026-07-01 08:57:56] local.INFO: Extracted packet for processing {"connection_id":120730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bb7"} 
[2026-07-01 08:57:56] local.INFO: GPS Element Parsed {"raw_longitude":762981952,"raw_latitude":99344016,"longitude_deg":76.2981952,"latitude_deg":9.9344016,"altitude":11,"angle":338,"satellites":37,"speed":8,"hex_longitude":"2d7a2e40","hex_latitude":"05ebde90","is_valid_coordinates":true} 
[2026-07-01 08:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416355840001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101247407257288704,"note":"Value kept but may cause issues"} 
[2026-07-01 08:57:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808548315357601792,"note":"Value kept but may cause issues"} 
[2026-07-01 08:57:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782876411000,"timestamp_ms":1782876411000,"timestamp_seconds":1782876411,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bb71478"} 
[2026-07-01 08:57:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:57:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-01 08:57:56] 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-01 08:57:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:57:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":120730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":120730,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":120730,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:57:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416355840001,"66":13037,"163":206,"87":13824,"24":8,"16":101247407257288704,"45":8808548315357601792},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-07-01 08:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416355840001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:57:56] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-01 08:57:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101247407257288704,"km_value":101247407257288.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:57:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808548315357601792,"description":"Unknown IO ID 45"} 
[2026-07-01 08:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416355840001,"power":13037,"unknown_163":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8808548315357601792}} 
[2026-07-01 08:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":120730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416732,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:57:56] local.INFO: GPS data processed {"connection_id":120730,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:57:56] local.INFO: Acknowledgment sent {"connection_id":120730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:57:59] local.INFO: TCP Data received {"connection_id":119628,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bb62248012d0df0c006eac250001b012b2a..."} 
[2026-07-01 08:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bb62248012d0df0c006eac250001b012b2a..."} 
[2026-07-01 08:57:59] local.INFO: Processing buffer {"connection_id":119628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bb62248012d0df0c006eac250001b012b2a..."} 
[2026-07-01 08:57:59] local.INFO: Packet analysis {"connection_id":119628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bb6"} 
[2026-07-01 08:57:59] local.INFO: Extracted packet for processing {"connection_id":119628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bb6"} 
[2026-07-01 08:57:59] local.INFO: GPS Element Parsed {"raw_longitude":755888320,"raw_latitude":116048464,"longitude_deg":75.588832,"latitude_deg":11.6048464,"altitude":27,"angle":299,"satellites":42,"speed":30,"hex_longitude":"2d0df0c0","hex_latitude":"06eac250","is_valid_coordinates":true} 
[2026-07-01 08:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416342016001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333106187325145088,"note":"Value kept but may cause issues"} 
[2026-07-01 08:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1013450683353825280,"note":"Value kept but may cause issues"} 
[2026-07-01 08:57:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782876349000,"timestamp_ms":1782876349000,"timestamp_seconds":1782876349,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bb62248"} 
[2026-07-01 08:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:57: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-01 08:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 08:57:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:57:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:57:59] local.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-01 08:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416342016001,"66":27658,"2":206,"80":6400,"24":30,"16":333106187325145088,"45":1013450683353825280},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,80,24,16,45]} 
[2026-07-01 08:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416342016001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:57:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333106187325145088,"km_value":333106187325145.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1013450683353825280,"description":"Unknown IO ID 45"} 
[2026-07-01 08:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416342016001,"power":27658,"power_alt":206,"unknown_80":6400,"ignition":30,"odometer":null,"unknown_45":1013450683353825280}} 
[2026-07-01 08:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":119628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:57:59] local.INFO: GPS data processed {"connection_id":119628,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:57:59] local.INFO: Acknowledgment sent {"connection_id":119628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:58:19] local.INFO: TCP Data received {"connection_id":118857,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118857,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:58:19] local.INFO: Processing buffer {"connection_id":118857,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:58:19] local.INFO: IMEI packet received {"connection_id":118857,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 08:58:19] local.INFO: IMEI acknowledgment sent {"connection_id":118857,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:58:21] local.INFO: TCP Data received {"connection_id":118858,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:58:21] local.INFO: Processing buffer {"connection_id":118858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:58:21] local.INFO: IMEI packet received {"connection_id":118858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 08:58:21] local.INFO: IMEI acknowledgment sent {"connection_id":118858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:58:23] local.INFO: TCP Data received {"connection_id":118857,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118857,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:58:23] local.INFO: Processing buffer {"connection_id":118857,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:58:23] local.INFO: IMEI packet received {"connection_id":118857,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":118857,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:58:25] local.INFO: TCP Data received {"connection_id":118857,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bb76680012d7a210005ebfa20000e014f1f..."} 
[2026-07-01 08:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bb76680012d7a210005ebfa20000e014f1f..."} 
[2026-07-01 08:58:25] local.INFO: Processing buffer {"connection_id":118857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bb76680012d7a210005ebfa20000e014f1f..."} 
[2026-07-01 08:58:25] local.INFO: Packet analysis {"connection_id":118857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bb7"} 
[2026-07-01 08:58:25] local.INFO: Extracted packet for processing {"connection_id":118857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bb7"} 
[2026-07-01 08:58:25] local.INFO: GPS Element Parsed {"raw_longitude":762978560,"raw_latitude":99351072,"longitude_deg":76.297856,"latitude_deg":9.9351072,"altitude":14,"angle":335,"satellites":31,"speed":26,"hex_longitude":"2d7a2100","hex_latitude":"05ebfa20","is_valid_coordinates":true} 
[2026-07-01 08:58:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:58:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416361216001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:58:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101247785214410752,"note":"Value kept but may cause issues"} 
[2026-07-01 08:58:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804044715732144128,"note":"Value kept but may cause issues"} 
[2026-07-01 08:58:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:58:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782876432000,"timestamp_ms":1782876432000,"timestamp_seconds":1782876432,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bb76680"} 
[2026-07-01 08:58:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:58:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 08:58:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-01 08:58:25] 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-01 08:58:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:58:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:58:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:58:25] local.INFO: Teltonika packet parsed successfully {"connection_id":118857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:58:25] local.INFO: Passing IMEI to GPS processor {"connection_id":118857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:58:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":118857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:58:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:58:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:58:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:58:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416361216001,"66":13222,"156":206,"87":13824,"24":26,"16":101247785214410752,"45":8804044715732144128},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-01 08:58:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:58:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:58:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416361216001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:58:25] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-01 08:58:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:58:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101247785214410752,"km_value":101247785214410.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:58:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804044715732144128,"description":"Unknown IO ID 45"} 
[2026-07-01 08:58:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416361216001,"power":13222,"unknown_156":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8804044715732144128}} 
[2026-07-01 08:58:25] local.INFO: DEBUG: GPS processor result {"connection_id":118857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416734,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:58:25] local.INFO: GPS data processed {"connection_id":118857,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:58:25] local.INFO: Acknowledgment sent {"connection_id":118857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:58:26] local.INFO: TCP Data received {"connection_id":118858,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:58:26] local.INFO: Processing buffer {"connection_id":118858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:58:26] local.INFO: IMEI packet received {"connection_id":118858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":118858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:58:27] local.INFO: TCP Data received {"connection_id":118858,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bb64d40012d0dd78006ead080001d013b29..."} 
[2026-07-01 08:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bb64d40012d0dd78006ead080001d013b29..."} 
[2026-07-01 08:58:27] local.INFO: Processing buffer {"connection_id":118858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bb64d40012d0dd78006ead080001d013b29..."} 
[2026-07-01 08:58:27] local.INFO: Packet analysis {"connection_id":118858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bb6"} 
[2026-07-01 08:58:27] local.INFO: Extracted packet for processing {"connection_id":118858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bb6"} 
[2026-07-01 08:58:27] local.INFO: GPS Element Parsed {"raw_longitude":755881856,"raw_latitude":116052096,"longitude_deg":75.5881856,"latitude_deg":11.6052096,"altitude":29,"angle":315,"satellites":41,"speed":20,"hex_longitude":"2d0dd780","hex_latitude":"06ead080","is_valid_coordinates":true} 
[2026-07-01 08:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:58:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416345344001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333106539512463360,"note":"Value kept but may cause issues"} 
[2026-07-01 08:58:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1004513852844560384,"note":"Value kept but may cause issues"} 
[2026-07-01 08:58:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782876360000,"timestamp_ms":1782876360000,"timestamp_seconds":1782876360,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bb64d40"} 
[2026-07-01 08:58:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:58:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-01 08:58:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 08:58:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:58:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:58:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:58:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:58:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:58:27] 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-01 08:58:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:58:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:58:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416345344001,"66":27843,"2":206,"80":6400,"24":20,"16":333106539512463360,"45":1004513852844560384},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,80,24,16,45]} 
[2026-07-01 08:58:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:58:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:58:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416345344001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:58:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:58:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333106539512463360,"km_value":333106539512463.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:58:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1004513852844560384,"description":"Unknown IO ID 45"} 
[2026-07-01 08:58:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416345344001,"power":27843,"power_alt":206,"unknown_80":6400,"ignition":20,"odometer":null,"unknown_45":1004513852844560384}} 
[2026-07-01 08:58:27] local.INFO: DEBUG: GPS processor result {"connection_id":118858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:58:27] local.INFO: GPS data processed {"connection_id":118858,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:58:27] local.INFO: Acknowledgment sent {"connection_id":118858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:58:34] local.INFO: TCP Data received {"connection_id":118972,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 08:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118972,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 08:58:34] local.INFO: Processing buffer {"connection_id":118972,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 08:58:34] local.INFO: IMEI packet received {"connection_id":118972,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 08:58:34] local.INFO: IMEI acknowledgment sent {"connection_id":118972,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:58:56] local.INFO: TCP Data received {"connection_id":118857,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bb79d30012d7a150005ec1aa8000e01531e..."} 
[2026-07-01 08:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bb79d30012d7a150005ec1aa8000e01531e..."} 
[2026-07-01 08:58:56] local.INFO: Processing buffer {"connection_id":118857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bb79d30012d7a150005ec1aa8000e01531e..."} 
[2026-07-01 08:58:56] local.INFO: Packet analysis {"connection_id":118857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bb7"} 
[2026-07-01 08:58:56] local.INFO: Extracted packet for processing {"connection_id":118857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bb7"} 
[2026-07-01 08:58:56] local.INFO: GPS Element Parsed {"raw_longitude":762975488,"raw_latitude":99359400,"longitude_deg":76.2975488,"latitude_deg":9.93594,"altitude":14,"angle":339,"satellites":30,"speed":21,"hex_longitude":"2d7a1500","hex_latitude":"05ec1aa8","is_valid_coordinates":true} 
[2026-07-01 08:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:58:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416366592001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:58:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101248219006107648,"note":"Value kept but may cause issues"} 
[2026-07-01 08:58:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800315172292534272,"note":"Value kept but may cause issues"} 
[2026-07-01 08:58:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:58:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782876446000,"timestamp_ms":1782876446000,"timestamp_seconds":1782876446,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bb79d30"} 
[2026-07-01 08:58:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:58:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-01 08:58:56] 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-01 08:58:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:58:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:58:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:58:56] local.INFO: Teltonika packet parsed successfully {"connection_id":118857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:58:56] local.INFO: Passing IMEI to GPS processor {"connection_id":118857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:58:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":118857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:58:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:58:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416366592001,"66":12982,"156":206,"87":13824,"24":21,"16":101248219006107648,"45":8800315172292534272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-01 08:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416366592001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:58:56] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-01 08:58:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101248219006107648,"km_value":101248219006107.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:58:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800315172292534272,"description":"Unknown IO ID 45"} 
[2026-07-01 08:58:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416366592001,"power":12982,"unknown_156":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8800315172292534272}} 
[2026-07-01 08:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":118857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416736,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:58:56] local.INFO: GPS data processed {"connection_id":118857,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:58:56] local.INFO: Acknowledgment sent {"connection_id":118857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:58:58] local.INFO: TCP Data received {"connection_id":118858,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bb65128012d0dd68006ead220001e01492a..."} 
[2026-07-01 08:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bb65128012d0dd68006ead220001e01492a..."} 
[2026-07-01 08:58:58] local.INFO: Processing buffer {"connection_id":118858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bb65128012d0dd68006ead220001e01492a..."} 
[2026-07-01 08:58:58] local.INFO: Packet analysis {"connection_id":118858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bb6"} 
[2026-07-01 08:58:58] local.INFO: Extracted packet for processing {"connection_id":118858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bb6"} 
[2026-07-01 08:58:58] local.INFO: GPS Element Parsed {"raw_longitude":755881600,"raw_latitude":116052512,"longitude_deg":75.58816,"latitude_deg":11.6052512,"altitude":30,"angle":329,"satellites":42,"speed":22,"hex_longitude":"2d0dd680","hex_latitude":"06ead220","is_valid_coordinates":true} 
[2026-07-01 08:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416348160001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:58:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333106565282267136,"note":"Value kept but may cause issues"} 
[2026-07-01 08:58:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":997406609683546112,"note":"Value kept but may cause issues"} 
[2026-07-01 08:58:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:58:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782876361000,"timestamp_ms":1782876361000,"timestamp_seconds":1782876361,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bb65128"} 
[2026-07-01 08:58:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:58:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 08:58:58] 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-01 08:58:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:58:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:58:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:58:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:58:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:58:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:58:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:58:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:58:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:58:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416348160001,"66":27843,"2":206,"80":6400,"24":22,"16":333106565282267136,"45":997406609683546112},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,80,24,16,45]} 
[2026-07-01 08:58:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:58:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:58:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416348160001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:58:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:58:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333106565282267136,"km_value":333106565282267.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:58:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":997406609683546112,"description":"Unknown IO ID 45"} 
[2026-07-01 08:58:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416348160001,"power":27843,"power_alt":206,"unknown_80":6400,"ignition":22,"odometer":null,"unknown_45":997406609683546112}} 
[2026-07-01 08:58:58] local.INFO: DEBUG: GPS processor result {"connection_id":118858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:58:58] local.INFO: GPS data processed {"connection_id":118858,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:58:58] local.INFO: Acknowledgment sent {"connection_id":118858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:59:16] local.INFO: TCP Data received {"connection_id":119629,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 08:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119629,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 08:59:16] local.INFO: Processing buffer {"connection_id":119629,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 08:59:16] local.INFO: IMEI packet received {"connection_id":119629,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 08:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":119629,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:59:19] local.INFO: TCP Data received {"connection_id":118973,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118973,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:59:19] local.INFO: Processing buffer {"connection_id":118973,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:59:19] local.INFO: IMEI packet received {"connection_id":118973,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 08:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":118973,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:59:21] local.INFO: TCP Data received {"connection_id":118859,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:59:21] local.INFO: Processing buffer {"connection_id":118859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:59:21] local.INFO: IMEI packet received {"connection_id":118859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 08:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":118859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 08:59:23] local.INFO: TCP Data received {"connection_id":118973,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118973,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:59:23] local.INFO: Processing buffer {"connection_id":118973,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 08:59:23] local.INFO: IMEI packet received {"connection_id":118973,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 08:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":118973,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:59:24] local.INFO: TCP Data received {"connection_id":118973,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bb7eb50012d7a0bc005ec2e98000a015429..."} 
[2026-07-01 08:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bb7eb50012d7a0bc005ec2e98000a015429..."} 
[2026-07-01 08:59:24] local.INFO: Processing buffer {"connection_id":118973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bb7eb50012d7a0bc005ec2e98000a015429..."} 
[2026-07-01 08:59:24] local.INFO: Packet analysis {"connection_id":118973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bb7"} 
[2026-07-01 08:59:24] local.INFO: Extracted packet for processing {"connection_id":118973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bb7"} 
[2026-07-01 08:59:24] local.INFO: GPS Element Parsed {"raw_longitude":762973120,"raw_latitude":99364504,"longitude_deg":76.297312,"latitude_deg":9.9364504,"altitude":10,"angle":340,"satellites":41,"speed":8,"hex_longitude":"2d7a0bc0","hex_latitude":"05ec2e98","is_valid_coordinates":true} 
[2026-07-01 08:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416370176001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101248493884014592,"note":"Value kept but may cause issues"} 
[2026-07-01 08:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796937472574138368,"note":"Value kept but may cause issues"} 
[2026-07-01 08:59:24] 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-01 08:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782876466000,"timestamp_ms":1782876466000,"timestamp_seconds":1782876466,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bb7eb50"} 
[2026-07-01 08:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:59:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-01 08:59: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-01 08:59:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":118973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":118973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":118973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:59:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416370176001,"66":13254,"156":206,"87":13824,"24":8,"16":101248493884014592,"45":8796937472574138368},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-01 08:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416370176001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:59:24] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-01 08:59:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101248493884014592,"km_value":101248493884014.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796937472574138368,"description":"Unknown IO ID 45"} 
[2026-07-01 08:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416370176001,"power":13254,"unknown_156":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8796937472574138368}} 
[2026-07-01 08:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":118973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416738,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:59:24] local.INFO: GPS data processed {"connection_id":118973,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:59:24] local.INFO: Acknowledgment sent {"connection_id":118973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:59:26] local.INFO: TCP Data received {"connection_id":118859,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:59:26] local.INFO: Processing buffer {"connection_id":118859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 08:59:26] local.INFO: IMEI packet received {"connection_id":118859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 08:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":118859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 08:59:30] local.INFO: TCP Data received {"connection_id":118859,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bb660c8012d0dd24006ead918001e01322a..."} 
[2026-07-01 08:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bb660c8012d0dd24006ead918001e01322a..."} 
[2026-07-01 08:59:30] local.INFO: Processing buffer {"connection_id":118859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bb660c8012d0dd24006ead918001e01322a..."} 
[2026-07-01 08:59:30] local.INFO: Packet analysis {"connection_id":118859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bb6"} 
[2026-07-01 08:59:30] local.INFO: Extracted packet for processing {"connection_id":118859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bb6"} 
[2026-07-01 08:59:30] local.INFO: GPS Element Parsed {"raw_longitude":755880512,"raw_latitude":116054296,"longitude_deg":75.5880512,"latitude_deg":11.6054296,"altitude":30,"angle":306,"satellites":42,"speed":19,"hex_longitude":"2d0dd240","hex_latitude":"06ead918","is_valid_coordinates":true} 
[2026-07-01 08:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416348416001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333106668361482240,"note":"Value kept but may cause issues"} 
[2026-07-01 08:59:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":997125134706941952,"note":"Value kept but may cause issues"} 
[2026-07-01 08:59:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 08:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782876365000,"timestamp_ms":1782876365000,"timestamp_seconds":1782876365,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bb660c8"} 
[2026-07-01 08:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:59:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 08:59:30] 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-01 08:59:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":118859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":118859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":118859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 08:59:30] 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-01 08:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 08:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 08:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416348416001,"66":27789,"2":206,"80":6400,"24":19,"16":333106668361482240,"45":997125134706941952},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,80,24,16,45]} 
[2026-07-01 08:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 08:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 08:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416348416001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:59:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 08:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333106668361482240,"km_value":333106668361482.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:59:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":997125134706941952,"description":"Unknown IO ID 45"} 
[2026-07-01 08:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416348416001,"power":27789,"power_alt":206,"unknown_80":6400,"ignition":19,"odometer":null,"unknown_45":997125134706941952}} 
[2026-07-01 08:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":118859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:59:30] local.INFO: GPS data processed {"connection_id":118859,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:59:30] local.INFO: Acknowledgment sent {"connection_id":118859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 08:59:55] local.INFO: TCP Data received {"connection_id":118973,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bb83d58012d7a080005ec3fe0000d015925..."} 
[2026-07-01 08:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bb83d58012d7a080005ec3fe0000d015925..."} 
[2026-07-01 08:59:55] local.INFO: Processing buffer {"connection_id":118973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bb83d58012d7a080005ec3fe0000d015925..."} 
[2026-07-01 08:59:55] local.INFO: Packet analysis {"connection_id":118973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bb8"} 
[2026-07-01 08:59:55] local.INFO: Extracted packet for processing {"connection_id":118973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bb8"} 
[2026-07-01 08:59:55] local.INFO: GPS Element Parsed {"raw_longitude":762972160,"raw_latitude":99368928,"longitude_deg":76.297216,"latitude_deg":9.9368928,"altitude":13,"angle":345,"satellites":37,"speed":5,"hex_longitude":"2d7a0800","hex_latitude":"05ec3fe0","is_valid_coordinates":true} 
[2026-07-01 08:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 08:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416375296001,"note":"Value kept but may cause issues"} 
[2026-07-01 08:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101248717222313984,"note":"Value kept but may cause issues"} 
[2026-07-01 08:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794333829040871424,"note":"Value kept but may cause issues"} 
[2026-07-01 08:59: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-01 08:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782876487000,"timestamp_ms":1782876487000,"timestamp_seconds":1782876487,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bb83d58"} 
[2026-07-01 08:59:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 08:59:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 08:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-01 08:59:55] 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-01 08:59:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 08:59:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 08:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 08:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":118973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 08:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":118973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":118973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 08:59:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 08:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 08:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 08:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416375296001,"66":12982,"156":206,"87":13824,"24":5,"16":101248717222313984,"45":8794333829040871424},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-01 08:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 08:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 08:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416375296001,"description":"Unknown IO ID 0"} 
[2026-07-01 08:59:55] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-01 08:59:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 08:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101248717222313984,"km_value":101248717222313.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 08:59:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794333829040871424,"description":"Unknown IO ID 45"} 
[2026-07-01 08:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416375296001,"power":12982,"unknown_156":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8794333829040871424}} 
[2026-07-01 08:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":118973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416740,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 08:59:55] local.INFO: GPS data processed {"connection_id":118973,"processed":1,"errors":0,"total":1} 
[2026-07-01 08:59:55] local.INFO: Acknowledgment sent {"connection_id":118973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:00:17] local.INFO: TCP Data received {"connection_id":120732,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120732,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:00:17] local.INFO: Processing buffer {"connection_id":120732,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:00:17] local.INFO: IMEI packet received {"connection_id":120732,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 09:00:17] local.INFO: IMEI acknowledgment sent {"connection_id":120732,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:00:18] local.INFO: TCP Data received {"connection_id":120732,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120732,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:00:18] local.INFO: Processing buffer {"connection_id":120732,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:00:18] local.INFO: IMEI packet received {"connection_id":120732,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":120732,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:00:19] local.INFO: TCP Data received {"connection_id":120732,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120732,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:00:19] local.INFO: Processing buffer {"connection_id":120732,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:00:19] local.INFO: IMEI packet received {"connection_id":120732,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":120732,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:00:20] local.INFO: TCP Data received {"connection_id":120732,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120732,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:00:20] local.INFO: Processing buffer {"connection_id":120732,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:00:20] local.INFO: IMEI packet received {"connection_id":120732,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:00:20] local.INFO: IMEI acknowledgment sent {"connection_id":120732,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:00:21] local.INFO: TCP Data received {"connection_id":119630,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:00:21] local.INFO: Processing buffer {"connection_id":119630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:00:21] local.INFO: IMEI packet received {"connection_id":119630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 09:00:21] local.INFO: IMEI acknowledgment sent {"connection_id":119630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:00:22] local.INFO: TCP Data received {"connection_id":118859,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bb66898012d0dcf0006eadaf8001e01272b..."} 
[2026-07-01 09:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bb66898012d0dcf0006eadaf8001e01272b..."} 
[2026-07-01 09:00:22] local.INFO: Processing buffer {"connection_id":118859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bb66898012d0dcf0006eadaf8001e01272b..."} 
[2026-07-01 09:00:22] local.INFO: Packet analysis {"connection_id":118859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bb6"} 
[2026-07-01 09:00:22] local.INFO: Extracted packet for processing {"connection_id":118859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bb6"} 
[2026-07-01 09:00:22] local.INFO: GPS Element Parsed {"raw_longitude":755879680,"raw_latitude":116054776,"longitude_deg":75.587968,"latitude_deg":11.6054776,"altitude":30,"angle":295,"satellites":43,"speed":20,"hex_longitude":"2d0dcf00","hex_latitude":"06eadaf8","is_valid_coordinates":true} 
[2026-07-01 09:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416349440001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333106711311155200,"note":"Value kept but may cause issues"} 
[2026-07-01 09:00:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":995928866056378368,"note":"Value kept but may cause issues"} 
[2026-07-01 09:00:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782876367000,"timestamp_ms":1782876367000,"timestamp_seconds":1782876367,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bb66898"} 
[2026-07-01 09:00:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:00: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-01 09:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-01 09:00:22] 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-01 09:00:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:00:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":118859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":118859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":118859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:00:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416349440001,"66":27974,"2":206,"80":6400,"24":20,"16":333106711311155200,"45":995928866056378368},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,80,24,16,45]} 
[2026-07-01 09:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416349440001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:00:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333106711311155200,"km_value":333106711311155.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":995928866056378368,"description":"Unknown IO ID 45"} 
[2026-07-01 09:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416349440001,"power":27974,"power_alt":206,"unknown_80":6400,"ignition":20,"odometer":null,"unknown_45":995928866056378368}} 
[2026-07-01 09:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":118859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:00:22] local.INFO: GPS data processed {"connection_id":118859,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:00:22] local.INFO: Acknowledgment sent {"connection_id":118859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:00:26] local.INFO: TCP Data received {"connection_id":119630,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:00:26] local.INFO: Processing buffer {"connection_id":119630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:00:26] local.INFO: IMEI packet received {"connection_id":119630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":119630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:00:27] local.INFO: TCP Data received {"connection_id":119630,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bb66c80012d0dccc006eadbc0001e01272c..."} 
[2026-07-01 09:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bb66c80012d0dccc006eadbc0001e01272c..."} 
[2026-07-01 09:00:27] local.INFO: Processing buffer {"connection_id":119630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bb66c80012d0dccc006eadbc0001e01272c..."} 
[2026-07-01 09:00:27] local.INFO: Packet analysis {"connection_id":119630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bb6"} 
[2026-07-01 09:00:27] local.INFO: Extracted packet for processing {"connection_id":119630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bb6"} 
[2026-07-01 09:00:27] local.INFO: GPS Element Parsed {"raw_longitude":755879104,"raw_latitude":116054976,"longitude_deg":75.5879104,"latitude_deg":11.6054976,"altitude":30,"angle":295,"satellites":44,"speed":20,"hex_longitude":"2d0dccc0","hex_latitude":"06eadbc0","is_valid_coordinates":true} 
[2026-07-01 09:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:00:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416349952001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:00:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333106741375926272,"note":"Value kept but may cause issues"} 
[2026-07-01 09:00:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":995014072382191616,"note":"Value kept but may cause issues"} 
[2026-07-01 09:00:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:00:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782876368000,"timestamp_ms":1782876368000,"timestamp_seconds":1782876368,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bb66c80"} 
[2026-07-01 09:00:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:00:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-01 09:00:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:00:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:00:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:00:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:00:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:00:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:00:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:00:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:00:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:00:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:00:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416349952001,"66":27974,"2":206,"80":6400,"24":20,"16":333106741375926272,"45":995014072382191616},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,80,24,16,45]} 
[2026-07-01 09:00:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:00:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:00:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416349952001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:00:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:00:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333106741375926272,"km_value":333106741375926.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:00:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":995014072382191616,"description":"Unknown IO ID 45"} 
[2026-07-01 09:00:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416349952001,"power":27974,"power_alt":206,"unknown_80":6400,"ignition":20,"odometer":null,"unknown_45":995014072382191616}} 
[2026-07-01 09:00:27] local.INFO: DEBUG: GPS processor result {"connection_id":119630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:00:27] local.INFO: GPS data processed {"connection_id":119630,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:00:27] local.INFO: Acknowledgment sent {"connection_id":119630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:00:59] local.INFO: TCP Data received {"connection_id":119630,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bb66c80012d0dccc006eadbc0001e01272c..."} 
[2026-07-01 09:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bb66c80012d0dccc006eadbc0001e01272c..."} 
[2026-07-01 09:00:59] local.INFO: Processing buffer {"connection_id":119630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bb66c80012d0dccc006eadbc0001e01272c..."} 
[2026-07-01 09:00:59] local.INFO: Packet analysis {"connection_id":119630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bb6"} 
[2026-07-01 09:00:59] local.INFO: Extracted packet for processing {"connection_id":119630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bb6"} 
[2026-07-01 09:00:59] local.INFO: GPS Element Parsed {"raw_longitude":755879104,"raw_latitude":116054976,"longitude_deg":75.5879104,"latitude_deg":11.6054976,"altitude":30,"angle":295,"satellites":44,"speed":20,"hex_longitude":"2d0dccc0","hex_latitude":"06eadbc0","is_valid_coordinates":true} 
[2026-07-01 09:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416349952001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333106741375926272,"note":"Value kept but may cause issues"} 
[2026-07-01 09:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":995014072382191616,"note":"Value kept but may cause issues"} 
[2026-07-01 09:00:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782876368000,"timestamp_ms":1782876368000,"timestamp_seconds":1782876368,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bb66c80"} 
[2026-07-01 09: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-01 09:00:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-01 09:00:59] 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-01 09: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-01 09: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-01 09:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:00: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-01 09:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416349952001,"66":27974,"2":206,"80":6400,"24":20,"16":333106741375926272,"45":995014072382191616},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,80,24,16,45]} 
[2026-07-01 09:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416349952001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:00:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333106741375926272,"km_value":333106741375926.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":995014072382191616,"description":"Unknown IO ID 45"} 
[2026-07-01 09:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416349952001,"power":27974,"power_alt":206,"unknown_80":6400,"ignition":20,"odometer":null,"unknown_45":995014072382191616}} 
[2026-07-01 09:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":119630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:00:59] local.INFO: GPS data processed {"connection_id":119630,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:00:59] local.INFO: Acknowledgment sent {"connection_id":119630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:01:21] local.INFO: TCP Data received {"connection_id":118976,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:01:21] local.INFO: Processing buffer {"connection_id":118976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:01:21] local.INFO: IMEI packet received {"connection_id":118976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 09:01:21] local.INFO: IMEI acknowledgment sent {"connection_id":118976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:01:26] local.INFO: TCP Data received {"connection_id":118976,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:01:26] local.INFO: Processing buffer {"connection_id":118976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:01:26] local.INFO: IMEI packet received {"connection_id":118976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":118976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:01:27] local.INFO: TCP Data received {"connection_id":118976,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bb66c80012d0dccc006eadbc0001e01272c..."} 
[2026-07-01 09:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bb66c80012d0dccc006eadbc0001e01272c..."} 
[2026-07-01 09:01:27] local.INFO: Processing buffer {"connection_id":118976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bb66c80012d0dccc006eadbc0001e01272c..."} 
[2026-07-01 09:01:27] local.INFO: Packet analysis {"connection_id":118976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bb6"} 
[2026-07-01 09:01:27] local.INFO: Extracted packet for processing {"connection_id":118976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bb6"} 
[2026-07-01 09:01:27] local.INFO: GPS Element Parsed {"raw_longitude":755879104,"raw_latitude":116054976,"longitude_deg":75.5879104,"latitude_deg":11.6054976,"altitude":30,"angle":295,"satellites":44,"speed":20,"hex_longitude":"2d0dccc0","hex_latitude":"06eadbc0","is_valid_coordinates":true} 
[2026-07-01 09:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416349952001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333106741375926272,"note":"Value kept but may cause issues"} 
[2026-07-01 09:01:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":995014072382191616,"note":"Value kept but may cause issues"} 
[2026-07-01 09:01:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782876368000,"timestamp_ms":1782876368000,"timestamp_seconds":1782876368,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bb66c80"} 
[2026-07-01 09:01:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:01:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-01 09:01:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:01:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:01:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:01:27] 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-01 09:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:01:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416349952001,"66":27974,"2":206,"80":6400,"24":20,"16":333106741375926272,"45":995014072382191616},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,80,24,16,45]} 
[2026-07-01 09:01:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:01:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:01:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416349952001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:01:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:01:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333106741375926272,"km_value":333106741375926.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:01:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":995014072382191616,"description":"Unknown IO ID 45"} 
[2026-07-01 09:01:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416349952001,"power":27974,"power_alt":206,"unknown_80":6400,"ignition":20,"odometer":null,"unknown_45":995014072382191616}} 
[2026-07-01 09:01:27] local.INFO: DEBUG: GPS processor result {"connection_id":118976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:01:27] local.INFO: GPS data processed {"connection_id":118976,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:01:27] local.INFO: Acknowledgment sent {"connection_id":118976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:01:59] local.INFO: TCP Data received {"connection_id":118976,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bbb17d0012d0d918006eaf948001c01272a..."} 
[2026-07-01 09:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bbb17d0012d0d918006eaf948001c01272a..."} 
[2026-07-01 09:01:59] local.INFO: Processing buffer {"connection_id":118976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bbb17d0012d0d918006eaf948001c01272a..."} 
[2026-07-01 09:01:59] local.INFO: Packet analysis {"connection_id":118976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bbb"} 
[2026-07-01 09:01:59] local.INFO: Extracted packet for processing {"connection_id":118976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bbb"} 
[2026-07-01 09:01:59] local.INFO: GPS Element Parsed {"raw_longitude":755863936,"raw_latitude":116062536,"longitude_deg":75.5863936,"latitude_deg":11.6062536,"altitude":28,"angle":295,"satellites":42,"speed":0,"hex_longitude":"2d0d9180","hex_latitude":"06eaf948","is_valid_coordinates":true} 
[2026-07-01 09: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-01 09:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416350208001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333106741375926272,"note":"Value kept but may cause issues"} 
[2026-07-01 09:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":994380753684643840,"note":"Value kept but may cause issues"} 
[2026-07-01 09:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782876674000,"timestamp_ms":1782876674000,"timestamp_seconds":1782876674,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bbb17d0"} 
[2026-07-01 09: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-01 09:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-01 09:01:59] 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-01 09: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-01 09: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-01 09:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:01:59] 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-01 09:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416350208001,"66":26321,"84":206,"80":6400,"24":0,"16":333106741375926272,"45":994380753684643840},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,80,24,16,45]} 
[2026-07-01 09:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416350208001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:01:59] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-07-01 09:01:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333106741375926272,"km_value":333106741375926.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":994380753684643840,"description":"Unknown IO ID 45"} 
[2026-07-01 09:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416350208001,"power":26321,"unknown_84":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":994380753684643840}} 
[2026-07-01 09:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":118976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:01:59] local.INFO: GPS data processed {"connection_id":118976,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:01:59] local.INFO: Acknowledgment sent {"connection_id":118976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:02:26] local.INFO: TCP Data received {"connection_id":118860,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:02:26] local.INFO: Processing buffer {"connection_id":118860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:02:26] local.INFO: IMEI packet received {"connection_id":118860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 09:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":118860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:02:31] local.INFO: TCP Data received {"connection_id":118860,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:02:31] local.INFO: Processing buffer {"connection_id":118860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:02:31] local.INFO: IMEI packet received {"connection_id":118860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":118860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:02:33] local.INFO: TCP Data received {"connection_id":118860,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bbb17d0012d0d918006eaf948001c01272a..."} 
[2026-07-01 09:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bbb17d0012d0d918006eaf948001c01272a..."} 
[2026-07-01 09:02:33] local.INFO: Processing buffer {"connection_id":118860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bbb17d0012d0d918006eaf948001c01272a..."} 
[2026-07-01 09:02:33] local.INFO: Packet analysis {"connection_id":118860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bbb"} 
[2026-07-01 09:02:33] local.INFO: Extracted packet for processing {"connection_id":118860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bbb"} 
[2026-07-01 09:02:33] local.INFO: GPS Element Parsed {"raw_longitude":755863936,"raw_latitude":116062536,"longitude_deg":75.5863936,"latitude_deg":11.6062536,"altitude":28,"angle":295,"satellites":42,"speed":0,"hex_longitude":"2d0d9180","hex_latitude":"06eaf948","is_valid_coordinates":true} 
[2026-07-01 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-01 09:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416350208001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333106741375926272,"note":"Value kept but may cause issues"} 
[2026-07-01 09:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":994380753684643840,"note":"Value kept but may cause issues"} 
[2026-07-01 09:02:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782876674000,"timestamp_ms":1782876674000,"timestamp_seconds":1782876674,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bbb17d0"} 
[2026-07-01 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-01 09:02:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-01 09:02:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 09:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":118860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":118860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":118860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416350208001,"66":26321,"84":206,"80":6400,"24":0,"16":333106741375926272,"45":994380753684643840},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,80,24,16,45]} 
[2026-07-01 09:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416350208001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:02:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-07-01 09:02:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333106741375926272,"km_value":333106741375926.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":994380753684643840,"description":"Unknown IO ID 45"} 
[2026-07-01 09:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416350208001,"power":26321,"unknown_84":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":994380753684643840}} 
[2026-07-01 09:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":118860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:02:33] local.INFO: GPS data processed {"connection_id":118860,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:02:33] local.INFO: Acknowledgment sent {"connection_id":118860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:03:04] local.INFO: TCP Data received {"connection_id":118860,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bbb17d0012d0d918006eaf948001c01272a..."} 
[2026-07-01 09:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bbb17d0012d0d918006eaf948001c01272a..."} 
[2026-07-01 09:03:04] local.INFO: Processing buffer {"connection_id":118860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bbb17d0012d0d918006eaf948001c01272a..."} 
[2026-07-01 09:03:04] local.INFO: Packet analysis {"connection_id":118860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bbb"} 
[2026-07-01 09:03:04] local.INFO: Extracted packet for processing {"connection_id":118860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bbb"} 
[2026-07-01 09:03:04] local.INFO: GPS Element Parsed {"raw_longitude":755863936,"raw_latitude":116062536,"longitude_deg":75.5863936,"latitude_deg":11.6062536,"altitude":28,"angle":295,"satellites":42,"speed":0,"hex_longitude":"2d0d9180","hex_latitude":"06eaf948","is_valid_coordinates":true} 
[2026-07-01 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-01 09:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416350208001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333106741375926272,"note":"Value kept but may cause issues"} 
[2026-07-01 09:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":994380753684643840,"note":"Value kept but may cause issues"} 
[2026-07-01 09:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782876674000,"timestamp_ms":1782876674000,"timestamp_seconds":1782876674,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bbb17d0"} 
[2026-07-01 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-01 09:03:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-01 09:03:04] 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-01 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-01 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-01 09:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":118860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":118860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":118860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:03:04] local.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-01 09:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416350208001,"66":26321,"84":206,"80":6400,"24":0,"16":333106741375926272,"45":994380753684643840},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,80,24,16,45]} 
[2026-07-01 09:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416350208001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:03:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-07-01 09:03:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333106741375926272,"km_value":333106741375926.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":994380753684643840,"description":"Unknown IO ID 45"} 
[2026-07-01 09:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416350208001,"power":26321,"unknown_84":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":994380753684643840}} 
[2026-07-01 09:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":118860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:03:04] local.INFO: GPS data processed {"connection_id":118860,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:03:04] local.INFO: Acknowledgment sent {"connection_id":118860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:03:21] local.INFO: TCP Data received {"connection_id":118977,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:03:21] local.INFO: Processing buffer {"connection_id":118977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:03:21] local.INFO: IMEI packet received {"connection_id":118977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 09:03:21] local.INFO: IMEI acknowledgment sent {"connection_id":118977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:03:26] local.INFO: TCP Data received {"connection_id":118977,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:03:26] local.INFO: Processing buffer {"connection_id":118977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:03:26] local.INFO: IMEI packet received {"connection_id":118977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":118977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:03:31] local.INFO: TCP Data received {"connection_id":118977,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bbc34f8012d0d918006eaf948001c012727..."} 
[2026-07-01 09:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bbc34f8012d0d918006eaf948001c012727..."} 
[2026-07-01 09:03:31] local.INFO: Processing buffer {"connection_id":118977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bbc34f8012d0d918006eaf948001c012727..."} 
[2026-07-01 09:03:31] local.INFO: Packet analysis {"connection_id":118977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bbc"} 
[2026-07-01 09:03:31] local.INFO: Extracted packet for processing {"connection_id":118977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bbc"} 
[2026-07-01 09:03:31] local.INFO: GPS Element Parsed {"raw_longitude":755863936,"raw_latitude":116062536,"longitude_deg":75.5863936,"latitude_deg":11.6062536,"altitude":28,"angle":295,"satellites":39,"speed":0,"hex_longitude":"2d0d9180","hex_latitude":"06eaf948","is_valid_coordinates":true} 
[2026-07-01 09:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416428544001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333106741375926272,"note":"Value kept but may cause issues"} 
[2026-07-01 09:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":977703361316472832,"note":"Value kept but may cause issues"} 
[2026-07-01 09:03:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782876747000,"timestamp_ms":1782876747000,"timestamp_seconds":1782876747,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bbc34f8"} 
[2026-07-01 09:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-07-01 09:03:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:03:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":118977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":118977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":118977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:03:31] 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-01 09:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416428544001,"66":26223,"84":206,"80":6400,"24":0,"16":333106741375926272,"45":977703361316472832},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,80,24,16,45]} 
[2026-07-01 09:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416428544001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:03:31] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-07-01 09:03:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333106741375926272,"km_value":333106741375926.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":977703361316472832,"description":"Unknown IO ID 45"} 
[2026-07-01 09:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416428544001,"power":26223,"unknown_84":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":977703361316472832}} 
[2026-07-01 09:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":118977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:03:31] local.INFO: GPS data processed {"connection_id":118977,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:03:31] local.INFO: Acknowledgment sent {"connection_id":118977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:04:21] local.INFO: TCP Data received {"connection_id":120735,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:04:21] local.INFO: Processing buffer {"connection_id":120735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:04:21] local.INFO: IMEI packet received {"connection_id":120735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 09:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":120735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:04:21] local.INFO: TCP Data received {"connection_id":120735,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:04:21] local.INFO: Processing buffer {"connection_id":120735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:04:21] local.INFO: IMEI packet received {"connection_id":120735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":120735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:04:26] local.INFO: TCP Data received {"connection_id":120735,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:04:26] local.INFO: Processing buffer {"connection_id":120735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:04:26] local.INFO: IMEI packet received {"connection_id":120735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":120735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:04:27] local.INFO: TCP Data received {"connection_id":120735,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bbcdcf0012d0d85c006eafeb0001c012029..."} 
[2026-07-01 09:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bbcdcf0012d0d85c006eafeb0001c012029..."} 
[2026-07-01 09:04:27] local.INFO: Processing buffer {"connection_id":120735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bbcdcf0012d0d85c006eafeb0001c012029..."} 
[2026-07-01 09:04:27] local.INFO: Packet analysis {"connection_id":120735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bbc"} 
[2026-07-01 09:04:27] local.INFO: Extracted packet for processing {"connection_id":120735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bbc"} 
[2026-07-01 09:04:27] local.INFO: GPS Element Parsed {"raw_longitude":755860928,"raw_latitude":116063920,"longitude_deg":75.5860928,"latitude_deg":11.606392,"altitude":28,"angle":288,"satellites":41,"speed":0,"hex_longitude":"2d0d85c0","hex_latitude":"06eafeb0","is_valid_coordinates":true} 
[2026-07-01 09:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:04:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416452864001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:04:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333106741375926272,"note":"Value kept but may cause issues"} 
[2026-07-01 09:04:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":974396030340476928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:04:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:04:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782876790000,"timestamp_ms":1782876790000,"timestamp_seconds":1782876790,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bbcdcf0"} 
[2026-07-01 09:04:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:04:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 09:04:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:04:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:04:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:04:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:04:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:04:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:04:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:04:27] 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-01 09:04:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:04:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:04:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416452864001,"66":27800,"84":206,"80":6400,"24":0,"16":333106741375926272,"45":974396030340476928},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,80,24,16,45]} 
[2026-07-01 09:04:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:04:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:04:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416452864001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:04:27] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-07-01 09:04:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:04:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333106741375926272,"km_value":333106741375926.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:04:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":974396030340476928,"description":"Unknown IO ID 45"} 
[2026-07-01 09:04:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416452864001,"power":27800,"unknown_84":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":974396030340476928}} 
[2026-07-01 09:04:27] local.INFO: DEBUG: GPS processor result {"connection_id":120735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:04:27] local.INFO: GPS data processed {"connection_id":120735,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:04:27] local.INFO: Acknowledgment sent {"connection_id":120735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:04:34] local.INFO: TCP Data received {"connection_id":118977,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bbc8ae8012d0d85c006eafeb0001c012027..."} 
[2026-07-01 09:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bbc8ae8012d0d85c006eafeb0001c012027..."} 
[2026-07-01 09:04:34] local.INFO: Processing buffer {"connection_id":118977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bbc8ae8012d0d85c006eafeb0001c012027..."} 
[2026-07-01 09:04:34] local.INFO: Packet analysis {"connection_id":118977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bbc"} 
[2026-07-01 09:04:34] local.INFO: Extracted packet for processing {"connection_id":118977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bbc"} 
[2026-07-01 09:04:34] local.INFO: GPS Element Parsed {"raw_longitude":755860928,"raw_latitude":116063920,"longitude_deg":75.5860928,"latitude_deg":11.606392,"altitude":28,"angle":288,"satellites":39,"speed":0,"hex_longitude":"2d0d85c0","hex_latitude":"06eafeb0","is_valid_coordinates":true} 
[2026-07-01 09:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416447232001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333106741375926272,"note":"Value kept but may cause issues"} 
[2026-07-01 09:04:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":977703361316472832,"note":"Value kept but may cause issues"} 
[2026-07-01 09:04:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782876769000,"timestamp_ms":1782876769000,"timestamp_seconds":1782876769,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bbc8ae8"} 
[2026-07-01 09:04:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:04:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-01 09:04:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:04:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:04:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":118977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":118977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":118977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:04:34] 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-01 09:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416447232001,"66":27821,"84":206,"80":6400,"24":0,"16":333106741375926272,"45":977703361316472832},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,80,24,16,45]} 
[2026-07-01 09:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416447232001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:04:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-07-01 09:04:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333106741375926272,"km_value":333106741375926.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:04:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":977703361316472832,"description":"Unknown IO ID 45"} 
[2026-07-01 09:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416447232001,"power":27821,"unknown_84":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":977703361316472832}} 
[2026-07-01 09:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":118977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:04:34] local.INFO: GPS data processed {"connection_id":118977,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:04:34] local.INFO: Acknowledgment sent {"connection_id":118977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:04:43] local.INFO: TCP Data received {"connection_id":118861,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118861,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:04:43] local.INFO: Processing buffer {"connection_id":118861,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:04:43] local.INFO: IMEI packet received {"connection_id":118861,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 09:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":118861,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:04:58] local.INFO: TCP Data received {"connection_id":120735,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bbd2ef8012d0d6b8006eb06c8001901212a..."} 
[2026-07-01 09:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bbd2ef8012d0d6b8006eb06c8001901212a..."} 
[2026-07-01 09:04:58] local.INFO: Processing buffer {"connection_id":120735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bbd2ef8012d0d6b8006eb06c8001901212a..."} 
[2026-07-01 09:04:58] local.INFO: Packet analysis {"connection_id":120735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bbd"} 
[2026-07-01 09:04:58] local.INFO: Extracted packet for processing {"connection_id":120735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bbd"} 
[2026-07-01 09:04:58] local.INFO: GPS Element Parsed {"raw_longitude":755854208,"raw_latitude":116065992,"longitude_deg":75.5854208,"latitude_deg":11.6065992,"altitude":25,"angle":289,"satellites":42,"speed":30,"hex_longitude":"2d0d6b80","hex_latitude":"06eb06c8","is_valid_coordinates":true} 
[2026-07-01 09:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:04:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416458240001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:04:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333107076383375360,"note":"Value kept but may cause issues"} 
[2026-07-01 09:04:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":974396030340476928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:04:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:04:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782876811000,"timestamp_ms":1782876811000,"timestamp_seconds":1782876811,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bbd2ef8"} 
[2026-07-01 09:04:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:04:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 09:04:58] 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-01 09:04:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:04:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:04:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:04:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:04:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:04:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:04:58] 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-01 09:04:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:04:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:04:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416458240001,"66":27745,"84":206,"80":6400,"24":30,"16":333107076383375360,"45":974396030340476928},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,80,24,16,45]} 
[2026-07-01 09:04:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:04:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:04:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416458240001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:04:58] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-07-01 09:04:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:04:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333107076383375360,"km_value":333107076383375.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:04:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":974396030340476928,"description":"Unknown IO ID 45"} 
[2026-07-01 09:04:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416458240001,"power":27745,"unknown_84":206,"unknown_80":6400,"ignition":30,"odometer":null,"unknown_45":974396030340476928}} 
[2026-07-01 09:04:58] local.INFO: DEBUG: GPS processor result {"connection_id":120735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:04:58] local.INFO: GPS data processed {"connection_id":120735,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:04:58] local.INFO: Acknowledgment sent {"connection_id":120735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:05:16] local.INFO: TCP Data received {"connection_id":120736,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120736,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:05:16] local.INFO: Processing buffer {"connection_id":120736,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:05:16] local.INFO: IMEI packet received {"connection_id":120736,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 09:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":120736,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:05:21] local.INFO: TCP Data received {"connection_id":120736,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120736,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:05:21] local.INFO: Processing buffer {"connection_id":120736,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:05:21] local.INFO: IMEI packet received {"connection_id":120736,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-01 09:05:21] local.INFO: IMEI acknowledgment sent {"connection_id":120736,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:05:22] local.INFO: TCP Data received {"connection_id":120736,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f1babba38012cb2a10007823b280049001b29..."} 
[2026-07-01 09:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1babba38012cb2a10007823b280049001b29..."} 
[2026-07-01 09:05:22] local.INFO: Processing buffer {"connection_id":120736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1babba38012cb2a10007823b280049001b29..."} 
[2026-07-01 09:05:22] local.INFO: Packet analysis {"connection_id":120736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bab"} 
[2026-07-01 09:05:22] local.INFO: Extracted packet for processing {"connection_id":120736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bab"} 
[2026-07-01 09:05:22] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975336,"longitude_deg":74.9904128,"latitude_deg":12.5975336,"altitude":73,"angle":27,"satellites":41,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-01 09:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416093696001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130042276758945792,"note":"Value kept but may cause issues"} 
[2026-07-01 09:05:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458277376,"note":"Value kept but may cause issues"} 
[2026-07-01 09:05:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782875667000,"timestamp_ms":1782875667000,"timestamp_seconds":1782875667,"priority":1,"record_length":96,"hex_timestamp":"0000019f1babba38"} 
[2026-07-01 09:05:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:05: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-01 09:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-01 09:05:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:05:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:05:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":120736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":120736,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-01 09:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":120736,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-01 09:05:22] 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-01 09:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-01 09:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-01 09:05:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416093696001,"66":25430,"184":206,"85":36096,"24":0,"16":130042276758945792,"44":-5575174831458277376},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-01 09:05:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-01 09:05:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-01 09:05:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416093696001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:05:22] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-01 09:05:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 09:05:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130042276758945792,"km_value":130042276758945.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:05:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458277376,"description":"Unknown IO ID 44"} 
[2026-07-01 09:05:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416093696001,"power":25430,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458277376}} 
[2026-07-01 09:05:22] local.INFO: DEBUG: GPS processor result {"connection_id":120736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416752,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:05:22] local.INFO: GPS data processed {"connection_id":120736,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:05:22] local.INFO: Acknowledgment sent {"connection_id":120736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:05:24] local.INFO: TCP Data received {"connection_id":120737,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120737,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:05:24] local.INFO: Processing buffer {"connection_id":120737,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:05:24] local.INFO: IMEI packet received {"connection_id":120737,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 09:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":120737,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:05:24] local.INFO: TCP Data received {"connection_id":120737,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bbe86b8012d79e3c005ecab00000f005f27..."} 
[2026-07-01 09:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bbe86b8012d79e3c005ecab00000f005f27..."} 
[2026-07-01 09:05:24] local.INFO: Processing buffer {"connection_id":120737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bbe86b8012d79e3c005ecab00000f005f27..."} 
[2026-07-01 09:05:24] local.INFO: Packet analysis {"connection_id":120737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bbe"} 
[2026-07-01 09:05:24] local.INFO: Extracted packet for processing {"connection_id":120737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bbe"} 
[2026-07-01 09:05:24] local.INFO: GPS Element Parsed {"raw_longitude":762962880,"raw_latitude":99396352,"longitude_deg":76.296288,"latitude_deg":9.9396352,"altitude":15,"angle":95,"satellites":39,"speed":3,"hex_longitude":"2d79e3c0","hex_latitude":"05ecab00","is_valid_coordinates":true} 
[2026-07-01 09:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:05:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416485376001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:05:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101251208303345664,"note":"Value kept but may cause issues"} 
[2026-07-01 09:05:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782722986259738624,"note":"Value kept but may cause issues"} 
[2026-07-01 09:05:24] 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-01 09:05:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782876899000,"timestamp_ms":1782876899000,"timestamp_seconds":1782876899,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bbe86b8"} 
[2026-07-01 09:05:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:05:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-01 09:05: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-01 09:05:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:05:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:05:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:05:24] local.INFO: Teltonika packet parsed successfully {"connection_id":120737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:05:24] local.INFO: Passing IMEI to GPS processor {"connection_id":120737,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:05:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":120737,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:05:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:05:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:05:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:05:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416485376001,"66":13059,"157":206,"87":13824,"24":3,"16":101251208303345664,"45":8782722986259738624},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 09:05:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:05:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:05:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416485376001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:05:24] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 09:05:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:05:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101251208303345664,"km_value":101251208303345.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:05:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782722986259738624,"description":"Unknown IO ID 45"} 
[2026-07-01 09:05:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416485376001,"power":13059,"unknown_157":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8782722986259738624}} 
[2026-07-01 09:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":120737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416753,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:05:24] local.INFO: GPS data processed {"connection_id":120737,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:05:24] local.INFO: Acknowledgment sent {"connection_id":120737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:05:31] local.INFO: TCP Data received {"connection_id":119634,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:05:31] local.INFO: Processing buffer {"connection_id":119634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:05:31] local.INFO: IMEI packet received {"connection_id":119634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 09:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":119634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:05:36] local.INFO: TCP Data received {"connection_id":119634,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:05:36] local.INFO: Processing buffer {"connection_id":119634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:05:36] local.INFO: IMEI packet received {"connection_id":119634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":119634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:05:37] local.INFO: TCP Data received {"connection_id":119634,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bbd5dd8012d0d498006eb1180001501292b..."} 
[2026-07-01 09:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bbd5dd8012d0d498006eb1180001501292b..."} 
[2026-07-01 09:05:37] local.INFO: Processing buffer {"connection_id":119634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bbd5dd8012d0d498006eb1180001501292b..."} 
[2026-07-01 09:05:37] local.INFO: Packet analysis {"connection_id":119634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bbd"} 
[2026-07-01 09:05:37] local.INFO: Extracted packet for processing {"connection_id":119634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bbd"} 
[2026-07-01 09:05:37] local.INFO: GPS Element Parsed {"raw_longitude":755845504,"raw_latitude":116068736,"longitude_deg":75.5845504,"latitude_deg":11.6068736,"altitude":21,"angle":297,"satellites":43,"speed":31,"hex_longitude":"2d0d4980","hex_latitude":"06eb1180","is_valid_coordinates":true} 
[2026-07-01 09:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416463616001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333107510175072256,"note":"Value kept but may cause issues"} 
[2026-07-01 09:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":967007312202352640,"note":"Value kept but may cause issues"} 
[2026-07-01 09:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782876823000,"timestamp_ms":1782876823000,"timestamp_seconds":1782876823,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bbd5dd8"} 
[2026-07-01 09:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 09:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":119634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":119634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":119634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416463616001,"66":27974,"84":206,"80":6400,"24":31,"16":333107510175072256,"45":967007312202352640},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,80,24,16,45]} 
[2026-07-01 09:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416463616001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:05:37] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-07-01 09:05:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333107510175072256,"km_value":333107510175072.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":967007312202352640,"description":"Unknown IO ID 45"} 
[2026-07-01 09:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416463616001,"power":27974,"unknown_84":206,"unknown_80":6400,"ignition":31,"odometer":null,"unknown_45":967007312202352640}} 
[2026-07-01 09:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":119634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:05:37] local.INFO: GPS data processed {"connection_id":119634,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:05:37] local.INFO: Acknowledgment sent {"connection_id":119634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:05:56] local.INFO: TCP Data received {"connection_id":120737,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bbf4620012d79ed4005ecaf18000d011824..."} 
[2026-07-01 09:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bbf4620012d79ed4005ecaf18000d011824..."} 
[2026-07-01 09:05:56] local.INFO: Processing buffer {"connection_id":120737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bbf4620012d79ed4005ecaf18000d011824..."} 
[2026-07-01 09:05:56] local.INFO: Packet analysis {"connection_id":120737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bbf"} 
[2026-07-01 09:05:56] local.INFO: Extracted packet for processing {"connection_id":120737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bbf"} 
[2026-07-01 09:05:56] local.INFO: GPS Element Parsed {"raw_longitude":762965312,"raw_latitude":99397400,"longitude_deg":76.2965312,"latitude_deg":9.93974,"altitude":13,"angle":280,"satellites":36,"speed":3,"hex_longitude":"2d79ed40","hex_latitude":"05ecaf18","is_valid_coordinates":true} 
[2026-07-01 09: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-01 09:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416498432001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101251569080598528,"note":"Value kept but may cause issues"} 
[2026-07-01 09:05:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8785819211003795456,"note":"Value kept but may cause issues"} 
[2026-07-01 09:05: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-01 09:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782876948000,"timestamp_ms":1782876948000,"timestamp_seconds":1782876948,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bbf4620"} 
[2026-07-01 09: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-01 09:05: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-01 09: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-01 09:05:56] 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-01 09: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-01 09: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-01 09:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":120737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":120737,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":120737,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:05:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416498432001,"66":12982,"157":206,"87":13824,"24":3,"16":101251569080598528,"45":8785819211003795456},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 09:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416498432001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:05:56] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 09:05:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101251569080598528,"km_value":101251569080598.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:05:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8785819211003795456,"description":"Unknown IO ID 45"} 
[2026-07-01 09:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416498432001,"power":12982,"unknown_157":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8785819211003795456}} 
[2026-07-01 09:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":120737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416755,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:05:56] local.INFO: GPS data processed {"connection_id":120737,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:05:56] local.INFO: Acknowledgment sent {"connection_id":120737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:06:12] local.INFO: TCP Data received {"connection_id":118862,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118862,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:06:12] local.INFO: Processing buffer {"connection_id":118862,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:06:12] local.INFO: IMEI packet received {"connection_id":118862,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 09:06:12] local.INFO: IMEI acknowledgment sent {"connection_id":118862,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:06:17] local.INFO: TCP Data received {"connection_id":118863,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118863,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:06:17] local.INFO: Processing buffer {"connection_id":118863,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:06:17] local.INFO: IMEI packet received {"connection_id":118863,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 09:06:17] local.INFO: IMEI acknowledgment sent {"connection_id":118863,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:06:18] local.INFO: TCP Data received {"connection_id":118863,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118863,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:06:18] local.INFO: Processing buffer {"connection_id":118863,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:06:18] local.INFO: IMEI packet received {"connection_id":118863,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:06:18] local.INFO: IMEI acknowledgment sent {"connection_id":118863,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:06:23] local.INFO: TCP Data received {"connection_id":118863,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118863,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:06:23] local.INFO: Processing buffer {"connection_id":118863,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:06:23] local.INFO: IMEI packet received {"connection_id":118863,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":118863,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:06:23] local.INFO: TCP Data received {"connection_id":118864,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:06:23] local.INFO: Processing buffer {"connection_id":118864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:06:23] local.INFO: IMEI packet received {"connection_id":118864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 09:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":118864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:06:23] local.INFO: TCP Data received {"connection_id":118863,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bbf4a08012d79ed0005ecaee8000d00ff25..."} 
[2026-07-01 09:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bbf4a08012d79ed0005ecaee8000d00ff25..."} 
[2026-07-01 09:06:23] local.INFO: Processing buffer {"connection_id":118863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bbf4a08012d79ed0005ecaee8000d00ff25..."} 
[2026-07-01 09:06:23] local.INFO: Packet analysis {"connection_id":118863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bbf"} 
[2026-07-01 09:06:23] local.INFO: Extracted packet for processing {"connection_id":118863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bbf"} 
[2026-07-01 09:06:23] local.INFO: GPS Element Parsed {"raw_longitude":762965248,"raw_latitude":99397352,"longitude_deg":76.2965248,"latitude_deg":9.9397352,"altitude":13,"angle":255,"satellites":37,"speed":2,"hex_longitude":"2d79ed00","hex_latitude":"05ecaee8","is_valid_coordinates":true} 
[2026-07-01 09:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416498688001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:06:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101251573375565824,"note":"Value kept but may cause issues"} 
[2026-07-01 09:06:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8785748842259617792,"note":"Value kept but may cause issues"} 
[2026-07-01 09:06:23] 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-01 09:06:23] local.INFO: AVL Record Parsed {"raw_timestamp":1782876949000,"timestamp_ms":1782876949000,"timestamp_seconds":1782876949,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bbf4a08"} 
[2026-07-01 09:06:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:06:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-01 09:06:23] 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-01 09:06:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:06:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:06:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:06:23] local.INFO: Teltonika packet parsed successfully {"connection_id":118863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:06:23] local.INFO: Passing IMEI to GPS processor {"connection_id":118863,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:06:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":118863,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:06:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:06:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:06:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:06:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416498688001,"66":13037,"157":206,"87":13824,"24":2,"16":101251573375565824,"45":8785748842259617792},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 09:06:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:06:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:06:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416498688001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:06:23] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 09:06:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:06:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101251573375565824,"km_value":101251573375565.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:06:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8785748842259617792,"description":"Unknown IO ID 45"} 
[2026-07-01 09:06:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416498688001,"power":13037,"unknown_157":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8785748842259617792}} 
[2026-07-01 09:06:23] local.INFO: DEBUG: GPS processor result {"connection_id":118863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416756,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:06:23] local.INFO: GPS data processed {"connection_id":118863,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:06:23] local.INFO: Acknowledgment sent {"connection_id":118863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:06:23] local.INFO: TCP Data received {"connection_id":118864,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:06:23] local.INFO: Processing buffer {"connection_id":118864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:06:23] local.INFO: IMEI packet received {"connection_id":118864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":118864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:06:26] local.INFO: TCP Data received {"connection_id":118864,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:06:26] local.INFO: Processing buffer {"connection_id":118864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:06:26] local.INFO: IMEI packet received {"connection_id":118864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":118864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:06:27] local.INFO: TCP Data received {"connection_id":118864,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bbedca8012d0c924006eb75e8001500cc2b..."} 
[2026-07-01 09:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bbedca8012d0c924006eb75e8001500cc2b..."} 
[2026-07-01 09:06:27] local.INFO: Processing buffer {"connection_id":118864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bbedca8012d0c924006eb75e8001500cc2b..."} 
[2026-07-01 09:06:27] local.INFO: Packet analysis {"connection_id":118864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bbe"} 
[2026-07-01 09:06:27] local.INFO: Extracted packet for processing {"connection_id":118864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bbe"} 
[2026-07-01 09:06:27] local.INFO: GPS Element Parsed {"raw_longitude":755798592,"raw_latitude":116094440,"longitude_deg":75.5798592,"latitude_deg":11.609444,"altitude":21,"angle":204,"satellites":43,"speed":13,"hex_longitude":"2d0c9240","hex_latitude":"06eb75e8","is_valid_coordinates":true} 
[2026-07-01 09:06:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:06:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416491520001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:06:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333110108630286336,"note":"Value kept but may cause issues"} 
[2026-07-01 09:06:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":905997611007668224,"note":"Value kept but may cause issues"} 
[2026-07-01 09:06:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:06:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782876921000,"timestamp_ms":1782876921000,"timestamp_seconds":1782876921,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bbedca8"} 
[2026-07-01 09:06:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:06:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09:06:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 09:06:27] 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-01 09:06:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:06:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:06:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:06:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:06:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:06:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:06:27] 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-01 09:06:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:06:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:06:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416491520001,"66":27908,"238":206,"80":6400,"24":13,"16":333110108630286336,"45":905997611007668224},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,80,24,16,45]} 
[2026-07-01 09:06:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:06:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:06:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416491520001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:06:27] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-07-01 09:06:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:06:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333110108630286336,"km_value":333110108630286.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:06:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":905997611007668224,"description":"Unknown IO ID 45"} 
[2026-07-01 09:06:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416491520001,"power":27908,"unknown_238":206,"unknown_80":6400,"ignition":13,"odometer":null,"unknown_45":905997611007668224}} 
[2026-07-01 09:06:27] local.INFO: DEBUG: GPS processor result {"connection_id":118864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:06:27] local.INFO: GPS data processed {"connection_id":118864,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:06:27] local.INFO: Acknowledgment sent {"connection_id":118864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:06:34] local.INFO: TCP Data received {"connection_id":118864,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bbee090012d0c91c006eb7490001500b32b..."} 
[2026-07-01 09:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bbee090012d0c91c006eb7490001500b32b..."} 
[2026-07-01 09:06:34] local.INFO: Processing buffer {"connection_id":118864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bbee090012d0c91c006eb7490001500b32b..."} 
[2026-07-01 09:06:34] local.INFO: Packet analysis {"connection_id":118864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bbe"} 
[2026-07-01 09:06:34] local.INFO: Extracted packet for processing {"connection_id":118864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bbe"} 
[2026-07-01 09:06:34] local.INFO: GPS Element Parsed {"raw_longitude":755798464,"raw_latitude":116094096,"longitude_deg":75.5798464,"latitude_deg":11.6094096,"altitude":21,"angle":179,"satellites":43,"speed":14,"hex_longitude":"2d0c91c0","hex_latitude":"06eb7490","is_valid_coordinates":true} 
[2026-07-01 09: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-01 09:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416491776001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333110125810155520,"note":"Value kept but may cause issues"} 
[2026-07-01 09:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":905856873519245312,"note":"Value kept but may cause issues"} 
[2026-07-01 09:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782876922000,"timestamp_ms":1782876922000,"timestamp_seconds":1782876922,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bbee090"} 
[2026-07-01 09: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-01 09:06:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 09:06:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09: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-01 09: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-01 09:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":118864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":118864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":118864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:06:34] 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-01 09:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416491776001,"66":27865,"238":206,"80":6400,"24":14,"16":333110125810155520,"45":905856873519245312},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,80,24,16,45]} 
[2026-07-01 09:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416491776001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:06:34] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-07-01 09:06:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333110125810155520,"km_value":333110125810155.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":905856873519245312,"description":"Unknown IO ID 45"} 
[2026-07-01 09:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416491776001,"power":27865,"unknown_238":206,"unknown_80":6400,"ignition":14,"odometer":null,"unknown_45":905856873519245312}} 
[2026-07-01 09:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":118864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:06:34] local.INFO: GPS data processed {"connection_id":118864,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:06:34] local.INFO: Acknowledgment sent {"connection_id":118864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:06:55] local.INFO: TCP Data received {"connection_id":118863,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bc00970012d79e1c005eca910000300c42b..."} 
[2026-07-01 09:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bc00970012d79e1c005eca910000300c42b..."} 
[2026-07-01 09:06:55] local.INFO: Processing buffer {"connection_id":118863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bc00970012d79e1c005eca910000300c42b..."} 
[2026-07-01 09:06:55] local.INFO: Packet analysis {"connection_id":118863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bc0"} 
[2026-07-01 09:06:55] local.INFO: Extracted packet for processing {"connection_id":118863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bc0"} 
[2026-07-01 09:06:55] local.INFO: GPS Element Parsed {"raw_longitude":762962368,"raw_latitude":99395856,"longitude_deg":76.2962368,"latitude_deg":9.9395856,"altitude":3,"angle":196,"satellites":43,"speed":4,"hex_longitude":"2d79e1c0","hex_latitude":"05eca910","is_valid_coordinates":true} 
[2026-07-01 09:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416511232001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101251753764192256,"note":"Value kept but may cause issues"} 
[2026-07-01 09:06:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782582248771254272,"note":"Value kept but may cause issues"} 
[2026-07-01 09:06:55] 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-01 09:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782876998000,"timestamp_ms":1782876998000,"timestamp_seconds":1782876998,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bc00970"} 
[2026-07-01 09:06:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:06:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-01 09:06:55] 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-01 09:06:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:06:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":118863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":118863,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":118863,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:06:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416511232001,"66":13254,"157":206,"87":13824,"24":4,"16":101251753764192256,"45":8782582248771254272},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 09:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416511232001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:06:55] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 09:06:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101251753764192256,"km_value":101251753764192.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:06:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782582248771254272,"description":"Unknown IO ID 45"} 
[2026-07-01 09:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416511232001,"power":13254,"unknown_157":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8782582248771254272}} 
[2026-07-01 09:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":118863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416759,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:06:55] local.INFO: GPS data processed {"connection_id":118863,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:06:55] local.INFO: Acknowledgment sent {"connection_id":118863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:07:09] local.INFO: TCP Data received {"connection_id":118864,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bbee478012d0c924006eb73200015009f2d..."} 
[2026-07-01 09:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bbee478012d0c924006eb73200015009f2d..."} 
[2026-07-01 09:07:09] local.INFO: Processing buffer {"connection_id":118864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bbee478012d0c924006eb73200015009f2d..."} 
[2026-07-01 09:07:09] local.INFO: Packet analysis {"connection_id":118864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bbe"} 
[2026-07-01 09:07:09] local.INFO: Extracted packet for processing {"connection_id":118864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bbe"} 
[2026-07-01 09:07:09] local.INFO: GPS Element Parsed {"raw_longitude":755798592,"raw_latitude":116093728,"longitude_deg":75.5798592,"latitude_deg":11.6093728,"altitude":21,"angle":159,"satellites":45,"speed":14,"hex_longitude":"2d0c9240","hex_latitude":"06eb7320","is_valid_coordinates":true} 
[2026-07-01 09:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416492032001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333110142990024704,"note":"Value kept but may cause issues"} 
[2026-07-01 09:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":905716136030801920,"note":"Value kept but may cause issues"} 
[2026-07-01 09:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782876923000,"timestamp_ms":1782876923000,"timestamp_seconds":1782876923,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bbee478"} 
[2026-07-01 09:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 09:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:07:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":118864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":118864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":118864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416492032001,"66":27865,"238":206,"80":6400,"24":14,"16":333110142990024704,"45":905716136030801920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,80,24,16,45]} 
[2026-07-01 09:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416492032001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:07:09] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-07-01 09:07:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333110142990024704,"km_value":333110142990024.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":905716136030801920,"description":"Unknown IO ID 45"} 
[2026-07-01 09:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416492032001,"power":27865,"unknown_238":206,"unknown_80":6400,"ignition":14,"odometer":null,"unknown_45":905716136030801920}} 
[2026-07-01 09:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":118864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:07:09] local.INFO: GPS data processed {"connection_id":118864,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:07:09] local.INFO: Acknowledgment sent {"connection_id":118864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:07:18] local.INFO: TCP Data received {"connection_id":118980,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118980,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:07:18] local.INFO: Processing buffer {"connection_id":118980,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:07:18] local.INFO: IMEI packet received {"connection_id":118980,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 09:07:18] local.INFO: IMEI acknowledgment sent {"connection_id":118980,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:07:20] local.INFO: TCP Data received {"connection_id":118981,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:07:20] local.INFO: Processing buffer {"connection_id":118981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:07:20] local.INFO: IMEI packet received {"connection_id":118981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 09:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":118981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:07:21] local.INFO: TCP Data received {"connection_id":118981,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:07:21] local.INFO: Processing buffer {"connection_id":118981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:07:21] local.INFO: IMEI packet received {"connection_id":118981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:07:21] local.INFO: IMEI acknowledgment sent {"connection_id":118981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:07:22] local.INFO: TCP Data received {"connection_id":118981,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:07:22] local.INFO: Processing buffer {"connection_id":118981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:07:22] local.INFO: IMEI packet received {"connection_id":118981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:07:22] local.INFO: IMEI acknowledgment sent {"connection_id":118981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:07:22] local.INFO: TCP Data received {"connection_id":118980,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118980,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:07:22] local.INFO: Processing buffer {"connection_id":118980,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:07:22] local.INFO: IMEI packet received {"connection_id":118980,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:07:22] local.INFO: IMEI acknowledgment sent {"connection_id":118980,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:07:23] local.INFO: TCP Data received {"connection_id":118980,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118980,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:07:23] local.INFO: Processing buffer {"connection_id":118980,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:07:23] local.INFO: IMEI packet received {"connection_id":118980,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":118980,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:07:24] local.INFO: TCP Data received {"connection_id":118980,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bc00d58012d79e1c005eca878000300b82b..."} 
[2026-07-01 09:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bc00d58012d79e1c005eca878000300b82b..."} 
[2026-07-01 09:07:24] local.INFO: Processing buffer {"connection_id":118980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bc00d58012d79e1c005eca878000300b82b..."} 
[2026-07-01 09:07:24] local.INFO: Packet analysis {"connection_id":118980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bc0"} 
[2026-07-01 09:07:24] local.INFO: Extracted packet for processing {"connection_id":118980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bc0"} 
[2026-07-01 09:07:24] local.INFO: GPS Element Parsed {"raw_longitude":762962368,"raw_latitude":99395704,"longitude_deg":76.2962368,"latitude_deg":9.9395704,"altitude":3,"angle":184,"satellites":43,"speed":7,"hex_longitude":"2d79e1c0","hex_latitude":"05eca878","is_valid_coordinates":true} 
[2026-07-01 09:07:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:07:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416511488001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:07:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101251758059159552,"note":"Value kept but may cause issues"} 
[2026-07-01 09:07:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782511880027049984,"note":"Value kept but may cause issues"} 
[2026-07-01 09:07:24] 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-01 09:07:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782876999000,"timestamp_ms":1782876999000,"timestamp_seconds":1782876999,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bc00d58"} 
[2026-07-01 09:07:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:07:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09:07:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-01 09:07:24] 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-01 09:07:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:07:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:07:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:07:24] local.INFO: Teltonika packet parsed successfully {"connection_id":118980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:07:24] local.INFO: Passing IMEI to GPS processor {"connection_id":118980,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:07:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":118980,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:07:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:07:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:07:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:07:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416511488001,"66":13254,"157":206,"87":13824,"24":7,"16":101251758059159552,"45":8782511880027049984},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 09:07:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:07:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:07:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416511488001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:07:24] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 09:07:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:07:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101251758059159552,"km_value":101251758059159.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:07:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782511880027049984,"description":"Unknown IO ID 45"} 
[2026-07-01 09:07:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416511488001,"power":13254,"unknown_157":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8782511880027049984}} 
[2026-07-01 09:07:24] local.INFO: DEBUG: GPS processor result {"connection_id":118980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416761,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:07:24] local.INFO: GPS data processed {"connection_id":118980,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:07:24] local.INFO: Acknowledgment sent {"connection_id":118980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:07:26] local.INFO: TCP Data received {"connection_id":118981,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:07:26] local.INFO: Processing buffer {"connection_id":118981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:07:26] local.INFO: IMEI packet received {"connection_id":118981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":118981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:07:28] local.INFO: TCP Data received {"connection_id":118981,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bbf07a0012d0c9d4006eb5c40001100922b..."} 
[2026-07-01 09:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bbf07a0012d0c9d4006eb5c40001100922b..."} 
[2026-07-01 09:07:28] local.INFO: Processing buffer {"connection_id":118981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bbf07a0012d0c9d4006eb5c40001100922b..."} 
[2026-07-01 09:07:28] local.INFO: Packet analysis {"connection_id":118981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bbf"} 
[2026-07-01 09:07:28] local.INFO: Extracted packet for processing {"connection_id":118981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bbf"} 
[2026-07-01 09:07:28] local.INFO: GPS Element Parsed {"raw_longitude":755801408,"raw_latitude":116087872,"longitude_deg":75.5801408,"latitude_deg":11.6087872,"altitude":17,"angle":146,"satellites":43,"speed":40,"hex_longitude":"2d0c9d40","hex_latitude":"06eb5c40","is_valid_coordinates":true} 
[2026-07-01 09:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416492288001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333110456522637312,"note":"Value kept but may cause issues"} 
[2026-07-01 09:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":905856873519063040,"note":"Value kept but may cause issues"} 
[2026-07-01 09:07:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782876932000,"timestamp_ms":1782876932000,"timestamp_seconds":1782876932,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bbf07a0"} 
[2026-07-01 09:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:07: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-01 09:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 09:07:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:07:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:07:28] 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-01 09:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416492288001,"66":27843,"238":206,"80":6400,"24":40,"16":333110456522637312,"45":905856873519063040},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,80,24,16,45]} 
[2026-07-01 09:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416492288001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:07:28] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-07-01 09:07:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333110456522637312,"km_value":333110456522637.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":905856873519063040,"description":"Unknown IO ID 45"} 
[2026-07-01 09:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416492288001,"power":27843,"unknown_238":206,"unknown_80":6400,"ignition":40,"odometer":null,"unknown_45":905856873519063040}} 
[2026-07-01 09:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":118981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:07:28] local.INFO: GPS data processed {"connection_id":118981,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:07:28] local.INFO: Acknowledgment sent {"connection_id":118981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:07:29] local.INFO: TCP Data received {"connection_id":118980,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bc01140012d79e1c005eca790000300a52b..."} 
[2026-07-01 09:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bc01140012d79e1c005eca790000300a52b..."} 
[2026-07-01 09:07:29] local.INFO: Processing buffer {"connection_id":118980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bc01140012d79e1c005eca790000300a52b..."} 
[2026-07-01 09:07:29] local.INFO: Packet analysis {"connection_id":118980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bc0"} 
[2026-07-01 09:07:29] local.INFO: Extracted packet for processing {"connection_id":118980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bc0"} 
[2026-07-01 09:07:29] local.INFO: GPS Element Parsed {"raw_longitude":762962368,"raw_latitude":99395472,"longitude_deg":76.2962368,"latitude_deg":9.9395472,"altitude":3,"angle":165,"satellites":43,"speed":10,"hex_longitude":"2d79e1c0","hex_latitude":"05eca790","is_valid_coordinates":true} 
[2026-07-01 09:07:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:07:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416511744001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:07:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101251770944061440,"note":"Value kept but may cause issues"} 
[2026-07-01 09:07:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782511880027011072,"note":"Value kept but may cause issues"} 
[2026-07-01 09:07:29] 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-01 09:07:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782877000000,"timestamp_ms":1782877000000,"timestamp_seconds":1782877000,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bc01140"} 
[2026-07-01 09:07:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:07:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09:07:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-01 09:07:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:07:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:07:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:07:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:07:29] local.INFO: Teltonika packet parsed successfully {"connection_id":118980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:07:29] local.INFO: Passing IMEI to GPS processor {"connection_id":118980,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:07:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":118980,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:07:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:07:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:07:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:07:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416511744001,"66":13254,"157":206,"87":13824,"24":10,"16":101251770944061440,"45":8782511880027011072},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 09:07:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:07:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:07:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416511744001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:07:29] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 09:07:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:07:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101251770944061440,"km_value":101251770944061.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:07:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782511880027011072,"description":"Unknown IO ID 45"} 
[2026-07-01 09:07:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416511744001,"power":13254,"unknown_157":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8782511880027011072}} 
[2026-07-01 09:07:29] local.INFO: DEBUG: GPS processor result {"connection_id":118980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416763,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:07:29] local.INFO: GPS data processed {"connection_id":118980,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:07:29] local.INFO: Acknowledgment sent {"connection_id":118980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:07:59] local.INFO: TCP Data received {"connection_id":118981,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bbf2eb0012d0cb30006eb3e30000c00922b..."} 
[2026-07-01 09:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bbf2eb0012d0cb30006eb3e30000c00922b..."} 
[2026-07-01 09:07:59] local.INFO: Processing buffer {"connection_id":118981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bbf2eb0012d0cb30006eb3e30000c00922b..."} 
[2026-07-01 09:07:59] local.INFO: Packet analysis {"connection_id":118981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bbf"} 
[2026-07-01 09:07:59] local.INFO: Extracted packet for processing {"connection_id":118981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bbf"} 
[2026-07-01 09:07:59] local.INFO: GPS Element Parsed {"raw_longitude":755806976,"raw_latitude":116080176,"longitude_deg":75.5806976,"latitude_deg":11.6080176,"altitude":12,"angle":146,"satellites":43,"speed":27,"hex_longitude":"2d0cb300","hex_latitude":"06eb3e30","is_valid_coordinates":true} 
[2026-07-01 09:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416494592001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333110916084137984,"note":"Value kept but may cause issues"} 
[2026-07-01 09:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":908953098261381120,"note":"Value kept but may cause issues"} 
[2026-07-01 09:07:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782876942000,"timestamp_ms":1782876942000,"timestamp_seconds":1782876942,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bbf2eb0"} 
[2026-07-01 09:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:07: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-01 09:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 09:07:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:07:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:07: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-01 09:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416494592001,"66":27843,"238":206,"80":6400,"24":27,"16":333110916084137984,"45":908953098261381120},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,80,24,16,45]} 
[2026-07-01 09:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416494592001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:07:59] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-07-01 09:07:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333110916084137984,"km_value":333110916084138.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":908953098261381120,"description":"Unknown IO ID 45"} 
[2026-07-01 09:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416494592001,"power":27843,"unknown_238":206,"unknown_80":6400,"ignition":27,"odometer":null,"unknown_45":908953098261381120}} 
[2026-07-01 09:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":118981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:07:59] local.INFO: GPS data processed {"connection_id":118981,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:07:59] local.INFO: Acknowledgment sent {"connection_id":118981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:08:00] local.INFO: TCP Data received {"connection_id":118980,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bc05f60012d79edc005ec87d80007009d2c..."} 
[2026-07-01 09:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bc05f60012d79edc005ec87d80007009d2c..."} 
[2026-07-01 09:08:00] local.INFO: Processing buffer {"connection_id":118980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bc05f60012d79edc005ec87d80007009d2c..."} 
[2026-07-01 09:08:00] local.INFO: Packet analysis {"connection_id":118980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bc0"} 
[2026-07-01 09:08:00] local.INFO: Extracted packet for processing {"connection_id":118980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bc0"} 
[2026-07-01 09:08:00] local.INFO: GPS Element Parsed {"raw_longitude":762965440,"raw_latitude":99387352,"longitude_deg":76.296544,"latitude_deg":9.9387352,"altitude":7,"angle":157,"satellites":44,"speed":22,"hex_longitude":"2d79edc0","hex_latitude":"05ec87d8","is_valid_coordinates":true} 
[2026-07-01 09:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:08:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416512000001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:08:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101252191850856448,"note":"Value kept but may cause issues"} 
[2026-07-01 09:08:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782511880026951680,"note":"Value kept but may cause issues"} 
[2026-07-01 09:08:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:08:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782877020000,"timestamp_ms":1782877020000,"timestamp_seconds":1782877020,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bc05f60"} 
[2026-07-01 09:08:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:08:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-01 09:08:00] 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-01 09:08:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:08:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:08:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:08:00] local.INFO: Teltonika packet parsed successfully {"connection_id":118980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:08:00] local.INFO: Passing IMEI to GPS processor {"connection_id":118980,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:08:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":118980,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:08:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:08:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:08:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:08:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416512000001,"66":13178,"157":206,"87":13824,"24":22,"16":101252191850856448,"45":8782511880026951680},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 09:08:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:08:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:08:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416512000001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:08:00] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 09:08:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:08:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101252191850856448,"km_value":101252191850856.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:08:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782511880026951680,"description":"Unknown IO ID 45"} 
[2026-07-01 09:08:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416512000001,"power":13178,"unknown_157":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8782511880026951680}} 
[2026-07-01 09:08:00] local.INFO: DEBUG: GPS processor result {"connection_id":118980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416765,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:08:00] local.INFO: GPS data processed {"connection_id":118980,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:08:00] local.INFO: Acknowledgment sent {"connection_id":118980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:08:21] local.INFO: TCP Data received {"connection_id":118982,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:08:21] local.INFO: Processing buffer {"connection_id":118982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:08:21] local.INFO: IMEI packet received {"connection_id":118982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 09:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":118982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:08:23] local.INFO: TCP Data received {"connection_id":118865,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118865,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:08:23] local.INFO: Processing buffer {"connection_id":118865,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:08:23] local.INFO: IMEI packet received {"connection_id":118865,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 09:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":118865,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:08:26] local.INFO: TCP Data received {"connection_id":118982,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:08:26] local.INFO: Processing buffer {"connection_id":118982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:08:26] local.INFO: IMEI packet received {"connection_id":118982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":118982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:08:27] local.INFO: TCP Data received {"connection_id":118982,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bc0a1c8012d0d5a4006ea5ff0000c00ad28..."} 
[2026-07-01 09:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bc0a1c8012d0d5a4006ea5ff0000c00ad28..."} 
[2026-07-01 09:08:27] local.INFO: Processing buffer {"connection_id":118982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bc0a1c8012d0d5a4006ea5ff0000c00ad28..."} 
[2026-07-01 09:08:27] local.INFO: Packet analysis {"connection_id":118982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bc0"} 
[2026-07-01 09:08:27] local.INFO: Extracted packet for processing {"connection_id":118982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bc0"} 
[2026-07-01 09:08:27] local.INFO: GPS Element Parsed {"raw_longitude":755849792,"raw_latitude":116023280,"longitude_deg":75.5849792,"latitude_deg":11.602328,"altitude":12,"angle":173,"satellites":40,"speed":29,"hex_longitude":"2d0d5a40","hex_latitude":"06ea5ff0","is_valid_coordinates":true} 
[2026-07-01 09:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:08:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416518656001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:08:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333114493791895552,"note":"Value kept but may cause issues"} 
[2026-07-01 09:08:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":961377812659501056,"note":"Value kept but may cause issues"} 
[2026-07-01 09:08:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:08:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782877037000,"timestamp_ms":1782877037000,"timestamp_seconds":1782877037,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bc0a1c8"} 
[2026-07-01 09:08:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:08:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 09:08:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:08:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:08:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:08:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:08:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:08:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:08:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:08:27] 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-01 09:08:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:08:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:08:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416518656001,"66":27321,"83":206,"80":6400,"24":29,"16":333114493791895552,"45":961377812659501056},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-07-01 09:08:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:08:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:08:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416518656001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:08:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-01 09:08:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:08:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333114493791895552,"km_value":333114493791895.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:08:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":961377812659501056,"description":"Unknown IO ID 45"} 
[2026-07-01 09:08:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416518656001,"power":27321,"unknown_83":206,"unknown_80":6400,"ignition":29,"odometer":null,"unknown_45":961377812659501056}} 
[2026-07-01 09:08:27] local.INFO: DEBUG: GPS processor result {"connection_id":118982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:08:27] local.INFO: GPS data processed {"connection_id":118982,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:08:27] local.INFO: Acknowledgment sent {"connection_id":118982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:08:28] local.INFO: TCP Data received {"connection_id":118865,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118865,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:08:28] local.INFO: Processing buffer {"connection_id":118865,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:08:28] local.INFO: IMEI packet received {"connection_id":118865,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:08:28] local.INFO: IMEI acknowledgment sent {"connection_id":118865,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:08:29] local.INFO: TCP Data received {"connection_id":118865,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bc0b168012d79fc4005ec6ab8000c00a32c..."} 
[2026-07-01 09:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bc0b168012d79fc4005ec6ab8000c00a32c..."} 
[2026-07-01 09:08:29] local.INFO: Processing buffer {"connection_id":118865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bc0b168012d79fc4005ec6ab8000c00a32c..."} 
[2026-07-01 09:08:29] local.INFO: Packet analysis {"connection_id":118865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bc0"} 
[2026-07-01 09:08:29] local.INFO: Extracted packet for processing {"connection_id":118865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bc0"} 
[2026-07-01 09:08:29] local.INFO: GPS Element Parsed {"raw_longitude":762969152,"raw_latitude":99379896,"longitude_deg":76.2969152,"latitude_deg":9.9379896,"altitude":12,"angle":163,"satellites":44,"speed":16,"hex_longitude":"2d79fc40","hex_latitude":"05ec6ab8","is_valid_coordinates":true} 
[2026-07-01 09: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-01 09:08:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416517120001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:08:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101252599872749568,"note":"Value kept but may cause issues"} 
[2026-07-01 09:08:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8785889579745400832,"note":"Value kept but may cause issues"} 
[2026-07-01 09:08:29] 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-01 09:08:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782877041000,"timestamp_ms":1782877041000,"timestamp_seconds":1782877041,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bc0b168"} 
[2026-07-01 09: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-01 09:08: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-01 09: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-01 09:08:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09: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-01 09: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-01 09:08:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:08:29] local.INFO: Teltonika packet parsed successfully {"connection_id":118865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:08:29] local.INFO: Passing IMEI to GPS processor {"connection_id":118865,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:08:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":118865,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:08:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:08:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:08:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:08:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416517120001,"66":13363,"157":206,"87":13824,"24":16,"16":101252599872749568,"45":8785889579745400832},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 09:08:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:08:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:08:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416517120001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:08:29] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 09:08:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:08:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101252599872749568,"km_value":101252599872749.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:08:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8785889579745400832,"description":"Unknown IO ID 45"} 
[2026-07-01 09:08:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416517120001,"power":13363,"unknown_157":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":8785889579745400832}} 
[2026-07-01 09:08:29] local.INFO: DEBUG: GPS processor result {"connection_id":118865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416767,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:08:29] local.INFO: GPS data processed {"connection_id":118865,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:08:29] local.INFO: Acknowledgment sent {"connection_id":118865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:08:30] local.INFO: TCP Data received {"connection_id":118865,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bc10370012d7a05c005ec4b68000b00a72a..."} 
[2026-07-01 09:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bc10370012d7a05c005ec4b68000b00a72a..."} 
[2026-07-01 09:08:30] local.INFO: Processing buffer {"connection_id":118865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bc10370012d7a05c005ec4b68000b00a72a..."} 
[2026-07-01 09:08:30] local.INFO: Packet analysis {"connection_id":118865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bc1"} 
[2026-07-01 09:08:30] local.INFO: Extracted packet for processing {"connection_id":118865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bc1"} 
[2026-07-01 09:08:30] local.INFO: GPS Element Parsed {"raw_longitude":762971584,"raw_latitude":99371880,"longitude_deg":76.2971584,"latitude_deg":9.937188,"altitude":11,"angle":167,"satellites":42,"speed":8,"hex_longitude":"2d7a05c0","hex_latitude":"05ec4b68","is_valid_coordinates":true} 
[2026-07-01 09: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-01 09:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416522496001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101253007894642688,"note":"Value kept but may cause issues"} 
[2026-07-01 09:08:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789970966905796608,"note":"Value kept but may cause issues"} 
[2026-07-01 09:08:30] 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-01 09:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782877062000,"timestamp_ms":1782877062000,"timestamp_seconds":1782877062,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bc10370"} 
[2026-07-01 09: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-01 09:08:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-01 09:08:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09: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-01 09: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-01 09:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":118865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":118865,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":118865,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:08:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416522496001,"66":12885,"157":206,"87":13824,"24":8,"16":101253007894642688,"45":8789970966905796608},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 09:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416522496001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:08:30] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 09:08:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101253007894642688,"km_value":101253007894642.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:08:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789970966905796608,"description":"Unknown IO ID 45"} 
[2026-07-01 09:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416522496001,"power":12885,"unknown_157":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8789970966905796608}} 
[2026-07-01 09:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":118865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416768,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:08:31] local.INFO: GPS data processed {"connection_id":118865,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:08:31] local.INFO: Acknowledgment sent {"connection_id":118865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:08:59] local.INFO: TCP Data received {"connection_id":118982,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bc0d0a8012d0d5f4006ea3d48000a00ab2a..."} 
[2026-07-01 09:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bc0d0a8012d0d5f4006ea3d48000a00ab2a..."} 
[2026-07-01 09:08:59] local.INFO: Processing buffer {"connection_id":118982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bc0d0a8012d0d5f4006ea3d48000a00ab2a..."} 
[2026-07-01 09:08:59] local.INFO: Packet analysis {"connection_id":118982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bc0"} 
[2026-07-01 09:08:59] local.INFO: Extracted packet for processing {"connection_id":118982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bc0"} 
[2026-07-01 09:08:59] local.INFO: GPS Element Parsed {"raw_longitude":755851072,"raw_latitude":116014408,"longitude_deg":75.5851072,"latitude_deg":11.6014408,"altitude":10,"angle":171,"satellites":42,"speed":31,"hex_longitude":"2d0d5f40","hex_latitude":"06ea3d48","is_valid_coordinates":true} 
[2026-07-01 09:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416521472001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333114927583592448,"note":"Value kept but may cause issues"} 
[2026-07-01 09:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":962151868843159552,"note":"Value kept but may cause issues"} 
[2026-07-01 09:08:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782877049000,"timestamp_ms":1782877049000,"timestamp_seconds":1782877049,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bc0d0a8"} 
[2026-07-01 09:08:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:08: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-01 09:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-01 09:08:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:08:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:08:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:08: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-01 09:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416521472001,"66":27213,"83":206,"80":6400,"24":31,"16":333114927583592448,"45":962151868843159552},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-07-01 09:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416521472001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:08:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-01 09:08:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333114927583592448,"km_value":333114927583592.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":962151868843159552,"description":"Unknown IO ID 45"} 
[2026-07-01 09:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416521472001,"power":27213,"unknown_83":206,"unknown_80":6400,"ignition":31,"odometer":null,"unknown_45":962151868843159552}} 
[2026-07-01 09:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":118982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:08:59] local.INFO: GPS data processed {"connection_id":118982,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:08:59] local.INFO: Acknowledgment sent {"connection_id":118982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:09:02] local.INFO: TCP Data received {"connection_id":118865,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bc145d8012d7a0ac005ec3d68000800982a..."} 
[2026-07-01 09:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bc145d8012d7a0ac005ec3d68000800982a..."} 
[2026-07-01 09:09:02] local.INFO: Processing buffer {"connection_id":118865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bc145d8012d7a0ac005ec3d68000800982a..."} 
[2026-07-01 09:09:02] local.INFO: Packet analysis {"connection_id":118865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bc1"} 
[2026-07-01 09:09:02] local.INFO: Extracted packet for processing {"connection_id":118865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bc1"} 
[2026-07-01 09:09:02] local.INFO: GPS Element Parsed {"raw_longitude":762972864,"raw_latitude":99368296,"longitude_deg":76.2972864,"latitude_deg":9.9368296,"altitude":8,"angle":152,"satellites":42,"speed":11,"hex_longitude":"2d7a0ac0","hex_latitude":"05ec3d68","is_valid_coordinates":true} 
[2026-07-01 09:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416527872001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101253196873203712,"note":"Value kept but may cause issues"} 
[2026-07-01 09:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792644979182495744,"note":"Value kept but may cause issues"} 
[2026-07-01 09:09: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-01 09:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782877079000,"timestamp_ms":1782877079000,"timestamp_seconds":1782877079,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bc145d8"} 
[2026-07-01 09:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:09:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-01 09:09:02] 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-01 09:09:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":118865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":118865,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":118865,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:09:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416527872001,"66":13243,"157":206,"87":13824,"24":11,"16":101253196873203712,"45":8792644979182495744},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 09:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416527872001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:09:02] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 09:09:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101253196873203712,"km_value":101253196873203.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792644979182495744,"description":"Unknown IO ID 45"} 
[2026-07-01 09:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416527872001,"power":13243,"unknown_157":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8792644979182495744}} 
[2026-07-01 09:09:02] local.INFO: DEBUG: GPS processor result {"connection_id":118865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416770,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:09:02] local.INFO: GPS data processed {"connection_id":118865,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:09:02] local.INFO: Acknowledgment sent {"connection_id":118865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:09:18] local.INFO: TCP Data received {"connection_id":119636,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119636,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:09:18] local.INFO: Processing buffer {"connection_id":119636,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:09:18] local.INFO: IMEI packet received {"connection_id":119636,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 09:09:18] local.INFO: IMEI acknowledgment sent {"connection_id":119636,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:09:21] local.INFO: TCP Data received {"connection_id":118866,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:09:21] local.INFO: Processing buffer {"connection_id":118866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:09:21] local.INFO: IMEI packet received {"connection_id":118866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 09:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":118866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:09:23] local.INFO: TCP Data received {"connection_id":119636,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119636,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:09:23] local.INFO: Processing buffer {"connection_id":119636,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:09:23] local.INFO: IMEI packet received {"connection_id":119636,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:09:23] local.INFO: IMEI acknowledgment sent {"connection_id":119636,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:09:24] local.INFO: TCP Data received {"connection_id":119636,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bc149c0012d7a0b0005ec3c10000800a82b..."} 
[2026-07-01 09:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bc149c0012d7a0b0005ec3c10000800a82b..."} 
[2026-07-01 09:09:24] local.INFO: Processing buffer {"connection_id":119636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bc149c0012d7a0b0005ec3c10000800a82b..."} 
[2026-07-01 09:09:24] local.INFO: Packet analysis {"connection_id":119636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bc1"} 
[2026-07-01 09:09:24] local.INFO: Extracted packet for processing {"connection_id":119636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bc1"} 
[2026-07-01 09:09:24] local.INFO: GPS Element Parsed {"raw_longitude":762972928,"raw_latitude":99367952,"longitude_deg":76.2972928,"latitude_deg":9.9367952,"altitude":8,"angle":168,"satellites":43,"speed":14,"hex_longitude":"2d7a0b00","hex_latitude":"05ec3c10","is_valid_coordinates":true} 
[2026-07-01 09:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416532224001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:09:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101253214053072896,"note":"Value kept but may cause issues"} 
[2026-07-01 09:09:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794052354065131520,"note":"Value kept but may cause issues"} 
[2026-07-01 09:09:24] 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-01 09:09:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782877080000,"timestamp_ms":1782877080000,"timestamp_seconds":1782877080,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bc149c0"} 
[2026-07-01 09:09:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:09:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-01 09:09: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-01 09:09:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:09:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:09:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":119636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":119636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":119636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:09:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416532224001,"66":13243,"157":206,"87":13824,"24":14,"16":101253214053072896,"45":8794052354065131520},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 09:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416532224001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:09:24] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 09:09:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101253214053072896,"km_value":101253214053072.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:09:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794052354065131520,"description":"Unknown IO ID 45"} 
[2026-07-01 09:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416532224001,"power":13243,"unknown_157":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8794052354065131520}} 
[2026-07-01 09:09:24] local.INFO: DEBUG: GPS processor result {"connection_id":119636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416771,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:09:24] local.INFO: GPS data processed {"connection_id":119636,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:09:24] local.INFO: Acknowledgment sent {"connection_id":119636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:09:26] local.INFO: TCP Data received {"connection_id":118866,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:09:26] local.INFO: Processing buffer {"connection_id":118866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:09:26] local.INFO: IMEI packet received {"connection_id":118866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":118866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:09:27] local.INFO: TCP Data received {"connection_id":118866,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bc0f7b8012d0d620006ea1f40000c00b028..."} 
[2026-07-01 09:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bc0f7b8012d0d620006ea1f40000c00b028..."} 
[2026-07-01 09:09:27] local.INFO: Processing buffer {"connection_id":118866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bc0f7b8012d0d620006ea1f40000c00b028..."} 
[2026-07-01 09:09:27] local.INFO: Packet analysis {"connection_id":118866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bc0"} 
[2026-07-01 09:09:27] local.INFO: Extracted packet for processing {"connection_id":118866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bc0"} 
[2026-07-01 09:09:27] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116006720,"longitude_deg":75.5851776,"latitude_deg":11.600672,"altitude":12,"angle":176,"satellites":40,"speed":29,"hex_longitude":"2d0d6200","hex_latitude":"06ea1f40","is_valid_coordinates":true} 
[2026-07-01 09:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416524544001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333115301245747200,"note":"Value kept but may cause issues"} 
[2026-07-01 09:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963559243724441600,"note":"Value kept but may cause issues"} 
[2026-07-01 09:09:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782877059000,"timestamp_ms":1782877059000,"timestamp_seconds":1782877059,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bc0f7b8"} 
[2026-07-01 09:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:09: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-01 09:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-01 09:09:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:09:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:09:27] 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-01 09:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416524544001,"66":27397,"83":206,"80":6400,"24":29,"16":333115301245747200,"45":963559243724441600},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-07-01 09:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416524544001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:09:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-01 09:09:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333115301245747200,"km_value":333115301245747.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":963559243724441600,"description":"Unknown IO ID 45"} 
[2026-07-01 09:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416524544001,"power":27397,"unknown_83":206,"unknown_80":6400,"ignition":29,"odometer":null,"unknown_45":963559243724441600}} 
[2026-07-01 09:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":118866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:09:27] local.INFO: GPS data processed {"connection_id":118866,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:09:27] local.INFO: Acknowledgment sent {"connection_id":118866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:09:55] local.INFO: TCP Data received {"connection_id":119636,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bc174b8012d7a0f8005ec2c78000d00982c..."} 
[2026-07-01 09:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bc174b8012d7a0f8005ec2c78000d00982c..."} 
[2026-07-01 09:09:55] local.INFO: Processing buffer {"connection_id":119636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bc174b8012d7a0f8005ec2c78000d00982c..."} 
[2026-07-01 09:09:55] local.INFO: Packet analysis {"connection_id":119636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bc1"} 
[2026-07-01 09:09:55] local.INFO: Extracted packet for processing {"connection_id":119636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bc1"} 
[2026-07-01 09:09:55] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99363960,"longitude_deg":76.297408,"latitude_deg":9.936396,"altitude":13,"angle":152,"satellites":44,"speed":11,"hex_longitude":"2d7a0f80","hex_latitude":"05ec2c78","is_valid_coordinates":true} 
[2026-07-01 09: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-01 09:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416532480001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101253415916535808,"note":"Value kept but may cause issues"} 
[2026-07-01 09:09:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794122722809221120,"note":"Value kept but may cause issues"} 
[2026-07-01 09:09:55] 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-01 09:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782877091000,"timestamp_ms":1782877091000,"timestamp_seconds":1782877091,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bc174b8"} 
[2026-07-01 09: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-01 09:09:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-01 09:09: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-01 09: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-01 09: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-01 09:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":119636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":119636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":119636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:09:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416532480001,"66":13200,"157":206,"87":13824,"24":11,"16":101253415916535808,"45":8794122722809221120},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 09:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416532480001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:09:55] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 09:09:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101253415916535808,"km_value":101253415916535.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:09:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794122722809221120,"description":"Unknown IO ID 45"} 
[2026-07-01 09:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416532480001,"power":13200,"unknown_157":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8794122722809221120}} 
[2026-07-01 09:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":119636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416773,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:09:55] local.INFO: GPS data processed {"connection_id":119636,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:09:55] local.INFO: Acknowledgment sent {"connection_id":119636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:10:01] local.INFO: TCP Data received {"connection_id":118866,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bc0f7b8012d0d620006ea1f40000c00b028..."} 
[2026-07-01 09:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bc0f7b8012d0d620006ea1f40000c00b028..."} 
[2026-07-01 09:10:01] local.INFO: Processing buffer {"connection_id":118866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bc0f7b8012d0d620006ea1f40000c00b028..."} 
[2026-07-01 09:10:01] local.INFO: Packet analysis {"connection_id":118866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bc0"} 
[2026-07-01 09:10:01] local.INFO: Extracted packet for processing {"connection_id":118866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bc0"} 
[2026-07-01 09:10:01] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116006720,"longitude_deg":75.5851776,"latitude_deg":11.600672,"altitude":12,"angle":176,"satellites":40,"speed":29,"hex_longitude":"2d0d6200","hex_latitude":"06ea1f40","is_valid_coordinates":true} 
[2026-07-01 09:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416524544001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333115301245747200,"note":"Value kept but may cause issues"} 
[2026-07-01 09:10:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963559243724441600,"note":"Value kept but may cause issues"} 
[2026-07-01 09:10:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782877059000,"timestamp_ms":1782877059000,"timestamp_seconds":1782877059,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bc0f7b8"} 
[2026-07-01 09:10:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:10:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-01 09:10:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:10:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:10:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":118866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":118866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":118866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:10:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416524544001,"66":27397,"83":206,"80":6400,"24":29,"16":333115301245747200,"45":963559243724441600},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-07-01 09:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416524544001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:10:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-01 09:10:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333115301245747200,"km_value":333115301245747.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:10:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":963559243724441600,"description":"Unknown IO ID 45"} 
[2026-07-01 09:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416524544001,"power":27397,"unknown_83":206,"unknown_80":6400,"ignition":29,"odometer":null,"unknown_45":963559243724441600}} 
[2026-07-01 09:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":118866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:10:01] local.INFO: GPS data processed {"connection_id":118866,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:10:01] local.INFO: Acknowledgment sent {"connection_id":118866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:10:19] local.INFO: TCP Data received {"connection_id":118984,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118984,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:10:19] local.INFO: Processing buffer {"connection_id":118984,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:10:19] local.INFO: IMEI packet received {"connection_id":118984,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 09:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":118984,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:10:24] local.INFO: TCP Data received {"connection_id":118984,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118984,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:10:24] local.INFO: Processing buffer {"connection_id":118984,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:10:24] local.INFO: IMEI packet received {"connection_id":118984,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:10:24] local.INFO: IMEI acknowledgment sent {"connection_id":118984,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:10:25] local.INFO: TCP Data received {"connection_id":118984,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bc1bb08012d7a19c005ec13c0001100a428..."} 
[2026-07-01 09:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bc1bb08012d7a19c005ec13c0001100a428..."} 
[2026-07-01 09:10:25] local.INFO: Processing buffer {"connection_id":118984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bc1bb08012d7a19c005ec13c0001100a428..."} 
[2026-07-01 09:10:25] local.INFO: Packet analysis {"connection_id":118984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bc1"} 
[2026-07-01 09:10:25] local.INFO: Extracted packet for processing {"connection_id":118984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bc1"} 
[2026-07-01 09:10:25] local.INFO: GPS Element Parsed {"raw_longitude":762976704,"raw_latitude":99357632,"longitude_deg":76.2976704,"latitude_deg":9.9357632,"altitude":17,"angle":164,"satellites":40,"speed":11,"hex_longitude":"2d7a19c0","hex_latitude":"05ec13c0","is_valid_coordinates":true} 
[2026-07-01 09:10:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:10:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416535296001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:10:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101253746629017600,"note":"Value kept but may cause issues"} 
[2026-07-01 09:10:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795389360203397120,"note":"Value kept but may cause issues"} 
[2026-07-01 09:10:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:10:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782877109000,"timestamp_ms":1782877109000,"timestamp_seconds":1782877109,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bc1bb08"} 
[2026-07-01 09:10:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:10:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 09:10:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-07-01 09:10:25] 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-01 09:10:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:10:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:10:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:10:25] local.INFO: Teltonika packet parsed successfully {"connection_id":118984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:10:25] local.INFO: Passing IMEI to GPS processor {"connection_id":118984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:10:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":118984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:10:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:10:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:10:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:10:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416535296001,"66":12678,"157":206,"87":13824,"24":11,"16":101253746629017600,"45":8795389360203397120},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 09:10:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:10:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:10:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416535296001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:10:25] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 09:10:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:10:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101253746629017600,"km_value":101253746629017.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:10:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795389360203397120,"description":"Unknown IO ID 45"} 
[2026-07-01 09:10:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416535296001,"power":12678,"unknown_157":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8795389360203397120}} 
[2026-07-01 09:10:25] local.INFO: DEBUG: GPS processor result {"connection_id":118984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416775,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:10:25] local.INFO: GPS data processed {"connection_id":118984,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:10:25] local.INFO: Acknowledgment sent {"connection_id":118984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:10:28] local.INFO: TCP Data received {"connection_id":118985,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:10:28] local.INFO: Processing buffer {"connection_id":118985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:10:28] local.INFO: IMEI packet received {"connection_id":118985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 09:10:28] local.INFO: IMEI acknowledgment sent {"connection_id":118985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:10:31] local.INFO: TCP Data received {"connection_id":118985,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:10:31] local.INFO: Processing buffer {"connection_id":118985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:10:31] local.INFO: IMEI packet received {"connection_id":118985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":118985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:10:33] local.INFO: TCP Data received {"connection_id":118985,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bc0f7b8012d0d620006ea1f40000c00b028..."} 
[2026-07-01 09:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bc0f7b8012d0d620006ea1f40000c00b028..."} 
[2026-07-01 09:10:33] local.INFO: Processing buffer {"connection_id":118985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bc0f7b8012d0d620006ea1f40000c00b028..."} 
[2026-07-01 09:10:33] local.INFO: Packet analysis {"connection_id":118985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bc0"} 
[2026-07-01 09:10:33] local.INFO: Extracted packet for processing {"connection_id":118985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bc0"} 
[2026-07-01 09:10:33] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116006720,"longitude_deg":75.5851776,"latitude_deg":11.600672,"altitude":12,"angle":176,"satellites":40,"speed":29,"hex_longitude":"2d0d6200","hex_latitude":"06ea1f40","is_valid_coordinates":true} 
[2026-07-01 09:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416524544001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333115301245747200,"note":"Value kept but may cause issues"} 
[2026-07-01 09:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963559243724441600,"note":"Value kept but may cause issues"} 
[2026-07-01 09:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782877059000,"timestamp_ms":1782877059000,"timestamp_seconds":1782877059,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bc0f7b8"} 
[2026-07-01 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-01 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-01 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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-01 09:10:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 09:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":118985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":118985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":118985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:10:33] 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-01 09:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416524544001,"66":27397,"83":206,"80":6400,"24":29,"16":333115301245747200,"45":963559243724441600},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-07-01 09:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416524544001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:10:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-01 09:10:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333115301245747200,"km_value":333115301245747.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":963559243724441600,"description":"Unknown IO ID 45"} 
[2026-07-01 09:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416524544001,"power":27397,"unknown_83":206,"unknown_80":6400,"ignition":29,"odometer":null,"unknown_45":963559243724441600}} 
[2026-07-01 09:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":118985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:10:33] local.INFO: GPS data processed {"connection_id":118985,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:10:33] local.INFO: Acknowledgment sent {"connection_id":118985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:10:37] local.INFO: TCP Data received {"connection_id":118985,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bc0f7b8012d0d620006ea1f40000c00b028..."} 
[2026-07-01 09:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bc0f7b8012d0d620006ea1f40000c00b028..."} 
[2026-07-01 09:10:37] local.INFO: Processing buffer {"connection_id":118985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bc0f7b8012d0d620006ea1f40000c00b028..."} 
[2026-07-01 09:10:37] local.INFO: Packet analysis {"connection_id":118985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bc0"} 
[2026-07-01 09:10:37] local.INFO: Extracted packet for processing {"connection_id":118985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bc0"} 
[2026-07-01 09:10:37] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116006720,"longitude_deg":75.5851776,"latitude_deg":11.600672,"altitude":12,"angle":176,"satellites":40,"speed":29,"hex_longitude":"2d0d6200","hex_latitude":"06ea1f40","is_valid_coordinates":true} 
[2026-07-01 09:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416524544001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333115301245747200,"note":"Value kept but may cause issues"} 
[2026-07-01 09:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963559243724441600,"note":"Value kept but may cause issues"} 
[2026-07-01 09:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782877059000,"timestamp_ms":1782877059000,"timestamp_seconds":1782877059,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bc0f7b8"} 
[2026-07-01 09:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-01 09:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":118985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":118985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":118985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:10:37] 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-01 09:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416524544001,"66":27397,"83":206,"80":6400,"24":29,"16":333115301245747200,"45":963559243724441600},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-07-01 09:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416524544001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:10:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-01 09:10:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333115301245747200,"km_value":333115301245747.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":963559243724441600,"description":"Unknown IO ID 45"} 
[2026-07-01 09:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416524544001,"power":27397,"unknown_83":206,"unknown_80":6400,"ignition":29,"odometer":null,"unknown_45":963559243724441600}} 
[2026-07-01 09:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":118985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:10:37] local.INFO: GPS data processed {"connection_id":118985,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:10:37] local.INFO: Acknowledgment sent {"connection_id":118985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:10:56] local.INFO: TCP Data received {"connection_id":118984,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bc20928012d7a230005ebfcd80010009b20..."} 
[2026-07-01 09:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bc20928012d7a230005ebfcd80010009b20..."} 
[2026-07-01 09:10:56] local.INFO: Processing buffer {"connection_id":118984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bc20928012d7a230005ebfcd80010009b20..."} 
[2026-07-01 09:10:56] local.INFO: Packet analysis {"connection_id":118984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bc2"} 
[2026-07-01 09:10:56] local.INFO: Extracted packet for processing {"connection_id":118984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bc2"} 
[2026-07-01 09:10:56] local.INFO: GPS Element Parsed {"raw_longitude":762979072,"raw_latitude":99351768,"longitude_deg":76.2979072,"latitude_deg":9.9351768,"altitude":16,"angle":155,"satellites":32,"speed":8,"hex_longitude":"2d7a2300","hex_latitude":"05ebfcd8","is_valid_coordinates":true} 
[2026-07-01 09:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416539904001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101254055866662912,"note":"Value kept but may cause issues"} 
[2026-07-01 09:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798274478713061376,"note":"Value kept but may cause issues"} 
[2026-07-01 09:10:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782877129000,"timestamp_ms":1782877129000,"timestamp_seconds":1782877129,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bc20928"} 
[2026-07-01 09:10:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:10:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-07-01 09:10:56] 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-01 09:10:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:10:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":118984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":118984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":118984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:10:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416539904001,"66":13200,"156":206,"87":13824,"24":8,"16":101254055866662912,"45":8798274478713061376},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-01 09:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416539904001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:10:56] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-01 09:10:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101254055866662912,"km_value":101254055866662.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798274478713061376,"description":"Unknown IO ID 45"} 
[2026-07-01 09:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416539904001,"power":13200,"unknown_156":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8798274478713061376}} 
[2026-07-01 09:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":118984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416778,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:10:56] local.INFO: GPS data processed {"connection_id":118984,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:10:56] local.INFO: Acknowledgment sent {"connection_id":118984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:11:18] local.INFO: TCP Data received {"connection_id":119638,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119638,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:11:18] local.INFO: Processing buffer {"connection_id":119638,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:11:18] local.INFO: IMEI packet received {"connection_id":119638,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 09:11:18] local.INFO: IMEI acknowledgment sent {"connection_id":119638,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:11:21] local.INFO: TCP Data received {"connection_id":119639,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:11:21] local.INFO: Processing buffer {"connection_id":119639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:11:21] local.INFO: IMEI packet received {"connection_id":119639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 09:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":119639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:11:23] local.INFO: TCP Data received {"connection_id":119638,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119638,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:11:23] local.INFO: Processing buffer {"connection_id":119638,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:11:23] local.INFO: IMEI packet received {"connection_id":119638,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:11:23] local.INFO: IMEI acknowledgment sent {"connection_id":119638,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:11:26] local.INFO: TCP Data received {"connection_id":119639,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:11:26] local.INFO: Processing buffer {"connection_id":119639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:11:26] local.INFO: IMEI packet received {"connection_id":119639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":119639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:11:27] local.INFO: TCP Data received {"connection_id":119639,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bc0f7b8012d0d620006ea1f40000c00b028..."} 
[2026-07-01 09:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bc0f7b8012d0d620006ea1f40000c00b028..."} 
[2026-07-01 09:11:27] local.INFO: Processing buffer {"connection_id":119639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bc0f7b8012d0d620006ea1f40000c00b028..."} 
[2026-07-01 09:11:27] local.INFO: Packet analysis {"connection_id":119639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bc0"} 
[2026-07-01 09:11:27] local.INFO: Extracted packet for processing {"connection_id":119639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bc0"} 
[2026-07-01 09:11:27] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116006720,"longitude_deg":75.5851776,"latitude_deg":11.600672,"altitude":12,"angle":176,"satellites":40,"speed":29,"hex_longitude":"2d0d6200","hex_latitude":"06ea1f40","is_valid_coordinates":true} 
[2026-07-01 09:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416524544001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333115301245747200,"note":"Value kept but may cause issues"} 
[2026-07-01 09:11:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963559243724441600,"note":"Value kept but may cause issues"} 
[2026-07-01 09:11:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782877059000,"timestamp_ms":1782877059000,"timestamp_seconds":1782877059,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bc0f7b8"} 
[2026-07-01 09:11:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:11:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-01 09:11:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:11:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:11:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:11:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416524544001,"66":27397,"83":206,"80":6400,"24":29,"16":333115301245747200,"45":963559243724441600},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-07-01 09:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416524544001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:11:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-01 09:11:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333115301245747200,"km_value":333115301245747.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:11:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":963559243724441600,"description":"Unknown IO ID 45"} 
[2026-07-01 09:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416524544001,"power":27397,"unknown_83":206,"unknown_80":6400,"ignition":29,"odometer":null,"unknown_45":963559243724441600}} 
[2026-07-01 09:11:27] local.INFO: DEBUG: GPS processor result {"connection_id":119639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:11:27] local.INFO: GPS data processed {"connection_id":119639,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:11:27] local.INFO: Acknowledgment sent {"connection_id":119639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:11:31] local.INFO: TCP Data received {"connection_id":118867,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118867,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:11:31] local.INFO: Processing buffer {"connection_id":118867,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:11:31] local.INFO: IMEI packet received {"connection_id":118867,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 09:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":118867,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:11:37] local.INFO: TCP Data received {"connection_id":119638,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bc42050012d7a574005eb9638000b006d29..."} 
[2026-07-01 09:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bc42050012d7a574005eb9638000b006d29..."} 
[2026-07-01 09:11:37] local.INFO: Processing buffer {"connection_id":119638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bc42050012d7a574005eb9638000b006d29..."} 
[2026-07-01 09:11:37] local.INFO: Packet analysis {"connection_id":119638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bc4"} 
[2026-07-01 09:11:37] local.INFO: Extracted packet for processing {"connection_id":119638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bc4"} 
[2026-07-01 09:11:37] local.INFO: GPS Element Parsed {"raw_longitude":762992448,"raw_latitude":99325496,"longitude_deg":76.2992448,"latitude_deg":9.9325496,"altitude":11,"angle":109,"satellites":41,"speed":14,"hex_longitude":"2d7a5740","hex_latitude":"05eb9638","is_valid_coordinates":true} 
[2026-07-01 09:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416579840001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101255507565608960,"note":"Value kept but may cause issues"} 
[2026-07-01 09:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815303714795868160,"note":"Value kept but may cause issues"} 
[2026-07-01 09:11:37] 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-01 09:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782877266000,"timestamp_ms":1782877266000,"timestamp_seconds":1782877266,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bc42050"} 
[2026-07-01 09:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-01 09:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":119638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":119638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":119638,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416579840001,"66":13189,"163":206,"87":13824,"24":14,"16":101255507565608960,"45":8815303714795868160},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-07-01 09:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416579840001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:11:37] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-01 09:11:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101255507565608960,"km_value":101255507565608.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815303714795868160,"description":"Unknown IO ID 45"} 
[2026-07-01 09:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416579840001,"power":13189,"unknown_163":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8815303714795868160}} 
[2026-07-01 09:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":119638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416780,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:11:37] local.INFO: GPS data processed {"connection_id":119638,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:11:37] local.INFO: Acknowledgment sent {"connection_id":119638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:11:58] local.INFO: TCP Data received {"connection_id":119639,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bc0f7b8012d0d620006ea1f40000c00b028..."} 
[2026-07-01 09:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bc0f7b8012d0d620006ea1f40000c00b028..."} 
[2026-07-01 09:11:58] local.INFO: Processing buffer {"connection_id":119639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bc0f7b8012d0d620006ea1f40000c00b028..."} 
[2026-07-01 09:11:58] local.INFO: Packet analysis {"connection_id":119639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bc0"} 
[2026-07-01 09:11:58] local.INFO: Extracted packet for processing {"connection_id":119639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bc0"} 
[2026-07-01 09:11:58] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116006720,"longitude_deg":75.5851776,"latitude_deg":11.600672,"altitude":12,"angle":176,"satellites":40,"speed":29,"hex_longitude":"2d0d6200","hex_latitude":"06ea1f40","is_valid_coordinates":true} 
[2026-07-01 09:11:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:11:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416524544001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:11:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333115301245747200,"note":"Value kept but may cause issues"} 
[2026-07-01 09:11:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963559243724441600,"note":"Value kept but may cause issues"} 
[2026-07-01 09:11:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:11:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782877059000,"timestamp_ms":1782877059000,"timestamp_seconds":1782877059,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bc0f7b8"} 
[2026-07-01 09: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-01 09:11:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-01 09:11:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09: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-01 09: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-01 09:11:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:11:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:11:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:11:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:11:58] 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-01 09:11:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:11:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:11:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416524544001,"66":27397,"83":206,"80":6400,"24":29,"16":333115301245747200,"45":963559243724441600},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-07-01 09:11:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:11:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:11:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416524544001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:11:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-01 09:11:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:11:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333115301245747200,"km_value":333115301245747.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:11:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":963559243724441600,"description":"Unknown IO ID 45"} 
[2026-07-01 09:11:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416524544001,"power":27397,"unknown_83":206,"unknown_80":6400,"ignition":29,"odometer":null,"unknown_45":963559243724441600}} 
[2026-07-01 09:11:58] local.INFO: DEBUG: GPS processor result {"connection_id":119639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:11:58] local.INFO: GPS data processed {"connection_id":119639,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:11:58] local.INFO: Acknowledgment sent {"connection_id":119639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:12:21] local.INFO: TCP Data received {"connection_id":120739,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120739,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:12:21] local.INFO: Processing buffer {"connection_id":120739,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:12:21] local.INFO: IMEI packet received {"connection_id":120739,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 09:12:21] local.INFO: IMEI acknowledgment sent {"connection_id":120739,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:12:21] local.INFO: TCP Data received {"connection_id":120740,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:12:21] local.INFO: Processing buffer {"connection_id":120740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:12:21] local.INFO: IMEI packet received {"connection_id":120740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 09:12:21] local.INFO: IMEI acknowledgment sent {"connection_id":120740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:12:21] local.INFO: TCP Data received {"connection_id":120741,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120741,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:12:21] local.INFO: Processing buffer {"connection_id":120741,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:12:21] local.INFO: IMEI packet received {"connection_id":120741,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 09:12:21] local.INFO: IMEI acknowledgment sent {"connection_id":120741,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:12:24] local.INFO: TCP Data received {"connection_id":120741,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120741,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:12:24] local.INFO: Processing buffer {"connection_id":120741,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:12:24] local.INFO: IMEI packet received {"connection_id":120741,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":120741,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:12:26] local.INFO: TCP Data received {"connection_id":120740,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:12:26] local.INFO: Processing buffer {"connection_id":120740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:12:26] local.INFO: IMEI packet received {"connection_id":120740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":120740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:12:27] local.INFO: TCP Data received {"connection_id":120740,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bc0f7b8012d0d620006ea1f40000c00b028..."} 
[2026-07-01 09:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bc0f7b8012d0d620006ea1f40000c00b028..."} 
[2026-07-01 09:12:27] local.INFO: Processing buffer {"connection_id":120740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bc0f7b8012d0d620006ea1f40000c00b028..."} 
[2026-07-01 09:12:27] local.INFO: Packet analysis {"connection_id":120740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bc0"} 
[2026-07-01 09:12:27] local.INFO: Extracted packet for processing {"connection_id":120740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bc0"} 
[2026-07-01 09:12:27] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116006720,"longitude_deg":75.5851776,"latitude_deg":11.600672,"altitude":12,"angle":176,"satellites":40,"speed":29,"hex_longitude":"2d0d6200","hex_latitude":"06ea1f40","is_valid_coordinates":true} 
[2026-07-01 09:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:12:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416524544001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:12:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333115301245747200,"note":"Value kept but may cause issues"} 
[2026-07-01 09:12:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963559243724441600,"note":"Value kept but may cause issues"} 
[2026-07-01 09:12:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:12:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782877059000,"timestamp_ms":1782877059000,"timestamp_seconds":1782877059,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bc0f7b8"} 
[2026-07-01 09:12:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:12:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-01 09:12:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:12:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:12:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:12:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:12:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416524544001,"66":27397,"83":206,"80":6400,"24":29,"16":333115301245747200,"45":963559243724441600},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-07-01 09:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416524544001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:12:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-01 09:12:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333115301245747200,"km_value":333115301245747.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:12:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":963559243724441600,"description":"Unknown IO ID 45"} 
[2026-07-01 09:12:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416524544001,"power":27397,"unknown_83":206,"unknown_80":6400,"ignition":29,"odometer":null,"unknown_45":963559243724441600}} 
[2026-07-01 09:12:27] local.INFO: DEBUG: GPS processor result {"connection_id":120740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:12:27] local.INFO: GPS data processed {"connection_id":120740,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:12:27] local.INFO: Acknowledgment sent {"connection_id":120740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:12:28] local.INFO: TCP Data received {"connection_id":120741,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120741,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:12:28] local.INFO: Processing buffer {"connection_id":120741,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:12:28] local.INFO: IMEI packet received {"connection_id":120741,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":120741,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:12:29] local.INFO: TCP Data received {"connection_id":120741,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bc42438012d7a58c005eb9610000b005829..."} 
[2026-07-01 09:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bc42438012d7a58c005eb9610000b005829..."} 
[2026-07-01 09:12:29] local.INFO: Processing buffer {"connection_id":120741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bc42438012d7a58c005eb9610000b005829..."} 
[2026-07-01 09:12:29] local.INFO: Packet analysis {"connection_id":120741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bc4"} 
[2026-07-01 09:12:29] local.INFO: Extracted packet for processing {"connection_id":120741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bc4"} 
[2026-07-01 09:12:29] local.INFO: GPS Element Parsed {"raw_longitude":762992832,"raw_latitude":99325456,"longitude_deg":76.2992832,"latitude_deg":9.9325456,"altitude":11,"angle":88,"satellites":41,"speed":15,"hex_longitude":"2d7a58c0","hex_latitude":"05eb9610","is_valid_coordinates":true} 
[2026-07-01 09: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-01 09:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416580096001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101255529040445440,"note":"Value kept but may cause issues"} 
[2026-07-01 09:12:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815585189772539904,"note":"Value kept but may cause issues"} 
[2026-07-01 09:12:29] 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-01 09:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782877267000,"timestamp_ms":1782877267000,"timestamp_seconds":1782877267,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bc42438"} 
[2026-07-01 09: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-01 09:12:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-01 09:12:29] 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-01 09: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-01 09: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-01 09:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":120741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":120741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":120741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:12:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416580096001,"66":13319,"163":206,"87":13824,"24":15,"16":101255529040445440,"45":8815585189772539904},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-07-01 09:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416580096001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:12:29] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-01 09:12:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101255529040445440,"km_value":101255529040445.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:12:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815585189772539904,"description":"Unknown IO ID 45"} 
[2026-07-01 09:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416580096001,"power":13319,"unknown_163":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8815585189772539904}} 
[2026-07-01 09:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":120741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416783,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:12:29] local.INFO: GPS data processed {"connection_id":120741,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:12:29] local.INFO: Acknowledgment sent {"connection_id":120741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:13:00] local.INFO: TCP Data received {"connection_id":120740,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bc0f7b8012d0d620006ea1f40000c00b028..."} 
[2026-07-01 09:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bc0f7b8012d0d620006ea1f40000c00b028..."} 
[2026-07-01 09:13:00] local.INFO: Processing buffer {"connection_id":120740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bc0f7b8012d0d620006ea1f40000c00b028..."} 
[2026-07-01 09:13:00] local.INFO: Packet analysis {"connection_id":120740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bc0"} 
[2026-07-01 09:13:00] local.INFO: Extracted packet for processing {"connection_id":120740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bc0"} 
[2026-07-01 09:13:00] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116006720,"longitude_deg":75.5851776,"latitude_deg":11.600672,"altitude":12,"angle":176,"satellites":40,"speed":29,"hex_longitude":"2d0d6200","hex_latitude":"06ea1f40","is_valid_coordinates":true} 
[2026-07-01 09:13: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-01 09:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416524544001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333115301245747200,"note":"Value kept but may cause issues"} 
[2026-07-01 09:13:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963559243724441600,"note":"Value kept but may cause issues"} 
[2026-07-01 09:13:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782877059000,"timestamp_ms":1782877059000,"timestamp_seconds":1782877059,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bc0f7b8"} 
[2026-07-01 09:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:13:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-01 09:13:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:13:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":120740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":120740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":120740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:13:00] 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-01 09:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416524544001,"66":27397,"83":206,"80":6400,"24":29,"16":333115301245747200,"45":963559243724441600},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-07-01 09:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416524544001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:13:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-01 09:13:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333115301245747200,"km_value":333115301245747.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:13:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":963559243724441600,"description":"Unknown IO ID 45"} 
[2026-07-01 09:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416524544001,"power":27397,"unknown_83":206,"unknown_80":6400,"ignition":29,"odometer":null,"unknown_45":963559243724441600}} 
[2026-07-01 09:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":120740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:13:00] local.INFO: GPS data processed {"connection_id":120740,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:13:00] local.INFO: Acknowledgment sent {"connection_id":120740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:13:01] local.INFO: TCP Data received {"connection_id":120741,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bc42c08012d7a5c8005eb96a0000b004b2a..."} 
[2026-07-01 09:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bc42c08012d7a5c8005eb96a0000b004b2a..."} 
[2026-07-01 09:13:01] local.INFO: Processing buffer {"connection_id":120741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bc42c08012d7a5c8005eb96a0000b004b2a..."} 
[2026-07-01 09:13:01] local.INFO: Packet analysis {"connection_id":120741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bc4"} 
[2026-07-01 09:13:01] local.INFO: Extracted packet for processing {"connection_id":120741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bc4"} 
[2026-07-01 09:13:01] local.INFO: GPS Element Parsed {"raw_longitude":762993792,"raw_latitude":99325600,"longitude_deg":76.2993792,"latitude_deg":9.93256,"altitude":11,"angle":75,"satellites":42,"speed":17,"hex_longitude":"2d7a5c80","hex_latitude":"05eb96a0","is_valid_coordinates":true} 
[2026-07-01 09:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416580352001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101255571990118400,"note":"Value kept but may cause issues"} 
[2026-07-01 09:13:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8816007402237595648,"note":"Value kept but may cause issues"} 
[2026-07-01 09:13:01] 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-01 09:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782877269000,"timestamp_ms":1782877269000,"timestamp_seconds":1782877269,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bc42c08"} 
[2026-07-01 09:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:13:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 09:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-01 09:13:01] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-01 09:13:01] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-07-01 09:13:01] local.WARNING: Large IO value detected {"io_id":27,"raw_value":3287379969,"note":"Value kept but may cause issues"} 
[2026-07-01 09:13:01] local.WARNING: Large IO value detected {"io_id":235,"raw_value":-4372995143677957120,"note":"Value kept but may cause issues"} 
[2026-07-01 09:13:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":765657294,"corrected_to":0} 
[2026-07-01 09:13:01] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137391917,"note":"Value kept but may cause issues"} 
[2026-07-01 09:13:01] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3136552960,"note":"Value kept but may cause issues"} 
[2026-07-01 09:13:01] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3955316736,"note":"Value kept but may cause issues"} 
[2026-07-01 09:13:01] local.WARNING: Large IO value detected {"io_id":117,"raw_value":57770110463399734,"note":"Value kept but may cause issues"} 
[2026-07-01 09:13:01] local.WARNING: Large IO value detected {"io_id":195,"raw_value":5293982656809943045,"note":"Value kept but may cause issues"} 
[2026-07-01 09:13:01] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,163,87,24,241,157,16,187,159,32,45,64,150,11,41,10,66,28,12,1,240,221,227,27,235,4,113,205,69,136,239,51,2,103,5,21,117,195],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":765657294,"validated":0}]} 
[2026-07-01 09:13:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792730467535093760,"timestamp_seconds":792730467535093.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 09:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":120741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":120741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":120741,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:13:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416580352001,"66":12917,"163":206,"87":13824,"24":17,"16":101255571990118400,"45":8816007402237595648},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-07-01 09:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416580352001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:13:01] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-01 09:13:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101255571990118400,"km_value":101255571990118.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:13:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8816007402237595648,"description":"Unknown IO ID 45"} 
[2026-07-01 09:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416580352001,"power":12917,"unknown_163":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8816007402237595648}} 
[2026-07-01 09:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":120741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416785,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:13:01] local.INFO: GPS data processed {"connection_id":120741,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:13:01] local.INFO: Acknowledgment sent {"connection_id":120741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:13:21] local.INFO: TCP Data received {"connection_id":119640,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:13:21] local.INFO: Processing buffer {"connection_id":119640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:13:21] local.INFO: IMEI packet received {"connection_id":119640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 09:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":119640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:13:22] local.INFO: TCP Data received {"connection_id":119640,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:13:22] local.INFO: Processing buffer {"connection_id":119640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:13:22] local.INFO: IMEI packet received {"connection_id":119640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":119640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:13:26] local.INFO: TCP Data received {"connection_id":119640,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:13:26] local.INFO: Processing buffer {"connection_id":119640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:13:26] local.INFO: IMEI packet received {"connection_id":119640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":119640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:13:27] local.INFO: TCP Data received {"connection_id":119640,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bc59f20012d0d614006ea0898001200b125..."} 
[2026-07-01 09:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bc59f20012d0d614006ea0898001200b125..."} 
[2026-07-01 09:13:27] local.INFO: Processing buffer {"connection_id":119640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bc59f20012d0d614006ea0898001200b125..."} 
[2026-07-01 09:13:27] local.INFO: Packet analysis {"connection_id":119640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bc5"} 
[2026-07-01 09:13:27] local.INFO: Extracted packet for processing {"connection_id":119640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bc5"} 
[2026-07-01 09:13:27] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000920,"longitude_deg":75.5851584,"latitude_deg":11.600092,"altitude":18,"angle":177,"satellites":37,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea0898","is_valid_coordinates":true} 
[2026-07-01 09:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416527104001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333115301245747200,"note":"Value kept but may cause issues"} 
[2026-07-01 09:13:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299908427776,"note":"Value kept but may cause issues"} 
[2026-07-01 09:13:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782877364000,"timestamp_ms":1782877364000,"timestamp_seconds":1782877364,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bc59f20"} 
[2026-07-01 09:13:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:13:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-01 09:13:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:13:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:13:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:13:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416527104001,"66":25430,"83":206,"80":6400,"24":0,"16":333115301245747200,"45":964333299908427776},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-07-01 09:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416527104001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:13:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-01 09:13:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333115301245747200,"km_value":333115301245747.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:13:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299908427776,"description":"Unknown IO ID 45"} 
[2026-07-01 09:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416527104001,"power":25430,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299908427776}} 
[2026-07-01 09:13:27] local.INFO: DEBUG: GPS processor result {"connection_id":119640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:13:27] local.INFO: GPS data processed {"connection_id":119640,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:13:27] local.INFO: Acknowledgment sent {"connection_id":119640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:13:50] local.INFO: TCP Data received {"connection_id":119641,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119641,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:13:50] local.INFO: Processing buffer {"connection_id":119641,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:13:50] local.INFO: IMEI packet received {"connection_id":119641,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 09:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":119641,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:13:54] local.INFO: TCP Data received {"connection_id":119641,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119641,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:13:54] local.INFO: Processing buffer {"connection_id":119641,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:13:54] local.INFO: IMEI packet received {"connection_id":119641,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":119641,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:13:58] local.INFO: TCP Data received {"connection_id":119641,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119641,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:13:58] local.INFO: Processing buffer {"connection_id":119641,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:13:58] local.INFO: IMEI packet received {"connection_id":119641,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":119641,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:13:59] local.INFO: TCP Data received {"connection_id":119640,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bc59f20012d0d614006ea0898001200b125..."} 
[2026-07-01 09:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bc59f20012d0d614006ea0898001200b125..."} 
[2026-07-01 09:13:59] local.INFO: Processing buffer {"connection_id":119640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bc59f20012d0d614006ea0898001200b125..."} 
[2026-07-01 09:13:59] local.INFO: Packet analysis {"connection_id":119640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bc5"} 
[2026-07-01 09:13:59] local.INFO: Extracted packet for processing {"connection_id":119640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bc5"} 
[2026-07-01 09:13:59] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000920,"longitude_deg":75.5851584,"latitude_deg":11.600092,"altitude":18,"angle":177,"satellites":37,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea0898","is_valid_coordinates":true} 
[2026-07-01 09:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416527104001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333115301245747200,"note":"Value kept but may cause issues"} 
[2026-07-01 09:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299908427776,"note":"Value kept but may cause issues"} 
[2026-07-01 09:13:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782877364000,"timestamp_ms":1782877364000,"timestamp_seconds":1782877364,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bc59f20"} 
[2026-07-01 09:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:13:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-01 09:13:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:13:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:13:59] 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-01 09:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416527104001,"66":25430,"83":206,"80":6400,"24":0,"16":333115301245747200,"45":964333299908427776},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-07-01 09:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416527104001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:13:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-01 09:13:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333115301245747200,"km_value":333115301245747.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299908427776,"description":"Unknown IO ID 45"} 
[2026-07-01 09:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416527104001,"power":25430,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299908427776}} 
[2026-07-01 09:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":119640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:13:59] local.INFO: GPS data processed {"connection_id":119640,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:13:59] local.INFO: Acknowledgment sent {"connection_id":119640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:14:00] local.INFO: TCP Data received {"connection_id":119641,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bc466a0012d7a7dc005eba2a0000a004727..."} 
[2026-07-01 09:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bc466a0012d7a7dc005eba2a0000a004727..."} 
[2026-07-01 09:14:00] local.INFO: Processing buffer {"connection_id":119641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bc466a0012d7a7dc005eba2a0000a004727..."} 
[2026-07-01 09:14:00] local.INFO: Packet analysis {"connection_id":119641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bc4"} 
[2026-07-01 09:14:00] local.INFO: Extracted packet for processing {"connection_id":119641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bc4"} 
[2026-07-01 09:14:00] local.INFO: GPS Element Parsed {"raw_longitude":763002304,"raw_latitude":99328672,"longitude_deg":76.3002304,"latitude_deg":9.9328672,"altitude":10,"angle":71,"satellites":39,"speed":26,"hex_longitude":"2d7a7dc0","hex_latitude":"05eba2a0","is_valid_coordinates":true} 
[2026-07-01 09:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416580864001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101256005781815296,"note":"Value kept but may cause issues"} 
[2026-07-01 09:14:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8817062933400297472,"note":"Value kept but may cause issues"} 
[2026-07-01 09:14:00] 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-01 09:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782877284000,"timestamp_ms":1782877284000,"timestamp_seconds":1782877284,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bc466a0"} 
[2026-07-01 09:14:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:14: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-01 09:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-01 09:14:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:14:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:14:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":119641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":119641,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":119641,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:14:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416580864001,"66":13254,"163":206,"87":13824,"24":26,"16":101256005781815296,"45":8817062933400297472},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-07-01 09:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416580864001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:14:00] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-01 09:14:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101256005781815296,"km_value":101256005781815.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:14:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8817062933400297472,"description":"Unknown IO ID 45"} 
[2026-07-01 09:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416580864001,"power":13254,"unknown_163":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8817062933400297472}} 
[2026-07-01 09:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":119641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416788,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:14:00] local.INFO: GPS data processed {"connection_id":119641,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:14:00] local.INFO: Acknowledgment sent {"connection_id":119641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:14:21] local.INFO: TCP Data received {"connection_id":118988,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:14:21] local.INFO: Processing buffer {"connection_id":118988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:14:21] local.INFO: IMEI packet received {"connection_id":118988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 09:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":118988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:14:23] local.INFO: TCP Data received {"connection_id":118868,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118868,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:14:23] local.INFO: Processing buffer {"connection_id":118868,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:14:23] local.INFO: IMEI packet received {"connection_id":118868,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 09:14:23] local.INFO: IMEI acknowledgment sent {"connection_id":118868,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:14:25] local.INFO: TCP Data received {"connection_id":118868,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118868,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:14:25] local.INFO: Processing buffer {"connection_id":118868,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:14:25] local.INFO: IMEI packet received {"connection_id":118868,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":118868,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:14:26] local.INFO: TCP Data received {"connection_id":118988,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:14:26] local.INFO: Processing buffer {"connection_id":118988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:14:26] local.INFO: IMEI packet received {"connection_id":118988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":118988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:14:28] local.INFO: TCP Data received {"connection_id":118988,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bc59f20012d0d614006ea0898001200b125..."} 
[2026-07-01 09:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bc59f20012d0d614006ea0898001200b125..."} 
[2026-07-01 09:14:28] local.INFO: Processing buffer {"connection_id":118988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bc59f20012d0d614006ea0898001200b125..."} 
[2026-07-01 09:14:28] local.INFO: Packet analysis {"connection_id":118988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bc5"} 
[2026-07-01 09:14:28] local.INFO: Extracted packet for processing {"connection_id":118988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bc5"} 
[2026-07-01 09:14:28] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000920,"longitude_deg":75.5851584,"latitude_deg":11.600092,"altitude":18,"angle":177,"satellites":37,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea0898","is_valid_coordinates":true} 
[2026-07-01 09: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-01 09:14:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416527104001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:14:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333115301245747200,"note":"Value kept but may cause issues"} 
[2026-07-01 09:14:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299908427776,"note":"Value kept but may cause issues"} 
[2026-07-01 09:14:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:14:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782877364000,"timestamp_ms":1782877364000,"timestamp_seconds":1782877364,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bc59f20"} 
[2026-07-01 09: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-01 09:14:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-01 09:14:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09: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-01 09: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-01 09:14:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:14:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:14:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:14:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:14:28] 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-01 09:14:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:14:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:14:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416527104001,"66":25430,"83":206,"80":6400,"24":0,"16":333115301245747200,"45":964333299908427776},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-07-01 09:14:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:14:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:14:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416527104001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:14:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-01 09:14:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:14:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333115301245747200,"km_value":333115301245747.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:14:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299908427776,"description":"Unknown IO ID 45"} 
[2026-07-01 09:14:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416527104001,"power":25430,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299908427776}} 
[2026-07-01 09:14:28] local.INFO: DEBUG: GPS processor result {"connection_id":118988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:14:28] local.INFO: GPS data processed {"connection_id":118988,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:14:28] local.INFO: Acknowledgment sent {"connection_id":118988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:14:29] local.INFO: TCP Data received {"connection_id":118868,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118868,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:14:29] local.INFO: Processing buffer {"connection_id":118868,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:14:29] local.INFO: IMEI packet received {"connection_id":118868,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":118868,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:14:30] local.INFO: TCP Data received {"connection_id":118868,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bc69d08012d7be0c005ec2fa80010004d2a..."} 
[2026-07-01 09:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bc69d08012d7be0c005ec2fa80010004d2a..."} 
[2026-07-01 09:14:30] local.INFO: Processing buffer {"connection_id":118868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bc69d08012d7be0c005ec2fa80010004d2a..."} 
[2026-07-01 09:14:30] local.INFO: Packet analysis {"connection_id":118868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bc6"} 
[2026-07-01 09:14:30] local.INFO: Extracted packet for processing {"connection_id":118868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bc6"} 
[2026-07-01 09:14:30] local.INFO: GPS Element Parsed {"raw_longitude":763093184,"raw_latitude":99364776,"longitude_deg":76.3093184,"latitude_deg":9.9364776,"altitude":16,"angle":77,"satellites":42,"speed":8,"hex_longitude":"2d7be0c0","hex_latitude":"05ec2fa8","is_valid_coordinates":true} 
[2026-07-01 09:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416616704001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101260700181069824,"note":"Value kept but may cause issues"} 
[2026-07-01 09:14:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8917619868839682048,"note":"Value kept but may cause issues"} 
[2026-07-01 09:14:30] 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-01 09:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782877429000,"timestamp_ms":1782877429000,"timestamp_seconds":1782877429,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bc69d08"} 
[2026-07-01 09:14:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:14:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-01 09:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303165193899325,"note":"Value kept but may cause issues"} 
[2026-07-01 09:14:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-01 09:14:30] local.WARNING: Large IO value detected {"io_id":27,"raw_value":3314515969,"note":"Value kept but may cause issues"} 
[2026-07-01 09:14:30] local.WARNING: Large IO value detected {"io_id":235,"raw_value":4156030990,"note":"Value kept but may cause issues"} 
[2026-07-01 09:14:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033568462,"corrected_to":0} 
[2026-07-01 09:14:30] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3053505853,"note":"Value kept but may cause issues"} 
[2026-07-01 09:14:30] local.WARNING: Large IO value detected {"io_id":156,"raw_value":58079734643818535,"note":"Value kept but may cause issues"} 
[2026-07-01 09:14:30] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3185246208,"note":"Value kept but may cause issues"} 
[2026-07-01 09:14:30] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3957256192,"note":"Value kept but may cause issues"} 
[2026-07-01 09:14:30] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,155,87,24,241,157,16,191,159,35,45,192,29,43,10,66,248,18,15,42,190,206,128,1,240,3,227,27,235,4,113,205,17,65,37,48,239,50,156,2,103,5,12,39],"length":486,"final_offset":616,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1033568462,"validated":0}]} 
[2026-07-01 09:14:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1153003053152993280,"timestamp_seconds":1153003053152993.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 09:14:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":118868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":118868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":118868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:14:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416616704001,"66":13015,"198":206,"87":13824,"24":8,"16":101260700181069824,"45":8917619868839682048},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-01 09:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416616704001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:14:30] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-01 09:14:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101260700181069824,"km_value":101260700181069.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:14:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8917619868839682048,"description":"Unknown IO ID 45"} 
[2026-07-01 09:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416616704001,"power":13015,"unknown_198":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8917619868839682048}} 
[2026-07-01 09:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":118868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416790,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:14:30] local.INFO: GPS data processed {"connection_id":118868,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:14:30] local.INFO: Acknowledgment sent {"connection_id":118868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:14:32] local.INFO: TCP Data received {"connection_id":118988,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bc59f20012d0d614006ea0898001200b125..."} 
[2026-07-01 09:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bc59f20012d0d614006ea0898001200b125..."} 
[2026-07-01 09:14:32] local.INFO: Processing buffer {"connection_id":118988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bc59f20012d0d614006ea0898001200b125..."} 
[2026-07-01 09:14:32] local.INFO: Packet analysis {"connection_id":118988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bc5"} 
[2026-07-01 09:14:32] local.INFO: Extracted packet for processing {"connection_id":118988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bc5"} 
[2026-07-01 09:14:32] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000920,"longitude_deg":75.5851584,"latitude_deg":11.600092,"altitude":18,"angle":177,"satellites":37,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea0898","is_valid_coordinates":true} 
[2026-07-01 09:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416527104001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333115301245747200,"note":"Value kept but may cause issues"} 
[2026-07-01 09:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299908427776,"note":"Value kept but may cause issues"} 
[2026-07-01 09:14:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782877364000,"timestamp_ms":1782877364000,"timestamp_seconds":1782877364,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bc59f20"} 
[2026-07-01 09:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:14:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-01 09:14:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:14:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":118988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":118988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":118988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:14:32] 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-01 09:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416527104001,"66":25430,"83":206,"80":6400,"24":0,"16":333115301245747200,"45":964333299908427776},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-07-01 09:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416527104001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:14:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-01 09:14:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333115301245747200,"km_value":333115301245747.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299908427776,"description":"Unknown IO ID 45"} 
[2026-07-01 09:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416527104001,"power":25430,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299908427776}} 
[2026-07-01 09:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":118988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:14:32] local.INFO: GPS data processed {"connection_id":118988,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:14:32] local.INFO: Acknowledgment sent {"connection_id":118988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:15:02] local.INFO: TCP Data received {"connection_id":118868,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bc6eb28012d7c04c005ec3460001100552c..."} 
[2026-07-01 09:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bc6eb28012d7c04c005ec3460001100552c..."} 
[2026-07-01 09:15:02] local.INFO: Processing buffer {"connection_id":118868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bc6eb28012d7c04c005ec3460001100552c..."} 
[2026-07-01 09:15:02] local.INFO: Packet analysis {"connection_id":118868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bc6"} 
[2026-07-01 09:15:02] local.INFO: Extracted packet for processing {"connection_id":118868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bc6"} 
[2026-07-01 09:15:02] local.INFO: GPS Element Parsed {"raw_longitude":763102400,"raw_latitude":99365984,"longitude_deg":76.31024,"latitude_deg":9.9365984,"altitude":17,"angle":85,"satellites":44,"speed":27,"hex_longitude":"2d7c04c0","hex_latitude":"05ec3460","is_valid_coordinates":true} 
[2026-07-01 09: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-01 09:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416621824001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101261146857668608,"note":"Value kept but may cause issues"} 
[2026-07-01 09:15:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8926345593118238720,"note":"Value kept but may cause issues"} 
[2026-07-01 09:15: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-01 09:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782877449000,"timestamp_ms":1782877449000,"timestamp_seconds":1782877449,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bc6eb28"} 
[2026-07-01 09:15:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:15:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 09:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-01 09:15:02] 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-01 09:15:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:15:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":118868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":118868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":118868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:15:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416621824001,"66":12961,"198":206,"87":13824,"24":27,"16":101261146857668608,"45":8926345593118238720},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-01 09:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416621824001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:15:02] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-01 09:15:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:15:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101261146857668608,"km_value":101261146857668.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:15:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8926345593118238720,"description":"Unknown IO ID 45"} 
[2026-07-01 09:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416621824001,"power":12961,"unknown_198":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8926345593118238720}} 
[2026-07-01 09:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":118868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416792,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:15:02] local.INFO: GPS data processed {"connection_id":118868,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:15:02] local.INFO: Acknowledgment sent {"connection_id":118868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:15:03] local.INFO: TCP Data received {"connection_id":118988,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bc59f20012d0d614006ea0898001200b125..."} 
[2026-07-01 09:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bc59f20012d0d614006ea0898001200b125..."} 
[2026-07-01 09:15:03] local.INFO: Processing buffer {"connection_id":118988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bc59f20012d0d614006ea0898001200b125..."} 
[2026-07-01 09:15:03] local.INFO: Packet analysis {"connection_id":118988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bc5"} 
[2026-07-01 09:15:03] local.INFO: Extracted packet for processing {"connection_id":118988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bc5"} 
[2026-07-01 09:15:03] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000920,"longitude_deg":75.5851584,"latitude_deg":11.600092,"altitude":18,"angle":177,"satellites":37,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea0898","is_valid_coordinates":true} 
[2026-07-01 09: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-01 09:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416527104001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333115301245747200,"note":"Value kept but may cause issues"} 
[2026-07-01 09:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299908427776,"note":"Value kept but may cause issues"} 
[2026-07-01 09:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782877364000,"timestamp_ms":1782877364000,"timestamp_seconds":1782877364,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bc59f20"} 
[2026-07-01 09: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-01 09:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-01 09:15:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09: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-01 09: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-01 09:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":118988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":118988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":118988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416527104001,"66":25430,"83":206,"80":6400,"24":0,"16":333115301245747200,"45":964333299908427776},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-07-01 09:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416527104001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:15:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-01 09:15:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333115301245747200,"km_value":333115301245747.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299908427776,"description":"Unknown IO ID 45"} 
[2026-07-01 09:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416527104001,"power":25430,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299908427776}} 
[2026-07-01 09:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":118988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:15:03] local.INFO: GPS data processed {"connection_id":118988,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:15:03] local.INFO: Acknowledgment sent {"connection_id":118988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:15:19] local.INFO: TCP Data received {"connection_id":118869,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118869,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:15:19] local.INFO: Processing buffer {"connection_id":118869,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:15:19] local.INFO: IMEI packet received {"connection_id":118869,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 09:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":118869,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:15:21] local.INFO: TCP Data received {"connection_id":118989,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:15:21] local.INFO: Processing buffer {"connection_id":118989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:15:21] local.INFO: IMEI packet received {"connection_id":118989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 09:15:21] local.INFO: IMEI acknowledgment sent {"connection_id":118989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:15:22] local.INFO: TCP Data received {"connection_id":118869,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118869,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:15:22] local.INFO: Processing buffer {"connection_id":118869,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:15:22] local.INFO: IMEI packet received {"connection_id":118869,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:15:22] local.INFO: IMEI acknowledgment sent {"connection_id":118869,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:15:24] local.INFO: TCP Data received {"connection_id":118869,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bc71a08012d7c280005ec3610001100582b..."} 
[2026-07-01 09:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bc71a08012d7c280005ec3610001100582b..."} 
[2026-07-01 09:15:24] local.INFO: Processing buffer {"connection_id":118869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bc71a08012d7c280005ec3610001100582b..."} 
[2026-07-01 09:15:24] local.INFO: Packet analysis {"connection_id":118869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bc7"} 
[2026-07-01 09:15:24] local.INFO: Extracted packet for processing {"connection_id":118869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bc7"} 
[2026-07-01 09:15:24] local.INFO: GPS Element Parsed {"raw_longitude":763111424,"raw_latitude":99366416,"longitude_deg":76.3111424,"latitude_deg":9.9366416,"altitude":17,"angle":88,"satellites":43,"speed":32,"hex_longitude":"2d7c2800","hex_latitude":"05ec3610","is_valid_coordinates":true} 
[2026-07-01 09: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-01 09:15:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416626944001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:15:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101261576354398208,"note":"Value kept but may cause issues"} 
[2026-07-01 09:15:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936478692280131584,"note":"Value kept but may cause issues"} 
[2026-07-01 09:15:24] 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-01 09:15:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782877461000,"timestamp_ms":1782877461000,"timestamp_seconds":1782877461,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bc71a08"} 
[2026-07-01 09: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-01 09:15:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-01 09:15:24] 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-01 09: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-01 09: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-01 09:15:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:15:24] local.INFO: Teltonika packet parsed successfully {"connection_id":118869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:15:24] local.INFO: Passing IMEI to GPS processor {"connection_id":118869,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:15:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":118869,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:15:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:15:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:15:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:15:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416626944001,"66":12765,"198":206,"87":13824,"24":32,"16":101261576354398208,"45":8936478692280131584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-01 09:15:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:15:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:15:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416626944001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:15:24] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-01 09:15:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:15:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101261576354398208,"km_value":101261576354398.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:15:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936478692280131584,"description":"Unknown IO ID 45"} 
[2026-07-01 09:15:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416626944001,"power":12765,"unknown_198":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8936478692280131584}} 
[2026-07-01 09:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":118869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416794,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:15:24] local.INFO: GPS data processed {"connection_id":118869,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:15:24] local.INFO: Acknowledgment sent {"connection_id":118869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:15:26] local.INFO: TCP Data received {"connection_id":118989,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:15:26] local.INFO: Processing buffer {"connection_id":118989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:15:26] local.INFO: IMEI packet received {"connection_id":118989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":118989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:15:27] local.INFO: TCP Data received {"connection_id":118989,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bc59f20012d0d614006ea0898001200b125..."} 
[2026-07-01 09:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bc59f20012d0d614006ea0898001200b125..."} 
[2026-07-01 09:15:27] local.INFO: Processing buffer {"connection_id":118989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bc59f20012d0d614006ea0898001200b125..."} 
[2026-07-01 09:15:27] local.INFO: Packet analysis {"connection_id":118989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bc5"} 
[2026-07-01 09:15:27] local.INFO: Extracted packet for processing {"connection_id":118989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bc5"} 
[2026-07-01 09:15:27] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000920,"longitude_deg":75.5851584,"latitude_deg":11.600092,"altitude":18,"angle":177,"satellites":37,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea0898","is_valid_coordinates":true} 
[2026-07-01 09:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:15:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416527104001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:15:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333115301245747200,"note":"Value kept but may cause issues"} 
[2026-07-01 09:15:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299908427776,"note":"Value kept but may cause issues"} 
[2026-07-01 09:15:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:15:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782877364000,"timestamp_ms":1782877364000,"timestamp_seconds":1782877364,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bc59f20"} 
[2026-07-01 09:15:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:15:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-01 09:15:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:15:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:15:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:15:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:15:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:15:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:15:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:15:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:15:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:15:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:15:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416527104001,"66":25430,"83":206,"80":6400,"24":0,"16":333115301245747200,"45":964333299908427776},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-07-01 09:15:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:15:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:15:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416527104001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:15:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-01 09:15:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:15:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333115301245747200,"km_value":333115301245747.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:15:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299908427776,"description":"Unknown IO ID 45"} 
[2026-07-01 09:15:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416527104001,"power":25430,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299908427776}} 
[2026-07-01 09:15:27] local.INFO: DEBUG: GPS processor result {"connection_id":118989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:15:27] local.INFO: GPS data processed {"connection_id":118989,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:15:27] local.INFO: Acknowledgment sent {"connection_id":118989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:15:55] local.INFO: TCP Data received {"connection_id":118869,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bc748e8012d7c4dc005ec3728001000592b..."} 
[2026-07-01 09:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bc748e8012d7c4dc005ec3728001000592b..."} 
[2026-07-01 09:15:55] local.INFO: Processing buffer {"connection_id":118869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bc748e8012d7c4dc005ec3728001000592b..."} 
[2026-07-01 09:15:55] local.INFO: Packet analysis {"connection_id":118869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bc7"} 
[2026-07-01 09:15:55] local.INFO: Extracted packet for processing {"connection_id":118869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bc7"} 
[2026-07-01 09:15:55] local.INFO: GPS Element Parsed {"raw_longitude":763121088,"raw_latitude":99366696,"longitude_deg":76.3121088,"latitude_deg":9.9366696,"altitude":16,"angle":89,"satellites":43,"speed":31,"hex_longitude":"2d7c4dc0","hex_latitude":"05ec3728","is_valid_coordinates":true} 
[2026-07-01 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-01 09:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416630016001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101262040210866176,"note":"Value kept but may cause issues"} 
[2026-07-01 09:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946400685209292800,"note":"Value kept but may cause issues"} 
[2026-07-01 09:15:55] 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-01 09:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782877473000,"timestamp_ms":1782877473000,"timestamp_seconds":1782877473,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bc748e8"} 
[2026-07-01 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-01 09:15:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-01 09:15:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 09:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":118869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":118869,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":118869,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416630016001,"66":13319,"198":206,"87":13824,"24":31,"16":101262040210866176,"45":8946400685209292800},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-01 09:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416630016001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:15:55] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-01 09:15:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101262040210866176,"km_value":101262040210866.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946400685209292800,"description":"Unknown IO ID 45"} 
[2026-07-01 09:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416630016001,"power":13319,"unknown_198":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8946400685209292800}} 
[2026-07-01 09:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":118869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416796,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:15:55] local.INFO: GPS data processed {"connection_id":118869,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:15:55] local.INFO: Acknowledgment sent {"connection_id":118869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:16:00] local.INFO: TCP Data received {"connection_id":118989,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bc59f20012d0d614006ea0898001200b125..."} 
[2026-07-01 09:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bc59f20012d0d614006ea0898001200b125..."} 
[2026-07-01 09:16:00] local.INFO: Processing buffer {"connection_id":118989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bc59f20012d0d614006ea0898001200b125..."} 
[2026-07-01 09:16:00] local.INFO: Packet analysis {"connection_id":118989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bc5"} 
[2026-07-01 09:16:00] local.INFO: Extracted packet for processing {"connection_id":118989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bc5"} 
[2026-07-01 09:16:00] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000920,"longitude_deg":75.5851584,"latitude_deg":11.600092,"altitude":18,"angle":177,"satellites":37,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea0898","is_valid_coordinates":true} 
[2026-07-01 09:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:16:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416527104001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:16:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333115301245747200,"note":"Value kept but may cause issues"} 
[2026-07-01 09:16:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299908427776,"note":"Value kept but may cause issues"} 
[2026-07-01 09:16:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:16:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782877364000,"timestamp_ms":1782877364000,"timestamp_seconds":1782877364,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bc59f20"} 
[2026-07-01 09:16:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:16:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-01 09:16:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:16:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:16:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:16:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:16:00] local.INFO: Teltonika packet parsed successfully {"connection_id":118989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:16:00] local.INFO: Passing IMEI to GPS processor {"connection_id":118989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:16:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":118989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:16:00] 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-01 09:16:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:16:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:16:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416527104001,"66":25430,"83":206,"80":6400,"24":0,"16":333115301245747200,"45":964333299908427776},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-07-01 09:16:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:16:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:16:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416527104001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:16:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-01 09:16:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:16:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333115301245747200,"km_value":333115301245747.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:16:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299908427776,"description":"Unknown IO ID 45"} 
[2026-07-01 09:16:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416527104001,"power":25430,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299908427776}} 
[2026-07-01 09:16:00] local.INFO: DEBUG: GPS processor result {"connection_id":118989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:16:00] local.INFO: GPS data processed {"connection_id":118989,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:16:00] local.INFO: Acknowledgment sent {"connection_id":118989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:16:18] local.INFO: TCP Data received {"connection_id":118870,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118870,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:16:18] local.INFO: Processing buffer {"connection_id":118870,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:16:18] local.INFO: IMEI packet received {"connection_id":118870,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 09:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":118870,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:16:21] local.INFO: TCP Data received {"connection_id":119644,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:16:21] local.INFO: Processing buffer {"connection_id":119644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:16:21] local.INFO: IMEI packet received {"connection_id":119644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 09:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":119644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:16:21] local.INFO: TCP Data received {"connection_id":118870,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118870,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:16:21] local.INFO: Processing buffer {"connection_id":118870,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:16:21] local.INFO: IMEI packet received {"connection_id":118870,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":118870,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:16:23] local.INFO: TCP Data received {"connection_id":118870,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118870,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:16:23] local.INFO: Processing buffer {"connection_id":118870,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:16:23] local.INFO: IMEI packet received {"connection_id":118870,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:16:23] local.INFO: IMEI acknowledgment sent {"connection_id":118870,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:16:25] local.INFO: TCP Data received {"connection_id":118870,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bc8c7b8012d7d39c005ec3c90000d00a029..."} 
[2026-07-01 09:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bc8c7b8012d7d39c005ec3c90000d00a029..."} 
[2026-07-01 09:16:25] local.INFO: Processing buffer {"connection_id":118870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bc8c7b8012d7d39c005ec3c90000d00a029..."} 
[2026-07-01 09:16:25] local.INFO: Packet analysis {"connection_id":118870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bc8"} 
[2026-07-01 09:16:25] local.INFO: Extracted packet for processing {"connection_id":118870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bc8"} 
[2026-07-01 09:16:25] local.INFO: GPS Element Parsed {"raw_longitude":763181504,"raw_latitude":99368080,"longitude_deg":76.3181504,"latitude_deg":9.936808,"altitude":13,"angle":160,"satellites":41,"speed":9,"hex_longitude":"2d7d39c0","hex_latitude":"05ec3c90","is_valid_coordinates":true} 
[2026-07-01 09:16:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:16:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416657920001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:16:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101264947903725568,"note":"Value kept but may cause issues"} 
[2026-07-01 09:16:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023313722595958784,"note":"Value kept but may cause issues"} 
[2026-07-01 09:16:25] 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-01 09:16:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782877571000,"timestamp_ms":1782877571000,"timestamp_seconds":1782877571,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bc8c7b8"} 
[2026-07-01 09:16:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:16:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 09:16:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-01 09:16: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-01 09:16:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:16:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:16:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:16:25] local.INFO: Teltonika packet parsed successfully {"connection_id":118870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:16:25] local.INFO: Passing IMEI to GPS processor {"connection_id":118870,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:16:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":118870,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:16:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:16:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:16:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:16:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416657920001,"66":12765,"110":206,"87":13824,"24":9,"16":101264947903725568,"45":9023313722595958784},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:16:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:16:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:16:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416657920001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:16:25] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:16:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:16:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101264947903725568,"km_value":101264947903725.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:16:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023313722595958784,"description":"Unknown IO ID 45"} 
[2026-07-01 09:16:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416657920001,"power":12765,"unknown_110":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":9023313722595958784}} 
[2026-07-01 09:16:25] local.INFO: DEBUG: GPS processor result {"connection_id":118870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416798,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:16:25] local.INFO: GPS data processed {"connection_id":118870,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:16:25] local.INFO: Acknowledgment sent {"connection_id":118870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:16:26] local.INFO: TCP Data received {"connection_id":119644,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:16:26] local.INFO: Processing buffer {"connection_id":119644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:16:26] local.INFO: IMEI packet received {"connection_id":119644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":119644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:16:27] local.INFO: TCP Data received {"connection_id":119644,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bc59f20012d0d614006ea0898001200b125..."} 
[2026-07-01 09:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bc59f20012d0d614006ea0898001200b125..."} 
[2026-07-01 09:16:27] local.INFO: Processing buffer {"connection_id":119644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bc59f20012d0d614006ea0898001200b125..."} 
[2026-07-01 09:16:27] local.INFO: Packet analysis {"connection_id":119644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bc5"} 
[2026-07-01 09:16:27] local.INFO: Extracted packet for processing {"connection_id":119644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bc5"} 
[2026-07-01 09:16:27] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000920,"longitude_deg":75.5851584,"latitude_deg":11.600092,"altitude":18,"angle":177,"satellites":37,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea0898","is_valid_coordinates":true} 
[2026-07-01 09:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416527104001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333115301245747200,"note":"Value kept but may cause issues"} 
[2026-07-01 09:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299908427776,"note":"Value kept but may cause issues"} 
[2026-07-01 09:16:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782877364000,"timestamp_ms":1782877364000,"timestamp_seconds":1782877364,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bc59f20"} 
[2026-07-01 09:16:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:16:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-01 09:16:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:16:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:16:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:16:27] 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-01 09:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416527104001,"66":25430,"83":206,"80":6400,"24":0,"16":333115301245747200,"45":964333299908427776},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-07-01 09:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416527104001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:16:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-01 09:16:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333115301245747200,"km_value":333115301245747.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299908427776,"description":"Unknown IO ID 45"} 
[2026-07-01 09:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416527104001,"power":25430,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299908427776}} 
[2026-07-01 09:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":119644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:16:27] local.INFO: GPS data processed {"connection_id":119644,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:16:27] local.INFO: Acknowledgment sent {"connection_id":119644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:16:29] local.INFO: TCP Data received {"connection_id":118870,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bc8cba0012d7d3a4005ec3ba8000c00b628..."} 
[2026-07-01 09:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bc8cba0012d7d3a4005ec3ba8000c00b628..."} 
[2026-07-01 09:16:29] local.INFO: Processing buffer {"connection_id":118870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bc8cba0012d7d3a4005ec3ba8000c00b628..."} 
[2026-07-01 09:16:29] local.INFO: Packet analysis {"connection_id":118870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bc8"} 
[2026-07-01 09:16:29] local.INFO: Extracted packet for processing {"connection_id":118870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bc8"} 
[2026-07-01 09:16:29] local.INFO: GPS Element Parsed {"raw_longitude":763181632,"raw_latitude":99367848,"longitude_deg":76.3181632,"latitude_deg":9.9367848,"altitude":12,"angle":182,"satellites":40,"speed":7,"hex_longitude":"2d7d3a40","hex_latitude":"05ec3ba8","is_valid_coordinates":true} 
[2026-07-01 09: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-01 09:16:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416658176001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:16:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101264960788627456,"note":"Value kept but may cause issues"} 
[2026-07-01 09:16:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023454460084260864,"note":"Value kept but may cause issues"} 
[2026-07-01 09:16:29] 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-01 09:16:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782877572000,"timestamp_ms":1782877572000,"timestamp_seconds":1782877572,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bc8cba0"} 
[2026-07-01 09: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-01 09:16:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-01 09:16: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-01 09: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-01 09: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-01 09:16:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:16:29] local.INFO: Teltonika packet parsed successfully {"connection_id":118870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:16:29] local.INFO: Passing IMEI to GPS processor {"connection_id":118870,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:16:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":118870,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:16:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:16:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:16:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:16:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416658176001,"66":12765,"110":206,"87":13824,"24":7,"16":101264960788627456,"45":9023454460084260864},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:16:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:16:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:16:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416658176001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:16:29] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:16:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:16:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101264960788627456,"km_value":101264960788627.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:16:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023454460084260864,"description":"Unknown IO ID 45"} 
[2026-07-01 09:16:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416658176001,"power":12765,"unknown_110":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":9023454460084260864}} 
[2026-07-01 09:16:29] local.INFO: DEBUG: GPS processor result {"connection_id":118870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416800,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:16:29] local.INFO: GPS data processed {"connection_id":118870,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:16:29] local.INFO: Acknowledgment sent {"connection_id":118870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:16:58] local.INFO: TCP Data received {"connection_id":119644,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bc59f20012d0d614006ea0898001200b125..."} 
[2026-07-01 09:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bc59f20012d0d614006ea0898001200b125..."} 
[2026-07-01 09:16:58] local.INFO: Processing buffer {"connection_id":119644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bc59f20012d0d614006ea0898001200b125..."} 
[2026-07-01 09:16:58] local.INFO: Packet analysis {"connection_id":119644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bc5"} 
[2026-07-01 09:16:58] local.INFO: Extracted packet for processing {"connection_id":119644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bc5"} 
[2026-07-01 09:16:58] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000920,"longitude_deg":75.5851584,"latitude_deg":11.600092,"altitude":18,"angle":177,"satellites":37,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea0898","is_valid_coordinates":true} 
[2026-07-01 09:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:16:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416527104001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:16:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333115301245747200,"note":"Value kept but may cause issues"} 
[2026-07-01 09:16:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299908427776,"note":"Value kept but may cause issues"} 
[2026-07-01 09:16:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:16:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782877364000,"timestamp_ms":1782877364000,"timestamp_seconds":1782877364,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bc59f20"} 
[2026-07-01 09:16:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:16:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-01 09:16:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:16:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:16:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:16:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:16:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:16:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:16:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:16:58] 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-01 09:16:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:16:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:16:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416527104001,"66":25430,"83":206,"80":6400,"24":0,"16":333115301245747200,"45":964333299908427776},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-07-01 09:16:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:16:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:16:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416527104001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:16:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-01 09:16:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:16:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333115301245747200,"km_value":333115301245747.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:16:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299908427776,"description":"Unknown IO ID 45"} 
[2026-07-01 09:16:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416527104001,"power":25430,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299908427776}} 
[2026-07-01 09:16:58] local.INFO: DEBUG: GPS processor result {"connection_id":119644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:16:58] local.INFO: GPS data processed {"connection_id":119644,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:16:58] local.INFO: Acknowledgment sent {"connection_id":119644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:17:00] local.INFO: TCP Data received {"connection_id":118870,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bc8cf88012d7d39c005ec3af8000c00d328..."} 
[2026-07-01 09:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bc8cf88012d7d39c005ec3af8000c00d328..."} 
[2026-07-01 09:17:00] local.INFO: Processing buffer {"connection_id":118870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bc8cf88012d7d39c005ec3af8000c00d328..."} 
[2026-07-01 09:17:00] local.INFO: Packet analysis {"connection_id":118870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bc8"} 
[2026-07-01 09:17:00] local.INFO: Extracted packet for processing {"connection_id":118870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bc8"} 
[2026-07-01 09:17:00] local.INFO: GPS Element Parsed {"raw_longitude":763181504,"raw_latitude":99367672,"longitude_deg":76.3181504,"latitude_deg":9.9367672,"altitude":12,"angle":211,"satellites":40,"speed":6,"hex_longitude":"2d7d39c0","hex_latitude":"05ec3af8","is_valid_coordinates":true} 
[2026-07-01 09:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416658432001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101264969378562048,"note":"Value kept but may cause issues"} 
[2026-07-01 09:17:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023595197572556800,"note":"Value kept but may cause issues"} 
[2026-07-01 09:17:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782877573000,"timestamp_ms":1782877573000,"timestamp_seconds":1782877573,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bc8cf88"} 
[2026-07-01 09:17:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:17: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-01 09:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-01 09:17:00] 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-01 09:17:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:17:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":118870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":118870,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":118870,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:17:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416658432001,"66":12885,"110":206,"87":13824,"24":6,"16":101264969378562048,"45":9023595197572556800},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416658432001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:17:00] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:17:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101264969378562048,"km_value":101264969378562.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:17:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023595197572556800,"description":"Unknown IO ID 45"} 
[2026-07-01 09:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416658432001,"power":12885,"unknown_110":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":9023595197572556800}} 
[2026-07-01 09:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":118870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416802,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:17:00] local.INFO: GPS data processed {"connection_id":118870,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:17:00] local.INFO: Acknowledgment sent {"connection_id":118870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:17:18] local.INFO: TCP Data received {"connection_id":120742,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120742,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:17:18] local.INFO: Processing buffer {"connection_id":120742,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:17:18] local.INFO: IMEI packet received {"connection_id":120742,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 09:17:18] local.INFO: IMEI acknowledgment sent {"connection_id":120742,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:17:24] local.INFO: TCP Data received {"connection_id":120742,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120742,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:17:24] local.INFO: Processing buffer {"connection_id":120742,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:17:24] local.INFO: IMEI packet received {"connection_id":120742,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":120742,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:17:25] local.INFO: TCP Data received {"connection_id":120742,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bc8eae0012d7d388005ec37a8000c00e128..."} 
[2026-07-01 09:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bc8eae0012d7d388005ec37a8000c00e128..."} 
[2026-07-01 09:17:25] local.INFO: Processing buffer {"connection_id":120742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bc8eae0012d7d388005ec37a8000c00e128..."} 
[2026-07-01 09:17:25] local.INFO: Packet analysis {"connection_id":120742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bc8"} 
[2026-07-01 09:17:25] local.INFO: Extracted packet for processing {"connection_id":120742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bc8"} 
[2026-07-01 09:17:25] local.INFO: GPS Element Parsed {"raw_longitude":763181184,"raw_latitude":99366824,"longitude_deg":76.3181184,"latitude_deg":9.9366824,"altitude":12,"angle":225,"satellites":40,"speed":9,"hex_longitude":"2d7d3880","hex_latitude":"05ec37a8","is_valid_coordinates":true} 
[2026-07-01 09:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:17:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416658688001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:17:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265016623202304,"note":"Value kept but may cause issues"} 
[2026-07-01 09:17:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023454460084156416,"note":"Value kept but may cause issues"} 
[2026-07-01 09:17:25] 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-01 09:17:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782877580000,"timestamp_ms":1782877580000,"timestamp_seconds":1782877580,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bc8eae0"} 
[2026-07-01 09:17:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:17:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 09:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-01 09:17:25] 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-01 09:17:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:17:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:17:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:17:25] local.INFO: Teltonika packet parsed successfully {"connection_id":120742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:17:25] local.INFO: Passing IMEI to GPS processor {"connection_id":120742,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:17:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":120742,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:17:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:17:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:17:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:17:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416658688001,"66":13059,"110":206,"87":13824,"24":9,"16":101265016623202304,"45":9023454460084156416},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:17:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:17:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:17:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416658688001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:17:25] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:17:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:17:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265016623202304,"km_value":101265016623202.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:17:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023454460084156416,"description":"Unknown IO ID 45"} 
[2026-07-01 09:17:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416658688001,"power":13059,"unknown_110":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":9023454460084156416}} 
[2026-07-01 09:17:25] local.INFO: DEBUG: GPS processor result {"connection_id":120742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416803,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:17:25] local.INFO: GPS data processed {"connection_id":120742,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:17:25] local.INFO: Acknowledgment sent {"connection_id":120742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:17:26] local.INFO: TCP Data received {"connection_id":120743,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:17:26] local.INFO: Processing buffer {"connection_id":120743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:17:26] local.INFO: IMEI packet received {"connection_id":120743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 09:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":120743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:17:31] local.INFO: TCP Data received {"connection_id":120743,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:17:31] local.INFO: Processing buffer {"connection_id":120743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:17:31] local.INFO: IMEI packet received {"connection_id":120743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":120743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:17:32] local.INFO: TCP Data received {"connection_id":120743,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bc59f20012d0d614006ea0898001200b125..."} 
[2026-07-01 09:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bc59f20012d0d614006ea0898001200b125..."} 
[2026-07-01 09:17:32] local.INFO: Processing buffer {"connection_id":120743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bc59f20012d0d614006ea0898001200b125..."} 
[2026-07-01 09:17:32] local.INFO: Packet analysis {"connection_id":120743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bc5"} 
[2026-07-01 09:17:32] local.INFO: Extracted packet for processing {"connection_id":120743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bc5"} 
[2026-07-01 09:17:32] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000920,"longitude_deg":75.5851584,"latitude_deg":11.600092,"altitude":18,"angle":177,"satellites":37,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea0898","is_valid_coordinates":true} 
[2026-07-01 09:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416527104001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333115301245747200,"note":"Value kept but may cause issues"} 
[2026-07-01 09:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299908427776,"note":"Value kept but may cause issues"} 
[2026-07-01 09:17:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782877364000,"timestamp_ms":1782877364000,"timestamp_seconds":1782877364,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bc59f20"} 
[2026-07-01 09:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:17:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-01 09:17:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:17:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":120743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":120743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":120743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416527104001,"66":25430,"83":206,"80":6400,"24":0,"16":333115301245747200,"45":964333299908427776},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-07-01 09:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416527104001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:17:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-01 09:17:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333115301245747200,"km_value":333115301245747.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299908427776,"description":"Unknown IO ID 45"} 
[2026-07-01 09:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416527104001,"power":25430,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299908427776}} 
[2026-07-01 09:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":120743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:17:32] local.INFO: GPS data processed {"connection_id":120743,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:17:32] local.INFO: Acknowledgment sent {"connection_id":120743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:17:37] local.INFO: TCP Data received {"connection_id":120743,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bc59f20012d0d614006ea0898001200b125..."} 
[2026-07-01 09:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bc59f20012d0d614006ea0898001200b125..."} 
[2026-07-01 09:17:37] local.INFO: Processing buffer {"connection_id":120743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bc59f20012d0d614006ea0898001200b125..."} 
[2026-07-01 09:17:37] local.INFO: Packet analysis {"connection_id":120743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bc5"} 
[2026-07-01 09:17:37] local.INFO: Extracted packet for processing {"connection_id":120743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bc5"} 
[2026-07-01 09:17:37] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000920,"longitude_deg":75.5851584,"latitude_deg":11.600092,"altitude":18,"angle":177,"satellites":37,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea0898","is_valid_coordinates":true} 
[2026-07-01 09:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416527104001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333115301245747200,"note":"Value kept but may cause issues"} 
[2026-07-01 09:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299908427776,"note":"Value kept but may cause issues"} 
[2026-07-01 09:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782877364000,"timestamp_ms":1782877364000,"timestamp_seconds":1782877364,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bc59f20"} 
[2026-07-01 09:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-01 09:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":120743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":120743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":120743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416527104001,"66":25430,"83":206,"80":6400,"24":0,"16":333115301245747200,"45":964333299908427776},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-07-01 09:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416527104001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:17:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-01 09:17:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333115301245747200,"km_value":333115301245747.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299908427776,"description":"Unknown IO ID 45"} 
[2026-07-01 09:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416527104001,"power":25430,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964333299908427776}} 
[2026-07-01 09:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":120743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:17:37] local.INFO: GPS data processed {"connection_id":120743,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:17:37] local.INFO: Acknowledgment sent {"connection_id":120743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:17:56] local.INFO: TCP Data received {"connection_id":118990,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118990,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:17:56] local.INFO: Processing buffer {"connection_id":118990,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:17:56] local.INFO: IMEI packet received {"connection_id":118990,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 09:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":118990,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:17:57] local.INFO: TCP Data received {"connection_id":120742,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bc92d48012d7d360005ec3508000b00d026..."} 
[2026-07-01 09:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bc92d48012d7d360005ec3508000b00d026..."} 
[2026-07-01 09:17:57] local.INFO: Processing buffer {"connection_id":120742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bc92d48012d7d360005ec3508000b00d026..."} 
[2026-07-01 09:17:57] local.INFO: Packet analysis {"connection_id":120742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bc9"} 
[2026-07-01 09:17:57] local.INFO: Extracted packet for processing {"connection_id":120742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bc9"} 
[2026-07-01 09:17:57] local.INFO: GPS Element Parsed {"raw_longitude":763180544,"raw_latitude":99366152,"longitude_deg":76.3180544,"latitude_deg":9.9366152,"altitude":11,"angle":208,"satellites":38,"speed":2,"hex_longitude":"2d7d3600","hex_latitude":"05ec3508","is_valid_coordinates":true} 
[2026-07-01 09:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:17:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416660480001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:17:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265063867842560,"note":"Value kept but may cause issues"} 
[2026-07-01 09:17:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023102616363051008,"note":"Value kept but may cause issues"} 
[2026-07-01 09:17:57] 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-01 09:17:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782877597000,"timestamp_ms":1782877597000,"timestamp_seconds":1782877597,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bc92d48"} 
[2026-07-01 09:17:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:17:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-01 09:17:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303151705017673,"note":"Value kept but may cause issues"} 
[2026-07-01 09:17:57] local.WARNING: Large IO value detected {"io_id":110,"raw_value":58079734643818507,"note":"Value kept but may cause issues"} 
[2026-07-01 09:17:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-01 09:17:57] local.WARNING: Large IO value detected {"io_id":195,"raw_value":4009754624,"note":"Value kept but may cause issues"} 
[2026-07-01 09:17:57] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":40961,"corrected_to":0} 
[2026-07-01 09:17:57] local.WARNING: Large IO value detected {"io_id":27,"raw_value":3368275969,"note":"Value kept but may cause issues"} 
[2026-07-01 09:17:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-07-01 09:17:57] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3053505865,"note":"Value kept but may cause issues"} 
[2026-07-01 09:17:57] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3286499328,"note":"Value kept but may cause issues"} 
[2026-07-01 09:17:57] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3963629568,"note":"Value kept but may cause issues"} 
[2026-07-01 09:17:57] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,110,87,24,241,157,16,195,159,207,45,192,58,12,40,10,66,203,64,59,199,1,240,221,227,27,236,4,113,205,9,180,55,239,50,2,103,5,11],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":203,"original":40961,"validated":0},{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-07-01 09:17:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864938690370666496,"timestamp_seconds":864938690370666.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 09:17:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:17:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:17:57] local.INFO: Teltonika packet parsed successfully {"connection_id":120742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:17:57] local.INFO: Passing IMEI to GPS processor {"connection_id":120742,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:17:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":120742,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:17:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:17:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:17:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:17:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416660480001,"66":12765,"110":206,"87":13824,"24":2,"16":101265063867842560,"45":9023102616363051008},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:17:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:17:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:17:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416660480001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:17:57] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:17:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:17:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265063867842560,"km_value":101265063867842.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:17:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023102616363051008,"description":"Unknown IO ID 45"} 
[2026-07-01 09:17:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416660480001,"power":12765,"unknown_110":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":9023102616363051008}} 
[2026-07-01 09:17:57] local.INFO: DEBUG: GPS processor result {"connection_id":120742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416806,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:17:57] local.INFO: GPS data processed {"connection_id":120742,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:17:57] local.INFO: Acknowledgment sent {"connection_id":120742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:18:21] local.INFO: TCP Data received {"connection_id":118871,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118871,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:18:21] local.INFO: Processing buffer {"connection_id":118871,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:18:21] local.INFO: IMEI packet received {"connection_id":118871,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 09:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":118871,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:18:21] local.INFO: TCP Data received {"connection_id":118872,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:18:21] local.INFO: Processing buffer {"connection_id":118872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:18:21] local.INFO: IMEI packet received {"connection_id":118872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 09:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":118872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:18:23] local.INFO: TCP Data received {"connection_id":118872,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:18:23] local.INFO: Processing buffer {"connection_id":118872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:18:23] local.INFO: IMEI packet received {"connection_id":118872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":118872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:18:24] local.INFO: TCP Data received {"connection_id":118872,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bca36e8012d0d614006ea0898001200b129..."} 
[2026-07-01 09:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bca36e8012d0d614006ea0898001200b129..."} 
[2026-07-01 09:18:24] local.INFO: Processing buffer {"connection_id":118872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bca36e8012d0d614006ea0898001200b129..."} 
[2026-07-01 09:18:24] local.INFO: Packet analysis {"connection_id":118872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bca"} 
[2026-07-01 09:18:24] local.INFO: Extracted packet for processing {"connection_id":118872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bca"} 
[2026-07-01 09:18:24] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000920,"longitude_deg":75.5851584,"latitude_deg":11.600092,"altitude":18,"angle":177,"satellites":41,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea0898","is_valid_coordinates":true} 
[2026-07-01 09:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416605184001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333115301245747200,"note":"Value kept but may cause issues"} 
[2026-07-01 09:18:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964122193674409984,"note":"Value kept but may cause issues"} 
[2026-07-01 09:18:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782877665000,"timestamp_ms":1782877665000,"timestamp_seconds":1782877665,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bca36e8"} 
[2026-07-01 09:18:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:18:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-01 09:18:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:18:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:18:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":118872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":118872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":118872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:18:24] 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-01 09:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416605184001,"66":25147,"83":206,"80":6400,"24":0,"16":333115301245747200,"45":964122193674409984},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-07-01 09:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416605184001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:18:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-01 09:18:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333115301245747200,"km_value":333115301245747.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:18:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":964122193674409984,"description":"Unknown IO ID 45"} 
[2026-07-01 09:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416605184001,"power":25147,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964122193674409984}} 
[2026-07-01 09:18:24] local.INFO: DEBUG: GPS processor result {"connection_id":118872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:18:24] local.INFO: GPS data processed {"connection_id":118872,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:18:24] local.INFO: Acknowledgment sent {"connection_id":118872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:18:24] local.INFO: TCP Data received {"connection_id":118873,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118873,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:18:24] local.INFO: Processing buffer {"connection_id":118873,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:18:24] local.INFO: IMEI packet received {"connection_id":118873,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 09:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":118873,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:18:25] local.INFO: TCP Data received {"connection_id":118873,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bca7568012d7d348005ec1000000900f91b..."} 
[2026-07-01 09:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bca7568012d7d348005ec1000000900f91b..."} 
[2026-07-01 09:18:25] local.INFO: Processing buffer {"connection_id":118873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bca7568012d7d348005ec1000000900f91b..."} 
[2026-07-01 09:18:25] local.INFO: Packet analysis {"connection_id":118873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bca"} 
[2026-07-01 09:18:25] local.INFO: Extracted packet for processing {"connection_id":118873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bca"} 
[2026-07-01 09:18:25] local.INFO: GPS Element Parsed {"raw_longitude":763180160,"raw_latitude":99356672,"longitude_deg":76.318016,"latitude_deg":9.9356672,"altitude":9,"angle":249,"satellites":27,"speed":0,"hex_longitude":"2d7d3480","hex_latitude":"05ec1000","is_valid_coordinates":true} 
[2026-07-01 09:18:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:18:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416681216001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:18:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265553494114304,"note":"Value kept but may cause issues"} 
[2026-07-01 09:18:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258191430359040,"note":"Value kept but may cause issues"} 
[2026-07-01 09:18:25] 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-01 09:18:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782877681000,"timestamp_ms":1782877681000,"timestamp_seconds":1782877681,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bca7568"} 
[2026-07-01 09:18:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:18:25] 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-01 09:18:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-01 09:18:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720575940547052544,"note":"Value kept but may cause issues"} 
[2026-07-01 09:18:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-01 09:18:25] local.WARNING: Large IO value detected {"io_id":27,"raw_value":-3918536291033205120,"note":"Value kept but may cause issues"} 
[2026-07-01 09:18:25] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-01 09:18:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-07-01 09:18:25] local.WARNING: Large IO value detected {"io_id":224,"raw_value":4160826749,"note":"Value kept but may cause issues"} 
[2026-07-01 09:18:25] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755433800925425,"note":"Value kept but may cause issues"} 
[2026-07-01 09:18:25] local.WARNING: Large IO value detected {"io_id":49,"raw_value":4261465417,"note":"Value kept but may cause issues"} 
[2026-07-01 09:18:25] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3295543296,"note":"Value kept but may cause issues"} 
[2026-07-01 09:18:25] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1434510830358976221,"note":"Value kept but may cause issues"} 
[2026-07-01 09:18:25] local.WARNING: Large IO value detected {"io_id":51,"raw_value":5692775644258160215,"note":"Value kept but may cause issues"} 
[2026-07-01 09:18:25] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,110,87,24,241,157,16,196,159,35,45,192,9,28,10,66,31,27,23,64,1,240,215,227,236,4,113,205,224,54,104,239,49,2,103,5,8,51,100],"length":535,"final_offset":665,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-07-01 09:18:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648792244996014080,"timestamp_seconds":648792244996014.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 09:18:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:18:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:18:25] local.INFO: Teltonika packet parsed successfully {"connection_id":118873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:18:25] local.INFO: Passing IMEI to GPS processor {"connection_id":118873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:18:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":118873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:18:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:18:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:18:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:18:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416681216001,"66":12961,"110":206,"87":13824,"24":0,"16":101265553494114304,"45":9022258191430359040},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:18:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:18:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:18:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416681216001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:18:25] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:18:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:18:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265553494114304,"km_value":101265553494114.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:18:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258191430359040,"description":"Unknown IO ID 45"} 
[2026-07-01 09:18:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416681216001,"power":12961,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022258191430359040}} 
[2026-07-01 09:18:25] local.INFO: DEBUG: GPS processor result {"connection_id":118873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416808,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:18:25] local.INFO: GPS data processed {"connection_id":118873,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:18:25] local.INFO: Acknowledgment sent {"connection_id":118873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:18:55] local.INFO: TCP Data received {"connection_id":118872,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bca36e8012d0d614006ea0898001200b129..."} 
[2026-07-01 09:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bca36e8012d0d614006ea0898001200b129..."} 
[2026-07-01 09:18:55] local.INFO: Processing buffer {"connection_id":118872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bca36e8012d0d614006ea0898001200b129..."} 
[2026-07-01 09:18:55] local.INFO: Packet analysis {"connection_id":118872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bca"} 
[2026-07-01 09:18:55] local.INFO: Extracted packet for processing {"connection_id":118872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bca"} 
[2026-07-01 09:18:55] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000920,"longitude_deg":75.5851584,"latitude_deg":11.600092,"altitude":18,"angle":177,"satellites":41,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea0898","is_valid_coordinates":true} 
[2026-07-01 09:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416605184001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333115301245747200,"note":"Value kept but may cause issues"} 
[2026-07-01 09:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964122193674409984,"note":"Value kept but may cause issues"} 
[2026-07-01 09:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782877665000,"timestamp_ms":1782877665000,"timestamp_seconds":1782877665,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bca36e8"} 
[2026-07-01 09:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:18:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-01 09:18:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:18:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":118872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":118872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":118872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416605184001,"66":25147,"83":206,"80":6400,"24":0,"16":333115301245747200,"45":964122193674409984},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-07-01 09:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416605184001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:18:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-01 09:18:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333115301245747200,"km_value":333115301245747.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":964122193674409984,"description":"Unknown IO ID 45"} 
[2026-07-01 09:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416605184001,"power":25147,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964122193674409984}} 
[2026-07-01 09:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":118872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:18:55] local.INFO: GPS data processed {"connection_id":118872,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:18:55] local.INFO: Acknowledgment sent {"connection_id":118872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:19:00] local.INFO: TCP Data received {"connection_id":118873,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bca8120012d7d344005ec1068000901261a..."} 
[2026-07-01 09:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bca8120012d7d344005ec1068000901261a..."} 
[2026-07-01 09:19:00] local.INFO: Processing buffer {"connection_id":118873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bca8120012d7d344005ec1068000901261a..."} 
[2026-07-01 09:19:00] local.INFO: Packet analysis {"connection_id":118873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bca"} 
[2026-07-01 09:19:00] local.INFO: Extracted packet for processing {"connection_id":118873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bca"} 
[2026-07-01 09:19:00] local.INFO: GPS Element Parsed {"raw_longitude":763180096,"raw_latitude":99356776,"longitude_deg":76.3180096,"latitude_deg":9.9356776,"altitude":9,"angle":294,"satellites":26,"speed":2,"hex_longitude":"2d7d3440","hex_latitude":"05ec1068","is_valid_coordinates":true} 
[2026-07-01 09: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-01 09:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416686336001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265557789081600,"note":"Value kept but may cause issues"} 
[2026-07-01 09:19:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716453609472,"note":"Value kept but may cause issues"} 
[2026-07-01 09:19:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782877684000,"timestamp_ms":1782877684000,"timestamp_seconds":1782877684,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bca8120"} 
[2026-07-01 09: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-01 09:19: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-01 09: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-01 09:19:00] 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-01 09: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-01 09: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-01 09:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":118873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":118873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":118873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:19:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416686336001,"66":12906,"109":206,"87":13824,"24":2,"16":101265557789081600,"45":9021976716453609472},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-07-01 09:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416686336001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:19:00] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-01 09:19:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265557789081600,"km_value":101265557789081.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:19:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716453609472,"description":"Unknown IO ID 45"} 
[2026-07-01 09:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416686336001,"power":12906,"unknown_109":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":9021976716453609472}} 
[2026-07-01 09:19:00] local.INFO: DEBUG: GPS processor result {"connection_id":118873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416810,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:19:00] local.INFO: GPS data processed {"connection_id":118873,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:19:00] local.INFO: Acknowledgment sent {"connection_id":118873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:19:18] local.INFO: TCP Data received {"connection_id":118991,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118991,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:19:18] local.INFO: Processing buffer {"connection_id":118991,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:19:18] local.INFO: IMEI packet received {"connection_id":118991,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 09:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":118991,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:19:22] local.INFO: TCP Data received {"connection_id":118992,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:19:22] local.INFO: Processing buffer {"connection_id":118992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:19:22] local.INFO: IMEI packet received {"connection_id":118992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 09:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":118992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:19:23] local.INFO: TCP Data received {"connection_id":118991,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118991,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:19:23] local.INFO: Processing buffer {"connection_id":118991,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:19:23] local.INFO: IMEI packet received {"connection_id":118991,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":118991,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:19:25] local.INFO: TCP Data received {"connection_id":118991,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bca8508012d7d340005ec10680009013e1a..."} 
[2026-07-01 09:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bca8508012d7d340005ec10680009013e1a..."} 
[2026-07-01 09:19:25] local.INFO: Processing buffer {"connection_id":118991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bca8508012d7d340005ec10680009013e1a..."} 
[2026-07-01 09:19:25] local.INFO: Packet analysis {"connection_id":118991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bca"} 
[2026-07-01 09:19:25] local.INFO: Extracted packet for processing {"connection_id":118991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bca"} 
[2026-07-01 09:19:25] local.INFO: GPS Element Parsed {"raw_longitude":763180032,"raw_latitude":99356776,"longitude_deg":76.3180032,"latitude_deg":9.9356776,"altitude":9,"angle":318,"satellites":26,"speed":2,"hex_longitude":"2d7d3400","hex_latitude":"05ec1068","is_valid_coordinates":true} 
[2026-07-01 09:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416687104001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:19:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265562084048896,"note":"Value kept but may cause issues"} 
[2026-07-01 09:19:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021906347709458432,"note":"Value kept but may cause issues"} 
[2026-07-01 09:19:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:19:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782877685000,"timestamp_ms":1782877685000,"timestamp_seconds":1782877685,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bca8508"} 
[2026-07-01 09:19:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:19:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 09:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-01 09:19:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:19:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:19:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:19:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:19:25] local.INFO: Teltonika packet parsed successfully {"connection_id":118991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:19:25] local.INFO: Passing IMEI to GPS processor {"connection_id":118991,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:19:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":118991,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:19:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:19:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:19:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:19:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416687104001,"66":12982,"109":206,"87":13824,"24":2,"16":101265562084048896,"45":9021906347709458432},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-07-01 09:19:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:19:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:19:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416687104001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:19:25] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-01 09:19:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:19:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265562084048896,"km_value":101265562084048.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:19:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021906347709458432,"description":"Unknown IO ID 45"} 
[2026-07-01 09:19:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416687104001,"power":12982,"unknown_109":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":9021906347709458432}} 
[2026-07-01 09:19:25] local.INFO: DEBUG: GPS processor result {"connection_id":118991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416811,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:19:25] local.INFO: GPS data processed {"connection_id":118991,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:19:25] local.INFO: Acknowledgment sent {"connection_id":118991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:19:27] local.INFO: TCP Data received {"connection_id":118992,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:19:27] local.INFO: Processing buffer {"connection_id":118992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:19:27] local.INFO: IMEI packet received {"connection_id":118992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":118992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:19:29] local.INFO: TCP Data received {"connection_id":118991,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bca8cd8012d7d338005ec1080000901271b..."} 
[2026-07-01 09:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bca8cd8012d7d338005ec1080000901271b..."} 
[2026-07-01 09:19:29] local.INFO: Processing buffer {"connection_id":118991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bca8cd8012d7d338005ec1080000901271b..."} 
[2026-07-01 09:19:29] local.INFO: Packet analysis {"connection_id":118991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bca"} 
[2026-07-01 09:19:29] local.INFO: Extracted packet for processing {"connection_id":118991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bca"} 
[2026-07-01 09:19:29] local.INFO: GPS Element Parsed {"raw_longitude":763179904,"raw_latitude":99356800,"longitude_deg":76.3179904,"latitude_deg":9.93568,"altitude":9,"angle":295,"satellites":27,"speed":2,"hex_longitude":"2d7d3380","hex_latitude":"05ec1080","is_valid_coordinates":true} 
[2026-07-01 09: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-01 09:19:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416687360001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:19:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265570673983488,"note":"Value kept but may cause issues"} 
[2026-07-01 09:19:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021835978965280768,"note":"Value kept but may cause issues"} 
[2026-07-01 09:19:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:19:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782877687000,"timestamp_ms":1782877687000,"timestamp_seconds":1782877687,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bca8cd8"} 
[2026-07-01 09: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-01 09:19: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-01 09: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-01 09:19:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09: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-01 09: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-01 09:19:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:19:29] local.INFO: Teltonika packet parsed successfully {"connection_id":118991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:19:29] local.INFO: Passing IMEI to GPS processor {"connection_id":118991,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:19:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":118991,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:19:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:19:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:19:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:19:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416687360001,"66":12885,"109":206,"87":13824,"24":2,"16":101265570673983488,"45":9021835978965280768},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-07-01 09:19:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:19:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:19:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416687360001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:19:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-01 09:19:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:19:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265570673983488,"km_value":101265570673983.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:19:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021835978965280768,"description":"Unknown IO ID 45"} 
[2026-07-01 09:19:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416687360001,"power":12885,"unknown_109":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":9021835978965280768}} 
[2026-07-01 09:19:29] local.INFO: DEBUG: GPS processor result {"connection_id":118991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416812,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:19:29] local.INFO: GPS data processed {"connection_id":118991,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:19:29] local.INFO: Acknowledgment sent {"connection_id":118991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:19:29] local.INFO: TCP Data received {"connection_id":118992,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bca36e8012d0d614006ea0898001200b129..."} 
[2026-07-01 09:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bca36e8012d0d614006ea0898001200b129..."} 
[2026-07-01 09:19:29] local.INFO: Processing buffer {"connection_id":118992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bca36e8012d0d614006ea0898001200b129..."} 
[2026-07-01 09:19:29] local.INFO: Packet analysis {"connection_id":118992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bca"} 
[2026-07-01 09:19:29] local.INFO: Extracted packet for processing {"connection_id":118992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bca"} 
[2026-07-01 09:19:29] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000920,"longitude_deg":75.5851584,"latitude_deg":11.600092,"altitude":18,"angle":177,"satellites":41,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea0898","is_valid_coordinates":true} 
[2026-07-01 09: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-01 09:19:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416605184001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:19:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333115301245747200,"note":"Value kept but may cause issues"} 
[2026-07-01 09:19:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964122193674409984,"note":"Value kept but may cause issues"} 
[2026-07-01 09:19:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:19:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782877665000,"timestamp_ms":1782877665000,"timestamp_seconds":1782877665,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bca36e8"} 
[2026-07-01 09: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-01 09:19:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:19:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-01 09:19:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09: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-01 09: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-01 09:19:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:19:29] local.INFO: Teltonika packet parsed successfully {"connection_id":118992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:19:29] local.INFO: Passing IMEI to GPS processor {"connection_id":118992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:19:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":118992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:19:29] 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-01 09:19:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:19:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:19:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416605184001,"66":25147,"83":206,"80":6400,"24":0,"16":333115301245747200,"45":964122193674409984},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-07-01 09:19:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:19:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:19:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416605184001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:19:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-01 09:19:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:19:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333115301245747200,"km_value":333115301245747.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:19:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":964122193674409984,"description":"Unknown IO ID 45"} 
[2026-07-01 09:19:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416605184001,"power":25147,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964122193674409984}} 
[2026-07-01 09:19:29] local.INFO: DEBUG: GPS processor result {"connection_id":118992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:19:29] local.INFO: GPS data processed {"connection_id":118992,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:19:29] local.INFO: Acknowledgment sent {"connection_id":118992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:20:01] local.INFO: TCP Data received {"connection_id":118992,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bca36e8012d0d614006ea0898001200b129..."} 
[2026-07-01 09:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bca36e8012d0d614006ea0898001200b129..."} 
[2026-07-01 09:20:01] local.INFO: Processing buffer {"connection_id":118992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bca36e8012d0d614006ea0898001200b129..."} 
[2026-07-01 09:20:01] local.INFO: Packet analysis {"connection_id":118992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bca"} 
[2026-07-01 09:20:01] local.INFO: Extracted packet for processing {"connection_id":118992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bca"} 
[2026-07-01 09:20:01] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000920,"longitude_deg":75.5851584,"latitude_deg":11.600092,"altitude":18,"angle":177,"satellites":41,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea0898","is_valid_coordinates":true} 
[2026-07-01 09:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:20:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416605184001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:20:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333115301245747200,"note":"Value kept but may cause issues"} 
[2026-07-01 09:20:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964122193674409984,"note":"Value kept but may cause issues"} 
[2026-07-01 09:20:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:20:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782877665000,"timestamp_ms":1782877665000,"timestamp_seconds":1782877665,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bca36e8"} 
[2026-07-01 09:20:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:20:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-01 09:20:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:20:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:20:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:20:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:20:01] local.INFO: Teltonika packet parsed successfully {"connection_id":118992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:20:01] local.INFO: Passing IMEI to GPS processor {"connection_id":118992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:20:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":118992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:20:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:20:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:20:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:20:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416605184001,"66":25147,"83":206,"80":6400,"24":0,"16":333115301245747200,"45":964122193674409984},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-07-01 09:20:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:20:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:20:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416605184001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:20:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-01 09:20:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:20:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333115301245747200,"km_value":333115301245747.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:20:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":964122193674409984,"description":"Unknown IO ID 45"} 
[2026-07-01 09:20:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416605184001,"power":25147,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964122193674409984}} 
[2026-07-01 09:20:01] local.INFO: DEBUG: GPS processor result {"connection_id":118992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:20:01] local.INFO: GPS data processed {"connection_id":118992,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:20:01] local.INFO: Acknowledgment sent {"connection_id":118992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:20:02] local.INFO: TCP Data received {"connection_id":118991,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bcac770012d7d334005ec0ed80009003a18..."} 
[2026-07-01 09:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bcac770012d7d334005ec0ed80009003a18..."} 
[2026-07-01 09:20:02] local.INFO: Processing buffer {"connection_id":118991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bcac770012d7d334005ec0ed80009003a18..."} 
[2026-07-01 09:20:02] local.INFO: Packet analysis {"connection_id":118991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bca"} 
[2026-07-01 09:20:02] local.INFO: Extracted packet for processing {"connection_id":118991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bca"} 
[2026-07-01 09:20:02] local.INFO: GPS Element Parsed {"raw_longitude":763179840,"raw_latitude":99356376,"longitude_deg":76.317984,"latitude_deg":9.9356376,"altitude":9,"angle":58,"satellites":24,"speed":1,"hex_longitude":"2d7d3340","hex_latitude":"05ec0ed8","is_valid_coordinates":true} 
[2026-07-01 09:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416687872001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265587853852672,"note":"Value kept but may cause issues"} 
[2026-07-01 09:20:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021695241476931584,"note":"Value kept but may cause issues"} 
[2026-07-01 09:20:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782877702000,"timestamp_ms":1782877702000,"timestamp_seconds":1782877702,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bcac770"} 
[2026-07-01 09:20:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:20:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 09:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-01 09:20:02] 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-01 09:20:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:20:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":118991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":118991,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":118991,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:20:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416687872001,"66":13102,"109":206,"87":13824,"24":1,"16":101265587853852672,"45":9021695241476931584},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-07-01 09:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416687872001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:20:02] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-01 09:20:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265587853852672,"km_value":101265587853852.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:20:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021695241476931584,"description":"Unknown IO ID 45"} 
[2026-07-01 09:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416687872001,"power":13102,"unknown_109":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":9021695241476931584}} 
[2026-07-01 09:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":118991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416815,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:20:02] local.INFO: GPS data processed {"connection_id":118991,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:20:02] local.INFO: Acknowledgment sent {"connection_id":118991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:20:18] local.INFO: TCP Data received {"connection_id":119646,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119646,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:20:18] local.INFO: Processing buffer {"connection_id":119646,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:20:18] local.INFO: IMEI packet received {"connection_id":119646,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 09:20:18] local.INFO: IMEI acknowledgment sent {"connection_id":119646,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:20:21] local.INFO: TCP Data received {"connection_id":120744,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:20:21] local.INFO: Processing buffer {"connection_id":120744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:20:21] local.INFO: IMEI packet received {"connection_id":120744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 09:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":120744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:20:23] local.INFO: TCP Data received {"connection_id":119646,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119646,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:20:23] local.INFO: Processing buffer {"connection_id":119646,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:20:23] local.INFO: IMEI packet received {"connection_id":119646,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:20:23] local.INFO: IMEI acknowledgment sent {"connection_id":119646,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:20:25] local.INFO: TCP Data received {"connection_id":119646,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bcacb58012d7d338005ec0ef00009005c1a..."} 
[2026-07-01 09:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bcacb58012d7d338005ec0ef00009005c1a..."} 
[2026-07-01 09:20:25] local.INFO: Processing buffer {"connection_id":119646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bcacb58012d7d338005ec0ef00009005c1a..."} 
[2026-07-01 09:20:25] local.INFO: Packet analysis {"connection_id":119646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bca"} 
[2026-07-01 09:20:25] local.INFO: Extracted packet for processing {"connection_id":119646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bca"} 
[2026-07-01 09:20:25] local.INFO: GPS Element Parsed {"raw_longitude":763179904,"raw_latitude":99356400,"longitude_deg":76.3179904,"latitude_deg":9.93564,"altitude":9,"angle":92,"satellites":26,"speed":0,"hex_longitude":"2d7d3380","hex_latitude":"05ec0ef0","is_valid_coordinates":true} 
[2026-07-01 09:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416691712001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265592148819968,"note":"Value kept but may cause issues"} 
[2026-07-01 09:20:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021624872732645376,"note":"Value kept but may cause issues"} 
[2026-07-01 09:20:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782877703000,"timestamp_ms":1782877703000,"timestamp_seconds":1782877703,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bcacb58"} 
[2026-07-01 09:20:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:20:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 09:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-01 09:20:25] 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-01 09:20:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:20:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119646,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119646,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:20:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416691712001,"66":13102,"109":206,"87":13824,"24":0,"16":101265592148819968,"45":9021624872732645376},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-07-01 09:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416691712001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:20:25] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-01 09:20:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265592148819968,"km_value":101265592148819.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:20:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021624872732645376,"description":"Unknown IO ID 45"} 
[2026-07-01 09:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416691712001,"power":13102,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021624872732645376}} 
[2026-07-01 09:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":119646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416816,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:20:25] local.INFO: GPS data processed {"connection_id":119646,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:20:25] local.INFO: Acknowledgment sent {"connection_id":119646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:20:26] local.INFO: TCP Data received {"connection_id":120744,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:20:26] local.INFO: Processing buffer {"connection_id":120744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:20:26] local.INFO: IMEI packet received {"connection_id":120744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":120744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:20:27] local.INFO: TCP Data received {"connection_id":120744,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bca36e8012d0d614006ea0898001200b129..."} 
[2026-07-01 09:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bca36e8012d0d614006ea0898001200b129..."} 
[2026-07-01 09:20:27] local.INFO: Processing buffer {"connection_id":120744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bca36e8012d0d614006ea0898001200b129..."} 
[2026-07-01 09:20:27] local.INFO: Packet analysis {"connection_id":120744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bca"} 
[2026-07-01 09:20:27] local.INFO: Extracted packet for processing {"connection_id":120744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bca"} 
[2026-07-01 09:20:27] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000920,"longitude_deg":75.5851584,"latitude_deg":11.600092,"altitude":18,"angle":177,"satellites":41,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea0898","is_valid_coordinates":true} 
[2026-07-01 09:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416605184001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333115301245747200,"note":"Value kept but may cause issues"} 
[2026-07-01 09:20:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964122193674409984,"note":"Value kept but may cause issues"} 
[2026-07-01 09:20:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782877665000,"timestamp_ms":1782877665000,"timestamp_seconds":1782877665,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bca36e8"} 
[2026-07-01 09:20:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:20:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-01 09:20:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:20:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:20:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:20:27] 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-01 09:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416605184001,"66":25147,"83":206,"80":6400,"24":0,"16":333115301245747200,"45":964122193674409984},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-07-01 09:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416605184001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:20:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-01 09:20:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333115301245747200,"km_value":333115301245747.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:20:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":964122193674409984,"description":"Unknown IO ID 45"} 
[2026-07-01 09:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416605184001,"power":25147,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964122193674409984}} 
[2026-07-01 09:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":120744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:20:27] local.INFO: GPS data processed {"connection_id":120744,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:20:27] local.INFO: Acknowledgment sent {"connection_id":120744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:20:29] local.INFO: TCP Data received {"connection_id":119646,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bcad328012d7d338005ec0ed0000900991b..."} 
[2026-07-01 09:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bcad328012d7d338005ec0ed0000900991b..."} 
[2026-07-01 09:20:29] local.INFO: Processing buffer {"connection_id":119646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bcad328012d7d338005ec0ed0000900991b..."} 
[2026-07-01 09:20:29] local.INFO: Packet analysis {"connection_id":119646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bca"} 
[2026-07-01 09:20:29] local.INFO: Extracted packet for processing {"connection_id":119646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bca"} 
[2026-07-01 09:20:29] local.INFO: GPS Element Parsed {"raw_longitude":763179904,"raw_latitude":99356368,"longitude_deg":76.3179904,"latitude_deg":9.9356368,"altitude":9,"angle":153,"satellites":27,"speed":0,"hex_longitude":"2d7d3380","hex_latitude":"05ec0ed0","is_valid_coordinates":true} 
[2026-07-01 09:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:20:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416691968001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:20:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265596443787264,"note":"Value kept but may cause issues"} 
[2026-07-01 09:20:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021695241476829184,"note":"Value kept but may cause issues"} 
[2026-07-01 09:20:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:20:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782877705000,"timestamp_ms":1782877705000,"timestamp_seconds":1782877705,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bcad328"} 
[2026-07-01 09:20:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:20:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-01 09:20:29] 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-01 09:20:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:20:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:20:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:20:29] local.INFO: Teltonika packet parsed successfully {"connection_id":119646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:20:29] local.INFO: Passing IMEI to GPS processor {"connection_id":119646,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:20:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":119646,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:20:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:20:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:20:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:20:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416691968001,"66":13319,"109":206,"87":13824,"24":0,"16":101265596443787264,"45":9021695241476829184},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-07-01 09:20:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:20:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:20:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416691968001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:20:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-01 09:20:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:20:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265596443787264,"km_value":101265596443787.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:20:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021695241476829184,"description":"Unknown IO ID 45"} 
[2026-07-01 09:20:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416691968001,"power":13319,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021695241476829184}} 
[2026-07-01 09:20:29] local.INFO: DEBUG: GPS processor result {"connection_id":119646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416818,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:20:29] local.INFO: GPS data processed {"connection_id":119646,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:20:29] local.INFO: Acknowledgment sent {"connection_id":119646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:20:59] local.INFO: TCP Data received {"connection_id":120744,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bca36e8012d0d614006ea0898001200b129..."} 
[2026-07-01 09:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bca36e8012d0d614006ea0898001200b129..."} 
[2026-07-01 09:20:59] local.INFO: Processing buffer {"connection_id":120744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bca36e8012d0d614006ea0898001200b129..."} 
[2026-07-01 09:20:59] local.INFO: Packet analysis {"connection_id":120744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bca"} 
[2026-07-01 09:20:59] local.INFO: Extracted packet for processing {"connection_id":120744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bca"} 
[2026-07-01 09:20:59] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000920,"longitude_deg":75.5851584,"latitude_deg":11.600092,"altitude":18,"angle":177,"satellites":41,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea0898","is_valid_coordinates":true} 
[2026-07-01 09:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416605184001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333115301245747200,"note":"Value kept but may cause issues"} 
[2026-07-01 09:20:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964122193674409984,"note":"Value kept but may cause issues"} 
[2026-07-01 09:20:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782877665000,"timestamp_ms":1782877665000,"timestamp_seconds":1782877665,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bca36e8"} 
[2026-07-01 09:20:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:20:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-01 09:20:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:20:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:20:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":120744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":120744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":120744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:20:59] 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-01 09:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416605184001,"66":25147,"83":206,"80":6400,"24":0,"16":333115301245747200,"45":964122193674409984},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-07-01 09:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416605184001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:20:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-01 09:20:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333115301245747200,"km_value":333115301245747.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":964122193674409984,"description":"Unknown IO ID 45"} 
[2026-07-01 09:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416605184001,"power":25147,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964122193674409984}} 
[2026-07-01 09:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":120744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:20:59] local.INFO: GPS data processed {"connection_id":120744,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:20:59] local.INFO: Acknowledgment sent {"connection_id":120744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:21:01] local.INFO: TCP Data received {"connection_id":119646,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bcb2148012d7d338005ec0ed0000900991d..."} 
[2026-07-01 09:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bcb2148012d7d338005ec0ed0000900991d..."} 
[2026-07-01 09:21:01] local.INFO: Processing buffer {"connection_id":119646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bcb2148012d7d338005ec0ed0000900991d..."} 
[2026-07-01 09:21:01] local.INFO: Packet analysis {"connection_id":119646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bcb"} 
[2026-07-01 09:21:01] local.INFO: Extracted packet for processing {"connection_id":119646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bcb"} 
[2026-07-01 09:21:01] local.INFO: GPS Element Parsed {"raw_longitude":763179904,"raw_latitude":99356368,"longitude_deg":76.3179904,"latitude_deg":9.9356368,"altitude":9,"angle":153,"satellites":29,"speed":0,"hex_longitude":"2d7d3380","hex_latitude":"05ec0ed0","is_valid_coordinates":true} 
[2026-07-01 09:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416692480001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265596443787264,"note":"Value kept but may cause issues"} 
[2026-07-01 09:21:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021695241476820992,"note":"Value kept but may cause issues"} 
[2026-07-01 09:21:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782877725000,"timestamp_ms":1782877725000,"timestamp_seconds":1782877725,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bcb2148"} 
[2026-07-01 09:21:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:21:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 09:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-01 09:21:01] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-01 09:21:01] local.WARNING: Large IO value detected {"io_id":196,"raw_value":2147483648,"note":"Value kept but may cause issues"} 
[2026-07-01 09:21:01] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":22529,"corrected_to":0} 
[2026-07-01 09:21:01] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-07-01 09:21:01] local.WARNING: Large IO value detected {"io_id":27,"raw_value":3397715969,"note":"Value kept but may cause issues"} 
[2026-07-01 09:21:01] local.WARNING: Large IO value detected {"io_id":236,"raw_value":1195705739737897984,"note":"Value kept but may cause issues"} 
[2026-07-01 09:21:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231880398,"corrected_to":0} 
[2026-07-01 09:21:01] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3296526336,"note":"Value kept but may cause issues"} 
[2026-07-01 09:21:01] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960471552,"note":"Value kept but may cause issues"} 
[2026-07-01 09:21:01] local.WARNING: Large IO value detected {"io_id":161,"raw_value":57783107034437430,"note":"Value kept but may cause issues"} 
[2026-07-01 09:21:01] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":2830513660688171013,"corrected_to":0} 
[2026-07-01 09:21:01] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,109,87,24,241,157,16,196,159,203,45,128,14,9,26,10,66,199,64,140,1,240,85,227,27,236,4,113,205,2,129,52,104,239,50,103,5,161,202],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":203,"original":22529,"validated":0},{"io_id":205,"original":1231880398,"validated":0},{"io_id":202,"original":2830513660688171013,"validated":0}]} 
[2026-07-01 09:21:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648686687584518144,"timestamp_seconds":648686687584518.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 09:21:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":119646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":119646,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":119646,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:21:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416692480001,"66":12982,"109":206,"87":13824,"24":0,"16":101265596443787264,"45":9021695241476820992},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-07-01 09:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416692480001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:21:01] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-01 09:21:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265596443787264,"km_value":101265596443787.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:21:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021695241476820992,"description":"Unknown IO ID 45"} 
[2026-07-01 09:21:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416692480001,"power":12982,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021695241476820992}} 
[2026-07-01 09:21:01] local.INFO: DEBUG: GPS processor result {"connection_id":119646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416820,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:21:01] local.INFO: GPS data processed {"connection_id":119646,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:21:01] local.INFO: Acknowledgment sent {"connection_id":119646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:21:16] local.INFO: TCP Data received {"connection_id":118993,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118993,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:21:16] local.INFO: Processing buffer {"connection_id":118993,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:21:16] local.INFO: IMEI packet received {"connection_id":118993,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 09:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":118993,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:21:17] local.INFO: TCP Data received {"connection_id":118993,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118993,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:21:17] local.INFO: Processing buffer {"connection_id":118993,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:21:17] local.INFO: IMEI packet received {"connection_id":118993,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:21:17] local.INFO: IMEI acknowledgment sent {"connection_id":118993,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:21:18] local.INFO: TCP Data received {"connection_id":118993,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118993,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:21:18] local.INFO: Processing buffer {"connection_id":118993,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:21:18] local.INFO: IMEI packet received {"connection_id":118993,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:21:18] local.INFO: IMEI acknowledgment sent {"connection_id":118993,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:21:18] local.INFO: TCP Data received {"connection_id":118993,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118993,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:21:18] local.INFO: Processing buffer {"connection_id":118993,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:21:18] local.INFO: IMEI packet received {"connection_id":118993,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:21:18] local.INFO: IMEI acknowledgment sent {"connection_id":118993,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:21:21] local.INFO: TCP Data received {"connection_id":120745,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:21:21] local.INFO: Processing buffer {"connection_id":120745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:21:21] local.INFO: IMEI packet received {"connection_id":120745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 09:21:21] local.INFO: IMEI acknowledgment sent {"connection_id":120745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:21:26] local.INFO: TCP Data received {"connection_id":120745,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:21:26] local.INFO: Processing buffer {"connection_id":120745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:21:26] local.INFO: IMEI packet received {"connection_id":120745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":120745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:21:28] local.INFO: TCP Data received {"connection_id":120745,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bca36e8012d0d614006ea0898001200b129..."} 
[2026-07-01 09:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bca36e8012d0d614006ea0898001200b129..."} 
[2026-07-01 09:21:28] local.INFO: Processing buffer {"connection_id":120745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bca36e8012d0d614006ea0898001200b129..."} 
[2026-07-01 09:21:28] local.INFO: Packet analysis {"connection_id":120745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bca"} 
[2026-07-01 09:21:28] local.INFO: Extracted packet for processing {"connection_id":120745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bca"} 
[2026-07-01 09:21:28] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000920,"longitude_deg":75.5851584,"latitude_deg":11.600092,"altitude":18,"angle":177,"satellites":41,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea0898","is_valid_coordinates":true} 
[2026-07-01 09:21:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:21:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416605184001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:21:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333115301245747200,"note":"Value kept but may cause issues"} 
[2026-07-01 09:21:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964122193674409984,"note":"Value kept but may cause issues"} 
[2026-07-01 09:21:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:21:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782877665000,"timestamp_ms":1782877665000,"timestamp_seconds":1782877665,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bca36e8"} 
[2026-07-01 09:21:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:21:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:21:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-01 09:21:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:21:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:21:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:21:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:21:28] local.INFO: Teltonika packet parsed successfully {"connection_id":120745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:21:28] local.INFO: Passing IMEI to GPS processor {"connection_id":120745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:21:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":120745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:21:28] 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-01 09:21:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:21:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:21:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416605184001,"66":25147,"83":206,"80":6400,"24":0,"16":333115301245747200,"45":964122193674409984},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-07-01 09:21:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:21:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:21:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416605184001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:21:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-01 09:21:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:21:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333115301245747200,"km_value":333115301245747.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:21:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":964122193674409984,"description":"Unknown IO ID 45"} 
[2026-07-01 09:21:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416605184001,"power":25147,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964122193674409984}} 
[2026-07-01 09:21:28] local.INFO: DEBUG: GPS processor result {"connection_id":120745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:21:28] local.INFO: GPS data processed {"connection_id":120745,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:21:28] local.INFO: Acknowledgment sent {"connection_id":120745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:21:59] local.INFO: TCP Data received {"connection_id":120745,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bca36e8012d0d614006ea0898001200b129..."} 
[2026-07-01 09:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bca36e8012d0d614006ea0898001200b129..."} 
[2026-07-01 09:21:59] local.INFO: Processing buffer {"connection_id":120745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bca36e8012d0d614006ea0898001200b129..."} 
[2026-07-01 09:21:59] local.INFO: Packet analysis {"connection_id":120745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bca"} 
[2026-07-01 09:21:59] local.INFO: Extracted packet for processing {"connection_id":120745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bca"} 
[2026-07-01 09:21:59] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000920,"longitude_deg":75.5851584,"latitude_deg":11.600092,"altitude":18,"angle":177,"satellites":41,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea0898","is_valid_coordinates":true} 
[2026-07-01 09: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-01 09:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416605184001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333115301245747200,"note":"Value kept but may cause issues"} 
[2026-07-01 09:21:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964122193674409984,"note":"Value kept but may cause issues"} 
[2026-07-01 09:21:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782877665000,"timestamp_ms":1782877665000,"timestamp_seconds":1782877665,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bca36e8"} 
[2026-07-01 09: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-01 09:21:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-01 09:21:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09: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-01 09: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-01 09:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":120745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":120745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":120745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:21:59] 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-01 09:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416605184001,"66":25147,"83":206,"80":6400,"24":0,"16":333115301245747200,"45":964122193674409984},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-07-01 09:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416605184001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:21:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-01 09:21:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333115301245747200,"km_value":333115301245747.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:21:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":964122193674409984,"description":"Unknown IO ID 45"} 
[2026-07-01 09:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416605184001,"power":25147,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964122193674409984}} 
[2026-07-01 09:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":120745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:21:59] local.INFO: GPS data processed {"connection_id":120745,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:21:59] local.INFO: Acknowledgment sent {"connection_id":120745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:22:26] local.INFO: TCP Data received {"connection_id":118874,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:22:26] local.INFO: Processing buffer {"connection_id":118874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:22:26] local.INFO: IMEI packet received {"connection_id":118874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 09:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":118874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:22:31] local.INFO: TCP Data received {"connection_id":118874,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:22:31] local.INFO: Processing buffer {"connection_id":118874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:22:31] local.INFO: IMEI packet received {"connection_id":118874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":118874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:22:33] local.INFO: TCP Data received {"connection_id":118874,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bca36e8012d0d614006ea0898001200b129..."} 
[2026-07-01 09:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bca36e8012d0d614006ea0898001200b129..."} 
[2026-07-01 09:22:33] local.INFO: Processing buffer {"connection_id":118874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bca36e8012d0d614006ea0898001200b129..."} 
[2026-07-01 09:22:33] local.INFO: Packet analysis {"connection_id":118874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bca"} 
[2026-07-01 09:22:33] local.INFO: Extracted packet for processing {"connection_id":118874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bca"} 
[2026-07-01 09:22:33] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000920,"longitude_deg":75.5851584,"latitude_deg":11.600092,"altitude":18,"angle":177,"satellites":41,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea0898","is_valid_coordinates":true} 
[2026-07-01 09:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416605184001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333115301245747200,"note":"Value kept but may cause issues"} 
[2026-07-01 09:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964122193674409984,"note":"Value kept but may cause issues"} 
[2026-07-01 09:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782877665000,"timestamp_ms":1782877665000,"timestamp_seconds":1782877665,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bca36e8"} 
[2026-07-01 09:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:22:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-01 09:22:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:22:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":118874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":118874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":118874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:22:33] 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-01 09:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416605184001,"66":25147,"83":206,"80":6400,"24":0,"16":333115301245747200,"45":964122193674409984},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-07-01 09:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416605184001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:22:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-01 09:22:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333115301245747200,"km_value":333115301245747.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":964122193674409984,"description":"Unknown IO ID 45"} 
[2026-07-01 09:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416605184001,"power":25147,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964122193674409984}} 
[2026-07-01 09:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":118874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:22:33] local.INFO: GPS data processed {"connection_id":118874,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:22:33] local.INFO: Acknowledgment sent {"connection_id":118874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:22:38] local.INFO: TCP Data received {"connection_id":118874,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bca36e8012d0d614006ea0898001200b129..."} 
[2026-07-01 09:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bca36e8012d0d614006ea0898001200b129..."} 
[2026-07-01 09:22:38] local.INFO: Processing buffer {"connection_id":118874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bca36e8012d0d614006ea0898001200b129..."} 
[2026-07-01 09:22:38] local.INFO: Packet analysis {"connection_id":118874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bca"} 
[2026-07-01 09:22:38] local.INFO: Extracted packet for processing {"connection_id":118874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bca"} 
[2026-07-01 09:22:38] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000920,"longitude_deg":75.5851584,"latitude_deg":11.600092,"altitude":18,"angle":177,"satellites":41,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea0898","is_valid_coordinates":true} 
[2026-07-01 09:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416605184001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333115301245747200,"note":"Value kept but may cause issues"} 
[2026-07-01 09:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964122193674409984,"note":"Value kept but may cause issues"} 
[2026-07-01 09:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782877665000,"timestamp_ms":1782877665000,"timestamp_seconds":1782877665,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bca36e8"} 
[2026-07-01 09:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-01 09:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:22:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":118874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":118874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":118874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416605184001,"66":25147,"83":206,"80":6400,"24":0,"16":333115301245747200,"45":964122193674409984},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-07-01 09:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416605184001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:22:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-01 09:22:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333115301245747200,"km_value":333115301245747.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":964122193674409984,"description":"Unknown IO ID 45"} 
[2026-07-01 09:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416605184001,"power":25147,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964122193674409984}} 
[2026-07-01 09:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":118874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:22:38] local.INFO: GPS data processed {"connection_id":118874,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:22:38] local.INFO: Acknowledgment sent {"connection_id":118874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:23:21] local.INFO: TCP Data received {"connection_id":118994,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:23:21] local.INFO: Processing buffer {"connection_id":118994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:23:21] local.INFO: IMEI packet received {"connection_id":118994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 09:23:21] local.INFO: IMEI acknowledgment sent {"connection_id":118994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:23:25] local.INFO: TCP Data received {"connection_id":118994,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:23:25] local.INFO: Processing buffer {"connection_id":118994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:23:25] local.INFO: IMEI packet received {"connection_id":118994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":118994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:23:26] local.INFO: TCP Data received {"connection_id":118994,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bceceb0012d0d614006ea0898001200b12a..."} 
[2026-07-01 09:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bceceb0012d0d614006ea0898001200b12a..."} 
[2026-07-01 09:23:26] local.INFO: Processing buffer {"connection_id":118994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bceceb0012d0d614006ea0898001200b12a..."} 
[2026-07-01 09:23:26] local.INFO: Packet analysis {"connection_id":118994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bce"} 
[2026-07-01 09:23:26] local.INFO: Extracted packet for processing {"connection_id":118994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bce"} 
[2026-07-01 09:23:26] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000920,"longitude_deg":75.5851584,"latitude_deg":11.600092,"altitude":18,"angle":177,"satellites":42,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea0898","is_valid_coordinates":true} 
[2026-07-01 09:23:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:23:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416682240001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:23:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333115301245747200,"note":"Value kept but may cause issues"} 
[2026-07-01 09:23:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964122193674409984,"note":"Value kept but may cause issues"} 
[2026-07-01 09:23:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:23:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782877966000,"timestamp_ms":1782877966000,"timestamp_seconds":1782877966,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bceceb0"} 
[2026-07-01 09:23:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:23:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:23:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-01 09:23:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:23:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:23:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:23:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:23:26] local.INFO: Teltonika packet parsed successfully {"connection_id":118994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:23:26] local.INFO: Passing IMEI to GPS processor {"connection_id":118994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:23:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":118994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:23:26] 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-01 09:23:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:23:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:23:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416682240001,"66":25060,"83":206,"80":6400,"24":0,"16":333115301245747200,"45":964122193674409984},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-07-01 09:23:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:23:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:23:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416682240001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:23:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-01 09:23:26] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:23:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333115301245747200,"km_value":333115301245747.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:23:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":964122193674409984,"description":"Unknown IO ID 45"} 
[2026-07-01 09:23:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416682240001,"power":25060,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964122193674409984}} 
[2026-07-01 09:23:26] local.INFO: DEBUG: GPS processor result {"connection_id":118994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:23:26] local.INFO: GPS data processed {"connection_id":118994,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:23:26] local.INFO: Acknowledgment sent {"connection_id":118994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:23:46] local.INFO: TCP Data received {"connection_id":118875,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118875,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:23:46] local.INFO: Processing buffer {"connection_id":118875,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:23:46] local.INFO: IMEI packet received {"connection_id":118875,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 09:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":118875,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:23:57] local.INFO: TCP Data received {"connection_id":118994,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bceceb0012d0d614006ea0898001200b12a..."} 
[2026-07-01 09:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bceceb0012d0d614006ea0898001200b12a..."} 
[2026-07-01 09:23:57] local.INFO: Processing buffer {"connection_id":118994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bceceb0012d0d614006ea0898001200b12a..."} 
[2026-07-01 09:23:57] local.INFO: Packet analysis {"connection_id":118994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bce"} 
[2026-07-01 09:23:57] local.INFO: Extracted packet for processing {"connection_id":118994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bce"} 
[2026-07-01 09:23:57] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000920,"longitude_deg":75.5851584,"latitude_deg":11.600092,"altitude":18,"angle":177,"satellites":42,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea0898","is_valid_coordinates":true} 
[2026-07-01 09:23:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:23:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416682240001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:23:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333115301245747200,"note":"Value kept but may cause issues"} 
[2026-07-01 09:23:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964122193674409984,"note":"Value kept but may cause issues"} 
[2026-07-01 09:23:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:23:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782877966000,"timestamp_ms":1782877966000,"timestamp_seconds":1782877966,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bceceb0"} 
[2026-07-01 09:23:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:23:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:23:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-01 09:23:57] 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-01 09:23:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:23:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:23:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:23:57] local.INFO: Teltonika packet parsed successfully {"connection_id":118994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:23:57] local.INFO: Passing IMEI to GPS processor {"connection_id":118994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:23:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":118994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:23:57] 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-01 09:23:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:23:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:23:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416682240001,"66":25060,"83":206,"80":6400,"24":0,"16":333115301245747200,"45":964122193674409984},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-07-01 09:23:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:23:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:23:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416682240001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:23:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-01 09:23:57] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:23:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333115301245747200,"km_value":333115301245747.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:23:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":964122193674409984,"description":"Unknown IO ID 45"} 
[2026-07-01 09:23:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416682240001,"power":25060,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964122193674409984}} 
[2026-07-01 09:23:57] local.INFO: DEBUG: GPS processor result {"connection_id":118994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:23:57] local.INFO: GPS data processed {"connection_id":118994,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:23:57] local.INFO: Acknowledgment sent {"connection_id":118994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:24:21] local.INFO: TCP Data received {"connection_id":118877,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118877,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:24:21] local.INFO: Processing buffer {"connection_id":118877,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:24:21] local.INFO: IMEI packet received {"connection_id":118877,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 09:24:21] local.INFO: IMEI acknowledgment sent {"connection_id":118877,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:24:22] local.INFO: TCP Data received {"connection_id":120747,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:24:22] local.INFO: Processing buffer {"connection_id":120747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:24:22] local.INFO: IMEI packet received {"connection_id":120747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 09:24:22] local.INFO: IMEI acknowledgment sent {"connection_id":120747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:24:26] local.INFO: TCP Data received {"connection_id":120747,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:24:26] local.INFO: Processing buffer {"connection_id":120747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:24:26] local.INFO: IMEI packet received {"connection_id":120747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":120747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:24:27] local.INFO: TCP Data received {"connection_id":120747,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bceceb0012d0d614006ea0898001200b12a..."} 
[2026-07-01 09:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bceceb0012d0d614006ea0898001200b12a..."} 
[2026-07-01 09:24:27] local.INFO: Processing buffer {"connection_id":120747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bceceb0012d0d614006ea0898001200b12a..."} 
[2026-07-01 09:24:27] local.INFO: Packet analysis {"connection_id":120747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bce"} 
[2026-07-01 09:24:27] local.INFO: Extracted packet for processing {"connection_id":120747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bce"} 
[2026-07-01 09:24:27] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000920,"longitude_deg":75.5851584,"latitude_deg":11.600092,"altitude":18,"angle":177,"satellites":42,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea0898","is_valid_coordinates":true} 
[2026-07-01 09:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:24:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416682240001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:24:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333115301245747200,"note":"Value kept but may cause issues"} 
[2026-07-01 09:24:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964122193674409984,"note":"Value kept but may cause issues"} 
[2026-07-01 09:24:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:24:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782877966000,"timestamp_ms":1782877966000,"timestamp_seconds":1782877966,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bceceb0"} 
[2026-07-01 09:24:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:24:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-01 09:24:27] 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-01 09:24:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:24:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:24:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:24:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:24:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:24:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:24:27] 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-01 09:24:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:24:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:24:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416682240001,"66":25060,"83":206,"80":6400,"24":0,"16":333115301245747200,"45":964122193674409984},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-07-01 09:24:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:24:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:24:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416682240001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:24:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-01 09:24:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:24:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333115301245747200,"km_value":333115301245747.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:24:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":964122193674409984,"description":"Unknown IO ID 45"} 
[2026-07-01 09:24:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416682240001,"power":25060,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964122193674409984}} 
[2026-07-01 09:24:27] local.INFO: DEBUG: GPS processor result {"connection_id":120747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:24:27] local.INFO: GPS data processed {"connection_id":120747,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:24:27] local.INFO: Acknowledgment sent {"connection_id":120747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:24:59] local.INFO: TCP Data received {"connection_id":120747,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bceceb0012d0d614006ea0898001200b12a..."} 
[2026-07-01 09:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bceceb0012d0d614006ea0898001200b12a..."} 
[2026-07-01 09:24:59] local.INFO: Processing buffer {"connection_id":120747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bceceb0012d0d614006ea0898001200b12a..."} 
[2026-07-01 09:24:59] local.INFO: Packet analysis {"connection_id":120747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bce"} 
[2026-07-01 09:24:59] local.INFO: Extracted packet for processing {"connection_id":120747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bce"} 
[2026-07-01 09:24:59] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000920,"longitude_deg":75.5851584,"latitude_deg":11.600092,"altitude":18,"angle":177,"satellites":42,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea0898","is_valid_coordinates":true} 
[2026-07-01 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-01 09:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416682240001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:24:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333115301245747200,"note":"Value kept but may cause issues"} 
[2026-07-01 09:24:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964122193674409984,"note":"Value kept but may cause issues"} 
[2026-07-01 09:24:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:24:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782877966000,"timestamp_ms":1782877966000,"timestamp_seconds":1782877966,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bceceb0"} 
[2026-07-01 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-01 09:24:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-01 09:24:59] 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-01 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-01 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-01 09:24:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:24:59] local.INFO: Teltonika packet parsed successfully {"connection_id":120747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:24:59] local.INFO: Passing IMEI to GPS processor {"connection_id":120747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:24:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":120747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:24:59] 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-01 09:24:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:24:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:24:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416682240001,"66":25060,"83":206,"80":6400,"24":0,"16":333115301245747200,"45":964122193674409984},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-07-01 09:24:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:24:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:24:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416682240001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:24:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-01 09:24:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:24:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333115301245747200,"km_value":333115301245747.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:24:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":964122193674409984,"description":"Unknown IO ID 45"} 
[2026-07-01 09:24:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416682240001,"power":25060,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964122193674409984}} 
[2026-07-01 09:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":120747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:24:59] local.INFO: GPS data processed {"connection_id":120747,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:24:59] local.INFO: Acknowledgment sent {"connection_id":120747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:25:21] local.INFO: TCP Data received {"connection_id":119651,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:25:21] local.INFO: Processing buffer {"connection_id":119651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:25:21] local.INFO: IMEI packet received {"connection_id":119651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 09:25:21] local.INFO: IMEI acknowledgment sent {"connection_id":119651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:25:26] local.INFO: TCP Data received {"connection_id":119651,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:25:26] local.INFO: Processing buffer {"connection_id":119651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:25:26] local.INFO: IMEI packet received {"connection_id":119651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":119651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:25:28] local.INFO: TCP Data received {"connection_id":119651,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bceceb0012d0d614006ea0898001200b12a..."} 
[2026-07-01 09:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bceceb0012d0d614006ea0898001200b12a..."} 
[2026-07-01 09:25:28] local.INFO: Processing buffer {"connection_id":119651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bceceb0012d0d614006ea0898001200b12a..."} 
[2026-07-01 09:25:28] local.INFO: Packet analysis {"connection_id":119651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bce"} 
[2026-07-01 09:25:28] local.INFO: Extracted packet for processing {"connection_id":119651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bce"} 
[2026-07-01 09:25:28] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000920,"longitude_deg":75.5851584,"latitude_deg":11.600092,"altitude":18,"angle":177,"satellites":42,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea0898","is_valid_coordinates":true} 
[2026-07-01 09:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:25:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416682240001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:25:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333115301245747200,"note":"Value kept but may cause issues"} 
[2026-07-01 09:25:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964122193674409984,"note":"Value kept but may cause issues"} 
[2026-07-01 09:25:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:25:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782877966000,"timestamp_ms":1782877966000,"timestamp_seconds":1782877966,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bceceb0"} 
[2026-07-01 09:25:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:25:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-01 09:25:28] 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-01 09:25:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:25:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:25:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:25:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:25:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:25:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:25:28] 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-01 09:25:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:25:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:25:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416682240001,"66":25060,"83":206,"80":6400,"24":0,"16":333115301245747200,"45":964122193674409984},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-07-01 09:25:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:25:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:25:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416682240001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:25:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-01 09:25:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:25:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333115301245747200,"km_value":333115301245747.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:25:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":964122193674409984,"description":"Unknown IO ID 45"} 
[2026-07-01 09:25:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416682240001,"power":25060,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964122193674409984}} 
[2026-07-01 09:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":119651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:25:28] local.INFO: GPS data processed {"connection_id":119651,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:25:28] local.INFO: Acknowledgment sent {"connection_id":119651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:25:59] local.INFO: TCP Data received {"connection_id":119651,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bceceb0012d0d614006ea0898001200b12a..."} 
[2026-07-01 09:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bceceb0012d0d614006ea0898001200b12a..."} 
[2026-07-01 09:25:59] local.INFO: Processing buffer {"connection_id":119651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bceceb0012d0d614006ea0898001200b12a..."} 
[2026-07-01 09:25:59] local.INFO: Packet analysis {"connection_id":119651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bce"} 
[2026-07-01 09:25:59] local.INFO: Extracted packet for processing {"connection_id":119651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bce"} 
[2026-07-01 09:25:59] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000920,"longitude_deg":75.5851584,"latitude_deg":11.600092,"altitude":18,"angle":177,"satellites":42,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea0898","is_valid_coordinates":true} 
[2026-07-01 09:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416682240001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333115301245747200,"note":"Value kept but may cause issues"} 
[2026-07-01 09:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964122193674409984,"note":"Value kept but may cause issues"} 
[2026-07-01 09:25:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782877966000,"timestamp_ms":1782877966000,"timestamp_seconds":1782877966,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bceceb0"} 
[2026-07-01 09: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-01 09:25:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-01 09:25:59] 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-01 09: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-01 09: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-01 09:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:25:59] 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-01 09:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416682240001,"66":25060,"83":206,"80":6400,"24":0,"16":333115301245747200,"45":964122193674409984},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-07-01 09:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416682240001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:25:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-01 09:25:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333115301245747200,"km_value":333115301245747.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":964122193674409984,"description":"Unknown IO ID 45"} 
[2026-07-01 09:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416682240001,"power":25060,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964122193674409984}} 
[2026-07-01 09:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":119651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:25:59] local.INFO: GPS data processed {"connection_id":119651,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:25:59] local.INFO: Acknowledgment sent {"connection_id":119651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:26:23] local.INFO: TCP Data received {"connection_id":120749,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120749,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:26:23] local.INFO: Processing buffer {"connection_id":120749,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:26:23] local.INFO: IMEI packet received {"connection_id":120749,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 09:26:23] local.INFO: IMEI acknowledgment sent {"connection_id":120749,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:26:25] local.INFO: TCP Data received {"connection_id":120749,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bcd7ec0012d7d32c005ec0cf0000800fc1b..."} 
[2026-07-01 09:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bcd7ec0012d7d32c005ec0cf0000800fc1b..."} 
[2026-07-01 09:26:25] local.INFO: Processing buffer {"connection_id":120749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bcd7ec0012d7d32c005ec0cf0000800fc1b..."} 
[2026-07-01 09:26:25] local.INFO: Packet analysis {"connection_id":120749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bcd"} 
[2026-07-01 09:26:25] local.INFO: Extracted packet for processing {"connection_id":120749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bcd"} 
[2026-07-01 09:26:25] local.INFO: GPS Element Parsed {"raw_longitude":763179712,"raw_latitude":99355888,"longitude_deg":76.3179712,"latitude_deg":9.9355888,"altitude":8,"angle":252,"satellites":27,"speed":0,"hex_longitude":"2d7d32c0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-07-01 09:26:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416736000001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:26:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021484135244165120,"note":"Value kept but may cause issues"} 
[2026-07-01 09:26:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782877880000,"timestamp_ms":1782877880000,"timestamp_seconds":1782877880,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bcd7ec0"} 
[2026-07-01 09:26:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:26:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:26:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-01 09:26:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:26:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:26:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":120749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":120749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":120749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:26:25] 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-01 09:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416736000001,"66":13450,"109":206,"87":13824,"24":0,"16":101265635098492928,"45":9021484135244165120},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-07-01 09:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416736000001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:26:25] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-01 09:26:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:26:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021484135244165120,"description":"Unknown IO ID 45"} 
[2026-07-01 09:26:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416736000001,"power":13450,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021484135244165120}} 
[2026-07-01 09:26:25] local.INFO: DEBUG: GPS processor result {"connection_id":120749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416831,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:26:25] local.INFO: GPS data processed {"connection_id":120749,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:26:25] local.INFO: Acknowledgment sent {"connection_id":120749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:26:26] local.INFO: TCP Data received {"connection_id":118996,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:26:26] local.INFO: Processing buffer {"connection_id":118996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:26:26] local.INFO: IMEI packet received {"connection_id":118996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 09:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":118996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:26:32] local.INFO: TCP Data received {"connection_id":118996,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:26:32] local.INFO: Processing buffer {"connection_id":118996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:26:32] local.INFO: IMEI packet received {"connection_id":118996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":118996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:26:34] local.INFO: TCP Data received {"connection_id":118996,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bceceb0012d0d614006ea0898001200b12a..."} 
[2026-07-01 09:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bceceb0012d0d614006ea0898001200b12a..."} 
[2026-07-01 09:26:34] local.INFO: Processing buffer {"connection_id":118996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bceceb0012d0d614006ea0898001200b12a..."} 
[2026-07-01 09:26:34] local.INFO: Packet analysis {"connection_id":118996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bce"} 
[2026-07-01 09:26:34] local.INFO: Extracted packet for processing {"connection_id":118996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bce"} 
[2026-07-01 09:26:34] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000920,"longitude_deg":75.5851584,"latitude_deg":11.600092,"altitude":18,"angle":177,"satellites":42,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea0898","is_valid_coordinates":true} 
[2026-07-01 09: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-01 09:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416682240001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333115301245747200,"note":"Value kept but may cause issues"} 
[2026-07-01 09:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964122193674409984,"note":"Value kept but may cause issues"} 
[2026-07-01 09:26:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782877966000,"timestamp_ms":1782877966000,"timestamp_seconds":1782877966,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bceceb0"} 
[2026-07-01 09: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-01 09:26:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-01 09:26:34] 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-01 09: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-01 09: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-01 09:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":118996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":118996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":118996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:26:34] 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-01 09:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416682240001,"66":25060,"83":206,"80":6400,"24":0,"16":333115301245747200,"45":964122193674409984},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-07-01 09:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416682240001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:26:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-01 09:26:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333115301245747200,"km_value":333115301245747.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":964122193674409984,"description":"Unknown IO ID 45"} 
[2026-07-01 09:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416682240001,"power":25060,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964122193674409984}} 
[2026-07-01 09:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":118996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:26:34] local.INFO: GPS data processed {"connection_id":118996,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:26:34] local.INFO: Acknowledgment sent {"connection_id":118996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:26:38] local.INFO: TCP Data received {"connection_id":118996,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bceceb0012d0d614006ea0898001200b12a..."} 
[2026-07-01 09:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bceceb0012d0d614006ea0898001200b12a..."} 
[2026-07-01 09:26:38] local.INFO: Processing buffer {"connection_id":118996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bceceb0012d0d614006ea0898001200b12a..."} 
[2026-07-01 09:26:38] local.INFO: Packet analysis {"connection_id":118996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bce"} 
[2026-07-01 09:26:38] local.INFO: Extracted packet for processing {"connection_id":118996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bce"} 
[2026-07-01 09:26:38] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000920,"longitude_deg":75.5851584,"latitude_deg":11.600092,"altitude":18,"angle":177,"satellites":42,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea0898","is_valid_coordinates":true} 
[2026-07-01 09:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416682240001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333115301245747200,"note":"Value kept but may cause issues"} 
[2026-07-01 09:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964122193674409984,"note":"Value kept but may cause issues"} 
[2026-07-01 09:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782877966000,"timestamp_ms":1782877966000,"timestamp_seconds":1782877966,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bceceb0"} 
[2026-07-01 09:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-01 09:26:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:26:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":118996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":118996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":118996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416682240001,"66":25060,"83":206,"80":6400,"24":0,"16":333115301245747200,"45":964122193674409984},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-07-01 09:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416682240001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:26:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-01 09:26:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333115301245747200,"km_value":333115301245747.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":964122193674409984,"description":"Unknown IO ID 45"} 
[2026-07-01 09:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416682240001,"power":25060,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964122193674409984}} 
[2026-07-01 09:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":118996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:26:38] local.INFO: GPS data processed {"connection_id":118996,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:26:38] local.INFO: Acknowledgment sent {"connection_id":118996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:26:56] local.INFO: TCP Data received {"connection_id":120749,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bcd7ec0012d7d32c005ec0cf0000800fc1b..."} 
[2026-07-01 09:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bcd7ec0012d7d32c005ec0cf0000800fc1b..."} 
[2026-07-01 09:26:56] local.INFO: Processing buffer {"connection_id":120749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bcd7ec0012d7d32c005ec0cf0000800fc1b..."} 
[2026-07-01 09:26:56] local.INFO: Packet analysis {"connection_id":120749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bcd"} 
[2026-07-01 09:26:56] local.INFO: Extracted packet for processing {"connection_id":120749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bcd"} 
[2026-07-01 09:26:56] local.INFO: GPS Element Parsed {"raw_longitude":763179712,"raw_latitude":99355888,"longitude_deg":76.3179712,"latitude_deg":9.9355888,"altitude":8,"angle":252,"satellites":27,"speed":0,"hex_longitude":"2d7d32c0","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-07-01 09:26:56] 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-01 09:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416737280001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:26:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021484135244165120,"note":"Value kept but may cause issues"} 
[2026-07-01 09:26:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782877880000,"timestamp_ms":1782877880000,"timestamp_seconds":1782877880,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bcd7ec0"} 
[2026-07-01 09: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-01 09:26:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-01 09:26:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09: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-01 09: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-01 09:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":120749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":120749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":120749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:26:56] 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-01 09:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416737280001,"66":13450,"109":206,"87":13824,"24":0,"16":101265635098492928,"45":9021484135244165120},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-07-01 09:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416737280001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:26:56] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-01 09:26:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:26:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021484135244165120,"description":"Unknown IO ID 45"} 
[2026-07-01 09:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416737280001,"power":13450,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021484135244165120}} 
[2026-07-01 09:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":120749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416834,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:26:56] local.INFO: GPS data processed {"connection_id":120749,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:26:56] local.INFO: Acknowledgment sent {"connection_id":120749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:27:19] local.INFO: TCP Data received {"connection_id":119652,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119652,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:27:19] local.INFO: Processing buffer {"connection_id":119652,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:27:19] local.INFO: IMEI packet received {"connection_id":119652,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 09:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":119652,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:27:21] local.INFO: TCP Data received {"connection_id":118879,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:27:21] local.INFO: Processing buffer {"connection_id":118879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:27:21] local.INFO: IMEI packet received {"connection_id":118879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 09:27:21] local.INFO: IMEI acknowledgment sent {"connection_id":118879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:27:24] local.INFO: TCP Data received {"connection_id":119652,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119652,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:27:24] local.INFO: Processing buffer {"connection_id":119652,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:27:24] local.INFO: IMEI packet received {"connection_id":119652,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":119652,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:27:25] local.INFO: TCP Data received {"connection_id":119652,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bd206e8012d7d30c005ec0ce8000700fc1f..."} 
[2026-07-01 09:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bd206e8012d7d30c005ec0ce8000700fc1f..."} 
[2026-07-01 09:27:25] local.INFO: Processing buffer {"connection_id":119652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bd206e8012d7d30c005ec0ce8000700fc1f..."} 
[2026-07-01 09:27:25] local.INFO: Packet analysis {"connection_id":119652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bd2"} 
[2026-07-01 09:27:25] local.INFO: Extracted packet for processing {"connection_id":119652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bd2"} 
[2026-07-01 09:27:25] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":7,"angle":252,"satellites":31,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09:27:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:27:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416737280001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:27:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:27:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021484135244165120,"note":"Value kept but may cause issues"} 
[2026-07-01 09:27:25] 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-01 09:27:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782878177000,"timestamp_ms":1782878177000,"timestamp_seconds":1782878177,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bd206e8"} 
[2026-07-01 09:27:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:27:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:27:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-01 09:27: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-01 09:27:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:27:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:27:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:27:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:27:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:27:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:27:25] 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-01 09:27:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:27:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:27:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416737280001,"66":2242,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9021484135244165120},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:27:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:27:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:27:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416737280001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:27:25] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:27:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:27:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:27:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021484135244165120,"description":"Unknown IO ID 45"} 
[2026-07-01 09:27:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416737280001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021484135244165120}} 
[2026-07-01 09:27:25] local.INFO: DEBUG: GPS processor result {"connection_id":119652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416835,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:27:25] local.INFO: GPS data processed {"connection_id":119652,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:27:25] local.INFO: Acknowledgment sent {"connection_id":119652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:27:26] local.INFO: TCP Data received {"connection_id":118879,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:27:26] local.INFO: Processing buffer {"connection_id":118879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:27:26] local.INFO: IMEI packet received {"connection_id":118879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":118879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:27:27] local.INFO: TCP Data received {"connection_id":118879,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bceceb0012d0d614006ea0898001200b12a..."} 
[2026-07-01 09:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bceceb0012d0d614006ea0898001200b12a..."} 
[2026-07-01 09:27:27] local.INFO: Processing buffer {"connection_id":118879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bceceb0012d0d614006ea0898001200b12a..."} 
[2026-07-01 09:27:27] local.INFO: Packet analysis {"connection_id":118879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bce"} 
[2026-07-01 09:27:27] local.INFO: Extracted packet for processing {"connection_id":118879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bce"} 
[2026-07-01 09:27:27] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000920,"longitude_deg":75.5851584,"latitude_deg":11.600092,"altitude":18,"angle":177,"satellites":42,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea0898","is_valid_coordinates":true} 
[2026-07-01 09:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416682240001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333115301245747200,"note":"Value kept but may cause issues"} 
[2026-07-01 09:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964122193674409984,"note":"Value kept but may cause issues"} 
[2026-07-01 09:27:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782877966000,"timestamp_ms":1782877966000,"timestamp_seconds":1782877966,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bceceb0"} 
[2026-07-01 09:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:27:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-01 09:27:27] 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-01 09:27:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:27:27] 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-01 09:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416682240001,"66":25060,"83":206,"80":6400,"24":0,"16":333115301245747200,"45":964122193674409984},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-07-01 09:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416682240001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:27:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-01 09:27:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333115301245747200,"km_value":333115301245747.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":964122193674409984,"description":"Unknown IO ID 45"} 
[2026-07-01 09:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416682240001,"power":25060,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964122193674409984}} 
[2026-07-01 09:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":118879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:27:27] local.INFO: GPS data processed {"connection_id":118879,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:27:27] local.INFO: Acknowledgment sent {"connection_id":118879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:27:57] local.INFO: TCP Data received {"connection_id":119652,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bd206e8012d7d30c005ec0ce8000700fc1f..."} 
[2026-07-01 09:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bd206e8012d7d30c005ec0ce8000700fc1f..."} 
[2026-07-01 09:27:57] local.INFO: Processing buffer {"connection_id":119652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bd206e8012d7d30c005ec0ce8000700fc1f..."} 
[2026-07-01 09:27:57] local.INFO: Packet analysis {"connection_id":119652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bd2"} 
[2026-07-01 09:27:57] local.INFO: Extracted packet for processing {"connection_id":119652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bd2"} 
[2026-07-01 09:27:57] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":7,"angle":252,"satellites":31,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09:27:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:27:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416737280001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:27:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:27:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021484135244165120,"note":"Value kept but may cause issues"} 
[2026-07-01 09:27:57] 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-01 09:27:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782878177000,"timestamp_ms":1782878177000,"timestamp_seconds":1782878177,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bd206e8"} 
[2026-07-01 09:27:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:27:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:27:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-01 09:27:57] 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-01 09:27:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:27:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:27:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:27:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:27:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:27:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:27:57] 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-01 09:27:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:27:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:27:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416737280001,"66":2242,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9021484135244165120},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:27:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:27:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:27:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416737280001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:27:57] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:27:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:27:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:27:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021484135244165120,"description":"Unknown IO ID 45"} 
[2026-07-01 09:27:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416737280001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021484135244165120}} 
[2026-07-01 09:27:57] local.INFO: DEBUG: GPS processor result {"connection_id":119652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416837,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:27:57] local.INFO: GPS data processed {"connection_id":119652,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:27:57] local.INFO: Acknowledgment sent {"connection_id":119652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:27:59] local.INFO: TCP Data received {"connection_id":118879,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bceceb0012d0d614006ea0898001200b12a..."} 
[2026-07-01 09:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bceceb0012d0d614006ea0898001200b12a..."} 
[2026-07-01 09:27:59] local.INFO: Processing buffer {"connection_id":118879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bceceb0012d0d614006ea0898001200b12a..."} 
[2026-07-01 09:27:59] local.INFO: Packet analysis {"connection_id":118879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bce"} 
[2026-07-01 09:27:59] local.INFO: Extracted packet for processing {"connection_id":118879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bce"} 
[2026-07-01 09:27:59] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000920,"longitude_deg":75.5851584,"latitude_deg":11.600092,"altitude":18,"angle":177,"satellites":42,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea0898","is_valid_coordinates":true} 
[2026-07-01 09:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416682240001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333115301245747200,"note":"Value kept but may cause issues"} 
[2026-07-01 09:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964122193674409984,"note":"Value kept but may cause issues"} 
[2026-07-01 09:27:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782877966000,"timestamp_ms":1782877966000,"timestamp_seconds":1782877966,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bceceb0"} 
[2026-07-01 09:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:27:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-01 09:27:59] 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-01 09:27:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:27:59] 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-01 09:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416682240001,"66":25060,"83":206,"80":6400,"24":0,"16":333115301245747200,"45":964122193674409984},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-07-01 09:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416682240001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:27:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-01 09:27:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333115301245747200,"km_value":333115301245747.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":964122193674409984,"description":"Unknown IO ID 45"} 
[2026-07-01 09:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416682240001,"power":25060,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964122193674409984}} 
[2026-07-01 09:28:00] local.INFO: DEBUG: GPS processor result {"connection_id":118879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:28:00] local.INFO: GPS data processed {"connection_id":118879,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:28:00] local.INFO: Acknowledgment sent {"connection_id":118879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:28:18] local.INFO: TCP Data received {"connection_id":119654,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119654,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:28:18] local.INFO: Processing buffer {"connection_id":119654,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:28:18] local.INFO: IMEI packet received {"connection_id":119654,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 09:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":119654,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:28:21] local.INFO: TCP Data received {"connection_id":119655,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:28:21] local.INFO: Processing buffer {"connection_id":119655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:28:21] local.INFO: IMEI packet received {"connection_id":119655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 09:28:21] local.INFO: IMEI acknowledgment sent {"connection_id":119655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:28:23] local.INFO: TCP Data received {"connection_id":119654,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119654,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:28:23] local.INFO: Processing buffer {"connection_id":119654,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:28:23] local.INFO: IMEI packet received {"connection_id":119654,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:28:23] local.INFO: IMEI acknowledgment sent {"connection_id":119654,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:28:25] local.INFO: TCP Data received {"connection_id":119654,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bd206e8012d7d30c005ec0ce8000700fc1f..."} 
[2026-07-01 09:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bd206e8012d7d30c005ec0ce8000700fc1f..."} 
[2026-07-01 09:28:25] local.INFO: Processing buffer {"connection_id":119654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bd206e8012d7d30c005ec0ce8000700fc1f..."} 
[2026-07-01 09:28:25] local.INFO: Packet analysis {"connection_id":119654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bd2"} 
[2026-07-01 09:28:25] local.INFO: Extracted packet for processing {"connection_id":119654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bd2"} 
[2026-07-01 09:28:25] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":7,"angle":252,"satellites":31,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09:28:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:28:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416737280001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:28:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:28:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021484135244165120,"note":"Value kept but may cause issues"} 
[2026-07-01 09:28:25] 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-01 09:28:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782878177000,"timestamp_ms":1782878177000,"timestamp_seconds":1782878177,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bd206e8"} 
[2026-07-01 09:28:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:28:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:28:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-01 09:28: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-01 09:28:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:28:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:28:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:28:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:28:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119654,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:28:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119654,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:28:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:28:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:28:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:28:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416737280001,"66":2242,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9021484135244165120},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:28:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:28:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:28:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416737280001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:28:25] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:28:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:28:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:28:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021484135244165120,"description":"Unknown IO ID 45"} 
[2026-07-01 09:28:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416737280001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021484135244165120}} 
[2026-07-01 09:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":119654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416839,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:28:25] local.INFO: GPS data processed {"connection_id":119654,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:28:25] local.INFO: Acknowledgment sent {"connection_id":119654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:28:29] local.INFO: TCP Data received {"connection_id":119655,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:28:29] local.INFO: Processing buffer {"connection_id":119655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:28:29] local.INFO: IMEI packet received {"connection_id":119655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":119655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:28:30] local.INFO: TCP Data received {"connection_id":119655,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bd36678012d0d614006ea0898001200b127..."} 
[2026-07-01 09:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bd36678012d0d614006ea0898001200b127..."} 
[2026-07-01 09:28:30] local.INFO: Processing buffer {"connection_id":119655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bd36678012d0d614006ea0898001200b127..."} 
[2026-07-01 09:28:30] local.INFO: Packet analysis {"connection_id":119655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bd3"} 
[2026-07-01 09:28:30] local.INFO: Extracted packet for processing {"connection_id":119655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bd3"} 
[2026-07-01 09:28:30] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000920,"longitude_deg":75.5851584,"latitude_deg":11.600092,"altitude":18,"angle":177,"satellites":39,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea0898","is_valid_coordinates":true} 
[2026-07-01 09: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-01 09:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416759296001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333115301245747200,"note":"Value kept but may cause issues"} 
[2026-07-01 09:28:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964122193674409984,"note":"Value kept but may cause issues"} 
[2026-07-01 09:28:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782878267000,"timestamp_ms":1782878267000,"timestamp_seconds":1782878267,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bd36678"} 
[2026-07-01 09: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-01 09:28:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-01 09:28:30] 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-01 09: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-01 09: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-01 09:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":119655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":119655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":119655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:28:30] 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-01 09:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416759296001,"66":25071,"83":206,"80":6400,"24":0,"16":333115301245747200,"45":964122193674409984},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-07-01 09:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416759296001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:28:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-01 09:28:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333115301245747200,"km_value":333115301245747.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:28:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":964122193674409984,"description":"Unknown IO ID 45"} 
[2026-07-01 09:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416759296001,"power":25071,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964122193674409984}} 
[2026-07-01 09:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":119655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:28:30] local.INFO: GPS data processed {"connection_id":119655,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:28:30] local.INFO: Acknowledgment sent {"connection_id":119655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:28:58] local.INFO: TCP Data received {"connection_id":119654,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bd206e8012d7d30c005ec0ce8000700fc1f..."} 
[2026-07-01 09:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bd206e8012d7d30c005ec0ce8000700fc1f..."} 
[2026-07-01 09:28:58] local.INFO: Processing buffer {"connection_id":119654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bd206e8012d7d30c005ec0ce8000700fc1f..."} 
[2026-07-01 09:28:58] local.INFO: Packet analysis {"connection_id":119654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bd2"} 
[2026-07-01 09:28:58] local.INFO: Extracted packet for processing {"connection_id":119654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bd2"} 
[2026-07-01 09:28:58] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":7,"angle":252,"satellites":31,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09: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-01 09:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416737280001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021484135244165120,"note":"Value kept but may cause issues"} 
[2026-07-01 09:28:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782878177000,"timestamp_ms":1782878177000,"timestamp_seconds":1782878177,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bd206e8"} 
[2026-07-01 09: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-01 09:28:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09: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":138,"data_length":795,"current_offset":136} 
[2026-07-01 09:28:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09: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-01 09: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-01 09:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119654,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119654,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:28:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416737280001,"66":2242,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9021484135244165120},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416737280001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:28:58] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:28:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021484135244165120,"description":"Unknown IO ID 45"} 
[2026-07-01 09:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416737280001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021484135244165120}} 
[2026-07-01 09:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":119654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416841,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:28:58] local.INFO: GPS data processed {"connection_id":119654,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:28:58] local.INFO: Acknowledgment sent {"connection_id":119654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:29:02] local.INFO: TCP Data received {"connection_id":119655,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bd36678012d0d614006ea0898001200b127..."} 
[2026-07-01 09:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bd36678012d0d614006ea0898001200b127..."} 
[2026-07-01 09:29:02] local.INFO: Processing buffer {"connection_id":119655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bd36678012d0d614006ea0898001200b127..."} 
[2026-07-01 09:29:02] local.INFO: Packet analysis {"connection_id":119655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bd3"} 
[2026-07-01 09:29:02] local.INFO: Extracted packet for processing {"connection_id":119655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bd3"} 
[2026-07-01 09:29:02] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000920,"longitude_deg":75.5851584,"latitude_deg":11.600092,"altitude":18,"angle":177,"satellites":39,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea0898","is_valid_coordinates":true} 
[2026-07-01 09:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416759296001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333115301245747200,"note":"Value kept but may cause issues"} 
[2026-07-01 09:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964122193674409984,"note":"Value kept but may cause issues"} 
[2026-07-01 09:29:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782878267000,"timestamp_ms":1782878267000,"timestamp_seconds":1782878267,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bd36678"} 
[2026-07-01 09:29:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:29:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-01 09:29:02] 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-01 09:29:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:29:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":119655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":119655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":119655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:29:02] 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-01 09:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416759296001,"66":25071,"83":206,"80":6400,"24":0,"16":333115301245747200,"45":964122193674409984},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-07-01 09:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416759296001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:29:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-01 09:29:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333115301245747200,"km_value":333115301245747.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":964122193674409984,"description":"Unknown IO ID 45"} 
[2026-07-01 09:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416759296001,"power":25071,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964122193674409984}} 
[2026-07-01 09:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":119655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:29:02] local.INFO: GPS data processed {"connection_id":119655,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:29:02] local.INFO: Acknowledgment sent {"connection_id":119655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:29:21] local.INFO: TCP Data received {"connection_id":118998,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:29:21] local.INFO: Processing buffer {"connection_id":118998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:29:21] local.INFO: IMEI packet received {"connection_id":118998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 09:29:21] local.INFO: IMEI acknowledgment sent {"connection_id":118998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:29:23] local.INFO: TCP Data received {"connection_id":118997,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118997,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:29:23] local.INFO: Processing buffer {"connection_id":118997,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:29:23] local.INFO: IMEI packet received {"connection_id":118997,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 09:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":118997,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:29:26] local.INFO: TCP Data received {"connection_id":118998,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:29:26] local.INFO: Processing buffer {"connection_id":118998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:29:26] local.INFO: IMEI packet received {"connection_id":118998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":118998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:29:27] local.INFO: TCP Data received {"connection_id":118998,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bd36678012d0d614006ea0898001200b127..."} 
[2026-07-01 09:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bd36678012d0d614006ea0898001200b127..."} 
[2026-07-01 09:29:27] local.INFO: Processing buffer {"connection_id":118998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bd36678012d0d614006ea0898001200b127..."} 
[2026-07-01 09:29:27] local.INFO: Packet analysis {"connection_id":118998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bd3"} 
[2026-07-01 09:29:27] local.INFO: Extracted packet for processing {"connection_id":118998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bd3"} 
[2026-07-01 09:29:27] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000920,"longitude_deg":75.5851584,"latitude_deg":11.600092,"altitude":18,"angle":177,"satellites":39,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea0898","is_valid_coordinates":true} 
[2026-07-01 09: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-01 09:29:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416759296001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:29:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333115301245747200,"note":"Value kept but may cause issues"} 
[2026-07-01 09:29:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964122193674409984,"note":"Value kept but may cause issues"} 
[2026-07-01 09:29:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:29:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782878267000,"timestamp_ms":1782878267000,"timestamp_seconds":1782878267,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bd36678"} 
[2026-07-01 09: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-01 09:29:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-01 09:29:27] 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-01 09: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-01 09: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-01 09:29:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:29:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:29:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:29:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:29:27] 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-01 09:29:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:29:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:29:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416759296001,"66":25071,"83":206,"80":6400,"24":0,"16":333115301245747200,"45":964122193674409984},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-07-01 09:29:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:29:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:29:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416759296001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:29:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-01 09:29:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:29:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333115301245747200,"km_value":333115301245747.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:29:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":964122193674409984,"description":"Unknown IO ID 45"} 
[2026-07-01 09:29:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416759296001,"power":25071,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964122193674409984}} 
[2026-07-01 09:29:27] local.INFO: DEBUG: GPS processor result {"connection_id":118998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:29:27] local.INFO: GPS data processed {"connection_id":118998,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:29:27] local.INFO: Acknowledgment sent {"connection_id":118998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:29:28] local.INFO: TCP Data received {"connection_id":118997,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118997,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:29:28] local.INFO: Processing buffer {"connection_id":118997,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:29:28] local.INFO: IMEI packet received {"connection_id":118997,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":118997,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:29:30] local.INFO: TCP Data received {"connection_id":118997,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bd206e8012d7d30c005ec0ce8000700fc1f..."} 
[2026-07-01 09:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bd206e8012d7d30c005ec0ce8000700fc1f..."} 
[2026-07-01 09:29:30] local.INFO: Processing buffer {"connection_id":118997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bd206e8012d7d30c005ec0ce8000700fc1f..."} 
[2026-07-01 09:29:30] local.INFO: Packet analysis {"connection_id":118997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bd2"} 
[2026-07-01 09:29:30] local.INFO: Extracted packet for processing {"connection_id":118997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bd2"} 
[2026-07-01 09:29:30] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":7,"angle":252,"satellites":31,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416737280001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021484135244165120,"note":"Value kept but may cause issues"} 
[2026-07-01 09:29:30] 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-01 09:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782878177000,"timestamp_ms":1782878177000,"timestamp_seconds":1782878177,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bd206e8"} 
[2026-07-01 09:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:29:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-01 09:29: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-01 09:29:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":118997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":118997,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":118997,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:29:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416737280001,"66":2242,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9021484135244165120},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416737280001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:29:30] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:29:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021484135244165120,"description":"Unknown IO ID 45"} 
[2026-07-01 09:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416737280001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021484135244165120}} 
[2026-07-01 09:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":118997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416844,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:29:30] local.INFO: GPS data processed {"connection_id":118997,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:29:30] local.INFO: Acknowledgment sent {"connection_id":118997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:29:34] local.INFO: TCP Data received {"connection_id":118997,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bd206e8012d7d30c005ec0ce8000700fc1f..."} 
[2026-07-01 09:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bd206e8012d7d30c005ec0ce8000700fc1f..."} 
[2026-07-01 09:29:34] local.INFO: Processing buffer {"connection_id":118997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bd206e8012d7d30c005ec0ce8000700fc1f..."} 
[2026-07-01 09:29:34] local.INFO: Packet analysis {"connection_id":118997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bd2"} 
[2026-07-01 09:29:34] local.INFO: Extracted packet for processing {"connection_id":118997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bd2"} 
[2026-07-01 09:29:34] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":7,"angle":252,"satellites":31,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416737280001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021484135244165120,"note":"Value kept but may cause issues"} 
[2026-07-01 09:29:34] 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-01 09:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782878177000,"timestamp_ms":1782878177000,"timestamp_seconds":1782878177,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bd206e8"} 
[2026-07-01 09:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:29:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-01 09:29:34] 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-01 09:29:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":118997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":118997,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":118997,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416737280001,"66":2242,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9021484135244165120},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416737280001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:29:34] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:29:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021484135244165120,"description":"Unknown IO ID 45"} 
[2026-07-01 09:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416737280001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021484135244165120}} 
[2026-07-01 09:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":118997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416845,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:29:34] local.INFO: GPS data processed {"connection_id":118997,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:29:34] local.INFO: Acknowledgment sent {"connection_id":118997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:29:51] local.INFO: TCP Data received {"connection_id":120751,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120751,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:29:51] local.INFO: Processing buffer {"connection_id":120751,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:29:51] local.INFO: IMEI packet received {"connection_id":120751,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 09:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":120751,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:30:00] local.INFO: TCP Data received {"connection_id":118998,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bd36678012d0d614006ea0898001200b127..."} 
[2026-07-01 09:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bd36678012d0d614006ea0898001200b127..."} 
[2026-07-01 09:30:00] local.INFO: Processing buffer {"connection_id":118998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bd36678012d0d614006ea0898001200b127..."} 
[2026-07-01 09:30:00] local.INFO: Packet analysis {"connection_id":118998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bd3"} 
[2026-07-01 09:30:00] local.INFO: Extracted packet for processing {"connection_id":118998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bd3"} 
[2026-07-01 09:30:00] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000920,"longitude_deg":75.5851584,"latitude_deg":11.600092,"altitude":18,"angle":177,"satellites":39,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea0898","is_valid_coordinates":true} 
[2026-07-01 09:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416759296001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333115301245747200,"note":"Value kept but may cause issues"} 
[2026-07-01 09:30:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964122193674409984,"note":"Value kept but may cause issues"} 
[2026-07-01 09:30:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782878267000,"timestamp_ms":1782878267000,"timestamp_seconds":1782878267,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bd36678"} 
[2026-07-01 09:30:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:30:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-01 09:30:00] 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-01 09:30:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:30:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":118998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":118998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":118998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:30:00] 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-01 09:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416759296001,"66":25071,"83":206,"80":6400,"24":0,"16":333115301245747200,"45":964122193674409984},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-07-01 09:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416759296001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:30:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-01 09:30:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333115301245747200,"km_value":333115301245747.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":964122193674409984,"description":"Unknown IO ID 45"} 
[2026-07-01 09:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416759296001,"power":25071,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964122193674409984}} 
[2026-07-01 09:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":118998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:30:00] local.INFO: GPS data processed {"connection_id":118998,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:30:00] local.INFO: Acknowledgment sent {"connection_id":118998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:30:16] local.INFO: TCP Data received {"connection_id":120753,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120753,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:30:16] local.INFO: Processing buffer {"connection_id":120753,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:30:16] local.INFO: IMEI packet received {"connection_id":120753,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 09:30:16] local.INFO: IMEI acknowledgment sent {"connection_id":120753,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:30:19] local.INFO: TCP Data received {"connection_id":120752,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120752,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:30:19] local.INFO: Processing buffer {"connection_id":120752,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:30:19] local.INFO: IMEI packet received {"connection_id":120752,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 09:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":120752,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:30:21] local.INFO: TCP Data received {"connection_id":120753,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120753,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:30:21] local.INFO: Processing buffer {"connection_id":120753,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:30:21] local.INFO: IMEI packet received {"connection_id":120753,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-01 09:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":120753,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:30:22] local.INFO: TCP Data received {"connection_id":120753,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bc2b120012cb2a10007823b280049001b29..."} 
[2026-07-01 09:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bc2b120012cb2a10007823b280049001b29..."} 
[2026-07-01 09:30:22] local.INFO: Processing buffer {"connection_id":120753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bc2b120012cb2a10007823b280049001b29..."} 
[2026-07-01 09:30:22] local.INFO: Packet analysis {"connection_id":120753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bc2"} 
[2026-07-01 09:30:22] local.INFO: Extracted packet for processing {"connection_id":120753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bc2"} 
[2026-07-01 09:30:22] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125975336,"longitude_deg":74.9904128,"latitude_deg":12.5975336,"altitude":73,"angle":27,"satellites":41,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07823b28","is_valid_coordinates":true} 
[2026-07-01 09: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-01 09:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416478976001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130042276758945792,"note":"Value kept but may cause issues"} 
[2026-07-01 09:30:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831458277376,"note":"Value kept but may cause issues"} 
[2026-07-01 09:30:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782877172000,"timestamp_ms":1782877172000,"timestamp_seconds":1782877172,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bc2b120"} 
[2026-07-01 09: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-01 09: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-01 09:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-01 09:30:22] 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-01 09: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-01 09: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-01 09:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":120753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":120753,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-01 09:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":120753,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-01 09:30:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-01 09:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-01 09:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416478976001,"66":25430,"184":206,"85":36096,"24":0,"16":130042276758945792,"44":-5575174831458277376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-01 09:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-01 09:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-01 09:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416478976001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:30:22] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-01 09:30:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 09:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130042276758945792,"km_value":130042276758945.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:30:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831458277376,"description":"Unknown IO ID 44"} 
[2026-07-01 09:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416478976001,"power":25430,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831458277376}} 
[2026-07-01 09:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":120753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416847,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:30:22] local.INFO: GPS data processed {"connection_id":120753,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:30:22] local.INFO: Acknowledgment sent {"connection_id":120753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:30:23] local.INFO: TCP Data received {"connection_id":120752,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120752,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:30:23] local.INFO: Processing buffer {"connection_id":120752,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:30:23] local.INFO: IMEI packet received {"connection_id":120752,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":120752,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:30:25] local.INFO: TCP Data received {"connection_id":120752,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bd206e8012d7d30c005ec0ce8000700fc1f..."} 
[2026-07-01 09:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bd206e8012d7d30c005ec0ce8000700fc1f..."} 
[2026-07-01 09:30:25] local.INFO: Processing buffer {"connection_id":120752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bd206e8012d7d30c005ec0ce8000700fc1f..."} 
[2026-07-01 09:30:25] local.INFO: Packet analysis {"connection_id":120752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bd2"} 
[2026-07-01 09:30:25] local.INFO: Extracted packet for processing {"connection_id":120752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bd2"} 
[2026-07-01 09:30:25] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":7,"angle":252,"satellites":31,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09: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-01 09:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416737280001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:30:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021484135244165120,"note":"Value kept but may cause issues"} 
[2026-07-01 09:30:25] 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-01 09:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782878177000,"timestamp_ms":1782878177000,"timestamp_seconds":1782878177,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bd206e8"} 
[2026-07-01 09: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-01 09:30:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-01 09:30: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-01 09: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-01 09: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-01 09:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":120752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":120752,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":120752,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:30:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416737280001,"66":2242,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9021484135244165120},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416737280001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:30:25] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:30:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:30:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021484135244165120,"description":"Unknown IO ID 45"} 
[2026-07-01 09:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416737280001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021484135244165120}} 
[2026-07-01 09:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":120752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416848,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:30:25] local.INFO: GPS data processed {"connection_id":120752,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:30:25] local.INFO: Acknowledgment sent {"connection_id":120752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:30:26] local.INFO: TCP Data received {"connection_id":120754,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:30:26] local.INFO: Processing buffer {"connection_id":120754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:30:26] local.INFO: IMEI packet received {"connection_id":120754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 09:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":120754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:30:31] local.INFO: TCP Data received {"connection_id":120754,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:30:31] local.INFO: Processing buffer {"connection_id":120754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:30:31] local.INFO: IMEI packet received {"connection_id":120754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":120754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:30:32] local.INFO: TCP Data received {"connection_id":120754,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bd36678012d0d614006ea0898001200b127..."} 
[2026-07-01 09:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bd36678012d0d614006ea0898001200b127..."} 
[2026-07-01 09:30:32] local.INFO: Processing buffer {"connection_id":120754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bd36678012d0d614006ea0898001200b127..."} 
[2026-07-01 09:30:32] local.INFO: Packet analysis {"connection_id":120754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bd3"} 
[2026-07-01 09:30:32] local.INFO: Extracted packet for processing {"connection_id":120754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bd3"} 
[2026-07-01 09:30:32] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000920,"longitude_deg":75.5851584,"latitude_deg":11.600092,"altitude":18,"angle":177,"satellites":39,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea0898","is_valid_coordinates":true} 
[2026-07-01 09:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416759296001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333115301245747200,"note":"Value kept but may cause issues"} 
[2026-07-01 09:30:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964122193674409984,"note":"Value kept but may cause issues"} 
[2026-07-01 09:30:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782878267000,"timestamp_ms":1782878267000,"timestamp_seconds":1782878267,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bd36678"} 
[2026-07-01 09:30:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:30:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-01 09:30:32] 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-01 09:30:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:30:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":120754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":120754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":120754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:30:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416759296001,"66":25071,"83":206,"80":6400,"24":0,"16":333115301245747200,"45":964122193674409984},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-07-01 09:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416759296001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:30:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-01 09:30:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333115301245747200,"km_value":333115301245747.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:30:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":964122193674409984,"description":"Unknown IO ID 45"} 
[2026-07-01 09:30:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416759296001,"power":25071,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964122193674409984}} 
[2026-07-01 09:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":120754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:30:32] local.INFO: GPS data processed {"connection_id":120754,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:30:32] local.INFO: Acknowledgment sent {"connection_id":120754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:30:37] local.INFO: TCP Data received {"connection_id":120754,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bd36678012d0d614006ea0898001200b127..."} 
[2026-07-01 09:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bd36678012d0d614006ea0898001200b127..."} 
[2026-07-01 09:30:37] local.INFO: Processing buffer {"connection_id":120754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bd36678012d0d614006ea0898001200b127..."} 
[2026-07-01 09:30:37] local.INFO: Packet analysis {"connection_id":120754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bd3"} 
[2026-07-01 09:30:37] local.INFO: Extracted packet for processing {"connection_id":120754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bd3"} 
[2026-07-01 09:30:37] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000920,"longitude_deg":75.5851584,"latitude_deg":11.600092,"altitude":18,"angle":177,"satellites":39,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea0898","is_valid_coordinates":true} 
[2026-07-01 09:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416759296001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333115301245747200,"note":"Value kept but may cause issues"} 
[2026-07-01 09:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964122193674409984,"note":"Value kept but may cause issues"} 
[2026-07-01 09:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782878267000,"timestamp_ms":1782878267000,"timestamp_seconds":1782878267,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bd36678"} 
[2026-07-01 09:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-01 09:30:37] 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-01 09:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":120754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":120754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":120754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416759296001,"66":25071,"83":206,"80":6400,"24":0,"16":333115301245747200,"45":964122193674409984},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-07-01 09:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416759296001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:30:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-01 09:30:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333115301245747200,"km_value":333115301245747.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":964122193674409984,"description":"Unknown IO ID 45"} 
[2026-07-01 09:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416759296001,"power":25071,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964122193674409984}} 
[2026-07-01 09:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":120754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:30:37] local.INFO: GPS data processed {"connection_id":120754,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:30:37] local.INFO: Acknowledgment sent {"connection_id":120754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:30:56] local.INFO: TCP Data received {"connection_id":120752,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bd206e8012d7d30c005ec0ce8000700fc1f..."} 
[2026-07-01 09:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bd206e8012d7d30c005ec0ce8000700fc1f..."} 
[2026-07-01 09:30:56] local.INFO: Processing buffer {"connection_id":120752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bd206e8012d7d30c005ec0ce8000700fc1f..."} 
[2026-07-01 09:30:56] local.INFO: Packet analysis {"connection_id":120752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bd2"} 
[2026-07-01 09:30:56] local.INFO: Extracted packet for processing {"connection_id":120752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bd2"} 
[2026-07-01 09:30:56] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":7,"angle":252,"satellites":31,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416737280001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:30:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021484135244165120,"note":"Value kept but may cause issues"} 
[2026-07-01 09:30: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-01 09:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782878177000,"timestamp_ms":1782878177000,"timestamp_seconds":1782878177,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bd206e8"} 
[2026-07-01 09:30:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:30:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-07-01 09:30:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:30:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:30:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":120752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":120752,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":120752,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:30:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416737280001,"66":2242,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9021484135244165120},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416737280001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:30:56] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:30:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:30:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021484135244165120,"description":"Unknown IO ID 45"} 
[2026-07-01 09:30:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416737280001,"power":2242,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9021484135244165120}} 
[2026-07-01 09:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":120752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416851,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:30:56] local.INFO: GPS data processed {"connection_id":120752,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:30:56] local.INFO: Acknowledgment sent {"connection_id":120752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:31:06] local.INFO: TCP Data received {"connection_id":118880,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118880,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:31:06] local.INFO: Processing buffer {"connection_id":118880,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:31:06] local.INFO: IMEI packet received {"connection_id":118880,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 09:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":118880,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:31:18] local.INFO: TCP Data received {"connection_id":119656,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119656,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:31:18] local.INFO: Processing buffer {"connection_id":119656,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:31:18] local.INFO: IMEI packet received {"connection_id":119656,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 09:31:18] local.INFO: IMEI acknowledgment sent {"connection_id":119656,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:31:19] local.INFO: TCP Data received {"connection_id":119656,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119656,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:31:19] local.INFO: Processing buffer {"connection_id":119656,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:31:19] local.INFO: IMEI packet received {"connection_id":119656,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":119656,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:31:21] local.INFO: TCP Data received {"connection_id":119657,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:31:21] local.INFO: Processing buffer {"connection_id":119657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:31:21] local.INFO: IMEI packet received {"connection_id":119657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 09:31:21] local.INFO: IMEI acknowledgment sent {"connection_id":119657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:31:23] local.INFO: TCP Data received {"connection_id":119656,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119656,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:31:23] local.INFO: Processing buffer {"connection_id":119656,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:31:23] local.INFO: IMEI packet received {"connection_id":119656,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:31:23] local.INFO: IMEI acknowledgment sent {"connection_id":119656,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:31:25] local.INFO: TCP Data received {"connection_id":119656,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bd69eb0012d7d30c005ec0ce8000700fc25..."} 
[2026-07-01 09:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bd69eb0012d7d30c005ec0ce8000700fc25..."} 
[2026-07-01 09:31:25] local.INFO: Processing buffer {"connection_id":119656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bd69eb0012d7d30c005ec0ce8000700fc25..."} 
[2026-07-01 09:31:25] local.INFO: Packet analysis {"connection_id":119656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bd6"} 
[2026-07-01 09:31:25] local.INFO: Extracted packet for processing {"connection_id":119656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bd6"} 
[2026-07-01 09:31:25] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":7,"angle":252,"satellites":37,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09: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-01 09:31:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416813312001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:31:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 09:31:25] 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-01 09:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782878478000,"timestamp_ms":1782878478000,"timestamp_seconds":1782878478,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bd69eb0"} 
[2026-07-01 09: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-01 09:31:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-01 09:31:25] 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-01 09: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-01 09: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-01 09:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119656,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119656,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:31:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:31:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416813312001,"66":2231,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:31:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:31:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:31:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416813312001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:31:25] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:31:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:31:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:31:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 09:31:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416813312001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 09:31:25] local.INFO: DEBUG: GPS processor result {"connection_id":119656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416852,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:31:25] local.INFO: GPS data processed {"connection_id":119656,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:31:25] local.INFO: Acknowledgment sent {"connection_id":119656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:31:26] local.INFO: TCP Data received {"connection_id":119657,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:31:26] local.INFO: Processing buffer {"connection_id":119657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:31:26] local.INFO: IMEI packet received {"connection_id":119657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":119657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:31:27] local.INFO: TCP Data received {"connection_id":119657,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bd36678012d0d614006ea0898001200b127..."} 
[2026-07-01 09:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bd36678012d0d614006ea0898001200b127..."} 
[2026-07-01 09:31:27] local.INFO: Processing buffer {"connection_id":119657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bd36678012d0d614006ea0898001200b127..."} 
[2026-07-01 09:31:27] local.INFO: Packet analysis {"connection_id":119657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bd3"} 
[2026-07-01 09:31:27] local.INFO: Extracted packet for processing {"connection_id":119657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bd3"} 
[2026-07-01 09:31:27] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000920,"longitude_deg":75.5851584,"latitude_deg":11.600092,"altitude":18,"angle":177,"satellites":39,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea0898","is_valid_coordinates":true} 
[2026-07-01 09:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416759296001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333115301245747200,"note":"Value kept but may cause issues"} 
[2026-07-01 09:31:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964122193674409984,"note":"Value kept but may cause issues"} 
[2026-07-01 09:31:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782878267000,"timestamp_ms":1782878267000,"timestamp_seconds":1782878267,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bd36678"} 
[2026-07-01 09:31:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:31:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-01 09:31:27] 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-01 09:31:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:31:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:31:27] 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-01 09:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416759296001,"66":25071,"83":206,"80":6400,"24":0,"16":333115301245747200,"45":964122193674409984},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-07-01 09:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416759296001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:31:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-01 09:31:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333115301245747200,"km_value":333115301245747.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:31:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":964122193674409984,"description":"Unknown IO ID 45"} 
[2026-07-01 09:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416759296001,"power":25071,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964122193674409984}} 
[2026-07-01 09:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":119657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:31:27] local.INFO: GPS data processed {"connection_id":119657,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:31:27] local.INFO: Acknowledgment sent {"connection_id":119657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:31:57] local.INFO: TCP Data received {"connection_id":119656,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bd69eb0012d7d30c005ec0ce8000700fc25..."} 
[2026-07-01 09:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bd69eb0012d7d30c005ec0ce8000700fc25..."} 
[2026-07-01 09:31:57] local.INFO: Processing buffer {"connection_id":119656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bd69eb0012d7d30c005ec0ce8000700fc25..."} 
[2026-07-01 09:31:57] local.INFO: Packet analysis {"connection_id":119656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bd6"} 
[2026-07-01 09:31:57] local.INFO: Extracted packet for processing {"connection_id":119656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bd6"} 
[2026-07-01 09:31:57] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":7,"angle":252,"satellites":37,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09: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-01 09:31:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416813312001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:31:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:31:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 09:31:57] 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-01 09:31:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782878478000,"timestamp_ms":1782878478000,"timestamp_seconds":1782878478,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bd69eb0"} 
[2026-07-01 09: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-01 09:31:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-01 09:31:57] 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-01 09: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-01 09: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-01 09:31:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:31:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:31:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119656,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:31:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119656,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:31:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:31:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:31:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:31:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416813312001,"66":2231,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:31:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:31:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:31:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416813312001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:31:57] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:31:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:31:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:31:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 09:31:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416813312001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 09:31:57] local.INFO: DEBUG: GPS processor result {"connection_id":119656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416854,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:31:57] local.INFO: GPS data processed {"connection_id":119656,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:31:57] local.INFO: Acknowledgment sent {"connection_id":119656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:31:59] local.INFO: TCP Data received {"connection_id":119657,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bd63d08012d0d614006ea0898001200b128..."} 
[2026-07-01 09:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bd63d08012d0d614006ea0898001200b128..."} 
[2026-07-01 09:31:59] local.INFO: Processing buffer {"connection_id":119657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bd63d08012d0d614006ea0898001200b128..."} 
[2026-07-01 09:31:59] local.INFO: Packet analysis {"connection_id":119657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bd6"} 
[2026-07-01 09:31:59] local.INFO: Extracted packet for processing {"connection_id":119657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bd6"} 
[2026-07-01 09:31:59] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":116000920,"longitude_deg":75.5851584,"latitude_deg":11.600092,"altitude":18,"angle":177,"satellites":40,"speed":0,"hex_longitude":"2d0d6140","hex_latitude":"06ea0898","is_valid_coordinates":true} 
[2026-07-01 09:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416836352001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333115301245747200,"note":"Value kept but may cause issues"} 
[2026-07-01 09:31:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964122193674409984,"note":"Value kept but may cause issues"} 
[2026-07-01 09:31:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782878453000,"timestamp_ms":1782878453000,"timestamp_seconds":1782878453,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bd63d08"} 
[2026-07-01 09: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-01 09:31:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-01 09:31:59] 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-01 09: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-01 09: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-01 09:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:31:59] 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-01 09:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416836352001,"66":25028,"83":206,"80":6400,"24":0,"16":333115301245747200,"45":964122193674409984},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-07-01 09:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416836352001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:31:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-07-01 09:31:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333115301245747200,"km_value":333115301245747.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:31:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":964122193674409984,"description":"Unknown IO ID 45"} 
[2026-07-01 09:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416836352001,"power":25028,"unknown_83":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":964122193674409984}} 
[2026-07-01 09:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":119657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:31:59] local.INFO: GPS data processed {"connection_id":119657,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:31:59] local.INFO: Acknowledgment sent {"connection_id":119657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:32:18] local.INFO: TCP Data received {"connection_id":118999,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118999,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:32:18] local.INFO: Processing buffer {"connection_id":118999,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:32:18] local.INFO: IMEI packet received {"connection_id":118999,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 09:32:18] local.INFO: IMEI acknowledgment sent {"connection_id":118999,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:32:19] local.INFO: TCP Data received {"connection_id":119000,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:32:19] local.INFO: Processing buffer {"connection_id":119000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:32:19] local.INFO: IMEI packet received {"connection_id":119000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 09:32:19] local.INFO: IMEI acknowledgment sent {"connection_id":119000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:32:20] local.INFO: TCP Data received {"connection_id":119000,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:32:20] local.INFO: Processing buffer {"connection_id":119000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:32:20] local.INFO: IMEI packet received {"connection_id":119000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":119000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:32:20] local.INFO: TCP Data received {"connection_id":119000,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:32:20] local.INFO: Processing buffer {"connection_id":119000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:32:20] local.INFO: IMEI packet received {"connection_id":119000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":119000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:32:21] local.INFO: TCP Data received {"connection_id":119000,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:32:21] local.INFO: Processing buffer {"connection_id":119000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:32:21] local.INFO: IMEI packet received {"connection_id":119000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":119000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:32:24] local.INFO: TCP Data received {"connection_id":118999,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118999,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:32:24] local.INFO: Processing buffer {"connection_id":118999,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:32:24] local.INFO: IMEI packet received {"connection_id":118999,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":118999,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:32:26] local.INFO: TCP Data received {"connection_id":118999,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bd69eb0012d7d30c005ec0ce8000700fc25..."} 
[2026-07-01 09:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bd69eb0012d7d30c005ec0ce8000700fc25..."} 
[2026-07-01 09:32:26] local.INFO: Processing buffer {"connection_id":118999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bd69eb0012d7d30c005ec0ce8000700fc25..."} 
[2026-07-01 09:32:26] local.INFO: Packet analysis {"connection_id":118999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bd6"} 
[2026-07-01 09:32:26] local.INFO: Extracted packet for processing {"connection_id":118999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bd6"} 
[2026-07-01 09:32:26] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":7,"angle":252,"satellites":37,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:32:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416813312001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:32:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:32:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 09:32:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:32:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782878478000,"timestamp_ms":1782878478000,"timestamp_seconds":1782878478,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bd69eb0"} 
[2026-07-01 09:32:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:32:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-01 09:32:26] 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-01 09:32:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:32:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:32:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:32:26] local.INFO: Teltonika packet parsed successfully {"connection_id":118999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:32:26] local.INFO: Passing IMEI to GPS processor {"connection_id":118999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:32:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":118999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:32:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:32:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:32:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:32:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416813312001,"66":2231,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:32:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:32:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:32:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416813312001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:32:26] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:32:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:32:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:32:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 09:32:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416813312001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 09:32:26] local.INFO: DEBUG: GPS processor result {"connection_id":118999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416856,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:32:26] local.INFO: GPS data processed {"connection_id":118999,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:32:26] local.INFO: Acknowledgment sent {"connection_id":118999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:32:57] local.INFO: TCP Data received {"connection_id":118999,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bd69eb0012d7d30c005ec0ce8000700fc25..."} 
[2026-07-01 09:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bd69eb0012d7d30c005ec0ce8000700fc25..."} 
[2026-07-01 09:32:57] local.INFO: Processing buffer {"connection_id":118999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bd69eb0012d7d30c005ec0ce8000700fc25..."} 
[2026-07-01 09:32:57] local.INFO: Packet analysis {"connection_id":118999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bd6"} 
[2026-07-01 09:32:57] local.INFO: Extracted packet for processing {"connection_id":118999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bd6"} 
[2026-07-01 09:32:57] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":7,"angle":252,"satellites":37,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09:32: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-01 09:32:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416813312001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:32:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:32:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 09:32:57] 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-01 09:32:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782878478000,"timestamp_ms":1782878478000,"timestamp_seconds":1782878478,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bd69eb0"} 
[2026-07-01 09:32:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:32:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-01 09:32:57] 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-01 09:32: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-01 09:32:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:32:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:32:57] local.INFO: Teltonika packet parsed successfully {"connection_id":118999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:32:57] local.INFO: Passing IMEI to GPS processor {"connection_id":118999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:32:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":118999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:32:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:32:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:32:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:32:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416813312001,"66":2231,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:32:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:32:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:32:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416813312001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:32:57] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:32:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:32:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:32:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 09:32:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416813312001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 09:32:57] local.INFO: DEBUG: GPS processor result {"connection_id":118999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416857,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:32:57] local.INFO: GPS data processed {"connection_id":118999,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:32:57] local.INFO: Acknowledgment sent {"connection_id":118999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:33:18] local.INFO: TCP Data received {"connection_id":118883,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118883,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:33:18] local.INFO: Processing buffer {"connection_id":118883,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:33:18] local.INFO: IMEI packet received {"connection_id":118883,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 09:33:18] local.INFO: IMEI acknowledgment sent {"connection_id":118883,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:33:23] local.INFO: TCP Data received {"connection_id":118883,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118883,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:33:23] local.INFO: Processing buffer {"connection_id":118883,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:33:23] local.INFO: IMEI packet received {"connection_id":118883,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:33:23] local.INFO: IMEI acknowledgment sent {"connection_id":118883,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:33:24] local.INFO: TCP Data received {"connection_id":118883,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bd69eb0012d7d30c005ec0ce8000700fc25..."} 
[2026-07-01 09:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bd69eb0012d7d30c005ec0ce8000700fc25..."} 
[2026-07-01 09:33:24] local.INFO: Processing buffer {"connection_id":118883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bd69eb0012d7d30c005ec0ce8000700fc25..."} 
[2026-07-01 09:33:24] local.INFO: Packet analysis {"connection_id":118883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bd6"} 
[2026-07-01 09:33:24] local.INFO: Extracted packet for processing {"connection_id":118883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bd6"} 
[2026-07-01 09:33:24] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":7,"angle":252,"satellites":37,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:33:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416813312001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:33:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:33:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 09:33:24] 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-01 09:33:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782878478000,"timestamp_ms":1782878478000,"timestamp_seconds":1782878478,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bd69eb0"} 
[2026-07-01 09:33:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:33:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-01 09:33:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:33:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:33:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:33:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:33:24] local.INFO: Teltonika packet parsed successfully {"connection_id":118883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:33:24] local.INFO: Passing IMEI to GPS processor {"connection_id":118883,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:33:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":118883,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:33:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:33:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:33:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:33:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416813312001,"66":2231,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:33:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:33:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:33:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416813312001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:33:24] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:33:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:33:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:33:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 09:33:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416813312001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 09:33:24] local.INFO: DEBUG: GPS processor result {"connection_id":118883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416858,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:33:24] local.INFO: GPS data processed {"connection_id":118883,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:33:24] local.INFO: Acknowledgment sent {"connection_id":118883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:33:56] local.INFO: TCP Data received {"connection_id":118883,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bd69eb0012d7d30c005ec0ce8000700fc25..."} 
[2026-07-01 09:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bd69eb0012d7d30c005ec0ce8000700fc25..."} 
[2026-07-01 09:33:56] local.INFO: Processing buffer {"connection_id":118883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bd69eb0012d7d30c005ec0ce8000700fc25..."} 
[2026-07-01 09:33:56] local.INFO: Packet analysis {"connection_id":118883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bd6"} 
[2026-07-01 09:33:56] local.INFO: Extracted packet for processing {"connection_id":118883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bd6"} 
[2026-07-01 09:33:56] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":7,"angle":252,"satellites":37,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09: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-01 09:33:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416813312001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:33:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:33:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 09:33: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-01 09:33:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782878478000,"timestamp_ms":1782878478000,"timestamp_seconds":1782878478,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bd69eb0"} 
[2026-07-01 09: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-01 09:33:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-01 09:33:56] 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-01 09: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-01 09: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-01 09:33:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:33:56] local.INFO: Teltonika packet parsed successfully {"connection_id":118883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:33:56] local.INFO: Passing IMEI to GPS processor {"connection_id":118883,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:33:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":118883,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:33:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:33:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:33:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:33:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416813312001,"66":2231,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:33:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:33:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:33:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416813312001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:33:56] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:33:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:33:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:33:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 09:33:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416813312001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 09:33:56] local.INFO: DEBUG: GPS processor result {"connection_id":118883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416859,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:33:56] local.INFO: GPS data processed {"connection_id":118883,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:33:56] local.INFO: Acknowledgment sent {"connection_id":118883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:34:23] local.INFO: TCP Data received {"connection_id":119002,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119002,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:34:23] local.INFO: Processing buffer {"connection_id":119002,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:34:23] local.INFO: IMEI packet received {"connection_id":119002,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 09:34:23] local.INFO: IMEI acknowledgment sent {"connection_id":119002,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:34:28] local.INFO: TCP Data received {"connection_id":119002,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119002,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:34:28] local.INFO: Processing buffer {"connection_id":119002,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:34:28] local.INFO: IMEI packet received {"connection_id":119002,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:34:28] local.INFO: IMEI acknowledgment sent {"connection_id":119002,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:34:30] local.INFO: TCP Data received {"connection_id":119002,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bd69eb0012d7d30c005ec0ce8000700fc25..."} 
[2026-07-01 09:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bd69eb0012d7d30c005ec0ce8000700fc25..."} 
[2026-07-01 09:34:30] local.INFO: Processing buffer {"connection_id":119002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bd69eb0012d7d30c005ec0ce8000700fc25..."} 
[2026-07-01 09:34:30] local.INFO: Packet analysis {"connection_id":119002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bd6"} 
[2026-07-01 09:34:30] local.INFO: Extracted packet for processing {"connection_id":119002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bd6"} 
[2026-07-01 09:34:30] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":7,"angle":252,"satellites":37,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416813312001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 09:34:30] 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-01 09:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782878478000,"timestamp_ms":1782878478000,"timestamp_seconds":1782878478,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bd69eb0"} 
[2026-07-01 09:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:34:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-01 09:34:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:34:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":119002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":119002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":119002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:34:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416813312001,"66":2231,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416813312001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:34:30] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:34:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 09:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416813312001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 09:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":119002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416860,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:34:30] local.INFO: GPS data processed {"connection_id":119002,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:34:30] local.INFO: Acknowledgment sent {"connection_id":119002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:34:34] local.INFO: TCP Data received {"connection_id":119002,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bd69eb0012d7d30c005ec0ce8000700fc25..."} 
[2026-07-01 09:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bd69eb0012d7d30c005ec0ce8000700fc25..."} 
[2026-07-01 09:34:34] local.INFO: Processing buffer {"connection_id":119002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bd69eb0012d7d30c005ec0ce8000700fc25..."} 
[2026-07-01 09:34:34] local.INFO: Packet analysis {"connection_id":119002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bd6"} 
[2026-07-01 09:34:34] local.INFO: Extracted packet for processing {"connection_id":119002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bd6"} 
[2026-07-01 09:34:34] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":7,"angle":252,"satellites":37,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09: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-01 09:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416813312001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 09:34:34] 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-01 09:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782878478000,"timestamp_ms":1782878478000,"timestamp_seconds":1782878478,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bd69eb0"} 
[2026-07-01 09: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-01 09:34:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-01 09:34:34] 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-01 09:34:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09: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-01 09:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":119002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":119002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":119002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416813312001,"66":2231,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416813312001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:34:34] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:34:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 09:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416813312001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 09:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":119002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416861,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:34:34] local.INFO: GPS data processed {"connection_id":119002,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:34:34] local.INFO: Acknowledgment sent {"connection_id":119002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:35:18] local.INFO: TCP Data received {"connection_id":119658,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119658,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:35:18] local.INFO: Processing buffer {"connection_id":119658,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:35:18] local.INFO: IMEI packet received {"connection_id":119658,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 09:35:18] local.INFO: IMEI acknowledgment sent {"connection_id":119658,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:35:23] local.INFO: TCP Data received {"connection_id":119658,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119658,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:35:23] local.INFO: Processing buffer {"connection_id":119658,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:35:23] local.INFO: IMEI packet received {"connection_id":119658,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:35:23] local.INFO: IMEI acknowledgment sent {"connection_id":119658,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:35:25] local.INFO: TCP Data received {"connection_id":119658,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bd69eb0012d7d30c005ec0ce8000700fc25..."} 
[2026-07-01 09:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bd69eb0012d7d30c005ec0ce8000700fc25..."} 
[2026-07-01 09:35:25] local.INFO: Processing buffer {"connection_id":119658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bd69eb0012d7d30c005ec0ce8000700fc25..."} 
[2026-07-01 09:35:25] local.INFO: Packet analysis {"connection_id":119658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bd6"} 
[2026-07-01 09:35:25] local.INFO: Extracted packet for processing {"connection_id":119658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bd6"} 
[2026-07-01 09:35:25] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":7,"angle":252,"satellites":37,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:35:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416813312001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:35:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:35:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 09:35:25] 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-01 09:35:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782878478000,"timestamp_ms":1782878478000,"timestamp_seconds":1782878478,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bd69eb0"} 
[2026-07-01 09:35:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:35:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-01 09:35:25] 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-01 09:35:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:35:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:35:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:35:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:35:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119658,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:35:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119658,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:35:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:35:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:35:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:35:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416813312001,"66":2231,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:35:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:35:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:35:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416813312001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:35:25] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:35:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:35:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:35:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 09:35:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416813312001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 09:35:25] local.INFO: DEBUG: GPS processor result {"connection_id":119658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416862,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:35:25] local.INFO: GPS data processed {"connection_id":119658,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:35:25] local.INFO: Acknowledgment sent {"connection_id":119658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:35:56] local.INFO: TCP Data received {"connection_id":119658,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bd69eb0012d7d30c005ec0ce8000700fc25..."} 
[2026-07-01 09:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bd69eb0012d7d30c005ec0ce8000700fc25..."} 
[2026-07-01 09:35:56] local.INFO: Processing buffer {"connection_id":119658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bd69eb0012d7d30c005ec0ce8000700fc25..."} 
[2026-07-01 09:35:56] local.INFO: Packet analysis {"connection_id":119658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bd6"} 
[2026-07-01 09:35:56] local.INFO: Extracted packet for processing {"connection_id":119658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bd6"} 
[2026-07-01 09:35:56] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":7,"angle":252,"satellites":37,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416813312001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:35:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 09:35: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-01 09:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782878478000,"timestamp_ms":1782878478000,"timestamp_seconds":1782878478,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bd69eb0"} 
[2026-07-01 09:35:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:35:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-07-01 09:35:56] 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-01 09:35:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:35:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":119658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":119658,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":119658,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:35:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416813312001,"66":2231,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416813312001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:35:56] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:35:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:35:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 09:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416813312001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 09:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":119658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416863,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:35:56] local.INFO: GPS data processed {"connection_id":119658,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:35:56] local.INFO: Acknowledgment sent {"connection_id":119658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:36:18] local.INFO: TCP Data received {"connection_id":120757,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120757,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:36:18] local.INFO: Processing buffer {"connection_id":120757,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:36:18] local.INFO: IMEI packet received {"connection_id":120757,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 09:36:18] local.INFO: IMEI acknowledgment sent {"connection_id":120757,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:36:20] local.INFO: TCP Data received {"connection_id":120757,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120757,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:36:20] local.INFO: Processing buffer {"connection_id":120757,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:36:20] local.INFO: IMEI packet received {"connection_id":120757,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":120757,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:36:23] local.INFO: TCP Data received {"connection_id":120757,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120757,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:36:23] local.INFO: Processing buffer {"connection_id":120757,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:36:23] local.INFO: IMEI packet received {"connection_id":120757,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":120757,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:36:24] local.INFO: TCP Data received {"connection_id":120757,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bdb3678012d7d30c005ec0ce8000500fc22..."} 
[2026-07-01 09:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bdb3678012d7d30c005ec0ce8000500fc22..."} 
[2026-07-01 09:36:24] local.INFO: Processing buffer {"connection_id":120757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bdb3678012d7d30c005ec0ce8000500fc22..."} 
[2026-07-01 09:36:24] local.INFO: Packet analysis {"connection_id":120757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bdb"} 
[2026-07-01 09:36:24] local.INFO: Extracted packet for processing {"connection_id":120757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bdb"} 
[2026-07-01 09:36:24] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":5,"angle":252,"satellites":34,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416890368001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:36:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 09:36:24] 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-01 09:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782878779000,"timestamp_ms":1782878779000,"timestamp_seconds":1782878779,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bdb3678"} 
[2026-07-01 09:36:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:36:24] 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-01 09:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-01 09:36:24] 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-01 09:36:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:36:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":120757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":120757,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":120757,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:36:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416890368001,"66":2220,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:36:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:36:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416890368001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:36:24] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:36:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:36:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:36:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 09:36:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416890368001,"power":2220,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 09:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":120757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416864,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:36:25] local.INFO: GPS data processed {"connection_id":120757,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:36:25] local.INFO: Acknowledgment sent {"connection_id":120757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:36:31] local.INFO: TCP Data received {"connection_id":120756,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120756,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:36:31] local.INFO: Processing buffer {"connection_id":120756,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:36:31] local.INFO: IMEI packet received {"connection_id":120756,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 09:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":120756,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:36:56] local.INFO: TCP Data received {"connection_id":120757,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bdb3678012d7d30c005ec0ce8000500fc22..."} 
[2026-07-01 09:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bdb3678012d7d30c005ec0ce8000500fc22..."} 
[2026-07-01 09:36:56] local.INFO: Processing buffer {"connection_id":120757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bdb3678012d7d30c005ec0ce8000500fc22..."} 
[2026-07-01 09:36:56] local.INFO: Packet analysis {"connection_id":120757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bdb"} 
[2026-07-01 09:36:56] local.INFO: Extracted packet for processing {"connection_id":120757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bdb"} 
[2026-07-01 09:36:56] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":5,"angle":252,"satellites":34,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09:36:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416890368001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:36:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 09:36: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-01 09:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782878779000,"timestamp_ms":1782878779000,"timestamp_seconds":1782878779,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bdb3678"} 
[2026-07-01 09:36:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:36:56] 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-01 09:36:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-01 09:36:56] 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-01 09:36:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:36:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":120757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":120757,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":120757,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:36:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416890368001,"66":2220,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416890368001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:36:56] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:36:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:36:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 09:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416890368001,"power":2220,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 09:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":120757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416865,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:36:56] local.INFO: GPS data processed {"connection_id":120757,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:36:56] local.INFO: Acknowledgment sent {"connection_id":120757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:37:18] local.INFO: TCP Data received {"connection_id":119661,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119661,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:37:18] local.INFO: Processing buffer {"connection_id":119661,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:37:18] local.INFO: IMEI packet received {"connection_id":119661,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 09:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":119661,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:37:18] local.INFO: TCP Data received {"connection_id":118884,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118884,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:37:18] local.INFO: Processing buffer {"connection_id":118884,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:37:18] local.INFO: IMEI packet received {"connection_id":118884,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 09:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":118884,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:37:23] local.INFO: TCP Data received {"connection_id":118884,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118884,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:37:23] local.INFO: Processing buffer {"connection_id":118884,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:37:23] local.INFO: IMEI packet received {"connection_id":118884,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:37:23] local.INFO: IMEI acknowledgment sent {"connection_id":118884,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:37:24] local.INFO: TCP Data received {"connection_id":118884,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bdb3678012d7d30c005ec0ce8000500fc22..."} 
[2026-07-01 09:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bdb3678012d7d30c005ec0ce8000500fc22..."} 
[2026-07-01 09:37:24] local.INFO: Processing buffer {"connection_id":118884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bdb3678012d7d30c005ec0ce8000500fc22..."} 
[2026-07-01 09:37:24] local.INFO: Packet analysis {"connection_id":118884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bdb"} 
[2026-07-01 09:37:24] local.INFO: Extracted packet for processing {"connection_id":118884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bdb"} 
[2026-07-01 09:37:24] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":5,"angle":252,"satellites":34,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:37:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416890368001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:37:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:37:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 09:37:24] 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-01 09:37:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782878779000,"timestamp_ms":1782878779000,"timestamp_seconds":1782878779,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bdb3678"} 
[2026-07-01 09:37:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:37:24] 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-01 09:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-01 09:37:24] 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-01 09:37:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:37:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:37:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:37:24] local.INFO: Teltonika packet parsed successfully {"connection_id":118884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:37:24] local.INFO: Passing IMEI to GPS processor {"connection_id":118884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:37:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":118884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:37:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:37:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:37:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:37:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416890368001,"66":2220,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:37:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:37:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:37:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416890368001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:37:24] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:37:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:37:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:37:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 09:37:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416890368001,"power":2220,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 09:37:24] local.INFO: DEBUG: GPS processor result {"connection_id":118884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416866,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:37:24] local.INFO: GPS data processed {"connection_id":118884,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:37:24] local.INFO: Acknowledgment sent {"connection_id":118884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:37:26] local.INFO: TCP Data received {"connection_id":120759,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:37:26] local.INFO: Processing buffer {"connection_id":120759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:37:26] local.INFO: IMEI packet received {"connection_id":120759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 09:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":120759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:37:27] local.INFO: TCP Data received {"connection_id":120759,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bdb0b80012d0c488006ec5a48001601592a..."} 
[2026-07-01 09:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bdb0b80012d0c488006ec5a48001601592a..."} 
[2026-07-01 09:37:27] local.INFO: Processing buffer {"connection_id":120759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bdb0b80012d0c488006ec5a48001601592a..."} 
[2026-07-01 09:37:27] local.INFO: Packet analysis {"connection_id":120759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bdb"} 
[2026-07-01 09:37:27] local.INFO: Extracted packet for processing {"connection_id":120759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bdb"} 
[2026-07-01 09:37:27] local.INFO: GPS Element Parsed {"raw_longitude":755779712,"raw_latitude":116152904,"longitude_deg":75.5779712,"latitude_deg":11.6152904,"altitude":22,"angle":345,"satellites":42,"speed":26,"hex_longitude":"2d0c4880","hex_latitude":"06ec5a48","is_valid_coordinates":true} 
[2026-07-01 09:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416961280001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333123818165895168,"note":"Value kept but may cause issues"} 
[2026-07-01 09:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888475793720350720,"note":"Value kept but may cause issues"} 
[2026-07-01 09:37:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782878768000,"timestamp_ms":1782878768000,"timestamp_seconds":1782878768,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bdb0b80"} 
[2026-07-01 09:37:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:37:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 09:37:27] 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-01 09:37:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:37:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:37:27] 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-01 09:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416961280001,"66":27843,"50":206,"80":6400,"24":26,"16":333123818165895168,"45":888475793720350720},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,80,24,16,45]} 
[2026-07-01 09:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416961280001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:37:27] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-01 09:37:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333123818165895168,"km_value":333123818165895.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":888475793720350720,"description":"Unknown IO ID 45"} 
[2026-07-01 09:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416961280001,"power":27843,"unknown_50":206,"unknown_80":6400,"ignition":26,"odometer":null,"unknown_45":888475793720350720}} 
[2026-07-01 09:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":120759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:37:27] local.INFO: GPS data processed {"connection_id":120759,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:37:27] local.INFO: Acknowledgment sent {"connection_id":120759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:37:56] local.INFO: TCP Data received {"connection_id":118884,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bdb3678012d7d30c005ec0ce8000500fc22..."} 
[2026-07-01 09:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bdb3678012d7d30c005ec0ce8000500fc22..."} 
[2026-07-01 09:37:56] local.INFO: Processing buffer {"connection_id":118884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bdb3678012d7d30c005ec0ce8000500fc22..."} 
[2026-07-01 09:37:56] local.INFO: Packet analysis {"connection_id":118884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bdb"} 
[2026-07-01 09:37:56] local.INFO: Extracted packet for processing {"connection_id":118884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bdb"} 
[2026-07-01 09:37:56] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":5,"angle":252,"satellites":34,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09:37:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416890368001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:37:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 09:37: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-01 09:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782878779000,"timestamp_ms":1782878779000,"timestamp_seconds":1782878779,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bdb3678"} 
[2026-07-01 09:37:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:37:56] 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-01 09:37:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-01 09:37:56] 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-01 09:37:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:37:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":118884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":118884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":118884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:37:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416890368001,"66":2220,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416890368001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:37:56] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:37:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:37:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 09:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416890368001,"power":2220,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 09:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":118884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416868,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:37:56] local.INFO: GPS data processed {"connection_id":118884,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:37:56] local.INFO: Acknowledgment sent {"connection_id":118884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:37:58] local.INFO: TCP Data received {"connection_id":120759,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bdb22f0012d0c450006ec6b28001401672a..."} 
[2026-07-01 09:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bdb22f0012d0c450006ec6b28001401672a..."} 
[2026-07-01 09:37:58] local.INFO: Processing buffer {"connection_id":120759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bdb22f0012d0c450006ec6b28001401672a..."} 
[2026-07-01 09:37:58] local.INFO: Packet analysis {"connection_id":120759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bdb"} 
[2026-07-01 09:37:58] local.INFO: Extracted packet for processing {"connection_id":120759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bdb"} 
[2026-07-01 09:37:58] local.INFO: GPS Element Parsed {"raw_longitude":755778816,"raw_latitude":116157224,"longitude_deg":75.5778816,"latitude_deg":11.6157224,"altitude":20,"angle":359,"satellites":42,"speed":27,"hex_longitude":"2d0c4500","hex_latitude":"06ec6b28","is_valid_coordinates":true} 
[2026-07-01 09: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-01 09:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416964608001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:37:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333124032914259968,"note":"Value kept but may cause issues"} 
[2026-07-01 09:37:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885098094001801216,"note":"Value kept but may cause issues"} 
[2026-07-01 09:37:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782878774000,"timestamp_ms":1782878774000,"timestamp_seconds":1782878774,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bdb22f0"} 
[2026-07-01 09: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-01 09:37:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 09:37:58] 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-01 09: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-01 09: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-01 09:37:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:37:58] 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-01 09:37:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:37:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:37:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416964608001,"66":27767,"50":206,"80":6400,"24":27,"16":333124032914259968,"45":885098094001801216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,80,24,16,45]} 
[2026-07-01 09:37:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:37:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:37:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416964608001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:37:58] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-07-01 09:37:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:37:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333124032914259968,"km_value":333124032914259.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:37:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":885098094001801216,"description":"Unknown IO ID 45"} 
[2026-07-01 09:37:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416964608001,"power":27767,"unknown_50":206,"unknown_80":6400,"ignition":27,"odometer":null,"unknown_45":885098094001801216}} 
[2026-07-01 09:37:58] local.INFO: DEBUG: GPS processor result {"connection_id":120759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:37:58] local.INFO: GPS data processed {"connection_id":120759,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:37:58] local.INFO: Acknowledgment sent {"connection_id":120759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:38:21] local.INFO: TCP Data received {"connection_id":120761,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:38:21] local.INFO: Processing buffer {"connection_id":120761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:38:21] local.INFO: IMEI packet received {"connection_id":120761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 09:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":120761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:38:23] local.INFO: TCP Data received {"connection_id":120760,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120760,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:38:23] local.INFO: Processing buffer {"connection_id":120760,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:38:23] local.INFO: IMEI packet received {"connection_id":120760,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 09:38:23] local.INFO: IMEI acknowledgment sent {"connection_id":120760,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:38:24] local.INFO: TCP Data received {"connection_id":120761,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:38:24] local.INFO: Processing buffer {"connection_id":120761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:38:24] local.INFO: IMEI packet received {"connection_id":120761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":120761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:38:26] local.INFO: TCP Data received {"connection_id":120761,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:38:26] local.INFO: Processing buffer {"connection_id":120761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:38:26] local.INFO: IMEI packet received {"connection_id":120761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":120761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:38:27] local.INFO: TCP Data received {"connection_id":120761,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bdb74f8012d0c46c006ec8360000f00052d..."} 
[2026-07-01 09:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bdb74f8012d0c46c006ec8360000f00052d..."} 
[2026-07-01 09:38:27] local.INFO: Processing buffer {"connection_id":120761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bdb74f8012d0c46c006ec8360000f00052d..."} 
[2026-07-01 09:38:27] local.INFO: Packet analysis {"connection_id":120761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bdb"} 
[2026-07-01 09:38:27] local.INFO: Extracted packet for processing {"connection_id":120761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bdb"} 
[2026-07-01 09:38:27] local.INFO: GPS Element Parsed {"raw_longitude":755779264,"raw_latitude":116163424,"longitude_deg":75.5779264,"latitude_deg":11.6163424,"altitude":15,"angle":5,"satellites":45,"speed":9,"hex_longitude":"2d0c46c0","hex_latitude":"06ec8360","is_valid_coordinates":true} 
[2026-07-01 09: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-01 09:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416966144001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333124337856937984,"note":"Value kept but may cause issues"} 
[2026-07-01 09:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884112931584419840,"note":"Value kept but may cause issues"} 
[2026-07-01 09:38:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782878795000,"timestamp_ms":1782878795000,"timestamp_seconds":1782878795,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bdb74f8"} 
[2026-07-01 09: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-01 09:38:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09:38:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 09:38:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09: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-01 09: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-01 09:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:38:27] 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-01 09:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416966144001,"66":27789,"49":206,"80":6400,"24":9,"16":333124337856937984,"45":884112931584419840},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,80,24,16,45]} 
[2026-07-01 09:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416966144001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:38:27] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-01 09:38:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333124337856937984,"km_value":333124337856938.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":884112931584419840,"description":"Unknown IO ID 45"} 
[2026-07-01 09:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416966144001,"power":27789,"unknown_49":206,"unknown_80":6400,"ignition":9,"odometer":null,"unknown_45":884112931584419840}} 
[2026-07-01 09:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":120761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:38:27] local.INFO: GPS data processed {"connection_id":120761,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:38:27] local.INFO: Acknowledgment sent {"connection_id":120761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:38:28] local.INFO: TCP Data received {"connection_id":120760,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120760,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:38:28] local.INFO: Processing buffer {"connection_id":120760,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:38:28] local.INFO: IMEI packet received {"connection_id":120760,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:38:28] local.INFO: IMEI acknowledgment sent {"connection_id":120760,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:38:29] local.INFO: TCP Data received {"connection_id":120760,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bdb3678012d7d30c005ec0ce8000500fc22..."} 
[2026-07-01 09:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bdb3678012d7d30c005ec0ce8000500fc22..."} 
[2026-07-01 09:38:29] local.INFO: Processing buffer {"connection_id":120760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bdb3678012d7d30c005ec0ce8000500fc22..."} 
[2026-07-01 09:38:29] local.INFO: Packet analysis {"connection_id":120760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bdb"} 
[2026-07-01 09:38:29] local.INFO: Extracted packet for processing {"connection_id":120760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bdb"} 
[2026-07-01 09:38:29] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":5,"angle":252,"satellites":34,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09: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-01 09:38:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416890368001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:38:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:38:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 09:38:29] 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-01 09:38:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782878779000,"timestamp_ms":1782878779000,"timestamp_seconds":1782878779,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bdb3678"} 
[2026-07-01 09: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-01 09:38:29] 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-01 09: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":183,"data_length":795,"current_offset":136} 
[2026-07-01 09:38:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09: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-01 09: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-01 09:38:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:38:29] local.INFO: Teltonika packet parsed successfully {"connection_id":120760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:38:29] local.INFO: Passing IMEI to GPS processor {"connection_id":120760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:38:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":120760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:38:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:38:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:38:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:38:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416890368001,"66":2220,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:38:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:38:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:38:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416890368001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:38:29] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:38:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:38:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:38:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 09:38:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416890368001,"power":2220,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 09:38:29] local.INFO: DEBUG: GPS processor result {"connection_id":120760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416871,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:38:29] local.INFO: GPS data processed {"connection_id":120760,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:38:29] local.INFO: Acknowledgment sent {"connection_id":120760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:38:34] local.INFO: TCP Data received {"connection_id":120760,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bdb3678012d7d30c005ec0ce8000500fc22..."} 
[2026-07-01 09:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bdb3678012d7d30c005ec0ce8000500fc22..."} 
[2026-07-01 09:38:34] local.INFO: Processing buffer {"connection_id":120760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bdb3678012d7d30c005ec0ce8000500fc22..."} 
[2026-07-01 09:38:34] local.INFO: Packet analysis {"connection_id":120760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bdb"} 
[2026-07-01 09:38:34] local.INFO: Extracted packet for processing {"connection_id":120760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bdb"} 
[2026-07-01 09:38:34] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":5,"angle":252,"satellites":34,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416890368001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 09:38:34] 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-01 09:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782878779000,"timestamp_ms":1782878779000,"timestamp_seconds":1782878779,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bdb3678"} 
[2026-07-01 09:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:38:34] 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-01 09:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-01 09:38:34] 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-01 09:38:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":120760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":120760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":120760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416890368001,"66":2220,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416890368001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:38:34] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:38:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 09:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416890368001,"power":2220,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 09:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":120760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416872,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:38:34] local.INFO: GPS data processed {"connection_id":120760,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:38:34] local.INFO: Acknowledgment sent {"connection_id":120760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:38:58] local.INFO: TCP Data received {"connection_id":120761,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bdb8c68012d0c470006ec8aa8000d01612d..."} 
[2026-07-01 09:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bdb8c68012d0c470006ec8aa8000d01612d..."} 
[2026-07-01 09:38:58] local.INFO: Processing buffer {"connection_id":120761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bdb8c68012d0c470006ec8aa8000d01612d..."} 
[2026-07-01 09:38:58] local.INFO: Packet analysis {"connection_id":120761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bdb"} 
[2026-07-01 09:38:58] local.INFO: Extracted packet for processing {"connection_id":120761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bdb"} 
[2026-07-01 09:38:58] local.INFO: GPS Element Parsed {"raw_longitude":755779328,"raw_latitude":116165288,"longitude_deg":75.5779328,"latitude_deg":11.6165288,"altitude":13,"angle":353,"satellites":45,"speed":15,"hex_longitude":"2d0c4700","hex_latitude":"06ec8aa8","is_valid_coordinates":true} 
[2026-07-01 09: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-01 09:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416971520001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:38:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333124428051251200,"note":"Value kept but may cause issues"} 
[2026-07-01 09:38:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884605512795250688,"note":"Value kept but may cause issues"} 
[2026-07-01 09:38:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:38:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782878801000,"timestamp_ms":1782878801000,"timestamp_seconds":1782878801,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bdb8c68"} 
[2026-07-01 09: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-01 09:38:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-01 09:38:58] 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-01 09: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-01 09: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-01 09:38:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:38:58] 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-01 09:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416971520001,"66":27865,"49":206,"80":6400,"24":15,"16":333124428051251200,"45":884605512795250688},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,80,24,16,45]} 
[2026-07-01 09:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416971520001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:38:58] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-01 09:38:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333124428051251200,"km_value":333124428051251.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:38:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":884605512795250688,"description":"Unknown IO ID 45"} 
[2026-07-01 09:38:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416971520001,"power":27865,"unknown_49":206,"unknown_80":6400,"ignition":15,"odometer":null,"unknown_45":884605512795250688}} 
[2026-07-01 09:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":120761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:38:58] local.INFO: GPS data processed {"connection_id":120761,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:38:58] local.INFO: Acknowledgment sent {"connection_id":120761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:39:19] local.INFO: TCP Data received {"connection_id":119664,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119664,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:39:19] local.INFO: Processing buffer {"connection_id":119664,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:39:19] local.INFO: IMEI packet received {"connection_id":119664,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 09:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":119664,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:39:24] local.INFO: TCP Data received {"connection_id":119664,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119664,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:39:24] local.INFO: Processing buffer {"connection_id":119664,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:39:24] local.INFO: IMEI packet received {"connection_id":119664,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":119664,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:39:25] local.INFO: TCP Data received {"connection_id":119664,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bdb3678012d7d30c005ec0ce8000500fc22..."} 
[2026-07-01 09:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bdb3678012d7d30c005ec0ce8000500fc22..."} 
[2026-07-01 09:39:25] local.INFO: Processing buffer {"connection_id":119664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bdb3678012d7d30c005ec0ce8000500fc22..."} 
[2026-07-01 09:39:25] local.INFO: Packet analysis {"connection_id":119664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bdb"} 
[2026-07-01 09:39:25] local.INFO: Extracted packet for processing {"connection_id":119664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bdb"} 
[2026-07-01 09:39:25] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":5,"angle":252,"satellites":34,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:39:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416890368001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:39:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:39:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 09:39:25] 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-01 09:39:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782878779000,"timestamp_ms":1782878779000,"timestamp_seconds":1782878779,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bdb3678"} 
[2026-07-01 09:39:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:39:25] 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-01 09:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-01 09:39: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-01 09:39:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:39:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:39:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:39:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:39:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:39:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:39:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:39:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:39:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:39:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416890368001,"66":2220,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:39:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:39:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:39:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416890368001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:39:25] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:39:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:39:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:39:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 09:39:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416890368001,"power":2220,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 09:39:25] local.INFO: DEBUG: GPS processor result {"connection_id":119664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416874,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:39:25] local.INFO: GPS data processed {"connection_id":119664,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:39:25] local.INFO: Acknowledgment sent {"connection_id":119664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:39:26] local.INFO: TCP Data received {"connection_id":120763,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:39:26] local.INFO: Processing buffer {"connection_id":120763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:39:26] local.INFO: IMEI packet received {"connection_id":120763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 09:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":120763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:39:29] local.INFO: TCP Data received {"connection_id":120763,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:39:29] local.INFO: Processing buffer {"connection_id":120763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:39:29] local.INFO: IMEI packet received {"connection_id":120763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":120763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:39:29] local.INFO: TCP Data received {"connection_id":119664,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bdb3678012d7d30c005ec0ce8000500fc22..."} 
[2026-07-01 09:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bdb3678012d7d30c005ec0ce8000500fc22..."} 
[2026-07-01 09:39:29] local.INFO: Processing buffer {"connection_id":119664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bdb3678012d7d30c005ec0ce8000500fc22..."} 
[2026-07-01 09:39:29] local.INFO: Packet analysis {"connection_id":119664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bdb"} 
[2026-07-01 09:39:29] local.INFO: Extracted packet for processing {"connection_id":119664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bdb"} 
[2026-07-01 09:39:29] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":5,"angle":252,"satellites":34,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09: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-01 09:39:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416890368001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:39:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:39:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 09:39:29] 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-01 09:39:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782878779000,"timestamp_ms":1782878779000,"timestamp_seconds":1782878779,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bdb3678"} 
[2026-07-01 09: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-01 09:39:29] 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-01 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-01 09:39:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09: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-01 09: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-01 09:39:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:39:29] local.INFO: Teltonika packet parsed successfully {"connection_id":119664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:39:29] local.INFO: Passing IMEI to GPS processor {"connection_id":119664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:39:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":119664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:39:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:39:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:39:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:39:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416890368001,"66":2220,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:39:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:39:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:39:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416890368001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:39:29] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:39:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:39:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:39:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 09:39:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416890368001,"power":2220,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 09:39:29] local.INFO: DEBUG: GPS processor result {"connection_id":119664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416875,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:39:29] local.INFO: GPS data processed {"connection_id":119664,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:39:29] local.INFO: Acknowledgment sent {"connection_id":119664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:39:30] local.INFO: TCP Data received {"connection_id":120763,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bdd22a8012d0c574006edbb10000e01592b..."} 
[2026-07-01 09:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bdd22a8012d0c574006edbb10000e01592b..."} 
[2026-07-01 09:39:30] local.INFO: Processing buffer {"connection_id":120763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bdd22a8012d0c574006edbb10000e01592b..."} 
[2026-07-01 09:39:30] local.INFO: Packet analysis {"connection_id":120763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bdd"} 
[2026-07-01 09:39:30] local.INFO: Extracted packet for processing {"connection_id":120763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bdd"} 
[2026-07-01 09:39:30] local.INFO: GPS Element Parsed {"raw_longitude":755783488,"raw_latitude":116243216,"longitude_deg":75.5783488,"latitude_deg":11.6243216,"altitude":14,"angle":345,"satellites":43,"speed":40,"hex_longitude":"2d0c5740","hex_latitude":"06edbb10","is_valid_coordinates":true} 
[2026-07-01 09:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416996864001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333128246277177344,"note":"Value kept but may cause issues"} 
[2026-07-01 09:39:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":891009068533555200,"note":"Value kept but may cause issues"} 
[2026-07-01 09:39:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782878905000,"timestamp_ms":1782878905000,"timestamp_seconds":1782878905,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bdd22a8"} 
[2026-07-01 09:39:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:39:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 09:39:30] 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-01 09:39:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:39:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":120763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":120763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":120763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:39:30] 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-01 09:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416996864001,"66":27908,"156":206,"80":6400,"24":40,"16":333128246277177344,"45":891009068533555200},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-07-01 09:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416996864001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:39:30] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-01 09:39:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333128246277177344,"km_value":333128246277177.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:39:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":891009068533555200,"description":"Unknown IO ID 45"} 
[2026-07-01 09:39:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416996864001,"power":27908,"unknown_156":206,"unknown_80":6400,"ignition":40,"odometer":null,"unknown_45":891009068533555200}} 
[2026-07-01 09:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":120763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:39:30] local.INFO: GPS data processed {"connection_id":120763,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:39:30] local.INFO: Acknowledgment sent {"connection_id":120763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:39:31] local.INFO: TCP Data received {"connection_id":120763,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bdd49b8012d0c4bc006eddbf8000f014e29..."} 
[2026-07-01 09:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bdd49b8012d0c4bc006eddbf8000f014e29..."} 
[2026-07-01 09:39:31] local.INFO: Processing buffer {"connection_id":120763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bdd49b8012d0c4bc006eddbf8000f014e29..."} 
[2026-07-01 09:39:31] local.INFO: Packet analysis {"connection_id":120763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bdd"} 
[2026-07-01 09:39:31] local.INFO: Extracted packet for processing {"connection_id":120763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bdd"} 
[2026-07-01 09:39:31] local.INFO: GPS Element Parsed {"raw_longitude":755780544,"raw_latitude":116251640,"longitude_deg":75.5780544,"latitude_deg":11.625164,"altitude":15,"angle":334,"satellites":41,"speed":30,"hex_longitude":"2d0c4bc0","hex_latitude":"06eddbf8","is_valid_coordinates":true} 
[2026-07-01 09:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416999680001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333128675773906944,"note":"Value kept but may cause issues"} 
[2026-07-01 09:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":889249849931403264,"note":"Value kept but may cause issues"} 
[2026-07-01 09:39:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782878915000,"timestamp_ms":1782878915000,"timestamp_seconds":1782878915,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bdd49b8"} 
[2026-07-01 09:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:39:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 09:39:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:39:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":120763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":120763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":120763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:39:31] 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-01 09:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416999680001,"66":27876,"156":206,"80":6400,"24":30,"16":333128675773906944,"45":889249849931403264},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-07-01 09:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416999680001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:39:31] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-01 09:39:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333128675773906944,"km_value":333128675773906.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":889249849931403264,"description":"Unknown IO ID 45"} 
[2026-07-01 09:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416999680001,"power":27876,"unknown_156":206,"unknown_80":6400,"ignition":30,"odometer":null,"unknown_45":889249849931403264}} 
[2026-07-01 09:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":120763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:39:31] local.INFO: GPS data processed {"connection_id":120763,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:39:31] local.INFO: Acknowledgment sent {"connection_id":120763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:40:00] local.INFO: TCP Data received {"connection_id":119664,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bdb3678012d7d30c005ec0ce8000500fc22..."} 
[2026-07-01 09:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bdb3678012d7d30c005ec0ce8000500fc22..."} 
[2026-07-01 09:40:00] local.INFO: Processing buffer {"connection_id":119664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bdb3678012d7d30c005ec0ce8000500fc22..."} 
[2026-07-01 09:40:00] local.INFO: Packet analysis {"connection_id":119664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bdb"} 
[2026-07-01 09:40:00] local.INFO: Extracted packet for processing {"connection_id":119664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bdb"} 
[2026-07-01 09:40:00] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":5,"angle":252,"satellites":34,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416890368001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:40:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 09:40:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782878779000,"timestamp_ms":1782878779000,"timestamp_seconds":1782878779,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bdb3678"} 
[2026-07-01 09:40:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:40:00] 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-01 09:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-01 09:40:00] 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-01 09:40:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:40:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":119664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":119664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":119664,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:40:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416890368001,"66":2220,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416890368001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:40:00] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:40:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:40:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 09:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416890368001,"power":2220,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 09:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":119664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416878,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:40:00] local.INFO: GPS data processed {"connection_id":119664,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:40:00] local.INFO: Acknowledgment sent {"connection_id":119664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:40:03] local.INFO: TCP Data received {"connection_id":120763,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bdd8838012d0c3b4006edfa88000e014626..."} 
[2026-07-01 09:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bdd8838012d0c3b4006edfa88000e014626..."} 
[2026-07-01 09:40:03] local.INFO: Processing buffer {"connection_id":120763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bdd8838012d0c3b4006edfa88000e014626..."} 
[2026-07-01 09:40:03] local.INFO: Packet analysis {"connection_id":120763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bdd"} 
[2026-07-01 09:40:03] local.INFO: Extracted packet for processing {"connection_id":120763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bdd"} 
[2026-07-01 09:40:03] local.INFO: GPS Element Parsed {"raw_longitude":755776320,"raw_latitude":116259464,"longitude_deg":75.577632,"latitude_deg":11.6259464,"altitude":14,"angle":326,"satellites":38,"speed":26,"hex_longitude":"2d0c3b40","hex_latitude":"06edfa88","is_valid_coordinates":true} 
[2026-07-01 09: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-01 09:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417002240001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333129105270636544,"note":"Value kept but may cause issues"} 
[2026-07-01 09:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886012887701387264,"note":"Value kept but may cause issues"} 
[2026-07-01 09:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782878931000,"timestamp_ms":1782878931000,"timestamp_seconds":1782878931,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bdd8838"} 
[2026-07-01 09: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-01 09:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-01 09:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09: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-01 09: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-01 09:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":120763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":120763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":120763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:40:03] 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-01 09:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417002240001,"66":27865,"156":206,"80":6400,"24":26,"16":333129105270636544,"45":886012887701387264},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,80,24,16,45]} 
[2026-07-01 09:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417002240001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:40:03] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-01 09:40:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333129105270636544,"km_value":333129105270636.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":886012887701387264,"description":"Unknown IO ID 45"} 
[2026-07-01 09:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417002240001,"power":27865,"unknown_156":206,"unknown_80":6400,"ignition":26,"odometer":null,"unknown_45":886012887701387264}} 
[2026-07-01 09:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":120763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:40:03] local.INFO: GPS data processed {"connection_id":120763,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:40:03] local.INFO: Acknowledgment sent {"connection_id":120763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:40:18] local.INFO: TCP Data received {"connection_id":119667,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:40:18] local.INFO: Processing buffer {"connection_id":119667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:40:18] local.INFO: IMEI packet received {"connection_id":119667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 09:40:18] local.INFO: IMEI acknowledgment sent {"connection_id":119667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:40:18] local.INFO: TCP Data received {"connection_id":119665,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119665,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:40:18] local.INFO: Processing buffer {"connection_id":119665,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:40:18] local.INFO: IMEI packet received {"connection_id":119665,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 09:40:18] local.INFO: IMEI acknowledgment sent {"connection_id":119665,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:40:21] local.INFO: TCP Data received {"connection_id":119667,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:40:21] local.INFO: Processing buffer {"connection_id":119667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:40:21] local.INFO: IMEI packet received {"connection_id":119667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":119667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:40:22] local.INFO: TCP Data received {"connection_id":119667,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:40:22] local.INFO: Processing buffer {"connection_id":119667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:40:22] local.INFO: IMEI packet received {"connection_id":119667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:40:22] local.INFO: IMEI acknowledgment sent {"connection_id":119667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:40:24] local.INFO: TCP Data received {"connection_id":119665,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119665,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:40:24] local.INFO: Processing buffer {"connection_id":119665,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:40:24] local.INFO: IMEI packet received {"connection_id":119665,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":119665,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:40:26] local.INFO: TCP Data received {"connection_id":119665,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bdb3678012d7d30c005ec0ce8000500fc22..."} 
[2026-07-01 09:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bdb3678012d7d30c005ec0ce8000500fc22..."} 
[2026-07-01 09:40:26] local.INFO: Processing buffer {"connection_id":119665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bdb3678012d7d30c005ec0ce8000500fc22..."} 
[2026-07-01 09:40:26] local.INFO: Packet analysis {"connection_id":119665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bdb"} 
[2026-07-01 09:40:26] local.INFO: Extracted packet for processing {"connection_id":119665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bdb"} 
[2026-07-01 09:40:26] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":5,"angle":252,"satellites":34,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:40:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416890368001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:40:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:40:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 09:40:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:40:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782878779000,"timestamp_ms":1782878779000,"timestamp_seconds":1782878779,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bdb3678"} 
[2026-07-01 09:40:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:40:26] 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-01 09:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-01 09:40:26] 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-01 09:40:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:40:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:40:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:40:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:40:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:40:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:40:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:40:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:40:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:40:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416890368001,"66":2220,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:40:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:40:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:40:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416890368001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:40:26] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:40:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:40:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:40:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 09:40:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416890368001,"power":2220,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 09:40:26] local.INFO: DEBUG: GPS processor result {"connection_id":119665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416880,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:40:26] local.INFO: GPS data processed {"connection_id":119665,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:40:26] local.INFO: Acknowledgment sent {"connection_id":119665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:40:26] local.INFO: TCP Data received {"connection_id":119667,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:40:26] local.INFO: Processing buffer {"connection_id":119667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:40:26] local.INFO: IMEI packet received {"connection_id":119667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":119667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:40:27] local.INFO: TCP Data received {"connection_id":119667,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bddbee8012d0c284006ee1948000f014826..."} 
[2026-07-01 09:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bddbee8012d0c284006ee1948000f014826..."} 
[2026-07-01 09:40:27] local.INFO: Processing buffer {"connection_id":119667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bddbee8012d0c284006ee1948000f014826..."} 
[2026-07-01 09:40:27] local.INFO: Packet analysis {"connection_id":119667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bdd"} 
[2026-07-01 09:40:27] local.INFO: Extracted packet for processing {"connection_id":119667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bdd"} 
[2026-07-01 09:40:27] local.INFO: GPS Element Parsed {"raw_longitude":755771456,"raw_latitude":116267336,"longitude_deg":75.5771456,"latitude_deg":11.6267336,"altitude":15,"angle":328,"satellites":38,"speed":25,"hex_longitude":"2d0c2840","hex_latitude":"06ee1948","is_valid_coordinates":true} 
[2026-07-01 09:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:40:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417006336001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:40:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333129551947235328,"note":"Value kept but may cause issues"} 
[2026-07-01 09:40:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881368550587664384,"note":"Value kept but may cause issues"} 
[2026-07-01 09:40:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:40:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782878945000,"timestamp_ms":1782878945000,"timestamp_seconds":1782878945,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bddbee8"} 
[2026-07-01 09:40:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:40:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 09:40:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:40:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:40:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:40:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:40:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:40:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:40:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:40:27] 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-01 09:40:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:40:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:40:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417006336001,"66":27876,"88":206,"80":6400,"24":25,"16":333129551947235328,"45":881368550587664384},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,80,24,16,45]} 
[2026-07-01 09:40:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:40:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:40:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417006336001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:40:27] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-07-01 09:40:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:40:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333129551947235328,"km_value":333129551947235.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:40:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":881368550587664384,"description":"Unknown IO ID 45"} 
[2026-07-01 09:40:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417006336001,"power":27876,"unknown_88":206,"unknown_80":6400,"ignition":25,"odometer":null,"unknown_45":881368550587664384}} 
[2026-07-01 09:40:27] local.INFO: DEBUG: GPS processor result {"connection_id":119667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:40:27] local.INFO: GPS data processed {"connection_id":119667,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:40:27] local.INFO: Acknowledgment sent {"connection_id":119667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:40:30] local.INFO: TCP Data received {"connection_id":119667,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bddedc8012d0c154006ee38d00011014829..."} 
[2026-07-01 09:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bddedc8012d0c154006ee38d00011014829..."} 
[2026-07-01 09:40:30] local.INFO: Processing buffer {"connection_id":119667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bddedc8012d0c154006ee38d00011014829..."} 
[2026-07-01 09:40:30] local.INFO: Packet analysis {"connection_id":119667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bdd"} 
[2026-07-01 09:40:30] local.INFO: Extracted packet for processing {"connection_id":119667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bdd"} 
[2026-07-01 09:40:30] local.INFO: GPS Element Parsed {"raw_longitude":755766592,"raw_latitude":116275408,"longitude_deg":75.5766592,"latitude_deg":11.6275408,"altitude":17,"angle":328,"satellites":41,"speed":34,"hex_longitude":"2d0c1540","hex_latitude":"06ee38d0","is_valid_coordinates":true} 
[2026-07-01 09: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-01 09:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417009920001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333130007213768704,"note":"Value kept but may cause issues"} 
[2026-07-01 09:40:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876020526032177152,"note":"Value kept but may cause issues"} 
[2026-07-01 09:40:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782878957000,"timestamp_ms":1782878957000,"timestamp_seconds":1782878957,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bddedc8"} 
[2026-07-01 09: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-01 09:40:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-01 09:40:30] 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-01 09: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-01 09: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-01 09:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":119667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":119667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":119667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:40:30] 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-01 09:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417009920001,"66":27919,"88":206,"80":6400,"24":34,"16":333130007213768704,"45":876020526032177152},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,80,24,16,45]} 
[2026-07-01 09:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417009920001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:40:30] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-07-01 09:40:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333130007213768704,"km_value":333130007213768.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:40:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":876020526032177152,"description":"Unknown IO ID 45"} 
[2026-07-01 09:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417009920001,"power":27919,"unknown_88":206,"unknown_80":6400,"ignition":34,"odometer":null,"unknown_45":876020526032177152}} 
[2026-07-01 09:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":119667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:40:30] local.INFO: GPS data processed {"connection_id":119667,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:40:30] local.INFO: Acknowledgment sent {"connection_id":119667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:40:58] local.INFO: TCP Data received {"connection_id":119665,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bdb3678012d7d30c005ec0ce8000500fc22..."} 
[2026-07-01 09:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bdb3678012d7d30c005ec0ce8000500fc22..."} 
[2026-07-01 09:40:58] local.INFO: Processing buffer {"connection_id":119665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bdb3678012d7d30c005ec0ce8000500fc22..."} 
[2026-07-01 09:40:58] local.INFO: Packet analysis {"connection_id":119665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bdb"} 
[2026-07-01 09:40:58] local.INFO: Extracted packet for processing {"connection_id":119665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bdb"} 
[2026-07-01 09:40:58] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":5,"angle":252,"satellites":34,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:40:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416890368001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:40:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:40:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 09:40:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:40:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782878779000,"timestamp_ms":1782878779000,"timestamp_seconds":1782878779,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bdb3678"} 
[2026-07-01 09:40:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:40:58] 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-01 09:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-01 09:40:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:40:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:40:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:40:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:40:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:40:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:40:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119665,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:40:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:40:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:40:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:40:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416890368001,"66":2220,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:40:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:40:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:40:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416890368001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:40:58] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:40:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:40:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:40:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 09:40:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416890368001,"power":2220,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 09:40:58] local.INFO: DEBUG: GPS processor result {"connection_id":119665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416883,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:40:58] local.INFO: GPS data processed {"connection_id":119665,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:40:58] local.INFO: Acknowledgment sent {"connection_id":119665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:41:02] local.INFO: TCP Data received {"connection_id":119667,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bde14d8012d0c02c006ee56d8001201482c..."} 
[2026-07-01 09:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bde14d8012d0c02c006ee56d8001201482c..."} 
[2026-07-01 09:41:02] local.INFO: Processing buffer {"connection_id":119667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bde14d8012d0c02c006ee56d8001201482c..."} 
[2026-07-01 09:41:02] local.INFO: Packet analysis {"connection_id":119667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bde"} 
[2026-07-01 09:41:02] local.INFO: Extracted packet for processing {"connection_id":119667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bde"} 
[2026-07-01 09:41:02] local.INFO: GPS Element Parsed {"raw_longitude":755761856,"raw_latitude":116283096,"longitude_deg":75.5761856,"latitude_deg":11.6283096,"altitude":18,"angle":328,"satellites":44,"speed":39,"hex_longitude":"2d0c02c0","hex_latitude":"06ee56d8","is_valid_coordinates":true} 
[2026-07-01 09:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417012992001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333130441005465600,"note":"Value kept but may cause issues"} 
[2026-07-01 09:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":870672501476741120,"note":"Value kept but may cause issues"} 
[2026-07-01 09:41:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782878967000,"timestamp_ms":1782878967000,"timestamp_seconds":1782878967,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bde14d8"} 
[2026-07-01 09:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:41:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 09:41:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:41:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":119667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":119667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":119667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:41:02] 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-01 09:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417012992001,"66":27865,"88":206,"80":6400,"24":39,"16":333130441005465600,"45":870672501476741120},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,80,24,16,45]} 
[2026-07-01 09:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417012992001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:41:02] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-07-01 09:41:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333130441005465600,"km_value":333130441005465.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":870672501476741120,"description":"Unknown IO ID 45"} 
[2026-07-01 09:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417012992001,"power":27865,"unknown_88":206,"unknown_80":6400,"ignition":39,"odometer":null,"unknown_45":870672501476741120}} 
[2026-07-01 09:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":119667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:41:02] local.INFO: GPS data processed {"connection_id":119667,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:41:02] local.INFO: Acknowledgment sent {"connection_id":119667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:41:18] local.INFO: TCP Data received {"connection_id":118885,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118885,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:41:18] local.INFO: Processing buffer {"connection_id":118885,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:41:18] local.INFO: IMEI packet received {"connection_id":118885,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 09:41:18] local.INFO: IMEI acknowledgment sent {"connection_id":118885,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:41:22] local.INFO: TCP Data received {"connection_id":118887,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:41:22] local.INFO: Processing buffer {"connection_id":118887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:41:22] local.INFO: IMEI packet received {"connection_id":118887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 09:41:22] local.INFO: IMEI acknowledgment sent {"connection_id":118887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:41:22] local.INFO: TCP Data received {"connection_id":118885,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118885,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:41:22] local.INFO: Processing buffer {"connection_id":118885,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:41:22] local.INFO: IMEI packet received {"connection_id":118885,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:41:22] local.INFO: IMEI acknowledgment sent {"connection_id":118885,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:41:23] local.INFO: TCP Data received {"connection_id":118885,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118885,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:41:23] local.INFO: Processing buffer {"connection_id":118885,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:41:23] local.INFO: IMEI packet received {"connection_id":118885,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":118885,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:41:24] local.INFO: TCP Data received {"connection_id":118887,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:41:24] local.INFO: Processing buffer {"connection_id":118887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:41:24] local.INFO: IMEI packet received {"connection_id":118887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":118887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:41:24] local.INFO: TCP Data received {"connection_id":118885,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bdfce40012d7d30c005ec0ce8000500fc20..."} 
[2026-07-01 09:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bdfce40012d7d30c005ec0ce8000500fc20..."} 
[2026-07-01 09:41:24] local.INFO: Processing buffer {"connection_id":118885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bdfce40012d7d30c005ec0ce8000500fc20..."} 
[2026-07-01 09:41:24] local.INFO: Packet analysis {"connection_id":118885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bdf"} 
[2026-07-01 09:41:24] local.INFO: Extracted packet for processing {"connection_id":118885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bdf"} 
[2026-07-01 09:41:24] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":5,"angle":252,"satellites":32,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09:41:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:41:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416967424001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:41:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:41:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 09:41:24] 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-01 09:41:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782879080000,"timestamp_ms":1782879080000,"timestamp_seconds":1782879080,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bdfce40"} 
[2026-07-01 09:41:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:41:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:41:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-01 09:41:24] 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-01 09:41:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:41:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:41:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:41:24] local.INFO: Teltonika packet parsed successfully {"connection_id":118885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:41:24] local.INFO: Passing IMEI to GPS processor {"connection_id":118885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:41:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":118885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:41:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:41:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:41:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:41:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416967424001,"66":2231,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:41:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:41:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:41:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416967424001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:41:24] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:41:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:41:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:41:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 09:41:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416967424001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 09:41:24] local.INFO: DEBUG: GPS processor result {"connection_id":118885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416885,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:41:24] local.INFO: GPS data processed {"connection_id":118885,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:41:24] local.INFO: Acknowledgment sent {"connection_id":118885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:41:25] local.INFO: TCP Data received {"connection_id":118887,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bdf12c0012d0ba08006ef44e0000e01552b..."} 
[2026-07-01 09:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bdf12c0012d0ba08006ef44e0000e01552b..."} 
[2026-07-01 09:41:25] local.INFO: Processing buffer {"connection_id":118887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bdf12c0012d0ba08006ef44e0000e01552b..."} 
[2026-07-01 09:41:25] local.INFO: Packet analysis {"connection_id":118887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bdf"} 
[2026-07-01 09:41:25] local.INFO: Extracted packet for processing {"connection_id":118887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bdf"} 
[2026-07-01 09:41:25] local.INFO: GPS Element Parsed {"raw_longitude":755736704,"raw_latitude":116344032,"longitude_deg":75.5736704,"latitude_deg":11.6344032,"altitude":14,"angle":341,"satellites":43,"speed":59,"hex_longitude":"2d0ba080","hex_latitude":"06ef44e0","is_valid_coordinates":true} 
[2026-07-01 09:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:41:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417030656001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:41:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333133640756101120,"note":"Value kept but may cause issues"} 
[2026-07-01 09:41:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":841328735170074624,"note":"Value kept but may cause issues"} 
[2026-07-01 09:41:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:41:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782879032000,"timestamp_ms":1782879032000,"timestamp_seconds":1782879032,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bdf12c0"} 
[2026-07-01 09:41:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:41:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 09:41:25] 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-01 09:41:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:41:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:41:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:41:25] local.INFO: Teltonika packet parsed successfully {"connection_id":118887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:41:25] local.INFO: Passing IMEI to GPS processor {"connection_id":118887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:41:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":118887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:41:25] 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-01 09:41:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:41:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:41:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417030656001,"66":27995,"88":206,"80":6400,"24":59,"16":333133640756101120,"45":841328735170074624},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,80,24,16,45]} 
[2026-07-01 09:41:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:41:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:41:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417030656001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:41:25] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-07-01 09:41:25] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:41:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333133640756101120,"km_value":333133640756101.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:41:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":841328735170074624,"description":"Unknown IO ID 45"} 
[2026-07-01 09:41:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417030656001,"power":27995,"unknown_88":206,"unknown_80":6400,"ignition":59,"odometer":null,"unknown_45":841328735170074624}} 
[2026-07-01 09:41:25] local.INFO: DEBUG: GPS processor result {"connection_id":118887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:41:25] local.INFO: GPS data processed {"connection_id":118887,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:41:25] local.INFO: Acknowledgment sent {"connection_id":118887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:41:30] local.INFO: TCP Data received {"connection_id":118885,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bdfce40012d7d30c005ec0ce8000500fc20..."} 
[2026-07-01 09:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bdfce40012d7d30c005ec0ce8000500fc20..."} 
[2026-07-01 09:41:30] local.INFO: Processing buffer {"connection_id":118885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bdfce40012d7d30c005ec0ce8000500fc20..."} 
[2026-07-01 09:41:30] local.INFO: Packet analysis {"connection_id":118885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bdf"} 
[2026-07-01 09:41:30] local.INFO: Extracted packet for processing {"connection_id":118885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bdf"} 
[2026-07-01 09:41:30] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":5,"angle":252,"satellites":32,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09:41:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416967424001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:41:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 09:41:30] 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-01 09:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782879080000,"timestamp_ms":1782879080000,"timestamp_seconds":1782879080,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bdfce40"} 
[2026-07-01 09:41:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:41:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:41:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-01 09:41:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:41:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:41:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":118885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":118885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":118885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:41:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416967424001,"66":2231,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416967424001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:41:30] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:41:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:41:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 09:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416967424001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 09:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":118885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416887,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:41:30] local.INFO: GPS data processed {"connection_id":118885,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:41:30] local.INFO: Acknowledgment sent {"connection_id":118885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:41:56] local.INFO: TCP Data received {"connection_id":118887,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bdf2e18012d0b944006ef6958000e01572c..."} 
[2026-07-01 09:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bdf2e18012d0b944006ef6958000e01572c..."} 
[2026-07-01 09:41:56] local.INFO: Processing buffer {"connection_id":118887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bdf2e18012d0b944006ef6958000e01572c..."} 
[2026-07-01 09:41:56] local.INFO: Packet analysis {"connection_id":118887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bdf"} 
[2026-07-01 09:41:56] local.INFO: Extracted packet for processing {"connection_id":118887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bdf"} 
[2026-07-01 09:41:56] local.INFO: GPS Element Parsed {"raw_longitude":755733568,"raw_latitude":116353368,"longitude_deg":75.5733568,"latitude_deg":11.6353368,"altitude":14,"angle":343,"satellites":44,"speed":52,"hex_longitude":"2d0b9440","hex_latitude":"06ef6958","is_valid_coordinates":true} 
[2026-07-01 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-01 09:41:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417032192001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:41:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333134117497470976,"note":"Value kept but may cause issues"} 
[2026-07-01 09:41:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":837810297963339776,"note":"Value kept but may cause issues"} 
[2026-07-01 09:41:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:41:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782879039000,"timestamp_ms":1782879039000,"timestamp_seconds":1782879039,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bdf2e18"} 
[2026-07-01 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-01 09:41: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-01 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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-01 09:41:56] 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-01 09:41:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 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-01 09:41:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:41:56] local.INFO: Teltonika packet parsed successfully {"connection_id":118887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:41:56] local.INFO: Passing IMEI to GPS processor {"connection_id":118887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:41:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":118887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:41:56] 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-01 09:41:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:41:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:41:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417032192001,"66":27908,"88":206,"80":6400,"24":52,"16":333134117497470976,"45":837810297963339776},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,80,24,16,45]} 
[2026-07-01 09:41:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:41:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:41:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417032192001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:41:56] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-07-01 09:41:56] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:41:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333134117497470976,"km_value":333134117497471.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:41:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":837810297963339776,"description":"Unknown IO ID 45"} 
[2026-07-01 09:41:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417032192001,"power":27908,"unknown_88":206,"unknown_80":6400,"ignition":52,"odometer":null,"unknown_45":837810297963339776}} 
[2026-07-01 09:41:56] local.INFO: DEBUG: GPS processor result {"connection_id":118887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:41:56] local.INFO: GPS data processed {"connection_id":118887,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:41:56] local.INFO: Acknowledgment sent {"connection_id":118887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:42:02] local.INFO: TCP Data received {"connection_id":118885,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bdfce40012d7d30c005ec0ce8000500fc20..."} 
[2026-07-01 09:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bdfce40012d7d30c005ec0ce8000500fc20..."} 
[2026-07-01 09:42:02] local.INFO: Processing buffer {"connection_id":118885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bdfce40012d7d30c005ec0ce8000500fc20..."} 
[2026-07-01 09:42:02] local.INFO: Packet analysis {"connection_id":118885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bdf"} 
[2026-07-01 09:42:02] local.INFO: Extracted packet for processing {"connection_id":118885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bdf"} 
[2026-07-01 09:42:02] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":5,"angle":252,"satellites":32,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416967424001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:42:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 09:42:02] 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-01 09:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782879080000,"timestamp_ms":1782879080000,"timestamp_seconds":1782879080,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bdfce40"} 
[2026-07-01 09:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:42:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-01 09:42:02] 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-01 09:42:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":118885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":118885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":118885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:42:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416967424001,"66":2231,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416967424001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:42:02] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:42:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:42:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 09:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416967424001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 09:42:02] local.INFO: DEBUG: GPS processor result {"connection_id":118885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416889,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:42:02] local.INFO: GPS data processed {"connection_id":118885,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:42:02] local.INFO: Acknowledgment sent {"connection_id":118885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:42:20] local.INFO: TCP Data received {"connection_id":119004,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:42:20] local.INFO: Processing buffer {"connection_id":119004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:42:20] local.INFO: IMEI packet received {"connection_id":119004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 09:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":119004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:42:21] local.INFO: TCP Data received {"connection_id":119004,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:42:21] local.INFO: Processing buffer {"connection_id":119004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:42:21] local.INFO: IMEI packet received {"connection_id":119004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:42:21] local.INFO: IMEI acknowledgment sent {"connection_id":119004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:42:24] local.INFO: TCP Data received {"connection_id":119669,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119669,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:42:24] local.INFO: Processing buffer {"connection_id":119669,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:42:24] local.INFO: IMEI packet received {"connection_id":119669,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 09:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":119669,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:42:26] local.INFO: TCP Data received {"connection_id":119004,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:42:26] local.INFO: Processing buffer {"connection_id":119004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:42:26] local.INFO: IMEI packet received {"connection_id":119004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":119004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:42:27] local.INFO: TCP Data received {"connection_id":119004,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bdf4970012d0b8a0006ef8da8000f015a2c..."} 
[2026-07-01 09:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bdf4970012d0b8a0006ef8da8000f015a2c..."} 
[2026-07-01 09:42:27] local.INFO: Processing buffer {"connection_id":119004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bdf4970012d0b8a0006ef8da8000f015a2c..."} 
[2026-07-01 09:42:27] local.INFO: Packet analysis {"connection_id":119004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bdf"} 
[2026-07-01 09:42:27] local.INFO: Extracted packet for processing {"connection_id":119004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bdf"} 
[2026-07-01 09:42:27] local.INFO: GPS Element Parsed {"raw_longitude":755730944,"raw_latitude":116362664,"longitude_deg":75.5730944,"latitude_deg":11.6362664,"altitude":15,"angle":346,"satellites":44,"speed":55,"hex_longitude":"2d0b8a00","hex_latitude":"06ef8da8","is_valid_coordinates":true} 
[2026-07-01 09:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417033984001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333134585648906240,"note":"Value kept but may cause issues"} 
[2026-07-01 09:42:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":834362229501024256,"note":"Value kept but may cause issues"} 
[2026-07-01 09:42:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782879046000,"timestamp_ms":1782879046000,"timestamp_seconds":1782879046,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bdf4970"} 
[2026-07-01 09:42:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:42: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-01 09:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 09:42:27] 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-01 09:42:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:42:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:42:27] 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-01 09:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417033984001,"66":28006,"90":206,"80":6400,"24":55,"16":333134585648906240,"45":834362229501024256},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,80,24,16,45]} 
[2026-07-01 09:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417033984001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:42:27] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-07-01 09:42:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333134585648906240,"km_value":333134585648906.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:42:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":834362229501024256,"description":"Unknown IO ID 45"} 
[2026-07-01 09:42:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417033984001,"power":28006,"unknown_90":206,"unknown_80":6400,"ignition":55,"odometer":null,"unknown_45":834362229501024256}} 
[2026-07-01 09:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":119004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:42:27] local.INFO: GPS data processed {"connection_id":119004,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:42:27] local.INFO: Acknowledgment sent {"connection_id":119004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:42:28] local.INFO: TCP Data received {"connection_id":119669,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119669,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:42:28] local.INFO: Processing buffer {"connection_id":119669,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:42:28] local.INFO: IMEI packet received {"connection_id":119669,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:42:28] local.INFO: IMEI acknowledgment sent {"connection_id":119669,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:42:30] local.INFO: TCP Data received {"connection_id":119669,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bdfce40012d7d30c005ec0ce8000500fc20..."} 
[2026-07-01 09:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bdfce40012d7d30c005ec0ce8000500fc20..."} 
[2026-07-01 09:42:30] local.INFO: Processing buffer {"connection_id":119669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bdfce40012d7d30c005ec0ce8000500fc20..."} 
[2026-07-01 09:42:30] local.INFO: Packet analysis {"connection_id":119669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bdf"} 
[2026-07-01 09:42:30] local.INFO: Extracted packet for processing {"connection_id":119669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bdf"} 
[2026-07-01 09:42:30] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":5,"angle":252,"satellites":32,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09: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-01 09:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416967424001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:42:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 09:42:30] 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-01 09:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782879080000,"timestamp_ms":1782879080000,"timestamp_seconds":1782879080,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bdfce40"} 
[2026-07-01 09: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-01 09:42:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09: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":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-01 09:42:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09: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-01 09: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-01 09:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":119669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":119669,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":119669,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:42:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416967424001,"66":2231,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416967424001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:42:30] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:42:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:42:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 09:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416967424001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 09:42:30] local.INFO: DEBUG: GPS processor result {"connection_id":119669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416891,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:42:30] local.INFO: GPS data processed {"connection_id":119669,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:42:30] local.INFO: Acknowledgment sent {"connection_id":119669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:42:34] local.INFO: TCP Data received {"connection_id":119669,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bdfce40012d7d30c005ec0ce8000500fc20..."} 
[2026-07-01 09:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bdfce40012d7d30c005ec0ce8000500fc20..."} 
[2026-07-01 09:42:34] local.INFO: Processing buffer {"connection_id":119669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bdfce40012d7d30c005ec0ce8000500fc20..."} 
[2026-07-01 09:42:34] local.INFO: Packet analysis {"connection_id":119669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bdf"} 
[2026-07-01 09:42:34] local.INFO: Extracted packet for processing {"connection_id":119669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bdf"} 
[2026-07-01 09:42:34] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":5,"angle":252,"satellites":32,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416967424001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:42:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 09:42:34] 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-01 09:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782879080000,"timestamp_ms":1782879080000,"timestamp_seconds":1782879080,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bdfce40"} 
[2026-07-01 09:42:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:42:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-01 09:42:34] 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-01 09:42:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:42:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":119669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":119669,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":119669,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:42:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416967424001,"66":2231,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416967424001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:42:34] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:42:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:42:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 09:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416967424001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 09:42:34] local.INFO: DEBUG: GPS processor result {"connection_id":119669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416892,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:42:34] local.INFO: GPS data processed {"connection_id":119669,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:42:34] local.INFO: Acknowledgment sent {"connection_id":119669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:42:41] local.INFO: TCP Data received {"connection_id":119668,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119668,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:42:41] local.INFO: Processing buffer {"connection_id":119668,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:42:41] local.INFO: IMEI packet received {"connection_id":119668,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 09:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":119668,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:42:58] local.INFO: TCP Data received {"connection_id":119004,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bdf64c8012d0b81c006efb3600012015b2b..."} 
[2026-07-01 09:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bdf64c8012d0b81c006efb3600012015b2b..."} 
[2026-07-01 09:42:58] local.INFO: Processing buffer {"connection_id":119004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bdf64c8012d0b81c006efb3600012015b2b..."} 
[2026-07-01 09:42:58] local.INFO: Packet analysis {"connection_id":119004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bdf"} 
[2026-07-01 09:42:58] local.INFO: Extracted packet for processing {"connection_id":119004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bdf"} 
[2026-07-01 09:42:58] local.INFO: GPS Element Parsed {"raw_longitude":755728832,"raw_latitude":116372320,"longitude_deg":75.5728832,"latitude_deg":11.637232,"altitude":18,"angle":347,"satellites":43,"speed":56,"hex_longitude":"2d0b81c0","hex_latitude":"06efb360","is_valid_coordinates":true} 
[2026-07-01 09: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-01 09:42:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417035776001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:42:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333135062390276096,"note":"Value kept but may cause issues"} 
[2026-07-01 09:42:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":831477110992119808,"note":"Value kept but may cause issues"} 
[2026-07-01 09:42:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:42:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782879053000,"timestamp_ms":1782879053000,"timestamp_seconds":1782879053,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bdf64c8"} 
[2026-07-01 09: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-01 09:42:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-01 09:42:58] 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-01 09: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-01 09: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-01 09:42:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:42:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:42:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:42:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:42:58] 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-01 09:42:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:42:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:42:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417035776001,"66":28104,"90":206,"80":6400,"24":56,"16":333135062390276096,"45":831477110992119808},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,80,24,16,45]} 
[2026-07-01 09:42:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:42:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:42:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417035776001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:42:58] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-07-01 09:42:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:42:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333135062390276096,"km_value":333135062390276.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:42:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":831477110992119808,"description":"Unknown IO ID 45"} 
[2026-07-01 09:42:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417035776001,"power":28104,"unknown_90":206,"unknown_80":6400,"ignition":56,"odometer":null,"unknown_45":831477110992119808}} 
[2026-07-01 09:42:58] local.INFO: DEBUG: GPS processor result {"connection_id":119004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:42:58] local.INFO: GPS data processed {"connection_id":119004,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:42:58] local.INFO: Acknowledgment sent {"connection_id":119004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:43:16] local.INFO: TCP Data received {"connection_id":118888,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118888,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:43:16] local.INFO: Processing buffer {"connection_id":118888,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:43:16] local.INFO: IMEI packet received {"connection_id":118888,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 09:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":118888,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:43:18] local.INFO: TCP Data received {"connection_id":120764,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120764,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:43:18] local.INFO: Processing buffer {"connection_id":120764,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:43:18] local.INFO: IMEI packet received {"connection_id":120764,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 09:43:18] local.INFO: IMEI acknowledgment sent {"connection_id":120764,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:43:21] local.INFO: TCP Data received {"connection_id":119005,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:43:21] local.INFO: Processing buffer {"connection_id":119005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:43:21] local.INFO: IMEI packet received {"connection_id":119005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 09:43:21] local.INFO: IMEI acknowledgment sent {"connection_id":119005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:43:23] local.INFO: TCP Data received {"connection_id":119005,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:43:23] local.INFO: Processing buffer {"connection_id":119005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:43:23] local.INFO: IMEI packet received {"connection_id":119005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:43:23] local.INFO: IMEI acknowledgment sent {"connection_id":119005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:43:24] local.INFO: TCP Data received {"connection_id":120764,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120764,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:43:24] local.INFO: Processing buffer {"connection_id":120764,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:43:24] local.INFO: IMEI packet received {"connection_id":120764,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:43:24] local.INFO: IMEI acknowledgment sent {"connection_id":120764,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:43:25] local.INFO: TCP Data received {"connection_id":120764,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bdfce40012d7d30c005ec0ce8000500fc20..."} 
[2026-07-01 09:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bdfce40012d7d30c005ec0ce8000500fc20..."} 
[2026-07-01 09:43:25] local.INFO: Processing buffer {"connection_id":120764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bdfce40012d7d30c005ec0ce8000500fc20..."} 
[2026-07-01 09:43:25] local.INFO: Packet analysis {"connection_id":120764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bdf"} 
[2026-07-01 09:43:25] local.INFO: Extracted packet for processing {"connection_id":120764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bdf"} 
[2026-07-01 09:43:25] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":5,"angle":252,"satellites":32,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09:43:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:43:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416967424001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:43:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:43:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 09:43:25] 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-01 09:43:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782879080000,"timestamp_ms":1782879080000,"timestamp_seconds":1782879080,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bdfce40"} 
[2026-07-01 09:43:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:43:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:43:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-01 09:43:25] 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-01 09:43:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:43:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:43:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:43:25] local.INFO: Teltonika packet parsed successfully {"connection_id":120764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:43:25] local.INFO: Passing IMEI to GPS processor {"connection_id":120764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:43:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":120764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:43:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:43:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:43:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:43:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416967424001,"66":2231,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:43:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:43:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:43:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416967424001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:43:25] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:43:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:43:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:43:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 09:43:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416967424001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 09:43:25] local.INFO: DEBUG: GPS processor result {"connection_id":120764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416894,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:43:25] local.INFO: GPS data processed {"connection_id":120764,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:43:25] local.INFO: Acknowledgment sent {"connection_id":120764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:43:26] local.INFO: TCP Data received {"connection_id":119005,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:43:26] local.INFO: Processing buffer {"connection_id":119005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:43:26] local.INFO: IMEI packet received {"connection_id":119005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":119005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:43:27] local.INFO: TCP Data received {"connection_id":119005,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bdf8020012d0b790006efd7a8001301592c..."} 
[2026-07-01 09:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bdf8020012d0b790006efd7a8001301592c..."} 
[2026-07-01 09:43:27] local.INFO: Processing buffer {"connection_id":119005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bdf8020012d0b790006efd7a8001301592c..."} 
[2026-07-01 09:43:27] local.INFO: Packet analysis {"connection_id":119005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bdf"} 
[2026-07-01 09:43:27] local.INFO: Extracted packet for processing {"connection_id":119005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bdf"} 
[2026-07-01 09:43:27] local.INFO: GPS Element Parsed {"raw_longitude":755726592,"raw_latitude":116381608,"longitude_deg":75.5726592,"latitude_deg":11.6381608,"altitude":19,"angle":345,"satellites":44,"speed":53,"hex_longitude":"2d0b7900","hex_latitude":"06efd7a8","is_valid_coordinates":true} 
[2026-07-01 09:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417037568001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:43:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333135526246744064,"note":"Value kept but may cause issues"} 
[2026-07-01 09:43:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":829154942436728832,"note":"Value kept but may cause issues"} 
[2026-07-01 09:43:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:43:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782879060000,"timestamp_ms":1782879060000,"timestamp_seconds":1782879060,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bdf8020"} 
[2026-07-01 09:43:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:43: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-01 09:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-01 09:43:27] 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-01 09:43:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:43:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:43:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:43:27] 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-01 09:43:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:43:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:43:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417037568001,"66":27919,"90":206,"80":6400,"24":53,"16":333135526246744064,"45":829154942436728832},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,80,24,16,45]} 
[2026-07-01 09:43:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:43:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:43:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417037568001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:43:27] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-07-01 09:43:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:43:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333135526246744064,"km_value":333135526246744.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:43:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":829154942436728832,"description":"Unknown IO ID 45"} 
[2026-07-01 09:43:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417037568001,"power":27919,"unknown_90":206,"unknown_80":6400,"ignition":53,"odometer":null,"unknown_45":829154942436728832}} 
[2026-07-01 09:43:27] local.INFO: DEBUG: GPS processor result {"connection_id":119005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:43:27] local.INFO: GPS data processed {"connection_id":119005,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:43:27] local.INFO: Acknowledgment sent {"connection_id":119005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:43:57] local.INFO: TCP Data received {"connection_id":120764,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bdfce40012d7d30c005ec0ce8000500fc20..."} 
[2026-07-01 09:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bdfce40012d7d30c005ec0ce8000500fc20..."} 
[2026-07-01 09:43:57] local.INFO: Processing buffer {"connection_id":120764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bdfce40012d7d30c005ec0ce8000500fc20..."} 
[2026-07-01 09:43:57] local.INFO: Packet analysis {"connection_id":120764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bdf"} 
[2026-07-01 09:43:57] local.INFO: Extracted packet for processing {"connection_id":120764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bdf"} 
[2026-07-01 09:43:57] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":5,"angle":252,"satellites":32,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09: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-01 09:43:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416967424001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:43:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:43:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 09:43:57] 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-01 09:43:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782879080000,"timestamp_ms":1782879080000,"timestamp_seconds":1782879080,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bdfce40"} 
[2026-07-01 09: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-01 09:43:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09: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":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-01 09:43:57] 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-01 09: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-01 09: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-01 09:43:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:43:57] local.INFO: Teltonika packet parsed successfully {"connection_id":120764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:43:57] local.INFO: Passing IMEI to GPS processor {"connection_id":120764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:43:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":120764,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:43:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:43:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:43:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:43:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416967424001,"66":2231,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:43:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:43:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:43:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416967424001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:43:57] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:43:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:43:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:43:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 09:43:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416967424001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 09:43:57] local.INFO: DEBUG: GPS processor result {"connection_id":120764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416896,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:43:57] local.INFO: GPS data processed {"connection_id":120764,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:43:57] local.INFO: Acknowledgment sent {"connection_id":120764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:43:58] local.INFO: TCP Data received {"connection_id":119005,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bdf9b78012d0b708006effed80010015a2b..."} 
[2026-07-01 09:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bdf9b78012d0b708006effed80010015a2b..."} 
[2026-07-01 09:43:58] local.INFO: Processing buffer {"connection_id":119005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bdf9b78012d0b708006effed80010015a2b..."} 
[2026-07-01 09:43:58] local.INFO: Packet analysis {"connection_id":119005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bdf"} 
[2026-07-01 09:43:58] local.INFO: Extracted packet for processing {"connection_id":119005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bdf"} 
[2026-07-01 09:43:58] local.INFO: GPS Element Parsed {"raw_longitude":755724416,"raw_latitude":116391640,"longitude_deg":75.5724416,"latitude_deg":11.639164,"altitude":16,"angle":346,"satellites":43,"speed":62,"hex_longitude":"2d0b7080","hex_latitude":"06effed8","is_valid_coordinates":true} 
[2026-07-01 09: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-01 09:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417039360001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333136024462950400,"note":"Value kept but may cause issues"} 
[2026-07-01 09:43:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":826692036392888320,"note":"Value kept but may cause issues"} 
[2026-07-01 09:43:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782879067000,"timestamp_ms":1782879067000,"timestamp_seconds":1782879067,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bdf9b78"} 
[2026-07-01 09: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-01 09:43:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 09:43:58] 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-01 09: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-01 09: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-01 09:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:43:58] 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-01 09:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417039360001,"66":27876,"90":206,"80":6400,"24":62,"16":333136024462950400,"45":826692036392888320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,80,24,16,45]} 
[2026-07-01 09:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417039360001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:43:58] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-07-01 09:43:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:43:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333136024462950400,"km_value":333136024462950.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:43:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":826692036392888320,"description":"Unknown IO ID 45"} 
[2026-07-01 09:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417039360001,"power":27876,"unknown_90":206,"unknown_80":6400,"ignition":62,"odometer":null,"unknown_45":826692036392888320}} 
[2026-07-01 09:43:58] local.INFO: DEBUG: GPS processor result {"connection_id":119005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:43:58] local.INFO: GPS data processed {"connection_id":119005,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:43:58] local.INFO: Acknowledgment sent {"connection_id":119005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:44:18] local.INFO: TCP Data received {"connection_id":119670,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119670,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:44:18] local.INFO: Processing buffer {"connection_id":119670,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:44:18] local.INFO: IMEI packet received {"connection_id":119670,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 09:44:18] local.INFO: IMEI acknowledgment sent {"connection_id":119670,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:44:21] local.INFO: TCP Data received {"connection_id":118890,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:44:21] local.INFO: Processing buffer {"connection_id":118890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:44:21] local.INFO: IMEI packet received {"connection_id":118890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 09:44:21] local.INFO: IMEI acknowledgment sent {"connection_id":118890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:44:23] local.INFO: TCP Data received {"connection_id":118890,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:44:23] local.INFO: Processing buffer {"connection_id":118890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:44:23] local.INFO: IMEI packet received {"connection_id":118890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":118890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:44:24] local.INFO: TCP Data received {"connection_id":119670,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119670,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:44:24] local.INFO: Processing buffer {"connection_id":119670,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:44:24] local.INFO: IMEI packet received {"connection_id":119670,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:44:24] local.INFO: IMEI acknowledgment sent {"connection_id":119670,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:44:25] local.INFO: TCP Data received {"connection_id":119670,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bdfce40012d7d30c005ec0ce8000500fc20..."} 
[2026-07-01 09:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bdfce40012d7d30c005ec0ce8000500fc20..."} 
[2026-07-01 09:44:25] local.INFO: Processing buffer {"connection_id":119670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bdfce40012d7d30c005ec0ce8000500fc20..."} 
[2026-07-01 09:44:25] local.INFO: Packet analysis {"connection_id":119670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bdf"} 
[2026-07-01 09:44:25] local.INFO: Extracted packet for processing {"connection_id":119670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bdf"} 
[2026-07-01 09:44:25] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":5,"angle":252,"satellites":32,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09:44:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:44:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416967424001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:44:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:44:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 09:44:25] 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-01 09:44:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782879080000,"timestamp_ms":1782879080000,"timestamp_seconds":1782879080,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bdfce40"} 
[2026-07-01 09:44:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:44:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:44:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-01 09:44:25] 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-01 09:44:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:44:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:44:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:44:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:44:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:44:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:44:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:44:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:44:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:44:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416967424001,"66":2231,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:44:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:44:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:44:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416967424001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:44:25] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:44:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:44:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:44:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 09:44:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416967424001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 09:44:25] local.INFO: DEBUG: GPS processor result {"connection_id":119670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416898,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:44:25] local.INFO: GPS data processed {"connection_id":119670,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:44:25] local.INFO: Acknowledgment sent {"connection_id":119670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:44:27] local.INFO: TCP Data received {"connection_id":118890,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:44:27] local.INFO: Processing buffer {"connection_id":118890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:44:27] local.INFO: IMEI packet received {"connection_id":118890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":118890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:44:35] local.INFO: TCP Data received {"connection_id":118890,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1be16c50012d0ae80006f10d700010013a2c..."} 
[2026-07-01 09:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1be16c50012d0ae80006f10d700010013a2c..."} 
[2026-07-01 09:44:35] local.INFO: Processing buffer {"connection_id":118890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1be16c50012d0ae80006f10d700010013a2c..."} 
[2026-07-01 09:44:35] local.INFO: Packet analysis {"connection_id":118890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1be1"} 
[2026-07-01 09:44:35] local.INFO: Extracted packet for processing {"connection_id":118890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1be1"} 
[2026-07-01 09:44:35] local.INFO: GPS Element Parsed {"raw_longitude":755689472,"raw_latitude":116460912,"longitude_deg":75.5689472,"latitude_deg":11.6460912,"altitude":16,"angle":314,"satellites":44,"speed":26,"hex_longitude":"2d0ae800","hex_latitude":"06f10d70","is_valid_coordinates":true} 
[2026-07-01 09: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-01 09:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417066240001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333139881343582208,"note":"Value kept but may cause issues"} 
[2026-07-01 09:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":792915039206361088,"note":"Value kept but may cause issues"} 
[2026-07-01 09:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782879186000,"timestamp_ms":1782879186000,"timestamp_seconds":1782879186,"priority":1,"record_length":96,"hex_timestamp":"0000019f1be16c50"} 
[2026-07-01 09: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-01 09:44:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 09:44:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09: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-01 09: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-01 09:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":118890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":118890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":118890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417066240001,"66":27321,"111":206,"80":6400,"24":26,"16":333139881343582208,"45":792915039206361088},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,80,24,16,45]} 
[2026-07-01 09:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417066240001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:44:35] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-01 09:44:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333139881343582208,"km_value":333139881343582.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":792915039206361088,"description":"Unknown IO ID 45"} 
[2026-07-01 09:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417066240001,"power":27321,"unknown_111":206,"unknown_80":6400,"ignition":26,"odometer":null,"unknown_45":792915039206361088}} 
[2026-07-01 09:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":118890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:44:35] local.INFO: GPS data processed {"connection_id":118890,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:44:35] local.INFO: Acknowledgment sent {"connection_id":118890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:44:56] local.INFO: TCP Data received {"connection_id":119670,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bdfce40012d7d30c005ec0ce8000500fc20..."} 
[2026-07-01 09:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bdfce40012d7d30c005ec0ce8000500fc20..."} 
[2026-07-01 09:44:56] local.INFO: Processing buffer {"connection_id":119670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bdfce40012d7d30c005ec0ce8000500fc20..."} 
[2026-07-01 09:44:56] local.INFO: Packet analysis {"connection_id":119670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bdf"} 
[2026-07-01 09:44:56] local.INFO: Extracted packet for processing {"connection_id":119670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bdf"} 
[2026-07-01 09:44:56] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":5,"angle":252,"satellites":32,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09:44:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:44:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416967424001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:44:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:44:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 09:44: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-01 09:44:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782879080000,"timestamp_ms":1782879080000,"timestamp_seconds":1782879080,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bdfce40"} 
[2026-07-01 09:44:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:44:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:44:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-01 09:44:56] 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-01 09:44:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:44:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:44:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:44:56] local.INFO: Teltonika packet parsed successfully {"connection_id":119670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:44:56] local.INFO: Passing IMEI to GPS processor {"connection_id":119670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:44:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":119670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:44:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:44:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:44:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:44:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416967424001,"66":2231,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:44:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:44:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:44:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416967424001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:44:56] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:44:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:44:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:44:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 09:44:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416967424001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 09:44:56] local.INFO: DEBUG: GPS processor result {"connection_id":119670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416900,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:44:56] local.INFO: GPS data processed {"connection_id":119670,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:44:56] local.INFO: Acknowledgment sent {"connection_id":119670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:45:19] local.INFO: TCP Data received {"connection_id":118892,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118892,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:45:19] local.INFO: Processing buffer {"connection_id":118892,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:45:19] local.INFO: IMEI packet received {"connection_id":118892,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 09:45:19] local.INFO: IMEI acknowledgment sent {"connection_id":118892,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:45:23] local.INFO: TCP Data received {"connection_id":118892,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118892,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:45:23] local.INFO: Processing buffer {"connection_id":118892,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:45:23] local.INFO: IMEI packet received {"connection_id":118892,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":118892,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:45:26] local.INFO: TCP Data received {"connection_id":120765,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:45:26] local.INFO: Processing buffer {"connection_id":120765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:45:26] local.INFO: IMEI packet received {"connection_id":120765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 09:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":120765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:45:26] local.INFO: TCP Data received {"connection_id":118892,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bdfce40012d7d30c005ec0ce8000500fc20..."} 
[2026-07-01 09:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bdfce40012d7d30c005ec0ce8000500fc20..."} 
[2026-07-01 09:45:26] local.INFO: Processing buffer {"connection_id":118892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bdfce40012d7d30c005ec0ce8000500fc20..."} 
[2026-07-01 09:45:26] local.INFO: Packet analysis {"connection_id":118892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bdf"} 
[2026-07-01 09:45:26] local.INFO: Extracted packet for processing {"connection_id":118892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bdf"} 
[2026-07-01 09:45:26] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":5,"angle":252,"satellites":32,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:45:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416967424001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:45:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:45:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 09:45:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:45:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782879080000,"timestamp_ms":1782879080000,"timestamp_seconds":1782879080,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bdfce40"} 
[2026-07-01 09:45:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:45:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-01 09:45:26] 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-01 09:45:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:45:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:45:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:45:26] local.INFO: Teltonika packet parsed successfully {"connection_id":118892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:45:26] local.INFO: Passing IMEI to GPS processor {"connection_id":118892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:45:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":118892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:45:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:45:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:45:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:45:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416967424001,"66":2231,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:45:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:45:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:45:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416967424001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:45:26] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:45:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:45:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:45:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 09:45:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416967424001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 09:45:26] local.INFO: DEBUG: GPS processor result {"connection_id":118892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416901,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:45:26] local.INFO: GPS data processed {"connection_id":118892,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:45:26] local.INFO: Acknowledgment sent {"connection_id":118892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:45:26] local.INFO: TCP Data received {"connection_id":118890,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1be1a6e8012d0acdc006f12660001101352c..."} 
[2026-07-01 09:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1be1a6e8012d0acdc006f12660001101352c..."} 
[2026-07-01 09:45:26] local.INFO: Processing buffer {"connection_id":118890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1be1a6e8012d0acdc006f12660001101352c..."} 
[2026-07-01 09:45:26] local.INFO: Packet analysis {"connection_id":118890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1be1"} 
[2026-07-01 09:45:26] local.INFO: Extracted packet for processing {"connection_id":118890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1be1"} 
[2026-07-01 09:45:26] local.INFO: GPS Element Parsed {"raw_longitude":755682752,"raw_latitude":116467296,"longitude_deg":75.5682752,"latitude_deg":11.6467296,"altitude":17,"angle":309,"satellites":44,"speed":24,"hex_longitude":"2d0acdc0","hex_latitude":"06f12660","is_valid_coordinates":true} 
[2026-07-01 09:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:45:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417071616001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:45:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333140328020180992,"note":"Value kept but may cause issues"} 
[2026-07-01 09:45:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":785878164790145024,"note":"Value kept but may cause issues"} 
[2026-07-01 09:45:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:45:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782879201000,"timestamp_ms":1782879201000,"timestamp_seconds":1782879201,"priority":1,"record_length":96,"hex_timestamp":"0000019f1be1a6e8"} 
[2026-07-01 09:45:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:45:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-01 09:45:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:45:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:45:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:45:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:45:26] local.INFO: Teltonika packet parsed successfully {"connection_id":118890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:45:26] local.INFO: Passing IMEI to GPS processor {"connection_id":118890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:45:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":118890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:45:26] 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-01 09:45:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:45:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:45:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417071616001,"66":27593,"111":206,"80":6400,"24":24,"16":333140328020180992,"45":785878164790145024},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,80,24,16,45]} 
[2026-07-01 09:45:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:45:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:45:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417071616001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:45:26] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-01 09:45:26] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:45:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333140328020180992,"km_value":333140328020181.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:45:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":785878164790145024,"description":"Unknown IO ID 45"} 
[2026-07-01 09:45:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417071616001,"power":27593,"unknown_111":206,"unknown_80":6400,"ignition":24,"odometer":null,"unknown_45":785878164790145024}} 
[2026-07-01 09:45:26] local.INFO: DEBUG: GPS processor result {"connection_id":118890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:45:26] local.INFO: GPS data processed {"connection_id":118890,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:45:26] local.INFO: Acknowledgment sent {"connection_id":118890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:45:26] local.INFO: TCP Data received {"connection_id":120765,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:45:26] local.INFO: Processing buffer {"connection_id":120765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:45:26] local.INFO: IMEI packet received {"connection_id":120765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":120765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:45:31] local.INFO: TCP Data received {"connection_id":120765,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:45:31] local.INFO: Processing buffer {"connection_id":120765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:45:31] local.INFO: IMEI packet received {"connection_id":120765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":120765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:46:04] local.INFO: TCP Data received {"connection_id":120765,"ip":"42.106.6.27","data_length":2143,"data_hex":"000000000000030f8e0a0000019f1be1d5c8012d0aaf0006f13a200013012e2b..."} 
[2026-07-01 09:46:04] local.ERROR: Failed to insert raw packet {"connection_id":120765,"error":"SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'packet_data' at row 1 (Connection: mysql, SQL: insert into `tcp_packet` (`packet_data`, `connection_id`, `ip_address`, `updated_at`, `created_at`) values (000000000000030f8e0a0000019f1be1d5c8012d0aaf0006f13a200013012e2b00210000000a000400ef0100715f00f001004501000400426d0400cd376f00ce501900180021000200f100009de30010049f8dc5000000000000019f1be1a6e8012d0acdc006f12660001101352c00180000000a000400ef0100715f00f001004501000400426bc900cd376f00ce501900180018000200f100009de30010049f8d5d000000000000019f1be16c50012d0ae80006f10d700010013a2c001a0000000a000400ef0100715f00f001004501000400426ab900cd376f00ce50190018001a000200f100009de30010049f8cf5000000000000019f1be11a48012d0b010006f0f5c8000e01342b000f0000000a000400ef0100715f00f001004501000400426cad00cd376f00ce50190018000f000200f100009de30010049f8c92000000000000019f1be10aa8012d0b074006f0f230000e01292c00130000000a000400ef0100715f00f001004501000400426d5b00cd376f00ce501900180013000200f100009de30010049f8c7e000000000000019f1be0e780012d0b104006f0eb10000e01372b000a0000000a000400ef0100715f00f001004501000400426d0400cd376f00ce50190018000a000200f100009de30010049f8c5d000000000000019f1be09960012d0b1a0006f0e088000f01422b00000000000a000400ef0100715f00f001004501000400426d0400cd376f00ce501900180000000200f100009de30010049f8c33000000000000019f1be04758012d0b27c006f0cee8001001452c00210000000a000400ef0100715f00f0010045010004004269e000cd376f00ce501900180021000200f100009de30010049f8bf3000000000000019f1be02430012d0b3ac006f0af600010014d2b002e0000000a000400ef0100715f00f001004501000400426b4700cd376f00ce50190018002e000200f100009de30010049f8b89000000000000019f1be004f0012d0b49c006f08dc8000f01512b002f0000000a000400ef0100715f00f001004501000400426d7c00cd5e5a00ce50190018002f000200f100009de30010049f8b1f000000000a0000b681000000000000030f8e0a0000019f1be204a8012d0a8f8006f14d500015012e2400230000000a000400ef0100715f00f0010045010004004269f600cd376f00ce501900180023000200f100009de30010049f8e2e000000000000019f1be1d5c8012d0aaf0006f13a200013012e2b00210000000a000400ef0100715f00f001004501000400426d0400cd376f00ce501900180021000200f100009de30010049f8dc5000000000000019f1be1a6e8012d0acdc006f12660001101352c00180000000a000400ef0100715f00f001004501000400426bc900cd376f00ce501900180018000200f100009de30010049f8d5d000000000000019f1be16c50012d0ae80006f10d700010013a2c001a0000000a000400ef0100715f00f001004501000400426ab900cd376f00ce50190018001a000200f100009de30010049f8cf5000000000000019f1be11a48012d0b010006f0f5c8000e01342b000f0000000a000400ef0100715f00f001004501000400426cad00cd376f00ce50190018000f000200f100009de30010049f8c92000000000000019f1be10aa8012d0b074006f0f230000e01292c00130000000a000400ef0100715f00f001004501000400426d5b00cd376f00ce501900180013000200f100009de30010049f8c7e000000000000019f1be0e780012d0b104006f0eb10000e01372b000a0000000a000400ef0100715f00f001004501000400426d0400cd376f00ce50190018000a000200f100009de30010049f8c5d000000000000019f1be09960012d0b1a0006f0e088000f01422b00000000000a000400ef0100715f00f001004501000400426d0400cd376f00ce501900180000000200f100009de30010049f8c33000000000000019f1be04758012d0b27c006f0cee8001001452c00210000000a000400ef0100715f00f0010045010004004269e000cd376f00ce501900180021000200f100009de30010049f8bf3000000000000019f1be02430012d0b3ac006f0af600010014d2b002e0000000a000400ef0100715f00f001004501000400426b4700cd376f00ce50190018002e000200f100009de30010049f8b89000000000a000065bd000000000000030f8e0a0000019f1be23f40012d0a700006f160a80016012f2400190000000a000400ef0100715f00f001004501000400426d1a00cd376f00ce501900180019000200f100009de30010049f8e97000000000000019f1be204a8012d0a8f8006f14d500015012e2400230000000a000400ef0100715f00f0010045010004004269f600cd376f00ce501900180023000200f100009de30010049f8e2e000000000000019f1be1d5c8012d0aaf0006f13a200013012e2b00210000000a000400ef0100715f00f001004501000400426d0400cd376f00ce501900180021000200f100009de30010049f8dc5000000000000019f1be1a6e8012d0acdc006f12660001101352c00180000000a000400ef0100715f00f001004501000400426bc900cd376f00ce501900180018000200f100009de30010049f8d5d000000000000019f1be16c50012d0ae80006f10d700010013a2c001a0000000a000400ef0100715f00f001004501000400426ab900cd376f00ce50190018001a000200f100009de30010049f8cf5000000000000019f1be11a48012d0b010006f0f5c8000e01342b000f0000000a000400ef0100715f00f001004501000400426cad00cd376f00ce50190018000f000200f100009de30010049f8c92000000000000019f1be10aa8012d0b074006f0f230000e01292c00130000000a000400ef0100715f00f001004501000400426d5b00cd376f00ce501900180013000200f100009de30010049f8c7e00, 120765, 42.106.6.27, 2026-07-01 09:46:04, 2026-07-01 09:46:04))","packet_length":2143} 
[2026-07-01 09:46:04] local.INFO: Processing buffer {"connection_id":120765,"buffer_length":2143,"buffer_hex":"000000000000030f8e0a0000019f1be1d5c8012d0aaf0006f13a200013012e2b..."} 
[2026-07-01 09:46:04] local.INFO: Packet analysis {"connection_id":120765,"data_field_length":783,"total_packet_length":795,"buffer_length":2143,"packet_hex_start":"000000000000030f8e0a0000019f1be1"} 
[2026-07-01 09:46:04] local.INFO: Extracted packet for processing {"connection_id":120765,"packet_length":795,"remaining_buffer_length":1348,"packet_hex_start":"000000000000030f8e0a0000019f1be1"} 
[2026-07-01 09:46:04] local.INFO: GPS Element Parsed {"raw_longitude":755674880,"raw_latitude":116472352,"longitude_deg":75.567488,"latitude_deg":11.6472352,"altitude":19,"angle":302,"satellites":43,"speed":33,"hex_longitude":"2d0aaf00","hex_latitude":"06f13a20","is_valid_coordinates":true} 
[2026-07-01 09: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-01 09:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417075456001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333140774696779776,"note":"Value kept but may cause issues"} 
[2026-07-01 09:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":778489446653124608,"note":"Value kept but may cause issues"} 
[2026-07-01 09:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782879213000,"timestamp_ms":1782879213000,"timestamp_seconds":1782879213,"priority":1,"record_length":96,"hex_timestamp":"0000019f1be1d5c8"} 
[2026-07-01 09: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-01 09:46: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-01 09: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":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-01 09:46:04] 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-01 09: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-01 09: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-01 09:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":120765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":120765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":120765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:46:04] 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-01 09:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417075456001,"66":27908,"111":206,"80":6400,"24":33,"16":333140774696779776,"45":778489446653124608},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,80,24,16,45]} 
[2026-07-01 09:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417075456001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:46:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-01 09:46:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333140774696779776,"km_value":333140774696779.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":778489446653124608,"description":"Unknown IO ID 45"} 
[2026-07-01 09:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417075456001,"power":27908,"unknown_111":206,"unknown_80":6400,"ignition":33,"odometer":null,"unknown_45":778489446653124608}} 
[2026-07-01 09:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":120765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:46:04] local.INFO: GPS data processed {"connection_id":120765,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:46:04] local.INFO: Acknowledgment sent {"connection_id":120765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:46:04] local.INFO: Packet analysis {"connection_id":120765,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a0000019f1be2"} 
[2026-07-01 09:46:04] local.INFO: Extracted packet for processing {"connection_id":120765,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019f1be2"} 
[2026-07-01 09:46:04] local.INFO: GPS Element Parsed {"raw_longitude":755666816,"raw_latitude":116477264,"longitude_deg":75.5666816,"latitude_deg":11.6477264,"altitude":21,"angle":302,"satellites":36,"speed":35,"hex_longitude":"2d0a8f80","hex_latitude":"06f14d50","is_valid_coordinates":true} 
[2026-07-01 09: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-01 09:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417078528001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333141225668345856,"note":"Value kept but may cause issues"} 
[2026-07-01 09:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":769834091120566272,"note":"Value kept but may cause issues"} 
[2026-07-01 09:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782879225000,"timestamp_ms":1782879225000,"timestamp_seconds":1782879225,"priority":1,"record_length":96,"hex_timestamp":"0000019f1be204a8"} 
[2026-07-01 09: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-01 09:46: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-01 09: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 09:46:04] 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-01 09: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-01 09: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-01 09:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":120765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":120765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":120765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:46:04] 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-01 09:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417078528001,"66":27126,"111":206,"80":6400,"24":35,"16":333141225668345856,"45":769834091120566272},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,80,24,16,45]} 
[2026-07-01 09:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417078528001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:46:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-01 09:46:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333141225668345856,"km_value":333141225668345.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":769834091120566272,"description":"Unknown IO ID 45"} 
[2026-07-01 09:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417078528001,"power":27126,"unknown_111":206,"unknown_80":6400,"ignition":35,"odometer":null,"unknown_45":769834091120566272}} 
[2026-07-01 09:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":120765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:46:04] local.INFO: GPS data processed {"connection_id":120765,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:46:04] local.INFO: Acknowledgment sent {"connection_id":120765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:46:04] local.INFO: Packet analysis {"connection_id":120765,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019f1be2"} 
[2026-07-01 09:46:04] local.INFO: Incomplete packet, waiting for more data {"connection_id":120765,"needed":795,"available":553} 
[2026-07-01 09:46:04] local.INFO: TCP Data received {"connection_id":120765,"ip":"42.106.6.27","data_length":242,"data_hex":"0000000000019f1be0e780012d0b104006f0eb10000e01372b000a0000000a00..."} 
[2026-07-01 09:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120765,"packet_length":242,"packet_hex":"0000000000019f1be0e780012d0b104006f0eb10000e01372b000a0000000a00..."} 
[2026-07-01 09:46:04] local.INFO: Processing buffer {"connection_id":120765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1be23f40012d0a700006f160a80016012f24..."} 
[2026-07-01 09:46:04] local.INFO: Packet analysis {"connection_id":120765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1be2"} 
[2026-07-01 09:46:04] local.INFO: Extracted packet for processing {"connection_id":120765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1be2"} 
[2026-07-01 09:46:04] local.INFO: GPS Element Parsed {"raw_longitude":755658752,"raw_latitude":116482216,"longitude_deg":75.5658752,"latitude_deg":11.6482216,"altitude":22,"angle":303,"satellites":36,"speed":25,"hex_longitude":"2d0a7000","hex_latitude":"06f160a8","is_valid_coordinates":true} 
[2026-07-01 09: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-01 09:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417081600001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333141676639911936,"note":"Value kept but may cause issues"} 
[2026-07-01 09:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":760967629355438080,"note":"Value kept but may cause issues"} 
[2026-07-01 09:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782879240000,"timestamp_ms":1782879240000,"timestamp_seconds":1782879240,"priority":1,"record_length":96,"hex_timestamp":"0000019f1be23f40"} 
[2026-07-01 09: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-01 09:46: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-01 09: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":105,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-01 09:46:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2937,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09: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-01 09: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-01 09:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":120765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":120765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":120765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:46:04] 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-01 09:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417081600001,"66":27930,"111":206,"80":6400,"24":25,"16":333141676639911936,"45":760967629355438080},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,80,24,16,45]} 
[2026-07-01 09:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417081600001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:46:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-01 09:46:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333141676639911936,"km_value":333141676639911.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":760967629355438080,"description":"Unknown IO ID 45"} 
[2026-07-01 09:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417081600001,"power":27930,"unknown_111":206,"unknown_80":6400,"ignition":25,"odometer":null,"unknown_45":760967629355438080}} 
[2026-07-01 09:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":120765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:46:04] local.INFO: GPS data processed {"connection_id":120765,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:46:04] local.INFO: Acknowledgment sent {"connection_id":120765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:46:05] local.INFO: TCP Data received {"connection_id":118892,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bdfce40012d7d30c005ec0ce8000500fc20..."} 
[2026-07-01 09:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bdfce40012d7d30c005ec0ce8000500fc20..."} 
[2026-07-01 09:46:05] local.INFO: Processing buffer {"connection_id":118892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bdfce40012d7d30c005ec0ce8000500fc20..."} 
[2026-07-01 09:46:05] local.INFO: Packet analysis {"connection_id":118892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bdf"} 
[2026-07-01 09:46:05] local.INFO: Extracted packet for processing {"connection_id":118892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bdf"} 
[2026-07-01 09:46:05] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":5,"angle":252,"satellites":32,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456416967424001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 09:46: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-01 09:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782879080000,"timestamp_ms":1782879080000,"timestamp_seconds":1782879080,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bdfce40"} 
[2026-07-01 09:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:46:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-01 09:46:05] 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-01 09:46:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":118892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":118892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":118892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456416967424001,"66":2231,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456416967424001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:46:05] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:46:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 09:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456416967424001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 09:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":118892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416906,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:46:05] local.INFO: GPS data processed {"connection_id":118892,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:46:05] local.INFO: Acknowledgment sent {"connection_id":118892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:46:18] local.INFO: TCP Data received {"connection_id":119671,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119671,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:46:18] local.INFO: Processing buffer {"connection_id":119671,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:46:18] local.INFO: IMEI packet received {"connection_id":119671,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 09:46:18] local.INFO: IMEI acknowledgment sent {"connection_id":119671,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:46:21] local.INFO: TCP Data received {"connection_id":120767,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:46:21] local.INFO: Processing buffer {"connection_id":120767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:46:21] local.INFO: IMEI packet received {"connection_id":120767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 09:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":120767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:46:23] local.INFO: TCP Data received {"connection_id":119671,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119671,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:46:23] local.INFO: Processing buffer {"connection_id":119671,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:46:23] local.INFO: IMEI packet received {"connection_id":119671,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:46:23] local.INFO: IMEI acknowledgment sent {"connection_id":119671,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:46:25] local.INFO: TCP Data received {"connection_id":119671,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1be46608012d7d30c005ec0ce8000400fc17..."} 
[2026-07-01 09:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1be46608012d7d30c005ec0ce8000400fc17..."} 
[2026-07-01 09:46:25] local.INFO: Processing buffer {"connection_id":119671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1be46608012d7d30c005ec0ce8000400fc17..."} 
[2026-07-01 09:46:25] local.INFO: Packet analysis {"connection_id":119671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1be4"} 
[2026-07-01 09:46:25] local.INFO: Extracted packet for processing {"connection_id":119671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1be4"} 
[2026-07-01 09:46:25] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":4,"angle":252,"satellites":23,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417044480001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:46:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 09:46:25] 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-01 09:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782879381000,"timestamp_ms":1782879381000,"timestamp_seconds":1782879381,"priority":1,"record_length":96,"hex_timestamp":"0000019f1be46608"} 
[2026-07-01 09:46:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:46:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-01 09:46: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-01 09:46:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:46:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:46:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417044480001,"66":2231,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417044480001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:46:25] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:46:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:46:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 09:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417044480001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 09:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":119671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416907,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:46:25] local.INFO: GPS data processed {"connection_id":119671,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:46:25] local.INFO: Acknowledgment sent {"connection_id":119671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:46:26] local.INFO: TCP Data received {"connection_id":120767,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:46:26] local.INFO: Processing buffer {"connection_id":120767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:46:26] local.INFO: IMEI packet received {"connection_id":120767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":120767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:46:27] local.INFO: TCP Data received {"connection_id":120767,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1be37f90012d09d38006f21748000a01542d..."} 
[2026-07-01 09:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1be37f90012d09d38006f21748000a01542d..."} 
[2026-07-01 09:46:27] local.INFO: Processing buffer {"connection_id":120767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1be37f90012d09d38006f21748000a01542d..."} 
[2026-07-01 09:46:27] local.INFO: Packet analysis {"connection_id":120767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1be3"} 
[2026-07-01 09:46:27] local.INFO: Extracted packet for processing {"connection_id":120767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1be3"} 
[2026-07-01 09:46:27] local.INFO: GPS Element Parsed {"raw_longitude":755618688,"raw_latitude":116528968,"longitude_deg":75.5618688,"latitude_deg":11.6528968,"altitude":10,"angle":340,"satellites":45,"speed":19,"hex_longitude":"2d09d380","hex_latitude":"06f21748","is_valid_coordinates":true} 
[2026-07-01 09:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417103872001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:46:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333144794786168832,"note":"Value kept but may cause issues"} 
[2026-07-01 09:46:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":710442871046897664,"note":"Value kept but may cause issues"} 
[2026-07-01 09:46:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:46:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782879322000,"timestamp_ms":1782879322000,"timestamp_seconds":1782879322,"priority":1,"record_length":96,"hex_timestamp":"0000019f1be37f90"} 
[2026-07-01 09:46:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:46: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-01 09:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 09:46:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:46:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:46:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:46:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:46:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:46:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:46:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:46:27] 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-01 09:46:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:46:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:46:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417103872001,"66":27876,"82":206,"80":6400,"24":19,"16":333144794786168832,"45":710442871046897664},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,80,24,16,45]} 
[2026-07-01 09:46:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:46:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:46:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417103872001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:46:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 09:46:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:46:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333144794786168832,"km_value":333144794786168.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:46:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":710442871046897664,"description":"Unknown IO ID 45"} 
[2026-07-01 09:46:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417103872001,"power":27876,"unknown_82":206,"unknown_80":6400,"ignition":19,"odometer":null,"unknown_45":710442871046897664}} 
[2026-07-01 09:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":120767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:46:27] local.INFO: GPS data processed {"connection_id":120767,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:46:27] local.INFO: Acknowledgment sent {"connection_id":120767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:46:28] local.INFO: TCP Data received {"connection_id":120767,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1be39318012d09d24006f21df0000a01622d..."} 
[2026-07-01 09:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1be39318012d09d24006f21df0000a01622d..."} 
[2026-07-01 09:46:28] local.INFO: Processing buffer {"connection_id":120767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1be39318012d09d24006f21df0000a01622d..."} 
[2026-07-01 09:46:28] local.INFO: Packet analysis {"connection_id":120767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1be3"} 
[2026-07-01 09:46:28] local.INFO: Extracted packet for processing {"connection_id":120767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1be3"} 
[2026-07-01 09:46:28] local.INFO: GPS Element Parsed {"raw_longitude":755618368,"raw_latitude":116530672,"longitude_deg":75.5618368,"latitude_deg":11.6530672,"altitude":10,"angle":354,"satellites":45,"speed":11,"hex_longitude":"2d09d240","hex_latitude":"06f21df0","is_valid_coordinates":true} 
[2026-07-01 09: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-01 09:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417106432001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333144880685514752,"note":"Value kept but may cause issues"} 
[2026-07-01 09:46:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":708050333747070976,"note":"Value kept but may cause issues"} 
[2026-07-01 09:46:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782879327000,"timestamp_ms":1782879327000,"timestamp_seconds":1782879327,"priority":1,"record_length":96,"hex_timestamp":"0000019f1be39318"} 
[2026-07-01 09: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-01 09: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-01 09: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-01 09:46:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09: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-01 09: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-01 09:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":120767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":120767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":120767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:46:28] 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-01 09:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417106432001,"66":27876,"82":206,"80":6400,"24":11,"16":333144880685514752,"45":708050333747070976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,80,24,16,45]} 
[2026-07-01 09:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417106432001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:46:28] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 09:46:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333144880685514752,"km_value":333144880685514.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:46:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":708050333747070976,"description":"Unknown IO ID 45"} 
[2026-07-01 09:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417106432001,"power":27876,"unknown_82":206,"unknown_80":6400,"ignition":11,"odometer":null,"unknown_45":708050333747070976}} 
[2026-07-01 09:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":120767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:46:28] local.INFO: GPS data processed {"connection_id":120767,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:46:28] local.INFO: Acknowledgment sent {"connection_id":120767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:46:56] local.INFO: TCP Data received {"connection_id":119671,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1be46608012d7d30c005ec0ce8000400fc17..."} 
[2026-07-01 09:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1be46608012d7d30c005ec0ce8000400fc17..."} 
[2026-07-01 09:46:56] local.INFO: Processing buffer {"connection_id":119671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1be46608012d7d30c005ec0ce8000400fc17..."} 
[2026-07-01 09:46:56] local.INFO: Packet analysis {"connection_id":119671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1be4"} 
[2026-07-01 09:46:56] local.INFO: Extracted packet for processing {"connection_id":119671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1be4"} 
[2026-07-01 09:46:56] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":4,"angle":252,"satellites":23,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09: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-01 09:46:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417044480001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:46:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:46:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 09:46: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-01 09:46:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782879381000,"timestamp_ms":1782879381000,"timestamp_seconds":1782879381,"priority":1,"record_length":96,"hex_timestamp":"0000019f1be46608"} 
[2026-07-01 09: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-01 09:46:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-01 09:46:56] 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-01 09: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-01 09: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-01 09:46:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:46:56] local.INFO: Teltonika packet parsed successfully {"connection_id":119671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:46:56] local.INFO: Passing IMEI to GPS processor {"connection_id":119671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:46:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":119671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:46:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:46:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:46:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:46:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417044480001,"66":2231,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:46:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:46:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:46:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417044480001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:46:56] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:46:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:46:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:46:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 09:46:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417044480001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 09:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":119671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416910,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:46:56] local.INFO: GPS data processed {"connection_id":119671,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:46:56] local.INFO: Acknowledgment sent {"connection_id":119671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:47:03] local.INFO: TCP Data received {"connection_id":120767,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1be3aa88012d09d0c006f22638000c01572c..."} 
[2026-07-01 09:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1be3aa88012d09d0c006f22638000c01572c..."} 
[2026-07-01 09:47:03] local.INFO: Processing buffer {"connection_id":120767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1be3aa88012d09d0c006f22638000c01572c..."} 
[2026-07-01 09:47:03] local.INFO: Packet analysis {"connection_id":120767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1be3"} 
[2026-07-01 09:47:03] local.INFO: Extracted packet for processing {"connection_id":120767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1be3"} 
[2026-07-01 09:47:03] local.INFO: GPS Element Parsed {"raw_longitude":755617984,"raw_latitude":116532792,"longitude_deg":75.5617984,"latitude_deg":11.6532792,"altitude":12,"angle":343,"satellites":44,"speed":17,"hex_longitude":"2d09d0c0","hex_latitude":"06f22638","is_valid_coordinates":true} 
[2026-07-01 09: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-01 09:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417107712001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333144983764729856,"note":"Value kept but may cause issues"} 
[2026-07-01 09:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":707698490026618880,"note":"Value kept but may cause issues"} 
[2026-07-01 09:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782879333000,"timestamp_ms":1782879333000,"timestamp_seconds":1782879333,"priority":1,"record_length":96,"hex_timestamp":"0000019f1be3aa88"} 
[2026-07-01 09: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-01 09:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-01 09:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09: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-01 09: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-01 09:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":120767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":120767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":120767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:47:03] 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-01 09:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417107712001,"66":27843,"82":206,"80":6400,"24":17,"16":333144983764729856,"45":707698490026618880},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,80,24,16,45]} 
[2026-07-01 09:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417107712001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:47:03] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 09:47:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333144983764729856,"km_value":333144983764729.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":707698490026618880,"description":"Unknown IO ID 45"} 
[2026-07-01 09:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417107712001,"power":27843,"unknown_82":206,"unknown_80":6400,"ignition":17,"odometer":null,"unknown_45":707698490026618880}} 
[2026-07-01 09:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":120767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:47:03] local.INFO: GPS data processed {"connection_id":120767,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:47:03] local.INFO: Acknowledgment sent {"connection_id":120767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:47:18] local.INFO: TCP Data received {"connection_id":119672,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119672,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:47:19] local.INFO: Processing buffer {"connection_id":119672,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:47:19] local.INFO: IMEI packet received {"connection_id":119672,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 09:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":119672,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:47:20] local.INFO: TCP Data received {"connection_id":119674,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:47:20] local.INFO: Processing buffer {"connection_id":119674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:47:20] local.INFO: IMEI packet received {"connection_id":119674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 09:47:20] local.INFO: IMEI acknowledgment sent {"connection_id":119674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:47:24] local.INFO: TCP Data received {"connection_id":119672,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119672,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:47:24] local.INFO: Processing buffer {"connection_id":119672,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:47:24] local.INFO: IMEI packet received {"connection_id":119672,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:47:24] local.INFO: IMEI acknowledgment sent {"connection_id":119672,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:47:25] local.INFO: TCP Data received {"connection_id":119672,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1be46608012d7d30c005ec0ce8000400fc17..."} 
[2026-07-01 09:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1be46608012d7d30c005ec0ce8000400fc17..."} 
[2026-07-01 09:47:25] local.INFO: Processing buffer {"connection_id":119672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1be46608012d7d30c005ec0ce8000400fc17..."} 
[2026-07-01 09:47:25] local.INFO: Packet analysis {"connection_id":119672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1be4"} 
[2026-07-01 09:47:25] local.INFO: Extracted packet for processing {"connection_id":119672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1be4"} 
[2026-07-01 09:47:25] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":4,"angle":252,"satellites":23,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:47:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417044480001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:47:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:47:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 09:47:25] 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-01 09:47:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782879381000,"timestamp_ms":1782879381000,"timestamp_seconds":1782879381,"priority":1,"record_length":96,"hex_timestamp":"0000019f1be46608"} 
[2026-07-01 09:47:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:47:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-01 09:47: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-01 09:47:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:47:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:47:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:47:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:47:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119672,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:47:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119672,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:47:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:47:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:47:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:47:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417044480001,"66":2231,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:47:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:47:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:47:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417044480001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:47:25] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:47:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:47:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:47:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 09:47:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417044480001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 09:47:25] local.INFO: DEBUG: GPS processor result {"connection_id":119672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416912,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:47:25] local.INFO: GPS data processed {"connection_id":119672,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:47:25] local.INFO: Acknowledgment sent {"connection_id":119672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:47:28] local.INFO: TCP Data received {"connection_id":119674,"ip":"42.106.6.27","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 09:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119674,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 09:47:28] local.INFO: Processing buffer {"connection_id":119674,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 09:47:28] local.INFO: IMEI packet received {"connection_id":119674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":119674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:47:36] local.INFO: TCP Data received {"connection_id":119674,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1be3e908012d09c98006f248b0000f015a2c..."} 
[2026-07-01 09:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1be3e908012d09c98006f248b0000f015a2c..."} 
[2026-07-01 09:47:36] local.INFO: Processing buffer {"connection_id":119674,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f1b..."} 
[2026-07-01 09:47:36] local.INFO: IMEI packet received {"connection_id":119674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":119674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:47:37] local.INFO: TCP Data received {"connection_id":119674,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1be40c30012d09c10006f26c40000d015a2b..."} 
[2026-07-01 09:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1be40c30012d09c10006f26c40000d015a2b..."} 
[2026-07-01 09:47:37] local.INFO: Processing buffer {"connection_id":119674,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f1be3e908012d09c98006f248b0000f015a2c..."} 
[2026-07-01 09:47:37] local.INFO: Packet analysis {"connection_id":119674,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f1be3"} 
[2026-07-01 09:47:37] local.INFO: Extracted packet for processing {"connection_id":119674,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1be3"} 
[2026-07-01 09:47:37] local.INFO: GPS Element Parsed {"raw_longitude":755616128,"raw_latitude":116541616,"longitude_deg":75.5616128,"latitude_deg":11.6541616,"altitude":15,"angle":346,"satellites":44,"speed":32,"hex_longitude":"2d09c980","hex_latitude":"06f248b0","is_valid_coordinates":true} 
[2026-07-01 09:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417109248001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333145421851394048,"note":"Value kept but may cause issues"} 
[2026-07-01 09:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":707276277562095616,"note":"Value kept but may cause issues"} 
[2026-07-01 09:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782879349000,"timestamp_ms":1782879349000,"timestamp_seconds":1782879349,"priority":1,"record_length":96,"hex_timestamp":"0000019f1be3e908"} 
[2026-07-01 09:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 09:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":119674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":119674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":119674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417109248001,"66":27995,"82":206,"80":6400,"24":32,"16":333145421851394048,"45":707276277562095616},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,80,24,16,45]} 
[2026-07-01 09:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417109248001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:47:37] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 09:47:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333145421851394048,"km_value":333145421851394.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":707276277562095616,"description":"Unknown IO ID 45"} 
[2026-07-01 09:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417109248001,"power":27995,"unknown_82":206,"unknown_80":6400,"ignition":32,"odometer":null,"unknown_45":707276277562095616}} 
[2026-07-01 09:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":119674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:47:38] local.INFO: GPS data processed {"connection_id":119674,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:47:38] local.INFO: Acknowledgment sent {"connection_id":119674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:47:38] local.INFO: Packet analysis {"connection_id":119674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1be4"} 
[2026-07-01 09:47:38] local.INFO: Extracted packet for processing {"connection_id":119674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1be4"} 
[2026-07-01 09:47:38] local.INFO: GPS Element Parsed {"raw_longitude":755613952,"raw_latitude":116550720,"longitude_deg":75.5613952,"latitude_deg":11.655072,"altitude":13,"angle":346,"satellites":43,"speed":47,"hex_longitude":"2d09c100","hex_latitude":"06f26c40","is_valid_coordinates":true} 
[2026-07-01 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-01 09:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417113344001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333145877117927424,"note":"Value kept but may cause issues"} 
[2026-07-01 09:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":705235583983202304,"note":"Value kept but may cause issues"} 
[2026-07-01 09:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782879358000,"timestamp_ms":1782879358000,"timestamp_seconds":1782879358,"priority":1,"record_length":96,"hex_timestamp":"0000019f1be40c30"} 
[2026-07-01 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-01 09:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-01 09:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 09:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":119674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":119674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":119674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417113344001,"66":27919,"82":206,"80":6400,"24":47,"16":333145877117927424,"45":705235583983202304},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,80,24,16,45]} 
[2026-07-01 09:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417113344001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:47:38] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 09:47:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333145877117927424,"km_value":333145877117927.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":705235583983202304,"description":"Unknown IO ID 45"} 
[2026-07-01 09:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417113344001,"power":27919,"unknown_82":206,"unknown_80":6400,"ignition":47,"odometer":null,"unknown_45":705235583983202304}} 
[2026-07-01 09:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":119674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:47:38] local.INFO: GPS data processed {"connection_id":119674,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:47:38] local.INFO: Acknowledgment sent {"connection_id":119674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:47:39] local.INFO: TCP Data received {"connection_id":119674,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1be42b70012d09b70006f29178000f015b2a..."} 
[2026-07-01 09:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1be42b70012d09b70006f29178000f015b2a..."} 
[2026-07-01 09:47:39] local.INFO: Processing buffer {"connection_id":119674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1be42b70012d09b70006f29178000f015b2a..."} 
[2026-07-01 09:47:39] local.INFO: Packet analysis {"connection_id":119674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1be4"} 
[2026-07-01 09:47:39] local.INFO: Extracted packet for processing {"connection_id":119674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1be4"} 
[2026-07-01 09:47:39] local.INFO: GPS Element Parsed {"raw_longitude":755611392,"raw_latitude":116560248,"longitude_deg":75.5611392,"latitude_deg":11.6560248,"altitude":15,"angle":347,"satellites":42,"speed":49,"hex_longitude":"2d09b700","hex_latitude":"06f29178","is_valid_coordinates":true} 
[2026-07-01 09:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:47:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417115648001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:47:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333146353859297280,"note":"Value kept but may cause issues"} 
[2026-07-01 09:47:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":702843046683492352,"note":"Value kept but may cause issues"} 
[2026-07-01 09:47:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:47:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782879366000,"timestamp_ms":1782879366000,"timestamp_seconds":1782879366,"priority":1,"record_length":96,"hex_timestamp":"0000019f1be42b70"} 
[2026-07-01 09:47:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:47:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 09:47:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:47:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:47:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:47:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:47:39] local.INFO: Teltonika packet parsed successfully {"connection_id":119674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:47:39] local.INFO: Passing IMEI to GPS processor {"connection_id":119674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:47:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":119674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:47:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:47:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:47:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:47:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417115648001,"66":27767,"82":206,"80":6400,"24":49,"16":333146353859297280,"45":702843046683492352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,80,24,16,45]} 
[2026-07-01 09:47:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:47:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:47:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417115648001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:47:39] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 09:47:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:47:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333146353859297280,"km_value":333146353859297.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:47:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":702843046683492352,"description":"Unknown IO ID 45"} 
[2026-07-01 09:47:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417115648001,"power":27767,"unknown_82":206,"unknown_80":6400,"ignition":49,"odometer":null,"unknown_45":702843046683492352}} 
[2026-07-01 09:47:39] local.INFO: DEBUG: GPS processor result {"connection_id":119674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:47:39] local.INFO: GPS data processed {"connection_id":119674,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:47:39] local.INFO: Acknowledgment sent {"connection_id":119674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:47:58] local.INFO: TCP Data received {"connection_id":119672,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1be46608012d7d30c005ec0ce8000400fc17..."} 
[2026-07-01 09:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1be46608012d7d30c005ec0ce8000400fc17..."} 
[2026-07-01 09:47:58] local.INFO: Processing buffer {"connection_id":119672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1be46608012d7d30c005ec0ce8000400fc17..."} 
[2026-07-01 09:47:58] local.INFO: Packet analysis {"connection_id":119672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1be4"} 
[2026-07-01 09:47:58] local.INFO: Extracted packet for processing {"connection_id":119672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1be4"} 
[2026-07-01 09:47:58] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":4,"angle":252,"satellites":23,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09: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-01 09:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417044480001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:47:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:47:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 09:47:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:47:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782879381000,"timestamp_ms":1782879381000,"timestamp_seconds":1782879381,"priority":1,"record_length":96,"hex_timestamp":"0000019f1be46608"} 
[2026-07-01 09: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-01 09:47:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:47:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-01 09:47:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09: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-01 09: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-01 09:47:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:47:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:47:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119672,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:47:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119672,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:47:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:47:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:47:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:47:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417044480001,"66":2231,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:47:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:47:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:47:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417044480001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:47:58] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:47:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:47:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:47:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 09:47:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417044480001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 09:47:58] local.INFO: DEBUG: GPS processor result {"connection_id":119672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416916,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:47:58] local.INFO: GPS data processed {"connection_id":119672,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:47:58] local.INFO: Acknowledgment sent {"connection_id":119672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:48:18] local.INFO: TCP Data received {"connection_id":119007,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119007,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:48:18] local.INFO: Processing buffer {"connection_id":119007,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:48:18] local.INFO: IMEI packet received {"connection_id":119007,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 09:48:18] local.INFO: IMEI acknowledgment sent {"connection_id":119007,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:48:21] local.INFO: TCP Data received {"connection_id":120768,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:48:21] local.INFO: Processing buffer {"connection_id":120768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:48:21] local.INFO: IMEI packet received {"connection_id":120768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 09:48:21] local.INFO: IMEI acknowledgment sent {"connection_id":120768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:48:23] local.INFO: TCP Data received {"connection_id":119007,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119007,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:48:23] local.INFO: Processing buffer {"connection_id":119007,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:48:23] local.INFO: IMEI packet received {"connection_id":119007,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":119007,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:48:25] local.INFO: TCP Data received {"connection_id":119007,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1be46608012d7d30c005ec0ce8000400fc17..."} 
[2026-07-01 09:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1be46608012d7d30c005ec0ce8000400fc17..."} 
[2026-07-01 09:48:25] local.INFO: Processing buffer {"connection_id":119007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1be46608012d7d30c005ec0ce8000400fc17..."} 
[2026-07-01 09:48:25] local.INFO: Packet analysis {"connection_id":119007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1be4"} 
[2026-07-01 09:48:25] local.INFO: Extracted packet for processing {"connection_id":119007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1be4"} 
[2026-07-01 09:48:25] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":4,"angle":252,"satellites":23,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09:48: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-01 09:48:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417044480001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:48:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:48:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 09:48:25] 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-01 09:48:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782879381000,"timestamp_ms":1782879381000,"timestamp_seconds":1782879381,"priority":1,"record_length":96,"hex_timestamp":"0000019f1be46608"} 
[2026-07-01 09:48:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:48:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:48: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-01 09:48: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-01 09:48: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-01 09:48:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:48:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:48:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:48:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119007,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:48:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119007,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:48:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:48:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:48:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:48:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417044480001,"66":2231,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:48:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:48:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:48:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417044480001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:48:25] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:48:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:48:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:48:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 09:48:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417044480001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 09:48:25] local.INFO: DEBUG: GPS processor result {"connection_id":119007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416917,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:48:25] local.INFO: GPS data processed {"connection_id":119007,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:48:25] local.INFO: Acknowledgment sent {"connection_id":119007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:48:27] local.INFO: TCP Data received {"connection_id":120768,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:48:27] local.INFO: Processing buffer {"connection_id":120768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:48:27] local.INFO: IMEI packet received {"connection_id":120768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":120768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:48:29] local.INFO: TCP Data received {"connection_id":120768,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1be44e98012d09b00006f2b690001301612a..."} 
[2026-07-01 09:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1be44e98012d09b00006f2b690001301612a..."} 
[2026-07-01 09:48:29] local.INFO: Processing buffer {"connection_id":120768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1be44e98012d09b00006f2b690001301612a..."} 
[2026-07-01 09:48:29] local.INFO: Packet analysis {"connection_id":120768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1be4"} 
[2026-07-01 09:48:29] local.INFO: Extracted packet for processing {"connection_id":120768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1be4"} 
[2026-07-01 09:48:29] local.INFO: GPS Element Parsed {"raw_longitude":755609600,"raw_latitude":116569744,"longitude_deg":75.56096,"latitude_deg":11.6569744,"altitude":19,"angle":353,"satellites":42,"speed":37,"hex_longitude":"2d09b000","hex_latitude":"06f2b690","is_valid_coordinates":true} 
[2026-07-01 09: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-01 09:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417117696001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333146822010732544,"note":"Value kept but may cause issues"} 
[2026-07-01 09:48:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":700028296918824960,"note":"Value kept but may cause issues"} 
[2026-07-01 09:48:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782879375000,"timestamp_ms":1782879375000,"timestamp_seconds":1782879375,"priority":1,"record_length":96,"hex_timestamp":"0000019f1be44e98"} 
[2026-07-01 09: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-01 09:48:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 09:48:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:48:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09: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-01 09:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":120768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":120768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":120768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:48:29] 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-01 09:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:48:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417117696001,"66":27865,"82":206,"80":6400,"24":37,"16":333146822010732544,"45":700028296918824960},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,80,24,16,45]} 
[2026-07-01 09:48:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:48:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:48:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417117696001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:48:29] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 09:48:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:48:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333146822010732544,"km_value":333146822010732.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:48:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":700028296918824960,"description":"Unknown IO ID 45"} 
[2026-07-01 09:48:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417117696001,"power":27865,"unknown_82":206,"unknown_80":6400,"ignition":37,"odometer":null,"unknown_45":700028296918824960}} 
[2026-07-01 09:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":120768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:48:29] local.INFO: GPS data processed {"connection_id":120768,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:48:29] local.INFO: Acknowledgment sent {"connection_id":120768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:48:46] local.INFO: TCP Data received {"connection_id":119006,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119006,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:48:46] local.INFO: Processing buffer {"connection_id":119006,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:48:46] local.INFO: IMEI packet received {"connection_id":119006,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 09:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":119006,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:48:57] local.INFO: TCP Data received {"connection_id":119007,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1be46608012d7d30c005ec0ce8000400fc17..."} 
[2026-07-01 09:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1be46608012d7d30c005ec0ce8000400fc17..."} 
[2026-07-01 09:48:57] local.INFO: Processing buffer {"connection_id":119007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1be46608012d7d30c005ec0ce8000400fc17..."} 
[2026-07-01 09:48:57] local.INFO: Packet analysis {"connection_id":119007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1be4"} 
[2026-07-01 09:48:57] local.INFO: Extracted packet for processing {"connection_id":119007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1be4"} 
[2026-07-01 09:48:57] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":4,"angle":252,"satellites":23,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:48:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417044480001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:48:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:48:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 09:48:57] 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-01 09:48:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782879381000,"timestamp_ms":1782879381000,"timestamp_seconds":1782879381,"priority":1,"record_length":96,"hex_timestamp":"0000019f1be46608"} 
[2026-07-01 09:48:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:48:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-01 09:48:57] 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-01 09:48:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:48:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:48:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:48:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:48:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119007,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:48:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119007,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:48:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:48:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:48:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:48:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417044480001,"66":2231,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:48:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:48:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:48:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417044480001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:48:57] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:48:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:48:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:48:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 09:48:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417044480001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 09:48:57] local.INFO: DEBUG: GPS processor result {"connection_id":119007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416919,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:48:57] local.INFO: GPS data processed {"connection_id":119007,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:48:57] local.INFO: Acknowledgment sent {"connection_id":119007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:49:01] local.INFO: TCP Data received {"connection_id":120768,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1be5f860012d09694006f43a58000d015729..."} 
[2026-07-01 09:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1be5f860012d09694006f43a58000d015729..."} 
[2026-07-01 09:49:01] local.INFO: Processing buffer {"connection_id":120768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1be5f860012d09694006f43a58000d015729..."} 
[2026-07-01 09:49:01] local.INFO: Packet analysis {"connection_id":120768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1be5"} 
[2026-07-01 09:49:01] local.INFO: Extracted packet for processing {"connection_id":120768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1be5"} 
[2026-07-01 09:49:01] local.INFO: GPS Element Parsed {"raw_longitude":755591488,"raw_latitude":116669016,"longitude_deg":75.5591488,"latitude_deg":11.6669016,"altitude":13,"angle":343,"satellites":41,"speed":54,"hex_longitude":"2d096940","hex_latitude":"06f43a58","is_valid_coordinates":true} 
[2026-07-01 09:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417146112001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333151731158351872,"note":"Value kept but may cause issues"} 
[2026-07-01 09:49:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":681099104760629248,"note":"Value kept but may cause issues"} 
[2026-07-01 09:49:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782879484000,"timestamp_ms":1782879484000,"timestamp_seconds":1782879484,"priority":1,"record_length":96,"hex_timestamp":"0000019f1be5f860"} 
[2026-07-01 09:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:49:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 09:49:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:49:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":120768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":120768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":120768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:49:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417146112001,"66":27876,"212":206,"80":6400,"24":54,"16":333151731158351872,"45":681099104760629248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,80,24,16,45]} 
[2026-07-01 09:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417146112001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:49:01] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-07-01 09:49:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333151731158351872,"km_value":333151731158351.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:49:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":681099104760629248,"description":"Unknown IO ID 45"} 
[2026-07-01 09:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417146112001,"power":27876,"unknown_212":206,"unknown_80":6400,"ignition":54,"odometer":null,"unknown_45":681099104760629248}} 
[2026-07-01 09:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":120768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:49:01] local.INFO: GPS data processed {"connection_id":120768,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:49:01] local.INFO: Acknowledgment sent {"connection_id":120768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:49:16] local.INFO: TCP Data received {"connection_id":118893,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118893,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:49:16] local.INFO: Processing buffer {"connection_id":118893,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:49:16] local.INFO: IMEI packet received {"connection_id":118893,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 09:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":118893,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:49:18] local.INFO: TCP Data received {"connection_id":118894,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118894,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:49:18] local.INFO: Processing buffer {"connection_id":118894,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:49:18] local.INFO: IMEI packet received {"connection_id":118894,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 09:49:18] local.INFO: IMEI acknowledgment sent {"connection_id":118894,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:49:23] local.INFO: TCP Data received {"connection_id":118894,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118894,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:49:23] local.INFO: Processing buffer {"connection_id":118894,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:49:23] local.INFO: IMEI packet received {"connection_id":118894,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:49:23] local.INFO: IMEI acknowledgment sent {"connection_id":118894,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:49:25] local.INFO: TCP Data received {"connection_id":118894,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1be46608012d7d30c005ec0ce8000400fc17..."} 
[2026-07-01 09:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1be46608012d7d30c005ec0ce8000400fc17..."} 
[2026-07-01 09:49:25] local.INFO: Processing buffer {"connection_id":118894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1be46608012d7d30c005ec0ce8000400fc17..."} 
[2026-07-01 09:49:25] local.INFO: Packet analysis {"connection_id":118894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1be4"} 
[2026-07-01 09:49:25] local.INFO: Extracted packet for processing {"connection_id":118894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1be4"} 
[2026-07-01 09:49:25] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":4,"angle":252,"satellites":23,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 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-01 09:49:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417044480001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:49:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:49:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 09:49:25] 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-01 09:49:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782879381000,"timestamp_ms":1782879381000,"timestamp_seconds":1782879381,"priority":1,"record_length":96,"hex_timestamp":"0000019f1be46608"} 
[2026-07-01 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-01 09:49:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-01 09:49: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-01 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-01 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-01 09:49:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:49:25] local.INFO: Teltonika packet parsed successfully {"connection_id":118894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:49:25] local.INFO: Passing IMEI to GPS processor {"connection_id":118894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:49:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":118894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:49:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:49:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:49:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:49:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417044480001,"66":2231,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:49:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:49:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:49:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417044480001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:49:25] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:49:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:49:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:49:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 09:49:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417044480001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 09:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":118894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416921,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:49:25] local.INFO: GPS data processed {"connection_id":118894,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:49:25] local.INFO: Acknowledgment sent {"connection_id":118894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:49:58] local.INFO: TCP Data received {"connection_id":118894,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1be46608012d7d30c005ec0ce8000400fc17..."} 
[2026-07-01 09:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1be46608012d7d30c005ec0ce8000400fc17..."} 
[2026-07-01 09:49:58] local.INFO: Processing buffer {"connection_id":118894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1be46608012d7d30c005ec0ce8000400fc17..."} 
[2026-07-01 09:49:58] local.INFO: Packet analysis {"connection_id":118894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1be4"} 
[2026-07-01 09:49:58] local.INFO: Extracted packet for processing {"connection_id":118894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1be4"} 
[2026-07-01 09:49:58] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":4,"angle":252,"satellites":23,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09: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-01 09:49:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417044480001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:49:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:49:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 09:49:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:49:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782879381000,"timestamp_ms":1782879381000,"timestamp_seconds":1782879381,"priority":1,"record_length":96,"hex_timestamp":"0000019f1be46608"} 
[2026-07-01 09: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-01 09:49:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09: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":183,"data_length":795,"current_offset":136} 
[2026-07-01 09:49:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09: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-01 09: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-01 09:49:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:49:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:49:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:49:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:49:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:49:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:49:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:49:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417044480001,"66":2231,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:49:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:49:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:49:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417044480001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:49:58] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:49:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:49:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:49:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 09:49:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417044480001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 09:49:58] local.INFO: DEBUG: GPS processor result {"connection_id":118894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416922,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:49:58] local.INFO: GPS data processed {"connection_id":118894,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:49:58] local.INFO: Acknowledgment sent {"connection_id":118894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:50:26] local.INFO: TCP Data received {"connection_id":118896,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118896,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:50:26] local.INFO: Processing buffer {"connection_id":118896,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:50:26] local.INFO: IMEI packet received {"connection_id":118896,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 09:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":118896,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:50:26] local.INFO: TCP Data received {"connection_id":118896,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118896,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:50:26] local.INFO: Processing buffer {"connection_id":118896,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:50:26] local.INFO: IMEI packet received {"connection_id":118896,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":118896,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:50:28] local.INFO: TCP Data received {"connection_id":118896,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1be46608012d7d30c005ec0ce8000400fc17..."} 
[2026-07-01 09:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1be46608012d7d30c005ec0ce8000400fc17..."} 
[2026-07-01 09:50:28] local.INFO: Processing buffer {"connection_id":118896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1be46608012d7d30c005ec0ce8000400fc17..."} 
[2026-07-01 09:50:28] local.INFO: Packet analysis {"connection_id":118896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1be4"} 
[2026-07-01 09:50:28] local.INFO: Extracted packet for processing {"connection_id":118896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1be4"} 
[2026-07-01 09:50:28] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":4,"angle":252,"satellites":23,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417044480001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:50:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 09:50:28] 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-01 09:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782879381000,"timestamp_ms":1782879381000,"timestamp_seconds":1782879381,"priority":1,"record_length":96,"hex_timestamp":"0000019f1be46608"} 
[2026-07-01 09:50:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:50:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-01 09:50:28] 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-01 09:50:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:50:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118896,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118896,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:50:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417044480001,"66":2231,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417044480001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:50:28] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:50:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:50:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 09:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417044480001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 09:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":118896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416923,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:50:28] local.INFO: GPS data processed {"connection_id":118896,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:50:28] local.INFO: Acknowledgment sent {"connection_id":118896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:50:29] local.INFO: TCP Data received {"connection_id":118896,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1be46608012d7d30c005ec0ce8000400fc17..."} 
[2026-07-01 09:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1be46608012d7d30c005ec0ce8000400fc17..."} 
[2026-07-01 09:50:29] local.INFO: Processing buffer {"connection_id":118896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1be46608012d7d30c005ec0ce8000400fc17..."} 
[2026-07-01 09:50:29] local.INFO: Packet analysis {"connection_id":118896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1be4"} 
[2026-07-01 09:50:29] local.INFO: Extracted packet for processing {"connection_id":118896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1be4"} 
[2026-07-01 09:50:29] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":4,"angle":252,"satellites":23,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417044480001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:50:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 09:50:29] 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-01 09:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782879381000,"timestamp_ms":1782879381000,"timestamp_seconds":1782879381,"priority":1,"record_length":96,"hex_timestamp":"0000019f1be46608"} 
[2026-07-01 09:50:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:50:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-01 09:50:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:50:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:50:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":118896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":118896,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":118896,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:50:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417044480001,"66":2231,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417044480001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:50:29] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:50:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:50:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 09:50:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417044480001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 09:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":118896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416924,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:50:29] local.INFO: GPS data processed {"connection_id":118896,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:50:29] local.INFO: Acknowledgment sent {"connection_id":118896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:50:49] local.INFO: TCP Data received {"connection_id":119008,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:50:49] local.INFO: Processing buffer {"connection_id":119008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:50:49] local.INFO: IMEI packet received {"connection_id":119008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 09:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":119008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:50:51] local.INFO: TCP Data received {"connection_id":119008,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:50:51] local.INFO: Processing buffer {"connection_id":119008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:50:51] local.INFO: IMEI packet received {"connection_id":119008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":119008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:50:56] local.INFO: TCP Data received {"connection_id":119008,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:50:56] local.INFO: Processing buffer {"connection_id":119008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:50:56] local.INFO: IMEI packet received {"connection_id":119008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":119008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:50:57] local.INFO: TCP Data received {"connection_id":119008,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f1be73c98012d08b64006f53de8000a01442a..."} 
[2026-07-01 09:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1be73c98012d08b64006f53de8000a01442a..."} 
[2026-07-01 09:50:57] local.INFO: Processing buffer {"connection_id":119008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1be73c98012d08b64006f53de8000a01442a..."} 
[2026-07-01 09:50:57] local.INFO: Packet analysis {"connection_id":119008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1be7"} 
[2026-07-01 09:50:57] local.INFO: Extracted packet for processing {"connection_id":119008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1be7"} 
[2026-07-01 09:50:57] local.INFO: GPS Element Parsed {"raw_longitude":755545664,"raw_latitude":116735464,"longitude_deg":75.5545664,"latitude_deg":11.6735464,"altitude":10,"angle":324,"satellites":42,"speed":50,"hex_longitude":"2d08b640","hex_latitude":"06f53de8","is_valid_coordinates":true} 
[2026-07-01 09:50:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:50:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417167104001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:50:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333155699708133376,"note":"Value kept but may cause issues"} 
[2026-07-01 09:50:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":634233521155602432,"note":"Value kept but may cause issues"} 
[2026-07-01 09:50:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:50:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782879567000,"timestamp_ms":1782879567000,"timestamp_seconds":1782879567,"priority":1,"record_length":96,"hex_timestamp":"0000019f1be73c98"} 
[2026-07-01 09:50:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:50:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09:50:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 09:50:57] 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-01 09:50:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:50:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:50:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:50:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:50:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:50:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:50:57] 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-01 09:50:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:50:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:50:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417167104001,"66":27930,"12":206,"80":6400,"24":50,"16":333155699708133376,"45":634233521155602432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,80,24,16,45]} 
[2026-07-01 09:50:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:50:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:50:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417167104001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:50:57] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-07-01 09:50:57] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:50:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333155699708133376,"km_value":333155699708133.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:50:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":634233521155602432,"description":"Unknown IO ID 45"} 
[2026-07-01 09:50:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417167104001,"power":27930,"unknown_12":206,"unknown_80":6400,"ignition":50,"odometer":null,"unknown_45":634233521155602432}} 
[2026-07-01 09:50:57] local.INFO: DEBUG: GPS processor result {"connection_id":119008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:50:57] local.INFO: GPS data processed {"connection_id":119008,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:50:57] local.INFO: Acknowledgment sent {"connection_id":119008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:51:01] local.INFO: TCP Data received {"connection_id":118896,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1be46608012d7d30c005ec0ce8000400fc17..."} 
[2026-07-01 09:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1be46608012d7d30c005ec0ce8000400fc17..."} 
[2026-07-01 09:51:01] local.INFO: Processing buffer {"connection_id":118896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1be46608012d7d30c005ec0ce8000400fc17..."} 
[2026-07-01 09:51:01] local.INFO: Packet analysis {"connection_id":118896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1be4"} 
[2026-07-01 09:51:01] local.INFO: Extracted packet for processing {"connection_id":118896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1be4"} 
[2026-07-01 09:51:01] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":4,"angle":252,"satellites":23,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:51:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417044480001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:51:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:51:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 09:51:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:51:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782879381000,"timestamp_ms":1782879381000,"timestamp_seconds":1782879381,"priority":1,"record_length":96,"hex_timestamp":"0000019f1be46608"} 
[2026-07-01 09:51:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:51:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-01 09:51:01] 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-01 09:51:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:51:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:51:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:51:01] local.INFO: Teltonika packet parsed successfully {"connection_id":118896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:51:01] local.INFO: Passing IMEI to GPS processor {"connection_id":118896,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:51:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":118896,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:51:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:51:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:51:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:51:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417044480001,"66":2231,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:51:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:51:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:51:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417044480001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:51:01] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:51:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:51:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:51:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 09:51:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417044480001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 09:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":118896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416926,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:51:01] local.INFO: GPS data processed {"connection_id":118896,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:51:01] local.INFO: Acknowledgment sent {"connection_id":118896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:51:21] local.INFO: TCP Data received {"connection_id":118897,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:51:21] local.INFO: Processing buffer {"connection_id":118897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:51:21] local.INFO: IMEI packet received {"connection_id":118897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 09:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":118897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:51:22] local.INFO: TCP Data received {"connection_id":118897,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:51:22] local.INFO: Processing buffer {"connection_id":118897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:51:22] local.INFO: IMEI packet received {"connection_id":118897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:51:22] local.INFO: IMEI acknowledgment sent {"connection_id":118897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:51:24] local.INFO: TCP Data received {"connection_id":119676,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119676,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:51:24] local.INFO: Processing buffer {"connection_id":119676,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:51:24] local.INFO: IMEI packet received {"connection_id":119676,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 09:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":119676,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:51:24] local.INFO: TCP Data received {"connection_id":119676,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119676,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:51:24] local.INFO: Processing buffer {"connection_id":119676,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:51:24] local.INFO: IMEI packet received {"connection_id":119676,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":119676,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:51:26] local.INFO: TCP Data received {"connection_id":118897,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:51:26] local.INFO: Processing buffer {"connection_id":118897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:51:26] local.INFO: IMEI packet received {"connection_id":118897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":118897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:51:27] local.INFO: TCP Data received {"connection_id":118897,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f1be757f0012d08a1c006f55c58000a01472b..."} 
[2026-07-01 09:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1be757f0012d08a1c006f55c58000a01472b..."} 
[2026-07-01 09:51:27] local.INFO: Processing buffer {"connection_id":118897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1be757f0012d08a1c006f55c58000a01472b..."} 
[2026-07-01 09:51:27] local.INFO: Packet analysis {"connection_id":118897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1be7"} 
[2026-07-01 09:51:27] local.INFO: Extracted packet for processing {"connection_id":118897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1be7"} 
[2026-07-01 09:51:27] local.INFO: GPS Element Parsed {"raw_longitude":755540416,"raw_latitude":116743256,"longitude_deg":75.5540416,"latitude_deg":11.6743256,"altitude":10,"angle":327,"satellites":43,"speed":55,"hex_longitude":"2d08a1c0","hex_latitude":"06f55c58","is_valid_coordinates":true} 
[2026-07-01 09:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417169152001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333156150679699456,"note":"Value kept but may cause issues"} 
[2026-07-01 09:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":627759596693219328,"note":"Value kept but may cause issues"} 
[2026-07-01 09:51:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782879574000,"timestamp_ms":1782879574000,"timestamp_seconds":1782879574,"priority":1,"record_length":96,"hex_timestamp":"0000019f1be757f0"} 
[2026-07-01 09:51:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:51:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-01 09:51:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:51:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:51:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:51:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417169152001,"66":27865,"12":206,"80":6400,"24":55,"16":333156150679699456,"45":627759596693219328},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,80,24,16,45]} 
[2026-07-01 09:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417169152001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:51:27] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-07-01 09:51:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333156150679699456,"km_value":333156150679699.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":627759596693219328,"description":"Unknown IO ID 45"} 
[2026-07-01 09:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417169152001,"power":27865,"unknown_12":206,"unknown_80":6400,"ignition":55,"odometer":null,"unknown_45":627759596693219328}} 
[2026-07-01 09:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":118897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:51:27] local.INFO: GPS data processed {"connection_id":118897,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:51:27] local.INFO: Acknowledgment sent {"connection_id":118897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:51:28] local.INFO: TCP Data received {"connection_id":119676,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119676,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:51:28] local.INFO: Processing buffer {"connection_id":119676,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:51:28] local.INFO: IMEI packet received {"connection_id":119676,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":119676,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:51:29] local.INFO: TCP Data received {"connection_id":119676,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1be8fdd0012d7d30c005ec0ce8000000fc1d..."} 
[2026-07-01 09:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1be8fdd0012d7d30c005ec0ce8000000fc1d..."} 
[2026-07-01 09:51:29] local.INFO: Processing buffer {"connection_id":119676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1be8fdd0012d7d30c005ec0ce8000000fc1d..."} 
[2026-07-01 09:51:29] local.INFO: Packet analysis {"connection_id":119676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1be8"} 
[2026-07-01 09:51:29] local.INFO: Extracted packet for processing {"connection_id":119676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1be8"} 
[2026-07-01 09:51:29] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":0,"angle":252,"satellites":29,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09: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-01 09:51:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417121536001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:51:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:51:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 09:51:29] 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-01 09:51:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782879682000,"timestamp_ms":1782879682000,"timestamp_seconds":1782879682,"priority":1,"record_length":96,"hex_timestamp":"0000019f1be8fdd0"} 
[2026-07-01 09: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-01 09:51:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09: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":183,"data_length":795,"current_offset":136} 
[2026-07-01 09:51:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09: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-01 09: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-01 09:51:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:51:29] local.INFO: Teltonika packet parsed successfully {"connection_id":119676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:51:29] local.INFO: Passing IMEI to GPS processor {"connection_id":119676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:51:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":119676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:51:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:51:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:51:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:51:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417121536001,"66":2231,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:51:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:51:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:51:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417121536001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:51:29] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:51:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:51:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:51:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 09:51:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417121536001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 09:51:29] local.INFO: DEBUG: GPS processor result {"connection_id":119676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416928,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:51:29] local.INFO: GPS data processed {"connection_id":119676,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:51:29] local.INFO: Acknowledgment sent {"connection_id":119676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:51:34] local.INFO: TCP Data received {"connection_id":119676,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1be8fdd0012d7d30c005ec0ce8000000fc1d..."} 
[2026-07-01 09:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1be8fdd0012d7d30c005ec0ce8000000fc1d..."} 
[2026-07-01 09:51:34] local.INFO: Processing buffer {"connection_id":119676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1be8fdd0012d7d30c005ec0ce8000000fc1d..."} 
[2026-07-01 09:51:34] local.INFO: Packet analysis {"connection_id":119676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1be8"} 
[2026-07-01 09:51:34] local.INFO: Extracted packet for processing {"connection_id":119676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1be8"} 
[2026-07-01 09:51:34] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":0,"angle":252,"satellites":29,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417121536001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 09:51:34] 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-01 09:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782879682000,"timestamp_ms":1782879682000,"timestamp_seconds":1782879682,"priority":1,"record_length":96,"hex_timestamp":"0000019f1be8fdd0"} 
[2026-07-01 09:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:51:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-01 09:51:34] 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-01 09:51:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":119676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":119676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":119676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417121536001,"66":2231,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417121536001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:51:34] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:51:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 09:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417121536001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 09:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":119676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416929,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:51:34] local.INFO: GPS data processed {"connection_id":119676,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:51:34] local.INFO: Acknowledgment sent {"connection_id":119676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:51:58] local.INFO: TCP Data received {"connection_id":118897,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f1be888a0012d079c4006f699c8000d014129..."} 
[2026-07-01 09:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1be888a0012d079c4006f699c8000d014129..."} 
[2026-07-01 09:51:58] local.INFO: Processing buffer {"connection_id":118897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1be888a0012d079c4006f699c8000d014129..."} 
[2026-07-01 09:51:58] local.INFO: Packet analysis {"connection_id":118897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1be8"} 
[2026-07-01 09:51:58] local.INFO: Extracted packet for processing {"connection_id":118897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1be8"} 
[2026-07-01 09:51:58] local.INFO: GPS Element Parsed {"raw_longitude":755473472,"raw_latitude":116824520,"longitude_deg":75.5473472,"latitude_deg":11.682452,"altitude":13,"angle":321,"satellites":41,"speed":48,"hex_longitude":"2d079c40","hex_latitude":"06f699c8","is_valid_coordinates":true} 
[2026-07-01 09: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-01 09:51:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417188864001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:51:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333161223036076032,"note":"Value kept but may cause issues"} 
[2026-07-01 09:51:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":554716840257810432,"note":"Value kept but may cause issues"} 
[2026-07-01 09:51:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:51:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782879652000,"timestamp_ms":1782879652000,"timestamp_seconds":1782879652,"priority":1,"record_length":96,"hex_timestamp":"0000019f1be888a0"} 
[2026-07-01 09: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-01 09:51:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 09:51:58] 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-01 09: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-01 09: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-01 09:51:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:51:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:51:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:51:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:51:58] 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-01 09:51:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:51:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:51:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417188864001,"66":27930,"42":206,"80":6400,"24":48,"16":333161223036076032,"45":554716840257810432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,80,24,16,45]} 
[2026-07-01 09:51:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:51:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:51:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417188864001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:51:58] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-01 09:51:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:51:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333161223036076032,"km_value":333161223036076.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:51:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":554716840257810432,"description":"Unknown IO ID 45"} 
[2026-07-01 09:51:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417188864001,"power":27930,"unknown_42":206,"unknown_80":6400,"ignition":48,"odometer":null,"unknown_45":554716840257810432}} 
[2026-07-01 09:51:58] local.INFO: DEBUG: GPS processor result {"connection_id":118897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:51:58] local.INFO: GPS data processed {"connection_id":118897,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:51:58] local.INFO: Acknowledgment sent {"connection_id":118897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:52:19] local.INFO: TCP Data received {"connection_id":119678,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119678,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:52:19] local.INFO: Processing buffer {"connection_id":119678,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:52:19] local.INFO: IMEI packet received {"connection_id":119678,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 09:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":119678,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:52:23] local.INFO: TCP Data received {"connection_id":119678,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119678,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:52:23] local.INFO: Processing buffer {"connection_id":119678,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:52:23] local.INFO: IMEI packet received {"connection_id":119678,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":119678,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:52:25] local.INFO: TCP Data received {"connection_id":119678,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1be8fdd0012d7d30c005ec0ce8000000fc1d..."} 
[2026-07-01 09:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1be8fdd0012d7d30c005ec0ce8000000fc1d..."} 
[2026-07-01 09:52:25] local.INFO: Processing buffer {"connection_id":119678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1be8fdd0012d7d30c005ec0ce8000000fc1d..."} 
[2026-07-01 09:52:25] local.INFO: Packet analysis {"connection_id":119678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1be8"} 
[2026-07-01 09:52:25] local.INFO: Extracted packet for processing {"connection_id":119678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1be8"} 
[2026-07-01 09:52:25] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":0,"angle":252,"satellites":29,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09:52: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-01 09:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417121536001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:52:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:52:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 09:52:25] 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-01 09:52:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782879682000,"timestamp_ms":1782879682000,"timestamp_seconds":1782879682,"priority":1,"record_length":96,"hex_timestamp":"0000019f1be8fdd0"} 
[2026-07-01 09:52:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:52:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:52: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-01 09:52: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-01 09:52: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-01 09:52:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:52:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:52:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:52:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119678,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:52:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119678,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:52:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:52:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:52:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417121536001,"66":2231,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417121536001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:52:25] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:52:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:52:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 09:52:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417121536001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 09:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":119678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416931,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:52:25] local.INFO: GPS data processed {"connection_id":119678,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:52:25] local.INFO: Acknowledgment sent {"connection_id":119678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:52:26] local.INFO: TCP Data received {"connection_id":120770,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:52:26] local.INFO: Processing buffer {"connection_id":120770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:52:26] local.INFO: IMEI packet received {"connection_id":120770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 09:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":120770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:52:27] local.INFO: TCP Data received {"connection_id":120770,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:52:27] local.INFO: Processing buffer {"connection_id":120770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:52:27] local.INFO: IMEI packet received {"connection_id":120770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":120770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:52:31] local.INFO: TCP Data received {"connection_id":120770,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:52:31] local.INFO: Processing buffer {"connection_id":120770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:52:31] local.INFO: IMEI packet received {"connection_id":120770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":120770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:52:33] local.INFO: TCP Data received {"connection_id":120770,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f1be8a3f8012d0785c006f6b470000d014027..."} 
[2026-07-01 09:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1be8a3f8012d0785c006f6b470000d014027..."} 
[2026-07-01 09:52:33] local.INFO: Processing buffer {"connection_id":120770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1be8a3f8012d0785c006f6b470000d014027..."} 
[2026-07-01 09:52:33] local.INFO: Packet analysis {"connection_id":120770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1be8"} 
[2026-07-01 09:52:33] local.INFO: Extracted packet for processing {"connection_id":120770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1be8"} 
[2026-07-01 09:52:33] local.INFO: GPS Element Parsed {"raw_longitude":755467712,"raw_latitude":116831344,"longitude_deg":75.5467712,"latitude_deg":11.6831344,"altitude":13,"angle":320,"satellites":39,"speed":52,"hex_longitude":"2d0785c0","hex_latitude":"06f6b470","is_valid_coordinates":true} 
[2026-07-01 09:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417190912001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333161652532805632,"note":"Value kept but may cause issues"} 
[2026-07-01 09:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":548383653283612672,"note":"Value kept but may cause issues"} 
[2026-07-01 09:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782879659000,"timestamp_ms":1782879659000,"timestamp_seconds":1782879659,"priority":1,"record_length":96,"hex_timestamp":"0000019f1be8a3f8"} 
[2026-07-01 09:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:52: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-01 09:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-01 09:52:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:52:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":120770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":120770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":120770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417190912001,"66":27876,"42":206,"80":6400,"24":52,"16":333161652532805632,"45":548383653283612672},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,80,24,16,45]} 
[2026-07-01 09:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417190912001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:52:33] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-01 09:52:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333161652532805632,"km_value":333161652532805.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":548383653283612672,"description":"Unknown IO ID 45"} 
[2026-07-01 09:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417190912001,"power":27876,"unknown_42":206,"unknown_80":6400,"ignition":52,"odometer":null,"unknown_45":548383653283612672}} 
[2026-07-01 09:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":120770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:52:33] local.INFO: GPS data processed {"connection_id":120770,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:52:33] local.INFO: Acknowledgment sent {"connection_id":120770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:52:35] local.INFO: TCP Data received {"connection_id":120770,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f1be8c338012d076c8006f6d250000d014224..."} 
[2026-07-01 09:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1be8c338012d076c8006f6d250000d014224..."} 
[2026-07-01 09:52:35] local.INFO: Processing buffer {"connection_id":120770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1be8c338012d076c8006f6d250000d014224..."} 
[2026-07-01 09:52:35] local.INFO: Packet analysis {"connection_id":120770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1be8"} 
[2026-07-01 09:52:35] local.INFO: Extracted packet for processing {"connection_id":120770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1be8"} 
[2026-07-01 09:52:35] local.INFO: GPS Element Parsed {"raw_longitude":755461248,"raw_latitude":116838992,"longitude_deg":75.5461248,"latitude_deg":11.6838992,"altitude":13,"angle":322,"satellites":36,"speed":42,"hex_longitude":"2d076c80","hex_latitude":"06f6d250","is_valid_coordinates":true} 
[2026-07-01 09: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-01 09:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417192704001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333162133569142784,"note":"Value kept but may cause issues"} 
[2026-07-01 09:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":542050466309369856,"note":"Value kept but may cause issues"} 
[2026-07-01 09:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782879667000,"timestamp_ms":1782879667000,"timestamp_seconds":1782879667,"priority":1,"record_length":96,"hex_timestamp":"0000019f1be8c338"} 
[2026-07-01 09: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-01 09:52:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-01 09:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09: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-01 09: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-01 09:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":120770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":120770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":120770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417192704001,"66":27919,"42":206,"80":6400,"24":42,"16":333162133569142784,"45":542050466309369856},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,80,24,16,45]} 
[2026-07-01 09:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417192704001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:52:35] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-01 09:52:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333162133569142784,"km_value":333162133569142.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":542050466309369856,"description":"Unknown IO ID 45"} 
[2026-07-01 09:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417192704001,"power":27919,"unknown_42":206,"unknown_80":6400,"ignition":42,"odometer":null,"unknown_45":542050466309369856}} 
[2026-07-01 09:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":120770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:52:35] local.INFO: GPS data processed {"connection_id":120770,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:52:35] local.INFO: Acknowledgment sent {"connection_id":120770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:53:06] local.INFO: TCP Data received {"connection_id":120770,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f1be90d70012d07568006f6f038000c014625..."} 
[2026-07-01 09:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1be90d70012d07568006f6f038000c014625..."} 
[2026-07-01 09:53:06] local.INFO: Processing buffer {"connection_id":120770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1be90d70012d07568006f6f038000c014625..."} 
[2026-07-01 09:53:06] local.INFO: Packet analysis {"connection_id":120770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1be9"} 
[2026-07-01 09:53:06] local.INFO: Extracted packet for processing {"connection_id":120770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1be9"} 
[2026-07-01 09:53:06] local.INFO: GPS Element Parsed {"raw_longitude":755455616,"raw_latitude":116846648,"longitude_deg":75.5455616,"latitude_deg":11.6846648,"altitude":12,"angle":326,"satellites":37,"speed":26,"hex_longitude":"2d075680","hex_latitude":"06f6f038","is_valid_coordinates":true} 
[2026-07-01 09:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417194752001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333162593130643456,"note":"Value kept but may cause issues"} 
[2026-07-01 09:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":534943223149383680,"note":"Value kept but may cause issues"} 
[2026-07-01 09:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782879686000,"timestamp_ms":1782879686000,"timestamp_seconds":1782879686,"priority":1,"record_length":96,"hex_timestamp":"0000019f1be90d70"} 
[2026-07-01 09:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 09:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":120770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":120770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":120770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:53:06] 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-01 09:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417194752001,"66":27843,"42":206,"80":6400,"24":26,"16":333162593130643456,"45":534943223149383680},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,80,24,16,45]} 
[2026-07-01 09:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417194752001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:53:06] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-01 09:53:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333162593130643456,"km_value":333162593130643.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":534943223149383680,"description":"Unknown IO ID 45"} 
[2026-07-01 09:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417194752001,"power":27843,"unknown_42":206,"unknown_80":6400,"ignition":26,"odometer":null,"unknown_45":534943223149383680}} 
[2026-07-01 09:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":120770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:53:06] local.INFO: GPS data processed {"connection_id":120770,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:53:06] local.INFO: Acknowledgment sent {"connection_id":120770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:53:11] local.INFO: TCP Data received {"connection_id":119678,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1be8fdd0012d7d30c005ec0ce8000000fc1d..."} 
[2026-07-01 09:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1be8fdd0012d7d30c005ec0ce8000000fc1d..."} 
[2026-07-01 09:53:11] local.INFO: Processing buffer {"connection_id":119678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1be8fdd0012d7d30c005ec0ce8000000fc1d..."} 
[2026-07-01 09:53:11] local.INFO: Packet analysis {"connection_id":119678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1be8"} 
[2026-07-01 09:53:11] local.INFO: Extracted packet for processing {"connection_id":119678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1be8"} 
[2026-07-01 09:53:11] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":0,"angle":252,"satellites":29,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417121536001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 09:53:11] 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-01 09:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1782879682000,"timestamp_ms":1782879682000,"timestamp_seconds":1782879682,"priority":1,"record_length":96,"hex_timestamp":"0000019f1be8fdd0"} 
[2026-07-01 09:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:53:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-01 09:53:11] 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-01 09:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":119678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":119678,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":119678,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417121536001,"66":2231,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417121536001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:53:11] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:53:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 09:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417121536001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 09:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":119678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416935,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:53:11] local.INFO: GPS data processed {"connection_id":119678,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:53:11] local.INFO: Acknowledgment sent {"connection_id":119678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:53:18] local.INFO: TCP Data received {"connection_id":119011,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119011,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:53:18] local.INFO: Processing buffer {"connection_id":119011,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:53:18] local.INFO: IMEI packet received {"connection_id":119011,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 09:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":119011,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:53:21] local.INFO: TCP Data received {"connection_id":119010,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:53:21] local.INFO: Processing buffer {"connection_id":119010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:53:21] local.INFO: IMEI packet received {"connection_id":119010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 09:53:21] local.INFO: IMEI acknowledgment sent {"connection_id":119010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:53:22] local.INFO: TCP Data received {"connection_id":119010,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:53:22] local.INFO: Processing buffer {"connection_id":119010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:53:22] local.INFO: IMEI packet received {"connection_id":119010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:53:22] local.INFO: IMEI acknowledgment sent {"connection_id":119010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:53:23] local.INFO: TCP Data received {"connection_id":119011,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119011,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:53:23] local.INFO: Processing buffer {"connection_id":119011,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:53:23] local.INFO: IMEI packet received {"connection_id":119011,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":119011,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:53:25] local.INFO: TCP Data received {"connection_id":119011,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f1be8fdd0012d7d30c005ec0ce8000000fc1d..."} 
[2026-07-01 09:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1be8fdd0012d7d30c005ec0ce8000000fc1d..."} 
[2026-07-01 09:53:25] local.INFO: Processing buffer {"connection_id":119011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1be8fdd0012d7d30c005ec0ce8000000fc1d..."} 
[2026-07-01 09:53:25] local.INFO: Packet analysis {"connection_id":119011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1be8"} 
[2026-07-01 09:53:25] local.INFO: Extracted packet for processing {"connection_id":119011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1be8"} 
[2026-07-01 09:53:25] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":0,"angle":252,"satellites":29,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09: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-01 09:53:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417121536001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:53:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:53:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 09:53:25] 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-01 09:53:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782879682000,"timestamp_ms":1782879682000,"timestamp_seconds":1782879682,"priority":1,"record_length":96,"hex_timestamp":"0000019f1be8fdd0"} 
[2026-07-01 09: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-01 09:53:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-01 09:53: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-01 09: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-01 09: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-01 09:53:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:53:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:53:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:53:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:53:25] 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-01 09:53:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:53:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:53:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417121536001,"66":2231,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:53:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:53:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:53:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417121536001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:53:25] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:53:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:53:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:53:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 09:53:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417121536001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 09:53:25] local.INFO: DEBUG: GPS processor result {"connection_id":119011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416936,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:53:25] local.INFO: GPS data processed {"connection_id":119011,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:53:25] local.INFO: Acknowledgment sent {"connection_id":119011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:53:26] local.INFO: TCP Data received {"connection_id":119010,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:53:26] local.INFO: Processing buffer {"connection_id":119010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:53:26] local.INFO: IMEI packet received {"connection_id":119010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":119010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:53:28] local.INFO: TCP Data received {"connection_id":119010,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f1be93c50012d07400006f70d48000d014029..."} 
[2026-07-01 09:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1be93c50012d07400006f70d48000d014029..."} 
[2026-07-01 09:53:28] local.INFO: Processing buffer {"connection_id":119010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1be93c50012d07400006f70d48000d014029..."} 
[2026-07-01 09:53:28] local.INFO: Packet analysis {"connection_id":119010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1be9"} 
[2026-07-01 09:53:28] local.INFO: Extracted packet for processing {"connection_id":119010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1be9"} 
[2026-07-01 09:53:28] local.INFO: GPS Element Parsed {"raw_longitude":755449856,"raw_latitude":116854088,"longitude_deg":75.5449856,"latitude_deg":11.6854088,"altitude":13,"angle":320,"satellites":41,"speed":34,"hex_longitude":"2d074000","hex_latitude":"06f70d48","is_valid_coordinates":true} 
[2026-07-01 09:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:53:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417199616001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:53:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333163048397176832,"note":"Value kept but may cause issues"} 
[2026-07-01 09:53:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":528750773663709184,"note":"Value kept but may cause issues"} 
[2026-07-01 09:53:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:53:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782879698000,"timestamp_ms":1782879698000,"timestamp_seconds":1782879698,"priority":1,"record_length":96,"hex_timestamp":"0000019f1be93c50"} 
[2026-07-01 09:53:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:53: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-01 09:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 09:53:28] 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-01 09:53:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:53:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:53:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:53:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:53:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:53:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:53:28] 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-01 09:53:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:53:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:53:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417199616001,"66":27930,"43":206,"80":6400,"24":34,"16":333163048397176832,"45":528750773663709184},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,80,24,16,45]} 
[2026-07-01 09:53:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:53:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:53:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417199616001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:53:28] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-01 09:53:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:53:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333163048397176832,"km_value":333163048397176.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:53:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":528750773663709184,"description":"Unknown IO ID 45"} 
[2026-07-01 09:53:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417199616001,"power":27930,"unknown_43":206,"unknown_80":6400,"ignition":34,"odometer":null,"unknown_45":528750773663709184}} 
[2026-07-01 09:53:28] local.INFO: DEBUG: GPS processor result {"connection_id":119010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:53:28] local.INFO: GPS data processed {"connection_id":119010,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:53:28] local.INFO: Acknowledgment sent {"connection_id":119010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:53:29] local.INFO: TCP Data received {"connection_id":119010,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f1be96360012d07294006f72888000f01442b..."} 
[2026-07-01 09:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1be96360012d07294006f72888000f01442b..."} 
[2026-07-01 09:53:29] local.INFO: Processing buffer {"connection_id":119010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1be96360012d07294006f72888000f01442b..."} 
[2026-07-01 09:53:29] local.INFO: Packet analysis {"connection_id":119010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1be9"} 
[2026-07-01 09:53:29] local.INFO: Extracted packet for processing {"connection_id":119010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1be9"} 
[2026-07-01 09:53:29] local.INFO: GPS Element Parsed {"raw_longitude":755444032,"raw_latitude":116861064,"longitude_deg":75.5444032,"latitude_deg":11.6861064,"altitude":15,"angle":324,"satellites":43,"speed":31,"hex_longitude":"2d072940","hex_latitude":"06f72888","is_valid_coordinates":true} 
[2026-07-01 09: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-01 09:53:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417202688001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:53:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333163482188873728,"note":"Value kept but may cause issues"} 
[2026-07-01 09:53:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":522417586689624064,"note":"Value kept but may cause issues"} 
[2026-07-01 09:53:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:53:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782879708000,"timestamp_ms":1782879708000,"timestamp_seconds":1782879708,"priority":1,"record_length":96,"hex_timestamp":"0000019f1be96360"} 
[2026-07-01 09: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-01 09:53:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-01 09:53:29] 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-01 09: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-01 09: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-01 09:53:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:53:29] local.INFO: Teltonika packet parsed successfully {"connection_id":119010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:53:29] local.INFO: Passing IMEI to GPS processor {"connection_id":119010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:53:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":119010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:53:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:53:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:53:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:53:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417202688001,"66":27876,"43":206,"80":6400,"24":31,"16":333163482188873728,"45":522417586689624064},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,80,24,16,45]} 
[2026-07-01 09:53:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:53:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:53:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417202688001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:53:29] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-07-01 09:53:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:53:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333163482188873728,"km_value":333163482188873.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:53:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":522417586689624064,"description":"Unknown IO ID 45"} 
[2026-07-01 09:53:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417202688001,"power":27876,"unknown_43":206,"unknown_80":6400,"ignition":31,"odometer":null,"unknown_45":522417586689624064}} 
[2026-07-01 09:53:29] local.INFO: DEBUG: GPS processor result {"connection_id":119010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:53:29] local.INFO: GPS data processed {"connection_id":119010,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:53:29] local.INFO: Acknowledgment sent {"connection_id":119010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:53:33] local.INFO: TCP Data received {"connection_id":119010,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f1be98688012d07134006f74428000e013f28..."} 
[2026-07-01 09:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1be98688012d07134006f74428000e013f28..."} 
[2026-07-01 09:53:33] local.INFO: Processing buffer {"connection_id":119010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1be98688012d07134006f74428000e013f28..."} 
[2026-07-01 09:53:33] local.INFO: Packet analysis {"connection_id":119010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1be9"} 
[2026-07-01 09:53:33] local.INFO: Extracted packet for processing {"connection_id":119010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1be9"} 
[2026-07-01 09:53:33] local.INFO: GPS Element Parsed {"raw_longitude":755438400,"raw_latitude":116868136,"longitude_deg":75.54384,"latitude_deg":11.6868136,"altitude":14,"angle":319,"satellites":40,"speed":45,"hex_longitude":"2d071340","hex_latitude":"06f74428","is_valid_coordinates":true} 
[2026-07-01 09: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-01 09:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417205248001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333163920275537920,"note":"Value kept but may cause issues"} 
[2026-07-01 09:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":516014030971242496,"note":"Value kept but may cause issues"} 
[2026-07-01 09:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782879717000,"timestamp_ms":1782879717000,"timestamp_seconds":1782879717,"priority":1,"record_length":96,"hex_timestamp":"0000019f1be98688"} 
[2026-07-01 09: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-01 09:53:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-01 09:53:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09: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-01 09: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-01 09:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":119010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":119010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":119010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417205248001,"66":27865,"13":206,"80":6400,"24":45,"16":333163920275537920,"45":516014030971242496},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,80,24,16,45]} 
[2026-07-01 09:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417205248001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:53:33] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-07-01 09:53:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333163920275537920,"km_value":333163920275537.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":516014030971242496,"description":"Unknown IO ID 45"} 
[2026-07-01 09:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417205248001,"power":27865,"unknown_13":206,"unknown_80":6400,"ignition":45,"odometer":null,"unknown_45":516014030971242496}} 
[2026-07-01 09:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":119010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:53:33] local.INFO: GPS data processed {"connection_id":119010,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:53:33] local.INFO: Acknowledgment sent {"connection_id":119010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:53:58] local.INFO: TCP Data received {"connection_id":119011,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f1be8fdd0012d7d30c005ec0ce8000000fc1d..."} 
[2026-07-01 09:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1be8fdd0012d7d30c005ec0ce8000000fc1d..."} 
[2026-07-01 09:53:58] local.INFO: Processing buffer {"connection_id":119011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1be8fdd0012d7d30c005ec0ce8000000fc1d..."} 
[2026-07-01 09:53:58] local.INFO: Packet analysis {"connection_id":119011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1be8"} 
[2026-07-01 09:53:58] local.INFO: Extracted packet for processing {"connection_id":119011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1be8"} 
[2026-07-01 09:53:58] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":0,"angle":252,"satellites":29,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:53:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417121536001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:53:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:53:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 09:53:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:53:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782879682000,"timestamp_ms":1782879682000,"timestamp_seconds":1782879682,"priority":1,"record_length":96,"hex_timestamp":"0000019f1be8fdd0"} 
[2026-07-01 09:53:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:53:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-01 09:53:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:53:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:53:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:53:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:53:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:53:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:53:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119011,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:53:58] 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-01 09:53:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:53:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:53:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417121536001,"66":2231,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:53:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:53:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:53:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417121536001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:53:58] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:53:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:53:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:53:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 09:53:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417121536001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 09:53:58] local.INFO: DEBUG: GPS processor result {"connection_id":119011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416940,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:53:58] local.INFO: GPS data processed {"connection_id":119011,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:53:58] local.INFO: Acknowledgment sent {"connection_id":119011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:54:05] local.INFO: TCP Data received {"connection_id":119010,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f1be9a5c8012d06fb0006f76090000e014129..."} 
[2026-07-01 09:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1be9a5c8012d06fb0006f76090000e014129..."} 
[2026-07-01 09:54:05] local.INFO: Processing buffer {"connection_id":119010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1be9a5c8012d06fb0006f76090000e014129..."} 
[2026-07-01 09:54:05] local.INFO: Packet analysis {"connection_id":119010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1be9"} 
[2026-07-01 09:54:05] local.INFO: Extracted packet for processing {"connection_id":119010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1be9"} 
[2026-07-01 09:54:05] local.INFO: GPS Element Parsed {"raw_longitude":755432192,"raw_latitude":116875408,"longitude_deg":75.5432192,"latitude_deg":11.6875408,"altitude":14,"angle":321,"satellites":41,"speed":40,"hex_longitude":"2d06fb00","hex_latitude":"06f76090","is_valid_coordinates":true} 
[2026-07-01 09: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-01 09:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417207552001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333164379837038592,"note":"Value kept but may cause issues"} 
[2026-07-01 09:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":509821581485418496,"note":"Value kept but may cause issues"} 
[2026-07-01 09:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782879725000,"timestamp_ms":1782879725000,"timestamp_seconds":1782879725,"priority":1,"record_length":96,"hex_timestamp":"0000019f1be9a5c8"} 
[2026-07-01 09: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-01 09:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 09:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09: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-01 09: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-01 09:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":119010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":119010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":119010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:54:05] 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-01 09:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417207552001,"66":27843,"13":206,"80":6400,"24":40,"16":333164379837038592,"45":509821581485418496},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,80,24,16,45]} 
[2026-07-01 09:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417207552001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:54:05] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-07-01 09:54:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333164379837038592,"km_value":333164379837038.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":509821581485418496,"description":"Unknown IO ID 45"} 
[2026-07-01 09:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417207552001,"power":27843,"unknown_13":206,"unknown_80":6400,"ignition":40,"odometer":null,"unknown_45":509821581485418496}} 
[2026-07-01 09:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":119010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:54:05] local.INFO: GPS data processed {"connection_id":119010,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:54:05] local.INFO: Acknowledgment sent {"connection_id":119010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:54:18] local.INFO: TCP Data received {"connection_id":119012,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119012,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:54:18] local.INFO: Processing buffer {"connection_id":119012,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:54:18] local.INFO: IMEI packet received {"connection_id":119012,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 09:54:18] local.INFO: IMEI acknowledgment sent {"connection_id":119012,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:54:21] local.INFO: TCP Data received {"connection_id":120771,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:54:21] local.INFO: Processing buffer {"connection_id":120771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:54:21] local.INFO: IMEI packet received {"connection_id":120771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 09:54:21] local.INFO: IMEI acknowledgment sent {"connection_id":120771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:54:24] local.INFO: TCP Data received {"connection_id":119012,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119012,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:54:24] local.INFO: Processing buffer {"connection_id":119012,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:54:24] local.INFO: IMEI packet received {"connection_id":119012,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":119012,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:54:25] local.INFO: TCP Data received {"connection_id":119012,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f1be8fdd0012d7d30c005ec0ce8000000fc1d..."} 
[2026-07-01 09:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1be8fdd0012d7d30c005ec0ce8000000fc1d..."} 
[2026-07-01 09:54:25] local.INFO: Processing buffer {"connection_id":119012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1be8fdd0012d7d30c005ec0ce8000000fc1d..."} 
[2026-07-01 09:54:25] local.INFO: Packet analysis {"connection_id":119012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1be8"} 
[2026-07-01 09:54:25] local.INFO: Extracted packet for processing {"connection_id":119012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1be8"} 
[2026-07-01 09:54:25] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":0,"angle":252,"satellites":29,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09:54:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:54:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417121536001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:54:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:54:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 09:54:25] 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-01 09:54:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782879682000,"timestamp_ms":1782879682000,"timestamp_seconds":1782879682,"priority":1,"record_length":96,"hex_timestamp":"0000019f1be8fdd0"} 
[2026-07-01 09:54:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:54:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:54:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-01 09:54: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-01 09:54:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:54:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:54:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:54:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:54:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119012,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:54:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119012,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:54:25] 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-01 09:54:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:54:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:54:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417121536001,"66":2231,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:54:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:54:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:54:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417121536001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:54:25] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:54:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:54:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:54:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 09:54:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417121536001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 09:54:25] local.INFO: DEBUG: GPS processor result {"connection_id":119012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416942,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:54:25] local.INFO: GPS data processed {"connection_id":119012,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:54:25] local.INFO: Acknowledgment sent {"connection_id":119012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:54:25] local.INFO: TCP Data received {"connection_id":120771,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:54:25] local.INFO: Processing buffer {"connection_id":120771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:54:25] local.INFO: IMEI packet received {"connection_id":120771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:54:25] local.INFO: IMEI acknowledgment sent {"connection_id":120771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:54:26] local.INFO: TCP Data received {"connection_id":120771,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:54:26] local.INFO: Processing buffer {"connection_id":120771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:54:26] local.INFO: IMEI packet received {"connection_id":120771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":120771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:54:28] local.INFO: TCP Data received {"connection_id":120771,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f1be9dc78012d06e38006f77c10000d013d29..."} 
[2026-07-01 09:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1be9dc78012d06e38006f77c10000d013d29..."} 
[2026-07-01 09:54:28] local.INFO: Processing buffer {"connection_id":120771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1be9dc78012d06e38006f77c10000d013d29..."} 
[2026-07-01 09:54:28] local.INFO: Packet analysis {"connection_id":120771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1be9"} 
[2026-07-01 09:54:28] local.INFO: Extracted packet for processing {"connection_id":120771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1be9"} 
[2026-07-01 09:54:28] local.INFO: GPS Element Parsed {"raw_longitude":755426176,"raw_latitude":116882448,"longitude_deg":75.5426176,"latitude_deg":11.6882448,"altitude":13,"angle":317,"satellites":41,"speed":27,"hex_longitude":"2d06e380","hex_latitude":"06f77c10","is_valid_coordinates":true} 
[2026-07-01 09:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417209600001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:54:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333164822218670080,"note":"Value kept but may cause issues"} 
[2026-07-01 09:54:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":502995813302046720,"note":"Value kept but may cause issues"} 
[2026-07-01 09:54:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:54:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782879739000,"timestamp_ms":1782879739000,"timestamp_seconds":1782879739,"priority":1,"record_length":96,"hex_timestamp":"0000019f1be9dc78"} 
[2026-07-01 09:54:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:54: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-01 09:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 09:54:28] 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-01 09:54:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:54:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:54:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:54:28] local.INFO: Teltonika packet parsed successfully {"connection_id":120771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:54:28] local.INFO: Passing IMEI to GPS processor {"connection_id":120771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:54:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":120771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:54:28] 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-01 09:54:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:54:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:54:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417209600001,"66":27691,"13":206,"80":6400,"24":27,"16":333164822218670080,"45":502995813302046720},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,80,24,16,45]} 
[2026-07-01 09:54:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:54:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:54:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417209600001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:54:28] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-07-01 09:54:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:54:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333164822218670080,"km_value":333164822218670.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:54:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":502995813302046720,"description":"Unknown IO ID 45"} 
[2026-07-01 09:54:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417209600001,"power":27691,"unknown_13":206,"unknown_80":6400,"ignition":27,"odometer":null,"unknown_45":502995813302046720}} 
[2026-07-01 09:54:28] local.INFO: DEBUG: GPS processor result {"connection_id":120771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:54:28] local.INFO: GPS data processed {"connection_id":120771,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:54:28] local.INFO: Acknowledgment sent {"connection_id":120771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:54:29] local.INFO: TCP Data received {"connection_id":120771,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bea0388012d06cb4006f797a8000b013e29..."} 
[2026-07-01 09:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bea0388012d06cb4006f797a8000b013e29..."} 
[2026-07-01 09:54:29] local.INFO: Processing buffer {"connection_id":120771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bea0388012d06cb4006f797a8000b013e29..."} 
[2026-07-01 09:54:29] local.INFO: Packet analysis {"connection_id":120771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bea"} 
[2026-07-01 09:54:29] local.INFO: Extracted packet for processing {"connection_id":120771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bea"} 
[2026-07-01 09:54:29] local.INFO: GPS Element Parsed {"raw_longitude":755419968,"raw_latitude":116889512,"longitude_deg":75.5419968,"latitude_deg":11.6889512,"altitude":11,"angle":318,"satellites":41,"speed":45,"hex_longitude":"2d06cb40","hex_latitude":"06f797a8","is_valid_coordinates":true} 
[2026-07-01 09: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-01 09:54:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417213184001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:54:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333165273190236160,"note":"Value kept but may cause issues"} 
[2026-07-01 09:54:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":496381151351148544,"note":"Value kept but may cause issues"} 
[2026-07-01 09:54:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:54:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782879749000,"timestamp_ms":1782879749000,"timestamp_seconds":1782879749,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bea0388"} 
[2026-07-01 09: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-01 09:54: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-01 09: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-01 09:54:29] 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-01 09: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-01 09: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-01 09:54:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:54:29] local.INFO: Teltonika packet parsed successfully {"connection_id":120771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:54:29] local.INFO: Passing IMEI to GPS processor {"connection_id":120771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:54:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":120771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:54:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:54:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:54:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:54:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417213184001,"66":27930,"13":206,"80":6400,"24":45,"16":333165273190236160,"45":496381151351148544},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,80,24,16,45]} 
[2026-07-01 09:54:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:54:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:54:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417213184001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:54:29] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-07-01 09:54:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-07-01 09:54:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333165273190236160,"km_value":333165273190236.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:54:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":496381151351148544,"description":"Unknown IO ID 45"} 
[2026-07-01 09:54:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417213184001,"power":27930,"unknown_13":206,"unknown_80":6400,"ignition":45,"odometer":null,"unknown_45":496381151351148544}} 
[2026-07-01 09:54:29] local.INFO: DEBUG: GPS processor result {"connection_id":120771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:54:29] local.INFO: GPS data processed {"connection_id":120771,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:54:29] local.INFO: Acknowledgment sent {"connection_id":120771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:54:36] local.INFO: TCP Data received {"connection_id":118898,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118898,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:54:36] local.INFO: Processing buffer {"connection_id":118898,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:54:36] local.INFO: IMEI packet received {"connection_id":118898,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 09:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":118898,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:54:56] local.INFO: TCP Data received {"connection_id":119012,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f1be8fdd0012d7d30c005ec0ce8000000fc1d..."} 
[2026-07-01 09:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1be8fdd0012d7d30c005ec0ce8000000fc1d..."} 
[2026-07-01 09:54:56] local.INFO: Processing buffer {"connection_id":119012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1be8fdd0012d7d30c005ec0ce8000000fc1d..."} 
[2026-07-01 09:54:56] local.INFO: Packet analysis {"connection_id":119012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1be8"} 
[2026-07-01 09:54:56] local.INFO: Extracted packet for processing {"connection_id":119012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1be8"} 
[2026-07-01 09:54:56] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":0,"angle":252,"satellites":29,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417121536001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:54:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 09:54: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-01 09:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782879682000,"timestamp_ms":1782879682000,"timestamp_seconds":1782879682,"priority":1,"record_length":96,"hex_timestamp":"0000019f1be8fdd0"} 
[2026-07-01 09:54:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:54:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-01 09:54:56] 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-01 09:54:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:54:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":119012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":119012,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":119012,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417121536001,"66":2231,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417121536001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:54:56] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:54:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:54:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 09:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417121536001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 09:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":119012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416945,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:54:56] local.INFO: GPS data processed {"connection_id":119012,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:54:56] local.INFO: Acknowledgment sent {"connection_id":119012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:55:00] local.INFO: TCP Data received {"connection_id":120771,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f1beb3c08012d05d94006f89ea0000b015526..."} 
[2026-07-01 09:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1beb3c08012d05d94006f89ea0000b015526..."} 
[2026-07-01 09:55:00] local.INFO: Processing buffer {"connection_id":120771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1beb3c08012d05d94006f89ea0000b015526..."} 
[2026-07-01 09:55:00] local.INFO: Packet analysis {"connection_id":120771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1beb"} 
[2026-07-01 09:55:00] local.INFO: Extracted packet for processing {"connection_id":120771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1beb"} 
[2026-07-01 09:55:00] local.INFO: GPS Element Parsed {"raw_longitude":755358016,"raw_latitude":116956832,"longitude_deg":75.5358016,"latitude_deg":11.6956832,"altitude":11,"angle":341,"satellites":38,"speed":32,"hex_longitude":"2d05d940","hex_latitude":"06f89ea0","is_valid_coordinates":true} 
[2026-07-01 09:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417235200001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333169684121649152,"note":"Value kept but may cause issues"} 
[2026-07-01 09:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":422845813703786496,"note":"Value kept but may cause issues"} 
[2026-07-01 09:55:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,4,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782879829000,"timestamp_ms":1782879829000,"timestamp_seconds":1782879829,"priority":1,"record_length":96,"hex_timestamp":"0000019f1beb3c08"} 
[2026-07-01 09:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:55:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 09:55:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:55:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":120771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":120771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":120771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:55:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417235200001,"66":27887,"4":206,"94":11008,"24":32,"16":333169684121649152,"45":422845813703786496},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,94,24,16,45]} 
[2026-07-01 09:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417235200001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:55:00] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-07-01 09:55:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-01 09:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333169684121649152,"km_value":333169684121649.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:55:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":422845813703786496,"description":"Unknown IO ID 45"} 
[2026-07-01 09:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417235200001,"power":27887,"unknown_4":206,"unknown_94":11008,"ignition":32,"odometer":null,"unknown_45":422845813703786496}} 
[2026-07-01 09:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":120771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:55:00] local.INFO: GPS data processed {"connection_id":120771,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:55:00] local.INFO: Acknowledgment sent {"connection_id":120771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:55:16] local.INFO: TCP Data received {"connection_id":118899,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118899,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:55:16] local.INFO: Processing buffer {"connection_id":118899,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 09:55:16] local.INFO: IMEI packet received {"connection_id":118899,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 09:55:16] local.INFO: IMEI acknowledgment sent {"connection_id":118899,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:55:23] local.INFO: TCP Data received {"connection_id":118900,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118900,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:55:23] local.INFO: Processing buffer {"connection_id":118900,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:55:23] local.INFO: IMEI packet received {"connection_id":118900,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 09:55:23] local.INFO: IMEI acknowledgment sent {"connection_id":118900,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:55:26] local.INFO: TCP Data received {"connection_id":118901,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:55:26] local.INFO: Processing buffer {"connection_id":118901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:55:26] local.INFO: IMEI packet received {"connection_id":118901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 09:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":118901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:55:27] local.INFO: TCP Data received {"connection_id":118901,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:55:27] local.INFO: Processing buffer {"connection_id":118901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:55:27] local.INFO: IMEI packet received {"connection_id":118901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:55:27] local.INFO: IMEI acknowledgment sent {"connection_id":118901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:55:28] local.INFO: TCP Data received {"connection_id":118900,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118900,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:55:28] local.INFO: Processing buffer {"connection_id":118900,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:55:28] local.INFO: IMEI packet received {"connection_id":118900,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:55:28] local.INFO: IMEI acknowledgment sent {"connection_id":118900,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:55:30] local.INFO: TCP Data received {"connection_id":118900,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f1be8fdd0012d7d30c005ec0ce8000000fc1d..."} 
[2026-07-01 09:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1be8fdd0012d7d30c005ec0ce8000000fc1d..."} 
[2026-07-01 09:55:30] local.INFO: Processing buffer {"connection_id":118900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1be8fdd0012d7d30c005ec0ce8000000fc1d..."} 
[2026-07-01 09:55:30] local.INFO: Packet analysis {"connection_id":118900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1be8"} 
[2026-07-01 09:55:30] local.INFO: Extracted packet for processing {"connection_id":118900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1be8"} 
[2026-07-01 09:55:30] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":0,"angle":252,"satellites":29,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09: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-01 09:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417121536001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:55:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 09:55:30] 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-01 09:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782879682000,"timestamp_ms":1782879682000,"timestamp_seconds":1782879682,"priority":1,"record_length":96,"hex_timestamp":"0000019f1be8fdd0"} 
[2026-07-01 09: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-01 09:55:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-01 09:55:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09: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-01 09: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-01 09:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":118900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":118900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":118900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:55:30] 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-01 09:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417121536001,"66":2231,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417121536001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:55:30] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:55:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:55:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 09:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417121536001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 09:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":118900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416947,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:55:30] local.INFO: GPS data processed {"connection_id":118900,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:55:30] local.INFO: Acknowledgment sent {"connection_id":118900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:55:30] local.INFO: TCP Data received {"connection_id":118901,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:55:30] local.INFO: Processing buffer {"connection_id":118901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:55:30] local.INFO: IMEI packet received {"connection_id":118901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":118901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:55:31] local.INFO: TCP Data received {"connection_id":118901,"ip":"42.106.6.18","data_length":1348,"data_hex":"000000000000030f8e0a0000019f1beb6700012d05ccc006f8c028000c015124..."} 
[2026-07-01 09:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118901,"packet_length":1348,"packet_hex":"000000000000030f8e0a0000019f1beb6700012d05ccc006f8c028000c015124..."} 
[2026-07-01 09:55:31] local.INFO: Processing buffer {"connection_id":118901,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a0000019f1beb6700012d05ccc006f8c028000c015124..."} 
[2026-07-01 09:55:31] local.INFO: Packet analysis {"connection_id":118901,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a0000019f1beb"} 
[2026-07-01 09:55:31] local.INFO: Extracted packet for processing {"connection_id":118901,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019f1beb"} 
[2026-07-01 09:55:31] local.INFO: GPS Element Parsed {"raw_longitude":755354816,"raw_latitude":116965416,"longitude_deg":75.5354816,"latitude_deg":11.6965416,"altitude":12,"angle":337,"satellites":36,"speed":31,"hex_longitude":"2d05ccc0","hex_latitude":"06f8c028","is_valid_coordinates":true} 
[2026-07-01 09:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417236224001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333170126503280640,"note":"Value kept but may cause issues"} 
[2026-07-01 09:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":421438438820978688,"note":"Value kept but may cause issues"} 
[2026-07-01 09:55:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,4,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782879840000,"timestamp_ms":1782879840000,"timestamp_seconds":1782879840,"priority":1,"record_length":96,"hex_timestamp":"0000019f1beb6700"} 
[2026-07-01 09:55:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:55:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-01 09:55:31] 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-01 09:55:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:55:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":118901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":118901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":118901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:55:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417236224001,"66":27908,"4":206,"94":11008,"24":31,"16":333170126503280640,"45":421438438820978688},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,94,24,16,45]} 
[2026-07-01 09:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417236224001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:55:31] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-07-01 09:55:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-01 09:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333170126503280640,"km_value":333170126503280.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":421438438820978688,"description":"Unknown IO ID 45"} 
[2026-07-01 09:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417236224001,"power":27908,"unknown_4":206,"unknown_94":11008,"ignition":31,"odometer":null,"unknown_45":421438438820978688}} 
[2026-07-01 09:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":118901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:55:31] local.INFO: GPS data processed {"connection_id":118901,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:55:31] local.INFO: Acknowledgment sent {"connection_id":118901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:55:31] local.INFO: Packet analysis {"connection_id":118901,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019f1beb"} 
[2026-07-01 09:55:31] local.INFO: Incomplete packet, waiting for more data {"connection_id":118901,"needed":795,"available":553} 
[2026-07-01 09:55:34] local.INFO: TCP Data received {"connection_id":118901,"ip":"42.106.6.18","data_length":242,"data_hex":"0000000000019f1beab738012d06390006f83a100009013e27002f0000000a00..."} 
[2026-07-01 09:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118901,"packet_length":242,"packet_hex":"0000000000019f1beab738012d06390006f83a100009013e27002f0000000a00..."} 
[2026-07-01 09:55:34] local.INFO: Processing buffer {"connection_id":118901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1beb95e0012d05c10006f8e438000b015528..."} 
[2026-07-01 09:55:34] local.INFO: Packet analysis {"connection_id":118901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1beb"} 
[2026-07-01 09:55:34] local.INFO: Extracted packet for processing {"connection_id":118901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1beb"} 
[2026-07-01 09:55:34] local.INFO: GPS Element Parsed {"raw_longitude":755351808,"raw_latitude":116974648,"longitude_deg":75.5351808,"latitude_deg":11.6974648,"altitude":11,"angle":341,"satellites":40,"speed":37,"hex_longitude":"2d05c100","hex_latitude":"06f8e438","is_valid_coordinates":true} 
[2026-07-01 09:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417239040001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333170598949683200,"note":"Value kept but may cause issues"} 
[2026-07-01 09:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":417920001614292992,"note":"Value kept but may cause issues"} 
[2026-07-01 09:55:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,4,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782879852000,"timestamp_ms":1782879852000,"timestamp_seconds":1782879852,"priority":1,"record_length":96,"hex_timestamp":"0000019f1beb95e0"} 
[2026-07-01 09:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:55:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 09:55:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:55:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":118901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":118901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":118901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:55:34] 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-01 09:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417239040001,"66":27908,"4":206,"94":11008,"24":37,"16":333170598949683200,"45":417920001614292992},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,94,24,16,45]} 
[2026-07-01 09:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417239040001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:55:34] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-07-01 09:55:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-01 09:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333170598949683200,"km_value":333170598949683.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":417920001614292992,"description":"Unknown IO ID 45"} 
[2026-07-01 09:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417239040001,"power":27908,"unknown_4":206,"unknown_94":11008,"ignition":37,"odometer":null,"unknown_45":417920001614292992}} 
[2026-07-01 09:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":118901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:55:34] local.INFO: GPS data processed {"connection_id":118901,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:55:34] local.INFO: Acknowledgment sent {"connection_id":118901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:55:36] local.INFO: TCP Data received {"connection_id":118901,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bebc0d8012d05b50006f906f00011015427..."} 
[2026-07-01 09:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bebc0d8012d05b50006f906f00011015427..."} 
[2026-07-01 09:55:36] local.INFO: Processing buffer {"connection_id":118901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bebc0d8012d05b50006f906f00011015427..."} 
[2026-07-01 09:55:36] local.INFO: Packet analysis {"connection_id":118901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1beb"} 
[2026-07-01 09:55:36] local.INFO: Extracted packet for processing {"connection_id":118901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1beb"} 
[2026-07-01 09:55:36] local.INFO: GPS Element Parsed {"raw_longitude":755348736,"raw_latitude":116983536,"longitude_deg":75.5348736,"latitude_deg":11.6983536,"altitude":17,"angle":340,"satellites":39,"speed":31,"hex_longitude":"2d05b500","hex_latitude":"06f906f0","is_valid_coordinates":true} 
[2026-07-01 09:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417242112001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333171054216216576,"note":"Value kept but may cause issues"} 
[2026-07-01 09:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":414612670640306176,"note":"Value kept but may cause issues"} 
[2026-07-01 09:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782879863000,"timestamp_ms":1782879863000,"timestamp_seconds":1782879863,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bebc0d8"} 
[2026-07-01 09:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 09:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":118901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":118901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":118901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:55:36] 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-01 09:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417242112001,"66":27691,"5":206,"94":11008,"24":31,"16":333171054216216576,"45":414612670640306176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,94,24,16,45]} 
[2026-07-01 09:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417242112001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:55:36] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-07-01 09:55:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-01 09:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333171054216216576,"km_value":333171054216216.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":414612670640306176,"description":"Unknown IO ID 45"} 
[2026-07-01 09:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417242112001,"power":27691,"unknown_5":206,"unknown_94":11008,"ignition":31,"odometer":null,"unknown_45":414612670640306176}} 
[2026-07-01 09:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":118901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:55:36] local.INFO: GPS data processed {"connection_id":118901,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:55:36] local.INFO: Acknowledgment sent {"connection_id":118901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:56:01] local.INFO: TCP Data received {"connection_id":118900,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f1be8fdd0012d7d30c005ec0ce8000000fc1d..."} 
[2026-07-01 09:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1be8fdd0012d7d30c005ec0ce8000000fc1d..."} 
[2026-07-01 09:56:01] local.INFO: Processing buffer {"connection_id":118900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1be8fdd0012d7d30c005ec0ce8000000fc1d..."} 
[2026-07-01 09:56:01] local.INFO: Packet analysis {"connection_id":118900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1be8"} 
[2026-07-01 09:56:01] local.INFO: Extracted packet for processing {"connection_id":118900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1be8"} 
[2026-07-01 09:56:01] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":0,"angle":252,"satellites":29,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417121536001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:56:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 09:56:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782879682000,"timestamp_ms":1782879682000,"timestamp_seconds":1782879682,"priority":1,"record_length":96,"hex_timestamp":"0000019f1be8fdd0"} 
[2026-07-01 09:56:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:56:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-01 09:56:01] 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-01 09:56:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:56:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":118900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":118900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":118900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:56:01] 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-01 09:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417121536001,"66":2231,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417121536001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:56:01] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:56:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:56:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 09:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417121536001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 09:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":118900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416951,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:56:01] local.INFO: GPS data processed {"connection_id":118900,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:56:01] local.INFO: Acknowledgment sent {"connection_id":118900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:56:18] local.INFO: TCP Data received {"connection_id":119680,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119680,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:56:18] local.INFO: Processing buffer {"connection_id":119680,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:56:18] local.INFO: IMEI packet received {"connection_id":119680,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 09:56:18] local.INFO: IMEI acknowledgment sent {"connection_id":119680,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:56:20] local.INFO: TCP Data received {"connection_id":120772,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:56:20] local.INFO: Processing buffer {"connection_id":120772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:56:20] local.INFO: IMEI packet received {"connection_id":120772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 09:56:20] local.INFO: IMEI acknowledgment sent {"connection_id":120772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:56:21] local.INFO: TCP Data received {"connection_id":120772,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:56:21] local.INFO: Processing buffer {"connection_id":120772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:56:21] local.INFO: IMEI packet received {"connection_id":120772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":120772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:56:22] local.INFO: TCP Data received {"connection_id":120772,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:56:22] local.INFO: Processing buffer {"connection_id":120772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:56:22] local.INFO: IMEI packet received {"connection_id":120772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:56:22] local.INFO: IMEI acknowledgment sent {"connection_id":120772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:56:23] local.INFO: TCP Data received {"connection_id":120772,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:56:23] local.INFO: Processing buffer {"connection_id":120772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:56:23] local.INFO: IMEI packet received {"connection_id":120772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:56:23] local.INFO: IMEI acknowledgment sent {"connection_id":120772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:56:23] local.INFO: TCP Data received {"connection_id":119680,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119680,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:56:23] local.INFO: Processing buffer {"connection_id":119680,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:56:23] local.INFO: IMEI packet received {"connection_id":119680,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:56:23] local.INFO: IMEI acknowledgment sent {"connection_id":119680,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:56:24] local.INFO: TCP Data received {"connection_id":120772,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f1becf570012d05774006f9cc50000c011924..."} 
[2026-07-01 09:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1becf570012d05774006f9cc50000c011924..."} 
[2026-07-01 09:56:24] local.INFO: Processing buffer {"connection_id":120772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1becf570012d05774006f9cc50000c011924..."} 
[2026-07-01 09:56:24] local.INFO: Packet analysis {"connection_id":120772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bec"} 
[2026-07-01 09:56:24] local.INFO: Extracted packet for processing {"connection_id":120772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bec"} 
[2026-07-01 09:56:24] local.INFO: GPS Element Parsed {"raw_longitude":755332928,"raw_latitude":117034064,"longitude_deg":75.5332928,"latitude_deg":11.7034064,"altitude":12,"angle":281,"satellites":36,"speed":19,"hex_longitude":"2d057740","hex_latitude":"06f9cc50","is_valid_coordinates":true} 
[2026-07-01 09:56:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:56:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417261824001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:56:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333174022038618112,"note":"Value kept but may cause issues"} 
[2026-07-01 09:56:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":403775884051906560,"note":"Value kept but may cause issues"} 
[2026-07-01 09:56:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:56:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782879942000,"timestamp_ms":1782879942000,"timestamp_seconds":1782879942,"priority":1,"record_length":96,"hex_timestamp":"0000019f1becf570"} 
[2026-07-01 09:56:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:56:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09:56:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 09:56:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:56:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:56:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:56:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:56:24] local.INFO: Teltonika packet parsed successfully {"connection_id":120772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:56:24] local.INFO: Passing IMEI to GPS processor {"connection_id":120772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:56:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":120772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:56:24] 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-01 09:56:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:56:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:56:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417261824001,"66":27974,"138":206,"94":11008,"24":19,"16":333174022038618112,"45":403775884051906560},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,94,24,16,45]} 
[2026-07-01 09:56:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:56:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:56:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417261824001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:56:24] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-07-01 09:56:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-01 09:56:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333174022038618112,"km_value":333174022038618.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:56:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":403775884051906560,"description":"Unknown IO ID 45"} 
[2026-07-01 09:56:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417261824001,"power":27974,"unknown_138":206,"unknown_94":11008,"ignition":19,"odometer":null,"unknown_45":403775884051906560}} 
[2026-07-01 09:56:24] local.INFO: DEBUG: GPS processor result {"connection_id":120772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:56:24] local.INFO: GPS data processed {"connection_id":120772,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:56:24] local.INFO: Acknowledgment sent {"connection_id":120772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:56:24] local.INFO: TCP Data received {"connection_id":120772,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f1becfd40012d0573c006f9cd78000c012724..."} 
[2026-07-01 09:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1becfd40012d0573c006f9cd78000c012724..."} 
[2026-07-01 09:56:24] local.INFO: Processing buffer {"connection_id":120772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1becfd40012d0573c006f9cd78000c012724..."} 
[2026-07-01 09:56:24] local.INFO: Packet analysis {"connection_id":120772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bec"} 
[2026-07-01 09:56:24] local.INFO: Extracted packet for processing {"connection_id":120772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bec"} 
[2026-07-01 09:56:24] local.INFO: GPS Element Parsed {"raw_longitude":755332032,"raw_latitude":117034360,"longitude_deg":75.5332032,"latitude_deg":11.703436,"altitude":12,"angle":295,"satellites":36,"speed":17,"hex_longitude":"2d0573c0","hex_latitude":"06f9cd78","is_valid_coordinates":true} 
[2026-07-01 09:56:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:56:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417265152001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:56:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333174069283258368,"note":"Value kept but may cause issues"} 
[2026-07-01 09:56:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":393853891123105792,"note":"Value kept but may cause issues"} 
[2026-07-01 09:56:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:56:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782879944000,"timestamp_ms":1782879944000,"timestamp_seconds":1782879944,"priority":1,"record_length":96,"hex_timestamp":"0000019f1becfd40"} 
[2026-07-01 09:56:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:56:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09:56:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-01 09:56:24] 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-01 09:56:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:56:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:56:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:56:24] local.INFO: Teltonika packet parsed successfully {"connection_id":120772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:56:24] local.INFO: Passing IMEI to GPS processor {"connection_id":120772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:56:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":120772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:56:24] 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-01 09:56:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:56:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:56:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417265152001,"66":27767,"138":206,"94":11008,"24":17,"16":333174069283258368,"45":393853891123105792},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,94,24,16,45]} 
[2026-07-01 09:56:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:56:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:56:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417265152001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:56:24] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-07-01 09:56:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-01 09:56:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333174069283258368,"km_value":333174069283258.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:56:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":393853891123105792,"description":"Unknown IO ID 45"} 
[2026-07-01 09:56:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417265152001,"power":27767,"unknown_138":206,"unknown_94":11008,"ignition":17,"odometer":null,"unknown_45":393853891123105792}} 
[2026-07-01 09:56:24] local.INFO: DEBUG: GPS processor result {"connection_id":120772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:56:24] local.INFO: GPS data processed {"connection_id":120772,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:56:24] local.INFO: Acknowledgment sent {"connection_id":120772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:56:25] local.INFO: TCP Data received {"connection_id":119680,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f1be8fdd0012d7d30c005ec0ce8000000fc1d..."} 
[2026-07-01 09:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1be8fdd0012d7d30c005ec0ce8000000fc1d..."} 
[2026-07-01 09:56:25] local.INFO: Processing buffer {"connection_id":119680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1be8fdd0012d7d30c005ec0ce8000000fc1d..."} 
[2026-07-01 09:56:25] local.INFO: Packet analysis {"connection_id":119680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1be8"} 
[2026-07-01 09:56:25] local.INFO: Extracted packet for processing {"connection_id":119680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1be8"} 
[2026-07-01 09:56:25] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":0,"angle":252,"satellites":29,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09:56:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:56:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417121536001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:56:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:56:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 09:56:25] 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-01 09:56:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782879682000,"timestamp_ms":1782879682000,"timestamp_seconds":1782879682,"priority":1,"record_length":96,"hex_timestamp":"0000019f1be8fdd0"} 
[2026-07-01 09:56:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:56:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:56:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-01 09:56: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-01 09:56:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:56:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:56:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:56:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:56:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:56:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:56:25] 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-01 09:56:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:56:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:56:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417121536001,"66":2231,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:56:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:56:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:56:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417121536001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:56:25] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:56:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:56:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:56:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 09:56:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417121536001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 09:56:25] local.INFO: DEBUG: GPS processor result {"connection_id":119680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416954,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:56:25] local.INFO: GPS data processed {"connection_id":119680,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:56:25] local.INFO: Acknowledgment sent {"connection_id":119680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:56:55] local.INFO: TCP Data received {"connection_id":120772,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bed0128012d05728006f9ce68000c013325..."} 
[2026-07-01 09:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bed0128012d05728006f9ce68000c013325..."} 
[2026-07-01 09:56:55] local.INFO: Processing buffer {"connection_id":120772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bed0128012d05728006f9ce68000c013325..."} 
[2026-07-01 09:56:55] local.INFO: Packet analysis {"connection_id":120772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bed"} 
[2026-07-01 09:56:55] local.INFO: Extracted packet for processing {"connection_id":120772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bed"} 
[2026-07-01 09:56:55] local.INFO: GPS Element Parsed {"raw_longitude":755331712,"raw_latitude":117034600,"longitude_deg":75.5331712,"latitude_deg":11.70346,"altitude":12,"angle":307,"satellites":37,"speed":17,"hex_longitude":"2d057280","hex_latitude":"06f9ce68","is_valid_coordinates":true} 
[2026-07-01 09: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-01 09:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417265664001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333174086463127552,"note":"Value kept but may cause issues"} 
[2026-07-01 09:56:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":392868728704694272,"note":"Value kept but may cause issues"} 
[2026-07-01 09:56:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782879945000,"timestamp_ms":1782879945000,"timestamp_seconds":1782879945,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bed0128"} 
[2026-07-01 09: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-01 09:56:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 09: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 09:56: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-01 09: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-01 09: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-01 09:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":120772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":120772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":120772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 09:56:55] 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-01 09:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 09:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 09:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417265664001,"66":27767,"138":206,"94":11008,"24":17,"16":333174086463127552,"45":392868728704694272},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,94,24,16,45]} 
[2026-07-01 09:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 09:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 09:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417265664001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:56:55] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-07-01 09:56:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-01 09:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333174086463127552,"km_value":333174086463127.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:56:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":392868728704694272,"description":"Unknown IO ID 45"} 
[2026-07-01 09:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417265664001,"power":27767,"unknown_138":206,"unknown_94":11008,"ignition":17,"odometer":null,"unknown_45":392868728704694272}} 
[2026-07-01 09:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":120772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:56:55] local.INFO: GPS data processed {"connection_id":120772,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:56:55] local.INFO: Acknowledgment sent {"connection_id":120772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:56:56] local.INFO: TCP Data received {"connection_id":119680,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bed9598012d7d30c005ec0ce8000000fc20..."} 
[2026-07-01 09:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bed9598012d7d30c005ec0ce8000000fc20..."} 
[2026-07-01 09:56:56] local.INFO: Processing buffer {"connection_id":119680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bed9598012d7d30c005ec0ce8000000fc20..."} 
[2026-07-01 09:56:56] local.INFO: Packet analysis {"connection_id":119680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bed"} 
[2026-07-01 09:56:56] local.INFO: Extracted packet for processing {"connection_id":119680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bed"} 
[2026-07-01 09:56:56] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":0,"angle":252,"satellites":32,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09: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-01 09:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417198592001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:56:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 09:56: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-01 09:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782879983000,"timestamp_ms":1782879983000,"timestamp_seconds":1782879983,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bed9598"} 
[2026-07-01 09: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-01 09:56:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-01 09:56:56] 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-01 09: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-01 09: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-01 09:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":119680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":119680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":119680,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:56:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417198592001,"66":2231,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417198592001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:56:56] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:56:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:56:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 09:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417198592001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 09:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":119680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416956,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:56:56] local.INFO: GPS data processed {"connection_id":119680,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:56:56] local.INFO: Acknowledgment sent {"connection_id":119680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:57:18] local.INFO: TCP Data received {"connection_id":119682,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119682,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:57:18] local.INFO: Processing buffer {"connection_id":119682,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:57:18] local.INFO: IMEI packet received {"connection_id":119682,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 09:57:18] local.INFO: IMEI acknowledgment sent {"connection_id":119682,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:57:19] local.INFO: TCP Data received {"connection_id":119683,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:57:19] local.INFO: Processing buffer {"connection_id":119683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:57:19] local.INFO: IMEI packet received {"connection_id":119683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 09:57:19] local.INFO: IMEI acknowledgment sent {"connection_id":119683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:57:20] local.INFO: TCP Data received {"connection_id":119683,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:57:20] local.INFO: Processing buffer {"connection_id":119683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:57:20] local.INFO: IMEI packet received {"connection_id":119683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:57:20] local.INFO: IMEI acknowledgment sent {"connection_id":119683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:57:21] local.INFO: TCP Data received {"connection_id":119683,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:57:21] local.INFO: Processing buffer {"connection_id":119683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:57:21] local.INFO: IMEI packet received {"connection_id":119683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:57:21] local.INFO: IMEI acknowledgment sent {"connection_id":119683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:57:21] local.INFO: TCP Data received {"connection_id":119683,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:57:21] local.INFO: Processing buffer {"connection_id":119683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 09:57:21] local.INFO: IMEI packet received {"connection_id":119683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 09:57:21] local.INFO: IMEI acknowledgment sent {"connection_id":119683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:57:23] local.INFO: TCP Data received {"connection_id":119682,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119682,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:57:23] local.INFO: Processing buffer {"connection_id":119682,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:57:23] local.INFO: IMEI packet received {"connection_id":119682,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":119682,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:57:26] local.INFO: TCP Data received {"connection_id":119682,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bed9598012d7d30c005ec0ce8000000fc20..."} 
[2026-07-01 09:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bed9598012d7d30c005ec0ce8000000fc20..."} 
[2026-07-01 09:57:26] local.INFO: Processing buffer {"connection_id":119682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bed9598012d7d30c005ec0ce8000000fc20..."} 
[2026-07-01 09:57:26] local.INFO: Packet analysis {"connection_id":119682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bed"} 
[2026-07-01 09:57:26] local.INFO: Extracted packet for processing {"connection_id":119682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bed"} 
[2026-07-01 09:57:26] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":0,"angle":252,"satellites":32,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:57:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417198592001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:57:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:57:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 09:57:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:57:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782879983000,"timestamp_ms":1782879983000,"timestamp_seconds":1782879983,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bed9598"} 
[2026-07-01 09:57:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:57:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-01 09:57:26] 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-01 09:57:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:57:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:57:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:57:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:57:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119682,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:57:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119682,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:57: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-01 09:57:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:57:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:57:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417198592001,"66":2231,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:57:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:57:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:57:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417198592001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:57:26] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:57:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:57:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:57:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 09:57:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417198592001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 09:57:26] local.INFO: DEBUG: GPS processor result {"connection_id":119682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416957,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:57:26] local.INFO: GPS data processed {"connection_id":119682,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:57:26] local.INFO: Acknowledgment sent {"connection_id":119682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:57:57] local.INFO: TCP Data received {"connection_id":119682,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bed9598012d7d30c005ec0ce8000000fc20..."} 
[2026-07-01 09:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bed9598012d7d30c005ec0ce8000000fc20..."} 
[2026-07-01 09:57:57] local.INFO: Processing buffer {"connection_id":119682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bed9598012d7d30c005ec0ce8000000fc20..."} 
[2026-07-01 09:57:57] local.INFO: Packet analysis {"connection_id":119682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bed"} 
[2026-07-01 09:57:57] local.INFO: Extracted packet for processing {"connection_id":119682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bed"} 
[2026-07-01 09:57:57] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":0,"angle":252,"satellites":32,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09:57:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:57:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417198592001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:57:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:57:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 09:57:57] 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-01 09:57:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782879983000,"timestamp_ms":1782879983000,"timestamp_seconds":1782879983,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bed9598"} 
[2026-07-01 09:57:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:57:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:57:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-01 09:57:57] 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-01 09:57:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:57:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:57:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:57:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:57:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119682,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:57:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119682,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:57: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-01 09:57:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:57:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:57:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417198592001,"66":2231,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:57:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:57:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:57:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417198592001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:57:57] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:57:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:57:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:57:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 09:57:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417198592001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 09:57:57] local.INFO: DEBUG: GPS processor result {"connection_id":119682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416958,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:57:57] local.INFO: GPS data processed {"connection_id":119682,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:57:57] local.INFO: Acknowledgment sent {"connection_id":119682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:58:23] local.INFO: TCP Data received {"connection_id":120773,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120773,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:58:23] local.INFO: Processing buffer {"connection_id":120773,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:58:23] local.INFO: IMEI packet received {"connection_id":120773,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 09:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":120773,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:58:28] local.INFO: TCP Data received {"connection_id":120773,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120773,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:58:28] local.INFO: Processing buffer {"connection_id":120773,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:58:28] local.INFO: IMEI packet received {"connection_id":120773,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:58:28] local.INFO: IMEI acknowledgment sent {"connection_id":120773,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:58:30] local.INFO: TCP Data received {"connection_id":120773,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bed9598012d7d30c005ec0ce8000000fc20..."} 
[2026-07-01 09:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bed9598012d7d30c005ec0ce8000000fc20..."} 
[2026-07-01 09:58:30] local.INFO: Processing buffer {"connection_id":120773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bed9598012d7d30c005ec0ce8000000fc20..."} 
[2026-07-01 09:58:30] local.INFO: Packet analysis {"connection_id":120773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bed"} 
[2026-07-01 09:58:30] local.INFO: Extracted packet for processing {"connection_id":120773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bed"} 
[2026-07-01 09:58:30] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":0,"angle":252,"satellites":32,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09: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-01 09:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417198592001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 09:58:30] 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-01 09:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782879983000,"timestamp_ms":1782879983000,"timestamp_seconds":1782879983,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bed9598"} 
[2026-07-01 09: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-01 09:58:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-01 09:58:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09: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-01 09: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-01 09:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":120773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":120773,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":120773,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:58:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417198592001,"66":2231,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417198592001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:58:30] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:58:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:58:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 09:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417198592001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 09:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":120773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416959,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:58:30] local.INFO: GPS data processed {"connection_id":120773,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:58:30] local.INFO: Acknowledgment sent {"connection_id":120773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:58:35] local.INFO: TCP Data received {"connection_id":120773,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bed9598012d7d30c005ec0ce8000000fc20..."} 
[2026-07-01 09:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bed9598012d7d30c005ec0ce8000000fc20..."} 
[2026-07-01 09:58:35] local.INFO: Processing buffer {"connection_id":120773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bed9598012d7d30c005ec0ce8000000fc20..."} 
[2026-07-01 09:58:35] local.INFO: Packet analysis {"connection_id":120773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bed"} 
[2026-07-01 09:58:35] local.INFO: Extracted packet for processing {"connection_id":120773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bed"} 
[2026-07-01 09:58:35] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":0,"angle":252,"satellites":32,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417198592001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 09:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 09:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782879983000,"timestamp_ms":1782879983000,"timestamp_seconds":1782879983,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bed9598"} 
[2026-07-01 09:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:58:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-01 09:58:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 09:58:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":120773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":120773,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":120773,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417198592001,"66":2231,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417198592001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:58:35] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:58:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 09:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417198592001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 09:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":120773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416960,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:58:35] local.INFO: GPS data processed {"connection_id":120773,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:58:35] local.INFO: Acknowledgment sent {"connection_id":120773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:59:18] local.INFO: TCP Data received {"connection_id":119685,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119685,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:59:19] local.INFO: Processing buffer {"connection_id":119685,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:59:19] local.INFO: IMEI packet received {"connection_id":119685,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 09:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":119685,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 09:59:24] local.INFO: TCP Data received {"connection_id":119685,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119685,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:59:24] local.INFO: Processing buffer {"connection_id":119685,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 09:59:24] local.INFO: IMEI packet received {"connection_id":119685,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 09:59:24] local.INFO: IMEI acknowledgment sent {"connection_id":119685,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 09:59:25] local.INFO: TCP Data received {"connection_id":119685,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bed9598012d7d30c005ec0ce8000000fc20..."} 
[2026-07-01 09:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bed9598012d7d30c005ec0ce8000000fc20..."} 
[2026-07-01 09:59:25] local.INFO: Processing buffer {"connection_id":119685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bed9598012d7d30c005ec0ce8000000fc20..."} 
[2026-07-01 09:59:25] local.INFO: Packet analysis {"connection_id":119685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bed"} 
[2026-07-01 09:59:25] local.INFO: Extracted packet for processing {"connection_id":119685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bed"} 
[2026-07-01 09:59:25] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":0,"angle":252,"satellites":32,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09:59:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 09:59:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417198592001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:59:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:59:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 09:59:25] 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-01 09:59:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782879983000,"timestamp_ms":1782879983000,"timestamp_seconds":1782879983,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bed9598"} 
[2026-07-01 09:59:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:59:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:59:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-01 09:59: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-01 09:59:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 09:59:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:59:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:59:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:59:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:59:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:59:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:59:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:59:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:59:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417198592001,"66":2231,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:59:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:59:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:59:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417198592001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:59:25] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:59:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:59:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:59:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 09:59:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417198592001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 09:59:25] local.INFO: DEBUG: GPS processor result {"connection_id":119685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416961,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:59:25] local.INFO: GPS data processed {"connection_id":119685,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:59:25] local.INFO: Acknowledgment sent {"connection_id":119685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 09:59:57] local.INFO: TCP Data received {"connection_id":119685,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bed9598012d7d30c005ec0ce8000000fc20..."} 
[2026-07-01 09:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bed9598012d7d30c005ec0ce8000000fc20..."} 
[2026-07-01 09:59:57] local.INFO: Processing buffer {"connection_id":119685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bed9598012d7d30c005ec0ce8000000fc20..."} 
[2026-07-01 09:59:57] local.INFO: Packet analysis {"connection_id":119685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bed"} 
[2026-07-01 09:59:57] local.INFO: Extracted packet for processing {"connection_id":119685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bed"} 
[2026-07-01 09:59:57] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":0,"angle":252,"satellites":32,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 09:59: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-01 09:59:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417198592001,"note":"Value kept but may cause issues"} 
[2026-07-01 09:59:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 09:59:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 09:59:57] 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-01 09:59:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782879983000,"timestamp_ms":1782879983000,"timestamp_seconds":1782879983,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bed9598"} 
[2026-07-01 09:59:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 09:59:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 09:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-01 09:59:57] 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-01 09:59: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-01 09:59:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 09:59:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 09:59:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 09:59:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:59:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119685,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 09:59:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 09:59:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 09:59:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 09:59:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417198592001,"66":2231,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 09:59:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 09:59:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 09:59:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417198592001,"description":"Unknown IO ID 0"} 
[2026-07-01 09:59:57] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 09:59:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 09:59:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 09:59:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 09:59:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417198592001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 09:59:57] local.INFO: DEBUG: GPS processor result {"connection_id":119685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416962,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 09:59:57] local.INFO: GPS data processed {"connection_id":119685,"processed":1,"errors":0,"total":1} 
[2026-07-01 09:59:57] local.INFO: Acknowledgment sent {"connection_id":119685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:00:19] local.INFO: TCP Data received {"connection_id":119686,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 10:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119686,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 10:00:19] local.INFO: Processing buffer {"connection_id":119686,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 10:00:19] local.INFO: IMEI packet received {"connection_id":119686,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 10:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":119686,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:00:23] local.INFO: TCP Data received {"connection_id":119686,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 10:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119686,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 10:00:23] local.INFO: Processing buffer {"connection_id":119686,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 10:00:23] local.INFO: IMEI packet received {"connection_id":119686,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 10:00:23] local.INFO: IMEI acknowledgment sent {"connection_id":119686,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:00:25] local.INFO: TCP Data received {"connection_id":119686,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bed9598012d7d30c005ec0ce8000000fc20..."} 
[2026-07-01 10:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bed9598012d7d30c005ec0ce8000000fc20..."} 
[2026-07-01 10:00:25] local.INFO: Processing buffer {"connection_id":119686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bed9598012d7d30c005ec0ce8000000fc20..."} 
[2026-07-01 10:00:25] local.INFO: Packet analysis {"connection_id":119686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bed"} 
[2026-07-01 10:00:25] local.INFO: Extracted packet for processing {"connection_id":119686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bed"} 
[2026-07-01 10:00:25] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":0,"angle":252,"satellites":32,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 10:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:00:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417198592001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:00:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 10:00:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 10:00:25] 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-01 10:00:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782879983000,"timestamp_ms":1782879983000,"timestamp_seconds":1782879983,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bed9598"} 
[2026-07-01 10:00:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:00:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 10:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-01 10:00: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-01 10:00:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:00:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:00:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:00:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:00:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119686,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 10:00:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119686,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 10:00:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 10:00:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 10:00:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 10:00:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417198592001,"66":2231,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 10:00:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 10:00:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 10:00:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417198592001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:00:25] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 10:00:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 10:00:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:00:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 10:00:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417198592001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 10:00:25] local.INFO: DEBUG: GPS processor result {"connection_id":119686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416963,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:00:25] local.INFO: GPS data processed {"connection_id":119686,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:00:25] local.INFO: Acknowledgment sent {"connection_id":119686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:00:41] local.INFO: TCP Data received {"connection_id":118902,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 10:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118902,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 10:00:41] local.INFO: Processing buffer {"connection_id":118902,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 10:00:41] local.INFO: IMEI packet received {"connection_id":118902,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 10:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":118902,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:00:57] local.INFO: TCP Data received {"connection_id":119686,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bed9598012d7d30c005ec0ce8000000fc20..."} 
[2026-07-01 10:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bed9598012d7d30c005ec0ce8000000fc20..."} 
[2026-07-01 10:00:57] local.INFO: Processing buffer {"connection_id":119686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bed9598012d7d30c005ec0ce8000000fc20..."} 
[2026-07-01 10:00:57] local.INFO: Packet analysis {"connection_id":119686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bed"} 
[2026-07-01 10:00:57] local.INFO: Extracted packet for processing {"connection_id":119686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bed"} 
[2026-07-01 10:00:57] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":0,"angle":252,"satellites":32,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 10:00:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:00:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417198592001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:00:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 10:00:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 10:00:57] 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-01 10:00:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782879983000,"timestamp_ms":1782879983000,"timestamp_seconds":1782879983,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bed9598"} 
[2026-07-01 10:00:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:00:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 10:00:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-01 10:00:57] 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-01 10:00:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:00:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:00:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:00:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:00:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119686,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 10:00:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119686,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 10:00:57] 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-01 10:00:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 10:00:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 10:00:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417198592001,"66":2231,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-07-01 10:00:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 10:00:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 10:00:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417198592001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:00:57] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 10:00:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 10:00:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:00:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 10:00:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417198592001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 10:00:57] local.INFO: DEBUG: GPS processor result {"connection_id":119686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416964,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:00:57] local.INFO: GPS data processed {"connection_id":119686,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:00:57] local.INFO: Acknowledgment sent {"connection_id":119686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:01:16] local.INFO: TCP Data received {"connection_id":119015,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 10:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119015,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 10:01:16] local.INFO: Processing buffer {"connection_id":119015,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 10:01:16] local.INFO: IMEI packet received {"connection_id":119015,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 10:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":119015,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:01:18] local.INFO: TCP Data received {"connection_id":119016,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 10:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119016,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 10:01:18] local.INFO: Processing buffer {"connection_id":119016,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 10:01:18] local.INFO: IMEI packet received {"connection_id":119016,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 10:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":119016,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:01:23] local.INFO: TCP Data received {"connection_id":119016,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 10:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119016,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 10:01:23] local.INFO: Processing buffer {"connection_id":119016,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 10:01:23] local.INFO: IMEI packet received {"connection_id":119016,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 10:01:23] local.INFO: IMEI acknowledgment sent {"connection_id":119016,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:01:24] local.INFO: TCP Data received {"connection_id":119016,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bed9598012d7d30c005ec0ce8000000fc20..."} 
[2026-07-01 10:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bed9598012d7d30c005ec0ce8000000fc20..."} 
[2026-07-01 10:01:24] local.INFO: Processing buffer {"connection_id":119016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bed9598012d7d30c005ec0ce8000000fc20..."} 
[2026-07-01 10:01:24] local.INFO: Packet analysis {"connection_id":119016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bed"} 
[2026-07-01 10:01:24] local.INFO: Extracted packet for processing {"connection_id":119016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bed"} 
[2026-07-01 10:01:24] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":0,"angle":252,"satellites":32,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 10:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:01:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417198592001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:01:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 10:01:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 10:01:24] 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-01 10:01:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782879983000,"timestamp_ms":1782879983000,"timestamp_seconds":1782879983,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bed9598"} 
[2026-07-01 10:01:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:01:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 10:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-01 10:01:24] 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-01 10:01:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:01:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:01:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:01:24] local.INFO: Teltonika packet parsed successfully {"connection_id":119016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:01:24] local.INFO: Passing IMEI to GPS processor {"connection_id":119016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 10:01:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":119016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 10:01:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 10:01:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 10:01:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 10:01:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417198592001,"66":2231,"110":206,"87":13824,"24":0,"16":101265635098492928,"45":9020921185290741760},"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-01 10:01:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 10:01:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 10:01:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417198592001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:01:24] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 10:01:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 10:01:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:01:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 10:01:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417198592001,"power":2231,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 10:01:25] local.INFO: DEBUG: GPS processor result {"connection_id":119016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416965,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:01:25] local.INFO: GPS data processed {"connection_id":119016,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:01:25] local.INFO: Acknowledgment sent {"connection_id":119016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:02:25] local.INFO: TCP Data received {"connection_id":120776,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:02:25] local.INFO: Processing buffer {"connection_id":120776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:02:25] local.INFO: IMEI packet received {"connection_id":120776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 10:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":120776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:02:26] local.INFO: TCP Data received {"connection_id":120776,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bf21208012d0229c006fd7e580009015126..."} 
[2026-07-01 10:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bf21208012d0229c006fd7e580009015126..."} 
[2026-07-01 10:02:26] local.INFO: Processing buffer {"connection_id":120776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bf21208012d0229c006fd7e580009015126..."} 
[2026-07-01 10:02:26] local.INFO: Packet analysis {"connection_id":120776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bf2"} 
[2026-07-01 10:02:26] local.INFO: Extracted packet for processing {"connection_id":120776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bf2"} 
[2026-07-01 10:02:26] local.INFO: GPS Element Parsed {"raw_longitude":755116480,"raw_latitude":117276248,"longitude_deg":75.511648,"latitude_deg":11.7276248,"altitude":9,"angle":337,"satellites":38,"speed":31,"hex_longitude":"2d0229c0","hex_latitude":"06fd7e58","is_valid_coordinates":true} 
[2026-07-01 10:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417348096001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:02:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333191592749826048,"note":"Value kept but may cause issues"} 
[2026-07-01 10:02:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":159666710559662080,"note":"Value kept but may cause issues"} 
[2026-07-01 10:02:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:02:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782880277000,"timestamp_ms":1782880277000,"timestamp_seconds":1782880277,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bf21208"} 
[2026-07-01 10:02:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:02:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 10:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-01 10:02:26] 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-01 10:02:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:02:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:02:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:02:26] local.INFO: Teltonika packet parsed successfully {"connection_id":120776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:02:26] local.INFO: Passing IMEI to GPS processor {"connection_id":120776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:02:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":120776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:02:26] 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-01 10:02:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:02:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:02:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417348096001,"66":27865,"131":206,"94":11008,"24":31,"16":333191592749826048,"45":159666710559662080},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,94,24,16,45]} 
[2026-07-01 10:02:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:02:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:02:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417348096001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:02:26] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-01 10:02:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-01 10:02:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333191592749826048,"km_value":333191592749826.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:02:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":159666710559662080,"description":"Unknown IO ID 45"} 
[2026-07-01 10:02:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417348096001,"power":27865,"unknown_131":206,"unknown_94":11008,"ignition":31,"odometer":null,"unknown_45":159666710559662080}} 
[2026-07-01 10:02:26] local.INFO: DEBUG: GPS processor result {"connection_id":120776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:02:26] local.INFO: GPS data processed {"connection_id":120776,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:02:26] local.INFO: Acknowledgment sent {"connection_id":120776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:02:57] local.INFO: TCP Data received {"connection_id":120776,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bf23918012d021b8006fda2100008015626..."} 
[2026-07-01 10:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bf23918012d021b8006fda2100008015626..."} 
[2026-07-01 10:02:57] local.INFO: Processing buffer {"connection_id":120776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bf23918012d021b8006fda2100008015626..."} 
[2026-07-01 10:02:57] local.INFO: Packet analysis {"connection_id":120776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bf2"} 
[2026-07-01 10:02:57] local.INFO: Extracted packet for processing {"connection_id":120776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bf2"} 
[2026-07-01 10:02:57] local.INFO: GPS Element Parsed {"raw_longitude":755112832,"raw_latitude":117285392,"longitude_deg":75.5112832,"latitude_deg":11.7285392,"altitude":8,"angle":342,"satellites":38,"speed":44,"hex_longitude":"2d021b80","hex_latitude":"06fda210","is_valid_coordinates":true} 
[2026-07-01 10:02:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:02:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417350912001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:02:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333192069491195904,"note":"Value kept but may cause issues"} 
[2026-07-01 10:02:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":155866798376245248,"note":"Value kept but may cause issues"} 
[2026-07-01 10:02:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:02:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782880287000,"timestamp_ms":1782880287000,"timestamp_seconds":1782880287,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bf23918"} 
[2026-07-01 10:02:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:02:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 10:02:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 10:02:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10:02:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:02:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:02:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:02:57] local.INFO: Teltonika packet parsed successfully {"connection_id":120776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:02:57] local.INFO: Passing IMEI to GPS processor {"connection_id":120776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:02:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":120776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:02:57] 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-01 10:02:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:02:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:02:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417350912001,"66":27908,"131":206,"94":11008,"24":44,"16":333192069491195904,"45":155866798376245248},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,94,24,16,45]} 
[2026-07-01 10:02:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:02:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:02:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417350912001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:02:57] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-01 10:02:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-01 10:02:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333192069491195904,"km_value":333192069491195.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:02:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":155866798376245248,"description":"Unknown IO ID 45"} 
[2026-07-01 10:02:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417350912001,"power":27908,"unknown_131":206,"unknown_94":11008,"ignition":44,"odometer":null,"unknown_45":155866798376245248}} 
[2026-07-01 10:02:57] local.INFO: DEBUG: GPS processor result {"connection_id":120776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:02:57] local.INFO: GPS data processed {"connection_id":120776,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:02:57] local.INFO: Acknowledgment sent {"connection_id":120776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:03:21] local.INFO: TCP Data received {"connection_id":119688,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:03:21] local.INFO: Processing buffer {"connection_id":119688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:03:21] local.INFO: IMEI packet received {"connection_id":119688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 10:03:21] local.INFO: IMEI acknowledgment sent {"connection_id":119688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:03:23] local.INFO: TCP Data received {"connection_id":119688,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:03:23] local.INFO: Processing buffer {"connection_id":119688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:03:23] local.INFO: IMEI packet received {"connection_id":119688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:03:23] local.INFO: IMEI acknowledgment sent {"connection_id":119688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:03:24] local.INFO: TCP Data received {"connection_id":119688,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bf33ed0012d0138c006fe7660000b012f21..."} 
[2026-07-01 10:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bf33ed0012d0138c006fe7660000b012f21..."} 
[2026-07-01 10:03:24] local.INFO: Processing buffer {"connection_id":119688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bf33ed0012d0138c006fe7660000b012f21..."} 
[2026-07-01 10:03:24] local.INFO: Packet analysis {"connection_id":119688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bf3"} 
[2026-07-01 10:03:24] local.INFO: Extracted packet for processing {"connection_id":119688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bf3"} 
[2026-07-01 10:03:24] local.INFO: GPS Element Parsed {"raw_longitude":755054784,"raw_latitude":117339744,"longitude_deg":75.5054784,"latitude_deg":11.7339744,"altitude":11,"angle":303,"satellites":33,"speed":50,"hex_longitude":"2d0138c0","hex_latitude":"06fe7660","is_valid_coordinates":true} 
[2026-07-01 10: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-01 10:03:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417368576001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:03:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333195986501369856,"note":"Value kept but may cause issues"} 
[2026-07-01 10:03:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":97249634491097088,"note":"Value kept but may cause issues"} 
[2026-07-01 10:03:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:03:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782880354000,"timestamp_ms":1782880354000,"timestamp_seconds":1782880354,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bf33ed0"} 
[2026-07-01 10:03:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:03:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 10:03:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 10:03:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10:03:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:03:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:03:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:03:24] local.INFO: Teltonika packet parsed successfully {"connection_id":119688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:03:24] local.INFO: Passing IMEI to GPS processor {"connection_id":119688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:03:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":119688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:03:24] 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-01 10:03:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:03:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:03:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417368576001,"66":27767,"27":206,"94":10240,"24":50,"16":333195986501369856,"45":97249634491097088},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,94,24,16,45]} 
[2026-07-01 10:03:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:03:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:03:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417368576001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:03:24] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-01 10:03:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:03:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333195986501369856,"km_value":333195986501369.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:03:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":97249634491097088,"description":"Unknown IO ID 45"} 
[2026-07-01 10:03:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417368576001,"power":27767,"unknown_27":206,"unknown_94":10240,"ignition":50,"odometer":null,"unknown_45":97249634491097088}} 
[2026-07-01 10:03:24] local.INFO: DEBUG: GPS processor result {"connection_id":119688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:03:24] local.INFO: GPS data processed {"connection_id":119688,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:03:24] local.INFO: Acknowledgment sent {"connection_id":119688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:03:55] local.INFO: TCP Data received {"connection_id":119688,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bf369c8012d011b0006fe8a280009013a26..."} 
[2026-07-01 10:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bf369c8012d011b0006fe8a280009013a26..."} 
[2026-07-01 10:03:55] local.INFO: Processing buffer {"connection_id":119688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bf369c8012d011b0006fe8a280009013a26..."} 
[2026-07-01 10:03:55] local.INFO: Packet analysis {"connection_id":119688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bf3"} 
[2026-07-01 10:03:55] local.INFO: Extracted packet for processing {"connection_id":119688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bf3"} 
[2026-07-01 10:03:55] local.INFO: GPS Element Parsed {"raw_longitude":755047168,"raw_latitude":117344808,"longitude_deg":75.5047168,"latitude_deg":11.7344808,"altitude":9,"angle":314,"satellites":38,"speed":19,"hex_longitude":"2d011b00","hex_latitude":"06fe8a28","is_valid_coordinates":true} 
[2026-07-01 10:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417370624001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333196424588034048,"note":"Value kept but may cause issues"} 
[2026-07-01 10:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":88031329005232128,"note":"Value kept but may cause issues"} 
[2026-07-01 10:03:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782880365000,"timestamp_ms":1782880365000,"timestamp_seconds":1782880365,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bf369c8"} 
[2026-07-01 10:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:03:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 10:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 10:03: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-01 10:03:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":119688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":119688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":119688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:03:55] 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-01 10:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417370624001,"66":27821,"27":206,"94":10240,"24":19,"16":333196424588034048,"45":88031329005232128},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,94,24,16,45]} 
[2026-07-01 10:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417370624001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:03:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-01 10:03:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333196424588034048,"km_value":333196424588034.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":88031329005232128,"description":"Unknown IO ID 45"} 
[2026-07-01 10:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417370624001,"power":27821,"unknown_27":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":88031329005232128}} 
[2026-07-01 10:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":119688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:03:55] local.INFO: GPS data processed {"connection_id":119688,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:03:55] local.INFO: Acknowledgment sent {"connection_id":119688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:04:23] local.INFO: TCP Data received {"connection_id":120777,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:04:23] local.INFO: Processing buffer {"connection_id":120777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:04:23] local.INFO: IMEI packet received {"connection_id":120777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 10:04:23] local.INFO: IMEI acknowledgment sent {"connection_id":120777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:04:24] local.INFO: TCP Data received {"connection_id":120777,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:04:24] local.INFO: Processing buffer {"connection_id":120777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:04:24] local.INFO: IMEI packet received {"connection_id":120777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":120777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:04:26] local.INFO: TCP Data received {"connection_id":120777,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:04:26] local.INFO: Processing buffer {"connection_id":120777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:04:26] local.INFO: IMEI packet received {"connection_id":120777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":120777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:04:27] local.INFO: TCP Data received {"connection_id":120777,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bf369c8012d011b0006fe8a280009013a26..."} 
[2026-07-01 10:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bf369c8012d011b0006fe8a280009013a26..."} 
[2026-07-01 10:04:27] local.INFO: Processing buffer {"connection_id":120777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bf369c8012d011b0006fe8a280009013a26..."} 
[2026-07-01 10:04:27] local.INFO: Packet analysis {"connection_id":120777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bf3"} 
[2026-07-01 10:04:27] local.INFO: Extracted packet for processing {"connection_id":120777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bf3"} 
[2026-07-01 10:04:27] local.INFO: GPS Element Parsed {"raw_longitude":755047168,"raw_latitude":117344808,"longitude_deg":75.5047168,"latitude_deg":11.7344808,"altitude":9,"angle":314,"satellites":38,"speed":19,"hex_longitude":"2d011b00","hex_latitude":"06fe8a28","is_valid_coordinates":true} 
[2026-07-01 10:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:04:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417373440001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:04:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333196424588034048,"note":"Value kept but may cause issues"} 
[2026-07-01 10:04:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":79657448449386496,"note":"Value kept but may cause issues"} 
[2026-07-01 10:04:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:04:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782880365000,"timestamp_ms":1782880365000,"timestamp_seconds":1782880365,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bf369c8"} 
[2026-07-01 10:04:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:04: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-01 10:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 10:04:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10:04:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:04:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:04:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:04:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:04:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:04:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:04:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 10:04:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:04:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:04:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417373440001,"66":27821,"27":206,"94":10240,"24":19,"16":333196424588034048,"45":79657448449386496},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,94,24,16,45]} 
[2026-07-01 10:04:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:04:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:04:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417373440001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:04:27] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-01 10:04:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:04:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333196424588034048,"km_value":333196424588034.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:04:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":79657448449386496,"description":"Unknown IO ID 45"} 
[2026-07-01 10:04:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417373440001,"power":27821,"unknown_27":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":79657448449386496}} 
[2026-07-01 10:04:27] local.INFO: DEBUG: GPS processor result {"connection_id":120777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:04:27] local.INFO: GPS data processed {"connection_id":120777,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:04:27] local.INFO: Acknowledgment sent {"connection_id":120777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:04:29] local.INFO: TCP Data received {"connection_id":120777,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bf37d50012d01130006fe92a00009012d28..."} 
[2026-07-01 10:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bf37d50012d01130006fe92a00009012d28..."} 
[2026-07-01 10:04:29] local.INFO: Processing buffer {"connection_id":120777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bf37d50012d01130006fe92a00009012d28..."} 
[2026-07-01 10:04:29] local.INFO: Packet analysis {"connection_id":120777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bf3"} 
[2026-07-01 10:04:29] local.INFO: Extracted packet for processing {"connection_id":120777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bf3"} 
[2026-07-01 10:04:29] local.INFO: GPS Element Parsed {"raw_longitude":755045120,"raw_latitude":117346976,"longitude_deg":75.504512,"latitude_deg":11.7346976,"altitude":9,"angle":301,"satellites":40,"speed":26,"hex_longitude":"2d011300","hex_latitude":"06fe92a0","is_valid_coordinates":true} 
[2026-07-01 10:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:04:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417373440001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:04:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333196570616922112,"note":"Value kept but may cause issues"} 
[2026-07-01 10:04:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":79657448449386496,"note":"Value kept but may cause issues"} 
[2026-07-01 10:04:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:04:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782880370000,"timestamp_ms":1782880370000,"timestamp_seconds":1782880370,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bf37d50"} 
[2026-07-01 10:04:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:04: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-01 10:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 10:04:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10:04:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:04:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:04:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:04:29] local.INFO: Teltonika packet parsed successfully {"connection_id":120777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:04:29] local.INFO: Passing IMEI to GPS processor {"connection_id":120777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:04:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":120777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:04:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 10:04:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:04:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:04:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417373440001,"66":27919,"27":206,"94":10240,"24":26,"16":333196570616922112,"45":79657448449386496},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,94,24,16,45]} 
[2026-07-01 10:04:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:04:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:04:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417373440001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:04:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-01 10:04:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:04:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333196570616922112,"km_value":333196570616922.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:04:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":79657448449386496,"description":"Unknown IO ID 45"} 
[2026-07-01 10:04:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417373440001,"power":27919,"unknown_27":206,"unknown_94":10240,"ignition":26,"odometer":null,"unknown_45":79657448449386496}} 
[2026-07-01 10:04:29] local.INFO: DEBUG: GPS processor result {"connection_id":120777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:04:29] local.INFO: GPS data processed {"connection_id":120777,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:04:29] local.INFO: Acknowledgment sent {"connection_id":120777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:05:09] local.INFO: TCP Data received {"connection_id":120777,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bf4b5d0012d00640006ff5be80012014e28..."} 
[2026-07-01 10:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bf4b5d0012d00640006ff5be80012014e28..."} 
[2026-07-01 10:05:09] local.INFO: Processing buffer {"connection_id":120777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bf4b5d0012d00640006ff5be80012014e28..."} 
[2026-07-01 10:05:09] local.INFO: Packet analysis {"connection_id":120777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bf4"} 
[2026-07-01 10:05:09] local.INFO: Extracted packet for processing {"connection_id":120777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bf4"} 
[2026-07-01 10:05:09] local.INFO: GPS Element Parsed {"raw_longitude":755000320,"raw_latitude":117398504,"longitude_deg":75.500032,"latitude_deg":11.7398504,"altitude":18,"angle":334,"satellites":40,"speed":27,"hex_longitude":"2d006400","hex_latitude":"06ff5be8","is_valid_coordinates":true} 
[2026-07-01 10:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417392384001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333200418907619328,"note":"Value kept but may cause issues"} 
[2026-07-01 10:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":29554902607194112,"note":"Value kept but may cause issues"} 
[2026-07-01 10:05:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782880450000,"timestamp_ms":1782880450000,"timestamp_seconds":1782880450,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bf4b5d0"} 
[2026-07-01 10:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:05:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 10:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 10:05:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10:05:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":120777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":120777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":120777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:05:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 10:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417392384001,"66":27865,"101":206,"94":10240,"24":27,"16":333200418907619328,"45":29554902607194112},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,94,24,16,45]} 
[2026-07-01 10:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417392384001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:05:09] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-01 10:05:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333200418907619328,"km_value":333200418907619.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":29554902607194112,"description":"Unknown IO ID 45"} 
[2026-07-01 10:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417392384001,"power":27865,"unknown_101":206,"unknown_94":10240,"ignition":27,"odometer":null,"unknown_45":29554902607194112}} 
[2026-07-01 10:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":120777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:05:09] local.INFO: GPS data processed {"connection_id":120777,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:05:09] local.INFO: Acknowledgment sent {"connection_id":120777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:05:24] local.INFO: TCP Data received {"connection_id":118904,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:05:24] local.INFO: Processing buffer {"connection_id":118904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:05:24] local.INFO: IMEI packet received {"connection_id":118904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 10:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":118904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:05:26] local.INFO: TCP Data received {"connection_id":118904,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:05:26] local.INFO: Processing buffer {"connection_id":118904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:05:26] local.INFO: IMEI packet received {"connection_id":118904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":118904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:05:31] local.INFO: TCP Data received {"connection_id":118904,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:05:31] local.INFO: Processing buffer {"connection_id":118904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:05:31] local.INFO: IMEI packet received {"connection_id":118904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":118904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:05:32] local.INFO: TCP Data received {"connection_id":118904,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bf4c188012d005f4006ff63480011014328..."} 
[2026-07-01 10:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bf4c188012d005f4006ff63480011014328..."} 
[2026-07-01 10:05:32] local.INFO: Processing buffer {"connection_id":118904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bf4c188012d005f4006ff63480011014328..."} 
[2026-07-01 10:05:32] local.INFO: Packet analysis {"connection_id":118904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bf4"} 
[2026-07-01 10:05:32] local.INFO: Extracted packet for processing {"connection_id":118904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bf4"} 
[2026-07-01 10:05:32] local.INFO: GPS Element Parsed {"raw_longitude":754999104,"raw_latitude":117400392,"longitude_deg":75.4999104,"latitude_deg":11.7400392,"altitude":17,"angle":323,"satellites":40,"speed":33,"hex_longitude":"2d005f40","hex_latitude":"06ff6348","is_valid_coordinates":true} 
[2026-07-01 10:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417395200001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333200530576769024,"note":"Value kept but may cause issues"} 
[2026-07-01 10:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":28147527725082624,"note":"Value kept but may cause issues"} 
[2026-07-01 10:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782880453000,"timestamp_ms":1782880453000,"timestamp_seconds":1782880453,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bf4c188"} 
[2026-07-01 10:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:05:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 10:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 10:05:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10:05:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":118904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":118904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":118904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 10:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417395200001,"66":27865,"101":206,"94":10240,"24":33,"16":333200530576769024,"45":28147527725082624},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,94,24,16,45]} 
[2026-07-01 10:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417395200001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:05:32] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-01 10:05:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333200530576769024,"km_value":333200530576769.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":28147527725082624,"description":"Unknown IO ID 45"} 
[2026-07-01 10:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417395200001,"power":27865,"unknown_101":206,"unknown_94":10240,"ignition":33,"odometer":null,"unknown_45":28147527725082624}} 
[2026-07-01 10:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":118904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:05:32] local.INFO: GPS data processed {"connection_id":118904,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:05:32] local.INFO: Acknowledgment sent {"connection_id":118904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:06:03] local.INFO: TCP Data received {"connection_id":118904,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bf4cd40012d00580006ff6a980010013826..."} 
[2026-07-01 10:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bf4cd40012d00580006ff6a980010013826..."} 
[2026-07-01 10:06:03] local.INFO: Processing buffer {"connection_id":118904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bf4cd40012d00580006ff6a980010013826..."} 
[2026-07-01 10:06:03] local.INFO: Packet analysis {"connection_id":118904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bf4"} 
[2026-07-01 10:06:03] local.INFO: Extracted packet for processing {"connection_id":118904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bf4"} 
[2026-07-01 10:06:03] local.INFO: GPS Element Parsed {"raw_longitude":754997248,"raw_latitude":117402264,"longitude_deg":75.4997248,"latitude_deg":11.7402264,"altitude":16,"angle":312,"satellites":38,"speed":37,"hex_longitude":"2d005800","hex_latitude":"06ff6a98","is_valid_coordinates":true} 
[2026-07-01 10: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-01 10:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417395968001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333200655130820608,"note":"Value kept but may cause issues"} 
[2026-07-01 10:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":26810521586190336,"note":"Value kept but may cause issues"} 
[2026-07-01 10:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782880456000,"timestamp_ms":1782880456000,"timestamp_seconds":1782880456,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bf4cd40"} 
[2026-07-01 10: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-01 10:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 10:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 10:06:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10: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-01 10: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-01 10:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":118904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":118904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":118904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:06:03] 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-01 10:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417395968001,"66":27865,"101":206,"94":10240,"24":37,"16":333200655130820608,"45":26810521586190336},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,94,24,16,45]} 
[2026-07-01 10:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417395968001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:06:03] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-01 10:06:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333200655130820608,"km_value":333200655130820.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":26810521586190336,"description":"Unknown IO ID 45"} 
[2026-07-01 10:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417395968001,"power":27865,"unknown_101":206,"unknown_94":10240,"ignition":37,"odometer":null,"unknown_45":26810521586190336}} 
[2026-07-01 10:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":118904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:06:03] local.INFO: GPS data processed {"connection_id":118904,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:06:03] local.INFO: Acknowledgment sent {"connection_id":118904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:06:21] local.INFO: TCP Data received {"connection_id":119018,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:06:21] local.INFO: Processing buffer {"connection_id":119018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:06:21] local.INFO: IMEI packet received {"connection_id":119018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 10:06:21] local.INFO: IMEI acknowledgment sent {"connection_id":119018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:06:22] local.INFO: TCP Data received {"connection_id":119018,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:06:22] local.INFO: Processing buffer {"connection_id":119018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:06:22] local.INFO: IMEI packet received {"connection_id":119018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:06:22] local.INFO: IMEI acknowledgment sent {"connection_id":119018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:06:26] local.INFO: TCP Data received {"connection_id":119018,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:06:26] local.INFO: Processing buffer {"connection_id":119018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:06:26] local.INFO: IMEI packet received {"connection_id":119018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":119018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:06:28] local.INFO: TCP Data received {"connection_id":119018,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bf4f450012d003c4006ff8260000e013528..."} 
[2026-07-01 10:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bf4f450012d003c4006ff8260000e013528..."} 
[2026-07-01 10:06:28] local.INFO: Processing buffer {"connection_id":119018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bf4f450012d003c4006ff8260000e013528..."} 
[2026-07-01 10:06:28] local.INFO: Packet analysis {"connection_id":119018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bf4"} 
[2026-07-01 10:06:28] local.INFO: Extracted packet for processing {"connection_id":119018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bf4"} 
[2026-07-01 10:06:28] local.INFO: GPS Element Parsed {"raw_longitude":754990144,"raw_latitude":117408352,"longitude_deg":75.4990144,"latitude_deg":11.7408352,"altitude":14,"angle":309,"satellites":40,"speed":33,"hex_longitude":"2d003c40","hex_latitude":"06ff8260","is_valid_coordinates":true} 
[2026-07-01 10:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:06:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417396736001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:06:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333201101807419392,"note":"Value kept but may cause issues"} 
[2026-07-01 10:06:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":24769828005517312,"note":"Value kept but may cause issues"} 
[2026-07-01 10:06:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:06:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782880466000,"timestamp_ms":1782880466000,"timestamp_seconds":1782880466,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bf4f450"} 
[2026-07-01 10:06:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:06: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-01 10:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 10:06:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10:06:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:06:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:06:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:06:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:06:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:06:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:06:28] 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-01 10:06:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:06:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:06:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417396736001,"66":27843,"101":206,"94":10240,"24":33,"16":333201101807419392,"45":24769828005517312},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,94,24,16,45]} 
[2026-07-01 10:06:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:06:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:06:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417396736001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:06:28] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-01 10:06:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:06:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333201101807419392,"km_value":333201101807419.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:06:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":24769828005517312,"description":"Unknown IO ID 45"} 
[2026-07-01 10:06:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417396736001,"power":27843,"unknown_101":206,"unknown_94":10240,"ignition":33,"odometer":null,"unknown_45":24769828005517312}} 
[2026-07-01 10:06:28] local.INFO: DEBUG: GPS processor result {"connection_id":119018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:06:28] local.INFO: GPS data processed {"connection_id":119018,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:06:28] local.INFO: Acknowledgment sent {"connection_id":119018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:06:41] local.INFO: TCP Data received {"connection_id":119690,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 10:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119690,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 10:06:41] local.INFO: Processing buffer {"connection_id":119690,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 10:06:41] local.INFO: IMEI packet received {"connection_id":119690,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 10:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":119690,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:07:00] local.INFO: TCP Data received {"connection_id":119018,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bf51390012d00284006ff90c8000d012928..."} 
[2026-07-01 10:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bf51390012d00284006ff90c8000d012928..."} 
[2026-07-01 10:07:00] local.INFO: Processing buffer {"connection_id":119018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bf51390012d00284006ff90c8000d012928..."} 
[2026-07-01 10:07:00] local.INFO: Packet analysis {"connection_id":119018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bf5"} 
[2026-07-01 10:07:00] local.INFO: Extracted packet for processing {"connection_id":119018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bf5"} 
[2026-07-01 10:07:00] local.INFO: GPS Element Parsed {"raw_longitude":754985024,"raw_latitude":117412040,"longitude_deg":75.4985024,"latitude_deg":11.741204,"altitude":13,"angle":297,"satellites":40,"speed":31,"hex_longitude":"2d002840","hex_latitude":"06ff90c8","is_valid_coordinates":true} 
[2026-07-01 10: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-01 10:07:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417399296001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:07:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333201406750097408,"note":"Value kept but may cause issues"} 
[2026-07-01 10:07:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":16958897403355136,"note":"Value kept but may cause issues"} 
[2026-07-01 10:07:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:07:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782880474000,"timestamp_ms":1782880474000,"timestamp_seconds":1782880474,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bf51390"} 
[2026-07-01 10: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-01 10:07:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 10:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 10:07:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10: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-01 10: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-01 10:07:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:07:00] local.INFO: Teltonika packet parsed successfully {"connection_id":119018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:07:00] local.INFO: Passing IMEI to GPS processor {"connection_id":119018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:07:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":119018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:07:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 10:07:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:07:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:07:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417399296001,"66":27930,"101":206,"94":10240,"24":31,"16":333201406750097408,"45":16958897403355136},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,94,24,16,45]} 
[2026-07-01 10:07:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:07:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:07:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417399296001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:07:00] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-01 10:07:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:07:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333201406750097408,"km_value":333201406750097.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:07:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":16958897403355136,"description":"Unknown IO ID 45"} 
[2026-07-01 10:07:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417399296001,"power":27930,"unknown_101":206,"unknown_94":10240,"ignition":31,"odometer":null,"unknown_45":16958897403355136}} 
[2026-07-01 10:07:00] local.INFO: DEBUG: GPS processor result {"connection_id":119018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:07:00] local.INFO: GPS data processed {"connection_id":119018,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:07:00] local.INFO: Acknowledgment sent {"connection_id":119018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:07:16] local.INFO: TCP Data received {"connection_id":119691,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 10:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119691,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 10:07:16] local.INFO: Processing buffer {"connection_id":119691,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 10:07:16] local.INFO: IMEI packet received {"connection_id":119691,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 10:07:16] local.INFO: IMEI acknowledgment sent {"connection_id":119691,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:07:19] local.INFO: TCP Data received {"connection_id":118905,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:07:19] local.INFO: Processing buffer {"connection_id":118905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:07:19] local.INFO: IMEI packet received {"connection_id":118905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 10:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":118905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:07:20] local.INFO: TCP Data received {"connection_id":118905,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:07:20] local.INFO: Processing buffer {"connection_id":118905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:07:20] local.INFO: IMEI packet received {"connection_id":118905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":118905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:07:21] local.INFO: TCP Data received {"connection_id":118905,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:07:21] local.INFO: Processing buffer {"connection_id":118905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:07:21] local.INFO: IMEI packet received {"connection_id":118905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:07:21] local.INFO: IMEI acknowledgment sent {"connection_id":118905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:07:22] local.INFO: TCP Data received {"connection_id":118905,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:07:22] local.INFO: Processing buffer {"connection_id":118905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:07:22] local.INFO: IMEI packet received {"connection_id":118905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:07:22] local.INFO: IMEI acknowledgment sent {"connection_id":118905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:12:26] local.INFO: TCP Data received {"connection_id":120783,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:12:26] local.INFO: Processing buffer {"connection_id":120783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:12:26] local.INFO: IMEI packet received {"connection_id":120783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 10:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":120783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:12:27] local.INFO: TCP Data received {"connection_id":120783,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bfa3be0012cfefbc007003f580010009229..."} 
[2026-07-01 10:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bfa3be0012cfefbc007003f580010009229..."} 
[2026-07-01 10:12:27] local.INFO: Processing buffer {"connection_id":120783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bfa3be0012cfefbc007003f580010009229..."} 
[2026-07-01 10:12:27] local.INFO: Packet analysis {"connection_id":120783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bfa"} 
[2026-07-01 10:12:27] local.INFO: Extracted packet for processing {"connection_id":120783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bfa"} 
[2026-07-01 10:12:27] local.INFO: GPS Element Parsed {"raw_longitude":754908096,"raw_latitude":117456728,"longitude_deg":75.4908096,"latitude_deg":11.7456728,"altitude":16,"angle":146,"satellites":41,"speed":3,"hex_longitude":"2cfefbc0","hex_latitude":"07003f58","is_valid_coordinates":true} 
[2026-07-01 10:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:12:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417486848001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:12:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206414681964544,"note":"Value kept but may cause issues"} 
[2026-07-01 10:12:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73535307596666880,"note":"Value kept but may cause issues"} 
[2026-07-01 10:12:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:12:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782880812000,"timestamp_ms":1782880812000,"timestamp_seconds":1782880812,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bfa3be0"} 
[2026-07-01 10:12:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:12:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 10:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-01 10:12:27] 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-01 10:12:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:12:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:12:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:12:27] 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-01 10:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417486848001,"66":28050,"141":206,"94":10240,"24":3,"16":333206414681964544,"44":-73535307596666880},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417486848001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:12:27] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:12:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206414681964544,"km_value":333206414681964.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:12:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73535307596666880,"description":"Unknown IO ID 44"} 
[2026-07-01 10:12:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417486848001,"power":28050,"unknown_141":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_44":-73535307596666880}} 
[2026-07-01 10:12:27] local.INFO: DEBUG: GPS processor result {"connection_id":120783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:12:27] local.INFO: GPS data processed {"connection_id":120783,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:12:27] local.INFO: Acknowledgment sent {"connection_id":120783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:12:31] local.INFO: TCP Data received {"connection_id":120782,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 10:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120782,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 10:12:31] local.INFO: Processing buffer {"connection_id":120782,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 10:12:31] local.INFO: IMEI packet received {"connection_id":120782,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 10:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":120782,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:12:58] local.INFO: TCP Data received {"connection_id":120783,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bfa43b0012cfefc0007003eb8001000a02a..."} 
[2026-07-01 10:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bfa43b0012cfefc0007003eb8001000a02a..."} 
[2026-07-01 10:12:58] local.INFO: Processing buffer {"connection_id":120783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bfa43b0012cfefc0007003eb8001000a02a..."} 
[2026-07-01 10:12:58] local.INFO: Packet analysis {"connection_id":120783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bfa"} 
[2026-07-01 10:12:58] local.INFO: Extracted packet for processing {"connection_id":120783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bfa"} 
[2026-07-01 10:12:58] local.INFO: GPS Element Parsed {"raw_longitude":754908160,"raw_latitude":117456568,"longitude_deg":75.490816,"latitude_deg":11.7456568,"altitude":16,"angle":160,"satellites":42,"speed":4,"hex_longitude":"2cfefc00","hex_latitude":"07003eb8","is_valid_coordinates":true} 
[2026-07-01 10:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:12:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417487872001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:12:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206427566866432,"note":"Value kept but may cause issues"} 
[2026-07-01 10:12:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73253832620025856,"note":"Value kept but may cause issues"} 
[2026-07-01 10:12:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:12:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782880814000,"timestamp_ms":1782880814000,"timestamp_seconds":1782880814,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bfa43b0"} 
[2026-07-01 10:12:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:12:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 10:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-01 10:12:58] 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-01 10:12:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:12:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:12:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:12:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:12:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:12:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:12:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 10:12:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:12:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:12:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417487872001,"66":28017,"141":206,"94":10240,"24":4,"16":333206427566866432,"44":-73253832620025856},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:12:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:12:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:12:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417487872001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:12:58] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:12:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:12:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206427566866432,"km_value":333206427566866.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:12:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73253832620025856,"description":"Unknown IO ID 44"} 
[2026-07-01 10:12:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417487872001,"power":28017,"unknown_141":206,"unknown_94":10240,"ignition":4,"odometer":null,"unknown_44":-73253832620025856}} 
[2026-07-01 10:12:58] local.INFO: DEBUG: GPS processor result {"connection_id":120783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:12:58] local.INFO: GPS data processed {"connection_id":120783,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:12:58] local.INFO: Acknowledgment sent {"connection_id":120783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:13:21] local.INFO: TCP Data received {"connection_id":119020,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:13:21] local.INFO: Processing buffer {"connection_id":119020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:13:21] local.INFO: IMEI packet received {"connection_id":119020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 10:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":119020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:13:21] local.INFO: TCP Data received {"connection_id":118908,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 10:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118908,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 10:13:21] local.INFO: Processing buffer {"connection_id":118908,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 10:13:21] local.INFO: IMEI packet received {"connection_id":118908,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 10:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":118908,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:13:26] local.INFO: TCP Data received {"connection_id":119020,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:13:26] local.INFO: Processing buffer {"connection_id":119020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:13:26] local.INFO: IMEI packet received {"connection_id":119020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":119020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:13:27] local.INFO: TCP Data received {"connection_id":119020,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bfa4b80012cfefc8007003df0000f008e2b..."} 
[2026-07-01 10:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bfa4b80012cfefc8007003df0000f008e2b..."} 
[2026-07-01 10:13:27] local.INFO: Processing buffer {"connection_id":119020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bfa4b80012cfefc8007003df0000f008e2b..."} 
[2026-07-01 10:13:27] local.INFO: Packet analysis {"connection_id":119020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bfa"} 
[2026-07-01 10:13:27] local.INFO: Extracted packet for processing {"connection_id":119020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bfa"} 
[2026-07-01 10:13:27] local.INFO: GPS Element Parsed {"raw_longitude":754908288,"raw_latitude":117456368,"longitude_deg":75.4908288,"latitude_deg":11.7456368,"altitude":15,"angle":142,"satellites":43,"speed":5,"hex_longitude":"2cfefc80","hex_latitude":"07003df0","is_valid_coordinates":true} 
[2026-07-01 10:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417488384001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206440451768320,"note":"Value kept but may cause issues"} 
[2026-07-01 10:13:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73183463875889152,"note":"Value kept but may cause issues"} 
[2026-07-01 10:13:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782880816000,"timestamp_ms":1782880816000,"timestamp_seconds":1782880816,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bfa4b80"} 
[2026-07-01 10:13:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:13:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 10:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-01 10:13:27] 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-01 10:13:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:13:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:13:27] 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-01 10:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417488384001,"66":28028,"141":206,"94":10240,"24":5,"16":333206440451768320,"44":-73183463875889152},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417488384001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:13:27] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:13:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206440451768320,"km_value":333206440451768.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:13:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73183463875889152,"description":"Unknown IO ID 44"} 
[2026-07-01 10:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417488384001,"power":28028,"unknown_141":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_44":-73183463875889152}} 
[2026-07-01 10:13:27] local.INFO: DEBUG: GPS processor result {"connection_id":119020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:13:27] local.INFO: GPS data processed {"connection_id":119020,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:13:27] local.INFO: Acknowledgment sent {"connection_id":119020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:13:58] local.INFO: TCP Data received {"connection_id":119020,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bfa5350012cfefd8007003d30000f007d2a..."} 
[2026-07-01 10:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bfa5350012cfefd8007003d30000f007d2a..."} 
[2026-07-01 10:13:58] local.INFO: Processing buffer {"connection_id":119020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bfa5350012cfefd8007003d30000f007d2a..."} 
[2026-07-01 10:13:58] local.INFO: Packet analysis {"connection_id":119020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bfa"} 
[2026-07-01 10:13:58] local.INFO: Extracted packet for processing {"connection_id":119020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bfa"} 
[2026-07-01 10:13:58] local.INFO: GPS Element Parsed {"raw_longitude":754908544,"raw_latitude":117456176,"longitude_deg":75.4908544,"latitude_deg":11.7456176,"altitude":15,"angle":125,"satellites":42,"speed":5,"hex_longitude":"2cfefd80","hex_latitude":"07003d30","is_valid_coordinates":true} 
[2026-07-01 10: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-01 10:13:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417488896001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:13:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206453336670208,"note":"Value kept but may cause issues"} 
[2026-07-01 10:13:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73042726387585024,"note":"Value kept but may cause issues"} 
[2026-07-01 10:13:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:13:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782880818000,"timestamp_ms":1782880818000,"timestamp_seconds":1782880818,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bfa5350"} 
[2026-07-01 10: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-01 10:13:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 10:13:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-01 10:13:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10: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-01 10: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-01 10:13:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:13:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:13:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:13:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:13:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 10:13:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:13:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:13:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417488896001,"66":27908,"141":206,"94":10240,"24":5,"16":333206453336670208,"44":-73042726387585024},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:13:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:13:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:13:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417488896001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:13:58] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:13:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:13:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206453336670208,"km_value":333206453336670.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:13:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73042726387585024,"description":"Unknown IO ID 44"} 
[2026-07-01 10:13:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417488896001,"power":27908,"unknown_141":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_44":-73042726387585024}} 
[2026-07-01 10:13:58] local.INFO: DEBUG: GPS processor result {"connection_id":119020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:13:58] local.INFO: GPS data processed {"connection_id":119020,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:13:58] local.INFO: Acknowledgment sent {"connection_id":119020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:14:21] local.INFO: TCP Data received {"connection_id":119695,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:14:21] local.INFO: Processing buffer {"connection_id":119695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:14:21] local.INFO: IMEI packet received {"connection_id":119695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 10:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":119695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:14:26] local.INFO: TCP Data received {"connection_id":119695,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:14:26] local.INFO: Processing buffer {"connection_id":119695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:14:26] local.INFO: IMEI packet received {"connection_id":119695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":119695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:14:27] local.INFO: TCP Data received {"connection_id":119695,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bfa5f08012cfefe4007003c90000f007c2a..."} 
[2026-07-01 10:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bfa5f08012cfefe4007003c90000f007c2a..."} 
[2026-07-01 10:14:27] local.INFO: Processing buffer {"connection_id":119695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bfa5f08012cfefe4007003c90000f007c2a..."} 
[2026-07-01 10:14:27] local.INFO: Packet analysis {"connection_id":119695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bfa"} 
[2026-07-01 10:14:27] local.INFO: Extracted packet for processing {"connection_id":119695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bfa"} 
[2026-07-01 10:14:27] local.INFO: GPS Element Parsed {"raw_longitude":754908736,"raw_latitude":117456016,"longitude_deg":75.4908736,"latitude_deg":11.7456016,"altitude":15,"angle":124,"satellites":42,"speed":2,"hex_longitude":"2cfefe40","hex_latitude":"07003c90","is_valid_coordinates":true} 
[2026-07-01 10:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417489408001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206466221572096,"note":"Value kept but may cause issues"} 
[2026-07-01 10:14:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72761251410923520,"note":"Value kept but may cause issues"} 
[2026-07-01 10:14:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782880821000,"timestamp_ms":1782880821000,"timestamp_seconds":1782880821,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bfa5f08"} 
[2026-07-01 10:14:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:14:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 10:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 10:14:27] 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-01 10:14:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:14:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:14:27] 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-01 10:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417489408001,"66":27919,"141":206,"94":10240,"24":2,"16":333206466221572096,"44":-72761251410923520},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417489408001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:14:27] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:14:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206466221572096,"km_value":333206466221572.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:14:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72761251410923520,"description":"Unknown IO ID 44"} 
[2026-07-01 10:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417489408001,"power":27919,"unknown_141":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_44":-72761251410923520}} 
[2026-07-01 10:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":119695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:14:27] local.INFO: GPS data processed {"connection_id":119695,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:14:27] local.INFO: Acknowledgment sent {"connection_id":119695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:14:58] local.INFO: TCP Data received {"connection_id":119695,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bfa62f0012cfefe8007003c88000f005629..."} 
[2026-07-01 10:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bfa62f0012cfefe8007003c88000f005629..."} 
[2026-07-01 10:14:58] local.INFO: Processing buffer {"connection_id":119695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bfa62f0012cfefe8007003c88000f005629..."} 
[2026-07-01 10:14:58] local.INFO: Packet analysis {"connection_id":119695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bfa"} 
[2026-07-01 10:14:58] local.INFO: Extracted packet for processing {"connection_id":119695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bfa"} 
[2026-07-01 10:14:58] local.INFO: GPS Element Parsed {"raw_longitude":754908800,"raw_latitude":117456008,"longitude_deg":75.49088,"latitude_deg":11.7456008,"altitude":15,"angle":86,"satellites":41,"speed":0,"hex_longitude":"2cfefe80","hex_latitude":"07003c88","is_valid_coordinates":true} 
[2026-07-01 10:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417490176001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206466221572096,"note":"Value kept but may cause issues"} 
[2026-07-01 10:14:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72550145178431488,"note":"Value kept but may cause issues"} 
[2026-07-01 10:14:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782880822000,"timestamp_ms":1782880822000,"timestamp_seconds":1782880822,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bfa62f0"} 
[2026-07-01 10:14:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:14:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 10:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 10:14:58] 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-01 10:14:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:14:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:14:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 10:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417490176001,"66":27658,"141":206,"94":10240,"24":0,"16":333206466221572096,"44":-72550145178431488},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417490176001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:14:58] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:14:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206466221572096,"km_value":333206466221572.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:14:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72550145178431488,"description":"Unknown IO ID 44"} 
[2026-07-01 10:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417490176001,"power":27658,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-72550145178431488}} 
[2026-07-01 10:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":119695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:14:58] local.INFO: GPS data processed {"connection_id":119695,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:14:58] local.INFO: Acknowledgment sent {"connection_id":119695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:15:26] local.INFO: TCP Data received {"connection_id":120784,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:15:26] local.INFO: Processing buffer {"connection_id":120784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:15:26] local.INFO: IMEI packet received {"connection_id":120784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 10:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":120784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:15:31] local.INFO: TCP Data received {"connection_id":120784,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:15:31] local.INFO: Processing buffer {"connection_id":120784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:15:31] local.INFO: IMEI packet received {"connection_id":120784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":120784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:15:32] local.INFO: TCP Data received {"connection_id":120784,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bfa62f0012cfefe8007003c88000f005629..."} 
[2026-07-01 10:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bfa62f0012cfefe8007003c88000f005629..."} 
[2026-07-01 10:15:32] local.INFO: Processing buffer {"connection_id":120784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bfa62f0012cfefe8007003c88000f005629..."} 
[2026-07-01 10:15:32] local.INFO: Packet analysis {"connection_id":120784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bfa"} 
[2026-07-01 10:15:32] local.INFO: Extracted packet for processing {"connection_id":120784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bfa"} 
[2026-07-01 10:15:32] local.INFO: GPS Element Parsed {"raw_longitude":754908800,"raw_latitude":117456008,"longitude_deg":75.49088,"latitude_deg":11.7456008,"altitude":15,"angle":86,"satellites":41,"speed":0,"hex_longitude":"2cfefe80","hex_latitude":"07003c88","is_valid_coordinates":true} 
[2026-07-01 10:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417490176001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206466221572096,"note":"Value kept but may cause issues"} 
[2026-07-01 10:15:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72550145178431488,"note":"Value kept but may cause issues"} 
[2026-07-01 10:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782880822000,"timestamp_ms":1782880822000,"timestamp_seconds":1782880822,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bfa62f0"} 
[2026-07-01 10:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:15:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 10:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 10:15:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10:15:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":120784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":120784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":120784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 10:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417490176001,"66":27658,"141":206,"94":10240,"24":0,"16":333206466221572096,"44":-72550145178431488},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417490176001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:15:32] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:15:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206466221572096,"km_value":333206466221572.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:15:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72550145178431488,"description":"Unknown IO ID 44"} 
[2026-07-01 10:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417490176001,"power":27658,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-72550145178431488}} 
[2026-07-01 10:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":120784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:15:32] local.INFO: GPS data processed {"connection_id":120784,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:15:32] local.INFO: Acknowledgment sent {"connection_id":120784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:15:37] local.INFO: TCP Data received {"connection_id":120784,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bfa62f0012cfefe8007003c88000f005629..."} 
[2026-07-01 10:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bfa62f0012cfefe8007003c88000f005629..."} 
[2026-07-01 10:15:37] local.INFO: Processing buffer {"connection_id":120784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bfa62f0012cfefe8007003c88000f005629..."} 
[2026-07-01 10:15:37] local.INFO: Packet analysis {"connection_id":120784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bfa"} 
[2026-07-01 10:15:37] local.INFO: Extracted packet for processing {"connection_id":120784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bfa"} 
[2026-07-01 10:15:37] local.INFO: GPS Element Parsed {"raw_longitude":754908800,"raw_latitude":117456008,"longitude_deg":75.49088,"latitude_deg":11.7456008,"altitude":15,"angle":86,"satellites":41,"speed":0,"hex_longitude":"2cfefe80","hex_latitude":"07003c88","is_valid_coordinates":true} 
[2026-07-01 10: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-01 10:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417490176001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206466221572096,"note":"Value kept but may cause issues"} 
[2026-07-01 10:15:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72550145178431488,"note":"Value kept but may cause issues"} 
[2026-07-01 10:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782880822000,"timestamp_ms":1782880822000,"timestamp_seconds":1782880822,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bfa62f0"} 
[2026-07-01 10: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-01 10:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 10: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 10:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10: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-01 10: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-01 10:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":120784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":120784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":120784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 10:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417490176001,"66":27658,"141":206,"94":10240,"24":0,"16":333206466221572096,"44":-72550145178431488},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417490176001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:15:37] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:15:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206466221572096,"km_value":333206466221572.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:15:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72550145178431488,"description":"Unknown IO ID 44"} 
[2026-07-01 10:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417490176001,"power":27658,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-72550145178431488}} 
[2026-07-01 10:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":120784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:15:37] local.INFO: GPS data processed {"connection_id":120784,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:15:37] local.INFO: Acknowledgment sent {"connection_id":120784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:16:21] local.INFO: TCP Data received {"connection_id":119697,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:16:21] local.INFO: Processing buffer {"connection_id":119697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:16:21] local.INFO: IMEI packet received {"connection_id":119697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 10:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":119697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:16:26] local.INFO: TCP Data received {"connection_id":119697,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:16:26] local.INFO: Processing buffer {"connection_id":119697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:16:26] local.INFO: IMEI packet received {"connection_id":119697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":119697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:16:28] local.INFO: TCP Data received {"connection_id":119697,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bfefea0012cff00c007003bd8000f005626..."} 
[2026-07-01 10:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bfefea0012cff00c007003bd8000f005626..."} 
[2026-07-01 10:16:28] local.INFO: Processing buffer {"connection_id":119697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bfefea0012cff00c007003bd8000f005626..."} 
[2026-07-01 10:16:28] local.INFO: Packet analysis {"connection_id":119697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bfe"} 
[2026-07-01 10:16:28] local.INFO: Extracted packet for processing {"connection_id":119697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bfe"} 
[2026-07-01 10:16:28] local.INFO: GPS Element Parsed {"raw_longitude":754909376,"raw_latitude":117455832,"longitude_deg":75.4909376,"latitude_deg":11.7455832,"altitude":15,"angle":86,"satellites":38,"speed":0,"hex_longitude":"2cff00c0","hex_latitude":"07003bd8","is_valid_coordinates":true} 
[2026-07-01 10:16:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:16:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417490432001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:16:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206466221572096,"note":"Value kept but may cause issues"} 
[2026-07-01 10:16:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72479776434255872,"note":"Value kept but may cause issues"} 
[2026-07-01 10:16:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:16:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782881124000,"timestamp_ms":1782881124000,"timestamp_seconds":1782881124,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bfefea0"} 
[2026-07-01 10:16:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:16:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 10:16:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-01 10:16:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10:16:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:16:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:16:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:16:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:16:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:16:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:16:28] 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-01 10:16:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:16:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:16:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417490432001,"66":26180,"141":206,"94":10240,"24":0,"16":333206466221572096,"44":-72479776434255872},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:16:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:16:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:16:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417490432001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:16:28] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:16:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:16:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206466221572096,"km_value":333206466221572.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:16:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72479776434255872,"description":"Unknown IO ID 44"} 
[2026-07-01 10:16:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417490432001,"power":26180,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-72479776434255872}} 
[2026-07-01 10:16:28] local.INFO: DEBUG: GPS processor result {"connection_id":119697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:16:28] local.INFO: GPS data processed {"connection_id":119697,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:16:28] local.INFO: Acknowledgment sent {"connection_id":119697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:16:59] local.INFO: TCP Data received {"connection_id":119697,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bfefea0012cff00c007003bd8000f005626..."} 
[2026-07-01 10:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bfefea0012cff00c007003bd8000f005626..."} 
[2026-07-01 10:16:59] local.INFO: Processing buffer {"connection_id":119697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bfefea0012cff00c007003bd8000f005626..."} 
[2026-07-01 10:16:59] local.INFO: Packet analysis {"connection_id":119697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bfe"} 
[2026-07-01 10:16:59] local.INFO: Extracted packet for processing {"connection_id":119697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bfe"} 
[2026-07-01 10:16:59] local.INFO: GPS Element Parsed {"raw_longitude":754909376,"raw_latitude":117455832,"longitude_deg":75.4909376,"latitude_deg":11.7455832,"altitude":15,"angle":86,"satellites":38,"speed":0,"hex_longitude":"2cff00c0","hex_latitude":"07003bd8","is_valid_coordinates":true} 
[2026-07-01 10:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417490432001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206466221572096,"note":"Value kept but may cause issues"} 
[2026-07-01 10:16:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72479776434255872,"note":"Value kept but may cause issues"} 
[2026-07-01 10:16:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782881124000,"timestamp_ms":1782881124000,"timestamp_seconds":1782881124,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bfefea0"} 
[2026-07-01 10:16:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:16:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 10:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-01 10:16:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10:16:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:16:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:16:59] 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-01 10:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417490432001,"66":26180,"141":206,"94":10240,"24":0,"16":333206466221572096,"44":-72479776434255872},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417490432001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:16:59] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:16:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206466221572096,"km_value":333206466221572.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:16:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72479776434255872,"description":"Unknown IO ID 44"} 
[2026-07-01 10:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417490432001,"power":26180,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-72479776434255872}} 
[2026-07-01 10:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":119697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:16:59] local.INFO: GPS data processed {"connection_id":119697,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:16:59] local.INFO: Acknowledgment sent {"connection_id":119697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:17:21] local.INFO: TCP Data received {"connection_id":119022,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:17:21] local.INFO: Processing buffer {"connection_id":119022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:17:21] local.INFO: IMEI packet received {"connection_id":119022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 10:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":119022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:17:26] local.INFO: TCP Data received {"connection_id":119022,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:17:26] local.INFO: Processing buffer {"connection_id":119022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:17:26] local.INFO: IMEI packet received {"connection_id":119022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":119022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:17:27] local.INFO: TCP Data received {"connection_id":119022,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bfefea0012cff00c007003bd8000f005626..."} 
[2026-07-01 10:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bfefea0012cff00c007003bd8000f005626..."} 
[2026-07-01 10:17:27] local.INFO: Processing buffer {"connection_id":119022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bfefea0012cff00c007003bd8000f005626..."} 
[2026-07-01 10:17:27] local.INFO: Packet analysis {"connection_id":119022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bfe"} 
[2026-07-01 10:17:27] local.INFO: Extracted packet for processing {"connection_id":119022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bfe"} 
[2026-07-01 10:17:27] local.INFO: GPS Element Parsed {"raw_longitude":754909376,"raw_latitude":117455832,"longitude_deg":75.4909376,"latitude_deg":11.7455832,"altitude":15,"angle":86,"satellites":38,"speed":0,"hex_longitude":"2cff00c0","hex_latitude":"07003bd8","is_valid_coordinates":true} 
[2026-07-01 10:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417490432001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206466221572096,"note":"Value kept but may cause issues"} 
[2026-07-01 10:17:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72479776434255872,"note":"Value kept but may cause issues"} 
[2026-07-01 10:17:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782881124000,"timestamp_ms":1782881124000,"timestamp_seconds":1782881124,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bfefea0"} 
[2026-07-01 10:17:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:17:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 10:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-01 10:17:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10:17:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:17:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:17:27] 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-01 10:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417490432001,"66":26180,"141":206,"94":10240,"24":0,"16":333206466221572096,"44":-72479776434255872},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417490432001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:17:27] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:17:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206466221572096,"km_value":333206466221572.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:17:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72479776434255872,"description":"Unknown IO ID 44"} 
[2026-07-01 10:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417490432001,"power":26180,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-72479776434255872}} 
[2026-07-01 10:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":119022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:17:27] local.INFO: GPS data processed {"connection_id":119022,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:17:27] local.INFO: Acknowledgment sent {"connection_id":119022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:17:58] local.INFO: TCP Data received {"connection_id":119022,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bfefea0012cff00c007003bd8000f005626..."} 
[2026-07-01 10:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bfefea0012cff00c007003bd8000f005626..."} 
[2026-07-01 10:17:58] local.INFO: Processing buffer {"connection_id":119022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bfefea0012cff00c007003bd8000f005626..."} 
[2026-07-01 10:17:58] local.INFO: Packet analysis {"connection_id":119022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bfe"} 
[2026-07-01 10:17:58] local.INFO: Extracted packet for processing {"connection_id":119022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bfe"} 
[2026-07-01 10:17:58] local.INFO: GPS Element Parsed {"raw_longitude":754909376,"raw_latitude":117455832,"longitude_deg":75.4909376,"latitude_deg":11.7455832,"altitude":15,"angle":86,"satellites":38,"speed":0,"hex_longitude":"2cff00c0","hex_latitude":"07003bd8","is_valid_coordinates":true} 
[2026-07-01 10:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417490432001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:17:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206466221572096,"note":"Value kept but may cause issues"} 
[2026-07-01 10:17:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72479776434255872,"note":"Value kept but may cause issues"} 
[2026-07-01 10:17:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:17:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782881124000,"timestamp_ms":1782881124000,"timestamp_seconds":1782881124,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bfefea0"} 
[2026-07-01 10:17:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:17:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 10:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-01 10:17:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10:17:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:17:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:17:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:17:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:17:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:17:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:17:58] 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-01 10:17:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:17:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:17:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417490432001,"66":26180,"141":206,"94":10240,"24":0,"16":333206466221572096,"44":-72479776434255872},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:17:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:17:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:17:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417490432001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:17:58] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:17:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:17:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206466221572096,"km_value":333206466221572.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:17:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72479776434255872,"description":"Unknown IO ID 44"} 
[2026-07-01 10:17:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417490432001,"power":26180,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-72479776434255872}} 
[2026-07-01 10:17:58] local.INFO: DEBUG: GPS processor result {"connection_id":119022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:17:58] local.INFO: GPS data processed {"connection_id":119022,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:17:58] local.INFO: Acknowledgment sent {"connection_id":119022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:18:26] local.INFO: TCP Data received {"connection_id":120785,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:18:26] local.INFO: Processing buffer {"connection_id":120785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:18:26] local.INFO: IMEI packet received {"connection_id":120785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 10:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":120785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:18:31] local.INFO: TCP Data received {"connection_id":120785,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:18:31] local.INFO: Processing buffer {"connection_id":120785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:18:31] local.INFO: IMEI packet received {"connection_id":120785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":120785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:18:32] local.INFO: TCP Data received {"connection_id":120785,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bfefea0012cff00c007003bd8000f005626..."} 
[2026-07-01 10:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bfefea0012cff00c007003bd8000f005626..."} 
[2026-07-01 10:18:32] local.INFO: Processing buffer {"connection_id":120785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bfefea0012cff00c007003bd8000f005626..."} 
[2026-07-01 10:18:32] local.INFO: Packet analysis {"connection_id":120785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bfe"} 
[2026-07-01 10:18:32] local.INFO: Extracted packet for processing {"connection_id":120785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bfe"} 
[2026-07-01 10:18:32] local.INFO: GPS Element Parsed {"raw_longitude":754909376,"raw_latitude":117455832,"longitude_deg":75.4909376,"latitude_deg":11.7455832,"altitude":15,"angle":86,"satellites":38,"speed":0,"hex_longitude":"2cff00c0","hex_latitude":"07003bd8","is_valid_coordinates":true} 
[2026-07-01 10:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417490432001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206466221572096,"note":"Value kept but may cause issues"} 
[2026-07-01 10:18:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72479776434255872,"note":"Value kept but may cause issues"} 
[2026-07-01 10:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782881124000,"timestamp_ms":1782881124000,"timestamp_seconds":1782881124,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bfefea0"} 
[2026-07-01 10:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:18:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 10:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-01 10:18:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10:18:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":120785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":120785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":120785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 10:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417490432001,"66":26180,"141":206,"94":10240,"24":0,"16":333206466221572096,"44":-72479776434255872},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417490432001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:18:32] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:18:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206466221572096,"km_value":333206466221572.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:18:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72479776434255872,"description":"Unknown IO ID 44"} 
[2026-07-01 10:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417490432001,"power":26180,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-72479776434255872}} 
[2026-07-01 10:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":120785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:18:32] local.INFO: GPS data processed {"connection_id":120785,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:18:32] local.INFO: Acknowledgment sent {"connection_id":120785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:18:37] local.INFO: TCP Data received {"connection_id":120785,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bfefea0012cff00c007003bd8000f005626..."} 
[2026-07-01 10:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bfefea0012cff00c007003bd8000f005626..."} 
[2026-07-01 10:18:37] local.INFO: Processing buffer {"connection_id":120785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bfefea0012cff00c007003bd8000f005626..."} 
[2026-07-01 10:18:37] local.INFO: Packet analysis {"connection_id":120785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bfe"} 
[2026-07-01 10:18:37] local.INFO: Extracted packet for processing {"connection_id":120785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bfe"} 
[2026-07-01 10:18:37] local.INFO: GPS Element Parsed {"raw_longitude":754909376,"raw_latitude":117455832,"longitude_deg":75.4909376,"latitude_deg":11.7455832,"altitude":15,"angle":86,"satellites":38,"speed":0,"hex_longitude":"2cff00c0","hex_latitude":"07003bd8","is_valid_coordinates":true} 
[2026-07-01 10:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417490432001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206466221572096,"note":"Value kept but may cause issues"} 
[2026-07-01 10:18:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72479776434255872,"note":"Value kept but may cause issues"} 
[2026-07-01 10:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782881124000,"timestamp_ms":1782881124000,"timestamp_seconds":1782881124,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bfefea0"} 
[2026-07-01 10:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 10:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-01 10:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":120785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":120785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":120785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 10:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417490432001,"66":26180,"141":206,"94":10240,"24":0,"16":333206466221572096,"44":-72479776434255872},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417490432001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:18:37] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:18:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206466221572096,"km_value":333206466221572.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:18:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72479776434255872,"description":"Unknown IO ID 44"} 
[2026-07-01 10:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417490432001,"power":26180,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-72479776434255872}} 
[2026-07-01 10:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":120785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:18:37] local.INFO: GPS data processed {"connection_id":120785,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:18:37] local.INFO: Acknowledgment sent {"connection_id":120785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:18:46] local.INFO: TCP Data received {"connection_id":119023,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 10:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119023,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 10:18:46] local.INFO: Processing buffer {"connection_id":119023,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 10:18:46] local.INFO: IMEI packet received {"connection_id":119023,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 10:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":119023,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:19:16] local.INFO: TCP Data received {"connection_id":118910,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 10:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118910,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 10:19:16] local.INFO: Processing buffer {"connection_id":118910,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 10:19:16] local.INFO: IMEI packet received {"connection_id":118910,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 10:19:16] local.INFO: IMEI acknowledgment sent {"connection_id":118910,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:19:21] local.INFO: TCP Data received {"connection_id":119024,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:19:21] local.INFO: Processing buffer {"connection_id":119024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:19:21] local.INFO: IMEI packet received {"connection_id":119024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 10:19:21] local.INFO: IMEI acknowledgment sent {"connection_id":119024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:19:26] local.INFO: TCP Data received {"connection_id":119024,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:19:26] local.INFO: Processing buffer {"connection_id":119024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:19:26] local.INFO: IMEI packet received {"connection_id":119024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":119024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:19:27] local.INFO: TCP Data received {"connection_id":119024,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bfefea0012cff00c007003bd8000f005626..."} 
[2026-07-01 10:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bfefea0012cff00c007003bd8000f005626..."} 
[2026-07-01 10:19:27] local.INFO: Processing buffer {"connection_id":119024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bfefea0012cff00c007003bd8000f005626..."} 
[2026-07-01 10:19:27] local.INFO: Packet analysis {"connection_id":119024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bfe"} 
[2026-07-01 10:19:27] local.INFO: Extracted packet for processing {"connection_id":119024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bfe"} 
[2026-07-01 10:19:27] local.INFO: GPS Element Parsed {"raw_longitude":754909376,"raw_latitude":117455832,"longitude_deg":75.4909376,"latitude_deg":11.7455832,"altitude":15,"angle":86,"satellites":38,"speed":0,"hex_longitude":"2cff00c0","hex_latitude":"07003bd8","is_valid_coordinates":true} 
[2026-07-01 10:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:19:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417490432001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:19:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206466221572096,"note":"Value kept but may cause issues"} 
[2026-07-01 10:19:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72479776434255872,"note":"Value kept but may cause issues"} 
[2026-07-01 10:19:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:19:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782881124000,"timestamp_ms":1782881124000,"timestamp_seconds":1782881124,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bfefea0"} 
[2026-07-01 10:19:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:19:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 10:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-01 10:19:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10:19:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:19:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:19:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:19:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:19:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:19:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:19:27] local.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-01 10:19:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:19:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:19:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417490432001,"66":26180,"141":206,"94":10240,"24":0,"16":333206466221572096,"44":-72479776434255872},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:19:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:19:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:19:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417490432001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:19:27] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:19:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:19:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206466221572096,"km_value":333206466221572.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:19:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72479776434255872,"description":"Unknown IO ID 44"} 
[2026-07-01 10:19:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417490432001,"power":26180,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-72479776434255872}} 
[2026-07-01 10:19:27] local.INFO: DEBUG: GPS processor result {"connection_id":119024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:19:27] local.INFO: GPS data processed {"connection_id":119024,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:19:27] local.INFO: Acknowledgment sent {"connection_id":119024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:19:58] local.INFO: TCP Data received {"connection_id":119024,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bfefea0012cff00c007003bd8000f005626..."} 
[2026-07-01 10:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bfefea0012cff00c007003bd8000f005626..."} 
[2026-07-01 10:19:58] local.INFO: Processing buffer {"connection_id":119024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bfefea0012cff00c007003bd8000f005626..."} 
[2026-07-01 10:19:58] local.INFO: Packet analysis {"connection_id":119024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bfe"} 
[2026-07-01 10:19:58] local.INFO: Extracted packet for processing {"connection_id":119024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bfe"} 
[2026-07-01 10:19:58] local.INFO: GPS Element Parsed {"raw_longitude":754909376,"raw_latitude":117455832,"longitude_deg":75.4909376,"latitude_deg":11.7455832,"altitude":15,"angle":86,"satellites":38,"speed":0,"hex_longitude":"2cff00c0","hex_latitude":"07003bd8","is_valid_coordinates":true} 
[2026-07-01 10:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:19:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417490432001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:19:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206466221572096,"note":"Value kept but may cause issues"} 
[2026-07-01 10:19:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72479776434255872,"note":"Value kept but may cause issues"} 
[2026-07-01 10:19:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:19:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782881124000,"timestamp_ms":1782881124000,"timestamp_seconds":1782881124,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bfefea0"} 
[2026-07-01 10:19:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:19:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 10:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-01 10:19:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10:19:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:19:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:19:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:19:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:19:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:19:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:19: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-01 10:19:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:19:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:19:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417490432001,"66":26180,"141":206,"94":10240,"24":0,"16":333206466221572096,"44":-72479776434255872},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:19:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:19:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:19:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417490432001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:19:58] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:19:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:19:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206466221572096,"km_value":333206466221572.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:19:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72479776434255872,"description":"Unknown IO ID 44"} 
[2026-07-01 10:19:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417490432001,"power":26180,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-72479776434255872}} 
[2026-07-01 10:19:58] local.INFO: DEBUG: GPS processor result {"connection_id":119024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:19:58] local.INFO: GPS data processed {"connection_id":119024,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:19:58] local.INFO: Acknowledgment sent {"connection_id":119024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:20:21] local.INFO: TCP Data received {"connection_id":119025,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:20:21] local.INFO: Processing buffer {"connection_id":119025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:20:21] local.INFO: IMEI packet received {"connection_id":119025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 10:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":119025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:20:26] local.INFO: TCP Data received {"connection_id":119025,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:20:26] local.INFO: Processing buffer {"connection_id":119025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:20:26] local.INFO: IMEI packet received {"connection_id":119025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":119025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:20:27] local.INFO: TCP Data received {"connection_id":119025,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bfefea0012cff00c007003bd8000f005626..."} 
[2026-07-01 10:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bfefea0012cff00c007003bd8000f005626..."} 
[2026-07-01 10:20:27] local.INFO: Processing buffer {"connection_id":119025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bfefea0012cff00c007003bd8000f005626..."} 
[2026-07-01 10:20:27] local.INFO: Packet analysis {"connection_id":119025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bfe"} 
[2026-07-01 10:20:27] local.INFO: Extracted packet for processing {"connection_id":119025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bfe"} 
[2026-07-01 10:20:27] local.INFO: GPS Element Parsed {"raw_longitude":754909376,"raw_latitude":117455832,"longitude_deg":75.4909376,"latitude_deg":11.7455832,"altitude":15,"angle":86,"satellites":38,"speed":0,"hex_longitude":"2cff00c0","hex_latitude":"07003bd8","is_valid_coordinates":true} 
[2026-07-01 10:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417490432001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206466221572096,"note":"Value kept but may cause issues"} 
[2026-07-01 10:20:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72479776434255872,"note":"Value kept but may cause issues"} 
[2026-07-01 10:20:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782881124000,"timestamp_ms":1782881124000,"timestamp_seconds":1782881124,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bfefea0"} 
[2026-07-01 10:20:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:20:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 10:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-01 10:20:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10:20:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:20:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:20:27] local.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-01 10:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417490432001,"66":26180,"141":206,"94":10240,"24":0,"16":333206466221572096,"44":-72479776434255872},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417490432001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:20:27] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:20:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206466221572096,"km_value":333206466221572.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:20:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72479776434255872,"description":"Unknown IO ID 44"} 
[2026-07-01 10:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417490432001,"power":26180,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-72479776434255872}} 
[2026-07-01 10:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":119025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:20:27] local.INFO: GPS data processed {"connection_id":119025,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:20:27] local.INFO: Acknowledgment sent {"connection_id":119025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:20:59] local.INFO: TCP Data received {"connection_id":119025,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1bfefea0012cff00c007003bd8000f005626..."} 
[2026-07-01 10:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1bfefea0012cff00c007003bd8000f005626..."} 
[2026-07-01 10:20:59] local.INFO: Processing buffer {"connection_id":119025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1bfefea0012cff00c007003bd8000f005626..."} 
[2026-07-01 10:20:59] local.INFO: Packet analysis {"connection_id":119025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1bfe"} 
[2026-07-01 10:20:59] local.INFO: Extracted packet for processing {"connection_id":119025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1bfe"} 
[2026-07-01 10:20:59] local.INFO: GPS Element Parsed {"raw_longitude":754909376,"raw_latitude":117455832,"longitude_deg":75.4909376,"latitude_deg":11.7455832,"altitude":15,"angle":86,"satellites":38,"speed":0,"hex_longitude":"2cff00c0","hex_latitude":"07003bd8","is_valid_coordinates":true} 
[2026-07-01 10:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417490432001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206466221572096,"note":"Value kept but may cause issues"} 
[2026-07-01 10:20:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72479776434255872,"note":"Value kept but may cause issues"} 
[2026-07-01 10:20:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782881124000,"timestamp_ms":1782881124000,"timestamp_seconds":1782881124,"priority":1,"record_length":96,"hex_timestamp":"0000019f1bfefea0"} 
[2026-07-01 10:20:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:20:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 10:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-01 10:20:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10:20:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:20:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:20:59] local.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-01 10:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417490432001,"66":26180,"141":206,"94":10240,"24":0,"16":333206466221572096,"44":-72479776434255872},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417490432001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:20:59] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:20:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206466221572096,"km_value":333206466221572.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:20:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72479776434255872,"description":"Unknown IO ID 44"} 
[2026-07-01 10:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417490432001,"power":26180,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-72479776434255872}} 
[2026-07-01 10:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":119025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:20:59] local.INFO: GPS data processed {"connection_id":119025,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:20:59] local.INFO: Acknowledgment sent {"connection_id":119025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:21:21] local.INFO: TCP Data received {"connection_id":118911,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:21:21] local.INFO: Processing buffer {"connection_id":118911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:21:21] local.INFO: IMEI packet received {"connection_id":118911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 10:21:21] local.INFO: IMEI acknowledgment sent {"connection_id":118911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:21:26] local.INFO: TCP Data received {"connection_id":118911,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:21:26] local.INFO: Processing buffer {"connection_id":118911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:21:26] local.INFO: IMEI packet received {"connection_id":118911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":118911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:21:27] local.INFO: TCP Data received {"connection_id":118911,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c039668012cff00c007003bd8000f005629..."} 
[2026-07-01 10:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c039668012cff00c007003bd8000f005629..."} 
[2026-07-01 10:21:27] local.INFO: Processing buffer {"connection_id":118911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c039668012cff00c007003bd8000f005629..."} 
[2026-07-01 10:21:27] local.INFO: Packet analysis {"connection_id":118911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c03"} 
[2026-07-01 10:21:27] local.INFO: Extracted packet for processing {"connection_id":118911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c03"} 
[2026-07-01 10:21:27] local.INFO: GPS Element Parsed {"raw_longitude":754909376,"raw_latitude":117455832,"longitude_deg":75.4909376,"latitude_deg":11.7455832,"altitude":15,"angle":86,"satellites":41,"speed":0,"hex_longitude":"2cff00c0","hex_latitude":"07003bd8","is_valid_coordinates":true} 
[2026-07-01 10:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:21:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417567744001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:21:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206466221572096,"note":"Value kept but may cause issues"} 
[2026-07-01 10:21:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71846457736701952,"note":"Value kept but may cause issues"} 
[2026-07-01 10:21:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:21:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782881425000,"timestamp_ms":1782881425000,"timestamp_seconds":1782881425,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c039668"} 
[2026-07-01 10:21:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:21:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 10:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-01 10:21:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10:21:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:21:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:21:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:21:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:21:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:21:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:21:27] local.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-01 10:21:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:21:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:21:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417567744001,"66":25995,"141":206,"94":10240,"24":0,"16":333206466221572096,"44":-71846457736701952},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:21:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:21:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:21:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417567744001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:21:27] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:21:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:21:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206466221572096,"km_value":333206466221572.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:21:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71846457736701952,"description":"Unknown IO ID 44"} 
[2026-07-01 10:21:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417567744001,"power":25995,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-71846457736701952}} 
[2026-07-01 10:21:27] local.INFO: DEBUG: GPS processor result {"connection_id":118911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:21:27] local.INFO: GPS data processed {"connection_id":118911,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:21:27] local.INFO: Acknowledgment sent {"connection_id":118911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:22:12] local.INFO: TCP Data received {"connection_id":118911,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c039668012cff00c007003bd8000f005629..."} 
[2026-07-01 10:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c039668012cff00c007003bd8000f005629..."} 
[2026-07-01 10:22:12] local.INFO: Processing buffer {"connection_id":118911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c039668012cff00c007003bd8000f005629..."} 
[2026-07-01 10:22:12] local.INFO: Packet analysis {"connection_id":118911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c03"} 
[2026-07-01 10:22:12] local.INFO: Extracted packet for processing {"connection_id":118911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c03"} 
[2026-07-01 10:22:12] local.INFO: GPS Element Parsed {"raw_longitude":754909376,"raw_latitude":117455832,"longitude_deg":75.4909376,"latitude_deg":11.7455832,"altitude":15,"angle":86,"satellites":41,"speed":0,"hex_longitude":"2cff00c0","hex_latitude":"07003bd8","is_valid_coordinates":true} 
[2026-07-01 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-01 10:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417567744001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206466221572096,"note":"Value kept but may cause issues"} 
[2026-07-01 10:22:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71846457736701952,"note":"Value kept but may cause issues"} 
[2026-07-01 10:22:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1782881425000,"timestamp_ms":1782881425000,"timestamp_seconds":1782881425,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c039668"} 
[2026-07-01 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-01 10:22:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-01 10:22:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 10:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":118911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":118911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":118911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:22: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-01 10:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417567744001,"66":25995,"141":206,"94":10240,"24":0,"16":333206466221572096,"44":-71846457736701952},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417567744001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:22:12] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:22:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206466221572096,"km_value":333206466221572.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:22:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71846457736701952,"description":"Unknown IO ID 44"} 
[2026-07-01 10:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417567744001,"power":25995,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-71846457736701952}} 
[2026-07-01 10:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":118911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:22:12] local.INFO: GPS data processed {"connection_id":118911,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:22:12] local.INFO: Acknowledgment sent {"connection_id":118911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:22:21] local.INFO: TCP Data received {"connection_id":119026,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:22:21] local.INFO: Processing buffer {"connection_id":119026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:22:21] local.INFO: IMEI packet received {"connection_id":119026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 10:22:21] local.INFO: IMEI acknowledgment sent {"connection_id":119026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:22:26] local.INFO: TCP Data received {"connection_id":119026,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:22:26] local.INFO: Processing buffer {"connection_id":119026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:22:26] local.INFO: IMEI packet received {"connection_id":119026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":119026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:22:27] local.INFO: TCP Data received {"connection_id":119026,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c039668012cff00c007003bd8000f005629..."} 
[2026-07-01 10:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c039668012cff00c007003bd8000f005629..."} 
[2026-07-01 10:22:27] local.INFO: Processing buffer {"connection_id":119026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c039668012cff00c007003bd8000f005629..."} 
[2026-07-01 10:22:27] local.INFO: Packet analysis {"connection_id":119026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c03"} 
[2026-07-01 10:22:27] local.INFO: Extracted packet for processing {"connection_id":119026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c03"} 
[2026-07-01 10:22:27] local.INFO: GPS Element Parsed {"raw_longitude":754909376,"raw_latitude":117455832,"longitude_deg":75.4909376,"latitude_deg":11.7455832,"altitude":15,"angle":86,"satellites":41,"speed":0,"hex_longitude":"2cff00c0","hex_latitude":"07003bd8","is_valid_coordinates":true} 
[2026-07-01 10:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417567744001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206466221572096,"note":"Value kept but may cause issues"} 
[2026-07-01 10:22:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71846457736701952,"note":"Value kept but may cause issues"} 
[2026-07-01 10:22:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782881425000,"timestamp_ms":1782881425000,"timestamp_seconds":1782881425,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c039668"} 
[2026-07-01 10:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:22:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 10:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-01 10:22:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10:22:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:22:27] local.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-01 10:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417567744001,"66":25995,"141":206,"94":10240,"24":0,"16":333206466221572096,"44":-71846457736701952},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417567744001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:22:27] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:22:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206466221572096,"km_value":333206466221572.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:22:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71846457736701952,"description":"Unknown IO ID 44"} 
[2026-07-01 10:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417567744001,"power":25995,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-71846457736701952}} 
[2026-07-01 10:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":119026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:22:27] local.INFO: GPS data processed {"connection_id":119026,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:22:27] local.INFO: Acknowledgment sent {"connection_id":119026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:22:58] local.INFO: TCP Data received {"connection_id":119026,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c039668012cff00c007003bd8000f005629..."} 
[2026-07-01 10:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c039668012cff00c007003bd8000f005629..."} 
[2026-07-01 10:22:58] local.INFO: Processing buffer {"connection_id":119026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c039668012cff00c007003bd8000f005629..."} 
[2026-07-01 10:22:58] local.INFO: Packet analysis {"connection_id":119026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c03"} 
[2026-07-01 10:22:58] local.INFO: Extracted packet for processing {"connection_id":119026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c03"} 
[2026-07-01 10:22:58] local.INFO: GPS Element Parsed {"raw_longitude":754909376,"raw_latitude":117455832,"longitude_deg":75.4909376,"latitude_deg":11.7455832,"altitude":15,"angle":86,"satellites":41,"speed":0,"hex_longitude":"2cff00c0","hex_latitude":"07003bd8","is_valid_coordinates":true} 
[2026-07-01 10:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417567744001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206466221572096,"note":"Value kept but may cause issues"} 
[2026-07-01 10:22:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71846457736701952,"note":"Value kept but may cause issues"} 
[2026-07-01 10:22:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782881425000,"timestamp_ms":1782881425000,"timestamp_seconds":1782881425,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c039668"} 
[2026-07-01 10:22:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:22:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 10:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-01 10:22:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10:22:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:22:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:22: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-01 10:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417567744001,"66":25995,"141":206,"94":10240,"24":0,"16":333206466221572096,"44":-71846457736701952},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:22:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:22:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417567744001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:22:58] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:22:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:22:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206466221572096,"km_value":333206466221572.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:22:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71846457736701952,"description":"Unknown IO ID 44"} 
[2026-07-01 10:22:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417567744001,"power":25995,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-71846457736701952}} 
[2026-07-01 10:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":119026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:22:58] local.INFO: GPS data processed {"connection_id":119026,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:22:58] local.INFO: Acknowledgment sent {"connection_id":119026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:23:21] local.INFO: TCP Data received {"connection_id":120787,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:23:21] local.INFO: Processing buffer {"connection_id":120787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:23:21] local.INFO: IMEI packet received {"connection_id":120787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 10:23:21] local.INFO: IMEI acknowledgment sent {"connection_id":120787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:23:26] local.INFO: TCP Data received {"connection_id":120787,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:23:26] local.INFO: Processing buffer {"connection_id":120787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:23:26] local.INFO: IMEI packet received {"connection_id":120787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":120787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:23:28] local.INFO: TCP Data received {"connection_id":120787,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c039668012cff00c007003bd8000f005629..."} 
[2026-07-01 10:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c039668012cff00c007003bd8000f005629..."} 
[2026-07-01 10:23:28] local.INFO: Processing buffer {"connection_id":120787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c039668012cff00c007003bd8000f005629..."} 
[2026-07-01 10:23:28] local.INFO: Packet analysis {"connection_id":120787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c03"} 
[2026-07-01 10:23:28] local.INFO: Extracted packet for processing {"connection_id":120787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c03"} 
[2026-07-01 10:23:28] local.INFO: GPS Element Parsed {"raw_longitude":754909376,"raw_latitude":117455832,"longitude_deg":75.4909376,"latitude_deg":11.7455832,"altitude":15,"angle":86,"satellites":41,"speed":0,"hex_longitude":"2cff00c0","hex_latitude":"07003bd8","is_valid_coordinates":true} 
[2026-07-01 10:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:23:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417567744001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:23:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206466221572096,"note":"Value kept but may cause issues"} 
[2026-07-01 10:23:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71846457736701952,"note":"Value kept but may cause issues"} 
[2026-07-01 10:23:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:23:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782881425000,"timestamp_ms":1782881425000,"timestamp_seconds":1782881425,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c039668"} 
[2026-07-01 10:23:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:23:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 10:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-01 10:23:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10:23:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:23:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:23:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:23:28] local.INFO: Teltonika packet parsed successfully {"connection_id":120787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:23:28] local.INFO: Passing IMEI to GPS processor {"connection_id":120787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:23:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":120787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:23:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 10:23:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:23:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:23:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417567744001,"66":25995,"141":206,"94":10240,"24":0,"16":333206466221572096,"44":-71846457736701952},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:23:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:23:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:23:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417567744001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:23:28] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:23:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:23:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206466221572096,"km_value":333206466221572.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:23:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71846457736701952,"description":"Unknown IO ID 44"} 
[2026-07-01 10:23:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417567744001,"power":25995,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-71846457736701952}} 
[2026-07-01 10:23:28] local.INFO: DEBUG: GPS processor result {"connection_id":120787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":416999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:23:28] local.INFO: GPS data processed {"connection_id":120787,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:23:28] local.INFO: Acknowledgment sent {"connection_id":120787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:23:59] local.INFO: TCP Data received {"connection_id":120787,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c039668012cff00c007003bd8000f005629..."} 
[2026-07-01 10:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c039668012cff00c007003bd8000f005629..."} 
[2026-07-01 10:23:59] local.INFO: Processing buffer {"connection_id":120787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c039668012cff00c007003bd8000f005629..."} 
[2026-07-01 10:23:59] local.INFO: Packet analysis {"connection_id":120787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c03"} 
[2026-07-01 10:23:59] local.INFO: Extracted packet for processing {"connection_id":120787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c03"} 
[2026-07-01 10:23:59] local.INFO: GPS Element Parsed {"raw_longitude":754909376,"raw_latitude":117455832,"longitude_deg":75.4909376,"latitude_deg":11.7455832,"altitude":15,"angle":86,"satellites":41,"speed":0,"hex_longitude":"2cff00c0","hex_latitude":"07003bd8","is_valid_coordinates":true} 
[2026-07-01 10:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417567744001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:23:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206466221572096,"note":"Value kept but may cause issues"} 
[2026-07-01 10:23:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71846457736701952,"note":"Value kept but may cause issues"} 
[2026-07-01 10:23:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:23:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782881425000,"timestamp_ms":1782881425000,"timestamp_seconds":1782881425,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c039668"} 
[2026-07-01 10:23:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:23:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 10:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-01 10:23:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10:23:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:23:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:23:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:23:59] local.INFO: Teltonika packet parsed successfully {"connection_id":120787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:23:59] local.INFO: Passing IMEI to GPS processor {"connection_id":120787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:23:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":120787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:23:59] local.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-01 10:23:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:23:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:23:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417567744001,"66":25995,"141":206,"94":10240,"24":0,"16":333206466221572096,"44":-71846457736701952},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:23:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:23:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:23:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417567744001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:23:59] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:23:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:23:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206466221572096,"km_value":333206466221572.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:23:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71846457736701952,"description":"Unknown IO ID 44"} 
[2026-07-01 10:23:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417567744001,"power":25995,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-71846457736701952}} 
[2026-07-01 10:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":120787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:23:59] local.INFO: GPS data processed {"connection_id":120787,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:23:59] local.INFO: Acknowledgment sent {"connection_id":120787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:24:26] local.INFO: TCP Data received {"connection_id":119702,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:24:26] local.INFO: Processing buffer {"connection_id":119702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:24:26] local.INFO: IMEI packet received {"connection_id":119702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 10:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":119702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:24:31] local.INFO: TCP Data received {"connection_id":119702,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:24:31] local.INFO: Processing buffer {"connection_id":119702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:24:31] local.INFO: IMEI packet received {"connection_id":119702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":119702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:24:32] local.INFO: TCP Data received {"connection_id":119702,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c039668012cff00c007003bd8000f005629..."} 
[2026-07-01 10:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c039668012cff00c007003bd8000f005629..."} 
[2026-07-01 10:24:32] local.INFO: Processing buffer {"connection_id":119702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c039668012cff00c007003bd8000f005629..."} 
[2026-07-01 10:24:32] local.INFO: Packet analysis {"connection_id":119702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c03"} 
[2026-07-01 10:24:32] local.INFO: Extracted packet for processing {"connection_id":119702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c03"} 
[2026-07-01 10:24:32] local.INFO: GPS Element Parsed {"raw_longitude":754909376,"raw_latitude":117455832,"longitude_deg":75.4909376,"latitude_deg":11.7455832,"altitude":15,"angle":86,"satellites":41,"speed":0,"hex_longitude":"2cff00c0","hex_latitude":"07003bd8","is_valid_coordinates":true} 
[2026-07-01 10:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417567744001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206466221572096,"note":"Value kept but may cause issues"} 
[2026-07-01 10:24:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71846457736701952,"note":"Value kept but may cause issues"} 
[2026-07-01 10:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782881425000,"timestamp_ms":1782881425000,"timestamp_seconds":1782881425,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c039668"} 
[2026-07-01 10:24:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:24:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 10:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-01 10:24:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10:24:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:24:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":119702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":119702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":119702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:24:32] 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-01 10:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417567744001,"66":25995,"141":206,"94":10240,"24":0,"16":333206466221572096,"44":-71846457736701952},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417567744001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:24:32] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:24:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206466221572096,"km_value":333206466221572.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:24:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71846457736701952,"description":"Unknown IO ID 44"} 
[2026-07-01 10:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417567744001,"power":25995,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-71846457736701952}} 
[2026-07-01 10:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":119702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:24:32] local.INFO: GPS data processed {"connection_id":119702,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:24:32] local.INFO: Acknowledgment sent {"connection_id":119702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:24:36] local.INFO: TCP Data received {"connection_id":119702,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c039668012cff00c007003bd8000f005629..."} 
[2026-07-01 10:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c039668012cff00c007003bd8000f005629..."} 
[2026-07-01 10:24:36] local.INFO: Processing buffer {"connection_id":119702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c039668012cff00c007003bd8000f005629..."} 
[2026-07-01 10:24:36] local.INFO: Packet analysis {"connection_id":119702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c03"} 
[2026-07-01 10:24:36] local.INFO: Extracted packet for processing {"connection_id":119702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c03"} 
[2026-07-01 10:24:36] local.INFO: GPS Element Parsed {"raw_longitude":754909376,"raw_latitude":117455832,"longitude_deg":75.4909376,"latitude_deg":11.7455832,"altitude":15,"angle":86,"satellites":41,"speed":0,"hex_longitude":"2cff00c0","hex_latitude":"07003bd8","is_valid_coordinates":true} 
[2026-07-01 10:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417567744001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206466221572096,"note":"Value kept but may cause issues"} 
[2026-07-01 10:24:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71846457736701952,"note":"Value kept but may cause issues"} 
[2026-07-01 10:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782881425000,"timestamp_ms":1782881425000,"timestamp_seconds":1782881425,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c039668"} 
[2026-07-01 10: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-01 10:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 10: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-01 10:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10: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-01 10: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-01 10:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":119702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":119702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":119702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:24:36] 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-01 10:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417567744001,"66":25995,"141":206,"94":10240,"24":0,"16":333206466221572096,"44":-71846457736701952},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417567744001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:24:36] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:24:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206466221572096,"km_value":333206466221572.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:24:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71846457736701952,"description":"Unknown IO ID 44"} 
[2026-07-01 10:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417567744001,"power":25995,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-71846457736701952}} 
[2026-07-01 10:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":119702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:24:36] local.INFO: GPS data processed {"connection_id":119702,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:24:36] local.INFO: Acknowledgment sent {"connection_id":119702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:24:41] local.INFO: TCP Data received {"connection_id":118912,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 10:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118912,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 10:24:41] local.INFO: Processing buffer {"connection_id":118912,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 10:24:41] local.INFO: IMEI packet received {"connection_id":118912,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 10:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":118912,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:25:16] local.INFO: TCP Data received {"connection_id":120788,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 10:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120788,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 10:25:16] local.INFO: Processing buffer {"connection_id":120788,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 10:25:16] local.INFO: IMEI packet received {"connection_id":120788,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 10:25:16] local.INFO: IMEI acknowledgment sent {"connection_id":120788,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:25:21] local.INFO: TCP Data received {"connection_id":120789,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:25:21] local.INFO: Processing buffer {"connection_id":120789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:25:21] local.INFO: IMEI packet received {"connection_id":120789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 10:25:21] local.INFO: IMEI acknowledgment sent {"connection_id":120789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:25:26] local.INFO: TCP Data received {"connection_id":120789,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:25:26] local.INFO: Processing buffer {"connection_id":120789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:25:26] local.INFO: IMEI packet received {"connection_id":120789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":120789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:25:27] local.INFO: TCP Data received {"connection_id":120789,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c039668012cff00c007003bd8000f005629..."} 
[2026-07-01 10:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c039668012cff00c007003bd8000f005629..."} 
[2026-07-01 10:25:27] local.INFO: Processing buffer {"connection_id":120789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c039668012cff00c007003bd8000f005629..."} 
[2026-07-01 10:25:27] local.INFO: Packet analysis {"connection_id":120789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c03"} 
[2026-07-01 10:25:27] local.INFO: Extracted packet for processing {"connection_id":120789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c03"} 
[2026-07-01 10:25:27] local.INFO: GPS Element Parsed {"raw_longitude":754909376,"raw_latitude":117455832,"longitude_deg":75.4909376,"latitude_deg":11.7455832,"altitude":15,"angle":86,"satellites":41,"speed":0,"hex_longitude":"2cff00c0","hex_latitude":"07003bd8","is_valid_coordinates":true} 
[2026-07-01 10:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417567744001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206466221572096,"note":"Value kept but may cause issues"} 
[2026-07-01 10:25:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71846457736701952,"note":"Value kept but may cause issues"} 
[2026-07-01 10:25:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782881425000,"timestamp_ms":1782881425000,"timestamp_seconds":1782881425,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c039668"} 
[2026-07-01 10:25:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:25:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 10:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-01 10:25:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10:25:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:25:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:25:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 10:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417567744001,"66":25995,"141":206,"94":10240,"24":0,"16":333206466221572096,"44":-71846457736701952},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417567744001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:25:27] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:25:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206466221572096,"km_value":333206466221572.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:25:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71846457736701952,"description":"Unknown IO ID 44"} 
[2026-07-01 10:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417567744001,"power":25995,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-71846457736701952}} 
[2026-07-01 10:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":120789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:25:27] local.INFO: GPS data processed {"connection_id":120789,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:25:27] local.INFO: Acknowledgment sent {"connection_id":120789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:25:59] local.INFO: TCP Data received {"connection_id":120789,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c039668012cff00c007003bd8000f005629..."} 
[2026-07-01 10:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c039668012cff00c007003bd8000f005629..."} 
[2026-07-01 10:25:59] local.INFO: Processing buffer {"connection_id":120789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c039668012cff00c007003bd8000f005629..."} 
[2026-07-01 10:25:59] local.INFO: Packet analysis {"connection_id":120789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c03"} 
[2026-07-01 10:25:59] local.INFO: Extracted packet for processing {"connection_id":120789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c03"} 
[2026-07-01 10:25:59] local.INFO: GPS Element Parsed {"raw_longitude":754909376,"raw_latitude":117455832,"longitude_deg":75.4909376,"latitude_deg":11.7455832,"altitude":15,"angle":86,"satellites":41,"speed":0,"hex_longitude":"2cff00c0","hex_latitude":"07003bd8","is_valid_coordinates":true} 
[2026-07-01 10:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417567744001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206466221572096,"note":"Value kept but may cause issues"} 
[2026-07-01 10:25:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71846457736701952,"note":"Value kept but may cause issues"} 
[2026-07-01 10:25:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782881425000,"timestamp_ms":1782881425000,"timestamp_seconds":1782881425,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c039668"} 
[2026-07-01 10: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-01 10:25:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 10: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-07-01 10:25:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10: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-01 10: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-01 10:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":120789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":120789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":120789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:25: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-01 10:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417567744001,"66":25995,"141":206,"94":10240,"24":0,"16":333206466221572096,"44":-71846457736701952},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417567744001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:25:59] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:25:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206466221572096,"km_value":333206466221572.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:25:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71846457736701952,"description":"Unknown IO ID 44"} 
[2026-07-01 10:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417567744001,"power":25995,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-71846457736701952}} 
[2026-07-01 10:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":120789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:25:59] local.INFO: GPS data processed {"connection_id":120789,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:25:59] local.INFO: Acknowledgment sent {"connection_id":120789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:26:21] local.INFO: TCP Data received {"connection_id":120791,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:26:21] local.INFO: Processing buffer {"connection_id":120791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:26:21] local.INFO: IMEI packet received {"connection_id":120791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 10:26:21] local.INFO: IMEI acknowledgment sent {"connection_id":120791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:26:26] local.INFO: TCP Data received {"connection_id":120791,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:26:26] local.INFO: Processing buffer {"connection_id":120791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:26:26] local.INFO: IMEI packet received {"connection_id":120791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":120791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:26:27] local.INFO: TCP Data received {"connection_id":120791,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c082e30012cff00c007003bd8000f005623..."} 
[2026-07-01 10:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c082e30012cff00c007003bd8000f005623..."} 
[2026-07-01 10:26:27] local.INFO: Processing buffer {"connection_id":120791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c082e30012cff00c007003bd8000f005623..."} 
[2026-07-01 10:26:27] local.INFO: Packet analysis {"connection_id":120791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c08"} 
[2026-07-01 10:26:27] local.INFO: Extracted packet for processing {"connection_id":120791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c08"} 
[2026-07-01 10:26:27] local.INFO: GPS Element Parsed {"raw_longitude":754909376,"raw_latitude":117455832,"longitude_deg":75.4909376,"latitude_deg":11.7455832,"altitude":15,"angle":86,"satellites":35,"speed":0,"hex_longitude":"2cff00c0","hex_latitude":"07003bd8","is_valid_coordinates":true} 
[2026-07-01 10:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417644800001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206466221572096,"note":"Value kept but may cause issues"} 
[2026-07-01 10:26:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71846457736701952,"note":"Value kept but may cause issues"} 
[2026-07-01 10:26:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782881726000,"timestamp_ms":1782881726000,"timestamp_seconds":1782881726,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c082e30"} 
[2026-07-01 10:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:26:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 10:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-01 10:26:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10:26:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:26:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 10:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417644800001,"66":25908,"141":206,"94":10240,"24":0,"16":333206466221572096,"44":-71846457736701952},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417644800001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:26:27] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:26:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206466221572096,"km_value":333206466221572.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:26:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71846457736701952,"description":"Unknown IO ID 44"} 
[2026-07-01 10:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417644800001,"power":25908,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-71846457736701952}} 
[2026-07-01 10:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":120791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:26:27] local.INFO: GPS data processed {"connection_id":120791,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:26:27] local.INFO: Acknowledgment sent {"connection_id":120791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:26:58] local.INFO: TCP Data received {"connection_id":120791,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c082e30012cff00c007003bd8000f005623..."} 
[2026-07-01 10:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c082e30012cff00c007003bd8000f005623..."} 
[2026-07-01 10:26:58] local.INFO: Processing buffer {"connection_id":120791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c082e30012cff00c007003bd8000f005623..."} 
[2026-07-01 10:26:58] local.INFO: Packet analysis {"connection_id":120791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c08"} 
[2026-07-01 10:26:58] local.INFO: Extracted packet for processing {"connection_id":120791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c08"} 
[2026-07-01 10:26:58] local.INFO: GPS Element Parsed {"raw_longitude":754909376,"raw_latitude":117455832,"longitude_deg":75.4909376,"latitude_deg":11.7455832,"altitude":15,"angle":86,"satellites":35,"speed":0,"hex_longitude":"2cff00c0","hex_latitude":"07003bd8","is_valid_coordinates":true} 
[2026-07-01 10:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417644800001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206466221572096,"note":"Value kept but may cause issues"} 
[2026-07-01 10:26:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71846457736701952,"note":"Value kept but may cause issues"} 
[2026-07-01 10:26:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782881726000,"timestamp_ms":1782881726000,"timestamp_seconds":1782881726,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c082e30"} 
[2026-07-01 10:26:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:26:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 10:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-01 10:26:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10:26:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:26:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:26:58] 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-01 10:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417644800001,"66":25908,"141":206,"94":10240,"24":0,"16":333206466221572096,"44":-71846457736701952},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417644800001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:26:58] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:26:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206466221572096,"km_value":333206466221572.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:26:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71846457736701952,"description":"Unknown IO ID 44"} 
[2026-07-01 10:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417644800001,"power":25908,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-71846457736701952}} 
[2026-07-01 10:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":120791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:26:58] local.INFO: GPS data processed {"connection_id":120791,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:26:58] local.INFO: Acknowledgment sent {"connection_id":120791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:27:21] local.INFO: TCP Data received {"connection_id":120792,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:27:21] local.INFO: Processing buffer {"connection_id":120792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:27:21] local.INFO: IMEI packet received {"connection_id":120792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 10:27:21] local.INFO: IMEI acknowledgment sent {"connection_id":120792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:27:26] local.INFO: TCP Data received {"connection_id":120792,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:27:26] local.INFO: Processing buffer {"connection_id":120792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:27:26] local.INFO: IMEI packet received {"connection_id":120792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":120792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:27:27] local.INFO: TCP Data received {"connection_id":120792,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c082e30012cff00c007003bd8000f005623..."} 
[2026-07-01 10:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c082e30012cff00c007003bd8000f005623..."} 
[2026-07-01 10:27:27] local.INFO: Processing buffer {"connection_id":120792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c082e30012cff00c007003bd8000f005623..."} 
[2026-07-01 10:27:27] local.INFO: Packet analysis {"connection_id":120792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c08"} 
[2026-07-01 10:27:27] local.INFO: Extracted packet for processing {"connection_id":120792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c08"} 
[2026-07-01 10:27:27] local.INFO: GPS Element Parsed {"raw_longitude":754909376,"raw_latitude":117455832,"longitude_deg":75.4909376,"latitude_deg":11.7455832,"altitude":15,"angle":86,"satellites":35,"speed":0,"hex_longitude":"2cff00c0","hex_latitude":"07003bd8","is_valid_coordinates":true} 
[2026-07-01 10:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417644800001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206466221572096,"note":"Value kept but may cause issues"} 
[2026-07-01 10:27:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71846457736701952,"note":"Value kept but may cause issues"} 
[2026-07-01 10:27:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782881726000,"timestamp_ms":1782881726000,"timestamp_seconds":1782881726,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c082e30"} 
[2026-07-01 10:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:27:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 10:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-01 10:27:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10:27:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:27:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 10:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417644800001,"66":25908,"141":206,"94":10240,"24":0,"16":333206466221572096,"44":-71846457736701952},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417644800001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:27:27] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:27:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206466221572096,"km_value":333206466221572.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:27:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71846457736701952,"description":"Unknown IO ID 44"} 
[2026-07-01 10:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417644800001,"power":25908,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-71846457736701952}} 
[2026-07-01 10:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":120792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:27:27] local.INFO: GPS data processed {"connection_id":120792,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:27:27] local.INFO: Acknowledgment sent {"connection_id":120792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:27:58] local.INFO: TCP Data received {"connection_id":120792,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c082e30012cff00c007003bd8000f005623..."} 
[2026-07-01 10:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c082e30012cff00c007003bd8000f005623..."} 
[2026-07-01 10:27:58] local.INFO: Processing buffer {"connection_id":120792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c082e30012cff00c007003bd8000f005623..."} 
[2026-07-01 10:27:58] local.INFO: Packet analysis {"connection_id":120792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c08"} 
[2026-07-01 10:27:58] local.INFO: Extracted packet for processing {"connection_id":120792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c08"} 
[2026-07-01 10:27:58] local.INFO: GPS Element Parsed {"raw_longitude":754909376,"raw_latitude":117455832,"longitude_deg":75.4909376,"latitude_deg":11.7455832,"altitude":15,"angle":86,"satellites":35,"speed":0,"hex_longitude":"2cff00c0","hex_latitude":"07003bd8","is_valid_coordinates":true} 
[2026-07-01 10: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-01 10:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417644800001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206466221572096,"note":"Value kept but may cause issues"} 
[2026-07-01 10:27:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71846457736701952,"note":"Value kept but may cause issues"} 
[2026-07-01 10:27:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782881726000,"timestamp_ms":1782881726000,"timestamp_seconds":1782881726,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c082e30"} 
[2026-07-01 10: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-01 10:27:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 10: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-01 10:27:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10: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-01 10: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-01 10:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:27:58] 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-01 10:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417644800001,"66":25908,"141":206,"94":10240,"24":0,"16":333206466221572096,"44":-71846457736701952},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417644800001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:27:58] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:27:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206466221572096,"km_value":333206466221572.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:27:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71846457736701952,"description":"Unknown IO ID 44"} 
[2026-07-01 10:27:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417644800001,"power":25908,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-71846457736701952}} 
[2026-07-01 10:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":120792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:27:58] local.INFO: GPS data processed {"connection_id":120792,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:27:58] local.INFO: Acknowledgment sent {"connection_id":120792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:28:21] local.INFO: TCP Data received {"connection_id":119704,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:28:21] local.INFO: Processing buffer {"connection_id":119704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:28:21] local.INFO: IMEI packet received {"connection_id":119704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 10:28:21] local.INFO: IMEI acknowledgment sent {"connection_id":119704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:28:26] local.INFO: TCP Data received {"connection_id":119704,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:28:26] local.INFO: Processing buffer {"connection_id":119704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:28:26] local.INFO: IMEI packet received {"connection_id":119704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":119704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:28:29] local.INFO: TCP Data received {"connection_id":119704,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c082e30012cff00c007003bd8000f005623..."} 
[2026-07-01 10:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c082e30012cff00c007003bd8000f005623..."} 
[2026-07-01 10:28:29] local.INFO: Processing buffer {"connection_id":119704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c082e30012cff00c007003bd8000f005623..."} 
[2026-07-01 10:28:29] local.INFO: Packet analysis {"connection_id":119704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c08"} 
[2026-07-01 10:28:29] local.INFO: Extracted packet for processing {"connection_id":119704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c08"} 
[2026-07-01 10:28:29] local.INFO: GPS Element Parsed {"raw_longitude":754909376,"raw_latitude":117455832,"longitude_deg":75.4909376,"latitude_deg":11.7455832,"altitude":15,"angle":86,"satellites":35,"speed":0,"hex_longitude":"2cff00c0","hex_latitude":"07003bd8","is_valid_coordinates":true} 
[2026-07-01 10: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-01 10:28:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417644800001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:28:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206466221572096,"note":"Value kept but may cause issues"} 
[2026-07-01 10:28:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71846457736701952,"note":"Value kept but may cause issues"} 
[2026-07-01 10:28:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:28:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782881726000,"timestamp_ms":1782881726000,"timestamp_seconds":1782881726,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c082e30"} 
[2026-07-01 10: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-01 10:28:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 10:28:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-01 10:28:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10: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-01 10: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-01 10:28:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:28:29] local.INFO: Teltonika packet parsed successfully {"connection_id":119704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:28:29] local.INFO: Passing IMEI to GPS processor {"connection_id":119704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:28:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":119704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:28:29] 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-01 10:28:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:28:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:28:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417644800001,"66":25908,"141":206,"94":10240,"24":0,"16":333206466221572096,"44":-71846457736701952},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:28:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:28:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:28:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417644800001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:28:29] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:28:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:28:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206466221572096,"km_value":333206466221572.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:28:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71846457736701952,"description":"Unknown IO ID 44"} 
[2026-07-01 10:28:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417644800001,"power":25908,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-71846457736701952}} 
[2026-07-01 10:28:29] local.INFO: DEBUG: GPS processor result {"connection_id":119704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:28:29] local.INFO: GPS data processed {"connection_id":119704,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:28:29] local.INFO: Acknowledgment sent {"connection_id":119704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:29:08] local.INFO: TCP Data received {"connection_id":119704,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c0a9f30012cff00c007003bd8000f005626..."} 
[2026-07-01 10:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c0a9f30012cff00c007003bd8000f005626..."} 
[2026-07-01 10:29:08] local.INFO: Processing buffer {"connection_id":119704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c0a9f30012cff00c007003bd8000f005626..."} 
[2026-07-01 10:29:08] local.INFO: Packet analysis {"connection_id":119704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c0a"} 
[2026-07-01 10:29:08] local.INFO: Extracted packet for processing {"connection_id":119704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c0a"} 
[2026-07-01 10:29:08] local.INFO: GPS Element Parsed {"raw_longitude":754909376,"raw_latitude":117455832,"longitude_deg":75.4909376,"latitude_deg":11.7455832,"altitude":15,"angle":86,"satellites":38,"speed":0,"hex_longitude":"2cff00c0","hex_latitude":"07003bd8","is_valid_coordinates":true} 
[2026-07-01 10:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417721856001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206466221572096,"note":"Value kept but may cause issues"} 
[2026-07-01 10:29:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71846457736701952,"note":"Value kept but may cause issues"} 
[2026-07-01 10:29:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782881886000,"timestamp_ms":1782881886000,"timestamp_seconds":1782881886,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c0a9f30"} 
[2026-07-01 10: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-01 10:29:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 10: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-01 10:29:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10: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-01 10: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-01 10:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":119704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":119704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":119704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 10:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417721856001,"66":25875,"141":206,"94":10240,"24":0,"16":333206466221572096,"44":-71846457736701952},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417721856001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:29:08] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:29:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206466221572096,"km_value":333206466221572.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:29:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71846457736701952,"description":"Unknown IO ID 44"} 
[2026-07-01 10:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417721856001,"power":25875,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-71846457736701952}} 
[2026-07-01 10:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":119704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:29:08] local.INFO: GPS data processed {"connection_id":119704,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:29:08] local.INFO: Acknowledgment sent {"connection_id":119704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:29:21] local.INFO: TCP Data received {"connection_id":119028,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:29:21] local.INFO: Processing buffer {"connection_id":119028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:29:21] local.INFO: IMEI packet received {"connection_id":119028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 10:29:21] local.INFO: IMEI acknowledgment sent {"connection_id":119028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:29:26] local.INFO: TCP Data received {"connection_id":119028,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:29:26] local.INFO: Processing buffer {"connection_id":119028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:29:26] local.INFO: IMEI packet received {"connection_id":119028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":119028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:29:27] local.INFO: TCP Data received {"connection_id":119028,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c0aaae8012cff008007003b90000f013625..."} 
[2026-07-01 10:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c0aaae8012cff008007003b90000f013625..."} 
[2026-07-01 10:29:27] local.INFO: Processing buffer {"connection_id":119028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c0aaae8012cff008007003b90000f013625..."} 
[2026-07-01 10:29:27] local.INFO: Packet analysis {"connection_id":119028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c0a"} 
[2026-07-01 10:29:27] local.INFO: Extracted packet for processing {"connection_id":119028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c0a"} 
[2026-07-01 10:29:27] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117455760,"longitude_deg":75.4909312,"latitude_deg":11.745576,"altitude":15,"angle":310,"satellites":37,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003b90","is_valid_coordinates":true} 
[2026-07-01 10:29:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:29:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417762816001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:29:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206466221572096,"note":"Value kept but may cause issues"} 
[2026-07-01 10:29:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71846457736701952,"note":"Value kept but may cause issues"} 
[2026-07-01 10:29:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:29:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782881889000,"timestamp_ms":1782881889000,"timestamp_seconds":1782881889,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c0aaae8"} 
[2026-07-01 10:29:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:29:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 10:29:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-01 10:29:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10:29:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:29:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:29:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:29:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:29:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:29:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:29:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 10:29:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:29:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:29:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417762816001,"66":25647,"141":206,"94":10240,"24":0,"16":333206466221572096,"44":-71846457736701952},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:29:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:29:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:29:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417762816001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:29:27] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:29:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:29:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206466221572096,"km_value":333206466221572.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:29:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71846457736701952,"description":"Unknown IO ID 44"} 
[2026-07-01 10:29:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417762816001,"power":25647,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-71846457736701952}} 
[2026-07-01 10:29:27] local.INFO: DEBUG: GPS processor result {"connection_id":119028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:29:27] local.INFO: GPS data processed {"connection_id":119028,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:29:27] local.INFO: Acknowledgment sent {"connection_id":119028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:29:59] local.INFO: TCP Data received {"connection_id":119028,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c0afcf0012cff008007003b90000f013624..."} 
[2026-07-01 10:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c0afcf0012cff008007003b90000f013624..."} 
[2026-07-01 10:29:59] local.INFO: Processing buffer {"connection_id":119028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c0afcf0012cff008007003b90000f013624..."} 
[2026-07-01 10:29:59] local.INFO: Packet analysis {"connection_id":119028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c0a"} 
[2026-07-01 10:29:59] local.INFO: Extracted packet for processing {"connection_id":119028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c0a"} 
[2026-07-01 10:29:59] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117455760,"longitude_deg":75.4909312,"latitude_deg":11.745576,"altitude":15,"angle":310,"satellites":36,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003b90","is_valid_coordinates":true} 
[2026-07-01 10:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417763584001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206466221572096,"note":"Value kept but may cause issues"} 
[2026-07-01 10:29:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480898048,"note":"Value kept but may cause issues"} 
[2026-07-01 10:29:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782881910000,"timestamp_ms":1782881910000,"timestamp_seconds":1782881910,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c0afcf0"} 
[2026-07-01 10:29:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:29:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 10:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-01 10:29:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10:29:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:29:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:29: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-01 10:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417763584001,"66":27658,"141":206,"94":10240,"24":0,"16":333206466221572096,"44":-71916826480898048},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417763584001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:29:59] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:29:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206466221572096,"km_value":333206466221572.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:29:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480898048,"description":"Unknown IO ID 44"} 
[2026-07-01 10:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417763584001,"power":27658,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-71916826480898048}} 
[2026-07-01 10:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":119028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:29:59] local.INFO: GPS data processed {"connection_id":119028,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:29:59] local.INFO: Acknowledgment sent {"connection_id":119028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:30:22] local.INFO: TCP Data received {"connection_id":118914,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:30:22] local.INFO: Processing buffer {"connection_id":118914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:30:22] local.INFO: IMEI packet received {"connection_id":118914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 10:30:22] local.INFO: IMEI acknowledgment sent {"connection_id":118914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:30:24] local.INFO: TCP Data received {"connection_id":118914,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:30:24] local.INFO: Processing buffer {"connection_id":118914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:30:24] local.INFO: IMEI packet received {"connection_id":118914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":118914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:30:25] local.INFO: TCP Data received {"connection_id":118914,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c0b4ef8012cff008007003b90000f013625..."} 
[2026-07-01 10:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c0b4ef8012cff008007003b90000f013625..."} 
[2026-07-01 10:30:25] local.INFO: Processing buffer {"connection_id":118914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c0b4ef8012cff008007003b90000f013625..."} 
[2026-07-01 10:30:25] local.INFO: Packet analysis {"connection_id":118914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c0b"} 
[2026-07-01 10:30:25] local.INFO: Extracted packet for processing {"connection_id":118914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c0b"} 
[2026-07-01 10:30:25] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117455760,"longitude_deg":75.4909312,"latitude_deg":11.745576,"altitude":15,"angle":310,"satellites":37,"speed":0,"hex_longitude":"2cff0080","hex_latitude":"07003b90","is_valid_coordinates":true} 
[2026-07-01 10: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-01 10:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417768960001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206466221572096,"note":"Value kept but may cause issues"} 
[2026-07-01 10:30:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480898048,"note":"Value kept but may cause issues"} 
[2026-07-01 10:30:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782881931000,"timestamp_ms":1782881931000,"timestamp_seconds":1782881931,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c0b4ef8"} 
[2026-07-01 10: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-01 10:30:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 10:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-01 10:30:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10: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-01 10: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-01 10:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":118914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":118914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":118914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:30:25] 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-01 10:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417768960001,"66":27974,"141":206,"94":10240,"24":0,"16":333206466221572096,"44":-71916826480898048},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417768960001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:30:25] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:30:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206466221572096,"km_value":333206466221572.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:30:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480898048,"description":"Unknown IO ID 44"} 
[2026-07-01 10:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417768960001,"power":27974,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-71916826480898048}} 
[2026-07-01 10:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":118914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:30:25] local.INFO: GPS data processed {"connection_id":118914,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:30:25] local.INFO: Acknowledgment sent {"connection_id":118914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:30:26] local.INFO: TCP Data received {"connection_id":118914,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c0b5e98012cff018007003a40001c007827..."} 
[2026-07-01 10:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c0b5e98012cff018007003a40001c007827..."} 
[2026-07-01 10:30:26] local.INFO: Processing buffer {"connection_id":118914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c0b5e98012cff018007003a40001c007827..."} 
[2026-07-01 10:30:26] local.INFO: Packet analysis {"connection_id":118914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c0b"} 
[2026-07-01 10:30:26] local.INFO: Extracted packet for processing {"connection_id":118914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c0b"} 
[2026-07-01 10:30:26] local.INFO: GPS Element Parsed {"raw_longitude":754909568,"raw_latitude":117455424,"longitude_deg":75.4909568,"latitude_deg":11.7455424,"altitude":28,"angle":120,"satellites":39,"speed":2,"hex_longitude":"2cff0180","hex_latitude":"07003a40","is_valid_coordinates":true} 
[2026-07-01 10:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:30:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417774336001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:30:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206487696408576,"note":"Value kept but may cause issues"} 
[2026-07-01 10:30:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480898048,"note":"Value kept but may cause issues"} 
[2026-07-01 10:30:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:30:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782881935000,"timestamp_ms":1782881935000,"timestamp_seconds":1782881935,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c0b5e98"} 
[2026-07-01 10:30:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:30: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-01 10:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-01 10:30:26] 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-01 10:30:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:30:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:30:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:30:26] local.INFO: Teltonika packet parsed successfully {"connection_id":118914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:30:26] local.INFO: Passing IMEI to GPS processor {"connection_id":118914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:30:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":118914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:30:26] 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-01 10:30:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:30:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:30:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417774336001,"66":27995,"141":206,"94":10240,"24":2,"16":333206487696408576,"44":-71916826480898048},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:30:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:30:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:30:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417774336001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:30:26] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:30:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:30:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206487696408576,"km_value":333206487696408.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:30:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480898048,"description":"Unknown IO ID 44"} 
[2026-07-01 10:30:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417774336001,"power":27995,"unknown_141":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_44":-71916826480898048}} 
[2026-07-01 10:30:26] local.INFO: DEBUG: GPS processor result {"connection_id":118914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:30:26] local.INFO: GPS data processed {"connection_id":118914,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:30:26] local.INFO: Acknowledgment sent {"connection_id":118914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:30:36] local.INFO: TCP Data received {"connection_id":119705,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 10:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119705,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 10:30:36] local.INFO: Processing buffer {"connection_id":119705,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 10:30:36] local.INFO: IMEI packet received {"connection_id":119705,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 10:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":119705,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:30:57] local.INFO: TCP Data received {"connection_id":118914,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c0b7dd8012cff03c0070038b0001c009528..."} 
[2026-07-01 10:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c0b7dd8012cff03c0070038b0001c009528..."} 
[2026-07-01 10:30:57] local.INFO: Processing buffer {"connection_id":118914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c0b7dd8012cff03c0070038b0001c009528..."} 
[2026-07-01 10:30:57] local.INFO: Packet analysis {"connection_id":118914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c0b"} 
[2026-07-01 10:30:57] local.INFO: Extracted packet for processing {"connection_id":118914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c0b"} 
[2026-07-01 10:30:57] local.INFO: GPS Element Parsed {"raw_longitude":754910144,"raw_latitude":117455024,"longitude_deg":75.4910144,"latitude_deg":11.7455024,"altitude":28,"angle":149,"satellites":40,"speed":1,"hex_longitude":"2cff03c0","hex_latitude":"070038b0","is_valid_coordinates":true} 
[2026-07-01 10: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-01 10:30:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417775360001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:30:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206522056146944,"note":"Value kept but may cause issues"} 
[2026-07-01 10:30:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71635351504273408,"note":"Value kept but may cause issues"} 
[2026-07-01 10:30:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:30:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782881943000,"timestamp_ms":1782881943000,"timestamp_seconds":1782881943,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c0b7dd8"} 
[2026-07-01 10: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-01 10:30:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 10: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-01 10:30:57] 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-01 10: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-01 10: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-01 10:30:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:30:57] local.INFO: Teltonika packet parsed successfully {"connection_id":118914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:30:57] local.INFO: Passing IMEI to GPS processor {"connection_id":118914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:30:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":118914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:30:57] 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-01 10:30:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:30:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:30:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417775360001,"66":27908,"141":206,"94":10240,"24":1,"16":333206522056146944,"44":-71635351504273408},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:30:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:30:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:30:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417775360001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:30:57] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:30:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:30:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206522056146944,"km_value":333206522056146.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:30:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71635351504273408,"description":"Unknown IO ID 44"} 
[2026-07-01 10:30:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417775360001,"power":27908,"unknown_141":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_44":-71635351504273408}} 
[2026-07-01 10:30:57] local.INFO: DEBUG: GPS processor result {"connection_id":118914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:30:57] local.INFO: GPS data processed {"connection_id":118914,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:30:57] local.INFO: Acknowledgment sent {"connection_id":118914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:31:21] local.INFO: TCP Data received {"connection_id":119030,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:31:21] local.INFO: Processing buffer {"connection_id":119030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:31:21] local.INFO: IMEI packet received {"connection_id":119030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 10:31:21] local.INFO: IMEI acknowledgment sent {"connection_id":119030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:31:21] local.INFO: TCP Data received {"connection_id":119029,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 10:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119029,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 10:31:21] local.INFO: Processing buffer {"connection_id":119029,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 10:31:21] local.INFO: IMEI packet received {"connection_id":119029,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 10:31:21] local.INFO: IMEI acknowledgment sent {"connection_id":119029,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:31:21] local.INFO: TCP Data received {"connection_id":119030,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:31:21] local.INFO: Processing buffer {"connection_id":119030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:31:21] local.INFO: IMEI packet received {"connection_id":119030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:31:21] local.INFO: IMEI acknowledgment sent {"connection_id":119030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:31:26] local.INFO: TCP Data received {"connection_id":119030,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:31:26] local.INFO: Processing buffer {"connection_id":119030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:31:26] local.INFO: IMEI packet received {"connection_id":119030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":119030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:31:27] local.INFO: TCP Data received {"connection_id":119030,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c0c6068012cff06c0070035680016012d29..."} 
[2026-07-01 10:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c0c6068012cff06c0070035680016012d29..."} 
[2026-07-01 10:31:27] local.INFO: Processing buffer {"connection_id":119030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c0c6068012cff06c0070035680016012d29..."} 
[2026-07-01 10:31:27] local.INFO: Packet analysis {"connection_id":119030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c0c"} 
[2026-07-01 10:31:27] local.INFO: Extracted packet for processing {"connection_id":119030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c0c"} 
[2026-07-01 10:31:27] local.INFO: GPS Element Parsed {"raw_longitude":754910912,"raw_latitude":117454184,"longitude_deg":75.4910912,"latitude_deg":11.7454184,"altitude":22,"angle":301,"satellites":41,"speed":0,"hex_longitude":"2cff06c0","hex_latitude":"07003568","is_valid_coordinates":true} 
[2026-07-01 10:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417791744001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206659495100416,"note":"Value kept but may cause issues"} 
[2026-07-01 10:31:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-70157607876866048,"note":"Value kept but may cause issues"} 
[2026-07-01 10:31:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782882001000,"timestamp_ms":1782882001000,"timestamp_seconds":1782882001,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c0c6068"} 
[2026-07-01 10:31:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:31:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 10:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-01 10:31:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10:31:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:31:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:31:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 10:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417791744001,"66":27865,"141":206,"94":10240,"24":0,"16":333206659495100416,"44":-70157607876866048},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417791744001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:31:27] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:31:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206659495100416,"km_value":333206659495100.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:31:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-70157607876866048,"description":"Unknown IO ID 44"} 
[2026-07-01 10:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417791744001,"power":27865,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-70157607876866048}} 
[2026-07-01 10:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":119030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:31:27] local.INFO: GPS data processed {"connection_id":119030,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:31:27] local.INFO: Acknowledgment sent {"connection_id":119030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:31:58] local.INFO: TCP Data received {"connection_id":119030,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c0cb270012cff0600070036000016013326..."} 
[2026-07-01 10:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c0cb270012cff0600070036000016013326..."} 
[2026-07-01 10:31:58] local.INFO: Processing buffer {"connection_id":119030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c0cb270012cff0600070036000016013326..."} 
[2026-07-01 10:31:58] local.INFO: Packet analysis {"connection_id":119030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c0c"} 
[2026-07-01 10:31:58] local.INFO: Extracted packet for processing {"connection_id":119030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c0c"} 
[2026-07-01 10:31:58] local.INFO: GPS Element Parsed {"raw_longitude":754910720,"raw_latitude":117454336,"longitude_deg":75.491072,"latitude_deg":11.7454336,"altitude":22,"angle":307,"satellites":38,"speed":0,"hex_longitude":"2cff0600","hex_latitude":"07003600","is_valid_coordinates":true} 
[2026-07-01 10: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-01 10:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417792256001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206672380002304,"note":"Value kept but may cause issues"} 
[2026-07-01 10:31:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-70157607876859904,"note":"Value kept but may cause issues"} 
[2026-07-01 10:31:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782882022000,"timestamp_ms":1782882022000,"timestamp_seconds":1782882022,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c0cb270"} 
[2026-07-01 10: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-01 10:31:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 10: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 10:31:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10: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-01 10: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-01 10:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:31:58] 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-01 10:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417792256001,"66":27745,"141":206,"94":10240,"24":0,"16":333206672380002304,"44":-70157607876859904},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417792256001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:31:58] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:31:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206672380002304,"km_value":333206672380002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:31:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-70157607876859904,"description":"Unknown IO ID 44"} 
[2026-07-01 10:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417792256001,"power":27745,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-70157607876859904}} 
[2026-07-01 10:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":119030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:31:58] local.INFO: GPS data processed {"connection_id":119030,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:31:58] local.INFO: Acknowledgment sent {"connection_id":119030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:32:21] local.INFO: TCP Data received {"connection_id":120793,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:32:21] local.INFO: Processing buffer {"connection_id":120793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:32:21] local.INFO: IMEI packet received {"connection_id":120793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 10:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":120793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:32:26] local.INFO: TCP Data received {"connection_id":120793,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:32:26] local.INFO: Processing buffer {"connection_id":120793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:32:26] local.INFO: IMEI packet received {"connection_id":120793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":120793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:32:27] local.INFO: TCP Data received {"connection_id":120793,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c0d0478012cff0600070036000016013328..."} 
[2026-07-01 10:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c0d0478012cff0600070036000016013328..."} 
[2026-07-01 10:32:27] local.INFO: Processing buffer {"connection_id":120793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c0d0478012cff0600070036000016013328..."} 
[2026-07-01 10:32:27] local.INFO: Packet analysis {"connection_id":120793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c0d"} 
[2026-07-01 10:32:27] local.INFO: Extracted packet for processing {"connection_id":120793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c0d"} 
[2026-07-01 10:32:27] local.INFO: GPS Element Parsed {"raw_longitude":754910720,"raw_latitude":117454336,"longitude_deg":75.491072,"latitude_deg":11.7454336,"altitude":22,"angle":307,"satellites":40,"speed":0,"hex_longitude":"2cff0600","hex_latitude":"07003600","is_valid_coordinates":true} 
[2026-07-01 10:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417797632001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206672380002304,"note":"Value kept but may cause issues"} 
[2026-07-01 10:32:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-70368714109353984,"note":"Value kept but may cause issues"} 
[2026-07-01 10:32:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782882043000,"timestamp_ms":1782882043000,"timestamp_seconds":1782882043,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c0d0478"} 
[2026-07-01 10:32:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:32:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 10:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 10:32:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10:32:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:32:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:32:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 10:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417797632001,"66":27974,"141":206,"94":10240,"24":0,"16":333206672380002304,"44":-70368714109353984},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417797632001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:32:27] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:32:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206672380002304,"km_value":333206672380002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:32:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-70368714109353984,"description":"Unknown IO ID 44"} 
[2026-07-01 10:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417797632001,"power":27974,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-70368714109353984}} 
[2026-07-01 10:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":120793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:32:27] local.INFO: GPS data processed {"connection_id":120793,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:32:27] local.INFO: Acknowledgment sent {"connection_id":120793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:32:58] local.INFO: TCP Data received {"connection_id":120793,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c0d42f8012cff0480070039780010012027..."} 
[2026-07-01 10:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c0d42f8012cff0480070039780010012027..."} 
[2026-07-01 10:32:58] local.INFO: Processing buffer {"connection_id":120793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c0d42f8012cff0480070039780010012027..."} 
[2026-07-01 10:32:58] local.INFO: Packet analysis {"connection_id":120793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c0d"} 
[2026-07-01 10:32:58] local.INFO: Extracted packet for processing {"connection_id":120793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c0d"} 
[2026-07-01 10:32:58] local.INFO: GPS Element Parsed {"raw_longitude":754910336,"raw_latitude":117455224,"longitude_deg":75.4910336,"latitude_deg":11.7455224,"altitude":16,"angle":288,"satellites":39,"speed":0,"hex_longitude":"2cff0480","hex_latitude":"07003978","is_valid_coordinates":true} 
[2026-07-01 10: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-01 10:32:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417803008001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:32:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206719624642560,"note":"Value kept but may cause issues"} 
[2026-07-01 10:32:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-70368714109353984,"note":"Value kept but may cause issues"} 
[2026-07-01 10:32:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:32:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782882059000,"timestamp_ms":1782882059000,"timestamp_seconds":1782882059,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c0d42f8"} 
[2026-07-01 10: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-01 10:32:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 10: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-01 10:32:58] 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-01 10: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-01 10: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-01 10:32:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:32:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:32:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:32:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:32:58] 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-01 10:32:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:32:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:32:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417803008001,"66":27821,"141":206,"94":10240,"24":0,"16":333206719624642560,"44":-70368714109353984},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:32:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:32:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:32:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417803008001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:32:58] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:32:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:32:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206719624642560,"km_value":333206719624642.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:32:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-70368714109353984,"description":"Unknown IO ID 44"} 
[2026-07-01 10:32:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417803008001,"power":27821,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-70368714109353984}} 
[2026-07-01 10:32:58] local.INFO: DEBUG: GPS processor result {"connection_id":120793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:32:58] local.INFO: GPS data processed {"connection_id":120793,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:32:58] local.INFO: Acknowledgment sent {"connection_id":120793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:33:26] local.INFO: TCP Data received {"connection_id":118915,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:33:26] local.INFO: Processing buffer {"connection_id":118915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:33:26] local.INFO: IMEI packet received {"connection_id":118915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 10:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":118915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:33:31] local.INFO: TCP Data received {"connection_id":118915,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:33:31] local.INFO: Processing buffer {"connection_id":118915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:33:31] local.INFO: IMEI packet received {"connection_id":118915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":118915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:33:32] local.INFO: TCP Data received {"connection_id":118915,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c0d4ac8012cff0440070039b80010012f27..."} 
[2026-07-01 10:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c0d4ac8012cff0440070039b80010012f27..."} 
[2026-07-01 10:33:32] local.INFO: Processing buffer {"connection_id":118915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c0d4ac8012cff0440070039b80010012f27..."} 
[2026-07-01 10:33:32] local.INFO: Packet analysis {"connection_id":118915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c0d"} 
[2026-07-01 10:33:32] local.INFO: Extracted packet for processing {"connection_id":118915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c0d"} 
[2026-07-01 10:33:32] local.INFO: GPS Element Parsed {"raw_longitude":754910272,"raw_latitude":117455288,"longitude_deg":75.4910272,"latitude_deg":11.7455288,"altitude":16,"angle":303,"satellites":39,"speed":2,"hex_longitude":"2cff0440","hex_latitude":"070039b8","is_valid_coordinates":true} 
[2026-07-01 10:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417807104001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206723919609856,"note":"Value kept but may cause issues"} 
[2026-07-01 10:33:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-70790926574192640,"note":"Value kept but may cause issues"} 
[2026-07-01 10:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782882061000,"timestamp_ms":1782882061000,"timestamp_seconds":1782882061,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c0d4ac8"} 
[2026-07-01 10:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:33:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 10:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 10:33:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10:33:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":118915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":118915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":118915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 10:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417807104001,"66":27800,"141":206,"94":10240,"24":2,"16":333206723919609856,"44":-70790926574192640},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417807104001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:33:32] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:33:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206723919609856,"km_value":333206723919609.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:33:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-70790926574192640,"description":"Unknown IO ID 44"} 
[2026-07-01 10:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417807104001,"power":27800,"unknown_141":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_44":-70790926574192640}} 
[2026-07-01 10:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":118915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:33:32] local.INFO: GPS data processed {"connection_id":118915,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:33:32] local.INFO: Acknowledgment sent {"connection_id":118915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:33:37] local.INFO: TCP Data received {"connection_id":118915,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c0d6238012cff0440070039d0000f012b22..."} 
[2026-07-01 10:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c0d6238012cff0440070039d0000f012b22..."} 
[2026-07-01 10:33:37] local.INFO: Processing buffer {"connection_id":118915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c0d6238012cff0440070039d0000f012b22..."} 
[2026-07-01 10:33:37] local.INFO: Packet analysis {"connection_id":118915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c0d"} 
[2026-07-01 10:33:37] local.INFO: Extracted packet for processing {"connection_id":118915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c0d"} 
[2026-07-01 10:33:37] local.INFO: GPS Element Parsed {"raw_longitude":754910272,"raw_latitude":117455312,"longitude_deg":75.4910272,"latitude_deg":11.7455312,"altitude":15,"angle":299,"satellites":34,"speed":0,"hex_longitude":"2cff0440","hex_latitude":"070039d0","is_valid_coordinates":true} 
[2026-07-01 10:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417807616001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206732509544448,"note":"Value kept but may cause issues"} 
[2026-07-01 10:33:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-70861295318353920,"note":"Value kept but may cause issues"} 
[2026-07-01 10:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782882067000,"timestamp_ms":1782882067000,"timestamp_seconds":1782882067,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c0d6238"} 
[2026-07-01 10:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:33: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-01 10:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 10:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":118915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":118915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":118915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 10:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417807616001,"66":27984,"141":206,"94":10240,"24":0,"16":333206732509544448,"44":-70861295318353920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417807616001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:33:37] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:33:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206732509544448,"km_value":333206732509544.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:33:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-70861295318353920,"description":"Unknown IO ID 44"} 
[2026-07-01 10:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417807616001,"power":27984,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-70861295318353920}} 
[2026-07-01 10:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":118915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:33:37] local.INFO: GPS data processed {"connection_id":118915,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:33:37] local.INFO: Acknowledgment sent {"connection_id":118915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:34:21] local.INFO: TCP Data received {"connection_id":120795,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:34:21] local.INFO: Processing buffer {"connection_id":120795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:34:21] local.INFO: IMEI packet received {"connection_id":120795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 10:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":120795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:34:26] local.INFO: TCP Data received {"connection_id":120795,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:34:26] local.INFO: Processing buffer {"connection_id":120795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:34:26] local.INFO: IMEI packet received {"connection_id":120795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":120795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:34:27] local.INFO: TCP Data received {"connection_id":120795,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c0d6238012cff0440070039d0000f012b22..."} 
[2026-07-01 10:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c0d6238012cff0440070039d0000f012b22..."} 
[2026-07-01 10:34:27] local.INFO: Processing buffer {"connection_id":120795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c0d6238012cff0440070039d0000f012b22..."} 
[2026-07-01 10:34:27] local.INFO: Packet analysis {"connection_id":120795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c0d"} 
[2026-07-01 10:34:27] local.INFO: Extracted packet for processing {"connection_id":120795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c0d"} 
[2026-07-01 10:34:27] local.INFO: GPS Element Parsed {"raw_longitude":754910272,"raw_latitude":117455312,"longitude_deg":75.4910272,"latitude_deg":11.7455312,"altitude":15,"angle":299,"satellites":34,"speed":0,"hex_longitude":"2cff0440","hex_latitude":"070039d0","is_valid_coordinates":true} 
[2026-07-01 10:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:34:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417807616001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:34:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206732509544448,"note":"Value kept but may cause issues"} 
[2026-07-01 10:34:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-70861295318353920,"note":"Value kept but may cause issues"} 
[2026-07-01 10:34:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:34:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782882067000,"timestamp_ms":1782882067000,"timestamp_seconds":1782882067,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c0d6238"} 
[2026-07-01 10:34:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:34: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-01 10:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 10:34:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10:34:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:34:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:34:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:34:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:34:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:34:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:34:27] 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-01 10:34:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:34:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:34:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417807616001,"66":27984,"141":206,"94":10240,"24":0,"16":333206732509544448,"44":-70861295318353920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:34:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:34:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:34:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417807616001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:34:27] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:34:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:34:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206732509544448,"km_value":333206732509544.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:34:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-70861295318353920,"description":"Unknown IO ID 44"} 
[2026-07-01 10:34:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417807616001,"power":27984,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-70861295318353920}} 
[2026-07-01 10:34:27] local.INFO: DEBUG: GPS processor result {"connection_id":120795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:34:27] local.INFO: GPS data processed {"connection_id":120795,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:34:27] local.INFO: Acknowledgment sent {"connection_id":120795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:34:59] local.INFO: TCP Data received {"connection_id":120795,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c0d6238012cff0440070039d0000f012b22..."} 
[2026-07-01 10:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c0d6238012cff0440070039d0000f012b22..."} 
[2026-07-01 10:34:59] local.INFO: Processing buffer {"connection_id":120795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c0d6238012cff0440070039d0000f012b22..."} 
[2026-07-01 10:34:59] local.INFO: Packet analysis {"connection_id":120795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c0d"} 
[2026-07-01 10:34:59] local.INFO: Extracted packet for processing {"connection_id":120795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c0d"} 
[2026-07-01 10:34:59] local.INFO: GPS Element Parsed {"raw_longitude":754910272,"raw_latitude":117455312,"longitude_deg":75.4910272,"latitude_deg":11.7455312,"altitude":15,"angle":299,"satellites":34,"speed":0,"hex_longitude":"2cff0440","hex_latitude":"070039d0","is_valid_coordinates":true} 
[2026-07-01 10:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417807616001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206732509544448,"note":"Value kept but may cause issues"} 
[2026-07-01 10:34:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-70861295318353920,"note":"Value kept but may cause issues"} 
[2026-07-01 10:34:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782882067000,"timestamp_ms":1782882067000,"timestamp_seconds":1782882067,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c0d6238"} 
[2026-07-01 10:34:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:34: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-01 10:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 10:34:59] 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-01 10:34:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:34:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":120795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":120795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":120795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:34:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 10:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417807616001,"66":27984,"141":206,"94":10240,"24":0,"16":333206732509544448,"44":-70861295318353920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417807616001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:34:59] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:34:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206732509544448,"km_value":333206732509544.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:34:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-70861295318353920,"description":"Unknown IO ID 44"} 
[2026-07-01 10:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417807616001,"power":27984,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-70861295318353920}} 
[2026-07-01 10:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":120795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:34:59] local.INFO: GPS data processed {"connection_id":120795,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:34:59] local.INFO: Acknowledgment sent {"connection_id":120795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:35:21] local.INFO: TCP Data received {"connection_id":118916,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:35:21] local.INFO: Processing buffer {"connection_id":118916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:35:21] local.INFO: IMEI packet received {"connection_id":118916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 10:35:21] local.INFO: IMEI acknowledgment sent {"connection_id":118916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:35:26] local.INFO: TCP Data received {"connection_id":118916,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:35:26] local.INFO: Processing buffer {"connection_id":118916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:35:26] local.INFO: IMEI packet received {"connection_id":118916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":118916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:35:28] local.INFO: TCP Data received {"connection_id":118916,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c0d6238012cff0440070039d0000f012b22..."} 
[2026-07-01 10:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c0d6238012cff0440070039d0000f012b22..."} 
[2026-07-01 10:35:28] local.INFO: Processing buffer {"connection_id":118916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c0d6238012cff0440070039d0000f012b22..."} 
[2026-07-01 10:35:28] local.INFO: Packet analysis {"connection_id":118916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c0d"} 
[2026-07-01 10:35:28] local.INFO: Extracted packet for processing {"connection_id":118916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c0d"} 
[2026-07-01 10:35:28] local.INFO: GPS Element Parsed {"raw_longitude":754910272,"raw_latitude":117455312,"longitude_deg":75.4910272,"latitude_deg":11.7455312,"altitude":15,"angle":299,"satellites":34,"speed":0,"hex_longitude":"2cff0440","hex_latitude":"070039d0","is_valid_coordinates":true} 
[2026-07-01 10:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417807616001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206732509544448,"note":"Value kept but may cause issues"} 
[2026-07-01 10:35:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-70861295318353920,"note":"Value kept but may cause issues"} 
[2026-07-01 10:35:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782882067000,"timestamp_ms":1782882067000,"timestamp_seconds":1782882067,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c0d6238"} 
[2026-07-01 10:35:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:35:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 10:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 10:35:28] 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-01 10:35:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:35:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:35:28] 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-01 10:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417807616001,"66":27984,"141":206,"94":10240,"24":0,"16":333206732509544448,"44":-70861295318353920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417807616001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:35:28] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:35:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206732509544448,"km_value":333206732509544.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:35:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-70861295318353920,"description":"Unknown IO ID 44"} 
[2026-07-01 10:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417807616001,"power":27984,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-70861295318353920}} 
[2026-07-01 10:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":118916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:35:28] local.INFO: GPS data processed {"connection_id":118916,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:35:28] local.INFO: Acknowledgment sent {"connection_id":118916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:35:59] local.INFO: TCP Data received {"connection_id":118916,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c0d6238012cff0440070039d0000f012b22..."} 
[2026-07-01 10:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c0d6238012cff0440070039d0000f012b22..."} 
[2026-07-01 10:35:59] local.INFO: Processing buffer {"connection_id":118916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c0d6238012cff0440070039d0000f012b22..."} 
[2026-07-01 10:35:59] local.INFO: Packet analysis {"connection_id":118916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c0d"} 
[2026-07-01 10:35:59] local.INFO: Extracted packet for processing {"connection_id":118916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c0d"} 
[2026-07-01 10:35:59] local.INFO: GPS Element Parsed {"raw_longitude":754910272,"raw_latitude":117455312,"longitude_deg":75.4910272,"latitude_deg":11.7455312,"altitude":15,"angle":299,"satellites":34,"speed":0,"hex_longitude":"2cff0440","hex_latitude":"070039d0","is_valid_coordinates":true} 
[2026-07-01 10:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417807616001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206732509544448,"note":"Value kept but may cause issues"} 
[2026-07-01 10:35:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-70861295318353920,"note":"Value kept but may cause issues"} 
[2026-07-01 10:35:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782882067000,"timestamp_ms":1782882067000,"timestamp_seconds":1782882067,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c0d6238"} 
[2026-07-01 10:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:35: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-01 10:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 10:35:59] 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-01 10:35:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:35:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 10:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417807616001,"66":27984,"141":206,"94":10240,"24":0,"16":333206732509544448,"44":-70861295318353920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417807616001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:35:59] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:35:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206732509544448,"km_value":333206732509544.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:35:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-70861295318353920,"description":"Unknown IO ID 44"} 
[2026-07-01 10:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417807616001,"power":27984,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-70861295318353920}} 
[2026-07-01 10:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":118916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:35:59] local.INFO: GPS data processed {"connection_id":118916,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:35:59] local.INFO: Acknowledgment sent {"connection_id":118916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:36:21] local.INFO: TCP Data received {"connection_id":119032,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:36:21] local.INFO: Processing buffer {"connection_id":119032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:36:21] local.INFO: IMEI packet received {"connection_id":119032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 10:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":119032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:36:26] local.INFO: TCP Data received {"connection_id":119032,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:36:26] local.INFO: Processing buffer {"connection_id":119032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:36:26] local.INFO: IMEI packet received {"connection_id":119032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":119032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:36:27] local.INFO: TCP Data received {"connection_id":119032,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c0d6238012cff0440070039d0000f012b22..."} 
[2026-07-01 10:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c0d6238012cff0440070039d0000f012b22..."} 
[2026-07-01 10:36:27] local.INFO: Processing buffer {"connection_id":119032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c0d6238012cff0440070039d0000f012b22..."} 
[2026-07-01 10:36:27] local.INFO: Packet analysis {"connection_id":119032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c0d"} 
[2026-07-01 10:36:27] local.INFO: Extracted packet for processing {"connection_id":119032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c0d"} 
[2026-07-01 10:36:27] local.INFO: GPS Element Parsed {"raw_longitude":754910272,"raw_latitude":117455312,"longitude_deg":75.4910272,"latitude_deg":11.7455312,"altitude":15,"angle":299,"satellites":34,"speed":0,"hex_longitude":"2cff0440","hex_latitude":"070039d0","is_valid_coordinates":true} 
[2026-07-01 10:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417807616001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206732509544448,"note":"Value kept but may cause issues"} 
[2026-07-01 10:36:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-70861295318353920,"note":"Value kept but may cause issues"} 
[2026-07-01 10:36:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782882067000,"timestamp_ms":1782882067000,"timestamp_seconds":1782882067,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c0d6238"} 
[2026-07-01 10:36:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:36: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-01 10:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 10:36:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10:36:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:36:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:36:27] 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-01 10:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417807616001,"66":27984,"141":206,"94":10240,"24":0,"16":333206732509544448,"44":-70861295318353920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417807616001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:36:27] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:36:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206732509544448,"km_value":333206732509544.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:36:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-70861295318353920,"description":"Unknown IO ID 44"} 
[2026-07-01 10:36:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417807616001,"power":27984,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-70861295318353920}} 
[2026-07-01 10:36:27] local.INFO: DEBUG: GPS processor result {"connection_id":119032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:36:27] local.INFO: GPS data processed {"connection_id":119032,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:36:27] local.INFO: Acknowledgment sent {"connection_id":119032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:36:53] local.INFO: TCP Data received {"connection_id":120796,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 10:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120796,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 10:36:53] local.INFO: Processing buffer {"connection_id":120796,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 10:36:53] local.INFO: IMEI packet received {"connection_id":120796,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 10:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":120796,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:36:58] local.INFO: TCP Data received {"connection_id":119032,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c11fde8012cff010007003dd8000d012b26..."} 
[2026-07-01 10:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c11fde8012cff010007003dd8000d012b26..."} 
[2026-07-01 10:36:58] local.INFO: Processing buffer {"connection_id":119032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c11fde8012cff010007003dd8000d012b26..."} 
[2026-07-01 10:36:58] local.INFO: Packet analysis {"connection_id":119032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c11"} 
[2026-07-01 10:36:58] local.INFO: Extracted packet for processing {"connection_id":119032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c11"} 
[2026-07-01 10:36:58] local.INFO: GPS Element Parsed {"raw_longitude":754909440,"raw_latitude":117456344,"longitude_deg":75.490944,"latitude_deg":11.7456344,"altitude":13,"angle":299,"satellites":38,"speed":0,"hex_longitude":"2cff0100","hex_latitude":"07003dd8","is_valid_coordinates":true} 
[2026-07-01 10: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-01 10:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417809152001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206732509544448,"note":"Value kept but may cause issues"} 
[2026-07-01 10:36:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-70861295318347776,"note":"Value kept but may cause issues"} 
[2026-07-01 10:36:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782882369000,"timestamp_ms":1782882369000,"timestamp_seconds":1782882369,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c11fde8"} 
[2026-07-01 10: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-01 10:36:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 10: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-01 10:36:58] 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-01 10: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-01 10: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-01 10:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:36:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 10:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417809152001,"66":26310,"240":206,"94":10240,"24":0,"16":333206732509544448,"44":-70861295318347776},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,94,24,16,44]} 
[2026-07-01 10:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417809152001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:36:58] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-07-01 10:36:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206732509544448,"km_value":333206732509544.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:36:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-70861295318347776,"description":"Unknown IO ID 44"} 
[2026-07-01 10:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417809152001,"power":26310,"unknown_240":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-70861295318347776}} 
[2026-07-01 10:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":119032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:36:58] local.INFO: GPS data processed {"connection_id":119032,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:36:58] local.INFO: Acknowledgment sent {"connection_id":119032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:37:16] local.INFO: TCP Data received {"connection_id":118917,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 10:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118917,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 10:37:16] local.INFO: Processing buffer {"connection_id":118917,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 10:37:16] local.INFO: IMEI packet received {"connection_id":118917,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 10:37:16] local.INFO: IMEI acknowledgment sent {"connection_id":118917,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:37:21] local.INFO: TCP Data received {"connection_id":119033,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:37:21] local.INFO: Processing buffer {"connection_id":119033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:37:21] local.INFO: IMEI packet received {"connection_id":119033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 10:37:21] local.INFO: IMEI acknowledgment sent {"connection_id":119033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:37:26] local.INFO: TCP Data received {"connection_id":119033,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:37:26] local.INFO: Processing buffer {"connection_id":119033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:37:26] local.INFO: IMEI packet received {"connection_id":119033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":119033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:37:28] local.INFO: TCP Data received {"connection_id":119033,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c11fde8012cff010007003dd8000d012b26..."} 
[2026-07-01 10:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c11fde8012cff010007003dd8000d012b26..."} 
[2026-07-01 10:37:28] local.INFO: Processing buffer {"connection_id":119033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c11fde8012cff010007003dd8000d012b26..."} 
[2026-07-01 10:37:28] local.INFO: Packet analysis {"connection_id":119033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c11"} 
[2026-07-01 10:37:28] local.INFO: Extracted packet for processing {"connection_id":119033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c11"} 
[2026-07-01 10:37:28] local.INFO: GPS Element Parsed {"raw_longitude":754909440,"raw_latitude":117456344,"longitude_deg":75.490944,"latitude_deg":11.7456344,"altitude":13,"angle":299,"satellites":38,"speed":0,"hex_longitude":"2cff0100","hex_latitude":"07003dd8","is_valid_coordinates":true} 
[2026-07-01 10: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-01 10:37:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417809152001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:37:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206732509544448,"note":"Value kept but may cause issues"} 
[2026-07-01 10:37:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-70861295318347776,"note":"Value kept but may cause issues"} 
[2026-07-01 10:37:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:37:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782882369000,"timestamp_ms":1782882369000,"timestamp_seconds":1782882369,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c11fde8"} 
[2026-07-01 10: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-01 10:37:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 10: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-01 10:37:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10: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-01 10: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-01 10:37:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:37:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:37:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:37:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:37:28] 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-01 10:37:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:37:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:37:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417809152001,"66":26310,"240":206,"94":10240,"24":0,"16":333206732509544448,"44":-70861295318347776},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,94,24,16,44]} 
[2026-07-01 10:37:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:37:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:37:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417809152001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:37:28] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-07-01 10:37:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:37:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206732509544448,"km_value":333206732509544.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:37:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-70861295318347776,"description":"Unknown IO ID 44"} 
[2026-07-01 10:37:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417809152001,"power":26310,"unknown_240":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-70861295318347776}} 
[2026-07-01 10:37:28] local.INFO: DEBUG: GPS processor result {"connection_id":119033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:37:28] local.INFO: GPS data processed {"connection_id":119033,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:37:28] local.INFO: Acknowledgment sent {"connection_id":119033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:38:00] local.INFO: TCP Data received {"connection_id":119033,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c11fde8012cff010007003dd8000d012b26..."} 
[2026-07-01 10:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c11fde8012cff010007003dd8000d012b26..."} 
[2026-07-01 10:38:00] local.INFO: Processing buffer {"connection_id":119033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c11fde8012cff010007003dd8000d012b26..."} 
[2026-07-01 10:38:00] local.INFO: Packet analysis {"connection_id":119033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c11"} 
[2026-07-01 10:38:00] local.INFO: Extracted packet for processing {"connection_id":119033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c11"} 
[2026-07-01 10:38:00] local.INFO: GPS Element Parsed {"raw_longitude":754909440,"raw_latitude":117456344,"longitude_deg":75.490944,"latitude_deg":11.7456344,"altitude":13,"angle":299,"satellites":38,"speed":0,"hex_longitude":"2cff0100","hex_latitude":"07003dd8","is_valid_coordinates":true} 
[2026-07-01 10: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-01 10:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417809152001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206732509544448,"note":"Value kept but may cause issues"} 
[2026-07-01 10:38:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-70861295318347776,"note":"Value kept but may cause issues"} 
[2026-07-01 10:38:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782882369000,"timestamp_ms":1782882369000,"timestamp_seconds":1782882369,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c11fde8"} 
[2026-07-01 10: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-01 10:38:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 10: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-01 10:38:00] 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-01 10: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-01 10: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-01 10:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":119033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":119033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":119033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:38:00] 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-01 10:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417809152001,"66":26310,"240":206,"94":10240,"24":0,"16":333206732509544448,"44":-70861295318347776},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,94,24,16,44]} 
[2026-07-01 10:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417809152001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:38:00] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-07-01 10:38:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206732509544448,"km_value":333206732509544.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:38:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-70861295318347776,"description":"Unknown IO ID 44"} 
[2026-07-01 10:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417809152001,"power":26310,"unknown_240":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-70861295318347776}} 
[2026-07-01 10:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":119033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:38:00] local.INFO: GPS data processed {"connection_id":119033,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:38:00] local.INFO: Acknowledgment sent {"connection_id":119033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:38:21] local.INFO: TCP Data received {"connection_id":118918,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:38:21] local.INFO: Processing buffer {"connection_id":118918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:38:21] local.INFO: IMEI packet received {"connection_id":118918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 10:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":118918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:38:26] local.INFO: TCP Data received {"connection_id":118918,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:38:26] local.INFO: Processing buffer {"connection_id":118918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:38:26] local.INFO: IMEI packet received {"connection_id":118918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":118918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:38:27] local.INFO: TCP Data received {"connection_id":118918,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c11fde8012cff010007003dd8000d012b26..."} 
[2026-07-01 10:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c11fde8012cff010007003dd8000d012b26..."} 
[2026-07-01 10:38:27] local.INFO: Processing buffer {"connection_id":118918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c11fde8012cff010007003dd8000d012b26..."} 
[2026-07-01 10:38:27] local.INFO: Packet analysis {"connection_id":118918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c11"} 
[2026-07-01 10:38:27] local.INFO: Extracted packet for processing {"connection_id":118918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c11"} 
[2026-07-01 10:38:27] local.INFO: GPS Element Parsed {"raw_longitude":754909440,"raw_latitude":117456344,"longitude_deg":75.490944,"latitude_deg":11.7456344,"altitude":13,"angle":299,"satellites":38,"speed":0,"hex_longitude":"2cff0100","hex_latitude":"07003dd8","is_valid_coordinates":true} 
[2026-07-01 10: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-01 10:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417809152001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206732509544448,"note":"Value kept but may cause issues"} 
[2026-07-01 10:38:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-70861295318347776,"note":"Value kept but may cause issues"} 
[2026-07-01 10:38:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782882369000,"timestamp_ms":1782882369000,"timestamp_seconds":1782882369,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c11fde8"} 
[2026-07-01 10: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-01 10:38:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 10: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-01 10:38:27] 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-01 10: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-01 10: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-01 10:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:38:27] 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-01 10:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417809152001,"66":26310,"240":206,"94":10240,"24":0,"16":333206732509544448,"44":-70861295318347776},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,94,24,16,44]} 
[2026-07-01 10:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417809152001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:38:27] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-07-01 10:38:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206732509544448,"km_value":333206732509544.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:38:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-70861295318347776,"description":"Unknown IO ID 44"} 
[2026-07-01 10:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417809152001,"power":26310,"unknown_240":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-70861295318347776}} 
[2026-07-01 10:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":118918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:38:27] local.INFO: GPS data processed {"connection_id":118918,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:38:27] local.INFO: Acknowledgment sent {"connection_id":118918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:39:00] local.INFO: TCP Data received {"connection_id":118918,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c11fde8012cff010007003dd8000d012b26..."} 
[2026-07-01 10:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c11fde8012cff010007003dd8000d012b26..."} 
[2026-07-01 10:39:00] local.INFO: Processing buffer {"connection_id":118918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c11fde8012cff010007003dd8000d012b26..."} 
[2026-07-01 10:39:00] local.INFO: Packet analysis {"connection_id":118918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c11"} 
[2026-07-01 10:39:00] local.INFO: Extracted packet for processing {"connection_id":118918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c11"} 
[2026-07-01 10:39:00] local.INFO: GPS Element Parsed {"raw_longitude":754909440,"raw_latitude":117456344,"longitude_deg":75.490944,"latitude_deg":11.7456344,"altitude":13,"angle":299,"satellites":38,"speed":0,"hex_longitude":"2cff0100","hex_latitude":"07003dd8","is_valid_coordinates":true} 
[2026-07-01 10:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417809152001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206732509544448,"note":"Value kept but may cause issues"} 
[2026-07-01 10:39:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-70861295318347776,"note":"Value kept but may cause issues"} 
[2026-07-01 10:39:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782882369000,"timestamp_ms":1782882369000,"timestamp_seconds":1782882369,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c11fde8"} 
[2026-07-01 10:39:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:39:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 10:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-01 10:39:00] 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-01 10:39:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:39:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":118918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":118918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":118918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:39:00] 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-01 10:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417809152001,"66":26310,"240":206,"94":10240,"24":0,"16":333206732509544448,"44":-70861295318347776},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,94,24,16,44]} 
[2026-07-01 10:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417809152001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:39:00] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-07-01 10:39:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206732509544448,"km_value":333206732509544.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:39:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-70861295318347776,"description":"Unknown IO ID 44"} 
[2026-07-01 10:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417809152001,"power":26310,"unknown_240":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-70861295318347776}} 
[2026-07-01 10:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":118918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:39:00] local.INFO: GPS data processed {"connection_id":118918,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:39:00] local.INFO: Acknowledgment sent {"connection_id":118918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:39:26] local.INFO: TCP Data received {"connection_id":119709,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:39:26] local.INFO: Processing buffer {"connection_id":119709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:39:26] local.INFO: IMEI packet received {"connection_id":119709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 10:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":119709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:39:31] local.INFO: TCP Data received {"connection_id":119709,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:39:31] local.INFO: Processing buffer {"connection_id":119709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:39:31] local.INFO: IMEI packet received {"connection_id":119709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":119709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:39:32] local.INFO: TCP Data received {"connection_id":119709,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c11fde8012cff010007003dd8000d012b26..."} 
[2026-07-01 10:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c11fde8012cff010007003dd8000d012b26..."} 
[2026-07-01 10:39:32] local.INFO: Processing buffer {"connection_id":119709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c11fde8012cff010007003dd8000d012b26..."} 
[2026-07-01 10:39:32] local.INFO: Packet analysis {"connection_id":119709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c11"} 
[2026-07-01 10:39:32] local.INFO: Extracted packet for processing {"connection_id":119709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c11"} 
[2026-07-01 10:39:32] local.INFO: GPS Element Parsed {"raw_longitude":754909440,"raw_latitude":117456344,"longitude_deg":75.490944,"latitude_deg":11.7456344,"altitude":13,"angle":299,"satellites":38,"speed":0,"hex_longitude":"2cff0100","hex_latitude":"07003dd8","is_valid_coordinates":true} 
[2026-07-01 10:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417809152001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206732509544448,"note":"Value kept but may cause issues"} 
[2026-07-01 10:39:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-70861295318347776,"note":"Value kept but may cause issues"} 
[2026-07-01 10:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782882369000,"timestamp_ms":1782882369000,"timestamp_seconds":1782882369,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c11fde8"} 
[2026-07-01 10:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:39:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 10:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-01 10:39:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10:39:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":119709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":119709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":119709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 10:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417809152001,"66":26310,"240":206,"94":10240,"24":0,"16":333206732509544448,"44":-70861295318347776},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,94,24,16,44]} 
[2026-07-01 10:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417809152001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:39:32] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-07-01 10:39:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206732509544448,"km_value":333206732509544.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:39:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-70861295318347776,"description":"Unknown IO ID 44"} 
[2026-07-01 10:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417809152001,"power":26310,"unknown_240":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-70861295318347776}} 
[2026-07-01 10:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":119709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:39:32] local.INFO: GPS data processed {"connection_id":119709,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:39:32] local.INFO: Acknowledgment sent {"connection_id":119709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:39:38] local.INFO: TCP Data received {"connection_id":119709,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c11fde8012cff010007003dd8000d012b26..."} 
[2026-07-01 10:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c11fde8012cff010007003dd8000d012b26..."} 
[2026-07-01 10:39:38] local.INFO: Processing buffer {"connection_id":119709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c11fde8012cff010007003dd8000d012b26..."} 
[2026-07-01 10:39:38] local.INFO: Packet analysis {"connection_id":119709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c11"} 
[2026-07-01 10:39:38] local.INFO: Extracted packet for processing {"connection_id":119709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c11"} 
[2026-07-01 10:39:38] local.INFO: GPS Element Parsed {"raw_longitude":754909440,"raw_latitude":117456344,"longitude_deg":75.490944,"latitude_deg":11.7456344,"altitude":13,"angle":299,"satellites":38,"speed":0,"hex_longitude":"2cff0100","hex_latitude":"07003dd8","is_valid_coordinates":true} 
[2026-07-01 10:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417809152001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206732509544448,"note":"Value kept but may cause issues"} 
[2026-07-01 10:39:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-70861295318347776,"note":"Value kept but may cause issues"} 
[2026-07-01 10:39:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782882369000,"timestamp_ms":1782882369000,"timestamp_seconds":1782882369,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c11fde8"} 
[2026-07-01 10:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 10:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-01 10:39:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":119709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":119709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":119709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 10:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417809152001,"66":26310,"240":206,"94":10240,"24":0,"16":333206732509544448,"44":-70861295318347776},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,94,24,16,44]} 
[2026-07-01 10:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417809152001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:39:38] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-07-01 10:39:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206732509544448,"km_value":333206732509544.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:39:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-70861295318347776,"description":"Unknown IO ID 44"} 
[2026-07-01 10:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417809152001,"power":26310,"unknown_240":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-70861295318347776}} 
[2026-07-01 10:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":119709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:39:38] local.INFO: GPS data processed {"connection_id":119709,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:39:38] local.INFO: Acknowledgment sent {"connection_id":119709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:40:21] local.INFO: TCP Data received {"connection_id":118919,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:40:21] local.INFO: Processing buffer {"connection_id":118919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:40:21] local.INFO: IMEI packet received {"connection_id":118919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 10:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":118919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:40:26] local.INFO: TCP Data received {"connection_id":118919,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:40:26] local.INFO: Processing buffer {"connection_id":118919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:40:26] local.INFO: IMEI packet received {"connection_id":118919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":118919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:40:27] local.INFO: TCP Data received {"connection_id":118919,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c11fde8012cff010007003dd8000d012b26..."} 
[2026-07-01 10:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c11fde8012cff010007003dd8000d012b26..."} 
[2026-07-01 10:40:27] local.INFO: Processing buffer {"connection_id":118919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c11fde8012cff010007003dd8000d012b26..."} 
[2026-07-01 10:40:27] local.INFO: Packet analysis {"connection_id":118919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c11"} 
[2026-07-01 10:40:27] local.INFO: Extracted packet for processing {"connection_id":118919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c11"} 
[2026-07-01 10:40:27] local.INFO: GPS Element Parsed {"raw_longitude":754909440,"raw_latitude":117456344,"longitude_deg":75.490944,"latitude_deg":11.7456344,"altitude":13,"angle":299,"satellites":38,"speed":0,"hex_longitude":"2cff0100","hex_latitude":"07003dd8","is_valid_coordinates":true} 
[2026-07-01 10:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:40:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417809152001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:40:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206732509544448,"note":"Value kept but may cause issues"} 
[2026-07-01 10:40:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-70861295318347776,"note":"Value kept but may cause issues"} 
[2026-07-01 10:40:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:40:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782882369000,"timestamp_ms":1782882369000,"timestamp_seconds":1782882369,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c11fde8"} 
[2026-07-01 10:40:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:40:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 10:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-01 10:40:27] 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-01 10:40:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:40:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:40:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:40:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:40:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:40:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:40:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 10:40:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:40:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:40:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417809152001,"66":26310,"240":206,"94":10240,"24":0,"16":333206732509544448,"44":-70861295318347776},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,94,24,16,44]} 
[2026-07-01 10:40:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:40:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:40:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417809152001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:40:27] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-07-01 10:40:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:40:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206732509544448,"km_value":333206732509544.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:40:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-70861295318347776,"description":"Unknown IO ID 44"} 
[2026-07-01 10:40:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417809152001,"power":26310,"unknown_240":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-70861295318347776}} 
[2026-07-01 10:40:27] local.INFO: DEBUG: GPS processor result {"connection_id":118919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:40:27] local.INFO: GPS data processed {"connection_id":118919,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:40:27] local.INFO: Acknowledgment sent {"connection_id":118919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:41:08] local.INFO: TCP Data received {"connection_id":118919,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c159bb0012cff010007003dd8000d012b1f..."} 
[2026-07-01 10:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c159bb0012cff010007003dd8000d012b1f..."} 
[2026-07-01 10:41:08] local.INFO: Processing buffer {"connection_id":118919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c159bb0012cff010007003dd8000d012b1f..."} 
[2026-07-01 10:41:08] local.INFO: Packet analysis {"connection_id":118919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c15"} 
[2026-07-01 10:41:08] local.INFO: Extracted packet for processing {"connection_id":118919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c15"} 
[2026-07-01 10:41:08] local.INFO: GPS Element Parsed {"raw_longitude":754909440,"raw_latitude":117456344,"longitude_deg":75.490944,"latitude_deg":11.7456344,"altitude":13,"angle":299,"satellites":31,"speed":0,"hex_longitude":"2cff0100","hex_latitude":"07003dd8","is_valid_coordinates":true} 
[2026-07-01 10:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417886464001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206732509544448,"note":"Value kept but may cause issues"} 
[2026-07-01 10:41:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71776088992393216,"note":"Value kept but may cause issues"} 
[2026-07-01 10:41:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782882606000,"timestamp_ms":1782882606000,"timestamp_seconds":1782882606,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c159bb0"} 
[2026-07-01 10: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-01 10:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 10:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-01 10:41:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10: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-01 10: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-01 10:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":118919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":118919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":118919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 10:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417886464001,"66":26115,"240":206,"94":10240,"24":0,"16":333206732509544448,"44":-71776088992393216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,94,24,16,44]} 
[2026-07-01 10:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417886464001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:41:08] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-07-01 10:41:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206732509544448,"km_value":333206732509544.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:41:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71776088992393216,"description":"Unknown IO ID 44"} 
[2026-07-01 10:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417886464001,"power":26115,"unknown_240":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-71776088992393216}} 
[2026-07-01 10:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":118919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:41:08] local.INFO: GPS data processed {"connection_id":118919,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:41:08] local.INFO: Acknowledgment sent {"connection_id":118919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:41:21] local.INFO: TCP Data received {"connection_id":119034,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:41:21] local.INFO: Processing buffer {"connection_id":119034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:41:21] local.INFO: IMEI packet received {"connection_id":119034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 10:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":119034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:41:26] local.INFO: TCP Data received {"connection_id":119034,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:41:26] local.INFO: Processing buffer {"connection_id":119034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:41:26] local.INFO: IMEI packet received {"connection_id":119034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":119034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:41:27] local.INFO: TCP Data received {"connection_id":119034,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c15f588012cfefd8007003f40000d012d24..."} 
[2026-07-01 10:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c15f588012cfefd8007003f40000d012d24..."} 
[2026-07-01 10:41:27] local.INFO: Processing buffer {"connection_id":119034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c15f588012cfefd8007003f40000d012d24..."} 
[2026-07-01 10:41:27] local.INFO: Packet analysis {"connection_id":119034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c15"} 
[2026-07-01 10:41:27] local.INFO: Extracted packet for processing {"connection_id":119034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c15"} 
[2026-07-01 10:41:27] local.INFO: GPS Element Parsed {"raw_longitude":754908544,"raw_latitude":117456704,"longitude_deg":75.4908544,"latitude_deg":11.7456704,"altitude":13,"angle":301,"satellites":36,"speed":0,"hex_longitude":"2cfefd80","hex_latitude":"07003f40","is_valid_coordinates":true} 
[2026-07-01 10:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417947136001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206732509544448,"note":"Value kept but may cause issues"} 
[2026-07-01 10:41:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71776088992393216,"note":"Value kept but may cause issues"} 
[2026-07-01 10:41:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782882629000,"timestamp_ms":1782882629000,"timestamp_seconds":1782882629,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c15f588"} 
[2026-07-01 10:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:41:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 10:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-01 10:41:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10:41:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 10:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417947136001,"66":25756,"240":206,"94":10240,"24":0,"16":333206732509544448,"44":-71776088992393216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,94,24,16,44]} 
[2026-07-01 10:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417947136001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:41:27] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-07-01 10:41:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206732509544448,"km_value":333206732509544.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:41:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71776088992393216,"description":"Unknown IO ID 44"} 
[2026-07-01 10:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417947136001,"power":25756,"unknown_240":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-71776088992393216}} 
[2026-07-01 10:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":119034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:41:27] local.INFO: GPS data processed {"connection_id":119034,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:41:27] local.INFO: Acknowledgment sent {"connection_id":119034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:42:01] local.INFO: TCP Data received {"connection_id":119034,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c164790012cfefd8007003f40000d012d22..."} 
[2026-07-01 10:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c164790012cfefd8007003f40000d012d22..."} 
[2026-07-01 10:42:01] local.INFO: Processing buffer {"connection_id":119034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c164790012cfefd8007003f40000d012d22..."} 
[2026-07-01 10:42:01] local.INFO: Packet analysis {"connection_id":119034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c16"} 
[2026-07-01 10:42:01] local.INFO: Extracted packet for processing {"connection_id":119034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c16"} 
[2026-07-01 10:42:01] local.INFO: GPS Element Parsed {"raw_longitude":754908544,"raw_latitude":117456704,"longitude_deg":75.4908544,"latitude_deg":11.7456704,"altitude":13,"angle":301,"satellites":34,"speed":0,"hex_longitude":"2cfefd80","hex_latitude":"07003f40","is_valid_coordinates":true} 
[2026-07-01 10:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:42:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417953024001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:42:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206732509544448,"note":"Value kept but may cause issues"} 
[2026-07-01 10:42:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72761251410788352,"note":"Value kept but may cause issues"} 
[2026-07-01 10:42:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:42:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782882650000,"timestamp_ms":1782882650000,"timestamp_seconds":1782882650,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c164790"} 
[2026-07-01 10:42:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:42:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 10:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-07-01 10:42:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10:42:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:42:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:42:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:42:01] local.INFO: Teltonika packet parsed successfully {"connection_id":119034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:42:01] local.INFO: Passing IMEI to GPS processor {"connection_id":119034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:42:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":119034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:42:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 10:42:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:42:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:42:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417953024001,"66":25517,"240":206,"94":10240,"24":0,"16":333206732509544448,"44":-72761251410788352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,94,24,16,44]} 
[2026-07-01 10:42:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:42:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:42:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417953024001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:42:01] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-07-01 10:42:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:42:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206732509544448,"km_value":333206732509544.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:42:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72761251410788352,"description":"Unknown IO ID 44"} 
[2026-07-01 10:42:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417953024001,"power":25517,"unknown_240":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-72761251410788352}} 
[2026-07-01 10:42:01] local.INFO: DEBUG: GPS processor result {"connection_id":119034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:42:01] local.INFO: GPS data processed {"connection_id":119034,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:42:01] local.INFO: Acknowledgment sent {"connection_id":119034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:42:30] local.INFO: TCP Data received {"connection_id":119710,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:42:30] local.INFO: Processing buffer {"connection_id":119710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:42:30] local.INFO: IMEI packet received {"connection_id":119710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 10:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":119710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:42:31] local.INFO: TCP Data received {"connection_id":119035,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 10:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119035,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 10:42:31] local.INFO: Processing buffer {"connection_id":119035,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 10:42:31] local.INFO: IMEI packet received {"connection_id":119035,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 10:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":119035,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:42:31] local.INFO: TCP Data received {"connection_id":119710,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:42:31] local.INFO: Processing buffer {"connection_id":119710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:42:31] local.INFO: IMEI packet received {"connection_id":119710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":119710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:42:50] local.INFO: TCP Data received {"connection_id":119710,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c169998012cfefd8007003f40000d012d20..."} 
[2026-07-01 10:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c169998012cfefd8007003f40000d012d20..."} 
[2026-07-01 10:42:50] local.INFO: Processing buffer {"connection_id":119710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c169998012cfefd8007003f40000d012d20..."} 
[2026-07-01 10:42:50] local.INFO: Packet analysis {"connection_id":119710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c16"} 
[2026-07-01 10:42:50] local.INFO: Extracted packet for processing {"connection_id":119710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c16"} 
[2026-07-01 10:42:50] local.INFO: GPS Element Parsed {"raw_longitude":754908544,"raw_latitude":117456704,"longitude_deg":75.4908544,"latitude_deg":11.7456704,"altitude":13,"angle":301,"satellites":32,"speed":0,"hex_longitude":"2cfefd80","hex_latitude":"07003f40","is_valid_coordinates":true} 
[2026-07-01 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-01 10:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417958400001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206732509544448,"note":"Value kept but may cause issues"} 
[2026-07-01 10:42:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72761251410788352,"note":"Value kept but may cause issues"} 
[2026-07-01 10:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782882671000,"timestamp_ms":1782882671000,"timestamp_seconds":1782882671,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c169998"} 
[2026-07-01 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-01 10:42: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-01 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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 10:42:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 10:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":119710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":119710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":119710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10: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-01 10:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417958400001,"66":25147,"240":206,"94":10240,"24":0,"16":333206732509544448,"44":-72761251410788352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,94,24,16,44]} 
[2026-07-01 10:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417958400001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:42:50] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-07-01 10:42:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206732509544448,"km_value":333206732509544.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:42:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72761251410788352,"description":"Unknown IO ID 44"} 
[2026-07-01 10:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417958400001,"power":25147,"unknown_240":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-72761251410788352}} 
[2026-07-01 10:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":119710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:42:50] local.INFO: GPS data processed {"connection_id":119710,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:42:50] local.INFO: Acknowledgment sent {"connection_id":119710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:42:59] local.INFO: TCP Data received {"connection_id":119710,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c16eba0012cfefd8007003f40000d012d26..."} 
[2026-07-01 10:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c16eba0012cfefd8007003f40000d012d26..."} 
[2026-07-01 10:42:59] local.INFO: Processing buffer {"connection_id":119710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c16eba0012cfefd8007003f40000d012d26..."} 
[2026-07-01 10:42:59] local.INFO: Packet analysis {"connection_id":119710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c16"} 
[2026-07-01 10:42:59] local.INFO: Extracted packet for processing {"connection_id":119710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c16"} 
[2026-07-01 10:42:59] local.INFO: GPS Element Parsed {"raw_longitude":754908544,"raw_latitude":117456704,"longitude_deg":75.4908544,"latitude_deg":11.7456704,"altitude":13,"angle":301,"satellites":38,"speed":0,"hex_longitude":"2cfefd80","hex_latitude":"07003f40","is_valid_coordinates":true} 
[2026-07-01 10:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417963776001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206732509544448,"note":"Value kept but may cause issues"} 
[2026-07-01 10:42:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72761251410788352,"note":"Value kept but may cause issues"} 
[2026-07-01 10:42:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782882692000,"timestamp_ms":1782882692000,"timestamp_seconds":1782882692,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c16eba0"} 
[2026-07-01 10:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:42: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-01 10:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-07-01 10:42:59] 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-01 10:42:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:42:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 10:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417963776001,"66":25321,"240":206,"94":10240,"24":0,"16":333206732509544448,"44":-72761251410788352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,94,24,16,44]} 
[2026-07-01 10:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417963776001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:42:59] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-07-01 10:42:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206732509544448,"km_value":333206732509544.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:42:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72761251410788352,"description":"Unknown IO ID 44"} 
[2026-07-01 10:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417963776001,"power":25321,"unknown_240":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-72761251410788352}} 
[2026-07-01 10:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":119710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:42:59] local.INFO: GPS data processed {"connection_id":119710,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:42:59] local.INFO: Acknowledgment sent {"connection_id":119710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:43:21] local.INFO: TCP Data received {"connection_id":118922,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 10:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118922,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 10:43:21] local.INFO: Processing buffer {"connection_id":118922,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 10:43:21] local.INFO: IMEI packet received {"connection_id":118922,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 10:43:21] local.INFO: IMEI acknowledgment sent {"connection_id":118922,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:43:21] local.INFO: TCP Data received {"connection_id":119711,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:43:21] local.INFO: Processing buffer {"connection_id":119711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:43:21] local.INFO: IMEI packet received {"connection_id":119711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 10:43:21] local.INFO: IMEI acknowledgment sent {"connection_id":119711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:43:26] local.INFO: TCP Data received {"connection_id":119711,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:43:26] local.INFO: Processing buffer {"connection_id":119711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:43:26] local.INFO: IMEI packet received {"connection_id":119711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":119711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:43:27] local.INFO: TCP Data received {"connection_id":119711,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c173da8012cfefd8007003f40000d012d27..."} 
[2026-07-01 10:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c173da8012cfefd8007003f40000d012d27..."} 
[2026-07-01 10:43:27] local.INFO: Processing buffer {"connection_id":119711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c173da8012cfefd8007003f40000d012d27..."} 
[2026-07-01 10:43:27] local.INFO: Packet analysis {"connection_id":119711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c17"} 
[2026-07-01 10:43:27] local.INFO: Extracted packet for processing {"connection_id":119711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c17"} 
[2026-07-01 10:43:27] local.INFO: GPS Element Parsed {"raw_longitude":754908544,"raw_latitude":117456704,"longitude_deg":75.4908544,"latitude_deg":11.7456704,"altitude":13,"angle":301,"satellites":39,"speed":0,"hex_longitude":"2cfefd80","hex_latitude":"07003f40","is_valid_coordinates":true} 
[2026-07-01 10:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417969152001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:43:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206732509544448,"note":"Value kept but may cause issues"} 
[2026-07-01 10:43:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72761251410788352,"note":"Value kept but may cause issues"} 
[2026-07-01 10:43:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:43:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782882713000,"timestamp_ms":1782882713000,"timestamp_seconds":1782882713,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c173da8"} 
[2026-07-01 10:43:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:43: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-01 10:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-01 10:43:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10:43:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:43:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:43:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:43:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 10:43:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:43:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:43:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417969152001,"66":25299,"240":206,"94":10240,"24":0,"16":333206732509544448,"44":-72761251410788352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,94,24,16,44]} 
[2026-07-01 10:43:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:43:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:43:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417969152001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:43:27] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-07-01 10:43:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:43:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206732509544448,"km_value":333206732509544.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:43:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72761251410788352,"description":"Unknown IO ID 44"} 
[2026-07-01 10:43:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417969152001,"power":25299,"unknown_240":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-72761251410788352}} 
[2026-07-01 10:43:27] local.INFO: DEBUG: GPS processor result {"connection_id":119711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:43:27] local.INFO: GPS data processed {"connection_id":119711,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:43:27] local.INFO: Acknowledgment sent {"connection_id":119711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:43:58] local.INFO: TCP Data received {"connection_id":119711,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c178fb0012cfefd8007003f40000d012d24..."} 
[2026-07-01 10:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c178fb0012cfefd8007003f40000d012d24..."} 
[2026-07-01 10:43:58] local.INFO: Processing buffer {"connection_id":119711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c178fb0012cfefd8007003f40000d012d24..."} 
[2026-07-01 10:43:58] local.INFO: Packet analysis {"connection_id":119711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c17"} 
[2026-07-01 10:43:58] local.INFO: Extracted packet for processing {"connection_id":119711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c17"} 
[2026-07-01 10:43:58] local.INFO: GPS Element Parsed {"raw_longitude":754908544,"raw_latitude":117456704,"longitude_deg":75.4908544,"latitude_deg":11.7456704,"altitude":13,"angle":301,"satellites":36,"speed":0,"hex_longitude":"2cfefd80","hex_latitude":"07003f40","is_valid_coordinates":true} 
[2026-07-01 10:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417974528001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206732509544448,"note":"Value kept but may cause issues"} 
[2026-07-01 10:43:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72761251410788352,"note":"Value kept but may cause issues"} 
[2026-07-01 10:43:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782882734000,"timestamp_ms":1782882734000,"timestamp_seconds":1782882734,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c178fb0"} 
[2026-07-01 10:43:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:43:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 10:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-07-01 10:43: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-01 10:43:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:43:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:43:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 10:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417974528001,"66":24962,"240":206,"94":10240,"24":0,"16":333206732509544448,"44":-72761251410788352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,94,24,16,44]} 
[2026-07-01 10:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417974528001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:43:58] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-07-01 10:43:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:43:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206732509544448,"km_value":333206732509544.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:43:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72761251410788352,"description":"Unknown IO ID 44"} 
[2026-07-01 10:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417974528001,"power":24962,"unknown_240":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-72761251410788352}} 
[2026-07-01 10:43:58] local.INFO: DEBUG: GPS processor result {"connection_id":119711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:43:58] local.INFO: GPS data processed {"connection_id":119711,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:43:58] local.INFO: Acknowledgment sent {"connection_id":119711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:44:21] local.INFO: TCP Data received {"connection_id":118923,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:44:21] local.INFO: Processing buffer {"connection_id":118923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:44:21] local.INFO: IMEI packet received {"connection_id":118923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 10:44:21] local.INFO: IMEI acknowledgment sent {"connection_id":118923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:44:26] local.INFO: TCP Data received {"connection_id":118923,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:44:26] local.INFO: Processing buffer {"connection_id":118923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:44:26] local.INFO: IMEI packet received {"connection_id":118923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":118923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:44:27] local.INFO: TCP Data received {"connection_id":118923,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c17e1b8012cfefd8007003f40000d012d25..."} 
[2026-07-01 10:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c17e1b8012cfefd8007003f40000d012d25..."} 
[2026-07-01 10:44:27] local.INFO: Processing buffer {"connection_id":118923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c17e1b8012cfefd8007003f40000d012d25..."} 
[2026-07-01 10:44:27] local.INFO: Packet analysis {"connection_id":118923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c17"} 
[2026-07-01 10:44:27] local.INFO: Extracted packet for processing {"connection_id":118923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c17"} 
[2026-07-01 10:44:27] local.INFO: GPS Element Parsed {"raw_longitude":754908544,"raw_latitude":117456704,"longitude_deg":75.4908544,"latitude_deg":11.7456704,"altitude":13,"angle":301,"satellites":37,"speed":0,"hex_longitude":"2cfefd80","hex_latitude":"07003f40","is_valid_coordinates":true} 
[2026-07-01 10:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:44:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417979904001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:44:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206732509544448,"note":"Value kept but may cause issues"} 
[2026-07-01 10:44:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72761251410788352,"note":"Value kept but may cause issues"} 
[2026-07-01 10:44:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:44:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782882755000,"timestamp_ms":1782882755000,"timestamp_seconds":1782882755,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c17e1b8"} 
[2026-07-01 10:44:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:44: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-01 10:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-07-01 10:44:27] 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-01 10:44:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:44:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:44:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:44:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:44:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:44:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:44:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 10:44:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:44:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:44:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417979904001,"66":27615,"240":206,"94":10240,"24":0,"16":333206732509544448,"44":-72761251410788352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,94,24,16,44]} 
[2026-07-01 10:44:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:44:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:44:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417979904001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:44:27] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-07-01 10:44:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:44:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206732509544448,"km_value":333206732509544.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:44:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72761251410788352,"description":"Unknown IO ID 44"} 
[2026-07-01 10:44:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417979904001,"power":27615,"unknown_240":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-72761251410788352}} 
[2026-07-01 10:44:27] local.INFO: DEBUG: GPS processor result {"connection_id":118923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:44:27] local.INFO: GPS data processed {"connection_id":118923,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:44:27] local.INFO: Acknowledgment sent {"connection_id":118923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:44:58] local.INFO: TCP Data received {"connection_id":118923,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c1833c0012cfefd8007003f40000d012d23..."} 
[2026-07-01 10:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c1833c0012cfefd8007003f40000d012d23..."} 
[2026-07-01 10:44:58] local.INFO: Processing buffer {"connection_id":118923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c1833c0012cfefd8007003f40000d012d23..."} 
[2026-07-01 10:44:58] local.INFO: Packet analysis {"connection_id":118923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c18"} 
[2026-07-01 10:44:58] local.INFO: Extracted packet for processing {"connection_id":118923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c18"} 
[2026-07-01 10:44:58] local.INFO: GPS Element Parsed {"raw_longitude":754908544,"raw_latitude":117456704,"longitude_deg":75.4908544,"latitude_deg":11.7456704,"altitude":13,"angle":301,"satellites":35,"speed":0,"hex_longitude":"2cfefd80","hex_latitude":"07003f40","is_valid_coordinates":true} 
[2026-07-01 10: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-01 10:44:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417985280001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:44:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206732509544448,"note":"Value kept but may cause issues"} 
[2026-07-01 10:44:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72761251410788352,"note":"Value kept but may cause issues"} 
[2026-07-01 10:44:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:44:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782882776000,"timestamp_ms":1782882776000,"timestamp_seconds":1782882776,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c1833c0"} 
[2026-07-01 10: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-01 10:44:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 10: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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-01 10:44:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10: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-01 10: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-01 10:44:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:44:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:44:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:44:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:44:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 10:44:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:44:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:44:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417985280001,"66":27908,"141":206,"94":10240,"24":0,"16":333206732509544448,"44":-72761251410788352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:44:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:44:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:44:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417985280001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:44:58] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:44:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:44:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206732509544448,"km_value":333206732509544.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:44:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72761251410788352,"description":"Unknown IO ID 44"} 
[2026-07-01 10:44:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417985280001,"power":27908,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-72761251410788352}} 
[2026-07-01 10:44:58] local.INFO: DEBUG: GPS processor result {"connection_id":118923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:44:58] local.INFO: GPS data processed {"connection_id":118923,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:44:58] local.INFO: Acknowledgment sent {"connection_id":118923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:45:21] local.INFO: TCP Data received {"connection_id":119037,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:45:21] local.INFO: Processing buffer {"connection_id":119037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:45:21] local.INFO: IMEI packet received {"connection_id":119037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 10:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":119037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:45:26] local.INFO: TCP Data received {"connection_id":119037,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:45:26] local.INFO: Processing buffer {"connection_id":119037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:45:26] local.INFO: IMEI packet received {"connection_id":119037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":119037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:45:27] local.INFO: TCP Data received {"connection_id":119037,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c1885c8012cfefd8007003f40000d012d26..."} 
[2026-07-01 10:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c1885c8012cfefd8007003f40000d012d26..."} 
[2026-07-01 10:45:27] local.INFO: Processing buffer {"connection_id":119037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c1885c8012cfefd8007003f40000d012d26..."} 
[2026-07-01 10:45:27] local.INFO: Packet analysis {"connection_id":119037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c18"} 
[2026-07-01 10:45:27] local.INFO: Extracted packet for processing {"connection_id":119037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c18"} 
[2026-07-01 10:45:27] local.INFO: GPS Element Parsed {"raw_longitude":754908544,"raw_latitude":117456704,"longitude_deg":75.4908544,"latitude_deg":11.7456704,"altitude":13,"angle":301,"satellites":38,"speed":0,"hex_longitude":"2cfefd80","hex_latitude":"07003f40","is_valid_coordinates":true} 
[2026-07-01 10:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:45:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417990656001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:45:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206732509544448,"note":"Value kept but may cause issues"} 
[2026-07-01 10:45:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72761251410788352,"note":"Value kept but may cause issues"} 
[2026-07-01 10:45:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:45:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782882797000,"timestamp_ms":1782882797000,"timestamp_seconds":1782882797,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c1885c8"} 
[2026-07-01 10:45:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:45: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-01 10:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 10:45:27] 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-01 10:45:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:45:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:45:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:45:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:45:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:45:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:45:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 10:45:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:45:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:45:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417990656001,"66":28093,"141":206,"94":10240,"24":0,"16":333206732509544448,"44":-72761251410788352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:45:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:45:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:45:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417990656001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:45:27] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:45:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:45:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206732509544448,"km_value":333206732509544.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:45:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72761251410788352,"description":"Unknown IO ID 44"} 
[2026-07-01 10:45:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417990656001,"power":28093,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-72761251410788352}} 
[2026-07-01 10:45:27] local.INFO: DEBUG: GPS processor result {"connection_id":119037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:45:27] local.INFO: GPS data processed {"connection_id":119037,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:45:27] local.INFO: Acknowledgment sent {"connection_id":119037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:45:58] local.INFO: TCP Data received {"connection_id":119037,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c18d7d0012cfefd8007003f40000d012d22..."} 
[2026-07-01 10:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c18d7d0012cfefd8007003f40000d012d22..."} 
[2026-07-01 10:45:58] local.INFO: Processing buffer {"connection_id":119037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c18d7d0012cfefd8007003f40000d012d22..."} 
[2026-07-01 10:45:58] local.INFO: Packet analysis {"connection_id":119037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c18"} 
[2026-07-01 10:45:58] local.INFO: Extracted packet for processing {"connection_id":119037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c18"} 
[2026-07-01 10:45:58] local.INFO: GPS Element Parsed {"raw_longitude":754908544,"raw_latitude":117456704,"longitude_deg":75.4908544,"latitude_deg":11.7456704,"altitude":13,"angle":301,"satellites":34,"speed":0,"hex_longitude":"2cfefd80","hex_latitude":"07003f40","is_valid_coordinates":true} 
[2026-07-01 10:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:45:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417996032001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:45:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206732509544448,"note":"Value kept but may cause issues"} 
[2026-07-01 10:45:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72761251410788352,"note":"Value kept but may cause issues"} 
[2026-07-01 10:45:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:45:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782882818000,"timestamp_ms":1782882818000,"timestamp_seconds":1782882818,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c18d7d0"} 
[2026-07-01 10:45:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:45:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 10:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-07-01 10:45:58] 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-01 10:45:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:45:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:45:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:45:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:45:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:45:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:45:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 10:45:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:45:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:45:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417996032001,"66":28006,"141":206,"94":10240,"24":0,"16":333206732509544448,"44":-72761251410788352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:45:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:45:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:45:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417996032001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:45:58] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:45:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:45:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206732509544448,"km_value":333206732509544.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:45:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72761251410788352,"description":"Unknown IO ID 44"} 
[2026-07-01 10:45:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456417996032001,"power":28006,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-72761251410788352}} 
[2026-07-01 10:45:58] local.INFO: DEBUG: GPS processor result {"connection_id":119037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:45:58] local.INFO: GPS data processed {"connection_id":119037,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:45:58] local.INFO: Acknowledgment sent {"connection_id":119037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:46:21] local.INFO: TCP Data received {"connection_id":120799,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:46:21] local.INFO: Processing buffer {"connection_id":120799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:46:21] local.INFO: IMEI packet received {"connection_id":120799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 10:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":120799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:46:26] local.INFO: TCP Data received {"connection_id":120799,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:46:26] local.INFO: Processing buffer {"connection_id":120799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:46:26] local.INFO: IMEI packet received {"connection_id":120799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":120799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:46:27] local.INFO: TCP Data received {"connection_id":120799,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c1929d8012cfefb0007003f780012012527..."} 
[2026-07-01 10:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c1929d8012cfefb0007003f780012012527..."} 
[2026-07-01 10:46:27] local.INFO: Processing buffer {"connection_id":120799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c1929d8012cfefb0007003f780012012527..."} 
[2026-07-01 10:46:27] local.INFO: Packet analysis {"connection_id":120799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c19"} 
[2026-07-01 10:46:27] local.INFO: Extracted packet for processing {"connection_id":120799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c19"} 
[2026-07-01 10:46:27] local.INFO: GPS Element Parsed {"raw_longitude":754907904,"raw_latitude":117456760,"longitude_deg":75.4907904,"latitude_deg":11.745676,"altitude":18,"angle":293,"satellites":39,"speed":0,"hex_longitude":"2cfefb00","hex_latitude":"07003f78","is_valid_coordinates":true} 
[2026-07-01 10:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418001408001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:46:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206766869282816,"note":"Value kept but may cause issues"} 
[2026-07-01 10:46:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72761251410788352,"note":"Value kept but may cause issues"} 
[2026-07-01 10:46:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:46:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782882839000,"timestamp_ms":1782882839000,"timestamp_seconds":1782882839,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c1929d8"} 
[2026-07-01 10:46:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:46: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-01 10:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-01 10:46:27] 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-01 10:46:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:46:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:46:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:46:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:46:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:46:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:46:27] 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-01 10:46:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:46:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:46:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418001408001,"66":27974,"141":206,"94":10240,"24":0,"16":333206766869282816,"44":-72761251410788352},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:46:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:46:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:46:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418001408001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:46:27] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:46:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:46:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206766869282816,"km_value":333206766869282.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:46:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72761251410788352,"description":"Unknown IO ID 44"} 
[2026-07-01 10:46:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418001408001,"power":27974,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-72761251410788352}} 
[2026-07-01 10:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":120799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:46:27] local.INFO: GPS data processed {"connection_id":120799,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:46:27] local.INFO: Acknowledgment sent {"connection_id":120799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:46:58] local.INFO: TCP Data received {"connection_id":120799,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c194d00012cfefbc007003fa00012006425..."} 
[2026-07-01 10:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c194d00012cfefbc007003fa00012006425..."} 
[2026-07-01 10:46:58] local.INFO: Processing buffer {"connection_id":120799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c194d00012cfefbc007003fa00012006425..."} 
[2026-07-01 10:46:58] local.INFO: Packet analysis {"connection_id":120799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c19"} 
[2026-07-01 10:46:58] local.INFO: Extracted packet for processing {"connection_id":120799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c19"} 
[2026-07-01 10:46:58] local.INFO: GPS Element Parsed {"raw_longitude":754908096,"raw_latitude":117456800,"longitude_deg":75.4908096,"latitude_deg":11.74568,"altitude":18,"angle":100,"satellites":37,"speed":1,"hex_longitude":"2cfefbc0","hex_latitude":"07003fa0","is_valid_coordinates":true} 
[2026-07-01 10: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-01 10:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418006784001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:46:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206775459217408,"note":"Value kept but may cause issues"} 
[2026-07-01 10:46:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73464938852550656,"note":"Value kept but may cause issues"} 
[2026-07-01 10:46:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:46:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782882848000,"timestamp_ms":1782882848000,"timestamp_seconds":1782882848,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c194d00"} 
[2026-07-01 10: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-01 10:46:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 10: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-01 10:46:58] 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-01 10: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-01 10: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-01 10:46:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:46:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:46:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:46:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:46:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 10:46:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:46:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:46:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418006784001,"66":27887,"141":206,"94":10240,"24":1,"16":333206775459217408,"44":-73464938852550656},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:46:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:46:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:46:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418006784001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:46:58] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:46:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:46:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206775459217408,"km_value":333206775459217.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:46:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73464938852550656,"description":"Unknown IO ID 44"} 
[2026-07-01 10:46:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418006784001,"power":27887,"unknown_141":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_44":-73464938852550656}} 
[2026-07-01 10:46:58] local.INFO: DEBUG: GPS processor result {"connection_id":120799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:46:58] local.INFO: GPS data processed {"connection_id":120799,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:46:58] local.INFO: Acknowledgment sent {"connection_id":120799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:47:18] local.INFO: TCP Data received {"connection_id":119039,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:47:18] local.INFO: Processing buffer {"connection_id":119039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:47:18] local.INFO: IMEI packet received {"connection_id":119039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 10:47:18] local.INFO: IMEI acknowledgment sent {"connection_id":119039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:47:21] local.INFO: TCP Data received {"connection_id":119039,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:47:21] local.INFO: Processing buffer {"connection_id":119039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:47:21] local.INFO: IMEI packet received {"connection_id":119039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:47:21] local.INFO: IMEI acknowledgment sent {"connection_id":119039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:47:25] local.INFO: TCP Data received {"connection_id":119039,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:47:25] local.INFO: Processing buffer {"connection_id":119039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:47:25] local.INFO: IMEI packet received {"connection_id":119039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":119039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:47:26] local.INFO: TCP Data received {"connection_id":119039,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c199f08012cfefc4007003f780011006c23..."} 
[2026-07-01 10:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c199f08012cfefc4007003f780011006c23..."} 
[2026-07-01 10:47:26] local.INFO: Processing buffer {"connection_id":119039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c199f08012cfefc4007003f780011006c23..."} 
[2026-07-01 10:47:26] local.INFO: Packet analysis {"connection_id":119039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c19"} 
[2026-07-01 10:47:26] local.INFO: Extracted packet for processing {"connection_id":119039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c19"} 
[2026-07-01 10:47:26] local.INFO: GPS Element Parsed {"raw_longitude":754908224,"raw_latitude":117456760,"longitude_deg":75.4908224,"latitude_deg":11.745676,"altitude":17,"angle":108,"satellites":35,"speed":0,"hex_longitude":"2cfefc40","hex_latitude":"07003f78","is_valid_coordinates":true} 
[2026-07-01 10:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418009088001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206788344119296,"note":"Value kept but may cause issues"} 
[2026-07-01 10:47:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73253832620007424,"note":"Value kept but may cause issues"} 
[2026-07-01 10:47:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:47:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782882869000,"timestamp_ms":1782882869000,"timestamp_seconds":1782882869,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c199f08"} 
[2026-07-01 10:47:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:47:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 10:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-01 10:47:26] 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-01 10:47:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:47:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:47:26] 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-01 10:47:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:47:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418009088001,"66":27974,"141":206,"94":10240,"24":0,"16":333206788344119296,"44":-73253832620007424},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418009088001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:47:26] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:47:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206788344119296,"km_value":333206788344119.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:47:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73253832620007424,"description":"Unknown IO ID 44"} 
[2026-07-01 10:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418009088001,"power":27974,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73253832620007424}} 
[2026-07-01 10:47:27] local.INFO: DEBUG: GPS processor result {"connection_id":119039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:47:27] local.INFO: GPS data processed {"connection_id":119039,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:47:27] local.INFO: Acknowledgment sent {"connection_id":119039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:47:58] local.INFO: TCP Data received {"connection_id":119039,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c19f110012cfefc4007003f780011006c26..."} 
[2026-07-01 10:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c19f110012cfefc4007003f780011006c26..."} 
[2026-07-01 10:47:58] local.INFO: Processing buffer {"connection_id":119039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c19f110012cfefc4007003f780011006c26..."} 
[2026-07-01 10:47:58] local.INFO: Packet analysis {"connection_id":119039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c19"} 
[2026-07-01 10:47:58] local.INFO: Extracted packet for processing {"connection_id":119039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c19"} 
[2026-07-01 10:47:58] local.INFO: GPS Element Parsed {"raw_longitude":754908224,"raw_latitude":117456760,"longitude_deg":75.4908224,"latitude_deg":11.745676,"altitude":17,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2cfefc40","hex_latitude":"07003f78","is_valid_coordinates":true} 
[2026-07-01 10:47:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418014464001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:47:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206788344119296,"note":"Value kept but may cause issues"} 
[2026-07-01 10:47:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73113095131662336,"note":"Value kept but may cause issues"} 
[2026-07-01 10:47:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:47:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782882890000,"timestamp_ms":1782882890000,"timestamp_seconds":1782882890,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c19f110"} 
[2026-07-01 10:47:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:47:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 10:47:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-01 10:47:58] 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-01 10:47:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:47:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:47:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:47:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:47:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:47:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:47:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 10:47:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:47:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:47:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418014464001,"66":27865,"141":206,"94":10240,"24":0,"16":333206788344119296,"44":-73113095131662336},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:47:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:47:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:47:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418014464001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:47:58] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:47:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:47:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206788344119296,"km_value":333206788344119.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:47:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73113095131662336,"description":"Unknown IO ID 44"} 
[2026-07-01 10:47:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418014464001,"power":27865,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73113095131662336}} 
[2026-07-01 10:47:58] local.INFO: DEBUG: GPS processor result {"connection_id":119039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:47:58] local.INFO: GPS data processed {"connection_id":119039,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:47:58] local.INFO: Acknowledgment sent {"connection_id":119039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:48:27] local.INFO: TCP Data received {"connection_id":119713,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:48:27] local.INFO: Processing buffer {"connection_id":119713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:48:27] local.INFO: IMEI packet received {"connection_id":119713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 10:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":119713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:48:28] local.INFO: TCP Data received {"connection_id":119713,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:48:28] local.INFO: Processing buffer {"connection_id":119713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:48:28] local.INFO: IMEI packet received {"connection_id":119713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:48:28] local.INFO: IMEI acknowledgment sent {"connection_id":119713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:48:29] local.INFO: TCP Data received {"connection_id":119713,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c19f8e0012cfefc4007003f780011006c27..."} 
[2026-07-01 10:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c19f8e0012cfefc4007003f780011006c27..."} 
[2026-07-01 10:48:29] local.INFO: Processing buffer {"connection_id":119713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c19f8e0012cfefc4007003f780011006c27..."} 
[2026-07-01 10:48:29] local.INFO: Packet analysis {"connection_id":119713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c19"} 
[2026-07-01 10:48:29] local.INFO: Extracted packet for processing {"connection_id":119713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c19"} 
[2026-07-01 10:48:29] local.INFO: GPS Element Parsed {"raw_longitude":754908224,"raw_latitude":117456760,"longitude_deg":75.4908224,"latitude_deg":11.745676,"altitude":17,"angle":108,"satellites":39,"speed":0,"hex_longitude":"2cfefc40","hex_latitude":"07003f78","is_valid_coordinates":true} 
[2026-07-01 10:48: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-01 10:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418019840001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206788344119296,"note":"Value kept but may cause issues"} 
[2026-07-01 10:48:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73113095131662336,"note":"Value kept but may cause issues"} 
[2026-07-01 10:48:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782882892000,"timestamp_ms":1782882892000,"timestamp_seconds":1782882892,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c19f8e0"} 
[2026-07-01 10:48:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:48:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 10:48:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 10:48:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10:48:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:48:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":119713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":119713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":119713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:48:29] 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-01 10:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:48:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418019840001,"66":27930,"141":206,"94":10240,"24":0,"16":333206788344119296,"44":-73113095131662336},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:48:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:48:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:48:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418019840001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:48:29] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:48:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:48:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206788344119296,"km_value":333206788344119.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:48:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73113095131662336,"description":"Unknown IO ID 44"} 
[2026-07-01 10:48:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418019840001,"power":27930,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73113095131662336}} 
[2026-07-01 10:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":119713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:48:29] local.INFO: GPS data processed {"connection_id":119713,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:48:29] local.INFO: Acknowledgment sent {"connection_id":119713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:48:31] local.INFO: TCP Data received {"connection_id":119713,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c1af2e0012cfefa8007003f400011006c26..."} 
[2026-07-01 10:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c1af2e0012cfefa8007003f400011006c26..."} 
[2026-07-01 10:48:31] local.INFO: Processing buffer {"connection_id":119713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c1af2e0012cfefa8007003f400011006c26..."} 
[2026-07-01 10:48:31] local.INFO: Packet analysis {"connection_id":119713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c1a"} 
[2026-07-01 10:48:31] local.INFO: Extracted packet for processing {"connection_id":119713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c1a"} 
[2026-07-01 10:48:31] local.INFO: GPS Element Parsed {"raw_longitude":754907776,"raw_latitude":117456704,"longitude_deg":75.4907776,"latitude_deg":11.7456704,"altitude":17,"angle":108,"satellites":38,"speed":0,"hex_longitude":"2cfefa80","hex_latitude":"07003f40","is_valid_coordinates":true} 
[2026-07-01 10:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418020352001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206788344119296,"note":"Value kept but may cause issues"} 
[2026-07-01 10:48:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73113095131662336,"note":"Value kept but may cause issues"} 
[2026-07-01 10:48:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782882956000,"timestamp_ms":1782882956000,"timestamp_seconds":1782882956,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c1af2e0"} 
[2026-07-01 10:48:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:48:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 10:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-01 10:48:31] 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-01 10:48:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:48:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:48:31] 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-01 10:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418020352001,"66":26767,"141":206,"94":10240,"24":0,"16":333206788344119296,"44":-73113095131662336},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418020352001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:48:31] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:48:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:48:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206788344119296,"km_value":333206788344119.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:48:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73113095131662336,"description":"Unknown IO ID 44"} 
[2026-07-01 10:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418020352001,"power":26767,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73113095131662336}} 
[2026-07-01 10:48:31] local.INFO: DEBUG: GPS processor result {"connection_id":119713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:48:31] local.INFO: GPS data processed {"connection_id":119713,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:48:31] local.INFO: Acknowledgment sent {"connection_id":119713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:48:36] local.INFO: TCP Data received {"connection_id":118925,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 10:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118925,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 10:48:36] local.INFO: Processing buffer {"connection_id":118925,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 10:48:36] local.INFO: IMEI packet received {"connection_id":118925,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 10:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":118925,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:49:02] local.INFO: TCP Data received {"connection_id":119713,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c1b4cb8012cfefc4007003f780011006c20..."} 
[2026-07-01 10:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c1b4cb8012cfefc4007003f780011006c20..."} 
[2026-07-01 10:49:02] local.INFO: Processing buffer {"connection_id":119713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c1b4cb8012cfefc4007003f780011006c20..."} 
[2026-07-01 10:49:02] local.INFO: Packet analysis {"connection_id":119713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c1b"} 
[2026-07-01 10:49:02] local.INFO: Extracted packet for processing {"connection_id":119713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c1b"} 
[2026-07-01 10:49:02] local.INFO: GPS Element Parsed {"raw_longitude":754908224,"raw_latitude":117456760,"longitude_deg":75.4908224,"latitude_deg":11.745676,"altitude":17,"angle":108,"satellites":32,"speed":0,"hex_longitude":"2cfefc40","hex_latitude":"07003f78","is_valid_coordinates":true} 
[2026-07-01 10:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:49:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418036736001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:49:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333206788344119296,"note":"Value kept but may cause issues"} 
[2026-07-01 10:49:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73605676340920320,"note":"Value kept but may cause issues"} 
[2026-07-01 10:49:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:49:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782882979000,"timestamp_ms":1782882979000,"timestamp_seconds":1782882979,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c1b4cb8"} 
[2026-07-01 10:49:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:49:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 10:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":143,"data_length":795,"current_offset":136} 
[2026-07-01 10:49:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2005,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10:49:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:49:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:49:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:49:02] local.INFO: Teltonika packet parsed successfully {"connection_id":119713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:49:02] local.INFO: Passing IMEI to GPS processor {"connection_id":119713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:49:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":119713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:49:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 10:49:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:49:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:49:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418036736001,"66":28028,"141":206,"94":10240,"24":0,"16":333206788344119296,"44":-73605676340920320},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:49:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:49:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:49:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418036736001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:49:02] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:49:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:49:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333206788344119296,"km_value":333206788344119.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:49:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73605676340920320,"description":"Unknown IO ID 44"} 
[2026-07-01 10:49:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418036736001,"power":28028,"unknown_141":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_44":-73605676340920320}} 
[2026-07-01 10:49:02] local.INFO: DEBUG: GPS processor result {"connection_id":119713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:49:02] local.INFO: GPS data processed {"connection_id":119713,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:49:02] local.INFO: Acknowledgment sent {"connection_id":119713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:49:21] local.INFO: TCP Data received {"connection_id":119714,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:49:21] local.INFO: Processing buffer {"connection_id":119714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:49:21] local.INFO: IMEI packet received {"connection_id":119714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 10:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":119714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:49:26] local.INFO: TCP Data received {"connection_id":119714,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:49:26] local.INFO: Processing buffer {"connection_id":119714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:49:26] local.INFO: IMEI packet received {"connection_id":119714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":119714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:49:27] local.INFO: TCP Data received {"connection_id":119714,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c1d5440012cfeee4007004bb8000f015723..."} 
[2026-07-01 10:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c1d5440012cfeee4007004bb8000f015723..."} 
[2026-07-01 10:49:27] local.INFO: Processing buffer {"connection_id":119714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c1d5440012cfeee4007004bb8000f015723..."} 
[2026-07-01 10:49:27] local.INFO: Packet analysis {"connection_id":119714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c1d"} 
[2026-07-01 10:49:27] local.INFO: Extracted packet for processing {"connection_id":119714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c1d"} 
[2026-07-01 10:49:27] local.INFO: GPS Element Parsed {"raw_longitude":754904640,"raw_latitude":117459896,"longitude_deg":75.490464,"latitude_deg":11.7459896,"altitude":15,"angle":343,"satellites":35,"speed":8,"hex_longitude":"2cfeee40","hex_latitude":"07004bb8","is_valid_coordinates":true} 
[2026-07-01 10: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-01 10:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418076416001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333207024567320576,"note":"Value kept but may cause issues"} 
[2026-07-01 10:49:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-76983376060676096,"note":"Value kept but may cause issues"} 
[2026-07-01 10:49:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782883112000,"timestamp_ms":1782883112000,"timestamp_seconds":1782883112,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c1d5440"} 
[2026-07-01 10: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-01 10:49: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-01 10: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 10:49:27] 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-01 10: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-01 10: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-01 10:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:49:27] 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-01 10:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418076416001,"66":27821,"141":206,"94":10240,"24":8,"16":333207024567320576,"44":-76983376060676096},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418076416001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:49:27] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:49:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333207024567320576,"km_value":333207024567320.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:49:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-76983376060676096,"description":"Unknown IO ID 44"} 
[2026-07-01 10:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418076416001,"power":27821,"unknown_141":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_44":-76983376060676096}} 
[2026-07-01 10:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":119714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:49:27] local.INFO: GPS data processed {"connection_id":119714,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:49:27] local.INFO: Acknowledgment sent {"connection_id":119714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:49:35] local.INFO: TCP Data received {"connection_id":118926,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 10:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118926,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 10:49:35] local.INFO: Processing buffer {"connection_id":118926,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 10:49:35] local.INFO: IMEI packet received {"connection_id":118926,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 10:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":118926,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:50:02] local.INFO: TCP Data received {"connection_id":119714,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c1d5828012cfeee4007004ca0000f000623..."} 
[2026-07-01 10:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c1d5828012cfeee4007004ca0000f000623..."} 
[2026-07-01 10:50:02] local.INFO: Processing buffer {"connection_id":119714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c1d5828012cfeee4007004ca0000f000623..."} 
[2026-07-01 10:50:02] local.INFO: Packet analysis {"connection_id":119714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c1d"} 
[2026-07-01 10:50:02] local.INFO: Extracted packet for processing {"connection_id":119714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c1d"} 
[2026-07-01 10:50:02] local.INFO: GPS Element Parsed {"raw_longitude":754904640,"raw_latitude":117460128,"longitude_deg":75.490464,"latitude_deg":11.7460128,"altitude":15,"angle":6,"satellites":35,"speed":10,"hex_longitude":"2cfeee40","hex_latitude":"07004ca0","is_valid_coordinates":true} 
[2026-07-01 10:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418076672001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333207037452222464,"note":"Value kept but may cause issues"} 
[2026-07-01 10:50:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-77053744804808704,"note":"Value kept but may cause issues"} 
[2026-07-01 10:50:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782883113000,"timestamp_ms":1782883113000,"timestamp_seconds":1782883113,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c1d5828"} 
[2026-07-01 10:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:50:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 10:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 10:50:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10:50:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":119714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":119714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":119714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:50:02] 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-01 10:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418076672001,"66":27821,"141":206,"94":10240,"24":10,"16":333207037452222464,"44":-77053744804808704},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418076672001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:50:02] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:50:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333207037452222464,"km_value":333207037452222.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:50:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-77053744804808704,"description":"Unknown IO ID 44"} 
[2026-07-01 10:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418076672001,"power":27821,"unknown_141":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_44":-77053744804808704}} 
[2026-07-01 10:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":119714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:50:02] local.INFO: GPS data processed {"connection_id":119714,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:50:02] local.INFO: Acknowledgment sent {"connection_id":119714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:50:21] local.INFO: TCP Data received {"connection_id":120801,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:50:21] local.INFO: Processing buffer {"connection_id":120801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:50:21] local.INFO: IMEI packet received {"connection_id":120801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 10:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":120801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:50:26] local.INFO: TCP Data received {"connection_id":120801,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:50:26] local.INFO: Processing buffer {"connection_id":120801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:50:26] local.INFO: IMEI packet received {"connection_id":120801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":120801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:50:29] local.INFO: TCP Data received {"connection_id":120801,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c1d5c10012cfeeec007004da0000f001623..."} 
[2026-07-01 10:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c1d5c10012cfeeec007004da0000f001623..."} 
[2026-07-01 10:50:29] local.INFO: Processing buffer {"connection_id":120801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c1d5c10012cfeeec007004da0000f001623..."} 
[2026-07-01 10:50:29] local.INFO: Packet analysis {"connection_id":120801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c1d"} 
[2026-07-01 10:50:29] local.INFO: Extracted packet for processing {"connection_id":120801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c1d"} 
[2026-07-01 10:50:29] local.INFO: GPS Element Parsed {"raw_longitude":754904768,"raw_latitude":117460384,"longitude_deg":75.4904768,"latitude_deg":11.7460384,"altitude":15,"angle":22,"satellites":35,"speed":11,"hex_longitude":"2cfeeec0","hex_latitude":"07004da0","is_valid_coordinates":true} 
[2026-07-01 10: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-01 10:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418076928001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333207050337124352,"note":"Value kept but may cause issues"} 
[2026-07-01 10:50:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-77053744804749312,"note":"Value kept but may cause issues"} 
[2026-07-01 10:50:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782883114000,"timestamp_ms":1782883114000,"timestamp_seconds":1782883114,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c1d5c10"} 
[2026-07-01 10: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-01 10:50: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-01 10:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 10:50:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10: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-01 10: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-01 10:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":120801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":120801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":120801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:50:29] 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-01 10:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418076928001,"66":27865,"141":206,"94":10240,"24":11,"16":333207050337124352,"44":-77053744804749312},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,94,24,16,44]} 
[2026-07-01 10:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418076928001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:50:29] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-07-01 10:50:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333207050337124352,"km_value":333207050337124.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:50:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-77053744804749312,"description":"Unknown IO ID 44"} 
[2026-07-01 10:50:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418076928001,"power":27865,"unknown_141":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_44":-77053744804749312}} 
[2026-07-01 10:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":120801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:50:29] local.INFO: GPS data processed {"connection_id":120801,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:50:29] local.INFO: Acknowledgment sent {"connection_id":120801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:51:01] local.INFO: TCP Data received {"connection_id":120801,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c1e84f0012cfe9a0007009220000f012321..."} 
[2026-07-01 10:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c1e84f0012cfe9a0007009220000f012321..."} 
[2026-07-01 10:51:01] local.INFO: Processing buffer {"connection_id":120801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c1e84f0012cfe9a0007009220000f012321..."} 
[2026-07-01 10:51:01] local.INFO: Packet analysis {"connection_id":120801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c1e"} 
[2026-07-01 10:51:01] local.INFO: Extracted packet for processing {"connection_id":120801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c1e"} 
[2026-07-01 10:51:01] local.INFO: GPS Element Parsed {"raw_longitude":754883072,"raw_latitude":117477920,"longitude_deg":75.4883072,"latitude_deg":11.747792,"altitude":15,"angle":291,"satellites":33,"speed":31,"hex_longitude":"2cfe9a00","hex_latitude":"07009220","is_valid_coordinates":true} 
[2026-07-01 10:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:51:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418093312001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:51:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333208678129729536,"note":"Value kept but may cause issues"} 
[2026-07-01 10:51:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-90705281171482624,"note":"Value kept but may cause issues"} 
[2026-07-01 10:51:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:51:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782883190000,"timestamp_ms":1782883190000,"timestamp_seconds":1782883190,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c1e84f0"} 
[2026-07-01 10:51:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:51:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 10:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 10:51:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10:51:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:51:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:51:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:51:01] local.INFO: Teltonika packet parsed successfully {"connection_id":120801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:51:01] local.INFO: Passing IMEI to GPS processor {"connection_id":120801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:51:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":120801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:51:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 10:51:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:51:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:51:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418093312001,"66":27789,"142":206,"94":10240,"24":31,"16":333208678129729536,"44":-90705281171482624},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,94,24,16,44]} 
[2026-07-01 10:51:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:51:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:51:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418093312001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:51:01] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-07-01 10:51:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:51:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333208678129729536,"km_value":333208678129729.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:51:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-90705281171482624,"description":"Unknown IO ID 44"} 
[2026-07-01 10:51:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418093312001,"power":27789,"unknown_142":206,"unknown_94":10240,"ignition":31,"odometer":null,"unknown_44":-90705281171482624}} 
[2026-07-01 10:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":120801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:51:01] local.INFO: GPS data processed {"connection_id":120801,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:51:01] local.INFO: Acknowledgment sent {"connection_id":120801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:51:21] local.INFO: TCP Data received {"connection_id":118928,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:51:21] local.INFO: Processing buffer {"connection_id":118928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:51:21] local.INFO: IMEI packet received {"connection_id":118928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 10:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":118928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:51:25] local.INFO: TCP Data received {"connection_id":118928,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:51:25] local.INFO: Processing buffer {"connection_id":118928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:51:25] local.INFO: IMEI packet received {"connection_id":118928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":118928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:51:26] local.INFO: TCP Data received {"connection_id":118928,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:51:26] local.INFO: Processing buffer {"connection_id":118928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:51:26] local.INFO: IMEI packet received {"connection_id":118928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":118928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:51:26] local.INFO: TCP Data received {"connection_id":118928,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c1eac00012cfe8900070099e0000f012f25..."} 
[2026-07-01 10:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c1eac00012cfe8900070099e0000f012f25..."} 
[2026-07-01 10:51:26] local.INFO: Processing buffer {"connection_id":118928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c1eac00012cfe8900070099e0000f012f25..."} 
[2026-07-01 10:51:26] local.INFO: Packet analysis {"connection_id":118928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c1e"} 
[2026-07-01 10:51:26] local.INFO: Extracted packet for processing {"connection_id":118928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c1e"} 
[2026-07-01 10:51:26] local.INFO: GPS Element Parsed {"raw_longitude":754878720,"raw_latitude":117479904,"longitude_deg":75.487872,"latitude_deg":11.7479904,"altitude":15,"angle":303,"satellites":37,"speed":15,"hex_longitude":"2cfe8900","hex_latitude":"070099e0","is_valid_coordinates":true} 
[2026-07-01 10:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418096640001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333208905762996224,"note":"Value kept but may cause issues"} 
[2026-07-01 10:51:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-100768011588067328,"note":"Value kept but may cause issues"} 
[2026-07-01 10:51:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782883200000,"timestamp_ms":1782883200000,"timestamp_seconds":1782883200,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c1eac00"} 
[2026-07-01 10:51:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:51:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 10:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-01 10:51:26] 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-01 10:51:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:51:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":118928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":118928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":118928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:51:26] 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-01 10:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418096640001,"66":27767,"142":206,"94":10240,"24":15,"16":333208905762996224,"44":-100768011588067328},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,94,24,16,44]} 
[2026-07-01 10:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418096640001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:51:26] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-07-01 10:51:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333208905762996224,"km_value":333208905762996.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:51:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-100768011588067328,"description":"Unknown IO ID 44"} 
[2026-07-01 10:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418096640001,"power":27767,"unknown_142":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_44":-100768011588067328}} 
[2026-07-01 10:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":118928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:51:26] local.INFO: GPS data processed {"connection_id":118928,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:51:26] local.INFO: Acknowledgment sent {"connection_id":118928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:51:28] local.INFO: TCP Data received {"connection_id":118928,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c1efe08012cfe78000700a730000d013428..."} 
[2026-07-01 10:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c1efe08012cfe78000700a730000d013428..."} 
[2026-07-01 10:51:28] local.INFO: Processing buffer {"connection_id":118928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c1efe08012cfe78000700a730000d013428..."} 
[2026-07-01 10:51:28] local.INFO: Packet analysis {"connection_id":118928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c1e"} 
[2026-07-01 10:51:28] local.INFO: Extracted packet for processing {"connection_id":118928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c1e"} 
[2026-07-01 10:51:28] local.INFO: GPS Element Parsed {"raw_longitude":754874368,"raw_latitude":117483312,"longitude_deg":75.4874368,"latitude_deg":11.7483312,"altitude":13,"angle":308,"satellites":40,"speed":18,"hex_longitude":"2cfe7800","hex_latitude":"0700a730","is_valid_coordinates":true} 
[2026-07-01 10:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418099200001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333209167756001280,"note":"Value kept but may cause issues"} 
[2026-07-01 10:51:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-105553086191640576,"note":"Value kept but may cause issues"} 
[2026-07-01 10:51:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:51:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782883221000,"timestamp_ms":1782883221000,"timestamp_seconds":1782883221,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c1efe08"} 
[2026-07-01 10:51:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:51: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-01 10:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 10:51:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10:51:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:51:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":118928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":118928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":118928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:51:28] 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-01 10:51:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:51:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:51:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418099200001,"66":27800,"85":206,"94":10240,"24":18,"16":333209167756001280,"44":-105553086191640576},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,94,24,16,44]} 
[2026-07-01 10:51:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:51:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418099200001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:51:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-07-01 10:51:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333209167756001280,"km_value":333209167756001.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:51:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-105553086191640576,"description":"Unknown IO ID 44"} 
[2026-07-01 10:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418099200001,"power":27800,"unknown_85":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_44":-105553086191640576}} 
[2026-07-01 10:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":118928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:51:28] local.INFO: GPS data processed {"connection_id":118928,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:51:28] local.INFO: Acknowledgment sent {"connection_id":118928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:51:59] local.INFO: TCP Data received {"connection_id":118928,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c1f2900012cfe68800700b5b8000c014127..."} 
[2026-07-01 10:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c1f2900012cfe68800700b5b8000c014127..."} 
[2026-07-01 10:51:59] local.INFO: Processing buffer {"connection_id":118928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c1f2900012cfe68800700b5b8000c014127..."} 
[2026-07-01 10:51:59] local.INFO: Packet analysis {"connection_id":118928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c1f"} 
[2026-07-01 10:51:59] local.INFO: Extracted packet for processing {"connection_id":118928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c1f"} 
[2026-07-01 10:51:59] local.INFO: GPS Element Parsed {"raw_longitude":754870400,"raw_latitude":117487032,"longitude_deg":75.48704,"latitude_deg":11.7487032,"altitude":12,"angle":321,"satellites":39,"speed":22,"hex_longitude":"2cfe6880","hex_latitude":"0700b5b8","is_valid_coordinates":true} 
[2026-07-01 10:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418104576001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333209429749006336,"note":"Value kept but may cause issues"} 
[2026-07-01 10:51:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-110338160794849280,"note":"Value kept but may cause issues"} 
[2026-07-01 10:51:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782883232000,"timestamp_ms":1782883232000,"timestamp_seconds":1782883232,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c1f2900"} 
[2026-07-01 10:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:51: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-01 10:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 10:51:59] 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-01 10:51:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:51:59] 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-01 10:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418104576001,"66":27930,"142":206,"94":10240,"24":22,"16":333209429749006336,"44":-110338160794849280},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,94,24,16,44]} 
[2026-07-01 10:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418104576001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:52:00] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-07-01 10:52:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333209429749006336,"km_value":333209429749006.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:52:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-110338160794849280,"description":"Unknown IO ID 44"} 
[2026-07-01 10:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418104576001,"power":27930,"unknown_142":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_44":-110338160794849280}} 
[2026-07-01 10:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":118928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:52:00] local.INFO: GPS data processed {"connection_id":118928,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:52:00] local.INFO: Acknowledgment sent {"connection_id":118928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:52:22] local.INFO: TCP Data received {"connection_id":119040,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:52:22] local.INFO: Processing buffer {"connection_id":119040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:52:22] local.INFO: IMEI packet received {"connection_id":119040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 10:52:22] local.INFO: IMEI acknowledgment sent {"connection_id":119040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:52:26] local.INFO: TCP Data received {"connection_id":119040,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:52:26] local.INFO: Processing buffer {"connection_id":119040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:52:26] local.INFO: IMEI packet received {"connection_id":119040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":119040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:52:31] local.INFO: TCP Data received {"connection_id":119040,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:52:31] local.INFO: Processing buffer {"connection_id":119040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:52:31] local.INFO: IMEI packet received {"connection_id":119040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":119040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:52:32] local.INFO: TCP Data received {"connection_id":119040,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c1fffd8012cfe57c007011618000b016327..."} 
[2026-07-01 10:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c1fffd8012cfe57c007011618000b016327..."} 
[2026-07-01 10:52:32] local.INFO: Processing buffer {"connection_id":119040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c1fffd8012cfe57c007011618000b016327..."} 
[2026-07-01 10:52:32] local.INFO: Packet analysis {"connection_id":119040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c1f"} 
[2026-07-01 10:52:32] local.INFO: Extracted packet for processing {"connection_id":119040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c1f"} 
[2026-07-01 10:52:32] local.INFO: GPS Element Parsed {"raw_longitude":754866112,"raw_latitude":117511704,"longitude_deg":75.4866112,"latitude_deg":11.7511704,"altitude":11,"angle":355,"satellites":39,"speed":21,"hex_longitude":"2cfe57c0","hex_latitude":"07011618","is_valid_coordinates":true} 
[2026-07-01 10:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418120192001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333210838498279424,"note":"Value kept but may cause issues"} 
[2026-07-01 10:52:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-119767572508069888,"note":"Value kept but may cause issues"} 
[2026-07-01 10:52:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782883287000,"timestamp_ms":1782883287000,"timestamp_seconds":1782883287,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c1fffd8"} 
[2026-07-01 10:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:52:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 10:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 10:52: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-01 10:52:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":119040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":119040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":119040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 10:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418120192001,"66":27887,"61":206,"94":10240,"24":21,"16":333210838498279424,"44":-119767572508069888},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,94,24,16,44]} 
[2026-07-01 10:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418120192001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:52:32] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 10:52:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333210838498279424,"km_value":333210838498279.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:52:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-119767572508069888,"description":"Unknown IO ID 44"} 
[2026-07-01 10:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418120192001,"power":27887,"unknown_61":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_44":-119767572508069888}} 
[2026-07-01 10:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":119040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:52:32] local.INFO: GPS data processed {"connection_id":119040,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:52:32] local.INFO: Acknowledgment sent {"connection_id":119040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:52:33] local.INFO: TCP Data received {"connection_id":119040,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c2007a8012cfe568007011a48000c014b26..."} 
[2026-07-01 10:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c2007a8012cfe568007011a48000c014b26..."} 
[2026-07-01 10:52:33] local.INFO: Processing buffer {"connection_id":119040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c2007a8012cfe568007011a48000c014b26..."} 
[2026-07-01 10:52:33] local.INFO: Packet analysis {"connection_id":119040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c20"} 
[2026-07-01 10:52:33] local.INFO: Extracted packet for processing {"connection_id":119040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c20"} 
[2026-07-01 10:52:33] local.INFO: GPS Element Parsed {"raw_longitude":754865792,"raw_latitude":117512776,"longitude_deg":75.4865792,"latitude_deg":11.7512776,"altitude":12,"angle":331,"satellites":38,"speed":24,"hex_longitude":"2cfe5680","hex_latitude":"07011a48","is_valid_coordinates":true} 
[2026-07-01 10: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-01 10:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418121472001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333210894332854272,"note":"Value kept but may cause issues"} 
[2026-07-01 10:52:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-119415728786499584,"note":"Value kept but may cause issues"} 
[2026-07-01 10:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782883289000,"timestamp_ms":1782883289000,"timestamp_seconds":1782883289,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c2007a8"} 
[2026-07-01 10: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-01 10:52: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-01 10: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-01 10:52:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10: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-01 10: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-01 10:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":119040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":119040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":119040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:52:33] 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-01 10:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418121472001,"66":27821,"61":206,"94":10240,"24":24,"16":333210894332854272,"44":-119415728786499584},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,94,24,16,44]} 
[2026-07-01 10:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418121472001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:52:33] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 10:52:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333210894332854272,"km_value":333210894332854.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:52:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-119415728786499584,"description":"Unknown IO ID 44"} 
[2026-07-01 10:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418121472001,"power":27821,"unknown_61":206,"unknown_94":10240,"ignition":24,"odometer":null,"unknown_44":-119415728786499584}} 
[2026-07-01 10:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":119040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:52:33] local.INFO: GPS data processed {"connection_id":119040,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:52:33] local.INFO: Acknowledgment sent {"connection_id":119040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:53:05] local.INFO: TCP Data received {"connection_id":119040,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c201360012cfe51c007012068000b013e28..."} 
[2026-07-01 10:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c201360012cfe51c007012068000b013e28..."} 
[2026-07-01 10:53:05] local.INFO: Processing buffer {"connection_id":119040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c201360012cfe51c007012068000b013e28..."} 
[2026-07-01 10:53:05] local.INFO: Packet analysis {"connection_id":119040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c20"} 
[2026-07-01 10:53:05] local.INFO: Extracted packet for processing {"connection_id":119040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c20"} 
[2026-07-01 10:53:05] local.INFO: GPS Element Parsed {"raw_longitude":754864576,"raw_latitude":117514344,"longitude_deg":75.4864576,"latitude_deg":11.7514344,"altitude":11,"angle":318,"satellites":40,"speed":27,"hex_longitude":"2cfe51c0","hex_latitude":"07012068","is_valid_coordinates":true} 
[2026-07-01 10:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418121984001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333210988822134784,"note":"Value kept but may cause issues"} 
[2026-07-01 10:53:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-119767572507113472,"note":"Value kept but may cause issues"} 
[2026-07-01 10:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782883292000,"timestamp_ms":1782883292000,"timestamp_seconds":1782883292,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c201360"} 
[2026-07-01 10:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:53:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 10:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 10:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10:53:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":119040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":119040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":119040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:53:05] 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-01 10:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418121984001,"66":27843,"61":206,"94":10240,"24":27,"16":333210988822134784,"44":-119767572507113472},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,94,24,16,44]} 
[2026-07-01 10:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418121984001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:53:05] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 10:53:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333210988822134784,"km_value":333210988822134.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:53:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-119767572507113472,"description":"Unknown IO ID 44"} 
[2026-07-01 10:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418121984001,"power":27843,"unknown_61":206,"unknown_94":10240,"ignition":27,"odometer":null,"unknown_44":-119767572507113472}} 
[2026-07-01 10:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":119040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:53:05] local.INFO: GPS data processed {"connection_id":119040,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:53:05] local.INFO: Acknowledgment sent {"connection_id":119040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:53:21] local.INFO: TCP Data received {"connection_id":120803,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:53:21] local.INFO: Processing buffer {"connection_id":120803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:53:21] local.INFO: IMEI packet received {"connection_id":120803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 10:53:21] local.INFO: IMEI acknowledgment sent {"connection_id":120803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:53:23] local.INFO: TCP Data received {"connection_id":120803,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:53:23] local.INFO: Processing buffer {"connection_id":120803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:53:23] local.INFO: IMEI packet received {"connection_id":120803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":120803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:53:24] local.INFO: TCP Data received {"connection_id":120803,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c204240012cfe390007013a98000c013e26..."} 
[2026-07-01 10:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c204240012cfe390007013a98000c013e26..."} 
[2026-07-01 10:53:24] local.INFO: Processing buffer {"connection_id":120803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c204240012cfe390007013a98000c013e26..."} 
[2026-07-01 10:53:24] local.INFO: Packet analysis {"connection_id":120803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c20"} 
[2026-07-01 10:53:24] local.INFO: Extracted packet for processing {"connection_id":120803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c20"} 
[2026-07-01 10:53:24] local.INFO: GPS Element Parsed {"raw_longitude":754858240,"raw_latitude":117521048,"longitude_deg":75.485824,"latitude_deg":11.7521048,"altitude":12,"angle":318,"satellites":38,"speed":32,"hex_longitude":"2cfe3900","hex_latitude":"07013a98","is_valid_coordinates":true} 
[2026-07-01 10:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:53:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418122752001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:53:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333211431203766272,"note":"Value kept but may cause issues"} 
[2026-07-01 10:53:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-121104578646087680,"note":"Value kept but may cause issues"} 
[2026-07-01 10:53:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:53:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782883304000,"timestamp_ms":1782883304000,"timestamp_seconds":1782883304,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c204240"} 
[2026-07-01 10:53:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:53:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 10:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 10:53:24] 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-01 10:53:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:53:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:53:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:53:24] local.INFO: Teltonika packet parsed successfully {"connection_id":120803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:53:24] local.INFO: Passing IMEI to GPS processor {"connection_id":120803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:53:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":120803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:53:24] 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-01 10:53:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:53:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:53:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418122752001,"66":27691,"62":206,"94":10240,"24":32,"16":333211431203766272,"44":-121104578646087680},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,94,24,16,44]} 
[2026-07-01 10:53:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:53:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:53:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418122752001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:53:24] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-07-01 10:53:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:53:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333211431203766272,"km_value":333211431203766.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:53:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-121104578646087680,"description":"Unknown IO ID 44"} 
[2026-07-01 10:53:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418122752001,"power":27691,"unknown_62":206,"unknown_94":10240,"ignition":32,"odometer":null,"unknown_44":-121104578646087680}} 
[2026-07-01 10:53:24] local.INFO: DEBUG: GPS processor result {"connection_id":120803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:53:24] local.INFO: GPS data processed {"connection_id":120803,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:53:24] local.INFO: Acknowledgment sent {"connection_id":120803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:53:26] local.INFO: TCP Data received {"connection_id":120803,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c206d38012cfe208007015710000b013e26..."} 
[2026-07-01 10:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c206d38012cfe208007015710000b013e26..."} 
[2026-07-01 10:53:26] local.INFO: Processing buffer {"connection_id":120803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c206d38012cfe208007015710000b013e26..."} 
[2026-07-01 10:53:26] local.INFO: Packet analysis {"connection_id":120803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c20"} 
[2026-07-01 10:53:26] local.INFO: Extracted packet for processing {"connection_id":120803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c20"} 
[2026-07-01 10:53:26] local.INFO: GPS Element Parsed {"raw_longitude":754851968,"raw_latitude":117528336,"longitude_deg":75.4851968,"latitude_deg":11.7528336,"altitude":11,"angle":318,"satellites":38,"speed":26,"hex_longitude":"2cfe2080","hex_latitude":"07015710","is_valid_coordinates":true} 
[2026-07-01 10:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418125824001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333211895060234240,"note":"Value kept but may cause issues"} 
[2026-07-01 10:53:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-128071084317960192,"note":"Value kept but may cause issues"} 
[2026-07-01 10:53:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782883315000,"timestamp_ms":1782883315000,"timestamp_seconds":1782883315,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c206d38"} 
[2026-07-01 10:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:53:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 10:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-01 10:53:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10:53:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":120803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":120803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":120803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:53:26] 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-01 10:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418125824001,"66":27767,"62":206,"94":10240,"24":26,"16":333211895060234240,"44":-128071084317960192},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,94,24,16,44]} 
[2026-07-01 10:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418125824001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:53:26] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-07-01 10:53:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333211895060234240,"km_value":333211895060234.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:53:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-128071084317960192,"description":"Unknown IO ID 44"} 
[2026-07-01 10:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418125824001,"power":27767,"unknown_62":206,"unknown_94":10240,"ignition":26,"odometer":null,"unknown_44":-128071084317960192}} 
[2026-07-01 10:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":120803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:53:26] local.INFO: GPS data processed {"connection_id":120803,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:53:26] local.INFO: Acknowledgment sent {"connection_id":120803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:53:57] local.INFO: TCP Data received {"connection_id":120803,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c20b770012cfe094007017190000c014025..."} 
[2026-07-01 10:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c20b770012cfe094007017190000c014025..."} 
[2026-07-01 10:53:57] local.INFO: Processing buffer {"connection_id":120803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c20b770012cfe094007017190000c014025..."} 
[2026-07-01 10:53:57] local.INFO: Packet analysis {"connection_id":120803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c20"} 
[2026-07-01 10:53:57] local.INFO: Extracted packet for processing {"connection_id":120803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c20"} 
[2026-07-01 10:53:57] local.INFO: GPS Element Parsed {"raw_longitude":754846016,"raw_latitude":117535120,"longitude_deg":75.4846016,"latitude_deg":11.753512,"altitude":12,"angle":320,"satellites":37,"speed":27,"hex_longitude":"2cfe0940","hex_latitude":"07017190","is_valid_coordinates":true} 
[2026-07-01 10:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:53:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418128640001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:53:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333212328851931136,"note":"Value kept but may cause issues"} 
[2026-07-01 10:53:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-134967221245505536,"note":"Value kept but may cause issues"} 
[2026-07-01 10:53:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:53:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782883334000,"timestamp_ms":1782883334000,"timestamp_seconds":1782883334,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c20b770"} 
[2026-07-01 10:53:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:53:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 10:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 10:53:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10:53:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:53:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:53:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:53:57] local.INFO: Teltonika packet parsed successfully {"connection_id":120803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:53:57] local.INFO: Passing IMEI to GPS processor {"connection_id":120803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:53:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":120803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:53: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-01 10:53:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:53:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:53:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418128640001,"66":27843,"62":206,"94":10240,"24":27,"16":333212328851931136,"44":-134967221245505536},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,94,24,16,44]} 
[2026-07-01 10:53:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:53:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:53:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418128640001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:53:57] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-07-01 10:53:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:53:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333212328851931136,"km_value":333212328851931.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:53:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-134967221245505536,"description":"Unknown IO ID 44"} 
[2026-07-01 10:53:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418128640001,"power":27843,"unknown_62":206,"unknown_94":10240,"ignition":27,"odometer":null,"unknown_44":-134967221245505536}} 
[2026-07-01 10:53:57] local.INFO: DEBUG: GPS processor result {"connection_id":120803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:53:57] local.INFO: GPS data processed {"connection_id":120803,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:53:57] local.INFO: Acknowledgment sent {"connection_id":120803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:54:19] local.INFO: TCP Data received {"connection_id":119716,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:54:19] local.INFO: Processing buffer {"connection_id":119716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:54:19] local.INFO: IMEI packet received {"connection_id":119716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 10:54:19] local.INFO: IMEI acknowledgment sent {"connection_id":119716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:54:21] local.INFO: TCP Data received {"connection_id":119716,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:54:21] local.INFO: Processing buffer {"connection_id":119716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:54:21] local.INFO: IMEI packet received {"connection_id":119716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:54:21] local.INFO: IMEI acknowledgment sent {"connection_id":119716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:54:34] local.INFO: TCP Data received {"connection_id":119716,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:54:34] local.INFO: Processing buffer {"connection_id":119716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:54:34] local.INFO: IMEI packet received {"connection_id":119716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":119716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:54:38] local.INFO: TCP Data received {"connection_id":119716,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c20d2c8012cfdfa4007017fe0000f013127..."} 
[2026-07-01 10:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c20d2c8012cfdfa4007017fe0000f013127..."} 
[2026-07-01 10:54:38] local.INFO: Processing buffer {"connection_id":119716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c20d2c8012cfdfa4007017fe0000f013127..."} 
[2026-07-01 10:54:38] local.INFO: Packet analysis {"connection_id":119716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c20"} 
[2026-07-01 10:54:38] local.INFO: Extracted packet for processing {"connection_id":119716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c20"} 
[2026-07-01 10:54:38] local.INFO: GPS Element Parsed {"raw_longitude":754842176,"raw_latitude":117538784,"longitude_deg":75.4842176,"latitude_deg":11.7538784,"altitude":15,"angle":305,"satellites":39,"speed":30,"hex_longitude":"2cfdfa40","hex_latitude":"07017fe0","is_valid_coordinates":true} 
[2026-07-01 10:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418133504001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333212582255001600,"note":"Value kept but may cause issues"} 
[2026-07-01 10:54:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-141511514452291584,"note":"Value kept but may cause issues"} 
[2026-07-01 10:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782883341000,"timestamp_ms":1782883341000,"timestamp_seconds":1782883341,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c20d2c8"} 
[2026-07-01 10:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 10:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 10:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":119716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":119716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":119716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 10:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418133504001,"66":27876,"62":206,"94":10240,"24":30,"16":333212582255001600,"44":-141511514452291584},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,94,24,16,44]} 
[2026-07-01 10:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418133504001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:54:38] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-07-01 10:54:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333212582255001600,"km_value":333212582255001.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:54:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-141511514452291584,"description":"Unknown IO ID 44"} 
[2026-07-01 10:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418133504001,"power":27876,"unknown_62":206,"unknown_94":10240,"ignition":30,"odometer":null,"unknown_44":-141511514452291584}} 
[2026-07-01 10:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":119716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:54:38] local.INFO: GPS data processed {"connection_id":119716,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:54:38] local.INFO: Acknowledgment sent {"connection_id":119716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:54:56] local.INFO: TCP Data received {"connection_id":118929,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 10:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118929,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 10:54:56] local.INFO: Processing buffer {"connection_id":118929,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 10:54:56] local.INFO: IMEI packet received {"connection_id":118929,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 10:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":118929,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:55:18] local.INFO: TCP Data received {"connection_id":119041,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 10:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119041,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 10:55:18] local.INFO: Processing buffer {"connection_id":119041,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 10:55:18] local.INFO: IMEI packet received {"connection_id":119041,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 10:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":119041,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:55:21] local.INFO: TCP Data received {"connection_id":120804,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:55:21] local.INFO: Processing buffer {"connection_id":120804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:55:21] local.INFO: IMEI packet received {"connection_id":120804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 10:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":120804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:55:23] local.INFO: TCP Data received {"connection_id":120804,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:55:23] local.INFO: Processing buffer {"connection_id":120804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:55:23] local.INFO: IMEI packet received {"connection_id":120804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:55:23] local.INFO: IMEI acknowledgment sent {"connection_id":120804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:55:24] local.INFO: TCP Data received {"connection_id":120804,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:55:24] local.INFO: Processing buffer {"connection_id":120804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:55:24] local.INFO: IMEI packet received {"connection_id":120804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":120804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:55:26] local.INFO: TCP Data received {"connection_id":120804,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:55:26] local.INFO: Processing buffer {"connection_id":120804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:55:26] local.INFO: IMEI packet received {"connection_id":120804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":120804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:55:27] local.INFO: TCP Data received {"connection_id":120804,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c226908012cfd51c0070233f8000d001224..."} 
[2026-07-01 10:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c226908012cfd51c0070233f8000d001224..."} 
[2026-07-01 10:55:27] local.INFO: Processing buffer {"connection_id":120804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c226908012cfd51c0070233f8000d001224..."} 
[2026-07-01 10:55:27] local.INFO: Packet analysis {"connection_id":120804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c22"} 
[2026-07-01 10:55:27] local.INFO: Extracted packet for processing {"connection_id":120804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c22"} 
[2026-07-01 10:55:27] local.INFO: GPS Element Parsed {"raw_longitude":754799040,"raw_latitude":117584888,"longitude_deg":75.479904,"latitude_deg":11.7584888,"altitude":13,"angle":18,"satellites":36,"speed":35,"hex_longitude":"2cfd51c0","hex_latitude":"070233f8","is_valid_coordinates":true} 
[2026-07-01 10:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418160896001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333216099833217024,"note":"Value kept but may cause issues"} 
[2026-07-01 10:55:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-194569547550259200,"note":"Value kept but may cause issues"} 
[2026-07-01 10:55:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782883445000,"timestamp_ms":1782883445000,"timestamp_seconds":1782883445,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c226908"} 
[2026-07-01 10:55:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:55: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-01 10:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-01 10:55:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10:55:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:55:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:55:27] 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-01 10:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418160896001,"66":27865,"206":206,"94":10240,"24":35,"16":333216099833217024,"44":-194569547550259200},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,94,24,16,44]} 
[2026-07-01 10:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418160896001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:55:27] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-07-01 10:55:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333216099833217024,"km_value":333216099833217.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:55:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-194569547550259200,"description":"Unknown IO ID 44"} 
[2026-07-01 10:55:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418160896001,"power":27865,"unknown_206":206,"unknown_94":10240,"ignition":35,"odometer":null,"unknown_44":-194569547550259200}} 
[2026-07-01 10:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":120804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:55:27] local.INFO: GPS data processed {"connection_id":120804,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:55:27] local.INFO: Acknowledgment sent {"connection_id":120804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:55:28] local.INFO: TCP Data received {"connection_id":120804,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c228c30012cfd5980070257380009000b23..."} 
[2026-07-01 10:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c228c30012cfd5980070257380009000b23..."} 
[2026-07-01 10:55:28] local.INFO: Processing buffer {"connection_id":120804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c228c30012cfd5980070257380009000b23..."} 
[2026-07-01 10:55:28] local.INFO: Packet analysis {"connection_id":120804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c22"} 
[2026-07-01 10:55:28] local.INFO: Extracted packet for processing {"connection_id":120804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c22"} 
[2026-07-01 10:55:28] local.INFO: GPS Element Parsed {"raw_longitude":754801024,"raw_latitude":117593912,"longitude_deg":75.4801024,"latitude_deg":11.7593912,"altitude":9,"angle":11,"satellites":35,"speed":44,"hex_longitude":"2cfd5980","hex_latitude":"07025738","is_valid_coordinates":true} 
[2026-07-01 10:55:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:55:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418161920001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:55:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333216546509815808,"note":"Value kept but may cause issues"} 
[2026-07-01 10:55:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-193162172665956352,"note":"Value kept but may cause issues"} 
[2026-07-01 10:55:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:55:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782883454000,"timestamp_ms":1782883454000,"timestamp_seconds":1782883454,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c228c30"} 
[2026-07-01 10:55:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:55: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-01 10:55:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 10:55:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10:55:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:55:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:55:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:55:28] local.INFO: Teltonika packet parsed successfully {"connection_id":120804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:55:28] local.INFO: Passing IMEI to GPS processor {"connection_id":120804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:55:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":120804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:55:28] 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-01 10:55:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:55:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:55:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418161920001,"66":27843,"206":206,"94":10240,"24":44,"16":333216546509815808,"44":-193162172665956352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,94,24,16,44]} 
[2026-07-01 10:55:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:55:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:55:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418161920001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:55:28] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-07-01 10:55:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:55:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333216546509815808,"km_value":333216546509815.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:55:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-193162172665956352,"description":"Unknown IO ID 44"} 
[2026-07-01 10:55:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418161920001,"power":27843,"unknown_206":206,"unknown_94":10240,"ignition":44,"odometer":null,"unknown_44":-193162172665956352}} 
[2026-07-01 10:55:28] local.INFO: DEBUG: GPS processor result {"connection_id":120804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:55:28] local.INFO: GPS data processed {"connection_id":120804,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:55:28] local.INFO: Acknowledgment sent {"connection_id":120804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:56:00] local.INFO: TCP Data received {"connection_id":120804,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c22ab70012cfd60c007027d200008000820..."} 
[2026-07-01 10:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c22ab70012cfd60c007027d200008000820..."} 
[2026-07-01 10:56:00] local.INFO: Processing buffer {"connection_id":120804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c22ab70012cfd60c007027d200008000820..."} 
[2026-07-01 10:56:00] local.INFO: Packet analysis {"connection_id":120804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c22"} 
[2026-07-01 10:56:00] local.INFO: Extracted packet for processing {"connection_id":120804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c22"} 
[2026-07-01 10:56:00] local.INFO: GPS Element Parsed {"raw_longitude":754802880,"raw_latitude":117603616,"longitude_deg":75.480288,"latitude_deg":11.7603616,"altitude":8,"angle":8,"satellites":32,"speed":51,"hex_longitude":"2cfd60c0","hex_latitude":"07027d20","is_valid_coordinates":true} 
[2026-07-01 10:56:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:56:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418164224001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:56:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333217023251185664,"note":"Value kept but may cause issues"} 
[2026-07-01 10:56:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-190980741594138624,"note":"Value kept but may cause issues"} 
[2026-07-01 10:56:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:56:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782883462000,"timestamp_ms":1782883462000,"timestamp_seconds":1782883462,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c22ab70"} 
[2026-07-01 10:56:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:56:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 10:56:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 10:56:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10:56:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:56:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:56:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:56:00] local.INFO: Teltonika packet parsed successfully {"connection_id":120804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:56:00] local.INFO: Passing IMEI to GPS processor {"connection_id":120804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:56:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":120804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:56:00] 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-01 10:56:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:56:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:56:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418164224001,"66":27865,"80":206,"94":10240,"24":51,"16":333217023251185664,"44":-190980741594138624},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,94,24,16,44]} 
[2026-07-01 10:56:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:56:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:56:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418164224001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:56:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-07-01 10:56:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:56:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333217023251185664,"km_value":333217023251185.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:56:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-190980741594138624,"description":"Unknown IO ID 44"} 
[2026-07-01 10:56:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418164224001,"power":27865,"unknown_80":206,"unknown_94":10240,"ignition":51,"odometer":null,"unknown_44":-190980741594138624}} 
[2026-07-01 10:56:00] local.INFO: DEBUG: GPS processor result {"connection_id":120804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:56:00] local.INFO: GPS data processed {"connection_id":120804,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:56:00] local.INFO: Acknowledgment sent {"connection_id":120804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:56:21] local.INFO: TCP Data received {"connection_id":119718,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:56:21] local.INFO: Processing buffer {"connection_id":119718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:56:21] local.INFO: IMEI packet received {"connection_id":119718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 10:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":119718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:56:26] local.INFO: TCP Data received {"connection_id":119718,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:56:26] local.INFO: Processing buffer {"connection_id":119718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:56:26] local.INFO: IMEI packet received {"connection_id":119718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":119718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:56:28] local.INFO: TCP Data received {"connection_id":119718,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c239da0012cfd184007036df80007012f29..."} 
[2026-07-01 10:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c239da0012cfd184007036df80007012f29..."} 
[2026-07-01 10:56:28] local.INFO: Processing buffer {"connection_id":119718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c239da0012cfd184007036df80007012f29..."} 
[2026-07-01 10:56:28] local.INFO: Packet analysis {"connection_id":119718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c23"} 
[2026-07-01 10:56:28] local.INFO: Extracted packet for processing {"connection_id":119718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c23"} 
[2026-07-01 10:56:28] local.INFO: GPS Element Parsed {"raw_longitude":754784320,"raw_latitude":117665272,"longitude_deg":75.478432,"latitude_deg":11.7665272,"altitude":7,"angle":303,"satellites":41,"speed":45,"hex_longitude":"2cfd1840","hex_latitude":"07036df8","is_valid_coordinates":true} 
[2026-07-01 10:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418181376001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:56:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333220313196134400,"note":"Value kept but may cause issues"} 
[2026-07-01 10:56:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-206602602783850496,"note":"Value kept but may cause issues"} 
[2026-07-01 10:56:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:56:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782883524000,"timestamp_ms":1782883524000,"timestamp_seconds":1782883524,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c239da0"} 
[2026-07-01 10:56:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:56: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-01 10:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 10:56:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10:56:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:56:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:56:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:56:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:56:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:56:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:56:28] 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-01 10:56:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:56:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:56:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418181376001,"66":27789,"80":206,"94":10240,"24":45,"16":333220313196134400,"44":-206602602783850496},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,94,24,16,44]} 
[2026-07-01 10:56:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:56:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:56:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418181376001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:56:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-07-01 10:56:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:56:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333220313196134400,"km_value":333220313196134.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:56:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-206602602783850496,"description":"Unknown IO ID 44"} 
[2026-07-01 10:56:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418181376001,"power":27789,"unknown_80":206,"unknown_94":10240,"ignition":45,"odometer":null,"unknown_44":-206602602783850496}} 
[2026-07-01 10:56:28] local.INFO: DEBUG: GPS processor result {"connection_id":119718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:56:28] local.INFO: GPS data processed {"connection_id":119718,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:56:28] local.INFO: Acknowledgment sent {"connection_id":119718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:57:01] local.INFO: TCP Data received {"connection_id":119718,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c23a570012cfd1000070371e80007012328..."} 
[2026-07-01 10:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c23a570012cfd1000070371e80007012328..."} 
[2026-07-01 10:57:01] local.INFO: Processing buffer {"connection_id":119718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c23a570012cfd1000070371e80007012328..."} 
[2026-07-01 10:57:01] local.INFO: Packet analysis {"connection_id":119718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c23"} 
[2026-07-01 10:57:01] local.INFO: Extracted packet for processing {"connection_id":119718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c23"} 
[2026-07-01 10:57:01] local.INFO: GPS Element Parsed {"raw_longitude":754782208,"raw_latitude":117666280,"longitude_deg":75.4782208,"latitude_deg":11.766628,"altitude":7,"angle":291,"satellites":40,"speed":46,"hex_longitude":"2cfd1000","hex_latitude":"070371e8","is_valid_coordinates":true} 
[2026-07-01 10:57:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418182144001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:57:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333220424865284096,"note":"Value kept but may cause issues"} 
[2026-07-01 10:57:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-209346983806240768,"note":"Value kept but may cause issues"} 
[2026-07-01 10:57:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:57:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782883526000,"timestamp_ms":1782883526000,"timestamp_seconds":1782883526,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c23a570"} 
[2026-07-01 10:57:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:57:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 10:57:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-01 10:57:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10:57:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:57:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":119718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":119718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":119718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:57: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-01 10:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418182144001,"66":27800,"80":206,"94":10240,"24":46,"16":333220424865284096,"44":-209346983806240768},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,94,24,16,44]} 
[2026-07-01 10:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418182144001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:57:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-07-01 10:57:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:57:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333220424865284096,"km_value":333220424865284.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:57:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-209346983806240768,"description":"Unknown IO ID 44"} 
[2026-07-01 10:57:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418182144001,"power":27800,"unknown_80":206,"unknown_94":10240,"ignition":46,"odometer":null,"unknown_44":-209346983806240768}} 
[2026-07-01 10:57:01] local.INFO: DEBUG: GPS processor result {"connection_id":119718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:57:01] local.INFO: GPS data processed {"connection_id":119718,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:57:01] local.INFO: Acknowledgment sent {"connection_id":119718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:57:21] local.INFO: TCP Data received {"connection_id":119042,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:57:21] local.INFO: Processing buffer {"connection_id":119042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:57:21] local.INFO: IMEI packet received {"connection_id":119042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 10:57:21] local.INFO: IMEI acknowledgment sent {"connection_id":119042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:57:26] local.INFO: TCP Data received {"connection_id":119042,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:57:26] local.INFO: Processing buffer {"connection_id":119042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:57:26] local.INFO: IMEI packet received {"connection_id":119042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":119042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:57:27] local.INFO: TCP Data received {"connection_id":119042,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c23c4b0012cfcea0007037ed00009012026..."} 
[2026-07-01 10:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c23c4b0012cfcea0007037ed00009012026..."} 
[2026-07-01 10:57:27] local.INFO: Processing buffer {"connection_id":119042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c23c4b0012cfcea0007037ed00009012026..."} 
[2026-07-01 10:57:27] local.INFO: Packet analysis {"connection_id":119042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c23"} 
[2026-07-01 10:57:27] local.INFO: Extracted packet for processing {"connection_id":119042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c23"} 
[2026-07-01 10:57:27] local.INFO: GPS Element Parsed {"raw_longitude":754772480,"raw_latitude":117669584,"longitude_deg":75.477248,"latitude_deg":11.7669584,"altitude":9,"angle":288,"satellites":38,"speed":53,"hex_longitude":"2cfcea00","hex_latitude":"07037ed0","is_valid_coordinates":true} 
[2026-07-01 10:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418182656001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333220910196588544,"note":"Value kept but may cause issues"} 
[2026-07-01 10:57:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-211669152363845632,"note":"Value kept but may cause issues"} 
[2026-07-01 10:57:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782883534000,"timestamp_ms":1782883534000,"timestamp_seconds":1782883534,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c23c4b0"} 
[2026-07-01 10:57:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:57: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-01 10:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 10:57:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10:57:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:57:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:57:27] 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-01 10:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418182656001,"66":27843,"80":206,"94":10240,"24":53,"16":333220910196588544,"44":-211669152363845632},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,94,24,16,44]} 
[2026-07-01 10:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418182656001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:57:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-07-01 10:57:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333220910196588544,"km_value":333220910196588.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:57:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-211669152363845632,"description":"Unknown IO ID 44"} 
[2026-07-01 10:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418182656001,"power":27843,"unknown_80":206,"unknown_94":10240,"ignition":53,"odometer":null,"unknown_44":-211669152363845632}} 
[2026-07-01 10:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":119042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:57:27] local.INFO: GPS data processed {"connection_id":119042,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:57:27] local.INFO: Acknowledgment sent {"connection_id":119042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:57:58] local.INFO: TCP Data received {"connection_id":119042,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c251c70012cfbb6800703fc880011013327..."} 
[2026-07-01 10:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c251c70012cfbb6800703fc880011013327..."} 
[2026-07-01 10:57:58] local.INFO: Processing buffer {"connection_id":119042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c251c70012cfbb6800703fc880011013327..."} 
[2026-07-01 10:57:58] local.INFO: Packet analysis {"connection_id":119042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c25"} 
[2026-07-01 10:57:58] local.INFO: Extracted packet for processing {"connection_id":119042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c25"} 
[2026-07-01 10:57:58] local.INFO: GPS Element Parsed {"raw_longitude":754693760,"raw_latitude":117701768,"longitude_deg":75.469376,"latitude_deg":11.7701768,"altitude":17,"angle":307,"satellites":39,"speed":23,"hex_longitude":"2cfbb680","hex_latitude":"0703fc88","is_valid_coordinates":true} 
[2026-07-01 10:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418204160001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:57:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333225003300421632,"note":"Value kept but may cause issues"} 
[2026-07-01 10:57:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-304837369646487552,"note":"Value kept but may cause issues"} 
[2026-07-01 10:57:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:57:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782883622000,"timestamp_ms":1782883622000,"timestamp_seconds":1782883622,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c251c70"} 
[2026-07-01 10:57:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:57:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 10:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 10:57:58] 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-01 10:57:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:57:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:57:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:57:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:57:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:57:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:57:58] 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-01 10:57:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:57:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:57:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418204160001,"66":27974,"78":206,"94":10240,"24":23,"16":333225003300421632,"44":-304837369646487552},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,94,24,16,44]} 
[2026-07-01 10:57:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:57:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:57:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418204160001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:57:58] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-07-01 10:57:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:57:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333225003300421632,"km_value":333225003300421.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:57:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-304837369646487552,"description":"Unknown IO ID 44"} 
[2026-07-01 10:57:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418204160001,"power":27974,"unknown_78":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_44":-304837369646487552}} 
[2026-07-01 10:57:58] local.INFO: DEBUG: GPS processor result {"connection_id":119042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:57:58] local.INFO: GPS data processed {"connection_id":119042,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:57:58] local.INFO: Acknowledgment sent {"connection_id":119042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:58:26] local.INFO: TCP Data received {"connection_id":118931,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:58:26] local.INFO: Processing buffer {"connection_id":118931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:58:26] local.INFO: IMEI packet received {"connection_id":118931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 10:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":118931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:58:28] local.INFO: TCP Data received {"connection_id":118931,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:58:28] local.INFO: Processing buffer {"connection_id":118931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:58:28] local.INFO: IMEI packet received {"connection_id":118931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:58:28] local.INFO: IMEI acknowledgment sent {"connection_id":118931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:58:29] local.INFO: TCP Data received {"connection_id":118931,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c252ff8012cfbacc0070405400012013f26..."} 
[2026-07-01 10:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c252ff8012cfbacc0070405400012013f26..."} 
[2026-07-01 10:58:29] local.INFO: Processing buffer {"connection_id":118931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c252ff8012cfbacc0070405400012013f26..."} 
[2026-07-01 10:58:29] local.INFO: Packet analysis {"connection_id":118931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c25"} 
[2026-07-01 10:58:29] local.INFO: Extracted packet for processing {"connection_id":118931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c25"} 
[2026-07-01 10:58:29] local.INFO: GPS Element Parsed {"raw_longitude":754691264,"raw_latitude":117704000,"longitude_deg":75.4691264,"latitude_deg":11.7704,"altitude":18,"angle":319,"satellites":38,"speed":28,"hex_longitude":"2cfbacc0","hex_latitude":"07040540","is_valid_coordinates":true} 
[2026-07-01 10: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-01 10:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418207232001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333225166509178880,"note":"Value kept but may cause issues"} 
[2026-07-01 10:58:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-308918756808292352,"note":"Value kept but may cause issues"} 
[2026-07-01 10:58:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782883627000,"timestamp_ms":1782883627000,"timestamp_seconds":1782883627,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c252ff8"} 
[2026-07-01 10: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-01 10:58: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-01 10: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-01 10:58:29] 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-01 10: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-01 10: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-01 10:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":118931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":118931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":118931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:58:29] 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-01 10:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418207232001,"66":27821,"78":206,"94":10240,"24":28,"16":333225166509178880,"44":-308918756808292352},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,94,24,16,44]} 
[2026-07-01 10:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418207232001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:58:29] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-07-01 10:58:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333225166509178880,"km_value":333225166509178.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:58:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-308918756808292352,"description":"Unknown IO ID 44"} 
[2026-07-01 10:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418207232001,"power":27821,"unknown_78":206,"unknown_94":10240,"ignition":28,"odometer":null,"unknown_44":-308918756808292352}} 
[2026-07-01 10:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":118931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:58:29] local.INFO: GPS data processed {"connection_id":118931,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:58:29] local.INFO: Acknowledgment sent {"connection_id":118931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:58:31] local.INFO: TCP Data received {"connection_id":118931,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c255708012cfb970007042118000f014324..."} 
[2026-07-01 10:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c255708012cfb970007042118000f014324..."} 
[2026-07-01 10:58:31] local.INFO: Processing buffer {"connection_id":118931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c255708012cfb970007042118000f014324..."} 
[2026-07-01 10:58:31] local.INFO: Packet analysis {"connection_id":118931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c25"} 
[2026-07-01 10:58:31] local.INFO: Extracted packet for processing {"connection_id":118931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c25"} 
[2026-07-01 10:58:31] local.INFO: GPS Element Parsed {"raw_longitude":754685696,"raw_latitude":117711128,"longitude_deg":75.4685696,"latitude_deg":11.7711128,"altitude":15,"angle":323,"satellites":36,"speed":39,"hex_longitude":"2cfb9700","hex_latitude":"07042118","is_valid_coordinates":true} 
[2026-07-01 10:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418208512001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333225600300875776,"note":"Value kept but may cause issues"} 
[2026-07-01 10:58:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-311663137830649856,"note":"Value kept but may cause issues"} 
[2026-07-01 10:58:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782883637000,"timestamp_ms":1782883637000,"timestamp_seconds":1782883637,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c255708"} 
[2026-07-01 10:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 10:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 10:58:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10:58:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":118931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":118931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":118931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:58:31] 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-01 10:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418208512001,"66":27908,"78":206,"94":10240,"24":39,"16":333225600300875776,"44":-311663137830649856},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,94,24,16,44]} 
[2026-07-01 10:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418208512001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:58:31] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-07-01 10:58:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333225600300875776,"km_value":333225600300875.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:58:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-311663137830649856,"description":"Unknown IO ID 44"} 
[2026-07-01 10:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418208512001,"power":27908,"unknown_78":206,"unknown_94":10240,"ignition":39,"odometer":null,"unknown_44":-311663137830649856}} 
[2026-07-01 10:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":118931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:58:31] local.INFO: GPS data processed {"connection_id":118931,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:58:31] local.INFO: Acknowledgment sent {"connection_id":118931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:59:02] local.INFO: TCP Data received {"connection_id":118931,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c257a30012cfb808007043e00000e014123..."} 
[2026-07-01 10:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c257a30012cfb808007043e00000e014123..."} 
[2026-07-01 10:59:02] local.INFO: Processing buffer {"connection_id":118931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c257a30012cfb808007043e00000e014123..."} 
[2026-07-01 10:59:02] local.INFO: Packet analysis {"connection_id":118931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c25"} 
[2026-07-01 10:59:02] local.INFO: Extracted packet for processing {"connection_id":118931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c25"} 
[2026-07-01 10:59:02] local.INFO: GPS Element Parsed {"raw_longitude":754679936,"raw_latitude":117718528,"longitude_deg":75.4679936,"latitude_deg":11.7718528,"altitude":14,"angle":321,"satellites":35,"speed":38,"hex_longitude":"2cfb8080","hex_latitude":"07043e00","is_valid_coordinates":true} 
[2026-07-01 10:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418211072001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333226051272441856,"note":"Value kept but may cause issues"} 
[2026-07-01 10:59:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-317785218572281856,"note":"Value kept but may cause issues"} 
[2026-07-01 10:59:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782883646000,"timestamp_ms":1782883646000,"timestamp_seconds":1782883646,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c257a30"} 
[2026-07-01 10:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:59:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 10:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 10:59:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 10:59:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":118931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":118931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":118931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:59:02] 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-01 10:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418211072001,"66":27908,"78":206,"94":10240,"24":38,"16":333226051272441856,"44":-317785218572281856},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,94,24,16,44]} 
[2026-07-01 10:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418211072001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:59:02] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-07-01 10:59:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333226051272441856,"km_value":333226051272441.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:59:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-317785218572281856,"description":"Unknown IO ID 44"} 
[2026-07-01 10:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418211072001,"power":27908,"unknown_78":206,"unknown_94":10240,"ignition":38,"odometer":null,"unknown_44":-317785218572281856}} 
[2026-07-01 10:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":118931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:59:02] local.INFO: GPS data processed {"connection_id":118931,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:59:02] local.INFO: Acknowledgment sent {"connection_id":118931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:59:21] local.INFO: TCP Data received {"connection_id":119043,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:59:21] local.INFO: Processing buffer {"connection_id":119043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:59:21] local.INFO: IMEI packet received {"connection_id":119043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 10:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":119043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 10:59:22] local.INFO: TCP Data received {"connection_id":119043,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:59:22] local.INFO: Processing buffer {"connection_id":119043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:59:22] local.INFO: IMEI packet received {"connection_id":119043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:59:22] local.INFO: IMEI acknowledgment sent {"connection_id":119043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:59:26] local.INFO: TCP Data received {"connection_id":119043,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:59:26] local.INFO: Processing buffer {"connection_id":119043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 10:59:26] local.INFO: IMEI packet received {"connection_id":119043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 10:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":119043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 10:59:27] local.INFO: TCP Data received {"connection_id":119043,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c25a528012cfb6ac007045c48000d014525..."} 
[2026-07-01 10:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c25a528012cfb6ac007045c48000d014525..."} 
[2026-07-01 10:59:27] local.INFO: Processing buffer {"connection_id":119043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c25a528012cfb6ac007045c48000d014525..."} 
[2026-07-01 10:59:27] local.INFO: Packet analysis {"connection_id":119043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c25"} 
[2026-07-01 10:59:27] local.INFO: Extracted packet for processing {"connection_id":119043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c25"} 
[2026-07-01 10:59:27] local.INFO: GPS Element Parsed {"raw_longitude":754674368,"raw_latitude":117726280,"longitude_deg":75.4674368,"latitude_deg":11.772628,"altitude":13,"angle":325,"satellites":37,"speed":31,"hex_longitude":"2cfb6ac0","hex_latitude":"07045c48","is_valid_coordinates":true} 
[2026-07-01 10:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 10:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418213376001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333226510833942528,"note":"Value kept but may cause issues"} 
[2026-07-01 10:59:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-324118405546377216,"note":"Value kept but may cause issues"} 
[2026-07-01 10:59:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782883657000,"timestamp_ms":1782883657000,"timestamp_seconds":1782883657,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c25a528"} 
[2026-07-01 10:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 10:59: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-01 10:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 10:59:27] 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-01 10:59:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 10:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 10:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:59:27] 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-01 10:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418213376001,"66":27974,"78":206,"94":10240,"24":31,"16":333226510833942528,"44":-324118405546377216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,94,24,16,44]} 
[2026-07-01 10:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418213376001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:59:27] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-07-01 10:59:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333226510833942528,"km_value":333226510833942.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:59:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-324118405546377216,"description":"Unknown IO ID 44"} 
[2026-07-01 10:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418213376001,"power":27974,"unknown_78":206,"unknown_94":10240,"ignition":31,"odometer":null,"unknown_44":-324118405546377216}} 
[2026-07-01 10:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":119043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:59:27] local.INFO: GPS data processed {"connection_id":119043,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:59:27] local.INFO: Acknowledgment sent {"connection_id":119043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 10:59:56] local.INFO: TCP Data received {"connection_id":119043,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c25d7f0012cfb598007047b08000c014e27..."} 
[2026-07-01 10:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c25d7f0012cfb598007047b08000c014e27..."} 
[2026-07-01 10:59:56] local.INFO: Processing buffer {"connection_id":119043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c25d7f0012cfb598007047b08000c014e27..."} 
[2026-07-01 10:59:56] local.INFO: Packet analysis {"connection_id":119043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c25"} 
[2026-07-01 10:59:56] local.INFO: Extracted packet for processing {"connection_id":119043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c25"} 
[2026-07-01 10:59:56] local.INFO: GPS Element Parsed {"raw_longitude":754669952,"raw_latitude":117734152,"longitude_deg":75.4669952,"latitude_deg":11.7734152,"altitude":12,"angle":334,"satellites":39,"speed":33,"hex_longitude":"2cfb5980","hex_latitude":"07047b08","is_valid_coordinates":true} 
[2026-07-01 10: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-01 10:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418216192001,"note":"Value kept but may cause issues"} 
[2026-07-01 10:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333226948920606720,"note":"Value kept but may cause issues"} 
[2026-07-01 10:59:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-330240486287849472,"note":"Value kept but may cause issues"} 
[2026-07-01 10:59:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 10:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782883670000,"timestamp_ms":1782883670000,"timestamp_seconds":1782883670,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c25d7f0"} 
[2026-07-01 10: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-01 10:59:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 10: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-01 10:59:56] 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-01 10: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-01 10: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-01 10:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 10:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":119043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 10:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":119043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":119043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 10:59:56] 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-01 10:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 10:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 10:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418216192001,"66":27843,"79":206,"94":10240,"24":33,"16":333226948920606720,"44":-330240486287849472},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,94,24,16,44]} 
[2026-07-01 10:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 10:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 10:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418216192001,"description":"Unknown IO ID 0"} 
[2026-07-01 10:59:56] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-07-01 10:59:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 10:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333226948920606720,"km_value":333226948920606.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 10:59:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-330240486287849472,"description":"Unknown IO ID 44"} 
[2026-07-01 10:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418216192001,"power":27843,"unknown_79":206,"unknown_94":10240,"ignition":33,"odometer":null,"unknown_44":-330240486287849472}} 
[2026-07-01 10:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":119043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 10:59:56] local.INFO: GPS data processed {"connection_id":119043,"processed":1,"errors":0,"total":1} 
[2026-07-01 10:59:56] local.INFO: Acknowledgment sent {"connection_id":119043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:00:21] local.INFO: TCP Data received {"connection_id":119045,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:00:21] local.INFO: Processing buffer {"connection_id":119045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:00:21] local.INFO: IMEI packet received {"connection_id":119045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 11:00:21] local.INFO: IMEI acknowledgment sent {"connection_id":119045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:00:30] local.INFO: TCP Data received {"connection_id":119045,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:00:30] local.INFO: Processing buffer {"connection_id":119045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:00:30] local.INFO: IMEI packet received {"connection_id":119045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":119045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:00:31] local.INFO: TCP Data received {"connection_id":119045,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c271840012cfa990007054418000b013625..."} 
[2026-07-01 11:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c271840012cfa990007054418000b013625..."} 
[2026-07-01 11:00:31] local.INFO: Processing buffer {"connection_id":119045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c271840012cfa990007054418000b013625..."} 
[2026-07-01 11:00:31] local.INFO: Packet analysis {"connection_id":119045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c27"} 
[2026-07-01 11:00:31] local.INFO: Extracted packet for processing {"connection_id":119045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c27"} 
[2026-07-01 11:00:31] local.INFO: GPS Element Parsed {"raw_longitude":754620672,"raw_latitude":117785624,"longitude_deg":75.4620672,"latitude_deg":11.7785624,"altitude":11,"angle":310,"satellites":37,"speed":36,"hex_longitude":"2cfa9900","hex_latitude":"07054418","is_valid_coordinates":true} 
[2026-07-01 11:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418238720001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333230475088756736,"note":"Value kept but may cause issues"} 
[2026-07-01 11:00:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-384283681802364928,"note":"Value kept but may cause issues"} 
[2026-07-01 11:00:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782883752000,"timestamp_ms":1782883752000,"timestamp_seconds":1782883752,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c271840"} 
[2026-07-01 11:00:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:00:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 11:00:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11:00:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:00:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:00:31] 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-01 11:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418238720001,"66":27745,"196":206,"83":41728,"24":36,"16":333230475088756736,"44":-384283681802364928},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,83,24,16,44]} 
[2026-07-01 11:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418238720001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:00:31] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-01 11:00:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 11:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333230475088756736,"km_value":333230475088756.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:00:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-384283681802364928,"description":"Unknown IO ID 44"} 
[2026-07-01 11:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418238720001,"power":27745,"unknown_196":206,"unknown_83":41728,"ignition":36,"odometer":null,"unknown_44":-384283681802364928}} 
[2026-07-01 11:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":119045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:00:31] local.INFO: GPS data processed {"connection_id":119045,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:00:31] local.INFO: Acknowledgment sent {"connection_id":119045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:00:36] local.INFO: TCP Data received {"connection_id":119044,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119044,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:00:36] local.INFO: Processing buffer {"connection_id":119044,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:00:36] local.INFO: IMEI packet received {"connection_id":119044,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 11:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":119044,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:01:02] local.INFO: TCP Data received {"connection_id":119045,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c272bc8012cfa89c007054e50000c012925..."} 
[2026-07-01 11:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c272bc8012cfa89c007054e50000c012925..."} 
[2026-07-01 11:01:02] local.INFO: Processing buffer {"connection_id":119045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c272bc8012cfa89c007054e50000c012925..."} 
[2026-07-01 11:01:02] local.INFO: Packet analysis {"connection_id":119045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c27"} 
[2026-07-01 11:01:02] local.INFO: Extracted packet for processing {"connection_id":119045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c27"} 
[2026-07-01 11:01:02] local.INFO: GPS Element Parsed {"raw_longitude":754616768,"raw_latitude":117788240,"longitude_deg":75.4616768,"latitude_deg":11.778824,"altitude":12,"angle":297,"satellites":37,"speed":37,"hex_longitude":"2cfa89c0","hex_latitude":"07054e50","is_valid_coordinates":true} 
[2026-07-01 11:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418240512001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333230698427056128,"note":"Value kept but may cause issues"} 
[2026-07-01 11:01:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-389279862637717504,"note":"Value kept but may cause issues"} 
[2026-07-01 11:01:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782883757000,"timestamp_ms":1782883757000,"timestamp_seconds":1782883757,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c272bc8"} 
[2026-07-01 11:01:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:01:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 11:01:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11:01:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:01:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":119045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":119045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":119045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:01:02] 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-01 11:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418240512001,"66":27234,"241":206,"94":10240,"24":37,"16":333230698427056128,"44":-389279862637717504},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,94,24,16,44]} 
[2026-07-01 11:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418240512001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:01:02] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-07-01 11:01:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 11:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333230698427056128,"km_value":333230698427056.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:01:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-389279862637717504,"description":"Unknown IO ID 44"} 
[2026-07-01 11:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418240512001,"power":27234,"unknown_241":206,"unknown_94":10240,"ignition":37,"odometer":null,"unknown_44":-389279862637717504}} 
[2026-07-01 11:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":119045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:01:02] local.INFO: GPS data processed {"connection_id":119045,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:01:02] local.INFO: Acknowledgment sent {"connection_id":119045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:01:15] local.INFO: TCP Data received {"connection_id":119046,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119046,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:01:15] local.INFO: Processing buffer {"connection_id":119046,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:01:15] local.INFO: IMEI packet received {"connection_id":119046,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 11:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":119046,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:01:21] local.INFO: TCP Data received {"connection_id":119720,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:01:21] local.INFO: Processing buffer {"connection_id":119720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:01:21] local.INFO: IMEI packet received {"connection_id":119720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 11:01:21] local.INFO: IMEI acknowledgment sent {"connection_id":119720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:01:21] local.INFO: TCP Data received {"connection_id":119720,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:01:21] local.INFO: Processing buffer {"connection_id":119720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:01:21] local.INFO: IMEI packet received {"connection_id":119720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:01:21] local.INFO: IMEI acknowledgment sent {"connection_id":119720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:01:22] local.INFO: TCP Data received {"connection_id":119720,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:01:22] local.INFO: Processing buffer {"connection_id":119720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:01:22] local.INFO: IMEI packet received {"connection_id":119720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:01:22] local.INFO: IMEI acknowledgment sent {"connection_id":119720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:01:26] local.INFO: TCP Data received {"connection_id":119720,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:01:26] local.INFO: Processing buffer {"connection_id":119720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:01:26] local.INFO: IMEI packet received {"connection_id":119720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":119720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:01:27] local.INFO: TCP Data received {"connection_id":119720,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c2752d8012cfa678007055ae8000f012027..."} 
[2026-07-01 11:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c2752d8012cfa678007055ae8000f012027..."} 
[2026-07-01 11:01:27] local.INFO: Processing buffer {"connection_id":119720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c2752d8012cfa678007055ae8000f012027..."} 
[2026-07-01 11:01:27] local.INFO: Packet analysis {"connection_id":119720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c27"} 
[2026-07-01 11:01:27] local.INFO: Extracted packet for processing {"connection_id":119720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c27"} 
[2026-07-01 11:01:27] local.INFO: GPS Element Parsed {"raw_longitude":754608000,"raw_latitude":117791464,"longitude_deg":75.4608,"latitude_deg":11.7791464,"altitude":15,"angle":288,"satellites":39,"speed":37,"hex_longitude":"2cfa6780","hex_latitude":"07055ae8","is_valid_coordinates":true} 
[2026-07-01 11:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418241792001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333231145103654912,"note":"Value kept but may cause issues"} 
[2026-07-01 11:01:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-393572356031885312,"note":"Value kept but may cause issues"} 
[2026-07-01 11:01:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782883767000,"timestamp_ms":1782883767000,"timestamp_seconds":1782883767,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c2752d8"} 
[2026-07-01 11:01:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:01: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-01 11:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-01 11:01:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11:01:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:01:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:01:27] 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-01 11:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:01:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418241792001,"66":27930,"241":206,"94":10240,"24":37,"16":333231145103654912,"44":-393572356031885312},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,94,24,16,44]} 
[2026-07-01 11:01:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:01:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:01:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418241792001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:01:27] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-07-01 11:01:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 11:01:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333231145103654912,"km_value":333231145103654.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:01:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-393572356031885312,"description":"Unknown IO ID 44"} 
[2026-07-01 11:01:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418241792001,"power":27930,"unknown_241":206,"unknown_94":10240,"ignition":37,"odometer":null,"unknown_44":-393572356031885312}} 
[2026-07-01 11:01:27] local.INFO: DEBUG: GPS processor result {"connection_id":119720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:01:27] local.INFO: GPS data processed {"connection_id":119720,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:01:27] local.INFO: Acknowledgment sent {"connection_id":119720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:01:58] local.INFO: TCP Data received {"connection_id":119720,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c28aa98012cf9b24007066030000e015827..."} 
[2026-07-01 11:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c28aa98012cf9b24007066030000e015827..."} 
[2026-07-01 11:01:58] local.INFO: Processing buffer {"connection_id":119720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c28aa98012cf9b24007066030000e015827..."} 
[2026-07-01 11:01:58] local.INFO: Packet analysis {"connection_id":119720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c28"} 
[2026-07-01 11:01:58] local.INFO: Extracted packet for processing {"connection_id":119720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c28"} 
[2026-07-01 11:01:58] local.INFO: GPS Element Parsed {"raw_longitude":754561600,"raw_latitude":117858352,"longitude_deg":75.45616,"latitude_deg":11.7858352,"altitude":14,"angle":344,"satellites":39,"speed":40,"hex_longitude":"2cf9b240","hex_latitude":"07066030","is_valid_coordinates":true} 
[2026-07-01 11:01:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:01:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418266368001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:01:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333235349876637696,"note":"Value kept but may cause issues"} 
[2026-07-01 11:01:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-453878369774714880,"note":"Value kept but may cause issues"} 
[2026-07-01 11:01:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:01:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782883855000,"timestamp_ms":1782883855000,"timestamp_seconds":1782883855,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c28aa98"} 
[2026-07-01 11:01:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:01:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11:01:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-01 11:01:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11:01:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:01:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:01:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:01:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:01:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:01:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:01:58] 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-01 11:01:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:01:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:01:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418266368001,"66":27919,"85":206,"83":41728,"24":40,"16":333235349876637696,"44":-453878369774714880},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,44]} 
[2026-07-01 11:01:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:01:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:01:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418266368001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:01:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-07-01 11:01:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 11:01:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333235349876637696,"km_value":333235349876637.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:01:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-453878369774714880,"description":"Unknown IO ID 44"} 
[2026-07-01 11:01:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418266368001,"power":27919,"unknown_85":206,"unknown_83":41728,"ignition":40,"odometer":null,"unknown_44":-453878369774714880}} 
[2026-07-01 11:01:58] local.INFO: DEBUG: GPS processor result {"connection_id":119720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:01:58] local.INFO: GPS data processed {"connection_id":119720,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:01:58] local.INFO: Acknowledgment sent {"connection_id":119720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:02:20] local.INFO: TCP Data received {"connection_id":119047,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:02:20] local.INFO: Processing buffer {"connection_id":119047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:02:20] local.INFO: IMEI packet received {"connection_id":119047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 11:02:20] local.INFO: IMEI acknowledgment sent {"connection_id":119047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:02:21] local.INFO: TCP Data received {"connection_id":119047,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:02:21] local.INFO: Processing buffer {"connection_id":119047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:02:21] local.INFO: IMEI packet received {"connection_id":119047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":119047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:02:26] local.INFO: TCP Data received {"connection_id":119047,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:02:26] local.INFO: Processing buffer {"connection_id":119047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:02:26] local.INFO: IMEI packet received {"connection_id":119047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":119047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:02:27] local.INFO: TCP Data received {"connection_id":119047,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c28d1a8012cf9a3c007068120000b015327..."} 
[2026-07-01 11:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c28d1a8012cf9a3c007068120000b015327..."} 
[2026-07-01 11:02:27] local.INFO: Processing buffer {"connection_id":119047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c28d1a8012cf9a3c007068120000b015327..."} 
[2026-07-01 11:02:27] local.INFO: Packet analysis {"connection_id":119047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c28"} 
[2026-07-01 11:02:27] local.INFO: Extracted packet for processing {"connection_id":119047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c28"} 
[2026-07-01 11:02:27] local.INFO: GPS Element Parsed {"raw_longitude":754557888,"raw_latitude":117866784,"longitude_deg":75.4557888,"latitude_deg":11.7866784,"altitude":11,"angle":339,"satellites":39,"speed":37,"hex_longitude":"2cf9a3c0","hex_latitude":"07068120","is_valid_coordinates":true} 
[2026-07-01 11:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418266880001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333235796553236480,"note":"Value kept but may cause issues"} 
[2026-07-01 11:02:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-454230213495083008,"note":"Value kept but may cause issues"} 
[2026-07-01 11:02:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782883865000,"timestamp_ms":1782883865000,"timestamp_seconds":1782883865,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c28d1a8"} 
[2026-07-01 11:02:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:02:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 11:02:27] 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-01 11:02:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:02:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:02:27] 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-01 11:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418266880001,"66":27865,"85":206,"83":41728,"24":37,"16":333235796553236480,"44":-454230213495083008},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,44]} 
[2026-07-01 11:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418266880001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:02:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-07-01 11:02:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 11:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333235796553236480,"km_value":333235796553236.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:02:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-454230213495083008,"description":"Unknown IO ID 44"} 
[2026-07-01 11:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418266880001,"power":27865,"unknown_85":206,"unknown_83":41728,"ignition":37,"odometer":null,"unknown_44":-454230213495083008}} 
[2026-07-01 11:02:27] local.INFO: DEBUG: GPS processor result {"connection_id":119047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:02:27] local.INFO: GPS data processed {"connection_id":119047,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:02:27] local.INFO: Acknowledgment sent {"connection_id":119047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:02:58] local.INFO: TCP Data received {"connection_id":119047,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c28f4d0012cf998000706a3d00008015527..."} 
[2026-07-01 11:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c28f4d0012cf998000706a3d00008015527..."} 
[2026-07-01 11:02:58] local.INFO: Processing buffer {"connection_id":119047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c28f4d0012cf998000706a3d00008015527..."} 
[2026-07-01 11:02:58] local.INFO: Packet analysis {"connection_id":119047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c28"} 
[2026-07-01 11:02:58] local.INFO: Extracted packet for processing {"connection_id":119047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c28"} 
[2026-07-01 11:02:58] local.INFO: GPS Element Parsed {"raw_longitude":754554880,"raw_latitude":117875664,"longitude_deg":75.455488,"latitude_deg":11.7875664,"altitude":8,"angle":341,"satellites":39,"speed":43,"hex_longitude":"2cf99800","hex_latitude":"0706a3d0","is_valid_coordinates":true} 
[2026-07-01 11:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418269440001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333236247524802560,"note":"Value kept but may cause issues"} 
[2026-07-01 11:02:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-458311600655228928,"note":"Value kept but may cause issues"} 
[2026-07-01 11:02:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782883874000,"timestamp_ms":1782883874000,"timestamp_seconds":1782883874,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c28f4d0"} 
[2026-07-01 11:02:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:02:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 11:02:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11:02:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:02:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:02:58] 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-01 11:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418269440001,"66":27876,"85":206,"83":41728,"24":43,"16":333236247524802560,"44":-458311600655228928},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,44]} 
[2026-07-01 11:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418269440001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:02:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-07-01 11:02:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 11:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333236247524802560,"km_value":333236247524802.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:02:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-458311600655228928,"description":"Unknown IO ID 44"} 
[2026-07-01 11:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418269440001,"power":27876,"unknown_85":206,"unknown_83":41728,"ignition":43,"odometer":null,"unknown_44":-458311600655228928}} 
[2026-07-01 11:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":119047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:02:58] local.INFO: GPS data processed {"connection_id":119047,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:02:58] local.INFO: Acknowledgment sent {"connection_id":119047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:03:21] local.INFO: TCP Data received {"connection_id":118933,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:03:21] local.INFO: Processing buffer {"connection_id":118933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:03:21] local.INFO: IMEI packet received {"connection_id":118933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 11:03:21] local.INFO: IMEI acknowledgment sent {"connection_id":118933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:03:26] local.INFO: TCP Data received {"connection_id":118933,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:03:26] local.INFO: Processing buffer {"connection_id":118933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:03:26] local.INFO: IMEI packet received {"connection_id":118933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":118933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:03:27] local.INFO: TCP Data received {"connection_id":118933,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c291be0012cf98e000706c5d80006015724..."} 
[2026-07-01 11:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c291be0012cf98e000706c5d80006015724..."} 
[2026-07-01 11:03:27] local.INFO: Processing buffer {"connection_id":118933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c291be0012cf98e000706c5d80006015724..."} 
[2026-07-01 11:03:27] local.INFO: Packet analysis {"connection_id":118933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c29"} 
[2026-07-01 11:03:27] local.INFO: Extracted packet for processing {"connection_id":118933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c29"} 
[2026-07-01 11:03:27] local.INFO: GPS Element Parsed {"raw_longitude":754552320,"raw_latitude":117884376,"longitude_deg":75.455232,"latitude_deg":11.7884376,"altitude":6,"angle":343,"satellites":36,"speed":24,"hex_longitude":"2cf98e00","hex_latitude":"0706c5d8","is_valid_coordinates":true} 
[2026-07-01 11:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418271744001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333236689906434048,"note":"Value kept but may cause issues"} 
[2026-07-01 11:03:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-461618931629305856,"note":"Value kept but may cause issues"} 
[2026-07-01 11:03:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782883884000,"timestamp_ms":1782883884000,"timestamp_seconds":1782883884,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c291be0"} 
[2026-07-01 11:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:03:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-01 11:03:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11:03:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:03:27] 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-01 11:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418271744001,"66":27876,"85":206,"83":41728,"24":24,"16":333236689906434048,"44":-461618931629305856},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,44]} 
[2026-07-01 11:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418271744001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:03:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-07-01 11:03:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 11:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333236689906434048,"km_value":333236689906434.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:03:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-461618931629305856,"description":"Unknown IO ID 44"} 
[2026-07-01 11:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418271744001,"power":27876,"unknown_85":206,"unknown_83":41728,"ignition":24,"odometer":null,"unknown_44":-461618931629305856}} 
[2026-07-01 11:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":118933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:03:27] local.INFO: GPS data processed {"connection_id":118933,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:03:27] local.INFO: Acknowledgment sent {"connection_id":118933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:04:01] local.INFO: TCP Data received {"connection_id":118933,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c296230012cf984000706e8b80004015326..."} 
[2026-07-01 11:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c296230012cf984000706e8b80004015326..."} 
[2026-07-01 11:04:01] local.INFO: Processing buffer {"connection_id":118933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c296230012cf984000706e8b80004015326..."} 
[2026-07-01 11:04:01] local.INFO: Packet analysis {"connection_id":118933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c29"} 
[2026-07-01 11:04:01] local.INFO: Extracted packet for processing {"connection_id":118933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c29"} 
[2026-07-01 11:04:01] local.INFO: GPS Element Parsed {"raw_longitude":754549760,"raw_latitude":117893304,"longitude_deg":75.454976,"latitude_deg":11.7893304,"altitude":4,"angle":339,"satellites":38,"speed":25,"hex_longitude":"2cf98400","hex_latitude":"0706e8b8","is_valid_coordinates":true} 
[2026-07-01 11:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418274304001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333237136583032832,"note":"Value kept but may cause issues"} 
[2026-07-01 11:04:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-464433681394182144,"note":"Value kept but may cause issues"} 
[2026-07-01 11:04:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782883902000,"timestamp_ms":1782883902000,"timestamp_seconds":1782883902,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c296230"} 
[2026-07-01 11:04:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:04:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-01 11:04: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-01 11:04:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:04:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":118933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":118933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":118933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:04: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-01 11:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418274304001,"66":27843,"85":206,"83":41728,"24":25,"16":333237136583032832,"44":-464433681394182144},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,44]} 
[2026-07-01 11:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418274304001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:04:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-07-01 11:04:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 11:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333237136583032832,"km_value":333237136583032.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:04:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-464433681394182144,"description":"Unknown IO ID 44"} 
[2026-07-01 11:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418274304001,"power":27843,"unknown_85":206,"unknown_83":41728,"ignition":25,"odometer":null,"unknown_44":-464433681394182144}} 
[2026-07-01 11:04:01] local.INFO: DEBUG: GPS processor result {"connection_id":118933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:04:01] local.INFO: GPS data processed {"connection_id":118933,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:04:01] local.INFO: Acknowledgment sent {"connection_id":118933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:04:21] local.INFO: TCP Data received {"connection_id":118934,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:04:21] local.INFO: Processing buffer {"connection_id":118934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:04:21] local.INFO: IMEI packet received {"connection_id":118934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 11:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":118934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:04:21] local.INFO: TCP Data received {"connection_id":118934,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:04:21] local.INFO: Processing buffer {"connection_id":118934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:04:21] local.INFO: IMEI packet received {"connection_id":118934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":118934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:04:26] local.INFO: TCP Data received {"connection_id":118934,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:04:26] local.INFO: Processing buffer {"connection_id":118934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:04:26] local.INFO: IMEI packet received {"connection_id":118934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":118934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:04:27] local.INFO: TCP Data received {"connection_id":118934,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c2ad548012cf8c9c0070833780009014424..."} 
[2026-07-01 11:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c2ad548012cf8c9c0070833780009014424..."} 
[2026-07-01 11:04:27] local.INFO: Processing buffer {"connection_id":118934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c2ad548012cf8c9c0070833780009014424..."} 
[2026-07-01 11:04:27] local.INFO: Packet analysis {"connection_id":118934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c2a"} 
[2026-07-01 11:04:27] local.INFO: Extracted packet for processing {"connection_id":118934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c2a"} 
[2026-07-01 11:04:27] local.INFO: GPS Element Parsed {"raw_longitude":754502080,"raw_latitude":117977976,"longitude_deg":75.450208,"latitude_deg":11.7977976,"altitude":9,"angle":324,"satellites":36,"speed":61,"hex_longitude":"2cf8c9c0","hex_latitude":"07083378","is_valid_coordinates":true} 
[2026-07-01 11:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:04:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418301696001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:04:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333241873931960320,"note":"Value kept but may cause issues"} 
[2026-07-01 11:04:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-513621433552334848,"note":"Value kept but may cause issues"} 
[2026-07-01 11:04:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:04:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782883997000,"timestamp_ms":1782883997000,"timestamp_seconds":1782883997,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c2ad548"} 
[2026-07-01 11:04:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:04: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-01 11:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-01 11:04:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11:04:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:04:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:04:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:04:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:04:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:04:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:04:27] 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-01 11:04:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:04:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:04:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418301696001,"66":28028,"30":206,"83":41728,"24":61,"16":333241873931960320,"44":-513621433552334848},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,83,24,16,44]} 
[2026-07-01 11:04:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:04:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:04:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418301696001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:04:27] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-01 11:04:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 11:04:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333241873931960320,"km_value":333241873931960.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:04:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-513621433552334848,"description":"Unknown IO ID 44"} 
[2026-07-01 11:04:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418301696001,"power":28028,"unknown_30":206,"unknown_83":41728,"ignition":61,"odometer":null,"unknown_44":-513621433552334848}} 
[2026-07-01 11:04:27] local.INFO: DEBUG: GPS processor result {"connection_id":118934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:04:27] local.INFO: GPS data processed {"connection_id":118934,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:04:27] local.INFO: Acknowledgment sent {"connection_id":118934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:05:05] local.INFO: TCP Data received {"connection_id":118934,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c2aecb8012cf8b4c0070850080009014425..."} 
[2026-07-01 11:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c2aecb8012cf8b4c0070850080009014425..."} 
[2026-07-01 11:05:05] local.INFO: Processing buffer {"connection_id":118934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c2aecb8012cf8b4c0070850080009014425..."} 
[2026-07-01 11:05:05] local.INFO: Packet analysis {"connection_id":118934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c2a"} 
[2026-07-01 11:05:05] local.INFO: Extracted packet for processing {"connection_id":118934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c2a"} 
[2026-07-01 11:05:05] local.INFO: GPS Element Parsed {"raw_longitude":754496704,"raw_latitude":117985288,"longitude_deg":75.4496704,"latitude_deg":11.7985288,"altitude":9,"angle":324,"satellites":37,"speed":57,"hex_longitude":"2cf8b4c0","hex_latitude":"07085008","is_valid_coordinates":true} 
[2026-07-01 11:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418303232001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333242312018624512,"note":"Value kept but may cause issues"} 
[2026-07-01 11:05:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-519673145549686784,"note":"Value kept but may cause issues"} 
[2026-07-01 11:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782884003000,"timestamp_ms":1782884003000,"timestamp_seconds":1782884003,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c2aecb8"} 
[2026-07-01 11:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-01 11:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":118934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":118934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":118934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:05:05] 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-01 11:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418303232001,"66":28028,"30":206,"83":41728,"24":57,"16":333242312018624512,"44":-519673145549686784},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,83,24,16,44]} 
[2026-07-01 11:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418303232001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:05:05] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-01 11:05:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 11:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333242312018624512,"km_value":333242312018624.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:05:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-519673145549686784,"description":"Unknown IO ID 44"} 
[2026-07-01 11:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418303232001,"power":28028,"unknown_30":206,"unknown_83":41728,"ignition":57,"odometer":null,"unknown_44":-519673145549686784}} 
[2026-07-01 11:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":118934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:05:05] local.INFO: GPS data processed {"connection_id":118934,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:05:05] local.INFO: Acknowledgment sent {"connection_id":118934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:05:23] local.INFO: TCP Data received {"connection_id":120806,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:05:23] local.INFO: Processing buffer {"connection_id":120806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:05:23] local.INFO: IMEI packet received {"connection_id":120806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 11:05:23] local.INFO: IMEI acknowledgment sent {"connection_id":120806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:05:26] local.INFO: TCP Data received {"connection_id":120806,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:05:26] local.INFO: Processing buffer {"connection_id":120806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:05:26] local.INFO: IMEI packet received {"connection_id":120806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":120806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:05:30] local.INFO: TCP Data received {"connection_id":120806,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:05:30] local.INFO: Processing buffer {"connection_id":120806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:05:30] local.INFO: IMEI packet received {"connection_id":120806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":120806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:05:31] local.INFO: TCP Data received {"connection_id":120806,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c2bfe28012cf7d9c007099b380010013f27..."} 
[2026-07-01 11:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c2bfe28012cf7d9c007099b380010013f27..."} 
[2026-07-01 11:05:31] local.INFO: Processing buffer {"connection_id":120806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c2bfe28012cf7d9c007099b380010013f27..."} 
[2026-07-01 11:05:31] local.INFO: Packet analysis {"connection_id":120806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c2b"} 
[2026-07-01 11:05:31] local.INFO: Extracted packet for processing {"connection_id":120806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c2b"} 
[2026-07-01 11:05:31] local.INFO: GPS Element Parsed {"raw_longitude":754440640,"raw_latitude":118070072,"longitude_deg":75.444064,"latitude_deg":11.8070072,"altitude":16,"angle":319,"satellites":39,"speed":61,"hex_longitude":"2cf7d9c0","hex_latitude":"07099b38","is_valid_coordinates":true} 
[2026-07-01 11:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418321152001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333247246936047616,"note":"Value kept but may cause issues"} 
[2026-07-01 11:05:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-580682846729930752,"note":"Value kept but may cause issues"} 
[2026-07-01 11:05:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782884073000,"timestamp_ms":1782884073000,"timestamp_seconds":1782884073,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c2bfe28"} 
[2026-07-01 11: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-01 11:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-01 11:05:31] 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-01 11: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-01 11: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-01 11:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":120806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":120806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":120806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:05:31] 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-01 11:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418321152001,"66":27908,"31":206,"83":41728,"24":61,"16":333247246936047616,"44":-580682846729930752},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,44]} 
[2026-07-01 11:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418321152001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:05:31] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-01 11:05:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 11:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333247246936047616,"km_value":333247246936047.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:05:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-580682846729930752,"description":"Unknown IO ID 44"} 
[2026-07-01 11:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418321152001,"power":27908,"unknown_31":206,"unknown_83":41728,"ignition":61,"odometer":null,"unknown_44":-580682846729930752}} 
[2026-07-01 11:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":120806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:05:31] local.INFO: GPS data processed {"connection_id":120806,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:05:31] local.INFO: Acknowledgment sent {"connection_id":120806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:05:31] local.INFO: TCP Data received {"connection_id":120806,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c2c1598012cf7c2c00709b6d8000e013f27..."} 
[2026-07-01 11:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c2c1598012cf7c2c00709b6d8000e013f27..."} 
[2026-07-01 11:05:31] local.INFO: Processing buffer {"connection_id":120806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c2c1598012cf7c2c00709b6d8000e013f27..."} 
[2026-07-01 11:05:31] local.INFO: Packet analysis {"connection_id":120806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c2c"} 
[2026-07-01 11:05:31] local.INFO: Extracted packet for processing {"connection_id":120806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c2c"} 
[2026-07-01 11:05:31] local.INFO: GPS Element Parsed {"raw_longitude":754434752,"raw_latitude":118077144,"longitude_deg":75.4434752,"latitude_deg":11.8077144,"altitude":14,"angle":319,"satellites":39,"speed":60,"hex_longitude":"2cf7c2c0","hex_latitude":"0709b6d8","is_valid_coordinates":true} 
[2026-07-01 11:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418322688001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333247689317679104,"note":"Value kept but may cause issues"} 
[2026-07-01 11:05:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-587227139936667648,"note":"Value kept but may cause issues"} 
[2026-07-01 11:05:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782884079000,"timestamp_ms":1782884079000,"timestamp_seconds":1782884079,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c2c1598"} 
[2026-07-01 11: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-01 11:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 11:05:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11: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-01 11: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-01 11:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":120806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":120806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":120806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:05:31] 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-01 11:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418322688001,"66":27843,"12":206,"83":41728,"24":60,"16":333247689317679104,"44":-587227139936667648},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-07-01 11:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418322688001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:05:31] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-07-01 11:05:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 11:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333247689317679104,"km_value":333247689317679.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:05:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-587227139936667648,"description":"Unknown IO ID 44"} 
[2026-07-01 11:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418322688001,"power":27843,"unknown_12":206,"unknown_83":41728,"ignition":60,"odometer":null,"unknown_44":-587227139936667648}} 
[2026-07-01 11:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":120806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:05:31] local.INFO: GPS data processed {"connection_id":120806,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:05:31] local.INFO: Acknowledgment sent {"connection_id":120806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:06:02] local.INFO: TCP Data received {"connection_id":120806,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c2c2d08012cf7ab800709d198000c013e26..."} 
[2026-07-01 11:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c2c2d08012cf7ab800709d198000c013e26..."} 
[2026-07-01 11:06:02] local.INFO: Processing buffer {"connection_id":120806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c2c2d08012cf7ab800709d198000c013e26..."} 
[2026-07-01 11:06:02] local.INFO: Packet analysis {"connection_id":120806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c2c"} 
[2026-07-01 11:06:02] local.INFO: Extracted packet for processing {"connection_id":120806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c2c"} 
[2026-07-01 11:06:02] local.INFO: GPS Element Parsed {"raw_longitude":754428800,"raw_latitude":118083992,"longitude_deg":75.44288,"latitude_deg":11.8083992,"altitude":12,"angle":318,"satellites":38,"speed":58,"hex_longitude":"2cf7ab80","hex_latitude":"0709d198","is_valid_coordinates":true} 
[2026-07-01 11:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418324224001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333248127404343296,"note":"Value kept but may cause issues"} 
[2026-07-01 11:06:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-593701064399202304,"note":"Value kept but may cause issues"} 
[2026-07-01 11:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782884085000,"timestamp_ms":1782884085000,"timestamp_seconds":1782884085,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c2c2d08"} 
[2026-07-01 11:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:06:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 11:06:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11:06:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":120806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":120806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":120806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:06:02] 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-01 11:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418324224001,"66":27865,"12":206,"83":41728,"24":58,"16":333248127404343296,"44":-593701064399202304},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-07-01 11:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418324224001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:06:02] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-07-01 11:06:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 11:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333248127404343296,"km_value":333248127404343.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:06:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-593701064399202304,"description":"Unknown IO ID 44"} 
[2026-07-01 11:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418324224001,"power":27865,"unknown_12":206,"unknown_83":41728,"ignition":58,"odometer":null,"unknown_44":-593701064399202304}} 
[2026-07-01 11:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":120806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:06:02] local.INFO: GPS data processed {"connection_id":120806,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:06:02] local.INFO: Acknowledgment sent {"connection_id":120806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:06:21] local.INFO: TCP Data received {"connection_id":118936,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:06:21] local.INFO: Processing buffer {"connection_id":118936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:06:21] local.INFO: IMEI packet received {"connection_id":118936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 11:06:21] local.INFO: IMEI acknowledgment sent {"connection_id":118936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:06:22] local.INFO: TCP Data received {"connection_id":118936,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:06:22] local.INFO: Processing buffer {"connection_id":118936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:06:22] local.INFO: IMEI packet received {"connection_id":118936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:06:22] local.INFO: IMEI acknowledgment sent {"connection_id":118936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:06:27] local.INFO: TCP Data received {"connection_id":118936,"ip":"42.106.6.31","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f1c..."} 
[2026-07-01 11:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118936,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f1c..."} 
[2026-07-01 11:06:27] local.INFO: Processing buffer {"connection_id":118936,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f1c..."} 
[2026-07-01 11:06:27] local.INFO: IMEI packet received {"connection_id":118936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":118936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:06:31] local.INFO: TCP Data received {"connection_id":118936,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c2c67a0012cf77740070a0a18000f013e27..."} 
[2026-07-01 11:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c2c67a0012cf77740070a0a18000f013e27..."} 
[2026-07-01 11:06:31] local.INFO: Processing buffer {"connection_id":118936,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f1c2c4860012cf791400709ed50000c013c25..."} 
[2026-07-01 11:06:31] local.INFO: Packet analysis {"connection_id":118936,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f1c2c"} 
[2026-07-01 11:06:31] local.INFO: Extracted packet for processing {"connection_id":118936,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c2c"} 
[2026-07-01 11:06:31] local.INFO: GPS Element Parsed {"raw_longitude":754422080,"raw_latitude":118091088,"longitude_deg":75.442208,"latitude_deg":11.8091088,"altitude":12,"angle":316,"satellites":37,"speed":51,"hex_longitude":"2cf79140","hex_latitude":"0709ed50","is_valid_coordinates":true} 
[2026-07-01 11:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418325760001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333248595555778560,"note":"Value kept but may cause issues"} 
[2026-07-01 11:06:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-600245357605971968,"note":"Value kept but may cause issues"} 
[2026-07-01 11:06:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782884092000,"timestamp_ms":1782884092000,"timestamp_seconds":1782884092,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c2c4860"} 
[2026-07-01 11:06:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:06:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 11:06:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11:06:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:06:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":118936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":118936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":118936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:06:31] 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-01 11:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418325760001,"66":27865,"12":206,"83":41728,"24":51,"16":333248595555778560,"44":-600245357605971968},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-07-01 11:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418325760001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:06:31] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-07-01 11:06:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 11:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333248595555778560,"km_value":333248595555778.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:06:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-600245357605971968,"description":"Unknown IO ID 44"} 
[2026-07-01 11:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418325760001,"power":27865,"unknown_12":206,"unknown_83":41728,"ignition":51,"odometer":null,"unknown_44":-600245357605971968}} 
[2026-07-01 11:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":118936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:06:31] local.INFO: GPS data processed {"connection_id":118936,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:06:31] local.INFO: Acknowledgment sent {"connection_id":118936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:06:31] local.INFO: Packet analysis {"connection_id":118936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c2c"} 
[2026-07-01 11:06:31] local.INFO: Extracted packet for processing {"connection_id":118936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c2c"} 
[2026-07-01 11:06:31] local.INFO: GPS Element Parsed {"raw_longitude":754415424,"raw_latitude":118098456,"longitude_deg":75.4415424,"latitude_deg":11.8098456,"altitude":15,"angle":318,"satellites":39,"speed":49,"hex_longitude":"2cf77740","hex_latitude":"070a0a18","is_valid_coordinates":true} 
[2026-07-01 11:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418327552001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333249072297148416,"note":"Value kept but may cause issues"} 
[2026-07-01 11:06:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-607634075742810112,"note":"Value kept but may cause issues"} 
[2026-07-01 11:06:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782884100000,"timestamp_ms":1782884100000,"timestamp_seconds":1782884100,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c2c67a0"} 
[2026-07-01 11:06:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:06:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 11:06:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11:06:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:06:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":118936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":118936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":118936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:06:31] 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-01 11:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418327552001,"66":27908,"12":206,"83":41728,"24":49,"16":333249072297148416,"44":-607634075742810112},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-07-01 11:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418327552001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:06:31] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-07-01 11:06:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 11:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333249072297148416,"km_value":333249072297148.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:06:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-607634075742810112,"description":"Unknown IO ID 44"} 
[2026-07-01 11:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418327552001,"power":27908,"unknown_12":206,"unknown_83":41728,"ignition":49,"odometer":null,"unknown_44":-607634075742810112}} 
[2026-07-01 11:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":118936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:06:31] local.INFO: GPS data processed {"connection_id":118936,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:06:31] local.INFO: Acknowledgment sent {"connection_id":118936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:06:32] local.INFO: TCP Data received {"connection_id":118936,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c2c86e0012cf75e00070a27e0000f014128..."} 
[2026-07-01 11:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c2c86e0012cf75e00070a27e0000f014128..."} 
[2026-07-01 11:06:32] local.INFO: Processing buffer {"connection_id":118936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c2c86e0012cf75e00070a27e0000f014128..."} 
[2026-07-01 11:06:32] local.INFO: Packet analysis {"connection_id":118936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c2c"} 
[2026-07-01 11:06:32] local.INFO: Extracted packet for processing {"connection_id":118936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c2c"} 
[2026-07-01 11:06:32] local.INFO: GPS Element Parsed {"raw_longitude":754408960,"raw_latitude":118106080,"longitude_deg":75.440896,"latitude_deg":11.810608,"altitude":15,"angle":321,"satellites":40,"speed":50,"hex_longitude":"2cf75e00","hex_latitude":"070a27e0","is_valid_coordinates":true} 
[2026-07-01 11:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418329600001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333249553333485568,"note":"Value kept but may cause issues"} 
[2026-07-01 11:06:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-614952425135400960,"note":"Value kept but may cause issues"} 
[2026-07-01 11:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782884108000,"timestamp_ms":1782884108000,"timestamp_seconds":1782884108,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c2c86e0"} 
[2026-07-01 11:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:06:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 11:06:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11:06:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":118936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":118936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":118936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 11:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418329600001,"66":27691,"12":206,"83":41728,"24":50,"16":333249553333485568,"44":-614952425135400960},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-07-01 11:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418329600001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:06:32] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-07-01 11:06:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 11:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333249553333485568,"km_value":333249553333485.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:06:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-614952425135400960,"description":"Unknown IO ID 44"} 
[2026-07-01 11:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418329600001,"power":27691,"unknown_12":206,"unknown_83":41728,"ignition":50,"odometer":null,"unknown_44":-614952425135400960}} 
[2026-07-01 11:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":118936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:06:32] local.INFO: GPS data processed {"connection_id":118936,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:06:32] local.INFO: Acknowledgment sent {"connection_id":118936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:06:41] local.INFO: TCP Data received {"connection_id":118935,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118935,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:06:41] local.INFO: Processing buffer {"connection_id":118935,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:06:41] local.INFO: IMEI packet received {"connection_id":118935,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 11:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":118935,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:07:03] local.INFO: TCP Data received {"connection_id":118936,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c2ca238012cf74700070a4340000f013f28..."} 
[2026-07-01 11:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c2ca238012cf74700070a4340000f013f28..."} 
[2026-07-01 11:07:03] local.INFO: Processing buffer {"connection_id":118936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c2ca238012cf74700070a4340000f013f28..."} 
[2026-07-01 11:07:03] local.INFO: Packet analysis {"connection_id":118936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c2c"} 
[2026-07-01 11:07:03] local.INFO: Extracted packet for processing {"connection_id":118936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c2c"} 
[2026-07-01 11:07:03] local.INFO: GPS Element Parsed {"raw_longitude":754403072,"raw_latitude":118113088,"longitude_deg":75.4403072,"latitude_deg":11.8113088,"altitude":15,"angle":319,"satellites":40,"speed":52,"hex_longitude":"2cf74700","hex_latitude":"070a4340","is_valid_coordinates":true} 
[2026-07-01 11:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418331648001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333249991420149760,"note":"Value kept but may cause issues"} 
[2026-07-01 11:07:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-622059668295393280,"note":"Value kept but may cause issues"} 
[2026-07-01 11:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782884115000,"timestamp_ms":1782884115000,"timestamp_seconds":1782884115,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c2ca238"} 
[2026-07-01 11:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:07:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-01 11:07:03] 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-01 11:07:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":118936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":118936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":118936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:07:03] 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-01 11:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418331648001,"66":27713,"12":206,"83":41728,"24":52,"16":333249991420149760,"44":-622059668295393280},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-07-01 11:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418331648001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:07:03] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-07-01 11:07:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 11:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333249991420149760,"km_value":333249991420149.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:07:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-622059668295393280,"description":"Unknown IO ID 44"} 
[2026-07-01 11:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418331648001,"power":27713,"unknown_12":206,"unknown_83":41728,"ignition":52,"odometer":null,"unknown_44":-622059668295393280}} 
[2026-07-01 11:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":118936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:07:03] local.INFO: GPS data processed {"connection_id":118936,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:07:03] local.INFO: Acknowledgment sent {"connection_id":118936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:07:20] local.INFO: TCP Data received {"connection_id":119051,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119051,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:07:20] local.INFO: Processing buffer {"connection_id":119051,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:07:20] local.INFO: IMEI packet received {"connection_id":119051,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 11:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":119051,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:07:21] local.INFO: TCP Data received {"connection_id":119050,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:07:21] local.INFO: Processing buffer {"connection_id":119050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:07:21] local.INFO: IMEI packet received {"connection_id":119050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 11:07:21] local.INFO: IMEI acknowledgment sent {"connection_id":119050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:07:26] local.INFO: TCP Data received {"connection_id":119050,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:07:26] local.INFO: Processing buffer {"connection_id":119050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:07:26] local.INFO: IMEI packet received {"connection_id":119050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":119050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:07:27] local.INFO: TCP Data received {"connection_id":119050,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c2cbd90012cf72fc0070a6048000e014228..."} 
[2026-07-01 11:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c2cbd90012cf72fc0070a6048000e014228..."} 
[2026-07-01 11:07:27] local.INFO: Processing buffer {"connection_id":119050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c2cbd90012cf72fc0070a6048000e014228..."} 
[2026-07-01 11:07:27] local.INFO: Packet analysis {"connection_id":119050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c2c"} 
[2026-07-01 11:07:27] local.INFO: Extracted packet for processing {"connection_id":119050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c2c"} 
[2026-07-01 11:07:27] local.INFO: GPS Element Parsed {"raw_longitude":754397120,"raw_latitude":118120520,"longitude_deg":75.439712,"latitude_deg":11.812052,"altitude":14,"angle":322,"satellites":40,"speed":54,"hex_longitude":"2cf72fc0","hex_latitude":"070a6048","is_valid_coordinates":true} 
[2026-07-01 11:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:07:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418333440001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:07:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333250450981650432,"note":"Value kept but may cause issues"} 
[2026-07-01 11:07:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-628533592757944320,"note":"Value kept but may cause issues"} 
[2026-07-01 11:07:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:07:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782884122000,"timestamp_ms":1782884122000,"timestamp_seconds":1782884122,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c2cbd90"} 
[2026-07-01 11:07:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:07:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-01 11:07:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11:07:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:07:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:07:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:07:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:07:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:07:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:07:27] 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-01 11:07:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:07:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:07:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418333440001,"66":27843,"12":206,"83":41728,"24":54,"16":333250450981650432,"44":-628533592757944320},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-07-01 11:07:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:07:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:07:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418333440001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:07:27] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-07-01 11:07:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 11:07:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333250450981650432,"km_value":333250450981650.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:07:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-628533592757944320,"description":"Unknown IO ID 44"} 
[2026-07-01 11:07:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418333440001,"power":27843,"unknown_12":206,"unknown_83":41728,"ignition":54,"odometer":null,"unknown_44":-628533592757944320}} 
[2026-07-01 11:07:27] local.INFO: DEBUG: GPS processor result {"connection_id":119050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:07:27] local.INFO: GPS data processed {"connection_id":119050,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:07:27] local.INFO: Acknowledgment sent {"connection_id":119050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:07:58] local.INFO: TCP Data received {"connection_id":119050,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c2cd8e8012cf71800070a7e20000d014127..."} 
[2026-07-01 11:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c2cd8e8012cf71800070a7e20000d014127..."} 
[2026-07-01 11:07:58] local.INFO: Processing buffer {"connection_id":119050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c2cd8e8012cf71800070a7e20000d014127..."} 
[2026-07-01 11:07:58] local.INFO: Packet analysis {"connection_id":119050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c2c"} 
[2026-07-01 11:07:58] local.INFO: Extracted packet for processing {"connection_id":119050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c2c"} 
[2026-07-01 11:07:58] local.INFO: GPS Element Parsed {"raw_longitude":754391040,"raw_latitude":118128160,"longitude_deg":75.439104,"latitude_deg":11.812816,"altitude":13,"angle":321,"satellites":39,"speed":56,"hex_longitude":"2cf71800","hex_latitude":"070a7e20","is_valid_coordinates":true} 
[2026-07-01 11:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:07:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418335232001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:07:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333250919133085696,"note":"Value kept but may cause issues"} 
[2026-07-01 11:07:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-635077885964564480,"note":"Value kept but may cause issues"} 
[2026-07-01 11:07:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:07:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782884129000,"timestamp_ms":1782884129000,"timestamp_seconds":1782884129,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c2cd8e8"} 
[2026-07-01 11:07:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:07:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 11:07:58] 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-01 11:07:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:07:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:07:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:07:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:07:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:07:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:07:58] 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-01 11:07:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:07:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:07:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418335232001,"66":27865,"12":206,"83":41728,"24":56,"16":333250919133085696,"44":-635077885964564480},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-07-01 11:07:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:07:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:07:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418335232001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:07:58] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-07-01 11:07:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 11:07:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333250919133085696,"km_value":333250919133085.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:07:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-635077885964564480,"description":"Unknown IO ID 44"} 
[2026-07-01 11:07:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418335232001,"power":27865,"unknown_12":206,"unknown_83":41728,"ignition":56,"odometer":null,"unknown_44":-635077885964564480}} 
[2026-07-01 11:07:58] local.INFO: DEBUG: GPS processor result {"connection_id":119050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:07:58] local.INFO: GPS data processed {"connection_id":119050,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:07:58] local.INFO: Acknowledgment sent {"connection_id":119050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:08:21] local.INFO: TCP Data received {"connection_id":118937,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:08:21] local.INFO: Processing buffer {"connection_id":118937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:08:21] local.INFO: IMEI packet received {"connection_id":118937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 11:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":118937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:08:26] local.INFO: TCP Data received {"connection_id":118937,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:08:26] local.INFO: Processing buffer {"connection_id":118937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:08:26] local.INFO: IMEI packet received {"connection_id":118937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":118937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:08:27] local.INFO: TCP Data received {"connection_id":118937,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c2cf440012cf6ffc0070a9d30000c014326..."} 
[2026-07-01 11:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c2cf440012cf6ffc0070a9d30000c014326..."} 
[2026-07-01 11:08:27] local.INFO: Processing buffer {"connection_id":118937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c2cf440012cf6ffc0070a9d30000c014326..."} 
[2026-07-01 11:08:27] local.INFO: Packet analysis {"connection_id":118937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c2c"} 
[2026-07-01 11:08:27] local.INFO: Extracted packet for processing {"connection_id":118937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c2c"} 
[2026-07-01 11:08:27] local.INFO: GPS Element Parsed {"raw_longitude":754384832,"raw_latitude":118136112,"longitude_deg":75.4384832,"latitude_deg":11.8136112,"altitude":12,"angle":323,"satellites":38,"speed":57,"hex_longitude":"2cf6ffc0","hex_latitude":"070a9d30","is_valid_coordinates":true} 
[2026-07-01 11:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:08:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418337024001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:08:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333251404464390144,"note":"Value kept but may cause issues"} 
[2026-07-01 11:08:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-641762916659486720,"note":"Value kept but may cause issues"} 
[2026-07-01 11:08:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:08:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782884136000,"timestamp_ms":1782884136000,"timestamp_seconds":1782884136,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c2cf440"} 
[2026-07-01 11:08:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:08:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 11:08:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11:08:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:08:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:08:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:08:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:08:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:08:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:08:27] 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-01 11:08:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:08:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:08:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418337024001,"66":28006,"13":206,"83":41728,"24":57,"16":333251404464390144,"44":-641762916659486720},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,83,24,16,44]} 
[2026-07-01 11:08:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:08:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:08:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418337024001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:08:27] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-07-01 11:08:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 11:08:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333251404464390144,"km_value":333251404464390.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:08:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-641762916659486720,"description":"Unknown IO ID 44"} 
[2026-07-01 11:08:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418337024001,"power":28006,"unknown_13":206,"unknown_83":41728,"ignition":57,"odometer":null,"unknown_44":-641762916659486720}} 
[2026-07-01 11:08:27] local.INFO: DEBUG: GPS processor result {"connection_id":118937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:08:27] local.INFO: GPS data processed {"connection_id":118937,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:08:27] local.INFO: Acknowledgment sent {"connection_id":118937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:08:58] local.INFO: TCP Data received {"connection_id":118937,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c2d0bb0012cf6eb00070ab9b0000b014427..."} 
[2026-07-01 11:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c2d0bb0012cf6eb00070ab9b0000b014427..."} 
[2026-07-01 11:08:58] local.INFO: Processing buffer {"connection_id":118937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c2d0bb0012cf6eb00070ab9b0000b014427..."} 
[2026-07-01 11:08:58] local.INFO: Packet analysis {"connection_id":118937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c2d"} 
[2026-07-01 11:08:58] local.INFO: Extracted packet for processing {"connection_id":118937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c2d"} 
[2026-07-01 11:08:58] local.INFO: GPS Element Parsed {"raw_longitude":754379520,"raw_latitude":118143408,"longitude_deg":75.437952,"latitude_deg":11.8143408,"altitude":11,"angle":324,"satellites":39,"speed":61,"hex_longitude":"2cf6eb00","hex_latitude":"070ab9b0","is_valid_coordinates":true} 
[2026-07-01 11: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-01 11:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418338816001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333251838256087040,"note":"Value kept but may cause issues"} 
[2026-07-01 11:08:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-648588684842684416,"note":"Value kept but may cause issues"} 
[2026-07-01 11:08:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782884142000,"timestamp_ms":1782884142000,"timestamp_seconds":1782884142,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c2d0bb0"} 
[2026-07-01 11: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-01 11:08:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-01 11:08:58] 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-01 11: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-01 11: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-01 11:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:08:58] 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-01 11:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418338816001,"66":27832,"13":206,"83":41728,"24":61,"16":333251838256087040,"44":-648588684842684416},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,83,24,16,44]} 
[2026-07-01 11:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418338816001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:08:58] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-07-01 11:08:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 11:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333251838256087040,"km_value":333251838256087.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:08:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-648588684842684416,"description":"Unknown IO ID 44"} 
[2026-07-01 11:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418338816001,"power":27832,"unknown_13":206,"unknown_83":41728,"ignition":61,"odometer":null,"unknown_44":-648588684842684416}} 
[2026-07-01 11:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":118937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:08:58] local.INFO: GPS data processed {"connection_id":118937,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:08:58] local.INFO: Acknowledgment sent {"connection_id":118937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:09:21] local.INFO: TCP Data received {"connection_id":120809,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:09:21] local.INFO: Processing buffer {"connection_id":120809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:09:21] local.INFO: IMEI packet received {"connection_id":120809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 11:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":120809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:09:26] local.INFO: TCP Data received {"connection_id":120809,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:09:26] local.INFO: Processing buffer {"connection_id":120809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:09:26] local.INFO: IMEI packet received {"connection_id":120809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":120809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:09:27] local.INFO: TCP Data received {"connection_id":120809,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c2d2708012cf6d440070ada30000a014427..."} 
[2026-07-01 11:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c2d2708012cf6d440070ada30000a014427..."} 
[2026-07-01 11:09:27] local.INFO: Processing buffer {"connection_id":120809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c2d2708012cf6d440070ada30000a014427..."} 
[2026-07-01 11:09:27] local.INFO: Packet analysis {"connection_id":120809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c2d"} 
[2026-07-01 11:09:27] local.INFO: Extracted packet for processing {"connection_id":120809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c2d"} 
[2026-07-01 11:09:27] local.INFO: GPS Element Parsed {"raw_longitude":754373696,"raw_latitude":118151728,"longitude_deg":75.4373696,"latitude_deg":11.8151728,"altitude":10,"angle":324,"satellites":39,"speed":53,"hex_longitude":"2cf6d440","hex_latitude":"070ada30","is_valid_coordinates":true} 
[2026-07-01 11:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418340352001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333252327882358784,"note":"Value kept but may cause issues"} 
[2026-07-01 11:09:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-654429290607562752,"note":"Value kept but may cause issues"} 
[2026-07-01 11:09:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782884149000,"timestamp_ms":1782884149000,"timestamp_seconds":1782884149,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c2d2708"} 
[2026-07-01 11:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:09:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-01 11:09:27] 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-01 11:09:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:09:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 11:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418340352001,"66":27832,"13":206,"83":41728,"24":53,"16":333252327882358784,"44":-654429290607562752},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,83,24,16,44]} 
[2026-07-01 11:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418340352001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:09:27] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-07-01 11:09:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 11:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333252327882358784,"km_value":333252327882358.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:09:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-654429290607562752,"description":"Unknown IO ID 44"} 
[2026-07-01 11:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418340352001,"power":27832,"unknown_13":206,"unknown_83":41728,"ignition":53,"odometer":null,"unknown_44":-654429290607562752}} 
[2026-07-01 11:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":120809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:09:27] local.INFO: GPS data processed {"connection_id":120809,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:09:27] local.INFO: Acknowledgment sent {"connection_id":120809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:09:58] local.INFO: TCP Data received {"connection_id":120809,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c2d4648012cf6bdc0070af5f8000a013d27..."} 
[2026-07-01 11:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c2d4648012cf6bdc0070af5f8000a013d27..."} 
[2026-07-01 11:09:58] local.INFO: Processing buffer {"connection_id":120809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c2d4648012cf6bdc0070af5f8000a013d27..."} 
[2026-07-01 11:09:58] local.INFO: Packet analysis {"connection_id":120809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c2d"} 
[2026-07-01 11:09:58] local.INFO: Extracted packet for processing {"connection_id":120809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c2d"} 
[2026-07-01 11:09:58] local.INFO: GPS Element Parsed {"raw_longitude":754367936,"raw_latitude":118158840,"longitude_deg":75.4367936,"latitude_deg":11.815884,"altitude":10,"angle":317,"satellites":39,"speed":40,"hex_longitude":"2cf6bdc0","hex_latitude":"070af5f8","is_valid_coordinates":true} 
[2026-07-01 11: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-01 11:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418342144001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:09:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-660832846325600256,"note":"Value kept but may cause issues"} 
[2026-07-01 11:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333252770263990272,"note":"Value kept but may cause issues"} 
[2026-07-01 11:09:58] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-01 11:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782884157000,"timestamp_ms":1782884157000,"timestamp_seconds":1782884157,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c2d4648"} 
[2026-07-01 11: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-01 11:09:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-01 11:09:58] 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-01 11: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-01 11: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-01 11:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:09:58] 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-01 11:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418342144001,"66":28028,"44":-660832846325600256,"83":41728,"24":40,"16":333252770263990272},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-07-01 11:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418342144001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:09:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-660832846325600256,"description":"Unknown IO ID 44"} 
[2026-07-01 11:09:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 11:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333252770263990272,"km_value":333252770263990.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:09:58] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456418342144001,"power":28028,"unknown_44":-660832846325600256,"unknown_83":41728,"ignition":40,"odometer":null}} 
[2026-07-01 11:09:58] local.INFO: DEBUG: GPS processor result {"connection_id":120809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:09:58] local.INFO: GPS data processed {"connection_id":120809,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:09:58] local.INFO: Acknowledgment sent {"connection_id":120809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:10:21] local.INFO: TCP Data received {"connection_id":118939,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:10:21] local.INFO: Processing buffer {"connection_id":118939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:10:21] local.INFO: IMEI packet received {"connection_id":118939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 11:10:21] local.INFO: IMEI acknowledgment sent {"connection_id":118939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:10:26] local.INFO: TCP Data received {"connection_id":118939,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:10:26] local.INFO: Processing buffer {"connection_id":118939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:10:26] local.INFO: IMEI packet received {"connection_id":118939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":118939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:10:27] local.INFO: TCP Data received {"connection_id":118939,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c2d6d58012cf6a680070b1130000a013926..."} 
[2026-07-01 11:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c2d6d58012cf6a680070b1130000a013926..."} 
[2026-07-01 11:10:27] local.INFO: Processing buffer {"connection_id":118939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c2d6d58012cf6a680070b1130000a013926..."} 
[2026-07-01 11:10:27] local.INFO: Packet analysis {"connection_id":118939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c2d"} 
[2026-07-01 11:10:27] local.INFO: Extracted packet for processing {"connection_id":118939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c2d"} 
[2026-07-01 11:10:27] local.INFO: GPS Element Parsed {"raw_longitude":754361984,"raw_latitude":118165808,"longitude_deg":75.4361984,"latitude_deg":11.8165808,"altitude":10,"angle":313,"satellites":38,"speed":26,"hex_longitude":"2cf6a680","hex_latitude":"070b1130","is_valid_coordinates":true} 
[2026-07-01 11:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:10:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418344192001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:10:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-667166033299769344,"note":"Value kept but may cause issues"} 
[2026-07-01 11:10:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333253212645621760,"note":"Value kept but may cause issues"} 
[2026-07-01 11:10:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-01 11:10:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782884167000,"timestamp_ms":1782884167000,"timestamp_seconds":1782884167,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c2d6d58"} 
[2026-07-01 11:10:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:10:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-01 11:10:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11:10:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:10:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:10:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:10:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:10:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:10:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:10:27] 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-01 11:10:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:10:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:10:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418344192001,"66":28006,"44":-667166033299769344,"83":41728,"24":26,"16":333253212645621760},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-07-01 11:10:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:10:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:10:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418344192001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:10:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-667166033299769344,"description":"Unknown IO ID 44"} 
[2026-07-01 11:10:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 11:10:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333253212645621760,"km_value":333253212645621.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:10:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456418344192001,"power":28006,"unknown_44":-667166033299769344,"unknown_83":41728,"ignition":26,"odometer":null}} 
[2026-07-01 11:10:27] local.INFO: DEBUG: GPS processor result {"connection_id":118939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:10:27] local.INFO: GPS data processed {"connection_id":118939,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:10:27] local.INFO: Acknowledgment sent {"connection_id":118939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:10:58] local.INFO: TCP Data received {"connection_id":118939,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c2da408012cf68bc0070b2a780009013b25..."} 
[2026-07-01 11:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c2da408012cf68bc0070b2a780009013b25..."} 
[2026-07-01 11:10:58] local.INFO: Processing buffer {"connection_id":118939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c2da408012cf68bc0070b2a780009013b25..."} 
[2026-07-01 11:10:58] local.INFO: Packet analysis {"connection_id":118939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c2d"} 
[2026-07-01 11:10:58] local.INFO: Extracted packet for processing {"connection_id":118939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c2d"} 
[2026-07-01 11:10:58] local.INFO: GPS Element Parsed {"raw_longitude":754355136,"raw_latitude":118172280,"longitude_deg":75.4355136,"latitude_deg":11.817228,"altitude":9,"angle":315,"satellites":37,"speed":31,"hex_longitude":"2cf68bc0","hex_latitude":"070b2a78","is_valid_coordinates":true} 
[2026-07-01 11: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-01 11:10:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418346752001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:10:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-673710326506508288,"note":"Value kept but may cause issues"} 
[2026-07-01 11:10:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333253663617187840,"note":"Value kept but may cause issues"} 
[2026-07-01 11:10:58] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-01 11:10:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782884181000,"timestamp_ms":1782884181000,"timestamp_seconds":1782884181,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c2da408"} 
[2026-07-01 11: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-01 11:10:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-01 11:10:58] 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-01 11: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-01 11: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-01 11:10:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:10:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:10:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:10:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:10:58] 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-01 11:10:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:10:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:10:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418346752001,"66":27974,"44":-673710326506508288,"83":41728,"24":31,"16":333253663617187840},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-07-01 11:10:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:10:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:10:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418346752001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:10:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-673710326506508288,"description":"Unknown IO ID 44"} 
[2026-07-01 11:10:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 11:10:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333253663617187840,"km_value":333253663617187.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:10:58] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456418346752001,"power":27974,"unknown_44":-673710326506508288,"unknown_83":41728,"ignition":31,"odometer":null}} 
[2026-07-01 11:10:58] local.INFO: DEBUG: GPS processor result {"connection_id":118939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:10:58] local.INFO: GPS data processed {"connection_id":118939,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:10:58] local.INFO: Acknowledgment sent {"connection_id":118939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:11:26] local.INFO: TCP Data received {"connection_id":120811,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:11:26] local.INFO: Processing buffer {"connection_id":120811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:11:26] local.INFO: IMEI packet received {"connection_id":120811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 11:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":120811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:11:31] local.INFO: TCP Data received {"connection_id":120811,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:11:31] local.INFO: Processing buffer {"connection_id":120811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:11:31] local.INFO: IMEI packet received {"connection_id":120811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":120811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:11:32] local.INFO: TCP Data received {"connection_id":120811,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c2dcb18012cf67080070b46280009013926..."} 
[2026-07-01 11:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c2dcb18012cf67080070b46280009013926..."} 
[2026-07-01 11:11:32] local.INFO: Processing buffer {"connection_id":120811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c2dcb18012cf67080070b46280009013926..."} 
[2026-07-01 11:11:32] local.INFO: Packet analysis {"connection_id":120811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c2d"} 
[2026-07-01 11:11:32] local.INFO: Extracted packet for processing {"connection_id":120811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c2d"} 
[2026-07-01 11:11:32] local.INFO: GPS Element Parsed {"raw_longitude":754348160,"raw_latitude":118179368,"longitude_deg":75.434816,"latitude_deg":11.8179368,"altitude":9,"angle":313,"satellites":38,"speed":43,"hex_longitude":"2cf67080","hex_latitude":"070b4628","is_valid_coordinates":true} 
[2026-07-01 11:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418350336001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:11:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-681239782131861504,"note":"Value kept but may cause issues"} 
[2026-07-01 11:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333254140358557696,"note":"Value kept but may cause issues"} 
[2026-07-01 11:11:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-01 11:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782884191000,"timestamp_ms":1782884191000,"timestamp_seconds":1782884191,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c2dcb18"} 
[2026-07-01 11:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-01 11:11:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11:11:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":120811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":120811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":120811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 11:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418350336001,"66":27930,"44":-681239782131861504,"83":41728,"24":43,"16":333254140358557696},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-07-01 11:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418350336001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:11:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-681239782131861504,"description":"Unknown IO ID 44"} 
[2026-07-01 11:11:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 11:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333254140358557696,"km_value":333254140358557.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:11:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456418350336001,"power":27930,"unknown_44":-681239782131861504,"unknown_83":41728,"ignition":43,"odometer":null}} 
[2026-07-01 11:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":120811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:11:32] local.INFO: GPS data processed {"connection_id":120811,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:11:32] local.INFO: Acknowledgment sent {"connection_id":120811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:11:36] local.INFO: TCP Data received {"connection_id":120811,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c2dee40012cf65780070b5f480009013e27..."} 
[2026-07-01 11:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c2dee40012cf65780070b5f480009013e27..."} 
[2026-07-01 11:11:36] local.INFO: Processing buffer {"connection_id":120811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c2dee40012cf65780070b5f480009013e27..."} 
[2026-07-01 11:11:36] local.INFO: Packet analysis {"connection_id":120811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c2d"} 
[2026-07-01 11:11:36] local.INFO: Extracted packet for processing {"connection_id":120811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c2d"} 
[2026-07-01 11:11:36] local.INFO: GPS Element Parsed {"raw_longitude":754341760,"raw_latitude":118185800,"longitude_deg":75.434176,"latitude_deg":11.81858,"altitude":9,"angle":318,"satellites":39,"speed":37,"hex_longitude":"2cf65780","hex_latitude":"070b5f48","is_valid_coordinates":true} 
[2026-07-01 11:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418352896001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:11:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-688909975245412352,"note":"Value kept but may cause issues"} 
[2026-07-01 11:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333254578445221888,"note":"Value kept but may cause issues"} 
[2026-07-01 11:11:36] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-01 11:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782884200000,"timestamp_ms":1782884200000,"timestamp_seconds":1782884200,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c2dee40"} 
[2026-07-01 11:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-01 11:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":120811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":120811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":120811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 11:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418352896001,"66":27995,"44":-688909975245412352,"83":41728,"24":37,"16":333254578445221888},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-07-01 11:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418352896001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:11:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-688909975245412352,"description":"Unknown IO ID 44"} 
[2026-07-01 11:11:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 11:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333254578445221888,"km_value":333254578445221.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:11:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456418352896001,"power":27995,"unknown_44":-688909975245412352,"unknown_83":41728,"ignition":37,"odometer":null}} 
[2026-07-01 11:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":120811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:11:36] local.INFO: GPS data processed {"connection_id":120811,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:11:36] local.INFO: Acknowledgment sent {"connection_id":120811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:12:21] local.INFO: TCP Data received {"connection_id":118940,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:12:21] local.INFO: Processing buffer {"connection_id":118940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:12:21] local.INFO: IMEI packet received {"connection_id":118940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 11:12:21] local.INFO: IMEI acknowledgment sent {"connection_id":118940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:12:26] local.INFO: TCP Data received {"connection_id":118940,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:12:26] local.INFO: Processing buffer {"connection_id":118940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:12:26] local.INFO: IMEI packet received {"connection_id":118940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":118940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:12:27] local.INFO: TCP Data received {"connection_id":118940,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c2e1550012cf63ec0070b7ad80008013d27..."} 
[2026-07-01 11:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c2e1550012cf63ec0070b7ad80008013d27..."} 
[2026-07-01 11:12:27] local.INFO: Processing buffer {"connection_id":118940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c2e1550012cf63ec0070b7ad80008013d27..."} 
[2026-07-01 11:12:27] local.INFO: Packet analysis {"connection_id":118940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c2e"} 
[2026-07-01 11:12:27] local.INFO: Extracted packet for processing {"connection_id":118940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c2e"} 
[2026-07-01 11:12:27] local.INFO: GPS Element Parsed {"raw_longitude":754335424,"raw_latitude":118192856,"longitude_deg":75.4335424,"latitude_deg":11.8192856,"altitude":8,"angle":317,"satellites":39,"speed":33,"hex_longitude":"2cf63ec0","hex_latitude":"070b7ad8","is_valid_coordinates":true} 
[2026-07-01 11:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:12:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418355200001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:12:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-695946849661532160,"note":"Value kept but may cause issues"} 
[2026-07-01 11:12:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333255033711755264,"note":"Value kept but may cause issues"} 
[2026-07-01 11:12:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-01 11:12:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782884210000,"timestamp_ms":1782884210000,"timestamp_seconds":1782884210,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c2e1550"} 
[2026-07-01 11:12:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:12:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-01 11:12:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11:12:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:12:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:12:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:12:27] 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-01 11:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418355200001,"66":28050,"44":-695946849661532160,"83":41728,"24":33,"16":333255033711755264},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-07-01 11:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418355200001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:12:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-695946849661532160,"description":"Unknown IO ID 44"} 
[2026-07-01 11:12:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 11:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333255033711755264,"km_value":333255033711755.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:12:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456418355200001,"power":28050,"unknown_44":-695946849661532160,"unknown_83":41728,"ignition":33,"odometer":null}} 
[2026-07-01 11:12:27] local.INFO: DEBUG: GPS processor result {"connection_id":118940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:12:27] local.INFO: GPS data processed {"connection_id":118940,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:12:27] local.INFO: Acknowledgment sent {"connection_id":118940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:12:41] local.INFO: TCP Data received {"connection_id":119052,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119052,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:12:41] local.INFO: Processing buffer {"connection_id":119052,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:12:41] local.INFO: IMEI packet received {"connection_id":119052,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 11:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":119052,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:13:01] local.INFO: TCP Data received {"connection_id":118940,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c2e6758012cf63340070b87200009013f27..."} 
[2026-07-01 11:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c2e6758012cf63340070b87200009013f27..."} 
[2026-07-01 11:13:01] local.INFO: Processing buffer {"connection_id":118940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c2e6758012cf63340070b87200009013f27..."} 
[2026-07-01 11:13:01] local.INFO: Packet analysis {"connection_id":118940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c2e"} 
[2026-07-01 11:13:01] local.INFO: Extracted packet for processing {"connection_id":118940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c2e"} 
[2026-07-01 11:13:01] local.INFO: GPS Element Parsed {"raw_longitude":754332480,"raw_latitude":118196000,"longitude_deg":75.433248,"latitude_deg":11.8196,"altitude":9,"angle":319,"satellites":39,"speed":0,"hex_longitude":"2cf63340","hex_latitude":"070b8720","is_valid_coordinates":true} 
[2026-07-01 11:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418357760001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:13:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-702913355333314560,"note":"Value kept but may cause issues"} 
[2026-07-01 11:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333255239870185472,"note":"Value kept but may cause issues"} 
[2026-07-01 11:13:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-01 11:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782884231000,"timestamp_ms":1782884231000,"timestamp_seconds":1782884231,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c2e6758"} 
[2026-07-01 11:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:13:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-01 11:13:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11:13:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":118940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":118940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":118940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:13:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 11:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418357760001,"66":28006,"44":-702913355333314560,"83":41728,"24":0,"16":333255239870185472},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-07-01 11:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418357760001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:13:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-702913355333314560,"description":"Unknown IO ID 44"} 
[2026-07-01 11:13:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 11:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333255239870185472,"km_value":333255239870185.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:13:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456418357760001,"power":28006,"unknown_44":-702913355333314560,"unknown_83":41728,"ignition":0,"odometer":null}} 
[2026-07-01 11:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":118940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:13:01] local.INFO: GPS data processed {"connection_id":118940,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:13:01] local.INFO: Acknowledgment sent {"connection_id":118940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:13:15] local.INFO: TCP Data received {"connection_id":120812,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120812,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:13:15] local.INFO: Processing buffer {"connection_id":120812,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:13:15] local.INFO: IMEI packet received {"connection_id":120812,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 11:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":120812,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:13:21] local.INFO: TCP Data received {"connection_id":119053,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:13:21] local.INFO: Processing buffer {"connection_id":119053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:13:21] local.INFO: IMEI packet received {"connection_id":119053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 11:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":119053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:13:26] local.INFO: TCP Data received {"connection_id":119053,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:13:26] local.INFO: Processing buffer {"connection_id":119053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:13:26] local.INFO: IMEI packet received {"connection_id":119053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":119053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:13:26] local.INFO: TCP Data received {"connection_id":119053,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c2e9e08012cf63340070b87200009013f27..."} 
[2026-07-01 11:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c2e9e08012cf63340070b87200009013f27..."} 
[2026-07-01 11:13:26] local.INFO: Processing buffer {"connection_id":119053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c2e9e08012cf63340070b87200009013f27..."} 
[2026-07-01 11:13:26] local.INFO: Packet analysis {"connection_id":119053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c2e"} 
[2026-07-01 11:13:26] local.INFO: Extracted packet for processing {"connection_id":119053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c2e"} 
[2026-07-01 11:13:26] local.INFO: GPS Element Parsed {"raw_longitude":754332480,"raw_latitude":118196000,"longitude_deg":75.433248,"latitude_deg":11.8196,"altitude":9,"angle":319,"satellites":39,"speed":0,"hex_longitude":"2cf63340","hex_latitude":"070b8720","is_valid_coordinates":true} 
[2026-07-01 11:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:13:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418363136001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:13:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-706150317564682240,"note":"Value kept but may cause issues"} 
[2026-07-01 11:13:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333255239870185472,"note":"Value kept but may cause issues"} 
[2026-07-01 11:13:26] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-01 11:13:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782884245000,"timestamp_ms":1782884245000,"timestamp_seconds":1782884245,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c2e9e08"} 
[2026-07-01 11:13:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:13:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-01 11:13:26] 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-01 11:13:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:13:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:13:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:13:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:13:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:13:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:13:26] 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-01 11:13:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:13:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:13:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418363136001,"66":27984,"44":-706150317564682240,"83":41728,"24":0,"16":333255239870185472},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-07-01 11:13:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:13:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:13:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418363136001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:13:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-706150317564682240,"description":"Unknown IO ID 44"} 
[2026-07-01 11:13:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 11:13:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333255239870185472,"km_value":333255239870185.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:13:26] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456418363136001,"power":27984,"unknown_44":-706150317564682240,"unknown_83":41728,"ignition":0,"odometer":null}} 
[2026-07-01 11:13:26] local.INFO: DEBUG: GPS processor result {"connection_id":119053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:13:26] local.INFO: GPS data processed {"connection_id":119053,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:13:26] local.INFO: Acknowledgment sent {"connection_id":119053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:13:57] local.INFO: TCP Data received {"connection_id":119053,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c334188012cf63440070b87080009013f26..."} 
[2026-07-01 11:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c334188012cf63440070b87080009013f26..."} 
[2026-07-01 11:13:57] local.INFO: Processing buffer {"connection_id":119053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c334188012cf63440070b87080009013f26..."} 
[2026-07-01 11:13:57] local.INFO: Packet analysis {"connection_id":119053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c33"} 
[2026-07-01 11:13:57] local.INFO: Extracted packet for processing {"connection_id":119053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c33"} 
[2026-07-01 11:13:57] local.INFO: GPS Element Parsed {"raw_longitude":754332736,"raw_latitude":118195976,"longitude_deg":75.4332736,"latitude_deg":11.8195976,"altitude":9,"angle":319,"satellites":38,"speed":0,"hex_longitude":"2cf63440","hex_latitude":"070b8708","is_valid_coordinates":true} 
[2026-07-01 11:13:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:13:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418366720001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:13:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-706150317564682240,"note":"Value kept but may cause issues"} 
[2026-07-01 11:13:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333255239870185472,"note":"Value kept but may cause issues"} 
[2026-07-01 11:13:57] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-01 11:13:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782884549000,"timestamp_ms":1782884549000,"timestamp_seconds":1782884549,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c334188"} 
[2026-07-01 11:13:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:13:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 11:13:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-01 11:13:57] 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-01 11:13:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:13:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:13:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:13:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:13:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:13:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:13:57] 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-01 11:13:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:13:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:13:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418366720001,"66":26310,"44":-706150317564682240,"83":41728,"24":0,"16":333255239870185472},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-07-01 11:13:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:13:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:13:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418366720001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:13:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-706150317564682240,"description":"Unknown IO ID 44"} 
[2026-07-01 11:13:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 11:13:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333255239870185472,"km_value":333255239870185.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:13:57] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456418366720001,"power":26310,"unknown_44":-706150317564682240,"unknown_83":41728,"ignition":0,"odometer":null}} 
[2026-07-01 11:13:57] local.INFO: DEBUG: GPS processor result {"connection_id":119053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:13:57] local.INFO: GPS data processed {"connection_id":119053,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:13:57] local.INFO: Acknowledgment sent {"connection_id":119053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:14:21] local.INFO: TCP Data received {"connection_id":119722,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:14:21] local.INFO: Processing buffer {"connection_id":119722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:14:21] local.INFO: IMEI packet received {"connection_id":119722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 11:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":119722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:14:23] local.INFO: TCP Data received {"connection_id":119722,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:14:23] local.INFO: Processing buffer {"connection_id":119722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:14:23] local.INFO: IMEI packet received {"connection_id":119722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:14:23] local.INFO: IMEI acknowledgment sent {"connection_id":119722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:14:26] local.INFO: TCP Data received {"connection_id":119722,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:14:26] local.INFO: Processing buffer {"connection_id":119722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:14:26] local.INFO: IMEI packet received {"connection_id":119722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":119722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:14:26] local.INFO: TCP Data received {"connection_id":119722,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c33baa0012cf63440070b87080009013f27..."} 
[2026-07-01 11:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c33baa0012cf63440070b87080009013f27..."} 
[2026-07-01 11:14:26] local.INFO: Processing buffer {"connection_id":119722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c33baa0012cf63440070b87080009013f27..."} 
[2026-07-01 11:14:26] local.INFO: Packet analysis {"connection_id":119722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c33"} 
[2026-07-01 11:14:26] local.INFO: Extracted packet for processing {"connection_id":119722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c33"} 
[2026-07-01 11:14:26] local.INFO: GPS Element Parsed {"raw_longitude":754332736,"raw_latitude":118195976,"longitude_deg":75.4332736,"latitude_deg":11.8195976,"altitude":9,"angle":319,"satellites":39,"speed":0,"hex_longitude":"2cf63440","hex_latitude":"070b8708","is_valid_coordinates":true} 
[2026-07-01 11:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:14:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418444544001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:14:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-705868842587977728,"note":"Value kept but may cause issues"} 
[2026-07-01 11:14:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333255239870185472,"note":"Value kept but may cause issues"} 
[2026-07-01 11:14:26] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-01 11:14:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782884580000,"timestamp_ms":1782884580000,"timestamp_seconds":1782884580,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c33baa0"} 
[2026-07-01 11: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-01 11:14:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 11: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-01 11:14:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11: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-01 11: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-01 11:14:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:14:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:14:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:14:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:14:26] 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-01 11:14:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:14:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:14:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418444544001,"66":26289,"44":-705868842587977728,"83":41728,"24":0,"16":333255239870185472},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-07-01 11:14:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:14:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:14:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418444544001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:14:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-705868842587977728,"description":"Unknown IO ID 44"} 
[2026-07-01 11:14:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 11:14:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333255239870185472,"km_value":333255239870185.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:14:26] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456418444544001,"power":26289,"unknown_44":-705868842587977728,"unknown_83":41728,"ignition":0,"odometer":null}} 
[2026-07-01 11:14:26] local.INFO: DEBUG: GPS processor result {"connection_id":119722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:14:26] local.INFO: GPS data processed {"connection_id":119722,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:14:26] local.INFO: Acknowledgment sent {"connection_id":119722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:14:58] local.INFO: TCP Data received {"connection_id":119722,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c341860012cf63340070b87200009013f28..."} 
[2026-07-01 11:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c341860012cf63340070b87200009013f28..."} 
[2026-07-01 11:14:58] local.INFO: Processing buffer {"connection_id":119722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c341860012cf63340070b87200009013f28..."} 
[2026-07-01 11:14:58] local.INFO: Packet analysis {"connection_id":119722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c34"} 
[2026-07-01 11:14:58] local.INFO: Extracted packet for processing {"connection_id":119722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c34"} 
[2026-07-01 11:14:58] local.INFO: GPS Element Parsed {"raw_longitude":754332480,"raw_latitude":118196000,"longitude_deg":75.433248,"latitude_deg":11.8196,"altitude":9,"angle":319,"satellites":40,"speed":0,"hex_longitude":"2cf63340","hex_latitude":"070b8720","is_valid_coordinates":true} 
[2026-07-01 11: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-01 11:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418452480001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:14:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-705868842587977728,"note":"Value kept but may cause issues"} 
[2026-07-01 11:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333255239870185472,"note":"Value kept but may cause issues"} 
[2026-07-01 11:14:58] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-01 11:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782884604000,"timestamp_ms":1782884604000,"timestamp_seconds":1782884604,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c341860"} 
[2026-07-01 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-01 11:14:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 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":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-07-01 11:14:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11: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-01 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-01 11:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:14:58] 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-01 11:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418452480001,"66":27767,"44":-705868842587977728,"83":41728,"24":0,"16":333255239870185472},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-07-01 11:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418452480001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:14:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-705868842587977728,"description":"Unknown IO ID 44"} 
[2026-07-01 11:14:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 11:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333255239870185472,"km_value":333255239870185.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:14:58] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456418452480001,"power":27767,"unknown_44":-705868842587977728,"unknown_83":41728,"ignition":0,"odometer":null}} 
[2026-07-01 11:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":119722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:14:58] local.INFO: GPS data processed {"connection_id":119722,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:14:58] local.INFO: Acknowledgment sent {"connection_id":119722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:15:26] local.INFO: TCP Data received {"connection_id":119055,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:15:26] local.INFO: Processing buffer {"connection_id":119055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:15:26] local.INFO: IMEI packet received {"connection_id":119055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 11:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":119055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:15:27] local.INFO: TCP Data received {"connection_id":119055,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:15:27] local.INFO: Processing buffer {"connection_id":119055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:15:27] local.INFO: IMEI packet received {"connection_id":119055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":119055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:15:31] local.INFO: TCP Data received {"connection_id":119055,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:15:31] local.INFO: Processing buffer {"connection_id":119055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:15:31] local.INFO: IMEI packet received {"connection_id":119055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":119055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:15:32] local.INFO: TCP Data received {"connection_id":119055,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c346a68012cf63340070b87200009013f27..."} 
[2026-07-01 11:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c346a68012cf63340070b87200009013f27..."} 
[2026-07-01 11:15:32] local.INFO: Processing buffer {"connection_id":119055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c346a68012cf63340070b87200009013f27..."} 
[2026-07-01 11:15:32] local.INFO: Packet analysis {"connection_id":119055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c34"} 
[2026-07-01 11:15:32] local.INFO: Extracted packet for processing {"connection_id":119055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c34"} 
[2026-07-01 11:15:32] local.INFO: GPS Element Parsed {"raw_longitude":754332480,"raw_latitude":118196000,"longitude_deg":75.433248,"latitude_deg":11.8196,"altitude":9,"angle":319,"satellites":39,"speed":0,"hex_longitude":"2cf63340","hex_latitude":"070b8720","is_valid_coordinates":true} 
[2026-07-01 11:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418458624001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:15:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-706150317564682240,"note":"Value kept but may cause issues"} 
[2026-07-01 11:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333255239870185472,"note":"Value kept but may cause issues"} 
[2026-07-01 11:15:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-01 11:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782884625000,"timestamp_ms":1782884625000,"timestamp_seconds":1782884625,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c346a68"} 
[2026-07-01 11:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:15:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 11:15: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-01 11:15:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":119055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":119055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":119055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 11:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418458624001,"66":28050,"44":-706150317564682240,"83":41728,"24":0,"16":333255239870185472},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-07-01 11:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418458624001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:15:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-706150317564682240,"description":"Unknown IO ID 44"} 
[2026-07-01 11:15:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 11:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333255239870185472,"km_value":333255239870185.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:15:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456418458624001,"power":28050,"unknown_44":-706150317564682240,"unknown_83":41728,"ignition":0,"odometer":null}} 
[2026-07-01 11:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":119055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:15:32] local.INFO: GPS data processed {"connection_id":119055,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:15:32] local.INFO: Acknowledgment sent {"connection_id":119055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:15:37] local.INFO: TCP Data received {"connection_id":119055,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c34bc70012cf63340070b87200009013f29..."} 
[2026-07-01 11:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c34bc70012cf63340070b87200009013f29..."} 
[2026-07-01 11:15:37] local.INFO: Processing buffer {"connection_id":119055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c34bc70012cf63340070b87200009013f29..."} 
[2026-07-01 11:15:37] local.INFO: Packet analysis {"connection_id":119055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c34"} 
[2026-07-01 11:15:37] local.INFO: Extracted packet for processing {"connection_id":119055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c34"} 
[2026-07-01 11:15:37] local.INFO: GPS Element Parsed {"raw_longitude":754332480,"raw_latitude":118196000,"longitude_deg":75.433248,"latitude_deg":11.8196,"altitude":9,"angle":319,"satellites":41,"speed":0,"hex_longitude":"2cf63340","hex_latitude":"070b8720","is_valid_coordinates":true} 
[2026-07-01 11:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418464000001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333255239870185472,"note":"Value kept but may cause issues"} 
[2026-07-01 11:15:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-706150317564682240,"note":"Value kept but may cause issues"} 
[2026-07-01 11:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782884646000,"timestamp_ms":1782884646000,"timestamp_seconds":1782884646,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c34bc70"} 
[2026-07-01 11:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-01 11:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":119055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":119055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":119055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 11:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418464000001,"66":27908,"177":206,"83":41728,"24":0,"16":333255239870185472,"44":-706150317564682240},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,44]} 
[2026-07-01 11:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418464000001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:15:37] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-01 11:15:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 11:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333255239870185472,"km_value":333255239870185.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:15:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-706150317564682240,"description":"Unknown IO ID 44"} 
[2026-07-01 11:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418464000001,"power":27908,"unknown_177":206,"unknown_83":41728,"ignition":0,"odometer":null,"unknown_44":-706150317564682240}} 
[2026-07-01 11:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":119055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:15:37] local.INFO: GPS data processed {"connection_id":119055,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:15:37] local.INFO: Acknowledgment sent {"connection_id":119055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:16:21] local.INFO: TCP Data received {"connection_id":120813,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:16:21] local.INFO: Processing buffer {"connection_id":120813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:16:21] local.INFO: IMEI packet received {"connection_id":120813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 11:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":120813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:16:23] local.INFO: TCP Data received {"connection_id":120813,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:16:23] local.INFO: Processing buffer {"connection_id":120813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:16:23] local.INFO: IMEI packet received {"connection_id":120813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:16:23] local.INFO: IMEI acknowledgment sent {"connection_id":120813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:16:23] local.INFO: TCP Data received {"connection_id":120813,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c350e78012cf63340070b87200009013f29..."} 
[2026-07-01 11:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c350e78012cf63340070b87200009013f29..."} 
[2026-07-01 11:16:23] local.INFO: Processing buffer {"connection_id":120813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c350e78012cf63340070b87200009013f29..."} 
[2026-07-01 11:16:23] local.INFO: Packet analysis {"connection_id":120813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c35"} 
[2026-07-01 11:16:23] local.INFO: Extracted packet for processing {"connection_id":120813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c35"} 
[2026-07-01 11:16:23] local.INFO: GPS Element Parsed {"raw_longitude":754332480,"raw_latitude":118196000,"longitude_deg":75.433248,"latitude_deg":11.8196,"altitude":9,"angle":319,"satellites":41,"speed":0,"hex_longitude":"2cf63340","hex_latitude":"070b8720","is_valid_coordinates":true} 
[2026-07-01 11: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-01 11:16:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418469376001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:16:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333255239870185472,"note":"Value kept but may cause issues"} 
[2026-07-01 11:16:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-706150317564682240,"note":"Value kept but may cause issues"} 
[2026-07-01 11:16:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:16:23] local.INFO: AVL Record Parsed {"raw_timestamp":1782884667000,"timestamp_ms":1782884667000,"timestamp_seconds":1782884667,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c350e78"} 
[2026-07-01 11: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-01 11:16:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 11:16:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11: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-01 11: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-01 11:16:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:16:23] local.INFO: Teltonika packet parsed successfully {"connection_id":120813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:16:23] local.INFO: Passing IMEI to GPS processor {"connection_id":120813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:16:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":120813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:16:23] 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-01 11:16:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:16:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:16:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418469376001,"66":27865,"177":206,"83":41728,"24":0,"16":333255239870185472,"44":-706150317564682240},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,44]} 
[2026-07-01 11:16:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:16:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:16:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418469376001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:16:23] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-01 11:16:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 11:16:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333255239870185472,"km_value":333255239870185.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:16:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-706150317564682240,"description":"Unknown IO ID 44"} 
[2026-07-01 11:16:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418469376001,"power":27865,"unknown_177":206,"unknown_83":41728,"ignition":0,"odometer":null,"unknown_44":-706150317564682240}} 
[2026-07-01 11:16:23] local.INFO: DEBUG: GPS processor result {"connection_id":120813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:16:23] local.INFO: GPS data processed {"connection_id":120813,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:16:23] local.INFO: Acknowledgment sent {"connection_id":120813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:16:54] local.INFO: TCP Data received {"connection_id":120813,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c356080012cf63140070b8960000901412a..."} 
[2026-07-01 11:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c356080012cf63140070b8960000901412a..."} 
[2026-07-01 11:16:54] local.INFO: Processing buffer {"connection_id":120813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c356080012cf63140070b8960000901412a..."} 
[2026-07-01 11:16:54] local.INFO: Packet analysis {"connection_id":120813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c35"} 
[2026-07-01 11:16:54] local.INFO: Extracted packet for processing {"connection_id":120813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c35"} 
[2026-07-01 11:16:54] local.INFO: GPS Element Parsed {"raw_longitude":754331968,"raw_latitude":118196576,"longitude_deg":75.4331968,"latitude_deg":11.8196576,"altitude":9,"angle":321,"satellites":42,"speed":2,"hex_longitude":"2cf63140","hex_latitude":"070b8960","is_valid_coordinates":true} 
[2026-07-01 11:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:16:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418474752001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:16:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333255278524891136,"note":"Value kept but may cause issues"} 
[2026-07-01 11:16:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-706150317564682240,"note":"Value kept but may cause issues"} 
[2026-07-01 11:16:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:16:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782884688000,"timestamp_ms":1782884688000,"timestamp_seconds":1782884688,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c356080"} 
[2026-07-01 11:16:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:16: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-01 11:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 11:16:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11:16:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:16:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:16:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:16:54] local.INFO: Teltonika packet parsed successfully {"connection_id":120813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:16:54] local.INFO: Passing IMEI to GPS processor {"connection_id":120813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:16:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":120813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:16:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 11:16:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:16:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:16:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418474752001,"66":27832,"177":206,"83":41728,"24":2,"16":333255278524891136,"44":-706150317564682240},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,44]} 
[2026-07-01 11:16:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:16:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:16:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418474752001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:16:54] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-01 11:16:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 11:16:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333255278524891136,"km_value":333255278524891.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:16:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-706150317564682240,"description":"Unknown IO ID 44"} 
[2026-07-01 11:16:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418474752001,"power":27832,"unknown_177":206,"unknown_83":41728,"ignition":2,"odometer":null,"unknown_44":-706150317564682240}} 
[2026-07-01 11:16:54] local.INFO: DEBUG: GPS processor result {"connection_id":120813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:16:54] local.INFO: GPS data processed {"connection_id":120813,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:16:54] local.INFO: Acknowledgment sent {"connection_id":120813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:17:21] local.INFO: TCP Data received {"connection_id":119724,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:17:21] local.INFO: Processing buffer {"connection_id":119724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:17:21] local.INFO: IMEI packet received {"connection_id":119724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 11:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":119724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:17:26] local.INFO: TCP Data received {"connection_id":119724,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:17:26] local.INFO: Processing buffer {"connection_id":119724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:17:26] local.INFO: IMEI packet received {"connection_id":119724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":119724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:17:27] local.INFO: TCP Data received {"connection_id":119724,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c35b288012cf63000070b8b300008014329..."} 
[2026-07-01 11:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c35b288012cf63000070b8b300008014329..."} 
[2026-07-01 11:17:27] local.INFO: Processing buffer {"connection_id":119724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c35b288012cf63000070b8b300008014329..."} 
[2026-07-01 11:17:27] local.INFO: Packet analysis {"connection_id":119724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c35"} 
[2026-07-01 11:17:27] local.INFO: Extracted packet for processing {"connection_id":119724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c35"} 
[2026-07-01 11:17:27] local.INFO: GPS Element Parsed {"raw_longitude":754331648,"raw_latitude":118197040,"longitude_deg":75.4331648,"latitude_deg":11.819704,"altitude":8,"angle":323,"satellites":41,"speed":0,"hex_longitude":"2cf63000","hex_latitude":"070b8b30","is_valid_coordinates":true} 
[2026-07-01 11:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418480128001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333255308589662208,"note":"Value kept but may cause issues"} 
[2026-07-01 11:17:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-706713267517956096,"note":"Value kept but may cause issues"} 
[2026-07-01 11:17:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782884709000,"timestamp_ms":1782884709000,"timestamp_seconds":1782884709,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c35b288"} 
[2026-07-01 11:17:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:17:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-01 11:17:27] 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-01 11:17:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:17:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:17:27] 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-01 11:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418480128001,"66":27995,"177":206,"83":41728,"24":0,"16":333255308589662208,"44":-706713267517956096},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,44]} 
[2026-07-01 11:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418480128001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:17:27] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-01 11:17:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 11:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333255308589662208,"km_value":333255308589662.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:17:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-706713267517956096,"description":"Unknown IO ID 44"} 
[2026-07-01 11:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418480128001,"power":27995,"unknown_177":206,"unknown_83":41728,"ignition":0,"odometer":null,"unknown_44":-706713267517956096}} 
[2026-07-01 11:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":119724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:17:27] local.INFO: GPS data processed {"connection_id":119724,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:17:27] local.INFO: Acknowledgment sent {"connection_id":119724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:17:58] local.INFO: TCP Data received {"connection_id":119724,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c379300012cf61240070b97f0000a013f2a..."} 
[2026-07-01 11:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c379300012cf61240070b97f0000a013f2a..."} 
[2026-07-01 11:17:58] local.INFO: Processing buffer {"connection_id":119724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c379300012cf61240070b97f0000a013f2a..."} 
[2026-07-01 11:17:58] local.INFO: Packet analysis {"connection_id":119724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c37"} 
[2026-07-01 11:17:58] local.INFO: Extracted packet for processing {"connection_id":119724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c37"} 
[2026-07-01 11:17:58] local.INFO: GPS Element Parsed {"raw_longitude":754324032,"raw_latitude":118200304,"longitude_deg":75.4324032,"latitude_deg":11.8200304,"altitude":10,"angle":319,"satellites":42,"speed":5,"hex_longitude":"2cf61240","hex_latitude":"070b97f0","is_valid_coordinates":true} 
[2026-07-01 11: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-01 11:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418515968001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:17:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333255759561228288,"note":"Value kept but may cause issues"} 
[2026-07-01 11:17:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-715087148074219520,"note":"Value kept but may cause issues"} 
[2026-07-01 11:17:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:17:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782884832000,"timestamp_ms":1782884832000,"timestamp_seconds":1782884832,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c379300"} 
[2026-07-01 11: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-01 11:17:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-01 11:17:58] 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-01 11: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-01 11: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-01 11:17:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:17:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:17:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:17:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:17:58] 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-01 11:17:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:17:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:17:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418515968001,"66":27767,"177":206,"83":41728,"24":5,"16":333255759561228288,"44":-715087148074219520},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,44]} 
[2026-07-01 11:17:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:17:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:17:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418515968001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:17:58] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-01 11:17:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 11:17:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333255759561228288,"km_value":333255759561228.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:17:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-715087148074219520,"description":"Unknown IO ID 44"} 
[2026-07-01 11:17:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418515968001,"power":27767,"unknown_177":206,"unknown_83":41728,"ignition":5,"odometer":null,"unknown_44":-715087148074219520}} 
[2026-07-01 11:17:58] local.INFO: DEBUG: GPS processor result {"connection_id":119724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:17:58] local.INFO: GPS data processed {"connection_id":119724,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:17:58] local.INFO: Acknowledgment sent {"connection_id":119724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:18:21] local.INFO: TCP Data received {"connection_id":119056,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:18:21] local.INFO: Processing buffer {"connection_id":119056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:18:21] local.INFO: IMEI packet received {"connection_id":119056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 11:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":119056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:18:26] local.INFO: TCP Data received {"connection_id":119056,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:18:26] local.INFO: Processing buffer {"connection_id":119056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:18:26] local.INFO: IMEI packet received {"connection_id":119056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":119056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:18:27] local.INFO: TCP Data received {"connection_id":119056,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c3796e8012cf61200070b9868000a014b2a..."} 
[2026-07-01 11:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c3796e8012cf61200070b9868000a014b2a..."} 
[2026-07-01 11:18:27] local.INFO: Processing buffer {"connection_id":119056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c3796e8012cf61200070b9868000a014b2a..."} 
[2026-07-01 11:18:27] local.INFO: Packet analysis {"connection_id":119056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c37"} 
[2026-07-01 11:18:27] local.INFO: Extracted packet for processing {"connection_id":119056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c37"} 
[2026-07-01 11:18:27] local.INFO: GPS Element Parsed {"raw_longitude":754323968,"raw_latitude":118200424,"longitude_deg":75.4323968,"latitude_deg":11.8200424,"altitude":10,"angle":331,"satellites":42,"speed":6,"hex_longitude":"2cf61200","hex_latitude":"070b9868","is_valid_coordinates":true} 
[2026-07-01 11: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-01 11:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418516992001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333255768151162880,"note":"Value kept but may cause issues"} 
[2026-07-01 11:18:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-715438991795032064,"note":"Value kept but may cause issues"} 
[2026-07-01 11:18:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782884833000,"timestamp_ms":1782884833000,"timestamp_seconds":1782884833,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c3796e8"} 
[2026-07-01 11: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-01 11:18: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-01 11: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 11:18:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11: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-01 11: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-01 11:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:18:27] 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-01 11:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418516992001,"66":27767,"177":206,"83":41728,"24":6,"16":333255768151162880,"44":-715438991795032064},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,44]} 
[2026-07-01 11:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418516992001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:18:27] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-01 11:18:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 11:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333255768151162880,"km_value":333255768151162.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:18:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-715438991795032064,"description":"Unknown IO ID 44"} 
[2026-07-01 11:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418516992001,"power":27767,"unknown_177":206,"unknown_83":41728,"ignition":6,"odometer":null,"unknown_44":-715438991795032064}} 
[2026-07-01 11:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":119056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:18:27] local.INFO: GPS data processed {"connection_id":119056,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:18:27] local.INFO: Acknowledgment sent {"connection_id":119056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:18:41] local.INFO: TCP Data received {"connection_id":120814,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120814,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:18:41] local.INFO: Processing buffer {"connection_id":120814,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:18:41] local.INFO: IMEI packet received {"connection_id":120814,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 11:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":120814,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:18:58] local.INFO: TCP Data received {"connection_id":119056,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c37a688012cf61100070b9a48000a015b2a..."} 
[2026-07-01 11:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c37a688012cf61100070b9a48000a015b2a..."} 
[2026-07-01 11:18:58] local.INFO: Processing buffer {"connection_id":119056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c37a688012cf61100070b9a48000a015b2a..."} 
[2026-07-01 11:18:58] local.INFO: Packet analysis {"connection_id":119056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c37"} 
[2026-07-01 11:18:58] local.INFO: Extracted packet for processing {"connection_id":119056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c37"} 
[2026-07-01 11:18:58] local.INFO: GPS Element Parsed {"raw_longitude":754323712,"raw_latitude":118200904,"longitude_deg":75.4323712,"latitude_deg":11.8200904,"altitude":10,"angle":347,"satellites":42,"speed":6,"hex_longitude":"2cf61100","hex_latitude":"070b9a48","is_valid_coordinates":true} 
[2026-07-01 11: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-01 11:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418517248001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333255793920966656,"note":"Value kept but may cause issues"} 
[2026-07-01 11:18:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-715509360539179008,"note":"Value kept but may cause issues"} 
[2026-07-01 11:18:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782884837000,"timestamp_ms":1782884837000,"timestamp_seconds":1782884837,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c37a688"} 
[2026-07-01 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-01 11:18:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 11:18:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11: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-01 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-01 11:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:18:58] 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-01 11:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418517248001,"66":27767,"177":206,"83":41728,"24":6,"16":333255793920966656,"44":-715509360539179008},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,44]} 
[2026-07-01 11:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418517248001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:18:58] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-01 11:18:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 11:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333255793920966656,"km_value":333255793920966.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:18:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-715509360539179008,"description":"Unknown IO ID 44"} 
[2026-07-01 11:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418517248001,"power":27767,"unknown_177":206,"unknown_83":41728,"ignition":6,"odometer":null,"unknown_44":-715509360539179008}} 
[2026-07-01 11:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":119056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:18:58] local.INFO: GPS data processed {"connection_id":119056,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:18:58] local.INFO: Acknowledgment sent {"connection_id":119056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:19:22] local.INFO: TCP Data received {"connection_id":120815,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120815,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:19:22] local.INFO: Processing buffer {"connection_id":120815,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:19:22] local.INFO: IMEI packet received {"connection_id":120815,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 11:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":120815,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:19:26] local.INFO: TCP Data received {"connection_id":119057,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:19:26] local.INFO: Processing buffer {"connection_id":119057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:19:26] local.INFO: IMEI packet received {"connection_id":119057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 11:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":119057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:19:27] local.INFO: TCP Data received {"connection_id":119057,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:19:27] local.INFO: Processing buffer {"connection_id":119057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:19:27] local.INFO: IMEI packet received {"connection_id":119057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":119057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:19:31] local.INFO: TCP Data received {"connection_id":119057,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:19:31] local.INFO: Processing buffer {"connection_id":119057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:19:31] local.INFO: IMEI packet received {"connection_id":119057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":119057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:19:32] local.INFO: TCP Data received {"connection_id":119057,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c37f0c0012cf60a00070bbc600009015a29..."} 
[2026-07-01 11:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c37f0c0012cf60a00070bbc600009015a29..."} 
[2026-07-01 11:19:32] local.INFO: Processing buffer {"connection_id":119057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c37f0c0012cf60a00070bbc600009015a29..."} 
[2026-07-01 11:19:32] local.INFO: Packet analysis {"connection_id":119057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c37"} 
[2026-07-01 11:19:32] local.INFO: Extracted packet for processing {"connection_id":119057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c37"} 
[2026-07-01 11:19:32] local.INFO: GPS Element Parsed {"raw_longitude":754321920,"raw_latitude":118209632,"longitude_deg":75.432192,"latitude_deg":11.8209632,"altitude":9,"angle":346,"satellites":41,"speed":31,"hex_longitude":"2cf60a00","hex_latitude":"070bbc60","is_valid_coordinates":true} 
[2026-07-01 11:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418518272001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333256227712663552,"note":"Value kept but may cause issues"} 
[2026-07-01 11:19:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-715790835515766784,"note":"Value kept but may cause issues"} 
[2026-07-01 11:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782884856000,"timestamp_ms":1782884856000,"timestamp_seconds":1782884856,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c37f0c0"} 
[2026-07-01 11:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:19:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 11:19: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-01 11:19:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":119057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":119057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":119057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 11:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418518272001,"66":27908,"177":206,"83":41728,"24":31,"16":333256227712663552,"44":-715790835515766784},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,44]} 
[2026-07-01 11:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418518272001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:19:32] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-01 11:19:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 11:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333256227712663552,"km_value":333256227712663.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:19:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-715790835515766784,"description":"Unknown IO ID 44"} 
[2026-07-01 11:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418518272001,"power":27908,"unknown_177":206,"unknown_83":41728,"ignition":31,"odometer":null,"unknown_44":-715790835515766784}} 
[2026-07-01 11:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":119057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:19:32] local.INFO: GPS data processed {"connection_id":119057,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:19:32] local.INFO: Acknowledgment sent {"connection_id":119057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:20:06] local.INFO: TCP Data received {"connection_id":119057,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c3963d8012cf57240070ccc30000c015a28..."} 
[2026-07-01 11:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c3963d8012cf57240070ccc30000c015a28..."} 
[2026-07-01 11:20:06] local.INFO: Processing buffer {"connection_id":119057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c3963d8012cf57240070ccc30000c015a28..."} 
[2026-07-01 11:20:06] local.INFO: Packet analysis {"connection_id":119057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c39"} 
[2026-07-01 11:20:06] local.INFO: Extracted packet for processing {"connection_id":119057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c39"} 
[2026-07-01 11:20:06] local.INFO: GPS Element Parsed {"raw_longitude":754283072,"raw_latitude":118279216,"longitude_deg":75.4283072,"latitude_deg":11.8279216,"altitude":12,"angle":346,"satellites":40,"speed":45,"hex_longitude":"2cf57240","hex_latitude":"070ccc30","is_valid_coordinates":true} 
[2026-07-01 11:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418545920001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333260084593295360,"note":"Value kept but may cause issues"} 
[2026-07-01 11:20:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-757800975771428864,"note":"Value kept but may cause issues"} 
[2026-07-01 11:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782884951000,"timestamp_ms":1782884951000,"timestamp_seconds":1782884951,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c3963d8"} 
[2026-07-01 11:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-01 11:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":119057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":119057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":119057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:20:06] 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-01 11:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418545920001,"66":27876,"39":206,"83":41728,"24":45,"16":333260084593295360,"44":-757800975771428864},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,83,24,16,44]} 
[2026-07-01 11:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418545920001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:20:06] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-01 11:20:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 11:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333260084593295360,"km_value":333260084593295.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:20:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-757800975771428864,"description":"Unknown IO ID 44"} 
[2026-07-01 11:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418545920001,"power":27876,"unknown_39":206,"unknown_83":41728,"ignition":45,"odometer":null,"unknown_44":-757800975771428864}} 
[2026-07-01 11:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":119057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:20:06] local.INFO: GPS data processed {"connection_id":119057,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:20:06] local.INFO: Acknowledgment sent {"connection_id":119057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:20:21] local.INFO: TCP Data received {"connection_id":118943,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:20:21] local.INFO: Processing buffer {"connection_id":118943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:20:21] local.INFO: IMEI packet received {"connection_id":118943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 11:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":118943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:20:21] local.INFO: TCP Data received {"connection_id":118943,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:20:21] local.INFO: Processing buffer {"connection_id":118943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:20:21] local.INFO: IMEI packet received {"connection_id":118943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":118943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:20:28] local.INFO: TCP Data received {"connection_id":118943,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:20:28] local.INFO: Processing buffer {"connection_id":118943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:20:28] local.INFO: IMEI packet received {"connection_id":118943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:20:28] local.INFO: IMEI acknowledgment sent {"connection_id":118943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:20:29] local.INFO: TCP Data received {"connection_id":118943,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:20:29] local.INFO: Processing buffer {"connection_id":118943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:20:29] local.INFO: IMEI packet received {"connection_id":118943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":118943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:21:22] local.INFO: TCP Data received {"connection_id":119725,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:21:22] local.INFO: Processing buffer {"connection_id":119725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:21:22] local.INFO: IMEI packet received {"connection_id":119725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 11:21:22] local.INFO: IMEI acknowledgment sent {"connection_id":119725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:21:26] local.INFO: TCP Data received {"connection_id":119725,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:21:26] local.INFO: Processing buffer {"connection_id":119725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:21:26] local.INFO: IMEI packet received {"connection_id":119725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":119725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:21:27] local.INFO: TCP Data received {"connection_id":119725,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:21:27] local.INFO: Processing buffer {"connection_id":119725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:21:27] local.INFO: IMEI packet received {"connection_id":119725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:21:27] local.INFO: IMEI acknowledgment sent {"connection_id":119725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:21:29] local.INFO: TCP Data received {"connection_id":119725,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:21:29] local.INFO: Processing buffer {"connection_id":119725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:21:29] local.INFO: IMEI packet received {"connection_id":119725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":119725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:21:30] local.INFO: TCP Data received {"connection_id":119725,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c3a7160012cf4f100070df5300014013c26..."} 
[2026-07-01 11:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c3a7160012cf4f100070df5300014013c26..."} 
[2026-07-01 11:21:30] local.INFO: Processing buffer {"connection_id":119725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c3a7160012cf4f100070df5300014013c26..."} 
[2026-07-01 11:21:30] local.INFO: Packet analysis {"connection_id":119725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c3a"} 
[2026-07-01 11:21:30] local.INFO: Extracted packet for processing {"connection_id":119725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c3a"} 
[2026-07-01 11:21:30] local.INFO: GPS Element Parsed {"raw_longitude":754249984,"raw_latitude":118355248,"longitude_deg":75.4249984,"latitude_deg":11.8355248,"altitude":20,"angle":316,"satellites":38,"speed":38,"hex_longitude":"2cf4f100","hex_latitude":"070df530","is_valid_coordinates":true} 
[2026-07-01 11: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-01 11:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418564864001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333264401035427840,"note":"Value kept but may cause issues"} 
[2026-07-01 11:21:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-796081572583141376,"note":"Value kept but may cause issues"} 
[2026-07-01 11:21:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782885020000,"timestamp_ms":1782885020000,"timestamp_seconds":1782885020,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c3a7160"} 
[2026-07-01 11: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-01 11:21:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 11:21:30] 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-01 11: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-01 11: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-01 11:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":119725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":119725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":119725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:21:30] 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-01 11:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418564864001,"66":27832,"29":206,"83":41728,"24":38,"16":333264401035427840,"44":-796081572583141376},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,83,24,16,44]} 
[2026-07-01 11:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418564864001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:21:30] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-07-01 11:21:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 11:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333264401035427840,"km_value":333264401035427.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:21:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-796081572583141376,"description":"Unknown IO ID 44"} 
[2026-07-01 11:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418564864001,"power":27832,"unknown_29":206,"unknown_83":41728,"ignition":38,"odometer":null,"unknown_44":-796081572583141376}} 
[2026-07-01 11:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":119725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:21:30] local.INFO: GPS data processed {"connection_id":119725,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:21:30] local.INFO: Acknowledgment sent {"connection_id":119725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:21:31] local.INFO: TCP Data received {"connection_id":119725,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c3a7548012cf4eec0070df8800015014b26..."} 
[2026-07-01 11:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c3a7548012cf4eec0070df8800015014b26..."} 
[2026-07-01 11:21:31] local.INFO: Processing buffer {"connection_id":119725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c3a7548012cf4eec0070df8800015014b26..."} 
[2026-07-01 11:21:31] local.INFO: Packet analysis {"connection_id":119725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c3a"} 
[2026-07-01 11:21:31] local.INFO: Extracted packet for processing {"connection_id":119725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c3a"} 
[2026-07-01 11:21:31] local.INFO: GPS Element Parsed {"raw_longitude":754249408,"raw_latitude":118356096,"longitude_deg":75.4249408,"latitude_deg":11.8356096,"altitude":21,"angle":331,"satellites":38,"speed":39,"hex_longitude":"2cf4eec0","hex_latitude":"070df880","is_valid_coordinates":true} 
[2026-07-01 11:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418565120001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333264448280068096,"note":"Value kept but may cause issues"} 
[2026-07-01 11:21:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-796855628768923648,"note":"Value kept but may cause issues"} 
[2026-07-01 11:21:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782885021000,"timestamp_ms":1782885021000,"timestamp_seconds":1782885021,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c3a7548"} 
[2026-07-01 11:21:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:21:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-01 11:21:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11:21:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:21:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:21:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:21:31] 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-01 11:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418565120001,"66":27832,"29":206,"83":41728,"24":39,"16":333264448280068096,"44":-796855628768923648},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,83,24,16,44]} 
[2026-07-01 11:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418565120001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:21:31] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-07-01 11:21:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 11:21:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333264448280068096,"km_value":333264448280068.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:21:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-796855628768923648,"description":"Unknown IO ID 44"} 
[2026-07-01 11:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418565120001,"power":27832,"unknown_29":206,"unknown_83":41728,"ignition":39,"odometer":null,"unknown_44":-796855628768923648}} 
[2026-07-01 11:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":119725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:21:31] local.INFO: GPS data processed {"connection_id":119725,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:21:31] local.INFO: Acknowledgment sent {"connection_id":119725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:22:02] local.INFO: TCP Data received {"connection_id":119725,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c3a8cb8012cf4e440070e0d780018013f25..."} 
[2026-07-01 11:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c3a8cb8012cf4e440070e0d780018013f25..."} 
[2026-07-01 11:22:02] local.INFO: Processing buffer {"connection_id":119725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c3a8cb8012cf4e440070e0d780018013f25..."} 
[2026-07-01 11:22:02] local.INFO: Packet analysis {"connection_id":119725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c3a"} 
[2026-07-01 11:22:02] local.INFO: Extracted packet for processing {"connection_id":119725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c3a"} 
[2026-07-01 11:22:02] local.INFO: GPS Element Parsed {"raw_longitude":754246720,"raw_latitude":118361464,"longitude_deg":75.424672,"latitude_deg":11.8361464,"altitude":24,"angle":319,"satellites":37,"speed":40,"hex_longitude":"2cf4e440","hex_latitude":"070e0d78","is_valid_coordinates":true} 
[2026-07-01 11:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418565376001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333264740337844224,"note":"Value kept but may cause issues"} 
[2026-07-01 11:22:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-797488947466305536,"note":"Value kept but may cause issues"} 
[2026-07-01 11:22:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782885027000,"timestamp_ms":1782885027000,"timestamp_seconds":1782885027,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c3a8cb8"} 
[2026-07-01 11:22:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:22:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-01 11:22:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11:22:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:22:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":119725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":119725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":119725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:22: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-01 11:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418565376001,"66":27843,"29":206,"83":41728,"24":40,"16":333264740337844224,"44":-797488947466305536},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,83,24,16,44]} 
[2026-07-01 11:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418565376001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:22:03] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-07-01 11:22:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 11:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333264740337844224,"km_value":333264740337844.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:22:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-797488947466305536,"description":"Unknown IO ID 44"} 
[2026-07-01 11:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418565376001,"power":27843,"unknown_29":206,"unknown_83":41728,"ignition":40,"odometer":null,"unknown_44":-797488947466305536}} 
[2026-07-01 11:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":119725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:22:03] local.INFO: GPS data processed {"connection_id":119725,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:22:03] local.INFO: Acknowledgment sent {"connection_id":119725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:22:18] local.INFO: TCP Data received {"connection_id":120817,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:22:18] local.INFO: Processing buffer {"connection_id":120817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:22:18] local.INFO: IMEI packet received {"connection_id":120817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 11:22:18] local.INFO: IMEI acknowledgment sent {"connection_id":120817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:22:20] local.INFO: TCP Data received {"connection_id":120817,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:22:20] local.INFO: Processing buffer {"connection_id":120817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:22:20] local.INFO: IMEI packet received {"connection_id":120817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:22:20] local.INFO: IMEI acknowledgment sent {"connection_id":120817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:22:21] local.INFO: TCP Data received {"connection_id":120817,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:22:21] local.INFO: Processing buffer {"connection_id":120817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:22:21] local.INFO: IMEI packet received {"connection_id":120817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:22:21] local.INFO: IMEI acknowledgment sent {"connection_id":120817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:22:29] local.INFO: TCP Data received {"connection_id":120817,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:22:29] local.INFO: Processing buffer {"connection_id":120817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:22:29] local.INFO: IMEI packet received {"connection_id":120817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":120817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:22:33] local.INFO: TCP Data received {"connection_id":120817,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c3b9270012cf43b00070ed558002f013e27..."} 
[2026-07-01 11:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c3b9270012cf43b00070ed558002f013e27..."} 
[2026-07-01 11:22:33] local.INFO: Processing buffer {"connection_id":120817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c3b9270012cf43b00070ed558002f013e27..."} 
[2026-07-01 11:22:33] local.INFO: Packet analysis {"connection_id":120817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c3b"} 
[2026-07-01 11:22:33] local.INFO: Extracted packet for processing {"connection_id":120817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c3b"} 
[2026-07-01 11:22:33] local.INFO: GPS Element Parsed {"raw_longitude":754203392,"raw_latitude":118412632,"longitude_deg":75.4203392,"latitude_deg":11.8412632,"altitude":47,"angle":318,"satellites":39,"speed":31,"hex_longitude":"2cf43b00","hex_latitude":"070ed558","is_valid_coordinates":true} 
[2026-07-01 11:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418581504001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333268030282792960,"note":"Value kept but may cause issues"} 
[2026-07-01 11:22:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-840484250146103296,"note":"Value kept but may cause issues"} 
[2026-07-01 11:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782885094000,"timestamp_ms":1782885094000,"timestamp_seconds":1782885094,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c3b9270"} 
[2026-07-01 11:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:22: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-01 11:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-01 11:22:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11:22:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":120817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":120817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":120817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:22:33] 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-01 11:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418581504001,"66":27843,"227":206,"83":41472,"24":31,"16":333268030282792960,"44":-840484250146103296},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,83,24,16,44]} 
[2026-07-01 11:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418581504001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:22:33] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-07-01 11:22:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 11:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333268030282792960,"km_value":333268030282792.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:22:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-840484250146103296,"description":"Unknown IO ID 44"} 
[2026-07-01 11:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418581504001,"power":27843,"unknown_227":206,"unknown_83":41472,"ignition":31,"odometer":null,"unknown_44":-840484250146103296}} 
[2026-07-01 11:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":120817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:22:33] local.INFO: GPS data processed {"connection_id":120817,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:22:33] local.INFO: Acknowledgment sent {"connection_id":120817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:22:34] local.INFO: TCP Data received {"connection_id":120817,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c3ba210012cf432c0070edf180030014928..."} 
[2026-07-01 11:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c3ba210012cf432c0070edf180030014928..."} 
[2026-07-01 11:22:34] local.INFO: Processing buffer {"connection_id":120817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c3ba210012cf432c0070edf180030014928..."} 
[2026-07-01 11:22:34] local.INFO: Packet analysis {"connection_id":120817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c3b"} 
[2026-07-01 11:22:34] local.INFO: Extracted packet for processing {"connection_id":120817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c3b"} 
[2026-07-01 11:22:34] local.INFO: GPS Element Parsed {"raw_longitude":754201280,"raw_latitude":118415128,"longitude_deg":75.420128,"latitude_deg":11.8415128,"altitude":48,"angle":329,"satellites":40,"speed":33,"hex_longitude":"2cf432c0","hex_latitude":"070edf18","is_valid_coordinates":true} 
[2026-07-01 11: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-01 11:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418584064001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333268189196582912,"note":"Value kept but may cause issues"} 
[2026-07-01 11:22:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-848084074515572736,"note":"Value kept but may cause issues"} 
[2026-07-01 11:22:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782885098000,"timestamp_ms":1782885098000,"timestamp_seconds":1782885098,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c3ba210"} 
[2026-07-01 11: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-01 11:22:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 11:22:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11: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-01 11: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-01 11:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":120817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":120817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":120817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:22:34] 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-01 11:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418584064001,"66":27789,"227":206,"83":41472,"24":33,"16":333268189196582912,"44":-848084074515572736},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,83,24,16,44]} 
[2026-07-01 11:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418584064001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:22:34] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-07-01 11:22:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 11:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333268189196582912,"km_value":333268189196582.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:22:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-848084074515572736,"description":"Unknown IO ID 44"} 
[2026-07-01 11:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418584064001,"power":27789,"unknown_227":206,"unknown_83":41472,"ignition":33,"odometer":null,"unknown_44":-848084074515572736}} 
[2026-07-01 11:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":120817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:22:34] local.INFO: GPS data processed {"connection_id":120817,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:22:34] local.INFO: Acknowledgment sent {"connection_id":120817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:23:05] local.INFO: TCP Data received {"connection_id":120817,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c3ba9e0012cf43000070ee5300030015828..."} 
[2026-07-01 11:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c3ba9e0012cf43000070ee5300030015828..."} 
[2026-07-01 11:23:05] local.INFO: Processing buffer {"connection_id":120817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c3ba9e0012cf43000070ee5300030015828..."} 
[2026-07-01 11:23:05] local.INFO: Packet analysis {"connection_id":120817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c3b"} 
[2026-07-01 11:23:05] local.INFO: Extracted packet for processing {"connection_id":120817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c3b"} 
[2026-07-01 11:23:05] local.INFO: GPS Element Parsed {"raw_longitude":754200576,"raw_latitude":118416688,"longitude_deg":75.4200576,"latitude_deg":11.8416688,"altitude":48,"angle":344,"satellites":40,"speed":34,"hex_longitude":"2cf43000","hex_latitude":"070ee530","is_valid_coordinates":true} 
[2026-07-01 11: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-01 11:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418585088001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333268275095928832,"note":"Value kept but may cause issues"} 
[2026-07-01 11:23:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-850406243072796672,"note":"Value kept but may cause issues"} 
[2026-07-01 11:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782885100000,"timestamp_ms":1782885100000,"timestamp_seconds":1782885100,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c3ba9e0"} 
[2026-07-01 11: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-01 11:23:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-01 11:23:05] 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-01 11:23:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11: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-01 11:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":120817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":120817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":120817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 11:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418585088001,"66":27919,"227":206,"83":41472,"24":34,"16":333268275095928832,"44":-850406243072796672},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,83,24,16,44]} 
[2026-07-01 11:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418585088001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:23:05] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-07-01 11:23:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 11:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333268275095928832,"km_value":333268275095928.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:23:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-850406243072796672,"description":"Unknown IO ID 44"} 
[2026-07-01 11:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418585088001,"power":27919,"unknown_227":206,"unknown_83":41472,"ignition":34,"odometer":null,"unknown_44":-850406243072796672}} 
[2026-07-01 11:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":120817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:23:05] local.INFO: GPS data processed {"connection_id":120817,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:23:05] local.INFO: Acknowledgment sent {"connection_id":120817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:23:21] local.INFO: TCP Data received {"connection_id":119060,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:23:21] local.INFO: Processing buffer {"connection_id":119060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:23:21] local.INFO: IMEI packet received {"connection_id":119060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 11:23:21] local.INFO: IMEI acknowledgment sent {"connection_id":119060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:23:24] local.INFO: TCP Data received {"connection_id":119060,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:23:24] local.INFO: Processing buffer {"connection_id":119060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:23:24] local.INFO: IMEI packet received {"connection_id":119060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":119060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:23:25] local.INFO: TCP Data received {"connection_id":118943,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c398318012cf56b40070cf020000e015828..."} 
[2026-07-01 11:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c398318012cf56b40070cf020000e015828..."} 
[2026-07-01 11:23:25] local.INFO: Processing buffer {"connection_id":118943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c398318012cf56b40070cf020000e015828..."} 
[2026-07-01 11:23:25] local.INFO: Packet analysis {"connection_id":118943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c39"} 
[2026-07-01 11:23:25] local.INFO: Extracted packet for processing {"connection_id":118943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c39"} 
[2026-07-01 11:23:25] local.INFO: GPS Element Parsed {"raw_longitude":754281280,"raw_latitude":118288416,"longitude_deg":75.428128,"latitude_deg":11.8288416,"altitude":14,"angle":344,"satellites":40,"speed":47,"hex_longitude":"2cf56b40","hex_latitude":"070cf020","is_valid_coordinates":true} 
[2026-07-01 11:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418547456001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333260535564861440,"note":"Value kept but may cause issues"} 
[2026-07-01 11:23:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-760474988048535552,"note":"Value kept but may cause issues"} 
[2026-07-01 11:23:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782884959000,"timestamp_ms":1782884959000,"timestamp_seconds":1782884959,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c398318"} 
[2026-07-01 11:23:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:23:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-01 11:23:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11:23:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:23:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":118943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":118943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":118943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:23:25] 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-01 11:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418547456001,"66":27974,"39":206,"83":41728,"24":47,"16":333260535564861440,"44":-760474988048535552},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,83,24,16,44]} 
[2026-07-01 11:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418547456001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:23:25] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-01 11:23:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 11:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333260535564861440,"km_value":333260535564861.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:23:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-760474988048535552,"description":"Unknown IO ID 44"} 
[2026-07-01 11:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418547456001,"power":27974,"unknown_39":206,"unknown_83":41728,"ignition":47,"odometer":null,"unknown_44":-760474988048535552}} 
[2026-07-01 11:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":118943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:23:25] local.INFO: GPS data processed {"connection_id":118943,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:23:25] local.INFO: Acknowledgment sent {"connection_id":118943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:23:25] local.INFO: TCP Data received {"connection_id":119060,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c3bb1b0012cf42f40070eebe80030016428..."} 
[2026-07-01 11:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c3bb1b0012cf42f40070eebe80030016428..."} 
[2026-07-01 11:23:25] local.INFO: Processing buffer {"connection_id":119060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c3bb1b0012cf42f40070eebe80030016428..."} 
[2026-07-01 11:23:25] local.INFO: Packet analysis {"connection_id":119060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c3b"} 
[2026-07-01 11:23:25] local.INFO: Extracted packet for processing {"connection_id":119060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c3b"} 
[2026-07-01 11:23:25] local.INFO: GPS Element Parsed {"raw_longitude":754200384,"raw_latitude":118418408,"longitude_deg":75.4200384,"latitude_deg":11.8418408,"altitude":48,"angle":356,"satellites":40,"speed":35,"hex_longitude":"2cf42f40","hex_latitude":"070eebe8","is_valid_coordinates":true} 
[2026-07-01 11:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418585600001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333268356700307456,"note":"Value kept but may cause issues"} 
[2026-07-01 11:23:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-851180299258351616,"note":"Value kept but may cause issues"} 
[2026-07-01 11:23:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782885102000,"timestamp_ms":1782885102000,"timestamp_seconds":1782885102,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c3bb1b0"} 
[2026-07-01 11:23:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:23:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 11:23:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11:23:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:23:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:23:25] 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-01 11:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:23:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:23:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418585600001,"66":26810,"227":206,"83":41472,"24":35,"16":333268356700307456,"44":-851180299258351616},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,83,24,16,44]} 
[2026-07-01 11:23:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:23:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:23:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418585600001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:23:26] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-07-01 11:23:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 11:23:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333268356700307456,"km_value":333268356700307.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:23:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-851180299258351616,"description":"Unknown IO ID 44"} 
[2026-07-01 11:23:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418585600001,"power":26810,"unknown_227":206,"unknown_83":41472,"ignition":35,"odometer":null,"unknown_44":-851180299258351616}} 
[2026-07-01 11:23:26] local.INFO: DEBUG: GPS processor result {"connection_id":119060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:23:26] local.INFO: GPS data processed {"connection_id":119060,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:23:26] local.INFO: Acknowledgment sent {"connection_id":119060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:24:00] local.INFO: TCP Data received {"connection_id":119060,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c3bd4d8012cf42b80070f0b38002e01562a..."} 
[2026-07-01 11:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c3bd4d8012cf42b80070f0b38002e01562a..."} 
[2026-07-01 11:24:00] local.INFO: Processing buffer {"connection_id":119060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c3bd4d8012cf42b80070f0b38002e01562a..."} 
[2026-07-01 11:24:00] local.INFO: Packet analysis {"connection_id":119060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c3b"} 
[2026-07-01 11:24:00] local.INFO: Extracted packet for processing {"connection_id":119060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c3b"} 
[2026-07-01 11:24:00] local.INFO: GPS Element Parsed {"raw_longitude":754199424,"raw_latitude":118426424,"longitude_deg":75.4199424,"latitude_deg":11.8426424,"altitude":46,"angle":342,"satellites":42,"speed":37,"hex_longitude":"2cf42b80","hex_latitude":"070f0b38","is_valid_coordinates":true} 
[2026-07-01 11: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-01 11:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418586112001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333268751837298688,"note":"Value kept but may cause issues"} 
[2026-07-01 11:24:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-851391405490444288,"note":"Value kept but may cause issues"} 
[2026-07-01 11:24:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782885111000,"timestamp_ms":1782885111000,"timestamp_seconds":1782885111,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c3bd4d8"} 
[2026-07-01 11: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-01 11:24:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11: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":104,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-07-01 11:24:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2392,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11: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-01 11: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-01 11:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":119060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":119060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":119060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:24:00] 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-01 11:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418586112001,"66":27767,"35":206,"83":41472,"24":37,"16":333268751837298688,"44":-851391405490444288},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-07-01 11:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418586112001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:24:00] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-01 11:24:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 11:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333268751837298688,"km_value":333268751837298.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:24:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-851391405490444288,"description":"Unknown IO ID 44"} 
[2026-07-01 11:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418586112001,"power":27767,"unknown_35":206,"unknown_83":41472,"ignition":37,"odometer":null,"unknown_44":-851391405490444288}} 
[2026-07-01 11:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":119060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:24:00] local.INFO: GPS data processed {"connection_id":119060,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:24:00] local.INFO: Acknowledgment sent {"connection_id":119060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:24:21] local.INFO: TCP Data received {"connection_id":119062,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:24:21] local.INFO: Processing buffer {"connection_id":119062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:24:21] local.INFO: IMEI packet received {"connection_id":119062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 11:24:21] local.INFO: IMEI acknowledgment sent {"connection_id":119062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:24:23] local.INFO: TCP Data received {"connection_id":119062,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:24:23] local.INFO: Processing buffer {"connection_id":119062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:24:23] local.INFO: IMEI packet received {"connection_id":119062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":119062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:24:26] local.INFO: TCP Data received {"connection_id":119062,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:24:26] local.INFO: Processing buffer {"connection_id":119062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:24:26] local.INFO: IMEI packet received {"connection_id":119062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":119062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:24:27] local.INFO: TCP Data received {"connection_id":119062,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c3bf800012cf41ec0070f2e08002a015227..."} 
[2026-07-01 11:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c3bf800012cf41ec0070f2e08002a015227..."} 
[2026-07-01 11:24:27] local.INFO: Processing buffer {"connection_id":119062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c3bf800012cf41ec0070f2e08002a015227..."} 
[2026-07-01 11:24:27] local.INFO: Packet analysis {"connection_id":119062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c3b"} 
[2026-07-01 11:24:27] local.INFO: Extracted packet for processing {"connection_id":119062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c3b"} 
[2026-07-01 11:24:27] local.INFO: GPS Element Parsed {"raw_longitude":754196160,"raw_latitude":118435336,"longitude_deg":75.419616,"latitude_deg":11.8435336,"altitude":42,"angle":338,"satellites":39,"speed":42,"hex_longitude":"2cf41ec0","hex_latitude":"070f2e08","is_valid_coordinates":true} 
[2026-07-01 11:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:24:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418588416001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:24:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333269211398799360,"note":"Value kept but may cause issues"} 
[2026-07-01 11:24:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-852446936651057152,"note":"Value kept but may cause issues"} 
[2026-07-01 11:24:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:24:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782885120000,"timestamp_ms":1782885120000,"timestamp_seconds":1782885120,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c3bf800"} 
[2026-07-01 11:24:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:24: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-01 11:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 11:24:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11:24:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:24:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:24:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:24:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:24:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:24:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:24:27] 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-01 11:24:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:24:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:24:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418588416001,"66":27832,"35":206,"83":41472,"24":42,"16":333269211398799360,"44":-852446936651057152},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-07-01 11:24:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:24:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:24:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418588416001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:24:27] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-01 11:24:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 11:24:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333269211398799360,"km_value":333269211398799.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:24:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-852446936651057152,"description":"Unknown IO ID 44"} 
[2026-07-01 11:24:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418588416001,"power":27832,"unknown_35":206,"unknown_83":41472,"ignition":42,"odometer":null,"unknown_44":-852446936651057152}} 
[2026-07-01 11:24:27] local.INFO: DEBUG: GPS processor result {"connection_id":119062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:24:27] local.INFO: GPS data processed {"connection_id":119062,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:24:27] local.INFO: Acknowledgment sent {"connection_id":119062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:24:31] local.INFO: TCP Data received {"connection_id":119062,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c3c1b28012cf41000070f51a80027014e2a..."} 
[2026-07-01 11:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c3c1b28012cf41000070f51a80027014e2a..."} 
[2026-07-01 11:24:31] local.INFO: Processing buffer {"connection_id":119062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c3c1b28012cf41000070f51a80027014e2a..."} 
[2026-07-01 11:24:31] local.INFO: Packet analysis {"connection_id":119062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c3c"} 
[2026-07-01 11:24:31] local.INFO: Extracted packet for processing {"connection_id":119062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c3c"} 
[2026-07-01 11:24:31] local.INFO: GPS Element Parsed {"raw_longitude":754192384,"raw_latitude":118444456,"longitude_deg":75.4192384,"latitude_deg":11.8444456,"altitude":39,"angle":334,"satellites":42,"speed":45,"hex_longitude":"2cf41000","hex_latitude":"070f51a8","is_valid_coordinates":true} 
[2026-07-01 11:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418590720001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333269688140169216,"note":"Value kept but may cause issues"} 
[2026-07-01 11:24:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-856035742601836544,"note":"Value kept but may cause issues"} 
[2026-07-01 11:24:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782885129000,"timestamp_ms":1782885129000,"timestamp_seconds":1782885129,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c3c1b28"} 
[2026-07-01 11:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:24:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-01 11:24:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11:24:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:24:31] 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-01 11:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418590720001,"66":27908,"35":206,"83":41472,"24":45,"16":333269688140169216,"44":-856035742601836544},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-07-01 11:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418590720001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:24:31] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-01 11:24:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 11:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333269688140169216,"km_value":333269688140169.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:24:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-856035742601836544,"description":"Unknown IO ID 44"} 
[2026-07-01 11:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418590720001,"power":27908,"unknown_35":206,"unknown_83":41472,"ignition":45,"odometer":null,"unknown_44":-856035742601836544}} 
[2026-07-01 11:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":119062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:24:31] local.INFO: GPS data processed {"connection_id":119062,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:24:31] local.INFO: Acknowledgment sent {"connection_id":119062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:24:41] local.INFO: TCP Data received {"connection_id":119061,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119061,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:24:41] local.INFO: Processing buffer {"connection_id":119061,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:24:41] local.INFO: IMEI packet received {"connection_id":119061,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 11:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":119061,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:25:02] local.INFO: TCP Data received {"connection_id":119062,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c3e1ae0012cf312000710b590001500ea27..."} 
[2026-07-01 11:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c3e1ae0012cf312000710b590001500ea27..."} 
[2026-07-01 11:25:02] local.INFO: Processing buffer {"connection_id":119062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c3e1ae0012cf312000710b590001500ea27..."} 
[2026-07-01 11:25:02] local.INFO: Packet analysis {"connection_id":119062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c3e"} 
[2026-07-01 11:25:02] local.INFO: Extracted packet for processing {"connection_id":119062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c3e"} 
[2026-07-01 11:25:02] local.INFO: GPS Element Parsed {"raw_longitude":754127360,"raw_latitude":118535568,"longitude_deg":75.412736,"latitude_deg":11.8535568,"altitude":21,"angle":234,"satellites":39,"speed":28,"hex_longitude":"2cf31200","hex_latitude":"0710b590","is_valid_coordinates":true} 
[2026-07-01 11:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418625536001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333275688209481728,"note":"Value kept but may cause issues"} 
[2026-07-01 11:25:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-928515549078902784,"note":"Value kept but may cause issues"} 
[2026-07-01 11:25:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782885260000,"timestamp_ms":1782885260000,"timestamp_seconds":1782885260,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c3e1ae0"} 
[2026-07-01 11:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:25:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 11:25:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11:25:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":119062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":119062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":119062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:25: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-01 11:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418625536001,"66":27876,"217":206,"83":41472,"24":28,"16":333275688209481728,"44":-928515549078902784},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,44]} 
[2026-07-01 11:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418625536001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:25:02] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-01 11:25:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 11:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333275688209481728,"km_value":333275688209481.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:25:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-928515549078902784,"description":"Unknown IO ID 44"} 
[2026-07-01 11:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418625536001,"power":27876,"unknown_217":206,"unknown_83":41472,"ignition":28,"odometer":null,"unknown_44":-928515549078902784}} 
[2026-07-01 11:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":119062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:25:02] local.INFO: GPS data processed {"connection_id":119062,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:25:02] local.INFO: Acknowledgment sent {"connection_id":119062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:25:15] local.INFO: TCP Data received {"connection_id":119063,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119063,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:25:15] local.INFO: Processing buffer {"connection_id":119063,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:25:15] local.INFO: IMEI packet received {"connection_id":119063,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 11:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":119063,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:25:23] local.INFO: TCP Data received {"connection_id":120819,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:25:23] local.INFO: Processing buffer {"connection_id":120819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:25:23] local.INFO: IMEI packet received {"connection_id":120819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 11:25:23] local.INFO: IMEI acknowledgment sent {"connection_id":120819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:25:26] local.INFO: TCP Data received {"connection_id":120819,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:25:26] local.INFO: Processing buffer {"connection_id":120819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:25:26] local.INFO: IMEI packet received {"connection_id":120819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":120819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:25:27] local.INFO: TCP Data received {"connection_id":120819,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c3e1ec8012cf30fc00710b3b0001400de26..."} 
[2026-07-01 11:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c3e1ec8012cf30fc00710b3b0001400de26..."} 
[2026-07-01 11:25:27] local.INFO: Processing buffer {"connection_id":120819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c3e1ec8012cf30fc00710b3b0001400de26..."} 
[2026-07-01 11:25:27] local.INFO: Packet analysis {"connection_id":120819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c3e"} 
[2026-07-01 11:25:27] local.INFO: Extracted packet for processing {"connection_id":120819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c3e"} 
[2026-07-01 11:25:27] local.INFO: GPS Element Parsed {"raw_longitude":754126784,"raw_latitude":118535088,"longitude_deg":75.4126784,"latitude_deg":11.8535088,"altitude":20,"angle":222,"satellites":38,"speed":28,"hex_longitude":"2cf30fc0","hex_latitude":"0710b3b0","is_valid_coordinates":true} 
[2026-07-01 11:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418626560001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333275722569220096,"note":"Value kept but may cause issues"} 
[2026-07-01 11:25:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-931682142567165952,"note":"Value kept but may cause issues"} 
[2026-07-01 11:25:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782885261000,"timestamp_ms":1782885261000,"timestamp_seconds":1782885261,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c3e1ec8"} 
[2026-07-01 11:25:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:25: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-01 11:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-01 11:25:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11:25:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:25:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:25:27] 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-01 11:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418626560001,"66":27876,"217":206,"83":41472,"24":28,"16":333275722569220096,"44":-931682142567165952},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,44]} 
[2026-07-01 11:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418626560001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:25:27] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-01 11:25:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 11:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333275722569220096,"km_value":333275722569220.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:25:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-931682142567165952,"description":"Unknown IO ID 44"} 
[2026-07-01 11:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418626560001,"power":27876,"unknown_217":206,"unknown_83":41472,"ignition":28,"odometer":null,"unknown_44":-931682142567165952}} 
[2026-07-01 11:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":120819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:25:27] local.INFO: GPS data processed {"connection_id":120819,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:25:27] local.INFO: Acknowledgment sent {"connection_id":120819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:26:04] local.INFO: TCP Data received {"connection_id":120819,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c3ef988012cf222000710be80001400ed27..."} 
[2026-07-01 11:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c3ef988012cf222000710be80001400ed27..."} 
[2026-07-01 11:26:04] local.INFO: Processing buffer {"connection_id":120819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c3ef988012cf222000710be80001400ed27..."} 
[2026-07-01 11:26:04] local.INFO: Packet analysis {"connection_id":120819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c3e"} 
[2026-07-01 11:26:04] local.INFO: Extracted packet for processing {"connection_id":120819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c3e"} 
[2026-07-01 11:26:04] local.INFO: GPS Element Parsed {"raw_longitude":754065920,"raw_latitude":118537856,"longitude_deg":75.406592,"latitude_deg":11.8537856,"altitude":20,"angle":237,"satellites":39,"speed":40,"hex_longitude":"2cf22200","hex_latitude":"0710be80","is_valid_coordinates":true} 
[2026-07-01 11:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418639872001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333278754816131072,"note":"Value kept but may cause issues"} 
[2026-07-01 11:26:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-993043687488931840,"note":"Value kept but may cause issues"} 
[2026-07-01 11:26:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782885317000,"timestamp_ms":1782885317000,"timestamp_seconds":1782885317,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c3ef988"} 
[2026-07-01 11:26:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:26: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-01 11:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 11:26:04] 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-01 11:26:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:26:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":120819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":120819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":120819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:26:04] 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-01 11:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418639872001,"66":27908,"51":206,"83":41472,"24":40,"16":333278754816131072,"44":-993043687488931840},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,83,24,16,44]} 
[2026-07-01 11:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418639872001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:26:04] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-07-01 11:26:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 11:26:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333278754816131072,"km_value":333278754816131.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:26:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-993043687488931840,"description":"Unknown IO ID 44"} 
[2026-07-01 11:26:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418639872001,"power":27908,"unknown_51":206,"unknown_83":41472,"ignition":40,"odometer":null,"unknown_44":-993043687488931840}} 
[2026-07-01 11:26:04] local.INFO: DEBUG: GPS processor result {"connection_id":120819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:26:04] local.INFO: GPS data processed {"connection_id":120819,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:26:04] local.INFO: Acknowledgment sent {"connection_id":120819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:26:21] local.INFO: TCP Data received {"connection_id":119064,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:26:21] local.INFO: Processing buffer {"connection_id":119064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:26:21] local.INFO: IMEI packet received {"connection_id":119064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 11:26:21] local.INFO: IMEI acknowledgment sent {"connection_id":119064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:26:26] local.INFO: TCP Data received {"connection_id":119064,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:26:26] local.INFO: Processing buffer {"connection_id":119064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:26:26] local.INFO: IMEI packet received {"connection_id":119064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":119064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:26:27] local.INFO: TCP Data received {"connection_id":119064,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c3efd70012cf21f400710bbf8001400e027..."} 
[2026-07-01 11:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c3efd70012cf21f400710bbf8001400e027..."} 
[2026-07-01 11:26:27] local.INFO: Processing buffer {"connection_id":119064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c3efd70012cf21f400710bbf8001400e027..."} 
[2026-07-01 11:26:27] local.INFO: Packet analysis {"connection_id":119064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c3e"} 
[2026-07-01 11:26:27] local.INFO: Extracted packet for processing {"connection_id":119064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c3e"} 
[2026-07-01 11:26:27] local.INFO: GPS Element Parsed {"raw_longitude":754065216,"raw_latitude":118537208,"longitude_deg":75.4065216,"latitude_deg":11.8537208,"altitude":20,"angle":224,"satellites":39,"speed":36,"hex_longitude":"2cf21f40","hex_latitude":"0710bbf8","is_valid_coordinates":true} 
[2026-07-01 11: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-01 11:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418641152001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333278797765804032,"note":"Value kept but may cause issues"} 
[2026-07-01 11:26:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-999236136977137664,"note":"Value kept but may cause issues"} 
[2026-07-01 11:26:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782885318000,"timestamp_ms":1782885318000,"timestamp_seconds":1782885318,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c3efd70"} 
[2026-07-01 11: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-01 11:26: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-01 11: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 11:26:27] 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-01 11: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-01 11: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-01 11:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:26:27] 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-01 11:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418641152001,"66":27843,"51":206,"83":41472,"24":36,"16":333278797765804032,"44":-999236136977137664},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,83,24,16,44]} 
[2026-07-01 11:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418641152001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:26:27] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-07-01 11:26:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 11:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333278797765804032,"km_value":333278797765804.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:26:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-999236136977137664,"description":"Unknown IO ID 44"} 
[2026-07-01 11:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418641152001,"power":27843,"unknown_51":206,"unknown_83":41472,"ignition":36,"odometer":null,"unknown_44":-999236136977137664}} 
[2026-07-01 11:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":119064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:26:27] local.INFO: GPS data processed {"connection_id":119064,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:26:27] local.INFO: Acknowledgment sent {"connection_id":119064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:26:58] local.INFO: TCP Data received {"connection_id":119064,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c3fbcd8012cf17c000710beb0000a00fa26..."} 
[2026-07-01 11:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c3fbcd8012cf17c000710beb0000a00fa26..."} 
[2026-07-01 11:26:58] local.INFO: Processing buffer {"connection_id":119064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c3fbcd8012cf17c000710beb0000a00fa26..."} 
[2026-07-01 11:26:58] local.INFO: Packet analysis {"connection_id":119064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c3f"} 
[2026-07-01 11:26:58] local.INFO: Extracted packet for processing {"connection_id":119064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c3f"} 
[2026-07-01 11:26:58] local.INFO: GPS Element Parsed {"raw_longitude":754023424,"raw_latitude":118537904,"longitude_deg":75.4023424,"latitude_deg":11.8537904,"altitude":10,"angle":250,"satellites":38,"speed":40,"hex_longitude":"2cf17c00","hex_latitude":"0710beb0","is_valid_coordinates":true} 
[2026-07-01 11: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-01 11:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418653184001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333280919479648256,"note":"Value kept but may cause issues"} 
[2026-07-01 11:26:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1042653652134551552,"note":"Value kept but may cause issues"} 
[2026-07-01 11:26:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782885367000,"timestamp_ms":1782885367000,"timestamp_seconds":1782885367,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c3fbcd8"} 
[2026-07-01 11: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-01 11:26:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-01 11:26:58] 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-01 11: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-01 11: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-01 11:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:26:58] 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-01 11:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418653184001,"66":27843,"242":206,"83":41472,"24":40,"16":333280919479648256,"44":-1042653652134551552},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,83,24,16,44]} 
[2026-07-01 11:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418653184001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:26:58] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-07-01 11:26:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 11:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333280919479648256,"km_value":333280919479648.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:26:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1042653652134551552,"description":"Unknown IO ID 44"} 
[2026-07-01 11:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418653184001,"power":27843,"unknown_242":206,"unknown_83":41472,"ignition":40,"odometer":null,"unknown_44":-1042653652134551552}} 
[2026-07-01 11:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":119064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:26:58] local.INFO: GPS data processed {"connection_id":119064,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:26:58] local.INFO: Acknowledgment sent {"connection_id":119064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:27:21] local.INFO: TCP Data received {"connection_id":118944,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:27:21] local.INFO: Processing buffer {"connection_id":118944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:27:21] local.INFO: IMEI packet received {"connection_id":118944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 11:27:21] local.INFO: IMEI acknowledgment sent {"connection_id":118944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:27:26] local.INFO: TCP Data received {"connection_id":118944,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:27:26] local.INFO: Processing buffer {"connection_id":118944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:27:26] local.INFO: IMEI packet received {"connection_id":118944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":118944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:27:27] local.INFO: TCP Data received {"connection_id":118944,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c3fcc78012cf16e000710ba80000a010523..."} 
[2026-07-01 11:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c3fcc78012cf16e000710ba80000a010523..."} 
[2026-07-01 11:27:27] local.INFO: Processing buffer {"connection_id":118944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c3fcc78012cf16e000710ba80000a010523..."} 
[2026-07-01 11:27:27] local.INFO: Packet analysis {"connection_id":118944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c3f"} 
[2026-07-01 11:27:27] local.INFO: Extracted packet for processing {"connection_id":118944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c3f"} 
[2026-07-01 11:27:27] local.INFO: GPS Element Parsed {"raw_longitude":754019840,"raw_latitude":118536832,"longitude_deg":75.401984,"latitude_deg":11.8536832,"altitude":10,"angle":261,"satellites":35,"speed":37,"hex_longitude":"2cf16e00","hex_latitude":"0710ba80","is_valid_coordinates":true} 
[2026-07-01 11:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418653952001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333281099868274688,"note":"Value kept but may cause issues"} 
[2026-07-01 11:27:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1045960983111094272,"note":"Value kept but may cause issues"} 
[2026-07-01 11:27:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782885371000,"timestamp_ms":1782885371000,"timestamp_seconds":1782885371,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c3fcc78"} 
[2026-07-01 11:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:27:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 11:27:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11:27:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:27:27] 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-01 11:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418653952001,"66":27908,"242":206,"83":41472,"24":37,"16":333281099868274688,"44":-1045960983111094272},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,83,24,16,44]} 
[2026-07-01 11:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418653952001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:27:27] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-07-01 11:27:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 11:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333281099868274688,"km_value":333281099868274.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:27:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1045960983111094272,"description":"Unknown IO ID 44"} 
[2026-07-01 11:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418653952001,"power":27908,"unknown_242":206,"unknown_83":41472,"ignition":37,"odometer":null,"unknown_44":-1045960983111094272}} 
[2026-07-01 11:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":118944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:27:27] local.INFO: GPS data processed {"connection_id":118944,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:27:27] local.INFO: Acknowledgment sent {"connection_id":118944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:27:58] local.INFO: TCP Data received {"connection_id":118944,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c40b2f0012cf087000710dc580008012126..."} 
[2026-07-01 11:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c40b2f0012cf087000710dc580008012126..."} 
[2026-07-01 11:27:58] local.INFO: Processing buffer {"connection_id":118944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c40b2f0012cf087000710dc580008012126..."} 
[2026-07-01 11:27:58] local.INFO: Packet analysis {"connection_id":118944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c40"} 
[2026-07-01 11:27:58] local.INFO: Extracted packet for processing {"connection_id":118944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c40"} 
[2026-07-01 11:27:58] local.INFO: GPS Element Parsed {"raw_longitude":753960704,"raw_latitude":118545496,"longitude_deg":75.3960704,"latitude_deg":11.8545496,"altitude":8,"angle":289,"satellites":38,"speed":46,"hex_longitude":"2cf08700","hex_latitude":"0710dc58","is_valid_coordinates":true} 
[2026-07-01 11: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-01 11:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418667776001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333284016151068672,"note":"Value kept but may cause issues"} 
[2026-07-01 11:27:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1104859621986932736,"note":"Value kept but may cause issues"} 
[2026-07-01 11:27:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782885430000,"timestamp_ms":1782885430000,"timestamp_seconds":1782885430,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c40b2f0"} 
[2026-07-01 11: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-01 11:27:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-01 11:27:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11: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-01 11: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-01 11:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:27:58] 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-01 11:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418667776001,"66":27876,"243":206,"83":41472,"24":46,"16":333284016151068672,"44":-1104859621986932736},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,83,24,16,44]} 
[2026-07-01 11:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418667776001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:27:58] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-07-01 11:27:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 11:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333284016151068672,"km_value":333284016151068.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:27:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1104859621986932736,"description":"Unknown IO ID 44"} 
[2026-07-01 11:27:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418667776001,"power":27876,"unknown_243":206,"unknown_83":41472,"ignition":46,"odometer":null,"unknown_44":-1104859621986932736}} 
[2026-07-01 11:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":118944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:27:58] local.INFO: GPS data processed {"connection_id":118944,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:27:58] local.INFO: Acknowledgment sent {"connection_id":118944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:28:26] local.INFO: TCP Data received {"connection_id":120821,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:28:26] local.INFO: Processing buffer {"connection_id":120821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:28:26] local.INFO: IMEI packet received {"connection_id":120821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 11:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":120821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:28:29] local.INFO: TCP Data received {"connection_id":120821,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:28:29] local.INFO: Processing buffer {"connection_id":120821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:28:29] local.INFO: IMEI packet received {"connection_id":120821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":120821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:28:30] local.INFO: TCP Data received {"connection_id":120821,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c40b2f0012cf087000710dc580008012126..."} 
[2026-07-01 11:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c40b2f0012cf087000710dc580008012126..."} 
[2026-07-01 11:28:30] local.INFO: Processing buffer {"connection_id":120821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c40b2f0012cf087000710dc580008012126..."} 
[2026-07-01 11:28:30] local.INFO: Packet analysis {"connection_id":120821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c40"} 
[2026-07-01 11:28:30] local.INFO: Extracted packet for processing {"connection_id":120821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c40"} 
[2026-07-01 11:28:30] local.INFO: GPS Element Parsed {"raw_longitude":753960704,"raw_latitude":118545496,"longitude_deg":75.3960704,"latitude_deg":11.8545496,"altitude":8,"angle":289,"satellites":38,"speed":46,"hex_longitude":"2cf08700","hex_latitude":"0710dc58","is_valid_coordinates":true} 
[2026-07-01 11: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-01 11:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418670080001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333284016151068672,"note":"Value kept but may cause issues"} 
[2026-07-01 11:28:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1114922352403261440,"note":"Value kept but may cause issues"} 
[2026-07-01 11:28:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782885430000,"timestamp_ms":1782885430000,"timestamp_seconds":1782885430,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c40b2f0"} 
[2026-07-01 11: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-01 11:28:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-01 11:28:30] 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-01 11: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-01 11: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-01 11:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":120821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":120821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":120821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:28:30] 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-01 11:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418670080001,"66":27876,"243":206,"83":41472,"24":46,"16":333284016151068672,"44":-1114922352403261440},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,83,24,16,44]} 
[2026-07-01 11:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418670080001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:28:30] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-07-01 11:28:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 11:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333284016151068672,"km_value":333284016151068.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:28:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1114922352403261440,"description":"Unknown IO ID 44"} 
[2026-07-01 11:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418670080001,"power":27876,"unknown_243":206,"unknown_83":41472,"ignition":46,"odometer":null,"unknown_44":-1114922352403261440}} 
[2026-07-01 11:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":120821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:28:30] local.INFO: GPS data processed {"connection_id":120821,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:28:30] local.INFO: Acknowledgment sent {"connection_id":120821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:28:31] local.INFO: TCP Data received {"connection_id":120821,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c40d230012cf061400710e740000a011a28..."} 
[2026-07-01 11:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c40d230012cf061400710e740000a011a28..."} 
[2026-07-01 11:28:31] local.INFO: Processing buffer {"connection_id":120821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c40d230012cf061400710e740000a011a28..."} 
[2026-07-01 11:28:31] local.INFO: Packet analysis {"connection_id":120821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c40"} 
[2026-07-01 11:28:31] local.INFO: Extracted packet for processing {"connection_id":120821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c40"} 
[2026-07-01 11:28:31] local.INFO: GPS Element Parsed {"raw_longitude":753951040,"raw_latitude":118548288,"longitude_deg":75.395104,"latitude_deg":11.8548288,"altitude":10,"angle":282,"satellites":40,"speed":52,"hex_longitude":"2cf06140","hex_latitude":"0710e740","is_valid_coordinates":true} 
[2026-07-01 11:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418670080001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333284497187405824,"note":"Value kept but may cause issues"} 
[2026-07-01 11:28:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1114922352403261440,"note":"Value kept but may cause issues"} 
[2026-07-01 11:28:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782885438000,"timestamp_ms":1782885438000,"timestamp_seconds":1782885438,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c40d230"} 
[2026-07-01 11:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:28:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-01 11:28:31] 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-01 11:28:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":120821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":120821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":120821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:28:31] 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-01 11:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418670080001,"66":27995,"243":206,"83":41472,"24":52,"16":333284497187405824,"44":-1114922352403261440},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,83,24,16,44]} 
[2026-07-01 11:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418670080001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:28:31] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-07-01 11:28:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 11:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333284497187405824,"km_value":333284497187405.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:28:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1114922352403261440,"description":"Unknown IO ID 44"} 
[2026-07-01 11:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418670080001,"power":27995,"unknown_243":206,"unknown_83":41472,"ignition":52,"odometer":null,"unknown_44":-1114922352403261440}} 
[2026-07-01 11:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":120821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:28:31] local.INFO: GPS data processed {"connection_id":120821,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:28:31] local.INFO: Acknowledgment sent {"connection_id":120821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:29:02] local.INFO: TCP Data received {"connection_id":120821,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c40f558012cf03b800710edd0000b010f27..."} 
[2026-07-01 11:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c40f558012cf03b800710edd0000b010f27..."} 
[2026-07-01 11:29:02] local.INFO: Processing buffer {"connection_id":120821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c40f558012cf03b800710edd0000b010f27..."} 
[2026-07-01 11:29:02] local.INFO: Packet analysis {"connection_id":120821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c40"} 
[2026-07-01 11:29:02] local.INFO: Extracted packet for processing {"connection_id":120821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c40"} 
[2026-07-01 11:29:02] local.INFO: GPS Element Parsed {"raw_longitude":753941376,"raw_latitude":118549968,"longitude_deg":75.3941376,"latitude_deg":11.8549968,"altitude":11,"angle":271,"satellites":39,"speed":37,"hex_longitude":"2cf03b80","hex_latitude":"0710edd0","is_valid_coordinates":true} 
[2026-07-01 11:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418672128001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333284965338841088,"note":"Value kept but may cause issues"} 
[2026-07-01 11:29:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1125548032773373952,"note":"Value kept but may cause issues"} 
[2026-07-01 11:29:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782885447000,"timestamp_ms":1782885447000,"timestamp_seconds":1782885447,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c40f558"} 
[2026-07-01 11:29:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:29:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-01 11:29:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11:29:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:29:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":120821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":120821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":120821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:29: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-01 11:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418672128001,"66":27745,"243":206,"83":41472,"24":37,"16":333284965338841088,"44":-1125548032773373952},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,83,24,16,44]} 
[2026-07-01 11:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418672128001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:29:02] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-07-01 11:29:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 11:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333284965338841088,"km_value":333284965338841.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:29:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1125548032773373952,"description":"Unknown IO ID 44"} 
[2026-07-01 11:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418672128001,"power":27745,"unknown_243":206,"unknown_83":41472,"ignition":37,"odometer":null,"unknown_44":-1125548032773373952}} 
[2026-07-01 11:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":120821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:29:03] local.INFO: GPS data processed {"connection_id":120821,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:29:03] local.INFO: Acknowledgment sent {"connection_id":120821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:29:21] local.INFO: TCP Data received {"connection_id":119066,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:29:21] local.INFO: Processing buffer {"connection_id":119066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:29:21] local.INFO: IMEI packet received {"connection_id":119066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 11:29:21] local.INFO: IMEI acknowledgment sent {"connection_id":119066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:29:25] local.INFO: TCP Data received {"connection_id":119066,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:29:25] local.INFO: Processing buffer {"connection_id":119066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:29:25] local.INFO: IMEI packet received {"connection_id":119066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":119066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:29:26] local.INFO: TCP Data received {"connection_id":119066,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c411880012cf016800710eed8000a010e28..."} 
[2026-07-01 11:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c411880012cf016800710eed8000a010e28..."} 
[2026-07-01 11:29:26] local.INFO: Processing buffer {"connection_id":119066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c411880012cf016800710eed8000a010e28..."} 
[2026-07-01 11:29:26] local.INFO: Packet analysis {"connection_id":119066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c41"} 
[2026-07-01 11:29:26] local.INFO: Extracted packet for processing {"connection_id":119066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c41"} 
[2026-07-01 11:29:26] local.INFO: GPS Element Parsed {"raw_longitude":753931904,"raw_latitude":118550232,"longitude_deg":75.3931904,"latitude_deg":11.8550232,"altitude":10,"angle":270,"satellites":40,"speed":41,"hex_longitude":"2cf01680","hex_latitude":"0710eed8","is_valid_coordinates":true} 
[2026-07-01 11:29:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:29:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418674432001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:29:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333285416310407168,"note":"Value kept but may cause issues"} 
[2026-07-01 11:29:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1136173713143771136,"note":"Value kept but may cause issues"} 
[2026-07-01 11:29:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:29:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782885456000,"timestamp_ms":1782885456000,"timestamp_seconds":1782885456,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c411880"} 
[2026-07-01 11:29:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:29:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11:29:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 11:29:26] 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-01 11:29:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:29:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:29:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:29:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:29:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:29:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:29:26] 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-01 11:29:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:29:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:29:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418674432001,"66":28050,"202":206,"83":41472,"24":41,"16":333285416310407168,"44":-1136173713143771136},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,83,24,16,44]} 
[2026-07-01 11:29:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:29:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:29:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418674432001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:29:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 11:29:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333285416310407168,"km_value":333285416310407.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:29:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1136173713143771136,"description":"Unknown IO ID 44"} 
[2026-07-01 11:29:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418674432001,"power":28050,"mcc":206,"unknown_83":41472,"ignition":41,"odometer":null,"unknown_44":-1136173713143771136}} 
[2026-07-01 11:29:26] local.INFO: DEBUG: GPS processor result {"connection_id":119066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:29:26] local.INFO: GPS data processed {"connection_id":119066,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:29:26] local.INFO: Acknowledgment sent {"connection_id":119066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:29:27] local.INFO: TCP Data received {"connection_id":119066,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c4133d8012ceff9400710f218000a011b26..."} 
[2026-07-01 11:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c4133d8012ceff9400710f218000a011b26..."} 
[2026-07-01 11:29:27] local.INFO: Processing buffer {"connection_id":119066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c4133d8012ceff9400710f218000a011b26..."} 
[2026-07-01 11:29:27] local.INFO: Packet analysis {"connection_id":119066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c41"} 
[2026-07-01 11:29:27] local.INFO: Extracted packet for processing {"connection_id":119066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c41"} 
[2026-07-01 11:29:27] local.INFO: GPS Element Parsed {"raw_longitude":753924416,"raw_latitude":118551064,"longitude_deg":75.3924416,"latitude_deg":11.8551064,"altitude":10,"angle":283,"satellites":38,"speed":43,"hex_longitude":"2ceff940","hex_latitude":"0710f218","is_valid_coordinates":true} 
[2026-07-01 11: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-01 11:29:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418676736001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:29:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333285772792692736,"note":"Value kept but may cause issues"} 
[2026-07-01 11:29:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1146588287281997824,"note":"Value kept but may cause issues"} 
[2026-07-01 11:29:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:29:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782885463000,"timestamp_ms":1782885463000,"timestamp_seconds":1782885463,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c4133d8"} 
[2026-07-01 11: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-01 11:29: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-01 11: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-01 11:29:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11: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-01 11: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-01 11:29:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:29:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:29:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:29:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:29:27] 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-01 11:29:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:29:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:29:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418676736001,"66":27767,"202":206,"83":41472,"24":43,"16":333285772792692736,"44":-1146588287281997824},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,83,24,16,44]} 
[2026-07-01 11:29:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:29:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:29:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418676736001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:29:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 11:29:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333285772792692736,"km_value":333285772792692.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:29:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1146588287281997824,"description":"Unknown IO ID 44"} 
[2026-07-01 11:29:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418676736001,"power":27767,"mcc":206,"unknown_83":41472,"ignition":43,"odometer":null,"unknown_44":-1146588287281997824}} 
[2026-07-01 11:29:27] local.INFO: DEBUG: GPS processor result {"connection_id":119066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:29:27] local.INFO: GPS data processed {"connection_id":119066,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:29:27] local.INFO: Acknowledgment sent {"connection_id":119066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:29:58] local.INFO: TCP Data received {"connection_id":119066,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c415318012cefd7000710faa80009012226..."} 
[2026-07-01 11:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c415318012cefd7000710faa80009012226..."} 
[2026-07-01 11:29:58] local.INFO: Processing buffer {"connection_id":119066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c415318012cefd7000710faa80009012226..."} 
[2026-07-01 11:29:58] local.INFO: Packet analysis {"connection_id":119066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c41"} 
[2026-07-01 11:29:58] local.INFO: Extracted packet for processing {"connection_id":119066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c41"} 
[2026-07-01 11:29:58] local.INFO: GPS Element Parsed {"raw_longitude":753915648,"raw_latitude":118553256,"longitude_deg":75.3915648,"latitude_deg":11.8553256,"altitude":9,"angle":290,"satellites":38,"speed":37,"hex_longitude":"2cefd700","hex_latitude":"0710faa8","is_valid_coordinates":true} 
[2026-07-01 11: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-01 11:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418678528001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:29:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333286202289422336,"note":"Value kept but may cause issues"} 
[2026-07-01 11:29:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1154821430350571520,"note":"Value kept but may cause issues"} 
[2026-07-01 11:29:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:29:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782885471000,"timestamp_ms":1782885471000,"timestamp_seconds":1782885471,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c415318"} 
[2026-07-01 11: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-01 11:29:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 11:29:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11: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-01 11: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-01 11:29:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:29:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:29:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:29:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:29:58] 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-01 11:29:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:29:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:29:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418678528001,"66":27908,"202":206,"83":41472,"24":37,"16":333286202289422336,"44":-1154821430350571520},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,83,24,16,44]} 
[2026-07-01 11:29:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:29:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:29:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418678528001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:29:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 11:29:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333286202289422336,"km_value":333286202289422.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:29:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1154821430350571520,"description":"Unknown IO ID 44"} 
[2026-07-01 11:29:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418678528001,"power":27908,"mcc":206,"unknown_83":41472,"ignition":37,"odometer":null,"unknown_44":-1154821430350571520}} 
[2026-07-01 11:29:58] local.INFO: DEBUG: GPS processor result {"connection_id":119066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:29:58] local.INFO: GPS data processed {"connection_id":119066,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:29:58] local.INFO: Acknowledgment sent {"connection_id":119066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:30:21] local.INFO: TCP Data received {"connection_id":119728,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:30:21] local.INFO: Processing buffer {"connection_id":119728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:30:21] local.INFO: IMEI packet received {"connection_id":119728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 11:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":119728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:30:26] local.INFO: TCP Data received {"connection_id":119728,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:30:26] local.INFO: Processing buffer {"connection_id":119728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:30:26] local.INFO: IMEI packet received {"connection_id":119728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":119728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:30:27] local.INFO: TCP Data received {"connection_id":119728,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c417e10012cefb5c007110a280009012729..."} 
[2026-07-01 11:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c417e10012cefb5c007110a280009012729..."} 
[2026-07-01 11:30:27] local.INFO: Processing buffer {"connection_id":119728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c417e10012cefb5c007110a280009012729..."} 
[2026-07-01 11:30:27] local.INFO: Packet analysis {"connection_id":119728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c41"} 
[2026-07-01 11:30:27] local.INFO: Extracted packet for processing {"connection_id":119728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c41"} 
[2026-07-01 11:30:27] local.INFO: GPS Element Parsed {"raw_longitude":753907136,"raw_latitude":118557224,"longitude_deg":75.3907136,"latitude_deg":11.8557224,"altitude":9,"angle":295,"satellites":41,"speed":31,"hex_longitude":"2cefb5c0","hex_latitude":"07110a28","is_valid_coordinates":true} 
[2026-07-01 11:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418680576001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333286648966021120,"note":"Value kept but may cause issues"} 
[2026-07-01 11:30:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1164461948302350336,"note":"Value kept but may cause issues"} 
[2026-07-01 11:30:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782885482000,"timestamp_ms":1782885482000,"timestamp_seconds":1782885482,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c417e10"} 
[2026-07-01 11:30:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:30:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 11:30:27] 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-01 11:30:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:30:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:30:27] 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-01 11:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418680576001,"66":27974,"202":206,"83":41472,"24":31,"16":333286648966021120,"44":-1164461948302350336},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,83,24,16,44]} 
[2026-07-01 11:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418680576001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:30:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 11:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333286648966021120,"km_value":333286648966021.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:30:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1164461948302350336,"description":"Unknown IO ID 44"} 
[2026-07-01 11:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418680576001,"power":27974,"mcc":206,"unknown_83":41472,"ignition":31,"odometer":null,"unknown_44":-1164461948302350336}} 
[2026-07-01 11:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":119728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:30:27] local.INFO: GPS data processed {"connection_id":119728,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:30:27] local.INFO: Acknowledgment sent {"connection_id":119728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:30:31] local.INFO: TCP Data received {"connection_id":119727,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119727,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:30:31] local.INFO: Processing buffer {"connection_id":119727,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:30:31] local.INFO: IMEI packet received {"connection_id":119727,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 11:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":119727,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:30:59] local.INFO: TCP Data received {"connection_id":119728,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c41b8a8012cef960007111968000a012c28..."} 
[2026-07-01 11:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c41b8a8012cef960007111968000a012c28..."} 
[2026-07-01 11:30:59] local.INFO: Processing buffer {"connection_id":119728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c41b8a8012cef960007111968000a012c28..."} 
[2026-07-01 11:30:59] local.INFO: Packet analysis {"connection_id":119728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c41"} 
[2026-07-01 11:30:59] local.INFO: Extracted packet for processing {"connection_id":119728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c41"} 
[2026-07-01 11:30:59] local.INFO: GPS Element Parsed {"raw_longitude":753899008,"raw_latitude":118561128,"longitude_deg":75.3899008,"latitude_deg":11.8561128,"altitude":10,"angle":300,"satellites":40,"speed":22,"hex_longitude":"2cef9600","hex_latitude":"07111968","is_valid_coordinates":true} 
[2026-07-01 11:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418683392001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333287078462750720,"note":"Value kept but may cause issues"} 
[2026-07-01 11:30:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1173820991276963840,"note":"Value kept but may cause issues"} 
[2026-07-01 11:30:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782885497000,"timestamp_ms":1782885497000,"timestamp_seconds":1782885497,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c41b8a8"} 
[2026-07-01 11:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:30:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-01 11:30:59] 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-01 11:30:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:30:59] 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-01 11:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418683392001,"66":27876,"202":206,"83":41472,"24":22,"16":333287078462750720,"44":-1173820991276963840},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,83,24,16,44]} 
[2026-07-01 11:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418683392001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:30:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 11:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333287078462750720,"km_value":333287078462750.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:30:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1173820991276963840,"description":"Unknown IO ID 44"} 
[2026-07-01 11:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418683392001,"power":27876,"mcc":206,"unknown_83":41472,"ignition":22,"odometer":null,"unknown_44":-1173820991276963840}} 
[2026-07-01 11:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":119728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:30:59] local.INFO: GPS data processed {"connection_id":119728,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:30:59] local.INFO: Acknowledgment sent {"connection_id":119728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:31:16] local.INFO: TCP Data received {"connection_id":119729,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119729,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:31:16] local.INFO: Processing buffer {"connection_id":119729,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:31:16] local.INFO: IMEI packet received {"connection_id":119729,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 11:31:16] local.INFO: IMEI acknowledgment sent {"connection_id":119729,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:31:21] local.INFO: TCP Data received {"connection_id":119067,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:31:21] local.INFO: Processing buffer {"connection_id":119067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:31:21] local.INFO: IMEI packet received {"connection_id":119067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 11:31:21] local.INFO: IMEI acknowledgment sent {"connection_id":119067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:31:26] local.INFO: TCP Data received {"connection_id":119067,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:31:26] local.INFO: Processing buffer {"connection_id":119067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:31:26] local.INFO: IMEI packet received {"connection_id":119067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":119067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:31:27] local.INFO: TCP Data received {"connection_id":119067,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c439d08012cef350007111cd0000b012b28..."} 
[2026-07-01 11:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c439d08012cef350007111cd0000b012b28..."} 
[2026-07-01 11:31:27] local.INFO: Processing buffer {"connection_id":119067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c439d08012cef350007111cd0000b012b28..."} 
[2026-07-01 11:31:27] local.INFO: Packet analysis {"connection_id":119067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c43"} 
[2026-07-01 11:31:27] local.INFO: Extracted packet for processing {"connection_id":119067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c43"} 
[2026-07-01 11:31:27] local.INFO: GPS Element Parsed {"raw_longitude":753874176,"raw_latitude":118562000,"longitude_deg":75.3874176,"latitude_deg":11.8562,"altitude":11,"angle":299,"satellites":40,"speed":12,"hex_longitude":"2cef3500","hex_latitude":"07111cd0","is_valid_coordinates":true} 
[2026-07-01 11:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418714880001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333288414197579776,"note":"Value kept but may cause issues"} 
[2026-07-01 11:31:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1207527619737026560,"note":"Value kept but may cause issues"} 
[2026-07-01 11:31:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782885621000,"timestamp_ms":1782885621000,"timestamp_seconds":1782885621,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c439d08"} 
[2026-07-01 11:31:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:31:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 11:31:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11:31:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:31:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:31:27] 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-01 11:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418714880001,"66":27767,"203":206,"83":41472,"24":12,"16":333288414197579776,"44":-1207527619737026560},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,83,24,16,44]} 
[2026-07-01 11:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418714880001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:31:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 11:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333288414197579776,"km_value":333288414197579.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:31:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1207527619737026560,"description":"Unknown IO ID 44"} 
[2026-07-01 11:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418714880001,"power":27767,"mnc":206,"unknown_83":41472,"ignition":12,"odometer":null,"unknown_44":-1207527619737026560}} 
[2026-07-01 11:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":119067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:31:27] local.INFO: GPS data processed {"connection_id":119067,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:31:27] local.INFO: Acknowledgment sent {"connection_id":119067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:31:58] local.INFO: TCP Data received {"connection_id":119067,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c43a8c0012cef318007111f58000b013a28..."} 
[2026-07-01 11:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c43a8c0012cef318007111f58000b013a28..."} 
[2026-07-01 11:31:58] local.INFO: Processing buffer {"connection_id":119067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c43a8c0012cef318007111f58000b013a28..."} 
[2026-07-01 11:31:58] local.INFO: Packet analysis {"connection_id":119067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c43"} 
[2026-07-01 11:31:58] local.INFO: Extracted packet for processing {"connection_id":119067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c43"} 
[2026-07-01 11:31:58] local.INFO: GPS Element Parsed {"raw_longitude":753873280,"raw_latitude":118562648,"longitude_deg":75.387328,"latitude_deg":11.8562648,"altitude":11,"angle":314,"satellites":40,"speed":16,"hex_longitude":"2cef3180","hex_latitude":"07111f58","is_valid_coordinates":true} 
[2026-07-01 11:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418718976001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333288465737187328,"note":"Value kept but may cause issues"} 
[2026-07-01 11:31:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1210060894527238144,"note":"Value kept but may cause issues"} 
[2026-07-01 11:31:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782885624000,"timestamp_ms":1782885624000,"timestamp_seconds":1782885624,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c43a8c0"} 
[2026-07-01 11:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:31:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 11:31:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11:31:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:31:58] 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-01 11:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418718976001,"66":27658,"203":206,"83":41472,"24":16,"16":333288465737187328,"44":-1210060894527238144},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,83,24,16,44]} 
[2026-07-01 11:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418718976001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:31:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 11:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333288465737187328,"km_value":333288465737187.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:31:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1210060894527238144,"description":"Unknown IO ID 44"} 
[2026-07-01 11:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418718976001,"power":27658,"mnc":206,"unknown_83":41472,"ignition":16,"odometer":null,"unknown_44":-1210060894527238144}} 
[2026-07-01 11:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":119067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:31:58] local.INFO: GPS data processed {"connection_id":119067,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:31:58] local.INFO: Acknowledgment sent {"connection_id":119067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:32:21] local.INFO: TCP Data received {"connection_id":120824,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:32:21] local.INFO: Processing buffer {"connection_id":120824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:32:21] local.INFO: IMEI packet received {"connection_id":120824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 11:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":120824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:32:23] local.INFO: TCP Data received {"connection_id":120824,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:32:23] local.INFO: Processing buffer {"connection_id":120824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:32:23] local.INFO: IMEI packet received {"connection_id":120824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":120824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:32:27] local.INFO: TCP Data received {"connection_id":120824,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:32:27] local.INFO: Processing buffer {"connection_id":120824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:32:27] local.INFO: IMEI packet received {"connection_id":120824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":120824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:32:28] local.INFO: TCP Data received {"connection_id":120824,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c43b090012cef2f8007112220000b014c27..."} 
[2026-07-01 11:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c43b090012cef2f8007112220000b014c27..."} 
[2026-07-01 11:32:28] local.INFO: Processing buffer {"connection_id":120824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c43b090012cef2f8007112220000b014c27..."} 
[2026-07-01 11:32:28] local.INFO: Packet analysis {"connection_id":120824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c43"} 
[2026-07-01 11:32:28] local.INFO: Extracted packet for processing {"connection_id":120824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c43"} 
[2026-07-01 11:32:28] local.INFO: GPS Element Parsed {"raw_longitude":753872768,"raw_latitude":118563360,"longitude_deg":75.3872768,"latitude_deg":11.856336,"altitude":11,"angle":332,"satellites":39,"speed":16,"hex_longitude":"2cef2f80","hex_latitude":"07112220","is_valid_coordinates":true} 
[2026-07-01 11:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:32:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418719744001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:32:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333288508686860288,"note":"Value kept but may cause issues"} 
[2026-07-01 11:32:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1211046056945559552,"note":"Value kept but may cause issues"} 
[2026-07-01 11:32:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:32:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782885626000,"timestamp_ms":1782885626000,"timestamp_seconds":1782885626,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c43b090"} 
[2026-07-01 11:32:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:32: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-01 11:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-01 11:32:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11:32:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:32:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:32:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:32:28] local.INFO: Teltonika packet parsed successfully {"connection_id":120824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:32:28] local.INFO: Passing IMEI to GPS processor {"connection_id":120824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:32:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":120824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:32:28] 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-01 11:32:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:32:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:32:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418719744001,"66":27843,"203":206,"83":41472,"24":16,"16":333288508686860288,"44":-1211046056945559552},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,83,24,16,44]} 
[2026-07-01 11:32:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:32:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:32:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418719744001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:32:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 11:32:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333288508686860288,"km_value":333288508686860.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:32:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1211046056945559552,"description":"Unknown IO ID 44"} 
[2026-07-01 11:32:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418719744001,"power":27843,"mnc":206,"unknown_83":41472,"ignition":16,"odometer":null,"unknown_44":-1211046056945559552}} 
[2026-07-01 11:32:28] local.INFO: DEBUG: GPS processor result {"connection_id":120824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:32:28] local.INFO: GPS data processed {"connection_id":120824,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:32:28] local.INFO: Acknowledgment sent {"connection_id":120824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:32:59] local.INFO: TCP Data received {"connection_id":120824,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c4546d0012cee900007117dd00007010d26..."} 
[2026-07-01 11:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c4546d0012cee900007117dd00007010d26..."} 
[2026-07-01 11:32:59] local.INFO: Processing buffer {"connection_id":120824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c4546d0012cee900007117dd00007010d26..."} 
[2026-07-01 11:32:59] local.INFO: Packet analysis {"connection_id":120824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c45"} 
[2026-07-01 11:32:59] local.INFO: Extracted packet for processing {"connection_id":120824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c45"} 
[2026-07-01 11:32:59] local.INFO: GPS Element Parsed {"raw_longitude":753831936,"raw_latitude":118586832,"longitude_deg":75.3831936,"latitude_deg":11.8586832,"altitude":7,"angle":269,"satellites":38,"speed":23,"hex_longitude":"2cee9000","hex_latitude":"07117dd0","is_valid_coordinates":true} 
[2026-07-01 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-01 11:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418745344001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333290849444036608,"note":"Value kept but may cause issues"} 
[2026-07-01 11:32:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1253337672189947904,"note":"Value kept but may cause issues"} 
[2026-07-01 11:32:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782885730000,"timestamp_ms":1782885730000,"timestamp_seconds":1782885730,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c4546d0"} 
[2026-07-01 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-01 11:32:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-01 11:32:59] 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-01 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-01 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-01 11:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":120824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":120824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":120824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:32:59] 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-01 11:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418745344001,"66":27974,"84":206,"83":41472,"24":23,"16":333290849444036608,"44":-1253337672189947904},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,83,24,16,44]} 
[2026-07-01 11:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418745344001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:32:59] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-07-01 11:32:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 11:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333290849444036608,"km_value":333290849444036.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:32:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1253337672189947904,"description":"Unknown IO ID 44"} 
[2026-07-01 11:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418745344001,"power":27974,"unknown_84":206,"unknown_83":41472,"ignition":23,"odometer":null,"unknown_44":-1253337672189947904}} 
[2026-07-01 11:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":120824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:32:59] local.INFO: GPS data processed {"connection_id":120824,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:32:59] local.INFO: Acknowledgment sent {"connection_id":120824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:33:20] local.INFO: TCP Data received {"connection_id":119068,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:33:20] local.INFO: Processing buffer {"connection_id":119068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:33:20] local.INFO: IMEI packet received {"connection_id":119068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 11:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":119068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:33:21] local.INFO: TCP Data received {"connection_id":119068,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:33:21] local.INFO: Processing buffer {"connection_id":119068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:33:21] local.INFO: IMEI packet received {"connection_id":119068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:33:21] local.INFO: IMEI acknowledgment sent {"connection_id":119068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:33:21] local.INFO: TCP Data received {"connection_id":119068,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:33:21] local.INFO: Processing buffer {"connection_id":119068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:33:21] local.INFO: IMEI packet received {"connection_id":119068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:33:21] local.INFO: IMEI acknowledgment sent {"connection_id":119068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:33:22] local.INFO: TCP Data received {"connection_id":119068,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:33:22] local.INFO: Processing buffer {"connection_id":119068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:33:22] local.INFO: IMEI packet received {"connection_id":119068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:33:22] local.INFO: IMEI acknowledgment sent {"connection_id":119068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:36:32] local.INFO: TCP Data received {"connection_id":120825,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120825,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:36:32] local.INFO: Processing buffer {"connection_id":120825,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:36:32] local.INFO: IMEI packet received {"connection_id":120825,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 11:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":120825,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:37:21] local.INFO: TCP Data received {"connection_id":119070,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119070,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:37:21] local.INFO: Processing buffer {"connection_id":119070,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:37:21] local.INFO: IMEI packet received {"connection_id":119070,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 11:37:21] local.INFO: IMEI acknowledgment sent {"connection_id":119070,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:38:31] local.INFO: TCP Data received {"connection_id":119072,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:38:31] local.INFO: Processing buffer {"connection_id":119072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:38:31] local.INFO: IMEI packet received {"connection_id":119072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 11:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":119072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:38:31] local.INFO: TCP Data received {"connection_id":119072,"ip":"42.106.6.32","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 11:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119072,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 11:38:31] local.INFO: Processing buffer {"connection_id":119072,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 11:38:31] local.INFO: IMEI packet received {"connection_id":119072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":119072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:38:35] local.INFO: TCP Data received {"connection_id":119072,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:38:35] local.INFO: Processing buffer {"connection_id":119072,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 11:38:35] local.INFO: IMEI packet received {"connection_id":119072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":119072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:38:36] local.INFO: TCP Data received {"connection_id":119072,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c48b9a0012ced09400711b1c8000b012123..."} 
[2026-07-01 11:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c48b9a0012ced09400711b1c8000b012123..."} 
[2026-07-01 11:38:36] local.INFO: Processing buffer {"connection_id":119072,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f1c..."} 
[2026-07-01 11:38:36] local.INFO: IMEI packet received {"connection_id":119072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":119072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:38:37] local.INFO: TCP Data received {"connection_id":119072,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c4903d8012cecf1400711bba0000d014025..."} 
[2026-07-01 11:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c4903d8012cecf1400711bba0000d014025..."} 
[2026-07-01 11:38:37] local.INFO: Processing buffer {"connection_id":119072,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f1c48b9a0012ced09400711b1c8000b012123..."} 
[2026-07-01 11:38:37] local.INFO: Packet analysis {"connection_id":119072,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f1c48"} 
[2026-07-01 11:38:37] local.INFO: Extracted packet for processing {"connection_id":119072,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c48"} 
[2026-07-01 11:38:37] local.INFO: GPS Element Parsed {"raw_longitude":753731904,"raw_latitude":118600136,"longitude_deg":75.3731904,"latitude_deg":11.8600136,"altitude":11,"angle":289,"satellites":35,"speed":24,"hex_longitude":"2ced0940","hex_latitude":"0711b1c8","is_valid_coordinates":true} 
[2026-07-01 11:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418800640001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333296389951848448,"note":"Value kept but may cause issues"} 
[2026-07-01 11:38:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1356498251151884288,"note":"Value kept but may cause issues"} 
[2026-07-01 11:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,45,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782885956000,"timestamp_ms":1782885956000,"timestamp_seconds":1782885956,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c48b9a0"} 
[2026-07-01 11:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 11:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":119072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":119072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":119072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 11:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418800640001,"66":27908,"45":206,"83":41472,"24":24,"16":333296389951848448,"44":-1356498251151884288},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16,44]} 
[2026-07-01 11:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418800640001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":206,"description":"Unknown IO ID 45"} 
[2026-07-01 11:38:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 11:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333296389951848448,"km_value":333296389951848.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:38:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1356498251151884288,"description":"Unknown IO ID 44"} 
[2026-07-01 11:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418800640001,"power":27908,"unknown_45":206,"unknown_83":41472,"ignition":24,"odometer":null,"unknown_44":-1356498251151884288}} 
[2026-07-01 11:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":119072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:38:37] local.INFO: GPS data processed {"connection_id":119072,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:38:37] local.INFO: Acknowledgment sent {"connection_id":119072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:38:37] local.INFO: Packet analysis {"connection_id":119072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c49"} 
[2026-07-01 11:38:37] local.INFO: Extracted packet for processing {"connection_id":119072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c49"} 
[2026-07-01 11:38:37] local.INFO: GPS Element Parsed {"raw_longitude":753725760,"raw_latitude":118602656,"longitude_deg":75.372576,"latitude_deg":11.8602656,"altitude":13,"angle":320,"satellites":37,"speed":8,"hex_longitude":"2cecf140","hex_latitude":"0711bba0","is_valid_coordinates":true} 
[2026-07-01 11:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418804736001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333296712074395648,"note":"Value kept but may cause issues"} 
[2026-07-01 11:38:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1366490612824422400,"note":"Value kept but may cause issues"} 
[2026-07-01 11:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782885975000,"timestamp_ms":1782885975000,"timestamp_seconds":1782885975,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c4903d8"} 
[2026-07-01 11:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:38: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-01 11:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 11:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":119072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":119072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":119072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 11:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418804736001,"66":27908,"47":206,"83":41472,"24":8,"16":333296712074395648,"44":-1366490612824422400},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,83,24,16,44]} 
[2026-07-01 11:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418804736001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:38:37] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-01 11:38:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 11:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333296712074395648,"km_value":333296712074395.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:38:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1366490612824422400,"description":"Unknown IO ID 44"} 
[2026-07-01 11:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418804736001,"power":27908,"unknown_47":206,"unknown_83":41472,"ignition":8,"odometer":null,"unknown_44":-1366490612824422400}} 
[2026-07-01 11:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":119072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:38:37] local.INFO: GPS data processed {"connection_id":119072,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:38:37] local.INFO: Acknowledgment sent {"connection_id":119072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:39:21] local.INFO: TCP Data received {"connection_id":118947,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:39:21] local.INFO: Processing buffer {"connection_id":118947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:39:21] local.INFO: IMEI packet received {"connection_id":118947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 11:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":118947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:39:26] local.INFO: TCP Data received {"connection_id":118947,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:39:26] local.INFO: Processing buffer {"connection_id":118947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:39:26] local.INFO: IMEI packet received {"connection_id":118947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":118947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:39:26] local.INFO: TCP Data received {"connection_id":118947,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c490f90012ceceec00711bda8000d013224..."} 
[2026-07-01 11:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c490f90012ceceec00711bda8000d013224..."} 
[2026-07-01 11:39:26] local.INFO: Processing buffer {"connection_id":118947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c490f90012ceceec00711bda8000d013224..."} 
[2026-07-01 11:39:26] local.INFO: Packet analysis {"connection_id":118947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c49"} 
[2026-07-01 11:39:26] local.INFO: Extracted packet for processing {"connection_id":118947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c49"} 
[2026-07-01 11:39:26] local.INFO: GPS Element Parsed {"raw_longitude":753725120,"raw_latitude":118603176,"longitude_deg":75.372512,"latitude_deg":11.8603176,"altitude":13,"angle":306,"satellites":36,"speed":11,"hex_longitude":"2ceceec0","hex_latitude":"0711bda8","is_valid_coordinates":true} 
[2026-07-01 11:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:39:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418809600001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:39:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333296746434134016,"note":"Value kept but may cause issues"} 
[2026-07-01 11:39:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1373246012264833024,"note":"Value kept but may cause issues"} 
[2026-07-01 11:39:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:39:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782885978000,"timestamp_ms":1782885978000,"timestamp_seconds":1782885978,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c490f90"} 
[2026-07-01 11:39:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:39: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-01 11:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 11:39:26] 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-01 11:39:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:39:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:39:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:39:26] local.INFO: Teltonika packet parsed successfully {"connection_id":118947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:39:26] local.INFO: Passing IMEI to GPS processor {"connection_id":118947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:39:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":118947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:39:26] 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-01 11:39:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:39:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:39:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418809600001,"66":27832,"47":206,"83":41472,"24":11,"16":333296746434134016,"44":-1373246012264833024},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,83,24,16,44]} 
[2026-07-01 11:39:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:39:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:39:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418809600001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:39:26] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-01 11:39:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 11:39:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333296746434134016,"km_value":333296746434134.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:39:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1373246012264833024,"description":"Unknown IO ID 44"} 
[2026-07-01 11:39:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418809600001,"power":27832,"unknown_47":206,"unknown_83":41472,"ignition":11,"odometer":null,"unknown_44":-1373246012264833024}} 
[2026-07-01 11:39:26] local.INFO: DEBUG: GPS processor result {"connection_id":118947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:39:26] local.INFO: GPS data processed {"connection_id":118947,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:39:26] local.INFO: Acknowledgment sent {"connection_id":118947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:39:58] local.INFO: TCP Data received {"connection_id":118947,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c4bb740012cec0a40071296c80015013d26..."} 
[2026-07-01 11:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c4bb740012cec0a40071296c80015013d26..."} 
[2026-07-01 11:39:58] local.INFO: Processing buffer {"connection_id":118947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c4bb740012cec0a40071296c80015013d26..."} 
[2026-07-01 11:39:58] local.INFO: Packet analysis {"connection_id":118947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c4b"} 
[2026-07-01 11:39:58] local.INFO: Extracted packet for processing {"connection_id":118947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c4b"} 
[2026-07-01 11:39:58] local.INFO: GPS Element Parsed {"raw_longitude":753666624,"raw_latitude":118658760,"longitude_deg":75.3666624,"latitude_deg":11.865876,"altitude":21,"angle":317,"satellites":38,"speed":15,"hex_longitude":"2cec0a40","hex_latitude":"071296c8","is_valid_coordinates":true} 
[2026-07-01 11: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-01 11:39:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418849536001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:39:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333300650559406080,"note":"Value kept but may cause issues"} 
[2026-07-01 11:39:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1432918707314833408,"note":"Value kept but may cause issues"} 
[2026-07-01 11:39:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:39:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782886152000,"timestamp_ms":1782886152000,"timestamp_seconds":1782886152,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c4bb740"} 
[2026-07-01 11: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-01 11:39:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 11:39:58] 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-01 11: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-01 11: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-01 11:39:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:39:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:39:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:39:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:39:58] 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-01 11:39:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:39:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:39:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418849536001,"66":27887,"203":206,"83":41472,"24":15,"16":333300650559406080,"44":-1432918707314833408},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,83,24,16,44]} 
[2026-07-01 11:39:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:39:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:39:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418849536001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:39:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 11:39:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333300650559406080,"km_value":333300650559406.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:39:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1432918707314833408,"description":"Unknown IO ID 44"} 
[2026-07-01 11:39:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418849536001,"power":27887,"mnc":206,"unknown_83":41472,"ignition":15,"odometer":null,"unknown_44":-1432918707314833408}} 
[2026-07-01 11:39:58] local.INFO: DEBUG: GPS processor result {"connection_id":118947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:39:58] local.INFO: GPS data processed {"connection_id":118947,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:39:58] local.INFO: Acknowledgment sent {"connection_id":118947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:40:21] local.INFO: TCP Data received {"connection_id":119074,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:40:21] local.INFO: Processing buffer {"connection_id":119074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:40:21] local.INFO: IMEI packet received {"connection_id":119074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 11:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":119074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:40:30] local.INFO: TCP Data received {"connection_id":119074,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:40:30] local.INFO: Processing buffer {"connection_id":119074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:40:30] local.INFO: IMEI packet received {"connection_id":119074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":119074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:40:30] local.INFO: TCP Data received {"connection_id":119074,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:40:30] local.INFO: Processing buffer {"connection_id":119074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:40:30] local.INFO: IMEI packet received {"connection_id":119074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":119074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:40:31] local.INFO: TCP Data received {"connection_id":119074,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:40:31] local.INFO: Processing buffer {"connection_id":119074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:40:31] local.INFO: IMEI packet received {"connection_id":119074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":119074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:40:31] local.INFO: TCP Data received {"connection_id":119074,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c4bcac8012cec058007129b480016013125..."} 
[2026-07-01 11:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c4bcac8012cec058007129b480016013125..."} 
[2026-07-01 11:40:31] local.INFO: Processing buffer {"connection_id":119074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c4bcac8012cec058007129b480016013125..."} 
[2026-07-01 11:40:31] local.INFO: Packet analysis {"connection_id":119074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c4b"} 
[2026-07-01 11:40:31] local.INFO: Extracted packet for processing {"connection_id":119074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c4b"} 
[2026-07-01 11:40:31] local.INFO: GPS Element Parsed {"raw_longitude":753665408,"raw_latitude":118659912,"longitude_deg":75.3665408,"latitude_deg":11.8659912,"altitude":22,"angle":305,"satellites":37,"speed":15,"hex_longitude":"2cec0580","hex_latitude":"07129b48","is_valid_coordinates":true} 
[2026-07-01 11:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418854912001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333300732163784704,"note":"Value kept but may cause issues"} 
[2026-07-01 11:40:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1438266731870631936,"note":"Value kept but may cause issues"} 
[2026-07-01 11:40:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782886157000,"timestamp_ms":1782886157000,"timestamp_seconds":1782886157,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c4bcac8"} 
[2026-07-01 11:40:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:40:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-01 11:40:31] 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-01 11:40:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:40:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:40:31] 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-01 11:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418854912001,"66":27713,"116":206,"83":41472,"24":15,"16":333300732163784704,"44":-1438266731870631936},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,83,24,16,44]} 
[2026-07-01 11:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418854912001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:40:31] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-01 11:40:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 11:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333300732163784704,"km_value":333300732163784.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:40:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1438266731870631936,"description":"Unknown IO ID 44"} 
[2026-07-01 11:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418854912001,"power":27713,"unknown_116":206,"unknown_83":41472,"ignition":15,"odometer":null,"unknown_44":-1438266731870631936}} 
[2026-07-01 11:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":119074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:40:31] local.INFO: GPS data processed {"connection_id":119074,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:40:31] local.INFO: Acknowledgment sent {"connection_id":119074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:40:33] local.INFO: TCP Data received {"connection_id":119074,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c4bd298012cec02c007129cb80016012026..."} 
[2026-07-01 11:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c4bd298012cec02c007129cb80016012026..."} 
[2026-07-01 11:40:33] local.INFO: Processing buffer {"connection_id":119074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c4bd298012cec02c007129cb80016012026..."} 
[2026-07-01 11:40:33] local.INFO: Packet analysis {"connection_id":119074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c4b"} 
[2026-07-01 11:40:33] local.INFO: Extracted packet for processing {"connection_id":119074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c4b"} 
[2026-07-01 11:40:33] local.INFO: GPS Element Parsed {"raw_longitude":753664704,"raw_latitude":118660280,"longitude_deg":75.3664704,"latitude_deg":11.866028,"altitude":22,"angle":288,"satellites":38,"speed":13,"hex_longitude":"2cec02c0","hex_latitude":"07129cb8","is_valid_coordinates":true} 
[2026-07-01 11:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418856192001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333300766523523072,"note":"Value kept but may cause issues"} 
[2026-07-01 11:40:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1439603738009712640,"note":"Value kept but may cause issues"} 
[2026-07-01 11:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782886159000,"timestamp_ms":1782886159000,"timestamp_seconds":1782886159,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c4bd298"} 
[2026-07-01 11:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:40: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-01 11:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-01 11:40:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11:40:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":119074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":119074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":119074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:40:33] 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-01 11:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418856192001,"66":27832,"116":206,"83":41472,"24":13,"16":333300766523523072,"44":-1439603738009712640},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,83,24,16,44]} 
[2026-07-01 11:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418856192001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:40:33] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-01 11:40:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 11:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333300766523523072,"km_value":333300766523523.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:40:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1439603738009712640,"description":"Unknown IO ID 44"} 
[2026-07-01 11:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418856192001,"power":27832,"unknown_116":206,"unknown_83":41472,"ignition":13,"odometer":null,"unknown_44":-1439603738009712640}} 
[2026-07-01 11:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":119074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:40:33] local.INFO: GPS data processed {"connection_id":119074,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:40:33] local.INFO: Acknowledgment sent {"connection_id":119074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:41:04] local.INFO: TCP Data received {"connection_id":119074,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c4bda68012cebffc007129d580015011126..."} 
[2026-07-01 11:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c4bda68012cebffc007129d580015011126..."} 
[2026-07-01 11:41:04] local.INFO: Processing buffer {"connection_id":119074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c4bda68012cebffc007129d580015011126..."} 
[2026-07-01 11:41:04] local.INFO: Packet analysis {"connection_id":119074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c4b"} 
[2026-07-01 11:41:04] local.INFO: Extracted packet for processing {"connection_id":119074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c4b"} 
[2026-07-01 11:41:04] local.INFO: GPS Element Parsed {"raw_longitude":753663936,"raw_latitude":118660440,"longitude_deg":75.3663936,"latitude_deg":11.866044,"altitude":21,"angle":273,"satellites":38,"speed":16,"hex_longitude":"2cebffc0","hex_latitude":"07129d58","is_valid_coordinates":true} 
[2026-07-01 11: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-01 11:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418856704001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333300805178228736,"note":"Value kept but may cause issues"} 
[2026-07-01 11:41:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1440377794195572736,"note":"Value kept but may cause issues"} 
[2026-07-01 11:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782886161000,"timestamp_ms":1782886161000,"timestamp_seconds":1782886161,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c4bda68"} 
[2026-07-01 11: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-01 11:41:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-01 11:41:04] 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-01 11: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-01 11: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-01 11:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":119074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":119074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":119074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:41:04] 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-01 11:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418856704001,"66":27800,"116":206,"83":41472,"24":16,"16":333300805178228736,"44":-1440377794195572736},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,83,24,16,44]} 
[2026-07-01 11:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418856704001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:41:04] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-01 11:41:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 11:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333300805178228736,"km_value":333300805178228.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:41:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1440377794195572736,"description":"Unknown IO ID 44"} 
[2026-07-01 11:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418856704001,"power":27800,"unknown_116":206,"unknown_83":41472,"ignition":16,"odometer":null,"unknown_44":-1440377794195572736}} 
[2026-07-01 11:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":119074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:41:04] local.INFO: GPS data processed {"connection_id":119074,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:41:04] local.INFO: Acknowledgment sent {"connection_id":119074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:41:26] local.INFO: TCP Data received {"connection_id":119735,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:41:26] local.INFO: Processing buffer {"connection_id":119735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:41:26] local.INFO: IMEI packet received {"connection_id":119735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 11:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":119735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:41:26] local.INFO: TCP Data received {"connection_id":119735,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:41:26] local.INFO: Processing buffer {"connection_id":119735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:41:26] local.INFO: IMEI packet received {"connection_id":119735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":119735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:41:30] local.INFO: TCP Data received {"connection_id":119735,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:41:30] local.INFO: Processing buffer {"connection_id":119735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:41:30] local.INFO: IMEI packet received {"connection_id":119735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":119735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:41:31] local.INFO: TCP Data received {"connection_id":119735,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c4d2288012ceb13c00711e4e8000f00f223..."} 
[2026-07-01 11:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c4d2288012ceb13c00711e4e8000f00f223..."} 
[2026-07-01 11:41:31] local.INFO: Processing buffer {"connection_id":119735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c4d2288012ceb13c00711e4e8000f00f223..."} 
[2026-07-01 11:41:31] local.INFO: Packet analysis {"connection_id":119735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c4d"} 
[2026-07-01 11:41:31] local.INFO: Extracted packet for processing {"connection_id":119735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c4d"} 
[2026-07-01 11:41:31] local.INFO: GPS Element Parsed {"raw_longitude":753603520,"raw_latitude":118613224,"longitude_deg":75.360352,"latitude_deg":11.8613224,"altitude":15,"angle":242,"satellites":35,"speed":42,"hex_longitude":"2ceb13c0","hex_latitude":"0711e4e8","is_valid_coordinates":true} 
[2026-07-01 11:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418876672001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333304494555136000,"note":"Value kept but may cause issues"} 
[2026-07-01 11:41:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1498924589362253824,"note":"Value kept but may cause issues"} 
[2026-07-01 11:41:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782886245000,"timestamp_ms":1782886245000,"timestamp_seconds":1782886245,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c4d2288"} 
[2026-07-01 11:41:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:41:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-01 11:41:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11:41:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:41:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:41:31] 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-01 11:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418876672001,"66":27876,"27":206,"83":41472,"24":42,"16":333304494555136000,"44":-1498924589362253824},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,83,24,16,44]} 
[2026-07-01 11:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418876672001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:41:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-01 11:41:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 11:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333304494555136000,"km_value":333304494555136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:41:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1498924589362253824,"description":"Unknown IO ID 44"} 
[2026-07-01 11:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418876672001,"power":27876,"unknown_27":206,"unknown_83":41472,"ignition":42,"odometer":null,"unknown_44":-1498924589362253824}} 
[2026-07-01 11:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":119735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:41:31] local.INFO: GPS data processed {"connection_id":119735,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:41:31] local.INFO: Acknowledgment sent {"connection_id":119735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:42:02] local.INFO: TCP Data received {"connection_id":119735,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c4d2e40012ceb08800711e0c80011010122..."} 
[2026-07-01 11:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c4d2e40012ceb08800711e0c80011010122..."} 
[2026-07-01 11:42:02] local.INFO: Processing buffer {"connection_id":119735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c4d2e40012ceb08800711e0c80011010122..."} 
[2026-07-01 11:42:02] local.INFO: Packet analysis {"connection_id":119735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c4d"} 
[2026-07-01 11:42:02] local.INFO: Extracted packet for processing {"connection_id":119735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c4d"} 
[2026-07-01 11:42:02] local.INFO: GPS Element Parsed {"raw_longitude":753600640,"raw_latitude":118612168,"longitude_deg":75.360064,"latitude_deg":11.8612168,"altitude":17,"angle":257,"satellites":34,"speed":40,"hex_longitude":"2ceb0880","hex_latitude":"0711e0c8","is_valid_coordinates":true} 
[2026-07-01 11:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418878720001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333304640584024064,"note":"Value kept but may cause issues"} 
[2026-07-01 11:42:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1507650313641465856,"note":"Value kept but may cause issues"} 
[2026-07-01 11:42:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782886248000,"timestamp_ms":1782886248000,"timestamp_seconds":1782886248,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c4d2e40"} 
[2026-07-01 11:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:42:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-01 11:42:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11:42:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":119735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":119735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":119735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:42: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-01 11:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418878720001,"66":27919,"27":206,"83":41472,"24":40,"16":333304640584024064,"44":-1507650313641465856},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,83,24,16,44]} 
[2026-07-01 11:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418878720001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:42:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-01 11:42:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 11:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333304640584024064,"km_value":333304640584024.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:42:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1507650313641465856,"description":"Unknown IO ID 44"} 
[2026-07-01 11:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418878720001,"power":27919,"unknown_27":206,"unknown_83":41472,"ignition":40,"odometer":null,"unknown_44":-1507650313641465856}} 
[2026-07-01 11:42:02] local.INFO: DEBUG: GPS processor result {"connection_id":119735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:42:02] local.INFO: GPS data processed {"connection_id":119735,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:42:02] local.INFO: Acknowledgment sent {"connection_id":119735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:42:20] local.INFO: TCP Data received {"connection_id":120829,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:42:20] local.INFO: Processing buffer {"connection_id":120829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:42:21] local.INFO: IMEI packet received {"connection_id":120829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 11:42:21] local.INFO: IMEI acknowledgment sent {"connection_id":120829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:42:25] local.INFO: TCP Data received {"connection_id":120829,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:42:25] local.INFO: Processing buffer {"connection_id":120829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:42:25] local.INFO: IMEI packet received {"connection_id":120829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":120829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:42:26] local.INFO: TCP Data received {"connection_id":120829,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:42:26] local.INFO: Processing buffer {"connection_id":120829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:42:26] local.INFO: IMEI packet received {"connection_id":120829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":120829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:42:26] local.INFO: TCP Data received {"connection_id":120829,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c4d3de0012ceaf9c00711df480012010e25..."} 
[2026-07-01 11:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c4d3de0012ceaf9c00711df480012010e25..."} 
[2026-07-01 11:42:26] local.INFO: Processing buffer {"connection_id":120829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c4d3de0012ceaf9c00711df480012010e25..."} 
[2026-07-01 11:42:26] local.INFO: Packet analysis {"connection_id":120829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c4d"} 
[2026-07-01 11:42:26] local.INFO: Extracted packet for processing {"connection_id":120829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c4d"} 
[2026-07-01 11:42:26] local.INFO: GPS Element Parsed {"raw_longitude":753596864,"raw_latitude":118611784,"longitude_deg":75.3596864,"latitude_deg":11.8611784,"altitude":18,"angle":270,"satellites":37,"speed":33,"hex_longitude":"2ceaf9c0","hex_latitude":"0711df48","is_valid_coordinates":true} 
[2026-07-01 11:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418879488001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333304816677683200,"note":"Value kept but may cause issues"} 
[2026-07-01 11:42:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1510816907129731072,"note":"Value kept but may cause issues"} 
[2026-07-01 11:42:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782886252000,"timestamp_ms":1782886252000,"timestamp_seconds":1782886252,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c4d3de0"} 
[2026-07-01 11:42:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:42:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 11:42:26] 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-01 11:42:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:42:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":120829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":120829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":120829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:42:26] 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-01 11:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418879488001,"66":27865,"27":206,"83":41472,"24":33,"16":333304816677683200,"44":-1510816907129731072},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,83,24,16,44]} 
[2026-07-01 11:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418879488001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:42:26] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-01 11:42:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 11:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333304816677683200,"km_value":333304816677683.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:42:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1510816907129731072,"description":"Unknown IO ID 44"} 
[2026-07-01 11:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418879488001,"power":27865,"unknown_27":206,"unknown_83":41472,"ignition":33,"odometer":null,"unknown_44":-1510816907129731072}} 
[2026-07-01 11:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":120829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:42:26] local.INFO: GPS data processed {"connection_id":120829,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:42:26] local.INFO: Acknowledgment sent {"connection_id":120829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:42:31] local.INFO: TCP Data received {"connection_id":120829,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c4d6cc0012ceadc800711e1d00012011925..."} 
[2026-07-01 11:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c4d6cc0012ceadc800711e1d00012011925..."} 
[2026-07-01 11:42:31] local.INFO: Processing buffer {"connection_id":120829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c4d6cc0012ceadc800711e1d00012011925..."} 
[2026-07-01 11:42:31] local.INFO: Packet analysis {"connection_id":120829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c4d"} 
[2026-07-01 11:42:31] local.INFO: Extracted packet for processing {"connection_id":120829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c4d"} 
[2026-07-01 11:42:31] local.INFO: GPS Element Parsed {"raw_longitude":753589376,"raw_latitude":118612432,"longitude_deg":75.3589376,"latitude_deg":11.8612432,"altitude":18,"angle":281,"satellites":37,"speed":16,"hex_longitude":"2ceadc80","hex_latitude":"0711e1d0","is_valid_coordinates":true} 
[2026-07-01 11:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418880512001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333305173159968768,"note":"Value kept but may cause issues"} 
[2026-07-01 11:42:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1514968663036311552,"note":"Value kept but may cause issues"} 
[2026-07-01 11:42:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782886264000,"timestamp_ms":1782886264000,"timestamp_seconds":1782886264,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c4d6cc0"} 
[2026-07-01 11:42:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:42:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 11:42:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11:42:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:42:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":120829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":120829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":120829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:42:31] 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-01 11:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418880512001,"66":27876,"27":206,"83":41472,"24":16,"16":333305173159968768,"44":-1514968663036311552},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,83,24,16,44]} 
[2026-07-01 11:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418880512001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:42:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-01 11:42:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 11:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333305173159968768,"km_value":333305173159968.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:42:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1514968663036311552,"description":"Unknown IO ID 44"} 
[2026-07-01 11:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418880512001,"power":27876,"unknown_27":206,"unknown_83":41472,"ignition":16,"odometer":null,"unknown_44":-1514968663036311552}} 
[2026-07-01 11:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":120829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:42:31] local.INFO: GPS data processed {"connection_id":120829,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:42:31] local.INFO: Acknowledgment sent {"connection_id":120829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:42:36] local.INFO: TCP Data received {"connection_id":118948,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118948,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:42:36] local.INFO: Processing buffer {"connection_id":118948,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:42:36] local.INFO: IMEI packet received {"connection_id":118948,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 11:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":118948,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:43:02] local.INFO: TCP Data received {"connection_id":120829,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c4d70a8012ceadac00711e2580012012526..."} 
[2026-07-01 11:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c4d70a8012ceadac00711e2580012012526..."} 
[2026-07-01 11:43:02] local.INFO: Processing buffer {"connection_id":120829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c4d70a8012ceadac00711e2580012012526..."} 
[2026-07-01 11:43:02] local.INFO: Packet analysis {"connection_id":120829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c4d"} 
[2026-07-01 11:43:02] local.INFO: Extracted packet for processing {"connection_id":120829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c4d"} 
[2026-07-01 11:43:02] local.INFO: GPS Element Parsed {"raw_longitude":753588928,"raw_latitude":118612568,"longitude_deg":75.3588928,"latitude_deg":11.8612568,"altitude":18,"angle":293,"satellites":38,"speed":16,"hex_longitude":"2ceadac0","hex_latitude":"0711e258","is_valid_coordinates":true} 
[2026-07-01 11:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418883584001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333305198929772544,"note":"Value kept but may cause issues"} 
[2026-07-01 11:43:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1523201806104932352,"note":"Value kept but may cause issues"} 
[2026-07-01 11:43:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782886265000,"timestamp_ms":1782886265000,"timestamp_seconds":1782886265,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c4d70a8"} 
[2026-07-01 11:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:43:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-01 11:43:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11:43:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":120829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":120829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":120829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:43: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-01 11:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418883584001,"66":27876,"27":206,"83":41472,"24":16,"16":333305198929772544,"44":-1523201806104932352},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,83,24,16,44]} 
[2026-07-01 11:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418883584001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:43:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-01 11:43:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 11:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333305198929772544,"km_value":333305198929772.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:43:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1523201806104932352,"description":"Unknown IO ID 44"} 
[2026-07-01 11:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418883584001,"power":27876,"unknown_27":206,"unknown_83":41472,"ignition":16,"odometer":null,"unknown_44":-1523201806104932352}} 
[2026-07-01 11:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":120829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:43:02] local.INFO: GPS data processed {"connection_id":120829,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:43:02] local.INFO: Acknowledgment sent {"connection_id":120829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:43:16] local.INFO: TCP Data received {"connection_id":118949,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118949,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:43:16] local.INFO: Processing buffer {"connection_id":118949,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:43:16] local.INFO: IMEI packet received {"connection_id":118949,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 11:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":118949,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:43:21] local.INFO: TCP Data received {"connection_id":119075,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:43:21] local.INFO: Processing buffer {"connection_id":119075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:43:21] local.INFO: IMEI packet received {"connection_id":119075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 11:43:21] local.INFO: IMEI acknowledgment sent {"connection_id":119075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:43:26] local.INFO: TCP Data received {"connection_id":119075,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:43:26] local.INFO: Processing buffer {"connection_id":119075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:43:26] local.INFO: IMEI packet received {"connection_id":119075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":119075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:43:27] local.INFO: TCP Data received {"connection_id":119075,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c4d7490012cead9800711e3280012013a26..."} 
[2026-07-01 11:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c4d7490012cead9800711e3280012013a26..."} 
[2026-07-01 11:43:27] local.INFO: Processing buffer {"connection_id":119075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c4d7490012cead9800711e3280012013a26..."} 
[2026-07-01 11:43:27] local.INFO: Packet analysis {"connection_id":119075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c4d"} 
[2026-07-01 11:43:27] local.INFO: Extracted packet for processing {"connection_id":119075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c4d"} 
[2026-07-01 11:43:27] local.INFO: GPS Element Parsed {"raw_longitude":753588608,"raw_latitude":118612776,"longitude_deg":75.3588608,"latitude_deg":11.8612776,"altitude":18,"angle":314,"satellites":38,"speed":15,"hex_longitude":"2cead980","hex_latitude":"0711e328","is_valid_coordinates":true} 
[2026-07-01 11:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418883840001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:43:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333305216109641728,"note":"Value kept but may cause issues"} 
[2026-07-01 11:43:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1523694387314141184,"note":"Value kept but may cause issues"} 
[2026-07-01 11:43:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:43:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782886266000,"timestamp_ms":1782886266000,"timestamp_seconds":1782886266,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c4d7490"} 
[2026-07-01 11:43:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:43:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-01 11:43:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11:43:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:43:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:43:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:43:27] 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-01 11:43:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:43:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:43:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418883840001,"66":28006,"27":206,"83":41472,"24":15,"16":333305216109641728,"44":-1523694387314141184},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,83,24,16,44]} 
[2026-07-01 11:43:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:43:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:43:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418883840001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:43:27] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-01 11:43:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 11:43:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333305216109641728,"km_value":333305216109641.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:43:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1523694387314141184,"description":"Unknown IO ID 44"} 
[2026-07-01 11:43:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418883840001,"power":28006,"unknown_27":206,"unknown_83":41472,"ignition":15,"odometer":null,"unknown_44":-1523694387314141184}} 
[2026-07-01 11:43:27] local.INFO: DEBUG: GPS processor result {"connection_id":119075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:43:27] local.INFO: GPS data processed {"connection_id":119075,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:43:27] local.INFO: Acknowledgment sent {"connection_id":119075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:43:58] local.INFO: TCP Data received {"connection_id":119075,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c4f4180012ceace400712f1180018001527..."} 
[2026-07-01 11:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c4f4180012ceace400712f1180018001527..."} 
[2026-07-01 11:43:58] local.INFO: Processing buffer {"connection_id":119075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c4f4180012ceace400712f1180018001527..."} 
[2026-07-01 11:43:58] local.INFO: Packet analysis {"connection_id":119075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c4f"} 
[2026-07-01 11:43:58] local.INFO: Extracted packet for processing {"connection_id":119075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c4f"} 
[2026-07-01 11:43:58] local.INFO: GPS Element Parsed {"raw_longitude":753585728,"raw_latitude":118681880,"longitude_deg":75.3585728,"latitude_deg":11.868188,"altitude":24,"angle":21,"satellites":39,"speed":38,"hex_longitude":"2ceace40","hex_latitude":"0712f118","is_valid_coordinates":true} 
[2026-07-01 11:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418911744001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333308729392889856,"note":"Value kept but may cause issues"} 
[2026-07-01 11:43:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1530660892972173312,"note":"Value kept but may cause issues"} 
[2026-07-01 11:43:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782886384000,"timestamp_ms":1782886384000,"timestamp_seconds":1782886384,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c4f4180"} 
[2026-07-01 11:43:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:43:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-01 11:43:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11:43:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:43:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:43:58] 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-01 11:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418911744001,"66":27571,"106":206,"83":41472,"24":38,"16":333308729392889856,"44":-1530660892972173312},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,44]} 
[2026-07-01 11:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418911744001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:43:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-01 11:43:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 11:43:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333308729392889856,"km_value":333308729392889.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:43:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1530660892972173312,"description":"Unknown IO ID 44"} 
[2026-07-01 11:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418911744001,"power":27571,"unknown_106":206,"unknown_83":41472,"ignition":38,"odometer":null,"unknown_44":-1530660892972173312}} 
[2026-07-01 11:43:58] local.INFO: DEBUG: GPS processor result {"connection_id":119075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:43:58] local.INFO: GPS data processed {"connection_id":119075,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:43:58] local.INFO: Acknowledgment sent {"connection_id":119075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:44:36] local.INFO: TCP Data received {"connection_id":119076,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:44:36] local.INFO: Processing buffer {"connection_id":119076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:44:36] local.INFO: IMEI packet received {"connection_id":119076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 11:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":119076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:44:41] local.INFO: TCP Data received {"connection_id":119076,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:44:41] local.INFO: Processing buffer {"connection_id":119076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:44:41] local.INFO: IMEI packet received {"connection_id":119076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":119076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:44:42] local.INFO: TCP Data received {"connection_id":119076,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c4f6890012ceada80071312700018001327..."} 
[2026-07-01 11:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c4f6890012ceada80071312700018001327..."} 
[2026-07-01 11:44:42] local.INFO: Processing buffer {"connection_id":119076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c4f6890012ceada80071312700018001327..."} 
[2026-07-01 11:44:42] local.INFO: Packet analysis {"connection_id":119076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c4f"} 
[2026-07-01 11:44:42] local.INFO: Extracted packet for processing {"connection_id":119076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c4f"} 
[2026-07-01 11:44:42] local.INFO: GPS Element Parsed {"raw_longitude":753588864,"raw_latitude":118690416,"longitude_deg":75.3588864,"latitude_deg":11.8690416,"altitude":24,"angle":19,"satellites":39,"speed":38,"hex_longitude":"2ceada80","hex_latitude":"07131270","is_valid_coordinates":true} 
[2026-07-01 11: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-01 11:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418914304001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333309167479554048,"note":"Value kept but may cause issues"} 
[2026-07-01 11:44:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1527212824505280512,"note":"Value kept but may cause issues"} 
[2026-07-01 11:44:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782886394000,"timestamp_ms":1782886394000,"timestamp_seconds":1782886394,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c4f6890"} 
[2026-07-01 11: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-01 11:44:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-01 11:44:42] 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-01 11: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-01 11: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-01 11:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":119076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":119076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":119076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:44: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-01 11:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418914304001,"66":27930,"105":206,"83":41472,"24":38,"16":333309167479554048,"44":-1527212824505280512},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,44]} 
[2026-07-01 11:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418914304001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:44:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-01 11:44:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 11:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333309167479554048,"km_value":333309167479554.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:44:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1527212824505280512,"description":"Unknown IO ID 44"} 
[2026-07-01 11:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418914304001,"power":27930,"unknown_105":206,"unknown_83":41472,"ignition":38,"odometer":null,"unknown_44":-1527212824505280512}} 
[2026-07-01 11:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":119076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:44:42] local.INFO: GPS data processed {"connection_id":119076,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:44:42] local.INFO: Acknowledgment sent {"connection_id":119076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:45:21] local.INFO: TCP Data received {"connection_id":120831,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:45:21] local.INFO: Processing buffer {"connection_id":120831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:45:21] local.INFO: IMEI packet received {"connection_id":120831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 11:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":120831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:45:31] local.INFO: TCP Data received {"connection_id":120831,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:45:31] local.INFO: Processing buffer {"connection_id":120831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:45:31] local.INFO: IMEI packet received {"connection_id":120831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":120831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:45:31] local.INFO: TCP Data received {"connection_id":120831,"ip":"42.106.6.32","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 11:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120831,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 11:45:31] local.INFO: Processing buffer {"connection_id":120831,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 11:45:31] local.INFO: IMEI packet received {"connection_id":120831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":120831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:48:32] local.INFO: TCP Data received {"connection_id":118951,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118951,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:48:32] local.INFO: Processing buffer {"connection_id":118951,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:48:32] local.INFO: IMEI packet received {"connection_id":118951,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 11:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":118951,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:49:15] local.INFO: TCP Data received {"connection_id":118953,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118953,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:49:15] local.INFO: Processing buffer {"connection_id":118953,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:49:15] local.INFO: IMEI packet received {"connection_id":118953,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 11:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":118953,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:49:21] local.INFO: TCP Data received {"connection_id":118953,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118953,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:49:21] local.INFO: Processing buffer {"connection_id":118953,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:49:21] local.INFO: IMEI packet received {"connection_id":118953,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-01 11:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":118953,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:49:22] local.INFO: TCP Data received {"connection_id":118953,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c41a138012cb2a100078241900046015f2e..."} 
[2026-07-01 11:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c41a138012cb2a100078241900046015f2e..."} 
[2026-07-01 11:49:22] local.INFO: Processing buffer {"connection_id":118953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c41a138012cb2a100078241900046015f2e..."} 
[2026-07-01 11:49:22] local.INFO: Packet analysis {"connection_id":118953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c41"} 
[2026-07-01 11:49:22] local.INFO: Extracted packet for processing {"connection_id":118953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c41"} 
[2026-07-01 11:49:22] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125976976,"longitude_deg":74.9904128,"latitude_deg":12.5976976,"altitude":70,"angle":351,"satellites":46,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07824190","is_valid_coordinates":true} 
[2026-07-01 11:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418608640001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130042358363324416,"note":"Value kept but may cause issues"} 
[2026-07-01 11:49:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831457857536,"note":"Value kept but may cause issues"} 
[2026-07-01 11:49:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782885491000,"timestamp_ms":1782885491000,"timestamp_seconds":1782885491,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c41a138"} 
[2026-07-01 11:49:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:49: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-01 11:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-01 11:49:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11:49:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:49:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":118953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":118953,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-01 11:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":118953,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-01 11:49:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 11:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-01 11:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-01 11:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418608640001,"66":25962,"184":206,"85":36096,"24":0,"16":130042358363324416,"44":-5575174831457857536},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-01 11:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-01 11:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-01 11:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418608640001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:49:22] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-01 11:49:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 11:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130042358363324416,"km_value":130042358363324.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:49:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831457857536,"description":"Unknown IO ID 44"} 
[2026-07-01 11:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418608640001,"power":25962,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5575174831457857536}} 
[2026-07-01 11:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":118953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417167,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:49:22] local.INFO: GPS data processed {"connection_id":118953,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:49:22] local.INFO: Acknowledgment sent {"connection_id":118953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:50:06] local.INFO: TCP Data received {"connection_id":119078,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119078,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:50:06] local.INFO: Processing buffer {"connection_id":119078,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:50:06] local.INFO: IMEI packet received {"connection_id":119078,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 11:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":119078,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:50:26] local.INFO: TCP Data received {"connection_id":119079,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:50:26] local.INFO: Processing buffer {"connection_id":119079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:50:26] local.INFO: IMEI packet received {"connection_id":119079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 11:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":119079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:50:27] local.INFO: TCP Data received {"connection_id":119079,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c531dc8012ceb6cc00713bcb80011004a26..."} 
[2026-07-01 11:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c531dc8012ceb6cc00713bcb80011004a26..."} 
[2026-07-01 11:50:27] local.INFO: Processing buffer {"connection_id":119079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c531dc8012ceb6cc00713bcb80011004a26..."} 
[2026-07-01 11:50:27] local.INFO: Packet analysis {"connection_id":119079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c53"} 
[2026-07-01 11:50:27] local.INFO: Extracted packet for processing {"connection_id":119079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c53"} 
[2026-07-01 11:50:27] local.INFO: GPS Element Parsed {"raw_longitude":753626304,"raw_latitude":118734008,"longitude_deg":75.3626304,"latitude_deg":11.8734008,"altitude":17,"angle":74,"satellites":38,"speed":13,"hex_longitude":"2ceb6cc0","hex_latitude":"0713bcb8","is_valid_coordinates":true} 
[2026-07-01 11:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418978560001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333313724439855104,"note":"Value kept but may cause issues"} 
[2026-07-01 11:50:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1483443465613449216,"note":"Value kept but may cause issues"} 
[2026-07-01 11:50:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782886637000,"timestamp_ms":1782886637000,"timestamp_seconds":1782886637,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c531dc8"} 
[2026-07-01 11:50:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:50:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 11:50:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11:50:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:50:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:50:27] 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-01 11:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418978560001,"66":27843,"190":206,"83":41472,"24":13,"16":333313724439855104,"44":-1483443465613449216},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-07-01 11:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418978560001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:50:27] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-07-01 11:50:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 11:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333313724439855104,"km_value":333313724439855.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:50:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1483443465613449216,"description":"Unknown IO ID 44"} 
[2026-07-01 11:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418978560001,"power":27843,"unknown_190":206,"unknown_83":41472,"ignition":13,"odometer":null,"unknown_44":-1483443465613449216}} 
[2026-07-01 11:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":119079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:50:27] local.INFO: GPS data processed {"connection_id":119079,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:50:27] local.INFO: Acknowledgment sent {"connection_id":119079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:50:59] local.INFO: TCP Data received {"connection_id":119079,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c533d08012ceb75c00713beb80011005727..."} 
[2026-07-01 11:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c533d08012ceb75c00713beb80011005727..."} 
[2026-07-01 11:50:59] local.INFO: Processing buffer {"connection_id":119079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c533d08012ceb75c00713beb80011005727..."} 
[2026-07-01 11:50:59] local.INFO: Packet analysis {"connection_id":119079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c53"} 
[2026-07-01 11:50:59] local.INFO: Extracted packet for processing {"connection_id":119079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c53"} 
[2026-07-01 11:50:59] local.INFO: GPS Element Parsed {"raw_longitude":753628608,"raw_latitude":118734520,"longitude_deg":75.3628608,"latitude_deg":11.873452,"altitude":17,"angle":87,"satellites":39,"speed":9,"hex_longitude":"2ceb75c0","hex_latitude":"0713beb8","is_valid_coordinates":true} 
[2026-07-01 11:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418979072001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333313836109004800,"note":"Value kept but may cause issues"} 
[2026-07-01 11:50:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482599040683296768,"note":"Value kept but may cause issues"} 
[2026-07-01 11:50:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782886645000,"timestamp_ms":1782886645000,"timestamp_seconds":1782886645,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c533d08"} 
[2026-07-01 11:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:50:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 11:50:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11:50:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:50:59] 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-01 11:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418979072001,"66":27974,"190":206,"83":41472,"24":9,"16":333313836109004800,"44":-1482599040683296768},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-07-01 11:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418979072001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:50:59] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-07-01 11:50:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 11:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333313836109004800,"km_value":333313836109004.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:50:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482599040683296768,"description":"Unknown IO ID 44"} 
[2026-07-01 11:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418979072001,"power":27974,"unknown_190":206,"unknown_83":41472,"ignition":9,"odometer":null,"unknown_44":-1482599040683296768}} 
[2026-07-01 11:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":119079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:50:59] local.INFO: GPS data processed {"connection_id":119079,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:50:59] local.INFO: Acknowledgment sent {"connection_id":119079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:51:21] local.INFO: TCP Data received {"connection_id":120833,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:51:21] local.INFO: Processing buffer {"connection_id":120833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:51:21] local.INFO: IMEI packet received {"connection_id":120833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 11:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":120833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:51:26] local.INFO: TCP Data received {"connection_id":120833,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:51:26] local.INFO: Processing buffer {"connection_id":120833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:51:26] local.INFO: IMEI packet received {"connection_id":120833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":120833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:51:27] local.INFO: TCP Data received {"connection_id":120833,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c534ca8012ceb78800713bf500011003827..."} 
[2026-07-01 11:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c534ca8012ceb78800713bf500011003827..."} 
[2026-07-01 11:51:27] local.INFO: Processing buffer {"connection_id":120833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c534ca8012ceb78800713bf500011003827..."} 
[2026-07-01 11:51:27] local.INFO: Packet analysis {"connection_id":120833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c53"} 
[2026-07-01 11:51:27] local.INFO: Extracted packet for processing {"connection_id":120833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c53"} 
[2026-07-01 11:51:27] local.INFO: GPS Element Parsed {"raw_longitude":753629312,"raw_latitude":118734672,"longitude_deg":75.3629312,"latitude_deg":11.8734672,"altitude":17,"angle":56,"satellites":39,"speed":6,"hex_longitude":"2ceb7880","hex_latitude":"0713bf50","is_valid_coordinates":true} 
[2026-07-01 11:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418981120001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333313870468743168,"note":"Value kept but may cause issues"} 
[2026-07-01 11:51:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1480065765892769792,"note":"Value kept but may cause issues"} 
[2026-07-01 11:51:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782886649000,"timestamp_ms":1782886649000,"timestamp_seconds":1782886649,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c534ca8"} 
[2026-07-01 11:51:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:51:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-01 11:51:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11:51:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:51:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:51:27] 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-01 11:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418981120001,"66":27930,"190":206,"83":41472,"24":6,"16":333313870468743168,"44":-1480065765892769792},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-07-01 11:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418981120001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:51:27] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-07-01 11:51:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 11:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333313870468743168,"km_value":333313870468743.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:51:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1480065765892769792,"description":"Unknown IO ID 44"} 
[2026-07-01 11:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418981120001,"power":27930,"unknown_190":206,"unknown_83":41472,"ignition":6,"odometer":null,"unknown_44":-1480065765892769792}} 
[2026-07-01 11:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":120833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:51:27] local.INFO: GPS data processed {"connection_id":120833,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:51:27] local.INFO: Acknowledgment sent {"connection_id":120833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:51:59] local.INFO: TCP Data received {"connection_id":120833,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c539eb0012ceb79c00713c2880013002f29..."} 
[2026-07-01 11:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c539eb0012ceb79c00713c2880013002f29..."} 
[2026-07-01 11:51:59] local.INFO: Processing buffer {"connection_id":120833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c539eb0012ceb79c00713c2880013002f29..."} 
[2026-07-01 11:51:59] local.INFO: Packet analysis {"connection_id":120833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c53"} 
[2026-07-01 11:51:59] local.INFO: Extracted packet for processing {"connection_id":120833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c53"} 
[2026-07-01 11:51:59] local.INFO: GPS Element Parsed {"raw_longitude":753629632,"raw_latitude":118735496,"longitude_deg":75.3629632,"latitude_deg":11.8735496,"altitude":19,"angle":47,"satellites":41,"speed":0,"hex_longitude":"2ceb79c0","hex_latitude":"0713c288","is_valid_coordinates":true} 
[2026-07-01 11:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418982144001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333313917713383424,"note":"Value kept but may cause issues"} 
[2026-07-01 11:51:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1479291709706776576,"note":"Value kept but may cause issues"} 
[2026-07-01 11:51:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782886670000,"timestamp_ms":1782886670000,"timestamp_seconds":1782886670,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c539eb0"} 
[2026-07-01 11:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:51:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-01 11:51:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11:51:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":120833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":120833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":120833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:51:59] 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-01 11:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418982144001,"66":27930,"190":206,"83":41472,"24":0,"16":333313917713383424,"44":-1479291709706776576},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-07-01 11:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418982144001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:51:59] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-07-01 11:51:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 11:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333313917713383424,"km_value":333313917713383.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:51:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1479291709706776576,"description":"Unknown IO ID 44"} 
[2026-07-01 11:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418982144001,"power":27930,"unknown_190":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1479291709706776576}} 
[2026-07-01 11:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":120833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:51:59] local.INFO: GPS data processed {"connection_id":120833,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:51:59] local.INFO: Acknowledgment sent {"connection_id":120833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:52:21] local.INFO: TCP Data received {"connection_id":119741,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:52:21] local.INFO: Processing buffer {"connection_id":119741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:52:21] local.INFO: IMEI packet received {"connection_id":119741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 11:52:21] local.INFO: IMEI acknowledgment sent {"connection_id":119741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:52:26] local.INFO: TCP Data received {"connection_id":119741,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:52:26] local.INFO: Processing buffer {"connection_id":119741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:52:26] local.INFO: IMEI packet received {"connection_id":119741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":119741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:52:27] local.INFO: TCP Data received {"connection_id":119741,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c53f0b8012ceb79400713c5a80012002f26..."} 
[2026-07-01 11:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c53f0b8012ceb79400713c5a80012002f26..."} 
[2026-07-01 11:52:27] local.INFO: Processing buffer {"connection_id":119741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c53f0b8012ceb79400713c5a80012002f26..."} 
[2026-07-01 11:52:27] local.INFO: Packet analysis {"connection_id":119741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c53"} 
[2026-07-01 11:52:27] local.INFO: Extracted packet for processing {"connection_id":119741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c53"} 
[2026-07-01 11:52:27] local.INFO: GPS Element Parsed {"raw_longitude":753629504,"raw_latitude":118736296,"longitude_deg":75.3629504,"latitude_deg":11.8736296,"altitude":18,"angle":47,"satellites":38,"speed":0,"hex_longitude":"2ceb7940","hex_latitude":"0713c5a8","is_valid_coordinates":true} 
[2026-07-01 11:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418987520001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333313956368089088,"note":"Value kept but may cause issues"} 
[2026-07-01 11:52:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478939865985677312,"note":"Value kept but may cause issues"} 
[2026-07-01 11:52:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782886691000,"timestamp_ms":1782886691000,"timestamp_seconds":1782886691,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c53f0b8"} 
[2026-07-01 11:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:52:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-01 11:52:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11:52:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:52:27] 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-01 11:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418987520001,"66":28017,"190":206,"83":41472,"24":0,"16":333313956368089088,"44":-1478939865985677312},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-07-01 11:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418987520001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:52:27] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-07-01 11:52:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 11:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333313956368089088,"km_value":333313956368089.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:52:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478939865985677312,"description":"Unknown IO ID 44"} 
[2026-07-01 11:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418987520001,"power":28017,"unknown_190":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478939865985677312}} 
[2026-07-01 11:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":119741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:52:27] local.INFO: GPS data processed {"connection_id":119741,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:52:27] local.INFO: Acknowledgment sent {"connection_id":119741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:52:58] local.INFO: TCP Data received {"connection_id":119741,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c5442c0012ceb79000713c6b00013002f26..."} 
[2026-07-01 11:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c5442c0012ceb79000713c6b00013002f26..."} 
[2026-07-01 11:52:58] local.INFO: Processing buffer {"connection_id":119741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c5442c0012ceb79000713c6b00013002f26..."} 
[2026-07-01 11:52:58] local.INFO: Packet analysis {"connection_id":119741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c54"} 
[2026-07-01 11:52:58] local.INFO: Extracted packet for processing {"connection_id":119741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c54"} 
[2026-07-01 11:52:58] local.INFO: GPS Element Parsed {"raw_longitude":753629440,"raw_latitude":118736560,"longitude_deg":75.362944,"latitude_deg":11.873656,"altitude":19,"angle":47,"satellites":38,"speed":0,"hex_longitude":"2ceb7900","hex_latitude":"0713c6b0","is_valid_coordinates":true} 
[2026-07-01 11: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-01 11:52:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418992896001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:52:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333313973547958272,"note":"Value kept but may cause issues"} 
[2026-07-01 11:52:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1479080603473827840,"note":"Value kept but may cause issues"} 
[2026-07-01 11:52:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:52:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782886712000,"timestamp_ms":1782886712000,"timestamp_seconds":1782886712,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c5442c0"} 
[2026-07-01 11: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-01 11:52:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11: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":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-01 11:52:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1760,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11: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-01 11: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-01 11:52:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:52:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:52:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:52:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:52:58] 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-01 11:52:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:52:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:52:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418992896001,"66":27789,"190":206,"83":41472,"24":0,"16":333313973547958272,"44":-1479080603473827840},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-07-01 11:52:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:52:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:52:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418992896001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:52:58] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-07-01 11:52:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 11:52:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333313973547958272,"km_value":333313973547958.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:52:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1479080603473827840,"description":"Unknown IO ID 44"} 
[2026-07-01 11:52:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418992896001,"power":27789,"unknown_190":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1479080603473827840}} 
[2026-07-01 11:52:58] local.INFO: DEBUG: GPS processor result {"connection_id":119741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:52:58] local.INFO: GPS data processed {"connection_id":119741,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:52:58] local.INFO: Acknowledgment sent {"connection_id":119741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:53:20] local.INFO: TCP Data received {"connection_id":119743,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:53:20] local.INFO: Processing buffer {"connection_id":119743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:53:20] local.INFO: IMEI packet received {"connection_id":119743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 11:53:20] local.INFO: IMEI acknowledgment sent {"connection_id":119743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:53:26] local.INFO: TCP Data received {"connection_id":119743,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:53:26] local.INFO: Processing buffer {"connection_id":119743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:53:26] local.INFO: IMEI packet received {"connection_id":119743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":119743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:53:27] local.INFO: TCP Data received {"connection_id":119743,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c5494c8012ceb79000713c6b00013002f26..."} 
[2026-07-01 11:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c5494c8012ceb79000713c6b00013002f26..."} 
[2026-07-01 11:53:27] local.INFO: Processing buffer {"connection_id":119743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c5494c8012ceb79000713c6b00013002f26..."} 
[2026-07-01 11:53:27] local.INFO: Packet analysis {"connection_id":119743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c54"} 
[2026-07-01 11:53:27] local.INFO: Extracted packet for processing {"connection_id":119743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c54"} 
[2026-07-01 11:53:27] local.INFO: GPS Element Parsed {"raw_longitude":753629440,"raw_latitude":118736560,"longitude_deg":75.362944,"latitude_deg":11.873656,"altitude":19,"angle":47,"satellites":38,"speed":0,"hex_longitude":"2ceb7900","hex_latitude":"0713c6b0","is_valid_coordinates":true} 
[2026-07-01 11:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418998272001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:53:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333313973547958272,"note":"Value kept but may cause issues"} 
[2026-07-01 11:53:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1479150972217937920,"note":"Value kept but may cause issues"} 
[2026-07-01 11:53:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:53:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782886733000,"timestamp_ms":1782886733000,"timestamp_seconds":1782886733,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c5494c8"} 
[2026-07-01 11:53:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:53:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-01 11:53:27] 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-01 11:53:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:53:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:53:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:53:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:53:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:53:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:53:27] 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-01 11:53:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418998272001,"66":27984,"190":206,"83":41472,"24":0,"16":333313973547958272,"44":-1479150972217937920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-07-01 11:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418998272001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:53:27] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-07-01 11:53:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 11:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333313973547958272,"km_value":333313973547958.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:53:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1479150972217937920,"description":"Unknown IO ID 44"} 
[2026-07-01 11:53:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418998272001,"power":27984,"unknown_190":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1479150972217937920}} 
[2026-07-01 11:53:27] local.INFO: DEBUG: GPS processor result {"connection_id":119743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:53:27] local.INFO: GPS data processed {"connection_id":119743,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:53:27] local.INFO: Acknowledgment sent {"connection_id":119743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:53:58] local.INFO: TCP Data received {"connection_id":119743,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c54b7f0012ceb78800713c2c00015002f26..."} 
[2026-07-01 11:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c54b7f0012ceb78800713c2c00015002f26..."} 
[2026-07-01 11:53:58] local.INFO: Processing buffer {"connection_id":119743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c54b7f0012ceb78800713c2c00015002f26..."} 
[2026-07-01 11:53:58] local.INFO: Packet analysis {"connection_id":119743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c54"} 
[2026-07-01 11:53:58] local.INFO: Extracted packet for processing {"connection_id":119743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c54"} 
[2026-07-01 11:53:58] local.INFO: GPS Element Parsed {"raw_longitude":753629312,"raw_latitude":118735552,"longitude_deg":75.3629312,"latitude_deg":11.8735552,"altitude":21,"angle":47,"satellites":38,"speed":0,"hex_longitude":"2ceb7880","hex_latitude":"0713c2c0","is_valid_coordinates":true} 
[2026-07-01 11:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:53:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419003648001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:53:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314025087565824,"note":"Value kept but may cause issues"} 
[2026-07-01 11:53:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1479150972217937920,"note":"Value kept but may cause issues"} 
[2026-07-01 11:53:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:53:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782886742000,"timestamp_ms":1782886742000,"timestamp_seconds":1782886742,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c54b7f0"} 
[2026-07-01 11: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-01 11:53:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-01 11:53:58] 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-01 11: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-01 11: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-01 11:53:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:53:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:53:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:53:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:53:58] 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-01 11:53:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:53:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:53:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419003648001,"66":28028,"190":206,"83":41472,"24":0,"16":333314025087565824,"44":-1479150972217937920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-07-01 11:53:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:53:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:53:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419003648001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:53:58] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-07-01 11:53:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 11:53:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314025087565824,"km_value":333314025087565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:53:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1479150972217937920,"description":"Unknown IO ID 44"} 
[2026-07-01 11:53:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419003648001,"power":28028,"unknown_190":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1479150972217937920}} 
[2026-07-01 11:53:58] local.INFO: DEBUG: GPS processor result {"connection_id":119743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:53:58] local.INFO: GPS data processed {"connection_id":119743,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:53:58] local.INFO: Acknowledgment sent {"connection_id":119743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:54:20] local.INFO: TCP Data received {"connection_id":119081,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:54:20] local.INFO: Processing buffer {"connection_id":119081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:54:20] local.INFO: IMEI packet received {"connection_id":119081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 11:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":119081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:54:26] local.INFO: TCP Data received {"connection_id":119081,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:54:26] local.INFO: Processing buffer {"connection_id":119081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:54:26] local.INFO: IMEI packet received {"connection_id":119081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":119081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:54:27] local.INFO: TCP Data received {"connection_id":119081,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c561780012ceb7a000713c1380014002f22..."} 
[2026-07-01 11:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c561780012ceb7a000713c1380014002f22..."} 
[2026-07-01 11:54:27] local.INFO: Processing buffer {"connection_id":119081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c561780012ceb7a000713c1380014002f22..."} 
[2026-07-01 11:54:27] local.INFO: Packet analysis {"connection_id":119081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c56"} 
[2026-07-01 11:54:27] local.INFO: Extracted packet for processing {"connection_id":119081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c56"} 
[2026-07-01 11:54:27] local.INFO: GPS Element Parsed {"raw_longitude":753629696,"raw_latitude":118735160,"longitude_deg":75.3629696,"latitude_deg":11.873516,"altitude":20,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2ceb7a00","hex_latitude":"0713c138","is_valid_coordinates":true} 
[2026-07-01 11:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:54:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419005952001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314025087565824,"note":"Value kept but may cause issues"} 
[2026-07-01 11:54:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1479291709706551296,"note":"Value kept but may cause issues"} 
[2026-07-01 11:54:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782886832000,"timestamp_ms":1782886832000,"timestamp_seconds":1782886832,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c561780"} 
[2026-07-01 11:54:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:54:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 11:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-01 11:54:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11:54:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:54:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:54:27] 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-01 11:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419005952001,"66":26582,"190":206,"83":41472,"24":0,"16":333314025087565824,"44":-1479291709706551296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-07-01 11:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419005952001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:54:27] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-07-01 11:54:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 11:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314025087565824,"km_value":333314025087565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:54:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1479291709706551296,"description":"Unknown IO ID 44"} 
[2026-07-01 11:54:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419005952001,"power":26582,"unknown_190":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1479291709706551296}} 
[2026-07-01 11:54:27] local.INFO: DEBUG: GPS processor result {"connection_id":119081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:54:27] local.INFO: GPS data processed {"connection_id":119081,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:54:27] local.INFO: Acknowledgment sent {"connection_id":119081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:54:58] local.INFO: TCP Data received {"connection_id":119081,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c566d70012ceb79c00713c0e00014002f22..."} 
[2026-07-01 11:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c566d70012ceb79c00713c0e00014002f22..."} 
[2026-07-01 11:54:58] local.INFO: Processing buffer {"connection_id":119081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c566d70012ceb79c00713c0e00014002f22..."} 
[2026-07-01 11:54:58] local.INFO: Packet analysis {"connection_id":119081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c56"} 
[2026-07-01 11:54:58] local.INFO: Extracted packet for processing {"connection_id":119081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c56"} 
[2026-07-01 11:54:58] local.INFO: GPS Element Parsed {"raw_longitude":753629632,"raw_latitude":118735072,"longitude_deg":75.3629632,"latitude_deg":11.8735072,"altitude":20,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2ceb79c0","hex_latitude":"0713c0e0","is_valid_coordinates":true} 
[2026-07-01 11: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-01 11:54:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419028992001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:54:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314025087565824,"note":"Value kept but may cause issues"} 
[2026-07-01 11:54:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478869497241585664,"note":"Value kept but may cause issues"} 
[2026-07-01 11:54:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:54:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782886854000,"timestamp_ms":1782886854000,"timestamp_seconds":1782886854,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c566d70"} 
[2026-07-01 11: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-01 11:54:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11: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":103,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-07-01 11:54:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2639,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11: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-01 11: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-01 11:54:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:54:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:54:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:54:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:54:58] 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-01 11:54:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:54:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:54:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419028992001,"66":27821,"190":206,"83":41472,"24":0,"16":333314025087565824,"44":-1478869497241585664},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-07-01 11:54:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:54:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:54:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419028992001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:54:58] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-07-01 11:54:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 11:54:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314025087565824,"km_value":333314025087565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:54:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478869497241585664,"description":"Unknown IO ID 44"} 
[2026-07-01 11:54:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419028992001,"power":27821,"unknown_190":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478869497241585664}} 
[2026-07-01 11:54:58] local.INFO: DEBUG: GPS processor result {"connection_id":119081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:54:58] local.INFO: GPS data processed {"connection_id":119081,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:54:58] local.INFO: Acknowledgment sent {"connection_id":119081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:55:20] local.INFO: TCP Data received {"connection_id":118955,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:55:20] local.INFO: Processing buffer {"connection_id":118955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:55:20] local.INFO: IMEI packet received {"connection_id":118955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 11:55:20] local.INFO: IMEI acknowledgment sent {"connection_id":118955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:55:25] local.INFO: TCP Data received {"connection_id":118955,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:55:25] local.INFO: Processing buffer {"connection_id":118955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:55:25] local.INFO: IMEI packet received {"connection_id":118955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":118955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:55:26] local.INFO: TCP Data received {"connection_id":118954,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118954,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:55:26] local.INFO: Processing buffer {"connection_id":118954,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 11:55:26] local.INFO: IMEI packet received {"connection_id":118954,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 11:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":118954,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:55:26] local.INFO: TCP Data received {"connection_id":118955,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c56bf78012ceb79c00713c0e00014002f21..."} 
[2026-07-01 11:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c56bf78012ceb79c00713c0e00014002f21..."} 
[2026-07-01 11:55:26] local.INFO: Processing buffer {"connection_id":118955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c56bf78012ceb79c00713c0e00014002f21..."} 
[2026-07-01 11:55:26] local.INFO: Packet analysis {"connection_id":118955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c56"} 
[2026-07-01 11:55:26] local.INFO: Extracted packet for processing {"connection_id":118955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c56"} 
[2026-07-01 11:55:26] local.INFO: GPS Element Parsed {"raw_longitude":753629632,"raw_latitude":118735072,"longitude_deg":75.3629632,"latitude_deg":11.8735072,"altitude":20,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2ceb79c0","hex_latitude":"0713c0e0","is_valid_coordinates":true} 
[2026-07-01 11:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:55:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419034624001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:55:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314025087565824,"note":"Value kept but may cause issues"} 
[2026-07-01 11:55:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478939865985785856,"note":"Value kept but may cause issues"} 
[2026-07-01 11:55:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:55:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782886875000,"timestamp_ms":1782886875000,"timestamp_seconds":1782886875,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c56bf78"} 
[2026-07-01 11:55:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:55: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-01 11:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 11:55:26] 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-01 11:55:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:55:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:55:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:55:26] local.INFO: Teltonika packet parsed successfully {"connection_id":118955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:55:26] local.INFO: Passing IMEI to GPS processor {"connection_id":118955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:55:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":118955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:55:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 11:55:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:55:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:55:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419034624001,"66":27832,"190":206,"83":41472,"24":0,"16":333314025087565824,"44":-1478939865985785856},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-07-01 11:55:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:55:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:55:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419034624001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:55:26] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-07-01 11:55:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 11:55:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314025087565824,"km_value":333314025087565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:55:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478939865985785856,"description":"Unknown IO ID 44"} 
[2026-07-01 11:55:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419034624001,"power":27832,"unknown_190":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478939865985785856}} 
[2026-07-01 11:55:26] local.INFO: DEBUG: GPS processor result {"connection_id":118955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:55:26] local.INFO: GPS data processed {"connection_id":118955,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:55:26] local.INFO: Acknowledgment sent {"connection_id":118955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:55:57] local.INFO: TCP Data received {"connection_id":118955,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c56cf18012ceb79c00713c0e00014002f22..."} 
[2026-07-01 11:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c56cf18012ceb79c00713c0e00014002f22..."} 
[2026-07-01 11:55:57] local.INFO: Processing buffer {"connection_id":118955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c56cf18012ceb79c00713c0e00014002f22..."} 
[2026-07-01 11:55:57] local.INFO: Packet analysis {"connection_id":118955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c56"} 
[2026-07-01 11:55:57] local.INFO: Extracted packet for processing {"connection_id":118955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c56"} 
[2026-07-01 11:55:57] local.INFO: GPS Element Parsed {"raw_longitude":753629632,"raw_latitude":118735072,"longitude_deg":75.3629632,"latitude_deg":11.8735072,"altitude":20,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2ceb79c0","hex_latitude":"0713c0e0","is_valid_coordinates":true} 
[2026-07-01 11:55:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-01 11:55:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419040000001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:55:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314025087565824,"note":"Value kept but may cause issues"} 
[2026-07-01 11:55:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478939865985785856,"note":"Value kept but may cause issues"} 
[2026-07-01 11:55:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:55:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782886879000,"timestamp_ms":1782886879000,"timestamp_seconds":1782886879,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c56cf18"} 
[2026-07-01 11:55:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:55:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11:55:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-01 11:55:57] 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-01 11:55: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-01 11:55:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:55:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:55:57] local.INFO: Teltonika packet parsed successfully {"connection_id":118955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:55:57] local.INFO: Passing IMEI to GPS processor {"connection_id":118955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:55:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":118955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:55:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 11:55:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:55:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:55:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419040000001,"66":27919,"190":206,"83":41472,"24":0,"16":333314025087565824,"44":-1478939865985785856},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-07-01 11:55:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:55:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:55:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419040000001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:55:57] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-07-01 11:55:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 11:55:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314025087565824,"km_value":333314025087565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:55:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478939865985785856,"description":"Unknown IO ID 44"} 
[2026-07-01 11:55:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419040000001,"power":27919,"unknown_190":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478939865985785856}} 
[2026-07-01 11:55:57] local.INFO: DEBUG: GPS processor result {"connection_id":118955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:55:57] local.INFO: GPS data processed {"connection_id":118955,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:55:57] local.INFO: Acknowledgment sent {"connection_id":118955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:56:26] local.INFO: TCP Data received {"connection_id":119744,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:56:26] local.INFO: Processing buffer {"connection_id":119744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:56:26] local.INFO: IMEI packet received {"connection_id":119744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 11:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":119744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:56:31] local.INFO: TCP Data received {"connection_id":119744,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:56:31] local.INFO: Processing buffer {"connection_id":119744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:56:31] local.INFO: IMEI packet received {"connection_id":119744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":119744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:56:32] local.INFO: TCP Data received {"connection_id":119744,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c56cf18012ceb79c00713c0e00014002f22..."} 
[2026-07-01 11:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c56cf18012ceb79c00713c0e00014002f22..."} 
[2026-07-01 11:56:32] local.INFO: Processing buffer {"connection_id":119744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c56cf18012ceb79c00713c0e00014002f22..."} 
[2026-07-01 11:56:32] local.INFO: Packet analysis {"connection_id":119744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c56"} 
[2026-07-01 11:56:32] local.INFO: Extracted packet for processing {"connection_id":119744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c56"} 
[2026-07-01 11:56:32] local.INFO: GPS Element Parsed {"raw_longitude":753629632,"raw_latitude":118735072,"longitude_deg":75.3629632,"latitude_deg":11.8735072,"altitude":20,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2ceb79c0","hex_latitude":"0713c0e0","is_valid_coordinates":true} 
[2026-07-01 11:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419040000001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314025087565824,"note":"Value kept but may cause issues"} 
[2026-07-01 11:56:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478939865985785856,"note":"Value kept but may cause issues"} 
[2026-07-01 11:56:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782886879000,"timestamp_ms":1782886879000,"timestamp_seconds":1782886879,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c56cf18"} 
[2026-07-01 11:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:56:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-01 11:56:32] 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-01 11:56:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":119744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":119744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":119744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 11:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419040000001,"66":27919,"190":206,"83":41472,"24":0,"16":333314025087565824,"44":-1478939865985785856},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-07-01 11:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419040000001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:56:32] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-07-01 11:56:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 11:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314025087565824,"km_value":333314025087565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:56:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478939865985785856,"description":"Unknown IO ID 44"} 
[2026-07-01 11:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419040000001,"power":27919,"unknown_190":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478939865985785856}} 
[2026-07-01 11:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":119744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:56:32] local.INFO: GPS data processed {"connection_id":119744,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:56:32] local.INFO: Acknowledgment sent {"connection_id":119744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:56:36] local.INFO: TCP Data received {"connection_id":119744,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c56cf18012ceb79c00713c0e00014002f22..."} 
[2026-07-01 11:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c56cf18012ceb79c00713c0e00014002f22..."} 
[2026-07-01 11:56:36] local.INFO: Processing buffer {"connection_id":119744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c56cf18012ceb79c00713c0e00014002f22..."} 
[2026-07-01 11:56:36] local.INFO: Packet analysis {"connection_id":119744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c56"} 
[2026-07-01 11:56:36] local.INFO: Extracted packet for processing {"connection_id":119744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c56"} 
[2026-07-01 11:56:36] local.INFO: GPS Element Parsed {"raw_longitude":753629632,"raw_latitude":118735072,"longitude_deg":75.3629632,"latitude_deg":11.8735072,"altitude":20,"angle":47,"satellites":34,"speed":0,"hex_longitude":"2ceb79c0","hex_latitude":"0713c0e0","is_valid_coordinates":true} 
[2026-07-01 11:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419040000001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314025087565824,"note":"Value kept but may cause issues"} 
[2026-07-01 11:56:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478939865985785856,"note":"Value kept but may cause issues"} 
[2026-07-01 11:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782886879000,"timestamp_ms":1782886879000,"timestamp_seconds":1782886879,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c56cf18"} 
[2026-07-01 11:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 11:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-01 11:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 11:56:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":119744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":119744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":119744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 11:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419040000001,"66":27919,"190":206,"83":41472,"24":0,"16":333314025087565824,"44":-1478939865985785856},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-07-01 11:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419040000001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:56:36] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-07-01 11:56:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 11:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314025087565824,"km_value":333314025087565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:56:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478939865985785856,"description":"Unknown IO ID 44"} 
[2026-07-01 11:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419040000001,"power":27919,"unknown_190":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478939865985785856}} 
[2026-07-01 11:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":119744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:56:36] local.INFO: GPS data processed {"connection_id":119744,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:56:36] local.INFO: Acknowledgment sent {"connection_id":119744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:57:21] local.INFO: TCP Data received {"connection_id":120835,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:57:21] local.INFO: Processing buffer {"connection_id":120835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:57:21] local.INFO: IMEI packet received {"connection_id":120835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 11:57:21] local.INFO: IMEI acknowledgment sent {"connection_id":120835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:57:26] local.INFO: TCP Data received {"connection_id":120835,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:57:26] local.INFO: Processing buffer {"connection_id":120835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:57:26] local.INFO: IMEI packet received {"connection_id":120835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":120835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:57:27] local.INFO: TCP Data received {"connection_id":120835,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c5b7680012ceb7a000713c128001d002f21..."} 
[2026-07-01 11:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c5b7680012ceb7a000713c128001d002f21..."} 
[2026-07-01 11:57:27] local.INFO: Processing buffer {"connection_id":120835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c5b7680012ceb7a000713c128001d002f21..."} 
[2026-07-01 11:57:27] local.INFO: Packet analysis {"connection_id":120835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c5b"} 
[2026-07-01 11:57:27] local.INFO: Extracted packet for processing {"connection_id":120835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c5b"} 
[2026-07-01 11:57:27] local.INFO: GPS Element Parsed {"raw_longitude":753629696,"raw_latitude":118735144,"longitude_deg":75.3629696,"latitude_deg":11.8735144,"altitude":29,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2ceb7a00","hex_latitude":"0713c128","is_valid_coordinates":true} 
[2026-07-01 11:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419041024001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314025087565824,"note":"Value kept but may cause issues"} 
[2026-07-01 11:57:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478939865985785856,"note":"Value kept but may cause issues"} 
[2026-07-01 11:57:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782887184000,"timestamp_ms":1782887184000,"timestamp_seconds":1782887184,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c5b7680"} 
[2026-07-01 11:57:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:57:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 11:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 11:57:27] 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-01 11:57:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:57:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:57:27] 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-01 11:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419041024001,"66":26223,"3":206,"83":41472,"24":0,"16":333314025087565824,"44":-1478939865985785856},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-07-01 11:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419041024001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:57:27] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-01 11:57:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 11:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314025087565824,"km_value":333314025087565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:57:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478939865985785856,"description":"Unknown IO ID 44"} 
[2026-07-01 11:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419041024001,"power":26223,"unknown_3":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478939865985785856}} 
[2026-07-01 11:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":120835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:57:27] local.INFO: GPS data processed {"connection_id":120835,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:57:27] local.INFO: Acknowledgment sent {"connection_id":120835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:57:58] local.INFO: TCP Data received {"connection_id":120835,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c5b7680012ceb7a000713c128001d002f21..."} 
[2026-07-01 11:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c5b7680012ceb7a000713c128001d002f21..."} 
[2026-07-01 11:57:58] local.INFO: Processing buffer {"connection_id":120835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c5b7680012ceb7a000713c128001d002f21..."} 
[2026-07-01 11:57:58] local.INFO: Packet analysis {"connection_id":120835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c5b"} 
[2026-07-01 11:57:58] local.INFO: Extracted packet for processing {"connection_id":120835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c5b"} 
[2026-07-01 11:57:58] local.INFO: GPS Element Parsed {"raw_longitude":753629696,"raw_latitude":118735144,"longitude_deg":75.3629696,"latitude_deg":11.8735144,"altitude":29,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2ceb7a00","hex_latitude":"0713c128","is_valid_coordinates":true} 
[2026-07-01 11:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419041024001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:57:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314025087565824,"note":"Value kept but may cause issues"} 
[2026-07-01 11:57:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478939865985785856,"note":"Value kept but may cause issues"} 
[2026-07-01 11:57:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:57:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782887184000,"timestamp_ms":1782887184000,"timestamp_seconds":1782887184,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c5b7680"} 
[2026-07-01 11:57:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:57:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 11:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 11:57:58] 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-01 11:57:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:57:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:57:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:57:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:57:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:57:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:57:58] 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-01 11:57:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:57:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:57:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419041024001,"66":26223,"3":206,"83":41472,"24":0,"16":333314025087565824,"44":-1478939865985785856},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-07-01 11:57:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:57:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:57:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419041024001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:57:58] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-01 11:57:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 11:57:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314025087565824,"km_value":333314025087565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:57:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478939865985785856,"description":"Unknown IO ID 44"} 
[2026-07-01 11:57:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419041024001,"power":26223,"unknown_3":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478939865985785856}} 
[2026-07-01 11:57:58] local.INFO: DEBUG: GPS processor result {"connection_id":120835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:57:58] local.INFO: GPS data processed {"connection_id":120835,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:57:58] local.INFO: Acknowledgment sent {"connection_id":120835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:58:20] local.INFO: TCP Data received {"connection_id":118956,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:58:20] local.INFO: Processing buffer {"connection_id":118956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:58:20] local.INFO: IMEI packet received {"connection_id":118956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 11:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":118956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:58:26] local.INFO: TCP Data received {"connection_id":118956,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:58:26] local.INFO: Processing buffer {"connection_id":118956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:58:26] local.INFO: IMEI packet received {"connection_id":118956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":118956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:58:27] local.INFO: TCP Data received {"connection_id":118956,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c5b7680012ceb7a000713c128001d002f21..."} 
[2026-07-01 11:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c5b7680012ceb7a000713c128001d002f21..."} 
[2026-07-01 11:58:27] local.INFO: Processing buffer {"connection_id":118956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c5b7680012ceb7a000713c128001d002f21..."} 
[2026-07-01 11:58:27] local.INFO: Packet analysis {"connection_id":118956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c5b"} 
[2026-07-01 11:58:27] local.INFO: Extracted packet for processing {"connection_id":118956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c5b"} 
[2026-07-01 11:58:27] local.INFO: GPS Element Parsed {"raw_longitude":753629696,"raw_latitude":118735144,"longitude_deg":75.3629696,"latitude_deg":11.8735144,"altitude":29,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2ceb7a00","hex_latitude":"0713c128","is_valid_coordinates":true} 
[2026-07-01 11:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:58:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419041024001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314025087565824,"note":"Value kept but may cause issues"} 
[2026-07-01 11:58:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478939865985785856,"note":"Value kept but may cause issues"} 
[2026-07-01 11:58:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782887184000,"timestamp_ms":1782887184000,"timestamp_seconds":1782887184,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c5b7680"} 
[2026-07-01 11:58:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:58:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 11:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 11:58:27] 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-01 11:58:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:58:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:58:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:58:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:58:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:58:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 11:58:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:58:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:58:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419041024001,"66":26223,"3":206,"83":41472,"24":0,"16":333314025087565824,"44":-1478939865985785856},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-07-01 11:58:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:58:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:58:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419041024001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:58:27] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-01 11:58:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 11:58:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314025087565824,"km_value":333314025087565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:58:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478939865985785856,"description":"Unknown IO ID 44"} 
[2026-07-01 11:58:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419041024001,"power":26223,"unknown_3":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478939865985785856}} 
[2026-07-01 11:58:27] local.INFO: DEBUG: GPS processor result {"connection_id":118956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:58:27] local.INFO: GPS data processed {"connection_id":118956,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:58:27] local.INFO: Acknowledgment sent {"connection_id":118956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:58:58] local.INFO: TCP Data received {"connection_id":118956,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c5b7680012ceb7a000713c128001d002f21..."} 
[2026-07-01 11:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c5b7680012ceb7a000713c128001d002f21..."} 
[2026-07-01 11:58:58] local.INFO: Processing buffer {"connection_id":118956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c5b7680012ceb7a000713c128001d002f21..."} 
[2026-07-01 11:58:58] local.INFO: Packet analysis {"connection_id":118956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c5b"} 
[2026-07-01 11:58:58] local.INFO: Extracted packet for processing {"connection_id":118956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c5b"} 
[2026-07-01 11:58:58] local.INFO: GPS Element Parsed {"raw_longitude":753629696,"raw_latitude":118735144,"longitude_deg":75.3629696,"latitude_deg":11.8735144,"altitude":29,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2ceb7a00","hex_latitude":"0713c128","is_valid_coordinates":true} 
[2026-07-01 11:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419041024001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:58:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314025087565824,"note":"Value kept but may cause issues"} 
[2026-07-01 11:58:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478939865985785856,"note":"Value kept but may cause issues"} 
[2026-07-01 11:58:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:58:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782887184000,"timestamp_ms":1782887184000,"timestamp_seconds":1782887184,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c5b7680"} 
[2026-07-01 11:58:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:58:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 11:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 11:58:58] 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-01 11:58:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:58:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:58:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:58:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:58:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:58:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:58:58] local.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-01 11:58:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:58:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:58:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419041024001,"66":26223,"3":206,"83":41472,"24":0,"16":333314025087565824,"44":-1478939865985785856},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-07-01 11:58:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:58:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:58:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419041024001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:58:58] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-01 11:58:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 11:58:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314025087565824,"km_value":333314025087565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:58:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478939865985785856,"description":"Unknown IO ID 44"} 
[2026-07-01 11:58:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419041024001,"power":26223,"unknown_3":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478939865985785856}} 
[2026-07-01 11:58:58] local.INFO: DEBUG: GPS processor result {"connection_id":118956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:58:58] local.INFO: GPS data processed {"connection_id":118956,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:58:58] local.INFO: Acknowledgment sent {"connection_id":118956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:59:20] local.INFO: TCP Data received {"connection_id":119083,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:59:20] local.INFO: Processing buffer {"connection_id":119083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:59:20] local.INFO: IMEI packet received {"connection_id":119083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 11:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":119083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 11:59:26] local.INFO: TCP Data received {"connection_id":119083,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:59:26] local.INFO: Processing buffer {"connection_id":119083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 11:59:26] local.INFO: IMEI packet received {"connection_id":119083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 11:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":119083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 11:59:27] local.INFO: TCP Data received {"connection_id":119083,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c5b7680012ceb7a000713c128001d002f21..."} 
[2026-07-01 11:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c5b7680012ceb7a000713c128001d002f21..."} 
[2026-07-01 11:59:27] local.INFO: Processing buffer {"connection_id":119083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c5b7680012ceb7a000713c128001d002f21..."} 
[2026-07-01 11:59:27] local.INFO: Packet analysis {"connection_id":119083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c5b"} 
[2026-07-01 11:59:27] local.INFO: Extracted packet for processing {"connection_id":119083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c5b"} 
[2026-07-01 11:59:27] local.INFO: GPS Element Parsed {"raw_longitude":753629696,"raw_latitude":118735144,"longitude_deg":75.3629696,"latitude_deg":11.8735144,"altitude":29,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2ceb7a00","hex_latitude":"0713c128","is_valid_coordinates":true} 
[2026-07-01 11:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419041024001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314025087565824,"note":"Value kept but may cause issues"} 
[2026-07-01 11:59:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478939865985785856,"note":"Value kept but may cause issues"} 
[2026-07-01 11:59:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782887184000,"timestamp_ms":1782887184000,"timestamp_seconds":1782887184,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c5b7680"} 
[2026-07-01 11:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:59:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 11:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 11:59:27] 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-01 11:59:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:59:27] 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-01 11:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419041024001,"66":26223,"3":206,"83":41472,"24":0,"16":333314025087565824,"44":-1478939865985785856},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-07-01 11:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419041024001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:59:27] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-01 11:59:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 11:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314025087565824,"km_value":333314025087565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:59:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478939865985785856,"description":"Unknown IO ID 44"} 
[2026-07-01 11:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419041024001,"power":26223,"unknown_3":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478939865985785856}} 
[2026-07-01 11:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":119083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:59:27] local.INFO: GPS data processed {"connection_id":119083,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:59:27] local.INFO: Acknowledgment sent {"connection_id":119083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 11:59:58] local.INFO: TCP Data received {"connection_id":119083,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c5b7680012ceb7a000713c128001d002f21..."} 
[2026-07-01 11:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c5b7680012ceb7a000713c128001d002f21..."} 
[2026-07-01 11:59:58] local.INFO: Processing buffer {"connection_id":119083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c5b7680012ceb7a000713c128001d002f21..."} 
[2026-07-01 11:59:58] local.INFO: Packet analysis {"connection_id":119083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c5b"} 
[2026-07-01 11:59:58] local.INFO: Extracted packet for processing {"connection_id":119083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c5b"} 
[2026-07-01 11:59:58] local.INFO: GPS Element Parsed {"raw_longitude":753629696,"raw_latitude":118735144,"longitude_deg":75.3629696,"latitude_deg":11.8735144,"altitude":29,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2ceb7a00","hex_latitude":"0713c128","is_valid_coordinates":true} 
[2026-07-01 11:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 11:59:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419041024001,"note":"Value kept but may cause issues"} 
[2026-07-01 11:59:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314025087565824,"note":"Value kept but may cause issues"} 
[2026-07-01 11:59:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478939865985785856,"note":"Value kept but may cause issues"} 
[2026-07-01 11:59:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 11:59:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782887184000,"timestamp_ms":1782887184000,"timestamp_seconds":1782887184,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c5b7680"} 
[2026-07-01 11:59:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 11:59:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 11:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 11:59:58] 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-01 11:59:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 11:59:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 11:59:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 11:59:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 11:59:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:59:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 11:59:58] 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-01 11:59:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 11:59:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 11:59:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419041024001,"66":26223,"3":206,"83":41472,"24":0,"16":333314025087565824,"44":-1478939865985785856},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-07-01 11:59:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 11:59:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 11:59:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419041024001,"description":"Unknown IO ID 0"} 
[2026-07-01 11:59:58] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-01 11:59:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 11:59:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314025087565824,"km_value":333314025087565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 11:59:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478939865985785856,"description":"Unknown IO ID 44"} 
[2026-07-01 11:59:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419041024001,"power":26223,"unknown_3":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478939865985785856}} 
[2026-07-01 11:59:58] local.INFO: DEBUG: GPS processor result {"connection_id":119083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 11:59:58] local.INFO: GPS data processed {"connection_id":119083,"processed":1,"errors":0,"total":1} 
[2026-07-01 11:59:58] local.INFO: Acknowledgment sent {"connection_id":119083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:00:26] local.INFO: TCP Data received {"connection_id":118957,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:00:26] local.INFO: Processing buffer {"connection_id":118957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:00:26] local.INFO: IMEI packet received {"connection_id":118957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 12:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":118957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:00:31] local.INFO: TCP Data received {"connection_id":118957,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:00:31] local.INFO: Processing buffer {"connection_id":118957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:00:31] local.INFO: IMEI packet received {"connection_id":118957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":118957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:00:32] local.INFO: TCP Data received {"connection_id":118957,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c5b7680012ceb7a000713c128001d002f21..."} 
[2026-07-01 12:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c5b7680012ceb7a000713c128001d002f21..."} 
[2026-07-01 12:00:32] local.INFO: Processing buffer {"connection_id":118957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c5b7680012ceb7a000713c128001d002f21..."} 
[2026-07-01 12:00:32] local.INFO: Packet analysis {"connection_id":118957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c5b"} 
[2026-07-01 12:00:32] local.INFO: Extracted packet for processing {"connection_id":118957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c5b"} 
[2026-07-01 12:00:32] local.INFO: GPS Element Parsed {"raw_longitude":753629696,"raw_latitude":118735144,"longitude_deg":75.3629696,"latitude_deg":11.8735144,"altitude":29,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2ceb7a00","hex_latitude":"0713c128","is_valid_coordinates":true} 
[2026-07-01 12:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419041024001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314025087565824,"note":"Value kept but may cause issues"} 
[2026-07-01 12:00:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478939865985785856,"note":"Value kept but may cause issues"} 
[2026-07-01 12:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782887184000,"timestamp_ms":1782887184000,"timestamp_seconds":1782887184,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c5b7680"} 
[2026-07-01 12:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:00:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 12:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 12:00:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:00:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":118957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":118957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":118957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419041024001,"66":26223,"3":206,"83":41472,"24":0,"16":333314025087565824,"44":-1478939865985785856},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-07-01 12:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419041024001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:00:32] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-01 12:00:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314025087565824,"km_value":333314025087565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:00:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478939865985785856,"description":"Unknown IO ID 44"} 
[2026-07-01 12:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419041024001,"power":26223,"unknown_3":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478939865985785856}} 
[2026-07-01 12:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":118957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:00:32] local.INFO: GPS data processed {"connection_id":118957,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:00:32] local.INFO: Acknowledgment sent {"connection_id":118957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:01:03] local.INFO: TCP Data received {"connection_id":118957,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c5b7680012ceb7a000713c128001d002f21..."} 
[2026-07-01 12:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c5b7680012ceb7a000713c128001d002f21..."} 
[2026-07-01 12:01:03] local.INFO: Processing buffer {"connection_id":118957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c5b7680012ceb7a000713c128001d002f21..."} 
[2026-07-01 12:01:03] local.INFO: Packet analysis {"connection_id":118957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c5b"} 
[2026-07-01 12:01:03] local.INFO: Extracted packet for processing {"connection_id":118957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c5b"} 
[2026-07-01 12:01:03] local.INFO: GPS Element Parsed {"raw_longitude":753629696,"raw_latitude":118735144,"longitude_deg":75.3629696,"latitude_deg":11.8735144,"altitude":29,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2ceb7a00","hex_latitude":"0713c128","is_valid_coordinates":true} 
[2026-07-01 12:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419041024001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314025087565824,"note":"Value kept but may cause issues"} 
[2026-07-01 12:01:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478939865985785856,"note":"Value kept but may cause issues"} 
[2026-07-01 12:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782887184000,"timestamp_ms":1782887184000,"timestamp_seconds":1782887184,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c5b7680"} 
[2026-07-01 12:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:01:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 12:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 12:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":118957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":118957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":118957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:01:03] 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-01 12:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419041024001,"66":26223,"3":206,"83":41472,"24":0,"16":333314025087565824,"44":-1478939865985785856},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-07-01 12:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419041024001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:01:03] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-01 12:01:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314025087565824,"km_value":333314025087565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:01:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478939865985785856,"description":"Unknown IO ID 44"} 
[2026-07-01 12:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419041024001,"power":26223,"unknown_3":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478939865985785856}} 
[2026-07-01 12:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":118957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:01:03] local.INFO: GPS data processed {"connection_id":118957,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:01:03] local.INFO: Acknowledgment sent {"connection_id":118957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:01:15] local.INFO: TCP Data received {"connection_id":119747,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119747,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:01:15] local.INFO: Processing buffer {"connection_id":119747,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:01:15] local.INFO: IMEI packet received {"connection_id":119747,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 12:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":119747,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:01:20] local.INFO: TCP Data received {"connection_id":118958,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:01:20] local.INFO: Processing buffer {"connection_id":118958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:01:20] local.INFO: IMEI packet received {"connection_id":118958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 12:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":118958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:01:26] local.INFO: TCP Data received {"connection_id":118958,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:01:26] local.INFO: Processing buffer {"connection_id":118958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:01:26] local.INFO: IMEI packet received {"connection_id":118958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":118958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:01:27] local.INFO: TCP Data received {"connection_id":118958,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c5b7680012ceb7a000713c128001d002f21..."} 
[2026-07-01 12:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c5b7680012ceb7a000713c128001d002f21..."} 
[2026-07-01 12:01:27] local.INFO: Processing buffer {"connection_id":118958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c5b7680012ceb7a000713c128001d002f21..."} 
[2026-07-01 12:01:27] local.INFO: Packet analysis {"connection_id":118958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c5b"} 
[2026-07-01 12:01:27] local.INFO: Extracted packet for processing {"connection_id":118958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c5b"} 
[2026-07-01 12:01:27] local.INFO: GPS Element Parsed {"raw_longitude":753629696,"raw_latitude":118735144,"longitude_deg":75.3629696,"latitude_deg":11.8735144,"altitude":29,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2ceb7a00","hex_latitude":"0713c128","is_valid_coordinates":true} 
[2026-07-01 12:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419041024001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314025087565824,"note":"Value kept but may cause issues"} 
[2026-07-01 12:01:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478939865985785856,"note":"Value kept but may cause issues"} 
[2026-07-01 12:01:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782887184000,"timestamp_ms":1782887184000,"timestamp_seconds":1782887184,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c5b7680"} 
[2026-07-01 12:01:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:01:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 12:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 12:01:27] 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-01 12:01:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:01:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:01:27] 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-01 12:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:01:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419041024001,"66":26223,"3":206,"83":41472,"24":0,"16":333314025087565824,"44":-1478939865985785856},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-07-01 12:01:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:01:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:01:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419041024001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:01:27] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-01 12:01:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:01:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314025087565824,"km_value":333314025087565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:01:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478939865985785856,"description":"Unknown IO ID 44"} 
[2026-07-01 12:01:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419041024001,"power":26223,"unknown_3":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478939865985785856}} 
[2026-07-01 12:01:27] local.INFO: DEBUG: GPS processor result {"connection_id":118958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:01:27] local.INFO: GPS data processed {"connection_id":118958,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:01:27] local.INFO: Acknowledgment sent {"connection_id":118958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:01:58] local.INFO: TCP Data received {"connection_id":118958,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c5b7680012ceb7a000713c128001d002f21..."} 
[2026-07-01 12:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c5b7680012ceb7a000713c128001d002f21..."} 
[2026-07-01 12:01:58] local.INFO: Processing buffer {"connection_id":118958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c5b7680012ceb7a000713c128001d002f21..."} 
[2026-07-01 12:01:58] local.INFO: Packet analysis {"connection_id":118958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c5b"} 
[2026-07-01 12:01:58] local.INFO: Extracted packet for processing {"connection_id":118958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c5b"} 
[2026-07-01 12:01:58] local.INFO: GPS Element Parsed {"raw_longitude":753629696,"raw_latitude":118735144,"longitude_deg":75.3629696,"latitude_deg":11.8735144,"altitude":29,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2ceb7a00","hex_latitude":"0713c128","is_valid_coordinates":true} 
[2026-07-01 12: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-01 12:01:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419041024001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:01:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314025087565824,"note":"Value kept but may cause issues"} 
[2026-07-01 12:01:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478939865985785856,"note":"Value kept but may cause issues"} 
[2026-07-01 12:01:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:01:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782887184000,"timestamp_ms":1782887184000,"timestamp_seconds":1782887184,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c5b7680"} 
[2026-07-01 12: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-01 12:01:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 12: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 12:01:58] 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-01 12: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-01 12: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-01 12:01:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:01:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:01:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:01:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:01:58] 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-01 12:01:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:01:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:01:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419041024001,"66":26223,"3":206,"83":41472,"24":0,"16":333314025087565824,"44":-1478939865985785856},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-07-01 12:01:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:01:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:01:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419041024001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:01:58] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-01 12:01:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:01:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314025087565824,"km_value":333314025087565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:01:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478939865985785856,"description":"Unknown IO ID 44"} 
[2026-07-01 12:01:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419041024001,"power":26223,"unknown_3":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478939865985785856}} 
[2026-07-01 12:01:58] local.INFO: DEBUG: GPS processor result {"connection_id":118958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:01:58] local.INFO: GPS data processed {"connection_id":118958,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:01:58] local.INFO: Acknowledgment sent {"connection_id":118958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:02:20] local.INFO: TCP Data received {"connection_id":119748,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:02:20] local.INFO: Processing buffer {"connection_id":119748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:02:20] local.INFO: IMEI packet received {"connection_id":119748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 12:02:20] local.INFO: IMEI acknowledgment sent {"connection_id":119748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:02:26] local.INFO: TCP Data received {"connection_id":119748,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:02:26] local.INFO: Processing buffer {"connection_id":119748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:02:26] local.INFO: IMEI packet received {"connection_id":119748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":119748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:02:27] local.INFO: TCP Data received {"connection_id":119748,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c600e48012ceb7a000713c128001d002f23..."} 
[2026-07-01 12:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c600e48012ceb7a000713c128001d002f23..."} 
[2026-07-01 12:02:27] local.INFO: Processing buffer {"connection_id":119748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c600e48012ceb7a000713c128001d002f23..."} 
[2026-07-01 12:02:27] local.INFO: Packet analysis {"connection_id":119748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c60"} 
[2026-07-01 12:02:27] local.INFO: Extracted packet for processing {"connection_id":119748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c60"} 
[2026-07-01 12:02:27] local.INFO: GPS Element Parsed {"raw_longitude":753629696,"raw_latitude":118735144,"longitude_deg":75.3629696,"latitude_deg":11.8735144,"altitude":29,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2ceb7a00","hex_latitude":"0713c128","is_valid_coordinates":true} 
[2026-07-01 12:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419119104001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314025087565824,"note":"Value kept but may cause issues"} 
[2026-07-01 12:02:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478869497241589760,"note":"Value kept but may cause issues"} 
[2026-07-01 12:02:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782887485000,"timestamp_ms":1782887485000,"timestamp_seconds":1782887485,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c600e48"} 
[2026-07-01 12:02:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:02:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 12:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-01 12:02:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:02:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:02:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:02:27] 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-01 12:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419119104001,"66":26006,"3":206,"83":41472,"24":0,"16":333314025087565824,"44":-1478869497241589760},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-07-01 12:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419119104001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:02:27] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-01 12:02:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314025087565824,"km_value":333314025087565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:02:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478869497241589760,"description":"Unknown IO ID 44"} 
[2026-07-01 12:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419119104001,"power":26006,"unknown_3":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478869497241589760}} 
[2026-07-01 12:02:27] local.INFO: DEBUG: GPS processor result {"connection_id":119748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:02:27] local.INFO: GPS data processed {"connection_id":119748,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:02:27] local.INFO: Acknowledgment sent {"connection_id":119748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:02:58] local.INFO: TCP Data received {"connection_id":119748,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c600e48012ceb7a000713c128001d002f23..."} 
[2026-07-01 12:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c600e48012ceb7a000713c128001d002f23..."} 
[2026-07-01 12:02:58] local.INFO: Processing buffer {"connection_id":119748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c600e48012ceb7a000713c128001d002f23..."} 
[2026-07-01 12:02:58] local.INFO: Packet analysis {"connection_id":119748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c60"} 
[2026-07-01 12:02:58] local.INFO: Extracted packet for processing {"connection_id":119748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c60"} 
[2026-07-01 12:02:58] local.INFO: GPS Element Parsed {"raw_longitude":753629696,"raw_latitude":118735144,"longitude_deg":75.3629696,"latitude_deg":11.8735144,"altitude":29,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2ceb7a00","hex_latitude":"0713c128","is_valid_coordinates":true} 
[2026-07-01 12:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419119104001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314025087565824,"note":"Value kept but may cause issues"} 
[2026-07-01 12:02:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478869497241589760,"note":"Value kept but may cause issues"} 
[2026-07-01 12:02:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782887485000,"timestamp_ms":1782887485000,"timestamp_seconds":1782887485,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c600e48"} 
[2026-07-01 12:02:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:02:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 12:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-01 12:02:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:02:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:02:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:02:58] 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-01 12:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419119104001,"66":26006,"3":206,"83":41472,"24":0,"16":333314025087565824,"44":-1478869497241589760},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-07-01 12:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419119104001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:02:58] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-01 12:02:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314025087565824,"km_value":333314025087565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:02:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478869497241589760,"description":"Unknown IO ID 44"} 
[2026-07-01 12:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419119104001,"power":26006,"unknown_3":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478869497241589760}} 
[2026-07-01 12:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":119748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:02:58] local.INFO: GPS data processed {"connection_id":119748,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:02:58] local.INFO: Acknowledgment sent {"connection_id":119748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:03:20] local.INFO: TCP Data received {"connection_id":118959,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:03:20] local.INFO: Processing buffer {"connection_id":118959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:03:20] local.INFO: IMEI packet received {"connection_id":118959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 12:03:20] local.INFO: IMEI acknowledgment sent {"connection_id":118959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:03:26] local.INFO: TCP Data received {"connection_id":118959,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:03:26] local.INFO: Processing buffer {"connection_id":118959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:03:26] local.INFO: IMEI packet received {"connection_id":118959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":118959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:03:27] local.INFO: TCP Data received {"connection_id":118959,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c600e48012ceb7a000713c128001d002f23..."} 
[2026-07-01 12:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c600e48012ceb7a000713c128001d002f23..."} 
[2026-07-01 12:03:27] local.INFO: Processing buffer {"connection_id":118959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c600e48012ceb7a000713c128001d002f23..."} 
[2026-07-01 12:03:27] local.INFO: Packet analysis {"connection_id":118959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c60"} 
[2026-07-01 12:03:27] local.INFO: Extracted packet for processing {"connection_id":118959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c60"} 
[2026-07-01 12:03:27] local.INFO: GPS Element Parsed {"raw_longitude":753629696,"raw_latitude":118735144,"longitude_deg":75.3629696,"latitude_deg":11.8735144,"altitude":29,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2ceb7a00","hex_latitude":"0713c128","is_valid_coordinates":true} 
[2026-07-01 12:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419119104001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314025087565824,"note":"Value kept but may cause issues"} 
[2026-07-01 12:03:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478869497241589760,"note":"Value kept but may cause issues"} 
[2026-07-01 12:03:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782887485000,"timestamp_ms":1782887485000,"timestamp_seconds":1782887485,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c600e48"} 
[2026-07-01 12:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:03:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 12:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-01 12:03:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:03:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:03:27] 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-01 12:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419119104001,"66":26006,"3":206,"83":41472,"24":0,"16":333314025087565824,"44":-1478869497241589760},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-07-01 12:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419119104001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:03:27] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-01 12:03:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314025087565824,"km_value":333314025087565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:03:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478869497241589760,"description":"Unknown IO ID 44"} 
[2026-07-01 12:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419119104001,"power":26006,"unknown_3":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478869497241589760}} 
[2026-07-01 12:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":118959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:03:27] local.INFO: GPS data processed {"connection_id":118959,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:03:27] local.INFO: Acknowledgment sent {"connection_id":118959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:03:58] local.INFO: TCP Data received {"connection_id":118959,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c600e48012ceb7a000713c128001d002f23..."} 
[2026-07-01 12:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c600e48012ceb7a000713c128001d002f23..."} 
[2026-07-01 12:03:58] local.INFO: Processing buffer {"connection_id":118959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c600e48012ceb7a000713c128001d002f23..."} 
[2026-07-01 12:03:58] local.INFO: Packet analysis {"connection_id":118959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c60"} 
[2026-07-01 12:03:58] local.INFO: Extracted packet for processing {"connection_id":118959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c60"} 
[2026-07-01 12:03:58] local.INFO: GPS Element Parsed {"raw_longitude":753629696,"raw_latitude":118735144,"longitude_deg":75.3629696,"latitude_deg":11.8735144,"altitude":29,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2ceb7a00","hex_latitude":"0713c128","is_valid_coordinates":true} 
[2026-07-01 12: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-01 12:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419119104001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314025087565824,"note":"Value kept but may cause issues"} 
[2026-07-01 12:03:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478869497241589760,"note":"Value kept but may cause issues"} 
[2026-07-01 12:03:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782887485000,"timestamp_ms":1782887485000,"timestamp_seconds":1782887485,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c600e48"} 
[2026-07-01 12: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-01 12:03:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 12: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-01 12:03:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12: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-01 12: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-01 12:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:03:58] 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-01 12:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419119104001,"66":26006,"3":206,"83":41472,"24":0,"16":333314025087565824,"44":-1478869497241589760},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-07-01 12:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419119104001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:03:58] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-01 12:03:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314025087565824,"km_value":333314025087565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:03:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478869497241589760,"description":"Unknown IO ID 44"} 
[2026-07-01 12:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419119104001,"power":26006,"unknown_3":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478869497241589760}} 
[2026-07-01 12:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":118959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:03:58] local.INFO: GPS data processed {"connection_id":118959,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:03:58] local.INFO: Acknowledgment sent {"connection_id":118959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:04:20] local.INFO: TCP Data received {"connection_id":119085,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:04:20] local.INFO: Processing buffer {"connection_id":119085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:04:20] local.INFO: IMEI packet received {"connection_id":119085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 12:04:20] local.INFO: IMEI acknowledgment sent {"connection_id":119085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:04:26] local.INFO: TCP Data received {"connection_id":119085,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:04:26] local.INFO: Processing buffer {"connection_id":119085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:04:26] local.INFO: IMEI packet received {"connection_id":119085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":119085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:04:27] local.INFO: TCP Data received {"connection_id":119085,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c600e48012ceb7a000713c128001d002f23..."} 
[2026-07-01 12:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c600e48012ceb7a000713c128001d002f23..."} 
[2026-07-01 12:04:27] local.INFO: Processing buffer {"connection_id":119085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c600e48012ceb7a000713c128001d002f23..."} 
[2026-07-01 12:04:27] local.INFO: Packet analysis {"connection_id":119085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c60"} 
[2026-07-01 12:04:27] local.INFO: Extracted packet for processing {"connection_id":119085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c60"} 
[2026-07-01 12:04:27] local.INFO: GPS Element Parsed {"raw_longitude":753629696,"raw_latitude":118735144,"longitude_deg":75.3629696,"latitude_deg":11.8735144,"altitude":29,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2ceb7a00","hex_latitude":"0713c128","is_valid_coordinates":true} 
[2026-07-01 12:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:04:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419119104001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:04:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314025087565824,"note":"Value kept but may cause issues"} 
[2026-07-01 12:04:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478869497241589760,"note":"Value kept but may cause issues"} 
[2026-07-01 12:04:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:04:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782887485000,"timestamp_ms":1782887485000,"timestamp_seconds":1782887485,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c600e48"} 
[2026-07-01 12:04:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:04:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 12:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-01 12:04:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:04:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:04:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:04:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:04:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:04:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:04:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:04:27] 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-01 12:04:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:04:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:04:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419119104001,"66":26006,"3":206,"83":41472,"24":0,"16":333314025087565824,"44":-1478869497241589760},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-07-01 12:04:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:04:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:04:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419119104001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:04:27] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-01 12:04:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:04:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314025087565824,"km_value":333314025087565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:04:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478869497241589760,"description":"Unknown IO ID 44"} 
[2026-07-01 12:04:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419119104001,"power":26006,"unknown_3":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478869497241589760}} 
[2026-07-01 12:04:27] local.INFO: DEBUG: GPS processor result {"connection_id":119085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:04:27] local.INFO: GPS data processed {"connection_id":119085,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:04:27] local.INFO: Acknowledgment sent {"connection_id":119085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:04:58] local.INFO: TCP Data received {"connection_id":119085,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c600e48012ceb7a000713c128001d002f23..."} 
[2026-07-01 12:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c600e48012ceb7a000713c128001d002f23..."} 
[2026-07-01 12:04:58] local.INFO: Processing buffer {"connection_id":119085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c600e48012ceb7a000713c128001d002f23..."} 
[2026-07-01 12:04:58] local.INFO: Packet analysis {"connection_id":119085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c60"} 
[2026-07-01 12:04:58] local.INFO: Extracted packet for processing {"connection_id":119085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c60"} 
[2026-07-01 12:04:58] local.INFO: GPS Element Parsed {"raw_longitude":753629696,"raw_latitude":118735144,"longitude_deg":75.3629696,"latitude_deg":11.8735144,"altitude":29,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2ceb7a00","hex_latitude":"0713c128","is_valid_coordinates":true} 
[2026-07-01 12:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:04:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419119104001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:04:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314025087565824,"note":"Value kept but may cause issues"} 
[2026-07-01 12:04:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478869497241589760,"note":"Value kept but may cause issues"} 
[2026-07-01 12:04:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:04:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782887485000,"timestamp_ms":1782887485000,"timestamp_seconds":1782887485,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c600e48"} 
[2026-07-01 12:04:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:04:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 12:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-01 12:04:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:04:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:04:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:04:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:04:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:04:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:04:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:04:58] 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-01 12:04:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:04:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:04:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419119104001,"66":26006,"3":206,"83":41472,"24":0,"16":333314025087565824,"44":-1478869497241589760},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-07-01 12:04:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:04:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:04:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419119104001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:04:58] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-01 12:04:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:04:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314025087565824,"km_value":333314025087565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:04:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478869497241589760,"description":"Unknown IO ID 44"} 
[2026-07-01 12:04:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419119104001,"power":26006,"unknown_3":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478869497241589760}} 
[2026-07-01 12:04:58] local.INFO: DEBUG: GPS processor result {"connection_id":119085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:04:58] local.INFO: GPS data processed {"connection_id":119085,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:04:58] local.INFO: Acknowledgment sent {"connection_id":119085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:05:26] local.INFO: TCP Data received {"connection_id":120839,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:05:26] local.INFO: Processing buffer {"connection_id":120839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:05:26] local.INFO: IMEI packet received {"connection_id":120839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 12:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":120839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:05:31] local.INFO: TCP Data received {"connection_id":120839,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:05:31] local.INFO: Processing buffer {"connection_id":120839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:05:31] local.INFO: IMEI packet received {"connection_id":120839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":120839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:05:32] local.INFO: TCP Data received {"connection_id":120839,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c600e48012ceb7a000713c128001d002f23..."} 
[2026-07-01 12:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c600e48012ceb7a000713c128001d002f23..."} 
[2026-07-01 12:05:32] local.INFO: Processing buffer {"connection_id":120839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c600e48012ceb7a000713c128001d002f23..."} 
[2026-07-01 12:05:32] local.INFO: Packet analysis {"connection_id":120839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c60"} 
[2026-07-01 12:05:32] local.INFO: Extracted packet for processing {"connection_id":120839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c60"} 
[2026-07-01 12:05:32] local.INFO: GPS Element Parsed {"raw_longitude":753629696,"raw_latitude":118735144,"longitude_deg":75.3629696,"latitude_deg":11.8735144,"altitude":29,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2ceb7a00","hex_latitude":"0713c128","is_valid_coordinates":true} 
[2026-07-01 12:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419119104001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314025087565824,"note":"Value kept but may cause issues"} 
[2026-07-01 12:05:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478869497241589760,"note":"Value kept but may cause issues"} 
[2026-07-01 12:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782887485000,"timestamp_ms":1782887485000,"timestamp_seconds":1782887485,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c600e48"} 
[2026-07-01 12:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:05:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 12:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-01 12:05:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:05:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":120839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":120839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":120839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419119104001,"66":26006,"3":206,"83":41472,"24":0,"16":333314025087565824,"44":-1478869497241589760},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-07-01 12:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419119104001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:05:32] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-01 12:05:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314025087565824,"km_value":333314025087565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:05:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478869497241589760,"description":"Unknown IO ID 44"} 
[2026-07-01 12:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419119104001,"power":26006,"unknown_3":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478869497241589760}} 
[2026-07-01 12:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":120839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:05:32] local.INFO: GPS data processed {"connection_id":120839,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:05:32] local.INFO: Acknowledgment sent {"connection_id":120839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:05:36] local.INFO: TCP Data received {"connection_id":120839,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c600e48012ceb7a000713c128001d002f23..."} 
[2026-07-01 12:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c600e48012ceb7a000713c128001d002f23..."} 
[2026-07-01 12:05:36] local.INFO: Processing buffer {"connection_id":120839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c600e48012ceb7a000713c128001d002f23..."} 
[2026-07-01 12:05:36] local.INFO: Packet analysis {"connection_id":120839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c60"} 
[2026-07-01 12:05:36] local.INFO: Extracted packet for processing {"connection_id":120839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c60"} 
[2026-07-01 12:05:36] local.INFO: GPS Element Parsed {"raw_longitude":753629696,"raw_latitude":118735144,"longitude_deg":75.3629696,"latitude_deg":11.8735144,"altitude":29,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2ceb7a00","hex_latitude":"0713c128","is_valid_coordinates":true} 
[2026-07-01 12:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419119104001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314025087565824,"note":"Value kept but may cause issues"} 
[2026-07-01 12:05:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478869497241589760,"note":"Value kept but may cause issues"} 
[2026-07-01 12:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782887485000,"timestamp_ms":1782887485000,"timestamp_seconds":1782887485,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c600e48"} 
[2026-07-01 12:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 12:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-01 12:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":120839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":120839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":120839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419119104001,"66":26006,"3":206,"83":41472,"24":0,"16":333314025087565824,"44":-1478869497241589760},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-07-01 12:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419119104001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:05:36] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-01 12:05:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314025087565824,"km_value":333314025087565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:05:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478869497241589760,"description":"Unknown IO ID 44"} 
[2026-07-01 12:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419119104001,"power":26006,"unknown_3":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478869497241589760}} 
[2026-07-01 12:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":120839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:05:36] local.INFO: GPS data processed {"connection_id":120839,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:05:36] local.INFO: Acknowledgment sent {"connection_id":120839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:06:21] local.INFO: TCP Data received {"connection_id":119086,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:06:21] local.INFO: Processing buffer {"connection_id":119086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:06:21] local.INFO: IMEI packet received {"connection_id":119086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 12:06:21] local.INFO: IMEI acknowledgment sent {"connection_id":119086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:06:26] local.INFO: TCP Data received {"connection_id":119086,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:06:26] local.INFO: Processing buffer {"connection_id":119086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:06:26] local.INFO: IMEI packet received {"connection_id":119086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":119086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:06:27] local.INFO: TCP Data received {"connection_id":119086,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c600e48012ceb7a000713c128001d002f23..."} 
[2026-07-01 12:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c600e48012ceb7a000713c128001d002f23..."} 
[2026-07-01 12:06:27] local.INFO: Processing buffer {"connection_id":119086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c600e48012ceb7a000713c128001d002f23..."} 
[2026-07-01 12:06:27] local.INFO: Packet analysis {"connection_id":119086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c60"} 
[2026-07-01 12:06:27] local.INFO: Extracted packet for processing {"connection_id":119086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c60"} 
[2026-07-01 12:06:27] local.INFO: GPS Element Parsed {"raw_longitude":753629696,"raw_latitude":118735144,"longitude_deg":75.3629696,"latitude_deg":11.8735144,"altitude":29,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2ceb7a00","hex_latitude":"0713c128","is_valid_coordinates":true} 
[2026-07-01 12:06:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:06:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419119104001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:06:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314025087565824,"note":"Value kept but may cause issues"} 
[2026-07-01 12:06:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478869497241589760,"note":"Value kept but may cause issues"} 
[2026-07-01 12:06:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:06:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782887485000,"timestamp_ms":1782887485000,"timestamp_seconds":1782887485,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c600e48"} 
[2026-07-01 12:06:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:06:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 12:06:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-01 12:06:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:06:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:06:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:06:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:06:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:06:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:06:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:06:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:06:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:06:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:06:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419119104001,"66":26006,"3":206,"83":41472,"24":0,"16":333314025087565824,"44":-1478869497241589760},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-07-01 12:06:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:06:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:06:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419119104001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:06:27] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-01 12:06:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:06:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314025087565824,"km_value":333314025087565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:06:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478869497241589760,"description":"Unknown IO ID 44"} 
[2026-07-01 12:06:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419119104001,"power":26006,"unknown_3":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478869497241589760}} 
[2026-07-01 12:06:27] local.INFO: DEBUG: GPS processor result {"connection_id":119086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:06:27] local.INFO: GPS data processed {"connection_id":119086,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:06:27] local.INFO: Acknowledgment sent {"connection_id":119086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:06:36] local.INFO: TCP Data received {"connection_id":119750,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119750,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:06:36] local.INFO: Processing buffer {"connection_id":119750,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:06:36] local.INFO: IMEI packet received {"connection_id":119750,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 12:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":119750,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:06:58] local.INFO: TCP Data received {"connection_id":119086,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c600e48012ceb7a000713c128001d002f23..."} 
[2026-07-01 12:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c600e48012ceb7a000713c128001d002f23..."} 
[2026-07-01 12:06:58] local.INFO: Processing buffer {"connection_id":119086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c600e48012ceb7a000713c128001d002f23..."} 
[2026-07-01 12:06:58] local.INFO: Packet analysis {"connection_id":119086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c60"} 
[2026-07-01 12:06:58] local.INFO: Extracted packet for processing {"connection_id":119086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c60"} 
[2026-07-01 12:06:58] local.INFO: GPS Element Parsed {"raw_longitude":753629696,"raw_latitude":118735144,"longitude_deg":75.3629696,"latitude_deg":11.8735144,"altitude":29,"angle":47,"satellites":35,"speed":0,"hex_longitude":"2ceb7a00","hex_latitude":"0713c128","is_valid_coordinates":true} 
[2026-07-01 12:06:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419119104001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314025087565824,"note":"Value kept but may cause issues"} 
[2026-07-01 12:06:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478869497241589760,"note":"Value kept but may cause issues"} 
[2026-07-01 12:06:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782887485000,"timestamp_ms":1782887485000,"timestamp_seconds":1782887485,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c600e48"} 
[2026-07-01 12:06:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:06:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 12:06:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-01 12:06:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:06:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:06:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:06:58] local.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-01 12:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419119104001,"66":26006,"3":206,"83":41472,"24":0,"16":333314025087565824,"44":-1478869497241589760},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-07-01 12:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419119104001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:06:58] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-01 12:06:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314025087565824,"km_value":333314025087565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:06:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478869497241589760,"description":"Unknown IO ID 44"} 
[2026-07-01 12:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419119104001,"power":26006,"unknown_3":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478869497241589760}} 
[2026-07-01 12:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":119086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:06:58] local.INFO: GPS data processed {"connection_id":119086,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:06:58] local.INFO: Acknowledgment sent {"connection_id":119086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:07:20] local.INFO: TCP Data received {"connection_id":118960,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:07:20] local.INFO: Processing buffer {"connection_id":118960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:07:20] local.INFO: IMEI packet received {"connection_id":118960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 12:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":118960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:07:21] local.INFO: TCP Data received {"connection_id":120840,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120840,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:07:21] local.INFO: Processing buffer {"connection_id":120840,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:07:21] local.INFO: IMEI packet received {"connection_id":120840,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 12:07:21] local.INFO: IMEI acknowledgment sent {"connection_id":120840,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:07:26] local.INFO: TCP Data received {"connection_id":118960,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:07:26] local.INFO: Processing buffer {"connection_id":118960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:07:26] local.INFO: IMEI packet received {"connection_id":118960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":118960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:07:27] local.INFO: TCP Data received {"connection_id":118960,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c64a610012ceb7a000713c1280024002f21..."} 
[2026-07-01 12:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c64a610012ceb7a000713c1280024002f21..."} 
[2026-07-01 12:07:27] local.INFO: Processing buffer {"connection_id":118960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c64a610012ceb7a000713c1280024002f21..."} 
[2026-07-01 12:07:27] local.INFO: Packet analysis {"connection_id":118960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c64"} 
[2026-07-01 12:07:27] local.INFO: Extracted packet for processing {"connection_id":118960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c64"} 
[2026-07-01 12:07:27] local.INFO: GPS Element Parsed {"raw_longitude":753629696,"raw_latitude":118735144,"longitude_deg":75.3629696,"latitude_deg":11.8735144,"altitude":36,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2ceb7a00","hex_latitude":"0713c128","is_valid_coordinates":true} 
[2026-07-01 12:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:07:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419196160001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:07:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314025087565824,"note":"Value kept but may cause issues"} 
[2026-07-01 12:07:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478869497241589760,"note":"Value kept but may cause issues"} 
[2026-07-01 12:07:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:07:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782887786000,"timestamp_ms":1782887786000,"timestamp_seconds":1782887786,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c64a610"} 
[2026-07-01 12:07:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:07:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 12:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-01 12:07:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:07:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:07:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:07:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:07:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:07:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:07:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:07:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:07:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:07:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:07:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419196160001,"66":25875,"3":206,"83":41472,"24":0,"16":333314025087565824,"44":-1478869497241589760},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-07-01 12:07:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:07:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:07:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419196160001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:07:27] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-01 12:07:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:07:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314025087565824,"km_value":333314025087565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:07:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478869497241589760,"description":"Unknown IO ID 44"} 
[2026-07-01 12:07:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419196160001,"power":25875,"unknown_3":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478869497241589760}} 
[2026-07-01 12:07:27] local.INFO: DEBUG: GPS processor result {"connection_id":118960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:07:27] local.INFO: GPS data processed {"connection_id":118960,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:07:27] local.INFO: Acknowledgment sent {"connection_id":118960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:07:58] local.INFO: TCP Data received {"connection_id":118960,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c64a610012ceb7a000713c1280024002f21..."} 
[2026-07-01 12:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c64a610012ceb7a000713c1280024002f21..."} 
[2026-07-01 12:07:58] local.INFO: Processing buffer {"connection_id":118960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c64a610012ceb7a000713c1280024002f21..."} 
[2026-07-01 12:07:58] local.INFO: Packet analysis {"connection_id":118960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c64"} 
[2026-07-01 12:07:58] local.INFO: Extracted packet for processing {"connection_id":118960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c64"} 
[2026-07-01 12:07:58] local.INFO: GPS Element Parsed {"raw_longitude":753629696,"raw_latitude":118735144,"longitude_deg":75.3629696,"latitude_deg":11.8735144,"altitude":36,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2ceb7a00","hex_latitude":"0713c128","is_valid_coordinates":true} 
[2026-07-01 12:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:07:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419196160001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:07:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314025087565824,"note":"Value kept but may cause issues"} 
[2026-07-01 12:07:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478869497241589760,"note":"Value kept but may cause issues"} 
[2026-07-01 12:07:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:07:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782887786000,"timestamp_ms":1782887786000,"timestamp_seconds":1782887786,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c64a610"} 
[2026-07-01 12:07:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:07:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 12:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-01 12:07:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:07:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:07:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:07:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:07:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:07:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:07:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:07:58] local.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-01 12:07:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:07:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:07:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419196160001,"66":25875,"3":206,"83":41472,"24":0,"16":333314025087565824,"44":-1478869497241589760},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-07-01 12:07:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:07:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:07:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419196160001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:07:58] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-01 12:07:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:07:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314025087565824,"km_value":333314025087565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:07:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478869497241589760,"description":"Unknown IO ID 44"} 
[2026-07-01 12:07:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419196160001,"power":25875,"unknown_3":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478869497241589760}} 
[2026-07-01 12:07:58] local.INFO: DEBUG: GPS processor result {"connection_id":118960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:07:58] local.INFO: GPS data processed {"connection_id":118960,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:07:58] local.INFO: Acknowledgment sent {"connection_id":118960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:08:20] local.INFO: TCP Data received {"connection_id":119752,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:08:20] local.INFO: Processing buffer {"connection_id":119752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:08:20] local.INFO: IMEI packet received {"connection_id":119752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 12:08:20] local.INFO: IMEI acknowledgment sent {"connection_id":119752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:08:26] local.INFO: TCP Data received {"connection_id":119752,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:08:26] local.INFO: Processing buffer {"connection_id":119752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:08:26] local.INFO: IMEI packet received {"connection_id":119752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":119752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:08:27] local.INFO: TCP Data received {"connection_id":119752,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c64a610012ceb7a000713c1280024002f21..."} 
[2026-07-01 12:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c64a610012ceb7a000713c1280024002f21..."} 
[2026-07-01 12:08:27] local.INFO: Processing buffer {"connection_id":119752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c64a610012ceb7a000713c1280024002f21..."} 
[2026-07-01 12:08:27] local.INFO: Packet analysis {"connection_id":119752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c64"} 
[2026-07-01 12:08:27] local.INFO: Extracted packet for processing {"connection_id":119752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c64"} 
[2026-07-01 12:08:27] local.INFO: GPS Element Parsed {"raw_longitude":753629696,"raw_latitude":118735144,"longitude_deg":75.3629696,"latitude_deg":11.8735144,"altitude":36,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2ceb7a00","hex_latitude":"0713c128","is_valid_coordinates":true} 
[2026-07-01 12:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:08:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419196160001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:08:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314025087565824,"note":"Value kept but may cause issues"} 
[2026-07-01 12:08:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478869497241589760,"note":"Value kept but may cause issues"} 
[2026-07-01 12:08:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:08:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782887786000,"timestamp_ms":1782887786000,"timestamp_seconds":1782887786,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c64a610"} 
[2026-07-01 12:08:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:08:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 12:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-01 12:08:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:08:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:08:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:08:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:08:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:08:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:08:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:08:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:08:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:08:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:08:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419196160001,"66":25875,"3":206,"83":41472,"24":0,"16":333314025087565824,"44":-1478869497241589760},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-07-01 12:08:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:08:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:08:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419196160001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:08:27] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-01 12:08:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:08:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314025087565824,"km_value":333314025087565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:08:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478869497241589760,"description":"Unknown IO ID 44"} 
[2026-07-01 12:08:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419196160001,"power":25875,"unknown_3":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478869497241589760}} 
[2026-07-01 12:08:27] local.INFO: DEBUG: GPS processor result {"connection_id":119752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:08:27] local.INFO: GPS data processed {"connection_id":119752,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:08:27] local.INFO: Acknowledgment sent {"connection_id":119752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:08:58] local.INFO: TCP Data received {"connection_id":119752,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c64a610012ceb7a000713c1280024002f21..."} 
[2026-07-01 12:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c64a610012ceb7a000713c1280024002f21..."} 
[2026-07-01 12:08:58] local.INFO: Processing buffer {"connection_id":119752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c64a610012ceb7a000713c1280024002f21..."} 
[2026-07-01 12:08:58] local.INFO: Packet analysis {"connection_id":119752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c64"} 
[2026-07-01 12:08:58] local.INFO: Extracted packet for processing {"connection_id":119752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c64"} 
[2026-07-01 12:08:58] local.INFO: GPS Element Parsed {"raw_longitude":753629696,"raw_latitude":118735144,"longitude_deg":75.3629696,"latitude_deg":11.8735144,"altitude":36,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2ceb7a00","hex_latitude":"0713c128","is_valid_coordinates":true} 
[2026-07-01 12:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419196160001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314025087565824,"note":"Value kept but may cause issues"} 
[2026-07-01 12:08:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478869497241589760,"note":"Value kept but may cause issues"} 
[2026-07-01 12:08:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782887786000,"timestamp_ms":1782887786000,"timestamp_seconds":1782887786,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c64a610"} 
[2026-07-01 12:08:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:08:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 12:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-01 12:08:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:08:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:08:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:08:58] local.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-01 12:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419196160001,"66":25875,"3":206,"83":41472,"24":0,"16":333314025087565824,"44":-1478869497241589760},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-07-01 12:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419196160001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:08:58] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-01 12:08:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314025087565824,"km_value":333314025087565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:08:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478869497241589760,"description":"Unknown IO ID 44"} 
[2026-07-01 12:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419196160001,"power":25875,"unknown_3":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478869497241589760}} 
[2026-07-01 12:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":119752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:08:58] local.INFO: GPS data processed {"connection_id":119752,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:08:58] local.INFO: Acknowledgment sent {"connection_id":119752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:09:20] local.INFO: TCP Data received {"connection_id":119753,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:09:20] local.INFO: Processing buffer {"connection_id":119753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:09:20] local.INFO: IMEI packet received {"connection_id":119753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 12:09:20] local.INFO: IMEI acknowledgment sent {"connection_id":119753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:09:26] local.INFO: TCP Data received {"connection_id":119753,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:09:26] local.INFO: Processing buffer {"connection_id":119753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:09:26] local.INFO: IMEI packet received {"connection_id":119753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":119753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:09:27] local.INFO: TCP Data received {"connection_id":119753,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c64a610012ceb7a000713c1280024002f21..."} 
[2026-07-01 12:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c64a610012ceb7a000713c1280024002f21..."} 
[2026-07-01 12:09:27] local.INFO: Processing buffer {"connection_id":119753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c64a610012ceb7a000713c1280024002f21..."} 
[2026-07-01 12:09:27] local.INFO: Packet analysis {"connection_id":119753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c64"} 
[2026-07-01 12:09:27] local.INFO: Extracted packet for processing {"connection_id":119753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c64"} 
[2026-07-01 12:09:27] local.INFO: GPS Element Parsed {"raw_longitude":753629696,"raw_latitude":118735144,"longitude_deg":75.3629696,"latitude_deg":11.8735144,"altitude":36,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2ceb7a00","hex_latitude":"0713c128","is_valid_coordinates":true} 
[2026-07-01 12:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419196160001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314025087565824,"note":"Value kept but may cause issues"} 
[2026-07-01 12:09:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478869497241589760,"note":"Value kept but may cause issues"} 
[2026-07-01 12:09:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782887786000,"timestamp_ms":1782887786000,"timestamp_seconds":1782887786,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c64a610"} 
[2026-07-01 12:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:09:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 12:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-01 12:09:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:09:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:09:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419196160001,"66":25875,"3":206,"83":41472,"24":0,"16":333314025087565824,"44":-1478869497241589760},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-07-01 12:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419196160001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:09:27] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-01 12:09:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314025087565824,"km_value":333314025087565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:09:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478869497241589760,"description":"Unknown IO ID 44"} 
[2026-07-01 12:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419196160001,"power":25875,"unknown_3":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478869497241589760}} 
[2026-07-01 12:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":119753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:09:27] local.INFO: GPS data processed {"connection_id":119753,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:09:27] local.INFO: Acknowledgment sent {"connection_id":119753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:09:58] local.INFO: TCP Data received {"connection_id":119753,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c64a610012ceb7a000713c1280024002f21..."} 
[2026-07-01 12:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c64a610012ceb7a000713c1280024002f21..."} 
[2026-07-01 12:09:58] local.INFO: Processing buffer {"connection_id":119753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c64a610012ceb7a000713c1280024002f21..."} 
[2026-07-01 12:09:58] local.INFO: Packet analysis {"connection_id":119753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c64"} 
[2026-07-01 12:09:58] local.INFO: Extracted packet for processing {"connection_id":119753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c64"} 
[2026-07-01 12:09:58] local.INFO: GPS Element Parsed {"raw_longitude":753629696,"raw_latitude":118735144,"longitude_deg":75.3629696,"latitude_deg":11.8735144,"altitude":36,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2ceb7a00","hex_latitude":"0713c128","is_valid_coordinates":true} 
[2026-07-01 12:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419196160001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314025087565824,"note":"Value kept but may cause issues"} 
[2026-07-01 12:09:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478869497241589760,"note":"Value kept but may cause issues"} 
[2026-07-01 12:09:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782887786000,"timestamp_ms":1782887786000,"timestamp_seconds":1782887786,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c64a610"} 
[2026-07-01 12:09:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:09:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 12:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-01 12:09:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:09:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:09:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:09:58] local.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-01 12:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419196160001,"66":25875,"3":206,"83":41472,"24":0,"16":333314025087565824,"44":-1478869497241589760},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-07-01 12:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419196160001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:09:58] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-01 12:09:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314025087565824,"km_value":333314025087565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:09:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478869497241589760,"description":"Unknown IO ID 44"} 
[2026-07-01 12:09:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419196160001,"power":25875,"unknown_3":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478869497241589760}} 
[2026-07-01 12:09:58] local.INFO: DEBUG: GPS processor result {"connection_id":119753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:09:58] local.INFO: GPS data processed {"connection_id":119753,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:09:58] local.INFO: Acknowledgment sent {"connection_id":119753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:10:26] local.INFO: TCP Data received {"connection_id":119754,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:10:26] local.INFO: Processing buffer {"connection_id":119754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:10:26] local.INFO: IMEI packet received {"connection_id":119754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 12:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":119754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:10:31] local.INFO: TCP Data received {"connection_id":119754,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:10:31] local.INFO: Processing buffer {"connection_id":119754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:10:31] local.INFO: IMEI packet received {"connection_id":119754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":119754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:10:32] local.INFO: TCP Data received {"connection_id":119754,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c64a610012ceb7a000713c1280024002f21..."} 
[2026-07-01 12:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c64a610012ceb7a000713c1280024002f21..."} 
[2026-07-01 12:10:32] local.INFO: Processing buffer {"connection_id":119754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c64a610012ceb7a000713c1280024002f21..."} 
[2026-07-01 12:10:32] local.INFO: Packet analysis {"connection_id":119754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c64"} 
[2026-07-01 12:10:32] local.INFO: Extracted packet for processing {"connection_id":119754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c64"} 
[2026-07-01 12:10:32] local.INFO: GPS Element Parsed {"raw_longitude":753629696,"raw_latitude":118735144,"longitude_deg":75.3629696,"latitude_deg":11.8735144,"altitude":36,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2ceb7a00","hex_latitude":"0713c128","is_valid_coordinates":true} 
[2026-07-01 12:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419196160001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314025087565824,"note":"Value kept but may cause issues"} 
[2026-07-01 12:10:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478869497241589760,"note":"Value kept but may cause issues"} 
[2026-07-01 12:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782887786000,"timestamp_ms":1782887786000,"timestamp_seconds":1782887786,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c64a610"} 
[2026-07-01 12:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:10:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 12:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-01 12:10:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:10:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":119754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":119754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":119754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419196160001,"66":25875,"3":206,"83":41472,"24":0,"16":333314025087565824,"44":-1478869497241589760},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-07-01 12:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419196160001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:10:32] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-01 12:10:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314025087565824,"km_value":333314025087565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:10:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478869497241589760,"description":"Unknown IO ID 44"} 
[2026-07-01 12:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419196160001,"power":25875,"unknown_3":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478869497241589760}} 
[2026-07-01 12:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":119754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:10:32] local.INFO: GPS data processed {"connection_id":119754,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:10:32] local.INFO: Acknowledgment sent {"connection_id":119754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:10:36] local.INFO: TCP Data received {"connection_id":119754,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c64a610012ceb7a000713c1280024002f21..."} 
[2026-07-01 12:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c64a610012ceb7a000713c1280024002f21..."} 
[2026-07-01 12:10:36] local.INFO: Processing buffer {"connection_id":119754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c64a610012ceb7a000713c1280024002f21..."} 
[2026-07-01 12:10:36] local.INFO: Packet analysis {"connection_id":119754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c64"} 
[2026-07-01 12:10:36] local.INFO: Extracted packet for processing {"connection_id":119754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c64"} 
[2026-07-01 12:10:36] local.INFO: GPS Element Parsed {"raw_longitude":753629696,"raw_latitude":118735144,"longitude_deg":75.3629696,"latitude_deg":11.8735144,"altitude":36,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2ceb7a00","hex_latitude":"0713c128","is_valid_coordinates":true} 
[2026-07-01 12:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419196160001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314025087565824,"note":"Value kept but may cause issues"} 
[2026-07-01 12:10:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478869497241589760,"note":"Value kept but may cause issues"} 
[2026-07-01 12:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782887786000,"timestamp_ms":1782887786000,"timestamp_seconds":1782887786,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c64a610"} 
[2026-07-01 12:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 12:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-01 12:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:10:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":119754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":119754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":119754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:10:36] local.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-01 12:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419196160001,"66":25875,"3":206,"83":41472,"24":0,"16":333314025087565824,"44":-1478869497241589760},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-07-01 12:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419196160001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:10:36] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-01 12:10:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314025087565824,"km_value":333314025087565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:10:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478869497241589760,"description":"Unknown IO ID 44"} 
[2026-07-01 12:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419196160001,"power":25875,"unknown_3":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478869497241589760}} 
[2026-07-01 12:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":119754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:10:36] local.INFO: GPS data processed {"connection_id":119754,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:10:36] local.INFO: Acknowledgment sent {"connection_id":119754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:11:21] local.INFO: TCP Data received {"connection_id":118961,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:11:21] local.INFO: Processing buffer {"connection_id":118961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:11:21] local.INFO: IMEI packet received {"connection_id":118961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 12:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":118961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:11:26] local.INFO: TCP Data received {"connection_id":118961,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:11:26] local.INFO: Processing buffer {"connection_id":118961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:11:26] local.INFO: IMEI packet received {"connection_id":118961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":118961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:11:27] local.INFO: TCP Data received {"connection_id":118961,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c64a610012ceb7a000713c1280024002f21..."} 
[2026-07-01 12:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c64a610012ceb7a000713c1280024002f21..."} 
[2026-07-01 12:11:27] local.INFO: Processing buffer {"connection_id":118961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c64a610012ceb7a000713c1280024002f21..."} 
[2026-07-01 12:11:27] local.INFO: Packet analysis {"connection_id":118961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c64"} 
[2026-07-01 12:11:27] local.INFO: Extracted packet for processing {"connection_id":118961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c64"} 
[2026-07-01 12:11:27] local.INFO: GPS Element Parsed {"raw_longitude":753629696,"raw_latitude":118735144,"longitude_deg":75.3629696,"latitude_deg":11.8735144,"altitude":36,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2ceb7a00","hex_latitude":"0713c128","is_valid_coordinates":true} 
[2026-07-01 12:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419196160001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314025087565824,"note":"Value kept but may cause issues"} 
[2026-07-01 12:11:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478869497241589760,"note":"Value kept but may cause issues"} 
[2026-07-01 12:11:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782887786000,"timestamp_ms":1782887786000,"timestamp_seconds":1782887786,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c64a610"} 
[2026-07-01 12:11:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:11:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 12:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-01 12:11:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:11:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:11:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:11:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419196160001,"66":25875,"3":206,"83":41472,"24":0,"16":333314025087565824,"44":-1478869497241589760},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-07-01 12:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419196160001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:11:27] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-01 12:11:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314025087565824,"km_value":333314025087565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:11:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478869497241589760,"description":"Unknown IO ID 44"} 
[2026-07-01 12:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419196160001,"power":25875,"unknown_3":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478869497241589760}} 
[2026-07-01 12:11:27] local.INFO: DEBUG: GPS processor result {"connection_id":118961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:11:27] local.INFO: GPS data processed {"connection_id":118961,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:11:27] local.INFO: Acknowledgment sent {"connection_id":118961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:11:58] local.INFO: TCP Data received {"connection_id":118961,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c64a610012ceb7a000713c1280024002f21..."} 
[2026-07-01 12:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c64a610012ceb7a000713c1280024002f21..."} 
[2026-07-01 12:11:58] local.INFO: Processing buffer {"connection_id":118961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c64a610012ceb7a000713c1280024002f21..."} 
[2026-07-01 12:11:58] local.INFO: Packet analysis {"connection_id":118961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c64"} 
[2026-07-01 12:11:58] local.INFO: Extracted packet for processing {"connection_id":118961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c64"} 
[2026-07-01 12:11:58] local.INFO: GPS Element Parsed {"raw_longitude":753629696,"raw_latitude":118735144,"longitude_deg":75.3629696,"latitude_deg":11.8735144,"altitude":36,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2ceb7a00","hex_latitude":"0713c128","is_valid_coordinates":true} 
[2026-07-01 12: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-01 12:11:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419196160001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:11:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314025087565824,"note":"Value kept but may cause issues"} 
[2026-07-01 12:11:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478869497241589760,"note":"Value kept but may cause issues"} 
[2026-07-01 12:11:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:11:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782887786000,"timestamp_ms":1782887786000,"timestamp_seconds":1782887786,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c64a610"} 
[2026-07-01 12: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-01 12:11:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 12: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-01 12:11:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12: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-01 12: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-01 12:11:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:11:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:11:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:11:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:11:58] local.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-01 12:11:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:11:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:11:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419196160001,"66":25875,"3":206,"83":41472,"24":0,"16":333314025087565824,"44":-1478869497241589760},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-07-01 12:11:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:11:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:11:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419196160001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:11:58] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-01 12:11:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:11:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314025087565824,"km_value":333314025087565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:11:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478869497241589760,"description":"Unknown IO ID 44"} 
[2026-07-01 12:11:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419196160001,"power":25875,"unknown_3":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478869497241589760}} 
[2026-07-01 12:11:58] local.INFO: DEBUG: GPS processor result {"connection_id":118961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:11:58] local.INFO: GPS data processed {"connection_id":118961,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:11:58] local.INFO: Acknowledgment sent {"connection_id":118961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:12:20] local.INFO: TCP Data received {"connection_id":119755,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:12:20] local.INFO: Processing buffer {"connection_id":119755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:12:20] local.INFO: IMEI packet received {"connection_id":119755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 12:12:20] local.INFO: IMEI acknowledgment sent {"connection_id":119755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:12:26] local.INFO: TCP Data received {"connection_id":119755,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:12:26] local.INFO: Processing buffer {"connection_id":119755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:12:26] local.INFO: IMEI packet received {"connection_id":119755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":119755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:12:27] local.INFO: TCP Data received {"connection_id":119755,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c693dd8012ceb7a000713c1280024002f27..."} 
[2026-07-01 12:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c693dd8012ceb7a000713c1280024002f27..."} 
[2026-07-01 12:12:27] local.INFO: Processing buffer {"connection_id":119755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c693dd8012ceb7a000713c1280024002f27..."} 
[2026-07-01 12:12:27] local.INFO: Packet analysis {"connection_id":119755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c69"} 
[2026-07-01 12:12:27] local.INFO: Extracted packet for processing {"connection_id":119755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c69"} 
[2026-07-01 12:12:27] local.INFO: GPS Element Parsed {"raw_longitude":753629696,"raw_latitude":118735144,"longitude_deg":75.3629696,"latitude_deg":11.8735144,"altitude":36,"angle":47,"satellites":39,"speed":0,"hex_longitude":"2ceb7a00","hex_latitude":"0713c128","is_valid_coordinates":true} 
[2026-07-01 12:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:12:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419273216001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:12:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314025087565824,"note":"Value kept but may cause issues"} 
[2026-07-01 12:12:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478869497241589760,"note":"Value kept but may cause issues"} 
[2026-07-01 12:12:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:12:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782888087000,"timestamp_ms":1782888087000,"timestamp_seconds":1782888087,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c693dd8"} 
[2026-07-01 12:12:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:12:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 12:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-01 12:12:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:12:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:12:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:12:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:12:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419273216001,"66":25843,"3":206,"83":41472,"24":0,"16":333314025087565824,"44":-1478869497241589760},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-07-01 12:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419273216001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:12:27] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-01 12:12:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314025087565824,"km_value":333314025087565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:12:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478869497241589760,"description":"Unknown IO ID 44"} 
[2026-07-01 12:12:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419273216001,"power":25843,"unknown_3":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478869497241589760}} 
[2026-07-01 12:12:27] local.INFO: DEBUG: GPS processor result {"connection_id":119755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:12:27] local.INFO: GPS data processed {"connection_id":119755,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:12:27] local.INFO: Acknowledgment sent {"connection_id":119755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:12:51] local.INFO: TCP Data received {"connection_id":118962,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118962,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:12:51] local.INFO: Processing buffer {"connection_id":118962,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:12:51] local.INFO: IMEI packet received {"connection_id":118962,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 12:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":118962,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:12:58] local.INFO: TCP Data received {"connection_id":119755,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c693dd8012ceb7a000713c1280024002f27..."} 
[2026-07-01 12:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c693dd8012ceb7a000713c1280024002f27..."} 
[2026-07-01 12:12:58] local.INFO: Processing buffer {"connection_id":119755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c693dd8012ceb7a000713c1280024002f27..."} 
[2026-07-01 12:12:58] local.INFO: Packet analysis {"connection_id":119755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c69"} 
[2026-07-01 12:12:58] local.INFO: Extracted packet for processing {"connection_id":119755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c69"} 
[2026-07-01 12:12:58] local.INFO: GPS Element Parsed {"raw_longitude":753629696,"raw_latitude":118735144,"longitude_deg":75.3629696,"latitude_deg":11.8735144,"altitude":36,"angle":47,"satellites":39,"speed":0,"hex_longitude":"2ceb7a00","hex_latitude":"0713c128","is_valid_coordinates":true} 
[2026-07-01 12: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-01 12:12:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419273216001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:12:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314025087565824,"note":"Value kept but may cause issues"} 
[2026-07-01 12:12:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478869497241589760,"note":"Value kept but may cause issues"} 
[2026-07-01 12:12:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:12:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782888087000,"timestamp_ms":1782888087000,"timestamp_seconds":1782888087,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c693dd8"} 
[2026-07-01 12: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-01 12:12:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 12: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-01 12:12:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12: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-01 12: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-01 12:12:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:12:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:12:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:12:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:12:58] local.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-01 12:12:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:12:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:12:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419273216001,"66":25843,"3":206,"83":41472,"24":0,"16":333314025087565824,"44":-1478869497241589760},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-07-01 12:12:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:12:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:12:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419273216001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:12:58] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-01 12:12:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:12:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314025087565824,"km_value":333314025087565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:12:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478869497241589760,"description":"Unknown IO ID 44"} 
[2026-07-01 12:12:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419273216001,"power":25843,"unknown_3":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478869497241589760}} 
[2026-07-01 12:12:58] local.INFO: DEBUG: GPS processor result {"connection_id":119755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:12:58] local.INFO: GPS data processed {"connection_id":119755,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:12:58] local.INFO: Acknowledgment sent {"connection_id":119755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:13:20] local.INFO: TCP Data received {"connection_id":120842,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:13:20] local.INFO: Processing buffer {"connection_id":120842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:13:20] local.INFO: IMEI packet received {"connection_id":120842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 12:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":120842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:13:21] local.INFO: TCP Data received {"connection_id":118963,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118963,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:13:21] local.INFO: Processing buffer {"connection_id":118963,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:13:21] local.INFO: IMEI packet received {"connection_id":118963,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 12:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":118963,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:13:26] local.INFO: TCP Data received {"connection_id":120842,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:13:26] local.INFO: Processing buffer {"connection_id":120842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:13:26] local.INFO: IMEI packet received {"connection_id":120842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":120842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:13:27] local.INFO: TCP Data received {"connection_id":120842,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c693dd8012ceb7a000713c1280024002f27..."} 
[2026-07-01 12:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c693dd8012ceb7a000713c1280024002f27..."} 
[2026-07-01 12:13:27] local.INFO: Processing buffer {"connection_id":120842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c693dd8012ceb7a000713c1280024002f27..."} 
[2026-07-01 12:13:27] local.INFO: Packet analysis {"connection_id":120842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c69"} 
[2026-07-01 12:13:27] local.INFO: Extracted packet for processing {"connection_id":120842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c69"} 
[2026-07-01 12:13:27] local.INFO: GPS Element Parsed {"raw_longitude":753629696,"raw_latitude":118735144,"longitude_deg":75.3629696,"latitude_deg":11.8735144,"altitude":36,"angle":47,"satellites":39,"speed":0,"hex_longitude":"2ceb7a00","hex_latitude":"0713c128","is_valid_coordinates":true} 
[2026-07-01 12:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419273216001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314025087565824,"note":"Value kept but may cause issues"} 
[2026-07-01 12:13:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478869497241589760,"note":"Value kept but may cause issues"} 
[2026-07-01 12:13:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782888087000,"timestamp_ms":1782888087000,"timestamp_seconds":1782888087,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c693dd8"} 
[2026-07-01 12:13:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:13:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 12:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-01 12:13:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:13:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:13:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:13:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419273216001,"66":25843,"3":206,"83":41472,"24":0,"16":333314025087565824,"44":-1478869497241589760},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-07-01 12:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419273216001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:13:27] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-01 12:13:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314025087565824,"km_value":333314025087565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:13:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478869497241589760,"description":"Unknown IO ID 44"} 
[2026-07-01 12:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419273216001,"power":25843,"unknown_3":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478869497241589760}} 
[2026-07-01 12:13:27] local.INFO: DEBUG: GPS processor result {"connection_id":120842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:13:27] local.INFO: GPS data processed {"connection_id":120842,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:13:27] local.INFO: Acknowledgment sent {"connection_id":120842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:13:58] local.INFO: TCP Data received {"connection_id":120842,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c693dd8012ceb7a000713c1280024002f27..."} 
[2026-07-01 12:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c693dd8012ceb7a000713c1280024002f27..."} 
[2026-07-01 12:13:58] local.INFO: Processing buffer {"connection_id":120842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c693dd8012ceb7a000713c1280024002f27..."} 
[2026-07-01 12:13:58] local.INFO: Packet analysis {"connection_id":120842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c69"} 
[2026-07-01 12:13:58] local.INFO: Extracted packet for processing {"connection_id":120842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c69"} 
[2026-07-01 12:13:58] local.INFO: GPS Element Parsed {"raw_longitude":753629696,"raw_latitude":118735144,"longitude_deg":75.3629696,"latitude_deg":11.8735144,"altitude":36,"angle":47,"satellites":39,"speed":0,"hex_longitude":"2ceb7a00","hex_latitude":"0713c128","is_valid_coordinates":true} 
[2026-07-01 12:13:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:13:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419273216001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:13:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314025087565824,"note":"Value kept but may cause issues"} 
[2026-07-01 12:13:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478869497241589760,"note":"Value kept but may cause issues"} 
[2026-07-01 12:13:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:13:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782888087000,"timestamp_ms":1782888087000,"timestamp_seconds":1782888087,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c693dd8"} 
[2026-07-01 12:13:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:13:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 12:13:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-01 12:13:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:13:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:13:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:13:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:13:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:13:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:13:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:13:58] local.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-01 12:13:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:13:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:13:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419273216001,"66":25843,"3":206,"83":41472,"24":0,"16":333314025087565824,"44":-1478869497241589760},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-07-01 12:13:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:13:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:13:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419273216001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:13:58] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-01 12:13:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:13:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314025087565824,"km_value":333314025087565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:13:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478869497241589760,"description":"Unknown IO ID 44"} 
[2026-07-01 12:13:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419273216001,"power":25843,"unknown_3":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478869497241589760}} 
[2026-07-01 12:13:58] local.INFO: DEBUG: GPS processor result {"connection_id":120842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:13:58] local.INFO: GPS data processed {"connection_id":120842,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:13:58] local.INFO: Acknowledgment sent {"connection_id":120842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:14:20] local.INFO: TCP Data received {"connection_id":118964,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:14:20] local.INFO: Processing buffer {"connection_id":118964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:14:20] local.INFO: IMEI packet received {"connection_id":118964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 12:14:20] local.INFO: IMEI acknowledgment sent {"connection_id":118964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:14:26] local.INFO: TCP Data received {"connection_id":118964,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:14:26] local.INFO: Processing buffer {"connection_id":118964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:14:26] local.INFO: IMEI packet received {"connection_id":118964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":118964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:14:27] local.INFO: TCP Data received {"connection_id":118964,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c693dd8012ceb7a000713c1280024002f27..."} 
[2026-07-01 12:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c693dd8012ceb7a000713c1280024002f27..."} 
[2026-07-01 12:14:27] local.INFO: Processing buffer {"connection_id":118964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c693dd8012ceb7a000713c1280024002f27..."} 
[2026-07-01 12:14:27] local.INFO: Packet analysis {"connection_id":118964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c69"} 
[2026-07-01 12:14:27] local.INFO: Extracted packet for processing {"connection_id":118964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c69"} 
[2026-07-01 12:14:27] local.INFO: GPS Element Parsed {"raw_longitude":753629696,"raw_latitude":118735144,"longitude_deg":75.3629696,"latitude_deg":11.8735144,"altitude":36,"angle":47,"satellites":39,"speed":0,"hex_longitude":"2ceb7a00","hex_latitude":"0713c128","is_valid_coordinates":true} 
[2026-07-01 12:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419273216001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314025087565824,"note":"Value kept but may cause issues"} 
[2026-07-01 12:14:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478869497241589760,"note":"Value kept but may cause issues"} 
[2026-07-01 12:14:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782888087000,"timestamp_ms":1782888087000,"timestamp_seconds":1782888087,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c693dd8"} 
[2026-07-01 12:14:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:14:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 12:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-01 12:14:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:14:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:14:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:14:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419273216001,"66":25843,"3":206,"83":41472,"24":0,"16":333314025087565824,"44":-1478869497241589760},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-07-01 12:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419273216001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:14:27] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-01 12:14:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314025087565824,"km_value":333314025087565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:14:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478869497241589760,"description":"Unknown IO ID 44"} 
[2026-07-01 12:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419273216001,"power":25843,"unknown_3":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478869497241589760}} 
[2026-07-01 12:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":118964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:14:27] local.INFO: GPS data processed {"connection_id":118964,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:14:27] local.INFO: Acknowledgment sent {"connection_id":118964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:14:58] local.INFO: TCP Data received {"connection_id":118964,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c693dd8012ceb7a000713c1280024002f27..."} 
[2026-07-01 12:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c693dd8012ceb7a000713c1280024002f27..."} 
[2026-07-01 12:14:58] local.INFO: Processing buffer {"connection_id":118964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c693dd8012ceb7a000713c1280024002f27..."} 
[2026-07-01 12:14:58] local.INFO: Packet analysis {"connection_id":118964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c69"} 
[2026-07-01 12:14:58] local.INFO: Extracted packet for processing {"connection_id":118964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c69"} 
[2026-07-01 12:14:58] local.INFO: GPS Element Parsed {"raw_longitude":753629696,"raw_latitude":118735144,"longitude_deg":75.3629696,"latitude_deg":11.8735144,"altitude":36,"angle":47,"satellites":39,"speed":0,"hex_longitude":"2ceb7a00","hex_latitude":"0713c128","is_valid_coordinates":true} 
[2026-07-01 12:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419273216001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314025087565824,"note":"Value kept but may cause issues"} 
[2026-07-01 12:14:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478869497241589760,"note":"Value kept but may cause issues"} 
[2026-07-01 12:14:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782888087000,"timestamp_ms":1782888087000,"timestamp_seconds":1782888087,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c693dd8"} 
[2026-07-01 12:14:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:14:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 12:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-01 12:14:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:14:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:14:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:14: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-01 12:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419273216001,"66":25843,"3":206,"83":41472,"24":0,"16":333314025087565824,"44":-1478869497241589760},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-07-01 12:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419273216001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:14:58] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-01 12:14:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314025087565824,"km_value":333314025087565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:14:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478869497241589760,"description":"Unknown IO ID 44"} 
[2026-07-01 12:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419273216001,"power":25843,"unknown_3":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478869497241589760}} 
[2026-07-01 12:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":118964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:14:58] local.INFO: GPS data processed {"connection_id":118964,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:14:58] local.INFO: Acknowledgment sent {"connection_id":118964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:15:26] local.INFO: TCP Data received {"connection_id":119757,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:15:26] local.INFO: Processing buffer {"connection_id":119757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:15:26] local.INFO: IMEI packet received {"connection_id":119757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 12:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":119757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:15:31] local.INFO: TCP Data received {"connection_id":119757,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:15:31] local.INFO: Processing buffer {"connection_id":119757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:15:31] local.INFO: IMEI packet received {"connection_id":119757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":119757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:15:32] local.INFO: TCP Data received {"connection_id":119757,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c693dd8012ceb7a000713c1280024002f27..."} 
[2026-07-01 12:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c693dd8012ceb7a000713c1280024002f27..."} 
[2026-07-01 12:15:32] local.INFO: Processing buffer {"connection_id":119757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c693dd8012ceb7a000713c1280024002f27..."} 
[2026-07-01 12:15:32] local.INFO: Packet analysis {"connection_id":119757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c69"} 
[2026-07-01 12:15:32] local.INFO: Extracted packet for processing {"connection_id":119757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c69"} 
[2026-07-01 12:15:32] local.INFO: GPS Element Parsed {"raw_longitude":753629696,"raw_latitude":118735144,"longitude_deg":75.3629696,"latitude_deg":11.8735144,"altitude":36,"angle":47,"satellites":39,"speed":0,"hex_longitude":"2ceb7a00","hex_latitude":"0713c128","is_valid_coordinates":true} 
[2026-07-01 12:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419273216001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314025087565824,"note":"Value kept but may cause issues"} 
[2026-07-01 12:15:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478869497241589760,"note":"Value kept but may cause issues"} 
[2026-07-01 12:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782888087000,"timestamp_ms":1782888087000,"timestamp_seconds":1782888087,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c693dd8"} 
[2026-07-01 12:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:15:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 12:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-01 12:15:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:15:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":119757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":119757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":119757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419273216001,"66":25843,"3":206,"83":41472,"24":0,"16":333314025087565824,"44":-1478869497241589760},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-07-01 12:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419273216001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:15:32] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-01 12:15:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314025087565824,"km_value":333314025087565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:15:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478869497241589760,"description":"Unknown IO ID 44"} 
[2026-07-01 12:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419273216001,"power":25843,"unknown_3":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478869497241589760}} 
[2026-07-01 12:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":119757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:15:32] local.INFO: GPS data processed {"connection_id":119757,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:15:32] local.INFO: Acknowledgment sent {"connection_id":119757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:15:36] local.INFO: TCP Data received {"connection_id":119757,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c693dd8012ceb7a000713c1280024002f27..."} 
[2026-07-01 12:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c693dd8012ceb7a000713c1280024002f27..."} 
[2026-07-01 12:15:36] local.INFO: Processing buffer {"connection_id":119757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c693dd8012ceb7a000713c1280024002f27..."} 
[2026-07-01 12:15:36] local.INFO: Packet analysis {"connection_id":119757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c69"} 
[2026-07-01 12:15:36] local.INFO: Extracted packet for processing {"connection_id":119757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c69"} 
[2026-07-01 12:15:36] local.INFO: GPS Element Parsed {"raw_longitude":753629696,"raw_latitude":118735144,"longitude_deg":75.3629696,"latitude_deg":11.8735144,"altitude":36,"angle":47,"satellites":39,"speed":0,"hex_longitude":"2ceb7a00","hex_latitude":"0713c128","is_valid_coordinates":true} 
[2026-07-01 12:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419273216001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314025087565824,"note":"Value kept but may cause issues"} 
[2026-07-01 12:15:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478869497241589760,"note":"Value kept but may cause issues"} 
[2026-07-01 12:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782888087000,"timestamp_ms":1782888087000,"timestamp_seconds":1782888087,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c693dd8"} 
[2026-07-01 12:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 12:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-01 12:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":119757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":119757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":119757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419273216001,"66":25843,"3":206,"83":41472,"24":0,"16":333314025087565824,"44":-1478869497241589760},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-07-01 12:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419273216001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:15:36] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-01 12:15:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314025087565824,"km_value":333314025087565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:15:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478869497241589760,"description":"Unknown IO ID 44"} 
[2026-07-01 12:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419273216001,"power":25843,"unknown_3":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478869497241589760}} 
[2026-07-01 12:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":119757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:15:36] local.INFO: GPS data processed {"connection_id":119757,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:15:36] local.INFO: Acknowledgment sent {"connection_id":119757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:16:21] local.INFO: TCP Data received {"connection_id":118966,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:16:21] local.INFO: Processing buffer {"connection_id":118966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:16:21] local.INFO: IMEI packet received {"connection_id":118966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 12:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":118966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:16:26] local.INFO: TCP Data received {"connection_id":118966,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:16:26] local.INFO: Processing buffer {"connection_id":118966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:16:26] local.INFO: IMEI packet received {"connection_id":118966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":118966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:16:27] local.INFO: TCP Data received {"connection_id":118966,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c693dd8012ceb7a000713c1280024002f27..."} 
[2026-07-01 12:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c693dd8012ceb7a000713c1280024002f27..."} 
[2026-07-01 12:16:27] local.INFO: Processing buffer {"connection_id":118966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c693dd8012ceb7a000713c1280024002f27..."} 
[2026-07-01 12:16:27] local.INFO: Packet analysis {"connection_id":118966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c69"} 
[2026-07-01 12:16:27] local.INFO: Extracted packet for processing {"connection_id":118966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c69"} 
[2026-07-01 12:16:27] local.INFO: GPS Element Parsed {"raw_longitude":753629696,"raw_latitude":118735144,"longitude_deg":75.3629696,"latitude_deg":11.8735144,"altitude":36,"angle":47,"satellites":39,"speed":0,"hex_longitude":"2ceb7a00","hex_latitude":"0713c128","is_valid_coordinates":true} 
[2026-07-01 12:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419273216001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314025087565824,"note":"Value kept but may cause issues"} 
[2026-07-01 12:16:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478869497241589760,"note":"Value kept but may cause issues"} 
[2026-07-01 12:16:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782888087000,"timestamp_ms":1782888087000,"timestamp_seconds":1782888087,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c693dd8"} 
[2026-07-01 12:16:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:16:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 12:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-01 12:16:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:16:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:16:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:16:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419273216001,"66":25843,"3":206,"83":41472,"24":0,"16":333314025087565824,"44":-1478869497241589760},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-07-01 12:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419273216001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:16:27] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-01 12:16:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314025087565824,"km_value":333314025087565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:16:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478869497241589760,"description":"Unknown IO ID 44"} 
[2026-07-01 12:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419273216001,"power":25843,"unknown_3":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478869497241589760}} 
[2026-07-01 12:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":118966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:16:27] local.INFO: GPS data processed {"connection_id":118966,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:16:27] local.INFO: Acknowledgment sent {"connection_id":118966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:16:58] local.INFO: TCP Data received {"connection_id":118966,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c693dd8012ceb7a000713c1280024002f27..."} 
[2026-07-01 12:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c693dd8012ceb7a000713c1280024002f27..."} 
[2026-07-01 12:16:58] local.INFO: Processing buffer {"connection_id":118966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c693dd8012ceb7a000713c1280024002f27..."} 
[2026-07-01 12:16:58] local.INFO: Packet analysis {"connection_id":118966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c69"} 
[2026-07-01 12:16:58] local.INFO: Extracted packet for processing {"connection_id":118966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c69"} 
[2026-07-01 12:16:58] local.INFO: GPS Element Parsed {"raw_longitude":753629696,"raw_latitude":118735144,"longitude_deg":75.3629696,"latitude_deg":11.8735144,"altitude":36,"angle":47,"satellites":39,"speed":0,"hex_longitude":"2ceb7a00","hex_latitude":"0713c128","is_valid_coordinates":true} 
[2026-07-01 12: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-01 12:16:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419273216001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:16:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314025087565824,"note":"Value kept but may cause issues"} 
[2026-07-01 12:16:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478869497241589760,"note":"Value kept but may cause issues"} 
[2026-07-01 12:16:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:16:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782888087000,"timestamp_ms":1782888087000,"timestamp_seconds":1782888087,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c693dd8"} 
[2026-07-01 12: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-01 12:16:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 12: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-01 12:16:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12: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-01 12: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-01 12:16:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:16:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:16:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:16:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:16:58] 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-01 12:16:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:16:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:16:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419273216001,"66":25843,"3":206,"83":41472,"24":0,"16":333314025087565824,"44":-1478869497241589760},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-07-01 12:16:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:16:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:16:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419273216001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:16:58] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-01 12:16:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:16:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314025087565824,"km_value":333314025087565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:16:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478869497241589760,"description":"Unknown IO ID 44"} 
[2026-07-01 12:16:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419273216001,"power":25843,"unknown_3":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478869497241589760}} 
[2026-07-01 12:16:58] local.INFO: DEBUG: GPS processor result {"connection_id":118966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:16:58] local.INFO: GPS data processed {"connection_id":118966,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:16:58] local.INFO: Acknowledgment sent {"connection_id":118966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:17:20] local.INFO: TCP Data received {"connection_id":119089,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:17:20] local.INFO: Processing buffer {"connection_id":119089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:17:20] local.INFO: IMEI packet received {"connection_id":119089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 12:17:20] local.INFO: IMEI acknowledgment sent {"connection_id":119089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:17:25] local.INFO: TCP Data received {"connection_id":119089,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:17:25] local.INFO: Processing buffer {"connection_id":119089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:17:25] local.INFO: IMEI packet received {"connection_id":119089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":119089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:17:26] local.INFO: TCP Data received {"connection_id":119089,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c6dd5a0012ceb7a000713c128000a002f26..."} 
[2026-07-01 12:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c6dd5a0012ceb7a000713c128000a002f26..."} 
[2026-07-01 12:17:26] local.INFO: Processing buffer {"connection_id":119089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c6dd5a0012ceb7a000713c128000a002f26..."} 
[2026-07-01 12:17:26] local.INFO: Packet analysis {"connection_id":119089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c6d"} 
[2026-07-01 12:17:26] local.INFO: Extracted packet for processing {"connection_id":119089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c6d"} 
[2026-07-01 12:17:26] local.INFO: GPS Element Parsed {"raw_longitude":753629696,"raw_latitude":118735144,"longitude_deg":75.3629696,"latitude_deg":11.8735144,"altitude":10,"angle":47,"satellites":38,"speed":0,"hex_longitude":"2ceb7a00","hex_latitude":"0713c128","is_valid_coordinates":true} 
[2026-07-01 12:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:17:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419350272001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:17:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314025087565824,"note":"Value kept but may cause issues"} 
[2026-07-01 12:17:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478869497241589760,"note":"Value kept but may cause issues"} 
[2026-07-01 12:17:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:17:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782888388000,"timestamp_ms":1782888388000,"timestamp_seconds":1782888388,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c6dd5a0"} 
[2026-07-01 12:17:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:17:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 12:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-01 12:17:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:17:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:17:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:17:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:17:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:17:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:17:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:17:26] 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-01 12:17:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:17:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:17:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419350272001,"66":25712,"3":206,"83":41472,"24":0,"16":333314025087565824,"44":-1478869497241589760},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-07-01 12:17:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:17:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:17:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419350272001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:17:26] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-01 12:17:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:17:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314025087565824,"km_value":333314025087565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:17:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478869497241589760,"description":"Unknown IO ID 44"} 
[2026-07-01 12:17:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419350272001,"power":25712,"unknown_3":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478869497241589760}} 
[2026-07-01 12:17:26] local.INFO: DEBUG: GPS processor result {"connection_id":119089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:17:26] local.INFO: GPS data processed {"connection_id":119089,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:17:26] local.INFO: Acknowledgment sent {"connection_id":119089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:17:57] local.INFO: TCP Data received {"connection_id":119089,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c6dd5a0012ceb7a000713c128000a002f26..."} 
[2026-07-01 12:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c6dd5a0012ceb7a000713c128000a002f26..."} 
[2026-07-01 12:17:57] local.INFO: Processing buffer {"connection_id":119089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c6dd5a0012ceb7a000713c128000a002f26..."} 
[2026-07-01 12:17:57] local.INFO: Packet analysis {"connection_id":119089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c6d"} 
[2026-07-01 12:17:57] local.INFO: Extracted packet for processing {"connection_id":119089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c6d"} 
[2026-07-01 12:17:57] local.INFO: GPS Element Parsed {"raw_longitude":753629696,"raw_latitude":118735144,"longitude_deg":75.3629696,"latitude_deg":11.8735144,"altitude":10,"angle":47,"satellites":38,"speed":0,"hex_longitude":"2ceb7a00","hex_latitude":"0713c128","is_valid_coordinates":true} 
[2026-07-01 12:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:17:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419350272001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:17:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314025087565824,"note":"Value kept but may cause issues"} 
[2026-07-01 12:17:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478869497241589760,"note":"Value kept but may cause issues"} 
[2026-07-01 12:17:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:17:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782888388000,"timestamp_ms":1782888388000,"timestamp_seconds":1782888388,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c6dd5a0"} 
[2026-07-01 12:17:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:17:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 12:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-01 12:17:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:17:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:17:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:17:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:17:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:17:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:17:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:17:57] 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-01 12:17:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:17:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:17:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419350272001,"66":25712,"3":206,"83":41472,"24":0,"16":333314025087565824,"44":-1478869497241589760},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-07-01 12:17:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:17:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:17:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419350272001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:17:57] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-01 12:17:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:17:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314025087565824,"km_value":333314025087565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:17:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478869497241589760,"description":"Unknown IO ID 44"} 
[2026-07-01 12:17:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419350272001,"power":25712,"unknown_3":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478869497241589760}} 
[2026-07-01 12:17:57] local.INFO: DEBUG: GPS processor result {"connection_id":119089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:17:57] local.INFO: GPS data processed {"connection_id":119089,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:17:57] local.INFO: Acknowledgment sent {"connection_id":119089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:18:20] local.INFO: TCP Data received {"connection_id":120846,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:18:20] local.INFO: Processing buffer {"connection_id":120846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:18:20] local.INFO: IMEI packet received {"connection_id":120846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 12:18:20] local.INFO: IMEI acknowledgment sent {"connection_id":120846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:18:26] local.INFO: TCP Data received {"connection_id":120846,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:18:26] local.INFO: Processing buffer {"connection_id":120846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:18:26] local.INFO: IMEI packet received {"connection_id":120846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":120846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:18:30] local.INFO: TCP Data received {"connection_id":120846,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c6dd5a0012ceb7a000713c128000a002f26..."} 
[2026-07-01 12:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c6dd5a0012ceb7a000713c128000a002f26..."} 
[2026-07-01 12:18:30] local.INFO: Processing buffer {"connection_id":120846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c6dd5a0012ceb7a000713c128000a002f26..."} 
[2026-07-01 12:18:30] local.INFO: Packet analysis {"connection_id":120846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c6d"} 
[2026-07-01 12:18:30] local.INFO: Extracted packet for processing {"connection_id":120846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c6d"} 
[2026-07-01 12:18:30] local.INFO: GPS Element Parsed {"raw_longitude":753629696,"raw_latitude":118735144,"longitude_deg":75.3629696,"latitude_deg":11.8735144,"altitude":10,"angle":47,"satellites":38,"speed":0,"hex_longitude":"2ceb7a00","hex_latitude":"0713c128","is_valid_coordinates":true} 
[2026-07-01 12:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419350272001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314025087565824,"note":"Value kept but may cause issues"} 
[2026-07-01 12:18:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478869497241589760,"note":"Value kept but may cause issues"} 
[2026-07-01 12:18:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782888388000,"timestamp_ms":1782888388000,"timestamp_seconds":1782888388,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c6dd5a0"} 
[2026-07-01 12:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:18:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 12:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-01 12:18:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:18:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":120846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":120846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":120846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:18:30] 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-01 12:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419350272001,"66":25712,"3":206,"83":41472,"24":0,"16":333314025087565824,"44":-1478869497241589760},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-07-01 12:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419350272001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:18:30] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-01 12:18:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314025087565824,"km_value":333314025087565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:18:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478869497241589760,"description":"Unknown IO ID 44"} 
[2026-07-01 12:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419350272001,"power":25712,"unknown_3":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478869497241589760}} 
[2026-07-01 12:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":120846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:18:30] local.INFO: GPS data processed {"connection_id":120846,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:18:30] local.INFO: Acknowledgment sent {"connection_id":120846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:18:51] local.INFO: TCP Data received {"connection_id":120845,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120845,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:18:51] local.INFO: Processing buffer {"connection_id":120845,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:18:51] local.INFO: IMEI packet received {"connection_id":120845,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 12:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":120845,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:19:01] local.INFO: TCP Data received {"connection_id":120846,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c6dd5a0012ceb7a000713c128000a002f26..."} 
[2026-07-01 12:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c6dd5a0012ceb7a000713c128000a002f26..."} 
[2026-07-01 12:19:01] local.INFO: Processing buffer {"connection_id":120846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c6dd5a0012ceb7a000713c128000a002f26..."} 
[2026-07-01 12:19:01] local.INFO: Packet analysis {"connection_id":120846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c6d"} 
[2026-07-01 12:19:01] local.INFO: Extracted packet for processing {"connection_id":120846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c6d"} 
[2026-07-01 12:19:01] local.INFO: GPS Element Parsed {"raw_longitude":753629696,"raw_latitude":118735144,"longitude_deg":75.3629696,"latitude_deg":11.8735144,"altitude":10,"angle":47,"satellites":38,"speed":0,"hex_longitude":"2ceb7a00","hex_latitude":"0713c128","is_valid_coordinates":true} 
[2026-07-01 12:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419350272001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314025087565824,"note":"Value kept but may cause issues"} 
[2026-07-01 12:19:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478869497241589760,"note":"Value kept but may cause issues"} 
[2026-07-01 12:19:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782888388000,"timestamp_ms":1782888388000,"timestamp_seconds":1782888388,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c6dd5a0"} 
[2026-07-01 12:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:19:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 12:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-01 12:19:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:19:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":120846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":120846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":120846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:19:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419350272001,"66":25712,"3":206,"83":41472,"24":0,"16":333314025087565824,"44":-1478869497241589760},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-07-01 12:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419350272001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:19:01] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-01 12:19:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314025087565824,"km_value":333314025087565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:19:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478869497241589760,"description":"Unknown IO ID 44"} 
[2026-07-01 12:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419350272001,"power":25712,"unknown_3":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478869497241589760}} 
[2026-07-01 12:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":120846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:19:01] local.INFO: GPS data processed {"connection_id":120846,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:19:01] local.INFO: Acknowledgment sent {"connection_id":120846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:19:15] local.INFO: TCP Data received {"connection_id":119758,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119758,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:19:15] local.INFO: Processing buffer {"connection_id":119758,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:19:15] local.INFO: IMEI packet received {"connection_id":119758,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 12:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":119758,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:19:26] local.INFO: TCP Data received {"connection_id":119759,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:19:26] local.INFO: Processing buffer {"connection_id":119759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:19:26] local.INFO: IMEI packet received {"connection_id":119759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 12:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":119759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:19:31] local.INFO: TCP Data received {"connection_id":119759,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:19:31] local.INFO: Processing buffer {"connection_id":119759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:19:31] local.INFO: IMEI packet received {"connection_id":119759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":119759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:19:32] local.INFO: TCP Data received {"connection_id":119759,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c6dd5a0012ceb7a000713c128000a002f26..."} 
[2026-07-01 12:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c6dd5a0012ceb7a000713c128000a002f26..."} 
[2026-07-01 12:19:32] local.INFO: Processing buffer {"connection_id":119759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c6dd5a0012ceb7a000713c128000a002f26..."} 
[2026-07-01 12:19:32] local.INFO: Packet analysis {"connection_id":119759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c6d"} 
[2026-07-01 12:19:32] local.INFO: Extracted packet for processing {"connection_id":119759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c6d"} 
[2026-07-01 12:19:32] local.INFO: GPS Element Parsed {"raw_longitude":753629696,"raw_latitude":118735144,"longitude_deg":75.3629696,"latitude_deg":11.8735144,"altitude":10,"angle":47,"satellites":38,"speed":0,"hex_longitude":"2ceb7a00","hex_latitude":"0713c128","is_valid_coordinates":true} 
[2026-07-01 12:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419350272001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314025087565824,"note":"Value kept but may cause issues"} 
[2026-07-01 12:19:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478869497241589760,"note":"Value kept but may cause issues"} 
[2026-07-01 12:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782888388000,"timestamp_ms":1782888388000,"timestamp_seconds":1782888388,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c6dd5a0"} 
[2026-07-01 12:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:19:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 12:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-01 12:19:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:19:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":119759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":119759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":119759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419350272001,"66":25712,"3":206,"83":41472,"24":0,"16":333314025087565824,"44":-1478869497241589760},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-07-01 12:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419350272001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:19:32] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-01 12:19:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314025087565824,"km_value":333314025087565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:19:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478869497241589760,"description":"Unknown IO ID 44"} 
[2026-07-01 12:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419350272001,"power":25712,"unknown_3":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478869497241589760}} 
[2026-07-01 12:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":119759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:19:32] local.INFO: GPS data processed {"connection_id":119759,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:19:32] local.INFO: Acknowledgment sent {"connection_id":119759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:19:36] local.INFO: TCP Data received {"connection_id":119759,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c6dd5a0012ceb7a000713c128000a002f26..."} 
[2026-07-01 12:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c6dd5a0012ceb7a000713c128000a002f26..."} 
[2026-07-01 12:19:36] local.INFO: Processing buffer {"connection_id":119759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c6dd5a0012ceb7a000713c128000a002f26..."} 
[2026-07-01 12:19:36] local.INFO: Packet analysis {"connection_id":119759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c6d"} 
[2026-07-01 12:19:36] local.INFO: Extracted packet for processing {"connection_id":119759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c6d"} 
[2026-07-01 12:19:36] local.INFO: GPS Element Parsed {"raw_longitude":753629696,"raw_latitude":118735144,"longitude_deg":75.3629696,"latitude_deg":11.8735144,"altitude":10,"angle":47,"satellites":38,"speed":0,"hex_longitude":"2ceb7a00","hex_latitude":"0713c128","is_valid_coordinates":true} 
[2026-07-01 12:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419350272001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314025087565824,"note":"Value kept but may cause issues"} 
[2026-07-01 12:19:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478869497241589760,"note":"Value kept but may cause issues"} 
[2026-07-01 12:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782888388000,"timestamp_ms":1782888388000,"timestamp_seconds":1782888388,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c6dd5a0"} 
[2026-07-01 12:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 12:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-01 12:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:19:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":119759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":119759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":119759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419350272001,"66":25712,"3":206,"83":41472,"24":0,"16":333314025087565824,"44":-1478869497241589760},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-07-01 12:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419350272001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:19:36] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-01 12:19:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314025087565824,"km_value":333314025087565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:19:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478869497241589760,"description":"Unknown IO ID 44"} 
[2026-07-01 12:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419350272001,"power":25712,"unknown_3":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478869497241589760}} 
[2026-07-01 12:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":119759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:19:36] local.INFO: GPS data processed {"connection_id":119759,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:19:36] local.INFO: Acknowledgment sent {"connection_id":119759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:20:21] local.INFO: TCP Data received {"connection_id":118967,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:20:21] local.INFO: Processing buffer {"connection_id":118967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:20:21] local.INFO: IMEI packet received {"connection_id":118967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 12:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":118967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:20:26] local.INFO: TCP Data received {"connection_id":118967,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:20:26] local.INFO: Processing buffer {"connection_id":118967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:20:26] local.INFO: IMEI packet received {"connection_id":118967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":118967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:20:27] local.INFO: TCP Data received {"connection_id":118967,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c6dd5a0012ceb7a000713c128000a002f26..."} 
[2026-07-01 12:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c6dd5a0012ceb7a000713c128000a002f26..."} 
[2026-07-01 12:20:27] local.INFO: Processing buffer {"connection_id":118967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c6dd5a0012ceb7a000713c128000a002f26..."} 
[2026-07-01 12:20:27] local.INFO: Packet analysis {"connection_id":118967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c6d"} 
[2026-07-01 12:20:27] local.INFO: Extracted packet for processing {"connection_id":118967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c6d"} 
[2026-07-01 12:20:27] local.INFO: GPS Element Parsed {"raw_longitude":753629696,"raw_latitude":118735144,"longitude_deg":75.3629696,"latitude_deg":11.8735144,"altitude":10,"angle":47,"satellites":38,"speed":0,"hex_longitude":"2ceb7a00","hex_latitude":"0713c128","is_valid_coordinates":true} 
[2026-07-01 12:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419350272001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314025087565824,"note":"Value kept but may cause issues"} 
[2026-07-01 12:20:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478869497241589760,"note":"Value kept but may cause issues"} 
[2026-07-01 12:20:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782888388000,"timestamp_ms":1782888388000,"timestamp_seconds":1782888388,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c6dd5a0"} 
[2026-07-01 12:20:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:20:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 12:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-01 12:20:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:20:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:20:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:20:27] 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-01 12:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419350272001,"66":25712,"3":206,"83":41472,"24":0,"16":333314025087565824,"44":-1478869497241589760},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-07-01 12:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419350272001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:20:27] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-01 12:20:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314025087565824,"km_value":333314025087565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:20:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478869497241589760,"description":"Unknown IO ID 44"} 
[2026-07-01 12:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419350272001,"power":25712,"unknown_3":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478869497241589760}} 
[2026-07-01 12:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":118967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:20:27] local.INFO: GPS data processed {"connection_id":118967,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:20:27] local.INFO: Acknowledgment sent {"connection_id":118967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:20:58] local.INFO: TCP Data received {"connection_id":118967,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c6dd5a0012ceb7a000713c128000a002f26..."} 
[2026-07-01 12:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c6dd5a0012ceb7a000713c128000a002f26..."} 
[2026-07-01 12:20:58] local.INFO: Processing buffer {"connection_id":118967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c6dd5a0012ceb7a000713c128000a002f26..."} 
[2026-07-01 12:20:58] local.INFO: Packet analysis {"connection_id":118967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c6d"} 
[2026-07-01 12:20:58] local.INFO: Extracted packet for processing {"connection_id":118967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c6d"} 
[2026-07-01 12:20:58] local.INFO: GPS Element Parsed {"raw_longitude":753629696,"raw_latitude":118735144,"longitude_deg":75.3629696,"latitude_deg":11.8735144,"altitude":10,"angle":47,"satellites":38,"speed":0,"hex_longitude":"2ceb7a00","hex_latitude":"0713c128","is_valid_coordinates":true} 
[2026-07-01 12: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-01 12:20:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419350272001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314025087565824,"note":"Value kept but may cause issues"} 
[2026-07-01 12:20:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478869497241589760,"note":"Value kept but may cause issues"} 
[2026-07-01 12:20:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782888388000,"timestamp_ms":1782888388000,"timestamp_seconds":1782888388,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c6dd5a0"} 
[2026-07-01 12: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-01 12:20:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 12: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-01 12:20:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12: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-01 12: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-01 12:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:20:58] 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-01 12:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:20:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419350272001,"66":25712,"3":206,"83":41472,"24":0,"16":333314025087565824,"44":-1478869497241589760},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-07-01 12:20:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:20:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:20:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419350272001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:20:58] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-01 12:20:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:20:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314025087565824,"km_value":333314025087565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:20:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478869497241589760,"description":"Unknown IO ID 44"} 
[2026-07-01 12:20:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419350272001,"power":25712,"unknown_3":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478869497241589760}} 
[2026-07-01 12:20:58] local.INFO: DEBUG: GPS processor result {"connection_id":118967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:20:58] local.INFO: GPS data processed {"connection_id":118967,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:20:58] local.INFO: Acknowledgment sent {"connection_id":118967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:21:21] local.INFO: TCP Data received {"connection_id":119090,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:21:21] local.INFO: Processing buffer {"connection_id":119090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:21:21] local.INFO: IMEI packet received {"connection_id":119090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 12:21:21] local.INFO: IMEI acknowledgment sent {"connection_id":119090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:21:26] local.INFO: TCP Data received {"connection_id":119090,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:21:26] local.INFO: Processing buffer {"connection_id":119090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:21:26] local.INFO: IMEI packet received {"connection_id":119090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":119090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:21:27] local.INFO: TCP Data received {"connection_id":119090,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c6dd5a0012ceb7a000713c128000a002f26..."} 
[2026-07-01 12:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c6dd5a0012ceb7a000713c128000a002f26..."} 
[2026-07-01 12:21:27] local.INFO: Processing buffer {"connection_id":119090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c6dd5a0012ceb7a000713c128000a002f26..."} 
[2026-07-01 12:21:27] local.INFO: Packet analysis {"connection_id":119090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c6d"} 
[2026-07-01 12:21:27] local.INFO: Extracted packet for processing {"connection_id":119090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c6d"} 
[2026-07-01 12:21:27] local.INFO: GPS Element Parsed {"raw_longitude":753629696,"raw_latitude":118735144,"longitude_deg":75.3629696,"latitude_deg":11.8735144,"altitude":10,"angle":47,"satellites":38,"speed":0,"hex_longitude":"2ceb7a00","hex_latitude":"0713c128","is_valid_coordinates":true} 
[2026-07-01 12:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:21:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419350272001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:21:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314025087565824,"note":"Value kept but may cause issues"} 
[2026-07-01 12:21:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478869497241589760,"note":"Value kept but may cause issues"} 
[2026-07-01 12:21:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:21:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782888388000,"timestamp_ms":1782888388000,"timestamp_seconds":1782888388,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c6dd5a0"} 
[2026-07-01 12:21:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:21:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 12:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-01 12:21:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:21:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:21:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:21:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:21:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:21:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:21:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:21:27] 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-01 12:21:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:21:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:21:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419350272001,"66":25712,"3":206,"83":41472,"24":0,"16":333314025087565824,"44":-1478869497241589760},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-07-01 12:21:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:21:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:21:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419350272001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:21:27] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-01 12:21:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:21:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314025087565824,"km_value":333314025087565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:21:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478869497241589760,"description":"Unknown IO ID 44"} 
[2026-07-01 12:21:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419350272001,"power":25712,"unknown_3":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478869497241589760}} 
[2026-07-01 12:21:27] local.INFO: DEBUG: GPS processor result {"connection_id":119090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:21:27] local.INFO: GPS data processed {"connection_id":119090,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:21:27] local.INFO: Acknowledgment sent {"connection_id":119090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:21:58] local.INFO: TCP Data received {"connection_id":119090,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c6dd5a0012ceb7a000713c128000a002f26..."} 
[2026-07-01 12:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c6dd5a0012ceb7a000713c128000a002f26..."} 
[2026-07-01 12:21:58] local.INFO: Processing buffer {"connection_id":119090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c6dd5a0012ceb7a000713c128000a002f26..."} 
[2026-07-01 12:21:58] local.INFO: Packet analysis {"connection_id":119090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c6d"} 
[2026-07-01 12:21:58] local.INFO: Extracted packet for processing {"connection_id":119090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c6d"} 
[2026-07-01 12:21:58] local.INFO: GPS Element Parsed {"raw_longitude":753629696,"raw_latitude":118735144,"longitude_deg":75.3629696,"latitude_deg":11.8735144,"altitude":10,"angle":47,"satellites":38,"speed":0,"hex_longitude":"2ceb7a00","hex_latitude":"0713c128","is_valid_coordinates":true} 
[2026-07-01 12: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-01 12:21:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419350272001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:21:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314025087565824,"note":"Value kept but may cause issues"} 
[2026-07-01 12:21:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478869497241589760,"note":"Value kept but may cause issues"} 
[2026-07-01 12:21:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:21:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782888388000,"timestamp_ms":1782888388000,"timestamp_seconds":1782888388,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c6dd5a0"} 
[2026-07-01 12: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-01 12:21:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 12:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-01 12:21:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12: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-01 12: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-01 12:21:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:21:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:21:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:21:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:21:58] 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-01 12:21:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:21:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:21:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419350272001,"66":25712,"3":206,"83":41472,"24":0,"16":333314025087565824,"44":-1478869497241589760},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-07-01 12:21:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:21:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:21:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419350272001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:21:58] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-01 12:21:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:21:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314025087565824,"km_value":333314025087565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:21:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478869497241589760,"description":"Unknown IO ID 44"} 
[2026-07-01 12:21:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419350272001,"power":25712,"unknown_3":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478869497241589760}} 
[2026-07-01 12:21:58] local.INFO: DEBUG: GPS processor result {"connection_id":119090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:21:58] local.INFO: GPS data processed {"connection_id":119090,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:21:58] local.INFO: Acknowledgment sent {"connection_id":119090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:22:20] local.INFO: TCP Data received {"connection_id":119761,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:22:20] local.INFO: Processing buffer {"connection_id":119761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:22:20] local.INFO: IMEI packet received {"connection_id":119761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 12:22:20] local.INFO: IMEI acknowledgment sent {"connection_id":119761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:22:26] local.INFO: TCP Data received {"connection_id":119761,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:22:26] local.INFO: Processing buffer {"connection_id":119761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:22:26] local.INFO: IMEI packet received {"connection_id":119761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":119761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:22:27] local.INFO: TCP Data received {"connection_id":119761,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c726d68012ceb7a000713c128000c002f21..."} 
[2026-07-01 12:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c726d68012ceb7a000713c128000c002f21..."} 
[2026-07-01 12:22:27] local.INFO: Processing buffer {"connection_id":119761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c726d68012ceb7a000713c128000c002f21..."} 
[2026-07-01 12:22:27] local.INFO: Packet analysis {"connection_id":119761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c72"} 
[2026-07-01 12:22:27] local.INFO: Extracted packet for processing {"connection_id":119761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c72"} 
[2026-07-01 12:22:27] local.INFO: GPS Element Parsed {"raw_longitude":753629696,"raw_latitude":118735144,"longitude_deg":75.3629696,"latitude_deg":11.8735144,"altitude":12,"angle":47,"satellites":33,"speed":0,"hex_longitude":"2ceb7a00","hex_latitude":"0713c128","is_valid_coordinates":true} 
[2026-07-01 12:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419427328001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314025087565824,"note":"Value kept but may cause issues"} 
[2026-07-01 12:22:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478869497241589760,"note":"Value kept but may cause issues"} 
[2026-07-01 12:22:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782888689000,"timestamp_ms":1782888689000,"timestamp_seconds":1782888689,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c726d68"} 
[2026-07-01 12:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:22:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 12:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-07-01 12:22:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:22:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:22:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419427328001,"66":25680,"3":206,"83":41472,"24":0,"16":333314025087565824,"44":-1478869497241589760},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-07-01 12:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419427328001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:22:27] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-01 12:22:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314025087565824,"km_value":333314025087565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:22:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478869497241589760,"description":"Unknown IO ID 44"} 
[2026-07-01 12:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419427328001,"power":25680,"unknown_3":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478869497241589760}} 
[2026-07-01 12:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":119761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:22:27] local.INFO: GPS data processed {"connection_id":119761,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:22:27] local.INFO: Acknowledgment sent {"connection_id":119761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:22:59] local.INFO: TCP Data received {"connection_id":119761,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c72bb88012ceb7a000713c128000c002f25..."} 
[2026-07-01 12:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c72bb88012ceb7a000713c128000c002f25..."} 
[2026-07-01 12:22:59] local.INFO: Processing buffer {"connection_id":119761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c72bb88012ceb7a000713c128000c002f25..."} 
[2026-07-01 12:22:59] local.INFO: Packet analysis {"connection_id":119761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c72"} 
[2026-07-01 12:22:59] local.INFO: Extracted packet for processing {"connection_id":119761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c72"} 
[2026-07-01 12:22:59] local.INFO: GPS Element Parsed {"raw_longitude":753629696,"raw_latitude":118735144,"longitude_deg":75.3629696,"latitude_deg":11.8735144,"altitude":12,"angle":47,"satellites":37,"speed":0,"hex_longitude":"2ceb7a00","hex_latitude":"0713c128","is_valid_coordinates":true} 
[2026-07-01 12:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419504384001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314025087565824,"note":"Value kept but may cause issues"} 
[2026-07-01 12:22:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478869497241589760,"note":"Value kept but may cause issues"} 
[2026-07-01 12:22:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782888709000,"timestamp_ms":1782888709000,"timestamp_seconds":1782888709,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c72bb88"} 
[2026-07-01 12:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:22:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 12:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-01 12:22:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:22:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:22:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419504384001,"66":25625,"3":206,"83":41472,"24":0,"16":333314025087565824,"44":-1478869497241589760},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-07-01 12:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419504384001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:22:59] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-01 12:22:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314025087565824,"km_value":333314025087565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:22:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478869497241589760,"description":"Unknown IO ID 44"} 
[2026-07-01 12:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419504384001,"power":25625,"unknown_3":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478869497241589760}} 
[2026-07-01 12:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":119761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:22:59] local.INFO: GPS data processed {"connection_id":119761,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:22:59] local.INFO: Acknowledgment sent {"connection_id":119761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:23:18] local.INFO: TCP Data received {"connection_id":118969,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:23:18] local.INFO: Processing buffer {"connection_id":118969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:23:18] local.INFO: IMEI packet received {"connection_id":118969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 12:23:18] local.INFO: IMEI acknowledgment sent {"connection_id":118969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:23:21] local.INFO: TCP Data received {"connection_id":118969,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:23:21] local.INFO: Processing buffer {"connection_id":118969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:23:21] local.INFO: IMEI packet received {"connection_id":118969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:23:21] local.INFO: IMEI acknowledgment sent {"connection_id":118969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:23:23] local.INFO: TCP Data received {"connection_id":118969,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:23:23] local.INFO: Processing buffer {"connection_id":118969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:23:23] local.INFO: IMEI packet received {"connection_id":118969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:23:23] local.INFO: IMEI acknowledgment sent {"connection_id":118969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:23:24] local.INFO: TCP Data received {"connection_id":118969,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c72cf10012ceb7cc00713bbc8000c013925..."} 
[2026-07-01 12:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c72cf10012ceb7cc00713bbc8000c013925..."} 
[2026-07-01 12:23:24] local.INFO: Processing buffer {"connection_id":118969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c72cf10012ceb7cc00713bbc8000c013925..."} 
[2026-07-01 12:23:24] local.INFO: Packet analysis {"connection_id":118969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c72"} 
[2026-07-01 12:23:24] local.INFO: Extracted packet for processing {"connection_id":118969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c72"} 
[2026-07-01 12:23:24] local.INFO: GPS Element Parsed {"raw_longitude":753630400,"raw_latitude":118733768,"longitude_deg":75.36304,"latitude_deg":11.8733768,"altitude":12,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2ceb7cc0","hex_latitude":"0713bbc8","is_valid_coordinates":true} 
[2026-07-01 12:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:23:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419509504001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:23:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314025087565824,"note":"Value kept but may cause issues"} 
[2026-07-01 12:23:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478869497241589760,"note":"Value kept but may cause issues"} 
[2026-07-01 12:23:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:23:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782888714000,"timestamp_ms":1782888714000,"timestamp_seconds":1782888714,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c72cf10"} 
[2026-07-01 12:23:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:23:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 12:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-01 12:23:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:23:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:23:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:23:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:23:24] local.INFO: Teltonika packet parsed successfully {"connection_id":118969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:23:24] local.INFO: Passing IMEI to GPS processor {"connection_id":118969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:23:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":118969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:23:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:23:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:23:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:23:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419509504001,"66":27713,"3":206,"83":41472,"24":0,"16":333314025087565824,"44":-1478869497241589760},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,83,24,16,44]} 
[2026-07-01 12:23:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:23:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:23:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419509504001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:23:24] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-01 12:23:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:23:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314025087565824,"km_value":333314025087565.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:23:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478869497241589760,"description":"Unknown IO ID 44"} 
[2026-07-01 12:23:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419509504001,"power":27713,"unknown_3":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1478869497241589760}} 
[2026-07-01 12:23:24] local.INFO: DEBUG: GPS processor result {"connection_id":118969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:23:24] local.INFO: GPS data processed {"connection_id":118969,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:23:24] local.INFO: Acknowledgment sent {"connection_id":118969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:23:55] local.INFO: TCP Data received {"connection_id":118969,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c73d8b0012ceb6a400713bd280007010724..."} 
[2026-07-01 12:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c73d8b0012ceb6a400713bd280007010724..."} 
[2026-07-01 12:23:55] local.INFO: Processing buffer {"connection_id":118969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c73d8b0012ceb6a400713bd280007010724..."} 
[2026-07-01 12:23:55] local.INFO: Packet analysis {"connection_id":118969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c73"} 
[2026-07-01 12:23:55] local.INFO: Extracted packet for processing {"connection_id":118969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c73"} 
[2026-07-01 12:23:55] local.INFO: GPS Element Parsed {"raw_longitude":753625664,"raw_latitude":118734120,"longitude_deg":75.3625664,"latitude_deg":11.873412,"altitude":7,"angle":263,"satellites":36,"speed":14,"hex_longitude":"2ceb6a40","hex_latitude":"0713bd28","is_valid_coordinates":true} 
[2026-07-01 12: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-01 12:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419525632001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314299965472768,"note":"Value kept but may cause issues"} 
[2026-07-01 12:23:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1479854659660107776,"note":"Value kept but may cause issues"} 
[2026-07-01 12:23:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782888782000,"timestamp_ms":1782888782000,"timestamp_seconds":1782888782,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c73d8b0"} 
[2026-07-01 12: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-01 12:23:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 12: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 12:23: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-01 12: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-01 12: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-01 12:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":118969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":118969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":118969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:23:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419525632001,"66":27876,"190":206,"83":41472,"24":14,"16":333314299965472768,"44":-1479854659660107776},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-07-01 12:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419525632001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:23:55] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-07-01 12:23:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314299965472768,"km_value":333314299965472.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:23:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1479854659660107776,"description":"Unknown IO ID 44"} 
[2026-07-01 12:23:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419525632001,"power":27876,"unknown_190":206,"unknown_83":41472,"ignition":14,"odometer":null,"unknown_44":-1479854659660107776}} 
[2026-07-01 12:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":118969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:23:55] local.INFO: GPS data processed {"connection_id":118969,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:23:55] local.INFO: Acknowledgment sent {"connection_id":118969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:24:21] local.INFO: TCP Data received {"connection_id":120848,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:24:21] local.INFO: Processing buffer {"connection_id":120848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:24:21] local.INFO: IMEI packet received {"connection_id":120848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 12:24:21] local.INFO: IMEI acknowledgment sent {"connection_id":120848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:24:26] local.INFO: TCP Data received {"connection_id":120848,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:24:26] local.INFO: Processing buffer {"connection_id":120848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:24:26] local.INFO: IMEI packet received {"connection_id":120848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":120848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:24:27] local.INFO: TCP Data received {"connection_id":120848,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c73e468012ceb66400713bd280006011524..."} 
[2026-07-01 12:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c73e468012ceb66400713bd280006011524..."} 
[2026-07-01 12:24:27] local.INFO: Processing buffer {"connection_id":120848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c73e468012ceb66400713bd280006011524..."} 
[2026-07-01 12:24:27] local.INFO: Packet analysis {"connection_id":120848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c73"} 
[2026-07-01 12:24:27] local.INFO: Extracted packet for processing {"connection_id":120848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c73"} 
[2026-07-01 12:24:27] local.INFO: GPS Element Parsed {"raw_longitude":753624640,"raw_latitude":118734120,"longitude_deg":75.362464,"latitude_deg":11.873412,"altitude":6,"angle":277,"satellites":36,"speed":12,"hex_longitude":"2ceb6640","hex_latitude":"0713bd28","is_valid_coordinates":true} 
[2026-07-01 12:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:24:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419528192001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:24:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314347210113024,"note":"Value kept but may cause issues"} 
[2026-07-01 12:24:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1483302728125044736,"note":"Value kept but may cause issues"} 
[2026-07-01 12:24:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:24:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782888785000,"timestamp_ms":1782888785000,"timestamp_seconds":1782888785,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c73e468"} 
[2026-07-01 12:24:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:24:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 12:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-01 12:24:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:24:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:24:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:24:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:24:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:24:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:24:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:24:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:24:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:24:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:24:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419528192001,"66":27821,"190":206,"83":41472,"24":12,"16":333314347210113024,"44":-1483302728125044736},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-07-01 12:24:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:24:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:24:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419528192001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:24:27] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-07-01 12:24:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:24:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314347210113024,"km_value":333314347210113.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:24:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1483302728125044736,"description":"Unknown IO ID 44"} 
[2026-07-01 12:24:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419528192001,"power":27821,"unknown_190":206,"unknown_83":41472,"ignition":12,"odometer":null,"unknown_44":-1483302728125044736}} 
[2026-07-01 12:24:27] local.INFO: DEBUG: GPS processor result {"connection_id":120848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:24:27] local.INFO: GPS data processed {"connection_id":120848,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:24:27] local.INFO: Acknowledgment sent {"connection_id":120848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:24:41] local.INFO: TCP Data received {"connection_id":119762,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119762,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:24:41] local.INFO: Processing buffer {"connection_id":119762,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:24:41] local.INFO: IMEI packet received {"connection_id":119762,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 12:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":119762,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:24:58] local.INFO: TCP Data received {"connection_id":120848,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c73f408012ceb62800713be280006012626..."} 
[2026-07-01 12:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c73f408012ceb62800713be280006012626..."} 
[2026-07-01 12:24:58] local.INFO: Processing buffer {"connection_id":120848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c73f408012ceb62800713be280006012626..."} 
[2026-07-01 12:24:58] local.INFO: Packet analysis {"connection_id":120848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c73"} 
[2026-07-01 12:24:58] local.INFO: Extracted packet for processing {"connection_id":120848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c73"} 
[2026-07-01 12:24:58] local.INFO: GPS Element Parsed {"raw_longitude":753623680,"raw_latitude":118734376,"longitude_deg":75.362368,"latitude_deg":11.8734376,"altitude":6,"angle":294,"satellites":38,"speed":8,"hex_longitude":"2ceb6280","hex_latitude":"0713be28","is_valid_coordinates":true} 
[2026-07-01 12: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-01 12:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419528960001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:24:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314398749720576,"note":"Value kept but may cause issues"} 
[2026-07-01 12:24:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1484428628031887360,"note":"Value kept but may cause issues"} 
[2026-07-01 12:24:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:24:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782888789000,"timestamp_ms":1782888789000,"timestamp_seconds":1782888789,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c73f408"} 
[2026-07-01 12: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-01 12:24:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 12: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 12:24:58] 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-01 12: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-01 12: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-01 12:24:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:24:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:24:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:24:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:24:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:24:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:24:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:24:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419528960001,"66":27832,"190":206,"83":41472,"24":8,"16":333314398749720576,"44":-1484428628031887360},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-07-01 12:24:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:24:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:24:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419528960001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:24:58] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-07-01 12:24:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:24:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314398749720576,"km_value":333314398749720.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:24:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1484428628031887360,"description":"Unknown IO ID 44"} 
[2026-07-01 12:24:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419528960001,"power":27832,"unknown_190":206,"unknown_83":41472,"ignition":8,"odometer":null,"unknown_44":-1484428628031887360}} 
[2026-07-01 12:24:58] local.INFO: DEBUG: GPS processor result {"connection_id":120848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:24:58] local.INFO: GPS data processed {"connection_id":120848,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:24:58] local.INFO: Acknowledgment sent {"connection_id":120848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:25:15] local.INFO: TCP Data received {"connection_id":119763,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119763,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:25:15] local.INFO: Processing buffer {"connection_id":119763,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:25:15] local.INFO: IMEI packet received {"connection_id":119763,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 12:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":119763,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:25:20] local.INFO: TCP Data received {"connection_id":119764,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:25:20] local.INFO: Processing buffer {"connection_id":119764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:25:20] local.INFO: IMEI packet received {"connection_id":119764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 12:25:20] local.INFO: IMEI acknowledgment sent {"connection_id":119764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:25:26] local.INFO: TCP Data received {"connection_id":119764,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:25:26] local.INFO: Processing buffer {"connection_id":119764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:25:26] local.INFO: IMEI packet received {"connection_id":119764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":119764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:25:27] local.INFO: TCP Data received {"connection_id":119764,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c744610012ceb60400713bf680007012725..."} 
[2026-07-01 12:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c744610012ceb60400713bf680007012725..."} 
[2026-07-01 12:25:27] local.INFO: Processing buffer {"connection_id":119764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c744610012ceb60400713bf680007012725..."} 
[2026-07-01 12:25:27] local.INFO: Packet analysis {"connection_id":119764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c74"} 
[2026-07-01 12:25:27] local.INFO: Extracted packet for processing {"connection_id":119764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c74"} 
[2026-07-01 12:25:27] local.INFO: GPS Element Parsed {"raw_longitude":753623104,"raw_latitude":118734696,"longitude_deg":75.3623104,"latitude_deg":11.8734696,"altitude":7,"angle":295,"satellites":37,"speed":0,"hex_longitude":"2ceb6040","hex_latitude":"0713bf68","is_valid_coordinates":true} 
[2026-07-01 12:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419529984001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314428814491648,"note":"Value kept but may cause issues"} 
[2026-07-01 12:25:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1485484159194486784,"note":"Value kept but may cause issues"} 
[2026-07-01 12:25:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782888810000,"timestamp_ms":1782888810000,"timestamp_seconds":1782888810,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c744610"} 
[2026-07-01 12:25:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:25:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 12:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-01 12:25:27] 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-01 12:25:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:25:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:25:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419529984001,"66":27908,"190":206,"83":41472,"24":0,"16":333314428814491648,"44":-1485484159194486784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,83,24,16,44]} 
[2026-07-01 12:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419529984001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:25:27] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-07-01 12:25:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314428814491648,"km_value":333314428814491.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:25:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1485484159194486784,"description":"Unknown IO ID 44"} 
[2026-07-01 12:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419529984001,"power":27908,"unknown_190":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1485484159194486784}} 
[2026-07-01 12:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":119764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:25:27] local.INFO: GPS data processed {"connection_id":119764,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:25:27] local.INFO: Acknowledgment sent {"connection_id":119764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:25:58] local.INFO: TCP Data received {"connection_id":119764,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c749818012ceb60400713bf680007012728..."} 
[2026-07-01 12:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c749818012ceb60400713bf680007012728..."} 
[2026-07-01 12:25:58] local.INFO: Processing buffer {"connection_id":119764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c749818012ceb60400713bf680007012728..."} 
[2026-07-01 12:25:58] local.INFO: Packet analysis {"connection_id":119764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c74"} 
[2026-07-01 12:25:58] local.INFO: Extracted packet for processing {"connection_id":119764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c74"} 
[2026-07-01 12:25:58] local.INFO: GPS Element Parsed {"raw_longitude":753623104,"raw_latitude":118734696,"longitude_deg":75.3623104,"latitude_deg":11.8734696,"altitude":7,"angle":295,"satellites":40,"speed":0,"hex_longitude":"2ceb6040","hex_latitude":"0713bf68","is_valid_coordinates":true} 
[2026-07-01 12: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-01 12:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419535360001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314428814491648,"note":"Value kept but may cause issues"} 
[2026-07-01 12:25:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486117477892003840,"note":"Value kept but may cause issues"} 
[2026-07-01 12:25:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782888831000,"timestamp_ms":1782888831000,"timestamp_seconds":1782888831,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c749818"} 
[2026-07-01 12: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-01 12:25:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 12: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 12:25:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12: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-01 12: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-01 12:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:25:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419535360001,"66":27821,"38":206,"83":41472,"24":0,"16":333314428814491648,"44":-1486117477892003840},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,83,24,16,44]} 
[2026-07-01 12:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419535360001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:25:58] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-01 12:25:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314428814491648,"km_value":333314428814491.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:25:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486117477892003840,"description":"Unknown IO ID 44"} 
[2026-07-01 12:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419535360001,"power":27821,"unknown_38":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1486117477892003840}} 
[2026-07-01 12:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":119764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:25:58] local.INFO: GPS data processed {"connection_id":119764,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:25:58] local.INFO: Acknowledgment sent {"connection_id":119764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:26:20] local.INFO: TCP Data received {"connection_id":119092,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:26:20] local.INFO: Processing buffer {"connection_id":119092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:26:20] local.INFO: IMEI packet received {"connection_id":119092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 12:26:20] local.INFO: IMEI acknowledgment sent {"connection_id":119092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:26:26] local.INFO: TCP Data received {"connection_id":119092,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:26:26] local.INFO: Processing buffer {"connection_id":119092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:26:26] local.INFO: IMEI packet received {"connection_id":119092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":119092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:26:27] local.INFO: TCP Data received {"connection_id":119092,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c74ea20012ceb59c00713c2200007012125..."} 
[2026-07-01 12:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c74ea20012ceb59c00713c2200007012125..."} 
[2026-07-01 12:26:27] local.INFO: Processing buffer {"connection_id":119092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c74ea20012ceb59c00713c2200007012125..."} 
[2026-07-01 12:26:27] local.INFO: Packet analysis {"connection_id":119092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c74"} 
[2026-07-01 12:26:27] local.INFO: Extracted packet for processing {"connection_id":119092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c74"} 
[2026-07-01 12:26:27] local.INFO: GPS Element Parsed {"raw_longitude":753621440,"raw_latitude":118735392,"longitude_deg":75.362144,"latitude_deg":11.8735392,"altitude":7,"angle":289,"satellites":37,"speed":0,"hex_longitude":"2ceb59c0","hex_latitude":"0713c220","is_valid_coordinates":true} 
[2026-07-01 12:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419540736001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314519008804864,"note":"Value kept but may cause issues"} 
[2026-07-01 12:26:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486117477892003840,"note":"Value kept but may cause issues"} 
[2026-07-01 12:26:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782888852000,"timestamp_ms":1782888852000,"timestamp_seconds":1782888852,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c74ea20"} 
[2026-07-01 12:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:26:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 12:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 12:26:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:26:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:26:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419540736001,"66":27876,"38":206,"83":41472,"24":0,"16":333314519008804864,"44":-1486117477892003840},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,83,24,16,44]} 
[2026-07-01 12:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419540736001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:26:27] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-01 12:26:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314519008804864,"km_value":333314519008804.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:26:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486117477892003840,"description":"Unknown IO ID 44"} 
[2026-07-01 12:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419540736001,"power":27876,"unknown_38":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1486117477892003840}} 
[2026-07-01 12:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":119092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:26:27] local.INFO: GPS data processed {"connection_id":119092,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:26:27] local.INFO: Acknowledgment sent {"connection_id":119092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:27:00] local.INFO: TCP Data received {"connection_id":119092,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c753c28012ceb59c00713c2200007012123..."} 
[2026-07-01 12:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c753c28012ceb59c00713c2200007012123..."} 
[2026-07-01 12:27:00] local.INFO: Processing buffer {"connection_id":119092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c753c28012ceb59c00713c2200007012123..."} 
[2026-07-01 12:27:00] local.INFO: Packet analysis {"connection_id":119092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c75"} 
[2026-07-01 12:27:00] local.INFO: Extracted packet for processing {"connection_id":119092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c75"} 
[2026-07-01 12:27:00] local.INFO: GPS Element Parsed {"raw_longitude":753621440,"raw_latitude":118735392,"longitude_deg":75.362144,"latitude_deg":11.8735392,"altitude":7,"angle":289,"satellites":35,"speed":0,"hex_longitude":"2ceb59c0","hex_latitude":"0713c220","is_valid_coordinates":true} 
[2026-07-01 12: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-01 12:27:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419546112001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:27:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314519008804864,"note":"Value kept but may cause issues"} 
[2026-07-01 12:27:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1487947065240444928,"note":"Value kept but may cause issues"} 
[2026-07-01 12:27:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:27:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782888873000,"timestamp_ms":1782888873000,"timestamp_seconds":1782888873,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c753c28"} 
[2026-07-01 12: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-01 12:27:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 12: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-01 12:27:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12: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-01 12: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-01 12:27:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:27:00] local.INFO: Teltonika packet parsed successfully {"connection_id":119092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:27:00] local.INFO: Passing IMEI to GPS processor {"connection_id":119092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:27:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":119092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:27:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:27:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:27:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:27:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419546112001,"66":27995,"38":206,"83":41472,"24":0,"16":333314519008804864,"44":-1487947065240444928},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,83,24,16,44]} 
[2026-07-01 12:27:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:27:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:27:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419546112001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:27:00] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-01 12:27:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:27:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314519008804864,"km_value":333314519008804.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:27:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1487947065240444928,"description":"Unknown IO ID 44"} 
[2026-07-01 12:27:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419546112001,"power":27995,"unknown_38":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1487947065240444928}} 
[2026-07-01 12:27:00] local.INFO: DEBUG: GPS processor result {"connection_id":119092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:27:00] local.INFO: GPS data processed {"connection_id":119092,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:27:00] local.INFO: Acknowledgment sent {"connection_id":119092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:27:26] local.INFO: TCP Data received {"connection_id":119766,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:27:26] local.INFO: Processing buffer {"connection_id":119766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:27:26] local.INFO: IMEI packet received {"connection_id":119766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 12:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":119766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:27:31] local.INFO: TCP Data received {"connection_id":119766,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:27:31] local.INFO: Processing buffer {"connection_id":119766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:27:31] local.INFO: IMEI packet received {"connection_id":119766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":119766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:27:32] local.INFO: TCP Data received {"connection_id":119766,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c758e30012ceb59c00713c2200007012125..."} 
[2026-07-01 12:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c758e30012ceb59c00713c2200007012125..."} 
[2026-07-01 12:27:32] local.INFO: Processing buffer {"connection_id":119766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c758e30012ceb59c00713c2200007012125..."} 
[2026-07-01 12:27:32] local.INFO: Packet analysis {"connection_id":119766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c75"} 
[2026-07-01 12:27:32] local.INFO: Extracted packet for processing {"connection_id":119766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c75"} 
[2026-07-01 12:27:32] local.INFO: GPS Element Parsed {"raw_longitude":753621440,"raw_latitude":118735392,"longitude_deg":75.362144,"latitude_deg":11.8735392,"altitude":7,"angle":289,"satellites":37,"speed":0,"hex_longitude":"2ceb59c0","hex_latitude":"0713c220","is_valid_coordinates":true} 
[2026-07-01 12:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419551488001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314519008804864,"note":"Value kept but may cause issues"} 
[2026-07-01 12:27:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1487947065240444928,"note":"Value kept but may cause issues"} 
[2026-07-01 12:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782888894000,"timestamp_ms":1782888894000,"timestamp_seconds":1782888894,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c758e30"} 
[2026-07-01 12:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:27:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 12:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-01 12:27:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:27:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":119766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":119766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":119766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419551488001,"66":27995,"38":206,"83":41472,"24":0,"16":333314519008804864,"44":-1487947065240444928},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,83,24,16,44]} 
[2026-07-01 12:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419551488001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:27:32] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-01 12:27:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314519008804864,"km_value":333314519008804.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:27:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1487947065240444928,"description":"Unknown IO ID 44"} 
[2026-07-01 12:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419551488001,"power":27995,"unknown_38":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1487947065240444928}} 
[2026-07-01 12:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":119766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:27:32] local.INFO: GPS data processed {"connection_id":119766,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:27:32] local.INFO: Acknowledgment sent {"connection_id":119766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:27:36] local.INFO: TCP Data received {"connection_id":119766,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c75e038012ceb59c00713c2200007012126..."} 
[2026-07-01 12:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c75e038012ceb59c00713c2200007012126..."} 
[2026-07-01 12:27:36] local.INFO: Processing buffer {"connection_id":119766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c75e038012ceb59c00713c2200007012126..."} 
[2026-07-01 12:27:36] local.INFO: Packet analysis {"connection_id":119766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c75"} 
[2026-07-01 12:27:36] local.INFO: Extracted packet for processing {"connection_id":119766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c75"} 
[2026-07-01 12:27:36] local.INFO: GPS Element Parsed {"raw_longitude":753621440,"raw_latitude":118735392,"longitude_deg":75.362144,"latitude_deg":11.8735392,"altitude":7,"angle":289,"satellites":38,"speed":0,"hex_longitude":"2ceb59c0","hex_latitude":"0713c220","is_valid_coordinates":true} 
[2026-07-01 12: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-01 12:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419556864001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314519008804864,"note":"Value kept but may cause issues"} 
[2026-07-01 12:27:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1487947065240444928,"note":"Value kept but may cause issues"} 
[2026-07-01 12:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782888915000,"timestamp_ms":1782888915000,"timestamp_seconds":1782888915,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c75e038"} 
[2026-07-01 12: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-01 12:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 12: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-01 12:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12: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-01 12: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-01 12:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":119766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":119766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":119766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419556864001,"66":28050,"38":206,"83":41472,"24":0,"16":333314519008804864,"44":-1487947065240444928},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,83,24,16,44]} 
[2026-07-01 12:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419556864001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:27:36] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-01 12:27:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314519008804864,"km_value":333314519008804.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:27:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1487947065240444928,"description":"Unknown IO ID 44"} 
[2026-07-01 12:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419556864001,"power":28050,"unknown_38":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1487947065240444928}} 
[2026-07-01 12:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":119766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:27:36] local.INFO: GPS data processed {"connection_id":119766,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:27:36] local.INFO: Acknowledgment sent {"connection_id":119766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:28:20] local.INFO: TCP Data received {"connection_id":119094,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:28:20] local.INFO: Processing buffer {"connection_id":119094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:28:20] local.INFO: IMEI packet received {"connection_id":119094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 12:28:20] local.INFO: IMEI acknowledgment sent {"connection_id":119094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:28:20] local.INFO: TCP Data received {"connection_id":119094,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:28:20] local.INFO: Processing buffer {"connection_id":119094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:28:20] local.INFO: IMEI packet received {"connection_id":119094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:28:20] local.INFO: IMEI acknowledgment sent {"connection_id":119094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:28:26] local.INFO: TCP Data received {"connection_id":119094,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:28:26] local.INFO: Processing buffer {"connection_id":119094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:28:26] local.INFO: IMEI packet received {"connection_id":119094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":119094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:28:27] local.INFO: TCP Data received {"connection_id":119094,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c763240012ceb59c00713c2200007012123..."} 
[2026-07-01 12:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c763240012ceb59c00713c2200007012123..."} 
[2026-07-01 12:28:27] local.INFO: Processing buffer {"connection_id":119094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c763240012ceb59c00713c2200007012123..."} 
[2026-07-01 12:28:27] local.INFO: Packet analysis {"connection_id":119094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c76"} 
[2026-07-01 12:28:27] local.INFO: Extracted packet for processing {"connection_id":119094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c76"} 
[2026-07-01 12:28:27] local.INFO: GPS Element Parsed {"raw_longitude":753621440,"raw_latitude":118735392,"longitude_deg":75.362144,"latitude_deg":11.8735392,"altitude":7,"angle":289,"satellites":35,"speed":0,"hex_longitude":"2ceb59c0","hex_latitude":"0713c220","is_valid_coordinates":true} 
[2026-07-01 12:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:28:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419562240001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:28:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314519008804864,"note":"Value kept but may cause issues"} 
[2026-07-01 12:28:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1487947065240444928,"note":"Value kept but may cause issues"} 
[2026-07-01 12:28:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:28:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782888936000,"timestamp_ms":1782888936000,"timestamp_seconds":1782888936,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c763240"} 
[2026-07-01 12:28:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:28:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 12:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-01 12:28:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:28:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:28:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:28:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:28:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:28:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:28:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:28:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:28:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:28:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:28:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419562240001,"66":28028,"38":206,"83":41472,"24":0,"16":333314519008804864,"44":-1487947065240444928},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,83,24,16,44]} 
[2026-07-01 12:28:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:28:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:28:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419562240001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:28:27] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-01 12:28:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:28:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314519008804864,"km_value":333314519008804.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:28:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1487947065240444928,"description":"Unknown IO ID 44"} 
[2026-07-01 12:28:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419562240001,"power":28028,"unknown_38":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1487947065240444928}} 
[2026-07-01 12:28:27] local.INFO: DEBUG: GPS processor result {"connection_id":119094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:28:27] local.INFO: GPS data processed {"connection_id":119094,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:28:27] local.INFO: Acknowledgment sent {"connection_id":119094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:28:57] local.INFO: TCP Data received {"connection_id":119094,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c768448012ceb59c00713c2200007012123..."} 
[2026-07-01 12:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c768448012ceb59c00713c2200007012123..."} 
[2026-07-01 12:28:57] local.INFO: Processing buffer {"connection_id":119094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c768448012ceb59c00713c2200007012123..."} 
[2026-07-01 12:28:57] local.INFO: Packet analysis {"connection_id":119094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c76"} 
[2026-07-01 12:28:57] local.INFO: Extracted packet for processing {"connection_id":119094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c76"} 
[2026-07-01 12:28:57] local.INFO: GPS Element Parsed {"raw_longitude":753621440,"raw_latitude":118735392,"longitude_deg":75.362144,"latitude_deg":11.8735392,"altitude":7,"angle":289,"satellites":35,"speed":0,"hex_longitude":"2ceb59c0","hex_latitude":"0713c220","is_valid_coordinates":true} 
[2026-07-01 12: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-01 12:28:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419567616001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:28:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314519008804864,"note":"Value kept but may cause issues"} 
[2026-07-01 12:28:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1487947065240444928,"note":"Value kept but may cause issues"} 
[2026-07-01 12:28:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:28:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782888957000,"timestamp_ms":1782888957000,"timestamp_seconds":1782888957,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c768448"} 
[2026-07-01 12: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-01 12:28:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 12: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-01 12:28:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12: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-01 12: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-01 12:28:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:28:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:28:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:28:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:28:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:28:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:28:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:28:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419567616001,"66":27930,"38":206,"83":41472,"24":0,"16":333314519008804864,"44":-1487947065240444928},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,83,24,16,44]} 
[2026-07-01 12:28:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:28:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:28:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419567616001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:28:57] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-01 12:28:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:28:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314519008804864,"km_value":333314519008804.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:28:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1487947065240444928,"description":"Unknown IO ID 44"} 
[2026-07-01 12:28:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419567616001,"power":27930,"unknown_38":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1487947065240444928}} 
[2026-07-01 12:28:57] local.INFO: DEBUG: GPS processor result {"connection_id":119094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:28:57] local.INFO: GPS data processed {"connection_id":119094,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:28:57] local.INFO: Acknowledgment sent {"connection_id":119094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:29:21] local.INFO: TCP Data received {"connection_id":120849,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:29:21] local.INFO: Processing buffer {"connection_id":120849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:29:21] local.INFO: IMEI packet received {"connection_id":120849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 12:29:21] local.INFO: IMEI acknowledgment sent {"connection_id":120849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:29:24] local.INFO: TCP Data received {"connection_id":120849,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:29:24] local.INFO: Processing buffer {"connection_id":120849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:29:24] local.INFO: IMEI packet received {"connection_id":120849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":120849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:29:26] local.INFO: TCP Data received {"connection_id":120849,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:29:26] local.INFO: Processing buffer {"connection_id":120849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:29:26] local.INFO: IMEI packet received {"connection_id":120849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":120849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:29:26] local.INFO: TCP Data received {"connection_id":120849,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c76d650012ceb59c00713c2200007012127..."} 
[2026-07-01 12:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c76d650012ceb59c00713c2200007012127..."} 
[2026-07-01 12:29:26] local.INFO: Processing buffer {"connection_id":120849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c76d650012ceb59c00713c2200007012127..."} 
[2026-07-01 12:29:26] local.INFO: Packet analysis {"connection_id":120849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c76"} 
[2026-07-01 12:29:26] local.INFO: Extracted packet for processing {"connection_id":120849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c76"} 
[2026-07-01 12:29:26] local.INFO: GPS Element Parsed {"raw_longitude":753621440,"raw_latitude":118735392,"longitude_deg":75.362144,"latitude_deg":11.8735392,"altitude":7,"angle":289,"satellites":39,"speed":0,"hex_longitude":"2ceb59c0","hex_latitude":"0713c220","is_valid_coordinates":true} 
[2026-07-01 12: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-01 12:29:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419572992001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:29:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314519008804864,"note":"Value kept but may cause issues"} 
[2026-07-01 12:29:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1487947065240444928,"note":"Value kept but may cause issues"} 
[2026-07-01 12:29:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:29:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782888978000,"timestamp_ms":1782888978000,"timestamp_seconds":1782888978,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c76d650"} 
[2026-07-01 12: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-01 12:29: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-01 12: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-01 12:29:26] 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-01 12: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-01 12: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-01 12:29:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:29:26] local.INFO: Teltonika packet parsed successfully {"connection_id":120849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:29:26] local.INFO: Passing IMEI to GPS processor {"connection_id":120849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:29:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":120849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:29:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:29:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:29:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:29:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419572992001,"66":27930,"38":206,"83":41472,"24":0,"16":333314519008804864,"44":-1487947065240444928},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,83,24,16,44]} 
[2026-07-01 12:29:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:29:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:29:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419572992001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:29:26] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-01 12:29:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:29:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314519008804864,"km_value":333314519008804.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:29:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1487947065240444928,"description":"Unknown IO ID 44"} 
[2026-07-01 12:29:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419572992001,"power":27930,"unknown_38":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1487947065240444928}} 
[2026-07-01 12:29:26] local.INFO: DEBUG: GPS processor result {"connection_id":120849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:29:26] local.INFO: GPS data processed {"connection_id":120849,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:29:26] local.INFO: Acknowledgment sent {"connection_id":120849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:29:31] local.INFO: TCP Data received {"connection_id":120849,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c772858012ceb59c00713c2200007012127..."} 
[2026-07-01 12:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c772858012ceb59c00713c2200007012127..."} 
[2026-07-01 12:29:31] local.INFO: Processing buffer {"connection_id":120849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c772858012ceb59c00713c2200007012127..."} 
[2026-07-01 12:29:31] local.INFO: Packet analysis {"connection_id":120849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c77"} 
[2026-07-01 12:29:31] local.INFO: Extracted packet for processing {"connection_id":120849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c77"} 
[2026-07-01 12:29:31] local.INFO: GPS Element Parsed {"raw_longitude":753621440,"raw_latitude":118735392,"longitude_deg":75.362144,"latitude_deg":11.8735392,"altitude":7,"angle":289,"satellites":39,"speed":0,"hex_longitude":"2ceb59c0","hex_latitude":"0713c220","is_valid_coordinates":true} 
[2026-07-01 12:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419578368001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314519008804864,"note":"Value kept but may cause issues"} 
[2026-07-01 12:29:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1487947065240444928,"note":"Value kept but may cause issues"} 
[2026-07-01 12:29:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782888999000,"timestamp_ms":1782888999000,"timestamp_seconds":1782888999,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c772858"} 
[2026-07-01 12:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:29:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 12:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-01 12:29:31] 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-01 12:29:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":120849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":120849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":120849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:29:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419578368001,"66":27865,"38":206,"83":41472,"24":0,"16":333314519008804864,"44":-1487947065240444928},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,83,24,16,44]} 
[2026-07-01 12:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419578368001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:29:31] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-01 12:29:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314519008804864,"km_value":333314519008804.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:29:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1487947065240444928,"description":"Unknown IO ID 44"} 
[2026-07-01 12:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419578368001,"power":27865,"unknown_38":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1487947065240444928}} 
[2026-07-01 12:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":120849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:29:31] local.INFO: GPS data processed {"connection_id":120849,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:29:31] local.INFO: Acknowledgment sent {"connection_id":120849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:30:03] local.INFO: TCP Data received {"connection_id":120849,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c777a60012ceb59c00713c2200007012126..."} 
[2026-07-01 12:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c777a60012ceb59c00713c2200007012126..."} 
[2026-07-01 12:30:03] local.INFO: Processing buffer {"connection_id":120849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c777a60012ceb59c00713c2200007012126..."} 
[2026-07-01 12:30:03] local.INFO: Packet analysis {"connection_id":120849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c77"} 
[2026-07-01 12:30:03] local.INFO: Extracted packet for processing {"connection_id":120849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c77"} 
[2026-07-01 12:30:03] local.INFO: GPS Element Parsed {"raw_longitude":753621440,"raw_latitude":118735392,"longitude_deg":75.362144,"latitude_deg":11.8735392,"altitude":7,"angle":289,"satellites":38,"speed":0,"hex_longitude":"2ceb59c0","hex_latitude":"0713c220","is_valid_coordinates":true} 
[2026-07-01 12:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419583744001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314519008804864,"note":"Value kept but may cause issues"} 
[2026-07-01 12:30:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1487947065240444928,"note":"Value kept but may cause issues"} 
[2026-07-01 12:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782889020000,"timestamp_ms":1782889020000,"timestamp_seconds":1782889020,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c777a60"} 
[2026-07-01 12:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 12:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 12:30:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:30:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":120849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":120849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":120849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419583744001,"66":27930,"38":206,"83":41472,"24":0,"16":333314519008804864,"44":-1487947065240444928},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,83,24,16,44]} 
[2026-07-01 12:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419583744001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:30:03] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-01 12:30:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314519008804864,"km_value":333314519008804.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:30:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1487947065240444928,"description":"Unknown IO ID 44"} 
[2026-07-01 12:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419583744001,"power":27930,"unknown_38":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1487947065240444928}} 
[2026-07-01 12:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":120849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:30:03] local.INFO: GPS data processed {"connection_id":120849,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:30:03] local.INFO: Acknowledgment sent {"connection_id":120849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:30:20] local.INFO: TCP Data received {"connection_id":119095,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:30:20] local.INFO: Processing buffer {"connection_id":119095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:30:20] local.INFO: IMEI packet received {"connection_id":119095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 12:30:20] local.INFO: IMEI acknowledgment sent {"connection_id":119095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:30:26] local.INFO: TCP Data received {"connection_id":119095,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:30:26] local.INFO: Processing buffer {"connection_id":119095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:30:26] local.INFO: IMEI packet received {"connection_id":119095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":119095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:30:27] local.INFO: TCP Data received {"connection_id":119095,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c77cc68012ceb59c00713c2200007012126..."} 
[2026-07-01 12:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c77cc68012ceb59c00713c2200007012126..."} 
[2026-07-01 12:30:27] local.INFO: Processing buffer {"connection_id":119095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c77cc68012ceb59c00713c2200007012126..."} 
[2026-07-01 12:30:27] local.INFO: Packet analysis {"connection_id":119095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c77"} 
[2026-07-01 12:30:27] local.INFO: Extracted packet for processing {"connection_id":119095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c77"} 
[2026-07-01 12:30:27] local.INFO: GPS Element Parsed {"raw_longitude":753621440,"raw_latitude":118735392,"longitude_deg":75.362144,"latitude_deg":11.8735392,"altitude":7,"angle":289,"satellites":38,"speed":0,"hex_longitude":"2ceb59c0","hex_latitude":"0713c220","is_valid_coordinates":true} 
[2026-07-01 12:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419589120001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314519008804864,"note":"Value kept but may cause issues"} 
[2026-07-01 12:30:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1487947065240444928,"note":"Value kept but may cause issues"} 
[2026-07-01 12:30:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782889041000,"timestamp_ms":1782889041000,"timestamp_seconds":1782889041,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c77cc68"} 
[2026-07-01 12:30:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:30:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 12:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-01 12:30:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:30:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:30:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:30:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419589120001,"66":27908,"38":206,"83":41472,"24":0,"16":333314519008804864,"44":-1487947065240444928},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,83,24,16,44]} 
[2026-07-01 12:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419589120001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:30:27] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-01 12:30:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314519008804864,"km_value":333314519008804.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:30:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1487947065240444928,"description":"Unknown IO ID 44"} 
[2026-07-01 12:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419589120001,"power":27908,"unknown_38":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1487947065240444928}} 
[2026-07-01 12:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":119095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:30:27] local.INFO: GPS data processed {"connection_id":119095,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:30:27] local.INFO: Acknowledgment sent {"connection_id":119095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:30:41] local.INFO: TCP Data received {"connection_id":119768,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119768,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:30:41] local.INFO: Processing buffer {"connection_id":119768,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:30:41] local.INFO: IMEI packet received {"connection_id":119768,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 12:30:41] local.INFO: IMEI acknowledgment sent {"connection_id":119768,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:31:01] local.INFO: TCP Data received {"connection_id":119095,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c781e70012ceb59c00713c2200007012125..."} 
[2026-07-01 12:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c781e70012ceb59c00713c2200007012125..."} 
[2026-07-01 12:31:01] local.INFO: Processing buffer {"connection_id":119095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c781e70012ceb59c00713c2200007012125..."} 
[2026-07-01 12:31:01] local.INFO: Packet analysis {"connection_id":119095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c78"} 
[2026-07-01 12:31:01] local.INFO: Extracted packet for processing {"connection_id":119095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c78"} 
[2026-07-01 12:31:01] local.INFO: GPS Element Parsed {"raw_longitude":753621440,"raw_latitude":118735392,"longitude_deg":75.362144,"latitude_deg":11.8735392,"altitude":7,"angle":289,"satellites":37,"speed":0,"hex_longitude":"2ceb59c0","hex_latitude":"0713c220","is_valid_coordinates":true} 
[2026-07-01 12:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419594496001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314519008804864,"note":"Value kept but may cause issues"} 
[2026-07-01 12:31:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1487947065240444928,"note":"Value kept but may cause issues"} 
[2026-07-01 12:31:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782889062000,"timestamp_ms":1782889062000,"timestamp_seconds":1782889062,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c781e70"} 
[2026-07-01 12:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:31:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 12:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 12:31:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:31:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":119095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":119095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":119095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:31:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419594496001,"66":27908,"38":206,"83":41472,"24":0,"16":333314519008804864,"44":-1487947065240444928},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,83,24,16,44]} 
[2026-07-01 12:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419594496001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:31:01] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-01 12:31:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314519008804864,"km_value":333314519008804.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:31:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1487947065240444928,"description":"Unknown IO ID 44"} 
[2026-07-01 12:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419594496001,"power":27908,"unknown_38":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1487947065240444928}} 
[2026-07-01 12:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":119095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:31:01] local.INFO: GPS data processed {"connection_id":119095,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:31:01] local.INFO: Acknowledgment sent {"connection_id":119095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:31:15] local.INFO: TCP Data received {"connection_id":119769,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119769,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:31:15] local.INFO: Processing buffer {"connection_id":119769,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:31:15] local.INFO: IMEI packet received {"connection_id":119769,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 12:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":119769,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:31:20] local.INFO: TCP Data received {"connection_id":118971,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:31:20] local.INFO: Processing buffer {"connection_id":118971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:31:20] local.INFO: IMEI packet received {"connection_id":118971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 12:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":118971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:31:21] local.INFO: TCP Data received {"connection_id":119769,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119769,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:31:21] local.INFO: Processing buffer {"connection_id":119769,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:31:21] local.INFO: IMEI packet received {"connection_id":119769,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-01 12:31:21] local.INFO: IMEI acknowledgment sent {"connection_id":119769,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:31:26] local.INFO: TCP Data received {"connection_id":118971,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:31:26] local.INFO: Processing buffer {"connection_id":118971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:31:26] local.INFO: IMEI packet received {"connection_id":118971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":118971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:31:27] local.INFO: TCP Data received {"connection_id":118971,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c787078012ceb59c00713c2200007012123..."} 
[2026-07-01 12:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c787078012ceb59c00713c2200007012123..."} 
[2026-07-01 12:31:27] local.INFO: Processing buffer {"connection_id":118971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c787078012ceb59c00713c2200007012123..."} 
[2026-07-01 12:31:27] local.INFO: Packet analysis {"connection_id":118971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c78"} 
[2026-07-01 12:31:27] local.INFO: Extracted packet for processing {"connection_id":118971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c78"} 
[2026-07-01 12:31:27] local.INFO: GPS Element Parsed {"raw_longitude":753621440,"raw_latitude":118735392,"longitude_deg":75.362144,"latitude_deg":11.8735392,"altitude":7,"angle":289,"satellites":35,"speed":0,"hex_longitude":"2ceb59c0","hex_latitude":"0713c220","is_valid_coordinates":true} 
[2026-07-01 12:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419599872001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314519008804864,"note":"Value kept but may cause issues"} 
[2026-07-01 12:31:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1487947065240444928,"note":"Value kept but may cause issues"} 
[2026-07-01 12:31:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782889083000,"timestamp_ms":1782889083000,"timestamp_seconds":1782889083,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c787078"} 
[2026-07-01 12:31:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:31:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 12:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 12:31:27] 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-01 12:31:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:31:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:31:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419599872001,"66":27908,"38":206,"83":41472,"24":0,"16":333314519008804864,"44":-1487947065240444928},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,83,24,16,44]} 
[2026-07-01 12:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419599872001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:31:27] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-01 12:31:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314519008804864,"km_value":333314519008804.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:31:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1487947065240444928,"description":"Unknown IO ID 44"} 
[2026-07-01 12:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419599872001,"power":27908,"unknown_38":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1487947065240444928}} 
[2026-07-01 12:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":118971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:31:27] local.INFO: GPS data processed {"connection_id":118971,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:31:27] local.INFO: Acknowledgment sent {"connection_id":118971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:31:56] local.INFO: TCP Data received {"connection_id":119769,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c589c08012cb2a100078241900046015f2e..."} 
[2026-07-01 12:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c589c08012cb2a100078241900046015f2e..."} 
[2026-07-01 12:31:56] local.INFO: Processing buffer {"connection_id":119769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c589c08012cb2a100078241900046015f2e..."} 
[2026-07-01 12:31:56] local.INFO: Packet analysis {"connection_id":119769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c58"} 
[2026-07-01 12:31:56] local.INFO: Extracted packet for processing {"connection_id":119769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c58"} 
[2026-07-01 12:31:56] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125976976,"longitude_deg":74.9904128,"latitude_deg":12.5976976,"altitude":70,"angle":351,"satellites":46,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07824190","is_valid_coordinates":true} 
[2026-07-01 12:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:31:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456418994176001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:31:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130042358363324416,"note":"Value kept but may cause issues"} 
[2026-07-01 12:31:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831457857536,"note":"Value kept but may cause issues"} 
[2026-07-01 12:31: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-01 12:31:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782886997000,"timestamp_ms":1782886997000,"timestamp_seconds":1782886997,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c589c08"} 
[2026-07-01 12:31:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:31: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-01 12:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-01 12:31:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:31:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:31:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:31:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:31:56] local.INFO: Teltonika packet parsed successfully {"connection_id":119769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:31:56] local.INFO: Passing IMEI to GPS processor {"connection_id":119769,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-01 12:31:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":119769,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-01 12:31:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:31:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-01 12:31:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-01 12:31:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456418994176001,"66":25919,"221":206,"85":36864,"24":0,"16":130042358363324416,"44":-5575174831457857536},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-01 12:31:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-01 12:31:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-01 12:31:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456418994176001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:31:56] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-01 12:31:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-01 12:31:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130042358363324416,"km_value":130042358363324.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:31:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831457857536,"description":"Unknown IO ID 44"} 
[2026-07-01 12:31:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456418994176001,"power":25919,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5575174831457857536}} 
[2026-07-01 12:31:56] local.INFO: DEBUG: GPS processor result {"connection_id":119769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417252,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:31:56] local.INFO: GPS data processed {"connection_id":119769,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:31:56] local.INFO: Acknowledgment sent {"connection_id":119769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:32:08] local.INFO: TCP Data received {"connection_id":118971,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c78c280012ceb59c00713c2200007012125..."} 
[2026-07-01 12:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c78c280012ceb59c00713c2200007012125..."} 
[2026-07-01 12:32:08] local.INFO: Processing buffer {"connection_id":118971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c78c280012ceb59c00713c2200007012125..."} 
[2026-07-01 12:32:08] local.INFO: Packet analysis {"connection_id":118971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c78"} 
[2026-07-01 12:32:08] local.INFO: Extracted packet for processing {"connection_id":118971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c78"} 
[2026-07-01 12:32:08] local.INFO: GPS Element Parsed {"raw_longitude":753621440,"raw_latitude":118735392,"longitude_deg":75.362144,"latitude_deg":11.8735392,"altitude":7,"angle":289,"satellites":37,"speed":0,"hex_longitude":"2ceb59c0","hex_latitude":"0713c220","is_valid_coordinates":true} 
[2026-07-01 12:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419605248001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333314519008804864,"note":"Value kept but may cause issues"} 
[2026-07-01 12:32:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1487947065240444928,"note":"Value kept but may cause issues"} 
[2026-07-01 12:32:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782889104000,"timestamp_ms":1782889104000,"timestamp_seconds":1782889104,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c78c280"} 
[2026-07-01 12:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:32: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-01 12:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 12:32:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:32:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":118971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":118971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":118971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419605248001,"66":27930,"38":206,"83":41472,"24":0,"16":333314519008804864,"44":-1487947065240444928},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,83,24,16,44]} 
[2026-07-01 12:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419605248001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:32:08] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-01 12:32:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333314519008804864,"km_value":333314519008804.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:32:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1487947065240444928,"description":"Unknown IO ID 44"} 
[2026-07-01 12:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419605248001,"power":27930,"unknown_38":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1487947065240444928}} 
[2026-07-01 12:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":118971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:32:08] local.INFO: GPS data processed {"connection_id":118971,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:32:08] local.INFO: Acknowledgment sent {"connection_id":118971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:32:21] local.INFO: TCP Data received {"connection_id":119770,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119770,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:32:21] local.INFO: Processing buffer {"connection_id":119770,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:32:21] local.INFO: IMEI packet received {"connection_id":119770,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 12:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":119770,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:32:23] local.INFO: TCP Data received {"connection_id":120850,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:32:23] local.INFO: Processing buffer {"connection_id":120850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:32:23] local.INFO: IMEI packet received {"connection_id":120850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 12:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":120850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:32:25] local.INFO: TCP Data received {"connection_id":120850,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:32:25] local.INFO: Processing buffer {"connection_id":120850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:32:25] local.INFO: IMEI packet received {"connection_id":120850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":120850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:32:25] local.INFO: TCP Data received {"connection_id":120850,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:32:25] local.INFO: Processing buffer {"connection_id":120850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:32:25] local.INFO: IMEI packet received {"connection_id":120850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":120850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:32:27] local.INFO: TCP Data received {"connection_id":120850,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:32:27] local.INFO: Processing buffer {"connection_id":120850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:32:27] local.INFO: IMEI packet received {"connection_id":120850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":120850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:32:28] local.INFO: TCP Data received {"connection_id":120850,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c7b7200012ceb0fc00713dea00005012723..."} 
[2026-07-01 12:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c7b7200012ceb0fc00713dea00005012723..."} 
[2026-07-01 12:32:28] local.INFO: Processing buffer {"connection_id":120850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c7b7200012ceb0fc00713dea00005012723..."} 
[2026-07-01 12:32:28] local.INFO: Packet analysis {"connection_id":120850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c7b"} 
[2026-07-01 12:32:28] local.INFO: Extracted packet for processing {"connection_id":120850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c7b"} 
[2026-07-01 12:32:28] local.INFO: GPS Element Parsed {"raw_longitude":753602496,"raw_latitude":118742688,"longitude_deg":75.3602496,"latitude_deg":11.8742688,"altitude":5,"angle":295,"satellites":35,"speed":16,"hex_longitude":"2ceb0fc0","hex_latitude":"0713dea0","is_valid_coordinates":true} 
[2026-07-01 12:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:32:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419653632001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:32:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333315511146250240,"note":"Value kept but may cause issues"} 
[2026-07-01 12:32:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1505539251283322880,"note":"Value kept but may cause issues"} 
[2026-07-01 12:32:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:32:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782889280000,"timestamp_ms":1782889280000,"timestamp_seconds":1782889280,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c7b7200"} 
[2026-07-01 12:32:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:32: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-01 12:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-01 12:32:28] 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-01 12:32:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:32:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:32:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:32:28] local.INFO: Teltonika packet parsed successfully {"connection_id":120850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:32:28] local.INFO: Passing IMEI to GPS processor {"connection_id":120850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:32:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":120850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:32:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:32:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:32:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:32:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419653632001,"66":27745,"38":206,"83":41472,"24":16,"16":333315511146250240,"44":-1505539251283322880},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,83,24,16,44]} 
[2026-07-01 12:32:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:32:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:32:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419653632001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:32:28] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-01 12:32:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 12:32:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333315511146250240,"km_value":333315511146250.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:32:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1505539251283322880,"description":"Unknown IO ID 44"} 
[2026-07-01 12:32:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419653632001,"power":27745,"unknown_38":206,"unknown_83":41472,"ignition":16,"odometer":null,"unknown_44":-1505539251283322880}} 
[2026-07-01 12:32:28] local.INFO: DEBUG: GPS processor result {"connection_id":120850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:32:28] local.INFO: GPS data processed {"connection_id":120850,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:32:28] local.INFO: Acknowledgment sent {"connection_id":120850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:32:31] local.INFO: TCP Data received {"connection_id":120850,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c7b9910012ceb02400713e5c80007013225..."} 
[2026-07-01 12:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c7b9910012ceb02400713e5c80007013225..."} 
[2026-07-01 12:32:31] local.INFO: Processing buffer {"connection_id":120850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c7b9910012ceb02400713e5c80007013225..."} 
[2026-07-01 12:32:31] local.INFO: Packet analysis {"connection_id":120850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c7b"} 
[2026-07-01 12:32:31] local.INFO: Extracted packet for processing {"connection_id":120850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c7b"} 
[2026-07-01 12:32:31] local.INFO: GPS Element Parsed {"raw_longitude":753599040,"raw_latitude":118744520,"longitude_deg":75.359904,"latitude_deg":11.874452,"altitude":7,"angle":306,"satellites":37,"speed":16,"hex_longitude":"2ceb0240","hex_latitude":"0713e5c8","is_valid_coordinates":true} 
[2026-07-01 12:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419655680001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333315700124811264,"note":"Value kept but may cause issues"} 
[2026-07-01 12:32:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1508776213515165696,"note":"Value kept but may cause issues"} 
[2026-07-01 12:32:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782889290000,"timestamp_ms":1782889290000,"timestamp_seconds":1782889290,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c7b9910"} 
[2026-07-01 12:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:32:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 12:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 12:32:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:32:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":120850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":120850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":120850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:32:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419655680001,"66":27865,"122":206,"83":41216,"24":16,"16":333315700124811264,"44":-1508776213515165696},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,83,24,16,44]} 
[2026-07-01 12:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419655680001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:32:31] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-01 12:32:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 12:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333315700124811264,"km_value":333315700124811.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:32:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1508776213515165696,"description":"Unknown IO ID 44"} 
[2026-07-01 12:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419655680001,"power":27865,"unknown_122":206,"unknown_83":41216,"ignition":16,"odometer":null,"unknown_44":-1508776213515165696}} 
[2026-07-01 12:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":120850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:32:31] local.INFO: GPS data processed {"connection_id":120850,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:32:31] local.INFO: Acknowledgment sent {"connection_id":120850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:33:03] local.INFO: TCP Data received {"connection_id":120850,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c7bb468012ceaf8400713ee200008012324..."} 
[2026-07-01 12:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c7bb468012ceaf8400713ee200008012324..."} 
[2026-07-01 12:33:03] local.INFO: Processing buffer {"connection_id":120850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c7bb468012ceaf8400713ee200008012324..."} 
[2026-07-01 12:33:03] local.INFO: Packet analysis {"connection_id":120850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c7b"} 
[2026-07-01 12:33:03] local.INFO: Extracted packet for processing {"connection_id":120850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c7b"} 
[2026-07-01 12:33:03] local.INFO: GPS Element Parsed {"raw_longitude":753596480,"raw_latitude":118746656,"longitude_deg":75.359648,"latitude_deg":11.8746656,"altitude":8,"angle":291,"satellites":36,"speed":18,"hex_longitude":"2ceaf840","hex_latitude":"0713ee20","is_valid_coordinates":true} 
[2026-07-01 12: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-01 12:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419658240001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333315859038601216,"note":"Value kept but may cause issues"} 
[2026-07-01 12:33:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1512576125700290560,"note":"Value kept but may cause issues"} 
[2026-07-01 12:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782889297000,"timestamp_ms":1782889297000,"timestamp_seconds":1782889297,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c7bb468"} 
[2026-07-01 12: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-01 12:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 12:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 12:33:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12: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-01 12: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-01 12:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":120850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":120850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":120850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419658240001,"66":28006,"122":206,"83":41216,"24":18,"16":333315859038601216,"44":-1512576125700290560},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,83,24,16,44]} 
[2026-07-01 12:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419658240001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:33:03] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-01 12:33:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 12:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333315859038601216,"km_value":333315859038601.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:33:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1512576125700290560,"description":"Unknown IO ID 44"} 
[2026-07-01 12:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419658240001,"power":28006,"unknown_122":206,"unknown_83":41216,"ignition":18,"odometer":null,"unknown_44":-1512576125700290560}} 
[2026-07-01 12:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":120850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:33:03] local.INFO: GPS data processed {"connection_id":120850,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:33:03] local.INFO: Acknowledgment sent {"connection_id":120850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:33:21] local.INFO: TCP Data received {"connection_id":120852,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:33:21] local.INFO: Processing buffer {"connection_id":120852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:33:21] local.INFO: IMEI packet received {"connection_id":120852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 12:33:21] local.INFO: IMEI acknowledgment sent {"connection_id":120852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:33:26] local.INFO: TCP Data received {"connection_id":120852,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:33:26] local.INFO: Processing buffer {"connection_id":120852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:33:26] local.INFO: IMEI packet received {"connection_id":120852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":120852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:33:27] local.INFO: TCP Data received {"connection_id":120852,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c7bd3a8012ceaee000713f2780009013226..."} 
[2026-07-01 12:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c7bd3a8012ceaee000713f2780009013226..."} 
[2026-07-01 12:33:27] local.INFO: Processing buffer {"connection_id":120852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c7bd3a8012ceaee000713f2780009013226..."} 
[2026-07-01 12:33:27] local.INFO: Packet analysis {"connection_id":120852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c7b"} 
[2026-07-01 12:33:27] local.INFO: Extracted packet for processing {"connection_id":120852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c7b"} 
[2026-07-01 12:33:27] local.INFO: GPS Element Parsed {"raw_longitude":753593856,"raw_latitude":118747768,"longitude_deg":75.3593856,"latitude_deg":11.8747768,"altitude":9,"angle":306,"satellites":38,"speed":13,"hex_longitude":"2ceaee00","hex_latitude":"0713f278","is_valid_coordinates":true} 
[2026-07-01 12:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419660032001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333315996477554688,"note":"Value kept but may cause issues"} 
[2026-07-01 12:33:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1515390875466850304,"note":"Value kept but may cause issues"} 
[2026-07-01 12:33:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782889305000,"timestamp_ms":1782889305000,"timestamp_seconds":1782889305,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c7bd3a8"} 
[2026-07-01 12:33:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:33:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 12:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-01 12:33:27] 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-01 12:33:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:33:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:33:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419660032001,"66":27908,"122":206,"83":41216,"24":13,"16":333315996477554688,"44":-1515390875466850304},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,83,24,16,44]} 
[2026-07-01 12:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419660032001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:33:27] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-01 12:33:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 12:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333315996477554688,"km_value":333315996477554.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:33:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1515390875466850304,"description":"Unknown IO ID 44"} 
[2026-07-01 12:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419660032001,"power":27908,"unknown_122":206,"unknown_83":41216,"ignition":13,"odometer":null,"unknown_44":-1515390875466850304}} 
[2026-07-01 12:33:27] local.INFO: DEBUG: GPS processor result {"connection_id":120852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:33:27] local.INFO: GPS data processed {"connection_id":120852,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:33:27] local.INFO: Acknowledgment sent {"connection_id":120852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:33:58] local.INFO: TCP Data received {"connection_id":120852,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c7bdb78012ceaeb800713f4980008014023..."} 
[2026-07-01 12:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c7bdb78012ceaeb800713f4980008014023..."} 
[2026-07-01 12:33:58] local.INFO: Processing buffer {"connection_id":120852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c7bdb78012ceaeb800713f4980008014023..."} 
[2026-07-01 12:33:58] local.INFO: Packet analysis {"connection_id":120852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c7b"} 
[2026-07-01 12:33:58] local.INFO: Extracted packet for processing {"connection_id":120852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c7b"} 
[2026-07-01 12:33:58] local.INFO: GPS Element Parsed {"raw_longitude":753593216,"raw_latitude":118748312,"longitude_deg":75.3593216,"latitude_deg":11.8748312,"altitude":8,"angle":320,"satellites":35,"speed":18,"hex_longitude":"2ceaeb80","hex_latitude":"0713f498","is_valid_coordinates":true} 
[2026-07-01 12: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-01 12:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419662080001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333316035132260352,"note":"Value kept but may cause issues"} 
[2026-07-01 12:33:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1518275993977849856,"note":"Value kept but may cause issues"} 
[2026-07-01 12:33:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782889307000,"timestamp_ms":1782889307000,"timestamp_seconds":1782889307,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c7bdb78"} 
[2026-07-01 12: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-01 12:33:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 12: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 12:33:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12: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-01 12: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-01 12:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:33:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419662080001,"66":27767,"122":206,"83":41216,"24":18,"16":333316035132260352,"44":-1518275993977849856},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,83,24,16,44]} 
[2026-07-01 12:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419662080001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:33:58] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-01 12:33:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 12:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333316035132260352,"km_value":333316035132260.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:33:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1518275993977849856,"description":"Unknown IO ID 44"} 
[2026-07-01 12:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419662080001,"power":27767,"unknown_122":206,"unknown_83":41216,"ignition":18,"odometer":null,"unknown_44":-1518275993977849856}} 
[2026-07-01 12:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":120852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:33:58] local.INFO: GPS data processed {"connection_id":120852,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:33:58] local.INFO: Acknowledgment sent {"connection_id":120852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:34:21] local.INFO: TCP Data received {"connection_id":118973,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:34:21] local.INFO: Processing buffer {"connection_id":118973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:34:21] local.INFO: IMEI packet received {"connection_id":118973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 12:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":118973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:34:26] local.INFO: TCP Data received {"connection_id":118973,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:34:26] local.INFO: Processing buffer {"connection_id":118973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:34:26] local.INFO: IMEI packet received {"connection_id":118973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":118973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:34:27] local.INFO: TCP Data received {"connection_id":118973,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c7be348012ceae9000713f7e80007014b25..."} 
[2026-07-01 12:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c7be348012ceae9000713f7e80007014b25..."} 
[2026-07-01 12:34:27] local.INFO: Processing buffer {"connection_id":118973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c7be348012ceae9000713f7e80007014b25..."} 
[2026-07-01 12:34:27] local.INFO: Packet analysis {"connection_id":118973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c7b"} 
[2026-07-01 12:34:27] local.INFO: Extracted packet for processing {"connection_id":118973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c7b"} 
[2026-07-01 12:34:27] local.INFO: GPS Element Parsed {"raw_longitude":753592576,"raw_latitude":118749160,"longitude_deg":75.3592576,"latitude_deg":11.874916,"altitude":7,"angle":331,"satellites":37,"speed":21,"hex_longitude":"2ceae900","hex_latitude":"0713f7e8","is_valid_coordinates":true} 
[2026-07-01 12:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:34:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419662592001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:34:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333316086671867904,"note":"Value kept but may cause issues"} 
[2026-07-01 12:34:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1518979681419487232,"note":"Value kept but may cause issues"} 
[2026-07-01 12:34:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:34:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782889309000,"timestamp_ms":1782889309000,"timestamp_seconds":1782889309,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c7be348"} 
[2026-07-01 12:34:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:34:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 12:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 12:34:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:34:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:34:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:34:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:34:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:34:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:34:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:34:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:34:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:34:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:34:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419662592001,"66":27658,"122":206,"83":41216,"24":21,"16":333316086671867904,"44":-1518979681419487232},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,83,24,16,44]} 
[2026-07-01 12:34:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:34:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:34:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419662592001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:34:27] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-01 12:34:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 12:34:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333316086671867904,"km_value":333316086671867.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:34:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1518979681419487232,"description":"Unknown IO ID 44"} 
[2026-07-01 12:34:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419662592001,"power":27658,"unknown_122":206,"unknown_83":41216,"ignition":21,"odometer":null,"unknown_44":-1518979681419487232}} 
[2026-07-01 12:34:27] local.INFO: DEBUG: GPS processor result {"connection_id":118973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:34:27] local.INFO: GPS data processed {"connection_id":118973,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:34:27] local.INFO: Acknowledgment sent {"connection_id":118973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:34:58] local.INFO: TCP Data received {"connection_id":118973,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c7c3550012cead780071415e00007014922..."} 
[2026-07-01 12:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c7c3550012cead780071415e00007014922..."} 
[2026-07-01 12:34:58] local.INFO: Processing buffer {"connection_id":118973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c7c3550012cead780071415e00007014922..."} 
[2026-07-01 12:34:58] local.INFO: Packet analysis {"connection_id":118973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c7c"} 
[2026-07-01 12:34:58] local.INFO: Extracted packet for processing {"connection_id":118973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c7c"} 
[2026-07-01 12:34:58] local.INFO: GPS Element Parsed {"raw_longitude":753588096,"raw_latitude":118756832,"longitude_deg":75.3588096,"latitude_deg":11.8756832,"altitude":7,"angle":329,"satellites":34,"speed":8,"hex_longitude":"2cead780","hex_latitude":"071415e0","is_valid_coordinates":true} 
[2026-07-01 12: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-01 12:34:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419663104001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333316516168597504,"note":"Value kept but may cause issues"} 
[2026-07-01 12:34:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1519683368861046784,"note":"Value kept but may cause issues"} 
[2026-07-01 12:34:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:34:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782889330000,"timestamp_ms":1782889330000,"timestamp_seconds":1782889330,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c7c3550"} 
[2026-07-01 12: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-01 12:34:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 12: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-01 12:34:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12: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-01 12: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-01 12:34:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:34:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:34:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:34:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:34:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419663104001,"66":27767,"122":206,"83":41216,"24":8,"16":333316516168597504,"44":-1519683368861046784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,83,24,16,44]} 
[2026-07-01 12:34:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:34:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:34:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419663104001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:34:58] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-07-01 12:34:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 12:34:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333316516168597504,"km_value":333316516168597.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:34:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1519683368861046784,"description":"Unknown IO ID 44"} 
[2026-07-01 12:34:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419663104001,"power":27767,"unknown_122":206,"unknown_83":41216,"ignition":8,"odometer":null,"unknown_44":-1519683368861046784}} 
[2026-07-01 12:34:58] local.INFO: DEBUG: GPS processor result {"connection_id":118973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:34:58] local.INFO: GPS data processed {"connection_id":118973,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:34:58] local.INFO: Acknowledgment sent {"connection_id":118973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:35:21] local.INFO: TCP Data received {"connection_id":119096,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:35:21] local.INFO: Processing buffer {"connection_id":119096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:35:21] local.INFO: IMEI packet received {"connection_id":119096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 12:35:21] local.INFO: IMEI acknowledgment sent {"connection_id":119096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:35:23] local.INFO: TCP Data received {"connection_id":119096,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:35:23] local.INFO: Processing buffer {"connection_id":119096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:35:23] local.INFO: IMEI packet received {"connection_id":119096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:35:23] local.INFO: IMEI acknowledgment sent {"connection_id":119096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:35:26] local.INFO: TCP Data received {"connection_id":119096,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:35:26] local.INFO: Processing buffer {"connection_id":119096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:35:26] local.INFO: IMEI packet received {"connection_id":119096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":119096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:35:27] local.INFO: TCP Data received {"connection_id":119096,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c7c8758012ceac6c0071432f80009014825..."} 
[2026-07-01 12:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c7c8758012ceac6c0071432f80009014825..."} 
[2026-07-01 12:35:27] local.INFO: Processing buffer {"connection_id":119096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c7c8758012ceac6c0071432f80009014825..."} 
[2026-07-01 12:35:27] local.INFO: Packet analysis {"connection_id":119096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c7c"} 
[2026-07-01 12:35:27] local.INFO: Extracted packet for processing {"connection_id":119096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c7c"} 
[2026-07-01 12:35:27] local.INFO: GPS Element Parsed {"raw_longitude":753583808,"raw_latitude":118764280,"longitude_deg":75.3583808,"latitude_deg":11.876428,"altitude":9,"angle":328,"satellites":37,"speed":24,"hex_longitude":"2ceac6c0","hex_latitude":"071432f8","is_valid_coordinates":true} 
[2026-07-01 12:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:35:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419668480001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:35:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333316932780425216,"note":"Value kept but may cause issues"} 
[2026-07-01 12:35:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1524609180951519232,"note":"Value kept but may cause issues"} 
[2026-07-01 12:35:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:35:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782889351000,"timestamp_ms":1782889351000,"timestamp_seconds":1782889351,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c7c8758"} 
[2026-07-01 12:35:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:35:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 12:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 12:35:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:35:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:35:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:35:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:35:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:35:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:35:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:35:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:35:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:35:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:35:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419668480001,"66":27767,"82":206,"83":41216,"24":24,"16":333316932780425216,"44":-1524609180951519232},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,44]} 
[2026-07-01 12:35:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:35:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:35:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419668480001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:35:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 12:35:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 12:35:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333316932780425216,"km_value":333316932780425.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:35:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1524609180951519232,"description":"Unknown IO ID 44"} 
[2026-07-01 12:35:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419668480001,"power":27767,"unknown_82":206,"unknown_83":41216,"ignition":24,"odometer":null,"unknown_44":-1524609180951519232}} 
[2026-07-01 12:35:27] local.INFO: DEBUG: GPS processor result {"connection_id":119096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:35:27] local.INFO: GPS data processed {"connection_id":119096,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:35:27] local.INFO: Acknowledgment sent {"connection_id":119096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:35:58] local.INFO: TCP Data received {"connection_id":119096,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c7cd960012ceab50007144fe80009014826..."} 
[2026-07-01 12:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c7cd960012ceab50007144fe80009014826..."} 
[2026-07-01 12:35:58] local.INFO: Processing buffer {"connection_id":119096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c7cd960012ceab50007144fe80009014826..."} 
[2026-07-01 12:35:58] local.INFO: Packet analysis {"connection_id":119096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c7c"} 
[2026-07-01 12:35:58] local.INFO: Extracted packet for processing {"connection_id":119096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c7c"} 
[2026-07-01 12:35:58] local.INFO: GPS Element Parsed {"raw_longitude":753579264,"raw_latitude":118771688,"longitude_deg":75.3579264,"latitude_deg":11.8771688,"altitude":9,"angle":328,"satellites":38,"speed":18,"hex_longitude":"2ceab500","hex_latitude":"07144fe8","is_valid_coordinates":true} 
[2026-07-01 12: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-01 12:35:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419673856001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:35:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333317353687220224,"note":"Value kept but may cause issues"} 
[2026-07-01 12:35:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1529323886809516032,"note":"Value kept but may cause issues"} 
[2026-07-01 12:35:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:35:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782889372000,"timestamp_ms":1782889372000,"timestamp_seconds":1782889372,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c7cd960"} 
[2026-07-01 12: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-01 12:35:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 12: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 12:35:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12: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-01 12: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-01 12:35:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:35:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:35:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:35:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:35:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:35:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:35:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:35:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419673856001,"66":27789,"82":206,"83":41216,"24":18,"16":333317353687220224,"44":-1529323886809516032},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,44]} 
[2026-07-01 12:35:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:35:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:35:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419673856001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:35:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-07-01 12:35:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 12:35:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333317353687220224,"km_value":333317353687220.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:35:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1529323886809516032,"description":"Unknown IO ID 44"} 
[2026-07-01 12:35:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419673856001,"power":27789,"unknown_82":206,"unknown_83":41216,"ignition":18,"odometer":null,"unknown_44":-1529323886809516032}} 
[2026-07-01 12:35:58] local.INFO: DEBUG: GPS processor result {"connection_id":119096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:35:58] local.INFO: GPS data processed {"connection_id":119096,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:35:58] local.INFO: Acknowledgment sent {"connection_id":119096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:36:20] local.INFO: TCP Data received {"connection_id":120854,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:36:20] local.INFO: Processing buffer {"connection_id":120854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:36:20] local.INFO: IMEI packet received {"connection_id":120854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 12:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":120854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:36:26] local.INFO: TCP Data received {"connection_id":120854,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:36:26] local.INFO: Processing buffer {"connection_id":120854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:36:26] local.INFO: IMEI packet received {"connection_id":120854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":120854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:36:27] local.INFO: TCP Data received {"connection_id":120854,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c7ef470012ce9e80007156190000a015925..."} 
[2026-07-01 12:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c7ef470012ce9e80007156190000a015925..."} 
[2026-07-01 12:36:27] local.INFO: Processing buffer {"connection_id":120854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c7ef470012ce9e80007156190000a015925..."} 
[2026-07-01 12:36:27] local.INFO: Packet analysis {"connection_id":120854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c7e"} 
[2026-07-01 12:36:27] local.INFO: Extracted packet for processing {"connection_id":120854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c7e"} 
[2026-07-01 12:36:27] local.INFO: GPS Element Parsed {"raw_longitude":753526784,"raw_latitude":118841744,"longitude_deg":75.3526784,"latitude_deg":11.8841744,"altitude":10,"angle":345,"satellites":37,"speed":33,"hex_longitude":"2ce9e800","hex_latitude":"07156190","is_valid_coordinates":true} 
[2026-07-01 12:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419709952001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333321622884712448,"note":"Value kept but may cause issues"} 
[2026-07-01 12:36:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1588785475622080512,"note":"Value kept but may cause issues"} 
[2026-07-01 12:36:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782889510000,"timestamp_ms":1782889510000,"timestamp_seconds":1782889510,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c7ef470"} 
[2026-07-01 12:36:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:36:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 12:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 12:36:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:36:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:36:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:36:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419709952001,"66":27604,"123":206,"83":41216,"24":33,"16":333321622884712448,"44":-1588785475622080512},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,83,24,16,44]} 
[2026-07-01 12:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419709952001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:36:27] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-07-01 12:36:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 12:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333321622884712448,"km_value":333321622884712.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:36:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1588785475622080512,"description":"Unknown IO ID 44"} 
[2026-07-01 12:36:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419709952001,"power":27604,"unknown_123":206,"unknown_83":41216,"ignition":33,"odometer":null,"unknown_44":-1588785475622080512}} 
[2026-07-01 12:36:27] local.INFO: DEBUG: GPS processor result {"connection_id":120854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:36:27] local.INFO: GPS data processed {"connection_id":120854,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:36:27] local.INFO: Acknowledgment sent {"connection_id":120854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:36:58] local.INFO: TCP Data received {"connection_id":120854,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c7f2738012ce9df80071584d0000e015924..."} 
[2026-07-01 12:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c7f2738012ce9df80071584d0000e015924..."} 
[2026-07-01 12:36:58] local.INFO: Processing buffer {"connection_id":120854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c7f2738012ce9df80071584d0000e015924..."} 
[2026-07-01 12:36:58] local.INFO: Packet analysis {"connection_id":120854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c7f"} 
[2026-07-01 12:36:58] local.INFO: Extracted packet for processing {"connection_id":120854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c7f"} 
[2026-07-01 12:36:58] local.INFO: GPS Element Parsed {"raw_longitude":753524608,"raw_latitude":118850768,"longitude_deg":75.3524608,"latitude_deg":11.8850768,"altitude":14,"angle":345,"satellites":36,"speed":17,"hex_longitude":"2ce9df80","hex_latitude":"071584d0","is_valid_coordinates":true} 
[2026-07-01 12:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419714560001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333322073856278528,"note":"Value kept but may cause issues"} 
[2026-07-01 12:36:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1592022437851983872,"note":"Value kept but may cause issues"} 
[2026-07-01 12:36:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782889523000,"timestamp_ms":1782889523000,"timestamp_seconds":1782889523,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c7f2738"} 
[2026-07-01 12:36:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:36:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 12:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-01 12:36:58] 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-01 12:36:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:36:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:36:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419714560001,"66":27767,"123":206,"83":41216,"24":17,"16":333322073856278528,"44":-1592022437851983872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,83,24,16,44]} 
[2026-07-01 12:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419714560001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:36:58] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-07-01 12:36:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 12:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333322073856278528,"km_value":333322073856278.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:36:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1592022437851983872,"description":"Unknown IO ID 44"} 
[2026-07-01 12:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419714560001,"power":27767,"unknown_123":206,"unknown_83":41216,"ignition":17,"odometer":null,"unknown_44":-1592022437851983872}} 
[2026-07-01 12:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":120854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:36:58] local.INFO: GPS data processed {"connection_id":120854,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:36:58] local.INFO: Acknowledgment sent {"connection_id":120854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:37:20] local.INFO: TCP Data received {"connection_id":118975,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:37:20] local.INFO: Processing buffer {"connection_id":118975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:37:20] local.INFO: IMEI packet received {"connection_id":118975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 12:37:20] local.INFO: IMEI acknowledgment sent {"connection_id":118975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:37:26] local.INFO: TCP Data received {"connection_id":118975,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:37:26] local.INFO: Processing buffer {"connection_id":118975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:37:26] local.INFO: IMEI packet received {"connection_id":118975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":118975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:37:27] local.INFO: TCP Data received {"connection_id":118975,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c7f61d0012ce9d4800715a758000d015a24..."} 
[2026-07-01 12:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c7f61d0012ce9d4800715a758000d015a24..."} 
[2026-07-01 12:37:27] local.INFO: Processing buffer {"connection_id":118975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c7f61d0012ce9d4800715a758000d015a24..."} 
[2026-07-01 12:37:27] local.INFO: Packet analysis {"connection_id":118975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c7f"} 
[2026-07-01 12:37:27] local.INFO: Extracted packet for processing {"connection_id":118975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c7f"} 
[2026-07-01 12:37:27] local.INFO: GPS Element Parsed {"raw_longitude":753521792,"raw_latitude":118859608,"longitude_deg":75.3521792,"latitude_deg":11.8859608,"altitude":13,"angle":346,"satellites":36,"speed":35,"hex_longitude":"2ce9d480","hex_latitude":"0715a758","is_valid_coordinates":true} 
[2026-07-01 12:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419717888001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333322520532877312,"note":"Value kept but may cause issues"} 
[2026-07-01 12:37:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1594414975151714304,"note":"Value kept but may cause issues"} 
[2026-07-01 12:37:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782889538000,"timestamp_ms":1782889538000,"timestamp_seconds":1782889538,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c7f61d0"} 
[2026-07-01 12:37:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:37:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 12:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 12:37:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:37:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:37:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:37:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419717888001,"66":27745,"123":206,"83":41216,"24":35,"16":333322520532877312,"44":-1594414975151714304},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,83,24,16,44]} 
[2026-07-01 12:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419717888001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:37:27] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-07-01 12:37:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 12:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333322520532877312,"km_value":333322520532877.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:37:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1594414975151714304,"description":"Unknown IO ID 44"} 
[2026-07-01 12:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419717888001,"power":27745,"unknown_123":206,"unknown_83":41216,"ignition":35,"odometer":null,"unknown_44":-1594414975151714304}} 
[2026-07-01 12:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":118975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:37:27] local.INFO: GPS data processed {"connection_id":118975,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:37:27] local.INFO: Acknowledgment sent {"connection_id":118975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:37:40] local.INFO: TCP Data received {"connection_id":118974,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118974,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:37:40] local.INFO: Processing buffer {"connection_id":118974,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:37:40] local.INFO: IMEI packet received {"connection_id":118974,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 12:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":118974,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:37:58] local.INFO: TCP Data received {"connection_id":118975,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c7f8cc8012ce9cd800715ca800009015e25..."} 
[2026-07-01 12:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c7f8cc8012ce9cd800715ca800009015e25..."} 
[2026-07-01 12:37:58] local.INFO: Processing buffer {"connection_id":118975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c7f8cc8012ce9cd800715ca800009015e25..."} 
[2026-07-01 12:37:58] local.INFO: Packet analysis {"connection_id":118975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c7f"} 
[2026-07-01 12:37:58] local.INFO: Extracted packet for processing {"connection_id":118975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c7f"} 
[2026-07-01 12:37:58] local.INFO: GPS Element Parsed {"raw_longitude":753520000,"raw_latitude":118868608,"longitude_deg":75.352,"latitude_deg":11.8868608,"altitude":9,"angle":350,"satellites":37,"speed":30,"hex_longitude":"2ce9cd80","hex_latitude":"0715ca80","is_valid_coordinates":true} 
[2026-07-01 12:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419721728001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:37:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333322967209476096,"note":"Value kept but may cause issues"} 
[2026-07-01 12:37:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1597511199893268480,"note":"Value kept but may cause issues"} 
[2026-07-01 12:37:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782889549000,"timestamp_ms":1782889549000,"timestamp_seconds":1782889549,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c7f8cc8"} 
[2026-07-01 12:37:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:37:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 12:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 12:37:58] 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-01 12:37:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:37:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:37:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:37:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:37:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:37:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:37:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419721728001,"66":27865,"25":206,"83":41216,"24":30,"16":333322967209476096,"44":-1597511199893268480},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,83,24,16,44]} 
[2026-07-01 12:37:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:37:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:37:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419721728001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:37:58] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-07-01 12:37:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 12:37:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333322967209476096,"km_value":333322967209476.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:37:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1597511199893268480,"description":"Unknown IO ID 44"} 
[2026-07-01 12:37:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419721728001,"power":27865,"unknown_25":206,"unknown_83":41216,"ignition":30,"odometer":null,"unknown_44":-1597511199893268480}} 
[2026-07-01 12:37:58] local.INFO: DEBUG: GPS processor result {"connection_id":118975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:37:58] local.INFO: GPS data processed {"connection_id":118975,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:37:58] local.INFO: Acknowledgment sent {"connection_id":118975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:38:15] local.INFO: TCP Data received {"connection_id":119098,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119098,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:38:15] local.INFO: Processing buffer {"connection_id":119098,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:38:15] local.INFO: IMEI packet received {"connection_id":119098,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 12:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":119098,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:38:22] local.INFO: TCP Data received {"connection_id":118976,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:38:22] local.INFO: Processing buffer {"connection_id":118976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:38:22] local.INFO: IMEI packet received {"connection_id":118976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 12:38:22] local.INFO: IMEI acknowledgment sent {"connection_id":118976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:38:25] local.INFO: TCP Data received {"connection_id":118976,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:38:25] local.INFO: Processing buffer {"connection_id":118976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:38:25] local.INFO: IMEI packet received {"connection_id":118976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:38:25] local.INFO: IMEI acknowledgment sent {"connection_id":118976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:38:25] local.INFO: TCP Data received {"connection_id":118976,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:38:25] local.INFO: Processing buffer {"connection_id":118976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:38:25] local.INFO: IMEI packet received {"connection_id":118976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:38:25] local.INFO: IMEI acknowledgment sent {"connection_id":118976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:38:31] local.INFO: TCP Data received {"connection_id":118976,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:38:31] local.INFO: Processing buffer {"connection_id":118976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:38:31] local.INFO: IMEI packet received {"connection_id":118976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":118976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:38:32] local.INFO: TCP Data received {"connection_id":118976,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c812ec0012ce98d0007171b480009014123..."} 
[2026-07-01 12:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c812ec0012ce98d0007171b480009014123..."} 
[2026-07-01 12:38:32] local.INFO: Processing buffer {"connection_id":118976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c812ec0012ce98d0007171b480009014123..."} 
[2026-07-01 12:38:32] local.INFO: Packet analysis {"connection_id":118976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c81"} 
[2026-07-01 12:38:32] local.INFO: Extracted packet for processing {"connection_id":118976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c81"} 
[2026-07-01 12:38:32] local.INFO: GPS Element Parsed {"raw_longitude":753503488,"raw_latitude":118954824,"longitude_deg":75.3503488,"latitude_deg":11.8954824,"altitude":9,"angle":321,"satellites":35,"speed":26,"hex_longitude":"2ce98d00","hex_latitude":"07171b48","is_valid_coordinates":true} 
[2026-07-01 12:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419751168001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333327244996902912,"note":"Value kept but may cause issues"} 
[2026-07-01 12:38:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1616510760797306880,"note":"Value kept but may cause issues"} 
[2026-07-01 12:38:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782889656000,"timestamp_ms":1782889656000,"timestamp_seconds":1782889656,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c812ec0"} 
[2026-07-01 12:38:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:38:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 12:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 12:38:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:38:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:38:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":118976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":118976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":118976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:38:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419751168001,"66":27821,"23":206,"83":41216,"24":26,"16":333327244996902912,"44":-1616510760797306880},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,44]} 
[2026-07-01 12:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419751168001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:38:32] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-01 12:38:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 12:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333327244996902912,"km_value":333327244996902.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:38:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1616510760797306880,"description":"Unknown IO ID 44"} 
[2026-07-01 12:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419751168001,"power":27821,"unknown_23":206,"unknown_83":41216,"ignition":26,"odometer":null,"unknown_44":-1616510760797306880}} 
[2026-07-01 12:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":118976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:38:32] local.INFO: GPS data processed {"connection_id":118976,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:38:32] local.INFO: Acknowledgment sent {"connection_id":118976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:38:37] local.INFO: TCP Data received {"connection_id":118976,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c814e00012ce9804007172ad8000d014f23..."} 
[2026-07-01 12:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c814e00012ce9804007172ad8000d014f23..."} 
[2026-07-01 12:38:37] local.INFO: Processing buffer {"connection_id":118976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c814e00012ce9804007172ad8000d014f23..."} 
[2026-07-01 12:38:37] local.INFO: Packet analysis {"connection_id":118976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c81"} 
[2026-07-01 12:38:37] local.INFO: Extracted packet for processing {"connection_id":118976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c81"} 
[2026-07-01 12:38:37] local.INFO: GPS Element Parsed {"raw_longitude":753500224,"raw_latitude":118958808,"longitude_deg":75.3500224,"latitude_deg":11.8958808,"altitude":13,"angle":335,"satellites":35,"speed":20,"hex_longitude":"2ce98040","hex_latitude":"07172ad8","is_valid_coordinates":true} 
[2026-07-01 12:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419751936001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333327494105006080,"note":"Value kept but may cause issues"} 
[2026-07-01 12:38:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1617636660703705088,"note":"Value kept but may cause issues"} 
[2026-07-01 12:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782889664000,"timestamp_ms":1782889664000,"timestamp_seconds":1782889664,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c814e00"} 
[2026-07-01 12:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 12:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 12:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":118976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":118976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":118976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419751936001,"66":27843,"23":206,"83":41216,"24":20,"16":333327494105006080,"44":-1617636660703705088},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,44]} 
[2026-07-01 12:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419751936001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:38:37] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-01 12:38:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 12:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333327494105006080,"km_value":333327494105006.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:38:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1617636660703705088,"description":"Unknown IO ID 44"} 
[2026-07-01 12:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419751936001,"power":27843,"unknown_23":206,"unknown_83":41216,"ignition":20,"odometer":null,"unknown_44":-1617636660703705088}} 
[2026-07-01 12:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":118976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:38:37] local.INFO: GPS data processed {"connection_id":118976,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:38:37] local.INFO: Acknowledgment sent {"connection_id":118976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:39:18] local.INFO: TCP Data received {"connection_id":118977,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:39:18] local.INFO: Processing buffer {"connection_id":118977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:39:18] local.INFO: IMEI packet received {"connection_id":118977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 12:39:18] local.INFO: IMEI acknowledgment sent {"connection_id":118977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:39:21] local.INFO: TCP Data received {"connection_id":118977,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:39:21] local.INFO: Processing buffer {"connection_id":118977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:39:21] local.INFO: IMEI packet received {"connection_id":118977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":118977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:39:26] local.INFO: TCP Data received {"connection_id":118977,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:39:26] local.INFO: Processing buffer {"connection_id":118977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:39:26] local.INFO: IMEI packet received {"connection_id":118977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":118977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:39:34] local.INFO: TCP Data received {"connection_id":118977,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c8159b8012ce97e8007173018000e015a24..."} 
[2026-07-01 12:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c8159b8012ce97e8007173018000e015a24..."} 
[2026-07-01 12:39:34] local.INFO: Processing buffer {"connection_id":118977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c8159b8012ce97e8007173018000e015a24..."} 
[2026-07-01 12:39:34] local.INFO: Packet analysis {"connection_id":118977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c81"} 
[2026-07-01 12:39:34] local.INFO: Extracted packet for processing {"connection_id":118977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c81"} 
[2026-07-01 12:39:34] local.INFO: GPS Element Parsed {"raw_longitude":753499776,"raw_latitude":118960152,"longitude_deg":75.3499776,"latitude_deg":11.8960152,"altitude":14,"angle":346,"satellites":36,"speed":15,"hex_longitude":"2ce97e80","hex_latitude":"07173018","is_valid_coordinates":true} 
[2026-07-01 12: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-01 12:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419753984001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333327562824482816,"note":"Value kept but may cause issues"} 
[2026-07-01 12:39:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1621225466655746048,"note":"Value kept but may cause issues"} 
[2026-07-01 12:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782889667000,"timestamp_ms":1782889667000,"timestamp_seconds":1782889667,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c8159b8"} 
[2026-07-01 12: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-01 12:39:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 12: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 12:39:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12: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-01 12: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-01 12:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":118977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":118977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":118977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419753984001,"66":27767,"23":206,"83":41216,"24":15,"16":333327562824482816,"44":-1621225466655746048},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,44]} 
[2026-07-01 12:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419753984001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:39:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-01 12:39:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 12:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333327562824482816,"km_value":333327562824482.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:39:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1621225466655746048,"description":"Unknown IO ID 44"} 
[2026-07-01 12:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419753984001,"power":27767,"unknown_23":206,"unknown_83":41216,"ignition":15,"odometer":null,"unknown_44":-1621225466655746048}} 
[2026-07-01 12:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":118977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:39:34] local.INFO: GPS data processed {"connection_id":118977,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:39:34] local.INFO: Acknowledgment sent {"connection_id":118977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:39:38] local.INFO: TCP Data received {"connection_id":118977,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c81a3f0012ce97640071752100012015e25..."} 
[2026-07-01 12:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c81a3f0012ce97640071752100012015e25..."} 
[2026-07-01 12:39:38] local.INFO: Processing buffer {"connection_id":118977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c81a3f0012ce97640071752100012015e25..."} 
[2026-07-01 12:39:38] local.INFO: Packet analysis {"connection_id":118977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c81"} 
[2026-07-01 12:39:38] local.INFO: Extracted packet for processing {"connection_id":118977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c81"} 
[2026-07-01 12:39:38] local.INFO: GPS Element Parsed {"raw_longitude":753497664,"raw_latitude":118968848,"longitude_deg":75.3497664,"latitude_deg":11.8968848,"altitude":18,"angle":350,"satellites":37,"speed":16,"hex_longitude":"2ce97640","hex_latitude":"07175210","is_valid_coordinates":true} 
[2026-07-01 12:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419754752001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333327996616179712,"note":"Value kept but may cause issues"} 
[2026-07-01 12:39:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1621718047864645632,"note":"Value kept but may cause issues"} 
[2026-07-01 12:39:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782889686000,"timestamp_ms":1782889686000,"timestamp_seconds":1782889686,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c81a3f0"} 
[2026-07-01 12:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 12:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 12:39:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":118977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":118977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":118977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419754752001,"66":27919,"53":206,"83":41216,"24":16,"16":333327996616179712,"44":-1621718047864645632},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,83,24,16,44]} 
[2026-07-01 12:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419754752001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:39:38] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-01 12:39:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 12:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333327996616179712,"km_value":333327996616179.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:39:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1621718047864645632,"description":"Unknown IO ID 44"} 
[2026-07-01 12:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419754752001,"power":27919,"unknown_53":206,"unknown_83":41216,"ignition":16,"odometer":null,"unknown_44":-1621718047864645632}} 
[2026-07-01 12:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":118977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:39:38] local.INFO: GPS data processed {"connection_id":118977,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:39:38] local.INFO: Acknowledgment sent {"connection_id":118977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:40:21] local.INFO: TCP Data received {"connection_id":119100,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:40:21] local.INFO: Processing buffer {"connection_id":119100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:40:21] local.INFO: IMEI packet received {"connection_id":119100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 12:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":119100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:40:21] local.INFO: TCP Data received {"connection_id":119100,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:40:21] local.INFO: Processing buffer {"connection_id":119100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:40:21] local.INFO: IMEI packet received {"connection_id":119100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":119100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:40:26] local.INFO: TCP Data received {"connection_id":119100,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:40:26] local.INFO: Processing buffer {"connection_id":119100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:40:26] local.INFO: IMEI packet received {"connection_id":119100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":119100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:40:27] local.INFO: TCP Data received {"connection_id":119100,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c828680012ce993400717bae00017016725..."} 
[2026-07-01 12:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c828680012ce993400717bae00017016725..."} 
[2026-07-01 12:40:27] local.INFO: Processing buffer {"connection_id":119100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c828680012ce993400717bae00017016725..."} 
[2026-07-01 12:40:27] local.INFO: Packet analysis {"connection_id":119100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c82"} 
[2026-07-01 12:40:27] local.INFO: Extracted packet for processing {"connection_id":119100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c82"} 
[2026-07-01 12:40:27] local.INFO: GPS Element Parsed {"raw_longitude":753505088,"raw_latitude":118995680,"longitude_deg":75.3505088,"latitude_deg":11.899568,"altitude":23,"angle":359,"satellites":37,"speed":36,"hex_longitude":"2ce99340","hex_latitude":"0717bae0","is_valid_coordinates":true} 
[2026-07-01 12:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:40:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419771392001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:40:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333329572869177344,"note":"Value kept but may cause issues"} 
[2026-07-01 12:40:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1616440392044632064,"note":"Value kept but may cause issues"} 
[2026-07-01 12:40:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:40:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782889744000,"timestamp_ms":1782889744000,"timestamp_seconds":1782889744,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c828680"} 
[2026-07-01 12:40:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:40:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 12:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 12:40:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:40:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:40:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:40:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:40:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:40:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:40:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:40:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:40:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:40:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:40:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419771392001,"66":27745,"53":206,"83":41216,"24":36,"16":333329572869177344,"44":-1616440392044632064},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,83,24,16,44]} 
[2026-07-01 12:40:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:40:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:40:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419771392001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:40:27] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-01 12:40:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 12:40:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333329572869177344,"km_value":333329572869177.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:40:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1616440392044632064,"description":"Unknown IO ID 44"} 
[2026-07-01 12:40:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419771392001,"power":27745,"unknown_53":206,"unknown_83":41216,"ignition":36,"odometer":null,"unknown_44":-1616440392044632064}} 
[2026-07-01 12:40:27] local.INFO: DEBUG: GPS processor result {"connection_id":119100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:40:27] local.INFO: GPS data processed {"connection_id":119100,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:40:27] local.INFO: Acknowledgment sent {"connection_id":119100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:40:58] local.INFO: TCP Data received {"connection_id":119100,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c82ad90012ce994000717de800016000125..."} 
[2026-07-01 12:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c82ad90012ce994000717de800016000125..."} 
[2026-07-01 12:40:58] local.INFO: Processing buffer {"connection_id":119100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c82ad90012ce994000717de800016000125..."} 
[2026-07-01 12:40:58] local.INFO: Packet analysis {"connection_id":119100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c82"} 
[2026-07-01 12:40:58] local.INFO: Extracted packet for processing {"connection_id":119100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c82"} 
[2026-07-01 12:40:58] local.INFO: GPS Element Parsed {"raw_longitude":753505280,"raw_latitude":119004800,"longitude_deg":75.350528,"latitude_deg":11.90048,"altitude":22,"angle":1,"satellites":37,"speed":39,"hex_longitude":"2ce99400","hex_latitude":"0717de80","is_valid_coordinates":true} 
[2026-07-01 12:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:40:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419774464001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:40:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333330015250808832,"note":"Value kept but may cause issues"} 
[2026-07-01 12:40:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1615877442088804352,"note":"Value kept but may cause issues"} 
[2026-07-01 12:40:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:40:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782889754000,"timestamp_ms":1782889754000,"timestamp_seconds":1782889754,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c82ad90"} 
[2026-07-01 12:40:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:40:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 12:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 12:40:58] 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-01 12:40:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:40:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:40:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:40:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:40:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:40:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:40:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:40:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:40:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:40:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419774464001,"66":27843,"53":206,"83":41216,"24":39,"16":333330015250808832,"44":-1615877442088804352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,83,24,16,44]} 
[2026-07-01 12:40:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:40:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:40:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419774464001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:40:58] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-01 12:40:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 12:40:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333330015250808832,"km_value":333330015250808.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:40:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1615877442088804352,"description":"Unknown IO ID 44"} 
[2026-07-01 12:40:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419774464001,"power":27843,"unknown_53":206,"unknown_83":41216,"ignition":39,"odometer":null,"unknown_44":-1615877442088804352}} 
[2026-07-01 12:40:58] local.INFO: DEBUG: GPS processor result {"connection_id":119100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:40:58] local.INFO: GPS data processed {"connection_id":119100,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:40:58] local.INFO: Acknowledgment sent {"connection_id":119100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:41:21] local.INFO: TCP Data received {"connection_id":118978,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:41:21] local.INFO: Processing buffer {"connection_id":118978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:41:21] local.INFO: IMEI packet received {"connection_id":118978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 12:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":118978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:41:26] local.INFO: TCP Data received {"connection_id":118978,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:41:26] local.INFO: Processing buffer {"connection_id":118978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:41:26] local.INFO: IMEI packet received {"connection_id":118978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":118978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:41:27] local.INFO: TCP Data received {"connection_id":118978,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c82d4a0012ce99540071802280014000223..."} 
[2026-07-01 12:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c82d4a0012ce99540071802280014000223..."} 
[2026-07-01 12:41:27] local.INFO: Processing buffer {"connection_id":118978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c82d4a0012ce99540071802280014000223..."} 
[2026-07-01 12:41:27] local.INFO: Packet analysis {"connection_id":118978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c82"} 
[2026-07-01 12:41:27] local.INFO: Extracted packet for processing {"connection_id":118978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c82"} 
[2026-07-01 12:41:27] local.INFO: GPS Element Parsed {"raw_longitude":753505600,"raw_latitude":119013928,"longitude_deg":75.35056,"latitude_deg":11.9013928,"altitude":20,"angle":2,"satellites":35,"speed":37,"hex_longitude":"2ce99540","hex_latitude":"07180228","is_valid_coordinates":true} 
[2026-07-01 12:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419777024001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333330457632440320,"note":"Value kept but may cause issues"} 
[2026-07-01 12:41:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1615666335853936640,"note":"Value kept but may cause issues"} 
[2026-07-01 12:41:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782889764000,"timestamp_ms":1782889764000,"timestamp_seconds":1782889764,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c82d4a0"} 
[2026-07-01 12:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:41:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 12:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 12:41:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:41:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419777024001,"66":27821,"53":206,"83":41216,"24":37,"16":333330457632440320,"44":-1615666335853936640},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,83,24,16,44]} 
[2026-07-01 12:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419777024001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:41:27] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-01 12:41:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 12:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333330457632440320,"km_value":333330457632440.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:41:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1615666335853936640,"description":"Unknown IO ID 44"} 
[2026-07-01 12:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419777024001,"power":27821,"unknown_53":206,"unknown_83":41216,"ignition":37,"odometer":null,"unknown_44":-1615666335853936640}} 
[2026-07-01 12:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":118978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:41:27] local.INFO: GPS data processed {"connection_id":118978,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:41:27] local.INFO: Acknowledgment sent {"connection_id":118978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:41:58] local.INFO: TCP Data received {"connection_id":118978,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c82fbb0012ce997c0071827400015000226..."} 
[2026-07-01 12:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c82fbb0012ce997c0071827400015000226..."} 
[2026-07-01 12:41:58] local.INFO: Processing buffer {"connection_id":118978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c82fbb0012ce997c0071827400015000226..."} 
[2026-07-01 12:41:58] local.INFO: Packet analysis {"connection_id":118978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c82"} 
[2026-07-01 12:41:58] local.INFO: Extracted packet for processing {"connection_id":118978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c82"} 
[2026-07-01 12:41:58] local.INFO: GPS Element Parsed {"raw_longitude":753506240,"raw_latitude":119023424,"longitude_deg":75.350624,"latitude_deg":11.9023424,"altitude":21,"angle":2,"satellites":38,"speed":41,"hex_longitude":"2ce997c0","hex_latitude":"07182740","is_valid_coordinates":true} 
[2026-07-01 12: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-01 12:41:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419779584001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:41:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333330921488908288,"note":"Value kept but may cause issues"} 
[2026-07-01 12:41:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1615314492130711552,"note":"Value kept but may cause issues"} 
[2026-07-01 12:41:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:41:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782889774000,"timestamp_ms":1782889774000,"timestamp_seconds":1782889774,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c82fbb0"} 
[2026-07-01 12: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-01 12:41:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 12: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 12:41:58] 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-01 12: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-01 12: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-01 12:41:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:41:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:41:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:41:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:41:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:41:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:41:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:41:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419779584001,"66":27843,"224":206,"83":41216,"24":41,"16":333330921488908288,"44":-1615314492130711552},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,83,24,16,44]} 
[2026-07-01 12:41:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:41:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:41:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419779584001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:41:58] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-07-01 12:41:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 12:41:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333330921488908288,"km_value":333330921488908.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:41:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1615314492130711552,"description":"Unknown IO ID 44"} 
[2026-07-01 12:41:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419779584001,"power":27843,"unknown_224":206,"unknown_83":41216,"ignition":41,"odometer":null,"unknown_44":-1615314492130711552}} 
[2026-07-01 12:41:58] local.INFO: DEBUG: GPS processor result {"connection_id":118978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:41:58] local.INFO: GPS data processed {"connection_id":118978,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:41:58] local.INFO: Acknowledgment sent {"connection_id":118978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:42:20] local.INFO: TCP Data received {"connection_id":120858,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:42:20] local.INFO: Processing buffer {"connection_id":120858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:42:20] local.INFO: IMEI packet received {"connection_id":120858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 12:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":120858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:42:23] local.INFO: TCP Data received {"connection_id":120858,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:42:23] local.INFO: Processing buffer {"connection_id":120858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:42:23] local.INFO: IMEI packet received {"connection_id":120858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:42:23] local.INFO: IMEI acknowledgment sent {"connection_id":120858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:42:26] local.INFO: TCP Data received {"connection_id":120858,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:42:26] local.INFO: Processing buffer {"connection_id":120858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:42:26] local.INFO: IMEI packet received {"connection_id":120858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":120858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:42:27] local.INFO: TCP Data received {"connection_id":120858,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c84ad48012ce98b0007197a90001b016425..."} 
[2026-07-01 12:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c84ad48012ce98b0007197a90001b016425..."} 
[2026-07-01 12:42:27] local.INFO: Processing buffer {"connection_id":120858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c84ad48012ce98b0007197a90001b016425..."} 
[2026-07-01 12:42:27] local.INFO: Packet analysis {"connection_id":120858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c84"} 
[2026-07-01 12:42:27] local.INFO: Extracted packet for processing {"connection_id":120858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c84"} 
[2026-07-01 12:42:27] local.INFO: GPS Element Parsed {"raw_longitude":753502976,"raw_latitude":119110288,"longitude_deg":75.3502976,"latitude_deg":11.9110288,"altitude":27,"angle":356,"satellites":37,"speed":23,"hex_longitude":"2ce98b00","hex_latitude":"07197a90","is_valid_coordinates":true} 
[2026-07-01 12:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419808000001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333335147736727552,"note":"Value kept but may cause issues"} 
[2026-07-01 12:42:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1617144079456210944,"note":"Value kept but may cause issues"} 
[2026-07-01 12:42:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782889885000,"timestamp_ms":1782889885000,"timestamp_seconds":1782889885,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c84ad48"} 
[2026-07-01 12:42:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:42:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 12:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 12:42:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:42:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:42:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:42:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419808000001,"66":27908,"225":206,"83":41216,"24":23,"16":333335147736727552,"44":-1617144079456210944},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,44]} 
[2026-07-01 12:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419808000001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:42:27] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-07-01 12:42:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 12:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333335147736727552,"km_value":333335147736727.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:42:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1617144079456210944,"description":"Unknown IO ID 44"} 
[2026-07-01 12:42:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419808000001,"power":27908,"unknown_225":206,"unknown_83":41216,"ignition":23,"odometer":null,"unknown_44":-1617144079456210944}} 
[2026-07-01 12:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":120858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:42:27] local.INFO: GPS data processed {"connection_id":120858,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:42:27] local.INFO: Acknowledgment sent {"connection_id":120858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:42:58] local.INFO: TCP Data received {"connection_id":120858,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c84dc28012ce9870007199ec8001a016424..."} 
[2026-07-01 12:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c84dc28012ce9870007199ec8001a016424..."} 
[2026-07-01 12:42:58] local.INFO: Processing buffer {"connection_id":120858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c84dc28012ce9870007199ec8001a016424..."} 
[2026-07-01 12:42:58] local.INFO: Packet analysis {"connection_id":120858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c84"} 
[2026-07-01 12:42:58] local.INFO: Extracted packet for processing {"connection_id":120858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c84"} 
[2026-07-01 12:42:58] local.INFO: GPS Element Parsed {"raw_longitude":753501952,"raw_latitude":119119560,"longitude_deg":75.3501952,"latitude_deg":11.911956,"altitude":26,"angle":356,"satellites":36,"speed":42,"hex_longitude":"2ce98700","hex_latitude":"07199ec8","is_valid_coordinates":true} 
[2026-07-01 12: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-01 12:42:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419810560001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:42:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333335598708293632,"note":"Value kept but may cause issues"} 
[2026-07-01 12:42:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1618199610617327616,"note":"Value kept but may cause issues"} 
[2026-07-01 12:42:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:42:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782889897000,"timestamp_ms":1782889897000,"timestamp_seconds":1782889897,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c84dc28"} 
[2026-07-01 12: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-01 12:42:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 12: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 12:42:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12: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-01 12: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-01 12:42:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:42:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:42:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:42:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:42:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:42:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:42:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:42:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419810560001,"66":27908,"225":206,"83":41216,"24":42,"16":333335598708293632,"44":-1618199610617327616},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,44]} 
[2026-07-01 12:42:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:42:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:42:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419810560001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:42:58] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-07-01 12:42:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 12:42:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333335598708293632,"km_value":333335598708293.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:42:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1618199610617327616,"description":"Unknown IO ID 44"} 
[2026-07-01 12:42:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419810560001,"power":27908,"unknown_225":206,"unknown_83":41216,"ignition":42,"odometer":null,"unknown_44":-1618199610617327616}} 
[2026-07-01 12:42:58] local.INFO: DEBUG: GPS processor result {"connection_id":120858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:42:58] local.INFO: GPS data processed {"connection_id":120858,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:42:58] local.INFO: Acknowledgment sent {"connection_id":120858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:43:20] local.INFO: TCP Data received {"connection_id":119101,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:43:20] local.INFO: Processing buffer {"connection_id":119101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:43:20] local.INFO: IMEI packet received {"connection_id":119101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 12:43:20] local.INFO: IMEI acknowledgment sent {"connection_id":119101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:43:23] local.INFO: TCP Data received {"connection_id":119101,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:43:23] local.INFO: Processing buffer {"connection_id":119101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:43:23] local.INFO: IMEI packet received {"connection_id":119101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:43:23] local.INFO: IMEI acknowledgment sent {"connection_id":119101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:43:26] local.INFO: TCP Data received {"connection_id":119101,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:43:26] local.INFO: Processing buffer {"connection_id":119101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:43:26] local.INFO: IMEI packet received {"connection_id":119101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":119101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:43:27] local.INFO: TCP Data received {"connection_id":119101,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c85af18012ce9b200071a22d80018001326..."} 
[2026-07-01 12:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c85af18012ce9b200071a22d80018001326..."} 
[2026-07-01 12:43:27] local.INFO: Processing buffer {"connection_id":119101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c85af18012ce9b200071a22d80018001326..."} 
[2026-07-01 12:43:27] local.INFO: Packet analysis {"connection_id":119101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c85"} 
[2026-07-01 12:43:27] local.INFO: Extracted packet for processing {"connection_id":119101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c85"} 
[2026-07-01 12:43:27] local.INFO: GPS Element Parsed {"raw_longitude":753512960,"raw_latitude":119153368,"longitude_deg":75.351296,"latitude_deg":11.9153368,"altitude":24,"angle":19,"satellites":38,"speed":16,"hex_longitude":"2ce9b200","hex_latitude":"071a22d8","is_valid_coordinates":true} 
[2026-07-01 12:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419827200001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:43:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333337651702661120,"note":"Value kept but may cause issues"} 
[2026-07-01 12:43:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1607503561491390464,"note":"Value kept but may cause issues"} 
[2026-07-01 12:43:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:43:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782889951000,"timestamp_ms":1782889951000,"timestamp_seconds":1782889951,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c85af18"} 
[2026-07-01 12:43:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:43: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-01 12:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-01 12:43:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:43:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:43:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:43:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:43:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:43:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:43:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:43:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419827200001,"66":27658,"182":206,"83":41216,"24":16,"16":333337651702661120,"44":-1607503561491390464},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,83,24,16,44]} 
[2026-07-01 12:43:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:43:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:43:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419827200001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:43:27] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-01 12:43:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 12:43:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333337651702661120,"km_value":333337651702661.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:43:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1607503561491390464,"description":"Unknown IO ID 44"} 
[2026-07-01 12:43:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419827200001,"power":27658,"unknown_182":206,"unknown_83":41216,"ignition":16,"odometer":null,"unknown_44":-1607503561491390464}} 
[2026-07-01 12:43:27] local.INFO: DEBUG: GPS processor result {"connection_id":119101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:43:27] local.INFO: GPS data processed {"connection_id":119101,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:43:27] local.INFO: Acknowledgment sent {"connection_id":119101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:43:41] local.INFO: TCP Data received {"connection_id":119771,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119771,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:43:41] local.INFO: Processing buffer {"connection_id":119771,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:43:41] local.INFO: IMEI packet received {"connection_id":119771,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 12:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":119771,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:43:58] local.INFO: TCP Data received {"connection_id":119101,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c85b300012ce9b240071a24800018016226..."} 
[2026-07-01 12:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c85b300012ce9b240071a24800018016226..."} 
[2026-07-01 12:43:58] local.INFO: Processing buffer {"connection_id":119101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c85b300012ce9b240071a24800018016226..."} 
[2026-07-01 12:43:58] local.INFO: Packet analysis {"connection_id":119101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c85"} 
[2026-07-01 12:43:58] local.INFO: Extracted packet for processing {"connection_id":119101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c85"} 
[2026-07-01 12:43:58] local.INFO: GPS Element Parsed {"raw_longitude":753513024,"raw_latitude":119153792,"longitude_deg":75.3513024,"latitude_deg":11.9153792,"altitude":24,"angle":354,"satellites":38,"speed":17,"hex_longitude":"2ce9b240","hex_latitude":"071a2480","is_valid_coordinates":true} 
[2026-07-01 12: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-01 12:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419827456001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333337673177497600,"note":"Value kept but may cause issues"} 
[2026-07-01 12:43:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1607222086514583552,"note":"Value kept but may cause issues"} 
[2026-07-01 12:43:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782889952000,"timestamp_ms":1782889952000,"timestamp_seconds":1782889952,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c85b300"} 
[2026-07-01 12: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-01 12:43:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 12: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-01 12:43:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12: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-01 12: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-01 12:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:43:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419827456001,"66":27821,"182":206,"83":41216,"24":17,"16":333337673177497600,"44":-1607222086514583552},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,83,24,16,44]} 
[2026-07-01 12:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419827456001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:43:58] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-07-01 12:43:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 12:43:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333337673177497600,"km_value":333337673177497.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:43:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1607222086514583552,"description":"Unknown IO ID 44"} 
[2026-07-01 12:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419827456001,"power":27821,"unknown_182":206,"unknown_83":41216,"ignition":17,"odometer":null,"unknown_44":-1607222086514583552}} 
[2026-07-01 12:43:58] local.INFO: DEBUG: GPS processor result {"connection_id":119101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:43:58] local.INFO: GPS data processed {"connection_id":119101,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:43:58] local.INFO: Acknowledgment sent {"connection_id":119101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:44:15] local.INFO: TCP Data received {"connection_id":119772,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119772,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:44:15] local.INFO: Processing buffer {"connection_id":119772,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:44:15] local.INFO: IMEI packet received {"connection_id":119772,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 12:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":119772,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:44:26] local.INFO: TCP Data received {"connection_id":120859,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:44:26] local.INFO: Processing buffer {"connection_id":120859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:44:26] local.INFO: IMEI packet received {"connection_id":120859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 12:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":120859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:44:26] local.INFO: TCP Data received {"connection_id":120859,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:44:26] local.INFO: Processing buffer {"connection_id":120859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:44:26] local.INFO: IMEI packet received {"connection_id":120859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":120859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:44:29] local.INFO: TCP Data received {"connection_id":120859,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:44:29] local.INFO: Processing buffer {"connection_id":120859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:44:29] local.INFO: IMEI packet received {"connection_id":120859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":120859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:44:30] local.INFO: TCP Data received {"connection_id":120859,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c8691a8012ce9b500071a9f380019001326..."} 
[2026-07-01 12:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c8691a8012ce9b500071a9f380019001326..."} 
[2026-07-01 12:44:30] local.INFO: Processing buffer {"connection_id":120859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c8691a8012ce9b500071a9f380019001326..."} 
[2026-07-01 12:44:30] local.INFO: Packet analysis {"connection_id":120859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c86"} 
[2026-07-01 12:44:30] local.INFO: Extracted packet for processing {"connection_id":120859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c86"} 
[2026-07-01 12:44:30] local.INFO: GPS Element Parsed {"raw_longitude":753513728,"raw_latitude":119185208,"longitude_deg":75.3513728,"latitude_deg":11.9185208,"altitude":25,"angle":19,"satellites":38,"speed":36,"hex_longitude":"2ce9b500","hex_latitude":"071a9f38","is_valid_coordinates":true} 
[2026-07-01 12:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419838976001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333339451293958144,"note":"Value kept but may cause issues"} 
[2026-07-01 12:44:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1608840567624886272,"note":"Value kept but may cause issues"} 
[2026-07-01 12:44:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782890009000,"timestamp_ms":1782890009000,"timestamp_seconds":1782890009,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c8691a8"} 
[2026-07-01 12:44:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:44:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 12:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 12:44:30] 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-01 12:44:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:44:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":120859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":120859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":120859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:44:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419838976001,"66":27843,"247":206,"83":41216,"24":36,"16":333339451293958144,"44":-1608840567624886272},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,83,24,16,44]} 
[2026-07-01 12:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419838976001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:44:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 12:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333339451293958144,"km_value":333339451293958.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:44:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1608840567624886272,"description":"Unknown IO ID 44"} 
[2026-07-01 12:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419838976001,"power":27843,"internal_battery_voltage":206,"unknown_83":41216,"ignition":36,"odometer":null,"unknown_44":-1608840567624886272}} 
[2026-07-01 12:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":120859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:44:30] local.INFO: GPS data processed {"connection_id":120859,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:44:30] local.INFO: Acknowledgment sent {"connection_id":120859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:44:32] local.INFO: TCP Data received {"connection_id":120859,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c86b4d0012ce9c2c0071ac088001b001728..."} 
[2026-07-01 12:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c86b4d0012ce9c2c0071ac088001b001728..."} 
[2026-07-01 12:44:32] local.INFO: Processing buffer {"connection_id":120859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c86b4d0012ce9c2c0071ac088001b001728..."} 
[2026-07-01 12:44:32] local.INFO: Packet analysis {"connection_id":120859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c86"} 
[2026-07-01 12:44:32] local.INFO: Extracted packet for processing {"connection_id":120859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c86"} 
[2026-07-01 12:44:32] local.INFO: GPS Element Parsed {"raw_longitude":753517248,"raw_latitude":119193736,"longitude_deg":75.3517248,"latitude_deg":11.9193736,"altitude":27,"angle":23,"satellites":40,"speed":42,"hex_longitude":"2ce9c2c0","hex_latitude":"071ac088","is_valid_coordinates":true} 
[2026-07-01 12:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419842304001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333339897970556928,"note":"Value kept but may cause issues"} 
[2026-07-01 12:44:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1606377661576300544,"note":"Value kept but may cause issues"} 
[2026-07-01 12:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782890018000,"timestamp_ms":1782890018000,"timestamp_seconds":1782890018,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c86b4d0"} 
[2026-07-01 12:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:44:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 12:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 12:44:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:44:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":120859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":120859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":120859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419842304001,"66":27658,"245":206,"83":41216,"24":42,"16":333339897970556928,"44":-1606377661576300544},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-07-01 12:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419842304001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:44:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 12:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333339897970556928,"km_value":333339897970556.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:44:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1606377661576300544,"description":"Unknown IO ID 44"} 
[2026-07-01 12:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419842304001,"power":27658,"geofence_id":206,"unknown_83":41216,"ignition":42,"odometer":null,"unknown_44":-1606377661576300544}} 
[2026-07-01 12:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":120859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:44:32] local.INFO: GPS data processed {"connection_id":120859,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:44:32] local.INFO: Acknowledgment sent {"connection_id":120859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:45:05] local.INFO: TCP Data received {"connection_id":120859,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c86dbe0012ce9d1c0071ae1f00018001a27..."} 
[2026-07-01 12:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c86dbe0012ce9d1c0071ae1f00018001a27..."} 
[2026-07-01 12:45:05] local.INFO: Processing buffer {"connection_id":120859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c86dbe0012ce9d1c0071ae1f00018001a27..."} 
[2026-07-01 12:45:05] local.INFO: Packet analysis {"connection_id":120859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c86"} 
[2026-07-01 12:45:05] local.INFO: Extracted packet for processing {"connection_id":120859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c86"} 
[2026-07-01 12:45:05] local.INFO: GPS Element Parsed {"raw_longitude":753521088,"raw_latitude":119202288,"longitude_deg":75.3521088,"latitude_deg":11.9202288,"altitude":24,"angle":26,"satellites":39,"speed":34,"hex_longitude":"2ce9d1c0","hex_latitude":"071ae1f0","is_valid_coordinates":true} 
[2026-07-01 12:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419844608001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333340348942123008,"note":"Value kept but may cause issues"} 
[2026-07-01 12:45:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1602507380644345856,"note":"Value kept but may cause issues"} 
[2026-07-01 12:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782890028000,"timestamp_ms":1782890028000,"timestamp_seconds":1782890028,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c86dbe0"} 
[2026-07-01 12:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 12:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-01 12:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":120859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":120859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":120859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419844608001,"66":27767,"245":206,"83":41216,"24":34,"16":333340348942123008,"44":-1602507380644345856},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-07-01 12:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419844608001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:45:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 12:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333340348942123008,"km_value":333340348942123.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:45:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1602507380644345856,"description":"Unknown IO ID 44"} 
[2026-07-01 12:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419844608001,"power":27767,"geofence_id":206,"unknown_83":41216,"ignition":34,"odometer":null,"unknown_44":-1602507380644345856}} 
[2026-07-01 12:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":120859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:45:05] local.INFO: GPS data processed {"connection_id":120859,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:45:05] local.INFO: Acknowledgment sent {"connection_id":120859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:45:19] local.INFO: TCP Data received {"connection_id":118979,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:45:19] local.INFO: Processing buffer {"connection_id":118979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:45:19] local.INFO: IMEI packet received {"connection_id":118979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 12:45:19] local.INFO: IMEI acknowledgment sent {"connection_id":118979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:45:20] local.INFO: TCP Data received {"connection_id":118979,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:45:20] local.INFO: Processing buffer {"connection_id":118979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:45:20] local.INFO: IMEI packet received {"connection_id":118979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:45:20] local.INFO: IMEI acknowledgment sent {"connection_id":118979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:45:25] local.INFO: TCP Data received {"connection_id":118979,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:45:25] local.INFO: Processing buffer {"connection_id":118979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:45:25] local.INFO: IMEI packet received {"connection_id":118979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":118979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:45:27] local.INFO: TCP Data received {"connection_id":118979,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c876c68012ce9df80071b48800018001c27..."} 
[2026-07-01 12:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c876c68012ce9df80071b48800018001c27..."} 
[2026-07-01 12:45:27] local.INFO: Processing buffer {"connection_id":118979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c876c68012ce9df80071b48800018001c27..."} 
[2026-07-01 12:45:27] local.INFO: Packet analysis {"connection_id":118979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c87"} 
[2026-07-01 12:45:27] local.INFO: Extracted packet for processing {"connection_id":118979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c87"} 
[2026-07-01 12:45:27] local.INFO: GPS Element Parsed {"raw_longitude":753524608,"raw_latitude":119228544,"longitude_deg":75.3524608,"latitude_deg":11.9228544,"altitude":24,"angle":28,"satellites":39,"speed":20,"hex_longitude":"2ce9df80","hex_latitude":"071b4880","is_valid_coordinates":true} 
[2026-07-01 12:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:45:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419856384001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:45:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333341736216559616,"note":"Value kept but may cause issues"} 
[2026-07-01 12:45:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1594696450031812608,"note":"Value kept but may cause issues"} 
[2026-07-01 12:45:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:45:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782890065000,"timestamp_ms":1782890065000,"timestamp_seconds":1782890065,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c876c68"} 
[2026-07-01 12:45:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:45: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-01 12:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 12:45:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:45:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:45:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:45:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:45:27] local.INFO: Teltonika packet parsed successfully {"connection_id":118979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:45:27] local.INFO: Passing IMEI to GPS processor {"connection_id":118979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:45:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":118979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:45:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:45:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:45:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:45:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419856384001,"66":27843,"245":206,"83":41216,"24":20,"16":333341736216559616,"44":-1594696450031812608},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-07-01 12:45:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:45:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:45:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419856384001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:45:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 12:45:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333341736216559616,"km_value":333341736216559.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:45:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1594696450031812608,"description":"Unknown IO ID 44"} 
[2026-07-01 12:45:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419856384001,"power":27843,"geofence_id":206,"unknown_83":41216,"ignition":20,"odometer":null,"unknown_44":-1594696450031812608}} 
[2026-07-01 12:45:27] local.INFO: DEBUG: GPS processor result {"connection_id":118979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:45:27] local.INFO: GPS data processed {"connection_id":118979,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:45:27] local.INFO: Acknowledgment sent {"connection_id":118979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:45:59] local.INFO: TCP Data received {"connection_id":118979,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c881460012ce9f4c0071ba4480014002b26..."} 
[2026-07-01 12:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c881460012ce9f4c0071ba4480014002b26..."} 
[2026-07-01 12:45:59] local.INFO: Processing buffer {"connection_id":118979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c881460012ce9f4c0071ba4480014002b26..."} 
[2026-07-01 12:45:59] local.INFO: Packet analysis {"connection_id":118979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c88"} 
[2026-07-01 12:45:59] local.INFO: Extracted packet for processing {"connection_id":118979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c88"} 
[2026-07-01 12:45:59] local.INFO: GPS Element Parsed {"raw_longitude":753530048,"raw_latitude":119252040,"longitude_deg":75.3530048,"latitude_deg":11.925204,"altitude":20,"angle":43,"satellites":38,"speed":9,"hex_longitude":"2ce9f4c0","hex_latitude":"071ba448","is_valid_coordinates":true} 
[2026-07-01 12:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419867392001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333343119196028928,"note":"Value kept but may cause issues"} 
[2026-07-01 12:45:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1588715106770649088,"note":"Value kept but may cause issues"} 
[2026-07-01 12:45:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782890108000,"timestamp_ms":1782890108000,"timestamp_seconds":1782890108,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c881460"} 
[2026-07-01 12:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:45:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 12:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 12:45:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:45:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":118979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":118979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":118979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:45:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419867392001,"66":27800,"209":206,"83":41216,"24":9,"16":333343119196028928,"44":-1588715106770649088},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,83,24,16,44]} 
[2026-07-01 12:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419867392001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:45:59] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-07-01 12:45:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 12:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333343119196028928,"km_value":333343119196028.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:45:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1588715106770649088,"description":"Unknown IO ID 44"} 
[2026-07-01 12:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419867392001,"power":27800,"unknown_209":206,"unknown_83":41216,"ignition":9,"odometer":null,"unknown_44":-1588715106770649088}} 
[2026-07-01 12:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":118979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:45:59] local.INFO: GPS data processed {"connection_id":118979,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:45:59] local.INFO: Acknowledgment sent {"connection_id":118979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:46:56] local.INFO: TCP Data received {"connection_id":118980,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:46:56] local.INFO: Processing buffer {"connection_id":118980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:46:56] local.INFO: IMEI packet received {"connection_id":118980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 12:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":118980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:47:01] local.INFO: TCP Data received {"connection_id":118980,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:47:01] local.INFO: Processing buffer {"connection_id":118980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:47:01] local.INFO: IMEI packet received {"connection_id":118980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":118980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:47:02] local.INFO: TCP Data received {"connection_id":118980,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c881848012ce9f5c0071ba5600014001b26..."} 
[2026-07-01 12:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c881848012ce9f5c0071ba5600014001b26..."} 
[2026-07-01 12:47:02] local.INFO: Processing buffer {"connection_id":118980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c881848012ce9f5c0071ba5600014001b26..."} 
[2026-07-01 12:47:02] local.INFO: Packet analysis {"connection_id":118980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c88"} 
[2026-07-01 12:47:02] local.INFO: Extracted packet for processing {"connection_id":118980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c88"} 
[2026-07-01 12:47:02] local.INFO: GPS Element Parsed {"raw_longitude":753530304,"raw_latitude":119252320,"longitude_deg":75.3530304,"latitude_deg":11.925232,"altitude":20,"angle":27,"satellites":38,"speed":13,"hex_longitude":"2ce9f5c0","hex_latitude":"071ba560","is_valid_coordinates":true} 
[2026-07-01 12:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419867648001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333343136375898112,"note":"Value kept but may cause issues"} 
[2026-07-01 12:47:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1588433631793887232,"note":"Value kept but may cause issues"} 
[2026-07-01 12:47:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782890109000,"timestamp_ms":1782890109000,"timestamp_seconds":1782890109,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c881848"} 
[2026-07-01 12:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:47:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 12:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 12:47:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:47:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":118980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":118980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":118980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:47:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419867648001,"66":27800,"209":206,"83":41216,"24":13,"16":333343136375898112,"44":-1588433631793887232},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,83,24,16,44]} 
[2026-07-01 12:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419867648001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:47:02] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-07-01 12:47:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 12:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333343136375898112,"km_value":333343136375898.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:47:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1588433631793887232,"description":"Unknown IO ID 44"} 
[2026-07-01 12:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419867648001,"power":27800,"unknown_209":206,"unknown_83":41216,"ignition":13,"odometer":null,"unknown_44":-1588433631793887232}} 
[2026-07-01 12:47:02] local.INFO: DEBUG: GPS processor result {"connection_id":118980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:47:02] local.INFO: GPS data processed {"connection_id":118980,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:47:02] local.INFO: Acknowledgment sent {"connection_id":118980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:47:03] local.INFO: TCP Data received {"connection_id":118980,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c881c30012ce9f600071ba6d00014000f26..."} 
[2026-07-01 12:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c881c30012ce9f600071ba6d00014000f26..."} 
[2026-07-01 12:47:03] local.INFO: Processing buffer {"connection_id":118980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c881c30012ce9f600071ba6d00014000f26..."} 
[2026-07-01 12:47:03] local.INFO: Packet analysis {"connection_id":118980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c88"} 
[2026-07-01 12:47:03] local.INFO: Extracted packet for processing {"connection_id":118980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c88"} 
[2026-07-01 12:47:03] local.INFO: GPS Element Parsed {"raw_longitude":753530368,"raw_latitude":119252688,"longitude_deg":75.3530368,"latitude_deg":11.9252688,"altitude":20,"angle":15,"satellites":38,"speed":17,"hex_longitude":"2ce9f600","hex_latitude":"071ba6d0","is_valid_coordinates":true} 
[2026-07-01 12:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419867904001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333343153555767296,"note":"Value kept but may cause issues"} 
[2026-07-01 12:47:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1588152156817104896,"note":"Value kept but may cause issues"} 
[2026-07-01 12:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782890110000,"timestamp_ms":1782890110000,"timestamp_seconds":1782890110,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c881c30"} 
[2026-07-01 12:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 12:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 12:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:47:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":118980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":118980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":118980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419867904001,"66":27800,"209":206,"83":41216,"24":17,"16":333343153555767296,"44":-1588152156817104896},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,83,24,16,44]} 
[2026-07-01 12:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419867904001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:47:03] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-07-01 12:47:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 12:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333343153555767296,"km_value":333343153555767.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:47:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1588152156817104896,"description":"Unknown IO ID 44"} 
[2026-07-01 12:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419867904001,"power":27800,"unknown_209":206,"unknown_83":41216,"ignition":17,"odometer":null,"unknown_44":-1588152156817104896}} 
[2026-07-01 12:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":118980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:47:03] local.INFO: GPS data processed {"connection_id":118980,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:47:03] local.INFO: Acknowledgment sent {"connection_id":118980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:47:30] local.INFO: TCP Data received {"connection_id":118981,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:47:30] local.INFO: Processing buffer {"connection_id":118981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:47:30] local.INFO: IMEI packet received {"connection_id":118981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 12:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":118981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:47:31] local.INFO: TCP Data received {"connection_id":118981,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:47:31] local.INFO: Processing buffer {"connection_id":118981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:47:31] local.INFO: IMEI packet received {"connection_id":118981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":118981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:47:36] local.INFO: TCP Data received {"connection_id":118981,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:47:36] local.INFO: Processing buffer {"connection_id":118981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:47:36] local.INFO: IMEI packet received {"connection_id":118981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":118981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:47:38] local.INFO: TCP Data received {"connection_id":118981,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c884b10012cea04c0071bc9b00011001622..."} 
[2026-07-01 12:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c884b10012cea04c0071bc9b00011001622..."} 
[2026-07-01 12:47:38] local.INFO: Processing buffer {"connection_id":118981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c884b10012cea04c0071bc9b00011001622..."} 
[2026-07-01 12:47:38] local.INFO: Packet analysis {"connection_id":118981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c88"} 
[2026-07-01 12:47:38] local.INFO: Extracted packet for processing {"connection_id":118981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c88"} 
[2026-07-01 12:47:38] local.INFO: GPS Element Parsed {"raw_longitude":753534144,"raw_latitude":119261616,"longitude_deg":75.3534144,"latitude_deg":11.9261616,"altitude":17,"angle":22,"satellites":34,"speed":35,"hex_longitude":"2cea04c0","hex_latitude":"071bc9b0","is_valid_coordinates":true} 
[2026-07-01 12:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419868160001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333343621707202560,"note":"Value kept but may cause issues"} 
[2026-07-01 12:47:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1588081788072833024,"note":"Value kept but may cause issues"} 
[2026-07-01 12:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782890122000,"timestamp_ms":1782890122000,"timestamp_seconds":1782890122,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c884b10"} 
[2026-07-01 12:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 12:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 12:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":118981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":118981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":118981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419868160001,"66":27767,"209":206,"83":41216,"24":35,"16":333343621707202560,"44":-1588081788072833024},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,83,24,16,44]} 
[2026-07-01 12:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419868160001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:47:38] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-07-01 12:47:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 12:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333343621707202560,"km_value":333343621707202.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:47:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1588081788072833024,"description":"Unknown IO ID 44"} 
[2026-07-01 12:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419868160001,"power":27767,"unknown_209":206,"unknown_83":41216,"ignition":35,"odometer":null,"unknown_44":-1588081788072833024}} 
[2026-07-01 12:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":118981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:47:38] local.INFO: GPS data processed {"connection_id":118981,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:47:38] local.INFO: Acknowledgment sent {"connection_id":118981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:48:18] local.INFO: TCP Data received {"connection_id":118982,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:48:18] local.INFO: Processing buffer {"connection_id":118982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:48:18] local.INFO: IMEI packet received {"connection_id":118982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 12:48:18] local.INFO: IMEI acknowledgment sent {"connection_id":118982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:48:20] local.INFO: TCP Data received {"connection_id":118982,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:48:20] local.INFO: Processing buffer {"connection_id":118982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:48:20] local.INFO: IMEI packet received {"connection_id":118982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:48:20] local.INFO: IMEI acknowledgment sent {"connection_id":118982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:48:21] local.INFO: TCP Data received {"connection_id":118982,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:48:21] local.INFO: Processing buffer {"connection_id":118982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:48:21] local.INFO: IMEI packet received {"connection_id":118982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:48:21] local.INFO: IMEI acknowledgment sent {"connection_id":118982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:48:30] local.INFO: TCP Data received {"connection_id":118982,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:48:30] local.INFO: Processing buffer {"connection_id":118982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:48:30] local.INFO: IMEI packet received {"connection_id":118982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":118982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:48:30] local.INFO: TCP Data received {"connection_id":118982,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c8a2f70012cea01c0071d3e880004013d27..."} 
[2026-07-01 12:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c8a2f70012cea01c0071d3e880004013d27..."} 
[2026-07-01 12:48:30] local.INFO: Processing buffer {"connection_id":118982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c8a2f70012cea01c0071d3e880004013d27..."} 
[2026-07-01 12:48:30] local.INFO: Packet analysis {"connection_id":118982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c8a"} 
[2026-07-01 12:48:30] local.INFO: Extracted packet for processing {"connection_id":118982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c8a"} 
[2026-07-01 12:48:30] local.INFO: GPS Element Parsed {"raw_longitude":753533376,"raw_latitude":119357064,"longitude_deg":75.3533376,"latitude_deg":11.9357064,"altitude":4,"angle":317,"satellites":39,"speed":19,"hex_longitude":"2cea01c0","hex_latitude":"071d3e88","is_valid_coordinates":true} 
[2026-07-01 12:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419902720001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333348311811489792,"note":"Value kept but may cause issues"} 
[2026-07-01 12:48:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1584422613348976640,"note":"Value kept but may cause issues"} 
[2026-07-01 12:48:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782890246000,"timestamp_ms":1782890246000,"timestamp_seconds":1782890246,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c8a2f70"} 
[2026-07-01 12:48:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:48:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 12:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 12:48:30] 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-01 12:48:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:48:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":118982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":118982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":118982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:48:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419902720001,"66":27050,"110":206,"83":43008,"24":19,"16":333348311811489792,"44":-1584422613348976640},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-07-01 12:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419902720001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:48:30] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 12:48:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-01 12:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333348311811489792,"km_value":333348311811489.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:48:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1584422613348976640,"description":"Unknown IO ID 44"} 
[2026-07-01 12:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419902720001,"power":27050,"unknown_110":206,"unknown_83":43008,"ignition":19,"odometer":null,"unknown_44":-1584422613348976640}} 
[2026-07-01 12:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":118982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:48:30] local.INFO: GPS data processed {"connection_id":118982,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:48:30] local.INFO: Acknowledgment sent {"connection_id":118982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:49:04] local.INFO: TCP Data received {"connection_id":118982,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c8ab440012ce9ab80071d39c00001015e29..."} 
[2026-07-01 12:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c8ab440012ce9ab80071d39c00001015e29..."} 
[2026-07-01 12:49:04] local.INFO: Processing buffer {"connection_id":118982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c8ab440012ce9ab80071d39c00001015e29..."} 
[2026-07-01 12:49:04] local.INFO: Packet analysis {"connection_id":118982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c8a"} 
[2026-07-01 12:49:04] local.INFO: Extracted packet for processing {"connection_id":118982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c8a"} 
[2026-07-01 12:49:04] local.INFO: GPS Element Parsed {"raw_longitude":753511296,"raw_latitude":119355840,"longitude_deg":75.3511296,"latitude_deg":11.935584,"altitude":1,"angle":350,"satellites":41,"speed":18,"hex_longitude":"2ce9ab80","hex_latitude":"071d39c0","is_valid_coordinates":true} 
[2026-07-01 12:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419911168001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333349522992267264,"note":"Value kept but may cause issues"} 
[2026-07-01 12:49:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1609051673811582976,"note":"Value kept but may cause issues"} 
[2026-07-01 12:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782890280000,"timestamp_ms":1782890280000,"timestamp_seconds":1782890280,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c8ab440"} 
[2026-07-01 12:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:49:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 12:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 12:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:49:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":118982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":118982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":118982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419911168001,"66":27745,"110":206,"83":43008,"24":18,"16":333349522992267264,"44":-1609051673811582976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-07-01 12:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419911168001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:49:04] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 12:49:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-01 12:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333349522992267264,"km_value":333349522992267.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:49:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1609051673811582976,"description":"Unknown IO ID 44"} 
[2026-07-01 12:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419911168001,"power":27745,"unknown_110":206,"unknown_83":43008,"ignition":18,"odometer":null,"unknown_44":-1609051673811582976}} 
[2026-07-01 12:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":118982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:49:04] local.INFO: GPS data processed {"connection_id":118982,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:49:04] local.INFO: Acknowledgment sent {"connection_id":118982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:49:20] local.INFO: TCP Data received {"connection_id":118983,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:49:20] local.INFO: Processing buffer {"connection_id":118983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:49:20] local.INFO: IMEI packet received {"connection_id":118983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 12:49:20] local.INFO: IMEI acknowledgment sent {"connection_id":118983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:49:25] local.INFO: TCP Data received {"connection_id":118983,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:49:25] local.INFO: Processing buffer {"connection_id":118983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:49:25] local.INFO: IMEI packet received {"connection_id":118983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":118983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:49:35] local.INFO: TCP Data received {"connection_id":118983,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c8afa90012ce9a480071d5e100002016028..."} 
[2026-07-01 12:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c8afa90012ce9a480071d5e100002016028..."} 
[2026-07-01 12:49:35] local.INFO: Processing buffer {"connection_id":118983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c8afa90012ce9a480071d5e100002016028..."} 
[2026-07-01 12:49:35] local.INFO: Packet analysis {"connection_id":118983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c8a"} 
[2026-07-01 12:49:35] local.INFO: Extracted packet for processing {"connection_id":118983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c8a"} 
[2026-07-01 12:49:35] local.INFO: GPS Element Parsed {"raw_longitude":753509504,"raw_latitude":119365136,"longitude_deg":75.3509504,"latitude_deg":11.9365136,"altitude":2,"angle":352,"satellites":40,"speed":25,"hex_longitude":"2ce9a480","hex_latitude":"071d5e10","is_valid_coordinates":true} 
[2026-07-01 12:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419911680001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333349982553767936,"note":"Value kept but may cause issues"} 
[2026-07-01 12:49:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1609051673811369984,"note":"Value kept but may cause issues"} 
[2026-07-01 12:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782890298000,"timestamp_ms":1782890298000,"timestamp_seconds":1782890298,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c8afa90"} 
[2026-07-01 12:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:49:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 12:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 12:49:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:49:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":118983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":118983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":118983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419911680001,"66":27821,"110":206,"83":43008,"24":25,"16":333349982553767936,"44":-1609051673811369984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-07-01 12:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419911680001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:49:35] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 12:49:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-01 12:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333349982553767936,"km_value":333349982553767.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:49:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1609051673811369984,"description":"Unknown IO ID 44"} 
[2026-07-01 12:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419911680001,"power":27821,"unknown_110":206,"unknown_83":43008,"ignition":25,"odometer":null,"unknown_44":-1609051673811369984}} 
[2026-07-01 12:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":118983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:49:35] local.INFO: GPS data processed {"connection_id":118983,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:49:35] local.INFO: Acknowledgment sent {"connection_id":118983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:49:36] local.INFO: TCP Data received {"connection_id":119105,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119105,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:49:36] local.INFO: Processing buffer {"connection_id":119105,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:49:36] local.INFO: IMEI packet received {"connection_id":119105,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 12:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":119105,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:50:15] local.INFO: TCP Data received {"connection_id":120860,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120860,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:50:15] local.INFO: Processing buffer {"connection_id":120860,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:50:15] local.INFO: IMEI packet received {"connection_id":120860,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 12:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":120860,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:50:20] local.INFO: TCP Data received {"connection_id":120861,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:50:20] local.INFO: Processing buffer {"connection_id":120861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:50:20] local.INFO: IMEI packet received {"connection_id":120861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 12:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":120861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:50:26] local.INFO: TCP Data received {"connection_id":120861,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:50:26] local.INFO: Processing buffer {"connection_id":120861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:50:26] local.INFO: IMEI packet received {"connection_id":120861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":120861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:50:27] local.INFO: TCP Data received {"connection_id":120861,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c8b0648012ce9a400071d65b00003000228..."} 
[2026-07-01 12:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c8b0648012ce9a400071d65b00003000228..."} 
[2026-07-01 12:50:27] local.INFO: Processing buffer {"connection_id":120861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c8b0648012ce9a400071d65b00003000228..."} 
[2026-07-01 12:50:27] local.INFO: Packet analysis {"connection_id":120861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c8b"} 
[2026-07-01 12:50:27] local.INFO: Extracted packet for processing {"connection_id":120861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c8b"} 
[2026-07-01 12:50:27] local.INFO: GPS Element Parsed {"raw_longitude":753509376,"raw_latitude":119367088,"longitude_deg":75.3509376,"latitude_deg":11.9367088,"altitude":3,"angle":2,"satellites":40,"speed":28,"hex_longitude":"2ce9a400","hex_latitude":"071d65b0","is_valid_coordinates":true} 
[2026-07-01 12: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-01 12:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419916288001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333350077043048448,"note":"Value kept but may cause issues"} 
[2026-07-01 12:50:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1611021998645964800,"note":"Value kept but may cause issues"} 
[2026-07-01 12:50:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782890301000,"timestamp_ms":1782890301000,"timestamp_seconds":1782890301,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c8b0648"} 
[2026-07-01 12: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-01 12:50:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 12: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 12:50:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12: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-01 12: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-01 12:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:50:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419916288001,"66":27865,"110":206,"83":43008,"24":28,"16":333350077043048448,"44":-1611021998645964800},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-07-01 12:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419916288001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:50:27] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 12:50:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-01 12:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333350077043048448,"km_value":333350077043048.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:50:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1611021998645964800,"description":"Unknown IO ID 44"} 
[2026-07-01 12:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419916288001,"power":27865,"unknown_110":206,"unknown_83":43008,"ignition":28,"odometer":null,"unknown_44":-1611021998645964800}} 
[2026-07-01 12:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":120861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:50:27] local.INFO: GPS data processed {"connection_id":120861,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:50:27] local.INFO: Acknowledgment sent {"connection_id":120861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:50:58] local.INFO: TCP Data received {"connection_id":120861,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c8b19d0012ce9a600071d74780004000d28..."} 
[2026-07-01 12:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c8b19d0012ce9a600071d74780004000d28..."} 
[2026-07-01 12:50:58] local.INFO: Processing buffer {"connection_id":120861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c8b19d0012ce9a600071d74780004000d28..."} 
[2026-07-01 12:50:58] local.INFO: Packet analysis {"connection_id":120861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c8b"} 
[2026-07-01 12:50:58] local.INFO: Extracted packet for processing {"connection_id":120861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c8b"} 
[2026-07-01 12:50:58] local.INFO: GPS Element Parsed {"raw_longitude":753509888,"raw_latitude":119370872,"longitude_deg":75.3509888,"latitude_deg":11.9370872,"altitude":4,"angle":13,"satellites":40,"speed":32,"hex_longitude":"2ce9a600","hex_latitude":"071d7478","is_valid_coordinates":true} 
[2026-07-01 12: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-01 12:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419917056001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333350261726642176,"note":"Value kept but may cause issues"} 
[2026-07-01 12:50:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1611162736133820416,"note":"Value kept but may cause issues"} 
[2026-07-01 12:50:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782890306000,"timestamp_ms":1782890306000,"timestamp_seconds":1782890306,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c8b19d0"} 
[2026-07-01 12: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-01 12:50:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 12: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 12:50:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12: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-01 12: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-01 12:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:50:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419917056001,"66":27267,"110":206,"83":43008,"24":32,"16":333350261726642176,"44":-1611162736133820416},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-07-01 12:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419917056001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:50:58] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 12:50:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-01 12:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333350261726642176,"km_value":333350261726642.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:50:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1611162736133820416,"description":"Unknown IO ID 44"} 
[2026-07-01 12:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419917056001,"power":27267,"unknown_110":206,"unknown_83":43008,"ignition":32,"odometer":null,"unknown_44":-1611162736133820416}} 
[2026-07-01 12:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":120861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:50:58] local.INFO: GPS data processed {"connection_id":120861,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:50:58] local.INFO: Acknowledgment sent {"connection_id":120861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:51:20] local.INFO: TCP Data received {"connection_id":120862,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:51:20] local.INFO: Processing buffer {"connection_id":120862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:51:20] local.INFO: IMEI packet received {"connection_id":120862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 12:51:20] local.INFO: IMEI acknowledgment sent {"connection_id":120862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:51:26] local.INFO: TCP Data received {"connection_id":120862,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:51:26] local.INFO: Processing buffer {"connection_id":120862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:51:26] local.INFO: IMEI packet received {"connection_id":120862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":120862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:51:27] local.INFO: TCP Data received {"connection_id":120862,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c8ccf50012cea2580071eac000007001828..."} 
[2026-07-01 12:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c8ccf50012cea2580071eac000007001828..."} 
[2026-07-01 12:51:27] local.INFO: Processing buffer {"connection_id":120862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c8ccf50012cea2580071eac000007001828..."} 
[2026-07-01 12:51:27] local.INFO: Packet analysis {"connection_id":120862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c8c"} 
[2026-07-01 12:51:27] local.INFO: Extracted packet for processing {"connection_id":120862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c8c"} 
[2026-07-01 12:51:27] local.INFO: GPS Element Parsed {"raw_longitude":753542528,"raw_latitude":119450624,"longitude_deg":75.3542528,"latitude_deg":11.9450624,"altitude":7,"angle":24,"satellites":40,"speed":36,"hex_longitude":"2cea2580","hex_latitude":"071eac00","is_valid_coordinates":true} 
[2026-07-01 12:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419944960001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333354470794592256,"note":"Value kept but may cause issues"} 
[2026-07-01 12:51:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1579567169977978880,"note":"Value kept but may cause issues"} 
[2026-07-01 12:51:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782890418000,"timestamp_ms":1782890418000,"timestamp_seconds":1782890418,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c8ccf50"} 
[2026-07-01 12:51:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:51:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 12:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 12:51:27] 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-01 12:51:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:51:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:51:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419944960001,"66":27767,"75":206,"83":43008,"24":36,"16":333354470794592256,"44":-1579567169977978880},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,83,24,16,44]} 
[2026-07-01 12:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419944960001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:51:27] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-07-01 12:51:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-01 12:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333354470794592256,"km_value":333354470794592.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:51:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1579567169977978880,"description":"Unknown IO ID 44"} 
[2026-07-01 12:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419944960001,"power":27767,"unknown_75":206,"unknown_83":43008,"ignition":36,"odometer":null,"unknown_44":-1579567169977978880}} 
[2026-07-01 12:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":120862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:51:27] local.INFO: GPS data processed {"connection_id":120862,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:51:27] local.INFO: Acknowledgment sent {"connection_id":120862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:51:57] local.INFO: TCP Data received {"connection_id":120862,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c8cf278012cea31c0071ece480006001229..."} 
[2026-07-01 12:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c8cf278012cea31c0071ece480006001229..."} 
[2026-07-01 12:51:57] local.INFO: Processing buffer {"connection_id":120862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c8cf278012cea31c0071ece480006001229..."} 
[2026-07-01 12:51:57] local.INFO: Packet analysis {"connection_id":120862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c8c"} 
[2026-07-01 12:51:57] local.INFO: Extracted packet for processing {"connection_id":120862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c8c"} 
[2026-07-01 12:51:57] local.INFO: GPS Element Parsed {"raw_longitude":753545664,"raw_latitude":119459400,"longitude_deg":75.3545664,"latitude_deg":11.94594,"altitude":6,"angle":18,"satellites":41,"speed":43,"hex_longitude":"2cea31c0","hex_latitude":"071ece48","is_valid_coordinates":true} 
[2026-07-01 12:51:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:51:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419947008001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:51:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333354921766158336,"note":"Value kept but may cause issues"} 
[2026-07-01 12:51:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1574711726628405248,"note":"Value kept but may cause issues"} 
[2026-07-01 12:51:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:51:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782890427000,"timestamp_ms":1782890427000,"timestamp_seconds":1782890427,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c8cf278"} 
[2026-07-01 12:51:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:51:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 12:51:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 12:51:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:51:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:51:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:51:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:51:57] local.INFO: Teltonika packet parsed successfully {"connection_id":120862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:51:57] local.INFO: Passing IMEI to GPS processor {"connection_id":120862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:51:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":120862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:51:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:51:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:51:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:51:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419947008001,"66":27800,"75":206,"83":43008,"24":43,"16":333354921766158336,"44":-1574711726628405248},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,83,24,16,44]} 
[2026-07-01 12:51:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:51:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:51:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419947008001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:51:57] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-07-01 12:51:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-01 12:51:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333354921766158336,"km_value":333354921766158.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:51:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1574711726628405248,"description":"Unknown IO ID 44"} 
[2026-07-01 12:51:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419947008001,"power":27800,"unknown_75":206,"unknown_83":43008,"ignition":43,"odometer":null,"unknown_44":-1574711726628405248}} 
[2026-07-01 12:51:57] local.INFO: DEBUG: GPS processor result {"connection_id":120862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:51:57] local.INFO: GPS data processed {"connection_id":120862,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:51:57] local.INFO: Acknowledgment sent {"connection_id":120862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:52:20] local.INFO: TCP Data received {"connection_id":119107,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:52:20] local.INFO: Processing buffer {"connection_id":119107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:52:20] local.INFO: IMEI packet received {"connection_id":119107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 12:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":119107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:52:26] local.INFO: TCP Data received {"connection_id":119107,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:52:26] local.INFO: Processing buffer {"connection_id":119107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:52:26] local.INFO: IMEI packet received {"connection_id":119107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":119107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:52:27] local.INFO: TCP Data received {"connection_id":119107,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c8d15a0012cea3d40071ef2980006000d29..."} 
[2026-07-01 12:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c8d15a0012cea3d40071ef2980006000d29..."} 
[2026-07-01 12:52:27] local.INFO: Processing buffer {"connection_id":119107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c8d15a0012cea3d40071ef2980006000d29..."} 
[2026-07-01 12:52:27] local.INFO: Packet analysis {"connection_id":119107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c8d"} 
[2026-07-01 12:52:27] local.INFO: Extracted packet for processing {"connection_id":119107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c8d"} 
[2026-07-01 12:52:27] local.INFO: GPS Element Parsed {"raw_longitude":753548608,"raw_latitude":119468696,"longitude_deg":75.3548608,"latitude_deg":11.9468696,"altitude":6,"angle":13,"satellites":41,"speed":43,"hex_longitude":"2cea3d40","hex_latitude":"071ef298","is_valid_coordinates":true} 
[2026-07-01 12:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419949312001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333355394212560896,"note":"Value kept but may cause issues"} 
[2026-07-01 12:52:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1571263658161453056,"note":"Value kept but may cause issues"} 
[2026-07-01 12:52:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782890436000,"timestamp_ms":1782890436000,"timestamp_seconds":1782890436,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c8d15a0"} 
[2026-07-01 12:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:52: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-01 12:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 12:52:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:52:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:52:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419949312001,"66":27908,"75":206,"83":43008,"24":43,"16":333355394212560896,"44":-1571263658161453056},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,83,24,16,44]} 
[2026-07-01 12:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419949312001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:52:27] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-07-01 12:52:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-01 12:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333355394212560896,"km_value":333355394212560.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:52:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1571263658161453056,"description":"Unknown IO ID 44"} 
[2026-07-01 12:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419949312001,"power":27908,"unknown_75":206,"unknown_83":43008,"ignition":43,"odometer":null,"unknown_44":-1571263658161453056}} 
[2026-07-01 12:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":119107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:52:27] local.INFO: GPS data processed {"connection_id":119107,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:52:27] local.INFO: Acknowledgment sent {"connection_id":119107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:52:57] local.INFO: TCP Data received {"connection_id":119107,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c8d4868012cea4700071f15880005000c28..."} 
[2026-07-01 12:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c8d4868012cea4700071f15880005000c28..."} 
[2026-07-01 12:52:57] local.INFO: Processing buffer {"connection_id":119107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c8d4868012cea4700071f15880005000c28..."} 
[2026-07-01 12:52:57] local.INFO: Packet analysis {"connection_id":119107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c8d"} 
[2026-07-01 12:52:57] local.INFO: Extracted packet for processing {"connection_id":119107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c8d"} 
[2026-07-01 12:52:57] local.INFO: GPS Element Parsed {"raw_longitude":753551104,"raw_latitude":119477640,"longitude_deg":75.3551104,"latitude_deg":11.947764,"altitude":5,"angle":12,"satellites":40,"speed":24,"hex_longitude":"2cea4700","hex_latitude":"071f1588","is_valid_coordinates":true} 
[2026-07-01 12: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-01 12:52:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419951616001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:52:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333355845184126976,"note":"Value kept but may cause issues"} 
[2026-07-01 12:52:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1568026695926900736,"note":"Value kept but may cause issues"} 
[2026-07-01 12:52:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:52:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782890449000,"timestamp_ms":1782890449000,"timestamp_seconds":1782890449,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c8d4868"} 
[2026-07-01 12: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-01 12:52:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 12: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 12:52:57] 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-01 12: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-01 12: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-01 12:52:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:52:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:52:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:52:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:52:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:52:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:52:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:52:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419951616001,"66":27843,"184":206,"83":43008,"24":24,"16":333355845184126976,"44":-1568026695926900736},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,83,24,16,44]} 
[2026-07-01 12:52:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:52:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:52:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419951616001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:52:57] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-01 12:52:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-01 12:52:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333355845184126976,"km_value":333355845184127.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:52:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1568026695926900736,"description":"Unknown IO ID 44"} 
[2026-07-01 12:52:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419951616001,"power":27843,"unknown_184":206,"unknown_83":43008,"ignition":24,"odometer":null,"unknown_44":-1568026695926900736}} 
[2026-07-01 12:52:57] local.INFO: DEBUG: GPS processor result {"connection_id":119107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:52:57] local.INFO: GPS data processed {"connection_id":119107,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:52:57] local.INFO: Acknowledgment sent {"connection_id":119107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:53:40] local.INFO: TCP Data received {"connection_id":119774,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:53:40] local.INFO: Processing buffer {"connection_id":119774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:53:40] local.INFO: IMEI packet received {"connection_id":119774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 12:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":119774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:53:51] local.INFO: TCP Data received {"connection_id":119774,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:53:51] local.INFO: Processing buffer {"connection_id":119774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:53:51] local.INFO: IMEI packet received {"connection_id":119774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":119774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:53:52] local.INFO: TCP Data received {"connection_id":119774,"ip":"42.106.6.17","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 12:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119774,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 12:53:52] local.INFO: Processing buffer {"connection_id":119774,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 12:53:52] local.INFO: IMEI packet received {"connection_id":119774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":119774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:55:31] local.INFO: TCP Data received {"connection_id":119108,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119108,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:55:31] local.INFO: Processing buffer {"connection_id":119108,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:55:31] local.INFO: IMEI packet received {"connection_id":119108,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 12:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":119108,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:56:17] local.INFO: TCP Data received {"connection_id":120865,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120865,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:56:17] local.INFO: Processing buffer {"connection_id":120865,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 12:56:17] local.INFO: IMEI packet received {"connection_id":120865,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 12:56:17] local.INFO: IMEI acknowledgment sent {"connection_id":120865,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:58:46] local.INFO: TCP Data received {"connection_id":119776,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:58:46] local.INFO: Processing buffer {"connection_id":119776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:58:46] local.INFO: IMEI packet received {"connection_id":119776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 12:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":119776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:58:47] local.INFO: TCP Data received {"connection_id":119776,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c935348012ced6340072449b80022001b29..."} 
[2026-07-01 12:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c935348012ced6340072449b80022001b29..."} 
[2026-07-01 12:58:47] local.INFO: Processing buffer {"connection_id":119776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c935348012ced6340072449b80022001b29..."} 
[2026-07-01 12:58:47] local.INFO: Packet analysis {"connection_id":119776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c93"} 
[2026-07-01 12:58:47] local.INFO: Extracted packet for processing {"connection_id":119776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c93"} 
[2026-07-01 12:58:47] local.INFO: GPS Element Parsed {"raw_longitude":753754944,"raw_latitude":119818680,"longitude_deg":75.3754944,"latitude_deg":11.981868,"altitude":34,"angle":27,"satellites":41,"speed":56,"hex_longitude":"2ced6340","hex_latitude":"072449b8","is_valid_coordinates":true} 
[2026-07-01 12:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420054528001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333376662890610688,"note":"Value kept but may cause issues"} 
[2026-07-01 12:58:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1346998470377418752,"note":"Value kept but may cause issues"} 
[2026-07-01 12:58:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782890845000,"timestamp_ms":1782890845000,"timestamp_seconds":1782890845,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c935348"} 
[2026-07-01 12:58:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:58:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 12:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-01 12:58:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:58:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:58:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":119776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":119776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":119776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:58:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420054528001,"66":27919,"58":206,"83":43008,"24":56,"16":333376662890610688,"44":-1346998470377418752},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,44]} 
[2026-07-01 12:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420054528001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:58:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-01 12:58:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-01 12:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333376662890610688,"km_value":333376662890610.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:58:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1346998470377418752,"description":"Unknown IO ID 44"} 
[2026-07-01 12:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420054528001,"power":27919,"unknown_58":206,"unknown_83":43008,"ignition":56,"odometer":null,"unknown_44":-1346998470377418752}} 
[2026-07-01 12:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":119776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:58:47] local.INFO: GPS data processed {"connection_id":119776,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:58:47] local.INFO: Acknowledgment sent {"connection_id":119776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:59:28] local.INFO: TCP Data received {"connection_id":120867,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:59:28] local.INFO: Processing buffer {"connection_id":120867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:59:28] local.INFO: IMEI packet received {"connection_id":120867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 12:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":120867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 12:59:32] local.INFO: TCP Data received {"connection_id":120867,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:59:32] local.INFO: Processing buffer {"connection_id":120867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:59:32] local.INFO: IMEI packet received {"connection_id":120867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":120867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:59:35] local.INFO: TCP Data received {"connection_id":120867,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:59:35] local.INFO: Processing buffer {"connection_id":120867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 12:59:35] local.INFO: IMEI packet received {"connection_id":120867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 12:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":120867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 12:59:36] local.INFO: TCP Data received {"connection_id":120867,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c936ab8012ced6f8007246828002500102a..."} 
[2026-07-01 12:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c936ab8012ced6f8007246828002500102a..."} 
[2026-07-01 12:59:36] local.INFO: Processing buffer {"connection_id":120867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c936ab8012ced6f8007246828002500102a..."} 
[2026-07-01 12:59:36] local.INFO: Packet analysis {"connection_id":120867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c93"} 
[2026-07-01 12:59:36] local.INFO: Extracted packet for processing {"connection_id":120867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c93"} 
[2026-07-01 12:59:36] local.INFO: GPS Element Parsed {"raw_longitude":753758080,"raw_latitude":119826472,"longitude_deg":75.375808,"latitude_deg":11.9826472,"altitude":37,"angle":16,"satellites":42,"speed":54,"hex_longitude":"2ced6f80","hex_latitude":"07246828","is_valid_coordinates":true} 
[2026-07-01 12:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420056320001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333377066617536512,"note":"Value kept but may cause issues"} 
[2026-07-01 12:59:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1341157864608516096,"note":"Value kept but may cause issues"} 
[2026-07-01 12:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782890851000,"timestamp_ms":1782890851000,"timestamp_seconds":1782890851,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c936ab8"} 
[2026-07-01 12:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 12:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 12:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:59:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":120867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":120867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":120867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420056320001,"66":27865,"58":206,"83":43008,"24":54,"16":333377066617536512,"44":-1341157864608516096},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,44]} 
[2026-07-01 12:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420056320001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:59:36] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-01 12:59:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-01 12:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333377066617536512,"km_value":333377066617536.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:59:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1341157864608516096,"description":"Unknown IO ID 44"} 
[2026-07-01 12:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420056320001,"power":27865,"unknown_58":206,"unknown_83":43008,"ignition":54,"odometer":null,"unknown_44":-1341157864608516096}} 
[2026-07-01 12:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":120867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:59:36] local.INFO: GPS data processed {"connection_id":120867,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:59:36] local.INFO: Acknowledgment sent {"connection_id":120867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 12:59:37] local.INFO: TCP Data received {"connection_id":120867,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c938610012ced78c007248c400027000c29..."} 
[2026-07-01 12:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c938610012ced78c007248c400027000c29..."} 
[2026-07-01 12:59:37] local.INFO: Processing buffer {"connection_id":120867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c938610012ced78c007248c400027000c29..."} 
[2026-07-01 12:59:37] local.INFO: Packet analysis {"connection_id":120867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c93"} 
[2026-07-01 12:59:37] local.INFO: Extracted packet for processing {"connection_id":120867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c93"} 
[2026-07-01 12:59:37] local.INFO: GPS Element Parsed {"raw_longitude":753760448,"raw_latitude":119835712,"longitude_deg":75.3760448,"latitude_deg":11.9835712,"altitude":39,"angle":12,"satellites":41,"speed":53,"hex_longitude":"2ced78c0","hex_latitude":"07248c40","is_valid_coordinates":true} 
[2026-07-01 12:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 12:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420057856001,"note":"Value kept but may cause issues"} 
[2026-07-01 12:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333377530474004480,"note":"Value kept but may cause issues"} 
[2026-07-01 12:59:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1337709796141815808,"note":"Value kept but may cause issues"} 
[2026-07-01 12:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 12:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782890858000,"timestamp_ms":1782890858000,"timestamp_seconds":1782890858,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c938610"} 
[2026-07-01 12:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 12:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 12:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 12:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 12:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 12:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 12:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 12:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":120867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 12:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":120867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":120867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 12:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 12:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 12:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 12:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420057856001,"66":27800,"58":206,"83":43008,"24":53,"16":333377530474004480,"44":-1337709796141815808},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,83,24,16,44]} 
[2026-07-01 12:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 12:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 12:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420057856001,"description":"Unknown IO ID 0"} 
[2026-07-01 12:59:37] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-07-01 12:59:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-01 12:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333377530474004480,"km_value":333377530474004.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 12:59:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1337709796141815808,"description":"Unknown IO ID 44"} 
[2026-07-01 12:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420057856001,"power":27800,"unknown_58":206,"unknown_83":43008,"ignition":53,"odometer":null,"unknown_44":-1337709796141815808}} 
[2026-07-01 12:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":120867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 12:59:37] local.INFO: GPS data processed {"connection_id":120867,"processed":1,"errors":0,"total":1} 
[2026-07-01 12:59:37] local.INFO: Acknowledgment sent {"connection_id":120867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:00:26] local.INFO: TCP Data received {"connection_id":119777,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:00:26] local.INFO: Processing buffer {"connection_id":119777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:00:26] local.INFO: IMEI packet received {"connection_id":119777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 13:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":119777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:00:37] local.INFO: TCP Data received {"connection_id":119777,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:00:37] local.INFO: Processing buffer {"connection_id":119777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:00:37] local.INFO: IMEI packet received {"connection_id":119777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":119777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:00:37] local.INFO: TCP Data received {"connection_id":119777,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:00:37] local.INFO: Processing buffer {"connection_id":119777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:00:37] local.INFO: IMEI packet received {"connection_id":119777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":119777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:00:38] local.INFO: TCP Data received {"connection_id":119777,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c94f540012ceccac00725ff180021013f2a..."} 
[2026-07-01 13:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c94f540012ceccac00725ff180021013f2a..."} 
[2026-07-01 13:00:38] local.INFO: Processing buffer {"connection_id":119777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c94f540012ceccac00725ff180021013f2a..."} 
[2026-07-01 13:00:38] local.INFO: Packet analysis {"connection_id":119777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c94"} 
[2026-07-01 13:00:38] local.INFO: Extracted packet for processing {"connection_id":119777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c94"} 
[2026-07-01 13:00:38] local.INFO: GPS Element Parsed {"raw_longitude":753715904,"raw_latitude":119930648,"longitude_deg":75.3715904,"latitude_deg":11.9930648,"altitude":33,"angle":319,"satellites":42,"speed":51,"hex_longitude":"2ceccac0","hex_latitude":"0725ff18","is_valid_coordinates":true} 
[2026-07-01 13:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420081920001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333382834758615040,"note":"Value kept but may cause issues"} 
[2026-07-01 13:00:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1377468136577298432,"note":"Value kept but may cause issues"} 
[2026-07-01 13:00:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782890952000,"timestamp_ms":1782890952000,"timestamp_seconds":1782890952,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c94f540"} 
[2026-07-01 13:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 13:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 13:00:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 13:00:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 13:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":119777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":119777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":119777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 13:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420081920001,"66":27745,"166":206,"83":44032,"24":51,"16":333382834758615040,"44":-1377468136577298432},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,83,24,16,44]} 
[2026-07-01 13:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420081920001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:00:38] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-07-01 13:00:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-07-01 13:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333382834758615040,"km_value":333382834758615.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:00:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1377468136577298432,"description":"Unknown IO ID 44"} 
[2026-07-01 13:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420081920001,"power":27745,"unknown_166":206,"unknown_83":44032,"ignition":51,"odometer":null,"unknown_44":-1377468136577298432}} 
[2026-07-01 13:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":119777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:00:38] local.INFO: GPS data processed {"connection_id":119777,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:00:38] local.INFO: Acknowledgment sent {"connection_id":119777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:00:39] local.INFO: TCP Data received {"connection_id":119777,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c951098012cecb38007261a100023013f29..."} 
[2026-07-01 13:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c951098012cecb38007261a100023013f29..."} 
[2026-07-01 13:00:39] local.INFO: Processing buffer {"connection_id":119777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c951098012cecb38007261a100023013f29..."} 
[2026-07-01 13:00:39] local.INFO: Packet analysis {"connection_id":119777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c95"} 
[2026-07-01 13:00:39] local.INFO: Extracted packet for processing {"connection_id":119777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c95"} 
[2026-07-01 13:00:39] local.INFO: GPS Element Parsed {"raw_longitude":753709952,"raw_latitude":119937552,"longitude_deg":75.3709952,"latitude_deg":11.9937552,"altitude":35,"angle":319,"satellites":41,"speed":50,"hex_longitude":"2cecb380","hex_latitude":"07261a10","is_valid_coordinates":true} 
[2026-07-01 13: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-01 13:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420083712001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333383272845279232,"note":"Value kept but may cause issues"} 
[2026-07-01 13:00:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1384082798528227328,"note":"Value kept but may cause issues"} 
[2026-07-01 13:00:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782890959000,"timestamp_ms":1782890959000,"timestamp_seconds":1782890959,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c951098"} 
[2026-07-01 13: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-01 13:00:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 13: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 13:00:39] 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-01 13: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-01 13: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-01 13:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":119777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":119777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":119777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:00:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 13:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420083712001,"66":27800,"166":206,"83":44032,"24":50,"16":333383272845279232,"44":-1384082798528227328},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,83,24,16,44]} 
[2026-07-01 13:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420083712001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:00:39] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-07-01 13:00:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-07-01 13:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333383272845279232,"km_value":333383272845279.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:00:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1384082798528227328,"description":"Unknown IO ID 44"} 
[2026-07-01 13:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420083712001,"power":27800,"unknown_166":206,"unknown_83":44032,"ignition":50,"odometer":null,"unknown_44":-1384082798528227328}} 
[2026-07-01 13:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":119777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:00:39] local.INFO: GPS data processed {"connection_id":119777,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:00:39] local.INFO: Acknowledgment sent {"connection_id":119777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:01:31] local.INFO: TCP Data received {"connection_id":118988,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118988,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:01:31] local.INFO: Processing buffer {"connection_id":118988,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:01:31] local.INFO: IMEI packet received {"connection_id":118988,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 13:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":118988,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:01:42] local.INFO: TCP Data received {"connection_id":119113,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:01:42] local.INFO: Processing buffer {"connection_id":119113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:01:42] local.INFO: IMEI packet received {"connection_id":119113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 13:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":119113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:01:51] local.INFO: TCP Data received {"connection_id":119113,"ip":"42.106.6.18","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 13:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119113,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 13:01:51] local.INFO: Processing buffer {"connection_id":119113,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 13:01:51] local.INFO: IMEI packet received {"connection_id":119113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":119113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:01:53] local.INFO: TCP Data received {"connection_id":119113,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c95faf8012cec794007275a680016015e2a..."} 
[2026-07-01 13:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c95faf8012cec794007275a680016015e2a..."} 
[2026-07-01 13:01:53] local.INFO: Processing buffer {"connection_id":119113,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f1c..."} 
[2026-07-01 13:01:53] local.INFO: IMEI packet received {"connection_id":119113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":119113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:01:54] local.INFO: TCP Data received {"connection_id":119113,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c960a98012cec77c0072775b00013000128..."} 
[2026-07-01 13:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c960a98012cec77c0072775b00013000128..."} 
[2026-07-01 13:01:54] local.INFO: Processing buffer {"connection_id":119113,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f1c95faf8012cec794007275a680016015e2a..."} 
[2026-07-01 13:01:54] local.INFO: Packet analysis {"connection_id":119113,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f1c95"} 
[2026-07-01 13:01:54] local.INFO: Extracted packet for processing {"connection_id":119113,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c95"} 
[2026-07-01 13:01:54] local.INFO: GPS Element Parsed {"raw_longitude":753695040,"raw_latitude":120019560,"longitude_deg":75.369504,"latitude_deg":12.001956,"altitude":22,"angle":350,"satellites":42,"speed":68,"hex_longitude":"2cec7940","hex_latitude":"07275a68","is_valid_coordinates":true} 
[2026-07-01 13:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420099328001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333387451848458240,"note":"Value kept but may cause issues"} 
[2026-07-01 13:01:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1403856415621892096,"note":"Value kept but may cause issues"} 
[2026-07-01 13:01:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782891019000,"timestamp_ms":1782891019000,"timestamp_seconds":1782891019,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c95faf8"} 
[2026-07-01 13:01:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:01: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-01 13:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 13:01:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 13:01:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 13:01:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":119113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":119113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":119113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:01:54] 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-01 13:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420099328001,"66":27800,"188":206,"83":44032,"24":68,"16":333387451848458240,"44":-1403856415621892096},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,83,24,16,44]} 
[2026-07-01 13:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420099328001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:01:54] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-01 13:01:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-07-01 13:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333387451848458240,"km_value":333387451848458.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:01:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1403856415621892096,"description":"Unknown IO ID 44"} 
[2026-07-01 13:01:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420099328001,"power":27800,"unknown_188":206,"unknown_83":44032,"ignition":68,"odometer":null,"unknown_44":-1403856415621892096}} 
[2026-07-01 13:01:54] local.INFO: DEBUG: GPS processor result {"connection_id":119113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:01:54] local.INFO: GPS data processed {"connection_id":119113,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:01:54] local.INFO: Acknowledgment sent {"connection_id":119113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:01:54] local.INFO: Packet analysis {"connection_id":119113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c96"} 
[2026-07-01 13:01:54] local.INFO: Extracted packet for processing {"connection_id":119113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c96"} 
[2026-07-01 13:01:54] local.INFO: GPS Element Parsed {"raw_longitude":753694656,"raw_latitude":120026544,"longitude_deg":75.3694656,"latitude_deg":12.0026544,"altitude":19,"angle":1,"satellites":40,"speed":70,"hex_longitude":"2cec77c0","hex_latitude":"072775b0","is_valid_coordinates":true} 
[2026-07-01 13:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420100864001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333387791150874624,"note":"Value kept but may cause issues"} 
[2026-07-01 13:01:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1407023009107384320,"note":"Value kept but may cause issues"} 
[2026-07-01 13:01:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782891023000,"timestamp_ms":1782891023000,"timestamp_seconds":1782891023,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c960a98"} 
[2026-07-01 13:01:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:01: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-01 13:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 13:01:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 13:01:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 13:01:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":119113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":119113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":119113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:01:54] 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-01 13:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420100864001,"66":27876,"188":206,"83":44032,"24":70,"16":333387791150874624,"44":-1407023009107384320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,83,24,16,44]} 
[2026-07-01 13:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420100864001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:01:54] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-01 13:01:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-07-01 13:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333387791150874624,"km_value":333387791150874.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:01:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1407023009107384320,"description":"Unknown IO ID 44"} 
[2026-07-01 13:01:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420100864001,"power":27876,"unknown_188":206,"unknown_83":44032,"ignition":70,"odometer":null,"unknown_44":-1407023009107384320}} 
[2026-07-01 13:01:54] local.INFO: DEBUG: GPS processor result {"connection_id":119113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:01:54] local.INFO: GPS data processed {"connection_id":119113,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:01:54] local.INFO: Acknowledgment sent {"connection_id":119113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:01:57] local.INFO: TCP Data received {"connection_id":119113,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c962208012cec7ac007279d78000f00012a..."} 
[2026-07-01 13:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c962208012cec7ac007279d78000f00012a..."} 
[2026-07-01 13:01:57] local.INFO: Processing buffer {"connection_id":119113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c962208012cec7ac007279d78000f00012a..."} 
[2026-07-01 13:01:57] local.INFO: Packet analysis {"connection_id":119113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c96"} 
[2026-07-01 13:01:57] local.INFO: Extracted packet for processing {"connection_id":119113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c96"} 
[2026-07-01 13:01:57] local.INFO: GPS Element Parsed {"raw_longitude":753695424,"raw_latitude":120036728,"longitude_deg":75.3695424,"latitude_deg":12.0036728,"altitude":15,"angle":1,"satellites":42,"speed":63,"hex_longitude":"2cec7ac0","hex_latitude":"07279d78","is_valid_coordinates":true} 
[2026-07-01 13:01:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:01:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420101888001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:01:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333388285072113664,"note":"Value kept but may cause issues"} 
[2026-07-01 13:01:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1407445221570662400,"note":"Value kept but may cause issues"} 
[2026-07-01 13:01:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:01:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782891029000,"timestamp_ms":1782891029000,"timestamp_seconds":1782891029,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c962208"} 
[2026-07-01 13:01:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:01:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 13:01:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-01 13:01:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 13:01:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 13:01:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:01:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:01:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:01:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:01:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:01:57] 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-01 13:01:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:01:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:01:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420101888001,"66":27800,"188":206,"83":44032,"24":63,"16":333388285072113664,"44":-1407445221570662400},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,83,24,16,44]} 
[2026-07-01 13:01:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:01:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:01:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420101888001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:01:57] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-01 13:01:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-07-01 13:01:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333388285072113664,"km_value":333388285072113.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:01:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1407445221570662400,"description":"Unknown IO ID 44"} 
[2026-07-01 13:01:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420101888001,"power":27800,"unknown_188":206,"unknown_83":44032,"ignition":63,"odometer":null,"unknown_44":-1407445221570662400}} 
[2026-07-01 13:01:57] local.INFO: DEBUG: GPS processor result {"connection_id":119113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:01:57] local.INFO: GPS data processed {"connection_id":119113,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:01:57] local.INFO: Acknowledgment sent {"connection_id":119113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:02:15] local.INFO: TCP Data received {"connection_id":118989,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118989,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:02:15] local.INFO: Processing buffer {"connection_id":118989,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:02:15] local.INFO: IMEI packet received {"connection_id":118989,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 13:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":118989,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:02:21] local.INFO: TCP Data received {"connection_id":119778,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:02:21] local.INFO: Processing buffer {"connection_id":119778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:02:21] local.INFO: IMEI packet received {"connection_id":119778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 13:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":119778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:02:23] local.INFO: TCP Data received {"connection_id":119778,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:02:23] local.INFO: Processing buffer {"connection_id":119778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:02:23] local.INFO: IMEI packet received {"connection_id":119778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":119778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:02:25] local.INFO: TCP Data received {"connection_id":119778,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c963d60012cec79000727c420000a01622b..."} 
[2026-07-01 13:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c963d60012cec79000727c420000a01622b..."} 
[2026-07-01 13:02:25] local.INFO: Processing buffer {"connection_id":119778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c963d60012cec79000727c420000a01622b..."} 
[2026-07-01 13:02:25] local.INFO: Packet analysis {"connection_id":119778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c96"} 
[2026-07-01 13:02:25] local.INFO: Extracted packet for processing {"connection_id":119778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c96"} 
[2026-07-01 13:02:25] local.INFO: GPS Element Parsed {"raw_longitude":753694976,"raw_latitude":120046624,"longitude_deg":75.3694976,"latitude_deg":12.0046624,"altitude":10,"angle":354,"satellites":43,"speed":47,"hex_longitude":"2cec7900","hex_latitude":"0727c420","is_valid_coordinates":true} 
[2026-07-01 13:02:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:02:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420103424001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:02:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333388766108450816,"note":"Value kept but may cause issues"} 
[2026-07-01 13:02:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1406600796637923328,"note":"Value kept but may cause issues"} 
[2026-07-01 13:02:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:02:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782891036000,"timestamp_ms":1782891036000,"timestamp_seconds":1782891036,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c963d60"} 
[2026-07-01 13:02:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:02:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 13:02:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 13:02:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 13:02:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 13:02:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:02:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:02:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:02:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:02:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:02:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 13:02:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:02:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:02:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420103424001,"66":27876,"188":206,"83":44032,"24":47,"16":333388766108450816,"44":-1406600796637923328},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,83,24,16,44]} 
[2026-07-01 13:02:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:02:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:02:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420103424001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:02:25] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-01 13:02:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-07-01 13:02:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333388766108450816,"km_value":333388766108450.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:02:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1406600796637923328,"description":"Unknown IO ID 44"} 
[2026-07-01 13:02:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420103424001,"power":27876,"unknown_188":206,"unknown_83":44032,"ignition":47,"odometer":null,"unknown_44":-1406600796637923328}} 
[2026-07-01 13:02:25] local.INFO: DEBUG: GPS processor result {"connection_id":119778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:02:25] local.INFO: GPS data processed {"connection_id":119778,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:02:25] local.INFO: Acknowledgment sent {"connection_id":119778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:02:56] local.INFO: TCP Data received {"connection_id":119778,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c966470012cec75400727e8200006015f2b..."} 
[2026-07-01 13:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c966470012cec75400727e8200006015f2b..."} 
[2026-07-01 13:02:56] local.INFO: Processing buffer {"connection_id":119778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c966470012cec75400727e8200006015f2b..."} 
[2026-07-01 13:02:56] local.INFO: Packet analysis {"connection_id":119778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c96"} 
[2026-07-01 13:02:56] local.INFO: Extracted packet for processing {"connection_id":119778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c96"} 
[2026-07-01 13:02:56] local.INFO: GPS Element Parsed {"raw_longitude":753694016,"raw_latitude":120055840,"longitude_deg":75.3694016,"latitude_deg":12.005584,"altitude":6,"angle":351,"satellites":43,"speed":26,"hex_longitude":"2cec7540","hex_latitude":"0727e820","is_valid_coordinates":true} 
[2026-07-01 13: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-01 13:02:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420105216001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:02:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333389217080016896,"note":"Value kept but may cause issues"} 
[2026-07-01 13:02:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1407093377844633600,"note":"Value kept but may cause issues"} 
[2026-07-01 13:02:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:02:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782891046000,"timestamp_ms":1782891046000,"timestamp_seconds":1782891046,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c966470"} 
[2026-07-01 13: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-01 13:02:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 13: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-01 13:02:56] 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-01 13: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-01 13: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-01 13:02:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:02:56] local.INFO: Teltonika packet parsed successfully {"connection_id":119778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:02:56] local.INFO: Passing IMEI to GPS processor {"connection_id":119778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:02:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":119778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:02:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 13:02:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:02:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:02:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420105216001,"66":27789,"188":206,"83":44032,"24":26,"16":333389217080016896,"44":-1407093377844633600},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,83,24,16,44]} 
[2026-07-01 13:02:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:02:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:02:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420105216001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:02:56] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-01 13:02:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-07-01 13:02:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333389217080016896,"km_value":333389217080016.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:02:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1407093377844633600,"description":"Unknown IO ID 44"} 
[2026-07-01 13:02:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420105216001,"power":27789,"unknown_188":206,"unknown_83":44032,"ignition":26,"odometer":null,"unknown_44":-1407093377844633600}} 
[2026-07-01 13:02:56] local.INFO: DEBUG: GPS processor result {"connection_id":119778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:02:56] local.INFO: GPS data processed {"connection_id":119778,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:02:56] local.INFO: Acknowledgment sent {"connection_id":119778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:03:22] local.INFO: TCP Data received {"connection_id":118991,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:03:22] local.INFO: Processing buffer {"connection_id":118991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:03:22] local.INFO: IMEI packet received {"connection_id":118991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 13:03:22] local.INFO: IMEI acknowledgment sent {"connection_id":118991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:03:25] local.INFO: TCP Data received {"connection_id":118991,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:03:25] local.INFO: Processing buffer {"connection_id":118991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:03:25] local.INFO: IMEI packet received {"connection_id":118991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":118991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:03:26] local.INFO: TCP Data received {"connection_id":118991,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c96b678012cec724007280278000500002b..."} 
[2026-07-01 13:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c96b678012cec724007280278000500002b..."} 
[2026-07-01 13:03:26] local.INFO: Processing buffer {"connection_id":118991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c96b678012cec724007280278000500002b..."} 
[2026-07-01 13:03:26] local.INFO: Packet analysis {"connection_id":118991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c96"} 
[2026-07-01 13:03:26] local.INFO: Extracted packet for processing {"connection_id":118991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c96"} 
[2026-07-01 13:03:26] local.INFO: GPS Element Parsed {"raw_longitude":753693248,"raw_latitude":120062584,"longitude_deg":75.3693248,"latitude_deg":12.0062584,"altitude":5,"angle":0,"satellites":43,"speed":11,"hex_longitude":"2cec7240","hex_latitude":"07280278","is_valid_coordinates":true} 
[2026-07-01 13:03: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-01 13:03:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420107776001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:03:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333389552087465984,"note":"Value kept but may cause issues"} 
[2026-07-01 13:03:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1408148909004939264,"note":"Value kept but may cause issues"} 
[2026-07-01 13:03:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:03:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782891067000,"timestamp_ms":1782891067000,"timestamp_seconds":1782891067,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c96b678"} 
[2026-07-01 13:03:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:03: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-01 13:03:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-01 13:03:26] 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-01 13:03: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-01 13:03:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:03:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:03:26] local.INFO: Teltonika packet parsed successfully {"connection_id":118991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:03:26] local.INFO: Passing IMEI to GPS processor {"connection_id":118991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:03:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":118991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:03:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 13:03:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:03:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:03:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420107776001,"66":27832,"188":206,"83":44032,"24":11,"16":333389552087465984,"44":-1408148909004939264},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,83,24,16,44]} 
[2026-07-01 13:03:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:03:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:03:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420107776001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:03:26] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-07-01 13:03:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-07-01 13:03:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333389552087465984,"km_value":333389552087466.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:03:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1408148909004939264,"description":"Unknown IO ID 44"} 
[2026-07-01 13:03:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420107776001,"power":27832,"unknown_188":206,"unknown_83":44032,"ignition":11,"odometer":null,"unknown_44":-1408148909004939264}} 
[2026-07-01 13:03:26] local.INFO: DEBUG: GPS processor result {"connection_id":118991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:03:26] local.INFO: GPS data processed {"connection_id":118991,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:03:26] local.INFO: Acknowledgment sent {"connection_id":118991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:03:26] local.INFO: TCP Data received {"connection_id":118991,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c96f110012cec6e00072828800005016129..."} 
[2026-07-01 13:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c96f110012cec6e00072828800005016129..."} 
[2026-07-01 13:03:26] local.INFO: Processing buffer {"connection_id":118991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c96f110012cec6e00072828800005016129..."} 
[2026-07-01 13:03:26] local.INFO: Packet analysis {"connection_id":118991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c96"} 
[2026-07-01 13:03:26] local.INFO: Extracted packet for processing {"connection_id":118991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c96"} 
[2026-07-01 13:03:26] local.INFO: GPS Element Parsed {"raw_longitude":753692160,"raw_latitude":120072320,"longitude_deg":75.369216,"latitude_deg":12.007232,"altitude":5,"angle":353,"satellites":41,"speed":38,"hex_longitude":"2cec6e00","hex_latitude":"07282880","is_valid_coordinates":true} 
[2026-07-01 13:03: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-01 13:03:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420113152001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:03:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333390024533868544,"note":"Value kept but may cause issues"} 
[2026-07-01 13:03:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1408993333933344768,"note":"Value kept but may cause issues"} 
[2026-07-01 13:03:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:03:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782891082000,"timestamp_ms":1782891082000,"timestamp_seconds":1782891082,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c96f110"} 
[2026-07-01 13:03:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:03:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 13:03:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-01 13:03:26] 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-01 13:03: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-01 13:03:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:03:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:03:26] local.INFO: Teltonika packet parsed successfully {"connection_id":118991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:03:26] local.INFO: Passing IMEI to GPS processor {"connection_id":118991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:03:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":118991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:03:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 13:03:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:03:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:03:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420113152001,"66":27647,"102":206,"83":44032,"24":38,"16":333390024533868544,"44":-1408993333933344768},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,44]} 
[2026-07-01 13:03:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:03:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:03:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420113152001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:03:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-01 13:03:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-07-01 13:03:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333390024533868544,"km_value":333390024533868.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:03:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1408993333933344768,"description":"Unknown IO ID 44"} 
[2026-07-01 13:03:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420113152001,"power":27647,"unknown_102":206,"unknown_83":44032,"ignition":38,"odometer":null,"unknown_44":-1408993333933344768}} 
[2026-07-01 13:03:26] local.INFO: DEBUG: GPS processor result {"connection_id":118991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:03:26] local.INFO: GPS data processed {"connection_id":118991,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:03:26] local.INFO: Acknowledgment sent {"connection_id":118991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:03:57] local.INFO: TCP Data received {"connection_id":118991,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c9896f0012cec77c00729cbd0001f016129..."} 
[2026-07-01 13:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c9896f0012cec77c00729cbd0001f016129..."} 
[2026-07-01 13:03:57] local.INFO: Processing buffer {"connection_id":118991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c9896f0012cec77c00729cbd0001f016129..."} 
[2026-07-01 13:03:57] local.INFO: Packet analysis {"connection_id":118991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c98"} 
[2026-07-01 13:03:57] local.INFO: Extracted packet for processing {"connection_id":118991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c98"} 
[2026-07-01 13:03:57] local.INFO: GPS Element Parsed {"raw_longitude":753694656,"raw_latitude":120179664,"longitude_deg":75.3694656,"latitude_deg":12.0179664,"altitude":31,"angle":353,"satellites":41,"speed":38,"hex_longitude":"2cec77c0","hex_latitude":"0729cbd0","is_valid_coordinates":true} 
[2026-07-01 13:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:03:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420143360001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:03:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333395294458740736,"note":"Value kept but may cause issues"} 
[2026-07-01 13:03:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1407234115300253696,"note":"Value kept but may cause issues"} 
[2026-07-01 13:03:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:03:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782891190000,"timestamp_ms":1782891190000,"timestamp_seconds":1782891190,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c9896f0"} 
[2026-07-01 13:03:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:03:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 13:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 13:03:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 13:03:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 13:03:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:03:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:03:57] local.INFO: Teltonika packet parsed successfully {"connection_id":118991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:03:57] local.INFO: Passing IMEI to GPS processor {"connection_id":118991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:03:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":118991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:03:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 13:03:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:03:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:03:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420143360001,"66":27843,"171":206,"83":44032,"24":38,"16":333395294458740736,"44":-1407234115300253696},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,83,24,16,44]} 
[2026-07-01 13:03:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:03:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:03:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420143360001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:03:57] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-07-01 13:03:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-07-01 13:03:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333395294458740736,"km_value":333395294458740.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:03:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1407234115300253696,"description":"Unknown IO ID 44"} 
[2026-07-01 13:03:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420143360001,"power":27843,"unknown_171":206,"unknown_83":44032,"ignition":38,"odometer":null,"unknown_44":-1407234115300253696}} 
[2026-07-01 13:03:57] local.INFO: DEBUG: GPS processor result {"connection_id":118991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:03:57] local.INFO: GPS data processed {"connection_id":118991,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:03:57] local.INFO: Acknowledgment sent {"connection_id":118991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:04:19] local.INFO: TCP Data received {"connection_id":119115,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:04:19] local.INFO: Processing buffer {"connection_id":119115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:04:19] local.INFO: IMEI packet received {"connection_id":119115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 13:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":119115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:04:21] local.INFO: TCP Data received {"connection_id":119115,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:04:21] local.INFO: Processing buffer {"connection_id":119115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:04:21] local.INFO: IMEI packet received {"connection_id":119115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":119115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:04:26] local.INFO: TCP Data received {"connection_id":119115,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:04:26] local.INFO: Processing buffer {"connection_id":119115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:04:26] local.INFO: IMEI packet received {"connection_id":119115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":119115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:04:27] local.INFO: TCP Data received {"connection_id":119115,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c98a2a8012cec76800729d538002001552c..."} 
[2026-07-01 13:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c98a2a8012cec76800729d538002001552c..."} 
[2026-07-01 13:04:27] local.INFO: Processing buffer {"connection_id":119115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c98a2a8012cec76800729d538002001552c..."} 
[2026-07-01 13:04:27] local.INFO: Packet analysis {"connection_id":119115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c98"} 
[2026-07-01 13:04:27] local.INFO: Extracted packet for processing {"connection_id":119115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c98"} 
[2026-07-01 13:04:27] local.INFO: GPS Element Parsed {"raw_longitude":753694336,"raw_latitude":120182072,"longitude_deg":75.3694336,"latitude_deg":12.0182072,"altitude":32,"angle":341,"satellites":44,"speed":25,"hex_longitude":"2cec7680","hex_latitude":"0729d538","is_valid_coordinates":true} 
[2026-07-01 13:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:04:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420144640001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:04:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333395414717825024,"note":"Value kept but may cause issues"} 
[2026-07-01 13:04:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1407445221531463680,"note":"Value kept but may cause issues"} 
[2026-07-01 13:04:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:04:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782891193000,"timestamp_ms":1782891193000,"timestamp_seconds":1782891193,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c98a2a8"} 
[2026-07-01 13:04:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:04:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 13:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 13:04:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 13:04:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 13:04:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:04:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:04:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:04:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:04:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:04:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 13:04:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:04:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:04:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420144640001,"66":27745,"171":206,"83":44032,"24":25,"16":333395414717825024,"44":-1407445221531463680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,83,24,16,44]} 
[2026-07-01 13:04:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:04:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:04:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420144640001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:04:27] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-07-01 13:04:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-07-01 13:04:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333395414717825024,"km_value":333395414717825.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:04:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1407445221531463680,"description":"Unknown IO ID 44"} 
[2026-07-01 13:04:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420144640001,"power":27745,"unknown_171":206,"unknown_83":44032,"ignition":25,"odometer":null,"unknown_44":-1407445221531463680}} 
[2026-07-01 13:04:27] local.INFO: DEBUG: GPS processor result {"connection_id":119115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:04:27] local.INFO: GPS data processed {"connection_id":119115,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:04:27] local.INFO: Acknowledgment sent {"connection_id":119115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:04:58] local.INFO: TCP Data received {"connection_id":119115,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c98ae60012cec73800729dad80020014829..."} 
[2026-07-01 13:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c98ae60012cec73800729dad80020014829..."} 
[2026-07-01 13:04:58] local.INFO: Processing buffer {"connection_id":119115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c98ae60012cec73800729dad80020014829..."} 
[2026-07-01 13:04:58] local.INFO: Packet analysis {"connection_id":119115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c98"} 
[2026-07-01 13:04:58] local.INFO: Extracted packet for processing {"connection_id":119115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c98"} 
[2026-07-01 13:04:58] local.INFO: GPS Element Parsed {"raw_longitude":753693568,"raw_latitude":120183512,"longitude_deg":75.3693568,"latitude_deg":12.0183512,"altitude":32,"angle":328,"satellites":41,"speed":18,"hex_longitude":"2cec7380","hex_latitude":"0729dad8","is_valid_coordinates":true} 
[2026-07-01 13:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:04:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420145408001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:04:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333395492027236352,"note":"Value kept but may cause issues"} 
[2026-07-01 13:04:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1407797065251735552,"note":"Value kept but may cause issues"} 
[2026-07-01 13:04:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:04:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782891196000,"timestamp_ms":1782891196000,"timestamp_seconds":1782891196,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c98ae60"} 
[2026-07-01 13:04:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:04:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 13:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 13:04:58] 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-01 13:04:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 13:04:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:04:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:04:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:04:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:04:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:04:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 13:04:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:04:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:04:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420145408001,"66":27821,"171":206,"83":44032,"24":18,"16":333395492027236352,"44":-1407797065251735552},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,83,24,16,44]} 
[2026-07-01 13:04:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:04:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:04:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420145408001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:04:58] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-07-01 13:04:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-07-01 13:04:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333395492027236352,"km_value":333395492027236.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:04:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1407797065251735552,"description":"Unknown IO ID 44"} 
[2026-07-01 13:04:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420145408001,"power":27821,"unknown_171":206,"unknown_83":44032,"ignition":18,"odometer":null,"unknown_44":-1407797065251735552}} 
[2026-07-01 13:04:58] local.INFO: DEBUG: GPS processor result {"connection_id":119115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:04:58] local.INFO: GPS data processed {"connection_id":119115,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:04:58] local.INFO: Acknowledgment sent {"connection_id":119115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:05:21] local.INFO: TCP Data received {"connection_id":118993,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:05:21] local.INFO: Processing buffer {"connection_id":118993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:05:21] local.INFO: IMEI packet received {"connection_id":118993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 13:05:21] local.INFO: IMEI acknowledgment sent {"connection_id":118993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:05:26] local.INFO: TCP Data received {"connection_id":118993,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:05:26] local.INFO: Processing buffer {"connection_id":118993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:05:26] local.INFO: IMEI packet received {"connection_id":118993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":118993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:05:26] local.INFO: TCP Data received {"connection_id":118993,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c98e510012cec5f400729f9a00020014c28..."} 
[2026-07-01 13:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c98e510012cec5f400729f9a00020014c28..."} 
[2026-07-01 13:05:26] local.INFO: Processing buffer {"connection_id":118993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c98e510012cec5f400729f9a00020014c28..."} 
[2026-07-01 13:05:26] local.INFO: Packet analysis {"connection_id":118993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c98"} 
[2026-07-01 13:05:26] local.INFO: Extracted packet for processing {"connection_id":118993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c98"} 
[2026-07-01 13:05:26] local.INFO: GPS Element Parsed {"raw_longitude":753688384,"raw_latitude":120191392,"longitude_deg":75.3688384,"latitude_deg":12.0191392,"altitude":32,"angle":332,"satellites":40,"speed":32,"hex_longitude":"2cec5f40","hex_latitude":"0729f9a0","is_valid_coordinates":true} 
[2026-07-01 13:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420146176001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333395947293769728,"note":"Value kept but may cause issues"} 
[2026-07-01 13:05:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1408641490181498880,"note":"Value kept but may cause issues"} 
[2026-07-01 13:05:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782891210000,"timestamp_ms":1782891210000,"timestamp_seconds":1782891210,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c98e510"} 
[2026-07-01 13:05:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:05: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-01 13:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 13:05:26] 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-01 13:05:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 13:05:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":118993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":118993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":118993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:05:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 13:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420146176001,"66":27821,"171":206,"83":44032,"24":32,"16":333395947293769728,"44":-1408641490181498880},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,83,24,16,44]} 
[2026-07-01 13:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420146176001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:05:26] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-07-01 13:05:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-07-01 13:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333395947293769728,"km_value":333395947293769.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:05:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1408641490181498880,"description":"Unknown IO ID 44"} 
[2026-07-01 13:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420146176001,"power":27821,"unknown_171":206,"unknown_83":44032,"ignition":32,"odometer":null,"unknown_44":-1408641490181498880}} 
[2026-07-01 13:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":118993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:05:26] local.INFO: GPS data processed {"connection_id":118993,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:05:26] local.INFO: Acknowledgment sent {"connection_id":118993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:05:58] local.INFO: TCP Data received {"connection_id":118993,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c991008012cec4e80072a1a200020015128..."} 
[2026-07-01 13:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c991008012cec4e80072a1a200020015128..."} 
[2026-07-01 13:05:58] local.INFO: Processing buffer {"connection_id":118993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c991008012cec4e80072a1a200020015128..."} 
[2026-07-01 13:05:58] local.INFO: Packet analysis {"connection_id":118993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c99"} 
[2026-07-01 13:05:58] local.INFO: Extracted packet for processing {"connection_id":118993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c99"} 
[2026-07-01 13:05:58] local.INFO: GPS Element Parsed {"raw_longitude":753684096,"raw_latitude":120199712,"longitude_deg":75.3684096,"latitude_deg":12.0199712,"altitude":32,"angle":337,"satellites":40,"speed":26,"hex_longitude":"2cec4e80","hex_latitude":"072a1a20","is_valid_coordinates":true} 
[2026-07-01 13:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:05:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420149760001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:05:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333396398265335808,"note":"Value kept but may cause issues"} 
[2026-07-01 13:05:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1414341358457872384,"note":"Value kept but may cause issues"} 
[2026-07-01 13:05:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:05:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782891221000,"timestamp_ms":1782891221000,"timestamp_seconds":1782891221,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c991008"} 
[2026-07-01 13:05:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:05:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 13:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 13:05:58] 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-01 13:05:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 13:05:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:05:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:05:58] local.INFO: Teltonika packet parsed successfully {"connection_id":118993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:05:58] local.INFO: Passing IMEI to GPS processor {"connection_id":118993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:05:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":118993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:05:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 13:05:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:05:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:05:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420149760001,"66":27713,"223":206,"83":44032,"24":26,"16":333396398265335808,"44":-1414341358457872384},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,83,24,16,44]} 
[2026-07-01 13:05:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:05:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:05:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420149760001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:05:58] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-07-01 13:05:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-07-01 13:05:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333396398265335808,"km_value":333396398265335.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:05:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1414341358457872384,"description":"Unknown IO ID 44"} 
[2026-07-01 13:05:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420149760001,"power":27713,"unknown_223":206,"unknown_83":44032,"ignition":26,"odometer":null,"unknown_44":-1414341358457872384}} 
[2026-07-01 13:05:58] local.INFO: DEBUG: GPS processor result {"connection_id":118993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:05:58] local.INFO: GPS data processed {"connection_id":118993,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:05:58] local.INFO: Acknowledgment sent {"connection_id":118993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:06:19] local.INFO: TCP Data received {"connection_id":118995,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:06:19] local.INFO: Processing buffer {"connection_id":118995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:06:19] local.INFO: IMEI packet received {"connection_id":118995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 13:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":118995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:06:20] local.INFO: TCP Data received {"connection_id":118995,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:06:20] local.INFO: Processing buffer {"connection_id":118995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:06:20] local.INFO: IMEI packet received {"connection_id":118995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:06:20] local.INFO: IMEI acknowledgment sent {"connection_id":118995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:06:21] local.INFO: TCP Data received {"connection_id":118995,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:06:21] local.INFO: Processing buffer {"connection_id":118995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:06:21] local.INFO: IMEI packet received {"connection_id":118995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:06:21] local.INFO: IMEI acknowledgment sent {"connection_id":118995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:06:21] local.INFO: TCP Data received {"connection_id":118995,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:06:21] local.INFO: Processing buffer {"connection_id":118995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:06:21] local.INFO: IMEI packet received {"connection_id":118995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:06:21] local.INFO: IMEI acknowledgment sent {"connection_id":118995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:07:31] local.INFO: TCP Data received {"connection_id":119116,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119116,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:07:31] local.INFO: Processing buffer {"connection_id":119116,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:07:31] local.INFO: IMEI packet received {"connection_id":119116,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 13:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":119116,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:08:21] local.INFO: TCP Data received {"connection_id":118996,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118996,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:08:21] local.INFO: Processing buffer {"connection_id":118996,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:08:21] local.INFO: IMEI packet received {"connection_id":118996,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 13:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":118996,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:11:27] local.INFO: TCP Data received {"connection_id":120871,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:11:27] local.INFO: Processing buffer {"connection_id":120871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:11:27] local.INFO: IMEI packet received {"connection_id":120871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 13:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":120871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:11:39] local.INFO: TCP Data received {"connection_id":120871,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:11:39] local.INFO: Processing buffer {"connection_id":120871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:11:39] local.INFO: IMEI packet received {"connection_id":120871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:11:39] local.INFO: IMEI acknowledgment sent {"connection_id":120871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:11:40] local.INFO: TCP Data received {"connection_id":120871,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c9f1ed0012ced7c00072ce8b0003f010f2b..."} 
[2026-07-01 13:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c9f1ed0012ced7c00072ce8b0003f010f2b..."} 
[2026-07-01 13:11:40] local.INFO: Processing buffer {"connection_id":120871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c9f1ed0012ced7c00072ce8b0003f010f2b..."} 
[2026-07-01 13:11:40] local.INFO: Packet analysis {"connection_id":120871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c9f"} 
[2026-07-01 13:11:40] local.INFO: Extracted packet for processing {"connection_id":120871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c9f"} 
[2026-07-01 13:11:40] local.INFO: GPS Element Parsed {"raw_longitude":753761280,"raw_latitude":120383664,"longitude_deg":75.376128,"latitude_deg":12.0383664,"altitude":63,"angle":271,"satellites":43,"speed":11,"hex_longitude":"2ced7c00","hex_latitude":"072ce8b0","is_valid_coordinates":true} 
[2026-07-01 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-01 13:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420253952001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333408428468731904,"note":"Value kept but may cause issues"} 
[2026-07-01 13:11:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1333909883813591040,"note":"Value kept but may cause issues"} 
[2026-07-01 13:11:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782891618000,"timestamp_ms":1782891618000,"timestamp_seconds":1782891618,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c9f1ed0"} 
[2026-07-01 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-01 13:11:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-01 13:11:40] 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-01 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-01 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-01 13:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":120871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":120871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":120871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:11: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-01 13:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420253952001,"66":27908,"101":206,"83":44032,"24":11,"16":333408428468731904,"44":-1333909883813591040},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,44]} 
[2026-07-01 13:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420253952001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:11:40] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-01 13:11:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-07-01 13:11:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333408428468731904,"km_value":333408428468731.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:11:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1333909883813591040,"description":"Unknown IO ID 44"} 
[2026-07-01 13:11:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420253952001,"power":27908,"unknown_101":206,"unknown_83":44032,"ignition":11,"odometer":null,"unknown_44":-1333909883813591040}} 
[2026-07-01 13:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":120871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:11:40] local.INFO: GPS data processed {"connection_id":120871,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:11:40] local.INFO: Acknowledgment sent {"connection_id":120871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:11:41] local.INFO: TCP Data received {"connection_id":120871,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c9f41f8012ced6c40072ce9a8003f013027..."} 
[2026-07-01 13:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c9f41f8012ced6c40072ce9a8003f013027..."} 
[2026-07-01 13:11:41] local.INFO: Processing buffer {"connection_id":120871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c9f41f8012ced6c40072ce9a8003f013027..."} 
[2026-07-01 13:11:41] local.INFO: Packet analysis {"connection_id":120871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c9f"} 
[2026-07-01 13:11:41] local.INFO: Extracted packet for processing {"connection_id":120871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c9f"} 
[2026-07-01 13:11:41] local.INFO: GPS Element Parsed {"raw_longitude":753757248,"raw_latitude":120383912,"longitude_deg":75.3757248,"latitude_deg":12.0383912,"altitude":63,"angle":304,"satellites":39,"speed":17,"hex_longitude":"2ced6c40","hex_latitude":"072ce9a8","is_valid_coordinates":true} 
[2026-07-01 13: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-01 13:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420254208001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333408621742260224,"note":"Value kept but may cause issues"} 
[2026-07-01 13:11:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1334191358790291456,"note":"Value kept but may cause issues"} 
[2026-07-01 13:11:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782891627000,"timestamp_ms":1782891627000,"timestamp_seconds":1782891627,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c9f41f8"} 
[2026-07-01 13: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-01 13:11:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 13: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 13:11:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 13: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-01 13: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-01 13:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":120871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":120871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":120871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:11: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-01 13:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420254208001,"66":27713,"101":206,"83":44032,"24":17,"16":333408621742260224,"44":-1334191358790291456},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,44]} 
[2026-07-01 13:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420254208001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:11:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-01 13:11:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-07-01 13:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333408621742260224,"km_value":333408621742260.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:11:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1334191358790291456,"description":"Unknown IO ID 44"} 
[2026-07-01 13:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420254208001,"power":27713,"unknown_101":206,"unknown_83":44032,"ignition":17,"odometer":null,"unknown_44":-1334191358790291456}} 
[2026-07-01 13:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":120871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:11:41] local.INFO: GPS data processed {"connection_id":120871,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:11:41] local.INFO: Acknowledgment sent {"connection_id":120871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:12:26] local.INFO: TCP Data received {"connection_id":119780,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:12:26] local.INFO: Processing buffer {"connection_id":119780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:12:26] local.INFO: IMEI packet received {"connection_id":119780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 13:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":119780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:12:27] local.INFO: TCP Data received {"connection_id":119780,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:12:27] local.INFO: Processing buffer {"connection_id":119780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:12:27] local.INFO: IMEI packet received {"connection_id":119780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":119780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:12:30] local.INFO: TCP Data received {"connection_id":119780,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c9fe608012ced96c0072d1bc0003a006f29..."} 
[2026-07-01 13:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c9fe608012ced96c0072d1bc0003a006f29..."} 
[2026-07-01 13:12:30] local.INFO: Processing buffer {"connection_id":119780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c9fe608012ced96c0072d1bc0003a006f29..."} 
[2026-07-01 13:12:30] local.INFO: Packet analysis {"connection_id":119780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c9f"} 
[2026-07-01 13:12:30] local.INFO: Extracted packet for processing {"connection_id":119780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c9f"} 
[2026-07-01 13:12:30] local.INFO: GPS Element Parsed {"raw_longitude":753768128,"raw_latitude":120396736,"longitude_deg":75.3768128,"latitude_deg":12.0396736,"altitude":58,"angle":111,"satellites":41,"speed":16,"hex_longitude":"2ced96c0","hex_latitude":"072d1bc0","is_valid_coordinates":true} 
[2026-07-01 13:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420264960001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333409729843822592,"note":"Value kept but may cause issues"} 
[2026-07-01 13:12:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1330250709112516608,"note":"Value kept but may cause issues"} 
[2026-07-01 13:12:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782891669000,"timestamp_ms":1782891669000,"timestamp_seconds":1782891669,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c9fe608"} 
[2026-07-01 13:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:12:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 13:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 13:12:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 13:12:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 13:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":119780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":119780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":119780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:12:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 13:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420264960001,"66":27908,"229":206,"83":44032,"24":16,"16":333409729843822592,"44":-1330250709112516608},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,83,24,16,44]} 
[2026-07-01 13:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420264960001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:12:30] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-01 13:12:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-07-01 13:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333409729843822592,"km_value":333409729843822.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:12:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1330250709112516608,"description":"Unknown IO ID 44"} 
[2026-07-01 13:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420264960001,"power":27908,"unknown_229":206,"unknown_83":44032,"ignition":16,"odometer":null,"unknown_44":-1330250709112516608}} 
[2026-07-01 13:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":119780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:12:30] local.INFO: GPS data processed {"connection_id":119780,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:12:30] local.INFO: Acknowledgment sent {"connection_id":119780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:12:31] local.INFO: TCP Data received {"connection_id":119780,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c9ff1c0012ced9c80072d1a280039006129..."} 
[2026-07-01 13:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c9ff1c0012ced9c80072d1a280039006129..."} 
[2026-07-01 13:12:31] local.INFO: Processing buffer {"connection_id":119780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c9ff1c0012ced9c80072d1a280039006129..."} 
[2026-07-01 13:12:31] local.INFO: Packet analysis {"connection_id":119780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c9f"} 
[2026-07-01 13:12:31] local.INFO: Extracted packet for processing {"connection_id":119780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c9f"} 
[2026-07-01 13:12:31] local.INFO: GPS Element Parsed {"raw_longitude":753769600,"raw_latitude":120396328,"longitude_deg":75.37696,"latitude_deg":12.0396328,"altitude":57,"angle":97,"satellites":41,"speed":13,"hex_longitude":"2ced9c80","hex_latitude":"072d1a28","is_valid_coordinates":true} 
[2026-07-01 13:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420267264001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333409802858266624,"note":"Value kept but may cause issues"} 
[2026-07-01 13:12:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1326661903159934976,"note":"Value kept but may cause issues"} 
[2026-07-01 13:12:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782891672000,"timestamp_ms":1782891672000,"timestamp_seconds":1782891672,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c9ff1c0"} 
[2026-07-01 13:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:12:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 13:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 13:12:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 13:12:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 13:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 13:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420267264001,"66":27919,"229":206,"83":44032,"24":13,"16":333409802858266624,"44":-1326661903159934976},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,83,24,16,44]} 
[2026-07-01 13:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420267264001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:12:31] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-01 13:12:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-07-01 13:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333409802858266624,"km_value":333409802858266.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:12:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1326661903159934976,"description":"Unknown IO ID 44"} 
[2026-07-01 13:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420267264001,"power":27919,"unknown_229":206,"unknown_83":44032,"ignition":13,"odometer":null,"unknown_44":-1326661903159934976}} 
[2026-07-01 13:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":119780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:12:31] local.INFO: GPS data processed {"connection_id":119780,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:12:31] local.INFO: Acknowledgment sent {"connection_id":119780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:13:02] local.INFO: TCP Data received {"connection_id":119780,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ca03040012cedc180072d15000040005c28..."} 
[2026-07-01 13:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ca03040012cedc180072d15000040005c28..."} 
[2026-07-01 13:13:02] local.INFO: Processing buffer {"connection_id":119780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ca03040012cedc180072d15000040005c28..."} 
[2026-07-01 13:13:02] local.INFO: Packet analysis {"connection_id":119780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ca0"} 
[2026-07-01 13:13:02] local.INFO: Extracted packet for processing {"connection_id":119780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ca0"} 
[2026-07-01 13:13:02] local.INFO: GPS Element Parsed {"raw_longitude":753779072,"raw_latitude":120395008,"longitude_deg":75.3779072,"latitude_deg":12.0395008,"altitude":64,"angle":92,"satellites":40,"speed":20,"hex_longitude":"2cedc180","hex_latitude":"072d1500","is_valid_coordinates":true} 
[2026-07-01 13:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420268032001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333410253829832704,"note":"Value kept but may cause issues"} 
[2026-07-01 13:13:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1325043422043953152,"note":"Value kept but may cause issues"} 
[2026-07-01 13:13:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782891688000,"timestamp_ms":1782891688000,"timestamp_seconds":1782891688,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ca03040"} 
[2026-07-01 13:13:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:13:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 13:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 13:13:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 13:13:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 13:13:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":119780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":119780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":119780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:13:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 13:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420268032001,"66":27865,"229":206,"83":44032,"24":20,"16":333410253829832704,"44":-1325043422043953152},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,83,24,16,44]} 
[2026-07-01 13:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420268032001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:13:02] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-01 13:13:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-07-01 13:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333410253829832704,"km_value":333410253829832.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:13:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1325043422043953152,"description":"Unknown IO ID 44"} 
[2026-07-01 13:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420268032001,"power":27865,"unknown_229":206,"unknown_83":44032,"ignition":20,"odometer":null,"unknown_44":-1325043422043953152}} 
[2026-07-01 13:13:02] local.INFO: DEBUG: GPS processor result {"connection_id":119780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:13:02] local.INFO: GPS data processed {"connection_id":119780,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:13:02] local.INFO: Acknowledgment sent {"connection_id":119780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:13:21] local.INFO: TCP Data received {"connection_id":119122,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:13:21] local.INFO: Processing buffer {"connection_id":119122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:13:21] local.INFO: IMEI packet received {"connection_id":119122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 13:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":119122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:13:24] local.INFO: TCP Data received {"connection_id":119122,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:13:24] local.INFO: Processing buffer {"connection_id":119122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:13:24] local.INFO: IMEI packet received {"connection_id":119122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":119122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:13:25] local.INFO: TCP Data received {"connection_id":119122,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ca043c8012cedccc0072d14900040005128..."} 
[2026-07-01 13:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ca043c8012cedccc0072d14900040005128..."} 
[2026-07-01 13:13:25] local.INFO: Processing buffer {"connection_id":119122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ca043c8012cedccc0072d14900040005128..."} 
[2026-07-01 13:13:25] local.INFO: Packet analysis {"connection_id":119122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ca0"} 
[2026-07-01 13:13:25] local.INFO: Extracted packet for processing {"connection_id":119122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ca0"} 
[2026-07-01 13:13:25] local.INFO: GPS Element Parsed {"raw_longitude":753781952,"raw_latitude":120394896,"longitude_deg":75.3781952,"latitude_deg":12.0394896,"altitude":64,"angle":81,"satellites":40,"speed":21,"hex_longitude":"2cedccc0","hex_latitude":"072d1490","is_valid_coordinates":true} 
[2026-07-01 13:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420272128001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333410391268786176,"note":"Value kept but may cause issues"} 
[2026-07-01 13:13:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1314628847905996800,"note":"Value kept but may cause issues"} 
[2026-07-01 13:13:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:13:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782891693000,"timestamp_ms":1782891693000,"timestamp_seconds":1782891693,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ca043c8"} 
[2026-07-01 13:13:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:13:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 13:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 13:13:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 13:13:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 13:13:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:13:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 13:13:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:13:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:13:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420272128001,"66":27865,"229":206,"83":44032,"24":21,"16":333410391268786176,"44":-1314628847905996800},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,83,24,16,44]} 
[2026-07-01 13:13:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:13:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:13:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420272128001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:13:25] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-01 13:13:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-07-01 13:13:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333410391268786176,"km_value":333410391268786.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:13:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1314628847905996800,"description":"Unknown IO ID 44"} 
[2026-07-01 13:13:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420272128001,"power":27865,"unknown_229":206,"unknown_83":44032,"ignition":21,"odometer":null,"unknown_44":-1314628847905996800}} 
[2026-07-01 13:13:25] local.INFO: DEBUG: GPS processor result {"connection_id":119122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:13:25] local.INFO: GPS data processed {"connection_id":119122,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:13:25] local.INFO: Acknowledgment sent {"connection_id":119122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:13:36] local.INFO: TCP Data received {"connection_id":118998,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118998,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:13:36] local.INFO: Processing buffer {"connection_id":118998,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:13:36] local.INFO: IMEI packet received {"connection_id":118998,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 13:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":118998,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:13:55] local.INFO: TCP Data received {"connection_id":119122,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ca047b0012cedcf40072d14e00041004429..."} 
[2026-07-01 13:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ca047b0012cedcf40072d14e00041004429..."} 
[2026-07-01 13:13:55] local.INFO: Processing buffer {"connection_id":119122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ca047b0012cedcf40072d14e00041004429..."} 
[2026-07-01 13:13:55] local.INFO: Packet analysis {"connection_id":119122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ca0"} 
[2026-07-01 13:13:55] local.INFO: Extracted packet for processing {"connection_id":119122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ca0"} 
[2026-07-01 13:13:55] local.INFO: GPS Element Parsed {"raw_longitude":753782592,"raw_latitude":120394976,"longitude_deg":75.3782592,"latitude_deg":12.0394976,"altitude":65,"angle":68,"satellites":41,"speed":22,"hex_longitude":"2cedcf40","hex_latitude":"072d14e0","is_valid_coordinates":true} 
[2026-07-01 13: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-01 13:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420273408001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333410421333557248,"note":"Value kept but may cause issues"} 
[2026-07-01 13:13:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1311462254418030592,"note":"Value kept but may cause issues"} 
[2026-07-01 13:13:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782891694000,"timestamp_ms":1782891694000,"timestamp_seconds":1782891694,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ca047b0"} 
[2026-07-01 13: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-01 13:13:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 13: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 13:13:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 13: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-01 13: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-01 13:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":119122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":119122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":119122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:13:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 13:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420273408001,"66":27865,"229":206,"83":44032,"24":22,"16":333410421333557248,"44":-1311462254418030592},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,83,24,16,44]} 
[2026-07-01 13:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420273408001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:13:55] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-01 13:13:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-07-01 13:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333410421333557248,"km_value":333410421333557.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:13:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1311462254418030592,"description":"Unknown IO ID 44"} 
[2026-07-01 13:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420273408001,"power":27865,"unknown_229":206,"unknown_83":44032,"ignition":22,"odometer":null,"unknown_44":-1311462254418030592}} 
[2026-07-01 13:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":119122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:13:55] local.INFO: GPS data processed {"connection_id":119122,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:13:55] local.INFO: Acknowledgment sent {"connection_id":119122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:14:15] local.INFO: TCP Data received {"connection_id":120872,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120872,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:14:15] local.INFO: Processing buffer {"connection_id":120872,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:14:15] local.INFO: IMEI packet received {"connection_id":120872,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 13:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":120872,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:14:18] local.INFO: TCP Data received {"connection_id":118999,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:14:18] local.INFO: Processing buffer {"connection_id":118999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:14:18] local.INFO: IMEI packet received {"connection_id":118999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 13:14:18] local.INFO: IMEI acknowledgment sent {"connection_id":118999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:14:20] local.INFO: TCP Data received {"connection_id":118999,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:14:20] local.INFO: Processing buffer {"connection_id":118999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:14:20] local.INFO: IMEI packet received {"connection_id":118999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:14:20] local.INFO: IMEI acknowledgment sent {"connection_id":118999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:14:21] local.INFO: TCP Data received {"connection_id":118999,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:14:21] local.INFO: Processing buffer {"connection_id":118999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:14:21] local.INFO: IMEI packet received {"connection_id":118999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":118999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:14:21] local.INFO: TCP Data received {"connection_id":118999,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":118999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:14:21] local.INFO: Processing buffer {"connection_id":118999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:14:21] local.INFO: IMEI packet received {"connection_id":118999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":118999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:19:26] local.INFO: TCP Data received {"connection_id":119002,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:19:26] local.INFO: Processing buffer {"connection_id":119002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:19:26] local.INFO: IMEI packet received {"connection_id":119002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 13:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":119002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:19:27] local.INFO: TCP Data received {"connection_id":119002,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ca22440012cede240072e05a00041015227..."} 
[2026-07-01 13:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ca22440012cede240072e05a00041015227..."} 
[2026-07-01 13:19:27] local.INFO: Processing buffer {"connection_id":119002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ca22440012cede240072e05a00041015227..."} 
[2026-07-01 13:19:27] local.INFO: Packet analysis {"connection_id":119002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ca2"} 
[2026-07-01 13:19:27] local.INFO: Extracted packet for processing {"connection_id":119002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ca2"} 
[2026-07-01 13:19:27] local.INFO: GPS Element Parsed {"raw_longitude":753787456,"raw_latitude":120456608,"longitude_deg":75.3787456,"latitude_deg":12.0456608,"altitude":65,"angle":338,"satellites":39,"speed":15,"hex_longitude":"2cede240","hex_latitude":"072e05a0","is_valid_coordinates":true} 
[2026-07-01 13:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:19:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420303616001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:19:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333413608199290880,"note":"Value kept but may cause issues"} 
[2026-07-01 13:19:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1304636486217723904,"note":"Value kept but may cause issues"} 
[2026-07-01 13:19:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:19:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782891816000,"timestamp_ms":1782891816000,"timestamp_seconds":1782891816,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ca22440"} 
[2026-07-01 13:19:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:19:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 13:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 13:19:27] 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-01 13:19:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 13:19:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:19:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:19:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:19:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:19:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:19:27] 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-01 13:19:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:19:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:19:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420303616001,"66":27919,"229":206,"83":44032,"24":15,"16":333413608199290880,"44":-1304636486217723904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,83,24,16,44]} 
[2026-07-01 13:19:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:19:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:19:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420303616001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:19:27] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-01 13:19:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-07-01 13:19:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333413608199290880,"km_value":333413608199290.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:19:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1304636486217723904,"description":"Unknown IO ID 44"} 
[2026-07-01 13:19:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420303616001,"power":27919,"unknown_229":206,"unknown_83":44032,"ignition":15,"odometer":null,"unknown_44":-1304636486217723904}} 
[2026-07-01 13:19:27] local.INFO: DEBUG: GPS processor result {"connection_id":119002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:19:27] local.INFO: GPS data processed {"connection_id":119002,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:19:27] local.INFO: Acknowledgment sent {"connection_id":119002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:19:41] local.INFO: TCP Data received {"connection_id":120875,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120875,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:19:41] local.INFO: Processing buffer {"connection_id":120875,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:19:41] local.INFO: IMEI packet received {"connection_id":120875,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 13:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":120875,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:19:58] local.INFO: TCP Data received {"connection_id":119002,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ca237c8012cede0c0072e09b80045016029..."} 
[2026-07-01 13:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ca237c8012cede0c0072e09b80045016029..."} 
[2026-07-01 13:19:58] local.INFO: Processing buffer {"connection_id":119002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ca237c8012cede0c0072e09b80045016029..."} 
[2026-07-01 13:19:58] local.INFO: Packet analysis {"connection_id":119002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ca2"} 
[2026-07-01 13:19:58] local.INFO: Extracted packet for processing {"connection_id":119002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ca2"} 
[2026-07-01 13:19:58] local.INFO: GPS Element Parsed {"raw_longitude":753787072,"raw_latitude":120457656,"longitude_deg":75.3787072,"latitude_deg":12.0457656,"altitude":69,"angle":352,"satellites":41,"speed":6,"hex_longitude":"2cede0c0","hex_latitude":"072e09b8","is_valid_coordinates":true} 
[2026-07-01 13: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-01 13:19:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420304896001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:19:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333413664033865728,"note":"Value kept but may cause issues"} 
[2026-07-01 13:19:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1305410542402953216,"note":"Value kept but may cause issues"} 
[2026-07-01 13:19:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:19:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782891821000,"timestamp_ms":1782891821000,"timestamp_seconds":1782891821,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ca237c8"} 
[2026-07-01 13: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-01 13:19:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 13: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 13:19:58] 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-01 13: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-01 13: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-01 13:19:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:19:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:19:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:19:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:19:58] 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-01 13:19:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:19:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:19:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420304896001,"66":27908,"229":206,"83":44032,"24":6,"16":333413664033865728,"44":-1305410542402953216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,83,24,16,44]} 
[2026-07-01 13:19:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:19:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:19:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420304896001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:19:58] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-01 13:19:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-07-01 13:19:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333413664033865728,"km_value":333413664033865.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:19:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1305410542402953216,"description":"Unknown IO ID 44"} 
[2026-07-01 13:19:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420304896001,"power":27908,"unknown_229":206,"unknown_83":44032,"ignition":6,"odometer":null,"unknown_44":-1305410542402953216}} 
[2026-07-01 13:19:58] local.INFO: DEBUG: GPS processor result {"connection_id":119002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:19:58] local.INFO: GPS data processed {"connection_id":119002,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:19:58] local.INFO: Acknowledgment sent {"connection_id":119002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:20:21] local.INFO: TCP Data received {"connection_id":119124,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119124,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:20:21] local.INFO: Processing buffer {"connection_id":119124,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:20:21] local.INFO: IMEI packet received {"connection_id":119124,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 13:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":119124,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:20:26] local.INFO: TCP Data received {"connection_id":119125,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:20:26] local.INFO: Processing buffer {"connection_id":119125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:20:26] local.INFO: IMEI packet received {"connection_id":119125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 13:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":119125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:20:31] local.INFO: TCP Data received {"connection_id":119125,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:20:31] local.INFO: Processing buffer {"connection_id":119125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:20:31] local.INFO: IMEI packet received {"connection_id":119125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":119125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:20:32] local.INFO: TCP Data received {"connection_id":119125,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ca23f98012cede100072e0b680046002128..."} 
[2026-07-01 13:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ca23f98012cede100072e0b680046002128..."} 
[2026-07-01 13:20:32] local.INFO: Processing buffer {"connection_id":119125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ca23f98012cede100072e0b680046002128..."} 
[2026-07-01 13:20:32] local.INFO: Packet analysis {"connection_id":119125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ca2"} 
[2026-07-01 13:20:32] local.INFO: Extracted packet for processing {"connection_id":119125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ca2"} 
[2026-07-01 13:20:32] local.INFO: GPS Element Parsed {"raw_longitude":753787136,"raw_latitude":120458088,"longitude_deg":75.3787136,"latitude_deg":12.0458088,"altitude":70,"angle":33,"satellites":40,"speed":10,"hex_longitude":"2cede100","hex_latitude":"072e0b68","is_valid_coordinates":true} 
[2026-07-01 13:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420306176001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333413685508702208,"note":"Value kept but may cause issues"} 
[2026-07-01 13:20:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1305832754867750912,"note":"Value kept but may cause issues"} 
[2026-07-01 13:20:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782891823000,"timestamp_ms":1782891823000,"timestamp_seconds":1782891823,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ca23f98"} 
[2026-07-01 13:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:20:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 13:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 13:20:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 13:20:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 13:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":119125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":119125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":119125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 13:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420306176001,"66":28006,"229":206,"83":44032,"24":10,"16":333413685508702208,"44":-1305832754867750912},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,83,24,16,44]} 
[2026-07-01 13:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420306176001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:20:32] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-01 13:20:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-07-01 13:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333413685508702208,"km_value":333413685508702.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:20:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1305832754867750912,"description":"Unknown IO ID 44"} 
[2026-07-01 13:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420306176001,"power":28006,"unknown_229":206,"unknown_83":44032,"ignition":10,"odometer":null,"unknown_44":-1305832754867750912}} 
[2026-07-01 13:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":119125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:20:32] local.INFO: GPS data processed {"connection_id":119125,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:20:32] local.INFO: Acknowledgment sent {"connection_id":119125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:21:03] local.INFO: TCP Data received {"connection_id":119125,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ca24380012cede200072e0c380046003428..."} 
[2026-07-01 13:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ca24380012cede200072e0c380046003428..."} 
[2026-07-01 13:21:03] local.INFO: Processing buffer {"connection_id":119125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ca24380012cede200072e0c380046003428..."} 
[2026-07-01 13:21:03] local.INFO: Packet analysis {"connection_id":119125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ca2"} 
[2026-07-01 13:21:03] local.INFO: Extracted packet for processing {"connection_id":119125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ca2"} 
[2026-07-01 13:21:03] local.INFO: GPS Element Parsed {"raw_longitude":753787392,"raw_latitude":120458296,"longitude_deg":75.3787392,"latitude_deg":12.0458296,"altitude":70,"angle":52,"satellites":40,"speed":13,"hex_longitude":"2cede200","hex_latitude":"072e0c38","is_valid_coordinates":true} 
[2026-07-01 13:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420306688001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333413698393604096,"note":"Value kept but may cause issues"} 
[2026-07-01 13:21:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1305762386123462656,"note":"Value kept but may cause issues"} 
[2026-07-01 13:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782891824000,"timestamp_ms":1782891824000,"timestamp_seconds":1782891824,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ca24380"} 
[2026-07-01 13:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:21:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 13:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-01 13:21:03] 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-01 13: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-01 13:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":119125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":119125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":119125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 13:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420306688001,"66":27984,"229":206,"83":44032,"24":13,"16":333413698393604096,"44":-1305762386123462656},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,83,24,16,44]} 
[2026-07-01 13:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420306688001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:21:03] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-01 13:21:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-07-01 13:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333413698393604096,"km_value":333413698393604.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:21:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1305762386123462656,"description":"Unknown IO ID 44"} 
[2026-07-01 13:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420306688001,"power":27984,"unknown_229":206,"unknown_83":44032,"ignition":13,"odometer":null,"unknown_44":-1305762386123462656}} 
[2026-07-01 13:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":119125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:21:03] local.INFO: GPS data processed {"connection_id":119125,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:21:03] local.INFO: Acknowledgment sent {"connection_id":119125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:21:21] local.INFO: TCP Data received {"connection_id":120876,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:21:21] local.INFO: Processing buffer {"connection_id":120876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:21:21] local.INFO: IMEI packet received {"connection_id":120876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 13:21:21] local.INFO: IMEI acknowledgment sent {"connection_id":120876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:21:26] local.INFO: TCP Data received {"connection_id":120876,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:21:26] local.INFO: Processing buffer {"connection_id":120876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:21:26] local.INFO: IMEI packet received {"connection_id":120876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":120876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:21:27] local.INFO: TCP Data received {"connection_id":120876,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ca24b50012cede500072e0d600045004528..."} 
[2026-07-01 13:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ca24b50012cede500072e0d600045004528..."} 
[2026-07-01 13:21:27] local.INFO: Processing buffer {"connection_id":120876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ca24b50012cede500072e0d600045004528..."} 
[2026-07-01 13:21:27] local.INFO: Packet analysis {"connection_id":120876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ca2"} 
[2026-07-01 13:21:27] local.INFO: Extracted packet for processing {"connection_id":120876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ca2"} 
[2026-07-01 13:21:27] local.INFO: GPS Element Parsed {"raw_longitude":753788160,"raw_latitude":120458592,"longitude_deg":75.378816,"latitude_deg":12.0458592,"altitude":69,"angle":69,"satellites":40,"speed":16,"hex_longitude":"2cede500","hex_latitude":"072e0d60","is_valid_coordinates":true} 
[2026-07-01 13:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:21:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420306944001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:21:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333413737048309760,"note":"Value kept but may cause issues"} 
[2026-07-01 13:21:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1305480911146698752,"note":"Value kept but may cause issues"} 
[2026-07-01 13:21:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:21:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782891826000,"timestamp_ms":1782891826000,"timestamp_seconds":1782891826,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ca24b50"} 
[2026-07-01 13:21:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:21:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 13:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-01 13:21:27] 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-01 13:21:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 13:21:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:21:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:21:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:21:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:21:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:21:27] 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-01 13:21:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:21:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:21:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420306944001,"66":27821,"229":206,"83":44032,"24":16,"16":333413737048309760,"44":-1305480911146698752},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,83,24,16,44]} 
[2026-07-01 13:21:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:21:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:21:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420306944001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:21:27] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-01 13:21:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-07-01 13:21:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333413737048309760,"km_value":333413737048309.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:21:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1305480911146698752,"description":"Unknown IO ID 44"} 
[2026-07-01 13:21:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420306944001,"power":27821,"unknown_229":206,"unknown_83":44032,"ignition":16,"odometer":null,"unknown_44":-1305480911146698752}} 
[2026-07-01 13:21:27] local.INFO: DEBUG: GPS processor result {"connection_id":120876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:21:27] local.INFO: GPS data processed {"connection_id":120876,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:21:27] local.INFO: Acknowledgment sent {"connection_id":120876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:21:59] local.INFO: TCP Data received {"connection_id":120876,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ca27e18012cee0c80072e1a88003f004527..."} 
[2026-07-01 13:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ca27e18012cee0c80072e1a88003f004527..."} 
[2026-07-01 13:21:59] local.INFO: Processing buffer {"connection_id":120876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ca27e18012cee0c80072e1a88003f004527..."} 
[2026-07-01 13:21:59] local.INFO: Packet analysis {"connection_id":120876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ca2"} 
[2026-07-01 13:21:59] local.INFO: Extracted packet for processing {"connection_id":120876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ca2"} 
[2026-07-01 13:21:59] local.INFO: GPS Element Parsed {"raw_longitude":753798272,"raw_latitude":120461960,"longitude_deg":75.3798272,"latitude_deg":12.046196,"altitude":63,"angle":69,"satellites":39,"speed":46,"hex_longitude":"2cee0c80","hex_latitude":"072e1a88","is_valid_coordinates":true} 
[2026-07-01 13: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-01 13:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420307456001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333414243854450688,"note":"Value kept but may cause issues"} 
[2026-07-01 13:21:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1304636486216491008,"note":"Value kept but may cause issues"} 
[2026-07-01 13:21:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782891839000,"timestamp_ms":1782891839000,"timestamp_seconds":1782891839,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ca27e18"} 
[2026-07-01 13: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-01 13:21: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-01 13: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 13:21:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 13: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-01 13: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-01 13:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":120876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":120876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":120876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:21:59] 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-01 13:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420307456001,"66":27919,"229":206,"83":44032,"24":46,"16":333414243854450688,"44":-1304636486216491008},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,83,24,16,44]} 
[2026-07-01 13:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420307456001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:21:59] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-01 13:21:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-07-01 13:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333414243854450688,"km_value":333414243854450.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:21:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1304636486216491008,"description":"Unknown IO ID 44"} 
[2026-07-01 13:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420307456001,"power":27919,"unknown_229":206,"unknown_83":44032,"ignition":46,"odometer":null,"unknown_44":-1304636486216491008}} 
[2026-07-01 13:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":120876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:21:59] local.INFO: GPS data processed {"connection_id":120876,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:21:59] local.INFO: Acknowledgment sent {"connection_id":120876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:22:21] local.INFO: TCP Data received {"connection_id":119126,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:22:21] local.INFO: Processing buffer {"connection_id":119126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:22:21] local.INFO: IMEI packet received {"connection_id":119126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 13:22:21] local.INFO: IMEI acknowledgment sent {"connection_id":119126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:22:26] local.INFO: TCP Data received {"connection_id":119126,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:22:26] local.INFO: Processing buffer {"connection_id":119126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:22:26] local.INFO: IMEI packet received {"connection_id":119126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":119126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:22:27] local.INFO: TCP Data received {"connection_id":119126,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ca29d58012cee2ec0072e2710003c004a27..."} 
[2026-07-01 13:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ca29d58012cee2ec0072e2710003c004a27..."} 
[2026-07-01 13:22:27] local.INFO: Processing buffer {"connection_id":119126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ca29d58012cee2ec0072e2710003c004a27..."} 
[2026-07-01 13:22:27] local.INFO: Packet analysis {"connection_id":119126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ca2"} 
[2026-07-01 13:22:27] local.INFO: Extracted packet for processing {"connection_id":119126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ca2"} 
[2026-07-01 13:22:27] local.INFO: GPS Element Parsed {"raw_longitude":753807040,"raw_latitude":120465168,"longitude_deg":75.380704,"latitude_deg":12.0465168,"altitude":60,"angle":74,"satellites":39,"speed":42,"hex_longitude":"2cee2ec0","hex_latitude":"072e2710","is_valid_coordinates":true} 
[2026-07-01 13:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420310784001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333414690531049472,"note":"Value kept but may cause issues"} 
[2026-07-01 13:22:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1293518224635557888,"note":"Value kept but may cause issues"} 
[2026-07-01 13:22:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782891847000,"timestamp_ms":1782891847000,"timestamp_seconds":1782891847,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ca29d58"} 
[2026-07-01 13:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:22:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 13:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 13:22:27] 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-01 13:22:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 13:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:22:27] 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-01 13:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420310784001,"66":27865,"219":206,"83":44032,"24":42,"16":333414690531049472,"44":-1293518224635557888},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-07-01 13:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420310784001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:22:27] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-01 13:22:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-07-01 13:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333414690531049472,"km_value":333414690531049.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:22:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1293518224635557888,"description":"Unknown IO ID 44"} 
[2026-07-01 13:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420310784001,"power":27865,"unknown_219":206,"unknown_83":44032,"ignition":42,"odometer":null,"unknown_44":-1293518224635557888}} 
[2026-07-01 13:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":119126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:22:27] local.INFO: GPS data processed {"connection_id":119126,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:22:27] local.INFO: Acknowledgment sent {"connection_id":119126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:22:58] local.INFO: TCP Data received {"connection_id":119126,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ca2bc98012cee4d40072e2f680038003e28..."} 
[2026-07-01 13:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ca2bc98012cee4d40072e2f680038003e28..."} 
[2026-07-01 13:22:58] local.INFO: Processing buffer {"connection_id":119126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ca2bc98012cee4d40072e2f680038003e28..."} 
[2026-07-01 13:22:58] local.INFO: Packet analysis {"connection_id":119126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ca2"} 
[2026-07-01 13:22:58] local.INFO: Extracted packet for processing {"connection_id":119126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ca2"} 
[2026-07-01 13:22:58] local.INFO: GPS Element Parsed {"raw_longitude":753814848,"raw_latitude":120467304,"longitude_deg":75.3814848,"latitude_deg":12.0467304,"altitude":56,"angle":62,"satellites":40,"speed":34,"hex_longitude":"2cee4d40","hex_latitude":"072e2f68","is_valid_coordinates":true} 
[2026-07-01 13: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-01 13:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420312832001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333415072783138816,"note":"Value kept but may cause issues"} 
[2026-07-01 13:22:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1283877706682396672,"note":"Value kept but may cause issues"} 
[2026-07-01 13:22:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782891855000,"timestamp_ms":1782891855000,"timestamp_seconds":1782891855,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ca2bc98"} 
[2026-07-01 13: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-01 13:22:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 13: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 13:22:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 13: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-01 13: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-01 13:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:22:58] 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-01 13:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420312832001,"66":27930,"219":206,"83":44032,"24":34,"16":333415072783138816,"44":-1283877706682396672},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-07-01 13:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:22:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:22:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420312832001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:22:58] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-01 13:22:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-07-01 13:22:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333415072783138816,"km_value":333415072783138.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:22:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1283877706682396672,"description":"Unknown IO ID 44"} 
[2026-07-01 13:22:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420312832001,"power":27930,"unknown_219":206,"unknown_83":44032,"ignition":34,"odometer":null,"unknown_44":-1283877706682396672}} 
[2026-07-01 13:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":119126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:22:58] local.INFO: GPS data processed {"connection_id":119126,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:22:58] local.INFO: Acknowledgment sent {"connection_id":119126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:23:20] local.INFO: TCP Data received {"connection_id":119005,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:23:20] local.INFO: Processing buffer {"connection_id":119005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:23:20] local.INFO: IMEI packet received {"connection_id":119005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 13:23:20] local.INFO: IMEI acknowledgment sent {"connection_id":119005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:23:26] local.INFO: TCP Data received {"connection_id":119005,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:23:26] local.INFO: Processing buffer {"connection_id":119005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:23:26] local.INFO: IMEI packet received {"connection_id":119005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":119005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:23:26] local.INFO: TCP Data received {"connection_id":119005,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ca2bc98012cee4d40072e2f680038003e28..."} 
[2026-07-01 13:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ca2bc98012cee4d40072e2f680038003e28..."} 
[2026-07-01 13:23:26] local.INFO: Processing buffer {"connection_id":119005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ca2bc98012cee4d40072e2f680038003e28..."} 
[2026-07-01 13:23:26] local.INFO: Packet analysis {"connection_id":119005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ca2"} 
[2026-07-01 13:23:26] local.INFO: Extracted packet for processing {"connection_id":119005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ca2"} 
[2026-07-01 13:23:26] local.INFO: GPS Element Parsed {"raw_longitude":753814848,"raw_latitude":120467304,"longitude_deg":75.3814848,"latitude_deg":12.0467304,"altitude":56,"angle":62,"satellites":40,"speed":34,"hex_longitude":"2cee4d40","hex_latitude":"072e2f68","is_valid_coordinates":true} 
[2026-07-01 13:23:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:23:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420314880001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:23:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333415072783138816,"note":"Value kept but may cause issues"} 
[2026-07-01 13:23:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1275292719892174848,"note":"Value kept but may cause issues"} 
[2026-07-01 13:23:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:23:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782891855000,"timestamp_ms":1782891855000,"timestamp_seconds":1782891855,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ca2bc98"} 
[2026-07-01 13:23:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:23: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-01 13:23:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-01 13:23:26] 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-01 13:23:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 13:23:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:23:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:23:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:23:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:23:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:23:26] 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-01 13:23:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:23:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:23:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420314880001,"66":27930,"219":206,"83":44032,"24":34,"16":333415072783138816,"44":-1275292719892174848},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-07-01 13:23:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:23:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:23:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420314880001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:23:26] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-01 13:23:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-07-01 13:23:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333415072783138816,"km_value":333415072783138.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:23:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1275292719892174848,"description":"Unknown IO ID 44"} 
[2026-07-01 13:23:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420314880001,"power":27930,"unknown_219":206,"unknown_83":44032,"ignition":34,"odometer":null,"unknown_44":-1275292719892174848}} 
[2026-07-01 13:23:26] local.INFO: DEBUG: GPS processor result {"connection_id":119005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:23:26] local.INFO: GPS data processed {"connection_id":119005,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:23:26] local.INFO: Acknowledgment sent {"connection_id":119005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:23:58] local.INFO: TCP Data received {"connection_id":119005,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ca76018012cee6dc0072e2d600031004428..."} 
[2026-07-01 13:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ca76018012cee6dc0072e2d600031004428..."} 
[2026-07-01 13:23:58] local.INFO: Processing buffer {"connection_id":119005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ca76018012cee6dc0072e2d600031004428..."} 
[2026-07-01 13:23:58] local.INFO: Packet analysis {"connection_id":119005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ca7"} 
[2026-07-01 13:23:58] local.INFO: Extracted packet for processing {"connection_id":119005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ca7"} 
[2026-07-01 13:23:58] local.INFO: GPS Element Parsed {"raw_longitude":753823168,"raw_latitude":120466784,"longitude_deg":75.3823168,"latitude_deg":12.0466784,"altitude":49,"angle":68,"satellites":40,"speed":0,"hex_longitude":"2cee6dc0","hex_latitude":"072e2d60","is_valid_coordinates":true} 
[2026-07-01 13: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-01 13:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420314880001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:23:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333415072783138816,"note":"Value kept but may cause issues"} 
[2026-07-01 13:23:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1275292719892174848,"note":"Value kept but may cause issues"} 
[2026-07-01 13:23:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:23:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782892159000,"timestamp_ms":1782892159000,"timestamp_seconds":1782892159,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ca76018"} 
[2026-07-01 13: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-01 13:23:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 13: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-01 13:23:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 13: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-01 13: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-01 13:23:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:23:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:23:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:23:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:23:58] 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-01 13:23:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:23:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:23:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420314880001,"66":26321,"219":206,"83":44032,"24":0,"16":333415072783138816,"44":-1275292719892174848},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-07-01 13:23:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:23:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:23:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420314880001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:23:58] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-01 13:23:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-07-01 13:23:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333415072783138816,"km_value":333415072783138.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:23:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1275292719892174848,"description":"Unknown IO ID 44"} 
[2026-07-01 13:23:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420314880001,"power":26321,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1275292719892174848}} 
[2026-07-01 13:23:58] local.INFO: DEBUG: GPS processor result {"connection_id":119005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:23:58] local.INFO: GPS data processed {"connection_id":119005,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:23:58] local.INFO: Acknowledgment sent {"connection_id":119005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:24:20] local.INFO: TCP Data received {"connection_id":119785,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:24:20] local.INFO: Processing buffer {"connection_id":119785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:24:20] local.INFO: IMEI packet received {"connection_id":119785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 13:24:20] local.INFO: IMEI acknowledgment sent {"connection_id":119785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:24:26] local.INFO: TCP Data received {"connection_id":119785,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:24:26] local.INFO: Processing buffer {"connection_id":119785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:24:26] local.INFO: IMEI packet received {"connection_id":119785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":119785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:24:26] local.INFO: TCP Data received {"connection_id":119785,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ca76018012cee6dc0072e2d600031004428..."} 
[2026-07-01 13:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ca76018012cee6dc0072e2d600031004428..."} 
[2026-07-01 13:24:26] local.INFO: Processing buffer {"connection_id":119785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ca76018012cee6dc0072e2d600031004428..."} 
[2026-07-01 13:24:26] local.INFO: Packet analysis {"connection_id":119785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ca7"} 
[2026-07-01 13:24:26] local.INFO: Extracted packet for processing {"connection_id":119785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ca7"} 
[2026-07-01 13:24:26] local.INFO: GPS Element Parsed {"raw_longitude":753823168,"raw_latitude":120466784,"longitude_deg":75.3823168,"latitude_deg":12.0466784,"altitude":49,"angle":68,"satellites":40,"speed":0,"hex_longitude":"2cee6dc0","hex_latitude":"072e2d60","is_valid_coordinates":true} 
[2026-07-01 13:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420314880001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333415072783138816,"note":"Value kept but may cause issues"} 
[2026-07-01 13:24:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1275292719892174848,"note":"Value kept but may cause issues"} 
[2026-07-01 13:24:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782892159000,"timestamp_ms":1782892159000,"timestamp_seconds":1782892159,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ca76018"} 
[2026-07-01 13:24:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:24:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 13:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-01 13:24:26] 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-01 13:24:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 13:24:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:24:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 13:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:24:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420314880001,"66":26321,"219":206,"83":44032,"24":0,"16":333415072783138816,"44":-1275292719892174848},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-07-01 13:24:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:24:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:24:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420314880001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:24:27] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-01 13:24:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-07-01 13:24:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333415072783138816,"km_value":333415072783138.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:24:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1275292719892174848,"description":"Unknown IO ID 44"} 
[2026-07-01 13:24:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420314880001,"power":26321,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1275292719892174848}} 
[2026-07-01 13:24:27] local.INFO: DEBUG: GPS processor result {"connection_id":119785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:24:27] local.INFO: GPS data processed {"connection_id":119785,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:24:27] local.INFO: Acknowledgment sent {"connection_id":119785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:24:58] local.INFO: TCP Data received {"connection_id":119785,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cabc518012cee6dc0072e2d600031004426..."} 
[2026-07-01 13:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cabc518012cee6dc0072e2d600031004426..."} 
[2026-07-01 13:24:58] local.INFO: Processing buffer {"connection_id":119785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cabc518012cee6dc0072e2d600031004426..."} 
[2026-07-01 13:24:58] local.INFO: Packet analysis {"connection_id":119785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cab"} 
[2026-07-01 13:24:58] local.INFO: Extracted packet for processing {"connection_id":119785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cab"} 
[2026-07-01 13:24:58] local.INFO: GPS Element Parsed {"raw_longitude":753823168,"raw_latitude":120466784,"longitude_deg":75.3823168,"latitude_deg":12.0466784,"altitude":49,"angle":68,"satellites":38,"speed":0,"hex_longitude":"2cee6dc0","hex_latitude":"072e2d60","is_valid_coordinates":true} 
[2026-07-01 13:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420392704001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:24:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333415072783138816,"note":"Value kept but may cause issues"} 
[2026-07-01 13:24:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266144783149211648,"note":"Value kept but may cause issues"} 
[2026-07-01 13:24:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:24:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782892447000,"timestamp_ms":1782892447000,"timestamp_seconds":1782892447,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cabc518"} 
[2026-07-01 13: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-01 13:24:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 13: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-07-01 13:24:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 13: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-01 13: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-01 13:24:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:24:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:24:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:24:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:24:58] 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-01 13:24:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:24:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:24:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420392704001,"66":26082,"219":206,"83":44032,"24":0,"16":333415072783138816,"44":-1266144783149211648},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-07-01 13:24:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:24:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:24:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420392704001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:24:58] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-01 13:24:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-07-01 13:24:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333415072783138816,"km_value":333415072783138.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:24:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266144783149211648,"description":"Unknown IO ID 44"} 
[2026-07-01 13:24:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420392704001,"power":26082,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1266144783149211648}} 
[2026-07-01 13:24:58] local.INFO: DEBUG: GPS processor result {"connection_id":119785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:24:58] local.INFO: GPS data processed {"connection_id":119785,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:24:58] local.INFO: Acknowledgment sent {"connection_id":119785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:25:41] local.INFO: TCP Data received {"connection_id":119127,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119127,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:25:41] local.INFO: Processing buffer {"connection_id":119127,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:25:41] local.INFO: IMEI packet received {"connection_id":119127,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 13:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":119127,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:25:41] local.INFO: TCP Data received {"connection_id":120877,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:25:41] local.INFO: Processing buffer {"connection_id":120877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:25:41] local.INFO: IMEI packet received {"connection_id":120877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 13:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":120877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:25:41] local.INFO: TCP Data received {"connection_id":120877,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:25:41] local.INFO: Processing buffer {"connection_id":120877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:25:41] local.INFO: IMEI packet received {"connection_id":120877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":120877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:25:42] local.INFO: TCP Data received {"connection_id":120877,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:25:42] local.INFO: Processing buffer {"connection_id":120877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:25:42] local.INFO: IMEI packet received {"connection_id":120877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:25:42] local.INFO: IMEI acknowledgment sent {"connection_id":120877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:25:42] local.INFO: TCP Data received {"connection_id":120877,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:25:42] local.INFO: Processing buffer {"connection_id":120877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:25:42] local.INFO: IMEI packet received {"connection_id":120877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:25:42] local.INFO: IMEI acknowledgment sent {"connection_id":120877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:26:15] local.INFO: TCP Data received {"connection_id":119786,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119786,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:26:15] local.INFO: Processing buffer {"connection_id":119786,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:26:15] local.INFO: IMEI packet received {"connection_id":119786,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 13:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":119786,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:30:46] local.INFO: TCP Data received {"connection_id":120882,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:30:46] local.INFO: Processing buffer {"connection_id":120882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:30:46] local.INFO: IMEI packet received {"connection_id":120882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 13:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":120882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:30:47] local.INFO: TCP Data received {"connection_id":120882,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cae7880012ced4480072db8d0004a00ec26..."} 
[2026-07-01 13:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cae7880012ced4480072db8d0004a00ec26..."} 
[2026-07-01 13:30:47] local.INFO: Processing buffer {"connection_id":120882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cae7880012ced4480072db8d0004a00ec26..."} 
[2026-07-01 13:30:47] local.INFO: Packet analysis {"connection_id":120882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cae"} 
[2026-07-01 13:30:47] local.INFO: Extracted packet for processing {"connection_id":120882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cae"} 
[2026-07-01 13:30:47] local.INFO: GPS Element Parsed {"raw_longitude":753747072,"raw_latitude":120436944,"longitude_deg":75.3747072,"latitude_deg":12.0436944,"altitude":74,"angle":236,"satellites":38,"speed":45,"hex_longitude":"2ced4480","hex_latitude":"072db8d0","is_valid_coordinates":true} 
[2026-07-01 13: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-01 13:30:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420509696001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:30:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333419144412135424,"note":"Value kept but may cause issues"} 
[2026-07-01 13:30:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1341228233193068544,"note":"Value kept but may cause issues"} 
[2026-07-01 13:30:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:30:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782892624000,"timestamp_ms":1782892624000,"timestamp_seconds":1782892624,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cae7880"} 
[2026-07-01 13: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-01 13:30:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 13:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 13:30:47] 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-01 13: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-01 13: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-01 13:30:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:30:47] local.INFO: Teltonika packet parsed successfully {"connection_id":120882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:30:47] local.INFO: Passing IMEI to GPS processor {"connection_id":120882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:30:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":120882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:30: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-01 13:30:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:30:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:30:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420509696001,"66":27745,"39":206,"83":44032,"24":45,"16":333419144412135424,"44":-1341228233193068544},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,83,24,16,44]} 
[2026-07-01 13:30:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:30:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:30:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420509696001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:30:47] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-01 13:30:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-07-01 13:30:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333419144412135424,"km_value":333419144412135.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:30:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1341228233193068544,"description":"Unknown IO ID 44"} 
[2026-07-01 13:30:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420509696001,"power":27745,"unknown_39":206,"unknown_83":44032,"ignition":45,"odometer":null,"unknown_44":-1341228233193068544}} 
[2026-07-01 13:30:47] local.INFO: DEBUG: GPS processor result {"connection_id":120882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:30:47] local.INFO: GPS data processed {"connection_id":120882,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:30:47] local.INFO: Acknowledgment sent {"connection_id":120882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:31:25] local.INFO: TCP Data received {"connection_id":119130,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:31:25] local.INFO: Processing buffer {"connection_id":119130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:31:25] local.INFO: IMEI packet received {"connection_id":119130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 13:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":119130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:31:31] local.INFO: TCP Data received {"connection_id":119130,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:31:31] local.INFO: Processing buffer {"connection_id":119130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:31:31] local.INFO: IMEI packet received {"connection_id":119130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":119130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:31:32] local.INFO: TCP Data received {"connection_id":119130,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cb15eb0012cec2cc0072d6b180033010925..."} 
[2026-07-01 13:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cb15eb0012cec2cc0072d6b180033010925..."} 
[2026-07-01 13:31:32] local.INFO: Processing buffer {"connection_id":119130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cb15eb0012cec2cc0072d6b180033010925..."} 
[2026-07-01 13:31:32] local.INFO: Packet analysis {"connection_id":119130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cb1"} 
[2026-07-01 13:31:32] local.INFO: Extracted packet for processing {"connection_id":119130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cb1"} 
[2026-07-01 13:31:32] local.INFO: GPS Element Parsed {"raw_longitude":753675456,"raw_latitude":120417048,"longitude_deg":75.3675456,"latitude_deg":12.0417048,"altitude":51,"angle":265,"satellites":37,"speed":34,"hex_longitude":"2cec2cc0","hex_latitude":"072d6b18","is_valid_coordinates":true} 
[2026-07-01 13:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420555776001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333422704940023808,"note":"Value kept but may cause issues"} 
[2026-07-01 13:31:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1418282008073783296,"note":"Value kept but may cause issues"} 
[2026-07-01 13:31:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782892814000,"timestamp_ms":1782892814000,"timestamp_seconds":1782892814,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cb15eb0"} 
[2026-07-01 13:31:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:31:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 13:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 13:31:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 13:31:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 13:31:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":119130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":119130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":119130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:31:32] 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-01 13:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420555776001,"66":27800,"75":206,"83":44032,"24":34,"16":333422704940023808,"44":-1418282008073783296},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,83,24,16,44]} 
[2026-07-01 13:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420555776001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:31:32] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-07-01 13:31:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-07-01 13:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333422704940023808,"km_value":333422704940023.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:31:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1418282008073783296,"description":"Unknown IO ID 44"} 
[2026-07-01 13:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420555776001,"power":27800,"unknown_75":206,"unknown_83":44032,"ignition":34,"odometer":null,"unknown_44":-1418282008073783296}} 
[2026-07-01 13:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":119130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:31:32] local.INFO: GPS data processed {"connection_id":119130,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:31:32] local.INFO: Acknowledgment sent {"connection_id":119130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:31:36] local.INFO: TCP Data received {"connection_id":119787,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119787,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:31:36] local.INFO: Processing buffer {"connection_id":119787,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:31:36] local.INFO: IMEI packet received {"connection_id":119787,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 13:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":119787,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:32:07] local.INFO: TCP Data received {"connection_id":119130,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cb185c0012cec0880072d68280032010d21..."} 
[2026-07-01 13:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cb185c0012cec0880072d68280032010d21..."} 
[2026-07-01 13:32:07] local.INFO: Processing buffer {"connection_id":119130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cb185c0012cec0880072d68280032010d21..."} 
[2026-07-01 13:32:07] local.INFO: Packet analysis {"connection_id":119130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cb1"} 
[2026-07-01 13:32:07] local.INFO: Extracted packet for processing {"connection_id":119130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cb1"} 
[2026-07-01 13:32:07] local.INFO: GPS Element Parsed {"raw_longitude":753666176,"raw_latitude":120416296,"longitude_deg":75.3666176,"latitude_deg":12.0416296,"altitude":50,"angle":269,"satellites":33,"speed":25,"hex_longitude":"2cec0880","hex_latitude":"072d6828","is_valid_coordinates":true} 
[2026-07-01 13: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-01 13:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420560384001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333423147321655296,"note":"Value kept but may cause issues"} 
[2026-07-01 13:32:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1428555844723992576,"note":"Value kept but may cause issues"} 
[2026-07-01 13:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782892824000,"timestamp_ms":1782892824000,"timestamp_seconds":1782892824,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cb185c0"} 
[2026-07-01 13: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-01 13:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 13: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 13:32:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 13: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-01 13: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-01 13:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":119130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":119130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":119130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 13:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420560384001,"66":27843,"75":206,"83":44032,"24":25,"16":333423147321655296,"44":-1428555844723992576},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,83,24,16,44]} 
[2026-07-01 13:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420560384001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:32:07] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-07-01 13:32:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-07-01 13:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333423147321655296,"km_value":333423147321655.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:32:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1428555844723992576,"description":"Unknown IO ID 44"} 
[2026-07-01 13:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420560384001,"power":27843,"unknown_75":206,"unknown_83":44032,"ignition":25,"odometer":null,"unknown_44":-1428555844723992576}} 
[2026-07-01 13:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":119130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:32:07] local.INFO: GPS data processed {"connection_id":119130,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:32:07] local.INFO: Acknowledgment sent {"connection_id":119130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:32:15] local.INFO: TCP Data received {"connection_id":119131,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119131,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:32:15] local.INFO: Processing buffer {"connection_id":119131,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:32:15] local.INFO: IMEI packet received {"connection_id":119131,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 13:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":119131,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:32:26] local.INFO: TCP Data received {"connection_id":119788,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:32:26] local.INFO: Processing buffer {"connection_id":119788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:32:26] local.INFO: IMEI packet received {"connection_id":119788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 13:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":119788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:32:31] local.INFO: TCP Data received {"connection_id":119788,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:32:31] local.INFO: Processing buffer {"connection_id":119788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:32:31] local.INFO: IMEI packet received {"connection_id":119788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":119788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:32:32] local.INFO: TCP Data received {"connection_id":119788,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cb19178012cec0280072d68c00031011924..."} 
[2026-07-01 13:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cb19178012cec0280072d68c00031011924..."} 
[2026-07-01 13:32:32] local.INFO: Processing buffer {"connection_id":119788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cb19178012cec0280072d68c00031011924..."} 
[2026-07-01 13:32:32] local.INFO: Packet analysis {"connection_id":119788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cb1"} 
[2026-07-01 13:32:32] local.INFO: Extracted packet for processing {"connection_id":119788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cb1"} 
[2026-07-01 13:32:32] local.INFO: GPS Element Parsed {"raw_longitude":753664640,"raw_latitude":120416448,"longitude_deg":75.366464,"latitude_deg":12.0416448,"altitude":49,"angle":281,"satellites":36,"speed":14,"hex_longitude":"2cec0280","hex_latitude":"072d68c0","is_valid_coordinates":true} 
[2026-07-01 13:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420562944001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333423220336099328,"note":"Value kept but may cause issues"} 
[2026-07-01 13:32:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1438759312629946368,"note":"Value kept but may cause issues"} 
[2026-07-01 13:32:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782892827000,"timestamp_ms":1782892827000,"timestamp_seconds":1782892827,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cb19178"} 
[2026-07-01 13:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:32:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 13:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 13:32:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 13:32:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 13:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":119788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":119788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":119788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:32:32] 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-01 13:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420562944001,"66":27800,"75":206,"83":44032,"24":14,"16":333423220336099328,"44":-1438759312629946368},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,83,24,16,44]} 
[2026-07-01 13:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420562944001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:32:32] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-07-01 13:32:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-07-01 13:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333423220336099328,"km_value":333423220336099.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:32:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1438759312629946368,"description":"Unknown IO ID 44"} 
[2026-07-01 13:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420562944001,"power":27800,"unknown_75":206,"unknown_83":44032,"ignition":14,"odometer":null,"unknown_44":-1438759312629946368}} 
[2026-07-01 13:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":119788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:32:32] local.INFO: GPS data processed {"connection_id":119788,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:32:32] local.INFO: Acknowledgment sent {"connection_id":119788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:32:35] local.INFO: TCP Data received {"connection_id":119788,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cb1a500012cebfd00072d69780032010d26..."} 
[2026-07-01 13:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cb1a500012cebfd00072d69780032010d26..."} 
[2026-07-01 13:32:35] local.INFO: Processing buffer {"connection_id":119788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cb1a500012cebfd00072d69780032010d26..."} 
[2026-07-01 13:32:35] local.INFO: Packet analysis {"connection_id":119788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cb1"} 
[2026-07-01 13:32:35] local.INFO: Extracted packet for processing {"connection_id":119788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cb1"} 
[2026-07-01 13:32:35] local.INFO: GPS Element Parsed {"raw_longitude":753663232,"raw_latitude":120416632,"longitude_deg":75.3663232,"latitude_deg":12.0416632,"altitude":50,"angle":269,"satellites":38,"speed":8,"hex_longitude":"2cebfd00","hex_latitude":"072d6978","is_valid_coordinates":true} 
[2026-07-01 13: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-01 13:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420563712001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333423289055576064,"note":"Value kept but may cause issues"} 
[2026-07-01 13:32:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1440448162490171392,"note":"Value kept but may cause issues"} 
[2026-07-01 13:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782892832000,"timestamp_ms":1782892832000,"timestamp_seconds":1782892832,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cb1a500"} 
[2026-07-01 13: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-01 13:32:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 13:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 13:32:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 13: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-01 13: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-01 13:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":119788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":119788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":119788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 13:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420563712001,"66":27952,"75":206,"83":44032,"24":8,"16":333423289055576064,"44":-1440448162490171392},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,83,24,16,44]} 
[2026-07-01 13:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420563712001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:32:35] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-07-01 13:32:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-07-01 13:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333423289055576064,"km_value":333423289055576.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:32:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1440448162490171392,"description":"Unknown IO ID 44"} 
[2026-07-01 13:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420563712001,"power":27952,"unknown_75":206,"unknown_83":44032,"ignition":8,"odometer":null,"unknown_44":-1440448162490171392}} 
[2026-07-01 13:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":119788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:32:35] local.INFO: GPS data processed {"connection_id":119788,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:32:35] local.INFO: Acknowledgment sent {"connection_id":119788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:33:06] local.INFO: TCP Data received {"connection_id":119788,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cb1df98012cebd980072d6c600033011627..."} 
[2026-07-01 13:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cb1df98012cebd980072d6c600033011627..."} 
[2026-07-01 13:33:06] local.INFO: Processing buffer {"connection_id":119788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cb1df98012cebd980072d6c600033011627..."} 
[2026-07-01 13:33:06] local.INFO: Packet analysis {"connection_id":119788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cb1"} 
[2026-07-01 13:33:06] local.INFO: Extracted packet for processing {"connection_id":119788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cb1"} 
[2026-07-01 13:33:06] local.INFO: GPS Element Parsed {"raw_longitude":753654144,"raw_latitude":120417376,"longitude_deg":75.3654144,"latitude_deg":12.0417376,"altitude":51,"angle":278,"satellites":39,"speed":33,"hex_longitude":"2cebd980","hex_latitude":"072d6c60","is_valid_coordinates":true} 
[2026-07-01 13:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420564992001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333423718552305664,"note":"Value kept but may cause issues"} 
[2026-07-01 13:33:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1441996274862032896,"note":"Value kept but may cause issues"} 
[2026-07-01 13:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782892847000,"timestamp_ms":1782892847000,"timestamp_seconds":1782892847,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cb1df98"} 
[2026-07-01 13:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 13:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-01 13:33:06] 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-01 13:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 13:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":119788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":119788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":119788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:33:06] 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-01 13:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420564992001,"66":27995,"38":206,"83":44032,"24":33,"16":333423718552305664,"44":-1441996274862032896},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,83,24,16,44]} 
[2026-07-01 13:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420564992001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:33:06] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-07-01 13:33:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-07-01 13:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333423718552305664,"km_value":333423718552305.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:33:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1441996274862032896,"description":"Unknown IO ID 44"} 
[2026-07-01 13:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420564992001,"power":27995,"unknown_38":206,"unknown_83":44032,"ignition":33,"odometer":null,"unknown_44":-1441996274862032896}} 
[2026-07-01 13:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":119788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:33:06] local.INFO: GPS data processed {"connection_id":119788,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:33:06] local.INFO: Acknowledgment sent {"connection_id":119788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:33:16] local.INFO: TCP Data received {"connection_id":120883,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:33:16] local.INFO: Processing buffer {"connection_id":120883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:33:16] local.INFO: IMEI packet received {"connection_id":120883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 13:33:16] local.INFO: IMEI acknowledgment sent {"connection_id":120883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:33:20] local.INFO: TCP Data received {"connection_id":120883,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:33:20] local.INFO: Processing buffer {"connection_id":120883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:33:20] local.INFO: IMEI packet received {"connection_id":120883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":120883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:33:24] local.INFO: TCP Data received {"connection_id":120883,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:33:24] local.INFO: Processing buffer {"connection_id":120883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:33:24] local.INFO: IMEI packet received {"connection_id":120883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":120883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:33:25] local.INFO: TCP Data received {"connection_id":120883,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cb202c0012cebb640072d71b00031011826..."} 
[2026-07-01 13:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cb202c0012cebb640072d71b00031011826..."} 
[2026-07-01 13:33:25] local.INFO: Processing buffer {"connection_id":120883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cb202c0012cebb640072d71b00031011826..."} 
[2026-07-01 13:33:25] local.INFO: Packet analysis {"connection_id":120883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cb2"} 
[2026-07-01 13:33:25] local.INFO: Extracted packet for processing {"connection_id":120883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cb2"} 
[2026-07-01 13:33:25] local.INFO: GPS Element Parsed {"raw_longitude":753645120,"raw_latitude":120418736,"longitude_deg":75.364512,"latitude_deg":12.0418736,"altitude":49,"angle":280,"satellites":38,"speed":43,"hex_longitude":"2cebb640","hex_latitude":"072d71b0","is_valid_coordinates":true} 
[2026-07-01 13: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-01 13:33:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420568832001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:33:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333424152344002560,"note":"Value kept but may cause issues"} 
[2026-07-01 13:33:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1451988636535070720,"note":"Value kept but may cause issues"} 
[2026-07-01 13:33:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:33:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782892856000,"timestamp_ms":1782892856000,"timestamp_seconds":1782892856,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cb202c0"} 
[2026-07-01 13: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-01 13:33:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 13: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-01 13:33:25] 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-01 13: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-01 13: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-01 13:33:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:33:25] local.INFO: Teltonika packet parsed successfully {"connection_id":120883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:33:25] local.INFO: Passing IMEI to GPS processor {"connection_id":120883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:33:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":120883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:33:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 13:33:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:33:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:33:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420568832001,"66":27821,"53":206,"83":44032,"24":43,"16":333424152344002560,"44":-1451988636535070720},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,83,24,16,44]} 
[2026-07-01 13:33:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:33:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:33:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420568832001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:33:25] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-01 13:33:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-07-01 13:33:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333424152344002560,"km_value":333424152344002.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:33:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1451988636535070720,"description":"Unknown IO ID 44"} 
[2026-07-01 13:33:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420568832001,"power":27821,"unknown_53":206,"unknown_83":44032,"ignition":43,"odometer":null,"unknown_44":-1451988636535070720}} 
[2026-07-01 13:33:25] local.INFO: DEBUG: GPS processor result {"connection_id":120883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:33:25] local.INFO: GPS data processed {"connection_id":120883,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:33:25] local.INFO: Acknowledgment sent {"connection_id":120883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:33:56] local.INFO: TCP Data received {"connection_id":120883,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cb421b8012cea6380072dad28002b012c29..."} 
[2026-07-01 13:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cb421b8012cea6380072dad28002b012c29..."} 
[2026-07-01 13:33:56] local.INFO: Processing buffer {"connection_id":120883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cb421b8012cea6380072dad28002b012c29..."} 
[2026-07-01 13:33:56] local.INFO: Packet analysis {"connection_id":120883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cb4"} 
[2026-07-01 13:33:56] local.INFO: Extracted packet for processing {"connection_id":120883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cb4"} 
[2026-07-01 13:33:56] local.INFO: GPS Element Parsed {"raw_longitude":753558400,"raw_latitude":120433960,"longitude_deg":75.35584,"latitude_deg":12.043396,"altitude":43,"angle":300,"satellites":41,"speed":15,"hex_longitude":"2cea6380","hex_latitude":"072dad28","is_valid_coordinates":true} 
[2026-07-01 13: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-01 13:33:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420603904001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:33:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333428382886789120,"note":"Value kept but may cause issues"} 
[2026-07-01 13:33:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1554445528053661696,"note":"Value kept but may cause issues"} 
[2026-07-01 13:33:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:33:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782892995000,"timestamp_ms":1782892995000,"timestamp_seconds":1782892995,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cb421b8"} 
[2026-07-01 13: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-01 13:33:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 13: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 13:33:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 13: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-01 13: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-01 13:33:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:33:56] local.INFO: Teltonika packet parsed successfully {"connection_id":120883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:33:56] local.INFO: Passing IMEI to GPS processor {"connection_id":120883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:33:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":120883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:33:56] 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-01 13:33:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:33:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:33:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420603904001,"66":27767,"203":206,"83":44032,"24":15,"16":333428382886789120,"44":-1554445528053661696},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,83,24,16,44]} 
[2026-07-01 13:33:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:33:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:33:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420603904001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:33:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-07-01 13:33:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333428382886789120,"km_value":333428382886789.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:33:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1554445528053661696,"description":"Unknown IO ID 44"} 
[2026-07-01 13:33:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420603904001,"power":27767,"mnc":206,"unknown_83":44032,"ignition":15,"odometer":null,"unknown_44":-1554445528053661696}} 
[2026-07-01 13:33:56] local.INFO: DEBUG: GPS processor result {"connection_id":120883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:33:56] local.INFO: GPS data processed {"connection_id":120883,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:33:56] local.INFO: Acknowledgment sent {"connection_id":120883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:34:20] local.INFO: TCP Data received {"connection_id":119133,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:34:20] local.INFO: Processing buffer {"connection_id":119133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:34:20] local.INFO: IMEI packet received {"connection_id":119133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 13:34:20] local.INFO: IMEI acknowledgment sent {"connection_id":119133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:34:20] local.INFO: TCP Data received {"connection_id":119133,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:34:20] local.INFO: Processing buffer {"connection_id":119133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:34:20] local.INFO: IMEI packet received {"connection_id":119133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:34:20] local.INFO: IMEI acknowledgment sent {"connection_id":119133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:34:21] local.INFO: TCP Data received {"connection_id":119133,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:34:21] local.INFO: Processing buffer {"connection_id":119133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:34:21] local.INFO: IMEI packet received {"connection_id":119133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":119133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:34:21] local.INFO: TCP Data received {"connection_id":119133,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:34:21] local.INFO: Processing buffer {"connection_id":119133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:34:21] local.INFO: IMEI packet received {"connection_id":119133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":119133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:37:41] local.INFO: TCP Data received {"connection_id":119792,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119792,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:37:41] local.INFO: Processing buffer {"connection_id":119792,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:37:41] local.INFO: IMEI packet received {"connection_id":119792,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 13:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":119792,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:38:21] local.INFO: TCP Data received {"connection_id":119011,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119011,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:38:21] local.INFO: Processing buffer {"connection_id":119011,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:38:21] local.INFO: IMEI packet received {"connection_id":119011,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 13:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":119011,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:39:23] local.INFO: TCP Data received {"connection_id":119794,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:39:23] local.INFO: Processing buffer {"connection_id":119794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:39:23] local.INFO: IMEI packet received {"connection_id":119794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 13:39:23] local.INFO: IMEI acknowledgment sent {"connection_id":119794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:39:24] local.INFO: TCP Data received {"connection_id":119794,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cb8a210012ce824c0072f71000019011f26..."} 
[2026-07-01 13:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cb8a210012ce824c0072f71000019011f26..."} 
[2026-07-01 13:39:24] local.INFO: Processing buffer {"connection_id":119794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cb8a210012ce824c0072f71000019011f26..."} 
[2026-07-01 13:39:24] local.INFO: Packet analysis {"connection_id":119794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cb8"} 
[2026-07-01 13:39:24] local.INFO: Extracted packet for processing {"connection_id":119794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cb8"} 
[2026-07-01 13:39:24] local.INFO: GPS Element Parsed {"raw_longitude":753411264,"raw_latitude":120549632,"longitude_deg":75.3411264,"latitude_deg":12.0549632,"altitude":25,"angle":287,"satellites":38,"speed":25,"hex_longitude":"2ce824c0","hex_latitude":"072f7100","is_valid_coordinates":true} 
[2026-07-01 13:39:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:39:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420681984001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:39:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333438738052939776,"note":"Value kept but may cause issues"} 
[2026-07-01 13:39:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1718263964469532672,"note":"Value kept but may cause issues"} 
[2026-07-01 13:39:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:39:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782893290000,"timestamp_ms":1782893290000,"timestamp_seconds":1782893290,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cb8a210"} 
[2026-07-01 13:39:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:39:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 13:39:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 13:39:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 13:39:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 13:39:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:39:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:39:24] local.INFO: Teltonika packet parsed successfully {"connection_id":119794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:39:24] local.INFO: Passing IMEI to GPS processor {"connection_id":119794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:39:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":119794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:39:24] 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-01 13:39:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:39:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:39:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420681984001,"66":27908,"28":206,"83":44032,"24":25,"16":333438738052939776,"44":-1718263964469532672},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,83,24,16,44]} 
[2026-07-01 13:39:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:39:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:39:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420681984001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:39:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-01 13:39:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-07-01 13:39:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333438738052939776,"km_value":333438738052939.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:39:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1718263964469532672,"description":"Unknown IO ID 44"} 
[2026-07-01 13:39:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420681984001,"power":27908,"unknown_28":206,"unknown_83":44032,"ignition":25,"odometer":null,"unknown_44":-1718263964469532672}} 
[2026-07-01 13:39:24] local.INFO: DEBUG: GPS processor result {"connection_id":119794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:39:24] local.INFO: GPS data processed {"connection_id":119794,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:39:24] local.INFO: Acknowledgment sent {"connection_id":119794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:40:04] local.INFO: TCP Data received {"connection_id":119794,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cb978e8012ce7c3c0072fa6f00029013c2b..."} 
[2026-07-01 13:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cb978e8012ce7c3c0072fa6f00029013c2b..."} 
[2026-07-01 13:40:04] local.INFO: Processing buffer {"connection_id":119794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cb978e8012ce7c3c0072fa6f00029013c2b..."} 
[2026-07-01 13:40:04] local.INFO: Packet analysis {"connection_id":119794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cb9"} 
[2026-07-01 13:40:04] local.INFO: Extracted packet for processing {"connection_id":119794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cb9"} 
[2026-07-01 13:40:04] local.INFO: GPS Element Parsed {"raw_longitude":753386432,"raw_latitude":120563440,"longitude_deg":75.3386432,"latitude_deg":12.056344,"altitude":41,"angle":316,"satellites":43,"speed":23,"hex_longitude":"2ce7c3c0","hex_latitude":"072fa6f0","is_valid_coordinates":true} 
[2026-07-01 13:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420695552001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333440254176395264,"note":"Value kept but may cause issues"} 
[2026-07-01 13:40:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1744863349765392384,"note":"Value kept but may cause issues"} 
[2026-07-01 13:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782893345000,"timestamp_ms":1782893345000,"timestamp_seconds":1782893345,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cb978e8"} 
[2026-07-01 13:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:40: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-01 13:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-01 13:40:04] 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-01 13:40:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 13:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":119794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":119794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":119794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:40:04] 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-01 13:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420695552001,"66":27865,"28":206,"83":44032,"24":23,"16":333440254176395264,"44":-1744863349765392384},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,83,24,16,44]} 
[2026-07-01 13:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420695552001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:40:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-01 13:40:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-07-01 13:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333440254176395264,"km_value":333440254176395.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:40:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1744863349765392384,"description":"Unknown IO ID 44"} 
[2026-07-01 13:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420695552001,"power":27865,"unknown_28":206,"unknown_83":44032,"ignition":23,"odometer":null,"unknown_44":-1744863349765392384}} 
[2026-07-01 13:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":119794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:40:04] local.INFO: GPS data processed {"connection_id":119794,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:40:04] local.INFO: Acknowledgment sent {"connection_id":119794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:40:20] local.INFO: TCP Data received {"connection_id":119014,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:40:20] local.INFO: Processing buffer {"connection_id":119014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:40:20] local.INFO: IMEI packet received {"connection_id":119014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 13:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":119014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:40:21] local.INFO: TCP Data received {"connection_id":119014,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:40:21] local.INFO: Processing buffer {"connection_id":119014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:40:21] local.INFO: IMEI packet received {"connection_id":119014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":119014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:40:25] local.INFO: TCP Data received {"connection_id":119014,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:40:25] local.INFO: Processing buffer {"connection_id":119014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:40:25] local.INFO: IMEI packet received {"connection_id":119014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":119014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:40:26] local.INFO: TCP Data received {"connection_id":119014,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cb98888012ce7be40072faed0002a014a2b..."} 
[2026-07-01 13:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cb98888012ce7be40072faed0002a014a2b..."} 
[2026-07-01 13:40:26] local.INFO: Processing buffer {"connection_id":119014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cb98888012ce7be40072faed0002a014a2b..."} 
[2026-07-01 13:40:26] local.INFO: Packet analysis {"connection_id":119014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cb9"} 
[2026-07-01 13:40:26] local.INFO: Extracted packet for processing {"connection_id":119014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cb9"} 
[2026-07-01 13:40:26] local.INFO: GPS Element Parsed {"raw_longitude":753385024,"raw_latitude":120565456,"longitude_deg":75.3385024,"latitude_deg":12.0565456,"altitude":42,"angle":330,"satellites":43,"speed":26,"hex_longitude":"2ce7be40","hex_latitude":"072faed0","is_valid_coordinates":true} 
[2026-07-01 13: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-01 13:40:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420696320001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:40:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333440374435479552,"note":"Value kept but may cause issues"} 
[2026-07-01 13:40:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1746341093392846848,"note":"Value kept but may cause issues"} 
[2026-07-01 13:40:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:40:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782893349000,"timestamp_ms":1782893349000,"timestamp_seconds":1782893349,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cb98888"} 
[2026-07-01 13: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-01 13:40:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 13: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 13:40:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 13: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-01 13: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-01 13:40:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:40:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:40:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:40:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:40:26] 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-01 13:40:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:40:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:40:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420696320001,"66":27821,"28":206,"83":44032,"24":26,"16":333440374435479552,"44":-1746341093392846848},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,83,24,16,44]} 
[2026-07-01 13:40:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:40:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:40:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420696320001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:40:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-01 13:40:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-07-01 13:40:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333440374435479552,"km_value":333440374435479.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:40:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1746341093392846848,"description":"Unknown IO ID 44"} 
[2026-07-01 13:40:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420696320001,"power":27821,"unknown_28":206,"unknown_83":44032,"ignition":26,"odometer":null,"unknown_44":-1746341093392846848}} 
[2026-07-01 13:40:26] local.INFO: DEBUG: GPS processor result {"connection_id":119014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:40:26] local.INFO: GPS data processed {"connection_id":119014,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:40:26] local.INFO: Acknowledgment sent {"connection_id":119014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:40:57] local.INFO: TCP Data received {"connection_id":119014,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cba8288012ce76f8007304d700027014d29..."} 
[2026-07-01 13:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cba8288012ce76f8007304d700027014d29..."} 
[2026-07-01 13:40:57] local.INFO: Processing buffer {"connection_id":119014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cba8288012ce76f8007304d700027014d29..."} 
[2026-07-01 13:40:57] local.INFO: Packet analysis {"connection_id":119014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cba"} 
[2026-07-01 13:40:57] local.INFO: Extracted packet for processing {"connection_id":119014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cba"} 
[2026-07-01 13:40:57] local.INFO: GPS Element Parsed {"raw_longitude":753364864,"raw_latitude":120606064,"longitude_deg":75.3364864,"latitude_deg":12.0606064,"altitude":39,"angle":333,"satellites":41,"speed":23,"hex_longitude":"2ce76f80","hex_latitude":"07304d70","is_valid_coordinates":true} 
[2026-07-01 13: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-01 13:40:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420713472001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:40:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333442749552394240,"note":"Value kept but may cause issues"} 
[2026-07-01 13:40:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1769703516449052672,"note":"Value kept but may cause issues"} 
[2026-07-01 13:40:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:40:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782893413000,"timestamp_ms":1782893413000,"timestamp_seconds":1782893413,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cba8288"} 
[2026-07-01 13: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-01 13:40:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 13: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 13:40:57] 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-01 13: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-01 13: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-01 13:40:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:40:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:40:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:40:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:40:57] 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-01 13:40:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:40:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:40:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420713472001,"66":27908,"67":206,"83":44032,"24":23,"16":333442749552394240,"44":-1769703516449052672},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,83,24,16,44]} 
[2026-07-01 13:40:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:40:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:40:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420713472001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:40:57] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-07-01 13:40:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-07-01 13:40:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333442749552394240,"km_value":333442749552394.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:40:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1769703516449052672,"description":"Unknown IO ID 44"} 
[2026-07-01 13:40:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420713472001,"power":27908,"unknown_67":206,"unknown_83":44032,"ignition":23,"odometer":null,"unknown_44":-1769703516449052672}} 
[2026-07-01 13:40:57] local.INFO: DEBUG: GPS processor result {"connection_id":119014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:40:57] local.INFO: GPS data processed {"connection_id":119014,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:40:57] local.INFO: Acknowledgment sent {"connection_id":119014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:41:12] local.INFO: TCP Data received {"connection_id":119795,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 13:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119795,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 13:41:12] local.INFO: Processing buffer {"connection_id":119795,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 13:41:12] local.INFO: IMEI packet received {"connection_id":119795,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 13:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":119795,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:41:19] local.INFO: TCP Data received {"connection_id":119795,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 13:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119795,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 13:41:19] local.INFO: Processing buffer {"connection_id":119795,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 13:41:19] local.INFO: IMEI packet received {"connection_id":119795,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 13:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":119795,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:41:21] local.INFO: TCP Data received {"connection_id":119795,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000000000000a7f80100000000000000000000000000..."} 
[2026-07-01 13:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119795,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000a7f80100000000000000000000000000..."} 
[2026-07-01 13:41:21] local.INFO: Processing buffer {"connection_id":119795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000a7f80100000000000000000000000000..."} 
[2026-07-01 13:41:21] local.INFO: Packet analysis {"connection_id":119795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-01 13:41:21] local.INFO: Extracted packet for processing {"connection_id":119795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-01 13:41: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-01 13:41: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-01 13:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 13:41:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-01 13:41:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":43000,"timestamp_seconds":43,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 13:41:21] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-01 13:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":119795,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":119795,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-01 13:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":119795,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-01 13:41:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-01 13:41:21] local.WARNING: DEBUG: No valid data to process  
[2026-07-01 13:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":119795,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-01 13:41:21] local.ERROR: GPS data processing failed {"connection_id":119795,"error":"No valid data to process"} 
[2026-07-01 13:41:21] local.INFO: Acknowledgment sent {"connection_id":119795,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-01 13:41:31] local.INFO: TCP Data received {"connection_id":119015,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:41:31] local.INFO: Processing buffer {"connection_id":119015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:41:31] local.INFO: IMEI packet received {"connection_id":119015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 13:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":119015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:41:31] local.INFO: TCP Data received {"connection_id":119015,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:41:31] local.INFO: Processing buffer {"connection_id":119015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:41:31] local.INFO: IMEI packet received {"connection_id":119015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":119015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:41:34] local.INFO: TCP Data received {"connection_id":119015,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:41:34] local.INFO: Processing buffer {"connection_id":119015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:41:34] local.INFO: IMEI packet received {"connection_id":119015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":119015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:41:35] local.INFO: TCP Data received {"connection_id":119015,"ip":"42.106.6.36","data_length":1348,"data_hex":"000000000000030f8e0a0000019f1cbad490012ce7580007305890002300d227..."} 
[2026-07-01 13:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119015,"packet_length":1348,"packet_hex":"000000000000030f8e0a0000019f1cbad490012ce7580007305890002300d227..."} 
[2026-07-01 13:41:35] local.INFO: Processing buffer {"connection_id":119015,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a0000019f1cbad490012ce7580007305890002300d227..."} 
[2026-07-01 13:41:35] local.INFO: Packet analysis {"connection_id":119015,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a0000019f1cba"} 
[2026-07-01 13:41:35] local.INFO: Extracted packet for processing {"connection_id":119015,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019f1cba"} 
[2026-07-01 13:41:35] local.INFO: GPS Element Parsed {"raw_longitude":753358848,"raw_latitude":120608912,"longitude_deg":75.3358848,"latitude_deg":12.0608912,"altitude":35,"angle":210,"satellites":39,"speed":22,"hex_longitude":"2ce75800","hex_latitude":"07305890","is_valid_coordinates":true} 
[2026-07-01 13:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420718592001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333443264948469760,"note":"Value kept but may cause issues"} 
[2026-07-01 13:41:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1776177440912289792,"note":"Value kept but may cause issues"} 
[2026-07-01 13:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782893434000,"timestamp_ms":1782893434000,"timestamp_seconds":1782893434,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cbad490"} 
[2026-07-01 13:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:41:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 13:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 13:41:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 13:41:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 13:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":119015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":119015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":119015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 13:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420718592001,"66":27843,"67":206,"83":44032,"24":22,"16":333443264948469760,"44":-1776177440912289792},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,83,24,16,44]} 
[2026-07-01 13:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420718592001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:41:35] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-07-01 13:41:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-07-01 13:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333443264948469760,"km_value":333443264948469.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:41:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1776177440912289792,"description":"Unknown IO ID 44"} 
[2026-07-01 13:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420718592001,"power":27843,"unknown_67":206,"unknown_83":44032,"ignition":22,"odometer":null,"unknown_44":-1776177440912289792}} 
[2026-07-01 13:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":119015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:41:36] local.INFO: GPS data processed {"connection_id":119015,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:41:36] local.INFO: Acknowledgment sent {"connection_id":119015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:41:36] local.INFO: Packet analysis {"connection_id":119015,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019f1cba"} 
[2026-07-01 13:41:36] local.INFO: Incomplete packet, waiting for more data {"connection_id":119015,"needed":795,"available":553} 
[2026-07-01 13:41:42] local.INFO: TCP Data received {"connection_id":119015,"ip":"42.106.6.36","data_length":1037,"data_hex":"0000000000019f1cbab168012ce76300073062b00024011f26000f0000000a00..."} 
[2026-07-01 13:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119015,"packet_length":1037,"packet_hex":"0000000000019f1cbab168012ce76300073062b00024011f26000f0000000a00..."} 
[2026-07-01 13:41:42] local.INFO: Processing buffer {"connection_id":119015,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f1cbae048012ce75340073052f8002300e226..."} 
[2026-07-01 13:41:42] local.INFO: Packet analysis {"connection_id":119015,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f1cba"} 
[2026-07-01 13:41:42] local.INFO: Extracted packet for processing {"connection_id":119015,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cba"} 
[2026-07-01 13:41:42] local.INFO: GPS Element Parsed {"raw_longitude":753357632,"raw_latitude":120607480,"longitude_deg":75.3357632,"latitude_deg":12.060748,"altitude":35,"angle":226,"satellites":38,"speed":24,"hex_longitude":"2ce75340","hex_latitude":"073052f8","is_valid_coordinates":true} 
[2026-07-01 13: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-01 13:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420719104001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333443355142782976,"note":"Value kept but may cause issues"} 
[2026-07-01 13:41:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1776670022121779200,"note":"Value kept but may cause issues"} 
[2026-07-01 13:41:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782893437000,"timestamp_ms":1782893437000,"timestamp_seconds":1782893437,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cbae048"} 
[2026-07-01 13: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-01 13:41:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 13: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 13:41:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 13: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-01 13: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-01 13:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":119015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":119015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":119015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13: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-01 13:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420719104001,"66":27865,"67":206,"83":44032,"24":24,"16":333443355142782976,"44":-1776670022121779200},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,83,24,16,44]} 
[2026-07-01 13:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420719104001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:41:42] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-07-01 13:41:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-07-01 13:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333443355142782976,"km_value":333443355142783.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:41:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1776670022121779200,"description":"Unknown IO ID 44"} 
[2026-07-01 13:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420719104001,"power":27865,"unknown_67":206,"unknown_83":44032,"ignition":24,"odometer":null,"unknown_44":-1776670022121779200}} 
[2026-07-01 13:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":119015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:41:42] local.INFO: GPS data processed {"connection_id":119015,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:41:42] local.INFO: Acknowledgment sent {"connection_id":119015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:41:42] local.INFO: Packet analysis {"connection_id":119015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cbb"} 
[2026-07-01 13:41:42] local.INFO: Extracted packet for processing {"connection_id":119015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cbb"} 
[2026-07-01 13:41:42] local.INFO: GPS Element Parsed {"raw_longitude":753350016,"raw_latitude":120601752,"longitude_deg":75.3350016,"latitude_deg":12.0601752,"altitude":40,"angle":231,"satellites":37,"speed":27,"hex_longitude":"2ce73580","hex_latitude":"07303c98","is_valid_coordinates":true} 
[2026-07-01 13: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-01 13:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420719872001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333443810409316352,"note":"Value kept but may cause issues"} 
[2026-07-01 13:41:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1778007028261521408,"note":"Value kept but may cause issues"} 
[2026-07-01 13:41:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782893451000,"timestamp_ms":1782893451000,"timestamp_seconds":1782893451,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cbb16f8"} 
[2026-07-01 13: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-01 13:41:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 13: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 13:41:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 13: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-01 13: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-01 13:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":119015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":119015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":119015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13: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-01 13:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420719872001,"66":27843,"67":206,"83":44032,"24":27,"16":333443810409316352,"44":-1778007028261521408},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,83,24,16,44]} 
[2026-07-01 13:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420719872001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:41:42] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-07-01 13:41:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-07-01 13:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333443810409316352,"km_value":333443810409316.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:41:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1778007028261521408,"description":"Unknown IO ID 44"} 
[2026-07-01 13:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420719872001,"power":27843,"unknown_67":206,"unknown_83":44032,"ignition":27,"odometer":null,"unknown_44":-1778007028261521408}} 
[2026-07-01 13:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":119015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:41:42] local.INFO: GPS data processed {"connection_id":119015,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:41:42] local.INFO: Acknowledgment sent {"connection_id":119015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:41:53] local.INFO: TCP Data received {"connection_id":119795,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000000000000a7f80100000000000000000000000000..."} 
[2026-07-01 13:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119795,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000a7f80100000000000000000000000000..."} 
[2026-07-01 13:41:53] local.INFO: Processing buffer {"connection_id":119795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000a7f80100000000000000000000000000..."} 
[2026-07-01 13:41:53] local.INFO: Packet analysis {"connection_id":119795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-01 13:41:53] local.INFO: Extracted packet for processing {"connection_id":119795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-01 13:41: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-01 13:41: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-01 13:41:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 13:41:53] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-01 13:41:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":43000,"timestamp_seconds":43,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 13:41:53] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:41:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-01 13:41:53] local.INFO: Teltonika packet parsed successfully {"connection_id":119795,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:41:53] local.INFO: Passing IMEI to GPS processor {"connection_id":119795,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-01 13:41:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":119795,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-01 13:41:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-01 13:41:53] local.WARNING: DEBUG: No valid data to process  
[2026-07-01 13:41:53] local.INFO: DEBUG: GPS processor result {"connection_id":119795,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-01 13:41:53] local.ERROR: GPS data processing failed {"connection_id":119795,"error":"No valid data to process"} 
[2026-07-01 13:41:53] local.INFO: Acknowledgment sent {"connection_id":119795,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-01 13:42:17] local.INFO: TCP Data received {"connection_id":120885,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:42:17] local.INFO: Processing buffer {"connection_id":120885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:42:17] local.INFO: IMEI packet received {"connection_id":120885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 13:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":120885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:42:21] local.INFO: TCP Data received {"connection_id":120885,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:42:21] local.INFO: Processing buffer {"connection_id":120885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:42:21] local.INFO: IMEI packet received {"connection_id":120885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:42:21] local.INFO: IMEI acknowledgment sent {"connection_id":120885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:42:24] local.INFO: TCP Data received {"connection_id":119795,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000000000000a7f80100000000000000000000000000..."} 
[2026-07-01 13:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119795,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000a7f80100000000000000000000000000..."} 
[2026-07-01 13:42:24] local.INFO: Processing buffer {"connection_id":119795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000a7f80100000000000000000000000000..."} 
[2026-07-01 13:42:24] local.INFO: Packet analysis {"connection_id":119795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-01 13:42:24] local.INFO: Extracted packet for processing {"connection_id":119795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-01 13:42: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-01 13:42:24] 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-01 13:42:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 13:42:24] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-01 13:42:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":43000,"timestamp_seconds":43,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 13:42:24] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:42:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-01 13:42:24] local.INFO: Teltonika packet parsed successfully {"connection_id":119795,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:42:24] local.INFO: Passing IMEI to GPS processor {"connection_id":119795,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-01 13:42:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":119795,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-01 13:42:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-01 13:42:24] local.WARNING: DEBUG: No valid data to process  
[2026-07-01 13:42:24] local.INFO: DEBUG: GPS processor result {"connection_id":119795,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-01 13:42:24] local.ERROR: GPS data processing failed {"connection_id":119795,"error":"No valid data to process"} 
[2026-07-01 13:42:24] local.INFO: Acknowledgment sent {"connection_id":119795,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-01 13:42:24] local.INFO: TCP Data received {"connection_id":120885,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:42:24] local.INFO: Processing buffer {"connection_id":120885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:42:24] local.INFO: IMEI packet received {"connection_id":120885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":120885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:42:25] local.INFO: TCP Data received {"connection_id":120885,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cbbab68012ce6a94007306a400027011a26..."} 
[2026-07-01 13:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cbbab68012ce6a94007306a400027011a26..."} 
[2026-07-01 13:42:25] local.INFO: Processing buffer {"connection_id":120885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cbbab68012ce6a94007306a400027011a26..."} 
[2026-07-01 13:42:25] local.INFO: Packet analysis {"connection_id":120885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cbb"} 
[2026-07-01 13:42:25] local.INFO: Extracted packet for processing {"connection_id":120885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cbb"} 
[2026-07-01 13:42:25] local.INFO: GPS Element Parsed {"raw_longitude":753314112,"raw_latitude":120613440,"longitude_deg":75.3314112,"latitude_deg":12.061344,"altitude":39,"angle":282,"satellites":38,"speed":62,"hex_longitude":"2ce6a940","hex_latitude":"07306a40","is_valid_coordinates":true} 
[2026-07-01 13:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420731904001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:42:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1818046843697762304,"note":"Value kept but may cause issues"} 
[2026-07-01 13:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333445717374795776,"note":"Value kept but may cause issues"} 
[2026-07-01 13:42:25] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-01 13:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782893489000,"timestamp_ms":1782893489000,"timestamp_seconds":1782893489,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cbbab68"} 
[2026-07-01 13:42:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:42:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 13:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-01 13:42:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 13:42:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 13:42:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":120885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":120885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":120885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:42:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 13:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420731904001,"66":28028,"44":-1818046843697762304,"83":44032,"24":62,"16":333445717374795776},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-07-01 13:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420731904001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:42:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1818046843697762304,"description":"Unknown IO ID 44"} 
[2026-07-01 13:42:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-07-01 13:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333445717374795776,"km_value":333445717374795.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:42:25] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456420731904001,"power":28028,"unknown_44":-1818046843697762304,"unknown_83":44032,"ignition":62,"odometer":null}} 
[2026-07-01 13:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":120885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:42:25] local.INFO: GPS data processed {"connection_id":120885,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:42:25] local.INFO: Acknowledgment sent {"connection_id":120885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:42:25] local.INFO: TCP Data received {"connection_id":120885,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cbbbb08012ce6908007306c780025010d25..."} 
[2026-07-01 13:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cbbbb08012ce6908007306c780025010d25..."} 
[2026-07-01 13:42:25] local.INFO: Processing buffer {"connection_id":120885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cbbbb08012ce6908007306c780025010d25..."} 
[2026-07-01 13:42:25] local.INFO: Packet analysis {"connection_id":120885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cbb"} 
[2026-07-01 13:42:25] local.INFO: Extracted packet for processing {"connection_id":120885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cbb"} 
[2026-07-01 13:42:25] local.INFO: GPS Element Parsed {"raw_longitude":753307776,"raw_latitude":120614008,"longitude_deg":75.3307776,"latitude_deg":12.0614008,"altitude":37,"angle":269,"satellites":37,"speed":62,"hex_longitude":"2ce69080","hex_latitude":"07306c78","is_valid_coordinates":true} 
[2026-07-01 13:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420733184001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:42:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1825857774300807168,"note":"Value kept but may cause issues"} 
[2026-07-01 13:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333446018022506496,"note":"Value kept but may cause issues"} 
[2026-07-01 13:42:25] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-01 13:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782893493000,"timestamp_ms":1782893493000,"timestamp_seconds":1782893493,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cbbbb08"} 
[2026-07-01 13:42:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:42:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 13:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-01 13:42:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 13:42:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 13:42:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":120885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":120885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":120885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:42:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 13:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420733184001,"66":27767,"44":-1825857774300807168,"83":44032,"24":62,"16":333446018022506496},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-07-01 13:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420733184001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:42:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1825857774300807168,"description":"Unknown IO ID 44"} 
[2026-07-01 13:42:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-07-01 13:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333446018022506496,"km_value":333446018022506.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:42:25] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456420733184001,"power":27767,"unknown_44":-1825857774300807168,"unknown_83":44032,"ignition":62,"odometer":null}} 
[2026-07-01 13:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":120885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:42:26] local.INFO: GPS data processed {"connection_id":120885,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:42:26] local.INFO: Acknowledgment sent {"connection_id":120885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:42:55] local.INFO: TCP Data received {"connection_id":119795,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000000000000a7f80100000000000000000000000000..."} 
[2026-07-01 13:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119795,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000a7f80100000000000000000000000000..."} 
[2026-07-01 13:42:55] local.INFO: Processing buffer {"connection_id":119795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000a7f80100000000000000000000000000..."} 
[2026-07-01 13:42:55] local.INFO: Packet analysis {"connection_id":119795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-01 13:42:55] local.INFO: Extracted packet for processing {"connection_id":119795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-01 13:42:55] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-01 13:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 13:42:55] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-01 13:42:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":43000,"timestamp_seconds":43,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 13:42:55] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-01 13:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":119795,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":119795,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-01 13:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":119795,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-01 13:42:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-01 13:42:55] local.WARNING: DEBUG: No valid data to process  
[2026-07-01 13:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":119795,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-01 13:42:55] local.ERROR: GPS data processing failed {"connection_id":119795,"error":"No valid data to process"} 
[2026-07-01 13:42:55] local.INFO: Acknowledgment sent {"connection_id":119795,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-01 13:42:56] local.INFO: TCP Data received {"connection_id":120885,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cbbd278012ce66b4007306a280022010826..."} 
[2026-07-01 13:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cbbd278012ce66b4007306a280022010826..."} 
[2026-07-01 13:42:56] local.INFO: Processing buffer {"connection_id":120885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cbbd278012ce66b4007306a280022010826..."} 
[2026-07-01 13:42:56] local.INFO: Packet analysis {"connection_id":120885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cbb"} 
[2026-07-01 13:42:56] local.INFO: Extracted packet for processing {"connection_id":120885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cbb"} 
[2026-07-01 13:42:56] local.INFO: GPS Element Parsed {"raw_longitude":753298240,"raw_latitude":120613416,"longitude_deg":75.329824,"latitude_deg":12.0613416,"altitude":34,"angle":264,"satellites":38,"speed":63,"hex_longitude":"2ce66b40","hex_latitude":"07306a28","is_valid_coordinates":true} 
[2026-07-01 13:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:42:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420734208001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:42:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1832824279974250496,"note":"Value kept but may cause issues"} 
[2026-07-01 13:42:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333446473289039872,"note":"Value kept but may cause issues"} 
[2026-07-01 13:42:56] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-01 13:42:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782893499000,"timestamp_ms":1782893499000,"timestamp_seconds":1782893499,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cbbd278"} 
[2026-07-01 13:42:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:42: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-01 13:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 13:42:56] 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-01 13:42:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 13:42:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:42:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:42:56] local.INFO: Teltonika packet parsed successfully {"connection_id":120885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:42:56] local.INFO: Passing IMEI to GPS processor {"connection_id":120885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:42:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":120885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:42:56] 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-01 13:42:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:42:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:42:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420734208001,"66":27865,"44":-1832824279974250496,"83":44032,"24":63,"16":333446473289039872},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-07-01 13:42:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:42:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:42:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420734208001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:42:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1832824279974250496,"description":"Unknown IO ID 44"} 
[2026-07-01 13:42:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-07-01 13:42:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333446473289039872,"km_value":333446473289039.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:42:56] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456420734208001,"power":27865,"unknown_44":-1832824279974250496,"unknown_83":44032,"ignition":63,"odometer":null}} 
[2026-07-01 13:42:56] local.INFO: DEBUG: GPS processor result {"connection_id":120885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:42:56] local.INFO: GPS data processed {"connection_id":120885,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:42:56] local.INFO: Acknowledgment sent {"connection_id":120885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:43:18] local.INFO: TCP Data received {"connection_id":119798,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:43:18] local.INFO: Processing buffer {"connection_id":119798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:43:18] local.INFO: IMEI packet received {"connection_id":119798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 13:43:18] local.INFO: IMEI acknowledgment sent {"connection_id":119798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:43:23] local.INFO: TCP Data received {"connection_id":119798,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:43:23] local.INFO: Processing buffer {"connection_id":119798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:43:23] local.INFO: IMEI packet received {"connection_id":119798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:43:23] local.INFO: IMEI acknowledgment sent {"connection_id":119798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:43:26] local.INFO: TCP Data received {"connection_id":119798,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:43:26] local.INFO: Processing buffer {"connection_id":119798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:43:26] local.INFO: IMEI packet received {"connection_id":119798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":119798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:43:26] local.INFO: TCP Data received {"connection_id":119798,"ip":"42.106.6.36","data_length":1348,"data_hex":"000000000000030f8e0a0000019f1cbbe9e8012ce645c0073066c0001f010927..."} 
[2026-07-01 13:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119798,"packet_length":1348,"packet_hex":"000000000000030f8e0a0000019f1cbbe9e8012ce645c0073066c0001f010927..."} 
[2026-07-01 13:43:26] local.INFO: Processing buffer {"connection_id":119798,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a0000019f1cbbe9e8012ce645c0073066c0001f010927..."} 
[2026-07-01 13:43:26] local.INFO: Packet analysis {"connection_id":119798,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a0000019f1cbb"} 
[2026-07-01 13:43:26] local.INFO: Extracted packet for processing {"connection_id":119798,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019f1cbb"} 
[2026-07-01 13:43:26] local.INFO: GPS Element Parsed {"raw_longitude":753288640,"raw_latitude":120612544,"longitude_deg":75.328864,"latitude_deg":12.0612544,"altitude":31,"angle":265,"satellites":39,"speed":62,"hex_longitude":"2ce645c0","hex_latitude":"073066c0","is_valid_coordinates":true} 
[2026-07-01 13: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-01 13:43:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420735744001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:43:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1843309222856873984,"note":"Value kept but may cause issues"} 
[2026-07-01 13:43:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333446928555573248,"note":"Value kept but may cause issues"} 
[2026-07-01 13:43:26] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-01 13:43:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782893505000,"timestamp_ms":1782893505000,"timestamp_seconds":1782893505,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cbbe9e8"} 
[2026-07-01 13: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-01 13:43:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 13: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 13:43:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 13: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-01 13: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-01 13:43:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:43:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:43:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:43:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:43:26] 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-01 13:43:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:43:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:43:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420735744001,"66":27995,"44":-1843309222856873984,"83":44032,"24":62,"16":333446928555573248},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-07-01 13:43:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:43:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:43:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420735744001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:43:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1843309222856873984,"description":"Unknown IO ID 44"} 
[2026-07-01 13:43:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-07-01 13:43:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333446928555573248,"km_value":333446928555573.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:43:26] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456420735744001,"power":27995,"unknown_44":-1843309222856873984,"unknown_83":44032,"ignition":62,"odometer":null}} 
[2026-07-01 13:43:26] local.INFO: DEBUG: GPS processor result {"connection_id":119798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:43:26] local.INFO: GPS data processed {"connection_id":119798,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:43:26] local.INFO: Acknowledgment sent {"connection_id":119798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:43:26] local.INFO: Packet analysis {"connection_id":119798,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019f1cbc"} 
[2026-07-01 13:43:26] local.INFO: Incomplete packet, waiting for more data {"connection_id":119798,"needed":795,"available":553} 
[2026-07-01 13:43:27] local.INFO: TCP Data received {"connection_id":119798,"ip":"42.106.6.36","data_length":242,"data_hex":"0000000000019f1cbb5d48012ce7040007303e58002d01282700250000000a00..."} 
[2026-07-01 13:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119798,"packet_length":242,"packet_hex":"0000000000019f1cbb5d48012ce7040007303e58002d01282700250000000a00..."} 
[2026-07-01 13:43:27] local.INFO: Processing buffer {"connection_id":119798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cbc0158012ce620c007306400001d010826..."} 
[2026-07-01 13:43:27] local.INFO: Packet analysis {"connection_id":119798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cbc"} 
[2026-07-01 13:43:27] local.INFO: Extracted packet for processing {"connection_id":119798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cbc"} 
[2026-07-01 13:43:27] local.INFO: GPS Element Parsed {"raw_longitude":753279168,"raw_latitude":120611840,"longitude_deg":75.3279168,"latitude_deg":12.061184,"altitude":29,"angle":264,"satellites":38,"speed":61,"hex_longitude":"2ce620c0","hex_latitude":"07306400","is_valid_coordinates":true} 
[2026-07-01 13:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420737280001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:43:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1853864534483746816,"note":"Value kept but may cause issues"} 
[2026-07-01 13:43:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333447379527139328,"note":"Value kept but may cause issues"} 
[2026-07-01 13:43:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-01 13:43:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782893511000,"timestamp_ms":1782893511000,"timestamp_seconds":1782893511,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cbc0158"} 
[2026-07-01 13:43:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:43: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-01 13:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-01 13:43:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 13:43:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 13:43:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:43:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:43:27] 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-01 13:43:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:43:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:43:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420737280001,"66":28050,"44":-1853864534483746816,"83":44032,"24":61,"16":333447379527139328},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-07-01 13:43:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:43:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:43:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420737280001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:43:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1853864534483746816,"description":"Unknown IO ID 44"} 
[2026-07-01 13:43:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-07-01 13:43:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333447379527139328,"km_value":333447379527139.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:43:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456420737280001,"power":28050,"unknown_44":-1853864534483746816,"unknown_83":44032,"ignition":61,"odometer":null}} 
[2026-07-01 13:43:27] local.INFO: DEBUG: GPS processor result {"connection_id":119798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:43:27] local.INFO: GPS data processed {"connection_id":119798,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:43:27] local.INFO: Acknowledgment sent {"connection_id":119798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:43:30] local.INFO: TCP Data received {"connection_id":119798,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cbc18c8012ce5fd00073060f8001d010a26..."} 
[2026-07-01 13:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cbc18c8012ce5fd00073060f8001d010a26..."} 
[2026-07-01 13:43:30] local.INFO: Processing buffer {"connection_id":119798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cbc18c8012ce5fd00073060f8001d010a26..."} 
[2026-07-01 13:43:30] local.INFO: Packet analysis {"connection_id":119798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cbc"} 
[2026-07-01 13:43:30] local.INFO: Extracted packet for processing {"connection_id":119798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cbc"} 
[2026-07-01 13:43:30] local.INFO: GPS Element Parsed {"raw_longitude":753270016,"raw_latitude":120611064,"longitude_deg":75.3270016,"latitude_deg":12.0611064,"altitude":29,"angle":266,"satellites":38,"speed":58,"hex_longitude":"2ce5fd00","hex_latitude":"073060f8","is_valid_coordinates":true} 
[2026-07-01 13:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420738816001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:43:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1864279108622221312,"note":"Value kept but may cause issues"} 
[2026-07-01 13:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333447813318836224,"note":"Value kept but may cause issues"} 
[2026-07-01 13:43:30] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-01 13:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782893517000,"timestamp_ms":1782893517000,"timestamp_seconds":1782893517,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cbc18c8"} 
[2026-07-01 13:43:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:43:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 13:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-01 13:43:30] 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-01 13:43:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 13:43:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":119798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":119798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":119798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:43:30] 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-01 13:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420738816001,"66":28028,"44":-1864279108622221312,"83":44032,"24":58,"16":333447813318836224},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-07-01 13:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420738816001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:43:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1864279108622221312,"description":"Unknown IO ID 44"} 
[2026-07-01 13:43:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-07-01 13:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333447813318836224,"km_value":333447813318836.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:43:30] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456420738816001,"power":28028,"unknown_44":-1864279108622221312,"unknown_83":44032,"ignition":58,"odometer":null}} 
[2026-07-01 13:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":119798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:43:30] local.INFO: GPS data processed {"connection_id":119798,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:43:30] local.INFO: Acknowledgment sent {"connection_id":119798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:43:46] local.INFO: TCP Data received {"connection_id":119797,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119797,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:43:46] local.INFO: Processing buffer {"connection_id":119797,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:43:46] local.INFO: IMEI packet received {"connection_id":119797,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 13:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":119797,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:44:01] local.INFO: TCP Data received {"connection_id":119798,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cbd4978012ce457c00730e8d00011011a26..."} 
[2026-07-01 13:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cbd4978012ce457c00730e8d00011011a26..."} 
[2026-07-01 13:44:01] local.INFO: Processing buffer {"connection_id":119798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cbd4978012ce457c00730e8d00011011a26..."} 
[2026-07-01 13:44:01] local.INFO: Packet analysis {"connection_id":119798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cbd"} 
[2026-07-01 13:44:01] local.INFO: Extracted packet for processing {"connection_id":119798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cbd"} 
[2026-07-01 13:44:01] local.INFO: GPS Element Parsed {"raw_longitude":753162176,"raw_latitude":120645840,"longitude_deg":75.3162176,"latitude_deg":12.064584,"altitude":17,"angle":282,"satellites":38,"speed":59,"hex_longitude":"2ce457c0","hex_latitude":"0730e8d0","is_valid_coordinates":true} 
[2026-07-01 13:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420760320001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333453306582007808,"note":"Value kept but may cause issues"} 
[2026-07-01 13:44:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992913172970287104,"note":"Value kept but may cause issues"} 
[2026-07-01 13:44:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782893595000,"timestamp_ms":1782893595000,"timestamp_seconds":1782893595,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cbd4978"} 
[2026-07-01 13:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:44:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 13:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-01 13:44:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 13:44:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 13:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":119798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":119798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":119798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:44:01] 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-01 13:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420760320001,"66":28006,"180":206,"83":44032,"24":59,"16":333453306582007808,"44":-1992913172970287104},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,83,24,16,44]} 
[2026-07-01 13:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420760320001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:44:01] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-07-01 13:44:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-07-01 13:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333453306582007808,"km_value":333453306582007.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:44:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992913172970287104,"description":"Unknown IO ID 44"} 
[2026-07-01 13:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420760320001,"power":28006,"unknown_180":206,"unknown_83":44032,"ignition":59,"odometer":null,"unknown_44":-1992913172970287104}} 
[2026-07-01 13:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":119798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:44:01] local.INFO: GPS data processed {"connection_id":119798,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:44:01] local.INFO: Acknowledgment sent {"connection_id":119798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:44:15] local.INFO: TCP Data received {"connection_id":119017,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119017,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:44:15] local.INFO: Processing buffer {"connection_id":119017,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:44:15] local.INFO: IMEI packet received {"connection_id":119017,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 13:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":119017,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:44:20] local.INFO: TCP Data received {"connection_id":120886,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:44:20] local.INFO: Processing buffer {"connection_id":120886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:44:20] local.INFO: IMEI packet received {"connection_id":120886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 13:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":120886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:44:21] local.INFO: TCP Data received {"connection_id":120886,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:44:21] local.INFO: Processing buffer {"connection_id":120886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:44:21] local.INFO: IMEI packet received {"connection_id":120886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:44:21] local.INFO: IMEI acknowledgment sent {"connection_id":120886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:44:26] local.INFO: TCP Data received {"connection_id":120886,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:44:26] local.INFO: Processing buffer {"connection_id":120886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:44:26] local.INFO: IMEI packet received {"connection_id":120886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":120886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:44:26] local.INFO: TCP Data received {"connection_id":120886,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:44:26] local.INFO: Processing buffer {"connection_id":120886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:44:26] local.INFO: IMEI packet received {"connection_id":120886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":120886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:44:27] local.INFO: TCP Data received {"connection_id":120886,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cbd64d0012ce430400730ecd00011010f28..."} 
[2026-07-01 13:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cbd64d0012ce430400730ecd00011010f28..."} 
[2026-07-01 13:44:27] local.INFO: Processing buffer {"connection_id":120886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cbd64d0012ce430400730ecd00011010f28..."} 
[2026-07-01 13:44:27] local.INFO: Packet analysis {"connection_id":120886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cbd"} 
[2026-07-01 13:44:27] local.INFO: Extracted packet for processing {"connection_id":120886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cbd"} 
[2026-07-01 13:44:27] local.INFO: GPS Element Parsed {"raw_longitude":753152064,"raw_latitude":120646864,"longitude_deg":75.3152064,"latitude_deg":12.0646864,"altitude":17,"angle":271,"satellites":40,"speed":53,"hex_longitude":"2ce43040","hex_latitude":"0730ecd0","is_valid_coordinates":true} 
[2026-07-01 13:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:44:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420760320001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:44:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333453787618344960,"note":"Value kept but may cause issues"} 
[2026-07-01 13:44:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1992913172970287104,"note":"Value kept but may cause issues"} 
[2026-07-01 13:44:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:44:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782893602000,"timestamp_ms":1782893602000,"timestamp_seconds":1782893602,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cbd64d0"} 
[2026-07-01 13:44:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:44: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-01 13:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-01 13:44:27] 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-01 13:44:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 13:44:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:44:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:44:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:44:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:44:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:44:27] 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-01 13:44:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:44:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:44:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420760320001,"66":27800,"180":206,"83":44032,"24":53,"16":333453787618344960,"44":-1992913172970287104},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,83,24,16,44]} 
[2026-07-01 13:44:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:44:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:44:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420760320001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:44:27] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-07-01 13:44:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-07-01 13:44:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333453787618344960,"km_value":333453787618344.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:44:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1992913172970287104,"description":"Unknown IO ID 44"} 
[2026-07-01 13:44:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420760320001,"power":27800,"unknown_180":206,"unknown_83":44032,"ignition":53,"odometer":null,"unknown_44":-1992913172970287104}} 
[2026-07-01 13:44:27] local.INFO: DEBUG: GPS processor result {"connection_id":120886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:44:27] local.INFO: GPS data processed {"connection_id":120886,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:44:27] local.INFO: Acknowledgment sent {"connection_id":120886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:44:31] local.INFO: TCP Data received {"connection_id":120886,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cbd64d0012ce430400730ecd00011010f28..."} 
[2026-07-01 13:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cbd64d0012ce430400730ecd00011010f28..."} 
[2026-07-01 13:44:31] local.INFO: Processing buffer {"connection_id":120886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cbd64d0012ce430400730ecd00011010f28..."} 
[2026-07-01 13:44:31] local.INFO: Packet analysis {"connection_id":120886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cbd"} 
[2026-07-01 13:44:31] local.INFO: Extracted packet for processing {"connection_id":120886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cbd"} 
[2026-07-01 13:44:31] local.INFO: GPS Element Parsed {"raw_longitude":753152064,"raw_latitude":120646864,"longitude_deg":75.3152064,"latitude_deg":12.0646864,"altitude":17,"angle":271,"satellites":40,"speed":53,"hex_longitude":"2ce43040","hex_latitude":"0730ecd0","is_valid_coordinates":true} 
[2026-07-01 13: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-01 13:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420762112001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333453787618344960,"note":"Value kept but may cause issues"} 
[2026-07-01 13:44:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2004031434550095872,"note":"Value kept but may cause issues"} 
[2026-07-01 13:44:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782893602000,"timestamp_ms":1782893602000,"timestamp_seconds":1782893602,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cbd64d0"} 
[2026-07-01 13: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-01 13:44:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 13:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 13:44:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 13: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-01 13: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-01 13:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":120886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":120886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":120886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:44:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 13:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420762112001,"66":27800,"180":206,"83":44032,"24":53,"16":333453787618344960,"44":-2004031434550095872},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,83,24,16,44]} 
[2026-07-01 13:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420762112001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:44:31] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-07-01 13:44:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-07-01 13:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333453787618344960,"km_value":333453787618344.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:44:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2004031434550095872,"description":"Unknown IO ID 44"} 
[2026-07-01 13:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420762112001,"power":27800,"unknown_180":206,"unknown_83":44032,"ignition":53,"odometer":null,"unknown_44":-2004031434550095872}} 
[2026-07-01 13:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":120886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:44:31] local.INFO: GPS data processed {"connection_id":120886,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:44:31] local.INFO: Acknowledgment sent {"connection_id":120886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:45:02] local.INFO: TCP Data received {"connection_id":120886,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cbd8028012ce40c000730ed280012010d2a..."} 
[2026-07-01 13:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cbd8028012ce40c000730ed280012010d2a..."} 
[2026-07-01 13:45:02] local.INFO: Processing buffer {"connection_id":120886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cbd8028012ce40c000730ed280012010d2a..."} 
[2026-07-01 13:45:02] local.INFO: Packet analysis {"connection_id":120886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cbd"} 
[2026-07-01 13:45:02] local.INFO: Extracted packet for processing {"connection_id":120886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cbd"} 
[2026-07-01 13:45:02] local.INFO: GPS Element Parsed {"raw_longitude":753142784,"raw_latitude":120646952,"longitude_deg":75.3142784,"latitude_deg":12.0646952,"altitude":18,"angle":269,"satellites":42,"speed":51,"hex_longitude":"2ce40c00","hex_latitude":"0730ed28","is_valid_coordinates":true} 
[2026-07-01 13:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420762112001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333454229999976448,"note":"Value kept but may cause issues"} 
[2026-07-01 13:45:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2004031434550095872,"note":"Value kept but may cause issues"} 
[2026-07-01 13:45:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782893609000,"timestamp_ms":1782893609000,"timestamp_seconds":1782893609,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cbd8028"} 
[2026-07-01 13:45:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:45:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 13:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 13:45:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 13:45:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 13:45:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":120886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":120886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":120886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:45:02] 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-01 13:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420762112001,"66":27865,"180":206,"83":44032,"24":51,"16":333454229999976448,"44":-2004031434550095872},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,83,24,16,44]} 
[2026-07-01 13:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420762112001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:45:02] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-07-01 13:45:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-07-01 13:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333454229999976448,"km_value":333454229999976.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:45:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2004031434550095872,"description":"Unknown IO ID 44"} 
[2026-07-01 13:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420762112001,"power":27865,"unknown_180":206,"unknown_83":44032,"ignition":51,"odometer":null,"unknown_44":-2004031434550095872}} 
[2026-07-01 13:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":120886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:45:02] local.INFO: GPS data processed {"connection_id":120886,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:45:02] local.INFO: Acknowledgment sent {"connection_id":120886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:45:20] local.INFO: TCP Data received {"connection_id":119135,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:45:20] local.INFO: Processing buffer {"connection_id":119135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:45:20] local.INFO: IMEI packet received {"connection_id":119135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 13:45:20] local.INFO: IMEI acknowledgment sent {"connection_id":119135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:45:21] local.INFO: TCP Data received {"connection_id":119135,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:45:21] local.INFO: Processing buffer {"connection_id":119135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:45:21] local.INFO: IMEI packet received {"connection_id":119135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":119135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:45:26] local.INFO: TCP Data received {"connection_id":119135,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:45:26] local.INFO: Processing buffer {"connection_id":119135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:45:26] local.INFO: IMEI packet received {"connection_id":119135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":119135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:45:26] local.INFO: TCP Data received {"connection_id":119135,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cbe6e70012ce2d640073162d8001b012827..."} 
[2026-07-01 13:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cbe6e70012ce2d640073162d8001b012827..."} 
[2026-07-01 13:45:26] local.INFO: Processing buffer {"connection_id":119135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cbe6e70012ce2d640073162d8001b012827..."} 
[2026-07-01 13:45:26] local.INFO: Packet analysis {"connection_id":119135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cbe"} 
[2026-07-01 13:45:26] local.INFO: Extracted packet for processing {"connection_id":119135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cbe"} 
[2026-07-01 13:45:26] local.INFO: GPS Element Parsed {"raw_longitude":753063488,"raw_latitude":120677080,"longitude_deg":75.3063488,"latitude_deg":12.067708,"altitude":27,"angle":296,"satellites":39,"speed":53,"hex_longitude":"2ce2d640","hex_latitude":"073162d8","is_valid_coordinates":true} 
[2026-07-01 13:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:45:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420777728001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:45:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333458305923940352,"note":"Value kept but may cause issues"} 
[2026-07-01 13:45:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2092484945974964224,"note":"Value kept but may cause issues"} 
[2026-07-01 13:45:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:45:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782893670000,"timestamp_ms":1782893670000,"timestamp_seconds":1782893670,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cbe6e70"} 
[2026-07-01 13:45:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:45:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 13:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-01 13:45:26] 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-01 13:45:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 13:45:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:45:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:45:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:45:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:45:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:45:26] 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-01 13:45:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:45:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:45:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420777728001,"66":28028,"181":206,"83":44032,"24":53,"16":333458305923940352,"44":-2092484945974964224},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,83,24,16,44]} 
[2026-07-01 13:45:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:45:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:45:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420777728001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:45:26] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-07-01 13:45:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-07-01 13:45:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333458305923940352,"km_value":333458305923940.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:45:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2092484945974964224,"description":"Unknown IO ID 44"} 
[2026-07-01 13:45:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420777728001,"power":28028,"unknown_181":206,"unknown_83":44032,"ignition":53,"odometer":null,"unknown_44":-2092484945974964224}} 
[2026-07-01 13:45:26] local.INFO: DEBUG: GPS processor result {"connection_id":119135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:45:26] local.INFO: GPS data processed {"connection_id":119135,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:45:26] local.INFO: Acknowledgment sent {"connection_id":119135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:45:57] local.INFO: TCP Data received {"connection_id":119135,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cbe89c8012ce2b24007316f40001d011c26..."} 
[2026-07-01 13:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cbe89c8012ce2b24007316f40001d011c26..."} 
[2026-07-01 13:45:57] local.INFO: Processing buffer {"connection_id":119135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cbe89c8012ce2b24007316f40001d011c26..."} 
[2026-07-01 13:45:57] local.INFO: Packet analysis {"connection_id":119135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cbe"} 
[2026-07-01 13:45:57] local.INFO: Extracted packet for processing {"connection_id":119135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cbe"} 
[2026-07-01 13:45:57] local.INFO: GPS Element Parsed {"raw_longitude":753054272,"raw_latitude":120680256,"longitude_deg":75.3054272,"latitude_deg":12.0680256,"altitude":29,"angle":284,"satellites":38,"speed":55,"hex_longitude":"2ce2b240","hex_latitude":"07316f40","is_valid_coordinates":true} 
[2026-07-01 13:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:45:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420779520001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:45:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333458769780408320,"note":"Value kept but may cause issues"} 
[2026-07-01 13:45:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2101421776484247552,"note":"Value kept but may cause issues"} 
[2026-07-01 13:45:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:45:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782893677000,"timestamp_ms":1782893677000,"timestamp_seconds":1782893677,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cbe89c8"} 
[2026-07-01 13:45:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:45:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 13:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-01 13:45:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 13:45:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 13:45:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:45:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:45:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:45:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:45:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:45:57] 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-01 13:45:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:45:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:45:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420779520001,"66":28028,"181":206,"83":44032,"24":55,"16":333458769780408320,"44":-2101421776484247552},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,83,24,16,44]} 
[2026-07-01 13:45:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:45:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:45:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420779520001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:45:57] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-07-01 13:45:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-07-01 13:45:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333458769780408320,"km_value":333458769780408.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:45:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2101421776484247552,"description":"Unknown IO ID 44"} 
[2026-07-01 13:45:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420779520001,"power":28028,"unknown_181":206,"unknown_83":44032,"ignition":55,"odometer":null,"unknown_44":-2101421776484247552}} 
[2026-07-01 13:45:57] local.INFO: DEBUG: GPS processor result {"connection_id":119135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:45:57] local.INFO: GPS data processed {"connection_id":119135,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:45:57] local.INFO: Acknowledgment sent {"connection_id":119135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:46:20] local.INFO: TCP Data received {"connection_id":119020,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:46:20] local.INFO: Processing buffer {"connection_id":119020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:46:20] local.INFO: IMEI packet received {"connection_id":119020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 13:46:20] local.INFO: IMEI acknowledgment sent {"connection_id":119020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:46:22] local.INFO: TCP Data received {"connection_id":119020,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:46:22] local.INFO: Processing buffer {"connection_id":119020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:46:22] local.INFO: IMEI packet received {"connection_id":119020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:46:22] local.INFO: IMEI acknowledgment sent {"connection_id":119020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:46:26] local.INFO: TCP Data received {"connection_id":119020,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:46:26] local.INFO: Processing buffer {"connection_id":119020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:46:26] local.INFO: IMEI packet received {"connection_id":119020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":119020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:46:27] local.INFO: TCP Data received {"connection_id":119020,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cbe89c8012ce2b24007316f40001d011c26..."} 
[2026-07-01 13:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cbe89c8012ce2b24007316f40001d011c26..."} 
[2026-07-01 13:46:27] local.INFO: Processing buffer {"connection_id":119020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cbe89c8012ce2b24007316f40001d011c26..."} 
[2026-07-01 13:46:27] local.INFO: Packet analysis {"connection_id":119020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cbe"} 
[2026-07-01 13:46:27] local.INFO: Extracted packet for processing {"connection_id":119020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cbe"} 
[2026-07-01 13:46:27] local.INFO: GPS Element Parsed {"raw_longitude":753054272,"raw_latitude":120680256,"longitude_deg":75.3054272,"latitude_deg":12.0680256,"altitude":29,"angle":284,"satellites":38,"speed":55,"hex_longitude":"2ce2b240","hex_latitude":"07316f40","is_valid_coordinates":true} 
[2026-07-01 13:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420781312001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:46:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333458769780408320,"note":"Value kept but may cause issues"} 
[2026-07-01 13:46:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2111554875645018112,"note":"Value kept but may cause issues"} 
[2026-07-01 13:46:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:46:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782893677000,"timestamp_ms":1782893677000,"timestamp_seconds":1782893677,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cbe89c8"} 
[2026-07-01 13:46:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:46: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-01 13:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-01 13:46:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 13:46:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 13:46:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:46:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:46:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:46:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:46:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:46:27] 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-01 13:46:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:46:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:46:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420781312001,"66":28028,"181":206,"83":44032,"24":55,"16":333458769780408320,"44":-2111554875645018112},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,83,24,16,44]} 
[2026-07-01 13:46:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:46:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:46:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420781312001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:46:27] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-07-01 13:46:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-07-01 13:46:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333458769780408320,"km_value":333458769780408.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:46:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2111554875645018112,"description":"Unknown IO ID 44"} 
[2026-07-01 13:46:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420781312001,"power":28028,"unknown_181":206,"unknown_83":44032,"ignition":55,"odometer":null,"unknown_44":-2111554875645018112}} 
[2026-07-01 13:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":119020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:46:27] local.INFO: GPS data processed {"connection_id":119020,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:46:27] local.INFO: Acknowledgment sent {"connection_id":119020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:47:06] local.INFO: TCP Data received {"connection_id":119020,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cbfe188012ce0da000731b4700023012727..."} 
[2026-07-01 13:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cbfe188012ce0da000731b4700023012727..."} 
[2026-07-01 13:47:06] local.INFO: Processing buffer {"connection_id":119020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cbfe188012ce0da000731b4700023012727..."} 
[2026-07-01 13:47:06] local.INFO: Packet analysis {"connection_id":119020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cbf"} 
[2026-07-01 13:47:06] local.INFO: Extracted packet for processing {"connection_id":119020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cbf"} 
[2026-07-01 13:47:06] local.INFO: GPS Element Parsed {"raw_longitude":752933376,"raw_latitude":120697968,"longitude_deg":75.2933376,"latitude_deg":12.0697968,"altitude":35,"angle":295,"satellites":39,"speed":53,"hex_longitude":"2ce0da00","hex_latitude":"0731b470","is_valid_coordinates":true} 
[2026-07-01 13:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420801792001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333464709720178688,"note":"Value kept but may cause issues"} 
[2026-07-01 13:47:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2233574278045722624,"note":"Value kept but may cause issues"} 
[2026-07-01 13:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,45,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782893765000,"timestamp_ms":1782893765000,"timestamp_seconds":1782893765,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cbfe188"} 
[2026-07-01 13:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 13:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-01 13:47:06] 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-01 13:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 13:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":119020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":119020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":119020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:47:06] 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-01 13:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420801792001,"66":28017,"45":206,"83":40960,"24":53,"16":333464709720178688,"44":-2233574278045722624},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16,44]} 
[2026-07-01 13:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420801792001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":206,"description":"Unknown IO ID 45"} 
[2026-07-01 13:47:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 13:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333464709720178688,"km_value":333464709720178.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:47:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2233574278045722624,"description":"Unknown IO ID 44"} 
[2026-07-01 13:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420801792001,"power":28017,"unknown_45":206,"unknown_83":40960,"ignition":53,"odometer":null,"unknown_44":-2233574278045722624}} 
[2026-07-01 13:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":119020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:47:06] local.INFO: GPS data processed {"connection_id":119020,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:47:06] local.INFO: Acknowledgment sent {"connection_id":119020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:47:23] local.INFO: TCP Data received {"connection_id":119136,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:47:23] local.INFO: Processing buffer {"connection_id":119136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:47:23] local.INFO: IMEI packet received {"connection_id":119136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 13:47:23] local.INFO: IMEI acknowledgment sent {"connection_id":119136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:47:25] local.INFO: TCP Data received {"connection_id":119136,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:47:25] local.INFO: Processing buffer {"connection_id":119136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:47:25] local.INFO: IMEI packet received {"connection_id":119136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":119136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:47:31] local.INFO: TCP Data received {"connection_id":119136,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:47:31] local.INFO: Processing buffer {"connection_id":119136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:47:31] local.INFO: IMEI packet received {"connection_id":119136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":119136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:47:32] local.INFO: TCP Data received {"connection_id":119136,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cbffce0012ce0b6400731c4f00022012729..."} 
[2026-07-01 13:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cbffce0012ce0b6400731c4f00022012729..."} 
[2026-07-01 13:47:32] local.INFO: Processing buffer {"connection_id":119136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cbffce0012ce0b6400731c4f00022012729..."} 
[2026-07-01 13:47:32] local.INFO: Packet analysis {"connection_id":119136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cbf"} 
[2026-07-01 13:47:32] local.INFO: Extracted packet for processing {"connection_id":119136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cbf"} 
[2026-07-01 13:47:32] local.INFO: GPS Element Parsed {"raw_longitude":752924224,"raw_latitude":120702192,"longitude_deg":75.2924224,"latitude_deg":12.0702192,"altitude":34,"angle":295,"satellites":41,"speed":59,"hex_longitude":"2ce0b640","hex_latitude":"0731c4f0","is_valid_coordinates":true} 
[2026-07-01 13:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420803840001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333465186461548544,"note":"Value kept but may cause issues"} 
[2026-07-01 13:47:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2244481433392091136,"note":"Value kept but may cause issues"} 
[2026-07-01 13:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,45,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782893772000,"timestamp_ms":1782893772000,"timestamp_seconds":1782893772,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cbffce0"} 
[2026-07-01 13:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:47:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 13:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-01 13:47:32] 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-01 13:47:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 13:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":119136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":119136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":119136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:47:32] 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-01 13:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420803840001,"66":27995,"45":206,"83":40960,"24":59,"16":333465186461548544,"44":-2244481433392091136},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16,44]} 
[2026-07-01 13:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420803840001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":206,"description":"Unknown IO ID 45"} 
[2026-07-01 13:47:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 13:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333465186461548544,"km_value":333465186461548.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:47:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2244481433392091136,"description":"Unknown IO ID 44"} 
[2026-07-01 13:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420803840001,"power":27995,"unknown_45":206,"unknown_83":40960,"ignition":59,"odometer":null,"unknown_44":-2244481433392091136}} 
[2026-07-01 13:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":119136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:47:32] local.INFO: GPS data processed {"connection_id":119136,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:47:32] local.INFO: Acknowledgment sent {"connection_id":119136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:48:03] local.INFO: TCP Data received {"connection_id":119136,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cc01450012ce095000731d408002101262a..."} 
[2026-07-01 13:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cc01450012ce095000731d408002101262a..."} 
[2026-07-01 13:48:03] local.INFO: Processing buffer {"connection_id":119136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cc01450012ce095000731d408002101262a..."} 
[2026-07-01 13:48:03] local.INFO: Packet analysis {"connection_id":119136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cc0"} 
[2026-07-01 13:48:03] local.INFO: Extracted packet for processing {"connection_id":119136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cc0"} 
[2026-07-01 13:48:03] local.INFO: GPS Element Parsed {"raw_longitude":752915712,"raw_latitude":120706056,"longitude_deg":75.2915712,"latitude_deg":12.0706056,"altitude":33,"angle":294,"satellites":42,"speed":60,"hex_longitude":"2ce09500","hex_latitude":"0731d408","is_valid_coordinates":true} 
[2026-07-01 13:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420805632001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333465628843180032,"note":"Value kept but may cause issues"} 
[2026-07-01 13:48:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2254544163808415744,"note":"Value kept but may cause issues"} 
[2026-07-01 13:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,45,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782893778000,"timestamp_ms":1782893778000,"timestamp_seconds":1782893778,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cc01450"} 
[2026-07-01 13:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 13:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-01 13:48:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 13:48:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 13:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":119136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":119136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":119136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:48:03] 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-01 13:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420805632001,"66":27919,"45":206,"83":40960,"24":60,"16":333465628843180032,"44":-2254544163808415744},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16,44]} 
[2026-07-01 13:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420805632001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":206,"description":"Unknown IO ID 45"} 
[2026-07-01 13:48:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 13:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333465628843180032,"km_value":333465628843180.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:48:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2254544163808415744,"description":"Unknown IO ID 44"} 
[2026-07-01 13:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420805632001,"power":27919,"unknown_45":206,"unknown_83":40960,"ignition":60,"odometer":null,"unknown_44":-2254544163808415744}} 
[2026-07-01 13:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":119136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:48:03] local.INFO: GPS data processed {"connection_id":119136,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:48:03] local.INFO: Acknowledgment sent {"connection_id":119136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:48:21] local.INFO: TCP Data received {"connection_id":120889,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:48:21] local.INFO: Processing buffer {"connection_id":120889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:48:21] local.INFO: IMEI packet received {"connection_id":120889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 13:48:21] local.INFO: IMEI acknowledgment sent {"connection_id":120889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:48:21] local.INFO: TCP Data received {"connection_id":120889,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:48:21] local.INFO: Processing buffer {"connection_id":120889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:48:21] local.INFO: IMEI packet received {"connection_id":120889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:48:21] local.INFO: IMEI acknowledgment sent {"connection_id":120889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:48:26] local.INFO: TCP Data received {"connection_id":120889,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:48:26] local.INFO: Processing buffer {"connection_id":120889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:48:26] local.INFO: IMEI packet received {"connection_id":120889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":120889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:48:26] local.INFO: TCP Data received {"connection_id":120889,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cc02fa8012ce06f000731e558001e01262a..."} 
[2026-07-01 13:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cc02fa8012ce06f000731e558001e01262a..."} 
[2026-07-01 13:48:26] local.INFO: Processing buffer {"connection_id":120889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cc02fa8012ce06f000731e558001e01262a..."} 
[2026-07-01 13:48:26] local.INFO: Packet analysis {"connection_id":120889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cc0"} 
[2026-07-01 13:48:26] local.INFO: Extracted packet for processing {"connection_id":120889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cc0"} 
[2026-07-01 13:48:26] local.INFO: GPS Element Parsed {"raw_longitude":752905984,"raw_latitude":120710488,"longitude_deg":75.2905984,"latitude_deg":12.0710488,"altitude":30,"angle":294,"satellites":42,"speed":59,"hex_longitude":"2ce06f00","hex_latitude":"0731e558","is_valid_coordinates":true} 
[2026-07-01 13:48:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:48:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420807168001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:48:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333466139944288256,"note":"Value kept but may cause issues"} 
[2026-07-01 13:48:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2263903206783055872,"note":"Value kept but may cause issues"} 
[2026-07-01 13:48:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,45,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:48:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782893785000,"timestamp_ms":1782893785000,"timestamp_seconds":1782893785,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cc02fa8"} 
[2026-07-01 13:48:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:48:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 13:48:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 13:48:26] 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-01 13:48:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 13:48:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:48:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:48:26] local.INFO: Teltonika packet parsed successfully {"connection_id":120889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:48:26] local.INFO: Passing IMEI to GPS processor {"connection_id":120889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:48:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":120889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:48:26] 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-01 13:48:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:48:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:48:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420807168001,"66":27908,"45":206,"83":40960,"24":59,"16":333466139944288256,"44":-2263903206783055872},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,83,24,16,44]} 
[2026-07-01 13:48:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:48:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:48:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420807168001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:48:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":206,"description":"Unknown IO ID 45"} 
[2026-07-01 13:48:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 13:48:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333466139944288256,"km_value":333466139944288.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:48:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2263903206783055872,"description":"Unknown IO ID 44"} 
[2026-07-01 13:48:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420807168001,"power":27908,"unknown_45":206,"unknown_83":40960,"ignition":59,"odometer":null,"unknown_44":-2263903206783055872}} 
[2026-07-01 13:48:26] local.INFO: DEBUG: GPS processor result {"connection_id":120889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:48:26] local.INFO: GPS data processed {"connection_id":120889,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:48:26] local.INFO: Acknowledgment sent {"connection_id":120889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:49:21] local.INFO: TCP Data received {"connection_id":119137,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:49:21] local.INFO: Processing buffer {"connection_id":119137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:49:21] local.INFO: IMEI packet received {"connection_id":119137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 13:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":119137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:49:25] local.INFO: TCP Data received {"connection_id":119137,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:49:25] local.INFO: Processing buffer {"connection_id":119137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:49:25] local.INFO: IMEI packet received {"connection_id":119137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":119137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:49:26] local.INFO: TCP Data received {"connection_id":119137,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cc177c8012cdec48007327058000c011f29..."} 
[2026-07-01 13:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cc177c8012cdec48007327058000c011f29..."} 
[2026-07-01 13:49:26] local.INFO: Processing buffer {"connection_id":119137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cc177c8012cdec48007327058000c011f29..."} 
[2026-07-01 13:49:26] local.INFO: Packet analysis {"connection_id":119137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cc1"} 
[2026-07-01 13:49:26] local.INFO: Extracted packet for processing {"connection_id":119137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cc1"} 
[2026-07-01 13:49:26] local.INFO: GPS Element Parsed {"raw_longitude":752796800,"raw_latitude":120746072,"longitude_deg":75.27968,"latitude_deg":12.0746072,"altitude":12,"angle":287,"satellites":41,"speed":54,"hex_longitude":"2cdec480","hex_latitude":"07327058","is_valid_coordinates":true} 
[2026-07-01 13:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:49:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420828672001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:49:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 13:49:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2384585603038300160,"note":"Value kept but may cause issues"} 
[2026-07-01 13:49:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:49:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782893869000,"timestamp_ms":1782893869000,"timestamp_seconds":1782893869,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cc177c8"} 
[2026-07-01 13:49:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:49: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-01 13:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 13:49:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 13:49:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 13:49:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:49:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:49:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:49:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:49:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:49:26] 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-01 13:49:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:49:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:49:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420828672001,"66":27865,"195":206,"83":40960,"24":54,"16":333471628912492544,"44":-2384585603038300160},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,83,24,16,44]} 
[2026-07-01 13:49:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:49:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:49:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420828672001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:49:26] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-01 13:49:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 13:49:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:49:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2384585603038300160,"description":"Unknown IO ID 44"} 
[2026-07-01 13:49:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420828672001,"power":27865,"unknown_195":206,"unknown_83":40960,"ignition":54,"odometer":null,"unknown_44":-2384585603038300160}} 
[2026-07-01 13:49:26] local.INFO: DEBUG: GPS processor result {"connection_id":119137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:49:26] local.INFO: GPS data processed {"connection_id":119137,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:49:26] local.INFO: Acknowledgment sent {"connection_id":119137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:49:40] local.INFO: TCP Data received {"connection_id":120890,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120890,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:49:40] local.INFO: Processing buffer {"connection_id":120890,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:49:40] local.INFO: IMEI packet received {"connection_id":120890,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 13:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":120890,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:49:53] local.INFO: TCP Data received {"connection_id":120889,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cc15c70012cdee84007326438000d012228..."} 
[2026-07-01 13:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cc15c70012cdee84007326438000d012228..."} 
[2026-07-01 13:49:53] local.INFO: Processing buffer {"connection_id":120889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cc15c70012cdee84007326438000d012228..."} 
[2026-07-01 13:49:53] local.INFO: Packet analysis {"connection_id":120889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cc1"} 
[2026-07-01 13:49:53] local.INFO: Extracted packet for processing {"connection_id":120889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cc1"} 
[2026-07-01 13:49:53] local.INFO: GPS Element Parsed {"raw_longitude":752805952,"raw_latitude":120742968,"longitude_deg":75.2805952,"latitude_deg":12.0742968,"altitude":13,"angle":290,"satellites":40,"speed":52,"hex_longitude":"2cdee840","hex_latitude":"07326438","is_valid_coordinates":true} 
[2026-07-01 13: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-01 13:49:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420826624001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:49:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471169350991872,"note":"Value kept but may cause issues"} 
[2026-07-01 13:49:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2374030291412580352,"note":"Value kept but may cause issues"} 
[2026-07-01 13:49:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:49:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782893862000,"timestamp_ms":1782893862000,"timestamp_seconds":1782893862,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cc15c70"} 
[2026-07-01 13: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-01 13:49:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 13: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-01 13:49:53] 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-01 13: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-01 13: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-01 13:49:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:49:53] local.INFO: Teltonika packet parsed successfully {"connection_id":120889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:49:53] local.INFO: Passing IMEI to GPS processor {"connection_id":120889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:49:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":120889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:49:53] 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-01 13:49:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:49:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:49:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420826624001,"66":27843,"195":206,"83":40960,"24":52,"16":333471169350991872,"44":-2374030291412580352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,83,24,16,44]} 
[2026-07-01 13:49:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:49:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:49:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420826624001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:49:53] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-01 13:49:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 13:49:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471169350991872,"km_value":333471169350991.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:49:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2374030291412580352,"description":"Unknown IO ID 44"} 
[2026-07-01 13:49:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420826624001,"power":27843,"unknown_195":206,"unknown_83":40960,"ignition":52,"odometer":null,"unknown_44":-2374030291412580352}} 
[2026-07-01 13:49:53] local.INFO: DEBUG: GPS processor result {"connection_id":120889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:49:53] local.INFO: GPS data processed {"connection_id":120889,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:49:53] local.INFO: Acknowledgment sent {"connection_id":120889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:49:59] local.INFO: TCP Data received {"connection_id":119137,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cc177c8012cdec48007327058000c011f29..."} 
[2026-07-01 13:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cc177c8012cdec48007327058000c011f29..."} 
[2026-07-01 13:49:59] local.INFO: Processing buffer {"connection_id":119137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cc177c8012cdec48007327058000c011f29..."} 
[2026-07-01 13:49:59] local.INFO: Packet analysis {"connection_id":119137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cc1"} 
[2026-07-01 13:49:59] local.INFO: Extracted packet for processing {"connection_id":119137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cc1"} 
[2026-07-01 13:49:59] local.INFO: GPS Element Parsed {"raw_longitude":752796800,"raw_latitude":120746072,"longitude_deg":75.27968,"latitude_deg":12.0746072,"altitude":12,"angle":287,"satellites":41,"speed":54,"hex_longitude":"2cdec480","hex_latitude":"07327058","is_valid_coordinates":true} 
[2026-07-01 13:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420830464001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 13:49:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2394648333454911488,"note":"Value kept but may cause issues"} 
[2026-07-01 13:49:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782893869000,"timestamp_ms":1782893869000,"timestamp_seconds":1782893869,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cc177c8"} 
[2026-07-01 13:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:49: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-01 13:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 13:49:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 13:49:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 13:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:49:59] 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-01 13:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420830464001,"66":27865,"195":206,"83":40960,"24":54,"16":333471628912492544,"44":-2394648333454911488},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,83,24,16,44]} 
[2026-07-01 13:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420830464001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:49:59] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-01 13:49:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 13:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:49:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2394648333454911488,"description":"Unknown IO ID 44"} 
[2026-07-01 13:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420830464001,"power":27865,"unknown_195":206,"unknown_83":40960,"ignition":54,"odometer":null,"unknown_44":-2394648333454911488}} 
[2026-07-01 13:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":119137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:49:59] local.INFO: GPS data processed {"connection_id":119137,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:49:59] local.INFO: Acknowledgment sent {"connection_id":119137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:50:15] local.INFO: TCP Data received {"connection_id":119799,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119799,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:50:15] local.INFO: Processing buffer {"connection_id":119799,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:50:15] local.INFO: IMEI packet received {"connection_id":119799,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 13:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":119799,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:50:20] local.INFO: TCP Data received {"connection_id":119799,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119799,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:50:20] local.INFO: Processing buffer {"connection_id":119799,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:50:20] local.INFO: IMEI packet received {"connection_id":119799,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-01 13:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":119799,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:50:21] local.INFO: TCP Data received {"connection_id":119799,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c8fbd50012cb2a100078241900046015f2e..."} 
[2026-07-01 13:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c8fbd50012cb2a100078241900046015f2e..."} 
[2026-07-01 13:50:21] local.INFO: Processing buffer {"connection_id":119799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c8fbd50012cb2a100078241900046015f2e..."} 
[2026-07-01 13:50:21] local.INFO: Packet analysis {"connection_id":119799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c8f"} 
[2026-07-01 13:50:21] local.INFO: Extracted packet for processing {"connection_id":119799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c8f"} 
[2026-07-01 13:50:21] local.INFO: GPS Element Parsed {"raw_longitude":749904128,"raw_latitude":125976976,"longitude_deg":74.9904128,"latitude_deg":12.5976976,"altitude":70,"angle":351,"satellites":46,"speed":0,"hex_longitude":"2cb2a100","hex_latitude":"07824190","is_valid_coordinates":true} 
[2026-07-01 13:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:50:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456419919872001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:50:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130042358363324416,"note":"Value kept but may cause issues"} 
[2026-07-01 13:50:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575174831457857536,"note":"Value kept but may cause issues"} 
[2026-07-01 13:50:21] 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-01 13:50:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782890610000,"timestamp_ms":1782890610000,"timestamp_seconds":1782890610,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c8fbd50"} 
[2026-07-01 13:50:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:50: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-01 13:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-01 13:50:21] 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-01 13:50:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 13:50:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:50:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:50:21] local.INFO: Teltonika packet parsed successfully {"connection_id":119799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:50:21] local.INFO: Passing IMEI to GPS processor {"connection_id":119799,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-01 13:50:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":119799,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-01 13:50:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 13:50:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-01 13:50:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-01 13:50:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456419919872001,"66":25832,"242":206,"85":36864,"24":0,"16":130042358363324416,"44":-5575174831457857536},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-07-01 13:50:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-01 13:50:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-01 13:50:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456419919872001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:50:21] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-07-01 13:50:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-01 13:50:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130042358363324416,"km_value":130042358363324.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:50:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575174831457857536,"description":"Unknown IO ID 44"} 
[2026-07-01 13:50:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456419919872001,"power":25832,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5575174831457857536}} 
[2026-07-01 13:50:21] local.INFO: DEBUG: GPS processor result {"connection_id":119799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417367,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:50:21] local.INFO: GPS data processed {"connection_id":119799,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:50:21] local.INFO: Acknowledgment sent {"connection_id":119799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:50:36] local.INFO: TCP Data received {"connection_id":119800,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:50:36] local.INFO: Processing buffer {"connection_id":119800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:50:36] local.INFO: IMEI packet received {"connection_id":119800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 13:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":119800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:50:41] local.INFO: TCP Data received {"connection_id":119800,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:50:41] local.INFO: Processing buffer {"connection_id":119800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:50:41] local.INFO: IMEI packet received {"connection_id":119800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":119800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:50:42] local.INFO: TCP Data received {"connection_id":119800,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cc177c8012cdec48007327058000c011f29..."} 
[2026-07-01 13:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cc177c8012cdec48007327058000c011f29..."} 
[2026-07-01 13:50:42] local.INFO: Processing buffer {"connection_id":119800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cc177c8012cdec48007327058000c011f29..."} 
[2026-07-01 13:50:42] local.INFO: Packet analysis {"connection_id":119800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cc1"} 
[2026-07-01 13:50:42] local.INFO: Extracted packet for processing {"connection_id":119800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cc1"} 
[2026-07-01 13:50:42] local.INFO: GPS Element Parsed {"raw_longitude":752796800,"raw_latitude":120746072,"longitude_deg":75.27968,"latitude_deg":12.0746072,"altitude":12,"angle":287,"satellites":41,"speed":54,"hex_longitude":"2cdec480","hex_latitude":"07327058","is_valid_coordinates":true} 
[2026-07-01 13:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420830464001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 13:50:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2394648333454911488,"note":"Value kept but may cause issues"} 
[2026-07-01 13:50:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782893869000,"timestamp_ms":1782893869000,"timestamp_seconds":1782893869,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cc177c8"} 
[2026-07-01 13: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-01 13:50:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 13: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 13:50:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 13: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-01 13: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-01 13:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":119800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":119800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":119800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:50: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-01 13:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420830464001,"66":27865,"195":206,"83":40960,"24":54,"16":333471628912492544,"44":-2394648333454911488},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,83,24,16,44]} 
[2026-07-01 13:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420830464001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:50:42] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-01 13:50:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 13:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:50:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2394648333454911488,"description":"Unknown IO ID 44"} 
[2026-07-01 13:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420830464001,"power":27865,"unknown_195":206,"unknown_83":40960,"ignition":54,"odometer":null,"unknown_44":-2394648333454911488}} 
[2026-07-01 13:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":119800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:50:42] local.INFO: GPS data processed {"connection_id":119800,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:50:42] local.INFO: Acknowledgment sent {"connection_id":119800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:51:05] local.INFO: TCP Data received {"connection_id":120891,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120891,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:51:05] local.INFO: Processing buffer {"connection_id":120891,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:51:05] local.INFO: IMEI packet received {"connection_id":120891,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 13:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":120891,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:51:21] local.INFO: TCP Data received {"connection_id":119021,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:51:21] local.INFO: Processing buffer {"connection_id":119021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:51:21] local.INFO: IMEI packet received {"connection_id":119021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 13:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":119021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:51:26] local.INFO: TCP Data received {"connection_id":119021,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:51:26] local.INFO: Processing buffer {"connection_id":119021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:51:26] local.INFO: IMEI packet received {"connection_id":119021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":119021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:51:26] local.INFO: TCP Data received {"connection_id":119021,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cc177c8012cdec48007327058000c011f29..."} 
[2026-07-01 13:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cc177c8012cdec48007327058000c011f29..."} 
[2026-07-01 13:51:26] local.INFO: Processing buffer {"connection_id":119021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cc177c8012cdec48007327058000c011f29..."} 
[2026-07-01 13:51:26] local.INFO: Packet analysis {"connection_id":119021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cc1"} 
[2026-07-01 13:51:26] local.INFO: Extracted packet for processing {"connection_id":119021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cc1"} 
[2026-07-01 13:51:26] local.INFO: GPS Element Parsed {"raw_longitude":752796800,"raw_latitude":120746072,"longitude_deg":75.27968,"latitude_deg":12.0746072,"altitude":12,"angle":287,"satellites":41,"speed":54,"hex_longitude":"2cdec480","hex_latitude":"07327058","is_valid_coordinates":true} 
[2026-07-01 13:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420830464001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 13:51:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2394648333454911488,"note":"Value kept but may cause issues"} 
[2026-07-01 13:51:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782893869000,"timestamp_ms":1782893869000,"timestamp_seconds":1782893869,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cc177c8"} 
[2026-07-01 13:51:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:51:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 13:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 13:51:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 13:51:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 13:51:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:51:26] 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-01 13:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420830464001,"66":27865,"195":206,"83":40960,"24":54,"16":333471628912492544,"44":-2394648333454911488},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,83,24,16,44]} 
[2026-07-01 13:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420830464001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:51:26] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-01 13:51:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 13:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:51:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2394648333454911488,"description":"Unknown IO ID 44"} 
[2026-07-01 13:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420830464001,"power":27865,"unknown_195":206,"unknown_83":40960,"ignition":54,"odometer":null,"unknown_44":-2394648333454911488}} 
[2026-07-01 13:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":119021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:51:26] local.INFO: GPS data processed {"connection_id":119021,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:51:26] local.INFO: Acknowledgment sent {"connection_id":119021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:51:57] local.INFO: TCP Data received {"connection_id":119021,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cc177c8012cdec48007327058000c011f29..."} 
[2026-07-01 13:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cc177c8012cdec48007327058000c011f29..."} 
[2026-07-01 13:51:57] local.INFO: Processing buffer {"connection_id":119021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cc177c8012cdec48007327058000c011f29..."} 
[2026-07-01 13:51:57] local.INFO: Packet analysis {"connection_id":119021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cc1"} 
[2026-07-01 13:51:57] local.INFO: Extracted packet for processing {"connection_id":119021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cc1"} 
[2026-07-01 13:51:57] local.INFO: GPS Element Parsed {"raw_longitude":752796800,"raw_latitude":120746072,"longitude_deg":75.27968,"latitude_deg":12.0746072,"altitude":12,"angle":287,"satellites":41,"speed":54,"hex_longitude":"2cdec480","hex_latitude":"07327058","is_valid_coordinates":true} 
[2026-07-01 13:51:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-01 13:51:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420830464001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:51:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 13:51:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2394648333454911488,"note":"Value kept but may cause issues"} 
[2026-07-01 13:51:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:51:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782893869000,"timestamp_ms":1782893869000,"timestamp_seconds":1782893869,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cc177c8"} 
[2026-07-01 13:51:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:51:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 13:51:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 13:51:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 13:51:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 13:51:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:51:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:51:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:51:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:51:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:51:57] 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-01 13:51:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:51:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:51:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420830464001,"66":27865,"195":206,"83":40960,"24":54,"16":333471628912492544,"44":-2394648333454911488},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,83,24,16,44]} 
[2026-07-01 13:51:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:51:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:51:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420830464001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:51:57] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-01 13:51:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 13:51:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:51:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2394648333454911488,"description":"Unknown IO ID 44"} 
[2026-07-01 13:51:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420830464001,"power":27865,"unknown_195":206,"unknown_83":40960,"ignition":54,"odometer":null,"unknown_44":-2394648333454911488}} 
[2026-07-01 13:51:57] local.INFO: DEBUG: GPS processor result {"connection_id":119021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:51:57] local.INFO: GPS data processed {"connection_id":119021,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:51:57] local.INFO: Acknowledgment sent {"connection_id":119021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:52:20] local.INFO: TCP Data received {"connection_id":119802,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:52:20] local.INFO: Processing buffer {"connection_id":119802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:52:20] local.INFO: IMEI packet received {"connection_id":119802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 13:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":119802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:52:26] local.INFO: TCP Data received {"connection_id":119802,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:52:26] local.INFO: Processing buffer {"connection_id":119802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:52:26] local.INFO: IMEI packet received {"connection_id":119802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":119802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:52:26] local.INFO: TCP Data received {"connection_id":119802,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cc177c8012cdec48007327058000c011f29..."} 
[2026-07-01 13:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cc177c8012cdec48007327058000c011f29..."} 
[2026-07-01 13:52:26] local.INFO: Processing buffer {"connection_id":119802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cc177c8012cdec48007327058000c011f29..."} 
[2026-07-01 13:52:26] local.INFO: Packet analysis {"connection_id":119802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cc1"} 
[2026-07-01 13:52:26] local.INFO: Extracted packet for processing {"connection_id":119802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cc1"} 
[2026-07-01 13:52:26] local.INFO: GPS Element Parsed {"raw_longitude":752796800,"raw_latitude":120746072,"longitude_deg":75.27968,"latitude_deg":12.0746072,"altitude":12,"angle":287,"satellites":41,"speed":54,"hex_longitude":"2cdec480","hex_latitude":"07327058","is_valid_coordinates":true} 
[2026-07-01 13:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:52:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420830464001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:52:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 13:52:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2394648333454911488,"note":"Value kept but may cause issues"} 
[2026-07-01 13:52:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:52:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782893869000,"timestamp_ms":1782893869000,"timestamp_seconds":1782893869,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cc177c8"} 
[2026-07-01 13:52:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:52:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 13:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 13:52:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 13:52:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 13:52:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:52:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:52:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:52:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:52:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:52:26] 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-01 13:52:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:52:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:52:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420830464001,"66":27865,"195":206,"83":40960,"24":54,"16":333471628912492544,"44":-2394648333454911488},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,83,24,16,44]} 
[2026-07-01 13:52:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:52:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:52:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420830464001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:52:26] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-01 13:52:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 13:52:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:52:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2394648333454911488,"description":"Unknown IO ID 44"} 
[2026-07-01 13:52:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420830464001,"power":27865,"unknown_195":206,"unknown_83":40960,"ignition":54,"odometer":null,"unknown_44":-2394648333454911488}} 
[2026-07-01 13:52:26] local.INFO: DEBUG: GPS processor result {"connection_id":119802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:52:26] local.INFO: GPS data processed {"connection_id":119802,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:52:26] local.INFO: Acknowledgment sent {"connection_id":119802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:53:08] local.INFO: TCP Data received {"connection_id":119802,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cc177c8012cdec48007327058000c011f29..."} 
[2026-07-01 13:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cc177c8012cdec48007327058000c011f29..."} 
[2026-07-01 13:53:08] local.INFO: Processing buffer {"connection_id":119802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cc177c8012cdec48007327058000c011f29..."} 
[2026-07-01 13:53:08] local.INFO: Packet analysis {"connection_id":119802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cc1"} 
[2026-07-01 13:53:08] local.INFO: Extracted packet for processing {"connection_id":119802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cc1"} 
[2026-07-01 13:53:08] local.INFO: GPS Element Parsed {"raw_longitude":752796800,"raw_latitude":120746072,"longitude_deg":75.27968,"latitude_deg":12.0746072,"altitude":12,"angle":287,"satellites":41,"speed":54,"hex_longitude":"2cdec480","hex_latitude":"07327058","is_valid_coordinates":true} 
[2026-07-01 13:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420830464001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 13:53:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2394648333454911488,"note":"Value kept but may cause issues"} 
[2026-07-01 13:53:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782893869000,"timestamp_ms":1782893869000,"timestamp_seconds":1782893869,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cc177c8"} 
[2026-07-01 13:53:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:53:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 13:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 13:53:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 13:53:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 13:53:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":119802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":119802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":119802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:53:08] 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-01 13:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420830464001,"66":27865,"195":206,"83":40960,"24":54,"16":333471628912492544,"44":-2394648333454911488},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,83,24,16,44]} 
[2026-07-01 13:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420830464001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:53:08] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-01 13:53:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 13:53:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:53:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2394648333454911488,"description":"Unknown IO ID 44"} 
[2026-07-01 13:53:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420830464001,"power":27865,"unknown_195":206,"unknown_83":40960,"ignition":54,"odometer":null,"unknown_44":-2394648333454911488}} 
[2026-07-01 13:53:08] local.INFO: DEBUG: GPS processor result {"connection_id":119802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:53:08] local.INFO: GPS data processed {"connection_id":119802,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:53:08] local.INFO: Acknowledgment sent {"connection_id":119802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:53:20] local.INFO: TCP Data received {"connection_id":119139,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:53:20] local.INFO: Processing buffer {"connection_id":119139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:53:20] local.INFO: IMEI packet received {"connection_id":119139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 13:53:20] local.INFO: IMEI acknowledgment sent {"connection_id":119139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:53:26] local.INFO: TCP Data received {"connection_id":119139,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:53:26] local.INFO: Processing buffer {"connection_id":119139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:53:26] local.INFO: IMEI packet received {"connection_id":119139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":119139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:53:26] local.INFO: TCP Data received {"connection_id":119139,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cc177c8012cdec48007327058000c011f29..."} 
[2026-07-01 13:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cc177c8012cdec48007327058000c011f29..."} 
[2026-07-01 13:53:26] local.INFO: Processing buffer {"connection_id":119139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cc177c8012cdec48007327058000c011f29..."} 
[2026-07-01 13:53:26] local.INFO: Packet analysis {"connection_id":119139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cc1"} 
[2026-07-01 13:53:26] local.INFO: Extracted packet for processing {"connection_id":119139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cc1"} 
[2026-07-01 13:53:26] local.INFO: GPS Element Parsed {"raw_longitude":752796800,"raw_latitude":120746072,"longitude_deg":75.27968,"latitude_deg":12.0746072,"altitude":12,"angle":287,"satellites":41,"speed":54,"hex_longitude":"2cdec480","hex_latitude":"07327058","is_valid_coordinates":true} 
[2026-07-01 13:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420830464001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 13:53:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2394648333454911488,"note":"Value kept but may cause issues"} 
[2026-07-01 13:53:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782893869000,"timestamp_ms":1782893869000,"timestamp_seconds":1782893869,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cc177c8"} 
[2026-07-01 13:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:53:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 13:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 13:53:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 13:53:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 13:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:53:26] 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-01 13:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420830464001,"66":27865,"195":206,"83":40960,"24":54,"16":333471628912492544,"44":-2394648333454911488},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,83,24,16,44]} 
[2026-07-01 13:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420830464001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:53:26] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-01 13:53:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 13:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:53:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2394648333454911488,"description":"Unknown IO ID 44"} 
[2026-07-01 13:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420830464001,"power":27865,"unknown_195":206,"unknown_83":40960,"ignition":54,"odometer":null,"unknown_44":-2394648333454911488}} 
[2026-07-01 13:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":119139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:53:26] local.INFO: GPS data processed {"connection_id":119139,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:53:26] local.INFO: Acknowledgment sent {"connection_id":119139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:53:58] local.INFO: TCP Data received {"connection_id":119139,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cc61b48012cde5e0007327e880010011c29..."} 
[2026-07-01 13:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cc61b48012cde5e0007327e880010011c29..."} 
[2026-07-01 13:53:58] local.INFO: Processing buffer {"connection_id":119139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cc61b48012cde5e0007327e880010011c29..."} 
[2026-07-01 13:53:58] local.INFO: Packet analysis {"connection_id":119139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cc6"} 
[2026-07-01 13:53:58] local.INFO: Extracted packet for processing {"connection_id":119139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cc6"} 
[2026-07-01 13:53:58] local.INFO: GPS Element Parsed {"raw_longitude":752770560,"raw_latitude":120749704,"longitude_deg":75.277056,"latitude_deg":12.0749704,"altitude":16,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2cde5e00","hex_latitude":"07327e88","is_valid_coordinates":true} 
[2026-07-01 13:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:53:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420830464001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:53:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 13:53:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2394648333454911488,"note":"Value kept but may cause issues"} 
[2026-07-01 13:53:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:53:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782894173000,"timestamp_ms":1782894173000,"timestamp_seconds":1782894173,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cc61b48"} 
[2026-07-01 13:53:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:53:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 13:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 13:53:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 13:53:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 13:53:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:53:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:53:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:53:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:53:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:53:58] 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-01 13:53:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:53:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:53:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420830464001,"66":26321,"61":206,"83":40960,"24":0,"16":333471628912492544,"44":-2394648333454911488},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-07-01 13:53:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:53:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:53:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420830464001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:53:58] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 13:53:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 13:53:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:53:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2394648333454911488,"description":"Unknown IO ID 44"} 
[2026-07-01 13:53:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420830464001,"power":26321,"unknown_61":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2394648333454911488}} 
[2026-07-01 13:53:58] local.INFO: DEBUG: GPS processor result {"connection_id":119139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:53:58] local.INFO: GPS data processed {"connection_id":119139,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:53:58] local.INFO: Acknowledgment sent {"connection_id":119139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:54:20] local.INFO: TCP Data received {"connection_id":119022,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:54:20] local.INFO: Processing buffer {"connection_id":119022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:54:20] local.INFO: IMEI packet received {"connection_id":119022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 13:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":119022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:54:26] local.INFO: TCP Data received {"connection_id":119022,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:54:26] local.INFO: Processing buffer {"connection_id":119022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:54:26] local.INFO: IMEI packet received {"connection_id":119022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":119022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:54:26] local.INFO: TCP Data received {"connection_id":119022,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cc61b48012cde5e0007327e880010011c29..."} 
[2026-07-01 13:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cc61b48012cde5e0007327e880010011c29..."} 
[2026-07-01 13:54:26] local.INFO: Processing buffer {"connection_id":119022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cc61b48012cde5e0007327e880010011c29..."} 
[2026-07-01 13:54:26] local.INFO: Packet analysis {"connection_id":119022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cc6"} 
[2026-07-01 13:54:26] local.INFO: Extracted packet for processing {"connection_id":119022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cc6"} 
[2026-07-01 13:54:26] local.INFO: GPS Element Parsed {"raw_longitude":752770560,"raw_latitude":120749704,"longitude_deg":75.277056,"latitude_deg":12.0749704,"altitude":16,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2cde5e00","hex_latitude":"07327e88","is_valid_coordinates":true} 
[2026-07-01 13:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:54:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420830464001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:54:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 13:54:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2394648333454911488,"note":"Value kept but may cause issues"} 
[2026-07-01 13:54:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:54:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782894173000,"timestamp_ms":1782894173000,"timestamp_seconds":1782894173,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cc61b48"} 
[2026-07-01 13:54:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:54:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 13:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 13:54:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 13:54:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 13:54:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:54:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:54:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:54:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:54:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:54:26] 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-01 13:54:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:54:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:54:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420830464001,"66":26321,"61":206,"83":40960,"24":0,"16":333471628912492544,"44":-2394648333454911488},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-07-01 13:54:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:54:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:54:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420830464001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:54:26] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 13:54:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 13:54:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:54:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2394648333454911488,"description":"Unknown IO ID 44"} 
[2026-07-01 13:54:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420830464001,"power":26321,"unknown_61":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2394648333454911488}} 
[2026-07-01 13:54:26] local.INFO: DEBUG: GPS processor result {"connection_id":119022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:54:26] local.INFO: GPS data processed {"connection_id":119022,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:54:26] local.INFO: Acknowledgment sent {"connection_id":119022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:54:58] local.INFO: TCP Data received {"connection_id":119022,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cc61b48012cde5e0007327e880010011c29..."} 
[2026-07-01 13:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cc61b48012cde5e0007327e880010011c29..."} 
[2026-07-01 13:54:58] local.INFO: Processing buffer {"connection_id":119022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cc61b48012cde5e0007327e880010011c29..."} 
[2026-07-01 13:54:58] local.INFO: Packet analysis {"connection_id":119022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cc6"} 
[2026-07-01 13:54:58] local.INFO: Extracted packet for processing {"connection_id":119022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cc6"} 
[2026-07-01 13:54:58] local.INFO: GPS Element Parsed {"raw_longitude":752770560,"raw_latitude":120749704,"longitude_deg":75.277056,"latitude_deg":12.0749704,"altitude":16,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2cde5e00","hex_latitude":"07327e88","is_valid_coordinates":true} 
[2026-07-01 13: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-01 13:54:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420830464001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:54:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 13:54:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2394648333454911488,"note":"Value kept but may cause issues"} 
[2026-07-01 13:54:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:54:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782894173000,"timestamp_ms":1782894173000,"timestamp_seconds":1782894173,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cc61b48"} 
[2026-07-01 13: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-01 13:54:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 13: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 13:54:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 13: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-01 13: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-01 13:54:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:54:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:54:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:54:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:54:58] 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-01 13:54:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:54:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:54:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420830464001,"66":26321,"61":206,"83":40960,"24":0,"16":333471628912492544,"44":-2394648333454911488},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-07-01 13:54:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:54:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:54:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420830464001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:54:58] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 13:54:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 13:54:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:54:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2394648333454911488,"description":"Unknown IO ID 44"} 
[2026-07-01 13:54:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420830464001,"power":26321,"unknown_61":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2394648333454911488}} 
[2026-07-01 13:54:58] local.INFO: DEBUG: GPS processor result {"connection_id":119022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:54:58] local.INFO: GPS data processed {"connection_id":119022,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:54:58] local.INFO: Acknowledgment sent {"connection_id":119022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:55:26] local.INFO: TCP Data received {"connection_id":119023,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:55:26] local.INFO: Processing buffer {"connection_id":119023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:55:26] local.INFO: IMEI packet received {"connection_id":119023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 13:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":119023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:55:31] local.INFO: TCP Data received {"connection_id":119023,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:55:31] local.INFO: Processing buffer {"connection_id":119023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:55:31] local.INFO: IMEI packet received {"connection_id":119023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":119023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:55:32] local.INFO: TCP Data received {"connection_id":119023,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cc61b48012cde5e0007327e880010011c29..."} 
[2026-07-01 13:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cc61b48012cde5e0007327e880010011c29..."} 
[2026-07-01 13:55:32] local.INFO: Processing buffer {"connection_id":119023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cc61b48012cde5e0007327e880010011c29..."} 
[2026-07-01 13:55:32] local.INFO: Packet analysis {"connection_id":119023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cc6"} 
[2026-07-01 13:55:32] local.INFO: Extracted packet for processing {"connection_id":119023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cc6"} 
[2026-07-01 13:55:32] local.INFO: GPS Element Parsed {"raw_longitude":752770560,"raw_latitude":120749704,"longitude_deg":75.277056,"latitude_deg":12.0749704,"altitude":16,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2cde5e00","hex_latitude":"07327e88","is_valid_coordinates":true} 
[2026-07-01 13:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420830464001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 13:55:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2394648333454911488,"note":"Value kept but may cause issues"} 
[2026-07-01 13:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782894173000,"timestamp_ms":1782894173000,"timestamp_seconds":1782894173,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cc61b48"} 
[2026-07-01 13:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:55:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 13:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 13:55:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 13:55:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 13:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":119023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":119023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":119023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 13:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420830464001,"66":26321,"61":206,"83":40960,"24":0,"16":333471628912492544,"44":-2394648333454911488},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-07-01 13:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420830464001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:55:32] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 13:55:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 13:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:55:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2394648333454911488,"description":"Unknown IO ID 44"} 
[2026-07-01 13:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420830464001,"power":26321,"unknown_61":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2394648333454911488}} 
[2026-07-01 13:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":119023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:55:32] local.INFO: GPS data processed {"connection_id":119023,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:55:32] local.INFO: Acknowledgment sent {"connection_id":119023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:55:36] local.INFO: TCP Data received {"connection_id":119023,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cc61b48012cde5e0007327e880010011c29..."} 
[2026-07-01 13:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cc61b48012cde5e0007327e880010011c29..."} 
[2026-07-01 13:55:36] local.INFO: Processing buffer {"connection_id":119023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cc61b48012cde5e0007327e880010011c29..."} 
[2026-07-01 13:55:36] local.INFO: Packet analysis {"connection_id":119023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cc6"} 
[2026-07-01 13:55:36] local.INFO: Extracted packet for processing {"connection_id":119023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cc6"} 
[2026-07-01 13:55:36] local.INFO: GPS Element Parsed {"raw_longitude":752770560,"raw_latitude":120749704,"longitude_deg":75.277056,"latitude_deg":12.0749704,"altitude":16,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2cde5e00","hex_latitude":"07327e88","is_valid_coordinates":true} 
[2026-07-01 13:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420830464001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 13:55:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2394648333454911488,"note":"Value kept but may cause issues"} 
[2026-07-01 13:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782894173000,"timestamp_ms":1782894173000,"timestamp_seconds":1782894173,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cc61b48"} 
[2026-07-01 13:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 13:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 13:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 13:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 13:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":119023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":119023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":119023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:55:36] 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-01 13:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420830464001,"66":26321,"61":206,"83":40960,"24":0,"16":333471628912492544,"44":-2394648333454911488},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-07-01 13:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420830464001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:55:36] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 13:55:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 13:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:55:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2394648333454911488,"description":"Unknown IO ID 44"} 
[2026-07-01 13:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420830464001,"power":26321,"unknown_61":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2394648333454911488}} 
[2026-07-01 13:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":119023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:55:36] local.INFO: GPS data processed {"connection_id":119023,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:55:36] local.INFO: Acknowledgment sent {"connection_id":119023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:56:21] local.INFO: TCP Data received {"connection_id":120893,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:56:21] local.INFO: Processing buffer {"connection_id":120893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:56:21] local.INFO: IMEI packet received {"connection_id":120893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 13:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":120893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:56:26] local.INFO: TCP Data received {"connection_id":119140,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119140,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:56:26] local.INFO: Processing buffer {"connection_id":119140,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 13:56:26] local.INFO: IMEI packet received {"connection_id":119140,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 13:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":119140,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:56:26] local.INFO: TCP Data received {"connection_id":120893,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:56:26] local.INFO: Processing buffer {"connection_id":120893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:56:26] local.INFO: IMEI packet received {"connection_id":120893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":120893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:56:26] local.INFO: TCP Data received {"connection_id":120893,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cc61b48012cde5e0007327e880010011c29..."} 
[2026-07-01 13:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cc61b48012cde5e0007327e880010011c29..."} 
[2026-07-01 13:56:26] local.INFO: Processing buffer {"connection_id":120893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cc61b48012cde5e0007327e880010011c29..."} 
[2026-07-01 13:56:26] local.INFO: Packet analysis {"connection_id":120893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cc6"} 
[2026-07-01 13:56:26] local.INFO: Extracted packet for processing {"connection_id":120893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cc6"} 
[2026-07-01 13:56:26] local.INFO: GPS Element Parsed {"raw_longitude":752770560,"raw_latitude":120749704,"longitude_deg":75.277056,"latitude_deg":12.0749704,"altitude":16,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2cde5e00","hex_latitude":"07327e88","is_valid_coordinates":true} 
[2026-07-01 13:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:56:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420830464001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:56:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 13:56:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2394648333454911488,"note":"Value kept but may cause issues"} 
[2026-07-01 13:56:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:56:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782894173000,"timestamp_ms":1782894173000,"timestamp_seconds":1782894173,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cc61b48"} 
[2026-07-01 13:56:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:56:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 13:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 13:56:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 13:56:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 13:56:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:56:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:56:26] local.INFO: Teltonika packet parsed successfully {"connection_id":120893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:56:26] local.INFO: Passing IMEI to GPS processor {"connection_id":120893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:56:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":120893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:56:26] 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-01 13:56:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:56:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:56:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420830464001,"66":26321,"61":206,"83":40960,"24":0,"16":333471628912492544,"44":-2394648333454911488},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-07-01 13:56:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:56:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:56:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420830464001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:56:26] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 13:56:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 13:56:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:56:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2394648333454911488,"description":"Unknown IO ID 44"} 
[2026-07-01 13:56:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420830464001,"power":26321,"unknown_61":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2394648333454911488}} 
[2026-07-01 13:56:26] local.INFO: DEBUG: GPS processor result {"connection_id":120893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:56:26] local.INFO: GPS data processed {"connection_id":120893,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:56:26] local.INFO: Acknowledgment sent {"connection_id":120893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:56:58] local.INFO: TCP Data received {"connection_id":120893,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cc61b48012cde5e0007327e880010011c29..."} 
[2026-07-01 13:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cc61b48012cde5e0007327e880010011c29..."} 
[2026-07-01 13:56:58] local.INFO: Processing buffer {"connection_id":120893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cc61b48012cde5e0007327e880010011c29..."} 
[2026-07-01 13:56:58] local.INFO: Packet analysis {"connection_id":120893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cc6"} 
[2026-07-01 13:56:58] local.INFO: Extracted packet for processing {"connection_id":120893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cc6"} 
[2026-07-01 13:56:58] local.INFO: GPS Element Parsed {"raw_longitude":752770560,"raw_latitude":120749704,"longitude_deg":75.277056,"latitude_deg":12.0749704,"altitude":16,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2cde5e00","hex_latitude":"07327e88","is_valid_coordinates":true} 
[2026-07-01 13: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-01 13:56:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420830464001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:56:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 13:56:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2394648333454911488,"note":"Value kept but may cause issues"} 
[2026-07-01 13:56:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:56:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782894173000,"timestamp_ms":1782894173000,"timestamp_seconds":1782894173,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cc61b48"} 
[2026-07-01 13: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-01 13:56:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 13: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 13:56:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 13: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-01 13: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-01 13:56:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:56:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:56:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:56:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:56:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 13:56:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:56:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:56:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420830464001,"66":26321,"61":206,"83":40960,"24":0,"16":333471628912492544,"44":-2394648333454911488},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-07-01 13:56:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:56:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:56:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420830464001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:56:58] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 13:56:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 13:56:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:56:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2394648333454911488,"description":"Unknown IO ID 44"} 
[2026-07-01 13:56:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420830464001,"power":26321,"unknown_61":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2394648333454911488}} 
[2026-07-01 13:56:58] local.INFO: DEBUG: GPS processor result {"connection_id":120893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:56:58] local.INFO: GPS data processed {"connection_id":120893,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:56:58] local.INFO: Acknowledgment sent {"connection_id":120893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:57:20] local.INFO: TCP Data received {"connection_id":119025,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:57:20] local.INFO: Processing buffer {"connection_id":119025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:57:20] local.INFO: IMEI packet received {"connection_id":119025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 13:57:20] local.INFO: IMEI acknowledgment sent {"connection_id":119025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:57:26] local.INFO: TCP Data received {"connection_id":119025,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:57:26] local.INFO: Processing buffer {"connection_id":119025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:57:26] local.INFO: IMEI packet received {"connection_id":119025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":119025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:57:26] local.INFO: TCP Data received {"connection_id":119025,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cc61b48012cde5e0007327e880010011c29..."} 
[2026-07-01 13:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cc61b48012cde5e0007327e880010011c29..."} 
[2026-07-01 13:57:26] local.INFO: Processing buffer {"connection_id":119025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cc61b48012cde5e0007327e880010011c29..."} 
[2026-07-01 13:57:26] local.INFO: Packet analysis {"connection_id":119025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cc6"} 
[2026-07-01 13:57:26] local.INFO: Extracted packet for processing {"connection_id":119025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cc6"} 
[2026-07-01 13:57:26] local.INFO: GPS Element Parsed {"raw_longitude":752770560,"raw_latitude":120749704,"longitude_deg":75.277056,"latitude_deg":12.0749704,"altitude":16,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2cde5e00","hex_latitude":"07327e88","is_valid_coordinates":true} 
[2026-07-01 13:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:57:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420830464001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:57:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 13:57:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2394648333454911488,"note":"Value kept but may cause issues"} 
[2026-07-01 13:57:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:57:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782894173000,"timestamp_ms":1782894173000,"timestamp_seconds":1782894173,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cc61b48"} 
[2026-07-01 13:57:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:57:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 13:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 13:57:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 13:57:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 13:57:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:57:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:57:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:57:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:57:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:57:26] 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-01 13:57:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:57:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:57:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420830464001,"66":26321,"61":206,"83":40960,"24":0,"16":333471628912492544,"44":-2394648333454911488},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-07-01 13:57:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:57:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:57:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420830464001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:57:26] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 13:57:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 13:57:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:57:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2394648333454911488,"description":"Unknown IO ID 44"} 
[2026-07-01 13:57:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420830464001,"power":26321,"unknown_61":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2394648333454911488}} 
[2026-07-01 13:57:26] local.INFO: DEBUG: GPS processor result {"connection_id":119025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:57:26] local.INFO: GPS data processed {"connection_id":119025,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:57:26] local.INFO: Acknowledgment sent {"connection_id":119025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:57:57] local.INFO: TCP Data received {"connection_id":119025,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cc61b48012cde5e0007327e880010011c29..."} 
[2026-07-01 13:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cc61b48012cde5e0007327e880010011c29..."} 
[2026-07-01 13:57:57] local.INFO: Processing buffer {"connection_id":119025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cc61b48012cde5e0007327e880010011c29..."} 
[2026-07-01 13:57:57] local.INFO: Packet analysis {"connection_id":119025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cc6"} 
[2026-07-01 13:57:57] local.INFO: Extracted packet for processing {"connection_id":119025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cc6"} 
[2026-07-01 13:57:57] local.INFO: GPS Element Parsed {"raw_longitude":752770560,"raw_latitude":120749704,"longitude_deg":75.277056,"latitude_deg":12.0749704,"altitude":16,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2cde5e00","hex_latitude":"07327e88","is_valid_coordinates":true} 
[2026-07-01 13:57:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:57:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420830464001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:57:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 13:57:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2394648333454911488,"note":"Value kept but may cause issues"} 
[2026-07-01 13:57:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:57:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782894173000,"timestamp_ms":1782894173000,"timestamp_seconds":1782894173,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cc61b48"} 
[2026-07-01 13:57:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:57:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 13:57:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 13:57:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 13:57:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 13:57:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:57:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:57:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:57:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:57:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:57:57] 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-01 13:57:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:57:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:57:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420830464001,"66":26321,"61":206,"83":40960,"24":0,"16":333471628912492544,"44":-2394648333454911488},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-07-01 13:57:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:57:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:57:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420830464001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:57:57] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 13:57:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 13:57:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:57:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2394648333454911488,"description":"Unknown IO ID 44"} 
[2026-07-01 13:57:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420830464001,"power":26321,"unknown_61":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2394648333454911488}} 
[2026-07-01 13:57:57] local.INFO: DEBUG: GPS processor result {"connection_id":119025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:57:57] local.INFO: GPS data processed {"connection_id":119025,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:57:57] local.INFO: Acknowledgment sent {"connection_id":119025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:58:20] local.INFO: TCP Data received {"connection_id":119141,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:58:20] local.INFO: Processing buffer {"connection_id":119141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:58:20] local.INFO: IMEI packet received {"connection_id":119141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 13:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":119141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:58:26] local.INFO: TCP Data received {"connection_id":119141,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:58:26] local.INFO: Processing buffer {"connection_id":119141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:58:26] local.INFO: IMEI packet received {"connection_id":119141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":119141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:58:26] local.INFO: TCP Data received {"connection_id":119141,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cc61b48012cde5e0007327e880010011c29..."} 
[2026-07-01 13:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cc61b48012cde5e0007327e880010011c29..."} 
[2026-07-01 13:58:26] local.INFO: Processing buffer {"connection_id":119141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cc61b48012cde5e0007327e880010011c29..."} 
[2026-07-01 13:58:26] local.INFO: Packet analysis {"connection_id":119141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cc6"} 
[2026-07-01 13:58:26] local.INFO: Extracted packet for processing {"connection_id":119141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cc6"} 
[2026-07-01 13:58:26] local.INFO: GPS Element Parsed {"raw_longitude":752770560,"raw_latitude":120749704,"longitude_deg":75.277056,"latitude_deg":12.0749704,"altitude":16,"angle":284,"satellites":41,"speed":0,"hex_longitude":"2cde5e00","hex_latitude":"07327e88","is_valid_coordinates":true} 
[2026-07-01 13:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420830464001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 13:58:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2394648333454911488,"note":"Value kept but may cause issues"} 
[2026-07-01 13:58:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782894173000,"timestamp_ms":1782894173000,"timestamp_seconds":1782894173,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cc61b48"} 
[2026-07-01 13:58:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:58:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 13:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 13:58:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 13:58:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 13:58:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:58:26] 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-01 13:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420830464001,"66":26321,"61":206,"83":40960,"24":0,"16":333471628912492544,"44":-2394648333454911488},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-07-01 13:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420830464001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:58:26] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 13:58:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 13:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:58:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2394648333454911488,"description":"Unknown IO ID 44"} 
[2026-07-01 13:58:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420830464001,"power":26321,"unknown_61":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2394648333454911488}} 
[2026-07-01 13:58:26] local.INFO: DEBUG: GPS processor result {"connection_id":119141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:58:26] local.INFO: GPS data processed {"connection_id":119141,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:58:26] local.INFO: Acknowledgment sent {"connection_id":119141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:58:58] local.INFO: TCP Data received {"connection_id":119141,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ccab310012cde5e0007327e880010011c2a..."} 
[2026-07-01 13:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ccab310012cde5e0007327e880010011c2a..."} 
[2026-07-01 13:58:58] local.INFO: Processing buffer {"connection_id":119141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ccab310012cde5e0007327e880010011c2a..."} 
[2026-07-01 13:58:58] local.INFO: Packet analysis {"connection_id":119141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cca"} 
[2026-07-01 13:58:58] local.INFO: Extracted packet for processing {"connection_id":119141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cca"} 
[2026-07-01 13:58:58] local.INFO: GPS Element Parsed {"raw_longitude":752770560,"raw_latitude":120749704,"longitude_deg":75.277056,"latitude_deg":12.0749704,"altitude":16,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2cde5e00","hex_latitude":"07327e88","is_valid_coordinates":true} 
[2026-07-01 13: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-01 13:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420908288001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:58:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 13:58:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2423499518566823936,"note":"Value kept but may cause issues"} 
[2026-07-01 13:58:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:58:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782894474000,"timestamp_ms":1782894474000,"timestamp_seconds":1782894474,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ccab310"} 
[2026-07-01 13: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-01 13:58:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 13: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-07-01 13:58:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 13: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-01 13: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-01 13:58:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:58:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:58:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:58:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:58:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 13:58:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:58:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:58:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420908288001,"66":26071,"61":206,"83":40960,"24":0,"16":333471628912492544,"44":-2423499518566823936},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-07-01 13:58:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:58:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:58:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420908288001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:58:58] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 13:58:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 13:58:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:58:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2423499518566823936,"description":"Unknown IO ID 44"} 
[2026-07-01 13:58:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420908288001,"power":26071,"unknown_61":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2423499518566823936}} 
[2026-07-01 13:58:58] local.INFO: DEBUG: GPS processor result {"connection_id":119141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:58:58] local.INFO: GPS data processed {"connection_id":119141,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:58:58] local.INFO: Acknowledgment sent {"connection_id":119141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:59:26] local.INFO: TCP Data received {"connection_id":120895,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:59:26] local.INFO: Processing buffer {"connection_id":120895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:59:26] local.INFO: IMEI packet received {"connection_id":120895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 13:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":120895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 13:59:31] local.INFO: TCP Data received {"connection_id":120895,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:59:31] local.INFO: Processing buffer {"connection_id":120895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 13:59:31] local.INFO: IMEI packet received {"connection_id":120895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 13:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":120895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 13:59:31] local.INFO: TCP Data received {"connection_id":120895,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ccab310012cde5e0007327e880010011c2a..."} 
[2026-07-01 13:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ccab310012cde5e0007327e880010011c2a..."} 
[2026-07-01 13:59:31] local.INFO: Processing buffer {"connection_id":120895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ccab310012cde5e0007327e880010011c2a..."} 
[2026-07-01 13:59:31] local.INFO: Packet analysis {"connection_id":120895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cca"} 
[2026-07-01 13:59:31] local.INFO: Extracted packet for processing {"connection_id":120895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cca"} 
[2026-07-01 13:59:31] local.INFO: GPS Element Parsed {"raw_longitude":752770560,"raw_latitude":120749704,"longitude_deg":75.277056,"latitude_deg":12.0749704,"altitude":16,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2cde5e00","hex_latitude":"07327e88","is_valid_coordinates":true} 
[2026-07-01 13:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420908288001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 13:59:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2423499518566823936,"note":"Value kept but may cause issues"} 
[2026-07-01 13:59:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782894474000,"timestamp_ms":1782894474000,"timestamp_seconds":1782894474,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ccab310"} 
[2026-07-01 13:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:59:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 13:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-07-01 13:59:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 13:59:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 13:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":120895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":120895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":120895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:59:31] 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-01 13:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420908288001,"66":26071,"61":206,"83":40960,"24":0,"16":333471628912492544,"44":-2423499518566823936},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-07-01 13:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420908288001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:59:31] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 13:59:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 13:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:59:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2423499518566823936,"description":"Unknown IO ID 44"} 
[2026-07-01 13:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420908288001,"power":26071,"unknown_61":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2423499518566823936}} 
[2026-07-01 13:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":120895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:59:31] local.INFO: GPS data processed {"connection_id":120895,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:59:31] local.INFO: Acknowledgment sent {"connection_id":120895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 13:59:36] local.INFO: TCP Data received {"connection_id":120895,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ccab310012cde5e0007327e880010011c2a..."} 
[2026-07-01 13:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ccab310012cde5e0007327e880010011c2a..."} 
[2026-07-01 13:59:36] local.INFO: Processing buffer {"connection_id":120895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ccab310012cde5e0007327e880010011c2a..."} 
[2026-07-01 13:59:36] local.INFO: Packet analysis {"connection_id":120895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cca"} 
[2026-07-01 13:59:36] local.INFO: Extracted packet for processing {"connection_id":120895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cca"} 
[2026-07-01 13:59:36] local.INFO: GPS Element Parsed {"raw_longitude":752770560,"raw_latitude":120749704,"longitude_deg":75.277056,"latitude_deg":12.0749704,"altitude":16,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2cde5e00","hex_latitude":"07327e88","is_valid_coordinates":true} 
[2026-07-01 13:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 13:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420908288001,"note":"Value kept but may cause issues"} 
[2026-07-01 13:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 13:59:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2423499518566823936,"note":"Value kept but may cause issues"} 
[2026-07-01 13:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 13:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782894474000,"timestamp_ms":1782894474000,"timestamp_seconds":1782894474,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ccab310"} 
[2026-07-01 13:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 13:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 13:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-07-01 13:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 13:59:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 13:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 13:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 13:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":120895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 13:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":120895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":120895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 13:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 13:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 13:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 13:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420908288001,"66":26071,"61":206,"83":40960,"24":0,"16":333471628912492544,"44":-2423499518566823936},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-07-01 13:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 13:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 13:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420908288001,"description":"Unknown IO ID 0"} 
[2026-07-01 13:59:36] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 13:59:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 13:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 13:59:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2423499518566823936,"description":"Unknown IO ID 44"} 
[2026-07-01 13:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420908288001,"power":26071,"unknown_61":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2423499518566823936}} 
[2026-07-01 13:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":120895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 13:59:36] local.INFO: GPS data processed {"connection_id":120895,"processed":1,"errors":0,"total":1} 
[2026-07-01 13:59:36] local.INFO: Acknowledgment sent {"connection_id":120895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:00:21] local.INFO: TCP Data received {"connection_id":119804,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:00:21] local.INFO: Processing buffer {"connection_id":119804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:00:21] local.INFO: IMEI packet received {"connection_id":119804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 14:00:21] local.INFO: IMEI acknowledgment sent {"connection_id":119804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:00:26] local.INFO: TCP Data received {"connection_id":119804,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:00:26] local.INFO: Processing buffer {"connection_id":119804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:00:26] local.INFO: IMEI packet received {"connection_id":119804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":119804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:00:26] local.INFO: TCP Data received {"connection_id":119804,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ccab310012cde5e0007327e880010011c2a..."} 
[2026-07-01 14:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ccab310012cde5e0007327e880010011c2a..."} 
[2026-07-01 14:00:26] local.INFO: Processing buffer {"connection_id":119804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ccab310012cde5e0007327e880010011c2a..."} 
[2026-07-01 14:00:26] local.INFO: Packet analysis {"connection_id":119804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cca"} 
[2026-07-01 14:00:26] local.INFO: Extracted packet for processing {"connection_id":119804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cca"} 
[2026-07-01 14:00:26] local.INFO: GPS Element Parsed {"raw_longitude":752770560,"raw_latitude":120749704,"longitude_deg":75.277056,"latitude_deg":12.0749704,"altitude":16,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2cde5e00","hex_latitude":"07327e88","is_valid_coordinates":true} 
[2026-07-01 14:00:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:00:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420908288001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:00:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 14:00:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2423499518566823936,"note":"Value kept but may cause issues"} 
[2026-07-01 14:00:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:00:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782894474000,"timestamp_ms":1782894474000,"timestamp_seconds":1782894474,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ccab310"} 
[2026-07-01 14:00:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:00:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 14:00:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-07-01 14:00:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14:00:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:00:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:00:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:00:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:00:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:00:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:00:26] 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-01 14:00:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:00:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:00:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420908288001,"66":26071,"61":206,"83":40960,"24":0,"16":333471628912492544,"44":-2423499518566823936},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-07-01 14:00:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:00:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:00:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420908288001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:00:26] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 14:00:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:00:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:00:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2423499518566823936,"description":"Unknown IO ID 44"} 
[2026-07-01 14:00:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420908288001,"power":26071,"unknown_61":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2423499518566823936}} 
[2026-07-01 14:00:26] local.INFO: DEBUG: GPS processor result {"connection_id":119804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:00:26] local.INFO: GPS data processed {"connection_id":119804,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:00:26] local.INFO: Acknowledgment sent {"connection_id":119804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:00:57] local.INFO: TCP Data received {"connection_id":119804,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ccab310012cde5e0007327e880010011c2a..."} 
[2026-07-01 14:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ccab310012cde5e0007327e880010011c2a..."} 
[2026-07-01 14:00:57] local.INFO: Processing buffer {"connection_id":119804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ccab310012cde5e0007327e880010011c2a..."} 
[2026-07-01 14:00:57] local.INFO: Packet analysis {"connection_id":119804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cca"} 
[2026-07-01 14:00:57] local.INFO: Extracted packet for processing {"connection_id":119804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cca"} 
[2026-07-01 14:00:57] local.INFO: GPS Element Parsed {"raw_longitude":752770560,"raw_latitude":120749704,"longitude_deg":75.277056,"latitude_deg":12.0749704,"altitude":16,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2cde5e00","hex_latitude":"07327e88","is_valid_coordinates":true} 
[2026-07-01 14:00:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:00:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420908288001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:00:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 14:00:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2423499518566823936,"note":"Value kept but may cause issues"} 
[2026-07-01 14:00:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:00:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782894474000,"timestamp_ms":1782894474000,"timestamp_seconds":1782894474,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ccab310"} 
[2026-07-01 14:00:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:00:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 14:00:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-07-01 14:00:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14:00:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:00:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:00:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:00:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:00:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:00:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:00:57] 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-01 14:00:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:00:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:00:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420908288001,"66":26071,"61":206,"83":40960,"24":0,"16":333471628912492544,"44":-2423499518566823936},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-07-01 14:00:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:00:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:00:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420908288001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:00:57] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 14:00:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:00:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:00:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2423499518566823936,"description":"Unknown IO ID 44"} 
[2026-07-01 14:00:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420908288001,"power":26071,"unknown_61":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2423499518566823936}} 
[2026-07-01 14:00:57] local.INFO: DEBUG: GPS processor result {"connection_id":119804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:00:57] local.INFO: GPS data processed {"connection_id":119804,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:00:57] local.INFO: Acknowledgment sent {"connection_id":119804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:01:21] local.INFO: TCP Data received {"connection_id":119028,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:01:21] local.INFO: Processing buffer {"connection_id":119028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:01:21] local.INFO: IMEI packet received {"connection_id":119028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 14:01:21] local.INFO: IMEI acknowledgment sent {"connection_id":119028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:01:28] local.INFO: TCP Data received {"connection_id":119028,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:01:28] local.INFO: Processing buffer {"connection_id":119028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:01:28] local.INFO: IMEI packet received {"connection_id":119028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:01:28] local.INFO: IMEI acknowledgment sent {"connection_id":119028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:01:29] local.INFO: TCP Data received {"connection_id":119028,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ccab310012cde5e0007327e880010011c2a..."} 
[2026-07-01 14:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ccab310012cde5e0007327e880010011c2a..."} 
[2026-07-01 14:01:29] local.INFO: Processing buffer {"connection_id":119028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ccab310012cde5e0007327e880010011c2a..."} 
[2026-07-01 14:01:29] local.INFO: Packet analysis {"connection_id":119028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cca"} 
[2026-07-01 14:01:29] local.INFO: Extracted packet for processing {"connection_id":119028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cca"} 
[2026-07-01 14:01:29] local.INFO: GPS Element Parsed {"raw_longitude":752770560,"raw_latitude":120749704,"longitude_deg":75.277056,"latitude_deg":12.0749704,"altitude":16,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2cde5e00","hex_latitude":"07327e88","is_valid_coordinates":true} 
[2026-07-01 14: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-01 14:01:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420908288001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:01:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 14:01:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2423499518566823936,"note":"Value kept but may cause issues"} 
[2026-07-01 14:01:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:01:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782894474000,"timestamp_ms":1782894474000,"timestamp_seconds":1782894474,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ccab310"} 
[2026-07-01 14: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-01 14:01:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 14: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-07-01 14:01:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14: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-01 14: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-01 14:01:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:01:29] local.INFO: Teltonika packet parsed successfully {"connection_id":119028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:01:29] local.INFO: Passing IMEI to GPS processor {"connection_id":119028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:01:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":119028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:01:29] 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-01 14:01:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:01:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:01:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420908288001,"66":26071,"61":206,"83":40960,"24":0,"16":333471628912492544,"44":-2423499518566823936},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-07-01 14:01:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:01:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:01:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420908288001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:01:29] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 14:01:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:01:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:01:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2423499518566823936,"description":"Unknown IO ID 44"} 
[2026-07-01 14:01:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420908288001,"power":26071,"unknown_61":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2423499518566823936}} 
[2026-07-01 14:01:29] local.INFO: DEBUG: GPS processor result {"connection_id":119028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:01:29] local.INFO: GPS data processed {"connection_id":119028,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:01:29] local.INFO: Acknowledgment sent {"connection_id":119028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:02:00] local.INFO: TCP Data received {"connection_id":119028,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ccab310012cde5e0007327e880010011c2a..."} 
[2026-07-01 14:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ccab310012cde5e0007327e880010011c2a..."} 
[2026-07-01 14:02:00] local.INFO: Processing buffer {"connection_id":119028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ccab310012cde5e0007327e880010011c2a..."} 
[2026-07-01 14:02:00] local.INFO: Packet analysis {"connection_id":119028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cca"} 
[2026-07-01 14:02:00] local.INFO: Extracted packet for processing {"connection_id":119028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cca"} 
[2026-07-01 14:02:00] local.INFO: GPS Element Parsed {"raw_longitude":752770560,"raw_latitude":120749704,"longitude_deg":75.277056,"latitude_deg":12.0749704,"altitude":16,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2cde5e00","hex_latitude":"07327e88","is_valid_coordinates":true} 
[2026-07-01 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-01 14:02:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420908288001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:02:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 14:02:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2423499518566823936,"note":"Value kept but may cause issues"} 
[2026-07-01 14:02:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:02:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782894474000,"timestamp_ms":1782894474000,"timestamp_seconds":1782894474,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ccab310"} 
[2026-07-01 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-01 14:02:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-07-01 14:02:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 14:02:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:02:00] local.INFO: Teltonika packet parsed successfully {"connection_id":119028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:02:00] local.INFO: Passing IMEI to GPS processor {"connection_id":119028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:02:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":119028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:02:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 14:02:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:02:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:02:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420908288001,"66":26071,"61":206,"83":40960,"24":0,"16":333471628912492544,"44":-2423499518566823936},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-07-01 14:02:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:02:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:02:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420908288001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:02:00] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 14:02:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:02:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:02:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2423499518566823936,"description":"Unknown IO ID 44"} 
[2026-07-01 14:02:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420908288001,"power":26071,"unknown_61":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2423499518566823936}} 
[2026-07-01 14:02:00] local.INFO: DEBUG: GPS processor result {"connection_id":119028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:02:00] local.INFO: GPS data processed {"connection_id":119028,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:02:00] local.INFO: Acknowledgment sent {"connection_id":119028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:02:15] local.INFO: TCP Data received {"connection_id":120896,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120896,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:02:15] local.INFO: Processing buffer {"connection_id":120896,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:02:15] local.INFO: IMEI packet received {"connection_id":120896,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 14:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":120896,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:02:20] local.INFO: TCP Data received {"connection_id":119029,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:02:20] local.INFO: Processing buffer {"connection_id":119029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:02:20] local.INFO: IMEI packet received {"connection_id":119029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 14:02:20] local.INFO: IMEI acknowledgment sent {"connection_id":119029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:02:26] local.INFO: TCP Data received {"connection_id":119029,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:02:26] local.INFO: Processing buffer {"connection_id":119029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:02:26] local.INFO: IMEI packet received {"connection_id":119029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":119029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:02:26] local.INFO: TCP Data received {"connection_id":119029,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ccab310012cde5e0007327e880010011c2a..."} 
[2026-07-01 14:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ccab310012cde5e0007327e880010011c2a..."} 
[2026-07-01 14:02:26] local.INFO: Processing buffer {"connection_id":119029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ccab310012cde5e0007327e880010011c2a..."} 
[2026-07-01 14:02:26] local.INFO: Packet analysis {"connection_id":119029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cca"} 
[2026-07-01 14:02:26] local.INFO: Extracted packet for processing {"connection_id":119029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cca"} 
[2026-07-01 14:02:26] local.INFO: GPS Element Parsed {"raw_longitude":752770560,"raw_latitude":120749704,"longitude_deg":75.277056,"latitude_deg":12.0749704,"altitude":16,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2cde5e00","hex_latitude":"07327e88","is_valid_coordinates":true} 
[2026-07-01 14:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420908288001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:02:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 14:02:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2423499518566823936,"note":"Value kept but may cause issues"} 
[2026-07-01 14:02:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:02:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782894474000,"timestamp_ms":1782894474000,"timestamp_seconds":1782894474,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ccab310"} 
[2026-07-01 14:02:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:02:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 14:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-07-01 14:02:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14:02:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:02:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:02:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:02:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:02:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:02:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:02:26] 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-01 14:02:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:02:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:02:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420908288001,"66":26071,"61":206,"83":40960,"24":0,"16":333471628912492544,"44":-2423499518566823936},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-07-01 14:02:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:02:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:02:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420908288001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:02:26] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 14:02:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:02:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:02:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2423499518566823936,"description":"Unknown IO ID 44"} 
[2026-07-01 14:02:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420908288001,"power":26071,"unknown_61":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2423499518566823936}} 
[2026-07-01 14:02:26] local.INFO: DEBUG: GPS processor result {"connection_id":119029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:02:26] local.INFO: GPS data processed {"connection_id":119029,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:02:26] local.INFO: Acknowledgment sent {"connection_id":119029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:02:57] local.INFO: TCP Data received {"connection_id":119029,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ccab310012cde5e0007327e880010011c2a..."} 
[2026-07-01 14:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ccab310012cde5e0007327e880010011c2a..."} 
[2026-07-01 14:02:57] local.INFO: Processing buffer {"connection_id":119029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ccab310012cde5e0007327e880010011c2a..."} 
[2026-07-01 14:02:57] local.INFO: Packet analysis {"connection_id":119029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cca"} 
[2026-07-01 14:02:57] local.INFO: Extracted packet for processing {"connection_id":119029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cca"} 
[2026-07-01 14:02:57] local.INFO: GPS Element Parsed {"raw_longitude":752770560,"raw_latitude":120749704,"longitude_deg":75.277056,"latitude_deg":12.0749704,"altitude":16,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2cde5e00","hex_latitude":"07327e88","is_valid_coordinates":true} 
[2026-07-01 14:02:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:02:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420908288001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:02:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 14:02:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2423499518566823936,"note":"Value kept but may cause issues"} 
[2026-07-01 14:02:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:02:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782894474000,"timestamp_ms":1782894474000,"timestamp_seconds":1782894474,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ccab310"} 
[2026-07-01 14:02:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:02:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 14:02:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-07-01 14:02:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14:02:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:02:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:02:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:02:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:02:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:02:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:02:57] 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-01 14:02:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:02:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:02:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420908288001,"66":26071,"61":206,"83":40960,"24":0,"16":333471628912492544,"44":-2423499518566823936},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-07-01 14:02:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:02:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:02:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420908288001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:02:57] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 14:02:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:02:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:02:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2423499518566823936,"description":"Unknown IO ID 44"} 
[2026-07-01 14:02:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420908288001,"power":26071,"unknown_61":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2423499518566823936}} 
[2026-07-01 14:02:57] local.INFO: DEBUG: GPS processor result {"connection_id":119029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:02:57] local.INFO: GPS data processed {"connection_id":119029,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:02:57] local.INFO: Acknowledgment sent {"connection_id":119029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:03:20] local.INFO: TCP Data received {"connection_id":119030,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:03:20] local.INFO: Processing buffer {"connection_id":119030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:03:20] local.INFO: IMEI packet received {"connection_id":119030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 14:03:20] local.INFO: IMEI acknowledgment sent {"connection_id":119030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:03:26] local.INFO: TCP Data received {"connection_id":119030,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:03:26] local.INFO: Processing buffer {"connection_id":119030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:03:26] local.INFO: IMEI packet received {"connection_id":119030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":119030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:03:26] local.INFO: TCP Data received {"connection_id":119030,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ccab310012cde5e0007327e880010011c2a..."} 
[2026-07-01 14:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ccab310012cde5e0007327e880010011c2a..."} 
[2026-07-01 14:03:26] local.INFO: Processing buffer {"connection_id":119030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ccab310012cde5e0007327e880010011c2a..."} 
[2026-07-01 14:03:26] local.INFO: Packet analysis {"connection_id":119030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cca"} 
[2026-07-01 14:03:26] local.INFO: Extracted packet for processing {"connection_id":119030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cca"} 
[2026-07-01 14:03:26] local.INFO: GPS Element Parsed {"raw_longitude":752770560,"raw_latitude":120749704,"longitude_deg":75.277056,"latitude_deg":12.0749704,"altitude":16,"angle":284,"satellites":42,"speed":0,"hex_longitude":"2cde5e00","hex_latitude":"07327e88","is_valid_coordinates":true} 
[2026-07-01 14:03: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-01 14:03:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420908288001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:03:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 14:03:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2423499518566823936,"note":"Value kept but may cause issues"} 
[2026-07-01 14:03:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:03:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782894474000,"timestamp_ms":1782894474000,"timestamp_seconds":1782894474,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ccab310"} 
[2026-07-01 14:03:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:03:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 14:03:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-07-01 14:03:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14:03: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-01 14:03:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:03:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:03:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:03:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:03:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:03:26] 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-01 14:03:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:03:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:03:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420908288001,"66":26071,"61":206,"83":40960,"24":0,"16":333471628912492544,"44":-2423499518566823936},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-07-01 14:03:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:03:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:03:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420908288001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:03:26] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 14:03:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:03:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:03:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2423499518566823936,"description":"Unknown IO ID 44"} 
[2026-07-01 14:03:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420908288001,"power":26071,"unknown_61":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2423499518566823936}} 
[2026-07-01 14:03:26] local.INFO: DEBUG: GPS processor result {"connection_id":119030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:03:26] local.INFO: GPS data processed {"connection_id":119030,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:03:26] local.INFO: Acknowledgment sent {"connection_id":119030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:03:58] local.INFO: TCP Data received {"connection_id":119030,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ccf4ad8012cde5e0007327e880010011c28..."} 
[2026-07-01 14:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ccf4ad8012cde5e0007327e880010011c28..."} 
[2026-07-01 14:03:58] local.INFO: Processing buffer {"connection_id":119030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ccf4ad8012cde5e0007327e880010011c28..."} 
[2026-07-01 14:03:58] local.INFO: Packet analysis {"connection_id":119030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ccf"} 
[2026-07-01 14:03:58] local.INFO: Extracted packet for processing {"connection_id":119030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ccf"} 
[2026-07-01 14:03:58] local.INFO: GPS Element Parsed {"raw_longitude":752770560,"raw_latitude":120749704,"longitude_deg":75.277056,"latitude_deg":12.0749704,"altitude":16,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2cde5e00","hex_latitude":"07327e88","is_valid_coordinates":true} 
[2026-07-01 14: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-01 14:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420985344001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 14:03:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2423499518566823936,"note":"Value kept but may cause issues"} 
[2026-07-01 14:03:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782894775000,"timestamp_ms":1782894775000,"timestamp_seconds":1782894775,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ccf4ad8"} 
[2026-07-01 14: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-01 14:03:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 14: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":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-01 14:03:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14: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-01 14: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-01 14:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:03:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 14:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420985344001,"66":25919,"61":206,"83":40960,"24":0,"16":333471628912492544,"44":-2423499518566823936},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-07-01 14:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420985344001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:03:58] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 14:03:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:03:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2423499518566823936,"description":"Unknown IO ID 44"} 
[2026-07-01 14:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420985344001,"power":25919,"unknown_61":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2423499518566823936}} 
[2026-07-01 14:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":119030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:03:58] local.INFO: GPS data processed {"connection_id":119030,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:03:58] local.INFO: Acknowledgment sent {"connection_id":119030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:04:26] local.INFO: TCP Data received {"connection_id":119805,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:04:26] local.INFO: Processing buffer {"connection_id":119805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:04:26] local.INFO: IMEI packet received {"connection_id":119805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 14:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":119805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:04:31] local.INFO: TCP Data received {"connection_id":119805,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:04:31] local.INFO: Processing buffer {"connection_id":119805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:04:31] local.INFO: IMEI packet received {"connection_id":119805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":119805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:04:31] local.INFO: TCP Data received {"connection_id":119805,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ccf4ad8012cde5e0007327e880010011c28..."} 
[2026-07-01 14:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ccf4ad8012cde5e0007327e880010011c28..."} 
[2026-07-01 14:04:31] local.INFO: Processing buffer {"connection_id":119805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ccf4ad8012cde5e0007327e880010011c28..."} 
[2026-07-01 14:04:31] local.INFO: Packet analysis {"connection_id":119805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ccf"} 
[2026-07-01 14:04:31] local.INFO: Extracted packet for processing {"connection_id":119805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ccf"} 
[2026-07-01 14:04:31] local.INFO: GPS Element Parsed {"raw_longitude":752770560,"raw_latitude":120749704,"longitude_deg":75.277056,"latitude_deg":12.0749704,"altitude":16,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2cde5e00","hex_latitude":"07327e88","is_valid_coordinates":true} 
[2026-07-01 14:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420985344001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 14:04:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2423499518566823936,"note":"Value kept but may cause issues"} 
[2026-07-01 14:04:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782894775000,"timestamp_ms":1782894775000,"timestamp_seconds":1782894775,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ccf4ad8"} 
[2026-07-01 14:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:04:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 14:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-01 14:04:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14:04:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:04:31] 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-01 14:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420985344001,"66":25919,"61":206,"83":40960,"24":0,"16":333471628912492544,"44":-2423499518566823936},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-07-01 14:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420985344001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:04:31] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 14:04:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:04:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2423499518566823936,"description":"Unknown IO ID 44"} 
[2026-07-01 14:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420985344001,"power":25919,"unknown_61":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2423499518566823936}} 
[2026-07-01 14:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":119805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:04:31] local.INFO: GPS data processed {"connection_id":119805,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:04:31] local.INFO: Acknowledgment sent {"connection_id":119805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:04:36] local.INFO: TCP Data received {"connection_id":119805,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ccf4ad8012cde5e0007327e880010011c28..."} 
[2026-07-01 14:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ccf4ad8012cde5e0007327e880010011c28..."} 
[2026-07-01 14:04:36] local.INFO: Processing buffer {"connection_id":119805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ccf4ad8012cde5e0007327e880010011c28..."} 
[2026-07-01 14:04:36] local.INFO: Packet analysis {"connection_id":119805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ccf"} 
[2026-07-01 14:04:36] local.INFO: Extracted packet for processing {"connection_id":119805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ccf"} 
[2026-07-01 14:04:36] local.INFO: GPS Element Parsed {"raw_longitude":752770560,"raw_latitude":120749704,"longitude_deg":75.277056,"latitude_deg":12.0749704,"altitude":16,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2cde5e00","hex_latitude":"07327e88","is_valid_coordinates":true} 
[2026-07-01 14:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420985344001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 14:04:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2423499518566823936,"note":"Value kept but may cause issues"} 
[2026-07-01 14:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782894775000,"timestamp_ms":1782894775000,"timestamp_seconds":1782894775,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ccf4ad8"} 
[2026-07-01 14:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:04:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 14:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-01 14:04:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14:04:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":119805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":119805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":119805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 14:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420985344001,"66":25919,"61":206,"83":40960,"24":0,"16":333471628912492544,"44":-2423499518566823936},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-07-01 14:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420985344001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:04:36] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 14:04:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:04:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2423499518566823936,"description":"Unknown IO ID 44"} 
[2026-07-01 14:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420985344001,"power":25919,"unknown_61":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2423499518566823936}} 
[2026-07-01 14:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":119805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:04:36] local.INFO: GPS data processed {"connection_id":119805,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:04:36] local.INFO: Acknowledgment sent {"connection_id":119805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:05:21] local.INFO: TCP Data received {"connection_id":120898,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:05:21] local.INFO: Processing buffer {"connection_id":120898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:05:21] local.INFO: IMEI packet received {"connection_id":120898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 14:05:21] local.INFO: IMEI acknowledgment sent {"connection_id":120898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:05:26] local.INFO: TCP Data received {"connection_id":120898,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:05:26] local.INFO: Processing buffer {"connection_id":120898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:05:26] local.INFO: IMEI packet received {"connection_id":120898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":120898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:05:26] local.INFO: TCP Data received {"connection_id":120898,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ccf4ad8012cde5e0007327e880010011c28..."} 
[2026-07-01 14:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ccf4ad8012cde5e0007327e880010011c28..."} 
[2026-07-01 14:05:26] local.INFO: Processing buffer {"connection_id":120898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ccf4ad8012cde5e0007327e880010011c28..."} 
[2026-07-01 14:05:26] local.INFO: Packet analysis {"connection_id":120898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ccf"} 
[2026-07-01 14:05:26] local.INFO: Extracted packet for processing {"connection_id":120898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ccf"} 
[2026-07-01 14:05:26] local.INFO: GPS Element Parsed {"raw_longitude":752770560,"raw_latitude":120749704,"longitude_deg":75.277056,"latitude_deg":12.0749704,"altitude":16,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2cde5e00","hex_latitude":"07327e88","is_valid_coordinates":true} 
[2026-07-01 14:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420985344001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 14:05:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2423499518566823936,"note":"Value kept but may cause issues"} 
[2026-07-01 14:05:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782894775000,"timestamp_ms":1782894775000,"timestamp_seconds":1782894775,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ccf4ad8"} 
[2026-07-01 14:05:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:05:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 14:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-01 14:05:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14:05:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:05:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":120898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":120898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":120898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:05:26] 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-01 14:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420985344001,"66":25919,"61":206,"83":40960,"24":0,"16":333471628912492544,"44":-2423499518566823936},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-07-01 14:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420985344001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:05:26] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 14:05:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:05:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2423499518566823936,"description":"Unknown IO ID 44"} 
[2026-07-01 14:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420985344001,"power":25919,"unknown_61":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2423499518566823936}} 
[2026-07-01 14:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":120898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:05:26] local.INFO: GPS data processed {"connection_id":120898,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:05:26] local.INFO: Acknowledgment sent {"connection_id":120898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:05:57] local.INFO: TCP Data received {"connection_id":120898,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ccf4ad8012cde5e0007327e880010011c28..."} 
[2026-07-01 14:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ccf4ad8012cde5e0007327e880010011c28..."} 
[2026-07-01 14:05:57] local.INFO: Processing buffer {"connection_id":120898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ccf4ad8012cde5e0007327e880010011c28..."} 
[2026-07-01 14:05:57] local.INFO: Packet analysis {"connection_id":120898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ccf"} 
[2026-07-01 14:05:57] local.INFO: Extracted packet for processing {"connection_id":120898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ccf"} 
[2026-07-01 14:05:57] local.INFO: GPS Element Parsed {"raw_longitude":752770560,"raw_latitude":120749704,"longitude_deg":75.277056,"latitude_deg":12.0749704,"altitude":16,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2cde5e00","hex_latitude":"07327e88","is_valid_coordinates":true} 
[2026-07-01 14:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:05:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420985344001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:05:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 14:05:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2423499518566823936,"note":"Value kept but may cause issues"} 
[2026-07-01 14:05:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:05:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782894775000,"timestamp_ms":1782894775000,"timestamp_seconds":1782894775,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ccf4ad8"} 
[2026-07-01 14:05:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:05:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 14:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-01 14:05:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14:05:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:05:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:05:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:05:57] local.INFO: Teltonika packet parsed successfully {"connection_id":120898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:05:57] local.INFO: Passing IMEI to GPS processor {"connection_id":120898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:05:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":120898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:05:57] 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-01 14:05:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:05:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:05:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420985344001,"66":25919,"61":206,"83":40960,"24":0,"16":333471628912492544,"44":-2423499518566823936},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-07-01 14:05:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:05:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:05:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420985344001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:05:57] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 14:05:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:05:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:05:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2423499518566823936,"description":"Unknown IO ID 44"} 
[2026-07-01 14:05:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420985344001,"power":25919,"unknown_61":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2423499518566823936}} 
[2026-07-01 14:05:57] local.INFO: DEBUG: GPS processor result {"connection_id":120898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:05:57] local.INFO: GPS data processed {"connection_id":120898,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:05:57] local.INFO: Acknowledgment sent {"connection_id":120898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:06:21] local.INFO: TCP Data received {"connection_id":119145,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:06:21] local.INFO: Processing buffer {"connection_id":119145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:06:21] local.INFO: IMEI packet received {"connection_id":119145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 14:06:21] local.INFO: IMEI acknowledgment sent {"connection_id":119145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:06:25] local.INFO: TCP Data received {"connection_id":119145,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:06:25] local.INFO: Processing buffer {"connection_id":119145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:06:25] local.INFO: IMEI packet received {"connection_id":119145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:06:25] local.INFO: IMEI acknowledgment sent {"connection_id":119145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:06:27] local.INFO: TCP Data received {"connection_id":119145,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ccf4ad8012cde5e0007327e880010011c28..."} 
[2026-07-01 14:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ccf4ad8012cde5e0007327e880010011c28..."} 
[2026-07-01 14:06:27] local.INFO: Processing buffer {"connection_id":119145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ccf4ad8012cde5e0007327e880010011c28..."} 
[2026-07-01 14:06:27] local.INFO: Packet analysis {"connection_id":119145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ccf"} 
[2026-07-01 14:06:27] local.INFO: Extracted packet for processing {"connection_id":119145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ccf"} 
[2026-07-01 14:06:27] local.INFO: GPS Element Parsed {"raw_longitude":752770560,"raw_latitude":120749704,"longitude_deg":75.277056,"latitude_deg":12.0749704,"altitude":16,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2cde5e00","hex_latitude":"07327e88","is_valid_coordinates":true} 
[2026-07-01 14:06:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:06:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420985344001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:06:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 14:06:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2423499518566823936,"note":"Value kept but may cause issues"} 
[2026-07-01 14:06:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:06:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782894775000,"timestamp_ms":1782894775000,"timestamp_seconds":1782894775,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ccf4ad8"} 
[2026-07-01 14:06:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:06:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 14:06:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-01 14:06:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14:06:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:06:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:06:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:06:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:06:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:06:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:06:27] 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-01 14:06:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:06:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:06:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420985344001,"66":25919,"61":206,"83":40960,"24":0,"16":333471628912492544,"44":-2423499518566823936},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-07-01 14:06:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:06:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:06:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420985344001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:06:27] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 14:06:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:06:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:06:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2423499518566823936,"description":"Unknown IO ID 44"} 
[2026-07-01 14:06:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420985344001,"power":25919,"unknown_61":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2423499518566823936}} 
[2026-07-01 14:06:27] local.INFO: DEBUG: GPS processor result {"connection_id":119145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:06:27] local.INFO: GPS data processed {"connection_id":119145,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:06:27] local.INFO: Acknowledgment sent {"connection_id":119145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:06:58] local.INFO: TCP Data received {"connection_id":119145,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ccf4ad8012cde5e0007327e880010011c28..."} 
[2026-07-01 14:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ccf4ad8012cde5e0007327e880010011c28..."} 
[2026-07-01 14:06:58] local.INFO: Processing buffer {"connection_id":119145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ccf4ad8012cde5e0007327e880010011c28..."} 
[2026-07-01 14:06:58] local.INFO: Packet analysis {"connection_id":119145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ccf"} 
[2026-07-01 14:06:58] local.INFO: Extracted packet for processing {"connection_id":119145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ccf"} 
[2026-07-01 14:06:58] local.INFO: GPS Element Parsed {"raw_longitude":752770560,"raw_latitude":120749704,"longitude_deg":75.277056,"latitude_deg":12.0749704,"altitude":16,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2cde5e00","hex_latitude":"07327e88","is_valid_coordinates":true} 
[2026-07-01 14: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-01 14:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420985344001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 14:06:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2423499518566823936,"note":"Value kept but may cause issues"} 
[2026-07-01 14:06:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782894775000,"timestamp_ms":1782894775000,"timestamp_seconds":1782894775,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ccf4ad8"} 
[2026-07-01 14: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-01 14:06:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 14: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":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-01 14:06:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14: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-01 14: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-01 14:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:06:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 14:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420985344001,"66":25919,"61":206,"83":40960,"24":0,"16":333471628912492544,"44":-2423499518566823936},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-07-01 14:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420985344001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:06:58] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 14:06:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:06:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2423499518566823936,"description":"Unknown IO ID 44"} 
[2026-07-01 14:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420985344001,"power":25919,"unknown_61":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2423499518566823936}} 
[2026-07-01 14:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":119145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:06:58] local.INFO: GPS data processed {"connection_id":119145,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:06:58] local.INFO: Acknowledgment sent {"connection_id":119145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:07:20] local.INFO: TCP Data received {"connection_id":119031,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:07:20] local.INFO: Processing buffer {"connection_id":119031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:07:20] local.INFO: IMEI packet received {"connection_id":119031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 14:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":119031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:07:28] local.INFO: TCP Data received {"connection_id":119031,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:07:28] local.INFO: Processing buffer {"connection_id":119031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:07:28] local.INFO: IMEI packet received {"connection_id":119031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:07:28] local.INFO: IMEI acknowledgment sent {"connection_id":119031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:07:29] local.INFO: TCP Data received {"connection_id":119031,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ccf4ad8012cde5e0007327e880010011c28..."} 
[2026-07-01 14:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ccf4ad8012cde5e0007327e880010011c28..."} 
[2026-07-01 14:07:29] local.INFO: Processing buffer {"connection_id":119031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ccf4ad8012cde5e0007327e880010011c28..."} 
[2026-07-01 14:07:29] local.INFO: Packet analysis {"connection_id":119031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ccf"} 
[2026-07-01 14:07:29] local.INFO: Extracted packet for processing {"connection_id":119031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ccf"} 
[2026-07-01 14:07:29] local.INFO: GPS Element Parsed {"raw_longitude":752770560,"raw_latitude":120749704,"longitude_deg":75.277056,"latitude_deg":12.0749704,"altitude":16,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2cde5e00","hex_latitude":"07327e88","is_valid_coordinates":true} 
[2026-07-01 14:07:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:07:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420985344001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:07:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 14:07:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2423499518566823936,"note":"Value kept but may cause issues"} 
[2026-07-01 14:07:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:07:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782894775000,"timestamp_ms":1782894775000,"timestamp_seconds":1782894775,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ccf4ad8"} 
[2026-07-01 14:07:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:07:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 14:07:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-01 14:07:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14:07:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:07:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:07:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:07:29] local.INFO: Teltonika packet parsed successfully {"connection_id":119031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:07:29] local.INFO: Passing IMEI to GPS processor {"connection_id":119031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:07:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":119031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:07:29] 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-01 14:07:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:07:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:07:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420985344001,"66":25919,"61":206,"83":40960,"24":0,"16":333471628912492544,"44":-2423499518566823936},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-07-01 14:07:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:07:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:07:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420985344001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:07:29] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 14:07:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:07:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:07:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2423499518566823936,"description":"Unknown IO ID 44"} 
[2026-07-01 14:07:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420985344001,"power":25919,"unknown_61":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2423499518566823936}} 
[2026-07-01 14:07:29] local.INFO: DEBUG: GPS processor result {"connection_id":119031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:07:29] local.INFO: GPS data processed {"connection_id":119031,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:07:29] local.INFO: Acknowledgment sent {"connection_id":119031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:07:35] local.INFO: TCP Data received {"connection_id":119806,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119806,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:07:35] local.INFO: Processing buffer {"connection_id":119806,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:07:35] local.INFO: IMEI packet received {"connection_id":119806,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 14:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":119806,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:08:00] local.INFO: TCP Data received {"connection_id":119031,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ccf4ad8012cde5e0007327e880010011c28..."} 
[2026-07-01 14:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ccf4ad8012cde5e0007327e880010011c28..."} 
[2026-07-01 14:08:00] local.INFO: Processing buffer {"connection_id":119031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ccf4ad8012cde5e0007327e880010011c28..."} 
[2026-07-01 14:08:00] local.INFO: Packet analysis {"connection_id":119031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ccf"} 
[2026-07-01 14:08:00] local.INFO: Extracted packet for processing {"connection_id":119031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ccf"} 
[2026-07-01 14:08:00] local.INFO: GPS Element Parsed {"raw_longitude":752770560,"raw_latitude":120749704,"longitude_deg":75.277056,"latitude_deg":12.0749704,"altitude":16,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2cde5e00","hex_latitude":"07327e88","is_valid_coordinates":true} 
[2026-07-01 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-01 14:08:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420985344001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:08:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 14:08:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2423499518566823936,"note":"Value kept but may cause issues"} 
[2026-07-01 14:08:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:08:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782894775000,"timestamp_ms":1782894775000,"timestamp_seconds":1782894775,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ccf4ad8"} 
[2026-07-01 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-01 14:08:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 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":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-01 14:08:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 14:08:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:08:00] local.INFO: Teltonika packet parsed successfully {"connection_id":119031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:08:00] local.INFO: Passing IMEI to GPS processor {"connection_id":119031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:08:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":119031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:08:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 14:08:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:08:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:08:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420985344001,"66":25919,"61":206,"83":40960,"24":0,"16":333471628912492544,"44":-2423499518566823936},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-07-01 14:08:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:08:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:08:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420985344001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:08:00] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 14:08:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:08:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:08:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2423499518566823936,"description":"Unknown IO ID 44"} 
[2026-07-01 14:08:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420985344001,"power":25919,"unknown_61":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2423499518566823936}} 
[2026-07-01 14:08:00] local.INFO: DEBUG: GPS processor result {"connection_id":119031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:08:00] local.INFO: GPS data processed {"connection_id":119031,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:08:00] local.INFO: Acknowledgment sent {"connection_id":119031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:08:15] local.INFO: TCP Data received {"connection_id":119146,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119146,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:08:15] local.INFO: Processing buffer {"connection_id":119146,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:08:15] local.INFO: IMEI packet received {"connection_id":119146,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 14:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":119146,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:08:20] local.INFO: TCP Data received {"connection_id":119807,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:08:20] local.INFO: Processing buffer {"connection_id":119807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:08:20] local.INFO: IMEI packet received {"connection_id":119807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 14:08:20] local.INFO: IMEI acknowledgment sent {"connection_id":119807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:08:26] local.INFO: TCP Data received {"connection_id":119807,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:08:26] local.INFO: Processing buffer {"connection_id":119807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:08:26] local.INFO: IMEI packet received {"connection_id":119807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":119807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:08:27] local.INFO: TCP Data received {"connection_id":119807,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ccf4ad8012cde5e0007327e880010011c28..."} 
[2026-07-01 14:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ccf4ad8012cde5e0007327e880010011c28..."} 
[2026-07-01 14:08:27] local.INFO: Processing buffer {"connection_id":119807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ccf4ad8012cde5e0007327e880010011c28..."} 
[2026-07-01 14:08:27] local.INFO: Packet analysis {"connection_id":119807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ccf"} 
[2026-07-01 14:08:27] local.INFO: Extracted packet for processing {"connection_id":119807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ccf"} 
[2026-07-01 14:08:27] local.INFO: GPS Element Parsed {"raw_longitude":752770560,"raw_latitude":120749704,"longitude_deg":75.277056,"latitude_deg":12.0749704,"altitude":16,"angle":284,"satellites":40,"speed":0,"hex_longitude":"2cde5e00","hex_latitude":"07327e88","is_valid_coordinates":true} 
[2026-07-01 14:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:08:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456420985344001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:08:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 14:08:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2423499518566823936,"note":"Value kept but may cause issues"} 
[2026-07-01 14:08:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:08:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782894775000,"timestamp_ms":1782894775000,"timestamp_seconds":1782894775,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ccf4ad8"} 
[2026-07-01 14:08:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:08:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 14:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-01 14:08:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14:08:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:08:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:08:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:08:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:08:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:08:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:08:27] 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-01 14:08:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:08:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:08:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456420985344001,"66":25919,"61":206,"83":40960,"24":0,"16":333471628912492544,"44":-2423499518566823936},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-07-01 14:08:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:08:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:08:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456420985344001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:08:27] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 14:08:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:08:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:08:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2423499518566823936,"description":"Unknown IO ID 44"} 
[2026-07-01 14:08:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456420985344001,"power":25919,"unknown_61":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2423499518566823936}} 
[2026-07-01 14:08:27] local.INFO: DEBUG: GPS processor result {"connection_id":119807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:08:27] local.INFO: GPS data processed {"connection_id":119807,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:08:27] local.INFO: Acknowledgment sent {"connection_id":119807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:08:58] local.INFO: TCP Data received {"connection_id":119807,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cd3e2a0012cde5e0007327e880010011c26..."} 
[2026-07-01 14:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cd3e2a0012cde5e0007327e880010011c26..."} 
[2026-07-01 14:08:58] local.INFO: Processing buffer {"connection_id":119807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cd3e2a0012cde5e0007327e880010011c26..."} 
[2026-07-01 14:08:58] local.INFO: Packet analysis {"connection_id":119807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cd3"} 
[2026-07-01 14:08:58] local.INFO: Extracted packet for processing {"connection_id":119807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cd3"} 
[2026-07-01 14:08:58] local.INFO: GPS Element Parsed {"raw_longitude":752770560,"raw_latitude":120749704,"longitude_deg":75.277056,"latitude_deg":12.0749704,"altitude":16,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2cde5e00","hex_latitude":"07327e88","is_valid_coordinates":true} 
[2026-07-01 14: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-01 14:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421062400001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 14:08:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2423499518566823936,"note":"Value kept but may cause issues"} 
[2026-07-01 14:08:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782895076000,"timestamp_ms":1782895076000,"timestamp_seconds":1782895076,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cd3e2a0"} 
[2026-07-01 14: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-01 14:08:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 14: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-01 14:08:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14: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-01 14: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-01 14:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:08:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 14:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421062400001,"66":25778,"195":206,"83":40960,"24":0,"16":333471628912492544,"44":-2423499518566823936},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,83,24,16,44]} 
[2026-07-01 14:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421062400001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:08:58] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-01 14:08:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:08:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2423499518566823936,"description":"Unknown IO ID 44"} 
[2026-07-01 14:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421062400001,"power":25778,"unknown_195":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2423499518566823936}} 
[2026-07-01 14:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":119807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:08:58] local.INFO: GPS data processed {"connection_id":119807,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:08:58] local.INFO: Acknowledgment sent {"connection_id":119807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:09:21] local.INFO: TCP Data received {"connection_id":120901,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:09:21] local.INFO: Processing buffer {"connection_id":120901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:09:21] local.INFO: IMEI packet received {"connection_id":120901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 14:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":120901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:09:26] local.INFO: TCP Data received {"connection_id":120901,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:09:26] local.INFO: Processing buffer {"connection_id":120901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:09:26] local.INFO: IMEI packet received {"connection_id":120901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":120901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:09:27] local.INFO: TCP Data received {"connection_id":120901,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cd3e2a0012cde5e0007327e880010011c26..."} 
[2026-07-01 14:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cd3e2a0012cde5e0007327e880010011c26..."} 
[2026-07-01 14:09:27] local.INFO: Processing buffer {"connection_id":120901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cd3e2a0012cde5e0007327e880010011c26..."} 
[2026-07-01 14:09:27] local.INFO: Packet analysis {"connection_id":120901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cd3"} 
[2026-07-01 14:09:27] local.INFO: Extracted packet for processing {"connection_id":120901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cd3"} 
[2026-07-01 14:09:27] local.INFO: GPS Element Parsed {"raw_longitude":752770560,"raw_latitude":120749704,"longitude_deg":75.277056,"latitude_deg":12.0749704,"altitude":16,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2cde5e00","hex_latitude":"07327e88","is_valid_coordinates":true} 
[2026-07-01 14:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421062400001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 14:09:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2423499518566823936,"note":"Value kept but may cause issues"} 
[2026-07-01 14:09:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782895076000,"timestamp_ms":1782895076000,"timestamp_seconds":1782895076,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cd3e2a0"} 
[2026-07-01 14:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:09:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 14:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-01 14:09:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14:09:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:09:27] 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-01 14:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421062400001,"66":25778,"195":206,"83":40960,"24":0,"16":333471628912492544,"44":-2423499518566823936},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,83,24,16,44]} 
[2026-07-01 14:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421062400001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:09:27] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-01 14:09:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:09:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2423499518566823936,"description":"Unknown IO ID 44"} 
[2026-07-01 14:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421062400001,"power":25778,"unknown_195":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2423499518566823936}} 
[2026-07-01 14:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":120901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:09:27] local.INFO: GPS data processed {"connection_id":120901,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:09:27] local.INFO: Acknowledgment sent {"connection_id":120901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:09:58] local.INFO: TCP Data received {"connection_id":120901,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cd3e2a0012cde5e0007327e880010011c26..."} 
[2026-07-01 14:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cd3e2a0012cde5e0007327e880010011c26..."} 
[2026-07-01 14:09:58] local.INFO: Processing buffer {"connection_id":120901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cd3e2a0012cde5e0007327e880010011c26..."} 
[2026-07-01 14:09:58] local.INFO: Packet analysis {"connection_id":120901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cd3"} 
[2026-07-01 14:09:58] local.INFO: Extracted packet for processing {"connection_id":120901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cd3"} 
[2026-07-01 14:09:58] local.INFO: GPS Element Parsed {"raw_longitude":752770560,"raw_latitude":120749704,"longitude_deg":75.277056,"latitude_deg":12.0749704,"altitude":16,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2cde5e00","hex_latitude":"07327e88","is_valid_coordinates":true} 
[2026-07-01 14: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-01 14:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421062400001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 14:09:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2423499518566823936,"note":"Value kept but may cause issues"} 
[2026-07-01 14:09:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782895076000,"timestamp_ms":1782895076000,"timestamp_seconds":1782895076,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cd3e2a0"} 
[2026-07-01 14: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-01 14:09:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 14: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-01 14:09:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14: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-01 14: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-01 14:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:09:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 14:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421062400001,"66":25778,"195":206,"83":40960,"24":0,"16":333471628912492544,"44":-2423499518566823936},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,83,24,16,44]} 
[2026-07-01 14:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421062400001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:09:58] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-01 14:09:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:09:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2423499518566823936,"description":"Unknown IO ID 44"} 
[2026-07-01 14:09:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421062400001,"power":25778,"unknown_195":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2423499518566823936}} 
[2026-07-01 14:09:58] local.INFO: DEBUG: GPS processor result {"connection_id":120901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:09:58] local.INFO: GPS data processed {"connection_id":120901,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:09:58] local.INFO: Acknowledgment sent {"connection_id":120901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:10:21] local.INFO: TCP Data received {"connection_id":119147,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:10:21] local.INFO: Processing buffer {"connection_id":119147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:10:21] local.INFO: IMEI packet received {"connection_id":119147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 14:10:21] local.INFO: IMEI acknowledgment sent {"connection_id":119147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:10:26] local.INFO: TCP Data received {"connection_id":119147,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:10:26] local.INFO: Processing buffer {"connection_id":119147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:10:26] local.INFO: IMEI packet received {"connection_id":119147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":119147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:10:26] local.INFO: TCP Data received {"connection_id":119147,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cd3e2a0012cde5e0007327e880010011c26..."} 
[2026-07-01 14:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cd3e2a0012cde5e0007327e880010011c26..."} 
[2026-07-01 14:10:26] local.INFO: Processing buffer {"connection_id":119147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cd3e2a0012cde5e0007327e880010011c26..."} 
[2026-07-01 14:10:26] local.INFO: Packet analysis {"connection_id":119147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cd3"} 
[2026-07-01 14:10:26] local.INFO: Extracted packet for processing {"connection_id":119147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cd3"} 
[2026-07-01 14:10:26] local.INFO: GPS Element Parsed {"raw_longitude":752770560,"raw_latitude":120749704,"longitude_deg":75.277056,"latitude_deg":12.0749704,"altitude":16,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2cde5e00","hex_latitude":"07327e88","is_valid_coordinates":true} 
[2026-07-01 14: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-01 14:10:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421062400001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:10:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 14:10:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2423499518566823936,"note":"Value kept but may cause issues"} 
[2026-07-01 14:10:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:10:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782895076000,"timestamp_ms":1782895076000,"timestamp_seconds":1782895076,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cd3e2a0"} 
[2026-07-01 14: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-01 14:10:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 14: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-01 14:10:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14:10:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14: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-01 14:10:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:10:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:10:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:10:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:10:26] 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-01 14:10:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:10:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:10:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421062400001,"66":25778,"195":206,"83":40960,"24":0,"16":333471628912492544,"44":-2423499518566823936},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,83,24,16,44]} 
[2026-07-01 14:10:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:10:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:10:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421062400001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:10:26] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-01 14:10:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:10:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:10:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2423499518566823936,"description":"Unknown IO ID 44"} 
[2026-07-01 14:10:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421062400001,"power":25778,"unknown_195":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2423499518566823936}} 
[2026-07-01 14:10:26] local.INFO: DEBUG: GPS processor result {"connection_id":119147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:10:26] local.INFO: GPS data processed {"connection_id":119147,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:10:26] local.INFO: Acknowledgment sent {"connection_id":119147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:10:57] local.INFO: TCP Data received {"connection_id":119147,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cd3e2a0012cde5e0007327e880010011c26..."} 
[2026-07-01 14:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cd3e2a0012cde5e0007327e880010011c26..."} 
[2026-07-01 14:10:57] local.INFO: Processing buffer {"connection_id":119147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cd3e2a0012cde5e0007327e880010011c26..."} 
[2026-07-01 14:10:57] local.INFO: Packet analysis {"connection_id":119147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cd3"} 
[2026-07-01 14:10:57] local.INFO: Extracted packet for processing {"connection_id":119147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cd3"} 
[2026-07-01 14:10:57] local.INFO: GPS Element Parsed {"raw_longitude":752770560,"raw_latitude":120749704,"longitude_deg":75.277056,"latitude_deg":12.0749704,"altitude":16,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2cde5e00","hex_latitude":"07327e88","is_valid_coordinates":true} 
[2026-07-01 14: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-01 14:10:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421062400001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:10:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 14:10:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2423499518566823936,"note":"Value kept but may cause issues"} 
[2026-07-01 14:10:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:10:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782895076000,"timestamp_ms":1782895076000,"timestamp_seconds":1782895076,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cd3e2a0"} 
[2026-07-01 14: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-01 14:10:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 14: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":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-01 14:10:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14: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-01 14: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-01 14:10:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:10:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:10:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:10:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:10:57] 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-01 14:10:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:10:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:10:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421062400001,"66":25778,"195":206,"83":40960,"24":0,"16":333471628912492544,"44":-2423499518566823936},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,83,24,16,44]} 
[2026-07-01 14:10:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:10:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:10:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421062400001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:10:57] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-01 14:10:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:10:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:10:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2423499518566823936,"description":"Unknown IO ID 44"} 
[2026-07-01 14:10:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421062400001,"power":25778,"unknown_195":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2423499518566823936}} 
[2026-07-01 14:10:57] local.INFO: DEBUG: GPS processor result {"connection_id":119147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:10:57] local.INFO: GPS data processed {"connection_id":119147,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:10:57] local.INFO: Acknowledgment sent {"connection_id":119147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:11:20] local.INFO: TCP Data received {"connection_id":119810,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:11:20] local.INFO: Processing buffer {"connection_id":119810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:11:20] local.INFO: IMEI packet received {"connection_id":119810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 14:11:20] local.INFO: IMEI acknowledgment sent {"connection_id":119810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:11:26] local.INFO: TCP Data received {"connection_id":119810,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:11:26] local.INFO: Processing buffer {"connection_id":119810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:11:26] local.INFO: IMEI packet received {"connection_id":119810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":119810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:11:26] local.INFO: TCP Data received {"connection_id":119810,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cd3e2a0012cde5e0007327e880010011c26..."} 
[2026-07-01 14:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cd3e2a0012cde5e0007327e880010011c26..."} 
[2026-07-01 14:11:26] local.INFO: Processing buffer {"connection_id":119810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cd3e2a0012cde5e0007327e880010011c26..."} 
[2026-07-01 14:11:26] local.INFO: Packet analysis {"connection_id":119810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cd3"} 
[2026-07-01 14:11:26] local.INFO: Extracted packet for processing {"connection_id":119810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cd3"} 
[2026-07-01 14:11:26] local.INFO: GPS Element Parsed {"raw_longitude":752770560,"raw_latitude":120749704,"longitude_deg":75.277056,"latitude_deg":12.0749704,"altitude":16,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2cde5e00","hex_latitude":"07327e88","is_valid_coordinates":true} 
[2026-07-01 14:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421062400001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 14:11:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2423499518566823936,"note":"Value kept but may cause issues"} 
[2026-07-01 14:11:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782895076000,"timestamp_ms":1782895076000,"timestamp_seconds":1782895076,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cd3e2a0"} 
[2026-07-01 14:11:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:11:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 14:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-01 14:11:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14:11:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:11:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:11:26] 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-01 14:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421062400001,"66":25778,"195":206,"83":40960,"24":0,"16":333471628912492544,"44":-2423499518566823936},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,83,24,16,44]} 
[2026-07-01 14:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421062400001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:11:26] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-01 14:11:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:11:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2423499518566823936,"description":"Unknown IO ID 44"} 
[2026-07-01 14:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421062400001,"power":25778,"unknown_195":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2423499518566823936}} 
[2026-07-01 14:11:26] local.INFO: DEBUG: GPS processor result {"connection_id":119810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:11:26] local.INFO: GPS data processed {"connection_id":119810,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:11:26] local.INFO: Acknowledgment sent {"connection_id":119810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:11:57] local.INFO: TCP Data received {"connection_id":119810,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cd3e2a0012cde5e0007327e880010011c26..."} 
[2026-07-01 14:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cd3e2a0012cde5e0007327e880010011c26..."} 
[2026-07-01 14:11:57] local.INFO: Processing buffer {"connection_id":119810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cd3e2a0012cde5e0007327e880010011c26..."} 
[2026-07-01 14:11:57] local.INFO: Packet analysis {"connection_id":119810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cd3"} 
[2026-07-01 14:11:57] local.INFO: Extracted packet for processing {"connection_id":119810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cd3"} 
[2026-07-01 14:11:57] local.INFO: GPS Element Parsed {"raw_longitude":752770560,"raw_latitude":120749704,"longitude_deg":75.277056,"latitude_deg":12.0749704,"altitude":16,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2cde5e00","hex_latitude":"07327e88","is_valid_coordinates":true} 
[2026-07-01 14:11:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:11:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421062400001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:11:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 14:11:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2423499518566823936,"note":"Value kept but may cause issues"} 
[2026-07-01 14:11:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:11:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782895076000,"timestamp_ms":1782895076000,"timestamp_seconds":1782895076,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cd3e2a0"} 
[2026-07-01 14:11:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:11:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 14:11:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-01 14:11:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14:11:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:11:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:11:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:11:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:11:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:11:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:11:57] 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-01 14:11:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:11:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:11:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421062400001,"66":25778,"195":206,"83":40960,"24":0,"16":333471628912492544,"44":-2423499518566823936},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,83,24,16,44]} 
[2026-07-01 14:11:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:11:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:11:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421062400001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:11:57] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-01 14:11:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:11:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:11:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2423499518566823936,"description":"Unknown IO ID 44"} 
[2026-07-01 14:11:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421062400001,"power":25778,"unknown_195":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2423499518566823936}} 
[2026-07-01 14:11:57] local.INFO: DEBUG: GPS processor result {"connection_id":119810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:11:57] local.INFO: GPS data processed {"connection_id":119810,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:11:57] local.INFO: Acknowledgment sent {"connection_id":119810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:12:20] local.INFO: TCP Data received {"connection_id":119033,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:12:20] local.INFO: Processing buffer {"connection_id":119033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:12:20] local.INFO: IMEI packet received {"connection_id":119033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 14:12:20] local.INFO: IMEI acknowledgment sent {"connection_id":119033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:12:26] local.INFO: TCP Data received {"connection_id":119033,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:12:26] local.INFO: Processing buffer {"connection_id":119033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:12:26] local.INFO: IMEI packet received {"connection_id":119033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":119033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:12:26] local.INFO: TCP Data received {"connection_id":119033,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cd3e2a0012cde5e0007327e880010011c26..."} 
[2026-07-01 14:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cd3e2a0012cde5e0007327e880010011c26..."} 
[2026-07-01 14:12:26] local.INFO: Processing buffer {"connection_id":119033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cd3e2a0012cde5e0007327e880010011c26..."} 
[2026-07-01 14:12:26] local.INFO: Packet analysis {"connection_id":119033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cd3"} 
[2026-07-01 14:12:26] local.INFO: Extracted packet for processing {"connection_id":119033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cd3"} 
[2026-07-01 14:12:26] local.INFO: GPS Element Parsed {"raw_longitude":752770560,"raw_latitude":120749704,"longitude_deg":75.277056,"latitude_deg":12.0749704,"altitude":16,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2cde5e00","hex_latitude":"07327e88","is_valid_coordinates":true} 
[2026-07-01 14:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:12:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421062400001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:12:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 14:12:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2423499518566823936,"note":"Value kept but may cause issues"} 
[2026-07-01 14:12:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:12:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782895076000,"timestamp_ms":1782895076000,"timestamp_seconds":1782895076,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cd3e2a0"} 
[2026-07-01 14:12:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:12:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 14:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-01 14:12:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14:12:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:12:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:12:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:12:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:12:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:12:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:12:26] 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-01 14:12:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:12:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:12:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421062400001,"66":25778,"195":206,"83":40960,"24":0,"16":333471628912492544,"44":-2423499518566823936},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,83,24,16,44]} 
[2026-07-01 14:12:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:12:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:12:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421062400001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:12:26] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-01 14:12:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:12:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:12:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2423499518566823936,"description":"Unknown IO ID 44"} 
[2026-07-01 14:12:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421062400001,"power":25778,"unknown_195":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2423499518566823936}} 
[2026-07-01 14:12:26] local.INFO: DEBUG: GPS processor result {"connection_id":119033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:12:26] local.INFO: GPS data processed {"connection_id":119033,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:12:26] local.INFO: Acknowledgment sent {"connection_id":119033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:12:57] local.INFO: TCP Data received {"connection_id":119033,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cd3e2a0012cde5e0007327e880010011c26..."} 
[2026-07-01 14:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cd3e2a0012cde5e0007327e880010011c26..."} 
[2026-07-01 14:12:57] local.INFO: Processing buffer {"connection_id":119033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cd3e2a0012cde5e0007327e880010011c26..."} 
[2026-07-01 14:12:57] local.INFO: Packet analysis {"connection_id":119033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cd3"} 
[2026-07-01 14:12:57] local.INFO: Extracted packet for processing {"connection_id":119033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cd3"} 
[2026-07-01 14:12:57] local.INFO: GPS Element Parsed {"raw_longitude":752770560,"raw_latitude":120749704,"longitude_deg":75.277056,"latitude_deg":12.0749704,"altitude":16,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2cde5e00","hex_latitude":"07327e88","is_valid_coordinates":true} 
[2026-07-01 14:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:12:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421062400001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 14:12:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2423499518566823936,"note":"Value kept but may cause issues"} 
[2026-07-01 14:12:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782895076000,"timestamp_ms":1782895076000,"timestamp_seconds":1782895076,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cd3e2a0"} 
[2026-07-01 14:12:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:12:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 14:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-01 14:12:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14:12:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:12:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:12:57] 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-01 14:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421062400001,"66":25778,"195":206,"83":40960,"24":0,"16":333471628912492544,"44":-2423499518566823936},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,83,24,16,44]} 
[2026-07-01 14:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421062400001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:12:57] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-01 14:12:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:12:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2423499518566823936,"description":"Unknown IO ID 44"} 
[2026-07-01 14:12:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421062400001,"power":25778,"unknown_195":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2423499518566823936}} 
[2026-07-01 14:12:57] local.INFO: DEBUG: GPS processor result {"connection_id":119033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:12:57] local.INFO: GPS data processed {"connection_id":119033,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:12:57] local.INFO: Acknowledgment sent {"connection_id":119033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:13:26] local.INFO: TCP Data received {"connection_id":120903,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:13:26] local.INFO: Processing buffer {"connection_id":120903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:13:26] local.INFO: IMEI packet received {"connection_id":120903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 14:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":120903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:13:31] local.INFO: TCP Data received {"connection_id":120903,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:13:31] local.INFO: Processing buffer {"connection_id":120903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:13:31] local.INFO: IMEI packet received {"connection_id":120903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":120903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:13:36] local.INFO: TCP Data received {"connection_id":120903,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cd3e2a0012cde5e0007327e880010011c26..."} 
[2026-07-01 14:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cd3e2a0012cde5e0007327e880010011c26..."} 
[2026-07-01 14:13:36] local.INFO: Processing buffer {"connection_id":120903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cd3e2a0012cde5e0007327e880010011c26..."} 
[2026-07-01 14:13:36] local.INFO: Packet analysis {"connection_id":120903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cd3"} 
[2026-07-01 14:13:36] local.INFO: Extracted packet for processing {"connection_id":120903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cd3"} 
[2026-07-01 14:13:36] local.INFO: GPS Element Parsed {"raw_longitude":752770560,"raw_latitude":120749704,"longitude_deg":75.277056,"latitude_deg":12.0749704,"altitude":16,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2cde5e00","hex_latitude":"07327e88","is_valid_coordinates":true} 
[2026-07-01 14:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421062400001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 14:13:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2423499518566823936,"note":"Value kept but may cause issues"} 
[2026-07-01 14:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782895076000,"timestamp_ms":1782895076000,"timestamp_seconds":1782895076,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cd3e2a0"} 
[2026-07-01 14:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 14:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-01 14:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14:13:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":120903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":120903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":120903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 14:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421062400001,"66":25778,"195":206,"83":40960,"24":0,"16":333471628912492544,"44":-2423499518566823936},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,83,24,16,44]} 
[2026-07-01 14:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421062400001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:13:36] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-01 14:13:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:13:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2423499518566823936,"description":"Unknown IO ID 44"} 
[2026-07-01 14:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421062400001,"power":25778,"unknown_195":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2423499518566823936}} 
[2026-07-01 14:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":120903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:13:36] local.INFO: GPS data processed {"connection_id":120903,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:13:36] local.INFO: Acknowledgment sent {"connection_id":120903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:13:37] local.INFO: TCP Data received {"connection_id":120903,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cd3e2a0012cde5e0007327e880010011c26..."} 
[2026-07-01 14:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cd3e2a0012cde5e0007327e880010011c26..."} 
[2026-07-01 14:13:37] local.INFO: Processing buffer {"connection_id":120903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cd3e2a0012cde5e0007327e880010011c26..."} 
[2026-07-01 14:13:37] local.INFO: Packet analysis {"connection_id":120903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cd3"} 
[2026-07-01 14:13:37] local.INFO: Extracted packet for processing {"connection_id":120903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cd3"} 
[2026-07-01 14:13:37] local.INFO: GPS Element Parsed {"raw_longitude":752770560,"raw_latitude":120749704,"longitude_deg":75.277056,"latitude_deg":12.0749704,"altitude":16,"angle":284,"satellites":38,"speed":0,"hex_longitude":"2cde5e00","hex_latitude":"07327e88","is_valid_coordinates":true} 
[2026-07-01 14:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421062400001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 14:13:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2423499518566823936,"note":"Value kept but may cause issues"} 
[2026-07-01 14:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782895076000,"timestamp_ms":1782895076000,"timestamp_seconds":1782895076,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cd3e2a0"} 
[2026-07-01 14:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 14:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-01 14:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":120903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":120903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":120903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 14:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421062400001,"66":25778,"195":206,"83":40960,"24":0,"16":333471628912492544,"44":-2423499518566823936},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,83,24,16,44]} 
[2026-07-01 14:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421062400001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:13:37] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-01 14:13:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:13:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2423499518566823936,"description":"Unknown IO ID 44"} 
[2026-07-01 14:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421062400001,"power":25778,"unknown_195":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2423499518566823936}} 
[2026-07-01 14:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":120903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:13:37] local.INFO: GPS data processed {"connection_id":120903,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:13:37] local.INFO: Acknowledgment sent {"connection_id":120903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:13:45] local.INFO: TCP Data received {"connection_id":120902,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120902,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:13:45] local.INFO: Processing buffer {"connection_id":120902,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:13:45] local.INFO: IMEI packet received {"connection_id":120902,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 14:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":120902,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:14:15] local.INFO: TCP Data received {"connection_id":119034,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119034,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:14:15] local.INFO: Processing buffer {"connection_id":119034,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:14:15] local.INFO: IMEI packet received {"connection_id":119034,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 14:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":119034,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:14:21] local.INFO: TCP Data received {"connection_id":119148,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:14:21] local.INFO: Processing buffer {"connection_id":119148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:14:21] local.INFO: IMEI packet received {"connection_id":119148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 14:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":119148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:14:26] local.INFO: TCP Data received {"connection_id":119148,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:14:26] local.INFO: Processing buffer {"connection_id":119148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:14:26] local.INFO: IMEI packet received {"connection_id":119148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":119148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:14:26] local.INFO: TCP Data received {"connection_id":119148,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cd87a68012cde5e0007327e880010011c27..."} 
[2026-07-01 14:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cd87a68012cde5e0007327e880010011c27..."} 
[2026-07-01 14:14:26] local.INFO: Processing buffer {"connection_id":119148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cd87a68012cde5e0007327e880010011c27..."} 
[2026-07-01 14:14:26] local.INFO: Packet analysis {"connection_id":119148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cd8"} 
[2026-07-01 14:14:26] local.INFO: Extracted packet for processing {"connection_id":119148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cd8"} 
[2026-07-01 14:14:26] local.INFO: GPS Element Parsed {"raw_longitude":752770560,"raw_latitude":120749704,"longitude_deg":75.277056,"latitude_deg":12.0749704,"altitude":16,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2cde5e00","hex_latitude":"07327e88","is_valid_coordinates":true} 
[2026-07-01 14: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-01 14:14:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421139456001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:14:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 14:14:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2423499518566823936,"note":"Value kept but may cause issues"} 
[2026-07-01 14:14:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:14:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782895377000,"timestamp_ms":1782895377000,"timestamp_seconds":1782895377,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cd87a68"} 
[2026-07-01 14: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-01 14:14:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 14: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-01 14:14:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14: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-01 14: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-01 14:14:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:14:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:14:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:14:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:14:26] 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-01 14:14:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:14:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:14:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421139456001,"66":25702,"61":206,"83":40960,"24":0,"16":333471628912492544,"44":-2423499518566823936},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-07-01 14:14:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:14:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:14:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421139456001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:14:26] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 14:14:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:14:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:14:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2423499518566823936,"description":"Unknown IO ID 44"} 
[2026-07-01 14:14:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421139456001,"power":25702,"unknown_61":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2423499518566823936}} 
[2026-07-01 14:14:26] local.INFO: DEBUG: GPS processor result {"connection_id":119148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:14:26] local.INFO: GPS data processed {"connection_id":119148,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:14:26] local.INFO: Acknowledgment sent {"connection_id":119148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:14:57] local.INFO: TCP Data received {"connection_id":119148,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cd87a68012cde5e0007327e880010011c27..."} 
[2026-07-01 14:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cd87a68012cde5e0007327e880010011c27..."} 
[2026-07-01 14:14:57] local.INFO: Processing buffer {"connection_id":119148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cd87a68012cde5e0007327e880010011c27..."} 
[2026-07-01 14:14:57] local.INFO: Packet analysis {"connection_id":119148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cd8"} 
[2026-07-01 14:14:57] local.INFO: Extracted packet for processing {"connection_id":119148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cd8"} 
[2026-07-01 14:14:57] local.INFO: GPS Element Parsed {"raw_longitude":752770560,"raw_latitude":120749704,"longitude_deg":75.277056,"latitude_deg":12.0749704,"altitude":16,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2cde5e00","hex_latitude":"07327e88","is_valid_coordinates":true} 
[2026-07-01 14:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:14:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421139456001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:14:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 14:14:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2423499518566823936,"note":"Value kept but may cause issues"} 
[2026-07-01 14:14:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:14:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782895377000,"timestamp_ms":1782895377000,"timestamp_seconds":1782895377,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cd87a68"} 
[2026-07-01 14:14:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:14:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 14:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-01 14:14:57] 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-01 14:14:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:14:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:14:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:14:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:14:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:14:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:14:57] 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-01 14:14:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:14:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:14:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421139456001,"66":25702,"61":206,"83":40960,"24":0,"16":333471628912492544,"44":-2423499518566823936},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-07-01 14:14:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:14:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:14:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421139456001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:14:57] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 14:14:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:14:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:14:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2423499518566823936,"description":"Unknown IO ID 44"} 
[2026-07-01 14:14:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421139456001,"power":25702,"unknown_61":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2423499518566823936}} 
[2026-07-01 14:14:57] local.INFO: DEBUG: GPS processor result {"connection_id":119148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:14:57] local.INFO: GPS data processed {"connection_id":119148,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:14:57] local.INFO: Acknowledgment sent {"connection_id":119148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:15:20] local.INFO: TCP Data received {"connection_id":119811,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:15:20] local.INFO: Processing buffer {"connection_id":119811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:15:20] local.INFO: IMEI packet received {"connection_id":119811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 14:15:20] local.INFO: IMEI acknowledgment sent {"connection_id":119811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:15:26] local.INFO: TCP Data received {"connection_id":119811,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:15:26] local.INFO: Processing buffer {"connection_id":119811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:15:26] local.INFO: IMEI packet received {"connection_id":119811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":119811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:15:26] local.INFO: TCP Data received {"connection_id":119811,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cd87a68012cde5e0007327e880010011c27..."} 
[2026-07-01 14:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cd87a68012cde5e0007327e880010011c27..."} 
[2026-07-01 14:15:26] local.INFO: Processing buffer {"connection_id":119811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cd87a68012cde5e0007327e880010011c27..."} 
[2026-07-01 14:15:26] local.INFO: Packet analysis {"connection_id":119811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cd8"} 
[2026-07-01 14:15:26] local.INFO: Extracted packet for processing {"connection_id":119811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cd8"} 
[2026-07-01 14:15:26] local.INFO: GPS Element Parsed {"raw_longitude":752770560,"raw_latitude":120749704,"longitude_deg":75.277056,"latitude_deg":12.0749704,"altitude":16,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2cde5e00","hex_latitude":"07327e88","is_valid_coordinates":true} 
[2026-07-01 14: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-01 14:15:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421139456001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:15:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 14:15:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2423499518566823936,"note":"Value kept but may cause issues"} 
[2026-07-01 14:15:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:15:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782895377000,"timestamp_ms":1782895377000,"timestamp_seconds":1782895377,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cd87a68"} 
[2026-07-01 14: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-01 14:15:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 14: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-01 14:15:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14: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-01 14: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-01 14:15:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:15:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:15:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:15:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:15:26] 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-01 14:15:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:15:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:15:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421139456001,"66":25702,"61":206,"83":40960,"24":0,"16":333471628912492544,"44":-2423499518566823936},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-07-01 14:15:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:15:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:15:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421139456001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:15:26] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 14:15:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:15:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:15:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2423499518566823936,"description":"Unknown IO ID 44"} 
[2026-07-01 14:15:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421139456001,"power":25702,"unknown_61":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2423499518566823936}} 
[2026-07-01 14:15:26] local.INFO: DEBUG: GPS processor result {"connection_id":119811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:15:26] local.INFO: GPS data processed {"connection_id":119811,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:15:26] local.INFO: Acknowledgment sent {"connection_id":119811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:15:57] local.INFO: TCP Data received {"connection_id":119811,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cd87a68012cde5e0007327e880010011c27..."} 
[2026-07-01 14:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cd87a68012cde5e0007327e880010011c27..."} 
[2026-07-01 14:15:57] local.INFO: Processing buffer {"connection_id":119811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cd87a68012cde5e0007327e880010011c27..."} 
[2026-07-01 14:15:57] local.INFO: Packet analysis {"connection_id":119811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cd8"} 
[2026-07-01 14:15:57] local.INFO: Extracted packet for processing {"connection_id":119811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cd8"} 
[2026-07-01 14:15:57] local.INFO: GPS Element Parsed {"raw_longitude":752770560,"raw_latitude":120749704,"longitude_deg":75.277056,"latitude_deg":12.0749704,"altitude":16,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2cde5e00","hex_latitude":"07327e88","is_valid_coordinates":true} 
[2026-07-01 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-01 14:15:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421139456001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:15:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 14:15:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2423499518566823936,"note":"Value kept but may cause issues"} 
[2026-07-01 14:15:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:15:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782895377000,"timestamp_ms":1782895377000,"timestamp_seconds":1782895377,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cd87a68"} 
[2026-07-01 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-01 14:15:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-01 14:15:57] 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-01 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-01 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-01 14:15:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:15:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:15:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:15:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:15:57] 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-01 14:15:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:15:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:15:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421139456001,"66":25702,"61":206,"83":40960,"24":0,"16":333471628912492544,"44":-2423499518566823936},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-07-01 14:15:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:15:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:15:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421139456001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:15:57] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 14:15:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:15:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:15:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2423499518566823936,"description":"Unknown IO ID 44"} 
[2026-07-01 14:15:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421139456001,"power":25702,"unknown_61":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2423499518566823936}} 
[2026-07-01 14:15:58] local.INFO: DEBUG: GPS processor result {"connection_id":119811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:15:58] local.INFO: GPS data processed {"connection_id":119811,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:15:58] local.INFO: Acknowledgment sent {"connection_id":119811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:16:26] local.INFO: TCP Data received {"connection_id":119812,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:16:26] local.INFO: Processing buffer {"connection_id":119812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:16:26] local.INFO: IMEI packet received {"connection_id":119812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 14:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":119812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:16:31] local.INFO: TCP Data received {"connection_id":119812,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:16:31] local.INFO: Processing buffer {"connection_id":119812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:16:31] local.INFO: IMEI packet received {"connection_id":119812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":119812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:16:31] local.INFO: TCP Data received {"connection_id":119812,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cd87a68012cde5e0007327e880010011c27..."} 
[2026-07-01 14:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cd87a68012cde5e0007327e880010011c27..."} 
[2026-07-01 14:16:31] local.INFO: Processing buffer {"connection_id":119812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cd87a68012cde5e0007327e880010011c27..."} 
[2026-07-01 14:16:31] local.INFO: Packet analysis {"connection_id":119812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cd8"} 
[2026-07-01 14:16:31] local.INFO: Extracted packet for processing {"connection_id":119812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cd8"} 
[2026-07-01 14:16:31] local.INFO: GPS Element Parsed {"raw_longitude":752770560,"raw_latitude":120749704,"longitude_deg":75.277056,"latitude_deg":12.0749704,"altitude":16,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2cde5e00","hex_latitude":"07327e88","is_valid_coordinates":true} 
[2026-07-01 14:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421139456001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 14:16:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2423499518566823936,"note":"Value kept but may cause issues"} 
[2026-07-01 14:16:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782895377000,"timestamp_ms":1782895377000,"timestamp_seconds":1782895377,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cd87a68"} 
[2026-07-01 14:16:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:16:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 14:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-01 14:16:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14:16:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:16:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:16:31] 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-01 14:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421139456001,"66":25702,"61":206,"83":40960,"24":0,"16":333471628912492544,"44":-2423499518566823936},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-07-01 14:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421139456001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:16:31] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 14:16:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:16:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:16:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2423499518566823936,"description":"Unknown IO ID 44"} 
[2026-07-01 14:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421139456001,"power":25702,"unknown_61":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2423499518566823936}} 
[2026-07-01 14:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":119812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:16:31] local.INFO: GPS data processed {"connection_id":119812,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:16:31] local.INFO: Acknowledgment sent {"connection_id":119812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:16:36] local.INFO: TCP Data received {"connection_id":119812,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cd87a68012cde5e0007327e880010011c27..."} 
[2026-07-01 14:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cd87a68012cde5e0007327e880010011c27..."} 
[2026-07-01 14:16:36] local.INFO: Processing buffer {"connection_id":119812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cd87a68012cde5e0007327e880010011c27..."} 
[2026-07-01 14:16:36] local.INFO: Packet analysis {"connection_id":119812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cd8"} 
[2026-07-01 14:16:36] local.INFO: Extracted packet for processing {"connection_id":119812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cd8"} 
[2026-07-01 14:16:36] local.INFO: GPS Element Parsed {"raw_longitude":752770560,"raw_latitude":120749704,"longitude_deg":75.277056,"latitude_deg":12.0749704,"altitude":16,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2cde5e00","hex_latitude":"07327e88","is_valid_coordinates":true} 
[2026-07-01 14:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421139456001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 14:16:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2423499518566823936,"note":"Value kept but may cause issues"} 
[2026-07-01 14:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782895377000,"timestamp_ms":1782895377000,"timestamp_seconds":1782895377,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cd87a68"} 
[2026-07-01 14:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 14:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-01 14:16:36] 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-01 14:16:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":119812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":119812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":119812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 14:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421139456001,"66":25702,"61":206,"83":40960,"24":0,"16":333471628912492544,"44":-2423499518566823936},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-07-01 14:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421139456001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:16:36] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 14:16:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:16:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2423499518566823936,"description":"Unknown IO ID 44"} 
[2026-07-01 14:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421139456001,"power":25702,"unknown_61":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2423499518566823936}} 
[2026-07-01 14:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":119812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:16:36] local.INFO: GPS data processed {"connection_id":119812,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:16:36] local.INFO: Acknowledgment sent {"connection_id":119812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:17:21] local.INFO: TCP Data received {"connection_id":120905,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:17:21] local.INFO: Processing buffer {"connection_id":120905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:17:21] local.INFO: IMEI packet received {"connection_id":120905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 14:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":120905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:17:26] local.INFO: TCP Data received {"connection_id":120905,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:17:26] local.INFO: Processing buffer {"connection_id":120905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:17:26] local.INFO: IMEI packet received {"connection_id":120905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":120905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:17:26] local.INFO: TCP Data received {"connection_id":120905,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cd87a68012cde5e0007327e880010011c27..."} 
[2026-07-01 14:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cd87a68012cde5e0007327e880010011c27..."} 
[2026-07-01 14:17:26] local.INFO: Processing buffer {"connection_id":120905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cd87a68012cde5e0007327e880010011c27..."} 
[2026-07-01 14:17:26] local.INFO: Packet analysis {"connection_id":120905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cd8"} 
[2026-07-01 14:17:26] local.INFO: Extracted packet for processing {"connection_id":120905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cd8"} 
[2026-07-01 14:17:26] local.INFO: GPS Element Parsed {"raw_longitude":752770560,"raw_latitude":120749704,"longitude_deg":75.277056,"latitude_deg":12.0749704,"altitude":16,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2cde5e00","hex_latitude":"07327e88","is_valid_coordinates":true} 
[2026-07-01 14:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:17:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421139456001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:17:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 14:17:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2423499518566823936,"note":"Value kept but may cause issues"} 
[2026-07-01 14:17:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:17:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782895377000,"timestamp_ms":1782895377000,"timestamp_seconds":1782895377,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cd87a68"} 
[2026-07-01 14:17:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:17:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 14:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-01 14:17:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14:17:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:17:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:17:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:17:26] local.INFO: Teltonika packet parsed successfully {"connection_id":120905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:17:26] local.INFO: Passing IMEI to GPS processor {"connection_id":120905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:17:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":120905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:17:26] 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-01 14:17:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:17:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:17:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421139456001,"66":25702,"61":206,"83":40960,"24":0,"16":333471628912492544,"44":-2423499518566823936},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-07-01 14:17:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:17:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:17:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421139456001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:17:26] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 14:17:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:17:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:17:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2423499518566823936,"description":"Unknown IO ID 44"} 
[2026-07-01 14:17:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421139456001,"power":25702,"unknown_61":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2423499518566823936}} 
[2026-07-01 14:17:26] local.INFO: DEBUG: GPS processor result {"connection_id":120905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:17:26] local.INFO: GPS data processed {"connection_id":120905,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:17:26] local.INFO: Acknowledgment sent {"connection_id":120905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:17:57] local.INFO: TCP Data received {"connection_id":120905,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cd87a68012cde5e0007327e880010011c27..."} 
[2026-07-01 14:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cd87a68012cde5e0007327e880010011c27..."} 
[2026-07-01 14:17:57] local.INFO: Processing buffer {"connection_id":120905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cd87a68012cde5e0007327e880010011c27..."} 
[2026-07-01 14:17:57] local.INFO: Packet analysis {"connection_id":120905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cd8"} 
[2026-07-01 14:17:57] local.INFO: Extracted packet for processing {"connection_id":120905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cd8"} 
[2026-07-01 14:17:57] local.INFO: GPS Element Parsed {"raw_longitude":752770560,"raw_latitude":120749704,"longitude_deg":75.277056,"latitude_deg":12.0749704,"altitude":16,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2cde5e00","hex_latitude":"07327e88","is_valid_coordinates":true} 
[2026-07-01 14:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:17:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421139456001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:17:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 14:17:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2423499518566823936,"note":"Value kept but may cause issues"} 
[2026-07-01 14:17:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:17:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782895377000,"timestamp_ms":1782895377000,"timestamp_seconds":1782895377,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cd87a68"} 
[2026-07-01 14:17:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:17:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 14:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-01 14:17:57] 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-01 14:17:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:17:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:17:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:17:57] local.INFO: Teltonika packet parsed successfully {"connection_id":120905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:17:57] local.INFO: Passing IMEI to GPS processor {"connection_id":120905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:17:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":120905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:17:57] 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-01 14:17:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:17:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:17:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421139456001,"66":25702,"61":206,"83":40960,"24":0,"16":333471628912492544,"44":-2423499518566823936},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-07-01 14:17:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:17:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:17:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421139456001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:17:57] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 14:17:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:17:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:17:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2423499518566823936,"description":"Unknown IO ID 44"} 
[2026-07-01 14:17:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421139456001,"power":25702,"unknown_61":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2423499518566823936}} 
[2026-07-01 14:17:57] local.INFO: DEBUG: GPS processor result {"connection_id":120905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:17:57] local.INFO: GPS data processed {"connection_id":120905,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:17:57] local.INFO: Acknowledgment sent {"connection_id":120905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:18:21] local.INFO: TCP Data received {"connection_id":119149,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:18:21] local.INFO: Processing buffer {"connection_id":119149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:18:21] local.INFO: IMEI packet received {"connection_id":119149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 14:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":119149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:18:26] local.INFO: TCP Data received {"connection_id":119149,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:18:26] local.INFO: Processing buffer {"connection_id":119149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:18:26] local.INFO: IMEI packet received {"connection_id":119149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":119149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:18:27] local.INFO: TCP Data received {"connection_id":119149,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cd87a68012cde5e0007327e880010011c27..."} 
[2026-07-01 14:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cd87a68012cde5e0007327e880010011c27..."} 
[2026-07-01 14:18:27] local.INFO: Processing buffer {"connection_id":119149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cd87a68012cde5e0007327e880010011c27..."} 
[2026-07-01 14:18:27] local.INFO: Packet analysis {"connection_id":119149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cd8"} 
[2026-07-01 14:18:27] local.INFO: Extracted packet for processing {"connection_id":119149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cd8"} 
[2026-07-01 14:18:27] local.INFO: GPS Element Parsed {"raw_longitude":752770560,"raw_latitude":120749704,"longitude_deg":75.277056,"latitude_deg":12.0749704,"altitude":16,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2cde5e00","hex_latitude":"07327e88","is_valid_coordinates":true} 
[2026-07-01 14:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421139456001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 14:18:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2423499518566823936,"note":"Value kept but may cause issues"} 
[2026-07-01 14:18:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782895377000,"timestamp_ms":1782895377000,"timestamp_seconds":1782895377,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cd87a68"} 
[2026-07-01 14:18:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:18:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 14:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-01 14:18:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14:18:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:18:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:18:27] 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-01 14:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421139456001,"66":25702,"61":206,"83":40960,"24":0,"16":333471628912492544,"44":-2423499518566823936},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-07-01 14:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421139456001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:18:27] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 14:18:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:18:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2423499518566823936,"description":"Unknown IO ID 44"} 
[2026-07-01 14:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421139456001,"power":25702,"unknown_61":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2423499518566823936}} 
[2026-07-01 14:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":119149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:18:27] local.INFO: GPS data processed {"connection_id":119149,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:18:27] local.INFO: Acknowledgment sent {"connection_id":119149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:18:58] local.INFO: TCP Data received {"connection_id":119149,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cdd1230012cde5e0007327e880010011c27..."} 
[2026-07-01 14:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cdd1230012cde5e0007327e880010011c27..."} 
[2026-07-01 14:18:58] local.INFO: Processing buffer {"connection_id":119149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cdd1230012cde5e0007327e880010011c27..."} 
[2026-07-01 14:18:58] local.INFO: Packet analysis {"connection_id":119149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cdd"} 
[2026-07-01 14:18:58] local.INFO: Extracted packet for processing {"connection_id":119149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cdd"} 
[2026-07-01 14:18:58] local.INFO: GPS Element Parsed {"raw_longitude":752770560,"raw_latitude":120749704,"longitude_deg":75.277056,"latitude_deg":12.0749704,"altitude":16,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2cde5e00","hex_latitude":"07327e88","is_valid_coordinates":true} 
[2026-07-01 14: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-01 14:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421216512001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 14:18:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2423499518566823936,"note":"Value kept but may cause issues"} 
[2026-07-01 14:18:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782895678000,"timestamp_ms":1782895678000,"timestamp_seconds":1782895678,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cdd1230"} 
[2026-07-01 14: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-01 14:18:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 14: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-01 14:18:58] 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-01 14: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-01 14: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-01 14:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:18:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 14:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421216512001,"66":25647,"61":206,"83":40960,"24":0,"16":333471628912492544,"44":-2423499518566823936},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-07-01 14:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421216512001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:18:58] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 14:18:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:18:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2423499518566823936,"description":"Unknown IO ID 44"} 
[2026-07-01 14:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421216512001,"power":25647,"unknown_61":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2423499518566823936}} 
[2026-07-01 14:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":119149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:18:58] local.INFO: GPS data processed {"connection_id":119149,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:18:58] local.INFO: Acknowledgment sent {"connection_id":119149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:19:26] local.INFO: TCP Data received {"connection_id":119814,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:19:26] local.INFO: Processing buffer {"connection_id":119814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:19:26] local.INFO: IMEI packet received {"connection_id":119814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 14:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":119814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:19:31] local.INFO: TCP Data received {"connection_id":119814,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:19:31] local.INFO: Processing buffer {"connection_id":119814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:19:31] local.INFO: IMEI packet received {"connection_id":119814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":119814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:19:31] local.INFO: TCP Data received {"connection_id":119814,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cdd1230012cde5e0007327e880010011c27..."} 
[2026-07-01 14:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cdd1230012cde5e0007327e880010011c27..."} 
[2026-07-01 14:19:31] local.INFO: Processing buffer {"connection_id":119814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cdd1230012cde5e0007327e880010011c27..."} 
[2026-07-01 14:19:31] local.INFO: Packet analysis {"connection_id":119814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cdd"} 
[2026-07-01 14:19:31] local.INFO: Extracted packet for processing {"connection_id":119814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cdd"} 
[2026-07-01 14:19:31] local.INFO: GPS Element Parsed {"raw_longitude":752770560,"raw_latitude":120749704,"longitude_deg":75.277056,"latitude_deg":12.0749704,"altitude":16,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2cde5e00","hex_latitude":"07327e88","is_valid_coordinates":true} 
[2026-07-01 14:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421216512001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 14:19:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2423499518566823936,"note":"Value kept but may cause issues"} 
[2026-07-01 14:19:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782895678000,"timestamp_ms":1782895678000,"timestamp_seconds":1782895678,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cdd1230"} 
[2026-07-01 14:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:19:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 14:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-01 14:19:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14:19:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:19:31] 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-01 14:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421216512001,"66":25647,"61":206,"83":40960,"24":0,"16":333471628912492544,"44":-2423499518566823936},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-07-01 14:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421216512001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:19:31] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 14:19:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:19:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2423499518566823936,"description":"Unknown IO ID 44"} 
[2026-07-01 14:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421216512001,"power":25647,"unknown_61":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2423499518566823936}} 
[2026-07-01 14:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":119814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:19:31] local.INFO: GPS data processed {"connection_id":119814,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:19:31] local.INFO: Acknowledgment sent {"connection_id":119814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:19:36] local.INFO: TCP Data received {"connection_id":119814,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cdd1230012cde5e0007327e880010011c27..."} 
[2026-07-01 14:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cdd1230012cde5e0007327e880010011c27..."} 
[2026-07-01 14:19:36] local.INFO: Processing buffer {"connection_id":119814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cdd1230012cde5e0007327e880010011c27..."} 
[2026-07-01 14:19:36] local.INFO: Packet analysis {"connection_id":119814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cdd"} 
[2026-07-01 14:19:36] local.INFO: Extracted packet for processing {"connection_id":119814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cdd"} 
[2026-07-01 14:19:36] local.INFO: GPS Element Parsed {"raw_longitude":752770560,"raw_latitude":120749704,"longitude_deg":75.277056,"latitude_deg":12.0749704,"altitude":16,"angle":284,"satellites":39,"speed":0,"hex_longitude":"2cde5e00","hex_latitude":"07327e88","is_valid_coordinates":true} 
[2026-07-01 14:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421216512001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 14:19:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2423499518566823936,"note":"Value kept but may cause issues"} 
[2026-07-01 14:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782895678000,"timestamp_ms":1782895678000,"timestamp_seconds":1782895678,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cdd1230"} 
[2026-07-01 14:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 14:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-01 14:19:36] 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-01 14:19:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":119814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":119814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":119814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:19:36] 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-01 14:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421216512001,"66":25647,"61":206,"83":40960,"24":0,"16":333471628912492544,"44":-2423499518566823936},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-07-01 14:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421216512001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:19:36] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 14:19:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:19:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2423499518566823936,"description":"Unknown IO ID 44"} 
[2026-07-01 14:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421216512001,"power":25647,"unknown_61":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2423499518566823936}} 
[2026-07-01 14:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":119814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:19:36] local.INFO: GPS data processed {"connection_id":119814,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:19:36] local.INFO: Acknowledgment sent {"connection_id":119814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:19:40] local.INFO: TCP Data received {"connection_id":119037,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119037,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:19:40] local.INFO: Processing buffer {"connection_id":119037,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:19:40] local.INFO: IMEI packet received {"connection_id":119037,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 14:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":119037,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:20:15] local.INFO: TCP Data received {"connection_id":120906,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120906,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:20:15] local.INFO: Processing buffer {"connection_id":120906,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:20:15] local.INFO: IMEI packet received {"connection_id":120906,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 14:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":120906,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:20:19] local.INFO: TCP Data received {"connection_id":120907,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:20:19] local.INFO: Processing buffer {"connection_id":120907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:20:19] local.INFO: IMEI packet received {"connection_id":120907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 14:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":120907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:20:20] local.INFO: TCP Data received {"connection_id":120907,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:20:20] local.INFO: Processing buffer {"connection_id":120907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:20:20] local.INFO: IMEI packet received {"connection_id":120907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:20:20] local.INFO: IMEI acknowledgment sent {"connection_id":120907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:20:26] local.INFO: TCP Data received {"connection_id":120907,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:20:26] local.INFO: Processing buffer {"connection_id":120907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:20:26] local.INFO: IMEI packet received {"connection_id":120907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":120907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:20:26] local.INFO: TCP Data received {"connection_id":120907,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cdf3128012cde4b8007327f880020000023..."} 
[2026-07-01 14:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cdf3128012cde4b8007327f880020000023..."} 
[2026-07-01 14:20:26] local.INFO: Processing buffer {"connection_id":120907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cdf3128012cde4b8007327f880020000023..."} 
[2026-07-01 14:20:26] local.INFO: Packet analysis {"connection_id":120907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cdf"} 
[2026-07-01 14:20:26] local.INFO: Extracted packet for processing {"connection_id":120907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cdf"} 
[2026-07-01 14:20:26] local.INFO: GPS Element Parsed {"raw_longitude":752765824,"raw_latitude":120749960,"longitude_deg":75.2765824,"latitude_deg":12.074996,"altitude":32,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2cde4b80","hex_latitude":"07327f88","is_valid_coordinates":true} 
[2026-07-01 14:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:20:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421293568001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:20:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 14:20:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2423499518566823936,"note":"Value kept but may cause issues"} 
[2026-07-01 14:20:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:20:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782895817000,"timestamp_ms":1782895817000,"timestamp_seconds":1782895817,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cdf3128"} 
[2026-07-01 14:20:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:20:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 14:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-01 14:20:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14:20:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:20:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:20:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:20:26] local.INFO: Teltonika packet parsed successfully {"connection_id":120907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:20:26] local.INFO: Passing IMEI to GPS processor {"connection_id":120907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:20:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":120907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:20:26] 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-01 14:20:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:20:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:20:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421293568001,"66":25625,"61":206,"83":40960,"24":0,"16":333471628912492544,"44":-2423499518566823936},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-07-01 14:20:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:20:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:20:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421293568001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:20:26] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 14:20:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:20:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:20:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2423499518566823936,"description":"Unknown IO ID 44"} 
[2026-07-01 14:20:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421293568001,"power":25625,"unknown_61":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2423499518566823936}} 
[2026-07-01 14:20:26] local.INFO: DEBUG: GPS processor result {"connection_id":120907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:20:26] local.INFO: GPS data processed {"connection_id":120907,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:20:26] local.INFO: Acknowledgment sent {"connection_id":120907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:20:58] local.INFO: TCP Data received {"connection_id":120907,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cdf3128012cde4b8007327f880020000023..."} 
[2026-07-01 14:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cdf3128012cde4b8007327f880020000023..."} 
[2026-07-01 14:20:58] local.INFO: Processing buffer {"connection_id":120907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cdf3128012cde4b8007327f880020000023..."} 
[2026-07-01 14:20:58] local.INFO: Packet analysis {"connection_id":120907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cdf"} 
[2026-07-01 14:20:58] local.INFO: Extracted packet for processing {"connection_id":120907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cdf"} 
[2026-07-01 14:20:58] local.INFO: GPS Element Parsed {"raw_longitude":752765824,"raw_latitude":120749960,"longitude_deg":75.2765824,"latitude_deg":12.074996,"altitude":32,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2cde4b80","hex_latitude":"07327f88","is_valid_coordinates":true} 
[2026-07-01 14: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-01 14:20:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421293568001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 14:20:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2423499518566823936,"note":"Value kept but may cause issues"} 
[2026-07-01 14:20:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782895817000,"timestamp_ms":1782895817000,"timestamp_seconds":1782895817,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cdf3128"} 
[2026-07-01 14: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-01 14:20:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 14: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-01 14:20:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14: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-01 14: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-01 14:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:20:58] 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-01 14:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:20:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421293568001,"66":25625,"61":206,"83":40960,"24":0,"16":333471628912492544,"44":-2423499518566823936},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-07-01 14:20:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:20:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:20:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421293568001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:20:58] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 14:20:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:20:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:20:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2423499518566823936,"description":"Unknown IO ID 44"} 
[2026-07-01 14:20:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421293568001,"power":25625,"unknown_61":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2423499518566823936}} 
[2026-07-01 14:20:58] local.INFO: DEBUG: GPS processor result {"connection_id":120907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:20:58] local.INFO: GPS data processed {"connection_id":120907,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:20:58] local.INFO: Acknowledgment sent {"connection_id":120907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:21:20] local.INFO: TCP Data received {"connection_id":119815,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:21:20] local.INFO: Processing buffer {"connection_id":119815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:21:20] local.INFO: IMEI packet received {"connection_id":119815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 14:21:20] local.INFO: IMEI acknowledgment sent {"connection_id":119815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:21:27] local.INFO: TCP Data received {"connection_id":119815,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:21:27] local.INFO: Processing buffer {"connection_id":119815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:21:27] local.INFO: IMEI packet received {"connection_id":119815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:21:27] local.INFO: IMEI acknowledgment sent {"connection_id":119815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:21:28] local.INFO: TCP Data received {"connection_id":119815,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cdf3128012cde4b8007327f880020000023..."} 
[2026-07-01 14:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cdf3128012cde4b8007327f880020000023..."} 
[2026-07-01 14:21:28] local.INFO: Processing buffer {"connection_id":119815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cdf3128012cde4b8007327f880020000023..."} 
[2026-07-01 14:21:28] local.INFO: Packet analysis {"connection_id":119815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cdf"} 
[2026-07-01 14:21:28] local.INFO: Extracted packet for processing {"connection_id":119815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cdf"} 
[2026-07-01 14:21:28] local.INFO: GPS Element Parsed {"raw_longitude":752765824,"raw_latitude":120749960,"longitude_deg":75.2765824,"latitude_deg":12.074996,"altitude":32,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2cde4b80","hex_latitude":"07327f88","is_valid_coordinates":true} 
[2026-07-01 14:21:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:21:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421293568001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:21:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 14:21:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2423499518566823936,"note":"Value kept but may cause issues"} 
[2026-07-01 14:21:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:21:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782895817000,"timestamp_ms":1782895817000,"timestamp_seconds":1782895817,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cdf3128"} 
[2026-07-01 14:21:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:21:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 14:21:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-01 14:21:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14:21:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:21:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:21:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:21:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:21:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:21:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:21:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 14:21:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:21:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:21:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421293568001,"66":25625,"61":206,"83":40960,"24":0,"16":333471628912492544,"44":-2423499518566823936},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-07-01 14:21:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:21:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:21:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421293568001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:21:28] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 14:21:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:21:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:21:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2423499518566823936,"description":"Unknown IO ID 44"} 
[2026-07-01 14:21:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421293568001,"power":25625,"unknown_61":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2423499518566823936}} 
[2026-07-01 14:21:28] local.INFO: DEBUG: GPS processor result {"connection_id":119815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:21:28] local.INFO: GPS data processed {"connection_id":119815,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:21:28] local.INFO: Acknowledgment sent {"connection_id":119815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:21:59] local.INFO: TCP Data received {"connection_id":119815,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cdf3128012cde4b8007327f880020000023..."} 
[2026-07-01 14:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cdf3128012cde4b8007327f880020000023..."} 
[2026-07-01 14:21:59] local.INFO: Processing buffer {"connection_id":119815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cdf3128012cde4b8007327f880020000023..."} 
[2026-07-01 14:21:59] local.INFO: Packet analysis {"connection_id":119815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cdf"} 
[2026-07-01 14:21:59] local.INFO: Extracted packet for processing {"connection_id":119815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cdf"} 
[2026-07-01 14:21:59] local.INFO: GPS Element Parsed {"raw_longitude":752765824,"raw_latitude":120749960,"longitude_deg":75.2765824,"latitude_deg":12.074996,"altitude":32,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2cde4b80","hex_latitude":"07327f88","is_valid_coordinates":true} 
[2026-07-01 14: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-01 14:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421293568001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 14:21:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2423499518566823936,"note":"Value kept but may cause issues"} 
[2026-07-01 14:21:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782895817000,"timestamp_ms":1782895817000,"timestamp_seconds":1782895817,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cdf3128"} 
[2026-07-01 14: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-01 14:21:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 14: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-01 14:21:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14: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-01 14: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-01 14:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:21:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 14:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421293568001,"66":25625,"61":206,"83":40960,"24":0,"16":333471628912492544,"44":-2423499518566823936},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-07-01 14:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421293568001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:21:59] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 14:21:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:21:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2423499518566823936,"description":"Unknown IO ID 44"} 
[2026-07-01 14:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421293568001,"power":25625,"unknown_61":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2423499518566823936}} 
[2026-07-01 14:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":119815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:21:59] local.INFO: GPS data processed {"connection_id":119815,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:21:59] local.INFO: Acknowledgment sent {"connection_id":119815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:22:20] local.INFO: TCP Data received {"connection_id":120909,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:22:20] local.INFO: Processing buffer {"connection_id":120909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:22:20] local.INFO: IMEI packet received {"connection_id":120909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 14:22:20] local.INFO: IMEI acknowledgment sent {"connection_id":120909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:22:26] local.INFO: TCP Data received {"connection_id":120909,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:22:26] local.INFO: Processing buffer {"connection_id":120909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:22:26] local.INFO: IMEI packet received {"connection_id":120909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":120909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:22:26] local.INFO: TCP Data received {"connection_id":120909,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cdf3128012cde4b8007327f880020000023..."} 
[2026-07-01 14:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cdf3128012cde4b8007327f880020000023..."} 
[2026-07-01 14:22:26] local.INFO: Processing buffer {"connection_id":120909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cdf3128012cde4b8007327f880020000023..."} 
[2026-07-01 14:22:26] local.INFO: Packet analysis {"connection_id":120909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cdf"} 
[2026-07-01 14:22:26] local.INFO: Extracted packet for processing {"connection_id":120909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cdf"} 
[2026-07-01 14:22:26] local.INFO: GPS Element Parsed {"raw_longitude":752765824,"raw_latitude":120749960,"longitude_deg":75.2765824,"latitude_deg":12.074996,"altitude":32,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2cde4b80","hex_latitude":"07327f88","is_valid_coordinates":true} 
[2026-07-01 14:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:22:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421293568001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:22:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 14:22:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2423499518566823936,"note":"Value kept but may cause issues"} 
[2026-07-01 14:22:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:22:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782895817000,"timestamp_ms":1782895817000,"timestamp_seconds":1782895817,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cdf3128"} 
[2026-07-01 14:22:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:22:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 14:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-01 14:22:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14:22:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:22:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:22:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:22:26] local.INFO: Teltonika packet parsed successfully {"connection_id":120909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:22:26] local.INFO: Passing IMEI to GPS processor {"connection_id":120909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:22:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":120909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:22:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 14:22:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:22:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:22:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421293568001,"66":25625,"61":206,"83":40960,"24":0,"16":333471628912492544,"44":-2423499518566823936},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-07-01 14:22:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:22:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:22:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421293568001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:22:26] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 14:22:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:22:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:22:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2423499518566823936,"description":"Unknown IO ID 44"} 
[2026-07-01 14:22:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421293568001,"power":25625,"unknown_61":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2423499518566823936}} 
[2026-07-01 14:22:26] local.INFO: DEBUG: GPS processor result {"connection_id":120909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:22:26] local.INFO: GPS data processed {"connection_id":120909,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:22:26] local.INFO: Acknowledgment sent {"connection_id":120909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:22:58] local.INFO: TCP Data received {"connection_id":120909,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cdf3128012cde4b8007327f880020000023..."} 
[2026-07-01 14:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cdf3128012cde4b8007327f880020000023..."} 
[2026-07-01 14:22:58] local.INFO: Processing buffer {"connection_id":120909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cdf3128012cde4b8007327f880020000023..."} 
[2026-07-01 14:22:58] local.INFO: Packet analysis {"connection_id":120909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cdf"} 
[2026-07-01 14:22:58] local.INFO: Extracted packet for processing {"connection_id":120909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cdf"} 
[2026-07-01 14:22:58] local.INFO: GPS Element Parsed {"raw_longitude":752765824,"raw_latitude":120749960,"longitude_deg":75.2765824,"latitude_deg":12.074996,"altitude":32,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2cde4b80","hex_latitude":"07327f88","is_valid_coordinates":true} 
[2026-07-01 14: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-01 14:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421293568001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 14:22:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2423499518566823936,"note":"Value kept but may cause issues"} 
[2026-07-01 14:22:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782895817000,"timestamp_ms":1782895817000,"timestamp_seconds":1782895817,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cdf3128"} 
[2026-07-01 14: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-01 14:22:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 14: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-01 14:22:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14: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-01 14: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-01 14:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:22: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-01 14:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421293568001,"66":25625,"61":206,"83":40960,"24":0,"16":333471628912492544,"44":-2423499518566823936},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-07-01 14:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:22:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:22:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421293568001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:22:58] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 14:22:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:22:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:22:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2423499518566823936,"description":"Unknown IO ID 44"} 
[2026-07-01 14:22:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421293568001,"power":25625,"unknown_61":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2423499518566823936}} 
[2026-07-01 14:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":120909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:22:58] local.INFO: GPS data processed {"connection_id":120909,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:22:58] local.INFO: Acknowledgment sent {"connection_id":120909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:23:26] local.INFO: TCP Data received {"connection_id":120910,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:23:26] local.INFO: Processing buffer {"connection_id":120910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:23:26] local.INFO: IMEI packet received {"connection_id":120910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 14:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":120910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:23:31] local.INFO: TCP Data received {"connection_id":120910,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:23:31] local.INFO: Processing buffer {"connection_id":120910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:23:31] local.INFO: IMEI packet received {"connection_id":120910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":120910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:23:31] local.INFO: TCP Data received {"connection_id":120910,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cdf3128012cde4b8007327f880020000023..."} 
[2026-07-01 14:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cdf3128012cde4b8007327f880020000023..."} 
[2026-07-01 14:23:31] local.INFO: Processing buffer {"connection_id":120910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cdf3128012cde4b8007327f880020000023..."} 
[2026-07-01 14:23:31] local.INFO: Packet analysis {"connection_id":120910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cdf"} 
[2026-07-01 14:23:31] local.INFO: Extracted packet for processing {"connection_id":120910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cdf"} 
[2026-07-01 14:23:31] local.INFO: GPS Element Parsed {"raw_longitude":752765824,"raw_latitude":120749960,"longitude_deg":75.2765824,"latitude_deg":12.074996,"altitude":32,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2cde4b80","hex_latitude":"07327f88","is_valid_coordinates":true} 
[2026-07-01 14:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421293568001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 14:23:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2423499518566823936,"note":"Value kept but may cause issues"} 
[2026-07-01 14:23:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782895817000,"timestamp_ms":1782895817000,"timestamp_seconds":1782895817,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cdf3128"} 
[2026-07-01 14:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:23:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 14:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-01 14:23:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14:23:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":120910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":120910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":120910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:23:31] 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-01 14:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421293568001,"66":25625,"61":206,"83":40960,"24":0,"16":333471628912492544,"44":-2423499518566823936},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-07-01 14:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421293568001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:23:31] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 14:23:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:23:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2423499518566823936,"description":"Unknown IO ID 44"} 
[2026-07-01 14:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421293568001,"power":25625,"unknown_61":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2423499518566823936}} 
[2026-07-01 14:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":120910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:23:31] local.INFO: GPS data processed {"connection_id":120910,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:23:31] local.INFO: Acknowledgment sent {"connection_id":120910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:23:36] local.INFO: TCP Data received {"connection_id":120910,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cdf3128012cde4b8007327f880020000023..."} 
[2026-07-01 14:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cdf3128012cde4b8007327f880020000023..."} 
[2026-07-01 14:23:36] local.INFO: Processing buffer {"connection_id":120910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cdf3128012cde4b8007327f880020000023..."} 
[2026-07-01 14:23:36] local.INFO: Packet analysis {"connection_id":120910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cdf"} 
[2026-07-01 14:23:36] local.INFO: Extracted packet for processing {"connection_id":120910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cdf"} 
[2026-07-01 14:23:36] local.INFO: GPS Element Parsed {"raw_longitude":752765824,"raw_latitude":120749960,"longitude_deg":75.2765824,"latitude_deg":12.074996,"altitude":32,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2cde4b80","hex_latitude":"07327f88","is_valid_coordinates":true} 
[2026-07-01 14: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-01 14:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421293568001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 14:23:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2423499518566823936,"note":"Value kept but may cause issues"} 
[2026-07-01 14:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782895817000,"timestamp_ms":1782895817000,"timestamp_seconds":1782895817,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cdf3128"} 
[2026-07-01 14: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-01 14:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 14: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-07-01 14:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14: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-01 14: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-01 14:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":120910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":120910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":120910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:23:36] 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-01 14:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421293568001,"66":25625,"61":206,"83":40960,"24":0,"16":333471628912492544,"44":-2423499518566823936},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,44]} 
[2026-07-01 14:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421293568001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:23:36] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 14:23:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:23:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2423499518566823936,"description":"Unknown IO ID 44"} 
[2026-07-01 14:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421293568001,"power":25625,"unknown_61":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2423499518566823936}} 
[2026-07-01 14:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":120910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:23:36] local.INFO: GPS data processed {"connection_id":120910,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:23:36] local.INFO: Acknowledgment sent {"connection_id":120910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:24:21] local.INFO: TCP Data received {"connection_id":119816,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:24:21] local.INFO: Processing buffer {"connection_id":119816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:24:21] local.INFO: IMEI packet received {"connection_id":119816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 14:24:21] local.INFO: IMEI acknowledgment sent {"connection_id":119816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:24:26] local.INFO: TCP Data received {"connection_id":119816,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:24:26] local.INFO: Processing buffer {"connection_id":119816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:24:26] local.INFO: IMEI packet received {"connection_id":119816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":119816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:24:26] local.INFO: TCP Data received {"connection_id":119816,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ce27130012cde4bc007327f88001c000027..."} 
[2026-07-01 14:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ce27130012cde4bc007327f88001c000027..."} 
[2026-07-01 14:24:26] local.INFO: Processing buffer {"connection_id":119816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ce27130012cde4bc007327f88001c000027..."} 
[2026-07-01 14:24:26] local.INFO: Packet analysis {"connection_id":119816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ce2"} 
[2026-07-01 14:24:26] local.INFO: Extracted packet for processing {"connection_id":119816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ce2"} 
[2026-07-01 14:24:26] local.INFO: GPS Element Parsed {"raw_longitude":752765888,"raw_latitude":120749960,"longitude_deg":75.2765888,"latitude_deg":12.074996,"altitude":28,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2cde4bc0","hex_latitude":"07327f88","is_valid_coordinates":true} 
[2026-07-01 14:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421329152001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471628912492544,"note":"Value kept but may cause issues"} 
[2026-07-01 14:24:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2428706805635905536,"note":"Value kept but may cause issues"} 
[2026-07-01 14:24:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782896030000,"timestamp_ms":1782896030000,"timestamp_seconds":1782896030,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ce27130"} 
[2026-07-01 14:24:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:24:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 14:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-01 14:24:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14:24:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:24:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:24:26] 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-01 14:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421329152001,"66":25625,"195":206,"83":40960,"24":0,"16":333471628912492544,"44":-2428706805635905536},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,83,24,16,44]} 
[2026-07-01 14:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421329152001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:24:26] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-01 14:24:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471628912492544,"km_value":333471628912492.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:24:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2428706805635905536,"description":"Unknown IO ID 44"} 
[2026-07-01 14:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421329152001,"power":25625,"unknown_195":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2428706805635905536}} 
[2026-07-01 14:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":119816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:24:26] local.INFO: GPS data processed {"connection_id":119816,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:24:26] local.INFO: Acknowledgment sent {"connection_id":119816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:24:58] local.INFO: TCP Data received {"connection_id":119816,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ce2cb08012cde4b4007328010001b000027..."} 
[2026-07-01 14:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ce2cb08012cde4b4007328010001b000027..."} 
[2026-07-01 14:24:58] local.INFO: Processing buffer {"connection_id":119816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ce2cb08012cde4b4007328010001b000027..."} 
[2026-07-01 14:24:58] local.INFO: Packet analysis {"connection_id":119816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ce2"} 
[2026-07-01 14:24:58] local.INFO: Extracted packet for processing {"connection_id":119816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ce2"} 
[2026-07-01 14:24:58] local.INFO: GPS Element Parsed {"raw_longitude":752765760,"raw_latitude":120750096,"longitude_deg":75.276576,"latitude_deg":12.0750096,"altitude":27,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2cde4b40","hex_latitude":"07328010","is_valid_coordinates":true} 
[2026-07-01 14: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-01 14:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421383680001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:24:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471637502427136,"note":"Value kept but may cause issues"} 
[2026-07-01 14:24:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2428636436891727872,"note":"Value kept but may cause issues"} 
[2026-07-01 14:24:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:24:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782896053000,"timestamp_ms":1782896053000,"timestamp_seconds":1782896053,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ce2cb08"} 
[2026-07-01 14: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-01 14:24:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 14: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-01 14:24:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14: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-01 14: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-01 14:24:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:24:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:24:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:24:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:24:58] 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-01 14:24:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:24:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:24:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421383680001,"66":27658,"195":206,"83":40960,"24":0,"16":333471637502427136,"44":-2428636436891727872},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,83,24,16,44]} 
[2026-07-01 14:24:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:24:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:24:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421383680001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:24:58] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-01 14:24:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:24:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471637502427136,"km_value":333471637502427.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:24:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2428636436891727872,"description":"Unknown IO ID 44"} 
[2026-07-01 14:24:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421383680001,"power":27658,"unknown_195":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2428636436891727872}} 
[2026-07-01 14:24:58] local.INFO: DEBUG: GPS processor result {"connection_id":119816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:24:58] local.INFO: GPS data processed {"connection_id":119816,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:24:58] local.INFO: Acknowledgment sent {"connection_id":119816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:25:21] local.INFO: TCP Data received {"connection_id":120911,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:25:21] local.INFO: Processing buffer {"connection_id":120911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:25:21] local.INFO: IMEI packet received {"connection_id":120911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 14:25:21] local.INFO: IMEI acknowledgment sent {"connection_id":120911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:25:25] local.INFO: TCP Data received {"connection_id":120911,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:25:25] local.INFO: Processing buffer {"connection_id":120911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:25:25] local.INFO: IMEI packet received {"connection_id":120911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":120911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:25:26] local.INFO: TCP Data received {"connection_id":120911,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ce31d10012cde4b4007327fd8001a000027..."} 
[2026-07-01 14:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ce31d10012cde4b4007327fd8001a000027..."} 
[2026-07-01 14:25:26] local.INFO: Processing buffer {"connection_id":120911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ce31d10012cde4b4007327fd8001a000027..."} 
[2026-07-01 14:25:26] local.INFO: Packet analysis {"connection_id":120911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ce3"} 
[2026-07-01 14:25:26] local.INFO: Extracted packet for processing {"connection_id":120911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ce3"} 
[2026-07-01 14:25:26] local.INFO: GPS Element Parsed {"raw_longitude":752765760,"raw_latitude":120750040,"longitude_deg":75.276576,"latitude_deg":12.075004,"altitude":26,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2cde4b40","hex_latitude":"07327fd8","is_valid_coordinates":true} 
[2026-07-01 14:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421389568001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:25:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471641797394432,"note":"Value kept but may cause issues"} 
[2026-07-01 14:25:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2428777174380048384,"note":"Value kept but may cause issues"} 
[2026-07-01 14:25:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:25:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782896074000,"timestamp_ms":1782896074000,"timestamp_seconds":1782896074,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ce31d10"} 
[2026-07-01 14:25:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:25: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-01 14:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-01 14:25:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14:25:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:25:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:25:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:25:26] local.INFO: Teltonika packet parsed successfully {"connection_id":120911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:25:26] local.INFO: Passing IMEI to GPS processor {"connection_id":120911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:25:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":120911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:25:26] 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-01 14:25:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:25:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:25:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421389568001,"66":27626,"195":206,"83":40960,"24":0,"16":333471641797394432,"44":-2428777174380048384},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,83,24,16,44]} 
[2026-07-01 14:25:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:25:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:25:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421389568001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:25:26] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-01 14:25:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:25:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471641797394432,"km_value":333471641797394.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:25:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2428777174380048384,"description":"Unknown IO ID 44"} 
[2026-07-01 14:25:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421389568001,"power":27626,"unknown_195":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2428777174380048384}} 
[2026-07-01 14:25:26] local.INFO: DEBUG: GPS processor result {"connection_id":120911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:25:26] local.INFO: GPS data processed {"connection_id":120911,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:25:26] local.INFO: Acknowledgment sent {"connection_id":120911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:25:45] local.INFO: TCP Data received {"connection_id":119040,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119040,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:25:45] local.INFO: Processing buffer {"connection_id":119040,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:25:45] local.INFO: IMEI packet received {"connection_id":119040,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 14:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":119040,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:26:00] local.INFO: TCP Data received {"connection_id":120911,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ce36b30012cde4b8007327fb0001b000028..."} 
[2026-07-01 14:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ce36b30012cde4b8007327fb0001b000028..."} 
[2026-07-01 14:26:00] local.INFO: Processing buffer {"connection_id":120911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ce36b30012cde4b8007327fb0001b000028..."} 
[2026-07-01 14:26:00] local.INFO: Packet analysis {"connection_id":120911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ce3"} 
[2026-07-01 14:26:00] local.INFO: Extracted packet for processing {"connection_id":120911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ce3"} 
[2026-07-01 14:26:00] local.INFO: GPS Element Parsed {"raw_longitude":752765824,"raw_latitude":120750000,"longitude_deg":75.2765824,"latitude_deg":12.075,"altitude":27,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2cde4b80","hex_latitude":"07327fb0","is_valid_coordinates":true} 
[2026-07-01 14:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421394944001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471646092361728,"note":"Value kept but may cause issues"} 
[2026-07-01 14:26:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2428777174380062720,"note":"Value kept but may cause issues"} 
[2026-07-01 14:26:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782896094000,"timestamp_ms":1782896094000,"timestamp_seconds":1782896094,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ce36b30"} 
[2026-07-01 14:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:26:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 14:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-01 14:26:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14:26:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":120911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":120911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":120911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:26:00] 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-01 14:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421394944001,"66":27626,"195":206,"83":40960,"24":0,"16":333471646092361728,"44":-2428777174380062720},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,83,24,16,44]} 
[2026-07-01 14:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421394944001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:26:00] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-01 14:26:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471646092361728,"km_value":333471646092361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:26:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2428777174380062720,"description":"Unknown IO ID 44"} 
[2026-07-01 14:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421394944001,"power":27626,"unknown_195":206,"unknown_83":40960,"ignition":0,"odometer":null,"unknown_44":-2428777174380062720}} 
[2026-07-01 14:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":120911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:26:00] local.INFO: GPS data processed {"connection_id":120911,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:26:00] local.INFO: Acknowledgment sent {"connection_id":120911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:26:20] local.INFO: TCP Data received {"connection_id":119817,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119817,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:26:20] local.INFO: Processing buffer {"connection_id":119817,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:26:20] local.INFO: IMEI packet received {"connection_id":119817,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 14:26:20] local.INFO: IMEI acknowledgment sent {"connection_id":119817,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:26:21] local.INFO: TCP Data received {"connection_id":119151,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:26:21] local.INFO: Processing buffer {"connection_id":119151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:26:21] local.INFO: IMEI packet received {"connection_id":119151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 14:26:21] local.INFO: IMEI acknowledgment sent {"connection_id":119151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:26:25] local.INFO: TCP Data received {"connection_id":119151,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:26:25] local.INFO: Processing buffer {"connection_id":119151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:26:25] local.INFO: IMEI packet received {"connection_id":119151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":119151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:26:25] local.INFO: TCP Data received {"connection_id":119151,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ce38a70012cde4ac007327fc8001b011427..."} 
[2026-07-01 14:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ce38a70012cde4ac007327fc8001b011427..."} 
[2026-07-01 14:26:25] local.INFO: Processing buffer {"connection_id":119151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ce38a70012cde4ac007327fc8001b011427..."} 
[2026-07-01 14:26:25] local.INFO: Packet analysis {"connection_id":119151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ce3"} 
[2026-07-01 14:26:25] local.INFO: Extracted packet for processing {"connection_id":119151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ce3"} 
[2026-07-01 14:26:25] local.INFO: GPS Element Parsed {"raw_longitude":752765632,"raw_latitude":120750024,"longitude_deg":75.2765632,"latitude_deg":12.0750024,"altitude":27,"angle":276,"satellites":39,"speed":5,"hex_longitude":"2cde4ac0","hex_latitude":"07327fc8","is_valid_coordinates":true} 
[2026-07-01 14:26:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421400064001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333471654682296320,"note":"Value kept but may cause issues"} 
[2026-07-01 14:26:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2428706805635895296,"note":"Value kept but may cause issues"} 
[2026-07-01 14:26:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782896102000,"timestamp_ms":1782896102000,"timestamp_seconds":1782896102,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ce38a70"} 
[2026-07-01 14:26:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:26:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 14:26:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-01 14:26:25] 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-01 14:26:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:26:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:26:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 14:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421400064001,"66":27800,"195":206,"83":40960,"24":5,"16":333471654682296320,"44":-2428706805635895296},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,83,24,16,44]} 
[2026-07-01 14:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421400064001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:26:25] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-01 14:26:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333471654682296320,"km_value":333471654682296.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:26:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2428706805635895296,"description":"Unknown IO ID 44"} 
[2026-07-01 14:26:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421400064001,"power":27800,"unknown_195":206,"unknown_83":40960,"ignition":5,"odometer":null,"unknown_44":-2428706805635895296}} 
[2026-07-01 14:26:25] local.INFO: DEBUG: GPS processor result {"connection_id":119151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:26:25] local.INFO: GPS data processed {"connection_id":119151,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:26:25] local.INFO: Acknowledgment sent {"connection_id":119151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:26:57] local.INFO: TCP Data received {"connection_id":119151,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ce3d0c0012cde2600073282380019011127..."} 
[2026-07-01 14:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ce3d0c0012cde2600073282380019011127..."} 
[2026-07-01 14:26:57] local.INFO: Processing buffer {"connection_id":119151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ce3d0c0012cde2600073282380019011127..."} 
[2026-07-01 14:26:57] local.INFO: Packet analysis {"connection_id":119151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ce3"} 
[2026-07-01 14:26:57] local.INFO: Extracted packet for processing {"connection_id":119151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ce3"} 
[2026-07-01 14:26:57] local.INFO: GPS Element Parsed {"raw_longitude":752756224,"raw_latitude":120750648,"longitude_deg":75.2756224,"latitude_deg":12.0750648,"altitude":25,"angle":273,"satellites":39,"speed":31,"hex_longitude":"2cde2600","hex_latitude":"07328238","is_valid_coordinates":true} 
[2026-07-01 14:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:26:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421402112001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:26:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333472101358895104,"note":"Value kept but may cause issues"} 
[2026-07-01 14:26:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2428917911868422144,"note":"Value kept but may cause issues"} 
[2026-07-01 14:26:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:26:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782896120000,"timestamp_ms":1782896120000,"timestamp_seconds":1782896120,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ce3d0c0"} 
[2026-07-01 14:26:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:26:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 14:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 14:26:57] 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-01 14:26:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:26:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:26:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:26:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:26:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:26:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:26:57] 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-01 14:26:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:26:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:26:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421402112001,"66":27908,"195":206,"83":40960,"24":31,"16":333472101358895104,"44":-2428917911868422144},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,83,24,16,44]} 
[2026-07-01 14:26:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:26:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:26:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421402112001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:26:57] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-01 14:26:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:26:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333472101358895104,"km_value":333472101358895.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:26:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2428917911868422144,"description":"Unknown IO ID 44"} 
[2026-07-01 14:26:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421402112001,"power":27908,"unknown_195":206,"unknown_83":40960,"ignition":31,"odometer":null,"unknown_44":-2428917911868422144}} 
[2026-07-01 14:26:57] local.INFO: DEBUG: GPS processor result {"connection_id":119151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:26:57] local.INFO: GPS data processed {"connection_id":119151,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:26:57] local.INFO: Acknowledgment sent {"connection_id":119151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:27:20] local.INFO: TCP Data received {"connection_id":119819,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:27:20] local.INFO: Processing buffer {"connection_id":119819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:27:20] local.INFO: IMEI packet received {"connection_id":119819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 14:27:20] local.INFO: IMEI acknowledgment sent {"connection_id":119819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:27:26] local.INFO: TCP Data received {"connection_id":119819,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:27:26] local.INFO: Processing buffer {"connection_id":119819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:27:26] local.INFO: IMEI packet received {"connection_id":119819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":119819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:27:26] local.INFO: TCP Data received {"connection_id":119819,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ce53820012cdcab000732fad8001a012d29..."} 
[2026-07-01 14:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ce53820012cdcab000732fad8001a012d29..."} 
[2026-07-01 14:27:26] local.INFO: Processing buffer {"connection_id":119819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ce53820012cdcab000732fad8001a012d29..."} 
[2026-07-01 14:27:26] local.INFO: Packet analysis {"connection_id":119819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ce5"} 
[2026-07-01 14:27:26] local.INFO: Extracted packet for processing {"connection_id":119819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ce5"} 
[2026-07-01 14:27:26] local.INFO: GPS Element Parsed {"raw_longitude":752659200,"raw_latitude":120781528,"longitude_deg":75.26592,"latitude_deg":12.0781528,"altitude":26,"angle":301,"satellites":41,"speed":43,"hex_longitude":"2cdcab00","hex_latitude":"0732fad8","is_valid_coordinates":true} 
[2026-07-01 14: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-01 14:27:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421427968001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:27:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333477057751154688,"note":"Value kept but may cause issues"} 
[2026-07-01 14:27:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2536582090453481472,"note":"Value kept but may cause issues"} 
[2026-07-01 14:27:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:27:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782896212000,"timestamp_ms":1782896212000,"timestamp_seconds":1782896212,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ce53820"} 
[2026-07-01 14: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-01 14:27:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 14: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-07-01 14:27:26] 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-01 14: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-01 14: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-01 14:27:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:27:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:27:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:27:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:27:26] 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-01 14:27:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:27:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:27:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421427968001,"66":27767,"154":206,"83":40960,"24":43,"16":333477057751154688,"44":-2536582090453481472},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,83,24,16,44]} 
[2026-07-01 14:27:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:27:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:27:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421427968001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:27:26] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-01 14:27:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:27:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333477057751154688,"km_value":333477057751154.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:27:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2536582090453481472,"description":"Unknown IO ID 44"} 
[2026-07-01 14:27:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421427968001,"power":27767,"unknown_154":206,"unknown_83":40960,"ignition":43,"odometer":null,"unknown_44":-2536582090453481472}} 
[2026-07-01 14:27:26] local.INFO: DEBUG: GPS processor result {"connection_id":119819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:27:26] local.INFO: GPS data processed {"connection_id":119819,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:27:26] local.INFO: Acknowledgment sent {"connection_id":119819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:27:58] local.INFO: TCP Data received {"connection_id":119819,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ce55b48012cdc8a8007330ea0001b012d28..."} 
[2026-07-01 14:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ce55b48012cdc8a8007330ea0001b012d28..."} 
[2026-07-01 14:27:58] local.INFO: Processing buffer {"connection_id":119819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ce55b48012cdc8a8007330ea0001b012d28..."} 
[2026-07-01 14:27:58] local.INFO: Packet analysis {"connection_id":119819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ce5"} 
[2026-07-01 14:27:58] local.INFO: Extracted packet for processing {"connection_id":119819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ce5"} 
[2026-07-01 14:27:58] local.INFO: GPS Element Parsed {"raw_longitude":752650880,"raw_latitude":120786592,"longitude_deg":75.265088,"latitude_deg":12.0786592,"altitude":27,"angle":301,"satellites":40,"speed":42,"hex_longitude":"2cdc8a80","hex_latitude":"07330ea0","is_valid_coordinates":true} 
[2026-07-01 14: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-01 14:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421430272001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333477521607622656,"note":"Value kept but may cause issues"} 
[2026-07-01 14:27:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2545941133427812352,"note":"Value kept but may cause issues"} 
[2026-07-01 14:27:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782896221000,"timestamp_ms":1782896221000,"timestamp_seconds":1782896221,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ce55b48"} 
[2026-07-01 14: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-01 14:27:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 14: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 14:27:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14: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-01 14: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-01 14:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:27:58] 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-01 14:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421430272001,"66":27865,"154":206,"83":40960,"24":42,"16":333477521607622656,"44":-2545941133427812352},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,83,24,16,44]} 
[2026-07-01 14:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421430272001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:27:58] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-01 14:27:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333477521607622656,"km_value":333477521607622.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:27:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2545941133427812352,"description":"Unknown IO ID 44"} 
[2026-07-01 14:27:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421430272001,"power":27865,"unknown_154":206,"unknown_83":40960,"ignition":42,"odometer":null,"unknown_44":-2545941133427812352}} 
[2026-07-01 14:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":119819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:27:58] local.INFO: GPS data processed {"connection_id":119819,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:27:58] local.INFO: Acknowledgment sent {"connection_id":119819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:28:22] local.INFO: TCP Data received {"connection_id":119041,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:28:22] local.INFO: Processing buffer {"connection_id":119041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:28:22] local.INFO: IMEI packet received {"connection_id":119041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 14:28:22] local.INFO: IMEI acknowledgment sent {"connection_id":119041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:28:25] local.INFO: TCP Data received {"connection_id":119041,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:28:25] local.INFO: Processing buffer {"connection_id":119041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:28:25] local.INFO: IMEI packet received {"connection_id":119041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":119041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:28:28] local.INFO: TCP Data received {"connection_id":119041,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:28:28] local.INFO: Processing buffer {"connection_id":119041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:28:28] local.INFO: IMEI packet received {"connection_id":119041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":119041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:28:28] local.INFO: TCP Data received {"connection_id":119041,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ce57e70012cdc69c007332270001c012d29..."} 
[2026-07-01 14:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ce57e70012cdc69c007332270001c012d29..."} 
[2026-07-01 14:28:28] local.INFO: Processing buffer {"connection_id":119041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ce57e70012cdc69c007332270001c012d29..."} 
[2026-07-01 14:28:28] local.INFO: Packet analysis {"connection_id":119041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ce5"} 
[2026-07-01 14:28:28] local.INFO: Extracted packet for processing {"connection_id":119041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ce5"} 
[2026-07-01 14:28:28] local.INFO: GPS Element Parsed {"raw_longitude":752642496,"raw_latitude":120791664,"longitude_deg":75.2642496,"latitude_deg":12.0791664,"altitude":28,"angle":301,"satellites":41,"speed":43,"hex_longitude":"2cdc69c0","hex_latitude":"07332270","is_valid_coordinates":true} 
[2026-07-01 14:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:28:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421432576001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:28:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333477989759057920,"note":"Value kept but may cause issues"} 
[2026-07-01 14:28:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2555089070169612288,"note":"Value kept but may cause issues"} 
[2026-07-01 14:28:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:28:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782896230000,"timestamp_ms":1782896230000,"timestamp_seconds":1782896230,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ce57e70"} 
[2026-07-01 14:28:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:28: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-01 14:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 14:28:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14:28:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:28:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:28:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:28:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:28:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:28:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:28:28] 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-01 14:28:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:28:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:28:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421432576001,"66":27876,"154":206,"83":40960,"24":43,"16":333477989759057920,"44":-2555089070169612288},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,83,24,16,44]} 
[2026-07-01 14:28:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:28:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:28:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421432576001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:28:28] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-01 14:28:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:28:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333477989759057920,"km_value":333477989759057.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:28:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2555089070169612288,"description":"Unknown IO ID 44"} 
[2026-07-01 14:28:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421432576001,"power":27876,"unknown_154":206,"unknown_83":40960,"ignition":43,"odometer":null,"unknown_44":-2555089070169612288}} 
[2026-07-01 14:28:28] local.INFO: DEBUG: GPS processor result {"connection_id":119041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:28:28] local.INFO: GPS data processed {"connection_id":119041,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:28:28] local.INFO: Acknowledgment sent {"connection_id":119041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:29:00] local.INFO: TCP Data received {"connection_id":119041,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ce5a198012cdc488007333698001d012d29..."} 
[2026-07-01 14:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ce5a198012cdc488007333698001d012d29..."} 
[2026-07-01 14:29:00] local.INFO: Processing buffer {"connection_id":119041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ce5a198012cdc488007333698001d012d29..."} 
[2026-07-01 14:29:00] local.INFO: Packet analysis {"connection_id":119041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ce5"} 
[2026-07-01 14:29:00] local.INFO: Extracted packet for processing {"connection_id":119041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ce5"} 
[2026-07-01 14:29:00] local.INFO: GPS Element Parsed {"raw_longitude":752633984,"raw_latitude":120796824,"longitude_deg":75.2633984,"latitude_deg":12.0796824,"altitude":29,"angle":301,"satellites":41,"speed":43,"hex_longitude":"2cdc4880","hex_latitude":"07333698","is_valid_coordinates":true} 
[2026-07-01 14: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-01 14:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421434880001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333478466500427776,"note":"Value kept but may cause issues"} 
[2026-07-01 14:29:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2564307375655587840,"note":"Value kept but may cause issues"} 
[2026-07-01 14:29:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782896239000,"timestamp_ms":1782896239000,"timestamp_seconds":1782896239,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ce5a198"} 
[2026-07-01 14: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-01 14:29:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 14:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-01 14:29:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14: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-01 14: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-01 14:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":119041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":119041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":119041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:29:00] 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-01 14:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421434880001,"66":27908,"154":206,"83":40960,"24":43,"16":333478466500427776,"44":-2564307375655587840},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,83,24,16,44]} 
[2026-07-01 14:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421434880001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:29:00] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-01 14:29:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333478466500427776,"km_value":333478466500427.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:29:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2564307375655587840,"description":"Unknown IO ID 44"} 
[2026-07-01 14:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421434880001,"power":27908,"unknown_154":206,"unknown_83":40960,"ignition":43,"odometer":null,"unknown_44":-2564307375655587840}} 
[2026-07-01 14:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":119041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:29:00] local.INFO: GPS data processed {"connection_id":119041,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:29:00] local.INFO: Acknowledgment sent {"connection_id":119041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:29:18] local.INFO: TCP Data received {"connection_id":119820,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:29:18] local.INFO: Processing buffer {"connection_id":119820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:29:18] local.INFO: IMEI packet received {"connection_id":119820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 14:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":119820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:29:25] local.INFO: TCP Data received {"connection_id":119820,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:29:25] local.INFO: Processing buffer {"connection_id":119820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:29:25] local.INFO: IMEI packet received {"connection_id":119820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":119820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:29:25] local.INFO: TCP Data received {"connection_id":119820,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:29:25] local.INFO: Processing buffer {"connection_id":119820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:29:25] local.INFO: IMEI packet received {"connection_id":119820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":119820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:29:36] local.INFO: TCP Data received {"connection_id":119820,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ce6f188012cdb27c00733f098001801482a..."} 
[2026-07-01 14:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ce6f188012cdb27c00733f098001801482a..."} 
[2026-07-01 14:29:36] local.INFO: Processing buffer {"connection_id":119820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ce6f188012cdb27c00733f098001801482a..."} 
[2026-07-01 14:29:36] local.INFO: Packet analysis {"connection_id":119820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ce6"} 
[2026-07-01 14:29:36] local.INFO: Extracted packet for processing {"connection_id":119820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ce6"} 
[2026-07-01 14:29:36] local.INFO: GPS Element Parsed {"raw_longitude":752560064,"raw_latitude":120844440,"longitude_deg":75.2560064,"latitude_deg":12.084444,"altitude":24,"angle":328,"satellites":42,"speed":45,"hex_longitude":"2cdb27c0","hex_latitude":"0733f098","is_valid_coordinates":true} 
[2026-07-01 14:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421456896001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333482860251971584,"note":"Value kept but may cause issues"} 
[2026-07-01 14:29:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2650157243540883456,"note":"Value kept but may cause issues"} 
[2026-07-01 14:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782896325000,"timestamp_ms":1782896325000,"timestamp_seconds":1782896325,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ce6f188"} 
[2026-07-01 14:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 14:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-01 14:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":119820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":119820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":119820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:29:36] 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-01 14:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421456896001,"66":27995,"146":206,"83":40960,"24":45,"16":333482860251971584,"44":-2650157243540883456},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-07-01 14:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421456896001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:29:36] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-07-01 14:29:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333482860251971584,"km_value":333482860251971.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:29:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2650157243540883456,"description":"Unknown IO ID 44"} 
[2026-07-01 14:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421456896001,"power":27995,"unknown_146":206,"unknown_83":40960,"ignition":45,"odometer":null,"unknown_44":-2650157243540883456}} 
[2026-07-01 14:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":119820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:29:36] local.INFO: GPS data processed {"connection_id":119820,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:29:36] local.INFO: Acknowledgment sent {"connection_id":119820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:29:37] local.INFO: TCP Data received {"connection_id":119820,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ce710c8012cdb130007341118001601482b..."} 
[2026-07-01 14:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ce710c8012cdb130007341118001601482b..."} 
[2026-07-01 14:29:37] local.INFO: Processing buffer {"connection_id":119820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ce710c8012cdb130007341118001601482b..."} 
[2026-07-01 14:29:37] local.INFO: Packet analysis {"connection_id":119820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ce7"} 
[2026-07-01 14:29:37] local.INFO: Extracted packet for processing {"connection_id":119820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ce7"} 
[2026-07-01 14:29:37] local.INFO: GPS Element Parsed {"raw_longitude":752554752,"raw_latitude":120852760,"longitude_deg":75.2554752,"latitude_deg":12.085276,"altitude":22,"angle":328,"satellites":43,"speed":50,"hex_longitude":"2cdb1300","hex_latitude":"07341118","is_valid_coordinates":true} 
[2026-07-01 14:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421459200001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333483336993341440,"note":"Value kept but may cause issues"} 
[2026-07-01 14:29:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2654942318142908416,"note":"Value kept but may cause issues"} 
[2026-07-01 14:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782896333000,"timestamp_ms":1782896333000,"timestamp_seconds":1782896333,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ce710c8"} 
[2026-07-01 14:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 14:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-01 14:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":119820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":119820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":119820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 14:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421459200001,"66":28028,"145":206,"83":40960,"24":50,"16":333483336993341440,"44":-2654942318142908416},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,44]} 
[2026-07-01 14:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421459200001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:29:37] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-01 14:29:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333483336993341440,"km_value":333483336993341.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:29:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2654942318142908416,"description":"Unknown IO ID 44"} 
[2026-07-01 14:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421459200001,"power":28028,"unknown_145":206,"unknown_83":40960,"ignition":50,"odometer":null,"unknown_44":-2654942318142908416}} 
[2026-07-01 14:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":119820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:29:37] local.INFO: GPS data processed {"connection_id":119820,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:29:37] local.INFO: Acknowledgment sent {"connection_id":119820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:30:18] local.INFO: TCP Data received {"connection_id":119153,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:30:18] local.INFO: Processing buffer {"connection_id":119153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:30:18] local.INFO: IMEI packet received {"connection_id":119153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 14:30:18] local.INFO: IMEI acknowledgment sent {"connection_id":119153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:30:21] local.INFO: TCP Data received {"connection_id":119153,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:30:21] local.INFO: Processing buffer {"connection_id":119153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:30:21] local.INFO: IMEI packet received {"connection_id":119153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":119153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:30:25] local.INFO: TCP Data received {"connection_id":119153,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:30:25] local.INFO: Processing buffer {"connection_id":119153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:30:25] local.INFO: IMEI packet received {"connection_id":119153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":119153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:30:26] local.INFO: TCP Data received {"connection_id":119153,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ce73008012cdafdc0073431a0001601462b..."} 
[2026-07-01 14:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ce73008012cdafdc0073431a0001601462b..."} 
[2026-07-01 14:30:26] local.INFO: Processing buffer {"connection_id":119153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ce73008012cdafdc0073431a0001601462b..."} 
[2026-07-01 14:30:26] local.INFO: Packet analysis {"connection_id":119153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ce7"} 
[2026-07-01 14:30:26] local.INFO: Extracted packet for processing {"connection_id":119153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ce7"} 
[2026-07-01 14:30:26] local.INFO: GPS Element Parsed {"raw_longitude":752549312,"raw_latitude":120861088,"longitude_deg":75.2549312,"latitude_deg":12.0861088,"altitude":22,"angle":326,"satellites":43,"speed":47,"hex_longitude":"2cdafdc0","hex_latitude":"073431a0","is_valid_coordinates":true} 
[2026-07-01 14:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:30:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421461248001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:30:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333483818029678592,"note":"Value kept but may cause issues"} 
[2026-07-01 14:30:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2660782923907524608,"note":"Value kept but may cause issues"} 
[2026-07-01 14:30:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:30:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782896341000,"timestamp_ms":1782896341000,"timestamp_seconds":1782896341,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ce73008"} 
[2026-07-01 14:30:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:30:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 14:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-01 14:30:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14:30:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:30:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:30:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:30:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:30:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:30:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:30:26] 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-01 14:30:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:30:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:30:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421461248001,"66":28050,"145":206,"83":40960,"24":47,"16":333483818029678592,"44":-2660782923907524608},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,44]} 
[2026-07-01 14:30:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:30:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:30:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421461248001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:30:26] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-01 14:30:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:30:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333483818029678592,"km_value":333483818029678.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:30:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2660782923907524608,"description":"Unknown IO ID 44"} 
[2026-07-01 14:30:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421461248001,"power":28050,"unknown_145":206,"unknown_83":40960,"ignition":47,"odometer":null,"unknown_44":-2660782923907524608}} 
[2026-07-01 14:30:26] local.INFO: DEBUG: GPS processor result {"connection_id":119153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:30:26] local.INFO: GPS data processed {"connection_id":119153,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:30:26] local.INFO: Acknowledgment sent {"connection_id":119153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:30:57] local.INFO: TCP Data received {"connection_id":119153,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ce74f48012cdae88007344f40001601432a..."} 
[2026-07-01 14:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ce74f48012cdae88007344f40001601432a..."} 
[2026-07-01 14:30:57] local.INFO: Processing buffer {"connection_id":119153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ce74f48012cdae88007344f40001601432a..."} 
[2026-07-01 14:30:57] local.INFO: Packet analysis {"connection_id":119153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ce7"} 
[2026-07-01 14:30:57] local.INFO: Extracted packet for processing {"connection_id":119153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ce7"} 
[2026-07-01 14:30:57] local.INFO: GPS Element Parsed {"raw_longitude":752543872,"raw_latitude":120868672,"longitude_deg":75.2543872,"latitude_deg":12.0868672,"altitude":22,"angle":323,"satellites":42,"speed":44,"hex_longitude":"2cdae880","hex_latitude":"07344f40","is_valid_coordinates":true} 
[2026-07-01 14:30:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:30:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421463296001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:30:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333484264706277376,"note":"Value kept but may cause issues"} 
[2026-07-01 14:30:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2666764267160494080,"note":"Value kept but may cause issues"} 
[2026-07-01 14:30:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:30:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782896349000,"timestamp_ms":1782896349000,"timestamp_seconds":1782896349,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ce74f48"} 
[2026-07-01 14:30:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:30:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 14:30:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-01 14:30:57] 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-01 14:30:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:30:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:30:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:30:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:30:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:30:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:30:57] 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-01 14:30:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:30:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:30:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421463296001,"66":27821,"145":206,"83":40960,"24":44,"16":333484264706277376,"44":-2666764267160494080},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,44]} 
[2026-07-01 14:30:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:30:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:30:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421463296001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:30:57] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-01 14:30:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:30:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333484264706277376,"km_value":333484264706277.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:30:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2666764267160494080,"description":"Unknown IO ID 44"} 
[2026-07-01 14:30:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421463296001,"power":27821,"unknown_145":206,"unknown_83":40960,"ignition":44,"odometer":null,"unknown_44":-2666764267160494080}} 
[2026-07-01 14:30:57] local.INFO: DEBUG: GPS processor result {"connection_id":119153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:30:57] local.INFO: GPS data processed {"connection_id":119153,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:30:57] local.INFO: Acknowledgment sent {"connection_id":119153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:31:20] local.INFO: TCP Data received {"connection_id":119821,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:31:20] local.INFO: Processing buffer {"connection_id":119821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:31:20] local.INFO: IMEI packet received {"connection_id":119821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 14:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":119821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:31:21] local.INFO: TCP Data received {"connection_id":119821,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:31:21] local.INFO: Processing buffer {"connection_id":119821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:31:21] local.INFO: IMEI packet received {"connection_id":119821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:31:21] local.INFO: IMEI acknowledgment sent {"connection_id":119821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:31:25] local.INFO: TCP Data received {"connection_id":119821,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:31:25] local.INFO: Processing buffer {"connection_id":119821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:31:25] local.INFO: IMEI packet received {"connection_id":119821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":119821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:31:26] local.INFO: TCP Data received {"connection_id":119821,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ce8b6a8012cd9aac0073548b00019012427..."} 
[2026-07-01 14:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ce8b6a8012cd9aac0073548b00019012427..."} 
[2026-07-01 14:31:26] local.INFO: Processing buffer {"connection_id":119821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ce8b6a8012cd9aac0073548b00019012427..."} 
[2026-07-01 14:31:26] local.INFO: Packet analysis {"connection_id":119821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ce8"} 
[2026-07-01 14:31:26] local.INFO: Extracted packet for processing {"connection_id":119821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ce8"} 
[2026-07-01 14:31:26] local.INFO: GPS Element Parsed {"raw_longitude":752462528,"raw_latitude":120932528,"longitude_deg":75.2462528,"latitude_deg":12.0932528,"altitude":25,"angle":292,"satellites":39,"speed":46,"hex_longitude":"2cd9aac0","hex_latitude":"073548b0","is_valid_coordinates":true} 
[2026-07-01 14:31:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421486848001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333489259753242624,"note":"Value kept but may cause issues"} 
[2026-07-01 14:31:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2752614135039870976,"note":"Value kept but may cause issues"} 
[2026-07-01 14:31:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782896441000,"timestamp_ms":1782896441000,"timestamp_seconds":1782896441,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ce8b6a8"} 
[2026-07-01 14:31:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:31:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 14:31:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-01 14:31:26] 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-01 14:31:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:31:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:31:26] 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-01 14:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421486848001,"66":28093,"163":206,"83":40960,"24":46,"16":333489259753242624,"44":-2752614135039870976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-07-01 14:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421486848001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:31:26] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-01 14:31:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333489259753242624,"km_value":333489259753242.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:31:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2752614135039870976,"description":"Unknown IO ID 44"} 
[2026-07-01 14:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421486848001,"power":28093,"unknown_163":206,"unknown_83":40960,"ignition":46,"odometer":null,"unknown_44":-2752614135039870976}} 
[2026-07-01 14:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":119821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:31:26] local.INFO: GPS data processed {"connection_id":119821,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:31:26] local.INFO: Acknowledgment sent {"connection_id":119821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:31:40] local.INFO: TCP Data received {"connection_id":119154,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119154,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:31:40] local.INFO: Processing buffer {"connection_id":119154,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:31:40] local.INFO: IMEI packet received {"connection_id":119154,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 14:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":119154,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:31:57] local.INFO: TCP Data received {"connection_id":119821,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ce8d5e8012cd987c0073557300018012426..."} 
[2026-07-01 14:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ce8d5e8012cd987c0073557300018012426..."} 
[2026-07-01 14:31:57] local.INFO: Processing buffer {"connection_id":119821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ce8d5e8012cd987c0073557300018012426..."} 
[2026-07-01 14:31:57] local.INFO: Packet analysis {"connection_id":119821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ce8"} 
[2026-07-01 14:31:57] local.INFO: Extracted packet for processing {"connection_id":119821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ce8"} 
[2026-07-01 14:31:57] local.INFO: GPS Element Parsed {"raw_longitude":752453568,"raw_latitude":120936240,"longitude_deg":75.2453568,"latitude_deg":12.093624,"altitude":24,"angle":292,"satellites":38,"speed":49,"hex_longitude":"2cd987c0","hex_latitude":"07355730","is_valid_coordinates":true} 
[2026-07-01 14: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-01 14:31:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421488896001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:31:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333489723609710592,"note":"Value kept but may cause issues"} 
[2026-07-01 14:31:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2762184284247117824,"note":"Value kept but may cause issues"} 
[2026-07-01 14:31:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:31:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782896449000,"timestamp_ms":1782896449000,"timestamp_seconds":1782896449,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ce8d5e8"} 
[2026-07-01 14: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-01 14:31:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 14: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":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-07-01 14:31:57] 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-01 14: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-01 14: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-01 14:31:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:31:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:31:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:31:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:31:57] 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-01 14:31:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:31:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:31:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421488896001,"66":27974,"163":206,"83":40960,"24":49,"16":333489723609710592,"44":-2762184284247117824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-07-01 14:31:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:31:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:31:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421488896001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:31:57] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-01 14:31:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:31:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333489723609710592,"km_value":333489723609710.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:31:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2762184284247117824,"description":"Unknown IO ID 44"} 
[2026-07-01 14:31:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421488896001,"power":27974,"unknown_163":206,"unknown_83":40960,"ignition":49,"odometer":null,"unknown_44":-2762184284247117824}} 
[2026-07-01 14:31:57] local.INFO: DEBUG: GPS processor result {"connection_id":119821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:31:57] local.INFO: GPS data processed {"connection_id":119821,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:31:57] local.INFO: Acknowledgment sent {"connection_id":119821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:32:20] local.INFO: TCP Data received {"connection_id":120914,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120914,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:32:20] local.INFO: Processing buffer {"connection_id":120914,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:32:20] local.INFO: IMEI packet received {"connection_id":120914,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 14:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":120914,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:32:20] local.INFO: TCP Data received {"connection_id":119042,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:32:21] local.INFO: Processing buffer {"connection_id":119042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:32:21] local.INFO: IMEI packet received {"connection_id":119042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 14:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":119042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:32:24] local.INFO: TCP Data received {"connection_id":119042,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:32:24] local.INFO: Processing buffer {"connection_id":119042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:32:24] local.INFO: IMEI packet received {"connection_id":119042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":119042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:32:24] local.INFO: TCP Data received {"connection_id":119042,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ce8f528012cd96280073566480015012525..."} 
[2026-07-01 14:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ce8f528012cd96280073566480015012525..."} 
[2026-07-01 14:32:24] local.INFO: Processing buffer {"connection_id":119042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ce8f528012cd96280073566480015012525..."} 
[2026-07-01 14:32:24] local.INFO: Packet analysis {"connection_id":119042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ce8"} 
[2026-07-01 14:32:24] local.INFO: Extracted packet for processing {"connection_id":119042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ce8"} 
[2026-07-01 14:32:24] local.INFO: GPS Element Parsed {"raw_longitude":752444032,"raw_latitude":120940104,"longitude_deg":75.2444032,"latitude_deg":12.0940104,"altitude":21,"angle":293,"satellites":37,"speed":51,"hex_longitude":"2cd96280","hex_latitude":"07356648","is_valid_coordinates":true} 
[2026-07-01 14:32:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:32:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421490944001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:32:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333490213235982336,"note":"Value kept but may cause issues"} 
[2026-07-01 14:32:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2772035908431040512,"note":"Value kept but may cause issues"} 
[2026-07-01 14:32:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:32:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782896457000,"timestamp_ms":1782896457000,"timestamp_seconds":1782896457,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ce8f528"} 
[2026-07-01 14:32:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:32:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 14:32:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-01 14:32:24] 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-01 14:32:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:32:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:32:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:32:24] local.INFO: Teltonika packet parsed successfully {"connection_id":119042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:32:24] local.INFO: Passing IMEI to GPS processor {"connection_id":119042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:32:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":119042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:32:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 14:32:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:32:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:32:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421490944001,"66":28006,"163":206,"83":40960,"24":51,"16":333490213235982336,"44":-2772035908431040512},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-07-01 14:32:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:32:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:32:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421490944001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:32:24] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-01 14:32:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:32:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333490213235982336,"km_value":333490213235982.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:32:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2772035908431040512,"description":"Unknown IO ID 44"} 
[2026-07-01 14:32:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421490944001,"power":28006,"unknown_163":206,"unknown_83":40960,"ignition":51,"odometer":null,"unknown_44":-2772035908431040512}} 
[2026-07-01 14:32:24] local.INFO: DEBUG: GPS processor result {"connection_id":119042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:32:24] local.INFO: GPS data processed {"connection_id":119042,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:32:24] local.INFO: Acknowledgment sent {"connection_id":119042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:32:56] local.INFO: TCP Data received {"connection_id":119042,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cea58a0012cd7d300073632b0000c012427..."} 
[2026-07-01 14:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cea58a0012cd7d300073632b0000c012427..."} 
[2026-07-01 14:32:56] local.INFO: Processing buffer {"connection_id":119042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cea58a0012cd7d300073632b0000c012427..."} 
[2026-07-01 14:32:56] local.INFO: Packet analysis {"connection_id":119042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cea"} 
[2026-07-01 14:32:56] local.INFO: Extracted packet for processing {"connection_id":119042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cea"} 
[2026-07-01 14:32:56] local.INFO: GPS Element Parsed {"raw_longitude":752341760,"raw_latitude":120992432,"longitude_deg":75.234176,"latitude_deg":12.0992432,"altitude":12,"angle":292,"satellites":39,"speed":55,"hex_longitude":"2cd7d300","hex_latitude":"073632b0","is_valid_coordinates":true} 
[2026-07-01 14:32:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:32:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421514496001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:32:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333495693614252032,"note":"Value kept but may cause issues"} 
[2026-07-01 14:32:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2884977742822797312,"note":"Value kept but may cause issues"} 
[2026-07-01 14:32:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:32:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782896548000,"timestamp_ms":1782896548000,"timestamp_seconds":1782896548,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cea58a0"} 
[2026-07-01 14:32:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:32: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-01 14:32:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 14:32:56] 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-01 14:32:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:32:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:32:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:32:56] local.INFO: Teltonika packet parsed successfully {"connection_id":119042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:32:56] local.INFO: Passing IMEI to GPS processor {"connection_id":119042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:32:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":119042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:32:56] 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-01 14:32:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:32:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:32:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421514496001,"66":27865,"163":206,"83":40960,"24":55,"16":333495693614252032,"44":-2884977742822797312},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-07-01 14:32:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:32:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:32:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421514496001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:32:56] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-01 14:32:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:32:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333495693614252032,"km_value":333495693614252.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:32:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2884977742822797312,"description":"Unknown IO ID 44"} 
[2026-07-01 14:32:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421514496001,"power":27865,"unknown_163":206,"unknown_83":40960,"ignition":55,"odometer":null,"unknown_44":-2884977742822797312}} 
[2026-07-01 14:32:56] local.INFO: DEBUG: GPS processor result {"connection_id":119042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:32:56] local.INFO: GPS data processed {"connection_id":119042,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:32:56] local.INFO: Acknowledgment sent {"connection_id":119042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:33:21] local.INFO: TCP Data received {"connection_id":119156,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:33:21] local.INFO: Processing buffer {"connection_id":119156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:33:21] local.INFO: IMEI packet received {"connection_id":119156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 14:33:21] local.INFO: IMEI acknowledgment sent {"connection_id":119156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:33:23] local.INFO: TCP Data received {"connection_id":119156,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:33:23] local.INFO: Processing buffer {"connection_id":119156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:33:23] local.INFO: IMEI packet received {"connection_id":119156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:33:23] local.INFO: IMEI acknowledgment sent {"connection_id":119156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:33:26] local.INFO: TCP Data received {"connection_id":119156,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:33:26] local.INFO: Processing buffer {"connection_id":119156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:33:26] local.INFO: IMEI packet received {"connection_id":119156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":119156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:33:27] local.INFO: TCP Data received {"connection_id":119156,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cea73f8012cd7af4007364068000e012226..."} 
[2026-07-01 14:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cea73f8012cd7af4007364068000e012226..."} 
[2026-07-01 14:33:27] local.INFO: Processing buffer {"connection_id":119156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cea73f8012cd7af4007364068000e012226..."} 
[2026-07-01 14:33:27] local.INFO: Packet analysis {"connection_id":119156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cea"} 
[2026-07-01 14:33:27] local.INFO: Extracted packet for processing {"connection_id":119156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cea"} 
[2026-07-01 14:33:27] local.INFO: GPS Element Parsed {"raw_longitude":752332608,"raw_latitude":120995944,"longitude_deg":75.2332608,"latitude_deg":12.0995944,"altitude":14,"angle":290,"satellites":38,"speed":54,"hex_longitude":"2cd7af40","hex_latitude":"07364068","is_valid_coordinates":true} 
[2026-07-01 14:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421516288001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333496161765687296,"note":"Value kept but may cause issues"} 
[2026-07-01 14:33:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2894970104495034368,"note":"Value kept but may cause issues"} 
[2026-07-01 14:33:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782896555000,"timestamp_ms":1782896555000,"timestamp_seconds":1782896555,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cea73f8"} 
[2026-07-01 14:33:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:33: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-01 14:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 14:33:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14:33:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:33:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:33:27] 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-01 14:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421516288001,"66":27930,"163":206,"83":40960,"24":54,"16":333496161765687296,"44":-2894970104495034368},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,83,24,16,44]} 
[2026-07-01 14:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421516288001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:33:27] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-01 14:33:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333496161765687296,"km_value":333496161765687.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:33:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2894970104495034368,"description":"Unknown IO ID 44"} 
[2026-07-01 14:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421516288001,"power":27930,"unknown_163":206,"unknown_83":40960,"ignition":54,"odometer":null,"unknown_44":-2894970104495034368}} 
[2026-07-01 14:33:27] local.INFO: DEBUG: GPS processor result {"connection_id":119156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:33:27] local.INFO: GPS data processed {"connection_id":119156,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:33:27] local.INFO: Acknowledgment sent {"connection_id":119156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:33:36] local.INFO: TCP Data received {"connection_id":119156,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cea8f50012cd78c8007364d480010012127..."} 
[2026-07-01 14:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cea8f50012cd78c8007364d480010012127..."} 
[2026-07-01 14:33:36] local.INFO: Processing buffer {"connection_id":119156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cea8f50012cd78c8007364d480010012127..."} 
[2026-07-01 14:33:36] local.INFO: Packet analysis {"connection_id":119156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cea"} 
[2026-07-01 14:33:36] local.INFO: Extracted packet for processing {"connection_id":119156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cea"} 
[2026-07-01 14:33:36] local.INFO: GPS Element Parsed {"raw_longitude":752323712,"raw_latitude":120999240,"longitude_deg":75.2323712,"latitude_deg":12.099924,"altitude":16,"angle":289,"satellites":39,"speed":51,"hex_longitude":"2cd78c80","hex_latitude":"07364d48","is_valid_coordinates":true} 
[2026-07-01 14:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421518080001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333496612737253376,"note":"Value kept but may cause issues"} 
[2026-07-01 14:33:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2905032834911541248,"note":"Value kept but may cause issues"} 
[2026-07-01 14:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782896562000,"timestamp_ms":1782896562000,"timestamp_seconds":1782896562,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cea8f50"} 
[2026-07-01 14:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 14:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-01 14:33:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14:33:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":119156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":119156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":119156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:33:36] 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-01 14:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421518080001,"66":27930,"165":206,"83":40960,"24":51,"16":333496612737253376,"44":-2905032834911541248},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,83,24,16,44]} 
[2026-07-01 14:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421518080001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:33:36] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-01 14:33:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333496612737253376,"km_value":333496612737253.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:33:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2905032834911541248,"description":"Unknown IO ID 44"} 
[2026-07-01 14:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421518080001,"power":27930,"unknown_165":206,"unknown_83":40960,"ignition":51,"odometer":null,"unknown_44":-2905032834911541248}} 
[2026-07-01 14:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":119156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:33:36] local.INFO: GPS data processed {"connection_id":119156,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:33:36] local.INFO: Acknowledgment sent {"connection_id":119156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:34:26] local.INFO: TCP Data received {"connection_id":119822,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:34:26] local.INFO: Processing buffer {"connection_id":119822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:34:26] local.INFO: IMEI packet received {"connection_id":119822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 14:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":119822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:34:27] local.INFO: TCP Data received {"connection_id":119822,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:34:27] local.INFO: Processing buffer {"connection_id":119822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:34:27] local.INFO: IMEI packet received {"connection_id":119822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":119822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:34:31] local.INFO: TCP Data received {"connection_id":119822,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:34:31] local.INFO: Processing buffer {"connection_id":119822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:34:31] local.INFO: IMEI packet received {"connection_id":119822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":119822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:34:32] local.INFO: TCP Data received {"connection_id":119822,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ceaaaa8012cd76b00073659c00011012227..."} 
[2026-07-01 14:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ceaaaa8012cd76b00073659c00011012227..."} 
[2026-07-01 14:34:32] local.INFO: Processing buffer {"connection_id":119822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ceaaaa8012cd76b00073659c00011012227..."} 
[2026-07-01 14:34:32] local.INFO: Packet analysis {"connection_id":119822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cea"} 
[2026-07-01 14:34:32] local.INFO: Extracted packet for processing {"connection_id":119822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cea"} 
[2026-07-01 14:34:32] local.INFO: GPS Element Parsed {"raw_longitude":752315136,"raw_latitude":121002432,"longitude_deg":75.2315136,"latitude_deg":12.1002432,"altitude":17,"angle":290,"satellites":39,"speed":51,"hex_longitude":"2cd76b00","hex_latitude":"073659c0","is_valid_coordinates":true} 
[2026-07-01 14:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421519872001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333497046528950272,"note":"Value kept but may cause issues"} 
[2026-07-01 14:34:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2914814090351392768,"note":"Value kept but may cause issues"} 
[2026-07-01 14:34:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782896569000,"timestamp_ms":1782896569000,"timestamp_seconds":1782896569,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ceaaaa8"} 
[2026-07-01 14:34:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:34:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 14:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-01 14:34:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14:34:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:34:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":119822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":119822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":119822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:34:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 14:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421519872001,"66":27800,"165":206,"83":40960,"24":51,"16":333497046528950272,"44":-2914814090351392768},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,83,24,16,44]} 
[2026-07-01 14:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421519872001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:34:32] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-01 14:34:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333497046528950272,"km_value":333497046528950.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:34:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2914814090351392768,"description":"Unknown IO ID 44"} 
[2026-07-01 14:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421519872001,"power":27800,"unknown_165":206,"unknown_83":40960,"ignition":51,"odometer":null,"unknown_44":-2914814090351392768}} 
[2026-07-01 14:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":119822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:34:32] local.INFO: GPS data processed {"connection_id":119822,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:34:32] local.INFO: Acknowledgment sent {"connection_id":119822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:34:36] local.INFO: TCP Data received {"connection_id":119822,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ceac600012cd749c0073666b00011012428..."} 
[2026-07-01 14:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ceac600012cd749c0073666b00011012428..."} 
[2026-07-01 14:34:36] local.INFO: Processing buffer {"connection_id":119822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ceac600012cd749c0073666b00011012428..."} 
[2026-07-01 14:34:36] local.INFO: Packet analysis {"connection_id":119822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cea"} 
[2026-07-01 14:34:36] local.INFO: Extracted packet for processing {"connection_id":119822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cea"} 
[2026-07-01 14:34:36] local.INFO: GPS Element Parsed {"raw_longitude":752306624,"raw_latitude":121005744,"longitude_deg":75.2306624,"latitude_deg":12.1005744,"altitude":17,"angle":292,"satellites":40,"speed":51,"hex_longitude":"2cd749c0","hex_latitude":"073666b0","is_valid_coordinates":true} 
[2026-07-01 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-01 14:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421521664001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333497484615614464,"note":"Value kept but may cause issues"} 
[2026-07-01 14:34:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2924243502070382592,"note":"Value kept but may cause issues"} 
[2026-07-01 14:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782896576000,"timestamp_ms":1782896576000,"timestamp_seconds":1782896576,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ceac600"} 
[2026-07-01 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-01 14:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 14:34:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 14:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":119822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":119822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":119822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:34:36] 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-01 14:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421521664001,"66":28006,"165":206,"83":40960,"24":51,"16":333497484615614464,"44":-2924243502070382592},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,83,24,16,44]} 
[2026-07-01 14:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421521664001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:34:36] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-01 14:34:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 14:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333497484615614464,"km_value":333497484615614.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:34:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2924243502070382592,"description":"Unknown IO ID 44"} 
[2026-07-01 14:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421521664001,"power":28006,"unknown_165":206,"unknown_83":40960,"ignition":51,"odometer":null,"unknown_44":-2924243502070382592}} 
[2026-07-01 14:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":119822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:34:36] local.INFO: GPS data processed {"connection_id":119822,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:34:36] local.INFO: Acknowledgment sent {"connection_id":119822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:35:20] local.INFO: TCP Data received {"connection_id":119157,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:35:20] local.INFO: Processing buffer {"connection_id":119157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:35:20] local.INFO: IMEI packet received {"connection_id":119157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 14:35:20] local.INFO: IMEI acknowledgment sent {"connection_id":119157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:35:26] local.INFO: TCP Data received {"connection_id":119157,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:35:26] local.INFO: Processing buffer {"connection_id":119157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:35:26] local.INFO: IMEI packet received {"connection_id":119157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":119157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:35:26] local.INFO: TCP Data received {"connection_id":119157,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cec3148012cd63d0007373970000a014c22..."} 
[2026-07-01 14:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cec3148012cd63d0007373970000a014c22..."} 
[2026-07-01 14:35:26] local.INFO: Processing buffer {"connection_id":119157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cec3148012cd63d0007373970000a014c22..."} 
[2026-07-01 14:35:26] local.INFO: Packet analysis {"connection_id":119157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cec"} 
[2026-07-01 14:35:26] local.INFO: Extracted packet for processing {"connection_id":119157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cec"} 
[2026-07-01 14:35:26] local.INFO: GPS Element Parsed {"raw_longitude":752237824,"raw_latitude":121059696,"longitude_deg":75.2237824,"latitude_deg":12.1059696,"altitude":10,"angle":332,"satellites":34,"speed":27,"hex_longitude":"2cd63d00","hex_latitude":"07373970","is_valid_coordinates":true} 
[2026-07-01 14:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:35:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421547264001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:35:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333501715158401024,"note":"Value kept but may cause issues"} 
[2026-07-01 14:35:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3009248945022341120,"note":"Value kept but may cause issues"} 
[2026-07-01 14:35:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:35:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782896669000,"timestamp_ms":1782896669000,"timestamp_seconds":1782896669,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cec3148"} 
[2026-07-01 14:35:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:35:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 14:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-01 14:35:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14:35:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:35:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:35:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:35:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:35:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:35:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:35:26] 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-01 14:35:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:35:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:35:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421547264001,"66":27876,"170":206,"83":43264,"24":27,"16":333501715158401024,"44":-3009248945022341120},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,44]} 
[2026-07-01 14:35:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:35:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:35:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421547264001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:35:26] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-01 14:35:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 14:35:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333501715158401024,"km_value":333501715158401.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:35:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3009248945022341120,"description":"Unknown IO ID 44"} 
[2026-07-01 14:35:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421547264001,"power":27876,"unknown_170":206,"unknown_83":43264,"ignition":27,"odometer":null,"unknown_44":-3009248945022341120}} 
[2026-07-01 14:35:26] local.INFO: DEBUG: GPS processor result {"connection_id":119157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:35:26] local.INFO: GPS data processed {"connection_id":119157,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:35:26] local.INFO: Acknowledgment sent {"connection_id":119157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:35:58] local.INFO: TCP Data received {"connection_id":119157,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cec7b80012cd62b4007375988000b014a24..."} 
[2026-07-01 14:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cec7b80012cd62b4007375988000b014a24..."} 
[2026-07-01 14:35:58] local.INFO: Processing buffer {"connection_id":119157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cec7b80012cd62b4007375988000b014a24..."} 
[2026-07-01 14:35:58] local.INFO: Packet analysis {"connection_id":119157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cec"} 
[2026-07-01 14:35:58] local.INFO: Extracted packet for processing {"connection_id":119157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cec"} 
[2026-07-01 14:35:58] local.INFO: GPS Element Parsed {"raw_longitude":752233280,"raw_latitude":121067912,"longitude_deg":75.223328,"latitude_deg":12.1067912,"altitude":11,"angle":330,"satellites":36,"speed":26,"hex_longitude":"2cd62b40","hex_latitude":"07375988","is_valid_coordinates":true} 
[2026-07-01 14:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:35:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421547264001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:35:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333502170424934400,"note":"Value kept but may cause issues"} 
[2026-07-01 14:35:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3009248945022341120,"note":"Value kept but may cause issues"} 
[2026-07-01 14:35:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:35:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782896688000,"timestamp_ms":1782896688000,"timestamp_seconds":1782896688,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cec7b80"} 
[2026-07-01 14:35:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:35:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 14:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-01 14:35:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14:35:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:35:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:35:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:35:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:35:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:35:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:35:58] 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-01 14:35:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:35:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:35:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421547264001,"66":27908,"170":206,"83":43264,"24":26,"16":333502170424934400,"44":-3009248945022341120},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,44]} 
[2026-07-01 14:35:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:35:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:35:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421547264001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:35:58] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-01 14:35:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 14:35:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333502170424934400,"km_value":333502170424934.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:35:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3009248945022341120,"description":"Unknown IO ID 44"} 
[2026-07-01 14:35:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421547264001,"power":27908,"unknown_170":206,"unknown_83":43264,"ignition":26,"odometer":null,"unknown_44":-3009248945022341120}} 
[2026-07-01 14:35:58] local.INFO: DEBUG: GPS processor result {"connection_id":119157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:35:58] local.INFO: GPS data processed {"connection_id":119157,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:35:58] local.INFO: Acknowledgment sent {"connection_id":119157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:36:18] local.INFO: TCP Data received {"connection_id":119158,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:36:18] local.INFO: Processing buffer {"connection_id":119158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:36:18] local.INFO: IMEI packet received {"connection_id":119158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 14:36:18] local.INFO: IMEI acknowledgment sent {"connection_id":119158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:36:21] local.INFO: TCP Data received {"connection_id":119158,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:36:21] local.INFO: Processing buffer {"connection_id":119158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:36:21] local.INFO: IMEI packet received {"connection_id":119158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":119158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:36:25] local.INFO: TCP Data received {"connection_id":119158,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:36:25] local.INFO: Processing buffer {"connection_id":119158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:36:25] local.INFO: IMEI packet received {"connection_id":119158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":119158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:36:26] local.INFO: TCP Data received {"connection_id":119158,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cec9ea8012cd61c4007376ef8000b013f28..."} 
[2026-07-01 14:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cec9ea8012cd61c4007376ef8000b013f28..."} 
[2026-07-01 14:36:26] local.INFO: Processing buffer {"connection_id":119158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cec9ea8012cd61c4007376ef8000b013f28..."} 
[2026-07-01 14:36:26] local.INFO: Packet analysis {"connection_id":119158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cec"} 
[2026-07-01 14:36:26] local.INFO: Extracted packet for processing {"connection_id":119158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cec"} 
[2026-07-01 14:36:26] local.INFO: GPS Element Parsed {"raw_longitude":752229440,"raw_latitude":121073400,"longitude_deg":75.222944,"latitude_deg":12.10734,"altitude":11,"angle":319,"satellites":40,"speed":33,"hex_longitude":"2cd61c40","hex_latitude":"07376ef8","is_valid_coordinates":true} 
[2026-07-01 14: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-01 14:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421552128001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333502492547481600,"note":"Value kept but may cause issues"} 
[2026-07-01 14:36:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3014245125856851968,"note":"Value kept but may cause issues"} 
[2026-07-01 14:36:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782896697000,"timestamp_ms":1782896697000,"timestamp_seconds":1782896697,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cec9ea8"} 
[2026-07-01 14: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-01 14:36:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 14: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 14:36:26] 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-01 14: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-01 14: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-01 14:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:36:26] 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-01 14:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421552128001,"66":27865,"170":206,"83":43264,"24":33,"16":333502492547481600,"44":-3014245125856851968},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,44]} 
[2026-07-01 14:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421552128001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:36:26] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-01 14:36:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 14:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333502492547481600,"km_value":333502492547481.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:36:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3014245125856851968,"description":"Unknown IO ID 44"} 
[2026-07-01 14:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421552128001,"power":27865,"unknown_170":206,"unknown_83":43264,"ignition":33,"odometer":null,"unknown_44":-3014245125856851968}} 
[2026-07-01 14:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":119158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:36:26] local.INFO: GPS data processed {"connection_id":119158,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:36:26] local.INFO: Acknowledgment sent {"connection_id":119158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:36:57] local.INFO: TCP Data received {"connection_id":119158,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cecc9a0012cd60440073788f8000f013e29..."} 
[2026-07-01 14:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cecc9a0012cd60440073788f8000f013e29..."} 
[2026-07-01 14:36:57] local.INFO: Processing buffer {"connection_id":119158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cecc9a0012cd60440073788f8000f013e29..."} 
[2026-07-01 14:36:57] local.INFO: Packet analysis {"connection_id":119158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cec"} 
[2026-07-01 14:36:57] local.INFO: Extracted packet for processing {"connection_id":119158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cec"} 
[2026-07-01 14:36:57] local.INFO: GPS Element Parsed {"raw_longitude":752223296,"raw_latitude":121080056,"longitude_deg":75.2223296,"latitude_deg":12.1080056,"altitude":15,"angle":318,"satellites":41,"speed":32,"hex_longitude":"2cd60440","hex_latitude":"073788f8","is_valid_coordinates":true} 
[2026-07-01 14:36:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:36:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421554432001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:36:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333502930634145792,"note":"Value kept but may cause issues"} 
[2026-07-01 14:36:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3018467250506106880,"note":"Value kept but may cause issues"} 
[2026-07-01 14:36:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:36:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782896708000,"timestamp_ms":1782896708000,"timestamp_seconds":1782896708,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cecc9a0"} 
[2026-07-01 14:36:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:36:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 14:36:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 14:36:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14:36:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:36:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:36:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:36:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:36:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:36:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:36:57] 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-01 14:36:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:36:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:36:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421554432001,"66":27908,"170":206,"83":43264,"24":32,"16":333502930634145792,"44":-3018467250506106880},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,44]} 
[2026-07-01 14:36:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:36:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:36:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421554432001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:36:57] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-01 14:36:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 14:36:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333502930634145792,"km_value":333502930634145.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:36:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3018467250506106880,"description":"Unknown IO ID 44"} 
[2026-07-01 14:36:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421554432001,"power":27908,"unknown_170":206,"unknown_83":43264,"ignition":32,"odometer":null,"unknown_44":-3018467250506106880}} 
[2026-07-01 14:36:57] local.INFO: DEBUG: GPS processor result {"connection_id":119158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:36:57] local.INFO: GPS data processed {"connection_id":119158,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:36:57] local.INFO: Acknowledgment sent {"connection_id":119158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:37:20] local.INFO: TCP Data received {"connection_id":119159,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:37:20] local.INFO: Processing buffer {"connection_id":119159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:37:20] local.INFO: IMEI packet received {"connection_id":119159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 14:37:20] local.INFO: IMEI acknowledgment sent {"connection_id":119159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:37:21] local.INFO: TCP Data received {"connection_id":119159,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:37:21] local.INFO: Processing buffer {"connection_id":119159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:37:21] local.INFO: IMEI packet received {"connection_id":119159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:37:21] local.INFO: IMEI acknowledgment sent {"connection_id":119159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:37:25] local.INFO: TCP Data received {"connection_id":119159,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:37:25] local.INFO: Processing buffer {"connection_id":119159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:37:25] local.INFO: IMEI packet received {"connection_id":119159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":119159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:37:26] local.INFO: TCP Data received {"connection_id":119159,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cecf880012cd5eac00737a2a0000d013b29..."} 
[2026-07-01 14:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cecf880012cd5eac00737a2a0000d013b29..."} 
[2026-07-01 14:37:26] local.INFO: Processing buffer {"connection_id":119159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cecf880012cd5eac00737a2a0000d013b29..."} 
[2026-07-01 14:37:26] local.INFO: Packet analysis {"connection_id":119159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cec"} 
[2026-07-01 14:37:26] local.INFO: Extracted packet for processing {"connection_id":119159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cec"} 
[2026-07-01 14:37:26] local.INFO: GPS Element Parsed {"raw_longitude":752216768,"raw_latitude":121086624,"longitude_deg":75.2216768,"latitude_deg":12.1086624,"altitude":13,"angle":315,"satellites":41,"speed":28,"hex_longitude":"2cd5eac0","hex_latitude":"0737a2a0","is_valid_coordinates":true} 
[2026-07-01 14:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:37:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421557248001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:37:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333503373015777280,"note":"Value kept but may cause issues"} 
[2026-07-01 14:37:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3025222649945458688,"note":"Value kept but may cause issues"} 
[2026-07-01 14:37:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:37:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782896720000,"timestamp_ms":1782896720000,"timestamp_seconds":1782896720,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cecf880"} 
[2026-07-01 14:37:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:37:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 14:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 14:37:26] 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-01 14:37:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:37:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:37:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:37:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:37:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:37:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:37:26] 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-01 14:37:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:37:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:37:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421557248001,"66":27876,"170":206,"83":43264,"24":28,"16":333503373015777280,"44":-3025222649945458688},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,44]} 
[2026-07-01 14:37:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:37:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:37:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421557248001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:37:26] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-01 14:37:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 14:37:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333503373015777280,"km_value":333503373015777.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:37:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3025222649945458688,"description":"Unknown IO ID 44"} 
[2026-07-01 14:37:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421557248001,"power":27876,"unknown_170":206,"unknown_83":43264,"ignition":28,"odometer":null,"unknown_44":-3025222649945458688}} 
[2026-07-01 14:37:26] local.INFO: DEBUG: GPS processor result {"connection_id":119159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:37:26] local.INFO: GPS data processed {"connection_id":119159,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:37:26] local.INFO: Acknowledgment sent {"connection_id":119159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:37:45] local.INFO: TCP Data received {"connection_id":119044,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119044,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:37:45] local.INFO: Processing buffer {"connection_id":119044,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:37:45] local.INFO: IMEI packet received {"connection_id":119044,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 14:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":119044,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:37:57] local.INFO: TCP Data received {"connection_id":119159,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ced2b48012cd5d1400737bcd0000c013829..."} 
[2026-07-01 14:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ced2b48012cd5d1400737bcd0000c013829..."} 
[2026-07-01 14:37:57] local.INFO: Processing buffer {"connection_id":119159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ced2b48012cd5d1400737bcd0000c013829..."} 
[2026-07-01 14:37:57] local.INFO: Packet analysis {"connection_id":119159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ced"} 
[2026-07-01 14:37:57] local.INFO: Extracted packet for processing {"connection_id":119159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ced"} 
[2026-07-01 14:37:57] local.INFO: GPS Element Parsed {"raw_longitude":752210240,"raw_latitude":121093328,"longitude_deg":75.221024,"latitude_deg":12.1093328,"altitude":12,"angle":312,"satellites":41,"speed":26,"hex_longitude":"2cd5d140","hex_latitude":"0737bcd0","is_valid_coordinates":true} 
[2026-07-01 14:37:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:37:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421560320001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:37:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333503823987343360,"note":"Value kept but may cause issues"} 
[2026-07-01 14:37:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3032400261849899008,"note":"Value kept but may cause issues"} 
[2026-07-01 14:37:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:37:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782896733000,"timestamp_ms":1782896733000,"timestamp_seconds":1782896733,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ced2b48"} 
[2026-07-01 14:37:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:37:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 14:37:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-01 14:37:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14:37:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:37:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:37:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:37:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:37:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:37:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:37:57] 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-01 14:37:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:37:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:37:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421560320001,"66":27800,"170":206,"83":43264,"24":26,"16":333503823987343360,"44":-3032400261849899008},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,44]} 
[2026-07-01 14:37:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:37:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:37:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421560320001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:37:57] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-01 14:37:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 14:37:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333503823987343360,"km_value":333503823987343.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:37:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3032400261849899008,"description":"Unknown IO ID 44"} 
[2026-07-01 14:37:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421560320001,"power":27800,"unknown_170":206,"unknown_83":43264,"ignition":26,"odometer":null,"unknown_44":-3032400261849899008}} 
[2026-07-01 14:37:57] local.INFO: DEBUG: GPS processor result {"connection_id":119159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:37:57] local.INFO: GPS data processed {"connection_id":119159,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:37:57] local.INFO: Acknowledgment sent {"connection_id":119159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:38:15] local.INFO: TCP Data received {"connection_id":119823,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119823,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:38:15] local.INFO: Processing buffer {"connection_id":119823,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:38:15] local.INFO: IMEI packet received {"connection_id":119823,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 14:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":119823,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:38:20] local.INFO: TCP Data received {"connection_id":119045,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:38:20] local.INFO: Processing buffer {"connection_id":119045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:38:20] local.INFO: IMEI packet received {"connection_id":119045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 14:38:20] local.INFO: IMEI acknowledgment sent {"connection_id":119045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:38:25] local.INFO: TCP Data received {"connection_id":119045,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:38:25] local.INFO: Processing buffer {"connection_id":119045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:38:25] local.INFO: IMEI packet received {"connection_id":119045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:38:25] local.INFO: IMEI acknowledgment sent {"connection_id":119045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:38:26] local.INFO: TCP Data received {"connection_id":119045,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ced5640012cd5bb400737d1900009012c2a..."} 
[2026-07-01 14:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ced5640012cd5bb400737d1900009012c2a..."} 
[2026-07-01 14:38:26] local.INFO: Processing buffer {"connection_id":119045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ced5640012cd5bb400737d1900009012c2a..."} 
[2026-07-01 14:38:26] local.INFO: Packet analysis {"connection_id":119045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ced"} 
[2026-07-01 14:38:26] local.INFO: Extracted packet for processing {"connection_id":119045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ced"} 
[2026-07-01 14:38:26] local.INFO: GPS Element Parsed {"raw_longitude":752204608,"raw_latitude":121098640,"longitude_deg":75.2204608,"latitude_deg":12.109864,"altitude":9,"angle":300,"satellites":42,"speed":28,"hex_longitude":"2cd5bb40","hex_latitude":"0737d190","is_valid_coordinates":true} 
[2026-07-01 14:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:38:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421563648001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:38:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333504193354530816,"note":"Value kept but may cause issues"} 
[2026-07-01 14:38:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3039577873754304512,"note":"Value kept but may cause issues"} 
[2026-07-01 14:38:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:38:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782896744000,"timestamp_ms":1782896744000,"timestamp_seconds":1782896744,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ced5640"} 
[2026-07-01 14:38:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:38:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 14:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 14:38:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14:38:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:38:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:38:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:38:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:38:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:38:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:38:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 14:38:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:38:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:38:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421563648001,"66":27767,"170":206,"83":43264,"24":28,"16":333504193354530816,"44":-3039577873754304512},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,44]} 
[2026-07-01 14:38:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:38:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:38:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421563648001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:38:26] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-01 14:38:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 14:38:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333504193354530816,"km_value":333504193354530.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:38:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3039577873754304512,"description":"Unknown IO ID 44"} 
[2026-07-01 14:38:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421563648001,"power":27767,"unknown_170":206,"unknown_83":43264,"ignition":28,"odometer":null,"unknown_44":-3039577873754304512}} 
[2026-07-01 14:38:26] local.INFO: DEBUG: GPS processor result {"connection_id":119045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:38:26] local.INFO: GPS data processed {"connection_id":119045,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:38:26] local.INFO: Acknowledgment sent {"connection_id":119045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:38:57] local.INFO: TCP Data received {"connection_id":119045,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ced5e10012cd5b6000737d3c80009011f29..."} 
[2026-07-01 14:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ced5e10012cd5b6000737d3c80009011f29..."} 
[2026-07-01 14:38:57] local.INFO: Processing buffer {"connection_id":119045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ced5e10012cd5b6000737d3c80009011f29..."} 
[2026-07-01 14:38:57] local.INFO: Packet analysis {"connection_id":119045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ced"} 
[2026-07-01 14:38:57] local.INFO: Extracted packet for processing {"connection_id":119045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ced"} 
[2026-07-01 14:38:57] local.INFO: GPS Element Parsed {"raw_longitude":752203264,"raw_latitude":121099208,"longitude_deg":75.2203264,"latitude_deg":12.1099208,"altitude":9,"angle":287,"satellites":41,"speed":25,"hex_longitude":"2cd5b600","hex_latitude":"0737d3c8","is_valid_coordinates":true} 
[2026-07-01 14:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421566464001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333504262074007552,"note":"Value kept but may cause issues"} 
[2026-07-01 14:38:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3045770323240579072,"note":"Value kept but may cause issues"} 
[2026-07-01 14:38:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782896746000,"timestamp_ms":1782896746000,"timestamp_seconds":1782896746,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ced5e10"} 
[2026-07-01 14:38:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:38:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 14:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 14:38:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14:38:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:38:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:38:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 14:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421566464001,"66":27821,"170":206,"83":43264,"24":25,"16":333504262074007552,"44":-3045770323240579072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,44]} 
[2026-07-01 14:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421566464001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:38:57] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-01 14:38:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 14:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333504262074007552,"km_value":333504262074007.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:38:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3045770323240579072,"description":"Unknown IO ID 44"} 
[2026-07-01 14:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421566464001,"power":27821,"unknown_170":206,"unknown_83":43264,"ignition":25,"odometer":null,"unknown_44":-3045770323240579072}} 
[2026-07-01 14:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":119045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:38:57] local.INFO: GPS data processed {"connection_id":119045,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:38:57] local.INFO: Acknowledgment sent {"connection_id":119045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:39:20] local.INFO: TCP Data received {"connection_id":120917,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:39:20] local.INFO: Processing buffer {"connection_id":120917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:39:20] local.INFO: IMEI packet received {"connection_id":120917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 14:39:20] local.INFO: IMEI acknowledgment sent {"connection_id":120917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:39:25] local.INFO: TCP Data received {"connection_id":120917,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:39:25] local.INFO: Processing buffer {"connection_id":120917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:39:25] local.INFO: IMEI packet received {"connection_id":120917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:39:25] local.INFO: IMEI acknowledgment sent {"connection_id":120917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:39:26] local.INFO: TCP Data received {"connection_id":120917,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ced65e0012cd5b2000737d4c80009011329..."} 
[2026-07-01 14:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ced65e0012cd5b2000737d4c80009011329..."} 
[2026-07-01 14:39:26] local.INFO: Processing buffer {"connection_id":120917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ced65e0012cd5b2000737d4c80009011329..."} 
[2026-07-01 14:39:26] local.INFO: Packet analysis {"connection_id":120917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ced"} 
[2026-07-01 14:39:26] local.INFO: Extracted packet for processing {"connection_id":120917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ced"} 
[2026-07-01 14:39:26] local.INFO: GPS Element Parsed {"raw_longitude":752202240,"raw_latitude":121099464,"longitude_deg":75.220224,"latitude_deg":12.1099464,"altitude":9,"angle":275,"satellites":41,"speed":18,"hex_longitude":"2cd5b200","hex_latitude":"0737d4c8","is_valid_coordinates":true} 
[2026-07-01 14:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:39:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421566976001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:39:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333504313613615104,"note":"Value kept but may cause issues"} 
[2026-07-01 14:39:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3047248066868164608,"note":"Value kept but may cause issues"} 
[2026-07-01 14:39:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:39:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782896748000,"timestamp_ms":1782896748000,"timestamp_seconds":1782896748,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ced65e0"} 
[2026-07-01 14:39:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:39:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 14:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 14:39:26] 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-01 14:39:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:39:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:39:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:39:26] local.INFO: Teltonika packet parsed successfully {"connection_id":120917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:39:26] local.INFO: Passing IMEI to GPS processor {"connection_id":120917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:39:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":120917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:39:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 14:39:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:39:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:39:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421566976001,"66":27832,"170":206,"83":43264,"24":18,"16":333504313613615104,"44":-3047248066868164608},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,44]} 
[2026-07-01 14:39:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:39:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:39:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421566976001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:39:26] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-01 14:39:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 14:39:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333504313613615104,"km_value":333504313613615.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:39:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3047248066868164608,"description":"Unknown IO ID 44"} 
[2026-07-01 14:39:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421566976001,"power":27832,"unknown_170":206,"unknown_83":43264,"ignition":18,"odometer":null,"unknown_44":-3047248066868164608}} 
[2026-07-01 14:39:26] local.INFO: DEBUG: GPS processor result {"connection_id":120917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:39:26] local.INFO: GPS data processed {"connection_id":120917,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:39:26] local.INFO: Acknowledgment sent {"connection_id":120917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:39:57] local.INFO: TCP Data received {"connection_id":120917,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cedb400012cd5ac000737d4c80008010e2b..."} 
[2026-07-01 14:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cedb400012cd5ac000737d4c80008010e2b..."} 
[2026-07-01 14:39:57] local.INFO: Processing buffer {"connection_id":120917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cedb400012cd5ac000737d4c80008010e2b..."} 
[2026-07-01 14:39:57] local.INFO: Packet analysis {"connection_id":120917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ced"} 
[2026-07-01 14:39:57] local.INFO: Extracted packet for processing {"connection_id":120917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ced"} 
[2026-07-01 14:39:57] local.INFO: GPS Element Parsed {"raw_longitude":752200704,"raw_latitude":121099464,"longitude_deg":75.2200704,"latitude_deg":12.1099464,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2cd5ac00","hex_latitude":"0737d4c8","is_valid_coordinates":true} 
[2026-07-01 14:39:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:39:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421567488001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:39:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333504386628059136,"note":"Value kept but may cause issues"} 
[2026-07-01 14:39:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3048373966774941696,"note":"Value kept but may cause issues"} 
[2026-07-01 14:39:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:39:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782896768000,"timestamp_ms":1782896768000,"timestamp_seconds":1782896768,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cedb400"} 
[2026-07-01 14:39:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:39:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 14:39:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-01 14:39:57] 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-01 14:39:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:39:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:39:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:39:57] local.INFO: Teltonika packet parsed successfully {"connection_id":120917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:39:57] local.INFO: Passing IMEI to GPS processor {"connection_id":120917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:39:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":120917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:39:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 14:39:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:39:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:39:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421567488001,"66":27930,"169":206,"83":43264,"24":0,"16":333504386628059136,"44":-3048373966774941696},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,44]} 
[2026-07-01 14:39:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:39:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:39:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421567488001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:39:57] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-01 14:39:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 14:39:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333504386628059136,"km_value":333504386628059.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:39:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3048373966774941696,"description":"Unknown IO ID 44"} 
[2026-07-01 14:39:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421567488001,"power":27930,"unknown_169":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3048373966774941696}} 
[2026-07-01 14:39:57] local.INFO: DEBUG: GPS processor result {"connection_id":120917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:39:57] local.INFO: GPS data processed {"connection_id":120917,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:39:57] local.INFO: Acknowledgment sent {"connection_id":120917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:40:25] local.INFO: TCP Data received {"connection_id":119825,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:40:25] local.INFO: Processing buffer {"connection_id":119825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:40:25] local.INFO: IMEI packet received {"connection_id":119825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 14:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":119825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:40:30] local.INFO: TCP Data received {"connection_id":119825,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:40:30] local.INFO: Processing buffer {"connection_id":119825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:40:30] local.INFO: IMEI packet received {"connection_id":119825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":119825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:40:31] local.INFO: TCP Data received {"connection_id":119825,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cee0608012cd5ac000737d4c80008010e29..."} 
[2026-07-01 14:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cee0608012cd5ac000737d4c80008010e29..."} 
[2026-07-01 14:40:31] local.INFO: Processing buffer {"connection_id":119825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cee0608012cd5ac000737d4c80008010e29..."} 
[2026-07-01 14:40:31] local.INFO: Packet analysis {"connection_id":119825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cee"} 
[2026-07-01 14:40:31] local.INFO: Extracted packet for processing {"connection_id":119825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cee"} 
[2026-07-01 14:40:31] local.INFO: GPS Element Parsed {"raw_longitude":752200704,"raw_latitude":121099464,"longitude_deg":75.2200704,"latitude_deg":12.1099464,"altitude":8,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2cd5ac00","hex_latitude":"0737d4c8","is_valid_coordinates":true} 
[2026-07-01 14:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421572608001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333504386628059136,"note":"Value kept but may cause issues"} 
[2026-07-01 14:40:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3050062816635205632,"note":"Value kept but may cause issues"} 
[2026-07-01 14:40:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782896789000,"timestamp_ms":1782896789000,"timestamp_seconds":1782896789,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cee0608"} 
[2026-07-01 14:40:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:40:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 14:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-01 14:40:31] 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-01 14:40:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:40:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:40:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 14:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421572608001,"66":27995,"169":206,"83":43264,"24":0,"16":333504386628059136,"44":-3050062816635205632},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,44]} 
[2026-07-01 14:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421572608001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:40:31] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-01 14:40:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 14:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333504386628059136,"km_value":333504386628059.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:40:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3050062816635205632,"description":"Unknown IO ID 44"} 
[2026-07-01 14:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421572608001,"power":27995,"unknown_169":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3050062816635205632}} 
[2026-07-01 14:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":119825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:40:31] local.INFO: GPS data processed {"connection_id":119825,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:40:31] local.INFO: Acknowledgment sent {"connection_id":119825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:40:35] local.INFO: TCP Data received {"connection_id":119825,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cee5810012cd5ac000737d4c80008010e2a..."} 
[2026-07-01 14:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cee5810012cd5ac000737d4c80008010e2a..."} 
[2026-07-01 14:40:35] local.INFO: Processing buffer {"connection_id":119825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cee5810012cd5ac000737d4c80008010e2a..."} 
[2026-07-01 14:40:35] local.INFO: Packet analysis {"connection_id":119825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cee"} 
[2026-07-01 14:40:35] local.INFO: Extracted packet for processing {"connection_id":119825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cee"} 
[2026-07-01 14:40:35] local.INFO: GPS Element Parsed {"raw_longitude":752200704,"raw_latitude":121099464,"longitude_deg":75.2200704,"latitude_deg":12.1099464,"altitude":8,"angle":270,"satellites":42,"speed":0,"hex_longitude":"2cd5ac00","hex_latitude":"0737d4c8","is_valid_coordinates":true} 
[2026-07-01 14: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-01 14:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421577984001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333504386628059136,"note":"Value kept but may cause issues"} 
[2026-07-01 14:40:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3050062816635205632,"note":"Value kept but may cause issues"} 
[2026-07-01 14:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782896810000,"timestamp_ms":1782896810000,"timestamp_seconds":1782896810,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cee5810"} 
[2026-07-01 14: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-01 14:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 14: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-01 14:40:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14: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-01 14: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-01 14:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":119825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":119825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":119825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 14:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421577984001,"66":27930,"169":206,"83":43264,"24":0,"16":333504386628059136,"44":-3050062816635205632},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,44]} 
[2026-07-01 14:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421577984001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:40:35] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-01 14:40:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 14:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333504386628059136,"km_value":333504386628059.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:40:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3050062816635205632,"description":"Unknown IO ID 44"} 
[2026-07-01 14:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421577984001,"power":27930,"unknown_169":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3050062816635205632}} 
[2026-07-01 14:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":119825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:40:35] local.INFO: GPS data processed {"connection_id":119825,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:40:35] local.INFO: Acknowledgment sent {"connection_id":119825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:41:20] local.INFO: TCP Data received {"connection_id":119161,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:41:20] local.INFO: Processing buffer {"connection_id":119161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:41:20] local.INFO: IMEI packet received {"connection_id":119161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 14:41:20] local.INFO: IMEI acknowledgment sent {"connection_id":119161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:41:26] local.INFO: TCP Data received {"connection_id":119161,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:41:26] local.INFO: Processing buffer {"connection_id":119161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:41:26] local.INFO: IMEI packet received {"connection_id":119161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":119161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:41:26] local.INFO: TCP Data received {"connection_id":119161,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ceeaa18012cd5ac000737d4c80008010e2b..."} 
[2026-07-01 14:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ceeaa18012cd5ac000737d4c80008010e2b..."} 
[2026-07-01 14:41:26] local.INFO: Processing buffer {"connection_id":119161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ceeaa18012cd5ac000737d4c80008010e2b..."} 
[2026-07-01 14:41:26] local.INFO: Packet analysis {"connection_id":119161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cee"} 
[2026-07-01 14:41:26] local.INFO: Extracted packet for processing {"connection_id":119161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cee"} 
[2026-07-01 14:41:26] local.INFO: GPS Element Parsed {"raw_longitude":752200704,"raw_latitude":121099464,"longitude_deg":75.2200704,"latitude_deg":12.1099464,"altitude":8,"angle":270,"satellites":43,"speed":0,"hex_longitude":"2cd5ac00","hex_latitude":"0737d4c8","is_valid_coordinates":true} 
[2026-07-01 14:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:41:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421583360001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:41:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333504386628059136,"note":"Value kept but may cause issues"} 
[2026-07-01 14:41:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3050062816635205632,"note":"Value kept but may cause issues"} 
[2026-07-01 14:41:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:41:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782896831000,"timestamp_ms":1782896831000,"timestamp_seconds":1782896831,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ceeaa18"} 
[2026-07-01 14:41:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:41:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 14:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-01 14:41:26] 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-01 14:41:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:41:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:41:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:41:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:41:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:41:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:41:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 14:41:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:41:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:41:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421583360001,"66":27974,"169":206,"83":43264,"24":0,"16":333504386628059136,"44":-3050062816635205632},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,44]} 
[2026-07-01 14:41:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:41:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:41:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421583360001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:41:26] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-01 14:41:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 14:41:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333504386628059136,"km_value":333504386628059.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:41:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3050062816635205632,"description":"Unknown IO ID 44"} 
[2026-07-01 14:41:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421583360001,"power":27974,"unknown_169":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3050062816635205632}} 
[2026-07-01 14:41:26] local.INFO: DEBUG: GPS processor result {"connection_id":119161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:41:26] local.INFO: GPS data processed {"connection_id":119161,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:41:26] local.INFO: Acknowledgment sent {"connection_id":119161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:41:58] local.INFO: TCP Data received {"connection_id":119161,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ceee4b0012cd5a9800737d5a8000b01032a..."} 
[2026-07-01 14:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ceee4b0012cd5a9800737d5a8000b01032a..."} 
[2026-07-01 14:41:58] local.INFO: Processing buffer {"connection_id":119161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ceee4b0012cd5a9800737d5a8000b01032a..."} 
[2026-07-01 14:41:58] local.INFO: Packet analysis {"connection_id":119161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cee"} 
[2026-07-01 14:41:58] local.INFO: Extracted packet for processing {"connection_id":119161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cee"} 
[2026-07-01 14:41:58] local.INFO: GPS Element Parsed {"raw_longitude":752200064,"raw_latitude":121099688,"longitude_deg":75.2200064,"latitude_deg":12.1099688,"altitude":11,"angle":259,"satellites":42,"speed":5,"hex_longitude":"2cd5a980","hex_latitude":"0737d5a8","is_valid_coordinates":true} 
[2026-07-01 14: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-01 14:41:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421588736001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:41:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333504416692830208,"note":"Value kept but may cause issues"} 
[2026-07-01 14:41:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3050062816635205632,"note":"Value kept but may cause issues"} 
[2026-07-01 14:41:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:41:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782896846000,"timestamp_ms":1782896846000,"timestamp_seconds":1782896846,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ceee4b0"} 
[2026-07-01 14: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-01 14:41:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 14: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-01 14:41:58] 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-01 14: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-01 14: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-01 14:41:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:41:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:41:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:41:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:41:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 14:41:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:41:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:41:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421588736001,"66":28050,"169":206,"83":43264,"24":5,"16":333504416692830208,"44":-3050062816635205632},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,44]} 
[2026-07-01 14:41:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:41:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:41:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421588736001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:41:58] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-01 14:41:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 14:41:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333504416692830208,"km_value":333504416692830.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:41:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3050062816635205632,"description":"Unknown IO ID 44"} 
[2026-07-01 14:41:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421588736001,"power":28050,"unknown_169":206,"unknown_83":43264,"ignition":5,"odometer":null,"unknown_44":-3050062816635205632}} 
[2026-07-01 14:41:58] local.INFO: DEBUG: GPS processor result {"connection_id":119161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:41:58] local.INFO: GPS data processed {"connection_id":119161,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:41:58] local.INFO: Acknowledgment sent {"connection_id":119161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:42:21] local.INFO: TCP Data received {"connection_id":119046,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:42:21] local.INFO: Processing buffer {"connection_id":119046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:42:21] local.INFO: IMEI packet received {"connection_id":119046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 14:42:21] local.INFO: IMEI acknowledgment sent {"connection_id":119046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:42:25] local.INFO: TCP Data received {"connection_id":119046,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:42:25] local.INFO: Processing buffer {"connection_id":119046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:42:25] local.INFO: IMEI packet received {"connection_id":119046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":119046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:42:26] local.INFO: TCP Data received {"connection_id":119046,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ceefc20012cd5a4800737d520000b00f82a..."} 
[2026-07-01 14:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ceefc20012cd5a4800737d520000b00f82a..."} 
[2026-07-01 14:42:26] local.INFO: Processing buffer {"connection_id":119046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ceefc20012cd5a4800737d520000b00f82a..."} 
[2026-07-01 14:42:26] local.INFO: Packet analysis {"connection_id":119046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cee"} 
[2026-07-01 14:42:26] local.INFO: Extracted packet for processing {"connection_id":119046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cee"} 
[2026-07-01 14:42:26] local.INFO: GPS Element Parsed {"raw_longitude":752198784,"raw_latitude":121099552,"longitude_deg":75.2198784,"latitude_deg":12.1099552,"altitude":11,"angle":248,"satellites":42,"speed":9,"hex_longitude":"2cd5a480","hex_latitude":"0737d520","is_valid_coordinates":true} 
[2026-07-01 14:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421592576001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333504481117339648,"note":"Value kept but may cause issues"} 
[2026-07-01 14:42:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3050766504076924928,"note":"Value kept but may cause issues"} 
[2026-07-01 14:42:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782896852000,"timestamp_ms":1782896852000,"timestamp_seconds":1782896852,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ceefc20"} 
[2026-07-01 14:42:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:42:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 14:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-07-01 14:42:26] 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-01 14:42:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:42:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:42:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 14:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421592576001,"66":27995,"169":206,"83":43264,"24":9,"16":333504481117339648,"44":-3050766504076924928},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,44]} 
[2026-07-01 14:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421592576001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:42:26] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-01 14:42:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 14:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333504481117339648,"km_value":333504481117339.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:42:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3050766504076924928,"description":"Unknown IO ID 44"} 
[2026-07-01 14:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421592576001,"power":27995,"unknown_169":206,"unknown_83":43264,"ignition":9,"odometer":null,"unknown_44":-3050766504076924928}} 
[2026-07-01 14:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":119046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:42:26] local.INFO: GPS data processed {"connection_id":119046,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:42:26] local.INFO: Acknowledgment sent {"connection_id":119046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:42:57] local.INFO: TCP Data received {"connection_id":119046,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cef1b60012cd59f800737d3a0000b00f52c..."} 
[2026-07-01 14:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cef1b60012cd59f800737d3a0000b00f52c..."} 
[2026-07-01 14:42:57] local.INFO: Processing buffer {"connection_id":119046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cef1b60012cd59f800737d3a0000b00f52c..."} 
[2026-07-01 14:42:57] local.INFO: Packet analysis {"connection_id":119046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cef"} 
[2026-07-01 14:42:57] local.INFO: Extracted packet for processing {"connection_id":119046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cef"} 
[2026-07-01 14:42:57] local.INFO: GPS Element Parsed {"raw_longitude":752197504,"raw_latitude":121099168,"longitude_deg":75.2197504,"latitude_deg":12.1099168,"altitude":11,"angle":245,"satellites":44,"speed":4,"hex_longitude":"2cd59f80","hex_latitude":"0737d3a0","is_valid_coordinates":true} 
[2026-07-01 14:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-01 14:42:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421594112001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:42:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333504545541849088,"note":"Value kept but may cause issues"} 
[2026-07-01 14:42:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3052173878960513024,"note":"Value kept but may cause issues"} 
[2026-07-01 14:42:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:42:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782896860000,"timestamp_ms":1782896860000,"timestamp_seconds":1782896860,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cef1b60"} 
[2026-07-01 14:42:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:42:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 14:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-01 14:42:57] 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-01 14:42:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:42:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:42:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:42:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:42:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:42:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:42:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 14:42:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:42:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:42:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421594112001,"66":27865,"169":206,"83":43264,"24":4,"16":333504545541849088,"44":-3052173878960513024},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,44]} 
[2026-07-01 14:42:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:42:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:42:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421594112001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:42:57] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-01 14:42:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 14:42:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333504545541849088,"km_value":333504545541849.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:42:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3052173878960513024,"description":"Unknown IO ID 44"} 
[2026-07-01 14:42:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421594112001,"power":27865,"unknown_169":206,"unknown_83":43264,"ignition":4,"odometer":null,"unknown_44":-3052173878960513024}} 
[2026-07-01 14:42:57] local.INFO: DEBUG: GPS processor result {"connection_id":119046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:42:57] local.INFO: GPS data processed {"connection_id":119046,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:42:57] local.INFO: Acknowledgment sent {"connection_id":119046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:43:20] local.INFO: TCP Data received {"connection_id":120919,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:43:20] local.INFO: Processing buffer {"connection_id":120919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:43:20] local.INFO: IMEI packet received {"connection_id":120919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 14:43:20] local.INFO: IMEI acknowledgment sent {"connection_id":120919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:43:25] local.INFO: TCP Data received {"connection_id":120919,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:43:25] local.INFO: Processing buffer {"connection_id":120919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:43:25] local.INFO: IMEI packet received {"connection_id":120919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:43:25] local.INFO: IMEI acknowledgment sent {"connection_id":120919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:43:26] local.INFO: TCP Data received {"connection_id":120919,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cf3b710012cd59e400737d3b8000e00f529..."} 
[2026-07-01 14:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cf3b710012cd59e400737d3b8000e00f529..."} 
[2026-07-01 14:43:26] local.INFO: Processing buffer {"connection_id":120919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cf3b710012cd59e400737d3b8000e00f529..."} 
[2026-07-01 14:43:26] local.INFO: Packet analysis {"connection_id":120919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cf3"} 
[2026-07-01 14:43:26] local.INFO: Extracted packet for processing {"connection_id":120919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cf3"} 
[2026-07-01 14:43:26] local.INFO: GPS Element Parsed {"raw_longitude":752197184,"raw_latitude":121099192,"longitude_deg":75.2197184,"latitude_deg":12.1099192,"altitude":14,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2cd59e40","hex_latitude":"0737d3b8","is_valid_coordinates":true} 
[2026-07-01 14: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-01 14:43:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421596160001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:43:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333504545541849088,"note":"Value kept but may cause issues"} 
[2026-07-01 14:43:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3053581253844164608,"note":"Value kept but may cause issues"} 
[2026-07-01 14:43:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:43:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782897162000,"timestamp_ms":1782897162000,"timestamp_seconds":1782897162,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cf3b710"} 
[2026-07-01 14: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-01 14:43:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 14: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 14:43:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14: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-01 14: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-01 14:43:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:43:26] local.INFO: Teltonika packet parsed successfully {"connection_id":120919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:43:26] local.INFO: Passing IMEI to GPS processor {"connection_id":120919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:43:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":120919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:43:26] 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-01 14:43:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:43:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:43:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421596160001,"66":26419,"169":206,"83":43264,"24":0,"16":333504545541849088,"44":-3053581253844164608},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,44]} 
[2026-07-01 14:43:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:43:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:43:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421596160001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:43:26] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-01 14:43:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 14:43:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333504545541849088,"km_value":333504545541849.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:43:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3053581253844164608,"description":"Unknown IO ID 44"} 
[2026-07-01 14:43:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421596160001,"power":26419,"unknown_169":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3053581253844164608}} 
[2026-07-01 14:43:26] local.INFO: DEBUG: GPS processor result {"connection_id":120919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:43:26] local.INFO: GPS data processed {"connection_id":120919,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:43:26] local.INFO: Acknowledgment sent {"connection_id":120919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:43:40] local.INFO: TCP Data received {"connection_id":119827,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119827,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:43:40] local.INFO: Processing buffer {"connection_id":119827,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:43:40] local.INFO: IMEI packet received {"connection_id":119827,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 14:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":119827,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:43:57] local.INFO: TCP Data received {"connection_id":120919,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cf3b710012cd59e400737d3b8000e00f529..."} 
[2026-07-01 14:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cf3b710012cd59e400737d3b8000e00f529..."} 
[2026-07-01 14:43:58] local.INFO: Processing buffer {"connection_id":120919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cf3b710012cd59e400737d3b8000e00f529..."} 
[2026-07-01 14:43:58] local.INFO: Packet analysis {"connection_id":120919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cf3"} 
[2026-07-01 14:43:58] local.INFO: Extracted packet for processing {"connection_id":120919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cf3"} 
[2026-07-01 14:43:58] local.INFO: GPS Element Parsed {"raw_longitude":752197184,"raw_latitude":121099192,"longitude_deg":75.2197184,"latitude_deg":12.1099192,"altitude":14,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2cd59e40","hex_latitude":"0737d3b8","is_valid_coordinates":true} 
[2026-07-01 14: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-01 14:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421596160001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333504545541849088,"note":"Value kept but may cause issues"} 
[2026-07-01 14:43:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3053581253844164608,"note":"Value kept but may cause issues"} 
[2026-07-01 14:43:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782897162000,"timestamp_ms":1782897162000,"timestamp_seconds":1782897162,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cf3b710"} 
[2026-07-01 14: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-01 14:43:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 14: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 14:43:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14: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-01 14: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-01 14:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:43:58] 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-01 14:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421596160001,"66":26419,"169":206,"83":43264,"24":0,"16":333504545541849088,"44":-3053581253844164608},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,44]} 
[2026-07-01 14:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421596160001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:43:58] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-01 14:43:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 14:43:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333504545541849088,"km_value":333504545541849.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:43:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3053581253844164608,"description":"Unknown IO ID 44"} 
[2026-07-01 14:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421596160001,"power":26419,"unknown_169":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3053581253844164608}} 
[2026-07-01 14:43:58] local.INFO: DEBUG: GPS processor result {"connection_id":120919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:43:58] local.INFO: GPS data processed {"connection_id":120919,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:43:58] local.INFO: Acknowledgment sent {"connection_id":120919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:44:15] local.INFO: TCP Data received {"connection_id":119162,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119162,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:44:15] local.INFO: Processing buffer {"connection_id":119162,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:44:15] local.INFO: IMEI packet received {"connection_id":119162,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 14:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":119162,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:44:20] local.INFO: TCP Data received {"connection_id":119047,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:44:20] local.INFO: Processing buffer {"connection_id":119047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:44:20] local.INFO: IMEI packet received {"connection_id":119047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 14:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":119047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:44:25] local.INFO: TCP Data received {"connection_id":119047,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:44:25] local.INFO: Processing buffer {"connection_id":119047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:44:25] local.INFO: IMEI packet received {"connection_id":119047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":119047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:44:26] local.INFO: TCP Data received {"connection_id":119047,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cf3b710012cd59e400737d3b8000e00f529..."} 
[2026-07-01 14:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cf3b710012cd59e400737d3b8000e00f529..."} 
[2026-07-01 14:44:26] local.INFO: Processing buffer {"connection_id":119047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cf3b710012cd59e400737d3b8000e00f529..."} 
[2026-07-01 14:44:26] local.INFO: Packet analysis {"connection_id":119047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cf3"} 
[2026-07-01 14:44:26] local.INFO: Extracted packet for processing {"connection_id":119047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cf3"} 
[2026-07-01 14:44:26] local.INFO: GPS Element Parsed {"raw_longitude":752197184,"raw_latitude":121099192,"longitude_deg":75.2197184,"latitude_deg":12.1099192,"altitude":14,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2cd59e40","hex_latitude":"0737d3b8","is_valid_coordinates":true} 
[2026-07-01 14: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-01 14:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421596160001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333504545541849088,"note":"Value kept but may cause issues"} 
[2026-07-01 14:44:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3053581253844164608,"note":"Value kept but may cause issues"} 
[2026-07-01 14:44:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782897162000,"timestamp_ms":1782897162000,"timestamp_seconds":1782897162,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cf3b710"} 
[2026-07-01 14: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-01 14:44:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 14: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 14:44:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14:44:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14: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-01 14:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:44:26] 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-01 14:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421596160001,"66":26419,"169":206,"83":43264,"24":0,"16":333504545541849088,"44":-3053581253844164608},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,44]} 
[2026-07-01 14:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421596160001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:44:26] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-01 14:44:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 14:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333504545541849088,"km_value":333504545541849.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:44:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3053581253844164608,"description":"Unknown IO ID 44"} 
[2026-07-01 14:44:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421596160001,"power":26419,"unknown_169":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3053581253844164608}} 
[2026-07-01 14:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":119047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:44:26] local.INFO: GPS data processed {"connection_id":119047,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:44:26] local.INFO: Acknowledgment sent {"connection_id":119047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:44:58] local.INFO: TCP Data received {"connection_id":119047,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cf3b710012cd59e400737d3b8000e00f529..."} 
[2026-07-01 14:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cf3b710012cd59e400737d3b8000e00f529..."} 
[2026-07-01 14:44:58] local.INFO: Processing buffer {"connection_id":119047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cf3b710012cd59e400737d3b8000e00f529..."} 
[2026-07-01 14:44:58] local.INFO: Packet analysis {"connection_id":119047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cf3"} 
[2026-07-01 14:44:58] local.INFO: Extracted packet for processing {"connection_id":119047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cf3"} 
[2026-07-01 14:44:58] local.INFO: GPS Element Parsed {"raw_longitude":752197184,"raw_latitude":121099192,"longitude_deg":75.2197184,"latitude_deg":12.1099192,"altitude":14,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2cd59e40","hex_latitude":"0737d3b8","is_valid_coordinates":true} 
[2026-07-01 14: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-01 14:44:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421596160001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:44:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333504545541849088,"note":"Value kept but may cause issues"} 
[2026-07-01 14:44:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3053581253844164608,"note":"Value kept but may cause issues"} 
[2026-07-01 14:44:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:44:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782897162000,"timestamp_ms":1782897162000,"timestamp_seconds":1782897162,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cf3b710"} 
[2026-07-01 14: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-01 14:44:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 14: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 14:44:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14: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-01 14: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-01 14:44:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:44:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:44:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:44:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:44:58] 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-01 14:44:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:44:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:44:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421596160001,"66":26419,"169":206,"83":43264,"24":0,"16":333504545541849088,"44":-3053581253844164608},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,44]} 
[2026-07-01 14:44:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:44:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:44:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421596160001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:44:58] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-01 14:44:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 14:44:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333504545541849088,"km_value":333504545541849.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:44:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3053581253844164608,"description":"Unknown IO ID 44"} 
[2026-07-01 14:44:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421596160001,"power":26419,"unknown_169":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3053581253844164608}} 
[2026-07-01 14:44:58] local.INFO: DEBUG: GPS processor result {"connection_id":119047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:44:58] local.INFO: GPS data processed {"connection_id":119047,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:44:58] local.INFO: Acknowledgment sent {"connection_id":119047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:45:25] local.INFO: TCP Data received {"connection_id":119164,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:45:25] local.INFO: Processing buffer {"connection_id":119164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:45:25] local.INFO: IMEI packet received {"connection_id":119164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 14:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":119164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:45:31] local.INFO: TCP Data received {"connection_id":119164,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:45:31] local.INFO: Processing buffer {"connection_id":119164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:45:31] local.INFO: IMEI packet received {"connection_id":119164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":119164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:45:31] local.INFO: TCP Data received {"connection_id":119164,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cf5ce38012cd59e400737d3b8000e00f52c..."} 
[2026-07-01 14:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cf5ce38012cd59e400737d3b8000e00f52c..."} 
[2026-07-01 14:45:31] local.INFO: Processing buffer {"connection_id":119164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cf5ce38012cd59e400737d3b8000e00f52c..."} 
[2026-07-01 14:45:31] local.INFO: Packet analysis {"connection_id":119164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cf5"} 
[2026-07-01 14:45:31] local.INFO: Extracted packet for processing {"connection_id":119164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cf5"} 
[2026-07-01 14:45:31] local.INFO: GPS Element Parsed {"raw_longitude":752197184,"raw_latitude":121099192,"longitude_deg":75.2197184,"latitude_deg":12.1099192,"altitude":14,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2cd59e40","hex_latitude":"0737d3b8","is_valid_coordinates":true} 
[2026-07-01 14:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421673472001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333504545541849088,"note":"Value kept but may cause issues"} 
[2026-07-01 14:45:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3053933097565046784,"note":"Value kept but may cause issues"} 
[2026-07-01 14:45:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782897299000,"timestamp_ms":1782897299000,"timestamp_seconds":1782897299,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cf5ce38"} 
[2026-07-01 14:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:45:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 14:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-01 14:45:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1172,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14:45:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:45:31] 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-01 14:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421673472001,"66":26245,"169":206,"83":43264,"24":0,"16":333504545541849088,"44":-3053933097565046784},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,44]} 
[2026-07-01 14:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421673472001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:45:31] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-01 14:45:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 14:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333504545541849088,"km_value":333504545541849.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:45:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3053933097565046784,"description":"Unknown IO ID 44"} 
[2026-07-01 14:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421673472001,"power":26245,"unknown_169":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3053933097565046784}} 
[2026-07-01 14:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":119164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:45:31] local.INFO: GPS data processed {"connection_id":119164,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:45:31] local.INFO: Acknowledgment sent {"connection_id":119164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:45:35] local.INFO: TCP Data received {"connection_id":119164,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cf5ce38012cd59e400737d3b8000e00f52c..."} 
[2026-07-01 14:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cf5ce38012cd59e400737d3b8000e00f52c..."} 
[2026-07-01 14:45:35] local.INFO: Processing buffer {"connection_id":119164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cf5ce38012cd59e400737d3b8000e00f52c..."} 
[2026-07-01 14:45:35] local.INFO: Packet analysis {"connection_id":119164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cf5"} 
[2026-07-01 14:45:35] local.INFO: Extracted packet for processing {"connection_id":119164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cf5"} 
[2026-07-01 14:45:35] local.INFO: GPS Element Parsed {"raw_longitude":752197184,"raw_latitude":121099192,"longitude_deg":75.2197184,"latitude_deg":12.1099192,"altitude":14,"angle":245,"satellites":44,"speed":0,"hex_longitude":"2cd59e40","hex_latitude":"0737d3b8","is_valid_coordinates":true} 
[2026-07-01 14:45: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-01 14:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421673472001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333504545541849088,"note":"Value kept but may cause issues"} 
[2026-07-01 14:45:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3053933097565046784,"note":"Value kept but may cause issues"} 
[2026-07-01 14:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782897299000,"timestamp_ms":1782897299000,"timestamp_seconds":1782897299,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cf5ce38"} 
[2026-07-01 14:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:45:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 14:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-07-01 14:45:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1172,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14:45:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":119164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":119164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":119164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:45:35] 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-01 14:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421673472001,"66":26245,"169":206,"83":43264,"24":0,"16":333504545541849088,"44":-3053933097565046784},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,44]} 
[2026-07-01 14:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421673472001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:45:35] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-01 14:45:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 14:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333504545541849088,"km_value":333504545541849.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:45:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3053933097565046784,"description":"Unknown IO ID 44"} 
[2026-07-01 14:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421673472001,"power":26245,"unknown_169":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3053933097565046784}} 
[2026-07-01 14:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":119164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:45:35] local.INFO: GPS data processed {"connection_id":119164,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:45:35] local.INFO: Acknowledgment sent {"connection_id":119164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:46:20] local.INFO: TCP Data received {"connection_id":120920,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:46:20] local.INFO: Processing buffer {"connection_id":120920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:46:20] local.INFO: IMEI packet received {"connection_id":120920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 14:46:20] local.INFO: IMEI acknowledgment sent {"connection_id":120920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:46:22] local.INFO: TCP Data received {"connection_id":120920,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:46:22] local.INFO: Processing buffer {"connection_id":120920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:46:22] local.INFO: IMEI packet received {"connection_id":120920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:46:22] local.INFO: IMEI acknowledgment sent {"connection_id":120920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:46:26] local.INFO: TCP Data received {"connection_id":120920,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:46:26] local.INFO: Processing buffer {"connection_id":120920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:46:26] local.INFO: IMEI packet received {"connection_id":120920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":120920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:46:27] local.INFO: TCP Data received {"connection_id":120920,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cf62810012cd59dc00737d370000e00f52d..."} 
[2026-07-01 14:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cf62810012cd59dc00737d370000e00f52d..."} 
[2026-07-01 14:46:27] local.INFO: Processing buffer {"connection_id":120920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cf62810012cd59dc00737d370000e00f52d..."} 
[2026-07-01 14:46:27] local.INFO: Packet analysis {"connection_id":120920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cf6"} 
[2026-07-01 14:46:27] local.INFO: Extracted packet for processing {"connection_id":120920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cf6"} 
[2026-07-01 14:46:27] local.INFO: GPS Element Parsed {"raw_longitude":752197056,"raw_latitude":121099120,"longitude_deg":75.2197056,"latitude_deg":12.109912,"altitude":14,"angle":245,"satellites":45,"speed":0,"hex_longitude":"2cd59dc0","hex_latitude":"0737d370","is_valid_coordinates":true} 
[2026-07-01 14:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421708544001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:46:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333504545541849088,"note":"Value kept but may cause issues"} 
[2026-07-01 14:46:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3053933097565046784,"note":"Value kept but may cause issues"} 
[2026-07-01 14:46:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:46:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782897322000,"timestamp_ms":1782897322000,"timestamp_seconds":1782897322,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cf62810"} 
[2026-07-01 14:46:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:46: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-01 14:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-01 14:46:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14:46:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:46:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:46:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:46:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:46:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:46:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:46:27] 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-01 14:46:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:46:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:46:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421708544001,"66":27767,"169":206,"83":43264,"24":0,"16":333504545541849088,"44":-3053933097565046784},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,44]} 
[2026-07-01 14:46:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:46:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:46:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421708544001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:46:27] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-01 14:46:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 14:46:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333504545541849088,"km_value":333504545541849.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:46:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3053933097565046784,"description":"Unknown IO ID 44"} 
[2026-07-01 14:46:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421708544001,"power":27767,"unknown_169":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3053933097565046784}} 
[2026-07-01 14:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":120920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:46:27] local.INFO: GPS data processed {"connection_id":120920,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:46:27] local.INFO: Acknowledgment sent {"connection_id":120920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:46:59] local.INFO: TCP Data received {"connection_id":120920,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cf633c8012cd59cc00737d4700027012f2d..."} 
[2026-07-01 14:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cf633c8012cd59cc00737d4700027012f2d..."} 
[2026-07-01 14:46:59] local.INFO: Processing buffer {"connection_id":120920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cf633c8012cd59cc00737d4700027012f2d..."} 
[2026-07-01 14:46:59] local.INFO: Packet analysis {"connection_id":120920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cf6"} 
[2026-07-01 14:46:59] local.INFO: Extracted packet for processing {"connection_id":120920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cf6"} 
[2026-07-01 14:46:59] local.INFO: GPS Element Parsed {"raw_longitude":752196800,"raw_latitude":121099376,"longitude_deg":75.21968,"latitude_deg":12.1099376,"altitude":39,"angle":303,"satellites":45,"speed":3,"hex_longitude":"2cd59cc0","hex_latitude":"0737d470","is_valid_coordinates":true} 
[2026-07-01 14: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-01 14:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421714432001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333504562721718272,"note":"Value kept but may cause issues"} 
[2026-07-01 14:46:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3054073835053420544,"note":"Value kept but may cause issues"} 
[2026-07-01 14:46:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782897325000,"timestamp_ms":1782897325000,"timestamp_seconds":1782897325,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cf633c8"} 
[2026-07-01 14: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-01 14:46: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-01 14:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 14:46:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14: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-01 14: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-01 14:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":120920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":120920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":120920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:46:59] 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-01 14:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421714432001,"66":27767,"169":206,"83":43264,"24":3,"16":333504562721718272,"44":-3054073835053420544},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,44]} 
[2026-07-01 14:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421714432001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:46:59] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-01 14:46:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 14:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333504562721718272,"km_value":333504562721718.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:46:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3054073835053420544,"description":"Unknown IO ID 44"} 
[2026-07-01 14:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421714432001,"power":27767,"unknown_169":206,"unknown_83":43264,"ignition":3,"odometer":null,"unknown_44":-3054073835053420544}} 
[2026-07-01 14:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":120920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:46:59] local.INFO: GPS data processed {"connection_id":120920,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:46:59] local.INFO: Acknowledgment sent {"connection_id":120920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:47:21] local.INFO: TCP Data received {"connection_id":119830,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:47:21] local.INFO: Processing buffer {"connection_id":119830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:47:21] local.INFO: IMEI packet received {"connection_id":119830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 14:47:21] local.INFO: IMEI acknowledgment sent {"connection_id":119830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:47:26] local.INFO: TCP Data received {"connection_id":119830,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:47:26] local.INFO: Processing buffer {"connection_id":119830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:47:26] local.INFO: IMEI packet received {"connection_id":119830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":119830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:47:27] local.INFO: TCP Data received {"connection_id":119830,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cf637b0012cd59c400737d498002600ff2c..."} 
[2026-07-01 14:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cf637b0012cd59c400737d498002600ff2c..."} 
[2026-07-01 14:47:27] local.INFO: Processing buffer {"connection_id":119830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cf637b0012cd59c400737d498002600ff2c..."} 
[2026-07-01 14:47:27] local.INFO: Packet analysis {"connection_id":119830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cf6"} 
[2026-07-01 14:47:27] local.INFO: Extracted packet for processing {"connection_id":119830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cf6"} 
[2026-07-01 14:47:27] local.INFO: GPS Element Parsed {"raw_longitude":752196672,"raw_latitude":121099416,"longitude_deg":75.2196672,"latitude_deg":12.1099416,"altitude":38,"angle":255,"satellites":44,"speed":3,"hex_longitude":"2cd59c40","hex_latitude":"0737d498","is_valid_coordinates":true} 
[2026-07-01 14: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-01 14:47:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421715200001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:47:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333504567016685568,"note":"Value kept but may cause issues"} 
[2026-07-01 14:47:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3054355310030065664,"note":"Value kept but may cause issues"} 
[2026-07-01 14:47:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:47:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782897326000,"timestamp_ms":1782897326000,"timestamp_seconds":1782897326,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cf637b0"} 
[2026-07-01 14: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-01 14:47: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-01 14: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 14:47:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14: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-01 14: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-01 14:47:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:47:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:47:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:47:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:47:27] 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-01 14:47:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:47:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:47:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421715200001,"66":27821,"169":206,"83":43264,"24":3,"16":333504567016685568,"44":-3054355310030065664},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,44]} 
[2026-07-01 14:47:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:47:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:47:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421715200001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:47:27] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-01 14:47:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 14:47:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333504567016685568,"km_value":333504567016685.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:47:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3054355310030065664,"description":"Unknown IO ID 44"} 
[2026-07-01 14:47:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421715200001,"power":27821,"unknown_169":206,"unknown_83":43264,"ignition":3,"odometer":null,"unknown_44":-3054355310030065664}} 
[2026-07-01 14:47:27] local.INFO: DEBUG: GPS processor result {"connection_id":119830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:47:27] local.INFO: GPS data processed {"connection_id":119830,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:47:27] local.INFO: Acknowledgment sent {"connection_id":119830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:47:58] local.INFO: TCP Data received {"connection_id":119830,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cf63b98012cd59c000737d490002600f22b..."} 
[2026-07-01 14:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cf63b98012cd59c000737d490002600f22b..."} 
[2026-07-01 14:47:58] local.INFO: Processing buffer {"connection_id":119830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cf63b98012cd59c000737d490002600f22b..."} 
[2026-07-01 14:47:58] local.INFO: Packet analysis {"connection_id":119830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cf6"} 
[2026-07-01 14:47:58] local.INFO: Extracted packet for processing {"connection_id":119830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cf6"} 
[2026-07-01 14:47:58] local.INFO: GPS Element Parsed {"raw_longitude":752196608,"raw_latitude":121099408,"longitude_deg":75.2196608,"latitude_deg":12.1099408,"altitude":38,"angle":242,"satellites":43,"speed":5,"hex_longitude":"2cd59c00","hex_latitude":"0737d490","is_valid_coordinates":true} 
[2026-07-01 14: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-01 14:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421715456001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:47:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333504571311652864,"note":"Value kept but may cause issues"} 
[2026-07-01 14:47:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3054496047518410752,"note":"Value kept but may cause issues"} 
[2026-07-01 14:47:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:47:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782897327000,"timestamp_ms":1782897327000,"timestamp_seconds":1782897327,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cf63b98"} 
[2026-07-01 14: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-01 14:47:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 14: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 14:47:58] 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-01 14: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-01 14: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-01 14:47:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:47:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:47:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:47:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:47:58] 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-01 14:47:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:47:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:47:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421715456001,"66":27821,"169":206,"83":43264,"24":5,"16":333504571311652864,"44":-3054496047518410752},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,44]} 
[2026-07-01 14:47:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:47:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:47:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421715456001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:47:58] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-01 14:47:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 14:47:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333504571311652864,"km_value":333504571311652.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:47:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3054496047518410752,"description":"Unknown IO ID 44"} 
[2026-07-01 14:47:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421715456001,"power":27821,"unknown_169":206,"unknown_83":43264,"ignition":5,"odometer":null,"unknown_44":-3054496047518410752}} 
[2026-07-01 14:47:58] local.INFO: DEBUG: GPS processor result {"connection_id":119830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:47:58] local.INFO: GPS data processed {"connection_id":119830,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:47:58] local.INFO: Acknowledgment sent {"connection_id":119830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:48:20] local.INFO: TCP Data received {"connection_id":119049,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:48:20] local.INFO: Processing buffer {"connection_id":119049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:48:20] local.INFO: IMEI packet received {"connection_id":119049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 14:48:20] local.INFO: IMEI acknowledgment sent {"connection_id":119049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:48:25] local.INFO: TCP Data received {"connection_id":119049,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:48:25] local.INFO: Processing buffer {"connection_id":119049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:48:25] local.INFO: IMEI packet received {"connection_id":119049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":119049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:48:26] local.INFO: TCP Data received {"connection_id":119049,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cf662a8012cd590400737d0e0002001002b..."} 
[2026-07-01 14:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cf662a8012cd590400737d0e0002001002b..."} 
[2026-07-01 14:48:26] local.INFO: Processing buffer {"connection_id":119049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cf662a8012cd590400737d0e0002001002b..."} 
[2026-07-01 14:48:26] local.INFO: Packet analysis {"connection_id":119049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cf6"} 
[2026-07-01 14:48:26] local.INFO: Extracted packet for processing {"connection_id":119049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cf6"} 
[2026-07-01 14:48:26] local.INFO: GPS Element Parsed {"raw_longitude":752193600,"raw_latitude":121098464,"longitude_deg":75.21936,"latitude_deg":12.1098464,"altitude":32,"angle":256,"satellites":43,"speed":14,"hex_longitude":"2cd59040","hex_latitude":"0737d0e0","is_valid_coordinates":true} 
[2026-07-01 14:48:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:48:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421715712001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:48:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333504721635508224,"note":"Value kept but may cause issues"} 
[2026-07-01 14:48:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3054566416262590464,"note":"Value kept but may cause issues"} 
[2026-07-01 14:48:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:48:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782897337000,"timestamp_ms":1782897337000,"timestamp_seconds":1782897337,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cf662a8"} 
[2026-07-01 14:48:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:48:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 14:48:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 14:48:26] 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-01 14:48:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:48:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:48:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:48:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:48:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:48:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:48:26] 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-01 14:48:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:48:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:48:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421715712001,"66":27908,"169":206,"83":43264,"24":14,"16":333504721635508224,"44":-3054566416262590464},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,44]} 
[2026-07-01 14:48:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:48:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:48:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421715712001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:48:26] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-01 14:48:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 14:48:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333504721635508224,"km_value":333504721635508.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:48:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3054566416262590464,"description":"Unknown IO ID 44"} 
[2026-07-01 14:48:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421715712001,"power":27908,"unknown_169":206,"unknown_83":43264,"ignition":14,"odometer":null,"unknown_44":-3054566416262590464}} 
[2026-07-01 14:48:26] local.INFO: DEBUG: GPS processor result {"connection_id":119049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:48:26] local.INFO: GPS data processed {"connection_id":119049,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:48:26] local.INFO: Acknowledgment sent {"connection_id":119049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:48:58] local.INFO: TCP Data received {"connection_id":119049,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cf6a510012cd56c400737c858001701012a..."} 
[2026-07-01 14:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cf6a510012cd56c400737c858001701012a..."} 
[2026-07-01 14:48:58] local.INFO: Processing buffer {"connection_id":119049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cf6a510012cd56c400737c858001701012a..."} 
[2026-07-01 14:48:58] local.INFO: Packet analysis {"connection_id":119049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cf6"} 
[2026-07-01 14:48:58] local.INFO: Extracted packet for processing {"connection_id":119049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cf6"} 
[2026-07-01 14:48:58] local.INFO: GPS Element Parsed {"raw_longitude":752184384,"raw_latitude":121096280,"longitude_deg":75.2184384,"latitude_deg":12.109628,"altitude":23,"angle":257,"satellites":42,"speed":27,"hex_longitude":"2cd56c40","hex_latitude":"0737c858","is_valid_coordinates":true} 
[2026-07-01 14: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-01 14:48:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421718272001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:48:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333505172607074304,"note":"Value kept but may cause issues"} 
[2026-07-01 14:48:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3057873747239182336,"note":"Value kept but may cause issues"} 
[2026-07-01 14:48:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:48:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782897354000,"timestamp_ms":1782897354000,"timestamp_seconds":1782897354,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cf6a510"} 
[2026-07-01 14: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-01 14:48:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 14: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 14:48:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14: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-01 14: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-01 14:48:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:48:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:48:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:48:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:48:58] 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-01 14:48:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:48:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:48:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421718272001,"66":27843,"171":206,"83":43264,"24":27,"16":333505172607074304,"44":-3057873747239182336},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,83,24,16,44]} 
[2026-07-01 14:48:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:48:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:48:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421718272001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:48:58] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-07-01 14:48:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 14:48:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333505172607074304,"km_value":333505172607074.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:48:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3057873747239182336,"description":"Unknown IO ID 44"} 
[2026-07-01 14:48:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421718272001,"power":27843,"unknown_171":206,"unknown_83":43264,"ignition":27,"odometer":null,"unknown_44":-3057873747239182336}} 
[2026-07-01 14:48:58] local.INFO: DEBUG: GPS processor result {"connection_id":119049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:48:58] local.INFO: GPS data processed {"connection_id":119049,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:48:58] local.INFO: Acknowledgment sent {"connection_id":119049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:49:20] local.INFO: TCP Data received {"connection_id":119832,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:49:20] local.INFO: Processing buffer {"connection_id":119832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:49:20] local.INFO: IMEI packet received {"connection_id":119832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 14:49:20] local.INFO: IMEI acknowledgment sent {"connection_id":119832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:49:26] local.INFO: TCP Data received {"connection_id":119832,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:49:26] local.INFO: Processing buffer {"connection_id":119832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:49:26] local.INFO: IMEI packet received {"connection_id":119832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":119832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:49:27] local.INFO: TCP Data received {"connection_id":119832,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cf6d7d8012cd548400737bd08001300fa28..."} 
[2026-07-01 14:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cf6d7d8012cd548400737bd08001300fa28..."} 
[2026-07-01 14:49:27] local.INFO: Processing buffer {"connection_id":119832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cf6d7d8012cd548400737bd08001300fa28..."} 
[2026-07-01 14:49:27] local.INFO: Packet analysis {"connection_id":119832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cf6"} 
[2026-07-01 14:49:27] local.INFO: Extracted packet for processing {"connection_id":119832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cf6"} 
[2026-07-01 14:49:27] local.INFO: GPS Element Parsed {"raw_longitude":752175168,"raw_latitude":121093384,"longitude_deg":75.2175168,"latitude_deg":12.1093384,"altitude":19,"angle":250,"satellites":40,"speed":29,"hex_longitude":"2cd54840","hex_latitude":"0737bd08","is_valid_coordinates":true} 
[2026-07-01 14:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421722624001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333505632168574976,"note":"Value kept but may cause issues"} 
[2026-07-01 14:49:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3068006846401325056,"note":"Value kept but may cause issues"} 
[2026-07-01 14:49:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782897367000,"timestamp_ms":1782897367000,"timestamp_seconds":1782897367,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cf6d7d8"} 
[2026-07-01 14:49:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:49: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-01 14:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 14:49:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14:49:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:49:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:49:27] 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-01 14:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421722624001,"66":27800,"171":206,"83":43264,"24":29,"16":333505632168574976,"44":-3068006846401325056},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,83,24,16,44]} 
[2026-07-01 14:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421722624001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:49:27] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-07-01 14:49:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 14:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333505632168574976,"km_value":333505632168575.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:49:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3068006846401325056,"description":"Unknown IO ID 44"} 
[2026-07-01 14:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421722624001,"power":27800,"unknown_171":206,"unknown_83":43264,"ignition":29,"odometer":null,"unknown_44":-3068006846401325056}} 
[2026-07-01 14:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":119832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:49:27] local.INFO: GPS data processed {"connection_id":119832,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:49:27] local.INFO: Acknowledgment sent {"connection_id":119832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:49:40] local.INFO: TCP Data received {"connection_id":119831,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119831,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:49:40] local.INFO: Processing buffer {"connection_id":119831,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:49:40] local.INFO: IMEI packet received {"connection_id":119831,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 14:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":119831,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:49:58] local.INFO: TCP Data received {"connection_id":119832,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cf96818012cd4b58007377eb8001000f52b..."} 
[2026-07-01 14:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cf96818012cd4b58007377eb8001000f52b..."} 
[2026-07-01 14:49:58] local.INFO: Processing buffer {"connection_id":119832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cf96818012cd4b58007377eb8001000f52b..."} 
[2026-07-01 14:49:58] local.INFO: Packet analysis {"connection_id":119832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cf9"} 
[2026-07-01 14:49:58] local.INFO: Extracted packet for processing {"connection_id":119832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cf9"} 
[2026-07-01 14:49:58] local.INFO: GPS Element Parsed {"raw_longitude":752137600,"raw_latitude":121077432,"longitude_deg":75.21376,"latitude_deg":12.1077432,"altitude":16,"angle":245,"satellites":43,"speed":0,"hex_longitude":"2cd4b580","hex_latitude":"07377eb8","is_valid_coordinates":true} 
[2026-07-01 14: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-01 14:49:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421763584001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:49:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333507577788760064,"note":"Value kept but may cause issues"} 
[2026-07-01 14:49:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3119446398400022528,"note":"Value kept but may cause issues"} 
[2026-07-01 14:49:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:49:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782897535000,"timestamp_ms":1782897535000,"timestamp_seconds":1782897535,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cf96818"} 
[2026-07-01 14: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-01 14:49:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 14:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 14:49:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14: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-01 14: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-01 14:49:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:49:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:49:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:49:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:49:58] 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-01 14:49:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:49:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:49:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421763584001,"66":27865,"89":206,"83":43264,"24":0,"16":333507577788760064,"44":-3119446398400022528},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-07-01 14:49:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:49:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:49:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421763584001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:49:58] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 14:49:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 14:49:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333507577788760064,"km_value":333507577788760.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:49:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3119446398400022528,"description":"Unknown IO ID 44"} 
[2026-07-01 14:49:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421763584001,"power":27865,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3119446398400022528}} 
[2026-07-01 14:49:58] local.INFO: DEBUG: GPS processor result {"connection_id":119832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:49:58] local.INFO: GPS data processed {"connection_id":119832,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:49:58] local.INFO: Acknowledgment sent {"connection_id":119832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:50:15] local.INFO: TCP Data received {"connection_id":119165,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119165,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:50:15] local.INFO: Processing buffer {"connection_id":119165,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:50:15] local.INFO: IMEI packet received {"connection_id":119165,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 14:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":119165,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:50:26] local.INFO: TCP Data received {"connection_id":119166,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:50:26] local.INFO: Processing buffer {"connection_id":119166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:50:26] local.INFO: IMEI packet received {"connection_id":119166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 14:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":119166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:50:30] local.INFO: TCP Data received {"connection_id":119166,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:50:30] local.INFO: Processing buffer {"connection_id":119166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:50:30] local.INFO: IMEI packet received {"connection_id":119166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":119166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:50:36] local.INFO: TCP Data received {"connection_id":119166,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cf9ba20012cd4b58007377eb8001000f526..."} 
[2026-07-01 14:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cf9ba20012cd4b58007377eb8001000f526..."} 
[2026-07-01 14:50:36] local.INFO: Processing buffer {"connection_id":119166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cf9ba20012cd4b58007377eb8001000f526..."} 
[2026-07-01 14:50:36] local.INFO: Packet analysis {"connection_id":119166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cf9"} 
[2026-07-01 14:50:36] local.INFO: Extracted packet for processing {"connection_id":119166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cf9"} 
[2026-07-01 14:50:36] local.INFO: GPS Element Parsed {"raw_longitude":752137600,"raw_latitude":121077432,"longitude_deg":75.21376,"latitude_deg":12.1077432,"altitude":16,"angle":245,"satellites":38,"speed":0,"hex_longitude":"2cd4b580","hex_latitude":"07377eb8","is_valid_coordinates":true} 
[2026-07-01 14:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421768960001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333507577788760064,"note":"Value kept but may cause issues"} 
[2026-07-01 14:50:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3119446398400022528,"note":"Value kept but may cause issues"} 
[2026-07-01 14:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782897556000,"timestamp_ms":1782897556000,"timestamp_seconds":1782897556,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cf9ba20"} 
[2026-07-01 14:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 14:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 14:50:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14:50:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":119166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":119166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":119166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 14:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421768960001,"66":27919,"89":206,"83":43264,"24":0,"16":333507577788760064,"44":-3119446398400022528},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-07-01 14:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421768960001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:50:36] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 14:50:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 14:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333507577788760064,"km_value":333507577788760.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:50:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3119446398400022528,"description":"Unknown IO ID 44"} 
[2026-07-01 14:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421768960001,"power":27919,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3119446398400022528}} 
[2026-07-01 14:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":119166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:50:36] local.INFO: GPS data processed {"connection_id":119166,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:50:36] local.INFO: Acknowledgment sent {"connection_id":119166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:50:36] local.INFO: TCP Data received {"connection_id":119166,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cfa0c28012cd4b58007377eb8001000f525..."} 
[2026-07-01 14:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cfa0c28012cd4b58007377eb8001000f525..."} 
[2026-07-01 14:50:36] local.INFO: Processing buffer {"connection_id":119166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cfa0c28012cd4b58007377eb8001000f525..."} 
[2026-07-01 14:50:36] local.INFO: Packet analysis {"connection_id":119166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cfa"} 
[2026-07-01 14:50:36] local.INFO: Extracted packet for processing {"connection_id":119166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cfa"} 
[2026-07-01 14:50:36] local.INFO: GPS Element Parsed {"raw_longitude":752137600,"raw_latitude":121077432,"longitude_deg":75.21376,"latitude_deg":12.1077432,"altitude":16,"angle":245,"satellites":37,"speed":0,"hex_longitude":"2cd4b580","hex_latitude":"07377eb8","is_valid_coordinates":true} 
[2026-07-01 14:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421774336001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333507577788760064,"note":"Value kept but may cause issues"} 
[2026-07-01 14:50:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3119446398400022528,"note":"Value kept but may cause issues"} 
[2026-07-01 14:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782897577000,"timestamp_ms":1782897577000,"timestamp_seconds":1782897577,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cfa0c28"} 
[2026-07-01 14:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 14:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 14:50:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14:50:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":119166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":119166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":119166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 14:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421774336001,"66":28104,"89":206,"83":43264,"24":0,"16":333507577788760064,"44":-3119446398400022528},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-07-01 14:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421774336001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:50:36] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 14:50:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 14:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333507577788760064,"km_value":333507577788760.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:50:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3119446398400022528,"description":"Unknown IO ID 44"} 
[2026-07-01 14:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421774336001,"power":28104,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3119446398400022528}} 
[2026-07-01 14:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":119166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:50:37] local.INFO: GPS data processed {"connection_id":119166,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:50:37] local.INFO: Acknowledgment sent {"connection_id":119166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:51:20] local.INFO: TCP Data received {"connection_id":120921,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:51:20] local.INFO: Processing buffer {"connection_id":120921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:51:20] local.INFO: IMEI packet received {"connection_id":120921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 14:51:20] local.INFO: IMEI acknowledgment sent {"connection_id":120921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:51:25] local.INFO: TCP Data received {"connection_id":120921,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:51:25] local.INFO: Processing buffer {"connection_id":120921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:51:25] local.INFO: IMEI packet received {"connection_id":120921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":120921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:51:26] local.INFO: TCP Data received {"connection_id":120921,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cfa5e30012cd4b58007377eb8001000f529..."} 
[2026-07-01 14:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cfa5e30012cd4b58007377eb8001000f529..."} 
[2026-07-01 14:51:26] local.INFO: Processing buffer {"connection_id":120921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cfa5e30012cd4b58007377eb8001000f529..."} 
[2026-07-01 14:51:26] local.INFO: Packet analysis {"connection_id":120921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cfa"} 
[2026-07-01 14:51:26] local.INFO: Extracted packet for processing {"connection_id":120921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cfa"} 
[2026-07-01 14:51:26] local.INFO: GPS Element Parsed {"raw_longitude":752137600,"raw_latitude":121077432,"longitude_deg":75.21376,"latitude_deg":12.1077432,"altitude":16,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2cd4b580","hex_latitude":"07377eb8","is_valid_coordinates":true} 
[2026-07-01 14:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421779712001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333507577788760064,"note":"Value kept but may cause issues"} 
[2026-07-01 14:51:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3119446398400022528,"note":"Value kept but may cause issues"} 
[2026-07-01 14:51:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782897598000,"timestamp_ms":1782897598000,"timestamp_seconds":1782897598,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cfa5e30"} 
[2026-07-01 14:51:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:51:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 14:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-01 14:51:26] 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-01 14:51:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:51:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":120921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":120921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":120921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:51:26] 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-01 14:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421779712001,"66":27995,"89":206,"83":43264,"24":0,"16":333507577788760064,"44":-3119446398400022528},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-07-01 14:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421779712001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:51:26] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 14:51:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 14:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333507577788760064,"km_value":333507577788760.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:51:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3119446398400022528,"description":"Unknown IO ID 44"} 
[2026-07-01 14:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421779712001,"power":27995,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3119446398400022528}} 
[2026-07-01 14:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":120921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:51:26] local.INFO: GPS data processed {"connection_id":120921,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:51:26] local.INFO: Acknowledgment sent {"connection_id":120921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:51:57] local.INFO: TCP Data received {"connection_id":120921,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cfab038012cd4b58007377eb8001000f52a..."} 
[2026-07-01 14:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cfab038012cd4b58007377eb8001000f52a..."} 
[2026-07-01 14:51:57] local.INFO: Processing buffer {"connection_id":120921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cfab038012cd4b58007377eb8001000f52a..."} 
[2026-07-01 14:51:57] local.INFO: Packet analysis {"connection_id":120921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cfa"} 
[2026-07-01 14:51:57] local.INFO: Extracted packet for processing {"connection_id":120921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cfa"} 
[2026-07-01 14:51:57] local.INFO: GPS Element Parsed {"raw_longitude":752137600,"raw_latitude":121077432,"longitude_deg":75.21376,"latitude_deg":12.1077432,"altitude":16,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2cd4b580","hex_latitude":"07377eb8","is_valid_coordinates":true} 
[2026-07-01 14:51:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:51:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421785088001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:51:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333507577788760064,"note":"Value kept but may cause issues"} 
[2026-07-01 14:51:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3119446398400022528,"note":"Value kept but may cause issues"} 
[2026-07-01 14:51:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:51:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782897619000,"timestamp_ms":1782897619000,"timestamp_seconds":1782897619,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cfab038"} 
[2026-07-01 14:51:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:51:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 14:51:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-01 14:51:57] 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-01 14:51:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:51:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:51:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:51:57] local.INFO: Teltonika packet parsed successfully {"connection_id":120921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:51:57] local.INFO: Passing IMEI to GPS processor {"connection_id":120921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:51:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":120921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:51:57] 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-01 14:51:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:51:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:51:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421785088001,"66":28082,"89":206,"83":43264,"24":0,"16":333507577788760064,"44":-3119446398400022528},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-07-01 14:51:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:51:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:51:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421785088001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:51:57] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 14:51:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 14:51:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333507577788760064,"km_value":333507577788760.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:51:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3119446398400022528,"description":"Unknown IO ID 44"} 
[2026-07-01 14:51:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421785088001,"power":28082,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3119446398400022528}} 
[2026-07-01 14:51:57] local.INFO: DEBUG: GPS processor result {"connection_id":120921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:51:57] local.INFO: GPS data processed {"connection_id":120921,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:51:57] local.INFO: Acknowledgment sent {"connection_id":120921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:52:20] local.INFO: TCP Data received {"connection_id":119050,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:52:20] local.INFO: Processing buffer {"connection_id":119050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:52:20] local.INFO: IMEI packet received {"connection_id":119050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 14:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":119050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:52:25] local.INFO: TCP Data received {"connection_id":119050,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:52:25] local.INFO: Processing buffer {"connection_id":119050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:52:25] local.INFO: IMEI packet received {"connection_id":119050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:52:25] local.INFO: IMEI acknowledgment sent {"connection_id":119050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:52:26] local.INFO: TCP Data received {"connection_id":119050,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cfb0240012cd4b58007377eb8001000f528..."} 
[2026-07-01 14:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cfb0240012cd4b58007377eb8001000f528..."} 
[2026-07-01 14:52:26] local.INFO: Processing buffer {"connection_id":119050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cfb0240012cd4b58007377eb8001000f528..."} 
[2026-07-01 14:52:26] local.INFO: Packet analysis {"connection_id":119050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cfb"} 
[2026-07-01 14:52:26] local.INFO: Extracted packet for processing {"connection_id":119050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cfb"} 
[2026-07-01 14:52:26] local.INFO: GPS Element Parsed {"raw_longitude":752137600,"raw_latitude":121077432,"longitude_deg":75.21376,"latitude_deg":12.1077432,"altitude":16,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2cd4b580","hex_latitude":"07377eb8","is_valid_coordinates":true} 
[2026-07-01 14:52: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-01 14:52:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421790464001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:52:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333507577788760064,"note":"Value kept but may cause issues"} 
[2026-07-01 14:52:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3119446398400022528,"note":"Value kept but may cause issues"} 
[2026-07-01 14:52:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:52:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782897640000,"timestamp_ms":1782897640000,"timestamp_seconds":1782897640,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cfb0240"} 
[2026-07-01 14:52:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:52:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 14:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-01 14:52:26] 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-01 14:52:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:52:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:52:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:52:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:52:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:52:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:52:26] 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-01 14:52:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:52:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:52:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421790464001,"66":28093,"89":206,"83":43264,"24":0,"16":333507577788760064,"44":-3119446398400022528},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-07-01 14:52:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:52:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:52:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421790464001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:52:26] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 14:52:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 14:52:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333507577788760064,"km_value":333507577788760.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:52:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3119446398400022528,"description":"Unknown IO ID 44"} 
[2026-07-01 14:52:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421790464001,"power":28093,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3119446398400022528}} 
[2026-07-01 14:52:26] local.INFO: DEBUG: GPS processor result {"connection_id":119050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:52:26] local.INFO: GPS data processed {"connection_id":119050,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:52:26] local.INFO: Acknowledgment sent {"connection_id":119050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:52:58] local.INFO: TCP Data received {"connection_id":119050,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cfb5448012cd4b58007377eb8001000f52a..."} 
[2026-07-01 14:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cfb5448012cd4b58007377eb8001000f52a..."} 
[2026-07-01 14:52:58] local.INFO: Processing buffer {"connection_id":119050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cfb5448012cd4b58007377eb8001000f52a..."} 
[2026-07-01 14:52:58] local.INFO: Packet analysis {"connection_id":119050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cfb"} 
[2026-07-01 14:52:58] local.INFO: Extracted packet for processing {"connection_id":119050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cfb"} 
[2026-07-01 14:52:58] local.INFO: GPS Element Parsed {"raw_longitude":752137600,"raw_latitude":121077432,"longitude_deg":75.21376,"latitude_deg":12.1077432,"altitude":16,"angle":245,"satellites":42,"speed":0,"hex_longitude":"2cd4b580","hex_latitude":"07377eb8","is_valid_coordinates":true} 
[2026-07-01 14: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-01 14:52:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421795840001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:52:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333507577788760064,"note":"Value kept but may cause issues"} 
[2026-07-01 14:52:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3119446398400022528,"note":"Value kept but may cause issues"} 
[2026-07-01 14:52:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:52:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782897661000,"timestamp_ms":1782897661000,"timestamp_seconds":1782897661,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cfb5448"} 
[2026-07-01 14: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-01 14:52:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 14: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":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-07-01 14:52:58] 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-01 14: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-01 14: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-01 14:52:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:52:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:52:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:52:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:52:58] 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-01 14:52:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:52:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:52:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421795840001,"66":27984,"89":206,"83":43264,"24":0,"16":333507577788760064,"44":-3119446398400022528},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-07-01 14:52:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:52:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:52:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421795840001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:52:58] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 14:52:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 14:52:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333507577788760064,"km_value":333507577788760.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:52:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3119446398400022528,"description":"Unknown IO ID 44"} 
[2026-07-01 14:52:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421795840001,"power":27984,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3119446398400022528}} 
[2026-07-01 14:52:58] local.INFO: DEBUG: GPS processor result {"connection_id":119050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:52:58] local.INFO: GPS data processed {"connection_id":119050,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:52:58] local.INFO: Acknowledgment sent {"connection_id":119050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:53:26] local.INFO: TCP Data received {"connection_id":119835,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:53:26] local.INFO: Processing buffer {"connection_id":119835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:53:26] local.INFO: IMEI packet received {"connection_id":119835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 14:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":119835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:53:31] local.INFO: TCP Data received {"connection_id":119835,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:53:31] local.INFO: Processing buffer {"connection_id":119835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:53:31] local.INFO: IMEI packet received {"connection_id":119835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":119835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:53:32] local.INFO: TCP Data received {"connection_id":119835,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cfb7388012cd4b58007377eb8001000f528..."} 
[2026-07-01 14:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cfb7388012cd4b58007377eb8001000f528..."} 
[2026-07-01 14:53:32] local.INFO: Processing buffer {"connection_id":119835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cfb7388012cd4b58007377eb8001000f528..."} 
[2026-07-01 14:53:32] local.INFO: Packet analysis {"connection_id":119835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cfb"} 
[2026-07-01 14:53:32] local.INFO: Extracted packet for processing {"connection_id":119835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cfb"} 
[2026-07-01 14:53:32] local.INFO: GPS Element Parsed {"raw_longitude":752137600,"raw_latitude":121077432,"longitude_deg":75.21376,"latitude_deg":12.1077432,"altitude":16,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2cd4b580","hex_latitude":"07377eb8","is_valid_coordinates":true} 
[2026-07-01 14:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421801216001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333507577788760064,"note":"Value kept but may cause issues"} 
[2026-07-01 14:53:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3119446398400022528,"note":"Value kept but may cause issues"} 
[2026-07-01 14:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782897669000,"timestamp_ms":1782897669000,"timestamp_seconds":1782897669,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cfb7388"} 
[2026-07-01 14:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:53:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 14:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-01 14:53:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14:53:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":119835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":119835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":119835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 14:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421801216001,"66":27974,"89":206,"83":43264,"24":0,"16":333507577788760064,"44":-3119446398400022528},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-07-01 14:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421801216001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:53:32] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 14:53:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 14:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333507577788760064,"km_value":333507577788760.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:53:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3119446398400022528,"description":"Unknown IO ID 44"} 
[2026-07-01 14:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421801216001,"power":27974,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3119446398400022528}} 
[2026-07-01 14:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":119835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:53:32] local.INFO: GPS data processed {"connection_id":119835,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:53:32] local.INFO: Acknowledgment sent {"connection_id":119835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:53:36] local.INFO: TCP Data received {"connection_id":119835,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cfb7b58012cd4b58007377eb8001000f529..."} 
[2026-07-01 14:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cfb7b58012cd4b58007377eb8001000f529..."} 
[2026-07-01 14:53:36] local.INFO: Processing buffer {"connection_id":119835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cfb7b58012cd4b58007377eb8001000f529..."} 
[2026-07-01 14:53:36] local.INFO: Packet analysis {"connection_id":119835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cfb"} 
[2026-07-01 14:53:36] local.INFO: Extracted packet for processing {"connection_id":119835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cfb"} 
[2026-07-01 14:53:36] local.INFO: GPS Element Parsed {"raw_longitude":752137600,"raw_latitude":121077432,"longitude_deg":75.21376,"latitude_deg":12.1077432,"altitude":16,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2cd4b580","hex_latitude":"07377eb8","is_valid_coordinates":true} 
[2026-07-01 14:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421803264001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333507577788760064,"note":"Value kept but may cause issues"} 
[2026-07-01 14:53:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3119446398400022528,"note":"Value kept but may cause issues"} 
[2026-07-01 14:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782897671000,"timestamp_ms":1782897671000,"timestamp_seconds":1782897671,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cfb7b58"} 
[2026-07-01 14:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 14:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-01 14:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":119835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":119835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":119835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 14:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421803264001,"66":28093,"89":206,"83":43264,"24":0,"16":333507577788760064,"44":-3119446398400022528},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-07-01 14:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421803264001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:53:36] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 14:53:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 14:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333507577788760064,"km_value":333507577788760.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:53:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3119446398400022528,"description":"Unknown IO ID 44"} 
[2026-07-01 14:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421803264001,"power":28093,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3119446398400022528}} 
[2026-07-01 14:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":119835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:53:36] local.INFO: GPS data processed {"connection_id":119835,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:53:36] local.INFO: Acknowledgment sent {"connection_id":119835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:54:20] local.INFO: TCP Data received {"connection_id":120923,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:54:20] local.INFO: Processing buffer {"connection_id":120923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:54:20] local.INFO: IMEI packet received {"connection_id":120923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 14:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":120923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:54:24] local.INFO: TCP Data received {"connection_id":120923,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:54:24] local.INFO: Processing buffer {"connection_id":120923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:54:24] local.INFO: IMEI packet received {"connection_id":120923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":120923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:54:24] local.INFO: TCP Data received {"connection_id":120923,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cfbdd00012cd4b58007377eb8001000f528..."} 
[2026-07-01 14:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cfbdd00012cd4b58007377eb8001000f528..."} 
[2026-07-01 14:54:24] local.INFO: Processing buffer {"connection_id":120923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cfbdd00012cd4b58007377eb8001000f528..."} 
[2026-07-01 14:54:24] local.INFO: Packet analysis {"connection_id":120923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cfb"} 
[2026-07-01 14:54:24] local.INFO: Extracted packet for processing {"connection_id":120923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cfb"} 
[2026-07-01 14:54:24] local.INFO: GPS Element Parsed {"raw_longitude":752137600,"raw_latitude":121077432,"longitude_deg":75.21376,"latitude_deg":12.1077432,"altitude":16,"angle":245,"satellites":40,"speed":0,"hex_longitude":"2cd4b580","hex_latitude":"07377eb8","is_valid_coordinates":true} 
[2026-07-01 14:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:54:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421803776001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:54:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333507577788760064,"note":"Value kept but may cause issues"} 
[2026-07-01 14:54:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3119446398400022528,"note":"Value kept but may cause issues"} 
[2026-07-01 14:54:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:54:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782897696000,"timestamp_ms":1782897696000,"timestamp_seconds":1782897696,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cfbdd00"} 
[2026-07-01 14:54:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:54:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 14:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-07-01 14:54:24] 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-01 14:54:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:54:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:54:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:54:24] local.INFO: Teltonika packet parsed successfully {"connection_id":120923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:54:24] local.INFO: Passing IMEI to GPS processor {"connection_id":120923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:54:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":120923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:54:24] 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-01 14:54:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:54:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:54:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421803776001,"66":26604,"89":206,"83":43264,"24":0,"16":333507577788760064,"44":-3119446398400022528},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-07-01 14:54:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:54:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:54:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421803776001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:54:24] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 14:54:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 14:54:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333507577788760064,"km_value":333507577788760.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:54:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3119446398400022528,"description":"Unknown IO ID 44"} 
[2026-07-01 14:54:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421803776001,"power":26604,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3119446398400022528}} 
[2026-07-01 14:54:24] local.INFO: DEBUG: GPS processor result {"connection_id":120923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:54:24] local.INFO: GPS data processed {"connection_id":120923,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:54:24] local.INFO: Acknowledgment sent {"connection_id":120923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:54:56] local.INFO: TCP Data received {"connection_id":120923,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cfc2f08012cd4b58007377eb8001000f529..."} 
[2026-07-01 14:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cfc2f08012cd4b58007377eb8001000f529..."} 
[2026-07-01 14:54:56] local.INFO: Processing buffer {"connection_id":120923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cfc2f08012cd4b58007377eb8001000f529..."} 
[2026-07-01 14:54:56] local.INFO: Packet analysis {"connection_id":120923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cfc"} 
[2026-07-01 14:54:56] local.INFO: Extracted packet for processing {"connection_id":120923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cfc"} 
[2026-07-01 14:54:56] local.INFO: GPS Element Parsed {"raw_longitude":752137600,"raw_latitude":121077432,"longitude_deg":75.21376,"latitude_deg":12.1077432,"altitude":16,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2cd4b580","hex_latitude":"07377eb8","is_valid_coordinates":true} 
[2026-07-01 14:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421810176001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333507577788760064,"note":"Value kept but may cause issues"} 
[2026-07-01 14:54:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3119446398400022528,"note":"Value kept but may cause issues"} 
[2026-07-01 14:54:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782897717000,"timestamp_ms":1782897717000,"timestamp_seconds":1782897717,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cfc2f08"} 
[2026-07-01 14:54:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14: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-01 14:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":236,"data_length":795,"current_offset":136} 
[2026-07-01 14:54:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2837,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14: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-01 14:54:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":120923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":120923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":120923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:54: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-01 14:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421810176001,"66":26321,"89":206,"83":43264,"24":0,"16":333507577788760064,"44":-3119446398400022528},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-07-01 14:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421810176001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:54:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 14:54:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 14:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333507577788760064,"km_value":333507577788760.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:54:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3119446398400022528,"description":"Unknown IO ID 44"} 
[2026-07-01 14:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421810176001,"power":26321,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3119446398400022528}} 
[2026-07-01 14:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":120923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:54:56] local.INFO: GPS data processed {"connection_id":120923,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:54:56] local.INFO: Acknowledgment sent {"connection_id":120923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:55:21] local.INFO: TCP Data received {"connection_id":119167,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:55:21] local.INFO: Processing buffer {"connection_id":119167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:55:21] local.INFO: IMEI packet received {"connection_id":119167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 14:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":119167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:55:25] local.INFO: TCP Data received {"connection_id":119167,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:55:25] local.INFO: Processing buffer {"connection_id":119167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:55:25] local.INFO: IMEI packet received {"connection_id":119167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":119167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:55:26] local.INFO: TCP Data received {"connection_id":119167,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cfc8110012cd4b58007377eb8001000f529..."} 
[2026-07-01 14:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cfc8110012cd4b58007377eb8001000f529..."} 
[2026-07-01 14:55:26] local.INFO: Processing buffer {"connection_id":119167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cfc8110012cd4b58007377eb8001000f529..."} 
[2026-07-01 14:55:26] local.INFO: Packet analysis {"connection_id":119167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cfc"} 
[2026-07-01 14:55:26] local.INFO: Extracted packet for processing {"connection_id":119167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cfc"} 
[2026-07-01 14:55:26] local.INFO: GPS Element Parsed {"raw_longitude":752137600,"raw_latitude":121077432,"longitude_deg":75.21376,"latitude_deg":12.1077432,"altitude":16,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2cd4b580","hex_latitude":"07377eb8","is_valid_coordinates":true} 
[2026-07-01 14:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:55:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421815552001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:55:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333507577788760064,"note":"Value kept but may cause issues"} 
[2026-07-01 14:55:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3119446398400022528,"note":"Value kept but may cause issues"} 
[2026-07-01 14:55:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:55:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782897738000,"timestamp_ms":1782897738000,"timestamp_seconds":1782897738,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cfc8110"} 
[2026-07-01 14:55:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:55:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 14:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-07-01 14:55:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14:55:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:55:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:55:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:55:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:55:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:55:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:55:26] 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-01 14:55:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:55:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:55:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421815552001,"66":26158,"89":206,"83":43264,"24":0,"16":333507577788760064,"44":-3119446398400022528},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-07-01 14:55:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:55:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:55:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421815552001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:55:26] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 14:55:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 14:55:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333507577788760064,"km_value":333507577788760.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:55:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3119446398400022528,"description":"Unknown IO ID 44"} 
[2026-07-01 14:55:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421815552001,"power":26158,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3119446398400022528}} 
[2026-07-01 14:55:26] local.INFO: DEBUG: GPS processor result {"connection_id":119167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:55:26] local.INFO: GPS data processed {"connection_id":119167,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:55:26] local.INFO: Acknowledgment sent {"connection_id":119167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:55:45] local.INFO: TCP Data received {"connection_id":120924,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120924,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:55:45] local.INFO: Processing buffer {"connection_id":120924,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:55:45] local.INFO: IMEI packet received {"connection_id":120924,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 14:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":120924,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:55:58] local.INFO: TCP Data received {"connection_id":119167,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cfcd318012cd4b58007377eb8001000f527..."} 
[2026-07-01 14:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cfcd318012cd4b58007377eb8001000f527..."} 
[2026-07-01 14:55:58] local.INFO: Processing buffer {"connection_id":119167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cfcd318012cd4b58007377eb8001000f527..."} 
[2026-07-01 14:55:58] local.INFO: Packet analysis {"connection_id":119167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cfc"} 
[2026-07-01 14:55:58] local.INFO: Extracted packet for processing {"connection_id":119167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cfc"} 
[2026-07-01 14:55:58] local.INFO: GPS Element Parsed {"raw_longitude":752137600,"raw_latitude":121077432,"longitude_deg":75.21376,"latitude_deg":12.1077432,"altitude":16,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2cd4b580","hex_latitude":"07377eb8","is_valid_coordinates":true} 
[2026-07-01 14: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-01 14:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421820928001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333507577788760064,"note":"Value kept but may cause issues"} 
[2026-07-01 14:55:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3119446398400022528,"note":"Value kept but may cause issues"} 
[2026-07-01 14:55:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782897759000,"timestamp_ms":1782897759000,"timestamp_seconds":1782897759,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cfcd318"} 
[2026-07-01 14: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-01 14:55:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 14: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-01 14:55:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1122,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14: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-01 14: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-01 14:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:55:58] 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-01 14:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421820928001,"66":25995,"89":206,"83":43264,"24":0,"16":333507577788760064,"44":-3119446398400022528},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-07-01 14:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421820928001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:55:58] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 14:55:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 14:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333507577788760064,"km_value":333507577788760.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:55:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3119446398400022528,"description":"Unknown IO ID 44"} 
[2026-07-01 14:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421820928001,"power":25995,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3119446398400022528}} 
[2026-07-01 14:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":119167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:55:58] local.INFO: GPS data processed {"connection_id":119167,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:55:58] local.INFO: Acknowledgment sent {"connection_id":119167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:56:15] local.INFO: TCP Data received {"connection_id":119168,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119168,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:56:15] local.INFO: Processing buffer {"connection_id":119168,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:56:15] local.INFO: IMEI packet received {"connection_id":119168,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 14:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":119168,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:56:20] local.INFO: TCP Data received {"connection_id":119168,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119168,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:56:20] local.INFO: Processing buffer {"connection_id":119168,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:56:20] local.INFO: IMEI packet received {"connection_id":119168,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-01 14:56:20] local.INFO: IMEI acknowledgment sent {"connection_id":119168,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:56:21] local.INFO: TCP Data received {"connection_id":119051,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:56:21] local.INFO: Processing buffer {"connection_id":119051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:56:21] local.INFO: IMEI packet received {"connection_id":119051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 14:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":119051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:56:21] local.INFO: TCP Data received {"connection_id":119168,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cddc5e0012cb2a200078238f80046000020..."} 
[2026-07-01 14:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cddc5e0012cb2a200078238f80046000020..."} 
[2026-07-01 14:56:21] local.INFO: Processing buffer {"connection_id":119168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cddc5e0012cb2a200078238f80046000020..."} 
[2026-07-01 14:56:21] local.INFO: Packet analysis {"connection_id":119168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cdd"} 
[2026-07-01 14:56:21] local.INFO: Extracted packet for processing {"connection_id":119168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cdd"} 
[2026-07-01 14:56:21] local.INFO: GPS Element Parsed {"raw_longitude":749904384,"raw_latitude":125974776,"longitude_deg":74.9904384,"latitude_deg":12.5974776,"altitude":70,"angle":0,"satellites":32,"speed":0,"hex_longitude":"2cb2a200","hex_latitude":"078238f8","is_valid_coordinates":true} 
[2026-07-01 14:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421228288001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130042358363324416,"note":"Value kept but may cause issues"} 
[2026-07-01 14:56:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574893356481710080,"note":"Value kept but may cause issues"} 
[2026-07-01 14:56:21] 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-01 14:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782895724000,"timestamp_ms":1782895724000,"timestamp_seconds":1782895724,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cddc5e0"} 
[2026-07-01 14:56:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:56: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-01 14:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-07-01 14:56: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-01 14:56:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:56:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":119168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":119168,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-01 14:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":119168,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-01 14:56:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 14:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-01 14:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-01 14:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421228288001,"66":25299,"242":206,"85":36864,"24":0,"16":130042358363324416,"44":-5574893356481710080},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-07-01 14:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-01 14:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-01 14:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421228288001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:56:21] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-07-01 14:56:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-01 14:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130042358363324416,"km_value":130042358363324.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:56:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574893356481710080,"description":"Unknown IO ID 44"} 
[2026-07-01 14:56:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421228288001,"power":25299,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5574893356481710080}} 
[2026-07-01 14:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":119168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417499,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:56:21] local.INFO: GPS data processed {"connection_id":119168,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:56:21] local.INFO: Acknowledgment sent {"connection_id":119168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:56:25] local.INFO: TCP Data received {"connection_id":119051,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:56:25] local.INFO: Processing buffer {"connection_id":119051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:56:25] local.INFO: IMEI packet received {"connection_id":119051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":119051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:56:27] local.INFO: TCP Data received {"connection_id":119051,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cfd2520012cd4b58007377eb8001000f527..."} 
[2026-07-01 14:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cfd2520012cd4b58007377eb8001000f527..."} 
[2026-07-01 14:56:27] local.INFO: Processing buffer {"connection_id":119051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cfd2520012cd4b58007377eb8001000f527..."} 
[2026-07-01 14:56:27] local.INFO: Packet analysis {"connection_id":119051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cfd"} 
[2026-07-01 14:56:27] local.INFO: Extracted packet for processing {"connection_id":119051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cfd"} 
[2026-07-01 14:56:27] local.INFO: GPS Element Parsed {"raw_longitude":752137600,"raw_latitude":121077432,"longitude_deg":75.21376,"latitude_deg":12.1077432,"altitude":16,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2cd4b580","hex_latitude":"07377eb8","is_valid_coordinates":true} 
[2026-07-01 14:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421826304001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333507577788760064,"note":"Value kept but may cause issues"} 
[2026-07-01 14:56:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3119446398400022528,"note":"Value kept but may cause issues"} 
[2026-07-01 14:56:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782897780000,"timestamp_ms":1782897780000,"timestamp_seconds":1782897780,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cfd2520"} 
[2026-07-01 14:56:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:56: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-01 14:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-01 14:56:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14:56:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:56:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:56:27] local.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-01 14:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421826304001,"66":27658,"89":206,"83":43264,"24":0,"16":333507577788760064,"44":-3119446398400022528},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-07-01 14:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421826304001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:56:27] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 14:56:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 14:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333507577788760064,"km_value":333507577788760.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:56:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3119446398400022528,"description":"Unknown IO ID 44"} 
[2026-07-01 14:56:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421826304001,"power":27658,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3119446398400022528}} 
[2026-07-01 14:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":119051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:56:27] local.INFO: GPS data processed {"connection_id":119051,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:56:27] local.INFO: Acknowledgment sent {"connection_id":119051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:56:59] local.INFO: TCP Data received {"connection_id":119051,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cfd7728012cd4b58007377eb8001000f529..."} 
[2026-07-01 14:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cfd7728012cd4b58007377eb8001000f529..."} 
[2026-07-01 14:56:59] local.INFO: Processing buffer {"connection_id":119051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cfd7728012cd4b58007377eb8001000f529..."} 
[2026-07-01 14:56:59] local.INFO: Packet analysis {"connection_id":119051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cfd"} 
[2026-07-01 14:56:59] local.INFO: Extracted packet for processing {"connection_id":119051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cfd"} 
[2026-07-01 14:56:59] local.INFO: GPS Element Parsed {"raw_longitude":752137600,"raw_latitude":121077432,"longitude_deg":75.21376,"latitude_deg":12.1077432,"altitude":16,"angle":245,"satellites":41,"speed":0,"hex_longitude":"2cd4b580","hex_latitude":"07377eb8","is_valid_coordinates":true} 
[2026-07-01 14:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421831680001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333507577788760064,"note":"Value kept but may cause issues"} 
[2026-07-01 14:56:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3119446398400022528,"note":"Value kept but may cause issues"} 
[2026-07-01 14:56:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782897801000,"timestamp_ms":1782897801000,"timestamp_seconds":1782897801,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cfd7728"} 
[2026-07-01 14:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:56: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-01 14:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-01 14:56:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14:56:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:56:59] local.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-01 14:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421831680001,"66":27908,"89":206,"83":43264,"24":0,"16":333507577788760064,"44":-3119446398400022528},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-07-01 14:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421831680001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:56:59] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 14:56:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 14:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333507577788760064,"km_value":333507577788760.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:56:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3119446398400022528,"description":"Unknown IO ID 44"} 
[2026-07-01 14:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421831680001,"power":27908,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3119446398400022528}} 
[2026-07-01 14:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":119051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:56:59] local.INFO: GPS data processed {"connection_id":119051,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:56:59] local.INFO: Acknowledgment sent {"connection_id":119051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:57:18] local.INFO: TCP Data received {"connection_id":119838,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119838,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:57:18] local.INFO: Processing buffer {"connection_id":119838,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:57:18] local.INFO: IMEI packet received {"connection_id":119838,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 14:57:18] local.INFO: IMEI acknowledgment sent {"connection_id":119838,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:57:20] local.INFO: TCP Data received {"connection_id":119839,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:57:20] local.INFO: Processing buffer {"connection_id":119839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:57:20] local.INFO: IMEI packet received {"connection_id":119839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 14:57:20] local.INFO: IMEI acknowledgment sent {"connection_id":119839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:57:26] local.INFO: TCP Data received {"connection_id":119839,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:57:26] local.INFO: Processing buffer {"connection_id":119839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:57:26] local.INFO: IMEI packet received {"connection_id":119839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":119839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:57:27] local.INFO: TCP Data received {"connection_id":119839,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cfdc930012cd4b24007377d60000f00e82a..."} 
[2026-07-01 14:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cfdc930012cd4b24007377d60000f00e82a..."} 
[2026-07-01 14:57:27] local.INFO: Processing buffer {"connection_id":119839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cfdc930012cd4b24007377d60000f00e82a..."} 
[2026-07-01 14:57:27] local.INFO: Packet analysis {"connection_id":119839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cfd"} 
[2026-07-01 14:57:27] local.INFO: Extracted packet for processing {"connection_id":119839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cfd"} 
[2026-07-01 14:57:27] local.INFO: GPS Element Parsed {"raw_longitude":752136768,"raw_latitude":121077088,"longitude_deg":75.2136768,"latitude_deg":12.1077088,"altitude":15,"angle":232,"satellites":42,"speed":4,"hex_longitude":"2cd4b240","hex_latitude":"07377d60","is_valid_coordinates":true} 
[2026-07-01 14:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421837056001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333507620738433024,"note":"Value kept but may cause issues"} 
[2026-07-01 14:57:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3119446398400022528,"note":"Value kept but may cause issues"} 
[2026-07-01 14:57:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782897822000,"timestamp_ms":1782897822000,"timestamp_seconds":1782897822,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cfdc930"} 
[2026-07-01 14:57:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:57: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-01 14:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 14:57:27] 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-01 14:57:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:57:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:57:27] 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-01 14:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421837056001,"66":27930,"89":206,"83":43264,"24":4,"16":333507620738433024,"44":-3119446398400022528},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-07-01 14:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421837056001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:57:27] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 14:57:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 14:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333507620738433024,"km_value":333507620738433.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:57:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3119446398400022528,"description":"Unknown IO ID 44"} 
[2026-07-01 14:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421837056001,"power":27930,"unknown_89":206,"unknown_83":43264,"ignition":4,"odometer":null,"unknown_44":-3119446398400022528}} 
[2026-07-01 14:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":119839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:57:27] local.INFO: GPS data processed {"connection_id":119839,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:57:27] local.INFO: Acknowledgment sent {"connection_id":119839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:58:02] local.INFO: TCP Data received {"connection_id":119839,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cfdc930012cd4b24007377d60000f00e82a..."} 
[2026-07-01 14:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cfdc930012cd4b24007377d60000f00e82a..."} 
[2026-07-01 14:58:02] local.INFO: Processing buffer {"connection_id":119839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cfdc930012cd4b24007377d60000f00e82a..."} 
[2026-07-01 14:58:02] local.INFO: Packet analysis {"connection_id":119839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cfd"} 
[2026-07-01 14:58:02] local.INFO: Extracted packet for processing {"connection_id":119839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cfd"} 
[2026-07-01 14:58:02] local.INFO: GPS Element Parsed {"raw_longitude":752136768,"raw_latitude":121077088,"longitude_deg":75.2136768,"latitude_deg":12.1077088,"altitude":15,"angle":232,"satellites":42,"speed":4,"hex_longitude":"2cd4b240","hex_latitude":"07377d60","is_valid_coordinates":true} 
[2026-07-01 14:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421842432001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333507620738433024,"note":"Value kept but may cause issues"} 
[2026-07-01 14:58:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3120361192074420224,"note":"Value kept but may cause issues"} 
[2026-07-01 14:58:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782897822000,"timestamp_ms":1782897822000,"timestamp_seconds":1782897822,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cfdc930"} 
[2026-07-01 14:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:58:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 14:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-01 14:58:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14:58:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":119839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":119839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":119839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:58:02] 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-01 14:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421842432001,"66":27930,"89":206,"83":43264,"24":4,"16":333507620738433024,"44":-3120361192074420224},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-07-01 14:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421842432001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:58:02] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 14:58:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 14:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333507620738433024,"km_value":333507620738433.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:58:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3120361192074420224,"description":"Unknown IO ID 44"} 
[2026-07-01 14:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421842432001,"power":27930,"unknown_89":206,"unknown_83":43264,"ignition":4,"odometer":null,"unknown_44":-3120361192074420224}} 
[2026-07-01 14:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":119839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:58:02] local.INFO: GPS data processed {"connection_id":119839,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:58:02] local.INFO: Acknowledgment sent {"connection_id":119839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:58:25] local.INFO: TCP Data received {"connection_id":119841,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:58:25] local.INFO: Processing buffer {"connection_id":119841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:58:25] local.INFO: IMEI packet received {"connection_id":119841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 14:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":119841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:58:30] local.INFO: TCP Data received {"connection_id":119841,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:58:30] local.INFO: Processing buffer {"connection_id":119841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:58:30] local.INFO: IMEI packet received {"connection_id":119841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":119841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:58:32] local.INFO: TCP Data received {"connection_id":119841,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cfdd4e8012cd4b10007377ca0000e00d82b..."} 
[2026-07-01 14:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cfdd4e8012cd4b10007377ca0000e00d82b..."} 
[2026-07-01 14:58:32] local.INFO: Processing buffer {"connection_id":119841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cfdd4e8012cd4b10007377ca0000e00d82b..."} 
[2026-07-01 14:58:32] local.INFO: Packet analysis {"connection_id":119841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cfd"} 
[2026-07-01 14:58:32] local.INFO: Extracted packet for processing {"connection_id":119841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cfd"} 
[2026-07-01 14:58:32] local.INFO: GPS Element Parsed {"raw_longitude":752136448,"raw_latitude":121076896,"longitude_deg":75.2136448,"latitude_deg":12.1076896,"altitude":14,"angle":216,"satellites":43,"speed":4,"hex_longitude":"2cd4b100","hex_latitude":"07377ca0","is_valid_coordinates":true} 
[2026-07-01 14:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421842432001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333507642213269504,"note":"Value kept but may cause issues"} 
[2026-07-01 14:58:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3120361192074420224,"note":"Value kept but may cause issues"} 
[2026-07-01 14:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782897825000,"timestamp_ms":1782897825000,"timestamp_seconds":1782897825,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cfdd4e8"} 
[2026-07-01 14:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:58:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 14:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-01 14:58:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14:58:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":119841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":119841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":119841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 14:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421842432001,"66":27800,"89":206,"83":43264,"24":4,"16":333507642213269504,"44":-3120361192074420224},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-07-01 14:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421842432001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:58:32] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 14:58:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 14:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333507642213269504,"km_value":333507642213269.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:58:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3120361192074420224,"description":"Unknown IO ID 44"} 
[2026-07-01 14:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421842432001,"power":27800,"unknown_89":206,"unknown_83":43264,"ignition":4,"odometer":null,"unknown_44":-3120361192074420224}} 
[2026-07-01 14:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":119841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:58:32] local.INFO: GPS data processed {"connection_id":119841,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:58:32] local.INFO: Acknowledgment sent {"connection_id":119841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:58:36] local.INFO: TCP Data received {"connection_id":119841,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cfddcb8012cd4b0c007377c38000e00e62a..."} 
[2026-07-01 14:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cfddcb8012cd4b0c007377c38000e00e62a..."} 
[2026-07-01 14:58:36] local.INFO: Processing buffer {"connection_id":119841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cfddcb8012cd4b0c007377c38000e00e62a..."} 
[2026-07-01 14:58:36] local.INFO: Packet analysis {"connection_id":119841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cfd"} 
[2026-07-01 14:58:36] local.INFO: Extracted packet for processing {"connection_id":119841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cfd"} 
[2026-07-01 14:58:36] local.INFO: GPS Element Parsed {"raw_longitude":752136384,"raw_latitude":121076792,"longitude_deg":75.2136384,"latitude_deg":12.1076792,"altitude":14,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2cd4b0c0","hex_latitude":"07377c38","is_valid_coordinates":true} 
[2026-07-01 14: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-01 14:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421843200001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333507646508236800,"note":"Value kept but may cause issues"} 
[2026-07-01 14:58:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3120713035795357696,"note":"Value kept but may cause issues"} 
[2026-07-01 14:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782897827000,"timestamp_ms":1782897827000,"timestamp_seconds":1782897827,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cfddcb8"} 
[2026-07-01 14: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-01 14:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 14: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 14:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14: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-01 14: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-01 14:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":119841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":119841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":119841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 14:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421843200001,"66":27930,"89":206,"83":43264,"24":0,"16":333507646508236800,"44":-3120713035795357696},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-07-01 14:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421843200001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:58:36] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 14:58:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 14:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333507646508236800,"km_value":333507646508236.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:58:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3120713035795357696,"description":"Unknown IO ID 44"} 
[2026-07-01 14:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421843200001,"power":27930,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3120713035795357696}} 
[2026-07-01 14:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":119841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:58:36] local.INFO: GPS data processed {"connection_id":119841,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:58:36] local.INFO: Acknowledgment sent {"connection_id":119841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:59:20] local.INFO: TCP Data received {"connection_id":119171,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:59:20] local.INFO: Processing buffer {"connection_id":119171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:59:20] local.INFO: IMEI packet received {"connection_id":119171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 14:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":119171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:59:25] local.INFO: TCP Data received {"connection_id":119171,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:59:25] local.INFO: Processing buffer {"connection_id":119171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 14:59:25] local.INFO: IMEI packet received {"connection_id":119171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 14:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":119171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 14:59:27] local.INFO: TCP Data received {"connection_id":119171,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cfe2ec0012cd4b0c007377c28000e00e628..."} 
[2026-07-01 14:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cfe2ec0012cd4b0c007377c28000e00e628..."} 
[2026-07-01 14:59:27] local.INFO: Processing buffer {"connection_id":119171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cfe2ec0012cd4b0c007377c28000e00e628..."} 
[2026-07-01 14:59:27] local.INFO: Packet analysis {"connection_id":119171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cfe"} 
[2026-07-01 14:59:27] local.INFO: Extracted packet for processing {"connection_id":119171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cfe"} 
[2026-07-01 14:59:27] local.INFO: GPS Element Parsed {"raw_longitude":752136384,"raw_latitude":121076776,"longitude_deg":75.2136384,"latitude_deg":12.1076776,"altitude":14,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2cd4b0c0","hex_latitude":"07377c28","is_valid_coordinates":true} 
[2026-07-01 14:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 14:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421843712001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333507646508236800,"note":"Value kept but may cause issues"} 
[2026-07-01 14:59:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3120783404539561984,"note":"Value kept but may cause issues"} 
[2026-07-01 14:59:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782897848000,"timestamp_ms":1782897848000,"timestamp_seconds":1782897848,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cfe2ec0"} 
[2026-07-01 14:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 14:59: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-01 14:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-01 14:59:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14:59:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 14:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 14:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:59:27] 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-01 14:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421843712001,"66":27658,"89":206,"83":43264,"24":0,"16":333507646508236800,"44":-3120783404539561984},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-07-01 14:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421843712001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:59:27] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 14:59:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 14:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333507646508236800,"km_value":333507646508236.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:59:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3120783404539561984,"description":"Unknown IO ID 44"} 
[2026-07-01 14:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421843712001,"power":27658,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3120783404539561984}} 
[2026-07-01 14:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":119171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:59:27] local.INFO: GPS data processed {"connection_id":119171,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:59:27] local.INFO: Acknowledgment sent {"connection_id":119171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 14:59:30] local.INFO: TCP Data received {"connection_id":119169,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119169,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:59:30] local.INFO: Processing buffer {"connection_id":119169,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 14:59:30] local.INFO: IMEI packet received {"connection_id":119169,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 14:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":119169,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 14:59:58] local.INFO: TCP Data received {"connection_id":119171,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cfe7ce0012cd4b0c007377c28000e00e62b..."} 
[2026-07-01 14:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cfe7ce0012cd4b0c007377c28000e00e62b..."} 
[2026-07-01 14:59:58] local.INFO: Processing buffer {"connection_id":119171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cfe7ce0012cd4b0c007377c28000e00e62b..."} 
[2026-07-01 14:59:58] local.INFO: Packet analysis {"connection_id":119171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cfe"} 
[2026-07-01 14:59:58] local.INFO: Extracted packet for processing {"connection_id":119171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cfe"} 
[2026-07-01 14:59:58] local.INFO: GPS Element Parsed {"raw_longitude":752136384,"raw_latitude":121076776,"longitude_deg":75.2136384,"latitude_deg":12.1076776,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2cd4b0c0","hex_latitude":"07377c28","is_valid_coordinates":true} 
[2026-07-01 14: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-01 14:59:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421849088001,"note":"Value kept but may cause issues"} 
[2026-07-01 14:59:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333507646508236800,"note":"Value kept but may cause issues"} 
[2026-07-01 14:59:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3120783404539566080,"note":"Value kept but may cause issues"} 
[2026-07-01 14:59:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 14:59:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782897868000,"timestamp_ms":1782897868000,"timestamp_seconds":1782897868,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cfe7ce0"} 
[2026-07-01 14: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-01 14:59:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 14: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-01 14:59:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 14: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-01 14: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-01 14:59:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 14:59:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 14:59:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:59:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 14:59:58] 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-01 14:59:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 14:59:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 14:59:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421849088001,"66":27843,"89":206,"83":43264,"24":0,"16":333507646508236800,"44":-3120783404539566080},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-07-01 14:59:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 14:59:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 14:59:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421849088001,"description":"Unknown IO ID 0"} 
[2026-07-01 14:59:58] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 14:59:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 14:59:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333507646508236800,"km_value":333507646508236.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 14:59:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3120783404539566080,"description":"Unknown IO ID 44"} 
[2026-07-01 14:59:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421849088001,"power":27843,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3120783404539566080}} 
[2026-07-01 14:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":119171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 14:59:59] local.INFO: GPS data processed {"connection_id":119171,"processed":1,"errors":0,"total":1} 
[2026-07-01 14:59:59] local.INFO: Acknowledgment sent {"connection_id":119171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:00:20] local.INFO: TCP Data received {"connection_id":119053,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:00:20] local.INFO: Processing buffer {"connection_id":119053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:00:20] local.INFO: IMEI packet received {"connection_id":119053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 15:00:20] local.INFO: IMEI acknowledgment sent {"connection_id":119053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:00:25] local.INFO: TCP Data received {"connection_id":119053,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:00:25] local.INFO: Processing buffer {"connection_id":119053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:00:25] local.INFO: IMEI packet received {"connection_id":119053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":119053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:00:27] local.INFO: TCP Data received {"connection_id":119053,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cfecb00012cd4ae4007377ad0000d013823..."} 
[2026-07-01 15:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cfecb00012cd4ae4007377ad0000d013823..."} 
[2026-07-01 15:00:27] local.INFO: Processing buffer {"connection_id":119053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cfecb00012cd4ae4007377ad0000d013823..."} 
[2026-07-01 15:00:27] local.INFO: Packet analysis {"connection_id":119053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cfe"} 
[2026-07-01 15:00:27] local.INFO: Extracted packet for processing {"connection_id":119053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cfe"} 
[2026-07-01 15:00:27] local.INFO: GPS Element Parsed {"raw_longitude":752135744,"raw_latitude":121076432,"longitude_deg":75.2135744,"latitude_deg":12.1076432,"altitude":13,"angle":312,"satellites":35,"speed":1,"hex_longitude":"2cd4ae40","hex_latitude":"07377ad0","is_valid_coordinates":true} 
[2026-07-01 15:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:00:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421854208001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:00:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333507680867975168,"note":"Value kept but may cause issues"} 
[2026-07-01 15:00:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3120783404539566080,"note":"Value kept but may cause issues"} 
[2026-07-01 15:00:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:00:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782897888000,"timestamp_ms":1782897888000,"timestamp_seconds":1782897888,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cfecb00"} 
[2026-07-01 15:00:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:00: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-01 15:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 15:00:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:00:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:00:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:00:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:00:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:00:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:00:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:00:27] 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-01 15:00:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:00:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:00:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421854208001,"66":27930,"89":206,"83":43264,"24":1,"16":333507680867975168,"44":-3120783404539566080},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-07-01 15:00:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:00:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:00:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421854208001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:00:27] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 15:00:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 15:00:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333507680867975168,"km_value":333507680867975.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:00:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3120783404539566080,"description":"Unknown IO ID 44"} 
[2026-07-01 15:00:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421854208001,"power":27930,"unknown_89":206,"unknown_83":43264,"ignition":1,"odometer":null,"unknown_44":-3120783404539566080}} 
[2026-07-01 15:00:27] local.INFO: DEBUG: GPS processor result {"connection_id":119053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:00:27] local.INFO: GPS data processed {"connection_id":119053,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:00:27] local.INFO: Acknowledgment sent {"connection_id":119053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:00:58] local.INFO: TCP Data received {"connection_id":119053,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f1cfecee8012cd4ae4007377ad0000d013823..."} 
[2026-07-01 15:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1cfecee8012cd4ae4007377ad0000d013823..."} 
[2026-07-01 15:00:58] local.INFO: Processing buffer {"connection_id":119053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1cfecee8012cd4ae4007377ad0000d013823..."} 
[2026-07-01 15:00:58] local.INFO: Packet analysis {"connection_id":119053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1cfe"} 
[2026-07-01 15:00:58] local.INFO: Extracted packet for processing {"connection_id":119053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1cfe"} 
[2026-07-01 15:00:58] local.INFO: GPS Element Parsed {"raw_longitude":752135744,"raw_latitude":121076432,"longitude_deg":75.2135744,"latitude_deg":12.1076432,"altitude":13,"angle":312,"satellites":35,"speed":0,"hex_longitude":"2cd4ae40","hex_latitude":"07377ad0","is_valid_coordinates":true} 
[2026-07-01 15:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421859328001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333507680867975168,"note":"Value kept but may cause issues"} 
[2026-07-01 15:00:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121487091981430784,"note":"Value kept but may cause issues"} 
[2026-07-01 15:00:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782897889000,"timestamp_ms":1782897889000,"timestamp_seconds":1782897889,"priority":1,"record_length":96,"hex_timestamp":"0000019f1cfecee8"} 
[2026-07-01 15: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-01 15:00:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-01 15:00:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15: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-01 15: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-01 15:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:00:58] 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-01 15:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421859328001,"66":27767,"89":206,"83":43264,"24":0,"16":333507680867975168,"44":-3121487091981430784},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-07-01 15:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421859328001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:00:58] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 15:00:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 15:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333507680867975168,"km_value":333507680867975.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:00:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121487091981430784,"description":"Unknown IO ID 44"} 
[2026-07-01 15:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421859328001,"power":27767,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121487091981430784}} 
[2026-07-01 15:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":119053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:00:58] local.INFO: GPS data processed {"connection_id":119053,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:00:58] local.INFO: Acknowledgment sent {"connection_id":119053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:01:20] local.INFO: TCP Data received {"connection_id":120926,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:01:20] local.INFO: Processing buffer {"connection_id":120926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:01:20] local.INFO: IMEI packet received {"connection_id":120926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 15:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":120926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:01:25] local.INFO: TCP Data received {"connection_id":120926,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:01:25] local.INFO: Processing buffer {"connection_id":120926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:01:25] local.INFO: IMEI packet received {"connection_id":120926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:01:25] local.INFO: IMEI acknowledgment sent {"connection_id":120926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:01:26] local.INFO: TCP Data received {"connection_id":120926,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d037268012cd4ad8007377970000c01382a..."} 
[2026-07-01 15:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d037268012cd4ad8007377970000c01382a..."} 
[2026-07-01 15:01:26] local.INFO: Processing buffer {"connection_id":120926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d037268012cd4ad8007377970000c01382a..."} 
[2026-07-01 15:01:26] local.INFO: Packet analysis {"connection_id":120926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d03"} 
[2026-07-01 15:01:26] local.INFO: Extracted packet for processing {"connection_id":120926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d03"} 
[2026-07-01 15:01:26] local.INFO: GPS Element Parsed {"raw_longitude":752135552,"raw_latitude":121076080,"longitude_deg":75.2135552,"latitude_deg":12.107608,"altitude":12,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2cd4ad80","hex_latitude":"07377970","is_valid_coordinates":true} 
[2026-07-01 15:01:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421859584001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333507680867975168,"note":"Value kept but may cause issues"} 
[2026-07-01 15:01:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121487091981430784,"note":"Value kept but may cause issues"} 
[2026-07-01 15:01:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782898193000,"timestamp_ms":1782898193000,"timestamp_seconds":1782898193,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d037268"} 
[2026-07-01 15:01:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:01:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 15:01:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 15:01:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:01:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:01:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":120926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":120926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":120926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:01:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421859584001,"66":26310,"89":206,"83":43264,"24":0,"16":333507680867975168,"44":-3121487091981430784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-07-01 15:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421859584001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:01:26] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 15:01:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 15:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333507680867975168,"km_value":333507680867975.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:01:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121487091981430784,"description":"Unknown IO ID 44"} 
[2026-07-01 15:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421859584001,"power":26310,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121487091981430784}} 
[2026-07-01 15:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":120926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:01:26] local.INFO: GPS data processed {"connection_id":120926,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:01:26] local.INFO: Acknowledgment sent {"connection_id":120926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:01:58] local.INFO: TCP Data received {"connection_id":120926,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d037268012cd4ad8007377970000c01382a..."} 
[2026-07-01 15:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d037268012cd4ad8007377970000c01382a..."} 
[2026-07-01 15:01:58] local.INFO: Processing buffer {"connection_id":120926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d037268012cd4ad8007377970000c01382a..."} 
[2026-07-01 15:01:58] local.INFO: Packet analysis {"connection_id":120926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d03"} 
[2026-07-01 15:01:58] local.INFO: Extracted packet for processing {"connection_id":120926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d03"} 
[2026-07-01 15:01:58] local.INFO: GPS Element Parsed {"raw_longitude":752135552,"raw_latitude":121076080,"longitude_deg":75.2135552,"latitude_deg":12.107608,"altitude":12,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2cd4ad80","hex_latitude":"07377970","is_valid_coordinates":true} 
[2026-07-01 15: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-01 15:01:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421859584001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:01:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333507680867975168,"note":"Value kept but may cause issues"} 
[2026-07-01 15:01:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121487091981430784,"note":"Value kept but may cause issues"} 
[2026-07-01 15:01:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:01:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782898193000,"timestamp_ms":1782898193000,"timestamp_seconds":1782898193,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d037268"} 
[2026-07-01 15: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-01 15:01:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 15: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 15:01:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15: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-01 15: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-01 15:01:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:01:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:01:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:01:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:01:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:01:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:01:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:01:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421859584001,"66":26310,"89":206,"83":43264,"24":0,"16":333507680867975168,"44":-3121487091981430784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-07-01 15:01:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:01:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:01:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421859584001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:01:58] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 15:01:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 15:01:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333507680867975168,"km_value":333507680867975.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:01:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121487091981430784,"description":"Unknown IO ID 44"} 
[2026-07-01 15:01:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421859584001,"power":26310,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121487091981430784}} 
[2026-07-01 15:01:58] local.INFO: DEBUG: GPS processor result {"connection_id":120926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:01:58] local.INFO: GPS data processed {"connection_id":120926,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:01:58] local.INFO: Acknowledgment sent {"connection_id":120926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:02:25] local.INFO: TCP Data received {"connection_id":119172,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:02:25] local.INFO: Processing buffer {"connection_id":119172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:02:25] local.INFO: IMEI packet received {"connection_id":119172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 15:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":119172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:02:30] local.INFO: TCP Data received {"connection_id":119172,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:02:30] local.INFO: Processing buffer {"connection_id":119172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:02:30] local.INFO: IMEI packet received {"connection_id":119172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":119172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:02:32] local.INFO: TCP Data received {"connection_id":119172,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d037268012cd4ad8007377970000c01382a..."} 
[2026-07-01 15:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d037268012cd4ad8007377970000c01382a..."} 
[2026-07-01 15:02:32] local.INFO: Processing buffer {"connection_id":119172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d037268012cd4ad8007377970000c01382a..."} 
[2026-07-01 15:02:32] local.INFO: Packet analysis {"connection_id":119172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d03"} 
[2026-07-01 15:02:32] local.INFO: Extracted packet for processing {"connection_id":119172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d03"} 
[2026-07-01 15:02:32] local.INFO: GPS Element Parsed {"raw_longitude":752135552,"raw_latitude":121076080,"longitude_deg":75.2135552,"latitude_deg":12.107608,"altitude":12,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2cd4ad80","hex_latitude":"07377970","is_valid_coordinates":true} 
[2026-07-01 15:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421859584001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333507680867975168,"note":"Value kept but may cause issues"} 
[2026-07-01 15:02:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121487091981430784,"note":"Value kept but may cause issues"} 
[2026-07-01 15:02:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782898193000,"timestamp_ms":1782898193000,"timestamp_seconds":1782898193,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d037268"} 
[2026-07-01 15:02:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:02:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 15:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 15:02: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-01 15:02:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:02:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":119172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":119172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":119172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:02:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421859584001,"66":26310,"89":206,"83":43264,"24":0,"16":333507680867975168,"44":-3121487091981430784},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-07-01 15:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421859584001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:02:32] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 15:02:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 15:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333507680867975168,"km_value":333507680867975.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:02:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121487091981430784,"description":"Unknown IO ID 44"} 
[2026-07-01 15:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421859584001,"power":26310,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121487091981430784}} 
[2026-07-01 15:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":119172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:02:32] local.INFO: GPS data processed {"connection_id":119172,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:02:32] local.INFO: Acknowledgment sent {"connection_id":119172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:02:36] local.INFO: TCP Data received {"connection_id":119172,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d037268012cd4ad8007377970000c01382a..."} 
[2026-07-01 15:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d037268012cd4ad8007377970000c01382a..."} 
[2026-07-01 15:02:36] local.INFO: Processing buffer {"connection_id":119172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d037268012cd4ad8007377970000c01382a..."} 
[2026-07-01 15:02:36] local.INFO: Packet analysis {"connection_id":119172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d03"} 
[2026-07-01 15:02:36] local.INFO: Extracted packet for processing {"connection_id":119172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d03"} 
[2026-07-01 15:02:36] local.INFO: GPS Element Parsed {"raw_longitude":752135552,"raw_latitude":121076080,"longitude_deg":75.2135552,"latitude_deg":12.107608,"altitude":12,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2cd4ad80","hex_latitude":"07377970","is_valid_coordinates":true} 
[2026-07-01 15:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421859584001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333507680867975168,"note":"Value kept but may cause issues"} 
[2026-07-01 15:02:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121487091981430784,"note":"Value kept but may cause issues"} 
[2026-07-01 15:02:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782898193000,"timestamp_ms":1782898193000,"timestamp_seconds":1782898193,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d037268"} 
[2026-07-01 15:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:02:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 15:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 15:02:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:02:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":119172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":119172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":119172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:02:36] 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-01 15:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421859584001,"66":26310,"89":206,"83":43264,"24":0,"16":333507680867975168,"44":-3121487091981430784},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-07-01 15:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421859584001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:02:36] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 15:02:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 15:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333507680867975168,"km_value":333507680867975.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:02:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121487091981430784,"description":"Unknown IO ID 44"} 
[2026-07-01 15:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421859584001,"power":26310,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121487091981430784}} 
[2026-07-01 15:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":119172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:02:36] local.INFO: GPS data processed {"connection_id":119172,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:02:36] local.INFO: Acknowledgment sent {"connection_id":119172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:02:45] local.INFO: TCP Data received {"connection_id":119842,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 15:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119842,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 15:02:45] local.INFO: Processing buffer {"connection_id":119842,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 15:02:45] local.INFO: IMEI packet received {"connection_id":119842,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 15:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":119842,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:03:15] local.INFO: TCP Data received {"connection_id":119054,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 15:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119054,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 15:03:15] local.INFO: Processing buffer {"connection_id":119054,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 15:03:15] local.INFO: IMEI packet received {"connection_id":119054,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 15:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":119054,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:03:20] local.INFO: TCP Data received {"connection_id":119843,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:03:20] local.INFO: Processing buffer {"connection_id":119843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:03:20] local.INFO: IMEI packet received {"connection_id":119843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 15:03:20] local.INFO: IMEI acknowledgment sent {"connection_id":119843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:03:25] local.INFO: TCP Data received {"connection_id":119843,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:03:25] local.INFO: Processing buffer {"connection_id":119843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:03:25] local.INFO: IMEI packet received {"connection_id":119843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":119843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:03:27] local.INFO: TCP Data received {"connection_id":119843,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d037268012cd4ad8007377970000c01382a..."} 
[2026-07-01 15:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d037268012cd4ad8007377970000c01382a..."} 
[2026-07-01 15:03:27] local.INFO: Processing buffer {"connection_id":119843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d037268012cd4ad8007377970000c01382a..."} 
[2026-07-01 15:03:27] local.INFO: Packet analysis {"connection_id":119843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d03"} 
[2026-07-01 15:03:27] local.INFO: Extracted packet for processing {"connection_id":119843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d03"} 
[2026-07-01 15:03:27] local.INFO: GPS Element Parsed {"raw_longitude":752135552,"raw_latitude":121076080,"longitude_deg":75.2135552,"latitude_deg":12.107608,"altitude":12,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2cd4ad80","hex_latitude":"07377970","is_valid_coordinates":true} 
[2026-07-01 15:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421859584001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333507680867975168,"note":"Value kept but may cause issues"} 
[2026-07-01 15:03:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121487091981430784,"note":"Value kept but may cause issues"} 
[2026-07-01 15:03:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782898193000,"timestamp_ms":1782898193000,"timestamp_seconds":1782898193,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d037268"} 
[2026-07-01 15:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:03:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 15:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 15:03:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:03:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:03:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421859584001,"66":26310,"89":206,"83":43264,"24":0,"16":333507680867975168,"44":-3121487091981430784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-07-01 15:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421859584001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:03:27] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 15:03:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 15:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333507680867975168,"km_value":333507680867975.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:03:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121487091981430784,"description":"Unknown IO ID 44"} 
[2026-07-01 15:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421859584001,"power":26310,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121487091981430784}} 
[2026-07-01 15:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":119843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:03:27] local.INFO: GPS data processed {"connection_id":119843,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:03:27] local.INFO: Acknowledgment sent {"connection_id":119843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:04:05] local.INFO: TCP Data received {"connection_id":119843,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d037268012cd4ad8007377970000c01382a..."} 
[2026-07-01 15:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d037268012cd4ad8007377970000c01382a..."} 
[2026-07-01 15:04:05] local.INFO: Processing buffer {"connection_id":119843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d037268012cd4ad8007377970000c01382a..."} 
[2026-07-01 15:04:05] local.INFO: Packet analysis {"connection_id":119843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d03"} 
[2026-07-01 15:04:05] local.INFO: Extracted packet for processing {"connection_id":119843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d03"} 
[2026-07-01 15:04:05] local.INFO: GPS Element Parsed {"raw_longitude":752135552,"raw_latitude":121076080,"longitude_deg":75.2135552,"latitude_deg":12.107608,"altitude":12,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2cd4ad80","hex_latitude":"07377970","is_valid_coordinates":true} 
[2026-07-01 15:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421859584001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333507680867975168,"note":"Value kept but may cause issues"} 
[2026-07-01 15:04:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121487091981430784,"note":"Value kept but may cause issues"} 
[2026-07-01 15:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782898193000,"timestamp_ms":1782898193000,"timestamp_seconds":1782898193,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d037268"} 
[2026-07-01 15:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 15:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 15:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":119843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":119843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":119843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421859584001,"66":26310,"89":206,"83":43264,"24":0,"16":333507680867975168,"44":-3121487091981430784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-07-01 15:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421859584001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:04:05] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 15:04:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 15:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333507680867975168,"km_value":333507680867975.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:04:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121487091981430784,"description":"Unknown IO ID 44"} 
[2026-07-01 15:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421859584001,"power":26310,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121487091981430784}} 
[2026-07-01 15:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":119843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:04:05] local.INFO: GPS data processed {"connection_id":119843,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:04:05] local.INFO: Acknowledgment sent {"connection_id":119843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:04:20] local.INFO: TCP Data received {"connection_id":119173,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:04:20] local.INFO: Processing buffer {"connection_id":119173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:04:20] local.INFO: IMEI packet received {"connection_id":119173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 15:04:20] local.INFO: IMEI acknowledgment sent {"connection_id":119173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:04:25] local.INFO: TCP Data received {"connection_id":119173,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:04:25] local.INFO: Processing buffer {"connection_id":119173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:04:25] local.INFO: IMEI packet received {"connection_id":119173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:04:25] local.INFO: IMEI acknowledgment sent {"connection_id":119173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:04:26] local.INFO: TCP Data received {"connection_id":119173,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d037268012cd4ad8007377970000c01382a..."} 
[2026-07-01 15:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d037268012cd4ad8007377970000c01382a..."} 
[2026-07-01 15:04:26] local.INFO: Processing buffer {"connection_id":119173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d037268012cd4ad8007377970000c01382a..."} 
[2026-07-01 15:04:26] local.INFO: Packet analysis {"connection_id":119173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d03"} 
[2026-07-01 15:04:26] local.INFO: Extracted packet for processing {"connection_id":119173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d03"} 
[2026-07-01 15:04:26] local.INFO: GPS Element Parsed {"raw_longitude":752135552,"raw_latitude":121076080,"longitude_deg":75.2135552,"latitude_deg":12.107608,"altitude":12,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2cd4ad80","hex_latitude":"07377970","is_valid_coordinates":true} 
[2026-07-01 15: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-01 15:04:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421859584001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:04:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333507680867975168,"note":"Value kept but may cause issues"} 
[2026-07-01 15:04:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121487091981430784,"note":"Value kept but may cause issues"} 
[2026-07-01 15:04:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:04:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782898193000,"timestamp_ms":1782898193000,"timestamp_seconds":1782898193,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d037268"} 
[2026-07-01 15: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-01 15:04:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 15: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 15:04:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15: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-01 15: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-01 15:04:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:04:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:04:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:04:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:04:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:04:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:04:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:04:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421859584001,"66":26310,"89":206,"83":43264,"24":0,"16":333507680867975168,"44":-3121487091981430784},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-07-01 15:04:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:04:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:04:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421859584001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:04:26] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 15:04:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 15:04:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333507680867975168,"km_value":333507680867975.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:04:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121487091981430784,"description":"Unknown IO ID 44"} 
[2026-07-01 15:04:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421859584001,"power":26310,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121487091981430784}} 
[2026-07-01 15:04:26] local.INFO: DEBUG: GPS processor result {"connection_id":119173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:04:26] local.INFO: GPS data processed {"connection_id":119173,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:04:26] local.INFO: Acknowledgment sent {"connection_id":119173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:04:58] local.INFO: TCP Data received {"connection_id":119173,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d037268012cd4ad8007377970000c01382a..."} 
[2026-07-01 15:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d037268012cd4ad8007377970000c01382a..."} 
[2026-07-01 15:04:58] local.INFO: Processing buffer {"connection_id":119173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d037268012cd4ad8007377970000c01382a..."} 
[2026-07-01 15:04:58] local.INFO: Packet analysis {"connection_id":119173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d03"} 
[2026-07-01 15:04:58] local.INFO: Extracted packet for processing {"connection_id":119173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d03"} 
[2026-07-01 15:04:58] local.INFO: GPS Element Parsed {"raw_longitude":752135552,"raw_latitude":121076080,"longitude_deg":75.2135552,"latitude_deg":12.107608,"altitude":12,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2cd4ad80","hex_latitude":"07377970","is_valid_coordinates":true} 
[2026-07-01 15:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:04:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421859584001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:04:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333507680867975168,"note":"Value kept but may cause issues"} 
[2026-07-01 15:04:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121487091981430784,"note":"Value kept but may cause issues"} 
[2026-07-01 15:04:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:04:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782898193000,"timestamp_ms":1782898193000,"timestamp_seconds":1782898193,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d037268"} 
[2026-07-01 15:04:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:04:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 15:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 15:04:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:04:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:04:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:04:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:04:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:04:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:04:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:04:58] 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-01 15:04:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:04:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:04:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421859584001,"66":26310,"89":206,"83":43264,"24":0,"16":333507680867975168,"44":-3121487091981430784},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-07-01 15:04:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:04:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:04:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421859584001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:04:58] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 15:04:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 15:04:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333507680867975168,"km_value":333507680867975.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:04:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121487091981430784,"description":"Unknown IO ID 44"} 
[2026-07-01 15:04:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421859584001,"power":26310,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121487091981430784}} 
[2026-07-01 15:04:58] local.INFO: DEBUG: GPS processor result {"connection_id":119173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:04:58] local.INFO: GPS data processed {"connection_id":119173,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:04:58] local.INFO: Acknowledgment sent {"connection_id":119173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:05:20] local.INFO: TCP Data received {"connection_id":119057,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:05:20] local.INFO: Processing buffer {"connection_id":119057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:05:20] local.INFO: IMEI packet received {"connection_id":119057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 15:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":119057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:05:25] local.INFO: TCP Data received {"connection_id":119057,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:05:25] local.INFO: Processing buffer {"connection_id":119057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:05:25] local.INFO: IMEI packet received {"connection_id":119057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":119057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:05:26] local.INFO: TCP Data received {"connection_id":119057,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d07eaf0012cd4ad8007377970000c01382a..."} 
[2026-07-01 15:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d07eaf0012cd4ad8007377970000c01382a..."} 
[2026-07-01 15:05:26] local.INFO: Processing buffer {"connection_id":119057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d07eaf0012cd4ad8007377970000c01382a..."} 
[2026-07-01 15:05:26] local.INFO: Packet analysis {"connection_id":119057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d07"} 
[2026-07-01 15:05:26] local.INFO: Extracted packet for processing {"connection_id":119057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d07"} 
[2026-07-01 15:05:26] local.INFO: GPS Element Parsed {"raw_longitude":752135552,"raw_latitude":121076080,"longitude_deg":75.2135552,"latitude_deg":12.107608,"altitude":12,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2cd4ad80","hex_latitude":"07377970","is_valid_coordinates":true} 
[2026-07-01 15:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421937408001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333507680867975168,"note":"Value kept but may cause issues"} 
[2026-07-01 15:05:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121698198214053888,"note":"Value kept but may cause issues"} 
[2026-07-01 15:05:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782898486000,"timestamp_ms":1782898486000,"timestamp_seconds":1782898486,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d07eaf0"} 
[2026-07-01 15:05:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:05:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 15:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-01 15:05:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:05:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:05:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:05:26] 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-01 15:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421937408001,"66":26082,"89":206,"83":43264,"24":0,"16":333507680867975168,"44":-3121698198214053888},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-07-01 15:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421937408001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:05:26] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 15:05:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 15:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333507680867975168,"km_value":333507680867975.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:05:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121698198214053888,"description":"Unknown IO ID 44"} 
[2026-07-01 15:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421937408001,"power":26082,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121698198214053888}} 
[2026-07-01 15:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":119057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:05:26] local.INFO: GPS data processed {"connection_id":119057,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:05:26] local.INFO: Acknowledgment sent {"connection_id":119057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:05:57] local.INFO: TCP Data received {"connection_id":119057,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d07eaf0012cd4ad8007377970000c01382a..."} 
[2026-07-01 15:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d07eaf0012cd4ad8007377970000c01382a..."} 
[2026-07-01 15:05:57] local.INFO: Processing buffer {"connection_id":119057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d07eaf0012cd4ad8007377970000c01382a..."} 
[2026-07-01 15:05:57] local.INFO: Packet analysis {"connection_id":119057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d07"} 
[2026-07-01 15:05:57] local.INFO: Extracted packet for processing {"connection_id":119057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d07"} 
[2026-07-01 15:05:57] local.INFO: GPS Element Parsed {"raw_longitude":752135552,"raw_latitude":121076080,"longitude_deg":75.2135552,"latitude_deg":12.107608,"altitude":12,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2cd4ad80","hex_latitude":"07377970","is_valid_coordinates":true} 
[2026-07-01 15:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:05:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421937408001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:05:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333507680867975168,"note":"Value kept but may cause issues"} 
[2026-07-01 15:05:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121698198214053888,"note":"Value kept but may cause issues"} 
[2026-07-01 15:05:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:05:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782898486000,"timestamp_ms":1782898486000,"timestamp_seconds":1782898486,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d07eaf0"} 
[2026-07-01 15:05:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:05:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 15:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-01 15:05:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:05:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:05:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:05:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:05:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:05:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:05:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:05:57] 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-01 15:05:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:05:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:05:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421937408001,"66":26082,"89":206,"83":43264,"24":0,"16":333507680867975168,"44":-3121698198214053888},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-07-01 15:05:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:05:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:05:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421937408001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:05:57] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 15:05:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 15:05:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333507680867975168,"km_value":333507680867975.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:05:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121698198214053888,"description":"Unknown IO ID 44"} 
[2026-07-01 15:05:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421937408001,"power":26082,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121698198214053888}} 
[2026-07-01 15:05:58] local.INFO: DEBUG: GPS processor result {"connection_id":119057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:05:58] local.INFO: GPS data processed {"connection_id":119057,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:05:58] local.INFO: Acknowledgment sent {"connection_id":119057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:06:20] local.INFO: TCP Data received {"connection_id":120928,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:06:20] local.INFO: Processing buffer {"connection_id":120928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:06:20] local.INFO: IMEI packet received {"connection_id":120928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 15:06:20] local.INFO: IMEI acknowledgment sent {"connection_id":120928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:06:25] local.INFO: TCP Data received {"connection_id":120928,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:06:25] local.INFO: Processing buffer {"connection_id":120928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:06:25] local.INFO: IMEI packet received {"connection_id":120928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:06:25] local.INFO: IMEI acknowledgment sent {"connection_id":120928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:06:27] local.INFO: TCP Data received {"connection_id":120928,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d07eaf0012cd4ad8007377970000c01382a..."} 
[2026-07-01 15:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d07eaf0012cd4ad8007377970000c01382a..."} 
[2026-07-01 15:06:27] local.INFO: Processing buffer {"connection_id":120928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d07eaf0012cd4ad8007377970000c01382a..."} 
[2026-07-01 15:06:27] local.INFO: Packet analysis {"connection_id":120928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d07"} 
[2026-07-01 15:06:27] local.INFO: Extracted packet for processing {"connection_id":120928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d07"} 
[2026-07-01 15:06:27] local.INFO: GPS Element Parsed {"raw_longitude":752135552,"raw_latitude":121076080,"longitude_deg":75.2135552,"latitude_deg":12.107608,"altitude":12,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2cd4ad80","hex_latitude":"07377970","is_valid_coordinates":true} 
[2026-07-01 15:06:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:06:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421937408001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:06:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333507680867975168,"note":"Value kept but may cause issues"} 
[2026-07-01 15:06:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121698198214053888,"note":"Value kept but may cause issues"} 
[2026-07-01 15:06:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:06:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782898486000,"timestamp_ms":1782898486000,"timestamp_seconds":1782898486,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d07eaf0"} 
[2026-07-01 15:06:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:06:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 15:06:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-01 15:06:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:06:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:06:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:06:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:06:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:06:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:06:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:06:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:06:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:06:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:06:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421937408001,"66":26082,"89":206,"83":43264,"24":0,"16":333507680867975168,"44":-3121698198214053888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-07-01 15:06:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:06:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:06:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421937408001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:06:27] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 15:06:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 15:06:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333507680867975168,"km_value":333507680867975.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:06:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121698198214053888,"description":"Unknown IO ID 44"} 
[2026-07-01 15:06:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421937408001,"power":26082,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121698198214053888}} 
[2026-07-01 15:06:27] local.INFO: DEBUG: GPS processor result {"connection_id":120928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:06:27] local.INFO: GPS data processed {"connection_id":120928,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:06:27] local.INFO: Acknowledgment sent {"connection_id":120928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:06:59] local.INFO: TCP Data received {"connection_id":120928,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d07eaf0012cd4ad8007377970000c01382a..."} 
[2026-07-01 15:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d07eaf0012cd4ad8007377970000c01382a..."} 
[2026-07-01 15:06:59] local.INFO: Processing buffer {"connection_id":120928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d07eaf0012cd4ad8007377970000c01382a..."} 
[2026-07-01 15:06:59] local.INFO: Packet analysis {"connection_id":120928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d07"} 
[2026-07-01 15:06:59] local.INFO: Extracted packet for processing {"connection_id":120928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d07"} 
[2026-07-01 15:06:59] local.INFO: GPS Element Parsed {"raw_longitude":752135552,"raw_latitude":121076080,"longitude_deg":75.2135552,"latitude_deg":12.107608,"altitude":12,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2cd4ad80","hex_latitude":"07377970","is_valid_coordinates":true} 
[2026-07-01 15:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421937408001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333507680867975168,"note":"Value kept but may cause issues"} 
[2026-07-01 15:06:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121698198214053888,"note":"Value kept but may cause issues"} 
[2026-07-01 15:06:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782898486000,"timestamp_ms":1782898486000,"timestamp_seconds":1782898486,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d07eaf0"} 
[2026-07-01 15:06:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:06:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 15:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-01 15:06:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:06:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:06:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":120928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":120928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":120928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:06:59] 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-01 15:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421937408001,"66":26082,"89":206,"83":43264,"24":0,"16":333507680867975168,"44":-3121698198214053888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-07-01 15:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421937408001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:06:59] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 15:06:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 15:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333507680867975168,"km_value":333507680867975.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:06:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121698198214053888,"description":"Unknown IO ID 44"} 
[2026-07-01 15:06:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421937408001,"power":26082,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121698198214053888}} 
[2026-07-01 15:06:59] local.INFO: DEBUG: GPS processor result {"connection_id":120928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:06:59] local.INFO: GPS data processed {"connection_id":120928,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:06:59] local.INFO: Acknowledgment sent {"connection_id":120928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:07:25] local.INFO: TCP Data received {"connection_id":119844,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:07:25] local.INFO: Processing buffer {"connection_id":119844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:07:25] local.INFO: IMEI packet received {"connection_id":119844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 15:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":119844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:07:30] local.INFO: TCP Data received {"connection_id":119844,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:07:30] local.INFO: Processing buffer {"connection_id":119844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:07:30] local.INFO: IMEI packet received {"connection_id":119844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":119844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:07:31] local.INFO: TCP Data received {"connection_id":119844,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d07eaf0012cd4ad8007377970000c01382a..."} 
[2026-07-01 15:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d07eaf0012cd4ad8007377970000c01382a..."} 
[2026-07-01 15:07:31] local.INFO: Processing buffer {"connection_id":119844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d07eaf0012cd4ad8007377970000c01382a..."} 
[2026-07-01 15:07:31] local.INFO: Packet analysis {"connection_id":119844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d07"} 
[2026-07-01 15:07:31] local.INFO: Extracted packet for processing {"connection_id":119844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d07"} 
[2026-07-01 15:07:31] local.INFO: GPS Element Parsed {"raw_longitude":752135552,"raw_latitude":121076080,"longitude_deg":75.2135552,"latitude_deg":12.107608,"altitude":12,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2cd4ad80","hex_latitude":"07377970","is_valid_coordinates":true} 
[2026-07-01 15:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421937408001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333507680867975168,"note":"Value kept but may cause issues"} 
[2026-07-01 15:07:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121698198214053888,"note":"Value kept but may cause issues"} 
[2026-07-01 15:07:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782898486000,"timestamp_ms":1782898486000,"timestamp_seconds":1782898486,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d07eaf0"} 
[2026-07-01 15:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:07:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 15:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-01 15:07:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:07:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:07:31] 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-01 15:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421937408001,"66":26082,"89":206,"83":43264,"24":0,"16":333507680867975168,"44":-3121698198214053888},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-07-01 15:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421937408001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:07:31] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 15:07:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 15:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333507680867975168,"km_value":333507680867975.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:07:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121698198214053888,"description":"Unknown IO ID 44"} 
[2026-07-01 15:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421937408001,"power":26082,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121698198214053888}} 
[2026-07-01 15:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":119844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:07:31] local.INFO: GPS data processed {"connection_id":119844,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:07:31] local.INFO: Acknowledgment sent {"connection_id":119844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:07:36] local.INFO: TCP Data received {"connection_id":119844,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d07eaf0012cd4ad8007377970000c01382a..."} 
[2026-07-01 15:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d07eaf0012cd4ad8007377970000c01382a..."} 
[2026-07-01 15:07:36] local.INFO: Processing buffer {"connection_id":119844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d07eaf0012cd4ad8007377970000c01382a..."} 
[2026-07-01 15:07:36] local.INFO: Packet analysis {"connection_id":119844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d07"} 
[2026-07-01 15:07:36] local.INFO: Extracted packet for processing {"connection_id":119844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d07"} 
[2026-07-01 15:07:36] local.INFO: GPS Element Parsed {"raw_longitude":752135552,"raw_latitude":121076080,"longitude_deg":75.2135552,"latitude_deg":12.107608,"altitude":12,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2cd4ad80","hex_latitude":"07377970","is_valid_coordinates":true} 
[2026-07-01 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-01 15:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456421937408001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333507680867975168,"note":"Value kept but may cause issues"} 
[2026-07-01 15:07:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121698198214053888,"note":"Value kept but may cause issues"} 
[2026-07-01 15:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782898486000,"timestamp_ms":1782898486000,"timestamp_seconds":1782898486,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d07eaf0"} 
[2026-07-01 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-01 15:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-01 15:07:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:07:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 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-01 15:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":119844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":119844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":119844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456421937408001,"66":26082,"89":206,"83":43264,"24":0,"16":333507680867975168,"44":-3121698198214053888},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-07-01 15:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456421937408001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:07:36] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 15:07:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 15:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333507680867975168,"km_value":333507680867975.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:07:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121698198214053888,"description":"Unknown IO ID 44"} 
[2026-07-01 15:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456421937408001,"power":26082,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121698198214053888}} 
[2026-07-01 15:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":119844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:07:36] local.INFO: GPS data processed {"connection_id":119844,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:07:36] local.INFO: Acknowledgment sent {"connection_id":119844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:08:17] local.INFO: TCP Data received {"connection_id":119845,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119845,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:08:17] local.INFO: Processing buffer {"connection_id":119845,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:08:17] local.INFO: IMEI packet received {"connection_id":119845,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 15:08:17] local.INFO: IMEI acknowledgment sent {"connection_id":119845,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:08:20] local.INFO: TCP Data received {"connection_id":119175,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:08:20] local.INFO: Processing buffer {"connection_id":119175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:08:20] local.INFO: IMEI packet received {"connection_id":119175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 15:08:20] local.INFO: IMEI acknowledgment sent {"connection_id":119175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:08:22] local.INFO: TCP Data received {"connection_id":119845,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119845,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:08:22] local.INFO: Processing buffer {"connection_id":119845,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:08:22] local.INFO: IMEI packet received {"connection_id":119845,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 15:08:22] local.INFO: IMEI acknowledgment sent {"connection_id":119845,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:08:25] local.INFO: TCP Data received {"connection_id":119175,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:08:25] local.INFO: Processing buffer {"connection_id":119175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:08:25] local.INFO: IMEI packet received {"connection_id":119175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:08:25] local.INFO: IMEI acknowledgment sent {"connection_id":119175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:08:26] local.INFO: TCP Data received {"connection_id":119175,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d0a6b90012cd4ad8007377970000c01382c..."} 
[2026-07-01 15:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d0a6b90012cd4ad8007377970000c01382c..."} 
[2026-07-01 15:08:26] local.INFO: Processing buffer {"connection_id":119175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d0a6b90012cd4ad8007377970000c01382c..."} 
[2026-07-01 15:08:26] local.INFO: Packet analysis {"connection_id":119175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d0a"} 
[2026-07-01 15:08:26] local.INFO: Extracted packet for processing {"connection_id":119175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d0a"} 
[2026-07-01 15:08:26] local.INFO: GPS Element Parsed {"raw_longitude":752135552,"raw_latitude":121076080,"longitude_deg":75.2135552,"latitude_deg":12.107608,"altitude":12,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2cd4ad80","hex_latitude":"07377970","is_valid_coordinates":true} 
[2026-07-01 15:08:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:08:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422012416001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:08:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333507680867975168,"note":"Value kept but may cause issues"} 
[2026-07-01 15:08:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121698198214053888,"note":"Value kept but may cause issues"} 
[2026-07-01 15:08:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:08:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782898650000,"timestamp_ms":1782898650000,"timestamp_seconds":1782898650,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d0a6b90"} 
[2026-07-01 15:08:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:08:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 15:08:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-07-01 15:08:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:08:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:08:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:08:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:08:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:08:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:08:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:08:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:08:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:08:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:08:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422012416001,"66":25995,"89":206,"83":43264,"24":0,"16":333507680867975168,"44":-3121698198214053888},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-07-01 15:08:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:08:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:08:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422012416001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:08:26] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 15:08:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 15:08:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333507680867975168,"km_value":333507680867975.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:08:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121698198214053888,"description":"Unknown IO ID 44"} 
[2026-07-01 15:08:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422012416001,"power":25995,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121698198214053888}} 
[2026-07-01 15:08:26] local.INFO: DEBUG: GPS processor result {"connection_id":119175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:08:26] local.INFO: GPS data processed {"connection_id":119175,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:08:26] local.INFO: Acknowledgment sent {"connection_id":119175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:08:27] local.INFO: TCP Data received {"connection_id":119845,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1c0ee4f0012d7d30c005ec0ce8000000fc1a..."} 
[2026-07-01 15:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1c0ee4f0012d7d30c005ec0ce8000000fc1a..."} 
[2026-07-01 15:08:27] local.INFO: Processing buffer {"connection_id":119845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1c0ee4f0012d7d30c005ec0ce8000000fc1a..."} 
[2026-07-01 15:08:27] local.INFO: Packet analysis {"connection_id":119845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1c0e"} 
[2026-07-01 15:08:27] local.INFO: Extracted packet for processing {"connection_id":119845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1c0e"} 
[2026-07-01 15:08:27] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":99355880,"longitude_deg":76.31792,"latitude_deg":9.935588,"altitude":0,"angle":252,"satellites":26,"speed":0,"hex_longitude":"2d7d30c0","hex_latitude":"05ec0ce8","is_valid_coordinates":true} 
[2026-07-01 15:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:08:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417757440001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:08:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 15:08:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 15:08:27] 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-01 15:08:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782882166000,"timestamp_ms":1782882166000,"timestamp_seconds":1782882166,"priority":1,"record_length":96,"hex_timestamp":"0000019f1c0ee4f0"} 
[2026-07-01 15:08:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:08:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":5632,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 15:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-01 15:08:27] 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-01 15:08:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:08:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:08:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:08:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:08:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:08:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:08:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:08:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:08:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:08:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456417757440001,"66":2231,"24":0,"16":101265635098492928,"45":9020921185290741760},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-07-01 15:08:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:08:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:08:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456417757440001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:08:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:08:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921185290741760,"description":"Unknown IO ID 45"} 
[2026-07-01 15:08:27] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":456417757440001,"power":2231,"ignition":0,"odometer":null,"unknown_45":9020921185290741760}} 
[2026-07-01 15:08:27] local.INFO: DEBUG: GPS processor result {"connection_id":119845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417525,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:08:27] local.INFO: GPS data processed {"connection_id":119845,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:08:27] local.INFO: Acknowledgment sent {"connection_id":119845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:08:30] local.INFO: TCP Data received {"connection_id":119058,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 15:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119058,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 15:08:30] local.INFO: Processing buffer {"connection_id":119058,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 15:08:30] local.INFO: IMEI packet received {"connection_id":119058,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 15:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":119058,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:08:58] local.INFO: TCP Data received {"connection_id":119175,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d0a8300012cd4ad4007377998000c00eb2c..."} 
[2026-07-01 15:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d0a8300012cd4ad4007377998000c00eb2c..."} 
[2026-07-01 15:08:58] local.INFO: Processing buffer {"connection_id":119175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d0a8300012cd4ad4007377998000c00eb2c..."} 
[2026-07-01 15:08:58] local.INFO: Packet analysis {"connection_id":119175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d0a"} 
[2026-07-01 15:08:58] local.INFO: Extracted packet for processing {"connection_id":119175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d0a"} 
[2026-07-01 15:08:58] local.INFO: GPS Element Parsed {"raw_longitude":752135488,"raw_latitude":121076120,"longitude_deg":75.2135488,"latitude_deg":12.107612,"altitude":12,"angle":235,"satellites":44,"speed":0,"hex_longitude":"2cd4ad40","hex_latitude":"07377998","is_valid_coordinates":true} 
[2026-07-01 15: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-01 15:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422054400001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333507680867975168,"note":"Value kept but may cause issues"} 
[2026-07-01 15:08:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121698198214053888,"note":"Value kept but may cause issues"} 
[2026-07-01 15:08:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782898656000,"timestamp_ms":1782898656000,"timestamp_seconds":1782898656,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d0a8300"} 
[2026-07-01 15: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-01 15:08:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-01 15:08:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15: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-01 15: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-01 15:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:08: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-01 15:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422054400001,"66":27767,"89":206,"83":43264,"24":0,"16":333507680867975168,"44":-3121698198214053888},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-07-01 15:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422054400001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:08:58] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 15:08:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 15:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333507680867975168,"km_value":333507680867975.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:08:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121698198214053888,"description":"Unknown IO ID 44"} 
[2026-07-01 15:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422054400001,"power":27767,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121698198214053888}} 
[2026-07-01 15:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":119175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:08:58] local.INFO: GPS data processed {"connection_id":119175,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:08:58] local.INFO: Acknowledgment sent {"connection_id":119175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:08:59] local.INFO: TCP Data received {"connection_id":119845,"ip":"42.106.6.19","data_length":249,"data_hex":"00000000000000ed8e0300000000000109a00100000000000000000000000000..."} 
[2026-07-01 15:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119845,"packet_length":249,"packet_hex":"00000000000000ed8e0300000000000109a00100000000000000000000000000..."} 
[2026-07-01 15:08:59] local.INFO: Processing buffer {"connection_id":119845,"buffer_length":249,"buffer_hex":"00000000000000ed8e0300000000000109a00100000000000000000000000000..."} 
[2026-07-01 15:08:59] local.INFO: Packet analysis {"connection_id":119845,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e03000000000001"} 
[2026-07-01 15:08:59] local.INFO: Extracted packet for processing {"connection_id":119845,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e03000000000001"} 
[2026-07-01 15:08: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-01 15:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":249,"current_offset":40} 
[2026-07-01 15:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456417834496001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 15:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921185290741760,"note":"Value kept but may cause issues"} 
[2026-07-01 15:08:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:08: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-01 15:08:59] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":3,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:08:59] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":0,"records_with_valid_data":0} 
[2026-07-01 15:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119845,"avl_records_parsed":0,"avl_records_expected":3,"crc_valid":false} 
[2026-07-01 15:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119845,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-01 15:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119845,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-01 15:08:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-01 15:08:59] local.WARNING: DEBUG: No valid data to process  
[2026-07-01 15:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":119845,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-01 15:08:59] local.ERROR: GPS data processing failed {"connection_id":119845,"error":"No valid data to process"} 
[2026-07-01 15:08:59] local.INFO: Acknowledgment sent {"connection_id":119845,"records_acknowledged":0,"records_expected":3,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-01 15:09:15] local.INFO: TCP Data received {"connection_id":120929,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 15:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120929,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 15:09:15] local.INFO: Processing buffer {"connection_id":120929,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 15:09:15] local.INFO: IMEI packet received {"connection_id":120929,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 15:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":120929,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:09:22] local.INFO: TCP Data received {"connection_id":120930,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:09:22] local.INFO: Processing buffer {"connection_id":120930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:09:22] local.INFO: IMEI packet received {"connection_id":120930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 15:09:22] local.INFO: IMEI acknowledgment sent {"connection_id":120930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:09:25] local.INFO: TCP Data received {"connection_id":120930,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:09:25] local.INFO: Processing buffer {"connection_id":120930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:09:25] local.INFO: IMEI packet received {"connection_id":120930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":120930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:09:30] local.INFO: TCP Data received {"connection_id":120930,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:09:30] local.INFO: Processing buffer {"connection_id":120930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:09:30] local.INFO: IMEI packet received {"connection_id":120930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":120930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:09:30] local.INFO: TCP Data received {"connection_id":119845,"ip":"42.106.6.19","data_length":93,"data_hex":"00000000000000518e010000019f1d0bafc80100000000000000000000000000..."} 
[2026-07-01 15:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119845,"packet_length":93,"packet_hex":"00000000000000518e010000019f1d0bafc80100000000000000000000000000..."} 
[2026-07-01 15:09:30] local.INFO: Processing buffer {"connection_id":119845,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f1d0bafc80100000000000000000000000000..."} 
[2026-07-01 15:09:30] local.INFO: Packet analysis {"connection_id":119845,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f1d0b"} 
[2026-07-01 15:09:30] local.INFO: Extracted packet for processing {"connection_id":119845,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f1d0b"} 
[2026-07-01 15:09: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-01 15:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-07-01 15:09:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:09:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:09:30] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:09:30] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-01 15:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":119845,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-01 15:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":119845,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-01 15:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":119845,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-01 15:09:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-01 15:09:30] local.WARNING: DEBUG: No valid data to process  
[2026-07-01 15:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":119845,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-01 15:09:30] local.ERROR: GPS data processing failed {"connection_id":119845,"error":"No valid data to process"} 
[2026-07-01 15:09:30] local.INFO: Acknowledgment sent {"connection_id":119845,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-01 15:09:31] local.INFO: TCP Data received {"connection_id":120930,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d0ad120012cd4ad4007377998000c00eb2b..."} 
[2026-07-01 15:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d0ad120012cd4ad4007377998000c00eb2b..."} 
[2026-07-01 15:09:31] local.INFO: Processing buffer {"connection_id":120930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d0ad120012cd4ad4007377998000c00eb2b..."} 
[2026-07-01 15:09:31] local.INFO: Packet analysis {"connection_id":120930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d0a"} 
[2026-07-01 15:09:31] local.INFO: Extracted packet for processing {"connection_id":120930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d0a"} 
[2026-07-01 15:09:31] local.INFO: GPS Element Parsed {"raw_longitude":752135488,"raw_latitude":121076120,"longitude_deg":75.2135488,"latitude_deg":12.107612,"altitude":12,"angle":235,"satellites":43,"speed":0,"hex_longitude":"2cd4ad40","hex_latitude":"07377998","is_valid_coordinates":true} 
[2026-07-01 15:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422055936001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333507680867975168,"note":"Value kept but may cause issues"} 
[2026-07-01 15:09:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121768566958221312,"note":"Value kept but may cause issues"} 
[2026-07-01 15:09:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782898676000,"timestamp_ms":1782898676000,"timestamp_seconds":1782898676,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d0ad120"} 
[2026-07-01 15:09:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:09:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 15:09:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:09:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:09:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":120930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":120930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":120930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:09:31] local.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-01 15:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422055936001,"66":27930,"89":206,"83":43264,"24":0,"16":333507680867975168,"44":-3121768566958221312},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-07-01 15:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422055936001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:09:31] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 15:09:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 15:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333507680867975168,"km_value":333507680867975.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:09:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121768566958221312,"description":"Unknown IO ID 44"} 
[2026-07-01 15:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422055936001,"power":27930,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121768566958221312}} 
[2026-07-01 15:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":120930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:09:31] local.INFO: GPS data processed {"connection_id":120930,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:09:31] local.INFO: Acknowledgment sent {"connection_id":120930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:09:35] local.INFO: TCP Data received {"connection_id":120930,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d0b2328012cd4ad4007377998000c00eb2b..."} 
[2026-07-01 15:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d0b2328012cd4ad4007377998000c00eb2b..."} 
[2026-07-01 15:09:35] local.INFO: Processing buffer {"connection_id":120930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d0b2328012cd4ad4007377998000c00eb2b..."} 
[2026-07-01 15:09:35] local.INFO: Packet analysis {"connection_id":120930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d0b"} 
[2026-07-01 15:09:35] local.INFO: Extracted packet for processing {"connection_id":120930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d0b"} 
[2026-07-01 15:09:35] local.INFO: GPS Element Parsed {"raw_longitude":752135488,"raw_latitude":121076120,"longitude_deg":75.2135488,"latitude_deg":12.107612,"altitude":12,"angle":235,"satellites":43,"speed":0,"hex_longitude":"2cd4ad40","hex_latitude":"07377998","is_valid_coordinates":true} 
[2026-07-01 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-01 15:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422061056001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333507680867975168,"note":"Value kept but may cause issues"} 
[2026-07-01 15:09:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121768566958221312,"note":"Value kept but may cause issues"} 
[2026-07-01 15:09:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782898697000,"timestamp_ms":1782898697000,"timestamp_seconds":1782898697,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d0b2328"} 
[2026-07-01 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-01 15:09:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-01 15:09:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:09:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 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-01 15:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":120930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":120930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":120930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:09:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422061056001,"66":27865,"89":206,"83":43264,"24":0,"16":333507680867975168,"44":-3121768566958221312},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-07-01 15:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422061056001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:09:35] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 15:09:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 15:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333507680867975168,"km_value":333507680867975.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:09:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121768566958221312,"description":"Unknown IO ID 44"} 
[2026-07-01 15:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422061056001,"power":27865,"unknown_89":206,"unknown_83":43264,"ignition":0,"odometer":null,"unknown_44":-3121768566958221312}} 
[2026-07-01 15:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":120930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:09:35] local.INFO: GPS data processed {"connection_id":120930,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:09:35] local.INFO: Acknowledgment sent {"connection_id":120930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:10:02] local.INFO: TCP Data received {"connection_id":119845,"ip":"42.106.6.19","data_length":93,"data_hex":"00000000000000518e010000019f1d0c01d00100000000000000000000000000..."} 
[2026-07-01 15:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119845,"packet_length":93,"packet_hex":"00000000000000518e010000019f1d0c01d00100000000000000000000000000..."} 
[2026-07-01 15:10:02] local.INFO: Processing buffer {"connection_id":119845,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f1d0c01d00100000000000000000000000000..."} 
[2026-07-01 15:10:02] local.INFO: Packet analysis {"connection_id":119845,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f1d0c"} 
[2026-07-01 15:10:02] local.INFO: Extracted packet for processing {"connection_id":119845,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f1d0c"} 
[2026-07-01 15:10: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-01 15:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-07-01 15:10:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:10:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:10:02] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:10:02] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-01 15:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":119845,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-01 15:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":119845,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-01 15:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":119845,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-01 15:10:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-01 15:10:02] local.WARNING: DEBUG: No valid data to process  
[2026-07-01 15:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":119845,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-01 15:10:02] local.ERROR: GPS data processing failed {"connection_id":119845,"error":"No valid data to process"} 
[2026-07-01 15:10:02] local.INFO: Acknowledgment sent {"connection_id":119845,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-01 15:10:20] local.INFO: TCP Data received {"connection_id":119059,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:10:20] local.INFO: Processing buffer {"connection_id":119059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:10:20] local.INFO: IMEI packet received {"connection_id":119059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 15:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":119059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:10:26] local.INFO: TCP Data received {"connection_id":119059,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:10:26] local.INFO: Processing buffer {"connection_id":119059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:10:26] local.INFO: IMEI packet received {"connection_id":119059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":119059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:10:28] local.INFO: TCP Data received {"connection_id":119059,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d0b59d8012cd4ac4007377a48000e01232c..."} 
[2026-07-01 15:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d0b59d8012cd4ac4007377a48000e01232c..."} 
[2026-07-01 15:10:28] local.INFO: Processing buffer {"connection_id":119059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d0b59d8012cd4ac4007377a48000e01232c..."} 
[2026-07-01 15:10:28] local.INFO: Packet analysis {"connection_id":119059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d0b"} 
[2026-07-01 15:10:28] local.INFO: Extracted packet for processing {"connection_id":119059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d0b"} 
[2026-07-01 15:10:28] local.INFO: GPS Element Parsed {"raw_longitude":752135232,"raw_latitude":121076296,"longitude_deg":75.2135232,"latitude_deg":12.1076296,"altitude":14,"angle":291,"satellites":44,"speed":4,"hex_longitude":"2cd4ac40","hex_latitude":"07377a48","is_valid_coordinates":true} 
[2026-07-01 15:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:10:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422066432001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:10:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333507693752877056,"note":"Value kept but may cause issues"} 
[2026-07-01 15:10:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121768566958221312,"note":"Value kept but may cause issues"} 
[2026-07-01 15:10:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:10:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782898711000,"timestamp_ms":1782898711000,"timestamp_seconds":1782898711,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d0b59d8"} 
[2026-07-01 15:10:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:10: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-01 15:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 15:10:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:10:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:10:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:10:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:10:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:10:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:10:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:10:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:10:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:10:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:10:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422066432001,"66":27832,"89":206,"83":43264,"24":4,"16":333507693752877056,"44":-3121768566958221312},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-07-01 15:10:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:10:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:10:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422066432001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:10:28] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 15:10:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 15:10:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333507693752877056,"km_value":333507693752877.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:10:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121768566958221312,"description":"Unknown IO ID 44"} 
[2026-07-01 15:10:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422066432001,"power":27832,"unknown_89":206,"unknown_83":43264,"ignition":4,"odometer":null,"unknown_44":-3121768566958221312}} 
[2026-07-01 15:10:28] local.INFO: DEBUG: GPS processor result {"connection_id":119059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:10:28] local.INFO: GPS data processed {"connection_id":119059,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:10:28] local.INFO: Acknowledgment sent {"connection_id":119059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:10:30] local.INFO: TCP Data received {"connection_id":119059,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d0b5dc0012cd4abc007377a50000e010b2d..."} 
[2026-07-01 15:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d0b5dc0012cd4abc007377a50000e010b2d..."} 
[2026-07-01 15:10:30] local.INFO: Processing buffer {"connection_id":119059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d0b5dc0012cd4abc007377a50000e010b2d..."} 
[2026-07-01 15:10:30] local.INFO: Packet analysis {"connection_id":119059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d0b"} 
[2026-07-01 15:10:30] local.INFO: Extracted packet for processing {"connection_id":119059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d0b"} 
[2026-07-01 15:10:30] local.INFO: GPS Element Parsed {"raw_longitude":752135104,"raw_latitude":121076304,"longitude_deg":75.2135104,"latitude_deg":12.1076304,"altitude":14,"angle":267,"satellites":45,"speed":9,"hex_longitude":"2cd4abc0","hex_latitude":"07377a50","is_valid_coordinates":true} 
[2026-07-01 15:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422070016001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333507702342811648,"note":"Value kept but may cause issues"} 
[2026-07-01 15:10:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3122050041934886912,"note":"Value kept but may cause issues"} 
[2026-07-01 15:10:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782898712000,"timestamp_ms":1782898712000,"timestamp_seconds":1782898712,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d0b5dc0"} 
[2026-07-01 15:10:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:10:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-01 15:10:30] 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-01 15: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-01 15:10:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":119059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":119059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":119059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:10:30] local.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-01 15:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422070016001,"66":27832,"89":206,"83":43264,"24":9,"16":333507702342811648,"44":-3122050041934886912},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-07-01 15:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422070016001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:10:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 15:10:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 15:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333507702342811648,"km_value":333507702342811.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:10:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3122050041934886912,"description":"Unknown IO ID 44"} 
[2026-07-01 15:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422070016001,"power":27832,"unknown_89":206,"unknown_83":43264,"ignition":9,"odometer":null,"unknown_44":-3122050041934886912}} 
[2026-07-01 15:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":119059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:10:30] local.INFO: GPS data processed {"connection_id":119059,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:10:30] local.INFO: Acknowledgment sent {"connection_id":119059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:10:33] local.INFO: TCP Data received {"connection_id":119845,"ip":"42.106.6.19","data_length":93,"data_hex":"00000000000000518e010000019f1d0c53d80100000000000000000000000000..."} 
[2026-07-01 15:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119845,"packet_length":93,"packet_hex":"00000000000000518e010000019f1d0c53d80100000000000000000000000000..."} 
[2026-07-01 15:10:33] local.INFO: Processing buffer {"connection_id":119845,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f1d0c53d80100000000000000000000000000..."} 
[2026-07-01 15:10:33] local.INFO: Packet analysis {"connection_id":119845,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f1d0c"} 
[2026-07-01 15:10:33] local.INFO: Extracted packet for processing {"connection_id":119845,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f1d0c"} 
[2026-07-01 15:10: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-01 15:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-07-01 15:10:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:10:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:10:33] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:10:33] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-01 15:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":119845,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-01 15:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":119845,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-01 15:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":119845,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-01 15:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-01 15:10:33] local.WARNING: DEBUG: No valid data to process  
[2026-07-01 15:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":119845,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-01 15:10:33] local.ERROR: GPS data processing failed {"connection_id":119845,"error":"No valid data to process"} 
[2026-07-01 15:10:33] local.INFO: Acknowledgment sent {"connection_id":119845,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-01 15:11:01] local.INFO: TCP Data received {"connection_id":119059,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d0b61a8012cd4aa8007377a10000e00f32e..."} 
[2026-07-01 15:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d0b61a8012cd4aa8007377a10000e00f32e..."} 
[2026-07-01 15:11:01] local.INFO: Processing buffer {"connection_id":119059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d0b61a8012cd4aa8007377a10000e00f32e..."} 
[2026-07-01 15:11:01] local.INFO: Packet analysis {"connection_id":119059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d0b"} 
[2026-07-01 15:11:01] local.INFO: Extracted packet for processing {"connection_id":119059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d0b"} 
[2026-07-01 15:11:01] local.INFO: GPS Element Parsed {"raw_longitude":752134784,"raw_latitude":121076240,"longitude_deg":75.2134784,"latitude_deg":12.107624,"altitude":14,"angle":243,"satellites":46,"speed":12,"hex_longitude":"2cd4aa80","hex_latitude":"07377a10","is_valid_coordinates":true} 
[2026-07-01 15:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:11:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422070272001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:11:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333507719522680832,"note":"Value kept but may cause issues"} 
[2026-07-01 15:11:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3122190779423240192,"note":"Value kept but may cause issues"} 
[2026-07-01 15:11:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:11:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782898713000,"timestamp_ms":1782898713000,"timestamp_seconds":1782898713,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d0b61a8"} 
[2026-07-01 15:11:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:11:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-01 15:11:01] 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-01 15:11:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:11:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:11:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:11:01] local.INFO: Teltonika packet parsed successfully {"connection_id":119059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:11:01] local.INFO: Passing IMEI to GPS processor {"connection_id":119059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:11:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":119059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:11:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:11:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:11:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:11:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422070272001,"66":27821,"89":206,"83":43264,"24":12,"16":333507719522680832,"44":-3122190779423240192},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-07-01 15:11:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:11:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:11:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422070272001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:11:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 15:11:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 15:11:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333507719522680832,"km_value":333507719522680.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:11:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3122190779423240192,"description":"Unknown IO ID 44"} 
[2026-07-01 15:11:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422070272001,"power":27821,"unknown_89":206,"unknown_83":43264,"ignition":12,"odometer":null,"unknown_44":-3122190779423240192}} 
[2026-07-01 15:11:01] local.INFO: DEBUG: GPS processor result {"connection_id":119059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:11:01] local.INFO: GPS data processed {"connection_id":119059,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:11:01] local.INFO: Acknowledgment sent {"connection_id":119059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:11:05] local.INFO: TCP Data received {"connection_id":119845,"ip":"42.106.6.19","data_length":93,"data_hex":"00000000000000518e010000019f1d0ca5e00100000000000000000000000000..."} 
[2026-07-01 15:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119845,"packet_length":93,"packet_hex":"00000000000000518e010000019f1d0ca5e00100000000000000000000000000..."} 
[2026-07-01 15:11:05] local.INFO: Processing buffer {"connection_id":119845,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f1d0ca5e00100000000000000000000000000..."} 
[2026-07-01 15:11:05] local.INFO: Packet analysis {"connection_id":119845,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f1d0c"} 
[2026-07-01 15:11:05] local.INFO: Extracted packet for processing {"connection_id":119845,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f1d0c"} 
[2026-07-01 15:11:05] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-01 15:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-07-01 15:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:11:05] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:11:05] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-01 15:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":119845,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-01 15:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":119845,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-01 15:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":119845,"device_imei":"862567072406932","avl_records_count":0} 
[2026-07-01 15:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-01 15:11:05] local.WARNING: DEBUG: No valid data to process  
[2026-07-01 15:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":119845,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-01 15:11:05] local.ERROR: GPS data processing failed {"connection_id":119845,"error":"No valid data to process"} 
[2026-07-01 15:11:05] local.INFO: Acknowledgment sent {"connection_id":119845,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-01 15:11:17] local.INFO: TCP Data received {"connection_id":119061,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:11:17] local.INFO: Processing buffer {"connection_id":119061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:11:17] local.INFO: IMEI packet received {"connection_id":119061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 15:11:17] local.INFO: IMEI acknowledgment sent {"connection_id":119061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:11:22] local.INFO: TCP Data received {"connection_id":119061,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:11:22] local.INFO: Processing buffer {"connection_id":119061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:11:22] local.INFO: IMEI packet received {"connection_id":119061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:11:22] local.INFO: IMEI acknowledgment sent {"connection_id":119061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:11:31] local.INFO: TCP Data received {"connection_id":119061,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:11:31] local.INFO: Processing buffer {"connection_id":119061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:11:31] local.INFO: IMEI packet received {"connection_id":119061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":119061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:11:32] local.INFO: TCP Data received {"connection_id":119061,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d0ba028012cd4890007376b60000e00fd2d..."} 
[2026-07-01 15:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d0ba028012cd4890007376b60000e00fd2d..."} 
[2026-07-01 15:11:32] local.INFO: Processing buffer {"connection_id":119061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d0ba028012cd4890007376b60000e00fd2d..."} 
[2026-07-01 15:11:32] local.INFO: Packet analysis {"connection_id":119061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d0b"} 
[2026-07-01 15:11:32] local.INFO: Extracted packet for processing {"connection_id":119061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d0b"} 
[2026-07-01 15:11:32] local.INFO: GPS Element Parsed {"raw_longitude":752126208,"raw_latitude":121072480,"longitude_deg":75.2126208,"latitude_deg":12.107248,"altitude":14,"angle":253,"satellites":45,"speed":28,"hex_longitude":"2cd48900","hex_latitude":"07376b60","is_valid_coordinates":true} 
[2026-07-01 15:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422070528001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333508161904312320,"note":"Value kept but may cause issues"} 
[2026-07-01 15:11:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3122542623144144896,"note":"Value kept but may cause issues"} 
[2026-07-01 15:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782898729000,"timestamp_ms":1782898729000,"timestamp_seconds":1782898729,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d0ba028"} 
[2026-07-01 15:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 15:11:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:11:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":119061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":119061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":119061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422070528001,"66":27930,"89":206,"83":43264,"24":28,"16":333508161904312320,"44":-3122542623144144896},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-07-01 15:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422070528001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:11:32] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 15:11:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 15:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333508161904312320,"km_value":333508161904312.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:11:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3122542623144144896,"description":"Unknown IO ID 44"} 
[2026-07-01 15:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422070528001,"power":27930,"unknown_89":206,"unknown_83":43264,"ignition":28,"odometer":null,"unknown_44":-3122542623144144896}} 
[2026-07-01 15:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":119061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:11:32] local.INFO: GPS data processed {"connection_id":119061,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:11:32] local.INFO: Acknowledgment sent {"connection_id":119061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:11:32] local.INFO: TCP Data received {"connection_id":119061,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d0bcb20012cd4688007376330000e01092c..."} 
[2026-07-01 15:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d0bcb20012cd4688007376330000e01092c..."} 
[2026-07-01 15:11:32] local.INFO: Processing buffer {"connection_id":119061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d0bcb20012cd4688007376330000e01092c..."} 
[2026-07-01 15:11:32] local.INFO: Packet analysis {"connection_id":119061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d0b"} 
[2026-07-01 15:11:32] local.INFO: Extracted packet for processing {"connection_id":119061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d0b"} 
[2026-07-01 15:11:32] local.INFO: GPS Element Parsed {"raw_longitude":752117888,"raw_latitude":121070384,"longitude_deg":75.2117888,"latitude_deg":12.1070384,"altitude":14,"angle":265,"satellites":44,"speed":33,"hex_longitude":"2cd46880","hex_latitude":"07376330","is_valid_coordinates":true} 
[2026-07-01 15:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422074624001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333508569926205440,"note":"Value kept but may cause issues"} 
[2026-07-01 15:11:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3131972034864914432,"note":"Value kept but may cause issues"} 
[2026-07-01 15:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782898740000,"timestamp_ms":1782898740000,"timestamp_seconds":1782898740,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d0bcb20"} 
[2026-07-01 15:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-01 15:11:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:11:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":119061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":119061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":119061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422074624001,"66":27800,"89":206,"83":43264,"24":33,"16":333508569926205440,"44":-3131972034864914432},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-07-01 15:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422074624001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:11:32] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 15:11:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 15:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333508569926205440,"km_value":333508569926205.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:11:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3131972034864914432,"description":"Unknown IO ID 44"} 
[2026-07-01 15:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422074624001,"power":27800,"unknown_89":206,"unknown_83":43264,"ignition":33,"odometer":null,"unknown_44":-3131972034864914432}} 
[2026-07-01 15:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":119061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:11:32] local.INFO: GPS data processed {"connection_id":119061,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:11:32] local.INFO: Acknowledgment sent {"connection_id":119061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:11:36] local.INFO: TCP Data received {"connection_id":119845,"ip":"42.106.6.19","data_length":171,"data_hex":"000000000000009f8e020000019f1d0cc908012d7c2a0005ec35000019010b08..."} 
[2026-07-01 15:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119845,"packet_length":171,"packet_hex":"000000000000009f8e020000019f1d0cc908012d7c2a0005ec35000019010b08..."} 
[2026-07-01 15:11:36] local.INFO: Processing buffer {"connection_id":119845,"buffer_length":171,"buffer_hex":"000000000000009f8e020000019f1d0cc908012d7c2a0005ec35000019010b08..."} 
[2026-07-01 15:11:36] local.INFO: Packet analysis {"connection_id":119845,"data_field_length":159,"total_packet_length":171,"buffer_length":171,"packet_hex_start":"000000000000009f8e020000019f1d0c"} 
[2026-07-01 15:11:36] local.INFO: Extracted packet for processing {"connection_id":119845,"packet_length":171,"remaining_buffer_length":0,"packet_hex_start":"000000000000009f8e020000019f1d0c"} 
[2026-07-01 15:11:36] local.INFO: GPS Element Parsed {"raw_longitude":763111936,"raw_latitude":99366144,"longitude_deg":76.3111936,"latitude_deg":9.9366144,"altitude":25,"angle":267,"satellites":8,"speed":26,"hex_longitude":"2d7c2a00","hex_latitude":"05ec3500","is_valid_coordinates":true} 
[2026-07-01 15:11:36] 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":171,"current_offset":40} 
[2026-07-01 15:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265635098492928,"note":"Value kept but may cause issues"} 
[2026-07-01 15:11:36] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,198,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-01 15:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782898805000,"timestamp_ms":1782898805000,"timestamp_seconds":1782898805,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d0cc908"} 
[2026-07-01 15:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":2,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:11:36] 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-01 15:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":171,"current_offset":136} 
[2026-07-01 15:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":171,"available_bytes":35,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":171,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":2,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:11:36] local.INFO: AVL Records parsing completed {"total_expected":2,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":119845,"avl_records_parsed":1,"avl_records_expected":2,"crc_valid":false} 
[2026-07-01 15:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":119845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":119845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":13656,"198":206,"87":13824,"24":26,"16":101265635098492928},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16]} 
[2026-07-01 15:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-01 15:11:36] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-01 15:11:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265635098492928,"km_value":101265635098492.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:11:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":13656,"unknown_198":206,"unknown_87":13824,"ignition":26,"odometer":null}} 
[2026-07-01 15:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":119845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417534,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:11:36] local.INFO: GPS data processed {"connection_id":119845,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:11:36] local.INFO: Acknowledgment sent {"connection_id":119845,"records_acknowledged":1,"records_expected":2,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:12:04] local.INFO: TCP Data received {"connection_id":119061,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d0bfa00012cd4440007375f68000d010428..."} 
[2026-07-01 15:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d0bfa00012cd4440007375f68000d010428..."} 
[2026-07-01 15:12:04] local.INFO: Processing buffer {"connection_id":119061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d0bfa00012cd4440007375f68000d010428..."} 
[2026-07-01 15:12:04] local.INFO: Packet analysis {"connection_id":119061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d0b"} 
[2026-07-01 15:12:04] local.INFO: Extracted packet for processing {"connection_id":119061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d0b"} 
[2026-07-01 15:12:04] local.INFO: GPS Element Parsed {"raw_longitude":752108544,"raw_latitude":121069416,"longitude_deg":75.2108544,"latitude_deg":12.1069416,"altitude":13,"angle":260,"satellites":40,"speed":18,"hex_longitude":"2cd44400","hex_latitude":"07375f68","is_valid_coordinates":true} 
[2026-07-01 15: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-01 15:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422077440001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333509020897771520,"note":"Value kept but may cause issues"} 
[2026-07-01 15:12:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3141119971608547328,"note":"Value kept but may cause issues"} 
[2026-07-01 15:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782898752000,"timestamp_ms":1782898752000,"timestamp_seconds":1782898752,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d0bfa00"} 
[2026-07-01 15: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-01 15:12: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-01 15: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 15:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15: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-01 15: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-01 15:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":119061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":119061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":119061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:12:04] local.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-01 15:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422077440001,"66":27908,"89":206,"83":43264,"24":18,"16":333509020897771520,"44":-3141119971608547328},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-07-01 15:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422077440001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:12:04] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 15:12:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 15:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333509020897771520,"km_value":333509020897771.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:12:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3141119971608547328,"description":"Unknown IO ID 44"} 
[2026-07-01 15:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422077440001,"power":27908,"unknown_89":206,"unknown_83":43264,"ignition":18,"odometer":null,"unknown_44":-3141119971608547328}} 
[2026-07-01 15:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":119061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:12:04] local.INFO: GPS data processed {"connection_id":119061,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:12:04] local.INFO: Acknowledgment sent {"connection_id":119061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:12:09] local.INFO: TCP Data received {"connection_id":119845,"ip":"42.106.6.19","data_length":249,"data_hex":"00000000000000ed8e030000019f1d0cf400012d7c0c8005ec32e80019010c0a..."} 
[2026-07-01 15:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119845,"packet_length":249,"packet_hex":"00000000000000ed8e030000019f1d0cf400012d7c0c8005ec32e80019010c0a..."} 
[2026-07-01 15:12:09] local.INFO: Processing buffer {"connection_id":119845,"buffer_length":249,"buffer_hex":"00000000000000ed8e030000019f1d0cf400012d7c0c8005ec32e80019010c0a..."} 
[2026-07-01 15:12:09] local.INFO: Packet analysis {"connection_id":119845,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e030000019f1d0c"} 
[2026-07-01 15:12:09] local.INFO: Extracted packet for processing {"connection_id":119845,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e030000019f1d0c"} 
[2026-07-01 15:12:09] local.INFO: GPS Element Parsed {"raw_longitude":763104384,"raw_latitude":99365608,"longitude_deg":76.3104384,"latitude_deg":9.9365608,"altitude":25,"angle":268,"satellites":10,"speed":23,"hex_longitude":"2d7c0c80","hex_latitude":"05ec32e8","is_valid_coordinates":true} 
[2026-07-01 15:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":249,"current_offset":40} 
[2026-07-01 15:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422094080001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101265995875745792,"note":"Value kept but may cause issues"} 
[2026-07-01 15:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946963635162644480,"note":"Value kept but may cause issues"} 
[2026-07-01 15:12:09] 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-01 15:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782898816000,"timestamp_ms":1782898816000,"timestamp_seconds":1782898816,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d0cf400"} 
[2026-07-01 15:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":3,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4352,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":249,"current_offset":136} 
[2026-07-01 15:12:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":249,"available_bytes":113,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:12:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":249,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":3,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:12:09] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":119845,"avl_records_parsed":1,"avl_records_expected":3,"crc_valid":false} 
[2026-07-01 15:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":119845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":119845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422094080001,"66":13298,"198":206,"87":13824,"24":23,"16":101265995875745792,"45":8946963635162644480},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-01 15:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422094080001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:12:09] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-01 15:12:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101265995875745792,"km_value":101265995875745.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946963635162644480,"description":"Unknown IO ID 45"} 
[2026-07-01 15:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422094080001,"power":13298,"unknown_198":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8946963635162644480}} 
[2026-07-01 15:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":119845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417536,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:12:09] local.INFO: GPS data processed {"connection_id":119845,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:12:09] local.INFO: Acknowledgment sent {"connection_id":119845,"records_acknowledged":1,"records_expected":3,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:12:20] local.INFO: TCP Data received {"connection_id":119062,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:12:20] local.INFO: Processing buffer {"connection_id":119062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:12:20] local.INFO: IMEI packet received {"connection_id":119062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 15:12:20] local.INFO: IMEI acknowledgment sent {"connection_id":119062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:12:25] local.INFO: TCP Data received {"connection_id":119062,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:12:25] local.INFO: Processing buffer {"connection_id":119062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:12:25] local.INFO: IMEI packet received {"connection_id":119062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":119062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:12:26] local.INFO: TCP Data received {"connection_id":119062,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d0c4820012cd43e0007375e30000d01002b..."} 
[2026-07-01 15:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d0c4820012cd43e0007375e30000d01002b..."} 
[2026-07-01 15:12:26] local.INFO: Processing buffer {"connection_id":119062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d0c4820012cd43e0007375e30000d01002b..."} 
[2026-07-01 15:12:26] local.INFO: Packet analysis {"connection_id":119062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d0c"} 
[2026-07-01 15:12:26] local.INFO: Extracted packet for processing {"connection_id":119062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d0c"} 
[2026-07-01 15:12:26] local.INFO: GPS Element Parsed {"raw_longitude":752107008,"raw_latitude":121069104,"longitude_deg":75.2107008,"latitude_deg":12.1069104,"altitude":13,"angle":256,"satellites":43,"speed":11,"hex_longitude":"2cd43e00","hex_latitude":"07375e30","is_valid_coordinates":true} 
[2026-07-01 15:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:12:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422080512001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:12:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333509093912215552,"note":"Value kept but may cause issues"} 
[2026-07-01 15:12:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3151393808258734080,"note":"Value kept but may cause issues"} 
[2026-07-01 15:12:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:12:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782898772000,"timestamp_ms":1782898772000,"timestamp_seconds":1782898772,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d0c4820"} 
[2026-07-01 15:12:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:12:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 15:12:26] 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-01 15:12:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:12:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:12:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:12:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:12:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:12:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:12:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:12:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:12:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:12:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422080512001,"66":27767,"89":206,"83":43264,"24":11,"16":333509093912215552,"44":-3151393808258734080},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-07-01 15:12:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:12:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:12:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422080512001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:12:26] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 15:12:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 15:12:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333509093912215552,"km_value":333509093912215.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:12:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3151393808258734080,"description":"Unknown IO ID 44"} 
[2026-07-01 15:12:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422080512001,"power":27767,"unknown_89":206,"unknown_83":43264,"ignition":11,"odometer":null,"unknown_44":-3151393808258734080}} 
[2026-07-01 15:12:26] local.INFO: DEBUG: GPS processor result {"connection_id":119062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:12:26] local.INFO: GPS data processed {"connection_id":119062,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:12:26] local.INFO: Acknowledgment sent {"connection_id":119062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:12:57] local.INFO: TCP Data received {"connection_id":119848,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119848,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:12:57] local.INFO: Processing buffer {"connection_id":119848,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:12:57] local.INFO: IMEI packet received {"connection_id":119848,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 15:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":119848,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:12:57] local.INFO: TCP Data received {"connection_id":119062,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d0e7e88012cd3598007372f28000c01192e..."} 
[2026-07-01 15:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d0e7e88012cd3598007372f28000c01192e..."} 
[2026-07-01 15:12:58] local.INFO: Processing buffer {"connection_id":119062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d0e7e88012cd3598007372f28000c01192e..."} 
[2026-07-01 15:12:58] local.INFO: Packet analysis {"connection_id":119062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d0e"} 
[2026-07-01 15:12:58] local.INFO: Extracted packet for processing {"connection_id":119062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d0e"} 
[2026-07-01 15:12:58] local.INFO: GPS Element Parsed {"raw_longitude":752048512,"raw_latitude":121057064,"longitude_deg":75.2048512,"latitude_deg":12.1057064,"altitude":12,"angle":281,"satellites":46,"speed":5,"hex_longitude":"2cd35980","hex_latitude":"07372f28","is_valid_coordinates":true} 
[2026-07-01 15: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-01 15:12:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422120448001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:12:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333511937180565504,"note":"Value kept but may cause issues"} 
[2026-07-01 15:12:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3214373834300749824,"note":"Value kept but may cause issues"} 
[2026-07-01 15:12:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:12:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782898917000,"timestamp_ms":1782898917000,"timestamp_seconds":1782898917,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d0e7e88"} 
[2026-07-01 15: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-01 15:12:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-01 15:12:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15: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-01 15: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-01 15:12:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:12:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:12:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:12:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:12: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-01 15:12:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:12:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:12:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422120448001,"66":27908,"159":206,"83":43264,"24":5,"16":333511937180565504,"44":-3214373834300749824},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,83,24,16,44]} 
[2026-07-01 15:12:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:12:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:12:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422120448001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:12:58] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-07-01 15:12:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 15:12:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333511937180565504,"km_value":333511937180565.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:12:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3214373834300749824,"description":"Unknown IO ID 44"} 
[2026-07-01 15:12:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422120448001,"power":27908,"unknown_159":206,"unknown_83":43264,"ignition":5,"odometer":null,"unknown_44":-3214373834300749824}} 
[2026-07-01 15:12:58] local.INFO: DEBUG: GPS processor result {"connection_id":119062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:12:58] local.INFO: GPS data processed {"connection_id":119062,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:12:58] local.INFO: Acknowledgment sent {"connection_id":119062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:13:03] local.INFO: TCP Data received {"connection_id":119848,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119848,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:13:03] local.INFO: Processing buffer {"connection_id":119848,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:13:03] local.INFO: IMEI packet received {"connection_id":119848,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 15:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":119848,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:13:04] local.INFO: TCP Data received {"connection_id":119848,"ip":"42.106.6.19","data_length":327,"data_hex":"000000000000013b8e040000019f1d0d3668012d7be9c005ec2eb0001801030a..."} 
[2026-07-01 15:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119848,"packet_length":327,"packet_hex":"000000000000013b8e040000019f1d0d3668012d7be9c005ec2eb0001801030a..."} 
[2026-07-01 15:13:04] local.INFO: Processing buffer {"connection_id":119848,"buffer_length":327,"buffer_hex":"000000000000013b8e040000019f1d0d3668012d7be9c005ec2eb0001801030a..."} 
[2026-07-01 15:13:04] local.INFO: Packet analysis {"connection_id":119848,"data_field_length":315,"total_packet_length":327,"buffer_length":327,"packet_hex_start":"000000000000013b8e040000019f1d0d"} 
[2026-07-01 15:13:04] local.INFO: Extracted packet for processing {"connection_id":119848,"packet_length":327,"remaining_buffer_length":0,"packet_hex_start":"000000000000013b8e040000019f1d0d"} 
[2026-07-01 15:13:04] local.INFO: GPS Element Parsed {"raw_longitude":763095488,"raw_latitude":99364528,"longitude_deg":76.3095488,"latitude_deg":9.9364528,"altitude":24,"angle":259,"satellites":10,"speed":22,"hex_longitude":"2d7be9c0","hex_latitude":"05ec2eb0","is_valid_coordinates":true} 
[2026-07-01 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":327,"current_offset":40} 
[2026-07-01 15:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422096896001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101266425372475392,"note":"Value kept but may cause issues"} 
[2026-07-01 15:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938660123349542912,"note":"Value kept but may cause issues"} 
[2026-07-01 15:13: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-01 15:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782898833000,"timestamp_ms":1782898833000,"timestamp_seconds":1782898833,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d0d3668"} 
[2026-07-01 15:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":4,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:13:04] 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-01 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":327,"current_offset":136} 
[2026-07-01 15:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":327,"available_bytes":191,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:13:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":327,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":4,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:13:04] local.INFO: AVL Records parsing completed {"total_expected":4,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":119848,"avl_records_parsed":1,"avl_records_expected":4,"crc_valid":false} 
[2026-07-01 15:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":119848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":119848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422096896001,"66":13559,"198":206,"87":13824,"24":22,"16":101266425372475392,"45":8938660123349542912},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-01 15:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422096896001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:13:04] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-01 15:13:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101266425372475392,"km_value":101266425372475.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938660123349542912,"description":"Unknown IO ID 45"} 
[2026-07-01 15:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422096896001,"power":13559,"unknown_198":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8938660123349542912}} 
[2026-07-01 15:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":119848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417539,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:13:04] local.INFO: GPS data processed {"connection_id":119848,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:13:04] local.INFO: Acknowledgment sent {"connection_id":119848,"records_acknowledged":1,"records_expected":4,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:13:04] local.INFO: TCP Data received {"connection_id":119848,"ip":"42.106.6.19","data_length":405,"data_hex":"00000000000001898e050000019f1d0d6930012d7bc78005ec2680001800fd0b..."} 
[2026-07-01 15:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119848,"packet_length":405,"packet_hex":"00000000000001898e050000019f1d0d6930012d7bc78005ec2680001800fd0b..."} 
[2026-07-01 15:13:04] local.INFO: Processing buffer {"connection_id":119848,"buffer_length":405,"buffer_hex":"00000000000001898e050000019f1d0d6930012d7bc78005ec2680001800fd0b..."} 
[2026-07-01 15:13:04] local.INFO: Packet analysis {"connection_id":119848,"data_field_length":393,"total_packet_length":405,"buffer_length":405,"packet_hex_start":"00000000000001898e050000019f1d0d"} 
[2026-07-01 15:13:04] local.INFO: Extracted packet for processing {"connection_id":119848,"packet_length":405,"remaining_buffer_length":0,"packet_hex_start":"00000000000001898e050000019f1d0d"} 
[2026-07-01 15:13:04] local.INFO: GPS Element Parsed {"raw_longitude":763086720,"raw_latitude":99362432,"longitude_deg":76.308672,"latitude_deg":9.9362432,"altitude":24,"angle":253,"satellites":11,"speed":30,"hex_longitude":"2d7bc780","hex_latitude":"05ec2680","is_valid_coordinates":true} 
[2026-07-01 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":405,"current_offset":40} 
[2026-07-01 15:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422101248001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101266854869204992,"note":"Value kept but may cause issues"} 
[2026-07-01 15:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928878867908571136,"note":"Value kept but may cause issues"} 
[2026-07-01 15:13: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-01 15:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782898846000,"timestamp_ms":1782898846000,"timestamp_seconds":1782898846,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d0d6930"} 
[2026-07-01 15:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":5,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 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":52,"n8_eight_byte":247,"data_length":405,"current_offset":136} 
[2026-07-01 15:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":405,"available_bytes":269,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:13:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":405,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":5,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:13:04] local.INFO: AVL Records parsing completed {"total_expected":5,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":119848,"avl_records_parsed":1,"avl_records_expected":5,"crc_valid":false} 
[2026-07-01 15:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":119848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":119848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422101248001,"66":13396,"198":206,"87":13824,"24":30,"16":101266854869204992,"45":8928878867908571136},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-01 15:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422101248001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:13:04] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-01 15:13:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101266854869204992,"km_value":101266854869204.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928878867908571136,"description":"Unknown IO ID 45"} 
[2026-07-01 15:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422101248001,"power":13396,"unknown_198":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8928878867908571136}} 
[2026-07-01 15:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":119848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417540,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:13:05] local.INFO: GPS data processed {"connection_id":119848,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:13:05] local.INFO: Acknowledgment sent {"connection_id":119848,"records_acknowledged":1,"records_expected":5,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:13:20] local.INFO: TCP Data received {"connection_id":119063,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:13:20] local.INFO: Processing buffer {"connection_id":119063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:13:20] local.INFO: IMEI packet received {"connection_id":119063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 15:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":119063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:13:26] local.INFO: TCP Data received {"connection_id":119063,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:13:26] local.INFO: Processing buffer {"connection_id":119063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:13:26] local.INFO: IMEI packet received {"connection_id":119063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":119063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:13:27] local.INFO: TCP Data received {"connection_id":119063,"ip":"42.106.6.22","data_length":93,"data_hex":"00000000000000518e010000019f1d0e8658012cd3580007372fa0000d01292f..."} 
[2026-07-01 15:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119063,"packet_length":93,"packet_hex":"00000000000000518e010000019f1d0e8658012cd3580007372fa0000d01292f..."} 
[2026-07-01 15:13:27] local.INFO: Processing buffer {"connection_id":119063,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f1d0e8658012cd3580007372fa0000d01292f..."} 
[2026-07-01 15:13:27] local.INFO: Packet analysis {"connection_id":119063,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f1d0e"} 
[2026-07-01 15:13:27] local.INFO: Extracted packet for processing {"connection_id":119063,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f1d0e"} 
[2026-07-01 15:13:27] local.INFO: GPS Element Parsed {"raw_longitude":752048128,"raw_latitude":121057184,"longitude_deg":75.2048128,"latitude_deg":12.1057184,"altitude":13,"angle":297,"satellites":47,"speed":7,"hex_longitude":"2cd35800","hex_latitude":"07372fa0","is_valid_coordinates":true} 
[2026-07-01 15:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-07-01 15:13:27] 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-01 15:13:27] 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-01 15:13:27] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:13:27] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-01 15:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119063,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-01 15:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119063,"device_imei":"862567074773115","avl_records_count":0} 
[2026-07-01 15:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119063,"device_imei":"862567074773115","avl_records_count":0} 
[2026-07-01 15:13:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-01 15:13:27] local.WARNING: DEBUG: No valid data to process  
[2026-07-01 15:13:27] local.INFO: DEBUG: GPS processor result {"connection_id":119063,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-01 15:13:27] local.ERROR: GPS data processing failed {"connection_id":119063,"error":"No valid data to process"} 
[2026-07-01 15:13:27] local.INFO: Acknowledgment sent {"connection_id":119063,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-01 15:13:36] local.INFO: TCP Data received {"connection_id":119848,"ip":"42.106.6.19","data_length":483,"data_hex":"00000000000001d78e060000019f1d0d9428012d7ba48005ec1c20001a00fd0c..."} 
[2026-07-01 15:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119848,"packet_length":483,"packet_hex":"00000000000001d78e060000019f1d0d9428012d7ba48005ec1c20001a00fd0c..."} 
[2026-07-01 15:13:36] local.INFO: Processing buffer {"connection_id":119848,"buffer_length":483,"buffer_hex":"00000000000001d78e060000019f1d0d9428012d7ba48005ec1c20001a00fd0c..."} 
[2026-07-01 15:13:36] local.INFO: Packet analysis {"connection_id":119848,"data_field_length":471,"total_packet_length":483,"buffer_length":483,"packet_hex_start":"00000000000001d78e060000019f1d0d"} 
[2026-07-01 15:13:36] local.INFO: Extracted packet for processing {"connection_id":119848,"packet_length":483,"remaining_buffer_length":0,"packet_hex_start":"00000000000001d78e060000019f1d0d"} 
[2026-07-01 15:13:36] local.INFO: GPS Element Parsed {"raw_longitude":763077760,"raw_latitude":99359776,"longitude_deg":76.307776,"latitude_deg":9.9359776,"altitude":26,"angle":253,"satellites":12,"speed":31,"hex_longitude":"2d7ba480","hex_latitude":"05ec1c20","is_valid_coordinates":true} 
[2026-07-01 15:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":483,"current_offset":40} 
[2026-07-01 15:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422104576001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101267301545803776,"note":"Value kept but may cause issues"} 
[2026-07-01 15:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8919238349955694592,"note":"Value kept but may cause issues"} 
[2026-07-01 15:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782898857000,"timestamp_ms":1782898857000,"timestamp_seconds":1782898857,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d0d9428"} 
[2026-07-01 15:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":6,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5888,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":483,"current_offset":136} 
[2026-07-01 15:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":483,"available_bytes":347,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:13:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":483,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":6,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:13:36] local.INFO: AVL Records parsing completed {"total_expected":6,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":119848,"avl_records_parsed":1,"avl_records_expected":6,"crc_valid":false} 
[2026-07-01 15:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":119848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":119848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422104576001,"66":13178,"198":206,"87":13824,"24":31,"16":101267301545803776,"45":8919238349955694592},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-01 15:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422104576001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:13:36] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-01 15:13:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101267301545803776,"km_value":101267301545803.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8919238349955694592,"description":"Unknown IO ID 45"} 
[2026-07-01 15:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422104576001,"power":13178,"unknown_198":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8919238349955694592}} 
[2026-07-01 15:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":119848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417541,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:13:36] local.INFO: GPS data processed {"connection_id":119848,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:13:36] local.INFO: Acknowledgment sent {"connection_id":119848,"records_acknowledged":1,"records_expected":6,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:14:01] local.INFO: TCP Data received {"connection_id":119063,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d0f7c70012cd35500073784f8000a01142f..."} 
[2026-07-01 15:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d0f7c70012cd35500073784f8000a01142f..."} 
[2026-07-01 15:14:01] local.INFO: Processing buffer {"connection_id":119063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d0f7c70012cd35500073784f8000a01142f..."} 
[2026-07-01 15:14:01] local.INFO: Packet analysis {"connection_id":119063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d0f"} 
[2026-07-01 15:14:01] local.INFO: Extracted packet for processing {"connection_id":119063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d0f"} 
[2026-07-01 15:14:01] local.INFO: GPS Element Parsed {"raw_longitude":752047360,"raw_latitude":121079032,"longitude_deg":75.204736,"latitude_deg":12.1079032,"altitude":10,"angle":276,"satellites":47,"speed":17,"hex_longitude":"2cd35500","hex_latitude":"073784f8","is_valid_coordinates":true} 
[2026-07-01 15:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422138880001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:14:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333513083936833536,"note":"Value kept but may cause issues"} 
[2026-07-01 15:14:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3217821902760038400,"note":"Value kept but may cause issues"} 
[2026-07-01 15:14:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:14:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782898982000,"timestamp_ms":1782898982000,"timestamp_seconds":1782898982,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d0f7c70"} 
[2026-07-01 15:14:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:14:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 15:14:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:14:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:14:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:14:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:14:01] local.INFO: Teltonika packet parsed successfully {"connection_id":119063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:14:01] local.INFO: Passing IMEI to GPS processor {"connection_id":119063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:14:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":119063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:14:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:14:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:14:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:14:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422138880001,"66":27843,"169":206,"83":43264,"24":17,"16":333513083936833536,"44":-3217821902760038400},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,44]} 
[2026-07-01 15:14:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:14:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:14:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422138880001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:14:01] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-01 15:14:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 15:14:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333513083936833536,"km_value":333513083936833.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:14:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3217821902760038400,"description":"Unknown IO ID 44"} 
[2026-07-01 15:14:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422138880001,"power":27843,"unknown_169":206,"unknown_83":43264,"ignition":17,"odometer":null,"unknown_44":-3217821902760038400}} 
[2026-07-01 15:14:01] local.INFO: DEBUG: GPS processor result {"connection_id":119063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:14:01] local.INFO: GPS data processed {"connection_id":119063,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:14:01] local.INFO: Acknowledgment sent {"connection_id":119063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:14:07] local.INFO: TCP Data received {"connection_id":119848,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d0ff970012d7a79c005eb9de0001a00fe19..."} 
[2026-07-01 15:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d0ff970012d7a79c005eb9de0001a00fe19..."} 
[2026-07-01 15:14:07] local.INFO: Processing buffer {"connection_id":119848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d0ff970012d7a79c005eb9de0001a00fe19..."} 
[2026-07-01 15:14:07] local.INFO: Packet analysis {"connection_id":119848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d0f"} 
[2026-07-01 15:14:07] local.INFO: Extracted packet for processing {"connection_id":119848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d0f"} 
[2026-07-01 15:14:07] local.INFO: GPS Element Parsed {"raw_longitude":763001280,"raw_latitude":99327456,"longitude_deg":76.300128,"latitude_deg":9.9327456,"altitude":26,"angle":254,"satellites":25,"speed":4,"hex_longitude":"2d7a79c0","hex_latitude":"05eb9de0","is_valid_coordinates":true} 
[2026-07-01 15:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422142464001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101271287275454464,"note":"Value kept but may cause issues"} 
[2026-07-01 15:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8825929395167232000,"note":"Value kept but may cause issues"} 
[2026-07-01 15:14:07] 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-01 15:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782899014000,"timestamp_ms":1782899014000,"timestamp_seconds":1782899014,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d0ff970"} 
[2026-07-01 15:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:14:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-07-01 15:14:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:14:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":119848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":119848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":119848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422142464001,"66":13319,"161":206,"87":13824,"24":4,"16":101271287275454464,"45":8825929395167232000},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-07-01 15:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422142464001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:14:07] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-01 15:14:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101271287275454464,"km_value":101271287275454.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8825929395167232000,"description":"Unknown IO ID 45"} 
[2026-07-01 15:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422142464001,"power":13319,"unknown_161":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8825929395167232000}} 
[2026-07-01 15:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":119848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417543,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:14:07] local.INFO: GPS data processed {"connection_id":119848,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:14:07] local.INFO: Acknowledgment sent {"connection_id":119848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:14:20] local.INFO: TCP Data received {"connection_id":119849,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:14:20] local.INFO: Processing buffer {"connection_id":119849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:14:20] local.INFO: IMEI packet received {"connection_id":119849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 15:14:20] local.INFO: IMEI acknowledgment sent {"connection_id":119849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:14:20] local.INFO: TCP Data received {"connection_id":119849,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:14:20] local.INFO: Processing buffer {"connection_id":119849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:14:20] local.INFO: IMEI packet received {"connection_id":119849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:14:20] local.INFO: IMEI acknowledgment sent {"connection_id":119849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:14:21] local.INFO: TCP Data received {"connection_id":119849,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:14:21] local.INFO: Processing buffer {"connection_id":119849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:14:21] local.INFO: IMEI packet received {"connection_id":119849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":119849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:14:23] local.INFO: TCP Data received {"connection_id":119849,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:14:23] local.INFO: Processing buffer {"connection_id":119849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:14:23] local.INFO: IMEI packet received {"connection_id":119849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:14:23] local.INFO: IMEI acknowledgment sent {"connection_id":119849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:14:43] local.INFO: TCP Data received {"connection_id":120931,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 15:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120931,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 15:14:43] local.INFO: Processing buffer {"connection_id":120931,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 15:14:43] local.INFO: IMEI packet received {"connection_id":120931,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 15:14:43] local.INFO: IMEI acknowledgment sent {"connection_id":120931,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:14:52] local.INFO: TCP Data received {"connection_id":119178,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119178,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:14:52] local.INFO: Processing buffer {"connection_id":119178,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:14:52] local.INFO: IMEI packet received {"connection_id":119178,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 15:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":119178,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:14:53] local.INFO: TCP Data received {"connection_id":119178,"ip":"42.106.6.19","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-01 15:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119178,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-01 15:14:53] local.INFO: Processing buffer {"connection_id":119178,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-01 15:14:53] local.INFO: IMEI packet received {"connection_id":119178,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 15:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":119178,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:14:57] local.INFO: TCP Data received {"connection_id":119178,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119178,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:14:57] local.INFO: Processing buffer {"connection_id":119178,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-01 15:14:57] local.INFO: IMEI packet received {"connection_id":119178,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 15:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":119178,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:14:58] local.INFO: TCP Data received {"connection_id":119178,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d104b78012d7a788005eb9d48001900fe18..."} 
[2026-07-01 15:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d104b78012d7a788005eb9d48001900fe18..."} 
[2026-07-01 15:14:58] local.INFO: Processing buffer {"connection_id":119178,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019f1d..."} 
[2026-07-01 15:14:58] local.INFO: IMEI packet received {"connection_id":119178,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 15:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":119178,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:14:59] local.INFO: TCP Data received {"connection_id":119178,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d106ea0012d7a770005eb9c80001900f218..."} 
[2026-07-01 15:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d106ea0012d7a770005eb9c80001900f218..."} 
[2026-07-01 15:14:59] local.INFO: Processing buffer {"connection_id":119178,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f1d104b78012d7a788005eb9d48001900fe18..."} 
[2026-07-01 15:14:59] local.INFO: Packet analysis {"connection_id":119178,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f1d10"} 
[2026-07-01 15:14:59] local.INFO: Extracted packet for processing {"connection_id":119178,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d10"} 
[2026-07-01 15:14:59] local.INFO: GPS Element Parsed {"raw_longitude":763000960,"raw_latitude":99327304,"longitude_deg":76.300096,"latitude_deg":9.9327304,"altitude":25,"angle":254,"satellites":24,"speed":0,"hex_longitude":"2d7a7880","hex_latitude":"05eb9d48","is_valid_coordinates":true} 
[2026-07-01 15: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-01 15:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422147584001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101271308750290944,"note":"Value kept but may cause issues"} 
[2026-07-01 15:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8825296076469559296,"note":"Value kept but may cause issues"} 
[2026-07-01 15:14:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782899035000,"timestamp_ms":1782899035000,"timestamp_seconds":1782899035,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d104b78"} 
[2026-07-01 15: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-01 15:14: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-01 15:14:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-01 15:14:59] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-01 15:14:59] local.WARNING: Large IO value detected {"io_id":235,"raw_value":-1778921732536331776,"note":"Value kept but may cause issues"} 
[2026-07-01 15:14:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033568462,"corrected_to":0} 
[2026-07-01 15:14:59] local.WARNING: Large IO value detected {"io_id":165,"raw_value":2550214010,"note":"Value kept but may cause issues"} 
[2026-07-01 15:14:59] local.WARNING: Large IO value detected {"io_id":221,"raw_value":3221613511,"note":"Value kept but may cause issues"} 
[2026-07-01 15:14:59] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3363635200,"note":"Value kept but may cause issues"} 
[2026-07-01 15:14:59] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3956740096,"note":"Value kept but may cause issues"} 
[2026-07-01 15:14:59] local.WARNING: Large IO value detected {"io_id":187,"raw_value":57770106168432438,"note":"Value kept but may cause issues"} 
[2026-07-01 15:14:59] local.WARNING: Large IO value detected {"io_id":14,"raw_value":5739839019934400517,"note":"Value kept but may cause issues"} 
[2026-07-01 15:14:59] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,161,87,24,241,157,16,201,159,171,45,25,10,66,156,112,128,172,26,154,30,1,240,220,227,29,235,4,113,205,165,221,72,21,239,52,155,2,103,5,187,14],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1033568462,"validated":0}]} 
[2026-07-01 15:14:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1873776828314025984,"timestamp_seconds":1873776828314026.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 15: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-01 15:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119178,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119178,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:14:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422147584001,"66":12765,"161":206,"87":13824,"24":0,"16":101271308750290944,"45":8825296076469559296},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-07-01 15:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422147584001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:14:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-01 15:14:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101271308750290944,"km_value":101271308750290.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8825296076469559296,"description":"Unknown IO ID 45"} 
[2026-07-01 15:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422147584001,"power":12765,"unknown_161":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8825296076469559296}} 
[2026-07-01 15:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":119178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417544,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:14:59] local.INFO: GPS data processed {"connection_id":119178,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:14:59] local.INFO: Acknowledgment sent {"connection_id":119178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:14:59] local.INFO: Packet analysis {"connection_id":119178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d10"} 
[2026-07-01 15:14:59] local.INFO: Extracted packet for processing {"connection_id":119178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d10"} 
[2026-07-01 15:14:59] local.INFO: GPS Element Parsed {"raw_longitude":763000576,"raw_latitude":99327104,"longitude_deg":76.3000576,"latitude_deg":9.9327104,"altitude":25,"angle":242,"satellites":24,"speed":3,"hex_longitude":"2d7a7700","hex_latitude":"05eb9c80","is_valid_coordinates":true} 
[2026-07-01 15: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-01 15:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422152960001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101271325930160128,"note":"Value kept but may cause issues"} 
[2026-07-01 15:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8824944232748632064,"note":"Value kept but may cause issues"} 
[2026-07-01 15:14:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782899044000,"timestamp_ms":1782899044000,"timestamp_seconds":1782899044,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d106ea0"} 
[2026-07-01 15: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-01 15:14:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-01 15:14:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15: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-01 15: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-01 15:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119178,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119178,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:14:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422152960001,"66":12917,"161":206,"87":13824,"24":3,"16":101271325930160128,"45":8824944232748632064},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-07-01 15:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422152960001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:14:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-01 15:14:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101271325930160128,"km_value":101271325930160.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8824944232748632064,"description":"Unknown IO ID 45"} 
[2026-07-01 15:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422152960001,"power":12917,"unknown_161":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8824944232748632064}} 
[2026-07-01 15:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":119178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417545,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:14:59] local.INFO: GPS data processed {"connection_id":119178,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:14:59] local.INFO: Acknowledgment sent {"connection_id":119178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:15:00] local.INFO: TCP Data received {"connection_id":119178,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d107e40012d7a760005eb9c400018010a18..."} 
[2026-07-01 15:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d107e40012d7a760005eb9c400018010a18..."} 
[2026-07-01 15:15:00] local.INFO: Processing buffer {"connection_id":119178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d107e40012d7a760005eb9c400018010a18..."} 
[2026-07-01 15:15:00] local.INFO: Packet analysis {"connection_id":119178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d10"} 
[2026-07-01 15:15:00] local.INFO: Extracted packet for processing {"connection_id":119178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d10"} 
[2026-07-01 15:15:00] local.INFO: GPS Element Parsed {"raw_longitude":763000320,"raw_latitude":99327040,"longitude_deg":76.300032,"latitude_deg":9.932704,"altitude":24,"angle":266,"satellites":24,"speed":1,"hex_longitude":"2d7a7600","hex_latitude":"05eb9c40","is_valid_coordinates":true} 
[2026-07-01 15:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:15:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422155264001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:15:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101271338815062016,"note":"Value kept but may cause issues"} 
[2026-07-01 15:15:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8824522020283514880,"note":"Value kept but may cause issues"} 
[2026-07-01 15:15:00] 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-01 15:15:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782899048000,"timestamp_ms":1782899048000,"timestamp_seconds":1782899048,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d107e40"} 
[2026-07-01 15:15:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:15:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-01 15:15:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:15:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:15:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:15:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:15:00] local.INFO: Teltonika packet parsed successfully {"connection_id":119178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:15:00] local.INFO: Passing IMEI to GPS processor {"connection_id":119178,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:15:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":119178,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:15:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:15:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:15:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:15:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422155264001,"66":12961,"161":206,"87":13824,"24":1,"16":101271338815062016,"45":8824522020283514880},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-07-01 15:15:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:15:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:15:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422155264001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:15:00] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-01 15:15:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:15:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101271338815062016,"km_value":101271338815062.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:15:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8824522020283514880,"description":"Unknown IO ID 45"} 
[2026-07-01 15:15:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422155264001,"power":12961,"unknown_161":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8824522020283514880}} 
[2026-07-01 15:15:00] local.INFO: DEBUG: GPS processor result {"connection_id":119178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417546,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:15:00] local.INFO: GPS data processed {"connection_id":119178,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:15:00] local.INFO: Acknowledgment sent {"connection_id":119178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:15:03] local.INFO: TCP Data received {"connection_id":119178,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d108610012d7a75c005eb9c08001800f019..."} 
[2026-07-01 15:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d108610012d7a75c005eb9c08001800f019..."} 
[2026-07-01 15:15:03] local.INFO: Processing buffer {"connection_id":119178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d108610012d7a75c005eb9c08001800f019..."} 
[2026-07-01 15:15:03] local.INFO: Packet analysis {"connection_id":119178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d10"} 
[2026-07-01 15:15:03] local.INFO: Extracted packet for processing {"connection_id":119178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d10"} 
[2026-07-01 15:15:03] local.INFO: GPS Element Parsed {"raw_longitude":763000256,"raw_latitude":99326984,"longitude_deg":76.3000256,"latitude_deg":9.9326984,"altitude":24,"angle":240,"satellites":25,"speed":1,"hex_longitude":"2d7a75c0","hex_latitude":"05eb9c08","is_valid_coordinates":true} 
[2026-07-01 15:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422156288001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101271347404996608,"note":"Value kept but may cause issues"} 
[2026-07-01 15:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8824240545306787840,"note":"Value kept but may cause issues"} 
[2026-07-01 15:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782899050000,"timestamp_ms":1782899050000,"timestamp_seconds":1782899050,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d108610"} 
[2026-07-01 15:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-01 15:15:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":119178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":119178,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":119178,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422156288001,"66":13254,"161":206,"87":13824,"24":1,"16":101271347404996608,"45":8824240545306787840},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-07-01 15:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422156288001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:15:03] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-01 15:15:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101271347404996608,"km_value":101271347404996.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8824240545306787840,"description":"Unknown IO ID 45"} 
[2026-07-01 15:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422156288001,"power":13254,"unknown_161":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8824240545306787840}} 
[2026-07-01 15:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":119178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417547,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:15:03] local.INFO: GPS data processed {"connection_id":119178,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:15:03] local.INFO: Acknowledgment sent {"connection_id":119178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:15:34] local.INFO: TCP Data received {"connection_id":119178,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d10a550012d7a710005eb9a00001701001a..."} 
[2026-07-01 15:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d10a550012d7a710005eb9a00001701001a..."} 
[2026-07-01 15:15:34] local.INFO: Processing buffer {"connection_id":119178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d10a550012d7a710005eb9a00001701001a..."} 
[2026-07-01 15:15:34] local.INFO: Packet analysis {"connection_id":119178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d10"} 
[2026-07-01 15:15:34] local.INFO: Extracted packet for processing {"connection_id":119178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d10"} 
[2026-07-01 15:15:34] local.INFO: GPS Element Parsed {"raw_longitude":762999040,"raw_latitude":99326464,"longitude_deg":76.299904,"latitude_deg":9.9326464,"altitude":23,"angle":256,"satellites":26,"speed":12,"hex_longitude":"2d7a7100","hex_latitude":"05eb9a00","is_valid_coordinates":true} 
[2026-07-01 15:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422156800001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101271411829506048,"note":"Value kept but may cause issues"} 
[2026-07-01 15:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8824170176562595840,"note":"Value kept but may cause issues"} 
[2026-07-01 15:15:34] 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-01 15:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782899058000,"timestamp_ms":1782899058000,"timestamp_seconds":1782899058,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d10a550"} 
[2026-07-01 15:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:15: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-01 15:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-01 15:15: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-01 15:15:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":119178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":119178,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":119178,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422156800001,"66":12961,"161":206,"87":13824,"24":12,"16":101271411829506048,"45":8824170176562595840},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-07-01 15:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422156800001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:15:34] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-01 15:15:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101271411829506048,"km_value":101271411829506.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8824170176562595840,"description":"Unknown IO ID 45"} 
[2026-07-01 15:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422156800001,"power":12961,"unknown_161":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8824170176562595840}} 
[2026-07-01 15:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":119178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417548,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:15:34] local.INFO: GPS data processed {"connection_id":119178,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:15:34] local.INFO: Acknowledgment sent {"connection_id":119178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:15:35] local.INFO: TCP Data received {"connection_id":119851,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 15:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119851,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 15:15:35] local.INFO: Processing buffer {"connection_id":119851,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 15:15:35] local.INFO: IMEI packet received {"connection_id":119851,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 15:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":119851,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:15:52] local.INFO: TCP Data received {"connection_id":119064,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119064,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:15:52] local.INFO: Processing buffer {"connection_id":119064,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:15:52] local.INFO: IMEI packet received {"connection_id":119064,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 15:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":119064,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:15:57] local.INFO: TCP Data received {"connection_id":119064,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119064,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:15:57] local.INFO: Processing buffer {"connection_id":119064,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:15:57] local.INFO: IMEI packet received {"connection_id":119064,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 15:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":119064,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:15:58] local.INFO: TCP Data received {"connection_id":119064,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d10f758012d7a5bc005eb92700015010719..."} 
[2026-07-01 15:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d10f758012d7a5bc005eb92700015010719..."} 
[2026-07-01 15:15:58] local.INFO: Processing buffer {"connection_id":119064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d10f758012d7a5bc005eb92700015010719..."} 
[2026-07-01 15:15:58] local.INFO: Packet analysis {"connection_id":119064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d10"} 
[2026-07-01 15:15:58] local.INFO: Extracted packet for processing {"connection_id":119064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d10"} 
[2026-07-01 15:15:58] local.INFO: GPS Element Parsed {"raw_longitude":762993600,"raw_latitude":99324528,"longitude_deg":76.29936,"latitude_deg":9.9324528,"altitude":21,"angle":263,"satellites":25,"speed":0,"hex_longitude":"2d7a5bc0","hex_latitude":"05eb9270","is_valid_coordinates":true} 
[2026-07-01 15: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-01 15:15:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422158848001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:15:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101271695297347584,"note":"Value kept but may cause issues"} 
[2026-07-01 15:15:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8822833170423087104,"note":"Value kept but may cause issues"} 
[2026-07-01 15:15:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:15:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782899079000,"timestamp_ms":1782899079000,"timestamp_seconds":1782899079,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d10f758"} 
[2026-07-01 15: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-01 15:15:58] 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-01 15: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-01 15:15:58] 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-01 15: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-01 15: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-01 15:15:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:15:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:15:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119064,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:15:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119064,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:15:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:15:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:15:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:15:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422158848001,"66":13254,"161":206,"87":13824,"24":0,"16":101271695297347584,"45":8822833170423087104},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-07-01 15:15:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:15:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:15:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422158848001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:15:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-01 15:15:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:15:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101271695297347584,"km_value":101271695297347.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:15:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8822833170423087104,"description":"Unknown IO ID 45"} 
[2026-07-01 15:15:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422158848001,"power":13254,"unknown_161":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8822833170423087104}} 
[2026-07-01 15:15:58] local.INFO: DEBUG: GPS processor result {"connection_id":119064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417549,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:15:58] local.INFO: GPS data processed {"connection_id":119064,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:15:58] local.INFO: Acknowledgment sent {"connection_id":119064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:16:15] local.INFO: TCP Data received {"connection_id":120932,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 15:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120932,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 15:16:15] local.INFO: Processing buffer {"connection_id":120932,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 15:16:15] local.INFO: IMEI packet received {"connection_id":120932,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 15:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":120932,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:16:29] local.INFO: TCP Data received {"connection_id":119064,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d126e58012d7a2ac005ebe1480013015b1c..."} 
[2026-07-01 15:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d126e58012d7a2ac005ebe1480013015b1c..."} 
[2026-07-01 15:16:29] local.INFO: Processing buffer {"connection_id":119064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d126e58012d7a2ac005ebe1480013015b1c..."} 
[2026-07-01 15:16:29] local.INFO: Packet analysis {"connection_id":119064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d12"} 
[2026-07-01 15:16:29] local.INFO: Extracted packet for processing {"connection_id":119064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d12"} 
[2026-07-01 15:16:29] local.INFO: GPS Element Parsed {"raw_longitude":762981056,"raw_latitude":99344712,"longitude_deg":76.2981056,"latitude_deg":9.9344712,"altitude":19,"angle":347,"satellites":28,"speed":6,"hex_longitude":"2d7a2ac0","hex_latitude":"05ebe148","is_valid_coordinates":true} 
[2026-07-01 15: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-01 15:16:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422188288001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:16:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101272893593223168,"note":"Value kept but may cause issues"} 
[2026-07-01 15:16:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803129922057924608,"note":"Value kept but may cause issues"} 
[2026-07-01 15:16:29] 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-01 15:16:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782899175000,"timestamp_ms":1782899175000,"timestamp_seconds":1782899175,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d126e58"} 
[2026-07-01 15: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-01 15:16: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-01 15: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-01 15:16:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15: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-01 15: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-01 15:16:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:16:29] local.INFO: Teltonika packet parsed successfully {"connection_id":119064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:16:29] local.INFO: Passing IMEI to GPS processor {"connection_id":119064,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:16:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":119064,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:16:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:16:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:16:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:16:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422188288001,"66":12993,"163":206,"87":13824,"24":6,"16":101272893593223168,"45":8803129922057924608},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-07-01 15:16:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:16:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:16:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422188288001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:16:29] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-01 15:16:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:16:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101272893593223168,"km_value":101272893593223.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:16:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803129922057924608,"description":"Unknown IO ID 45"} 
[2026-07-01 15:16:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422188288001,"power":12993,"unknown_163":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8803129922057924608}} 
[2026-07-01 15:16:29] local.INFO: DEBUG: GPS processor result {"connection_id":119064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417550,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:16:29] local.INFO: GPS data processed {"connection_id":119064,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:16:29] local.INFO: Acknowledgment sent {"connection_id":119064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:16:52] local.INFO: TCP Data received {"connection_id":120933,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120933,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:16:52] local.INFO: Processing buffer {"connection_id":120933,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:16:52] local.INFO: IMEI packet received {"connection_id":120933,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 15:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":120933,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:16:57] local.INFO: TCP Data received {"connection_id":120933,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120933,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:16:57] local.INFO: Processing buffer {"connection_id":120933,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:16:57] local.INFO: IMEI packet received {"connection_id":120933,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 15:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":120933,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:16:58] local.INFO: TCP Data received {"connection_id":120933,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d127df8012d7a298005ebe3a8001201441c..."} 
[2026-07-01 15:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d127df8012d7a298005ebe3a8001201441c..."} 
[2026-07-01 15:16:58] local.INFO: Processing buffer {"connection_id":120933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d127df8012d7a298005ebe3a8001201441c..."} 
[2026-07-01 15:16:58] local.INFO: Packet analysis {"connection_id":120933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d12"} 
[2026-07-01 15:16:58] local.INFO: Extracted packet for processing {"connection_id":120933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d12"} 
[2026-07-01 15:16:58] local.INFO: GPS Element Parsed {"raw_longitude":762980736,"raw_latitude":99345320,"longitude_deg":76.2980736,"latitude_deg":9.934532,"altitude":18,"angle":324,"satellites":28,"speed":11,"hex_longitude":"2d7a2980","hex_latitude":"05ebe3a8","is_valid_coordinates":true} 
[2026-07-01 15: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-01 15:16:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422188800001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:16:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101272927952961536,"note":"Value kept but may cause issues"} 
[2026-07-01 15:16:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803059553313835008,"note":"Value kept but may cause issues"} 
[2026-07-01 15:16:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:16:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782899179000,"timestamp_ms":1782899179000,"timestamp_seconds":1782899179,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d127df8"} 
[2026-07-01 15: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-01 15:16: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-01 15: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-07-01 15:16: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-01 15: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-01 15: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-01 15:16:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:16:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:16:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120933,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:16:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120933,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:16:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:16:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:16:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:16:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422188800001,"66":13243,"163":206,"87":13824,"24":11,"16":101272927952961536,"45":8803059553313835008},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-07-01 15:16:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:16:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:16:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422188800001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:16:58] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-01 15:16:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:16:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101272927952961536,"km_value":101272927952961.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:16:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803059553313835008,"description":"Unknown IO ID 45"} 
[2026-07-01 15:16:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422188800001,"power":13243,"unknown_163":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8803059553313835008}} 
[2026-07-01 15:16:58] local.INFO: DEBUG: GPS processor result {"connection_id":120933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417551,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:16:58] local.INFO: GPS data processed {"connection_id":120933,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:16:58] local.INFO: Acknowledgment sent {"connection_id":120933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:17:30] local.INFO: TCP Data received {"connection_id":120933,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d1285c8012d7a288005ebe620001201561c..."} 
[2026-07-01 15:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d1285c8012d7a288005ebe620001201561c..."} 
[2026-07-01 15:17:30] local.INFO: Processing buffer {"connection_id":120933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d1285c8012d7a288005ebe620001201561c..."} 
[2026-07-01 15:17:30] local.INFO: Packet analysis {"connection_id":120933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d12"} 
[2026-07-01 15:17:30] local.INFO: Extracted packet for processing {"connection_id":120933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d12"} 
[2026-07-01 15:17:30] local.INFO: GPS Element Parsed {"raw_longitude":762980480,"raw_latitude":99345952,"longitude_deg":76.298048,"latitude_deg":9.9345952,"altitude":18,"angle":342,"satellites":28,"speed":14,"hex_longitude":"2d7a2880","hex_latitude":"05ebe620","is_valid_coordinates":true} 
[2026-07-01 15:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422189824001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101272962312699904,"note":"Value kept but may cause issues"} 
[2026-07-01 15:17:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8802707709593102336,"note":"Value kept but may cause issues"} 
[2026-07-01 15:17:30] 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-01 15:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782899181000,"timestamp_ms":1782899181000,"timestamp_seconds":1782899181,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d1285c8"} 
[2026-07-01 15:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:17: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-01 15:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-01 15:17:30] 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-01 15:17:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":120933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":120933,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":120933,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:17:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422189824001,"66":13254,"163":206,"87":13824,"24":14,"16":101272962312699904,"45":8802707709593102336},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-07-01 15:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422189824001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:17:30] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-01 15:17:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101272962312699904,"km_value":101272962312699.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:17:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8802707709593102336,"description":"Unknown IO ID 45"} 
[2026-07-01 15:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422189824001,"power":13254,"unknown_163":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8802707709593102336}} 
[2026-07-01 15:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":120933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417552,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:17:30] local.INFO: GPS data processed {"connection_id":120933,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:17:30] local.INFO: Acknowledgment sent {"connection_id":120933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:17:51] local.INFO: TCP Data received {"connection_id":119179,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119179,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:17:51] local.INFO: Processing buffer {"connection_id":119179,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:17:51] local.INFO: IMEI packet received {"connection_id":119179,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 15:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":119179,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:17:57] local.INFO: TCP Data received {"connection_id":119179,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119179,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:17:57] local.INFO: Processing buffer {"connection_id":119179,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:17:57] local.INFO: IMEI packet received {"connection_id":119179,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 15:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":119179,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:17:58] local.INFO: TCP Data received {"connection_id":119179,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d129d38012d7a228005ebf298001301461a..."} 
[2026-07-01 15:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d129d38012d7a228005ebf298001301461a..."} 
[2026-07-01 15:17:58] local.INFO: Processing buffer {"connection_id":119179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d129d38012d7a228005ebf298001301461a..."} 
[2026-07-01 15:17:58] local.INFO: Packet analysis {"connection_id":119179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d12"} 
[2026-07-01 15:17:58] local.INFO: Extracted packet for processing {"connection_id":119179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d12"} 
[2026-07-01 15:17:58] local.INFO: GPS Element Parsed {"raw_longitude":762978944,"raw_latitude":99349144,"longitude_deg":76.2978944,"latitude_deg":9.9349144,"altitude":19,"angle":326,"satellites":26,"speed":30,"hex_longitude":"2d7a2280","hex_latitude":"05ebf298","is_valid_coordinates":true} 
[2026-07-01 15: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-01 15:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422190336001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:17:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101273134111391744,"note":"Value kept but may cause issues"} 
[2026-07-01 15:17:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8802426234616553472,"note":"Value kept but may cause issues"} 
[2026-07-01 15:17:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:17:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782899187000,"timestamp_ms":1782899187000,"timestamp_seconds":1782899187,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d129d38"} 
[2026-07-01 15: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-01 15:17: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-01 15: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-01 15:17: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-01 15: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-01 15: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-01 15:17:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:17:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:17:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:17:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:17:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:17:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:17:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:17:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422190336001,"66":13493,"163":206,"87":13824,"24":30,"16":101273134111391744,"45":8802426234616553472},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-07-01 15:17:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:17:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:17:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422190336001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:17:58] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-01 15:17:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:17:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101273134111391744,"km_value":101273134111391.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:17:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8802426234616553472,"description":"Unknown IO ID 45"} 
[2026-07-01 15:17:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422190336001,"power":13493,"unknown_163":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8802426234616553472}} 
[2026-07-01 15:17:58] local.INFO: DEBUG: GPS processor result {"connection_id":119179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417553,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:17:58] local.INFO: GPS data processed {"connection_id":119179,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:17:58] local.INFO: Acknowledgment sent {"connection_id":119179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:18:29] local.INFO: TCP Data received {"connection_id":119179,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d12a508012d7a200005ebf8c0001201541a..."} 
[2026-07-01 15:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d12a508012d7a200005ebf8c0001201541a..."} 
[2026-07-01 15:18:29] local.INFO: Processing buffer {"connection_id":119179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d12a508012d7a200005ebf8c0001201541a..."} 
[2026-07-01 15:18:29] local.INFO: Packet analysis {"connection_id":119179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d12"} 
[2026-07-01 15:18:29] local.INFO: Extracted packet for processing {"connection_id":119179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d12"} 
[2026-07-01 15:18:29] local.INFO: GPS Element Parsed {"raw_longitude":762978304,"raw_latitude":99350720,"longitude_deg":76.2978304,"latitude_deg":9.935072,"altitude":18,"angle":340,"satellites":26,"speed":32,"hex_longitude":"2d7a2000","hex_latitude":"05ebf8c0","is_valid_coordinates":true} 
[2026-07-01 15: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-01 15:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422191872001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:18:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101273215715770368,"note":"Value kept but may cause issues"} 
[2026-07-01 15:18:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800737384757106688,"note":"Value kept but may cause issues"} 
[2026-07-01 15:18:29] 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-01 15:18:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782899189000,"timestamp_ms":1782899189000,"timestamp_seconds":1782899189,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d12a508"} 
[2026-07-01 15: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-01 15:18: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-01 15:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-07-01 15:18: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-01 15: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-01 15: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-01 15:18:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:18:29] local.INFO: Teltonika packet parsed successfully {"connection_id":119179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:18:29] local.INFO: Passing IMEI to GPS processor {"connection_id":119179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:18:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":119179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:18:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:18:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:18:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:18:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422191872001,"66":13428,"163":206,"87":13824,"24":32,"16":101273215715770368,"45":8800737384757106688},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-07-01 15:18:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:18:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:18:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422191872001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:18:29] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-01 15:18:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:18:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101273215715770368,"km_value":101273215715770.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:18:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800737384757106688,"description":"Unknown IO ID 45"} 
[2026-07-01 15:18:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422191872001,"power":13428,"unknown_163":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8800737384757106688}} 
[2026-07-01 15:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":119179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417554,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:18:29] local.INFO: GPS data processed {"connection_id":119179,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:18:29] local.INFO: Acknowledgment sent {"connection_id":119179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:18:51] local.INFO: TCP Data received {"connection_id":119181,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119181,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:18:51] local.INFO: Processing buffer {"connection_id":119181,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:18:51] local.INFO: IMEI packet received {"connection_id":119181,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 15:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":119181,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:18:52] local.INFO: TCP Data received {"connection_id":119181,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119181,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:18:52] local.INFO: Processing buffer {"connection_id":119181,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:18:52] local.INFO: IMEI packet received {"connection_id":119181,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 15:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":119181,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:18:52] local.INFO: TCP Data received {"connection_id":119181,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119181,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:18:52] local.INFO: Processing buffer {"connection_id":119181,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:18:52] local.INFO: IMEI packet received {"connection_id":119181,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 15:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":119181,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:18:55] local.INFO: TCP Data received {"connection_id":119181,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119181,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:18:55] local.INFO: Processing buffer {"connection_id":119181,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:18:55] local.INFO: IMEI packet received {"connection_id":119181,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 15:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":119181,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:19:25] local.INFO: TCP Data received {"connection_id":119067,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:19:25] local.INFO: Processing buffer {"connection_id":119067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:19:25] local.INFO: IMEI packet received {"connection_id":119067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 15:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":119067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:19:30] local.INFO: TCP Data received {"connection_id":119067,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:19:30] local.INFO: Processing buffer {"connection_id":119067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:19:30] local.INFO: IMEI packet received {"connection_id":119067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":119067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:19:37] local.INFO: TCP Data received {"connection_id":119067,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d145e70012cd10c80073a5a40000700f52a..."} 
[2026-07-01 15:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d145e70012cd10c80073a5a40000700f52a..."} 
[2026-07-01 15:19:37] local.INFO: Processing buffer {"connection_id":119067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d145e70012cd10c80073a5a40000700f52a..."} 
[2026-07-01 15:19:37] local.INFO: Packet analysis {"connection_id":119067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d14"} 
[2026-07-01 15:19:37] local.INFO: Extracted packet for processing {"connection_id":119067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d14"} 
[2026-07-01 15:19:37] local.INFO: GPS Element Parsed {"raw_longitude":751897728,"raw_latitude":121264704,"longitude_deg":75.1897728,"latitude_deg":12.1264704,"altitude":7,"angle":245,"satellites":42,"speed":34,"hex_longitude":"2cd10c80","hex_latitude":"073a5a40","is_valid_coordinates":true} 
[2026-07-01 15:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422219008001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333526806357344256,"note":"Value kept but may cause issues"} 
[2026-07-01 15:19:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3373477564832512000,"note":"Value kept but may cause issues"} 
[2026-07-01 15:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782899302000,"timestamp_ms":1782899302000,"timestamp_seconds":1782899302,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d145e70"} 
[2026-07-01 15:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 15:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":119067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":119067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":119067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422219008001,"66":27974,"95":206,"85":37632,"24":34,"16":333526806357344256,"44":-3373477564832512000},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,44]} 
[2026-07-01 15:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422219008001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:19:37] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-01 15:19:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333526806357344256,"km_value":333526806357344.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:19:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3373477564832512000,"description":"Unknown IO ID 44"} 
[2026-07-01 15:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422219008001,"power":27974,"unknown_95":206,"unknown_85":37632,"ignition":34,"odometer":null,"unknown_44":-3373477564832512000}} 
[2026-07-01 15:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":119067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:19:37] local.INFO: GPS data processed {"connection_id":119067,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:19:37] local.INFO: Acknowledgment sent {"connection_id":119067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:20:54] local.INFO: TCP Data received {"connection_id":120934,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:20:54] local.INFO: Processing buffer {"connection_id":120934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:20:54] local.INFO: IMEI packet received {"connection_id":120934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 15:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":120934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:20:55] local.INFO: TCP Data received {"connection_id":120934,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:20:55] local.INFO: Processing buffer {"connection_id":120934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:20:55] local.INFO: IMEI packet received {"connection_id":120934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":120934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:20:55] local.INFO: TCP Data received {"connection_id":120934,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:20:55] local.INFO: Processing buffer {"connection_id":120934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:20:55] local.INFO: IMEI packet received {"connection_id":120934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":120934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:20:56] local.INFO: TCP Data received {"connection_id":120934,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:20:56] local.INFO: Processing buffer {"connection_id":120934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:20:56] local.INFO: IMEI packet received {"connection_id":120934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":120934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:21:20] local.INFO: TCP Data received {"connection_id":120935,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 15:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120935,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 15:21:20] local.INFO: Processing buffer {"connection_id":120935,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 15:21:20] local.INFO: IMEI packet received {"connection_id":120935,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 15:21:20] local.INFO: IMEI acknowledgment sent {"connection_id":120935,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:23:57] local.INFO: TCP Data received {"connection_id":119860,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119860,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:23:57] local.INFO: Processing buffer {"connection_id":119860,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:23:57] local.INFO: IMEI packet received {"connection_id":119860,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 15:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":119860,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:23:57] local.INFO: TCP Data received {"connection_id":119860,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d16b030012d79f3c005ecada00015005f21..."} 
[2026-07-01 15:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d16b030012d79f3c005ecada00015005f21..."} 
[2026-07-01 15:23:57] local.INFO: Processing buffer {"connection_id":119860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d16b030012d79f3c005ecada00015005f21..."} 
[2026-07-01 15:23:57] local.INFO: Packet analysis {"connection_id":119860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d16"} 
[2026-07-01 15:23:57] local.INFO: Extracted packet for processing {"connection_id":119860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d16"} 
[2026-07-01 15:23:57] local.INFO: GPS Element Parsed {"raw_longitude":762966976,"raw_latitude":99397024,"longitude_deg":76.2966976,"latitude_deg":9.9397024,"altitude":21,"angle":95,"satellites":33,"speed":0,"hex_longitude":"2d79f3c0","hex_latitude":"05ecada0","is_valid_coordinates":true} 
[2026-07-01 15:23:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:23:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422254848001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:23:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101275865710592000,"note":"Value kept but may cause issues"} 
[2026-07-01 15:23:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787578429608140800,"note":"Value kept but may cause issues"} 
[2026-07-01 15:23:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:23:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782899454000,"timestamp_ms":1782899454000,"timestamp_seconds":1782899454,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d16b030"} 
[2026-07-01 15:23:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:23:57] 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-01 15:23:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-07-01 15:23:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:23:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:23:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:23:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:23:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:23:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119860,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:23:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119860,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:23:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:23:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:23:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:23:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422254848001,"66":13341,"157":206,"87":13824,"24":0,"16":101275865710592000,"45":8787578429608140800},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:23:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:23:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:23:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422254848001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:23:57] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:23:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:23:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101275865710592000,"km_value":101275865710592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:23:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787578429608140800,"description":"Unknown IO ID 45"} 
[2026-07-01 15:23:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422254848001,"power":13341,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8787578429608140800}} 
[2026-07-01 15:23:58] local.INFO: DEBUG: GPS processor result {"connection_id":119860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417556,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:23:58] local.INFO: GPS data processed {"connection_id":119860,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:23:58] local.INFO: Acknowledgment sent {"connection_id":119860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:24:29] local.INFO: TCP Data received {"connection_id":119860,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d170238012d79f3c005ecada00015005f1f..."} 
[2026-07-01 15:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d170238012d79f3c005ecada00015005f1f..."} 
[2026-07-01 15:24:29] local.INFO: Processing buffer {"connection_id":119860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d170238012d79f3c005ecada00015005f1f..."} 
[2026-07-01 15:24:29] local.INFO: Packet analysis {"connection_id":119860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d17"} 
[2026-07-01 15:24:29] local.INFO: Extracted packet for processing {"connection_id":119860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d17"} 
[2026-07-01 15:24:29] local.INFO: GPS Element Parsed {"raw_longitude":762966976,"raw_latitude":99397024,"longitude_deg":76.2966976,"latitude_deg":9.9397024,"altitude":21,"angle":95,"satellites":31,"speed":0,"hex_longitude":"2d79f3c0","hex_latitude":"05ecada0","is_valid_coordinates":true} 
[2026-07-01 15: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-01 15:24:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422260224001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:24:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101275865710592000,"note":"Value kept but may cause issues"} 
[2026-07-01 15:24:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787578429608140800,"note":"Value kept but may cause issues"} 
[2026-07-01 15:24:29] 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-01 15:24:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782899475000,"timestamp_ms":1782899475000,"timestamp_seconds":1782899475,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d170238"} 
[2026-07-01 15: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-01 15:24: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-01 15: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":29,"data_length":795,"current_offset":136} 
[2026-07-01 15:24:29] 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-01 15: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-01 15: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-01 15:24:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:24:29] local.INFO: Teltonika packet parsed successfully {"connection_id":119860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:24:29] local.INFO: Passing IMEI to GPS processor {"connection_id":119860,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:24:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":119860,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:24:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:24:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:24:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:24:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422260224001,"66":13450,"157":206,"87":13824,"24":0,"16":101275865710592000,"45":8787578429608140800},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:24:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:24:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:24:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422260224001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:24:29] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:24:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:24:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101275865710592000,"km_value":101275865710592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:24:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787578429608140800,"description":"Unknown IO ID 45"} 
[2026-07-01 15:24:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422260224001,"power":13450,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8787578429608140800}} 
[2026-07-01 15:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":119860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417557,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:24:29] local.INFO: GPS data processed {"connection_id":119860,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:24:29] local.INFO: Acknowledgment sent {"connection_id":119860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:24:51] local.INFO: TCP Data received {"connection_id":119185,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119185,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:24:51] local.INFO: Processing buffer {"connection_id":119185,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:24:51] local.INFO: IMEI packet received {"connection_id":119185,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 15:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":119185,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:24:57] local.INFO: TCP Data received {"connection_id":119185,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119185,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:24:57] local.INFO: Processing buffer {"connection_id":119185,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:24:57] local.INFO: IMEI packet received {"connection_id":119185,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 15:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":119185,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:24:58] local.INFO: TCP Data received {"connection_id":119185,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d175440012d79f3c005ecada00015005f20..."} 
[2026-07-01 15:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d175440012d79f3c005ecada00015005f20..."} 
[2026-07-01 15:24:58] local.INFO: Processing buffer {"connection_id":119185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d175440012d79f3c005ecada00015005f20..."} 
[2026-07-01 15:24:58] local.INFO: Packet analysis {"connection_id":119185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d17"} 
[2026-07-01 15:24:58] local.INFO: Extracted packet for processing {"connection_id":119185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d17"} 
[2026-07-01 15:24:58] local.INFO: GPS Element Parsed {"raw_longitude":762966976,"raw_latitude":99397024,"longitude_deg":76.2966976,"latitude_deg":9.9397024,"altitude":21,"angle":95,"satellites":32,"speed":0,"hex_longitude":"2d79f3c0","hex_latitude":"05ecada0","is_valid_coordinates":true} 
[2026-07-01 15: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-01 15:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422265600001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:24:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101275865710592000,"note":"Value kept but may cause issues"} 
[2026-07-01 15:24:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787578429608140800,"note":"Value kept but may cause issues"} 
[2026-07-01 15:24:58] 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-01 15:24:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782899496000,"timestamp_ms":1782899496000,"timestamp_seconds":1782899496,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d175440"} 
[2026-07-01 15: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-01 15:24: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-01 15: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":138,"data_length":795,"current_offset":136} 
[2026-07-01 15:24:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15: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-01 15: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-01 15:24:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:24:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:24:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119185,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:24:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119185,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:24:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:24:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:24:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:24:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422265600001,"66":13428,"157":206,"87":13824,"24":0,"16":101275865710592000,"45":8787578429608140800},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:24:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:24:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:24:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422265600001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:24:58] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:24:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:24:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101275865710592000,"km_value":101275865710592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:24:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787578429608140800,"description":"Unknown IO ID 45"} 
[2026-07-01 15:24:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422265600001,"power":13428,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8787578429608140800}} 
[2026-07-01 15:24:58] local.INFO: DEBUG: GPS processor result {"connection_id":119185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417558,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:24:58] local.INFO: GPS data processed {"connection_id":119185,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:24:58] local.INFO: Acknowledgment sent {"connection_id":119185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:25:29] local.INFO: TCP Data received {"connection_id":119185,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d17a648012d79f3c005ecada00015005f20..."} 
[2026-07-01 15:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d17a648012d79f3c005ecada00015005f20..."} 
[2026-07-01 15:25:29] local.INFO: Processing buffer {"connection_id":119185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d17a648012d79f3c005ecada00015005f20..."} 
[2026-07-01 15:25:29] local.INFO: Packet analysis {"connection_id":119185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d17"} 
[2026-07-01 15:25:29] local.INFO: Extracted packet for processing {"connection_id":119185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d17"} 
[2026-07-01 15:25:29] local.INFO: GPS Element Parsed {"raw_longitude":762966976,"raw_latitude":99397024,"longitude_deg":76.2966976,"latitude_deg":9.9397024,"altitude":21,"angle":95,"satellites":32,"speed":0,"hex_longitude":"2d79f3c0","hex_latitude":"05ecada0","is_valid_coordinates":true} 
[2026-07-01 15: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-01 15:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422270976001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101275865710592000,"note":"Value kept but may cause issues"} 
[2026-07-01 15:25:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787578429608140800,"note":"Value kept but may cause issues"} 
[2026-07-01 15:25:29] 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-01 15:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782899517000,"timestamp_ms":1782899517000,"timestamp_seconds":1782899517,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d17a648"} 
[2026-07-01 15: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-01 15:25: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-01 15: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-01 15: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-01 15: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-01 15: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-01 15:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":119185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":119185,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":119185,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:25:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422270976001,"66":13406,"157":206,"87":13824,"24":0,"16":101275865710592000,"45":8787578429608140800},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422270976001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:25:29] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:25:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101275865710592000,"km_value":101275865710592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:25:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787578429608140800,"description":"Unknown IO ID 45"} 
[2026-07-01 15:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422270976001,"power":13406,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8787578429608140800}} 
[2026-07-01 15:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":119185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417559,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:25:29] local.INFO: GPS data processed {"connection_id":119185,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:25:29] local.INFO: Acknowledgment sent {"connection_id":119185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:25:56] local.INFO: TCP Data received {"connection_id":119186,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119186,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:25:56] local.INFO: Processing buffer {"connection_id":119186,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:25:56] local.INFO: IMEI packet received {"connection_id":119186,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 15:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":119186,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:26:00] local.INFO: TCP Data received {"connection_id":119862,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:26:00] local.INFO: Processing buffer {"connection_id":119862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:26:00] local.INFO: IMEI packet received {"connection_id":119862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 15:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":119862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:26:01] local.INFO: TCP Data received {"connection_id":119862,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d19f038012ccfd400073e1900000b01592c..."} 
[2026-07-01 15:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d19f038012ccfd400073e1900000b01592c..."} 
[2026-07-01 15:26:01] local.INFO: Processing buffer {"connection_id":119862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d19f038012ccfd400073e1900000b01592c..."} 
[2026-07-01 15:26:01] local.INFO: Packet analysis {"connection_id":119862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d19"} 
[2026-07-01 15:26:01] local.INFO: Extracted packet for processing {"connection_id":119862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d19"} 
[2026-07-01 15:26:01] local.INFO: GPS Element Parsed {"raw_longitude":751817728,"raw_latitude":121510144,"longitude_deg":75.1817728,"latitude_deg":12.1510144,"altitude":11,"angle":345,"satellites":44,"speed":48,"hex_longitude":"2ccfd400","hex_latitude":"073e1900","is_valid_coordinates":true} 
[2026-07-01 15:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:26:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422312704001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:26:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333541426426019840,"note":"Value kept but may cause issues"} 
[2026-07-01 15:26:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3468967950622101504,"note":"Value kept but may cause issues"} 
[2026-07-01 15:26:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:26:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782899667000,"timestamp_ms":1782899667000,"timestamp_seconds":1782899667,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d19f038"} 
[2026-07-01 15:26:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:26:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-01 15:26: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-01 15:26:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:26:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:26:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:26:01] local.INFO: Teltonika packet parsed successfully {"connection_id":119862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:26:01] local.INFO: Passing IMEI to GPS processor {"connection_id":119862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:26:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":119862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:26:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:26:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:26:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:26:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422312704001,"66":27865,"147":206,"85":37632,"24":48,"16":333541426426019840,"44":-3468967950622101504},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,85,24,16,44]} 
[2026-07-01 15:26:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:26:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:26:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422312704001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:26:01] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-07-01 15:26:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:26:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333541426426019840,"km_value":333541426426019.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:26:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3468967950622101504,"description":"Unknown IO ID 44"} 
[2026-07-01 15:26:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422312704001,"power":27865,"unknown_147":206,"unknown_85":37632,"ignition":48,"odometer":null,"unknown_44":-3468967950622101504}} 
[2026-07-01 15:26:01] local.INFO: DEBUG: GPS processor result {"connection_id":119862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:26:01] local.INFO: GPS data processed {"connection_id":119862,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:26:01] local.INFO: Acknowledgment sent {"connection_id":119862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:26:02] local.INFO: TCP Data received {"connection_id":119186,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119186,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:26:02] local.INFO: Processing buffer {"connection_id":119186,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:26:02] local.INFO: IMEI packet received {"connection_id":119186,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 15:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":119186,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:26:03] local.INFO: TCP Data received {"connection_id":119186,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d17f850012d79f3c005ecada00015005f23..."} 
[2026-07-01 15:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d17f850012d79f3c005ecada00015005f23..."} 
[2026-07-01 15:26:03] local.INFO: Processing buffer {"connection_id":119186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d17f850012d79f3c005ecada00015005f23..."} 
[2026-07-01 15:26:03] local.INFO: Packet analysis {"connection_id":119186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d17"} 
[2026-07-01 15:26:03] local.INFO: Extracted packet for processing {"connection_id":119186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d17"} 
[2026-07-01 15:26:03] local.INFO: GPS Element Parsed {"raw_longitude":762966976,"raw_latitude":99397024,"longitude_deg":76.2966976,"latitude_deg":9.9397024,"altitude":21,"angle":95,"satellites":35,"speed":0,"hex_longitude":"2d79f3c0","hex_latitude":"05ecada0","is_valid_coordinates":true} 
[2026-07-01 15:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422276352001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101275865710592000,"note":"Value kept but may cause issues"} 
[2026-07-01 15:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787578429608140800,"note":"Value kept but may cause issues"} 
[2026-07-01 15:26: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-01 15:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782899538000,"timestamp_ms":1782899538000,"timestamp_seconds":1782899538,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d17f850"} 
[2026-07-01 15:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:26: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-01 15:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-07-01 15:26:03] 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-01 15:26:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":119186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":119186,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":119186,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422276352001,"66":13396,"157":206,"87":13824,"24":0,"16":101275865710592000,"45":8787578429608140800},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422276352001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:26:03] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:26:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101275865710592000,"km_value":101275865710592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787578429608140800,"description":"Unknown IO ID 45"} 
[2026-07-01 15:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422276352001,"power":13396,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8787578429608140800}} 
[2026-07-01 15:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":119186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417561,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:26:03] local.INFO: GPS data processed {"connection_id":119186,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:26:03] local.INFO: Acknowledgment sent {"connection_id":119186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:26:20] local.INFO: TCP Data received {"connection_id":119187,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:26:20] local.INFO: Processing buffer {"connection_id":119187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:26:20] local.INFO: IMEI packet received {"connection_id":119187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 15:26:20] local.INFO: IMEI acknowledgment sent {"connection_id":119187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:26:25] local.INFO: TCP Data received {"connection_id":119187,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:26:25] local.INFO: Processing buffer {"connection_id":119187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:26:25] local.INFO: IMEI packet received {"connection_id":119187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":119187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:26:27] local.INFO: TCP Data received {"connection_id":119187,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d1a0f78012ccfca00073e3b60000b015b2b..."} 
[2026-07-01 15:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d1a0f78012ccfca00073e3b60000b015b2b..."} 
[2026-07-01 15:26:27] local.INFO: Processing buffer {"connection_id":119187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d1a0f78012ccfca00073e3b60000b015b2b..."} 
[2026-07-01 15:26:27] local.INFO: Packet analysis {"connection_id":119187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d1a"} 
[2026-07-01 15:26:27] local.INFO: Extracted packet for processing {"connection_id":119187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d1a"} 
[2026-07-01 15:26:27] local.INFO: GPS Element Parsed {"raw_longitude":751815168,"raw_latitude":121518944,"longitude_deg":75.1815168,"latitude_deg":12.1518944,"altitude":11,"angle":347,"satellites":43,"speed":47,"hex_longitude":"2ccfca00","hex_latitude":"073e3b60","is_valid_coordinates":true} 
[2026-07-01 15:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422314752001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333541873102618624,"note":"Value kept but may cause issues"} 
[2026-07-01 15:26:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3471149381689212928,"note":"Value kept but may cause issues"} 
[2026-07-01 15:26:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782899675000,"timestamp_ms":1782899675000,"timestamp_seconds":1782899675,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d1a0f78"} 
[2026-07-01 15:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:26:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 15:26:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:26:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:26:27] local.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-01 15:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422314752001,"66":27843,"145":206,"85":37632,"24":47,"16":333541873102618624,"44":-3471149381689212928},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,85,24,16,44]} 
[2026-07-01 15:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422314752001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:26:27] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-01 15:26:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333541873102618624,"km_value":333541873102618.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:26:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3471149381689212928,"description":"Unknown IO ID 44"} 
[2026-07-01 15:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422314752001,"power":27843,"unknown_145":206,"unknown_85":37632,"ignition":47,"odometer":null,"unknown_44":-3471149381689212928}} 
[2026-07-01 15:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":119187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:26:27] local.INFO: GPS data processed {"connection_id":119187,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:26:27] local.INFO: Acknowledgment sent {"connection_id":119187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:26:34] local.INFO: TCP Data received {"connection_id":119186,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d184a58012d79f3c005ecada00015005f23..."} 
[2026-07-01 15:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d184a58012d79f3c005ecada00015005f23..."} 
[2026-07-01 15:26:34] local.INFO: Processing buffer {"connection_id":119186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d184a58012d79f3c005ecada00015005f23..."} 
[2026-07-01 15:26:34] local.INFO: Packet analysis {"connection_id":119186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d18"} 
[2026-07-01 15:26:34] local.INFO: Extracted packet for processing {"connection_id":119186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d18"} 
[2026-07-01 15:26:34] local.INFO: GPS Element Parsed {"raw_longitude":762966976,"raw_latitude":99397024,"longitude_deg":76.2966976,"latitude_deg":9.9397024,"altitude":21,"angle":95,"satellites":35,"speed":0,"hex_longitude":"2d79f3c0","hex_latitude":"05ecada0","is_valid_coordinates":true} 
[2026-07-01 15: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-01 15:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422281728001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101275865710592000,"note":"Value kept but may cause issues"} 
[2026-07-01 15:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787578429608140800,"note":"Value kept but may cause issues"} 
[2026-07-01 15:26: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-01 15:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782899559000,"timestamp_ms":1782899559000,"timestamp_seconds":1782899559,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d184a58"} 
[2026-07-01 15: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-01 15:26: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-01 15: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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-07-01 15:26:34] 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-01 15: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-01 15: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-01 15:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":119186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":119186,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":119186,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:26:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422281728001,"66":13341,"157":206,"87":13824,"24":0,"16":101275865710592000,"45":8787578429608140800},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422281728001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:26:34] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:26:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101275865710592000,"km_value":101275865710592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787578429608140800,"description":"Unknown IO ID 45"} 
[2026-07-01 15:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422281728001,"power":13341,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8787578429608140800}} 
[2026-07-01 15:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":119186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417563,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:26:34] local.INFO: GPS data processed {"connection_id":119186,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:26:34] local.INFO: Acknowledgment sent {"connection_id":119186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:26:52] local.INFO: TCP Data received {"connection_id":120938,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120938,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:26:52] local.INFO: Processing buffer {"connection_id":120938,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:26:52] local.INFO: IMEI packet received {"connection_id":120938,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 15:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":120938,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:26:55] local.INFO: TCP Data received {"connection_id":119863,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 15:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119863,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 15:26:55] local.INFO: Processing buffer {"connection_id":119863,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 15:26:55] local.INFO: IMEI packet received {"connection_id":119863,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 15:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":119863,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:26:56] local.INFO: TCP Data received {"connection_id":120938,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120938,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:26:56] local.INFO: Processing buffer {"connection_id":120938,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:26:56] local.INFO: IMEI packet received {"connection_id":120938,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 15:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":120938,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:26:56] local.INFO: TCP Data received {"connection_id":120938,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d189c60012d79f3c005ecada00015005f24..."} 
[2026-07-01 15:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d189c60012d79f3c005ecada00015005f24..."} 
[2026-07-01 15:26:56] local.INFO: Processing buffer {"connection_id":120938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d189c60012d79f3c005ecada00015005f24..."} 
[2026-07-01 15:26:56] local.INFO: Packet analysis {"connection_id":120938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d18"} 
[2026-07-01 15:26:56] local.INFO: Extracted packet for processing {"connection_id":120938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d18"} 
[2026-07-01 15:26:56] local.INFO: GPS Element Parsed {"raw_longitude":762966976,"raw_latitude":99397024,"longitude_deg":76.2966976,"latitude_deg":9.9397024,"altitude":21,"angle":95,"satellites":36,"speed":0,"hex_longitude":"2d79f3c0","hex_latitude":"05ecada0","is_valid_coordinates":true} 
[2026-07-01 15: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-01 15:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422287104001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101275865710592000,"note":"Value kept but may cause issues"} 
[2026-07-01 15:26:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787578429608140800,"note":"Value kept but may cause issues"} 
[2026-07-01 15:26: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-01 15:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782899580000,"timestamp_ms":1782899580000,"timestamp_seconds":1782899580,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d189c60"} 
[2026-07-01 15: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-01 15:26:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-01 15:26:56] 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-01 15: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-01 15: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-01 15:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":120938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":120938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":120938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:26:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422287104001,"66":13374,"157":206,"87":13824,"24":0,"16":101275865710592000,"45":8787578429608140800},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422287104001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:26:56] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:26:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101275865710592000,"km_value":101275865710592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:26:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787578429608140800,"description":"Unknown IO ID 45"} 
[2026-07-01 15:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422287104001,"power":13374,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8787578429608140800}} 
[2026-07-01 15:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":120938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417564,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:26:56] local.INFO: GPS data processed {"connection_id":120938,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:26:56] local.INFO: Acknowledgment sent {"connection_id":120938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:26:57] local.INFO: TCP Data received {"connection_id":120938,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d18ee68012d79f3c005ecada00015005f23..."} 
[2026-07-01 15:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d18ee68012d79f3c005ecada00015005f23..."} 
[2026-07-01 15:26:57] local.INFO: Processing buffer {"connection_id":120938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d18ee68012d79f3c005ecada00015005f23..."} 
[2026-07-01 15:26:57] local.INFO: Packet analysis {"connection_id":120938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d18"} 
[2026-07-01 15:26:57] local.INFO: Extracted packet for processing {"connection_id":120938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d18"} 
[2026-07-01 15:26:57] local.INFO: GPS Element Parsed {"raw_longitude":762966976,"raw_latitude":99397024,"longitude_deg":76.2966976,"latitude_deg":9.9397024,"altitude":21,"angle":95,"satellites":35,"speed":0,"hex_longitude":"2d79f3c0","hex_latitude":"05ecada0","is_valid_coordinates":true} 
[2026-07-01 15:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:26:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422292480001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:26:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101275865710592000,"note":"Value kept but may cause issues"} 
[2026-07-01 15:26:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787578429608140800,"note":"Value kept but may cause issues"} 
[2026-07-01 15:26:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:26:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782899601000,"timestamp_ms":1782899601000,"timestamp_seconds":1782899601,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d18ee68"} 
[2026-07-01 15:26:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:26:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-01 15:26:57] 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-01 15:26:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:26:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:26:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:26:57] local.INFO: Teltonika packet parsed successfully {"connection_id":120938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:26:57] local.INFO: Passing IMEI to GPS processor {"connection_id":120938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:26:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":120938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:26:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:26:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:26:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:26:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422292480001,"66":13396,"157":206,"87":13824,"24":0,"16":101275865710592000,"45":8787578429608140800},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:26:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:26:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:26:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422292480001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:26:57] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:26:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:26:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101275865710592000,"km_value":101275865710592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:26:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787578429608140800,"description":"Unknown IO ID 45"} 
[2026-07-01 15:26:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422292480001,"power":13396,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8787578429608140800}} 
[2026-07-01 15:26:57] local.INFO: DEBUG: GPS processor result {"connection_id":120938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417565,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:26:57] local.INFO: GPS data processed {"connection_id":120938,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:26:57] local.INFO: Acknowledgment sent {"connection_id":120938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:27:00] local.INFO: TCP Data received {"connection_id":120939,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:27:00] local.INFO: Processing buffer {"connection_id":120939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:27:00] local.INFO: IMEI packet received {"connection_id":120939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 15:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":120939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:27:01] local.INFO: TCP Data received {"connection_id":120939,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:27:01] local.INFO: Processing buffer {"connection_id":120939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:27:01] local.INFO: IMEI packet received {"connection_id":120939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":120939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:27:20] local.INFO: TCP Data received {"connection_id":120940,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 15:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120940,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 15:27:20] local.INFO: Processing buffer {"connection_id":120940,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 15:27:20] local.INFO: IMEI packet received {"connection_id":120940,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 15:27:20] local.INFO: IMEI acknowledgment sent {"connection_id":120940,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:27:28] local.INFO: TCP Data received {"connection_id":120938,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d194070012d79f3c005ecada00015005f25..."} 
[2026-07-01 15:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d194070012d79f3c005ecada00015005f25..."} 
[2026-07-01 15:27:28] local.INFO: Processing buffer {"connection_id":120938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d194070012d79f3c005ecada00015005f25..."} 
[2026-07-01 15:27:28] local.INFO: Packet analysis {"connection_id":120938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d19"} 
[2026-07-01 15:27:28] local.INFO: Extracted packet for processing {"connection_id":120938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d19"} 
[2026-07-01 15:27:28] local.INFO: GPS Element Parsed {"raw_longitude":762966976,"raw_latitude":99397024,"longitude_deg":76.2966976,"latitude_deg":9.9397024,"altitude":21,"angle":95,"satellites":37,"speed":0,"hex_longitude":"2d79f3c0","hex_latitude":"05ecada0","is_valid_coordinates":true} 
[2026-07-01 15:27:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:27:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422297856001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:27:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101275865710592000,"note":"Value kept but may cause issues"} 
[2026-07-01 15:27:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787578429608140800,"note":"Value kept but may cause issues"} 
[2026-07-01 15:27:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:27:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782899622000,"timestamp_ms":1782899622000,"timestamp_seconds":1782899622,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d194070"} 
[2026-07-01 15:27:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:27: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-01 15:27:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-07-01 15:27:28] 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-01 15:27:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:27:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:27:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:27:28] local.INFO: Teltonika packet parsed successfully {"connection_id":120938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:27:28] local.INFO: Passing IMEI to GPS processor {"connection_id":120938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:27:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":120938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:27:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:27:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:27:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:27:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422297856001,"66":13537,"157":206,"87":13824,"24":0,"16":101275865710592000,"45":8787578429608140800},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:27:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:27:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:27:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422297856001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:27:28] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:27:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:27:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101275865710592000,"km_value":101275865710592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:27:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787578429608140800,"description":"Unknown IO ID 45"} 
[2026-07-01 15:27:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422297856001,"power":13537,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8787578429608140800}} 
[2026-07-01 15:27:28] local.INFO: DEBUG: GPS processor result {"connection_id":120938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417566,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:27:28] local.INFO: GPS data processed {"connection_id":120938,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:27:28] local.INFO: Acknowledgment sent {"connection_id":120938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:27:30] local.INFO: TCP Data received {"connection_id":119864,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:27:30] local.INFO: Processing buffer {"connection_id":119864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:27:30] local.INFO: IMEI packet received {"connection_id":119864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 15:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":119864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:27:35] local.INFO: TCP Data received {"connection_id":119864,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:27:35] local.INFO: Processing buffer {"connection_id":119864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:27:35] local.INFO: IMEI packet received {"connection_id":119864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":119864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:27:36] local.INFO: TCP Data received {"connection_id":119864,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d1aee20012ccf78c0073f0d18000c014b2b..."} 
[2026-07-01 15:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d1aee20012ccf78c0073f0d18000c014b2b..."} 
[2026-07-01 15:27:36] local.INFO: Processing buffer {"connection_id":119864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d1aee20012ccf78c0073f0d18000c014b2b..."} 
[2026-07-01 15:27:36] local.INFO: Packet analysis {"connection_id":119864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d1a"} 
[2026-07-01 15:27:36] local.INFO: Extracted packet for processing {"connection_id":119864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d1a"} 
[2026-07-01 15:27:36] local.INFO: GPS Element Parsed {"raw_longitude":751794368,"raw_latitude":121572632,"longitude_deg":75.1794368,"latitude_deg":12.1572632,"altitude":12,"angle":331,"satellites":43,"speed":47,"hex_longitude":"2ccf78c0","hex_latitude":"073f0d18","is_valid_coordinates":true} 
[2026-07-01 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-01 15:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422329344001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333544664831361024,"note":"Value kept but may cause issues"} 
[2026-07-01 15:27:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3491837792463443968,"note":"Value kept but may cause issues"} 
[2026-07-01 15:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782899732000,"timestamp_ms":1782899732000,"timestamp_seconds":1782899732,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d1aee20"} 
[2026-07-01 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-01 15:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 15:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 15:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":119864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":119864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":119864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422329344001,"66":27800,"146":206,"85":37632,"24":47,"16":333544664831361024,"44":-3491837792463443968},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,85,24,16,44]} 
[2026-07-01 15:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422329344001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:27:36] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-07-01 15:27:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333544664831361024,"km_value":333544664831361.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:27:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3491837792463443968,"description":"Unknown IO ID 44"} 
[2026-07-01 15:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422329344001,"power":27800,"unknown_146":206,"unknown_85":37632,"ignition":47,"odometer":null,"unknown_44":-3491837792463443968}} 
[2026-07-01 15:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":119864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:27:36] local.INFO: GPS data processed {"connection_id":119864,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:27:36] local.INFO: Acknowledgment sent {"connection_id":119864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:27:52] local.INFO: TCP Data received {"connection_id":120941,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120941,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:27:52] local.INFO: Processing buffer {"connection_id":120941,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:27:52] local.INFO: IMEI packet received {"connection_id":120941,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 15:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":120941,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:27:56] local.INFO: TCP Data received {"connection_id":120941,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120941,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:27:57] local.INFO: Processing buffer {"connection_id":120941,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:27:57] local.INFO: IMEI packet received {"connection_id":120941,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 15:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":120941,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:27:57] local.INFO: TCP Data received {"connection_id":120941,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d196f50012d79f3c005ecada00015005f25..."} 
[2026-07-01 15:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d196f50012d79f3c005ecada00015005f25..."} 
[2026-07-01 15:27:57] local.INFO: Processing buffer {"connection_id":120941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d196f50012d79f3c005ecada00015005f25..."} 
[2026-07-01 15:27:57] local.INFO: Packet analysis {"connection_id":120941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d19"} 
[2026-07-01 15:27:57] local.INFO: Extracted packet for processing {"connection_id":120941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d19"} 
[2026-07-01 15:27:57] local.INFO: GPS Element Parsed {"raw_longitude":762966976,"raw_latitude":99397024,"longitude_deg":76.2966976,"latitude_deg":9.9397024,"altitude":21,"angle":95,"satellites":37,"speed":0,"hex_longitude":"2d79f3c0","hex_latitude":"05ecada0","is_valid_coordinates":true} 
[2026-07-01 15:27:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-01 15:27:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422303232001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:27:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101275865710592000,"note":"Value kept but may cause issues"} 
[2026-07-01 15:27:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787578429608140800,"note":"Value kept but may cause issues"} 
[2026-07-01 15:27:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:27:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782899634000,"timestamp_ms":1782899634000,"timestamp_seconds":1782899634,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d196f50"} 
[2026-07-01 15:27:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:27:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15:27:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-07-01 15:27:57] 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-01 15:27:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:27:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:27:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:27:57] local.INFO: Teltonika packet parsed successfully {"connection_id":120941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:27:57] local.INFO: Passing IMEI to GPS processor {"connection_id":120941,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:27:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":120941,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:27:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:27:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:27:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:27:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422303232001,"66":13374,"157":206,"87":13824,"24":0,"16":101275865710592000,"45":8787578429608140800},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:27:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:27:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:27:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422303232001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:27:57] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:27:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:27:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101275865710592000,"km_value":101275865710592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:27:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787578429608140800,"description":"Unknown IO ID 45"} 
[2026-07-01 15:27:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422303232001,"power":13374,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8787578429608140800}} 
[2026-07-01 15:27:57] local.INFO: DEBUG: GPS processor result {"connection_id":120941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417568,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:27:57] local.INFO: GPS data processed {"connection_id":120941,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:27:57] local.INFO: Acknowledgment sent {"connection_id":120941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:28:20] local.INFO: TCP Data received {"connection_id":119188,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:28:20] local.INFO: Processing buffer {"connection_id":119188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:28:20] local.INFO: IMEI packet received {"connection_id":119188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 15:28:20] local.INFO: IMEI acknowledgment sent {"connection_id":119188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:28:24] local.INFO: TCP Data received {"connection_id":119188,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:28:24] local.INFO: Processing buffer {"connection_id":119188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:28:24] local.INFO: IMEI packet received {"connection_id":119188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":119188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:28:25] local.INFO: TCP Data received {"connection_id":119188,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d1c70d8012ccf01800740e0c0000d01562b..."} 
[2026-07-01 15:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d1c70d8012ccf01800740e0c0000d01562b..."} 
[2026-07-01 15:28:25] local.INFO: Processing buffer {"connection_id":119188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d1c70d8012ccf01800740e0c0000d01562b..."} 
[2026-07-01 15:28:25] local.INFO: Packet analysis {"connection_id":119188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d1c"} 
[2026-07-01 15:28:25] local.INFO: Extracted packet for processing {"connection_id":119188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d1c"} 
[2026-07-01 15:28:25] local.INFO: GPS Element Parsed {"raw_longitude":751763840,"raw_latitude":121692352,"longitude_deg":75.176384,"latitude_deg":12.1692352,"altitude":13,"angle":342,"satellites":43,"speed":55,"hex_longitude":"2ccf0180","hex_latitude":"0740e0c0","is_valid_coordinates":true} 
[2026-07-01 15:28:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:28:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422354944001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:28:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333550669195640832,"note":"Value kept but may cause issues"} 
[2026-07-01 15:28:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3527162902010380288,"note":"Value kept but may cause issues"} 
[2026-07-01 15:28:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:28:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782899831000,"timestamp_ms":1782899831000,"timestamp_seconds":1782899831,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d1c70d8"} 
[2026-07-01 15:28:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:28:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 15:28:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 15:28:25] 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-01 15:28:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:28:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:28:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:28:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:28:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:28:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:28:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:28:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:28:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:28:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422354944001,"66":27821,"28":206,"85":37632,"24":55,"16":333550669195640832,"44":-3527162902010380288},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,44]} 
[2026-07-01 15:28:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:28:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:28:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422354944001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:28:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-01 15:28:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:28:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333550669195640832,"km_value":333550669195640.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:28:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3527162902010380288,"description":"Unknown IO ID 44"} 
[2026-07-01 15:28:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422354944001,"power":27821,"unknown_28":206,"unknown_85":37632,"ignition":55,"odometer":null,"unknown_44":-3527162902010380288}} 
[2026-07-01 15:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":119188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:28:25] local.INFO: GPS data processed {"connection_id":119188,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:28:25] local.INFO: Acknowledgment sent {"connection_id":119188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:28:28] local.INFO: TCP Data received {"connection_id":120941,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d196f50012d79f3c005ecada00015005f25..."} 
[2026-07-01 15:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d196f50012d79f3c005ecada00015005f25..."} 
[2026-07-01 15:28:28] local.INFO: Processing buffer {"connection_id":120941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d196f50012d79f3c005ecada00015005f25..."} 
[2026-07-01 15:28:28] local.INFO: Packet analysis {"connection_id":120941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d19"} 
[2026-07-01 15:28:28] local.INFO: Extracted packet for processing {"connection_id":120941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d19"} 
[2026-07-01 15:28:28] local.INFO: GPS Element Parsed {"raw_longitude":762966976,"raw_latitude":99397024,"longitude_deg":76.2966976,"latitude_deg":9.9397024,"altitude":21,"angle":95,"satellites":37,"speed":0,"hex_longitude":"2d79f3c0","hex_latitude":"05ecada0","is_valid_coordinates":true} 
[2026-07-01 15:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:28:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422306304001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:28:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101275865710592000,"note":"Value kept but may cause issues"} 
[2026-07-01 15:28:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787578429608140800,"note":"Value kept but may cause issues"} 
[2026-07-01 15:28:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:28:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782899634000,"timestamp_ms":1782899634000,"timestamp_seconds":1782899634,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d196f50"} 
[2026-07-01 15:28:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:28:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 15:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-01 15:28: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-01 15:28:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:28:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:28:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:28:28] local.INFO: Teltonika packet parsed successfully {"connection_id":120941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:28:28] local.INFO: Passing IMEI to GPS processor {"connection_id":120941,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:28:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":120941,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:28:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:28:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:28:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:28:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422306304001,"66":13374,"157":206,"87":13824,"24":0,"16":101275865710592000,"45":8787578429608140800},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:28:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:28:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:28:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422306304001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:28:28] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:28:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:28:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101275865710592000,"km_value":101275865710592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:28:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787578429608140800,"description":"Unknown IO ID 45"} 
[2026-07-01 15:28:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422306304001,"power":13374,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8787578429608140800}} 
[2026-07-01 15:28:28] local.INFO: DEBUG: GPS processor result {"connection_id":120941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417570,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:28:28] local.INFO: GPS data processed {"connection_id":120941,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:28:28] local.INFO: Acknowledgment sent {"connection_id":120941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:28:52] local.INFO: TCP Data received {"connection_id":119070,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119070,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:28:52] local.INFO: Processing buffer {"connection_id":119070,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:28:52] local.INFO: IMEI packet received {"connection_id":119070,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 15:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":119070,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:28:56] local.INFO: TCP Data received {"connection_id":119070,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119070,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:28:56] local.INFO: Processing buffer {"connection_id":119070,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:28:56] local.INFO: IMEI packet received {"connection_id":119070,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 15:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":119070,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:28:57] local.INFO: TCP Data received {"connection_id":119070,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d1b8a60012d79f3c005ecad800015005f25..."} 
[2026-07-01 15:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d1b8a60012d79f3c005ecad800015005f25..."} 
[2026-07-01 15:28:57] local.INFO: Processing buffer {"connection_id":119070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d1b8a60012d79f3c005ecad800015005f25..."} 
[2026-07-01 15:28:57] local.INFO: Packet analysis {"connection_id":119070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d1b"} 
[2026-07-01 15:28:57] local.INFO: Extracted packet for processing {"connection_id":119070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d1b"} 
[2026-07-01 15:28:57] local.INFO: GPS Element Parsed {"raw_longitude":762966976,"raw_latitude":99396992,"longitude_deg":76.2966976,"latitude_deg":9.9396992,"altitude":21,"angle":95,"satellites":37,"speed":0,"hex_longitude":"2d79f3c0","hex_latitude":"05ecad80","is_valid_coordinates":true} 
[2026-07-01 15:28:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-01 15:28:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422306304001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:28:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101275865710592000,"note":"Value kept but may cause issues"} 
[2026-07-01 15:28:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8787578429608140800,"note":"Value kept but may cause issues"} 
[2026-07-01 15:28:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:28:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782899772000,"timestamp_ms":1782899772000,"timestamp_seconds":1782899772,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d1b8a60"} 
[2026-07-01 15: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-01 15:28:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 15: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-07-01 15:28:57] 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-01 15: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-01 15: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-01 15:28:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:28:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:28:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:28:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:28:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:28:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:28:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:28:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422306304001,"66":13135,"157":206,"87":13824,"24":0,"16":101275865710592000,"45":8787578429608140800},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:28:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:28:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:28:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422306304001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:28:57] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:28:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:28:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101275865710592000,"km_value":101275865710592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:28:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8787578429608140800,"description":"Unknown IO ID 45"} 
[2026-07-01 15:28:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422306304001,"power":13135,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8787578429608140800}} 
[2026-07-01 15:28:57] local.INFO: DEBUG: GPS processor result {"connection_id":119070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417571,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:28:57] local.INFO: GPS data processed {"connection_id":119070,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:28:57] local.INFO: Acknowledgment sent {"connection_id":119070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:29:07] local.INFO: TCP Data received {"connection_id":119188,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d1c8c30012ccef60007410618000b015729..."} 
[2026-07-01 15:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d1c8c30012ccef60007410618000b015729..."} 
[2026-07-01 15:29:07] local.INFO: Processing buffer {"connection_id":119188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d1c8c30012ccef60007410618000b015729..."} 
[2026-07-01 15:29:07] local.INFO: Packet analysis {"connection_id":119188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d1c"} 
[2026-07-01 15:29:07] local.INFO: Extracted packet for processing {"connection_id":119188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d1c"} 
[2026-07-01 15:29:07] local.INFO: GPS Element Parsed {"raw_longitude":751760896,"raw_latitude":121701912,"longitude_deg":75.1760896,"latitude_deg":12.1701912,"altitude":11,"angle":343,"satellites":41,"speed":56,"hex_longitude":"2ccef600","hex_latitude":"07410618","is_valid_coordinates":true} 
[2026-07-01 15:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422356736001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333551154526945280,"note":"Value kept but may cause issues"} 
[2026-07-01 15:29:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3530399864240160768,"note":"Value kept but may cause issues"} 
[2026-07-01 15:29:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782899838000,"timestamp_ms":1782899838000,"timestamp_seconds":1782899838,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d1c8c30"} 
[2026-07-01 15:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:29:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 15:29:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:29:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":119188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":119188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":119188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:29:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422356736001,"66":27321,"28":206,"85":37632,"24":56,"16":333551154526945280,"44":-3530399864240160768},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,44]} 
[2026-07-01 15:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422356736001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:29:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-01 15:29:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333551154526945280,"km_value":333551154526945.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:29:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3530399864240160768,"description":"Unknown IO ID 44"} 
[2026-07-01 15:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422356736001,"power":27321,"unknown_28":206,"unknown_85":37632,"ignition":56,"odometer":null,"unknown_44":-3530399864240160768}} 
[2026-07-01 15:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":119188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:29:07] local.INFO: GPS data processed {"connection_id":119188,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:29:07] local.INFO: Acknowledgment sent {"connection_id":119188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:29:19] local.INFO: TCP Data received {"connection_id":120942,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:29:19] local.INFO: Processing buffer {"connection_id":120942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:29:19] local.INFO: IMEI packet received {"connection_id":120942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 15:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":120942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:29:20] local.INFO: TCP Data received {"connection_id":120942,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:29:20] local.INFO: Processing buffer {"connection_id":120942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:29:20] local.INFO: IMEI packet received {"connection_id":120942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:29:20] local.INFO: IMEI acknowledgment sent {"connection_id":120942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:29:25] local.INFO: TCP Data received {"connection_id":120942,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:29:25] local.INFO: Processing buffer {"connection_id":120942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:29:25] local.INFO: IMEI packet received {"connection_id":120942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":120942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:29:26] local.INFO: TCP Data received {"connection_id":120942,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d1ca788012cceea0007412b48000a01562c..."} 
[2026-07-01 15:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d1ca788012cceea0007412b48000a01562c..."} 
[2026-07-01 15:29:26] local.INFO: Processing buffer {"connection_id":120942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d1ca788012cceea0007412b48000a01562c..."} 
[2026-07-01 15:29:26] local.INFO: Packet analysis {"connection_id":120942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d1c"} 
[2026-07-01 15:29:26] local.INFO: Extracted packet for processing {"connection_id":120942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d1c"} 
[2026-07-01 15:29:26] local.INFO: GPS Element Parsed {"raw_longitude":751757824,"raw_latitude":121711432,"longitude_deg":75.1757824,"latitude_deg":12.1711432,"altitude":10,"angle":342,"satellites":44,"speed":57,"hex_longitude":"2cceea00","hex_latitude":"07412b48","is_valid_coordinates":true} 
[2026-07-01 15:29:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:29:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422358528001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:29:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333551639858249728,"note":"Value kept but may cause issues"} 
[2026-07-01 15:29:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3533636826469885952,"note":"Value kept but may cause issues"} 
[2026-07-01 15:29:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:29:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782899845000,"timestamp_ms":1782899845000,"timestamp_seconds":1782899845,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d1ca788"} 
[2026-07-01 15:29:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:29:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15:29:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-01 15:29:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:29:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:29:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:29:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:29:26] local.INFO: Teltonika packet parsed successfully {"connection_id":120942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:29:26] local.INFO: Passing IMEI to GPS processor {"connection_id":120942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:29:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":120942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:29:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:29:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:29:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:29:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422358528001,"66":27821,"28":206,"85":37632,"24":57,"16":333551639858249728,"44":-3533636826469885952},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,44]} 
[2026-07-01 15:29:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:29:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:29:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422358528001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:29:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-01 15:29:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:29:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333551639858249728,"km_value":333551639858249.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:29:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3533636826469885952,"description":"Unknown IO ID 44"} 
[2026-07-01 15:29:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422358528001,"power":27821,"unknown_28":206,"unknown_85":37632,"ignition":57,"odometer":null,"unknown_44":-3533636826469885952}} 
[2026-07-01 15:29:26] local.INFO: DEBUG: GPS processor result {"connection_id":120942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:29:26] local.INFO: GPS data processed {"connection_id":120942,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:29:26] local.INFO: Acknowledgment sent {"connection_id":120942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:29:28] local.INFO: TCP Data received {"connection_id":119070,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d1e68c0012d79f70005ecb1a8001100ce24..."} 
[2026-07-01 15:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d1e68c0012d79f70005ecb1a8001100ce24..."} 
[2026-07-01 15:29:28] local.INFO: Processing buffer {"connection_id":119070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d1e68c0012d79f70005ecb1a8001100ce24..."} 
[2026-07-01 15:29:28] local.INFO: Packet analysis {"connection_id":119070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d1e"} 
[2026-07-01 15:29:28] local.INFO: Extracted packet for processing {"connection_id":119070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d1e"} 
[2026-07-01 15:29:28] local.INFO: GPS Element Parsed {"raw_longitude":762967808,"raw_latitude":99398056,"longitude_deg":76.2967808,"latitude_deg":9.9398056,"altitude":17,"angle":206,"satellites":36,"speed":1,"hex_longitude":"2d79f700","hex_latitude":"05ecb1a8","is_valid_coordinates":true} 
[2026-07-01 15:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:29:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422384640001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:29:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101275938725036032,"note":"Value kept but may cause issues"} 
[2026-07-01 15:29:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788282117050187776,"note":"Value kept but may cause issues"} 
[2026-07-01 15:29:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:29:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782899960000,"timestamp_ms":1782899960000,"timestamp_seconds":1782899960,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d1e68c0"} 
[2026-07-01 15:29:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:29:28] 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-01 15:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-07-01 15:29:28] 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-01 15:29:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:29:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:29:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:29:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:29:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:29:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119070,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:29:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:29:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:29:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:29:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422384640001,"66":11624,"157":206,"87":13824,"24":1,"16":101275938725036032,"45":8788282117050187776},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:29:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:29:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:29:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422384640001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:29:28] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:29:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:29:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101275938725036032,"km_value":101275938725036.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:29:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788282117050187776,"description":"Unknown IO ID 45"} 
[2026-07-01 15:29:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422384640001,"power":11624,"unknown_157":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8788282117050187776}} 
[2026-07-01 15:29:28] local.INFO: DEBUG: GPS processor result {"connection_id":119070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417574,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:29:28] local.INFO: GPS data processed {"connection_id":119070,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:29:28] local.INFO: Acknowledgment sent {"connection_id":119070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:29:52] local.INFO: TCP Data received {"connection_id":119189,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119189,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:29:52] local.INFO: Processing buffer {"connection_id":119189,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:29:52] local.INFO: IMEI packet received {"connection_id":119189,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 15:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":119189,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:29:57] local.INFO: TCP Data received {"connection_id":119189,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119189,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:29:57] local.INFO: Processing buffer {"connection_id":119189,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:29:57] local.INFO: IMEI packet received {"connection_id":119189,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 15:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":119189,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:29:57] local.INFO: TCP Data received {"connection_id":120942,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d1e1e88012cce40000742f3e0000c01542c..."} 
[2026-07-01 15:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d1e1e88012cce40000742f3e0000c01542c..."} 
[2026-07-01 15:29:57] local.INFO: Processing buffer {"connection_id":120942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d1e1e88012cce40000742f3e0000c01542c..."} 
[2026-07-01 15:29:57] local.INFO: Packet analysis {"connection_id":120942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d1e"} 
[2026-07-01 15:29:57] local.INFO: Extracted packet for processing {"connection_id":120942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d1e"} 
[2026-07-01 15:29:57] local.INFO: GPS Element Parsed {"raw_longitude":751714304,"raw_latitude":121828320,"longitude_deg":75.1714304,"latitude_deg":12.182832,"altitude":12,"angle":340,"satellites":44,"speed":61,"hex_longitude":"2cce4000","hex_latitude":"0742f3e0","is_valid_coordinates":true} 
[2026-07-01 15:29:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:29:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422383360001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:29:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333557674287300608,"note":"Value kept but may cause issues"} 
[2026-07-01 15:29:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3581417203736328192,"note":"Value kept but may cause issues"} 
[2026-07-01 15:29:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:29:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782899941000,"timestamp_ms":1782899941000,"timestamp_seconds":1782899941,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d1e1e88"} 
[2026-07-01 15:29:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:29:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15:29:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 15:29:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:29:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:29:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:29:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:29:57] local.INFO: Teltonika packet parsed successfully {"connection_id":120942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:29:57] local.INFO: Passing IMEI to GPS processor {"connection_id":120942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:29:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":120942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:29:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:29:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:29:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:29:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422383360001,"66":27800,"143":206,"85":37632,"24":61,"16":333557674287300608,"44":-3581417203736328192},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,85,24,16,44]} 
[2026-07-01 15:29:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:29:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:29:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422383360001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:29:57] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-07-01 15:29:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:29:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333557674287300608,"km_value":333557674287300.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:29:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3581417203736328192,"description":"Unknown IO ID 44"} 
[2026-07-01 15:29:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422383360001,"power":27800,"unknown_143":206,"unknown_85":37632,"ignition":61,"odometer":null,"unknown_44":-3581417203736328192}} 
[2026-07-01 15:29:57] local.INFO: DEBUG: GPS processor result {"connection_id":120942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:29:57] local.INFO: GPS data processed {"connection_id":120942,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:29:57] local.INFO: Acknowledgment sent {"connection_id":120942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:29:58] local.INFO: TCP Data received {"connection_id":119189,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d1e7860012d79f68005ecb0c8001100bd24..."} 
[2026-07-01 15:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d1e7860012d79f68005ecb0c8001100bd24..."} 
[2026-07-01 15:29:58] local.INFO: Processing buffer {"connection_id":119189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d1e7860012d79f68005ecb0c8001100bd24..."} 
[2026-07-01 15:29:58] local.INFO: Packet analysis {"connection_id":119189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d1e"} 
[2026-07-01 15:29:58] local.INFO: Extracted packet for processing {"connection_id":119189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d1e"} 
[2026-07-01 15:29:58] local.INFO: GPS Element Parsed {"raw_longitude":762967680,"raw_latitude":99397832,"longitude_deg":76.296768,"latitude_deg":9.9397832,"altitude":17,"angle":189,"satellites":36,"speed":1,"hex_longitude":"2d79f680","hex_latitude":"05ecb0c8","is_valid_coordinates":true} 
[2026-07-01 15: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-01 15:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422389760001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:29:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101275955904905216,"note":"Value kept but may cause issues"} 
[2026-07-01 15:29:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788493223282714624,"note":"Value kept but may cause issues"} 
[2026-07-01 15:29:58] 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-01 15:29:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782899964000,"timestamp_ms":1782899964000,"timestamp_seconds":1782899964,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d1e7860"} 
[2026-07-01 15: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-01 15:29: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-01 15: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":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-07-01 15:29:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1359,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15: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-01 15: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-01 15:29:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:29:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:29:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119189,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:29:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119189,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:29:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:29:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:29:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:29:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422389760001,"66":11700,"157":206,"87":13824,"24":1,"16":101275955904905216,"45":8788493223282714624},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:29:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:29:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:29:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422389760001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:29:58] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:29:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:29:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101275955904905216,"km_value":101275955904905.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:29:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788493223282714624,"description":"Unknown IO ID 45"} 
[2026-07-01 15:29:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422389760001,"power":11700,"unknown_157":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8788493223282714624}} 
[2026-07-01 15:29:58] local.INFO: DEBUG: GPS processor result {"connection_id":119189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417576,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:29:58] local.INFO: GPS data processed {"connection_id":119189,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:29:58] local.INFO: Acknowledgment sent {"connection_id":119189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:30:20] local.INFO: TCP Data received {"connection_id":119868,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:30:20] local.INFO: Processing buffer {"connection_id":119868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:30:20] local.INFO: IMEI packet received {"connection_id":119868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 15:30:20] local.INFO: IMEI acknowledgment sent {"connection_id":119868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:30:20] local.INFO: TCP Data received {"connection_id":119868,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:30:20] local.INFO: Processing buffer {"connection_id":119868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:30:20] local.INFO: IMEI packet received {"connection_id":119868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:30:20] local.INFO: IMEI acknowledgment sent {"connection_id":119868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:30:25] local.INFO: TCP Data received {"connection_id":119868,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:30:25] local.INFO: Processing buffer {"connection_id":119868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:30:25] local.INFO: IMEI packet received {"connection_id":119868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":119868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:30:27] local.INFO: TCP Data received {"connection_id":119868,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d1e39e0012cce33c007431800000d01592e..."} 
[2026-07-01 15:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d1e39e0012cce33c007431800000d01592e..."} 
[2026-07-01 15:30:27] local.INFO: Processing buffer {"connection_id":119868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d1e39e0012cce33c007431800000d01592e..."} 
[2026-07-01 15:30:27] local.INFO: Packet analysis {"connection_id":119868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d1e"} 
[2026-07-01 15:30:27] local.INFO: Extracted packet for processing {"connection_id":119868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d1e"} 
[2026-07-01 15:30:27] local.INFO: GPS Element Parsed {"raw_longitude":751711168,"raw_latitude":121837568,"longitude_deg":75.1711168,"latitude_deg":12.1837568,"altitude":13,"angle":345,"satellites":46,"speed":45,"hex_longitude":"2cce33c0","hex_latitude":"07431800","is_valid_coordinates":true} 
[2026-07-01 15:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422384896001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333558146733703168,"note":"Value kept but may cause issues"} 
[2026-07-01 15:30:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3584865272198864896,"note":"Value kept but may cause issues"} 
[2026-07-01 15:30:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782899948000,"timestamp_ms":1782899948000,"timestamp_seconds":1782899948,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d1e39e0"} 
[2026-07-01 15:30:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:30:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 15:30:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:30:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:30:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:30:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422384896001,"66":27767,"143":206,"85":37632,"24":45,"16":333558146733703168,"44":-3584865272198864896},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,85,24,16,44]} 
[2026-07-01 15:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422384896001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:30:27] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-07-01 15:30:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333558146733703168,"km_value":333558146733703.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:30:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3584865272198864896,"description":"Unknown IO ID 44"} 
[2026-07-01 15:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422384896001,"power":27767,"unknown_143":206,"unknown_85":37632,"ignition":45,"odometer":null,"unknown_44":-3584865272198864896}} 
[2026-07-01 15:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":119868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:30:27] local.INFO: GPS data processed {"connection_id":119868,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:30:27] local.INFO: Acknowledgment sent {"connection_id":119868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:30:29] local.INFO: TCP Data received {"connection_id":119189,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d1e7c48012d79f64005ecb068001100b124..."} 
[2026-07-01 15:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d1e7c48012d79f64005ecb068001100b124..."} 
[2026-07-01 15:30:29] local.INFO: Processing buffer {"connection_id":119189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d1e7c48012d79f64005ecb068001100b124..."} 
[2026-07-01 15:30:29] local.INFO: Packet analysis {"connection_id":119189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d1e"} 
[2026-07-01 15:30:29] local.INFO: Extracted packet for processing {"connection_id":119189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d1e"} 
[2026-07-01 15:30:29] local.INFO: GPS Element Parsed {"raw_longitude":762967616,"raw_latitude":99397736,"longitude_deg":76.2967616,"latitude_deg":9.9397736,"altitude":17,"angle":177,"satellites":36,"speed":2,"hex_longitude":"2d79f640","hex_latitude":"05ecb068","is_valid_coordinates":true} 
[2026-07-01 15: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-01 15:30:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422390784001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101275960199872512,"note":"Value kept but may cause issues"} 
[2026-07-01 15:30:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788352485794301952,"note":"Value kept but may cause issues"} 
[2026-07-01 15:30:29] 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-01 15:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782899965000,"timestamp_ms":1782899965000,"timestamp_seconds":1782899965,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d1e7c48"} 
[2026-07-01 15: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-01 15:30: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-01 15: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":45,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-01 15:30:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2043,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15: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-01 15: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-01 15:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":119189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":119189,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":119189,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:30:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422390784001,"66":11700,"157":206,"87":13824,"24":2,"16":101275960199872512,"45":8788352485794301952},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422390784001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:30:29] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:30:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101275960199872512,"km_value":101275960199872.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:30:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788352485794301952,"description":"Unknown IO ID 45"} 
[2026-07-01 15:30:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422390784001,"power":11700,"unknown_157":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8788352485794301952}} 
[2026-07-01 15:30:29] local.INFO: DEBUG: GPS processor result {"connection_id":119189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417578,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:30:29] local.INFO: GPS data processed {"connection_id":119189,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:30:29] local.INFO: Acknowledgment sent {"connection_id":119189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:30:51] local.INFO: TCP Data received {"connection_id":120943,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120943,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:30:51] local.INFO: Processing buffer {"connection_id":120943,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:30:51] local.INFO: IMEI packet received {"connection_id":120943,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 15:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":120943,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:30:54] local.INFO: TCP Data received {"connection_id":120943,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120943,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:30:54] local.INFO: Processing buffer {"connection_id":120943,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:30:54] local.INFO: IMEI packet received {"connection_id":120943,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 15:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":120943,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:30:55] local.INFO: TCP Data received {"connection_id":120943,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120943,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:30:55] local.INFO: Processing buffer {"connection_id":120943,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:30:55] local.INFO: IMEI packet received {"connection_id":120943,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 15:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":120943,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:30:56] local.INFO: TCP Data received {"connection_id":120943,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120943,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:30:56] local.INFO: Processing buffer {"connection_id":120943,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:30:56] local.INFO: IMEI packet received {"connection_id":120943,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 15:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":120943,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:30:58] local.INFO: TCP Data received {"connection_id":119868,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d1e5920012cce280007433c20000c01582d..."} 
[2026-07-01 15:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d1e5920012cce280007433c20000c01582d..."} 
[2026-07-01 15:30:58] local.INFO: Processing buffer {"connection_id":119868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d1e5920012cce280007433c20000c01582d..."} 
[2026-07-01 15:30:58] local.INFO: Packet analysis {"connection_id":119868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d1e"} 
[2026-07-01 15:30:58] local.INFO: Extracted packet for processing {"connection_id":119868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d1e"} 
[2026-07-01 15:30:58] local.INFO: GPS Element Parsed {"raw_longitude":751708160,"raw_latitude":121846816,"longitude_deg":75.170816,"latitude_deg":12.1846816,"altitude":12,"angle":344,"satellites":45,"speed":49,"hex_longitude":"2cce2800","hex_latitude":"07433c20","is_valid_coordinates":true} 
[2026-07-01 15:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422386688001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:30:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333558614885138432,"note":"Value kept but may cause issues"} 
[2026-07-01 15:30:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3588313340661202944,"note":"Value kept but may cause issues"} 
[2026-07-01 15:30:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:30:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782899956000,"timestamp_ms":1782899956000,"timestamp_seconds":1782899956,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d1e5920"} 
[2026-07-01 15:30:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:30:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 15:30:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:30:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:30:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:30:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:30:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:30:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:30:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:30:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:30:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:30:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:30:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422386688001,"66":27821,"143":206,"85":37632,"24":49,"16":333558614885138432,"44":-3588313340661202944},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,85,24,16,44]} 
[2026-07-01 15:30:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:30:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:30:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422386688001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:30:58] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-07-01 15:30:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:30:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333558614885138432,"km_value":333558614885138.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:30:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3588313340661202944,"description":"Unknown IO ID 44"} 
[2026-07-01 15:30:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422386688001,"power":27821,"unknown_143":206,"unknown_85":37632,"ignition":49,"odometer":null,"unknown_44":-3588313340661202944}} 
[2026-07-01 15:30:58] local.INFO: DEBUG: GPS processor result {"connection_id":119868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:30:58] local.INFO: GPS data processed {"connection_id":119868,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:30:58] local.INFO: Acknowledgment sent {"connection_id":119868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:31:00] local.INFO: TCP Data received {"connection_id":120943,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d1e97a0012d79f58005ecaeb0001100b524..."} 
[2026-07-01 15:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d1e97a0012d79f58005ecaeb0001100b524..."} 
[2026-07-01 15:31:00] local.INFO: Processing buffer {"connection_id":120943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d1e97a0012d79f58005ecaeb0001100b524..."} 
[2026-07-01 15:31:00] local.INFO: Packet analysis {"connection_id":120943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d1e"} 
[2026-07-01 15:31:00] local.INFO: Extracted packet for processing {"connection_id":120943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d1e"} 
[2026-07-01 15:31:00] local.INFO: GPS Element Parsed {"raw_longitude":762967424,"raw_latitude":99397296,"longitude_deg":76.2967424,"latitude_deg":9.9397296,"altitude":17,"angle":181,"satellites":36,"speed":0,"hex_longitude":"2d79f580","hex_latitude":"05ecaeb0","is_valid_coordinates":true} 
[2026-07-01 15:31: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-01 15:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422391040001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101275985969676288,"note":"Value kept but may cause issues"} 
[2026-07-01 15:31:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788282117050099712,"note":"Value kept but may cause issues"} 
[2026-07-01 15:31:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782899972000,"timestamp_ms":1782899972000,"timestamp_seconds":1782899972,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d1e97a0"} 
[2026-07-01 15:31:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:31:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-01 15:31:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2043,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:31:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:31:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":120943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":120943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":120943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:31:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422391040001,"66":11406,"157":206,"87":13824,"24":0,"16":101275985969676288,"45":8788282117050099712},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422391040001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:31:00] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:31:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101275985969676288,"km_value":101275985969676.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:31:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788282117050099712,"description":"Unknown IO ID 45"} 
[2026-07-01 15:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422391040001,"power":11406,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8788282117050099712}} 
[2026-07-01 15:31:00] local.INFO: DEBUG: GPS processor result {"connection_id":120943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417580,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:31:00] local.INFO: GPS data processed {"connection_id":120943,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:31:00] local.INFO: Acknowledgment sent {"connection_id":120943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:31:20] local.INFO: TCP Data received {"connection_id":119191,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:31:20] local.INFO: Processing buffer {"connection_id":119191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:31:20] local.INFO: IMEI packet received {"connection_id":119191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 15:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":119191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:31:24] local.INFO: TCP Data received {"connection_id":119191,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:31:24] local.INFO: Processing buffer {"connection_id":119191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:31:24] local.INFO: IMEI packet received {"connection_id":119191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:31:24] local.INFO: IMEI acknowledgment sent {"connection_id":119191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:31:25] local.INFO: TCP Data received {"connection_id":119191,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:31:25] local.INFO: Processing buffer {"connection_id":119191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:31:25] local.INFO: IMEI packet received {"connection_id":119191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":119191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:31:26] local.INFO: TCP Data received {"connection_id":119191,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d1f7648012ccde18007442a78000f01252e..."} 
[2026-07-01 15:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d1f7648012ccde18007442a78000f01252e..."} 
[2026-07-01 15:31:26] local.INFO: Processing buffer {"connection_id":119191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d1f7648012ccde18007442a78000f01252e..."} 
[2026-07-01 15:31:26] local.INFO: Packet analysis {"connection_id":119191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d1f"} 
[2026-07-01 15:31:26] local.INFO: Extracted packet for processing {"connection_id":119191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d1f"} 
[2026-07-01 15:31:26] local.INFO: GPS Element Parsed {"raw_longitude":751690112,"raw_latitude":121907832,"longitude_deg":75.1690112,"latitude_deg":12.1907832,"altitude":15,"angle":293,"satellites":46,"speed":14,"hex_longitude":"2ccde180","hex_latitude":"07442a78","is_valid_coordinates":true} 
[2026-07-01 15:31:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422407168001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333561737326362624,"note":"Value kept but may cause issues"} 
[2026-07-01 15:31:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3611112813756821504,"note":"Value kept but may cause issues"} 
[2026-07-01 15:31:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782900029000,"timestamp_ms":1782900029000,"timestamp_seconds":1782900029,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d1f7648"} 
[2026-07-01 15:31:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:31:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15:31:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 15:31:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:31:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:31:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:31:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422407168001,"66":27691,"231":206,"85":37632,"24":14,"16":333561737326362624,"44":-3611112813756821504},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,85,24,16,44]} 
[2026-07-01 15:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422407168001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:31:26] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-01 15:31:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333561737326362624,"km_value":333561737326362.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:31:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3611112813756821504,"description":"Unknown IO ID 44"} 
[2026-07-01 15:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422407168001,"power":27691,"unknown_231":206,"unknown_85":37632,"ignition":14,"odometer":null,"unknown_44":-3611112813756821504}} 
[2026-07-01 15:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":119191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:31:26] local.INFO: GPS data processed {"connection_id":119191,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:31:26] local.INFO: Acknowledgment sent {"connection_id":119191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:31:35] local.INFO: TCP Data received {"connection_id":120943,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d1e97a0012d79f58005ecaeb0001100b524..."} 
[2026-07-01 15:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d1e97a0012d79f58005ecaeb0001100b524..."} 
[2026-07-01 15:31:35] local.INFO: Processing buffer {"connection_id":120943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d1e97a0012d79f58005ecaeb0001100b524..."} 
[2026-07-01 15:31:35] local.INFO: Packet analysis {"connection_id":120943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d1e"} 
[2026-07-01 15:31:35] local.INFO: Extracted packet for processing {"connection_id":120943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d1e"} 
[2026-07-01 15:31:35] local.INFO: GPS Element Parsed {"raw_longitude":762967424,"raw_latitude":99397296,"longitude_deg":76.2967424,"latitude_deg":9.9397296,"altitude":17,"angle":181,"satellites":36,"speed":0,"hex_longitude":"2d79f580","hex_latitude":"05ecaeb0","is_valid_coordinates":true} 
[2026-07-01 15:31: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-01 15:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422392832001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101275985969676288,"note":"Value kept but may cause issues"} 
[2026-07-01 15:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788071010817454080,"note":"Value kept but may cause issues"} 
[2026-07-01 15:31: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-01 15:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782899972000,"timestamp_ms":1782899972000,"timestamp_seconds":1782899972,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d1e97a0"} 
[2026-07-01 15:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:31:35] 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-01 15:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":142,"data_length":795,"current_offset":136} 
[2026-07-01 15:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1696,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:31:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":120943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":120943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":120943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422392832001,"66":11406,"157":206,"87":13824,"24":0,"16":101275985969676288,"45":8788071010817454080},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422392832001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:31:35] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:31:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101275985969676288,"km_value":101275985969676.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788071010817454080,"description":"Unknown IO ID 45"} 
[2026-07-01 15:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422392832001,"power":11406,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8788071010817454080}} 
[2026-07-01 15:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":120943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417582,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:31:35] local.INFO: GPS data processed {"connection_id":120943,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:31:35] local.INFO: Acknowledgment sent {"connection_id":120943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:31:52] local.INFO: TCP Data received {"connection_id":120944,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120944,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:31:52] local.INFO: Processing buffer {"connection_id":120944,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:31:52] local.INFO: IMEI packet received {"connection_id":120944,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 15:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":120944,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:31:52] local.INFO: TCP Data received {"connection_id":120944,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120944,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:31:52] local.INFO: Processing buffer {"connection_id":120944,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:31:52] local.INFO: IMEI packet received {"connection_id":120944,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 15:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":120944,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:31:53] local.INFO: TCP Data received {"connection_id":120944,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120944,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:31:53] local.INFO: Processing buffer {"connection_id":120944,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:31:53] local.INFO: IMEI packet received {"connection_id":120944,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 15:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":120944,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:31:56] local.INFO: TCP Data received {"connection_id":120944,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120944,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:31:56] local.INFO: Processing buffer {"connection_id":120944,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:31:56] local.INFO: IMEI packet received {"connection_id":120944,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 15:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":120944,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:31:57] local.INFO: TCP Data received {"connection_id":120944,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d207818012d79e8c005ecad300011011325..."} 
[2026-07-01 15:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d207818012d79e8c005ecad300011011325..."} 
[2026-07-01 15:31:57] local.INFO: Processing buffer {"connection_id":120944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d207818012d79e8c005ecad300011011325..."} 
[2026-07-01 15:31:57] local.INFO: Packet analysis {"connection_id":120944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d20"} 
[2026-07-01 15:31:57] local.INFO: Extracted packet for processing {"connection_id":120944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d20"} 
[2026-07-01 15:31:57] local.INFO: GPS Element Parsed {"raw_longitude":762964160,"raw_latitude":99396912,"longitude_deg":76.296416,"latitude_deg":9.9396912,"altitude":17,"angle":275,"satellites":37,"speed":3,"hex_longitude":"2d79e8c0","hex_latitude":"05ecad30","is_valid_coordinates":true} 
[2026-07-01 15: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-01 15:31:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422424064001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:31:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101276153473400832,"note":"Value kept but may cause issues"} 
[2026-07-01 15:31:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8784552573608478720,"note":"Value kept but may cause issues"} 
[2026-07-01 15:31:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:31:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782900095000,"timestamp_ms":1782900095000,"timestamp_seconds":1782900095,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d207818"} 
[2026-07-01 15: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-01 15:31:57] 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-01 15: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":44,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-01 15:31:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15: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-01 15: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-01 15:31:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:31:57] local.INFO: Teltonika packet parsed successfully {"connection_id":120944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:31:57] local.INFO: Passing IMEI to GPS processor {"connection_id":120944,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:31:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":120944,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:31:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:31:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:31:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:31:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422424064001,"66":11297,"157":206,"87":13824,"24":3,"16":101276153473400832,"45":8784552573608478720},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:31:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:31:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:31:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422424064001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:31:57] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:31:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:31:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101276153473400832,"km_value":101276153473400.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:31:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8784552573608478720,"description":"Unknown IO ID 45"} 
[2026-07-01 15:31:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422424064001,"power":11297,"unknown_157":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8784552573608478720}} 
[2026-07-01 15:31:57] local.INFO: DEBUG: GPS processor result {"connection_id":120944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417583,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:31:57] local.INFO: GPS data processed {"connection_id":120944,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:31:57] local.INFO: Acknowledgment sent {"connection_id":120944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:31:58] local.INFO: TCP Data received {"connection_id":119191,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d1f7a30012ccde00007442ae0000f011a2e..."} 
[2026-07-01 15:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d1f7a30012ccde00007442ae0000f011a2e..."} 
[2026-07-01 15:31:58] local.INFO: Processing buffer {"connection_id":119191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d1f7a30012ccde00007442ae0000f011a2e..."} 
[2026-07-01 15:31:58] local.INFO: Packet analysis {"connection_id":119191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d1f"} 
[2026-07-01 15:31:58] local.INFO: Extracted packet for processing {"connection_id":119191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d1f"} 
[2026-07-01 15:31:58] local.INFO: GPS Element Parsed {"raw_longitude":751689728,"raw_latitude":121907936,"longitude_deg":75.1689728,"latitude_deg":12.1907936,"altitude":15,"angle":282,"satellites":46,"speed":14,"hex_longitude":"2ccde000","hex_latitude":"07442ae0","is_valid_coordinates":true} 
[2026-07-01 15: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-01 15:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422407424001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333561754506231808,"note":"Value kept but may cause issues"} 
[2026-07-01 15:31:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3611464657477666816,"note":"Value kept but may cause issues"} 
[2026-07-01 15:31:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782900030000,"timestamp_ms":1782900030000,"timestamp_seconds":1782900030,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d1f7a30"} 
[2026-07-01 15: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-01 15:31:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-01 15:31:58] 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-01 15: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-01 15: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-01 15:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:31:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422407424001,"66":27691,"231":206,"85":37632,"24":14,"16":333561754506231808,"44":-3611464657477666816},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,85,24,16,44]} 
[2026-07-01 15:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422407424001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:31:58] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-07-01 15:31:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333561754506231808,"km_value":333561754506231.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:31:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3611464657477666816,"description":"Unknown IO ID 44"} 
[2026-07-01 15:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422407424001,"power":27691,"unknown_231":206,"unknown_85":37632,"ignition":14,"odometer":null,"unknown_44":-3611464657477666816}} 
[2026-07-01 15:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":119191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:31:58] local.INFO: GPS data processed {"connection_id":119191,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:31:58] local.INFO: Acknowledgment sent {"connection_id":119191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:32:20] local.INFO: TCP Data received {"connection_id":120945,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:32:20] local.INFO: Processing buffer {"connection_id":120945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:32:20] local.INFO: IMEI packet received {"connection_id":120945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 15:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":120945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:32:20] local.INFO: TCP Data received {"connection_id":120945,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:32:20] local.INFO: Processing buffer {"connection_id":120945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:32:20] local.INFO: IMEI packet received {"connection_id":120945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":120945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:32:25] local.INFO: TCP Data received {"connection_id":120945,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:32:25] local.INFO: Processing buffer {"connection_id":120945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:32:25] local.INFO: IMEI packet received {"connection_id":120945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":120945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:32:26] local.INFO: TCP Data received {"connection_id":120945,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d2087b8012ccd660007448ee0001601652c..."} 
[2026-07-01 15:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d2087b8012ccd660007448ee0001601652c..."} 
[2026-07-01 15:32:26] local.INFO: Processing buffer {"connection_id":120945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d2087b8012ccd660007448ee0001601652c..."} 
[2026-07-01 15:32:26] local.INFO: Packet analysis {"connection_id":120945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d20"} 
[2026-07-01 15:32:26] local.INFO: Extracted packet for processing {"connection_id":120945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d20"} 
[2026-07-01 15:32:26] local.INFO: GPS Element Parsed {"raw_longitude":751658496,"raw_latitude":121933536,"longitude_deg":75.1658496,"latitude_deg":12.1933536,"altitude":22,"angle":357,"satellites":44,"speed":19,"hex_longitude":"2ccd6600","hex_latitude":"07448ee0","is_valid_coordinates":true} 
[2026-07-01 15:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:32:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422424576001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:32:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333563949234520064,"note":"Value kept but may cause issues"} 
[2026-07-01 15:32:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3646508292071882752,"note":"Value kept but may cause issues"} 
[2026-07-01 15:32:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:32:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782900099000,"timestamp_ms":1782900099000,"timestamp_seconds":1782900099,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d2087b8"} 
[2026-07-01 15:32:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:32:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 15:32:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:32:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:32:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:32:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:32:26] local.INFO: Teltonika packet parsed successfully {"connection_id":120945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:32:26] local.INFO: Passing IMEI to GPS processor {"connection_id":120945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:32:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":120945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:32:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:32:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:32:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:32:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422424576001,"66":27821,"237":206,"85":37632,"24":19,"16":333563949234520064,"44":-3646508292071882752},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,44]} 
[2026-07-01 15:32:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:32:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:32:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422424576001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:32:26] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-07-01 15:32:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:32:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333563949234520064,"km_value":333563949234520.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:32:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3646508292071882752,"description":"Unknown IO ID 44"} 
[2026-07-01 15:32:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422424576001,"power":27821,"unknown_237":206,"unknown_85":37632,"ignition":19,"odometer":null,"unknown_44":-3646508292071882752}} 
[2026-07-01 15:32:26] local.INFO: DEBUG: GPS processor result {"connection_id":120945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:32:26] local.INFO: GPS data processed {"connection_id":120945,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:32:26] local.INFO: Acknowledgment sent {"connection_id":120945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:32:29] local.INFO: TCP Data received {"connection_id":120944,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d207c00012d79e84005ecacd8001100fc25..."} 
[2026-07-01 15:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d207c00012d79e84005ecacd8001100fc25..."} 
[2026-07-01 15:32:29] local.INFO: Processing buffer {"connection_id":120944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d207c00012d79e84005ecacd8001100fc25..."} 
[2026-07-01 15:32:29] local.INFO: Packet analysis {"connection_id":120944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d20"} 
[2026-07-01 15:32:29] local.INFO: Extracted packet for processing {"connection_id":120944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d20"} 
[2026-07-01 15:32:29] local.INFO: GPS Element Parsed {"raw_longitude":762964032,"raw_latitude":99396824,"longitude_deg":76.2964032,"latitude_deg":9.9396824,"altitude":17,"angle":252,"satellites":37,"speed":4,"hex_longitude":"2d79e840","hex_latitude":"05ecacd8","is_valid_coordinates":true} 
[2026-07-01 15: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-01 15:32:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422424320001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101276162063335424,"note":"Value kept but may cause issues"} 
[2026-07-01 15:32:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8784482204864294912,"note":"Value kept but may cause issues"} 
[2026-07-01 15:32:29] 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-01 15:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782900096000,"timestamp_ms":1782900096000,"timestamp_seconds":1782900096,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d207c00"} 
[2026-07-01 15: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-01 15:32: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-01 15: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":44,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-01 15:32:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15: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-01 15: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-01 15:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":120944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":120944,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":120944,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:32:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:32:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422424320001,"66":11308,"157":206,"87":13824,"24":4,"16":101276162063335424,"45":8784482204864294912},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:32:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:32:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:32:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422424320001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:32:29] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:32:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:32:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101276162063335424,"km_value":101276162063335.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:32:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8784482204864294912,"description":"Unknown IO ID 45"} 
[2026-07-01 15:32:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422424320001,"power":11308,"unknown_157":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8784482204864294912}} 
[2026-07-01 15:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":120944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417586,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:32:29] local.INFO: GPS data processed {"connection_id":120944,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:32:29] local.INFO: Acknowledgment sent {"connection_id":120944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:32:52] local.INFO: TCP Data received {"connection_id":119869,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 15:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119869,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 15:32:52] local.INFO: Processing buffer {"connection_id":119869,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 15:32:52] local.INFO: IMEI packet received {"connection_id":119869,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 15:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":119869,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:32:54] local.INFO: TCP Data received {"connection_id":119192,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119192,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:32:54] local.INFO: Processing buffer {"connection_id":119192,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:32:54] local.INFO: IMEI packet received {"connection_id":119192,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 15:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":119192,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:32:57] local.INFO: TCP Data received {"connection_id":119192,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119192,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:32:57] local.INFO: Processing buffer {"connection_id":119192,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:32:57] local.INFO: IMEI packet received {"connection_id":119192,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 15:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":119192,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:32:57] local.INFO: TCP Data received {"connection_id":120945,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d208ba0012ccd65c0074490d8001601592c..."} 
[2026-07-01 15:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d208ba0012ccd65c0074490d8001601592c..."} 
[2026-07-01 15:32:57] local.INFO: Processing buffer {"connection_id":120945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d208ba0012ccd65c0074490d8001601592c..."} 
[2026-07-01 15:32:57] local.INFO: Packet analysis {"connection_id":120945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d20"} 
[2026-07-01 15:32:57] local.INFO: Extracted packet for processing {"connection_id":120945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d20"} 
[2026-07-01 15:32:57] local.INFO: GPS Element Parsed {"raw_longitude":751658432,"raw_latitude":121934040,"longitude_deg":75.1658432,"latitude_deg":12.193404,"altitude":22,"angle":345,"satellites":44,"speed":21,"hex_longitude":"2ccd65c0","hex_latitude":"074490d8","is_valid_coordinates":true} 
[2026-07-01 15:32: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-01 15:32:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422425344001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:32:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333563975004323840,"note":"Value kept but may cause issues"} 
[2026-07-01 15:32:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3646226817094852608,"note":"Value kept but may cause issues"} 
[2026-07-01 15:32:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:32:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782900100000,"timestamp_ms":1782900100000,"timestamp_seconds":1782900100,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d208ba0"} 
[2026-07-01 15:32:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:32:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 15:32:57] 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-01 15:32: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-01 15:32:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:32:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:32:57] local.INFO: Teltonika packet parsed successfully {"connection_id":120945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:32:57] local.INFO: Passing IMEI to GPS processor {"connection_id":120945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:32:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":120945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:32:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:32:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:32:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:32:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422425344001,"66":27821,"237":206,"85":37632,"24":21,"16":333563975004323840,"44":-3646226817094852608},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,44]} 
[2026-07-01 15:32:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:32:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:32:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422425344001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:32:57] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-07-01 15:32:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:32:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333563975004323840,"km_value":333563975004323.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:32:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3646226817094852608,"description":"Unknown IO ID 44"} 
[2026-07-01 15:32:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422425344001,"power":27821,"unknown_237":206,"unknown_85":37632,"ignition":21,"odometer":null,"unknown_44":-3646226817094852608}} 
[2026-07-01 15:32:57] local.INFO: DEBUG: GPS processor result {"connection_id":120945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:32:57] local.INFO: GPS data processed {"connection_id":120945,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:32:57] local.INFO: Acknowledgment sent {"connection_id":120945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:33:02] local.INFO: TCP Data received {"connection_id":119192,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119192,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:33:02] local.INFO: Processing buffer {"connection_id":119192,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:33:02] local.INFO: IMEI packet received {"connection_id":119192,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 15:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":119192,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:33:02] local.INFO: TCP Data received {"connection_id":119192,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d2083d0012d79e70005ecac58001100ee25..."} 
[2026-07-01 15:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d2083d0012d79e70005ecac58001100ee25..."} 
[2026-07-01 15:33:02] local.INFO: Processing buffer {"connection_id":119192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d2083d0012d79e70005ecac58001100ee25..."} 
[2026-07-01 15:33:02] local.INFO: Packet analysis {"connection_id":119192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d20"} 
[2026-07-01 15:33:02] local.INFO: Extracted packet for processing {"connection_id":119192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d20"} 
[2026-07-01 15:33:02] local.INFO: GPS Element Parsed {"raw_longitude":762963712,"raw_latitude":99396696,"longitude_deg":76.2963712,"latitude_deg":9.9396696,"altitude":17,"angle":238,"satellites":37,"speed":4,"hex_longitude":"2d79e700","hex_latitude":"05ecac58","is_valid_coordinates":true} 
[2026-07-01 15:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422424576001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101276174948237312,"note":"Value kept but may cause issues"} 
[2026-07-01 15:33:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8784341467375917056,"note":"Value kept but may cause issues"} 
[2026-07-01 15:33: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-01 15:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782900098000,"timestamp_ms":1782900098000,"timestamp_seconds":1782900098,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d2083d0"} 
[2026-07-01 15:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:33: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-01 15:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-07-01 15:33:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":814,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:33:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":119192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":119192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":119192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:33:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422424576001,"66":11406,"157":206,"87":13824,"24":4,"16":101276174948237312,"45":8784341467375917056},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422424576001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:33:02] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:33:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101276174948237312,"km_value":101276174948237.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:33:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8784341467375917056,"description":"Unknown IO ID 45"} 
[2026-07-01 15:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422424576001,"power":11406,"unknown_157":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8784341467375917056}} 
[2026-07-01 15:33:02] local.INFO: DEBUG: GPS processor result {"connection_id":119192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417588,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:33:02] local.INFO: GPS data processed {"connection_id":119192,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:33:02] local.INFO: Acknowledgment sent {"connection_id":119192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:33:03] local.INFO: TCP Data received {"connection_id":119192,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d208ba0012d79e68005ecabe8001100de25..."} 
[2026-07-01 15:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d208ba0012d79e68005ecabe8001100de25..."} 
[2026-07-01 15:33:03] local.INFO: Processing buffer {"connection_id":119192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d208ba0012d79e68005ecabe8001100de25..."} 
[2026-07-01 15:33:03] local.INFO: Packet analysis {"connection_id":119192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d20"} 
[2026-07-01 15:33:03] local.INFO: Extracted packet for processing {"connection_id":119192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d20"} 
[2026-07-01 15:33:03] local.INFO: GPS Element Parsed {"raw_longitude":762963584,"raw_latitude":99396584,"longitude_deg":76.2963584,"latitude_deg":9.9396584,"altitude":17,"angle":222,"satellites":37,"speed":1,"hex_longitude":"2d79e680","hex_latitude":"05ecabe8","is_valid_coordinates":true} 
[2026-07-01 15:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422425088001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101276183538171904,"note":"Value kept but may cause issues"} 
[2026-07-01 15:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8783989623654995968,"note":"Value kept but may cause issues"} 
[2026-07-01 15:33: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-01 15:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782900100000,"timestamp_ms":1782900100000,"timestamp_seconds":1782900100,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d208ba0"} 
[2026-07-01 15:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:33: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-01 15:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":142,"data_length":795,"current_offset":136} 
[2026-07-01 15:33:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1696,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":119192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":119192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":119192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422425088001,"66":11352,"157":206,"87":13824,"24":1,"16":101276183538171904,"45":8783989623654995968},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422425088001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:33:03] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:33:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101276183538171904,"km_value":101276183538171.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8783989623654995968,"description":"Unknown IO ID 45"} 
[2026-07-01 15:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422425088001,"power":11352,"unknown_157":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8783989623654995968}} 
[2026-07-01 15:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":119192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417589,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:33:03] local.INFO: GPS data processed {"connection_id":119192,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:33:03] local.INFO: Acknowledgment sent {"connection_id":119192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:33:19] local.INFO: TCP Data received {"connection_id":120946,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 15:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120946,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 15:33:19] local.INFO: Processing buffer {"connection_id":120946,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 15:33:19] local.INFO: IMEI packet received {"connection_id":120946,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 15:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":120946,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:33:26] local.INFO: TCP Data received {"connection_id":119193,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:33:26] local.INFO: Processing buffer {"connection_id":119193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:33:26] local.INFO: IMEI packet received {"connection_id":119193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 15:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":119193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:33:26] local.INFO: TCP Data received {"connection_id":119193,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:33:26] local.INFO: Processing buffer {"connection_id":119193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:33:26] local.INFO: IMEI packet received {"connection_id":119193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":119193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:33:30] local.INFO: TCP Data received {"connection_id":119193,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:33:30] local.INFO: Processing buffer {"connection_id":119193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:33:30] local.INFO: IMEI packet received {"connection_id":119193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":119193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:33:31] local.INFO: TCP Data received {"connection_id":119193,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d209370012ccd6440074495100016014d2e..."} 
[2026-07-01 15:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d209370012ccd6440074495100016014d2e..."} 
[2026-07-01 15:33:31] local.INFO: Processing buffer {"connection_id":119193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d209370012ccd6440074495100016014d2e..."} 
[2026-07-01 15:33:31] local.INFO: Packet analysis {"connection_id":119193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d20"} 
[2026-07-01 15:33:31] local.INFO: Extracted packet for processing {"connection_id":119193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d20"} 
[2026-07-01 15:33:31] local.INFO: GPS Element Parsed {"raw_longitude":751658048,"raw_latitude":121935120,"longitude_deg":75.1658048,"latitude_deg":12.193512,"altitude":22,"angle":333,"satellites":46,"speed":24,"hex_longitude":"2ccd6440","hex_latitude":"07449510","is_valid_coordinates":true} 
[2026-07-01 15:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422425600001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333564030838898688,"note":"Value kept but may cause issues"} 
[2026-07-01 15:33:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3646297185838901248,"note":"Value kept but may cause issues"} 
[2026-07-01 15:33:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782900102000,"timestamp_ms":1782900102000,"timestamp_seconds":1782900102,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d209370"} 
[2026-07-01 15:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:33:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 15:33:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:33:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:33:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422425600001,"66":27821,"237":206,"85":37632,"24":24,"16":333564030838898688,"44":-3646297185838901248},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,44]} 
[2026-07-01 15:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422425600001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:33:31] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-07-01 15:33:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333564030838898688,"km_value":333564030838898.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:33:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3646297185838901248,"description":"Unknown IO ID 44"} 
[2026-07-01 15:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422425600001,"power":27821,"unknown_237":206,"unknown_85":37632,"ignition":24,"odometer":null,"unknown_44":-3646297185838901248}} 
[2026-07-01 15:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":119193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:33:31] local.INFO: GPS data processed {"connection_id":119193,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:33:31] local.INFO: Acknowledgment sent {"connection_id":119193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:33:33] local.INFO: TCP Data received {"connection_id":119193,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d20c638012ccd50800744b518001601452d..."} 
[2026-07-01 15:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d20c638012ccd50800744b518001601452d..."} 
[2026-07-01 15:33:33] local.INFO: Processing buffer {"connection_id":119193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d20c638012ccd50800744b518001601452d..."} 
[2026-07-01 15:33:33] local.INFO: Packet analysis {"connection_id":119193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d20"} 
[2026-07-01 15:33:33] local.INFO: Extracted packet for processing {"connection_id":119193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d20"} 
[2026-07-01 15:33:33] local.INFO: GPS Element Parsed {"raw_longitude":751652992,"raw_latitude":121943320,"longitude_deg":75.1652992,"latitude_deg":12.194332,"altitude":22,"angle":325,"satellites":45,"speed":35,"hex_longitude":"2ccd5080","hex_latitude":"0744b518","is_valid_coordinates":true} 
[2026-07-01 15:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422426112001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333564494695366656,"note":"Value kept but may cause issues"} 
[2026-07-01 15:33:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3646719398303690752,"note":"Value kept but may cause issues"} 
[2026-07-01 15:33:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782900115000,"timestamp_ms":1782900115000,"timestamp_seconds":1782900115,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d20c638"} 
[2026-07-01 15:33:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:33: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-01 15:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 15:33:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:33:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:33:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":119193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":119193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":119193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:33:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422426112001,"66":27919,"237":206,"85":37632,"24":35,"16":333564494695366656,"44":-3646719398303690752},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,44]} 
[2026-07-01 15:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422426112001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:33:33] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-07-01 15:33:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333564494695366656,"km_value":333564494695366.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:33:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3646719398303690752,"description":"Unknown IO ID 44"} 
[2026-07-01 15:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422426112001,"power":27919,"unknown_237":206,"unknown_85":37632,"ignition":35,"odometer":null,"unknown_44":-3646719398303690752}} 
[2026-07-01 15:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":119193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:33:33] local.INFO: GPS data processed {"connection_id":119193,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:33:33] local.INFO: Acknowledgment sent {"connection_id":119193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:33:34] local.INFO: TCP Data received {"connection_id":119192,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d21df78012d7a1a8005ec84000011011724..."} 
[2026-07-01 15:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d21df78012d7a1a8005ec84000011011724..."} 
[2026-07-01 15:33:34] local.INFO: Processing buffer {"connection_id":119192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d21df78012d7a1a8005ec84000011011724..."} 
[2026-07-01 15:33:34] local.INFO: Packet analysis {"connection_id":119192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d21"} 
[2026-07-01 15:33:34] local.INFO: Extracted packet for processing {"connection_id":119192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d21"} 
[2026-07-01 15:33:34] local.INFO: GPS Element Parsed {"raw_longitude":762976896,"raw_latitude":99386368,"longitude_deg":76.2976896,"latitude_deg":9.9386368,"altitude":17,"angle":279,"satellites":36,"speed":7,"hex_longitude":"2d7a1a80","hex_latitude":"05ec8400","is_valid_coordinates":true} 
[2026-07-01 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-01 15:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422447616001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101277381834047488,"note":"Value kept but may cause issues"} 
[2026-07-01 15:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798696691185473536,"note":"Value kept but may cause issues"} 
[2026-07-01 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-01 15:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782900187000,"timestamp_ms":1782900187000,"timestamp_seconds":1782900187,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d21df78"} 
[2026-07-01 15: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-01 15:33: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-01 15: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":44,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-01 15:33:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15: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-01 15: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-01 15:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":119192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":119192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":119192,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422447616001,"66":11297,"157":206,"87":13824,"24":7,"16":101277381834047488,"45":8798696691185473536},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422447616001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:33:34] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:33:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101277381834047488,"km_value":101277381834047.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798696691185473536,"description":"Unknown IO ID 45"} 
[2026-07-01 15:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422447616001,"power":11297,"unknown_157":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8798696691185473536}} 
[2026-07-01 15:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":119192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417592,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:33:34] local.INFO: GPS data processed {"connection_id":119192,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:33:34] local.INFO: Acknowledgment sent {"connection_id":119192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:33:52] local.INFO: TCP Data received {"connection_id":119870,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119870,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:33:52] local.INFO: Processing buffer {"connection_id":119870,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:33:52] local.INFO: IMEI packet received {"connection_id":119870,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 15:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":119870,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:33:57] local.INFO: TCP Data received {"connection_id":119870,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119870,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:33:57] local.INFO: Processing buffer {"connection_id":119870,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:33:57] local.INFO: IMEI packet received {"connection_id":119870,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 15:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":119870,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:33:58] local.INFO: TCP Data received {"connection_id":119870,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d21e360012d7a1a0005ec83c8001000f725..."} 
[2026-07-01 15:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d21e360012d7a1a0005ec83c8001000f725..."} 
[2026-07-01 15:33:58] local.INFO: Processing buffer {"connection_id":119870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d21e360012d7a1a0005ec83c8001000f725..."} 
[2026-07-01 15:33:58] local.INFO: Packet analysis {"connection_id":119870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d21"} 
[2026-07-01 15:33:58] local.INFO: Extracted packet for processing {"connection_id":119870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d21"} 
[2026-07-01 15:33:58] local.INFO: GPS Element Parsed {"raw_longitude":762976768,"raw_latitude":99386312,"longitude_deg":76.2976768,"latitude_deg":9.9386312,"altitude":16,"angle":247,"satellites":37,"speed":7,"hex_longitude":"2d7a1a00","hex_latitude":"05ec83c8","is_valid_coordinates":true} 
[2026-07-01 15:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422447872001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101277390423982080,"note":"Value kept but may cause issues"} 
[2026-07-01 15:33:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798485584952950784,"note":"Value kept but may cause issues"} 
[2026-07-01 15:33:58] 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-01 15:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782900188000,"timestamp_ms":1782900188000,"timestamp_seconds":1782900188,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d21e360"} 
[2026-07-01 15:33:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:33:58] 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-01 15:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-01 15:33:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:33:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:33:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119870,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119870,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:33:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422447872001,"66":11547,"157":206,"87":13824,"24":7,"16":101277390423982080,"45":8798485584952950784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422447872001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:33:58] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:33:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101277390423982080,"km_value":101277390423982.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:33:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798485584952950784,"description":"Unknown IO ID 45"} 
[2026-07-01 15:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422447872001,"power":11547,"unknown_157":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8798485584952950784}} 
[2026-07-01 15:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":119870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417593,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:33:58] local.INFO: GPS data processed {"connection_id":119870,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:33:58] local.INFO: Acknowledgment sent {"connection_id":119870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:34:04] local.INFO: TCP Data received {"connection_id":119193,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d20e960012ccd3d800744d4580017014d2f..."} 
[2026-07-01 15:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d20e960012ccd3d800744d4580017014d2f..."} 
[2026-07-01 15:34:04] local.INFO: Processing buffer {"connection_id":119193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d20e960012ccd3d800744d4580017014d2f..."} 
[2026-07-01 15:34:04] local.INFO: Packet analysis {"connection_id":119193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d20"} 
[2026-07-01 15:34:04] local.INFO: Extracted packet for processing {"connection_id":119193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d20"} 
[2026-07-01 15:34:04] local.INFO: GPS Element Parsed {"raw_longitude":751648128,"raw_latitude":121951320,"longitude_deg":75.1648128,"latitude_deg":12.195132,"altitude":23,"angle":333,"satellites":47,"speed":44,"hex_longitude":"2ccd3d80","hex_latitude":"0744d458","is_valid_coordinates":true} 
[2026-07-01 15: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-01 15:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422429440001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333564945666932736,"note":"Value kept but may cause issues"} 
[2026-07-01 15:34:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3652278529091627008,"note":"Value kept but may cause issues"} 
[2026-07-01 15:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782900124000,"timestamp_ms":1782900124000,"timestamp_seconds":1782900124,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d20e960"} 
[2026-07-01 15: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-01 15:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 15:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:34:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15: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-01 15:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":119193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":119193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":119193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422429440001,"66":27789,"237":206,"85":37632,"24":44,"16":333564945666932736,"44":-3652278529091627008},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,44]} 
[2026-07-01 15:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422429440001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:34:04] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-07-01 15:34:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333564945666932736,"km_value":333564945666932.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:34:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3652278529091627008,"description":"Unknown IO ID 44"} 
[2026-07-01 15:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422429440001,"power":27789,"unknown_237":206,"unknown_85":37632,"ignition":44,"odometer":null,"unknown_44":-3652278529091627008}} 
[2026-07-01 15:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":119193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:34:04] local.INFO: GPS data processed {"connection_id":119193,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:34:04] local.INFO: Acknowledgment sent {"connection_id":119193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:34:20] local.INFO: TCP Data received {"connection_id":119071,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:34:20] local.INFO: Processing buffer {"connection_id":119071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:34:20] local.INFO: IMEI packet received {"connection_id":119071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 15:34:20] local.INFO: IMEI acknowledgment sent {"connection_id":119071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:34:21] local.INFO: TCP Data received {"connection_id":119071,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:34:21] local.INFO: Processing buffer {"connection_id":119071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:34:21] local.INFO: IMEI packet received {"connection_id":119071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":119071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:34:25] local.INFO: TCP Data received {"connection_id":119071,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:34:25] local.INFO: Processing buffer {"connection_id":119071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:34:25] local.INFO: IMEI packet received {"connection_id":119071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":119071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:34:26] local.INFO: TCP Data received {"connection_id":119071,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d223180012cccc58007462cb00019014c2b..."} 
[2026-07-01 15:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d223180012cccc58007462cb00019014c2b..."} 
[2026-07-01 15:34:26] local.INFO: Processing buffer {"connection_id":119071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d223180012cccc58007462cb00019014c2b..."} 
[2026-07-01 15:34:26] local.INFO: Packet analysis {"connection_id":119071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d22"} 
[2026-07-01 15:34:26] local.INFO: Extracted packet for processing {"connection_id":119071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d22"} 
[2026-07-01 15:34:26] local.INFO: GPS Element Parsed {"raw_longitude":751617408,"raw_latitude":122039472,"longitude_deg":75.1617408,"latitude_deg":12.2039472,"altitude":25,"angle":332,"satellites":43,"speed":38,"hex_longitude":"2cccc580","hex_latitude":"07462cb0","is_valid_coordinates":true} 
[2026-07-01 15:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:34:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422451200001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:34:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333569481152397312,"note":"Value kept but may cause issues"} 
[2026-07-01 15:34:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3688025851110948864,"note":"Value kept but may cause issues"} 
[2026-07-01 15:34:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:34:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782900208000,"timestamp_ms":1782900208000,"timestamp_seconds":1782900208,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d223180"} 
[2026-07-01 15:34:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:34: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-01 15:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 15:34:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:34:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:34:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:34:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:34:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:34:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:34:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:34:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:34:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:34:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:34:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422451200001,"66":27767,"74":206,"85":37632,"24":38,"16":333569481152397312,"44":-3688025851110948864},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,85,24,16,44]} 
[2026-07-01 15:34:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:34:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:34:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422451200001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:34:26] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-07-01 15:34:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:34:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333569481152397312,"km_value":333569481152397.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:34:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3688025851110948864,"description":"Unknown IO ID 44"} 
[2026-07-01 15:34:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422451200001,"power":27767,"unknown_74":206,"unknown_85":37632,"ignition":38,"odometer":null,"unknown_44":-3688025851110948864}} 
[2026-07-01 15:34:26] local.INFO: DEBUG: GPS processor result {"connection_id":119071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:34:26] local.INFO: GPS data processed {"connection_id":119071,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:34:26] local.INFO: Acknowledgment sent {"connection_id":119071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:34:27] local.INFO: TCP Data received {"connection_id":119071,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d225890012cccb08007464b00001b01422c..."} 
[2026-07-01 15:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d225890012cccb08007464b00001b01422c..."} 
[2026-07-01 15:34:27] local.INFO: Processing buffer {"connection_id":119071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d225890012cccb08007464b00001b01422c..."} 
[2026-07-01 15:34:27] local.INFO: Packet analysis {"connection_id":119071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d22"} 
[2026-07-01 15:34:27] local.INFO: Extracted packet for processing {"connection_id":119071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d22"} 
[2026-07-01 15:34:27] local.INFO: GPS Element Parsed {"raw_longitude":751612032,"raw_latitude":122047232,"longitude_deg":75.1612032,"latitude_deg":12.2047232,"altitude":27,"angle":322,"satellites":44,"speed":36,"hex_longitude":"2cccb080","hex_latitude":"07464b00","is_valid_coordinates":true} 
[2026-07-01 15:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:34:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422453248001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:34:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333569936418930688,"note":"Value kept but may cause issues"} 
[2026-07-01 15:34:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3691403550829793280,"note":"Value kept but may cause issues"} 
[2026-07-01 15:34:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:34:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782900218000,"timestamp_ms":1782900218000,"timestamp_seconds":1782900218,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d225890"} 
[2026-07-01 15:34:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:34: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-01 15:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 15:34:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:34:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:34:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:34:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:34:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:34:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:34:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:34:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:34:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:34:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:34:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422453248001,"66":27713,"74":206,"85":37632,"24":36,"16":333569936418930688,"44":-3691403550829793280},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,85,24,16,44]} 
[2026-07-01 15:34:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:34:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:34:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422453248001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:34:27] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-07-01 15:34:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:34:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333569936418930688,"km_value":333569936418930.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:34:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3691403550829793280,"description":"Unknown IO ID 44"} 
[2026-07-01 15:34:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422453248001,"power":27713,"unknown_74":206,"unknown_85":37632,"ignition":36,"odometer":null,"unknown_44":-3691403550829793280}} 
[2026-07-01 15:34:27] local.INFO: DEBUG: GPS processor result {"connection_id":119071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:34:27] local.INFO: GPS data processed {"connection_id":119071,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:34:27] local.INFO: Acknowledgment sent {"connection_id":119071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:34:30] local.INFO: TCP Data received {"connection_id":119870,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d223180012d7a140005ec8090000f00f624..."} 
[2026-07-01 15:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d223180012d7a140005ec8090000f00f624..."} 
[2026-07-01 15:34:30] local.INFO: Processing buffer {"connection_id":119870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d223180012d7a140005ec8090000f00f624..."} 
[2026-07-01 15:34:30] local.INFO: Packet analysis {"connection_id":119870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d22"} 
[2026-07-01 15:34:30] local.INFO: Extracted packet for processing {"connection_id":119870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d22"} 
[2026-07-01 15:34:30] local.INFO: GPS Element Parsed {"raw_longitude":762975232,"raw_latitude":99385488,"longitude_deg":76.2975232,"latitude_deg":9.9385488,"altitude":15,"angle":246,"satellites":36,"speed":0,"hex_longitude":"2d7a1400","hex_latitude":"05ec8090","is_valid_coordinates":true} 
[2026-07-01 15:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422448128001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101277476323328000,"note":"Value kept but may cause issues"} 
[2026-07-01 15:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798344847464581120,"note":"Value kept but may cause issues"} 
[2026-07-01 15:34:30] 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-01 15:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782900208000,"timestamp_ms":1782900208000,"timestamp_seconds":1782900208,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d223180"} 
[2026-07-01 15:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:34:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-01 15:34:30] 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-01 15:34:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":119870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":119870,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":119870,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:34:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422448128001,"66":11471,"157":206,"87":13824,"24":0,"16":101277476323328000,"45":8798344847464581120},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422448128001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:34:30] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:34:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101277476323328000,"km_value":101277476323328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798344847464581120,"description":"Unknown IO ID 45"} 
[2026-07-01 15:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422448128001,"power":11471,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8798344847464581120}} 
[2026-07-01 15:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":119870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417597,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:34:30] local.INFO: GPS data processed {"connection_id":119870,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:34:30] local.INFO: Acknowledgment sent {"connection_id":119870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:34:52] local.INFO: TCP Data received {"connection_id":119194,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119194,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:34:52] local.INFO: Processing buffer {"connection_id":119194,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:34:52] local.INFO: IMEI packet received {"connection_id":119194,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 15:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":119194,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:34:56] local.INFO: TCP Data received {"connection_id":119194,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119194,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:34:56] local.INFO: Processing buffer {"connection_id":119194,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:34:56] local.INFO: IMEI packet received {"connection_id":119194,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 15:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":119194,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:34:57] local.INFO: TCP Data received {"connection_id":119194,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d2250c0012d7a130005ec8030000f010526..."} 
[2026-07-01 15:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d2250c0012d7a130005ec8030000f010526..."} 
[2026-07-01 15:34:57] local.INFO: Processing buffer {"connection_id":119194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d2250c0012d7a130005ec8030000f010526..."} 
[2026-07-01 15:34:57] local.INFO: Packet analysis {"connection_id":119194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d22"} 
[2026-07-01 15:34:57] local.INFO: Extracted packet for processing {"connection_id":119194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d22"} 
[2026-07-01 15:34:57] local.INFO: GPS Element Parsed {"raw_longitude":762974976,"raw_latitude":99385392,"longitude_deg":76.2974976,"latitude_deg":9.9385392,"altitude":15,"angle":261,"satellites":38,"speed":5,"hex_longitude":"2d7a1300","hex_latitude":"05ec8030","is_valid_coordinates":true} 
[2026-07-01 15:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:34:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422453248001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:34:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101277489208229888,"note":"Value kept but may cause issues"} 
[2026-07-01 15:34:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796655997604106240,"note":"Value kept but may cause issues"} 
[2026-07-01 15:34:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:34:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782900216000,"timestamp_ms":1782900216000,"timestamp_seconds":1782900216,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d2250c0"} 
[2026-07-01 15:34:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:34:57] 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-01 15:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-01 15:34:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2281,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:34:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:34:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:34:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:34:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:34:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:34:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:34:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:34:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:34:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:34:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422453248001,"66":11504,"157":206,"87":13824,"24":5,"16":101277489208229888,"45":8796655997604106240},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:34:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:34:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:34:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422453248001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:34:57] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:34:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:34:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101277489208229888,"km_value":101277489208229.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:34:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796655997604106240,"description":"Unknown IO ID 45"} 
[2026-07-01 15:34:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422453248001,"power":11504,"unknown_157":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8796655997604106240}} 
[2026-07-01 15:34:57] local.INFO: DEBUG: GPS processor result {"connection_id":119194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417598,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:34:57] local.INFO: GPS data processed {"connection_id":119194,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:34:57] local.INFO: Acknowledgment sent {"connection_id":119194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:34:58] local.INFO: TCP Data received {"connection_id":119071,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d226830012ccca70007465578001b01372e..."} 
[2026-07-01 15:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d226830012ccca70007465578001b01372e..."} 
[2026-07-01 15:34:58] local.INFO: Processing buffer {"connection_id":119071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d226830012ccca70007465578001b01372e..."} 
[2026-07-01 15:34:58] local.INFO: Packet analysis {"connection_id":119071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d22"} 
[2026-07-01 15:34:58] local.INFO: Extracted packet for processing {"connection_id":119071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d22"} 
[2026-07-01 15:34:58] local.INFO: GPS Element Parsed {"raw_longitude":751609600,"raw_latitude":122049912,"longitude_deg":75.16096,"latitude_deg":12.2049912,"altitude":27,"angle":311,"satellites":46,"speed":35,"hex_longitude":"2ccca700","hex_latitude":"07465578","is_valid_coordinates":true} 
[2026-07-01 15: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-01 15:34:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422455808001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333570108217622528,"note":"Value kept but may cause issues"} 
[2026-07-01 15:34:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3697314525338730496,"note":"Value kept but may cause issues"} 
[2026-07-01 15:34:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:34:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782900222000,"timestamp_ms":1782900222000,"timestamp_seconds":1782900222,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d226830"} 
[2026-07-01 15: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-01 15:34:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-01 15:34:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15: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-01 15: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-01 15:34:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:34:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:34:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:34:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:34:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422455808001,"66":27604,"74":206,"85":37632,"24":35,"16":333570108217622528,"44":-3697314525338730496},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,85,24,16,44]} 
[2026-07-01 15:34:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:34:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:34:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422455808001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:34:58] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-07-01 15:34:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:34:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333570108217622528,"km_value":333570108217622.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:34:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3697314525338730496,"description":"Unknown IO ID 44"} 
[2026-07-01 15:34:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422455808001,"power":27604,"unknown_74":206,"unknown_85":37632,"ignition":35,"odometer":null,"unknown_44":-3697314525338730496}} 
[2026-07-01 15:34:58] local.INFO: DEBUG: GPS processor result {"connection_id":119071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:34:58] local.INFO: GPS data processed {"connection_id":119071,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:34:58] local.INFO: Acknowledgment sent {"connection_id":119071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:35:20] local.INFO: TCP Data received {"connection_id":120948,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:35:20] local.INFO: Processing buffer {"connection_id":120948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:35:20] local.INFO: IMEI packet received {"connection_id":120948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 15:35:20] local.INFO: IMEI acknowledgment sent {"connection_id":120948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:35:25] local.INFO: TCP Data received {"connection_id":120948,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:35:25] local.INFO: Processing buffer {"connection_id":120948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:35:25] local.INFO: IMEI packet received {"connection_id":120948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:35:25] local.INFO: IMEI acknowledgment sent {"connection_id":120948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:35:26] local.INFO: TCP Data received {"connection_id":120948,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d227bb8012ccc998007466110001c01442c..."} 
[2026-07-01 15:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d227bb8012ccc998007466110001c01442c..."} 
[2026-07-01 15:35:26] local.INFO: Processing buffer {"connection_id":120948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d227bb8012ccc998007466110001c01442c..."} 
[2026-07-01 15:35:26] local.INFO: Packet analysis {"connection_id":120948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d22"} 
[2026-07-01 15:35:26] local.INFO: Extracted packet for processing {"connection_id":120948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d22"} 
[2026-07-01 15:35:26] local.INFO: GPS Element Parsed {"raw_longitude":751606144,"raw_latitude":122052880,"longitude_deg":75.1606144,"latitude_deg":12.205288,"altitude":28,"angle":324,"satellites":44,"speed":35,"hex_longitude":"2ccc9980","hex_latitude":"07466110","is_valid_coordinates":true} 
[2026-07-01 15:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:35:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422456832001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:35:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333570327260954624,"note":"Value kept but may cause issues"} 
[2026-07-01 15:35:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3699988537616795648,"note":"Value kept but may cause issues"} 
[2026-07-01 15:35:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:35:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782900227000,"timestamp_ms":1782900227000,"timestamp_seconds":1782900227,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d227bb8"} 
[2026-07-01 15:35:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:35: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-01 15:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-01 15:35:26] 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-01 15:35:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:35:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:35:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:35:26] local.INFO: Teltonika packet parsed successfully {"connection_id":120948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:35:26] local.INFO: Passing IMEI to GPS processor {"connection_id":120948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:35:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":120948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:35:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:35:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:35:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:35:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422456832001,"66":27800,"2":206,"85":37632,"24":35,"16":333570327260954624,"44":-3699988537616795648},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-07-01 15:35:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:35:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:35:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422456832001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:35:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:35:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333570327260954624,"km_value":333570327260954.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:35:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3699988537616795648,"description":"Unknown IO ID 44"} 
[2026-07-01 15:35:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422456832001,"power":27800,"power_alt":206,"unknown_85":37632,"ignition":35,"odometer":null,"unknown_44":-3699988537616795648}} 
[2026-07-01 15:35:26] local.INFO: DEBUG: GPS processor result {"connection_id":120948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:35:26] local.INFO: GPS data processed {"connection_id":120948,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:35:26] local.INFO: Acknowledgment sent {"connection_id":120948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:35:29] local.INFO: TCP Data received {"connection_id":119194,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d225c78012d7a114005ec7fb0000f00f626..."} 
[2026-07-01 15:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d225c78012d7a114005ec7fb0000f00f626..."} 
[2026-07-01 15:35:29] local.INFO: Processing buffer {"connection_id":119194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d225c78012d7a114005ec7fb0000f00f626..."} 
[2026-07-01 15:35:29] local.INFO: Packet analysis {"connection_id":119194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d22"} 
[2026-07-01 15:35:29] local.INFO: Extracted packet for processing {"connection_id":119194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d22"} 
[2026-07-01 15:35:29] local.INFO: GPS Element Parsed {"raw_longitude":762974528,"raw_latitude":99385264,"longitude_deg":76.2974528,"latitude_deg":9.9385264,"altitude":15,"angle":246,"satellites":38,"speed":3,"hex_longitude":"2d7a1140","hex_latitude":"05ec7fb0","is_valid_coordinates":true} 
[2026-07-01 15:35:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:35:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422455296001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:35:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101277514978033664,"note":"Value kept but may cause issues"} 
[2026-07-01 15:35:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796374522627371008,"note":"Value kept but may cause issues"} 
[2026-07-01 15:35:29] 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-01 15:35:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782900219000,"timestamp_ms":1782900219000,"timestamp_seconds":1782900219,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d225c78"} 
[2026-07-01 15:35:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:35:29] 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-01 15:35:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-01 15:35:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2578,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:35:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:35:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:35:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:35:29] local.INFO: Teltonika packet parsed successfully {"connection_id":119194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:35:29] local.INFO: Passing IMEI to GPS processor {"connection_id":119194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:35:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":119194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:35:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:35:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:35:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:35:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422455296001,"66":11341,"157":206,"87":13824,"24":3,"16":101277514978033664,"45":8796374522627371008},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:35:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:35:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:35:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422455296001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:35:29] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:35:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:35:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101277514978033664,"km_value":101277514978033.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:35:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796374522627371008,"description":"Unknown IO ID 45"} 
[2026-07-01 15:35:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422455296001,"power":11341,"unknown_157":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8796374522627371008}} 
[2026-07-01 15:35:29] local.INFO: DEBUG: GPS processor result {"connection_id":119194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417601,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:35:29] local.INFO: GPS data processed {"connection_id":119194,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:35:29] local.INFO: Acknowledgment sent {"connection_id":119194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:35:51] local.INFO: TCP Data received {"connection_id":119072,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119072,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:35:52] local.INFO: Processing buffer {"connection_id":119072,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:35:52] local.INFO: IMEI packet received {"connection_id":119072,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 15:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":119072,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:35:57] local.INFO: TCP Data received {"connection_id":119072,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119072,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:35:57] local.INFO: Processing buffer {"connection_id":119072,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:35:57] local.INFO: IMEI packet received {"connection_id":119072,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 15:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":119072,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:35:57] local.INFO: TCP Data received {"connection_id":120948,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d229710012ccc8d0007467828001c01522c..."} 
[2026-07-01 15:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d229710012ccc8d0007467828001c01522c..."} 
[2026-07-01 15:35:57] local.INFO: Processing buffer {"connection_id":120948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d229710012ccc8d0007467828001c01522c..."} 
[2026-07-01 15:35:57] local.INFO: Packet analysis {"connection_id":120948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d22"} 
[2026-07-01 15:35:57] local.INFO: Extracted packet for processing {"connection_id":120948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d22"} 
[2026-07-01 15:35:57] local.INFO: GPS Element Parsed {"raw_longitude":751602944,"raw_latitude":122058792,"longitude_deg":75.1602944,"latitude_deg":12.2058792,"altitude":28,"angle":338,"satellites":44,"speed":41,"hex_longitude":"2ccc8d00","hex_latitude":"07467828","is_valid_coordinates":true} 
[2026-07-01 15: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-01 15:35:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422458112001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:35:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333570653678469120,"note":"Value kept but may cause issues"} 
[2026-07-01 15:35:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3703788449801629696,"note":"Value kept but may cause issues"} 
[2026-07-01 15:35:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:35:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782900234000,"timestamp_ms":1782900234000,"timestamp_seconds":1782900234,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d229710"} 
[2026-07-01 15: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-01 15:35:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 15:35:57] 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-01 15: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-01 15: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-01 15:35:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:35:57] local.INFO: Teltonika packet parsed successfully {"connection_id":120948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:35:57] local.INFO: Passing IMEI to GPS processor {"connection_id":120948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:35:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":120948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:35:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:35:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:35:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:35:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422458112001,"66":27843,"2":206,"85":37632,"24":41,"16":333570653678469120,"44":-3703788449801629696},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-07-01 15:35:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:35:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:35:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422458112001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:35:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:35:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333570653678469120,"km_value":333570653678469.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:35:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3703788449801629696,"description":"Unknown IO ID 44"} 
[2026-07-01 15:35:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422458112001,"power":27843,"power_alt":206,"unknown_85":37632,"ignition":41,"odometer":null,"unknown_44":-3703788449801629696}} 
[2026-07-01 15:35:57] local.INFO: DEBUG: GPS processor result {"connection_id":120948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:35:57] local.INFO: GPS data processed {"connection_id":120948,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:35:57] local.INFO: Acknowledgment sent {"connection_id":120948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:35:58] local.INFO: TCP Data received {"connection_id":119072,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d2273e8012d7a114005ec7f88000f00f626..."} 
[2026-07-01 15:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d2273e8012d7a114005ec7f88000f00f626..."} 
[2026-07-01 15:35:58] local.INFO: Processing buffer {"connection_id":119072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d2273e8012d7a114005ec7f88000f00f626..."} 
[2026-07-01 15:35:58] local.INFO: Packet analysis {"connection_id":119072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d22"} 
[2026-07-01 15:35:58] local.INFO: Extracted packet for processing {"connection_id":119072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d22"} 
[2026-07-01 15:35:58] local.INFO: GPS Element Parsed {"raw_longitude":762974528,"raw_latitude":99385224,"longitude_deg":76.2974528,"latitude_deg":9.9385224,"altitude":15,"angle":246,"satellites":38,"speed":0,"hex_longitude":"2d7a1140","hex_latitude":"05ec7f88","is_valid_coordinates":true} 
[2026-07-01 15:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:35:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422456064001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:35:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101277514978033664,"note":"Value kept but may cause issues"} 
[2026-07-01 15:35:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418094592,"note":"Value kept but may cause issues"} 
[2026-07-01 15:35:58] 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-01 15:35:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782900225000,"timestamp_ms":1782900225000,"timestamp_seconds":1782900225,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d2273e8"} 
[2026-07-01 15: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-01 15:35:58] 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-01 15: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":44,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-01 15:35:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1111,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15: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-01 15: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-01 15:35:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:35:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:35:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:35:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:35:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:35:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:35:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:35:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422456064001,"66":11341,"157":206,"87":13824,"24":0,"16":101277514978033664,"45":8795881941418094592},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:35:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:35:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:35:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422456064001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:35:58] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:35:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:35:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101277514978033664,"km_value":101277514978033.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:35:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418094592,"description":"Unknown IO ID 45"} 
[2026-07-01 15:35:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422456064001,"power":11341,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418094592}} 
[2026-07-01 15:35:58] local.INFO: DEBUG: GPS processor result {"connection_id":119072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417603,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:35:58] local.INFO: GPS data processed {"connection_id":119072,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:35:58] local.INFO: Acknowledgment sent {"connection_id":119072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:36:20] local.INFO: TCP Data received {"connection_id":119074,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:36:20] local.INFO: Processing buffer {"connection_id":119074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:36:20] local.INFO: IMEI packet received {"connection_id":119074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 15:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":119074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:36:26] local.INFO: TCP Data received {"connection_id":119074,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:36:26] local.INFO: Processing buffer {"connection_id":119074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:36:26] local.INFO: IMEI packet received {"connection_id":119074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":119074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:36:26] local.INFO: TCP Data received {"connection_id":119074,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d23f2b8012ccc59c00747a3f8000a01422d..."} 
[2026-07-01 15:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d23f2b8012ccc59c00747a3f8000a01422d..."} 
[2026-07-01 15:36:26] local.INFO: Processing buffer {"connection_id":119074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d23f2b8012ccc59c00747a3f8000a01422d..."} 
[2026-07-01 15:36:26] local.INFO: Packet analysis {"connection_id":119074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d23"} 
[2026-07-01 15:36:26] local.INFO: Extracted packet for processing {"connection_id":119074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d23"} 
[2026-07-01 15:36:26] local.INFO: GPS Element Parsed {"raw_longitude":751589824,"raw_latitude":122135544,"longitude_deg":75.1589824,"latitude_deg":12.2135544,"altitude":10,"angle":322,"satellites":45,"speed":10,"hex_longitude":"2ccc59c0","hex_latitude":"0747a3f8","is_valid_coordinates":true} 
[2026-07-01 15: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-01 15:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422482432001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333574480494329856,"note":"Value kept but may cause issues"} 
[2026-07-01 15:36:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3721521373313292288,"note":"Value kept but may cause issues"} 
[2026-07-01 15:36:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782900323000,"timestamp_ms":1782900323000,"timestamp_seconds":1782900323,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d23f2b8"} 
[2026-07-01 15: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-01 15:36: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-01 15: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-01 15:36:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15: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-01 15: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-01 15:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:36:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422482432001,"66":27843,"2":206,"85":37632,"24":10,"16":333574480494329856,"44":-3721521373313292288},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-07-01 15:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422482432001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:36:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333574480494329856,"km_value":333574480494329.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:36:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3721521373313292288,"description":"Unknown IO ID 44"} 
[2026-07-01 15:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422482432001,"power":27843,"power_alt":206,"unknown_85":37632,"ignition":10,"odometer":null,"unknown_44":-3721521373313292288}} 
[2026-07-01 15:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":119074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:36:26] local.INFO: GPS data processed {"connection_id":119074,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:36:26] local.INFO: Acknowledgment sent {"connection_id":119074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:36:29] local.INFO: TCP Data received {"connection_id":119072,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d2273e8012d7a114005ec7f88000f00f626..."} 
[2026-07-01 15:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d2273e8012d7a114005ec7f88000f00f626..."} 
[2026-07-01 15:36:29] local.INFO: Processing buffer {"connection_id":119072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d2273e8012d7a114005ec7f88000f00f626..."} 
[2026-07-01 15:36:29] local.INFO: Packet analysis {"connection_id":119072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d22"} 
[2026-07-01 15:36:29] local.INFO: Extracted packet for processing {"connection_id":119072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d22"} 
[2026-07-01 15:36:29] local.INFO: GPS Element Parsed {"raw_longitude":762974528,"raw_latitude":99385224,"longitude_deg":76.2974528,"latitude_deg":9.9385224,"altitude":15,"angle":246,"satellites":38,"speed":0,"hex_longitude":"2d7a1140","hex_latitude":"05ec7f88","is_valid_coordinates":true} 
[2026-07-01 15:36:29] 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-01 15:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422457600001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101277514978033664,"note":"Value kept but may cause issues"} 
[2026-07-01 15:36:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418084352,"note":"Value kept but may cause issues"} 
[2026-07-01 15:36:29] 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-01 15:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782900225000,"timestamp_ms":1782900225000,"timestamp_seconds":1782900225,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d2273e8"} 
[2026-07-01 15: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-01 15:36:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 15: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":44,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-01 15:36:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1111,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15: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-01 15: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-01 15:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":119072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":119072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":119072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:36:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422457600001,"66":11341,"157":206,"87":13824,"24":0,"16":101277514978033664,"45":8795881941418084352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422457600001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:36:29] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:36:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101277514978033664,"km_value":101277514978033.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:36:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418084352,"description":"Unknown IO ID 45"} 
[2026-07-01 15:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422457600001,"power":11341,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418084352}} 
[2026-07-01 15:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":119072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417605,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:36:29] local.INFO: GPS data processed {"connection_id":119072,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:36:29] local.INFO: Acknowledgment sent {"connection_id":119072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:36:57] local.INFO: TCP Data received {"connection_id":119872,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119872,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:36:57] local.INFO: Processing buffer {"connection_id":119872,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:36:57] local.INFO: IMEI packet received {"connection_id":119872,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 15:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":119872,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:36:58] local.INFO: TCP Data received {"connection_id":119074,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d23f6a0012ccc59000747a4e00009014e2d..."} 
[2026-07-01 15:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d23f6a0012ccc59000747a4e00009014e2d..."} 
[2026-07-01 15:36:58] local.INFO: Processing buffer {"connection_id":119074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d23f6a0012ccc59000747a4e00009014e2d..."} 
[2026-07-01 15:36:58] local.INFO: Packet analysis {"connection_id":119074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d23"} 
[2026-07-01 15:36:58] local.INFO: Extracted packet for processing {"connection_id":119074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d23"} 
[2026-07-01 15:36:58] local.INFO: GPS Element Parsed {"raw_longitude":751589632,"raw_latitude":122135776,"longitude_deg":75.1589632,"latitude_deg":12.2135776,"altitude":9,"angle":334,"satellites":45,"speed":10,"hex_longitude":"2ccc5900","hex_latitude":"0747a4e0","is_valid_coordinates":true} 
[2026-07-01 15: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-01 15:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422482688001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333574493379231744,"note":"Value kept but may cause issues"} 
[2026-07-01 15:36:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3721732479545772032,"note":"Value kept but may cause issues"} 
[2026-07-01 15:36:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782900324000,"timestamp_ms":1782900324000,"timestamp_seconds":1782900324,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d23f6a0"} 
[2026-07-01 15: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-01 15: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-01 15: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 15:36:58] 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-01 15: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-01 15: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-01 15:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:36:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422482688001,"66":27843,"2":206,"85":37632,"24":10,"16":333574493379231744,"44":-3721732479545772032},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-07-01 15:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422482688001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:36:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333574493379231744,"km_value":333574493379231.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:36:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3721732479545772032,"description":"Unknown IO ID 44"} 
[2026-07-01 15:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422482688001,"power":27843,"power_alt":206,"unknown_85":37632,"ignition":10,"odometer":null,"unknown_44":-3721732479545772032}} 
[2026-07-01 15:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":119074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:36:58] local.INFO: GPS data processed {"connection_id":119074,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:36:58] local.INFO: Acknowledgment sent {"connection_id":119074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:37:02] local.INFO: TCP Data received {"connection_id":119872,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119872,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:37:02] local.INFO: Processing buffer {"connection_id":119872,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:37:02] local.INFO: IMEI packet received {"connection_id":119872,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 15:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":119872,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:37:03] local.INFO: TCP Data received {"connection_id":119872,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d2273e8012d7a114005ec7f88000f00f626..."} 
[2026-07-01 15:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d2273e8012d7a114005ec7f88000f00f626..."} 
[2026-07-01 15:37:03] local.INFO: Processing buffer {"connection_id":119872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d2273e8012d7a114005ec7f88000f00f626..."} 
[2026-07-01 15:37:03] local.INFO: Packet analysis {"connection_id":119872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d22"} 
[2026-07-01 15:37:03] local.INFO: Extracted packet for processing {"connection_id":119872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d22"} 
[2026-07-01 15:37:03] local.INFO: GPS Element Parsed {"raw_longitude":762974528,"raw_latitude":99385224,"longitude_deg":76.2974528,"latitude_deg":9.9385224,"altitude":15,"angle":246,"satellites":38,"speed":0,"hex_longitude":"2d7a1140","hex_latitude":"05ec7f88","is_valid_coordinates":true} 
[2026-07-01 15:37:03] 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-01 15:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422457600001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101277514978033664,"note":"Value kept but may cause issues"} 
[2026-07-01 15:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418084352,"note":"Value kept but may cause issues"} 
[2026-07-01 15:37: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-01 15:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782900225000,"timestamp_ms":1782900225000,"timestamp_seconds":1782900225,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d2273e8"} 
[2026-07-01 15:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 15:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-01 15:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1111,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:37:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":119872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":119872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":119872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422457600001,"66":11341,"157":206,"87":13824,"24":0,"16":101277514978033664,"45":8795881941418084352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422457600001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:37:03] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:37:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101277514978033664,"km_value":101277514978033.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418084352,"description":"Unknown IO ID 45"} 
[2026-07-01 15:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422457600001,"power":11341,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418084352}} 
[2026-07-01 15:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":119872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417607,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:37:03] local.INFO: GPS data processed {"connection_id":119872,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:37:03] local.INFO: Acknowledgment sent {"connection_id":119872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:37:07] local.INFO: TCP Data received {"connection_id":119872,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d2273e8012d7a114005ec7f88000f00f626..."} 
[2026-07-01 15:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d2273e8012d7a114005ec7f88000f00f626..."} 
[2026-07-01 15:37:07] local.INFO: Processing buffer {"connection_id":119872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d2273e8012d7a114005ec7f88000f00f626..."} 
[2026-07-01 15:37:07] local.INFO: Packet analysis {"connection_id":119872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d22"} 
[2026-07-01 15:37:07] local.INFO: Extracted packet for processing {"connection_id":119872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d22"} 
[2026-07-01 15:37:07] local.INFO: GPS Element Parsed {"raw_longitude":762974528,"raw_latitude":99385224,"longitude_deg":76.2974528,"latitude_deg":9.9385224,"altitude":15,"angle":246,"satellites":38,"speed":0,"hex_longitude":"2d7a1140","hex_latitude":"05ec7f88","is_valid_coordinates":true} 
[2026-07-01 15:37: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-01 15:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422457600001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101277514978033664,"note":"Value kept but may cause issues"} 
[2026-07-01 15:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418084352,"note":"Value kept but may cause issues"} 
[2026-07-01 15:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782900225000,"timestamp_ms":1782900225000,"timestamp_seconds":1782900225,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d2273e8"} 
[2026-07-01 15:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 15:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-01 15:37:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1111,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":119872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":119872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":119872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422457600001,"66":11341,"157":206,"87":13824,"24":0,"16":101277514978033664,"45":8795881941418084352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422457600001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:37:07] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:37:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101277514978033664,"km_value":101277514978033.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418084352,"description":"Unknown IO ID 45"} 
[2026-07-01 15:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422457600001,"power":11341,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418084352}} 
[2026-07-01 15:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":119872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417608,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:37:07] local.INFO: GPS data processed {"connection_id":119872,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:37:07] local.INFO: Acknowledgment sent {"connection_id":119872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:37:25] local.INFO: TCP Data received {"connection_id":119873,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:37:25] local.INFO: Processing buffer {"connection_id":119873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:37:25] local.INFO: IMEI packet received {"connection_id":119873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 15:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":119873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:37:28] local.INFO: TCP Data received {"connection_id":119873,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:37:28] local.INFO: Processing buffer {"connection_id":119873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:37:28] local.INFO: IMEI packet received {"connection_id":119873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":119873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:37:32] local.INFO: TCP Data received {"connection_id":119873,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:37:32] local.INFO: Processing buffer {"connection_id":119873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:37:32] local.INFO: IMEI packet received {"connection_id":119873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":119873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:37:33] local.INFO: TCP Data received {"connection_id":119873,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d240258012ccc57800747a720000901402c..."} 
[2026-07-01 15:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d240258012ccc57800747a720000901402c..."} 
[2026-07-01 15:37:33] local.INFO: Processing buffer {"connection_id":119873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d240258012ccc57800747a720000901402c..."} 
[2026-07-01 15:37:33] local.INFO: Packet analysis {"connection_id":119873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d24"} 
[2026-07-01 15:37:33] local.INFO: Extracted packet for processing {"connection_id":119873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d24"} 
[2026-07-01 15:37:33] local.INFO: GPS Element Parsed {"raw_longitude":751589248,"raw_latitude":122136352,"longitude_deg":75.1589248,"latitude_deg":12.2136352,"altitude":9,"angle":320,"satellites":44,"speed":8,"hex_longitude":"2ccc5780","hex_latitude":"0747a720","is_valid_coordinates":true} 
[2026-07-01 15:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422482944001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333574527738970112,"note":"Value kept but may cause issues"} 
[2026-07-01 15:37:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3721943585778245632,"note":"Value kept but may cause issues"} 
[2026-07-01 15:37:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782900327000,"timestamp_ms":1782900327000,"timestamp_seconds":1782900327,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d240258"} 
[2026-07-01 15:37:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:37:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 15:37:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:37:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:37:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":119873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":119873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":119873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:37:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422482944001,"66":27800,"2":206,"85":37632,"24":8,"16":333574527738970112,"44":-3721943585778245632},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-07-01 15:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422482944001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:37:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333574527738970112,"km_value":333574527738970.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:37:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3721943585778245632,"description":"Unknown IO ID 44"} 
[2026-07-01 15:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422482944001,"power":27800,"power_alt":206,"unknown_85":37632,"ignition":8,"odometer":null,"unknown_44":-3721943585778245632}} 
[2026-07-01 15:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":119873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:37:33] local.INFO: GPS data processed {"connection_id":119873,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:37:33] local.INFO: Acknowledgment sent {"connection_id":119873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:37:41] local.INFO: TCP Data received {"connection_id":119873,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d2415e0012ccc54c00747abb8000901502d..."} 
[2026-07-01 15:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d2415e0012ccc54c00747abb8000901502d..."} 
[2026-07-01 15:37:41] local.INFO: Processing buffer {"connection_id":119873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d2415e0012ccc54c00747abb8000901502d..."} 
[2026-07-01 15:37:41] local.INFO: Packet analysis {"connection_id":119873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d24"} 
[2026-07-01 15:37:41] local.INFO: Extracted packet for processing {"connection_id":119873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d24"} 
[2026-07-01 15:37:41] local.INFO: GPS Element Parsed {"raw_longitude":751588544,"raw_latitude":122137528,"longitude_deg":75.1588544,"latitude_deg":12.2137528,"altitude":9,"angle":336,"satellites":45,"speed":14,"hex_longitude":"2ccc54c0","hex_latitude":"0747abb8","is_valid_coordinates":true} 
[2026-07-01 15: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-01 15:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422483712001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333574596458446848,"note":"Value kept but may cause issues"} 
[2026-07-01 15:37:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3722365798243164160,"note":"Value kept but may cause issues"} 
[2026-07-01 15:37:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782900332000,"timestamp_ms":1782900332000,"timestamp_seconds":1782900332,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d2415e0"} 
[2026-07-01 15: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-01 15:37:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 15:37:41] 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-01 15: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-01 15: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-01 15:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":119873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":119873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":119873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:37: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-01 15:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422483712001,"66":27821,"2":206,"85":37632,"24":14,"16":333574596458446848,"44":-3722365798243164160},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-07-01 15:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422483712001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:37:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333574596458446848,"km_value":333574596458446.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:37:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3722365798243164160,"description":"Unknown IO ID 44"} 
[2026-07-01 15:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422483712001,"power":27821,"power_alt":206,"unknown_85":37632,"ignition":14,"odometer":null,"unknown_44":-3722365798243164160}} 
[2026-07-01 15:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":119873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:37:41] local.INFO: GPS data processed {"connection_id":119873,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:37:41] local.INFO: Acknowledgment sent {"connection_id":119873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:37:52] local.INFO: TCP Data received {"connection_id":119196,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119196,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:37:52] local.INFO: Processing buffer {"connection_id":119196,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:37:52] local.INFO: IMEI packet received {"connection_id":119196,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 15:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":119196,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:37:57] local.INFO: TCP Data received {"connection_id":119196,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119196,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:37:57] local.INFO: Processing buffer {"connection_id":119196,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:37:57] local.INFO: IMEI packet received {"connection_id":119196,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 15:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":119196,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:37:58] local.INFO: TCP Data received {"connection_id":119196,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d2273e8012d7a114005ec7f88000f00f626..."} 
[2026-07-01 15:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d2273e8012d7a114005ec7f88000f00f626..."} 
[2026-07-01 15:37:58] local.INFO: Processing buffer {"connection_id":119196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d2273e8012d7a114005ec7f88000f00f626..."} 
[2026-07-01 15:37:58] local.INFO: Packet analysis {"connection_id":119196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d22"} 
[2026-07-01 15:37:58] local.INFO: Extracted packet for processing {"connection_id":119196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d22"} 
[2026-07-01 15:37:58] local.INFO: GPS Element Parsed {"raw_longitude":762974528,"raw_latitude":99385224,"longitude_deg":76.2974528,"latitude_deg":9.9385224,"altitude":15,"angle":246,"satellites":38,"speed":0,"hex_longitude":"2d7a1140","hex_latitude":"05ec7f88","is_valid_coordinates":true} 
[2026-07-01 15:37: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-01 15:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422457600001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:37:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101277514978033664,"note":"Value kept but may cause issues"} 
[2026-07-01 15:37:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418084352,"note":"Value kept but may cause issues"} 
[2026-07-01 15:37:58] 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-01 15:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782900225000,"timestamp_ms":1782900225000,"timestamp_seconds":1782900225,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d2273e8"} 
[2026-07-01 15:37:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:37:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 15:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-01 15:37:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1111,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:37:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:37:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:37:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:37:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:37:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:37:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:37:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422457600001,"66":11341,"157":206,"87":13824,"24":0,"16":101277514978033664,"45":8795881941418084352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:37:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:37:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:37:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422457600001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:37:58] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:37:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:37:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101277514978033664,"km_value":101277514978033.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:37:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418084352,"description":"Unknown IO ID 45"} 
[2026-07-01 15:37:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422457600001,"power":11341,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418084352}} 
[2026-07-01 15:37:58] local.INFO: DEBUG: GPS processor result {"connection_id":119196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417611,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:37:58] local.INFO: GPS data processed {"connection_id":119196,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:37:58] local.INFO: Acknowledgment sent {"connection_id":119196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:38:21] local.INFO: TCP Data received {"connection_id":119198,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:38:21] local.INFO: Processing buffer {"connection_id":119198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:38:21] local.INFO: IMEI packet received {"connection_id":119198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 15:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":119198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:38:21] local.INFO: TCP Data received {"connection_id":119198,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:38:21] local.INFO: Processing buffer {"connection_id":119198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:38:21] local.INFO: IMEI packet received {"connection_id":119198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":119198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:38:26] local.INFO: TCP Data received {"connection_id":119198,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:38:26] local.INFO: Processing buffer {"connection_id":119198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:38:26] local.INFO: IMEI packet received {"connection_id":119198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":119198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:38:26] local.INFO: TCP Data received {"connection_id":119198,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d25a450012ccc3e8007490c80000d00052b..."} 
[2026-07-01 15:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d25a450012ccc3e8007490c80000d00052b..."} 
[2026-07-01 15:38:26] local.INFO: Processing buffer {"connection_id":119198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d25a450012ccc3e8007490c80000d00052b..."} 
[2026-07-01 15:38:26] local.INFO: Packet analysis {"connection_id":119198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d25"} 
[2026-07-01 15:38:26] local.INFO: Extracted packet for processing {"connection_id":119198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d25"} 
[2026-07-01 15:38:26] local.INFO: GPS Element Parsed {"raw_longitude":751582848,"raw_latitude":122227840,"longitude_deg":75.1582848,"latitude_deg":12.222784,"altitude":13,"angle":5,"satellites":43,"speed":52,"hex_longitude":"2ccc3e80","hex_latitude":"07490c80","is_valid_coordinates":true} 
[2026-07-01 15:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:38:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422509056001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:38:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333579157713715200,"note":"Value kept but may cause issues"} 
[2026-07-01 15:38:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3730528572546891776,"note":"Value kept but may cause issues"} 
[2026-07-01 15:38:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:38:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782900434000,"timestamp_ms":1782900434000,"timestamp_seconds":1782900434,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d25a450"} 
[2026-07-01 15:38:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:38:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 15:38:26] 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-01 15:38:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:38:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:38:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:38:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:38:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:38:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:38:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:38:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:38:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:38:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422509056001,"66":27887,"167":206,"85":37632,"24":52,"16":333579157713715200,"44":-3730528572546891776},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,44]} 
[2026-07-01 15:38:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:38:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:38:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422509056001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:38:26] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-01 15:38:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:38:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333579157713715200,"km_value":333579157713715.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:38:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3730528572546891776,"description":"Unknown IO ID 44"} 
[2026-07-01 15:38:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422509056001,"power":27887,"unknown_167":206,"unknown_85":37632,"ignition":52,"odometer":null,"unknown_44":-3730528572546891776}} 
[2026-07-01 15:38:26] local.INFO: DEBUG: GPS processor result {"connection_id":119198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:38:26] local.INFO: GPS data processed {"connection_id":119198,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:38:26] local.INFO: Acknowledgment sent {"connection_id":119198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:38:29] local.INFO: TCP Data received {"connection_id":119196,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d2273e8012d7a114005ec7f88000f00f626..."} 
[2026-07-01 15:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d2273e8012d7a114005ec7f88000f00f626..."} 
[2026-07-01 15:38:29] local.INFO: Processing buffer {"connection_id":119196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d2273e8012d7a114005ec7f88000f00f626..."} 
[2026-07-01 15:38:29] local.INFO: Packet analysis {"connection_id":119196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d22"} 
[2026-07-01 15:38:29] local.INFO: Extracted packet for processing {"connection_id":119196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d22"} 
[2026-07-01 15:38:29] local.INFO: GPS Element Parsed {"raw_longitude":762974528,"raw_latitude":99385224,"longitude_deg":76.2974528,"latitude_deg":9.9385224,"altitude":15,"angle":246,"satellites":38,"speed":0,"hex_longitude":"2d7a1140","hex_latitude":"05ec7f88","is_valid_coordinates":true} 
[2026-07-01 15:38:29] 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-01 15:38:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422457600001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:38:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101277514978033664,"note":"Value kept but may cause issues"} 
[2026-07-01 15:38:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418084352,"note":"Value kept but may cause issues"} 
[2026-07-01 15:38:29] 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-01 15:38:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782900225000,"timestamp_ms":1782900225000,"timestamp_seconds":1782900225,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d2273e8"} 
[2026-07-01 15: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-01 15:38:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 15: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":44,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-01 15:38:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1111,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15: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-01 15: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-01 15:38:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:38:29] local.INFO: Teltonika packet parsed successfully {"connection_id":119196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:38:29] local.INFO: Passing IMEI to GPS processor {"connection_id":119196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:38:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":119196,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:38:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:38:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:38:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:38:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422457600001,"66":11341,"157":206,"87":13824,"24":0,"16":101277514978033664,"45":8795881941418084352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:38:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:38:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:38:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422457600001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:38:29] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:38:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:38:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101277514978033664,"km_value":101277514978033.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:38:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418084352,"description":"Unknown IO ID 45"} 
[2026-07-01 15:38:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422457600001,"power":11341,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418084352}} 
[2026-07-01 15:38:29] local.INFO: DEBUG: GPS processor result {"connection_id":119196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417613,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:38:29] local.INFO: GPS data processed {"connection_id":119196,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:38:29] local.INFO: Acknowledgment sent {"connection_id":119196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:38:48] local.INFO: TCP Data received {"connection_id":119197,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 15:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119197,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 15:38:48] local.INFO: Processing buffer {"connection_id":119197,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 15:38:48] local.INFO: IMEI packet received {"connection_id":119197,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 15:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":119197,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:38:52] local.INFO: TCP Data received {"connection_id":120949,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120949,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:38:52] local.INFO: Processing buffer {"connection_id":120949,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:38:52] local.INFO: IMEI packet received {"connection_id":120949,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 15:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":120949,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:38:57] local.INFO: TCP Data received {"connection_id":120949,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120949,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:38:57] local.INFO: Processing buffer {"connection_id":120949,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:38:57] local.INFO: IMEI packet received {"connection_id":120949,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 15:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":120949,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:38:57] local.INFO: TCP Data received {"connection_id":119198,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d25bfa8012ccc418007493280000e00022c..."} 
[2026-07-01 15:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d25bfa8012ccc418007493280000e00022c..."} 
[2026-07-01 15:38:57] local.INFO: Processing buffer {"connection_id":119198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d25bfa8012ccc418007493280000e00022c..."} 
[2026-07-01 15:38:57] local.INFO: Packet analysis {"connection_id":119198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d25"} 
[2026-07-01 15:38:57] local.INFO: Extracted packet for processing {"connection_id":119198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d25"} 
[2026-07-01 15:38:57] local.INFO: GPS Element Parsed {"raw_longitude":751583616,"raw_latitude":122237568,"longitude_deg":75.1583616,"latitude_deg":12.2237568,"altitude":14,"angle":2,"satellites":44,"speed":58,"hex_longitude":"2ccc4180","hex_latitude":"07493280","is_valid_coordinates":true} 
[2026-07-01 15: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-01 15:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422511104001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333579630160117760,"note":"Value kept but may cause issues"} 
[2026-07-01 15:38:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3729402672637509632,"note":"Value kept but may cause issues"} 
[2026-07-01 15:38:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782900441000,"timestamp_ms":1782900441000,"timestamp_seconds":1782900441,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d25bfa8"} 
[2026-07-01 15:38:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:38:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-01 15:38:57] 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-01 15:38:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:38:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:38:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422511104001,"66":27800,"167":206,"85":37632,"24":58,"16":333579630160117760,"44":-3729402672637509632},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,44]} 
[2026-07-01 15:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422511104001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:38:57] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-01 15:38:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333579630160117760,"km_value":333579630160117.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:38:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3729402672637509632,"description":"Unknown IO ID 44"} 
[2026-07-01 15:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422511104001,"power":27800,"unknown_167":206,"unknown_85":37632,"ignition":58,"odometer":null,"unknown_44":-3729402672637509632}} 
[2026-07-01 15:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":119198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:38:57] local.INFO: GPS data processed {"connection_id":119198,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:38:57] local.INFO: Acknowledgment sent {"connection_id":119198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:39:02] local.INFO: TCP Data received {"connection_id":120949,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120949,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:39:02] local.INFO: Processing buffer {"connection_id":120949,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:39:02] local.INFO: IMEI packet received {"connection_id":120949,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 15:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":120949,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:39:03] local.INFO: TCP Data received {"connection_id":120949,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d270bb0012d7a0f8005ec7fe0000f00f627..."} 
[2026-07-01 15:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d270bb0012d7a0f8005ec7fe0000f00f627..."} 
[2026-07-01 15:39:03] local.INFO: Processing buffer {"connection_id":120949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d270bb0012d7a0f8005ec7fe0000f00f627..."} 
[2026-07-01 15:39:03] local.INFO: Packet analysis {"connection_id":120949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d27"} 
[2026-07-01 15:39:03] local.INFO: Extracted packet for processing {"connection_id":120949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d27"} 
[2026-07-01 15:39:03] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385312,"longitude_deg":76.297408,"latitude_deg":9.9385312,"altitude":15,"angle":246,"satellites":39,"speed":0,"hex_longitude":"2d7a0f80","hex_latitude":"05ec7fe0","is_valid_coordinates":true} 
[2026-07-01 15: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-01 15:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422457600001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101277514978033664,"note":"Value kept but may cause issues"} 
[2026-07-01 15:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418084352,"note":"Value kept but may cause issues"} 
[2026-07-01 15:39: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-01 15:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782900526000,"timestamp_ms":1782900526000,"timestamp_seconds":1782900526,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d270bb0"} 
[2026-07-01 15: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-01 15:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 15: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":44,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-01 15:39:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1111,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15: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-01 15: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-01 15:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":120949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":120949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":120949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422457600001,"66":12287,"157":206,"87":13824,"24":0,"16":101277514978033664,"45":8795881941418084352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422457600001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:39:03] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:39:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101277514978033664,"km_value":101277514978033.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418084352,"description":"Unknown IO ID 45"} 
[2026-07-01 15:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422457600001,"power":12287,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418084352}} 
[2026-07-01 15:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":120949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417615,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:39:03] local.INFO: GPS data processed {"connection_id":120949,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:39:03] local.INFO: Acknowledgment sent {"connection_id":120949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:39:20] local.INFO: TCP Data received {"connection_id":119875,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:39:20] local.INFO: Processing buffer {"connection_id":119875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:39:20] local.INFO: IMEI packet received {"connection_id":119875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 15:39:20] local.INFO: IMEI acknowledgment sent {"connection_id":119875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:39:20] local.INFO: TCP Data received {"connection_id":119874,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 15:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119874,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 15:39:20] local.INFO: Processing buffer {"connection_id":119874,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 15:39:20] local.INFO: IMEI packet received {"connection_id":119874,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 15:39:20] local.INFO: IMEI acknowledgment sent {"connection_id":119874,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:39:23] local.INFO: TCP Data received {"connection_id":119875,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:39:23] local.INFO: Processing buffer {"connection_id":119875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:39:23] local.INFO: IMEI packet received {"connection_id":119875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:39:23] local.INFO: IMEI acknowledgment sent {"connection_id":119875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:39:25] local.INFO: TCP Data received {"connection_id":119875,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:39:25] local.INFO: Processing buffer {"connection_id":119875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:39:25] local.INFO: IMEI packet received {"connection_id":119875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:39:25] local.INFO: IMEI acknowledgment sent {"connection_id":119875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:39:26] local.INFO: TCP Data received {"connection_id":119875,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d26a620012ccb9540074a1968000d015e29..."} 
[2026-07-01 15:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d26a620012ccb9540074a1968000d015e29..."} 
[2026-07-01 15:39:26] local.INFO: Processing buffer {"connection_id":119875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d26a620012ccb9540074a1968000d015e29..."} 
[2026-07-01 15:39:26] local.INFO: Packet analysis {"connection_id":119875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d26"} 
[2026-07-01 15:39:26] local.INFO: Extracted packet for processing {"connection_id":119875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d26"} 
[2026-07-01 15:39:26] local.INFO: GPS Element Parsed {"raw_longitude":751539520,"raw_latitude":122296680,"longitude_deg":75.153952,"latitude_deg":12.229668,"altitude":13,"angle":350,"satellites":41,"speed":47,"hex_longitude":"2ccb9540","hex_latitude":"074a1968","is_valid_coordinates":true} 
[2026-07-01 15:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:39:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422527488001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:39:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333583362486697984,"note":"Value kept but may cause issues"} 
[2026-07-01 15:39:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3776338624986976256,"note":"Value kept but may cause issues"} 
[2026-07-01 15:39:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:39:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782900500000,"timestamp_ms":1782900500000,"timestamp_seconds":1782900500,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d26a620"} 
[2026-07-01 15:39:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:39: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-01 15:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 15:39:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:39:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:39:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:39:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:39:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:39:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:39:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:39:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:39:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:39:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:39:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422527488001,"66":27865,"74":206,"85":37632,"24":47,"16":333583362486697984,"44":-3776338624986976256},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,85,24,16,44]} 
[2026-07-01 15:39:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:39:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:39:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422527488001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:39:26] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-07-01 15:39:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:39:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333583362486697984,"km_value":333583362486698.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:39:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3776338624986976256,"description":"Unknown IO ID 44"} 
[2026-07-01 15:39:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422527488001,"power":27865,"unknown_74":206,"unknown_85":37632,"ignition":47,"odometer":null,"unknown_44":-3776338624986976256}} 
[2026-07-01 15:39:26] local.INFO: DEBUG: GPS processor result {"connection_id":119875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:39:26] local.INFO: GPS data processed {"connection_id":119875,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:39:26] local.INFO: Acknowledgment sent {"connection_id":119875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:39:34] local.INFO: TCP Data received {"connection_id":120949,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d270bb0012d7a0f8005ec7fe0000f00f627..."} 
[2026-07-01 15:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d270bb0012d7a0f8005ec7fe0000f00f627..."} 
[2026-07-01 15:39:34] local.INFO: Processing buffer {"connection_id":120949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d270bb0012d7a0f8005ec7fe0000f00f627..."} 
[2026-07-01 15:39:34] local.INFO: Packet analysis {"connection_id":120949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d27"} 
[2026-07-01 15:39:34] local.INFO: Extracted packet for processing {"connection_id":120949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d27"} 
[2026-07-01 15:39:34] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385312,"longitude_deg":76.297408,"latitude_deg":9.9385312,"altitude":15,"angle":246,"satellites":39,"speed":0,"hex_longitude":"2d7a0f80","hex_latitude":"05ec7fe0","is_valid_coordinates":true} 
[2026-07-01 15: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-01 15:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422457600001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101277514978033664,"note":"Value kept but may cause issues"} 
[2026-07-01 15:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418084352,"note":"Value kept but may cause issues"} 
[2026-07-01 15:39: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-01 15:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782900526000,"timestamp_ms":1782900526000,"timestamp_seconds":1782900526,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d270bb0"} 
[2026-07-01 15: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-01 15:39:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 15: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":44,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-01 15:39:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1111,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15: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-01 15: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-01 15:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":120949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":120949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":120949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422457600001,"66":12287,"157":206,"87":13824,"24":0,"16":101277514978033664,"45":8795881941418084352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422457600001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:39:34] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:39:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101277514978033664,"km_value":101277514978033.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418084352,"description":"Unknown IO ID 45"} 
[2026-07-01 15:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422457600001,"power":12287,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418084352}} 
[2026-07-01 15:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":120949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417617,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:39:34] local.INFO: GPS data processed {"connection_id":120949,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:39:34] local.INFO: Acknowledgment sent {"connection_id":120949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:39:51] local.INFO: TCP Data received {"connection_id":120950,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120950,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:39:51] local.INFO: Processing buffer {"connection_id":120950,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:39:51] local.INFO: IMEI packet received {"connection_id":120950,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 15:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":120950,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:39:57] local.INFO: TCP Data received {"connection_id":120950,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120950,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:39:57] local.INFO: Processing buffer {"connection_id":120950,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:39:57] local.INFO: IMEI packet received {"connection_id":120950,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 15:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":120950,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:39:57] local.INFO: TCP Data received {"connection_id":119875,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d26b1d8012ccb94c0074a2768000c000429..."} 
[2026-07-01 15:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d26b1d8012ccb94c0074a2768000c000429..."} 
[2026-07-01 15:39:57] local.INFO: Processing buffer {"connection_id":119875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d26b1d8012ccb94c0074a2768000c000429..."} 
[2026-07-01 15:39:57] local.INFO: Packet analysis {"connection_id":119875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d26"} 
[2026-07-01 15:39:57] local.INFO: Extracted packet for processing {"connection_id":119875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d26"} 
[2026-07-01 15:39:57] local.INFO: GPS Element Parsed {"raw_longitude":751539392,"raw_latitude":122300264,"longitude_deg":75.1539392,"latitude_deg":12.2300264,"altitude":12,"angle":4,"satellites":41,"speed":48,"hex_longitude":"2ccb94c0","hex_latitude":"074a2768","is_valid_coordinates":true} 
[2026-07-01 15:39:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:39:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422528000001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:39:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333583538580357120,"note":"Value kept but may cause issues"} 
[2026-07-01 15:39:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3777042312428165120,"note":"Value kept but may cause issues"} 
[2026-07-01 15:39:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:39:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782900503000,"timestamp_ms":1782900503000,"timestamp_seconds":1782900503,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d26b1d8"} 
[2026-07-01 15:39:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:39:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15:39:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 15:39:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:39:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:39:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:39:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:39:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:39:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:39:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:39:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:39:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:39:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:39:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422528000001,"66":27745,"74":206,"85":37632,"24":48,"16":333583538580357120,"44":-3777042312428165120},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,85,24,16,44]} 
[2026-07-01 15:39:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:39:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:39:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422528000001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:39:57] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-07-01 15:39:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:39:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333583538580357120,"km_value":333583538580357.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:39:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3777042312428165120,"description":"Unknown IO ID 44"} 
[2026-07-01 15:39:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422528000001,"power":27745,"unknown_74":206,"unknown_85":37632,"ignition":48,"odometer":null,"unknown_44":-3777042312428165120}} 
[2026-07-01 15:39:57] local.INFO: DEBUG: GPS processor result {"connection_id":119875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:39:57] local.INFO: GPS data processed {"connection_id":119875,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:39:57] local.INFO: Acknowledgment sent {"connection_id":119875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:39:58] local.INFO: TCP Data received {"connection_id":120950,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d270bb0012d7a0f8005ec7fe0000f00f627..."} 
[2026-07-01 15:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d270bb0012d7a0f8005ec7fe0000f00f627..."} 
[2026-07-01 15:39:58] local.INFO: Processing buffer {"connection_id":120950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d270bb0012d7a0f8005ec7fe0000f00f627..."} 
[2026-07-01 15:39:58] local.INFO: Packet analysis {"connection_id":120950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d27"} 
[2026-07-01 15:39:58] local.INFO: Extracted packet for processing {"connection_id":120950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d27"} 
[2026-07-01 15:39:58] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385312,"longitude_deg":76.297408,"latitude_deg":9.9385312,"altitude":15,"angle":246,"satellites":39,"speed":0,"hex_longitude":"2d7a0f80","hex_latitude":"05ec7fe0","is_valid_coordinates":true} 
[2026-07-01 15: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-01 15:39:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422457600001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:39:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101277514978033664,"note":"Value kept but may cause issues"} 
[2026-07-01 15:39:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418084352,"note":"Value kept but may cause issues"} 
[2026-07-01 15:39:58] 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-01 15:39:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782900526000,"timestamp_ms":1782900526000,"timestamp_seconds":1782900526,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d270bb0"} 
[2026-07-01 15: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-01 15:39:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 15: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":44,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-01 15:39:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1111,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15: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-01 15: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-01 15:39:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:39:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:39:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120950,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:39:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120950,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:39:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:39:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:39:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:39:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422457600001,"66":12287,"157":206,"87":13824,"24":0,"16":101277514978033664,"45":8795881941418084352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:39:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:39:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:39:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422457600001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:39:58] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:39:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:39:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101277514978033664,"km_value":101277514978033.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:39:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418084352,"description":"Unknown IO ID 45"} 
[2026-07-01 15:39:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422457600001,"power":12287,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418084352}} 
[2026-07-01 15:39:58] local.INFO: DEBUG: GPS processor result {"connection_id":120950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417619,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:39:58] local.INFO: GPS data processed {"connection_id":120950,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:39:58] local.INFO: Acknowledgment sent {"connection_id":120950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:40:23] local.INFO: TCP Data received {"connection_id":119200,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:40:23] local.INFO: Processing buffer {"connection_id":119200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:40:23] local.INFO: IMEI packet received {"connection_id":119200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 15:40:23] local.INFO: IMEI acknowledgment sent {"connection_id":119200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:40:25] local.INFO: TCP Data received {"connection_id":119200,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:40:25] local.INFO: Processing buffer {"connection_id":119200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:40:25] local.INFO: IMEI packet received {"connection_id":119200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":119200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:40:25] local.INFO: TCP Data received {"connection_id":119200,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:40:25] local.INFO: Processing buffer {"connection_id":119200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:40:25] local.INFO: IMEI packet received {"connection_id":119200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":119200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:40:29] local.INFO: TCP Data received {"connection_id":120950,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d270bb0012d7a0f8005ec7fe0000f00f627..."} 
[2026-07-01 15:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d270bb0012d7a0f8005ec7fe0000f00f627..."} 
[2026-07-01 15:40:29] local.INFO: Processing buffer {"connection_id":120950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d270bb0012d7a0f8005ec7fe0000f00f627..."} 
[2026-07-01 15:40:29] local.INFO: Packet analysis {"connection_id":120950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d27"} 
[2026-07-01 15:40:29] local.INFO: Extracted packet for processing {"connection_id":120950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d27"} 
[2026-07-01 15:40:29] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385312,"longitude_deg":76.297408,"latitude_deg":9.9385312,"altitude":15,"angle":246,"satellites":39,"speed":0,"hex_longitude":"2d7a0f80","hex_latitude":"05ec7fe0","is_valid_coordinates":true} 
[2026-07-01 15: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-01 15:40:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422457600001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:40:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101277514978033664,"note":"Value kept but may cause issues"} 
[2026-07-01 15:40:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418084352,"note":"Value kept but may cause issues"} 
[2026-07-01 15:40:29] 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-01 15:40:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782900526000,"timestamp_ms":1782900526000,"timestamp_seconds":1782900526,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d270bb0"} 
[2026-07-01 15: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-01 15:40:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 15: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":44,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-01 15:40:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1111,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15: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-01 15: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-01 15:40:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:40:29] local.INFO: Teltonika packet parsed successfully {"connection_id":120950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:40:29] local.INFO: Passing IMEI to GPS processor {"connection_id":120950,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:40:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":120950,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:40:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:40:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:40:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:40:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422457600001,"66":12287,"157":206,"87":13824,"24":0,"16":101277514978033664,"45":8795881941418084352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:40:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:40:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:40:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422457600001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:40:29] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:40:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:40:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101277514978033664,"km_value":101277514978033.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:40:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418084352,"description":"Unknown IO ID 45"} 
[2026-07-01 15:40:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422457600001,"power":12287,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418084352}} 
[2026-07-01 15:40:29] local.INFO: DEBUG: GPS processor result {"connection_id":120950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417620,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:40:29] local.INFO: GPS data processed {"connection_id":120950,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:40:29] local.INFO: Acknowledgment sent {"connection_id":120950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:40:35] local.INFO: TCP Data received {"connection_id":119200,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:40:35] local.INFO: Processing buffer {"connection_id":119200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:40:35] local.INFO: IMEI packet received {"connection_id":119200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":119200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:40:37] local.INFO: TCP Data received {"connection_id":119200,"ip":"42.106.6.17","data_length":1348,"data_hex":"000000000000030f8e0a0000019f1d27a020012ccb5a80074ade88000e01262d..."} 
[2026-07-01 15:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119200,"packet_length":1348,"packet_hex":"000000000000030f8e0a0000019f1d27a020012ccb5a80074ade88000e01262d..."} 
[2026-07-01 15:40:37] local.INFO: Processing buffer {"connection_id":119200,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a0000019f1d27a020012ccb5a80074ade88000e01262d..."} 
[2026-07-01 15:40:37] local.INFO: Packet analysis {"connection_id":119200,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a0000019f1d27"} 
[2026-07-01 15:40:37] local.INFO: Extracted packet for processing {"connection_id":119200,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019f1d27"} 
[2026-07-01 15:40:37] local.INFO: GPS Element Parsed {"raw_longitude":751524480,"raw_latitude":122347144,"longitude_deg":75.152448,"latitude_deg":12.2347144,"altitude":14,"angle":294,"satellites":45,"speed":37,"hex_longitude":"2ccb5a80","hex_latitude":"074ade88","is_valid_coordinates":true} 
[2026-07-01 15:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422541312001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333586377553739776,"note":"Value kept but may cause issues"} 
[2026-07-01 15:40:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3784290293066461184,"note":"Value kept but may cause issues"} 
[2026-07-01 15:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782900564000,"timestamp_ms":1782900564000,"timestamp_seconds":1782900564,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d27a020"} 
[2026-07-01 15:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 15:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":119200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":119200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":119200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422541312001,"66":27843,"74":206,"85":37632,"24":37,"16":333586377553739776,"44":-3784290293066461184},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,85,24,16,44]} 
[2026-07-01 15:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422541312001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:40:37] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-07-01 15:40:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333586377553739776,"km_value":333586377553739.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:40:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3784290293066461184,"description":"Unknown IO ID 44"} 
[2026-07-01 15:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422541312001,"power":27843,"unknown_74":206,"unknown_85":37632,"ignition":37,"odometer":null,"unknown_44":-3784290293066461184}} 
[2026-07-01 15:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":119200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:40:37] local.INFO: GPS data processed {"connection_id":119200,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:40:37] local.INFO: Acknowledgment sent {"connection_id":119200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:40:37] local.INFO: Packet analysis {"connection_id":119200,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019f1d27"} 
[2026-07-01 15:40:37] local.INFO: Incomplete packet, waiting for more data {"connection_id":119200,"needed":795,"available":553} 
[2026-07-01 15:40:37] local.INFO: TCP Data received {"connection_id":119200,"ip":"42.106.6.17","data_length":1037,"data_hex":"0000000000019f1d270f98012ccbac80074a9d20000c015729002c0000000a00..."} 
[2026-07-01 15:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119200,"packet_length":1037,"packet_hex":"0000000000019f1d270f98012ccbac80074a9d20000c015729002c0000000a00..."} 
[2026-07-01 15:40:37] local.INFO: Processing buffer {"connection_id":119200,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f1d27c730012ccb39c0074af028000b01352c..."} 
[2026-07-01 15:40:37] local.INFO: Packet analysis {"connection_id":119200,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f1d27"} 
[2026-07-01 15:40:37] local.INFO: Extracted packet for processing {"connection_id":119200,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d27"} 
[2026-07-01 15:40:37] local.INFO: GPS Element Parsed {"raw_longitude":751516096,"raw_latitude":122351656,"longitude_deg":75.1516096,"latitude_deg":12.2351656,"altitude":11,"angle":309,"satellites":44,"speed":35,"hex_longitude":"2ccb39c0","hex_latitude":"074af028","is_valid_coordinates":true} 
[2026-07-01 15:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422544384001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333586832820273152,"note":"Value kept but may cause issues"} 
[2026-07-01 15:40:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3793578967296997376,"note":"Value kept but may cause issues"} 
[2026-07-01 15:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782900574000,"timestamp_ms":1782900574000,"timestamp_seconds":1782900574,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d27c730"} 
[2026-07-01 15:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 15:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":119200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":119200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":119200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422544384001,"66":27821,"74":206,"85":37632,"24":35,"16":333586832820273152,"44":-3793578967296997376},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,85,24,16,44]} 
[2026-07-01 15:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422544384001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:40:37] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-07-01 15:40:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333586832820273152,"km_value":333586832820273.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:40:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3793578967296997376,"description":"Unknown IO ID 44"} 
[2026-07-01 15:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422544384001,"power":27821,"unknown_74":206,"unknown_85":37632,"ignition":35,"odometer":null,"unknown_44":-3793578967296997376}} 
[2026-07-01 15:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":119200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:40:37] local.INFO: GPS data processed {"connection_id":119200,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:40:37] local.INFO: Acknowledgment sent {"connection_id":119200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:40:37] local.INFO: Packet analysis {"connection_id":119200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d27"} 
[2026-07-01 15:40:37] local.INFO: Extracted packet for processing {"connection_id":119200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d27"} 
[2026-07-01 15:40:37] local.INFO: GPS Element Parsed {"raw_longitude":751516096,"raw_latitude":122351656,"longitude_deg":75.1516096,"latitude_deg":12.2351656,"altitude":11,"angle":309,"satellites":44,"speed":35,"hex_longitude":"2ccb39c0","hex_latitude":"074af028","is_valid_coordinates":true} 
[2026-07-01 15:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422546944001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333586832820273152,"note":"Value kept but may cause issues"} 
[2026-07-01 15:40:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3802797272783116288,"note":"Value kept but may cause issues"} 
[2026-07-01 15:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782900574000,"timestamp_ms":1782900574000,"timestamp_seconds":1782900574,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d27c730"} 
[2026-07-01 15:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 15:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":119200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":119200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":119200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422546944001,"66":27821,"74":206,"85":37632,"24":35,"16":333586832820273152,"44":-3802797272783116288},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,85,24,16,44]} 
[2026-07-01 15:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422546944001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:40:37] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-07-01 15:40:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333586832820273152,"km_value":333586832820273.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:40:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3802797272783116288,"description":"Unknown IO ID 44"} 
[2026-07-01 15:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422546944001,"power":27821,"unknown_74":206,"unknown_85":37632,"ignition":35,"odometer":null,"unknown_44":-3802797272783116288}} 
[2026-07-01 15:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":119200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:40:37] local.INFO: GPS data processed {"connection_id":119200,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:40:37] local.INFO: Acknowledgment sent {"connection_id":119200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:40:57] local.INFO: TCP Data received {"connection_id":119075,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119075,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:40:57] local.INFO: Processing buffer {"connection_id":119075,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:40:57] local.INFO: IMEI packet received {"connection_id":119075,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 15:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":119075,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:40:58] local.INFO: TCP Data received {"connection_id":119075,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119075,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:40:58] local.INFO: Processing buffer {"connection_id":119075,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:40:58] local.INFO: IMEI packet received {"connection_id":119075,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 15:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":119075,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:40:58] local.INFO: TCP Data received {"connection_id":119075,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119075,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:40:58] local.INFO: Processing buffer {"connection_id":119075,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:40:58] local.INFO: IMEI packet received {"connection_id":119075,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 15:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":119075,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:41:02] local.INFO: TCP Data received {"connection_id":119075,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119075,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:41:02] local.INFO: Processing buffer {"connection_id":119075,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:41:02] local.INFO: IMEI packet received {"connection_id":119075,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 15:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":119075,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:41:03] local.INFO: TCP Data received {"connection_id":119075,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d28e070012d7a0f8005ec7fe0000f00f627..."} 
[2026-07-01 15:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d28e070012d7a0f8005ec7fe0000f00f627..."} 
[2026-07-01 15:41:03] local.INFO: Processing buffer {"connection_id":119075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d28e070012d7a0f8005ec7fe0000f00f627..."} 
[2026-07-01 15:41:03] local.INFO: Packet analysis {"connection_id":119075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d28"} 
[2026-07-01 15:41:03] local.INFO: Extracted packet for processing {"connection_id":119075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d28"} 
[2026-07-01 15:41:03] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385312,"longitude_deg":76.297408,"latitude_deg":9.9385312,"altitude":15,"angle":246,"satellites":39,"speed":0,"hex_longitude":"2d7a0f80","hex_latitude":"05ec7fe0","is_valid_coordinates":true} 
[2026-07-01 15:41: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-01 15:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422534656001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101277514978033664,"note":"Value kept but may cause issues"} 
[2026-07-01 15:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795389360208863232,"note":"Value kept but may cause issues"} 
[2026-07-01 15:41: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-01 15:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782900646000,"timestamp_ms":1782900646000,"timestamp_seconds":1782900646,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d28e070"} 
[2026-07-01 15: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-01 15:41:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 15: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 15:41:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15: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-01 15: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-01 15:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":119075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":119075,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":119075,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422534656001,"66":12287,"157":206,"87":13824,"24":0,"16":101277514978033664,"45":8795389360208863232},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422534656001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:41:03] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:41:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101277514978033664,"km_value":101277514978033.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795389360208863232,"description":"Unknown IO ID 45"} 
[2026-07-01 15:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422534656001,"power":12287,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795389360208863232}} 
[2026-07-01 15:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":119075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417624,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:41:03] local.INFO: GPS data processed {"connection_id":119075,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:41:03] local.INFO: Acknowledgment sent {"connection_id":119075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:41:19] local.INFO: TCP Data received {"connection_id":119201,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:41:19] local.INFO: Processing buffer {"connection_id":119201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:41:19] local.INFO: IMEI packet received {"connection_id":119201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 15:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":119201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:41:20] local.INFO: TCP Data received {"connection_id":119201,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:41:20] local.INFO: Processing buffer {"connection_id":119201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:41:20] local.INFO: IMEI packet received {"connection_id":119201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:41:20] local.INFO: IMEI acknowledgment sent {"connection_id":119201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:41:25] local.INFO: TCP Data received {"connection_id":119201,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:41:25] local.INFO: Processing buffer {"connection_id":119201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:41:25] local.INFO: IMEI packet received {"connection_id":119201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":119201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:41:26] local.INFO: TCP Data received {"connection_id":119201,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d27e670012ccb2700074b0348000a01412d..."} 
[2026-07-01 15:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d27e670012ccb2700074b0348000a01412d..."} 
[2026-07-01 15:41:26] local.INFO: Processing buffer {"connection_id":119201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d27e670012ccb2700074b0348000a01412d..."} 
[2026-07-01 15:41:26] local.INFO: Packet analysis {"connection_id":119201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d27"} 
[2026-07-01 15:41:26] local.INFO: Extracted packet for processing {"connection_id":119201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d27"} 
[2026-07-01 15:41:26] local.INFO: GPS Element Parsed {"raw_longitude":751511296,"raw_latitude":122356552,"longitude_deg":75.1511296,"latitude_deg":12.2356552,"altitude":10,"angle":321,"satellites":45,"speed":31,"hex_longitude":"2ccb2700","hex_latitude":"074b0348","is_valid_coordinates":true} 
[2026-07-01 15:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:41:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422546944001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:41:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333587163532754944,"note":"Value kept but may cause issues"} 
[2026-07-01 15:41:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3802797272783116288,"note":"Value kept but may cause issues"} 
[2026-07-01 15:41:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:41:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782900582000,"timestamp_ms":1782900582000,"timestamp_seconds":1782900582,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d27e670"} 
[2026-07-01 15:41:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:41:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 15:41:26] 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-01 15:41:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:41:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:41:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:41:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:41:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:41:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:41:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:41:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:41:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:41:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422546944001,"66":27821,"74":206,"85":37632,"24":31,"16":333587163532754944,"44":-3802797272783116288},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,85,24,16,44]} 
[2026-07-01 15:41:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:41:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:41:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422546944001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:41:26] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-07-01 15:41:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:41:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333587163532754944,"km_value":333587163532754.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:41:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3802797272783116288,"description":"Unknown IO ID 44"} 
[2026-07-01 15:41:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422546944001,"power":27821,"unknown_74":206,"unknown_85":37632,"ignition":31,"odometer":null,"unknown_44":-3802797272783116288}} 
[2026-07-01 15:41:26] local.INFO: DEBUG: GPS processor result {"connection_id":119201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:41:26] local.INFO: GPS data processed {"connection_id":119201,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:41:26] local.INFO: Acknowledgment sent {"connection_id":119201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:41:34] local.INFO: TCP Data received {"connection_id":119075,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d28e070012d7a0f8005ec7fe0000f00f627..."} 
[2026-07-01 15:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d28e070012d7a0f8005ec7fe0000f00f627..."} 
[2026-07-01 15:41:34] local.INFO: Processing buffer {"connection_id":119075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d28e070012d7a0f8005ec7fe0000f00f627..."} 
[2026-07-01 15:41:34] local.INFO: Packet analysis {"connection_id":119075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d28"} 
[2026-07-01 15:41:34] local.INFO: Extracted packet for processing {"connection_id":119075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d28"} 
[2026-07-01 15:41:34] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385312,"longitude_deg":76.297408,"latitude_deg":9.9385312,"altitude":15,"angle":246,"satellites":39,"speed":0,"hex_longitude":"2d7a0f80","hex_latitude":"05ec7fe0","is_valid_coordinates":true} 
[2026-07-01 15:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422565376001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101277514978033664,"note":"Value kept but may cause issues"} 
[2026-07-01 15:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795389360208863232,"note":"Value kept but may cause issues"} 
[2026-07-01 15:41: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-01 15:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782900646000,"timestamp_ms":1782900646000,"timestamp_seconds":1782900646,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d28e070"} 
[2026-07-01 15:41:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:41: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-01 15:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 15:41: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-01 15:41:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:41:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":119075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":119075,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":119075,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:41:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422565376001,"66":12287,"157":206,"87":13824,"24":0,"16":101277514978033664,"45":8795389360208863232},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422565376001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:41:34] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:41:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101277514978033664,"km_value":101277514978033.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795389360208863232,"description":"Unknown IO ID 45"} 
[2026-07-01 15:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422565376001,"power":12287,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795389360208863232}} 
[2026-07-01 15:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":119075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417626,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:41:34] local.INFO: GPS data processed {"connection_id":119075,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:41:34] local.INFO: Acknowledgment sent {"connection_id":119075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:41:57] local.INFO: TCP Data received {"connection_id":120951,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120951,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:41:57] local.INFO: Processing buffer {"connection_id":120951,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:41:57] local.INFO: IMEI packet received {"connection_id":120951,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 15:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":120951,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:41:57] local.INFO: TCP Data received {"connection_id":119201,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d291b08012ccaa5c0074c12280011012c2e..."} 
[2026-07-01 15:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d291b08012ccaa5c0074c12280011012c2e..."} 
[2026-07-01 15:41:57] local.INFO: Processing buffer {"connection_id":119201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d291b08012ccaa5c0074c12280011012c2e..."} 
[2026-07-01 15:41:57] local.INFO: Packet analysis {"connection_id":119201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d29"} 
[2026-07-01 15:41:57] local.INFO: Extracted packet for processing {"connection_id":119201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d29"} 
[2026-07-01 15:41:57] local.INFO: GPS Element Parsed {"raw_longitude":751478208,"raw_latitude":122425896,"longitude_deg":75.1478208,"latitude_deg":12.2425896,"altitude":17,"angle":300,"satellites":46,"speed":43,"hex_longitude":"2ccaa5c0","hex_latitude":"074c1228","is_valid_coordinates":true} 
[2026-07-01 15: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-01 15:41:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422567936001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:41:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333590968873779200,"note":"Value kept but may cause issues"} 
[2026-07-01 15:41:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3839670494714071040,"note":"Value kept but may cause issues"} 
[2026-07-01 15:41:57] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,85,24,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-01 15:41:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782900661000,"timestamp_ms":1782900661000,"timestamp_seconds":1782900661,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d291b08"} 
[2026-07-01 15: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-01 15:41:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 15:41:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15: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-01 15: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-01 15:41:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:41:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:41:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:41:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:41:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:41:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:41:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:41:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422567936001,"66":27843,"16":333590968873779200,"85":37632,"24":43,"44":-3839670494714071040},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,85,24,44]} 
[2026-07-01 15:41:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:41:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:41:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422567936001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:41:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333590968873779200,"km_value":333590968873779.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:41:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:41:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3839670494714071040,"description":"Unknown IO ID 44"} 
[2026-07-01 15:41:57] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456422567936001,"power":27843,"odometer":null,"unknown_85":37632,"ignition":43,"unknown_44":-3839670494714071040}} 
[2026-07-01 15:41:57] local.INFO: DEBUG: GPS processor result {"connection_id":119201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:41:57] local.INFO: GPS data processed {"connection_id":119201,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:41:57] local.INFO: Acknowledgment sent {"connection_id":119201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:42:02] local.INFO: TCP Data received {"connection_id":120951,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120951,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:42:02] local.INFO: Processing buffer {"connection_id":120951,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:42:02] local.INFO: IMEI packet received {"connection_id":120951,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 15:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":120951,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:42:03] local.INFO: TCP Data received {"connection_id":120951,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d290780012d7a114005ec7f88000f00f627..."} 
[2026-07-01 15:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d290780012d7a114005ec7f88000f00f627..."} 
[2026-07-01 15:42:03] local.INFO: Processing buffer {"connection_id":120951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d290780012d7a114005ec7f88000f00f627..."} 
[2026-07-01 15:42:03] local.INFO: Packet analysis {"connection_id":120951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d29"} 
[2026-07-01 15:42:03] local.INFO: Extracted packet for processing {"connection_id":120951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d29"} 
[2026-07-01 15:42:03] local.INFO: GPS Element Parsed {"raw_longitude":762974528,"raw_latitude":99385224,"longitude_deg":76.2974528,"latitude_deg":9.9385224,"altitude":15,"angle":246,"satellites":39,"speed":0,"hex_longitude":"2d7a1140","hex_latitude":"05ec7f88","is_valid_coordinates":true} 
[2026-07-01 15:42: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-01 15:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422565376001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101277514978033664,"note":"Value kept but may cause issues"} 
[2026-07-01 15:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795389360208863232,"note":"Value kept but may cause issues"} 
[2026-07-01 15:42: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-01 15:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782900656000,"timestamp_ms":1782900656000,"timestamp_seconds":1782900656,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d290780"} 
[2026-07-01 15:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:42: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-01 15:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 15:42:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:42:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":120951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":120951,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":120951,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422565376001,"66":11297,"157":206,"87":13824,"24":0,"16":101277514978033664,"45":8795389360208863232},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422565376001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:42:03] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:42:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101277514978033664,"km_value":101277514978033.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795389360208863232,"description":"Unknown IO ID 45"} 
[2026-07-01 15:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422565376001,"power":11297,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795389360208863232}} 
[2026-07-01 15:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":120951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417628,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:42:03] local.INFO: GPS data processed {"connection_id":120951,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:42:03] local.INFO: Acknowledgment sent {"connection_id":120951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:42:07] local.INFO: TCP Data received {"connection_id":120951,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d290780012d7a114005ec7f88000f00f627..."} 
[2026-07-01 15:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d290780012d7a114005ec7f88000f00f627..."} 
[2026-07-01 15:42:07] local.INFO: Processing buffer {"connection_id":120951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d290780012d7a114005ec7f88000f00f627..."} 
[2026-07-01 15:42:07] local.INFO: Packet analysis {"connection_id":120951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d29"} 
[2026-07-01 15:42:07] local.INFO: Extracted packet for processing {"connection_id":120951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d29"} 
[2026-07-01 15:42:07] local.INFO: GPS Element Parsed {"raw_longitude":762974528,"raw_latitude":99385224,"longitude_deg":76.2974528,"latitude_deg":9.9385224,"altitude":15,"angle":246,"satellites":39,"speed":0,"hex_longitude":"2d7a1140","hex_latitude":"05ec7f88","is_valid_coordinates":true} 
[2026-07-01 15:42: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-01 15:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422567936001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101277514978033664,"note":"Value kept but may cause issues"} 
[2026-07-01 15:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418084352,"note":"Value kept but may cause issues"} 
[2026-07-01 15:42:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782900656000,"timestamp_ms":1782900656000,"timestamp_seconds":1782900656,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d290780"} 
[2026-07-01 15:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:42:07] 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-01 15:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-01 15:42:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:42:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":120951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":120951,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":120951,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:42:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422567936001,"66":11297,"157":206,"87":13824,"24":0,"16":101277514978033664,"45":8795881941418084352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422567936001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:42:07] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:42:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101277514978033664,"km_value":101277514978033.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418084352,"description":"Unknown IO ID 45"} 
[2026-07-01 15:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422567936001,"power":11297,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418084352}} 
[2026-07-01 15:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":120951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417629,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:42:07] local.INFO: GPS data processed {"connection_id":120951,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:42:07] local.INFO: Acknowledgment sent {"connection_id":120951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:42:20] local.INFO: TCP Data received {"connection_id":120953,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:42:20] local.INFO: Processing buffer {"connection_id":120953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:42:20] local.INFO: IMEI packet received {"connection_id":120953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 15:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":120953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:42:21] local.INFO: TCP Data received {"connection_id":120953,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:42:21] local.INFO: Processing buffer {"connection_id":120953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:42:21] local.INFO: IMEI packet received {"connection_id":120953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:42:21] local.INFO: IMEI acknowledgment sent {"connection_id":120953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:42:25] local.INFO: TCP Data received {"connection_id":120953,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:42:25] local.INFO: Processing buffer {"connection_id":120953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:42:25] local.INFO: IMEI packet received {"connection_id":120953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":120953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:42:30] local.INFO: TCP Data received {"connection_id":120953,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d292e90012cca9200074c1a780013011e2e..."} 
[2026-07-01 15:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d292e90012cca9200074c1a780013011e2e..."} 
[2026-07-01 15:42:30] local.INFO: Processing buffer {"connection_id":120953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d292e90012cca9200074c1a780013011e2e..."} 
[2026-07-01 15:42:30] local.INFO: Packet analysis {"connection_id":120953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d29"} 
[2026-07-01 15:42:30] local.INFO: Extracted packet for processing {"connection_id":120953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d29"} 
[2026-07-01 15:42:30] local.INFO: GPS Element Parsed {"raw_longitude":751473152,"raw_latitude":122428024,"longitude_deg":75.1473152,"latitude_deg":12.2428024,"altitude":19,"angle":286,"satellites":46,"speed":42,"hex_longitude":"2cca9200","hex_latitude":"074c1a78","is_valid_coordinates":true} 
[2026-07-01 15: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-01 15:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422569216001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333591226571816960,"note":"Value kept but may cause issues"} 
[2026-07-01 15:42:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3844455569317287936,"note":"Value kept but may cause issues"} 
[2026-07-01 15:42:30] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,85,24,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-01 15:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782900666000,"timestamp_ms":1782900666000,"timestamp_seconds":1782900666,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d292e90"} 
[2026-07-01 15: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-01 15:42:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 15:42:30] 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-01 15: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-01 15: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-01 15:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":120953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":120953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":120953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:42:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422569216001,"66":27821,"16":333591226571816960,"85":37632,"24":42,"44":-3844455569317287936},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,85,24,44]} 
[2026-07-01 15:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422569216001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333591226571816960,"km_value":333591226571816.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:42:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:42:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3844455569317287936,"description":"Unknown IO ID 44"} 
[2026-07-01 15:42:30] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456422569216001,"power":27821,"odometer":null,"unknown_85":37632,"ignition":42,"unknown_44":-3844455569317287936}} 
[2026-07-01 15:42:30] local.INFO: DEBUG: GPS processor result {"connection_id":120953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:42:30] local.INFO: GPS data processed {"connection_id":120953,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:42:30] local.INFO: Acknowledgment sent {"connection_id":120953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:42:32] local.INFO: TCP Data received {"connection_id":120953,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d294218012cca7ec0074c1de8001401132c..."} 
[2026-07-01 15:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d294218012cca7ec0074c1de8001401132c..."} 
[2026-07-01 15:42:32] local.INFO: Processing buffer {"connection_id":120953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d294218012cca7ec0074c1de8001401132c..."} 
[2026-07-01 15:42:32] local.INFO: Packet analysis {"connection_id":120953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d29"} 
[2026-07-01 15:42:32] local.INFO: Extracted packet for processing {"connection_id":120953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d29"} 
[2026-07-01 15:42:32] local.INFO: GPS Element Parsed {"raw_longitude":751468224,"raw_latitude":122428904,"longitude_deg":75.1468224,"latitude_deg":12.2428904,"altitude":20,"angle":275,"satellites":44,"speed":38,"hex_longitude":"2cca7ec0","hex_latitude":"074c1de8","is_valid_coordinates":true} 
[2026-07-01 15:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422570496001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333591467089985536,"note":"Value kept but may cause issues"} 
[2026-07-01 15:42:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3850014700106778624,"note":"Value kept but may cause issues"} 
[2026-07-01 15:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782900671000,"timestamp_ms":1782900671000,"timestamp_seconds":1782900671,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d294218"} 
[2026-07-01 15:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:42:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 15:42:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:42:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":120953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":120953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":120953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422570496001,"66":27930,"159":206,"85":37632,"24":38,"16":333591467089985536,"44":-3850014700106778624},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-07-01 15:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422570496001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:42:32] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-07-01 15:42:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333591467089985536,"km_value":333591467089985.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:42:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3850014700106778624,"description":"Unknown IO ID 44"} 
[2026-07-01 15:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422570496001,"power":27930,"unknown_159":206,"unknown_85":37632,"ignition":38,"odometer":null,"unknown_44":-3850014700106778624}} 
[2026-07-01 15:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":120953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:42:32] local.INFO: GPS data processed {"connection_id":120953,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:42:32] local.INFO: Acknowledgment sent {"connection_id":120953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:42:51] local.INFO: TCP Data received {"connection_id":119877,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119877,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:42:51] local.INFO: Processing buffer {"connection_id":119877,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:42:51] local.INFO: IMEI packet received {"connection_id":119877,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 15:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":119877,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:42:57] local.INFO: TCP Data received {"connection_id":119877,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119877,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:42:57] local.INFO: Processing buffer {"connection_id":119877,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:42:57] local.INFO: IMEI packet received {"connection_id":119877,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 15:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":119877,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:43:04] local.INFO: TCP Data received {"connection_id":120953,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d2a3c18012cc93980074c2ec8000c00fc2a..."} 
[2026-07-01 15:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d2a3c18012cc93980074c2ec8000c00fc2a..."} 
[2026-07-01 15:43:04] local.INFO: Processing buffer {"connection_id":120953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d2a3c18012cc93980074c2ec8000c00fc2a..."} 
[2026-07-01 15:43:04] local.INFO: Packet analysis {"connection_id":120953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d2a"} 
[2026-07-01 15:43:04] local.INFO: Extracted packet for processing {"connection_id":120953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d2a"} 
[2026-07-01 15:43:04] local.INFO: GPS Element Parsed {"raw_longitude":751384960,"raw_latitude":122433224,"longitude_deg":75.138496,"latitude_deg":12.2433224,"altitude":12,"angle":252,"satellites":42,"speed":58,"hex_longitude":"2cc93980","hex_latitude":"074c2ec8","is_valid_coordinates":true} 
[2026-07-01 15:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422586368001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333595568783753216,"note":"Value kept but may cause issues"} 
[2026-07-01 15:43:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3936146042977970176,"note":"Value kept but may cause issues"} 
[2026-07-01 15:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782900735000,"timestamp_ms":1782900735000,"timestamp_seconds":1782900735,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d2a3c18"} 
[2026-07-01 15: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-01 15:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-01 15:43:04] 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-01 15: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-01 15: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-01 15:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":120953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":120953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":120953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422586368001,"66":27865,"161":206,"85":37632,"24":58,"16":333595568783753216,"44":-3936146042977970176},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,44]} 
[2026-07-01 15:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422586368001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:43:04] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-01 15:43:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333595568783753216,"km_value":333595568783753.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:43:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3936146042977970176,"description":"Unknown IO ID 44"} 
[2026-07-01 15:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422586368001,"power":27865,"unknown_161":206,"unknown_85":37632,"ignition":58,"odometer":null,"unknown_44":-3936146042977970176}} 
[2026-07-01 15:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":120953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:43:04] local.INFO: GPS data processed {"connection_id":120953,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:43:04] local.INFO: Acknowledgment sent {"connection_id":120953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:43:19] local.INFO: TCP Data received {"connection_id":119877,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d290780012d7a114005ec7f88000f00f627..."} 
[2026-07-01 15:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d290780012d7a114005ec7f88000f00f627..."} 
[2026-07-01 15:43:19] local.INFO: Processing buffer {"connection_id":119877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d290780012d7a114005ec7f88000f00f627..."} 
[2026-07-01 15:43:19] local.INFO: Packet analysis {"connection_id":119877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d29"} 
[2026-07-01 15:43:19] local.INFO: Extracted packet for processing {"connection_id":119877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d29"} 
[2026-07-01 15:43:19] local.INFO: GPS Element Parsed {"raw_longitude":762974528,"raw_latitude":99385224,"longitude_deg":76.2974528,"latitude_deg":9.9385224,"altitude":15,"angle":246,"satellites":39,"speed":0,"hex_longitude":"2d7a1140","hex_latitude":"05ec7f88","is_valid_coordinates":true} 
[2026-07-01 15:43: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-01 15:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422567936001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101277514978033664,"note":"Value kept but may cause issues"} 
[2026-07-01 15:43:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418084352,"note":"Value kept but may cause issues"} 
[2026-07-01 15:43: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-01 15:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782900656000,"timestamp_ms":1782900656000,"timestamp_seconds":1782900656,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d290780"} 
[2026-07-01 15: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-01 15:43:19] 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-01 15: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":44,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-01 15:43:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15: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-01 15: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-01 15:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":119877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":119877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":119877,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:43:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422567936001,"66":11297,"157":206,"87":13824,"24":0,"16":101277514978033664,"45":8795881941418084352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422567936001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:43:19] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:43:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101277514978033664,"km_value":101277514978033.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:43:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418084352,"description":"Unknown IO ID 45"} 
[2026-07-01 15:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422567936001,"power":11297,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418084352}} 
[2026-07-01 15:43:19] local.INFO: DEBUG: GPS processor result {"connection_id":119877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417633,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:43:19] local.INFO: GPS data processed {"connection_id":119877,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:43:19] local.INFO: Acknowledgment sent {"connection_id":119877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:43:25] local.INFO: TCP Data received {"connection_id":119879,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:43:25] local.INFO: Processing buffer {"connection_id":119879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:43:25] local.INFO: IMEI packet received {"connection_id":119879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 15:43:25] local.INFO: IMEI acknowledgment sent {"connection_id":119879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:43:26] local.INFO: TCP Data received {"connection_id":119879,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:43:26] local.INFO: Processing buffer {"connection_id":119879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:43:26] local.INFO: IMEI packet received {"connection_id":119879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":119879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:43:30] local.INFO: TCP Data received {"connection_id":119879,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:43:30] local.INFO: Processing buffer {"connection_id":119879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:43:30] local.INFO: IMEI packet received {"connection_id":119879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":119879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:43:32] local.INFO: TCP Data received {"connection_id":119879,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d2a4bb8012cc922c0074c29f8000c01082a..."} 
[2026-07-01 15:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d2a4bb8012cc922c0074c29f8000c01082a..."} 
[2026-07-01 15:43:32] local.INFO: Processing buffer {"connection_id":119879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d2a4bb8012cc922c0074c29f8000c01082a..."} 
[2026-07-01 15:43:32] local.INFO: Packet analysis {"connection_id":119879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d2a"} 
[2026-07-01 15:43:32] local.INFO: Extracted packet for processing {"connection_id":119879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d2a"} 
[2026-07-01 15:43:32] local.INFO: GPS Element Parsed {"raw_longitude":751379136,"raw_latitude":122431992,"longitude_deg":75.1379136,"latitude_deg":12.2431992,"altitude":12,"angle":264,"satellites":42,"speed":59,"hex_longitude":"2cc922c0","hex_latitude":"074c29f8","is_valid_coordinates":true} 
[2026-07-01 15:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422588160001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333595847956627456,"note":"Value kept but may cause issues"} 
[2026-07-01 15:43:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3946982829582268416,"note":"Value kept but may cause issues"} 
[2026-07-01 15:43:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782900739000,"timestamp_ms":1782900739000,"timestamp_seconds":1782900739,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d2a4bb8"} 
[2026-07-01 15:43:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:43:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 15:43:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:43:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:43:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":119879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":119879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":119879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:43:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422588160001,"66":27767,"161":206,"85":37632,"24":59,"16":333595847956627456,"44":-3946982829582268416},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,44]} 
[2026-07-01 15:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422588160001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:43:32] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-01 15:43:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333595847956627456,"km_value":333595847956627.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:43:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3946982829582268416,"description":"Unknown IO ID 44"} 
[2026-07-01 15:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422588160001,"power":27767,"unknown_161":206,"unknown_85":37632,"ignition":59,"odometer":null,"unknown_44":-3946982829582268416}} 
[2026-07-01 15:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":119879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:43:32] local.INFO: GPS data processed {"connection_id":119879,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:43:32] local.INFO: Acknowledgment sent {"connection_id":119879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:43:36] local.INFO: TCP Data received {"connection_id":119879,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d2a5f40012cc90540074c2a68000e01152c..."} 
[2026-07-01 15:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d2a5f40012cc90540074c2a68000e01152c..."} 
[2026-07-01 15:43:36] local.INFO: Processing buffer {"connection_id":119879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d2a5f40012cc90540074c2a68000e01152c..."} 
[2026-07-01 15:43:36] local.INFO: Packet analysis {"connection_id":119879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d2a"} 
[2026-07-01 15:43:36] local.INFO: Extracted packet for processing {"connection_id":119879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d2a"} 
[2026-07-01 15:43:36] local.INFO: GPS Element Parsed {"raw_longitude":751371584,"raw_latitude":122432104,"longitude_deg":75.1371584,"latitude_deg":12.2432104,"altitude":14,"angle":277,"satellites":44,"speed":59,"hex_longitude":"2cc90540","hex_latitude":"074c2a68","is_valid_coordinates":true} 
[2026-07-01 15:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422589184001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333596208733880320,"note":"Value kept but may cause issues"} 
[2026-07-01 15:43:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3953386385302751232,"note":"Value kept but may cause issues"} 
[2026-07-01 15:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782900744000,"timestamp_ms":1782900744000,"timestamp_seconds":1782900744,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d2a5f40"} 
[2026-07-01 15:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 15:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":119879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":119879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":119879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422589184001,"66":27832,"161":206,"85":37632,"24":59,"16":333596208733880320,"44":-3953386385302751232},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,44]} 
[2026-07-01 15:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422589184001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:43:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-01 15:43:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333596208733880320,"km_value":333596208733880.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:43:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3953386385302751232,"description":"Unknown IO ID 44"} 
[2026-07-01 15:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422589184001,"power":27832,"unknown_161":206,"unknown_85":37632,"ignition":59,"odometer":null,"unknown_44":-3953386385302751232}} 
[2026-07-01 15:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":119879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:43:37] local.INFO: GPS data processed {"connection_id":119879,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:43:37] local.INFO: Acknowledgment sent {"connection_id":119879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:43:52] local.INFO: TCP Data received {"connection_id":119880,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119880,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:43:52] local.INFO: Processing buffer {"connection_id":119880,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:43:52] local.INFO: IMEI packet received {"connection_id":119880,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 15:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":119880,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:43:57] local.INFO: TCP Data received {"connection_id":119880,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119880,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:43:57] local.INFO: Processing buffer {"connection_id":119880,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:43:57] local.INFO: IMEI packet received {"connection_id":119880,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 15:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":119880,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:43:58] local.INFO: TCP Data received {"connection_id":119880,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d290780012d7a114005ec7f88000f00f627..."} 
[2026-07-01 15:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d290780012d7a114005ec7f88000f00f627..."} 
[2026-07-01 15:43:58] local.INFO: Processing buffer {"connection_id":119880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d290780012d7a114005ec7f88000f00f627..."} 
[2026-07-01 15:43:58] local.INFO: Packet analysis {"connection_id":119880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d29"} 
[2026-07-01 15:43:58] local.INFO: Extracted packet for processing {"connection_id":119880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d29"} 
[2026-07-01 15:43:58] local.INFO: GPS Element Parsed {"raw_longitude":762974528,"raw_latitude":99385224,"longitude_deg":76.2974528,"latitude_deg":9.9385224,"altitude":15,"angle":246,"satellites":39,"speed":0,"hex_longitude":"2d7a1140","hex_latitude":"05ec7f88","is_valid_coordinates":true} 
[2026-07-01 15:43: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-01 15:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422567936001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101277514978033664,"note":"Value kept but may cause issues"} 
[2026-07-01 15:43:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418084352,"note":"Value kept but may cause issues"} 
[2026-07-01 15:43:58] 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-01 15:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782900656000,"timestamp_ms":1782900656000,"timestamp_seconds":1782900656,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d290780"} 
[2026-07-01 15: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-01 15:43:58] 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-01 15: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":44,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-01 15:43:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15: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-01 15: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-01 15:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119880,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119880,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:43:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422567936001,"66":11297,"157":206,"87":13824,"24":0,"16":101277514978033664,"45":8795881941418084352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422567936001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:43:58] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:43:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:43:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101277514978033664,"km_value":101277514978033.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:43:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418084352,"description":"Unknown IO ID 45"} 
[2026-07-01 15:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422567936001,"power":11297,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418084352}} 
[2026-07-01 15:43:58] local.INFO: DEBUG: GPS processor result {"connection_id":119880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417636,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:43:58] local.INFO: GPS data processed {"connection_id":119880,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:43:58] local.INFO: Acknowledgment sent {"connection_id":119880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:44:20] local.INFO: TCP Data received {"connection_id":119202,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:44:20] local.INFO: Processing buffer {"connection_id":119202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:44:20] local.INFO: IMEI packet received {"connection_id":119202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 15:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":119202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:44:24] local.INFO: TCP Data received {"connection_id":119202,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:44:24] local.INFO: Processing buffer {"connection_id":119202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:44:24] local.INFO: IMEI packet received {"connection_id":119202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:44:24] local.INFO: IMEI acknowledgment sent {"connection_id":119202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:44:25] local.INFO: TCP Data received {"connection_id":119202,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d2b3618012cc84a80074d14f8001001332d..."} 
[2026-07-01 15:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d2b3618012cc84a80074d14f8001001332d..."} 
[2026-07-01 15:44:25] local.INFO: Processing buffer {"connection_id":119202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d2b3618012cc84a80074d14f8001001332d..."} 
[2026-07-01 15:44:25] local.INFO: Packet analysis {"connection_id":119202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d2b"} 
[2026-07-01 15:44:25] local.INFO: Extracted packet for processing {"connection_id":119202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d2b"} 
[2026-07-01 15:44:25] local.INFO: GPS Element Parsed {"raw_longitude":751323776,"raw_latitude":122492152,"longitude_deg":75.1323776,"latitude_deg":12.2492152,"altitude":16,"angle":307,"satellites":45,"speed":53,"hex_longitude":"2cc84a80","hex_latitude":"074d14f8","is_valid_coordinates":true} 
[2026-07-01 15:44:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:44:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422603008001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:44:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333600078499414016,"note":"Value kept but may cause issues"} 
[2026-07-01 15:44:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4007711055793899520,"note":"Value kept but may cause issues"} 
[2026-07-01 15:44:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:44:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782900799000,"timestamp_ms":1782900799000,"timestamp_seconds":1782900799,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d2b3618"} 
[2026-07-01 15:44:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:44:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15:44:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 15:44:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:44:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:44:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:44:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:44:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:44:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:44:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:44:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:44:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:44:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:44:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422603008001,"66":27658,"88":206,"85":37632,"24":53,"16":333600078499414016,"44":-4007711055793899520},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,44]} 
[2026-07-01 15:44:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:44:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:44:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422603008001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:44:25] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-07-01 15:44:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:44:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333600078499414016,"km_value":333600078499414.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:44:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4007711055793899520,"description":"Unknown IO ID 44"} 
[2026-07-01 15:44:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422603008001,"power":27658,"unknown_88":206,"unknown_85":37632,"ignition":53,"odometer":null,"unknown_44":-4007711055793899520}} 
[2026-07-01 15:44:25] local.INFO: DEBUG: GPS processor result {"connection_id":119202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:44:25] local.INFO: GPS data processed {"connection_id":119202,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:44:25] local.INFO: Acknowledgment sent {"connection_id":119202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:44:30] local.INFO: TCP Data received {"connection_id":119880,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d290780012d7a114005ec7f88000f00f627..."} 
[2026-07-01 15:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d290780012d7a114005ec7f88000f00f627..."} 
[2026-07-01 15:44:30] local.INFO: Processing buffer {"connection_id":119880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d290780012d7a114005ec7f88000f00f627..."} 
[2026-07-01 15:44:30] local.INFO: Packet analysis {"connection_id":119880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d29"} 
[2026-07-01 15:44:30] local.INFO: Extracted packet for processing {"connection_id":119880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d29"} 
[2026-07-01 15:44:30] local.INFO: GPS Element Parsed {"raw_longitude":762974528,"raw_latitude":99385224,"longitude_deg":76.2974528,"latitude_deg":9.9385224,"altitude":15,"angle":246,"satellites":39,"speed":0,"hex_longitude":"2d7a1140","hex_latitude":"05ec7f88","is_valid_coordinates":true} 
[2026-07-01 15:44:30] 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-01 15:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422567936001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101277514978033664,"note":"Value kept but may cause issues"} 
[2026-07-01 15:44:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418084352,"note":"Value kept but may cause issues"} 
[2026-07-01 15:44:30] 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-01 15:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782900656000,"timestamp_ms":1782900656000,"timestamp_seconds":1782900656,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d290780"} 
[2026-07-01 15:44:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:44:30] 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-01 15:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-01 15:44:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:44:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:44:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":119880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":119880,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":119880,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:44:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422567936001,"66":11297,"157":206,"87":13824,"24":0,"16":101277514978033664,"45":8795881941418084352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422567936001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:44:30] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:44:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101277514978033664,"km_value":101277514978033.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:44:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418084352,"description":"Unknown IO ID 45"} 
[2026-07-01 15:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422567936001,"power":11297,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418084352}} 
[2026-07-01 15:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":119880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417638,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:44:30] local.INFO: GPS data processed {"connection_id":119880,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:44:30] local.INFO: Acknowledgment sent {"connection_id":119880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:44:50] local.INFO: TCP Data received {"connection_id":119076,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 15:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119076,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 15:44:50] local.INFO: Processing buffer {"connection_id":119076,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 15:44:50] local.INFO: IMEI packet received {"connection_id":119076,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 15:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":119076,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:44:52] local.INFO: TCP Data received {"connection_id":119077,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119077,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:44:52] local.INFO: Processing buffer {"connection_id":119077,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:44:52] local.INFO: IMEI packet received {"connection_id":119077,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 15:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":119077,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:44:56] local.INFO: TCP Data received {"connection_id":119202,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d2c0908012cc77480074d3400000a003c2b..."} 
[2026-07-01 15:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d2c0908012cc77480074d3400000a003c2b..."} 
[2026-07-01 15:44:56] local.INFO: Processing buffer {"connection_id":119202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d2c0908012cc77480074d3400000a003c2b..."} 
[2026-07-01 15:44:56] local.INFO: Packet analysis {"connection_id":119202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d2c"} 
[2026-07-01 15:44:56] local.INFO: Extracted packet for processing {"connection_id":119202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d2c"} 
[2026-07-01 15:44:56] local.INFO: GPS Element Parsed {"raw_longitude":751268992,"raw_latitude":122500096,"longitude_deg":75.1268992,"latitude_deg":12.2500096,"altitude":10,"angle":60,"satellites":43,"speed":7,"hex_longitude":"2cc77480","hex_latitude":"074d3400","is_valid_coordinates":true} 
[2026-07-01 15:44:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:44:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422617600001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:44:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333602878818091008,"note":"Value kept but may cause issues"} 
[2026-07-01 15:44:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4074913206480195584,"note":"Value kept but may cause issues"} 
[2026-07-01 15:44:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:44:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782900853000,"timestamp_ms":1782900853000,"timestamp_seconds":1782900853,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d2c0908"} 
[2026-07-01 15:44:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:44:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15:44:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 15:44:56] 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-01 15:44:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:44:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:44:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:44:56] local.INFO: Teltonika packet parsed successfully {"connection_id":119202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:44:56] local.INFO: Passing IMEI to GPS processor {"connection_id":119202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:44:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":119202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:44:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:44:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:44:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:44:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422617600001,"66":27865,"88":206,"85":37632,"24":7,"16":333602878818091008,"44":-4074913206480195584},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,44]} 
[2026-07-01 15:44:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:44:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:44:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422617600001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:44:56] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-07-01 15:44:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:44:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333602878818091008,"km_value":333602878818091.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:44:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4074913206480195584,"description":"Unknown IO ID 44"} 
[2026-07-01 15:44:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422617600001,"power":27865,"unknown_88":206,"unknown_85":37632,"ignition":7,"odometer":null,"unknown_44":-4074913206480195584}} 
[2026-07-01 15:44:57] local.INFO: DEBUG: GPS processor result {"connection_id":119202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:44:57] local.INFO: GPS data processed {"connection_id":119202,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:44:57] local.INFO: Acknowledgment sent {"connection_id":119202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:44:57] local.INFO: TCP Data received {"connection_id":119077,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119077,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:44:57] local.INFO: Processing buffer {"connection_id":119077,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:44:57] local.INFO: IMEI packet received {"connection_id":119077,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 15:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":119077,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:44:59] local.INFO: TCP Data received {"connection_id":119077,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d290780012d7a114005ec7f88000f00f627..."} 
[2026-07-01 15:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d290780012d7a114005ec7f88000f00f627..."} 
[2026-07-01 15:44:59] local.INFO: Processing buffer {"connection_id":119077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d290780012d7a114005ec7f88000f00f627..."} 
[2026-07-01 15:44:59] local.INFO: Packet analysis {"connection_id":119077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d29"} 
[2026-07-01 15:44:59] local.INFO: Extracted packet for processing {"connection_id":119077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d29"} 
[2026-07-01 15:44:59] local.INFO: GPS Element Parsed {"raw_longitude":762974528,"raw_latitude":99385224,"longitude_deg":76.2974528,"latitude_deg":9.9385224,"altitude":15,"angle":246,"satellites":39,"speed":0,"hex_longitude":"2d7a1140","hex_latitude":"05ec7f88","is_valid_coordinates":true} 
[2026-07-01 15:44: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-01 15:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422567936001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101277514978033664,"note":"Value kept but may cause issues"} 
[2026-07-01 15:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418084352,"note":"Value kept but may cause issues"} 
[2026-07-01 15:44:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782900656000,"timestamp_ms":1782900656000,"timestamp_seconds":1782900656,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d290780"} 
[2026-07-01 15:44:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:44:59] 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-01 15:44:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-01 15:44:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:44:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:44:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:44:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422567936001,"66":11297,"157":206,"87":13824,"24":0,"16":101277514978033664,"45":8795881941418084352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422567936001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:44:59] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:44:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101277514978033664,"km_value":101277514978033.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418084352,"description":"Unknown IO ID 45"} 
[2026-07-01 15:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422567936001,"power":11297,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418084352}} 
[2026-07-01 15:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":119077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417640,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:44:59] local.INFO: GPS data processed {"connection_id":119077,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:44:59] local.INFO: Acknowledgment sent {"connection_id":119077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:45:15] local.INFO: TCP Data received {"connection_id":120954,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 15:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120954,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 15:45:15] local.INFO: Processing buffer {"connection_id":120954,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 15:45:15] local.INFO: IMEI packet received {"connection_id":120954,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 15:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":120954,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:45:20] local.INFO: TCP Data received {"connection_id":119881,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:45:20] local.INFO: Processing buffer {"connection_id":119881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:45:20] local.INFO: IMEI packet received {"connection_id":119881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 15:45:20] local.INFO: IMEI acknowledgment sent {"connection_id":119881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:45:21] local.INFO: TCP Data received {"connection_id":119881,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:45:21] local.INFO: Processing buffer {"connection_id":119881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:45:21] local.INFO: IMEI packet received {"connection_id":119881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":119881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:45:25] local.INFO: TCP Data received {"connection_id":119881,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:45:25] local.INFO: Processing buffer {"connection_id":119881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:45:25] local.INFO: IMEI packet received {"connection_id":119881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":119881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:45:26] local.INFO: TCP Data received {"connection_id":119881,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d2c0cf0012cc77580074d3448000a004b2b..."} 
[2026-07-01 15:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d2c0cf0012cc77580074d3448000a004b2b..."} 
[2026-07-01 15:45:26] local.INFO: Processing buffer {"connection_id":119881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d2c0cf0012cc77580074d3448000a004b2b..."} 
[2026-07-01 15:45:26] local.INFO: Packet analysis {"connection_id":119881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d2c"} 
[2026-07-01 15:45:26] local.INFO: Extracted packet for processing {"connection_id":119881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d2c"} 
[2026-07-01 15:45:26] local.INFO: GPS Element Parsed {"raw_longitude":751269248,"raw_latitude":122500168,"longitude_deg":75.1269248,"latitude_deg":12.2500168,"altitude":10,"angle":75,"satellites":43,"speed":10,"hex_longitude":"2cc77580","hex_latitude":"074d3448","is_valid_coordinates":true} 
[2026-07-01 15:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:45:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422618368001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:45:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333602887408025600,"note":"Value kept but may cause issues"} 
[2026-07-01 15:45:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4074490994015076352,"note":"Value kept but may cause issues"} 
[2026-07-01 15:45:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:45:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782900854000,"timestamp_ms":1782900854000,"timestamp_seconds":1782900854,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d2c0cf0"} 
[2026-07-01 15:45:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:45: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-01 15:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 15:45:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:45:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:45:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:45:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:45:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:45:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:45:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:45:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:45:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:45:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:45:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422618368001,"66":27865,"88":206,"85":37632,"24":10,"16":333602887408025600,"44":-4074490994015076352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,44]} 
[2026-07-01 15:45:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:45:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:45:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422618368001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:45:26] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-07-01 15:45:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:45:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333602887408025600,"km_value":333602887408025.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:45:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4074490994015076352,"description":"Unknown IO ID 44"} 
[2026-07-01 15:45:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422618368001,"power":27865,"unknown_88":206,"unknown_85":37632,"ignition":10,"odometer":null,"unknown_44":-4074490994015076352}} 
[2026-07-01 15:45:26] local.INFO: DEBUG: GPS processor result {"connection_id":119881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:45:26] local.INFO: GPS data processed {"connection_id":119881,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:45:26] local.INFO: Acknowledgment sent {"connection_id":119881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:45:31] local.INFO: TCP Data received {"connection_id":119077,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d290780012d7a114005ec7f88000f00f627..."} 
[2026-07-01 15:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d290780012d7a114005ec7f88000f00f627..."} 
[2026-07-01 15:45:31] local.INFO: Processing buffer {"connection_id":119077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d290780012d7a114005ec7f88000f00f627..."} 
[2026-07-01 15:45:31] local.INFO: Packet analysis {"connection_id":119077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d29"} 
[2026-07-01 15:45:31] local.INFO: Extracted packet for processing {"connection_id":119077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d29"} 
[2026-07-01 15:45:31] local.INFO: GPS Element Parsed {"raw_longitude":762974528,"raw_latitude":99385224,"longitude_deg":76.2974528,"latitude_deg":9.9385224,"altitude":15,"angle":246,"satellites":39,"speed":0,"hex_longitude":"2d7a1140","hex_latitude":"05ec7f88","is_valid_coordinates":true} 
[2026-07-01 15:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422567936001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101277514978033664,"note":"Value kept but may cause issues"} 
[2026-07-01 15:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418084352,"note":"Value kept but may cause issues"} 
[2026-07-01 15:45:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782900656000,"timestamp_ms":1782900656000,"timestamp_seconds":1782900656,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d290780"} 
[2026-07-01 15:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:45:31] 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-01 15:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-01 15:45:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:45:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422567936001,"66":11297,"157":206,"87":13824,"24":0,"16":101277514978033664,"45":8795881941418084352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422567936001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:45:31] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:45:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101277514978033664,"km_value":101277514978033.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418084352,"description":"Unknown IO ID 45"} 
[2026-07-01 15:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422567936001,"power":11297,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418084352}} 
[2026-07-01 15:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":119077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417642,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:45:31] local.INFO: GPS data processed {"connection_id":119077,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:45:31] local.INFO: Acknowledgment sent {"connection_id":119077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:45:51] local.INFO: TCP Data received {"connection_id":119203,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119203,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:45:51] local.INFO: Processing buffer {"connection_id":119203,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:45:51] local.INFO: IMEI packet received {"connection_id":119203,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 15:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":119203,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:45:57] local.INFO: TCP Data received {"connection_id":119881,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d2c14c0012cc77800074d3460000a00662a..."} 
[2026-07-01 15:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d2c14c0012cc77800074d3460000a00662a..."} 
[2026-07-01 15:45:57] local.INFO: Processing buffer {"connection_id":119881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d2c14c0012cc77800074d3460000a00662a..."} 
[2026-07-01 15:45:57] local.INFO: Packet analysis {"connection_id":119881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d2c"} 
[2026-07-01 15:45:57] local.INFO: Extracted packet for processing {"connection_id":119881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d2c"} 
[2026-07-01 15:45:57] local.INFO: GPS Element Parsed {"raw_longitude":751269888,"raw_latitude":122500192,"longitude_deg":75.1269888,"latitude_deg":12.2500192,"altitude":10,"angle":102,"satellites":42,"speed":15,"hex_longitude":"2cc77800","hex_latitude":"074d3460","is_valid_coordinates":true} 
[2026-07-01 15:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:45:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422618624001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:45:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333602921767763968,"note":"Value kept but may cause issues"} 
[2026-07-01 15:45:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4074209519038347264,"note":"Value kept but may cause issues"} 
[2026-07-01 15:45:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:45:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782900856000,"timestamp_ms":1782900856000,"timestamp_seconds":1782900856,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d2c14c0"} 
[2026-07-01 15:45:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:45:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 15:45:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:45:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:45:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:45:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:45:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:45:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:45:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:45:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:45:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:45:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:45:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422618624001,"66":27865,"88":206,"85":37632,"24":15,"16":333602921767763968,"44":-4074209519038347264},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,44]} 
[2026-07-01 15:45:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:45:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:45:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422618624001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:45:57] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-07-01 15:45:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:45:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333602921767763968,"km_value":333602921767763.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:45:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4074209519038347264,"description":"Unknown IO ID 44"} 
[2026-07-01 15:45:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422618624001,"power":27865,"unknown_88":206,"unknown_85":37632,"ignition":15,"odometer":null,"unknown_44":-4074209519038347264}} 
[2026-07-01 15:45:57] local.INFO: DEBUG: GPS processor result {"connection_id":119881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:45:57] local.INFO: GPS data processed {"connection_id":119881,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:45:57] local.INFO: Acknowledgment sent {"connection_id":119881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:45:57] local.INFO: TCP Data received {"connection_id":119203,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119203,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:45:57] local.INFO: Processing buffer {"connection_id":119203,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:45:57] local.INFO: IMEI packet received {"connection_id":119203,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 15:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":119203,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:45:59] local.INFO: TCP Data received {"connection_id":119203,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d290780012d7a114005ec7f88000f00f627..."} 
[2026-07-01 15:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d290780012d7a114005ec7f88000f00f627..."} 
[2026-07-01 15:45:59] local.INFO: Processing buffer {"connection_id":119203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d290780012d7a114005ec7f88000f00f627..."} 
[2026-07-01 15:45:59] local.INFO: Packet analysis {"connection_id":119203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d29"} 
[2026-07-01 15:45:59] local.INFO: Extracted packet for processing {"connection_id":119203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d29"} 
[2026-07-01 15:45:59] local.INFO: GPS Element Parsed {"raw_longitude":762974528,"raw_latitude":99385224,"longitude_deg":76.2974528,"latitude_deg":9.9385224,"altitude":15,"angle":246,"satellites":39,"speed":0,"hex_longitude":"2d7a1140","hex_latitude":"05ec7f88","is_valid_coordinates":true} 
[2026-07-01 15:45: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-01 15:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422567936001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101277514978033664,"note":"Value kept but may cause issues"} 
[2026-07-01 15:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418084352,"note":"Value kept but may cause issues"} 
[2026-07-01 15:45:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782900656000,"timestamp_ms":1782900656000,"timestamp_seconds":1782900656,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d290780"} 
[2026-07-01 15:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:45:59] 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-01 15:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-01 15:45:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:45:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:45:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422567936001,"66":11297,"157":206,"87":13824,"24":0,"16":101277514978033664,"45":8795881941418084352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422567936001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:45:59] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:45:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101277514978033664,"km_value":101277514978033.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418084352,"description":"Unknown IO ID 45"} 
[2026-07-01 15:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422567936001,"power":11297,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418084352}} 
[2026-07-01 15:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":119203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417644,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:45:59] local.INFO: GPS data processed {"connection_id":119203,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:45:59] local.INFO: Acknowledgment sent {"connection_id":119203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:46:20] local.INFO: TCP Data received {"connection_id":119204,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:46:20] local.INFO: Processing buffer {"connection_id":119204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:46:20] local.INFO: IMEI packet received {"connection_id":119204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 15:46:20] local.INFO: IMEI acknowledgment sent {"connection_id":119204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:46:23] local.INFO: TCP Data received {"connection_id":119204,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:46:23] local.INFO: Processing buffer {"connection_id":119204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:46:23] local.INFO: IMEI packet received {"connection_id":119204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:46:23] local.INFO: IMEI acknowledgment sent {"connection_id":119204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:46:23] local.INFO: TCP Data received {"connection_id":119204,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:46:23] local.INFO: Processing buffer {"connection_id":119204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:46:23] local.INFO: IMEI packet received {"connection_id":119204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:46:23] local.INFO: IMEI acknowledgment sent {"connection_id":119204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:46:24] local.INFO: TCP Data received {"connection_id":119204,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d2cdfe0012cc78600074d8360000e015628..."} 
[2026-07-01 15:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d2cdfe0012cc78600074d8360000e015628..."} 
[2026-07-01 15:46:24] local.INFO: Processing buffer {"connection_id":119204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d2cdfe0012cc78600074d8360000e015628..."} 
[2026-07-01 15:46:24] local.INFO: Packet analysis {"connection_id":119204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d2c"} 
[2026-07-01 15:46:24] local.INFO: Extracted packet for processing {"connection_id":119204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d2c"} 
[2026-07-01 15:46:24] local.INFO: GPS Element Parsed {"raw_longitude":751273472,"raw_latitude":122520416,"longitude_deg":75.1273472,"latitude_deg":12.2520416,"altitude":14,"angle":342,"satellites":40,"speed":31,"hex_longitude":"2cc78600","hex_latitude":"074d8360","is_valid_coordinates":true} 
[2026-07-01 15:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:46:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422629888001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:46:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333604485135859712,"note":"Value kept but may cause issues"} 
[2026-07-01 15:46:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4066680063408402432,"note":"Value kept but may cause issues"} 
[2026-07-01 15:46:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:46:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782900908000,"timestamp_ms":1782900908000,"timestamp_seconds":1782900908,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d2cdfe0"} 
[2026-07-01 15:46:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:46:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 15:46:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:46:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:46:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:46:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:46:24] local.INFO: Teltonika packet parsed successfully {"connection_id":119204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:46:24] local.INFO: Passing IMEI to GPS processor {"connection_id":119204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:46:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":119204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:46:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:46:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:46:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:46:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422629888001,"66":27800,"87":206,"85":37632,"24":31,"16":333604485135859712,"44":-4066680063408402432},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,85,24,16,44]} 
[2026-07-01 15:46:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:46:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:46:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422629888001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:46:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-07-01 15:46:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:46:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333604485135859712,"km_value":333604485135859.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:46:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4066680063408402432,"description":"Unknown IO ID 44"} 
[2026-07-01 15:46:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422629888001,"power":27800,"unknown_87":206,"unknown_85":37632,"ignition":31,"odometer":null,"unknown_44":-4066680063408402432}} 
[2026-07-01 15:46:24] local.INFO: DEBUG: GPS processor result {"connection_id":119204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:46:24] local.INFO: GPS data processed {"connection_id":119204,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:46:24] local.INFO: Acknowledgment sent {"connection_id":119204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:46:25] local.INFO: TCP Data received {"connection_id":119204,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d2d0ec0012cc77f80074da5c8000e015f29..."} 
[2026-07-01 15:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d2d0ec0012cc77f80074da5c8000e015f29..."} 
[2026-07-01 15:46:25] local.INFO: Processing buffer {"connection_id":119204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d2d0ec0012cc77f80074da5c8000e015f29..."} 
[2026-07-01 15:46:25] local.INFO: Packet analysis {"connection_id":119204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d2d"} 
[2026-07-01 15:46:25] local.INFO: Extracted packet for processing {"connection_id":119204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d2d"} 
[2026-07-01 15:46:25] local.INFO: GPS Element Parsed {"raw_longitude":751271808,"raw_latitude":122529224,"longitude_deg":75.1271808,"latitude_deg":12.2529224,"altitude":14,"angle":351,"satellites":41,"speed":26,"hex_longitude":"2cc77f80","hex_latitude":"074da5c8","is_valid_coordinates":true} 
[2026-07-01 15:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422632448001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333604918927556608,"note":"Value kept but may cause issues"} 
[2026-07-01 15:46:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4069565181917437952,"note":"Value kept but may cause issues"} 
[2026-07-01 15:46:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782900920000,"timestamp_ms":1782900920000,"timestamp_seconds":1782900920,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d2d0ec0"} 
[2026-07-01 15:46:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:46: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-01 15:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 15:46:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:46:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:46:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:46:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422632448001,"66":27821,"87":206,"85":37632,"24":26,"16":333604918927556608,"44":-4069565181917437952},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,85,24,16,44]} 
[2026-07-01 15:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422632448001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:46:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-07-01 15:46:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333604918927556608,"km_value":333604918927556.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:46:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4069565181917437952,"description":"Unknown IO ID 44"} 
[2026-07-01 15:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422632448001,"power":27821,"unknown_87":206,"unknown_85":37632,"ignition":26,"odometer":null,"unknown_44":-4069565181917437952}} 
[2026-07-01 15:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":119204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:46:25] local.INFO: GPS data processed {"connection_id":119204,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:46:25] local.INFO: Acknowledgment sent {"connection_id":119204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:46:30] local.INFO: TCP Data received {"connection_id":119203,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d2dab00012d7a0f8005ec7fe0000f00f626..."} 
[2026-07-01 15:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d2dab00012d7a0f8005ec7fe0000f00f626..."} 
[2026-07-01 15:46:30] local.INFO: Processing buffer {"connection_id":119203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d2dab00012d7a0f8005ec7fe0000f00f626..."} 
[2026-07-01 15:46:30] local.INFO: Packet analysis {"connection_id":119203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d2d"} 
[2026-07-01 15:46:30] local.INFO: Extracted packet for processing {"connection_id":119203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d2d"} 
[2026-07-01 15:46:30] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385312,"longitude_deg":76.297408,"latitude_deg":9.9385312,"altitude":15,"angle":246,"satellites":38,"speed":0,"hex_longitude":"2d7a0f80","hex_latitude":"05ec7fe0","is_valid_coordinates":true} 
[2026-07-01 15: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-01 15:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422567936001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101277514978033664,"note":"Value kept but may cause issues"} 
[2026-07-01 15:46:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418084352,"note":"Value kept but may cause issues"} 
[2026-07-01 15:46:30] 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-01 15:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782900960000,"timestamp_ms":1782900960000,"timestamp_seconds":1782900960,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d2dab00"} 
[2026-07-01 15: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-01 15:46:30] 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-01 15: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":44,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-01 15:46:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15: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-01 15: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-01 15:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":119203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":119203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":119203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422567936001,"66":12298,"157":206,"87":13824,"24":0,"16":101277514978033664,"45":8795881941418084352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422567936001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:46:30] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:46:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101277514978033664,"km_value":101277514978033.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:46:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418084352,"description":"Unknown IO ID 45"} 
[2026-07-01 15:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422567936001,"power":12298,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418084352}} 
[2026-07-01 15:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":119203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417647,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:46:30] local.INFO: GPS data processed {"connection_id":119203,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:46:30] local.INFO: Acknowledgment sent {"connection_id":119203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:46:52] local.INFO: TCP Data received {"connection_id":119078,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119078,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:46:52] local.INFO: Processing buffer {"connection_id":119078,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:46:52] local.INFO: IMEI packet received {"connection_id":119078,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 15:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":119078,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:46:55] local.INFO: TCP Data received {"connection_id":119204,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d2d4188012cc77b00074dc908000d01612a..."} 
[2026-07-01 15:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d2d4188012cc77b00074dc908000d01612a..."} 
[2026-07-01 15:46:55] local.INFO: Processing buffer {"connection_id":119204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d2d4188012cc77b00074dc908000d01612a..."} 
[2026-07-01 15:46:55] local.INFO: Packet analysis {"connection_id":119204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d2d"} 
[2026-07-01 15:46:55] local.INFO: Extracted packet for processing {"connection_id":119204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d2d"} 
[2026-07-01 15:46:55] local.INFO: GPS Element Parsed {"raw_longitude":751270656,"raw_latitude":122538248,"longitude_deg":75.1270656,"latitude_deg":12.2538248,"altitude":13,"angle":353,"satellites":42,"speed":27,"hex_longitude":"2cc77b00","hex_latitude":"074dc908","is_valid_coordinates":true} 
[2026-07-01 15: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-01 15:46:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422635520001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:46:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333605361309188096,"note":"Value kept but may cause issues"} 
[2026-07-01 15:46:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4071394769263802368,"note":"Value kept but may cause issues"} 
[2026-07-01 15:46:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:46:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782900933000,"timestamp_ms":1782900933000,"timestamp_seconds":1782900933,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d2d4188"} 
[2026-07-01 15: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-01 15:46:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 15:46: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-01 15: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-01 15: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-01 15:46:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:46:55] local.INFO: Teltonika packet parsed successfully {"connection_id":119204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:46:55] local.INFO: Passing IMEI to GPS processor {"connection_id":119204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:46:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":119204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:46:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:46:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:46:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:46:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422635520001,"66":28050,"48":206,"85":37632,"24":27,"16":333605361309188096,"44":-4071394769263802368},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,85,24,16,44]} 
[2026-07-01 15:46:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:46:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:46:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422635520001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:46:55] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-07-01 15:46:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:46:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333605361309188096,"km_value":333605361309188.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:46:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4071394769263802368,"description":"Unknown IO ID 44"} 
[2026-07-01 15:46:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422635520001,"power":28050,"unknown_48":206,"unknown_85":37632,"ignition":27,"odometer":null,"unknown_44":-4071394769263802368}} 
[2026-07-01 15:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":119204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:46:55] local.INFO: GPS data processed {"connection_id":119204,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:46:55] local.INFO: Acknowledgment sent {"connection_id":119204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:46:57] local.INFO: TCP Data received {"connection_id":119078,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119078,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:46:57] local.INFO: Processing buffer {"connection_id":119078,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:46:57] local.INFO: IMEI packet received {"connection_id":119078,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 15:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":119078,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:46:58] local.INFO: TCP Data received {"connection_id":119078,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d2dab00012d7a0f8005ec7fe0000f00f626..."} 
[2026-07-01 15:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d2dab00012d7a0f8005ec7fe0000f00f626..."} 
[2026-07-01 15:46:58] local.INFO: Processing buffer {"connection_id":119078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d2dab00012d7a0f8005ec7fe0000f00f626..."} 
[2026-07-01 15:46:58] local.INFO: Packet analysis {"connection_id":119078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d2d"} 
[2026-07-01 15:46:58] local.INFO: Extracted packet for processing {"connection_id":119078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d2d"} 
[2026-07-01 15:46:58] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385312,"longitude_deg":76.297408,"latitude_deg":9.9385312,"altitude":15,"angle":246,"satellites":38,"speed":0,"hex_longitude":"2d7a0f80","hex_latitude":"05ec7fe0","is_valid_coordinates":true} 
[2026-07-01 15:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422567936001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:46:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101277514978033664,"note":"Value kept but may cause issues"} 
[2026-07-01 15:46:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418084352,"note":"Value kept but may cause issues"} 
[2026-07-01 15:46:58] 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-01 15:46:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782900960000,"timestamp_ms":1782900960000,"timestamp_seconds":1782900960,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d2dab00"} 
[2026-07-01 15:46:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:46:58] 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-01 15:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-01 15:46:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:46:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:46:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:46:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:46:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:46:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:46:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:46:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:46:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:46:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:46:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422567936001,"66":12298,"157":206,"87":13824,"24":0,"16":101277514978033664,"45":8795881941418084352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:46:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:46:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:46:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422567936001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:46:58] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:46:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:46:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101277514978033664,"km_value":101277514978033.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:46:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418084352,"description":"Unknown IO ID 45"} 
[2026-07-01 15:46:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422567936001,"power":12298,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418084352}} 
[2026-07-01 15:46:58] local.INFO: DEBUG: GPS processor result {"connection_id":119078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417649,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:46:58] local.INFO: GPS data processed {"connection_id":119078,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:46:58] local.INFO: Acknowledgment sent {"connection_id":119078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:47:20] local.INFO: TCP Data received {"connection_id":120956,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:47:20] local.INFO: Processing buffer {"connection_id":120956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:47:20] local.INFO: IMEI packet received {"connection_id":120956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 15:47:20] local.INFO: IMEI acknowledgment sent {"connection_id":120956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:47:21] local.INFO: TCP Data received {"connection_id":120956,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:47:21] local.INFO: Processing buffer {"connection_id":120956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:47:21] local.INFO: IMEI packet received {"connection_id":120956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:47:21] local.INFO: IMEI acknowledgment sent {"connection_id":120956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:47:22] local.INFO: TCP Data received {"connection_id":120956,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:47:22] local.INFO: Processing buffer {"connection_id":120956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:47:22] local.INFO: IMEI packet received {"connection_id":120956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:47:22] local.INFO: IMEI acknowledgment sent {"connection_id":120956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:47:23] local.INFO: TCP Data received {"connection_id":120956,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:47:23] local.INFO: Processing buffer {"connection_id":120956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:47:23] local.INFO: IMEI packet received {"connection_id":120956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:47:23] local.INFO: IMEI acknowledgment sent {"connection_id":120956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:47:29] local.INFO: TCP Data received {"connection_id":119078,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d2dab00012d7a0f8005ec7fe0000f00f626..."} 
[2026-07-01 15:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d2dab00012d7a0f8005ec7fe0000f00f626..."} 
[2026-07-01 15:47:29] local.INFO: Processing buffer {"connection_id":119078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d2dab00012d7a0f8005ec7fe0000f00f626..."} 
[2026-07-01 15:47:29] local.INFO: Packet analysis {"connection_id":119078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d2d"} 
[2026-07-01 15:47:29] local.INFO: Extracted packet for processing {"connection_id":119078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d2d"} 
[2026-07-01 15:47:29] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385312,"longitude_deg":76.297408,"latitude_deg":9.9385312,"altitude":15,"angle":246,"satellites":38,"speed":0,"hex_longitude":"2d7a0f80","hex_latitude":"05ec7fe0","is_valid_coordinates":true} 
[2026-07-01 15: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-01 15:47:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422567936001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:47:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101277514978033664,"note":"Value kept but may cause issues"} 
[2026-07-01 15:47:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418084352,"note":"Value kept but may cause issues"} 
[2026-07-01 15:47:29] 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-01 15:47:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782900960000,"timestamp_ms":1782900960000,"timestamp_seconds":1782900960,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d2dab00"} 
[2026-07-01 15: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-01 15:47:29] 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-01 15: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":44,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-01 15:47:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15: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-01 15: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-01 15:47:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:47:29] local.INFO: Teltonika packet parsed successfully {"connection_id":119078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:47:29] local.INFO: Passing IMEI to GPS processor {"connection_id":119078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:47:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":119078,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:47:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:47:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:47:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:47:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422567936001,"66":12298,"157":206,"87":13824,"24":0,"16":101277514978033664,"45":8795881941418084352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:47:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:47:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:47:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422567936001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:47:29] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:47:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:47:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101277514978033664,"km_value":101277514978033.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:47:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418084352,"description":"Unknown IO ID 45"} 
[2026-07-01 15:47:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422567936001,"power":12298,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418084352}} 
[2026-07-01 15:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":119078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417650,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:47:29] local.INFO: GPS data processed {"connection_id":119078,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:47:29] local.INFO: Acknowledgment sent {"connection_id":119078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:47:52] local.INFO: TCP Data received {"connection_id":119882,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119882,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:47:52] local.INFO: Processing buffer {"connection_id":119882,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:47:52] local.INFO: IMEI packet received {"connection_id":119882,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 15:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":119882,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:47:57] local.INFO: TCP Data received {"connection_id":119882,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119882,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:47:57] local.INFO: Processing buffer {"connection_id":119882,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:47:57] local.INFO: IMEI packet received {"connection_id":119882,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 15:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":119882,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:47:58] local.INFO: TCP Data received {"connection_id":119882,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d2dab00012d7a0f8005ec7fe0000f00f626..."} 
[2026-07-01 15:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d2dab00012d7a0f8005ec7fe0000f00f626..."} 
[2026-07-01 15:47:58] local.INFO: Processing buffer {"connection_id":119882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d2dab00012d7a0f8005ec7fe0000f00f626..."} 
[2026-07-01 15:47:58] local.INFO: Packet analysis {"connection_id":119882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d2d"} 
[2026-07-01 15:47:58] local.INFO: Extracted packet for processing {"connection_id":119882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d2d"} 
[2026-07-01 15:47:58] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385312,"longitude_deg":76.297408,"latitude_deg":9.9385312,"altitude":15,"angle":246,"satellites":38,"speed":0,"hex_longitude":"2d7a0f80","hex_latitude":"05ec7fe0","is_valid_coordinates":true} 
[2026-07-01 15: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-01 15:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422567936001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:47:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101277514978033664,"note":"Value kept but may cause issues"} 
[2026-07-01 15:47:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418084352,"note":"Value kept but may cause issues"} 
[2026-07-01 15:47:58] 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-01 15:47:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782900960000,"timestamp_ms":1782900960000,"timestamp_seconds":1782900960,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d2dab00"} 
[2026-07-01 15: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-01 15:47:58] 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-01 15: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":44,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-01 15:47:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15: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-01 15: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-01 15:47:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:47:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:47:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119882,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:47:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119882,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:47:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:47:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:47:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:47:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422567936001,"66":12298,"157":206,"87":13824,"24":0,"16":101277514978033664,"45":8795881941418084352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:47:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:47:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:47:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422567936001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:47:58] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:47:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:47:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101277514978033664,"km_value":101277514978033.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:47:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418084352,"description":"Unknown IO ID 45"} 
[2026-07-01 15:47:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422567936001,"power":12298,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418084352}} 
[2026-07-01 15:47:58] local.INFO: DEBUG: GPS processor result {"connection_id":119882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417651,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:47:58] local.INFO: GPS data processed {"connection_id":119882,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:47:58] local.INFO: Acknowledgment sent {"connection_id":119882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:48:29] local.INFO: TCP Data received {"connection_id":119882,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d2dab00012d7a0f8005ec7fe0000f00f626..."} 
[2026-07-01 15:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d2dab00012d7a0f8005ec7fe0000f00f626..."} 
[2026-07-01 15:48:29] local.INFO: Processing buffer {"connection_id":119882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d2dab00012d7a0f8005ec7fe0000f00f626..."} 
[2026-07-01 15:48:29] local.INFO: Packet analysis {"connection_id":119882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d2d"} 
[2026-07-01 15:48:29] local.INFO: Extracted packet for processing {"connection_id":119882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d2d"} 
[2026-07-01 15:48:29] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385312,"longitude_deg":76.297408,"latitude_deg":9.9385312,"altitude":15,"angle":246,"satellites":38,"speed":0,"hex_longitude":"2d7a0f80","hex_latitude":"05ec7fe0","is_valid_coordinates":true} 
[2026-07-01 15: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-01 15:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422567936001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101277514978033664,"note":"Value kept but may cause issues"} 
[2026-07-01 15:48:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418084352,"note":"Value kept but may cause issues"} 
[2026-07-01 15:48:29] 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-01 15:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782900960000,"timestamp_ms":1782900960000,"timestamp_seconds":1782900960,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d2dab00"} 
[2026-07-01 15: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-01 15:48:29] 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-01 15: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":44,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-01 15:48:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:48:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15: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-01 15:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":119882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":119882,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":119882,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:48:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:48:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422567936001,"66":12298,"157":206,"87":13824,"24":0,"16":101277514978033664,"45":8795881941418084352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:48:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:48:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:48:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422567936001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:48:29] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:48:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:48:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101277514978033664,"km_value":101277514978033.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:48:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418084352,"description":"Unknown IO ID 45"} 
[2026-07-01 15:48:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422567936001,"power":12298,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418084352}} 
[2026-07-01 15:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":119882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417652,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:48:29] local.INFO: GPS data processed {"connection_id":119882,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:48:29] local.INFO: Acknowledgment sent {"connection_id":119882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:48:51] local.INFO: TCP Data received {"connection_id":119206,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119206,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:48:51] local.INFO: Processing buffer {"connection_id":119206,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:48:51] local.INFO: IMEI packet received {"connection_id":119206,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 15:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":119206,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:48:57] local.INFO: TCP Data received {"connection_id":119206,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119206,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:48:57] local.INFO: Processing buffer {"connection_id":119206,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:48:57] local.INFO: IMEI packet received {"connection_id":119206,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 15:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":119206,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:48:58] local.INFO: TCP Data received {"connection_id":119206,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d2dab00012d7a0f8005ec7fe0000f00f626..."} 
[2026-07-01 15:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d2dab00012d7a0f8005ec7fe0000f00f626..."} 
[2026-07-01 15:48:58] local.INFO: Processing buffer {"connection_id":119206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d2dab00012d7a0f8005ec7fe0000f00f626..."} 
[2026-07-01 15:48:58] local.INFO: Packet analysis {"connection_id":119206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d2d"} 
[2026-07-01 15:48:58] local.INFO: Extracted packet for processing {"connection_id":119206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d2d"} 
[2026-07-01 15:48:58] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385312,"longitude_deg":76.297408,"latitude_deg":9.9385312,"altitude":15,"angle":246,"satellites":38,"speed":0,"hex_longitude":"2d7a0f80","hex_latitude":"05ec7fe0","is_valid_coordinates":true} 
[2026-07-01 15: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-01 15:48:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422567936001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:48:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101277514978033664,"note":"Value kept but may cause issues"} 
[2026-07-01 15:48:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418084352,"note":"Value kept but may cause issues"} 
[2026-07-01 15:48:58] 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-01 15:48:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782900960000,"timestamp_ms":1782900960000,"timestamp_seconds":1782900960,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d2dab00"} 
[2026-07-01 15: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-01 15:48:58] 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-01 15: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":44,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-01 15:48:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15: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-01 15: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-01 15:48:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:48:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:48:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:48:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:48: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-01 15:48:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:48:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:48:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422567936001,"66":12298,"157":206,"87":13824,"24":0,"16":101277514978033664,"45":8795881941418084352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:48:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:48:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:48:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422567936001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:48:58] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:48:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:48:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101277514978033664,"km_value":101277514978033.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:48:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418084352,"description":"Unknown IO ID 45"} 
[2026-07-01 15:48:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422567936001,"power":12298,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418084352}} 
[2026-07-01 15:48:58] local.INFO: DEBUG: GPS processor result {"connection_id":119206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417653,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:48:58] local.INFO: GPS data processed {"connection_id":119206,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:48:58] local.INFO: Acknowledgment sent {"connection_id":119206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:49:29] local.INFO: TCP Data received {"connection_id":119206,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d2dab00012d7a0f8005ec7fe0000f00f626..."} 
[2026-07-01 15:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d2dab00012d7a0f8005ec7fe0000f00f626..."} 
[2026-07-01 15:49:29] local.INFO: Processing buffer {"connection_id":119206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d2dab00012d7a0f8005ec7fe0000f00f626..."} 
[2026-07-01 15:49:29] local.INFO: Packet analysis {"connection_id":119206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d2d"} 
[2026-07-01 15:49:29] local.INFO: Extracted packet for processing {"connection_id":119206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d2d"} 
[2026-07-01 15:49:29] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385312,"longitude_deg":76.297408,"latitude_deg":9.9385312,"altitude":15,"angle":246,"satellites":38,"speed":0,"hex_longitude":"2d7a0f80","hex_latitude":"05ec7fe0","is_valid_coordinates":true} 
[2026-07-01 15: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-01 15:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422567936001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101277514978033664,"note":"Value kept but may cause issues"} 
[2026-07-01 15:49:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418084352,"note":"Value kept but may cause issues"} 
[2026-07-01 15:49:29] 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-01 15:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782900960000,"timestamp_ms":1782900960000,"timestamp_seconds":1782900960,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d2dab00"} 
[2026-07-01 15: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-01 15:49:29] 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-01 15: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":44,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-01 15:49:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15: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-01 15: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-01 15:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":119206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":119206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":119206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:49: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-01 15:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422567936001,"66":12298,"157":206,"87":13824,"24":0,"16":101277514978033664,"45":8795881941418084352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422567936001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:49:29] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:49:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101277514978033664,"km_value":101277514978033.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:49:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418084352,"description":"Unknown IO ID 45"} 
[2026-07-01 15:49:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422567936001,"power":12298,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418084352}} 
[2026-07-01 15:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":119206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417654,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:49:29] local.INFO: GPS data processed {"connection_id":119206,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:49:29] local.INFO: Acknowledgment sent {"connection_id":119206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:49:57] local.INFO: TCP Data received {"connection_id":120960,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120960,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:49:57] local.INFO: Processing buffer {"connection_id":120960,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:49:57] local.INFO: IMEI packet received {"connection_id":120960,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 15:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":120960,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:50:02] local.INFO: TCP Data received {"connection_id":120960,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120960,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:50:02] local.INFO: Processing buffer {"connection_id":120960,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:50:02] local.INFO: IMEI packet received {"connection_id":120960,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 15:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":120960,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:50:04] local.INFO: TCP Data received {"connection_id":120960,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d2dab00012d7a0f8005ec7fe0000f00f626..."} 
[2026-07-01 15:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d2dab00012d7a0f8005ec7fe0000f00f626..."} 
[2026-07-01 15:50:04] local.INFO: Processing buffer {"connection_id":120960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d2dab00012d7a0f8005ec7fe0000f00f626..."} 
[2026-07-01 15:50:04] local.INFO: Packet analysis {"connection_id":120960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d2d"} 
[2026-07-01 15:50:04] local.INFO: Extracted packet for processing {"connection_id":120960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d2d"} 
[2026-07-01 15:50:04] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385312,"longitude_deg":76.297408,"latitude_deg":9.9385312,"altitude":15,"angle":246,"satellites":38,"speed":0,"hex_longitude":"2d7a0f80","hex_latitude":"05ec7fe0","is_valid_coordinates":true} 
[2026-07-01 15:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422567936001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101277514978033664,"note":"Value kept but may cause issues"} 
[2026-07-01 15:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418084352,"note":"Value kept but may cause issues"} 
[2026-07-01 15:50: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-01 15:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782900960000,"timestamp_ms":1782900960000,"timestamp_seconds":1782900960,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d2dab00"} 
[2026-07-01 15:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:50: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-01 15:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-01 15:50:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":120960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":120960,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":120960,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:50:04] 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-01 15:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422567936001,"66":12298,"157":206,"87":13824,"24":0,"16":101277514978033664,"45":8795881941418084352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422567936001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:50:04] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:50:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101277514978033664,"km_value":101277514978033.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418084352,"description":"Unknown IO ID 45"} 
[2026-07-01 15:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422567936001,"power":12298,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418084352}} 
[2026-07-01 15:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":120960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417655,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:50:04] local.INFO: GPS data processed {"connection_id":120960,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:50:04] local.INFO: Acknowledgment sent {"connection_id":120960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:50:07] local.INFO: TCP Data received {"connection_id":120960,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d2dab00012d7a0f8005ec7fe0000f00f626..."} 
[2026-07-01 15:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d2dab00012d7a0f8005ec7fe0000f00f626..."} 
[2026-07-01 15:50:07] local.INFO: Processing buffer {"connection_id":120960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d2dab00012d7a0f8005ec7fe0000f00f626..."} 
[2026-07-01 15:50:07] local.INFO: Packet analysis {"connection_id":120960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d2d"} 
[2026-07-01 15:50:07] local.INFO: Extracted packet for processing {"connection_id":120960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d2d"} 
[2026-07-01 15:50:07] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385312,"longitude_deg":76.297408,"latitude_deg":9.9385312,"altitude":15,"angle":246,"satellites":38,"speed":0,"hex_longitude":"2d7a0f80","hex_latitude":"05ec7fe0","is_valid_coordinates":true} 
[2026-07-01 15:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422567936001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101277514978033664,"note":"Value kept but may cause issues"} 
[2026-07-01 15:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795881941418084352,"note":"Value kept but may cause issues"} 
[2026-07-01 15:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782900960000,"timestamp_ms":1782900960000,"timestamp_seconds":1782900960,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d2dab00"} 
[2026-07-01 15:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:50:07] 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-01 15:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-01 15:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:50:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":120960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":120960,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":120960,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:50: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-01 15:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422567936001,"66":12298,"157":206,"87":13824,"24":0,"16":101277514978033664,"45":8795881941418084352},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422567936001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:50:07] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:50:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101277514978033664,"km_value":101277514978033.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795881941418084352,"description":"Unknown IO ID 45"} 
[2026-07-01 15:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422567936001,"power":12298,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795881941418084352}} 
[2026-07-01 15:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":120960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417656,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:50:07] local.INFO: GPS data processed {"connection_id":120960,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:50:07] local.INFO: Acknowledgment sent {"connection_id":120960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:50:35] local.INFO: TCP Data received {"connection_id":119883,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 15:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119883,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 15:50:35] local.INFO: Processing buffer {"connection_id":119883,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 15:50:35] local.INFO: IMEI packet received {"connection_id":119883,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 15:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":119883,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:50:52] local.INFO: TCP Data received {"connection_id":119080,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119080,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:50:52] local.INFO: Processing buffer {"connection_id":119080,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:50:52] local.INFO: IMEI packet received {"connection_id":119080,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 15:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":119080,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:50:57] local.INFO: TCP Data received {"connection_id":119080,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119080,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:50:57] local.INFO: Processing buffer {"connection_id":119080,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:50:57] local.INFO: IMEI packet received {"connection_id":119080,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 15:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":119080,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:50:58] local.INFO: TCP Data received {"connection_id":119080,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d31ba10012d7a0f8005ec7fe0000f00f625..."} 
[2026-07-01 15:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d31ba10012d7a0f8005ec7fe0000f00f625..."} 
[2026-07-01 15:50:58] local.INFO: Processing buffer {"connection_id":119080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d31ba10012d7a0f8005ec7fe0000f00f625..."} 
[2026-07-01 15:50:58] local.INFO: Packet analysis {"connection_id":119080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d31"} 
[2026-07-01 15:50:58] local.INFO: Extracted packet for processing {"connection_id":119080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d31"} 
[2026-07-01 15:50:58] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385312,"longitude_deg":76.297408,"latitude_deg":9.9385312,"altitude":15,"angle":246,"satellites":37,"speed":0,"hex_longitude":"2d7a0f80","hex_latitude":"05ec7fe0","is_valid_coordinates":true} 
[2026-07-01 15:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422645760001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101277514978033664,"note":"Value kept but may cause issues"} 
[2026-07-01 15:50:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795389360208863232,"note":"Value kept but may cause issues"} 
[2026-07-01 15:50:58] 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-01 15:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782901226000,"timestamp_ms":1782901226000,"timestamp_seconds":1782901226,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d31ba10"} 
[2026-07-01 15: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-01 15:50: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-01 15: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-01 15:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152921208237325312,"note":"Value kept but may cause issues"} 
[2026-07-01 15:50:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-01 15:50:58] local.WARNING: Large IO value detected {"io_id":87,"raw_value":3891136466327175680,"note":"Value kept but may cause issues"} 
[2026-07-01 15:50:58] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185959,"note":"Value kept but may cause issues"} 
[2026-07-01 15:50:58] local.WARNING: Large IO value detected {"io_id":207,"raw_value":6701356245527298049,"note":"Value kept but may cause issues"} 
[2026-07-01 15:50:58] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2099367816597436945,"note":"Value kept but may cause issues"} 
[2026-07-01 15:50:58] local.WARNING: Large IO value detected {"io_id":64,"raw_value":426856286786617590,"note":"Value kept but may cause issues"} 
[2026-07-01 15:50:58] local.WARNING: Large IO value detected {"io_id":15,"raw_value":69284625712738304,"note":"Value kept but may cause issues"} 
[2026-07-01 15:50:58] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926404055365,"note":"Value kept but may cause issues"} 
[2026-07-01 15:50:58] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3192208592377544910,"note":"Value kept but may cause issues"} 
[2026-07-01 15:50:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033699534,"corrected_to":0} 
[2026-07-01 15:50:58] local.WARNING: Large IO value detected {"io_id":11,"raw_value":2952867194,"note":"Value kept but may cause issues"} 
[2026-07-01 15:50:58] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242621,"note":"Value kept but may cause issues"} 
[2026-07-01 15:50:58] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3478978560,"note":"Value kept but may cause issues"} 
[2026-07-01 15:50:58] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3967780864,"note":"Value kept but may cause issues"} 
[2026-07-01 15:50:58] local.WARNING: Large IO value detected {"io_id":38,"raw_value":1026497839108,"note":"Value kept but may cause issues"} 
[2026-07-01 15:50:58] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,157,87,24,241,16,207,159,7,45,64,127,15,39,10,66,224,128,1,240,255,227,29,236,4,113,205,11,239,47,2,103,5,38],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1033699534,"validated":0}]} 
[2026-07-01 15:50:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1081134553638109184,"timestamp_seconds":1081134553638109.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 15: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-01 15:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119080,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119080,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:50: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-01 15:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422645760001,"66":12602,"157":206,"87":13824,"24":0,"16":101277514978033664,"45":8795389360208863232},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422645760001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:50:58] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:50:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101277514978033664,"km_value":101277514978033.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:50:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795389360208863232,"description":"Unknown IO ID 45"} 
[2026-07-01 15:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422645760001,"power":12602,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795389360208863232}} 
[2026-07-01 15:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":119080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417657,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:50:58] local.INFO: GPS data processed {"connection_id":119080,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:50:58] local.INFO: Acknowledgment sent {"connection_id":119080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:51:16] local.INFO: TCP Data received {"connection_id":120962,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 15:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120962,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 15:51:16] local.INFO: Processing buffer {"connection_id":120962,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 15:51:16] local.INFO: IMEI packet received {"connection_id":120962,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 15:51:16] local.INFO: IMEI acknowledgment sent {"connection_id":120962,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:51:29] local.INFO: TCP Data received {"connection_id":119080,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d31ba10012d7a0f8005ec7fe0000f00f625..."} 
[2026-07-01 15:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d31ba10012d7a0f8005ec7fe0000f00f625..."} 
[2026-07-01 15:51:29] local.INFO: Processing buffer {"connection_id":119080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d31ba10012d7a0f8005ec7fe0000f00f625..."} 
[2026-07-01 15:51:29] local.INFO: Packet analysis {"connection_id":119080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d31"} 
[2026-07-01 15:51:29] local.INFO: Extracted packet for processing {"connection_id":119080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d31"} 
[2026-07-01 15:51:29] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385312,"longitude_deg":76.297408,"latitude_deg":9.9385312,"altitude":15,"angle":246,"satellites":37,"speed":0,"hex_longitude":"2d7a0f80","hex_latitude":"05ec7fe0","is_valid_coordinates":true} 
[2026-07-01 15:51:29] 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-01 15:51:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422713856001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:51:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101277514978033664,"note":"Value kept but may cause issues"} 
[2026-07-01 15:51:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795389360208863232,"note":"Value kept but may cause issues"} 
[2026-07-01 15:51:29] 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-01 15:51:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782901226000,"timestamp_ms":1782901226000,"timestamp_seconds":1782901226,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d31ba10"} 
[2026-07-01 15: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-01 15:51: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-01 15: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":58,"data_length":795,"current_offset":136} 
[2026-07-01 15:51:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15: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-01 15: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-01 15:51:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:51:29] local.INFO: Teltonika packet parsed successfully {"connection_id":119080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:51:29] local.INFO: Passing IMEI to GPS processor {"connection_id":119080,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:51:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":119080,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:51: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-01 15:51:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:51:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:51:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422713856001,"66":12602,"157":206,"87":13824,"24":0,"16":101277514978033664,"45":8795389360208863232},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:51:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:51:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:51:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422713856001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:51:29] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:51:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:51:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101277514978033664,"km_value":101277514978033.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:51:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795389360208863232,"description":"Unknown IO ID 45"} 
[2026-07-01 15:51:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422713856001,"power":12602,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795389360208863232}} 
[2026-07-01 15:51:29] local.INFO: DEBUG: GPS processor result {"connection_id":119080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417658,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:51:29] local.INFO: GPS data processed {"connection_id":119080,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:51:29] local.INFO: Acknowledgment sent {"connection_id":119080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:51:51] local.INFO: TCP Data received {"connection_id":119081,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119081,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:51:51] local.INFO: Processing buffer {"connection_id":119081,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:51:51] local.INFO: IMEI packet received {"connection_id":119081,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 15:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":119081,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:51:51] local.INFO: TCP Data received {"connection_id":119081,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119081,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:51:51] local.INFO: Processing buffer {"connection_id":119081,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:51:51] local.INFO: IMEI packet received {"connection_id":119081,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 15:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":119081,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:51:56] local.INFO: TCP Data received {"connection_id":119081,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119081,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:51:56] local.INFO: Processing buffer {"connection_id":119081,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:51:56] local.INFO: IMEI packet received {"connection_id":119081,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 15:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":119081,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:51:58] local.INFO: TCP Data received {"connection_id":119081,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d31f0c0012d7a0f8005ec7f18000300de26..."} 
[2026-07-01 15:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d31f0c0012d7a0f8005ec7f18000300de26..."} 
[2026-07-01 15:51:58] local.INFO: Processing buffer {"connection_id":119081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d31f0c0012d7a0f8005ec7f18000300de26..."} 
[2026-07-01 15:51:58] local.INFO: Packet analysis {"connection_id":119081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d31"} 
[2026-07-01 15:51:58] local.INFO: Extracted packet for processing {"connection_id":119081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d31"} 
[2026-07-01 15:51:58] local.INFO: GPS Element Parsed {"raw_longitude":762974080,"raw_latitude":99385112,"longitude_deg":76.297408,"latitude_deg":9.9385112,"altitude":3,"angle":222,"satellites":38,"speed":3,"hex_longitude":"2d7a0f80","hex_latitude":"05ec7f18","is_valid_coordinates":true} 
[2026-07-01 15: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-01 15:51:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422713856001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:51:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101277536452870144,"note":"Value kept but may cause issues"} 
[2026-07-01 15:51:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795389360208863232,"note":"Value kept but may cause issues"} 
[2026-07-01 15:51:58] 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-01 15:51:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782901240000,"timestamp_ms":1782901240000,"timestamp_seconds":1782901240,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d31f0c0"} 
[2026-07-01 15: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-01 15:51: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-01 15: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-07-01 15:51: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-01 15: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-01 15: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-01 15:51:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:51:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:51:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:51:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:51: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-01 15:51:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:51:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:51:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422713856001,"66":11406,"157":206,"87":13824,"24":3,"16":101277536452870144,"45":8795389360208863232},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:51:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:51:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:51:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422713856001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:51:58] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:51:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:51:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101277536452870144,"km_value":101277536452870.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:51:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795389360208863232,"description":"Unknown IO ID 45"} 
[2026-07-01 15:51:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422713856001,"power":11406,"unknown_157":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8795389360208863232}} 
[2026-07-01 15:51:58] local.INFO: DEBUG: GPS processor result {"connection_id":119081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417659,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:51:58] local.INFO: GPS data processed {"connection_id":119081,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:51:58] local.INFO: Acknowledgment sent {"connection_id":119081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:52:24] local.INFO: TCP Data received {"connection_id":119207,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:52:24] local.INFO: Processing buffer {"connection_id":119207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:52:24] local.INFO: IMEI packet received {"connection_id":119207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 15:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":119207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:52:25] local.INFO: TCP Data received {"connection_id":119207,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d325650012cc7fb40074e1c90001000d729..."} 
[2026-07-01 15:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d325650012cc7fb40074e1c90001000d729..."} 
[2026-07-01 15:52:25] local.INFO: Processing buffer {"connection_id":119207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d325650012cc7fb40074e1c90001000d729..."} 
[2026-07-01 15:52:25] local.INFO: Packet analysis {"connection_id":119207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d32"} 
[2026-07-01 15:52:25] local.INFO: Extracted packet for processing {"connection_id":119207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d32"} 
[2026-07-01 15:52:25] local.INFO: GPS Element Parsed {"raw_longitude":751303488,"raw_latitude":122559632,"longitude_deg":75.1303488,"latitude_deg":12.2559632,"altitude":16,"angle":215,"satellites":41,"speed":13,"hex_longitude":"2cc7fb40","hex_latitude":"074e1c90","is_valid_coordinates":true} 
[2026-07-01 15:52: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-01 15:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422723840001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:52:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333607929699631104,"note":"Value kept but may cause issues"} 
[2026-07-01 15:52:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4036351134655477760,"note":"Value kept but may cause issues"} 
[2026-07-01 15:52:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:52:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782901266000,"timestamp_ms":1782901266000,"timestamp_seconds":1782901266,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d325650"} 
[2026-07-01 15:52:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:52: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-01 15:52:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 15:52:25] 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-01 15:52: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-01 15:52:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:52:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:52:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:52:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:52:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:52:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:52:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:52:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422723840001,"66":27745,"48":206,"85":37632,"24":13,"16":333607929699631104,"44":-4036351134655477760},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,85,24,16,44]} 
[2026-07-01 15:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422723840001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:52:25] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-07-01 15:52:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333607929699631104,"km_value":333607929699631.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:52:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4036351134655477760,"description":"Unknown IO ID 44"} 
[2026-07-01 15:52:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422723840001,"power":27745,"unknown_48":206,"unknown_85":37632,"ignition":13,"odometer":null,"unknown_44":-4036351134655477760}} 
[2026-07-01 15:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":119207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:52:25] local.INFO: GPS data processed {"connection_id":119207,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:52:25] local.INFO: Acknowledgment sent {"connection_id":119207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:52:31] local.INFO: TCP Data received {"connection_id":119081,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d335050012d7a094005ec3fe0000000a01f..."} 
[2026-07-01 15:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d335050012d7a094005ec3fe0000000a01f..."} 
[2026-07-01 15:52:31] local.INFO: Processing buffer {"connection_id":119081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d335050012d7a094005ec3fe0000000a01f..."} 
[2026-07-01 15:52:31] local.INFO: Packet analysis {"connection_id":119081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d33"} 
[2026-07-01 15:52:31] local.INFO: Extracted packet for processing {"connection_id":119081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d33"} 
[2026-07-01 15:52:31] local.INFO: GPS Element Parsed {"raw_longitude":762972480,"raw_latitude":99368928,"longitude_deg":76.297248,"latitude_deg":9.9368928,"altitude":0,"angle":160,"satellites":31,"speed":4,"hex_longitude":"2d7a0940","hex_latitude":"05ec3fe0","is_valid_coordinates":true} 
[2026-07-01 15:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422739968001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101278554360119296,"note":"Value kept but may cause issues"} 
[2026-07-01 15:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8793489404111931392,"note":"Value kept but may cause issues"} 
[2026-07-01 15:52:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782901330000,"timestamp_ms":1782901330000,"timestamp_seconds":1782901330,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d335050"} 
[2026-07-01 15:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-01 15:52:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:52:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:52: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-01 15:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422739968001,"66":12819,"157":206,"87":13824,"24":4,"16":101278554360119296,"45":8793489404111931392},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422739968001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:52:31] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:52:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101278554360119296,"km_value":101278554360119.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8793489404111931392,"description":"Unknown IO ID 45"} 
[2026-07-01 15:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422739968001,"power":12819,"unknown_157":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8793489404111931392}} 
[2026-07-01 15:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":119081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417661,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:52:31] local.INFO: GPS data processed {"connection_id":119081,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:52:31] local.INFO: Acknowledgment sent {"connection_id":119081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:52:51] local.INFO: TCP Data received {"connection_id":120966,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120966,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:52:51] local.INFO: Processing buffer {"connection_id":120966,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:52:51] local.INFO: IMEI packet received {"connection_id":120966,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 15:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":120966,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:52:57] local.INFO: TCP Data received {"connection_id":120966,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120966,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:52:57] local.INFO: Processing buffer {"connection_id":120966,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:52:57] local.INFO: IMEI packet received {"connection_id":120966,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 15:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":120966,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:52:58] local.INFO: TCP Data received {"connection_id":120966,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d335c08012d7a098005ec3da8000000ac1e..."} 
[2026-07-01 15:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d335c08012d7a098005ec3da8000000ac1e..."} 
[2026-07-01 15:52:58] local.INFO: Processing buffer {"connection_id":120966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d335c08012d7a098005ec3da8000000ac1e..."} 
[2026-07-01 15:52:58] local.INFO: Packet analysis {"connection_id":120966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d33"} 
[2026-07-01 15:52:58] local.INFO: Extracted packet for processing {"connection_id":120966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d33"} 
[2026-07-01 15:52:58] local.INFO: GPS Element Parsed {"raw_longitude":762972544,"raw_latitude":99368360,"longitude_deg":76.2972544,"latitude_deg":9.936836,"altitude":0,"angle":172,"satellites":30,"speed":8,"hex_longitude":"2d7a0980","hex_latitude":"05ec3da8","is_valid_coordinates":true} 
[2026-07-01 15: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-01 15:52:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422740480001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:52:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101278584424890368,"note":"Value kept but may cause issues"} 
[2026-07-01 15:52:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8793630141600227328,"note":"Value kept but may cause issues"} 
[2026-07-01 15:52:58] 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-01 15:52:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782901333000,"timestamp_ms":1782901333000,"timestamp_seconds":1782901333,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d335c08"} 
[2026-07-01 15: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-01 15:52: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-01 15: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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-01 15:52:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-07-01 15:52:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-01 15:52:58] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-01 15:52:58] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505145004851200,"note":"Value kept but may cause issues"} 
[2026-07-01 15:52:58] local.WARNING: Large IO value detected {"io_id":29,"raw_value":3632672074020550784,"note":"Value kept but may cause issues"} 
[2026-07-01 15:52:58] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4539892311479615744,"note":"Value kept but may cause issues"} 
[2026-07-01 15:52:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":4439705693883596824,"corrected_to":0} 
[2026-07-01 15:52:58] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1408465599071208920,"note":"Value kept but may cause issues"} 
[2026-07-01 15:52:58] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182109450535168,"note":"Value kept but may cause issues"} 
[2026-07-01 15:52:58] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2902510909,"note":"Value kept but may cause issues"} 
[2026-07-01 15:52:58] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3491233792,"note":"Value kept but may cause issues"} 
[2026-07-01 15:52:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6629072986978595241,"note":"Value kept but may cause issues"} 
[2026-07-01 15:52:58] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755429505958129,"note":"Value kept but may cause issues"} 
[2026-07-01 15:52:58] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194560768,"note":"Value kept but may cause issues"} 
[2026-07-01 15:52:58] local.WARNING: Large IO value detected {"io_id":8,"raw_value":84858078344113269,"note":"Value kept but may cause issues"} 
[2026-07-01 15:52:58] local.WARNING: Large IO value detected {"io_id":32,"raw_value":282369000997376,"note":"Value kept but may cause issues"} 
[2026-07-01 15:52:58] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,157,87,24,241,16,208,159,72,45,192,64,33,10,66,25,36,17,128,1,240,221,227,29,236,4,113,205,5,176,3,39,239,48,2,103,7,44,54,69,8,32],"length":625,"final_offset":755,"validated_count":42,"validation_warnings":[{"io_id":205,"original":4439705693883596824,"validated":0}]} 
[2026-07-01 15:52:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":176055004692480,"timestamp_seconds":176055004692.48,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 15: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-01 15:52:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:52:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:52:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120966,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:52:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120966,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:52: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-01 15:52:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:52:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:52:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422740480001,"66":12722,"157":206,"87":13824,"24":8,"16":101278584424890368,"45":8793630141600227328},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:52:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:52:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:52:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422740480001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:52:58] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:52:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:52:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101278584424890368,"km_value":101278584424890.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:52:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8793630141600227328,"description":"Unknown IO ID 45"} 
[2026-07-01 15:52:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422740480001,"power":12722,"unknown_157":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8793630141600227328}} 
[2026-07-01 15:52:58] local.INFO: DEBUG: GPS processor result {"connection_id":120966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417662,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:52:58] local.INFO: GPS data processed {"connection_id":120966,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:52:58] local.INFO: Acknowledgment sent {"connection_id":120966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:53:03] local.INFO: TCP Data received {"connection_id":119207,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d32fa60012cc7afc0074de578000f00a12b..."} 
[2026-07-01 15:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d32fa60012cc7afc0074de578000f00a12b..."} 
[2026-07-01 15:53:03] local.INFO: Processing buffer {"connection_id":119207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d32fa60012cc7afc0074de578000f00a12b..."} 
[2026-07-01 15:53:03] local.INFO: Packet analysis {"connection_id":119207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d32"} 
[2026-07-01 15:53:03] local.INFO: Extracted packet for processing {"connection_id":119207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d32"} 
[2026-07-01 15:53:03] local.INFO: GPS Element Parsed {"raw_longitude":751284160,"raw_latitude":122545528,"longitude_deg":75.128416,"latitude_deg":12.2545528,"altitude":15,"angle":161,"satellites":43,"speed":17,"hex_longitude":"2cc7afc0","hex_latitude":"074de578","is_valid_coordinates":true} 
[2026-07-01 15:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422734592001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333609183830081536,"note":"Value kept but may cause issues"} 
[2026-07-01 15:53:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4057954339121590272,"note":"Value kept but may cause issues"} 
[2026-07-01 15:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782901308000,"timestamp_ms":1782901308000,"timestamp_seconds":1782901308,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d32fa60"} 
[2026-07-01 15:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:53:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 15:53:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:53:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":119207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":119207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":119207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422734592001,"66":27843,"87":206,"85":37632,"24":17,"16":333609183830081536,"44":-4057954339121590272},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,85,24,16,44]} 
[2026-07-01 15:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422734592001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:53:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-07-01 15:53:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333609183830081536,"km_value":333609183830081.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:53:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4057954339121590272,"description":"Unknown IO ID 44"} 
[2026-07-01 15:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422734592001,"power":27843,"unknown_87":206,"unknown_85":37632,"ignition":17,"odometer":null,"unknown_44":-4057954339121590272}} 
[2026-07-01 15:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":119207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:53:03] local.INFO: GPS data processed {"connection_id":119207,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:53:03] local.INFO: Acknowledgment sent {"connection_id":119207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:53:20] local.INFO: TCP Data received {"connection_id":119083,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:53:20] local.INFO: Processing buffer {"connection_id":119083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:53:20] local.INFO: IMEI packet received {"connection_id":119083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 15:53:20] local.INFO: IMEI acknowledgment sent {"connection_id":119083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:53:21] local.INFO: TCP Data received {"connection_id":119083,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:53:21] local.INFO: Processing buffer {"connection_id":119083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:53:21] local.INFO: IMEI packet received {"connection_id":119083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:53:21] local.INFO: IMEI acknowledgment sent {"connection_id":119083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:53:22] local.INFO: TCP Data received {"connection_id":119083,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:53:22] local.INFO: Processing buffer {"connection_id":119083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:53:22] local.INFO: IMEI packet received {"connection_id":119083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:53:22] local.INFO: IMEI acknowledgment sent {"connection_id":119083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:53:24] local.INFO: TCP Data received {"connection_id":119083,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:53:24] local.INFO: Processing buffer {"connection_id":119083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:53:24] local.INFO: IMEI packet received {"connection_id":119083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:53:24] local.INFO: IMEI acknowledgment sent {"connection_id":119083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:53:26] local.INFO: TCP Data received {"connection_id":119083,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d333cc8012cc7b680074dcc50000f00b02a..."} 
[2026-07-01 15:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d333cc8012cc7b680074dcc50000f00b02a..."} 
[2026-07-01 15:53:26] local.INFO: Processing buffer {"connection_id":119083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d333cc8012cc7b680074dcc50000f00b02a..."} 
[2026-07-01 15:53:26] local.INFO: Packet analysis {"connection_id":119083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d33"} 
[2026-07-01 15:53:26] local.INFO: Extracted packet for processing {"connection_id":119083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d33"} 
[2026-07-01 15:53:26] local.INFO: GPS Element Parsed {"raw_longitude":751285888,"raw_latitude":122539088,"longitude_deg":75.1285888,"latitude_deg":12.2539088,"altitude":15,"angle":176,"satellites":42,"speed":9,"hex_longitude":"2cc7b680","hex_latitude":"074dcc50","is_valid_coordinates":true} 
[2026-07-01 15:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422734848001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333609505952628736,"note":"Value kept but may cause issues"} 
[2026-07-01 15:53:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4057813601633339392,"note":"Value kept but may cause issues"} 
[2026-07-01 15:53:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782901325000,"timestamp_ms":1782901325000,"timestamp_seconds":1782901325,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d333cc8"} 
[2026-07-01 15:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:53: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-01 15:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 15:53:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:53:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:53:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422734848001,"66":27843,"87":206,"85":37632,"24":9,"16":333609505952628736,"44":-4057813601633339392},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,85,24,16,44]} 
[2026-07-01 15:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422734848001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:53:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-07-01 15:53:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333609505952628736,"km_value":333609505952628.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:53:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4057813601633339392,"description":"Unknown IO ID 44"} 
[2026-07-01 15:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422734848001,"power":27843,"unknown_87":206,"unknown_85":37632,"ignition":9,"odometer":null,"unknown_44":-4057813601633339392}} 
[2026-07-01 15:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":119083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:53:26] local.INFO: GPS data processed {"connection_id":119083,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:53:26] local.INFO: Acknowledgment sent {"connection_id":119083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:53:29] local.INFO: TCP Data received {"connection_id":120966,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d337378012d7a0c0005ec3530000000a01e..."} 
[2026-07-01 15:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d337378012d7a0c0005ec3530000000a01e..."} 
[2026-07-01 15:53:29] local.INFO: Processing buffer {"connection_id":120966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d337378012d7a0c0005ec3530000000a01e..."} 
[2026-07-01 15:53:29] local.INFO: Packet analysis {"connection_id":120966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d33"} 
[2026-07-01 15:53:29] local.INFO: Extracted packet for processing {"connection_id":120966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d33"} 
[2026-07-01 15:53:29] local.INFO: GPS Element Parsed {"raw_longitude":762973184,"raw_latitude":99366192,"longitude_deg":76.2973184,"latitude_deg":9.9366192,"altitude":0,"angle":160,"satellites":30,"speed":15,"hex_longitude":"2d7a0c00","hex_latitude":"05ec3530","is_valid_coordinates":true} 
[2026-07-01 15: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-01 15:53:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422741248001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:53:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101278691799072768,"note":"Value kept but may cause issues"} 
[2026-07-01 15:53:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8793700510344259584,"note":"Value kept but may cause issues"} 
[2026-07-01 15:53:29] 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-01 15:53:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782901339000,"timestamp_ms":1782901339000,"timestamp_seconds":1782901339,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d337378"} 
[2026-07-01 15: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-01 15:53: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-01 15: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-01 15:53:29] 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-01 15: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-01 15: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-01 15:53:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:53:29] local.INFO: Teltonika packet parsed successfully {"connection_id":120966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:53:29] local.INFO: Passing IMEI to GPS processor {"connection_id":120966,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:53:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":120966,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:53: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-01 15:53:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:53:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:53:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422741248001,"66":13091,"157":206,"87":13824,"24":15,"16":101278691799072768,"45":8793700510344259584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:53:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:53:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:53:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422741248001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:53:29] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:53:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:53:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101278691799072768,"km_value":101278691799072.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:53:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8793700510344259584,"description":"Unknown IO ID 45"} 
[2026-07-01 15:53:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422741248001,"power":13091,"unknown_157":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8793700510344259584}} 
[2026-07-01 15:53:29] local.INFO: DEBUG: GPS processor result {"connection_id":120966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417665,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:53:29] local.INFO: GPS data processed {"connection_id":120966,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:53:29] local.INFO: Acknowledgment sent {"connection_id":120966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:53:51] local.INFO: TCP Data received {"connection_id":119884,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119884,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:53:51] local.INFO: Processing buffer {"connection_id":119884,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:53:51] local.INFO: IMEI packet received {"connection_id":119884,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 15:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":119884,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:53:57] local.INFO: TCP Data received {"connection_id":119884,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119884,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:53:57] local.INFO: Processing buffer {"connection_id":119884,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:53:57] local.INFO: IMEI packet received {"connection_id":119884,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 15:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":119884,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:53:58] local.INFO: TCP Data received {"connection_id":119083,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d344e38012cc7f800074d32b8001000cb28..."} 
[2026-07-01 15:53:58] local.INFO: TCP Data received {"connection_id":119884,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d339e70012d7a124005ec25200000009423..."} 
[2026-07-01 15:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d344e38012cc7f800074d32b8001000cb28..."} 
[2026-07-01 15:53:58] local.INFO: Processing buffer {"connection_id":119083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d344e38012cc7f800074d32b8001000cb28..."} 
[2026-07-01 15:53:58] local.INFO: Packet analysis {"connection_id":119083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d34"} 
[2026-07-01 15:53:58] local.INFO: Extracted packet for processing {"connection_id":119083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d34"} 
[2026-07-01 15:53:58] local.INFO: GPS Element Parsed {"raw_longitude":751302656,"raw_latitude":122499768,"longitude_deg":75.1302656,"latitude_deg":12.2499768,"altitude":16,"angle":203,"satellites":40,"speed":8,"hex_longitude":"2cc7f800","hex_latitude":"074d32b8","is_valid_coordinates":true} 
[2026-07-01 15: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-01 15:53:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422756352001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:53:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333611756515491840,"note":"Value kept but may cause issues"} 
[2026-07-01 15:53:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4037406665833314304,"note":"Value kept but may cause issues"} 
[2026-07-01 15:53:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:53:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782901395000,"timestamp_ms":1782901395000,"timestamp_seconds":1782901395,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d344e38"} 
[2026-07-01 15: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-01 15:53: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-01 15: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 15:53:58] 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-01 15: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-01 15: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-01 15:53:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:53:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:53:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:53:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:53:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:53:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d339e70012d7a124005ec25200000009423..."} 
[2026-07-01 15:53:58] local.INFO: Processing buffer {"connection_id":119884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d339e70012d7a124005ec25200000009423..."} 
[2026-07-01 15:53:58] local.INFO: Packet analysis {"connection_id":119884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d33"} 
[2026-07-01 15:53:58] local.INFO: Extracted packet for processing {"connection_id":119884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d33"} 
[2026-07-01 15:53:58] local.INFO: GPS Element Parsed {"raw_longitude":762974784,"raw_latitude":99362080,"longitude_deg":76.2974784,"latitude_deg":9.936208,"altitude":0,"angle":148,"satellites":35,"speed":15,"hex_longitude":"2d7a1240","hex_latitude":"05ec2520","is_valid_coordinates":true} 
[2026-07-01 15: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-01 15:53:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422742784001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:53:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101278906547437568,"note":"Value kept but may cause issues"} 
[2026-07-01 15:53:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8794404197785481216,"note":"Value kept but may cause issues"} 
[2026-07-01 15:53:58] 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-01 15:53:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782901350000,"timestamp_ms":1782901350000,"timestamp_seconds":1782901350,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d339e70"} 
[2026-07-01 15: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-01 15:53: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-01 15: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-01 15:53:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:53:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15: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-01 15: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-01 15:53:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:53:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:53:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:53:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:53: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-01 15:53:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:53:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422756352001,"66":27713,"57":206,"85":37632,"24":8,"16":333611756515491840,"44":-4037406665833314304},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,85,24,16,44]} 
[2026-07-01 15:53:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:53:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:53:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:53:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422756352001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:53:58] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-07-01 15:53:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:53:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333611756515491840,"km_value":333611756515491.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:53:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4037406665833314304,"description":"Unknown IO ID 44"} 
[2026-07-01 15:53:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422742784001,"66":12939,"157":206,"87":13824,"24":15,"16":101278906547437568,"45":8794404197785481216},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 15:53:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422756352001,"power":27713,"unknown_57":206,"unknown_85":37632,"ignition":8,"odometer":null,"unknown_44":-4037406665833314304}} 
[2026-07-01 15:53:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:53:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:53:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422742784001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:53:58] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 15:53:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:53:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101278906547437568,"km_value":101278906547437.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:53:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8794404197785481216,"description":"Unknown IO ID 45"} 
[2026-07-01 15:53:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422742784001,"power":12939,"unknown_157":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8794404197785481216}} 
[2026-07-01 15:53:58] local.INFO: DEBUG: GPS processor result {"connection_id":119083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:53:58] local.INFO: GPS data processed {"connection_id":119083,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:53:58] local.INFO: Acknowledgment sent {"connection_id":119083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:53:58] local.INFO: DEBUG: GPS processor result {"connection_id":119884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417667,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:53:58] local.INFO: GPS data processed {"connection_id":119884,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:53:58] local.INFO: Acknowledgment sent {"connection_id":119884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:54:20] local.INFO: TCP Data received {"connection_id":119208,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:54:20] local.INFO: Processing buffer {"connection_id":119208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:54:20] local.INFO: IMEI packet received {"connection_id":119208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 15:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":119208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:54:20] local.INFO: TCP Data received {"connection_id":119208,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:54:20] local.INFO: Processing buffer {"connection_id":119208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:54:20] local.INFO: IMEI packet received {"connection_id":119208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":119208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:54:25] local.INFO: TCP Data received {"connection_id":119208,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:54:25] local.INFO: Processing buffer {"connection_id":119208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:54:25] local.INFO: IMEI packet received {"connection_id":119208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:54:25] local.INFO: IMEI acknowledgment sent {"connection_id":119208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:54:26] local.INFO: TCP Data received {"connection_id":119208,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d345220012cc7f740074d3210000f00e82a..."} 
[2026-07-01 15:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d345220012cc7f740074d3210000f00e82a..."} 
[2026-07-01 15:54:26] local.INFO: Processing buffer {"connection_id":119208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d345220012cc7f740074d3210000f00e82a..."} 
[2026-07-01 15:54:26] local.INFO: Packet analysis {"connection_id":119208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d34"} 
[2026-07-01 15:54:26] local.INFO: Extracted packet for processing {"connection_id":119208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d34"} 
[2026-07-01 15:54:26] local.INFO: GPS Element Parsed {"raw_longitude":751302464,"raw_latitude":122499600,"longitude_deg":75.1302464,"latitude_deg":12.24996,"altitude":15,"angle":232,"satellites":42,"speed":7,"hex_longitude":"2cc7f740","hex_latitude":"074d3210","is_valid_coordinates":true} 
[2026-07-01 15:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:54:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422757120001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:54:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333611769400393728,"note":"Value kept but may cause issues"} 
[2026-07-01 15:54:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4037477034577709056,"note":"Value kept but may cause issues"} 
[2026-07-01 15:54:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:54:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782901396000,"timestamp_ms":1782901396000,"timestamp_seconds":1782901396,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d345220"} 
[2026-07-01 15:54:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:54:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-01 15:54:26] 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-01 15:54:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:54:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:54:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:54:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:54:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:54:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:54:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:54:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:54:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:54:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422757120001,"66":27713,"57":206,"85":37632,"24":7,"16":333611769400393728,"44":-4037477034577709056},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,85,24,16,44]} 
[2026-07-01 15:54:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:54:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:54:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422757120001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:54:26] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-07-01 15:54:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:54:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333611769400393728,"km_value":333611769400393.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:54:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4037477034577709056,"description":"Unknown IO ID 44"} 
[2026-07-01 15:54:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422757120001,"power":27713,"unknown_57":206,"unknown_85":37632,"ignition":7,"odometer":null,"unknown_44":-4037477034577709056}} 
[2026-07-01 15:54:26] local.INFO: DEBUG: GPS processor result {"connection_id":119208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:54:26] local.INFO: GPS data processed {"connection_id":119208,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:54:26] local.INFO: Acknowledgment sent {"connection_id":119208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:54:29] local.INFO: TCP Data received {"connection_id":119884,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d33bdb0012d7a174005ec1968000000a322..."} 
[2026-07-01 15:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d33bdb0012d7a174005ec1968000000a322..."} 
[2026-07-01 15:54:29] local.INFO: Processing buffer {"connection_id":119884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d33bdb0012d7a174005ec1968000000a322..."} 
[2026-07-01 15:54:29] local.INFO: Packet analysis {"connection_id":119884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d33"} 
[2026-07-01 15:54:29] local.INFO: Extracted packet for processing {"connection_id":119884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d33"} 
[2026-07-01 15:54:29] local.INFO: GPS Element Parsed {"raw_longitude":762976064,"raw_latitude":99359080,"longitude_deg":76.2976064,"latitude_deg":9.935908,"altitude":0,"angle":163,"satellites":34,"speed":12,"hex_longitude":"2d7a1740","hex_latitude":"05ec1968","is_valid_coordinates":true} 
[2026-07-01 15: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-01 15:54:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422745600001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:54:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101279065461227520,"note":"Value kept but may cause issues"} 
[2026-07-01 15:54:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796163416388870144,"note":"Value kept but may cause issues"} 
[2026-07-01 15:54:29] 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-01 15:54:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782901358000,"timestamp_ms":1782901358000,"timestamp_seconds":1782901358,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d33bdb0"} 
[2026-07-01 15: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-01 15:54: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-01 15: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":139,"data_length":795,"current_offset":136} 
[2026-07-01 15:54: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-01 15: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-01 15: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-01 15:54:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:54:29] local.INFO: Teltonika packet parsed successfully {"connection_id":119884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:54:29] local.INFO: Passing IMEI to GPS processor {"connection_id":119884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:54:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":119884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:54: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-01 15:54:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:54:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:54:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422745600001,"66":12961,"156":206,"87":13824,"24":12,"16":101279065461227520,"45":8796163416388870144},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-01 15:54:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:54:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:54:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422745600001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:54:29] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-01 15:54:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:54:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101279065461227520,"km_value":101279065461227.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:54:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796163416388870144,"description":"Unknown IO ID 45"} 
[2026-07-01 15:54:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422745600001,"power":12961,"unknown_156":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8796163416388870144}} 
[2026-07-01 15:54:29] local.INFO: DEBUG: GPS processor result {"connection_id":119884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417669,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:54:29] local.INFO: GPS data processed {"connection_id":119884,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:54:29] local.INFO: Acknowledgment sent {"connection_id":119884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:54:57] local.INFO: TCP Data received {"connection_id":119885,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119885,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:54:57] local.INFO: Processing buffer {"connection_id":119885,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:54:57] local.INFO: IMEI packet received {"connection_id":119885,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 15:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":119885,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:54:57] local.INFO: TCP Data received {"connection_id":119208,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d345608012cc7f680074d3190000f00fe2b..."} 
[2026-07-01 15:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d345608012cc7f680074d3190000f00fe2b..."} 
[2026-07-01 15:54:57] local.INFO: Processing buffer {"connection_id":119208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d345608012cc7f680074d3190000f00fe2b..."} 
[2026-07-01 15:54:57] local.INFO: Packet analysis {"connection_id":119208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d34"} 
[2026-07-01 15:54:57] local.INFO: Extracted packet for processing {"connection_id":119208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d34"} 
[2026-07-01 15:54:57] local.INFO: GPS Element Parsed {"raw_longitude":751302272,"raw_latitude":122499472,"longitude_deg":75.1302272,"latitude_deg":12.2499472,"altitude":15,"angle":254,"satellites":43,"speed":9,"hex_longitude":"2cc7f680","hex_latitude":"074d3190","is_valid_coordinates":true} 
[2026-07-01 15:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:54:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422757376001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:54:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333611782285295616,"note":"Value kept but may cause issues"} 
[2026-07-01 15:54:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4037688140810285056,"note":"Value kept but may cause issues"} 
[2026-07-01 15:54:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:54:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782901397000,"timestamp_ms":1782901397000,"timestamp_seconds":1782901397,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d345608"} 
[2026-07-01 15:54:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:54:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-01 15:54:57] 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-01 15:54:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:54:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:54:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:54:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:54:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:54:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:54:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:54:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:54:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:54:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422757376001,"66":27680,"57":206,"85":37632,"24":9,"16":333611782285295616,"44":-4037688140810285056},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,85,24,16,44]} 
[2026-07-01 15:54:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:54:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:54:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422757376001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:54:57] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-07-01 15:54:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:54:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333611782285295616,"km_value":333611782285295.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:54:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4037688140810285056,"description":"Unknown IO ID 44"} 
[2026-07-01 15:54:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422757376001,"power":27680,"unknown_57":206,"unknown_85":37632,"ignition":9,"odometer":null,"unknown_44":-4037688140810285056}} 
[2026-07-01 15:54:57] local.INFO: DEBUG: GPS processor result {"connection_id":119208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:54:57] local.INFO: GPS data processed {"connection_id":119208,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:54:57] local.INFO: Acknowledgment sent {"connection_id":119208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:55:04] local.INFO: TCP Data received {"connection_id":119885,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119885,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:55:04] local.INFO: Processing buffer {"connection_id":119885,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:55:04] local.INFO: IMEI packet received {"connection_id":119885,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 15:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":119885,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:55:19] local.INFO: TCP Data received {"connection_id":119885,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d358e88012d7a7e8005eba2300003004b21..."} 
[2026-07-01 15:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d358e88012d7a7e8005eba2300003004b21..."} 
[2026-07-01 15:55:19] local.INFO: Processing buffer {"connection_id":119885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d358e88012d7a7e8005eba2300003004b21..."} 
[2026-07-01 15:55:19] local.INFO: Packet analysis {"connection_id":119885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d35"} 
[2026-07-01 15:55:19] local.INFO: Extracted packet for processing {"connection_id":119885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d35"} 
[2026-07-01 15:55:19] local.INFO: GPS Element Parsed {"raw_longitude":763002496,"raw_latitude":99328560,"longitude_deg":76.3002496,"latitude_deg":9.932856,"altitude":3,"angle":75,"satellites":33,"speed":29,"hex_longitude":"2d7a7e80","hex_latitude":"05eba230","is_valid_coordinates":true} 
[2026-07-01 15:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:55:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422774784001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:55:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101281419103305728,"note":"Value kept but may cause issues"} 
[2026-07-01 15:55:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8817274039632744448,"note":"Value kept but may cause issues"} 
[2026-07-01 15:55:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:55:19] local.INFO: AVL Record Parsed {"raw_timestamp":1782901477000,"timestamp_ms":1782901477000,"timestamp_seconds":1782901477,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d358e88"} 
[2026-07-01 15:55:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:55: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-01 15:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-01 15:55:19] 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-01 15:55:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:55:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:55:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:55:19] local.INFO: Teltonika packet parsed successfully {"connection_id":119885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:55:19] local.INFO: Passing IMEI to GPS processor {"connection_id":119885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:55:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":119885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:55: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-01 15:55:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:55:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:55:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422774784001,"66":12939,"163":206,"87":13824,"24":29,"16":101281419103305728,"45":8817274039632744448},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-07-01 15:55:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:55:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:55:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422774784001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:55:19] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-01 15:55:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:55:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101281419103305728,"km_value":101281419103305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:55:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8817274039632744448,"description":"Unknown IO ID 45"} 
[2026-07-01 15:55:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422774784001,"power":12939,"unknown_163":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8817274039632744448}} 
[2026-07-01 15:55:19] local.INFO: DEBUG: GPS processor result {"connection_id":119885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417671,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:55:19] local.INFO: GPS data processed {"connection_id":119885,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:55:19] local.INFO: Acknowledgment sent {"connection_id":119885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:55:20] local.INFO: TCP Data received {"connection_id":119885,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d35b598012d7aa00005ebae680005004723..."} 
[2026-07-01 15:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d35b598012d7aa00005ebae680005004723..."} 
[2026-07-01 15:55:20] local.INFO: Processing buffer {"connection_id":119885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d35b598012d7aa00005ebae680005004723..."} 
[2026-07-01 15:55:20] local.INFO: Packet analysis {"connection_id":119885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d35"} 
[2026-07-01 15:55:20] local.INFO: Extracted packet for processing {"connection_id":119885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d35"} 
[2026-07-01 15:55:20] local.INFO: GPS Element Parsed {"raw_longitude":763011072,"raw_latitude":99331688,"longitude_deg":76.3011072,"latitude_deg":9.9331688,"altitude":5,"angle":71,"satellites":35,"speed":32,"hex_longitude":"2d7aa000","hex_latitude":"05ebae68","is_valid_coordinates":true} 
[2026-07-01 15: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-01 15:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422778112001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101281857189969920,"note":"Value kept but may cause issues"} 
[2026-07-01 15:55:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8826633082609217536,"note":"Value kept but may cause issues"} 
[2026-07-01 15:55:20] 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-01 15:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782901487000,"timestamp_ms":1782901487000,"timestamp_seconds":1782901487,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d35b598"} 
[2026-07-01 15: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-01 15:55:20] 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-01 15: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-01 15:55: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-01 15: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-01 15: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-01 15:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":119885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":119885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":119885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:55: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-01 15:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422778112001,"66":13037,"163":206,"87":13824,"24":32,"16":101281857189969920,"45":8826633082609217536},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-07-01 15:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422778112001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:55:20] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-01 15:55:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101281857189969920,"km_value":101281857189969.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:55:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8826633082609217536,"description":"Unknown IO ID 45"} 
[2026-07-01 15:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422778112001,"power":13037,"unknown_163":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8826633082609217536}} 
[2026-07-01 15:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":119885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417672,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:55:20] local.INFO: GPS data processed {"connection_id":119885,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:55:20] local.INFO: Acknowledgment sent {"connection_id":119885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:55:20] local.INFO: TCP Data received {"connection_id":119084,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:55:20] local.INFO: Processing buffer {"connection_id":119084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:55:20] local.INFO: IMEI packet received {"connection_id":119084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 15:55:20] local.INFO: IMEI acknowledgment sent {"connection_id":119084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:55:25] local.INFO: TCP Data received {"connection_id":119084,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:55:25] local.INFO: Processing buffer {"connection_id":119084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:55:25] local.INFO: IMEI packet received {"connection_id":119084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":119084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:55:26] local.INFO: TCP Data received {"connection_id":119084,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d345dd8012cc7f3c0074d30c8000e010d2a..."} 
[2026-07-01 15:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d345dd8012cc7f3c0074d30c8000e010d2a..."} 
[2026-07-01 15:55:26] local.INFO: Processing buffer {"connection_id":119084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d345dd8012cc7f3c0074d30c8000e010d2a..."} 
[2026-07-01 15:55:26] local.INFO: Packet analysis {"connection_id":119084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d34"} 
[2026-07-01 15:55:26] local.INFO: Extracted packet for processing {"connection_id":119084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d34"} 
[2026-07-01 15:55:26] local.INFO: GPS Element Parsed {"raw_longitude":751301568,"raw_latitude":122499272,"longitude_deg":75.1301568,"latitude_deg":12.2499272,"altitude":14,"angle":269,"satellites":42,"speed":15,"hex_longitude":"2cc7f3c0","hex_latitude":"074d30c8","is_valid_coordinates":true} 
[2026-07-01 15:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:55:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422757632001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:55:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333611816645033984,"note":"Value kept but may cause issues"} 
[2026-07-01 15:55:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4037899247042850816,"note":"Value kept but may cause issues"} 
[2026-07-01 15:55:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:55:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782901399000,"timestamp_ms":1782901399000,"timestamp_seconds":1782901399,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d345dd8"} 
[2026-07-01 15:55:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:55:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-07-01 15:55:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1026,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:55:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:55:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:55:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:55:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:55:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:55:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:55:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:55:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:55:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:55:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422757632001,"66":27767,"57":206,"85":37632,"24":15,"16":333611816645033984,"44":-4037899247042850816},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,85,24,16,44]} 
[2026-07-01 15:55:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:55:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:55:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422757632001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:55:26] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-07-01 15:55:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:55:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333611816645033984,"km_value":333611816645034.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:55:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4037899247042850816,"description":"Unknown IO ID 44"} 
[2026-07-01 15:55:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422757632001,"power":27767,"unknown_57":206,"unknown_85":37632,"ignition":15,"odometer":null,"unknown_44":-4037899247042850816}} 
[2026-07-01 15:55:26] local.INFO: DEBUG: GPS processor result {"connection_id":119084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:55:26] local.INFO: GPS data processed {"connection_id":119084,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:55:26] local.INFO: Acknowledgment sent {"connection_id":119084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:55:52] local.INFO: TCP Data received {"connection_id":119210,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119210,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:55:52] local.INFO: Processing buffer {"connection_id":119210,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:55:52] local.INFO: IMEI packet received {"connection_id":119210,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 15:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":119210,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:55:57] local.INFO: TCP Data received {"connection_id":119084,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d3490a0012cc7d040074d2dc0000e010528..."} 
[2026-07-01 15:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d3490a0012cc7d040074d2dc0000e010528..."} 
[2026-07-01 15:55:57] local.INFO: Processing buffer {"connection_id":119084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d3490a0012cc7d040074d2dc0000e010528..."} 
[2026-07-01 15:55:57] local.INFO: Packet analysis {"connection_id":119084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d34"} 
[2026-07-01 15:55:57] local.INFO: Extracted packet for processing {"connection_id":119084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d34"} 
[2026-07-01 15:55:57] local.INFO: GPS Element Parsed {"raw_longitude":751292480,"raw_latitude":122498496,"longitude_deg":75.129248,"latitude_deg":12.2498496,"altitude":14,"angle":261,"satellites":40,"speed":34,"hex_longitude":"2cc7d040","hex_latitude":"074d2dc0","is_valid_coordinates":true} 
[2026-07-01 15:55: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-01 15:55:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422758144001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:55:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333612246141763584,"note":"Value kept but may cause issues"} 
[2026-07-01 15:55:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4038673303228856320,"note":"Value kept but may cause issues"} 
[2026-07-01 15:55:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:55:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782901412000,"timestamp_ms":1782901412000,"timestamp_seconds":1782901412,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d3490a0"} 
[2026-07-01 15:55:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:55:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15:55:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 15:55:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:55: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-01 15:55:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:55:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:55:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:55:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:55:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:55:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:55:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:55:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:55:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422758144001,"66":27800,"57":206,"85":37632,"24":34,"16":333612246141763584,"44":-4038673303228856320},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,85,24,16,44]} 
[2026-07-01 15:55:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:55:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:55:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422758144001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:55:57] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-07-01 15:55:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:55:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333612246141763584,"km_value":333612246141763.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:55:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4038673303228856320,"description":"Unknown IO ID 44"} 
[2026-07-01 15:55:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422758144001,"power":27800,"unknown_57":206,"unknown_85":37632,"ignition":34,"odometer":null,"unknown_44":-4038673303228856320}} 
[2026-07-01 15:55:57] local.INFO: DEBUG: GPS processor result {"connection_id":119084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:55:57] local.INFO: GPS data processed {"connection_id":119084,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:55:57] local.INFO: Acknowledgment sent {"connection_id":119084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:55:57] local.INFO: TCP Data received {"connection_id":119210,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119210,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:55:57] local.INFO: Processing buffer {"connection_id":119210,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 15:55:57] local.INFO: IMEI packet received {"connection_id":119210,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 15:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":119210,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:55:58] local.INFO: TCP Data received {"connection_id":119210,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d35e860012d7ac0c005ebbc200008004026..."} 
[2026-07-01 15:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d35e860012d7ac0c005ebbc200008004026..."} 
[2026-07-01 15:55:58] local.INFO: Processing buffer {"connection_id":119210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d35e860012d7ac0c005ebbc200008004026..."} 
[2026-07-01 15:55:58] local.INFO: Packet analysis {"connection_id":119210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d35"} 
[2026-07-01 15:55:58] local.INFO: Extracted packet for processing {"connection_id":119210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d35"} 
[2026-07-01 15:55:58] local.INFO: GPS Element Parsed {"raw_longitude":763019456,"raw_latitude":99335200,"longitude_deg":76.3019456,"latitude_deg":9.93352,"altitude":8,"angle":64,"satellites":38,"speed":21,"hex_longitude":"2d7ac0c0","hex_latitude":"05ebbc20","is_valid_coordinates":true} 
[2026-07-01 15: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-01 15:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422780672001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101282295276634112,"note":"Value kept but may cause issues"} 
[2026-07-01 15:55:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8836062494329825280,"note":"Value kept but may cause issues"} 
[2026-07-01 15:55:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782901500000,"timestamp_ms":1782901500000,"timestamp_seconds":1782901500,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d35e860"} 
[2026-07-01 15: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-01 15:55:58] 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-01 15: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-01 15:55:58] 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-01 15: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-01 15: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-01 15:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:55: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-01 15:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422780672001,"66":12885,"161":206,"87":13824,"24":21,"16":101282295276634112,"45":8836062494329825280},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-07-01 15:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422780672001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:55:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-01 15:55:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101282295276634112,"km_value":101282295276634.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:55:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8836062494329825280,"description":"Unknown IO ID 45"} 
[2026-07-01 15:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422780672001,"power":12885,"unknown_161":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8836062494329825280}} 
[2026-07-01 15:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":119210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417675,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:55:58] local.INFO: GPS data processed {"connection_id":119210,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:55:58] local.INFO: Acknowledgment sent {"connection_id":119210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:56:25] local.INFO: TCP Data received {"connection_id":119887,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:56:25] local.INFO: Processing buffer {"connection_id":119887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:56:25] local.INFO: IMEI packet received {"connection_id":119887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 15:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":119887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:56:29] local.INFO: TCP Data received {"connection_id":119210,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d3626e0012d7ae14005ebcc280009003e2a..."} 
[2026-07-01 15:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d3626e0012d7ae14005ebcc280009003e2a..."} 
[2026-07-01 15:56:29] local.INFO: Processing buffer {"connection_id":119210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d3626e0012d7ae14005ebcc280009003e2a..."} 
[2026-07-01 15:56:29] local.INFO: Packet analysis {"connection_id":119210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d36"} 
[2026-07-01 15:56:29] local.INFO: Extracted packet for processing {"connection_id":119210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d36"} 
[2026-07-01 15:56:29] local.INFO: GPS Element Parsed {"raw_longitude":763027776,"raw_latitude":99339304,"longitude_deg":76.3027776,"latitude_deg":9.9339304,"altitude":9,"angle":62,"satellites":42,"speed":20,"hex_longitude":"2d7ae140","hex_latitude":"05ebcc28","is_valid_coordinates":true} 
[2026-07-01 15: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-01 15:56:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422784000001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:56:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101282737658265600,"note":"Value kept but may cause issues"} 
[2026-07-01 15:56:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8845280799817998336,"note":"Value kept but may cause issues"} 
[2026-07-01 15:56:29] 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-01 15:56:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782901516000,"timestamp_ms":1782901516000,"timestamp_seconds":1782901516,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d3626e0"} 
[2026-07-01 15: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-01 15:56:29] 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-01 15: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-01 15:56:29] 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-01 15: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-01 15: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-01 15:56:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:56:29] local.INFO: Teltonika packet parsed successfully {"connection_id":119210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:56:29] local.INFO: Passing IMEI to GPS processor {"connection_id":119210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15:56:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":119210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 15: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-01 15:56:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 15:56:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 15:56:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422784000001,"66":13037,"161":206,"87":13824,"24":20,"16":101282737658265600,"45":8845280799817998336},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-07-01 15:56:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 15:56:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 15:56:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422784000001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:56:29] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-01 15:56:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 15:56:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101282737658265600,"km_value":101282737658265.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:56:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8845280799817998336,"description":"Unknown IO ID 45"} 
[2026-07-01 15:56:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422784000001,"power":13037,"unknown_161":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8845280799817998336}} 
[2026-07-01 15:56:29] local.INFO: DEBUG: GPS processor result {"connection_id":119210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417676,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:56:29] local.INFO: GPS data processed {"connection_id":119210,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:56:29] local.INFO: Acknowledgment sent {"connection_id":119210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:56:30] local.INFO: TCP Data received {"connection_id":119887,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:56:30] local.INFO: Processing buffer {"connection_id":119887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:56:30] local.INFO: IMEI packet received {"connection_id":119887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":119887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:56:31] local.INFO: TCP Data received {"connection_id":119887,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d3622f8012cc75440074d40100009011c2b..."} 
[2026-07-01 15:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d3622f8012cc75440074d40100009011c2b..."} 
[2026-07-01 15:56:31] local.INFO: Processing buffer {"connection_id":119887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d3622f8012cc75440074d40100009011c2b..."} 
[2026-07-01 15:56:31] local.INFO: Packet analysis {"connection_id":119887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d36"} 
[2026-07-01 15:56:31] local.INFO: Extracted packet for processing {"connection_id":119887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d36"} 
[2026-07-01 15:56:31] local.INFO: GPS Element Parsed {"raw_longitude":751260736,"raw_latitude":122503184,"longitude_deg":75.1260736,"latitude_deg":12.2503184,"altitude":9,"angle":284,"satellites":43,"speed":5,"hex_longitude":"2cc75440","hex_latitude":"074d4010","is_valid_coordinates":true} 
[2026-07-01 15:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422782464001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333613882524303360,"note":"Value kept but may cause issues"} 
[2026-07-01 15:56:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4081176024711305216,"note":"Value kept but may cause issues"} 
[2026-07-01 15:56:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782901515000,"timestamp_ms":1782901515000,"timestamp_seconds":1782901515,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d3622f8"} 
[2026-07-01 15:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:56:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-01 15:56:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:56:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:56:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422782464001,"66":28017,"89":206,"85":37632,"24":5,"16":333613882524303360,"44":-4081176024711305216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-07-01 15:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422782464001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:56:31] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 15:56:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333613882524303360,"km_value":333613882524303.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:56:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4081176024711305216,"description":"Unknown IO ID 44"} 
[2026-07-01 15:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422782464001,"power":28017,"unknown_89":206,"unknown_85":37632,"ignition":5,"odometer":null,"unknown_44":-4081176024711305216}} 
[2026-07-01 15:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":119887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:56:31] local.INFO: GPS data processed {"connection_id":119887,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:56:31] local.INFO: Acknowledgment sent {"connection_id":119887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:56:36] local.INFO: TCP Data received {"connection_id":119887,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d363298012cc75200074d40a8000901282b..."} 
[2026-07-01 15:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d363298012cc75200074d40a8000901282b..."} 
[2026-07-01 15:56:36] local.INFO: Processing buffer {"connection_id":119887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d363298012cc75200074d40a8000901282b..."} 
[2026-07-01 15:56:36] local.INFO: Packet analysis {"connection_id":119887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d36"} 
[2026-07-01 15:56:36] local.INFO: Extracted packet for processing {"connection_id":119887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d36"} 
[2026-07-01 15:56:36] local.INFO: GPS Element Parsed {"raw_longitude":751260160,"raw_latitude":122503336,"longitude_deg":75.126016,"latitude_deg":12.2503336,"altitude":9,"angle":296,"satellites":43,"speed":5,"hex_longitude":"2cc75200","hex_latitude":"074d40a8","is_valid_coordinates":true} 
[2026-07-01 15:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422787840001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333613912589074432,"note":"Value kept but may cause issues"} 
[2026-07-01 15:56:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4083568562013204480,"note":"Value kept but may cause issues"} 
[2026-07-01 15:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782901519000,"timestamp_ms":1782901519000,"timestamp_seconds":1782901519,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d363298"} 
[2026-07-01 15:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-01 15:56:36] 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-01 15:56:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":119887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":119887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":119887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422787840001,"66":27995,"89":206,"85":37632,"24":5,"16":333613912589074432,"44":-4083568562013204480},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-07-01 15:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422787840001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:56:36] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 15:56:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333613912589074432,"km_value":333613912589074.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:56:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4083568562013204480,"description":"Unknown IO ID 44"} 
[2026-07-01 15:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422787840001,"power":27995,"unknown_89":206,"unknown_85":37632,"ignition":5,"odometer":null,"unknown_44":-4083568562013204480}} 
[2026-07-01 15:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":119887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:56:36] local.INFO: GPS data processed {"connection_id":119887,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:56:36] local.INFO: Acknowledgment sent {"connection_id":119887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:56:45] local.INFO: TCP Data received {"connection_id":120967,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 15:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120967,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 15:56:45] local.INFO: Processing buffer {"connection_id":120967,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 15:56:45] local.INFO: IMEI packet received {"connection_id":120967,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 15:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":120967,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:57:20] local.INFO: TCP Data received {"connection_id":119889,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 15:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119889,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 15:57:20] local.INFO: Processing buffer {"connection_id":119889,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 15:57:20] local.INFO: IMEI packet received {"connection_id":119889,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 15:57:20] local.INFO: IMEI acknowledgment sent {"connection_id":119889,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:57:20] local.INFO: TCP Data received {"connection_id":120968,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:57:20] local.INFO: Processing buffer {"connection_id":120968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:57:20] local.INFO: IMEI packet received {"connection_id":120968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 15:57:20] local.INFO: IMEI acknowledgment sent {"connection_id":120968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:57:21] local.INFO: TCP Data received {"connection_id":120968,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:57:21] local.INFO: Processing buffer {"connection_id":120968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:57:21] local.INFO: IMEI packet received {"connection_id":120968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:57:21] local.INFO: IMEI acknowledgment sent {"connection_id":120968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:57:22] local.INFO: TCP Data received {"connection_id":120968,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d3684a0012cc747c0074d4630000b012d2b..."} 
[2026-07-01 15:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d3684a0012cc747c0074d4630000b012d2b..."} 
[2026-07-01 15:57:22] local.INFO: Processing buffer {"connection_id":120968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d3684a0012cc747c0074d4630000b012d2b..."} 
[2026-07-01 15:57:22] local.INFO: Packet analysis {"connection_id":120968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d36"} 
[2026-07-01 15:57:22] local.INFO: Extracted packet for processing {"connection_id":120968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d36"} 
[2026-07-01 15:57:22] local.INFO: GPS Element Parsed {"raw_longitude":751257536,"raw_latitude":122504752,"longitude_deg":75.1257536,"latitude_deg":12.2504752,"altitude":11,"angle":301,"satellites":43,"speed":5,"hex_longitude":"2cc747c0","hex_latitude":"074d4630","is_valid_coordinates":true} 
[2026-07-01 15:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:57:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422788864001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:57:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333614054322995200,"note":"Value kept but may cause issues"} 
[2026-07-01 15:57:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4084201880710764544,"note":"Value kept but may cause issues"} 
[2026-07-01 15:57:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:57:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782901540000,"timestamp_ms":1782901540000,"timestamp_seconds":1782901540,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d3684a0"} 
[2026-07-01 15:57:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:57:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-01 15:57:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:57:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:57:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:57:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:57:22] local.INFO: Teltonika packet parsed successfully {"connection_id":120968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:57:22] local.INFO: Passing IMEI to GPS processor {"connection_id":120968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:57:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":120968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:57:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:57:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:57:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:57:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422788864001,"66":27800,"89":206,"85":37632,"24":5,"16":333614054322995200,"44":-4084201880710764544},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-07-01 15:57:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:57:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:57:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422788864001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:57:22] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 15:57:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:57:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333614054322995200,"km_value":333614054322995.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:57:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4084201880710764544,"description":"Unknown IO ID 44"} 
[2026-07-01 15:57:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422788864001,"power":27800,"unknown_89":206,"unknown_85":37632,"ignition":5,"odometer":null,"unknown_44":-4084201880710764544}} 
[2026-07-01 15:57:22] local.INFO: DEBUG: GPS processor result {"connection_id":120968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:57:22] local.INFO: GPS data processed {"connection_id":120968,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:57:22] local.INFO: Acknowledgment sent {"connection_id":120968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:57:53] local.INFO: TCP Data received {"connection_id":120968,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d36d6a8012cc73e80074d4b70000a01302c..."} 
[2026-07-01 15:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d36d6a8012cc73e80074d4b70000a01302c..."} 
[2026-07-01 15:57:53] local.INFO: Processing buffer {"connection_id":120968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d36d6a8012cc73e80074d4b70000a01302c..."} 
[2026-07-01 15:57:53] local.INFO: Packet analysis {"connection_id":120968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d36"} 
[2026-07-01 15:57:53] local.INFO: Extracted packet for processing {"connection_id":120968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d36"} 
[2026-07-01 15:57:53] local.INFO: GPS Element Parsed {"raw_longitude":751255168,"raw_latitude":122506096,"longitude_deg":75.1255168,"latitude_deg":12.2506096,"altitude":10,"angle":304,"satellites":44,"speed":9,"hex_longitude":"2cc73e80","hex_latitude":"074d4b70","is_valid_coordinates":true} 
[2026-07-01 15:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:57:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422794240001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:57:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333614187466981376,"note":"Value kept but may cause issues"} 
[2026-07-01 15:57:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4087086999221686272,"note":"Value kept but may cause issues"} 
[2026-07-01 15:57:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:57:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782901561000,"timestamp_ms":1782901561000,"timestamp_seconds":1782901561,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d36d6a8"} 
[2026-07-01 15:57:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:57:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 15:57:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15:57:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:57:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:57:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:57:53] local.INFO: Teltonika packet parsed successfully {"connection_id":120968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:57:53] local.INFO: Passing IMEI to GPS processor {"connection_id":120968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:57:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":120968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:57:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:57:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:57:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:57:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422794240001,"66":27995,"89":206,"85":37632,"24":9,"16":333614187466981376,"44":-4087086999221686272},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-07-01 15:57:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:57:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:57:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422794240001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:57:53] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 15:57:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:57:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333614187466981376,"km_value":333614187466981.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:57:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4087086999221686272,"description":"Unknown IO ID 44"} 
[2026-07-01 15:57:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422794240001,"power":27995,"unknown_89":206,"unknown_85":37632,"ignition":9,"odometer":null,"unknown_44":-4087086999221686272}} 
[2026-07-01 15:57:53] local.INFO: DEBUG: GPS processor result {"connection_id":120968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:57:53] local.INFO: GPS data processed {"connection_id":120968,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:57:53] local.INFO: Acknowledgment sent {"connection_id":120968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:58:18] local.INFO: TCP Data received {"connection_id":119212,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:58:18] local.INFO: Processing buffer {"connection_id":119212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:58:18] local.INFO: IMEI packet received {"connection_id":119212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 15:58:18] local.INFO: IMEI acknowledgment sent {"connection_id":119212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:58:20] local.INFO: TCP Data received {"connection_id":119212,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:58:20] local.INFO: Processing buffer {"connection_id":119212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:58:20] local.INFO: IMEI packet received {"connection_id":119212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":119212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:58:25] local.INFO: TCP Data received {"connection_id":119212,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:58:25] local.INFO: Processing buffer {"connection_id":119212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:58:25] local.INFO: IMEI packet received {"connection_id":119212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":119212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:58:26] local.INFO: TCP Data received {"connection_id":119212,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d3728b0012cc73380074d51800009012e2b..."} 
[2026-07-01 15:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d3728b0012cc73380074d51800009012e2b..."} 
[2026-07-01 15:58:26] local.INFO: Processing buffer {"connection_id":119212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d3728b0012cc73380074d51800009012e2b..."} 
[2026-07-01 15:58:26] local.INFO: Packet analysis {"connection_id":119212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d37"} 
[2026-07-01 15:58:26] local.INFO: Extracted packet for processing {"connection_id":119212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d37"} 
[2026-07-01 15:58:26] local.INFO: GPS Element Parsed {"raw_longitude":751252352,"raw_latitude":122507648,"longitude_deg":75.1252352,"latitude_deg":12.2507648,"altitude":9,"angle":302,"satellites":43,"speed":6,"hex_longitude":"2cc73380","hex_latitude":"074d5180","is_valid_coordinates":true} 
[2026-07-01 15:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422799616001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333614342085804032,"note":"Value kept but may cause issues"} 
[2026-07-01 15:58:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4089690642755915776,"note":"Value kept but may cause issues"} 
[2026-07-01 15:58:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782901582000,"timestamp_ms":1782901582000,"timestamp_seconds":1782901582,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d3728b0"} 
[2026-07-01 15:58:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:58: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-01 15:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-01 15:58:26] 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-01 15:58:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:58:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:58:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422799616001,"66":27984,"89":206,"85":37632,"24":6,"16":333614342085804032,"44":-4089690642755915776},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-07-01 15:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422799616001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:58:26] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 15:58:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333614342085804032,"km_value":333614342085804.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:58:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4089690642755915776,"description":"Unknown IO ID 44"} 
[2026-07-01 15:58:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422799616001,"power":27984,"unknown_89":206,"unknown_85":37632,"ignition":6,"odometer":null,"unknown_44":-4089690642755915776}} 
[2026-07-01 15:58:26] local.INFO: DEBUG: GPS processor result {"connection_id":119212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:58:26] local.INFO: GPS data processed {"connection_id":119212,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:58:26] local.INFO: Acknowledgment sent {"connection_id":119212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:58:56] local.INFO: TCP Data received {"connection_id":119212,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d377ab8012cc72bc0074d5630000a012c2c..."} 
[2026-07-01 15:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d377ab8012cc72bc0074d5630000a012c2c..."} 
[2026-07-01 15:58:56] local.INFO: Processing buffer {"connection_id":119212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d377ab8012cc72bc0074d5630000a012c2c..."} 
[2026-07-01 15:58:56] local.INFO: Packet analysis {"connection_id":119212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d37"} 
[2026-07-01 15:58:56] local.INFO: Extracted packet for processing {"connection_id":119212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d37"} 
[2026-07-01 15:58:56] local.INFO: GPS Element Parsed {"raw_longitude":751250368,"raw_latitude":122508848,"longitude_deg":75.1250368,"latitude_deg":12.2508848,"altitude":10,"angle":300,"satellites":44,"speed":5,"hex_longitude":"2cc72bc0","hex_latitude":"074d5630","is_valid_coordinates":true} 
[2026-07-01 15:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 15:58:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422804992001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:58:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333614453754953728,"note":"Value kept but may cause issues"} 
[2026-07-01 15:58:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4092786867499335680,"note":"Value kept but may cause issues"} 
[2026-07-01 15:58:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:58:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782901603000,"timestamp_ms":1782901603000,"timestamp_seconds":1782901603,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d377ab8"} 
[2026-07-01 15:58:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 15:58:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-01 15:58:56] 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-01 15:58:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 15:58:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 15:58:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:58:56] local.INFO: Teltonika packet parsed successfully {"connection_id":119212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:58:56] local.INFO: Passing IMEI to GPS processor {"connection_id":119212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:58:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":119212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:58:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 15:58:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422804992001,"66":27745,"89":206,"85":37632,"24":5,"16":333614453754953728,"44":-4092786867499335680},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-07-01 15:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422804992001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:58:56] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 15:58:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333614453754953728,"km_value":333614453754953.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:58:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4092786867499335680,"description":"Unknown IO ID 44"} 
[2026-07-01 15:58:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422804992001,"power":27745,"unknown_89":206,"unknown_85":37632,"ignition":5,"odometer":null,"unknown_44":-4092786867499335680}} 
[2026-07-01 15:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":119212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:58:56] local.INFO: GPS data processed {"connection_id":119212,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:58:56] local.INFO: Acknowledgment sent {"connection_id":119212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 15:59:21] local.INFO: TCP Data received {"connection_id":119086,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:59:21] local.INFO: Processing buffer {"connection_id":119086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:59:21] local.INFO: IMEI packet received {"connection_id":119086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 15:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":119086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 15:59:21] local.INFO: TCP Data received {"connection_id":119086,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:59:21] local.INFO: Processing buffer {"connection_id":119086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:59:21] local.INFO: IMEI packet received {"connection_id":119086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":119086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:59:40] local.INFO: TCP Data received {"connection_id":119086,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:59:40] local.INFO: Processing buffer {"connection_id":119086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 15:59:40] local.INFO: IMEI packet received {"connection_id":119086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 15:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":119086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 15:59:41] local.INFO: TCP Data received {"connection_id":119086,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d37ccc0012cc71b00074d5ea8000a01262d..."} 
[2026-07-01 15:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d37ccc0012cc71b00074d5ea8000a01262d..."} 
[2026-07-01 15:59:41] local.INFO: Processing buffer {"connection_id":119086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d37ccc0012cc71b00074d5ea8000a01262d..."} 
[2026-07-01 15:59:41] local.INFO: Packet analysis {"connection_id":119086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d37"} 
[2026-07-01 15:59:41] local.INFO: Extracted packet for processing {"connection_id":119086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d37"} 
[2026-07-01 15:59:41] local.INFO: GPS Element Parsed {"raw_longitude":751246080,"raw_latitude":122511016,"longitude_deg":75.124608,"latitude_deg":12.2511016,"altitude":10,"angle":294,"satellites":45,"speed":15,"hex_longitude":"2cc71b00","hex_latitude":"074d5ea8","is_valid_coordinates":true} 
[2026-07-01 15: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-01 15:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422810368001,"note":"Value kept but may cause issues"} 
[2026-07-01 15:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333614681388220416,"note":"Value kept but may cause issues"} 
[2026-07-01 15:59:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4094968298568536064,"note":"Value kept but may cause issues"} 
[2026-07-01 15:59:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 15:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782901624000,"timestamp_ms":1782901624000,"timestamp_seconds":1782901624,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d37ccc0"} 
[2026-07-01 15: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-01 15:59:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 15: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 15:59:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 15: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-01 15: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-01 15:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 15:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":119086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 15:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":119086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":119086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 15:59: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-01 15:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 15:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 15:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422810368001,"66":28028,"89":206,"85":37632,"24":15,"16":333614681388220416,"44":-4094968298568536064},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-07-01 15:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 15:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 15:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422810368001,"description":"Unknown IO ID 0"} 
[2026-07-01 15:59:41] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 15:59:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 15:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333614681388220416,"km_value":333614681388220.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 15:59:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4094968298568536064,"description":"Unknown IO ID 44"} 
[2026-07-01 15:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422810368001,"power":28028,"unknown_89":206,"unknown_85":37632,"ignition":15,"odometer":null,"unknown_44":-4094968298568536064}} 
[2026-07-01 15:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":119086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 15:59:41] local.INFO: GPS data processed {"connection_id":119086,"processed":1,"errors":0,"total":1} 
[2026-07-01 15:59:41] local.INFO: Acknowledgment sent {"connection_id":119086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:00:25] local.INFO: TCP Data received {"connection_id":119088,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:00:25] local.INFO: Processing buffer {"connection_id":119088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:00:25] local.INFO: IMEI packet received {"connection_id":119088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 16:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":119088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:00:26] local.INFO: TCP Data received {"connection_id":119088,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:00:26] local.INFO: Processing buffer {"connection_id":119088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:00:26] local.INFO: IMEI packet received {"connection_id":119088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":119088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:00:30] local.INFO: TCP Data received {"connection_id":119088,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:00:30] local.INFO: Processing buffer {"connection_id":119088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:00:30] local.INFO: IMEI packet received {"connection_id":119088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":119088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:00:31] local.INFO: TCP Data received {"connection_id":119088,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d39bcd8012cc5fb00074e62580008014e2b..."} 
[2026-07-01 16:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d39bcd8012cc5fb00074e62580008014e2b..."} 
[2026-07-01 16:00:31] local.INFO: Processing buffer {"connection_id":119088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d39bcd8012cc5fb00074e62580008014e2b..."} 
[2026-07-01 16:00:31] local.INFO: Packet analysis {"connection_id":119088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d39"} 
[2026-07-01 16:00:31] local.INFO: Extracted packet for processing {"connection_id":119088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d39"} 
[2026-07-01 16:00:31] local.INFO: GPS Element Parsed {"raw_longitude":751172352,"raw_latitude":122577496,"longitude_deg":75.1172352,"latitude_deg":12.2577496,"altitude":8,"angle":334,"satellites":43,"speed":57,"hex_longitude":"2cc5fb00","hex_latitude":"074e6258","is_valid_coordinates":true} 
[2026-07-01 16:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422846464001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333619775219433472,"note":"Value kept but may cause issues"} 
[2026-07-01 16:00:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4175962723101808640,"note":"Value kept but may cause issues"} 
[2026-07-01 16:00:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782901751000,"timestamp_ms":1782901751000,"timestamp_seconds":1782901751,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d39bcd8"} 
[2026-07-01 16:00:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:00:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 16:00:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:00:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:00:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:00:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422846464001,"66":27745,"121":206,"85":37632,"24":57,"16":333619775219433472,"44":-4175962723101808640},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,44]} 
[2026-07-01 16:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422846464001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:00:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-01 16:00:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 16:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333619775219433472,"km_value":333619775219433.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:00:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4175962723101808640,"description":"Unknown IO ID 44"} 
[2026-07-01 16:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422846464001,"power":27745,"unknown_121":206,"unknown_85":37632,"ignition":57,"odometer":null,"unknown_44":-4175962723101808640}} 
[2026-07-01 16:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":119088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:00:31] local.INFO: GPS data processed {"connection_id":119088,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:00:31] local.INFO: Acknowledgment sent {"connection_id":119088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:00:35] local.INFO: TCP Data received {"connection_id":119088,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d39d830012cc5ea80074e85d8000901502b..."} 
[2026-07-01 16:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d39d830012cc5ea80074e85d8000901502b..."} 
[2026-07-01 16:00:35] local.INFO: Processing buffer {"connection_id":119088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d39d830012cc5ea80074e85d8000901502b..."} 
[2026-07-01 16:00:35] local.INFO: Packet analysis {"connection_id":119088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d39"} 
[2026-07-01 16:00:35] local.INFO: Extracted packet for processing {"connection_id":119088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d39"} 
[2026-07-01 16:00:35] local.INFO: GPS Element Parsed {"raw_longitude":751168128,"raw_latitude":122586584,"longitude_deg":75.1168128,"latitude_deg":12.2586584,"altitude":9,"angle":336,"satellites":43,"speed":54,"hex_longitude":"2cc5ea80","hex_latitude":"074e85d8","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422848256001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333620260550737920,"note":"Value kept but may cause issues"} 
[2026-07-01 16:00:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4180747797703534592,"note":"Value kept but may cause issues"} 
[2026-07-01 16:00:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782901758000,"timestamp_ms":1782901758000,"timestamp_seconds":1782901758,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d39d830"} 
[2026-07-01 16: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-01 16:00:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 16:00:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16: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-01 16: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-01 16:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":119088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":119088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":119088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:00:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422848256001,"66":27843,"121":206,"85":37632,"24":54,"16":333620260550737920,"44":-4180747797703534592},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,44]} 
[2026-07-01 16:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422848256001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:00:35] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-01 16:00:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 16:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333620260550737920,"km_value":333620260550737.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:00:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4180747797703534592,"description":"Unknown IO ID 44"} 
[2026-07-01 16:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422848256001,"power":27843,"unknown_121":206,"unknown_85":37632,"ignition":54,"odometer":null,"unknown_44":-4180747797703534592}} 
[2026-07-01 16:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":119088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:00:35] local.INFO: GPS data processed {"connection_id":119088,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:00:35] local.INFO: Acknowledgment sent {"connection_id":119088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:01:20] local.INFO: TCP Data received {"connection_id":120969,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:01:20] local.INFO: Processing buffer {"connection_id":120969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:01:20] local.INFO: IMEI packet received {"connection_id":120969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 16:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":120969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:01:20] local.INFO: TCP Data received {"connection_id":120969,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:01:20] local.INFO: Processing buffer {"connection_id":120969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:01:20] local.INFO: IMEI packet received {"connection_id":120969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":120969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:01:37] local.INFO: TCP Data received {"connection_id":120969,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:01:37] local.INFO: Processing buffer {"connection_id":120969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:01:37] local.INFO: IMEI packet received {"connection_id":120969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":120969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:01:39] local.INFO: TCP Data received {"connection_id":120969,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d39f388012cc5ddc0074ea818000901552c..."} 
[2026-07-01 16:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d39f388012cc5ddc0074ea818000901552c..."} 
[2026-07-01 16:01:39] local.INFO: Processing buffer {"connection_id":120969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d39f388012cc5ddc0074ea818000901552c..."} 
[2026-07-01 16:01:39] local.INFO: Packet analysis {"connection_id":120969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d39"} 
[2026-07-01 16:01:39] local.INFO: Extracted packet for processing {"connection_id":120969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d39"} 
[2026-07-01 16:01:39] local.INFO: GPS Element Parsed {"raw_longitude":751164864,"raw_latitude":122595352,"longitude_deg":75.1164864,"latitude_deg":12.2595352,"altitude":9,"angle":341,"satellites":44,"speed":52,"hex_longitude":"2cc5ddc0","hex_latitude":"074ea818","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:01:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422850048001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:01:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333620711522304000,"note":"Value kept but may cause issues"} 
[2026-07-01 16:01:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4185392134816933888,"note":"Value kept but may cause issues"} 
[2026-07-01 16:01:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:01:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782901765000,"timestamp_ms":1782901765000,"timestamp_seconds":1782901765,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d39f388"} 
[2026-07-01 16: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-01 16:01: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-01 16: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 16:01:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16: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-01 16: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-01 16:01:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:01:39] local.INFO: Teltonika packet parsed successfully {"connection_id":120969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:01:39] local.INFO: Passing IMEI to GPS processor {"connection_id":120969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:01:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":120969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:01: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-01 16:01:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:01:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:01:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422850048001,"66":27800,"121":206,"85":37632,"24":52,"16":333620711522304000,"44":-4185392134816933888},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,44]} 
[2026-07-01 16:01:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422850048001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:01:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-01 16:01:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 16:01:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333620711522304000,"km_value":333620711522304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:01:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4185392134816933888,"description":"Unknown IO ID 44"} 
[2026-07-01 16:01:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422850048001,"power":27800,"unknown_121":206,"unknown_85":37632,"ignition":52,"odometer":null,"unknown_44":-4185392134816933888}} 
[2026-07-01 16:01:39] local.INFO: DEBUG: GPS processor result {"connection_id":120969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:01:39] local.INFO: GPS data processed {"connection_id":120969,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:01:39] local.INFO: Acknowledgment sent {"connection_id":120969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:02:20] local.INFO: TCP Data received {"connection_id":119894,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:02:20] local.INFO: Processing buffer {"connection_id":119894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:02:20] local.INFO: IMEI packet received {"connection_id":119894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 16:02:20] local.INFO: IMEI acknowledgment sent {"connection_id":119894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:02:22] local.INFO: TCP Data received {"connection_id":119892,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119892,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:02:22] local.INFO: Processing buffer {"connection_id":119892,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:02:22] local.INFO: IMEI packet received {"connection_id":119892,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 16:02:22] local.INFO: IMEI acknowledgment sent {"connection_id":119892,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:02:25] local.INFO: TCP Data received {"connection_id":119892,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d3b89c8012d7bec8005ec3578000500fe24..."} 
[2026-07-01 16:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d3b89c8012d7bec8005ec3578000500fe24..."} 
[2026-07-01 16:02:25] local.INFO: Processing buffer {"connection_id":119892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d3b89c8012d7bec8005ec3578000500fe24..."} 
[2026-07-01 16:02:25] local.INFO: Packet analysis {"connection_id":119892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d3b"} 
[2026-07-01 16:02:25] local.INFO: Extracted packet for processing {"connection_id":119892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d3b"} 
[2026-07-01 16:02:25] local.INFO: GPS Element Parsed {"raw_longitude":763096192,"raw_latitude":99366264,"longitude_deg":76.3096192,"latitude_deg":9.9366264,"altitude":5,"angle":254,"satellites":36,"speed":8,"hex_longitude":"2d7bec80","hex_latitude":"05ec3578","is_valid_coordinates":true} 
[2026-07-01 16:02:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:02:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422877440001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:02:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101293741364477952,"note":"Value kept but may cause issues"} 
[2026-07-01 16:02:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8931412142699450368,"note":"Value kept but may cause issues"} 
[2026-07-01 16:02:25] 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-01 16:02:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782901869000,"timestamp_ms":1782901869000,"timestamp_seconds":1782901869,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d3b89c8"} 
[2026-07-01 16:02:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:02:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:02:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-01 16:02:25] 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-01 16:02:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:02:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:02:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:02:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:02:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:02:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:02: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-01 16:02:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:02:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:02:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422877440001,"66":12189,"198":206,"87":13824,"24":8,"16":101293741364477952,"45":8931412142699450368},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-01 16:02:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:02:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:02:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422877440001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:02:25] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-01 16:02:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 16:02:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101293741364477952,"km_value":101293741364477.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:02:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8931412142699450368,"description":"Unknown IO ID 45"} 
[2026-07-01 16:02:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422877440001,"power":12189,"unknown_198":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8931412142699450368}} 
[2026-07-01 16:02:25] local.INFO: DEBUG: GPS processor result {"connection_id":119892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417687,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:02:25] local.INFO: GPS data processed {"connection_id":119892,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:02:25] local.INFO: Acknowledgment sent {"connection_id":119892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:02:25] local.INFO: TCP Data received {"connection_id":119894,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:02:25] local.INFO: Processing buffer {"connection_id":119894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:02:25] local.INFO: IMEI packet received {"connection_id":119894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":119894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:02:26] local.INFO: TCP Data received {"connection_id":119894,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d3b5ae8012cc577c0074fcbd8000c014c2b..."} 
[2026-07-01 16:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d3b5ae8012cc577c0074fcbd8000c014c2b..."} 
[2026-07-01 16:02:26] local.INFO: Processing buffer {"connection_id":119894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d3b5ae8012cc577c0074fcbd8000c014c2b..."} 
[2026-07-01 16:02:26] local.INFO: Packet analysis {"connection_id":119894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d3b"} 
[2026-07-01 16:02:26] local.INFO: Extracted packet for processing {"connection_id":119894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d3b"} 
[2026-07-01 16:02:26] local.INFO: GPS Element Parsed {"raw_longitude":751138752,"raw_latitude":122670040,"longitude_deg":75.1138752,"latitude_deg":12.267004,"altitude":12,"angle":332,"satellites":43,"speed":15,"hex_longitude":"2cc577c0","hex_latitude":"074fcbd8","is_valid_coordinates":true} 
[2026-07-01 16:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422871296001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:02:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333624559813001216,"note":"Value kept but may cause issues"} 
[2026-07-01 16:02:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4213258157491992576,"note":"Value kept but may cause issues"} 
[2026-07-01 16:02:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:02:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782901857000,"timestamp_ms":1782901857000,"timestamp_seconds":1782901857,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d3b5ae8"} 
[2026-07-01 16:02:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:02:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 16:02:26] 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-01 16:02:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:02:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:02:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:02:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:02:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:02:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:02:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:02:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:02:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:02:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422871296001,"66":27865,"169":206,"85":37632,"24":15,"16":333624559813001216,"44":-4213258157491992576},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,44]} 
[2026-07-01 16:02:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:02:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:02:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422871296001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:02:26] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-01 16:02:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 16:02:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333624559813001216,"km_value":333624559813001.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:02:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4213258157491992576,"description":"Unknown IO ID 44"} 
[2026-07-01 16:02:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422871296001,"power":27865,"unknown_169":206,"unknown_85":37632,"ignition":15,"odometer":null,"unknown_44":-4213258157491992576}} 
[2026-07-01 16:02:26] local.INFO: DEBUG: GPS processor result {"connection_id":119894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:02:26] local.INFO: GPS data processed {"connection_id":119894,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:02:26] local.INFO: Acknowledgment sent {"connection_id":119894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:02:35] local.INFO: TCP Data received {"connection_id":119893,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 16:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119893,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 16:02:35] local.INFO: Processing buffer {"connection_id":119893,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 16:02:35] local.INFO: IMEI packet received {"connection_id":119893,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 16:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":119893,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:02:52] local.INFO: TCP Data received {"connection_id":119214,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119214,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:02:52] local.INFO: Processing buffer {"connection_id":119214,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:02:52] local.INFO: IMEI packet received {"connection_id":119214,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 16:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":119214,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:02:57] local.INFO: TCP Data received {"connection_id":119214,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119214,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:02:57] local.INFO: Processing buffer {"connection_id":119214,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:02:57] local.INFO: IMEI packet received {"connection_id":119214,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":119214,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:02:58] local.INFO: TCP Data received {"connection_id":119214,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d3ca308012d7bf2c005ec0bf8000000a425..."} 
[2026-07-01 16:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d3ca308012d7bf2c005ec0bf8000000a425..."} 
[2026-07-01 16:02:58] local.INFO: Processing buffer {"connection_id":119214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d3ca308012d7bf2c005ec0bf8000000a425..."} 
[2026-07-01 16:02:58] local.INFO: Packet analysis {"connection_id":119214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d3c"} 
[2026-07-01 16:02:58] local.INFO: Extracted packet for processing {"connection_id":119214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d3c"} 
[2026-07-01 16:02:58] local.INFO: GPS Element Parsed {"raw_longitude":763097792,"raw_latitude":99355640,"longitude_deg":76.3097792,"latitude_deg":9.935564,"altitude":0,"angle":164,"satellites":37,"speed":0,"hex_longitude":"2d7bf2c0","hex_latitude":"05ec0bf8","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422891776001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101294359839768576,"note":"Value kept but may cause issues"} 
[2026-07-01 16:02:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930567717767333888,"note":"Value kept but may cause issues"} 
[2026-07-01 16:02:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782901941000,"timestamp_ms":1782901941000,"timestamp_seconds":1782901941,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d3ca308"} 
[2026-07-01 16: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-01 16:02:58] 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-01 16:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-01 16:02:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16: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-01 16: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-01 16:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:02: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-01 16:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422891776001,"66":12461,"198":206,"87":13824,"24":0,"16":101294359839768576,"45":8930567717767333888},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-01 16:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422891776001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:02:58] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-01 16:02:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 16:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101294359839768576,"km_value":101294359839768.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:02:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930567717767333888,"description":"Unknown IO ID 45"} 
[2026-07-01 16:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422891776001,"power":12461,"unknown_198":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8930567717767333888}} 
[2026-07-01 16:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":119214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417689,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:02:58] local.INFO: GPS data processed {"connection_id":119214,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:02:58] local.INFO: Acknowledgment sent {"connection_id":119214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:02:59] local.INFO: TCP Data received {"connection_id":119894,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d3bacf0012cc567c0074feb20000f014c2c..."} 
[2026-07-01 16:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d3bacf0012cc567c0074feb20000f014c2c..."} 
[2026-07-01 16:02:59] local.INFO: Processing buffer {"connection_id":119894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d3bacf0012cc567c0074feb20000f014c2c..."} 
[2026-07-01 16:02:59] local.INFO: Packet analysis {"connection_id":119894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d3b"} 
[2026-07-01 16:02:59] local.INFO: Extracted packet for processing {"connection_id":119894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d3b"} 
[2026-07-01 16:02:59] local.INFO: GPS Element Parsed {"raw_longitude":751134656,"raw_latitude":122678048,"longitude_deg":75.1134656,"latitude_deg":12.2678048,"altitude":15,"angle":332,"satellites":44,"speed":25,"hex_longitude":"2cc567c0","hex_latitude":"074feb20","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422875392001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333624993604698112,"note":"Value kept but may cause issues"} 
[2026-07-01 16:02:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4217691388373116928,"note":"Value kept but may cause issues"} 
[2026-07-01 16:02:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782901878000,"timestamp_ms":1782901878000,"timestamp_seconds":1782901878,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d3bacf0"} 
[2026-07-01 16: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-01 16:02: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-01 16:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 16:02:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:02:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16: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-01 16:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:02:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422875392001,"66":27876,"171":206,"85":37632,"24":25,"16":333624993604698112,"44":-4217691388373116928},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-07-01 16:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422875392001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:02:59] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-07-01 16:02:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 16:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333624993604698112,"km_value":333624993604698.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:02:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4217691388373116928,"description":"Unknown IO ID 44"} 
[2026-07-01 16:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422875392001,"power":27876,"unknown_171":206,"unknown_85":37632,"ignition":25,"odometer":null,"unknown_44":-4217691388373116928}} 
[2026-07-01 16:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":119894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:02:59] local.INFO: GPS data processed {"connection_id":119894,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:02:59] local.INFO: Acknowledgment sent {"connection_id":119894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:03:15] local.INFO: TCP Data received {"connection_id":120971,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 16:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120971,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 16:03:15] local.INFO: Processing buffer {"connection_id":120971,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 16:03:15] local.INFO: IMEI packet received {"connection_id":120971,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 16:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":120971,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:03:20] local.INFO: TCP Data received {"connection_id":120972,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:03:20] local.INFO: Processing buffer {"connection_id":120972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:03:20] local.INFO: IMEI packet received {"connection_id":120972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 16:03:20] local.INFO: IMEI acknowledgment sent {"connection_id":120972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:03:25] local.INFO: TCP Data received {"connection_id":120972,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:03:25] local.INFO: Processing buffer {"connection_id":120972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:03:25] local.INFO: IMEI packet received {"connection_id":120972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":120972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:03:27] local.INFO: TCP Data received {"connection_id":120972,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d3bacf0012cc567c0074feb20000f014c2c..."} 
[2026-07-01 16:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d3bacf0012cc567c0074feb20000f014c2c..."} 
[2026-07-01 16:03:27] local.INFO: Processing buffer {"connection_id":120972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d3bacf0012cc567c0074feb20000f014c2c..."} 
[2026-07-01 16:03:27] local.INFO: Packet analysis {"connection_id":120972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d3b"} 
[2026-07-01 16:03:27] local.INFO: Extracted packet for processing {"connection_id":120972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d3b"} 
[2026-07-01 16:03:27] local.INFO: GPS Element Parsed {"raw_longitude":751134656,"raw_latitude":122678048,"longitude_deg":75.1134656,"latitude_deg":12.2678048,"altitude":15,"angle":332,"satellites":44,"speed":25,"hex_longitude":"2cc567c0","hex_latitude":"074feb20","is_valid_coordinates":true} 
[2026-07-01 16:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422880768001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333624993604698112,"note":"Value kept but may cause issues"} 
[2026-07-01 16:03:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4222194987998437376,"note":"Value kept but may cause issues"} 
[2026-07-01 16:03:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782901878000,"timestamp_ms":1782901878000,"timestamp_seconds":1782901878,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d3bacf0"} 
[2026-07-01 16:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:03: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-01 16:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-01 16:03:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:03:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:03:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422880768001,"66":27876,"171":206,"85":37632,"24":25,"16":333624993604698112,"44":-4222194987998437376},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-07-01 16:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422880768001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:03:27] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-07-01 16:03:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 16:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333624993604698112,"km_value":333624993604698.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:03:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4222194987998437376,"description":"Unknown IO ID 44"} 
[2026-07-01 16:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422880768001,"power":27876,"unknown_171":206,"unknown_85":37632,"ignition":25,"odometer":null,"unknown_44":-4222194987998437376}} 
[2026-07-01 16:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":120972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:03:27] local.INFO: GPS data processed {"connection_id":120972,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:03:27] local.INFO: Acknowledgment sent {"connection_id":120972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:03:30] local.INFO: TCP Data received {"connection_id":119214,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d3cb2a8012d7bf30005ec0ad0000000b223..."} 
[2026-07-01 16:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d3cb2a8012d7bf30005ec0ad0000000b223..."} 
[2026-07-01 16:03:30] local.INFO: Processing buffer {"connection_id":119214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d3cb2a8012d7bf30005ec0ad0000000b223..."} 
[2026-07-01 16:03:30] local.INFO: Packet analysis {"connection_id":119214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d3c"} 
[2026-07-01 16:03:30] local.INFO: Extracted packet for processing {"connection_id":119214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d3c"} 
[2026-07-01 16:03:30] local.INFO: GPS Element Parsed {"raw_longitude":763097856,"raw_latitude":99355344,"longitude_deg":76.3097856,"latitude_deg":9.9355344,"altitude":0,"angle":178,"satellites":35,"speed":4,"hex_longitude":"2d7bf300","hex_latitude":"05ec0ad0","is_valid_coordinates":true} 
[2026-07-01 16:03:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422896896001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101294372724670464,"note":"Value kept but may cause issues"} 
[2026-07-01 16:03:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8931412142696691712,"note":"Value kept but may cause issues"} 
[2026-07-01 16:03:30] 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-01 16:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782901945000,"timestamp_ms":1782901945000,"timestamp_seconds":1782901945,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d3cb2a8"} 
[2026-07-01 16:03:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:03: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-01 16:03:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 16:03: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-01 16:03:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:03:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":119214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":119214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":119214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:03:30] 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-01 16:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422896896001,"66":12645,"198":206,"87":13824,"24":4,"16":101294372724670464,"45":8931412142696691712},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-01 16:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422896896001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:03:30] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-01 16:03:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 16:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101294372724670464,"km_value":101294372724670.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:03:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8931412142696691712,"description":"Unknown IO ID 45"} 
[2026-07-01 16:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422896896001,"power":12645,"unknown_198":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8931412142696691712}} 
[2026-07-01 16:03:30] local.INFO: DEBUG: GPS processor result {"connection_id":119214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417692,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:03:30] local.INFO: GPS data processed {"connection_id":119214,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:03:30] local.INFO: Acknowledgment sent {"connection_id":119214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:03:58] local.INFO: TCP Data received {"connection_id":120972,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d3bdfb8012cc5578007500c70001101502c..."} 
[2026-07-01 16:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d3bdfb8012cc5578007500c70001101502c..."} 
[2026-07-01 16:03:58] local.INFO: Processing buffer {"connection_id":120972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d3bdfb8012cc5578007500c70001101502c..."} 
[2026-07-01 16:03:58] local.INFO: Packet analysis {"connection_id":120972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d3b"} 
[2026-07-01 16:03:58] local.INFO: Extracted packet for processing {"connection_id":120972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d3b"} 
[2026-07-01 16:03:58] local.INFO: GPS Element Parsed {"raw_longitude":751130496,"raw_latitude":122686576,"longitude_deg":75.1130496,"latitude_deg":12.2686576,"altitude":17,"angle":336,"satellites":44,"speed":28,"hex_longitude":"2cc55780","hex_latitude":"07500c70","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422880768001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333625453166198784,"note":"Value kept but may cause issues"} 
[2026-07-01 16:03:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4222194987998437376,"note":"Value kept but may cause issues"} 
[2026-07-01 16:03:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782901891000,"timestamp_ms":1782901891000,"timestamp_seconds":1782901891,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d3bdfb8"} 
[2026-07-01 16: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-01 16:03: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-01 16: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-01 16:03:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16: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-01 16: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-01 16:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:03:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422880768001,"66":27919,"171":206,"85":37632,"24":28,"16":333625453166198784,"44":-4222194987998437376},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-07-01 16:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422880768001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:03:58] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-07-01 16:03:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 16:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333625453166198784,"km_value":333625453166198.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:03:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4222194987998437376,"description":"Unknown IO ID 44"} 
[2026-07-01 16:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422880768001,"power":27919,"unknown_171":206,"unknown_85":37632,"ignition":28,"odometer":null,"unknown_44":-4222194987998437376}} 
[2026-07-01 16:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":120972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:03:58] local.INFO: GPS data processed {"connection_id":120972,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:03:58] local.INFO: Acknowledgment sent {"connection_id":120972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:04:01] local.INFO: TCP Data received {"connection_id":119895,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119895,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:04:01] local.INFO: Processing buffer {"connection_id":119895,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:04:01] local.INFO: IMEI packet received {"connection_id":119895,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 16:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":119895,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:04:02] local.INFO: TCP Data received {"connection_id":119895,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119895,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:04:02] local.INFO: Processing buffer {"connection_id":119895,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:04:02] local.INFO: IMEI packet received {"connection_id":119895,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":119895,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:04:07] local.INFO: TCP Data received {"connection_id":119895,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119895,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:04:07] local.INFO: Processing buffer {"connection_id":119895,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:04:07] local.INFO: IMEI packet received {"connection_id":119895,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":119895,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:04:08] local.INFO: TCP Data received {"connection_id":119895,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d3d00c8012d7bf70005ebe9d8000000a627..."} 
[2026-07-01 16:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d3d00c8012d7bf70005ebe9d8000000a627..."} 
[2026-07-01 16:04:08] local.INFO: Processing buffer {"connection_id":119895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d3d00c8012d7bf70005ebe9d8000000a627..."} 
[2026-07-01 16:04:08] local.INFO: Packet analysis {"connection_id":119895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d3d"} 
[2026-07-01 16:04:08] local.INFO: Extracted packet for processing {"connection_id":119895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d3d"} 
[2026-07-01 16:04:08] local.INFO: GPS Element Parsed {"raw_longitude":763098880,"raw_latitude":99346904,"longitude_deg":76.309888,"latitude_deg":9.9346904,"altitude":0,"angle":166,"satellites":39,"speed":10,"hex_longitude":"2d7bf700","hex_latitude":"05ebe9d8","is_valid_coordinates":true} 
[2026-07-01 16:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422897920001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101294785041530880,"note":"Value kept but may cause issues"} 
[2026-07-01 16:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8931482511440793600,"note":"Value kept but may cause issues"} 
[2026-07-01 16:04:08] 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-01 16:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782901965000,"timestamp_ms":1782901965000,"timestamp_seconds":1782901965,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d3d00c8"} 
[2026-07-01 16:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-01 16:04:08] 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-01 16:04:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":119895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":119895,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":119895,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422897920001,"66":12678,"198":206,"87":13824,"24":10,"16":101294785041530880,"45":8931482511440793600},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-07-01 16:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422897920001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:04:08] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-01 16:04:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 16:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101294785041530880,"km_value":101294785041530.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8931482511440793600,"description":"Unknown IO ID 45"} 
[2026-07-01 16:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422897920001,"power":12678,"unknown_198":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8931482511440793600}} 
[2026-07-01 16:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":119895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417694,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:04:08] local.INFO: GPS data processed {"connection_id":119895,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:04:08] local.INFO: Acknowledgment sent {"connection_id":119895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:04:20] local.INFO: TCP Data received {"connection_id":119216,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:04:20] local.INFO: Processing buffer {"connection_id":119216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:04:20] local.INFO: IMEI packet received {"connection_id":119216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 16:04:20] local.INFO: IMEI acknowledgment sent {"connection_id":119216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:04:25] local.INFO: TCP Data received {"connection_id":119216,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:04:25] local.INFO: Processing buffer {"connection_id":119216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:04:25] local.INFO: IMEI packet received {"connection_id":119216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:04:25] local.INFO: IMEI acknowledgment sent {"connection_id":119216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:04:26] local.INFO: TCP Data received {"connection_id":119216,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d3c1e38012cc54b8007502d08001101532b..."} 
[2026-07-01 16:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d3c1e38012cc54b8007502d08001101532b..."} 
[2026-07-01 16:04:26] local.INFO: Processing buffer {"connection_id":119216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d3c1e38012cc54b8007502d08001101532b..."} 
[2026-07-01 16:04:26] local.INFO: Packet analysis {"connection_id":119216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d3c"} 
[2026-07-01 16:04:26] local.INFO: Extracted packet for processing {"connection_id":119216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d3c"} 
[2026-07-01 16:04:26] local.INFO: GPS Element Parsed {"raw_longitude":751127424,"raw_latitude":122694920,"longitude_deg":75.1127424,"latitude_deg":12.269492,"altitude":17,"angle":339,"satellites":43,"speed":20,"hex_longitude":"2cc54b80","hex_latitude":"07502d08","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:04:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422884096001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:04:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333625882662928384,"note":"Value kept but may cause issues"} 
[2026-07-01 16:04:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4226768956367802368,"note":"Value kept but may cause issues"} 
[2026-07-01 16:04:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:04:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782901907000,"timestamp_ms":1782901907000,"timestamp_seconds":1782901907,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d3c1e38"} 
[2026-07-01 16: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-01 16:04: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-01 16: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 16:04:26] 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-01 16: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-01 16: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-01 16:04:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:04:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:04:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:04:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:04:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:04:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:04:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:04:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422884096001,"66":27767,"171":206,"85":37632,"24":20,"16":333625882662928384,"44":-4226768956367802368},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-07-01 16:04:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:04:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:04:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422884096001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:04:26] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-07-01 16:04:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 16:04:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333625882662928384,"km_value":333625882662928.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:04:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4226768956367802368,"description":"Unknown IO ID 44"} 
[2026-07-01 16:04:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422884096001,"power":27767,"unknown_171":206,"unknown_85":37632,"ignition":20,"odometer":null,"unknown_44":-4226768956367802368}} 
[2026-07-01 16:04:26] local.INFO: DEBUG: GPS processor result {"connection_id":119216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:04:26] local.INFO: GPS data processed {"connection_id":119216,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:04:26] local.INFO: Acknowledgment sent {"connection_id":119216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:04:51] local.INFO: TCP Data received {"connection_id":120973,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120973,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:04:51] local.INFO: Processing buffer {"connection_id":120973,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:04:51] local.INFO: IMEI packet received {"connection_id":120973,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 16:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":120973,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:04:57] local.INFO: TCP Data received {"connection_id":120973,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120973,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:04:57] local.INFO: Processing buffer {"connection_id":120973,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:04:57] local.INFO: IMEI packet received {"connection_id":120973,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":120973,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:04:58] local.INFO: TCP Data received {"connection_id":120973,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d3e7f98012d7c29c005eb29780004009123..."} 
[2026-07-01 16:04:58] local.INFO: TCP Data received {"connection_id":119216,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d3c7040012cc545c007503e78001001562c..."} 
[2026-07-01 16:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d3e7f98012d7c29c005eb29780004009123..."} 
[2026-07-01 16:04:58] local.INFO: Processing buffer {"connection_id":120973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d3e7f98012d7c29c005eb29780004009123..."} 
[2026-07-01 16:04:58] local.INFO: Packet analysis {"connection_id":120973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d3e"} 
[2026-07-01 16:04:58] local.INFO: Extracted packet for processing {"connection_id":120973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d3e"} 
[2026-07-01 16:04:58] local.INFO: GPS Element Parsed {"raw_longitude":763111872,"raw_latitude":99297656,"longitude_deg":76.3111872,"latitude_deg":9.9297656,"altitude":4,"angle":145,"satellites":35,"speed":15,"hex_longitude":"2d7c29c0","hex_latitude":"05eb2978","is_valid_coordinates":true} 
[2026-07-01 16:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:04:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422927616001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:04:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101297284712497152,"note":"Value kept but may cause issues"} 
[2026-07-01 16:04:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946471053936058368,"note":"Value kept but may cause issues"} 
[2026-07-01 16:04:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:04:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782902063000,"timestamp_ms":1782902063000,"timestamp_seconds":1782902063,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d3e7f98"} 
[2026-07-01 16:04:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:04:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-07-01 16:04:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:04:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:04:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:04:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:04:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:04:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:04:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:04: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-01 16:04:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d3c7040012cc545c007503e78001001562c..."} 
[2026-07-01 16:04:58] local.INFO: Processing buffer {"connection_id":119216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d3c7040012cc545c007503e78001001562c..."} 
[2026-07-01 16:04:58] local.INFO: Packet analysis {"connection_id":119216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d3c"} 
[2026-07-01 16:04:58] local.INFO: Extracted packet for processing {"connection_id":119216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d3c"} 
[2026-07-01 16:04:58] local.INFO: GPS Element Parsed {"raw_longitude":751125952,"raw_latitude":122699384,"longitude_deg":75.1125952,"latitude_deg":12.2699384,"altitude":16,"angle":342,"satellites":44,"speed":8,"hex_longitude":"2cc545c0","hex_latitude":"07503e78","is_valid_coordinates":true} 
[2026-07-01 16:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:04:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422888192001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:04:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333626110296195072,"note":"Value kept but may cause issues"} 
[2026-07-01 16:04:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4230146656086194176,"note":"Value kept but may cause issues"} 
[2026-07-01 16:04:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:04:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782901928000,"timestamp_ms":1782901928000,"timestamp_seconds":1782901928,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d3c7040"} 
[2026-07-01 16:04:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:04:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:04: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-01 16:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 16:04:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:04:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:04:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:04:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:04:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422927616001,"66":12765,"10":206,"87":13824,"24":15,"16":101297284712497152,"45":8946471053936058368},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-07-01 16:04:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:04:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:04:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:04:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:04:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:04:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:04:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:04:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:04:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422927616001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:04:58] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-01 16:04:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 16:04:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101297284712497152,"km_value":101297284712497.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:04:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946471053936058368,"description":"Unknown IO ID 45"} 
[2026-07-01 16:04:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422927616001,"power":12765,"unknown_10":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8946471053936058368}} 
[2026-07-01 16:04:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422888192001,"66":27843,"171":206,"85":37632,"24":8,"16":333626110296195072,"44":-4230146656086194176},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-07-01 16:04:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:04:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:04:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422888192001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:04:58] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-07-01 16:04:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 16:04:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333626110296195072,"km_value":333626110296195.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:04:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4230146656086194176,"description":"Unknown IO ID 44"} 
[2026-07-01 16:04:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422888192001,"power":27843,"unknown_171":206,"unknown_85":37632,"ignition":8,"odometer":null,"unknown_44":-4230146656086194176}} 
[2026-07-01 16:04:58] local.INFO: DEBUG: GPS processor result {"connection_id":119216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:04:58] local.INFO: GPS data processed {"connection_id":119216,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:04:58] local.INFO: Acknowledgment sent {"connection_id":119216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:04:58] local.INFO: DEBUG: GPS processor result {"connection_id":120973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417697,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:04:58] local.INFO: GPS data processed {"connection_id":120973,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:04:58] local.INFO: Acknowledgment sent {"connection_id":120973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:05:25] local.INFO: TCP Data received {"connection_id":119896,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:05:25] local.INFO: Processing buffer {"connection_id":119896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:05:25] local.INFO: IMEI packet received {"connection_id":119896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 16:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":119896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:05:29] local.INFO: TCP Data received {"connection_id":120973,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d3e9708012d7c304005eb1f40000300a025..."} 
[2026-07-01 16:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d3e9708012d7c304005eb1f40000300a025..."} 
[2026-07-01 16:05:29] local.INFO: Processing buffer {"connection_id":120973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d3e9708012d7c304005eb1f40000300a025..."} 
[2026-07-01 16:05:29] local.INFO: Packet analysis {"connection_id":120973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d3e"} 
[2026-07-01 16:05:29] local.INFO: Extracted packet for processing {"connection_id":120973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d3e"} 
[2026-07-01 16:05:29] local.INFO: GPS Element Parsed {"raw_longitude":763113536,"raw_latitude":99295040,"longitude_deg":76.3113536,"latitude_deg":9.929504,"altitude":3,"angle":160,"satellites":37,"speed":23,"hex_longitude":"2d7c3040","hex_latitude":"05eb1f40","is_valid_coordinates":true} 
[2026-07-01 16:05:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:05:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422928128001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:05:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101297435036352512,"note":"Value kept but may cause issues"} 
[2026-07-01 16:05:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946893266400933888,"note":"Value kept but may cause issues"} 
[2026-07-01 16:05:29] 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-01 16:05:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782902069000,"timestamp_ms":1782902069000,"timestamp_seconds":1782902069,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d3e9708"} 
[2026-07-01 16:05:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:05:29] 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-01 16:05:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-01 16:05: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-01 16:05:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:05:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:05:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:05:29] local.INFO: Teltonika packet parsed successfully {"connection_id":120973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:05:29] local.INFO: Passing IMEI to GPS processor {"connection_id":120973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:05:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":120973,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:05: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-01 16:05:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:05:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:05:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422928128001,"66":12939,"10":206,"87":13824,"24":23,"16":101297435036352512,"45":8946893266400933888},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-07-01 16:05:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:05:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:05:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422928128001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:05:29] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-01 16:05:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 16:05:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101297435036352512,"km_value":101297435036352.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:05:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946893266400933888,"description":"Unknown IO ID 45"} 
[2026-07-01 16:05:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422928128001,"power":12939,"unknown_10":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8946893266400933888}} 
[2026-07-01 16:05:29] local.INFO: DEBUG: GPS processor result {"connection_id":120973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417698,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:05:29] local.INFO: GPS data processed {"connection_id":120973,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:05:29] local.INFO: Acknowledgment sent {"connection_id":120973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:05:30] local.INFO: TCP Data received {"connection_id":119896,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:05:30] local.INFO: Processing buffer {"connection_id":119896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:05:30] local.INFO: IMEI packet received {"connection_id":119896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":119896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:05:31] local.INFO: TCP Data received {"connection_id":119896,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d3cc248012cc541c0075048b8000f01532a..."} 
[2026-07-01 16:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d3cc248012cc541c0075048b8000f01532a..."} 
[2026-07-01 16:05:31] local.INFO: Processing buffer {"connection_id":119896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d3cc248012cc541c0075048b8000f01532a..."} 
[2026-07-01 16:05:31] local.INFO: Packet analysis {"connection_id":119896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d3c"} 
[2026-07-01 16:05:31] local.INFO: Extracted packet for processing {"connection_id":119896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d3c"} 
[2026-07-01 16:05:31] local.INFO: GPS Element Parsed {"raw_longitude":751124928,"raw_latitude":122702008,"longitude_deg":75.1124928,"latitude_deg":12.2702008,"altitude":15,"angle":339,"satellites":42,"speed":0,"hex_longitude":"2cc541c0","hex_latitude":"075048b8","is_valid_coordinates":true} 
[2026-07-01 16:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422893568001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333626252030115840,"note":"Value kept but may cause issues"} 
[2026-07-01 16:05:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4231765137201137664,"note":"Value kept but may cause issues"} 
[2026-07-01 16:05:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782901949000,"timestamp_ms":1782901949000,"timestamp_seconds":1782901949,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d3cc248"} 
[2026-07-01 16:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 16:05:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:05:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422893568001,"66":27919,"171":206,"85":37632,"24":0,"16":333626252030115840,"44":-4231765137201137664},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-07-01 16:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422893568001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:05:31] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-07-01 16:05:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 16:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333626252030115840,"km_value":333626252030115.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:05:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4231765137201137664,"description":"Unknown IO ID 44"} 
[2026-07-01 16:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422893568001,"power":27919,"unknown_171":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-4231765137201137664}} 
[2026-07-01 16:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":119896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:05:31] local.INFO: GPS data processed {"connection_id":119896,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:05:31] local.INFO: Acknowledgment sent {"connection_id":119896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:05:54] local.INFO: TCP Data received {"connection_id":119897,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119897,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:05:54] local.INFO: Processing buffer {"connection_id":119897,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:05:54] local.INFO: IMEI packet received {"connection_id":119897,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 16:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":119897,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:05:56] local.INFO: TCP Data received {"connection_id":119897,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119897,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:05:56] local.INFO: Processing buffer {"connection_id":119897,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:05:56] local.INFO: IMEI packet received {"connection_id":119897,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":119897,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:06:02] local.INFO: TCP Data received {"connection_id":119897,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119897,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:06:02] local.INFO: Processing buffer {"connection_id":119897,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:06:02] local.INFO: IMEI packet received {"connection_id":119897,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":119897,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:06:02] local.INFO: TCP Data received {"connection_id":119896,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d3d1450012cc5400007504ea0000f01552c..."} 
[2026-07-01 16:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d3d1450012cc5400007504ea0000f01552c..."} 
[2026-07-01 16:06:02] local.INFO: Processing buffer {"connection_id":119896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d3d1450012cc5400007504ea0000f01552c..."} 
[2026-07-01 16:06:02] local.INFO: Packet analysis {"connection_id":119896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d3d"} 
[2026-07-01 16:06:02] local.INFO: Extracted packet for processing {"connection_id":119896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d3d"} 
[2026-07-01 16:06:02] local.INFO: GPS Element Parsed {"raw_longitude":751124480,"raw_latitude":122703520,"longitude_deg":75.112448,"latitude_deg":12.270352,"altitude":15,"angle":341,"satellites":44,"speed":0,"hex_longitude":"2cc54000","hex_latitude":"07504ea0","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422898944001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333626329339527168,"note":"Value kept but may cause issues"} 
[2026-07-01 16:06:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4232891037107308544,"note":"Value kept but may cause issues"} 
[2026-07-01 16:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782901970000,"timestamp_ms":1782901970000,"timestamp_seconds":1782901970,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d3d1450"} 
[2026-07-01 16: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-01 16:06:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 16:06:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:06:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16: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-01 16:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":119896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":119896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":119896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422898944001,"66":27767,"171":206,"85":37632,"24":0,"16":333626329339527168,"44":-4232891037107308544},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-07-01 16:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422898944001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:06:02] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-07-01 16:06:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 16:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333626329339527168,"km_value":333626329339527.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:06:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4232891037107308544,"description":"Unknown IO ID 44"} 
[2026-07-01 16:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422898944001,"power":27767,"unknown_171":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-4232891037107308544}} 
[2026-07-01 16:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":119896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:06:02] local.INFO: GPS data processed {"connection_id":119896,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:06:02] local.INFO: Acknowledgment sent {"connection_id":119896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:06:03] local.INFO: TCP Data received {"connection_id":119897,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d3eae78012d7c358005eb10800003008c1f..."} 
[2026-07-01 16:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d3eae78012d7c358005eb10800003008c1f..."} 
[2026-07-01 16:06:03] local.INFO: Processing buffer {"connection_id":119897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d3eae78012d7c358005eb10800003008c1f..."} 
[2026-07-01 16:06:03] local.INFO: Packet analysis {"connection_id":119897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d3e"} 
[2026-07-01 16:06:03] local.INFO: Extracted packet for processing {"connection_id":119897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d3e"} 
[2026-07-01 16:06:03] local.INFO: GPS Element Parsed {"raw_longitude":763114880,"raw_latitude":99291264,"longitude_deg":76.311488,"latitude_deg":9.9291264,"altitude":3,"angle":140,"satellites":31,"speed":26,"hex_longitude":"2d7c3580","hex_latitude":"05eb1080","is_valid_coordinates":true} 
[2026-07-01 16:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422929664001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101297628309880832,"note":"Value kept but may cause issues"} 
[2026-07-01 16:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948722853748883456,"note":"Value kept but may cause issues"} 
[2026-07-01 16:06:03] 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-01 16:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782902075000,"timestamp_ms":1782902075000,"timestamp_seconds":1782902075,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d3eae78"} 
[2026-07-01 16:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-01 16:06: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-01 16:06:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":119897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":119897,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":119897,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:06: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-01 16:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422929664001,"66":12906,"10":206,"87":13824,"24":26,"16":101297628309880832,"45":8948722853748883456},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-07-01 16:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422929664001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:06:03] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-01 16:06:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 16:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101297628309880832,"km_value":101297628309880.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948722853748883456,"description":"Unknown IO ID 45"} 
[2026-07-01 16:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422929664001,"power":12906,"unknown_10":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8948722853748883456}} 
[2026-07-01 16:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":119897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417701,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:06:03] local.INFO: GPS data processed {"connection_id":119897,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:06:03] local.INFO: Acknowledgment sent {"connection_id":119897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:06:05] local.INFO: TCP Data received {"connection_id":119897,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d3ebe18012d7c3c4005eb08b00004009823..."} 
[2026-07-01 16:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d3ebe18012d7c3c4005eb08b00004009823..."} 
[2026-07-01 16:06:05] local.INFO: Processing buffer {"connection_id":119897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d3ebe18012d7c3c4005eb08b00004009823..."} 
[2026-07-01 16:06:05] local.INFO: Packet analysis {"connection_id":119897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d3e"} 
[2026-07-01 16:06:05] local.INFO: Extracted packet for processing {"connection_id":119897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d3e"} 
[2026-07-01 16:06:05] local.INFO: GPS Element Parsed {"raw_longitude":763116608,"raw_latitude":99289264,"longitude_deg":76.3116608,"latitude_deg":9.9289264,"altitude":4,"angle":152,"satellites":35,"speed":26,"hex_longitude":"2d7c3c40","hex_latitude":"05eb08b0","is_valid_coordinates":true} 
[2026-07-01 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-01 16:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422931200001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101297757158899712,"note":"Value kept but may cause issues"} 
[2026-07-01 16:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950200597375647744,"note":"Value kept but may cause issues"} 
[2026-07-01 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-01 16:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782902079000,"timestamp_ms":1782902079000,"timestamp_seconds":1782902079,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d3ebe18"} 
[2026-07-01 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-01 16:06:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 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":106,"data_length":795,"current_offset":136} 
[2026-07-01 16:06: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-01 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-01 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-01 16:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":119897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":119897,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":119897,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:06: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-01 16:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422931200001,"66":12863,"10":206,"87":13824,"24":26,"16":101297757158899712,"45":8950200597375647744},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-07-01 16:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422931200001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:06:05] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-01 16:06:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 16:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101297757158899712,"km_value":101297757158899.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950200597375647744,"description":"Unknown IO ID 45"} 
[2026-07-01 16:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422931200001,"power":12863,"unknown_10":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8950200597375647744}} 
[2026-07-01 16:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":119897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417702,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:06:05] local.INFO: GPS data processed {"connection_id":119897,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:06:05] local.INFO: Acknowledgment sent {"connection_id":119897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:06:20] local.INFO: TCP Data received {"connection_id":119090,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:06:20] local.INFO: Processing buffer {"connection_id":119090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:06:20] local.INFO: IMEI packet received {"connection_id":119090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 16:06:20] local.INFO: IMEI acknowledgment sent {"connection_id":119090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:06:25] local.INFO: TCP Data received {"connection_id":119090,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:06:25] local.INFO: Processing buffer {"connection_id":119090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:06:25] local.INFO: IMEI packet received {"connection_id":119090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:06:25] local.INFO: IMEI acknowledgment sent {"connection_id":119090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:06:26] local.INFO: TCP Data received {"connection_id":119090,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d3d6658012cc53ec0075051e0000f01552d..."} 
[2026-07-01 16:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d3d6658012cc53ec0075051e0000f01552d..."} 
[2026-07-01 16:06:26] local.INFO: Processing buffer {"connection_id":119090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d3d6658012cc53ec0075051e0000f01552d..."} 
[2026-07-01 16:06:26] local.INFO: Packet analysis {"connection_id":119090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d3d"} 
[2026-07-01 16:06:26] local.INFO: Extracted packet for processing {"connection_id":119090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d3d"} 
[2026-07-01 16:06:26] local.INFO: GPS Element Parsed {"raw_longitude":751124160,"raw_latitude":122704352,"longitude_deg":75.112416,"latitude_deg":12.2704352,"altitude":15,"angle":341,"satellites":45,"speed":6,"hex_longitude":"2cc53ec0","hex_latitude":"075051e0","is_valid_coordinates":true} 
[2026-07-01 16:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:06:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422904320001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:06:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333626372289200128,"note":"Value kept but may cause issues"} 
[2026-07-01 16:06:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4233383618316165120,"note":"Value kept but may cause issues"} 
[2026-07-01 16:06:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:06:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782901991000,"timestamp_ms":1782901991000,"timestamp_seconds":1782901991,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d3d6658"} 
[2026-07-01 16:06:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:06: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-01 16:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 16:06:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:06:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:06:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:06:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:06:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:06:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:06:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:06:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:06:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:06:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:06:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422904320001,"66":27974,"171":206,"85":37632,"24":6,"16":333626372289200128,"44":-4233383618316165120},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-07-01 16:06:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:06:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:06:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422904320001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:06:26] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-07-01 16:06:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 16:06:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333626372289200128,"km_value":333626372289200.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:06:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4233383618316165120,"description":"Unknown IO ID 44"} 
[2026-07-01 16:06:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422904320001,"power":27974,"unknown_171":206,"unknown_85":37632,"ignition":6,"odometer":null,"unknown_44":-4233383618316165120}} 
[2026-07-01 16:06:26] local.INFO: DEBUG: GPS processor result {"connection_id":119090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:06:26] local.INFO: GPS data processed {"connection_id":119090,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:06:26] local.INFO: Acknowledgment sent {"connection_id":119090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:06:36] local.INFO: TCP Data received {"connection_id":119897,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d4067e0012d7c7b8005ead1780007004e25..."} 
[2026-07-01 16:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d4067e0012d7c7b8005ead1780007004e25..."} 
[2026-07-01 16:06:36] local.INFO: Processing buffer {"connection_id":119897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d4067e0012d7c7b8005ead1780007004e25..."} 
[2026-07-01 16:06:36] local.INFO: Packet analysis {"connection_id":119897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d40"} 
[2026-07-01 16:06:36] local.INFO: Extracted packet for processing {"connection_id":119897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d40"} 
[2026-07-01 16:06:36] local.INFO: GPS Element Parsed {"raw_longitude":763132800,"raw_latitude":99275128,"longitude_deg":76.31328,"latitude_deg":9.9275128,"altitude":7,"angle":78,"satellites":37,"speed":0,"hex_longitude":"2d7c7b80","hex_latitude":"05ead178","is_valid_coordinates":true} 
[2026-07-01 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-01 16:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422955008001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101299333411897344,"note":"Value kept but may cause issues"} 
[2026-07-01 16:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8966948358485626880,"note":"Value kept but may cause issues"} 
[2026-07-01 16:06:36] 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-01 16:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782902188000,"timestamp_ms":1782902188000,"timestamp_seconds":1782902188,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d4067e0"} 
[2026-07-01 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-01 16:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 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":19,"data_length":795,"current_offset":136} 
[2026-07-01 16:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-07-01 16:06:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-01 16:06:36] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505145321062400,"note":"Value kept but may cause issues"} 
[2026-07-01 16:06:36] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":38912,"corrected_to":0} 
[2026-07-01 16:06:36] local.WARNING: Large IO value detected {"io_id":226,"raw_value":3858759680,"note":"Value kept but may cause issues"} 
[2026-07-01 16:06:36] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-01 16:06:36] local.WARNING: Large IO value detected {"io_id":29,"raw_value":4551863794841436096,"note":"Value kept but may cause issues"} 
[2026-07-01 16:06:36] local.WARNING: Large IO value detected {"io_id":234,"raw_value":3353870340,"note":"Value kept but may cause issues"} 
[2026-07-01 16:06:36] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5476641033972678912,"note":"Value kept but may cause issues"} 
[2026-07-01 16:06:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":5623307970951905304,"corrected_to":0} 
[2026-07-01 16:06:36] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182165285110016,"note":"Value kept but may cause issues"} 
[2026-07-01 16:06:36] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3800891392,"note":"Value kept but may cause issues"} 
[2026-07-01 16:06:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1529235956199032795,"note":"Value kept but may cause issues"} 
[2026-07-01 16:06:36] local.WARNING: Large IO value detected {"io_id":48,"raw_value":-504177423206527401,"note":"Value kept but may cause issues"} 
[2026-07-01 16:06:36] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755429505958129,"note":"Value kept but may cause issues"} 
[2026-07-01 16:06:36] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194858496,"note":"Value kept but may cause issues"} 
[2026-07-01 16:06:36] local.WARNING: Large IO value detected {"io_id":144,"raw_value":1408045519210496,"note":"Value kept but may cause issues"} 
[2026-07-01 16:06:36] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,8,87,24,241,157,16,227,159,6,45,206,36,10,66,219,128,203,38,226,141,64,1,240,101,29,234,4,113,205,9,63,37,239,49,2,103,5,7,48,54,136,69,144],"length":625,"final_offset":755,"validated_count":44,"validation_warnings":[{"io_id":203,"original":38912,"validated":0},{"io_id":205,"original":5623307970951905304,"validated":0}]} 
[2026-07-01 16:06:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504481382505447424,"timestamp_seconds":504481382505447.44,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 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-01 16:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":119897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":119897,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":119897,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:06: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-01 16:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422955008001,"66":12711,"8":206,"87":13824,"24":0,"16":101299333411897344,"45":8966948358485626880},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-07-01 16:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422955008001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:06:36] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-07-01 16:06:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 16:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101299333411897344,"km_value":101299333411897.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8966948358485626880,"description":"Unknown IO ID 45"} 
[2026-07-01 16:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422955008001,"power":12711,"unknown_8":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8966948358485626880}} 
[2026-07-01 16:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":119897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417704,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:06:36] local.INFO: GPS data processed {"connection_id":119897,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:06:36] local.INFO: Acknowledgment sent {"connection_id":119897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:06:49] local.INFO: TCP Data received {"connection_id":120975,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120975,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:06:49] local.INFO: Processing buffer {"connection_id":120975,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:06:49] local.INFO: IMEI packet received {"connection_id":120975,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 16:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":120975,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:06:52] local.INFO: TCP Data received {"connection_id":120975,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120975,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:06:52] local.INFO: Processing buffer {"connection_id":120975,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:06:52] local.INFO: IMEI packet received {"connection_id":120975,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":120975,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:06:57] local.INFO: TCP Data received {"connection_id":119090,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d3db860012cc53e4007505308000f01552d..."} 
[2026-07-01 16:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d3db860012cc53e4007505308000f01552d..."} 
[2026-07-01 16:06:57] local.INFO: Processing buffer {"connection_id":119090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d3db860012cc53e4007505308000f01552d..."} 
[2026-07-01 16:06:57] local.INFO: Packet analysis {"connection_id":119090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d3d"} 
[2026-07-01 16:06:57] local.INFO: Extracted packet for processing {"connection_id":119090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d3d"} 
[2026-07-01 16:06:57] local.INFO: GPS Element Parsed {"raw_longitude":751124032,"raw_latitude":122704648,"longitude_deg":75.1124032,"latitude_deg":12.2704648,"altitude":15,"angle":341,"satellites":45,"speed":2,"hex_longitude":"2cc53e40","hex_latitude":"07505308","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:06:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422909696001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:06:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333626389469069312,"note":"Value kept but may cause issues"} 
[2026-07-01 16:06:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4233735462036840448,"note":"Value kept but may cause issues"} 
[2026-07-01 16:06:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:06:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782902012000,"timestamp_ms":1782902012000,"timestamp_seconds":1782902012,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d3db860"} 
[2026-07-01 16: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-01 16:06:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-01 16:06:57] 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-01 16: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-01 16: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-01 16:06:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:06:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:06:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:06:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:06:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:06:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:06:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:06:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422909696001,"66":27908,"171":206,"85":37632,"24":2,"16":333626389469069312,"44":-4233735462036840448},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-07-01 16:06:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:06:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:06:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422909696001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:06:57] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-07-01 16:06:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 16:06:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333626389469069312,"km_value":333626389469069.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:06:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4233735462036840448,"description":"Unknown IO ID 44"} 
[2026-07-01 16:06:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422909696001,"power":27908,"unknown_171":206,"unknown_85":37632,"ignition":2,"odometer":null,"unknown_44":-4233735462036840448}} 
[2026-07-01 16:06:57] local.INFO: DEBUG: GPS processor result {"connection_id":119090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:06:57] local.INFO: GPS data processed {"connection_id":119090,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:06:57] local.INFO: Acknowledgment sent {"connection_id":119090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:06:58] local.INFO: TCP Data received {"connection_id":120975,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120975,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:06:58] local.INFO: Processing buffer {"connection_id":120975,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:06:58] local.INFO: IMEI packet received {"connection_id":120975,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":120975,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:06:59] local.INFO: TCP Data received {"connection_id":120975,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d407780012d7c7d8005ead1e80007004225..."} 
[2026-07-01 16:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d407780012d7c7d8005ead1e80007004225..."} 
[2026-07-01 16:06:59] local.INFO: Processing buffer {"connection_id":120975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d407780012d7c7d8005ead1e80007004225..."} 
[2026-07-01 16:06:59] local.INFO: Packet analysis {"connection_id":120975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d40"} 
[2026-07-01 16:06:59] local.INFO: Extracted packet for processing {"connection_id":120975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d40"} 
[2026-07-01 16:06:59] local.INFO: GPS Element Parsed {"raw_longitude":763133312,"raw_latitude":99275240,"longitude_deg":76.3133312,"latitude_deg":9.927524,"altitude":7,"angle":66,"satellites":37,"speed":5,"hex_longitude":"2d7c7d80","hex_latitude":"05ead1e8","is_valid_coordinates":true} 
[2026-07-01 16:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422960128001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101299359181701120,"note":"Value kept but may cause issues"} 
[2026-07-01 16:06:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969903845741262848,"note":"Value kept but may cause issues"} 
[2026-07-01 16:06:59] 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-01 16:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782902192000,"timestamp_ms":1782902192000,"timestamp_seconds":1782902192,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d407780"} 
[2026-07-01 16:06:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:06: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-01 16:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-07-01 16:06:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:06:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:06:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":120975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":120975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":120975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:06:59] 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-01 16:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422960128001,"66":12743,"8":206,"87":13824,"24":5,"16":101299359181701120,"45":8969903845741262848},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-07-01 16:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422960128001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:06:59] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-07-01 16:06:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 16:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101299359181701120,"km_value":101299359181701.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:06:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969903845741262848,"description":"Unknown IO ID 45"} 
[2026-07-01 16:06:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422960128001,"power":12743,"unknown_8":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8969903845741262848}} 
[2026-07-01 16:06:59] local.INFO: DEBUG: GPS processor result {"connection_id":120975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417706,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:06:59] local.INFO: GPS data processed {"connection_id":120975,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:06:59] local.INFO: Acknowledgment sent {"connection_id":120975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:07:02] local.INFO: TCP Data received {"connection_id":120975,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d407b68012d7c7e8005ead2500007003226..."} 
[2026-07-01 16:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d407b68012d7c7e8005ead2500007003226..."} 
[2026-07-01 16:07:02] local.INFO: Processing buffer {"connection_id":120975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d407b68012d7c7e8005ead2500007003226..."} 
[2026-07-01 16:07:02] local.INFO: Packet analysis {"connection_id":120975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d40"} 
[2026-07-01 16:07:02] local.INFO: Extracted packet for processing {"connection_id":120975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d40"} 
[2026-07-01 16:07:02] local.INFO: GPS Element Parsed {"raw_longitude":763133568,"raw_latitude":99275344,"longitude_deg":76.3133568,"latitude_deg":9.9275344,"altitude":7,"angle":50,"satellites":38,"speed":9,"hex_longitude":"2d7c7e80","hex_latitude":"05ead250","is_valid_coordinates":true} 
[2026-07-01 16:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422961152001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101299372066603008,"note":"Value kept but may cause issues"} 
[2026-07-01 16:07:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970466795694712832,"note":"Value kept but may cause issues"} 
[2026-07-01 16:07:02] 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-01 16:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782902193000,"timestamp_ms":1782902193000,"timestamp_seconds":1782902193,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d407b68"} 
[2026-07-01 16:07:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:07:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-01 16:07:02] 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-01 16:07:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:07:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":120975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":120975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":120975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:07:02] 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-01 16:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422961152001,"66":12798,"8":206,"87":13824,"24":9,"16":101299372066603008,"45":8970466795694712832},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-07-01 16:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422961152001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:07:02] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-07-01 16:07:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 16:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101299372066603008,"km_value":101299372066603.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:07:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970466795694712832,"description":"Unknown IO ID 45"} 
[2026-07-01 16:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422961152001,"power":12798,"unknown_8":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8970466795694712832}} 
[2026-07-01 16:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":120975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417707,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:07:03] local.INFO: GPS data processed {"connection_id":120975,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:07:03] local.INFO: Acknowledgment sent {"connection_id":120975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:07:19] local.INFO: TCP Data received {"connection_id":119091,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:07:19] local.INFO: Processing buffer {"connection_id":119091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:07:19] local.INFO: IMEI packet received {"connection_id":119091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 16:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":119091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:07:20] local.INFO: TCP Data received {"connection_id":119091,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:07:20] local.INFO: Processing buffer {"connection_id":119091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:07:20] local.INFO: IMEI packet received {"connection_id":119091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":119091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:07:25] local.INFO: TCP Data received {"connection_id":119091,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:07:25] local.INFO: Processing buffer {"connection_id":119091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:07:25] local.INFO: IMEI packet received {"connection_id":119091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":119091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:07:26] local.INFO: TCP Data received {"connection_id":119091,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d3e0a68012cc53cc007505740000f01552c..."} 
[2026-07-01 16:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d3e0a68012cc53cc007505740000f01552c..."} 
[2026-07-01 16:07:26] local.INFO: Processing buffer {"connection_id":119091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d3e0a68012cc53cc007505740000f01552c..."} 
[2026-07-01 16:07:26] local.INFO: Packet analysis {"connection_id":119091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d3e"} 
[2026-07-01 16:07:26] local.INFO: Extracted packet for processing {"connection_id":119091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d3e"} 
[2026-07-01 16:07:26] local.INFO: GPS Element Parsed {"raw_longitude":751123648,"raw_latitude":122705728,"longitude_deg":75.1123648,"latitude_deg":12.2705728,"altitude":15,"angle":341,"satellites":44,"speed":8,"hex_longitude":"2cc53cc0","hex_latitude":"07505740","is_valid_coordinates":true} 
[2026-07-01 16:07:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:07:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422915072001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:07:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333626445303644160,"note":"Value kept but may cause issues"} 
[2026-07-01 16:07:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4233876199525120000,"note":"Value kept but may cause issues"} 
[2026-07-01 16:07:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:07:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782902033000,"timestamp_ms":1782902033000,"timestamp_seconds":1782902033,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d3e0a68"} 
[2026-07-01 16:07:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:07: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-01 16:07:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 16:07:26] 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-01 16:07:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:07:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:07:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:07:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:07:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:07:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:07:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:07:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:07:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:07:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422915072001,"66":27767,"171":206,"85":37632,"24":8,"16":333626445303644160,"44":-4233876199525120000},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-07-01 16:07:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:07:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:07:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422915072001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:07:26] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-07-01 16:07:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 16:07:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333626445303644160,"km_value":333626445303644.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:07:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4233876199525120000,"description":"Unknown IO ID 44"} 
[2026-07-01 16:07:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422915072001,"power":27767,"unknown_171":206,"unknown_85":37632,"ignition":8,"odometer":null,"unknown_44":-4233876199525120000}} 
[2026-07-01 16:07:26] local.INFO: DEBUG: GPS processor result {"connection_id":119091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:07:26] local.INFO: GPS data processed {"connection_id":119091,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:07:26] local.INFO: Acknowledgment sent {"connection_id":119091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:07:34] local.INFO: TCP Data received {"connection_id":120975,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d408ef0012d7c850005ead6980007003e25..."} 
[2026-07-01 16:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d408ef0012d7c850005ead6980007003e25..."} 
[2026-07-01 16:07:34] local.INFO: Processing buffer {"connection_id":120975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d408ef0012d7c850005ead6980007003e25..."} 
[2026-07-01 16:07:34] local.INFO: Packet analysis {"connection_id":120975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d40"} 
[2026-07-01 16:07:34] local.INFO: Extracted packet for processing {"connection_id":120975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d40"} 
[2026-07-01 16:07:34] local.INFO: GPS Element Parsed {"raw_longitude":763135232,"raw_latitude":99276440,"longitude_deg":76.3135232,"latitude_deg":9.927644,"altitude":7,"angle":62,"satellites":37,"speed":19,"hex_longitude":"2d7c8500","hex_latitude":"05ead698","is_valid_coordinates":true} 
[2026-07-01 16:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422961408001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101299466555883520,"note":"Value kept but may cause issues"} 
[2026-07-01 16:07:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970748270671450112,"note":"Value kept but may cause issues"} 
[2026-07-01 16:07:34] 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-01 16:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782902198000,"timestamp_ms":1782902198000,"timestamp_seconds":1782902198,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d408ef0"} 
[2026-07-01 16:07:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:07: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-01 16:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-01 16:07:34] 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-01 16:07:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:07:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":120975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":120975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":120975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:07: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-01 16:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422961408001,"66":12428,"8":206,"87":13824,"24":19,"16":101299466555883520,"45":8970748270671450112},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-07-01 16:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422961408001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:07:34] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-07-01 16:07:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 16:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101299466555883520,"km_value":101299466555883.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:07:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970748270671450112,"description":"Unknown IO ID 45"} 
[2026-07-01 16:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422961408001,"power":12428,"unknown_8":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8970748270671450112}} 
[2026-07-01 16:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":120975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417709,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:07:34] local.INFO: GPS data processed {"connection_id":120975,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:07:34] local.INFO: Acknowledgment sent {"connection_id":120975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:07:52] local.INFO: TCP Data received {"connection_id":120977,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120977,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:07:52] local.INFO: Processing buffer {"connection_id":120977,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:07:52] local.INFO: IMEI packet received {"connection_id":120977,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 16:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":120977,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:07:52] local.INFO: TCP Data received {"connection_id":120977,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120977,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:07:52] local.INFO: Processing buffer {"connection_id":120977,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:07:52] local.INFO: IMEI packet received {"connection_id":120977,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":120977,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:07:57] local.INFO: TCP Data received {"connection_id":119091,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d3e5c70012cc53a8007505e20000e01532c..."} 
[2026-07-01 16:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d3e5c70012cc53a8007505e20000e01532c..."} 
[2026-07-01 16:07:57] local.INFO: Processing buffer {"connection_id":119091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d3e5c70012cc53a8007505e20000e01532c..."} 
[2026-07-01 16:07:57] local.INFO: Packet analysis {"connection_id":119091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d3e"} 
[2026-07-01 16:07:57] local.INFO: Extracted packet for processing {"connection_id":119091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d3e"} 
[2026-07-01 16:07:57] local.INFO: GPS Element Parsed {"raw_longitude":751123072,"raw_latitude":122707488,"longitude_deg":75.1123072,"latitude_deg":12.2707488,"altitude":14,"angle":339,"satellites":44,"speed":6,"hex_longitude":"2cc53a80","hex_latitude":"07505e20","is_valid_coordinates":true} 
[2026-07-01 16:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:07:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422920448001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:07:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333626539792924672,"note":"Value kept but may cause issues"} 
[2026-07-01 16:07:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4234298411989909504,"note":"Value kept but may cause issues"} 
[2026-07-01 16:07:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:07:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782902054000,"timestamp_ms":1782902054000,"timestamp_seconds":1782902054,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d3e5c70"} 
[2026-07-01 16:07:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:07:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 16:07:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:07:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:07:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:07:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:07:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:07:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:07:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:07:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:07:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:07:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:07:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422920448001,"66":28028,"171":206,"85":37632,"24":6,"16":333626539792924672,"44":-4234298411989909504},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-07-01 16:07:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:07:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:07:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422920448001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:07:57] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-07-01 16:07:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 16:07:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333626539792924672,"km_value":333626539792924.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:07:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4234298411989909504,"description":"Unknown IO ID 44"} 
[2026-07-01 16:07:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422920448001,"power":28028,"unknown_171":206,"unknown_85":37632,"ignition":6,"odometer":null,"unknown_44":-4234298411989909504}} 
[2026-07-01 16:07:57] local.INFO: DEBUG: GPS processor result {"connection_id":119091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:07:57] local.INFO: GPS data processed {"connection_id":119091,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:07:57] local.INFO: Acknowledgment sent {"connection_id":119091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:07:57] local.INFO: TCP Data received {"connection_id":120977,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120977,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:07:57] local.INFO: Processing buffer {"connection_id":120977,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:07:57] local.INFO: IMEI packet received {"connection_id":120977,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":120977,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:08:00] local.INFO: TCP Data received {"connection_id":120977,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d40b218012d7c960005eadcd00006004923..."} 
[2026-07-01 16:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d40b218012d7c960005eadcd00006004923..."} 
[2026-07-01 16:08:00] local.INFO: Processing buffer {"connection_id":120977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d40b218012d7c960005eadcd00006004923..."} 
[2026-07-01 16:08:00] local.INFO: Packet analysis {"connection_id":120977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d40"} 
[2026-07-01 16:08:00] local.INFO: Extracted packet for processing {"connection_id":120977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d40"} 
[2026-07-01 16:08:00] local.INFO: GPS Element Parsed {"raw_longitude":763139584,"raw_latitude":99278032,"longitude_deg":76.3139584,"latitude_deg":9.9278032,"altitude":6,"angle":73,"satellites":35,"speed":22,"hex_longitude":"2d7c9600","hex_latitude":"05eadcd0","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:08:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422962688001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:08:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101299689894182912,"note":"Value kept but may cause issues"} 
[2026-07-01 16:08:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8972577858020349952,"note":"Value kept but may cause issues"} 
[2026-07-01 16:08:00] 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-01 16:08:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782902207000,"timestamp_ms":1782902207000,"timestamp_seconds":1782902207,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d40b218"} 
[2026-07-01 16: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-01 16:08:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-07-01 16:08:00] 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-01 16: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-01 16: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-01 16:08:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:08:00] local.INFO: Teltonika packet parsed successfully {"connection_id":120977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:08:00] local.INFO: Passing IMEI to GPS processor {"connection_id":120977,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:08:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":120977,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:08: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-01 16:08:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:08:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:08:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422962688001,"66":12961,"8":206,"87":13824,"24":22,"16":101299689894182912,"45":8972577858020349952},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-07-01 16:08:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:08:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:08:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422962688001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:08:00] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-07-01 16:08:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 16:08:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101299689894182912,"km_value":101299689894182.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:08:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8972577858020349952,"description":"Unknown IO ID 45"} 
[2026-07-01 16:08:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422962688001,"power":12961,"unknown_8":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8972577858020349952}} 
[2026-07-01 16:08:00] local.INFO: DEBUG: GPS processor result {"connection_id":120977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417711,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:08:00] local.INFO: GPS data processed {"connection_id":120977,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:08:00] local.INFO: Acknowledgment sent {"connection_id":120977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:08:20] local.INFO: TCP Data received {"connection_id":120978,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:08:20] local.INFO: Processing buffer {"connection_id":120978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:08:20] local.INFO: IMEI packet received {"connection_id":120978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 16:08:20] local.INFO: IMEI acknowledgment sent {"connection_id":120978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:08:22] local.INFO: TCP Data received {"connection_id":120978,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:08:22] local.INFO: Processing buffer {"connection_id":120978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:08:22] local.INFO: IMEI packet received {"connection_id":120978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:08:22] local.INFO: IMEI acknowledgment sent {"connection_id":120978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:08:29] local.INFO: TCP Data received {"connection_id":120978,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:08:29] local.INFO: Processing buffer {"connection_id":120978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:08:29] local.INFO: IMEI packet received {"connection_id":120978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":120978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:08:30] local.INFO: TCP Data received {"connection_id":120978,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d414e58012cc4f080075127b8000801522d..."} 
[2026-07-01 16:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d414e58012cc4f080075127b8000801522d..."} 
[2026-07-01 16:08:30] local.INFO: Processing buffer {"connection_id":120978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d414e58012cc4f080075127b8000801522d..."} 
[2026-07-01 16:08:30] local.INFO: Packet analysis {"connection_id":120978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d41"} 
[2026-07-01 16:08:30] local.INFO: Extracted packet for processing {"connection_id":120978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d41"} 
[2026-07-01 16:08:30] local.INFO: GPS Element Parsed {"raw_longitude":751104128,"raw_latitude":122759096,"longitude_deg":75.1104128,"latitude_deg":12.2759096,"altitude":8,"angle":338,"satellites":45,"speed":41,"hex_longitude":"2cc4f080","hex_latitude":"075127b8","is_valid_coordinates":true} 
[2026-07-01 16:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422972416001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333629215557550080,"note":"Value kept but may cause issues"} 
[2026-07-01 16:08:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4252172072999720960,"note":"Value kept but may cause issues"} 
[2026-07-01 16:08:30] 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-01 16:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782902247000,"timestamp_ms":1782902247000,"timestamp_seconds":1782902247,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d414e58"} 
[2026-07-01 16:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:08:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-01 16:08:30] 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-01 16:08:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":120978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":120978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":120978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:08:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422972416001,"66":27789,"183":206,"85":37632,"24":41,"16":333629215557550080,"44":-4252172072999720960},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 16:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422972416001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:08:30] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 16:08:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 16:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333629215557550080,"km_value":333629215557550.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:08:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4252172072999720960,"description":"Unknown IO ID 44"} 
[2026-07-01 16:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422972416001,"power":27789,"unknown_183":206,"unknown_85":37632,"ignition":41,"odometer":null,"unknown_44":-4252172072999720960}} 
[2026-07-01 16:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":120978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:08:30] local.INFO: GPS data processed {"connection_id":120978,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:08:30] local.INFO: Acknowledgment sent {"connection_id":120978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:08:32] local.INFO: TCP Data received {"connection_id":120977,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d40e4e0012d7cb80005eae8180006004b27..."} 
[2026-07-01 16:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d40e4e0012d7cb80005eae8180006004b27..."} 
[2026-07-01 16:08:32] local.INFO: Processing buffer {"connection_id":120977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d40e4e0012d7cb80005eae8180006004b27..."} 
[2026-07-01 16:08:32] local.INFO: Packet analysis {"connection_id":120977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d40"} 
[2026-07-01 16:08:32] local.INFO: Extracted packet for processing {"connection_id":120977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d40"} 
[2026-07-01 16:08:32] local.INFO: GPS Element Parsed {"raw_longitude":763148288,"raw_latitude":99280920,"longitude_deg":76.3148288,"latitude_deg":9.928092,"altitude":6,"angle":75,"satellites":39,"speed":21,"hex_longitude":"2d7cb800","hex_latitude":"05eae818","is_valid_coordinates":true} 
[2026-07-01 16:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422964992001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101300127980847104,"note":"Value kept but may cause issues"} 
[2026-07-01 16:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8977362932624838656,"note":"Value kept but may cause issues"} 
[2026-07-01 16:08: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-01 16:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782902220000,"timestamp_ms":1782902220000,"timestamp_seconds":1782902220,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d40e4e0"} 
[2026-07-01 16:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:08:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-01 16:08:32] 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-01 16:08:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":120977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":120977,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":120977,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:08:32] 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-01 16:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422964992001,"66":12689,"8":206,"87":13824,"24":21,"16":101300127980847104,"45":8977362932624838656},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-07-01 16:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422964992001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:08:32] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-07-01 16:08:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 16:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101300127980847104,"km_value":101300127980847.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8977362932624838656,"description":"Unknown IO ID 45"} 
[2026-07-01 16:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422964992001,"power":12689,"unknown_8":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8977362932624838656}} 
[2026-07-01 16:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":120977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417713,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:08:32] local.INFO: GPS data processed {"connection_id":120977,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:08:32] local.INFO: Acknowledgment sent {"connection_id":120977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:08:40] local.INFO: TCP Data received {"connection_id":120979,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 16:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120979,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 16:08:40] local.INFO: Processing buffer {"connection_id":120979,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 16:08:40] local.INFO: IMEI packet received {"connection_id":120979,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 16:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":120979,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:08:51] local.INFO: TCP Data received {"connection_id":119218,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119218,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:08:51] local.INFO: Processing buffer {"connection_id":119218,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:08:51] local.INFO: IMEI packet received {"connection_id":119218,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 16:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":119218,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:08:56] local.INFO: TCP Data received {"connection_id":119218,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119218,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:08:56] local.INFO: Processing buffer {"connection_id":119218,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:08:56] local.INFO: IMEI packet received {"connection_id":119218,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":119218,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:09:01] local.INFO: TCP Data received {"connection_id":120978,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d417180012cc4e38007514b00000701532c..."} 
[2026-07-01 16:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d417180012cc4e38007514b00000701532c..."} 
[2026-07-01 16:09:01] local.INFO: Processing buffer {"connection_id":120978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d417180012cc4e38007514b00000701532c..."} 
[2026-07-01 16:09:01] local.INFO: Packet analysis {"connection_id":120978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d41"} 
[2026-07-01 16:09:01] local.INFO: Extracted packet for processing {"connection_id":120978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d41"} 
[2026-07-01 16:09:01] local.INFO: GPS Element Parsed {"raw_longitude":751100800,"raw_latitude":122768128,"longitude_deg":75.11008,"latitude_deg":12.2768128,"altitude":7,"angle":339,"satellites":44,"speed":43,"hex_longitude":"2cc4e380","hex_latitude":"07514b00","is_valid_coordinates":true} 
[2026-07-01 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-01 16:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422975232001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333629683708985344,"note":"Value kept but may cause issues"} 
[2026-07-01 16:09:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4255760878950434816,"note":"Value kept but may cause issues"} 
[2026-07-01 16:09:01] 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-01 16:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782902256000,"timestamp_ms":1782902256000,"timestamp_seconds":1782902256,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d417180"} 
[2026-07-01 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-01 16:09:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-01 16:09:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16: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-01 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-01 16:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":120978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":120978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":120978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:09:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422975232001,"66":27908,"183":206,"85":37632,"24":43,"16":333629683708985344,"44":-4255760878950434816},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 16:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422975232001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:09:01] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 16:09:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 16:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333629683708985344,"km_value":333629683708985.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:09:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4255760878950434816,"description":"Unknown IO ID 44"} 
[2026-07-01 16:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422975232001,"power":27908,"unknown_183":206,"unknown_85":37632,"ignition":43,"odometer":null,"unknown_44":-4255760878950434816}} 
[2026-07-01 16:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":120978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:09:01] local.INFO: GPS data processed {"connection_id":120978,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:09:01] local.INFO: Acknowledgment sent {"connection_id":120978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:09:06] local.INFO: TCP Data received {"connection_id":119218,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d4263b0012d7d230005eafce80006009d26..."} 
[2026-07-01 16:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d4263b0012d7d230005eafce80006009d26..."} 
[2026-07-01 16:09:06] local.INFO: Processing buffer {"connection_id":119218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d4263b0012d7d230005eafce80006009d26..."} 
[2026-07-01 16:09:06] local.INFO: Packet analysis {"connection_id":119218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d42"} 
[2026-07-01 16:09:06] local.INFO: Extracted packet for processing {"connection_id":119218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d42"} 
[2026-07-01 16:09:06] local.INFO: GPS Element Parsed {"raw_longitude":763175680,"raw_latitude":99286248,"longitude_deg":76.317568,"latitude_deg":9.9286248,"altitude":6,"angle":157,"satellites":38,"speed":10,"hex_longitude":"2d7d2300","hex_latitude":"05eafce8","is_valid_coordinates":true} 
[2026-07-01 16:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422993152001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101301489485479936,"note":"Value kept but may cause issues"} 
[2026-07-01 16:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016839798110658560,"note":"Value kept but may cause issues"} 
[2026-07-01 16:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782902318000,"timestamp_ms":1782902318000,"timestamp_seconds":1782902318,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d4263b0"} 
[2026-07-01 16:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-01 16:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:09:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":119218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":119218,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":119218,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422993152001,"66":12526,"158":206,"87":13824,"24":10,"16":101301489485479936,"45":9016839798110658560},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-01 16:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422993152001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:09:06] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-01 16:09:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 16:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101301489485479936,"km_value":101301489485479.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016839798110658560,"description":"Unknown IO ID 45"} 
[2026-07-01 16:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422993152001,"power":12526,"unknown_158":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":9016839798110658560}} 
[2026-07-01 16:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":119218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417715,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:09:06] local.INFO: GPS data processed {"connection_id":119218,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:09:06] local.INFO: Acknowledgment sent {"connection_id":119218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:09:17] local.INFO: TCP Data received {"connection_id":120980,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 16:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120980,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 16:09:17] local.INFO: Processing buffer {"connection_id":120980,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 16:09:17] local.INFO: IMEI packet received {"connection_id":120980,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 16:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":120980,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:09:20] local.INFO: TCP Data received {"connection_id":119898,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:09:20] local.INFO: Processing buffer {"connection_id":119898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:09:20] local.INFO: IMEI packet received {"connection_id":119898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 16:09:20] local.INFO: IMEI acknowledgment sent {"connection_id":119898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:09:21] local.INFO: TCP Data received {"connection_id":119898,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:09:21] local.INFO: Processing buffer {"connection_id":119898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:09:21] local.INFO: IMEI packet received {"connection_id":119898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":119898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:09:25] local.INFO: TCP Data received {"connection_id":119898,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:09:25] local.INFO: Processing buffer {"connection_id":119898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:09:25] local.INFO: IMEI packet received {"connection_id":119898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":119898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:09:26] local.INFO: TCP Data received {"connection_id":119898,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d4190c0012cc4d5c007516d80000801532d..."} 
[2026-07-01 16:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d4190c0012cc4d5c007516d80000801532d..."} 
[2026-07-01 16:09:26] local.INFO: Processing buffer {"connection_id":119898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d4190c0012cc4d5c007516d80000801532d..."} 
[2026-07-01 16:09:26] local.INFO: Packet analysis {"connection_id":119898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d41"} 
[2026-07-01 16:09:26] local.INFO: Extracted packet for processing {"connection_id":119898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d41"} 
[2026-07-01 16:09:26] local.INFO: GPS Element Parsed {"raw_longitude":751097280,"raw_latitude":122776960,"longitude_deg":75.109728,"latitude_deg":12.277696,"altitude":8,"angle":339,"satellites":45,"speed":50,"hex_longitude":"2cc4d5c0","hex_latitude":"07516d80","is_valid_coordinates":true} 
[2026-07-01 16:09:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:09:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422977536001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:09:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333630143270486016,"note":"Value kept but may cause issues"} 
[2026-07-01 16:09:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4259420053645361152,"note":"Value kept but may cause issues"} 
[2026-07-01 16:09:26] 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-01 16:09:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782902264000,"timestamp_ms":1782902264000,"timestamp_seconds":1782902264,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d4190c0"} 
[2026-07-01 16:09:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:09: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-01 16:09:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 16:09:26] 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-01 16:09:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:09:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:09:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:09:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:09:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:09:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:09:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:09:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:09:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:09:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422977536001,"66":27821,"183":206,"85":37632,"24":50,"16":333630143270486016,"44":-4259420053645361152},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 16:09:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:09:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:09:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422977536001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:09:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 16:09:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 16:09:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333630143270486016,"km_value":333630143270486.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:09:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4259420053645361152,"description":"Unknown IO ID 44"} 
[2026-07-01 16:09:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422977536001,"power":27821,"unknown_183":206,"unknown_85":37632,"ignition":50,"odometer":null,"unknown_44":-4259420053645361152}} 
[2026-07-01 16:09:26] local.INFO: DEBUG: GPS processor result {"connection_id":119898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:09:26] local.INFO: GPS data processed {"connection_id":119898,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:09:26] local.INFO: Acknowledgment sent {"connection_id":119898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:09:51] local.INFO: TCP Data received {"connection_id":119092,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119092,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:09:51] local.INFO: Processing buffer {"connection_id":119092,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:09:51] local.INFO: IMEI packet received {"connection_id":119092,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 16:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":119092,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:09:52] local.INFO: TCP Data received {"connection_id":119092,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119092,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:09:52] local.INFO: Processing buffer {"connection_id":119092,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:09:52] local.INFO: IMEI packet received {"connection_id":119092,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":119092,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:09:57] local.INFO: TCP Data received {"connection_id":119092,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119092,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:09:57] local.INFO: Processing buffer {"connection_id":119092,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:09:57] local.INFO: IMEI packet received {"connection_id":119092,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":119092,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:09:57] local.INFO: TCP Data received {"connection_id":119898,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d429e48012cc445c00752b7700008014d30..."} 
[2026-07-01 16:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d429e48012cc445c00752b7700008014d30..."} 
[2026-07-01 16:09:57] local.INFO: Processing buffer {"connection_id":119898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d429e48012cc445c00752b7700008014d30..."} 
[2026-07-01 16:09:57] local.INFO: Packet analysis {"connection_id":119898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d42"} 
[2026-07-01 16:09:57] local.INFO: Extracted packet for processing {"connection_id":119898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d42"} 
[2026-07-01 16:09:57] local.INFO: GPS Element Parsed {"raw_longitude":751060416,"raw_latitude":122861424,"longitude_deg":75.1060416,"latitude_deg":12.2861424,"altitude":8,"angle":333,"satellites":48,"speed":27,"hex_longitude":"2cc445c0","hex_latitude":"0752b770","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:09:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422996480001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:09:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333634601446539264,"note":"Value kept but may cause issues"} 
[2026-07-01 16:09:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4302556093802805248,"note":"Value kept but may cause issues"} 
[2026-07-01 16:09:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,4,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:09:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782902333000,"timestamp_ms":1782902333000,"timestamp_seconds":1782902333,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d429e48"} 
[2026-07-01 16: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-01 16:09:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 16:09:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:09:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16: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-01 16:09:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:09:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:09:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:09:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:09:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:09:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:09:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:09:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422996480001,"66":27843,"4":206,"85":37632,"24":27,"16":333634601446539264,"44":-4302556093802805248},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,85,24,16,44]} 
[2026-07-01 16:09:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:09:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:09:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422996480001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:09:57] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-07-01 16:09:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 16:09:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333634601446539264,"km_value":333634601446539.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:09:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4302556093802805248,"description":"Unknown IO ID 44"} 
[2026-07-01 16:09:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422996480001,"power":27843,"unknown_4":206,"unknown_85":37632,"ignition":27,"odometer":null,"unknown_44":-4302556093802805248}} 
[2026-07-01 16:09:57] local.INFO: DEBUG: GPS processor result {"connection_id":119898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:09:57] local.INFO: GPS data processed {"connection_id":119898,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:09:57] local.INFO: Acknowledgment sent {"connection_id":119898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:09:58] local.INFO: TCP Data received {"connection_id":119092,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d42a230012d7d21c005eae7f8000a00c027..."} 
[2026-07-01 16:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d42a230012d7d21c005eae7f8000a00c027..."} 
[2026-07-01 16:09:58] local.INFO: Processing buffer {"connection_id":119092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d42a230012d7d21c005eae7f8000a00c027..."} 
[2026-07-01 16:09:58] local.INFO: Packet analysis {"connection_id":119092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d42"} 
[2026-07-01 16:09:58] local.INFO: Extracted packet for processing {"connection_id":119092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d42"} 
[2026-07-01 16:09:58] local.INFO: GPS Element Parsed {"raw_longitude":763175360,"raw_latitude":99280888,"longitude_deg":76.317536,"latitude_deg":9.9280888,"altitude":10,"angle":192,"satellites":39,"speed":9,"hex_longitude":"2d7d21c0","hex_latitude":"05eae7f8","is_valid_coordinates":true} 
[2026-07-01 16:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422993664001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101301751478484992,"note":"Value kept but may cause issues"} 
[2026-07-01 16:09:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017050904343078912,"note":"Value kept but may cause issues"} 
[2026-07-01 16:09:58] 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-01 16:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782902334000,"timestamp_ms":1782902334000,"timestamp_seconds":1782902334,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d42a230"} 
[2026-07-01 16:09:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:09:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-01 16:09: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-01 16:09:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:09:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:09: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-01 16:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422993664001,"66":12863,"158":206,"87":13824,"24":9,"16":101301751478484992,"45":9017050904343078912},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-01 16:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422993664001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:09:58] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-01 16:09:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 16:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101301751478484992,"km_value":101301751478484.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:09:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017050904343078912,"description":"Unknown IO ID 45"} 
[2026-07-01 16:09:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422993664001,"power":12863,"unknown_158":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":9017050904343078912}} 
[2026-07-01 16:09:58] local.INFO: DEBUG: GPS processor result {"connection_id":119092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417718,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:09:58] local.INFO: GPS data processed {"connection_id":119092,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:09:58] local.INFO: Acknowledgment sent {"connection_id":119092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:10:20] local.INFO: TCP Data received {"connection_id":119219,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:10:20] local.INFO: Processing buffer {"connection_id":119219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:10:20] local.INFO: IMEI packet received {"connection_id":119219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 16:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":119219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:10:26] local.INFO: TCP Data received {"connection_id":119219,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:10:26] local.INFO: Processing buffer {"connection_id":119219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:10:26] local.INFO: IMEI packet received {"connection_id":119219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":119219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:10:27] local.INFO: TCP Data received {"connection_id":119219,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d42c558012cc438000752d838000801512e..."} 
[2026-07-01 16:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d42c558012cc438000752d838000801512e..."} 
[2026-07-01 16:10:27] local.INFO: Processing buffer {"connection_id":119219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d42c558012cc438000752d838000801512e..."} 
[2026-07-01 16:10:27] local.INFO: Packet analysis {"connection_id":119219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d42"} 
[2026-07-01 16:10:27] local.INFO: Extracted packet for processing {"connection_id":119219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d42"} 
[2026-07-01 16:10:27] local.INFO: GPS Element Parsed {"raw_longitude":751056896,"raw_latitude":122869816,"longitude_deg":75.1056896,"latitude_deg":12.2869816,"altitude":8,"angle":337,"satellites":46,"speed":43,"hex_longitude":"2cc43800","hex_latitude":"0752d838","is_valid_coordinates":true} 
[2026-07-01 16:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:10:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422997248001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:10:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333635039533203456,"note":"Value kept but may cause issues"} 
[2026-07-01 16:10:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4303822731197583360,"note":"Value kept but may cause issues"} 
[2026-07-01 16:10:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,4,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:10:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782902343000,"timestamp_ms":1782902343000,"timestamp_seconds":1782902343,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d42c558"} 
[2026-07-01 16:10:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:10:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 16:10:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:10:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:10:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:10:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:10:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:10:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:10:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:10:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:10:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:10:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:10:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422997248001,"66":27691,"4":206,"85":37632,"24":43,"16":333635039533203456,"44":-4303822731197583360},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,85,24,16,44]} 
[2026-07-01 16:10:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:10:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:10:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422997248001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:10:27] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-07-01 16:10:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 16:10:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333635039533203456,"km_value":333635039533203.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:10:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4303822731197583360,"description":"Unknown IO ID 44"} 
[2026-07-01 16:10:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422997248001,"power":27691,"unknown_4":206,"unknown_85":37632,"ignition":43,"odometer":null,"unknown_44":-4303822731197583360}} 
[2026-07-01 16:10:27] local.INFO: DEBUG: GPS processor result {"connection_id":119219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:10:27] local.INFO: GPS data processed {"connection_id":119219,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:10:27] local.INFO: Acknowledgment sent {"connection_id":119219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:10:41] local.INFO: TCP Data received {"connection_id":119092,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d42b5b8012d7d214005eadfb0000b00b428..."} 
[2026-07-01 16:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d42b5b8012d7d214005eadfb0000b00b428..."} 
[2026-07-01 16:10:41] local.INFO: Processing buffer {"connection_id":119092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d42b5b8012d7d214005eadfb0000b00b428..."} 
[2026-07-01 16:10:41] local.INFO: Packet analysis {"connection_id":119092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d42"} 
[2026-07-01 16:10:41] local.INFO: Extracted packet for processing {"connection_id":119092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d42"} 
[2026-07-01 16:10:41] local.INFO: GPS Element Parsed {"raw_longitude":763175232,"raw_latitude":99278768,"longitude_deg":76.3175232,"latitude_deg":9.9278768,"altitude":11,"angle":180,"satellites":40,"speed":20,"hex_longitude":"2d7d2140","hex_latitude":"05eadfb0","is_valid_coordinates":true} 
[2026-07-01 16:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422997504001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101301854557700096,"note":"Value kept but may cause issues"} 
[2026-07-01 16:10:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016699060620883968,"note":"Value kept but may cause issues"} 
[2026-07-01 16:10: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-01 16:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782902339000,"timestamp_ms":1782902339000,"timestamp_seconds":1782902339,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d42b5b8"} 
[2026-07-01 16:10:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:10:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-01 16:10:41] 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-01 16:10:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:10:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":119092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":119092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":119092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:10:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422997504001,"66":12667,"158":206,"87":13824,"24":20,"16":101301854557700096,"45":9016699060620883968},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-01 16:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422997504001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:10:41] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-01 16:10:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 16:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101301854557700096,"km_value":101301854557700.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:10:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016699060620883968,"description":"Unknown IO ID 45"} 
[2026-07-01 16:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422997504001,"power":12667,"unknown_158":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":9016699060620883968}} 
[2026-07-01 16:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":119092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417720,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:10:41] local.INFO: GPS data processed {"connection_id":119092,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:10:41] local.INFO: Acknowledgment sent {"connection_id":119092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:10:52] local.INFO: TCP Data received {"connection_id":120981,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120981,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:10:52] local.INFO: Processing buffer {"connection_id":120981,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:10:52] local.INFO: IMEI packet received {"connection_id":120981,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 16:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":120981,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:10:55] local.INFO: TCP Data received {"connection_id":120981,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120981,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:10:55] local.INFO: Processing buffer {"connection_id":120981,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:10:55] local.INFO: IMEI packet received {"connection_id":120981,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":120981,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:10:57] local.INFO: TCP Data received {"connection_id":120981,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120981,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:10:57] local.INFO: Processing buffer {"connection_id":120981,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:10:57] local.INFO: IMEI packet received {"connection_id":120981,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":120981,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:10:58] local.INFO: TCP Data received {"connection_id":119219,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d42e880012cc429000752fb90000801512f..."} 
[2026-07-01 16:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d42e880012cc429000752fb90000801512f..."} 
[2026-07-01 16:10:58] local.INFO: Processing buffer {"connection_id":119219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d42e880012cc429000752fb90000801512f..."} 
[2026-07-01 16:10:58] local.INFO: Packet analysis {"connection_id":119219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d42"} 
[2026-07-01 16:10:58] local.INFO: Extracted packet for processing {"connection_id":119219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d42"} 
[2026-07-01 16:10:58] local.INFO: GPS Element Parsed {"raw_longitude":751053056,"raw_latitude":122878864,"longitude_deg":75.1053056,"latitude_deg":12.2878864,"altitude":8,"angle":337,"satellites":47,"speed":42,"hex_longitude":"2cc42900","hex_latitude":"0752fb90","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:10:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422999808001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:10:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333635516274573312,"note":"Value kept but may cause issues"} 
[2026-07-01 16:10:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4307693012125206528,"note":"Value kept but may cause issues"} 
[2026-07-01 16:10:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,4,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:10:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782902352000,"timestamp_ms":1782902352000,"timestamp_seconds":1782902352,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d42e880"} 
[2026-07-01 16: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-01 16:10: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-01 16: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-01 16:10:58] 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-01 16: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-01 16: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-01 16:10:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:10:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:10:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:10:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:10:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:10:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:10:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:10:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422999808001,"66":27593,"4":206,"85":37632,"24":42,"16":333635516274573312,"44":-4307693012125206528},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,85,24,16,44]} 
[2026-07-01 16:10:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:10:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:10:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422999808001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:10:58] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-07-01 16:10:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 16:10:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333635516274573312,"km_value":333635516274573.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:10:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4307693012125206528,"description":"Unknown IO ID 44"} 
[2026-07-01 16:10:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422999808001,"power":27593,"unknown_4":206,"unknown_85":37632,"ignition":42,"odometer":null,"unknown_44":-4307693012125206528}} 
[2026-07-01 16:10:58] local.INFO: DEBUG: GPS processor result {"connection_id":119219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:10:58] local.INFO: GPS data processed {"connection_id":119219,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:10:58] local.INFO: Acknowledgment sent {"connection_id":119219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:10:59] local.INFO: TCP Data received {"connection_id":120981,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d42e498012d7d200005eabc78000a00b726..."} 
[2026-07-01 16:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d42e498012d7d200005eabc78000a00b726..."} 
[2026-07-01 16:10:59] local.INFO: Processing buffer {"connection_id":120981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d42e498012d7d200005eabc78000a00b726..."} 
[2026-07-01 16:10:59] local.INFO: Packet analysis {"connection_id":120981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d42"} 
[2026-07-01 16:10:59] local.INFO: Extracted packet for processing {"connection_id":120981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d42"} 
[2026-07-01 16:10:59] local.INFO: GPS Element Parsed {"raw_longitude":763174912,"raw_latitude":99269752,"longitude_deg":76.3174912,"latitude_deg":9.9269752,"altitude":10,"angle":183,"satellites":38,"speed":35,"hex_longitude":"2d7d2000","hex_latitude":"05eabc78","is_valid_coordinates":true} 
[2026-07-01 16:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456422998784001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101302292644364288,"note":"Value kept but may cause issues"} 
[2026-07-01 16:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016558323131985920,"note":"Value kept but may cause issues"} 
[2026-07-01 16:10:59] 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-01 16:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782902351000,"timestamp_ms":1782902351000,"timestamp_seconds":1782902351,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d42e498"} 
[2026-07-01 16:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:10:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-01 16:10:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:10:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":120981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":120981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":120981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:10:59] 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-01 16:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456422998784001,"66":12841,"158":206,"87":13824,"24":35,"16":101302292644364288,"45":9016558323131985920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-01 16:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456422998784001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:10:59] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-01 16:10:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 16:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101302292644364288,"km_value":101302292644364.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016558323131985920,"description":"Unknown IO ID 45"} 
[2026-07-01 16:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456422998784001,"power":12841,"unknown_158":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":9016558323131985920}} 
[2026-07-01 16:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":120981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417722,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:10:59] local.INFO: GPS data processed {"connection_id":120981,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:10:59] local.INFO: Acknowledgment sent {"connection_id":120981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:11:21] local.INFO: TCP Data received {"connection_id":119221,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:11:21] local.INFO: Processing buffer {"connection_id":119221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:11:21] local.INFO: IMEI packet received {"connection_id":119221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 16:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":119221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:11:28] local.INFO: TCP Data received {"connection_id":119221,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:11:28] local.INFO: Processing buffer {"connection_id":119221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:11:28] local.INFO: IMEI packet received {"connection_id":119221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":119221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:11:28] local.INFO: TCP Data received {"connection_id":119221,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:11:28] local.INFO: Processing buffer {"connection_id":119221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:11:28] local.INFO: IMEI packet received {"connection_id":119221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":119221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:11:31] local.INFO: TCP Data received {"connection_id":119221,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d430ba8012cc41b0007531e18000901512e..."} 
[2026-07-01 16:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d430ba8012cc41b0007531e18000901512e..."} 
[2026-07-01 16:11:31] local.INFO: Processing buffer {"connection_id":119221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d430ba8012cc41b0007531e18000901512e..."} 
[2026-07-01 16:11:31] local.INFO: Packet analysis {"connection_id":119221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d43"} 
[2026-07-01 16:11:31] local.INFO: Extracted packet for processing {"connection_id":119221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d43"} 
[2026-07-01 16:11:31] local.INFO: GPS Element Parsed {"raw_longitude":751049472,"raw_latitude":122887704,"longitude_deg":75.1049472,"latitude_deg":12.2887704,"altitude":9,"angle":337,"satellites":46,"speed":39,"hex_longitude":"2cc41b00","hex_latitude":"07531e18","is_valid_coordinates":true} 
[2026-07-01 16:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423002112001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333635975836073984,"note":"Value kept but may cause issues"} 
[2026-07-01 16:11:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4311915136773550080,"note":"Value kept but may cause issues"} 
[2026-07-01 16:11:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,4,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782902361000,"timestamp_ms":1782902361000,"timestamp_seconds":1782902361,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d430ba8"} 
[2026-07-01 16:11:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:11:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-01 16:11:31] 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-01 16:11:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:11:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:11:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423002112001,"66":27767,"4":206,"85":37632,"24":39,"16":333635975836073984,"44":-4311915136773550080},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,85,24,16,44]} 
[2026-07-01 16:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423002112001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:11:31] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-07-01 16:11:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 16:11:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333635975836073984,"km_value":333635975836074.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:11:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4311915136773550080,"description":"Unknown IO ID 44"} 
[2026-07-01 16:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423002112001,"power":27767,"unknown_4":206,"unknown_85":37632,"ignition":39,"odometer":null,"unknown_44":-4311915136773550080}} 
[2026-07-01 16:11:31] local.INFO: DEBUG: GPS processor result {"connection_id":119221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:11:31] local.INFO: GPS data processed {"connection_id":119221,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:11:31] local.INFO: Acknowledgment sent {"connection_id":119221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:11:31] local.INFO: TCP Data received {"connection_id":120981,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d430f90012d7d1d8005ea9788000a00bb26..."} 
[2026-07-01 16:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d430f90012d7d1d8005ea9788000a00bb26..."} 
[2026-07-01 16:11:31] local.INFO: Processing buffer {"connection_id":120981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d430f90012d7d1d8005ea9788000a00bb26..."} 
[2026-07-01 16:11:31] local.INFO: Packet analysis {"connection_id":120981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d43"} 
[2026-07-01 16:11:31] local.INFO: Extracted packet for processing {"connection_id":120981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d43"} 
[2026-07-01 16:11:31] local.INFO: GPS Element Parsed {"raw_longitude":763174272,"raw_latitude":99260296,"longitude_deg":76.3174272,"latitude_deg":9.9260296,"altitude":10,"angle":187,"satellites":38,"speed":30,"hex_longitude":"2d7d1d80","hex_latitude":"05ea9788","is_valid_coordinates":true} 
[2026-07-01 16:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423001856001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101302752205864960,"note":"Value kept but may cause issues"} 
[2026-07-01 16:11:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016206479408789504,"note":"Value kept but may cause issues"} 
[2026-07-01 16:11:31] 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-01 16:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782902362000,"timestamp_ms":1782902362000,"timestamp_seconds":1782902362,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d430f90"} 
[2026-07-01 16:11:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:11:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-01 16:11:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:11:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:11:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":120981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":120981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":120981,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:11: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-01 16:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423001856001,"66":12602,"158":206,"87":13824,"24":30,"16":101302752205864960,"45":9016206479408789504},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-07-01 16:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423001856001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:11:31] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-01 16:11:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 16:11:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101302752205864960,"km_value":101302752205864.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:11:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016206479408789504,"description":"Unknown IO ID 45"} 
[2026-07-01 16:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423001856001,"power":12602,"unknown_158":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":9016206479408789504}} 
[2026-07-01 16:11:31] local.INFO: DEBUG: GPS processor result {"connection_id":120981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417724,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:11:31] local.INFO: GPS data processed {"connection_id":120981,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:11:31] local.INFO: Acknowledgment sent {"connection_id":120981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:11:32] local.INFO: TCP Data received {"connection_id":119221,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d4332b8012cc40d8007533ff8000901512c..."} 
[2026-07-01 16:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d4332b8012cc40d8007533ff8000901512c..."} 
[2026-07-01 16:11:32] local.INFO: Processing buffer {"connection_id":119221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d4332b8012cc40d8007533ff8000901512c..."} 
[2026-07-01 16:11:32] local.INFO: Packet analysis {"connection_id":119221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d43"} 
[2026-07-01 16:11:32] local.INFO: Extracted packet for processing {"connection_id":119221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d43"} 
[2026-07-01 16:11:32] local.INFO: GPS Element Parsed {"raw_longitude":751046016,"raw_latitude":122896376,"longitude_deg":75.1046016,"latitude_deg":12.2896376,"altitude":9,"angle":337,"satellites":44,"speed":36,"hex_longitude":"2cc40d80","hex_latitude":"07533ff8","is_valid_coordinates":true} 
[2026-07-01 16:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423004416001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333636426807640064,"note":"Value kept but may cause issues"} 
[2026-07-01 16:11:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4315855786445236224,"note":"Value kept but may cause issues"} 
[2026-07-01 16:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,4,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782902371000,"timestamp_ms":1782902371000,"timestamp_seconds":1782902371,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d4332b8"} 
[2026-07-01 16:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 16:11: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-01 16:11:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":119221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":119221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":119221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423004416001,"66":27832,"4":206,"85":37632,"24":36,"16":333636426807640064,"44":-4315855786445236224},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,85,24,16,44]} 
[2026-07-01 16:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423004416001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:11:32] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-07-01 16:11:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 16:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333636426807640064,"km_value":333636426807640.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:11:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4315855786445236224,"description":"Unknown IO ID 44"} 
[2026-07-01 16:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423004416001,"power":27832,"unknown_4":206,"unknown_85":37632,"ignition":36,"odometer":null,"unknown_44":-4315855786445236224}} 
[2026-07-01 16:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":119221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:11:32] local.INFO: GPS data processed {"connection_id":119221,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:11:32] local.INFO: Acknowledgment sent {"connection_id":119221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:11:57] local.INFO: TCP Data received {"connection_id":119222,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119222,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:11:57] local.INFO: Processing buffer {"connection_id":119222,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:11:57] local.INFO: IMEI packet received {"connection_id":119222,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 16:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":119222,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:12:02] local.INFO: TCP Data received {"connection_id":119221,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d437138012cc4008007536048000701512f..."} 
[2026-07-01 16:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d437138012cc4008007536048000701512f..."} 
[2026-07-01 16:12:02] local.INFO: Processing buffer {"connection_id":119221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d437138012cc4008007536048000701512f..."} 
[2026-07-01 16:12:02] local.INFO: Packet analysis {"connection_id":119221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d43"} 
[2026-07-01 16:12:02] local.INFO: Extracted packet for processing {"connection_id":119221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d43"} 
[2026-07-01 16:12:02] local.INFO: GPS Element Parsed {"raw_longitude":751042688,"raw_latitude":122904648,"longitude_deg":75.1042688,"latitude_deg":12.2904648,"altitude":7,"angle":337,"satellites":47,"speed":0,"hex_longitude":"2cc40080","hex_latitude":"07536048","is_valid_coordinates":true} 
[2026-07-01 16:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423006976001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333636860599336960,"note":"Value kept but may cause issues"} 
[2026-07-01 16:12:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4319655698628610048,"note":"Value kept but may cause issues"} 
[2026-07-01 16:12:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,4,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782902387000,"timestamp_ms":1782902387000,"timestamp_seconds":1782902387,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d437138"} 
[2026-07-01 16:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:12:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-01 16:12:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:12:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":119221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":119221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":119221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:12:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423006976001,"66":27865,"4":206,"85":37632,"24":0,"16":333636860599336960,"44":-4319655698628610048},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,85,24,16,44]} 
[2026-07-01 16:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423006976001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:12:02] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-07-01 16:12:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 16:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333636860599336960,"km_value":333636860599336.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:12:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4319655698628610048,"description":"Unknown IO ID 44"} 
[2026-07-01 16:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423006976001,"power":27865,"unknown_4":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-4319655698628610048}} 
[2026-07-01 16:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":119221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:12:03] local.INFO: GPS data processed {"connection_id":119221,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:12:03] local.INFO: Acknowledgment sent {"connection_id":119221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:12:03] local.INFO: TCP Data received {"connection_id":119222,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119222,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:12:03] local.INFO: Processing buffer {"connection_id":119222,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:12:03] local.INFO: IMEI packet received {"connection_id":119222,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":119222,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:12:03] local.INFO: TCP Data received {"connection_id":119222,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d44ffa8012d7d120005e9c100000600e128..."} 
[2026-07-01 16:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d44ffa8012d7d120005e9c100000600e128..."} 
[2026-07-01 16:12:03] local.INFO: Processing buffer {"connection_id":119222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d44ffa8012d7d120005e9c100000600e128..."} 
[2026-07-01 16:12:03] local.INFO: Packet analysis {"connection_id":119222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d44"} 
[2026-07-01 16:12:03] local.INFO: Extracted packet for processing {"connection_id":119222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d44"} 
[2026-07-01 16:12:03] local.INFO: GPS Element Parsed {"raw_longitude":763171328,"raw_latitude":99205376,"longitude_deg":76.3171328,"latitude_deg":9.9205376,"altitude":6,"angle":225,"satellites":40,"speed":11,"hex_longitude":"2d7d1200","hex_latitude":"05e9c100","is_valid_coordinates":true} 
[2026-07-01 16:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423033344001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101305432265457664,"note":"Value kept but may cause issues"} 
[2026-07-01 16:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9012758410928881664,"note":"Value kept but may cause issues"} 
[2026-07-01 16:12:03] 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-01 16:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782902489000,"timestamp_ms":1782902489000,"timestamp_seconds":1782902489,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d44ffa8"} 
[2026-07-01 16:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-01 16:12:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:12:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":119222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":119222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":119222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:12: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-01 16:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423033344001,"66":12863,"126":206,"87":13824,"24":11,"16":101305432265457664,"45":9012758410928881664},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,87,24,16,45]} 
[2026-07-01 16:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423033344001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:12:03] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-01 16:12:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 16:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101305432265457664,"km_value":101305432265457.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9012758410928881664,"description":"Unknown IO ID 45"} 
[2026-07-01 16:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423033344001,"power":12863,"unknown_126":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":9012758410928881664}} 
[2026-07-01 16:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":119222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417727,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:12:03] local.INFO: GPS data processed {"connection_id":119222,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:12:03] local.INFO: Acknowledgment sent {"connection_id":119222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:12:05] local.INFO: TCP Data received {"connection_id":119222,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d450390012d7d110005e9c068000600f528..."} 
[2026-07-01 16:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d450390012d7d110005e9c068000600f528..."} 
[2026-07-01 16:12:05] local.INFO: Processing buffer {"connection_id":119222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d450390012d7d110005e9c068000600f528..."} 
[2026-07-01 16:12:05] local.INFO: Packet analysis {"connection_id":119222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d45"} 
[2026-07-01 16:12:05] local.INFO: Extracted packet for processing {"connection_id":119222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d45"} 
[2026-07-01 16:12:05] local.INFO: GPS Element Parsed {"raw_longitude":763171072,"raw_latitude":99205224,"longitude_deg":76.3171072,"latitude_deg":9.9205224,"altitude":6,"angle":245,"satellites":40,"speed":10,"hex_longitude":"2d7d1100","hex_latitude":"05e9c068","is_valid_coordinates":true} 
[2026-07-01 16:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423037184001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101305445150359552,"note":"Value kept but may cause issues"} 
[2026-07-01 16:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9012265829718360064,"note":"Value kept but may cause issues"} 
[2026-07-01 16:12:05] 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-01 16:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782902490000,"timestamp_ms":1782902490000,"timestamp_seconds":1782902490,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d450390"} 
[2026-07-01 16:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-01 16:12: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-01 16:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":119222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":119222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":119222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:12: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-01 16:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423037184001,"66":12863,"126":206,"87":13824,"24":10,"16":101305445150359552,"45":9012265829718360064},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,87,24,16,45]} 
[2026-07-01 16:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423037184001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:12:05] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-07-01 16:12:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 16:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101305445150359552,"km_value":101305445150359.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9012265829718360064,"description":"Unknown IO ID 45"} 
[2026-07-01 16:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423037184001,"power":12863,"unknown_126":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":9012265829718360064}} 
[2026-07-01 16:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":119222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417728,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:12:05] local.INFO: GPS data processed {"connection_id":119222,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:12:05] local.INFO: Acknowledgment sent {"connection_id":119222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:12:21] local.INFO: TCP Data received {"connection_id":119095,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:12:21] local.INFO: Processing buffer {"connection_id":119095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:12:21] local.INFO: IMEI packet received {"connection_id":119095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 16:12:21] local.INFO: IMEI acknowledgment sent {"connection_id":119095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:12:25] local.INFO: TCP Data received {"connection_id":119095,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:12:25] local.INFO: Processing buffer {"connection_id":119095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:12:25] local.INFO: IMEI packet received {"connection_id":119095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":119095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:12:30] local.INFO: TCP Data received {"connection_id":119095,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d43c340012cc3f54007537db8000801522f..."} 
[2026-07-01 16:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d43c340012cc3f54007537db8000801522f..."} 
[2026-07-01 16:12:30] local.INFO: Processing buffer {"connection_id":119095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d43c340012cc3f54007537db8000801522f..."} 
[2026-07-01 16:12:30] local.INFO: Packet analysis {"connection_id":119095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d43"} 
[2026-07-01 16:12:30] local.INFO: Extracted packet for processing {"connection_id":119095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d43"} 
[2026-07-01 16:12:30] local.INFO: GPS Element Parsed {"raw_longitude":751039808,"raw_latitude":122912184,"longitude_deg":75.1039808,"latitude_deg":12.2912184,"altitude":8,"angle":338,"satellites":47,"speed":27,"hex_longitude":"2cc3f540","hex_latitude":"07537db8","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423011072001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333637251441360896,"note":"Value kept but may cause issues"} 
[2026-07-01 16:12:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4323314873323730944,"note":"Value kept but may cause issues"} 
[2026-07-01 16:12:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,4,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782902408000,"timestamp_ms":1782902408000,"timestamp_seconds":1782902408,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d43c340"} 
[2026-07-01 16: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-01 16:12:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 16:12:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16: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-01 16: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-01 16:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":119095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":119095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":119095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:12:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423011072001,"66":27919,"4":206,"85":37632,"24":27,"16":333637251441360896,"44":-4323314873323730944},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,85,24,16,44]} 
[2026-07-01 16:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423011072001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:12:30] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-07-01 16:12:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 16:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333637251441360896,"km_value":333637251441360.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:12:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4323314873323730944,"description":"Unknown IO ID 44"} 
[2026-07-01 16:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423011072001,"power":27919,"unknown_4":206,"unknown_85":37632,"ignition":27,"odometer":null,"unknown_44":-4323314873323730944}} 
[2026-07-01 16:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":119095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:12:30] local.INFO: GPS data processed {"connection_id":119095,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:12:30] local.INFO: Acknowledgment sent {"connection_id":119095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:12:32] local.INFO: TCP Data received {"connection_id":119095,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d441548012cc3edc007539040000801532f..."} 
[2026-07-01 16:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d441548012cc3edc007539040000801532f..."} 
[2026-07-01 16:12:32] local.INFO: Processing buffer {"connection_id":119095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d441548012cc3edc007539040000801532f..."} 
[2026-07-01 16:12:32] local.INFO: Packet analysis {"connection_id":119095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d44"} 
[2026-07-01 16:12:32] local.INFO: Extracted packet for processing {"connection_id":119095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d44"} 
[2026-07-01 16:12:32] local.INFO: GPS Element Parsed {"raw_longitude":751037888,"raw_latitude":122916928,"longitude_deg":75.1037888,"latitude_deg":12.2916928,"altitude":8,"angle":339,"satellites":47,"speed":0,"hex_longitude":"2cc3edc0","hex_latitude":"07539040","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423016448001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333637500549464064,"note":"Value kept but may cause issues"} 
[2026-07-01 16:12:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4326481466809796608,"note":"Value kept but may cause issues"} 
[2026-07-01 16:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,4,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782902429000,"timestamp_ms":1782902429000,"timestamp_seconds":1782902429,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d441548"} 
[2026-07-01 16: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-01 16:12:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 16:12:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16: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-01 16: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-01 16:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":119095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":119095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":119095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423016448001,"66":27865,"4":206,"85":37632,"24":0,"16":333637500549464064,"44":-4326481466809796608},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,85,24,16,44]} 
[2026-07-01 16:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423016448001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:12:32] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-07-01 16:12:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 16:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333637500549464064,"km_value":333637500549464.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:12:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4326481466809796608,"description":"Unknown IO ID 44"} 
[2026-07-01 16:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423016448001,"power":27865,"unknown_4":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-4326481466809796608}} 
[2026-07-01 16:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":119095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:12:32] local.INFO: GPS data processed {"connection_id":119095,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:12:32] local.INFO: Acknowledgment sent {"connection_id":119095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:12:36] local.INFO: TCP Data received {"connection_id":119222,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d45de50012d7cbe4005e9be780007012525..."} 
[2026-07-01 16:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d45de50012d7cbe4005e9be780007012525..."} 
[2026-07-01 16:12:36] local.INFO: Processing buffer {"connection_id":119222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d45de50012d7cbe4005e9be780007012525..."} 
[2026-07-01 16:12:36] local.INFO: Packet analysis {"connection_id":119222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d45"} 
[2026-07-01 16:12:36] local.INFO: Extracted packet for processing {"connection_id":119222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d45"} 
[2026-07-01 16:12:36] local.INFO: GPS Element Parsed {"raw_longitude":763149888,"raw_latitude":99204728,"longitude_deg":76.3149888,"latitude_deg":9.9204728,"altitude":7,"angle":293,"satellites":37,"speed":18,"hex_longitude":"2d7cbe40","hex_latitude":"05e9be78","is_valid_coordinates":true} 
[2026-07-01 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-01 16:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423050240001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101306553251921920,"note":"Value kept but may cause issues"} 
[2026-07-01 16:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8991718156418320384,"note":"Value kept but may cause issues"} 
[2026-07-01 16:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782902546000,"timestamp_ms":1782902546000,"timestamp_seconds":1782902546,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d45de50"} 
[2026-07-01 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-01 16:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-01 16:12:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 16:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":119222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":119222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":119222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:12: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-01 16:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423050240001,"66":12743,"192":206,"87":13824,"24":18,"16":101306553251921920,"45":8991718156418320384},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-07-01 16:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423050240001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:12:36] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-01 16:12:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 16:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101306553251921920,"km_value":101306553251921.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8991718156418320384,"description":"Unknown IO ID 45"} 
[2026-07-01 16:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423050240001,"power":12743,"unknown_192":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8991718156418320384}} 
[2026-07-01 16:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":119222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417731,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:12:36] local.INFO: GPS data processed {"connection_id":119222,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:12:36] local.INFO: Acknowledgment sent {"connection_id":119222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:12:50] local.INFO: TCP Data received {"connection_id":120982,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120982,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:12:50] local.INFO: Processing buffer {"connection_id":120982,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:12:50] local.INFO: IMEI packet received {"connection_id":120982,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 16:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":120982,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:12:51] local.INFO: TCP Data received {"connection_id":120982,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120982,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:12:51] local.INFO: Processing buffer {"connection_id":120982,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:12:51] local.INFO: IMEI packet received {"connection_id":120982,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":120982,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:12:56] local.INFO: TCP Data received {"connection_id":120982,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120982,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:12:56] local.INFO: Processing buffer {"connection_id":120982,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:12:56] local.INFO: IMEI packet received {"connection_id":120982,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":120982,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:12:57] local.INFO: TCP Data received {"connection_id":120982,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d45e620012d7cba4005e9bf980007011725..."} 
[2026-07-01 16:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d45e620012d7cba4005e9bf980007011725..."} 
[2026-07-01 16:12:57] local.INFO: Processing buffer {"connection_id":120982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d45e620012d7cba4005e9bf980007011725..."} 
[2026-07-01 16:12:57] local.INFO: Packet analysis {"connection_id":120982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d45"} 
[2026-07-01 16:12:57] local.INFO: Extracted packet for processing {"connection_id":120982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d45"} 
[2026-07-01 16:12:57] local.INFO: GPS Element Parsed {"raw_longitude":763148864,"raw_latitude":99205016,"longitude_deg":76.3148864,"latitude_deg":9.9205016,"altitude":7,"angle":279,"satellites":37,"speed":20,"hex_longitude":"2d7cba40","hex_latitude":"05e9bf98","is_valid_coordinates":true} 
[2026-07-01 16:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:12:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423051776001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101306600496562176,"note":"Value kept but may cause issues"} 
[2026-07-01 16:12:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8988692300418676736,"note":"Value kept but may cause issues"} 
[2026-07-01 16:12:57] 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-01 16:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782902548000,"timestamp_ms":1782902548000,"timestamp_seconds":1782902548,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d45e620"} 
[2026-07-01 16:12:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:12:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-01 16:12:57] 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-01 16:12:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:12:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":120982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":120982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":120982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:12: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-01 16:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423051776001,"66":12722,"192":206,"87":13824,"24":20,"16":101306600496562176,"45":8988692300418676736},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-07-01 16:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423051776001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:12:57] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-01 16:12:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 16:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101306600496562176,"km_value":101306600496562.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:12:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8988692300418676736,"description":"Unknown IO ID 45"} 
[2026-07-01 16:12:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423051776001,"power":12722,"unknown_192":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8988692300418676736}} 
[2026-07-01 16:12:57] local.INFO: DEBUG: GPS processor result {"connection_id":120982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417732,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:12:57] local.INFO: GPS data processed {"connection_id":120982,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:12:57] local.INFO: Acknowledgment sent {"connection_id":120982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:13:03] local.INFO: TCP Data received {"connection_id":119095,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d444bf8012cc3eb40075397980008014530..."} 
[2026-07-01 16:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d444bf8012cc3eb40075397980008014530..."} 
[2026-07-01 16:13:03] local.INFO: Processing buffer {"connection_id":119095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d444bf8012cc3eb40075397980008014530..."} 
[2026-07-01 16:13:03] local.INFO: Packet analysis {"connection_id":119095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d44"} 
[2026-07-01 16:13:03] local.INFO: Extracted packet for processing {"connection_id":119095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d44"} 
[2026-07-01 16:13:03] local.INFO: GPS Element Parsed {"raw_longitude":751037248,"raw_latitude":122918808,"longitude_deg":75.1037248,"latitude_deg":12.2918808,"altitude":8,"angle":325,"satellites":48,"speed":6,"hex_longitude":"2cc3eb40","hex_latitude":"07539798","is_valid_coordinates":true} 
[2026-07-01 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-01 16:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423021824001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333637599333711872,"note":"Value kept but may cause issues"} 
[2026-07-01 16:13:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4328592529133912064,"note":"Value kept but may cause issues"} 
[2026-07-01 16:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,4,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782902443000,"timestamp_ms":1782902443000,"timestamp_seconds":1782902443,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d444bf8"} 
[2026-07-01 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-01 16:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 16:13:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 16:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":119095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":119095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":119095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423021824001,"66":27626,"4":206,"85":37632,"24":6,"16":333637599333711872,"44":-4328592529133912064},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,85,24,16,44]} 
[2026-07-01 16:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423021824001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:13:03] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-07-01 16:13:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 16:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333637599333711872,"km_value":333637599333711.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:13:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4328592529133912064,"description":"Unknown IO ID 44"} 
[2026-07-01 16:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423021824001,"power":27626,"unknown_4":206,"unknown_85":37632,"ignition":6,"odometer":null,"unknown_44":-4328592529133912064}} 
[2026-07-01 16:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":119095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:13:03] local.INFO: GPS data processed {"connection_id":119095,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:13:03] local.INFO: Acknowledgment sent {"connection_id":119095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:13:20] local.INFO: TCP Data received {"connection_id":119223,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:13:20] local.INFO: Processing buffer {"connection_id":119223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:13:20] local.INFO: IMEI packet received {"connection_id":119223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 16:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":119223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:13:25] local.INFO: TCP Data received {"connection_id":119223,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:13:25] local.INFO: Processing buffer {"connection_id":119223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:13:25] local.INFO: IMEI packet received {"connection_id":119223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":119223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:13:26] local.INFO: TCP Data received {"connection_id":119223,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d446368012cc3e94007539b30000801512f..."} 
[2026-07-01 16:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d446368012cc3e94007539b30000801512f..."} 
[2026-07-01 16:13:26] local.INFO: Processing buffer {"connection_id":119223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d446368012cc3e94007539b30000801512f..."} 
[2026-07-01 16:13:26] local.INFO: Packet analysis {"connection_id":119223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d44"} 
[2026-07-01 16:13:26] local.INFO: Extracted packet for processing {"connection_id":119223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d44"} 
[2026-07-01 16:13:26] local.INFO: GPS Element Parsed {"raw_longitude":751036736,"raw_latitude":122919728,"longitude_deg":75.1036736,"latitude_deg":12.2919728,"altitude":8,"angle":337,"satellites":47,"speed":8,"hex_longitude":"2cc3e940","hex_latitude":"07539b30","is_valid_coordinates":true} 
[2026-07-01 16:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:13:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423025408001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:13:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333637650873319424,"note":"Value kept but may cause issues"} 
[2026-07-01 16:13:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4329296216575207424,"note":"Value kept but may cause issues"} 
[2026-07-01 16:13:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,4,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:13:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782902449000,"timestamp_ms":1782902449000,"timestamp_seconds":1782902449,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d446368"} 
[2026-07-01 16:13:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:13: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-01 16:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-01 16:13:26] 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-01 16:13:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:13:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:13:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:13:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:13:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:13:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:13:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:13:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:13:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:13:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423025408001,"66":27321,"4":206,"85":37632,"24":8,"16":333637650873319424,"44":-4329296216575207424},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,85,24,16,44]} 
[2026-07-01 16:13:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:13:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:13:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423025408001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:13:26] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-07-01 16:13:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 16:13:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333637650873319424,"km_value":333637650873319.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:13:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4329296216575207424,"description":"Unknown IO ID 44"} 
[2026-07-01 16:13:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423025408001,"power":27321,"unknown_4":206,"unknown_85":37632,"ignition":8,"odometer":null,"unknown_44":-4329296216575207424}} 
[2026-07-01 16:13:26] local.INFO: DEBUG: GPS processor result {"connection_id":119223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:13:26] local.INFO: GPS data processed {"connection_id":119223,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:13:26] local.INFO: Acknowledgment sent {"connection_id":119223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:13:28] local.INFO: TCP Data received {"connection_id":120982,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d45edf0012d7cb64005e9bf900005010a26..."} 
[2026-07-01 16:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d45edf0012d7cb64005e9bf900005010a26..."} 
[2026-07-01 16:13:28] local.INFO: Processing buffer {"connection_id":120982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d45edf0012d7cb64005e9bf900005010a26..."} 
[2026-07-01 16:13:28] local.INFO: Packet analysis {"connection_id":120982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d45"} 
[2026-07-01 16:13:28] local.INFO: Extracted packet for processing {"connection_id":120982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d45"} 
[2026-07-01 16:13:28] local.INFO: GPS Element Parsed {"raw_longitude":763147840,"raw_latitude":99205008,"longitude_deg":76.314784,"latitude_deg":9.9205008,"altitude":5,"angle":266,"satellites":38,"speed":20,"hex_longitude":"2d7cb640","hex_latitude":"05e9bf90","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423052288001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101306652036169728,"note":"Value kept but may cause issues"} 
[2026-07-01 16:13:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8987566400511907840,"note":"Value kept but may cause issues"} 
[2026-07-01 16:13:28] 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-01 16:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782902550000,"timestamp_ms":1782902550000,"timestamp_seconds":1782902550,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d45edf0"} 
[2026-07-01 16: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-01 16:13:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-01 16:13:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16: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-01 16: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-01 16:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":120982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":120982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":120982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:13: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-01 16:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423052288001,"66":12939,"192":206,"87":13824,"24":20,"16":101306652036169728,"45":8987566400511907840},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-07-01 16:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423052288001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:13:28] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-01 16:13:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 16:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101306652036169728,"km_value":101306652036169.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:13:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8987566400511907840,"description":"Unknown IO ID 45"} 
[2026-07-01 16:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423052288001,"power":12939,"unknown_192":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8987566400511907840}} 
[2026-07-01 16:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":120982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417735,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:13:28] local.INFO: GPS data processed {"connection_id":120982,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:13:28] local.INFO: Acknowledgment sent {"connection_id":120982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:13:50] local.INFO: TCP Data received {"connection_id":119900,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119900,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:13:50] local.INFO: Processing buffer {"connection_id":119900,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:13:50] local.INFO: IMEI packet received {"connection_id":119900,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 16:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":119900,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:13:51] local.INFO: TCP Data received {"connection_id":119900,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119900,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:13:51] local.INFO: Processing buffer {"connection_id":119900,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:13:51] local.INFO: IMEI packet received {"connection_id":119900,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:13:51] local.INFO: IMEI acknowledgment sent {"connection_id":119900,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:13:52] local.INFO: TCP Data received {"connection_id":119900,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119900,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:13:52] local.INFO: Processing buffer {"connection_id":119900,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:13:52] local.INFO: IMEI packet received {"connection_id":119900,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":119900,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:13:56] local.INFO: TCP Data received {"connection_id":119900,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119900,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:13:56] local.INFO: Processing buffer {"connection_id":119900,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:13:56] local.INFO: IMEI packet received {"connection_id":119900,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":119900,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:13:57] local.INFO: TCP Data received {"connection_id":119223,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d466af0012cc3b24007542c10000c01402a..."} 
[2026-07-01 16:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d466af0012cc3b24007542c10000c01402a..."} 
[2026-07-01 16:13:57] local.INFO: Processing buffer {"connection_id":119223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d466af0012cc3b24007542c10000c01402a..."} 
[2026-07-01 16:13:57] local.INFO: Packet analysis {"connection_id":119223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d46"} 
[2026-07-01 16:13:57] local.INFO: Extracted packet for processing {"connection_id":119223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d46"} 
[2026-07-01 16:13:57] local.INFO: GPS Element Parsed {"raw_longitude":751022656,"raw_latitude":122956816,"longitude_deg":75.1022656,"latitude_deg":12.2956816,"altitude":12,"angle":320,"satellites":42,"speed":17,"hex_longitude":"2cc3b240","hex_latitude":"07542c10","is_valid_coordinates":true} 
[2026-07-01 16:13:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:13:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423060224001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:13:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333639605083439104,"note":"Value kept but may cause issues"} 
[2026-07-01 16:13:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4344777340284796928,"note":"Value kept but may cause issues"} 
[2026-07-01 16:13:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:13:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782902582000,"timestamp_ms":1782902582000,"timestamp_seconds":1782902582,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d466af0"} 
[2026-07-01 16:13:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:13:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:13:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 16:13:57] 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-01 16:13:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:13:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:13:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:13:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:13:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:13:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:13:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:13:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:13:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:13:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423060224001,"66":27843,"179":206,"85":37632,"24":17,"16":333639605083439104,"44":-4344777340284796928},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,44]} 
[2026-07-01 16:13:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:13:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:13:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423060224001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:13:57] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-07-01 16:13:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 16:13:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333639605083439104,"km_value":333639605083439.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:13:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4344777340284796928,"description":"Unknown IO ID 44"} 
[2026-07-01 16:13:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423060224001,"power":27843,"unknown_179":206,"unknown_85":37632,"ignition":17,"odometer":null,"unknown_44":-4344777340284796928}} 
[2026-07-01 16:13:57] local.INFO: DEBUG: GPS processor result {"connection_id":119223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:13:57] local.INFO: GPS data processed {"connection_id":119223,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:13:57] local.INFO: Acknowledgment sent {"connection_id":119223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:13:59] local.INFO: TCP Data received {"connection_id":119900,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d46d080012d7c8e4005e99a780000010628..."} 
[2026-07-01 16:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d46d080012d7c8e4005e99a780000010628..."} 
[2026-07-01 16:13:59] local.INFO: Processing buffer {"connection_id":119900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d46d080012d7c8e4005e99a780000010628..."} 
[2026-07-01 16:13:59] local.INFO: Packet analysis {"connection_id":119900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d46"} 
[2026-07-01 16:13:59] local.INFO: Extracted packet for processing {"connection_id":119900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d46"} 
[2026-07-01 16:13:59] local.INFO: GPS Element Parsed {"raw_longitude":763137600,"raw_latitude":99195512,"longitude_deg":76.31376,"latitude_deg":9.9195512,"altitude":0,"angle":262,"satellites":40,"speed":5,"hex_longitude":"2d7c8e40","hex_latitude":"05e99a78","is_valid_coordinates":true} 
[2026-07-01 16:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423066368001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101307558274269184,"note":"Value kept but may cause issues"} 
[2026-07-01 16:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8975674082743564288,"note":"Value kept but may cause issues"} 
[2026-07-01 16:13:59] 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-01 16:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782902608000,"timestamp_ms":1782902608000,"timestamp_seconds":1782902608,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d46d080"} 
[2026-07-01 16:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:13:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-01 16:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-01 16:13:59] local.WARNING: Large IO value detected {"io_id":87,"raw_value":3891136466427838976,"note":"Value kept but may cause issues"} 
[2026-07-01 16:13:59] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185959,"note":"Value kept but may cause issues"} 
[2026-07-01 16:13:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-01 16:13:59] local.WARNING: Large IO value detected {"io_id":234,"raw_value":6917529027641081857,"note":"Value kept but may cause issues"} 
[2026-07-01 16:13:59] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2109456694775741586,"note":"Value kept but may cause issues"} 
[2026-07-01 16:13:59] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832592,"note":"Value kept but may cause issues"} 
[2026-07-01 16:13:59] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3648198055070531790,"note":"Value kept but may cause issues"} 
[2026-07-01 16:13:59] local.WARNING: Large IO value detected {"io_id":128,"raw_value":426074534018285819,"note":"Value kept but may cause issues"} 
[2026-07-01 16:13:59] local.WARNING: Large IO value detected {"io_id":233,"raw_value":2995257344,"note":"Value kept but may cause issues"} 
[2026-07-01 16:13:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1455423694,"corrected_to":0} 
[2026-07-01 16:13:59] local.WARNING: Large IO value detected {"io_id":118,"raw_value":2818649468,"note":"Value kept but may cause issues"} 
[2026-07-01 16:13:59] local.WARNING: Large IO value detected {"io_id":138,"raw_value":3221612979,"note":"Value kept but may cause issues"} 
[2026-07-01 16:13:59] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2701184342,"note":"Value kept but may cause issues"} 
[2026-07-01 16:13:59] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3932291072,"note":"Value kept but may cause issues"} 
[2026-07-01 16:13:59] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3920908288,"note":"Value kept but may cause issues"} 
[2026-07-01 16:13:59] local.WARNING: Large IO value detected {"io_id":37,"raw_value":5066549581447172,"note":"Value kept but may cause issues"} 
[2026-07-01 16:13:59] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,192,87,24,241,157,16,234,159,185,45,156,38,10,66,177,158,165,128,1,240,215,227,29,233,4,113,205,118,138,136,35,239,50,2,103,5,37],"length":534,"final_offset":664,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1455423694,"validated":0}]} 
[2026-07-01 16:13:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":200282915274752,"timestamp_seconds":200282915274.752,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 16:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:13:59] 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-01 16:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423066368001,"66":13037,"192":206,"87":13824,"24":5,"16":101307558274269184,"45":8975674082743564288},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-07-01 16:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423066368001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:13:59] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-01 16:13:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 16:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101307558274269184,"km_value":101307558274269.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8975674082743564288,"description":"Unknown IO ID 45"} 
[2026-07-01 16:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423066368001,"power":13037,"unknown_192":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8975674082743564288}} 
[2026-07-01 16:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":119900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417737,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:13:59] local.INFO: GPS data processed {"connection_id":119900,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:13:59] local.INFO: Acknowledgment sent {"connection_id":119900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:14:20] local.INFO: TCP Data received {"connection_id":120983,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:14:20] local.INFO: Processing buffer {"connection_id":120983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:14:20] local.INFO: IMEI packet received {"connection_id":120983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 16:14:20] local.INFO: IMEI acknowledgment sent {"connection_id":120983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:14:20] local.INFO: TCP Data received {"connection_id":120983,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:14:20] local.INFO: Processing buffer {"connection_id":120983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:14:20] local.INFO: IMEI packet received {"connection_id":120983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:14:20] local.INFO: IMEI acknowledgment sent {"connection_id":120983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:14:25] local.INFO: TCP Data received {"connection_id":120983,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:14:25] local.INFO: Processing buffer {"connection_id":120983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:14:25] local.INFO: IMEI packet received {"connection_id":120983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":120983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:14:26] local.INFO: TCP Data received {"connection_id":120983,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d4676a8012cc3af0007543158000c014d2a..."} 
[2026-07-01 16:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d4676a8012cc3af0007543158000c014d2a..."} 
[2026-07-01 16:14:26] local.INFO: Processing buffer {"connection_id":120983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d4676a8012cc3af0007543158000c014d2a..."} 
[2026-07-01 16:14:26] local.INFO: Packet analysis {"connection_id":120983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d46"} 
[2026-07-01 16:14:26] local.INFO: Extracted packet for processing {"connection_id":120983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d46"} 
[2026-07-01 16:14:26] local.INFO: GPS Element Parsed {"raw_longitude":751021824,"raw_latitude":122958168,"longitude_deg":75.1021824,"latitude_deg":12.2958168,"altitude":12,"angle":333,"satellites":42,"speed":24,"hex_longitude":"2cc3af00","hex_latitude":"07543158","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:14:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423060992001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:14:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333639678097883136,"note":"Value kept but may cause issues"} 
[2026-07-01 16:14:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4345340290237984768,"note":"Value kept but may cause issues"} 
[2026-07-01 16:14:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:14:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782902585000,"timestamp_ms":1782902585000,"timestamp_seconds":1782902585,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d4676a8"} 
[2026-07-01 16: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-01 16:14: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-01 16: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 16:14:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16: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-01 16: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-01 16:14:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:14:26] local.INFO: Teltonika packet parsed successfully {"connection_id":120983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:14:26] local.INFO: Passing IMEI to GPS processor {"connection_id":120983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:14:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":120983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:14:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:14:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:14:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:14:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423060992001,"66":27767,"179":206,"85":37632,"24":24,"16":333639678097883136,"44":-4345340290237984768},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,44]} 
[2026-07-01 16:14:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:14:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:14:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423060992001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:14:26] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-07-01 16:14:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 16:14:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333639678097883136,"km_value":333639678097883.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:14:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4345340290237984768,"description":"Unknown IO ID 44"} 
[2026-07-01 16:14:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423060992001,"power":27767,"unknown_179":206,"unknown_85":37632,"ignition":24,"odometer":null,"unknown_44":-4345340290237984768}} 
[2026-07-01 16:14:26] local.INFO: DEBUG: GPS processor result {"connection_id":120983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:14:26] local.INFO: GPS data processed {"connection_id":120983,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:14:26] local.INFO: Acknowledgment sent {"connection_id":120983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:14:32] local.INFO: TCP Data received {"connection_id":119900,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d46efc0012d7c854005e998e8000200f925..."} 
[2026-07-01 16:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d46efc0012d7c854005e998e8000200f925..."} 
[2026-07-01 16:14:32] local.INFO: Processing buffer {"connection_id":119900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d46efc0012d7c854005e998e8000200f925..."} 
[2026-07-01 16:14:32] local.INFO: Packet analysis {"connection_id":119900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d46"} 
[2026-07-01 16:14:32] local.INFO: Extracted packet for processing {"connection_id":119900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d46"} 
[2026-07-01 16:14:32] local.INFO: GPS Element Parsed {"raw_longitude":763135296,"raw_latitude":99195112,"longitude_deg":76.3135296,"latitude_deg":9.9195112,"altitude":2,"angle":249,"satellites":37,"speed":10,"hex_longitude":"2d7c8540","hex_latitude":"05e998e8","is_valid_coordinates":true} 
[2026-07-01 16:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423067648001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101307669943418880,"note":"Value kept but may cause issues"} 
[2026-07-01 16:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8975181501534205952,"note":"Value kept but may cause issues"} 
[2026-07-01 16:14:32] 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-01 16:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782902616000,"timestamp_ms":1782902616000,"timestamp_seconds":1782902616,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d46efc0"} 
[2026-07-01 16:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:14: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-01 16:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-01 16:14:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:14:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":119900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":119900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":119900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:14:32] 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-01 16:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423067648001,"66":12624,"192":206,"87":13824,"24":10,"16":101307669943418880,"45":8975181501534205952},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-07-01 16:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423067648001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:14:32] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-01 16:14:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 16:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101307669943418880,"km_value":101307669943418.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8975181501534205952,"description":"Unknown IO ID 45"} 
[2026-07-01 16:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423067648001,"power":12624,"unknown_192":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8975181501534205952}} 
[2026-07-01 16:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":119900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417739,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:14:32] local.INFO: GPS data processed {"connection_id":119900,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:14:32] local.INFO: Acknowledgment sent {"connection_id":119900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:14:38] local.INFO: TCP Data received {"connection_id":119224,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 16:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119224,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 16:14:38] local.INFO: Processing buffer {"connection_id":119224,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 16:14:38] local.INFO: IMEI packet received {"connection_id":119224,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 16:14:38] local.INFO: IMEI acknowledgment sent {"connection_id":119224,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:14:55] local.INFO: TCP Data received {"connection_id":119097,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119097,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:14:55] local.INFO: Processing buffer {"connection_id":119097,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:14:55] local.INFO: IMEI packet received {"connection_id":119097,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 16:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":119097,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:14:56] local.INFO: TCP Data received {"connection_id":119097,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119097,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:14:56] local.INFO: Processing buffer {"connection_id":119097,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:14:56] local.INFO: IMEI packet received {"connection_id":119097,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":119097,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:14:58] local.INFO: TCP Data received {"connection_id":120983,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d46a588012cc3a10007545458000c01522c..."} 
[2026-07-01 16:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d46a588012cc3a10007545458000c01522c..."} 
[2026-07-01 16:14:58] local.INFO: Processing buffer {"connection_id":120983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d46a588012cc3a10007545458000c01522c..."} 
[2026-07-01 16:14:58] local.INFO: Packet analysis {"connection_id":120983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d46"} 
[2026-07-01 16:14:58] local.INFO: Extracted packet for processing {"connection_id":120983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d46"} 
[2026-07-01 16:14:58] local.INFO: GPS Element Parsed {"raw_longitude":751018240,"raw_latitude":122967128,"longitude_deg":75.101824,"latitude_deg":12.2967128,"altitude":12,"angle":338,"satellites":44,"speed":38,"hex_longitude":"2cc3a100","hex_latitude":"07545458","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423061760001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333640146249318400,"note":"Value kept but may cause issues"} 
[2026-07-01 16:14:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4346255083911948288,"note":"Value kept but may cause issues"} 
[2026-07-01 16:14:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782902597000,"timestamp_ms":1782902597000,"timestamp_seconds":1782902597,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d46a588"} 
[2026-07-01 16: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-01 16:14:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 16:14:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16: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-01 16: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-01 16:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:14:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423061760001,"66":27745,"179":206,"85":37632,"24":38,"16":333640146249318400,"44":-4346255083911948288},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,44]} 
[2026-07-01 16:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423061760001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:14:58] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-07-01 16:14:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 16:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333640146249318400,"km_value":333640146249318.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:14:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4346255083911948288,"description":"Unknown IO ID 44"} 
[2026-07-01 16:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423061760001,"power":27745,"unknown_179":206,"unknown_85":37632,"ignition":38,"odometer":null,"unknown_44":-4346255083911948288}} 
[2026-07-01 16:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":120983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:14:58] local.INFO: GPS data processed {"connection_id":120983,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:14:58] local.INFO: Acknowledgment sent {"connection_id":120983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:15:02] local.INFO: TCP Data received {"connection_id":119097,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119097,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:15:02] local.INFO: Processing buffer {"connection_id":119097,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:15:02] local.INFO: IMEI packet received {"connection_id":119097,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":119097,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:15:03] local.INFO: TCP Data received {"connection_id":119097,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d472288012d7c818005e99750000300ec22..."} 
[2026-07-01 16:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d472288012d7c818005e99750000300ec22..."} 
[2026-07-01 16:15:03] local.INFO: Processing buffer {"connection_id":119097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d472288012d7c818005e99750000300ec22..."} 
[2026-07-01 16:15:03] local.INFO: Packet analysis {"connection_id":119097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d47"} 
[2026-07-01 16:15:03] local.INFO: Extracted packet for processing {"connection_id":119097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d47"} 
[2026-07-01 16:15:03] local.INFO: GPS Element Parsed {"raw_longitude":763134336,"raw_latitude":99194704,"longitude_deg":76.3134336,"latitude_deg":9.9194704,"altitude":3,"angle":236,"satellites":34,"speed":1,"hex_longitude":"2d7c8180","hex_latitude":"05e99750","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423069696001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101307725777993728,"note":"Value kept but may cause issues"} 
[2026-07-01 16:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8972648226743707648,"note":"Value kept but may cause issues"} 
[2026-07-01 16:15: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-01 16:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782902629000,"timestamp_ms":1782902629000,"timestamp_seconds":1782902629,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d472288"} 
[2026-07-01 16: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-01 16:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-01 16:15:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16: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-01 16: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-01 16:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":119097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":119097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":119097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:15: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-01 16:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423069696001,"66":12645,"192":206,"87":13824,"24":1,"16":101307725777993728,"45":8972648226743707648},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-07-01 16:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423069696001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:15:03] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-01 16:15:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 16:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101307725777993728,"km_value":101307725777993.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8972648226743707648,"description":"Unknown IO ID 45"} 
[2026-07-01 16:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423069696001,"power":12645,"unknown_192":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8972648226743707648}} 
[2026-07-01 16:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":119097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417741,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:15:03] local.INFO: GPS data processed {"connection_id":119097,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:15:03] local.INFO: Acknowledgment sent {"connection_id":119097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:15:08] local.INFO: TCP Data received {"connection_id":119097,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d472a58012d7c80c005e99740000200f822..."} 
[2026-07-01 16:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d472a58012d7c80c005e99740000200f822..."} 
[2026-07-01 16:15:08] local.INFO: Processing buffer {"connection_id":119097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d472a58012d7c80c005e99740000200f822..."} 
[2026-07-01 16:15:08] local.INFO: Packet analysis {"connection_id":119097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d47"} 
[2026-07-01 16:15:08] local.INFO: Extracted packet for processing {"connection_id":119097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d47"} 
[2026-07-01 16:15:08] local.INFO: GPS Element Parsed {"raw_longitude":763134144,"raw_latitude":99194688,"longitude_deg":76.3134144,"latitude_deg":9.9194688,"altitude":2,"angle":248,"satellites":34,"speed":2,"hex_longitude":"2d7c80c0","hex_latitude":"05e99740","is_valid_coordinates":true} 
[2026-07-01 16:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423073024001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101307730072961024,"note":"Value kept but may cause issues"} 
[2026-07-01 16:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971592695580938240,"note":"Value kept but may cause issues"} 
[2026-07-01 16:15: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-01 16:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782902631000,"timestamp_ms":1782902631000,"timestamp_seconds":1782902631,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d472a58"} 
[2026-07-01 16:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:15: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-01 16:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-01 16:15:08] 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-01 16:15:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":119097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":119097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":119097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:15:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423073024001,"66":12885,"192":206,"87":13824,"24":2,"16":101307730072961024,"45":8971592695580938240},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-07-01 16:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423073024001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:15:08] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-01 16:15:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 16:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101307730072961024,"km_value":101307730072961.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971592695580938240,"description":"Unknown IO ID 45"} 
[2026-07-01 16:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423073024001,"power":12885,"unknown_192":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8971592695580938240}} 
[2026-07-01 16:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":119097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417742,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:15:08] local.INFO: GPS data processed {"connection_id":119097,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:15:08] local.INFO: Acknowledgment sent {"connection_id":119097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:15:15] local.INFO: TCP Data received {"connection_id":119098,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 16:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119098,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 16:15:15] local.INFO: Processing buffer {"connection_id":119098,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 16:15:15] local.INFO: IMEI packet received {"connection_id":119098,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 16:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":119098,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:15:20] local.INFO: TCP Data received {"connection_id":119225,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:15:20] local.INFO: Processing buffer {"connection_id":119225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:15:20] local.INFO: IMEI packet received {"connection_id":119225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 16:15:20] local.INFO: IMEI acknowledgment sent {"connection_id":119225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:15:24] local.INFO: TCP Data received {"connection_id":119225,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:15:24] local.INFO: Processing buffer {"connection_id":119225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:15:24] local.INFO: IMEI packet received {"connection_id":119225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:15:24] local.INFO: IMEI acknowledgment sent {"connection_id":119225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:15:26] local.INFO: TCP Data received {"connection_id":119225,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d46c8b0012cc3924007547670000b01512d..."} 
[2026-07-01 16:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d46c8b0012cc3924007547670000b01512d..."} 
[2026-07-01 16:15:26] local.INFO: Processing buffer {"connection_id":119225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d46c8b0012cc3924007547670000b01512d..."} 
[2026-07-01 16:15:26] local.INFO: Packet analysis {"connection_id":119225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d46"} 
[2026-07-01 16:15:26] local.INFO: Extracted packet for processing {"connection_id":119225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d46"} 
[2026-07-01 16:15:26] local.INFO: GPS Element Parsed {"raw_longitude":751014464,"raw_latitude":122975856,"longitude_deg":75.1014464,"latitude_deg":12.2975856,"altitude":11,"angle":337,"satellites":45,"speed":44,"hex_longitude":"2cc39240","hex_latitude":"07547670","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:15:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423064832001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:15:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333640605810819072,"note":"Value kept but may cause issues"} 
[2026-07-01 16:15:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4350195733583603712,"note":"Value kept but may cause issues"} 
[2026-07-01 16:15:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:15:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782902606000,"timestamp_ms":1782902606000,"timestamp_seconds":1782902606,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d46c8b0"} 
[2026-07-01 16: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-01 16:15:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 16:15:26] 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-01 16: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-01 16: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-01 16:15:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:15:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:15:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:15:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:15:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:15:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:15:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:15:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423064832001,"66":28104,"179":206,"85":37632,"24":44,"16":333640605810819072,"44":-4350195733583603712},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,44]} 
[2026-07-01 16:15:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:15:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:15:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423064832001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:15:26] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-07-01 16:15:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 16:15:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333640605810819072,"km_value":333640605810819.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:15:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4350195733583603712,"description":"Unknown IO ID 44"} 
[2026-07-01 16:15:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423064832001,"power":28104,"unknown_179":206,"unknown_85":37632,"ignition":44,"odometer":null,"unknown_44":-4350195733583603712}} 
[2026-07-01 16:15:26] local.INFO: DEBUG: GPS processor result {"connection_id":119225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:15:26] local.INFO: GPS data processed {"connection_id":119225,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:15:26] local.INFO: Acknowledgment sent {"connection_id":119225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:15:51] local.INFO: TCP Data received {"connection_id":120984,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120984,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:15:51] local.INFO: Processing buffer {"connection_id":120984,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:15:51] local.INFO: IMEI packet received {"connection_id":120984,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 16:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":120984,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:15:57] local.INFO: TCP Data received {"connection_id":120984,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120984,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:15:57] local.INFO: Processing buffer {"connection_id":120984,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:15:57] local.INFO: IMEI packet received {"connection_id":120984,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":120984,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:15:57] local.INFO: TCP Data received {"connection_id":119225,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d46e7f0012cc3840007549888000901502d..."} 
[2026-07-01 16:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d46e7f0012cc3840007549888000901502d..."} 
[2026-07-01 16:15:57] local.INFO: Processing buffer {"connection_id":119225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d46e7f0012cc3840007549888000901502d..."} 
[2026-07-01 16:15:57] local.INFO: Packet analysis {"connection_id":119225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d46"} 
[2026-07-01 16:15:57] local.INFO: Extracted packet for processing {"connection_id":119225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d46"} 
[2026-07-01 16:15:57] local.INFO: GPS Element Parsed {"raw_longitude":751010816,"raw_latitude":122984584,"longitude_deg":75.1010816,"latitude_deg":12.2984584,"altitude":9,"angle":336,"satellites":45,"speed":48,"hex_longitude":"2cc38400","hex_latitude":"07549888","is_valid_coordinates":true} 
[2026-07-01 16:15:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:15:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423067136001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:15:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333641061077352448,"note":"Value kept but may cause issues"} 
[2026-07-01 16:15:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4354347489487851520,"note":"Value kept but may cause issues"} 
[2026-07-01 16:15:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:15:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782902614000,"timestamp_ms":1782902614000,"timestamp_seconds":1782902614,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d46e7f0"} 
[2026-07-01 16:15:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:15:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:15:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-01 16:15:57] 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-01 16:15:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:15:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:15:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:15:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:15:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:15:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:15:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:15:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:15:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:15:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423067136001,"66":28050,"179":206,"85":37632,"24":48,"16":333641061077352448,"44":-4354347489487851520},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,44]} 
[2026-07-01 16:15:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:15:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:15:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423067136001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:15:57] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-07-01 16:15:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 16:15:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333641061077352448,"km_value":333641061077352.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:15:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4354347489487851520,"description":"Unknown IO ID 44"} 
[2026-07-01 16:15:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423067136001,"power":28050,"unknown_179":206,"unknown_85":37632,"ignition":48,"odometer":null,"unknown_44":-4354347489487851520}} 
[2026-07-01 16:15:57] local.INFO: DEBUG: GPS processor result {"connection_id":119225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:15:57] local.INFO: GPS data processed {"connection_id":119225,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:15:57] local.INFO: Acknowledgment sent {"connection_id":119225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:15:58] local.INFO: TCP Data received {"connection_id":120984,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d489d70012d7bcfc005e95ac8000300fe23..."} 
[2026-07-01 16:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d489d70012d7bcfc005e95ac8000300fe23..."} 
[2026-07-01 16:15:58] local.INFO: Processing buffer {"connection_id":120984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d489d70012d7bcfc005e95ac8000300fe23..."} 
[2026-07-01 16:15:58] local.INFO: Packet analysis {"connection_id":120984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d48"} 
[2026-07-01 16:15:58] local.INFO: Extracted packet for processing {"connection_id":120984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d48"} 
[2026-07-01 16:15:58] local.INFO: GPS Element Parsed {"raw_longitude":763088832,"raw_latitude":99179208,"longitude_deg":76.3088832,"latitude_deg":9.9179208,"altitude":3,"angle":254,"satellites":35,"speed":25,"hex_longitude":"2d7bcfc0","hex_latitude":"05e95ac8","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:15:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423092736001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:15:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101310040765366272,"note":"Value kept but may cause issues"} 
[2026-07-01 16:15:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930849192698476544,"note":"Value kept but may cause issues"} 
[2026-07-01 16:15: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-01 16:15:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782902726000,"timestamp_ms":1782902726000,"timestamp_seconds":1782902726,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d489d70"} 
[2026-07-01 16: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-01 16:15:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-01 16:15:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16: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-01 16: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-01 16:15:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:15:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:15:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:15:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:15: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-01 16:15:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:15:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:15:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423092736001,"66":13091,"156":206,"87":13824,"24":25,"16":101310040765366272,"45":8930849192698476544},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-01 16:15:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:15:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:15:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423092736001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:15:58] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-01 16:15:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 16:15:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101310040765366272,"km_value":101310040765366.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:15:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930849192698476544,"description":"Unknown IO ID 45"} 
[2026-07-01 16:15:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423092736001,"power":13091,"unknown_156":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8930849192698476544}} 
[2026-07-01 16:15:58] local.INFO: DEBUG: GPS processor result {"connection_id":120984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417745,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:15:58] local.INFO: GPS data processed {"connection_id":120984,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:15:58] local.INFO: Acknowledgment sent {"connection_id":120984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:16:20] local.INFO: TCP Data received {"connection_id":120985,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:16:20] local.INFO: Processing buffer {"connection_id":120985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:16:20] local.INFO: IMEI packet received {"connection_id":120985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 16:16:20] local.INFO: IMEI acknowledgment sent {"connection_id":120985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:16:25] local.INFO: TCP Data received {"connection_id":120985,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:16:25] local.INFO: Processing buffer {"connection_id":120985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:16:25] local.INFO: IMEI packet received {"connection_id":120985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":120985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:16:26] local.INFO: TCP Data received {"connection_id":120985,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d487e30012cc2fd400755ce30000901422c..."} 
[2026-07-01 16:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d487e30012cc2fd400755ce30000901422c..."} 
[2026-07-01 16:16:26] local.INFO: Processing buffer {"connection_id":120985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d487e30012cc2fd400755ce30000901422c..."} 
[2026-07-01 16:16:26] local.INFO: Packet analysis {"connection_id":120985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d48"} 
[2026-07-01 16:16:26] local.INFO: Extracted packet for processing {"connection_id":120985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d48"} 
[2026-07-01 16:16:26] local.INFO: GPS Element Parsed {"raw_longitude":750976320,"raw_latitude":123063856,"longitude_deg":75.097632,"latitude_deg":12.3063856,"altitude":9,"angle":322,"satellites":44,"speed":12,"hex_longitude":"2cc2fd40","hex_latitude":"0755ce30","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:16:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423095040001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:16:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333645248670466048,"note":"Value kept but may cause issues"} 
[2026-07-01 16:16:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4395935417274509312,"note":"Value kept but may cause issues"} 
[2026-07-01 16:16:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:16:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782902718000,"timestamp_ms":1782902718000,"timestamp_seconds":1782902718,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d487e30"} 
[2026-07-01 16:16:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:16: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-01 16:16:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 16:16:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:16:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:16:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:16:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:16:26] local.INFO: Teltonika packet parsed successfully {"connection_id":120985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:16:26] local.INFO: Passing IMEI to GPS processor {"connection_id":120985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:16:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":120985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:16:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:16:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:16:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:16:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423095040001,"66":27800,"84":206,"85":37120,"24":12,"16":333645248670466048,"44":-4395935417274509312},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,85,24,16,44]} 
[2026-07-01 16:16:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:16:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:16:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423095040001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:16:26] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-07-01 16:16:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:16:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333645248670466048,"km_value":333645248670466.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:16:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4395935417274509312,"description":"Unknown IO ID 44"} 
[2026-07-01 16:16:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423095040001,"power":27800,"unknown_84":206,"unknown_85":37120,"ignition":12,"odometer":null,"unknown_44":-4395935417274509312}} 
[2026-07-01 16:16:26] local.INFO: DEBUG: GPS processor result {"connection_id":120985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:16:26] local.INFO: GPS data processed {"connection_id":120985,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:16:26] local.INFO: Acknowledgment sent {"connection_id":120985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:16:29] local.INFO: TCP Data received {"connection_id":120984,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d48a928012d7bc94005e957d8000300eb22..."} 
[2026-07-01 16:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d48a928012d7bc94005e957d8000300eb22..."} 
[2026-07-01 16:16:29] local.INFO: Processing buffer {"connection_id":120984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d48a928012d7bc94005e957d8000300eb22..."} 
[2026-07-01 16:16:29] local.INFO: Packet analysis {"connection_id":120984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d48"} 
[2026-07-01 16:16:29] local.INFO: Extracted packet for processing {"connection_id":120984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d48"} 
[2026-07-01 16:16:29] local.INFO: GPS Element Parsed {"raw_longitude":763087168,"raw_latitude":99178456,"longitude_deg":76.3087168,"latitude_deg":9.9178456,"altitude":3,"angle":235,"satellites":34,"speed":24,"hex_longitude":"2d7bc940","hex_latitude":"05e957d8","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:16:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423097856001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:16:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101310126664712192,"note":"Value kept but may cause issues"} 
[2026-07-01 16:16:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8921560518466652160,"note":"Value kept but may cause issues"} 
[2026-07-01 16:16:29] 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-01 16:16:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782902729000,"timestamp_ms":1782902729000,"timestamp_seconds":1782902729,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d48a928"} 
[2026-07-01 16: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-01 16:16:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-01 16:16:29] 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-01 16: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-01 16: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-01 16:16:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:16:29] local.INFO: Teltonika packet parsed successfully {"connection_id":120984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:16:29] local.INFO: Passing IMEI to GPS processor {"connection_id":120984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:16:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":120984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:16: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-01 16:16:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:16:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:16:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423097856001,"66":12819,"156":206,"87":13824,"24":24,"16":101310126664712192,"45":8921560518466652160},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-01 16:16:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:16:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:16:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423097856001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:16:29] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-01 16:16:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 16:16:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101310126664712192,"km_value":101310126664712.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:16:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8921560518466652160,"description":"Unknown IO ID 45"} 
[2026-07-01 16:16:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423097856001,"power":12819,"unknown_156":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8921560518466652160}} 
[2026-07-01 16:16:29] local.INFO: DEBUG: GPS processor result {"connection_id":120984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417747,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:16:29] local.INFO: GPS data processed {"connection_id":120984,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:16:29] local.INFO: Acknowledgment sent {"connection_id":120984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:16:51] local.INFO: TCP Data received {"connection_id":119901,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119901,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:16:51] local.INFO: Processing buffer {"connection_id":119901,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:16:51] local.INFO: IMEI packet received {"connection_id":119901,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 16:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":119901,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:16:53] local.INFO: TCP Data received {"connection_id":119901,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119901,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:16:53] local.INFO: Processing buffer {"connection_id":119901,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:16:53] local.INFO: IMEI packet received {"connection_id":119901,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":119901,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:16:57] local.INFO: TCP Data received {"connection_id":119901,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119901,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:16:57] local.INFO: Processing buffer {"connection_id":119901,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:16:57] local.INFO: IMEI packet received {"connection_id":119901,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":119901,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:17:00] local.INFO: TCP Data received {"connection_id":119901,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d48d420012d7bb68005e94af0000200f61f..."} 
[2026-07-01 16:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d48d420012d7bb68005e94af0000200f61f..."} 
[2026-07-01 16:17:00] local.INFO: Processing buffer {"connection_id":119901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d48d420012d7bb68005e94af0000200f61f..."} 
[2026-07-01 16:17:00] local.INFO: Packet analysis {"connection_id":119901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d48"} 
[2026-07-01 16:17:00] local.INFO: Extracted packet for processing {"connection_id":119901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d48"} 
[2026-07-01 16:17:00] local.INFO: GPS Element Parsed {"raw_longitude":763082368,"raw_latitude":99175152,"longitude_deg":76.3082368,"latitude_deg":9.9175152,"altitude":2,"angle":246,"satellites":31,"speed":20,"hex_longitude":"2d7bb680","hex_latitude":"05e94af0","is_valid_coordinates":true} 
[2026-07-01 16:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423098624001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101310410132553728,"note":"Value kept but may cause issues"} 
[2026-07-01 16:17:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8919730931117840384,"note":"Value kept but may cause issues"} 
[2026-07-01 16:17:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782902740000,"timestamp_ms":1782902740000,"timestamp_seconds":1782902740,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d48d420"} 
[2026-07-01 16:17:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:17: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-01 16:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-01 16:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-07-01 16:17:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-01 16:17:00] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-01 16:17:00] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505145463144448,"note":"Value kept but may cause issues"} 
[2026-07-01 16:17:00] local.WARNING: Large IO value detected {"io_id":29,"raw_value":5145600073840489856,"note":"Value kept but may cause issues"} 
[2026-07-01 16:17:00] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5836929004162318592,"note":"Value kept but may cause issues"} 
[2026-07-01 16:17:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6250997169016668184,"corrected_to":0} 
[2026-07-01 16:17:00] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2147871097,"note":"Value kept but may cause issues"} 
[2026-07-01 16:17:00] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182182464979200,"note":"Value kept but may cause issues"} 
[2026-07-01 16:17:00] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3954966528,"note":"Value kept but may cause issues"} 
[2026-07-01 16:17:00] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1616352461541277913,"note":"Value kept but may cause issues"} 
[2026-07-01 16:17:00] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-4971748216144867753,"note":"Value kept but may cause issues"} 
[2026-07-01 16:17:00] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755523995238641,"note":"Value kept but may cause issues"} 
[2026-07-01 16:17:00] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195078400,"note":"Value kept but may cause issues"} 
[2026-07-01 16:17:00] local.WARNING: Large IO value detected {"io_id":56,"raw_value":84860830344407443,"note":"Value kept but may cause issues"} 
[2026-07-01 16:17:00] local.WARNING: Large IO value detected {"io_id":80,"raw_value":563977054587136,"note":"Value kept but may cause issues"} 
[2026-07-01 16:17:00] local.INFO: IO Element Parsed {"io_data_count":48,"io_data_keys":[0,156,87,24,241,157,16,237,159,45,192,90,3,35,10,66,236,79,96,6,40,28,64,1,240,46,227,29,233,4,113,205,12,206,55,88,37,239,49,2,103,5,51,54,107,69,56,80],"length":625,"final_offset":755,"validated_count":48,"validation_warnings":[{"io_id":205,"original":6250997169016668184,"validated":0}]} 
[2026-07-01 16:17:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216431313376772096,"timestamp_seconds":216431313376772.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 16:17:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":119901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":119901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":119901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:17: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-01 16:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423098624001,"66":13102,"156":206,"87":13824,"24":20,"16":101310410132553728,"45":8919730931117840384},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-01 16:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423098624001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:17:00] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-01 16:17:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 16:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101310410132553728,"km_value":101310410132553.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:17:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8919730931117840384,"description":"Unknown IO ID 45"} 
[2026-07-01 16:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423098624001,"power":13102,"unknown_156":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8919730931117840384}} 
[2026-07-01 16:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":119901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417748,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:17:00] local.INFO: GPS data processed {"connection_id":119901,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:17:00] local.INFO: Acknowledgment sent {"connection_id":119901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:17:02] local.INFO: TCP Data received {"connection_id":120985,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d48b4e0012cc2e5c00755ecd00008013c2b..."} 
[2026-07-01 16:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d48b4e0012cc2e5c00755ecd00008013c2b..."} 
[2026-07-01 16:17:02] local.INFO: Processing buffer {"connection_id":120985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d48b4e0012cc2e5c00755ecd00008013c2b..."} 
[2026-07-01 16:17:02] local.INFO: Packet analysis {"connection_id":120985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d48"} 
[2026-07-01 16:17:02] local.INFO: Extracted packet for processing {"connection_id":120985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d48"} 
[2026-07-01 16:17:02] local.INFO: GPS Element Parsed {"raw_longitude":750970304,"raw_latitude":123071696,"longitude_deg":75.0970304,"latitude_deg":12.3071696,"altitude":8,"angle":316,"satellites":43,"speed":40,"hex_longitude":"2cc2e5c0","hex_latitude":"0755ecd0","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423095808001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333645725411835904,"note":"Value kept but may cause issues"} 
[2026-07-01 16:17:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4396287260995211264,"note":"Value kept but may cause issues"} 
[2026-07-01 16:17:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782902732000,"timestamp_ms":1782902732000,"timestamp_seconds":1782902732,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d48b4e0"} 
[2026-07-01 16: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-01 16:17:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:17:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 16:17:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16: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-01 16: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-01 16:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":120985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":120985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":120985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:17:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423095808001,"66":27865,"84":206,"85":37120,"24":40,"16":333645725411835904,"44":-4396287260995211264},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,85,24,16,44]} 
[2026-07-01 16:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423095808001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:17:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-07-01 16:17:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333645725411835904,"km_value":333645725411835.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:17:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4396287260995211264,"description":"Unknown IO ID 44"} 
[2026-07-01 16:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423095808001,"power":27865,"unknown_84":206,"unknown_85":37120,"ignition":40,"odometer":null,"unknown_44":-4396287260995211264}} 
[2026-07-01 16:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":120985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:17:02] local.INFO: GPS data processed {"connection_id":120985,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:17:02] local.INFO: Acknowledgment sent {"connection_id":120985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:17:20] local.INFO: TCP Data received {"connection_id":119099,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:17:20] local.INFO: Processing buffer {"connection_id":119099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:17:20] local.INFO: IMEI packet received {"connection_id":119099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 16:17:20] local.INFO: IMEI acknowledgment sent {"connection_id":119099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:17:25] local.INFO: TCP Data received {"connection_id":119099,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:17:25] local.INFO: Processing buffer {"connection_id":119099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:17:25] local.INFO: IMEI packet received {"connection_id":119099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":119099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:17:26] local.INFO: TCP Data received {"connection_id":119099,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d48d808012cc2cd4007560808000901412d..."} 
[2026-07-01 16:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d48d808012cc2cd4007560808000901412d..."} 
[2026-07-01 16:17:26] local.INFO: Processing buffer {"connection_id":119099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d48d808012cc2cd4007560808000901412d..."} 
[2026-07-01 16:17:26] local.INFO: Packet analysis {"connection_id":119099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d48"} 
[2026-07-01 16:17:26] local.INFO: Extracted packet for processing {"connection_id":119099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d48"} 
[2026-07-01 16:17:26] local.INFO: GPS Element Parsed {"raw_longitude":750964032,"raw_latitude":123078664,"longitude_deg":75.0964032,"latitude_deg":12.3078664,"altitude":9,"angle":321,"satellites":45,"speed":41,"hex_longitude":"2cc2cd40","hex_latitude":"07560808","is_valid_coordinates":true} 
[2026-07-01 16:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:17:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423099392001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:17:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333646172088434688,"note":"Value kept but may cause issues"} 
[2026-07-01 16:17:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4402901922945904640,"note":"Value kept but may cause issues"} 
[2026-07-01 16:17:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:17:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782902741000,"timestamp_ms":1782902741000,"timestamp_seconds":1782902741,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d48d808"} 
[2026-07-01 16:17:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:17: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-01 16:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 16:17:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:17:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:17:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:17:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:17:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:17:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:17:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:17:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:17:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:17:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:17:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423099392001,"66":27713,"84":206,"85":37120,"24":41,"16":333646172088434688,"44":-4402901922945904640},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,85,24,16,44]} 
[2026-07-01 16:17:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:17:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:17:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423099392001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:17:26] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-07-01 16:17:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:17:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333646172088434688,"km_value":333646172088434.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:17:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4402901922945904640,"description":"Unknown IO ID 44"} 
[2026-07-01 16:17:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423099392001,"power":27713,"unknown_84":206,"unknown_85":37120,"ignition":41,"odometer":null,"unknown_44":-4402901922945904640}} 
[2026-07-01 16:17:26] local.INFO: DEBUG: GPS processor result {"connection_id":119099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:17:26] local.INFO: GPS data processed {"connection_id":119099,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:17:26] local.INFO: Acknowledgment sent {"connection_id":119099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:17:32] local.INFO: TCP Data received {"connection_id":119901,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d491a70012d7b944005e93f10000400fb23..."} 
[2026-07-01 16:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d491a70012d7b944005e93f10000400fb23..."} 
[2026-07-01 16:17:32] local.INFO: Processing buffer {"connection_id":119901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d491a70012d7b944005e93f10000400fb23..."} 
[2026-07-01 16:17:32] local.INFO: Packet analysis {"connection_id":119901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d49"} 
[2026-07-01 16:17:32] local.INFO: Extracted packet for processing {"connection_id":119901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d49"} 
[2026-07-01 16:17:32] local.INFO: GPS Element Parsed {"raw_longitude":763073600,"raw_latitude":99172112,"longitude_deg":76.30736,"latitude_deg":9.9172112,"altitude":4,"angle":251,"satellites":35,"speed":19,"hex_longitude":"2d7b9440","hex_latitude":"05e93f10","is_valid_coordinates":true} 
[2026-07-01 16:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423101440001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101310852514185216,"note":"Value kept but may cause issues"} 
[2026-07-01 16:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8914453275303669760,"note":"Value kept but may cause issues"} 
[2026-07-01 16:17:32] 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-01 16:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782902758000,"timestamp_ms":1782902758000,"timestamp_seconds":1782902758,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d491a70"} 
[2026-07-01 16:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:17: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-01 16:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-01 16:17:32] 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-01 16:17:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":119901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":119901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":119901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:17:32] 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-01 16:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423101440001,"66":12841,"156":206,"87":13824,"24":19,"16":101310852514185216,"45":8914453275303669760},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-01 16:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423101440001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:17:32] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-01 16:17:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 16:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101310852514185216,"km_value":101310852514185.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8914453275303669760,"description":"Unknown IO ID 45"} 
[2026-07-01 16:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423101440001,"power":12841,"unknown_156":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8914453275303669760}} 
[2026-07-01 16:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":119901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417751,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:17:32] local.INFO: GPS data processed {"connection_id":119901,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:17:32] local.INFO: Acknowledgment sent {"connection_id":119901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:17:51] local.INFO: TCP Data received {"connection_id":120987,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120987,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:17:51] local.INFO: Processing buffer {"connection_id":120987,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:17:51] local.INFO: IMEI packet received {"connection_id":120987,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 16:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":120987,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:17:56] local.INFO: TCP Data received {"connection_id":120987,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120987,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:17:56] local.INFO: Processing buffer {"connection_id":120987,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:17:56] local.INFO: IMEI packet received {"connection_id":120987,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":120987,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:17:57] local.INFO: TCP Data received {"connection_id":119099,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d48f748012cc2bdc007561f98000a014d2c..."} 
[2026-07-01 16:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d48f748012cc2bdc007561f98000a014d2c..."} 
[2026-07-01 16:17:57] local.INFO: Processing buffer {"connection_id":119099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d48f748012cc2bdc007561f98000a014d2c..."} 
[2026-07-01 16:17:57] local.INFO: Packet analysis {"connection_id":119099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d48"} 
[2026-07-01 16:17:57] local.INFO: Extracted packet for processing {"connection_id":119099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d48"} 
[2026-07-01 16:17:57] local.INFO: GPS Element Parsed {"raw_longitude":750960064,"raw_latitude":123084696,"longitude_deg":75.0960064,"latitude_deg":12.3084696,"altitude":10,"angle":333,"satellites":44,"speed":20,"hex_longitude":"2cc2bdc0","hex_latitude":"07561f98","is_valid_coordinates":true} 
[2026-07-01 16:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:17:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423101696001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:17:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333646519980785664,"note":"Value kept but may cause issues"} 
[2026-07-01 16:17:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4409798059873531904,"note":"Value kept but may cause issues"} 
[2026-07-01 16:17:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:17:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782902749000,"timestamp_ms":1782902749000,"timestamp_seconds":1782902749,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d48f748"} 
[2026-07-01 16:17:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:17:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-01 16:17:57] 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-01 16:17:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:17:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:17:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:17:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:17:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:17:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:17:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:17:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:17:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:17:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423101696001,"66":27767,"84":206,"85":37120,"24":20,"16":333646519980785664,"44":-4409798059873531904},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,85,24,16,44]} 
[2026-07-01 16:17:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:17:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:17:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423101696001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:17:57] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-07-01 16:17:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:17:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333646519980785664,"km_value":333646519980785.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:17:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4409798059873531904,"description":"Unknown IO ID 44"} 
[2026-07-01 16:17:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423101696001,"power":27767,"unknown_84":206,"unknown_85":37120,"ignition":20,"odometer":null,"unknown_44":-4409798059873531904}} 
[2026-07-01 16:17:57] local.INFO: DEBUG: GPS processor result {"connection_id":119099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:17:57] local.INFO: GPS data processed {"connection_id":119099,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:17:57] local.INFO: Acknowledgment sent {"connection_id":119099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:17:58] local.INFO: TCP Data received {"connection_id":120987,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d4939b0012d7b844005e93b780004010621..."} 
[2026-07-01 16:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d4939b0012d7b844005e93b780004010621..."} 
[2026-07-01 16:17:58] local.INFO: Processing buffer {"connection_id":120987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d4939b0012d7b844005e93b780004010621..."} 
[2026-07-01 16:17:58] local.INFO: Packet analysis {"connection_id":120987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d49"} 
[2026-07-01 16:17:58] local.INFO: Extracted packet for processing {"connection_id":120987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d49"} 
[2026-07-01 16:17:58] local.INFO: GPS Element Parsed {"raw_longitude":763069504,"raw_latitude":99171192,"longitude_deg":76.3069504,"latitude_deg":9.9171192,"altitude":4,"angle":262,"satellites":33,"speed":21,"hex_longitude":"2d7b8440","hex_latitude":"05e93b78","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423106048001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:17:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101311054377648128,"note":"Value kept but may cause issues"} 
[2026-07-01 16:17:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8904812757350551552,"note":"Value kept but may cause issues"} 
[2026-07-01 16:17: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-01 16:17:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782902766000,"timestamp_ms":1782902766000,"timestamp_seconds":1782902766,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d4939b0"} 
[2026-07-01 16: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-01 16:17:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-01 16:17: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-01 16: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-01 16: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-01 16:17:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:17:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:17:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120987,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:17:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120987,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:17: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-01 16:17:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:17:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:17:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423106048001,"66":12874,"156":206,"87":13824,"24":21,"16":101311054377648128,"45":8904812757350551552},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-01 16:17:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:17:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:17:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423106048001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:17:58] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-01 16:17:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 16:17:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101311054377648128,"km_value":101311054377648.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:17:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8904812757350551552,"description":"Unknown IO ID 45"} 
[2026-07-01 16:17:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423106048001,"power":12874,"unknown_156":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8904812757350551552}} 
[2026-07-01 16:17:58] local.INFO: DEBUG: GPS processor result {"connection_id":120987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417753,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:17:58] local.INFO: GPS data processed {"connection_id":120987,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:17:58] local.INFO: Acknowledgment sent {"connection_id":120987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:18:23] local.INFO: TCP Data received {"connection_id":119101,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:18:23] local.INFO: Processing buffer {"connection_id":119101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:18:23] local.INFO: IMEI packet received {"connection_id":119101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 16:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":119101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:18:25] local.INFO: TCP Data received {"connection_id":119101,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:18:25] local.INFO: Processing buffer {"connection_id":119101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:18:25] local.INFO: IMEI packet received {"connection_id":119101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:18:25] local.INFO: IMEI acknowledgment sent {"connection_id":119101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:18:29] local.INFO: TCP Data received {"connection_id":120987,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d4987d0012d7b7f8005e93aa8000300fe22..."} 
[2026-07-01 16:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d4987d0012d7b7f8005e93aa8000300fe22..."} 
[2026-07-01 16:18:29] local.INFO: Processing buffer {"connection_id":120987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d4987d0012d7b7f8005e93aa8000300fe22..."} 
[2026-07-01 16:18:29] local.INFO: Packet analysis {"connection_id":120987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d49"} 
[2026-07-01 16:18:29] local.INFO: Extracted packet for processing {"connection_id":120987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d49"} 
[2026-07-01 16:18:29] local.INFO: GPS Element Parsed {"raw_longitude":763068288,"raw_latitude":99170984,"longitude_deg":76.3068288,"latitude_deg":9.9170984,"altitude":3,"angle":254,"satellites":34,"speed":0,"hex_longitude":"2d7b7f80","hex_latitude":"05e93aa8","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423108096001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:18:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101311114507190272,"note":"Value kept but may cause issues"} 
[2026-07-01 16:18:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900309157722945536,"note":"Value kept but may cause issues"} 
[2026-07-01 16:18:29] 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-01 16:18:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782902786000,"timestamp_ms":1782902786000,"timestamp_seconds":1782902786,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d4987d0"} 
[2026-07-01 16: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-01 16:18: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-01 16: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":74,"data_length":795,"current_offset":136} 
[2026-07-01 16:18:29] 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-01 16: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-01 16: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-01 16:18:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:18:29] local.INFO: Teltonika packet parsed successfully {"connection_id":120987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:18:29] local.INFO: Passing IMEI to GPS processor {"connection_id":120987,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:18:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":120987,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:18: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-01 16:18:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:18:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:18:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423108096001,"66":12950,"156":206,"87":13824,"24":0,"16":101311114507190272,"45":8900309157722945536},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-07-01 16:18:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:18:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:18:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423108096001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:18:29] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-01 16:18:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 16:18:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101311114507190272,"km_value":101311114507190.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:18:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900309157722945536,"description":"Unknown IO ID 45"} 
[2026-07-01 16:18:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423108096001,"power":12950,"unknown_156":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8900309157722945536}} 
[2026-07-01 16:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":120987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417754,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:18:29] local.INFO: GPS data processed {"connection_id":120987,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:18:29] local.INFO: Acknowledgment sent {"connection_id":120987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:18:30] local.INFO: TCP Data received {"connection_id":119101,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:18:30] local.INFO: Processing buffer {"connection_id":119101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:18:30] local.INFO: IMEI packet received {"connection_id":119101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":119101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:18:31] local.INFO: TCP Data received {"connection_id":119101,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d4a4350012cc239400756cda8001001372d..."} 
[2026-07-01 16:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d4a4350012cc239400756cda8001001372d..."} 
[2026-07-01 16:18:31] local.INFO: Processing buffer {"connection_id":119101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d4a4350012cc239400756cda8001001372d..."} 
[2026-07-01 16:18:31] local.INFO: Packet analysis {"connection_id":119101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d4a"} 
[2026-07-01 16:18:31] local.INFO: Extracted packet for processing {"connection_id":119101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d4a"} 
[2026-07-01 16:18:31] local.INFO: GPS Element Parsed {"raw_longitude":750926144,"raw_latitude":123129256,"longitude_deg":75.0926144,"latitude_deg":12.3129256,"altitude":16,"angle":311,"satellites":45,"speed":10,"hex_longitude":"2cc23940","hex_latitude":"0756cda8","is_valid_coordinates":true} 
[2026-07-01 16:18:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423121664001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333649285939724288,"note":"Value kept but may cause issues"} 
[2026-07-01 16:18:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4449204556600702976,"note":"Value kept but may cause issues"} 
[2026-07-01 16:18:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782902834000,"timestamp_ms":1782902834000,"timestamp_seconds":1782902834,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d4a4350"} 
[2026-07-01 16:18:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:18:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:18:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-01 16:18:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:18:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:18:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:18:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423121664001,"66":27876,"103":206,"85":37120,"24":10,"16":333649285939724288,"44":-4449204556600702976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-07-01 16:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423121664001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:18:31] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-01 16:18:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333649285939724288,"km_value":333649285939724.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:18:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4449204556600702976,"description":"Unknown IO ID 44"} 
[2026-07-01 16:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423121664001,"power":27876,"unknown_103":206,"unknown_85":37120,"ignition":10,"odometer":null,"unknown_44":-4449204556600702976}} 
[2026-07-01 16:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":119101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:18:31] local.INFO: GPS data processed {"connection_id":119101,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:18:31] local.INFO: Acknowledgment sent {"connection_id":119101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:18:35] local.INFO: TCP Data received {"connection_id":119101,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d4a7de8012cc222400756eaa0001001402f..."} 
[2026-07-01 16:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d4a7de8012cc222400756eaa0001001402f..."} 
[2026-07-01 16:18:35] local.INFO: Processing buffer {"connection_id":119101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d4a7de8012cc222400756eaa0001001402f..."} 
[2026-07-01 16:18:35] local.INFO: Packet analysis {"connection_id":119101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d4a"} 
[2026-07-01 16:18:35] local.INFO: Extracted packet for processing {"connection_id":119101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d4a"} 
[2026-07-01 16:18:35] local.INFO: GPS Element Parsed {"raw_longitude":750920256,"raw_latitude":123136672,"longitude_deg":75.0920256,"latitude_deg":12.3136672,"altitude":16,"angle":320,"satellites":47,"speed":35,"hex_longitude":"2cc22240","hex_latitude":"0756eaa0","is_valid_coordinates":true} 
[2026-07-01 16:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423125504001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333649741206257664,"note":"Value kept but may cause issues"} 
[2026-07-01 16:18:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4451456356413757440,"note":"Value kept but may cause issues"} 
[2026-07-01 16:18:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782902849000,"timestamp_ms":1782902849000,"timestamp_seconds":1782902849,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d4a7de8"} 
[2026-07-01 16:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:18:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-01 16:18:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:18:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":119101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":119101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":119101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:18:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423125504001,"66":27908,"103":206,"85":37120,"24":35,"16":333649741206257664,"44":-4451456356413757440},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-07-01 16:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423125504001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:18:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-01 16:18:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333649741206257664,"km_value":333649741206257.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:18:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4451456356413757440,"description":"Unknown IO ID 44"} 
[2026-07-01 16:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423125504001,"power":27908,"unknown_103":206,"unknown_85":37120,"ignition":35,"odometer":null,"unknown_44":-4451456356413757440}} 
[2026-07-01 16:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":119101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:18:35] local.INFO: GPS data processed {"connection_id":119101,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:18:35] local.INFO: Acknowledgment sent {"connection_id":119101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:18:57] local.INFO: TCP Data received {"connection_id":119902,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119902,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:18:57] local.INFO: Processing buffer {"connection_id":119902,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:18:57] local.INFO: IMEI packet received {"connection_id":119902,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 16:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":119902,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:19:02] local.INFO: TCP Data received {"connection_id":119902,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119902,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:19:02] local.INFO: Processing buffer {"connection_id":119902,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:19:02] local.INFO: IMEI packet received {"connection_id":119902,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":119902,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:19:02] local.INFO: TCP Data received {"connection_id":119902,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d4ba2e0012d7b4ac005e92f20000400c81d..."} 
[2026-07-01 16:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d4ba2e0012d7b4ac005e92f20000400c81d..."} 
[2026-07-01 16:19:02] local.INFO: Processing buffer {"connection_id":119902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d4ba2e0012d7b4ac005e92f20000400c81d..."} 
[2026-07-01 16:19:02] local.INFO: Packet analysis {"connection_id":119902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d4b"} 
[2026-07-01 16:19:02] local.INFO: Extracted packet for processing {"connection_id":119902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d4b"} 
[2026-07-01 16:19:02] local.INFO: GPS Element Parsed {"raw_longitude":763054784,"raw_latitude":99168032,"longitude_deg":76.3054784,"latitude_deg":9.9168032,"altitude":4,"angle":200,"satellites":29,"speed":8,"hex_longitude":"2d7b4ac0","hex_latitude":"05e92f20","is_valid_coordinates":true} 
[2026-07-01 16:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423148288001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101311788817055744,"note":"Value kept but may cause issues"} 
[2026-07-01 16:19:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884335452793847808,"note":"Value kept but may cause issues"} 
[2026-07-01 16:19:02] 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-01 16:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782902924000,"timestamp_ms":1782902924000,"timestamp_seconds":1782902924,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d4ba2e0"} 
[2026-07-01 16:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:19:02] local.INFO: 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-01 16:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-07-01 16:19:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":816,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:19:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":119902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":119902,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":119902,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:19:02] 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-01 16:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423148288001,"66":12809,"201":206,"87":13824,"24":8,"16":101311788817055744,"45":8884335452793847808},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-01 16:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423148288001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:19:02] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-01 16:19:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 16:19:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101311788817055744,"km_value":101311788817055.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:19:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884335452793847808,"description":"Unknown IO ID 45"} 
[2026-07-01 16:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423148288001,"power":12809,"unknown_201":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8884335452793847808}} 
[2026-07-01 16:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":119902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417757,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:19:02] local.INFO: GPS data processed {"connection_id":119902,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:19:02] local.INFO: Acknowledgment sent {"connection_id":119902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:19:03] local.INFO: TCP Data received {"connection_id":119902,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d4baab0012d7b4a8005e92d00000400b11d..."} 
[2026-07-01 16:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d4baab0012d7b4a8005e92d00000400b11d..."} 
[2026-07-01 16:19:03] local.INFO: Processing buffer {"connection_id":119902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d4baab0012d7b4a8005e92d00000400b11d..."} 
[2026-07-01 16:19:03] local.INFO: Packet analysis {"connection_id":119902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d4b"} 
[2026-07-01 16:19:03] local.INFO: Extracted packet for processing {"connection_id":119902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d4b"} 
[2026-07-01 16:19:03] local.INFO: GPS Element Parsed {"raw_longitude":763054720,"raw_latitude":99167488,"longitude_deg":76.305472,"latitude_deg":9.9167488,"altitude":4,"angle":177,"satellites":29,"speed":12,"hex_longitude":"2d7b4a80","hex_latitude":"05e92d00","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423148544001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101311814586859520,"note":"Value kept but may cause issues"} 
[2026-07-01 16:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884124346561273856,"note":"Value kept but may cause issues"} 
[2026-07-01 16:19:03] 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-01 16:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782902926000,"timestamp_ms":1782902926000,"timestamp_seconds":1782902926,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d4baab0"} 
[2026-07-01 16: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-01 16:19: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-01 16: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-01 16:19:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-01 16:19:03] local.WARNING: Large IO value detected {"io_id":29,"raw_value":5373198980790058240,"note":"Value kept but may cause issues"} 
[2026-07-01 16:19:03] local.WARNING: Large IO value detected {"io_id":49,"raw_value":4179566050729315927,"note":"Value kept but may cause issues"} 
[2026-07-01 16:19:03] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-01 16:19:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":768147662,"corrected_to":0} 
[2026-07-01 16:19:03] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2147560827,"note":"Value kept but may cause issues"} 
[2026-07-01 16:19:03] local.WARNING: Large IO value detected {"io_id":111,"raw_value":2147871028,"note":"Value kept but may cause issues"} 
[2026-07-01 16:19:03] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3053505837,"note":"Value kept but may cause issues"} 
[2026-07-01 16:19:03] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3994943488,"note":"Value kept but may cause issues"} 
[2026-07-01 16:19:03] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1641131055551284192,"note":"Value kept but may cause issues"} 
[2026-07-01 16:19:03] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-01 16:19:03] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,201,87,24,241,157,16,238,159,158,45,128,47,4,29,10,66,108,64,49,3,31,92,1,240,216,227,233,113,205,7,53,111,136,36,239,50,2,103,5,54,244],"length":535,"final_offset":665,"validated_count":42,"validation_warnings":[{"io_id":205,"original":768147662,"validated":0}]} 
[2026-07-01 16:19:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288450403031842816,"timestamp_seconds":288450403031842.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 16: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-01 16:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":119902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":119902,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":119902,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:19: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-01 16:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423148544001,"66":13059,"201":206,"87":13824,"24":12,"16":101311814586859520,"45":8884124346561273856},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-01 16:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423148544001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:19:03] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-01 16:19:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 16:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101311814586859520,"km_value":101311814586859.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884124346561273856,"description":"Unknown IO ID 45"} 
[2026-07-01 16:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423148544001,"power":13059,"unknown_201":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8884124346561273856}} 
[2026-07-01 16:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":119902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417758,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:19:03] local.INFO: GPS data processed {"connection_id":119902,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:19:03] local.INFO: Acknowledgment sent {"connection_id":119902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:19:20] local.INFO: TCP Data received {"connection_id":119903,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:19:20] local.INFO: Processing buffer {"connection_id":119903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:19:20] local.INFO: IMEI packet received {"connection_id":119903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 16:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":119903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:19:20] local.INFO: TCP Data received {"connection_id":119903,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:19:20] local.INFO: Processing buffer {"connection_id":119903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:19:20] local.INFO: IMEI packet received {"connection_id":119903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":119903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:19:24] local.INFO: TCP Data received {"connection_id":119903,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:19:24] local.INFO: Processing buffer {"connection_id":119903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:19:24] local.INFO: IMEI packet received {"connection_id":119903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":119903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:19:25] local.INFO: TCP Data received {"connection_id":119903,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d4abc68012cc20940075704d0001001382d..."} 
[2026-07-01 16:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d4abc68012cc20940075704d0001001382d..."} 
[2026-07-01 16:19:25] local.INFO: Processing buffer {"connection_id":119903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d4abc68012cc20940075704d0001001382d..."} 
[2026-07-01 16:19:25] local.INFO: Packet analysis {"connection_id":119903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d4a"} 
[2026-07-01 16:19:25] local.INFO: Extracted packet for processing {"connection_id":119903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d4a"} 
[2026-07-01 16:19:25] local.INFO: GPS Element Parsed {"raw_longitude":750913856,"raw_latitude":123143376,"longitude_deg":75.0913856,"latitude_deg":12.3143376,"altitude":16,"angle":312,"satellites":45,"speed":27,"hex_longitude":"2cc20940","hex_latitude":"075704d0","is_valid_coordinates":true} 
[2026-07-01 16:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423129344001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:19:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333650187882856448,"note":"Value kept but may cause issues"} 
[2026-07-01 16:19:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4457930280876204032,"note":"Value kept but may cause issues"} 
[2026-07-01 16:19:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:19:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782902865000,"timestamp_ms":1782902865000,"timestamp_seconds":1782902865,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d4abc68"} 
[2026-07-01 16:19:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:19: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-01 16:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 16:19:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:19:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:19:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:19:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:19:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:19:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:19:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:19:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:19:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:19:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:19:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423129344001,"66":27908,"103":206,"85":37120,"24":27,"16":333650187882856448,"44":-4457930280876204032},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-07-01 16:19:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:19:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:19:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423129344001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:19:25] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-01 16:19:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:19:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333650187882856448,"km_value":333650187882856.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:19:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4457930280876204032,"description":"Unknown IO ID 44"} 
[2026-07-01 16:19:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423129344001,"power":27908,"unknown_103":206,"unknown_85":37120,"ignition":27,"odometer":null,"unknown_44":-4457930280876204032}} 
[2026-07-01 16:19:25] local.INFO: DEBUG: GPS processor result {"connection_id":119903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:19:25] local.INFO: GPS data processed {"connection_id":119903,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:19:25] local.INFO: Acknowledgment sent {"connection_id":119903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:19:35] local.INFO: TCP Data received {"connection_id":119902,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d4be160012d7b4c4005e90a80000700ad20..."} 
[2026-07-01 16:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d4be160012d7b4c4005e90a80000700ad20..."} 
[2026-07-01 16:19:35] local.INFO: Processing buffer {"connection_id":119902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d4be160012d7b4c4005e90a80000700ad20..."} 
[2026-07-01 16:19:35] local.INFO: Packet analysis {"connection_id":119902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d4b"} 
[2026-07-01 16:19:35] local.INFO: Extracted packet for processing {"connection_id":119902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d4b"} 
[2026-07-01 16:19:35] local.INFO: GPS Element Parsed {"raw_longitude":763055168,"raw_latitude":99158656,"longitude_deg":76.3055168,"latitude_deg":9.9158656,"altitude":7,"angle":173,"satellites":32,"speed":30,"hex_longitude":"2d7b4c40","hex_latitude":"05e90a80","is_valid_coordinates":true} 
[2026-07-01 16:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423149056001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101312244083589120,"note":"Value kept but may cause issues"} 
[2026-07-01 16:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884053977816956928,"note":"Value kept but may cause issues"} 
[2026-07-01 16:19:35] 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-01 16:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782902940000,"timestamp_ms":1782902940000,"timestamp_seconds":1782902940,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d4be160"} 
[2026-07-01 16:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:19: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-01 16:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-01 16:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303161721015597,"note":"Value kept but may cause issues"} 
[2026-07-01 16:19:35] local.WARNING: Large IO value detected {"io_id":201,"raw_value":58079734643818509,"note":"Value kept but may cause issues"} 
[2026-07-01 16:19:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-01 16:19:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":768147662,"corrected_to":0} 
[2026-07-01 16:19:35] local.WARNING: Large IO value detected {"io_id":76,"raw_value":4026609019,"note":"Value kept but may cause issues"} 
[2026-07-01 16:19:35] local.WARNING: Large IO value detected {"io_id":105,"raw_value":2147871026,"note":"Value kept but may cause issues"} 
[2026-07-01 16:19:35] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3996057600,"note":"Value kept but may cause issues"} 
[2026-07-01 16:19:35] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3912534016,"note":"Value kept but may cause issues"} 
[2026-07-01 16:19:35] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,201,87,24,241,157,16,238,159,162,45,192,47,4,29,10,66,158,128,108,64,1,240,182,227,233,113,205,13,76,105,152,35,239,51,2,103,5,3],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":768147662,"validated":0}]} 
[2026-07-01 16:19:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288425114264666112,"timestamp_seconds":288425114264666.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 16:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":119902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":119902,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":119902,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423149056001,"66":12950,"201":206,"87":13824,"24":30,"16":101312244083589120,"45":8884053977816956928},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-01 16:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423149056001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:19:35] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-01 16:19:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 16:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101312244083589120,"km_value":101312244083589.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884053977816956928,"description":"Unknown IO ID 45"} 
[2026-07-01 16:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423149056001,"power":12950,"unknown_201":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8884053977816956928}} 
[2026-07-01 16:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":119902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417760,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:19:35] local.INFO: GPS data processed {"connection_id":119902,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:19:35] local.INFO: Acknowledgment sent {"connection_id":119902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:19:52] local.INFO: TCP Data received {"connection_id":119103,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119103,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:19:52] local.INFO: Processing buffer {"connection_id":119103,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:19:52] local.INFO: IMEI packet received {"connection_id":119103,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 16:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":119103,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:19:54] local.INFO: TCP Data received {"connection_id":119103,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119103,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:19:54] local.INFO: Processing buffer {"connection_id":119103,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:19:54] local.INFO: IMEI packet received {"connection_id":119103,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":119103,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:19:56] local.INFO: TCP Data received {"connection_id":119903,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d4aef30012cc1ec8007571cc8000f01392d..."} 
[2026-07-01 16:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d4aef30012cc1ec8007571cc8000f01392d..."} 
[2026-07-01 16:19:56] local.INFO: Processing buffer {"connection_id":119903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d4aef30012cc1ec8007571cc8000f01392d..."} 
[2026-07-01 16:19:56] local.INFO: Packet analysis {"connection_id":119903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d4a"} 
[2026-07-01 16:19:56] local.INFO: Extracted packet for processing {"connection_id":119903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d4a"} 
[2026-07-01 16:19:56] local.INFO: GPS Element Parsed {"raw_longitude":750906496,"raw_latitude":123149512,"longitude_deg":75.0906496,"latitude_deg":12.3149512,"altitude":15,"angle":313,"satellites":45,"speed":32,"hex_longitude":"2cc1ec80","hex_latitude":"07571cc8","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423133440001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333650647444357120,"note":"Value kept but may cause issues"} 
[2026-07-01 16:19:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4464967155292254208,"note":"Value kept but may cause issues"} 
[2026-07-01 16:19:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782902878000,"timestamp_ms":1782902878000,"timestamp_seconds":1782902878,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d4aef30"} 
[2026-07-01 16: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-01 16:19: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-01 16: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 16:19:56] 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-01 16: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-01 16: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-01 16:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":119903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":119903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":119903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:19:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:19:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423133440001,"66":27767,"103":206,"85":37120,"24":32,"16":333650647444357120,"44":-4464967155292254208},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-07-01 16:19:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:19:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:19:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423133440001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:19:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-01 16:19:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:19:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333650647444357120,"km_value":333650647444357.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:19:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4464967155292254208,"description":"Unknown IO ID 44"} 
[2026-07-01 16:19:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423133440001,"power":27767,"unknown_103":206,"unknown_85":37120,"ignition":32,"odometer":null,"unknown_44":-4464967155292254208}} 
[2026-07-01 16:19:56] local.INFO: DEBUG: GPS processor result {"connection_id":119903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:19:56] local.INFO: GPS data processed {"connection_id":119903,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:19:56] local.INFO: Acknowledgment sent {"connection_id":119903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:20:00] local.INFO: TCP Data received {"connection_id":119103,"ip":"42.106.6.39","data_length":812,"data_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019f1d..."} 
[2026-07-01 16:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119103,"packet_length":812,"packet_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019f1d..."} 
[2026-07-01 16:20:00] local.INFO: Processing buffer {"connection_id":119103,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019f1d..."} 
[2026-07-01 16:20:00] local.INFO: IMEI packet received {"connection_id":119103,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":119103,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:20:01] local.INFO: TCP Data received {"connection_id":119103,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d4c2b98012d7b558005e8c0f8000600ad21..."} 
[2026-07-01 16:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d4c2b98012d7b558005e8c0f8000600ad21..."} 
[2026-07-01 16:20:01] local.INFO: Processing buffer {"connection_id":119103,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f1d4c0c58012d7b51c005e8e4c8000700ad21..."} 
[2026-07-01 16:20:01] local.INFO: Packet analysis {"connection_id":119103,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f1d4c"} 
[2026-07-01 16:20:01] local.INFO: Extracted packet for processing {"connection_id":119103,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d4c"} 
[2026-07-01 16:20:01] local.INFO: GPS Element Parsed {"raw_longitude":763056576,"raw_latitude":99149000,"longitude_deg":76.3056576,"latitude_deg":9.9149,"altitude":7,"angle":173,"satellites":33,"speed":40,"hex_longitude":"2d7b51c0","hex_latitude":"05e8e4c8","is_valid_coordinates":true} 
[2026-07-01 16:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:20:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423152640001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:20:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101312716529991680,"note":"Value kept but may cause issues"} 
[2026-07-01 16:20:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884546559023939584,"note":"Value kept but may cause issues"} 
[2026-07-01 16:20:01] 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-01 16:20:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782902951000,"timestamp_ms":1782902951000,"timestamp_seconds":1782902951,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d4c0c58"} 
[2026-07-01 16:20:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:20:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-01 16:20:01] 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-01 16:20:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:20:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:20:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:20:01] local.INFO: Teltonika packet parsed successfully {"connection_id":119103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:20:01] local.INFO: Passing IMEI to GPS processor {"connection_id":119103,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:20:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":119103,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:20:01] 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-01 16:20:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:20:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:20:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423152640001,"66":13189,"201":206,"87":13824,"24":40,"16":101312716529991680,"45":8884546559023939584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-01 16:20:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:20:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:20:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423152640001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:20:01] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-01 16:20:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 16:20:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101312716529991680,"km_value":101312716529991.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:20:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884546559023939584,"description":"Unknown IO ID 45"} 
[2026-07-01 16:20:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423152640001,"power":13189,"unknown_201":206,"unknown_87":13824,"ignition":40,"odometer":null,"unknown_45":8884546559023939584}} 
[2026-07-01 16:20:01] local.INFO: DEBUG: GPS processor result {"connection_id":119103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417762,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:20:01] local.INFO: GPS data processed {"connection_id":119103,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:20:01] local.INFO: Acknowledgment sent {"connection_id":119103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:20:01] local.INFO: Packet analysis {"connection_id":119103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d4c"} 
[2026-07-01 16:20:01] local.INFO: Extracted packet for processing {"connection_id":119103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d4c"} 
[2026-07-01 16:20:01] local.INFO: GPS Element Parsed {"raw_longitude":763057536,"raw_latitude":99139832,"longitude_deg":76.3057536,"latitude_deg":9.9139832,"altitude":6,"angle":173,"satellites":33,"speed":48,"hex_longitude":"2d7b5580","hex_latitude":"05e8c0f8","is_valid_coordinates":true} 
[2026-07-01 16:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:20:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423155456001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:20:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101313163206590464,"note":"Value kept but may cause issues"} 
[2026-07-01 16:20:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886094671393376256,"note":"Value kept but may cause issues"} 
[2026-07-01 16:20:01] 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-01 16:20:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782902959000,"timestamp_ms":1782902959000,"timestamp_seconds":1782902959,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d4c2b98"} 
[2026-07-01 16:20:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:20:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-01 16:20:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:20:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:20:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:20:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:20:01] local.INFO: Teltonika packet parsed successfully {"connection_id":119103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:20:01] local.INFO: Passing IMEI to GPS processor {"connection_id":119103,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:20:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":119103,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:20:01] 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-01 16:20:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:20:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:20:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423155456001,"66":13178,"201":206,"87":13824,"24":48,"16":101313163206590464,"45":8886094671393376256},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-01 16:20:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:20:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:20:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423155456001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:20:01] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-01 16:20:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 16:20:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101313163206590464,"km_value":101313163206590.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:20:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886094671393376256,"description":"Unknown IO ID 45"} 
[2026-07-01 16:20:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423155456001,"power":13178,"unknown_201":206,"unknown_87":13824,"ignition":48,"odometer":null,"unknown_45":8886094671393376256}} 
[2026-07-01 16:20:01] local.INFO: DEBUG: GPS processor result {"connection_id":119103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417763,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:20:01] local.INFO: GPS data processed {"connection_id":119103,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:20:01] local.INFO: Acknowledgment sent {"connection_id":119103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:20:02] local.INFO: TCP Data received {"connection_id":119103,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d4c4ad8012d7b594005e89ba0000500b423..."} 
[2026-07-01 16:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d4c4ad8012d7b594005e89ba0000500b423..."} 
[2026-07-01 16:20:02] local.INFO: Processing buffer {"connection_id":119103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d4c4ad8012d7b594005e89ba0000500b423..."} 
[2026-07-01 16:20:02] local.INFO: Packet analysis {"connection_id":119103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d4c"} 
[2026-07-01 16:20:02] local.INFO: Extracted packet for processing {"connection_id":119103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d4c"} 
[2026-07-01 16:20:02] local.INFO: GPS Element Parsed {"raw_longitude":763058496,"raw_latitude":99130272,"longitude_deg":76.3058496,"latitude_deg":9.9130272,"altitude":5,"angle":180,"satellites":35,"speed":45,"hex_longitude":"2d7b5940","hex_latitude":"05e89ba0","is_valid_coordinates":true} 
[2026-07-01 16:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423157504001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101313631358025728,"note":"Value kept but may cause issues"} 
[2026-07-01 16:20:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887150202553694208,"note":"Value kept but may cause issues"} 
[2026-07-01 16:20:02] 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-01 16:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782902967000,"timestamp_ms":1782902967000,"timestamp_seconds":1782902967,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d4c4ad8"} 
[2026-07-01 16:20:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:20:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-01 16:20:02] 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-01 16:20:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:20:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":119103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":119103,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":119103,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:20:02] 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-01 16:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423157504001,"66":13102,"201":206,"87":13824,"24":45,"16":101313631358025728,"45":8887150202553694208},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-01 16:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423157504001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:20:02] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-01 16:20:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 16:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101313631358025728,"km_value":101313631358025.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:20:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887150202553694208,"description":"Unknown IO ID 45"} 
[2026-07-01 16:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423157504001,"power":13102,"unknown_201":206,"unknown_87":13824,"ignition":45,"odometer":null,"unknown_45":8887150202553694208}} 
[2026-07-01 16:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":119103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417764,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:20:02] local.INFO: GPS data processed {"connection_id":119103,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:20:02] local.INFO: Acknowledgment sent {"connection_id":119103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:20:20] local.INFO: TCP Data received {"connection_id":119227,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:20:20] local.INFO: Processing buffer {"connection_id":119227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:20:20] local.INFO: IMEI packet received {"connection_id":119227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 16:20:20] local.INFO: IMEI acknowledgment sent {"connection_id":119227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:20:25] local.INFO: TCP Data received {"connection_id":119227,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:20:25] local.INFO: Processing buffer {"connection_id":119227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:20:25] local.INFO: IMEI packet received {"connection_id":119227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:20:25] local.INFO: IMEI acknowledgment sent {"connection_id":119227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:20:26] local.INFO: TCP Data received {"connection_id":119227,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d4b06a0012cc1e3c0075726f0000f01472d..."} 
[2026-07-01 16:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d4b06a0012cc1e3c0075726f0000f01472d..."} 
[2026-07-01 16:20:26] local.INFO: Processing buffer {"connection_id":119227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d4b06a0012cc1e3c0075726f0000f01472d..."} 
[2026-07-01 16:20:26] local.INFO: Packet analysis {"connection_id":119227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d4b"} 
[2026-07-01 16:20:26] local.INFO: Extracted packet for processing {"connection_id":119227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d4b"} 
[2026-07-01 16:20:26] local.INFO: GPS Element Parsed {"raw_longitude":750904256,"raw_latitude":123152112,"longitude_deg":75.0904256,"latitude_deg":12.3152112,"altitude":15,"angle":327,"satellites":45,"speed":14,"hex_longitude":"2cc1e3c0","hex_latitude":"075726f0","is_valid_coordinates":true} 
[2026-07-01 16:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:20:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423136768001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:20:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333650814948081664,"note":"Value kept but may cause issues"} 
[2026-07-01 16:20:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4473059560871114752,"note":"Value kept but may cause issues"} 
[2026-07-01 16:20:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:20:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782902884000,"timestamp_ms":1782902884000,"timestamp_seconds":1782902884,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d4b06a0"} 
[2026-07-01 16:20:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:20: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-01 16:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 16:20:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:20:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:20:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:20:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:20:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:20:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:20:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:20:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:20:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:20:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:20:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423136768001,"66":27995,"103":206,"85":37120,"24":14,"16":333650814948081664,"44":-4473059560871114752},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-07-01 16:20:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:20:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:20:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423136768001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:20:26] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-01 16:20:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:20:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333650814948081664,"km_value":333650814948081.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:20:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4473059560871114752,"description":"Unknown IO ID 44"} 
[2026-07-01 16:20:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423136768001,"power":27995,"unknown_103":206,"unknown_85":37120,"ignition":14,"odometer":null,"unknown_44":-4473059560871114752}} 
[2026-07-01 16:20:26] local.INFO: DEBUG: GPS processor result {"connection_id":119227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:20:26] local.INFO: GPS data processed {"connection_id":119227,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:20:26] local.INFO: Acknowledgment sent {"connection_id":119227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:20:30] local.INFO: TCP Data received {"connection_id":119104,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 16:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119104,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 16:20:30] local.INFO: Processing buffer {"connection_id":119104,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 16:20:30] local.INFO: IMEI packet received {"connection_id":119104,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 16:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":119104,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:20:31] local.INFO: TCP Data received {"connection_id":119227,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d4b0a88012cc1e30007572850000f015d2c..."} 
[2026-07-01 16:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d4b0a88012cc1e30007572850000f015d2c..."} 
[2026-07-01 16:20:31] local.INFO: Processing buffer {"connection_id":119227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d4b0a88012cc1e30007572850000f015d2c..."} 
[2026-07-01 16:20:31] local.INFO: Packet analysis {"connection_id":119227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d4b"} 
[2026-07-01 16:20:31] local.INFO: Extracted packet for processing {"connection_id":119227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d4b"} 
[2026-07-01 16:20:31] local.INFO: GPS Element Parsed {"raw_longitude":750904064,"raw_latitude":123152464,"longitude_deg":75.0904064,"latitude_deg":12.3152464,"altitude":15,"angle":349,"satellites":44,"speed":15,"hex_longitude":"2cc1e300","hex_latitude":"07572850","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423138304001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333650832127950848,"note":"Value kept but may cause issues"} 
[2026-07-01 16:20:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4475522466916667392,"note":"Value kept but may cause issues"} 
[2026-07-01 16:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782902885000,"timestamp_ms":1782902885000,"timestamp_seconds":1782902885,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d4b0a88"} 
[2026-07-01 16: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-01 16:20:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-01 16:20:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16: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-01 16: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-01 16:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423138304001,"66":27463,"103":206,"85":37120,"24":15,"16":333650832127950848,"44":-4475522466916667392},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-07-01 16:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423138304001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:20:31] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-01 16:20:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333650832127950848,"km_value":333650832127950.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:20:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4475522466916667392,"description":"Unknown IO ID 44"} 
[2026-07-01 16:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423138304001,"power":27463,"unknown_103":206,"unknown_85":37120,"ignition":15,"odometer":null,"unknown_44":-4475522466916667392}} 
[2026-07-01 16:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":119227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:20:31] local.INFO: GPS data processed {"connection_id":119227,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:20:31] local.INFO: Acknowledgment sent {"connection_id":119227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:20:35] local.INFO: TCP Data received {"connection_id":119103,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d4c79b8012d7b594005e87900000600b025..."} 
[2026-07-01 16:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d4c79b8012d7b594005e87900000600b025..."} 
[2026-07-01 16:20:35] local.INFO: Processing buffer {"connection_id":119103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d4c79b8012d7b594005e87900000600b025..."} 
[2026-07-01 16:20:35] local.INFO: Packet analysis {"connection_id":119103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d4c"} 
[2026-07-01 16:20:35] local.INFO: Extracted packet for processing {"connection_id":119103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d4c"} 
[2026-07-01 16:20:35] local.INFO: GPS Element Parsed {"raw_longitude":763058496,"raw_latitude":99121408,"longitude_deg":76.3058496,"latitude_deg":9.9121408,"altitude":6,"angle":176,"satellites":37,"speed":30,"hex_longitude":"2d7b5940","hex_latitude":"05e87900","is_valid_coordinates":true} 
[2026-07-01 16:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:20:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423159552001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:20:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101314060854755328,"note":"Value kept but may cause issues"} 
[2026-07-01 16:20:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888205733713911808,"note":"Value kept but may cause issues"} 
[2026-07-01 16:20:35] 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-01 16:20:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782902979000,"timestamp_ms":1782902979000,"timestamp_seconds":1782902979,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d4c79b8"} 
[2026-07-01 16:20:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:20: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-01 16:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-07-01 16:20: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-01 16:20:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:20:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:20:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:20:35] local.INFO: Teltonika packet parsed successfully {"connection_id":119103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:20:35] local.INFO: Passing IMEI to GPS processor {"connection_id":119103,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:20:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":119103,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:20: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-01 16:20:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:20:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:20:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423159552001,"66":13189,"201":206,"87":13824,"24":30,"16":101314060854755328,"45":8888205733713911808},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-01 16:20:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:20:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:20:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423159552001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:20:35] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-01 16:20:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 16:20:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101314060854755328,"km_value":101314060854755.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:20:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888205733713911808,"description":"Unknown IO ID 45"} 
[2026-07-01 16:20:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423159552001,"power":13189,"unknown_201":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8888205733713911808}} 
[2026-07-01 16:20:35] local.INFO: DEBUG: GPS processor result {"connection_id":119103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417767,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:20:35] local.INFO: GPS data processed {"connection_id":119103,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:20:35] local.INFO: Acknowledgment sent {"connection_id":119103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:20:52] local.INFO: TCP Data received {"connection_id":119904,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119904,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:20:52] local.INFO: Processing buffer {"connection_id":119904,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:20:52] local.INFO: IMEI packet received {"connection_id":119904,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 16:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":119904,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:20:57] local.INFO: TCP Data received {"connection_id":119904,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119904,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:20:57] local.INFO: Processing buffer {"connection_id":119904,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:20:57] local.INFO: IMEI packet received {"connection_id":119904,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":119904,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:20:57] local.INFO: TCP Data received {"connection_id":119904,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d4ca4b0012d7b5d0005e853f8000700ac25..."} 
[2026-07-01 16:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d4ca4b0012d7b5d0005e853f8000700ac25..."} 
[2026-07-01 16:20:57] local.INFO: Processing buffer {"connection_id":119904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d4ca4b0012d7b5d0005e853f8000700ac25..."} 
[2026-07-01 16:20:57] local.INFO: Packet analysis {"connection_id":119904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d4c"} 
[2026-07-01 16:20:57] local.INFO: Extracted packet for processing {"connection_id":119904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d4c"} 
[2026-07-01 16:20:57] local.INFO: GPS Element Parsed {"raw_longitude":763059456,"raw_latitude":99111928,"longitude_deg":76.3059456,"latitude_deg":9.9111928,"altitude":7,"angle":172,"satellites":37,"speed":28,"hex_longitude":"2d7b5d00","hex_latitude":"05e853f8","is_valid_coordinates":true} 
[2026-07-01 16:20:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:20:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423162624001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:20:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101314524711223296,"note":"Value kept but may cause issues"} 
[2026-07-01 16:20:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888205733711642624,"note":"Value kept but may cause issues"} 
[2026-07-01 16:20:57] 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-01 16:20:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782902990000,"timestamp_ms":1782902990000,"timestamp_seconds":1782902990,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d4ca4b0"} 
[2026-07-01 16:20:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:20: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-01 16:20:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-01 16:20:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:20:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:20:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:20:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:20:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:20:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:20:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:20: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-01 16:20:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:20:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:20:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423162624001,"66":12917,"201":206,"87":13824,"24":28,"16":101314524711223296,"45":8888205733711642624},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-01 16:20:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:20:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:20:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423162624001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:20:57] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-01 16:20:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 16:20:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101314524711223296,"km_value":101314524711223.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:20:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888205733711642624,"description":"Unknown IO ID 45"} 
[2026-07-01 16:20:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423162624001,"power":12917,"unknown_201":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8888205733711642624}} 
[2026-07-01 16:20:57] local.INFO: DEBUG: GPS processor result {"connection_id":119904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417768,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:20:57] local.INFO: GPS data processed {"connection_id":119904,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:20:57] local.INFO: Acknowledgment sent {"connection_id":119904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:21:02] local.INFO: TCP Data received {"connection_id":119227,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d4b0e70012cc1e300075729a8000f00002e..."} 
[2026-07-01 16:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d4b0e70012cc1e300075729a8000f00002e..."} 
[2026-07-01 16:21:02] local.INFO: Processing buffer {"connection_id":119227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d4b0e70012cc1e300075729a8000f00002e..."} 
[2026-07-01 16:21:02] local.INFO: Packet analysis {"connection_id":119227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d4b"} 
[2026-07-01 16:21:02] local.INFO: Extracted packet for processing {"connection_id":119227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d4b"} 
[2026-07-01 16:21:02] local.INFO: GPS Element Parsed {"raw_longitude":750904064,"raw_latitude":123152808,"longitude_deg":75.0904064,"latitude_deg":12.3152808,"altitude":15,"angle":0,"satellites":46,"speed":12,"hex_longitude":"2cc1e300","hex_latitude":"075729a8","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423138560001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333650849307820032,"note":"Value kept but may cause issues"} 
[2026-07-01 16:21:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4475733573149110272,"note":"Value kept but may cause issues"} 
[2026-07-01 16:21:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782902886000,"timestamp_ms":1782902886000,"timestamp_seconds":1782902886,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d4b0e70"} 
[2026-07-01 16: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-01 16:21:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-01 16:21:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16: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-01 16: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-01 16:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":119227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":119227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":119227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:21:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423138560001,"66":27463,"103":206,"85":37120,"24":12,"16":333650849307820032,"44":-4475733573149110272},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-07-01 16:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423138560001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:21:02] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-01 16:21:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333650849307820032,"km_value":333650849307820.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:21:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4475733573149110272,"description":"Unknown IO ID 44"} 
[2026-07-01 16:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423138560001,"power":27463,"unknown_103":206,"unknown_85":37120,"ignition":12,"odometer":null,"unknown_44":-4475733573149110272}} 
[2026-07-01 16:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":119227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:21:02] local.INFO: GPS data processed {"connection_id":119227,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:21:02] local.INFO: Acknowledgment sent {"connection_id":119227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:21:15] local.INFO: TCP Data received {"connection_id":119905,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 16:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119905,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 16:21:15] local.INFO: Processing buffer {"connection_id":119905,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 16:21:15] local.INFO: IMEI packet received {"connection_id":119905,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 16:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":119905,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:21:20] local.INFO: TCP Data received {"connection_id":120988,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:21:20] local.INFO: Processing buffer {"connection_id":120988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:21:20] local.INFO: IMEI packet received {"connection_id":120988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 16:21:20] local.INFO: IMEI acknowledgment sent {"connection_id":120988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:21:25] local.INFO: TCP Data received {"connection_id":120988,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:21:25] local.INFO: Processing buffer {"connection_id":120988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:21:25] local.INFO: IMEI packet received {"connection_id":120988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":120988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:21:26] local.INFO: TCP Data received {"connection_id":120988,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d4b1640012cc1e28007572b60000f01552d..."} 
[2026-07-01 16:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d4b1640012cc1e28007572b60000f01552d..."} 
[2026-07-01 16:21:26] local.INFO: Processing buffer {"connection_id":120988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d4b1640012cc1e28007572b60000f01552d..."} 
[2026-07-01 16:21:26] local.INFO: Packet analysis {"connection_id":120988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d4b"} 
[2026-07-01 16:21:26] local.INFO: Extracted packet for processing {"connection_id":120988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d4b"} 
[2026-07-01 16:21:26] local.INFO: GPS Element Parsed {"raw_longitude":750903936,"raw_latitude":123153248,"longitude_deg":75.0903936,"latitude_deg":12.3153248,"altitude":15,"angle":341,"satellites":45,"speed":7,"hex_longitude":"2cc1e280","hex_latitude":"07572b60","is_valid_coordinates":true} 
[2026-07-01 16:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423138816001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333650870782656512,"note":"Value kept but may cause issues"} 
[2026-07-01 16:21:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4475733573149022208,"note":"Value kept but may cause issues"} 
[2026-07-01 16:21:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782902888000,"timestamp_ms":1782902888000,"timestamp_seconds":1782902888,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d4b1640"} 
[2026-07-01 16:21:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:21: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-01 16:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-01 16:21:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:21:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:21:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":120988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":120988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":120988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:21:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423138816001,"66":27930,"103":206,"85":37120,"24":7,"16":333650870782656512,"44":-4475733573149022208},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-07-01 16:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423138816001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:21:26] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-01 16:21:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333650870782656512,"km_value":333650870782656.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:21:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4475733573149022208,"description":"Unknown IO ID 44"} 
[2026-07-01 16:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423138816001,"power":27930,"unknown_103":206,"unknown_85":37120,"ignition":7,"odometer":null,"unknown_44":-4475733573149022208}} 
[2026-07-01 16:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":120988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:21:26] local.INFO: GPS data processed {"connection_id":120988,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:21:26] local.INFO: Acknowledgment sent {"connection_id":120988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:21:29] local.INFO: TCP Data received {"connection_id":119904,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d4cb068012d7b5d0005e84d80000600bc24..."} 
[2026-07-01 16:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d4cb068012d7b5d0005e84d80000600bc24..."} 
[2026-07-01 16:21:29] local.INFO: Processing buffer {"connection_id":119904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d4cb068012d7b5d0005e84d80000600bc24..."} 
[2026-07-01 16:21:29] local.INFO: Packet analysis {"connection_id":119904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d4c"} 
[2026-07-01 16:21:29] local.INFO: Extracted packet for processing {"connection_id":119904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d4c"} 
[2026-07-01 16:21:29] local.INFO: GPS Element Parsed {"raw_longitude":763059456,"raw_latitude":99110272,"longitude_deg":76.3059456,"latitude_deg":9.9110272,"altitude":6,"angle":188,"satellites":36,"speed":21,"hex_longitude":"2d7b5d00","hex_latitude":"05e84d80","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:21:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423165440001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:21:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101314602020634624,"note":"Value kept but may cause issues"} 
[2026-07-01 16:21:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889261264871880704,"note":"Value kept but may cause issues"} 
[2026-07-01 16:21:29] 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-01 16:21:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782902993000,"timestamp_ms":1782902993000,"timestamp_seconds":1782902993,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d4cb068"} 
[2026-07-01 16: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-01 16:21: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-01 16: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-01 16:21: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-01 16: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-01 16: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-01 16:21:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:21:29] local.INFO: Teltonika packet parsed successfully {"connection_id":119904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:21:29] local.INFO: Passing IMEI to GPS processor {"connection_id":119904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:21:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":119904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16: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-01 16:21:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:21:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:21:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423165440001,"66":13178,"201":206,"87":13824,"24":21,"16":101314602020634624,"45":8889261264871880704},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-01 16:21:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:21:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:21:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423165440001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:21:29] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-01 16:21:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 16:21:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101314602020634624,"km_value":101314602020634.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:21:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889261264871880704,"description":"Unknown IO ID 45"} 
[2026-07-01 16:21:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423165440001,"power":13178,"unknown_201":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8889261264871880704}} 
[2026-07-01 16:21:29] local.INFO: DEBUG: GPS processor result {"connection_id":119904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417771,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:21:29] local.INFO: GPS data processed {"connection_id":119904,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:21:29] local.INFO: Acknowledgment sent {"connection_id":119904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:21:52] local.INFO: TCP Data received {"connection_id":119105,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119105,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:21:52] local.INFO: Processing buffer {"connection_id":119105,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:21:52] local.INFO: IMEI packet received {"connection_id":119105,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 16:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":119105,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:21:55] local.INFO: TCP Data received {"connection_id":119105,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119105,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:21:55] local.INFO: Processing buffer {"connection_id":119105,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:21:55] local.INFO: IMEI packet received {"connection_id":119105,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":119105,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:21:56] local.INFO: TCP Data received {"connection_id":119105,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d4cdf48012d7b588005e829a8000500b323..."} 
[2026-07-01 16:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d4cdf48012d7b588005e829a8000500b323..."} 
[2026-07-01 16:21:56] local.INFO: Processing buffer {"connection_id":119105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d4cdf48012d7b588005e829a8000500b323..."} 
[2026-07-01 16:21:56] local.INFO: Packet analysis {"connection_id":119105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d4c"} 
[2026-07-01 16:21:56] local.INFO: Extracted packet for processing {"connection_id":119105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d4c"} 
[2026-07-01 16:21:56] local.INFO: GPS Element Parsed {"raw_longitude":763058304,"raw_latitude":99101096,"longitude_deg":76.3058304,"latitude_deg":9.9101096,"altitude":5,"angle":179,"satellites":35,"speed":35,"hex_longitude":"2d7b5880","hex_latitude":"05e829a8","is_valid_coordinates":true} 
[2026-07-01 16:21:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423166208001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101315052992200704,"note":"Value kept but may cause issues"} 
[2026-07-01 16:21:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889261264871456768,"note":"Value kept but may cause issues"} 
[2026-07-01 16:21:56] 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-01 16:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782903005000,"timestamp_ms":1782903005000,"timestamp_seconds":1782903005,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d4cdf48"} 
[2026-07-01 16:21:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:21: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-01 16:21:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-07-01 16:21:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:21:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:21:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":119105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":119105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":119105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:21:56] 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-01 16:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423166208001,"66":13091,"201":206,"87":13824,"24":35,"16":101315052992200704,"45":8889261264871456768},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-01 16:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423166208001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:21:56] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-01 16:21:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 16:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101315052992200704,"km_value":101315052992200.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:21:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889261264871456768,"description":"Unknown IO ID 45"} 
[2026-07-01 16:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423166208001,"power":13091,"unknown_201":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8889261264871456768}} 
[2026-07-01 16:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":119105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417772,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:21:56] local.INFO: GPS data processed {"connection_id":119105,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:21:56] local.INFO: Acknowledgment sent {"connection_id":119105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:21:57] local.INFO: TCP Data received {"connection_id":120988,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d4b1a28012cc1e24007572bf0000f013f2f..."} 
[2026-07-01 16:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d4b1a28012cc1e24007572bf0000f013f2f..."} 
[2026-07-01 16:21:57] local.INFO: Processing buffer {"connection_id":120988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d4b1a28012cc1e24007572bf0000f013f2f..."} 
[2026-07-01 16:21:57] local.INFO: Packet analysis {"connection_id":120988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d4b"} 
[2026-07-01 16:21:57] local.INFO: Extracted packet for processing {"connection_id":120988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d4b"} 
[2026-07-01 16:21:57] local.INFO: GPS Element Parsed {"raw_longitude":750903872,"raw_latitude":123153392,"longitude_deg":75.0903872,"latitude_deg":12.3153392,"altitude":15,"angle":319,"satellites":47,"speed":5,"hex_longitude":"2cc1e240","hex_latitude":"07572bf0","is_valid_coordinates":true} 
[2026-07-01 16:21:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:21:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423139328001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:21:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333650879372591104,"note":"Value kept but may cause issues"} 
[2026-07-01 16:21:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4475874310637264896,"note":"Value kept but may cause issues"} 
[2026-07-01 16:21:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:21:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782902889000,"timestamp_ms":1782902889000,"timestamp_seconds":1782902889,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d4b1a28"} 
[2026-07-01 16:21:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:21:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:21:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-01 16:21:57] 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-01 16:21:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:21:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:21:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:21:57] local.INFO: Teltonika packet parsed successfully {"connection_id":120988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:21:57] local.INFO: Passing IMEI to GPS processor {"connection_id":120988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:21:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":120988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:21:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:21:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:21:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:21:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423139328001,"66":27767,"103":206,"85":37120,"24":5,"16":333650879372591104,"44":-4475874310637264896},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-07-01 16:21:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:21:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:21:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423139328001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:21:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-01 16:21:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:21:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333650879372591104,"km_value":333650879372591.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:21:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4475874310637264896,"description":"Unknown IO ID 44"} 
[2026-07-01 16:21:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423139328001,"power":27767,"unknown_103":206,"unknown_85":37120,"ignition":5,"odometer":null,"unknown_44":-4475874310637264896}} 
[2026-07-01 16:21:57] local.INFO: DEBUG: GPS processor result {"connection_id":120988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:21:57] local.INFO: GPS data processed {"connection_id":120988,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:21:57] local.INFO: Acknowledgment sent {"connection_id":120988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:22:20] local.INFO: TCP Data received {"connection_id":119107,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:22:20] local.INFO: Processing buffer {"connection_id":119107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:22:20] local.INFO: IMEI packet received {"connection_id":119107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 16:22:20] local.INFO: IMEI acknowledgment sent {"connection_id":119107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:22:25] local.INFO: TCP Data received {"connection_id":119107,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:22:25] local.INFO: Processing buffer {"connection_id":119107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:22:25] local.INFO: IMEI packet received {"connection_id":119107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":119107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:22:26] local.INFO: TCP Data received {"connection_id":119107,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d4b4908012cc1df0007572dc8000f01332e..."} 
[2026-07-01 16:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d4b4908012cc1df0007572dc8000f01332e..."} 
[2026-07-01 16:22:26] local.INFO: Processing buffer {"connection_id":119107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d4b4908012cc1df0007572dc8000f01332e..."} 
[2026-07-01 16:22:26] local.INFO: Packet analysis {"connection_id":119107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d4b"} 
[2026-07-01 16:22:26] local.INFO: Extracted packet for processing {"connection_id":119107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d4b"} 
[2026-07-01 16:22:26] local.INFO: GPS Element Parsed {"raw_longitude":750903040,"raw_latitude":123153864,"longitude_deg":75.090304,"latitude_deg":12.3153864,"altitude":15,"angle":307,"satellites":46,"speed":6,"hex_longitude":"2cc1df00","hex_latitude":"07572dc8","is_valid_coordinates":true} 
[2026-07-01 16:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:22:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423139584001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:22:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333650926617231360,"note":"Value kept but may cause issues"} 
[2026-07-01 16:22:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4475944679381405696,"note":"Value kept but may cause issues"} 
[2026-07-01 16:22:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:22:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782902901000,"timestamp_ms":1782902901000,"timestamp_seconds":1782902901,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d4b4908"} 
[2026-07-01 16:22:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:22:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 16:22:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:22:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:22:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:22:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:22:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:22:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:22:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:22:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:22:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:22:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:22:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423139584001,"66":28017,"103":206,"85":37120,"24":6,"16":333650926617231360,"44":-4475944679381405696},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-07-01 16:22:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:22:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:22:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423139584001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:22:26] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-01 16:22:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:22:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333650926617231360,"km_value":333650926617231.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:22:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4475944679381405696,"description":"Unknown IO ID 44"} 
[2026-07-01 16:22:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423139584001,"power":28017,"unknown_103":206,"unknown_85":37120,"ignition":6,"odometer":null,"unknown_44":-4475944679381405696}} 
[2026-07-01 16:22:26] local.INFO: DEBUG: GPS processor result {"connection_id":119107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:22:26] local.INFO: GPS data processed {"connection_id":119107,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:22:26] local.INFO: Acknowledgment sent {"connection_id":119107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:22:27] local.INFO: TCP Data received {"connection_id":119105,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d4cf6b8012d7b5ac005e81340000600a823..."} 
[2026-07-01 16:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d4cf6b8012d7b5ac005e81340000600a823..."} 
[2026-07-01 16:22:27] local.INFO: Processing buffer {"connection_id":119105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d4cf6b8012d7b5ac005e81340000600a823..."} 
[2026-07-01 16:22:27] local.INFO: Packet analysis {"connection_id":119105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d4c"} 
[2026-07-01 16:22:27] local.INFO: Extracted packet for processing {"connection_id":119105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d4c"} 
[2026-07-01 16:22:27] local.INFO: GPS Element Parsed {"raw_longitude":763058880,"raw_latitude":99095360,"longitude_deg":76.305888,"latitude_deg":9.909536,"altitude":6,"angle":168,"satellites":35,"speed":40,"hex_longitude":"2d7b5ac0","hex_latitude":"05e81340","is_valid_coordinates":true} 
[2026-07-01 16:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423169280001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101315332165074944,"note":"Value kept but may cause issues"} 
[2026-07-01 16:22:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887994627473909760,"note":"Value kept but may cause issues"} 
[2026-07-01 16:22: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-01 16:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782903011000,"timestamp_ms":1782903011000,"timestamp_seconds":1782903011,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d4cf6b8"} 
[2026-07-01 16:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:22:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-01 16:22:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:22:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:22:27] 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-01 16:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423169280001,"66":12982,"201":206,"87":13824,"24":40,"16":101315332165074944,"45":8887994627473909760},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-07-01 16:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423169280001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:22:27] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-07-01 16:22:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 16:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101315332165074944,"km_value":101315332165074.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:22:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887994627473909760,"description":"Unknown IO ID 45"} 
[2026-07-01 16:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423169280001,"power":12982,"unknown_201":206,"unknown_87":13824,"ignition":40,"odometer":null,"unknown_45":8887994627473909760}} 
[2026-07-01 16:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":119105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417775,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:22:27] local.INFO: GPS data processed {"connection_id":119105,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:22:27] local.INFO: Acknowledgment sent {"connection_id":119105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:22:52] local.INFO: TCP Data received {"connection_id":119109,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119109,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:22:52] local.INFO: Processing buffer {"connection_id":119109,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:22:52] local.INFO: IMEI packet received {"connection_id":119109,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 16:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":119109,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:22:57] local.INFO: TCP Data received {"connection_id":119109,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119109,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:22:57] local.INFO: Processing buffer {"connection_id":119109,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:22:57] local.INFO: IMEI packet received {"connection_id":119109,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":119109,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:22:57] local.INFO: TCP Data received {"connection_id":119107,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d4b9b10012cc1dc0007572d80001101332e..."} 
[2026-07-01 16:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d4b9b10012cc1dc0007572d80001101332e..."} 
[2026-07-01 16:22:57] local.INFO: Processing buffer {"connection_id":119107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d4b9b10012cc1dc0007572d80001101332e..."} 
[2026-07-01 16:22:57] local.INFO: Packet analysis {"connection_id":119107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d4b"} 
[2026-07-01 16:22:57] local.INFO: Extracted packet for processing {"connection_id":119107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d4b"} 
[2026-07-01 16:22:57] local.INFO: GPS Element Parsed {"raw_longitude":750902272,"raw_latitude":123153792,"longitude_deg":75.0902272,"latitude_deg":12.3153792,"altitude":17,"angle":307,"satellites":46,"speed":2,"hex_longitude":"2cc1dc00","hex_latitude":"07572d80","is_valid_coordinates":true} 
[2026-07-01 16:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423142656001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:22:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333650986746773504,"note":"Value kept but may cause issues"} 
[2026-07-01 16:22:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4476859473055594496,"note":"Value kept but may cause issues"} 
[2026-07-01 16:22:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:22:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782902922000,"timestamp_ms":1782902922000,"timestamp_seconds":1782902922,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d4b9b10"} 
[2026-07-01 16:22:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:22:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-07-01 16:22:57] 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-01 16:22: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-01 16:22:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:22:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:22:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:22:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:22:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:22:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:22:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:22:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:22:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423142656001,"66":27821,"103":206,"85":37120,"24":2,"16":333650986746773504,"44":-4476859473055594496},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-07-01 16:22:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:22:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:22:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423142656001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:22:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-01 16:22:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:22:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333650986746773504,"km_value":333650986746773.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:22:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4476859473055594496,"description":"Unknown IO ID 44"} 
[2026-07-01 16:22:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423142656001,"power":27821,"unknown_103":206,"unknown_85":37120,"ignition":2,"odometer":null,"unknown_44":-4476859473055594496}} 
[2026-07-01 16:22:57] local.INFO: DEBUG: GPS processor result {"connection_id":119107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:22:57] local.INFO: GPS data processed {"connection_id":119107,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:22:57] local.INFO: Acknowledgment sent {"connection_id":119107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:22:58] local.INFO: TCP Data received {"connection_id":119109,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d4f09f8012d7b770005e73620000800b623..."} 
[2026-07-01 16:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d4f09f8012d7b770005e73620000800b623..."} 
[2026-07-01 16:22:58] local.INFO: Processing buffer {"connection_id":119109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d4f09f8012d7b770005e73620000800b623..."} 
[2026-07-01 16:22:58] local.INFO: Packet analysis {"connection_id":119109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d4f"} 
[2026-07-01 16:22:58] local.INFO: Extracted packet for processing {"connection_id":119109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d4f"} 
[2026-07-01 16:22:58] local.INFO: GPS Element Parsed {"raw_longitude":763066112,"raw_latitude":99038752,"longitude_deg":76.3066112,"latitude_deg":9.9038752,"altitude":8,"angle":182,"satellites":35,"speed":3,"hex_longitude":"2d7b7700","hex_latitude":"05e73620","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423200512001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101318132483751936,"note":"Value kept but may cause issues"} 
[2026-07-01 16:22:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896368508015296512,"note":"Value kept but may cause issues"} 
[2026-07-01 16:22:58] 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-01 16:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782903147000,"timestamp_ms":1782903147000,"timestamp_seconds":1782903147,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d4f09f8"} 
[2026-07-01 16: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-01 16:22:58] 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-01 16:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-01 16:22:58] 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-01 16: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-01 16: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-01 16:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:22: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-01 16:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423200512001,"66":13015,"96":206,"87":13824,"24":3,"16":101318132483751936,"45":8896368508015296512},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-01 16:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:22:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:22:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423200512001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:22:58] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-01 16:22:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 16:22:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101318132483751936,"km_value":101318132483751.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:22:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896368508015296512,"description":"Unknown IO ID 45"} 
[2026-07-01 16:22:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423200512001,"power":13015,"unknown_96":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8896368508015296512}} 
[2026-07-01 16:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":119109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417777,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:22:58] local.INFO: GPS data processed {"connection_id":119109,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:22:58] local.INFO: Acknowledgment sent {"connection_id":119109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:23:25] local.INFO: TCP Data received {"connection_id":119906,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:23:25] local.INFO: Processing buffer {"connection_id":119906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:23:25] local.INFO: IMEI packet received {"connection_id":119906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 16:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":119906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:23:29] local.INFO: TCP Data received {"connection_id":119109,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d4f15b0012d7b774005e73368000800aa23..."} 
[2026-07-01 16:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d4f15b0012d7b774005e73368000800aa23..."} 
[2026-07-01 16:23:29] local.INFO: Processing buffer {"connection_id":119109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d4f15b0012d7b774005e73368000800aa23..."} 
[2026-07-01 16:23:29] local.INFO: Packet analysis {"connection_id":119109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d4f"} 
[2026-07-01 16:23:29] local.INFO: Extracted packet for processing {"connection_id":119109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d4f"} 
[2026-07-01 16:23:29] local.INFO: GPS Element Parsed {"raw_longitude":763066176,"raw_latitude":99038056,"longitude_deg":76.3066176,"latitude_deg":9.9038056,"altitude":8,"angle":170,"satellites":35,"speed":13,"hex_longitude":"2d7b7740","hex_latitude":"05e73368","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423205632001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:23:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101318166843490304,"note":"Value kept but may cause issues"} 
[2026-07-01 16:23:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896579614247624704,"note":"Value kept but may cause issues"} 
[2026-07-01 16:23:29] 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-01 16:23:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782903150000,"timestamp_ms":1782903150000,"timestamp_seconds":1782903150,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d4f15b0"} 
[2026-07-01 16:23:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:23: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-01 16:23:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-01 16:23: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-01 16:23:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:23:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:23:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:23:29] local.INFO: Teltonika packet parsed successfully {"connection_id":119109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:23:29] local.INFO: Passing IMEI to GPS processor {"connection_id":119109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:23:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":119109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:23: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-01 16:23:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:23:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:23:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423205632001,"66":13102,"96":206,"87":13824,"24":13,"16":101318166843490304,"45":8896579614247624704},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-01 16:23:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423205632001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:23:29] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-01 16:23:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 16:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101318166843490304,"km_value":101318166843490.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:23:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896579614247624704,"description":"Unknown IO ID 45"} 
[2026-07-01 16:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423205632001,"power":13102,"unknown_96":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8896579614247624704}} 
[2026-07-01 16:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":119109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417778,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:23:29] local.INFO: GPS data processed {"connection_id":119109,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:23:29] local.INFO: Acknowledgment sent {"connection_id":119109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:23:30] local.INFO: TCP Data received {"connection_id":119906,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:23:30] local.INFO: Processing buffer {"connection_id":119906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:23:30] local.INFO: IMEI packet received {"connection_id":119906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":119906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:23:31] local.INFO: TCP Data received {"connection_id":119906,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d4baab0012cc1dc8007572b600011008a2e..."} 
[2026-07-01 16:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d4baab0012cc1dc8007572b600011008a2e..."} 
[2026-07-01 16:23:31] local.INFO: Processing buffer {"connection_id":119906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d4baab0012cc1dc8007572b600011008a2e..."} 
[2026-07-01 16:23:31] local.INFO: Packet analysis {"connection_id":119906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d4b"} 
[2026-07-01 16:23:31] local.INFO: Extracted packet for processing {"connection_id":119906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d4b"} 
[2026-07-01 16:23:31] local.INFO: GPS Element Parsed {"raw_longitude":750902400,"raw_latitude":123153248,"longitude_deg":75.09024,"latitude_deg":12.3153248,"altitude":17,"angle":138,"satellites":46,"speed":5,"hex_longitude":"2cc1dc80","hex_latitude":"07572b60","is_valid_coordinates":true} 
[2026-07-01 16:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423148032001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333651012516577280,"note":"Value kept but may cause issues"} 
[2026-07-01 16:23:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477703897985744896,"note":"Value kept but may cause issues"} 
[2026-07-01 16:23:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782902926000,"timestamp_ms":1782902926000,"timestamp_seconds":1782902926,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d4baab0"} 
[2026-07-01 16:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:23:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 16:23:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:23:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:23:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423148032001,"66":27745,"103":206,"85":37120,"24":5,"16":333651012516577280,"44":-4477703897985744896},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-07-01 16:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423148032001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:23:31] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-01 16:23:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333651012516577280,"km_value":333651012516577.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:23:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477703897985744896,"description":"Unknown IO ID 44"} 
[2026-07-01 16:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423148032001,"power":27745,"unknown_103":206,"unknown_85":37120,"ignition":5,"odometer":null,"unknown_44":-4477703897985744896}} 
[2026-07-01 16:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":119906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:23:31] local.INFO: GPS data processed {"connection_id":119906,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:23:31] local.INFO: Acknowledgment sent {"connection_id":119906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:23:36] local.INFO: TCP Data received {"connection_id":119906,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d4bfcb8012cc1db00075729200019008a2c..."} 
[2026-07-01 16:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d4bfcb8012cc1db00075729200019008a2c..."} 
[2026-07-01 16:23:36] local.INFO: Processing buffer {"connection_id":119906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d4bfcb8012cc1db00075729200019008a2c..."} 
[2026-07-01 16:23:36] local.INFO: Packet analysis {"connection_id":119906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d4b"} 
[2026-07-01 16:23:36] local.INFO: Extracted packet for processing {"connection_id":119906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d4b"} 
[2026-07-01 16:23:36] local.INFO: GPS Element Parsed {"raw_longitude":750902016,"raw_latitude":123152672,"longitude_deg":75.0902016,"latitude_deg":12.3152672,"altitude":25,"angle":138,"satellites":44,"speed":2,"hex_longitude":"2cc1db00","hex_latitude":"07572920","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423149056001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333651098415923200,"note":"Value kept but may cause issues"} 
[2026-07-01 16:23:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477563160497528832,"note":"Value kept but may cause issues"} 
[2026-07-01 16:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782902947000,"timestamp_ms":1782902947000,"timestamp_seconds":1782902947,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d4bfcb8"} 
[2026-07-01 16: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-01 16:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 16:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16: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-01 16: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-01 16:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":119906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":119906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":119906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:23:36] 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-01 16:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423149056001,"66":27930,"103":206,"85":37120,"24":2,"16":333651098415923200,"44":-4477563160497528832},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-07-01 16:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423149056001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:23:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-01 16:23:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333651098415923200,"km_value":333651098415923.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:23:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477563160497528832,"description":"Unknown IO ID 44"} 
[2026-07-01 16:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423149056001,"power":27930,"unknown_103":206,"unknown_85":37120,"ignition":2,"odometer":null,"unknown_44":-4477563160497528832}} 
[2026-07-01 16:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":119906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:23:36] local.INFO: GPS data processed {"connection_id":119906,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:23:36] local.INFO: Acknowledgment sent {"connection_id":119906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:23:51] local.INFO: TCP Data received {"connection_id":120989,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120989,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:23:51] local.INFO: Processing buffer {"connection_id":120989,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:23:51] local.INFO: IMEI packet received {"connection_id":120989,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 16:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":120989,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:23:55] local.INFO: TCP Data received {"connection_id":120989,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120989,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:23:55] local.INFO: Processing buffer {"connection_id":120989,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:23:55] local.INFO: IMEI packet received {"connection_id":120989,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":120989,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:23:56] local.INFO: TCP Data received {"connection_id":120989,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d502ef0012d7ba94005e669480003009722..."} 
[2026-07-01 16:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d502ef0012d7ba94005e669480003009722..."} 
[2026-07-01 16:23:56] local.INFO: Processing buffer {"connection_id":120989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d502ef0012d7ba94005e669480003009722..."} 
[2026-07-01 16:23:56] local.INFO: Packet analysis {"connection_id":120989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d50"} 
[2026-07-01 16:23:56] local.INFO: Extracted packet for processing {"connection_id":120989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d50"} 
[2026-07-01 16:23:56] local.INFO: GPS Element Parsed {"raw_longitude":763078976,"raw_latitude":98986312,"longitude_deg":76.3078976,"latitude_deg":9.8986312,"altitude":3,"angle":151,"satellites":34,"speed":33,"hex_longitude":"2d7ba940","hex_latitude":"05e66948","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423222528001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:23:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101320795363475456,"note":"Value kept but may cause issues"} 
[2026-07-01 16:23:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8907979350793232384,"note":"Value kept but may cause issues"} 
[2026-07-01 16:23:56] 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-01 16:23:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782903222000,"timestamp_ms":1782903222000,"timestamp_seconds":1782903222,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d502ef0"} 
[2026-07-01 16: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-01 16:23:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-01 16:23:56] 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-01 16: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-01 16: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-01 16:23:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:23:56] local.INFO: Teltonika packet parsed successfully {"connection_id":120989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:23:56] local.INFO: Passing IMEI to GPS processor {"connection_id":120989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:23:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":120989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:23:56] 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-01 16:23:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:23:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:23:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423222528001,"66":12917,"96":206,"87":13824,"24":33,"16":101320795363475456,"45":8907979350793232384},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-01 16:23:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:23:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:23:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423222528001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:23:56] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-01 16:23:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 16:23:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101320795363475456,"km_value":101320795363475.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:23:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8907979350793232384,"description":"Unknown IO ID 45"} 
[2026-07-01 16:23:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423222528001,"power":12917,"unknown_96":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8907979350793232384}} 
[2026-07-01 16:23:56] local.INFO: DEBUG: GPS processor result {"connection_id":120989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417781,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:23:56] local.INFO: GPS data processed {"connection_id":120989,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:23:56] local.INFO: Acknowledgment sent {"connection_id":120989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:24:20] local.INFO: TCP Data received {"connection_id":119112,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:24:20] local.INFO: Processing buffer {"connection_id":119112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:24:20] local.INFO: IMEI packet received {"connection_id":119112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 16:24:20] local.INFO: IMEI acknowledgment sent {"connection_id":119112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:24:25] local.INFO: TCP Data received {"connection_id":119112,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:24:25] local.INFO: Processing buffer {"connection_id":119112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:24:25] local.INFO: IMEI packet received {"connection_id":119112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":119112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:24:28] local.INFO: TCP Data received {"connection_id":120989,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d502ef0012d7ba94005e669480003009722..."} 
[2026-07-01 16:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d502ef0012d7ba94005e669480003009722..."} 
[2026-07-01 16:24:28] local.INFO: Processing buffer {"connection_id":120989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d502ef0012d7ba94005e669480003009722..."} 
[2026-07-01 16:24:28] local.INFO: Packet analysis {"connection_id":120989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d50"} 
[2026-07-01 16:24:28] local.INFO: Extracted packet for processing {"connection_id":120989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d50"} 
[2026-07-01 16:24:28] local.INFO: GPS Element Parsed {"raw_longitude":763078976,"raw_latitude":98986312,"longitude_deg":76.3078976,"latitude_deg":9.8986312,"altitude":3,"angle":151,"satellites":34,"speed":33,"hex_longitude":"2d7ba940","hex_latitude":"05e66948","is_valid_coordinates":true} 
[2026-07-01 16:24:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:24:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423224832001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:24:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101320795363475456,"note":"Value kept but may cause issues"} 
[2026-07-01 16:24:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8910723731813910528,"note":"Value kept but may cause issues"} 
[2026-07-01 16:24:28] 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-01 16:24:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782903222000,"timestamp_ms":1782903222000,"timestamp_seconds":1782903222,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d502ef0"} 
[2026-07-01 16:24:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:24:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:24:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-01 16:24:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:24:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:24:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:24:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:24:28] local.INFO: Teltonika packet parsed successfully {"connection_id":120989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:24:28] local.INFO: Passing IMEI to GPS processor {"connection_id":120989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:24:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":120989,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:24: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-01 16:24:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:24:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:24:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423224832001,"66":12917,"96":206,"87":13824,"24":33,"16":101320795363475456,"45":8910723731813910528},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-07-01 16:24:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:24:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:24:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423224832001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:24:28] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-01 16:24:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 16:24:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101320795363475456,"km_value":101320795363475.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:24:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8910723731813910528,"description":"Unknown IO ID 45"} 
[2026-07-01 16:24:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423224832001,"power":12917,"unknown_96":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8910723731813910528}} 
[2026-07-01 16:24:28] local.INFO: DEBUG: GPS processor result {"connection_id":120989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417782,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:24:28] local.INFO: GPS data processed {"connection_id":120989,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:24:28] local.INFO: Acknowledgment sent {"connection_id":120989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:24:38] local.INFO: TCP Data received {"connection_id":119112,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d4c3750012cc1db4007572970001a008a2b..."} 
[2026-07-01 16:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d4c3750012cc1db4007572970001a008a2b..."} 
[2026-07-01 16:24:38] local.INFO: Processing buffer {"connection_id":119112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d4c3750012cc1db4007572970001a008a2b..."} 
[2026-07-01 16:24:38] local.INFO: Packet analysis {"connection_id":119112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d4c"} 
[2026-07-01 16:24:38] local.INFO: Extracted packet for processing {"connection_id":119112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d4c"} 
[2026-07-01 16:24:38] local.INFO: GPS Element Parsed {"raw_longitude":750902080,"raw_latitude":123152752,"longitude_deg":75.090208,"latitude_deg":12.3152752,"altitude":26,"angle":138,"satellites":43,"speed":0,"hex_longitude":"2cc1db40","hex_latitude":"07572970","is_valid_coordinates":true} 
[2026-07-01 16:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423154432001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333651107005857792,"note":"Value kept but may cause issues"} 
[2026-07-01 16:24:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477985372962742272,"note":"Value kept but may cause issues"} 
[2026-07-01 16:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782902962000,"timestamp_ms":1782902962000,"timestamp_seconds":1782902962,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d4c3750"} 
[2026-07-01 16:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-01 16:24:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":119112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":119112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":119112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423154432001,"66":27919,"103":206,"85":37120,"24":0,"16":333651107005857792,"44":-4477985372962742272},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-07-01 16:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423154432001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:24:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-01 16:24:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333651107005857792,"km_value":333651107005857.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:24:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477985372962742272,"description":"Unknown IO ID 44"} 
[2026-07-01 16:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423154432001,"power":27919,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477985372962742272}} 
[2026-07-01 16:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":119112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:24:38] local.INFO: GPS data processed {"connection_id":119112,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:24:38] local.INFO: Acknowledgment sent {"connection_id":119112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:24:51] local.INFO: TCP Data received {"connection_id":119113,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119113,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:24:51] local.INFO: Processing buffer {"connection_id":119113,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:24:51] local.INFO: IMEI packet received {"connection_id":119113,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 16:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":119113,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:24:54] local.INFO: TCP Data received {"connection_id":119113,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119113,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:24:54] local.INFO: Processing buffer {"connection_id":119113,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:24:54] local.INFO: IMEI packet received {"connection_id":119113,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":119113,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:24:56] local.INFO: TCP Data received {"connection_id":119113,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119113,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:24:56] local.INFO: Processing buffer {"connection_id":119113,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:24:56] local.INFO: IMEI packet received {"connection_id":119113,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":119113,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:24:57] local.INFO: TCP Data received {"connection_id":119113,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d5059e8012d7bbbc005e64b480005009621..."} 
[2026-07-01 16:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d5059e8012d7bbbc005e64b480005009621..."} 
[2026-07-01 16:24:57] local.INFO: Processing buffer {"connection_id":119113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d5059e8012d7bbbc005e64b480005009621..."} 
[2026-07-01 16:24:57] local.INFO: Packet analysis {"connection_id":119113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d50"} 
[2026-07-01 16:24:57] local.INFO: Extracted packet for processing {"connection_id":119113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d50"} 
[2026-07-01 16:24:57] local.INFO: GPS Element Parsed {"raw_longitude":763083712,"raw_latitude":98978632,"longitude_deg":76.3083712,"latitude_deg":9.8978632,"altitude":5,"angle":150,"satellites":33,"speed":33,"hex_longitude":"2d7bbbc0","hex_latitude":"05e64b48","is_valid_coordinates":true} 
[2026-07-01 16:24:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:24:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423224832001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:24:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101321233450139648,"note":"Value kept but may cause issues"} 
[2026-07-01 16:24:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8910723731813910528,"note":"Value kept but may cause issues"} 
[2026-07-01 16:24:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:24:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782903233000,"timestamp_ms":1782903233000,"timestamp_seconds":1782903233,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d5059e8"} 
[2026-07-01 16:24:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:24:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:24:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-01 16:24:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:24:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:24:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:24:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:24:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:24:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119113,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:24:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119113,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:24: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-01 16:24:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:24:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:24:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423224832001,"66":12809,"95":206,"87":13824,"24":33,"16":101321233450139648,"45":8910723731813910528},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-07-01 16:24:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:24:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:24:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423224832001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:24:57] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-01 16:24:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 16:24:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101321233450139648,"km_value":101321233450139.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:24:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8910723731813910528,"description":"Unknown IO ID 45"} 
[2026-07-01 16:24:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423224832001,"power":12809,"unknown_95":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8910723731813910528}} 
[2026-07-01 16:24:57] local.INFO: DEBUG: GPS processor result {"connection_id":119113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417784,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:24:57] local.INFO: GPS data processed {"connection_id":119113,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:24:57] local.INFO: Acknowledgment sent {"connection_id":119113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:25:20] local.INFO: TCP Data received {"connection_id":119908,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:25:20] local.INFO: Processing buffer {"connection_id":119908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:25:20] local.INFO: IMEI packet received {"connection_id":119908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 16:25:20] local.INFO: IMEI acknowledgment sent {"connection_id":119908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:25:25] local.INFO: TCP Data received {"connection_id":119908,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:25:25] local.INFO: Processing buffer {"connection_id":119908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:25:25] local.INFO: IMEI packet received {"connection_id":119908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":119908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:25:26] local.INFO: TCP Data received {"connection_id":119908,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d50e2a0012cc1da4007572a28001f008a28..."} 
[2026-07-01 16:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d50e2a0012cc1da4007572a28001f008a28..."} 
[2026-07-01 16:25:26] local.INFO: Processing buffer {"connection_id":119908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d50e2a0012cc1da4007572a28001f008a28..."} 
[2026-07-01 16:25:26] local.INFO: Packet analysis {"connection_id":119908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d50"} 
[2026-07-01 16:25:26] local.INFO: Extracted packet for processing {"connection_id":119908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d50"} 
[2026-07-01 16:25:26] local.INFO: GPS Element Parsed {"raw_longitude":750901824,"raw_latitude":123152936,"longitude_deg":75.0901824,"latitude_deg":12.3152936,"altitude":31,"angle":138,"satellites":40,"speed":0,"hex_longitude":"2cc1da40","hex_latitude":"07572a28","is_valid_coordinates":true} 
[2026-07-01 16:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423158272001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:25:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333651107005857792,"note":"Value kept but may cause issues"} 
[2026-07-01 16:25:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477915004218544128,"note":"Value kept but may cause issues"} 
[2026-07-01 16:25:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:25:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782903268000,"timestamp_ms":1782903268000,"timestamp_seconds":1782903268,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d50e2a0"} 
[2026-07-01 16:25:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:25:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 16:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 16:25:26] 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-01 16:25:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:25:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:25:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:25:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:25:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:25:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:25:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:25:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:25:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:25:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423158272001,"66":26321,"103":206,"85":37120,"24":0,"16":333651107005857792,"44":-4477915004218544128},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-07-01 16:25:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:25:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:25:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423158272001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:25:26] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-01 16:25:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:25:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333651107005857792,"km_value":333651107005857.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:25:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477915004218544128,"description":"Unknown IO ID 44"} 
[2026-07-01 16:25:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423158272001,"power":26321,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477915004218544128}} 
[2026-07-01 16:25:26] local.INFO: DEBUG: GPS processor result {"connection_id":119908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:25:26] local.INFO: GPS data processed {"connection_id":119908,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:25:26] local.INFO: Acknowledgment sent {"connection_id":119908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:25:28] local.INFO: TCP Data received {"connection_id":119113,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d50a808012d7bc94005e631a00006009c1f..."} 
[2026-07-01 16:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d50a808012d7bc94005e631a00006009c1f..."} 
[2026-07-01 16:25:28] local.INFO: Processing buffer {"connection_id":119113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d50a808012d7bc94005e631a00006009c1f..."} 
[2026-07-01 16:25:28] local.INFO: Packet analysis {"connection_id":119113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d50"} 
[2026-07-01 16:25:28] local.INFO: Extracted packet for processing {"connection_id":119113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d50"} 
[2026-07-01 16:25:28] local.INFO: GPS Element Parsed {"raw_longitude":763087168,"raw_latitude":98972064,"longitude_deg":76.3087168,"latitude_deg":9.8972064,"altitude":6,"angle":156,"satellites":31,"speed":6,"hex_longitude":"2d7bc940","hex_latitude":"05e631a0","is_valid_coordinates":true} 
[2026-07-01 16:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:25:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423227648001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:25:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101321589932425216,"note":"Value kept but may cause issues"} 
[2026-07-01 16:25:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8915931018881091584,"note":"Value kept but may cause issues"} 
[2026-07-01 16:25:28] 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-01 16:25:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782903253000,"timestamp_ms":1782903253000,"timestamp_seconds":1782903253,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d50a808"} 
[2026-07-01 16:25:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:25:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-01 16:25:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1657324663040115712,"note":"Value kept but may cause issues"} 
[2026-07-01 16:25:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-01 16:25:28] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":8192,"corrected_to":0} 
[2026-07-01 16:25:28] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":1392508928,"corrected_to":0} 
[2026-07-01 16:25:28] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-01 16:25:28] local.WARNING: Large IO value detected {"io_id":29,"raw_value":5739336352839473472,"note":"Value kept but may cause issues"} 
[2026-07-01 16:25:28] local.WARNING: Large IO value detected {"io_id":230,"raw_value":2980052996,"note":"Value kept but may cause issues"} 
[2026-07-01 16:25:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298137294,"corrected_to":0} 
[2026-07-01 16:25:28] local.WARNING: Large IO value detected {"io_id":149,"raw_value":3221612217,"note":"Value kept but may cause issues"} 
[2026-07-01 16:25:28] local.WARNING: Large IO value detected {"io_id":103,"raw_value":4123721728,"note":"Value kept but may cause issues"} 
[2026-07-01 16:25:28] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1815179348131400672,"note":"Value kept but may cause issues"} 
[2026-07-01 16:25:28] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-5332036226599825833,"note":"Value kept but may cause issues"} 
[2026-07-01 16:25:28] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755438095892721,"note":"Value kept but may cause issues"} 
[2026-07-01 16:25:28] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,95,87,24,241,157,16,247,159,46,45,64,105,3,34,10,66,96,246,11,128,1,240,215,227,29,230,4,113,205,31,217,149,192,239,49,2,103,5,7,9,50,54,155],"length":535,"final_offset":665,"validated_count":44,"validation_warnings":[{"io_id":247,"original":8192,"validated":0},{"io_id":246,"original":1392508928,"validated":0},{"io_id":205,"original":1298137294,"validated":0}]} 
[2026-07-01 16:25:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360453038669889536,"timestamp_seconds":360453038669889.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 16:25:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:25:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:25:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:25:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119113,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:25:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119113,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:25: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-01 16:25:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:25:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:25:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423227648001,"66":12689,"95":206,"87":13824,"24":6,"16":101321589932425216,"45":8915931018881091584},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-07-01 16:25:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:25:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:25:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423227648001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:25:28] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-01 16:25:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 16:25:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101321589932425216,"km_value":101321589932425.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:25:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8915931018881091584,"description":"Unknown IO ID 45"} 
[2026-07-01 16:25:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423227648001,"power":12689,"unknown_95":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8915931018881091584}} 
[2026-07-01 16:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":119113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417786,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:25:29] local.INFO: GPS data processed {"connection_id":119113,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:25:29] local.INFO: Acknowledgment sent {"connection_id":119113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:25:51] local.INFO: TCP Data received {"connection_id":119909,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119909,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:25:51] local.INFO: Processing buffer {"connection_id":119909,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:25:51] local.INFO: IMEI packet received {"connection_id":119909,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 16:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":119909,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:25:53] local.INFO: TCP Data received {"connection_id":119909,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119909,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:25:53] local.INFO: Processing buffer {"connection_id":119909,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:25:53] local.INFO: IMEI packet received {"connection_id":119909,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":119909,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:25:57] local.INFO: TCP Data received {"connection_id":119909,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119909,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:25:57] local.INFO: Processing buffer {"connection_id":119909,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:25:57] local.INFO: IMEI packet received {"connection_id":119909,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":119909,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:25:57] local.INFO: TCP Data received {"connection_id":119909,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d51d0e8012d7c198005e5a3e80007009c22..."} 
[2026-07-01 16:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d51d0e8012d7c198005e5a3e80007009c22..."} 
[2026-07-01 16:25:57] local.INFO: Processing buffer {"connection_id":119909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d51d0e8012d7c198005e5a3e80007009c22..."} 
[2026-07-01 16:25:57] local.INFO: Packet analysis {"connection_id":119909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d51"} 
[2026-07-01 16:25:57] local.INFO: Extracted packet for processing {"connection_id":119909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d51"} 
[2026-07-01 16:25:57] local.INFO: GPS Element Parsed {"raw_longitude":763107712,"raw_latitude":98935784,"longitude_deg":76.3107712,"latitude_deg":9.8935784,"altitude":7,"angle":156,"satellites":34,"speed":27,"hex_longitude":"2d7c1980","hex_latitude":"05e5a3e8","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:25:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423248128001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:25:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101323655811694592,"note":"Value kept but may cause issues"} 
[2026-07-01 16:25:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937674960823166976,"note":"Value kept but may cause issues"} 
[2026-07-01 16:25:57] 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-01 16:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782903329000,"timestamp_ms":1782903329000,"timestamp_seconds":1782903329,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d51d0e8"} 
[2026-07-01 16: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-01 16:25:58] 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-01 16:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-01 16:25:58] 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-01 16: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-01 16: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-01 16:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:25: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-01 16:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423248128001,"66":13015,"40":206,"87":13824,"24":27,"16":101323655811694592,"45":8937674960823166976},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,87,24,16,45]} 
[2026-07-01 16:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423248128001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:25:58] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-07-01 16:25:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 16:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101323655811694592,"km_value":101323655811694.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:25:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937674960823166976,"description":"Unknown IO ID 45"} 
[2026-07-01 16:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423248128001,"power":13015,"unknown_40":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8937674960823166976}} 
[2026-07-01 16:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":119909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417787,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:25:58] local.INFO: GPS data processed {"connection_id":119909,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:25:58] local.INFO: Acknowledgment sent {"connection_id":119909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:25:58] local.INFO: TCP Data received {"connection_id":119908,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d50e2a0012cc1da4007572a28001f008a28..."} 
[2026-07-01 16:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d50e2a0012cc1da4007572a28001f008a28..."} 
[2026-07-01 16:25:58] local.INFO: Processing buffer {"connection_id":119908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d50e2a0012cc1da4007572a28001f008a28..."} 
[2026-07-01 16:25:58] local.INFO: Packet analysis {"connection_id":119908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d50"} 
[2026-07-01 16:25:58] local.INFO: Extracted packet for processing {"connection_id":119908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d50"} 
[2026-07-01 16:25:58] local.INFO: GPS Element Parsed {"raw_longitude":750901824,"raw_latitude":123152936,"longitude_deg":75.0901824,"latitude_deg":12.3152936,"altitude":31,"angle":138,"satellites":40,"speed":0,"hex_longitude":"2cc1da40","hex_latitude":"07572a28","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423158272001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333651107005857792,"note":"Value kept but may cause issues"} 
[2026-07-01 16:25:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477915004218544128,"note":"Value kept but may cause issues"} 
[2026-07-01 16:25:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782903268000,"timestamp_ms":1782903268000,"timestamp_seconds":1782903268,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d50e2a0"} 
[2026-07-01 16: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-01 16:25:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 16: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 16:25:58] 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-01 16: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-01 16: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-01 16:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:25:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423158272001,"66":26321,"103":206,"85":37120,"24":0,"16":333651107005857792,"44":-4477915004218544128},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-07-01 16:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423158272001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:25:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-01 16:25:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333651107005857792,"km_value":333651107005857.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:25:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477915004218544128,"description":"Unknown IO ID 44"} 
[2026-07-01 16:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423158272001,"power":26321,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477915004218544128}} 
[2026-07-01 16:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":119908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:25:58] local.INFO: GPS data processed {"connection_id":119908,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:25:58] local.INFO: Acknowledgment sent {"connection_id":119908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:26:20] local.INFO: TCP Data received {"connection_id":119114,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:26:20] local.INFO: Processing buffer {"connection_id":119114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:26:20] local.INFO: IMEI packet received {"connection_id":119114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 16:26:20] local.INFO: IMEI acknowledgment sent {"connection_id":119114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:26:20] local.INFO: TCP Data received {"connection_id":120990,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 16:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120990,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 16:26:20] local.INFO: Processing buffer {"connection_id":120990,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 16:26:20] local.INFO: IMEI packet received {"connection_id":120990,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 16:26:20] local.INFO: IMEI acknowledgment sent {"connection_id":120990,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:26:25] local.INFO: TCP Data received {"connection_id":119114,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:26:25] local.INFO: Processing buffer {"connection_id":119114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:26:25] local.INFO: IMEI packet received {"connection_id":119114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":119114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:26:26] local.INFO: TCP Data received {"connection_id":119114,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d50e2a0012cc1da4007572a28001f008a28..."} 
[2026-07-01 16:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d50e2a0012cc1da4007572a28001f008a28..."} 
[2026-07-01 16:26:26] local.INFO: Processing buffer {"connection_id":119114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d50e2a0012cc1da4007572a28001f008a28..."} 
[2026-07-01 16:26:26] local.INFO: Packet analysis {"connection_id":119114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d50"} 
[2026-07-01 16:26:26] local.INFO: Extracted packet for processing {"connection_id":119114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d50"} 
[2026-07-01 16:26:26] local.INFO: GPS Element Parsed {"raw_longitude":750901824,"raw_latitude":123152936,"longitude_deg":75.0901824,"latitude_deg":12.3152936,"altitude":31,"angle":138,"satellites":40,"speed":0,"hex_longitude":"2cc1da40","hex_latitude":"07572a28","is_valid_coordinates":true} 
[2026-07-01 16:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:26:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423158272001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:26:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333651107005857792,"note":"Value kept but may cause issues"} 
[2026-07-01 16:26:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477915004218544128,"note":"Value kept but may cause issues"} 
[2026-07-01 16:26:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:26:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782903268000,"timestamp_ms":1782903268000,"timestamp_seconds":1782903268,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d50e2a0"} 
[2026-07-01 16:26:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:26:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 16:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 16:26:26] 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-01 16:26:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:26:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:26:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:26:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:26:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:26:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:26:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:26:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:26:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:26:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423158272001,"66":26321,"103":206,"85":37120,"24":0,"16":333651107005857792,"44":-4477915004218544128},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-07-01 16:26:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:26:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:26:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423158272001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:26:26] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-01 16:26:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:26:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333651107005857792,"km_value":333651107005857.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:26:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477915004218544128,"description":"Unknown IO ID 44"} 
[2026-07-01 16:26:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423158272001,"power":26321,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477915004218544128}} 
[2026-07-01 16:26:26] local.INFO: DEBUG: GPS processor result {"connection_id":119114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:26:26] local.INFO: GPS data processed {"connection_id":119114,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:26:26] local.INFO: Acknowledgment sent {"connection_id":119114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:26:28] local.INFO: TCP Data received {"connection_id":119909,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d51fbe0012d7c270005e58248000800a31d..."} 
[2026-07-01 16:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d51fbe0012d7c270005e58248000800a31d..."} 
[2026-07-01 16:26:28] local.INFO: Processing buffer {"connection_id":119909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d51fbe0012d7c270005e58248000800a31d..."} 
[2026-07-01 16:26:28] local.INFO: Packet analysis {"connection_id":119909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d51"} 
[2026-07-01 16:26:28] local.INFO: Extracted packet for processing {"connection_id":119909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d51"} 
[2026-07-01 16:26:28] local.INFO: GPS Element Parsed {"raw_longitude":763111168,"raw_latitude":98927176,"longitude_deg":76.3111168,"latitude_deg":9.8927176,"altitude":8,"angle":163,"satellites":29,"speed":34,"hex_longitude":"2d7c2700","hex_latitude":"05e58248","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:26:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423252224001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:26:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101324106783260672,"note":"Value kept but may cause issues"} 
[2026-07-01 16:26:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8942319297936746496,"note":"Value kept but may cause issues"} 
[2026-07-01 16:26:28] 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-01 16:26:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782903340000,"timestamp_ms":1782903340000,"timestamp_seconds":1782903340,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d51fbe0"} 
[2026-07-01 16: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-01 16:26:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-01 16:26:28] 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-01 16: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-01 16: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-01 16:26:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:26:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:26:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:26:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16: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-01 16:26:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:26:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:26:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423252224001,"66":13222,"40":206,"87":13824,"24":34,"16":101324106783260672,"45":8942319297936746496},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,87,24,16,45]} 
[2026-07-01 16:26:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:26:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:26:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423252224001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:26:28] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-07-01 16:26:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 16:26:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101324106783260672,"km_value":101324106783260.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:26:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8942319297936746496,"description":"Unknown IO ID 45"} 
[2026-07-01 16:26:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423252224001,"power":13222,"unknown_40":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8942319297936746496}} 
[2026-07-01 16:26:29] local.INFO: DEBUG: GPS processor result {"connection_id":119909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417790,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:26:29] local.INFO: GPS data processed {"connection_id":119909,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:26:29] local.INFO: Acknowledgment sent {"connection_id":119909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:26:51] local.INFO: TCP Data received {"connection_id":119228,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119228,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:26:51] local.INFO: Processing buffer {"connection_id":119228,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:26:51] local.INFO: IMEI packet received {"connection_id":119228,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 16:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":119228,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:26:57] local.INFO: TCP Data received {"connection_id":119228,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119228,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:26:57] local.INFO: Processing buffer {"connection_id":119228,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:26:57] local.INFO: IMEI packet received {"connection_id":119228,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":119228,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:26:58] local.INFO: TCP Data received {"connection_id":119228,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d5226d8012d7c2e8005e56030000900a522..."} 
[2026-07-01 16:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d5226d8012d7c2e8005e56030000900a522..."} 
[2026-07-01 16:26:58] local.INFO: Processing buffer {"connection_id":119228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d5226d8012d7c2e8005e56030000900a522..."} 
[2026-07-01 16:26:58] local.INFO: Packet analysis {"connection_id":119228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d52"} 
[2026-07-01 16:26:58] local.INFO: Extracted packet for processing {"connection_id":119228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d52"} 
[2026-07-01 16:26:58] local.INFO: GPS Element Parsed {"raw_longitude":763113088,"raw_latitude":98918448,"longitude_deg":76.3113088,"latitude_deg":9.8918448,"altitude":9,"angle":165,"satellites":34,"speed":22,"hex_longitude":"2d7c2e80","hex_latitude":"05e56030","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423255040001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101324540574957568,"note":"Value kept but may cause issues"} 
[2026-07-01 16:26:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946119210120136704,"note":"Value kept but may cause issues"} 
[2026-07-01 16:26:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782903351000,"timestamp_ms":1782903351000,"timestamp_seconds":1782903351,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d5226d8"} 
[2026-07-01 16: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-01 16:26:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-01 16:26:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16: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-01 16: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-01 16:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:26: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-01 16:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423255040001,"66":12798,"39":206,"87":13824,"24":22,"16":101324540574957568,"45":8946119210120136704},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-01 16:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423255040001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:26:58] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-01 16:26:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 16:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101324540574957568,"km_value":101324540574957.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:26:58] local.INFO: TCP Data received {"connection_id":119114,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d50e2a0012cc1da4007572a28001f008a28..."} 
[2026-07-01 16:26:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946119210120136704,"description":"Unknown IO ID 45"} 
[2026-07-01 16:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423255040001,"power":12798,"unknown_39":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8946119210120136704}} 
[2026-07-01 16:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d50e2a0012cc1da4007572a28001f008a28..."} 
[2026-07-01 16:26:58] local.INFO: Processing buffer {"connection_id":119114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d50e2a0012cc1da4007572a28001f008a28..."} 
[2026-07-01 16:26:58] local.INFO: Packet analysis {"connection_id":119114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d50"} 
[2026-07-01 16:26:58] local.INFO: Extracted packet for processing {"connection_id":119114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d50"} 
[2026-07-01 16:26:58] local.INFO: GPS Element Parsed {"raw_longitude":750901824,"raw_latitude":123152936,"longitude_deg":75.0901824,"latitude_deg":12.3152936,"altitude":31,"angle":138,"satellites":40,"speed":0,"hex_longitude":"2cc1da40","hex_latitude":"07572a28","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423158272001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333651107005857792,"note":"Value kept but may cause issues"} 
[2026-07-01 16:26:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477915004218544128,"note":"Value kept but may cause issues"} 
[2026-07-01 16:26:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782903268000,"timestamp_ms":1782903268000,"timestamp_seconds":1782903268,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d50e2a0"} 
[2026-07-01 16: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-01 16:26:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 16: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 16:26:58] 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-01 16: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-01 16: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-01 16:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:26:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423158272001,"66":26321,"103":206,"85":37120,"24":0,"16":333651107005857792,"44":-4477915004218544128},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-07-01 16:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423158272001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:26:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-01 16:26:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333651107005857792,"km_value":333651107005857.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:26:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477915004218544128,"description":"Unknown IO ID 44"} 
[2026-07-01 16:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423158272001,"power":26321,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477915004218544128}} 
[2026-07-01 16:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":119114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:26:58] local.INFO: GPS data processed {"connection_id":119114,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:26:58] local.INFO: Acknowledgment sent {"connection_id":119114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":119228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417792,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:26:58] local.INFO: GPS data processed {"connection_id":119228,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:26:58] local.INFO: Acknowledgment sent {"connection_id":119228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:27:20] local.INFO: TCP Data received {"connection_id":119229,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:27:20] local.INFO: Processing buffer {"connection_id":119229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:27:20] local.INFO: IMEI packet received {"connection_id":119229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 16:27:20] local.INFO: IMEI acknowledgment sent {"connection_id":119229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:27:25] local.INFO: TCP Data received {"connection_id":119229,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:27:25] local.INFO: Processing buffer {"connection_id":119229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:27:25] local.INFO: IMEI packet received {"connection_id":119229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":119229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:27:26] local.INFO: TCP Data received {"connection_id":119229,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d50e2a0012cc1da4007572a28001f008a28..."} 
[2026-07-01 16:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d50e2a0012cc1da4007572a28001f008a28..."} 
[2026-07-01 16:27:27] local.INFO: Processing buffer {"connection_id":119229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d50e2a0012cc1da4007572a28001f008a28..."} 
[2026-07-01 16:27:27] local.INFO: Packet analysis {"connection_id":119229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d50"} 
[2026-07-01 16:27:27] local.INFO: Extracted packet for processing {"connection_id":119229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d50"} 
[2026-07-01 16:27:27] local.INFO: GPS Element Parsed {"raw_longitude":750901824,"raw_latitude":123152936,"longitude_deg":75.0901824,"latitude_deg":12.3152936,"altitude":31,"angle":138,"satellites":40,"speed":0,"hex_longitude":"2cc1da40","hex_latitude":"07572a28","is_valid_coordinates":true} 
[2026-07-01 16:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423158272001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333651107005857792,"note":"Value kept but may cause issues"} 
[2026-07-01 16:27:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477915004218544128,"note":"Value kept but may cause issues"} 
[2026-07-01 16:27:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782903268000,"timestamp_ms":1782903268000,"timestamp_seconds":1782903268,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d50e2a0"} 
[2026-07-01 16:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:27:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 16:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 16:27:27] 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-01 16:27:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:27:27] 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-01 16:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423158272001,"66":26321,"103":206,"85":37120,"24":0,"16":333651107005857792,"44":-4477915004218544128},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-07-01 16:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423158272001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:27:27] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-01 16:27:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333651107005857792,"km_value":333651107005857.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:27:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477915004218544128,"description":"Unknown IO ID 44"} 
[2026-07-01 16:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423158272001,"power":26321,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477915004218544128}} 
[2026-07-01 16:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":119229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:27:27] local.INFO: GPS data processed {"connection_id":119229,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:27:27] local.INFO: Acknowledgment sent {"connection_id":119229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:27:29] local.INFO: TCP Data received {"connection_id":119228,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d523678012d7c30c005e55a300009009a23..."} 
[2026-07-01 16:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d523678012d7c30c005e55a300009009a23..."} 
[2026-07-01 16:27:29] local.INFO: Processing buffer {"connection_id":119228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d523678012d7c30c005e55a300009009a23..."} 
[2026-07-01 16:27:29] local.INFO: Packet analysis {"connection_id":119228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d52"} 
[2026-07-01 16:27:29] local.INFO: Extracted packet for processing {"connection_id":119228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d52"} 
[2026-07-01 16:27:29] local.INFO: GPS Element Parsed {"raw_longitude":763113664,"raw_latitude":98916912,"longitude_deg":76.3113664,"latitude_deg":9.8916912,"altitude":9,"angle":154,"satellites":35,"speed":16,"hex_longitude":"2d7c30c0","hex_latitude":"05e55a30","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:27:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423257856001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101324617884368896,"note":"Value kept but may cause issues"} 
[2026-07-01 16:27:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948230272443232256,"note":"Value kept but may cause issues"} 
[2026-07-01 16:27: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-01 16:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782903355000,"timestamp_ms":1782903355000,"timestamp_seconds":1782903355,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d523678"} 
[2026-07-01 16: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-01 16:27: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-01 16: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-01 16:27:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16: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-01 16: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-01 16:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":119228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":119228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":119228,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:27: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-01 16:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423257856001,"66":12982,"39":206,"87":13824,"24":16,"16":101324617884368896,"45":8948230272443232256},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-01 16:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423257856001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:27:29] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-01 16:27:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 16:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101324617884368896,"km_value":101324617884368.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:27:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948230272443232256,"description":"Unknown IO ID 45"} 
[2026-07-01 16:27:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423257856001,"power":12982,"unknown_39":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":8948230272443232256}} 
[2026-07-01 16:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":119228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417794,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:27:29] local.INFO: GPS data processed {"connection_id":119228,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:27:29] local.INFO: Acknowledgment sent {"connection_id":119228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:27:53] local.INFO: TCP Data received {"connection_id":120992,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120992,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:27:53] local.INFO: Processing buffer {"connection_id":120992,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:27:53] local.INFO: IMEI packet received {"connection_id":120992,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 16:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":120992,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:27:57] local.INFO: TCP Data received {"connection_id":120992,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120992,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:27:57] local.INFO: Processing buffer {"connection_id":120992,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:27:57] local.INFO: IMEI packet received {"connection_id":120992,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":120992,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:27:58] local.INFO: TCP Data received {"connection_id":119229,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d50e2a0012cc1da4007572a28001f008a28..."} 
[2026-07-01 16:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d50e2a0012cc1da4007572a28001f008a28..."} 
[2026-07-01 16:27:58] local.INFO: Processing buffer {"connection_id":119229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d50e2a0012cc1da4007572a28001f008a28..."} 
[2026-07-01 16:27:58] local.INFO: Packet analysis {"connection_id":119229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d50"} 
[2026-07-01 16:27:58] local.INFO: Extracted packet for processing {"connection_id":119229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d50"} 
[2026-07-01 16:27:58] local.INFO: GPS Element Parsed {"raw_longitude":750901824,"raw_latitude":123152936,"longitude_deg":75.0901824,"latitude_deg":12.3152936,"altitude":31,"angle":138,"satellites":40,"speed":0,"hex_longitude":"2cc1da40","hex_latitude":"07572a28","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423158272001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333651107005857792,"note":"Value kept but may cause issues"} 
[2026-07-01 16:27:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477915004218544128,"note":"Value kept but may cause issues"} 
[2026-07-01 16:27:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782903268000,"timestamp_ms":1782903268000,"timestamp_seconds":1782903268,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d50e2a0"} 
[2026-07-01 16: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-01 16:27:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 16: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 16:27:58] 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-01 16: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-01 16: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-01 16:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:27:58] 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-01 16:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423158272001,"66":26321,"103":206,"85":37120,"24":0,"16":333651107005857792,"44":-4477915004218544128},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-07-01 16:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423158272001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:27:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-01 16:27:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333651107005857792,"km_value":333651107005857.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:27:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477915004218544128,"description":"Unknown IO ID 44"} 
[2026-07-01 16:27:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423158272001,"power":26321,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477915004218544128}} 
[2026-07-01 16:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":119229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:27:58] local.INFO: GPS data processed {"connection_id":119229,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:27:58] local.INFO: Acknowledgment sent {"connection_id":119229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:28:01] local.INFO: TCP Data received {"connection_id":120992,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120992,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:28:01] local.INFO: Processing buffer {"connection_id":120992,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:28:01] local.INFO: IMEI packet received {"connection_id":120992,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":120992,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:28:14] local.INFO: TCP Data received {"connection_id":120992,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d53bd18012d7bca0005e461b8000a00d52c..."} 
[2026-07-01 16:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d53bd18012d7bca0005e461b8000a00d52c..."} 
[2026-07-01 16:28:14] local.INFO: Processing buffer {"connection_id":120992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d53bd18012d7bca0005e461b8000a00d52c..."} 
[2026-07-01 16:28:14] local.INFO: Packet analysis {"connection_id":120992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d53"} 
[2026-07-01 16:28:14] local.INFO: Extracted packet for processing {"connection_id":120992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d53"} 
[2026-07-01 16:28:14] local.INFO: GPS Element Parsed {"raw_longitude":763087360,"raw_latitude":98853304,"longitude_deg":76.308736,"latitude_deg":9.8853304,"altitude":10,"angle":213,"satellites":44,"speed":48,"hex_longitude":"2d7bca00","hex_latitude":"05e461b8","is_valid_coordinates":true} 
[2026-07-01 16:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:28:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423282432001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:28:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101328178412257280,"note":"Value kept but may cause issues"} 
[2026-07-01 16:28:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8925923380524357632,"note":"Value kept but may cause issues"} 
[2026-07-01 16:28:14] 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-01 16:28:14] local.INFO: AVL Record Parsed {"raw_timestamp":1782903455000,"timestamp_ms":1782903455000,"timestamp_seconds":1782903455,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d53bd18"} 
[2026-07-01 16:28:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:28:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-01 16:28:14] 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-01 16:28:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:28:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:28:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:28:14] local.INFO: Teltonika packet parsed successfully {"connection_id":120992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:28:14] local.INFO: Passing IMEI to GPS processor {"connection_id":120992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:28:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":120992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:28:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:28:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:28:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:28:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423282432001,"66":13254,"39":206,"87":13824,"24":48,"16":101328178412257280,"45":8925923380524357632},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-01 16:28:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:28:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:28:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423282432001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:28:14] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-01 16:28:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 16:28:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101328178412257280,"km_value":101328178412257.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:28:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8925923380524357632,"description":"Unknown IO ID 45"} 
[2026-07-01 16:28:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423282432001,"power":13254,"unknown_39":206,"unknown_87":13824,"ignition":48,"odometer":null,"unknown_45":8925923380524357632}} 
[2026-07-01 16:28:14] local.INFO: DEBUG: GPS processor result {"connection_id":120992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417796,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:28:14] local.INFO: GPS data processed {"connection_id":120992,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:28:14] local.INFO: Acknowledgment sent {"connection_id":120992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:28:24] local.INFO: TCP Data received {"connection_id":120992,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d53dc58012d7bb54005e441e0000a00d52c..."} 
[2026-07-01 16:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d53dc58012d7bb54005e441e0000a00d52c..."} 
[2026-07-01 16:28:24] local.INFO: Processing buffer {"connection_id":120992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d53dc58012d7bb54005e441e0000a00d52c..."} 
[2026-07-01 16:28:24] local.INFO: Packet analysis {"connection_id":120992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d53"} 
[2026-07-01 16:28:24] local.INFO: Extracted packet for processing {"connection_id":120992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d53"} 
[2026-07-01 16:28:24] local.INFO: GPS Element Parsed {"raw_longitude":763082048,"raw_latitude":98845152,"longitude_deg":76.3082048,"latitude_deg":9.8845152,"altitude":10,"angle":213,"satellites":44,"speed":44,"hex_longitude":"2d7bb540","hex_latitude":"05e441e0","is_valid_coordinates":true} 
[2026-07-01 16:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:28:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423284480001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:28:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101328650858659840,"note":"Value kept but may cause issues"} 
[2026-07-01 16:28:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8919942037267134464,"note":"Value kept but may cause issues"} 
[2026-07-01 16:28:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:28:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782903463000,"timestamp_ms":1782903463000,"timestamp_seconds":1782903463,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d53dc58"} 
[2026-07-01 16:28:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:28:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-01 16:28:24] 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-01 16:28:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:28:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:28:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:28:24] local.INFO: Teltonika packet parsed successfully {"connection_id":120992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:28:24] local.INFO: Passing IMEI to GPS processor {"connection_id":120992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:28:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":120992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:28: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-01 16:28:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:28:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:28:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423284480001,"66":13037,"39":206,"87":13824,"24":44,"16":101328650858659840,"45":8919942037267134464},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-07-01 16:28:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:28:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:28:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423284480001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:28:24] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-01 16:28:24] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-07-01 16:28:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101328650858659840,"km_value":101328650858659.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:28:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8919942037267134464,"description":"Unknown IO ID 45"} 
[2026-07-01 16:28:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423284480001,"power":13037,"unknown_39":206,"unknown_87":13824,"ignition":44,"odometer":null,"unknown_45":8919942037267134464}} 
[2026-07-01 16:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":120992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417797,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:28:25] local.INFO: GPS data processed {"connection_id":120992,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:28:25] local.INFO: Acknowledgment sent {"connection_id":120992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:28:25] local.INFO: TCP Data received {"connection_id":119910,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:28:25] local.INFO: Processing buffer {"connection_id":119910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:28:25] local.INFO: IMEI packet received {"connection_id":119910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 16:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":119910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:28:30] local.INFO: TCP Data received {"connection_id":119910,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:28:30] local.INFO: Processing buffer {"connection_id":119910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:28:30] local.INFO: IMEI packet received {"connection_id":119910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":119910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:28:31] local.INFO: TCP Data received {"connection_id":119910,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d50e2a0012cc1da4007572a28001f008a28..."} 
[2026-07-01 16:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d50e2a0012cc1da4007572a28001f008a28..."} 
[2026-07-01 16:28:31] local.INFO: Processing buffer {"connection_id":119910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d50e2a0012cc1da4007572a28001f008a28..."} 
[2026-07-01 16:28:31] local.INFO: Packet analysis {"connection_id":119910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d50"} 
[2026-07-01 16:28:31] local.INFO: Extracted packet for processing {"connection_id":119910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d50"} 
[2026-07-01 16:28:31] local.INFO: GPS Element Parsed {"raw_longitude":750901824,"raw_latitude":123152936,"longitude_deg":75.0901824,"latitude_deg":12.3152936,"altitude":31,"angle":138,"satellites":40,"speed":0,"hex_longitude":"2cc1da40","hex_latitude":"07572a28","is_valid_coordinates":true} 
[2026-07-01 16:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423158272001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333651107005857792,"note":"Value kept but may cause issues"} 
[2026-07-01 16:28:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477915004218544128,"note":"Value kept but may cause issues"} 
[2026-07-01 16:28:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782903268000,"timestamp_ms":1782903268000,"timestamp_seconds":1782903268,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d50e2a0"} 
[2026-07-01 16:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:28:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 16:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 16:28:31] 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-01 16:28:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:28:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423158272001,"66":26321,"103":206,"85":37120,"24":0,"16":333651107005857792,"44":-4477915004218544128},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-07-01 16:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423158272001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:28:31] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-01 16:28:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333651107005857792,"km_value":333651107005857.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:28:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477915004218544128,"description":"Unknown IO ID 44"} 
[2026-07-01 16:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423158272001,"power":26321,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477915004218544128}} 
[2026-07-01 16:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":119910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:28:31] local.INFO: GPS data processed {"connection_id":119910,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:28:31] local.INFO: Acknowledgment sent {"connection_id":119910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:28:35] local.INFO: TCP Data received {"connection_id":119910,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d50e2a0012cc1da4007572a28001f008a28..."} 
[2026-07-01 16:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d50e2a0012cc1da4007572a28001f008a28..."} 
[2026-07-01 16:28:35] local.INFO: Processing buffer {"connection_id":119910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d50e2a0012cc1da4007572a28001f008a28..."} 
[2026-07-01 16:28:35] local.INFO: Packet analysis {"connection_id":119910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d50"} 
[2026-07-01 16:28:35] local.INFO: Extracted packet for processing {"connection_id":119910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d50"} 
[2026-07-01 16:28:35] local.INFO: GPS Element Parsed {"raw_longitude":750901824,"raw_latitude":123152936,"longitude_deg":75.0901824,"latitude_deg":12.3152936,"altitude":31,"angle":138,"satellites":40,"speed":0,"hex_longitude":"2cc1da40","hex_latitude":"07572a28","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423158272001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333651107005857792,"note":"Value kept but may cause issues"} 
[2026-07-01 16:28:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477915004218544128,"note":"Value kept but may cause issues"} 
[2026-07-01 16:28:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782903268000,"timestamp_ms":1782903268000,"timestamp_seconds":1782903268,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d50e2a0"} 
[2026-07-01 16: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-01 16:28:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 16: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 16:28:35] 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-01 16: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-01 16: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-01 16:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":119910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":119910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":119910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:28:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423158272001,"66":26321,"103":206,"85":37120,"24":0,"16":333651107005857792,"44":-4477915004218544128},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-07-01 16:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423158272001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:28:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-01 16:28:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333651107005857792,"km_value":333651107005857.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:28:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477915004218544128,"description":"Unknown IO ID 44"} 
[2026-07-01 16:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423158272001,"power":26321,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477915004218544128}} 
[2026-07-01 16:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":119910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:28:35] local.INFO: GPS data processed {"connection_id":119910,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:28:35] local.INFO: Acknowledgment sent {"connection_id":119910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:28:51] local.INFO: TCP Data received {"connection_id":119911,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119911,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:28:51] local.INFO: Processing buffer {"connection_id":119911,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:28:51] local.INFO: IMEI packet received {"connection_id":119911,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 16:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":119911,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:28:53] local.INFO: TCP Data received {"connection_id":119911,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119911,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:28:53] local.INFO: Processing buffer {"connection_id":119911,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:28:53] local.INFO: IMEI packet received {"connection_id":119911,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":119911,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:28:57] local.INFO: TCP Data received {"connection_id":119911,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119911,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:28:57] local.INFO: Processing buffer {"connection_id":119911,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:28:57] local.INFO: IMEI packet received {"connection_id":119911,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":119911,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:28:58] local.INFO: TCP Data received {"connection_id":119911,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d53fb98012d7ba14005e42388000800d42c..."} 
[2026-07-01 16:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d53fb98012d7ba14005e42388000800d42c..."} 
[2026-07-01 16:28:58] local.INFO: Processing buffer {"connection_id":119911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d53fb98012d7ba14005e42388000800d42c..."} 
[2026-07-01 16:28:58] local.INFO: Packet analysis {"connection_id":119911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d53"} 
[2026-07-01 16:28:58] local.INFO: Extracted packet for processing {"connection_id":119911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d53"} 
[2026-07-01 16:28:58] local.INFO: GPS Element Parsed {"raw_longitude":763076928,"raw_latitude":98837384,"longitude_deg":76.3076928,"latitude_deg":9.8837384,"altitude":8,"angle":212,"satellites":44,"speed":47,"hex_longitude":"2d7ba140","hex_latitude":"05e42388","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423286528001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101329097535258624,"note":"Value kept but may cause issues"} 
[2026-07-01 16:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8914101431498301440,"note":"Value kept but may cause issues"} 
[2026-07-01 16:28:58] 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-01 16:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782903471000,"timestamp_ms":1782903471000,"timestamp_seconds":1782903471,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d53fb98"} 
[2026-07-01 16: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-01 16:28:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-01 16:28:58] 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-01 16: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-01 16: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-01 16:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119911,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119911,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16: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-01 16:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423286528001,"66":13243,"95":206,"85":15104,"24":47,"16":101329097535258624,"45":8914101431498301440},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-07-01 16:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423286528001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:28:58] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-01 16:28:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 16:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101329097535258624,"km_value":101329097535258.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8914101431498301440,"description":"Unknown IO ID 45"} 
[2026-07-01 16:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423286528001,"power":13243,"unknown_95":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":8914101431498301440}} 
[2026-07-01 16:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":119911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417800,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:28:58] local.INFO: GPS data processed {"connection_id":119911,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:28:58] local.INFO: Acknowledgment sent {"connection_id":119911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:28:59] local.INFO: TCP Data received {"connection_id":119911,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d541ad8012d7b8cc005e40450000700d52d..."} 
[2026-07-01 16:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d541ad8012d7b8cc005e40450000700d52d..."} 
[2026-07-01 16:28:59] local.INFO: Processing buffer {"connection_id":119911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d541ad8012d7b8cc005e40450000700d52d..."} 
[2026-07-01 16:28:59] local.INFO: Packet analysis {"connection_id":119911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d54"} 
[2026-07-01 16:28:59] local.INFO: Extracted packet for processing {"connection_id":119911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d54"} 
[2026-07-01 16:28:59] local.INFO: GPS Element Parsed {"raw_longitude":763071680,"raw_latitude":98829392,"longitude_deg":76.307168,"latitude_deg":9.8829392,"altitude":7,"angle":213,"satellites":45,"speed":47,"hex_longitude":"2d7b8cc0","hex_latitude":"05e40450","is_valid_coordinates":true} 
[2026-07-01 16:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423288576001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101329561391726592,"note":"Value kept but may cause issues"} 
[2026-07-01 16:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8908471931962099712,"note":"Value kept but may cause issues"} 
[2026-07-01 16:28: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-01 16:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782903479000,"timestamp_ms":1782903479000,"timestamp_seconds":1782903479,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d541ad8"} 
[2026-07-01 16:28:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:28:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-07-01 16:28:59] 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-01 16:28:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:28:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119911,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119911,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:28:59] 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-01 16:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423288576001,"66":12961,"95":206,"85":15104,"24":47,"16":101329561391726592,"45":8908471931962099712},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-07-01 16:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423288576001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:28:59] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-01 16:28:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 16:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101329561391726592,"km_value":101329561391726.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8908471931962099712,"description":"Unknown IO ID 45"} 
[2026-07-01 16:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423288576001,"power":12961,"unknown_95":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":8908471931962099712}} 
[2026-07-01 16:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":119911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417801,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:28:59] local.INFO: GPS data processed {"connection_id":119911,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:28:59] local.INFO: Acknowledgment sent {"connection_id":119911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:29:20] local.INFO: TCP Data received {"connection_id":119116,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:29:20] local.INFO: Processing buffer {"connection_id":119116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:29:20] local.INFO: IMEI packet received {"connection_id":119116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 16:29:20] local.INFO: IMEI acknowledgment sent {"connection_id":119116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:29:25] local.INFO: TCP Data received {"connection_id":119116,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:29:25] local.INFO: Processing buffer {"connection_id":119116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:29:25] local.INFO: IMEI packet received {"connection_id":119116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":119116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:29:26] local.INFO: TCP Data received {"connection_id":119116,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d50e2a0012cc1da4007572a28001f008a28..."} 
[2026-07-01 16:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d50e2a0012cc1da4007572a28001f008a28..."} 
[2026-07-01 16:29:26] local.INFO: Processing buffer {"connection_id":119116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d50e2a0012cc1da4007572a28001f008a28..."} 
[2026-07-01 16:29:26] local.INFO: Packet analysis {"connection_id":119116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d50"} 
[2026-07-01 16:29:26] local.INFO: Extracted packet for processing {"connection_id":119116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d50"} 
[2026-07-01 16:29:26] local.INFO: GPS Element Parsed {"raw_longitude":750901824,"raw_latitude":123152936,"longitude_deg":75.0901824,"latitude_deg":12.3152936,"altitude":31,"angle":138,"satellites":40,"speed":0,"hex_longitude":"2cc1da40","hex_latitude":"07572a28","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:29:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423158272001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:29:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333651107005857792,"note":"Value kept but may cause issues"} 
[2026-07-01 16:29:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477915004218544128,"note":"Value kept but may cause issues"} 
[2026-07-01 16:29:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:29:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782903268000,"timestamp_ms":1782903268000,"timestamp_seconds":1782903268,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d50e2a0"} 
[2026-07-01 16: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-01 16:29:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 16: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 16:29:26] 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-01 16: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-01 16: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-01 16:29:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:29:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:29:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:29:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:29:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:29:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:29:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:29:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423158272001,"66":26321,"103":206,"85":37120,"24":0,"16":333651107005857792,"44":-4477915004218544128},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-07-01 16:29:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:29:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:29:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423158272001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:29:26] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-01 16:29:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:29:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333651107005857792,"km_value":333651107005857.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:29:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477915004218544128,"description":"Unknown IO ID 44"} 
[2026-07-01 16:29:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423158272001,"power":26321,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477915004218544128}} 
[2026-07-01 16:29:26] local.INFO: DEBUG: GPS processor result {"connection_id":119116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:29:26] local.INFO: GPS data processed {"connection_id":119116,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:29:26] local.INFO: Acknowledgment sent {"connection_id":119116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:29:30] local.INFO: TCP Data received {"connection_id":119911,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d5562f8012d7b080005e32ca0000001471c..."} 
[2026-07-01 16:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d5562f8012d7b080005e32ca0000001471c..."} 
[2026-07-01 16:29:30] local.INFO: Processing buffer {"connection_id":119911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d5562f8012d7b080005e32ca0000001471c..."} 
[2026-07-01 16:29:30] local.INFO: Packet analysis {"connection_id":119911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d55"} 
[2026-07-01 16:29:30] local.INFO: Extracted packet for processing {"connection_id":119911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d55"} 
[2026-07-01 16:29:30] local.INFO: GPS Element Parsed {"raw_longitude":763037696,"raw_latitude":98774176,"longitude_deg":76.3037696,"latitude_deg":9.8774176,"altitude":0,"angle":327,"satellites":28,"speed":10,"hex_longitude":"2d7b0800","hex_latitude":"05e32ca0","is_valid_coordinates":true} 
[2026-07-01 16:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423311616001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101332808387002368,"note":"Value kept but may cause issues"} 
[2026-07-01 16:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865546997997373440,"note":"Value kept but may cause issues"} 
[2026-07-01 16:29:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782903563000,"timestamp_ms":1782903563000,"timestamp_seconds":1782903563,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d5562f8"} 
[2026-07-01 16:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:29:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-01 16:29:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:29:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":119911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":119911,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":119911,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:29:30] 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-01 16:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423311616001,"66":12798,"95":206,"85":15104,"24":10,"16":101332808387002368,"45":8865546997997373440},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-07-01 16:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423311616001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:29:30] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-01 16:29:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 16:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101332808387002368,"km_value":101332808387002.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865546997997373440,"description":"Unknown IO ID 45"} 
[2026-07-01 16:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423311616001,"power":12798,"unknown_95":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8865546997997373440}} 
[2026-07-01 16:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":119911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417803,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:29:31] local.INFO: GPS data processed {"connection_id":119911,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:29:31] local.INFO: Acknowledgment sent {"connection_id":119911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:29:50] local.INFO: TCP Data received {"connection_id":119912,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119912,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:29:50] local.INFO: Processing buffer {"connection_id":119912,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:29:50] local.INFO: IMEI packet received {"connection_id":119912,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 16:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":119912,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:29:52] local.INFO: TCP Data received {"connection_id":119912,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119912,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:29:52] local.INFO: Processing buffer {"connection_id":119912,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:29:52] local.INFO: IMEI packet received {"connection_id":119912,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":119912,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:29:57] local.INFO: TCP Data received {"connection_id":119912,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119912,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:29:57] local.INFO: Processing buffer {"connection_id":119912,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:29:57] local.INFO: IMEI packet received {"connection_id":119912,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":119912,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:29:58] local.INFO: TCP Data received {"connection_id":119116,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d50e2a0012cc1da4007572a28001f008a28..."} 
[2026-07-01 16:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d50e2a0012cc1da4007572a28001f008a28..."} 
[2026-07-01 16:29:58] local.INFO: Processing buffer {"connection_id":119116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d50e2a0012cc1da4007572a28001f008a28..."} 
[2026-07-01 16:29:58] local.INFO: Packet analysis {"connection_id":119116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d50"} 
[2026-07-01 16:29:58] local.INFO: Extracted packet for processing {"connection_id":119116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d50"} 
[2026-07-01 16:29:58] local.INFO: GPS Element Parsed {"raw_longitude":750901824,"raw_latitude":123152936,"longitude_deg":75.0901824,"latitude_deg":12.3152936,"altitude":31,"angle":138,"satellites":40,"speed":0,"hex_longitude":"2cc1da40","hex_latitude":"07572a28","is_valid_coordinates":true} 
[2026-07-01 16:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423158272001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:29:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333651107005857792,"note":"Value kept but may cause issues"} 
[2026-07-01 16:29:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477915004218544128,"note":"Value kept but may cause issues"} 
[2026-07-01 16:29:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:29:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782903268000,"timestamp_ms":1782903268000,"timestamp_seconds":1782903268,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d50e2a0"} 
[2026-07-01 16:29:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:29:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 16:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 16:29:58] 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-01 16:29:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:29:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:29:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:29:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:29:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:29:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:29: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-01 16:29:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:29:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:29:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423158272001,"66":26321,"103":206,"85":37120,"24":0,"16":333651107005857792,"44":-4477915004218544128},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-07-01 16:29:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:29:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:29:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423158272001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:29:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-01 16:29:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:29:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333651107005857792,"km_value":333651107005857.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:29:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477915004218544128,"description":"Unknown IO ID 44"} 
[2026-07-01 16:29:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423158272001,"power":26321,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477915004218544128}} 
[2026-07-01 16:29:58] local.INFO: DEBUG: GPS processor result {"connection_id":119116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:29:58] local.INFO: GPS data processed {"connection_id":119116,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:29:58] local.INFO: Acknowledgment sent {"connection_id":119116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:29:59] local.INFO: TCP Data received {"connection_id":119912,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d5566e0012d7b080005e32e98000001581d..."} 
[2026-07-01 16:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d5566e0012d7b080005e32e98000001581d..."} 
[2026-07-01 16:29:59] local.INFO: Processing buffer {"connection_id":119912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d5566e0012d7b080005e32e98000001581d..."} 
[2026-07-01 16:29:59] local.INFO: Packet analysis {"connection_id":119912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d55"} 
[2026-07-01 16:29:59] local.INFO: Extracted packet for processing {"connection_id":119912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d55"} 
[2026-07-01 16:29:59] local.INFO: GPS Element Parsed {"raw_longitude":763037696,"raw_latitude":98774680,"longitude_deg":76.3037696,"latitude_deg":9.877468,"altitude":0,"angle":344,"satellites":29,"speed":12,"hex_longitude":"2d7b0800","hex_latitude":"05e32e98","is_valid_coordinates":true} 
[2026-07-01 16:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423312128001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101332829861838848,"note":"Value kept but may cause issues"} 
[2026-07-01 16:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865335891765010432,"note":"Value kept but may cause issues"} 
[2026-07-01 16:29: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-01 16:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782903564000,"timestamp_ms":1782903564000,"timestamp_seconds":1782903564,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d5566e0"} 
[2026-07-01 16:29:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:29:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-01 16:29:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:29:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:29:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119912,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119912,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:29:59] 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-01 16:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423312128001,"66":12798,"95":206,"85":15104,"24":12,"16":101332829861838848,"45":8865335891765010432},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-07-01 16:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423312128001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:29:59] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-01 16:29:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 16:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101332829861838848,"km_value":101332829861838.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865335891765010432,"description":"Unknown IO ID 45"} 
[2026-07-01 16:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423312128001,"power":12798,"unknown_95":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8865335891765010432}} 
[2026-07-01 16:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":119912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417805,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:29:59] local.INFO: GPS data processed {"connection_id":119912,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:29:59] local.INFO: Acknowledgment sent {"connection_id":119912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:30:20] local.INFO: TCP Data received {"connection_id":120993,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:30:20] local.INFO: Processing buffer {"connection_id":120993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:30:20] local.INFO: IMEI packet received {"connection_id":120993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 16:30:20] local.INFO: IMEI acknowledgment sent {"connection_id":120993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:30:25] local.INFO: TCP Data received {"connection_id":120993,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:30:25] local.INFO: Processing buffer {"connection_id":120993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:30:25] local.INFO: IMEI packet received {"connection_id":120993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":120993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:30:26] local.INFO: TCP Data received {"connection_id":120993,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d557a68012cc1da4007572a280010008a2a..."} 
[2026-07-01 16:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d557a68012cc1da4007572a280010008a2a..."} 
[2026-07-01 16:30:26] local.INFO: Processing buffer {"connection_id":120993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d557a68012cc1da4007572a280010008a2a..."} 
[2026-07-01 16:30:26] local.INFO: Packet analysis {"connection_id":120993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d55"} 
[2026-07-01 16:30:26] local.INFO: Extracted packet for processing {"connection_id":120993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d55"} 
[2026-07-01 16:30:26] local.INFO: GPS Element Parsed {"raw_longitude":750901824,"raw_latitude":123152936,"longitude_deg":75.0901824,"latitude_deg":12.3152936,"altitude":16,"angle":138,"satellites":42,"speed":0,"hex_longitude":"2cc1da40","hex_latitude":"07572a28","is_valid_coordinates":true} 
[2026-07-01 16:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:30:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423236608001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:30:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333651107005857792,"note":"Value kept but may cause issues"} 
[2026-07-01 16:30:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4478196479195207680,"note":"Value kept but may cause issues"} 
[2026-07-01 16:30:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:30:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782903569000,"timestamp_ms":1782903569000,"timestamp_seconds":1782903569,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d557a68"} 
[2026-07-01 16:30:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:30:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 16:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-07-01 16:30:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:30:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:30:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:30:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:30:26] local.INFO: Teltonika packet parsed successfully {"connection_id":120993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:30:26] local.INFO: Passing IMEI to GPS processor {"connection_id":120993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:30:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":120993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:30:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:30:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:30:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:30:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423236608001,"66":25995,"103":206,"85":37120,"24":0,"16":333651107005857792,"44":-4478196479195207680},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-07-01 16:30:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:30:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:30:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423236608001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:30:26] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-01 16:30:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:30:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333651107005857792,"km_value":333651107005857.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:30:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4478196479195207680,"description":"Unknown IO ID 44"} 
[2026-07-01 16:30:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423236608001,"power":25995,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4478196479195207680}} 
[2026-07-01 16:30:26] local.INFO: DEBUG: GPS processor result {"connection_id":120993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:30:26] local.INFO: GPS data processed {"connection_id":120993,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:30:26] local.INFO: Acknowledgment sent {"connection_id":120993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:30:36] local.INFO: TCP Data received {"connection_id":119912,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d556ac8012d7b080005e33158000001671d..."} 
[2026-07-01 16:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d556ac8012d7b080005e33158000001671d..."} 
[2026-07-01 16:30:36] local.INFO: Processing buffer {"connection_id":119912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d556ac8012d7b080005e33158000001671d..."} 
[2026-07-01 16:30:36] local.INFO: Packet analysis {"connection_id":119912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d55"} 
[2026-07-01 16:30:36] local.INFO: Extracted packet for processing {"connection_id":119912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d55"} 
[2026-07-01 16:30:36] local.INFO: GPS Element Parsed {"raw_longitude":763037696,"raw_latitude":98775384,"longitude_deg":76.3037696,"latitude_deg":9.8775384,"altitude":0,"angle":359,"satellites":29,"speed":16,"hex_longitude":"2d7b0800","hex_latitude":"05e33158","is_valid_coordinates":true} 
[2026-07-01 16:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423312384001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101332864221577216,"note":"Value kept but may cause issues"} 
[2026-07-01 16:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865335891765139456,"note":"Value kept but may cause issues"} 
[2026-07-01 16:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782903565000,"timestamp_ms":1782903565000,"timestamp_seconds":1782903565,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d556ac8"} 
[2026-07-01 16:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-01 16:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:30:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":119912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":119912,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":119912,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:30: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-01 16:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423312384001,"66":12798,"95":206,"85":15104,"24":16,"16":101332864221577216,"45":8865335891765139456},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-07-01 16:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423312384001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:30:36] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-01 16:30:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 16:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101332864221577216,"km_value":101332864221577.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865335891765139456,"description":"Unknown IO ID 45"} 
[2026-07-01 16:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423312384001,"power":12798,"unknown_95":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":8865335891765139456}} 
[2026-07-01 16:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":119912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417807,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:30:37] local.INFO: GPS data processed {"connection_id":119912,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:30:37] local.INFO: Acknowledgment sent {"connection_id":119912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:30:52] local.INFO: TCP Data received {"connection_id":119232,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119232,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:30:52] local.INFO: Processing buffer {"connection_id":119232,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:30:52] local.INFO: IMEI packet received {"connection_id":119232,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 16:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":119232,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:30:57] local.INFO: TCP Data received {"connection_id":119232,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119232,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:30:57] local.INFO: Processing buffer {"connection_id":119232,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:30:57] local.INFO: IMEI packet received {"connection_id":119232,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":119232,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:30:57] local.INFO: TCP Data received {"connection_id":120993,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d557a68012cc1da4007572a280010008a2a..."} 
[2026-07-01 16:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d557a68012cc1da4007572a280010008a2a..."} 
[2026-07-01 16:30:57] local.INFO: Processing buffer {"connection_id":120993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d557a68012cc1da4007572a280010008a2a..."} 
[2026-07-01 16:30:57] local.INFO: Packet analysis {"connection_id":120993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d55"} 
[2026-07-01 16:30:57] local.INFO: Extracted packet for processing {"connection_id":120993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d55"} 
[2026-07-01 16:30:57] local.INFO: GPS Element Parsed {"raw_longitude":750901824,"raw_latitude":123152936,"longitude_deg":75.0901824,"latitude_deg":12.3152936,"altitude":16,"angle":138,"satellites":42,"speed":0,"hex_longitude":"2cc1da40","hex_latitude":"07572a28","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:30:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423236608001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:30:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333651107005857792,"note":"Value kept but may cause issues"} 
[2026-07-01 16:30:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4478196479195207680,"note":"Value kept but may cause issues"} 
[2026-07-01 16:30:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:30:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782903569000,"timestamp_ms":1782903569000,"timestamp_seconds":1782903569,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d557a68"} 
[2026-07-01 16: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-01 16:30:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 16: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-07-01 16:30:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16: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-01 16: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-01 16:30:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:30:57] local.INFO: Teltonika packet parsed successfully {"connection_id":120993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:30:57] local.INFO: Passing IMEI to GPS processor {"connection_id":120993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:30:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":120993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:30: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-01 16:30:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:30:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:30:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423236608001,"66":25995,"103":206,"85":37120,"24":0,"16":333651107005857792,"44":-4478196479195207680},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-07-01 16:30:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:30:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:30:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423236608001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:30:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-01 16:30:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:30:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333651107005857792,"km_value":333651107005857.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:30:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4478196479195207680,"description":"Unknown IO ID 44"} 
[2026-07-01 16:30:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423236608001,"power":25995,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4478196479195207680}} 
[2026-07-01 16:30:57] local.INFO: DEBUG: GPS processor result {"connection_id":120993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:30:57] local.INFO: GPS data processed {"connection_id":120993,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:30:57] local.INFO: Acknowledgment sent {"connection_id":120993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:30:58] local.INFO: TCP Data received {"connection_id":119232,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d5591d8012d7b070005e34a400001015c1a..."} 
[2026-07-01 16:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d5591d8012d7b070005e34a400001015c1a..."} 
[2026-07-01 16:30:58] local.INFO: Processing buffer {"connection_id":119232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d5591d8012d7b070005e34a400001015c1a..."} 
[2026-07-01 16:30:58] local.INFO: Packet analysis {"connection_id":119232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d55"} 
[2026-07-01 16:30:58] local.INFO: Extracted packet for processing {"connection_id":119232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d55"} 
[2026-07-01 16:30:58] local.INFO: GPS Element Parsed {"raw_longitude":763037440,"raw_latitude":98781760,"longitude_deg":76.303744,"latitude_deg":9.878176,"altitude":1,"angle":348,"satellites":26,"speed":29,"hex_longitude":"2d7b0700","hex_latitude":"05e34a40","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423312640001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:30:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101333177754189824,"note":"Value kept but may cause issues"} 
[2026-07-01 16:30:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865335891765319680,"note":"Value kept but may cause issues"} 
[2026-07-01 16:30:58] 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-01 16:30:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782903575000,"timestamp_ms":1782903575000,"timestamp_seconds":1782903575,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d5591d8"} 
[2026-07-01 16: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-01 16:30:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-01 16:30: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-01 16: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-01 16: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-01 16:30:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:30:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:30:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119232,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:30:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119232,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:30: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-01 16:30:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:30:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:30:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423312640001,"66":12515,"95":206,"85":15104,"24":29,"16":101333177754189824,"45":8865335891765319680},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-07-01 16:30:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:30:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:30:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423312640001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:30:58] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-01 16:30:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 16:30:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101333177754189824,"km_value":101333177754189.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:30:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865335891765319680,"description":"Unknown IO ID 45"} 
[2026-07-01 16:30:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423312640001,"power":12515,"unknown_95":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8865335891765319680}} 
[2026-07-01 16:30:58] local.INFO: DEBUG: GPS processor result {"connection_id":119232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417809,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:30:58] local.INFO: GPS data processed {"connection_id":119232,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:30:58] local.INFO: Acknowledgment sent {"connection_id":119232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:31:20] local.INFO: TCP Data received {"connection_id":120994,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:31:20] local.INFO: Processing buffer {"connection_id":120994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:31:20] local.INFO: IMEI packet received {"connection_id":120994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 16:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":120994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:31:25] local.INFO: TCP Data received {"connection_id":120994,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:31:25] local.INFO: Processing buffer {"connection_id":120994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:31:25] local.INFO: IMEI packet received {"connection_id":120994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":120994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:31:26] local.INFO: TCP Data received {"connection_id":120994,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d557a68012cc1da4007572a280010008a2a..."} 
[2026-07-01 16:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d557a68012cc1da4007572a280010008a2a..."} 
[2026-07-01 16:31:26] local.INFO: Processing buffer {"connection_id":120994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d557a68012cc1da4007572a280010008a2a..."} 
[2026-07-01 16:31:26] local.INFO: Packet analysis {"connection_id":120994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d55"} 
[2026-07-01 16:31:26] local.INFO: Extracted packet for processing {"connection_id":120994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d55"} 
[2026-07-01 16:31:26] local.INFO: GPS Element Parsed {"raw_longitude":750901824,"raw_latitude":123152936,"longitude_deg":75.0901824,"latitude_deg":12.3152936,"altitude":16,"angle":138,"satellites":42,"speed":0,"hex_longitude":"2cc1da40","hex_latitude":"07572a28","is_valid_coordinates":true} 
[2026-07-01 16:31:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423236608001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333651107005857792,"note":"Value kept but may cause issues"} 
[2026-07-01 16:31:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4478196479195207680,"note":"Value kept but may cause issues"} 
[2026-07-01 16:31:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782903569000,"timestamp_ms":1782903569000,"timestamp_seconds":1782903569,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d557a68"} 
[2026-07-01 16:31:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:31:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 16:31:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-07-01 16:31:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:31:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:31:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":120994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":120994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":120994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:31:26] 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-01 16:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423236608001,"66":25995,"103":206,"85":37120,"24":0,"16":333651107005857792,"44":-4478196479195207680},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-07-01 16:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423236608001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:31:26] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-01 16:31:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333651107005857792,"km_value":333651107005857.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:31:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4478196479195207680,"description":"Unknown IO ID 44"} 
[2026-07-01 16:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423236608001,"power":25995,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4478196479195207680}} 
[2026-07-01 16:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":120994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:31:26] local.INFO: GPS data processed {"connection_id":120994,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:31:26] local.INFO: Acknowledgment sent {"connection_id":120994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:31:29] local.INFO: TCP Data received {"connection_id":119232,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d55c4a0012d7afb8005e36c180002015827..."} 
[2026-07-01 16:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d55c4a0012d7afb8005e36c180002015827..."} 
[2026-07-01 16:31:29] local.INFO: Processing buffer {"connection_id":119232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d55c4a0012d7afb8005e36c180002015827..."} 
[2026-07-01 16:31:29] local.INFO: Packet analysis {"connection_id":119232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d55"} 
[2026-07-01 16:31:29] local.INFO: Extracted packet for processing {"connection_id":119232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d55"} 
[2026-07-01 16:31:29] local.INFO: GPS Element Parsed {"raw_longitude":763034496,"raw_latitude":98790424,"longitude_deg":76.3034496,"latitude_deg":9.8790424,"altitude":2,"angle":344,"satellites":39,"speed":22,"hex_longitude":"2d7afb80","hex_latitude":"05e36c18","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:31:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423315200001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:31:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101333620135821312,"note":"Value kept but may cause issues"} 
[2026-07-01 16:31:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865054416790241280,"note":"Value kept but may cause issues"} 
[2026-07-01 16:31:29] 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-01 16:31:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782903588000,"timestamp_ms":1782903588000,"timestamp_seconds":1782903588,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d55c4a0"} 
[2026-07-01 16: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-01 16:31:29] 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-01 16:31:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-07-01 16:31:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16: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-01 16: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-01 16:31:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:31:29] local.INFO: Teltonika packet parsed successfully {"connection_id":119232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:31:29] local.INFO: Passing IMEI to GPS processor {"connection_id":119232,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:31:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":119232,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:31: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-01 16:31:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:31:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:31:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423315200001,"66":13189,"95":206,"85":15104,"24":22,"16":101333620135821312,"45":8865054416790241280},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-07-01 16:31:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:31:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:31:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423315200001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:31:29] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-01 16:31:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 16:31:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101333620135821312,"km_value":101333620135821.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:31:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865054416790241280,"description":"Unknown IO ID 45"} 
[2026-07-01 16:31:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423315200001,"power":13189,"unknown_95":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8865054416790241280}} 
[2026-07-01 16:31:29] local.INFO: DEBUG: GPS processor result {"connection_id":119232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417811,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:31:29] local.INFO: GPS data processed {"connection_id":119232,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:31:29] local.INFO: Acknowledgment sent {"connection_id":119232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:31:52] local.INFO: TCP Data received {"connection_id":119117,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119117,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:31:52] local.INFO: Processing buffer {"connection_id":119117,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:31:52] local.INFO: IMEI packet received {"connection_id":119117,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 16:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":119117,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:31:55] local.INFO: TCP Data received {"connection_id":119913,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 16:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119913,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 16:31:55] local.INFO: Processing buffer {"connection_id":119913,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 16:31:55] local.INFO: IMEI packet received {"connection_id":119913,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 16:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":119913,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:31:56] local.INFO: TCP Data received {"connection_id":119117,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119117,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:31:56] local.INFO: Processing buffer {"connection_id":119117,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:31:56] local.INFO: IMEI packet received {"connection_id":119117,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":119117,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:31:57] local.INFO: TCP Data received {"connection_id":120994,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d557a68012cc1da4007572a280010008a2a..."} 
[2026-07-01 16:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d557a68012cc1da4007572a280010008a2a..."} 
[2026-07-01 16:31:57] local.INFO: Processing buffer {"connection_id":120994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d557a68012cc1da4007572a280010008a2a..."} 
[2026-07-01 16:31:57] local.INFO: Packet analysis {"connection_id":120994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d55"} 
[2026-07-01 16:31:57] local.INFO: Extracted packet for processing {"connection_id":120994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d55"} 
[2026-07-01 16:31:57] local.INFO: GPS Element Parsed {"raw_longitude":750901824,"raw_latitude":123152936,"longitude_deg":75.0901824,"latitude_deg":12.3152936,"altitude":16,"angle":138,"satellites":42,"speed":0,"hex_longitude":"2cc1da40","hex_latitude":"07572a28","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:31:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423236608001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:31:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333651107005857792,"note":"Value kept but may cause issues"} 
[2026-07-01 16:31:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4478196479195207680,"note":"Value kept but may cause issues"} 
[2026-07-01 16:31:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:31:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782903569000,"timestamp_ms":1782903569000,"timestamp_seconds":1782903569,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d557a68"} 
[2026-07-01 16: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-01 16:31:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 16: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-07-01 16:31:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16: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-01 16: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-01 16:31:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:31:57] local.INFO: Teltonika packet parsed successfully {"connection_id":120994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:31:57] local.INFO: Passing IMEI to GPS processor {"connection_id":120994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:31:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":120994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:31:57] 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-01 16:31:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:31:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:31:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423236608001,"66":25995,"103":206,"85":37120,"24":0,"16":333651107005857792,"44":-4478196479195207680},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-07-01 16:31:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:31:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:31:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423236608001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:31:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-01 16:31:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:31:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333651107005857792,"km_value":333651107005857.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:31:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4478196479195207680,"description":"Unknown IO ID 44"} 
[2026-07-01 16:31:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423236608001,"power":25995,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4478196479195207680}} 
[2026-07-01 16:31:57] local.INFO: DEBUG: GPS processor result {"connection_id":120994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:31:57] local.INFO: GPS data processed {"connection_id":120994,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:31:57] local.INFO: Acknowledgment sent {"connection_id":120994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:31:58] local.INFO: TCP Data received {"connection_id":119117,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d5612c0012d7af3c005e383d80003015729..."} 
[2026-07-01 16:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d5612c0012d7af3c005e383d80003015729..."} 
[2026-07-01 16:31:58] local.INFO: Processing buffer {"connection_id":119117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d5612c0012d7af3c005e383d80003015729..."} 
[2026-07-01 16:31:58] local.INFO: Packet analysis {"connection_id":119117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d56"} 
[2026-07-01 16:31:58] local.INFO: Extracted packet for processing {"connection_id":119117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d56"} 
[2026-07-01 16:31:58] local.INFO: GPS Element Parsed {"raw_longitude":763032512,"raw_latitude":98796504,"longitude_deg":76.3032512,"latitude_deg":9.8796504,"altitude":3,"angle":343,"satellites":41,"speed":4,"hex_longitude":"2d7af3c0","hex_latitude":"05e383d8","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423318528001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101333929373466624,"note":"Value kept but may cause issues"} 
[2026-07-01 16:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8861817454560286720,"note":"Value kept but may cause issues"} 
[2026-07-01 16:31:58] 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-01 16:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782903608000,"timestamp_ms":1782903608000,"timestamp_seconds":1782903608,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d5612c0"} 
[2026-07-01 16: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-01 16:31:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16: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":133,"data_length":795,"current_offset":136} 
[2026-07-01 16:31:58] 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-01 16: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-01 16: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-01 16:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:31: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-01 16:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423318528001,"66":13222,"97":206,"85":15104,"24":4,"16":101333929373466624,"45":8861817454560286720},"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-01 16:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423318528001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:31:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 16:31:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 16:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101333929373466624,"km_value":101333929373466.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8861817454560286720,"description":"Unknown IO ID 45"} 
[2026-07-01 16:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423318528001,"power":13222,"unknown_97":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8861817454560286720}} 
[2026-07-01 16:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":119117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417813,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:31:58] local.INFO: GPS data processed {"connection_id":119117,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:31:58] local.INFO: Acknowledgment sent {"connection_id":119117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:32:20] local.INFO: TCP Data received {"connection_id":119233,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 16:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119233,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 16:32:20] local.INFO: Processing buffer {"connection_id":119233,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 16:32:20] local.INFO: IMEI packet received {"connection_id":119233,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 16:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":119233,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:32:25] local.INFO: TCP Data received {"connection_id":119914,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:32:25] local.INFO: Processing buffer {"connection_id":119914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:32:25] local.INFO: IMEI packet received {"connection_id":119914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 16:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":119914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:32:30] local.INFO: TCP Data received {"connection_id":119117,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d57cc28012d7aca8005e410f00009011c2a..."} 
[2026-07-01 16:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d57cc28012d7aca8005e410f00009011c2a..."} 
[2026-07-01 16:32:30] local.INFO: Processing buffer {"connection_id":119117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d57cc28012d7aca8005e410f00009011c2a..."} 
[2026-07-01 16:32:30] local.INFO: Packet analysis {"connection_id":119117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d57"} 
[2026-07-01 16:32:30] local.INFO: Extracted packet for processing {"connection_id":119117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d57"} 
[2026-07-01 16:32:30] local.INFO: GPS Element Parsed {"raw_longitude":763021952,"raw_latitude":98832624,"longitude_deg":76.3021952,"latitude_deg":9.8832624,"altitude":9,"angle":284,"satellites":42,"speed":10,"hex_longitude":"2d7aca80","hex_latitude":"05e410f0","is_valid_coordinates":true} 
[2026-07-01 16:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423352320001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101335771914436608,"note":"Value kept but may cause issues"} 
[2026-07-01 16:32:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848236286944774144,"note":"Value kept but may cause issues"} 
[2026-07-01 16:32:30] 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-01 16:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782903721000,"timestamp_ms":1782903721000,"timestamp_seconds":1782903721,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d57cc28"} 
[2026-07-01 16:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:32:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-07-01 16:32:30] 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-01 16:32:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":119117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":119117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":119117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:32:30] 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-01 16:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423352320001,"66":12874,"97":206,"85":15104,"24":10,"16":101335771914436608,"45":8848236286944774144},"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-01 16:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423352320001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:32:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 16:32:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 16:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101335771914436608,"km_value":101335771914436.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:32:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848236286944774144,"description":"Unknown IO ID 45"} 
[2026-07-01 16:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423352320001,"power":12874,"unknown_97":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8848236286944774144}} 
[2026-07-01 16:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":119117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417814,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:32:30] local.INFO: GPS data processed {"connection_id":119117,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:32:30] local.INFO: Acknowledgment sent {"connection_id":119117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:32:30] local.INFO: TCP Data received {"connection_id":119914,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:32:30] local.INFO: Processing buffer {"connection_id":119914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:32:30] local.INFO: IMEI packet received {"connection_id":119914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":119914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:32:31] local.INFO: TCP Data received {"connection_id":119914,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d557a68012cc1da4007572a280010008a2a..."} 
[2026-07-01 16:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d557a68012cc1da4007572a280010008a2a..."} 
[2026-07-01 16:32:31] local.INFO: Processing buffer {"connection_id":119914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d557a68012cc1da4007572a280010008a2a..."} 
[2026-07-01 16:32:31] local.INFO: Packet analysis {"connection_id":119914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d55"} 
[2026-07-01 16:32:31] local.INFO: Extracted packet for processing {"connection_id":119914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d55"} 
[2026-07-01 16:32:31] local.INFO: GPS Element Parsed {"raw_longitude":750901824,"raw_latitude":123152936,"longitude_deg":75.0901824,"latitude_deg":12.3152936,"altitude":16,"angle":138,"satellites":42,"speed":0,"hex_longitude":"2cc1da40","hex_latitude":"07572a28","is_valid_coordinates":true} 
[2026-07-01 16:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423236608001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333651107005857792,"note":"Value kept but may cause issues"} 
[2026-07-01 16:32:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4478196479195207680,"note":"Value kept but may cause issues"} 
[2026-07-01 16:32:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782903569000,"timestamp_ms":1782903569000,"timestamp_seconds":1782903569,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d557a68"} 
[2026-07-01 16:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:32:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 16:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-07-01 16:32:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:32:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:32:31] 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-01 16:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423236608001,"66":25995,"103":206,"85":37120,"24":0,"16":333651107005857792,"44":-4478196479195207680},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-07-01 16:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423236608001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:32:31] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-01 16:32:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333651107005857792,"km_value":333651107005857.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:32:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4478196479195207680,"description":"Unknown IO ID 44"} 
[2026-07-01 16:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423236608001,"power":25995,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4478196479195207680}} 
[2026-07-01 16:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":119914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:32:31] local.INFO: GPS data processed {"connection_id":119914,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:32:31] local.INFO: Acknowledgment sent {"connection_id":119914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:32:51] local.INFO: TCP Data received {"connection_id":119234,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119234,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:32:51] local.INFO: Processing buffer {"connection_id":119234,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:32:51] local.INFO: IMEI packet received {"connection_id":119234,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 16:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":119234,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:32:57] local.INFO: TCP Data received {"connection_id":119234,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119234,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:32:57] local.INFO: Processing buffer {"connection_id":119234,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:32:57] local.INFO: IMEI packet received {"connection_id":119234,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":119234,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:32:58] local.INFO: TCP Data received {"connection_id":119234,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d57d010012d7ac94005e410f8000901052b..."} 
[2026-07-01 16:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d57d010012d7ac94005e410f8000901052b..."} 
[2026-07-01 16:32:58] local.INFO: Processing buffer {"connection_id":119234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d57d010012d7ac94005e410f8000901052b..."} 
[2026-07-01 16:32:58] local.INFO: Packet analysis {"connection_id":119234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d57"} 
[2026-07-01 16:32:58] local.INFO: Extracted packet for processing {"connection_id":119234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d57"} 
[2026-07-01 16:32:58] local.INFO: GPS Element Parsed {"raw_longitude":763021632,"raw_latitude":98832632,"longitude_deg":76.3021632,"latitude_deg":9.8832632,"altitude":9,"angle":261,"satellites":43,"speed":8,"hex_longitude":"2d7ac940","hex_latitude":"05e410f8","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:32:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423352576001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:32:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101335789094305792,"note":"Value kept but may cause issues"} 
[2026-07-01 16:32:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848025180712267776,"note":"Value kept but may cause issues"} 
[2026-07-01 16:32:58] 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-01 16:32:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782903722000,"timestamp_ms":1782903722000,"timestamp_seconds":1782903722,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d57d010"} 
[2026-07-01 16: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-01 16:32:58] 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-01 16: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":74,"data_length":795,"current_offset":136} 
[2026-07-01 16:32:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16: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-01 16: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-01 16:32:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:32:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:32:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119234,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:32:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119234,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:32: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-01 16:32:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:32:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:32:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423352576001,"66":12982,"97":206,"85":15104,"24":8,"16":101335789094305792,"45":8848025180712267776},"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-01 16:32:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:32:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:32:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423352576001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:32:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 16:32:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 16:32:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101335789094305792,"km_value":101335789094305.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:32:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848025180712267776,"description":"Unknown IO ID 45"} 
[2026-07-01 16:32:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423352576001,"power":12982,"unknown_97":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8848025180712267776}} 
[2026-07-01 16:32:58] local.INFO: DEBUG: GPS processor result {"connection_id":119234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417816,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:32:58] local.INFO: GPS data processed {"connection_id":119234,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:32:58] local.INFO: Acknowledgment sent {"connection_id":119234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:33:02] local.INFO: TCP Data received {"connection_id":119914,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d557a68012cc1da4007572a280010008a2a..."} 
[2026-07-01 16:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d557a68012cc1da4007572a280010008a2a..."} 
[2026-07-01 16:33:02] local.INFO: Processing buffer {"connection_id":119914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d557a68012cc1da4007572a280010008a2a..."} 
[2026-07-01 16:33:02] local.INFO: Packet analysis {"connection_id":119914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d55"} 
[2026-07-01 16:33:02] local.INFO: Extracted packet for processing {"connection_id":119914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d55"} 
[2026-07-01 16:33:02] local.INFO: GPS Element Parsed {"raw_longitude":750901824,"raw_latitude":123152936,"longitude_deg":75.0901824,"latitude_deg":12.3152936,"altitude":16,"angle":138,"satellites":42,"speed":0,"hex_longitude":"2cc1da40","hex_latitude":"07572a28","is_valid_coordinates":true} 
[2026-07-01 16:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423236608001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333651107005857792,"note":"Value kept but may cause issues"} 
[2026-07-01 16:33:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4478196479195207680,"note":"Value kept but may cause issues"} 
[2026-07-01 16:33:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782903569000,"timestamp_ms":1782903569000,"timestamp_seconds":1782903569,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d557a68"} 
[2026-07-01 16:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:33:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 16:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-07-01 16:33:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:33:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":119914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":119914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":119914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:33: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-01 16:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423236608001,"66":25995,"103":206,"85":37120,"24":0,"16":333651107005857792,"44":-4478196479195207680},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-07-01 16:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423236608001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:33:02] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-01 16:33:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333651107005857792,"km_value":333651107005857.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:33:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4478196479195207680,"description":"Unknown IO ID 44"} 
[2026-07-01 16:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423236608001,"power":25995,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4478196479195207680}} 
[2026-07-01 16:33:02] local.INFO: DEBUG: GPS processor result {"connection_id":119914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:33:02] local.INFO: GPS data processed {"connection_id":119914,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:33:02] local.INFO: Acknowledgment sent {"connection_id":119914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:33:20] local.INFO: TCP Data received {"connection_id":119119,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:33:20] local.INFO: Processing buffer {"connection_id":119119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:33:20] local.INFO: IMEI packet received {"connection_id":119119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 16:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":119119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:33:25] local.INFO: TCP Data received {"connection_id":119119,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:33:25] local.INFO: Processing buffer {"connection_id":119119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:33:25] local.INFO: IMEI packet received {"connection_id":119119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:33:25] local.INFO: IMEI acknowledgment sent {"connection_id":119119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:33:26] local.INFO: TCP Data received {"connection_id":119119,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d557a68012cc1da4007572a280010008a2a..."} 
[2026-07-01 16:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d557a68012cc1da4007572a280010008a2a..."} 
[2026-07-01 16:33:26] local.INFO: Processing buffer {"connection_id":119119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d557a68012cc1da4007572a280010008a2a..."} 
[2026-07-01 16:33:26] local.INFO: Packet analysis {"connection_id":119119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d55"} 
[2026-07-01 16:33:26] local.INFO: Extracted packet for processing {"connection_id":119119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d55"} 
[2026-07-01 16:33:26] local.INFO: GPS Element Parsed {"raw_longitude":750901824,"raw_latitude":123152936,"longitude_deg":75.0901824,"latitude_deg":12.3152936,"altitude":16,"angle":138,"satellites":42,"speed":0,"hex_longitude":"2cc1da40","hex_latitude":"07572a28","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:33:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423236608001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:33:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333651107005857792,"note":"Value kept but may cause issues"} 
[2026-07-01 16:33:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4478196479195207680,"note":"Value kept but may cause issues"} 
[2026-07-01 16:33:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:33:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782903569000,"timestamp_ms":1782903569000,"timestamp_seconds":1782903569,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d557a68"} 
[2026-07-01 16: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-01 16:33:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 16: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-07-01 16:33:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16: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-01 16: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-01 16:33:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:33:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:33:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:33:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:33:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:33:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:33:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:33:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423236608001,"66":25995,"103":206,"85":37120,"24":0,"16":333651107005857792,"44":-4478196479195207680},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-07-01 16:33:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:33:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:33:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423236608001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:33:26] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-01 16:33:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:33:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333651107005857792,"km_value":333651107005857.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:33:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4478196479195207680,"description":"Unknown IO ID 44"} 
[2026-07-01 16:33:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423236608001,"power":25995,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4478196479195207680}} 
[2026-07-01 16:33:26] local.INFO: DEBUG: GPS processor result {"connection_id":119119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:33:26] local.INFO: GPS data processed {"connection_id":119119,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:33:26] local.INFO: Acknowledgment sent {"connection_id":119119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:33:34] local.INFO: TCP Data received {"connection_id":119234,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d581660012d7aa64005e40b50000c010227..."} 
[2026-07-01 16:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d581660012d7aa64005e40b50000c010227..."} 
[2026-07-01 16:33:34] local.INFO: Processing buffer {"connection_id":119234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d581660012d7aa64005e40b50000c010227..."} 
[2026-07-01 16:33:34] local.INFO: Packet analysis {"connection_id":119234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d58"} 
[2026-07-01 16:33:34] local.INFO: Extracted packet for processing {"connection_id":119234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d58"} 
[2026-07-01 16:33:34] local.INFO: GPS Element Parsed {"raw_longitude":763012672,"raw_latitude":98831184,"longitude_deg":76.3012672,"latitude_deg":9.8831184,"altitude":12,"angle":258,"satellites":39,"speed":17,"hex_longitude":"2d7aa640","hex_latitude":"05e40b50","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423352832001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101336218591035392,"note":"Value kept but may cause issues"} 
[2026-07-01 16:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8847673336991381504,"note":"Value kept but may cause issues"} 
[2026-07-01 16:33: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-01 16:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782903740000,"timestamp_ms":1782903740000,"timestamp_seconds":1782903740,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d581660"} 
[2026-07-01 16: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-01 16:33: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-01 16: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-01 16:33:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16: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-01 16: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-01 16:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":119234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":119234,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":119234,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:33: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-01 16:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423352832001,"66":12961,"97":206,"85":15104,"24":17,"16":101336218591035392,"45":8847673336991381504},"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-01 16:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423352832001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:33:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 16:33:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 16:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101336218591035392,"km_value":101336218591035.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8847673336991381504,"description":"Unknown IO ID 45"} 
[2026-07-01 16:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423352832001,"power":12961,"unknown_97":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8847673336991381504}} 
[2026-07-01 16:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":119234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417819,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:33:34] local.INFO: GPS data processed {"connection_id":119234,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:33:34] local.INFO: Acknowledgment sent {"connection_id":119234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:33:51] local.INFO: TCP Data received {"connection_id":119235,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119235,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:33:51] local.INFO: Processing buffer {"connection_id":119235,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:33:51] local.INFO: IMEI packet received {"connection_id":119235,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 16:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":119235,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:33:57] local.INFO: TCP Data received {"connection_id":119235,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119235,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:33:57] local.INFO: Processing buffer {"connection_id":119235,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:33:57] local.INFO: IMEI packet received {"connection_id":119235,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":119235,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:33:57] local.INFO: TCP Data received {"connection_id":119119,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d58e950012cc1da4007572a280010008a2e..."} 
[2026-07-01 16:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d58e950012cc1da4007572a280010008a2e..."} 
[2026-07-01 16:33:57] local.INFO: Processing buffer {"connection_id":119119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d58e950012cc1da4007572a280010008a2e..."} 
[2026-07-01 16:33:57] local.INFO: Packet analysis {"connection_id":119119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d58"} 
[2026-07-01 16:33:57] local.INFO: Extracted packet for processing {"connection_id":119119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d58"} 
[2026-07-01 16:33:57] local.INFO: GPS Element Parsed {"raw_longitude":750901824,"raw_latitude":123152936,"longitude_deg":75.0901824,"latitude_deg":12.3152936,"altitude":16,"angle":138,"satellites":46,"speed":0,"hex_longitude":"2cc1da40","hex_latitude":"07572a28","is_valid_coordinates":true} 
[2026-07-01 16:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-01 16:33:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423313664001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:33:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333651107005857792,"note":"Value kept but may cause issues"} 
[2026-07-01 16:33:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4478196479195207680,"note":"Value kept but may cause issues"} 
[2026-07-01 16:33:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:33:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782903794000,"timestamp_ms":1782903794000,"timestamp_seconds":1782903794,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d58e950"} 
[2026-07-01 16: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-01 16:33:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 16: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-01 16:33:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16: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-01 16: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-01 16:33:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:33:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:33:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:33:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:33:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:33:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:33:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:33:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423313664001,"66":25941,"103":206,"85":37120,"24":0,"16":333651107005857792,"44":-4478196479195207680},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-07-01 16:33:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:33:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:33:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423313664001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:33:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-01 16:33:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:33:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333651107005857792,"km_value":333651107005857.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:33:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4478196479195207680,"description":"Unknown IO ID 44"} 
[2026-07-01 16:33:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423313664001,"power":25941,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4478196479195207680}} 
[2026-07-01 16:33:57] local.INFO: DEBUG: GPS processor result {"connection_id":119119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:33:57] local.INFO: GPS data processed {"connection_id":119119,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:33:57] local.INFO: Acknowledgment sent {"connection_id":119119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:33:58] local.INFO: TCP Data received {"connection_id":119235,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d5835a0012d7a9fc005e40a50000b010f25..."} 
[2026-07-01 16:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d5835a0012d7a9fc005e40a50000b010f25..."} 
[2026-07-01 16:33:58] local.INFO: Processing buffer {"connection_id":119235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d5835a0012d7a9fc005e40a50000b010f25..."} 
[2026-07-01 16:33:58] local.INFO: Packet analysis {"connection_id":119235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d58"} 
[2026-07-01 16:33:58] local.INFO: Extracted packet for processing {"connection_id":119235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d58"} 
[2026-07-01 16:33:58] local.INFO: GPS Element Parsed {"raw_longitude":763011008,"raw_latitude":98830928,"longitude_deg":76.3011008,"latitude_deg":9.8830928,"altitude":11,"angle":271,"satellites":37,"speed":6,"hex_longitude":"2d7a9fc0","hex_latitude":"05e40a50","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423357440001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101336300195414016,"note":"Value kept but may cause issues"} 
[2026-07-01 16:33:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837821712806137856,"note":"Value kept but may cause issues"} 
[2026-07-01 16:33:58] 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-01 16:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782903748000,"timestamp_ms":1782903748000,"timestamp_seconds":1782903748,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d5835a0"} 
[2026-07-01 16: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-01 16:33:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16: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":161,"data_length":795,"current_offset":136} 
[2026-07-01 16:33:58] 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-01 16: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-01 16: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-01 16:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119235,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119235,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:33: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-01 16:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423357440001,"66":12928,"97":206,"85":15104,"24":6,"16":101336300195414016,"45":8837821712806137856},"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-01 16:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423357440001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:33:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 16:33:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 16:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101336300195414016,"km_value":101336300195414.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:33:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837821712806137856,"description":"Unknown IO ID 45"} 
[2026-07-01 16:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423357440001,"power":12928,"unknown_97":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8837821712806137856}} 
[2026-07-01 16:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":119235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417821,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:33:58] local.INFO: GPS data processed {"connection_id":119235,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:33:58] local.INFO: Acknowledgment sent {"connection_id":119235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:34:20] local.INFO: TCP Data received {"connection_id":119120,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:34:20] local.INFO: Processing buffer {"connection_id":119120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:34:20] local.INFO: IMEI packet received {"connection_id":119120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 16:34:20] local.INFO: IMEI acknowledgment sent {"connection_id":119120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:34:25] local.INFO: TCP Data received {"connection_id":119120,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:34:25] local.INFO: Processing buffer {"connection_id":119120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:34:25] local.INFO: IMEI packet received {"connection_id":119120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":119120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:34:26] local.INFO: TCP Data received {"connection_id":119120,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d58f8f0012cc1e080075737300010003f2d..."} 
[2026-07-01 16:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d58f8f0012cc1e080075737300010003f2d..."} 
[2026-07-01 16:34:26] local.INFO: Processing buffer {"connection_id":119120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d58f8f0012cc1e080075737300010003f2d..."} 
[2026-07-01 16:34:26] local.INFO: Packet analysis {"connection_id":119120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d58"} 
[2026-07-01 16:34:26] local.INFO: Extracted packet for processing {"connection_id":119120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d58"} 
[2026-07-01 16:34:26] local.INFO: GPS Element Parsed {"raw_longitude":750903424,"raw_latitude":123156272,"longitude_deg":75.0903424,"latitude_deg":12.3156272,"altitude":16,"angle":63,"satellites":45,"speed":0,"hex_longitude":"2cc1e080","hex_latitude":"07573730","is_valid_coordinates":true} 
[2026-07-01 16:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:34:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423371264001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:34:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333651107005857792,"note":"Value kept but may cause issues"} 
[2026-07-01 16:34:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4478196479195207680,"note":"Value kept but may cause issues"} 
[2026-07-01 16:34:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:34:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782903798000,"timestamp_ms":1782903798000,"timestamp_seconds":1782903798,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d58f8f0"} 
[2026-07-01 16:34:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:34: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-01 16:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-01 16:34:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:34:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:34:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:34:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:34:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:34:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:34:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:34:26] 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-01 16:34:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:34:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:34:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423371264001,"66":27539,"103":206,"85":37120,"24":0,"16":333651107005857792,"44":-4478196479195207680},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-07-01 16:34:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:34:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:34:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423371264001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:34:26] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-01 16:34:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:34:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333651107005857792,"km_value":333651107005857.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:34:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4478196479195207680,"description":"Unknown IO ID 44"} 
[2026-07-01 16:34:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423371264001,"power":27539,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4478196479195207680}} 
[2026-07-01 16:34:26] local.INFO: DEBUG: GPS processor result {"connection_id":119120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:34:26] local.INFO: GPS data processed {"connection_id":119120,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:34:26] local.INFO: Acknowledgment sent {"connection_id":119120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:34:29] local.INFO: TCP Data received {"connection_id":119235,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d586868012d7a9f4005e40b100009005828..."} 
[2026-07-01 16:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d586868012d7a9f4005e40b100009005828..."} 
[2026-07-01 16:34:29] local.INFO: Processing buffer {"connection_id":119235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d586868012d7a9f4005e40b100009005828..."} 
[2026-07-01 16:34:29] local.INFO: Packet analysis {"connection_id":119235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d58"} 
[2026-07-01 16:34:29] local.INFO: Extracted packet for processing {"connection_id":119235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d58"} 
[2026-07-01 16:34:29] local.INFO: GPS Element Parsed {"raw_longitude":763010880,"raw_latitude":98831120,"longitude_deg":76.301088,"latitude_deg":9.883112,"altitude":9,"angle":88,"satellites":40,"speed":2,"hex_longitude":"2d7a9f40","hex_latitude":"05e40b10","is_valid_coordinates":true} 
[2026-07-01 16:34:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:34:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423359488001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:34:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101336343145086976,"note":"Value kept but may cause issues"} 
[2026-07-01 16:34:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835992125457453056,"note":"Value kept but may cause issues"} 
[2026-07-01 16:34: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-01 16:34:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782903761000,"timestamp_ms":1782903761000,"timestamp_seconds":1782903761,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d586868"} 
[2026-07-01 16:34:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:34:29] 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-01 16:34:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-07-01 16:34:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:34:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:34:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:34:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:34:29] local.INFO: Teltonika packet parsed successfully {"connection_id":119235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:34:29] local.INFO: Passing IMEI to GPS processor {"connection_id":119235,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:34:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":119235,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:34: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-01 16:34:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:34:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:34:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423359488001,"66":12874,"97":206,"85":15104,"24":2,"16":101336343145086976,"45":8835992125457453056},"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-01 16:34:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:34:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:34:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423359488001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:34:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 16:34:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 16:34:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101336343145086976,"km_value":101336343145086.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:34:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835992125457453056,"description":"Unknown IO ID 45"} 
[2026-07-01 16:34:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423359488001,"power":12874,"unknown_97":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8835992125457453056}} 
[2026-07-01 16:34:29] local.INFO: DEBUG: GPS processor result {"connection_id":119235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417823,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:34:29] local.INFO: GPS data processed {"connection_id":119235,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:34:29] local.INFO: Acknowledgment sent {"connection_id":119235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:34:51] local.INFO: TCP Data received {"connection_id":119121,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119121,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:34:51] local.INFO: Processing buffer {"connection_id":119121,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:34:51] local.INFO: IMEI packet received {"connection_id":119121,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 16:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":119121,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:34:51] local.INFO: TCP Data received {"connection_id":119121,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119121,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:34:51] local.INFO: Processing buffer {"connection_id":119121,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:34:51] local.INFO: IMEI packet received {"connection_id":119121,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":119121,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:34:57] local.INFO: TCP Data received {"connection_id":119120,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d594af8012cc1e080075737300010003f2d..."} 
[2026-07-01 16:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d594af8012cc1e080075737300010003f2d..."} 
[2026-07-01 16:34:57] local.INFO: Processing buffer {"connection_id":119120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d594af8012cc1e080075737300010003f2d..."} 
[2026-07-01 16:34:57] local.INFO: Packet analysis {"connection_id":119120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d59"} 
[2026-07-01 16:34:57] local.INFO: Extracted packet for processing {"connection_id":119120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d59"} 
[2026-07-01 16:34:57] local.INFO: GPS Element Parsed {"raw_longitude":750903424,"raw_latitude":123156272,"longitude_deg":75.0903424,"latitude_deg":12.3156272,"altitude":16,"angle":63,"satellites":45,"speed":0,"hex_longitude":"2cc1e080","hex_latitude":"07573730","is_valid_coordinates":true} 
[2026-07-01 16:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:34:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423372288001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:34:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333651107005857792,"note":"Value kept but may cause issues"} 
[2026-07-01 16:34:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4476437260589912064,"note":"Value kept but may cause issues"} 
[2026-07-01 16:34:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:34:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782903819000,"timestamp_ms":1782903819000,"timestamp_seconds":1782903819,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d594af8"} 
[2026-07-01 16:34:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:34:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-01 16:34:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:34:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:34:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:34:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:34:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:34:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:34:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:34:57] 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-01 16:34:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:34:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:34:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423372288001,"66":27821,"103":206,"85":37120,"24":0,"16":333651107005857792,"44":-4476437260589912064},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-07-01 16:34:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:34:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:34:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423372288001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:34:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-01 16:34:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:34:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333651107005857792,"km_value":333651107005857.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:34:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4476437260589912064,"description":"Unknown IO ID 44"} 
[2026-07-01 16:34:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423372288001,"power":27821,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4476437260589912064}} 
[2026-07-01 16:34:57] local.INFO: DEBUG: GPS processor result {"connection_id":119120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:34:57] local.INFO: GPS data processed {"connection_id":119120,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:34:57] local.INFO: Acknowledgment sent {"connection_id":119120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:34:57] local.INFO: TCP Data received {"connection_id":119121,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119121,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:34:57] local.INFO: Processing buffer {"connection_id":119121,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:34:57] local.INFO: IMEI packet received {"connection_id":119121,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":119121,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:34:58] local.INFO: TCP Data received {"connection_id":119121,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d59c7f8012d7aecc005e3a108000700a32a..."} 
[2026-07-01 16:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d59c7f8012d7aecc005e3a108000700a32a..."} 
[2026-07-01 16:34:58] local.INFO: Processing buffer {"connection_id":119121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d59c7f8012d7aecc005e3a108000700a32a..."} 
[2026-07-01 16:34:58] local.INFO: Packet analysis {"connection_id":119121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d59"} 
[2026-07-01 16:34:58] local.INFO: Extracted packet for processing {"connection_id":119121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d59"} 
[2026-07-01 16:34:58] local.INFO: GPS Element Parsed {"raw_longitude":763030720,"raw_latitude":98803976,"longitude_deg":76.303072,"latitude_deg":9.8803976,"altitude":7,"angle":163,"satellites":42,"speed":25,"hex_longitude":"2d7aecc0","hex_latitude":"05e3a108","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:34:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423383296001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101338348894814208,"note":"Value kept but may cause issues"} 
[2026-07-01 16:34:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8854358367683201024,"note":"Value kept but may cause issues"} 
[2026-07-01 16:34:58] 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-01 16:34:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782903851000,"timestamp_ms":1782903851000,"timestamp_seconds":1782903851,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d59c7f8"} 
[2026-07-01 16: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-01 16:34:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-01 16:34:58] 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-01 16: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-01 16: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-01 16:34:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119121,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119121,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:34: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-01 16:34:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:34:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:34:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423383296001,"66":12939,"97":206,"85":15104,"24":25,"16":101338348894814208,"45":8854358367683201024},"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-01 16:34:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:34:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:34:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423383296001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:34:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 16:34:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 16:34:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101338348894814208,"km_value":101338348894814.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:34:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8854358367683201024,"description":"Unknown IO ID 45"} 
[2026-07-01 16:34:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423383296001,"power":12939,"unknown_97":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8854358367683201024}} 
[2026-07-01 16:34:58] local.INFO: DEBUG: GPS processor result {"connection_id":119121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417825,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:34:58] local.INFO: GPS data processed {"connection_id":119121,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:34:58] local.INFO: Acknowledgment sent {"connection_id":119121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:35:25] local.INFO: TCP Data received {"connection_id":119915,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:35:25] local.INFO: Processing buffer {"connection_id":119915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:35:25] local.INFO: IMEI packet received {"connection_id":119915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 16:35:25] local.INFO: IMEI acknowledgment sent {"connection_id":119915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:35:29] local.INFO: TCP Data received {"connection_id":119121,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d5a1230012d7af7c005e37ef0000900a72b..."} 
[2026-07-01 16:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d5a1230012d7af7c005e37ef0000900a72b..."} 
[2026-07-01 16:35:29] local.INFO: Processing buffer {"connection_id":119121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d5a1230012d7af7c005e37ef0000900a72b..."} 
[2026-07-01 16:35:29] local.INFO: Packet analysis {"connection_id":119121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d5a"} 
[2026-07-01 16:35:29] local.INFO: Extracted packet for processing {"connection_id":119121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d5a"} 
[2026-07-01 16:35:29] local.INFO: GPS Element Parsed {"raw_longitude":763033536,"raw_latitude":98795248,"longitude_deg":76.3033536,"latitude_deg":9.8795248,"altitude":9,"angle":167,"satellites":43,"speed":19,"hex_longitude":"2d7af7c0","hex_latitude":"05e37ef0","is_valid_coordinates":true} 
[2026-07-01 16:35:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:35:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423385856001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:35:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101338795571412992,"note":"Value kept but may cause issues"} 
[2026-07-01 16:35:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857665698657273856,"note":"Value kept but may cause issues"} 
[2026-07-01 16:35: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-01 16:35:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782903870000,"timestamp_ms":1782903870000,"timestamp_seconds":1782903870,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d5a1230"} 
[2026-07-01 16:35:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:35:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:35:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-01 16:35: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-01 16:35:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:35:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:35:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:35:29] local.INFO: Teltonika packet parsed successfully {"connection_id":119121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:35:29] local.INFO: Passing IMEI to GPS processor {"connection_id":119121,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:35:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":119121,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:35: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-01 16:35:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:35:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:35:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423385856001,"66":12765,"97":206,"85":15104,"24":19,"16":101338795571412992,"45":8857665698657273856},"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-01 16:35:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:35:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:35:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423385856001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:35:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 16:35:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 16:35:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101338795571412992,"km_value":101338795571412.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:35:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857665698657273856,"description":"Unknown IO ID 45"} 
[2026-07-01 16:35:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423385856001,"power":12765,"unknown_97":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8857665698657273856}} 
[2026-07-01 16:35:29] local.INFO: DEBUG: GPS processor result {"connection_id":119121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417826,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:35:29] local.INFO: GPS data processed {"connection_id":119121,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:35:29] local.INFO: Acknowledgment sent {"connection_id":119121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:35:30] local.INFO: TCP Data received {"connection_id":119915,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:35:30] local.INFO: Processing buffer {"connection_id":119915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:35:30] local.INFO: IMEI packet received {"connection_id":119915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":119915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:35:31] local.INFO: TCP Data received {"connection_id":119915,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d599d00012cc1e080075737300010003f2e..."} 
[2026-07-01 16:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d599d00012cc1e080075737300010003f2e..."} 
[2026-07-01 16:35:31] local.INFO: Processing buffer {"connection_id":119915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d599d00012cc1e080075737300010003f2e..."} 
[2026-07-01 16:35:31] local.INFO: Packet analysis {"connection_id":119915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d59"} 
[2026-07-01 16:35:31] local.INFO: Extracted packet for processing {"connection_id":119915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d59"} 
[2026-07-01 16:35:31] local.INFO: GPS Element Parsed {"raw_longitude":750903424,"raw_latitude":123156272,"longitude_deg":75.0903424,"latitude_deg":12.3156272,"altitude":16,"angle":63,"satellites":46,"speed":0,"hex_longitude":"2cc1e080","hex_latitude":"07573730","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423377664001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333651107005857792,"note":"Value kept but may cause issues"} 
[2026-07-01 16:35:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4476437260589912064,"note":"Value kept but may cause issues"} 
[2026-07-01 16:35:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782903840000,"timestamp_ms":1782903840000,"timestamp_seconds":1782903840,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d599d00"} 
[2026-07-01 16: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-01 16:35:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 16:35:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16: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-01 16: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-01 16:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:35:31] 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-01 16:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423377664001,"66":27800,"103":206,"85":37120,"24":0,"16":333651107005857792,"44":-4476437260589912064},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-07-01 16:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423377664001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:35:31] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-01 16:35:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333651107005857792,"km_value":333651107005857.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:35:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4476437260589912064,"description":"Unknown IO ID 44"} 
[2026-07-01 16:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423377664001,"power":27800,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4476437260589912064}} 
[2026-07-01 16:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":119915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:35:31] local.INFO: GPS data processed {"connection_id":119915,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:35:31] local.INFO: Acknowledgment sent {"connection_id":119915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:35:35] local.INFO: TCP Data received {"connection_id":119915,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d59cbe0012cc1df00075735580015009c2f..."} 
[2026-07-01 16:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d59cbe0012cc1df00075735580015009c2f..."} 
[2026-07-01 16:35:35] local.INFO: Processing buffer {"connection_id":119915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d59cbe0012cc1df00075735580015009c2f..."} 
[2026-07-01 16:35:35] local.INFO: Packet analysis {"connection_id":119915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d59"} 
[2026-07-01 16:35:35] local.INFO: Extracted packet for processing {"connection_id":119915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d59"} 
[2026-07-01 16:35:35] local.INFO: GPS Element Parsed {"raw_longitude":750903040,"raw_latitude":123155800,"longitude_deg":75.090304,"latitude_deg":12.31558,"altitude":21,"angle":156,"satellites":47,"speed":2,"hex_longitude":"2cc1df00","hex_latitude":"07573558","is_valid_coordinates":true} 
[2026-07-01 16:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423383040001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333651132775661568,"note":"Value kept but may cause issues"} 
[2026-07-01 16:35:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4476437260589912064,"note":"Value kept but may cause issues"} 
[2026-07-01 16:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782903852000,"timestamp_ms":1782903852000,"timestamp_seconds":1782903852,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d59cbe0"} 
[2026-07-01 16:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 16:35:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:35:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":119915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":119915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":119915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423383040001,"66":27800,"103":206,"85":37120,"24":2,"16":333651132775661568,"44":-4476437260589912064},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-07-01 16:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423383040001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:35:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-01 16:35:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333651132775661568,"km_value":333651132775661.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:35:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4476437260589912064,"description":"Unknown IO ID 44"} 
[2026-07-01 16:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423383040001,"power":27800,"unknown_103":206,"unknown_85":37120,"ignition":2,"odometer":null,"unknown_44":-4476437260589912064}} 
[2026-07-01 16:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":119915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:35:35] local.INFO: GPS data processed {"connection_id":119915,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:35:35] local.INFO: Acknowledgment sent {"connection_id":119915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:35:52] local.INFO: TCP Data received {"connection_id":119236,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119236,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:35:52] local.INFO: Processing buffer {"connection_id":119236,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:35:52] local.INFO: IMEI packet received {"connection_id":119236,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 16:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":119236,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:35:57] local.INFO: TCP Data received {"connection_id":119236,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119236,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:35:57] local.INFO: Processing buffer {"connection_id":119236,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:35:57] local.INFO: IMEI packet received {"connection_id":119236,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":119236,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:35:59] local.INFO: TCP Data received {"connection_id":119236,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d5a3d28012d7b02c005e35de0000a009d2a..."} 
[2026-07-01 16:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d5a3d28012d7b02c005e35de0000a009d2a..."} 
[2026-07-01 16:35:59] local.INFO: Processing buffer {"connection_id":119236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d5a3d28012d7b02c005e35de0000a009d2a..."} 
[2026-07-01 16:35:59] local.INFO: Packet analysis {"connection_id":119236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d5a"} 
[2026-07-01 16:35:59] local.INFO: Extracted packet for processing {"connection_id":119236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d5a"} 
[2026-07-01 16:35:59] local.INFO: GPS Element Parsed {"raw_longitude":763036352,"raw_latitude":98786784,"longitude_deg":76.3036352,"latitude_deg":9.8786784,"altitude":10,"angle":157,"satellites":42,"speed":37,"hex_longitude":"2d7b02c0","hex_latitude":"05e35de0","is_valid_coordinates":true} 
[2026-07-01 16:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423390720001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101339229363109888,"note":"Value kept but may cause issues"} 
[2026-07-01 16:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8860761923398856704,"note":"Value kept but may cause issues"} 
[2026-07-01 16:35: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-01 16:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782903881000,"timestamp_ms":1782903881000,"timestamp_seconds":1782903881,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d5a3d28"} 
[2026-07-01 16:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:35:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-01 16:35: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-01 16:35:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119236,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119236,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:35:59] 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-01 16:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423390720001,"66":12798,"97":206,"85":15104,"24":37,"16":101339229363109888,"45":8860761923398856704},"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-01 16:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423390720001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:35:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 16:35:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 16:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101339229363109888,"km_value":101339229363109.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8860761923398856704,"description":"Unknown IO ID 45"} 
[2026-07-01 16:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423390720001,"power":12798,"unknown_97":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8860761923398856704}} 
[2026-07-01 16:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":119236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417829,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:35:59] local.INFO: GPS data processed {"connection_id":119236,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:35:59] local.INFO: Acknowledgment sent {"connection_id":119236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:36:20] local.INFO: TCP Data received {"connection_id":120997,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:36:20] local.INFO: Processing buffer {"connection_id":120997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:36:20] local.INFO: IMEI packet received {"connection_id":120997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 16:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":120997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:36:24] local.INFO: TCP Data received {"connection_id":120997,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:36:24] local.INFO: Processing buffer {"connection_id":120997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:36:24] local.INFO: IMEI packet received {"connection_id":120997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":120997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:36:25] local.INFO: TCP Data received {"connection_id":120997,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d5ae138012cc1a1c007577478000f01412f..."} 
[2026-07-01 16:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d5ae138012cc1a1c007577478000f01412f..."} 
[2026-07-01 16:36:25] local.INFO: Processing buffer {"connection_id":120997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d5ae138012cc1a1c007577478000f01412f..."} 
[2026-07-01 16:36:25] local.INFO: Packet analysis {"connection_id":120997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d5a"} 
[2026-07-01 16:36:25] local.INFO: Extracted packet for processing {"connection_id":120997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d5a"} 
[2026-07-01 16:36:25] local.INFO: GPS Element Parsed {"raw_longitude":750887360,"raw_latitude":123171960,"longitude_deg":75.088736,"latitude_deg":12.317196,"altitude":15,"angle":321,"satellites":47,"speed":28,"hex_longitude":"2cc1a1c0","hex_latitude":"07577478","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423401472001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333652485690359808,"note":"Value kept but may cause issues"} 
[2026-07-01 16:36:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4487696259656079360,"note":"Value kept but may cause issues"} 
[2026-07-01 16:36:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782903923000,"timestamp_ms":1782903923000,"timestamp_seconds":1782903923,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d5ae138"} 
[2026-07-01 16: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-01 16:36:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 16:36:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16: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-01 16: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-01 16:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":120997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":120997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":120997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:36:25] 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-01 16:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423401472001,"66":27767,"10":206,"85":37120,"24":28,"16":333652485690359808,"44":-4487696259656079360},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,44]} 
[2026-07-01 16:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423401472001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:36:25] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-01 16:36:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333652485690359808,"km_value":333652485690359.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:36:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4487696259656079360,"description":"Unknown IO ID 44"} 
[2026-07-01 16:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423401472001,"power":27767,"unknown_10":206,"unknown_85":37120,"ignition":28,"odometer":null,"unknown_44":-4487696259656079360}} 
[2026-07-01 16:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":120997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:36:25] local.INFO: GPS data processed {"connection_id":120997,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:36:25] local.INFO: Acknowledgment sent {"connection_id":120997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:36:26] local.INFO: TCP Data received {"connection_id":120997,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d5ae908012cc19ec007577928000f015030..."} 
[2026-07-01 16:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d5ae908012cc19ec007577928000f015030..."} 
[2026-07-01 16:36:26] local.INFO: Processing buffer {"connection_id":120997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d5ae908012cc19ec007577928000f015030..."} 
[2026-07-01 16:36:26] local.INFO: Packet analysis {"connection_id":120997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d5a"} 
[2026-07-01 16:36:26] local.INFO: Extracted packet for processing {"connection_id":120997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d5a"} 
[2026-07-01 16:36:26] local.INFO: GPS Element Parsed {"raw_longitude":750886592,"raw_latitude":123173160,"longitude_deg":75.0886592,"latitude_deg":12.317316,"altitude":15,"angle":336,"satellites":48,"speed":28,"hex_longitude":"2cc19ec0","hex_latitude":"07577928","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423404288001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333652554409836544,"note":"Value kept but may cause issues"} 
[2026-07-01 16:36:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4494099815374489600,"note":"Value kept but may cause issues"} 
[2026-07-01 16:36:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782903925000,"timestamp_ms":1782903925000,"timestamp_seconds":1782903925,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d5ae908"} 
[2026-07-01 16: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-01 16:36: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-01 16: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 16:36:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16: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-01 16: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-01 16:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":120997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":120997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":120997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:36:26] 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-01 16:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423404288001,"66":27713,"10":206,"85":37120,"24":28,"16":333652554409836544,"44":-4494099815374489600},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,44]} 
[2026-07-01 16:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423404288001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:36:26] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-01 16:36:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333652554409836544,"km_value":333652554409836.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:36:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4494099815374489600,"description":"Unknown IO ID 44"} 
[2026-07-01 16:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423404288001,"power":27713,"unknown_10":206,"unknown_85":37120,"ignition":28,"odometer":null,"unknown_44":-4494099815374489600}} 
[2026-07-01 16:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":120997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:36:26] local.INFO: GPS data processed {"connection_id":120997,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:36:26] local.INFO: Acknowledgment sent {"connection_id":120997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:36:30] local.INFO: TCP Data received {"connection_id":119236,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d5a5c68012d7b0a4005e349f8000a00a92b..."} 
[2026-07-01 16:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d5a5c68012d7b0a4005e349f8000a00a92b..."} 
[2026-07-01 16:36:30] local.INFO: Processing buffer {"connection_id":119236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d5a5c68012d7b0a4005e349f8000a00a92b..."} 
[2026-07-01 16:36:30] local.INFO: Packet analysis {"connection_id":119236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d5a"} 
[2026-07-01 16:36:30] local.INFO: Extracted packet for processing {"connection_id":119236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d5a"} 
[2026-07-01 16:36:30] local.INFO: GPS Element Parsed {"raw_longitude":763038272,"raw_latitude":98781688,"longitude_deg":76.3038272,"latitude_deg":9.8781688,"altitude":10,"angle":169,"satellites":43,"speed":23,"hex_longitude":"2d7b0a40","hex_latitude":"05e349f8","is_valid_coordinates":true} 
[2026-07-01 16:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:36:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423393536001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:36:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101339491356114944,"note":"Value kept but may cause issues"} 
[2026-07-01 16:36:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863858148140507136,"note":"Value kept but may cause issues"} 
[2026-07-01 16:36:30] 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-01 16:36:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782903889000,"timestamp_ms":1782903889000,"timestamp_seconds":1782903889,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d5a5c68"} 
[2026-07-01 16:36:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:36:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-01 16:36: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-01 16:36:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:36:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:36:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:36:30] local.INFO: Teltonika packet parsed successfully {"connection_id":119236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:36:30] local.INFO: Passing IMEI to GPS processor {"connection_id":119236,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:36:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":119236,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:36:30] 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-01 16:36:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:36:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:36:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423393536001,"66":12950,"97":206,"85":15104,"24":23,"16":101339491356114944,"45":8863858148140507136},"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-01 16:36:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:36:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:36:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423393536001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:36:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 16:36:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 16:36:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101339491356114944,"km_value":101339491356114.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:36:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863858148140507136,"description":"Unknown IO ID 45"} 
[2026-07-01 16:36:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423393536001,"power":12950,"unknown_97":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8863858148140507136}} 
[2026-07-01 16:36:30] local.INFO: DEBUG: GPS processor result {"connection_id":119236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417832,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:36:30] local.INFO: GPS data processed {"connection_id":119236,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:36:30] local.INFO: Acknowledgment sent {"connection_id":119236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:36:53] local.INFO: TCP Data received {"connection_id":119122,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119122,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:36:53] local.INFO: Processing buffer {"connection_id":119122,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:36:53] local.INFO: IMEI packet received {"connection_id":119122,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 16:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":119122,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:36:54] local.INFO: TCP Data received {"connection_id":119122,"ip":"42.106.6.39","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-01 16:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119122,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-01 16:36:54] local.INFO: Processing buffer {"connection_id":119122,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-01 16:36:54] local.INFO: IMEI packet received {"connection_id":119122,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":119122,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:36:56] local.INFO: TCP Data received {"connection_id":119122,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119122,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:36:56] local.INFO: Processing buffer {"connection_id":119122,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-01 16:36:56] local.INFO: IMEI packet received {"connection_id":119122,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":119122,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:36:57] local.INFO: TCP Data received {"connection_id":119122,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d5a7f90012d7b0c8005e33a68000a00b727..."} 
[2026-07-01 16:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d5a7f90012d7b0c8005e33a68000a00b727..."} 
[2026-07-01 16:36:57] local.INFO: Processing buffer {"connection_id":119122,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019f1d..."} 
[2026-07-01 16:36:57] local.INFO: IMEI packet received {"connection_id":119122,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":119122,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:36:58] local.INFO: TCP Data received {"connection_id":119122,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d5aaa88012d7b0e0005e322f8000900aa21..."} 
[2026-07-01 16:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d5aaa88012d7b0e0005e322f8000900aa21..."} 
[2026-07-01 16:36:58] local.INFO: Processing buffer {"connection_id":119122,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f1d5a7f90012d7b0c8005e33a68000a00b727..."} 
[2026-07-01 16:36:58] local.INFO: Packet analysis {"connection_id":119122,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f1d5a"} 
[2026-07-01 16:36:58] local.INFO: Extracted packet for processing {"connection_id":119122,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d5a"} 
[2026-07-01 16:36:58] local.INFO: GPS Element Parsed {"raw_longitude":763038848,"raw_latitude":98777704,"longitude_deg":76.3038848,"latitude_deg":9.8777704,"altitude":10,"angle":183,"satellites":39,"speed":12,"hex_longitude":"2d7b0c80","hex_latitude":"05e33a68","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423395584001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101339688924610560,"note":"Value kept but may cause issues"} 
[2026-07-01 16:36:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865969210464532480,"note":"Value kept but may cause issues"} 
[2026-07-01 16:36:58] 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-01 16:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782903898000,"timestamp_ms":1782903898000,"timestamp_seconds":1782903898,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d5a7f90"} 
[2026-07-01 16: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-01 16:36:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-01 16:36:58] 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-01 16: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-01 16: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-01 16:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119122,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119122,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:36: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-01 16:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423395584001,"66":12298,"97":206,"85":15104,"24":12,"16":101339688924610560,"45":8865969210464532480},"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-01 16:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423395584001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:36:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 16:36:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 16:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101339688924610560,"km_value":101339688924610.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:36:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865969210464532480,"description":"Unknown IO ID 45"} 
[2026-07-01 16:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423395584001,"power":12298,"unknown_97":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8865969210464532480}} 
[2026-07-01 16:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":119122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417833,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:36:58] local.INFO: GPS data processed {"connection_id":119122,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:36:58] local.INFO: Acknowledgment sent {"connection_id":119122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:36:58] local.INFO: Packet analysis {"connection_id":119122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d5a"} 
[2026-07-01 16:36:58] local.INFO: Extracted packet for processing {"connection_id":119122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d5a"} 
[2026-07-01 16:36:58] local.INFO: GPS Element Parsed {"raw_longitude":763039232,"raw_latitude":98771704,"longitude_deg":76.3039232,"latitude_deg":9.8771704,"altitude":9,"angle":170,"satellites":33,"speed":21,"hex_longitude":"2d7b0e00","hex_latitude":"05e322f8","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423397888001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101339980982386688,"note":"Value kept but may cause issues"} 
[2026-07-01 16:36:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866602529161111552,"note":"Value kept but may cause issues"} 
[2026-07-01 16:36:58] 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-01 16:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782903909000,"timestamp_ms":1782903909000,"timestamp_seconds":1782903909,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d5aaa88"} 
[2026-07-01 16: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-01 16:36:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-01 16:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-01 16:36:58] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424436969800192,"note":"Value kept but may cause issues"} 
[2026-07-01 16:36:58] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185960,"note":"Value kept but may cause issues"} 
[2026-07-01 16:36:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-01 16:36:58] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2114799634091965134,"note":"Value kept but may cause issues"} 
[2026-07-01 16:36:58] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832598,"note":"Value kept but may cause issues"} 
[2026-07-01 16:36:58] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3642005606918848718,"note":"Value kept but may cause issues"} 
[2026-07-01 16:36:58] local.WARNING: Large IO value detected {"io_id":42,"raw_value":6192449488289796,"note":"Value kept but may cause issues"} 
[2026-07-01 16:36:58] local.WARNING: Large IO value detected {"io_id":227,"raw_value":2701656071,"note":"Value kept but may cause issues"} 
[2026-07-01 16:36:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-07-01 16:36:58] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3892391290,"note":"Value kept but may cause issues"} 
[2026-07-01 16:36:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":524451,"corrected_to":0} 
[2026-07-01 16:36:58] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2666130979403333631,"note":"Value kept but may cause issues"} 
[2026-07-01 16:36:58] local.WARNING: Large IO value detected {"io_id":11,"raw_value":47336175051997184,"note":"Value kept but may cause issues"} 
[2026-07-01 16:36:58] local.WARNING: Large IO value detected {"io_id":128,"raw_value":424475809752481961,"note":"Value kept but may cause issues"} 
[2026-07-01 16:36:58] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,97,85,24,241,157,16,7,159,92,45,64,73,10,43,66,61,192,93,42,18,1,240,221,227,29,4,113,205,25,160,225,200,239,50,2,104,5,11,128],"length":534,"final_offset":664,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0},{"io_id":200,"original":524451,"validated":0}]} 
[2026-07-01 16:36:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720777318511673344,"timestamp_seconds":720777318511673.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 16: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-01 16:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119122,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119122,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:36: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-01 16:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423397888001,"66":12515,"97":206,"85":15104,"24":21,"16":101339980982386688,"45":8866602529161111552},"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-01 16:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423397888001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:36:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 16:36:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 16:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101339980982386688,"km_value":101339980982386.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:36:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866602529161111552,"description":"Unknown IO ID 45"} 
[2026-07-01 16:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423397888001,"power":12515,"unknown_97":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8866602529161111552}} 
[2026-07-01 16:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":119122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417834,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:36:58] local.INFO: GPS data processed {"connection_id":119122,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:36:58] local.INFO: Acknowledgment sent {"connection_id":119122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:36:59] local.INFO: TCP Data received {"connection_id":120997,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d5b1400012cc190c007579b38000f014d30..."} 
[2026-07-01 16:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d5b1400012cc190c007579b38000f014d30..."} 
[2026-07-01 16:36:59] local.INFO: Processing buffer {"connection_id":120997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d5b1400012cc190c007579b38000f014d30..."} 
[2026-07-01 16:36:59] local.INFO: Packet analysis {"connection_id":120997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d5b"} 
[2026-07-01 16:36:59] local.INFO: Extracted packet for processing {"connection_id":120997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d5b"} 
[2026-07-01 16:36:59] local.INFO: GPS Element Parsed {"raw_longitude":750883008,"raw_latitude":123181880,"longitude_deg":75.0883008,"latitude_deg":12.318188,"altitude":15,"angle":333,"satellites":48,"speed":39,"hex_longitude":"2cc190c0","hex_latitude":"07579b38","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423404800001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333653009676369920,"note":"Value kept but may cause issues"} 
[2026-07-01 16:36:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4494944240304314368,"note":"Value kept but may cause issues"} 
[2026-07-01 16:36:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782903936000,"timestamp_ms":1782903936000,"timestamp_seconds":1782903936,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d5b1400"} 
[2026-07-01 16: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-01 16: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-01 16:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-01 16:36:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16: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-01 16: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-01 16:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":120997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":120997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":120997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:36:59] 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-01 16:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423404800001,"66":27800,"10":206,"85":37120,"24":39,"16":333653009676369920,"44":-4494944240304314368},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,44]} 
[2026-07-01 16:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423404800001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:36:59] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-01 16:36:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333653009676369920,"km_value":333653009676369.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:36:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4494944240304314368,"description":"Unknown IO ID 44"} 
[2026-07-01 16:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423404800001,"power":27800,"unknown_10":206,"unknown_85":37120,"ignition":39,"odometer":null,"unknown_44":-4494944240304314368}} 
[2026-07-01 16:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":120997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:36:59] local.INFO: GPS data processed {"connection_id":120997,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:36:59] local.INFO: Acknowledgment sent {"connection_id":120997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:36:59] local.INFO: TCP Data received {"connection_id":119122,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d5af8a8012d7b158005e2ff70000600b123..."} 
[2026-07-01 16:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d5af8a8012d7b158005e2ff70000600b123..."} 
[2026-07-01 16:36:59] local.INFO: Processing buffer {"connection_id":119122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d5af8a8012d7b158005e2ff70000600b123..."} 
[2026-07-01 16:36:59] local.INFO: Packet analysis {"connection_id":119122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d5a"} 
[2026-07-01 16:36:59] local.INFO: Extracted packet for processing {"connection_id":119122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d5a"} 
[2026-07-01 16:36:59] local.INFO: GPS Element Parsed {"raw_longitude":763041152,"raw_latitude":98762608,"longitude_deg":76.3041152,"latitude_deg":9.8762608,"altitude":6,"angle":177,"satellites":35,"speed":22,"hex_longitude":"2d7b1580","hex_latitude":"05e2ff70","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423400704001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101340436248920064,"note":"Value kept but may cause issues"} 
[2026-07-01 16:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867024741624641536,"note":"Value kept but may cause issues"} 
[2026-07-01 16:36: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-01 16:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782903929000,"timestamp_ms":1782903929000,"timestamp_seconds":1782903929,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d5af8a8"} 
[2026-07-01 16: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-01 16:36:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-07-01 16:36:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16: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-01 16: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-01 16:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119122,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119122,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:36:59] 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-01 16:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423400704001,"66":12722,"97":206,"85":15104,"24":22,"16":101340436248920064,"45":8867024741624641536},"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-01 16:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423400704001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:36:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 16:36:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 16:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101340436248920064,"km_value":101340436248920.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867024741624641536,"description":"Unknown IO ID 45"} 
[2026-07-01 16:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423400704001,"power":12722,"unknown_97":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8867024741624641536}} 
[2026-07-01 16:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":119122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417836,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:36:59] local.INFO: GPS data processed {"connection_id":119122,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:36:59] local.INFO: Acknowledgment sent {"connection_id":119122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:37:22] local.INFO: TCP Data received {"connection_id":119917,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:37:22] local.INFO: Processing buffer {"connection_id":119917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:37:22] local.INFO: IMEI packet received {"connection_id":119917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 16:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":119917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:37:23] local.INFO: TCP Data received {"connection_id":119917,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:37:23] local.INFO: Processing buffer {"connection_id":119917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:37:23] local.INFO: IMEI packet received {"connection_id":119917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:37:23] local.INFO: IMEI acknowledgment sent {"connection_id":119917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:37:25] local.INFO: TCP Data received {"connection_id":119917,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:37:25] local.INFO: Processing buffer {"connection_id":119917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:37:25] local.INFO: IMEI packet received {"connection_id":119917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":119917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:37:26] local.INFO: TCP Data received {"connection_id":119917,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d5b3b10012cc17fc00757bcd0000f014c2e..."} 
[2026-07-01 16:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d5b3b10012cc17fc00757bcd0000f014c2e..."} 
[2026-07-01 16:37:26] local.INFO: Processing buffer {"connection_id":119917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d5b3b10012cc17fc00757bcd0000f014c2e..."} 
[2026-07-01 16:37:26] local.INFO: Packet analysis {"connection_id":119917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d5b"} 
[2026-07-01 16:37:26] local.INFO: Extracted packet for processing {"connection_id":119917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d5b"} 
[2026-07-01 16:37:26] local.INFO: GPS Element Parsed {"raw_longitude":750878656,"raw_latitude":123190480,"longitude_deg":75.0878656,"latitude_deg":12.319048,"altitude":15,"angle":332,"satellites":46,"speed":35,"hex_longitude":"2cc17fc0","hex_latitude":"0757bcd0","is_valid_coordinates":true} 
[2026-07-01 16:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:37:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423407616001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:37:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333653473532837888,"note":"Value kept but may cause issues"} 
[2026-07-01 16:37:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4498884889976031232,"note":"Value kept but may cause issues"} 
[2026-07-01 16:37:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:37:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782903946000,"timestamp_ms":1782903946000,"timestamp_seconds":1782903946,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d5b3b10"} 
[2026-07-01 16:37:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:37: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-01 16:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 16:37:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:37:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:37:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:37:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:37:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:37:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:37:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:37:26] 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-01 16:37:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:37:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:37:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423407616001,"66":27800,"10":206,"85":37120,"24":35,"16":333653473532837888,"44":-4498884889976031232},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,44]} 
[2026-07-01 16:37:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:37:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:37:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423407616001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:37:26] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-07-01 16:37:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:37:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333653473532837888,"km_value":333653473532837.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:37:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4498884889976031232,"description":"Unknown IO ID 44"} 
[2026-07-01 16:37:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423407616001,"power":27800,"unknown_10":206,"unknown_85":37120,"ignition":35,"odometer":null,"unknown_44":-4498884889976031232}} 
[2026-07-01 16:37:26] local.INFO: DEBUG: GPS processor result {"connection_id":119917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:37:26] local.INFO: GPS data processed {"connection_id":119917,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:37:26] local.INFO: Acknowledgment sent {"connection_id":119917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:37:30] local.INFO: TCP Data received {"connection_id":119122,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d5c5c20012d7b20c005e292380007015a29..."} 
[2026-07-01 16:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d5c5c20012d7b20c005e292380007015a29..."} 
[2026-07-01 16:37:30] local.INFO: Processing buffer {"connection_id":119122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d5c5c20012d7b20c005e292380007015a29..."} 
[2026-07-01 16:37:30] local.INFO: Packet analysis {"connection_id":119122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d5c"} 
[2026-07-01 16:37:30] local.INFO: Extracted packet for processing {"connection_id":119122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d5c"} 
[2026-07-01 16:37:30] local.INFO: GPS Element Parsed {"raw_longitude":763044032,"raw_latitude":98734648,"longitude_deg":76.3044032,"latitude_deg":9.8734648,"altitude":7,"angle":346,"satellites":41,"speed":11,"hex_longitude":"2d7b20c0","hex_latitude":"05e29238","is_valid_coordinates":true} 
[2026-07-01 16:37: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-01 16:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423428864001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101341905127735296,"note":"Value kept but may cause issues"} 
[2026-07-01 16:37:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872513503660955648,"note":"Value kept but may cause issues"} 
[2026-07-01 16:37:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782904020000,"timestamp_ms":1782904020000,"timestamp_seconds":1782904020,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d5c5c20"} 
[2026-07-01 16:37:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:37:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:37:30] local.INFO: IO Element 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-01 16:37:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:37: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-01 16:37:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":119122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":119122,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":119122,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:37:30] 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-01 16:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423428864001,"66":12939,"96":206,"85":15104,"24":11,"16":101341905127735296,"45":8872513503660955648},"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-01 16:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423428864001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:37:30] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-01 16:37:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 16:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101341905127735296,"km_value":101341905127735.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:37:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872513503660955648,"description":"Unknown IO ID 45"} 
[2026-07-01 16:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423428864001,"power":12939,"unknown_96":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8872513503660955648}} 
[2026-07-01 16:37:30] local.INFO: DEBUG: GPS processor result {"connection_id":119122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417838,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:37:30] local.INFO: GPS data processed {"connection_id":119122,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:37:30] local.INFO: Acknowledgment sent {"connection_id":119122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:37:30] local.INFO: TCP Data received {"connection_id":119917,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d5b69f0012cc170400757dc300010014c30..."} 
[2026-07-01 16:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d5b69f0012cc170400757dc300010014c30..."} 
[2026-07-01 16:37:30] local.INFO: Processing buffer {"connection_id":119917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d5b69f0012cc170400757dc300010014c30..."} 
[2026-07-01 16:37:30] local.INFO: Packet analysis {"connection_id":119917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d5b"} 
[2026-07-01 16:37:30] local.INFO: Extracted packet for processing {"connection_id":119917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d5b"} 
[2026-07-01 16:37:30] local.INFO: GPS Element Parsed {"raw_longitude":750874688,"raw_latitude":123198512,"longitude_deg":75.0874688,"latitude_deg":12.3198512,"altitude":16,"angle":332,"satellites":48,"speed":30,"hex_longitude":"2cc17040","hex_latitude":"0757dc30","is_valid_coordinates":true} 
[2026-07-01 16:37: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-01 16:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423410176001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333653907324534784,"note":"Value kept but may cause issues"} 
[2026-07-01 16:37:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4503669964577910784,"note":"Value kept but may cause issues"} 
[2026-07-01 16:37:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782903958000,"timestamp_ms":1782903958000,"timestamp_seconds":1782903958,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d5b69f0"} 
[2026-07-01 16:37:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:37:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:37:30] local.INFO: IO Element 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-01 16:37:30] 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-01 16:37: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-01 16:37:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":119917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":119917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":119917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:37:30] 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-01 16:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423410176001,"66":27908,"9":206,"85":37120,"24":30,"16":333653907324534784,"44":-4503669964577910784},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,44]} 
[2026-07-01 16:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423410176001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:37:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-07-01 16:37:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333653907324534784,"km_value":333653907324534.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:37:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4503669964577910784,"description":"Unknown IO ID 44"} 
[2026-07-01 16:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423410176001,"power":27908,"unknown_9":206,"unknown_85":37120,"ignition":30,"odometer":null,"unknown_44":-4503669964577910784}} 
[2026-07-01 16:37:30] local.INFO: DEBUG: GPS processor result {"connection_id":119917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:37:30] local.INFO: GPS data processed {"connection_id":119917,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:37:30] local.INFO: Acknowledgment sent {"connection_id":119917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:37:40] local.INFO: TCP Data received {"connection_id":119918,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 16:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119918,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 16:37:40] local.INFO: Processing buffer {"connection_id":119918,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 16:37:40] local.INFO: IMEI packet received {"connection_id":119918,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 16:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":119918,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:37:52] local.INFO: TCP Data received {"connection_id":119237,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119237,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:37:52] local.INFO: Processing buffer {"connection_id":119237,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:37:52] local.INFO: IMEI packet received {"connection_id":119237,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 16:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":119237,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:37:53] local.INFO: TCP Data received {"connection_id":119237,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119237,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:37:53] local.INFO: Processing buffer {"connection_id":119237,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:37:53] local.INFO: IMEI packet received {"connection_id":119237,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":119237,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:37:57] local.INFO: TCP Data received {"connection_id":119237,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119237,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:37:57] local.INFO: Processing buffer {"connection_id":119237,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:37:57] local.INFO: IMEI packet received {"connection_id":119237,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":119237,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:37:58] local.INFO: TCP Data received {"connection_id":119237,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d5c8ee8012d7b1a8005e2b5f80005016122..."} 
[2026-07-01 16:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d5c8ee8012d7b1a8005e2b5f80005016122..."} 
[2026-07-01 16:37:58] local.INFO: Processing buffer {"connection_id":119237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d5c8ee8012d7b1a8005e2b5f80005016122..."} 
[2026-07-01 16:37:58] local.INFO: Packet analysis {"connection_id":119237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d5c"} 
[2026-07-01 16:37:58] local.INFO: Extracted packet for processing {"connection_id":119237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d5c"} 
[2026-07-01 16:37:58] local.INFO: GPS Element Parsed {"raw_longitude":763042432,"raw_latitude":98743800,"longitude_deg":76.3042432,"latitude_deg":9.87438,"altitude":5,"angle":353,"satellites":34,"speed":41,"hex_longitude":"2d7b1a80","hex_latitude":"05e2b5f8","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423429120001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:37:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101342356099301376,"note":"Value kept but may cause issues"} 
[2026-07-01 16:37:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872302397428480000,"note":"Value kept but may cause issues"} 
[2026-07-01 16:37:58] 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-01 16:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782904033000,"timestamp_ms":1782904033000,"timestamp_seconds":1782904033,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d5c8ee8"} 
[2026-07-01 16: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-01 16:37:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-01 16:37:58] 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-01 16: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-01 16: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-01 16:37:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119237,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119237,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:37: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-01 16:37:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:37:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:37:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423429120001,"66":12776,"96":206,"85":15104,"24":41,"16":101342356099301376,"45":8872302397428480000},"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-01 16:37:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:37:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:37:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423429120001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:37:58] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-01 16:37:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 16:37:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101342356099301376,"km_value":101342356099301.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:37:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872302397428480000,"description":"Unknown IO ID 45"} 
[2026-07-01 16:37:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423429120001,"power":12776,"unknown_96":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8872302397428480000}} 
[2026-07-01 16:37:58] local.INFO: DEBUG: GPS processor result {"connection_id":119237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417840,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:37:58] local.INFO: GPS data processed {"connection_id":119237,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:37:58] local.INFO: Acknowledgment sent {"connection_id":119237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:38:02] local.INFO: TCP Data received {"connection_id":119917,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d5b98d0012cc15fc00757fd780010014e2f..."} 
[2026-07-01 16:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d5b98d0012cc15fc00757fd780010014e2f..."} 
[2026-07-01 16:38:02] local.INFO: Processing buffer {"connection_id":119917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d5b98d0012cc15fc00757fd780010014e2f..."} 
[2026-07-01 16:38:02] local.INFO: Packet analysis {"connection_id":119917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d5b"} 
[2026-07-01 16:38:02] local.INFO: Extracted packet for processing {"connection_id":119917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d5b"} 
[2026-07-01 16:38:02] local.INFO: GPS Element Parsed {"raw_longitude":750870464,"raw_latitude":123207032,"longitude_deg":75.0870464,"latitude_deg":12.3207032,"altitude":16,"angle":334,"satellites":47,"speed":32,"hex_longitude":"2cc15fc0","hex_latitude":"0757fd78","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423413248001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333654366886035456,"note":"Value kept but may cause issues"} 
[2026-07-01 16:38:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4508032826714869760,"note":"Value kept but may cause issues"} 
[2026-07-01 16:38:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782903970000,"timestamp_ms":1782903970000,"timestamp_seconds":1782903970,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d5b98d0"} 
[2026-07-01 16: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-01 16:38:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 16:38:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16: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-01 16: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-01 16:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":119917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":119917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":119917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:38:02] 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-01 16:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423413248001,"66":27832,"9":206,"85":37120,"24":32,"16":333654366886035456,"44":-4508032826714869760},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,44]} 
[2026-07-01 16:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423413248001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:38:02] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-07-01 16:38:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333654366886035456,"km_value":333654366886035.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:38:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4508032826714869760,"description":"Unknown IO ID 44"} 
[2026-07-01 16:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423413248001,"power":27832,"unknown_9":206,"unknown_85":37120,"ignition":32,"odometer":null,"unknown_44":-4508032826714869760}} 
[2026-07-01 16:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":119917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:38:02] local.INFO: GPS data processed {"connection_id":119917,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:38:02] local.INFO: Acknowledgment sent {"connection_id":119917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:38:20] local.INFO: TCP Data received {"connection_id":119238,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 16:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119238,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 16:38:20] local.INFO: Processing buffer {"connection_id":119238,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 16:38:20] local.INFO: IMEI packet received {"connection_id":119238,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 16:38:20] local.INFO: IMEI acknowledgment sent {"connection_id":119238,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:38:20] local.INFO: TCP Data received {"connection_id":120998,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:38:20] local.INFO: Processing buffer {"connection_id":120998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:38:20] local.INFO: IMEI packet received {"connection_id":120998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 16:38:20] local.INFO: IMEI acknowledgment sent {"connection_id":120998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:38:21] local.INFO: TCP Data received {"connection_id":120998,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:38:21] local.INFO: Processing buffer {"connection_id":120998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:38:21] local.INFO: IMEI packet received {"connection_id":120998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":120998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:38:25] local.INFO: TCP Data received {"connection_id":120998,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:38:25] local.INFO: Processing buffer {"connection_id":120998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:38:25] local.INFO: IMEI packet received {"connection_id":120998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:38:25] local.INFO: IMEI acknowledgment sent {"connection_id":120998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:38:26] local.INFO: TCP Data received {"connection_id":120998,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d5bc3c8012cc14fc007581df00010014d2e..."} 
[2026-07-01 16:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d5bc3c8012cc14fc007581df00010014d2e..."} 
[2026-07-01 16:38:26] local.INFO: Processing buffer {"connection_id":120998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d5bc3c8012cc14fc007581df00010014d2e..."} 
[2026-07-01 16:38:26] local.INFO: Packet analysis {"connection_id":120998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d5b"} 
[2026-07-01 16:38:26] local.INFO: Extracted packet for processing {"connection_id":120998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d5b"} 
[2026-07-01 16:38:26] local.INFO: GPS Element Parsed {"raw_longitude":750866368,"raw_latitude":123215344,"longitude_deg":75.0866368,"latitude_deg":12.3215344,"altitude":16,"angle":333,"satellites":46,"speed":32,"hex_longitude":"2cc14fc0","hex_latitude":"07581df0","is_valid_coordinates":true} 
[2026-07-01 16:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:38:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423416320001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:38:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333654813562634240,"note":"Value kept but may cause issues"} 
[2026-07-01 16:38:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4512677163828414464,"note":"Value kept but may cause issues"} 
[2026-07-01 16:38:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:38:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782903981000,"timestamp_ms":1782903981000,"timestamp_seconds":1782903981,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d5bc3c8"} 
[2026-07-01 16:38:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:38: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-01 16:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-01 16:38:26] 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-01 16:38:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:38:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:38:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:38:26] local.INFO: Teltonika packet parsed successfully {"connection_id":120998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:38:26] local.INFO: Passing IMEI to GPS processor {"connection_id":120998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:38:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":120998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:38:26] 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-01 16:38:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:38:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:38:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423416320001,"66":27821,"9":206,"85":37120,"24":32,"16":333654813562634240,"44":-4512677163828414464},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,44]} 
[2026-07-01 16:38:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:38:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:38:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423416320001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:38:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-07-01 16:38:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:38:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333654813562634240,"km_value":333654813562634.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:38:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4512677163828414464,"description":"Unknown IO ID 44"} 
[2026-07-01 16:38:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423416320001,"power":27821,"unknown_9":206,"unknown_85":37120,"ignition":32,"odometer":null,"unknown_44":-4512677163828414464}} 
[2026-07-01 16:38:26] local.INFO: DEBUG: GPS processor result {"connection_id":120998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:38:26] local.INFO: GPS data processed {"connection_id":120998,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:38:26] local.INFO: Acknowledgment sent {"connection_id":120998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:38:29] local.INFO: TCP Data received {"connection_id":119237,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d5cae28012d7b154005e2d9d0000301611c..."} 
[2026-07-01 16:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d5cae28012d7b154005e2d9d0000301611c..."} 
[2026-07-01 16:38:29] local.INFO: Processing buffer {"connection_id":119237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d5cae28012d7b154005e2d9d0000301611c..."} 
[2026-07-01 16:38:29] local.INFO: Packet analysis {"connection_id":119237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d5c"} 
[2026-07-01 16:38:29] local.INFO: Extracted packet for processing {"connection_id":119237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d5c"} 
[2026-07-01 16:38:29] local.INFO: GPS Element Parsed {"raw_longitude":763041088,"raw_latitude":98752976,"longitude_deg":76.3041088,"latitude_deg":9.8752976,"altitude":3,"angle":353,"satellites":28,"speed":43,"hex_longitude":"2d7b1540","hex_latitude":"05e2d9d0","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:38:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423432448001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:38:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101342807070867456,"note":"Value kept but may cause issues"} 
[2026-07-01 16:38:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870543178826381312,"note":"Value kept but may cause issues"} 
[2026-07-01 16:38:29] 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-01 16:38:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782904041000,"timestamp_ms":1782904041000,"timestamp_seconds":1782904041,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d5cae28"} 
[2026-07-01 16: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-01 16:38:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:38:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-01 16:38: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-01 16: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-01 16: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-01 16:38:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:38:29] local.INFO: Teltonika packet parsed successfully {"connection_id":119237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:38:29] local.INFO: Passing IMEI to GPS processor {"connection_id":119237,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:38:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":119237,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:38: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-01 16:38:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:38:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:38:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423432448001,"66":12385,"96":206,"85":15104,"24":43,"16":101342807070867456,"45":8870543178826381312},"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-01 16:38:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:38:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:38:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423432448001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:38:29] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-01 16:38:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 16:38:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101342807070867456,"km_value":101342807070867.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:38:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870543178826381312,"description":"Unknown IO ID 45"} 
[2026-07-01 16:38:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423432448001,"power":12385,"unknown_96":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8870543178826381312}} 
[2026-07-01 16:38:29] local.INFO: DEBUG: GPS processor result {"connection_id":119237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417843,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:38:29] local.INFO: GPS data processed {"connection_id":119237,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:38:29] local.INFO: Acknowledgment sent {"connection_id":119237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:38:51] local.INFO: TCP Data received {"connection_id":119123,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119123,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:38:51] local.INFO: Processing buffer {"connection_id":119123,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:38:51] local.INFO: IMEI packet received {"connection_id":119123,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 16:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":119123,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:38:56] local.INFO: TCP Data received {"connection_id":119123,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119123,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:38:56] local.INFO: Processing buffer {"connection_id":119123,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:38:56] local.INFO: IMEI packet received {"connection_id":119123,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":119123,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:38:56] local.INFO: TCP Data received {"connection_id":120998,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d5c15d0012cc14280075839780011015031..."} 
[2026-07-01 16:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d5c15d0012cc14280075839780011015031..."} 
[2026-07-01 16:38:56] local.INFO: Processing buffer {"connection_id":120998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d5c15d0012cc14280075839780011015031..."} 
[2026-07-01 16:38:56] local.INFO: Packet analysis {"connection_id":120998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d5c"} 
[2026-07-01 16:38:56] local.INFO: Extracted packet for processing {"connection_id":120998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d5c"} 
[2026-07-01 16:38:56] local.INFO: GPS Element Parsed {"raw_longitude":750862976,"raw_latitude":123222392,"longitude_deg":75.0862976,"latitude_deg":12.3222392,"altitude":17,"angle":336,"satellites":49,"speed":13,"hex_longitude":"2cc14280","hex_latitude":"07583978","is_valid_coordinates":true} 
[2026-07-01 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-01 16:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423419136001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:38:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333655195814723584,"note":"Value kept but may cause issues"} 
[2026-07-01 16:38:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4517180763453657088,"note":"Value kept but may cause issues"} 
[2026-07-01 16:38:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:38:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782904002000,"timestamp_ms":1782904002000,"timestamp_seconds":1782904002,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d5c15d0"} 
[2026-07-01 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-01 16:38:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 16:38:56] 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-01 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-01 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-01 16:38:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:38:56] local.INFO: Teltonika packet parsed successfully {"connection_id":120998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:38:56] local.INFO: Passing IMEI to GPS processor {"connection_id":120998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:38:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":120998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:38:56] 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-01 16:38:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:38:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:38:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423419136001,"66":27821,"11":206,"85":37120,"24":13,"16":333655195814723584,"44":-4517180763453657088},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,44]} 
[2026-07-01 16:38:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423419136001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:38:56] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-07-01 16:38:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333655195814723584,"km_value":333655195814723.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:38:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4517180763453657088,"description":"Unknown IO ID 44"} 
[2026-07-01 16:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423419136001,"power":27821,"unknown_11":206,"unknown_85":37120,"ignition":13,"odometer":null,"unknown_44":-4517180763453657088}} 
[2026-07-01 16:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":120998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:38:56] local.INFO: GPS data processed {"connection_id":120998,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:38:56] local.INFO: Acknowledgment sent {"connection_id":120998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:38:57] local.INFO: TCP Data received {"connection_id":119123,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d5cdd08012d7b0fc005e2fcc0000001631a..."} 
[2026-07-01 16:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d5cdd08012d7b0fc005e2fcc0000001631a..."} 
[2026-07-01 16:38:57] local.INFO: Processing buffer {"connection_id":119123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d5cdd08012d7b0fc005e2fcc0000001631a..."} 
[2026-07-01 16:38:57] local.INFO: Packet analysis {"connection_id":119123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d5c"} 
[2026-07-01 16:38:57] local.INFO: Extracted packet for processing {"connection_id":119123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d5c"} 
[2026-07-01 16:38:57] local.INFO: GPS Element Parsed {"raw_longitude":763039680,"raw_latitude":98761920,"longitude_deg":76.303968,"latitude_deg":9.876192,"altitude":0,"angle":355,"satellites":26,"speed":10,"hex_longitude":"2d7b0fc0","hex_latitude":"05e2fcc0","is_valid_coordinates":true} 
[2026-07-01 16:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423434496001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101343245157531648,"note":"Value kept but may cause issues"} 
[2026-07-01 16:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869065435200999424,"note":"Value kept but may cause issues"} 
[2026-07-01 16:38:57] 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-01 16:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782904053000,"timestamp_ms":1782904053000,"timestamp_seconds":1782904053,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d5cdd08"} 
[2026-07-01 16:38:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:38:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 16:38:57] 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-01 16:38:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:38:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:38: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-01 16:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423434496001,"66":12232,"96":206,"85":15104,"24":10,"16":101343245157531648,"45":8869065435200999424},"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-01 16:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423434496001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:38:57] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-01 16:38:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 16:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101343245157531648,"km_value":101343245157531.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869065435200999424,"description":"Unknown IO ID 45"} 
[2026-07-01 16:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423434496001,"power":12232,"unknown_96":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8869065435200999424}} 
[2026-07-01 16:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":119123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417845,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:38:57] local.INFO: GPS data processed {"connection_id":119123,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:38:57] local.INFO: Acknowledgment sent {"connection_id":119123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:39:18] local.INFO: TCP Data received {"connection_id":119920,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:39:18] local.INFO: Processing buffer {"connection_id":119920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:39:18] local.INFO: IMEI packet received {"connection_id":119920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 16:39:18] local.INFO: IMEI acknowledgment sent {"connection_id":119920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:39:20] local.INFO: TCP Data received {"connection_id":119920,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:39:20] local.INFO: Processing buffer {"connection_id":119920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:39:20] local.INFO: IMEI packet received {"connection_id":119920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:39:20] local.INFO: IMEI acknowledgment sent {"connection_id":119920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:39:25] local.INFO: TCP Data received {"connection_id":119920,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:39:25] local.INFO: Processing buffer {"connection_id":119920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:39:25] local.INFO: IMEI packet received {"connection_id":119920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:39:25] local.INFO: IMEI acknowledgment sent {"connection_id":119920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:39:26] local.INFO: TCP Data received {"connection_id":119920,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d5c4c80012cc1320007585a900011015130..."} 
[2026-07-01 16:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d5c4c80012cc1320007585a900011015130..."} 
[2026-07-01 16:39:26] local.INFO: Processing buffer {"connection_id":119920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d5c4c80012cc1320007585a900011015130..."} 
[2026-07-01 16:39:26] local.INFO: Packet analysis {"connection_id":119920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d5c"} 
[2026-07-01 16:39:26] local.INFO: Extracted packet for processing {"connection_id":119920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d5c"} 
[2026-07-01 16:39:26] local.INFO: GPS Element Parsed {"raw_longitude":750858752,"raw_latitude":123230864,"longitude_deg":75.0858752,"latitude_deg":12.3230864,"altitude":17,"angle":337,"satellites":48,"speed":33,"hex_longitude":"2cc13200","hex_latitude":"07585a90","is_valid_coordinates":true} 
[2026-07-01 16:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:39:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423424512001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:39:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333655651081256960,"note":"Value kept but may cause issues"} 
[2026-07-01 16:39:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4520910306893268992,"note":"Value kept but may cause issues"} 
[2026-07-01 16:39:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:39:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782904016000,"timestamp_ms":1782904016000,"timestamp_seconds":1782904016,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d5c4c80"} 
[2026-07-01 16:39:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:39:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 16:39:26] 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-01 16:39:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:39:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:39:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:39:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:39:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:39:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:39:26] 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-01 16:39:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:39:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:39:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423424512001,"66":27767,"115":206,"85":37120,"24":33,"16":333655651081256960,"44":-4520910306893268992},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,44]} 
[2026-07-01 16:39:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:39:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:39:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423424512001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:39:26] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-01 16:39:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:39:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333655651081256960,"km_value":333655651081256.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:39:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4520910306893268992,"description":"Unknown IO ID 44"} 
[2026-07-01 16:39:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423424512001,"power":27767,"unknown_115":206,"unknown_85":37120,"ignition":33,"odometer":null,"unknown_44":-4520910306893268992}} 
[2026-07-01 16:39:26] local.INFO: DEBUG: GPS processor result {"connection_id":119920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:39:26] local.INFO: GPS data processed {"connection_id":119920,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:39:26] local.INFO: Acknowledgment sent {"connection_id":119920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:39:28] local.INFO: TCP Data received {"connection_id":119123,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d5d1f70012d7b0b4005e311f0000001581e..."} 
[2026-07-01 16:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d5d1f70012d7b0b4005e311f0000001581e..."} 
[2026-07-01 16:39:28] local.INFO: Processing buffer {"connection_id":119123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d5d1f70012d7b0b4005e311f0000001581e..."} 
[2026-07-01 16:39:28] local.INFO: Packet analysis {"connection_id":119123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d5d"} 
[2026-07-01 16:39:28] local.INFO: Extracted packet for processing {"connection_id":119123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d5d"} 
[2026-07-01 16:39:28] local.INFO: GPS Element Parsed {"raw_longitude":763038528,"raw_latitude":98767344,"longitude_deg":76.3038528,"latitude_deg":9.8767344,"altitude":0,"angle":344,"satellites":30,"speed":17,"hex_longitude":"2d7b0b40","hex_latitude":"05e311f0","is_valid_coordinates":true} 
[2026-07-01 16:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423437568001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101343541510275072,"note":"Value kept but may cause issues"} 
[2026-07-01 16:39:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867517322831380480,"note":"Value kept but may cause issues"} 
[2026-07-01 16:39:28] 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-01 16:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782904070000,"timestamp_ms":1782904070000,"timestamp_seconds":1782904070,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d5d1f70"} 
[2026-07-01 16:39:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:39:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-01 16:39:28] 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-01 16:39:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:39:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:39: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-01 16:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423437568001,"66":12765,"96":206,"85":15104,"24":17,"16":101343541510275072,"45":8867517322831380480},"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-01 16:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423437568001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:39:28] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-07-01 16:39:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 16:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101343541510275072,"km_value":101343541510275.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:39:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867517322831380480,"description":"Unknown IO ID 45"} 
[2026-07-01 16:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423437568001,"power":12765,"unknown_96":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8867517322831380480}} 
[2026-07-01 16:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":119123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417847,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:39:28] local.INFO: GPS data processed {"connection_id":119123,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:39:28] local.INFO: Acknowledgment sent {"connection_id":119123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:39:51] local.INFO: TCP Data received {"connection_id":119239,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119239,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:39:51] local.INFO: Processing buffer {"connection_id":119239,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:39:51] local.INFO: IMEI packet received {"connection_id":119239,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 16:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":119239,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:39:57] local.INFO: TCP Data received {"connection_id":119239,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119239,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:39:57] local.INFO: Processing buffer {"connection_id":119239,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:39:57] local.INFO: IMEI packet received {"connection_id":119239,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":119239,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:39:58] local.INFO: TCP Data received {"connection_id":119239,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d5ea228012d7ace8005e40ab8000a015228..."} 
[2026-07-01 16:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d5ea228012d7ace8005e40ab8000a015228..."} 
[2026-07-01 16:39:58] local.INFO: Processing buffer {"connection_id":119239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d5ea228012d7ace8005e40ab8000a015228..."} 
[2026-07-01 16:39:58] local.INFO: Packet analysis {"connection_id":119239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d5e"} 
[2026-07-01 16:39:58] local.INFO: Extracted packet for processing {"connection_id":119239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d5e"} 
[2026-07-01 16:39:58] local.INFO: GPS Element Parsed {"raw_longitude":763022976,"raw_latitude":98831032,"longitude_deg":76.3022976,"latitude_deg":9.8831032,"altitude":10,"angle":338,"satellites":40,"speed":28,"hex_longitude":"2d7ace80","hex_latitude":"05e40ab8","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:39:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423466240001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:39:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101346749850845184,"note":"Value kept but may cause issues"} 
[2026-07-01 16:39:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849925136804059136,"note":"Value kept but may cause issues"} 
[2026-07-01 16:39:58] 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-01 16:39:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782904169000,"timestamp_ms":1782904169000,"timestamp_seconds":1782904169,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d5ea228"} 
[2026-07-01 16: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-01 16:39:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-01 16:39:58] 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-01 16: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-01 16: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-01 16:39:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:39:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:39:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119239,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:39:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119239,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:39: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-01 16:39:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:39:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:39:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423466240001,"66":12298,"97":206,"85":15104,"24":28,"16":101346749850845184,"45":8849925136804059136},"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-01 16:39:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:39:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:39:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423466240001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:39:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 16:39:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 16:39:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101346749850845184,"km_value":101346749850845.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:39:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849925136804059136,"description":"Unknown IO ID 45"} 
[2026-07-01 16:39:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423466240001,"power":12298,"unknown_97":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8849925136804059136}} 
[2026-07-01 16:39:58] local.INFO: DEBUG: GPS processor result {"connection_id":119239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417848,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:39:58] local.INFO: GPS data processed {"connection_id":119239,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:39:58] local.INFO: Acknowledgment sent {"connection_id":119239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:39:58] local.INFO: TCP Data received {"connection_id":119920,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d5e2910012cc082c00759ce20000d01412e..."} 
[2026-07-01 16:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d5e2910012cc082c00759ce20000d01412e..."} 
[2026-07-01 16:39:58] local.INFO: Processing buffer {"connection_id":119920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d5e2910012cc082c00759ce20000d01412e..."} 
[2026-07-01 16:39:58] local.INFO: Packet analysis {"connection_id":119920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d5e"} 
[2026-07-01 16:39:58] local.INFO: Extracted packet for processing {"connection_id":119920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d5e"} 
[2026-07-01 16:39:58] local.INFO: GPS Element Parsed {"raw_longitude":750813888,"raw_latitude":123325984,"longitude_deg":75.0813888,"latitude_deg":12.3325984,"altitude":13,"angle":321,"satellites":46,"speed":29,"hex_longitude":"2cc082c0","hex_latitude":"0759ce20","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:39:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423458304001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:39:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333660736322535424,"note":"Value kept but may cause issues"} 
[2026-07-01 16:39:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4573194283791378432,"note":"Value kept but may cause issues"} 
[2026-07-01 16:39:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:39:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782904138000,"timestamp_ms":1782904138000,"timestamp_seconds":1782904138,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d5e2910"} 
[2026-07-01 16: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-01 16:39:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 16:39:58] 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-01 16: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-01 16: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-01 16:39:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:39:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:39:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:39:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:39:58] 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-01 16:39:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:39:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:39:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423458304001,"66":27745,"94":206,"85":37120,"24":29,"16":333660736322535424,"44":-4573194283791378432},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,44]} 
[2026-07-01 16:39:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:39:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:39:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423458304001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:39:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-07-01 16:39:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:39:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333660736322535424,"km_value":333660736322535.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:39:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4573194283791378432,"description":"Unknown IO ID 44"} 
[2026-07-01 16:39:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423458304001,"power":27745,"unknown_94":206,"unknown_85":37120,"ignition":29,"odometer":null,"unknown_44":-4573194283791378432}} 
[2026-07-01 16:39:58] local.INFO: DEBUG: GPS processor result {"connection_id":119920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:39:58] local.INFO: GPS data processed {"connection_id":119920,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:39:58] local.INFO: Acknowledgment sent {"connection_id":119920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:40:20] local.INFO: TCP Data received {"connection_id":119921,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:40:20] local.INFO: Processing buffer {"connection_id":119921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:40:20] local.INFO: IMEI packet received {"connection_id":119921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 16:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":119921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:40:21] local.INFO: TCP Data received {"connection_id":119921,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:40:21] local.INFO: Processing buffer {"connection_id":119921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:40:21] local.INFO: IMEI packet received {"connection_id":119921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":119921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:40:25] local.INFO: TCP Data received {"connection_id":119921,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:40:25] local.INFO: Processing buffer {"connection_id":119921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:40:25] local.INFO: IMEI packet received {"connection_id":119921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":119921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:40:33] local.INFO: TCP Data received {"connection_id":119921,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d5e4850012cc073400759e308000d014c2d..."} 
[2026-07-01 16:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d5e4850012cc073400759e308000d014c2d..."} 
[2026-07-01 16:40:33] local.INFO: Processing buffer {"connection_id":119921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d5e4850012cc073400759e308000d014c2d..."} 
[2026-07-01 16:40:33] local.INFO: Packet analysis {"connection_id":119921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d5e"} 
[2026-07-01 16:40:33] local.INFO: Extracted packet for processing {"connection_id":119921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d5e"} 
[2026-07-01 16:40:33] local.INFO: GPS Element Parsed {"raw_longitude":750809920,"raw_latitude":123331336,"longitude_deg":75.080992,"latitude_deg":12.3331336,"altitude":13,"angle":332,"satellites":45,"speed":30,"hex_longitude":"2cc07340","hex_latitude":"0759e308","is_valid_coordinates":true} 
[2026-07-01 16:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423459328001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333661058445082624,"note":"Value kept but may cause issues"} 
[2026-07-01 16:40:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4574883133651017728,"note":"Value kept but may cause issues"} 
[2026-07-01 16:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782904146000,"timestamp_ms":1782904146000,"timestamp_seconds":1782904146,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d5e4850"} 
[2026-07-01 16:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:40: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-01 16:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 16:40:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:40:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":119921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":119921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":119921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:40:33] 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-01 16:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423459328001,"66":27832,"94":206,"85":37120,"24":30,"16":333661058445082624,"44":-4574883133651017728},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,44]} 
[2026-07-01 16:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423459328001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:40:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-07-01 16:40:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333661058445082624,"km_value":333661058445082.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:40:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4574883133651017728,"description":"Unknown IO ID 44"} 
[2026-07-01 16:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423459328001,"power":27832,"unknown_94":206,"unknown_85":37120,"ignition":30,"odometer":null,"unknown_44":-4574883133651017728}} 
[2026-07-01 16:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":119921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:40:33] local.INFO: GPS data processed {"connection_id":119921,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:40:33] local.INFO: Acknowledgment sent {"connection_id":119921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:40:41] local.INFO: TCP Data received {"connection_id":119239,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d5eade0012d7ac98005e412f8000b014229..."} 
[2026-07-01 16:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d5eade0012d7ac98005e412f8000b014229..."} 
[2026-07-01 16:40:41] local.INFO: Processing buffer {"connection_id":119239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d5eade0012d7ac98005e412f8000b014229..."} 
[2026-07-01 16:40:41] local.INFO: Packet analysis {"connection_id":119239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d5e"} 
[2026-07-01 16:40:41] local.INFO: Extracted packet for processing {"connection_id":119239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d5e"} 
[2026-07-01 16:40:41] local.INFO: GPS Element Parsed {"raw_longitude":763021696,"raw_latitude":98833144,"longitude_deg":76.3021696,"latitude_deg":9.8833144,"altitude":11,"angle":322,"satellites":41,"speed":36,"hex_longitude":"2d7ac980","hex_latitude":"05e412f8","is_valid_coordinates":true} 
[2026-07-01 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-01 16:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423467264001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101346870109929472,"note":"Value kept but may cause issues"} 
[2026-07-01 16:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849151080618702848,"note":"Value kept but may cause issues"} 
[2026-07-01 16:40:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782904172000,"timestamp_ms":1782904172000,"timestamp_seconds":1782904172,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d5eade0"} 
[2026-07-01 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-01 16:40:41] 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-01 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-01 16:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-07-01 16:40:41] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424436885914112,"note":"Value kept but may cause issues"} 
[2026-07-01 16:40:41] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185960,"note":"Value kept but may cause issues"} 
[2026-07-01 16:40:41] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-01 16:40:41] local.WARNING: Large IO value detected {"io_id":159,"raw_value":2116049469575101178,"note":"Value kept but may cause issues"} 
[2026-07-01 16:40:41] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832599,"note":"Value kept but may cause issues"} 
[2026-07-01 16:40:41] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3482972245077328078,"note":"Value kept but may cause issues"} 
[2026-07-01 16:40:41] local.WARNING: Large IO value detected {"io_id":227,"raw_value":3621781512,"note":"Value kept but may cause issues"} 
[2026-07-01 16:40:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-07-01 16:40:41] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3355520378,"note":"Value kept but may cause issues"} 
[2026-07-01 16:40:41] local.WARNING: Large IO value detected {"io_id":228,"raw_value":3221611442,"note":"Value kept but may cause issues"} 
[2026-07-01 16:40:41] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4160802214,"note":"Value kept but may cause issues"} 
[2026-07-01 16:40:41] local.WARNING: Large IO value detected {"io_id":5,"raw_value":96028047404171264,"note":"Value kept but may cause issues"} 
[2026-07-01 16:40:41] local.WARNING: Large IO value detected {"io_id":12,"raw_value":-1657324662872342527,"note":"Value kept but may cause issues"} 
[2026-07-01 16:40:41] local.WARNING: Large IO value detected {"io_id":192,"raw_value":424304148498940247,"note":"Value kept but may cause issues"} 
[2026-07-01 16:40:41] local.WARNING: Large IO value detected {"io_id":42,"raw_value":9851624185528324,"note":"Value kept but may cause issues"} 
[2026-07-01 16:40:41] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,97,85,24,241,157,16,14,159,146,45,64,1,9,40,10,66,134,128,253,38,123,240,145,227,29,4,113,205,46,52,228,208,39,239,50,2,104,5,12,192,42],"length":534,"final_offset":664,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-07-01 16:40:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720947747109994496,"timestamp_seconds":720947747109994.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 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-01 16:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":119239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":119239,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":119239,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423467264001,"66":12809,"97":206,"85":15104,"24":36,"16":101346870109929472,"45":8849151080618702848},"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-01 16:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423467264001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:40:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 16:40:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 16:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101346870109929472,"km_value":101346870109929.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849151080618702848,"description":"Unknown IO ID 45"} 
[2026-07-01 16:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423467264001,"power":12809,"unknown_97":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8849151080618702848}} 
[2026-07-01 16:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":119239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417851,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:40:41] local.INFO: GPS data processed {"connection_id":119239,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:40:41] local.INFO: Acknowledgment sent {"connection_id":119239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:40:54] local.INFO: TCP Data received {"connection_id":119124,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119124,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:40:54] local.INFO: Processing buffer {"connection_id":119124,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:40:54] local.INFO: IMEI packet received {"connection_id":119124,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 16:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":119124,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:40:55] local.INFO: TCP Data received {"connection_id":119124,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119124,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:40:55] local.INFO: Processing buffer {"connection_id":119124,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:40:55] local.INFO: IMEI packet received {"connection_id":119124,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":119124,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:40:56] local.INFO: TCP Data received {"connection_id":119124,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119124,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:40:56] local.INFO: Processing buffer {"connection_id":119124,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:40:56] local.INFO: IMEI packet received {"connection_id":119124,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":119124,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:40:57] local.INFO: TCP Data received {"connection_id":119124,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119124,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:40:57] local.INFO: Processing buffer {"connection_id":119124,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:40:57] local.INFO: IMEI packet received {"connection_id":119124,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":119124,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:41:07] local.INFO: TCP Data received {"connection_id":119921,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d5e5bd8012cc06dc00759f0c0000d01582f..."} 
[2026-07-01 16:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d5e5bd8012cc06dc00759f0c0000d01582f..."} 
[2026-07-01 16:41:07] local.INFO: Processing buffer {"connection_id":119921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d5e5bd8012cc06dc00759f0c0000d01582f..."} 
[2026-07-01 16:41:07] local.INFO: Packet analysis {"connection_id":119921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d5e"} 
[2026-07-01 16:41:07] local.INFO: Extracted packet for processing {"connection_id":119921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d5e"} 
[2026-07-01 16:41:07] local.INFO: GPS Element Parsed {"raw_longitude":750808512,"raw_latitude":123334848,"longitude_deg":75.0808512,"latitude_deg":12.3334848,"altitude":13,"angle":344,"satellites":47,"speed":33,"hex_longitude":"2cc06dc0","hex_latitude":"0759f0c0","is_valid_coordinates":true} 
[2026-07-01 16:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423461376001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333661243128676352,"note":"Value kept but may cause issues"} 
[2026-07-01 16:41:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4579245995788662784,"note":"Value kept but may cause issues"} 
[2026-07-01 16:41:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782904151000,"timestamp_ms":1782904151000,"timestamp_seconds":1782904151,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d5e5bd8"} 
[2026-07-01 16:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-01 16:41:07] 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-01 16:41:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":119921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":119921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":119921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423461376001,"66":27745,"94":206,"85":37120,"24":33,"16":333661243128676352,"44":-4579245995788662784},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,44]} 
[2026-07-01 16:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423461376001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:41:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-07-01 16:41:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333661243128676352,"km_value":333661243128676.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:41:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4579245995788662784,"description":"Unknown IO ID 44"} 
[2026-07-01 16:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423461376001,"power":27745,"unknown_94":206,"unknown_85":37120,"ignition":33,"odometer":null,"unknown_44":-4579245995788662784}} 
[2026-07-01 16:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":119921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:41:07] local.INFO: GPS data processed {"connection_id":119921,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:41:07] local.INFO: Acknowledgment sent {"connection_id":119921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:41:20] local.INFO: TCP Data received {"connection_id":119240,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:41:20] local.INFO: Processing buffer {"connection_id":119240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:41:20] local.INFO: IMEI packet received {"connection_id":119240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 16:41:20] local.INFO: IMEI acknowledgment sent {"connection_id":119240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:41:22] local.INFO: TCP Data received {"connection_id":119240,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:41:22] local.INFO: Processing buffer {"connection_id":119240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:41:22] local.INFO: IMEI packet received {"connection_id":119240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:41:22] local.INFO: IMEI acknowledgment sent {"connection_id":119240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:41:25] local.INFO: TCP Data received {"connection_id":119240,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:41:25] local.INFO: Processing buffer {"connection_id":119240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:41:25] local.INFO: IMEI packet received {"connection_id":119240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":119240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:41:26] local.INFO: TCP Data received {"connection_id":119240,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d5e82e8012cc060c0075a1280001101512f..."} 
[2026-07-01 16:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d5e82e8012cc060c0075a1280001101512f..."} 
[2026-07-01 16:41:26] local.INFO: Processing buffer {"connection_id":119240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d5e82e8012cc060c0075a1280001101512f..."} 
[2026-07-01 16:41:26] local.INFO: Packet analysis {"connection_id":119240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d5e"} 
[2026-07-01 16:41:26] local.INFO: Extracted packet for processing {"connection_id":119240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d5e"} 
[2026-07-01 16:41:26] local.INFO: GPS Element Parsed {"raw_longitude":750805184,"raw_latitude":123343488,"longitude_deg":75.0805184,"latitude_deg":12.3343488,"altitude":17,"angle":337,"satellites":47,"speed":33,"hex_longitude":"2cc060c0","hex_latitude":"075a1280","is_valid_coordinates":true} 
[2026-07-01 16:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:41:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423462656001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:41:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333661689805275136,"note":"Value kept but may cause issues"} 
[2026-07-01 16:41:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4580794108159672320,"note":"Value kept but may cause issues"} 
[2026-07-01 16:41:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:41:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782904161000,"timestamp_ms":1782904161000,"timestamp_seconds":1782904161,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d5e82e8"} 
[2026-07-01 16:41:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:41: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-01 16:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 16:41:26] 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-01 16:41:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:41:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:41:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:41:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:41:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:41:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:41:26] 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-01 16:41:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:41:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:41:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423462656001,"66":27593,"94":206,"85":37120,"24":33,"16":333661689805275136,"44":-4580794108159672320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,85,24,16,44]} 
[2026-07-01 16:41:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:41:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:41:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423462656001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:41:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-07-01 16:41:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:41:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333661689805275136,"km_value":333661689805275.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:41:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4580794108159672320,"description":"Unknown IO ID 44"} 
[2026-07-01 16:41:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423462656001,"power":27593,"unknown_94":206,"unknown_85":37120,"ignition":33,"odometer":null,"unknown_44":-4580794108159672320}} 
[2026-07-01 16:41:26] local.INFO: DEBUG: GPS processor result {"connection_id":119240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:41:26] local.INFO: GPS data processed {"connection_id":119240,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:41:26] local.INFO: Acknowledgment sent {"connection_id":119240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:41:57] local.INFO: TCP Data received {"connection_id":119240,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d6005a0012cbfa640075b57d0000b01522d..."} 
[2026-07-01 16:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d6005a0012cbfa640075b57d0000b01522d..."} 
[2026-07-01 16:41:57] local.INFO: Processing buffer {"connection_id":119240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d6005a0012cbfa640075b57d0000b01522d..."} 
[2026-07-01 16:41:57] local.INFO: Packet analysis {"connection_id":119240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d60"} 
[2026-07-01 16:41:57] local.INFO: Extracted packet for processing {"connection_id":119240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d60"} 
[2026-07-01 16:41:57] local.INFO: GPS Element Parsed {"raw_longitude":750757440,"raw_latitude":123426768,"longitude_deg":75.075744,"latitude_deg":12.3426768,"altitude":11,"angle":338,"satellites":45,"speed":51,"hex_longitude":"2cbfa640","hex_latitude":"075b57d0","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:41:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423488512001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:41:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333666354139758592,"note":"Value kept but may cause issues"} 
[2026-07-01 16:41:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4632585503853215744,"note":"Value kept but may cause issues"} 
[2026-07-01 16:41:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:41:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782904260000,"timestamp_ms":1782904260000,"timestamp_seconds":1782904260,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d6005a0"} 
[2026-07-01 16: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-01 16:41:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 16:41:57] 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-01 16: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-01 16: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-01 16:41:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:41:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:41:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:41:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:41:57] 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-01 16:41:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:41:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:41:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423488512001,"66":27865,"248":206,"85":37120,"24":51,"16":333666354139758592,"44":-4632585503853215744},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,85,24,16,44]} 
[2026-07-01 16:41:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:41:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:41:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423488512001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:41:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:41:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333666354139758592,"km_value":333666354139758.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:41:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4632585503853215744,"description":"Unknown IO ID 44"} 
[2026-07-01 16:41:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423488512001,"power":27865,"tamper_alert":206,"unknown_85":37120,"ignition":51,"odometer":null,"unknown_44":-4632585503853215744}} 
[2026-07-01 16:41:57] local.INFO: DEBUG: GPS processor result {"connection_id":119240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:41:57] local.INFO: GPS data processed {"connection_id":119240,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:41:57] local.INFO: Acknowledgment sent {"connection_id":119240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:42:20] local.INFO: TCP Data received {"connection_id":119241,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:42:20] local.INFO: Processing buffer {"connection_id":119241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:42:20] local.INFO: IMEI packet received {"connection_id":119241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 16:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":119241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:42:25] local.INFO: TCP Data received {"connection_id":119241,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:42:25] local.INFO: Processing buffer {"connection_id":119241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:42:25] local.INFO: IMEI packet received {"connection_id":119241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":119241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:42:26] local.INFO: TCP Data received {"connection_id":119241,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d6020f8012cbf9740075b7a40000d014f2c..."} 
[2026-07-01 16:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d6020f8012cbf9740075b7a40000d014f2c..."} 
[2026-07-01 16:42:26] local.INFO: Processing buffer {"connection_id":119241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d6020f8012cbf9740075b7a40000d014f2c..."} 
[2026-07-01 16:42:26] local.INFO: Packet analysis {"connection_id":119241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d60"} 
[2026-07-01 16:42:26] local.INFO: Extracted packet for processing {"connection_id":119241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d60"} 
[2026-07-01 16:42:26] local.INFO: GPS Element Parsed {"raw_longitude":750753600,"raw_latitude":123435584,"longitude_deg":75.07536,"latitude_deg":12.3435584,"altitude":13,"angle":335,"satellites":44,"speed":56,"hex_longitude":"2cbf9740","hex_latitude":"075b7a40","is_valid_coordinates":true} 
[2026-07-01 16:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423490560001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333666817996226560,"note":"Value kept but may cause issues"} 
[2026-07-01 16:42:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4636948365989916672,"note":"Value kept but may cause issues"} 
[2026-07-01 16:42:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782904267000,"timestamp_ms":1782904267000,"timestamp_seconds":1782904267,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d6020f8"} 
[2026-07-01 16:42:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:42: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-01 16:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 16:42:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:42:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:42:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:42:26] 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-01 16:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423490560001,"66":27745,"248":206,"85":37120,"24":56,"16":333666817996226560,"44":-4636948365989916672},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,85,24,16,44]} 
[2026-07-01 16:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423490560001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:42:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333666817996226560,"km_value":333666817996226.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:42:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4636948365989916672,"description":"Unknown IO ID 44"} 
[2026-07-01 16:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423490560001,"power":27745,"tamper_alert":206,"unknown_85":37120,"ignition":56,"odometer":null,"unknown_44":-4636948365989916672}} 
[2026-07-01 16:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":119241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:42:26] local.INFO: GPS data processed {"connection_id":119241,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:42:26] local.INFO: Acknowledgment sent {"connection_id":119241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:42:57] local.INFO: TCP Data received {"connection_id":119241,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d603c50012cbf8780075b9d70000c01542e..."} 
[2026-07-01 16:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d603c50012cbf8780075b9d70000c01542e..."} 
[2026-07-01 16:42:57] local.INFO: Processing buffer {"connection_id":119241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d603c50012cbf8780075b9d70000c01542e..."} 
[2026-07-01 16:42:57] local.INFO: Packet analysis {"connection_id":119241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d60"} 
[2026-07-01 16:42:57] local.INFO: Extracted packet for processing {"connection_id":119241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d60"} 
[2026-07-01 16:42:57] local.INFO: GPS Element Parsed {"raw_longitude":750749568,"raw_latitude":123444592,"longitude_deg":75.0749568,"latitude_deg":12.3444592,"altitude":12,"angle":340,"satellites":46,"speed":53,"hex_longitude":"2cbf8780","hex_latitude":"075b9d70","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:42:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423492352001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:42:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333667299032563712,"note":"Value kept but may cause issues"} 
[2026-07-01 16:42:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4641170490638319616,"note":"Value kept but may cause issues"} 
[2026-07-01 16:42:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:42:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782904274000,"timestamp_ms":1782904274000,"timestamp_seconds":1782904274,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d603c50"} 
[2026-07-01 16: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-01 16:42:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 16:42:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16: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-01 16: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-01 16:42:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:42:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:42:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:42:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:42:57] 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-01 16:42:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:42:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:42:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423492352001,"66":27865,"248":206,"85":37120,"24":53,"16":333667299032563712,"44":-4641170490638319616},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,85,24,16,44]} 
[2026-07-01 16:42:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:42:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:42:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423492352001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:42:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:42:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333667299032563712,"km_value":333667299032563.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:42:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4641170490638319616,"description":"Unknown IO ID 44"} 
[2026-07-01 16:42:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423492352001,"power":27865,"tamper_alert":206,"unknown_85":37120,"ignition":53,"odometer":null,"unknown_44":-4641170490638319616}} 
[2026-07-01 16:42:57] local.INFO: DEBUG: GPS processor result {"connection_id":119241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:42:57] local.INFO: GPS data processed {"connection_id":119241,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:42:57] local.INFO: Acknowledgment sent {"connection_id":119241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:43:30] local.INFO: TCP Data received {"connection_id":119923,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:43:30] local.INFO: Processing buffer {"connection_id":119923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:43:30] local.INFO: IMEI packet received {"connection_id":119923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 16:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":119923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:43:32] local.INFO: TCP Data received {"connection_id":119923,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:43:32] local.INFO: Processing buffer {"connection_id":119923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:43:32] local.INFO: IMEI packet received {"connection_id":119923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":119923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:43:33] local.INFO: TCP Data received {"connection_id":119923,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d6057a8012cbf7bc0075bc140000c015630..."} 
[2026-07-01 16:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d6057a8012cbf7bc0075bc140000c015630..."} 
[2026-07-01 16:43:33] local.INFO: Processing buffer {"connection_id":119923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d6057a8012cbf7bc0075bc140000c015630..."} 
[2026-07-01 16:43:33] local.INFO: Packet analysis {"connection_id":119923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d60"} 
[2026-07-01 16:43:33] local.INFO: Extracted packet for processing {"connection_id":119923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d60"} 
[2026-07-01 16:43:33] local.INFO: GPS Element Parsed {"raw_longitude":750746560,"raw_latitude":123453760,"longitude_deg":75.074656,"latitude_deg":12.345376,"altitude":12,"angle":342,"satellites":48,"speed":53,"hex_longitude":"2cbf7bc0","hex_latitude":"075bc140","is_valid_coordinates":true} 
[2026-07-01 16:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423494144001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333667762889031680,"note":"Value kept but may cause issues"} 
[2026-07-01 16:43:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4645603721519206400,"note":"Value kept but may cause issues"} 
[2026-07-01 16:43:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782904281000,"timestamp_ms":1782904281000,"timestamp_seconds":1782904281,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d6057a8"} 
[2026-07-01 16:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:43:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 16:43:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:43:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":119923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":119923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":119923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:43:33] 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-01 16:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423494144001,"66":27865,"248":206,"85":37120,"24":53,"16":333667762889031680,"44":-4645603721519206400},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,85,24,16,44]} 
[2026-07-01 16:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423494144001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:43:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333667762889031680,"km_value":333667762889031.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:43:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4645603721519206400,"description":"Unknown IO ID 44"} 
[2026-07-01 16:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423494144001,"power":27865,"tamper_alert":206,"unknown_85":37120,"ignition":53,"odometer":null,"unknown_44":-4645603721519206400}} 
[2026-07-01 16:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":119923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:43:33] local.INFO: GPS data processed {"connection_id":119923,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:43:33] local.INFO: Acknowledgment sent {"connection_id":119923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:43:40] local.INFO: TCP Data received {"connection_id":121000,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 16:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121000,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 16:43:40] local.INFO: Processing buffer {"connection_id":121000,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 16:43:40] local.INFO: IMEI packet received {"connection_id":121000,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 16:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":121000,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:44:04] local.INFO: TCP Data received {"connection_id":119923,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d61fd88012cbeaf00075d4ba0001201452f..."} 
[2026-07-01 16:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d61fd88012cbeaf00075d4ba0001201452f..."} 
[2026-07-01 16:44:04] local.INFO: Processing buffer {"connection_id":119923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d61fd88012cbeaf00075d4ba0001201452f..."} 
[2026-07-01 16:44:04] local.INFO: Packet analysis {"connection_id":119923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d61"} 
[2026-07-01 16:44:04] local.INFO: Extracted packet for processing {"connection_id":119923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d61"} 
[2026-07-01 16:44:04] local.INFO: GPS Element Parsed {"raw_longitude":750694144,"raw_latitude":123554720,"longitude_deg":75.0694144,"latitude_deg":12.355472,"altitude":18,"angle":325,"satellites":47,"speed":54,"hex_longitude":"2cbeaf00","hex_latitude":"075d4ba0","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423521792001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333673294806908928,"note":"Value kept but may cause issues"} 
[2026-07-01 16:44:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4700772816928305152,"note":"Value kept but may cause issues"} 
[2026-07-01 16:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782904389000,"timestamp_ms":1782904389000,"timestamp_seconds":1782904389,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d61fd88"} 
[2026-07-01 16: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-01 16:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-01 16:44:04] 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-01 16: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-01 16: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-01 16:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":119923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":119923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":119923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:44:04] 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-01 16:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423521792001,"66":27767,"123":206,"85":37120,"24":54,"16":333673294806908928,"44":-4700772816928305152},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,85,24,16,44]} 
[2026-07-01 16:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423521792001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:44:04] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-07-01 16:44:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333673294806908928,"km_value":333673294806908.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:44:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4700772816928305152,"description":"Unknown IO ID 44"} 
[2026-07-01 16:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423521792001,"power":27767,"unknown_123":206,"unknown_85":37120,"ignition":54,"odometer":null,"unknown_44":-4700772816928305152}} 
[2026-07-01 16:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":119923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:44:04] local.INFO: GPS data processed {"connection_id":119923,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:44:04] local.INFO: Acknowledgment sent {"connection_id":119923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:44:15] local.INFO: TCP Data received {"connection_id":119924,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 16:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119924,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 16:44:15] local.INFO: Processing buffer {"connection_id":119924,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 16:44:15] local.INFO: IMEI packet received {"connection_id":119924,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 16:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":119924,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:44:20] local.INFO: TCP Data received {"connection_id":121001,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:44:20] local.INFO: Processing buffer {"connection_id":121001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:44:20] local.INFO: IMEI packet received {"connection_id":121001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 16:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":121001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:44:23] local.INFO: TCP Data received {"connection_id":121001,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:44:23] local.INFO: Processing buffer {"connection_id":121001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:44:23] local.INFO: IMEI packet received {"connection_id":121001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":121001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:44:25] local.INFO: TCP Data received {"connection_id":121001,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:44:25] local.INFO: Processing buffer {"connection_id":121001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:44:25] local.INFO: IMEI packet received {"connection_id":121001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":121001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:44:26] local.INFO: TCP Data received {"connection_id":121001,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d6218e0012cbe9700075d6a280010014231..."} 
[2026-07-01 16:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d6218e0012cbe9700075d6a280010014231..."} 
[2026-07-01 16:44:26] local.INFO: Processing buffer {"connection_id":121001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d6218e0012cbe9700075d6a280010014231..."} 
[2026-07-01 16:44:26] local.INFO: Packet analysis {"connection_id":121001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d62"} 
[2026-07-01 16:44:26] local.INFO: Extracted packet for processing {"connection_id":121001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d62"} 
[2026-07-01 16:44:26] local.INFO: GPS Element Parsed {"raw_longitude":750688000,"raw_latitude":123562536,"longitude_deg":75.0688,"latitude_deg":12.3562536,"altitude":16,"angle":322,"satellites":49,"speed":57,"hex_longitude":"2cbe9700","hex_latitude":"075d6a28","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423523584001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333673771548278784,"note":"Value kept but may cause issues"} 
[2026-07-01 16:44:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4706543053948870656,"note":"Value kept but may cause issues"} 
[2026-07-01 16:44:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782904396000,"timestamp_ms":1782904396000,"timestamp_seconds":1782904396,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d6218e0"} 
[2026-07-01 16: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-01 16:44: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-01 16: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 16:44:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:44:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16: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-01 16:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":121001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":121001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":121001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:44:26] 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-01 16:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423523584001,"66":27843,"123":206,"85":37120,"24":57,"16":333673771548278784,"44":-4706543053948870656},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,85,24,16,44]} 
[2026-07-01 16:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423523584001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:44:26] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-07-01 16:44:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333673771548278784,"km_value":333673771548278.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:44:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4706543053948870656,"description":"Unknown IO ID 44"} 
[2026-07-01 16:44:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423523584001,"power":27843,"unknown_123":206,"unknown_85":37120,"ignition":57,"odometer":null,"unknown_44":-4706543053948870656}} 
[2026-07-01 16:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":121001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:44:26] local.INFO: GPS data processed {"connection_id":121001,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:44:26] local.INFO: Acknowledgment sent {"connection_id":121001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:44:30] local.INFO: TCP Data received {"connection_id":121001,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d623438012cbe7e40075d87f8000f014130..."} 
[2026-07-01 16:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d623438012cbe7e40075d87f8000f014130..."} 
[2026-07-01 16:44:30] local.INFO: Processing buffer {"connection_id":121001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d623438012cbe7e40075d87f8000f014130..."} 
[2026-07-01 16:44:30] local.INFO: Packet analysis {"connection_id":121001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d62"} 
[2026-07-01 16:44:30] local.INFO: Extracted packet for processing {"connection_id":121001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d62"} 
[2026-07-01 16:44:30] local.INFO: GPS Element Parsed {"raw_longitude":750681664,"raw_latitude":123570168,"longitude_deg":75.0681664,"latitude_deg":12.3570168,"altitude":15,"angle":321,"satellites":48,"speed":55,"hex_longitude":"2cbe7e40","hex_latitude":"075d87f8","is_valid_coordinates":true} 
[2026-07-01 16:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423525376001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333674248289648640,"note":"Value kept but may cause issues"} 
[2026-07-01 16:44:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4713298453387925504,"note":"Value kept but may cause issues"} 
[2026-07-01 16:44:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782904403000,"timestamp_ms":1782904403000,"timestamp_seconds":1782904403,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d623438"} 
[2026-07-01 16:44:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:44:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 16:44:30] 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-01 16:44:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:44:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":121001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":121001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":121001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:44:30] 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-01 16:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423525376001,"66":27919,"123":206,"85":37120,"24":55,"16":333674248289648640,"44":-4713298453387925504},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,85,24,16,44]} 
[2026-07-01 16:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423525376001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:44:30] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-07-01 16:44:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333674248289648640,"km_value":333674248289648.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:44:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4713298453387925504,"description":"Unknown IO ID 44"} 
[2026-07-01 16:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423525376001,"power":27919,"unknown_123":206,"unknown_85":37120,"ignition":55,"odometer":null,"unknown_44":-4713298453387925504}} 
[2026-07-01 16:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":121001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:44:30] local.INFO: GPS data processed {"connection_id":121001,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:44:30] local.INFO: Acknowledgment sent {"connection_id":121001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:45:01] local.INFO: TCP Data received {"connection_id":121001,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d624f90012cbe6640075da4780010013f30..."} 
[2026-07-01 16:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d624f90012cbe6640075da4780010013f30..."} 
[2026-07-01 16:45:01] local.INFO: Processing buffer {"connection_id":121001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d624f90012cbe6640075da4780010013f30..."} 
[2026-07-01 16:45:01] local.INFO: Packet analysis {"connection_id":121001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d62"} 
[2026-07-01 16:45:01] local.INFO: Extracted packet for processing {"connection_id":121001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d62"} 
[2026-07-01 16:45:01] local.INFO: GPS Element Parsed {"raw_longitude":750675520,"raw_latitude":123577464,"longitude_deg":75.067552,"latitude_deg":12.3577464,"altitude":16,"angle":319,"satellites":48,"speed":53,"hex_longitude":"2cbe6640","hex_latitude":"075da478","is_valid_coordinates":true} 
[2026-07-01 16:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423527168001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333674707851149312,"note":"Value kept but may cause issues"} 
[2026-07-01 16:45:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4720264959059560448,"note":"Value kept but may cause issues"} 
[2026-07-01 16:45:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782904410000,"timestamp_ms":1782904410000,"timestamp_seconds":1782904410,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d624f90"} 
[2026-07-01 16:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:45:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 16:45:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:45:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":121001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":121001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":121001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:45:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423527168001,"66":27745,"123":206,"85":37120,"24":53,"16":333674707851149312,"44":-4720264959059560448},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,85,24,16,44]} 
[2026-07-01 16:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423527168001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:45:01] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-07-01 16:45:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333674707851149312,"km_value":333674707851149.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:45:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4720264959059560448,"description":"Unknown IO ID 44"} 
[2026-07-01 16:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423527168001,"power":27745,"unknown_123":206,"unknown_85":37120,"ignition":53,"odometer":null,"unknown_44":-4720264959059560448}} 
[2026-07-01 16:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":121001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:45:01] local.INFO: GPS data processed {"connection_id":121001,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:45:01] local.INFO: Acknowledgment sent {"connection_id":121001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:45:19] local.INFO: TCP Data received {"connection_id":119925,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:45:19] local.INFO: Processing buffer {"connection_id":119925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:45:19] local.INFO: IMEI packet received {"connection_id":119925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 16:45:19] local.INFO: IMEI acknowledgment sent {"connection_id":119925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:45:20] local.INFO: TCP Data received {"connection_id":119925,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:45:20] local.INFO: Processing buffer {"connection_id":119925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:45:20] local.INFO: IMEI packet received {"connection_id":119925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:45:20] local.INFO: IMEI acknowledgment sent {"connection_id":119925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:45:25] local.INFO: TCP Data received {"connection_id":119925,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:45:25] local.INFO: Processing buffer {"connection_id":119925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:45:25] local.INFO: IMEI packet received {"connection_id":119925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":119925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:45:26] local.INFO: TCP Data received {"connection_id":119925,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d632668012cbdc500075e7690000e01442f..."} 
[2026-07-01 16:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d632668012cbdc500075e7690000e01442f..."} 
[2026-07-01 16:45:26] local.INFO: Processing buffer {"connection_id":119925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d632668012cbdc500075e7690000e01442f..."} 
[2026-07-01 16:45:26] local.INFO: Packet analysis {"connection_id":119925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d63"} 
[2026-07-01 16:45:26] local.INFO: Extracted packet for processing {"connection_id":119925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d63"} 
[2026-07-01 16:45:26] local.INFO: GPS Element Parsed {"raw_longitude":750634240,"raw_latitude":123631248,"longitude_deg":75.063424,"latitude_deg":12.3631248,"altitude":14,"angle":324,"satellites":47,"speed":48,"hex_longitude":"2cbdc500","hex_latitude":"075e7690","is_valid_coordinates":true} 
[2026-07-01 16:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:45:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423541760001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:45:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333678130940084224,"note":"Value kept but may cause issues"} 
[2026-07-01 16:45:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4769171236248776704,"note":"Value kept but may cause issues"} 
[2026-07-01 16:45:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:45:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782904465000,"timestamp_ms":1782904465000,"timestamp_seconds":1782904465,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d632668"} 
[2026-07-01 16:45:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:45:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-01 16:45:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:45:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:45:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:45:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:45:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:45:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:45:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:45:26] 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-01 16:45:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:45:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:45:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423541760001,"66":27843,"112":206,"85":37120,"24":48,"16":333678130940084224,"44":-4769171236248776704},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,85,24,16,44]} 
[2026-07-01 16:45:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:45:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:45:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423541760001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:45:26] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-01 16:45:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:45:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333678130940084224,"km_value":333678130940084.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:45:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4769171236248776704,"description":"Unknown IO ID 44"} 
[2026-07-01 16:45:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423541760001,"power":27843,"unknown_112":206,"unknown_85":37120,"ignition":48,"odometer":null,"unknown_44":-4769171236248776704}} 
[2026-07-01 16:45:26] local.INFO: DEBUG: GPS processor result {"connection_id":119925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:45:26] local.INFO: GPS data processed {"connection_id":119925,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:45:26] local.INFO: Acknowledgment sent {"connection_id":119925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:45:56] local.INFO: TCP Data received {"connection_id":119925,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d6345a8012cbdabc0075e9210001001372f..."} 
[2026-07-01 16:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d6345a8012cbdabc0075e9210001001372f..."} 
[2026-07-01 16:45:56] local.INFO: Processing buffer {"connection_id":119925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d6345a8012cbdabc0075e9210001001372f..."} 
[2026-07-01 16:45:56] local.INFO: Packet analysis {"connection_id":119925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d63"} 
[2026-07-01 16:45:56] local.INFO: Extracted packet for processing {"connection_id":119925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d63"} 
[2026-07-01 16:45:56] local.INFO: GPS Element Parsed {"raw_longitude":750627776,"raw_latitude":123638288,"longitude_deg":75.0627776,"latitude_deg":12.3638288,"altitude":16,"angle":311,"satellites":47,"speed":47,"hex_longitude":"2cbdabc0","hex_latitude":"075e9210","is_valid_coordinates":true} 
[2026-07-01 16:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423543040001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333678590501584896,"note":"Value kept but may cause issues"} 
[2026-07-01 16:45:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4772408198479572992,"note":"Value kept but may cause issues"} 
[2026-07-01 16:45:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782904473000,"timestamp_ms":1782904473000,"timestamp_seconds":1782904473,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d6345a8"} 
[2026-07-01 16:45:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:45: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-01 16:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 16:45: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-01 16:45:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:45:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":119925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":119925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":119925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:45:56] 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-01 16:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423543040001,"66":27865,"112":206,"85":37120,"24":47,"16":333678590501584896,"44":-4772408198479572992},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,85,24,16,44]} 
[2026-07-01 16:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423543040001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:45:56] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-07-01 16:45:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333678590501584896,"km_value":333678590501584.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:45:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4772408198479572992,"description":"Unknown IO ID 44"} 
[2026-07-01 16:45:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423543040001,"power":27865,"unknown_112":206,"unknown_85":37120,"ignition":47,"odometer":null,"unknown_44":-4772408198479572992}} 
[2026-07-01 16:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":119925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:45:56] local.INFO: GPS data processed {"connection_id":119925,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:45:56] local.INFO: Acknowledgment sent {"connection_id":119925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:46:30] local.INFO: TCP Data received {"connection_id":119926,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:46:30] local.INFO: Processing buffer {"connection_id":119926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:46:30] local.INFO: IMEI packet received {"connection_id":119926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 16:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":119926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:46:34] local.INFO: TCP Data received {"connection_id":119926,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:46:34] local.INFO: Processing buffer {"connection_id":119926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:46:34] local.INFO: IMEI packet received {"connection_id":119926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:46:34] local.INFO: IMEI acknowledgment sent {"connection_id":119926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:46:35] local.INFO: TCP Data received {"connection_id":119926,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:46:35] local.INFO: Processing buffer {"connection_id":119926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:46:35] local.INFO: IMEI packet received {"connection_id":119926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":119926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:46:36] local.INFO: TCP Data received {"connection_id":119926,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d640510012cbd04c0075f5208000d012f2d..."} 
[2026-07-01 16:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d640510012cbd04c0075f5208000d012f2d..."} 
[2026-07-01 16:46:36] local.INFO: Processing buffer {"connection_id":119926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d640510012cbd04c0075f5208000d012f2d..."} 
[2026-07-01 16:46:36] local.INFO: Packet analysis {"connection_id":119926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d64"} 
[2026-07-01 16:46:36] local.INFO: Extracted packet for processing {"connection_id":119926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d64"} 
[2026-07-01 16:46:36] local.INFO: GPS Element Parsed {"raw_longitude":750585024,"raw_latitude":123687432,"longitude_deg":75.0585024,"latitude_deg":12.3687432,"altitude":13,"angle":303,"satellites":45,"speed":46,"hex_longitude":"2cbd04c0","hex_latitude":"075f5208","is_valid_coordinates":true} 
[2026-07-01 16:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423556864001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333681781662285824,"note":"Value kept but may cause issues"} 
[2026-07-01 16:46:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4823566275482966016,"note":"Value kept but may cause issues"} 
[2026-07-01 16:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782904522000,"timestamp_ms":1782904522000,"timestamp_seconds":1782904522,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d640510"} 
[2026-07-01 16:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 16:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":119926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":119926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":119926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423556864001,"66":27843,"113":206,"85":37120,"24":46,"16":333681781662285824,"44":-4823566275482966016},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,85,24,16,44]} 
[2026-07-01 16:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423556864001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:46:36] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-01 16:46:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333681781662285824,"km_value":333681781662285.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:46:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4823566275482966016,"description":"Unknown IO ID 44"} 
[2026-07-01 16:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423556864001,"power":27843,"unknown_113":206,"unknown_85":37120,"ignition":46,"odometer":null,"unknown_44":-4823566275482966016}} 
[2026-07-01 16:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":119926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:46:36] local.INFO: GPS data processed {"connection_id":119926,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:46:36] local.INFO: Acknowledgment sent {"connection_id":119926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:46:40] local.INFO: TCP Data received {"connection_id":119926,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d642450012cbce300075f64f0000e012a2e..."} 
[2026-07-01 16:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d642450012cbce300075f64f0000e012a2e..."} 
[2026-07-01 16:46:40] local.INFO: Processing buffer {"connection_id":119926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d642450012cbce300075f64f0000e012a2e..."} 
[2026-07-01 16:46:40] local.INFO: Packet analysis {"connection_id":119926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d64"} 
[2026-07-01 16:46:40] local.INFO: Extracted packet for processing {"connection_id":119926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d64"} 
[2026-07-01 16:46:40] local.INFO: GPS Element Parsed {"raw_longitude":750576384,"raw_latitude":123692272,"longitude_deg":75.0576384,"latitude_deg":12.3692272,"altitude":14,"angle":298,"satellites":46,"speed":51,"hex_longitude":"2cbce300","hex_latitude":"075f64f0","is_valid_coordinates":true} 
[2026-07-01 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-01 16:46:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423557632001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:46:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333682249813721088,"note":"Value kept but may cause issues"} 
[2026-07-01 16:46:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4826521762737813504,"note":"Value kept but may cause issues"} 
[2026-07-01 16:46:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:46:40] local.INFO: AVL Record Parsed {"raw_timestamp":1782904530000,"timestamp_ms":1782904530000,"timestamp_seconds":1782904530,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d642450"} 
[2026-07-01 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-01 16:46:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 16:46:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 16:46:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:46:40] local.INFO: Teltonika packet parsed successfully {"connection_id":119926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:46:40] local.INFO: Passing IMEI to GPS processor {"connection_id":119926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:46:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":119926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:46: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-01 16:46:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:46:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:46:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423557632001,"66":27767,"113":206,"85":37120,"24":51,"16":333682249813721088,"44":-4826521762737813504},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,85,24,16,44]} 
[2026-07-01 16:46:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:46:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:46:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423557632001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:46:40] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-07-01 16:46:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 16:46:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333682249813721088,"km_value":333682249813721.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:46:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4826521762737813504,"description":"Unknown IO ID 44"} 
[2026-07-01 16:46:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423557632001,"power":27767,"unknown_113":206,"unknown_85":37120,"ignition":51,"odometer":null,"unknown_44":-4826521762737813504}} 
[2026-07-01 16:46:40] local.INFO: DEBUG: GPS processor result {"connection_id":119926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:46:40] local.INFO: GPS data processed {"connection_id":119926,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:46:40] local.INFO: Acknowledgment sent {"connection_id":119926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:47:06] local.INFO: TCP Data received {"connection_id":119243,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119243,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:47:06] local.INFO: Processing buffer {"connection_id":119243,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:47:06] local.INFO: IMEI packet received {"connection_id":119243,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 16:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":119243,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:47:12] local.INFO: TCP Data received {"connection_id":119243,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119243,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:47:12] local.INFO: Processing buffer {"connection_id":119243,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:47:12] local.INFO: IMEI packet received {"connection_id":119243,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":119243,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:47:13] local.INFO: TCP Data received {"connection_id":119243,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d604fd8012d79fdc005e463b8000800ad29..."} 
[2026-07-01 16:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d604fd8012d79fdc005e463b8000800ad29..."} 
[2026-07-01 16:47:13] local.INFO: Processing buffer {"connection_id":119243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d604fd8012d79fdc005e463b8000800ad29..."} 
[2026-07-01 16:47:13] local.INFO: Packet analysis {"connection_id":119243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d60"} 
[2026-07-01 16:47:13] local.INFO: Extracted packet for processing {"connection_id":119243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d60"} 
[2026-07-01 16:47:13] local.INFO: GPS Element Parsed {"raw_longitude":762969536,"raw_latitude":98853816,"longitude_deg":76.2969536,"latitude_deg":9.8853816,"altitude":8,"angle":173,"satellites":41,"speed":6,"hex_longitude":"2d79fdc0","hex_latitude":"05e463b8","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423495168001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101349889471938560,"note":"Value kept but may cause issues"} 
[2026-07-01 16:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8790393179236225024,"note":"Value kept but may cause issues"} 
[2026-07-01 16:47: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-01 16:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1782904279000,"timestamp_ms":1782904279000,"timestamp_seconds":1782904279,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d604fd8"} 
[2026-07-01 16: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-01 16:47: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-01 16:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 16:47:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16: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-01 16: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-01 16:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":119243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":119243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":119243,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423495168001,"66":12461,"157":206,"87":12288,"24":6,"16":101349889471938560,"45":8790393179236225024},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 16:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423495168001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:47:13] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 16:47:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-01 16:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101349889471938560,"km_value":101349889471938.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8790393179236225024,"description":"Unknown IO ID 45"} 
[2026-07-01 16:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423495168001,"power":12461,"unknown_157":206,"unknown_87":12288,"ignition":6,"odometer":null,"unknown_45":8790393179236225024}} 
[2026-07-01 16:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":119243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417866,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:47:13] local.INFO: GPS data processed {"connection_id":119243,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:47:13] local.INFO: Acknowledgment sent {"connection_id":119243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:47:20] local.INFO: TCP Data received {"connection_id":119928,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:47:20] local.INFO: Processing buffer {"connection_id":119928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:47:20] local.INFO: IMEI packet received {"connection_id":119928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 16:47:20] local.INFO: IMEI acknowledgment sent {"connection_id":119928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:47:24] local.INFO: TCP Data received {"connection_id":119928,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:47:24] local.INFO: Processing buffer {"connection_id":119928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:47:24] local.INFO: IMEI packet received {"connection_id":119928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:47:24] local.INFO: IMEI acknowledgment sent {"connection_id":119928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:47:25] local.INFO: TCP Data received {"connection_id":119928,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d650eb0012cbc438007605ba8000d014e2e..."} 
[2026-07-01 16:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d650eb0012cbc438007605ba8000d014e2e..."} 
[2026-07-01 16:47:25] local.INFO: Processing buffer {"connection_id":119928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d650eb0012cbc438007605ba8000d014e2e..."} 
[2026-07-01 16:47:25] local.INFO: Packet analysis {"connection_id":119928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d65"} 
[2026-07-01 16:47:25] local.INFO: Extracted packet for processing {"connection_id":119928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d65"} 
[2026-07-01 16:47:25] local.INFO: GPS Element Parsed {"raw_longitude":750535552,"raw_latitude":123755432,"longitude_deg":75.0535552,"latitude_deg":12.3755432,"altitude":13,"angle":334,"satellites":46,"speed":40,"hex_longitude":"2cbc4380","hex_latitude":"07605ba8","is_valid_coordinates":true} 
[2026-07-01 16:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:47:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423573504001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:47:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333686089514483712,"note":"Value kept but may cause issues"} 
[2026-07-01 16:47:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4878524264669097984,"note":"Value kept but may cause issues"} 
[2026-07-01 16:47:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:47:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782904590000,"timestamp_ms":1782904590000,"timestamp_seconds":1782904590,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d650eb0"} 
[2026-07-01 16:47:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:47: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-01 16:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 16:47:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:47:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:47:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:47:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:47:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:47:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:47:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:47:25] 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-01 16:47:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:47:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:47:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423573504001,"66":27800,"218":206,"85":37888,"24":40,"16":333686089514483712,"44":-4878524264669097984},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,44]} 
[2026-07-01 16:47:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:47:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:47:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423573504001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:47:25] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-07-01 16:47:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 16:47:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333686089514483712,"km_value":333686089514483.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:47:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4878524264669097984,"description":"Unknown IO ID 44"} 
[2026-07-01 16:47:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423573504001,"power":27800,"unknown_218":206,"unknown_85":37888,"ignition":40,"odometer":null,"unknown_44":-4878524264669097984}} 
[2026-07-01 16:47:25] local.INFO: DEBUG: GPS processor result {"connection_id":119928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:47:25] local.INFO: GPS data processed {"connection_id":119928,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:47:25] local.INFO: Acknowledgment sent {"connection_id":119928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:47:51] local.INFO: TCP Data received {"connection_id":121002,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121002,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:47:51] local.INFO: Processing buffer {"connection_id":121002,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:47:51] local.INFO: IMEI packet received {"connection_id":121002,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 16:47:51] local.INFO: IMEI acknowledgment sent {"connection_id":121002,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:47:56] local.INFO: TCP Data received {"connection_id":119928,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d652df0012cbc334007607a68000d01492d..."} 
[2026-07-01 16:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d652df0012cbc334007607a68000d01492d..."} 
[2026-07-01 16:47:56] local.INFO: Processing buffer {"connection_id":119928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d652df0012cbc334007607a68000d01492d..."} 
[2026-07-01 16:47:56] local.INFO: Packet analysis {"connection_id":119928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d65"} 
[2026-07-01 16:47:56] local.INFO: Extracted packet for processing {"connection_id":119928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d65"} 
[2026-07-01 16:47:56] local.INFO: GPS Element Parsed {"raw_longitude":750531392,"raw_latitude":123763304,"longitude_deg":75.0531392,"latitude_deg":12.3763304,"altitude":13,"angle":329,"satellites":45,"speed":47,"hex_longitude":"2cbc3340","hex_latitude":"07607a68","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:47:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423575040001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:47:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333686519011213312,"note":"Value kept but may cause issues"} 
[2026-07-01 16:47:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4880916801969739776,"note":"Value kept but may cause issues"} 
[2026-07-01 16:47:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:47:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782904598000,"timestamp_ms":1782904598000,"timestamp_seconds":1782904598,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d652df0"} 
[2026-07-01 16: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-01 16:47:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 16:47:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16: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-01 16: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-01 16:47:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:47:56] local.INFO: Teltonika packet parsed successfully {"connection_id":119928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:47:56] local.INFO: Passing IMEI to GPS processor {"connection_id":119928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:47:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":119928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:47:56] 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-01 16:47:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:47:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:47:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423575040001,"66":27821,"218":206,"85":37888,"24":47,"16":333686519011213312,"44":-4880916801969739776},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,85,24,16,44]} 
[2026-07-01 16:47:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:47:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:47:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423575040001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:47:56] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-07-01 16:47:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 16:47:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333686519011213312,"km_value":333686519011213.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:47:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4880916801969739776,"description":"Unknown IO ID 44"} 
[2026-07-01 16:47:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423575040001,"power":27821,"unknown_218":206,"unknown_85":37888,"ignition":47,"odometer":null,"unknown_44":-4880916801969739776}} 
[2026-07-01 16:47:56] local.INFO: DEBUG: GPS processor result {"connection_id":119928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:47:56] local.INFO: GPS data processed {"connection_id":119928,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:47:56] local.INFO: Acknowledgment sent {"connection_id":119928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:47:57] local.INFO: TCP Data received {"connection_id":121002,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121002,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:47:57] local.INFO: Processing buffer {"connection_id":121002,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:47:57] local.INFO: IMEI packet received {"connection_id":121002,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":121002,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:47:58] local.INFO: TCP Data received {"connection_id":121002,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d6053c0012d79fdc005e463200008009629..."} 
[2026-07-01 16:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d6053c0012d79fdc005e463200008009629..."} 
[2026-07-01 16:47:58] local.INFO: Processing buffer {"connection_id":121002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d6053c0012d79fdc005e463200008009629..."} 
[2026-07-01 16:47:58] local.INFO: Packet analysis {"connection_id":121002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d60"} 
[2026-07-01 16:47:58] local.INFO: Extracted packet for processing {"connection_id":121002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d60"} 
[2026-07-01 16:47:58] local.INFO: GPS Element Parsed {"raw_longitude":762969536,"raw_latitude":98853664,"longitude_deg":76.2969536,"latitude_deg":9.8853664,"altitude":8,"angle":150,"satellites":41,"speed":6,"hex_longitude":"2d79fdc0","hex_latitude":"05e46320","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423495424001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:47:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101349898061873152,"note":"Value kept but may cause issues"} 
[2026-07-01 16:47:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8790393179236186112,"note":"Value kept but may cause issues"} 
[2026-07-01 16:47:58] 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-01 16:47:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782904280000,"timestamp_ms":1782904280000,"timestamp_seconds":1782904280,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d6053c0"} 
[2026-07-01 16: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-01 16:47:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 16:47: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-01 16: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-01 16: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-01 16:47:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:47:58] local.INFO: Teltonika packet parsed successfully {"connection_id":121002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:47:58] local.INFO: Passing IMEI to GPS processor {"connection_id":121002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:47:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":121002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:47:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:47:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:47:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:47:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423495424001,"66":12113,"157":206,"87":12288,"24":6,"16":101349898061873152,"45":8790393179236186112},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 16:47:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:47:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:47:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423495424001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:47:58] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 16:47:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-01 16:47:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101349898061873152,"km_value":101349898061873.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:47:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8790393179236186112,"description":"Unknown IO ID 45"} 
[2026-07-01 16:47:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423495424001,"power":12113,"unknown_157":206,"unknown_87":12288,"ignition":6,"odometer":null,"unknown_45":8790393179236186112}} 
[2026-07-01 16:47:58] local.INFO: DEBUG: GPS processor result {"connection_id":121002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417869,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:47:58] local.INFO: GPS data processed {"connection_id":121002,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:47:58] local.INFO: Acknowledgment sent {"connection_id":121002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:48:25] local.INFO: TCP Data received {"connection_id":119128,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:48:25] local.INFO: Processing buffer {"connection_id":119128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:48:25] local.INFO: IMEI packet received {"connection_id":119128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 16:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":119128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:48:25] local.INFO: TCP Data received {"connection_id":119128,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:48:25] local.INFO: Processing buffer {"connection_id":119128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:48:25] local.INFO: IMEI packet received {"connection_id":119128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":119128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:48:30] local.INFO: TCP Data received {"connection_id":119128,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:48:30] local.INFO: Processing buffer {"connection_id":119128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:48:30] local.INFO: IMEI packet received {"connection_id":119128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":119128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:48:31] local.INFO: TCP Data received {"connection_id":121002,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d608688012d79fe8005e463f8000500652a..."} 
[2026-07-01 16:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d608688012d79fe8005e463f8000500652a..."} 
[2026-07-01 16:48:31] local.INFO: Processing buffer {"connection_id":121002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d608688012d79fe8005e463f8000500652a..."} 
[2026-07-01 16:48:31] local.INFO: Packet analysis {"connection_id":121002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d60"} 
[2026-07-01 16:48:31] local.INFO: Extracted packet for processing {"connection_id":121002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d60"} 
[2026-07-01 16:48:31] local.INFO: GPS Element Parsed {"raw_longitude":762969728,"raw_latitude":98853880,"longitude_deg":76.2969728,"latitude_deg":9.885388,"altitude":5,"angle":101,"satellites":42,"speed":9,"hex_longitude":"2d79fe80","hex_latitude":"05e463f8","is_valid_coordinates":true} 
[2026-07-01 16:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423495680001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101349936716578816,"note":"Value kept but may cause issues"} 
[2026-07-01 16:48:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8790393179236147200,"note":"Value kept but may cause issues"} 
[2026-07-01 16:48:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782904293000,"timestamp_ms":1782904293000,"timestamp_seconds":1782904293,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d608688"} 
[2026-07-01 16:48:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:48:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-07-01 16:48:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:48:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:48:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":121002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":121002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":121002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:48:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423495680001,"66":12906,"157":206,"87":12288,"24":9,"16":101349936716578816,"45":8790393179236147200},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 16:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423495680001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:48:31] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 16:48:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-01 16:48:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101349936716578816,"km_value":101349936716578.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:48:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8790393179236147200,"description":"Unknown IO ID 45"} 
[2026-07-01 16:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423495680001,"power":12906,"unknown_157":206,"unknown_87":12288,"ignition":9,"odometer":null,"unknown_45":8790393179236147200}} 
[2026-07-01 16:48:31] local.INFO: DEBUG: GPS processor result {"connection_id":121002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417870,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:48:31] local.INFO: GPS data processed {"connection_id":121002,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:48:31] local.INFO: Acknowledgment sent {"connection_id":121002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:48:31] local.INFO: TCP Data received {"connection_id":119128,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d654d30012cbc1e4007609978000e014230..."} 
[2026-07-01 16:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d654d30012cbc1e4007609978000e014230..."} 
[2026-07-01 16:48:31] local.INFO: Processing buffer {"connection_id":119128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d654d30012cbc1e4007609978000e014230..."} 
[2026-07-01 16:48:31] local.INFO: Packet analysis {"connection_id":119128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d65"} 
[2026-07-01 16:48:31] local.INFO: Extracted packet for processing {"connection_id":119128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d65"} 
[2026-07-01 16:48:31] local.INFO: GPS Element Parsed {"raw_longitude":750526016,"raw_latitude":123771256,"longitude_deg":75.0526016,"latitude_deg":12.3771256,"altitude":14,"angle":322,"satellites":48,"speed":43,"hex_longitude":"2cbc1e40","hex_latitude":"07609978","is_valid_coordinates":true} 
[2026-07-01 16:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423577088001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333686982867681280,"note":"Value kept but may cause issues"} 
[2026-07-01 16:48:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4885490770339272704,"note":"Value kept but may cause issues"} 
[2026-07-01 16:48:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782904606000,"timestamp_ms":1782904606000,"timestamp_seconds":1782904606,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d654d30"} 
[2026-07-01 16:48:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:48:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 16:48:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:48:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:48:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:48:31] 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-01 16:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423577088001,"66":27919,"217":206,"85":37888,"24":43,"16":333686982867681280,"44":-4885490770339272704},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,44]} 
[2026-07-01 16:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423577088001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:48:31] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-01 16:48:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 16:48:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333686982867681280,"km_value":333686982867681.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:48:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4885490770339272704,"description":"Unknown IO ID 44"} 
[2026-07-01 16:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423577088001,"power":27919,"unknown_217":206,"unknown_85":37888,"ignition":43,"odometer":null,"unknown_44":-4885490770339272704}} 
[2026-07-01 16:48:31] local.INFO: DEBUG: GPS processor result {"connection_id":119128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:48:31] local.INFO: GPS data processed {"connection_id":119128,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:48:31] local.INFO: Acknowledgment sent {"connection_id":119128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:48:57] local.INFO: TCP Data received {"connection_id":119244,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119244,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:48:57] local.INFO: Processing buffer {"connection_id":119244,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:48:57] local.INFO: IMEI packet received {"connection_id":119244,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 16:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":119244,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:49:02] local.INFO: TCP Data received {"connection_id":119244,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119244,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:49:02] local.INFO: Processing buffer {"connection_id":119244,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:49:02] local.INFO: IMEI packet received {"connection_id":119244,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":119244,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:49:02] local.INFO: TCP Data received {"connection_id":119128,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d656c70012cbc08800760b528000e01422f..."} 
[2026-07-01 16:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d656c70012cbc08800760b528000e01422f..."} 
[2026-07-01 16:49:02] local.INFO: Processing buffer {"connection_id":119128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d656c70012cbc08800760b528000e01422f..."} 
[2026-07-01 16:49:02] local.INFO: Packet analysis {"connection_id":119128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d65"} 
[2026-07-01 16:49:02] local.INFO: Extracted packet for processing {"connection_id":119128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d65"} 
[2026-07-01 16:49:02] local.INFO: GPS Element Parsed {"raw_longitude":750520448,"raw_latitude":123778344,"longitude_deg":75.0520448,"latitude_deg":12.3778344,"altitude":14,"angle":322,"satellites":47,"speed":46,"hex_longitude":"2cbc0880","hex_latitude":"0760b528","is_valid_coordinates":true} 
[2026-07-01 16:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:49:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423579136001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:49:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333687416659378176,"note":"Value kept but may cause issues"} 
[2026-07-01 16:49:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4891401744848160768,"note":"Value kept but may cause issues"} 
[2026-07-01 16:49:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:49:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782904614000,"timestamp_ms":1782904614000,"timestamp_seconds":1782904614,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d656c70"} 
[2026-07-01 16:49:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:49:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 16:49:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:49:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:49:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:49:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:49:02] local.INFO: Teltonika packet parsed successfully {"connection_id":119128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:49:02] local.INFO: Passing IMEI to GPS processor {"connection_id":119128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:49:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":119128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:49:02] 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-01 16:49:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:49:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:49:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423579136001,"66":27843,"217":206,"85":37888,"24":46,"16":333687416659378176,"44":-4891401744848160768},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,44]} 
[2026-07-01 16:49:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:49:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:49:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423579136001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:49:02] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-01 16:49:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 16:49:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333687416659378176,"km_value":333687416659378.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:49:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4891401744848160768,"description":"Unknown IO ID 44"} 
[2026-07-01 16:49:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423579136001,"power":27843,"unknown_217":206,"unknown_85":37888,"ignition":46,"odometer":null,"unknown_44":-4891401744848160768}} 
[2026-07-01 16:49:02] local.INFO: DEBUG: GPS processor result {"connection_id":119128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:49:02] local.INFO: GPS data processed {"connection_id":119128,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:49:02] local.INFO: Acknowledgment sent {"connection_id":119128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:49:09] local.INFO: TCP Data received {"connection_id":119244,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d608a70012d79ff8005e464180005004d29..."} 
[2026-07-01 16:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d608a70012d79ff8005e464180005004d29..."} 
[2026-07-01 16:49:09] local.INFO: Processing buffer {"connection_id":119244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d608a70012d79ff8005e464180005004d29..."} 
[2026-07-01 16:49:09] local.INFO: Packet analysis {"connection_id":119244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d60"} 
[2026-07-01 16:49:09] local.INFO: Extracted packet for processing {"connection_id":119244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d60"} 
[2026-07-01 16:49:09] local.INFO: GPS Element Parsed {"raw_longitude":762969984,"raw_latitude":98853912,"longitude_deg":76.2969984,"latitude_deg":9.8853912,"altitude":5,"angle":77,"satellites":41,"speed":7,"hex_longitude":"2d79ff80","hex_latitude":"05e46418","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423499008001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101349945306513408,"note":"Value kept but may cause issues"} 
[2026-07-01 16:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8790604285468735488,"note":"Value kept but may cause issues"} 
[2026-07-01 16:49: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-01 16:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782904294000,"timestamp_ms":1782904294000,"timestamp_seconds":1782904294,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d608a70"} 
[2026-07-01 16:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-01 16:49:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:49:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":119244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":119244,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":119244,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 16:49:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 16:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 16:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423499008001,"66":12906,"157":206,"87":12288,"24":7,"16":101349945306513408,"45":8790604285468735488},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 16:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 16:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 16:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423499008001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:49:09] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 16:49:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-01 16:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101349945306513408,"km_value":101349945306513.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8790604285468735488,"description":"Unknown IO ID 45"} 
[2026-07-01 16:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423499008001,"power":12906,"unknown_157":206,"unknown_87":12288,"ignition":7,"odometer":null,"unknown_45":8790604285468735488}} 
[2026-07-01 16:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":119244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417873,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:49:09] local.INFO: GPS data processed {"connection_id":119244,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:49:09] local.INFO: Acknowledgment sent {"connection_id":119244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:49:19] local.INFO: TCP Data received {"connection_id":119929,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:49:19] local.INFO: Processing buffer {"connection_id":119929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:49:19] local.INFO: IMEI packet received {"connection_id":119929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 16:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":119929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:49:20] local.INFO: TCP Data received {"connection_id":119929,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:49:20] local.INFO: Processing buffer {"connection_id":119929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:49:20] local.INFO: IMEI packet received {"connection_id":119929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:49:20] local.INFO: IMEI acknowledgment sent {"connection_id":119929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:49:25] local.INFO: TCP Data received {"connection_id":119929,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:49:25] local.INFO: Processing buffer {"connection_id":119929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:49:25] local.INFO: IMEI packet received {"connection_id":119929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":119929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:49:26] local.INFO: TCP Data received {"connection_id":119929,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d658f98012cbbf4000760d318000f01492e..."} 
[2026-07-01 16:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d658f98012cbbf4000760d318000f01492e..."} 
[2026-07-01 16:49:26] local.INFO: Processing buffer {"connection_id":119929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d658f98012cbbf4000760d318000f01492e..."} 
[2026-07-01 16:49:26] local.INFO: Packet analysis {"connection_id":119929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d65"} 
[2026-07-01 16:49:26] local.INFO: Extracted packet for processing {"connection_id":119929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d65"} 
[2026-07-01 16:49:26] local.INFO: GPS Element Parsed {"raw_longitude":750515200,"raw_latitude":123786008,"longitude_deg":75.05152,"latitude_deg":12.3786008,"altitude":15,"angle":329,"satellites":46,"speed":25,"hex_longitude":"2cbbf400","hex_latitude":"0760d318","is_valid_coordinates":true} 
[2026-07-01 16:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:49:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423581184001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:49:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333687863335976960,"note":"Value kept but may cause issues"} 
[2026-07-01 16:49:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4897523825589803008,"note":"Value kept but may cause issues"} 
[2026-07-01 16:49:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:49:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782904623000,"timestamp_ms":1782904623000,"timestamp_seconds":1782904623,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d658f98"} 
[2026-07-01 16:49:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:49: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-01 16:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 16:49:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:49:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:49:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:49:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:49:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:49:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:49:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:49:26] 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-01 16:49:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:49:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:49:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423581184001,"66":27821,"217":206,"85":37888,"24":25,"16":333687863335976960,"44":-4897523825589803008},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,44]} 
[2026-07-01 16:49:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:49:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:49:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423581184001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:49:26] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-07-01 16:49:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 16:49:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333687863335976960,"km_value":333687863335976.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:49:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4897523825589803008,"description":"Unknown IO ID 44"} 
[2026-07-01 16:49:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423581184001,"power":27821,"unknown_217":206,"unknown_85":37888,"ignition":25,"odometer":null,"unknown_44":-4897523825589803008}} 
[2026-07-01 16:49:26] local.INFO: DEBUG: GPS processor result {"connection_id":119929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:49:26] local.INFO: GPS data processed {"connection_id":119929,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:49:26] local.INFO: Acknowledgment sent {"connection_id":119929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:49:35] local.INFO: TCP Data received {"connection_id":119245,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 16:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119245,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 16:49:35] local.INFO: Processing buffer {"connection_id":119245,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 16:49:35] local.INFO: IMEI packet received {"connection_id":119245,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 16:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":119245,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:49:51] local.INFO: TCP Data received {"connection_id":119129,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119129,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:49:51] local.INFO: Processing buffer {"connection_id":119129,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:49:51] local.INFO: IMEI packet received {"connection_id":119129,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 16:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":119129,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:49:57] local.INFO: TCP Data received {"connection_id":119129,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119129,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:49:57] local.INFO: Processing buffer {"connection_id":119129,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 16:49:57] local.INFO: IMEI packet received {"connection_id":119129,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 16:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":119129,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:49:58] local.INFO: TCP Data received {"connection_id":119929,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d6729c0012cbadf4007622378000f013d2e..."} 
[2026-07-01 16:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d6729c0012cbadf4007622378000f013d2e..."} 
[2026-07-01 16:49:58] local.INFO: Processing buffer {"connection_id":119929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d6729c0012cbadf4007622378000f013d2e..."} 
[2026-07-01 16:49:58] local.INFO: Packet analysis {"connection_id":119929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d67"} 
[2026-07-01 16:49:58] local.INFO: Extracted packet for processing {"connection_id":119929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d67"} 
[2026-07-01 16:49:58] local.INFO: GPS Element Parsed {"raw_longitude":750444352,"raw_latitude":123872120,"longitude_deg":75.0444352,"latitude_deg":12.387212,"altitude":15,"angle":317,"satellites":46,"speed":51,"hex_longitude":"2cbadf40","hex_latitude":"07622378","is_valid_coordinates":true} 
[2026-07-01 16:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:49:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423608576001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:49:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333693274994769920,"note":"Value kept but may cause issues"} 
[2026-07-01 16:49:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4974436862953662464,"note":"Value kept but may cause issues"} 
[2026-07-01 16:49:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:49:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782904728000,"timestamp_ms":1782904728000,"timestamp_seconds":1782904728,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d6729c0"} 
[2026-07-01 16:49:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:49:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 16:49:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:49:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:49:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:49:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:49:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:49:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:49:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:49:58] 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-01 16:49:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:49:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:49:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423608576001,"66":27876,"163":206,"85":37888,"24":51,"16":333693274994769920,"44":-4974436862953662464},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,85,24,16,44]} 
[2026-07-01 16:49:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:49:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:49:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423608576001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:49:58] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-07-01 16:49:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 16:49:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333693274994769920,"km_value":333693274994769.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:49:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4974436862953662464,"description":"Unknown IO ID 44"} 
[2026-07-01 16:49:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423608576001,"power":27876,"unknown_163":206,"unknown_85":37888,"ignition":51,"odometer":null,"unknown_44":-4974436862953662464}} 
[2026-07-01 16:49:58] local.INFO: DEBUG: GPS processor result {"connection_id":119929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:49:58] local.INFO: GPS data processed {"connection_id":119929,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:49:58] local.INFO: Acknowledgment sent {"connection_id":119929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:50:20] local.INFO: TCP Data received {"connection_id":121005,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:50:20] local.INFO: Processing buffer {"connection_id":121005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:50:20] local.INFO: IMEI packet received {"connection_id":121005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 16:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":121005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:50:20] local.INFO: TCP Data received {"connection_id":121004,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 16:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121004,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 16:50:20] local.INFO: Processing buffer {"connection_id":121004,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 16:50:20] local.INFO: IMEI packet received {"connection_id":121004,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 16:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":121004,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:50:25] local.INFO: TCP Data received {"connection_id":121005,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:50:25] local.INFO: Processing buffer {"connection_id":121005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:50:25] local.INFO: IMEI packet received {"connection_id":121005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":121005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:50:26] local.INFO: TCP Data received {"connection_id":121005,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d674ce8012cbac5c007623dd0000e013e2e..."} 
[2026-07-01 16:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d674ce8012cbac5c007623dd0000e013e2e..."} 
[2026-07-01 16:50:26] local.INFO: Processing buffer {"connection_id":121005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d674ce8012cbac5c007623dd0000e013e2e..."} 
[2026-07-01 16:50:26] local.INFO: Packet analysis {"connection_id":121005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d67"} 
[2026-07-01 16:50:26] local.INFO: Extracted packet for processing {"connection_id":121005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d67"} 
[2026-07-01 16:50:26] local.INFO: GPS Element Parsed {"raw_longitude":750437824,"raw_latitude":123878864,"longitude_deg":75.0437824,"latitude_deg":12.3878864,"altitude":14,"angle":318,"satellites":46,"speed":33,"hex_longitude":"2cbac5c0","hex_latitude":"07623dd0","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:50:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423610368001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:50:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333693725966336000,"note":"Value kept but may cause issues"} 
[2026-07-01 16:50:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4981192262393038848,"note":"Value kept but may cause issues"} 
[2026-07-01 16:50:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:50:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782904737000,"timestamp_ms":1782904737000,"timestamp_seconds":1782904737,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d674ce8"} 
[2026-07-01 16: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-01 16:50: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-01 16: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-01 16:50:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16: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-01 16: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-01 16:50:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:50:26] local.INFO: Teltonika packet parsed successfully {"connection_id":121005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:50:26] local.INFO: Passing IMEI to GPS processor {"connection_id":121005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:50:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":121005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:50:26] 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-01 16:50:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:50:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:50:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423610368001,"66":27908,"108":206,"85":37888,"24":33,"16":333693725966336000,"44":-4981192262393038848},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,85,24,16,44]} 
[2026-07-01 16:50:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:50:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:50:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423610368001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:50:26] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-07-01 16:50:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 16:50:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333693725966336000,"km_value":333693725966336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:50:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4981192262393038848,"description":"Unknown IO ID 44"} 
[2026-07-01 16:50:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423610368001,"power":27908,"unknown_108":206,"unknown_85":37888,"ignition":33,"odometer":null,"unknown_44":-4981192262393038848}} 
[2026-07-01 16:50:26] local.INFO: DEBUG: GPS processor result {"connection_id":121005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:50:26] local.INFO: GPS data processed {"connection_id":121005,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:50:26] local.INFO: Acknowledgment sent {"connection_id":121005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:51:04] local.INFO: TCP Data received {"connection_id":121005,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d678780012cbaae4007625978001001442f..."} 
[2026-07-01 16:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d678780012cbaae4007625978001001442f..."} 
[2026-07-01 16:51:04] local.INFO: Processing buffer {"connection_id":121005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d678780012cbaae4007625978001001442f..."} 
[2026-07-01 16:51:04] local.INFO: Packet analysis {"connection_id":121005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d67"} 
[2026-07-01 16:51:04] local.INFO: Extracted packet for processing {"connection_id":121005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d67"} 
[2026-07-01 16:51:04] local.INFO: GPS Element Parsed {"raw_longitude":750431808,"raw_latitude":123885944,"longitude_deg":75.0431808,"latitude_deg":12.3885944,"altitude":16,"angle":324,"satellites":47,"speed":30,"hex_longitude":"2cbaae40","hex_latitude":"07625978","is_valid_coordinates":true} 
[2026-07-01 16:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423612672001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333694172642934784,"note":"Value kept but may cause issues"} 
[2026-07-01 16:51:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4988369874297434112,"note":"Value kept but may cause issues"} 
[2026-07-01 16:51:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782904752000,"timestamp_ms":1782904752000,"timestamp_seconds":1782904752,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d678780"} 
[2026-07-01 16:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:51:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 16:51:04] 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-01 16:51:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":121005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":121005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":121005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:51:04] 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-01 16:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423612672001,"66":27876,"108":206,"85":37888,"24":30,"16":333694172642934784,"44":-4988369874297434112},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,85,24,16,44]} 
[2026-07-01 16:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423612672001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:51:04] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-07-01 16:51:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 16:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333694172642934784,"km_value":333694172642934.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:51:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4988369874297434112,"description":"Unknown IO ID 44"} 
[2026-07-01 16:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423612672001,"power":27876,"unknown_108":206,"unknown_85":37888,"ignition":30,"odometer":null,"unknown_44":-4988369874297434112}} 
[2026-07-01 16:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":121005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:51:04] local.INFO: GPS data processed {"connection_id":121005,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:51:04] local.INFO: Acknowledgment sent {"connection_id":121005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:51:20] local.INFO: TCP Data received {"connection_id":121006,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:51:20] local.INFO: Processing buffer {"connection_id":121006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:51:20] local.INFO: IMEI packet received {"connection_id":121006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 16:51:20] local.INFO: IMEI acknowledgment sent {"connection_id":121006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:51:25] local.INFO: TCP Data received {"connection_id":121006,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:51:25] local.INFO: Processing buffer {"connection_id":121006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:51:25] local.INFO: IMEI packet received {"connection_id":121006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":121006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:51:26] local.INFO: TCP Data received {"connection_id":121006,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d67ae90012cba9a0007627930000f01472e..."} 
[2026-07-01 16:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d67ae90012cba9a0007627930000f01472e..."} 
[2026-07-01 16:51:26] local.INFO: Processing buffer {"connection_id":121006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d67ae90012cba9a0007627930000f01472e..."} 
[2026-07-01 16:51:26] local.INFO: Packet analysis {"connection_id":121006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d67"} 
[2026-07-01 16:51:26] local.INFO: Extracted packet for processing {"connection_id":121006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d67"} 
[2026-07-01 16:51:26] local.INFO: GPS Element Parsed {"raw_longitude":750426624,"raw_latitude":123894064,"longitude_deg":75.0426624,"latitude_deg":12.3894064,"altitude":15,"angle":327,"satellites":46,"speed":43,"hex_longitude":"2cba9a00","hex_latitude":"07627930","is_valid_coordinates":true} 
[2026-07-01 16:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423616512001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333694636499402752,"note":"Value kept but may cause issues"} 
[2026-07-01 16:51:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4994984536248322048,"note":"Value kept but may cause issues"} 
[2026-07-01 16:51:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782904762000,"timestamp_ms":1782904762000,"timestamp_seconds":1782904762,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d67ae90"} 
[2026-07-01 16:51:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:51: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-01 16:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-01 16:51:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:51:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:51:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":121006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":121006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":121006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:51:26] 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-01 16:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423616512001,"66":27919,"108":206,"85":37888,"24":43,"16":333694636499402752,"44":-4994984536248322048},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,85,24,16,44]} 
[2026-07-01 16:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423616512001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:51:26] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-07-01 16:51:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 16:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333694636499402752,"km_value":333694636499402.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:51:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4994984536248322048,"description":"Unknown IO ID 44"} 
[2026-07-01 16:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423616512001,"power":27919,"unknown_108":206,"unknown_85":37888,"ignition":43,"odometer":null,"unknown_44":-4994984536248322048}} 
[2026-07-01 16:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":121006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:51:26] local.INFO: GPS data processed {"connection_id":121006,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:51:26] local.INFO: Acknowledgment sent {"connection_id":121006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:52:02] local.INFO: TCP Data received {"connection_id":121006,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d67cdd0012cba870007629710000f01462d..."} 
[2026-07-01 16:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d67cdd0012cba870007629710000f01462d..."} 
[2026-07-01 16:52:02] local.INFO: Processing buffer {"connection_id":121006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d67cdd0012cba870007629710000f01462d..."} 
[2026-07-01 16:52:02] local.INFO: Packet analysis {"connection_id":121006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d67"} 
[2026-07-01 16:52:02] local.INFO: Extracted packet for processing {"connection_id":121006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d67"} 
[2026-07-01 16:52:02] local.INFO: GPS Element Parsed {"raw_longitude":750421760,"raw_latitude":123901712,"longitude_deg":75.042176,"latitude_deg":12.3901712,"altitude":15,"angle":326,"satellites":45,"speed":38,"hex_longitude":"2cba8700","hex_latitude":"07629710","is_valid_coordinates":true} 
[2026-07-01 16:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423619072001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333695074586066944,"note":"Value kept but may cause issues"} 
[2026-07-01 16:52:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5000684404524634112,"note":"Value kept but may cause issues"} 
[2026-07-01 16:52:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782904770000,"timestamp_ms":1782904770000,"timestamp_seconds":1782904770,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d67cdd0"} 
[2026-07-01 16:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:52:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 16:52:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:52:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":121006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":121006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":121006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:52:02] 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-01 16:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423619072001,"66":27843,"108":206,"85":37888,"24":38,"16":333695074586066944,"44":-5000684404524634112},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,85,24,16,44]} 
[2026-07-01 16:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423619072001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:52:02] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-07-01 16:52:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 16:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333695074586066944,"km_value":333695074586066.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:52:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5000684404524634112,"description":"Unknown IO ID 44"} 
[2026-07-01 16:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423619072001,"power":27843,"unknown_108":206,"unknown_85":37888,"ignition":38,"odometer":null,"unknown_44":-5000684404524634112}} 
[2026-07-01 16:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":121006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:52:02] local.INFO: GPS data processed {"connection_id":121006,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:52:02] local.INFO: Acknowledgment sent {"connection_id":121006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:52:21] local.INFO: TCP Data received {"connection_id":119247,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:52:21] local.INFO: Processing buffer {"connection_id":119247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:52:21] local.INFO: IMEI packet received {"connection_id":119247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 16:52:21] local.INFO: IMEI acknowledgment sent {"connection_id":119247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:52:25] local.INFO: TCP Data received {"connection_id":119247,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:52:25] local.INFO: Processing buffer {"connection_id":119247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:52:25] local.INFO: IMEI packet received {"connection_id":119247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:52:25] local.INFO: IMEI acknowledgment sent {"connection_id":119247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:52:26] local.INFO: TCP Data received {"connection_id":119247,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:52:26] local.INFO: Processing buffer {"connection_id":119247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:52:26] local.INFO: IMEI packet received {"connection_id":119247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":119247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:52:28] local.INFO: TCP Data received {"connection_id":119247,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:52:28] local.INFO: Processing buffer {"connection_id":119247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:52:28] local.INFO: IMEI packet received {"connection_id":119247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":119247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:52:29] local.INFO: TCP Data received {"connection_id":119247,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d697f68012cb97b4007635d48001401312f..."} 
[2026-07-01 16:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d697f68012cb97b4007635d48001401312f..."} 
[2026-07-01 16:52:29] local.INFO: Processing buffer {"connection_id":119247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d697f68012cb97b4007635d48001401312f..."} 
[2026-07-01 16:52:29] local.INFO: Packet analysis {"connection_id":119247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d69"} 
[2026-07-01 16:52:29] local.INFO: Extracted packet for processing {"connection_id":119247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d69"} 
[2026-07-01 16:52:29] local.INFO: GPS Element Parsed {"raw_longitude":750353216,"raw_latitude":123952456,"longitude_deg":75.0353216,"latitude_deg":12.3952456,"altitude":20,"angle":305,"satellites":47,"speed":39,"hex_longitude":"2cb97b40","hex_latitude":"07635d48","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:52:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423646976001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:52:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333699270769115136,"note":"Value kept but may cause issues"} 
[2026-07-01 16:52:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5072249417339746304,"note":"Value kept but may cause issues"} 
[2026-07-01 16:52:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:52:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782904881000,"timestamp_ms":1782904881000,"timestamp_seconds":1782904881,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d697f68"} 
[2026-07-01 16: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-01 16:52:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 16:52:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16: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-01 16: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-01 16:52:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:52:29] local.INFO: Teltonika packet parsed successfully {"connection_id":119247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:52:29] local.INFO: Passing IMEI to GPS processor {"connection_id":119247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:52:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":119247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:52:29] 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-01 16:52:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:52:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:52:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423646976001,"66":27908,"109":206,"85":37888,"24":39,"16":333699270769115136,"44":-5072249417339746304},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,44]} 
[2026-07-01 16:52:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:52:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:52:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423646976001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:52:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-01 16:52:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 16:52:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333699270769115136,"km_value":333699270769115.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:52:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5072249417339746304,"description":"Unknown IO ID 44"} 
[2026-07-01 16:52:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423646976001,"power":27908,"unknown_109":206,"unknown_85":37888,"ignition":39,"odometer":null,"unknown_44":-5072249417339746304}} 
[2026-07-01 16:52:29] local.INFO: DEBUG: GPS processor result {"connection_id":119247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:52:29] local.INFO: GPS data processed {"connection_id":119247,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:52:29] local.INFO: Acknowledgment sent {"connection_id":119247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:52:30] local.INFO: TCP Data received {"connection_id":119247,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d69a290012cb95cc007637548001101392f..."} 
[2026-07-01 16:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d69a290012cb95cc007637548001101392f..."} 
[2026-07-01 16:52:30] local.INFO: Processing buffer {"connection_id":119247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d69a290012cb95cc007637548001101392f..."} 
[2026-07-01 16:52:30] local.INFO: Packet analysis {"connection_id":119247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d69"} 
[2026-07-01 16:52:30] local.INFO: Extracted packet for processing {"connection_id":119247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d69"} 
[2026-07-01 16:52:30] local.INFO: GPS Element Parsed {"raw_longitude":750345408,"raw_latitude":123958600,"longitude_deg":75.0345408,"latitude_deg":12.39586,"altitude":17,"angle":313,"satellites":47,"speed":46,"hex_longitude":"2cb95cc0","hex_latitude":"07637548","is_valid_coordinates":true} 
[2026-07-01 16:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423649536001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333699747510484992,"note":"Value kept but may cause issues"} 
[2026-07-01 16:52:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5081397354081466368,"note":"Value kept but may cause issues"} 
[2026-07-01 16:52:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782904890000,"timestamp_ms":1782904890000,"timestamp_seconds":1782904890,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d69a290"} 
[2026-07-01 16:52:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:52:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 16:52:30] 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-01 16:52:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:52:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":119247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":119247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":119247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:52:30] 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-01 16:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423649536001,"66":27767,"109":206,"85":37888,"24":46,"16":333699747510484992,"44":-5081397354081466368},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,44]} 
[2026-07-01 16:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423649536001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:52:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-01 16:52:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 16:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333699747510484992,"km_value":333699747510485.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:52:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5081397354081466368,"description":"Unknown IO ID 44"} 
[2026-07-01 16:52:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423649536001,"power":27767,"unknown_109":206,"unknown_85":37888,"ignition":46,"odometer":null,"unknown_44":-5081397354081466368}} 
[2026-07-01 16:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":119247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:52:30] local.INFO: GPS data processed {"connection_id":119247,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:52:30] local.INFO: Acknowledgment sent {"connection_id":119247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:53:01] local.INFO: TCP Data received {"connection_id":119247,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d69b618012cb94a00076383a00010012d2d..."} 
[2026-07-01 16:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d69b618012cb94a00076383a00010012d2d..."} 
[2026-07-01 16:53:01] local.INFO: Processing buffer {"connection_id":119247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d69b618012cb94a00076383a00010012d2d..."} 
[2026-07-01 16:53:01] local.INFO: Packet analysis {"connection_id":119247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d69"} 
[2026-07-01 16:53:01] local.INFO: Extracted packet for processing {"connection_id":119247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d69"} 
[2026-07-01 16:53:01] local.INFO: GPS Element Parsed {"raw_longitude":750340608,"raw_latitude":123962272,"longitude_deg":75.0340608,"latitude_deg":12.3962272,"altitude":16,"angle":301,"satellites":45,"speed":48,"hex_longitude":"2cb94a00","hex_latitude":"076383a0","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423651840001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333700039568261120,"note":"Value kept but may cause issues"} 
[2026-07-01 16:53:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5089982340869568512,"note":"Value kept but may cause issues"} 
[2026-07-01 16:53:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782904895000,"timestamp_ms":1782904895000,"timestamp_seconds":1782904895,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d69b618"} 
[2026-07-01 16: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-01 16:53:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 16:53:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16: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-01 16: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-01 16:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":119247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":119247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":119247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:53:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423651840001,"66":27865,"42":206,"85":37888,"24":48,"16":333700039568261120,"44":-5089982340869568512},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,85,24,16,44]} 
[2026-07-01 16:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423651840001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:53:01] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-01 16:53:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 16:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333700039568261120,"km_value":333700039568261.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:53:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5089982340869568512,"description":"Unknown IO ID 44"} 
[2026-07-01 16:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423651840001,"power":27865,"unknown_42":206,"unknown_85":37888,"ignition":48,"odometer":null,"unknown_44":-5089982340869568512}} 
[2026-07-01 16:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":119247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:53:01] local.INFO: GPS data processed {"connection_id":119247,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:53:01] local.INFO: Acknowledgment sent {"connection_id":119247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:53:20] local.INFO: TCP Data received {"connection_id":119248,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:53:20] local.INFO: Processing buffer {"connection_id":119248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:53:20] local.INFO: IMEI packet received {"connection_id":119248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 16:53:20] local.INFO: IMEI acknowledgment sent {"connection_id":119248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:53:21] local.INFO: TCP Data received {"connection_id":119248,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:53:21] local.INFO: Processing buffer {"connection_id":119248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:53:21] local.INFO: IMEI packet received {"connection_id":119248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:53:21] local.INFO: IMEI acknowledgment sent {"connection_id":119248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:53:25] local.INFO: TCP Data received {"connection_id":119248,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:53:25] local.INFO: Processing buffer {"connection_id":119248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:53:25] local.INFO: IMEI packet received {"connection_id":119248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:53:25] local.INFO: IMEI acknowledgment sent {"connection_id":119248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:53:26] local.INFO: TCP Data received {"connection_id":119248,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d69d558012cb92a4007639488000d012a2b..."} 
[2026-07-01 16:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d69d558012cb92a4007639488000d012a2b..."} 
[2026-07-01 16:53:26] local.INFO: Processing buffer {"connection_id":119248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d69d558012cb92a4007639488000d012a2b..."} 
[2026-07-01 16:53:26] local.INFO: Packet analysis {"connection_id":119248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d69"} 
[2026-07-01 16:53:26] local.INFO: Extracted packet for processing {"connection_id":119248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d69"} 
[2026-07-01 16:53:26] local.INFO: GPS Element Parsed {"raw_longitude":750332480,"raw_latitude":123966600,"longitude_deg":75.033248,"latitude_deg":12.39666,"altitude":13,"angle":298,"satellites":43,"speed":43,"hex_longitude":"2cb92a40","hex_latitude":"07639488","is_valid_coordinates":true} 
[2026-07-01 16:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423653120001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333700473359958016,"note":"Value kept but may cause issues"} 
[2026-07-01 16:53:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5095259996681953280,"note":"Value kept but may cause issues"} 
[2026-07-01 16:53:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782904903000,"timestamp_ms":1782904903000,"timestamp_seconds":1782904903,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d69d558"} 
[2026-07-01 16:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:53: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-01 16:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 16:53:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:53:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:53:26] 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-01 16:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423653120001,"66":27713,"42":206,"85":37888,"24":43,"16":333700473359958016,"44":-5095259996681953280},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,85,24,16,44]} 
[2026-07-01 16:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423653120001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:53:26] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-01 16:53:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 16:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333700473359958016,"km_value":333700473359958.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:53:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5095259996681953280,"description":"Unknown IO ID 44"} 
[2026-07-01 16:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423653120001,"power":27713,"unknown_42":206,"unknown_85":37888,"ignition":43,"odometer":null,"unknown_44":-5095259996681953280}} 
[2026-07-01 16:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":119248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:53:26] local.INFO: GPS data processed {"connection_id":119248,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:53:26] local.INFO: Acknowledgment sent {"connection_id":119248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:53:57] local.INFO: TCP Data received {"connection_id":119248,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d69e4f8012cb91d8007639d50000d013a2e..."} 
[2026-07-01 16:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d69e4f8012cb91d8007639d50000d013a2e..."} 
[2026-07-01 16:53:57] local.INFO: Processing buffer {"connection_id":119248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d69e4f8012cb91d8007639d50000d013a2e..."} 
[2026-07-01 16:53:57] local.INFO: Packet analysis {"connection_id":119248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d69"} 
[2026-07-01 16:53:57] local.INFO: Extracted packet for processing {"connection_id":119248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d69"} 
[2026-07-01 16:53:57] local.INFO: GPS Element Parsed {"raw_longitude":750329216,"raw_latitude":123968848,"longitude_deg":75.0329216,"latitude_deg":12.3968848,"altitude":13,"angle":314,"satellites":46,"speed":36,"hex_longitude":"2cb91d80","hex_latitude":"07639d50","is_valid_coordinates":true} 
[2026-07-01 16:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:53:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423655168001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:53:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333700666633486336,"note":"Value kept but may cause issues"} 
[2026-07-01 16:53:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5104196827191408640,"note":"Value kept but may cause issues"} 
[2026-07-01 16:53:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:53:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782904907000,"timestamp_ms":1782904907000,"timestamp_seconds":1782904907,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d69e4f8"} 
[2026-07-01 16:53:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:53:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-01 16:53:57] 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-01 16:53:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:53:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:53:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:53:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:53:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:53:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:53:57] 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-01 16:53:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:53:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:53:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423655168001,"66":27767,"42":206,"85":37888,"24":36,"16":333700666633486336,"44":-5104196827191408640},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,85,24,16,44]} 
[2026-07-01 16:53:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:53:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:53:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423655168001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:53:57] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-01 16:53:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 16:53:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333700666633486336,"km_value":333700666633486.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:53:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5104196827191408640,"description":"Unknown IO ID 44"} 
[2026-07-01 16:53:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423655168001,"power":27767,"unknown_42":206,"unknown_85":37888,"ignition":36,"odometer":null,"unknown_44":-5104196827191408640}} 
[2026-07-01 16:53:57] local.INFO: DEBUG: GPS processor result {"connection_id":119248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:53:57] local.INFO: GPS data processed {"connection_id":119248,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:53:57] local.INFO: Acknowledgment sent {"connection_id":119248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:54:21] local.INFO: TCP Data received {"connection_id":121009,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:54:21] local.INFO: Processing buffer {"connection_id":121009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:54:21] local.INFO: IMEI packet received {"connection_id":121009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 16:54:21] local.INFO: IMEI acknowledgment sent {"connection_id":121009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:54:25] local.INFO: TCP Data received {"connection_id":121009,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:54:25] local.INFO: Processing buffer {"connection_id":121009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:54:25] local.INFO: IMEI packet received {"connection_id":121009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:54:25] local.INFO: IMEI acknowledgment sent {"connection_id":121009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:54:26] local.INFO: TCP Data received {"connection_id":121009,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d6b5810012cb86400076471a00009012e30..."} 
[2026-07-01 16:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d6b5810012cb86400076471a00009012e30..."} 
[2026-07-01 16:54:26] local.INFO: Processing buffer {"connection_id":121009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d6b5810012cb86400076471a00009012e30..."} 
[2026-07-01 16:54:26] local.INFO: Packet analysis {"connection_id":121009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d6b"} 
[2026-07-01 16:54:26] local.INFO: Extracted packet for processing {"connection_id":121009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d6b"} 
[2026-07-01 16:54:26] local.INFO: GPS Element Parsed {"raw_longitude":750281728,"raw_latitude":124023200,"longitude_deg":75.0281728,"latitude_deg":12.40232,"altitude":9,"angle":302,"satellites":48,"speed":26,"hex_longitude":"2cb86400","hex_latitude":"076471a0","is_valid_coordinates":true} 
[2026-07-01 16:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:54:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423675904001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:54:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5151484623265593344,"note":"Value kept but may cause issues"} 
[2026-07-01 16:54:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333704227161374720,"note":"Value kept but may cause issues"} 
[2026-07-01 16:54:26] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-01 16:54:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782905002000,"timestamp_ms":1782905002000,"timestamp_seconds":1782905002,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d6b5810"} 
[2026-07-01 16:54:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:54: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-01 16:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 16:54:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:54:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:54:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:54:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:54:26] local.INFO: Teltonika packet parsed successfully {"connection_id":121009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:54:26] local.INFO: Passing IMEI to GPS processor {"connection_id":121009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:54:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":121009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:54:26] 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-01 16:54:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:54:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:54:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423675904001,"66":27800,"44":-5151484623265593344,"85":37888,"24":26,"16":333704227161374720},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16]} 
[2026-07-01 16:54:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:54:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:54:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423675904001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:54:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5151484623265593344,"description":"Unknown IO ID 44"} 
[2026-07-01 16:54:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 16:54:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333704227161374720,"km_value":333704227161374.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:54:26] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456423675904001,"power":27800,"unknown_44":-5151484623265593344,"unknown_85":37888,"ignition":26,"odometer":null}} 
[2026-07-01 16:54:26] local.INFO: DEBUG: GPS processor result {"connection_id":121009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:54:26] local.INFO: GPS data processed {"connection_id":121009,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:54:26] local.INFO: Acknowledgment sent {"connection_id":121009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:54:29] local.INFO: TCP Data received {"connection_id":121009,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d6b86f0012cb84500076488c0000a013c2f..."} 
[2026-07-01 16:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d6b86f0012cb84500076488c0000a013c2f..."} 
[2026-07-01 16:54:29] local.INFO: Processing buffer {"connection_id":121009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d6b86f0012cb84500076488c0000a013c2f..."} 
[2026-07-01 16:54:29] local.INFO: Packet analysis {"connection_id":121009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d6b"} 
[2026-07-01 16:54:29] local.INFO: Extracted packet for processing {"connection_id":121009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d6b"} 
[2026-07-01 16:54:29] local.INFO: GPS Element Parsed {"raw_longitude":750273792,"raw_latitude":124029120,"longitude_deg":75.0273792,"latitude_deg":12.402912,"altitude":10,"angle":316,"satellites":47,"speed":37,"hex_longitude":"2cb84500","hex_latitude":"076488c0","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:54:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423680512001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:54:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5159999241309806592,"note":"Value kept but may cause issues"} 
[2026-07-01 16:54:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333704699607777280,"note":"Value kept but may cause issues"} 
[2026-07-01 16:54:29] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-01 16:54:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782905014000,"timestamp_ms":1782905014000,"timestamp_seconds":1782905014,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d6b86f0"} 
[2026-07-01 16: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-01 16:54:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 16:54:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16: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-01 16: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-01 16:54:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:54:29] local.INFO: Teltonika packet parsed successfully {"connection_id":121009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:54:29] local.INFO: Passing IMEI to GPS processor {"connection_id":121009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:54:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":121009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:54:29] 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-01 16:54:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:54:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:54:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423680512001,"66":27821,"44":-5159999241309806592,"85":37888,"24":37,"16":333704699607777280},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16]} 
[2026-07-01 16:54:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:54:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:54:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423680512001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:54:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5159999241309806592,"description":"Unknown IO ID 44"} 
[2026-07-01 16:54:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 16:54:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333704699607777280,"km_value":333704699607777.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:54:29] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456423680512001,"power":27821,"unknown_44":-5159999241309806592,"unknown_85":37888,"ignition":37,"odometer":null}} 
[2026-07-01 16:54:29] local.INFO: DEBUG: GPS processor result {"connection_id":121009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:54:29] local.INFO: GPS data processed {"connection_id":121009,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:54:29] local.INFO: Acknowledgment sent {"connection_id":121009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:55:01] local.INFO: TCP Data received {"connection_id":121009,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d6b86f0012cb84500076488c0000a013c2f..."} 
[2026-07-01 16:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d6b86f0012cb84500076488c0000a013c2f..."} 
[2026-07-01 16:55:01] local.INFO: Processing buffer {"connection_id":121009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d6b86f0012cb84500076488c0000a013c2f..."} 
[2026-07-01 16:55:01] local.INFO: Packet analysis {"connection_id":121009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d6b"} 
[2026-07-01 16:55:01] local.INFO: Extracted packet for processing {"connection_id":121009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d6b"} 
[2026-07-01 16:55:01] local.INFO: GPS Element Parsed {"raw_longitude":750273792,"raw_latitude":124029120,"longitude_deg":75.0273792,"latitude_deg":12.402912,"altitude":10,"angle":316,"satellites":47,"speed":37,"hex_longitude":"2cb84500","hex_latitude":"076488c0","is_valid_coordinates":true} 
[2026-07-01 16:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:55:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423683584001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:55:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5168724965586321408,"note":"Value kept but may cause issues"} 
[2026-07-01 16:55:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333704699607777280,"note":"Value kept but may cause issues"} 
[2026-07-01 16:55:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-01 16:55:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782905014000,"timestamp_ms":1782905014000,"timestamp_seconds":1782905014,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d6b86f0"} 
[2026-07-01 16:55:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:55:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 16:55:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:55:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:55:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:55:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:55:01] local.INFO: Teltonika packet parsed successfully {"connection_id":121009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:55:01] local.INFO: Passing IMEI to GPS processor {"connection_id":121009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:55:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":121009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:55:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 16:55:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:55:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:55:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423683584001,"66":27821,"44":-5168724965586321408,"85":37888,"24":37,"16":333704699607777280},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16]} 
[2026-07-01 16:55:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:55:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:55:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423683584001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:55:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5168724965586321408,"description":"Unknown IO ID 44"} 
[2026-07-01 16:55:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 16:55:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333704699607777280,"km_value":333704699607777.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:55:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456423683584001,"power":27821,"unknown_44":-5168724965586321408,"unknown_85":37888,"ignition":37,"odometer":null}} 
[2026-07-01 16:55:01] local.INFO: DEBUG: GPS processor result {"connection_id":121009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:55:01] local.INFO: GPS data processed {"connection_id":121009,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:55:01] local.INFO: Acknowledgment sent {"connection_id":121009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:55:21] local.INFO: TCP Data received {"connection_id":119130,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:55:21] local.INFO: Processing buffer {"connection_id":119130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:55:21] local.INFO: IMEI packet received {"connection_id":119130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 16:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":119130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:55:25] local.INFO: TCP Data received {"connection_id":119130,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:55:25] local.INFO: Processing buffer {"connection_id":119130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:55:25] local.INFO: IMEI packet received {"connection_id":119130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":119130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:55:26] local.INFO: TCP Data received {"connection_id":119130,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d6b9690012cb83c4007649480000901472e..."} 
[2026-07-01 16:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d6b9690012cb83c4007649480000901472e..."} 
[2026-07-01 16:55:26] local.INFO: Processing buffer {"connection_id":119130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d6b9690012cb83c4007649480000901472e..."} 
[2026-07-01 16:55:26] local.INFO: Packet analysis {"connection_id":119130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d6b"} 
[2026-07-01 16:55:26] local.INFO: Extracted packet for processing {"connection_id":119130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d6b"} 
[2026-07-01 16:55:26] local.INFO: GPS Element Parsed {"raw_longitude":750271552,"raw_latitude":124032128,"longitude_deg":75.0271552,"latitude_deg":12.4032128,"altitude":9,"angle":327,"satellites":46,"speed":37,"hex_longitude":"2cb83c40","hex_latitude":"07649480","is_valid_coordinates":true} 
[2026-07-01 16:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:55:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423683584001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:55:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5168724965586321408,"note":"Value kept but may cause issues"} 
[2026-07-01 16:55:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333704884291371008,"note":"Value kept but may cause issues"} 
[2026-07-01 16:55:26] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-01 16:55:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782905018000,"timestamp_ms":1782905018000,"timestamp_seconds":1782905018,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d6b9690"} 
[2026-07-01 16:55:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:55:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 16:55:26] 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-01 16:55:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:55:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:55:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:55:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:55:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:55:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:55:26] 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-01 16:55:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:55:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:55:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423683584001,"66":27745,"44":-5168724965586321408,"85":37888,"24":37,"16":333704884291371008},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16]} 
[2026-07-01 16:55:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:55:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:55:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423683584001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:55:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5168724965586321408,"description":"Unknown IO ID 44"} 
[2026-07-01 16:55:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 16:55:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333704884291371008,"km_value":333704884291371.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:55:26] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456423683584001,"power":27745,"unknown_44":-5168724965586321408,"unknown_85":37888,"ignition":37,"odometer":null}} 
[2026-07-01 16:55:26] local.INFO: DEBUG: GPS processor result {"connection_id":119130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:55:26] local.INFO: GPS data processed {"connection_id":119130,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:55:26] local.INFO: Acknowledgment sent {"connection_id":119130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:55:34] local.INFO: TCP Data received {"connection_id":119249,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 16:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119249,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 16:55:34] local.INFO: Processing buffer {"connection_id":119249,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 16:55:34] local.INFO: IMEI packet received {"connection_id":119249,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 16:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":119249,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:55:57] local.INFO: TCP Data received {"connection_id":119130,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d6cdeb0012cb77bc00765e328000a015230..."} 
[2026-07-01 16:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d6cdeb0012cb77bc00765e328000a015230..."} 
[2026-07-01 16:55:57] local.INFO: Processing buffer {"connection_id":119130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d6cdeb0012cb77bc00765e328000a015230..."} 
[2026-07-01 16:55:57] local.INFO: Packet analysis {"connection_id":119130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d6c"} 
[2026-07-01 16:55:57] local.INFO: Extracted packet for processing {"connection_id":119130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d6c"} 
[2026-07-01 16:55:57] local.INFO: GPS Element Parsed {"raw_longitude":750222272,"raw_latitude":124117800,"longitude_deg":75.0222272,"latitude_deg":12.41178,"altitude":10,"angle":338,"satellites":48,"speed":35,"hex_longitude":"2cb77bc0","hex_latitude":"0765e328","is_valid_coordinates":true} 
[2026-07-01 16:55: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-01 16:55:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423704576001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:55:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333709651705069568,"note":"Value kept but may cause issues"} 
[2026-07-01 16:55:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5222205211139928064,"note":"Value kept but may cause issues"} 
[2026-07-01 16:55:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:55:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782905102000,"timestamp_ms":1782905102000,"timestamp_seconds":1782905102,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d6cdeb0"} 
[2026-07-01 16:55:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:55:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:55:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 16:55:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:55: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-01 16:55:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:55:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:55:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:55:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:55:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:55:57] 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-01 16:55:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:55:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:55:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423704576001,"66":27908,"198":206,"85":37888,"24":35,"16":333709651705069568,"44":-5222205211139928064},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,44]} 
[2026-07-01 16:55:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:55:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:55:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423704576001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:55:57] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-01 16:55:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 16:55:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333709651705069568,"km_value":333709651705069.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:55:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5222205211139928064,"description":"Unknown IO ID 44"} 
[2026-07-01 16:55:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423704576001,"power":27908,"unknown_198":206,"unknown_85":37888,"ignition":35,"odometer":null,"unknown_44":-5222205211139928064}} 
[2026-07-01 16:55:57] local.INFO: DEBUG: GPS processor result {"connection_id":119130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:55:57] local.INFO: GPS data processed {"connection_id":119130,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:55:57] local.INFO: Acknowledgment sent {"connection_id":119130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:56:20] local.INFO: TCP Data received {"connection_id":119931,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:56:20] local.INFO: Processing buffer {"connection_id":119931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:56:20] local.INFO: IMEI packet received {"connection_id":119931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 16:56:20] local.INFO: IMEI acknowledgment sent {"connection_id":119931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:56:22] local.INFO: TCP Data received {"connection_id":119931,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:56:22] local.INFO: Processing buffer {"connection_id":119931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:56:22] local.INFO: IMEI packet received {"connection_id":119931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:56:22] local.INFO: IMEI acknowledgment sent {"connection_id":119931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:56:25] local.INFO: TCP Data received {"connection_id":119250,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 16:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119250,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 16:56:25] local.INFO: Processing buffer {"connection_id":119250,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 16:56:25] local.INFO: IMEI packet received {"connection_id":119250,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 16:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":119250,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:56:25] local.INFO: TCP Data received {"connection_id":119931,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:56:25] local.INFO: Processing buffer {"connection_id":119931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:56:25] local.INFO: IMEI packet received {"connection_id":119931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":119931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:56:26] local.INFO: TCP Data received {"connection_id":119931,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d6cea68012cb779000765ed28000a015f30..."} 
[2026-07-01 16:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d6cea68012cb779000765ed28000a015f30..."} 
[2026-07-01 16:56:26] local.INFO: Processing buffer {"connection_id":119931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d6cea68012cb779000765ed28000a015f30..."} 
[2026-07-01 16:56:26] local.INFO: Packet analysis {"connection_id":119931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d6c"} 
[2026-07-01 16:56:26] local.INFO: Extracted packet for processing {"connection_id":119931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d6c"} 
[2026-07-01 16:56:26] local.INFO: GPS Element Parsed {"raw_longitude":750221568,"raw_latitude":124120360,"longitude_deg":75.0221568,"latitude_deg":12.412036,"altitude":10,"angle":351,"satellites":48,"speed":34,"hex_longitude":"2cb77900","hex_latitude":"0765ed28","is_valid_coordinates":true} 
[2026-07-01 16:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:56:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423706112001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:56:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333709780554088448,"note":"Value kept but may cause issues"} 
[2026-07-01 16:56:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5225371804626638848,"note":"Value kept but may cause issues"} 
[2026-07-01 16:56:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:56:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782905105000,"timestamp_ms":1782905105000,"timestamp_seconds":1782905105,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d6cea68"} 
[2026-07-01 16:56:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:56:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 16:56:26] 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-01 16:56:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:56:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:56:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:56:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:56:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:56:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:56:26] 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-01 16:56:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:56:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:56:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423706112001,"66":27767,"198":206,"85":37888,"24":34,"16":333709780554088448,"44":-5225371804626638848},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,44]} 
[2026-07-01 16:56:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:56:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:56:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423706112001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:56:26] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-01 16:56:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 16:56:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333709780554088448,"km_value":333709780554088.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:56:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5225371804626638848,"description":"Unknown IO ID 44"} 
[2026-07-01 16:56:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423706112001,"power":27767,"unknown_198":206,"unknown_85":37888,"ignition":34,"odometer":null,"unknown_44":-5225371804626638848}} 
[2026-07-01 16:56:26] local.INFO: DEBUG: GPS processor result {"connection_id":119931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:56:26] local.INFO: GPS data processed {"connection_id":119931,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:56:26] local.INFO: Acknowledgment sent {"connection_id":119931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:56:57] local.INFO: TCP Data received {"connection_id":119931,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d6d1178012cb774c007660ff0000b016130..."} 
[2026-07-01 16:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d6d1178012cb774c007660ff0000b016130..."} 
[2026-07-01 16:56:57] local.INFO: Processing buffer {"connection_id":119931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d6d1178012cb774c007660ff0000b016130..."} 
[2026-07-01 16:56:57] local.INFO: Packet analysis {"connection_id":119931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d6d"} 
[2026-07-01 16:56:57] local.INFO: Extracted packet for processing {"connection_id":119931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d6d"} 
[2026-07-01 16:56:57] local.INFO: GPS Element Parsed {"raw_longitude":750220480,"raw_latitude":124129264,"longitude_deg":75.022048,"latitude_deg":12.4129264,"altitude":11,"angle":353,"satellites":48,"speed":38,"hex_longitude":"2cb774c0","hex_latitude":"07660ff0","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:56:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423706880001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:56:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333710214345785344,"note":"Value kept but may cause issues"} 
[2026-07-01 16:56:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5226145860811937792,"note":"Value kept but may cause issues"} 
[2026-07-01 16:56:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:56:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782905115000,"timestamp_ms":1782905115000,"timestamp_seconds":1782905115,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d6d1178"} 
[2026-07-01 16: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-01 16:56:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 16:56:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16: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-01 16: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-01 16:56:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:56:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:56:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:56:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:56:57] 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-01 16:56:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:56:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:56:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423706880001,"66":27767,"198":206,"85":37888,"24":38,"16":333710214345785344,"44":-5226145860811937792},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,44]} 
[2026-07-01 16:56:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:56:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:56:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423706880001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:56:57] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-01 16:56:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 16:56:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333710214345785344,"km_value":333710214345785.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:56:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5226145860811937792,"description":"Unknown IO ID 44"} 
[2026-07-01 16:56:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423706880001,"power":27767,"unknown_198":206,"unknown_85":37888,"ignition":38,"odometer":null,"unknown_44":-5226145860811937792}} 
[2026-07-01 16:56:57] local.INFO: DEBUG: GPS processor result {"connection_id":119931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:56:57] local.INFO: GPS data processed {"connection_id":119931,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:56:57] local.INFO: Acknowledgment sent {"connection_id":119931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:57:20] local.INFO: TCP Data received {"connection_id":119251,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:57:20] local.INFO: Processing buffer {"connection_id":119251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:57:20] local.INFO: IMEI packet received {"connection_id":119251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 16:57:20] local.INFO: IMEI acknowledgment sent {"connection_id":119251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:57:21] local.INFO: TCP Data received {"connection_id":119251,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:57:21] local.INFO: Processing buffer {"connection_id":119251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:57:21] local.INFO: IMEI packet received {"connection_id":119251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:57:21] local.INFO: IMEI acknowledgment sent {"connection_id":119251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:57:25] local.INFO: TCP Data received {"connection_id":119251,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:57:25] local.INFO: Processing buffer {"connection_id":119251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:57:25] local.INFO: IMEI packet received {"connection_id":119251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":119251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:57:26] local.INFO: TCP Data received {"connection_id":119251,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d6d34a0012cb771c007663290000a00002f..."} 
[2026-07-01 16:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d6d34a0012cb771c007663290000a00002f..."} 
[2026-07-01 16:57:26] local.INFO: Processing buffer {"connection_id":119251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d6d34a0012cb771c007663290000a00002f..."} 
[2026-07-01 16:57:26] local.INFO: Packet analysis {"connection_id":119251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d6d"} 
[2026-07-01 16:57:26] local.INFO: Extracted packet for processing {"connection_id":119251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d6d"} 
[2026-07-01 16:57:26] local.INFO: GPS Element Parsed {"raw_longitude":750219712,"raw_latitude":124138128,"longitude_deg":75.0219712,"latitude_deg":12.4138128,"altitude":10,"angle":0,"satellites":47,"speed":38,"hex_longitude":"2cb771c0","hex_latitude":"07663290","is_valid_coordinates":true} 
[2026-07-01 16:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:57:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423709440001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:57:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333710643842514944,"note":"Value kept but may cause issues"} 
[2026-07-01 16:57:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5227342129460678656,"note":"Value kept but may cause issues"} 
[2026-07-01 16:57:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:57:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782905124000,"timestamp_ms":1782905124000,"timestamp_seconds":1782905124,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d6d34a0"} 
[2026-07-01 16:57:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:57: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-01 16:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 16:57:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:57:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:57:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:57:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:57:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:57:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:57:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:57:26] 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-01 16:57:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:57:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:57:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423709440001,"66":27800,"198":206,"85":37888,"24":38,"16":333710643842514944,"44":-5227342129460678656},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,44]} 
[2026-07-01 16:57:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:57:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:57:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423709440001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:57:26] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-01 16:57:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 16:57:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333710643842514944,"km_value":333710643842514.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:57:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5227342129460678656,"description":"Unknown IO ID 44"} 
[2026-07-01 16:57:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423709440001,"power":27800,"unknown_198":206,"unknown_85":37888,"ignition":38,"odometer":null,"unknown_44":-5227342129460678656}} 
[2026-07-01 16:57:26] local.INFO: DEBUG: GPS processor result {"connection_id":119251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:57:26] local.INFO: GPS data processed {"connection_id":119251,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:57:26] local.INFO: Acknowledgment sent {"connection_id":119251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:57:56] local.INFO: TCP Data received {"connection_id":119251,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d6d57c8012cb7740007665718000a00032f..."} 
[2026-07-01 16:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d6d57c8012cb7740007665718000a00032f..."} 
[2026-07-01 16:57:56] local.INFO: Processing buffer {"connection_id":119251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d6d57c8012cb7740007665718000a00032f..."} 
[2026-07-01 16:57:56] local.INFO: Packet analysis {"connection_id":119251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d6d"} 
[2026-07-01 16:57:56] local.INFO: Extracted packet for processing {"connection_id":119251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d6d"} 
[2026-07-01 16:57:56] local.INFO: GPS Element Parsed {"raw_longitude":750220288,"raw_latitude":124147480,"longitude_deg":75.0220288,"latitude_deg":12.414748,"altitude":10,"angle":3,"satellites":47,"speed":42,"hex_longitude":"2cb77400","hex_latitude":"07665718","is_valid_coordinates":true} 
[2026-07-01 16:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423711744001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333711099109048320,"note":"Value kept but may cause issues"} 
[2026-07-01 16:57:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5228186554388541440,"note":"Value kept but may cause issues"} 
[2026-07-01 16:57:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782905133000,"timestamp_ms":1782905133000,"timestamp_seconds":1782905133,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d6d57c8"} 
[2026-07-01 16:57:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:57:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 16:57:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:57:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:57:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":119251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":119251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":119251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:57:56] 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-01 16:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423711744001,"66":27800,"198":206,"85":37888,"24":42,"16":333711099109048320,"44":-5228186554388541440},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,44]} 
[2026-07-01 16:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423711744001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:57:56] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-01 16:57:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 16:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333711099109048320,"km_value":333711099109048.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:57:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5228186554388541440,"description":"Unknown IO ID 44"} 
[2026-07-01 16:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423711744001,"power":27800,"unknown_198":206,"unknown_85":37888,"ignition":42,"odometer":null,"unknown_44":-5228186554388541440}} 
[2026-07-01 16:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":119251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:57:56] local.INFO: GPS data processed {"connection_id":119251,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:57:56] local.INFO: Acknowledgment sent {"connection_id":119251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:58:25] local.INFO: TCP Data received {"connection_id":119932,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:58:25] local.INFO: Processing buffer {"connection_id":119932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:58:25] local.INFO: IMEI packet received {"connection_id":119932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 16:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":119932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:58:25] local.INFO: TCP Data received {"connection_id":119932,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:58:25] local.INFO: Processing buffer {"connection_id":119932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:58:25] local.INFO: IMEI packet received {"connection_id":119932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":119932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:58:30] local.INFO: TCP Data received {"connection_id":119932,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:58:30] local.INFO: Processing buffer {"connection_id":119932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:58:30] local.INFO: IMEI packet received {"connection_id":119932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":119932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:58:31] local.INFO: TCP Data received {"connection_id":119932,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d6d82c0012cb7778007667a38000e00082e..."} 
[2026-07-01 16:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d6d82c0012cb7778007667a38000e00082e..."} 
[2026-07-01 16:58:31] local.INFO: Processing buffer {"connection_id":119932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d6d82c0012cb7778007667a38000e00082e..."} 
[2026-07-01 16:58:31] local.INFO: Packet analysis {"connection_id":119932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d6d"} 
[2026-07-01 16:58:31] local.INFO: Extracted packet for processing {"connection_id":119932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d6d"} 
[2026-07-01 16:58:31] local.INFO: GPS Element Parsed {"raw_longitude":750221184,"raw_latitude":124156472,"longitude_deg":75.0221184,"latitude_deg":12.4156472,"altitude":14,"angle":8,"satellites":46,"speed":25,"hex_longitude":"2cb77780","hex_latitude":"07667a38","is_valid_coordinates":true} 
[2026-07-01 16:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423714048001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333711537195712512,"note":"Value kept but may cause issues"} 
[2026-07-01 16:58:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5227553235688548352,"note":"Value kept but may cause issues"} 
[2026-07-01 16:58:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782905144000,"timestamp_ms":1782905144000,"timestamp_seconds":1782905144,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d6d82c0"} 
[2026-07-01 16:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 16:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 16:58:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:58:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:58:31] 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-01 16:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423714048001,"66":27745,"198":206,"85":37888,"24":25,"16":333711537195712512,"44":-5227553235688548352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,44]} 
[2026-07-01 16:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423714048001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:58:31] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-01 16:58:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 16:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333711537195712512,"km_value":333711537195712.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:58:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5227553235688548352,"description":"Unknown IO ID 44"} 
[2026-07-01 16:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423714048001,"power":27745,"unknown_198":206,"unknown_85":37888,"ignition":25,"odometer":null,"unknown_44":-5227553235688548352}} 
[2026-07-01 16:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":119932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:58:31] local.INFO: GPS data processed {"connection_id":119932,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:58:31] local.INFO: Acknowledgment sent {"connection_id":119932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:58:33] local.INFO: TCP Data received {"connection_id":119932,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d6db970012cb77bc007669d180010000330..."} 
[2026-07-01 16:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d6db970012cb77bc007669d180010000330..."} 
[2026-07-01 16:58:33] local.INFO: Processing buffer {"connection_id":119932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d6db970012cb77bc007669d180010000330..."} 
[2026-07-01 16:58:33] local.INFO: Packet analysis {"connection_id":119932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d6d"} 
[2026-07-01 16:58:33] local.INFO: Extracted packet for processing {"connection_id":119932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d6d"} 
[2026-07-01 16:58:33] local.INFO: GPS Element Parsed {"raw_longitude":750222272,"raw_latitude":124165400,"longitude_deg":75.0222272,"latitude_deg":12.41654,"altitude":16,"angle":3,"satellites":48,"speed":23,"hex_longitude":"2cb77bc0","hex_latitude":"07669d18","is_valid_coordinates":true} 
[2026-07-01 16:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423716864001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333711975282376704,"note":"Value kept but may cause issues"} 
[2026-07-01 16:58:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5226568073267759104,"note":"Value kept but may cause issues"} 
[2026-07-01 16:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782905158000,"timestamp_ms":1782905158000,"timestamp_seconds":1782905158,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d6db970"} 
[2026-07-01 16:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:58: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-01 16:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 16:58:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:58:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":119932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":119932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":119932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:58:33] 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-01 16:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423716864001,"66":27821,"198":206,"85":37888,"24":23,"16":333711975282376704,"44":-5226568073267759104},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,44]} 
[2026-07-01 16:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423716864001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:58:33] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-07-01 16:58:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 16:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333711975282376704,"km_value":333711975282376.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:58:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5226568073267759104,"description":"Unknown IO ID 44"} 
[2026-07-01 16:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423716864001,"power":27821,"unknown_198":206,"unknown_85":37888,"ignition":23,"odometer":null,"unknown_44":-5226568073267759104}} 
[2026-07-01 16:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":119932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:58:33] local.INFO: GPS data processed {"connection_id":119932,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:58:33] local.INFO: Acknowledgment sent {"connection_id":119932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:59:04] local.INFO: TCP Data received {"connection_id":119932,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d6fa1b8012cb79ac007683ea8001700042a..."} 
[2026-07-01 16:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d6fa1b8012cb79ac007683ea8001700042a..."} 
[2026-07-01 16:59:04] local.INFO: Processing buffer {"connection_id":119932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d6fa1b8012cb79ac007683ea8001700042a..."} 
[2026-07-01 16:59:04] local.INFO: Packet analysis {"connection_id":119932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d6f"} 
[2026-07-01 16:59:04] local.INFO: Extracted packet for processing {"connection_id":119932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d6f"} 
[2026-07-01 16:59:04] local.INFO: GPS Element Parsed {"raw_longitude":750230208,"raw_latitude":124272296,"longitude_deg":75.0230208,"latitude_deg":12.4272296,"altitude":23,"angle":4,"satellites":42,"speed":49,"hex_longitude":"2cb79ac0","hex_latitude":"07683ea8","is_valid_coordinates":true} 
[2026-07-01 16: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-01 16:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423750400001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333717197962608640,"note":"Value kept but may cause issues"} 
[2026-07-01 16:59:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5217631242730078208,"note":"Value kept but may cause issues"} 
[2026-07-01 16:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782905283000,"timestamp_ms":1782905283000,"timestamp_seconds":1782905283,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d6fa1b8"} 
[2026-07-01 16: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-01 16:59: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-01 16:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-01 16:59:04] 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-01 16: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-01 16: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-01 16:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":119932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":119932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":119932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:59:04] 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-01 16:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423750400001,"66":27789,"237":206,"85":37888,"24":49,"16":333717197962608640,"44":-5217631242730078208},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,44]} 
[2026-07-01 16:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423750400001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:59:04] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-07-01 16:59:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 16:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333717197962608640,"km_value":333717197962608.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:59:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5217631242730078208,"description":"Unknown IO ID 44"} 
[2026-07-01 16:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423750400001,"power":27789,"unknown_237":206,"unknown_85":37888,"ignition":49,"odometer":null,"unknown_44":-5217631242730078208}} 
[2026-07-01 16:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":119932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:59:04] local.INFO: GPS data processed {"connection_id":119932,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:59:04] local.INFO: Acknowledgment sent {"connection_id":119932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:59:20] local.INFO: TCP Data received {"connection_id":121011,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:59:20] local.INFO: Processing buffer {"connection_id":121011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:59:20] local.INFO: IMEI packet received {"connection_id":121011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 16:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":121011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 16:59:21] local.INFO: TCP Data received {"connection_id":121011,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:59:21] local.INFO: Processing buffer {"connection_id":121011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:59:21] local.INFO: IMEI packet received {"connection_id":121011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":121011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:59:25] local.INFO: TCP Data received {"connection_id":121011,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:59:25] local.INFO: Processing buffer {"connection_id":121011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 16:59:25] local.INFO: IMEI packet received {"connection_id":121011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 16:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":121011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 16:59:26] local.INFO: TCP Data received {"connection_id":121011,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d6fc0f8012cb79e4007686468001400082b..."} 
[2026-07-01 16:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d6fc0f8012cb79e4007686468001400082b..."} 
[2026-07-01 16:59:26] local.INFO: Processing buffer {"connection_id":121011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d6fc0f8012cb79e4007686468001400082b..."} 
[2026-07-01 16:59:26] local.INFO: Packet analysis {"connection_id":121011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d6f"} 
[2026-07-01 16:59:26] local.INFO: Extracted packet for processing {"connection_id":121011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d6f"} 
[2026-07-01 16:59:26] local.INFO: GPS Element Parsed {"raw_longitude":750231104,"raw_latitude":124281960,"longitude_deg":75.0231104,"latitude_deg":12.428196,"altitude":20,"angle":8,"satellites":43,"speed":44,"hex_longitude":"2cb79e40","hex_latitude":"07686468","is_valid_coordinates":true} 
[2026-07-01 16:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423752448001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333717666114043904,"note":"Value kept but may cause issues"} 
[2026-07-01 16:59:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5216646080309057536,"note":"Value kept but may cause issues"} 
[2026-07-01 16:59:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782905291000,"timestamp_ms":1782905291000,"timestamp_seconds":1782905291,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d6fc0f8"} 
[2026-07-01 16:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:59: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-01 16:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-01 16:59:26] 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-01 16:59:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":121011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":121011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":121011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:59:26] 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-01 16:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423752448001,"66":27865,"14":206,"85":37888,"24":44,"16":333717666114043904,"44":-5216646080309057536},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,85,24,16,44]} 
[2026-07-01 16:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423752448001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:59:26] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-07-01 16:59:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 16:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333717666114043904,"km_value":333717666114043.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:59:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5216646080309057536,"description":"Unknown IO ID 44"} 
[2026-07-01 16:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423752448001,"power":27865,"unknown_14":206,"unknown_85":37888,"ignition":44,"odometer":null,"unknown_44":-5216646080309057536}} 
[2026-07-01 16:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":121011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:59:26] local.INFO: GPS data processed {"connection_id":121011,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:59:26] local.INFO: Acknowledgment sent {"connection_id":121011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 16:59:28] local.INFO: TCP Data received {"connection_id":121011,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d6fe038012cb7a14007688968001400032d..."} 
[2026-07-01 16:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d6fe038012cb7a14007688968001400032d..."} 
[2026-07-01 16:59:28] local.INFO: Processing buffer {"connection_id":121011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d6fe038012cb7a14007688968001400032d..."} 
[2026-07-01 16:59:28] local.INFO: Packet analysis {"connection_id":121011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d6f"} 
[2026-07-01 16:59:28] local.INFO: Extracted packet for processing {"connection_id":121011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d6f"} 
[2026-07-01 16:59:28] local.INFO: GPS Element Parsed {"raw_longitude":750231872,"raw_latitude":124291432,"longitude_deg":75.0231872,"latitude_deg":12.4291432,"altitude":20,"angle":3,"satellites":45,"speed":48,"hex_longitude":"2cb7a140","hex_latitude":"07688968","is_valid_coordinates":true} 
[2026-07-01 16:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 16:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423754496001,"note":"Value kept but may cause issues"} 
[2026-07-01 16:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333718129970511872,"note":"Value kept but may cause issues"} 
[2026-07-01 16:59:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5215660917888096256,"note":"Value kept but may cause issues"} 
[2026-07-01 16:59:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 16:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782905299000,"timestamp_ms":1782905299000,"timestamp_seconds":1782905299,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d6fe038"} 
[2026-07-01 16:59:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 16:59: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-01 16:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 16:59:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 16:59:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 16:59:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 16:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 16:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":121011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 16:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":121011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":121011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 16:59:28] 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-01 16:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 16:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 16:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423754496001,"66":27821,"14":206,"85":37888,"24":48,"16":333718129970511872,"44":-5215660917888096256},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,85,24,16,44]} 
[2026-07-01 16:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 16:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 16:59:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423754496001,"description":"Unknown IO ID 0"} 
[2026-07-01 16:59:28] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-07-01 16:59:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 16:59:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333718129970511872,"km_value":333718129970511.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 16:59:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5215660917888096256,"description":"Unknown IO ID 44"} 
[2026-07-01 16:59:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423754496001,"power":27821,"unknown_14":206,"unknown_85":37888,"ignition":48,"odometer":null,"unknown_44":-5215660917888096256}} 
[2026-07-01 16:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":121011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 16:59:28] local.INFO: GPS data processed {"connection_id":121011,"processed":1,"errors":0,"total":1} 
[2026-07-01 16:59:28] local.INFO: Acknowledgment sent {"connection_id":121011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:00:04] local.INFO: TCP Data received {"connection_id":121011,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d6fff78012cb7a3c00768aef0001400042c..."} 
[2026-07-01 17:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d6fff78012cb7a3c00768aef0001400042c..."} 
[2026-07-01 17:00:04] local.INFO: Processing buffer {"connection_id":121011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d6fff78012cb7a3c00768aef0001400042c..."} 
[2026-07-01 17:00:04] local.INFO: Packet analysis {"connection_id":121011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d6f"} 
[2026-07-01 17:00:04] local.INFO: Extracted packet for processing {"connection_id":121011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d6f"} 
[2026-07-01 17:00:04] local.INFO: GPS Element Parsed {"raw_longitude":750232512,"raw_latitude":124301040,"longitude_deg":75.0232512,"latitude_deg":12.430104,"altitude":20,"angle":4,"satellites":44,"speed":47,"hex_longitude":"2cb7a3c0","hex_latitude":"0768aef0","is_valid_coordinates":true} 
[2026-07-01 17:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423756544001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333718598121947136,"note":"Value kept but may cause issues"} 
[2026-07-01 17:00:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5214816492955539456,"note":"Value kept but may cause issues"} 
[2026-07-01 17:00:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782905307000,"timestamp_ms":1782905307000,"timestamp_seconds":1782905307,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d6fff78"} 
[2026-07-01 17:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:00: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-01 17:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 17:00:04] 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-01 17:00:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":121011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":121011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":121011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:00:04] 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-01 17:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423756544001,"66":27843,"14":206,"85":37888,"24":47,"16":333718598121947136,"44":-5214816492955539456},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,85,24,16,44]} 
[2026-07-01 17:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423756544001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:00:04] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-07-01 17:00:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 17:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333718598121947136,"km_value":333718598121947.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:00:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5214816492955539456,"description":"Unknown IO ID 44"} 
[2026-07-01 17:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423756544001,"power":27843,"unknown_14":206,"unknown_85":37888,"ignition":47,"odometer":null,"unknown_44":-5214816492955539456}} 
[2026-07-01 17:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":121011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:00:04] local.INFO: GPS data processed {"connection_id":121011,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:00:04] local.INFO: Acknowledgment sent {"connection_id":121011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:00:30] local.INFO: TCP Data received {"connection_id":121013,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:00:30] local.INFO: Processing buffer {"connection_id":121013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:00:30] local.INFO: IMEI packet received {"connection_id":121013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 17:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":121013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:00:34] local.INFO: TCP Data received {"connection_id":121013,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:00:34] local.INFO: Processing buffer {"connection_id":121013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:00:34] local.INFO: IMEI packet received {"connection_id":121013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":121013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:00:34] local.INFO: TCP Data received {"connection_id":121013,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d701eb8012cb7a7800768d568001700062d..."} 
[2026-07-01 17:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d701eb8012cb7a7800768d568001700062d..."} 
[2026-07-01 17:00:34] local.INFO: Processing buffer {"connection_id":121013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d701eb8012cb7a7800768d568001700062d..."} 
[2026-07-01 17:00:34] local.INFO: Packet analysis {"connection_id":121013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d70"} 
[2026-07-01 17:00:34] local.INFO: Extracted packet for processing {"connection_id":121013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d70"} 
[2026-07-01 17:00:34] local.INFO: GPS Element Parsed {"raw_longitude":750233472,"raw_latitude":124310888,"longitude_deg":75.0233472,"latitude_deg":12.4310888,"altitude":23,"angle":6,"satellites":45,"speed":52,"hex_longitude":"2cb7a780","hex_latitude":"0768d568","is_valid_coordinates":true} 
[2026-07-01 17:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423758592001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333719074863316992,"note":"Value kept but may cause issues"} 
[2026-07-01 17:00:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5214112805511303168,"note":"Value kept but may cause issues"} 
[2026-07-01 17:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782905315000,"timestamp_ms":1782905315000,"timestamp_seconds":1782905315,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d701eb8"} 
[2026-07-01 17:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:00:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 17:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:00:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":121013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":121013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":121013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:00:34] 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-01 17:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423758592001,"66":27876,"14":206,"85":37888,"24":52,"16":333719074863316992,"44":-5214112805511303168},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,85,24,16,44]} 
[2026-07-01 17:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423758592001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:00:34] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-07-01 17:00:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 17:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333719074863316992,"km_value":333719074863317.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:00:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5214112805511303168,"description":"Unknown IO ID 44"} 
[2026-07-01 17:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423758592001,"power":27876,"unknown_14":206,"unknown_85":37888,"ignition":52,"odometer":null,"unknown_44":-5214112805511303168}} 
[2026-07-01 17:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":121013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:00:34] local.INFO: GPS data processed {"connection_id":121013,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:00:34] local.INFO: Acknowledgment sent {"connection_id":121013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:01:18] local.INFO: TCP Data received {"connection_id":119252,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:01:18] local.INFO: Processing buffer {"connection_id":119252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:01:18] local.INFO: IMEI packet received {"connection_id":119252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 17:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":119252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:01:20] local.INFO: TCP Data received {"connection_id":119252,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:01:20] local.INFO: Processing buffer {"connection_id":119252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:01:20] local.INFO: IMEI packet received {"connection_id":119252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":119252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:01:25] local.INFO: TCP Data received {"connection_id":119252,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:01:25] local.INFO: Processing buffer {"connection_id":119252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:01:25] local.INFO: IMEI packet received {"connection_id":119252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:01:25] local.INFO: IMEI acknowledgment sent {"connection_id":119252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:01:26] local.INFO: TCP Data received {"connection_id":119252,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d7195b8012cb7d640076a9b58001a01522c..."} 
[2026-07-01 17:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d7195b8012cb7d640076a9b58001a01522c..."} 
[2026-07-01 17:01:26] local.INFO: Processing buffer {"connection_id":119252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d7195b8012cb7d640076a9b58001a01522c..."} 
[2026-07-01 17:01:26] local.INFO: Packet analysis {"connection_id":119252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d71"} 
[2026-07-01 17:01:26] local.INFO: Extracted packet for processing {"connection_id":119252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d71"} 
[2026-07-01 17:01:26] local.INFO: GPS Element Parsed {"raw_longitude":750245440,"raw_latitude":124427096,"longitude_deg":75.024544,"latitude_deg":12.4427096,"altitude":26,"angle":338,"satellites":44,"speed":48,"hex_longitude":"2cb7d640","hex_latitude":"076a9b58","is_valid_coordinates":true} 
[2026-07-01 17:01:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423783168001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333724838709428224,"note":"Value kept but may cause issues"} 
[2026-07-01 17:01:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5196379881948549120,"note":"Value kept but may cause issues"} 
[2026-07-01 17:01:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782905411000,"timestamp_ms":1782905411000,"timestamp_seconds":1782905411,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d7195b8"} 
[2026-07-01 17:01:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:01: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-01 17:01:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 17:01:26] 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-01 17:01:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:01:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:01:26] 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-01 17:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423783168001,"66":27865,"132":206,"85":37888,"24":48,"16":333724838709428224,"44":-5196379881948549120},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,85,24,16,44]} 
[2026-07-01 17:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423783168001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:01:26] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-07-01 17:01:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 17:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333724838709428224,"km_value":333724838709428.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:01:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5196379881948549120,"description":"Unknown IO ID 44"} 
[2026-07-01 17:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423783168001,"power":27865,"unknown_132":206,"unknown_85":37888,"ignition":48,"odometer":null,"unknown_44":-5196379881948549120}} 
[2026-07-01 17:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":119252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:01:26] local.INFO: GPS data processed {"connection_id":119252,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:01:26] local.INFO: Acknowledgment sent {"connection_id":119252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:01:45] local.INFO: TCP Data received {"connection_id":119253,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119253,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:01:45] local.INFO: Processing buffer {"connection_id":119253,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:01:45] local.INFO: IMEI packet received {"connection_id":119253,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 17:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":119253,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:01:57] local.INFO: TCP Data received {"connection_id":119252,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d71b4f8012cb7c5c0076abf90001a014e2c..."} 
[2026-07-01 17:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d71b4f8012cb7c5c0076abf90001a014e2c..."} 
[2026-07-01 17:01:57] local.INFO: Processing buffer {"connection_id":119252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d71b4f8012cb7c5c0076abf90001a014e2c..."} 
[2026-07-01 17:01:57] local.INFO: Packet analysis {"connection_id":119252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d71"} 
[2026-07-01 17:01:57] local.INFO: Extracted packet for processing {"connection_id":119252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d71"} 
[2026-07-01 17:01:57] local.INFO: GPS Element Parsed {"raw_longitude":750241216,"raw_latitude":124436368,"longitude_deg":75.0241216,"latitude_deg":12.4436368,"altitude":26,"angle":334,"satellites":44,"speed":51,"hex_longitude":"2cb7c5c0","hex_latitude":"076abf90","is_valid_coordinates":true} 
[2026-07-01 17:01:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:01:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423785216001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:01:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333725328335699968,"note":"Value kept but may cause issues"} 
[2026-07-01 17:01:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5199898319155144704,"note":"Value kept but may cause issues"} 
[2026-07-01 17:01:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:01:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782905419000,"timestamp_ms":1782905419000,"timestamp_seconds":1782905419,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d71b4f8"} 
[2026-07-01 17:01:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:01:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:01:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 17:01:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:01:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:01:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:01:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:01:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:01:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:01:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:01:57] 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-01 17:01:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:01:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:01:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423785216001,"66":27800,"132":206,"85":37888,"24":51,"16":333725328335699968,"44":-5199898319155144704},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,85,24,16,44]} 
[2026-07-01 17:01:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:01:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:01:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423785216001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:01:57] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-07-01 17:01:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 17:01:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333725328335699968,"km_value":333725328335699.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:01:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5199898319155144704,"description":"Unknown IO ID 44"} 
[2026-07-01 17:01:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423785216001,"power":27800,"unknown_132":206,"unknown_85":37888,"ignition":51,"odometer":null,"unknown_44":-5199898319155144704}} 
[2026-07-01 17:01:57] local.INFO: DEBUG: GPS processor result {"connection_id":119252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:01:57] local.INFO: GPS data processed {"connection_id":119252,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:01:57] local.INFO: Acknowledgment sent {"connection_id":119252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:02:20] local.INFO: TCP Data received {"connection_id":119934,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119934,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:02:20] local.INFO: Processing buffer {"connection_id":119934,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:02:20] local.INFO: IMEI packet received {"connection_id":119934,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 17:02:20] local.INFO: IMEI acknowledgment sent {"connection_id":119934,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:02:20] local.INFO: TCP Data received {"connection_id":119935,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:02:20] local.INFO: Processing buffer {"connection_id":119935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:02:20] local.INFO: IMEI packet received {"connection_id":119935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 17:02:20] local.INFO: IMEI acknowledgment sent {"connection_id":119935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:02:26] local.INFO: TCP Data received {"connection_id":119935,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:02:26] local.INFO: Processing buffer {"connection_id":119935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:02:26] local.INFO: IMEI packet received {"connection_id":119935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":119935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:02:26] local.INFO: TCP Data received {"connection_id":119935,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d71d050012cb7b740076ae000001a01502b..."} 
[2026-07-01 17:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d71d050012cb7b740076ae000001a01502b..."} 
[2026-07-01 17:02:26] local.INFO: Processing buffer {"connection_id":119935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d71d050012cb7b740076ae000001a01502b..."} 
[2026-07-01 17:02:26] local.INFO: Packet analysis {"connection_id":119935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d71"} 
[2026-07-01 17:02:26] local.INFO: Extracted packet for processing {"connection_id":119935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d71"} 
[2026-07-01 17:02:26] local.INFO: GPS Element Parsed {"raw_longitude":750237504,"raw_latitude":124444672,"longitude_deg":75.0237504,"latitude_deg":12.4444672,"altitude":26,"angle":336,"satellites":43,"speed":51,"hex_longitude":"2cb7b740","hex_latitude":"076ae000","is_valid_coordinates":true} 
[2026-07-01 17:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423787264001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:02:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333725770717331456,"note":"Value kept but may cause issues"} 
[2026-07-01 17:02:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5204542656268496896,"note":"Value kept but may cause issues"} 
[2026-07-01 17:02:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:02:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782905426000,"timestamp_ms":1782905426000,"timestamp_seconds":1782905426,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d71d050"} 
[2026-07-01 17:02:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:02:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 17:02:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:02:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:02:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:02:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:02:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:02:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:02:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:02:26] 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-01 17:02:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:02:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:02:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423787264001,"66":27713,"132":206,"85":37888,"24":51,"16":333725770717331456,"44":-5204542656268496896},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,85,24,16,44]} 
[2026-07-01 17:02:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:02:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:02:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423787264001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:02:26] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-07-01 17:02:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 17:02:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333725770717331456,"km_value":333725770717331.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:02:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5204542656268496896,"description":"Unknown IO ID 44"} 
[2026-07-01 17:02:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423787264001,"power":27713,"unknown_132":206,"unknown_85":37888,"ignition":51,"odometer":null,"unknown_44":-5204542656268496896}} 
[2026-07-01 17:02:26] local.INFO: DEBUG: GPS processor result {"connection_id":119935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:02:26] local.INFO: GPS data processed {"connection_id":119935,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:02:26] local.INFO: Acknowledgment sent {"connection_id":119935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:02:58] local.INFO: TCP Data received {"connection_id":119935,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d72d220012cb78c40076b9508001201622b..."} 
[2026-07-01 17:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d72d220012cb78c40076b9508001201622b..."} 
[2026-07-01 17:02:58] local.INFO: Processing buffer {"connection_id":119935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d72d220012cb78c40076b9508001201622b..."} 
[2026-07-01 17:02:58] local.INFO: Packet analysis {"connection_id":119935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d72"} 
[2026-07-01 17:02:58] local.INFO: Extracted packet for processing {"connection_id":119935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d72"} 
[2026-07-01 17:02:58] local.INFO: GPS Element Parsed {"raw_longitude":750226496,"raw_latitude":124491016,"longitude_deg":75.0226496,"latitude_deg":12.4491016,"altitude":18,"angle":354,"satellites":43,"speed":0,"hex_longitude":"2cb78c40","hex_latitude":"076b9508","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423800576001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333728218848690176,"note":"Value kept but may cause issues"} 
[2026-07-01 17:02:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5220375623694811136,"note":"Value kept but may cause issues"} 
[2026-07-01 17:02:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782905492000,"timestamp_ms":1782905492000,"timestamp_seconds":1782905492,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d72d220"} 
[2026-07-01 17: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-01 17:02:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-07-01 17:02:58] 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-01 17: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-01 17: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-01 17:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:02:58] 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-01 17:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423800576001,"66":27995,"132":206,"85":37888,"24":0,"16":333728218848690176,"44":-5220375623694811136},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,85,24,16,44]} 
[2026-07-01 17:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423800576001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:02:58] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-07-01 17:02:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 17:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333728218848690176,"km_value":333728218848690.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:02:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5220375623694811136,"description":"Unknown IO ID 44"} 
[2026-07-01 17:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423800576001,"power":27995,"unknown_132":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-5220375623694811136}} 
[2026-07-01 17:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":119935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:02:58] local.INFO: GPS data processed {"connection_id":119935,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:02:58] local.INFO: Acknowledgment sent {"connection_id":119935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:03:30] local.INFO: TCP Data received {"connection_id":121015,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:03:30] local.INFO: Processing buffer {"connection_id":121015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:03:30] local.INFO: IMEI packet received {"connection_id":121015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 17:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":121015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:03:31] local.INFO: TCP Data received {"connection_id":121015,"ip":"42.106.6.27","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 17:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121015,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 17:03:31] local.INFO: Processing buffer {"connection_id":121015,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 17:03:31] local.INFO: IMEI packet received {"connection_id":121015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":121015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:03:31] local.INFO: TCP Data received {"connection_id":121015,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d732428012cb78c40076b9508001201622b..."} 
[2026-07-01 17:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d732428012cb78c40076b9508001201622b..."} 
[2026-07-01 17:03:31] local.INFO: Processing buffer {"connection_id":121015,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f1d..."} 
[2026-07-01 17:03:31] local.INFO: IMEI packet received {"connection_id":121015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":121015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:03:33] local.INFO: TCP Data received {"connection_id":121015,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d737630012cb78c40076b9508001201622a..."} 
[2026-07-01 17:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d737630012cb78c40076b9508001201622a..."} 
[2026-07-01 17:03:33] local.INFO: Processing buffer {"connection_id":121015,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f1d732428012cb78c40076b9508001201622b..."} 
[2026-07-01 17:03:33] local.INFO: Packet analysis {"connection_id":121015,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f1d73"} 
[2026-07-01 17:03:33] local.INFO: Extracted packet for processing {"connection_id":121015,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d73"} 
[2026-07-01 17:03:33] local.INFO: GPS Element Parsed {"raw_longitude":750226496,"raw_latitude":124491016,"longitude_deg":75.0226496,"latitude_deg":12.4491016,"altitude":18,"angle":354,"satellites":43,"speed":0,"hex_longitude":"2cb78c40","hex_latitude":"076b9508","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423805952001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333728218848690176,"note":"Value kept but may cause issues"} 
[2026-07-01 17:03:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5220727467415369728,"note":"Value kept but may cause issues"} 
[2026-07-01 17:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782905513000,"timestamp_ms":1782905513000,"timestamp_seconds":1782905513,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d732428"} 
[2026-07-01 17: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-01 17:03: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-01 17: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-01 17:03:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17: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-01 17: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-01 17:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":121015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":121015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":121015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:03:33] 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-01 17:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423805952001,"66":27843,"132":206,"85":37888,"24":0,"16":333728218848690176,"44":-5220727467415369728},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,85,24,16,44]} 
[2026-07-01 17:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423805952001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:03:33] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-07-01 17:03:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 17:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333728218848690176,"km_value":333728218848690.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:03:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5220727467415369728,"description":"Unknown IO ID 44"} 
[2026-07-01 17:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423805952001,"power":27843,"unknown_132":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-5220727467415369728}} 
[2026-07-01 17:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":121015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:03:33] local.INFO: GPS data processed {"connection_id":121015,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:03:33] local.INFO: Acknowledgment sent {"connection_id":121015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:03:33] local.INFO: Packet analysis {"connection_id":121015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d73"} 
[2026-07-01 17:03:33] local.INFO: Extracted packet for processing {"connection_id":121015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d73"} 
[2026-07-01 17:03:33] local.INFO: GPS Element Parsed {"raw_longitude":750226496,"raw_latitude":124491016,"longitude_deg":75.0226496,"latitude_deg":12.4491016,"altitude":18,"angle":354,"satellites":42,"speed":0,"hex_longitude":"2cb78c40","hex_latitude":"076b9508","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423811328001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333728218848690176,"note":"Value kept but may cause issues"} 
[2026-07-01 17:03:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5220727467415369728,"note":"Value kept but may cause issues"} 
[2026-07-01 17:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782905534000,"timestamp_ms":1782905534000,"timestamp_seconds":1782905534,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d737630"} 
[2026-07-01 17: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-01 17:03: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-01 17:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 17:03:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17: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-01 17: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-01 17:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":121015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":121015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":121015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:03:33] 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-01 17:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423811328001,"66":27821,"132":206,"85":37888,"24":0,"16":333728218848690176,"44":-5220727467415369728},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,85,24,16,44]} 
[2026-07-01 17:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423811328001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:03:33] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-07-01 17:03:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 17:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333728218848690176,"km_value":333728218848690.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:03:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5220727467415369728,"description":"Unknown IO ID 44"} 
[2026-07-01 17:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423811328001,"power":27821,"unknown_132":206,"unknown_85":37888,"ignition":0,"odometer":null,"unknown_44":-5220727467415369728}} 
[2026-07-01 17:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":121015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:03:33] local.INFO: GPS data processed {"connection_id":121015,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:03:33] local.INFO: Acknowledgment sent {"connection_id":121015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:03:35] local.INFO: TCP Data received {"connection_id":121015,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d739570012cb78d40076b96c00015000c2b..."} 
[2026-07-01 17:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d739570012cb78d40076b96c00015000c2b..."} 
[2026-07-01 17:03:35] local.INFO: Processing buffer {"connection_id":121015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d739570012cb78d40076b96c00015000c2b..."} 
[2026-07-01 17:03:35] local.INFO: Packet analysis {"connection_id":121015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d73"} 
[2026-07-01 17:03:35] local.INFO: Extracted packet for processing {"connection_id":121015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d73"} 
[2026-07-01 17:03:35] local.INFO: GPS Element Parsed {"raw_longitude":750226752,"raw_latitude":124491456,"longitude_deg":75.0226752,"latitude_deg":12.4491456,"altitude":21,"angle":12,"satellites":43,"speed":9,"hex_longitude":"2cb78d40","hex_latitude":"076b96c0","is_valid_coordinates":true} 
[2026-07-01 17:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423816704001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333728240323526656,"note":"Value kept but may cause issues"} 
[2026-07-01 17:03:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5220727467415369728,"note":"Value kept but may cause issues"} 
[2026-07-01 17:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782905542000,"timestamp_ms":1782905542000,"timestamp_seconds":1782905542,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d739570"} 
[2026-07-01 17:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 17:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:03:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":121015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":121015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":121015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 17:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423816704001,"66":27908,"133":206,"85":37888,"24":9,"16":333728240323526656,"44":-5220727467415369728},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,85,24,16,44]} 
[2026-07-01 17:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423816704001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:03:35] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-01 17:03:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 17:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333728240323526656,"km_value":333728240323526.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:03:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5220727467415369728,"description":"Unknown IO ID 44"} 
[2026-07-01 17:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423816704001,"power":27908,"unknown_133":206,"unknown_85":37888,"ignition":9,"odometer":null,"unknown_44":-5220727467415369728}} 
[2026-07-01 17:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":121015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:03:35] local.INFO: GPS data processed {"connection_id":121015,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:03:35] local.INFO: Acknowledgment sent {"connection_id":121015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:04:20] local.INFO: TCP Data received {"connection_id":119133,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:04:20] local.INFO: Processing buffer {"connection_id":119133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:04:20] local.INFO: IMEI packet received {"connection_id":119133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 17:04:20] local.INFO: IMEI acknowledgment sent {"connection_id":119133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:04:21] local.INFO: TCP Data received {"connection_id":119133,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:04:21] local.INFO: Processing buffer {"connection_id":119133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:04:21] local.INFO: IMEI packet received {"connection_id":119133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":119133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:04:25] local.INFO: TCP Data received {"connection_id":119133,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:04:25] local.INFO: Processing buffer {"connection_id":119133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:04:25] local.INFO: IMEI packet received {"connection_id":119133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:04:25] local.INFO: IMEI acknowledgment sent {"connection_id":119133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:04:26] local.INFO: TCP Data received {"connection_id":119133,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d748f70012cb71bc0076c5f38000a01132e..."} 
[2026-07-01 17:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d748f70012cb71bc0076c5f38000a01132e..."} 
[2026-07-01 17:04:26] local.INFO: Processing buffer {"connection_id":119133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d748f70012cb71bc0076c5f38000a01132e..."} 
[2026-07-01 17:04:26] local.INFO: Packet analysis {"connection_id":119133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d74"} 
[2026-07-01 17:04:26] local.INFO: Extracted packet for processing {"connection_id":119133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d74"} 
[2026-07-01 17:04:26] local.INFO: GPS Element Parsed {"raw_longitude":750197696,"raw_latitude":124542776,"longitude_deg":75.0197696,"latitude_deg":12.4542776,"altitude":10,"angle":275,"satellites":46,"speed":50,"hex_longitude":"2cb71bc0","hex_latitude":"076c5f38","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:04:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423833344001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:04:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333731478728867840,"note":"Value kept but may cause issues"} 
[2026-07-01 17:04:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5242189934376501248,"note":"Value kept but may cause issues"} 
[2026-07-01 17:04:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:04:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782905606000,"timestamp_ms":1782905606000,"timestamp_seconds":1782905606,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d748f70"} 
[2026-07-01 17: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-01 17:04: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-01 17: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 17:04:26] 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-01 17: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-01 17: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-01 17:04:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:04:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:04:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:04:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:04:26] 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-01 17:04:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:04:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:04:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423833344001,"66":27767,"152":206,"85":37888,"24":50,"16":333731478728867840,"44":-5242189934376501248},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,85,24,16,44]} 
[2026-07-01 17:04:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:04:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:04:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423833344001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:04:26] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-07-01 17:04:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 17:04:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333731478728867840,"km_value":333731478728867.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:04:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5242189934376501248,"description":"Unknown IO ID 44"} 
[2026-07-01 17:04:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423833344001,"power":27767,"unknown_152":206,"unknown_85":37888,"ignition":50,"odometer":null,"unknown_44":-5242189934376501248}} 
[2026-07-01 17:04:26] local.INFO: DEBUG: GPS processor result {"connection_id":119133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:04:26] local.INFO: GPS data processed {"connection_id":119133,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:04:26] local.INFO: Acknowledgment sent {"connection_id":119133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:04:35] local.INFO: TCP Data received {"connection_id":119133,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d74aeb0012cb6f6c0076c62f8000701122d..."} 
[2026-07-01 17:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d74aeb0012cb6f6c0076c62f8000701122d..."} 
[2026-07-01 17:04:35] local.INFO: Processing buffer {"connection_id":119133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d74aeb0012cb6f6c0076c62f8000701122d..."} 
[2026-07-01 17:04:35] local.INFO: Packet analysis {"connection_id":119133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d74"} 
[2026-07-01 17:04:35] local.INFO: Extracted packet for processing {"connection_id":119133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d74"} 
[2026-07-01 17:04:35] local.INFO: GPS Element Parsed {"raw_longitude":750188224,"raw_latitude":124543736,"longitude_deg":75.0188224,"latitude_deg":12.4543736,"altitude":7,"angle":274,"satellites":45,"speed":42,"hex_longitude":"2cb6f6c0","hex_latitude":"076c62f8","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423835136001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333731929700433920,"note":"Value kept but may cause issues"} 
[2026-07-01 17:04:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5252393402282067968,"note":"Value kept but may cause issues"} 
[2026-07-01 17:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782905614000,"timestamp_ms":1782905614000,"timestamp_seconds":1782905614,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d74aeb0"} 
[2026-07-01 17: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-01 17:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 17:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17: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-01 17:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":119133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":119133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":119133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 17:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423835136001,"66":27767,"152":206,"85":37888,"24":42,"16":333731929700433920,"44":-5252393402282067968},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,85,24,16,44]} 
[2026-07-01 17:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423835136001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:04:35] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-07-01 17:04:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 17:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333731929700433920,"km_value":333731929700433.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:04:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5252393402282067968,"description":"Unknown IO ID 44"} 
[2026-07-01 17:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423835136001,"power":27767,"unknown_152":206,"unknown_85":37888,"ignition":42,"odometer":null,"unknown_44":-5252393402282067968}} 
[2026-07-01 17:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":119133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:04:35] local.INFO: GPS data processed {"connection_id":119133,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:04:35] local.INFO: Acknowledgment sent {"connection_id":119133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:05:20] local.INFO: TCP Data received {"connection_id":119938,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:05:20] local.INFO: Processing buffer {"connection_id":119938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:05:20] local.INFO: IMEI packet received {"connection_id":119938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 17:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":119938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:05:20] local.INFO: TCP Data received {"connection_id":119938,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:05:20] local.INFO: Processing buffer {"connection_id":119938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:05:20] local.INFO: IMEI packet received {"connection_id":119938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":119938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:05:25] local.INFO: TCP Data received {"connection_id":119938,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:05:25] local.INFO: Processing buffer {"connection_id":119938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:05:25] local.INFO: IMEI packet received {"connection_id":119938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":119938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:05:26] local.INFO: TCP Data received {"connection_id":119938,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d74cdf0012cb6d300076c6788000501182d..."} 
[2026-07-01 17:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d74cdf0012cb6d300076c6788000501182d..."} 
[2026-07-01 17:05:26] local.INFO: Processing buffer {"connection_id":119938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d74cdf0012cb6d300076c6788000501182d..."} 
[2026-07-01 17:05:26] local.INFO: Packet analysis {"connection_id":119938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d74"} 
[2026-07-01 17:05:26] local.INFO: Extracted packet for processing {"connection_id":119938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d74"} 
[2026-07-01 17:05:26] local.INFO: GPS Element Parsed {"raw_longitude":750179072,"raw_latitude":124544904,"longitude_deg":75.0179072,"latitude_deg":12.4544904,"altitude":5,"angle":280,"satellites":45,"speed":46,"hex_longitude":"2cb6d300","hex_latitude":"076c6788","is_valid_coordinates":true} 
[2026-07-01 17:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423837184001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333732367787098112,"note":"Value kept but may cause issues"} 
[2026-07-01 17:05:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5262807976420116480,"note":"Value kept but may cause issues"} 
[2026-07-01 17:05:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782905622000,"timestamp_ms":1782905622000,"timestamp_seconds":1782905622,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d74cdf0"} 
[2026-07-01 17:05:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:05: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-01 17:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 17:05:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:05:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:05:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:05:26] 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-01 17:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423837184001,"66":26963,"152":206,"85":37888,"24":46,"16":333732367787098112,"44":-5262807976420116480},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,85,24,16,44]} 
[2026-07-01 17:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423837184001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:05:26] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-07-01 17:05:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 17:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333732367787098112,"km_value":333732367787098.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:05:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5262807976420116480,"description":"Unknown IO ID 44"} 
[2026-07-01 17:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423837184001,"power":26963,"unknown_152":206,"unknown_85":37888,"ignition":46,"odometer":null,"unknown_44":-5262807976420116480}} 
[2026-07-01 17:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":119938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:05:26] local.INFO: GPS data processed {"connection_id":119938,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:05:26] local.INFO: Acknowledgment sent {"connection_id":119938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:05:56] local.INFO: TCP Data received {"connection_id":119938,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d760a58012cb5e400076d6b88001701582c..."} 
[2026-07-01 17:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d760a58012cb5e400076d6b88001701582c..."} 
[2026-07-01 17:05:56] local.INFO: Processing buffer {"connection_id":119938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d760a58012cb5e400076d6b88001701582c..."} 
[2026-07-01 17:05:56] local.INFO: Packet analysis {"connection_id":119938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d76"} 
[2026-07-01 17:05:56] local.INFO: Extracted packet for processing {"connection_id":119938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d76"} 
[2026-07-01 17:05:56] local.INFO: GPS Element Parsed {"raw_longitude":750117888,"raw_latitude":124611464,"longitude_deg":75.0117888,"latitude_deg":12.4611464,"altitude":23,"angle":344,"satellites":44,"speed":47,"hex_longitude":"2cb5e400","hex_latitude":"076d6b88","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423857920001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333736959107137536,"note":"Value kept but may cause issues"} 
[2026-07-01 17:05:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5337821057698557952,"note":"Value kept but may cause issues"} 
[2026-07-01 17:05:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782905703000,"timestamp_ms":1782905703000,"timestamp_seconds":1782905703,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d760a58"} 
[2026-07-01 17: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-01 17:05:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-01 17:05:56] 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-01 17: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-01 17: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-01 17:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":119938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":119938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":119938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:05:56] 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-01 17:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423857920001,"66":27767,"90":206,"85":37888,"24":47,"16":333736959107137536,"44":-5337821057698557952},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,85,24,16,44]} 
[2026-07-01 17:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423857920001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:05:56] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-07-01 17:05:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 17:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333736959107137536,"km_value":333736959107137.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:05:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5337821057698557952,"description":"Unknown IO ID 44"} 
[2026-07-01 17:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423857920001,"power":27767,"unknown_90":206,"unknown_85":37888,"ignition":47,"odometer":null,"unknown_44":-5337821057698557952}} 
[2026-07-01 17:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":119938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:05:56] local.INFO: GPS data processed {"connection_id":119938,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:05:56] local.INFO: Acknowledgment sent {"connection_id":119938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:06:20] local.INFO: TCP Data received {"connection_id":119136,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:06:20] local.INFO: Processing buffer {"connection_id":119136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:06:20] local.INFO: IMEI packet received {"connection_id":119136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 17:06:20] local.INFO: IMEI acknowledgment sent {"connection_id":119136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:06:25] local.INFO: TCP Data received {"connection_id":119136,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:06:25] local.INFO: Processing buffer {"connection_id":119136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:06:25] local.INFO: IMEI packet received {"connection_id":119136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:06:25] local.INFO: IMEI acknowledgment sent {"connection_id":119136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:06:27] local.INFO: TCP Data received {"connection_id":119136,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d762998012cb5d7c0076d8e70001901502e..."} 
[2026-07-01 17:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d762998012cb5d7c0076d8e70001901502e..."} 
[2026-07-01 17:06:27] local.INFO: Processing buffer {"connection_id":119136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d762998012cb5d7c0076d8e70001901502e..."} 
[2026-07-01 17:06:27] local.INFO: Packet analysis {"connection_id":119136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d76"} 
[2026-07-01 17:06:27] local.INFO: Extracted packet for processing {"connection_id":119136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d76"} 
[2026-07-01 17:06:27] local.INFO: GPS Element Parsed {"raw_longitude":750114752,"raw_latitude":124620400,"longitude_deg":75.0114752,"latitude_deg":12.46204,"altitude":25,"angle":336,"satellites":46,"speed":47,"hex_longitude":"2cb5d7c0","hex_latitude":"076d8e70","is_valid_coordinates":true} 
[2026-07-01 17:06:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:06:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423859968001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:06:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333737418668638208,"note":"Value kept but may cause issues"} 
[2026-07-01 17:06:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5340143226254030848,"note":"Value kept but may cause issues"} 
[2026-07-01 17:06:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:06:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782905711000,"timestamp_ms":1782905711000,"timestamp_seconds":1782905711,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d762998"} 
[2026-07-01 17:06:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:06: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-01 17:06:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 17:06:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:06:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:06:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:06:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:06:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:06:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:06:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:06:27] 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-01 17:06:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:06:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:06:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423859968001,"66":27865,"90":206,"85":37888,"24":47,"16":333737418668638208,"44":-5340143226254030848},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,85,24,16,44]} 
[2026-07-01 17:06:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:06:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:06:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423859968001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:06:27] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-07-01 17:06:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 17:06:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333737418668638208,"km_value":333737418668638.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:06:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5340143226254030848,"description":"Unknown IO ID 44"} 
[2026-07-01 17:06:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423859968001,"power":27865,"unknown_90":206,"unknown_85":37888,"ignition":47,"odometer":null,"unknown_44":-5340143226254030848}} 
[2026-07-01 17:06:27] local.INFO: DEBUG: GPS processor result {"connection_id":119136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:06:27] local.INFO: GPS data processed {"connection_id":119136,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:06:27] local.INFO: Acknowledgment sent {"connection_id":119136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:06:58] local.INFO: TCP Data received {"connection_id":119136,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d7644f0012cb5c840076da9d0001d01452e..."} 
[2026-07-01 17:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d7644f0012cb5c840076da9d0001d01452e..."} 
[2026-07-01 17:06:58] local.INFO: Processing buffer {"connection_id":119136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d7644f0012cb5c840076da9d0001d01452e..."} 
[2026-07-01 17:06:58] local.INFO: Packet analysis {"connection_id":119136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d76"} 
[2026-07-01 17:06:58] local.INFO: Extracted packet for processing {"connection_id":119136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d76"} 
[2026-07-01 17:06:58] local.INFO: GPS Element Parsed {"raw_longitude":750110784,"raw_latitude":124627408,"longitude_deg":75.0110784,"latitude_deg":12.4627408,"altitude":29,"angle":325,"satellites":46,"speed":44,"hex_longitude":"2cb5c840","hex_latitude":"076da9d0","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423862016001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333737805215694848,"note":"Value kept but may cause issues"} 
[2026-07-01 17:06:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5343591294716448768,"note":"Value kept but may cause issues"} 
[2026-07-01 17:06:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782905718000,"timestamp_ms":1782905718000,"timestamp_seconds":1782905718,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d7644f0"} 
[2026-07-01 17: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-01 17:06: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-01 17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 17:06:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17: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-01 17: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-01 17:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:06:58] 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-01 17:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423862016001,"66":27789,"90":206,"85":37888,"24":44,"16":333737805215694848,"44":-5343591294716448768},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,85,24,16,44]} 
[2026-07-01 17:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423862016001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:06:58] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-07-01 17:06:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 17:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333737805215694848,"km_value":333737805215694.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:06:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5343591294716448768,"description":"Unknown IO ID 44"} 
[2026-07-01 17:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423862016001,"power":27789,"unknown_90":206,"unknown_85":37888,"ignition":44,"odometer":null,"unknown_44":-5343591294716448768}} 
[2026-07-01 17:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":119136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:06:58] local.INFO: GPS data processed {"connection_id":119136,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:06:58] local.INFO: Acknowledgment sent {"connection_id":119136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:07:20] local.INFO: TCP Data received {"connection_id":119255,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:07:20] local.INFO: Processing buffer {"connection_id":119255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:07:20] local.INFO: IMEI packet received {"connection_id":119255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 17:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":119255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:07:25] local.INFO: TCP Data received {"connection_id":119255,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:07:25] local.INFO: Processing buffer {"connection_id":119255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:07:25] local.INFO: IMEI packet received {"connection_id":119255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":119255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:07:26] local.INFO: TCP Data received {"connection_id":119255,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d766818012cb5b140076dc4880023013b2d..."} 
[2026-07-01 17:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d766818012cb5b140076dc4880023013b2d..."} 
[2026-07-01 17:07:26] local.INFO: Processing buffer {"connection_id":119255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d766818012cb5b140076dc4880023013b2d..."} 
[2026-07-01 17:07:26] local.INFO: Packet analysis {"connection_id":119255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d76"} 
[2026-07-01 17:07:26] local.INFO: Extracted packet for processing {"connection_id":119255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d76"} 
[2026-07-01 17:07:26] local.INFO: GPS Element Parsed {"raw_longitude":750104896,"raw_latitude":124634248,"longitude_deg":75.0104896,"latitude_deg":12.4634248,"altitude":35,"angle":315,"satellites":45,"speed":34,"hex_longitude":"2cb5b140","hex_latitude":"076dc488","is_valid_coordinates":true} 
[2026-07-01 17:07:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:07:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423863808001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:07:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333738239007391744,"note":"Value kept but may cause issues"} 
[2026-07-01 17:07:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5347954156853669888,"note":"Value kept but may cause issues"} 
[2026-07-01 17:07:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:07:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782905727000,"timestamp_ms":1782905727000,"timestamp_seconds":1782905727,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d766818"} 
[2026-07-01 17:07:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:07: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-01 17:07:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-01 17:07:26] 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-01 17:07:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:07:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:07:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:07:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:07:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:07:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:07:26] 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-01 17:07:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:07:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:07:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423863808001,"66":27876,"91":206,"85":37888,"24":34,"16":333738239007391744,"44":-5347954156853669888},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,85,24,16,44]} 
[2026-07-01 17:07:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:07:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:07:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423863808001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:07:26] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-07-01 17:07:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 17:07:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333738239007391744,"km_value":333738239007391.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:07:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5347954156853669888,"description":"Unknown IO ID 44"} 
[2026-07-01 17:07:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423863808001,"power":27876,"unknown_91":206,"unknown_85":37888,"ignition":34,"odometer":null,"unknown_44":-5347954156853669888}} 
[2026-07-01 17:07:26] local.INFO: DEBUG: GPS processor result {"connection_id":119255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:07:26] local.INFO: GPS data processed {"connection_id":119255,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:07:26] local.INFO: Acknowledgment sent {"connection_id":119255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:07:45] local.INFO: TCP Data received {"connection_id":121018,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121018,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:07:45] local.INFO: Processing buffer {"connection_id":121018,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:07:45] local.INFO: IMEI packet received {"connection_id":121018,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 17:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":121018,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:07:57] local.INFO: TCP Data received {"connection_id":119255,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d77d360012cb56f00076ecf78002c00062d..."} 
[2026-07-01 17:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d77d360012cb56f00076ecf78002c00062d..."} 
[2026-07-01 17:07:57] local.INFO: Processing buffer {"connection_id":119255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d77d360012cb56f00076ecf78002c00062d..."} 
[2026-07-01 17:07:57] local.INFO: Packet analysis {"connection_id":119255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d77"} 
[2026-07-01 17:07:57] local.INFO: Extracted packet for processing {"connection_id":119255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d77"} 
[2026-07-01 17:07:57] local.INFO: GPS Element Parsed {"raw_longitude":750087936,"raw_latitude":124702584,"longitude_deg":75.0087936,"latitude_deg":12.4702584,"altitude":44,"angle":6,"satellites":45,"speed":37,"hex_longitude":"2cb56f00","hex_latitude":"076ecf78","is_valid_coordinates":true} 
[2026-07-01 17:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:07:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423886848001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:07:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333742134542729216,"note":"Value kept but may cause issues"} 
[2026-07-01 17:07:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5375046123344789504,"note":"Value kept but may cause issues"} 
[2026-07-01 17:07:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:07:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782905820000,"timestamp_ms":1782905820000,"timestamp_seconds":1782905820,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d77d360"} 
[2026-07-01 17:07:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:07:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 17:07:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:07:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:07:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:07:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:07:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:07:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:07:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:07:57] 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-01 17:07:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:07:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:07:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423886848001,"66":27658,"101":206,"85":37888,"24":37,"16":333742134542729216,"44":-5375046123344789504},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,44]} 
[2026-07-01 17:07:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:07:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:07:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423886848001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:07:57] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-01 17:07:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 17:07:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333742134542729216,"km_value":333742134542729.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:07:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5375046123344789504,"description":"Unknown IO ID 44"} 
[2026-07-01 17:07:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423886848001,"power":27658,"unknown_101":206,"unknown_85":37888,"ignition":37,"odometer":null,"unknown_44":-5375046123344789504}} 
[2026-07-01 17:07:57] local.INFO: DEBUG: GPS processor result {"connection_id":119255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:07:57] local.INFO: GPS data processed {"connection_id":119255,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:07:57] local.INFO: Acknowledgment sent {"connection_id":119255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:08:15] local.INFO: TCP Data received {"connection_id":119137,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119137,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:08:15] local.INFO: Processing buffer {"connection_id":119137,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:08:15] local.INFO: IMEI packet received {"connection_id":119137,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 17:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":119137,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:08:15] local.INFO: TCP Data received {"connection_id":119137,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119137,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:08:15] local.INFO: Processing buffer {"connection_id":119137,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:08:15] local.INFO: IMEI packet received {"connection_id":119137,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-01 17:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":119137,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:08:20] local.INFO: TCP Data received {"connection_id":119137,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119137,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:08:20] local.INFO: Processing buffer {"connection_id":119137,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:08:20] local.INFO: IMEI packet received {"connection_id":119137,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-01 17:08:20] local.INFO: IMEI acknowledgment sent {"connection_id":119137,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:08:25] local.INFO: TCP Data received {"connection_id":121019,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:08:25] local.INFO: Processing buffer {"connection_id":121019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:08:25] local.INFO: IMEI packet received {"connection_id":121019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 17:08:25] local.INFO: IMEI acknowledgment sent {"connection_id":121019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:08:30] local.INFO: TCP Data received {"connection_id":121019,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:08:30] local.INFO: Processing buffer {"connection_id":121019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:08:30] local.INFO: IMEI packet received {"connection_id":121019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":121019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:08:31] local.INFO: TCP Data received {"connection_id":121019,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d77f688012cb571c0076ef548002c00002f..."} 
[2026-07-01 17:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d77f688012cb571c0076ef548002c00002f..."} 
[2026-07-01 17:08:31] local.INFO: Processing buffer {"connection_id":121019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d77f688012cb571c0076ef548002c00002f..."} 
[2026-07-01 17:08:31] local.INFO: Packet analysis {"connection_id":121019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d77"} 
[2026-07-01 17:08:31] local.INFO: Extracted packet for processing {"connection_id":121019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d77"} 
[2026-07-01 17:08:31] local.INFO: GPS Element Parsed {"raw_longitude":750088640,"raw_latitude":124712264,"longitude_deg":75.008864,"latitude_deg":12.4712264,"altitude":44,"angle":0,"satellites":47,"speed":44,"hex_longitude":"2cb571c0","hex_latitude":"076ef548","is_valid_coordinates":true} 
[2026-07-01 17:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423889920001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333742606989131776,"note":"Value kept but may cause issues"} 
[2026-07-01 17:08:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5373075798505850880,"note":"Value kept but may cause issues"} 
[2026-07-01 17:08:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782905829000,"timestamp_ms":1782905829000,"timestamp_seconds":1782905829,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d77f688"} 
[2026-07-01 17:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:08:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-01 17:08:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:08:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":121019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":121019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":121019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:08:31] 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-01 17:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423889920001,"66":27658,"101":206,"85":37888,"24":44,"16":333742606989131776,"44":-5373075798505850880},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,44]} 
[2026-07-01 17:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423889920001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:08:31] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-01 17:08:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 17:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333742606989131776,"km_value":333742606989131.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:08:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5373075798505850880,"description":"Unknown IO ID 44"} 
[2026-07-01 17:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423889920001,"power":27658,"unknown_101":206,"unknown_85":37888,"ignition":44,"odometer":null,"unknown_44":-5373075798505850880}} 
[2026-07-01 17:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":121019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:08:31] local.INFO: GPS data processed {"connection_id":121019,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:08:31] local.INFO: Acknowledgment sent {"connection_id":121019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:08:32] local.INFO: TCP Data received {"connection_id":121019,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d7815c8012cb57300076f19b0002c00042f..."} 
[2026-07-01 17:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d7815c8012cb57300076f19b0002c00042f..."} 
[2026-07-01 17:08:32] local.INFO: Processing buffer {"connection_id":121019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d7815c8012cb57300076f19b0002c00042f..."} 
[2026-07-01 17:08:32] local.INFO: Packet analysis {"connection_id":121019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d78"} 
[2026-07-01 17:08:32] local.INFO: Extracted packet for processing {"connection_id":121019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d78"} 
[2026-07-01 17:08:32] local.INFO: GPS Element Parsed {"raw_longitude":750088960,"raw_latitude":124721584,"longitude_deg":75.008896,"latitude_deg":12.4721584,"altitude":44,"angle":4,"satellites":47,"speed":47,"hex_longitude":"2cb57300","hex_latitude":"076f19b0","is_valid_coordinates":true} 
[2026-07-01 17:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423892224001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333743057960697856,"note":"Value kept but may cause issues"} 
[2026-07-01 17:08:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5372301742317418496,"note":"Value kept but may cause issues"} 
[2026-07-01 17:08:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782905837000,"timestamp_ms":1782905837000,"timestamp_seconds":1782905837,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d7815c8"} 
[2026-07-01 17:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:08:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-01 17:08:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:08:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":121019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":121019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":121019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 17:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423892224001,"66":27876,"101":206,"85":37888,"24":47,"16":333743057960697856,"44":-5372301742317418496},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,44]} 
[2026-07-01 17:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423892224001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:08:32] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-01 17:08:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 17:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333743057960697856,"km_value":333743057960697.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:08:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5372301742317418496,"description":"Unknown IO ID 44"} 
[2026-07-01 17:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423892224001,"power":27876,"unknown_101":206,"unknown_85":37888,"ignition":47,"odometer":null,"unknown_44":-5372301742317418496}} 
[2026-07-01 17:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":121019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:08:32] local.INFO: GPS data processed {"connection_id":121019,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:08:32] local.INFO: Acknowledgment sent {"connection_id":121019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:08:42] local.INFO: TCP Data received {"connection_id":119939,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:08:42] local.INFO: Processing buffer {"connection_id":119939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:08:42] local.INFO: IMEI packet received {"connection_id":119939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-01 17:08:42] local.INFO: IMEI acknowledgment sent {"connection_id":119939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:08:47] local.INFO: TCP Data received {"connection_id":119939,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:08:47] local.INFO: Processing buffer {"connection_id":119939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:08:47] local.INFO: IMEI packet received {"connection_id":119939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-01 17:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":119939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:08:47] local.INFO: TCP Data received {"connection_id":119939,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-07-01 17:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119939,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-07-01 17:08:47] local.INFO: Processing buffer {"connection_id":119939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-07-01 17:08:47] local.INFO: Packet analysis {"connection_id":119939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-01 17:08:47] local.INFO: Extracted packet for processing {"connection_id":119939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-07-01 17:08: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-01 17:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4063468558745600,"note":"Value kept but may cause issues"} 
[2026-07-01 17:08:47] 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-01 17:08:47] 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-01 17:08:47] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-01 17:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":119939,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":119939,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-01 17:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":119939,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-01 17:08:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-01 17:08:47] local.WARNING: DEBUG: No valid data to process  
[2026-07-01 17:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":119939,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-01 17:08:47] local.ERROR: GPS data processing failed {"connection_id":119939,"error":"No valid data to process"} 
[2026-07-01 17:08:47] local.INFO: Acknowledgment sent {"connection_id":119939,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-01 17:09:13] local.INFO: TCP Data received {"connection_id":121019,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d783508012cb57440076f3e80002d00012f..."} 
[2026-07-01 17:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d783508012cb57440076f3e80002d00012f..."} 
[2026-07-01 17:09:13] local.INFO: Processing buffer {"connection_id":121019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d783508012cb57440076f3e80002d00012f..."} 
[2026-07-01 17:09:13] local.INFO: Packet analysis {"connection_id":121019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d78"} 
[2026-07-01 17:09:13] local.INFO: Extracted packet for processing {"connection_id":121019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d78"} 
[2026-07-01 17:09:13] local.INFO: GPS Element Parsed {"raw_longitude":750089280,"raw_latitude":124731008,"longitude_deg":75.008928,"latitude_deg":12.4731008,"altitude":45,"angle":1,"satellites":47,"speed":46,"hex_longitude":"2cb57440","hex_latitude":"076f3e80","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423894272001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333743513227231232,"note":"Value kept but may cause issues"} 
[2026-07-01 17:09:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5371949898594144256,"note":"Value kept but may cause issues"} 
[2026-07-01 17:09:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1782905845000,"timestamp_ms":1782905845000,"timestamp_seconds":1782905845,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d783508"} 
[2026-07-01 17: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-01 17:09:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-01 17:09:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17: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-01 17: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-01 17:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":121019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":121019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":121019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:09: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-01 17:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423894272001,"66":27658,"101":206,"85":37888,"24":46,"16":333743513227231232,"44":-5371949898594144256},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,44]} 
[2026-07-01 17:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423894272001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:09:13] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-01 17:09:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 17:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333743513227231232,"km_value":333743513227231.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:09:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5371949898594144256,"description":"Unknown IO ID 44"} 
[2026-07-01 17:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423894272001,"power":27658,"unknown_101":206,"unknown_85":37888,"ignition":46,"odometer":null,"unknown_44":-5371949898594144256}} 
[2026-07-01 17:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":121019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:09:13] local.INFO: GPS data processed {"connection_id":121019,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:09:13] local.INFO: Acknowledgment sent {"connection_id":121019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:09:18] local.INFO: TCP Data received {"connection_id":119939,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-07-01 17:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-07-01 17:09:18] local.INFO: Processing buffer {"connection_id":119939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-07-01 17:09:18] local.INFO: Packet analysis {"connection_id":119939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-01 17:09:18] local.INFO: Extracted packet for processing {"connection_id":119939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-07-01 17:09: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-01 17:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:09:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4063468558745600,"note":"Value kept but may cause issues"} 
[2026-07-01 17:09: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-01 17:09:18] 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-01 17:09:18] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:09:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-07-01 17:09:18] local.INFO: Teltonika packet parsed successfully {"connection_id":119939,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:09:18] local.INFO: Passing IMEI to GPS processor {"connection_id":119939,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-01 17:09:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":119939,"device_imei":"862567074811360","avl_records_count":0} 
[2026-07-01 17:09:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-01 17:09:18] local.WARNING: DEBUG: No valid data to process  
[2026-07-01 17:09:18] local.INFO: DEBUG: GPS processor result {"connection_id":119939,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-01 17:09:18] local.ERROR: GPS data processing failed {"connection_id":119939,"error":"No valid data to process"} 
[2026-07-01 17:09:18] local.INFO: Acknowledgment sent {"connection_id":119939,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-01 17:09:25] local.INFO: TCP Data received {"connection_id":121021,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:09:25] local.INFO: Processing buffer {"connection_id":121021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:09:25] local.INFO: IMEI packet received {"connection_id":121021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 17:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":121021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:09:31] local.INFO: TCP Data received {"connection_id":121021,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:09:31] local.INFO: Processing buffer {"connection_id":121021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:09:31] local.INFO: IMEI packet received {"connection_id":121021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":121021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:09:32] local.INFO: TCP Data received {"connection_id":121021,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d785448012cb574c0076f6510002b016730..."} 
[2026-07-01 17:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d785448012cb574c0076f6510002b016730..."} 
[2026-07-01 17:09:32] local.INFO: Processing buffer {"connection_id":121021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d785448012cb574c0076f6510002b016730..."} 
[2026-07-01 17:09:32] local.INFO: Packet analysis {"connection_id":121021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d78"} 
[2026-07-01 17:09:32] local.INFO: Extracted packet for processing {"connection_id":121021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d78"} 
[2026-07-01 17:09:32] local.INFO: GPS Element Parsed {"raw_longitude":750089408,"raw_latitude":124740880,"longitude_deg":75.0089408,"latitude_deg":12.474088,"altitude":43,"angle":359,"satellites":48,"speed":48,"hex_longitude":"2cb574c0","hex_latitude":"076f6510","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423896320001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333743994263568384,"note":"Value kept but may cause issues"} 
[2026-07-01 17:09:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5371598054870843392,"note":"Value kept but may cause issues"} 
[2026-07-01 17:09:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782905853000,"timestamp_ms":1782905853000,"timestamp_seconds":1782905853,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d785448"} 
[2026-07-01 17: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-01 17:09:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-01 17:09:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17: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-01 17: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-01 17:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":121021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":121021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":121021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:09:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 17:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423896320001,"66":27713,"101":206,"85":37888,"24":48,"16":333743994263568384,"44":-5371598054870843392},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,44]} 
[2026-07-01 17:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423896320001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:09:32] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-01 17:09:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 17:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333743994263568384,"km_value":333743994263568.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:09:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5371598054870843392,"description":"Unknown IO ID 44"} 
[2026-07-01 17:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423896320001,"power":27713,"unknown_101":206,"unknown_85":37888,"ignition":48,"odometer":null,"unknown_44":-5371598054870843392}} 
[2026-07-01 17:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":121021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:09:32] local.INFO: GPS data processed {"connection_id":121021,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:09:32] local.INFO: Acknowledgment sent {"connection_id":121021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:09:49] local.INFO: TCP Data received {"connection_id":119939,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d79f2580100000000000000000000000000..."} 
[2026-07-01 17:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d79f2580100000000000000000000000000..."} 
[2026-07-01 17:09:49] local.INFO: Processing buffer {"connection_id":119939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d79f2580100000000000000000000000000..."} 
[2026-07-01 17:09:49] local.INFO: Packet analysis {"connection_id":119939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d79"} 
[2026-07-01 17:09:49] local.INFO: Extracted packet for processing {"connection_id":119939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d79"} 
[2026-07-01 17:09: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-01 17: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-01 17:09:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4063468558745600,"note":"Value kept but may cause issues"} 
[2026-07-01 17:09:49] 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-01 17:09:49] local.INFO: AVL Record Parsed {"raw_timestamp":1782905959000,"timestamp_ms":1782905959000,"timestamp_seconds":1782905959,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d79f258"} 
[2026-07-01 17: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-01 17:09: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-01 17: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 17:09:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17: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-01 17: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-01 17:09:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:09:49] local.INFO: Teltonika packet parsed successfully {"connection_id":119939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:09:49] local.INFO: Passing IMEI to GPS processor {"connection_id":119939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:09:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":119939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:09:49] 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-01 17:09:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-01 17:09:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-01 17:09:49] local.INFO: DEBUG: GPS processor result {"connection_id":119939,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-01 17:09:49] local.INFO: GPS data processed {"connection_id":119939,"processed":0,"errors":0,"total":1} 
[2026-07-01 17:09:49] local.INFO: Acknowledgment sent {"connection_id":119939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:10:04] local.INFO: TCP Data received {"connection_id":121021,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d787770012cb57400076f89a00025016431..."} 
[2026-07-01 17:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d787770012cb57400076f89a00025016431..."} 
[2026-07-01 17:10:04] local.INFO: Processing buffer {"connection_id":121021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d787770012cb57400076f89a00025016431..."} 
[2026-07-01 17:10:04] local.INFO: Packet analysis {"connection_id":121021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d78"} 
[2026-07-01 17:10:04] local.INFO: Extracted packet for processing {"connection_id":121021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d78"} 
[2026-07-01 17:10:04] local.INFO: GPS Element Parsed {"raw_longitude":750089216,"raw_latitude":124750240,"longitude_deg":75.0089216,"latitude_deg":12.475024,"altitude":37,"angle":356,"satellites":49,"speed":41,"hex_longitude":"2cb57400","hex_latitude":"076f89a0","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423898368001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333744449530101760,"note":"Value kept but may cause issues"} 
[2026-07-01 17:10:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5371457317379960832,"note":"Value kept but may cause issues"} 
[2026-07-01 17:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782905862000,"timestamp_ms":1782905862000,"timestamp_seconds":1782905862,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d787770"} 
[2026-07-01 17: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-01 17:10:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-01 17:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17: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-01 17: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-01 17:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":121021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":121021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":121021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:10:04] 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-01 17:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423898368001,"66":27908,"106":206,"85":37888,"24":41,"16":333744449530101760,"44":-5371457317379960832},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,85,24,16,44]} 
[2026-07-01 17:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423898368001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:10:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-01 17:10:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 17:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333744449530101760,"km_value":333744449530101.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:10:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5371457317379960832,"description":"Unknown IO ID 44"} 
[2026-07-01 17:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423898368001,"power":27908,"unknown_106":206,"unknown_85":37888,"ignition":41,"odometer":null,"unknown_44":-5371457317379960832}} 
[2026-07-01 17:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":121021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:10:04] local.INFO: GPS data processed {"connection_id":121021,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:10:04] local.INFO: Acknowledgment sent {"connection_id":121021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:10:20] local.INFO: TCP Data received {"connection_id":119138,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:10:20] local.INFO: Processing buffer {"connection_id":119138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:10:20] local.INFO: IMEI packet received {"connection_id":119138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 17:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":119138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:10:20] local.INFO: TCP Data received {"connection_id":119939,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d7a44600100000000000000000000000000..."} 
[2026-07-01 17:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d7a44600100000000000000000000000000..."} 
[2026-07-01 17:10:20] local.INFO: Processing buffer {"connection_id":119939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d7a44600100000000000000000000000000..."} 
[2026-07-01 17:10:20] local.INFO: Packet analysis {"connection_id":119939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d7a"} 
[2026-07-01 17:10:20] local.INFO: Extracted packet for processing {"connection_id":119939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d7a"} 
[2026-07-01 17:10: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-01 17: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-01 17:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4063468558745600,"note":"Value kept but may cause issues"} 
[2026-07-01 17:10:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-01 17:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782905980000,"timestamp_ms":1782905980000,"timestamp_seconds":1782905980,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d7a4460"} 
[2026-07-01 17: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-01 17:10:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-01 17:10:20] 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-01 17: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-01 17: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-01 17:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":119939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":119939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":119939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:10:20] 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-01 17:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-01 17:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-01 17:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":119939,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-01 17:10:20] local.INFO: GPS data processed {"connection_id":119939,"processed":0,"errors":0,"total":1} 
[2026-07-01 17:10:20] local.INFO: Acknowledgment sent {"connection_id":119939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:10:22] local.INFO: TCP Data received {"connection_id":119138,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:10:22] local.INFO: Processing buffer {"connection_id":119138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:10:22] local.INFO: IMEI packet received {"connection_id":119138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:10:22] local.INFO: IMEI acknowledgment sent {"connection_id":119138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:10:23] local.INFO: TCP Data received {"connection_id":119138,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d78a268012cb57180076faf38001f01622b..."} 
[2026-07-01 17:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d78a268012cb57180076faf38001f01622b..."} 
[2026-07-01 17:10:23] local.INFO: Processing buffer {"connection_id":119138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d78a268012cb57180076faf38001f01622b..."} 
[2026-07-01 17:10:23] local.INFO: Packet analysis {"connection_id":119138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d78"} 
[2026-07-01 17:10:23] local.INFO: Extracted packet for processing {"connection_id":119138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d78"} 
[2026-07-01 17:10:23] local.INFO: GPS Element Parsed {"raw_longitude":750088576,"raw_latitude":124759864,"longitude_deg":75.0088576,"latitude_deg":12.4759864,"altitude":31,"angle":354,"satellites":43,"speed":33,"hex_longitude":"2cb57180","hex_latitude":"076faf38","is_valid_coordinates":true} 
[2026-07-01 17:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423900672001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333744917681537024,"note":"Value kept but may cause issues"} 
[2026-07-01 17:10:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5371668423610097664,"note":"Value kept but may cause issues"} 
[2026-07-01 17:10:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1782905873000,"timestamp_ms":1782905873000,"timestamp_seconds":1782905873,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d78a268"} 
[2026-07-01 17:10:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:10:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 17:10:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:10:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:10:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":119138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":119138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":119138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:10:23] 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-01 17:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423900672001,"66":27930,"106":206,"85":37888,"24":33,"16":333744917681537024,"44":-5371668423610097664},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,85,24,16,44]} 
[2026-07-01 17:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423900672001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:10:23] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-01 17:10:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 17:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333744917681537024,"km_value":333744917681537.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:10:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5371668423610097664,"description":"Unknown IO ID 44"} 
[2026-07-01 17:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423900672001,"power":27930,"unknown_106":206,"unknown_85":37888,"ignition":33,"odometer":null,"unknown_44":-5371668423610097664}} 
[2026-07-01 17:10:23] local.INFO: DEBUG: GPS processor result {"connection_id":119138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:10:23] local.INFO: GPS data processed {"connection_id":119138,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:10:23] local.INFO: Acknowledgment sent {"connection_id":119138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:10:52] local.INFO: TCP Data received {"connection_id":119939,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d7a96680100000000000000000000000000..."} 
[2026-07-01 17:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d7a96680100000000000000000000000000..."} 
[2026-07-01 17:10:52] local.INFO: Processing buffer {"connection_id":119939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d7a96680100000000000000000000000000..."} 
[2026-07-01 17:10:52] local.INFO: Packet analysis {"connection_id":119939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d7a"} 
[2026-07-01 17:10:52] local.INFO: Extracted packet for processing {"connection_id":119939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d7a"} 
[2026-07-01 17:10:52] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-07-01 17:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4063468558745600,"note":"Value kept but may cause issues"} 
[2026-07-01 17:10:52] 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-01 17:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782906001000,"timestamp_ms":1782906001000,"timestamp_seconds":1782906001,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d7a9668"} 
[2026-07-01 17:10:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:10:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-07-01 17:10:52] 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-01 17:10:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:10:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":119939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":119939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":119939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:10:52] 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-01 17:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-01 17:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-01 17:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":119939,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-01 17:10:52] local.INFO: GPS data processed {"connection_id":119939,"processed":0,"errors":0,"total":1} 
[2026-07-01 17:10:52] local.INFO: Acknowledgment sent {"connection_id":119939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:10:54] local.INFO: TCP Data received {"connection_id":119138,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d7a86c8012cb4f1000770db300013014b2f..."} 
[2026-07-01 17:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d7a86c8012cb4f1000770db300013014b2f..."} 
[2026-07-01 17:10:54] local.INFO: Processing buffer {"connection_id":119138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d7a86c8012cb4f1000770db300013014b2f..."} 
[2026-07-01 17:10:54] local.INFO: Packet analysis {"connection_id":119138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d7a"} 
[2026-07-01 17:10:54] local.INFO: Extracted packet for processing {"connection_id":119138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d7a"} 
[2026-07-01 17:10:54] local.INFO: GPS Element Parsed {"raw_longitude":750055680,"raw_latitude":124836656,"longitude_deg":75.005568,"latitude_deg":12.4836656,"altitude":19,"angle":331,"satellites":47,"speed":51,"hex_longitude":"2cb4f100","hex_latitude":"0770db30","is_valid_coordinates":true} 
[2026-07-01 17:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:10:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423933696001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:10:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333749186879029248,"note":"Value kept but may cause issues"} 
[2026-07-01 17:10:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5403404727213674496,"note":"Value kept but may cause issues"} 
[2026-07-01 17:10:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:10:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782905997000,"timestamp_ms":1782905997000,"timestamp_seconds":1782905997,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d7a86c8"} 
[2026-07-01 17:10:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:10: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-01 17:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 17:10:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:10:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:10:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:10:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:10:54] local.INFO: Teltonika packet parsed successfully {"connection_id":119138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:10:54] local.INFO: Passing IMEI to GPS processor {"connection_id":119138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:10:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":119138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:10:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 17:10:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:10:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:10:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423933696001,"66":27745,"106":206,"85":37888,"24":51,"16":333749186879029248,"44":-5403404727213674496},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,85,24,16,44]} 
[2026-07-01 17:10:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:10:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:10:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423933696001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:10:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-01 17:10:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 17:10:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333749186879029248,"km_value":333749186879029.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:10:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5403404727213674496,"description":"Unknown IO ID 44"} 
[2026-07-01 17:10:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423933696001,"power":27745,"unknown_106":206,"unknown_85":37888,"ignition":51,"odometer":null,"unknown_44":-5403404727213674496}} 
[2026-07-01 17:10:54] local.INFO: DEBUG: GPS processor result {"connection_id":119138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:10:54] local.INFO: GPS data processed {"connection_id":119138,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:10:54] local.INFO: Acknowledgment sent {"connection_id":119138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:11:27] local.INFO: TCP Data received {"connection_id":119939,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d7ae8700100000000000000000000000000..."} 
[2026-07-01 17:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d7ae8700100000000000000000000000000..."} 
[2026-07-01 17:11:27] local.INFO: Processing buffer {"connection_id":119939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d7ae8700100000000000000000000000000..."} 
[2026-07-01 17:11:27] local.INFO: Packet analysis {"connection_id":119939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d7a"} 
[2026-07-01 17:11:27] local.INFO: Extracted packet for processing {"connection_id":119939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d7a"} 
[2026-07-01 17:11: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-01 17:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4063468558745600,"note":"Value kept but may cause issues"} 
[2026-07-01 17:11: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-01 17:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782906022000,"timestamp_ms":1782906022000,"timestamp_seconds":1782906022,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d7ae870"} 
[2026-07-01 17:11:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:11: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-01 17:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-01 17:11:27] 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-01 17:11:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:11:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:11:27] 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-01 17:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-01 17:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-01 17:11:27] local.INFO: DEBUG: GPS processor result {"connection_id":119939,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-01 17:11:27] local.INFO: GPS data processed {"connection_id":119939,"processed":0,"errors":0,"total":1} 
[2026-07-01 17:11:27] local.INFO: Acknowledgment sent {"connection_id":119939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:11:30] local.INFO: TCP Data received {"connection_id":121022,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:11:30] local.INFO: Processing buffer {"connection_id":121022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:11:30] local.INFO: IMEI packet received {"connection_id":121022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 17:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":121022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:11:31] local.INFO: TCP Data received {"connection_id":121022,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:11:31] local.INFO: Processing buffer {"connection_id":121022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:11:31] local.INFO: IMEI packet received {"connection_id":121022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":121022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:11:35] local.INFO: TCP Data received {"connection_id":121022,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:11:35] local.INFO: Processing buffer {"connection_id":121022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:11:35] local.INFO: IMEI packet received {"connection_id":121022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":121022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:11:36] local.INFO: TCP Data received {"connection_id":121022,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d7aa220012cb4e2c00770fd28000c015631..."} 
[2026-07-01 17:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d7aa220012cb4e2c00770fd28000c015631..."} 
[2026-07-01 17:11:36] local.INFO: Processing buffer {"connection_id":121022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d7aa220012cb4e2c00770fd28000c015631..."} 
[2026-07-01 17:11:36] local.INFO: Packet analysis {"connection_id":121022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d7a"} 
[2026-07-01 17:11:36] local.INFO: Extracted packet for processing {"connection_id":121022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d7a"} 
[2026-07-01 17:11:36] local.INFO: GPS Element Parsed {"raw_longitude":750052032,"raw_latitude":124845352,"longitude_deg":75.0052032,"latitude_deg":12.4845352,"altitude":12,"angle":342,"satellites":49,"speed":55,"hex_longitude":"2cb4e2c0","hex_latitude":"0770fd28","is_valid_coordinates":true} 
[2026-07-01 17:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423935232001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333749646440529920,"note":"Value kept but may cause issues"} 
[2026-07-01 17:11:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5408541645537071104,"note":"Value kept but may cause issues"} 
[2026-07-01 17:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782906004000,"timestamp_ms":1782906004000,"timestamp_seconds":1782906004,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d7aa220"} 
[2026-07-01 17:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 17:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":121022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":121022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":121022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 17:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423935232001,"66":27213,"106":206,"85":37888,"24":55,"16":333749646440529920,"44":-5408541645537071104},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,85,24,16,44]} 
[2026-07-01 17:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423935232001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:11:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-01 17:11:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 17:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333749646440529920,"km_value":333749646440529.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:11:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5408541645537071104,"description":"Unknown IO ID 44"} 
[2026-07-01 17:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423935232001,"power":27213,"unknown_106":206,"unknown_85":37888,"ignition":55,"odometer":null,"unknown_44":-5408541645537071104}} 
[2026-07-01 17:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":121022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:11:36] local.INFO: GPS data processed {"connection_id":121022,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:11:36] local.INFO: Acknowledgment sent {"connection_id":121022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:11:58] local.INFO: TCP Data received {"connection_id":119939,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d7b3a780100000000000000000000000000..."} 
[2026-07-01 17:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d7b3a780100000000000000000000000000..."} 
[2026-07-01 17:11:58] local.INFO: Processing buffer {"connection_id":119939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d7b3a780100000000000000000000000000..."} 
[2026-07-01 17:11:58] local.INFO: Packet analysis {"connection_id":119939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d7b"} 
[2026-07-01 17:11:58] local.INFO: Extracted packet for processing {"connection_id":119939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d7b"} 
[2026-07-01 17:11: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-01 17: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-01 17:11:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4063468558745600,"note":"Value kept but may cause issues"} 
[2026-07-01 17:11:58] 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-01 17:11:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782906043000,"timestamp_ms":1782906043000,"timestamp_seconds":1782906043,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d7b3a78"} 
[2026-07-01 17: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-01 17:11: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-01 17: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-01 17:11: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-01 17: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-01 17: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-01 17:11:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:11:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:11:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:11:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:11: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-01 17:11:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-01 17:11:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-01 17:11:58] local.INFO: DEBUG: GPS processor result {"connection_id":119939,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-01 17:11:58] local.INFO: GPS data processed {"connection_id":119939,"processed":0,"errors":0,"total":1} 
[2026-07-01 17:11:58] local.INFO: Acknowledgment sent {"connection_id":119939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:12:20] local.INFO: TCP Data received {"connection_id":119258,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:12:20] local.INFO: Processing buffer {"connection_id":119258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:12:20] local.INFO: IMEI packet received {"connection_id":119258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 17:12:20] local.INFO: IMEI acknowledgment sent {"connection_id":119258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:12:21] local.INFO: TCP Data received {"connection_id":119258,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:12:21] local.INFO: Processing buffer {"connection_id":119258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:12:21] local.INFO: IMEI packet received {"connection_id":119258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:12:21] local.INFO: IMEI acknowledgment sent {"connection_id":119258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:12:25] local.INFO: TCP Data received {"connection_id":119258,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:12:25] local.INFO: Processing buffer {"connection_id":119258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:12:25] local.INFO: IMEI packet received {"connection_id":119258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":119258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:12:29] local.INFO: TCP Data received {"connection_id":119939,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d7b8c800100000000000000000000000000..."} 
[2026-07-01 17:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d7b8c800100000000000000000000000000..."} 
[2026-07-01 17:12:29] local.INFO: Processing buffer {"connection_id":119939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d7b8c800100000000000000000000000000..."} 
[2026-07-01 17:12:29] local.INFO: Packet analysis {"connection_id":119939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d7b"} 
[2026-07-01 17:12:29] local.INFO: Extracted packet for processing {"connection_id":119939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d7b"} 
[2026-07-01 17:12: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-01 17: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-01 17:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4063468558745600,"note":"Value kept but may cause issues"} 
[2026-07-01 17:12:29] 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-01 17:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782906064000,"timestamp_ms":1782906064000,"timestamp_seconds":1782906064,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d7b8c80"} 
[2026-07-01 17: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-01 17:12: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-01 17: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-01 17:12:29] 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-01 17: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-01 17: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-01 17:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":119939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":119939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":119939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:12: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-01 17:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-01 17:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-01 17:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":119939,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-01 17:12:29] local.INFO: GPS data processed {"connection_id":119939,"processed":0,"errors":0,"total":1} 
[2026-07-01 17:12:29] local.INFO: Acknowledgment sent {"connection_id":119939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:12:37] local.INFO: TCP Data received {"connection_id":119258,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d7bd6b8012cb46b00077285b8000701612c..."} 
[2026-07-01 17:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d7bd6b8012cb46b00077285b8000701612c..."} 
[2026-07-01 17:12:37] local.INFO: Processing buffer {"connection_id":119258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d7bd6b8012cb46b00077285b8000701612c..."} 
[2026-07-01 17:12:37] local.INFO: Packet analysis {"connection_id":119258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d7b"} 
[2026-07-01 17:12:37] local.INFO: Extracted packet for processing {"connection_id":119258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d7b"} 
[2026-07-01 17:12:37] local.INFO: GPS Element Parsed {"raw_longitude":750021376,"raw_latitude":124945848,"longitude_deg":75.0021376,"latitude_deg":12.4945848,"altitude":7,"angle":353,"satellites":44,"speed":32,"hex_longitude":"2cb46b00","hex_latitude":"077285b8","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423955200001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333754744566710272,"note":"Value kept but may cause issues"} 
[2026-07-01 17:12:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5445133392483831808,"note":"Value kept but may cause issues"} 
[2026-07-01 17:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1782906083000,"timestamp_ms":1782906083000,"timestamp_seconds":1782906083,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d7bd6b8"} 
[2026-07-01 17: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-01 17:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 17:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17: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-01 17: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-01 17:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":119258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":119258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":119258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 17:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423955200001,"66":27745,"174":206,"85":36608,"24":32,"16":333754744566710272,"44":-5445133392483831808},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,85,24,16,44]} 
[2026-07-01 17:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423955200001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:12:37] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-07-01 17:12:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333754744566710272,"km_value":333754744566710.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:12:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5445133392483831808,"description":"Unknown IO ID 44"} 
[2026-07-01 17:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423955200001,"power":27745,"unknown_174":206,"unknown_85":36608,"ignition":32,"odometer":null,"unknown_44":-5445133392483831808}} 
[2026-07-01 17:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":119258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:12:37] local.INFO: GPS data processed {"connection_id":119258,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:12:37] local.INFO: Acknowledgment sent {"connection_id":119258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:13:00] local.INFO: TCP Data received {"connection_id":119939,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d7bde880100000000000000000000000000..."} 
[2026-07-01 17:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d7bde880100000000000000000000000000..."} 
[2026-07-01 17:13:00] local.INFO: Processing buffer {"connection_id":119939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d7bde880100000000000000000000000000..."} 
[2026-07-01 17:13:00] local.INFO: Packet analysis {"connection_id":119939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d7b"} 
[2026-07-01 17:13:00] local.INFO: Extracted packet for processing {"connection_id":119939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d7b"} 
[2026-07-01 17:13: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-01 17: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-01 17:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4063468558745600,"note":"Value kept but may cause issues"} 
[2026-07-01 17:13: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-01 17:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782906085000,"timestamp_ms":1782906085000,"timestamp_seconds":1782906085,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d7bde88"} 
[2026-07-01 17: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-01 17:13: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-01 17:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-01 17:13:00] 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-01 17: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-01 17: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-01 17:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":119939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":119939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":119939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:13:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 17:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-01 17:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-01 17:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":119939,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-01 17:13:00] local.INFO: GPS data processed {"connection_id":119939,"processed":0,"errors":0,"total":1} 
[2026-07-01 17:13:00] local.INFO: Acknowledgment sent {"connection_id":119939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:13:16] local.INFO: TCP Data received {"connection_id":121024,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121024,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:13:16] local.INFO: Processing buffer {"connection_id":121024,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:13:16] local.INFO: IMEI packet received {"connection_id":121024,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-01 17:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":121024,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:13:18] local.INFO: TCP Data received {"connection_id":121024,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121024,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:13:18] local.INFO: Processing buffer {"connection_id":121024,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:13:18] local.INFO: IMEI packet received {"connection_id":121024,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-01 17:13:18] local.INFO: IMEI acknowledgment sent {"connection_id":121024,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:13:20] local.INFO: TCP Data received {"connection_id":119140,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:13:20] local.INFO: Processing buffer {"connection_id":119140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:13:20] local.INFO: IMEI packet received {"connection_id":119140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 17:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":119140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:13:21] local.INFO: TCP Data received {"connection_id":121024,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121024,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:13:21] local.INFO: Processing buffer {"connection_id":121024,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:13:21] local.INFO: IMEI packet received {"connection_id":121024,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-01 17:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":121024,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:13:22] local.INFO: TCP Data received {"connection_id":121024,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d7c30900100000000000000000000000000..."} 
[2026-07-01 17:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d7c30900100000000000000000000000000..."} 
[2026-07-01 17:13:22] local.INFO: Processing buffer {"connection_id":121024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d7c30900100000000000000000000000000..."} 
[2026-07-01 17:13:22] local.INFO: Packet analysis {"connection_id":121024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d7c"} 
[2026-07-01 17:13:22] local.INFO: Extracted packet for processing {"connection_id":121024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d7c"} 
[2026-07-01 17:13: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-01 17:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:13:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4063468558745600,"note":"Value kept but may cause issues"} 
[2026-07-01 17:13:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-01 17:13:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782906106000,"timestamp_ms":1782906106000,"timestamp_seconds":1782906106,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d7c3090"} 
[2026-07-01 17:13:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:13:22] 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-01 17:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-01 17:13:22] 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-01 17:13:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:13:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:13:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:13:22] local.INFO: Teltonika packet parsed successfully {"connection_id":121024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:13:22] local.INFO: Passing IMEI to GPS processor {"connection_id":121024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:13:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":121024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:13:22] 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-01 17:13:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-01 17:13:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-01 17:13:22] local.INFO: DEBUG: GPS processor result {"connection_id":121024,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-01 17:13:22] local.INFO: GPS data processed {"connection_id":121024,"processed":0,"errors":0,"total":1} 
[2026-07-01 17:13:22] local.INFO: Acknowledgment sent {"connection_id":121024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:13:25] local.INFO: TCP Data received {"connection_id":119140,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:13:25] local.INFO: Processing buffer {"connection_id":119140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:13:25] local.INFO: IMEI packet received {"connection_id":119140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":119140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:13:26] local.INFO: TCP Data received {"connection_id":119140,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d7c0598012cb468000772a9e8000701642c..."} 
[2026-07-01 17:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d7c0598012cb468000772a9e8000701642c..."} 
[2026-07-01 17:13:26] local.INFO: Processing buffer {"connection_id":119140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d7c0598012cb468000772a9e8000701642c..."} 
[2026-07-01 17:13:26] local.INFO: Packet analysis {"connection_id":119140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d7c"} 
[2026-07-01 17:13:26] local.INFO: Extracted packet for processing {"connection_id":119140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d7c"} 
[2026-07-01 17:13:26] local.INFO: GPS Element Parsed {"raw_longitude":750020608,"raw_latitude":124955112,"longitude_deg":75.0020608,"latitude_deg":12.4955112,"altitude":7,"angle":356,"satellites":44,"speed":34,"hex_longitude":"2cb46800","hex_latitude":"0772a9e8","is_valid_coordinates":true} 
[2026-07-01 17:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:13:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423957248001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:13:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333755195538276352,"note":"Value kept but may cause issues"} 
[2026-07-01 17:13:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5446259292388345856,"note":"Value kept but may cause issues"} 
[2026-07-01 17:13:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:13:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782906095000,"timestamp_ms":1782906095000,"timestamp_seconds":1782906095,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d7c0598"} 
[2026-07-01 17:13:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:13: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-01 17:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 17:13:26] 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-01 17:13:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:13:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:13:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:13:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:13:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:13:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:13:26] 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-01 17:13:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:13:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:13:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423957248001,"66":27876,"174":206,"85":36608,"24":34,"16":333755195538276352,"44":-5446259292388345856},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,85,24,16,44]} 
[2026-07-01 17:13:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:13:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:13:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423957248001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:13:26] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-07-01 17:13:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:13:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333755195538276352,"km_value":333755195538276.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:13:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5446259292388345856,"description":"Unknown IO ID 44"} 
[2026-07-01 17:13:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423957248001,"power":27876,"unknown_174":206,"unknown_85":36608,"ignition":34,"odometer":null,"unknown_44":-5446259292388345856}} 
[2026-07-01 17:13:26] local.INFO: DEBUG: GPS processor result {"connection_id":119140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:13:26] local.INFO: GPS data processed {"connection_id":119140,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:13:26] local.INFO: Acknowledgment sent {"connection_id":119140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:13:40] local.INFO: TCP Data received {"connection_id":121023,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121023,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:13:40] local.INFO: Processing buffer {"connection_id":121023,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:13:40] local.INFO: IMEI packet received {"connection_id":121023,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 17:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":121023,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:13:53] local.INFO: TCP Data received {"connection_id":121024,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d7c82980100000000000000000000000000..."} 
[2026-07-01 17:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d7c82980100000000000000000000000000..."} 
[2026-07-01 17:13:53] local.INFO: Processing buffer {"connection_id":121024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d7c82980100000000000000000000000000..."} 
[2026-07-01 17:13:53] local.INFO: Packet analysis {"connection_id":121024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d7c"} 
[2026-07-01 17:13:53] local.INFO: Extracted packet for processing {"connection_id":121024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d7c"} 
[2026-07-01 17:13: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-01 17: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-01 17:13:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4063468558745600,"note":"Value kept but may cause issues"} 
[2026-07-01 17:13:53] 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-01 17:13:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782906127000,"timestamp_ms":1782906127000,"timestamp_seconds":1782906127,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d7c8298"} 
[2026-07-01 17: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-01 17:13:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":768,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-01 17:13:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17: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-01 17: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-01 17:13:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:13:53] local.INFO: Teltonika packet parsed successfully {"connection_id":121024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:13:53] local.INFO: Passing IMEI to GPS processor {"connection_id":121024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:13:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":121024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:13:53] 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-01 17:13:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-01 17:13:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-01 17:13:53] local.INFO: DEBUG: GPS processor result {"connection_id":121024,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-07-01 17:13:53] local.INFO: GPS data processed {"connection_id":121024,"processed":0,"errors":0,"total":1} 
[2026-07-01 17:13:53] local.INFO: Acknowledgment sent {"connection_id":121024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:13:57] local.INFO: TCP Data received {"connection_id":119140,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d7c24d8012cb463c00772c868000701582d..."} 
[2026-07-01 17:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d7c24d8012cb463c00772c868000701582d..."} 
[2026-07-01 17:13:57] local.INFO: Processing buffer {"connection_id":119140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d7c24d8012cb463c00772c868000701582d..."} 
[2026-07-01 17:13:57] local.INFO: Packet analysis {"connection_id":119140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d7c"} 
[2026-07-01 17:13:57] local.INFO: Extracted packet for processing {"connection_id":119140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d7c"} 
[2026-07-01 17:13:57] local.INFO: GPS Element Parsed {"raw_longitude":750019520,"raw_latitude":124962920,"longitude_deg":75.001952,"latitude_deg":12.496292,"altitude":7,"angle":344,"satellites":45,"speed":43,"hex_longitude":"2cb463c0","hex_latitude":"0772c868","is_valid_coordinates":true} 
[2026-07-01 17:13:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:13:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423960320001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:13:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333755577790365696,"note":"Value kept but may cause issues"} 
[2026-07-01 17:13:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5447103717316106240,"note":"Value kept but may cause issues"} 
[2026-07-01 17:13:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:13:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782906103000,"timestamp_ms":1782906103000,"timestamp_seconds":1782906103,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d7c24d8"} 
[2026-07-01 17:13:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:13:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:13:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-01 17:13:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:13:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:13:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:13:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:13:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:13:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:13:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:13:57] 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-01 17:13:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:13:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:13:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423960320001,"66":27821,"174":206,"85":36608,"24":43,"16":333755577790365696,"44":-5447103717316106240},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,85,24,16,44]} 
[2026-07-01 17:13:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:13:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:13:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423960320001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:13:57] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-07-01 17:13:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:13:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333755577790365696,"km_value":333755577790365.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:13:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5447103717316106240,"description":"Unknown IO ID 44"} 
[2026-07-01 17:13:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423960320001,"power":27821,"unknown_174":206,"unknown_85":36608,"ignition":43,"odometer":null,"unknown_44":-5447103717316106240}} 
[2026-07-01 17:13:57] local.INFO: DEBUG: GPS processor result {"connection_id":119140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:13:57] local.INFO: GPS data processed {"connection_id":119140,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:13:57] local.INFO: Acknowledgment sent {"connection_id":119140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:14:19] local.INFO: TCP Data received {"connection_id":119141,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119141,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:14:19] local.INFO: Processing buffer {"connection_id":119141,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:14:19] local.INFO: IMEI packet received {"connection_id":119141,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 17:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":119141,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:14:24] local.INFO: TCP Data received {"connection_id":121024,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d7e4f88012d1876c007218230005000c809..."} 
[2026-07-01 17:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d7e4f88012d1876c007218230005000c809..."} 
[2026-07-01 17:14:24] local.INFO: Processing buffer {"connection_id":121024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d7e4f88012d1876c007218230005000c809..."} 
[2026-07-01 17:14:24] local.INFO: Packet analysis {"connection_id":121024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d7e"} 
[2026-07-01 17:14:24] local.INFO: Extracted packet for processing {"connection_id":121024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d7e"} 
[2026-07-01 17:14:24] local.INFO: GPS Element Parsed {"raw_longitude":756577984,"raw_latitude":119636528,"longitude_deg":75.6577984,"latitude_deg":11.9636528,"altitude":80,"angle":200,"satellites":9,"speed":1,"hex_longitude":"2d1876c0","hex_latitude":"07218230","is_valid_coordinates":true} 
[2026-07-01 17:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423998464001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4065006157037568,"note":"Value kept but may cause issues"} 
[2026-07-01 17:14:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762807441021626368,"note":"Value kept but may cause issues"} 
[2026-07-01 17:14:24] 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-01 17:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782906245000,"timestamp_ms":1782906245000,"timestamp_seconds":1782906245,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d7e4f88"} 
[2026-07-01 17:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:14:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3328,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-01 17:14:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:14:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":121024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":121024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":121024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:14:24] 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-01 17:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-01 17:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-01 17:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423998464001,"66":14157,"106":206,"83":41984,"24":1,"16":4065006157037568,"45":1762807441021626368},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-01 17:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-01 17:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-01 17:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423998464001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:14:24] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-01 17:14:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-01 17:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4065006157037568,"km_value":4065006157037.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:14:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762807441021626368,"description":"Unknown IO ID 45"} 
[2026-07-01 17:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423998464001,"power":14157,"unknown_106":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1762807441021626368}} 
[2026-07-01 17:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":121024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417927,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:14:24] local.INFO: GPS data processed {"connection_id":121024,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:14:24] local.INFO: Acknowledgment sent {"connection_id":121024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:14:35] local.INFO: TCP Data received {"connection_id":119941,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:14:35] local.INFO: Processing buffer {"connection_id":119941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:14:35] local.INFO: IMEI packet received {"connection_id":119941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 17:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":119941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:14:40] local.INFO: TCP Data received {"connection_id":119941,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:14:40] local.INFO: Processing buffer {"connection_id":119941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:14:40] local.INFO: IMEI packet received {"connection_id":119941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":119941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:14:45] local.INFO: TCP Data received {"connection_id":119941,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d7c3c48012cb45a000772e1d00007014b2c..."} 
[2026-07-01 17:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d7c3c48012cb45a000772e1d00007014b2c..."} 
[2026-07-01 17:14:45] local.INFO: Processing buffer {"connection_id":119941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d7c3c48012cb45a000772e1d00007014b2c..."} 
[2026-07-01 17:14:45] local.INFO: Packet analysis {"connection_id":119941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d7c"} 
[2026-07-01 17:14:45] local.INFO: Extracted packet for processing {"connection_id":119941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d7c"} 
[2026-07-01 17:14:45] local.INFO: GPS Element Parsed {"raw_longitude":750017024,"raw_latitude":124969424,"longitude_deg":75.0017024,"latitude_deg":12.4969424,"altitude":7,"angle":331,"satellites":44,"speed":48,"hex_longitude":"2cb45a00","hex_latitude":"0772e1d0","is_valid_coordinates":true} 
[2026-07-01 17:14:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:14:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423962368001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:14:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333755912797814784,"note":"Value kept but may cause issues"} 
[2026-07-01 17:14:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5448299985965127680,"note":"Value kept but may cause issues"} 
[2026-07-01 17:14:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:14:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782906109000,"timestamp_ms":1782906109000,"timestamp_seconds":1782906109,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d7c3c48"} 
[2026-07-01 17:14:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:14:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:14:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 17:14: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-01 17:14:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:14:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:14:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:14:45] local.INFO: Teltonika packet parsed successfully {"connection_id":119941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:14:45] local.INFO: Passing IMEI to GPS processor {"connection_id":119941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:14:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":119941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:14: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-01 17:14:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:14:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:14:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423962368001,"66":27767,"174":206,"85":36608,"24":48,"16":333755912797814784,"44":-5448299985965127680},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,85,24,16,44]} 
[2026-07-01 17:14:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:14:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:14:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423962368001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:14:45] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-07-01 17:14:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:14:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333755912797814784,"km_value":333755912797814.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:14:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5448299985965127680,"description":"Unknown IO ID 44"} 
[2026-07-01 17:14:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423962368001,"power":27767,"unknown_174":206,"unknown_85":36608,"ignition":48,"odometer":null,"unknown_44":-5448299985965127680}} 
[2026-07-01 17:14:45] local.INFO: DEBUG: GPS processor result {"connection_id":119941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:14:45] local.INFO: GPS data processed {"connection_id":119941,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:14:45] local.INFO: Acknowledgment sent {"connection_id":119941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:14:56] local.INFO: TCP Data received {"connection_id":121024,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d7e5370012d1876c0072182180050006109..."} 
[2026-07-01 17:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d7e5370012d1876c0072182180050006109..."} 
[2026-07-01 17:14:56] local.INFO: Processing buffer {"connection_id":121024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d7e5370012d1876c0072182180050006109..."} 
[2026-07-01 17:14:56] local.INFO: Packet analysis {"connection_id":121024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d7e"} 
[2026-07-01 17:14:56] local.INFO: Extracted packet for processing {"connection_id":121024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d7e"} 
[2026-07-01 17:14:56] local.INFO: GPS Element Parsed {"raw_longitude":756577984,"raw_latitude":119636504,"longitude_deg":75.6577984,"latitude_deg":11.9636504,"altitude":80,"angle":97,"satellites":9,"speed":1,"hex_longitude":"2d1876c0","hex_latitude":"07218218","is_valid_coordinates":true} 
[2026-07-01 17:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423998720001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4065006157037568,"note":"Value kept but may cause issues"} 
[2026-07-01 17:14:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762807441021612032,"note":"Value kept but may cause issues"} 
[2026-07-01 17:14:56] 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-01 17:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782906246000,"timestamp_ms":1782906246000,"timestamp_seconds":1782906246,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d7e5370"} 
[2026-07-01 17:14:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:14:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3328,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-01 17:14:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:14:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:14:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":121024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":121024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":121024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:14:56] 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-01 17:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-01 17:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-01 17:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423998720001,"66":14080,"106":206,"83":41984,"24":1,"16":4065006157037568,"45":1762807441021612032},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-01 17:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-01 17:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-01 17:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423998720001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:14:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-01 17:14:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-01 17:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4065006157037568,"km_value":4065006157037.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:14:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762807441021612032,"description":"Unknown IO ID 45"} 
[2026-07-01 17:14:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423998720001,"power":14080,"unknown_106":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1762807441021612032}} 
[2026-07-01 17:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":121024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417929,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:14:56] local.INFO: GPS data processed {"connection_id":121024,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:14:56] local.INFO: Acknowledgment sent {"connection_id":121024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:15:21] local.INFO: TCP Data received {"connection_id":119942,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:15:21] local.INFO: Processing buffer {"connection_id":119942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:15:21] local.INFO: IMEI packet received {"connection_id":119942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 17:15:21] local.INFO: IMEI acknowledgment sent {"connection_id":119942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:15:21] local.INFO: TCP Data received {"connection_id":119143,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119143,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:15:21] local.INFO: Processing buffer {"connection_id":119143,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:15:21] local.INFO: IMEI packet received {"connection_id":119143,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-01 17:15:21] local.INFO: IMEI acknowledgment sent {"connection_id":119143,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:15:25] local.INFO: TCP Data received {"connection_id":119942,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:15:25] local.INFO: Processing buffer {"connection_id":119942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:15:25] local.INFO: IMEI packet received {"connection_id":119942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":119942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:15:27] local.INFO: TCP Data received {"connection_id":119143,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119143,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:15:27] local.INFO: Processing buffer {"connection_id":119143,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:15:27] local.INFO: IMEI packet received {"connection_id":119143,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-01 17:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":119143,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:15:27] local.INFO: TCP Data received {"connection_id":119942,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d7e6310012cb3510007739ea0001f014527..."} 
[2026-07-01 17:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d7e6310012cb3510007739ea0001f014527..."} 
[2026-07-01 17:15:27] local.INFO: Processing buffer {"connection_id":119942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d7e6310012cb3510007739ea0001f014527..."} 
[2026-07-01 17:15:27] local.INFO: Packet analysis {"connection_id":119942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d7e"} 
[2026-07-01 17:15:27] local.INFO: Extracted packet for processing {"connection_id":119942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d7e"} 
[2026-07-01 17:15:27] local.INFO: GPS Element Parsed {"raw_longitude":749949184,"raw_latitude":125017760,"longitude_deg":74.9949184,"latitude_deg":12.501776,"altitude":31,"angle":325,"satellites":39,"speed":29,"hex_longitude":"2cb35100","hex_latitude":"07739ea0","is_valid_coordinates":true} 
[2026-07-01 17:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:15:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423994624001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:15:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333759937182171136,"note":"Value kept but may cause issues"} 
[2026-07-01 17:15:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5519020573851353088,"note":"Value kept but may cause issues"} 
[2026-07-01 17:15:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:15:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782906250000,"timestamp_ms":1782906250000,"timestamp_seconds":1782906250,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d7e6310"} 
[2026-07-01 17:15:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:15:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 17:15:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:15:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:15:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:15:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:15:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:15:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:15:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:15:27] 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-01 17:15:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:15:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:15:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423994624001,"66":27843,"184":206,"85":36608,"24":29,"16":333759937182171136,"44":-5519020573851353088},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-01 17:15:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:15:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:15:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423994624001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:15:27] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-01 17:15:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:15:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333759937182171136,"km_value":333759937182171.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:15:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5519020573851353088,"description":"Unknown IO ID 44"} 
[2026-07-01 17:15:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423994624001,"power":27843,"unknown_184":206,"unknown_85":36608,"ignition":29,"odometer":null,"unknown_44":-5519020573851353088}} 
[2026-07-01 17:15:27] local.INFO: DEBUG: GPS processor result {"connection_id":119942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:15:27] local.INFO: GPS data processed {"connection_id":119942,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:15:27] local.INFO: Acknowledgment sent {"connection_id":119942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:15:27] local.INFO: TCP Data received {"connection_id":119143,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d7e5758012d187700072182080050004809..."} 
[2026-07-01 17:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d7e5758012d187700072182080050004809..."} 
[2026-07-01 17:15:27] local.INFO: Processing buffer {"connection_id":119143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d7e5758012d187700072182080050004809..."} 
[2026-07-01 17:15:27] local.INFO: Packet analysis {"connection_id":119143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d7e"} 
[2026-07-01 17:15:27] local.INFO: Extracted packet for processing {"connection_id":119143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d7e"} 
[2026-07-01 17:15:27] local.INFO: GPS Element Parsed {"raw_longitude":756578048,"raw_latitude":119636488,"longitude_deg":75.6578048,"latitude_deg":11.9636488,"altitude":80,"angle":72,"satellites":9,"speed":1,"hex_longitude":"2d187700","hex_latitude":"07218208","is_valid_coordinates":true} 
[2026-07-01 17:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:15:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423998976001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:15:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4065010452004864,"note":"Value kept but may cause issues"} 
[2026-07-01 17:15:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762807441021605888,"note":"Value kept but may cause issues"} 
[2026-07-01 17:15:27] 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-01 17:15:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782906247000,"timestamp_ms":1782906247000,"timestamp_seconds":1782906247,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d7e5758"} 
[2026-07-01 17:15:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:15:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3328,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-01 17:15:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219968,"note":"Value kept but may cause issues"} 
[2026-07-01 17:15:27] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-01 17:15:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-01 17:15:27] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2203058256,"note":"Value kept but may cause issues"} 
[2026-07-01 17:15:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-07-01 17:15:27] local.WARNING: Large IO value detected {"io_id":135,"raw_value":2147950977,"note":"Value kept but may cause issues"} 
[2026-07-01 17:15:27] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2566966648,"note":"Value kept but may cause issues"} 
[2026-07-01 17:15:27] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,106,83,24,241,157,16,113,159,79,45,192,130,80,9,10,66,75,67,64,1,240,22,227,29,33,4,205,26,44,135,128,239,55,103,2,14,7,25],"length":479,"final_offset":609,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-07-01 17:15:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5764714214316900352,"timestamp_seconds":5764714214316900.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 17:15:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:15:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:15:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:15:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:15:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:15:27] 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-01 17:15:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-01 17:15:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-01 17:15:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423998976001,"66":14080,"106":206,"83":41984,"24":1,"16":4065010452004864,"45":1762807441021605888},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-01 17:15:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-01 17:15:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-01 17:15:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423998976001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:15:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-01 17:15:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-01 17:15:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4065010452004864,"km_value":4065010452004.864,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:15:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762807441021605888,"description":"Unknown IO ID 45"} 
[2026-07-01 17:15:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423998976001,"power":14080,"unknown_106":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1762807441021605888}} 
[2026-07-01 17:15:27] local.INFO: DEBUG: GPS processor result {"connection_id":119143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417931,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:15:27] local.INFO: GPS data processed {"connection_id":119143,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:15:27] local.INFO: Acknowledgment sent {"connection_id":119143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:15:30] local.INFO: TCP Data received {"connection_id":119143,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d7e99c0012d187700072181e8005001660a..."} 
[2026-07-01 17:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d7e99c0012d187700072181e8005001660a..."} 
[2026-07-01 17:15:30] local.INFO: Processing buffer {"connection_id":119143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d7e99c0012d187700072181e8005001660a..."} 
[2026-07-01 17:15:30] local.INFO: Packet analysis {"connection_id":119143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d7e"} 
[2026-07-01 17:15:30] local.INFO: Extracted packet for processing {"connection_id":119143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d7e"} 
[2026-07-01 17:15:30] local.INFO: GPS Element Parsed {"raw_longitude":756578048,"raw_latitude":119636456,"longitude_deg":75.6578048,"latitude_deg":11.9636456,"altitude":80,"angle":358,"satellites":10,"speed":1,"hex_longitude":"2d187700","hex_latitude":"072181e8","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456423999232001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4065023336906752,"note":"Value kept but may cause issues"} 
[2026-07-01 17:15:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762877809765779456,"note":"Value kept but may cause issues"} 
[2026-07-01 17:15: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-01 17:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782906264000,"timestamp_ms":1782906264000,"timestamp_seconds":1782906264,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d7e99c0"} 
[2026-07-01 17: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-01 17:15:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3328,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-07-01 17:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219968,"note":"Value kept but may cause issues"} 
[2026-07-01 17:15:30] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-01 17:15:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-01 17:15:30] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2200961104,"note":"Value kept but may cause issues"} 
[2026-07-01 17:15:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-07-01 17:15:30] local.WARNING: Large IO value detected {"io_id":126,"raw_value":2147950979,"note":"Value kept but may cause issues"} 
[2026-07-01 17:15:30] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,106,83,24,241,157,16,113,159,45,192,130,80,9,10,66,79,75,1,240,77,227,29,33,4,205,15,56,126,239,55,2,14,7,31],"length":479,"final_offset":609,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-07-01 17:15:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5764686726526205952,"timestamp_seconds":5764686726526206.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 17: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-01 17:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":119143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":119143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":119143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:15:30] 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-01 17:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-01 17:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-01 17:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456423999232001,"66":14483,"106":206,"83":41984,"24":1,"16":4065023336906752,"45":1762877809765779456},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-01 17:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-01 17:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-01 17:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456423999232001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:15:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-01 17:15:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-01 17:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4065023336906752,"km_value":4065023336906.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:15:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762877809765779456,"description":"Unknown IO ID 45"} 
[2026-07-01 17:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456423999232001,"power":14483,"unknown_106":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1762877809765779456}} 
[2026-07-01 17:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":119143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417932,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:15:30] local.INFO: GPS data processed {"connection_id":119143,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:15:30] local.INFO: Acknowledgment sent {"connection_id":119143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:15:58] local.INFO: TCP Data received {"connection_id":119942,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d7e6310012cb3510007739ea0001f014527..."} 
[2026-07-01 17:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d7e6310012cb3510007739ea0001f014527..."} 
[2026-07-01 17:15:58] local.INFO: Processing buffer {"connection_id":119942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d7e6310012cb3510007739ea0001f014527..."} 
[2026-07-01 17:15:58] local.INFO: Packet analysis {"connection_id":119942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d7e"} 
[2026-07-01 17:15:58] local.INFO: Extracted packet for processing {"connection_id":119942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d7e"} 
[2026-07-01 17:15:58] local.INFO: GPS Element Parsed {"raw_longitude":749949184,"raw_latitude":125017760,"longitude_deg":74.9949184,"latitude_deg":12.501776,"altitude":31,"angle":325,"satellites":39,"speed":29,"hex_longitude":"2cb35100","hex_latitude":"07739ea0","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:15:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424000000001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:15:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333759937182171136,"note":"Value kept but may cause issues"} 
[2026-07-01 17:15:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5525635235802341376,"note":"Value kept but may cause issues"} 
[2026-07-01 17:15:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:15:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782906250000,"timestamp_ms":1782906250000,"timestamp_seconds":1782906250,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d7e6310"} 
[2026-07-01 17: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-01 17:15: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-01 17: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 17:15:58] 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-01 17: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-01 17: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-01 17:15:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:15:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:15:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:15:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:15:58] 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-01 17:15:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:15:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:15:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424000000001,"66":27843,"184":206,"85":36608,"24":29,"16":333759937182171136,"44":-5525635235802341376},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-01 17:15:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:15:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:15:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424000000001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:15:58] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-01 17:15:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:15:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333759937182171136,"km_value":333759937182171.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:15:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5525635235802341376,"description":"Unknown IO ID 44"} 
[2026-07-01 17:15:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424000000001,"power":27843,"unknown_184":206,"unknown_85":36608,"ignition":29,"odometer":null,"unknown_44":-5525635235802341376}} 
[2026-07-01 17:15:58] local.INFO: DEBUG: GPS processor result {"connection_id":119942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:15:58] local.INFO: GPS data processed {"connection_id":119942,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:15:58] local.INFO: Acknowledgment sent {"connection_id":119942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:16:01] local.INFO: TCP Data received {"connection_id":119143,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d7e9da8012d187700072181e80050011f0a..."} 
[2026-07-01 17:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d7e9da8012d187700072181e80050011f0a..."} 
[2026-07-01 17:16:01] local.INFO: Processing buffer {"connection_id":119143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d7e9da8012d187700072181e80050011f0a..."} 
[2026-07-01 17:16:01] local.INFO: Packet analysis {"connection_id":119143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d7e"} 
[2026-07-01 17:16:01] local.INFO: Extracted packet for processing {"connection_id":119143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d7e"} 
[2026-07-01 17:16:01] local.INFO: GPS Element Parsed {"raw_longitude":756578048,"raw_latitude":119636456,"longitude_deg":75.6578048,"latitude_deg":11.9636456,"altitude":80,"angle":287,"satellites":10,"speed":3,"hex_longitude":"2d187700","hex_latitude":"072181e8","is_valid_coordinates":true} 
[2026-07-01 17:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:16:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424003584001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:16:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4065023336906752,"note":"Value kept but may cause issues"} 
[2026-07-01 17:16:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762877809765771264,"note":"Value kept but may cause issues"} 
[2026-07-01 17:16: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-01 17:16:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782906265000,"timestamp_ms":1782906265000,"timestamp_seconds":1782906265,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d7e9da8"} 
[2026-07-01 17:16:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:16:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3584,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-01 17:16:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:16:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:16:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:16:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:16:01] local.INFO: Teltonika packet parsed successfully {"connection_id":119143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:16:01] local.INFO: Passing IMEI to GPS processor {"connection_id":119143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:16:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":119143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:16:01] 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-01 17:16:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-01 17:16:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-01 17:16:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424003584001,"66":14483,"106":206,"83":41984,"24":3,"16":4065023336906752,"45":1762877809765771264},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-01 17:16:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-01 17:16:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-01 17:16:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424003584001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:16:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-01 17:16:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-01 17:16:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4065023336906752,"km_value":4065023336906.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:16:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762877809765771264,"description":"Unknown IO ID 45"} 
[2026-07-01 17:16:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424003584001,"power":14483,"unknown_106":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1762877809765771264}} 
[2026-07-01 17:16:01] local.INFO: DEBUG: GPS processor result {"connection_id":119143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:16:01] local.INFO: GPS data processed {"connection_id":119143,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:16:01] local.INFO: Acknowledgment sent {"connection_id":119143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:16:17] local.INFO: TCP Data received {"connection_id":119260,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119260,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:16:17] local.INFO: Processing buffer {"connection_id":119260,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:16:17] local.INFO: IMEI packet received {"connection_id":119260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-01 17:16:17] local.INFO: IMEI acknowledgment sent {"connection_id":119260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:16:22] local.INFO: TCP Data received {"connection_id":119260,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119260,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:16:22] local.INFO: Processing buffer {"connection_id":119260,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:16:22] local.INFO: IMEI packet received {"connection_id":119260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-01 17:16:22] local.INFO: IMEI acknowledgment sent {"connection_id":119260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:16:23] local.INFO: TCP Data received {"connection_id":119260,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d7ea190012d187680072181f8005001120a..."} 
[2026-07-01 17:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d7ea190012d187680072181f8005001120a..."} 
[2026-07-01 17:16:23] local.INFO: Processing buffer {"connection_id":119260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d7ea190012d187680072181f8005001120a..."} 
[2026-07-01 17:16:23] local.INFO: Packet analysis {"connection_id":119260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d7e"} 
[2026-07-01 17:16:23] local.INFO: Extracted packet for processing {"connection_id":119260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d7e"} 
[2026-07-01 17:16:23] local.INFO: GPS Element Parsed {"raw_longitude":756577920,"raw_latitude":119636472,"longitude_deg":75.657792,"latitude_deg":11.9636472,"altitude":80,"angle":274,"satellites":10,"speed":6,"hex_longitude":"2d187680","hex_latitude":"072181f8","is_valid_coordinates":true} 
[2026-07-01 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-01 17:16:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424003840001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:16:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4065027631874048,"note":"Value kept but may cause issues"} 
[2026-07-01 17:16:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762877809765771264,"note":"Value kept but may cause issues"} 
[2026-07-01 17:16:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:16:23] local.INFO: AVL Record Parsed {"raw_timestamp":1782906266000,"timestamp_ms":1782906266000,"timestamp_seconds":1782906266,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d7ea190"} 
[2026-07-01 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-01 17:16:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3584,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-01 17:16:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 17:16:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:16:23] local.INFO: Teltonika packet parsed successfully {"connection_id":119260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:16:23] local.INFO: Passing IMEI to GPS processor {"connection_id":119260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:16:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":119260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:16:23] 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-01 17:16:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-01 17:16:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-01 17:16:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424003840001,"66":14396,"106":206,"83":41984,"24":6,"16":4065027631874048,"45":1762877809765771264},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-01 17:16:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-01 17:16:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-01 17:16:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424003840001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:16:23] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-01 17:16:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-01 17:16:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4065027631874048,"km_value":4065027631874.048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:16:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762877809765771264,"description":"Unknown IO ID 45"} 
[2026-07-01 17:16:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424003840001,"power":14396,"unknown_106":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1762877809765771264}} 
[2026-07-01 17:16:23] local.INFO: DEBUG: GPS processor result {"connection_id":119260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417935,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:16:23] local.INFO: GPS data processed {"connection_id":119260,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:16:23] local.INFO: Acknowledgment sent {"connection_id":119260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:16:26] local.INFO: TCP Data received {"connection_id":119145,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:16:26] local.INFO: Processing buffer {"connection_id":119145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:16:26] local.INFO: IMEI packet received {"connection_id":119145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 17:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":119145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:16:30] local.INFO: TCP Data received {"connection_id":119145,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:16:30] local.INFO: Processing buffer {"connection_id":119145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:16:30] local.INFO: IMEI packet received {"connection_id":119145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":119145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:16:32] local.INFO: TCP Data received {"connection_id":119145,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d7e8e08012cb33e000773bc90001f01402d..."} 
[2026-07-01 17:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d7e8e08012cb33e000773bc90001f01402d..."} 
[2026-07-01 17:16:32] local.INFO: Processing buffer {"connection_id":119145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d7e8e08012cb33e000773bc90001f01402d..."} 
[2026-07-01 17:16:32] local.INFO: Packet analysis {"connection_id":119145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d7e"} 
[2026-07-01 17:16:32] local.INFO: Extracted packet for processing {"connection_id":119145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d7e"} 
[2026-07-01 17:16:32] local.INFO: GPS Element Parsed {"raw_longitude":749944320,"raw_latitude":125025424,"longitude_deg":74.994432,"latitude_deg":12.5025424,"altitude":31,"angle":320,"satellites":45,"speed":33,"hex_longitude":"2cb33e00","hex_latitude":"0773bc90","is_valid_coordinates":true} 
[2026-07-01 17:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424000000001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333760375268835328,"note":"Value kept but may cause issues"} 
[2026-07-01 17:16:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5525635235802341376,"note":"Value kept but may cause issues"} 
[2026-07-01 17:16:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782906261000,"timestamp_ms":1782906261000,"timestamp_seconds":1782906261,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d7e8e08"} 
[2026-07-01 17:16:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:16:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 17:16:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:16:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:16:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":119145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":119145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":119145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 17:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424000000001,"66":27691,"184":206,"85":36608,"24":33,"16":333760375268835328,"44":-5525635235802341376},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-01 17:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424000000001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:16:32] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-01 17:16:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333760375268835328,"km_value":333760375268835.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:16:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5525635235802341376,"description":"Unknown IO ID 44"} 
[2026-07-01 17:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424000000001,"power":27691,"unknown_184":206,"unknown_85":36608,"ignition":33,"odometer":null,"unknown_44":-5525635235802341376}} 
[2026-07-01 17:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":119145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:16:32] local.INFO: GPS data processed {"connection_id":119145,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:16:32] local.INFO: Acknowledgment sent {"connection_id":119145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:16:36] local.INFO: TCP Data received {"connection_id":119145,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d7ea960012cb32c000773cca0001d01332b..."} 
[2026-07-01 17:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d7ea960012cb32c000773cca0001d01332b..."} 
[2026-07-01 17:16:36] local.INFO: Processing buffer {"connection_id":119145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d7ea960012cb32c000773cca0001d01332b..."} 
[2026-07-01 17:16:36] local.INFO: Packet analysis {"connection_id":119145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d7e"} 
[2026-07-01 17:16:36] local.INFO: Extracted packet for processing {"connection_id":119145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d7e"} 
[2026-07-01 17:16:36] local.INFO: GPS Element Parsed {"raw_longitude":749939712,"raw_latitude":125029536,"longitude_deg":74.9939712,"latitude_deg":12.5029536,"altitude":29,"angle":307,"satellites":43,"speed":30,"hex_longitude":"2cb32c00","hex_latitude":"0773cca0","is_valid_coordinates":true} 
[2026-07-01 17:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424002816001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333760671621578752,"note":"Value kept but may cause issues"} 
[2026-07-01 17:16:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5530983260357881856,"note":"Value kept but may cause issues"} 
[2026-07-01 17:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782906268000,"timestamp_ms":1782906268000,"timestamp_seconds":1782906268,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d7ea960"} 
[2026-07-01 17:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-01 17:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:16:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":119145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":119145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":119145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 17:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424002816001,"66":27550,"184":206,"85":36608,"24":30,"16":333760671621578752,"44":-5530983260357881856},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-01 17:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424002816001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:16:36] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-01 17:16:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333760671621578752,"km_value":333760671621578.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:16:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5530983260357881856,"description":"Unknown IO ID 44"} 
[2026-07-01 17:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424002816001,"power":27550,"unknown_184":206,"unknown_85":36608,"ignition":30,"odometer":null,"unknown_44":-5530983260357881856}} 
[2026-07-01 17:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":119145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:16:36] local.INFO: GPS data processed {"connection_id":119145,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:16:36] local.INFO: Acknowledgment sent {"connection_id":119145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:16:53] local.INFO: TCP Data received {"connection_id":119260,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d7ec4b8012d186540072183580050011e0a..."} 
[2026-07-01 17:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d7ec4b8012d186540072183580050011e0a..."} 
[2026-07-01 17:16:53] local.INFO: Processing buffer {"connection_id":119260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d7ec4b8012d186540072183580050011e0a..."} 
[2026-07-01 17:16:53] local.INFO: Packet analysis {"connection_id":119260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d7e"} 
[2026-07-01 17:16:53] local.INFO: Extracted packet for processing {"connection_id":119260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d7e"} 
[2026-07-01 17:16:53] local.INFO: GPS Element Parsed {"raw_longitude":756573504,"raw_latitude":119636824,"longitude_deg":75.6573504,"latitude_deg":11.9636824,"altitude":80,"angle":286,"satellites":10,"speed":30,"hex_longitude":"2d186540","hex_latitude":"07218358","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:16:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424004096001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:16:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4065242380238848,"note":"Value kept but may cause issues"} 
[2026-07-01 17:16:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762737072277420032,"note":"Value kept but may cause issues"} 
[2026-07-01 17:16:53] 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-01 17:16:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782906275000,"timestamp_ms":1782906275000,"timestamp_seconds":1782906275,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d7ec4b8"} 
[2026-07-01 17: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-01 17:16:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3840,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-07-01 17:16:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17: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-01 17: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-01 17:16:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:16:53] local.INFO: Teltonika packet parsed successfully {"connection_id":119260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:16:53] local.INFO: Passing IMEI to GPS processor {"connection_id":119260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:16:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":119260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:16:53] 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-01 17:16:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-01 17:16:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-01 17:16:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424004096001,"66":13493,"106":206,"83":41984,"24":30,"16":4065242380238848,"45":1762737072277420032},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-01 17:16:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-01 17:16:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-01 17:16:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424004096001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:16:53] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-01 17:16:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-01 17:16:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4065242380238848,"km_value":4065242380238.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:16:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762737072277420032,"description":"Unknown IO ID 45"} 
[2026-07-01 17:16:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424004096001,"power":13493,"unknown_106":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1762737072277420032}} 
[2026-07-01 17:16:53] local.INFO: DEBUG: GPS processor result {"connection_id":119260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417938,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:16:53] local.INFO: GPS data processed {"connection_id":119260,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:16:53] local.INFO: Acknowledgment sent {"connection_id":119260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:17:07] local.INFO: TCP Data received {"connection_id":119943,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119943,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:17:07] local.INFO: Processing buffer {"connection_id":119943,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:17:07] local.INFO: IMEI packet received {"connection_id":119943,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 17:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":119943,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:17:07] local.INFO: TCP Data received {"connection_id":119943,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119943,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:17:07] local.INFO: Processing buffer {"connection_id":119943,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:17:07] local.INFO: IMEI packet received {"connection_id":119943,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 17:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":119943,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:17:08] local.INFO: TCP Data received {"connection_id":119943,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119943,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:17:08] local.INFO: Processing buffer {"connection_id":119943,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:17:08] local.INFO: IMEI packet received {"connection_id":119943,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 17:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":119943,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:17:09] local.INFO: TCP Data received {"connection_id":119943,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d7fd240012d7a1f4005e468500005005632..."} 
[2026-07-01 17:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d7fd240012d7a1f4005e468500005005632..."} 
[2026-07-01 17:17:09] local.INFO: Processing buffer {"connection_id":119943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d7fd240012d7a1f4005e468500005005632..."} 
[2026-07-01 17:17:09] local.INFO: Packet analysis {"connection_id":119943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d7f"} 
[2026-07-01 17:17:09] local.INFO: Extracted packet for processing {"connection_id":119943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d7f"} 
[2026-07-01 17:17:09] local.INFO: GPS Element Parsed {"raw_longitude":762978112,"raw_latitude":98854992,"longitude_deg":76.2978112,"latitude_deg":9.8854992,"altitude":5,"angle":86,"satellites":50,"speed":0,"hex_longitude":"2d7a1f40","hex_latitude":"05e46850","is_valid_coordinates":true} 
[2026-07-01 17:17:09] 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-01 17:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424024064001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101350370508275712,"note":"Value kept but may cause issues"} 
[2026-07-01 17:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799822590956294144,"note":"Value kept but may cause issues"} 
[2026-07-01 17:17:09] 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-01 17:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782906344000,"timestamp_ms":1782906344000,"timestamp_seconds":1782906344,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d7fd240"} 
[2026-07-01 17:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:17:09] 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-01 17:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-07-01 17:17:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:17:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":119943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":119943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":119943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:17: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-01 17:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424024064001,"66":2231,"24":0,"16":101350370508275712,"45":8799822590956294144},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-07-01 17:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424024064001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101350370508275712,"km_value":101350370508275.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799822590956294144,"description":"Unknown IO ID 45"} 
[2026-07-01 17:17:09] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":456424024064001,"power":2231,"ignition":0,"odometer":null,"unknown_45":8799822590956294144}} 
[2026-07-01 17:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":119943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417939,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:17:09] local.INFO: GPS data processed {"connection_id":119943,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:17:09] local.INFO: Acknowledgment sent {"connection_id":119943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:17:14] local.INFO: TCP Data received {"connection_id":119146,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119146,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:17:14] local.INFO: Processing buffer {"connection_id":119146,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:17:14] local.INFO: IMEI packet received {"connection_id":119146,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-01 17:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":119146,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:17:17] local.INFO: TCP Data received {"connection_id":119146,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119146,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:17:17] local.INFO: Processing buffer {"connection_id":119146,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:17:17] local.INFO: IMEI packet received {"connection_id":119146,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-01 17:17:17] local.INFO: IMEI acknowledgment sent {"connection_id":119146,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:17:21] local.INFO: TCP Data received {"connection_id":119147,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:17:21] local.INFO: Processing buffer {"connection_id":119147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:17:21] local.INFO: IMEI packet received {"connection_id":119147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 17:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":119147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:17:21] local.INFO: TCP Data received {"connection_id":119147,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:17:21] local.INFO: Processing buffer {"connection_id":119147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:17:21] local.INFO: IMEI packet received {"connection_id":119147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":119147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:17:22] local.INFO: TCP Data received {"connection_id":119146,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119146,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:17:22] local.INFO: Processing buffer {"connection_id":119146,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:17:22] local.INFO: IMEI packet received {"connection_id":119146,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-01 17:17:22] local.INFO: IMEI acknowledgment sent {"connection_id":119146,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:17:22] local.INFO: TCP Data received {"connection_id":119146,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d7eefb0012d18434007219230005201250a..."} 
[2026-07-01 17:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d7eefb0012d18434007219230005201250a..."} 
[2026-07-01 17:17:22] local.INFO: Processing buffer {"connection_id":119146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d7eefb0012d18434007219230005201250a..."} 
[2026-07-01 17:17:22] local.INFO: Packet analysis {"connection_id":119146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d7e"} 
[2026-07-01 17:17:22] local.INFO: Extracted packet for processing {"connection_id":119146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d7e"} 
[2026-07-01 17:17:22] local.INFO: GPS Element Parsed {"raw_longitude":756564800,"raw_latitude":119640624,"longitude_deg":75.65648,"latitude_deg":11.9640624,"altitude":82,"angle":293,"satellites":10,"speed":32,"hex_longitude":"2d184340","hex_latitude":"07219230","is_valid_coordinates":true} 
[2026-07-01 17:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:17:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424006400001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:17:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4065693351804928,"note":"Value kept but may cause issues"} 
[2026-07-01 17:17:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757881628929251328,"note":"Value kept but may cause issues"} 
[2026-07-01 17:17:22] 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-01 17:17:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782906286000,"timestamp_ms":1782906286000,"timestamp_seconds":1782906286,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d7eefb0"} 
[2026-07-01 17:17:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:17:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3840,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-07-01 17:17:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:17:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:17:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:17:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:17:22] local.INFO: Teltonika packet parsed successfully {"connection_id":119146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:17:22] local.INFO: Passing IMEI to GPS processor {"connection_id":119146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:17:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":119146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:17:22] 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-01 17:17:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-01 17:17:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-01 17:17:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424006400001,"66":14102,"106":206,"83":41984,"24":32,"16":4065693351804928,"45":1757881628929251328},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-07-01 17:17:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-01 17:17:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-01 17:17:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424006400001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:17:22] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-07-01 17:17:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-01 17:17:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4065693351804928,"km_value":4065693351804.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:17:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757881628929251328,"description":"Unknown IO ID 45"} 
[2026-07-01 17:17:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424006400001,"power":14102,"unknown_106":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1757881628929251328}} 
[2026-07-01 17:17:22] local.INFO: DEBUG: GPS processor result {"connection_id":119146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:17:22] local.INFO: GPS data processed {"connection_id":119146,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:17:22] local.INFO: Acknowledgment sent {"connection_id":119146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:17:25] local.INFO: TCP Data received {"connection_id":119147,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:17:25] local.INFO: Processing buffer {"connection_id":119147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:17:25] local.INFO: IMEI packet received {"connection_id":119147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":119147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:17:27] local.INFO: TCP Data received {"connection_id":119147,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d7ec8a0012cb31b400773d720001c01282d..."} 
[2026-07-01 17:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d7ec8a0012cb31b400773d720001c01282d..."} 
[2026-07-01 17:17:27] local.INFO: Processing buffer {"connection_id":119147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d7ec8a0012cb31b400773d720001c01282d..."} 
[2026-07-01 17:17:27] local.INFO: Packet analysis {"connection_id":119147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d7e"} 
[2026-07-01 17:17:27] local.INFO: Extracted packet for processing {"connection_id":119147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d7e"} 
[2026-07-01 17:17:27] local.INFO: GPS Element Parsed {"raw_longitude":749935424,"raw_latitude":125032224,"longitude_deg":74.9935424,"latitude_deg":12.5032224,"altitude":28,"angle":296,"satellites":45,"speed":20,"hex_longitude":"2cb31b40","hex_latitude":"0773d720","is_valid_coordinates":true} 
[2026-07-01 17:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424004608001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333760912139747328,"note":"Value kept but may cause issues"} 
[2026-07-01 17:17:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5536049809937620992,"note":"Value kept but may cause issues"} 
[2026-07-01 17:17:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782906276000,"timestamp_ms":1782906276000,"timestamp_seconds":1782906276,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d7ec8a0"} 
[2026-07-01 17:17:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:17:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-01 17:17:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2155,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:17:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:17:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:17:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 17:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424004608001,"66":27789,"184":206,"85":36608,"24":20,"16":333760912139747328,"44":-5536049809937620992},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-01 17:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424004608001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:17:27] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-01 17:17:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333760912139747328,"km_value":333760912139747.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:17:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5536049809937620992,"description":"Unknown IO ID 44"} 
[2026-07-01 17:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424004608001,"power":27789,"unknown_184":206,"unknown_85":36608,"ignition":20,"odometer":null,"unknown_44":-5536049809937620992}} 
[2026-07-01 17:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":119147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:17:27] local.INFO: GPS data processed {"connection_id":119147,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:17:27] local.INFO: Acknowledgment sent {"connection_id":119147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:17:28] local.INFO: TCP Data received {"connection_id":119147,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d7f1aa8012cb30e000773df78001a012c31..."} 
[2026-07-01 17:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d7f1aa8012cb30e000773df78001a012c31..."} 
[2026-07-01 17:17:28] local.INFO: Processing buffer {"connection_id":119147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d7f1aa8012cb30e000773df78001a012c31..."} 
[2026-07-01 17:17:28] local.INFO: Packet analysis {"connection_id":119147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d7f"} 
[2026-07-01 17:17:28] local.INFO: Extracted packet for processing {"connection_id":119147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d7f"} 
[2026-07-01 17:17:28] local.INFO: GPS Element Parsed {"raw_longitude":749932032,"raw_latitude":125034360,"longitude_deg":74.9932032,"latitude_deg":12.503436,"altitude":26,"angle":300,"satellites":49,"speed":0,"hex_longitude":"2cb30e00","hex_latitude":"0773df78","is_valid_coordinates":true} 
[2026-07-01 17:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:17:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424006656001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:17:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333761105413275648,"note":"Value kept but may cause issues"} 
[2026-07-01 17:17:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5540764515796836352,"note":"Value kept but may cause issues"} 
[2026-07-01 17:17:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:17:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782906297000,"timestamp_ms":1782906297000,"timestamp_seconds":1782906297,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d7f1aa8"} 
[2026-07-01 17:17:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:17: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-01 17:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-01 17:17:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:17:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:17:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:17:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:17:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:17:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:17:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:17:28] 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-01 17:17:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:17:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:17:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424006656001,"66":27658,"245":206,"85":36608,"24":0,"16":333761105413275648,"44":-5540764515796836352},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,44]} 
[2026-07-01 17:17:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:17:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:17:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424006656001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:17:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:17:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333761105413275648,"km_value":333761105413275.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:17:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5540764515796836352,"description":"Unknown IO ID 44"} 
[2026-07-01 17:17:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424006656001,"power":27658,"geofence_id":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5540764515796836352}} 
[2026-07-01 17:17:29] local.INFO: DEBUG: GPS processor result {"connection_id":119147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:17:29] local.INFO: GPS data processed {"connection_id":119147,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:17:29] local.INFO: Acknowledgment sent {"connection_id":119147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:17:52] local.INFO: TCP Data received {"connection_id":119261,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119261,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:17:52] local.INFO: Processing buffer {"connection_id":119261,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:17:52] local.INFO: IMEI packet received {"connection_id":119261,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 17:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":119261,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:17:54] local.INFO: TCP Data received {"connection_id":119146,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d7f41b8012d182ac007219c48005501230a..."} 
[2026-07-01 17:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d7f41b8012d182ac007219c48005501230a..."} 
[2026-07-01 17:17:54] local.INFO: Processing buffer {"connection_id":119146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d7f41b8012d182ac007219c48005501230a..."} 
[2026-07-01 17:17:54] local.INFO: Packet analysis {"connection_id":119146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d7f"} 
[2026-07-01 17:17:54] local.INFO: Extracted packet for processing {"connection_id":119146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d7f"} 
[2026-07-01 17:17:54] local.INFO: GPS Element Parsed {"raw_longitude":756558528,"raw_latitude":119643208,"longitude_deg":75.6558528,"latitude_deg":11.9643208,"altitude":85,"angle":291,"satellites":10,"speed":0,"hex_longitude":"2d182ac0","hex_latitude":"07219c48","is_valid_coordinates":true} 
[2026-07-01 17:17:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:17:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424009216001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:17:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4066024064286720,"note":"Value kept but may cause issues"} 
[2026-07-01 17:17:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1748311479722061824,"note":"Value kept but may cause issues"} 
[2026-07-01 17:17:54] local.INFO: IO Element Parsed {"io_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-01 17:17:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782906307000,"timestamp_ms":1782906307000,"timestamp_seconds":1782906307,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d7f41b8"} 
[2026-07-01 17:17:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:17:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3840,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:17:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-01 17:17:54] 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-01 17:17:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:17:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:17:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:17:54] local.INFO: Teltonika packet parsed successfully {"connection_id":119146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:17:54] local.INFO: Passing IMEI to GPS processor {"connection_id":119146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:17:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":119146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:17:54] 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-01 17:17:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-01 17:17:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-01 17:17:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424009216001,"66":13135,"105":206,"83":41984,"24":0,"16":4066024064286720,"45":1748311479722061824},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-01 17:17:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-01 17:17:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-01 17:17:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424009216001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:17:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-01 17:17:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-01 17:17:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4066024064286720,"km_value":4066024064286.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:17:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1748311479722061824,"description":"Unknown IO ID 45"} 
[2026-07-01 17:17:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424009216001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1748311479722061824}} 
[2026-07-01 17:17:54] local.INFO: DEBUG: GPS processor result {"connection_id":119146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417943,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:17:54] local.INFO: GPS data processed {"connection_id":119146,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:17:54] local.INFO: Acknowledgment sent {"connection_id":119146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:17:56] local.INFO: TCP Data received {"connection_id":119261,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119261,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:17:56] local.INFO: Processing buffer {"connection_id":119261,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:17:56] local.INFO: IMEI packet received {"connection_id":119261,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 17:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":119261,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:17:57] local.INFO: TCP Data received {"connection_id":119261,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d814558012d7a2ec005e45bc00008006931..."} 
[2026-07-01 17:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d814558012d7a2ec005e45bc00008006931..."} 
[2026-07-01 17:17:57] local.INFO: Processing buffer {"connection_id":119261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d814558012d7a2ec005e45bc00008006931..."} 
[2026-07-01 17:17:57] local.INFO: Packet analysis {"connection_id":119261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d81"} 
[2026-07-01 17:17:57] local.INFO: Extracted packet for processing {"connection_id":119261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d81"} 
[2026-07-01 17:17:57] local.INFO: GPS Element Parsed {"raw_longitude":762982080,"raw_latitude":98851776,"longitude_deg":76.298208,"latitude_deg":9.8851776,"altitude":8,"angle":105,"satellites":49,"speed":11,"hex_longitude":"2d7a2ec0","hex_latitude":"05e45bc0","is_valid_coordinates":true} 
[2026-07-01 17:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:17:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424048128001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:17:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101350701220757504,"note":"Value kept but may cause issues"} 
[2026-07-01 17:17:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803903978117801984,"note":"Value kept but may cause issues"} 
[2026-07-01 17:17:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:17:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782906439000,"timestamp_ms":1782906439000,"timestamp_seconds":1782906439,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d814558"} 
[2026-07-01 17:17:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:17:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-07-01 17:17:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:17:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:17:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:17:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:17:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:17:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119261,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:17:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119261,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:17: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-01 17:17:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:17:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:17:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424048128001,"66":12841,"157":206,"87":12288,"24":11,"16":101350701220757504,"45":8803903978117801984},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-07-01 17:17:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:17:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:17:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424048128001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:17:57] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 17:17:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-07-01 17:17:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101350701220757504,"km_value":101350701220757.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:17:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803903978117801984,"description":"Unknown IO ID 45"} 
[2026-07-01 17:17:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424048128001,"power":12841,"unknown_157":206,"unknown_87":12288,"ignition":11,"odometer":null,"unknown_45":8803903978117801984}} 
[2026-07-01 17:17:57] local.INFO: DEBUG: GPS processor result {"connection_id":119261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417944,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:17:57] local.INFO: GPS data processed {"connection_id":119261,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:17:57] local.INFO: Acknowledgment sent {"connection_id":119261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:18:02] local.INFO: TCP Data received {"connection_id":119147,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d7f6cb0012cb30b000773e218001c012c31..."} 
[2026-07-01 17:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d7f6cb0012cb30b000773e218001c012c31..."} 
[2026-07-01 17:18:02] local.INFO: Processing buffer {"connection_id":119147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d7f6cb0012cb30b000773e218001c012c31..."} 
[2026-07-01 17:18:02] local.INFO: Packet analysis {"connection_id":119147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d7f"} 
[2026-07-01 17:18:02] local.INFO: Extracted packet for processing {"connection_id":119147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d7f"} 
[2026-07-01 17:18:02] local.INFO: GPS Element Parsed {"raw_longitude":749931264,"raw_latitude":125035032,"longitude_deg":74.9931264,"latitude_deg":12.5035032,"altitude":28,"angle":300,"satellites":49,"speed":0,"hex_longitude":"2cb30b00","hex_latitude":"0773e218","is_valid_coordinates":true} 
[2026-07-01 17:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424012032001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333761156952883200,"note":"Value kept but may cause issues"} 
[2026-07-01 17:18:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5544494059237705728,"note":"Value kept but may cause issues"} 
[2026-07-01 17:18:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782906318000,"timestamp_ms":1782906318000,"timestamp_seconds":1782906318,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d7f6cb0"} 
[2026-07-01 17:18:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:18:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-01 17:18:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:18:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:18:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":119147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":119147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":119147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:18:02] 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-01 17:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424012032001,"66":27865,"245":206,"85":36608,"24":0,"16":333761156952883200,"44":-5544494059237705728},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,44]} 
[2026-07-01 17:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424012032001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:18:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:18:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333761156952883200,"km_value":333761156952883.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:18:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5544494059237705728,"description":"Unknown IO ID 44"} 
[2026-07-01 17:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424012032001,"power":27865,"geofence_id":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5544494059237705728}} 
[2026-07-01 17:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":119147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:18:02] local.INFO: GPS data processed {"connection_id":119147,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:18:02] local.INFO: Acknowledgment sent {"connection_id":119147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:18:17] local.INFO: TCP Data received {"connection_id":121026,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:18:17] local.INFO: Processing buffer {"connection_id":121026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:18:17] local.INFO: IMEI packet received {"connection_id":121026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-01 17:18:17] local.INFO: IMEI acknowledgment sent {"connection_id":121026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:18:17] local.INFO: TCP Data received {"connection_id":121026,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:18:17] local.INFO: Processing buffer {"connection_id":121026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:18:17] local.INFO: IMEI packet received {"connection_id":121026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-01 17:18:17] local.INFO: IMEI acknowledgment sent {"connection_id":121026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:18:20] local.INFO: TCP Data received {"connection_id":119148,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:18:20] local.INFO: Processing buffer {"connection_id":119148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:18:20] local.INFO: IMEI packet received {"connection_id":119148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 17:18:20] local.INFO: IMEI acknowledgment sent {"connection_id":119148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:18:22] local.INFO: TCP Data received {"connection_id":121026,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:18:22] local.INFO: Processing buffer {"connection_id":121026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:18:22] local.INFO: IMEI packet received {"connection_id":121026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-01 17:18:22] local.INFO: IMEI acknowledgment sent {"connection_id":121026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:18:22] local.INFO: TCP Data received {"connection_id":119148,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:18:22] local.INFO: Processing buffer {"connection_id":119148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:18:22] local.INFO: IMEI packet received {"connection_id":119148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:18:22] local.INFO: IMEI acknowledgment sent {"connection_id":119148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:18:22] local.INFO: TCP Data received {"connection_id":121026,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d7f93c0012d182ac007219c48005501230b..."} 
[2026-07-01 17:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d7f93c0012d182ac007219c48005501230b..."} 
[2026-07-01 17:18:22] local.INFO: Processing buffer {"connection_id":121026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d7f93c0012d182ac007219c48005501230b..."} 
[2026-07-01 17:18:22] local.INFO: Packet analysis {"connection_id":121026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d7f"} 
[2026-07-01 17:18:22] local.INFO: Extracted packet for processing {"connection_id":121026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d7f"} 
[2026-07-01 17:18:22] local.INFO: GPS Element Parsed {"raw_longitude":756558528,"raw_latitude":119643208,"longitude_deg":75.6558528,"latitude_deg":11.9643208,"altitude":85,"angle":291,"satellites":11,"speed":0,"hex_longitude":"2d182ac0","hex_latitude":"07219c48","is_valid_coordinates":true} 
[2026-07-01 17:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:18:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424014592001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:18:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4066024064286720,"note":"Value kept but may cause issues"} 
[2026-07-01 17:18:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741415342793312256,"note":"Value kept but may cause issues"} 
[2026-07-01 17:18:22] local.INFO: IO Element Parsed {"io_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-01 17:18:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782906328000,"timestamp_ms":1782906328000,"timestamp_seconds":1782906328,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d7f93c0"} 
[2026-07-01 17:18:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:18:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4352,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-01 17:18: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-01 17:18:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:18:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:18:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:18:22] local.INFO: Teltonika packet parsed successfully {"connection_id":121026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:18:22] local.INFO: Passing IMEI to GPS processor {"connection_id":121026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:18:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":121026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:18:22] 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-01 17:18:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-01 17:18:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-01 17:18:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424014592001,"66":13091,"105":206,"83":41984,"24":0,"16":4066024064286720,"45":1741415342793312256},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-01 17:18:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-01 17:18:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-01 17:18:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424014592001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:18:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-01 17:18:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-01 17:18:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4066024064286720,"km_value":4066024064286.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:18:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741415342793312256,"description":"Unknown IO ID 45"} 
[2026-07-01 17:18:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424014592001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741415342793312256}} 
[2026-07-01 17:18:22] local.INFO: DEBUG: GPS processor result {"connection_id":121026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417946,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:18:22] local.INFO: GPS data processed {"connection_id":121026,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:18:22] local.INFO: Acknowledgment sent {"connection_id":121026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:18:28] local.INFO: TCP Data received {"connection_id":119148,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d812618012cb31740077412680020001a30..."} 
[2026-07-01 17:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d812618012cb31740077412680020001a30..."} 
[2026-07-01 17:18:28] local.INFO: Processing buffer {"connection_id":119148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d812618012cb31740077412680020001a30..."} 
[2026-07-01 17:18:28] local.INFO: Packet analysis {"connection_id":119148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d81"} 
[2026-07-01 17:18:28] local.INFO: Extracted packet for processing {"connection_id":119148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d81"} 
[2026-07-01 17:18:28] local.INFO: GPS Element Parsed {"raw_longitude":749934400,"raw_latitude":125047400,"longitude_deg":74.99344,"latitude_deg":12.50474,"altitude":32,"angle":26,"satellites":48,"speed":33,"hex_longitude":"2cb31740","hex_latitude":"07741268","is_valid_coordinates":true} 
[2026-07-01 17:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:18:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424043264001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:18:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333761899982225408,"note":"Value kept but may cause issues"} 
[2026-07-01 17:18:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5546956965282650112,"note":"Value kept but may cause issues"} 
[2026-07-01 17:18:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:18:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782906431000,"timestamp_ms":1782906431000,"timestamp_seconds":1782906431,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d812618"} 
[2026-07-01 17:18:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:18:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 17:18:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:18:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:18:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:18:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:18:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:18:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:18:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:18:28] 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-01 17:18:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:18:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:18:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424043264001,"66":27767,"245":206,"85":36608,"24":33,"16":333761899982225408,"44":-5546956965282650112},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,44]} 
[2026-07-01 17:18:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:18:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:18:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424043264001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:18:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:18:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333761899982225408,"km_value":333761899982225.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:18:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5546956965282650112,"description":"Unknown IO ID 44"} 
[2026-07-01 17:18:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424043264001,"power":27767,"geofence_id":206,"unknown_85":36608,"ignition":33,"odometer":null,"unknown_44":-5546956965282650112}} 
[2026-07-01 17:18:28] local.INFO: DEBUG: GPS processor result {"connection_id":119148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:18:28] local.INFO: GPS data processed {"connection_id":119148,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:18:28] local.INFO: Acknowledgment sent {"connection_id":119148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:18:54] local.INFO: TCP Data received {"connection_id":121026,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d7fe5c8012d182ac007219c480055012310..."} 
[2026-07-01 17:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d7fe5c8012d182ac007219c480055012310..."} 
[2026-07-01 17:18:54] local.INFO: Processing buffer {"connection_id":121026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d7fe5c8012d182ac007219c480055012310..."} 
[2026-07-01 17:18:54] local.INFO: Packet analysis {"connection_id":121026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d7f"} 
[2026-07-01 17:18:54] local.INFO: Extracted packet for processing {"connection_id":121026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d7f"} 
[2026-07-01 17:18:54] local.INFO: GPS Element Parsed {"raw_longitude":756558528,"raw_latitude":119643208,"longitude_deg":75.6558528,"latitude_deg":11.9643208,"altitude":85,"angle":291,"satellites":16,"speed":0,"hex_longitude":"2d182ac0","hex_latitude":"07219c48","is_valid_coordinates":true} 
[2026-07-01 17:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424019968001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:18:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4066024064286720,"note":"Value kept but may cause issues"} 
[2026-07-01 17:18:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741415342793312256,"note":"Value kept but may cause issues"} 
[2026-07-01 17:18:54] local.INFO: IO Element Parsed {"io_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-01 17:18:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782906349000,"timestamp_ms":1782906349000,"timestamp_seconds":1782906349,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d7fe5c8"} 
[2026-07-01 17: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-01 17:18:54] 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-01 17: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":35,"data_length":795,"current_offset":136} 
[2026-07-01 17:18: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-01 17:18:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17: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-01 17:18:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:18:54] local.INFO: Teltonika packet parsed successfully {"connection_id":121026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:18:54] local.INFO: Passing IMEI to GPS processor {"connection_id":121026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:18:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":121026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:18:54] 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-01 17:18:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-01 17:18:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-01 17:18:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424019968001,"66":13091,"105":206,"83":41984,"24":0,"16":4066024064286720,"45":1741415342793312256},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-01 17:18:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-01 17:18:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-01 17:18:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424019968001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:18:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-01 17:18:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-01 17:18:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4066024064286720,"km_value":4066024064286.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:18:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741415342793312256,"description":"Unknown IO ID 45"} 
[2026-07-01 17:18:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424019968001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741415342793312256}} 
[2026-07-01 17:18:54] local.INFO: DEBUG: GPS processor result {"connection_id":121026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417948,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:18:54] local.INFO: GPS data processed {"connection_id":121026,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:18:54] local.INFO: Acknowledgment sent {"connection_id":121026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:18:59] local.INFO: TCP Data received {"connection_id":119148,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d8154f8012cb32980077432b80022001a2c..."} 
[2026-07-01 17:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d8154f8012cb32980077432b80022001a2c..."} 
[2026-07-01 17:18:59] local.INFO: Processing buffer {"connection_id":119148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d8154f8012cb32980077432b80022001a2c..."} 
[2026-07-01 17:18:59] local.INFO: Packet analysis {"connection_id":119148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d81"} 
[2026-07-01 17:18:59] local.INFO: Extracted packet for processing {"connection_id":119148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d81"} 
[2026-07-01 17:18:59] local.INFO: GPS Element Parsed {"raw_longitude":749939072,"raw_latitude":125055672,"longitude_deg":74.9939072,"latitude_deg":12.5055672,"altitude":34,"angle":26,"satellites":44,"speed":21,"hex_longitude":"2cb32980","hex_latitude":"077432b8","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:18:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424046336001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:18:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333762355248758784,"note":"Value kept but may cause issues"} 
[2026-07-01 17:18:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5541890415699793920,"note":"Value kept but may cause issues"} 
[2026-07-01 17:18:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:18:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782906443000,"timestamp_ms":1782906443000,"timestamp_seconds":1782906443,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d8154f8"} 
[2026-07-01 17: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-01 17:18:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 17:18:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17: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-01 17: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-01 17:18:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:18:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:18:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:18:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:18:59] 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-01 17:18:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:18:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:18:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424046336001,"66":27713,"245":206,"85":36608,"24":21,"16":333762355248758784,"44":-5541890415699793920},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,44]} 
[2026-07-01 17:18:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:18:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:18:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424046336001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:18:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:18:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333762355248758784,"km_value":333762355248758.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:18:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5541890415699793920,"description":"Unknown IO ID 44"} 
[2026-07-01 17:18:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424046336001,"power":27713,"geofence_id":206,"unknown_85":36608,"ignition":21,"odometer":null,"unknown_44":-5541890415699793920}} 
[2026-07-01 17:18:59] local.INFO: DEBUG: GPS processor result {"connection_id":119148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:18:59] local.INFO: GPS data processed {"connection_id":119148,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:18:59] local.INFO: Acknowledgment sent {"connection_id":119148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:19:17] local.INFO: TCP Data received {"connection_id":119262,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:19:17] local.INFO: Processing buffer {"connection_id":119262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:19:17] local.INFO: IMEI packet received {"connection_id":119262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-01 17:19:17] local.INFO: IMEI acknowledgment sent {"connection_id":119262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:19:20] local.INFO: TCP Data received {"connection_id":121028,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:19:20] local.INFO: Processing buffer {"connection_id":121028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:19:20] local.INFO: IMEI packet received {"connection_id":121028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 17:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":121028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:19:20] local.INFO: TCP Data received {"connection_id":119262,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:19:20] local.INFO: Processing buffer {"connection_id":119262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:19:20] local.INFO: IMEI packet received {"connection_id":119262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-01 17:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":119262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:19:21] local.INFO: TCP Data received {"connection_id":121028,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:19:21] local.INFO: Processing buffer {"connection_id":121028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:19:21] local.INFO: IMEI packet received {"connection_id":121028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:19:21] local.INFO: IMEI acknowledgment sent {"connection_id":121028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:19:21] local.INFO: TCP Data received {"connection_id":119262,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d8037d0012d182ac007219c480055012310..."} 
[2026-07-01 17:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d8037d0012d182ac007219c480055012310..."} 
[2026-07-01 17:19:21] local.INFO: Processing buffer {"connection_id":119262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d8037d0012d182ac007219c480055012310..."} 
[2026-07-01 17:19:21] local.INFO: Packet analysis {"connection_id":119262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d80"} 
[2026-07-01 17:19:21] local.INFO: Extracted packet for processing {"connection_id":119262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d80"} 
[2026-07-01 17:19:21] local.INFO: GPS Element Parsed {"raw_longitude":756558528,"raw_latitude":119643208,"longitude_deg":75.6558528,"latitude_deg":11.9643208,"altitude":85,"angle":291,"satellites":16,"speed":0,"hex_longitude":"2d182ac0","hex_latitude":"07219c48","is_valid_coordinates":true} 
[2026-07-01 17:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424025344001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4066024064286720,"note":"Value kept but may cause issues"} 
[2026-07-01 17:19:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741415342793312256,"note":"Value kept but may cause issues"} 
[2026-07-01 17:19:21] local.INFO: IO Element Parsed {"io_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-01 17:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782906370000,"timestamp_ms":1782906370000,"timestamp_seconds":1782906370,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d8037d0"} 
[2026-07-01 17:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:19:21] 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-01 17:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-01 17:19: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-01 17:19:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":119262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":119262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":119262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:19:21] 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-01 17:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-01 17:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-01 17:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424025344001,"66":13004,"105":206,"83":41984,"24":0,"16":4066024064286720,"45":1741415342793312256},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-01 17:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-01 17:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-01 17:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424025344001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:19:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-01 17:19:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-01 17:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4066024064286720,"km_value":4066024064286.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:19:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741415342793312256,"description":"Unknown IO ID 45"} 
[2026-07-01 17:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424025344001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741415342793312256}} 
[2026-07-01 17:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":119262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417950,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:19:21] local.INFO: GPS data processed {"connection_id":119262,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:19:21] local.INFO: Acknowledgment sent {"connection_id":119262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:19:39] local.INFO: TCP Data received {"connection_id":121028,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:19:39] local.INFO: Processing buffer {"connection_id":121028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:19:39] local.INFO: IMEI packet received {"connection_id":121028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:19:39] local.INFO: IMEI acknowledgment sent {"connection_id":121028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:19:41] local.INFO: TCP Data received {"connection_id":121028,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d81a700012cb3358007743f70002a001b2f..."} 
[2026-07-01 17:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d81a700012cb3358007743f70002a001b2f..."} 
[2026-07-01 17:19:41] local.INFO: Processing buffer {"connection_id":121028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d81a700012cb3358007743f70002a001b2f..."} 
[2026-07-01 17:19:41] local.INFO: Packet analysis {"connection_id":121028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d81"} 
[2026-07-01 17:19:41] local.INFO: Extracted packet for processing {"connection_id":121028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d81"} 
[2026-07-01 17:19:41] local.INFO: GPS Element Parsed {"raw_longitude":749942144,"raw_latitude":125058928,"longitude_deg":74.9942144,"latitude_deg":12.5058928,"altitude":42,"angle":27,"satellites":47,"speed":11,"hex_longitude":"2cb33580","hex_latitude":"07743f70","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424049408001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333762587176992768,"note":"Value kept but may cause issues"} 
[2026-07-01 17:19:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5536753497372706816,"note":"Value kept but may cause issues"} 
[2026-07-01 17:19:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1782906464000,"timestamp_ms":1782906464000,"timestamp_seconds":1782906464,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d81a700"} 
[2026-07-01 17: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-01 17:19:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-01 17:19:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17: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-01 17: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-01 17:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":121028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":121028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":121028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:19: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-01 17:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424049408001,"66":27745,"245":206,"85":36608,"24":11,"16":333762587176992768,"44":-5536753497372706816},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,44]} 
[2026-07-01 17:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424049408001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:19:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333762587176992768,"km_value":333762587176992.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:19:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5536753497372706816,"description":"Unknown IO ID 44"} 
[2026-07-01 17:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424049408001,"power":27745,"geofence_id":206,"unknown_85":36608,"ignition":11,"odometer":null,"unknown_44":-5536753497372706816}} 
[2026-07-01 17:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":121028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:19:41] local.INFO: GPS data processed {"connection_id":121028,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:19:41] local.INFO: Acknowledgment sent {"connection_id":121028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:19:52] local.INFO: TCP Data received {"connection_id":119262,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d8089d8012d182ac007219c480055012310..."} 
[2026-07-01 17:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d8089d8012d182ac007219c480055012310..."} 
[2026-07-01 17:19:52] local.INFO: Processing buffer {"connection_id":119262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d8089d8012d182ac007219c480055012310..."} 
[2026-07-01 17:19:52] local.INFO: Packet analysis {"connection_id":119262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d80"} 
[2026-07-01 17:19:52] local.INFO: Extracted packet for processing {"connection_id":119262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d80"} 
[2026-07-01 17:19:52] local.INFO: GPS Element Parsed {"raw_longitude":756558528,"raw_latitude":119643208,"longitude_deg":75.6558528,"latitude_deg":11.9643208,"altitude":85,"angle":291,"satellites":16,"speed":0,"hex_longitude":"2d182ac0","hex_latitude":"07219c48","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424030720001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4066024064286720,"note":"Value kept but may cause issues"} 
[2026-07-01 17:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741415342793312256,"note":"Value kept but may cause issues"} 
[2026-07-01 17:19:52] local.INFO: IO Element Parsed {"io_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-01 17:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782906391000,"timestamp_ms":1782906391000,"timestamp_seconds":1782906391,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d8089d8"} 
[2026-07-01 17: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-01 17:19:52] 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-01 17: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-07-01 17:19:52] 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-01 17: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-01 17: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-01 17:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":119262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":119262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":119262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:19:52] 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-01 17:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-01 17:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-01 17:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424030720001,"66":12950,"105":206,"83":41984,"24":0,"16":4066024064286720,"45":1741415342793312256},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-01 17:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-01 17:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-01 17:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424030720001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:19:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-01 17:19:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-01 17:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4066024064286720,"km_value":4066024064286.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741415342793312256,"description":"Unknown IO ID 45"} 
[2026-07-01 17:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424030720001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741415342793312256}} 
[2026-07-01 17:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":119262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417952,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:19:52] local.INFO: GPS data processed {"connection_id":119262,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:19:52] local.INFO: Acknowledgment sent {"connection_id":119262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:19:55] local.INFO: TCP Data received {"connection_id":119263,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119263,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:19:55] local.INFO: Processing buffer {"connection_id":119263,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:19:55] local.INFO: IMEI packet received {"connection_id":119263,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 17:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":119263,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:20:15] local.INFO: TCP Data received {"connection_id":119944,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119944,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:20:15] local.INFO: Processing buffer {"connection_id":119944,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:20:15] local.INFO: IMEI packet received {"connection_id":119944,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 17:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":119944,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:20:16] local.INFO: TCP Data received {"connection_id":119945,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:20:16] local.INFO: Processing buffer {"connection_id":119945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:20:16] local.INFO: IMEI packet received {"connection_id":119945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-01 17:20:16] local.INFO: IMEI acknowledgment sent {"connection_id":119945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:20:22] local.INFO: TCP Data received {"connection_id":119945,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:20:22] local.INFO: Processing buffer {"connection_id":119945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:20:22] local.INFO: IMEI packet received {"connection_id":119945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-01 17:20:22] local.INFO: IMEI acknowledgment sent {"connection_id":119945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:20:22] local.INFO: TCP Data received {"connection_id":119945,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d80dbe0012d182ac007219c480055012311..."} 
[2026-07-01 17:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d80dbe0012d182ac007219c480055012311..."} 
[2026-07-01 17:20:22] local.INFO: Processing buffer {"connection_id":119945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d80dbe0012d182ac007219c480055012311..."} 
[2026-07-01 17:20:22] local.INFO: Packet analysis {"connection_id":119945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d80"} 
[2026-07-01 17:20:22] local.INFO: Extracted packet for processing {"connection_id":119945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d80"} 
[2026-07-01 17:20:22] local.INFO: GPS Element Parsed {"raw_longitude":756558528,"raw_latitude":119643208,"longitude_deg":75.6558528,"latitude_deg":11.9643208,"altitude":85,"angle":291,"satellites":17,"speed":0,"hex_longitude":"2d182ac0","hex_latitude":"07219c48","is_valid_coordinates":true} 
[2026-07-01 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-01 17:20:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424036096001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:20:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4066024064286720,"note":"Value kept but may cause issues"} 
[2026-07-01 17:20:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741415342793312256,"note":"Value kept but may cause issues"} 
[2026-07-01 17:20:22] local.INFO: IO Element Parsed {"io_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-01 17:20:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782906412000,"timestamp_ms":1782906412000,"timestamp_seconds":1782906412,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d80dbe0"} 
[2026-07-01 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-01 17:20:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-01 17:20:22] 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-01 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-01 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-01 17:20:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:20:22] local.INFO: Teltonika packet parsed successfully {"connection_id":119945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:20:22] local.INFO: Passing IMEI to GPS processor {"connection_id":119945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:20:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":119945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:20:22] 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-01 17:20:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-01 17:20:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-01 17:20:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424036096001,"66":12885,"105":206,"83":41984,"24":0,"16":4066024064286720,"45":1741415342793312256},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-01 17:20:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-01 17:20:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-01 17:20:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424036096001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:20:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-01 17:20:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-01 17:20:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4066024064286720,"km_value":4066024064286.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:20:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741415342793312256,"description":"Unknown IO ID 45"} 
[2026-07-01 17:20:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424036096001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741415342793312256}} 
[2026-07-01 17:20:23] local.INFO: DEBUG: GPS processor result {"connection_id":119945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417953,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:20:23] local.INFO: GPS data processed {"connection_id":119945,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:20:23] local.INFO: Acknowledgment sent {"connection_id":119945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:20:28] local.INFO: TCP Data received {"connection_id":119149,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:20:28] local.INFO: Processing buffer {"connection_id":119149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:20:28] local.INFO: IMEI packet received {"connection_id":119149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 17:20:28] local.INFO: IMEI acknowledgment sent {"connection_id":119149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:20:30] local.INFO: TCP Data received {"connection_id":119149,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:20:30] local.INFO: Processing buffer {"connection_id":119149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:20:30] local.INFO: IMEI packet received {"connection_id":119149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":119149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:20:35] local.INFO: TCP Data received {"connection_id":119149,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:20:35] local.INFO: Processing buffer {"connection_id":119149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:20:35] local.INFO: IMEI packet received {"connection_id":119149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":119149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:20:36] local.INFO: TCP Data received {"connection_id":119149,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d8325d0012cb24980077489b80013014d2d..."} 
[2026-07-01 17:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d8325d0012cb24980077489b80013014d2d..."} 
[2026-07-01 17:20:36] local.INFO: Processing buffer {"connection_id":119149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d8325d0012cb24980077489b80013014d2d..."} 
[2026-07-01 17:20:36] local.INFO: Packet analysis {"connection_id":119149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d83"} 
[2026-07-01 17:20:36] local.INFO: Extracted packet for processing {"connection_id":119149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d83"} 
[2026-07-01 17:20:36] local.INFO: GPS Element Parsed {"raw_longitude":749881728,"raw_latitude":125077944,"longitude_deg":74.9881728,"latitude_deg":12.5077944,"altitude":19,"angle":333,"satellites":45,"speed":10,"hex_longitude":"2cb24980","hex_latitude":"077489b8","is_valid_coordinates":true} 
[2026-07-01 17:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424079616001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333765945841418240,"note":"Value kept but may cause issues"} 
[2026-07-01 17:20:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5599592785917712384,"note":"Value kept but may cause issues"} 
[2026-07-01 17:20:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782906562000,"timestamp_ms":1782906562000,"timestamp_seconds":1782906562,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d8325d0"} 
[2026-07-01 17:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 17:20:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:20:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":119149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":119149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":119149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:20:36] 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-01 17:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424079616001,"66":27800,"184":206,"85":36608,"24":10,"16":333765945841418240,"44":-5599592785917712384},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-01 17:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424079616001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:20:36] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-01 17:20:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333765945841418240,"km_value":333765945841418.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:20:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5599592785917712384,"description":"Unknown IO ID 44"} 
[2026-07-01 17:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424079616001,"power":27800,"unknown_184":206,"unknown_85":36608,"ignition":10,"odometer":null,"unknown_44":-5599592785917712384}} 
[2026-07-01 17:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":119149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:20:36] local.INFO: GPS data processed {"connection_id":119149,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:20:36] local.INFO: Acknowledgment sent {"connection_id":119149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:20:54] local.INFO: TCP Data received {"connection_id":119945,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d812de8012d182ac007219c480055012311..."} 
[2026-07-01 17:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d812de8012d182ac007219c480055012311..."} 
[2026-07-01 17:20:54] local.INFO: Processing buffer {"connection_id":119945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d812de8012d182ac007219c480055012311..."} 
[2026-07-01 17:20:54] local.INFO: Packet analysis {"connection_id":119945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d81"} 
[2026-07-01 17:20:54] local.INFO: Extracted packet for processing {"connection_id":119945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d81"} 
[2026-07-01 17:20:54] local.INFO: GPS Element Parsed {"raw_longitude":756558528,"raw_latitude":119643208,"longitude_deg":75.6558528,"latitude_deg":11.9643208,"altitude":85,"angle":291,"satellites":17,"speed":0,"hex_longitude":"2d182ac0","hex_latitude":"07219c48","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424041472001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4066024064286720,"note":"Value kept but may cause issues"} 
[2026-07-01 17:20:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741415342793312256,"note":"Value kept but may cause issues"} 
[2026-07-01 17:20:54] local.INFO: IO Element Parsed {"io_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-01 17:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782906433000,"timestamp_ms":1782906433000,"timestamp_seconds":1782906433,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d812de8"} 
[2026-07-01 17: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-01 17:20:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-01 17:20:54] 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-01 17: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-01 17: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-01 17:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":119945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":119945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":119945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:20:54] 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-01 17:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-01 17:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-01 17:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424041472001,"66":12863,"105":206,"83":41984,"24":0,"16":4066024064286720,"45":1741415342793312256},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-01 17:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-01 17:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-01 17:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424041472001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:20:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-01 17:20:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-01 17:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4066024064286720,"km_value":4066024064286.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:20:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741415342793312256,"description":"Unknown IO ID 45"} 
[2026-07-01 17:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424041472001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741415342793312256}} 
[2026-07-01 17:20:54] local.INFO: DEBUG: GPS processor result {"connection_id":119945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417955,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:20:54] local.INFO: GPS data processed {"connection_id":119945,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:20:54] local.INFO: Acknowledgment sent {"connection_id":119945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:21:20] local.INFO: TCP Data received {"connection_id":119946,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:21:20] local.INFO: Processing buffer {"connection_id":119946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:21:20] local.INFO: IMEI packet received {"connection_id":119946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 17:21:20] local.INFO: IMEI acknowledgment sent {"connection_id":119946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:21:21] local.INFO: TCP Data received {"connection_id":119150,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119150,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:21:21] local.INFO: Processing buffer {"connection_id":119150,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:21:21] local.INFO: IMEI packet received {"connection_id":119150,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-01 17:21:21] local.INFO: IMEI acknowledgment sent {"connection_id":119150,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:21:24] local.INFO: TCP Data received {"connection_id":119946,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:21:24] local.INFO: Processing buffer {"connection_id":119946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:21:24] local.INFO: IMEI packet received {"connection_id":119946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":119946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:21:25] local.INFO: TCP Data received {"connection_id":119946,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d8329b8012cb2494007748aa80013016227..."} 
[2026-07-01 17:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d8329b8012cb2494007748aa80013016227..."} 
[2026-07-01 17:21:25] local.INFO: Processing buffer {"connection_id":119946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d8329b8012cb2494007748aa80013016227..."} 
[2026-07-01 17:21:25] local.INFO: Packet analysis {"connection_id":119946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d83"} 
[2026-07-01 17:21:25] local.INFO: Extracted packet for processing {"connection_id":119946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d83"} 
[2026-07-01 17:21:25] local.INFO: GPS Element Parsed {"raw_longitude":749881664,"raw_latitude":125078184,"longitude_deg":74.9881664,"latitude_deg":12.5078184,"altitude":19,"angle":354,"satellites":39,"speed":10,"hex_longitude":"2cb24940","hex_latitude":"07748aa8","is_valid_coordinates":true} 
[2026-07-01 17:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424079872001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333765958726320128,"note":"Value kept but may cause issues"} 
[2026-07-01 17:21:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5599803892150192128,"note":"Value kept but may cause issues"} 
[2026-07-01 17:21:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782906563000,"timestamp_ms":1782906563000,"timestamp_seconds":1782906563,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d8329b8"} 
[2026-07-01 17:21:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:21:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 17:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 17:21:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:21:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:21:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:21:25] 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-01 17:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424079872001,"66":27745,"184":206,"85":36608,"24":10,"16":333765958726320128,"44":-5599803892150192128},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-01 17:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424079872001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:21:25] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-01 17:21:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333765958726320128,"km_value":333765958726320.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:21:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5599803892150192128,"description":"Unknown IO ID 44"} 
[2026-07-01 17:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424079872001,"power":27745,"unknown_184":206,"unknown_85":36608,"ignition":10,"odometer":null,"unknown_44":-5599803892150192128}} 
[2026-07-01 17:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":119946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:21:25] local.INFO: GPS data processed {"connection_id":119946,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:21:25] local.INFO: Acknowledgment sent {"connection_id":119946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:21:27] local.INFO: TCP Data received {"connection_id":119150,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119150,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:21:27] local.INFO: Processing buffer {"connection_id":119150,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:21:27] local.INFO: IMEI packet received {"connection_id":119150,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-01 17:21:27] local.INFO: IMEI acknowledgment sent {"connection_id":119150,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:21:27] local.INFO: TCP Data received {"connection_id":119150,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d817ff0012d182ac007219c480055012311..."} 
[2026-07-01 17:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d817ff0012d182ac007219c480055012311..."} 
[2026-07-01 17:21:27] local.INFO: Processing buffer {"connection_id":119150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d817ff0012d182ac007219c480055012311..."} 
[2026-07-01 17:21:27] local.INFO: Packet analysis {"connection_id":119150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d81"} 
[2026-07-01 17:21:27] local.INFO: Extracted packet for processing {"connection_id":119150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d81"} 
[2026-07-01 17:21:27] local.INFO: GPS Element Parsed {"raw_longitude":756558528,"raw_latitude":119643208,"longitude_deg":75.6558528,"latitude_deg":11.9643208,"altitude":85,"angle":291,"satellites":17,"speed":0,"hex_longitude":"2d182ac0","hex_latitude":"07219c48","is_valid_coordinates":true} 
[2026-07-01 17:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:21:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424046848001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:21:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4066024064286720,"note":"Value kept but may cause issues"} 
[2026-07-01 17:21:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741415342793312256,"note":"Value kept but may cause issues"} 
[2026-07-01 17:21:27] local.INFO: IO Element Parsed {"io_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-01 17:21:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782906454000,"timestamp_ms":1782906454000,"timestamp_seconds":1782906454,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d817ff0"} 
[2026-07-01 17:21:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:21:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5632,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-07-01 17:21:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:21:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:21:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:21:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:21:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:21:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:21:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:21:27] 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-01 17:21:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-01 17:21:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-01 17:21:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424046848001,"66":12819,"105":206,"83":41984,"24":0,"16":4066024064286720,"45":1741415342793312256},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-01 17:21:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-01 17:21:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-01 17:21:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424046848001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:21:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-01 17:21:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-01 17:21:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4066024064286720,"km_value":4066024064286.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:21:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741415342793312256,"description":"Unknown IO ID 45"} 
[2026-07-01 17:21:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424046848001,"power":12819,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741415342793312256}} 
[2026-07-01 17:21:27] local.INFO: DEBUG: GPS processor result {"connection_id":119150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417957,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:21:27] local.INFO: GPS data processed {"connection_id":119150,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:21:27] local.INFO: Acknowledgment sent {"connection_id":119150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:21:28] local.INFO: TCP Data received {"connection_id":119150,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d81d1f8012d182ac007219c480055012311..."} 
[2026-07-01 17:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d81d1f8012d182ac007219c480055012311..."} 
[2026-07-01 17:21:28] local.INFO: Processing buffer {"connection_id":119150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d81d1f8012d182ac007219c480055012311..."} 
[2026-07-01 17:21:28] local.INFO: Packet analysis {"connection_id":119150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d81"} 
[2026-07-01 17:21:28] local.INFO: Extracted packet for processing {"connection_id":119150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d81"} 
[2026-07-01 17:21:28] local.INFO: GPS Element Parsed {"raw_longitude":756558528,"raw_latitude":119643208,"longitude_deg":75.6558528,"latitude_deg":11.9643208,"altitude":85,"angle":291,"satellites":17,"speed":0,"hex_longitude":"2d182ac0","hex_latitude":"07219c48","is_valid_coordinates":true} 
[2026-07-01 17:21:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:21:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424052224001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:21:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4066024064286720,"note":"Value kept but may cause issues"} 
[2026-07-01 17:21:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741415342793312256,"note":"Value kept but may cause issues"} 
[2026-07-01 17:21:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:21:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782906475000,"timestamp_ms":1782906475000,"timestamp_seconds":1782906475,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d81d1f8"} 
[2026-07-01 17:21:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:21:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5888,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:21:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-07-01 17:21:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-07-01 17:21:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-01 17:21:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-01 17:21:28] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-01 17:21:28] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503661669974016,"note":"Value kept but may cause issues"} 
[2026-07-01 17:21:28] local.WARNING: Large IO value detected {"io_id":29,"raw_value":9169812631494077120,"note":"Value kept but may cause issues"} 
[2026-07-01 17:21:28] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2621964373,"note":"Value kept but may cause issues"} 
[2026-07-01 17:21:28] local.WARNING: Large IO value detected {"io_id":113,"raw_value":1081127797659074816,"note":"Value kept but may cause issues"} 
[2026-07-01 17:21:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7667660726741499928,"corrected_to":0} 
[2026-07-01 17:21:28] local.WARNING: Large IO value detected {"io_id":229,"raw_value":3355520280,"note":"Value kept but may cause issues"} 
[2026-07-01 17:21:28] local.WARNING: Large IO value detected {"io_id":42,"raw_value":3221692828,"note":"Value kept but may cause issues"} 
[2026-07-01 17:21:28] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72181911882039552,"note":"Value kept but may cause issues"} 
[2026-07-01 17:21:28] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2522241648239365715,"note":"Value kept but may cause issues"} 
[2026-07-01 17:21:28] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2421889865881821962,"note":"Value kept but may cause issues"} 
[2026-07-01 17:21:28] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-07-01 17:21:28] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195097856,"note":"Value kept but may cause issues"} 
[2026-07-01 17:21:28] local.WARNING: Large IO value detected {"io_id":176,"raw_value":84750645105992082,"note":"Value kept but may cause issues"} 
[2026-07-01 17:21:28] local.WARNING: Large IO value detected {"io_id":48,"raw_value":23082206683471872,"note":"Value kept but may cause issues"} 
[2026-07-01 17:21:28] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,114,159,45,192,156,85,17,10,66,219,137,1,240,150,227,29,33,4,113,205,229,42,72,239,51,2,14,7,164,69,176,48],"length":625,"final_offset":755,"validated_count":39,"validation_warnings":[{"io_id":205,"original":7667660726741499928,"validated":0}]} 
[2026-07-01 17:21:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6125215524122001408,"timestamp_seconds":6125215524122001.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 17:21:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:21:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:21:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:21:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:21:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:21:28] 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-01 17:21:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-01 17:21:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-01 17:21:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424052224001,"66":12776,"105":206,"83":41984,"24":0,"16":4066024064286720,"45":1741415342793312256},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-01 17:21:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-01 17:21:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-01 17:21:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424052224001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:21:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-01 17:21:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-01 17:21:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4066024064286720,"km_value":4066024064286.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:21:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741415342793312256,"description":"Unknown IO ID 45"} 
[2026-07-01 17:21:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424052224001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741415342793312256}} 
[2026-07-01 17:21:28] local.INFO: DEBUG: GPS processor result {"connection_id":119150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417958,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:21:28] local.INFO: GPS data processed {"connection_id":119150,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:21:28] local.INFO: Acknowledgment sent {"connection_id":119150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:21:56] local.INFO: TCP Data received {"connection_id":119946,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d833188012cb2498007748cf80011000d26..."} 
[2026-07-01 17:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d833188012cb2498007748cf80011000d26..."} 
[2026-07-01 17:21:56] local.INFO: Processing buffer {"connection_id":119946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d833188012cb2498007748cf80011000d26..."} 
[2026-07-01 17:21:56] local.INFO: Packet analysis {"connection_id":119946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d83"} 
[2026-07-01 17:21:56] local.INFO: Extracted packet for processing {"connection_id":119946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d83"} 
[2026-07-01 17:21:56] local.INFO: GPS Element Parsed {"raw_longitude":749881728,"raw_latitude":125078776,"longitude_deg":74.9881728,"latitude_deg":12.5078776,"altitude":17,"angle":13,"satellites":38,"speed":12,"hex_longitude":"2cb24980","hex_latitude":"07748cf8","is_valid_coordinates":true} 
[2026-07-01 17:21:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424080128001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333765988791091200,"note":"Value kept but may cause issues"} 
[2026-07-01 17:21:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5599874260894308352,"note":"Value kept but may cause issues"} 
[2026-07-01 17:21:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782906565000,"timestamp_ms":1782906565000,"timestamp_seconds":1782906565,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d833188"} 
[2026-07-01 17:21:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:21:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:21:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 17:21:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:21:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:21:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":119946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":119946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":119946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:21: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-01 17:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424080128001,"66":27745,"184":206,"85":36608,"24":12,"16":333765988791091200,"44":-5599874260894308352},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-01 17:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424080128001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:21:56] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-01 17:21:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333765988791091200,"km_value":333765988791091.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:21:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5599874260894308352,"description":"Unknown IO ID 44"} 
[2026-07-01 17:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424080128001,"power":27745,"unknown_184":206,"unknown_85":36608,"ignition":12,"odometer":null,"unknown_44":-5599874260894308352}} 
[2026-07-01 17:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":119946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:21:56] local.INFO: GPS data processed {"connection_id":119946,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:21:56] local.INFO: Acknowledgment sent {"connection_id":119946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:21:59] local.INFO: TCP Data received {"connection_id":119150,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d822400012d182ac007219c480055012312..."} 
[2026-07-01 17:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d822400012d182ac007219c480055012312..."} 
[2026-07-01 17:21:59] local.INFO: Processing buffer {"connection_id":119150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d822400012d182ac007219c480055012312..."} 
[2026-07-01 17:21:59] local.INFO: Packet analysis {"connection_id":119150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d82"} 
[2026-07-01 17:21:59] local.INFO: Extracted packet for processing {"connection_id":119150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d82"} 
[2026-07-01 17:21:59] local.INFO: GPS Element Parsed {"raw_longitude":756558528,"raw_latitude":119643208,"longitude_deg":75.6558528,"latitude_deg":11.9643208,"altitude":85,"angle":291,"satellites":18,"speed":0,"hex_longitude":"2d182ac0","hex_latitude":"07219c48","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424057600001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4066024064286720,"note":"Value kept but may cause issues"} 
[2026-07-01 17:21:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741415342793312256,"note":"Value kept but may cause issues"} 
[2026-07-01 17:21: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-01 17:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782906496000,"timestamp_ms":1782906496000,"timestamp_seconds":1782906496,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d822400"} 
[2026-07-01 17: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-01 17:21:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-07-01 17:21:59] 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-01 17: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-01 17: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-01 17:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:21:59] 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-01 17:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-01 17:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-01 17:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424057600001,"66":12667,"105":206,"83":41984,"24":0,"16":4066024064286720,"45":1741415342793312256},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-01 17:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-01 17:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-01 17:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424057600001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:21:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-01 17:21:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-01 17:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4066024064286720,"km_value":4066024064286.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:21:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741415342793312256,"description":"Unknown IO ID 45"} 
[2026-07-01 17:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424057600001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741415342793312256}} 
[2026-07-01 17:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":119150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:21:59] local.INFO: GPS data processed {"connection_id":119150,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:21:59] local.INFO: Acknowledgment sent {"connection_id":119150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:22:02] local.INFO: TCP Data received {"connection_id":121030,"ip":"117.224.198.240","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121030,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:22:02] local.INFO: Processing buffer {"connection_id":121030,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:22:02] local.INFO: IMEI packet received {"connection_id":121030,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 17:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":121030,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:22:03] local.INFO: TCP Data received {"connection_id":121030,"ip":"117.224.198.240","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121030,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:22:03] local.INFO: Processing buffer {"connection_id":121030,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:22:03] local.INFO: IMEI packet received {"connection_id":121030,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 17:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":121030,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:22:05] local.INFO: TCP Data received {"connection_id":121030,"ip":"117.224.198.240","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121030,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:22:05] local.INFO: Processing buffer {"connection_id":121030,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:22:05] local.INFO: IMEI packet received {"connection_id":121030,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 17:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":121030,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:22:06] local.INFO: TCP Data received {"connection_id":121030,"ip":"117.224.198.240","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121030,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:22:06] local.INFO: Processing buffer {"connection_id":121030,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:22:06] local.INFO: IMEI packet received {"connection_id":121030,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 17:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":121030,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:22:07] local.INFO: TCP Data received {"connection_id":121030,"ip":"117.224.198.240","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d84bff8012d7af68005e38218000400a12e..."} 
[2026-07-01 17:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d84bff8012d7af68005e38218000400a12e..."} 
[2026-07-01 17:22:07] local.INFO: Processing buffer {"connection_id":121030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d84bff8012d7af68005e38218000400a12e..."} 
[2026-07-01 17:22:07] local.INFO: Packet analysis {"connection_id":121030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d84"} 
[2026-07-01 17:22:07] local.INFO: Extracted packet for processing {"connection_id":121030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d84"} 
[2026-07-01 17:22:07] local.INFO: GPS Element Parsed {"raw_longitude":763033216,"raw_latitude":98796056,"longitude_deg":76.3033216,"latitude_deg":9.8796056,"altitude":4,"angle":161,"satellites":46,"speed":15,"hex_longitude":"2d7af680","hex_latitude":"05e38218","is_valid_coordinates":true} 
[2026-07-01 17:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424100352001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101354944648445952,"note":"Value kept but may cause issues"} 
[2026-07-01 17:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857384223680704512,"note":"Value kept but may cause issues"} 
[2026-07-01 17:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782906667000,"timestamp_ms":1782906667000,"timestamp_seconds":1782906667,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d84bff8"} 
[2026-07-01 17:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-01 17:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:22:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":121030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":121030,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":121030,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.198.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 17:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424100352001,"66":13091,"97":206,"85":15104,"24":15,"16":101354944648445952,"45":8857384223680704512},"client_ip":"117.224.198.240","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-01 17:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424100352001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:22:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 17:22:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101354944648445952,"km_value":101354944648445.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857384223680704512,"description":"Unknown IO ID 45"} 
[2026-07-01 17:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424100352001,"power":13091,"unknown_97":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8857384223680704512}} 
[2026-07-01 17:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":121030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417961,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:22:07] local.INFO: GPS data processed {"connection_id":121030,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:22:07] local.INFO: Acknowledgment sent {"connection_id":121030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:22:17] local.INFO: TCP Data received {"connection_id":121031,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121031,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:22:17] local.INFO: Processing buffer {"connection_id":121031,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:22:17] local.INFO: IMEI packet received {"connection_id":121031,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-01 17:22:17] local.INFO: IMEI acknowledgment sent {"connection_id":121031,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:22:20] local.INFO: TCP Data received {"connection_id":121031,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121031,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:22:20] local.INFO: Processing buffer {"connection_id":121031,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:22:20] local.INFO: IMEI packet received {"connection_id":121031,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-01 17:22:20] local.INFO: IMEI acknowledgment sent {"connection_id":121031,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:22:21] local.INFO: TCP Data received {"connection_id":119947,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:22:21] local.INFO: Processing buffer {"connection_id":119947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:22:21] local.INFO: IMEI packet received {"connection_id":119947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 17:22:21] local.INFO: IMEI acknowledgment sent {"connection_id":119947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:22:21] local.INFO: TCP Data received {"connection_id":121031,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d827608012d182ac007219c480055012313..."} 
[2026-07-01 17:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d827608012d182ac007219c480055012313..."} 
[2026-07-01 17:22:21] local.INFO: Processing buffer {"connection_id":121031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d827608012d182ac007219c480055012313..."} 
[2026-07-01 17:22:21] local.INFO: Packet analysis {"connection_id":121031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d82"} 
[2026-07-01 17:22:21] local.INFO: Extracted packet for processing {"connection_id":121031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d82"} 
[2026-07-01 17:22:21] local.INFO: GPS Element Parsed {"raw_longitude":756558528,"raw_latitude":119643208,"longitude_deg":75.6558528,"latitude_deg":11.9643208,"altitude":85,"angle":291,"satellites":19,"speed":0,"hex_longitude":"2d182ac0","hex_latitude":"07219c48","is_valid_coordinates":true} 
[2026-07-01 17:22: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-01 17:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424062976001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4066024064286720,"note":"Value kept but may cause issues"} 
[2026-07-01 17:22:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741415342793312256,"note":"Value kept but may cause issues"} 
[2026-07-01 17:22:21] local.INFO: IO Element Parsed {"io_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-01 17:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782906517000,"timestamp_ms":1782906517000,"timestamp_seconds":1782906517,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d827608"} 
[2026-07-01 17:22:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:22:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6400,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:22: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":123,"data_length":795,"current_offset":136} 
[2026-07-01 17:22:21] 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-01 17:22: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-01 17:22:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":121031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":121031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":121031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:22:21] 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-01 17:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-01 17:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-01 17:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424062976001,"66":12645,"105":206,"83":41984,"24":0,"16":4066024064286720,"45":1741415342793312256},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-01 17:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-01 17:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-01 17:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424062976001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:22:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-01 17:22:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-01 17:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4066024064286720,"km_value":4066024064286.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:22:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741415342793312256,"description":"Unknown IO ID 45"} 
[2026-07-01 17:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424062976001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741415342793312256}} 
[2026-07-01 17:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":121031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417962,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:22:21] local.INFO: GPS data processed {"connection_id":121031,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:22:21] local.INFO: Acknowledgment sent {"connection_id":121031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:22:25] local.INFO: TCP Data received {"connection_id":119947,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:22:25] local.INFO: Processing buffer {"connection_id":119947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:22:25] local.INFO: IMEI packet received {"connection_id":119947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":119947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:22:26] local.INFO: TCP Data received {"connection_id":119947,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d834510012cb24c80077492a0000f001a2f..."} 
[2026-07-01 17:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d834510012cb24c80077492a0000f001a2f..."} 
[2026-07-01 17:22:26] local.INFO: Processing buffer {"connection_id":119947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d834510012cb24c80077492a0000f001a2f..."} 
[2026-07-01 17:22:26] local.INFO: Packet analysis {"connection_id":119947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d83"} 
[2026-07-01 17:22:26] local.INFO: Extracted packet for processing {"connection_id":119947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d83"} 
[2026-07-01 17:22:26] local.INFO: GPS Element Parsed {"raw_longitude":749882496,"raw_latitude":125080224,"longitude_deg":74.9882496,"latitude_deg":12.5080224,"altitude":15,"angle":26,"satellites":47,"speed":8,"hex_longitude":"2cb24c80","hex_latitude":"077492a0","is_valid_coordinates":true} 
[2026-07-01 17:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:22:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424080640001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:22:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333766066100502528,"note":"Value kept but may cause issues"} 
[2026-07-01 17:22:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5599803892149979136,"note":"Value kept but may cause issues"} 
[2026-07-01 17:22:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:22:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782906570000,"timestamp_ms":1782906570000,"timestamp_seconds":1782906570,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d834510"} 
[2026-07-01 17:22:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:22: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-01 17:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 17:22:26] 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-01 17:22:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:22:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:22:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:22:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:22:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:22:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:22:26] 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-01 17:22:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:22:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:22:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424080640001,"66":27691,"184":206,"85":36608,"24":8,"16":333766066100502528,"44":-5599803892149979136},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-01 17:22:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:22:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:22:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424080640001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:22:26] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-01 17:22:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:22:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333766066100502528,"km_value":333766066100502.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:22:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5599803892149979136,"description":"Unknown IO ID 44"} 
[2026-07-01 17:22:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424080640001,"power":27691,"unknown_184":206,"unknown_85":36608,"ignition":8,"odometer":null,"unknown_44":-5599803892149979136}} 
[2026-07-01 17:22:26] local.INFO: DEBUG: GPS processor result {"connection_id":119947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:22:26] local.INFO: GPS data processed {"connection_id":119947,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:22:26] local.INFO: Acknowledgment sent {"connection_id":119947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:22:52] local.INFO: TCP Data received {"connection_id":121031,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d862370012d181e800721a670005500e81b..."} 
[2026-07-01 17:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d862370012d181e800721a670005500e81b..."} 
[2026-07-01 17:22:52] local.INFO: Processing buffer {"connection_id":121031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d862370012d181e800721a670005500e81b..."} 
[2026-07-01 17:22:52] local.INFO: Packet analysis {"connection_id":121031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d86"} 
[2026-07-01 17:22:52] local.INFO: Extracted packet for processing {"connection_id":121031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d86"} 
[2026-07-01 17:22:52] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119645808,"longitude_deg":75.6555392,"latitude_deg":11.9645808,"altitude":85,"angle":232,"satellites":27,"speed":6,"hex_longitude":"2d181e80","hex_latitude":"0721a670","is_valid_coordinates":true} 
[2026-07-01 17:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424128768001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4066243107618816,"note":"Value kept but may cause issues"} 
[2026-07-01 17:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855538507776,"note":"Value kept but may cause issues"} 
[2026-07-01 17:22:52] local.INFO: IO Element Parsed {"io_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-01 17:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782906758000,"timestamp_ms":1782906758000,"timestamp_seconds":1782906758,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d862370"} 
[2026-07-01 17:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:22:52] 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-01 17:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-07-01 17:22:52] 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-01 17:22:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":121031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":121031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":121031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:22:52] 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-01 17:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-01 17:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-01 17:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424128768001,"66":14135,"105":206,"83":41984,"24":6,"16":4066243107618816,"45":1738459855538507776},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-01 17:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-01 17:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-01 17:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424128768001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:22:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-01 17:22:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-01 17:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4066243107618816,"km_value":4066243107618.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855538507776,"description":"Unknown IO ID 45"} 
[2026-07-01 17:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424128768001,"power":14135,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1738459855538507776}} 
[2026-07-01 17:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":121031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417964,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:22:52] local.INFO: GPS data processed {"connection_id":121031,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:22:52] local.INFO: Acknowledgment sent {"connection_id":121031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:22:57] local.INFO: TCP Data received {"connection_id":119151,"ip":"117.224.198.240","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119151,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:22:57] local.INFO: Processing buffer {"connection_id":119151,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:22:57] local.INFO: IMEI packet received {"connection_id":119151,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 17:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":119151,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:22:57] local.INFO: TCP Data received {"connection_id":119947,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d8350c8012cb24e4007749548000f00262f..."} 
[2026-07-01 17:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d8350c8012cb24e4007749548000f00262f..."} 
[2026-07-01 17:22:57] local.INFO: Processing buffer {"connection_id":119947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d8350c8012cb24e4007749548000f00262f..."} 
[2026-07-01 17:22:57] local.INFO: Packet analysis {"connection_id":119947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d83"} 
[2026-07-01 17:22:57] local.INFO: Extracted packet for processing {"connection_id":119947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d83"} 
[2026-07-01 17:22:57] local.INFO: GPS Element Parsed {"raw_longitude":749882944,"raw_latitude":125080904,"longitude_deg":74.9882944,"latitude_deg":12.5080904,"altitude":15,"angle":38,"satellites":47,"speed":9,"hex_longitude":"2cb24e40","hex_latitude":"07749548","is_valid_coordinates":true} 
[2026-07-01 17:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424081920001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:22:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333766104755208192,"note":"Value kept but may cause issues"} 
[2026-07-01 17:22:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5598959467219476480,"note":"Value kept but may cause issues"} 
[2026-07-01 17:22:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:22:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782906573000,"timestamp_ms":1782906573000,"timestamp_seconds":1782906573,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d8350c8"} 
[2026-07-01 17:22:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:22:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-01 17:22:57] 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-01 17:22: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-01 17:22:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:22:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:22:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:22:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:22:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:22:57] 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-01 17:22:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:22:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:22:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424081920001,"66":27821,"184":206,"85":36608,"24":9,"16":333766104755208192,"44":-5598959467219476480},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-01 17:22:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:22:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:22:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424081920001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:22:57] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-01 17:22:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:22:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333766104755208192,"km_value":333766104755208.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:22:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5598959467219476480,"description":"Unknown IO ID 44"} 
[2026-07-01 17:22:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424081920001,"power":27821,"unknown_184":206,"unknown_85":36608,"ignition":9,"odometer":null,"unknown_44":-5598959467219476480}} 
[2026-07-01 17:22:57] local.INFO: DEBUG: GPS processor result {"connection_id":119947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:22:57] local.INFO: GPS data processed {"connection_id":119947,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:22:57] local.INFO: Acknowledgment sent {"connection_id":119947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:23:01] local.INFO: TCP Data received {"connection_id":119151,"ip":"117.224.198.240","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119151,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:23:01] local.INFO: Processing buffer {"connection_id":119151,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:23:01] local.INFO: IMEI packet received {"connection_id":119151,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 17:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":119151,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:23:02] local.INFO: TCP Data received {"connection_id":119151,"ip":"117.224.198.240","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d850e18012d7b00c005e36190000300a02e..."} 
[2026-07-01 17:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d850e18012d7b00c005e36190000300a02e..."} 
[2026-07-01 17:23:02] local.INFO: Processing buffer {"connection_id":119151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d850e18012d7b00c005e36190000300a02e..."} 
[2026-07-01 17:23:02] local.INFO: Packet analysis {"connection_id":119151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d85"} 
[2026-07-01 17:23:02] local.INFO: Extracted packet for processing {"connection_id":119151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d85"} 
[2026-07-01 17:23:02] local.INFO: GPS Element Parsed {"raw_longitude":763035840,"raw_latitude":98787728,"longitude_deg":76.303584,"latitude_deg":9.8787728,"altitude":3,"angle":160,"satellites":46,"speed":27,"hex_longitude":"2d7b00c0","hex_latitude":"05e36190","is_valid_coordinates":true} 
[2026-07-01 17:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424106752001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101355369850208256,"note":"Value kept but may cause issues"} 
[2026-07-01 17:23:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8860410079678175232,"note":"Value kept but may cause issues"} 
[2026-07-01 17:23:02] 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-01 17:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782906687000,"timestamp_ms":1782906687000,"timestamp_seconds":1782906687,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d850e18"} 
[2026-07-01 17:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:23:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-01 17:23: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-01 17:23:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":119151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":119151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":119151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:23:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.198.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 17:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424106752001,"66":13037,"97":206,"85":15104,"24":27,"16":101355369850208256,"45":8860410079678175232},"client_ip":"117.224.198.240","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-07-01 17:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424106752001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:23:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-07-01 17:23:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101355369850208256,"km_value":101355369850208.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:23:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8860410079678175232,"description":"Unknown IO ID 45"} 
[2026-07-01 17:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424106752001,"power":13037,"unknown_97":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8860410079678175232}} 
[2026-07-01 17:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":119151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417966,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:23:02] local.INFO: GPS data processed {"connection_id":119151,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:23:02] local.INFO: Acknowledgment sent {"connection_id":119151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:23:15] local.INFO: TCP Data received {"connection_id":119265,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:23:15] local.INFO: Processing buffer {"connection_id":119265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:23:15] local.INFO: IMEI packet received {"connection_id":119265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-01 17:23:15] local.INFO: IMEI acknowledgment sent {"connection_id":119265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:23:16] local.INFO: TCP Data received {"connection_id":119265,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:23:16] local.INFO: Processing buffer {"connection_id":119265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:23:16] local.INFO: IMEI packet received {"connection_id":119265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-01 17:23:16] local.INFO: IMEI acknowledgment sent {"connection_id":119265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:23:17] local.INFO: TCP Data received {"connection_id":119265,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:23:17] local.INFO: Processing buffer {"connection_id":119265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:23:17] local.INFO: IMEI packet received {"connection_id":119265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-01 17:23:17] local.INFO: IMEI acknowledgment sent {"connection_id":119265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:23:18] local.INFO: TCP Data received {"connection_id":119265,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:23:18] local.INFO: Processing buffer {"connection_id":119265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:23:18] local.INFO: IMEI packet received {"connection_id":119265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-01 17:23:18] local.INFO: IMEI acknowledgment sent {"connection_id":119265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:23:20] local.INFO: TCP Data received {"connection_id":121033,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:23:20] local.INFO: Processing buffer {"connection_id":121033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:23:20] local.INFO: IMEI packet received {"connection_id":121033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 17:23:20] local.INFO: IMEI acknowledgment sent {"connection_id":121033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:23:25] local.INFO: TCP Data received {"connection_id":121033,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:23:25] local.INFO: Processing buffer {"connection_id":121033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:23:25] local.INFO: IMEI packet received {"connection_id":121033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":121033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:23:25] local.INFO: TCP Data received {"connection_id":121033,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d839330012cb262000774b3b00016001f2d..."} 
[2026-07-01 17:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d839330012cb262000774b3b00016001f2d..."} 
[2026-07-01 17:23:25] local.INFO: Processing buffer {"connection_id":121033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d839330012cb262000774b3b00016001f2d..."} 
[2026-07-01 17:23:25] local.INFO: Packet analysis {"connection_id":121033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d83"} 
[2026-07-01 17:23:25] local.INFO: Extracted packet for processing {"connection_id":121033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d83"} 
[2026-07-01 17:23:25] local.INFO: GPS Element Parsed {"raw_longitude":749888000,"raw_latitude":125088688,"longitude_deg":74.9888,"latitude_deg":12.5088688,"altitude":22,"angle":31,"satellites":45,"speed":25,"hex_longitude":"2cb26200","hex_latitude":"0774b3b0","is_valid_coordinates":true} 
[2026-07-01 17:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424082688001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333766555726774272,"note":"Value kept but may cause issues"} 
[2026-07-01 17:23:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5598466886010058752,"note":"Value kept but may cause issues"} 
[2026-07-01 17:23:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782906590000,"timestamp_ms":1782906590000,"timestamp_seconds":1782906590,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d839330"} 
[2026-07-01 17:23:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:23:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 17:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 17:23:25] 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-01 17:23:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:23:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":121033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":121033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":121033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:23:25] 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-01 17:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424082688001,"66":27843,"184":206,"85":36608,"24":25,"16":333766555726774272,"44":-5598466886010058752},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-07-01 17:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424082688001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:23:25] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-07-01 17:23:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333766555726774272,"km_value":333766555726774.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:23:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5598466886010058752,"description":"Unknown IO ID 44"} 
[2026-07-01 17:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424082688001,"power":27843,"unknown_184":206,"unknown_85":36608,"ignition":25,"odometer":null,"unknown_44":-5598466886010058752}} 
[2026-07-01 17:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":121033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:23:25] local.INFO: GPS data processed {"connection_id":121033,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:23:25] local.INFO: Acknowledgment sent {"connection_id":121033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:23:33] local.INFO: TCP Data received {"connection_id":119151,"ip":"117.224.198.240","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d856020012d7b0c4005e340f8000300aa23..."} 
[2026-07-01 17:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d856020012d7b0c4005e340f8000300aa23..."} 
[2026-07-01 17:23:33] local.INFO: Processing buffer {"connection_id":119151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d856020012d7b0c4005e340f8000300aa23..."} 
[2026-07-01 17:23:33] local.INFO: Packet analysis {"connection_id":119151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d85"} 
[2026-07-01 17:23:33] local.INFO: Extracted packet for processing {"connection_id":119151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d85"} 
[2026-07-01 17:23:33] local.INFO: GPS Element Parsed {"raw_longitude":763038784,"raw_latitude":98779384,"longitude_deg":76.3038784,"latitude_deg":9.8779384,"altitude":3,"angle":170,"satellites":35,"speed":9,"hex_longitude":"2d7b0c40","hex_latitude":"05e340f8","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424111872001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101355803641905152,"note":"Value kept but may cause issues"} 
[2026-07-01 17:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863295198187327488,"note":"Value kept but may cause issues"} 
[2026-07-01 17:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782906708000,"timestamp_ms":1782906708000,"timestamp_seconds":1782906708,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d856020"} 
[2026-07-01 17: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-01 17: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-01 17: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-01 17:23:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17: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-01 17: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-01 17:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":119151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":119151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":119151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.198.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 17:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424111872001,"66":12939,"221":206,"19":45824,"24":9,"16":101355803641905152,"45":8863295198187327488},"client_ip":"117.224.198.240","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,19,24,16,45]} 
[2026-07-01 17:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424111872001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:23:33] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-01 17:23:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-07-01 17:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101355803641905152,"km_value":101355803641905.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863295198187327488,"description":"Unknown IO ID 45"} 
[2026-07-01 17:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424111872001,"power":12939,"unknown_221":206,"unknown_19":45824,"ignition":9,"odometer":null,"unknown_45":8863295198187327488}} 
[2026-07-01 17:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":119151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417968,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:23:33] local.INFO: GPS data processed {"connection_id":119151,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:23:33] local.INFO: Acknowledgment sent {"connection_id":119151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:23:56] local.INFO: TCP Data received {"connection_id":121033,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d83c210012cb274800774d2b00018001f2f..."} 
[2026-07-01 17:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d83c210012cb274800774d2b00018001f2f..."} 
[2026-07-01 17:23:56] local.INFO: Processing buffer {"connection_id":121033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d83c210012cb274800774d2b00018001f2f..."} 
[2026-07-01 17:23:56] local.INFO: Packet analysis {"connection_id":121033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d83"} 
[2026-07-01 17:23:56] local.INFO: Extracted packet for processing {"connection_id":121033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d83"} 
[2026-07-01 17:23:56] local.INFO: GPS Element Parsed {"raw_longitude":749892736,"raw_latitude":125096624,"longitude_deg":74.9892736,"latitude_deg":12.5096624,"altitude":24,"angle":31,"satellites":47,"speed":34,"hex_longitude":"2cb27480","hex_latitude":"0774d2b0","is_valid_coordinates":true} 
[2026-07-01 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-01 17:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424087040001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:23:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333766998108405760,"note":"Value kept but may cause issues"} 
[2026-07-01 17:23:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5592907755218030592,"note":"Value kept but may cause issues"} 
[2026-07-01 17:23:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:23:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782906602000,"timestamp_ms":1782906602000,"timestamp_seconds":1782906602,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d83c210"} 
[2026-07-01 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-01 17:23:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 17:23: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-01 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-01 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-01 17:23:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:23:56] local.INFO: Teltonika packet parsed successfully {"connection_id":121033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:23:56] local.INFO: Passing IMEI to GPS processor {"connection_id":121033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:23:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":121033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:23: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-01 17:23:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:23:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:23:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424087040001,"66":27876,"215":206,"85":36608,"24":34,"16":333766998108405760,"44":-5592907755218030592},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-07-01 17:23:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:23:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:23:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424087040001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:23:56] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-01 17:23:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:23:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333766998108405760,"km_value":333766998108405.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:23:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5592907755218030592,"description":"Unknown IO ID 44"} 
[2026-07-01 17:23:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424087040001,"power":27876,"unknown_215":206,"unknown_85":36608,"ignition":34,"odometer":null,"unknown_44":-5592907755218030592}} 
[2026-07-01 17:23:57] local.INFO: DEBUG: GPS processor result {"connection_id":121033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:23:57] local.INFO: GPS data processed {"connection_id":121033,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:23:57] local.INFO: Acknowledgment sent {"connection_id":121033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:24:25] local.INFO: TCP Data received {"connection_id":119266,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:24:25] local.INFO: Processing buffer {"connection_id":119266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:24:25] local.INFO: IMEI packet received {"connection_id":119266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 17:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":119266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:24:27] local.INFO: TCP Data received {"connection_id":121034,"ip":"117.224.198.240","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121034,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:24:27] local.INFO: Processing buffer {"connection_id":121034,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:24:27] local.INFO: IMEI packet received {"connection_id":121034,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 17:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":121034,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:24:30] local.INFO: TCP Data received {"connection_id":119266,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:24:30] local.INFO: Processing buffer {"connection_id":119266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:24:30] local.INFO: IMEI packet received {"connection_id":119266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":119266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:24:31] local.INFO: TCP Data received {"connection_id":119266,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d83e920012cb288800774f200001b00202b..."} 
[2026-07-01 17:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d83e920012cb288800774f200001b00202b..."} 
[2026-07-01 17:24:31] local.INFO: Processing buffer {"connection_id":119266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d83e920012cb288800774f200001b00202b..."} 
[2026-07-01 17:24:31] local.INFO: Packet analysis {"connection_id":119266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d83"} 
[2026-07-01 17:24:31] local.INFO: Extracted packet for processing {"connection_id":119266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d83"} 
[2026-07-01 17:24:31] local.INFO: GPS Element Parsed {"raw_longitude":749897856,"raw_latitude":125104640,"longitude_deg":74.9897856,"latitude_deg":12.510464,"altitude":27,"angle":32,"satellites":43,"speed":34,"hex_longitude":"2cb28880","hex_latitude":"0774f200","is_valid_coordinates":true} 
[2026-07-01 17:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424090112001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333767457669906432,"note":"Value kept but may cause issues"} 
[2026-07-01 17:24:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5587700468146851840,"note":"Value kept but may cause issues"} 
[2026-07-01 17:24:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782906612000,"timestamp_ms":1782906612000,"timestamp_seconds":1782906612,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d83e920"} 
[2026-07-01 17:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:24:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-01 17:24:31] 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-01 17:24:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:24:31] 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-01 17:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424090112001,"66":27919,"215":206,"85":36608,"24":34,"16":333767457669906432,"44":-5587700468146851840},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-07-01 17:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424090112001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:24:31] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-01 17:24:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333767457669906432,"km_value":333767457669906.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:24:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5587700468146851840,"description":"Unknown IO ID 44"} 
[2026-07-01 17:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424090112001,"power":27919,"unknown_215":206,"unknown_85":36608,"ignition":34,"odometer":null,"unknown_44":-5587700468146851840}} 
[2026-07-01 17:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":119266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:24:31] local.INFO: GPS data processed {"connection_id":119266,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:24:31] local.INFO: Acknowledgment sent {"connection_id":119266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:24:31] local.INFO: TCP Data received {"connection_id":121034,"ip":"117.224.198.240","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121034,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:24:31] local.INFO: Processing buffer {"connection_id":121034,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:24:31] local.INFO: IMEI packet received {"connection_id":121034,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 17:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":121034,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:24:32] local.INFO: TCP Data received {"connection_id":121034,"ip":"117.224.198.240","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d873cb0012d7b2ec005e25030000000b624..."} 
[2026-07-01 17:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d873cb0012d7b2ec005e25030000000b624..."} 
[2026-07-01 17:24:32] local.INFO: Processing buffer {"connection_id":121034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d873cb0012d7b2ec005e25030000000b624..."} 
[2026-07-01 17:24:32] local.INFO: Packet analysis {"connection_id":121034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d87"} 
[2026-07-01 17:24:32] local.INFO: Extracted packet for processing {"connection_id":121034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d87"} 
[2026-07-01 17:24:32] local.INFO: GPS Element Parsed {"raw_longitude":763047616,"raw_latitude":98717744,"longitude_deg":76.3047616,"latitude_deg":9.8717744,"altitude":0,"angle":182,"satellites":36,"speed":16,"hex_longitude":"2d7b2ec0","hex_latitude":"05e25030","is_valid_coordinates":true} 
[2026-07-01 17:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424143360001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101358844478750720,"note":"Value kept but may cause issues"} 
[2026-07-01 17:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8875328253425297408,"note":"Value kept but may cause issues"} 
[2026-07-01 17:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782906830000,"timestamp_ms":1782906830000,"timestamp_seconds":1782906830,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d873cb0"} 
[2026-07-01 17:24:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:24:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-01 17:24:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:24:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:24:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":121034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":121034,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":121034,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.198.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 17:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424143360001,"66":12515,"220":206,"19":45824,"24":16,"16":101358844478750720,"45":8875328253425297408},"client_ip":"117.224.198.240","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,19,24,16,45]} 
[2026-07-01 17:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424143360001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:24:32] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-07-01 17:24:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-07-01 17:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101358844478750720,"km_value":101358844478750.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8875328253425297408,"description":"Unknown IO ID 45"} 
[2026-07-01 17:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424143360001,"power":12515,"unknown_220":206,"unknown_19":45824,"ignition":16,"odometer":null,"unknown_45":8875328253425297408}} 
[2026-07-01 17:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":121034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417971,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:24:32] local.INFO: GPS data processed {"connection_id":121034,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:24:32] local.INFO: Acknowledgment sent {"connection_id":121034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:24:56] local.INFO: TCP Data received {"connection_id":119949,"ip":"117.224.198.240","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119949,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:24:56] local.INFO: Processing buffer {"connection_id":119949,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:24:56] local.INFO: IMEI packet received {"connection_id":119949,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 17:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":119949,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:25:00] local.INFO: TCP Data received {"connection_id":119949,"ip":"117.224.198.240","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119949,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:25:00] local.INFO: Processing buffer {"connection_id":119949,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:25:00] local.INFO: IMEI packet received {"connection_id":119949,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 17:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":119949,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:25:02] local.INFO: TCP Data received {"connection_id":119266,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d841be8012cb29e8007750e10001c00272d..."} 
[2026-07-01 17:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d841be8012cb29e8007750e10001c00272d..."} 
[2026-07-01 17:25:02] local.INFO: Processing buffer {"connection_id":119266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d841be8012cb29e8007750e10001c00272d..."} 
[2026-07-01 17:25:02] local.INFO: Packet analysis {"connection_id":119266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d84"} 
[2026-07-01 17:25:02] local.INFO: Extracted packet for processing {"connection_id":119266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d84"} 
[2026-07-01 17:25:02] local.INFO: GPS Element Parsed {"raw_longitude":749903488,"raw_latitude":125111824,"longitude_deg":74.9903488,"latitude_deg":12.5111824,"altitude":28,"angle":39,"satellites":45,"speed":16,"hex_longitude":"2cb29e80","hex_latitude":"07750e10","is_valid_coordinates":true} 
[2026-07-01 17:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424092672001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333767895756570624,"note":"Value kept but may cause issues"} 
[2026-07-01 17:25:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5582070968610586624,"note":"Value kept but may cause issues"} 
[2026-07-01 17:25:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782906625000,"timestamp_ms":1782906625000,"timestamp_seconds":1782906625,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d841be8"} 
[2026-07-01 17:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:25:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 17:25:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:25:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":119266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":119266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":119266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:25: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-01 17:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424092672001,"66":27832,"215":206,"85":36608,"24":16,"16":333767895756570624,"44":-5582070968610586624},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-07-01 17:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424092672001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:25:02] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-01 17:25:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333767895756570624,"km_value":333767895756570.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:25:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5582070968610586624,"description":"Unknown IO ID 44"} 
[2026-07-01 17:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424092672001,"power":27832,"unknown_215":206,"unknown_85":36608,"ignition":16,"odometer":null,"unknown_44":-5582070968610586624}} 
[2026-07-01 17:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":119266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:25:02] local.INFO: GPS data processed {"connection_id":119266,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:25:02] local.INFO: Acknowledgment sent {"connection_id":119266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:25:02] local.INFO: TCP Data received {"connection_id":119949,"ip":"117.224.198.240","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d877748012d7b32c005e22af8000000af25..."} 
[2026-07-01 17:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d877748012d7b32c005e22af8000000af25..."} 
[2026-07-01 17:25:02] local.INFO: Processing buffer {"connection_id":119949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d877748012d7b32c005e22af8000000af25..."} 
[2026-07-01 17:25:02] local.INFO: Packet analysis {"connection_id":119949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d87"} 
[2026-07-01 17:25:02] local.INFO: Extracted packet for processing {"connection_id":119949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d87"} 
[2026-07-01 17:25:02] local.INFO: GPS Element Parsed {"raw_longitude":763048640,"raw_latitude":98708216,"longitude_deg":76.304864,"latitude_deg":9.8708216,"altitude":0,"angle":175,"satellites":37,"speed":30,"hex_longitude":"2d7b32c0","hex_latitude":"05e22af8","is_valid_coordinates":true} 
[2026-07-01 17:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424148480001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101359308335218688,"note":"Value kept but may cause issues"} 
[2026-07-01 17:25:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8876243047098101760,"note":"Value kept but may cause issues"} 
[2026-07-01 17:25:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782906845000,"timestamp_ms":1782906845000,"timestamp_seconds":1782906845,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d877748"} 
[2026-07-01 17:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:25: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-01 17:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-07-01 17:25:02] 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-01 17:25:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":119949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":119949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":119949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:25:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.198.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 17:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424148480001,"66":12515,"220":206,"19":45824,"24":30,"16":101359308335218688,"45":8876243047098101760},"client_ip":"117.224.198.240","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,19,24,16,45]} 
[2026-07-01 17:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424148480001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:25:02] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-07-01 17:25:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-07-01 17:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101359308335218688,"km_value":101359308335218.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:25:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8876243047098101760,"description":"Unknown IO ID 45"} 
[2026-07-01 17:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424148480001,"power":12515,"unknown_220":206,"unknown_19":45824,"ignition":30,"odometer":null,"unknown_45":8876243047098101760}} 
[2026-07-01 17:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":119949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417973,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:25:02] local.INFO: GPS data processed {"connection_id":119949,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:25:02] local.INFO: Acknowledgment sent {"connection_id":119949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:25:20] local.INFO: TCP Data received {"connection_id":119154,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:25:20] local.INFO: Processing buffer {"connection_id":119154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:25:20] local.INFO: IMEI packet received {"connection_id":119154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 17:25:20] local.INFO: IMEI acknowledgment sent {"connection_id":119154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:25:25] local.INFO: TCP Data received {"connection_id":119154,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:25:25] local.INFO: Processing buffer {"connection_id":119154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:25:25] local.INFO: IMEI packet received {"connection_id":119154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":119154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:25:26] local.INFO: TCP Data received {"connection_id":119154,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d846df0012cb2a4c007751658001800232e..."} 
[2026-07-01 17:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d846df0012cb2a4c007751658001800232e..."} 
[2026-07-01 17:25:26] local.INFO: Processing buffer {"connection_id":119154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d846df0012cb2a4c007751658001800232e..."} 
[2026-07-01 17:25:26] local.INFO: Packet analysis {"connection_id":119154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d84"} 
[2026-07-01 17:25:26] local.INFO: Extracted packet for processing {"connection_id":119154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d84"} 
[2026-07-01 17:25:26] local.INFO: GPS Element Parsed {"raw_longitude":749905088,"raw_latitude":125113944,"longitude_deg":74.9905088,"latitude_deg":12.5113944,"altitude":24,"angle":35,"satellites":46,"speed":0,"hex_longitude":"2cb2a4c0","hex_latitude":"07751658","is_valid_coordinates":true} 
[2026-07-01 17:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424096000001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:25:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333768033195524096,"note":"Value kept but may cause issues"} 
[2026-07-01 17:25:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575878519121113088,"note":"Value kept but may cause issues"} 
[2026-07-01 17:25:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:25:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782906646000,"timestamp_ms":1782906646000,"timestamp_seconds":1782906646,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d846df0"} 
[2026-07-01 17:25:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:25: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-01 17:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-01 17:25:26] 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-01 17:25:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:25:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:25:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:25:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:25:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:25:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:25:26] 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-01 17:25:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:25:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:25:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424096000001,"66":27876,"215":206,"85":36608,"24":0,"16":333768033195524096,"44":-5575878519121113088},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-07-01 17:25:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:25:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:25:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424096000001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:25:26] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-01 17:25:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:25:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333768033195524096,"km_value":333768033195524.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:25:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575878519121113088,"description":"Unknown IO ID 44"} 
[2026-07-01 17:25:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424096000001,"power":27876,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5575878519121113088}} 
[2026-07-01 17:25:26] local.INFO: DEBUG: GPS processor result {"connection_id":119154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:25:26] local.INFO: GPS data processed {"connection_id":119154,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:25:26] local.INFO: Acknowledgment sent {"connection_id":119154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:25:35] local.INFO: TCP Data received {"connection_id":119949,"ip":"117.224.198.240","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d87adf8012d7b368005e207f8000000ac24..."} 
[2026-07-01 17:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d87adf8012d7b368005e207f8000000ac24..."} 
[2026-07-01 17:25:35] local.INFO: Processing buffer {"connection_id":119949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d87adf8012d7b368005e207f8000000ac24..."} 
[2026-07-01 17:25:35] local.INFO: Packet analysis {"connection_id":119949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d87"} 
[2026-07-01 17:25:35] local.INFO: Extracted packet for processing {"connection_id":119949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d87"} 
[2026-07-01 17:25:35] local.INFO: GPS Element Parsed {"raw_longitude":763049600,"raw_latitude":98699256,"longitude_deg":76.30496,"latitude_deg":9.8699256,"altitude":0,"angle":172,"satellites":36,"speed":27,"hex_longitude":"2d7b3680","hex_latitude":"05e207f8","is_valid_coordinates":true} 
[2026-07-01 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-01 17:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424152320001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101359746421882880,"note":"Value kept but may cause issues"} 
[2026-07-01 17:25:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877368947002505216,"note":"Value kept but may cause issues"} 
[2026-07-01 17:25:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782906859000,"timestamp_ms":1782906859000,"timestamp_seconds":1782906859,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d87adf8"} 
[2026-07-01 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-01 17:25:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-07-01 17:25:35] 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-01 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-01 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-01 17:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":119949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":119949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":119949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:25:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.198.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 17:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424152320001,"66":12374,"220":206,"19":45824,"24":27,"16":101359746421882880,"45":8877368947002505216},"client_ip":"117.224.198.240","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,19,24,16,45]} 
[2026-07-01 17:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424152320001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:25:35] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-07-01 17:25:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-07-01 17:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101359746421882880,"km_value":101359746421882.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:25:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877368947002505216,"description":"Unknown IO ID 45"} 
[2026-07-01 17:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424152320001,"power":12374,"unknown_220":206,"unknown_19":45824,"ignition":27,"odometer":null,"unknown_45":8877368947002505216}} 
[2026-07-01 17:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":119949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417975,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:25:35] local.INFO: GPS data processed {"connection_id":119949,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:25:35] local.INFO: Acknowledgment sent {"connection_id":119949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:25:45] local.INFO: TCP Data received {"connection_id":119153,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119153,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:25:45] local.INFO: Processing buffer {"connection_id":119153,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:25:45] local.INFO: IMEI packet received {"connection_id":119153,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 17:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":119153,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:25:52] local.INFO: TCP Data received {"connection_id":119155,"ip":"117.224.198.240","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119155,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:25:52] local.INFO: Processing buffer {"connection_id":119155,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:25:52] local.INFO: IMEI packet received {"connection_id":119155,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 17:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":119155,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:25:55] local.INFO: TCP Data received {"connection_id":119155,"ip":"117.224.198.240","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119155,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:25:55] local.INFO: Processing buffer {"connection_id":119155,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:25:55] local.INFO: IMEI packet received {"connection_id":119155,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 17:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":119155,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:25:57] local.INFO: TCP Data received {"connection_id":119155,"ip":"117.224.198.240","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119155,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:25:57] local.INFO: Processing buffer {"connection_id":119155,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:25:57] local.INFO: IMEI packet received {"connection_id":119155,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 17:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":119155,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:25:57] local.INFO: TCP Data received {"connection_id":119154,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d84bff8012cb2a540077516c0001700232c..."} 
[2026-07-01 17:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d84bff8012cb2a540077516c0001700232c..."} 
[2026-07-01 17:25:57] local.INFO: Processing buffer {"connection_id":119154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d84bff8012cb2a540077516c0001700232c..."} 
[2026-07-01 17:25:57] local.INFO: Packet analysis {"connection_id":119154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d84"} 
[2026-07-01 17:25:57] local.INFO: Extracted packet for processing {"connection_id":119154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d84"} 
[2026-07-01 17:25:57] local.INFO: GPS Element Parsed {"raw_longitude":749905216,"raw_latitude":125114048,"longitude_deg":74.9905216,"latitude_deg":12.5114048,"altitude":23,"angle":35,"satellites":44,"speed":0,"hex_longitude":"2cb2a540","hex_latitude":"077516c0","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:25:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424101376001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:25:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333768041785458688,"note":"Value kept but may cause issues"} 
[2026-07-01 17:25:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574119300516128768,"note":"Value kept but may cause issues"} 
[2026-07-01 17:25:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:25:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782906667000,"timestamp_ms":1782906667000,"timestamp_seconds":1782906667,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d84bff8"} 
[2026-07-01 17: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-01 17:25:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:25:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-01 17:25:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17: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-01 17: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-01 17:25:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:25:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:25:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:25:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:25:57] 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-01 17:25:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:25:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:25:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424101376001,"66":27908,"215":206,"85":36608,"24":0,"16":333768041785458688,"44":-5574119300516128768},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-07-01 17:25:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:25:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:25:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424101376001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:25:57] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-01 17:25:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:25:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333768041785458688,"km_value":333768041785458.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:25:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574119300516128768,"description":"Unknown IO ID 44"} 
[2026-07-01 17:25:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424101376001,"power":27908,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574119300516128768}} 
[2026-07-01 17:25:57] local.INFO: DEBUG: GPS processor result {"connection_id":119154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:25:57] local.INFO: GPS data processed {"connection_id":119154,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:25:57] local.INFO: Acknowledgment sent {"connection_id":119154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:26:02] local.INFO: TCP Data received {"connection_id":119155,"ip":"117.224.198.240","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d87dcd8012d7b3bc005e1e528000000ab1f..."} 
[2026-07-01 17:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d87dcd8012d7b3bc005e1e528000000ab1f..."} 
[2026-07-01 17:26:02] local.INFO: Processing buffer {"connection_id":119155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d87dcd8012d7b3bc005e1e528000000ab1f..."} 
[2026-07-01 17:26:02] local.INFO: Packet analysis {"connection_id":119155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d87"} 
[2026-07-01 17:26:02] local.INFO: Extracted packet for processing {"connection_id":119155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d87"} 
[2026-07-01 17:26:02] local.INFO: GPS Element Parsed {"raw_longitude":763050944,"raw_latitude":98690344,"longitude_deg":76.3050944,"latitude_deg":9.8690344,"altitude":0,"angle":171,"satellites":31,"speed":33,"hex_longitude":"2d7b3bc0","hex_latitude":"05e1e528","is_valid_coordinates":true} 
[2026-07-01 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-01 17:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424155904001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101360184508547072,"note":"Value kept but may cause issues"} 
[2026-07-01 17:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878424478162876416,"note":"Value kept but may cause issues"} 
[2026-07-01 17:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782906871000,"timestamp_ms":1782906871000,"timestamp_seconds":1782906871,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d87dcd8"} 
[2026-07-01 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-01 17:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-01 17:26:02] 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-01 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-01 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-01 17:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":119155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":119155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":119155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.198.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 17:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424155904001,"66":12037,"47":206,"19":45824,"24":33,"16":101360184508547072,"45":8878424478162876416},"client_ip":"117.224.198.240","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,19,24,16,45]} 
[2026-07-01 17:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424155904001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:26:02] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-01 17:26:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-07-01 17:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101360184508547072,"km_value":101360184508547.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878424478162876416,"description":"Unknown IO ID 45"} 
[2026-07-01 17:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424155904001,"power":12037,"unknown_47":206,"unknown_19":45824,"ignition":33,"odometer":null,"unknown_45":8878424478162876416}} 
[2026-07-01 17:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":119155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417977,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:26:02] local.INFO: GPS data processed {"connection_id":119155,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:26:02] local.INFO: Acknowledgment sent {"connection_id":119155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:26:04] local.INFO: TCP Data received {"connection_id":119155,"ip":"117.224.198.240","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d881770012d7b3f0005e1c258000000ae1d..."} 
[2026-07-01 17:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d881770012d7b3f0005e1c258000000ae1d..."} 
[2026-07-01 17:26:04] local.INFO: Processing buffer {"connection_id":119155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d881770012d7b3f0005e1c258000000ae1d..."} 
[2026-07-01 17:26:04] local.INFO: Packet analysis {"connection_id":119155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d88"} 
[2026-07-01 17:26:04] local.INFO: Extracted packet for processing {"connection_id":119155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d88"} 
[2026-07-01 17:26:04] local.INFO: GPS Element Parsed {"raw_longitude":763051776,"raw_latitude":98681432,"longitude_deg":76.3051776,"latitude_deg":9.8681432,"altitude":0,"angle":174,"satellites":29,"speed":21,"hex_longitude":"2d7b3f00","hex_latitude":"05e1c258","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424158976001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101360618300243968,"note":"Value kept but may cause issues"} 
[2026-07-01 17:26:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8879902221788325888,"note":"Value kept but may cause issues"} 
[2026-07-01 17:26:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782906886000,"timestamp_ms":1782906886000,"timestamp_seconds":1782906886,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d881770"} 
[2026-07-01 17: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-01 17:26: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-01 17: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":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-01 17:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2594073385533178880,"note":"Value kept but may cause issues"} 
[2026-07-01 17:26:04] local.WARNING: Large IO value detected {"io_id":19,"raw_value":3003127808,"note":"Value kept but may cause issues"} 
[2026-07-01 17:26:04] local.WARNING: Large IO value detected {"io_id":29,"raw_value":2263781377,"note":"Value kept but may cause issues"} 
[2026-07-01 17:26:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-6711488459595120616,"corrected_to":0} 
[2026-07-01 17:26:04] local.WARNING: Large IO value detected {"io_id":38,"raw_value":3221611145,"note":"Value kept but may cause issues"} 
[2026-07-01 17:26:04] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182148105240832,"note":"Value kept but may cause issues"} 
[2026-07-01 17:26:04] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2332085666,"note":"Value kept but may cause issues"} 
[2026-07-01 17:26:04] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2112812747841294822,"note":"Value kept but may cause issues"} 
[2026-07-01 17:26:04] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195050496,"note":"Value kept but may cause issues"} 
[2026-07-01 17:26:04] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,47,19,24,241,158,16,26,159,173,45,128,7,36,10,66,220,119,192,42,37,25,60,1,240,227,29,226,4,113,205,11,168,38,48,32,239,50,2,104,5,69],"length":484,"final_offset":614,"validated_count":42,"validation_warnings":[{"io_id":205,"original":-6711488459595120616,"validated":0}]} 
[2026-07-01 17:26:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":188149634498560,"timestamp_seconds":188149634498.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 17: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-01 17:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":119155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":119155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":119155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:26:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.198.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 17:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424158976001,"66":12069,"47":206,"19":45824,"24":21,"16":101360618300243968,"45":8879902221788325888},"client_ip":"117.224.198.240","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,19,24,16,45]} 
[2026-07-01 17:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424158976001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:26:04] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-01 17:26:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-07-01 17:26:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101360618300243968,"km_value":101360618300243.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:26:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8879902221788325888,"description":"Unknown IO ID 45"} 
[2026-07-01 17:26:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424158976001,"power":12069,"unknown_47":206,"unknown_19":45824,"ignition":21,"odometer":null,"unknown_45":8879902221788325888}} 
[2026-07-01 17:26:04] local.INFO: DEBUG: GPS processor result {"connection_id":119155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417978,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:26:04] local.INFO: GPS data processed {"connection_id":119155,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:26:04] local.INFO: Acknowledgment sent {"connection_id":119155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:26:15] local.INFO: TCP Data received {"connection_id":121035,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121035,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:26:15] local.INFO: Processing buffer {"connection_id":121035,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:26:15] local.INFO: IMEI packet received {"connection_id":121035,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 17:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":121035,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:26:20] local.INFO: TCP Data received {"connection_id":121036,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:26:20] local.INFO: Processing buffer {"connection_id":121036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:26:20] local.INFO: IMEI packet received {"connection_id":121036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 17:26:20] local.INFO: IMEI acknowledgment sent {"connection_id":121036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:26:20] local.INFO: TCP Data received {"connection_id":121035,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121035,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:26:20] local.INFO: Processing buffer {"connection_id":121035,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:26:20] local.INFO: IMEI packet received {"connection_id":121035,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-01 17:26:20] local.INFO: IMEI acknowledgment sent {"connection_id":121035,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:26:21] local.INFO: TCP Data received {"connection_id":121035,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d87a628012cc59e80074f7f80000e00a134..."} 
[2026-07-01 17:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d87a628012cc59e80074f7f80000e00a134..."} 
[2026-07-01 17:26:21] local.INFO: Processing buffer {"connection_id":121035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d87a628012cc59e80074f7f80000e00a134..."} 
[2026-07-01 17:26:21] local.INFO: Packet analysis {"connection_id":121035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d87"} 
[2026-07-01 17:26:21] local.INFO: Extracted packet for processing {"connection_id":121035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d87"} 
[2026-07-01 17:26:21] local.INFO: GPS Element Parsed {"raw_longitude":751148672,"raw_latitude":122650496,"longitude_deg":75.1148672,"latitude_deg":12.2650496,"altitude":14,"angle":161,"satellites":52,"speed":0,"hex_longitude":"2cc59e80","hex_latitude":"074f7f80","is_valid_coordinates":true} 
[2026-07-01 17:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424150016001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130047890281201664,"note":"Value kept but may cause issues"} 
[2026-07-01 17:26:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4212061888841365504,"note":"Value kept but may cause issues"} 
[2026-07-01 17:26:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782906857000,"timestamp_ms":1782906857000,"timestamp_seconds":1782906857,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d87a628"} 
[2026-07-01 17:26:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:26:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-07-01 17:26:21] 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-01 17:26:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:26:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":121035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":121035,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-01 17:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":121035,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-01 17:26:21] 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-01 17:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-01 17:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-01 17:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424150016001,"66":28452,"121":206,"85":37632,"24":0,"16":130047890281201664,"44":-4212061888841365504},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,44]} 
[2026-07-01 17:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-01 17:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-01 17:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424150016001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:26:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-01 17:26:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 17:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130047890281201664,"km_value":130047890281201.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:26:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4212061888841365504,"description":"Unknown IO ID 44"} 
[2026-07-01 17:26:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424150016001,"power":28452,"unknown_121":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-4212061888841365504}} 
[2026-07-01 17:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":121035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417979,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:26:21] local.INFO: GPS data processed {"connection_id":121035,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:26:21] local.INFO: Acknowledgment sent {"connection_id":121035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:26:25] local.INFO: TCP Data received {"connection_id":121036,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:26:25] local.INFO: Processing buffer {"connection_id":121036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:26:25] local.INFO: IMEI packet received {"connection_id":121036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":121036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:26:26] local.INFO: TCP Data received {"connection_id":121036,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d851200012cb2a540077516c00017002329..."} 
[2026-07-01 17:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d851200012cb2a540077516c00017002329..."} 
[2026-07-01 17:26:26] local.INFO: Processing buffer {"connection_id":121036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d851200012cb2a540077516c00017002329..."} 
[2026-07-01 17:26:26] local.INFO: Packet analysis {"connection_id":121036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d85"} 
[2026-07-01 17:26:26] local.INFO: Extracted packet for processing {"connection_id":121036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d85"} 
[2026-07-01 17:26:26] local.INFO: GPS Element Parsed {"raw_longitude":749905216,"raw_latitude":125114048,"longitude_deg":74.9905216,"latitude_deg":12.5114048,"altitude":23,"angle":35,"satellites":41,"speed":0,"hex_longitude":"2cb2a540","hex_latitude":"077516c0","is_valid_coordinates":true} 
[2026-07-01 17:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:26:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424106752001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:26:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333768041785458688,"note":"Value kept but may cause issues"} 
[2026-07-01 17:26:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573978563027746816,"note":"Value kept but may cause issues"} 
[2026-07-01 17:26:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:26:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782906688000,"timestamp_ms":1782906688000,"timestamp_seconds":1782906688,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d851200"} 
[2026-07-01 17:26:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:26: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-01 17:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 17:26:26] 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-01 17:26:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:26:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:26:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:26:26] local.INFO: Teltonika packet parsed successfully {"connection_id":121036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:26:26] local.INFO: Passing IMEI to GPS processor {"connection_id":121036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:26:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":121036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:26:26] 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-01 17:26:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:26:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:26:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424106752001,"66":27104,"215":206,"85":36608,"24":0,"16":333768041785458688,"44":-5573978563027746816},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,44]} 
[2026-07-01 17:26:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:26:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:26:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424106752001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:26:26] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-01 17:26:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:26:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333768041785458688,"km_value":333768041785458.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:26:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573978563027746816,"description":"Unknown IO ID 44"} 
[2026-07-01 17:26:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424106752001,"power":27104,"unknown_215":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573978563027746816}} 
[2026-07-01 17:26:26] local.INFO: DEBUG: GPS processor result {"connection_id":121036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:26:26] local.INFO: GPS data processed {"connection_id":121036,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:26:26] local.INFO: Acknowledgment sent {"connection_id":121036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:26:36] local.INFO: TCP Data received {"connection_id":119155,"ip":"117.224.198.240","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d899a28012d7bcfc005e1dbe80002003b2b..."} 
[2026-07-01 17:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d899a28012d7bcfc005e1dbe80002003b2b..."} 
[2026-07-01 17:26:36] local.INFO: Processing buffer {"connection_id":119155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d899a28012d7bcfc005e1dbe80002003b2b..."} 
[2026-07-01 17:26:36] local.INFO: Packet analysis {"connection_id":119155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d89"} 
[2026-07-01 17:26:36] local.INFO: Extracted packet for processing {"connection_id":119155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d89"} 
[2026-07-01 17:26:36] local.INFO: GPS Element Parsed {"raw_longitude":763088832,"raw_latitude":98687976,"longitude_deg":76.3088832,"latitude_deg":9.8687976,"altitude":2,"angle":59,"satellites":43,"speed":16,"hex_longitude":"2d7bcfc0","hex_latitude":"05e1dbe8","is_valid_coordinates":true} 
[2026-07-01 17:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424183552001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101362735719120896,"note":"Value kept but may cause issues"} 
[2026-07-01 17:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8914031062712391680,"note":"Value kept but may cause issues"} 
[2026-07-01 17:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782906985000,"timestamp_ms":1782906985000,"timestamp_seconds":1782906985,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d899a28"} 
[2026-07-01 17:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-01 17:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":119155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":119155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":119155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.198.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 17:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424183552001,"66":12667,"44":206,"19":45824,"24":16,"16":101362735719120896,"45":8914031062712391680},"client_ip":"117.224.198.240","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,19,24,16,45]} 
[2026-07-01 17:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424183552001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:26:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-07-01 17:26:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-07-01 17:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101362735719120896,"km_value":101362735719120.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8914031062712391680,"description":"Unknown IO ID 45"} 
[2026-07-01 17:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424183552001,"power":12667,"unknown_44":206,"unknown_19":45824,"ignition":16,"odometer":null,"unknown_45":8914031062712391680}} 
[2026-07-01 17:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":119155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417981,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:26:36] local.INFO: GPS data processed {"connection_id":119155,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:26:36] local.INFO: Acknowledgment sent {"connection_id":119155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:26:51] local.INFO: TCP Data received {"connection_id":119950,"ip":"117.224.198.240","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119950,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:26:51] local.INFO: Processing buffer {"connection_id":119950,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:26:51] local.INFO: IMEI packet received {"connection_id":119950,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 17:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":119950,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:26:56] local.INFO: TCP Data received {"connection_id":119950,"ip":"117.224.198.240","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119950,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:26:56] local.INFO: Processing buffer {"connection_id":119950,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:26:56] local.INFO: IMEI packet received {"connection_id":119950,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 17:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":119950,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:26:57] local.INFO: TCP Data received {"connection_id":121036,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d855c38012cb2a540077516c00017002325..."} 
[2026-07-01 17:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d855c38012cb2a540077516c00017002325..."} 
[2026-07-01 17:26:57] local.INFO: Processing buffer {"connection_id":121036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d855c38012cb2a540077516c00017002325..."} 
[2026-07-01 17:26:57] local.INFO: Packet analysis {"connection_id":121036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d85"} 
[2026-07-01 17:26:57] local.INFO: Extracted packet for processing {"connection_id":121036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d85"} 
[2026-07-01 17:26:57] local.INFO: GPS Element Parsed {"raw_longitude":749905216,"raw_latitude":125114048,"longitude_deg":74.9905216,"latitude_deg":12.5114048,"altitude":23,"angle":35,"satellites":37,"speed":0,"hex_longitude":"2cb2a540","hex_latitude":"077516c0","is_valid_coordinates":true} 
[2026-07-01 17:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-01 17:26:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424112128001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:26:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333768041785458688,"note":"Value kept but may cause issues"} 
[2026-07-01 17:26:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573978563027746816,"note":"Value kept but may cause issues"} 
[2026-07-01 17:26:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:26:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782906707000,"timestamp_ms":1782906707000,"timestamp_seconds":1782906707,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d855c38"} 
[2026-07-01 17:26:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:26:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-01 17:26:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:26:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:26:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:26:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:26:57] local.INFO: Teltonika packet parsed successfully {"connection_id":121036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:26:57] local.INFO: Passing IMEI to GPS processor {"connection_id":121036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:26:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":121036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:26:57] 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-01 17:26:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:26:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:26:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424112128001,"66":27800,"214":206,"85":36608,"24":0,"16":333768041785458688,"44":-5573978563027746816},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-07-01 17:26:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:26:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:26:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424112128001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:26:57] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-01 17:26:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:26:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333768041785458688,"km_value":333768041785458.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:26:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573978563027746816,"description":"Unknown IO ID 44"} 
[2026-07-01 17:26:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424112128001,"power":27800,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573978563027746816}} 
[2026-07-01 17:26:57] local.INFO: DEBUG: GPS processor result {"connection_id":121036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:26:57] local.INFO: GPS data processed {"connection_id":121036,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:26:57] local.INFO: Acknowledgment sent {"connection_id":121036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:26:58] local.INFO: TCP Data received {"connection_id":119950,"ip":"117.224.198.240","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d89a1f8012d7bd3c005e1dd600002004a2a..."} 
[2026-07-01 17:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d89a1f8012d7bd3c005e1dd600002004a2a..."} 
[2026-07-01 17:26:58] local.INFO: Processing buffer {"connection_id":119950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d89a1f8012d7bd3c005e1dd600002004a2a..."} 
[2026-07-01 17:26:58] local.INFO: Packet analysis {"connection_id":119950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d89"} 
[2026-07-01 17:26:58] local.INFO: Extracted packet for processing {"connection_id":119950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d89"} 
[2026-07-01 17:26:58] local.INFO: GPS Element Parsed {"raw_longitude":763089856,"raw_latitude":98688352,"longitude_deg":76.3089856,"latitude_deg":9.8688352,"altitude":2,"angle":74,"satellites":42,"speed":21,"hex_longitude":"2d7bd3c0","hex_latitude":"05e1dd60","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424188160001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101362787258728448,"note":"Value kept but may cause issues"} 
[2026-07-01 17:26:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8921560518340896768,"note":"Value kept but may cause issues"} 
[2026-07-01 17:26:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782906987000,"timestamp_ms":1782906987000,"timestamp_seconds":1782906987,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d89a1f8"} 
[2026-07-01 17: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-01 17:26:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-07-01 17:26:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17: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-01 17: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-01 17:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119950,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119950,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:26:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.198.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 17:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424188160001,"66":12613,"44":206,"19":45824,"24":21,"16":101362787258728448,"45":8921560518340896768},"client_ip":"117.224.198.240","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,19,24,16,45]} 
[2026-07-01 17:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424188160001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:26:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-07-01 17:26:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-07-01 17:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101362787258728448,"km_value":101362787258728.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:26:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8921560518340896768,"description":"Unknown IO ID 45"} 
[2026-07-01 17:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424188160001,"power":12613,"unknown_44":206,"unknown_19":45824,"ignition":21,"odometer":null,"unknown_45":8921560518340896768}} 
[2026-07-01 17:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":119950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417983,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:26:58] local.INFO: GPS data processed {"connection_id":119950,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:26:58] local.INFO: Acknowledgment sent {"connection_id":119950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:27:10] local.INFO: TCP Data received {"connection_id":121037,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121037,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:27:10] local.INFO: Processing buffer {"connection_id":121037,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:27:10] local.INFO: IMEI packet received {"connection_id":121037,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 17:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":121037,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:27:20] local.INFO: TCP Data received {"connection_id":119267,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:27:20] local.INFO: Processing buffer {"connection_id":119267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:27:20] local.INFO: IMEI packet received {"connection_id":119267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 17:27:20] local.INFO: IMEI acknowledgment sent {"connection_id":119267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:27:25] local.INFO: TCP Data received {"connection_id":119267,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:27:25] local.INFO: Processing buffer {"connection_id":119267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:27:25] local.INFO: IMEI packet received {"connection_id":119267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":119267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:27:26] local.INFO: TCP Data received {"connection_id":119267,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d856408012cb2a540077516c00017002329..."} 
[2026-07-01 17:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d856408012cb2a540077516c00017002329..."} 
[2026-07-01 17:27:26] local.INFO: Processing buffer {"connection_id":119267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d856408012cb2a540077516c00017002329..."} 
[2026-07-01 17:27:26] local.INFO: Packet analysis {"connection_id":119267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d85"} 
[2026-07-01 17:27:26] local.INFO: Extracted packet for processing {"connection_id":119267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d85"} 
[2026-07-01 17:27:26] local.INFO: GPS Element Parsed {"raw_longitude":749905216,"raw_latitude":125114048,"longitude_deg":74.9905216,"latitude_deg":12.5114048,"altitude":23,"angle":35,"satellites":41,"speed":0,"hex_longitude":"2cb2a540","hex_latitude":"077516c0","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:27:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424116992001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:27:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333768041785458688,"note":"Value kept but may cause issues"} 
[2026-07-01 17:27:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573978563027746816,"note":"Value kept but may cause issues"} 
[2026-07-01 17:27:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:27:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782906709000,"timestamp_ms":1782906709000,"timestamp_seconds":1782906709,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d856408"} 
[2026-07-01 17: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-01 17:27:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 17:27:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 17:27:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17: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-01 17: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-01 17:27:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:27:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:27:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:27:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:27:26] 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-01 17:27:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:27:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:27:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424116992001,"66":27484,"214":206,"85":36608,"24":0,"16":333768041785458688,"44":-5573978563027746816},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-07-01 17:27:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:27:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:27:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424116992001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:27:26] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-01 17:27:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:27:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333768041785458688,"km_value":333768041785458.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:27:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573978563027746816,"description":"Unknown IO ID 44"} 
[2026-07-01 17:27:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424116992001,"power":27484,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573978563027746816}} 
[2026-07-01 17:27:26] local.INFO: DEBUG: GPS processor result {"connection_id":119267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:27:26] local.INFO: GPS data processed {"connection_id":119267,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:27:26] local.INFO: Acknowledgment sent {"connection_id":119267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:27:30] local.INFO: TCP Data received {"connection_id":119950,"ip":"117.224.198.240","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d8a5d78012d7c3f8005e1ea90000200202d..."} 
[2026-07-01 17:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d8a5d78012d7c3f8005e1ea90000200202d..."} 
[2026-07-01 17:27:30] local.INFO: Processing buffer {"connection_id":119950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d8a5d78012d7c3f8005e1ea90000200202d..."} 
[2026-07-01 17:27:30] local.INFO: Packet analysis {"connection_id":119950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d8a"} 
[2026-07-01 17:27:30] local.INFO: Extracted packet for processing {"connection_id":119950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d8a"} 
[2026-07-01 17:27:30] local.INFO: GPS Element Parsed {"raw_longitude":763117440,"raw_latitude":98691728,"longitude_deg":76.311744,"latitude_deg":9.8691728,"altitude":2,"angle":32,"satellites":45,"speed":16,"hex_longitude":"2d7c3f80","hex_latitude":"05e1ea90","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424200448001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101364191713034240,"note":"Value kept but may cause issues"} 
[2026-07-01 17:27:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952522765779808256,"note":"Value kept but may cause issues"} 
[2026-07-01 17:27:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782907035000,"timestamp_ms":1782907035000,"timestamp_seconds":1782907035,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d8a5d78"} 
[2026-07-01 17: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-01 17:27:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-01 17:27: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-01 17:27:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17: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-01 17:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":119950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":119950,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":119950,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:27:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.198.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 17:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424200448001,"66":12330,"44":206,"19":45824,"24":16,"16":101364191713034240,"45":8952522765779808256},"client_ip":"117.224.198.240","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,19,24,16,45]} 
[2026-07-01 17:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424200448001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:27:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-07-01 17:27:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-07-01 17:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101364191713034240,"km_value":101364191713034.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:27:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952522765779808256,"description":"Unknown IO ID 45"} 
[2026-07-01 17:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424200448001,"power":12330,"unknown_44":206,"unknown_19":45824,"ignition":16,"odometer":null,"unknown_45":8952522765779808256}} 
[2026-07-01 17:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":119950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417985,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:27:30] local.INFO: GPS data processed {"connection_id":119950,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:27:30] local.INFO: Acknowledgment sent {"connection_id":119950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:27:51] local.INFO: TCP Data received {"connection_id":119268,"ip":"117.224.198.240","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119268,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:27:51] local.INFO: Processing buffer {"connection_id":119268,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:27:51] local.INFO: IMEI packet received {"connection_id":119268,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 17:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":119268,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:27:53] local.INFO: TCP Data received {"connection_id":119268,"ip":"117.224.198.240","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119268,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:27:53] local.INFO: Processing buffer {"connection_id":119268,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:27:53] local.INFO: IMEI packet received {"connection_id":119268,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 17:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":119268,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:27:57] local.INFO: TCP Data received {"connection_id":119268,"ip":"117.224.198.240","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119268,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:27:57] local.INFO: Processing buffer {"connection_id":119268,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:27:57] local.INFO: IMEI packet received {"connection_id":119268,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 17:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":119268,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:27:57] local.INFO: TCP Data received {"connection_id":119267,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d8a0788012cb2a68007751728001c00232e..."} 
[2026-07-01 17:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d8a0788012cb2a68007751728001c00232e..."} 
[2026-07-01 17:27:57] local.INFO: Processing buffer {"connection_id":119267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d8a0788012cb2a68007751728001c00232e..."} 
[2026-07-01 17:27:57] local.INFO: Packet analysis {"connection_id":119267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d8a"} 
[2026-07-01 17:27:57] local.INFO: Extracted packet for processing {"connection_id":119267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d8a"} 
[2026-07-01 17:27:57] local.INFO: GPS Element Parsed {"raw_longitude":749905536,"raw_latitude":125114152,"longitude_deg":74.9905536,"latitude_deg":12.5114152,"altitude":28,"angle":35,"satellites":46,"speed":0,"hex_longitude":"2cb2a680","hex_latitude":"07751728","is_valid_coordinates":true} 
[2026-07-01 17:27:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:27:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424117504001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:27:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333768041785458688,"note":"Value kept but may cause issues"} 
[2026-07-01 17:27:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573978563027746816,"note":"Value kept but may cause issues"} 
[2026-07-01 17:27:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:27:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782907013000,"timestamp_ms":1782907013000,"timestamp_seconds":1782907013,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d8a0788"} 
[2026-07-01 17:27:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:27:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 17:27:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 17:27:57] 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-01 17:27:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:27:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:27:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:27:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:27:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:27:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:27:57] 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-01 17:27:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:27:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:27:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424117504001,"66":26245,"214":206,"85":36608,"24":0,"16":333768041785458688,"44":-5573978563027746816},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-07-01 17:27:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:27:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:27:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424117504001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:27:57] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-01 17:27:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:27:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333768041785458688,"km_value":333768041785458.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:27:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573978563027746816,"description":"Unknown IO ID 44"} 
[2026-07-01 17:27:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424117504001,"power":26245,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573978563027746816}} 
[2026-07-01 17:27:57] local.INFO: DEBUG: GPS processor result {"connection_id":119267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:27:57] local.INFO: GPS data processed {"connection_id":119267,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:27:57] local.INFO: Acknowledgment sent {"connection_id":119267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:27:59] local.INFO: TCP Data received {"connection_id":119268,"ip":"117.224.198.240","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d8a6d18012d7c448005e1f0780002002c2e..."} 
[2026-07-01 17:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d8a6d18012d7c448005e1f0780002002c2e..."} 
[2026-07-01 17:27:59] local.INFO: Processing buffer {"connection_id":119268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d8a6d18012d7c448005e1f0780002002c2e..."} 
[2026-07-01 17:27:59] local.INFO: Packet analysis {"connection_id":119268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d8a"} 
[2026-07-01 17:27:59] local.INFO: Extracted packet for processing {"connection_id":119268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d8a"} 
[2026-07-01 17:27:59] local.INFO: GPS Element Parsed {"raw_longitude":763118720,"raw_latitude":98693240,"longitude_deg":76.311872,"latitude_deg":9.869324,"altitude":2,"angle":44,"satellites":46,"speed":22,"hex_longitude":"2d7c4480","hex_latitude":"05e1f078","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424200960001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101364290497282048,"note":"Value kept but may cause issues"} 
[2026-07-01 17:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953015346989273088,"note":"Value kept but may cause issues"} 
[2026-07-01 17:27:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782907039000,"timestamp_ms":1782907039000,"timestamp_seconds":1782907039,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d8a6d18"} 
[2026-07-01 17: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-01 17:27:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17: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":42,"data_length":795,"current_offset":136} 
[2026-07-01 17:27:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":816,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17: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-01 17: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-01 17:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119268,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119268,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:27:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.198.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 17:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424200960001,"66":12798,"44":206,"19":45824,"24":22,"16":101364290497282048,"45":8953015346989273088},"client_ip":"117.224.198.240","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,19,24,16,45]} 
[2026-07-01 17:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424200960001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:27:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-07-01 17:27:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-07-01 17:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101364290497282048,"km_value":101364290497282.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953015346989273088,"description":"Unknown IO ID 45"} 
[2026-07-01 17:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424200960001,"power":12798,"unknown_44":206,"unknown_19":45824,"ignition":22,"odometer":null,"unknown_45":8953015346989273088}} 
[2026-07-01 17:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":119268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417987,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:27:59] local.INFO: GPS data processed {"connection_id":119268,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:27:59] local.INFO: Acknowledgment sent {"connection_id":119268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:28:21] local.INFO: TCP Data received {"connection_id":119951,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:28:21] local.INFO: Processing buffer {"connection_id":119951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:28:21] local.INFO: IMEI packet received {"connection_id":119951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 17:28:21] local.INFO: IMEI acknowledgment sent {"connection_id":119951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:28:25] local.INFO: TCP Data received {"connection_id":119951,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:28:25] local.INFO: Processing buffer {"connection_id":119951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:28:25] local.INFO: IMEI packet received {"connection_id":119951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":119951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:28:31] local.INFO: TCP Data received {"connection_id":119268,"ip":"117.224.198.240","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d8a8c58012d7c550005e1fff8000200212c..."} 
[2026-07-01 17:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d8a8c58012d7c550005e1fff8000200212c..."} 
[2026-07-01 17:28:31] local.INFO: Processing buffer {"connection_id":119268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d8a8c58012d7c550005e1fff8000200212c..."} 
[2026-07-01 17:28:31] local.INFO: Packet analysis {"connection_id":119268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d8a"} 
[2026-07-01 17:28:31] local.INFO: Extracted packet for processing {"connection_id":119268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d8a"} 
[2026-07-01 17:28:31] local.INFO: GPS Element Parsed {"raw_longitude":763122944,"raw_latitude":98697208,"longitude_deg":76.3122944,"latitude_deg":9.8697208,"altitude":2,"angle":33,"satellites":44,"speed":29,"hex_longitude":"2d7c5500","hex_latitude":"05e1fff8","is_valid_coordinates":true} 
[2026-07-01 17:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424201984001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101364569670156288,"note":"Value kept but may cause issues"} 
[2026-07-01 17:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8954422721873213440,"note":"Value kept but may cause issues"} 
[2026-07-01 17:28:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782907047000,"timestamp_ms":1782907047000,"timestamp_seconds":1782907047,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d8a8c58"} 
[2026-07-01 17:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:28:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-01 17:28:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:28:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119268,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119268,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:28:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.198.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 17:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424201984001,"66":12330,"44":206,"19":45824,"24":29,"16":101364569670156288,"45":8954422721873213440},"client_ip":"117.224.198.240","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,19,24,16,45]} 
[2026-07-01 17:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424201984001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:28:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-07-01 17:28:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-07-01 17:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101364569670156288,"km_value":101364569670156.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8954422721873213440,"description":"Unknown IO ID 45"} 
[2026-07-01 17:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424201984001,"power":12330,"unknown_44":206,"unknown_19":45824,"ignition":29,"odometer":null,"unknown_45":8954422721873213440}} 
[2026-07-01 17:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":119268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417988,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:28:31] local.INFO: GPS data processed {"connection_id":119268,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:28:31] local.INFO: Acknowledgment sent {"connection_id":119268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:28:31] local.INFO: TCP Data received {"connection_id":119951,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d8a0788012cb2a68007751728001c00232e..."} 
[2026-07-01 17:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d8a0788012cb2a68007751728001c00232e..."} 
[2026-07-01 17:28:31] local.INFO: Processing buffer {"connection_id":119951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d8a0788012cb2a68007751728001c00232e..."} 
[2026-07-01 17:28:31] local.INFO: Packet analysis {"connection_id":119951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d8a"} 
[2026-07-01 17:28:31] local.INFO: Extracted packet for processing {"connection_id":119951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d8a"} 
[2026-07-01 17:28:31] local.INFO: GPS Element Parsed {"raw_longitude":749905536,"raw_latitude":125114152,"longitude_deg":74.9905536,"latitude_deg":12.5114152,"altitude":28,"angle":35,"satellites":46,"speed":0,"hex_longitude":"2cb2a680","hex_latitude":"07751728","is_valid_coordinates":true} 
[2026-07-01 17:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424117504001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333768041785458688,"note":"Value kept but may cause issues"} 
[2026-07-01 17:28:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573978563027746816,"note":"Value kept but may cause issues"} 
[2026-07-01 17:28:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782907013000,"timestamp_ms":1782907013000,"timestamp_seconds":1782907013,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d8a0788"} 
[2026-07-01 17:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:28:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 17:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 17:28:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:28:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:28:31] 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-01 17:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424117504001,"66":26245,"214":206,"85":36608,"24":0,"16":333768041785458688,"44":-5573978563027746816},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-07-01 17:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424117504001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:28:31] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-01 17:28:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333768041785458688,"km_value":333768041785458.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:28:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573978563027746816,"description":"Unknown IO ID 44"} 
[2026-07-01 17:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424117504001,"power":26245,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573978563027746816}} 
[2026-07-01 17:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":119951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:28:31] local.INFO: GPS data processed {"connection_id":119951,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:28:31] local.INFO: Acknowledgment sent {"connection_id":119951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:28:56] local.INFO: TCP Data received {"connection_id":119157,"ip":"117.224.198.240","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119157,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:28:56] local.INFO: Processing buffer {"connection_id":119157,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:28:56] local.INFO: IMEI packet received {"connection_id":119157,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 17:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":119157,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:28:59] local.INFO: TCP Data received {"connection_id":119157,"ip":"117.224.198.240","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119157,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:28:59] local.INFO: Processing buffer {"connection_id":119157,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:28:59] local.INFO: IMEI packet received {"connection_id":119157,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 17:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":119157,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:29:00] local.INFO: TCP Data received {"connection_id":119157,"ip":"117.224.198.240","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d8aab98012d7c614005e213000002003c29..."} 
[2026-07-01 17:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d8aab98012d7c614005e213000002003c29..."} 
[2026-07-01 17:29:00] local.INFO: Processing buffer {"connection_id":119157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d8aab98012d7c614005e213000002003c29..."} 
[2026-07-01 17:29:00] local.INFO: Packet analysis {"connection_id":119157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d8a"} 
[2026-07-01 17:29:00] local.INFO: Extracted packet for processing {"connection_id":119157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d8a"} 
[2026-07-01 17:29:00] local.INFO: GPS Element Parsed {"raw_longitude":763126080,"raw_latitude":98702080,"longitude_deg":76.312608,"latitude_deg":9.870208,"altitude":2,"angle":60,"satellites":41,"speed":25,"hex_longitude":"2d7c6140","hex_latitude":"05e21300","is_valid_coordinates":true} 
[2026-07-01 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-01 17:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424204032001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101364853137997824,"note":"Value kept but may cause issues"} 
[2026-07-01 17:29:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8959067058989955072,"note":"Value kept but may cause issues"} 
[2026-07-01 17:29:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782907055000,"timestamp_ms":1782907055000,"timestamp_seconds":1782907055,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d8aab98"} 
[2026-07-01 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-01 17:29:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 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":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-07-01 17:29:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":816,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 17:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":119157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":119157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":119157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:29:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.198.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 17:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424204032001,"66":12645,"44":206,"19":45824,"24":25,"16":101364853137997824,"45":8959067058989955072},"client_ip":"117.224.198.240","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,19,24,16,45]} 
[2026-07-01 17:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424204032001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:29:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-07-01 17:29:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-07-01 17:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101364853137997824,"km_value":101364853137997.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:29:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8959067058989955072,"description":"Unknown IO ID 45"} 
[2026-07-01 17:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424204032001,"power":12645,"unknown_44":206,"unknown_19":45824,"ignition":25,"odometer":null,"unknown_45":8959067058989955072}} 
[2026-07-01 17:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":119157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417990,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:29:00] local.INFO: GPS data processed {"connection_id":119157,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:29:00] local.INFO: Acknowledgment sent {"connection_id":119157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:29:02] local.INFO: TCP Data received {"connection_id":119157,"ip":"117.224.198.240","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d8aaf80012d7c638005e213b00002004a2a..."} 
[2026-07-01 17:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d8aaf80012d7c638005e213b00002004a2a..."} 
[2026-07-01 17:29:02] local.INFO: Processing buffer {"connection_id":119157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d8aaf80012d7c638005e213b00002004a2a..."} 
[2026-07-01 17:29:02] local.INFO: Packet analysis {"connection_id":119157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d8a"} 
[2026-07-01 17:29:02] local.INFO: Extracted packet for processing {"connection_id":119157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d8a"} 
[2026-07-01 17:29:02] local.INFO: GPS Element Parsed {"raw_longitude":763126656,"raw_latitude":98702256,"longitude_deg":76.3126656,"latitude_deg":9.8702256,"altitude":2,"angle":74,"satellites":42,"speed":26,"hex_longitude":"2d7c6380","hex_latitude":"05e213b0","is_valid_coordinates":true} 
[2026-07-01 17:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424206080001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101364883202768896,"note":"Value kept but may cause issues"} 
[2026-07-01 17:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8962515127455907840,"note":"Value kept but may cause issues"} 
[2026-07-01 17:29:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782907056000,"timestamp_ms":1782907056000,"timestamp_seconds":1782907056,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d8aaf80"} 
[2026-07-01 17:29:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:29:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-01 17:29:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:29:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:29:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":119157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":119157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":119157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:29:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.198.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 17:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424206080001,"66":12798,"44":206,"19":45824,"24":26,"16":101364883202768896,"45":8962515127455907840},"client_ip":"117.224.198.240","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,19,24,16,45]} 
[2026-07-01 17:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424206080001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:29:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-07-01 17:29:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-07-01 17:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101364883202768896,"km_value":101364883202768.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8962515127455907840,"description":"Unknown IO ID 45"} 
[2026-07-01 17:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424206080001,"power":12798,"unknown_44":206,"unknown_19":45824,"ignition":26,"odometer":null,"unknown_45":8962515127455907840}} 
[2026-07-01 17:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":119157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417991,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:29:02] local.INFO: GPS data processed {"connection_id":119157,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:29:02] local.INFO: Acknowledgment sent {"connection_id":119157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:29:07] local.INFO: TCP Data received {"connection_id":119951,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d8a0788012cb2a68007751728001c00232e..."} 
[2026-07-01 17:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d8a0788012cb2a68007751728001c00232e..."} 
[2026-07-01 17:29:07] local.INFO: Processing buffer {"connection_id":119951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d8a0788012cb2a68007751728001c00232e..."} 
[2026-07-01 17:29:07] local.INFO: Packet analysis {"connection_id":119951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d8a"} 
[2026-07-01 17:29:07] local.INFO: Extracted packet for processing {"connection_id":119951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d8a"} 
[2026-07-01 17:29:07] local.INFO: GPS Element Parsed {"raw_longitude":749905536,"raw_latitude":125114152,"longitude_deg":74.9905536,"latitude_deg":12.5114152,"altitude":28,"angle":35,"satellites":46,"speed":0,"hex_longitude":"2cb2a680","hex_latitude":"07751728","is_valid_coordinates":true} 
[2026-07-01 17:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424117504001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333768041785458688,"note":"Value kept but may cause issues"} 
[2026-07-01 17:29:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573978563027746816,"note":"Value kept but may cause issues"} 
[2026-07-01 17:29:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782907013000,"timestamp_ms":1782907013000,"timestamp_seconds":1782907013,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d8a0788"} 
[2026-07-01 17:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:29:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 17:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 17:29:07] 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-01 17:29:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":119951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":119951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":119951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:29:07] 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-01 17:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424117504001,"66":26245,"214":206,"85":36608,"24":0,"16":333768041785458688,"44":-5573978563027746816},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-07-01 17:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424117504001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:29:07] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-01 17:29:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333768041785458688,"km_value":333768041785458.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:29:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573978563027746816,"description":"Unknown IO ID 44"} 
[2026-07-01 17:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424117504001,"power":26245,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573978563027746816}} 
[2026-07-01 17:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":119951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:29:07] local.INFO: GPS data processed {"connection_id":119951,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:29:07] local.INFO: Acknowledgment sent {"connection_id":119951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:29:08] local.INFO: TCP Data received {"connection_id":119158,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119158,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:29:08] local.INFO: Processing buffer {"connection_id":119158,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:29:08] local.INFO: IMEI packet received {"connection_id":119158,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-01 17:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":119158,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:29:13] local.INFO: TCP Data received {"connection_id":119158,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119158,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:29:13] local.INFO: Processing buffer {"connection_id":119158,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:29:13] local.INFO: IMEI packet received {"connection_id":119158,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-01 17:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":119158,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:29:14] local.INFO: TCP Data received {"connection_id":119158,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d8b3450012d182ac007219cc0004d008426..."} 
[2026-07-01 17:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d8b3450012d182ac007219cc0004d008426..."} 
[2026-07-01 17:29:14] local.INFO: Processing buffer {"connection_id":119158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d8b3450012d182ac007219cc0004d008426..."} 
[2026-07-01 17:29:14] local.INFO: Packet analysis {"connection_id":119158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d8b"} 
[2026-07-01 17:29:14] local.INFO: Extracted packet for processing {"connection_id":119158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d8b"} 
[2026-07-01 17:29:14] local.INFO: GPS Element Parsed {"raw_longitude":756558528,"raw_latitude":119643328,"longitude_deg":75.6558528,"latitude_deg":11.9643328,"altitude":77,"angle":132,"satellites":38,"speed":0,"hex_longitude":"2d182ac0","hex_latitude":"07219cc0","is_valid_coordinates":true} 
[2026-07-01 17:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:29:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4067063446372352,"note":"Value kept but may cause issues"} 
[2026-07-01 17:29:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,105,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-01 17:29:14] local.INFO: AVL Record Parsed {"raw_timestamp":1782907090000,"timestamp_ms":1782907090000,"timestamp_seconds":1782907090,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d8b3450"} 
[2026-07-01 17:29:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:29:14] 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-01 17:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-01 17:29:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:29:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:29:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:29:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:29:14] local.INFO: Teltonika packet parsed successfully {"connection_id":119158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:29:14] local.INFO: Passing IMEI to GPS processor {"connection_id":119158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:29:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":119158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:29:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 17:29:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-01 17:29:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-01 17:29:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":14298,"105":206,"83":41984,"24":0,"16":4067063446372352},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16]} 
[2026-07-01 17:29:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-01 17:29:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-01 17:29:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-01 17:29:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-01 17:29:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-01 17:29:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4067063446372352,"km_value":4067063446372.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:29:14] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":14298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null}} 
[2026-07-01 17:29:14] local.INFO: DEBUG: GPS processor result {"connection_id":119158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417993,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:29:14] local.INFO: GPS data processed {"connection_id":119158,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:29:14] local.INFO: Acknowledgment sent {"connection_id":119158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:29:20] local.INFO: TCP Data received {"connection_id":119953,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:29:20] local.INFO: Processing buffer {"connection_id":119953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:29:20] local.INFO: IMEI packet received {"connection_id":119953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 17:29:20] local.INFO: IMEI acknowledgment sent {"connection_id":119953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:29:25] local.INFO: TCP Data received {"connection_id":119953,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:29:25] local.INFO: Processing buffer {"connection_id":119953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:29:25] local.INFO: IMEI packet received {"connection_id":119953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":119953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:29:26] local.INFO: TCP Data received {"connection_id":119953,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d8a0788012cb2a68007751728001c00232e..."} 
[2026-07-01 17:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d8a0788012cb2a68007751728001c00232e..."} 
[2026-07-01 17:29:26] local.INFO: Processing buffer {"connection_id":119953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d8a0788012cb2a68007751728001c00232e..."} 
[2026-07-01 17:29:26] local.INFO: Packet analysis {"connection_id":119953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d8a"} 
[2026-07-01 17:29:26] local.INFO: Extracted packet for processing {"connection_id":119953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d8a"} 
[2026-07-01 17:29:26] local.INFO: GPS Element Parsed {"raw_longitude":749905536,"raw_latitude":125114152,"longitude_deg":74.9905536,"latitude_deg":12.5114152,"altitude":28,"angle":35,"satellites":46,"speed":0,"hex_longitude":"2cb2a680","hex_latitude":"07751728","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:29:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424117504001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:29:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333768041785458688,"note":"Value kept but may cause issues"} 
[2026-07-01 17:29:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573978563027746816,"note":"Value kept but may cause issues"} 
[2026-07-01 17:29:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:29:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782907013000,"timestamp_ms":1782907013000,"timestamp_seconds":1782907013,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d8a0788"} 
[2026-07-01 17: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-01 17:29:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 17: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 17:29:26] 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-01 17: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-01 17: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-01 17:29:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:29:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:29:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:29:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:29:26] 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-01 17:29:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:29:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:29:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424117504001,"66":26245,"214":206,"85":36608,"24":0,"16":333768041785458688,"44":-5573978563027746816},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-07-01 17:29:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:29:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:29:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424117504001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:29:26] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-01 17:29:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:29:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333768041785458688,"km_value":333768041785458.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:29:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573978563027746816,"description":"Unknown IO ID 44"} 
[2026-07-01 17:29:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424117504001,"power":26245,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573978563027746816}} 
[2026-07-01 17:29:26] local.INFO: DEBUG: GPS processor result {"connection_id":119953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:29:26] local.INFO: GPS data processed {"connection_id":119953,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:29:26] local.INFO: Acknowledgment sent {"connection_id":119953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:29:35] local.INFO: TCP Data received {"connection_id":119157,"ip":"117.224.198.240","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d8ab750012d7c698005e21430000200592a..."} 
[2026-07-01 17:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d8ab750012d7c698005e21430000200592a..."} 
[2026-07-01 17:29:35] local.INFO: Processing buffer {"connection_id":119157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d8ab750012d7c698005e21430000200592a..."} 
[2026-07-01 17:29:35] local.INFO: Packet analysis {"connection_id":119157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d8a"} 
[2026-07-01 17:29:35] local.INFO: Extracted packet for processing {"connection_id":119157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d8a"} 
[2026-07-01 17:29:35] local.INFO: GPS Element Parsed {"raw_longitude":763128192,"raw_latitude":98702384,"longitude_deg":76.3128192,"latitude_deg":9.8702384,"altitude":2,"angle":89,"satellites":42,"speed":31,"hex_longitude":"2d7c6980","hex_latitude":"05e21430","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424206336001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101364956217212928,"note":"Value kept but may cause issues"} 
[2026-07-01 17:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8963148446153551872,"note":"Value kept but may cause issues"} 
[2026-07-01 17:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782907058000,"timestamp_ms":1782907058000,"timestamp_seconds":1782907058,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d8ab750"} 
[2026-07-01 17: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-01 17:29: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-01 17:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-01 17:29: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-01 17: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-01 17: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-01 17:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":119157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":119157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":119157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.198.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 17:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424206336001,"66":12461,"44":206,"19":45824,"24":31,"16":101364956217212928,"45":8963148446153551872},"client_ip":"117.224.198.240","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,19,24,16,45]} 
[2026-07-01 17:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424206336001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:29:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-07-01 17:29:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-07-01 17:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101364956217212928,"km_value":101364956217212.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8963148446153551872,"description":"Unknown IO ID 45"} 
[2026-07-01 17:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424206336001,"power":12461,"unknown_44":206,"unknown_19":45824,"ignition":31,"odometer":null,"unknown_45":8963148446153551872}} 
[2026-07-01 17:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":119157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417995,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:29:35] local.INFO: GPS data processed {"connection_id":119157,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:29:35] local.INFO: Acknowledgment sent {"connection_id":119157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:29:45] local.INFO: TCP Data received {"connection_id":119158,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d8b8270012d182ec007219970004d007628..."} 
[2026-07-01 17:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d8b8270012d182ec007219970004d007628..."} 
[2026-07-01 17:29:45] local.INFO: Processing buffer {"connection_id":119158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d8b8270012d182ec007219970004d007628..."} 
[2026-07-01 17:29:45] local.INFO: Packet analysis {"connection_id":119158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d8b"} 
[2026-07-01 17:29:45] local.INFO: Extracted packet for processing {"connection_id":119158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d8b"} 
[2026-07-01 17:29:45] local.INFO: GPS Element Parsed {"raw_longitude":756559552,"raw_latitude":119642480,"longitude_deg":75.6559552,"latitude_deg":11.964248,"altitude":77,"angle":118,"satellites":40,"speed":11,"hex_longitude":"2d182ec0","hex_latitude":"07219970","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:29:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424215040001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4067123575914496,"note":"Value kept but may cause issues"} 
[2026-07-01 17:29:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741415342793342976,"note":"Value kept but may cause issues"} 
[2026-07-01 17:29:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782907110000,"timestamp_ms":1782907110000,"timestamp_seconds":1782907110,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d8b8270"} 
[2026-07-01 17: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-01 17:29:45] 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-01 17: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-01 17:29:45] 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-01 17: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-01 17: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-01 17:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":119158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":119158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":119158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:29:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 17:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-01 17:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-01 17:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424215040001,"66":14135,"105":206,"83":41984,"24":11,"16":4067123575914496,"45":1741415342793342976},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-01 17:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-01 17:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-01 17:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424215040001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:29:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-01 17:29:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-01 17:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4067123575914496,"km_value":4067123575914.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:29:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741415342793342976,"description":"Unknown IO ID 45"} 
[2026-07-01 17:29:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424215040001,"power":14135,"unknown_105":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1741415342793342976}} 
[2026-07-01 17:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":119158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417996,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:29:45] local.INFO: GPS data processed {"connection_id":119158,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:29:45] local.INFO: Acknowledgment sent {"connection_id":119158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:29:52] local.INFO: TCP Data received {"connection_id":121038,"ip":"117.224.198.240","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121038,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:29:52] local.INFO: Processing buffer {"connection_id":121038,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:29:52] local.INFO: IMEI packet received {"connection_id":121038,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 17:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":121038,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:29:56] local.INFO: TCP Data received {"connection_id":121038,"ip":"117.224.198.240","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121038,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:29:56] local.INFO: Processing buffer {"connection_id":121038,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:29:56] local.INFO: IMEI packet received {"connection_id":121038,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 17:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":121038,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:29:57] local.INFO: TCP Data received {"connection_id":119953,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d8a0788012cb2a68007751728001c00232e..."} 
[2026-07-01 17:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d8a0788012cb2a68007751728001c00232e..."} 
[2026-07-01 17:29:57] local.INFO: Processing buffer {"connection_id":119953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d8a0788012cb2a68007751728001c00232e..."} 
[2026-07-01 17:29:57] local.INFO: Packet analysis {"connection_id":119953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d8a"} 
[2026-07-01 17:29:57] local.INFO: Extracted packet for processing {"connection_id":119953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d8a"} 
[2026-07-01 17:29:57] local.INFO: GPS Element Parsed {"raw_longitude":749905536,"raw_latitude":125114152,"longitude_deg":74.9905536,"latitude_deg":12.5114152,"altitude":28,"angle":35,"satellites":46,"speed":0,"hex_longitude":"2cb2a680","hex_latitude":"07751728","is_valid_coordinates":true} 
[2026-07-01 17:29:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:29:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424117504001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:29:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333768041785458688,"note":"Value kept but may cause issues"} 
[2026-07-01 17:29:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573978563027746816,"note":"Value kept but may cause issues"} 
[2026-07-01 17:29:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:29:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782907013000,"timestamp_ms":1782907013000,"timestamp_seconds":1782907013,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d8a0788"} 
[2026-07-01 17:29:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:29:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 17:29:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 17:29:57] 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-01 17:29:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:29:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:29:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:29:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:29:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:29:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:29:57] 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-01 17:29:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:29:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:29:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424117504001,"66":26245,"214":206,"85":36608,"24":0,"16":333768041785458688,"44":-5573978563027746816},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-07-01 17:29:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:29:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:29:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424117504001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:29:57] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-01 17:29:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:29:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333768041785458688,"km_value":333768041785458.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:29:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573978563027746816,"description":"Unknown IO ID 44"} 
[2026-07-01 17:29:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424117504001,"power":26245,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573978563027746816}} 
[2026-07-01 17:29:57] local.INFO: DEBUG: GPS processor result {"connection_id":119953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:29:57] local.INFO: GPS data processed {"connection_id":119953,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:29:57] local.INFO: Acknowledgment sent {"connection_id":119953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:29:58] local.INFO: TCP Data received {"connection_id":121038,"ip":"117.224.198.240","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d8ac6f0012d7c77c005e212080002006628..."} 
[2026-07-01 17:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d8ac6f0012d7c77c005e212080002006628..."} 
[2026-07-01 17:29:58] local.INFO: Processing buffer {"connection_id":121038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d8ac6f0012d7c77c005e212080002006628..."} 
[2026-07-01 17:29:58] local.INFO: Packet analysis {"connection_id":121038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d8a"} 
[2026-07-01 17:29:58] local.INFO: Extracted packet for processing {"connection_id":121038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d8a"} 
[2026-07-01 17:29:58] local.INFO: GPS Element Parsed {"raw_longitude":763131840,"raw_latitude":98701832,"longitude_deg":76.313184,"latitude_deg":9.8701832,"altitude":2,"angle":102,"satellites":40,"speed":35,"hex_longitude":"2d7c77c0","hex_latitude":"05e21208","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424206848001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:29:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101365132310872064,"note":"Value kept but may cause issues"} 
[2026-07-01 17:29:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8964837296013848576,"note":"Value kept but may cause issues"} 
[2026-07-01 17:29:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:29:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782907062000,"timestamp_ms":1782907062000,"timestamp_seconds":1782907062,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d8ac6f0"} 
[2026-07-01 17: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-01 17:29:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 17:29: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-01 17: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-01 17: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-01 17:29:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:29:58] local.INFO: Teltonika packet parsed successfully {"connection_id":121038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:29:58] local.INFO: Passing IMEI to GPS processor {"connection_id":121038,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:29:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":121038,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:29:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.198.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 17:29:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:29:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:29:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424206848001,"66":12461,"44":206,"19":45824,"24":35,"16":101365132310872064,"45":8964837296013848576},"client_ip":"117.224.198.240","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,19,24,16,45]} 
[2026-07-01 17:29:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:29:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:29:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424206848001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:29:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-07-01 17:29:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-07-01 17:29:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101365132310872064,"km_value":101365132310872.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:29:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8964837296013848576,"description":"Unknown IO ID 45"} 
[2026-07-01 17:29:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424206848001,"power":12461,"unknown_44":206,"unknown_19":45824,"ignition":35,"odometer":null,"unknown_45":8964837296013848576}} 
[2026-07-01 17:29:58] local.INFO: DEBUG: GPS processor result {"connection_id":121038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417998,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:29:58] local.INFO: GPS data processed {"connection_id":121038,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:29:58] local.INFO: Acknowledgment sent {"connection_id":121038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:30:16] local.INFO: TCP Data received {"connection_id":119158,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d8bc0f0012d18510007218a80004e007228..."} 
[2026-07-01 17:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d8bc0f0012d18510007218a80004e007228..."} 
[2026-07-01 17:30:16] local.INFO: Processing buffer {"connection_id":119158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d8bc0f0012d18510007218a80004e007228..."} 
[2026-07-01 17:30:16] local.INFO: Packet analysis {"connection_id":119158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d8b"} 
[2026-07-01 17:30:16] local.INFO: Extracted packet for processing {"connection_id":119158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d8b"} 
[2026-07-01 17:30:16] local.INFO: GPS Element Parsed {"raw_longitude":756568320,"raw_latitude":119638656,"longitude_deg":75.656832,"latitude_deg":11.9638656,"altitude":78,"angle":114,"satellites":40,"speed":28,"hex_longitude":"2d185100","hex_latitude":"07218a80","is_valid_coordinates":true} 
[2026-07-01 17:30:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:30:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424220160001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:30:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4067583137415168,"note":"Value kept but may cause issues"} 
[2026-07-01 17:30:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742541242699968512,"note":"Value kept but may cause issues"} 
[2026-07-01 17:30:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:30:16] local.INFO: AVL Record Parsed {"raw_timestamp":1782907126000,"timestamp_ms":1782907126000,"timestamp_seconds":1782907126,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d8bc0f0"} 
[2026-07-01 17:30:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:30:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:30:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-07-01 17:30:16] 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-01 17:30:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:30:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:30:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:30:16] local.INFO: Teltonika packet parsed successfully {"connection_id":119158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:30:16] local.INFO: Passing IMEI to GPS processor {"connection_id":119158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:30:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":119158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:30:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 17:30:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-01 17:30:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-01 17:30:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424220160001,"66":14233,"105":206,"83":41984,"24":28,"16":4067583137415168,"45":1742541242699968512},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-01 17:30:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-01 17:30:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-01 17:30:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424220160001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:30:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-01 17:30:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-01 17:30:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4067583137415168,"km_value":4067583137415.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:30:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742541242699968512,"description":"Unknown IO ID 45"} 
[2026-07-01 17:30:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424220160001,"power":14233,"unknown_105":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1742541242699968512}} 
[2026-07-01 17:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":119158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":417999,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:30:16] local.INFO: GPS data processed {"connection_id":119158,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:30:16] local.INFO: Acknowledgment sent {"connection_id":119158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:30:20] local.INFO: TCP Data received {"connection_id":119159,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:30:20] local.INFO: Processing buffer {"connection_id":119159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:30:20] local.INFO: IMEI packet received {"connection_id":119159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 17:30:20] local.INFO: IMEI acknowledgment sent {"connection_id":119159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:30:25] local.INFO: TCP Data received {"connection_id":119159,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:30:25] local.INFO: Processing buffer {"connection_id":119159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:30:25] local.INFO: IMEI packet received {"connection_id":119159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":119159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:30:30] local.INFO: TCP Data received {"connection_id":119159,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d8a0788012cb2a68007751728001c00232e..."} 
[2026-07-01 17:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d8a0788012cb2a68007751728001c00232e..."} 
[2026-07-01 17:30:30] local.INFO: Processing buffer {"connection_id":119159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d8a0788012cb2a68007751728001c00232e..."} 
[2026-07-01 17:30:30] local.INFO: Packet analysis {"connection_id":119159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d8a"} 
[2026-07-01 17:30:30] local.INFO: Extracted packet for processing {"connection_id":119159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d8a"} 
[2026-07-01 17:30:30] local.INFO: GPS Element Parsed {"raw_longitude":749905536,"raw_latitude":125114152,"longitude_deg":74.9905536,"latitude_deg":12.5114152,"altitude":28,"angle":35,"satellites":46,"speed":0,"hex_longitude":"2cb2a680","hex_latitude":"07751728","is_valid_coordinates":true} 
[2026-07-01 17:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424117504001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333768041785458688,"note":"Value kept but may cause issues"} 
[2026-07-01 17:30:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573978563027746816,"note":"Value kept but may cause issues"} 
[2026-07-01 17:30:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782907013000,"timestamp_ms":1782907013000,"timestamp_seconds":1782907013,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d8a0788"} 
[2026-07-01 17:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:30:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 17:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 17:30:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:30:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":119159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":119159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":119159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:30:30] 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-01 17:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424117504001,"66":26245,"214":206,"85":36608,"24":0,"16":333768041785458688,"44":-5573978563027746816},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-07-01 17:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424117504001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:30:30] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-01 17:30:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333768041785458688,"km_value":333768041785458.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:30:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573978563027746816,"description":"Unknown IO ID 44"} 
[2026-07-01 17:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424117504001,"power":26245,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573978563027746816}} 
[2026-07-01 17:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":119159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:30:30] local.INFO: GPS data processed {"connection_id":119159,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:30:30] local.INFO: Acknowledgment sent {"connection_id":119159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:30:30] local.INFO: TCP Data received {"connection_id":121038,"ip":"117.224.198.240","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d8aea18012d7c9b8005e20b400000006328..."} 
[2026-07-01 17:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d8aea18012d7c9b8005e20b400000006328..."} 
[2026-07-01 17:30:31] local.INFO: Processing buffer {"connection_id":121038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d8aea18012d7c9b8005e20b400000006328..."} 
[2026-07-01 17:30:31] local.INFO: Packet analysis {"connection_id":121038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d8a"} 
[2026-07-01 17:30:31] local.INFO: Extracted packet for processing {"connection_id":121038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d8a"} 
[2026-07-01 17:30:31] local.INFO: GPS Element Parsed {"raw_longitude":763140992,"raw_latitude":98700096,"longitude_deg":76.3140992,"latitude_deg":9.8700096,"altitude":0,"angle":99,"satellites":40,"speed":40,"hex_longitude":"2d7c9b80","hex_latitude":"05e20b40","is_valid_coordinates":true} 
[2026-07-01 17:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424207872001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101365578987470848,"note":"Value kept but may cause issues"} 
[2026-07-01 17:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8968848314431834112,"note":"Value kept but may cause issues"} 
[2026-07-01 17:30:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782907071000,"timestamp_ms":1782907071000,"timestamp_seconds":1782907071,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d8aea18"} 
[2026-07-01 17:30:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 17:30:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:30:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:30:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":121038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":121038,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":121038,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.224.198.240","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 17:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424207872001,"66":12613,"44":206,"19":45824,"24":40,"16":101365578987470848,"45":8968848314431834112},"client_ip":"117.224.198.240","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,19,24,16,45]} 
[2026-07-01 17:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424207872001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:30:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-07-01 17:30:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-07-01 17:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101365578987470848,"km_value":101365578987470.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8968848314431834112,"description":"Unknown IO ID 45"} 
[2026-07-01 17:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424207872001,"power":12613,"unknown_44":206,"unknown_19":45824,"ignition":40,"odometer":null,"unknown_45":8968848314431834112}} 
[2026-07-01 17:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":121038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418001,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:30:31] local.INFO: GPS data processed {"connection_id":121038,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:30:31] local.INFO: Acknowledgment sent {"connection_id":121038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:30:47] local.INFO: TCP Data received {"connection_id":119158,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d8bdc48012d18654007218218004b006727..."} 
[2026-07-01 17:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d8bdc48012d18654007218218004b006727..."} 
[2026-07-01 17:30:47] local.INFO: Processing buffer {"connection_id":119158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d8bdc48012d18654007218218004b006727..."} 
[2026-07-01 17:30:47] local.INFO: Packet analysis {"connection_id":119158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d8b"} 
[2026-07-01 17:30:47] local.INFO: Extracted packet for processing {"connection_id":119158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d8b"} 
[2026-07-01 17:30:47] local.INFO: GPS Element Parsed {"raw_longitude":756573504,"raw_latitude":119636504,"longitude_deg":75.6573504,"latitude_deg":11.9636504,"altitude":75,"angle":103,"satellites":39,"speed":29,"hex_longitude":"2d186540","hex_latitude":"07218218","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:30:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424224256001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:30:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4067849425387520,"note":"Value kept but may cause issues"} 
[2026-07-01 17:30:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1752181760651329536,"note":"Value kept but may cause issues"} 
[2026-07-01 17:30:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:30:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782907133000,"timestamp_ms":1782907133000,"timestamp_seconds":1782907133,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d8bdc48"} 
[2026-07-01 17: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-01 17:30:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7936,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-01 17:30:47] 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-01 17: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-01 17: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-01 17:30:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:30:47] local.INFO: Teltonika packet parsed successfully {"connection_id":119158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:30:47] local.INFO: Passing IMEI to GPS processor {"connection_id":119158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:30:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":119158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:30:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 17:30:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-01 17:30:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-01 17:30:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424224256001,"66":14265,"105":206,"83":41984,"24":29,"16":4067849425387520,"45":1752181760651329536},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-07-01 17:30:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-01 17:30:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-01 17:30:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424224256001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:30:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-01 17:30:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-01 17:30:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4067849425387520,"km_value":4067849425387.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:30:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1752181760651329536,"description":"Unknown IO ID 45"} 
[2026-07-01 17:30:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424224256001,"power":14265,"unknown_105":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1752181760651329536}} 
[2026-07-01 17:30:47] local.INFO: DEBUG: GPS processor result {"connection_id":119158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418002,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:30:47] local.INFO: GPS data processed {"connection_id":119158,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:30:47] local.INFO: Acknowledgment sent {"connection_id":119158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:30:51] local.INFO: TCP Data received {"connection_id":121040,"ip":"117.224.198.240","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121040,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:30:51] local.INFO: Processing buffer {"connection_id":121040,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:30:51] local.INFO: IMEI packet received {"connection_id":121040,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 17:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":121040,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:31:04] local.INFO: TCP Data received {"connection_id":119159,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d8a0788012cb2a68007751728001c00232e..."} 
[2026-07-01 17:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d8a0788012cb2a68007751728001c00232e..."} 
[2026-07-01 17:31:04] local.INFO: Processing buffer {"connection_id":119159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d8a0788012cb2a68007751728001c00232e..."} 
[2026-07-01 17:31:04] local.INFO: Packet analysis {"connection_id":119159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d8a"} 
[2026-07-01 17:31:04] local.INFO: Extracted packet for processing {"connection_id":119159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d8a"} 
[2026-07-01 17:31:04] local.INFO: GPS Element Parsed {"raw_longitude":749905536,"raw_latitude":125114152,"longitude_deg":74.9905536,"latitude_deg":12.5114152,"altitude":28,"angle":35,"satellites":46,"speed":0,"hex_longitude":"2cb2a680","hex_latitude":"07751728","is_valid_coordinates":true} 
[2026-07-01 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-01 17:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424117504001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333768041785458688,"note":"Value kept but may cause issues"} 
[2026-07-01 17:31:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573978563027746816,"note":"Value kept but may cause issues"} 
[2026-07-01 17:31:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782907013000,"timestamp_ms":1782907013000,"timestamp_seconds":1782907013,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d8a0788"} 
[2026-07-01 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-01 17:31:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 17:31:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 17:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":119159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":119159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":119159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:31:04] 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-01 17:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424117504001,"66":26245,"214":206,"85":36608,"24":0,"16":333768041785458688,"44":-5573978563027746816},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-07-01 17:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424117504001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:31:04] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-01 17:31:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333768041785458688,"km_value":333768041785458.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:31:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573978563027746816,"description":"Unknown IO ID 44"} 
[2026-07-01 17:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424117504001,"power":26245,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573978563027746816}} 
[2026-07-01 17:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":119159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:31:04] local.INFO: GPS data processed {"connection_id":119159,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:31:04] local.INFO: Acknowledgment sent {"connection_id":119159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:31:18] local.INFO: TCP Data received {"connection_id":119158,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d8d4b78012d18d9c00720fcd00036009227..."} 
[2026-07-01 17:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d8d4b78012d18d9c00720fcd00036009227..."} 
[2026-07-01 17:31:18] local.INFO: Processing buffer {"connection_id":119158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d8d4b78012d18d9c00720fcd00036009227..."} 
[2026-07-01 17:31:18] local.INFO: Packet analysis {"connection_id":119158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d8d"} 
[2026-07-01 17:31:18] local.INFO: Extracted packet for processing {"connection_id":119158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d8d"} 
[2026-07-01 17:31:18] local.INFO: GPS Element Parsed {"raw_longitude":756603328,"raw_latitude":119602384,"longitude_deg":75.6603328,"latitude_deg":11.9602384,"altitude":54,"angle":146,"satellites":39,"speed":33,"hex_longitude":"2d18d9c0","hex_latitude":"0720fcd0","is_valid_coordinates":true} 
[2026-07-01 17:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:31:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424248832001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:31:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4070361981255680,"note":"Value kept but may cause issues"} 
[2026-07-01 17:31:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788984613847965696,"note":"Value kept but may cause issues"} 
[2026-07-01 17:31:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:31:18] local.INFO: AVL Record Parsed {"raw_timestamp":1782907227000,"timestamp_ms":1782907227000,"timestamp_seconds":1782907227,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d8d4b78"} 
[2026-07-01 17:31:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:31:18] 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-01 17:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-07-01 17:31:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:31:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:31:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:31:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:31:18] local.INFO: Teltonika packet parsed successfully {"connection_id":119158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:31:18] local.INFO: Passing IMEI to GPS processor {"connection_id":119158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:31:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":119158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:31:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 17:31:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-01 17:31:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-01 17:31:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424248832001,"66":13917,"103":206,"83":41984,"24":33,"16":4070361981255680,"45":1788984613847965696},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-01 17:31:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-01 17:31:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-01 17:31:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424248832001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:31:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-01 17:31:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-01 17:31:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4070361981255680,"km_value":4070361981255.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:31:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788984613847965696,"description":"Unknown IO ID 45"} 
[2026-07-01 17:31:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424248832001,"power":13917,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1788984613847965696}} 
[2026-07-01 17:31:18] local.INFO: DEBUG: GPS processor result {"connection_id":119158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418004,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:31:18] local.INFO: GPS data processed {"connection_id":119158,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:31:18] local.INFO: Acknowledgment sent {"connection_id":119158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:31:20] local.INFO: TCP Data received {"connection_id":119160,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:31:20] local.INFO: Processing buffer {"connection_id":119160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:31:20] local.INFO: IMEI packet received {"connection_id":119160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 17:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":119160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:31:25] local.INFO: TCP Data received {"connection_id":119160,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:31:25] local.INFO: Processing buffer {"connection_id":119160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:31:25] local.INFO: IMEI packet received {"connection_id":119160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":119160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:31:26] local.INFO: TCP Data received {"connection_id":119160,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d8a0788012cb2a68007751728001c00232e..."} 
[2026-07-01 17:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d8a0788012cb2a68007751728001c00232e..."} 
[2026-07-01 17:31:26] local.INFO: Processing buffer {"connection_id":119160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d8a0788012cb2a68007751728001c00232e..."} 
[2026-07-01 17:31:26] local.INFO: Packet analysis {"connection_id":119160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d8a"} 
[2026-07-01 17:31:26] local.INFO: Extracted packet for processing {"connection_id":119160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d8a"} 
[2026-07-01 17:31:26] local.INFO: GPS Element Parsed {"raw_longitude":749905536,"raw_latitude":125114152,"longitude_deg":74.9905536,"latitude_deg":12.5114152,"altitude":28,"angle":35,"satellites":46,"speed":0,"hex_longitude":"2cb2a680","hex_latitude":"07751728","is_valid_coordinates":true} 
[2026-07-01 17:31:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424117504001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333768041785458688,"note":"Value kept but may cause issues"} 
[2026-07-01 17:31:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573978563027746816,"note":"Value kept but may cause issues"} 
[2026-07-01 17:31:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782907013000,"timestamp_ms":1782907013000,"timestamp_seconds":1782907013,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d8a0788"} 
[2026-07-01 17:31:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:31:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 17:31:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 17:31:26] 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-01 17:31:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:31:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:31:26] 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-01 17:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424117504001,"66":26245,"214":206,"85":36608,"24":0,"16":333768041785458688,"44":-5573978563027746816},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-07-01 17:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424117504001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:31:26] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-01 17:31:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333768041785458688,"km_value":333768041785458.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:31:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573978563027746816,"description":"Unknown IO ID 44"} 
[2026-07-01 17:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424117504001,"power":26245,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573978563027746816}} 
[2026-07-01 17:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":119160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:31:26] local.INFO: GPS data processed {"connection_id":119160,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:31:26] local.INFO: Acknowledgment sent {"connection_id":119160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:31:49] local.INFO: TCP Data received {"connection_id":119158,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d8d4f60012d18dc000720fa580036008727..."} 
[2026-07-01 17:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d8d4f60012d18dc000720fa580036008727..."} 
[2026-07-01 17:31:49] local.INFO: Processing buffer {"connection_id":119158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d8d4f60012d18dc000720fa580036008727..."} 
[2026-07-01 17:31:49] local.INFO: Packet analysis {"connection_id":119158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d8d"} 
[2026-07-01 17:31:49] local.INFO: Extracted packet for processing {"connection_id":119158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d8d"} 
[2026-07-01 17:31:49] local.INFO: GPS Element Parsed {"raw_longitude":756603904,"raw_latitude":119601752,"longitude_deg":75.6603904,"latitude_deg":11.9601752,"altitude":54,"angle":135,"satellites":39,"speed":35,"hex_longitude":"2d18dc00","hex_latitude":"0720fa58","is_valid_coordinates":true} 
[2026-07-01 17:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:31:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424250112001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4070404930928640,"note":"Value kept but may cause issues"} 
[2026-07-01 17:31:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790673463707226112,"note":"Value kept but may cause issues"} 
[2026-07-01 17:31:49] 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-01 17:31:49] local.INFO: AVL Record Parsed {"raw_timestamp":1782907228000,"timestamp_ms":1782907228000,"timestamp_seconds":1782907228,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d8d4f60"} 
[2026-07-01 17:31:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:31:49] 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-01 17:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-07-01 17:31:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:31:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:31:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":119158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":119158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":119158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:31:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 17:31:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-01 17:31:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-01 17:31:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424250112001,"66":13917,"103":206,"83":41984,"24":35,"16":4070404930928640,"45":1790673463707226112},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-01 17:31:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-01 17:31:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-01 17:31:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424250112001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:31:49] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-01 17:31:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-01 17:31:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4070404930928640,"km_value":4070404930928.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:31:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790673463707226112,"description":"Unknown IO ID 45"} 
[2026-07-01 17:31:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424250112001,"power":13917,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1790673463707226112}} 
[2026-07-01 17:31:49] local.INFO: DEBUG: GPS processor result {"connection_id":119158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418006,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:31:49] local.INFO: GPS data processed {"connection_id":119158,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:31:49] local.INFO: Acknowledgment sent {"connection_id":119158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:32:00] local.INFO: TCP Data received {"connection_id":119160,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d8a0788012cb2a68007751728001c00232e..."} 
[2026-07-01 17:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d8a0788012cb2a68007751728001c00232e..."} 
[2026-07-01 17:32:00] local.INFO: Processing buffer {"connection_id":119160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d8a0788012cb2a68007751728001c00232e..."} 
[2026-07-01 17:32:00] local.INFO: Packet analysis {"connection_id":119160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d8a"} 
[2026-07-01 17:32:00] local.INFO: Extracted packet for processing {"connection_id":119160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d8a"} 
[2026-07-01 17:32:00] local.INFO: GPS Element Parsed {"raw_longitude":749905536,"raw_latitude":125114152,"longitude_deg":74.9905536,"latitude_deg":12.5114152,"altitude":28,"angle":35,"satellites":46,"speed":0,"hex_longitude":"2cb2a680","hex_latitude":"07751728","is_valid_coordinates":true} 
[2026-07-01 17:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:32:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424117504001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:32:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333768041785458688,"note":"Value kept but may cause issues"} 
[2026-07-01 17:32:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573978563027746816,"note":"Value kept but may cause issues"} 
[2026-07-01 17:32:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:32:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782907013000,"timestamp_ms":1782907013000,"timestamp_seconds":1782907013,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d8a0788"} 
[2026-07-01 17:32:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:32:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 17:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 17:32:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:32:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:32:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:32:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:32:00] local.INFO: Teltonika packet parsed successfully {"connection_id":119160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:32:00] local.INFO: Passing IMEI to GPS processor {"connection_id":119160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:32:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":119160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:32:00] 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-01 17:32:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:32:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:32:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424117504001,"66":26245,"214":206,"85":36608,"24":0,"16":333768041785458688,"44":-5573978563027746816},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-07-01 17:32:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:32:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:32:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424117504001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:32:00] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-01 17:32:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:32:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333768041785458688,"km_value":333768041785458.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:32:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573978563027746816,"description":"Unknown IO ID 44"} 
[2026-07-01 17:32:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424117504001,"power":26245,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573978563027746816}} 
[2026-07-01 17:32:00] local.INFO: DEBUG: GPS processor result {"connection_id":119160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:32:00] local.INFO: GPS data processed {"connection_id":119160,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:32:00] local.INFO: Acknowledgment sent {"connection_id":119160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:32:20] local.INFO: TCP Data received {"connection_id":119158,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d8d62e8012d18e8800720eba80035009428..."} 
[2026-07-01 17:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d8d62e8012d18e8800720eba80035009428..."} 
[2026-07-01 17:32:20] local.INFO: Processing buffer {"connection_id":119158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d8d62e8012d18e8800720eba80035009428..."} 
[2026-07-01 17:32:20] local.INFO: Packet analysis {"connection_id":119158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d8d"} 
[2026-07-01 17:32:20] local.INFO: Extracted packet for processing {"connection_id":119158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d8d"} 
[2026-07-01 17:32:20] local.INFO: GPS Element Parsed {"raw_longitude":756607104,"raw_latitude":119597992,"longitude_deg":75.6607104,"latitude_deg":11.9597992,"altitude":53,"angle":148,"satellites":40,"speed":42,"hex_longitude":"2d18e880","hex_latitude":"0720eba8","is_valid_coordinates":true} 
[2026-07-01 17:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424250368001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4070645449097216,"note":"Value kept but may cause issues"} 
[2026-07-01 17:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791306782404663296,"note":"Value kept but may cause issues"} 
[2026-07-01 17:32:20] 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-01 17:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782907233000,"timestamp_ms":1782907233000,"timestamp_seconds":1782907233,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d8d62e8"} 
[2026-07-01 17:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:32:20] 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-01 17:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-07-01 17:32:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:32:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":119158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":119158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":119158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:32:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 17:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-01 17:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-01 17:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424250368001,"66":14102,"103":206,"83":41984,"24":42,"16":4070645449097216,"45":1791306782404663296},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-01 17:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-01 17:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-01 17:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424250368001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:32:20] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-01 17:32:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-01 17:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4070645449097216,"km_value":4070645449097.216,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791306782404663296,"description":"Unknown IO ID 45"} 
[2026-07-01 17:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424250368001,"power":14102,"unknown_103":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1791306782404663296}} 
[2026-07-01 17:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":119158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418008,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:32:20] local.INFO: GPS data processed {"connection_id":119158,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:32:20] local.INFO: Acknowledgment sent {"connection_id":119158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:32:25] local.INFO: TCP Data received {"connection_id":119955,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:32:25] local.INFO: Processing buffer {"connection_id":119955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:32:25] local.INFO: IMEI packet received {"connection_id":119955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 17:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":119955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:32:30] local.INFO: TCP Data received {"connection_id":119955,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:32:30] local.INFO: Processing buffer {"connection_id":119955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:32:30] local.INFO: IMEI packet received {"connection_id":119955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":119955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:32:31] local.INFO: TCP Data received {"connection_id":119955,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d8a0788012cb2a68007751728001c00232e..."} 
[2026-07-01 17:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d8a0788012cb2a68007751728001c00232e..."} 
[2026-07-01 17:32:31] local.INFO: Processing buffer {"connection_id":119955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d8a0788012cb2a68007751728001c00232e..."} 
[2026-07-01 17:32:31] local.INFO: Packet analysis {"connection_id":119955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d8a"} 
[2026-07-01 17:32:31] local.INFO: Extracted packet for processing {"connection_id":119955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d8a"} 
[2026-07-01 17:32:31] local.INFO: GPS Element Parsed {"raw_longitude":749905536,"raw_latitude":125114152,"longitude_deg":74.9905536,"latitude_deg":12.5114152,"altitude":28,"angle":35,"satellites":46,"speed":0,"hex_longitude":"2cb2a680","hex_latitude":"07751728","is_valid_coordinates":true} 
[2026-07-01 17:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424117504001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333768041785458688,"note":"Value kept but may cause issues"} 
[2026-07-01 17:32:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573978563027746816,"note":"Value kept but may cause issues"} 
[2026-07-01 17:32:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782907013000,"timestamp_ms":1782907013000,"timestamp_seconds":1782907013,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d8a0788"} 
[2026-07-01 17:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:32:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 17:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 17:32:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:32:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:32:31] 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-01 17:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424117504001,"66":26245,"214":206,"85":36608,"24":0,"16":333768041785458688,"44":-5573978563027746816},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-07-01 17:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424117504001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:32:31] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-01 17:32:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333768041785458688,"km_value":333768041785458.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:32:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573978563027746816,"description":"Unknown IO ID 44"} 
[2026-07-01 17:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424117504001,"power":26245,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573978563027746816}} 
[2026-07-01 17:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":119955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:32:31] local.INFO: GPS data processed {"connection_id":119955,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:32:31] local.INFO: Acknowledgment sent {"connection_id":119955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:32:42] local.INFO: TCP Data received {"connection_id":119270,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119270,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:32:42] local.INFO: Processing buffer {"connection_id":119270,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:32:42] local.INFO: IMEI packet received {"connection_id":119270,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 17:32:42] local.INFO: IMEI acknowledgment sent {"connection_id":119270,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:32:46] local.INFO: TCP Data received {"connection_id":119270,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119270,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:32:46] local.INFO: Processing buffer {"connection_id":119270,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:32:46] local.INFO: IMEI packet received {"connection_id":119270,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 17:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":119270,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:32:46] local.INFO: TCP Data received {"connection_id":119954,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119954,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:32:46] local.INFO: Processing buffer {"connection_id":119954,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:32:46] local.INFO: IMEI packet received {"connection_id":119954,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 17:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":119954,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:32:47] local.INFO: TCP Data received {"connection_id":119270,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d8dc490012d7cdf8005e209d00006005429..."} 
[2026-07-01 17:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d8dc490012d7cdf8005e209d00006005429..."} 
[2026-07-01 17:32:47] local.INFO: Processing buffer {"connection_id":119270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d8dc490012d7cdf8005e209d00006005429..."} 
[2026-07-01 17:32:47] local.INFO: Packet analysis {"connection_id":119270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d8d"} 
[2026-07-01 17:32:47] local.INFO: Extracted packet for processing {"connection_id":119270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d8d"} 
[2026-07-01 17:32:47] local.INFO: GPS Element Parsed {"raw_longitude":763158400,"raw_latitude":98699728,"longitude_deg":76.31584,"latitude_deg":9.8699728,"altitude":6,"angle":84,"satellites":41,"speed":3,"hex_longitude":"2d7cdf80","hex_latitude":"05e209d0","is_valid_coordinates":true} 
[2026-07-01 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-01 17:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424253952001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101366429390995456,"note":"Value kept but may cause issues"} 
[2026-07-01 17:32:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8997910605776613376,"note":"Value kept but may cause issues"} 
[2026-07-01 17:32:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782907258000,"timestamp_ms":1782907258000,"timestamp_seconds":1782907258,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d8dc490"} 
[2026-07-01 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-01 17:32:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 17:32:47] 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-01 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-01 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-01 17:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":119270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":119270,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":119270,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:32: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-01 17:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424253952001,"66":12743,"44":206,"19":45824,"24":3,"16":101366429390995456,"45":8997910605776613376},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,19,24,16,45]} 
[2026-07-01 17:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424253952001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:32:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-07-01 17:32:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-07-01 17:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101366429390995456,"km_value":101366429390995.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:32:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8997910605776613376,"description":"Unknown IO ID 45"} 
[2026-07-01 17:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424253952001,"power":12743,"unknown_44":206,"unknown_19":45824,"ignition":3,"odometer":null,"unknown_45":8997910605776613376}} 
[2026-07-01 17:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":119270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418010,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:32:47] local.INFO: GPS data processed {"connection_id":119270,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:32:47] local.INFO: Acknowledgment sent {"connection_id":119270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:32:47] local.INFO: TCP Data received {"connection_id":119270,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d8e0ae0012d7d00c005e20d90000300622b..."} 
[2026-07-01 17:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d8e0ae0012d7d00c005e20d90000300622b..."} 
[2026-07-01 17:32:47] local.INFO: Processing buffer {"connection_id":119270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d8e0ae0012d7d00c005e20d90000300622b..."} 
[2026-07-01 17:32:47] local.INFO: Packet analysis {"connection_id":119270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d8e"} 
[2026-07-01 17:32:47] local.INFO: Extracted packet for processing {"connection_id":119270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d8e"} 
[2026-07-01 17:32:47] local.INFO: GPS Element Parsed {"raw_longitude":763166912,"raw_latitude":98700688,"longitude_deg":76.3166912,"latitude_deg":9.8700688,"altitude":3,"angle":98,"satellites":43,"speed":7,"hex_longitude":"2d7d00c0","hex_latitude":"05e20d90","is_valid_coordinates":true} 
[2026-07-01 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-01 17:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424258048001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101366837412888576,"note":"Value kept but may cause issues"} 
[2026-07-01 17:32:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8998051343265026048,"note":"Value kept but may cause issues"} 
[2026-07-01 17:32:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782907276000,"timestamp_ms":1782907276000,"timestamp_seconds":1782907276,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d8e0ae0"} 
[2026-07-01 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-01 17:32:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-07-01 17:32:47] 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-01 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-01 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-01 17:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":119270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":119270,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":119270,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:32: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-01 17:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424258048001,"66":12939,"44":206,"19":45824,"24":7,"16":101366837412888576,"45":8998051343265026048},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,19,24,16,45]} 
[2026-07-01 17:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424258048001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:32:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-07-01 17:32:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":45824,"description":"Unknown IO ID 19"} 
[2026-07-01 17:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101366837412888576,"km_value":101366837412888.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:32:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8998051343265026048,"description":"Unknown IO ID 45"} 
[2026-07-01 17:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424258048001,"power":12939,"unknown_44":206,"unknown_19":45824,"ignition":7,"odometer":null,"unknown_45":8998051343265026048}} 
[2026-07-01 17:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":119270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418011,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:32:47] local.INFO: GPS data processed {"connection_id":119270,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:32:47] local.INFO: Acknowledgment sent {"connection_id":119270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:32:51] local.INFO: TCP Data received {"connection_id":119158,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d8ea338012d1962000720ad700022006026..."} 
[2026-07-01 17:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d8ea338012d1962000720ad700022006026..."} 
[2026-07-01 17:32:51] local.INFO: Processing buffer {"connection_id":119158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d8ea338012d1962000720ad700022006026..."} 
[2026-07-01 17:32:51] local.INFO: Packet analysis {"connection_id":119158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d8e"} 
[2026-07-01 17:32:51] local.INFO: Extracted packet for processing {"connection_id":119158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d8e"} 
[2026-07-01 17:32:51] local.INFO: GPS Element Parsed {"raw_longitude":756638208,"raw_latitude":119582064,"longitude_deg":75.6638208,"latitude_deg":11.9582064,"altitude":34,"angle":96,"satellites":38,"speed":7,"hex_longitude":"2d196200","hex_latitude":"0720ad70","is_valid_coordinates":true} 
[2026-07-01 17:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424270848001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4072479400132608,"note":"Value kept but may cause issues"} 
[2026-07-01 17:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828813323046307840,"note":"Value kept but may cause issues"} 
[2026-07-01 17:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782907315000,"timestamp_ms":1782907315000,"timestamp_seconds":1782907315,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d8ea338"} 
[2026-07-01 17:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:32:51] 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-01 17:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-07-01 17:32:51] 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-01 17:32:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":119158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":119158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":119158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 17:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-01 17:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-01 17:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424270848001,"66":14048,"103":206,"83":41984,"24":7,"16":4072479400132608,"45":1828813323046307840},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-01 17:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-01 17:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-01 17:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424270848001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:32:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-01 17:32:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-01 17:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4072479400132608,"km_value":4072479400132.608,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828813323046307840,"description":"Unknown IO ID 45"} 
[2026-07-01 17:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424270848001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1828813323046307840}} 
[2026-07-01 17:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":119158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418012,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:32:51] local.INFO: GPS data processed {"connection_id":119158,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:32:51] local.INFO: Acknowledgment sent {"connection_id":119158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:33:02] local.INFO: TCP Data received {"connection_id":119955,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d8e9f50012cb2a68007751728001c002321..."} 
[2026-07-01 17:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d8e9f50012cb2a68007751728001c002321..."} 
[2026-07-01 17:33:02] local.INFO: Processing buffer {"connection_id":119955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d8e9f50012cb2a68007751728001c002321..."} 
[2026-07-01 17:33:02] local.INFO: Packet analysis {"connection_id":119955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d8e"} 
[2026-07-01 17:33:02] local.INFO: Extracted packet for processing {"connection_id":119955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d8e"} 
[2026-07-01 17:33:02] local.INFO: GPS Element Parsed {"raw_longitude":749905536,"raw_latitude":125114152,"longitude_deg":74.9905536,"latitude_deg":12.5114152,"altitude":28,"angle":35,"satellites":33,"speed":0,"hex_longitude":"2cb2a680","hex_latitude":"07751728","is_valid_coordinates":true} 
[2026-07-01 17:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424195328001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333768041785458688,"note":"Value kept but may cause issues"} 
[2026-07-01 17:33:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573626719306831872,"note":"Value kept but may cause issues"} 
[2026-07-01 17:33:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782907314000,"timestamp_ms":1782907314000,"timestamp_seconds":1782907314,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d8e9f50"} 
[2026-07-01 17:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:33:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 17:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-01 17:33:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:33:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":119955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":119955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":119955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:33:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 17:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424195328001,"66":25962,"214":206,"85":36608,"24":0,"16":333768041785458688,"44":-5573626719306831872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-07-01 17:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424195328001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:33:02] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-01 17:33:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333768041785458688,"km_value":333768041785458.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:33:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573626719306831872,"description":"Unknown IO ID 44"} 
[2026-07-01 17:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424195328001,"power":25962,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573626719306831872}} 
[2026-07-01 17:33:02] local.INFO: DEBUG: GPS processor result {"connection_id":119955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:33:02] local.INFO: GPS data processed {"connection_id":119955,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:33:02] local.INFO: Acknowledgment sent {"connection_id":119955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:33:14] local.INFO: TCP Data received {"connection_id":121041,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121041,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:33:14] local.INFO: Processing buffer {"connection_id":121041,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:33:14] local.INFO: IMEI packet received {"connection_id":121041,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 17:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":121041,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:33:18] local.INFO: TCP Data received {"connection_id":119270,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d8fc448012d7e2dc005e20928000600962a..."} 
[2026-07-01 17:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d8fc448012d7e2dc005e20928000600962a..."} 
[2026-07-01 17:33:18] local.INFO: Processing buffer {"connection_id":119270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d8fc448012d7e2dc005e20928000600962a..."} 
[2026-07-01 17:33:18] local.INFO: Packet analysis {"connection_id":119270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d8f"} 
[2026-07-01 17:33:18] local.INFO: Extracted packet for processing {"connection_id":119270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d8f"} 
[2026-07-01 17:33:18] local.INFO: GPS Element Parsed {"raw_longitude":763243968,"raw_latitude":98699560,"longitude_deg":76.3243968,"latitude_deg":9.869956,"altitude":6,"angle":150,"satellites":42,"speed":24,"hex_longitude":"2d7e2dc0","hex_latitude":"05e20928","is_valid_coordinates":true} 
[2026-07-01 17:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:33:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424291328001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:33:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101370625574043648,"note":"Value kept but may cause issues"} 
[2026-07-01 17:33:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9091782510509766656,"note":"Value kept but may cause issues"} 
[2026-07-01 17:33:18] 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-01 17:33:18] local.INFO: AVL Record Parsed {"raw_timestamp":1782907389000,"timestamp_ms":1782907389000,"timestamp_seconds":1782907389,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d8fc448"} 
[2026-07-01 17:33:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:33:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-01 17:33:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:33:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:33:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:33:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:33:18] local.INFO: Teltonika packet parsed successfully {"connection_id":119270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:33:18] local.INFO: Passing IMEI to GPS processor {"connection_id":119270,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:33:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":119270,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:33:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 17:33:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:33:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:33:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424291328001,"66":12765,"61":206,"85":15104,"24":24,"16":101370625574043648,"45":9091782510509766656},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-01 17:33:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:33:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:33:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424291328001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:33:18] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 17:33:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:33:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101370625574043648,"km_value":101370625574043.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:33:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9091782510509766656,"description":"Unknown IO ID 45"} 
[2026-07-01 17:33:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424291328001,"power":12765,"unknown_61":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":9091782510509766656}} 
[2026-07-01 17:33:18] local.INFO: DEBUG: GPS processor result {"connection_id":119270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418014,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:33:18] local.INFO: GPS data processed {"connection_id":119270,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:33:18] local.INFO: Acknowledgment sent {"connection_id":119270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:33:20] local.INFO: TCP Data received {"connection_id":121042,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:33:20] local.INFO: Processing buffer {"connection_id":121042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:33:20] local.INFO: IMEI packet received {"connection_id":121042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 17:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":121042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:33:22] local.INFO: TCP Data received {"connection_id":119158,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d8eb2d8012d1965c00720ad680022005426..."} 
[2026-07-01 17:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d8eb2d8012d1965c00720ad680022005426..."} 
[2026-07-01 17:33:22] local.INFO: Processing buffer {"connection_id":119158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d8eb2d8012d1965c00720ad680022005426..."} 
[2026-07-01 17:33:22] local.INFO: Packet analysis {"connection_id":119158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d8e"} 
[2026-07-01 17:33:22] local.INFO: Extracted packet for processing {"connection_id":119158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d8e"} 
[2026-07-01 17:33:22] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119582056,"longitude_deg":75.6639168,"latitude_deg":11.9582056,"altitude":34,"angle":84,"satellites":38,"speed":13,"hex_longitude":"2d1965c0","hex_latitude":"0720ad68","is_valid_coordinates":true} 
[2026-07-01 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-01 17:33:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424272640001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:33:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4072526644772864,"note":"Value kept but may cause issues"} 
[2026-07-01 17:33:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829024429278851072,"note":"Value kept but may cause issues"} 
[2026-07-01 17:33:22] 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-01 17:33:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782907319000,"timestamp_ms":1782907319000,"timestamp_seconds":1782907319,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d8eb2d8"} 
[2026-07-01 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-01 17:33:22] 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-01 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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-01 17:33:22] 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-01 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-01 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-01 17:33:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:33:22] local.INFO: Teltonika packet parsed successfully {"connection_id":119158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:33:22] local.INFO: Passing IMEI to GPS processor {"connection_id":119158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:33:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":119158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:33:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 17:33:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-01 17:33:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-01 17:33:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424272640001,"66":14428,"103":206,"83":41984,"24":13,"16":4072526644772864,"45":1829024429278851072},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-01 17:33:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-01 17:33:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-01 17:33:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424272640001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:33:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-01 17:33:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-01 17:33:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4072526644772864,"km_value":4072526644772.864,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:33:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829024429278851072,"description":"Unknown IO ID 45"} 
[2026-07-01 17:33:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424272640001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1829024429278851072}} 
[2026-07-01 17:33:22] local.INFO: DEBUG: GPS processor result {"connection_id":119158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418015,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:33:22] local.INFO: GPS data processed {"connection_id":119158,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:33:22] local.INFO: Acknowledgment sent {"connection_id":119158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:33:25] local.INFO: TCP Data received {"connection_id":121042,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:33:25] local.INFO: Processing buffer {"connection_id":121042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:33:25] local.INFO: IMEI packet received {"connection_id":121042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:33:25] local.INFO: IMEI acknowledgment sent {"connection_id":121042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:33:26] local.INFO: TCP Data received {"connection_id":121042,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d8e9f50012cb2a68007751728001c002321..."} 
[2026-07-01 17:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d8e9f50012cb2a68007751728001c002321..."} 
[2026-07-01 17:33:26] local.INFO: Processing buffer {"connection_id":121042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d8e9f50012cb2a68007751728001c002321..."} 
[2026-07-01 17:33:26] local.INFO: Packet analysis {"connection_id":121042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d8e"} 
[2026-07-01 17:33:26] local.INFO: Extracted packet for processing {"connection_id":121042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d8e"} 
[2026-07-01 17:33:26] local.INFO: GPS Element Parsed {"raw_longitude":749905536,"raw_latitude":125114152,"longitude_deg":74.9905536,"latitude_deg":12.5114152,"altitude":28,"angle":35,"satellites":33,"speed":0,"hex_longitude":"2cb2a680","hex_latitude":"07751728","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:33:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424195328001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:33:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333768041785458688,"note":"Value kept but may cause issues"} 
[2026-07-01 17:33:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573626719306831872,"note":"Value kept but may cause issues"} 
[2026-07-01 17:33:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:33:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782907314000,"timestamp_ms":1782907314000,"timestamp_seconds":1782907314,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d8e9f50"} 
[2026-07-01 17: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-01 17:33:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 17: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":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-01 17:33:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17: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-01 17: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-01 17:33:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:33:26] local.INFO: Teltonika packet parsed successfully {"connection_id":121042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:33:26] local.INFO: Passing IMEI to GPS processor {"connection_id":121042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:33:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":121042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:33:26] 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-01 17:33:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:33:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:33:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424195328001,"66":25962,"214":206,"85":36608,"24":0,"16":333768041785458688,"44":-5573626719306831872},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-07-01 17:33:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:33:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:33:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424195328001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:33:26] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-01 17:33:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:33:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333768041785458688,"km_value":333768041785458.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:33:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573626719306831872,"description":"Unknown IO ID 44"} 
[2026-07-01 17:33:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424195328001,"power":25962,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573626719306831872}} 
[2026-07-01 17:33:26] local.INFO: DEBUG: GPS processor result {"connection_id":121042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:33:26] local.INFO: GPS data processed {"connection_id":121042,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:33:26] local.INFO: Acknowledgment sent {"connection_id":121042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:33:48] local.INFO: TCP Data received {"connection_id":119162,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:33:48] local.INFO: Processing buffer {"connection_id":119162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:33:48] local.INFO: IMEI packet received {"connection_id":119162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-01 17:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":119162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:33:50] local.INFO: TCP Data received {"connection_id":119163,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119163,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:33:50] local.INFO: Processing buffer {"connection_id":119163,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:33:50] local.INFO: IMEI packet received {"connection_id":119163,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 17:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":119163,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:33:51] local.INFO: TCP Data received {"connection_id":119162,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:33:51] local.INFO: Processing buffer {"connection_id":119162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:33:51] local.INFO: IMEI packet received {"connection_id":119162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-01 17:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":119162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:33:51] local.INFO: TCP Data received {"connection_id":119163,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119163,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:33:51] local.INFO: Processing buffer {"connection_id":119163,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:33:51] local.INFO: IMEI packet received {"connection_id":119163,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 17:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":119163,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:33:53] local.INFO: TCP Data received {"connection_id":119162,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:33:53] local.INFO: Processing buffer {"connection_id":119162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:33:53] local.INFO: IMEI packet received {"connection_id":119162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-01 17:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":119162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:33:54] local.INFO: TCP Data received {"connection_id":119162,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d8f6e58012d19aec007209138002a00c225..."} 
[2026-07-01 17:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d8f6e58012d19aec007209138002a00c225..."} 
[2026-07-01 17:33:54] local.INFO: Processing buffer {"connection_id":119162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d8f6e58012d19aec007209138002a00c225..."} 
[2026-07-01 17:33:54] local.INFO: Packet analysis {"connection_id":119162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d8f"} 
[2026-07-01 17:33:54] local.INFO: Extracted packet for processing {"connection_id":119162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d8f"} 
[2026-07-01 17:33:54] local.INFO: GPS Element Parsed {"raw_longitude":756657856,"raw_latitude":119574840,"longitude_deg":75.6657856,"latitude_deg":11.957484,"altitude":42,"angle":194,"satellites":37,"speed":24,"hex_longitude":"2d19aec0","hex_latitude":"07209138","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:33:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424284160001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:33:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4073943983980544,"note":"Value kept but may cause issues"} 
[2026-07-01 17:33:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853512752251738112,"note":"Value kept but may cause issues"} 
[2026-07-01 17:33:54] 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-01 17:33:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782907367000,"timestamp_ms":1782907367000,"timestamp_seconds":1782907367,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d8f6e58"} 
[2026-07-01 17: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-01 17:33:54] 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-01 17: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-07-01 17:33:54] 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-01 17: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-01 17: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-01 17:33:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:33:54] local.INFO: Teltonika packet parsed successfully {"connection_id":119162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:33:54] local.INFO: Passing IMEI to GPS processor {"connection_id":119162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:33:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":119162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:33:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 17:33:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-01 17:33:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-01 17:33:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424284160001,"66":14374,"103":206,"83":41984,"24":24,"16":4073943983980544,"45":1853512752251738112},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-01 17:33:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-01 17:33:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-01 17:33:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424284160001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:33:54] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-01 17:33:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-01 17:33:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4073943983980544,"km_value":4073943983980.544,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:33:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853512752251738112,"description":"Unknown IO ID 45"} 
[2026-07-01 17:33:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424284160001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1853512752251738112}} 
[2026-07-01 17:33:54] local.INFO: DEBUG: GPS processor result {"connection_id":119162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:33:54] local.INFO: GPS data processed {"connection_id":119162,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:33:54] local.INFO: Acknowledgment sent {"connection_id":119162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:33:56] local.INFO: TCP Data received {"connection_id":119163,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119163,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:33:56] local.INFO: Processing buffer {"connection_id":119163,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:33:56] local.INFO: IMEI packet received {"connection_id":119163,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 17:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":119163,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:33:58] local.INFO: TCP Data received {"connection_id":121042,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d8e9f50012cb2a68007751728001c002321..."} 
[2026-07-01 17:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d8e9f50012cb2a68007751728001c002321..."} 
[2026-07-01 17:33:58] local.INFO: Processing buffer {"connection_id":121042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d8e9f50012cb2a68007751728001c002321..."} 
[2026-07-01 17:33:58] local.INFO: Packet analysis {"connection_id":121042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d8e"} 
[2026-07-01 17:33:58] local.INFO: Extracted packet for processing {"connection_id":121042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d8e"} 
[2026-07-01 17:33:58] local.INFO: GPS Element Parsed {"raw_longitude":749905536,"raw_latitude":125114152,"longitude_deg":74.9905536,"latitude_deg":12.5114152,"altitude":28,"angle":35,"satellites":33,"speed":0,"hex_longitude":"2cb2a680","hex_latitude":"07751728","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424195328001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333768041785458688,"note":"Value kept but may cause issues"} 
[2026-07-01 17:33:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573626719306831872,"note":"Value kept but may cause issues"} 
[2026-07-01 17:33:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782907314000,"timestamp_ms":1782907314000,"timestamp_seconds":1782907314,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d8e9f50"} 
[2026-07-01 17: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-01 17:33:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 17: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":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-01 17:33:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17: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-01 17: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-01 17:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":121042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":121042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":121042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:33:58] 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-01 17:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424195328001,"66":25962,"214":206,"85":36608,"24":0,"16":333768041785458688,"44":-5573626719306831872},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-07-01 17:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424195328001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:33:58] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-01 17:33:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333768041785458688,"km_value":333768041785458.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:33:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573626719306831872,"description":"Unknown IO ID 44"} 
[2026-07-01 17:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424195328001,"power":25962,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573626719306831872}} 
[2026-07-01 17:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":121042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:33:58] local.INFO: GPS data processed {"connection_id":121042,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:33:58] local.INFO: Acknowledgment sent {"connection_id":121042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:33:59] local.INFO: TCP Data received {"connection_id":119163,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d8fc830012d7e2e8005e206c0000600a52a..."} 
[2026-07-01 17:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d8fc830012d7e2e8005e206c0000600a52a..."} 
[2026-07-01 17:33:59] local.INFO: Processing buffer {"connection_id":119163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d8fc830012d7e2e8005e206c0000600a52a..."} 
[2026-07-01 17:33:59] local.INFO: Packet analysis {"connection_id":119163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d8f"} 
[2026-07-01 17:33:59] local.INFO: Extracted packet for processing {"connection_id":119163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d8f"} 
[2026-07-01 17:33:59] local.INFO: GPS Element Parsed {"raw_longitude":763244160,"raw_latitude":98698944,"longitude_deg":76.324416,"latitude_deg":9.8698944,"altitude":6,"angle":165,"satellites":42,"speed":25,"hex_longitude":"2d7e2e80","hex_latitude":"05e206c0","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424291584001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101370655638814720,"note":"Value kept but may cause issues"} 
[2026-07-01 17:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9092134354230519808,"note":"Value kept but may cause issues"} 
[2026-07-01 17:33:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782907390000,"timestamp_ms":1782907390000,"timestamp_seconds":1782907390,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d8fc830"} 
[2026-07-01 17: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-01 17:33:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-01 17:33: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-01 17: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-01 17: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-01 17:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119163,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119163,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:33:59] 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-01 17:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424291584001,"66":12765,"61":206,"85":15104,"24":25,"16":101370655638814720,"45":9092134354230519808},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-07-01 17:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424291584001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:33:59] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 17:33:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101370655638814720,"km_value":101370655638814.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9092134354230519808,"description":"Unknown IO ID 45"} 
[2026-07-01 17:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424291584001,"power":12765,"unknown_61":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":9092134354230519808}} 
[2026-07-01 17:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":119163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418019,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:33:59] local.INFO: GPS data processed {"connection_id":119163,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:33:59] local.INFO: Acknowledgment sent {"connection_id":119163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:34:20] local.INFO: TCP Data received {"connection_id":121043,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:34:20] local.INFO: Processing buffer {"connection_id":121043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:34:20] local.INFO: IMEI packet received {"connection_id":121043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 17:34:20] local.INFO: IMEI acknowledgment sent {"connection_id":121043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:34:25] local.INFO: TCP Data received {"connection_id":121043,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:34:25] local.INFO: Processing buffer {"connection_id":121043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:34:25] local.INFO: IMEI packet received {"connection_id":121043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":121043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:34:25] local.INFO: TCP Data received {"connection_id":119162,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d8f7240012d19ae8007208eb8002900b427..."} 
[2026-07-01 17:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d8f7240012d19ae8007208eb8002900b427..."} 
[2026-07-01 17:34:25] local.INFO: Processing buffer {"connection_id":119162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d8f7240012d19ae8007208eb8002900b427..."} 
[2026-07-01 17:34:25] local.INFO: Packet analysis {"connection_id":119162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d8f"} 
[2026-07-01 17:34:25] local.INFO: Extracted packet for processing {"connection_id":119162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d8f"} 
[2026-07-01 17:34:25] local.INFO: GPS Element Parsed {"raw_longitude":756657792,"raw_latitude":119574200,"longitude_deg":75.6657792,"latitude_deg":11.95742,"altitude":41,"angle":180,"satellites":39,"speed":25,"hex_longitude":"2d19ae80","hex_latitude":"07208eb8","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:34:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424285952001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:34:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4073978343718912,"note":"Value kept but may cause issues"} 
[2026-07-01 17:34:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850627633739544576,"note":"Value kept but may cause issues"} 
[2026-07-01 17:34:25] 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-01 17:34:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782907368000,"timestamp_ms":1782907368000,"timestamp_seconds":1782907368,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d8f7240"} 
[2026-07-01 17: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-01 17:34:25] 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-01 17: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-07-01 17:34:25] 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-01 17: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-01 17: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-01 17:34:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:34:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:34:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:34:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:34:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 17:34:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-01 17:34:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-01 17:34:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424285952001,"66":14374,"103":206,"83":41984,"24":25,"16":4073978343718912,"45":1850627633739544576},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-07-01 17:34:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-01 17:34:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-01 17:34:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424285952001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:34:25] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-01 17:34:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-01 17:34:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4073978343718912,"km_value":4073978343718.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:34:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850627633739544576,"description":"Unknown IO ID 45"} 
[2026-07-01 17:34:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424285952001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1850627633739544576}} 
[2026-07-01 17:34:25] local.INFO: DEBUG: GPS processor result {"connection_id":119162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418020,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:34:25] local.INFO: GPS data processed {"connection_id":119162,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:34:25] local.INFO: Acknowledgment sent {"connection_id":119162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:34:26] local.INFO: TCP Data received {"connection_id":121043,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d8e9f50012cb2a68007751728001c002321..."} 
[2026-07-01 17:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d8e9f50012cb2a68007751728001c002321..."} 
[2026-07-01 17:34:26] local.INFO: Processing buffer {"connection_id":121043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d8e9f50012cb2a68007751728001c002321..."} 
[2026-07-01 17:34:26] local.INFO: Packet analysis {"connection_id":121043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d8e"} 
[2026-07-01 17:34:26] local.INFO: Extracted packet for processing {"connection_id":121043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d8e"} 
[2026-07-01 17:34:26] local.INFO: GPS Element Parsed {"raw_longitude":749905536,"raw_latitude":125114152,"longitude_deg":74.9905536,"latitude_deg":12.5114152,"altitude":28,"angle":35,"satellites":33,"speed":0,"hex_longitude":"2cb2a680","hex_latitude":"07751728","is_valid_coordinates":true} 
[2026-07-01 17:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:34:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424195328001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:34:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333768041785458688,"note":"Value kept but may cause issues"} 
[2026-07-01 17:34:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573626719306831872,"note":"Value kept but may cause issues"} 
[2026-07-01 17:34:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:34:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782907314000,"timestamp_ms":1782907314000,"timestamp_seconds":1782907314,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d8e9f50"} 
[2026-07-01 17:34:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:34:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 17:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-01 17:34:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:34:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:34:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:34:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:34:26] local.INFO: Teltonika packet parsed successfully {"connection_id":121043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:34:26] local.INFO: Passing IMEI to GPS processor {"connection_id":121043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:34:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":121043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:34:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 17:34:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:34:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:34:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424195328001,"66":25962,"214":206,"85":36608,"24":0,"16":333768041785458688,"44":-5573626719306831872},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-07-01 17:34:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:34:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:34:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424195328001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:34:26] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-01 17:34:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:34:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333768041785458688,"km_value":333768041785458.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:34:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573626719306831872,"description":"Unknown IO ID 44"} 
[2026-07-01 17:34:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424195328001,"power":25962,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573626719306831872}} 
[2026-07-01 17:34:26] local.INFO: DEBUG: GPS processor result {"connection_id":121043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:34:26] local.INFO: GPS data processed {"connection_id":121043,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:34:26] local.INFO: Acknowledgment sent {"connection_id":121043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:34:30] local.INFO: TCP Data received {"connection_id":119163,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d90ba60012d7e1ec005e11ac8000500cc2a..."} 
[2026-07-01 17:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d90ba60012d7e1ec005e11ac8000500cc2a..."} 
[2026-07-01 17:34:30] local.INFO: Processing buffer {"connection_id":119163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d90ba60012d7e1ec005e11ac8000500cc2a..."} 
[2026-07-01 17:34:30] local.INFO: Packet analysis {"connection_id":119163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d90"} 
[2026-07-01 17:34:30] local.INFO: Extracted packet for processing {"connection_id":119163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d90"} 
[2026-07-01 17:34:30] local.INFO: GPS Element Parsed {"raw_longitude":763240128,"raw_latitude":98638536,"longitude_deg":76.3240128,"latitude_deg":9.8638536,"altitude":5,"angle":204,"satellites":42,"speed":38,"hex_longitude":"2d7e1ec0","hex_latitude":"05e11ac8","is_valid_coordinates":true} 
[2026-07-01 17:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424307200001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101373649231020032,"note":"Value kept but may cause issues"} 
[2026-07-01 17:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9088686285750673408,"note":"Value kept but may cause issues"} 
[2026-07-01 17:34:30] 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-01 17:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782907452000,"timestamp_ms":1782907452000,"timestamp_seconds":1782907452,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d90ba60"} 
[2026-07-01 17:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:34:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-01 17:34:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:34:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":119163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":119163,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":119163,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:34:30] 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-01 17:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424307200001,"66":13222,"60":206,"85":15104,"24":38,"16":101373649231020032,"45":9088686285750673408},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-07-01 17:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424307200001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:34:30] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-01 17:34:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101373649231020032,"km_value":101373649231020.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9088686285750673408,"description":"Unknown IO ID 45"} 
[2026-07-01 17:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424307200001,"power":13222,"unknown_60":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9088686285750673408}} 
[2026-07-01 17:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":119163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418022,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:34:30] local.INFO: GPS data processed {"connection_id":119163,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:34:30] local.INFO: Acknowledgment sent {"connection_id":119163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:34:51] local.INFO: TCP Data received {"connection_id":119957,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119957,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:34:51] local.INFO: Processing buffer {"connection_id":119957,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:34:51] local.INFO: IMEI packet received {"connection_id":119957,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 17:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":119957,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:34:54] local.INFO: TCP Data received {"connection_id":119957,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119957,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:34:54] local.INFO: Processing buffer {"connection_id":119957,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:34:54] local.INFO: IMEI packet received {"connection_id":119957,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 17:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":119957,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:34:55] local.INFO: TCP Data received {"connection_id":119957,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119957,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:34:55] local.INFO: Processing buffer {"connection_id":119957,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:34:55] local.INFO: IMEI packet received {"connection_id":119957,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 17:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":119957,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:34:55] local.INFO: TCP Data received {"connection_id":119957,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119957,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:34:55] local.INFO: Processing buffer {"connection_id":119957,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:34:55] local.INFO: IMEI packet received {"connection_id":119957,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 17:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":119957,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:34:56] local.INFO: TCP Data received {"connection_id":119162,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d90ca00012d19cb80071ff420002f00d528..."} 
[2026-07-01 17:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d90ca00012d19cb80071ff420002f00d528..."} 
[2026-07-01 17:34:56] local.INFO: Processing buffer {"connection_id":119162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d90ca00012d19cb80071ff420002f00d528..."} 
[2026-07-01 17:34:56] local.INFO: Packet analysis {"connection_id":119162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d90"} 
[2026-07-01 17:34:56] local.INFO: Extracted packet for processing {"connection_id":119162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d90"} 
[2026-07-01 17:34:56] local.INFO: GPS Element Parsed {"raw_longitude":756665216,"raw_latitude":119534624,"longitude_deg":75.6665216,"latitude_deg":11.9534624,"altitude":47,"angle":213,"satellites":40,"speed":11,"hex_longitude":"2d19cb80","hex_latitude":"071ff420","is_valid_coordinates":true} 
[2026-07-01 17:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:34:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424307968001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:34:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4076173072007168,"note":"Value kept but may cause issues"} 
[2026-07-01 17:34:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859282989263341568,"note":"Value kept but may cause issues"} 
[2026-07-01 17:34:56] 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-01 17:34:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782907456000,"timestamp_ms":1782907456000,"timestamp_seconds":1782907456,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d90ca00"} 
[2026-07-01 17:34:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:34:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-07-01 17:34:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:34:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:34:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:34:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:34:56] local.INFO: Teltonika packet parsed successfully {"connection_id":119162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:34:56] local.INFO: Passing IMEI to GPS processor {"connection_id":119162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:34:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":119162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:34:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 17:34:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-01 17:34:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-01 17:34:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424307968001,"66":14363,"101":206,"83":41984,"24":11,"16":4076173072007168,"45":1859282989263341568},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-01 17:34:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-01 17:34:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-01 17:34:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424307968001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:34:56] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-01 17:34:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-01 17:34:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4076173072007168,"km_value":4076173072007.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:34:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859282989263341568,"description":"Unknown IO ID 45"} 
[2026-07-01 17:34:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424307968001,"power":14363,"unknown_101":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1859282989263341568}} 
[2026-07-01 17:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":119162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418023,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:34:56] local.INFO: GPS data processed {"connection_id":119162,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:34:56] local.INFO: Acknowledgment sent {"connection_id":119162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:34:57] local.INFO: TCP Data received {"connection_id":121043,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d8e9f50012cb2a68007751728001c002321..."} 
[2026-07-01 17:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d8e9f50012cb2a68007751728001c002321..."} 
[2026-07-01 17:34:57] local.INFO: Processing buffer {"connection_id":121043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d8e9f50012cb2a68007751728001c002321..."} 
[2026-07-01 17:34:57] local.INFO: Packet analysis {"connection_id":121043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d8e"} 
[2026-07-01 17:34:57] local.INFO: Extracted packet for processing {"connection_id":121043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d8e"} 
[2026-07-01 17:34:57] local.INFO: GPS Element Parsed {"raw_longitude":749905536,"raw_latitude":125114152,"longitude_deg":74.9905536,"latitude_deg":12.5114152,"altitude":28,"angle":35,"satellites":33,"speed":0,"hex_longitude":"2cb2a680","hex_latitude":"07751728","is_valid_coordinates":true} 
[2026-07-01 17:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:34:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424195328001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:34:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333768041785458688,"note":"Value kept but may cause issues"} 
[2026-07-01 17:34:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573626719306831872,"note":"Value kept but may cause issues"} 
[2026-07-01 17:34:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:34:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782907314000,"timestamp_ms":1782907314000,"timestamp_seconds":1782907314,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d8e9f50"} 
[2026-07-01 17:34:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:34:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 17:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-01 17:34:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:34:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:34:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:34:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:34:57] local.INFO: Teltonika packet parsed successfully {"connection_id":121043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:34:57] local.INFO: Passing IMEI to GPS processor {"connection_id":121043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:34:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":121043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:34: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-01 17:34:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:34:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:34:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424195328001,"66":25962,"214":206,"85":36608,"24":0,"16":333768041785458688,"44":-5573626719306831872},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-07-01 17:34:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:34:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:34:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424195328001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:34:57] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-01 17:34:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:34:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333768041785458688,"km_value":333768041785458.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:34:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573626719306831872,"description":"Unknown IO ID 44"} 
[2026-07-01 17:34:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424195328001,"power":25962,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573626719306831872}} 
[2026-07-01 17:34:57] local.INFO: DEBUG: GPS processor result {"connection_id":121043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:34:57] local.INFO: GPS data processed {"connection_id":121043,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:34:57] local.INFO: Acknowledgment sent {"connection_id":121043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:34:57] local.INFO: TCP Data received {"connection_id":119957,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d90d5b8012d7e134005e10450000500bd26..."} 
[2026-07-01 17:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d90d5b8012d7e134005e10450000500bd26..."} 
[2026-07-01 17:34:57] local.INFO: Processing buffer {"connection_id":119957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d90d5b8012d7e134005e10450000500bd26..."} 
[2026-07-01 17:34:57] local.INFO: Packet analysis {"connection_id":119957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d90"} 
[2026-07-01 17:34:57] local.INFO: Extracted packet for processing {"connection_id":119957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d90"} 
[2026-07-01 17:34:57] local.INFO: GPS Element Parsed {"raw_longitude":763237184,"raw_latitude":98632784,"longitude_deg":76.3237184,"latitude_deg":9.8632784,"altitude":5,"angle":189,"satellites":38,"speed":34,"hex_longitude":"2d7e1340","hex_latitude":"05e10450","is_valid_coordinates":true} 
[2026-07-01 17:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:34:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424307712001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:34:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101373967058599936,"note":"Value kept but may cause issues"} 
[2026-07-01 17:34:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9087912229564237824,"note":"Value kept but may cause issues"} 
[2026-07-01 17:34:57] 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-01 17:34:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782907459000,"timestamp_ms":1782907459000,"timestamp_seconds":1782907459,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d90d5b8"} 
[2026-07-01 17:34:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:34:57] 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-01 17:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-07-01 17:34:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:34:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:34:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:34:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:34:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:34:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119957,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:34:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119957,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:34:57] 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-01 17:34:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:34:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:34:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424307712001,"66":13091,"60":206,"85":15104,"24":34,"16":101373967058599936,"45":9087912229564237824},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-07-01 17:34:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:34:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:34:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424307712001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:34:57] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-01 17:34:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:34:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101373967058599936,"km_value":101373967058599.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:34:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9087912229564237824,"description":"Unknown IO ID 45"} 
[2026-07-01 17:34:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424307712001,"power":13091,"unknown_60":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":9087912229564237824}} 
[2026-07-01 17:34:57] local.INFO: DEBUG: GPS processor result {"connection_id":119957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418025,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:34:57] local.INFO: GPS data processed {"connection_id":119957,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:34:57] local.INFO: Acknowledgment sent {"connection_id":119957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:35:27] local.INFO: TCP Data received {"connection_id":119162,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d90cde8012d19cac0071ff360002f00e127..."} 
[2026-07-01 17:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d90cde8012d19cac0071ff360002f00e127..."} 
[2026-07-01 17:35:27] local.INFO: Processing buffer {"connection_id":119162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d90cde8012d19cac0071ff360002f00e127..."} 
[2026-07-01 17:35:27] local.INFO: Packet analysis {"connection_id":119162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d90"} 
[2026-07-01 17:35:27] local.INFO: Extracted packet for processing {"connection_id":119162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d90"} 
[2026-07-01 17:35:27] local.INFO: GPS Element Parsed {"raw_longitude":756665024,"raw_latitude":119534432,"longitude_deg":75.6665024,"latitude_deg":11.9534432,"altitude":47,"angle":225,"satellites":39,"speed":8,"hex_longitude":"2d19cac0","hex_latitude":"071ff360","is_valid_coordinates":true} 
[2026-07-01 17:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:35:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424308736001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:35:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4076185956909056,"note":"Value kept but may cause issues"} 
[2026-07-01 17:35:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858720039309680640,"note":"Value kept but may cause issues"} 
[2026-07-01 17:35:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:35:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782907457000,"timestamp_ms":1782907457000,"timestamp_seconds":1782907457,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d90cde8"} 
[2026-07-01 17:35:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:35:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-07-01 17:35:27] 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-01 17:35:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:35:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:35:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:35:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:35:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:35:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:35:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 17:35:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-01 17:35:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-01 17:35:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424308736001,"66":14341,"101":206,"83":41984,"24":8,"16":4076185956909056,"45":1858720039309680640},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-01 17:35:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-01 17:35:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-01 17:35:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424308736001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:35:27] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-01 17:35:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-01 17:35:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4076185956909056,"km_value":4076185956909.056,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:35:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858720039309680640,"description":"Unknown IO ID 45"} 
[2026-07-01 17:35:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424308736001,"power":14341,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1858720039309680640}} 
[2026-07-01 17:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":119162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418026,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:35:28] local.INFO: GPS data processed {"connection_id":119162,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:35:28] local.INFO: Acknowledgment sent {"connection_id":119162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:35:28] local.INFO: TCP Data received {"connection_id":119957,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d919520012d7e3fc005e069f8000400b02a..."} 
[2026-07-01 17:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d919520012d7e3fc005e069f8000400b02a..."} 
[2026-07-01 17:35:28] local.INFO: Processing buffer {"connection_id":119957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d919520012d7e3fc005e069f8000400b02a..."} 
[2026-07-01 17:35:28] local.INFO: Packet analysis {"connection_id":119957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d91"} 
[2026-07-01 17:35:28] local.INFO: Extracted packet for processing {"connection_id":119957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d91"} 
[2026-07-01 17:35:28] local.INFO: GPS Element Parsed {"raw_longitude":763248576,"raw_latitude":98593272,"longitude_deg":76.3248576,"latitude_deg":9.8593272,"altitude":4,"angle":176,"satellites":42,"speed":44,"hex_longitude":"2d7e3fc0","hex_latitude":"05e069f8","is_valid_coordinates":true} 
[2026-07-01 17:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424320768001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101376105952313344,"note":"Value kept but may cause issues"} 
[2026-07-01 17:35:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095934266390366208,"note":"Value kept but may cause issues"} 
[2026-07-01 17:35:28] 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-01 17:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782907508000,"timestamp_ms":1782907508000,"timestamp_seconds":1782907508,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d919520"} 
[2026-07-01 17:35:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:35:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-01 17:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303162643762599,"note":"Value kept but may cause issues"} 
[2026-07-01 17:35:28] local.WARNING: Large IO value detected {"io_id":60,"raw_value":58077557095399458,"note":"Value kept but may cause issues"} 
[2026-07-01 17:35:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-01 17:35:28] local.WARNING: Large IO value detected {"io_id":29,"raw_value":2436581377,"note":"Value kept but may cause issues"} 
[2026-07-01 17:35:28] local.WARNING: Large IO value detected {"io_id":224,"raw_value":3139436548,"note":"Value kept but may cause issues"} 
[2026-07-01 17:35:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2805727438,"corrected_to":0} 
[2026-07-01 17:35:28] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3976252839,"note":"Value kept but may cause issues"} 
[2026-07-01 17:35:28] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3770834944,"note":"Value kept but may cause issues"} 
[2026-07-01 17:35:28] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,60,85,24,241,157,16,40,159,94,45,128,165,3,42,10,66,90,64,169,86,1,240,227,29,224,4,113,205,36,51,21,136,239,50,2,104,5,34],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2805727438,"validated":0}]} 
[2026-07-01 17:35:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216353282412314624,"timestamp_seconds":216353282412314.62,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 17:35:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119957,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119957,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:35:28] 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-01 17:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424320768001,"66":12917,"60":206,"85":15104,"24":44,"16":101376105952313344,"45":9095934266390366208},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-07-01 17:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424320768001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:35:28] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-01 17:35:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101376105952313344,"km_value":101376105952313.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:35:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095934266390366208,"description":"Unknown IO ID 45"} 
[2026-07-01 17:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424320768001,"power":12917,"unknown_60":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9095934266390366208}} 
[2026-07-01 17:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":119957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418027,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:35:28] local.INFO: GPS data processed {"connection_id":119957,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:35:28] local.INFO: Acknowledgment sent {"connection_id":119957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:35:40] local.INFO: TCP Data received {"connection_id":119958,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:35:40] local.INFO: Processing buffer {"connection_id":119958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:35:40] local.INFO: IMEI packet received {"connection_id":119958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 17:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":119958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:35:45] local.INFO: TCP Data received {"connection_id":119958,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:35:45] local.INFO: Processing buffer {"connection_id":119958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:35:45] local.INFO: IMEI packet received {"connection_id":119958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":119958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:35:46] local.INFO: TCP Data received {"connection_id":119958,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d8e9f50012cb2a68007751728001c002321..."} 
[2026-07-01 17:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d8e9f50012cb2a68007751728001c002321..."} 
[2026-07-01 17:35:46] local.INFO: Processing buffer {"connection_id":119958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d8e9f50012cb2a68007751728001c002321..."} 
[2026-07-01 17:35:46] local.INFO: Packet analysis {"connection_id":119958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d8e"} 
[2026-07-01 17:35:46] local.INFO: Extracted packet for processing {"connection_id":119958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d8e"} 
[2026-07-01 17:35:46] local.INFO: GPS Element Parsed {"raw_longitude":749905536,"raw_latitude":125114152,"longitude_deg":74.9905536,"latitude_deg":12.5114152,"altitude":28,"angle":35,"satellites":33,"speed":0,"hex_longitude":"2cb2a680","hex_latitude":"07751728","is_valid_coordinates":true} 
[2026-07-01 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-01 17:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424195328001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333768041785458688,"note":"Value kept but may cause issues"} 
[2026-07-01 17:35:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573626719306831872,"note":"Value kept but may cause issues"} 
[2026-07-01 17:35:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1782907314000,"timestamp_ms":1782907314000,"timestamp_seconds":1782907314,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d8e9f50"} 
[2026-07-01 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-01 17:35:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 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":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-01 17:35:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 17:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":119958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":119958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":119958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:35: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-01 17:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424195328001,"66":25962,"214":206,"85":36608,"24":0,"16":333768041785458688,"44":-5573626719306831872},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-07-01 17:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424195328001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:35:46] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-01 17:35:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333768041785458688,"km_value":333768041785458.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:35:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573626719306831872,"description":"Unknown IO ID 44"} 
[2026-07-01 17:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424195328001,"power":25962,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573626719306831872}} 
[2026-07-01 17:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":119958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:35:46] local.INFO: GPS data processed {"connection_id":119958,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:35:46] local.INFO: Acknowledgment sent {"connection_id":119958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:35:48] local.INFO: TCP Data received {"connection_id":119164,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:35:48] local.INFO: Processing buffer {"connection_id":119164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:35:48] local.INFO: IMEI packet received {"connection_id":119164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-01 17:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":119164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:35:51] local.INFO: TCP Data received {"connection_id":119164,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:35:51] local.INFO: Processing buffer {"connection_id":119164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:35:51] local.INFO: IMEI packet received {"connection_id":119164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-01 17:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":119164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:35:51] local.INFO: TCP Data received {"connection_id":121044,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121044,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:35:51] local.INFO: Processing buffer {"connection_id":121044,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:35:51] local.INFO: IMEI packet received {"connection_id":121044,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 17:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":121044,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:35:53] local.INFO: TCP Data received {"connection_id":119164,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:35:53] local.INFO: Processing buffer {"connection_id":119164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:35:53] local.INFO: IMEI packet received {"connection_id":119164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-01 17:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":119164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:35:53] local.INFO: TCP Data received {"connection_id":119164,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d90d1d0012d19ca40071ff2e0002f00f327..."} 
[2026-07-01 17:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d90d1d0012d19ca40071ff2e0002f00f327..."} 
[2026-07-01 17:35:53] local.INFO: Processing buffer {"connection_id":119164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d90d1d0012d19ca40071ff2e0002f00f327..."} 
[2026-07-01 17:35:53] local.INFO: Packet analysis {"connection_id":119164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d90"} 
[2026-07-01 17:35:53] local.INFO: Extracted packet for processing {"connection_id":119164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d90"} 
[2026-07-01 17:35:53] local.INFO: GPS Element Parsed {"raw_longitude":756664896,"raw_latitude":119534304,"longitude_deg":75.6664896,"latitude_deg":11.9534304,"altitude":47,"angle":243,"satellites":39,"speed":8,"hex_longitude":"2d19ca40","hex_latitude":"071ff2e0","is_valid_coordinates":true} 
[2026-07-01 17:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:35:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424308992001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:35:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4076194546843648,"note":"Value kept but may cause issues"} 
[2026-07-01 17:35:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858508933077098496,"note":"Value kept but may cause issues"} 
[2026-07-01 17:35:53] 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-01 17:35:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782907458000,"timestamp_ms":1782907458000,"timestamp_seconds":1782907458,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d90d1d0"} 
[2026-07-01 17:35:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:35:53] 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-01 17:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-01 17:35:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6964482203,"note":"Value kept but may cause issues"} 
[2026-07-01 17:35:53] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-07-01 17:35:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-07-01 17:35:53] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":51200,"corrected_to":0} 
[2026-07-01 17:35:53] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503661822017536,"note":"Value kept but may cause issues"} 
[2026-07-01 17:35:53] local.WARNING: Large IO value detected {"io_id":29,"raw_value":2427877377,"note":"Value kept but may cause issues"} 
[2026-07-01 17:35:53] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4201644077,"note":"Value kept but may cause issues"} 
[2026-07-01 17:35:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-07-01 17:35:53] local.WARNING: Large IO value detected {"io_id":174,"raw_value":2818649369,"note":"Value kept but may cause issues"} 
[2026-07-01 17:35:53] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2466303352,"note":"Value kept but may cause issues"} 
[2026-07-01 17:35:53] local.WARNING: Large IO value detected {"io_id":32,"raw_value":84752392083939329,"note":"Value kept but may cause issues"} 
[2026-07-01 17:35:53] local.WARNING: Large IO value detected {"io_id":120,"raw_value":12104378152390400,"note":"Value kept but may cause issues"} 
[2026-07-01 17:35:53] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,101,83,24,241,157,16,123,159,202,45,128,244,47,40,10,66,190,247,46,186,1,240,60,227,29,31,4,113,205,174,210,88,239,56,2,14,7,44,18,206,32,120],"length":529,"final_offset":659,"validated_count":43,"validation_warnings":[{"io_id":247,"original":51200,"validated":0},{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-07-01 17:35:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3386954477403111424,"timestamp_seconds":3386954477403111.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 17:35:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:35:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:35:53] local.INFO: Teltonika packet parsed successfully {"connection_id":119164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:35:53] local.INFO: Passing IMEI to GPS processor {"connection_id":119164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:35:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":119164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:35:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 17:35:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-01 17:35:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-01 17:35:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424308992001,"66":14341,"101":206,"83":41984,"24":8,"16":4076194546843648,"45":1858508933077098496},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-07-01 17:35:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-01 17:35:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-01 17:35:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424308992001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:35:53] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-01 17:35:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-01 17:35:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4076194546843648,"km_value":4076194546843.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:35:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858508933077098496,"description":"Unknown IO ID 45"} 
[2026-07-01 17:35:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424308992001,"power":14341,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1858508933077098496}} 
[2026-07-01 17:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":119164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418029,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:35:54] local.INFO: GPS data processed {"connection_id":119164,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:35:54] local.INFO: Acknowledgment sent {"connection_id":119164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:35:54] local.INFO: TCP Data received {"connection_id":121044,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121044,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:35:54] local.INFO: Processing buffer {"connection_id":121044,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:35:54] local.INFO: IMEI packet received {"connection_id":121044,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 17:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":121044,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:35:57] local.INFO: TCP Data received {"connection_id":121044,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121044,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:35:57] local.INFO: Processing buffer {"connection_id":121044,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:35:57] local.INFO: IMEI packet received {"connection_id":121044,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 17:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":121044,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:35:58] local.INFO: TCP Data received {"connection_id":121044,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d91b848012d7e424005e04640000300ab2a..."} 
[2026-07-01 17:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d91b848012d7e424005e04640000300ab2a..."} 
[2026-07-01 17:35:58] local.INFO: Processing buffer {"connection_id":121044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d91b848012d7e424005e04640000300ab2a..."} 
[2026-07-01 17:35:58] local.INFO: Packet analysis {"connection_id":121044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d91"} 
[2026-07-01 17:35:58] local.INFO: Extracted packet for processing {"connection_id":121044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d91"} 
[2026-07-01 17:35:58] local.INFO: GPS Element Parsed {"raw_longitude":763249216,"raw_latitude":98584128,"longitude_deg":76.3249216,"latitude_deg":9.8584128,"altitude":3,"angle":171,"satellites":42,"speed":41,"hex_longitude":"2d7e4240","hex_latitude":"05e04640","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:35:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424322048001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:35:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101376548333944832,"note":"Value kept but may cause issues"} 
[2026-07-01 17:35:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9097200903784101888,"note":"Value kept but may cause issues"} 
[2026-07-01 17:35:58] 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-01 17:35:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782907517000,"timestamp_ms":1782907517000,"timestamp_seconds":1782907517,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d91b848"} 
[2026-07-01 17: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-01 17:35:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-01 17:35:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17: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-01 17: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-01 17:35:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:35:58] local.INFO: Teltonika packet parsed successfully {"connection_id":121044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:35:58] local.INFO: Passing IMEI to GPS processor {"connection_id":121044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:35:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":121044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:35: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-01 17:35:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:35:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:35:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424322048001,"66":12765,"60":206,"85":15104,"24":41,"16":101376548333944832,"45":9097200903784101888},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-07-01 17:35:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:35:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:35:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424322048001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:35:58] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-01 17:35:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:35:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101376548333944832,"km_value":101376548333944.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:35:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9097200903784101888,"description":"Unknown IO ID 45"} 
[2026-07-01 17:35:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424322048001,"power":12765,"unknown_60":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9097200903784101888}} 
[2026-07-01 17:35:58] local.INFO: DEBUG: GPS processor result {"connection_id":121044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418030,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:35:58] local.INFO: GPS data processed {"connection_id":121044,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:35:58] local.INFO: Acknowledgment sent {"connection_id":121044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:36:24] local.INFO: TCP Data received {"connection_id":119164,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d91eb10012d1968c0071fecf00040012525..."} 
[2026-07-01 17:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d91eb10012d1968c0071fecf00040012525..."} 
[2026-07-01 17:36:24] local.INFO: Processing buffer {"connection_id":119164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d91eb10012d1968c0071fecf00040012525..."} 
[2026-07-01 17:36:24] local.INFO: Packet analysis {"connection_id":119164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d91"} 
[2026-07-01 17:36:24] local.INFO: Extracted packet for processing {"connection_id":119164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d91"} 
[2026-07-01 17:36:24] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532784,"longitude_deg":75.6639936,"latitude_deg":11.9532784,"altitude":64,"angle":293,"satellites":37,"speed":7,"hex_longitude":"2d1968c0","hex_latitude":"071fecf0","is_valid_coordinates":true} 
[2026-07-01 17:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424324864001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":4077410022588416,"note":"Value kept but may cause issues"} 
[2026-07-01 17:36:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1833879872614412288,"note":"Value kept but may cause issues"} 
[2026-07-01 17:36:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782907530000,"timestamp_ms":1782907530000,"timestamp_seconds":1782907530,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d91eb10"} 
[2026-07-01 17:36:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:36:24] 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-01 17:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-01 17:36:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:36:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:36:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":119164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":119164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":119164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-07-01 17:36:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 17:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-07-01 17:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-07-01 17:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424324864001,"66":13124,"102":206,"83":41984,"24":7,"16":4077410022588416,"45":1833879872614412288},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-07-01 17:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-07-01 17:36:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-07-01 17:36:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424324864001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:36:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-01 17:36:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-07-01 17:36:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":4077410022588416,"km_value":4077410022588.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:36:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1833879872614412288,"description":"Unknown IO ID 45"} 
[2026-07-01 17:36:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424324864001,"power":13124,"unknown_102":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1833879872614412288}} 
[2026-07-01 17:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":119164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:36:25] local.INFO: GPS data processed {"connection_id":119164,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:36:25] local.INFO: Acknowledgment sent {"connection_id":119164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:36:25] local.INFO: TCP Data received {"connection_id":119960,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:36:25] local.INFO: Processing buffer {"connection_id":119960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:36:25] local.INFO: IMEI packet received {"connection_id":119960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 17:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":119960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:36:30] local.INFO: TCP Data received {"connection_id":121044,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d91c400012d7e458005e03a900002009e2c..."} 
[2026-07-01 17:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d91c400012d7e458005e03a900002009e2c..."} 
[2026-07-01 17:36:30] local.INFO: Processing buffer {"connection_id":121044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d91c400012d7e458005e03a900002009e2c..."} 
[2026-07-01 17:36:30] local.INFO: Packet analysis {"connection_id":121044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d91"} 
[2026-07-01 17:36:30] local.INFO: Extracted packet for processing {"connection_id":121044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d91"} 
[2026-07-01 17:36:30] local.INFO: GPS Element Parsed {"raw_longitude":763250048,"raw_latitude":98581136,"longitude_deg":76.3250048,"latitude_deg":9.8581136,"altitude":2,"angle":158,"satellites":44,"speed":38,"hex_longitude":"2d7e4580","hex_latitude":"05e03a90","is_valid_coordinates":true} 
[2026-07-01 17:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:36:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424324352001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:36:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101376698657800192,"note":"Value kept but may cause issues"} 
[2026-07-01 17:36:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9097904591223537664,"note":"Value kept but may cause issues"} 
[2026-07-01 17:36:30] 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-01 17:36:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782907520000,"timestamp_ms":1782907520000,"timestamp_seconds":1782907520,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d91c400"} 
[2026-07-01 17:36:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:36:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-01 17:36:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:36:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:36:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:36:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:36:30] local.INFO: Teltonika packet parsed successfully {"connection_id":121044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:36:30] local.INFO: Passing IMEI to GPS processor {"connection_id":121044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:36:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":121044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:36:30] 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-01 17:36:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:36:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:36:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424324352001,"66":12939,"60":206,"85":15104,"24":38,"16":101376698657800192,"45":9097904591223537664},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-07-01 17:36:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:36:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:36:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424324352001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:36:30] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-01 17:36:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:36:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101376698657800192,"km_value":101376698657800.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:36:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9097904591223537664,"description":"Unknown IO ID 45"} 
[2026-07-01 17:36:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424324352001,"power":12939,"unknown_60":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9097904591223537664}} 
[2026-07-01 17:36:30] local.INFO: DEBUG: GPS processor result {"connection_id":121044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418032,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:36:30] local.INFO: GPS data processed {"connection_id":121044,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:36:30] local.INFO: Acknowledgment sent {"connection_id":121044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:36:30] local.INFO: TCP Data received {"connection_id":119960,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:36:30] local.INFO: Processing buffer {"connection_id":119960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:36:30] local.INFO: IMEI packet received {"connection_id":119960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":119960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:36:31] local.INFO: TCP Data received {"connection_id":119960,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d8e9f50012cb2a68007751728001c002321..."} 
[2026-07-01 17:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d8e9f50012cb2a68007751728001c002321..."} 
[2026-07-01 17:36:31] local.INFO: Processing buffer {"connection_id":119960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d8e9f50012cb2a68007751728001c002321..."} 
[2026-07-01 17:36:31] local.INFO: Packet analysis {"connection_id":119960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d8e"} 
[2026-07-01 17:36:31] local.INFO: Extracted packet for processing {"connection_id":119960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d8e"} 
[2026-07-01 17:36:31] local.INFO: GPS Element Parsed {"raw_longitude":749905536,"raw_latitude":125114152,"longitude_deg":74.9905536,"latitude_deg":12.5114152,"altitude":28,"angle":35,"satellites":33,"speed":0,"hex_longitude":"2cb2a680","hex_latitude":"07751728","is_valid_coordinates":true} 
[2026-07-01 17:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424195328001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333768041785458688,"note":"Value kept but may cause issues"} 
[2026-07-01 17:36:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573626719306831872,"note":"Value kept but may cause issues"} 
[2026-07-01 17:36:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782907314000,"timestamp_ms":1782907314000,"timestamp_seconds":1782907314,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d8e9f50"} 
[2026-07-01 17:36:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:36:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 17:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-01 17:36:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:36:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:36:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:36:31] 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-01 17:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424195328001,"66":25962,"214":206,"85":36608,"24":0,"16":333768041785458688,"44":-5573626719306831872},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-07-01 17:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424195328001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:36:31] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-01 17:36:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333768041785458688,"km_value":333768041785458.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:36:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573626719306831872,"description":"Unknown IO ID 44"} 
[2026-07-01 17:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424195328001,"power":25962,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573626719306831872}} 
[2026-07-01 17:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":119960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:36:31] local.INFO: GPS data processed {"connection_id":119960,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:36:31] local.INFO: Acknowledgment sent {"connection_id":119960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:36:35] local.INFO: TCP Data received {"connection_id":119960,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d8e9f50012cb2a68007751728001c002321..."} 
[2026-07-01 17:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d8e9f50012cb2a68007751728001c002321..."} 
[2026-07-01 17:36:35] local.INFO: Processing buffer {"connection_id":119960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d8e9f50012cb2a68007751728001c002321..."} 
[2026-07-01 17:36:35] local.INFO: Packet analysis {"connection_id":119960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d8e"} 
[2026-07-01 17:36:35] local.INFO: Extracted packet for processing {"connection_id":119960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d8e"} 
[2026-07-01 17:36:35] local.INFO: GPS Element Parsed {"raw_longitude":749905536,"raw_latitude":125114152,"longitude_deg":74.9905536,"latitude_deg":12.5114152,"altitude":28,"angle":35,"satellites":33,"speed":0,"hex_longitude":"2cb2a680","hex_latitude":"07751728","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424195328001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333768041785458688,"note":"Value kept but may cause issues"} 
[2026-07-01 17:36:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573626719306831872,"note":"Value kept but may cause issues"} 
[2026-07-01 17:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782907314000,"timestamp_ms":1782907314000,"timestamp_seconds":1782907314,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d8e9f50"} 
[2026-07-01 17: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-01 17:36:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 17: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":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-01 17:36:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17: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-01 17: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-01 17:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":119960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":119960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":119960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:36:35] 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-01 17:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424195328001,"66":25962,"214":206,"85":36608,"24":0,"16":333768041785458688,"44":-5573626719306831872},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-07-01 17:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424195328001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:36:35] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-01 17:36:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333768041785458688,"km_value":333768041785458.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:36:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573626719306831872,"description":"Unknown IO ID 44"} 
[2026-07-01 17:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424195328001,"power":25962,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573626719306831872}} 
[2026-07-01 17:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":119960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:36:35] local.INFO: GPS data processed {"connection_id":119960,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:36:35] local.INFO: Acknowledgment sent {"connection_id":119960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:36:52] local.INFO: TCP Data received {"connection_id":119166,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119166,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:36:52] local.INFO: Processing buffer {"connection_id":119166,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:36:52] local.INFO: IMEI packet received {"connection_id":119166,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 17:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":119166,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:36:53] local.INFO: TCP Data received {"connection_id":119165,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119165,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:36:53] local.INFO: Processing buffer {"connection_id":119165,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-07-01 17:36:53] local.INFO: IMEI packet received {"connection_id":119165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-07-01 17:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":119165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:36:53] local.INFO: TCP Data received {"connection_id":119165,"ip":"42.106.6.53","data_length":51,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-01 17:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119165,"packet_length":51,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-01 17:36:53] local.INFO: Processing buffer {"connection_id":119165,"buffer_length":51,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-07-01 17:36:53] local.INFO: IMEI packet received {"connection_id":119165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-07-01 17:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":119165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:36:55] local.INFO: TCP Data received {"connection_id":119166,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119166,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:36:55] local.INFO: Processing buffer {"connection_id":119166,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:36:55] local.INFO: IMEI packet received {"connection_id":119166,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 17:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":119166,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:36:56] local.INFO: TCP Data received {"connection_id":119166,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119166,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:36:56] local.INFO: Processing buffer {"connection_id":119166,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:36:56] local.INFO: IMEI packet received {"connection_id":119166,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 17:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":119166,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:37:03] local.INFO: TCP Data received {"connection_id":119166,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119166,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:37:03] local.INFO: Processing buffer {"connection_id":119166,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:37:03] local.INFO: IMEI packet received {"connection_id":119166,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 17:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":119166,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:37:04] local.INFO: TCP Data received {"connection_id":119166,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d91eb10012d7e530005e018880002009f2b..."} 
[2026-07-01 17:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d91eb10012d7e530005e018880002009f2b..."} 
[2026-07-01 17:37:04] local.INFO: Processing buffer {"connection_id":119166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d91eb10012d7e530005e018880002009f2b..."} 
[2026-07-01 17:37:04] local.INFO: Packet analysis {"connection_id":119166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d91"} 
[2026-07-01 17:37:04] local.INFO: Extracted packet for processing {"connection_id":119166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d91"} 
[2026-07-01 17:37:04] local.INFO: GPS Element Parsed {"raw_longitude":763253504,"raw_latitude":98572424,"longitude_deg":76.3253504,"latitude_deg":9.8572424,"altitude":2,"angle":159,"satellites":43,"speed":29,"hex_longitude":"2d7e5300","hex_latitude":"05e01888","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424325120001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101377153924333568,"note":"Value kept but may cause issues"} 
[2026-07-01 17:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9098819384897081344,"note":"Value kept but may cause issues"} 
[2026-07-01 17:37:04] 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-01 17:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782907530000,"timestamp_ms":1782907530000,"timestamp_seconds":1782907530,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d91eb10"} 
[2026-07-01 17: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-01 17:37: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-01 17: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":139,"data_length":795,"current_offset":136} 
[2026-07-01 17:37: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-01 17: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-01 17: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-01 17:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":119166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":119166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":119166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:37:04] 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-01 17:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424325120001,"66":12961,"207":206,"85":15104,"24":29,"16":101377153924333568,"45":9098819384897081344},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-01 17:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424325120001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:37:04] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-01 17:37:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101377153924333568,"km_value":101377153924333.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9098819384897081344,"description":"Unknown IO ID 45"} 
[2026-07-01 17:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424325120001,"power":12961,"unknown_207":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9098819384897081344}} 
[2026-07-01 17:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":119166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418035,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:37:04] local.INFO: GPS data processed {"connection_id":119166,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:37:04] local.INFO: Acknowledgment sent {"connection_id":119166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:37:20] local.INFO: TCP Data received {"connection_id":119167,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:37:20] local.INFO: Processing buffer {"connection_id":119167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:37:20] local.INFO: IMEI packet received {"connection_id":119167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 17:37:20] local.INFO: IMEI acknowledgment sent {"connection_id":119167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:37:25] local.INFO: TCP Data received {"connection_id":119167,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:37:25] local.INFO: Processing buffer {"connection_id":119167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:37:25] local.INFO: IMEI packet received {"connection_id":119167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":119167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:37:26] local.INFO: TCP Data received {"connection_id":119167,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d8e9f50012cb2a68007751728001c002321..."} 
[2026-07-01 17:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d8e9f50012cb2a68007751728001c002321..."} 
[2026-07-01 17:37:26] local.INFO: Processing buffer {"connection_id":119167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d8e9f50012cb2a68007751728001c002321..."} 
[2026-07-01 17:37:26] local.INFO: Packet analysis {"connection_id":119167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d8e"} 
[2026-07-01 17:37:26] local.INFO: Extracted packet for processing {"connection_id":119167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d8e"} 
[2026-07-01 17:37:26] local.INFO: GPS Element Parsed {"raw_longitude":749905536,"raw_latitude":125114152,"longitude_deg":74.9905536,"latitude_deg":12.5114152,"altitude":28,"angle":35,"satellites":33,"speed":0,"hex_longitude":"2cb2a680","hex_latitude":"07751728","is_valid_coordinates":true} 
[2026-07-01 17:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:37:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424195328001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:37:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333768041785458688,"note":"Value kept but may cause issues"} 
[2026-07-01 17:37:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573626719306831872,"note":"Value kept but may cause issues"} 
[2026-07-01 17:37:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:37:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782907314000,"timestamp_ms":1782907314000,"timestamp_seconds":1782907314,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d8e9f50"} 
[2026-07-01 17:37:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:37:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 17:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-01 17:37:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:37:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:37:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:37:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:37:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:37:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:37:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:37:26] 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-01 17:37:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:37:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:37:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424195328001,"66":25962,"214":206,"85":36608,"24":0,"16":333768041785458688,"44":-5573626719306831872},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-07-01 17:37:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:37:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:37:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424195328001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:37:26] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-01 17:37:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:37:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333768041785458688,"km_value":333768041785458.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:37:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573626719306831872,"description":"Unknown IO ID 44"} 
[2026-07-01 17:37:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424195328001,"power":25962,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573626719306831872}} 
[2026-07-01 17:37:26] local.INFO: DEBUG: GPS processor result {"connection_id":119167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:37:26] local.INFO: GPS data processed {"connection_id":119167,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:37:26] local.INFO: Acknowledgment sent {"connection_id":119167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:37:35] local.INFO: TCP Data received {"connection_id":119166,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d938920012d7ece8005dee3f8000800ac27..."} 
[2026-07-01 17:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d938920012d7ece8005dee3f8000800ac27..."} 
[2026-07-01 17:37:35] local.INFO: Processing buffer {"connection_id":119166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d938920012d7ece8005dee3f8000800ac27..."} 
[2026-07-01 17:37:35] local.INFO: Packet analysis {"connection_id":119166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d93"} 
[2026-07-01 17:37:35] local.INFO: Extracted packet for processing {"connection_id":119166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d93"} 
[2026-07-01 17:37:35] local.INFO: GPS Element Parsed {"raw_longitude":763285120,"raw_latitude":98493432,"longitude_deg":76.328512,"latitude_deg":9.8493432,"altitude":8,"angle":172,"satellites":39,"speed":27,"hex_longitude":"2d7ece80","hex_latitude":"05dee3f8","is_valid_coordinates":true} 
[2026-07-01 17:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424354048001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101381324337577984,"note":"Value kept but may cause issues"} 
[2026-07-01 17:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9136818506731096064,"note":"Value kept but may cause issues"} 
[2026-07-01 17:37:35] 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-01 17:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782907636000,"timestamp_ms":1782907636000,"timestamp_seconds":1782907636,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d938920"} 
[2026-07-01 17:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:37: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-01 17:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-01 17:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":119166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":119166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":119166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:37:35] 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-01 17:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424354048001,"66":12885,"206":206,"85":15104,"24":27,"16":101381324337577984,"45":9136818506731096064},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-07-01 17:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424354048001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:37:35] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-07-01 17:37:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101381324337577984,"km_value":101381324337577.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9136818506731096064,"description":"Unknown IO ID 45"} 
[2026-07-01 17:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424354048001,"power":12885,"unknown_206":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":9136818506731096064}} 
[2026-07-01 17:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":119166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418037,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:37:35] local.INFO: GPS data processed {"connection_id":119166,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:37:35] local.INFO: Acknowledgment sent {"connection_id":119166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:37:50] local.INFO: TCP Data received {"connection_id":119961,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119961,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:37:50] local.INFO: Processing buffer {"connection_id":119961,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:37:50] local.INFO: IMEI packet received {"connection_id":119961,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 17:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":119961,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:37:51] local.INFO: TCP Data received {"connection_id":119961,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119961,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:37:51] local.INFO: Processing buffer {"connection_id":119961,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:37:51] local.INFO: IMEI packet received {"connection_id":119961,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 17:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":119961,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:37:56] local.INFO: TCP Data received {"connection_id":119961,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119961,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:37:56] local.INFO: Processing buffer {"connection_id":119961,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:37:56] local.INFO: IMEI packet received {"connection_id":119961,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 17:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":119961,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:37:57] local.INFO: TCP Data received {"connection_id":119167,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d933718012cb2a68007751728001c00232a..."} 
[2026-07-01 17:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d933718012cb2a68007751728001c00232a..."} 
[2026-07-01 17:37:57] local.INFO: Processing buffer {"connection_id":119167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d933718012cb2a68007751728001c00232a..."} 
[2026-07-01 17:37:57] local.INFO: Packet analysis {"connection_id":119167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d93"} 
[2026-07-01 17:37:57] local.INFO: Extracted packet for processing {"connection_id":119167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d93"} 
[2026-07-01 17:37:57] local.INFO: GPS Element Parsed {"raw_longitude":749905536,"raw_latitude":125114152,"longitude_deg":74.9905536,"latitude_deg":12.5114152,"altitude":28,"angle":35,"satellites":42,"speed":0,"hex_longitude":"2cb2a680","hex_latitude":"07751728","is_valid_coordinates":true} 
[2026-07-01 17:37:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:37:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424272384001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:37:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333768041785458688,"note":"Value kept but may cause issues"} 
[2026-07-01 17:37:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573626719306831872,"note":"Value kept but may cause issues"} 
[2026-07-01 17:37:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:37:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782907615000,"timestamp_ms":1782907615000,"timestamp_seconds":1782907615,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d933718"} 
[2026-07-01 17:37:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:37:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 17:37:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-01 17:37:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:37:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:37:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:37:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:37:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:37:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:37:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:37: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-01 17:37:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:37:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:37:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424272384001,"66":25778,"214":206,"85":36608,"24":0,"16":333768041785458688,"44":-5573626719306831872},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-07-01 17:37:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:37:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:37:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424272384001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:37:57] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-01 17:37:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:37:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333768041785458688,"km_value":333768041785458.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:37:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573626719306831872,"description":"Unknown IO ID 44"} 
[2026-07-01 17:37:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424272384001,"power":25778,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573626719306831872}} 
[2026-07-01 17:37:57] local.INFO: DEBUG: GPS processor result {"connection_id":119167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:37:57] local.INFO: GPS data processed {"connection_id":119167,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:37:57] local.INFO: Acknowledgment sent {"connection_id":119167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:37:57] local.INFO: TCP Data received {"connection_id":119961,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d93b030012d7ed18005debf48000900b227..."} 
[2026-07-01 17:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d93b030012d7ed18005debf48000900b227..."} 
[2026-07-01 17:37:57] local.INFO: Processing buffer {"connection_id":119961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d93b030012d7ed18005debf48000900b227..."} 
[2026-07-01 17:37:57] local.INFO: Packet analysis {"connection_id":119961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d93"} 
[2026-07-01 17:37:57] local.INFO: Extracted packet for processing {"connection_id":119961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d93"} 
[2026-07-01 17:37:57] local.INFO: GPS Element Parsed {"raw_longitude":763285888,"raw_latitude":98484040,"longitude_deg":76.3285888,"latitude_deg":9.848404,"altitude":9,"angle":178,"satellites":39,"speed":42,"hex_longitude":"2d7ed180","hex_latitude":"05debf48","is_valid_coordinates":true} 
[2026-07-01 17:37:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:37:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424354816001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:37:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101381779604111360,"note":"Value kept but may cause issues"} 
[2026-07-01 17:37:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9137381456683988992,"note":"Value kept but may cause issues"} 
[2026-07-01 17:37:57] 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-01 17:37:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782907646000,"timestamp_ms":1782907646000,"timestamp_seconds":1782907646,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d93b030"} 
[2026-07-01 17:37:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:37:57] local.INFO: 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-01 17:37:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-01 17:37: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-01 17:37:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:37:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:37:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:37:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:37:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119961,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:37:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119961,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:37:57] 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-01 17:37:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:37:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:37:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424354816001,"66":12972,"206":206,"85":15104,"24":42,"16":101381779604111360,"45":9137381456683988992},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-07-01 17:37:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:37:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:37:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424354816001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:37:57] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-07-01 17:37:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:37:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101381779604111360,"km_value":101381779604111.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:37:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9137381456683988992,"description":"Unknown IO ID 45"} 
[2026-07-01 17:37:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424354816001,"power":12972,"unknown_206":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":9137381456683988992}} 
[2026-07-01 17:37:57] local.INFO: DEBUG: GPS processor result {"connection_id":119961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418039,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:37:57] local.INFO: GPS data processed {"connection_id":119961,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:37:57] local.INFO: Acknowledgment sent {"connection_id":119961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:38:20] local.INFO: TCP Data received {"connection_id":119168,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:38:20] local.INFO: Processing buffer {"connection_id":119168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:38:20] local.INFO: IMEI packet received {"connection_id":119168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 17:38:20] local.INFO: IMEI acknowledgment sent {"connection_id":119168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:38:25] local.INFO: TCP Data received {"connection_id":119168,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:38:25] local.INFO: Processing buffer {"connection_id":119168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:38:25] local.INFO: IMEI packet received {"connection_id":119168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:38:25] local.INFO: IMEI acknowledgment sent {"connection_id":119168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:38:26] local.INFO: TCP Data received {"connection_id":119168,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d933718012cb2a68007751728001c00232a..."} 
[2026-07-01 17:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d933718012cb2a68007751728001c00232a..."} 
[2026-07-01 17:38:26] local.INFO: Processing buffer {"connection_id":119168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d933718012cb2a68007751728001c00232a..."} 
[2026-07-01 17:38:26] local.INFO: Packet analysis {"connection_id":119168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d93"} 
[2026-07-01 17:38:26] local.INFO: Extracted packet for processing {"connection_id":119168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d93"} 
[2026-07-01 17:38:26] local.INFO: GPS Element Parsed {"raw_longitude":749905536,"raw_latitude":125114152,"longitude_deg":74.9905536,"latitude_deg":12.5114152,"altitude":28,"angle":35,"satellites":42,"speed":0,"hex_longitude":"2cb2a680","hex_latitude":"07751728","is_valid_coordinates":true} 
[2026-07-01 17:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:38:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424272384001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:38:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333768041785458688,"note":"Value kept but may cause issues"} 
[2026-07-01 17:38:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573626719306831872,"note":"Value kept but may cause issues"} 
[2026-07-01 17:38:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:38:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782907615000,"timestamp_ms":1782907615000,"timestamp_seconds":1782907615,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d933718"} 
[2026-07-01 17:38:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:38:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 17:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-01 17:38:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:38:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:38:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:38:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:38:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:38:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:38:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:38:26] 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-01 17:38:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:38:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:38:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424272384001,"66":25778,"214":206,"85":36608,"24":0,"16":333768041785458688,"44":-5573626719306831872},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-07-01 17:38:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:38:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:38:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424272384001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:38:26] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-01 17:38:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:38:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333768041785458688,"km_value":333768041785458.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:38:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573626719306831872,"description":"Unknown IO ID 44"} 
[2026-07-01 17:38:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424272384001,"power":25778,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573626719306831872}} 
[2026-07-01 17:38:26] local.INFO: DEBUG: GPS processor result {"connection_id":119168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:38:26] local.INFO: GPS data processed {"connection_id":119168,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:38:26] local.INFO: Acknowledgment sent {"connection_id":119168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:38:29] local.INFO: TCP Data received {"connection_id":119961,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d93c7a0012d7ed58005dea620000900a72a..."} 
[2026-07-01 17:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d93c7a0012d7ed58005dea620000900a72a..."} 
[2026-07-01 17:38:29] local.INFO: Processing buffer {"connection_id":119961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d93c7a0012d7ed58005dea620000900a72a..."} 
[2026-07-01 17:38:29] local.INFO: Packet analysis {"connection_id":119961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d93"} 
[2026-07-01 17:38:29] local.INFO: Extracted packet for processing {"connection_id":119961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d93"} 
[2026-07-01 17:38:29] local.INFO: GPS Element Parsed {"raw_longitude":763286912,"raw_latitude":98477600,"longitude_deg":76.3286912,"latitude_deg":9.84776,"altitude":9,"angle":167,"satellites":42,"speed":42,"hex_longitude":"2d7ed580","hex_latitude":"05dea620","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:38:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424357376001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:38:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101382097431691264,"note":"Value kept but may cause issues"} 
[2026-07-01 17:38:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9138225881611716608,"note":"Value kept but may cause issues"} 
[2026-07-01 17:38:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:38:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782907652000,"timestamp_ms":1782907652000,"timestamp_seconds":1782907652,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d93c7a0"} 
[2026-07-01 17: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-01 17:38: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-01 17: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-01 17:38:29] 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-01 17: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-01 17: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-01 17:38:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:38:29] local.INFO: Teltonika packet parsed successfully {"connection_id":119961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:38:29] local.INFO: Passing IMEI to GPS processor {"connection_id":119961,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:38:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":119961,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:38:29] 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-01 17:38:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:38:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:38:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424357376001,"66":13048,"206":206,"85":15104,"24":42,"16":101382097431691264,"45":9138225881611716608},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-07-01 17:38:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:38:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:38:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424357376001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:38:29] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-07-01 17:38:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:38:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101382097431691264,"km_value":101382097431691.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:38:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9138225881611716608,"description":"Unknown IO ID 45"} 
[2026-07-01 17:38:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424357376001,"power":13048,"unknown_206":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":9138225881611716608}} 
[2026-07-01 17:38:29] local.INFO: DEBUG: GPS processor result {"connection_id":119961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418041,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:38:29] local.INFO: GPS data processed {"connection_id":119961,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:38:29] local.INFO: Acknowledgment sent {"connection_id":119961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:38:40] local.INFO: TCP Data received {"connection_id":119272,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119272,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:38:40] local.INFO: Processing buffer {"connection_id":119272,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:38:40] local.INFO: IMEI packet received {"connection_id":119272,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 17:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":119272,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:38:57] local.INFO: TCP Data received {"connection_id":119168,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d933718012cb2a68007751728001c00232a..."} 
[2026-07-01 17:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d933718012cb2a68007751728001c00232a..."} 
[2026-07-01 17:38:57] local.INFO: Processing buffer {"connection_id":119168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d933718012cb2a68007751728001c00232a..."} 
[2026-07-01 17:38:57] local.INFO: Packet analysis {"connection_id":119168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d93"} 
[2026-07-01 17:38:57] local.INFO: Extracted packet for processing {"connection_id":119168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d93"} 
[2026-07-01 17:38:57] local.INFO: GPS Element Parsed {"raw_longitude":749905536,"raw_latitude":125114152,"longitude_deg":74.9905536,"latitude_deg":12.5114152,"altitude":28,"angle":35,"satellites":42,"speed":0,"hex_longitude":"2cb2a680","hex_latitude":"07751728","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424272384001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333768041785458688,"note":"Value kept but may cause issues"} 
[2026-07-01 17:38:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573626719306831872,"note":"Value kept but may cause issues"} 
[2026-07-01 17:38:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782907615000,"timestamp_ms":1782907615000,"timestamp_seconds":1782907615,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d933718"} 
[2026-07-01 17: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-01 17:38:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 17:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-01 17:38:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17: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-01 17: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-01 17:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:38: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-01 17:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424272384001,"66":25778,"214":206,"85":36608,"24":0,"16":333768041785458688,"44":-5573626719306831872},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-07-01 17:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424272384001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:38:57] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-01 17:38:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333768041785458688,"km_value":333768041785458.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:38:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573626719306831872,"description":"Unknown IO ID 44"} 
[2026-07-01 17:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424272384001,"power":25778,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573626719306831872}} 
[2026-07-01 17:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":119168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:38:57] local.INFO: GPS data processed {"connection_id":119168,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:38:57] local.INFO: Acknowledgment sent {"connection_id":119168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:38:58] local.INFO: TCP Data received {"connection_id":119963,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119963,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:38:58] local.INFO: Processing buffer {"connection_id":119963,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:38:58] local.INFO: IMEI packet received {"connection_id":119963,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 17:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":119963,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:39:11] local.INFO: TCP Data received {"connection_id":119963,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119963,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:39:11] local.INFO: Processing buffer {"connection_id":119963,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:39:11] local.INFO: IMEI packet received {"connection_id":119963,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 17:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":119963,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:39:13] local.INFO: TCP Data received {"connection_id":119963,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d94d140012d7f3f0005dd77f0000100aa29..."} 
[2026-07-01 17:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d94d140012d7f3f0005dd77f0000100aa29..."} 
[2026-07-01 17:39:13] local.INFO: Processing buffer {"connection_id":119963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d94d140012d7f3f0005dd77f0000100aa29..."} 
[2026-07-01 17:39:13] local.INFO: Packet analysis {"connection_id":119963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d94"} 
[2026-07-01 17:39:13] local.INFO: Extracted packet for processing {"connection_id":119963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d94"} 
[2026-07-01 17:39:13] local.INFO: GPS Element Parsed {"raw_longitude":763313920,"raw_latitude":98400240,"longitude_deg":76.331392,"latitude_deg":9.840024,"altitude":1,"angle":170,"satellites":41,"speed":46,"hex_longitude":"2d7f3f00","hex_latitude":"05dd77f0","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424374784001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101386108931145728,"note":"Value kept but may cause issues"} 
[2026-07-01 17:39:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168977022797668352,"note":"Value kept but may cause issues"} 
[2026-07-01 17:39:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1782907720000,"timestamp_ms":1782907720000,"timestamp_seconds":1782907720,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d94d140"} 
[2026-07-01 17: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-01 17:39:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-07-01 17:39:13] 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-01 17: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-01 17: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-01 17:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":119963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":119963,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":119963,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:39:13] 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-01 17:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424374784001,"66":13015,"205":206,"85":15104,"24":46,"16":101386108931145728,"45":9168977022797668352},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-07-01 17:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424374784001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:39:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101386108931145728,"km_value":101386108931145.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:39:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168977022797668352,"description":"Unknown IO ID 45"} 
[2026-07-01 17:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424374784001,"power":13015,"cell_id":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":9168977022797668352}} 
[2026-07-01 17:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":119963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418043,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:39:13] local.INFO: GPS data processed {"connection_id":119963,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:39:13] local.INFO: Acknowledgment sent {"connection_id":119963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:39:14] local.INFO: TCP Data received {"connection_id":119963,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d94ec98012d7f474005dd5540000200a825..."} 
[2026-07-01 17:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d94ec98012d7f474005dd5540000200a825..."} 
[2026-07-01 17:39:14] local.INFO: Processing buffer {"connection_id":119963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d94ec98012d7f474005dd5540000200a825..."} 
[2026-07-01 17:39:14] local.INFO: Packet analysis {"connection_id":119963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d94"} 
[2026-07-01 17:39:14] local.INFO: Extracted packet for processing {"connection_id":119963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d94"} 
[2026-07-01 17:39:14] local.INFO: GPS Element Parsed {"raw_longitude":763316032,"raw_latitude":98391360,"longitude_deg":76.3316032,"latitude_deg":9.839136,"altitude":2,"angle":168,"satellites":37,"speed":53,"hex_longitude":"2d7f4740","hex_latitude":"05dd5540","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:39:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424376320001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:39:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101386551312777216,"note":"Value kept but may cause issues"} 
[2026-07-01 17:39:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9169047391540080640,"note":"Value kept but may cause issues"} 
[2026-07-01 17:39:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:39:14] local.INFO: AVL Record Parsed {"raw_timestamp":1782907727000,"timestamp_ms":1782907727000,"timestamp_seconds":1782907727,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d94ec98"} 
[2026-07-01 17: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-01 17:39:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 17: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-01 17:39:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17: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-01 17: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-01 17:39:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":119963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":119963,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":119963,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:39:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 17:39:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:39:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:39:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424376320001,"66":13059,"205":206,"85":15104,"24":53,"16":101386551312777216,"45":9169047391540080640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-07-01 17:39:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:39:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:39:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424376320001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:39:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:39:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101386551312777216,"km_value":101386551312777.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:39:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9169047391540080640,"description":"Unknown IO ID 45"} 
[2026-07-01 17:39:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424376320001,"power":13059,"cell_id":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":9169047391540080640}} 
[2026-07-01 17:39:14] local.INFO: DEBUG: GPS processor result {"connection_id":119963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418044,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:39:14] local.INFO: GPS data processed {"connection_id":119963,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:39:14] local.INFO: Acknowledgment sent {"connection_id":119963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:39:15] local.INFO: TCP Data received {"connection_id":121046,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121046,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:39:15] local.INFO: Processing buffer {"connection_id":121046,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:39:15] local.INFO: IMEI packet received {"connection_id":121046,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 17:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":121046,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:39:20] local.INFO: TCP Data received {"connection_id":121047,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:39:20] local.INFO: Processing buffer {"connection_id":121047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:39:20] local.INFO: IMEI packet received {"connection_id":121047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 17:39:20] local.INFO: IMEI acknowledgment sent {"connection_id":121047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:39:25] local.INFO: TCP Data received {"connection_id":121047,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:39:25] local.INFO: Processing buffer {"connection_id":121047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:39:25] local.INFO: IMEI packet received {"connection_id":121047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:39:25] local.INFO: IMEI acknowledgment sent {"connection_id":121047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:39:26] local.INFO: TCP Data received {"connection_id":121047,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d933718012cb2a68007751728001c00232a..."} 
[2026-07-01 17:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d933718012cb2a68007751728001c00232a..."} 
[2026-07-01 17:39:26] local.INFO: Processing buffer {"connection_id":121047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d933718012cb2a68007751728001c00232a..."} 
[2026-07-01 17:39:26] local.INFO: Packet analysis {"connection_id":121047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d93"} 
[2026-07-01 17:39:26] local.INFO: Extracted packet for processing {"connection_id":121047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d93"} 
[2026-07-01 17:39:26] local.INFO: GPS Element Parsed {"raw_longitude":749905536,"raw_latitude":125114152,"longitude_deg":74.9905536,"latitude_deg":12.5114152,"altitude":28,"angle":35,"satellites":42,"speed":0,"hex_longitude":"2cb2a680","hex_latitude":"07751728","is_valid_coordinates":true} 
[2026-07-01 17:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:39:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424272384001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:39:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333768041785458688,"note":"Value kept but may cause issues"} 
[2026-07-01 17:39:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573626719306831872,"note":"Value kept but may cause issues"} 
[2026-07-01 17:39:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:39:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782907615000,"timestamp_ms":1782907615000,"timestamp_seconds":1782907615,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d933718"} 
[2026-07-01 17:39:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:39:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 17:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-01 17:39:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:39:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:39:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:39:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:39:26] local.INFO: Teltonika packet parsed successfully {"connection_id":121047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:39:26] local.INFO: Passing IMEI to GPS processor {"connection_id":121047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:39:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":121047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:39:26] 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-01 17:39:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:39:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:39:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424272384001,"66":25778,"214":206,"85":36608,"24":0,"16":333768041785458688,"44":-5573626719306831872},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-07-01 17:39:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:39:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:39:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424272384001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:39:26] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-01 17:39:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:39:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333768041785458688,"km_value":333768041785458.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:39:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573626719306831872,"description":"Unknown IO ID 44"} 
[2026-07-01 17:39:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424272384001,"power":25778,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573626719306831872}} 
[2026-07-01 17:39:26] local.INFO: DEBUG: GPS processor result {"connection_id":121047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:39:26] local.INFO: GPS data processed {"connection_id":121047,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:39:26] local.INFO: Acknowledgment sent {"connection_id":121047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:39:51] local.INFO: TCP Data received {"connection_id":119273,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119273,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:39:51] local.INFO: Processing buffer {"connection_id":119273,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:39:51] local.INFO: IMEI packet received {"connection_id":119273,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 17:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":119273,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:39:55] local.INFO: TCP Data received {"connection_id":119273,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119273,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:39:55] local.INFO: Processing buffer {"connection_id":119273,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:39:55] local.INFO: IMEI packet received {"connection_id":119273,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 17:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":119273,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:39:56] local.INFO: TCP Data received {"connection_id":119273,"ip":"42.106.6.36","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-01 17:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119273,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-01 17:39:56] local.INFO: Processing buffer {"connection_id":119273,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-07-01 17:39:56] local.INFO: IMEI packet received {"connection_id":119273,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 17:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":119273,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:39:57] local.INFO: TCP Data received {"connection_id":119273,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d9507f0012d7f4f0005dd31d0000200a728..."} 
[2026-07-01 17:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d9507f0012d7f4f0005dd31d0000200a728..."} 
[2026-07-01 17:39:57] local.INFO: Processing buffer {"connection_id":119273,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019f1d..."} 
[2026-07-01 17:39:57] local.INFO: IMEI packet received {"connection_id":119273,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 17:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":119273,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:39:57] local.INFO: TCP Data received {"connection_id":121047,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d933718012cb2a68007751728001c00232a..."} 
[2026-07-01 17:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d933718012cb2a68007751728001c00232a..."} 
[2026-07-01 17:39:57] local.INFO: Processing buffer {"connection_id":121047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d933718012cb2a68007751728001c00232a..."} 
[2026-07-01 17:39:57] local.INFO: Packet analysis {"connection_id":121047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d93"} 
[2026-07-01 17:39:57] local.INFO: Extracted packet for processing {"connection_id":121047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d93"} 
[2026-07-01 17:39:57] local.INFO: GPS Element Parsed {"raw_longitude":749905536,"raw_latitude":125114152,"longitude_deg":74.9905536,"latitude_deg":12.5114152,"altitude":28,"angle":35,"satellites":42,"speed":0,"hex_longitude":"2cb2a680","hex_latitude":"07751728","is_valid_coordinates":true} 
[2026-07-01 17:39:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:39:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424272384001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:39:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333768041785458688,"note":"Value kept but may cause issues"} 
[2026-07-01 17:39:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573626719306831872,"note":"Value kept but may cause issues"} 
[2026-07-01 17:39:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:39:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782907615000,"timestamp_ms":1782907615000,"timestamp_seconds":1782907615,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d933718"} 
[2026-07-01 17:39:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:39:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 17:39:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-01 17:39:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:39:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:39:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:39:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:39:57] local.INFO: Teltonika packet parsed successfully {"connection_id":121047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:39:57] local.INFO: Passing IMEI to GPS processor {"connection_id":121047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:39:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":121047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:39: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-01 17:39:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:39:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:39:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424272384001,"66":25778,"214":206,"85":36608,"24":0,"16":333768041785458688,"44":-5573626719306831872},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-07-01 17:39:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:39:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:39:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424272384001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:39:57] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-01 17:39:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:39:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333768041785458688,"km_value":333768041785458.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:39:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573626719306831872,"description":"Unknown IO ID 44"} 
[2026-07-01 17:39:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424272384001,"power":25778,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573626719306831872}} 
[2026-07-01 17:39:57] local.INFO: DEBUG: GPS processor result {"connection_id":121047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:39:57] local.INFO: GPS data processed {"connection_id":121047,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:39:57] local.INFO: Acknowledgment sent {"connection_id":121047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:39:58] local.INFO: TCP Data received {"connection_id":119273,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d951f60012d7f56c005dd17680002009627..."} 
[2026-07-01 17:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d951f60012d7f56c005dd17680002009627..."} 
[2026-07-01 17:39:58] local.INFO: Processing buffer {"connection_id":119273,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f1d9507f0012d7f4f0005dd31d0000200a728..."} 
[2026-07-01 17:39:58] local.INFO: Packet analysis {"connection_id":119273,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f1d95"} 
[2026-07-01 17:39:58] local.INFO: Extracted packet for processing {"connection_id":119273,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d95"} 
[2026-07-01 17:39:58] local.INFO: GPS Element Parsed {"raw_longitude":763318016,"raw_latitude":98382288,"longitude_deg":76.3318016,"latitude_deg":9.8382288,"altitude":2,"angle":167,"satellites":40,"speed":51,"hex_longitude":"2d7f4f00","hex_latitude":"05dd31d0","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:39:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424378112001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:39:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101386997989376000,"note":"Value kept but may cause issues"} 
[2026-07-01 17:39:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9171369560095670272,"note":"Value kept but may cause issues"} 
[2026-07-01 17:39:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:39:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782907734000,"timestamp_ms":1782907734000,"timestamp_seconds":1782907734,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d9507f0"} 
[2026-07-01 17: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-01 17:39:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 17: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-01 17:39:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303161721015718,"note":"Value kept but may cause issues"} 
[2026-07-01 17:39:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":58077557095399473,"corrected_to":0} 
[2026-07-01 17:39:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-01 17:39:58] local.WARNING: Large IO value detected {"io_id":29,"raw_value":2492645377,"note":"Value kept but may cause issues"} 
[2026-07-01 17:39:58] local.WARNING: Large IO value detected {"io_id":221,"raw_value":3203923969,"note":"Value kept but may cause issues"} 
[2026-07-01 17:39:58] local.WARNING: Large IO value detected {"io_id":115,"raw_value":2147560831,"note":"Value kept but may cause issues"} 
[2026-07-01 17:39:58] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3221609949,"note":"Value kept but may cause issues"} 
[2026-07-01 17:39:58] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3724042240,"note":"Value kept but may cause issues"} 
[2026-07-01 17:39:58] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,205,85,24,241,157,16,50,159,209,45,119,1,41,10,66,185,192,146,49,174,240,193,227,29,221,4,113,47,115,31,224,43,239,51,2,104,5,3],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":58077557095399473,"validated":0}]} 
[2026-07-01 17:39:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144300064946585600,"timestamp_seconds":144300064946585.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 17: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-01 17:39:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:39:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:39:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119273,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:39:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119273,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:39: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-01 17:39:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:39:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:39:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424378112001,"66":13048,"205":206,"85":15104,"24":51,"16":101386997989376000,"45":9171369560095670272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-07-01 17:39:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:39:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:39:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424378112001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:39:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:39:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101386997989376000,"km_value":101386997989376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:39:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9171369560095670272,"description":"Unknown IO ID 45"} 
[2026-07-01 17:39:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424378112001,"power":13048,"cell_id":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":9171369560095670272}} 
[2026-07-01 17:39:58] local.INFO: DEBUG: GPS processor result {"connection_id":119273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418047,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:39:58] local.INFO: GPS data processed {"connection_id":119273,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:39:58] local.INFO: Acknowledgment sent {"connection_id":119273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:39:58] local.INFO: Packet analysis {"connection_id":119273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d95"} 
[2026-07-01 17:39:58] local.INFO: Extracted packet for processing {"connection_id":119273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d95"} 
[2026-07-01 17:39:58] local.INFO: GPS Element Parsed {"raw_longitude":763320000,"raw_latitude":98375528,"longitude_deg":76.332,"latitude_deg":9.8375528,"altitude":2,"angle":150,"satellites":39,"speed":43,"hex_longitude":"2d7f56c0","hex_latitude":"05dd1768","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:39:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424379904001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:39:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101387341586759680,"note":"Value kept but may cause issues"} 
[2026-07-01 17:39:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9173550991162855424,"note":"Value kept but may cause issues"} 
[2026-07-01 17:39:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:39:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782907740000,"timestamp_ms":1782907740000,"timestamp_seconds":1782907740,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d951f60"} 
[2026-07-01 17: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-01 17:39:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 17: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-01 17:39:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17: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-01 17: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-01 17:39:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:39:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:39:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119273,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:39:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119273,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:39: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-01 17:39:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:39:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:39:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424379904001,"66":13189,"205":206,"85":15104,"24":43,"16":101387341586759680,"45":9173550991162855424},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-07-01 17:39:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:39:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:39:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424379904001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:39:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:39:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101387341586759680,"km_value":101387341586759.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:39:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9173550991162855424,"description":"Unknown IO ID 45"} 
[2026-07-01 17:39:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424379904001,"power":13189,"cell_id":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":9173550991162855424}} 
[2026-07-01 17:39:58] local.INFO: DEBUG: GPS processor result {"connection_id":119273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418048,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:39:58] local.INFO: GPS data processed {"connection_id":119273,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:39:58] local.INFO: Acknowledgment sent {"connection_id":119273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:39:59] local.INFO: TCP Data received {"connection_id":119273,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d954a58012d7f6d8005dcf8e0000100962a..."} 
[2026-07-01 17:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d954a58012d7f6d8005dcf8e0000100962a..."} 
[2026-07-01 17:39:59] local.INFO: Processing buffer {"connection_id":119273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d954a58012d7f6d8005dcf8e0000100962a..."} 
[2026-07-01 17:39:59] local.INFO: Packet analysis {"connection_id":119273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d95"} 
[2026-07-01 17:39:59] local.INFO: Extracted packet for processing {"connection_id":119273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d95"} 
[2026-07-01 17:39:59] local.INFO: GPS Element Parsed {"raw_longitude":763325824,"raw_latitude":98367712,"longitude_deg":76.3325824,"latitude_deg":9.8367712,"altitude":1,"angle":150,"satellites":42,"speed":34,"hex_longitude":"2d7f6d80","hex_latitude":"05dcf8e0","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424381440001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101387814033162240,"note":"Value kept but may cause issues"} 
[2026-07-01 17:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9175732422230632448,"note":"Value kept but may cause issues"} 
[2026-07-01 17:39:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782907751000,"timestamp_ms":1782907751000,"timestamp_seconds":1782907751,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d954a58"} 
[2026-07-01 17: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-01 17:39:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-01 17:39:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17: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-01 17: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-01 17:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119273,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119273,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:39:59] 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-01 17:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424381440001,"66":13015,"205":206,"85":15104,"24":34,"16":101387814033162240,"45":9175732422230632448},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-07-01 17:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424381440001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:39:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101387814033162240,"km_value":101387814033162.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9175732422230632448,"description":"Unknown IO ID 45"} 
[2026-07-01 17:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424381440001,"power":13015,"cell_id":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":9175732422230632448}} 
[2026-07-01 17:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":119273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418049,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:39:59] local.INFO: GPS data processed {"connection_id":119273,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:39:59] local.INFO: Acknowledgment sent {"connection_id":119273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:40:25] local.INFO: TCP Data received {"connection_id":121049,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:40:25] local.INFO: Processing buffer {"connection_id":121049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:40:25] local.INFO: IMEI packet received {"connection_id":121049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 17:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":121049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:40:30] local.INFO: TCP Data received {"connection_id":121049,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:40:30] local.INFO: Processing buffer {"connection_id":121049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:40:30] local.INFO: IMEI packet received {"connection_id":121049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":121049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:40:31] local.INFO: TCP Data received {"connection_id":119273,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d9601f0012d7fb04005dc7e600005004d29..."} 
[2026-07-01 17:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d9601f0012d7fb04005dc7e600005004d29..."} 
[2026-07-01 17:40:31] local.INFO: Processing buffer {"connection_id":119273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d9601f0012d7fb04005dc7e600005004d29..."} 
[2026-07-01 17:40:31] local.INFO: Packet analysis {"connection_id":119273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d96"} 
[2026-07-01 17:40:31] local.INFO: Extracted packet for processing {"connection_id":119273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d96"} 
[2026-07-01 17:40:31] local.INFO: GPS Element Parsed {"raw_longitude":763342912,"raw_latitude":98336352,"longitude_deg":76.3342912,"latitude_deg":9.8336352,"altitude":5,"angle":77,"satellites":41,"speed":33,"hex_longitude":"2d7fb040","hex_latitude":"05dc7e60","is_valid_coordinates":true} 
[2026-07-01 17:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424395776001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101389652279164928,"note":"Value kept but may cause issues"} 
[2026-07-01 17:40:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199165214031708160,"note":"Value kept but may cause issues"} 
[2026-07-01 17:40:31] 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-01 17:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782907798000,"timestamp_ms":1782907798000,"timestamp_seconds":1782907798,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d9601f0"} 
[2026-07-01 17:40:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:40:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-01 17:40:31] 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-01 17:40:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:40:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119273,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119273,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:40:31] 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-01 17:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424395776001,"66":12798,"155":206,"85":15104,"24":33,"16":101389652279164928,"45":9199165214031708160},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-07-01 17:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424395776001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:40:31] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-01 17:40:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101389652279164928,"km_value":101389652279164.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:40:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199165214031708160,"description":"Unknown IO ID 45"} 
[2026-07-01 17:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424395776001,"power":12798,"unknown_155":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9199165214031708160}} 
[2026-07-01 17:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":119273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418050,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:40:31] local.INFO: GPS data processed {"connection_id":119273,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:40:31] local.INFO: Acknowledgment sent {"connection_id":119273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:40:31] local.INFO: TCP Data received {"connection_id":121049,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d933718012cb2a68007751728001c00232a..."} 
[2026-07-01 17:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d933718012cb2a68007751728001c00232a..."} 
[2026-07-01 17:40:31] local.INFO: Processing buffer {"connection_id":121049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d933718012cb2a68007751728001c00232a..."} 
[2026-07-01 17:40:31] local.INFO: Packet analysis {"connection_id":121049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d93"} 
[2026-07-01 17:40:31] local.INFO: Extracted packet for processing {"connection_id":121049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d93"} 
[2026-07-01 17:40:31] local.INFO: GPS Element Parsed {"raw_longitude":749905536,"raw_latitude":125114152,"longitude_deg":74.9905536,"latitude_deg":12.5114152,"altitude":28,"angle":35,"satellites":42,"speed":0,"hex_longitude":"2cb2a680","hex_latitude":"07751728","is_valid_coordinates":true} 
[2026-07-01 17:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424272384001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333768041785458688,"note":"Value kept but may cause issues"} 
[2026-07-01 17:40:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573626719306831872,"note":"Value kept but may cause issues"} 
[2026-07-01 17:40:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782907615000,"timestamp_ms":1782907615000,"timestamp_seconds":1782907615,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d933718"} 
[2026-07-01 17:40:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:40:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 17:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-01 17:40:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:40:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:40:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":121049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":121049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":121049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:40:31] 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-01 17:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424272384001,"66":25778,"214":206,"85":36608,"24":0,"16":333768041785458688,"44":-5573626719306831872},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-07-01 17:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424272384001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:40:31] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-01 17:40:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333768041785458688,"km_value":333768041785458.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:40:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573626719306831872,"description":"Unknown IO ID 44"} 
[2026-07-01 17:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424272384001,"power":25778,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573626719306831872}} 
[2026-07-01 17:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":121049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:40:31] local.INFO: GPS data processed {"connection_id":121049,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:40:31] local.INFO: Acknowledgment sent {"connection_id":121049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:40:35] local.INFO: TCP Data received {"connection_id":121049,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d933718012cb2a68007751728001c00232a..."} 
[2026-07-01 17:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d933718012cb2a68007751728001c00232a..."} 
[2026-07-01 17:40:35] local.INFO: Processing buffer {"connection_id":121049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d933718012cb2a68007751728001c00232a..."} 
[2026-07-01 17:40:35] local.INFO: Packet analysis {"connection_id":121049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d93"} 
[2026-07-01 17:40:35] local.INFO: Extracted packet for processing {"connection_id":121049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d93"} 
[2026-07-01 17:40:35] local.INFO: GPS Element Parsed {"raw_longitude":749905536,"raw_latitude":125114152,"longitude_deg":74.9905536,"latitude_deg":12.5114152,"altitude":28,"angle":35,"satellites":42,"speed":0,"hex_longitude":"2cb2a680","hex_latitude":"07751728","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424272384001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333768041785458688,"note":"Value kept but may cause issues"} 
[2026-07-01 17:40:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573626719306831872,"note":"Value kept but may cause issues"} 
[2026-07-01 17:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782907615000,"timestamp_ms":1782907615000,"timestamp_seconds":1782907615,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d933718"} 
[2026-07-01 17: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-01 17:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 17: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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-01 17:40:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17: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-01 17: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-01 17:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":121049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":121049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":121049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:40:35] 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-01 17:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424272384001,"66":25778,"214":206,"85":36608,"24":0,"16":333768041785458688,"44":-5573626719306831872},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-07-01 17:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424272384001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:40:35] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-01 17:40:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333768041785458688,"km_value":333768041785458.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:40:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573626719306831872,"description":"Unknown IO ID 44"} 
[2026-07-01 17:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424272384001,"power":25778,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573626719306831872}} 
[2026-07-01 17:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":121049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:40:35] local.INFO: GPS data processed {"connection_id":121049,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:40:35] local.INFO: Acknowledgment sent {"connection_id":121049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:40:51] local.INFO: TCP Data received {"connection_id":119170,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119170,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:40:51] local.INFO: Processing buffer {"connection_id":119170,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:40:51] local.INFO: IMEI packet received {"connection_id":119170,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 17:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":119170,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:40:57] local.INFO: TCP Data received {"connection_id":119170,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119170,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:40:57] local.INFO: Processing buffer {"connection_id":119170,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:40:57] local.INFO: IMEI packet received {"connection_id":119170,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 17:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":119170,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:40:57] local.INFO: TCP Data received {"connection_id":119170,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d962518012d7fd5c005dc88f00004004b2a..."} 
[2026-07-01 17:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d962518012d7fd5c005dc88f00004004b2a..."} 
[2026-07-01 17:40:57] local.INFO: Processing buffer {"connection_id":119170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d962518012d7fd5c005dc88f00004004b2a..."} 
[2026-07-01 17:40:57] local.INFO: Packet analysis {"connection_id":119170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d96"} 
[2026-07-01 17:40:57] local.INFO: Extracted packet for processing {"connection_id":119170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d96"} 
[2026-07-01 17:40:57] local.INFO: GPS Element Parsed {"raw_longitude":763352512,"raw_latitude":98339056,"longitude_deg":76.3352512,"latitude_deg":9.8339056,"altitude":4,"angle":75,"satellites":42,"speed":44,"hex_longitude":"2d7fd5c0","hex_latitude":"05dc88f0","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:40:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424396288001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:40:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101390133315502080,"note":"Value kept but may cause issues"} 
[2026-07-01 17:40:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200924432636207104,"note":"Value kept but may cause issues"} 
[2026-07-01 17:40:57] 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-01 17:40:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782907807000,"timestamp_ms":1782907807000,"timestamp_seconds":1782907807,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d962518"} 
[2026-07-01 17: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-01 17:40: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-01 17: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-01 17:40:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17: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-01 17: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-01 17:40:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:40:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:40:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:40:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:40:57] 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-01 17:40:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:40:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:40:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424396288001,"66":12743,"251":206,"85":15104,"24":44,"16":101390133315502080,"45":9200924432636207104},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-07-01 17:40:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:40:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:40:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424396288001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:40:57] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-01 17:40:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:40:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101390133315502080,"km_value":101390133315502.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:40:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200924432636207104,"description":"Unknown IO ID 45"} 
[2026-07-01 17:40:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424396288001,"power":12743,"unknown_251":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9200924432636207104}} 
[2026-07-01 17:40:57] local.INFO: DEBUG: GPS processor result {"connection_id":119170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418053,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:40:57] local.INFO: GPS data processed {"connection_id":119170,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:40:57] local.INFO: Acknowledgment sent {"connection_id":119170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:41:25] local.INFO: TCP Data received {"connection_id":119966,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:41:25] local.INFO: Processing buffer {"connection_id":119966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:41:25] local.INFO: IMEI packet received {"connection_id":119966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 17:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":119966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:41:29] local.INFO: TCP Data received {"connection_id":119170,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d965010012d7ff98005dc91d00001004b28..."} 
[2026-07-01 17:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d965010012d7ff98005dc91d00001004b28..."} 
[2026-07-01 17:41:29] local.INFO: Processing buffer {"connection_id":119170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d965010012d7ff98005dc91d00001004b28..."} 
[2026-07-01 17:41:29] local.INFO: Packet analysis {"connection_id":119170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d96"} 
[2026-07-01 17:41:29] local.INFO: Extracted packet for processing {"connection_id":119170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d96"} 
[2026-07-01 17:41:29] local.INFO: GPS Element Parsed {"raw_longitude":763361664,"raw_latitude":98341328,"longitude_deg":76.3361664,"latitude_deg":9.8341328,"altitude":1,"angle":75,"satellites":40,"speed":26,"hex_longitude":"2d7ff980","hex_latitude":"05dc91d0","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:41:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424398592001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:41:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101390584287068160,"note":"Value kept but may cause issues"} 
[2026-07-01 17:41:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9211479744263548928,"note":"Value kept but may cause issues"} 
[2026-07-01 17:41:29] 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-01 17:41:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782907818000,"timestamp_ms":1782907818000,"timestamp_seconds":1782907818,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d965010"} 
[2026-07-01 17: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-01 17:41: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-01 17: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":199,"data_length":795,"current_offset":136} 
[2026-07-01 17:41:29] 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-01 17: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-01 17: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-01 17:41:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:41:29] local.INFO: Teltonika packet parsed successfully {"connection_id":119170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:41:29] local.INFO: Passing IMEI to GPS processor {"connection_id":119170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:41:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":119170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:41:29] 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-01 17:41:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:41:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:41:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424398592001,"66":12613,"251":206,"85":15104,"24":26,"16":101390584287068160,"45":9211479744263548928},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-07-01 17:41:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:41:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:41:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424398592001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:41:29] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-01 17:41:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:41:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101390584287068160,"km_value":101390584287068.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:41:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9211479744263548928,"description":"Unknown IO ID 45"} 
[2026-07-01 17:41:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424398592001,"power":12613,"unknown_251":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":9211479744263548928}} 
[2026-07-01 17:41:29] local.INFO: DEBUG: GPS processor result {"connection_id":119170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418054,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:41:29] local.INFO: GPS data processed {"connection_id":119170,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:41:29] local.INFO: Acknowledgment sent {"connection_id":119170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:41:30] local.INFO: TCP Data received {"connection_id":119966,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:41:30] local.INFO: Processing buffer {"connection_id":119966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:41:30] local.INFO: IMEI packet received {"connection_id":119966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":119966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:41:31] local.INFO: TCP Data received {"connection_id":119966,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d933718012cb2a68007751728001c00232a..."} 
[2026-07-01 17:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d933718012cb2a68007751728001c00232a..."} 
[2026-07-01 17:41:31] local.INFO: Processing buffer {"connection_id":119966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d933718012cb2a68007751728001c00232a..."} 
[2026-07-01 17:41:31] local.INFO: Packet analysis {"connection_id":119966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d93"} 
[2026-07-01 17:41:31] local.INFO: Extracted packet for processing {"connection_id":119966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d93"} 
[2026-07-01 17:41:31] local.INFO: GPS Element Parsed {"raw_longitude":749905536,"raw_latitude":125114152,"longitude_deg":74.9905536,"latitude_deg":12.5114152,"altitude":28,"angle":35,"satellites":42,"speed":0,"hex_longitude":"2cb2a680","hex_latitude":"07751728","is_valid_coordinates":true} 
[2026-07-01 17:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424272384001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333768041785458688,"note":"Value kept but may cause issues"} 
[2026-07-01 17:41:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573626719306831872,"note":"Value kept but may cause issues"} 
[2026-07-01 17:41:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782907615000,"timestamp_ms":1782907615000,"timestamp_seconds":1782907615,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d933718"} 
[2026-07-01 17:41:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:41:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 17:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-01 17:41:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1657,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:41:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:41:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:41:31] 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-01 17:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424272384001,"66":25778,"214":206,"85":36608,"24":0,"16":333768041785458688,"44":-5573626719306831872},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-07-01 17:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424272384001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:41:31] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-01 17:41:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333768041785458688,"km_value":333768041785458.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:41:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573626719306831872,"description":"Unknown IO ID 44"} 
[2026-07-01 17:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424272384001,"power":25778,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573626719306831872}} 
[2026-07-01 17:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":119966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:41:31] local.INFO: GPS data processed {"connection_id":119966,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:41:31] local.INFO: Acknowledgment sent {"connection_id":119966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:41:57] local.INFO: TCP Data received {"connection_id":119275,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119275,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:41:57] local.INFO: Processing buffer {"connection_id":119275,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:41:57] local.INFO: IMEI packet received {"connection_id":119275,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 17:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":119275,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:42:02] local.INFO: TCP Data received {"connection_id":119275,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119275,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:42:02] local.INFO: Processing buffer {"connection_id":119275,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:42:02] local.INFO: IMEI packet received {"connection_id":119275,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 17:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":119275,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:42:02] local.INFO: TCP Data received {"connection_id":119966,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d973e58012cb2a68007751728001c002321..."} 
[2026-07-01 17:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d973e58012cb2a68007751728001c002321..."} 
[2026-07-01 17:42:02] local.INFO: Processing buffer {"connection_id":119966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d973e58012cb2a68007751728001c002321..."} 
[2026-07-01 17:42:02] local.INFO: Packet analysis {"connection_id":119966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d97"} 
[2026-07-01 17:42:02] local.INFO: Extracted packet for processing {"connection_id":119966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d97"} 
[2026-07-01 17:42:02] local.INFO: GPS Element Parsed {"raw_longitude":749905536,"raw_latitude":125114152,"longitude_deg":74.9905536,"latitude_deg":12.5114152,"altitude":28,"angle":35,"satellites":33,"speed":0,"hex_longitude":"2cb2a680","hex_latitude":"07751728","is_valid_coordinates":true} 
[2026-07-01 17:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424349440001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333768041785458688,"note":"Value kept but may cause issues"} 
[2026-07-01 17:42:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573626719306831872,"note":"Value kept but may cause issues"} 
[2026-07-01 17:42:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782907879000,"timestamp_ms":1782907879000,"timestamp_seconds":1782907879,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d973e58"} 
[2026-07-01 17:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:42:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 17:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-01 17:42:02] 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-01 17:42:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":119966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":119966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":119966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:42:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 17:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424349440001,"66":25712,"214":206,"85":36608,"24":0,"16":333768041785458688,"44":-5573626719306831872},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-07-01 17:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424349440001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:42:02] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-01 17:42:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333768041785458688,"km_value":333768041785458.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:42:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573626719306831872,"description":"Unknown IO ID 44"} 
[2026-07-01 17:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424349440001,"power":25712,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573626719306831872}} 
[2026-07-01 17:42:02] local.INFO: DEBUG: GPS processor result {"connection_id":119966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:42:02] local.INFO: GPS data processed {"connection_id":119966,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:42:02] local.INFO: Acknowledgment sent {"connection_id":119966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:42:02] local.INFO: TCP Data received {"connection_id":119275,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d979c18012d808f0005dc54500004009328..."} 
[2026-07-01 17:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d979c18012d808f0005dc54500004009328..."} 
[2026-07-01 17:42:02] local.INFO: Processing buffer {"connection_id":119275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d979c18012d808f0005dc54500004009328..."} 
[2026-07-01 17:42:02] local.INFO: Packet analysis {"connection_id":119275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d97"} 
[2026-07-01 17:42:02] local.INFO: Extracted packet for processing {"connection_id":119275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d97"} 
[2026-07-01 17:42:02] local.INFO: GPS Element Parsed {"raw_longitude":763399936,"raw_latitude":98325584,"longitude_deg":76.3399936,"latitude_deg":9.8325584,"altitude":4,"angle":147,"satellites":40,"speed":36,"hex_longitude":"2d808f00","hex_latitude":"05dc5450","is_valid_coordinates":true} 
[2026-07-01 17:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424423168001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101393122612740096,"note":"Value kept but may cause issues"} 
[2026-07-01 17:42:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9183121090013802496,"note":"Value kept but may cause issues"} 
[2026-07-01 17:42:02] 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-01 17:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782907903000,"timestamp_ms":1782907903000,"timestamp_seconds":1782907903,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d979c18"} 
[2026-07-01 17:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:42:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-01 17:42:02] 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-01 17:42:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":119275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":119275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":119275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:42:02] 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-01 17:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424423168001,"66":12689,"251":206,"85":15104,"24":36,"16":101393122612740096,"45":-9183121090013802496},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-07-01 17:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424423168001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:42:02] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-01 17:42:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101393122612740096,"km_value":101393122612740.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:42:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9183121090013802496,"description":"Unknown IO ID 45"} 
[2026-07-01 17:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424423168001,"power":12689,"unknown_251":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":-9183121090013802496}} 
[2026-07-01 17:42:02] local.INFO: DEBUG: GPS processor result {"connection_id":119275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418057,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:42:02] local.INFO: GPS data processed {"connection_id":119275,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:42:02] local.INFO: Acknowledgment sent {"connection_id":119275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:42:03] local.INFO: TCP Data received {"connection_id":119275,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d97b770012d809b0005dc3d080003009f26..."} 
[2026-07-01 17:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d97b770012d809b0005dc3d080003009f26..."} 
[2026-07-01 17:42:03] local.INFO: Processing buffer {"connection_id":119275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d97b770012d809b0005dc3d080003009f26..."} 
[2026-07-01 17:42:03] local.INFO: Packet analysis {"connection_id":119275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d97"} 
[2026-07-01 17:42:03] local.INFO: Extracted packet for processing {"connection_id":119275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d97"} 
[2026-07-01 17:42:03] local.INFO: GPS Element Parsed {"raw_longitude":763403008,"raw_latitude":98319624,"longitude_deg":76.3403008,"latitude_deg":9.8319624,"altitude":3,"angle":159,"satellites":38,"speed":39,"hex_longitude":"2d809b00","hex_latitude":"05dc3d08","is_valid_coordinates":true} 
[2026-07-01 17:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424423168001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101393449030254592,"note":"Value kept but may cause issues"} 
[2026-07-01 17:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9183121090013802496,"note":"Value kept but may cause issues"} 
[2026-07-01 17:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782907910000,"timestamp_ms":1782907910000,"timestamp_seconds":1782907910,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d97b770"} 
[2026-07-01 17:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:42:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-01 17:42:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:42:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":119275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":119275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":119275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:42:03] 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-01 17:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424423168001,"66":12613,"251":206,"85":15104,"24":39,"16":101393449030254592,"45":-9183121090013802496},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-07-01 17:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424423168001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:42:03] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-01 17:42:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101393449030254592,"km_value":101393449030254.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9183121090013802496,"description":"Unknown IO ID 45"} 
[2026-07-01 17:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424423168001,"power":12613,"unknown_251":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":-9183121090013802496}} 
[2026-07-01 17:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":119275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418058,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:42:03] local.INFO: GPS data processed {"connection_id":119275,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:42:03] local.INFO: Acknowledgment sent {"connection_id":119275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:42:20] local.INFO: TCP Data received {"connection_id":121051,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:42:20] local.INFO: Processing buffer {"connection_id":121051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:42:20] local.INFO: IMEI packet received {"connection_id":121051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 17:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":121051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:42:22] local.INFO: TCP Data received {"connection_id":121051,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:42:22] local.INFO: Processing buffer {"connection_id":121051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:42:22] local.INFO: IMEI packet received {"connection_id":121051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:42:22] local.INFO: IMEI acknowledgment sent {"connection_id":121051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:42:23] local.INFO: TCP Data received {"connection_id":121051,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:42:23] local.INFO: Processing buffer {"connection_id":121051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:42:23] local.INFO: IMEI packet received {"connection_id":121051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:42:23] local.INFO: IMEI acknowledgment sent {"connection_id":121051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:42:25] local.INFO: TCP Data received {"connection_id":121051,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:42:25] local.INFO: Processing buffer {"connection_id":121051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:42:25] local.INFO: IMEI packet received {"connection_id":121051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":121051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:42:26] local.INFO: TCP Data received {"connection_id":121051,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d974df8012cb2a60007751618001c011321..."} 
[2026-07-01 17:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d974df8012cb2a60007751618001c011321..."} 
[2026-07-01 17:42:26] local.INFO: Processing buffer {"connection_id":121051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d974df8012cb2a60007751618001c011321..."} 
[2026-07-01 17:42:26] local.INFO: Packet analysis {"connection_id":121051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d97"} 
[2026-07-01 17:42:26] local.INFO: Extracted packet for processing {"connection_id":121051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d97"} 
[2026-07-01 17:42:26] local.INFO: GPS Element Parsed {"raw_longitude":749905408,"raw_latitude":125113880,"longitude_deg":74.9905408,"latitude_deg":12.511388,"altitude":28,"angle":275,"satellites":33,"speed":0,"hex_longitude":"2cb2a600","hex_latitude":"07751618","is_valid_coordinates":true} 
[2026-07-01 17:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424417024001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333768041785458688,"note":"Value kept but may cause issues"} 
[2026-07-01 17:42:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573626719306831872,"note":"Value kept but may cause issues"} 
[2026-07-01 17:42:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782907883000,"timestamp_ms":1782907883000,"timestamp_seconds":1782907883,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d974df8"} 
[2026-07-01 17:42:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:42: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-01 17:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-07-01 17:42:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:42:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:42:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":121051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":121051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":121051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:42:26] 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-01 17:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424417024001,"66":27691,"214":206,"85":36608,"24":0,"16":333768041785458688,"44":-5573626719306831872},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-07-01 17:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424417024001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:42:26] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-01 17:42:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333768041785458688,"km_value":333768041785458.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:42:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573626719306831872,"description":"Unknown IO ID 44"} 
[2026-07-01 17:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424417024001,"power":27691,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573626719306831872}} 
[2026-07-01 17:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":121051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:42:26] local.INFO: GPS data processed {"connection_id":121051,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:42:26] local.INFO: Acknowledgment sent {"connection_id":121051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:42:30] local.INFO: TCP Data received {"connection_id":121051,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d97a000012cb2a60007751618001c011325..."} 
[2026-07-01 17:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d97a000012cb2a60007751618001c011325..."} 
[2026-07-01 17:42:30] local.INFO: Processing buffer {"connection_id":121051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d97a000012cb2a60007751618001c011325..."} 
[2026-07-01 17:42:30] local.INFO: Packet analysis {"connection_id":121051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d97"} 
[2026-07-01 17:42:30] local.INFO: Extracted packet for processing {"connection_id":121051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d97"} 
[2026-07-01 17:42:30] local.INFO: GPS Element Parsed {"raw_longitude":749905408,"raw_latitude":125113880,"longitude_deg":74.9905408,"latitude_deg":12.511388,"altitude":28,"angle":275,"satellites":37,"speed":0,"hex_longitude":"2cb2a600","hex_latitude":"07751618","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424418048001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333768041785458688,"note":"Value kept but may cause issues"} 
[2026-07-01 17:42:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573767456795256832,"note":"Value kept but may cause issues"} 
[2026-07-01 17:42:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782907904000,"timestamp_ms":1782907904000,"timestamp_seconds":1782907904,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d97a000"} 
[2026-07-01 17: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-01 17:42:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-01 17:42:30] 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-01 17: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-01 17: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-01 17:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":121051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":121051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":121051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:42:30] 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-01 17:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424418048001,"66":27658,"214":206,"85":36608,"24":0,"16":333768041785458688,"44":-5573767456795256832},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-07-01 17:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424418048001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:42:30] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-01 17:42:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333768041785458688,"km_value":333768041785458.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:42:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573767456795256832,"description":"Unknown IO ID 44"} 
[2026-07-01 17:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424418048001,"power":27658,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573767456795256832}} 
[2026-07-01 17:42:30] local.INFO: DEBUG: GPS processor result {"connection_id":121051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:42:30] local.INFO: GPS data processed {"connection_id":121051,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:42:30] local.INFO: Acknowledgment sent {"connection_id":121051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:42:35] local.INFO: TCP Data received {"connection_id":119275,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d97de80012d80a88005dc19f80003009a28..."} 
[2026-07-01 17:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d97de80012d80a88005dc19f80003009a28..."} 
[2026-07-01 17:42:35] local.INFO: Processing buffer {"connection_id":119275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d97de80012d80a88005dc19f80003009a28..."} 
[2026-07-01 17:42:35] local.INFO: Packet analysis {"connection_id":119275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d97"} 
[2026-07-01 17:42:35] local.INFO: Extracted packet for processing {"connection_id":119275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d97"} 
[2026-07-01 17:42:35] local.INFO: GPS Element Parsed {"raw_longitude":763406464,"raw_latitude":98310648,"longitude_deg":76.3406464,"latitude_deg":9.8310648,"altitude":3,"angle":154,"satellites":40,"speed":38,"hex_longitude":"2d80a880","hex_latitude":"05dc19f8","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424424960001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101393912886722560,"note":"Value kept but may cause issues"} 
[2026-07-01 17:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9179743390294800384,"note":"Value kept but may cause issues"} 
[2026-07-01 17:42: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-01 17:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782907920000,"timestamp_ms":1782907920000,"timestamp_seconds":1782907920,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d97de80"} 
[2026-07-01 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-01 17:42: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-01 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":69,"data_length":795,"current_offset":136} 
[2026-07-01 17:42: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-01 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-01 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-01 17:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":119275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":119275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":119275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:42:35] 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-01 17:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424424960001,"66":12722,"251":206,"85":15104,"24":38,"16":101393912886722560,"45":-9179743390294800384},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-07-01 17:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424424960001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:42:35] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-01 17:42:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101393912886722560,"km_value":101393912886722.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9179743390294800384,"description":"Unknown IO ID 45"} 
[2026-07-01 17:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424424960001,"power":12722,"unknown_251":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":-9179743390294800384}} 
[2026-07-01 17:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":119275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418061,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:42:35] local.INFO: GPS data processed {"connection_id":119275,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:42:35] local.INFO: Acknowledgment sent {"connection_id":119275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:42:52] local.INFO: TCP Data received {"connection_id":119171,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119171,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:42:52] local.INFO: Processing buffer {"connection_id":119171,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:42:52] local.INFO: IMEI packet received {"connection_id":119171,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 17:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":119171,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:42:53] local.INFO: TCP Data received {"connection_id":119171,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119171,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:42:53] local.INFO: Processing buffer {"connection_id":119171,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:42:53] local.INFO: IMEI packet received {"connection_id":119171,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 17:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":119171,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:42:54] local.INFO: TCP Data received {"connection_id":119171,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d9801a8012d80b68005dbf8a80004009e28..."} 
[2026-07-01 17:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d9801a8012d80b68005dbf8a80004009e28..."} 
[2026-07-01 17:42:54] local.INFO: Processing buffer {"connection_id":119171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d9801a8012d80b68005dbf8a80004009e28..."} 
[2026-07-01 17:42:54] local.INFO: Packet analysis {"connection_id":119171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d98"} 
[2026-07-01 17:42:54] local.INFO: Extracted packet for processing {"connection_id":119171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d98"} 
[2026-07-01 17:42:54] local.INFO: GPS Element Parsed {"raw_longitude":763410048,"raw_latitude":98302120,"longitude_deg":76.3410048,"latitude_deg":9.830212,"altitude":4,"angle":158,"satellites":40,"speed":40,"hex_longitude":"2d80b680","hex_latitude":"05dbf8a8","is_valid_coordinates":true} 
[2026-07-01 17:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:42:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424427520001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:42:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101394363858288640,"note":"Value kept but may cause issues"} 
[2026-07-01 17:42:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9175943478111504384,"note":"Value kept but may cause issues"} 
[2026-07-01 17:42: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-01 17:42:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782907929000,"timestamp_ms":1782907929000,"timestamp_seconds":1782907929,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d9801a8"} 
[2026-07-01 17:42:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:42: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-01 17:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-01 17:42:54] 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-01 17:42:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:42:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:42:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:42:54] local.INFO: Teltonika packet parsed successfully {"connection_id":119171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:42:54] local.INFO: Passing IMEI to GPS processor {"connection_id":119171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:42:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":119171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:42: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-01 17:42:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:42:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:42:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424427520001,"66":12613,"251":206,"85":15104,"24":40,"16":101394363858288640,"45":-9175943478111504384},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-07-01 17:42:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:42:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:42:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424427520001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:42:54] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-01 17:42:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:42:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101394363858288640,"km_value":101394363858288.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:42:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9175943478111504384,"description":"Unknown IO ID 45"} 
[2026-07-01 17:42:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424427520001,"power":12613,"unknown_251":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":-9175943478111504384}} 
[2026-07-01 17:42:54] local.INFO: DEBUG: GPS processor result {"connection_id":119171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418062,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:42:54] local.INFO: GPS data processed {"connection_id":119171,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:42:54] local.INFO: Acknowledgment sent {"connection_id":119171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:43:02] local.INFO: TCP Data received {"connection_id":121051,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d97a3e8012cb2a54007751658001c00ef26..."} 
[2026-07-01 17:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d97a3e8012cb2a54007751658001c00ef26..."} 
[2026-07-01 17:43:02] local.INFO: Processing buffer {"connection_id":121051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d97a3e8012cb2a54007751658001c00ef26..."} 
[2026-07-01 17:43:02] local.INFO: Packet analysis {"connection_id":121051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d97"} 
[2026-07-01 17:43:02] local.INFO: Extracted packet for processing {"connection_id":121051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d97"} 
[2026-07-01 17:43:02] local.INFO: GPS Element Parsed {"raw_longitude":749905216,"raw_latitude":125113944,"longitude_deg":74.9905216,"latitude_deg":12.5113944,"altitude":28,"angle":239,"satellites":38,"speed":1,"hex_longitude":"2cb2a540","hex_latitude":"07751658","is_valid_coordinates":true} 
[2026-07-01 17:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424423424001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333768050375393280,"note":"Value kept but may cause issues"} 
[2026-07-01 17:43:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573767456795256832,"note":"Value kept but may cause issues"} 
[2026-07-01 17:43:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782907905000,"timestamp_ms":1782907905000,"timestamp_seconds":1782907905,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d97a3e8"} 
[2026-07-01 17:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:43:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-01 17:43:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:43:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":121051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":121051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":121051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:43:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 17:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424423424001,"66":27658,"214":206,"85":36608,"24":1,"16":333768050375393280,"44":-5573767456795256832},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-07-01 17:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424423424001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:43:02] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-01 17:43:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333768050375393280,"km_value":333768050375393.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:43:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573767456795256832,"description":"Unknown IO ID 44"} 
[2026-07-01 17:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424423424001,"power":27658,"unknown_214":206,"unknown_85":36608,"ignition":1,"odometer":null,"unknown_44":-5573767456795256832}} 
[2026-07-01 17:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":121051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:43:02] local.INFO: GPS data processed {"connection_id":121051,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:43:02] local.INFO: Acknowledgment sent {"connection_id":121051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:43:20] local.INFO: TCP Data received {"connection_id":119968,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:43:20] local.INFO: Processing buffer {"connection_id":119968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:43:20] local.INFO: IMEI packet received {"connection_id":119968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 17:43:20] local.INFO: IMEI acknowledgment sent {"connection_id":119968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:43:20] local.INFO: TCP Data received {"connection_id":119968,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:43:20] local.INFO: Processing buffer {"connection_id":119968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:43:20] local.INFO: IMEI packet received {"connection_id":119968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:43:20] local.INFO: IMEI acknowledgment sent {"connection_id":119968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:43:25] local.INFO: TCP Data received {"connection_id":119968,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:43:25] local.INFO: Processing buffer {"connection_id":119968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:43:25] local.INFO: IMEI packet received {"connection_id":119968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:43:25] local.INFO: IMEI acknowledgment sent {"connection_id":119968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:43:25] local.INFO: TCP Data received {"connection_id":119171,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d9824d0012d80c50005dbd6980004009c2a..."} 
[2026-07-01 17:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d9824d0012d80c50005dbd6980004009c2a..."} 
[2026-07-01 17:43:25] local.INFO: Processing buffer {"connection_id":119171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d9824d0012d80c50005dbd6980004009c2a..."} 
[2026-07-01 17:43:25] local.INFO: Packet analysis {"connection_id":119171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d98"} 
[2026-07-01 17:43:25] local.INFO: Extracted packet for processing {"connection_id":119171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d98"} 
[2026-07-01 17:43:25] local.INFO: GPS Element Parsed {"raw_longitude":763413760,"raw_latitude":98293400,"longitude_deg":76.341376,"latitude_deg":9.82934,"altitude":4,"angle":156,"satellites":42,"speed":44,"hex_longitude":"2d80c500","hex_latitude":"05dbd698","is_valid_coordinates":true} 
[2026-07-01 17:43:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:43:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424429824001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:43:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101394819124822016,"note":"Value kept but may cause issues"} 
[2026-07-01 17:43:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172002828439738368,"note":"Value kept but may cause issues"} 
[2026-07-01 17:43:25] 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-01 17:43:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782907938000,"timestamp_ms":1782907938000,"timestamp_seconds":1782907938,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d9824d0"} 
[2026-07-01 17:43:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:43:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:43:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-07-01 17:43:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-01 17:43:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:43:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:43:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:43:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:43:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:43:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:43: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-01 17:43:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:43:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:43:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424429824001,"66":12765,"251":206,"85":15104,"24":44,"16":101394819124822016,"45":-9172002828439738368},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-07-01 17:43:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:43:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:43:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424429824001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:43:25] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-01 17:43:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:43:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101394819124822016,"km_value":101394819124822.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:43:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172002828439738368,"description":"Unknown IO ID 45"} 
[2026-07-01 17:43:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424429824001,"power":12765,"unknown_251":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":-9172002828439738368}} 
[2026-07-01 17:43:25] local.INFO: DEBUG: GPS processor result {"connection_id":119171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418064,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:43:25] local.INFO: GPS data processed {"connection_id":119171,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:43:25] local.INFO: Acknowledgment sent {"connection_id":119171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:43:30] local.INFO: TCP Data received {"connection_id":119968,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d97f5f0012cb2a50007751650001c00f124..."} 
[2026-07-01 17:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d97f5f0012cb2a50007751650001c00f124..."} 
[2026-07-01 17:43:30] local.INFO: Processing buffer {"connection_id":119968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d97f5f0012cb2a50007751650001c00f124..."} 
[2026-07-01 17:43:30] local.INFO: Packet analysis {"connection_id":119968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d97"} 
[2026-07-01 17:43:30] local.INFO: Extracted packet for processing {"connection_id":119968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d97"} 
[2026-07-01 17:43:30] local.INFO: GPS Element Parsed {"raw_longitude":749905152,"raw_latitude":125113936,"longitude_deg":74.9905152,"latitude_deg":12.5113936,"altitude":28,"angle":241,"satellites":36,"speed":0,"hex_longitude":"2cb2a500","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424423680001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333768054670360576,"note":"Value kept but may cause issues"} 
[2026-07-01 17:43:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573978563027773440,"note":"Value kept but may cause issues"} 
[2026-07-01 17:43:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782907926000,"timestamp_ms":1782907926000,"timestamp_seconds":1782907926,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d97f5f0"} 
[2026-07-01 17: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-01 17:43:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-01 17:43:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17: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-01 17: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-01 17:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":119968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":119968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":119968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:43:30] 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-01 17:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424423680001,"66":27800,"214":206,"85":36608,"24":0,"16":333768054670360576,"44":-5573978563027773440},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-07-01 17:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424423680001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:43:30] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-01 17:43:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333768054670360576,"km_value":333768054670360.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:43:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573978563027773440,"description":"Unknown IO ID 44"} 
[2026-07-01 17:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424423680001,"power":27800,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5573978563027773440}} 
[2026-07-01 17:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":119968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:43:30] local.INFO: GPS data processed {"connection_id":119968,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:43:30] local.INFO: Acknowledgment sent {"connection_id":119968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:43:52] local.INFO: TCP Data received {"connection_id":119172,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119172,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:43:52] local.INFO: Processing buffer {"connection_id":119172,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:43:52] local.INFO: IMEI packet received {"connection_id":119172,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 17:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":119172,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:43:55] local.INFO: TCP Data received {"connection_id":119172,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119172,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:43:55] local.INFO: Processing buffer {"connection_id":119172,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:43:55] local.INFO: IMEI packet received {"connection_id":119172,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 17:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":119172,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:43:57] local.INFO: TCP Data received {"connection_id":119172,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d9949c8012d81470005daf2f8000700902c..."} 
[2026-07-01 17:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d9949c8012d81470005daf2f8000700902c..."} 
[2026-07-01 17:43:57] local.INFO: Processing buffer {"connection_id":119172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d9949c8012d81470005daf2f8000700902c..."} 
[2026-07-01 17:43:57] local.INFO: Packet analysis {"connection_id":119172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d99"} 
[2026-07-01 17:43:57] local.INFO: Extracted packet for processing {"connection_id":119172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d99"} 
[2026-07-01 17:43:57] local.INFO: GPS Element Parsed {"raw_longitude":763447040,"raw_latitude":98235128,"longitude_deg":76.344704,"latitude_deg":9.8235128,"altitude":7,"angle":144,"satellites":44,"speed":30,"hex_longitude":"2d814700","hex_latitude":"05daf2f8","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:43:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424450560001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:43:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101398091889901568,"note":"Value kept but may cause issues"} 
[2026-07-01 17:43:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9133159281670436864,"note":"Value kept but may cause issues"} 
[2026-07-01 17:43:57] 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-01 17:43:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782908013000,"timestamp_ms":1782908013000,"timestamp_seconds":1782908013,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d9949c8"} 
[2026-07-01 17: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-01 17:43:57] 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-01 17: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-07-01 17:43:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17: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-01 17: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-01 17:43:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:43:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:43:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119172,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:43:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119172,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:43:57] 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-01 17:43:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:43:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:43:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424450560001,"66":12765,"154":206,"85":15104,"24":30,"16":101398091889901568,"45":-9133159281670436864},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-07-01 17:43:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:43:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:43:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424450560001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:43:57] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-01 17:43:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:43:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101398091889901568,"km_value":101398091889901.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:43:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9133159281670436864,"description":"Unknown IO ID 45"} 
[2026-07-01 17:43:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424450560001,"power":12765,"unknown_154":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9133159281670436864}} 
[2026-07-01 17:43:57] local.INFO: DEBUG: GPS processor result {"connection_id":119172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418066,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:43:57] local.INFO: GPS data processed {"connection_id":119172,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:43:57] local.INFO: Acknowledgment sent {"connection_id":119172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:44:01] local.INFO: TCP Data received {"connection_id":119968,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d9847f8012cb2a50007751650001c00f12c..."} 
[2026-07-01 17:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d9847f8012cb2a50007751650001c00f12c..."} 
[2026-07-01 17:44:01] local.INFO: Processing buffer {"connection_id":119968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d9847f8012cb2a50007751650001c00f12c..."} 
[2026-07-01 17:44:01] local.INFO: Packet analysis {"connection_id":119968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d98"} 
[2026-07-01 17:44:01] local.INFO: Extracted packet for processing {"connection_id":119968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d98"} 
[2026-07-01 17:44:01] local.INFO: GPS Element Parsed {"raw_longitude":749905152,"raw_latitude":125113936,"longitude_deg":74.9905152,"latitude_deg":12.5113936,"altitude":28,"angle":241,"satellites":44,"speed":0,"hex_longitude":"2cb2a500","hex_latitude":"07751650","is_valid_coordinates":true} 
[2026-07-01 17:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424429056001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333768054670360576,"note":"Value kept but may cause issues"} 
[2026-07-01 17:44:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574048931771953152,"note":"Value kept but may cause issues"} 
[2026-07-01 17:44:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782907947000,"timestamp_ms":1782907947000,"timestamp_seconds":1782907947,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d9847f8"} 
[2026-07-01 17:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:44:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 17:44:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:44:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":119968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":119968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":119968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:44:01] 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-01 17:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424429056001,"66":27865,"214":206,"85":36608,"24":0,"16":333768054670360576,"44":-5574048931771953152},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-07-01 17:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424429056001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:44:01] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-01 17:44:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333768054670360576,"km_value":333768054670360.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:44:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574048931771953152,"description":"Unknown IO ID 44"} 
[2026-07-01 17:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424429056001,"power":27865,"unknown_214":206,"unknown_85":36608,"ignition":0,"odometer":null,"unknown_44":-5574048931771953152}} 
[2026-07-01 17:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":119968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:44:01] local.INFO: GPS data processed {"connection_id":119968,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:44:01] local.INFO: Acknowledgment sent {"connection_id":119968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:44:25] local.INFO: TCP Data received {"connection_id":121052,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:44:25] local.INFO: Processing buffer {"connection_id":121052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:44:25] local.INFO: IMEI packet received {"connection_id":121052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 17:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":121052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:44:26] local.INFO: TCP Data received {"connection_id":121052,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:44:26] local.INFO: Processing buffer {"connection_id":121052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:44:26] local.INFO: IMEI packet received {"connection_id":121052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":121052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:44:27] local.INFO: TCP Data received {"connection_id":121052,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d986b20012cb2a74007751768001c00502e..."} 
[2026-07-01 17:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d986b20012cb2a74007751768001c00502e..."} 
[2026-07-01 17:44:27] local.INFO: Processing buffer {"connection_id":121052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d986b20012cb2a74007751768001c00502e..."} 
[2026-07-01 17:44:27] local.INFO: Packet analysis {"connection_id":121052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d98"} 
[2026-07-01 17:44:27] local.INFO: Extracted packet for processing {"connection_id":121052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d98"} 
[2026-07-01 17:44:27] local.INFO: GPS Element Parsed {"raw_longitude":749905728,"raw_latitude":125114216,"longitude_deg":74.9905728,"latitude_deg":12.5114216,"altitude":28,"angle":80,"satellites":46,"speed":3,"hex_longitude":"2cb2a740","hex_latitude":"07751768","is_valid_coordinates":true} 
[2026-07-01 17:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:44:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424434432001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:44:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333768084735131648,"note":"Value kept but may cause issues"} 
[2026-07-01 17:44:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574048931771953152,"note":"Value kept but may cause issues"} 
[2026-07-01 17:44:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:44:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782907956000,"timestamp_ms":1782907956000,"timestamp_seconds":1782907956,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d986b20"} 
[2026-07-01 17:44:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:44:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 17:44:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:44:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:44:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:44:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:44:27] local.INFO: Teltonika packet parsed successfully {"connection_id":121052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:44:27] local.INFO: Passing IMEI to GPS processor {"connection_id":121052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:44:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":121052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:44:27] 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-01 17:44:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:44:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:44:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424434432001,"66":27832,"214":206,"85":36608,"24":3,"16":333768084735131648,"44":-5574048931771953152},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-07-01 17:44:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:44:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:44:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424434432001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:44:27] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-01 17:44:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:44:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333768084735131648,"km_value":333768084735131.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:44:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574048931771953152,"description":"Unknown IO ID 44"} 
[2026-07-01 17:44:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424434432001,"power":27832,"unknown_214":206,"unknown_85":36608,"ignition":3,"odometer":null,"unknown_44":-5574048931771953152}} 
[2026-07-01 17:44:27] local.INFO: DEBUG: GPS processor result {"connection_id":121052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:44:27] local.INFO: GPS data processed {"connection_id":121052,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:44:27] local.INFO: Acknowledgment sent {"connection_id":121052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:44:28] local.INFO: TCP Data received {"connection_id":119172,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d995198012d81494005daed50000700a32c..."} 
[2026-07-01 17:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d995198012d81494005daed50000700a32c..."} 
[2026-07-01 17:44:28] local.INFO: Processing buffer {"connection_id":119172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d995198012d81494005daed50000700a32c..."} 
[2026-07-01 17:44:28] local.INFO: Packet analysis {"connection_id":119172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d99"} 
[2026-07-01 17:44:28] local.INFO: Extracted packet for processing {"connection_id":119172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d99"} 
[2026-07-01 17:44:28] local.INFO: GPS Element Parsed {"raw_longitude":763447616,"raw_latitude":98233680,"longitude_deg":76.3447616,"latitude_deg":9.823368,"altitude":7,"angle":163,"satellites":44,"speed":31,"hex_longitude":"2d814940","hex_latitude":"05daed50","is_valid_coordinates":true} 
[2026-07-01 17:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424451328001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101398169199312896,"note":"Value kept but may cause issues"} 
[2026-07-01 17:44:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9131329694322198528,"note":"Value kept but may cause issues"} 
[2026-07-01 17:44:28] 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-01 17:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782908015000,"timestamp_ms":1782908015000,"timestamp_seconds":1782908015,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d995198"} 
[2026-07-01 17:44:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:44:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-01 17:44:28] 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-01 17:44:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:44:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119172,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119172,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:44:28] 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-01 17:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424451328001,"66":12906,"154":206,"85":15104,"24":31,"16":101398169199312896,"45":-9131329694322198528},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-07-01 17:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424451328001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:44:28] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-07-01 17:44:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101398169199312896,"km_value":101398169199312.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:44:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9131329694322198528,"description":"Unknown IO ID 45"} 
[2026-07-01 17:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424451328001,"power":12906,"unknown_154":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9131329694322198528}} 
[2026-07-01 17:44:28] local.INFO: DEBUG: GPS processor result {"connection_id":119172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418069,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:44:28] local.INFO: GPS data processed {"connection_id":119172,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:44:28] local.INFO: Acknowledgment sent {"connection_id":119172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:44:30] local.INFO: TCP Data received {"connection_id":121052,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d986f08012cb2a7c007751790001c00352d..."} 
[2026-07-01 17:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d986f08012cb2a7c007751790001c00352d..."} 
[2026-07-01 17:44:30] local.INFO: Processing buffer {"connection_id":121052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d986f08012cb2a7c007751790001c00352d..."} 
[2026-07-01 17:44:30] local.INFO: Packet analysis {"connection_id":121052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d98"} 
[2026-07-01 17:44:30] local.INFO: Extracted packet for processing {"connection_id":121052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d98"} 
[2026-07-01 17:44:30] local.INFO: GPS Element Parsed {"raw_longitude":749905856,"raw_latitude":125114256,"longitude_deg":74.9905856,"latitude_deg":12.5114256,"altitude":28,"angle":53,"satellites":45,"speed":4,"hex_longitude":"2cb2a7c0","hex_latitude":"07751790","is_valid_coordinates":true} 
[2026-07-01 17:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424436736001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333768093325066240,"note":"Value kept but may cause issues"} 
[2026-07-01 17:44:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573415613074282496,"note":"Value kept but may cause issues"} 
[2026-07-01 17:44:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782907957000,"timestamp_ms":1782907957000,"timestamp_seconds":1782907957,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d986f08"} 
[2026-07-01 17:44:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:44:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-01 17:44:30] 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-01 17:44:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:44:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":121052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":121052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":121052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:44:30] 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-01 17:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424436736001,"66":27767,"214":206,"85":36608,"24":4,"16":333768093325066240,"44":-5573415613074282496},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-07-01 17:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424436736001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:44:30] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-01 17:44:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333768093325066240,"km_value":333768093325066.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:44:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573415613074282496,"description":"Unknown IO ID 44"} 
[2026-07-01 17:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424436736001,"power":27767,"unknown_214":206,"unknown_85":36608,"ignition":4,"odometer":null,"unknown_44":-5573415613074282496}} 
[2026-07-01 17:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":121052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:44:30] local.INFO: GPS data processed {"connection_id":121052,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:44:30] local.INFO: Acknowledgment sent {"connection_id":121052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:44:46] local.INFO: TCP Data received {"connection_id":119969,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119969,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:44:46] local.INFO: Processing buffer {"connection_id":119969,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:44:46] local.INFO: IMEI packet received {"connection_id":119969,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 17:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":119969,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:44:54] local.INFO: TCP Data received {"connection_id":119173,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119173,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:44:54] local.INFO: Processing buffer {"connection_id":119173,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:44:54] local.INFO: IMEI packet received {"connection_id":119173,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 17:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":119173,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:44:58] local.INFO: TCP Data received {"connection_id":119173,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119173,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:44:58] local.INFO: Processing buffer {"connection_id":119173,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:44:58] local.INFO: IMEI packet received {"connection_id":119173,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 17:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":119173,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:44:59] local.INFO: TCP Data received {"connection_id":119173,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119173,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:44:59] local.INFO: Processing buffer {"connection_id":119173,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:44:59] local.INFO: IMEI packet received {"connection_id":119173,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 17:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":119173,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:45:01] local.INFO: TCP Data received {"connection_id":121052,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d9872f0012cb2a800077517e8001c00252b..."} 
[2026-07-01 17:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d9872f0012cb2a800077517e8001c00252b..."} 
[2026-07-01 17:45:01] local.INFO: Processing buffer {"connection_id":121052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d9872f0012cb2a800077517e8001c00252b..."} 
[2026-07-01 17:45:01] local.INFO: Packet analysis {"connection_id":121052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d98"} 
[2026-07-01 17:45:01] local.INFO: Extracted packet for processing {"connection_id":121052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d98"} 
[2026-07-01 17:45:01] local.INFO: GPS Element Parsed {"raw_longitude":749905920,"raw_latitude":125114344,"longitude_deg":74.990592,"latitude_deg":12.5114344,"altitude":28,"angle":37,"satellites":43,"speed":3,"hex_longitude":"2cb2a800","hex_latitude":"077517e8","is_valid_coordinates":true} 
[2026-07-01 17:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424436992001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333768097620033536,"note":"Value kept but may cause issues"} 
[2026-07-01 17:45:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5573274875585916928,"note":"Value kept but may cause issues"} 
[2026-07-01 17:45:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782907958000,"timestamp_ms":1782907958000,"timestamp_seconds":1782907958,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d9872f0"} 
[2026-07-01 17:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:45:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 17:45:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:45:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":121052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":121052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":121052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:45:01] 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-01 17:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424436992001,"66":27767,"214":206,"85":36608,"24":3,"16":333768097620033536,"44":-5573274875585916928},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,85,24,16,44]} 
[2026-07-01 17:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424436992001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:45:01] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-07-01 17:45:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333768097620033536,"km_value":333768097620033.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:45:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5573274875585916928,"description":"Unknown IO ID 44"} 
[2026-07-01 17:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424436992001,"power":27767,"unknown_214":206,"unknown_85":36608,"ignition":3,"odometer":null,"unknown_44":-5573274875585916928}} 
[2026-07-01 17:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":121052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:45:01] local.INFO: GPS data processed {"connection_id":121052,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:45:01] local.INFO: Acknowledgment sent {"connection_id":121052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:45:02] local.INFO: TCP Data received {"connection_id":119173,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119173,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:45:02] local.INFO: Processing buffer {"connection_id":119173,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:45:02] local.INFO: IMEI packet received {"connection_id":119173,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 17:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":119173,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:45:03] local.INFO: TCP Data received {"connection_id":119173,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d9a2870012d81bb4005da7358000600622b..."} 
[2026-07-01 17:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d9a2870012d81bb4005da7358000600622b..."} 
[2026-07-01 17:45:03] local.INFO: Processing buffer {"connection_id":119173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d9a2870012d81bb4005da7358000600622b..."} 
[2026-07-01 17:45:03] local.INFO: Packet analysis {"connection_id":119173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d9a"} 
[2026-07-01 17:45:03] local.INFO: Extracted packet for processing {"connection_id":119173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d9a"} 
[2026-07-01 17:45:03] local.INFO: GPS Element Parsed {"raw_longitude":763476800,"raw_latitude":98202456,"longitude_deg":76.34768,"latitude_deg":9.8202456,"altitude":6,"angle":98,"satellites":43,"speed":24,"hex_longitude":"2d81bb40","hex_latitude":"05da7358","is_valid_coordinates":true} 
[2026-07-01 17:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424462848001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101400561496096768,"note":"Value kept but may cause issues"} 
[2026-07-01 17:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9108459852472027136,"note":"Value kept but may cause issues"} 
[2026-07-01 17:45:03] 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-01 17:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782908070000,"timestamp_ms":1782908070000,"timestamp_seconds":1782908070,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d9a2870"} 
[2026-07-01 17:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-01 17:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2377900603419395072,"note":"Value kept but may cause issues"} 
[2026-07-01 17:45:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-01 17:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2171371525,"note":"Value kept but may cause issues"} 
[2026-07-01 17:45:03] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":45057,"corrected_to":0} 
[2026-07-01 17:45:03] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-01 17:45:03] local.WARNING: Large IO value detected {"io_id":29,"raw_value":-7372577302900545920,"note":"Value kept but may cause issues"} 
[2026-07-01 17:45:03] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2200961028,"note":"Value kept but may cause issues"} 
[2026-07-01 17:45:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2828599502,"corrected_to":0} 
[2026-07-01 17:45:03] local.WARNING: Large IO value detected {"io_id":194,"raw_value":3758173569,"note":"Value kept but may cause issues"} 
[2026-07-01 17:45:03] local.WARNING: Large IO value detected {"io_id":106,"raw_value":3221609092,"note":"Value kept but may cause issues"} 
[2026-07-01 17:45:03] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4539854548394626645,"note":"Value kept but may cause issues"} 
[2026-07-01 17:45:03] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2697480254850554074,"note":"Value kept but may cause issues"} 
[2026-07-01 17:45:03] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755502520402161,"note":"Value kept but may cause issues"} 
[2026-07-01 17:45:03] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,153,85,24,241,157,16,62,159,249,45,64,127,4,42,10,66,210,129,41,202,1,240,238,227,29,218,113,205,25,194,106,160,40,239,50,2,104,5,59,81],"length":535,"final_offset":665,"validated_count":41,"validation_warnings":[{"io_id":202,"original":45057,"validated":0},{"io_id":205,"original":2828599502,"validated":0}]} 
[2026-07-01 17:45:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288348204286803968,"timestamp_seconds":288348204286803.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 17:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":119173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":119173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":119173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:45:03] 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-01 17:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424462848001,"66":12765,"153":206,"85":15104,"24":24,"16":101400561496096768,"45":-9108459852472027136},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,85,24,16,45]} 
[2026-07-01 17:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424462848001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:45:03] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-01 17:45:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101400561496096768,"km_value":101400561496096.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9108459852472027136,"description":"Unknown IO ID 45"} 
[2026-07-01 17:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424462848001,"power":12765,"unknown_153":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9108459852472027136}} 
[2026-07-01 17:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":119173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418072,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:45:03] local.INFO: GPS data processed {"connection_id":119173,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:45:03] local.INFO: Acknowledgment sent {"connection_id":119173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:45:04] local.INFO: TCP Data received {"connection_id":119173,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d9a2c58012d81bd8005da7358000600562a..."} 
[2026-07-01 17:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d9a2c58012d81bd8005da7358000600562a..."} 
[2026-07-01 17:45:04] local.INFO: Processing buffer {"connection_id":119173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d9a2c58012d81bd8005da7358000600562a..."} 
[2026-07-01 17:45:04] local.INFO: Packet analysis {"connection_id":119173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d9a"} 
[2026-07-01 17:45:04] local.INFO: Extracted packet for processing {"connection_id":119173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d9a"} 
[2026-07-01 17:45:04] local.INFO: GPS Element Parsed {"raw_longitude":763477376,"raw_latitude":98202456,"longitude_deg":76.3477376,"latitude_deg":9.8202456,"altitude":6,"angle":86,"satellites":42,"speed":25,"hex_longitude":"2d81bd80","hex_latitude":"05da7358","is_valid_coordinates":true} 
[2026-07-01 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-01 17:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424465920001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101400591560867840,"note":"Value kept but may cause issues"} 
[2026-07-01 17:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9098608228287948800,"note":"Value kept but may cause issues"} 
[2026-07-01 17:45:04] 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-01 17:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782908071000,"timestamp_ms":1782908071000,"timestamp_seconds":1782908071,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d9a2c58"} 
[2026-07-01 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-01 17:45: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-01 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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-01 17:45: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-01 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-01 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-01 17:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":119173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":119173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":119173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:45:04] 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-01 17:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424465920001,"66":12765,"153":206,"85":15104,"24":25,"16":101400591560867840,"45":-9098608228287948800},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,85,24,16,45]} 
[2026-07-01 17:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424465920001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:45:04] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-01 17:45:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101400591560867840,"km_value":101400591560867.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9098608228287948800,"description":"Unknown IO ID 45"} 
[2026-07-01 17:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424465920001,"power":12765,"unknown_153":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9098608228287948800}} 
[2026-07-01 17:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":119173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418073,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:45:04] local.INFO: GPS data processed {"connection_id":119173,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:45:04] local.INFO: Acknowledgment sent {"connection_id":119173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:45:20] local.INFO: TCP Data received {"connection_id":121053,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:45:20] local.INFO: Processing buffer {"connection_id":121053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:45:20] local.INFO: IMEI packet received {"connection_id":121053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 17:45:20] local.INFO: IMEI acknowledgment sent {"connection_id":121053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:45:24] local.INFO: TCP Data received {"connection_id":121053,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:45:24] local.INFO: Processing buffer {"connection_id":121053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:45:24] local.INFO: IMEI packet received {"connection_id":121053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":121053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:45:25] local.INFO: TCP Data received {"connection_id":121053,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d9a0930012cb2fb000775e4c8001000072b..."} 
[2026-07-01 17:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d9a0930012cb2fb000775e4c8001000072b..."} 
[2026-07-01 17:45:25] local.INFO: Processing buffer {"connection_id":121053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d9a0930012cb2fb000775e4c8001000072b..."} 
[2026-07-01 17:45:25] local.INFO: Packet analysis {"connection_id":121053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d9a"} 
[2026-07-01 17:45:25] local.INFO: Extracted packet for processing {"connection_id":121053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d9a"} 
[2026-07-01 17:45:25] local.INFO: GPS Element Parsed {"raw_longitude":749927168,"raw_latitude":125166792,"longitude_deg":74.9927168,"latitude_deg":12.5166792,"altitude":16,"angle":7,"satellites":43,"speed":24,"hex_longitude":"2cb2fb00","hex_latitude":"0775e4c8","is_valid_coordinates":true} 
[2026-07-01 17:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424462080001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:45:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333770953773285376,"note":"Value kept but may cause issues"} 
[2026-07-01 17:45:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5549982821250789376,"note":"Value kept but may cause issues"} 
[2026-07-01 17:45:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:45:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782908062000,"timestamp_ms":1782908062000,"timestamp_seconds":1782908062,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d9a0930"} 
[2026-07-01 17:45:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:45:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 17:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 17:45:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:45:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:45:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:45:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:45:25] local.INFO: Teltonika packet parsed successfully {"connection_id":121053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:45:25] local.INFO: Passing IMEI to GPS processor {"connection_id":121053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:45:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":121053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:45:25] 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-01 17:45:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424462080001,"66":27865,"63":206,"85":36608,"24":24,"16":333770953773285376,"44":-5549982821250789376},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,44]} 
[2026-07-01 17:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424462080001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:45:25] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-01 17:45:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333770953773285376,"km_value":333770953773285.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:45:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5549982821250789376,"description":"Unknown IO ID 44"} 
[2026-07-01 17:45:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424462080001,"power":27865,"unknown_63":206,"unknown_85":36608,"ignition":24,"odometer":null,"unknown_44":-5549982821250789376}} 
[2026-07-01 17:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":121053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:45:25] local.INFO: GPS data processed {"connection_id":121053,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:45:25] local.INFO: Acknowledgment sent {"connection_id":121053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:45:35] local.INFO: TCP Data received {"connection_id":119173,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d9a3428012d81c30005da74480005004a2a..."} 
[2026-07-01 17:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d9a3428012d81c30005da74480005004a2a..."} 
[2026-07-01 17:45:35] local.INFO: Processing buffer {"connection_id":119173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d9a3428012d81c30005da74480005004a2a..."} 
[2026-07-01 17:45:35] local.INFO: Packet analysis {"connection_id":119173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d9a"} 
[2026-07-01 17:45:35] local.INFO: Extracted packet for processing {"connection_id":119173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d9a"} 
[2026-07-01 17:45:35] local.INFO: GPS Element Parsed {"raw_longitude":763478784,"raw_latitude":98202696,"longitude_deg":76.3478784,"latitude_deg":9.8202696,"altitude":5,"angle":74,"satellites":42,"speed":27,"hex_longitude":"2d81c300","hex_latitude":"05da7448","is_valid_coordinates":true} 
[2026-07-01 17:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424466176001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101400655985377280,"note":"Value kept but may cause issues"} 
[2026-07-01 17:45:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9097974909590349824,"note":"Value kept but may cause issues"} 
[2026-07-01 17:45: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-01 17:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782908073000,"timestamp_ms":1782908073000,"timestamp_seconds":1782908073,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d9a3428"} 
[2026-07-01 17:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:45: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-01 17:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-01 17:45: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-01 17:45:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":119173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":119173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":119173,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:45:35] 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-01 17:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424466176001,"66":12472,"153":206,"85":15104,"24":27,"16":101400655985377280,"45":-9097974909590349824},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,85,24,16,45]} 
[2026-07-01 17:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424466176001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:45:35] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-01 17:45:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101400655985377280,"km_value":101400655985377.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:45:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9097974909590349824,"description":"Unknown IO ID 45"} 
[2026-07-01 17:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424466176001,"power":12472,"unknown_153":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9097974909590349824}} 
[2026-07-01 17:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":119173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418075,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:45:35] local.INFO: GPS data processed {"connection_id":119173,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:45:35] local.INFO: Acknowledgment sent {"connection_id":119173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:45:39] local.INFO: TCP Data received {"connection_id":119970,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119970,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:45:39] local.INFO: Processing buffer {"connection_id":119970,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:45:39] local.INFO: IMEI packet received {"connection_id":119970,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 17:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":119970,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:45:52] local.INFO: TCP Data received {"connection_id":119174,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119174,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:45:52] local.INFO: Processing buffer {"connection_id":119174,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:45:52] local.INFO: IMEI packet received {"connection_id":119174,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 17:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":119174,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:45:56] local.INFO: TCP Data received {"connection_id":121053,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d9a14e8012cb2fc800775eb98001200122d..."} 
[2026-07-01 17:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d9a14e8012cb2fc800775eb98001200122d..."} 
[2026-07-01 17:45:56] local.INFO: Processing buffer {"connection_id":121053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d9a14e8012cb2fc800775eb98001200122d..."} 
[2026-07-01 17:45:56] local.INFO: Packet analysis {"connection_id":121053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d9a"} 
[2026-07-01 17:45:56] local.INFO: Extracted packet for processing {"connection_id":121053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d9a"} 
[2026-07-01 17:45:56] local.INFO: GPS Element Parsed {"raw_longitude":749927552,"raw_latitude":125168536,"longitude_deg":74.9927552,"latitude_deg":12.5168536,"altitude":18,"angle":18,"satellites":45,"speed":22,"hex_longitude":"2cb2fc80","hex_latitude":"0775eb98","is_valid_coordinates":true} 
[2026-07-01 17:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424463872001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333771039672631296,"note":"Value kept but may cause issues"} 
[2026-07-01 17:45:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5549842083761305600,"note":"Value kept but may cause issues"} 
[2026-07-01 17:45:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782908065000,"timestamp_ms":1782908065000,"timestamp_seconds":1782908065,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d9a14e8"} 
[2026-07-01 17:45:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:45:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 17:45:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:45:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:45:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":121053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":121053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":121053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:45:56] 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-01 17:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424463872001,"66":27930,"63":206,"85":36608,"24":22,"16":333771039672631296,"44":-5549842083761305600},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,44]} 
[2026-07-01 17:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424463872001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:45:56] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-01 17:45:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333771039672631296,"km_value":333771039672631.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:45:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5549842083761305600,"description":"Unknown IO ID 44"} 
[2026-07-01 17:45:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424463872001,"power":27930,"unknown_63":206,"unknown_85":36608,"ignition":22,"odometer":null,"unknown_44":-5549842083761305600}} 
[2026-07-01 17:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":121053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:45:56] local.INFO: GPS data processed {"connection_id":121053,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:45:56] local.INFO: Acknowledgment sent {"connection_id":121053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:45:57] local.INFO: TCP Data received {"connection_id":119174,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119174,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:45:57] local.INFO: Processing buffer {"connection_id":119174,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:45:57] local.INFO: IMEI packet received {"connection_id":119174,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 17:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":119174,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:45:58] local.INFO: TCP Data received {"connection_id":119174,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d9a6308012d81e68005da81700005004729..."} 
[2026-07-01 17:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d9a6308012d81e68005da81700005004729..."} 
[2026-07-01 17:45:58] local.INFO: Processing buffer {"connection_id":119174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d9a6308012d81e68005da81700005004729..."} 
[2026-07-01 17:45:58] local.INFO: Packet analysis {"connection_id":119174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d9a"} 
[2026-07-01 17:45:58] local.INFO: Extracted packet for processing {"connection_id":119174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d9a"} 
[2026-07-01 17:45:58] local.INFO: GPS Element Parsed {"raw_longitude":763487872,"raw_latitude":98206064,"longitude_deg":76.3487872,"latitude_deg":9.8206064,"altitude":5,"angle":71,"satellites":41,"speed":35,"hex_longitude":"2d81e680","hex_latitude":"05da8170","is_valid_coordinates":true} 
[2026-07-01 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-01 17:45:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424466688001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:45:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101401119841845248,"note":"Value kept but may cause issues"} 
[2026-07-01 17:45:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9096426797218379776,"note":"Value kept but may cause issues"} 
[2026-07-01 17:45:58] 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-01 17:45:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782908085000,"timestamp_ms":1782908085000,"timestamp_seconds":1782908085,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d9a6308"} 
[2026-07-01 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-01 17:45:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 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":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-01 17:45:58] 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-01 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-01 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-01 17:45:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:45:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:45:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:45:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:45: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-01 17:45:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:45:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:45:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424466688001,"66":12863,"153":206,"85":15104,"24":35,"16":101401119841845248,"45":-9096426797218379776},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,85,24,16,45]} 
[2026-07-01 17:45:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:45:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:45:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424466688001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:45:58] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-07-01 17:45:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:45:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101401119841845248,"km_value":101401119841845.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:45:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9096426797218379776,"description":"Unknown IO ID 45"} 
[2026-07-01 17:45:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424466688001,"power":12863,"unknown_153":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":-9096426797218379776}} 
[2026-07-01 17:45:58] local.INFO: DEBUG: GPS processor result {"connection_id":119174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418077,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:45:58] local.INFO: GPS data processed {"connection_id":119174,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:45:58] local.INFO: Acknowledgment sent {"connection_id":119174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:46:20] local.INFO: TCP Data received {"connection_id":119972,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:46:20] local.INFO: Processing buffer {"connection_id":119972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:46:20] local.INFO: IMEI packet received {"connection_id":119972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 17:46:20] local.INFO: IMEI acknowledgment sent {"connection_id":119972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:46:20] local.INFO: TCP Data received {"connection_id":119972,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:46:20] local.INFO: Processing buffer {"connection_id":119972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:46:20] local.INFO: IMEI packet received {"connection_id":119972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:46:20] local.INFO: IMEI acknowledgment sent {"connection_id":119972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:46:25] local.INFO: TCP Data received {"connection_id":119972,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:46:25] local.INFO: Processing buffer {"connection_id":119972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:46:25] local.INFO: IMEI packet received {"connection_id":119972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":119972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:46:26] local.INFO: TCP Data received {"connection_id":119972,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d9b0330012cb33cc007764820001300002c..."} 
[2026-07-01 17:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d9b0330012cb33cc007764820001300002c..."} 
[2026-07-01 17:46:26] local.INFO: Processing buffer {"connection_id":119972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d9b0330012cb33cc007764820001300002c..."} 
[2026-07-01 17:46:26] local.INFO: Packet analysis {"connection_id":119972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d9b"} 
[2026-07-01 17:46:26] local.INFO: Extracted packet for processing {"connection_id":119972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d9b"} 
[2026-07-01 17:46:26] local.INFO: GPS Element Parsed {"raw_longitude":749944000,"raw_latitude":125192224,"longitude_deg":74.9944,"latitude_deg":12.5192224,"altitude":19,"angle":0,"satellites":44,"speed":16,"hex_longitude":"2cb33cc0","hex_latitude":"07764820","is_valid_coordinates":true} 
[2026-07-01 17:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424478720001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333772469896740864,"note":"Value kept but may cause issues"} 
[2026-07-01 17:46:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5531757316501594112,"note":"Value kept but may cause issues"} 
[2026-07-01 17:46:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782908126000,"timestamp_ms":1782908126000,"timestamp_seconds":1782908126,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d9b0330"} 
[2026-07-01 17:46:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:46: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-01 17:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-01 17:46:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:46:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:46:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:46:26] 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-01 17:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424478720001,"66":27658,"40":206,"85":36608,"24":16,"16":333772469896740864,"44":-5531757316501594112},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,85,24,16,44]} 
[2026-07-01 17:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424478720001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:46:26] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-07-01 17:46:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333772469896740864,"km_value":333772469896740.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:46:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5531757316501594112,"description":"Unknown IO ID 44"} 
[2026-07-01 17:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424478720001,"power":27658,"unknown_40":206,"unknown_85":36608,"ignition":16,"odometer":null,"unknown_44":-5531757316501594112}} 
[2026-07-01 17:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":119972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:46:26] local.INFO: GPS data processed {"connection_id":119972,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:46:26] local.INFO: Acknowledgment sent {"connection_id":119972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:46:29] local.INFO: TCP Data received {"connection_id":119174,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d9b7860012d824a0005d9d4d80008009f25..."} 
[2026-07-01 17:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d9b7860012d824a0005d9d4d80008009f25..."} 
[2026-07-01 17:46:29] local.INFO: Processing buffer {"connection_id":119174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d9b7860012d824a0005d9d4d80008009f25..."} 
[2026-07-01 17:46:29] local.INFO: Packet analysis {"connection_id":119174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d9b"} 
[2026-07-01 17:46:29] local.INFO: Extracted packet for processing {"connection_id":119174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d9b"} 
[2026-07-01 17:46:29] local.INFO: GPS Element Parsed {"raw_longitude":763513344,"raw_latitude":98161880,"longitude_deg":76.3513344,"latitude_deg":9.816188,"altitude":8,"angle":159,"satellites":37,"speed":14,"hex_longitude":"2d824a00","hex_latitude":"05d9d4d8","is_valid_coordinates":true} 
[2026-07-01 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-01 17:46:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424484864001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:46:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101404207923331072,"note":"Value kept but may cause issues"} 
[2026-07-01 17:46:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9060046156486760448,"note":"Value kept but may cause issues"} 
[2026-07-01 17:46:29] 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-01 17:46:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782908156000,"timestamp_ms":1782908156000,"timestamp_seconds":1782908156,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d9b7860"} 
[2026-07-01 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-01 17:46: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-01 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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-07-01 17:46:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1585267069002187776,"note":"Value kept but may cause issues"} 
[2026-07-01 17:46:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-01 17:46:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2183315461,"note":"Value kept but may cause issues"} 
[2026-07-01 17:46:29] local.WARNING: Large IO value detected {"io_id":64,"raw_value":4026531840,"note":"Value kept but may cause issues"} 
[2026-07-01 17:46:29] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-07-01 17:46:29] local.WARNING: Large IO value detected {"io_id":29,"raw_value":-7302208558722835136,"note":"Value kept but may cause issues"} 
[2026-07-01 17:46:29] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2247098373,"note":"Value kept but may cause issues"} 
[2026-07-01 17:46:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2806448334,"corrected_to":0} 
[2026-07-01 17:46:29] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2147867275,"note":"Value kept but may cause issues"} 
[2026-07-01 17:46:29] local.WARNING: Large IO value detected {"io_id":49,"raw_value":7278043116165189205,"note":"Value kept but may cause issues"} 
[2026-07-01 17:46:29] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2697964039966790105,"note":"Value kept but may cause issues"} 
[2026-07-01 17:46:29] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755493930467569,"note":"Value kept but may cause issues"} 
[2026-07-01 17:46:29] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,71,85,24,241,157,16,66,159,38,45,192,28,4,39,10,65,3,128,224,64,1,240,123,227,29,218,113,205,32,177,176,40,239,49,2,104,5,22,59],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2806448334,"validated":0}]} 
[2026-07-01 17:46:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432534847733891072,"timestamp_seconds":432534847733891.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 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-01 17:46:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:46:29] local.INFO: Teltonika packet parsed successfully {"connection_id":119174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:46:29] local.INFO: Passing IMEI to GPS processor {"connection_id":119174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:46:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":119174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:46:29] 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-01 17:46:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:46:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:46:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424484864001,"66":12526,"71":206,"85":15104,"24":14,"16":101404207923331072,"45":-9060046156486760448},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-07-01 17:46:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:46:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:46:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424484864001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:46:29] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-07-01 17:46:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:46:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101404207923331072,"km_value":101404207923331.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:46:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9060046156486760448,"description":"Unknown IO ID 45"} 
[2026-07-01 17:46:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424484864001,"power":12526,"unknown_71":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":-9060046156486760448}} 
[2026-07-01 17:46:29] local.INFO: DEBUG: GPS processor result {"connection_id":119174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418079,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:46:29] local.INFO: GPS data processed {"connection_id":119174,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:46:29] local.INFO: Acknowledgment sent {"connection_id":119174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:46:51] local.INFO: TCP Data received {"connection_id":119175,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119175,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:46:51] local.INFO: Processing buffer {"connection_id":119175,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:46:51] local.INFO: IMEI packet received {"connection_id":119175,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 17:46:51] local.INFO: IMEI acknowledgment sent {"connection_id":119175,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:46:52] local.INFO: TCP Data received {"connection_id":119175,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119175,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:46:52] local.INFO: Processing buffer {"connection_id":119175,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:46:52] local.INFO: IMEI packet received {"connection_id":119175,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 17:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":119175,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:46:57] local.INFO: TCP Data received {"connection_id":119175,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119175,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:46:57] local.INFO: Processing buffer {"connection_id":119175,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:46:57] local.INFO: IMEI packet received {"connection_id":119175,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 17:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":119175,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:46:57] local.INFO: TCP Data received {"connection_id":119972,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d9b1aa0012cb33d40077656d80012000d2c..."} 
[2026-07-01 17:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d9b1aa0012cb33d40077656d80012000d2c..."} 
[2026-07-01 17:46:57] local.INFO: Processing buffer {"connection_id":119972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d9b1aa0012cb33d40077656d80012000d2c..."} 
[2026-07-01 17:46:57] local.INFO: Packet analysis {"connection_id":119972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d9b"} 
[2026-07-01 17:46:57] local.INFO: Extracted packet for processing {"connection_id":119972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d9b"} 
[2026-07-01 17:46:57] local.INFO: GPS Element Parsed {"raw_longitude":749944128,"raw_latitude":125195992,"longitude_deg":74.9944128,"latitude_deg":12.5195992,"altitude":18,"angle":13,"satellites":44,"speed":30,"hex_longitude":"2cb33d40","hex_latitude":"077656d8","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:46:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424480256001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:46:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333772654580334592,"note":"Value kept but may cause issues"} 
[2026-07-01 17:46:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5531335104036069376,"note":"Value kept but may cause issues"} 
[2026-07-01 17:46:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:46:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782908132000,"timestamp_ms":1782908132000,"timestamp_seconds":1782908132,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d9b1aa0"} 
[2026-07-01 17: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-01 17:46:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-01 17:46:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17: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-01 17: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-01 17:46:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:46:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:46:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:46:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:46:57] 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-01 17:46:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:46:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:46:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424480256001,"66":27865,"40":206,"85":36608,"24":30,"16":333772654580334592,"44":-5531335104036069376},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,85,24,16,44]} 
[2026-07-01 17:46:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:46:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:46:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424480256001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:46:57] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-07-01 17:46:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:46:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333772654580334592,"km_value":333772654580334.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:46:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5531335104036069376,"description":"Unknown IO ID 44"} 
[2026-07-01 17:46:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424480256001,"power":27865,"unknown_40":206,"unknown_85":36608,"ignition":30,"odometer":null,"unknown_44":-5531335104036069376}} 
[2026-07-01 17:46:57] local.INFO: DEBUG: GPS processor result {"connection_id":119972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:46:57] local.INFO: GPS data processed {"connection_id":119972,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:46:57] local.INFO: Acknowledgment sent {"connection_id":119972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:46:58] local.INFO: TCP Data received {"connection_id":119175,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d9bbac8012d824ac005d9d140000800ad27..."} 
[2026-07-01 17:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d9bbac8012d824ac005d9d140000800ad27..."} 
[2026-07-01 17:46:58] local.INFO: Processing buffer {"connection_id":119175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d9bbac8012d824ac005d9d140000800ad27..."} 
[2026-07-01 17:46:58] local.INFO: Packet analysis {"connection_id":119175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d9b"} 
[2026-07-01 17:46:58] local.INFO: Extracted packet for processing {"connection_id":119175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d9b"} 
[2026-07-01 17:46:58] local.INFO: GPS Element Parsed {"raw_longitude":763513536,"raw_latitude":98160960,"longitude_deg":76.3513536,"latitude_deg":9.816096,"altitude":8,"angle":173,"satellites":39,"speed":11,"hex_longitude":"2d824ac0","hex_latitude":"05d9d140","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424487936001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:46:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101404259462938624,"note":"Value kept but may cause issues"} 
[2026-07-01 17:46:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9058427675372890112,"note":"Value kept but may cause issues"} 
[2026-07-01 17:46:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:46:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782908173000,"timestamp_ms":1782908173000,"timestamp_seconds":1782908173,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d9bbac8"} 
[2026-07-01 17: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-01 17:46:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-07-01 17:46: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-01 17: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-01 17: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-01 17:46:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:46:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:46:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:46:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:46: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-01 17:46:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:46:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:46:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424487936001,"66":13037,"69":206,"85":15104,"24":11,"16":101404259462938624,"45":-9058427675372890112},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-07-01 17:46:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:46:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:46:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424487936001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:46:58] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-07-01 17:46:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:46:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101404259462938624,"km_value":101404259462938.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:46:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9058427675372890112,"description":"Unknown IO ID 45"} 
[2026-07-01 17:46:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424487936001,"power":13037,"unknown_69":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":-9058427675372890112}} 
[2026-07-01 17:46:58] local.INFO: DEBUG: GPS processor result {"connection_id":119175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418081,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:46:58] local.INFO: GPS data processed {"connection_id":119175,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:46:58] local.INFO: Acknowledgment sent {"connection_id":119175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:47:20] local.INFO: TCP Data received {"connection_id":119277,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:47:20] local.INFO: Processing buffer {"connection_id":119277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:47:20] local.INFO: IMEI packet received {"connection_id":119277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 17:47:20] local.INFO: IMEI acknowledgment sent {"connection_id":119277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:47:20] local.INFO: TCP Data received {"connection_id":119277,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:47:20] local.INFO: Processing buffer {"connection_id":119277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:47:20] local.INFO: IMEI packet received {"connection_id":119277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:47:20] local.INFO: IMEI acknowledgment sent {"connection_id":119277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:47:25] local.INFO: TCP Data received {"connection_id":119277,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:47:25] local.INFO: Processing buffer {"connection_id":119277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:47:25] local.INFO: IMEI packet received {"connection_id":119277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":119277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:47:26] local.INFO: TCP Data received {"connection_id":119277,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d9b41b0012cb344c0077678a8001300052c..."} 
[2026-07-01 17:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d9b41b0012cb344c0077678a8001300052c..."} 
[2026-07-01 17:47:26] local.INFO: Processing buffer {"connection_id":119277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d9b41b0012cb344c0077678a8001300052c..."} 
[2026-07-01 17:47:26] local.INFO: Packet analysis {"connection_id":119277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d9b"} 
[2026-07-01 17:47:26] local.INFO: Extracted packet for processing {"connection_id":119277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d9b"} 
[2026-07-01 17:47:26] local.INFO: GPS Element Parsed {"raw_longitude":749946048,"raw_latitude":125204648,"longitude_deg":74.9946048,"latitude_deg":12.5204648,"altitude":19,"angle":5,"satellites":44,"speed":36,"hex_longitude":"2cb344c0","hex_latitude":"077678a8","is_valid_coordinates":true} 
[2026-07-01 17:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424481792001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333773084077064192,"note":"Value kept but may cause issues"} 
[2026-07-01 17:47:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5531194366546749440,"note":"Value kept but may cause issues"} 
[2026-07-01 17:47:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:47:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782908142000,"timestamp_ms":1782908142000,"timestamp_seconds":1782908142,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d9b41b0"} 
[2026-07-01 17:47:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:47: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-01 17:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 17:47:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:47:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:47:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:47:26] 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-01 17:47:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:47:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424481792001,"66":27843,"40":206,"85":36608,"24":36,"16":333773084077064192,"44":-5531194366546749440},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,85,24,16,44]} 
[2026-07-01 17:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424481792001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:47:26] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-07-01 17:47:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333773084077064192,"km_value":333773084077064.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:47:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5531194366546749440,"description":"Unknown IO ID 44"} 
[2026-07-01 17:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424481792001,"power":27843,"unknown_40":206,"unknown_85":36608,"ignition":36,"odometer":null,"unknown_44":-5531194366546749440}} 
[2026-07-01 17:47:26] local.INFO: DEBUG: GPS processor result {"connection_id":119277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:47:26] local.INFO: GPS data processed {"connection_id":119277,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:47:26] local.INFO: Acknowledgment sent {"connection_id":119277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:47:29] local.INFO: TCP Data received {"connection_id":119175,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d9bed90012d82520005d9af50000800a827..."} 
[2026-07-01 17:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d9bed90012d82520005d9af50000800a827..."} 
[2026-07-01 17:47:29] local.INFO: Processing buffer {"connection_id":119175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d9bed90012d82520005d9af50000800a827..."} 
[2026-07-01 17:47:29] local.INFO: Packet analysis {"connection_id":119175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d9b"} 
[2026-07-01 17:47:29] local.INFO: Extracted packet for processing {"connection_id":119175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d9b"} 
[2026-07-01 17:47:29] local.INFO: GPS Element Parsed {"raw_longitude":763515392,"raw_latitude":98152272,"longitude_deg":76.3515392,"latitude_deg":9.8152272,"altitude":8,"angle":168,"satellites":39,"speed":38,"hex_longitude":"2d825200","hex_latitude":"05d9af50","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:47:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424492288001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:47:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101404688959668224,"note":"Value kept but may cause issues"} 
[2026-07-01 17:47:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9058216569140592640,"note":"Value kept but may cause issues"} 
[2026-07-01 17:47:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:47:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782908186000,"timestamp_ms":1782908186000,"timestamp_seconds":1782908186,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d9bed90"} 
[2026-07-01 17: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-01 17:47: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-01 17: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-01 17:47:29] 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-01 17: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-01 17: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-01 17:47:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:47:29] local.INFO: Teltonika packet parsed successfully {"connection_id":119175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:47:29] local.INFO: Passing IMEI to GPS processor {"connection_id":119175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:47:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":119175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:47:29] 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-01 17:47:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:47:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:47:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424492288001,"66":13048,"69":206,"85":15104,"24":38,"16":101404688959668224,"45":-9058216569140592640},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-07-01 17:47:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:47:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:47:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424492288001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:47:29] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-07-01 17:47:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:47:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101404688959668224,"km_value":101404688959668.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:47:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9058216569140592640,"description":"Unknown IO ID 45"} 
[2026-07-01 17:47:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424492288001,"power":13048,"unknown_69":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":-9058216569140592640}} 
[2026-07-01 17:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":119175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418083,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:47:29] local.INFO: GPS data processed {"connection_id":119175,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:47:29] local.INFO: Acknowledgment sent {"connection_id":119175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:47:51] local.INFO: TCP Data received {"connection_id":121054,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121054,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:47:51] local.INFO: Processing buffer {"connection_id":121054,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:47:51] local.INFO: IMEI packet received {"connection_id":121054,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 17:47:51] local.INFO: IMEI acknowledgment sent {"connection_id":121054,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:47:57] local.INFO: TCP Data received {"connection_id":121054,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121054,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:47:57] local.INFO: Processing buffer {"connection_id":121054,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:47:57] local.INFO: IMEI packet received {"connection_id":121054,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 17:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":121054,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:47:57] local.INFO: TCP Data received {"connection_id":119277,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d9b6ca8012cb3474007769ce8001800022d..."} 
[2026-07-01 17:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d9b6ca8012cb3474007769ce8001800022d..."} 
[2026-07-01 17:47:57] local.INFO: Processing buffer {"connection_id":119277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d9b6ca8012cb3474007769ce8001800022d..."} 
[2026-07-01 17:47:57] local.INFO: Packet analysis {"connection_id":119277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d9b"} 
[2026-07-01 17:47:57] local.INFO: Extracted packet for processing {"connection_id":119277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d9b"} 
[2026-07-01 17:47:57] local.INFO: GPS Element Parsed {"raw_longitude":749946688,"raw_latitude":125213928,"longitude_deg":74.9946688,"latitude_deg":12.5213928,"altitude":24,"angle":2,"satellites":45,"speed":29,"hex_longitude":"2cb34740","hex_latitude":"07769ce8","is_valid_coordinates":true} 
[2026-07-01 17:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:47:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424484352001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:47:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333773539343597568,"note":"Value kept but may cause issues"} 
[2026-07-01 17:47:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5529083304219203584,"note":"Value kept but may cause issues"} 
[2026-07-01 17:47:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:47:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782908153000,"timestamp_ms":1782908153000,"timestamp_seconds":1782908153,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d9b6ca8"} 
[2026-07-01 17:47:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:47:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 17:47:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:47:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:47:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:47:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:47:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:47:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:47:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:47:57] 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-01 17:47:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:47:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:47:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424484352001,"66":27908,"40":206,"85":36608,"24":29,"16":333773539343597568,"44":-5529083304219203584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,85,24,16,44]} 
[2026-07-01 17:47:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:47:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:47:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424484352001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:47:57] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-07-01 17:47:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:47:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333773539343597568,"km_value":333773539343597.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:47:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5529083304219203584,"description":"Unknown IO ID 44"} 
[2026-07-01 17:47:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424484352001,"power":27908,"unknown_40":206,"unknown_85":36608,"ignition":29,"odometer":null,"unknown_44":-5529083304219203584}} 
[2026-07-01 17:47:57] local.INFO: DEBUG: GPS processor result {"connection_id":119277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:47:57] local.INFO: GPS data processed {"connection_id":119277,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:47:57] local.INFO: Acknowledgment sent {"connection_id":119277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:47:58] local.INFO: TCP Data received {"connection_id":121054,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d9c10b8012d825a0005d98908000800a728..."} 
[2026-07-01 17:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d9c10b8012d825a0005d98908000800a728..."} 
[2026-07-01 17:47:58] local.INFO: Processing buffer {"connection_id":121054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d9c10b8012d825a0005d98908000800a728..."} 
[2026-07-01 17:47:58] local.INFO: Packet analysis {"connection_id":121054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d9c"} 
[2026-07-01 17:47:58] local.INFO: Extracted packet for processing {"connection_id":121054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d9c"} 
[2026-07-01 17:47:58] local.INFO: GPS Element Parsed {"raw_longitude":763517440,"raw_latitude":98142472,"longitude_deg":76.351744,"latitude_deg":9.8142472,"altitude":8,"angle":167,"satellites":40,"speed":46,"hex_longitude":"2d825a00","hex_latitude":"05d98908","is_valid_coordinates":true} 
[2026-07-01 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-01 17:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424495616001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:47:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101405174290972672,"note":"Value kept but may cause issues"} 
[2026-07-01 17:47:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9056175875561664512,"note":"Value kept but may cause issues"} 
[2026-07-01 17:47:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:47:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782908195000,"timestamp_ms":1782908195000,"timestamp_seconds":1782908195,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d9c10b8"} 
[2026-07-01 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-01 17:47:58] 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-01 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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-07-01 17:47:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 17:47:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:47:58] local.INFO: Teltonika packet parsed successfully {"connection_id":121054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:47:58] local.INFO: Passing IMEI to GPS processor {"connection_id":121054,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:47:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":121054,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:47: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-01 17:47:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:47:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:47:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424495616001,"66":13167,"69":206,"85":15104,"24":46,"16":101405174290972672,"45":-9056175875561664512},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-07-01 17:47:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:47:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:47:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424495616001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:47:58] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-07-01 17:47:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:47:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101405174290972672,"km_value":101405174290972.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:47:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9056175875561664512,"description":"Unknown IO ID 45"} 
[2026-07-01 17:47:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424495616001,"power":13167,"unknown_69":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":-9056175875561664512}} 
[2026-07-01 17:47:58] local.INFO: DEBUG: GPS processor result {"connection_id":121054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418085,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:47:58] local.INFO: GPS data processed {"connection_id":121054,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:47:58] local.INFO: Acknowledgment sent {"connection_id":121054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:48:19] local.INFO: TCP Data received {"connection_id":119278,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:48:19] local.INFO: Processing buffer {"connection_id":119278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:48:19] local.INFO: IMEI packet received {"connection_id":119278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 17:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":119278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:48:20] local.INFO: TCP Data received {"connection_id":119278,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:48:20] local.INFO: Processing buffer {"connection_id":119278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:48:20] local.INFO: IMEI packet received {"connection_id":119278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:48:20] local.INFO: IMEI acknowledgment sent {"connection_id":119278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:48:23] local.INFO: TCP Data received {"connection_id":119278,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:48:23] local.INFO: Processing buffer {"connection_id":119278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:48:23] local.INFO: IMEI packet received {"connection_id":119278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":119278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:48:24] local.INFO: TCP Data received {"connection_id":119278,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:48:24] local.INFO: Processing buffer {"connection_id":119278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:48:24] local.INFO: IMEI packet received {"connection_id":119278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:48:24] local.INFO: IMEI acknowledgment sent {"connection_id":119278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:48:25] local.INFO: TCP Data received {"connection_id":119278,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d9cf348012cb3b6400777bf48002600142a..."} 
[2026-07-01 17:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d9cf348012cb3b6400777bf48002600142a..."} 
[2026-07-01 17:48:25] local.INFO: Processing buffer {"connection_id":119278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d9cf348012cb3b6400777bf48002600142a..."} 
[2026-07-01 17:48:25] local.INFO: Packet analysis {"connection_id":119278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d9c"} 
[2026-07-01 17:48:25] local.INFO: Extracted packet for processing {"connection_id":119278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d9c"} 
[2026-07-01 17:48:25] local.INFO: GPS Element Parsed {"raw_longitude":749975104,"raw_latitude":125288264,"longitude_deg":74.9975104,"latitude_deg":12.5288264,"altitude":38,"angle":20,"satellites":42,"speed":43,"hex_longitude":"2cb3b640","hex_latitude":"0777bf48","is_valid_coordinates":true} 
[2026-07-01 17:48: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-01 17:48:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424512000001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:48:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333777482123575296,"note":"Value kept but may cause issues"} 
[2026-07-01 17:48:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5498754375457970176,"note":"Value kept but may cause issues"} 
[2026-07-01 17:48:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,252,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:48:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782908253000,"timestamp_ms":1782908253000,"timestamp_seconds":1782908253,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d9cf348"} 
[2026-07-01 17:48:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:48:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 17:48:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 17:48:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:48: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-01 17:48:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:48:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:48:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:48:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:48:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:48:25] 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-01 17:48:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:48:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:48:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424512000001,"66":27658,"252":206,"85":36608,"24":43,"16":333777482123575296,"44":-5498754375457970176},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,252,85,24,16,44]} 
[2026-07-01 17:48:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:48:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:48:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424512000001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:48:25] local.INFO: Unknown IO ID detected {"io_id":252,"value":206,"description":"Unknown IO ID 252"} 
[2026-07-01 17:48:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:48:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333777482123575296,"km_value":333777482123575.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:48:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5498754375457970176,"description":"Unknown IO ID 44"} 
[2026-07-01 17:48:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424512000001,"power":27658,"unknown_252":206,"unknown_85":36608,"ignition":43,"odometer":null,"unknown_44":-5498754375457970176}} 
[2026-07-01 17:48:25] local.INFO: DEBUG: GPS processor result {"connection_id":119278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:48:25] local.INFO: GPS data processed {"connection_id":119278,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:48:25] local.INFO: Acknowledgment sent {"connection_id":119278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:48:26] local.INFO: TCP Data received {"connection_id":119278,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d9d02e8012cb3bd800777cdf8002600292b..."} 
[2026-07-01 17:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d9d02e8012cb3bd800777cdf8002600292b..."} 
[2026-07-01 17:48:26] local.INFO: Processing buffer {"connection_id":119278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d9d02e8012cb3bd800777cdf8002600292b..."} 
[2026-07-01 17:48:26] local.INFO: Packet analysis {"connection_id":119278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d9d"} 
[2026-07-01 17:48:26] local.INFO: Extracted packet for processing {"connection_id":119278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d9d"} 
[2026-07-01 17:48:26] local.INFO: GPS Element Parsed {"raw_longitude":749976960,"raw_latitude":125292024,"longitude_deg":74.997696,"latitude_deg":12.5292024,"altitude":38,"angle":41,"satellites":43,"speed":40,"hex_longitude":"2cb3bd80","hex_latitude":"0777cdf8","is_valid_coordinates":true} 
[2026-07-01 17:48:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:48:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424512768001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:48:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333777683987038208,"note":"Value kept but may cause issues"} 
[2026-07-01 17:48:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5497135894341138432,"note":"Value kept but may cause issues"} 
[2026-07-01 17:48:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:48:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782908257000,"timestamp_ms":1782908257000,"timestamp_seconds":1782908257,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d9d02e8"} 
[2026-07-01 17:48:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:48:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:48:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-01 17:48:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:48:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:48:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:48:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:48:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:48:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:48:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:48:26] 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-01 17:48:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:48:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:48:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424512768001,"66":27876,"253":206,"85":36608,"24":40,"16":333777683987038208,"44":-5497135894341138432},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,44]} 
[2026-07-01 17:48:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:48:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:48:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424512768001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:48:26] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-07-01 17:48:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:48:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333777683987038208,"km_value":333777683987038.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:48:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5497135894341138432,"description":"Unknown IO ID 44"} 
[2026-07-01 17:48:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424512768001,"power":27876,"unknown_253":206,"unknown_85":36608,"ignition":40,"odometer":null,"unknown_44":-5497135894341138432}} 
[2026-07-01 17:48:26] local.INFO: DEBUG: GPS processor result {"connection_id":119278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:48:26] local.INFO: GPS data processed {"connection_id":119278,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:48:26] local.INFO: Acknowledgment sent {"connection_id":119278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:48:29] local.INFO: TCP Data received {"connection_id":121054,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d9c2ff8012d82634005d96318000900a328..."} 
[2026-07-01 17:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d9c2ff8012d82634005d96318000900a328..."} 
[2026-07-01 17:48:29] local.INFO: Processing buffer {"connection_id":121054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d9c2ff8012d82634005d96318000900a328..."} 
[2026-07-01 17:48:29] local.INFO: Packet analysis {"connection_id":121054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d9c"} 
[2026-07-01 17:48:29] local.INFO: Extracted packet for processing {"connection_id":121054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d9c"} 
[2026-07-01 17:48:29] local.INFO: GPS Element Parsed {"raw_longitude":763519808,"raw_latitude":98132760,"longitude_deg":76.3519808,"latitude_deg":9.813276,"altitude":9,"angle":163,"satellites":40,"speed":51,"hex_longitude":"2d826340","hex_latitude":"05d96318","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424497920001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101405659622277120,"note":"Value kept but may cause issues"} 
[2026-07-01 17:48:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9053924075750488064,"note":"Value kept but may cause issues"} 
[2026-07-01 17:48:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782908203000,"timestamp_ms":1782908203000,"timestamp_seconds":1782908203,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d9c2ff8"} 
[2026-07-01 17: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-01 17:48:29] 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-01 17: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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-07-01 17:48:29] 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-01 17:48:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17: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-01 17:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":121054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":121054,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":121054,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:48:29] 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-01 17:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:48:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424497920001,"66":13276,"69":206,"85":15104,"24":51,"16":101405659622277120,"45":-9053924075750488064},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-07-01 17:48:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:48:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:48:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424497920001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:48:29] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-07-01 17:48:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:48:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101405659622277120,"km_value":101405659622277.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:48:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9053924075750488064,"description":"Unknown IO ID 45"} 
[2026-07-01 17:48:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424497920001,"power":13276,"unknown_69":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":-9053924075750488064}} 
[2026-07-01 17:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":121054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418088,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:48:29] local.INFO: GPS data processed {"connection_id":121054,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:48:29] local.INFO: Acknowledgment sent {"connection_id":121054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:48:56] local.INFO: TCP Data received {"connection_id":119278,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d9d0ab8012cb3c3c00777d2c00025003e2c..."} 
[2026-07-01 17:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d9d0ab8012cb3c3c00777d2c00025003e2c..."} 
[2026-07-01 17:48:56] local.INFO: Processing buffer {"connection_id":119278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d9d0ab8012cb3c3c00777d2c00025003e2c..."} 
[2026-07-01 17:48:56] local.INFO: Packet analysis {"connection_id":119278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d9d"} 
[2026-07-01 17:48:56] local.INFO: Extracted packet for processing {"connection_id":119278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d9d"} 
[2026-07-01 17:48:56] local.INFO: GPS Element Parsed {"raw_longitude":749978560,"raw_latitude":125293248,"longitude_deg":74.997856,"latitude_deg":12.5293248,"altitude":37,"angle":62,"satellites":44,"speed":41,"hex_longitude":"2cb3c3c0","hex_latitude":"0777d2c0","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424513792001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333777782771286016,"note":"Value kept but may cause issues"} 
[2026-07-01 17:48:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5495095200759023616,"note":"Value kept but may cause issues"} 
[2026-07-01 17:48:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782908259000,"timestamp_ms":1782908259000,"timestamp_seconds":1782908259,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d9d0ab8"} 
[2026-07-01 17: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-01 17:48: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-01 17: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-07-01 17:48:56] 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-01 17: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-01 17: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-01 17:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":119278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":119278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":119278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:48:56] 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-01 17:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424513792001,"66":27658,"253":206,"85":36608,"24":41,"16":333777782771286016,"44":-5495095200759023616},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,44]} 
[2026-07-01 17:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424513792001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:48:56] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-07-01 17:48:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333777782771286016,"km_value":333777782771286.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:48:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5495095200759023616,"description":"Unknown IO ID 44"} 
[2026-07-01 17:48:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424513792001,"power":27658,"unknown_253":206,"unknown_85":36608,"ignition":41,"odometer":null,"unknown_44":-5495095200759023616}} 
[2026-07-01 17:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":119278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:48:56] local.INFO: GPS data processed {"connection_id":119278,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:48:56] local.INFO: Acknowledgment sent {"connection_id":119278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:48:57] local.INFO: TCP Data received {"connection_id":119176,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119176,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:48:57] local.INFO: Processing buffer {"connection_id":119176,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:48:57] local.INFO: IMEI packet received {"connection_id":119176,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 17:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":119176,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:49:01] local.INFO: TCP Data received {"connection_id":119176,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119176,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:49:01] local.INFO: Processing buffer {"connection_id":119176,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:49:01] local.INFO: IMEI packet received {"connection_id":119176,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 17:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":119176,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:49:03] local.INFO: TCP Data received {"connection_id":119176,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d9db698012d829e4005d84140000900a925..."} 
[2026-07-01 17:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d9db698012d829e4005d84140000900a925..."} 
[2026-07-01 17:49:03] local.INFO: Processing buffer {"connection_id":119176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d9db698012d829e4005d84140000900a925..."} 
[2026-07-01 17:49:03] local.INFO: Packet analysis {"connection_id":119176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d9d"} 
[2026-07-01 17:49:03] local.INFO: Extracted packet for processing {"connection_id":119176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d9d"} 
[2026-07-01 17:49:03] local.INFO: GPS Element Parsed {"raw_longitude":763534912,"raw_latitude":98058560,"longitude_deg":76.3534912,"latitude_deg":9.805856,"altitude":9,"angle":169,"satellites":37,"speed":5,"hex_longitude":"2d829e40","hex_latitude":"05d84140","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424522240001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101409379063955456,"note":"Value kept but may cause issues"} 
[2026-07-01 17:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9035980046004404224,"note":"Value kept but may cause issues"} 
[2026-07-01 17:49:03] 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-01 17:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782908303000,"timestamp_ms":1782908303000,"timestamp_seconds":1782908303,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d9db698"} 
[2026-07-01 17: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-01 17:49: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-01 17: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-07-01 17:49:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17: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-01 17: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-01 17:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":119176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":119176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":119176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:49:03] 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-01 17:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424522240001,"66":12645,"49":206,"85":15104,"24":5,"16":101409379063955456,"45":-9035980046004404224},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-07-01 17:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424522240001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:49:03] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-07-01 17:49:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101409379063955456,"km_value":101409379063955.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9035980046004404224,"description":"Unknown IO ID 45"} 
[2026-07-01 17:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424522240001,"power":12645,"unknown_49":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":-9035980046004404224}} 
[2026-07-01 17:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":119176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418090,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:49:03] local.INFO: GPS data processed {"connection_id":119176,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:49:03] local.INFO: Acknowledgment sent {"connection_id":119176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:49:06] local.INFO: TCP Data received {"connection_id":119176,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d9e04b8012d829e4005d84118000700a926..."} 
[2026-07-01 17:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d9e04b8012d829e4005d84118000700a926..."} 
[2026-07-01 17:49:06] local.INFO: Processing buffer {"connection_id":119176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d9e04b8012d829e4005d84118000700a926..."} 
[2026-07-01 17:49:06] local.INFO: Packet analysis {"connection_id":119176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d9e"} 
[2026-07-01 17:49:06] local.INFO: Extracted packet for processing {"connection_id":119176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d9e"} 
[2026-07-01 17:49:06] local.INFO: GPS Element Parsed {"raw_longitude":763534912,"raw_latitude":98058520,"longitude_deg":76.3534912,"latitude_deg":9.805852,"altitude":7,"angle":169,"satellites":38,"speed":0,"hex_longitude":"2d829e40","hex_latitude":"05d84118","is_valid_coordinates":true} 
[2026-07-01 17:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424525568001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101409383358922752,"note":"Value kept but may cause issues"} 
[2026-07-01 17:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034713408611467264,"note":"Value kept but may cause issues"} 
[2026-07-01 17:49:06] 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-01 17:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782908323000,"timestamp_ms":1782908323000,"timestamp_seconds":1782908323,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d9e04b8"} 
[2026-07-01 17:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-07-01 17:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":119176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":119176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":119176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:49:06] 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-01 17:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424525568001,"66":12461,"47":206,"85":15104,"24":0,"16":101409383358922752,"45":-9034713408611467264},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-07-01 17:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424525568001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:49:06] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-01 17:49:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101409383358922752,"km_value":101409383358922.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034713408611467264,"description":"Unknown IO ID 45"} 
[2026-07-01 17:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424525568001,"power":12461,"unknown_47":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9034713408611467264}} 
[2026-07-01 17:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":119176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418091,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:49:06] local.INFO: GPS data processed {"connection_id":119176,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:49:06] local.INFO: Acknowledgment sent {"connection_id":119176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:49:20] local.INFO: TCP Data received {"connection_id":121055,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:49:20] local.INFO: Processing buffer {"connection_id":121055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:49:20] local.INFO: IMEI packet received {"connection_id":121055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 17:49:20] local.INFO: IMEI acknowledgment sent {"connection_id":121055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:49:25] local.INFO: TCP Data received {"connection_id":121055,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:49:25] local.INFO: Processing buffer {"connection_id":121055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:49:25] local.INFO: IMEI packet received {"connection_id":121055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":121055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:49:26] local.INFO: TCP Data received {"connection_id":121055,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d9dc250012cb3dd8007784670001b000f28..."} 
[2026-07-01 17:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d9dc250012cb3dd8007784670001b000f28..."} 
[2026-07-01 17:49:26] local.INFO: Processing buffer {"connection_id":121055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d9dc250012cb3dd8007784670001b000f28..."} 
[2026-07-01 17:49:26] local.INFO: Packet analysis {"connection_id":121055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d9d"} 
[2026-07-01 17:49:26] local.INFO: Extracted packet for processing {"connection_id":121055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d9d"} 
[2026-07-01 17:49:26] local.INFO: GPS Element Parsed {"raw_longitude":749985152,"raw_latitude":125322864,"longitude_deg":74.9985152,"latitude_deg":12.5322864,"altitude":27,"angle":15,"satellites":40,"speed":34,"hex_longitude":"2cb3dd80","hex_latitude":"07784670","is_valid_coordinates":true} 
[2026-07-01 17:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:49:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424523008001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:49:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333779479283367936,"note":"Value kept but may cause issues"} 
[2026-07-01 17:49:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5486862057684656128,"note":"Value kept but may cause issues"} 
[2026-07-01 17:49:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:49:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782908306000,"timestamp_ms":1782908306000,"timestamp_seconds":1782908306,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d9dc250"} 
[2026-07-01 17:49:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:49:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-01 17:49:26] 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-01 17:49:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:49:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:49:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:49:26] local.INFO: Teltonika packet parsed successfully {"connection_id":121055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:49:26] local.INFO: Passing IMEI to GPS processor {"connection_id":121055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:49:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":121055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:49:26] 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-01 17:49:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:49:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:49:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424523008001,"66":27767,"251":206,"85":36608,"24":34,"16":333779479283367936,"44":-5486862057684656128},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,44]} 
[2026-07-01 17:49:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:49:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:49:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424523008001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:49:26] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-01 17:49:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:49:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333779479283367936,"km_value":333779479283367.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:49:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5486862057684656128,"description":"Unknown IO ID 44"} 
[2026-07-01 17:49:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424523008001,"power":27767,"unknown_251":206,"unknown_85":36608,"ignition":34,"odometer":null,"unknown_44":-5486862057684656128}} 
[2026-07-01 17:49:26] local.INFO: DEBUG: GPS processor result {"connection_id":121055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:49:26] local.INFO: GPS data processed {"connection_id":121055,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:49:26] local.INFO: Acknowledgment sent {"connection_id":121055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:49:52] local.INFO: TCP Data received {"connection_id":119974,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119974,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:49:52] local.INFO: Processing buffer {"connection_id":119974,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:49:52] local.INFO: IMEI packet received {"connection_id":119974,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 17:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":119974,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:49:52] local.INFO: TCP Data received {"connection_id":119974,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119974,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:49:52] local.INFO: Processing buffer {"connection_id":119974,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:49:52] local.INFO: IMEI packet received {"connection_id":119974,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 17:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":119974,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:49:57] local.INFO: TCP Data received {"connection_id":119974,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119974,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:49:57] local.INFO: Processing buffer {"connection_id":119974,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:49:57] local.INFO: IMEI packet received {"connection_id":119974,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 17:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":119974,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:49:57] local.INFO: TCP Data received {"connection_id":121055,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d9dca20012cb3e00007784d68001b001a27..."} 
[2026-07-01 17:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d9dca20012cb3e00007784d68001b001a27..."} 
[2026-07-01 17:49:57] local.INFO: Processing buffer {"connection_id":121055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d9dca20012cb3e00007784d68001b001a27..."} 
[2026-07-01 17:49:57] local.INFO: Packet analysis {"connection_id":121055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d9d"} 
[2026-07-01 17:49:57] local.INFO: Extracted packet for processing {"connection_id":121055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d9d"} 
[2026-07-01 17:49:57] local.INFO: GPS Element Parsed {"raw_longitude":749985792,"raw_latitude":125324648,"longitude_deg":74.9985792,"latitude_deg":12.5324648,"altitude":27,"angle":26,"satellites":39,"speed":38,"hex_longitude":"2cb3e000","hex_latitude":"07784d68","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:49:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424526336001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:49:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333779569477681152,"note":"Value kept but may cause issues"} 
[2026-07-01 17:49:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5486088001496387584,"note":"Value kept but may cause issues"} 
[2026-07-01 17:49:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:49:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782908308000,"timestamp_ms":1782908308000,"timestamp_seconds":1782908308,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d9dca20"} 
[2026-07-01 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-01 17:49:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-07-01 17:49:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 17:49:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:49:57] local.INFO: Teltonika packet parsed successfully {"connection_id":121055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:49:57] local.INFO: Passing IMEI to GPS processor {"connection_id":121055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:49:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":121055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:49:57] 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-01 17:49:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:49:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:49:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424526336001,"66":27800,"251":206,"85":36608,"24":38,"16":333779569477681152,"44":-5486088001496387584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,44]} 
[2026-07-01 17:49:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:49:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:49:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424526336001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:49:57] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-01 17:49:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 17:49:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333779569477681152,"km_value":333779569477681.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:49:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5486088001496387584,"description":"Unknown IO ID 44"} 
[2026-07-01 17:49:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424526336001,"power":27800,"unknown_251":206,"unknown_85":36608,"ignition":38,"odometer":null,"unknown_44":-5486088001496387584}} 
[2026-07-01 17:49:57] local.INFO: DEBUG: GPS processor result {"connection_id":121055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:49:57] local.INFO: GPS data processed {"connection_id":121055,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:49:57] local.INFO: Acknowledgment sent {"connection_id":121055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:49:58] local.INFO: TCP Data received {"connection_id":119974,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d9e0c88012d829e4005d84080000700b529..."} 
[2026-07-01 17:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d9e0c88012d829e4005d84080000700b529..."} 
[2026-07-01 17:49:58] local.INFO: Processing buffer {"connection_id":119974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d9e0c88012d829e4005d84080000700b529..."} 
[2026-07-01 17:49:58] local.INFO: Packet analysis {"connection_id":119974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d9e"} 
[2026-07-01 17:49:58] local.INFO: Extracted packet for processing {"connection_id":119974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d9e"} 
[2026-07-01 17:49:58] local.INFO: GPS Element Parsed {"raw_longitude":763534912,"raw_latitude":98058368,"longitude_deg":76.3534912,"latitude_deg":9.8058368,"altitude":7,"angle":181,"satellites":41,"speed":3,"hex_longitude":"2d829e40","hex_latitude":"05d84080","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:49:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424530688001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:49:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101409391948857344,"note":"Value kept but may cause issues"} 
[2026-07-01 17:49:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034713408611477504,"note":"Value kept but may cause issues"} 
[2026-07-01 17:49:58] 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-01 17:49:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782908325000,"timestamp_ms":1782908325000,"timestamp_seconds":1782908325,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d9e0c88"} 
[2026-07-01 17: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-01 17:49:58] 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-01 17: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 17:49: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-01 17: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-01 17: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-01 17:49:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:49:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:49:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119974,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:49:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119974,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:49: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-01 17:49:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:49:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:49:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424530688001,"66":12461,"47":206,"85":15104,"24":3,"16":101409391948857344,"45":-9034713408611477504},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-07-01 17:49:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:49:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:49:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424530688001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:49:58] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-07-01 17:49:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:49:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101409391948857344,"km_value":101409391948857.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:49:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034713408611477504,"description":"Unknown IO ID 45"} 
[2026-07-01 17:49:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424530688001,"power":12461,"unknown_47":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":-9034713408611477504}} 
[2026-07-01 17:49:58] local.INFO: DEBUG: GPS processor result {"connection_id":119974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418094,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:49:58] local.INFO: GPS data processed {"connection_id":119974,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:49:58] local.INFO: Acknowledgment sent {"connection_id":119974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:50:02] local.INFO: TCP Data received {"connection_id":119974,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d9e52d8012d829f4005d81bb8000600b32a..."} 
[2026-07-01 17:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d9e52d8012d829f4005d81bb8000600b32a..."} 
[2026-07-01 17:50:02] local.INFO: Processing buffer {"connection_id":119974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d9e52d8012d829f4005d81bb8000600b32a..."} 
[2026-07-01 17:50:02] local.INFO: Packet analysis {"connection_id":119974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d9e"} 
[2026-07-01 17:50:02] local.INFO: Extracted packet for processing {"connection_id":119974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d9e"} 
[2026-07-01 17:50:02] local.INFO: GPS Element Parsed {"raw_longitude":763535168,"raw_latitude":98048952,"longitude_deg":76.3535168,"latitude_deg":9.8048952,"altitude":6,"angle":179,"satellites":42,"speed":29,"hex_longitude":"2d829f40","hex_latitude":"05d81bb8","is_valid_coordinates":true} 
[2026-07-01 17:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424531200001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101409847215390720,"note":"Value kept but may cause issues"} 
[2026-07-01 17:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034713408611516416,"note":"Value kept but may cause issues"} 
[2026-07-01 17:50:02] 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-01 17:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782908343000,"timestamp_ms":1782908343000,"timestamp_seconds":1782908343,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d9e52d8"} 
[2026-07-01 17:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:50:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 17:50:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:50:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":119974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":119974,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":119974,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:50:02] 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-01 17:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424531200001,"66":12885,"155":206,"85":15104,"24":29,"16":101409847215390720,"45":-9034713408611516416},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-07-01 17:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424531200001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:50:02] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-01 17:50:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101409847215390720,"km_value":101409847215390.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034713408611516416,"description":"Unknown IO ID 45"} 
[2026-07-01 17:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424531200001,"power":12885,"unknown_155":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":-9034713408611516416}} 
[2026-07-01 17:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":119974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418095,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:50:02] local.INFO: GPS data processed {"connection_id":119974,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:50:02] local.INFO: Acknowledgment sent {"connection_id":119974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:50:20] local.INFO: TCP Data received {"connection_id":119177,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:50:20] local.INFO: Processing buffer {"connection_id":119177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:50:20] local.INFO: IMEI packet received {"connection_id":119177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 17:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":119177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:50:21] local.INFO: TCP Data received {"connection_id":119177,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:50:21] local.INFO: Processing buffer {"connection_id":119177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:50:21] local.INFO: IMEI packet received {"connection_id":119177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":119177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:50:22] local.INFO: TCP Data received {"connection_id":119177,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:50:22] local.INFO: Processing buffer {"connection_id":119177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:50:22] local.INFO: IMEI packet received {"connection_id":119177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:50:22] local.INFO: IMEI acknowledgment sent {"connection_id":119177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:50:24] local.INFO: TCP Data received {"connection_id":119177,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:50:24] local.INFO: Processing buffer {"connection_id":119177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:50:24] local.INFO: IMEI packet received {"connection_id":119177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":119177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:50:33] local.INFO: TCP Data received {"connection_id":119974,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d9e79e8012d82a08005d7f8b8000400b12a..."} 
[2026-07-01 17:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d9e79e8012d82a08005d7f8b8000400b12a..."} 
[2026-07-01 17:50:33] local.INFO: Processing buffer {"connection_id":119974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d9e79e8012d82a08005d7f8b8000400b12a..."} 
[2026-07-01 17:50:33] local.INFO: Packet analysis {"connection_id":119974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d9e"} 
[2026-07-01 17:50:33] local.INFO: Extracted packet for processing {"connection_id":119974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d9e"} 
[2026-07-01 17:50:33] local.INFO: GPS Element Parsed {"raw_longitude":763535488,"raw_latitude":98039992,"longitude_deg":76.3535488,"latitude_deg":9.8039992,"altitude":4,"angle":177,"satellites":42,"speed":40,"hex_longitude":"2d82a080","hex_latitude":"05d7f8b8","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424535808001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101410281007087616,"note":"Value kept but may cause issues"} 
[2026-07-01 17:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034431933637216256,"note":"Value kept but may cause issues"} 
[2026-07-01 17:50:33] 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-01 17:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782908353000,"timestamp_ms":1782908353000,"timestamp_seconds":1782908353,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d9e79e8"} 
[2026-07-01 17: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-01 17:50: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-01 17:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-07-01 17:50:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17: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-01 17: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-01 17:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":119974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":119974,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":119974,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:50:33] 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-01 17:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424535808001,"66":12939,"155":206,"85":15104,"24":40,"16":101410281007087616,"45":-9034431933637216256},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-07-01 17:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424535808001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:50:33] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-01 17:50:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101410281007087616,"km_value":101410281007087.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034431933637216256,"description":"Unknown IO ID 45"} 
[2026-07-01 17:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424535808001,"power":12939,"unknown_155":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":-9034431933637216256}} 
[2026-07-01 17:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":119974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418096,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:50:33] local.INFO: GPS data processed {"connection_id":119974,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:50:33] local.INFO: Acknowledgment sent {"connection_id":119974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:50:51] local.INFO: TCP Data received {"connection_id":119178,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119178,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:50:51] local.INFO: Processing buffer {"connection_id":119178,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:50:51] local.INFO: IMEI packet received {"connection_id":119178,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 17:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":119178,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:50:55] local.INFO: TCP Data received {"connection_id":119178,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119178,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:50:55] local.INFO: Processing buffer {"connection_id":119178,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:50:55] local.INFO: IMEI packet received {"connection_id":119178,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 17:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":119178,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:50:56] local.INFO: TCP Data received {"connection_id":119178,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1d9e9928012d82a14005d7d5b0000300b32a..."} 
[2026-07-01 17:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1d9e9928012d82a14005d7d5b0000300b32a..."} 
[2026-07-01 17:50:56] local.INFO: Processing buffer {"connection_id":119178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1d9e9928012d82a14005d7d5b0000300b32a..."} 
[2026-07-01 17:50:56] local.INFO: Packet analysis {"connection_id":119178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1d9e"} 
[2026-07-01 17:50:56] local.INFO: Extracted packet for processing {"connection_id":119178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1d9e"} 
[2026-07-01 17:50:56] local.INFO: GPS Element Parsed {"raw_longitude":763535680,"raw_latitude":98031024,"longitude_deg":76.353568,"latitude_deg":9.8031024,"altitude":3,"angle":179,"satellites":42,"speed":46,"hex_longitude":"2d82a140","hex_latitude":"05d7d5b0","is_valid_coordinates":true} 
[2026-07-01 17:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424538368001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101410719093751808,"note":"Value kept but may cause issues"} 
[2026-07-01 17:50:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034080089918621696,"note":"Value kept but may cause issues"} 
[2026-07-01 17:50:56] 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-01 17:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782908361000,"timestamp_ms":1782908361000,"timestamp_seconds":1782908361,"priority":1,"record_length":96,"hex_timestamp":"0000019f1d9e9928"} 
[2026-07-01 17:50:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:50:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-01 17:50:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:50:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:50:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":119178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":119178,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":119178,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:50:56] 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-01 17:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424538368001,"66":13091,"155":206,"85":15104,"24":46,"16":101410719093751808,"45":-9034080089918621696},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-07-01 17:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424538368001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:50:56] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-07-01 17:50:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101410719093751808,"km_value":101410719093751.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:50:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034080089918621696,"description":"Unknown IO ID 45"} 
[2026-07-01 17:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424538368001,"power":13091,"unknown_155":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":-9034080089918621696}} 
[2026-07-01 17:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":119178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418097,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:50:56] local.INFO: GPS data processed {"connection_id":119178,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:50:56] local.INFO: Acknowledgment sent {"connection_id":119178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:51:15] local.INFO: TCP Data received {"connection_id":119975,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119975,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:51:15] local.INFO: Processing buffer {"connection_id":119975,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:51:15] local.INFO: IMEI packet received {"connection_id":119975,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 17:51:15] local.INFO: IMEI acknowledgment sent {"connection_id":119975,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:51:17] local.INFO: TCP Data received {"connection_id":119975,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119975,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:51:17] local.INFO: Processing buffer {"connection_id":119975,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:51:17] local.INFO: IMEI packet received {"connection_id":119975,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-01 17:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":119975,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:51:20] local.INFO: TCP Data received {"connection_id":119975,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119975,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:51:20] local.INFO: Processing buffer {"connection_id":119975,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:51:20] local.INFO: IMEI packet received {"connection_id":119975,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-01 17:51:20] local.INFO: IMEI acknowledgment sent {"connection_id":119975,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:51:27] local.INFO: TCP Data received {"connection_id":119178,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1da075b8012d82d18005d684a0000300992b..."} 
[2026-07-01 17:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1da075b8012d82d18005d684a0000300992b..."} 
[2026-07-01 17:51:27] local.INFO: Processing buffer {"connection_id":119178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1da075b8012d82d18005d684a0000300992b..."} 
[2026-07-01 17:51:27] local.INFO: Packet analysis {"connection_id":119178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1da0"} 
[2026-07-01 17:51:27] local.INFO: Extracted packet for processing {"connection_id":119178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1da0"} 
[2026-07-01 17:51:27] local.INFO: GPS Element Parsed {"raw_longitude":763548032,"raw_latitude":97944736,"longitude_deg":76.3548032,"latitude_deg":9.7944736,"altitude":3,"angle":153,"satellites":43,"speed":14,"hex_longitude":"2d82d180","hex_latitude":"05d684a0","is_valid_coordinates":true} 
[2026-07-01 17:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424571392001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101415057010720768,"note":"Value kept but may cause issues"} 
[2026-07-01 17:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9020428553572466688,"note":"Value kept but may cause issues"} 
[2026-07-01 17:51:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782908483000,"timestamp_ms":1782908483000,"timestamp_seconds":1782908483,"priority":1,"record_length":96,"hex_timestamp":"0000019f1da075b8"} 
[2026-07-01 17:51:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:51:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 17:51:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:51:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:51:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119178,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119178,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:51:27] 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-01 17:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424571392001,"66":12461,"156":206,"85":15104,"24":14,"16":101415057010720768,"45":-9020428553572466688},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-07-01 17:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424571392001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:51:27] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-01 17:51:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101415057010720768,"km_value":101415057010720.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9020428553572466688,"description":"Unknown IO ID 45"} 
[2026-07-01 17:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424571392001,"power":12461,"unknown_156":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":-9020428553572466688}} 
[2026-07-01 17:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":119178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418098,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:51:27] local.INFO: GPS data processed {"connection_id":119178,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:51:27] local.INFO: Acknowledgment sent {"connection_id":119178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:51:50] local.INFO: TCP Data received {"connection_id":119179,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119179,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:51:50] local.INFO: Processing buffer {"connection_id":119179,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:51:50] local.INFO: IMEI packet received {"connection_id":119179,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 17:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":119179,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:51:51] local.INFO: TCP Data received {"connection_id":119179,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119179,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:51:51] local.INFO: Processing buffer {"connection_id":119179,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:51:51] local.INFO: IMEI packet received {"connection_id":119179,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 17:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":119179,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:51:57] local.INFO: TCP Data received {"connection_id":119179,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119179,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:51:57] local.INFO: Processing buffer {"connection_id":119179,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:51:57] local.INFO: IMEI packet received {"connection_id":119179,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 17:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":119179,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:51:58] local.INFO: TCP Data received {"connection_id":119179,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1da079a0012d82d1c005d68360000300ac2b..."} 
[2026-07-01 17:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1da079a0012d82d1c005d68360000300ac2b..."} 
[2026-07-01 17:51:58] local.INFO: Processing buffer {"connection_id":119179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1da079a0012d82d1c005d68360000300ac2b..."} 
[2026-07-01 17:51:58] local.INFO: Packet analysis {"connection_id":119179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1da0"} 
[2026-07-01 17:51:58] local.INFO: Extracted packet for processing {"connection_id":119179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1da0"} 
[2026-07-01 17:51:58] local.INFO: GPS Element Parsed {"raw_longitude":763548096,"raw_latitude":97944416,"longitude_deg":76.3548096,"latitude_deg":9.7944416,"altitude":3,"angle":172,"satellites":43,"speed":13,"hex_longitude":"2d82d1c0","hex_latitude":"05d68360","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:51:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424571648001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:51:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101415069895622656,"note":"Value kept but may cause issues"} 
[2026-07-01 17:51:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9020287816084185088,"note":"Value kept but may cause issues"} 
[2026-07-01 17:51:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:51:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782908484000,"timestamp_ms":1782908484000,"timestamp_seconds":1782908484,"priority":1,"record_length":96,"hex_timestamp":"0000019f1da079a0"} 
[2026-07-01 17: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-01 17:51:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 17:51: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-01 17: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-01 17: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-01 17:51:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:51:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:51:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:51:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:51: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-01 17:51:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:51:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:51:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424571648001,"66":11917,"156":206,"85":15104,"24":13,"16":101415069895622656,"45":-9020287816084185088},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-07-01 17:51:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:51:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:51:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424571648001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:51:58] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-01 17:51:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:51:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101415069895622656,"km_value":101415069895622.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:51:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9020287816084185088,"description":"Unknown IO ID 45"} 
[2026-07-01 17:51:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424571648001,"power":11917,"unknown_156":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":-9020287816084185088}} 
[2026-07-01 17:51:58] local.INFO: DEBUG: GPS processor result {"connection_id":119179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418099,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:51:58] local.INFO: GPS data processed {"connection_id":119179,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:51:58] local.INFO: Acknowledgment sent {"connection_id":119179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:52:29] local.INFO: TCP Data received {"connection_id":119179,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1da07d88012d82d1c005d68240000300bc2a..."} 
[2026-07-01 17:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1da07d88012d82d1c005d68240000300bc2a..."} 
[2026-07-01 17:52:29] local.INFO: Processing buffer {"connection_id":119179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1da07d88012d82d1c005d68240000300bc2a..."} 
[2026-07-01 17:52:29] local.INFO: Packet analysis {"connection_id":119179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1da0"} 
[2026-07-01 17:52:29] local.INFO: Extracted packet for processing {"connection_id":119179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1da0"} 
[2026-07-01 17:52:29] local.INFO: GPS Element Parsed {"raw_longitude":763548096,"raw_latitude":97944128,"longitude_deg":76.3548096,"latitude_deg":9.7944128,"altitude":3,"angle":188,"satellites":42,"speed":10,"hex_longitude":"2d82d1c0","hex_latitude":"05d68240","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:52:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424571904001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:52:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101415087075491840,"note":"Value kept but may cause issues"} 
[2026-07-01 17:52:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9020217447340089344,"note":"Value kept but may cause issues"} 
[2026-07-01 17:52:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:52:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782908485000,"timestamp_ms":1782908485000,"timestamp_seconds":1782908485,"priority":1,"record_length":96,"hex_timestamp":"0000019f1da07d88"} 
[2026-07-01 17: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-01 17:52:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-01 17:52:29] 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-01 17: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-01 17: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-01 17:52:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:52:29] local.INFO: Teltonika packet parsed successfully {"connection_id":119179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:52:29] local.INFO: Passing IMEI to GPS processor {"connection_id":119179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:52:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":119179,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:52:29] 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-01 17:52:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:52:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:52:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424571904001,"66":12743,"156":206,"85":15104,"24":10,"16":101415087075491840,"45":-9020217447340089344},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-07-01 17:52:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:52:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:52:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424571904001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:52:29] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-01 17:52:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:52:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101415087075491840,"km_value":101415087075491.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:52:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9020217447340089344,"description":"Unknown IO ID 45"} 
[2026-07-01 17:52:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424571904001,"power":12743,"unknown_156":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":-9020217447340089344}} 
[2026-07-01 17:52:29] local.INFO: DEBUG: GPS processor result {"connection_id":119179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418100,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:52:29] local.INFO: GPS data processed {"connection_id":119179,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:52:29] local.INFO: Acknowledgment sent {"connection_id":119179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:52:51] local.INFO: TCP Data received {"connection_id":121057,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121057,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:52:51] local.INFO: Processing buffer {"connection_id":121057,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:52:51] local.INFO: IMEI packet received {"connection_id":121057,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 17:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":121057,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:52:55] local.INFO: TCP Data received {"connection_id":121057,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121057,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:52:55] local.INFO: Processing buffer {"connection_id":121057,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:52:55] local.INFO: IMEI packet received {"connection_id":121057,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 17:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":121057,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:52:56] local.INFO: TCP Data received {"connection_id":121057,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121057,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:52:56] local.INFO: Processing buffer {"connection_id":121057,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:52:56] local.INFO: IMEI packet received {"connection_id":121057,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 17:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":121057,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:52:57] local.INFO: TCP Data received {"connection_id":121057,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1da173a0012d829e4005d61388000600d228..."} 
[2026-07-01 17:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1da173a0012d829e4005d61388000600d228..."} 
[2026-07-01 17:52:57] local.INFO: Processing buffer {"connection_id":121057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1da173a0012d829e4005d61388000600d228..."} 
[2026-07-01 17:52:57] local.INFO: Packet analysis {"connection_id":121057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1da1"} 
[2026-07-01 17:52:57] local.INFO: Extracted packet for processing {"connection_id":121057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1da1"} 
[2026-07-01 17:52:57] local.INFO: GPS Element Parsed {"raw_longitude":763534912,"raw_latitude":97915784,"longitude_deg":76.3534912,"latitude_deg":9.7915784,"altitude":6,"angle":210,"satellites":40,"speed":13,"hex_longitude":"2d829e40","hex_latitude":"05d61388","is_valid_coordinates":true} 
[2026-07-01 17: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-01 17:52:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424588032001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:52:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101416671918424064,"note":"Value kept but may cause issues"} 
[2026-07-01 17:52:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034431933671241728,"note":"Value kept but may cause issues"} 
[2026-07-01 17:52:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:52:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782908548000,"timestamp_ms":1782908548000,"timestamp_seconds":1782908548,"priority":1,"record_length":96,"hex_timestamp":"0000019f1da173a0"} 
[2026-07-01 17: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-01 17:52:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-01 17:52:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17: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-01 17: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-01 17:52:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:52:57] local.INFO: Teltonika packet parsed successfully {"connection_id":121057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:52:57] local.INFO: Passing IMEI to GPS processor {"connection_id":121057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:52:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":121057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:52:57] 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-01 17:52:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:52:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:52:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424588032001,"66":13080,"156":206,"85":15104,"24":13,"16":101416671918424064,"45":-9034431933671241728},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-07-01 17:52:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:52:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:52:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424588032001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:52:57] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-01 17:52:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:52:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101416671918424064,"km_value":101416671918424.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:52:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034431933671241728,"description":"Unknown IO ID 45"} 
[2026-07-01 17:52:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424588032001,"power":13080,"unknown_156":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":-9034431933671241728}} 
[2026-07-01 17:52:57] local.INFO: DEBUG: GPS processor result {"connection_id":121057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418101,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:52:57] local.INFO: GPS data processed {"connection_id":121057,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:52:57] local.INFO: Acknowledgment sent {"connection_id":121057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:53:02] local.INFO: TCP Data received {"connection_id":121057,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1da17788012d829e0005d61250000600c029..."} 
[2026-07-01 17:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1da17788012d829e0005d61250000600c029..."} 
[2026-07-01 17:53:02] local.INFO: Processing buffer {"connection_id":121057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1da17788012d829e0005d61250000600c029..."} 
[2026-07-01 17:53:02] local.INFO: Packet analysis {"connection_id":121057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1da1"} 
[2026-07-01 17:53:02] local.INFO: Extracted packet for processing {"connection_id":121057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1da1"} 
[2026-07-01 17:53:02] local.INFO: GPS Element Parsed {"raw_longitude":763534848,"raw_latitude":97915472,"longitude_deg":76.3534848,"latitude_deg":9.7915472,"altitude":6,"angle":192,"satellites":41,"speed":13,"hex_longitude":"2d829e00","hex_latitude":"05d61250","is_valid_coordinates":true} 
[2026-07-01 17:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424588288001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101416684803325952,"note":"Value kept but may cause issues"} 
[2026-07-01 17:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034713408648017920,"note":"Value kept but may cause issues"} 
[2026-07-01 17:53:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782908549000,"timestamp_ms":1782908549000,"timestamp_seconds":1782908549,"priority":1,"record_length":96,"hex_timestamp":"0000019f1da17788"} 
[2026-07-01 17:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:53:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-01 17:53:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:53:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":121057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":121057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":121057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:53:02] 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-01 17:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424588288001,"66":13080,"156":206,"85":15104,"24":13,"16":101416684803325952,"45":-9034713408648017920},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-07-01 17:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424588288001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:53:02] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-01 17:53:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101416684803325952,"km_value":101416684803325.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034713408648017920,"description":"Unknown IO ID 45"} 
[2026-07-01 17:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424588288001,"power":13080,"unknown_156":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":-9034713408648017920}} 
[2026-07-01 17:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":121057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418102,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:53:02] local.INFO: GPS data processed {"connection_id":121057,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:53:02] local.INFO: Acknowledgment sent {"connection_id":121057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:53:34] local.INFO: TCP Data received {"connection_id":121057,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1da17b70012d829e4005d610c8000600ab27..."} 
[2026-07-01 17:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1da17b70012d829e4005d610c8000600ab27..."} 
[2026-07-01 17:53:34] local.INFO: Processing buffer {"connection_id":121057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1da17b70012d829e4005d610c8000600ab27..."} 
[2026-07-01 17:53:34] local.INFO: Packet analysis {"connection_id":121057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1da1"} 
[2026-07-01 17:53:34] local.INFO: Extracted packet for processing {"connection_id":121057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1da1"} 
[2026-07-01 17:53:34] local.INFO: GPS Element Parsed {"raw_longitude":763534912,"raw_latitude":97915080,"longitude_deg":76.3534912,"latitude_deg":9.791508,"altitude":6,"angle":171,"satellites":39,"speed":15,"hex_longitude":"2d829e40","hex_latitude":"05d610c8","is_valid_coordinates":true} 
[2026-07-01 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-01 17:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424588544001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101416706278162432,"note":"Value kept but may cause issues"} 
[2026-07-01 17:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034783777392275456,"note":"Value kept but may cause issues"} 
[2026-07-01 17:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782908550000,"timestamp_ms":1782908550000,"timestamp_seconds":1782908550,"priority":1,"record_length":96,"hex_timestamp":"0000019f1da17b70"} 
[2026-07-01 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-01 17:53:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-07-01 17:53:34] 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-01 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-01 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-01 17:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":121057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":121057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":121057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:53:34] 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-01 17:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424588544001,"66":12765,"156":206,"85":15104,"24":15,"16":101416706278162432,"45":-9034783777392275456},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-07-01 17:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424588544001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:53:34] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-01 17:53:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101416706278162432,"km_value":101416706278162.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034783777392275456,"description":"Unknown IO ID 45"} 
[2026-07-01 17:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424588544001,"power":12765,"unknown_156":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":-9034783777392275456}} 
[2026-07-01 17:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":121057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418103,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:53:34] local.INFO: GPS data processed {"connection_id":121057,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:53:34] local.INFO: Acknowledgment sent {"connection_id":121057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:53:56] local.INFO: TCP Data received {"connection_id":119181,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119181,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:53:56] local.INFO: Processing buffer {"connection_id":119181,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:53:56] local.INFO: IMEI packet received {"connection_id":119181,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 17:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":119181,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:54:02] local.INFO: TCP Data received {"connection_id":119181,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119181,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:54:02] local.INFO: Processing buffer {"connection_id":119181,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:54:02] local.INFO: IMEI packet received {"connection_id":119181,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 17:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":119181,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:54:03] local.INFO: TCP Data received {"connection_id":119181,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1da29c80012d82428005d5d038000000d829..."} 
[2026-07-01 17:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1da29c80012d82428005d5d038000000d829..."} 
[2026-07-01 17:54:03] local.INFO: Processing buffer {"connection_id":119181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1da29c80012d82428005d5d038000000d829..."} 
[2026-07-01 17:54:03] local.INFO: Packet analysis {"connection_id":119181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1da2"} 
[2026-07-01 17:54:03] local.INFO: Extracted packet for processing {"connection_id":119181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1da2"} 
[2026-07-01 17:54:03] local.INFO: GPS Element Parsed {"raw_longitude":763511424,"raw_latitude":97898552,"longitude_deg":76.3511424,"latitude_deg":9.7898552,"altitude":0,"angle":216,"satellites":41,"speed":26,"hex_longitude":"2d824280","hex_latitude":"05d5d038","is_valid_coordinates":true} 
[2026-07-01 17:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424604672001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101418334070767616,"note":"Value kept but may cause issues"} 
[2026-07-01 17:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9053853707067631616,"note":"Value kept but may cause issues"} 
[2026-07-01 17:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782908624000,"timestamp_ms":1782908624000,"timestamp_seconds":1782908624,"priority":1,"record_length":96,"hex_timestamp":"0000019f1da29c80"} 
[2026-07-01 17:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:54: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-01 17:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-07-01 17:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":119181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":119181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":119181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:54:03] 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-01 17:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424604672001,"66":12461,"156":206,"85":15104,"24":26,"16":101418334070767616,"45":-9053853707067631616},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-07-01 17:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424604672001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:54:03] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-07-01 17:54:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101418334070767616,"km_value":101418334070767.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9053853707067631616,"description":"Unknown IO ID 45"} 
[2026-07-01 17:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424604672001,"power":12461,"unknown_156":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9053853707067631616}} 
[2026-07-01 17:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":119181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418104,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:54:03] local.INFO: GPS data processed {"connection_id":119181,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:54:03] local.INFO: Acknowledgment sent {"connection_id":119181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:54:34] local.INFO: TCP Data received {"connection_id":119181,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1da32538012d81fb4005d5d0a00003010f29..."} 
[2026-07-01 17:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1da32538012d81fb4005d5d0a00003010f29..."} 
[2026-07-01 17:54:34] local.INFO: Processing buffer {"connection_id":119181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1da32538012d81fb4005d5d0a00003010f29..."} 
[2026-07-01 17:54:34] local.INFO: Packet analysis {"connection_id":119181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1da3"} 
[2026-07-01 17:54:34] local.INFO: Extracted packet for processing {"connection_id":119181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1da3"} 
[2026-07-01 17:54:34] local.INFO: GPS Element Parsed {"raw_longitude":763493184,"raw_latitude":97898656,"longitude_deg":76.3493184,"latitude_deg":9.7898656,"altitude":3,"angle":271,"satellites":41,"speed":23,"hex_longitude":"2d81fb40","hex_latitude":"05d5d0a0","is_valid_coordinates":true} 
[2026-07-01 17:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424616448001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101419424992460800,"note":"Value kept but may cause issues"} 
[2026-07-01 17:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9079960511158657024,"note":"Value kept but may cause issues"} 
[2026-07-01 17:54:34] 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-01 17:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782908659000,"timestamp_ms":1782908659000,"timestamp_seconds":1782908659,"priority":1,"record_length":96,"hex_timestamp":"0000019f1da32538"} 
[2026-07-01 17:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:54: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-01 17:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-01 17:54:34] 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-01 17:54:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":119181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":119181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":119181,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:54:34] 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-01 17:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424616448001,"66":12906,"157":206,"85":15104,"24":23,"16":101419424992460800,"45":-9079960511158657024},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-07-01 17:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424616448001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:54:34] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 17:54:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101419424992460800,"km_value":101419424992460.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9079960511158657024,"description":"Unknown IO ID 45"} 
[2026-07-01 17:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424616448001,"power":12906,"unknown_157":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9079960511158657024}} 
[2026-07-01 17:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":119181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418105,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:54:34] local.INFO: GPS data processed {"connection_id":119181,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:54:34] local.INFO: Acknowledgment sent {"connection_id":119181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:54:55] local.INFO: TCP Data received {"connection_id":121059,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121059,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:54:55] local.INFO: Processing buffer {"connection_id":121059,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:54:55] local.INFO: IMEI packet received {"connection_id":121059,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 17:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":121059,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:55:01] local.INFO: TCP Data received {"connection_id":121059,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121059,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:55:01] local.INFO: Processing buffer {"connection_id":121059,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:55:01] local.INFO: IMEI packet received {"connection_id":121059,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 17:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":121059,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:55:02] local.INFO: TCP Data received {"connection_id":121059,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1da32d08012d81f64005d5cff00003010129..."} 
[2026-07-01 17:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1da32d08012d81f64005d5cff00003010129..."} 
[2026-07-01 17:55:02] local.INFO: Processing buffer {"connection_id":121059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1da32d08012d81f64005d5cff00003010129..."} 
[2026-07-01 17:55:02] local.INFO: Packet analysis {"connection_id":121059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1da3"} 
[2026-07-01 17:55:02] local.INFO: Extracted packet for processing {"connection_id":121059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1da3"} 
[2026-07-01 17:55:02] local.INFO: GPS Element Parsed {"raw_longitude":763491904,"raw_latitude":97898480,"longitude_deg":76.3491904,"latitude_deg":9.789848,"altitude":3,"angle":257,"satellites":41,"speed":26,"hex_longitude":"2d81f640","hex_latitude":"05d5cff0","is_valid_coordinates":true} 
[2026-07-01 17:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424616704001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101419485122002944,"note":"Value kept but may cause issues"} 
[2026-07-01 17:55:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9080593829856239616,"note":"Value kept but may cause issues"} 
[2026-07-01 17:55:02] 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-01 17:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782908661000,"timestamp_ms":1782908661000,"timestamp_seconds":1782908661,"priority":1,"record_length":96,"hex_timestamp":"0000019f1da32d08"} 
[2026-07-01 17:55:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:55:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-07-01 17:55:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:55:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:55:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":121059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":121059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":121059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:55:02] 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-01 17:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424616704001,"66":12798,"157":206,"85":15104,"24":26,"16":101419485122002944,"45":-9080593829856239616},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-07-01 17:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424616704001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:55:02] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 17:55:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101419485122002944,"km_value":101419485122002.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:55:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9080593829856239616,"description":"Unknown IO ID 45"} 
[2026-07-01 17:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424616704001,"power":12798,"unknown_157":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9080593829856239616}} 
[2026-07-01 17:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":121059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418106,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:55:02] local.INFO: GPS data processed {"connection_id":121059,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:55:02] local.INFO: Acknowledgment sent {"connection_id":121059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:55:25] local.INFO: TCP Data received {"connection_id":119282,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:55:25] local.INFO: Processing buffer {"connection_id":119282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:55:25] local.INFO: IMEI packet received {"connection_id":119282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 17:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":119282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:55:26] local.INFO: TCP Data received {"connection_id":119282,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1da2fe28012cb359c0077bdd60001301342a..."} 
[2026-07-01 17:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1da2fe28012cb359c0077bdd60001301342a..."} 
[2026-07-01 17:55:26] local.INFO: Processing buffer {"connection_id":119282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1da2fe28012cb359c0077bdd60001301342a..."} 
[2026-07-01 17:55:26] local.INFO: Packet analysis {"connection_id":119282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1da2"} 
[2026-07-01 17:55:26] local.INFO: Extracted packet for processing {"connection_id":119282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1da2"} 
[2026-07-01 17:55:26] local.INFO: GPS Element Parsed {"raw_longitude":749951424,"raw_latitude":125558112,"longitude_deg":74.9951424,"latitude_deg":12.5558112,"altitude":19,"angle":308,"satellites":42,"speed":20,"hex_longitude":"2cb359c0","hex_latitude":"077bdd60","is_valid_coordinates":true} 
[2026-07-01 17:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:55:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424612864001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:55:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333793609725771776,"note":"Value kept but may cause issues"} 
[2026-07-01 17:55:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5519724261153263616,"note":"Value kept but may cause issues"} 
[2026-07-01 17:55:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:55:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782908649000,"timestamp_ms":1782908649000,"timestamp_seconds":1782908649,"priority":1,"record_length":96,"hex_timestamp":"0000019f1da2fe28"} 
[2026-07-01 17:55:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:55:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-01 17:55:26] 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-01 17:55:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:55:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:55:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:55:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:55:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:55:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:55:26] 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-01 17:55:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:55:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:55:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424612864001,"66":27930,"34":206,"85":36864,"24":20,"16":333793609725771776,"44":-5519724261153263616},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,44]} 
[2026-07-01 17:55:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:55:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:55:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424612864001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:55:26] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-01 17:55:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-01 17:55:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333793609725771776,"km_value":333793609725771.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:55:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5519724261153263616,"description":"Unknown IO ID 44"} 
[2026-07-01 17:55:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424612864001,"power":27930,"unknown_34":206,"unknown_85":36864,"ignition":20,"odometer":null,"unknown_44":-5519724261153263616}} 
[2026-07-01 17:55:26] local.INFO: DEBUG: GPS processor result {"connection_id":119282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:55:26] local.INFO: GPS data processed {"connection_id":119282,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:55:26] local.INFO: Acknowledgment sent {"connection_id":119282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:55:36] local.INFO: TCP Data received {"connection_id":121059,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1da34478012d81e78005d5ce180003010e29..."} 
[2026-07-01 17:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1da34478012d81e78005d5ce180003010e29..."} 
[2026-07-01 17:55:36] local.INFO: Processing buffer {"connection_id":121059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1da34478012d81e78005d5ce180003010e29..."} 
[2026-07-01 17:55:36] local.INFO: Packet analysis {"connection_id":121059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1da3"} 
[2026-07-01 17:55:36] local.INFO: Extracted packet for processing {"connection_id":121059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1da3"} 
[2026-07-01 17:55:36] local.INFO: GPS Element Parsed {"raw_longitude":763488128,"raw_latitude":97898008,"longitude_deg":76.3488128,"latitude_deg":9.7898008,"altitude":3,"angle":270,"satellites":41,"speed":22,"hex_longitude":"2d81e780","hex_latitude":"05d5ce18","is_valid_coordinates":true} 
[2026-07-01 17:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424617216001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101419665510629376,"note":"Value kept but may cause issues"} 
[2026-07-01 17:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9082001204739837952,"note":"Value kept but may cause issues"} 
[2026-07-01 17:55:36] 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-01 17:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782908667000,"timestamp_ms":1782908667000,"timestamp_seconds":1782908667,"priority":1,"record_length":96,"hex_timestamp":"0000019f1da34478"} 
[2026-07-01 17:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-07-01 17:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":121059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":121059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":121059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 17:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424617216001,"66":12645,"157":206,"85":15104,"24":22,"16":101419665510629376,"45":-9082001204739837952},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-07-01 17:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424617216001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:55:36] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-07-01 17:55:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101419665510629376,"km_value":101419665510629.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9082001204739837952,"description":"Unknown IO ID 45"} 
[2026-07-01 17:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424617216001,"power":12645,"unknown_157":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9082001204739837952}} 
[2026-07-01 17:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":121059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418108,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:55:36] local.INFO: GPS data processed {"connection_id":121059,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:55:36] local.INFO: Acknowledgment sent {"connection_id":121059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:55:57] local.INFO: TCP Data received {"connection_id":119283,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119283,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:55:57] local.INFO: Processing buffer {"connection_id":119283,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:55:57] local.INFO: IMEI packet received {"connection_id":119283,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 17:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":119283,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:55:57] local.INFO: TCP Data received {"connection_id":119282,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1da30210012cb35840077bdf00001301492c..."} 
[2026-07-01 17:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1da30210012cb35840077bdf00001301492c..."} 
[2026-07-01 17:55:57] local.INFO: Processing buffer {"connection_id":119282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1da30210012cb35840077bdf00001301492c..."} 
[2026-07-01 17:55:57] local.INFO: Packet analysis {"connection_id":119282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1da3"} 
[2026-07-01 17:55:57] local.INFO: Extracted packet for processing {"connection_id":119282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1da3"} 
[2026-07-01 17:55:57] local.INFO: GPS Element Parsed {"raw_longitude":749951040,"raw_latitude":125558528,"longitude_deg":74.995104,"latitude_deg":12.5558528,"altitude":19,"angle":329,"satellites":44,"speed":20,"hex_longitude":"2cb35840","hex_latitude":"077bdf00","is_valid_coordinates":true} 
[2026-07-01 17:55: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-01 17:55:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424614144001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:55:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333793639790542848,"note":"Value kept but may cause issues"} 
[2026-07-01 17:55:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5523172329617793024,"note":"Value kept but may cause issues"} 
[2026-07-01 17:55:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:55:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782908650000,"timestamp_ms":1782908650000,"timestamp_seconds":1782908650,"priority":1,"record_length":96,"hex_timestamp":"0000019f1da30210"} 
[2026-07-01 17:55:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:55:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:55:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-07-01 17:55:57] 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-01 17:55: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-01 17:55:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:55:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:55:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:55:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:55:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:55:57] 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-01 17:55:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:55:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:55:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424614144001,"66":27930,"34":206,"85":36864,"24":20,"16":333793639790542848,"44":-5523172329617793024},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,44]} 
[2026-07-01 17:55:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:55:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:55:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424614144001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:55:57] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-01 17:55:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-01 17:55:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333793639790542848,"km_value":333793639790542.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:55:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5523172329617793024,"description":"Unknown IO ID 44"} 
[2026-07-01 17:55:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424614144001,"power":27930,"unknown_34":206,"unknown_85":36864,"ignition":20,"odometer":null,"unknown_44":-5523172329617793024}} 
[2026-07-01 17:55:57] local.INFO: DEBUG: GPS processor result {"connection_id":119282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:55:57] local.INFO: GPS data processed {"connection_id":119282,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:55:57] local.INFO: Acknowledgment sent {"connection_id":119282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:56:01] local.INFO: TCP Data received {"connection_id":119283,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119283,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:56:01] local.INFO: Processing buffer {"connection_id":119283,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:56:01] local.INFO: IMEI packet received {"connection_id":119283,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 17:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":119283,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:56:02] local.INFO: TCP Data received {"connection_id":119283,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1da46588012d81b34005d52bd8000100aa2b..."} 
[2026-07-01 17:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1da46588012d81b34005d52bd8000100aa2b..."} 
[2026-07-01 17:56:02] local.INFO: Processing buffer {"connection_id":119283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1da46588012d81b34005d52bd8000100aa2b..."} 
[2026-07-01 17:56:02] local.INFO: Packet analysis {"connection_id":119283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1da4"} 
[2026-07-01 17:56:02] local.INFO: Extracted packet for processing {"connection_id":119283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1da4"} 
[2026-07-01 17:56:02] local.INFO: GPS Element Parsed {"raw_longitude":763474752,"raw_latitude":97856472,"longitude_deg":76.3474752,"latitude_deg":9.7856472,"altitude":1,"angle":170,"satellites":43,"speed":30,"hex_longitude":"2d81b340","hex_latitude":"05d52bd8","is_valid_coordinates":true} 
[2026-07-01 17:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424637184001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101422199541334016,"note":"Value kept but may cause issues"} 
[2026-07-01 17:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9101071134422374400,"note":"Value kept but may cause issues"} 
[2026-07-01 17:56:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782908741000,"timestamp_ms":1782908741000,"timestamp_seconds":1782908741,"priority":1,"record_length":96,"hex_timestamp":"0000019f1da46588"} 
[2026-07-01 17:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:56: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-01 17:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-07-01 17:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303156620742054,"note":"Value kept but may cause issues"} 
[2026-07-01 17:56:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":58077557095399446,"note":"Value kept but may cause issues"} 
[2026-07-01 17:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2176483333,"note":"Value kept but may cause issues"} 
[2026-07-01 17:56:02] local.WARNING: Large IO value detected {"io_id":29,"raw_value":2751461377,"note":"Value kept but may cause issues"} 
[2026-07-01 17:56:02] local.WARNING: Large IO value detected {"io_id":213,"raw_value":2392326148,"note":"Value kept but may cause issues"} 
[2026-07-01 17:56:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795307214,"corrected_to":0} 
[2026-07-01 17:56:02] local.WARNING: Large IO value detected {"io_id":216,"raw_value":3892391297,"note":"Value kept but may cause issues"} 
[2026-07-01 17:56:02] local.WARNING: Large IO value detected {"io_id":187,"raw_value":3221607860,"note":"Value kept but may cause issues"} 
[2026-07-01 17:56:02] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3338718630,"note":"Value kept but may cause issues"} 
[2026-07-01 17:56:02] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3586191360,"note":"Value kept but may cause issues"} 
[2026-07-01 17:56:02] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,165,85,24,241,157,16,82,159,70,45,128,67,3,43,10,66,50,87,4,35,1,240,254,227,29,213,113,205,41,216,187,42,239,49,2,104,5,22],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2795307214,"validated":0}]} 
[2026-07-01 17:56:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72261188374364160,"timestamp_seconds":72261188374364.16,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 17:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":119283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":119283,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":119283,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:56:02] 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-01 17:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424637184001,"66":12765,"165":206,"85":15104,"24":30,"16":101422199541334016,"45":-9101071134422374400},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-07-01 17:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424637184001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:56:02] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-01 17:56:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101422199541334016,"km_value":101422199541334.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9101071134422374400,"description":"Unknown IO ID 45"} 
[2026-07-01 17:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424637184001,"power":12765,"unknown_165":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9101071134422374400}} 
[2026-07-01 17:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":119283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418110,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:56:02] local.INFO: GPS data processed {"connection_id":119283,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:56:02] local.INFO: Acknowledgment sent {"connection_id":119283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:56:03] local.INFO: TCP Data received {"connection_id":119283,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1da48c98012d81b74005d507f0000100a929..."} 
[2026-07-01 17:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1da48c98012d81b74005d507f0000100a929..."} 
[2026-07-01 17:56:03] local.INFO: Processing buffer {"connection_id":119283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1da48c98012d81b74005d507f0000100a929..."} 
[2026-07-01 17:56:03] local.INFO: Packet analysis {"connection_id":119283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1da4"} 
[2026-07-01 17:56:03] local.INFO: Extracted packet for processing {"connection_id":119283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1da4"} 
[2026-07-01 17:56:03] local.INFO: GPS Element Parsed {"raw_longitude":763475776,"raw_latitude":97847280,"longitude_deg":76.3475776,"latitude_deg":9.784728,"altitude":1,"angle":169,"satellites":41,"speed":41,"hex_longitude":"2d81b740","hex_latitude":"05d507f0","is_valid_coordinates":true} 
[2026-07-01 17:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424637696001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101422650512900096,"note":"Value kept but may cause issues"} 
[2026-07-01 17:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9100860028190205952,"note":"Value kept but may cause issues"} 
[2026-07-01 17:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782908751000,"timestamp_ms":1782908751000,"timestamp_seconds":1782908751,"priority":1,"record_length":96,"hex_timestamp":"0000019f1da48c98"} 
[2026-07-01 17:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:56: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-01 17:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-01 17:56: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-01 17:56:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":119283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":119283,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":119283,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:56:03] 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-01 17:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424637696001,"66":12917,"165":206,"85":15104,"24":41,"16":101422650512900096,"45":-9100860028190205952},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-07-01 17:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424637696001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:56:03] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-01 17:56:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101422650512900096,"km_value":101422650512900.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9100860028190205952,"description":"Unknown IO ID 45"} 
[2026-07-01 17:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424637696001,"power":12917,"unknown_165":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":-9100860028190205952}} 
[2026-07-01 17:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":119283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418111,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:56:03] local.INFO: GPS data processed {"connection_id":119283,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:56:03] local.INFO: Acknowledgment sent {"connection_id":119283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:56:20] local.INFO: TCP Data received {"connection_id":119183,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:56:20] local.INFO: Processing buffer {"connection_id":119183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:56:20] local.INFO: IMEI packet received {"connection_id":119183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 17:56:20] local.INFO: IMEI acknowledgment sent {"connection_id":119183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:56:21] local.INFO: TCP Data received {"connection_id":119183,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:56:21] local.INFO: Processing buffer {"connection_id":119183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:56:21] local.INFO: IMEI packet received {"connection_id":119183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":119183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:56:25] local.INFO: TCP Data received {"connection_id":119183,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:56:25] local.INFO: Processing buffer {"connection_id":119183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:56:25] local.INFO: IMEI packet received {"connection_id":119183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":119183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:56:26] local.INFO: TCP Data received {"connection_id":119183,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1da41b50012cb33500077cc080000700162b..."} 
[2026-07-01 17:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1da41b50012cb33500077cc080000700162b..."} 
[2026-07-01 17:56:26] local.INFO: Processing buffer {"connection_id":119183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1da41b50012cb33500077cc080000700162b..."} 
[2026-07-01 17:56:26] local.INFO: Packet analysis {"connection_id":119183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1da4"} 
[2026-07-01 17:56:26] local.INFO: Extracted packet for processing {"connection_id":119183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1da4"} 
[2026-07-01 17:56:26] local.INFO: GPS Element Parsed {"raw_longitude":749942016,"raw_latitude":125616256,"longitude_deg":74.9942016,"latitude_deg":12.5616256,"altitude":7,"angle":22,"satellites":43,"speed":38,"hex_longitude":"2cb33500","hex_latitude":"077cc080","is_valid_coordinates":true} 
[2026-07-01 17:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:56:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424630016001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:56:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333796590433075200,"note":"Value kept but may cause issues"} 
[2026-07-01 17:56:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5537738659649978368,"note":"Value kept but may cause issues"} 
[2026-07-01 17:56:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:56:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782908722000,"timestamp_ms":1782908722000,"timestamp_seconds":1782908722,"priority":1,"record_length":96,"hex_timestamp":"0000019f1da41b50"} 
[2026-07-01 17:56:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:56:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-01 17:56:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:56:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:56:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:56:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:56:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:56:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:56:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:56:26] 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-01 17:56:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:56:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:56:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424630016001,"66":26984,"34":206,"85":36864,"24":38,"16":333796590433075200,"44":-5537738659649978368},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,44]} 
[2026-07-01 17:56:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:56:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:56:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424630016001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:56:26] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-01 17:56:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-01 17:56:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333796590433075200,"km_value":333796590433075.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:56:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5537738659649978368,"description":"Unknown IO ID 44"} 
[2026-07-01 17:56:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424630016001,"power":26984,"unknown_34":206,"unknown_85":36864,"ignition":38,"odometer":null,"unknown_44":-5537738659649978368}} 
[2026-07-01 17:56:26] local.INFO: DEBUG: GPS processor result {"connection_id":119183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:56:26] local.INFO: GPS data processed {"connection_id":119183,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:56:26] local.INFO: Acknowledgment sent {"connection_id":119183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:56:35] local.INFO: TCP Data received {"connection_id":119283,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1da4abd8012d81be8005d4e540000300a929..."} 
[2026-07-01 17:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1da4abd8012d81be8005d4e540000300a929..."} 
[2026-07-01 17:56:35] local.INFO: Processing buffer {"connection_id":119283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1da4abd8012d81be8005d4e540000300a929..."} 
[2026-07-01 17:56:35] local.INFO: Packet analysis {"connection_id":119283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1da4"} 
[2026-07-01 17:56:35] local.INFO: Extracted packet for processing {"connection_id":119283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1da4"} 
[2026-07-01 17:56:35] local.INFO: GPS Element Parsed {"raw_longitude":763477632,"raw_latitude":97838400,"longitude_deg":76.3477632,"latitude_deg":9.78384,"altitude":3,"angle":169,"satellites":41,"speed":44,"hex_longitude":"2d81be80","hex_latitude":"05d4e540","is_valid_coordinates":true} 
[2026-07-01 17:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424640256001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101423088599564288,"note":"Value kept but may cause issues"} 
[2026-07-01 17:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9099734128285716480,"note":"Value kept but may cause issues"} 
[2026-07-01 17:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782908759000,"timestamp_ms":1782908759000,"timestamp_seconds":1782908759,"priority":1,"record_length":96,"hex_timestamp":"0000019f1da4abd8"} 
[2026-07-01 17:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:56: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-01 17:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-01 17:56: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-01 17:56:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":119283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":119283,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":119283,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:56:35] 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-01 17:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424640256001,"66":12765,"165":206,"85":15104,"24":44,"16":101423088599564288,"45":-9099734128285716480},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-07-01 17:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424640256001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:56:35] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-01 17:56:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101423088599564288,"km_value":101423088599564.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9099734128285716480,"description":"Unknown IO ID 45"} 
[2026-07-01 17:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424640256001,"power":12765,"unknown_165":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":-9099734128285716480}} 
[2026-07-01 17:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":119283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418113,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:56:35] local.INFO: GPS data processed {"connection_id":119283,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:56:35] local.INFO: Acknowledgment sent {"connection_id":119283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:56:52] local.INFO: TCP Data received {"connection_id":119184,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119184,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:56:52] local.INFO: Processing buffer {"connection_id":119184,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:56:52] local.INFO: IMEI packet received {"connection_id":119184,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 17:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":119184,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:56:53] local.INFO: TCP Data received {"connection_id":119182,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119182,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:56:53] local.INFO: Processing buffer {"connection_id":119182,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:56:53] local.INFO: IMEI packet received {"connection_id":119182,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 17:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":119182,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:56:54] local.INFO: TCP Data received {"connection_id":119184,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119184,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:56:54] local.INFO: Processing buffer {"connection_id":119184,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:56:54] local.INFO: IMEI packet received {"connection_id":119184,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 17:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":119184,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:56:55] local.INFO: TCP Data received {"connection_id":119184,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1da4f9f8012d81c3c005d4c908000300ab2b..."} 
[2026-07-01 17:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1da4f9f8012d81c3c005d4c908000300ab2b..."} 
[2026-07-01 17:56:55] local.INFO: Processing buffer {"connection_id":119184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1da4f9f8012d81c3c005d4c908000300ab2b..."} 
[2026-07-01 17:56:55] local.INFO: Packet analysis {"connection_id":119184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1da4"} 
[2026-07-01 17:56:55] local.INFO: Extracted packet for processing {"connection_id":119184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1da4"} 
[2026-07-01 17:56:55] local.INFO: GPS Element Parsed {"raw_longitude":763478976,"raw_latitude":97831176,"longitude_deg":76.3478976,"latitude_deg":9.7831176,"altitude":3,"angle":171,"satellites":43,"speed":0,"hex_longitude":"2d81c3c0","hex_latitude":"05d4c908","is_valid_coordinates":true} 
[2026-07-01 17:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424642304001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101423449376817152,"note":"Value kept but may cause issues"} 
[2026-07-01 17:56:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9097693434706837504,"note":"Value kept but may cause issues"} 
[2026-07-01 17:56:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782908779000,"timestamp_ms":1782908779000,"timestamp_seconds":1782908779,"priority":1,"record_length":96,"hex_timestamp":"0000019f1da4f9f8"} 
[2026-07-01 17:56:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:56:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-01 17:56:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:56:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:56:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":119184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":119184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":119184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:56: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-01 17:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424642304001,"66":13254,"165":206,"85":15104,"24":0,"16":101423449376817152,"45":-9097693434706837504},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-07-01 17:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424642304001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:56:55] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-01 17:56:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101423449376817152,"km_value":101423449376817.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:56:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9097693434706837504,"description":"Unknown IO ID 45"} 
[2026-07-01 17:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424642304001,"power":13254,"unknown_165":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9097693434706837504}} 
[2026-07-01 17:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":119184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418114,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:56:55] local.INFO: GPS data processed {"connection_id":119184,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:56:55] local.INFO: Acknowledgment sent {"connection_id":119184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:56:56] local.INFO: TCP Data received {"connection_id":119183,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1da44260012cb34400077ce460000500142c..."} 
[2026-07-01 17:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1da44260012cb34400077ce460000500142c..."} 
[2026-07-01 17:56:56] local.INFO: Processing buffer {"connection_id":119183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1da44260012cb34400077ce460000500142c..."} 
[2026-07-01 17:56:56] local.INFO: Packet analysis {"connection_id":119183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1da4"} 
[2026-07-01 17:56:56] local.INFO: Extracted packet for processing {"connection_id":119183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1da4"} 
[2026-07-01 17:56:56] local.INFO: GPS Element Parsed {"raw_longitude":749945856,"raw_latitude":125625440,"longitude_deg":74.9945856,"latitude_deg":12.562544,"altitude":5,"angle":20,"satellites":44,"speed":42,"hex_longitude":"2cb34400","hex_latitude":"077ce460","is_valid_coordinates":true} 
[2026-07-01 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-01 17:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424632832001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333797071469412352,"note":"Value kept but may cause issues"} 
[2026-07-01 17:56:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5533516534997024768,"note":"Value kept but may cause issues"} 
[2026-07-01 17:56:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782908732000,"timestamp_ms":1782908732000,"timestamp_seconds":1782908732,"priority":1,"record_length":96,"hex_timestamp":"0000019f1da44260"} 
[2026-07-01 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-01 17:56:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 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":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-07-01 17:56:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1659,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 17:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":119183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":119183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":119183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:56:56] 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-01 17:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424632832001,"66":27821,"34":206,"85":36864,"24":42,"16":333797071469412352,"44":-5533516534997024768},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,44]} 
[2026-07-01 17:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424632832001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:56:56] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-01 17:56:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-01 17:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333797071469412352,"km_value":333797071469412.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:56:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5533516534997024768,"description":"Unknown IO ID 44"} 
[2026-07-01 17:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424632832001,"power":27821,"unknown_34":206,"unknown_85":36864,"ignition":42,"odometer":null,"unknown_44":-5533516534997024768}} 
[2026-07-01 17:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":119183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:56:56] local.INFO: GPS data processed {"connection_id":119183,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:56:56] local.INFO: Acknowledgment sent {"connection_id":119183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:57:15] local.INFO: TCP Data received {"connection_id":119979,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119979,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:57:15] local.INFO: Processing buffer {"connection_id":119979,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 17:57:15] local.INFO: IMEI packet received {"connection_id":119979,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 17:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":119979,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:57:26] local.INFO: TCP Data received {"connection_id":119184,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1da59250012d819b4005d4a7e0000800b129..."} 
[2026-07-01 17:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1da59250012d819b4005d4a7e0000800b129..."} 
[2026-07-01 17:57:26] local.INFO: Processing buffer {"connection_id":119184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1da59250012d819b4005d4a7e0000800b129..."} 
[2026-07-01 17:57:26] local.INFO: Packet analysis {"connection_id":119184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1da5"} 
[2026-07-01 17:57:26] local.INFO: Extracted packet for processing {"connection_id":119184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1da5"} 
[2026-07-01 17:57:26] local.INFO: GPS Element Parsed {"raw_longitude":763468608,"raw_latitude":97822688,"longitude_deg":76.3468608,"latitude_deg":9.7822688,"altitude":8,"angle":177,"satellites":41,"speed":27,"hex_longitude":"2d819b40","hex_latitude":"05d4a7e0","is_valid_coordinates":true} 
[2026-07-01 17:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:57:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424656896001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:57:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101424209586028544,"note":"Value kept but may cause issues"} 
[2026-07-01 17:57:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9107474690151223296,"note":"Value kept but may cause issues"} 
[2026-07-01 17:57:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:57:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782908818000,"timestamp_ms":1782908818000,"timestamp_seconds":1782908818,"priority":1,"record_length":96,"hex_timestamp":"0000019f1da59250"} 
[2026-07-01 17:57:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:57: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-01 17:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-01 17:57:26] 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-01 17:57:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:57:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:57:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:57:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:57:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:57:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119184,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:57: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-01 17:57:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:57:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:57:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424656896001,"66":13091,"165":206,"85":15104,"24":27,"16":101424209586028544,"45":-9107474690151223296},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-07-01 17:57:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:57:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:57:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424656896001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:57:26] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-01 17:57:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:57:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101424209586028544,"km_value":101424209586028.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:57:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9107474690151223296,"description":"Unknown IO ID 45"} 
[2026-07-01 17:57:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424656896001,"power":13091,"unknown_165":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9107474690151223296}} 
[2026-07-01 17:57:26] local.INFO: DEBUG: GPS processor result {"connection_id":119184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418116,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:57:26] local.INFO: GPS data processed {"connection_id":119184,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:57:26] local.INFO: Acknowledgment sent {"connection_id":119184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:57:51] local.INFO: TCP Data received {"connection_id":121061,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121061,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:57:51] local.INFO: Processing buffer {"connection_id":121061,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:57:51] local.INFO: IMEI packet received {"connection_id":121061,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 17:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":121061,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:57:54] local.INFO: TCP Data received {"connection_id":121061,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121061,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:57:54] local.INFO: Processing buffer {"connection_id":121061,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:57:54] local.INFO: IMEI packet received {"connection_id":121061,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 17:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":121061,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:57:55] local.INFO: TCP Data received {"connection_id":121062,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:57:55] local.INFO: Processing buffer {"connection_id":121062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:57:55] local.INFO: IMEI packet received {"connection_id":121062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 17:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":121062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:57:57] local.INFO: TCP Data received {"connection_id":121061,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121061,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:57:57] local.INFO: Processing buffer {"connection_id":121061,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:57:57] local.INFO: IMEI packet received {"connection_id":121061,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 17:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":121061,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:57:58] local.INFO: TCP Data received {"connection_id":121061,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1da5b960012d819e4005d48400000800b229..."} 
[2026-07-01 17:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1da5b960012d819e4005d48400000800b229..."} 
[2026-07-01 17:57:58] local.INFO: Processing buffer {"connection_id":121061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1da5b960012d819e4005d48400000800b229..."} 
[2026-07-01 17:57:58] local.INFO: Packet analysis {"connection_id":121061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1da5"} 
[2026-07-01 17:57:58] local.INFO: Extracted packet for processing {"connection_id":121061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1da5"} 
[2026-07-01 17:57:58] local.INFO: GPS Element Parsed {"raw_longitude":763469376,"raw_latitude":97813504,"longitude_deg":76.3469376,"latitude_deg":9.7813504,"altitude":8,"angle":178,"satellites":41,"speed":42,"hex_longitude":"2d819e40","hex_latitude":"05d48400","is_valid_coordinates":true} 
[2026-07-01 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-01 17:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424657408001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:57:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101424656262627328,"note":"Value kept but may cause issues"} 
[2026-07-01 17:57:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9107615427639910400,"note":"Value kept but may cause issues"} 
[2026-07-01 17:57:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:57:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782908828000,"timestamp_ms":1782908828000,"timestamp_seconds":1782908828,"priority":1,"record_length":96,"hex_timestamp":"0000019f1da5b960"} 
[2026-07-01 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-01 17:57:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-01 17:57:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 17:57:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:57:58] local.INFO: Teltonika packet parsed successfully {"connection_id":121061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:57:58] local.INFO: Passing IMEI to GPS processor {"connection_id":121061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:57:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":121061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:57: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-01 17:57:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:57:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:57:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424657408001,"66":13135,"165":206,"85":15104,"24":42,"16":101424656262627328,"45":-9107615427639910400},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-07-01 17:57:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:57:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:57:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424657408001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:57:58] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-01 17:57:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:57:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101424656262627328,"km_value":101424656262627.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:57:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9107615427639910400,"description":"Unknown IO ID 45"} 
[2026-07-01 17:57:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424657408001,"power":13135,"unknown_165":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":-9107615427639910400}} 
[2026-07-01 17:57:58] local.INFO: DEBUG: GPS processor result {"connection_id":121061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418117,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:57:58] local.INFO: GPS data processed {"connection_id":121061,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:57:58] local.INFO: Acknowledgment sent {"connection_id":121061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:58:00] local.INFO: TCP Data received {"connection_id":121062,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:58:00] local.INFO: Processing buffer {"connection_id":121062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:58:00] local.INFO: IMEI packet received {"connection_id":121062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":121062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:58:01] local.INFO: TCP Data received {"connection_id":121062,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1da54430012cb35280077d89780018013e2a..."} 
[2026-07-01 17:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1da54430012cb35280077d89780018013e2a..."} 
[2026-07-01 17:58:01] local.INFO: Processing buffer {"connection_id":121062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1da54430012cb35280077d89780018013e2a..."} 
[2026-07-01 17:58:01] local.INFO: Packet analysis {"connection_id":121062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1da5"} 
[2026-07-01 17:58:01] local.INFO: Extracted packet for processing {"connection_id":121062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1da5"} 
[2026-07-01 17:58:01] local.INFO: GPS Element Parsed {"raw_longitude":749949568,"raw_latitude":125667704,"longitude_deg":74.9949568,"latitude_deg":12.5667704,"altitude":24,"angle":318,"satellites":42,"speed":17,"hex_longitude":"2cb35280","hex_latitude":"077d8978","is_valid_coordinates":true} 
[2026-07-01 17:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424651520001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333799296262471680,"note":"Value kept but may cause issues"} 
[2026-07-01 17:58:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5524438966985193472,"note":"Value kept but may cause issues"} 
[2026-07-01 17:58:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782908798000,"timestamp_ms":1782908798000,"timestamp_seconds":1782908798,"priority":1,"record_length":96,"hex_timestamp":"0000019f1da54430"} 
[2026-07-01 17:58:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:58:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 17:58:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:58:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:58:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":121062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":121062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":121062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:58:01] 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-01 17:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424651520001,"66":27267,"34":206,"85":36864,"24":17,"16":333799296262471680,"44":-5524438966985193472},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,44]} 
[2026-07-01 17:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424651520001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:58:01] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-01 17:58:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-01 17:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333799296262471680,"km_value":333799296262471.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:58:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5524438966985193472,"description":"Unknown IO ID 44"} 
[2026-07-01 17:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424651520001,"power":27267,"unknown_34":206,"unknown_85":36864,"ignition":17,"odometer":null,"unknown_44":-5524438966985193472}} 
[2026-07-01 17:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":121062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:58:01] local.INFO: GPS data processed {"connection_id":121062,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:58:01] local.INFO: Acknowledgment sent {"connection_id":121062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:58:25] local.INFO: TCP Data received {"connection_id":119185,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:58:25] local.INFO: Processing buffer {"connection_id":119185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:58:25] local.INFO: IMEI packet received {"connection_id":119185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 17:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":119185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:58:26] local.INFO: TCP Data received {"connection_id":119185,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:58:26] local.INFO: Processing buffer {"connection_id":119185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:58:26] local.INFO: IMEI packet received {"connection_id":119185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":119185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:58:29] local.INFO: TCP Data received {"connection_id":121061,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1da6c300012d81ad4005d3c0c0000600aa26..."} 
[2026-07-01 17:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1da6c300012d81ad4005d3c0c0000600aa26..."} 
[2026-07-01 17:58:29] local.INFO: Processing buffer {"connection_id":121061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1da6c300012d81ad4005d3c0c0000600aa26..."} 
[2026-07-01 17:58:29] local.INFO: Packet analysis {"connection_id":121061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1da6"} 
[2026-07-01 17:58:29] local.INFO: Extracted packet for processing {"connection_id":121061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1da6"} 
[2026-07-01 17:58:29] local.INFO: GPS Element Parsed {"raw_longitude":763473216,"raw_latitude":97763520,"longitude_deg":76.3473216,"latitude_deg":9.776352,"altitude":6,"angle":170,"satellites":38,"speed":45,"hex_longitude":"2d81ad40","hex_latitude":"05d3c0c0","is_valid_coordinates":true} 
[2026-07-01 17:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424675072001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101427155933593600,"note":"Value kept but may cause issues"} 
[2026-07-01 17:58:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9105082152862351360,"note":"Value kept but may cause issues"} 
[2026-07-01 17:58: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-01 17:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782908896000,"timestamp_ms":1782908896000,"timestamp_seconds":1782908896,"priority":1,"record_length":96,"hex_timestamp":"0000019f1da6c300"} 
[2026-07-01 17:58:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:58:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 17:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-07-01 17:58: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-01 17:58:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:58:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":121061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":121061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":121061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:58:29] 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-01 17:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424675072001,"66":13091,"166":206,"85":15104,"24":45,"16":101427155933593600,"45":-9105082152862351360},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-07-01 17:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424675072001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:58:29] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-07-01 17:58:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101427155933593600,"km_value":101427155933593.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:58:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9105082152862351360,"description":"Unknown IO ID 45"} 
[2026-07-01 17:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424675072001,"power":13091,"unknown_166":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":-9105082152862351360}} 
[2026-07-01 17:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":121061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418119,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:58:29] local.INFO: GPS data processed {"connection_id":121061,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:58:29] local.INFO: Acknowledgment sent {"connection_id":121061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:58:30] local.INFO: TCP Data received {"connection_id":119185,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:58:30] local.INFO: Processing buffer {"connection_id":119185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:58:30] local.INFO: IMEI packet received {"connection_id":119185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":119185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:58:30] local.INFO: TCP Data received {"connection_id":119185,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1da60f50012cb34100077dfcd0002e01512e..."} 
[2026-07-01 17:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1da60f50012cb34100077dfcd0002e01512e..."} 
[2026-07-01 17:58:30] local.INFO: Processing buffer {"connection_id":119185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1da60f50012cb34100077dfcd0002e01512e..."} 
[2026-07-01 17:58:30] local.INFO: Packet analysis {"connection_id":119185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1da6"} 
[2026-07-01 17:58:30] local.INFO: Extracted packet for processing {"connection_id":119185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1da6"} 
[2026-07-01 17:58:30] local.INFO: GPS Element Parsed {"raw_longitude":749945088,"raw_latitude":125697232,"longitude_deg":74.9945088,"latitude_deg":12.5697232,"altitude":46,"angle":337,"satellites":46,"speed":32,"hex_longitude":"2cb34100","hex_latitude":"077dfcd0","is_valid_coordinates":true} 
[2026-07-01 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-01 17:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424665088001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333800872515469312,"note":"Value kept but may cause issues"} 
[2026-07-01 17:58:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5529646254046914560,"note":"Value kept but may cause issues"} 
[2026-07-01 17:58:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782908850000,"timestamp_ms":1782908850000,"timestamp_seconds":1782908850,"priority":1,"record_length":96,"hex_timestamp":"0000019f1da60f50"} 
[2026-07-01 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-01 17:58:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-01 17:58:30] 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-01 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-01 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-01 17:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":119185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":119185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":119185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:58:30] 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-01 17:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424665088001,"66":27865,"34":206,"85":36864,"24":32,"16":333800872515469312,"44":-5529646254046914560},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,44]} 
[2026-07-01 17:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424665088001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:58:30] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-01 17:58:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-01 17:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333800872515469312,"km_value":333800872515469.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:58:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5529646254046914560,"description":"Unknown IO ID 44"} 
[2026-07-01 17:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424665088001,"power":27865,"unknown_34":206,"unknown_85":36864,"ignition":32,"odometer":null,"unknown_44":-5529646254046914560}} 
[2026-07-01 17:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":119185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:58:30] local.INFO: GPS data processed {"connection_id":119185,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:58:30] local.INFO: Acknowledgment sent {"connection_id":119185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:58:51] local.INFO: TCP Data received {"connection_id":119980,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119980,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:58:51] local.INFO: Processing buffer {"connection_id":119980,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:58:51] local.INFO: IMEI packet received {"connection_id":119980,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 17:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":119980,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:58:55] local.INFO: TCP Data received {"connection_id":119980,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119980,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:58:55] local.INFO: Processing buffer {"connection_id":119980,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:58:55] local.INFO: IMEI packet received {"connection_id":119980,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 17:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":119980,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:58:56] local.INFO: TCP Data received {"connection_id":119980,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119980,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:58:56] local.INFO: Processing buffer {"connection_id":119980,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 17:58:56] local.INFO: IMEI packet received {"connection_id":119980,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 17:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":119980,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:58:59] local.INFO: TCP Data received {"connection_id":119980,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1da6d2a0012d81adc005d3ae38000600b526..."} 
[2026-07-01 17:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1da6d2a0012d81adc005d3ae38000600b526..."} 
[2026-07-01 17:58:59] local.INFO: Processing buffer {"connection_id":119980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1da6d2a0012d81adc005d3ae38000600b526..."} 
[2026-07-01 17:58:59] local.INFO: Packet analysis {"connection_id":119980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1da6"} 
[2026-07-01 17:58:59] local.INFO: Extracted packet for processing {"connection_id":119980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1da6"} 
[2026-07-01 17:58:59] local.INFO: GPS Element Parsed {"raw_longitude":763473344,"raw_latitude":97758776,"longitude_deg":76.3473344,"latitude_deg":9.7758776,"altitude":6,"angle":181,"satellites":38,"speed":46,"hex_longitude":"2d81adc0","hex_latitude":"05d3ae38","is_valid_coordinates":true} 
[2026-07-01 17:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424677376001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101427383566860288,"note":"Value kept but may cause issues"} 
[2026-07-01 17:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9102548878074265600,"note":"Value kept but may cause issues"} 
[2026-07-01 17:58:59] 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-01 17:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782908900000,"timestamp_ms":1782908900000,"timestamp_seconds":1782908900,"priority":1,"record_length":96,"hex_timestamp":"0000019f1da6d2a0"} 
[2026-07-01 17:58:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:58: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-01 17:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-07-01 17:58:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:58:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119980,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119980,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:58:59] 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-01 17:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424677376001,"66":13102,"166":206,"85":15104,"24":46,"16":101427383566860288,"45":-9102548878074265600},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-07-01 17:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424677376001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:58:59] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-07-01 17:58:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101427383566860288,"km_value":101427383566860.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9102548878074265600,"description":"Unknown IO ID 45"} 
[2026-07-01 17:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424677376001,"power":13102,"unknown_166":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":-9102548878074265600}} 
[2026-07-01 17:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":119980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418121,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:58:59] local.INFO: GPS data processed {"connection_id":119980,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:58:59] local.INFO: Acknowledgment sent {"connection_id":119980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:59:11] local.INFO: TCP Data received {"connection_id":119185,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1da68868012cb32c40077e3480003b00202d..."} 
[2026-07-01 17:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1da68868012cb32c40077e3480003b00202d..."} 
[2026-07-01 17:59:11] local.INFO: Processing buffer {"connection_id":119185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1da68868012cb32c40077e3480003b00202d..."} 
[2026-07-01 17:59:11] local.INFO: Packet analysis {"connection_id":119185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1da6"} 
[2026-07-01 17:59:11] local.INFO: Extracted packet for processing {"connection_id":119185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1da6"} 
[2026-07-01 17:59:11] local.INFO: GPS Element Parsed {"raw_longitude":749939776,"raw_latitude":125711488,"longitude_deg":74.9939776,"latitude_deg":12.5711488,"altitude":59,"angle":32,"satellites":45,"speed":18,"hex_longitude":"2cb32c40","hex_latitude":"077e3480","is_valid_coordinates":true} 
[2026-07-01 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-01 17:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424669952001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333801838883110912,"note":"Value kept but may cause issues"} 
[2026-07-01 17:59:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5538583084554659840,"note":"Value kept but may cause issues"} 
[2026-07-01 17:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1782908881000,"timestamp_ms":1782908881000,"timestamp_seconds":1782908881,"priority":1,"record_length":96,"hex_timestamp":"0000019f1da68868"} 
[2026-07-01 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-01 17:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 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":106,"n8_eight_byte":11,"data_length":795,"current_offset":136} 
[2026-07-01 17:59:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":827,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 17:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":119185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":119185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":119185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:59: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-01 17:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424669952001,"66":27865,"33":206,"85":36864,"24":18,"16":333801838883110912,"44":-5538583084554659840},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,44]} 
[2026-07-01 17:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424669952001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:59:11] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-01 17:59:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-01 17:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333801838883110912,"km_value":333801838883110.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:59:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5538583084554659840,"description":"Unknown IO ID 44"} 
[2026-07-01 17:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424669952001,"power":27865,"unknown_33":206,"unknown_85":36864,"ignition":18,"odometer":null,"unknown_44":-5538583084554659840}} 
[2026-07-01 17:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":119185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:59:11] local.INFO: GPS data processed {"connection_id":119185,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:59:11] local.INFO: Acknowledgment sent {"connection_id":119185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:59:20] local.INFO: TCP Data received {"connection_id":119981,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:59:20] local.INFO: Processing buffer {"connection_id":119981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:59:20] local.INFO: IMEI packet received {"connection_id":119981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 17:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":119981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 17:59:20] local.INFO: TCP Data received {"connection_id":119981,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:59:20] local.INFO: Processing buffer {"connection_id":119981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:59:20] local.INFO: IMEI packet received {"connection_id":119981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":119981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:59:25] local.INFO: TCP Data received {"connection_id":119981,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:59:25] local.INFO: Processing buffer {"connection_id":119981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 17:59:25] local.INFO: IMEI packet received {"connection_id":119981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 17:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":119981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 17:59:33] local.INFO: TCP Data received {"connection_id":119981,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1da69808012cb33200077e3b38003b002c2e..."} 
[2026-07-01 17:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1da69808012cb33200077e3b38003b002c2e..."} 
[2026-07-01 17:59:33] local.INFO: Processing buffer {"connection_id":119981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1da69808012cb33200077e3b38003b002c2e..."} 
[2026-07-01 17:59:33] local.INFO: Packet analysis {"connection_id":119981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1da6"} 
[2026-07-01 17:59:33] local.INFO: Extracted packet for processing {"connection_id":119981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1da6"} 
[2026-07-01 17:59:33] local.INFO: GPS Element Parsed {"raw_longitude":749941248,"raw_latitude":125713208,"longitude_deg":74.9941248,"latitude_deg":12.5713208,"altitude":59,"angle":44,"satellites":46,"speed":25,"hex_longitude":"2cb33200","hex_latitude":"077e3b38","is_valid_coordinates":true} 
[2026-07-01 17:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 17:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424673536001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333801950552260608,"note":"Value kept but may cause issues"} 
[2026-07-01 17:59:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5535979441018863616,"note":"Value kept but may cause issues"} 
[2026-07-01 17:59:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 17:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782908885000,"timestamp_ms":1782908885000,"timestamp_seconds":1782908885,"priority":1,"record_length":96,"hex_timestamp":"0000019f1da69808"} 
[2026-07-01 17:59:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 17:59: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-01 17:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-07-01 17:59:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 17:59:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 17:59:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 17:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":119981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":119981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":119981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 17:59:33] 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-01 17:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 17:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 17:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424673536001,"66":27843,"33":206,"85":36864,"24":25,"16":333801950552260608,"44":-5535979441018863616},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,44]} 
[2026-07-01 17:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 17:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 17:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424673536001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:59:33] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-01 17:59:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-01 17:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333801950552260608,"km_value":333801950552260.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:59:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5535979441018863616,"description":"Unknown IO ID 44"} 
[2026-07-01 17:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424673536001,"power":27843,"unknown_33":206,"unknown_85":36864,"ignition":25,"odometer":null,"unknown_44":-5535979441018863616}} 
[2026-07-01 17:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":119981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:59:33] local.INFO: GPS data processed {"connection_id":119981,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:59:33] local.INFO: Acknowledgment sent {"connection_id":119981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 17:59:35] local.INFO: TCP Data received {"connection_id":119980,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1da78a38012d81ca8005d346200003005e28..."} 
[2026-07-01 17:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1da78a38012d81ca8005d346200003005e28..."} 
[2026-07-01 17:59:35] local.INFO: Processing buffer {"connection_id":119980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1da78a38012d81ca8005d346200003005e28..."} 
[2026-07-01 17:59:35] local.INFO: Packet analysis {"connection_id":119980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1da7"} 
[2026-07-01 17:59:35] local.INFO: Extracted packet for processing {"connection_id":119980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1da7"} 
[2026-07-01 17:59:35] local.INFO: GPS Element Parsed {"raw_longitude":763480704,"raw_latitude":97732128,"longitude_deg":76.3480704,"latitude_deg":9.7732128,"altitude":3,"angle":94,"satellites":40,"speed":8,"hex_longitude":"2d81ca80","hex_latitude":"05d34620","is_valid_coordinates":true} 
[2026-07-01 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-01 17:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424690176001,"note":"Value kept but may cause issues"} 
[2026-07-01 17:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101428813790969856,"note":"Value kept but may cause issues"} 
[2026-07-01 17:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9094597209990221824,"note":"Value kept but may cause issues"} 
[2026-07-01 17:59:35] 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-01 17:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782908947000,"timestamp_ms":1782908947000,"timestamp_seconds":1782908947,"priority":1,"record_length":96,"hex_timestamp":"0000019f1da78a38"} 
[2026-07-01 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-01 17:59: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-01 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":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-07-01 17:59: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-01 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-01 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-01 17:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 17:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":119980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 17:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":119980,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":119980,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 17:59:35] 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-01 17:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 17:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 17:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424690176001,"66":12928,"166":206,"85":15104,"24":8,"16":101428813790969856,"45":-9094597209990221824},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-07-01 17:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 17:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 17:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424690176001,"description":"Unknown IO ID 0"} 
[2026-07-01 17:59:35] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-07-01 17:59:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 17:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101428813790969856,"km_value":101428813790969.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 17:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9094597209990221824,"description":"Unknown IO ID 45"} 
[2026-07-01 17:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424690176001,"power":12928,"unknown_166":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":-9094597209990221824}} 
[2026-07-01 17:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":119980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418124,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 17:59:35] local.INFO: GPS data processed {"connection_id":119980,"processed":1,"errors":0,"total":1} 
[2026-07-01 17:59:35] local.INFO: Acknowledgment sent {"connection_id":119980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:00:05] local.INFO: TCP Data received {"connection_id":119981,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1da6c6e8012cb35000077e51f0003c00342d..."} 
[2026-07-01 18:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1da6c6e8012cb35000077e51f0003c00342d..."} 
[2026-07-01 18:00:05] local.INFO: Processing buffer {"connection_id":119981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1da6c6e8012cb35000077e51f0003c00342d..."} 
[2026-07-01 18:00:05] local.INFO: Packet analysis {"connection_id":119981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1da6"} 
[2026-07-01 18:00:05] local.INFO: Extracted packet for processing {"connection_id":119981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1da6"} 
[2026-07-01 18:00:05] local.INFO: GPS Element Parsed {"raw_longitude":749948928,"raw_latitude":125719024,"longitude_deg":74.9948928,"latitude_deg":12.5719024,"altitude":60,"angle":52,"satellites":45,"speed":35,"hex_longitude":"2cb35000","hex_latitude":"077e51f0","is_valid_coordinates":true} 
[2026-07-01 18:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424674560001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333802410113761280,"note":"Value kept but may cause issues"} 
[2026-07-01 18:00:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5534360959902337024,"note":"Value kept but may cause issues"} 
[2026-07-01 18:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 18:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782908897000,"timestamp_ms":1782908897000,"timestamp_seconds":1782908897,"priority":1,"record_length":96,"hex_timestamp":"0000019f1da6c6e8"} 
[2026-07-01 18:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 18:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 18:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":119981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":119981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":119981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:00:05] 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-01 18:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424674560001,"66":28028,"33":206,"85":36864,"24":35,"16":333802410113761280,"44":-5534360959902337024},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,44]} 
[2026-07-01 18:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424674560001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:00:05] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-07-01 18:00:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-01 18:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333802410113761280,"km_value":333802410113761.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:00:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5534360959902337024,"description":"Unknown IO ID 44"} 
[2026-07-01 18:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424674560001,"power":28028,"unknown_33":206,"unknown_85":36864,"ignition":35,"odometer":null,"unknown_44":-5534360959902337024}} 
[2026-07-01 18:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":119981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:00:05] local.INFO: GPS data processed {"connection_id":119981,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:00:05] local.INFO: Acknowledgment sent {"connection_id":119981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:00:21] local.INFO: TCP Data received {"connection_id":121064,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:00:21] local.INFO: Processing buffer {"connection_id":121064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:00:21] local.INFO: IMEI packet received {"connection_id":121064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 18:00:21] local.INFO: IMEI acknowledgment sent {"connection_id":121064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:00:25] local.INFO: TCP Data received {"connection_id":121064,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:00:25] local.INFO: Processing buffer {"connection_id":121064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:00:25] local.INFO: IMEI packet received {"connection_id":121064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":121064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:00:29] local.INFO: TCP Data received {"connection_id":121064,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:00:29] local.INFO: Processing buffer {"connection_id":121064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:00:29] local.INFO: IMEI packet received {"connection_id":121064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":121064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:00:30] local.INFO: TCP Data received {"connection_id":121064,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1da7ebe0012cb40080077f0d28004900082c..."} 
[2026-07-01 18:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1da7ebe0012cb40080077f0d28004900082c..."} 
[2026-07-01 18:00:30] local.INFO: Processing buffer {"connection_id":121064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1da7ebe0012cb40080077f0d28004900082c..."} 
[2026-07-01 18:00:30] local.INFO: Packet analysis {"connection_id":121064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1da7"} 
[2026-07-01 18:00:30] local.INFO: Extracted packet for processing {"connection_id":121064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1da7"} 
[2026-07-01 18:00:30] local.INFO: GPS Element Parsed {"raw_longitude":749994112,"raw_latitude":125766952,"longitude_deg":74.9994112,"latitude_deg":12.5766952,"altitude":73,"angle":8,"satellites":44,"speed":39,"hex_longitude":"2cb40080","hex_latitude":"077f0d28","is_valid_coordinates":true} 
[2026-07-01 18:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424695552001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333805639929167872,"note":"Value kept but may cause issues"} 
[2026-07-01 18:00:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5477573383338481664,"note":"Value kept but may cause issues"} 
[2026-07-01 18:00:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 18:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782908972000,"timestamp_ms":1782908972000,"timestamp_seconds":1782908972,"priority":1,"record_length":96,"hex_timestamp":"0000019f1da7ebe0"} 
[2026-07-01 18:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:00:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 18:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 18:00:30] 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-01 18:00:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":121064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":121064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":121064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:00:30] 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-01 18:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424695552001,"66":27832,"241":206,"85":36864,"24":39,"16":333805639929167872,"44":-5477573383338481664},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,85,24,16,44]} 
[2026-07-01 18:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424695552001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:00:30] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-07-01 18:00:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-01 18:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333805639929167872,"km_value":333805639929167.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:00:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5477573383338481664,"description":"Unknown IO ID 44"} 
[2026-07-01 18:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424695552001,"power":27832,"unknown_241":206,"unknown_85":36864,"ignition":39,"odometer":null,"unknown_44":-5477573383338481664}} 
[2026-07-01 18:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":121064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:00:30] local.INFO: GPS data processed {"connection_id":121064,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:00:30] local.INFO: Acknowledgment sent {"connection_id":121064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:00:31] local.INFO: TCP Data received {"connection_id":121064,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1da80350012cb402c0077f25f0004801652c..."} 
[2026-07-01 18:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1da80350012cb402c0077f25f0004801652c..."} 
[2026-07-01 18:00:31] local.INFO: Processing buffer {"connection_id":121064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1da80350012cb402c0077f25f0004801652c..."} 
[2026-07-01 18:00:31] local.INFO: Packet analysis {"connection_id":121064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1da8"} 
[2026-07-01 18:00:31] local.INFO: Extracted packet for processing {"connection_id":121064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1da8"} 
[2026-07-01 18:00:31] local.INFO: GPS Element Parsed {"raw_longitude":749994688,"raw_latitude":125773296,"longitude_deg":74.9994688,"latitude_deg":12.5773296,"altitude":72,"angle":357,"satellites":44,"speed":41,"hex_longitude":"2cb402c0","hex_latitude":"077f25f0","is_valid_coordinates":true} 
[2026-07-01 18:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424696832001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333805949166813184,"note":"Value kept but may cause issues"} 
[2026-07-01 18:00:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5476236377197828096,"note":"Value kept but may cause issues"} 
[2026-07-01 18:00:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 18:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782908978000,"timestamp_ms":1782908978000,"timestamp_seconds":1782908978,"priority":1,"record_length":96,"hex_timestamp":"0000019f1da80350"} 
[2026-07-01 18:00:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:00:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 18:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-01 18:00:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:00:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:00:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":121064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":121064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":121064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:00:31] 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-01 18:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424696832001,"66":27919,"241":206,"85":36864,"24":41,"16":333805949166813184,"44":-5476236377197828096},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,85,24,16,44]} 
[2026-07-01 18:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424696832001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:00:31] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-07-01 18:00:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-01 18:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333805949166813184,"km_value":333805949166813.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:00:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5476236377197828096,"description":"Unknown IO ID 44"} 
[2026-07-01 18:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424696832001,"power":27919,"unknown_241":206,"unknown_85":36864,"ignition":41,"odometer":null,"unknown_44":-5476236377197828096}} 
[2026-07-01 18:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":121064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:00:31] local.INFO: GPS data processed {"connection_id":121064,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:00:31] local.INFO: Acknowledgment sent {"connection_id":121064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:00:31] local.INFO: TCP Data received {"connection_id":119186,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119186,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:00:31] local.INFO: Processing buffer {"connection_id":119186,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:00:31] local.INFO: IMEI packet received {"connection_id":119186,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 18:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":119186,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:00:37] local.INFO: TCP Data received {"connection_id":119186,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119186,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:00:37] local.INFO: Processing buffer {"connection_id":119186,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:00:37] local.INFO: IMEI packet received {"connection_id":119186,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 18:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":119186,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:01:02] local.INFO: TCP Data received {"connection_id":119983,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119983,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:01:02] local.INFO: Processing buffer {"connection_id":119983,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:01:02] local.INFO: IMEI packet received {"connection_id":119983,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 18:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":119983,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:01:06] local.INFO: TCP Data received {"connection_id":119983,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119983,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:01:06] local.INFO: Processing buffer {"connection_id":119983,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:01:06] local.INFO: IMEI packet received {"connection_id":119983,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 18:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":119983,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:01:08] local.INFO: TCP Data received {"connection_id":121064,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1da816d8012cb40240077f3ae00046000d2a..."} 
[2026-07-01 18:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1da816d8012cb40240077f3ae00046000d2a..."} 
[2026-07-01 18:01:08] local.INFO: Processing buffer {"connection_id":121064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1da816d8012cb40240077f3ae00046000d2a..."} 
[2026-07-01 18:01:08] local.INFO: Packet analysis {"connection_id":121064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1da8"} 
[2026-07-01 18:01:08] local.INFO: Extracted packet for processing {"connection_id":121064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1da8"} 
[2026-07-01 18:01:08] local.INFO: GPS Element Parsed {"raw_longitude":749994560,"raw_latitude":125778656,"longitude_deg":74.999456,"latitude_deg":12.5778656,"altitude":70,"angle":13,"satellites":42,"speed":45,"hex_longitude":"2cb40240","hex_latitude":"077f3ae0","is_valid_coordinates":true} 
[2026-07-01 18:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424698368001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333806206864850944,"note":"Value kept but may cause issues"} 
[2026-07-01 18:01:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5475603058498605056,"note":"Value kept but may cause issues"} 
[2026-07-01 18:01:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 18:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782908983000,"timestamp_ms":1782908983000,"timestamp_seconds":1782908983,"priority":1,"record_length":96,"hex_timestamp":"0000019f1da816d8"} 
[2026-07-01 18:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:01:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 18:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-07-01 18:01:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:01:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":121064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":121064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":121064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:01:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 18:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424698368001,"66":27745,"241":206,"85":36864,"24":45,"16":333806206864850944,"44":-5475603058498605056},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,85,24,16,44]} 
[2026-07-01 18:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424698368001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:01:08] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-07-01 18:01:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-01 18:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333806206864850944,"km_value":333806206864850.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:01:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5475603058498605056,"description":"Unknown IO ID 44"} 
[2026-07-01 18:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424698368001,"power":27745,"unknown_241":206,"unknown_85":36864,"ignition":45,"odometer":null,"unknown_44":-5475603058498605056}} 
[2026-07-01 18:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":121064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:01:08] local.INFO: GPS data processed {"connection_id":121064,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:01:08] local.INFO: Acknowledgment sent {"connection_id":121064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:01:13] local.INFO: TCP Data received {"connection_id":119983,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1da88c08012d82828005d348f8000400b12a..."} 
[2026-07-01 18:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1da88c08012d82828005d348f8000400b12a..."} 
[2026-07-01 18:01:13] local.INFO: Processing buffer {"connection_id":119983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1da88c08012d82828005d348f8000400b12a..."} 
[2026-07-01 18:01:13] local.INFO: Packet analysis {"connection_id":119983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1da8"} 
[2026-07-01 18:01:13] local.INFO: Extracted packet for processing {"connection_id":119983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1da8"} 
[2026-07-01 18:01:13] local.INFO: GPS Element Parsed {"raw_longitude":763527808,"raw_latitude":97732856,"longitude_deg":76.3527808,"latitude_deg":9.7732856,"altitude":4,"angle":177,"satellites":42,"speed":6,"hex_longitude":"2d828280","hex_latitude":"05d348f8","is_valid_coordinates":true} 
[2026-07-01 18: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-01 18:01:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424707072001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:01:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101431103008538624,"note":"Value kept but may cause issues"} 
[2026-07-01 18:01:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042524339298512896,"note":"Value kept but may cause issues"} 
[2026-07-01 18:01:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 18:01:13] local.INFO: AVL Record Parsed {"raw_timestamp":1782909013000,"timestamp_ms":1782909013000,"timestamp_seconds":1782909013,"priority":1,"record_length":96,"hex_timestamp":"0000019f1da88c08"} 
[2026-07-01 18: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-01 18:01:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 18:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-01 18:01:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18: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-01 18: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-01 18:01:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:01:13] local.INFO: Teltonika packet parsed successfully {"connection_id":119983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:01:13] local.INFO: Passing IMEI to GPS processor {"connection_id":119983,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 18:01:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":119983,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 18:01:13] 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-01 18:01:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 18:01:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 18:01:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424707072001,"66":12982,"207":206,"85":15104,"24":6,"16":101431103008538624,"45":-9042524339298512896},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-01 18:01:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 18:01:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 18:01:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424707072001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:01:13] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-01 18:01:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 18:01:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101431103008538624,"km_value":101431103008538.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:01:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042524339298512896,"description":"Unknown IO ID 45"} 
[2026-07-01 18:01:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424707072001,"power":12982,"unknown_207":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":-9042524339298512896}} 
[2026-07-01 18:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":119983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418129,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:01:13] local.INFO: GPS data processed {"connection_id":119983,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:01:13] local.INFO: Acknowledgment sent {"connection_id":119983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:01:21] local.INFO: TCP Data received {"connection_id":121065,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:01:21] local.INFO: Processing buffer {"connection_id":121065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:01:21] local.INFO: IMEI packet received {"connection_id":121065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 18:01:21] local.INFO: IMEI acknowledgment sent {"connection_id":121065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:01:21] local.INFO: TCP Data received {"connection_id":121065,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:01:21] local.INFO: Processing buffer {"connection_id":121065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:01:21] local.INFO: IMEI packet received {"connection_id":121065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:01:21] local.INFO: IMEI acknowledgment sent {"connection_id":121065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:01:25] local.INFO: TCP Data received {"connection_id":121065,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:01:25] local.INFO: Processing buffer {"connection_id":121065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:01:25] local.INFO: IMEI packet received {"connection_id":121065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:01:25] local.INFO: IMEI acknowledgment sent {"connection_id":121065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:01:26] local.INFO: TCP Data received {"connection_id":121065,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1da83618012cb41040077f5e18004700152c..."} 
[2026-07-01 18:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1da83618012cb41040077f5e18004700152c..."} 
[2026-07-01 18:01:26] local.INFO: Processing buffer {"connection_id":121065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1da83618012cb41040077f5e18004700152c..."} 
[2026-07-01 18:01:26] local.INFO: Packet analysis {"connection_id":121065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1da8"} 
[2026-07-01 18:01:26] local.INFO: Extracted packet for processing {"connection_id":121065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1da8"} 
[2026-07-01 18:01:26] local.INFO: GPS Element Parsed {"raw_longitude":749998144,"raw_latitude":125787672,"longitude_deg":74.9998144,"latitude_deg":12.5787672,"altitude":71,"angle":21,"satellites":44,"speed":48,"hex_longitude":"2cb41040","hex_latitude":"077f5e18","is_valid_coordinates":true} 
[2026-07-01 18:01:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424699648001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333806679311253504,"note":"Value kept but may cause issues"} 
[2026-07-01 18:01:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5475743795985588224,"note":"Value kept but may cause issues"} 
[2026-07-01 18:01:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 18:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782908991000,"timestamp_ms":1782908991000,"timestamp_seconds":1782908991,"priority":1,"record_length":96,"hex_timestamp":"0000019f1da83618"} 
[2026-07-01 18:01:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:01: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-01 18:01:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 18:01:26] 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-01 18:01:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:01:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":121065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":121065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":121065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:01:26] 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-01 18:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424699648001,"66":27832,"241":206,"85":36864,"24":48,"16":333806679311253504,"44":-5475743795985588224},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,85,24,16,44]} 
[2026-07-01 18:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424699648001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:01:26] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-07-01 18:01:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-01 18:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333806679311253504,"km_value":333806679311253.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:01:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5475743795985588224,"description":"Unknown IO ID 44"} 
[2026-07-01 18:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424699648001,"power":27832,"unknown_241":206,"unknown_85":36864,"ignition":48,"odometer":null,"unknown_44":-5475743795985588224}} 
[2026-07-01 18:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":121065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:01:26] local.INFO: GPS data processed {"connection_id":121065,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:01:26] local.INFO: Acknowledgment sent {"connection_id":121065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:01:27] local.INFO: TCP Data received {"connection_id":121065,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1da85558012cb41e00077f7e80004700152d..."} 
[2026-07-01 18:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1da85558012cb41e00077f7e80004700152d..."} 
[2026-07-01 18:01:27] local.INFO: Processing buffer {"connection_id":121065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1da85558012cb41e00077f7e80004700152d..."} 
[2026-07-01 18:01:27] local.INFO: Packet analysis {"connection_id":121065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1da8"} 
[2026-07-01 18:01:27] local.INFO: Extracted packet for processing {"connection_id":121065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1da8"} 
[2026-07-01 18:01:27] local.INFO: GPS Element Parsed {"raw_longitude":750001664,"raw_latitude":125795968,"longitude_deg":75.0001664,"latitude_deg":12.5795968,"altitude":71,"angle":21,"satellites":45,"speed":38,"hex_longitude":"2cb41e00","hex_latitude":"077f7e80","is_valid_coordinates":true} 
[2026-07-01 18:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424701696001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333807113102950400,"note":"Value kept but may cause issues"} 
[2026-07-01 18:01:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5471803146309330944,"note":"Value kept but may cause issues"} 
[2026-07-01 18:01:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 18:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782908999000,"timestamp_ms":1782908999000,"timestamp_seconds":1782908999,"priority":1,"record_length":96,"hex_timestamp":"0000019f1da85558"} 
[2026-07-01 18:01:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:01:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 18:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-07-01 18:01:27] 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-01 18:01:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:01:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":121065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":121065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":121065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:01:27] 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-01 18:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:01:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424701696001,"66":27995,"241":206,"85":36864,"24":38,"16":333807113102950400,"44":-5471803146309330944},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,85,24,16,44]} 
[2026-07-01 18:01:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:01:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:01:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424701696001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:01:27] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-07-01 18:01:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-01 18:01:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333807113102950400,"km_value":333807113102950.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:01:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5471803146309330944,"description":"Unknown IO ID 44"} 
[2026-07-01 18:01:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424701696001,"power":27995,"unknown_241":206,"unknown_85":36864,"ignition":38,"odometer":null,"unknown_44":-5471803146309330944}} 
[2026-07-01 18:01:27] local.INFO: DEBUG: GPS processor result {"connection_id":121065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:01:27] local.INFO: GPS data processed {"connection_id":121065,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:01:27] local.INFO: Acknowledgment sent {"connection_id":121065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:01:53] local.INFO: TCP Data received {"connection_id":119187,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119187,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:01:53] local.INFO: Processing buffer {"connection_id":119187,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:01:53] local.INFO: IMEI packet received {"connection_id":119187,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 18:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":119187,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:01:54] local.INFO: TCP Data received {"connection_id":119187,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119187,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:01:54] local.INFO: Processing buffer {"connection_id":119187,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:01:54] local.INFO: IMEI packet received {"connection_id":119187,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 18:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":119187,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:01:55] local.INFO: TCP Data received {"connection_id":119187,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1da897c0012d82824005d34788000400bc2a..."} 
[2026-07-01 18:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1da897c0012d82824005d34788000400bc2a..."} 
[2026-07-01 18:01:55] local.INFO: Processing buffer {"connection_id":119187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1da897c0012d82824005d34788000400bc2a..."} 
[2026-07-01 18:01:55] local.INFO: Packet analysis {"connection_id":119187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1da8"} 
[2026-07-01 18:01:55] local.INFO: Extracted packet for processing {"connection_id":119187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1da8"} 
[2026-07-01 18:01:55] local.INFO: GPS Element Parsed {"raw_longitude":763527744,"raw_latitude":97732488,"longitude_deg":76.3527744,"latitude_deg":9.7732488,"altitude":4,"angle":188,"satellites":42,"speed":5,"hex_longitude":"2d828240","hex_latitude":"05d34788","is_valid_coordinates":true} 
[2026-07-01 18: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-01 18:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424707328001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101431124483375104,"note":"Value kept but may cause issues"} 
[2026-07-01 18:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042524339298568192,"note":"Value kept but may cause issues"} 
[2026-07-01 18:01:55] 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-01 18:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782909016000,"timestamp_ms":1782909016000,"timestamp_seconds":1782909016,"priority":1,"record_length":96,"hex_timestamp":"0000019f1da897c0"} 
[2026-07-01 18: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-01 18:01: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-01 18: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-07-01 18:01:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18: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-01 18: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-01 18:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":119187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":119187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 18:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":119187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 18:01: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-01 18:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 18:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 18:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424707328001,"66":12504,"207":206,"85":15104,"24":5,"16":101431124483375104,"45":-9042524339298568192},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-07-01 18:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 18:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 18:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424707328001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:01:55] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-01 18:01:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 18:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101431124483375104,"km_value":101431124483375.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042524339298568192,"description":"Unknown IO ID 45"} 
[2026-07-01 18:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424707328001,"power":12504,"unknown_207":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":-9042524339298568192}} 
[2026-07-01 18:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":119187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418132,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:01:55] local.INFO: GPS data processed {"connection_id":119187,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:01:55] local.INFO: Acknowledgment sent {"connection_id":119187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:01:58] local.INFO: TCP Data received {"connection_id":121065,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1da87498012cb42740077f9e60004800092c..."} 
[2026-07-01 18:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1da87498012cb42740077f9e60004800092c..."} 
[2026-07-01 18:01:58] local.INFO: Processing buffer {"connection_id":121065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1da87498012cb42740077f9e60004800092c..."} 
[2026-07-01 18:01:58] local.INFO: Packet analysis {"connection_id":121065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1da8"} 
[2026-07-01 18:01:58] local.INFO: Extracted packet for processing {"connection_id":121065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1da8"} 
[2026-07-01 18:01:58] local.INFO: GPS Element Parsed {"raw_longitude":750004032,"raw_latitude":125804128,"longitude_deg":75.0004032,"latitude_deg":12.5804128,"altitude":72,"angle":9,"satellites":44,"speed":46,"hex_longitude":"2cb42740","hex_latitude":"077f9e60","is_valid_coordinates":true} 
[2026-07-01 18: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-01 18:01:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424703744001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:01:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333807525419810816,"note":"Value kept but may cause issues"} 
[2026-07-01 18:01:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5467932865377435648,"note":"Value kept but may cause issues"} 
[2026-07-01 18:01:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 18:01:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782909007000,"timestamp_ms":1782909007000,"timestamp_seconds":1782909007,"priority":1,"record_length":96,"hex_timestamp":"0000019f1da87498"} 
[2026-07-01 18: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-01 18:01:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 18: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-07-01 18:01:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18: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-01 18: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-01 18:01:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:01:58] local.INFO: Teltonika packet parsed successfully {"connection_id":121065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:01:58] local.INFO: Passing IMEI to GPS processor {"connection_id":121065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:01:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":121065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:01:58] 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-01 18:01:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:01:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:01:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424703744001,"66":27745,"241":206,"85":36864,"24":46,"16":333807525419810816,"44":-5467932865377435648},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,85,24,16,44]} 
[2026-07-01 18:01:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:01:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:01:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424703744001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:01:58] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-07-01 18:01:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-01 18:01:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333807525419810816,"km_value":333807525419810.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:01:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5467932865377435648,"description":"Unknown IO ID 44"} 
[2026-07-01 18:01:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424703744001,"power":27745,"unknown_241":206,"unknown_85":36864,"ignition":46,"odometer":null,"unknown_44":-5467932865377435648}} 
[2026-07-01 18:01:58] local.INFO: DEBUG: GPS processor result {"connection_id":121065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:01:58] local.INFO: GPS data processed {"connection_id":121065,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:01:58] local.INFO: Acknowledgment sent {"connection_id":121065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:02:25] local.INFO: TCP Data received {"connection_id":119188,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:02:25] local.INFO: Processing buffer {"connection_id":119188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:02:25] local.INFO: IMEI packet received {"connection_id":119188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 18:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":119188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:02:26] local.INFO: TCP Data received {"connection_id":119188,"ip":"42.106.6.42","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 18:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119188,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 18:02:26] local.INFO: Processing buffer {"connection_id":119188,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 18:02:26] local.INFO: IMEI packet received {"connection_id":119188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":119188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:02:27] local.INFO: TCP Data received {"connection_id":119187,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019f1da8da28012d82838005d322a8000700b22a..."} 
[2026-07-01 18:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1da8da28012d82838005d322a8000700b22a..."} 
[2026-07-01 18:02:27] local.INFO: Processing buffer {"connection_id":119187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1da8da28012d82838005d322a8000700b22a..."} 
[2026-07-01 18:02:27] local.INFO: Packet analysis {"connection_id":119187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1da8"} 
[2026-07-01 18:02:27] local.INFO: Extracted packet for processing {"connection_id":119187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1da8"} 
[2026-07-01 18:02:27] local.INFO: GPS Element Parsed {"raw_longitude":763528064,"raw_latitude":97723048,"longitude_deg":76.3528064,"latitude_deg":9.7723048,"altitude":7,"angle":178,"satellites":42,"speed":24,"hex_longitude":"2d828380","hex_latitude":"05d322a8","is_valid_coordinates":true} 
[2026-07-01 18:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424708096001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101431579749908480,"note":"Value kept but may cause issues"} 
[2026-07-01 18:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042594708042840064,"note":"Value kept but may cause issues"} 
[2026-07-01 18:02:27] 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-01 18:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782909033000,"timestamp_ms":1782909033000,"timestamp_seconds":1782909033,"priority":1,"record_length":96,"hex_timestamp":"0000019f1da8da28"} 
[2026-07-01 18:02:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:02:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 18:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-07-01 18:02:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:02:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:02:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 18:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 18:02:27] 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-01 18:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 18:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 18:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424708096001,"66":12722,"166":206,"85":15104,"24":24,"16":101431579749908480,"45":-9042594708042840064},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-07-01 18:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 18:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 18:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424708096001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:02:27] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-07-01 18:02:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 18:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101431579749908480,"km_value":101431579749908.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042594708042840064,"description":"Unknown IO ID 45"} 
[2026-07-01 18:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424708096001,"power":12722,"unknown_166":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9042594708042840064}} 
[2026-07-01 18:02:27] local.INFO: DEBUG: GPS processor result {"connection_id":119187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418134,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:02:27] local.INFO: GPS data processed {"connection_id":119187,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:02:27] local.INFO: Acknowledgment sent {"connection_id":119187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:02:27] local.INFO: TCP Data received {"connection_id":119188,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1da99d78012cb465000780f550003d01382c..."} 
[2026-07-01 18:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1da99d78012cb465000780f550003d01382c..."} 
[2026-07-01 18:02:27] local.INFO: Processing buffer {"connection_id":119188,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f1d..."} 
[2026-07-01 18:02:27] local.INFO: IMEI packet received {"connection_id":119188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:02:27] local.INFO: IMEI acknowledgment sent {"connection_id":119188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:02:28] local.INFO: TCP Data received {"connection_id":119188,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1da9a160012cb463800780f638003d01262c..."} 
[2026-07-01 18:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1da9a160012cb463800780f638003d01262c..."} 
[2026-07-01 18:02:28] local.INFO: Processing buffer {"connection_id":119188,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f1da99d78012cb465000780f550003d01382c..."} 
[2026-07-01 18:02:28] local.INFO: Packet analysis {"connection_id":119188,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f1da9"} 
[2026-07-01 18:02:28] local.INFO: Extracted packet for processing {"connection_id":119188,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1da9"} 
[2026-07-01 18:02:28] local.INFO: GPS Element Parsed {"raw_longitude":750019840,"raw_latitude":125891920,"longitude_deg":75.001984,"latitude_deg":12.589192,"altitude":61,"angle":312,"satellites":44,"speed":18,"hex_longitude":"2cb46500","hex_latitude":"0780f550","is_valid_coordinates":true} 
[2026-07-01 18:02:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:02:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424724992001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:02:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333811889106583552,"note":"Value kept but may cause issues"} 
[2026-07-01 18:02:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5447596298285608960,"note":"Value kept but may cause issues"} 
[2026-07-01 18:02:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 18:02:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782909083000,"timestamp_ms":1782909083000,"timestamp_seconds":1782909083,"priority":1,"record_length":96,"hex_timestamp":"0000019f1da99d78"} 
[2026-07-01 18:02:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:02: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-01 18:02:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-07-01 18:02:28] 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-01 18:02:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:02:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:02:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:02:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:02:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:02:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:02:28] 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-01 18:02:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:02:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:02:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424724992001,"66":27908,"239":206,"85":36864,"24":18,"16":333811889106583552,"44":-5447596298285608960},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-01 18:02:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:02:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:02:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424724992001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:02:28] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-01 18:02:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-01 18:02:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333811889106583552,"km_value":333811889106583.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:02:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5447596298285608960,"description":"Unknown IO ID 44"} 
[2026-07-01 18:02:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424724992001,"power":27908,"unknown_239":206,"unknown_85":36864,"ignition":18,"odometer":null,"unknown_44":-5447596298285608960}} 
[2026-07-01 18:02:28] local.INFO: DEBUG: GPS processor result {"connection_id":119188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:02:28] local.INFO: GPS data processed {"connection_id":119188,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:02:28] local.INFO: Acknowledgment sent {"connection_id":119188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:02:28] local.INFO: Packet analysis {"connection_id":119188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1da9"} 
[2026-07-01 18:02:28] local.INFO: Extracted packet for processing {"connection_id":119188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1da9"} 
[2026-07-01 18:02:28] local.INFO: GPS Element Parsed {"raw_longitude":750019456,"raw_latitude":125892152,"longitude_deg":75.0019456,"latitude_deg":12.5892152,"altitude":61,"angle":294,"satellites":44,"speed":19,"hex_longitude":"2cb46380","hex_latitude":"0780f638","is_valid_coordinates":true} 
[2026-07-01 18:02:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:02:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424725248001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:02:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333811906286452736,"note":"Value kept but may cause issues"} 
[2026-07-01 18:02:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5447948142006415360,"note":"Value kept but may cause issues"} 
[2026-07-01 18:02:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 18:02:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782909084000,"timestamp_ms":1782909084000,"timestamp_seconds":1782909084,"priority":1,"record_length":96,"hex_timestamp":"0000019f1da9a160"} 
[2026-07-01 18:02:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:02:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 18:02:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 18:02:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:02:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:02:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:02:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:02:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:02:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:02:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:02:28] 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-01 18:02:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:02:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:02:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424725248001,"66":27908,"239":206,"85":36864,"24":19,"16":333811906286452736,"44":-5447948142006415360},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-01 18:02:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:02:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:02:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424725248001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:02:28] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-01 18:02:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-01 18:02:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333811906286452736,"km_value":333811906286452.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:02:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5447948142006415360,"description":"Unknown IO ID 44"} 
[2026-07-01 18:02:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424725248001,"power":27908,"unknown_239":206,"unknown_85":36864,"ignition":19,"odometer":null,"unknown_44":-5447948142006415360}} 
[2026-07-01 18:02:28] local.INFO: DEBUG: GPS processor result {"connection_id":119188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:02:28] local.INFO: GPS data processed {"connection_id":119188,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:02:28] local.INFO: Acknowledgment sent {"connection_id":119188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:02:29] local.INFO: TCP Data received {"connection_id":119188,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1da9a930012cb45f800780f740003d011b2b..."} 
[2026-07-01 18:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1da9a930012cb45f800780f740003d011b2b..."} 
[2026-07-01 18:02:29] local.INFO: Processing buffer {"connection_id":119188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1da9a930012cb45f800780f740003d011b2b..."} 
[2026-07-01 18:02:29] local.INFO: Packet analysis {"connection_id":119188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1da9"} 
[2026-07-01 18:02:29] local.INFO: Extracted packet for processing {"connection_id":119188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1da9"} 
[2026-07-01 18:02:29] local.INFO: GPS Element Parsed {"raw_longitude":750018432,"raw_latitude":125892416,"longitude_deg":75.0018432,"latitude_deg":12.5892416,"altitude":61,"angle":283,"satellites":43,"speed":19,"hex_longitude":"2cb45f80","hex_latitude":"0780f740","is_valid_coordinates":true} 
[2026-07-01 18:02:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:02:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424725504001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:02:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333811957826060288,"note":"Value kept but may cause issues"} 
[2026-07-01 18:02:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5448370354471421952,"note":"Value kept but may cause issues"} 
[2026-07-01 18:02:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 18:02:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782909086000,"timestamp_ms":1782909086000,"timestamp_seconds":1782909086,"priority":1,"record_length":96,"hex_timestamp":"0000019f1da9a930"} 
[2026-07-01 18:02:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:02:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 18:02:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 18:02:29] 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-01 18:02:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:02:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:02:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:02:29] local.INFO: Teltonika packet parsed successfully {"connection_id":119188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:02:29] local.INFO: Passing IMEI to GPS processor {"connection_id":119188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:02:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":119188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:02:29] 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-01 18:02:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:02:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:02:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424725504001,"66":27821,"239":206,"85":36864,"24":19,"16":333811957826060288,"44":-5448370354471421952},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-01 18:02:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:02:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:02:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424725504001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:02:29] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-01 18:02:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-01 18:02:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333811957826060288,"km_value":333811957826060.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:02:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5448370354471421952,"description":"Unknown IO ID 44"} 
[2026-07-01 18:02:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424725504001,"power":27821,"unknown_239":206,"unknown_85":36864,"ignition":19,"odometer":null,"unknown_44":-5448370354471421952}} 
[2026-07-01 18:02:29] local.INFO: DEBUG: GPS processor result {"connection_id":119188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:02:29] local.INFO: GPS data processed {"connection_id":119188,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:02:29] local.INFO: Acknowledgment sent {"connection_id":119188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:02:40] local.INFO: TCP Data received {"connection_id":119286,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 18:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119286,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 18:02:40] local.INFO: Processing buffer {"connection_id":119286,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 18:02:40] local.INFO: IMEI packet received {"connection_id":119286,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 18:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":119286,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:03:00] local.INFO: TCP Data received {"connection_id":119188,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1da9d810012cb43ac00780fdb0003d011a2c..."} 
[2026-07-01 18:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1da9d810012cb43ac00780fdb0003d011a2c..."} 
[2026-07-01 18:03:00] local.INFO: Processing buffer {"connection_id":119188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1da9d810012cb43ac00780fdb0003d011a2c..."} 
[2026-07-01 18:03:00] local.INFO: Packet analysis {"connection_id":119188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1da9"} 
[2026-07-01 18:03:00] local.INFO: Extracted packet for processing {"connection_id":119188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1da9"} 
[2026-07-01 18:03:00] local.INFO: GPS Element Parsed {"raw_longitude":750009024,"raw_latitude":125894064,"longitude_deg":75.0009024,"latitude_deg":12.5894064,"altitude":61,"angle":282,"satellites":44,"speed":41,"hex_longitude":"2cb43ac0","hex_latitude":"0780fdb0","is_valid_coordinates":true} 
[2026-07-01 18:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424726016001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333812413092593664,"note":"Value kept but may cause issues"} 
[2026-07-01 18:03:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5449496254378196992,"note":"Value kept but may cause issues"} 
[2026-07-01 18:03:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 18:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782909098000,"timestamp_ms":1782909098000,"timestamp_seconds":1782909098,"priority":1,"record_length":96,"hex_timestamp":"0000019f1da9d810"} 
[2026-07-01 18:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:03:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 18:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-07-01 18:03:00] 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-01 18:03:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":119188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":119188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":119188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:03:00] 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-01 18:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424726016001,"66":27919,"239":206,"85":36864,"24":41,"16":333812413092593664,"44":-5449496254378196992},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,85,24,16,44]} 
[2026-07-01 18:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424726016001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:03:00] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-07-01 18:03:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-01 18:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333812413092593664,"km_value":333812413092593.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:03:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5449496254378196992,"description":"Unknown IO ID 44"} 
[2026-07-01 18:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424726016001,"power":27919,"unknown_239":206,"unknown_85":36864,"ignition":41,"odometer":null,"unknown_44":-5449496254378196992}} 
[2026-07-01 18:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":119188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:03:00] local.INFO: GPS data processed {"connection_id":119188,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:03:00] local.INFO: Acknowledgment sent {"connection_id":119188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:03:15] local.INFO: TCP Data received {"connection_id":119984,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 18:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119984,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 18:03:15] local.INFO: Processing buffer {"connection_id":119984,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 18:03:15] local.INFO: IMEI packet received {"connection_id":119984,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 18:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":119984,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:03:56] local.INFO: TCP Data received {"connection_id":119189,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:03:56] local.INFO: Processing buffer {"connection_id":119189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:03:56] local.INFO: IMEI packet received {"connection_id":119189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 18:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":119189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:03:56] local.INFO: TCP Data received {"connection_id":119189,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:03:56] local.INFO: Processing buffer {"connection_id":119189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:03:56] local.INFO: IMEI packet received {"connection_id":119189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":119189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:03:58] local.INFO: TCP Data received {"connection_id":119189,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1daa9390012cb38900078188d0004b01342d..."} 
[2026-07-01 18:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1daa9390012cb38900078188d0004b01342d..."} 
[2026-07-01 18:03:58] local.INFO: Processing buffer {"connection_id":119189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1daa9390012cb38900078188d0004b01342d..."} 
[2026-07-01 18:03:58] local.INFO: Packet analysis {"connection_id":119189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1daa"} 
[2026-07-01 18:03:58] local.INFO: Extracted packet for processing {"connection_id":119189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1daa"} 
[2026-07-01 18:03:58] local.INFO: GPS Element Parsed {"raw_longitude":749963520,"raw_latitude":125929680,"longitude_deg":74.996352,"latitude_deg":12.592968,"altitude":75,"angle":308,"satellites":45,"speed":53,"hex_longitude":"2cb38900","hex_latitude":"078188d0","is_valid_coordinates":true} 
[2026-07-01 18: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-01 18:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424740352001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333815282130747392,"note":"Value kept but may cause issues"} 
[2026-07-01 18:03:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5504806087293048832,"note":"Value kept but may cause issues"} 
[2026-07-01 18:03:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 18:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782909146000,"timestamp_ms":1782909146000,"timestamp_seconds":1782909146,"priority":1,"record_length":96,"hex_timestamp":"0000019f1daa9390"} 
[2026-07-01 18: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-01 18:03:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 18:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-07-01 18:03:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18: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-01 18: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-01 18:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:03:58] 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-01 18:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424740352001,"66":27800,"89":206,"85":36096,"24":53,"16":333815282130747392,"44":-5504806087293048832},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-07-01 18:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424740352001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:03:58] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 18:03:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333815282130747392,"km_value":333815282130747.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:03:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5504806087293048832,"description":"Unknown IO ID 44"} 
[2026-07-01 18:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424740352001,"power":27800,"unknown_89":206,"unknown_85":36096,"ignition":53,"odometer":null,"unknown_44":-5504806087293048832}} 
[2026-07-01 18:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":119189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:03:58] local.INFO: GPS data processed {"connection_id":119189,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:03:58] local.INFO: Acknowledgment sent {"connection_id":119189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:04:02] local.INFO: TCP Data received {"connection_id":119189,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1daaaee8012cb36bc00781a138004801372c..."} 
[2026-07-01 18:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1daaaee8012cb36bc00781a138004801372c..."} 
[2026-07-01 18:04:02] local.INFO: Processing buffer {"connection_id":119189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1daaaee8012cb36bc00781a138004801372c..."} 
[2026-07-01 18:04:02] local.INFO: Packet analysis {"connection_id":119189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1daa"} 
[2026-07-01 18:04:02] local.INFO: Extracted packet for processing {"connection_id":119189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1daa"} 
[2026-07-01 18:04:02] local.INFO: GPS Element Parsed {"raw_longitude":749956032,"raw_latitude":125935928,"longitude_deg":74.9956032,"latitude_deg":12.5935928,"altitude":72,"angle":311,"satellites":44,"speed":47,"hex_longitude":"2cb36bc0","hex_latitude":"0781a138","is_valid_coordinates":true} 
[2026-07-01 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-01 18:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424741376001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333815750282182656,"note":"Value kept but may cause issues"} 
[2026-07-01 18:04:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5509872636873093120,"note":"Value kept but may cause issues"} 
[2026-07-01 18:04:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 18:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782909153000,"timestamp_ms":1782909153000,"timestamp_seconds":1782909153,"priority":1,"record_length":96,"hex_timestamp":"0000019f1daaaee8"} 
[2026-07-01 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-01 18:04:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 18:04:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 18:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":119189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":119189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":119189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:04:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 18:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424741376001,"66":27745,"89":206,"85":36096,"24":47,"16":333815750282182656,"44":-5509872636873093120},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-07-01 18:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424741376001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:04:02] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 18:04:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333815750282182656,"km_value":333815750282182.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:04:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5509872636873093120,"description":"Unknown IO ID 44"} 
[2026-07-01 18:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424741376001,"power":27745,"unknown_89":206,"unknown_85":36096,"ignition":47,"odometer":null,"unknown_44":-5509872636873093120}} 
[2026-07-01 18:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":119189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:04:02] local.INFO: GPS data processed {"connection_id":119189,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:04:02] local.INFO: Acknowledgment sent {"connection_id":119189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:04:06] local.INFO: TCP Data received {"connection_id":119985,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119985,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:04:06] local.INFO: Processing buffer {"connection_id":119985,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:04:06] local.INFO: IMEI packet received {"connection_id":119985,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 18:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":119985,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:04:07] local.INFO: TCP Data received {"connection_id":119985,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119985,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:04:07] local.INFO: Processing buffer {"connection_id":119985,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:04:07] local.INFO: IMEI packet received {"connection_id":119985,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 18:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":119985,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:04:09] local.INFO: TCP Data received {"connection_id":119985,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119985,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:04:09] local.INFO: Processing buffer {"connection_id":119985,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:04:09] local.INFO: IMEI packet received {"connection_id":119985,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 18:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":119985,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:04:09] local.INFO: TCP Data received {"connection_id":119985,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119985,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:04:09] local.INFO: Processing buffer {"connection_id":119985,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:04:09] local.INFO: IMEI packet received {"connection_id":119985,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 18:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":119985,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:04:23] local.INFO: TCP Data received {"connection_id":119986,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:04:23] local.INFO: Processing buffer {"connection_id":119986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:04:23] local.INFO: IMEI packet received {"connection_id":119986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 18:04:23] local.INFO: IMEI acknowledgment sent {"connection_id":119986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:04:25] local.INFO: TCP Data received {"connection_id":119986,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:04:25] local.INFO: Processing buffer {"connection_id":119986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:04:25] local.INFO: IMEI packet received {"connection_id":119986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:04:25] local.INFO: IMEI acknowledgment sent {"connection_id":119986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:04:25] local.INFO: TCP Data received {"connection_id":119986,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:04:25] local.INFO: Processing buffer {"connection_id":119986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:04:25] local.INFO: IMEI packet received {"connection_id":119986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:04:25] local.INFO: IMEI acknowledgment sent {"connection_id":119986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:04:30] local.INFO: TCP Data received {"connection_id":119986,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:04:30] local.INFO: Processing buffer {"connection_id":119986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:04:30] local.INFO: IMEI packet received {"connection_id":119986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":119986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:04:31] local.INFO: TCP Data received {"connection_id":119986,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dab8d90012cb2918007821680004a01632c..."} 
[2026-07-01 18:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dab8d90012cb2918007821680004a01632c..."} 
[2026-07-01 18:04:31] local.INFO: Processing buffer {"connection_id":119986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dab8d90012cb2918007821680004a01632c..."} 
[2026-07-01 18:04:31] local.INFO: Packet analysis {"connection_id":119986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dab"} 
[2026-07-01 18:04:31] local.INFO: Extracted packet for processing {"connection_id":119986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dab"} 
[2026-07-01 18:04:31] local.INFO: GPS Element Parsed {"raw_longitude":749900160,"raw_latitude":125965952,"longitude_deg":74.990016,"latitude_deg":12.5965952,"altitude":74,"angle":355,"satellites":44,"speed":14,"hex_longitude":"2cb29180","hex_latitude":"07821680","is_valid_coordinates":true} 
[2026-07-01 18: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-01 18:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424757248001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333818846953603072,"note":"Value kept but may cause issues"} 
[2026-07-01 18:04:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5579115481134841856,"note":"Value kept but may cause issues"} 
[2026-07-01 18:04:31] 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-01 18:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782909210000,"timestamp_ms":1782909210000,"timestamp_seconds":1782909210,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dab8d90"} 
[2026-07-01 18: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-01 18:04:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 18: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-01 18:04:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18: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-01 18: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-01 18:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:04:31] 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-01 18:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424757248001,"66":27919,"221":206,"85":36864,"24":14,"16":333818846953603072,"44":-5579115481134841856},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-01 18:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424757248001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:04:31] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-01 18:04:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-01 18:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333818846953603072,"km_value":333818846953603.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:04:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5579115481134841856,"description":"Unknown IO ID 44"} 
[2026-07-01 18:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424757248001,"power":27919,"unknown_221":206,"unknown_85":36864,"ignition":14,"odometer":null,"unknown_44":-5579115481134841856}} 
[2026-07-01 18:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":119986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:04:31] local.INFO: GPS data processed {"connection_id":119986,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:04:31] local.INFO: Acknowledgment sent {"connection_id":119986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:05:14] local.INFO: TCP Data received {"connection_id":119986,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dac02c0012cb29f0007823e680046015a2c..."} 
[2026-07-01 18:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dac02c0012cb29f0007823e680046015a2c..."} 
[2026-07-01 18:05:14] local.INFO: Processing buffer {"connection_id":119986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dac02c0012cb29f0007823e680046015a2c..."} 
[2026-07-01 18:05:14] local.INFO: Packet analysis {"connection_id":119986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dac"} 
[2026-07-01 18:05:14] local.INFO: Extracted packet for processing {"connection_id":119986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dac"} 
[2026-07-01 18:05:14] local.INFO: GPS Element Parsed {"raw_longitude":749903616,"raw_latitude":125976168,"longitude_deg":74.9903616,"latitude_deg":12.5976168,"altitude":70,"angle":346,"satellites":44,"speed":14,"hex_longitude":"2cb29f00","hex_latitude":"07823e68","is_valid_coordinates":true} 
[2026-07-01 18:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:05:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424765184001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:05:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:05:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575526675179028480,"note":"Value kept but may cause issues"} 
[2026-07-01 18:05:14] 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-01 18:05:14] local.INFO: AVL Record Parsed {"raw_timestamp":1782909240000,"timestamp_ms":1782909240000,"timestamp_seconds":1782909240,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dac02c0"} 
[2026-07-01 18:05:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:05:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 18:05:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:05:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:05:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:05:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:05:14] local.INFO: Teltonika packet parsed successfully {"connection_id":119986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:05:14] local.INFO: Passing IMEI to GPS processor {"connection_id":119986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:05:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":119986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:05:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 18:05:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:05:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:05:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424765184001,"66":27800,"221":206,"85":36864,"24":14,"16":333819409594318848,"44":-5575526675179028480},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-01 18:05:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:05:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:05:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424765184001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:05:14] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-01 18:05:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-01 18:05:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:05:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575526675179028480,"description":"Unknown IO ID 44"} 
[2026-07-01 18:05:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424765184001,"power":27800,"unknown_221":206,"unknown_85":36864,"ignition":14,"odometer":null,"unknown_44":-5575526675179028480}} 
[2026-07-01 18:05:14] local.INFO: DEBUG: GPS processor result {"connection_id":119986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:05:14] local.INFO: GPS data processed {"connection_id":119986,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:05:14] local.INFO: Acknowledgment sent {"connection_id":119986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:05:20] local.INFO: TCP Data received {"connection_id":121067,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:05:20] local.INFO: Processing buffer {"connection_id":121067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:05:20] local.INFO: IMEI packet received {"connection_id":121067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 18:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":121067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:05:25] local.INFO: TCP Data received {"connection_id":121067,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:05:25] local.INFO: Processing buffer {"connection_id":121067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:05:25] local.INFO: IMEI packet received {"connection_id":121067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":121067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:05:26] local.INFO: TCP Data received {"connection_id":121067,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dac06a8012cb29f0007823fc0004600042c..."} 
[2026-07-01 18:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dac06a8012cb29f0007823fc0004600042c..."} 
[2026-07-01 18:05:26] local.INFO: Processing buffer {"connection_id":121067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dac06a8012cb29f0007823fc0004600042c..."} 
[2026-07-01 18:05:26] local.INFO: Packet analysis {"connection_id":121067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dac"} 
[2026-07-01 18:05:26] local.INFO: Extracted packet for processing {"connection_id":121067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dac"} 
[2026-07-01 18:05:26] local.INFO: GPS Element Parsed {"raw_longitude":749903616,"raw_latitude":125976512,"longitude_deg":74.9903616,"latitude_deg":12.5976512,"altitude":70,"angle":4,"satellites":44,"speed":12,"hex_longitude":"2cb29f00","hex_latitude":"07823fc0","is_valid_coordinates":true} 
[2026-07-01 18:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424765440001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:05:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575737781411485696,"note":"Value kept but may cause issues"} 
[2026-07-01 18:05:26] 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-01 18:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782909241000,"timestamp_ms":1782909241000,"timestamp_seconds":1782909241,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dac06a8"} 
[2026-07-01 18:05:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:05:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 18:05:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:05:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:05:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":121067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":121067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":121067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:05:26] 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-01 18:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424765440001,"66":27300,"221":206,"85":36864,"24":12,"16":333819409594318848,"44":-5575737781411485696},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-01 18:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424765440001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:05:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-01 18:05:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-01 18:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:05:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575737781411485696,"description":"Unknown IO ID 44"} 
[2026-07-01 18:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424765440001,"power":27300,"unknown_221":206,"unknown_85":36864,"ignition":12,"odometer":null,"unknown_44":-5575737781411485696}} 
[2026-07-01 18:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":121067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:05:26] local.INFO: GPS data processed {"connection_id":121067,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:05:26] local.INFO: Acknowledgment sent {"connection_id":121067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:05:57] local.INFO: TCP Data received {"connection_id":121067,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dac0a90012cb29f80078240e0004600182c..."} 
[2026-07-01 18:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dac0a90012cb29f80078240e0004600182c..."} 
[2026-07-01 18:05:57] local.INFO: Processing buffer {"connection_id":121067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dac0a90012cb29f80078240e0004600182c..."} 
[2026-07-01 18:05:57] local.INFO: Packet analysis {"connection_id":121067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dac"} 
[2026-07-01 18:05:57] local.INFO: Extracted packet for processing {"connection_id":121067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dac"} 
[2026-07-01 18:05:57] local.INFO: GPS Element Parsed {"raw_longitude":749903744,"raw_latitude":125976800,"longitude_deg":74.9903744,"latitude_deg":12.59768,"altitude":70,"angle":24,"satellites":44,"speed":10,"hex_longitude":"2cb29f80","hex_latitude":"078240e0","is_valid_coordinates":true} 
[2026-07-01 18:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:05:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424765696001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:05:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:05:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575737781411397632,"note":"Value kept but may cause issues"} 
[2026-07-01 18:05:57] 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-01 18:05:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782909242000,"timestamp_ms":1782909242000,"timestamp_seconds":1782909242,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dac0a90"} 
[2026-07-01 18:05:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:05:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-01 18:05:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:05:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:05:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:05:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:05:57] local.INFO: Teltonika packet parsed successfully {"connection_id":121067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:05:57] local.INFO: Passing IMEI to GPS processor {"connection_id":121067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:05:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":121067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:05:57] 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-01 18:05:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:05:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:05:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424765696001,"66":27300,"221":206,"85":36864,"24":10,"16":333819409594318848,"44":-5575737781411397632},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-01 18:05:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:05:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:05:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424765696001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:05:57] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-01 18:05:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-01 18:05:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:05:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575737781411397632,"description":"Unknown IO ID 44"} 
[2026-07-01 18:05:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424765696001,"power":27300,"unknown_221":206,"unknown_85":36864,"ignition":10,"odometer":null,"unknown_44":-5575737781411397632}} 
[2026-07-01 18:05:57] local.INFO: DEBUG: GPS processor result {"connection_id":121067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:05:57] local.INFO: GPS data processed {"connection_id":121067,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:05:57] local.INFO: Acknowledgment sent {"connection_id":121067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:06:20] local.INFO: TCP Data received {"connection_id":119289,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:06:20] local.INFO: Processing buffer {"connection_id":119289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:06:20] local.INFO: IMEI packet received {"connection_id":119289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 18:06:20] local.INFO: IMEI acknowledgment sent {"connection_id":119289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:06:27] local.INFO: TCP Data received {"connection_id":119289,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:06:27] local.INFO: Processing buffer {"connection_id":119289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:06:27] local.INFO: IMEI packet received {"connection_id":119289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":119289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:06:28] local.INFO: TCP Data received {"connection_id":119289,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dac0a90012cb29f80078240e0004600182c..."} 
[2026-07-01 18:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dac0a90012cb29f80078240e0004600182c..."} 
[2026-07-01 18:06:28] local.INFO: Processing buffer {"connection_id":119289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dac0a90012cb29f80078240e0004600182c..."} 
[2026-07-01 18:06:28] local.INFO: Packet analysis {"connection_id":119289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dac"} 
[2026-07-01 18:06:28] local.INFO: Extracted packet for processing {"connection_id":119289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dac"} 
[2026-07-01 18:06:28] local.INFO: GPS Element Parsed {"raw_longitude":749903744,"raw_latitude":125976800,"longitude_deg":74.9903744,"latitude_deg":12.59768,"altitude":70,"angle":24,"satellites":44,"speed":10,"hex_longitude":"2cb29f80","hex_latitude":"078240e0","is_valid_coordinates":true} 
[2026-07-01 18:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:06:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424765696001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:06:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:06:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575737781411397632,"note":"Value kept but may cause issues"} 
[2026-07-01 18:06:28] 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-01 18:06:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782909242000,"timestamp_ms":1782909242000,"timestamp_seconds":1782909242,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dac0a90"} 
[2026-07-01 18:06:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:06:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-01 18:06:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:06:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:06:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:06:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:06:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:06:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:06:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:06:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 18:06:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:06:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:06:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424765696001,"66":27300,"221":206,"85":36864,"24":10,"16":333819409594318848,"44":-5575737781411397632},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-01 18:06:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:06:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:06:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424765696001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:06:28] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-01 18:06:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-01 18:06:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:06:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575737781411397632,"description":"Unknown IO ID 44"} 
[2026-07-01 18:06:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424765696001,"power":27300,"unknown_221":206,"unknown_85":36864,"ignition":10,"odometer":null,"unknown_44":-5575737781411397632}} 
[2026-07-01 18:06:28] local.INFO: DEBUG: GPS processor result {"connection_id":119289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:06:28] local.INFO: GPS data processed {"connection_id":119289,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:06:28] local.INFO: Acknowledgment sent {"connection_id":119289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:06:59] local.INFO: TCP Data received {"connection_id":119289,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dac0a90012cb29f80078240e0004600182c..."} 
[2026-07-01 18:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dac0a90012cb29f80078240e0004600182c..."} 
[2026-07-01 18:06:59] local.INFO: Processing buffer {"connection_id":119289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dac0a90012cb29f80078240e0004600182c..."} 
[2026-07-01 18:06:59] local.INFO: Packet analysis {"connection_id":119289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dac"} 
[2026-07-01 18:06:59] local.INFO: Extracted packet for processing {"connection_id":119289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dac"} 
[2026-07-01 18:06:59] local.INFO: GPS Element Parsed {"raw_longitude":749903744,"raw_latitude":125976800,"longitude_deg":74.9903744,"latitude_deg":12.59768,"altitude":70,"angle":24,"satellites":44,"speed":10,"hex_longitude":"2cb29f80","hex_latitude":"078240e0","is_valid_coordinates":true} 
[2026-07-01 18:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424765696001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:06:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575737781411397632,"note":"Value kept but may cause issues"} 
[2026-07-01 18:06:59] 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-01 18:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782909242000,"timestamp_ms":1782909242000,"timestamp_seconds":1782909242,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dac0a90"} 
[2026-07-01 18:06:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:06:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-01 18:06:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:06:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:06:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:06:59] 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-01 18:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424765696001,"66":27300,"221":206,"85":36864,"24":10,"16":333819409594318848,"44":-5575737781411397632},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-01 18:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424765696001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:06:59] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-01 18:06:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-01 18:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:06:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575737781411397632,"description":"Unknown IO ID 44"} 
[2026-07-01 18:06:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424765696001,"power":27300,"unknown_221":206,"unknown_85":36864,"ignition":10,"odometer":null,"unknown_44":-5575737781411397632}} 
[2026-07-01 18:06:59] local.INFO: DEBUG: GPS processor result {"connection_id":119289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:06:59] local.INFO: GPS data processed {"connection_id":119289,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:06:59] local.INFO: Acknowledgment sent {"connection_id":119289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:07:25] local.INFO: TCP Data received {"connection_id":119194,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:07:25] local.INFO: Processing buffer {"connection_id":119194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:07:25] local.INFO: IMEI packet received {"connection_id":119194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 18:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":119194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:07:30] local.INFO: TCP Data received {"connection_id":119194,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:07:30] local.INFO: Processing buffer {"connection_id":119194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:07:30] local.INFO: IMEI packet received {"connection_id":119194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":119194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:07:31] local.INFO: TCP Data received {"connection_id":119194,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dac0a90012cb29f80078240e0004600182c..."} 
[2026-07-01 18:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dac0a90012cb29f80078240e0004600182c..."} 
[2026-07-01 18:07:31] local.INFO: Processing buffer {"connection_id":119194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dac0a90012cb29f80078240e0004600182c..."} 
[2026-07-01 18:07:31] local.INFO: Packet analysis {"connection_id":119194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dac"} 
[2026-07-01 18:07:31] local.INFO: Extracted packet for processing {"connection_id":119194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dac"} 
[2026-07-01 18:07:31] local.INFO: GPS Element Parsed {"raw_longitude":749903744,"raw_latitude":125976800,"longitude_deg":74.9903744,"latitude_deg":12.59768,"altitude":70,"angle":24,"satellites":44,"speed":10,"hex_longitude":"2cb29f80","hex_latitude":"078240e0","is_valid_coordinates":true} 
[2026-07-01 18:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424765696001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:07:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575737781411397632,"note":"Value kept but may cause issues"} 
[2026-07-01 18:07:31] 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-01 18:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782909242000,"timestamp_ms":1782909242000,"timestamp_seconds":1782909242,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dac0a90"} 
[2026-07-01 18:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:07:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-01 18:07:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:07:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:07:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 18:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424765696001,"66":27300,"221":206,"85":36864,"24":10,"16":333819409594318848,"44":-5575737781411397632},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-01 18:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424765696001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:07:31] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-01 18:07:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-01 18:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:07:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575737781411397632,"description":"Unknown IO ID 44"} 
[2026-07-01 18:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424765696001,"power":27300,"unknown_221":206,"unknown_85":36864,"ignition":10,"odometer":null,"unknown_44":-5575737781411397632}} 
[2026-07-01 18:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":119194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:07:31] local.INFO: GPS data processed {"connection_id":119194,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:07:31] local.INFO: Acknowledgment sent {"connection_id":119194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:07:35] local.INFO: TCP Data received {"connection_id":119194,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dac0a90012cb29f80078240e0004600182c..."} 
[2026-07-01 18:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dac0a90012cb29f80078240e0004600182c..."} 
[2026-07-01 18:07:35] local.INFO: Processing buffer {"connection_id":119194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dac0a90012cb29f80078240e0004600182c..."} 
[2026-07-01 18:07:35] local.INFO: Packet analysis {"connection_id":119194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dac"} 
[2026-07-01 18:07:35] local.INFO: Extracted packet for processing {"connection_id":119194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dac"} 
[2026-07-01 18:07:35] local.INFO: GPS Element Parsed {"raw_longitude":749903744,"raw_latitude":125976800,"longitude_deg":74.9903744,"latitude_deg":12.59768,"altitude":70,"angle":24,"satellites":44,"speed":10,"hex_longitude":"2cb29f80","hex_latitude":"078240e0","is_valid_coordinates":true} 
[2026-07-01 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-01 18:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424765696001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:07:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575737781411397632,"note":"Value kept but may cause issues"} 
[2026-07-01 18:07:35] 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-01 18:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782909242000,"timestamp_ms":1782909242000,"timestamp_seconds":1782909242,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dac0a90"} 
[2026-07-01 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-01 18:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-01 18:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 18:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":119194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":119194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":119194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 18:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424765696001,"66":27300,"221":206,"85":36864,"24":10,"16":333819409594318848,"44":-5575737781411397632},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-01 18:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424765696001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:07:35] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-01 18:07:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-01 18:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:07:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575737781411397632,"description":"Unknown IO ID 44"} 
[2026-07-01 18:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424765696001,"power":27300,"unknown_221":206,"unknown_85":36864,"ignition":10,"odometer":null,"unknown_44":-5575737781411397632}} 
[2026-07-01 18:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":119194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:07:36] local.INFO: GPS data processed {"connection_id":119194,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:07:36] local.INFO: Acknowledgment sent {"connection_id":119194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:08:20] local.INFO: TCP Data received {"connection_id":119290,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:08:20] local.INFO: Processing buffer {"connection_id":119290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:08:20] local.INFO: IMEI packet received {"connection_id":119290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 18:08:20] local.INFO: IMEI acknowledgment sent {"connection_id":119290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:08:25] local.INFO: TCP Data received {"connection_id":119290,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:08:25] local.INFO: Processing buffer {"connection_id":119290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:08:25] local.INFO: IMEI packet received {"connection_id":119290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:08:25] local.INFO: IMEI acknowledgment sent {"connection_id":119290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:08:27] local.INFO: TCP Data received {"connection_id":119290,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dac0a90012cb29f80078240e0004600182c..."} 
[2026-07-01 18:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dac0a90012cb29f80078240e0004600182c..."} 
[2026-07-01 18:08:27] local.INFO: Processing buffer {"connection_id":119290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dac0a90012cb29f80078240e0004600182c..."} 
[2026-07-01 18:08:27] local.INFO: Packet analysis {"connection_id":119290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dac"} 
[2026-07-01 18:08:27] local.INFO: Extracted packet for processing {"connection_id":119290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dac"} 
[2026-07-01 18:08:27] local.INFO: GPS Element Parsed {"raw_longitude":749903744,"raw_latitude":125976800,"longitude_deg":74.9903744,"latitude_deg":12.59768,"altitude":70,"angle":24,"satellites":44,"speed":10,"hex_longitude":"2cb29f80","hex_latitude":"078240e0","is_valid_coordinates":true} 
[2026-07-01 18:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:08:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424765696001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:08:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:08:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575737781411397632,"note":"Value kept but may cause issues"} 
[2026-07-01 18:08:27] 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-01 18:08:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782909242000,"timestamp_ms":1782909242000,"timestamp_seconds":1782909242,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dac0a90"} 
[2026-07-01 18:08:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:08:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-01 18:08:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:08:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:08:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:08:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:08:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:08:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:08:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:08:27] 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-01 18:08:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:08:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:08:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424765696001,"66":27300,"221":206,"85":36864,"24":10,"16":333819409594318848,"44":-5575737781411397632},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-01 18:08:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:08:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:08:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424765696001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:08:27] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-01 18:08:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-01 18:08:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:08:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575737781411397632,"description":"Unknown IO ID 44"} 
[2026-07-01 18:08:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424765696001,"power":27300,"unknown_221":206,"unknown_85":36864,"ignition":10,"odometer":null,"unknown_44":-5575737781411397632}} 
[2026-07-01 18:08:27] local.INFO: DEBUG: GPS processor result {"connection_id":119290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:08:27] local.INFO: GPS data processed {"connection_id":119290,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:08:27] local.INFO: Acknowledgment sent {"connection_id":119290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:08:45] local.INFO: TCP Data received {"connection_id":119988,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 18:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119988,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 18:08:45] local.INFO: Processing buffer {"connection_id":119988,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 18:08:45] local.INFO: IMEI packet received {"connection_id":119988,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 18:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":119988,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:08:58] local.INFO: TCP Data received {"connection_id":119290,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dafb028012cb29bc007823cf00047002229..."} 
[2026-07-01 18:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dafb028012cb29bc007823cf00047002229..."} 
[2026-07-01 18:08:58] local.INFO: Processing buffer {"connection_id":119290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dafb028012cb29bc007823cf00047002229..."} 
[2026-07-01 18:08:58] local.INFO: Packet analysis {"connection_id":119290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1daf"} 
[2026-07-01 18:08:58] local.INFO: Extracted packet for processing {"connection_id":119290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1daf"} 
[2026-07-01 18:08:58] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975792,"longitude_deg":74.9902784,"latitude_deg":12.5975792,"altitude":71,"angle":34,"satellites":41,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823cf0","is_valid_coordinates":true} 
[2026-07-01 18:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424765952001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:08:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5575597043922968576,"note":"Value kept but may cause issues"} 
[2026-07-01 18:08:58] 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-01 18:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782909481000,"timestamp_ms":1782909481000,"timestamp_seconds":1782909481,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dafb028"} 
[2026-07-01 18: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-01 18:08:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-01 18:08:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18: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-01 18: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-01 18:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:08:58] 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-01 18:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424765952001,"66":26452,"221":206,"85":36864,"24":0,"16":333819409594318848,"44":-5575597043922968576},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-01 18:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424765952001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:08:58] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-01 18:08:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-01 18:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:08:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5575597043922968576,"description":"Unknown IO ID 44"} 
[2026-07-01 18:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424765952001,"power":26452,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5575597043922968576}} 
[2026-07-01 18:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":119290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:08:58] local.INFO: GPS data processed {"connection_id":119290,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:08:58] local.INFO: Acknowledgment sent {"connection_id":119290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:09:12] local.INFO: TCP Data received {"connection_id":119291,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119291,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:09:12] local.INFO: Processing buffer {"connection_id":119291,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:09:12] local.INFO: IMEI packet received {"connection_id":119291,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 18:09:12] local.INFO: IMEI acknowledgment sent {"connection_id":119291,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:09:12] local.INFO: TCP Data received {"connection_id":119291,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f1daf8d00012d81d78005d17c580000012829..."} 
[2026-07-01 18:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1daf8d00012d81d78005d17c580000012829..."} 
[2026-07-01 18:09:12] local.INFO: Processing buffer {"connection_id":119291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1daf8d00012d81d78005d17c580000012829..."} 
[2026-07-01 18:09:12] local.INFO: Packet analysis {"connection_id":119291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1daf"} 
[2026-07-01 18:09:12] local.INFO: Extracted packet for processing {"connection_id":119291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1daf"} 
[2026-07-01 18:09:12] local.INFO: GPS Element Parsed {"raw_longitude":763484032,"raw_latitude":97614936,"longitude_deg":76.3484032,"latitude_deg":9.7614936,"altitude":0,"angle":296,"satellites":41,"speed":28,"hex_longitude":"2d81d780","hex_latitude":"05d17c58","is_valid_coordinates":true} 
[2026-07-01 18: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-01 18:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424824576001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101443588478468096,"note":"Value kept but may cause issues"} 
[2026-07-01 18:09:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9089952872904564736,"note":"Value kept but may cause issues"} 
[2026-07-01 18:09:12] 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-01 18:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1782909472000,"timestamp_ms":1782909472000,"timestamp_seconds":1782909472,"priority":1,"record_length":96,"hex_timestamp":"0000019f1daf8d00"} 
[2026-07-01 18: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-01 18:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 18: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-07-01 18:09: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-01 18: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-01 18: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-01 18:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":119291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":119291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 18:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":119291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 18:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 18:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 18:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 18:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424824576001,"66":12765,"65":206,"85":15104,"24":28,"16":101443588478468096,"45":-9089952872904564736},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-07-01 18:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 18:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 18:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424824576001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:09:12] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-07-01 18:09:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 18:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101443588478468096,"km_value":101443588478468.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:09:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9089952872904564736,"description":"Unknown IO ID 45"} 
[2026-07-01 18:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424824576001,"power":12765,"unknown_65":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9089952872904564736}} 
[2026-07-01 18:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":119291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418151,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:09:12] local.INFO: GPS data processed {"connection_id":119291,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:09:12] local.INFO: Acknowledgment sent {"connection_id":119291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:09:15] local.INFO: TCP Data received {"connection_id":119292,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 18:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119292,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 18:09:15] local.INFO: Processing buffer {"connection_id":119292,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 18:09:15] local.INFO: IMEI packet received {"connection_id":119292,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 18:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":119292,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:09:20] local.INFO: TCP Data received {"connection_id":121068,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:09:20] local.INFO: Processing buffer {"connection_id":121068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:09:20] local.INFO: IMEI packet received {"connection_id":121068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 18:09:20] local.INFO: IMEI acknowledgment sent {"connection_id":121068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:09:25] local.INFO: TCP Data received {"connection_id":121068,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:09:25] local.INFO: Processing buffer {"connection_id":121068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:09:25] local.INFO: IMEI packet received {"connection_id":121068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":121068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:09:26] local.INFO: TCP Data received {"connection_id":121068,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dafb7f8012cb29b8007823bc00047000a29..."} 
[2026-07-01 18:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dafb7f8012cb29b8007823bc00047000a29..."} 
[2026-07-01 18:09:26] local.INFO: Processing buffer {"connection_id":121068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dafb7f8012cb29b8007823bc00047000a29..."} 
[2026-07-01 18:09:26] local.INFO: Packet analysis {"connection_id":121068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1daf"} 
[2026-07-01 18:09:26] local.INFO: Extracted packet for processing {"connection_id":121068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1daf"} 
[2026-07-01 18:09:26] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125975488,"longitude_deg":74.990272,"latitude_deg":12.5975488,"altitude":71,"angle":10,"satellites":41,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823bc0","is_valid_coordinates":true} 
[2026-07-01 18:09:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:09:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424827136001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:09:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:09:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575085891584,"note":"Value kept but may cause issues"} 
[2026-07-01 18:09:26] 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-01 18:09:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782909483000,"timestamp_ms":1782909483000,"timestamp_seconds":1782909483,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dafb7f8"} 
[2026-07-01 18:09:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:09:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 18:09:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-07-01 18:09:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:09:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:09:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:09:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:09:26] local.INFO: Teltonika packet parsed successfully {"connection_id":121068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:09:26] local.INFO: Passing IMEI to GPS processor {"connection_id":121068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:09:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":121068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:09:26] 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-01 18:09:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:09:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:09:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424827136001,"66":25397,"221":206,"85":36864,"24":0,"16":333819409594318848,"44":-5576652575085891584},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-01 18:09:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:09:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:09:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424827136001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:09:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-01 18:09:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-01 18:09:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:09:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575085891584,"description":"Unknown IO ID 44"} 
[2026-07-01 18:09:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424827136001,"power":25397,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576652575085891584}} 
[2026-07-01 18:09:26] local.INFO: DEBUG: GPS processor result {"connection_id":121068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:09:26] local.INFO: GPS data processed {"connection_id":121068,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:09:26] local.INFO: Acknowledgment sent {"connection_id":121068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:09:51] local.INFO: TCP Data received {"connection_id":121069,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121069,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:09:51] local.INFO: Processing buffer {"connection_id":121069,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:09:51] local.INFO: IMEI packet received {"connection_id":121069,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 18:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":121069,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:09:57] local.INFO: TCP Data received {"connection_id":121069,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121069,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:09:57] local.INFO: Processing buffer {"connection_id":121069,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:09:57] local.INFO: IMEI packet received {"connection_id":121069,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 18:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":121069,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:09:58] local.INFO: TCP Data received {"connection_id":121069,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f1db0e8a8012d81110005d18cf00003014829..."} 
[2026-07-01 18:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1db0e8a8012d81110005d18cf00003014829..."} 
[2026-07-01 18:09:58] local.INFO: Processing buffer {"connection_id":121069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1db0e8a8012d81110005d18cf00003014829..."} 
[2026-07-01 18:09:58] local.INFO: Packet analysis {"connection_id":121069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1db0"} 
[2026-07-01 18:09:58] local.INFO: Extracted packet for processing {"connection_id":121069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1db0"} 
[2026-07-01 18:09:58] local.INFO: GPS Element Parsed {"raw_longitude":763433216,"raw_latitude":97619184,"longitude_deg":76.3433216,"latitude_deg":9.7619184,"altitude":3,"angle":328,"satellites":41,"speed":12,"hex_longitude":"2d811100","hex_latitude":"05d18cf0","is_valid_coordinates":true} 
[2026-07-01 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-01 18:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424847360001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101446083854467072,"note":"Value kept but may cause issues"} 
[2026-07-01 18:09:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9146318236989786112,"note":"Value kept but may cause issues"} 
[2026-07-01 18:09:58] 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-01 18:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782909561000,"timestamp_ms":1782909561000,"timestamp_seconds":1782909561,"priority":1,"record_length":96,"hex_timestamp":"0000019f1db0e8a8"} 
[2026-07-01 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-01 18:09:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-07-01 18:09:58] 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-01 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-01 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-01 18:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":121069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":121069,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 18:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":121069,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 18:09:58] 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-01 18:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 18:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 18:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424847360001,"66":12537,"65":206,"85":15104,"24":12,"16":101446083854467072,"45":-9146318236989786112},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-07-01 18:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 18:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 18:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424847360001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:09:58] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-07-01 18:09:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 18:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101446083854467072,"km_value":101446083854467.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:09:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9146318236989786112,"description":"Unknown IO ID 45"} 
[2026-07-01 18:09:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424847360001,"power":12537,"unknown_65":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":-9146318236989786112}} 
[2026-07-01 18:09:58] local.INFO: DEBUG: GPS processor result {"connection_id":121069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418153,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:09:58] local.INFO: GPS data processed {"connection_id":121069,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:09:58] local.INFO: Acknowledgment sent {"connection_id":121069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:10:01] local.INFO: TCP Data received {"connection_id":121068,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dafc3b0012cb29b8007823bc00047000a28..."} 
[2026-07-01 18:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dafc3b0012cb29b8007823bc00047000a28..."} 
[2026-07-01 18:10:01] local.INFO: Processing buffer {"connection_id":121068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dafc3b0012cb29b8007823bc00047000a28..."} 
[2026-07-01 18:10:01] local.INFO: Packet analysis {"connection_id":121068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1daf"} 
[2026-07-01 18:10:01] local.INFO: Extracted packet for processing {"connection_id":121068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1daf"} 
[2026-07-01 18:10:01] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125975488,"longitude_deg":74.990272,"latitude_deg":12.5975488,"altitude":71,"angle":10,"satellites":40,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823bc0","is_valid_coordinates":true} 
[2026-07-01 18:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424827648001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:10:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830147072,"note":"Value kept but may cause issues"} 
[2026-07-01 18:10:01] 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-01 18:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782909486000,"timestamp_ms":1782909486000,"timestamp_seconds":1782909486,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dafc3b0"} 
[2026-07-01 18:10:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:10:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 18:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 18:10:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:10:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:10:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":121068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":121068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":121068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:10:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 18:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424827648001,"66":25778,"221":206,"85":36864,"24":0,"16":333819409594318848,"44":-5576722943830147072},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-01 18:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424827648001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:10:01] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-01 18:10:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-01 18:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:10:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830147072,"description":"Unknown IO ID 44"} 
[2026-07-01 18:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424827648001,"power":25778,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576722943830147072}} 
[2026-07-01 18:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":121068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:10:01] local.INFO: GPS data processed {"connection_id":121068,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:10:01] local.INFO: Acknowledgment sent {"connection_id":121068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:10:20] local.INFO: TCP Data received {"connection_id":121070,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:10:20] local.INFO: Processing buffer {"connection_id":121070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:10:20] local.INFO: IMEI packet received {"connection_id":121070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 18:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":121070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:10:25] local.INFO: TCP Data received {"connection_id":121070,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:10:25] local.INFO: Processing buffer {"connection_id":121070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:10:25] local.INFO: IMEI packet received {"connection_id":121070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:10:25] local.INFO: IMEI acknowledgment sent {"connection_id":121070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:10:26] local.INFO: TCP Data received {"connection_id":121070,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dafdf08012cb29b8007823bc00047000a2a..."} 
[2026-07-01 18:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dafdf08012cb29b8007823bc00047000a2a..."} 
[2026-07-01 18:10:26] local.INFO: Processing buffer {"connection_id":121070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dafdf08012cb29b8007823bc00047000a2a..."} 
[2026-07-01 18:10:26] local.INFO: Packet analysis {"connection_id":121070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1daf"} 
[2026-07-01 18:10:26] local.INFO: Extracted packet for processing {"connection_id":121070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1daf"} 
[2026-07-01 18:10:26] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125975488,"longitude_deg":74.990272,"latitude_deg":12.5975488,"altitude":71,"angle":10,"satellites":42,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823bc0","is_valid_coordinates":true} 
[2026-07-01 18:10:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:10:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424828416001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:10:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:10:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830147072,"note":"Value kept but may cause issues"} 
[2026-07-01 18:10:26] 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-01 18:10:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782909493000,"timestamp_ms":1782909493000,"timestamp_seconds":1782909493,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dafdf08"} 
[2026-07-01 18: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-01 18:10:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:10:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-07-01 18:10:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:10:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18: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-01 18:10:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:10:26] local.INFO: Teltonika packet parsed successfully {"connection_id":121070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:10:26] local.INFO: Passing IMEI to GPS processor {"connection_id":121070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:10:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":121070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:10:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 18:10:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:10:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:10:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424828416001,"66":26289,"221":206,"85":36864,"24":0,"16":333819409594318848,"44":-5576722943830147072},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-01 18:10:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:10:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:10:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424828416001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:10:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-01 18:10:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-01 18:10:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:10:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830147072,"description":"Unknown IO ID 44"} 
[2026-07-01 18:10:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424828416001,"power":26289,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576722943830147072}} 
[2026-07-01 18:10:26] local.INFO: DEBUG: GPS processor result {"connection_id":121070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:10:26] local.INFO: GPS data processed {"connection_id":121070,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:10:26] local.INFO: Acknowledgment sent {"connection_id":121070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:10:29] local.INFO: TCP Data received {"connection_id":121069,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f1db1d6f0012d81178005d26ac0000301412a..."} 
[2026-07-01 18:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1db1d6f0012d81178005d26ac0000301412a..."} 
[2026-07-01 18:10:29] local.INFO: Processing buffer {"connection_id":121069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1db1d6f0012d81178005d26ac0000301412a..."} 
[2026-07-01 18:10:29] local.INFO: Packet analysis {"connection_id":121069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1db1"} 
[2026-07-01 18:10:29] local.INFO: Extracted packet for processing {"connection_id":121069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1db1"} 
[2026-07-01 18:10:29] local.INFO: GPS Element Parsed {"raw_longitude":763434880,"raw_latitude":97675968,"longitude_deg":76.343488,"latitude_deg":9.7675968,"altitude":3,"angle":321,"satellites":42,"speed":17,"hex_longitude":"2d811780","hex_latitude":"05d26ac0","is_valid_coordinates":true} 
[2026-07-01 18: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-01 18:10:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424862976001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:10:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101448871288242176,"note":"Value kept but may cause issues"} 
[2026-07-01 18:10:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9144418280882481152,"note":"Value kept but may cause issues"} 
[2026-07-01 18:10:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 18:10:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782909622000,"timestamp_ms":1782909622000,"timestamp_seconds":1782909622,"priority":1,"record_length":96,"hex_timestamp":"0000019f1db1d6f0"} 
[2026-07-01 18: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-01 18:10:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 18: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-07-01 18:10:29] 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-01 18: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-01 18: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-01 18:10:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:10:29] local.INFO: Teltonika packet parsed successfully {"connection_id":121069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:10:29] local.INFO: Passing IMEI to GPS processor {"connection_id":121069,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 18:10:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":121069,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 18:10:29] 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-01 18:10:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 18:10:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 18:10:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424862976001,"66":12156,"208":206,"85":15104,"24":17,"16":101448871288242176,"45":-9144418280882481152},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-01 18:10:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 18:10:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 18:10:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424862976001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:10:29] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-01 18:10:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 18:10:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101448871288242176,"km_value":101448871288242.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:10:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9144418280882481152,"description":"Unknown IO ID 45"} 
[2026-07-01 18:10:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424862976001,"power":12156,"unknown_208":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":-9144418280882481152}} 
[2026-07-01 18:10:29] local.INFO: DEBUG: GPS processor result {"connection_id":121069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418156,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:10:29] local.INFO: GPS data processed {"connection_id":121069,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:10:29] local.INFO: Acknowledgment sent {"connection_id":121069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:10:51] local.INFO: TCP Data received {"connection_id":119294,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119294,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:10:51] local.INFO: Processing buffer {"connection_id":119294,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:10:51] local.INFO: IMEI packet received {"connection_id":119294,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 18:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":119294,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:10:55] local.INFO: TCP Data received {"connection_id":119294,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119294,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:10:55] local.INFO: Processing buffer {"connection_id":119294,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:10:55] local.INFO: IMEI packet received {"connection_id":119294,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 18:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":119294,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:10:56] local.INFO: TCP Data received {"connection_id":119294,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119294,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:10:56] local.INFO: Processing buffer {"connection_id":119294,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:10:56] local.INFO: IMEI packet received {"connection_id":119294,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 18:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":119294,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:10:57] local.INFO: TCP Data received {"connection_id":119294,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f1db22128012d810a4005d287c80004015328..."} 
[2026-07-01 18:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1db22128012d810a4005d287c80004015328..."} 
[2026-07-01 18:10:57] local.INFO: Processing buffer {"connection_id":119294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1db22128012d810a4005d287c80004015328..."} 
[2026-07-01 18:10:57] local.INFO: Packet analysis {"connection_id":119294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1db2"} 
[2026-07-01 18:10:57] local.INFO: Extracted packet for processing {"connection_id":119294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1db2"} 
[2026-07-01 18:10:57] local.INFO: GPS Element Parsed {"raw_longitude":763431488,"raw_latitude":97683400,"longitude_deg":76.3431488,"latitude_deg":9.76834,"altitude":4,"angle":339,"satellites":40,"speed":19,"hex_longitude":"2d810a40","hex_latitude":"05d287c8","is_valid_coordinates":true} 
[2026-07-01 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-01 18:10:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424867840001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:10:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101449382389350400,"note":"Value kept but may cause issues"} 
[2026-07-01 18:10:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9148288561810376704,"note":"Value kept but may cause issues"} 
[2026-07-01 18:10: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-01 18:10:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782909641000,"timestamp_ms":1782909641000,"timestamp_seconds":1782909641,"priority":1,"record_length":96,"hex_timestamp":"0000019f1db22128"} 
[2026-07-01 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-01 18:10:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 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":145,"data_length":795,"current_offset":136} 
[2026-07-01 18:10:57] 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-01 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-01 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-01 18:10:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:10:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:10:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119294,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 18:10:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119294,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 18:10:57] 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-01 18:10:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 18:10:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 18:10:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424867840001,"66":12689,"208":206,"85":15104,"24":19,"16":101449382389350400,"45":-9148288561810376704},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-01 18:10:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 18:10:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 18:10:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424867840001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:10:57] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-01 18:10:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 18:10:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101449382389350400,"km_value":101449382389350.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:10:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9148288561810376704,"description":"Unknown IO ID 45"} 
[2026-07-01 18:10:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424867840001,"power":12689,"unknown_208":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":-9148288561810376704}} 
[2026-07-01 18:10:57] local.INFO: DEBUG: GPS processor result {"connection_id":119294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418157,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:10:57] local.INFO: GPS data processed {"connection_id":119294,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:10:57] local.INFO: Acknowledgment sent {"connection_id":119294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:11:02] local.INFO: TCP Data received {"connection_id":121070,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f1daff290012cb29b8007823bc00047000a28..."} 
[2026-07-01 18:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1daff290012cb29b8007823bc00047000a28..."} 
[2026-07-01 18:11:02] local.INFO: Processing buffer {"connection_id":121070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1daff290012cb29b8007823bc00047000a28..."} 
[2026-07-01 18:11:02] local.INFO: Packet analysis {"connection_id":121070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1daf"} 
[2026-07-01 18:11:02] local.INFO: Extracted packet for processing {"connection_id":121070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1daf"} 
[2026-07-01 18:11:02] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125975488,"longitude_deg":74.990272,"latitude_deg":12.5975488,"altitude":71,"angle":10,"satellites":40,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823bc0","is_valid_coordinates":true} 
[2026-07-01 18:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424830208001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:11:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830147072,"note":"Value kept but may cause issues"} 
[2026-07-01 18:11:02] 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-01 18:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782909498000,"timestamp_ms":1782909498000,"timestamp_seconds":1782909498,"priority":1,"record_length":96,"hex_timestamp":"0000019f1daff290"} 
[2026-07-01 18: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-01 18:11:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 18:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-07-01 18:11:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18: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-01 18: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-01 18:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":121070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":121070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":121070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 18:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424830208001,"66":26006,"221":206,"85":36864,"24":0,"16":333819409594318848,"44":-5576722943830147072},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-01 18:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424830208001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:11:02] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-01 18:11:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-01 18:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:11:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830147072,"description":"Unknown IO ID 44"} 
[2026-07-01 18:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424830208001,"power":26006,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576722943830147072}} 
[2026-07-01 18:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":121070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:11:02] local.INFO: GPS data processed {"connection_id":121070,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:11:02] local.INFO: Acknowledgment sent {"connection_id":121070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:11:28] local.INFO: TCP Data received {"connection_id":119294,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f1db22510012d81094005d289a00004014628..."} 
[2026-07-01 18:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1db22510012d81094005d289a00004014628..."} 
[2026-07-01 18:11:28] local.INFO: Processing buffer {"connection_id":119294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1db22510012d81094005d289a00004014628..."} 
[2026-07-01 18:11:28] local.INFO: Packet analysis {"connection_id":119294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1db2"} 
[2026-07-01 18:11:28] local.INFO: Extracted packet for processing {"connection_id":119294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1db2"} 
[2026-07-01 18:11:28] local.INFO: GPS Element Parsed {"raw_longitude":763431232,"raw_latitude":97683872,"longitude_deg":76.3431232,"latitude_deg":9.7683872,"altitude":4,"angle":326,"satellites":40,"speed":21,"hex_longitude":"2d810940","hex_latitude":"05d289a0","is_valid_coordinates":true} 
[2026-07-01 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-01 18:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424868096001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101449408159154176,"note":"Value kept but may cause issues"} 
[2026-07-01 18:11:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9148429299298613248,"note":"Value kept but may cause issues"} 
[2026-07-01 18:11: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-01 18:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782909642000,"timestamp_ms":1782909642000,"timestamp_seconds":1782909642,"priority":1,"record_length":96,"hex_timestamp":"0000019f1db22510"} 
[2026-07-01 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-01 18:11: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-01 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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-07-01 18:11:28] 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-01 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-01 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-01 18:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119294,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 18:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119294,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 18:11:28] 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-01 18:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 18:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 18:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424868096001,"66":12298,"208":206,"85":15104,"24":21,"16":101449408159154176,"45":-9148429299298613248},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-07-01 18:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 18:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 18:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424868096001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:11:28] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-01 18:11:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 18:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101449408159154176,"km_value":101449408159154.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:11:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9148429299298613248,"description":"Unknown IO ID 45"} 
[2026-07-01 18:11:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424868096001,"power":12298,"unknown_208":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":-9148429299298613248}} 
[2026-07-01 18:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":119294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418159,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:11:28] local.INFO: GPS data processed {"connection_id":119294,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:11:28] local.INFO: Acknowledgment sent {"connection_id":119294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:11:35] local.INFO: TCP Data received {"connection_id":119195,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:11:35] local.INFO: Processing buffer {"connection_id":119195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:11:35] local.INFO: IMEI packet received {"connection_id":119195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 18:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":119195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:11:40] local.INFO: TCP Data received {"connection_id":119195,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:11:40] local.INFO: Processing buffer {"connection_id":119195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:11:40] local.INFO: IMEI packet received {"connection_id":119195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":119195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:11:42] local.INFO: TCP Data received {"connection_id":119195,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1daff290012cb29b8007823bc00047000a28..."} 
[2026-07-01 18:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1daff290012cb29b8007823bc00047000a28..."} 
[2026-07-01 18:11:42] local.INFO: Processing buffer {"connection_id":119195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1daff290012cb29b8007823bc00047000a28..."} 
[2026-07-01 18:11:42] local.INFO: Packet analysis {"connection_id":119195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1daf"} 
[2026-07-01 18:11:42] local.INFO: Extracted packet for processing {"connection_id":119195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1daf"} 
[2026-07-01 18:11:42] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125975488,"longitude_deg":74.990272,"latitude_deg":12.5975488,"altitude":71,"angle":10,"satellites":40,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823bc0","is_valid_coordinates":true} 
[2026-07-01 18:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424830208001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:11:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830147072,"note":"Value kept but may cause issues"} 
[2026-07-01 18:11:42] 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-01 18:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782909498000,"timestamp_ms":1782909498000,"timestamp_seconds":1782909498,"priority":1,"record_length":96,"hex_timestamp":"0000019f1daff290"} 
[2026-07-01 18:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:11:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 18:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-07-01 18:11:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:11:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":119195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":119195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":119195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:11: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-01 18:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424830208001,"66":26006,"221":206,"85":36864,"24":0,"16":333819409594318848,"44":-5576722943830147072},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-01 18:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424830208001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:11:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-01 18:11:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-01 18:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:11:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830147072,"description":"Unknown IO ID 44"} 
[2026-07-01 18:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424830208001,"power":26006,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576722943830147072}} 
[2026-07-01 18:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":119195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:11:42] local.INFO: GPS data processed {"connection_id":119195,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:11:42] local.INFO: Acknowledgment sent {"connection_id":119195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:11:53] local.INFO: TCP Data received {"connection_id":119990,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119990,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:11:53] local.INFO: Processing buffer {"connection_id":119990,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:11:53] local.INFO: IMEI packet received {"connection_id":119990,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 18:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":119990,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:11:54] local.INFO: TCP Data received {"connection_id":119990,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119990,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:11:54] local.INFO: Processing buffer {"connection_id":119990,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:11:54] local.INFO: IMEI packet received {"connection_id":119990,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 18:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":119990,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:11:55] local.INFO: TCP Data received {"connection_id":119990,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119990,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:11:55] local.INFO: Processing buffer {"connection_id":119990,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:11:55] local.INFO: IMEI packet received {"connection_id":119990,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 18:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":119990,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:11:56] local.INFO: TCP Data received {"connection_id":119990,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119990,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:11:56] local.INFO: Processing buffer {"connection_id":119990,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:11:56] local.INFO: IMEI packet received {"connection_id":119990,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 18:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":119990,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:12:20] local.INFO: TCP Data received {"connection_id":119991,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:12:20] local.INFO: Processing buffer {"connection_id":119991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:12:20] local.INFO: IMEI packet received {"connection_id":119991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 18:12:20] local.INFO: IMEI acknowledgment sent {"connection_id":119991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:12:28] local.INFO: TCP Data received {"connection_id":119991,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:12:28] local.INFO: Processing buffer {"connection_id":119991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:12:28] local.INFO: IMEI packet received {"connection_id":119991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":119991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:12:30] local.INFO: TCP Data received {"connection_id":119991,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f1daff290012cb29b8007823bc00047000a28..."} 
[2026-07-01 18:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1daff290012cb29b8007823bc00047000a28..."} 
[2026-07-01 18:12:30] local.INFO: Processing buffer {"connection_id":119991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1daff290012cb29b8007823bc00047000a28..."} 
[2026-07-01 18:12:30] local.INFO: Packet analysis {"connection_id":119991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1daf"} 
[2026-07-01 18:12:30] local.INFO: Extracted packet for processing {"connection_id":119991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1daf"} 
[2026-07-01 18:12:30] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125975488,"longitude_deg":74.990272,"latitude_deg":12.5975488,"altitude":71,"angle":10,"satellites":40,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823bc0","is_valid_coordinates":true} 
[2026-07-01 18:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424830208001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:12:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830147072,"note":"Value kept but may cause issues"} 
[2026-07-01 18:12:30] 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-01 18:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782909498000,"timestamp_ms":1782909498000,"timestamp_seconds":1782909498,"priority":1,"record_length":96,"hex_timestamp":"0000019f1daff290"} 
[2026-07-01 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-01 18:12:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 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":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-07-01 18:12:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 18:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":119991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":119991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":119991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:12:30] 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-01 18:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424830208001,"66":26006,"221":206,"85":36864,"24":0,"16":333819409594318848,"44":-5576722943830147072},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-01 18:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424830208001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:12:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-01 18:12:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-01 18:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:12:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830147072,"description":"Unknown IO ID 44"} 
[2026-07-01 18:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424830208001,"power":26006,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576722943830147072}} 
[2026-07-01 18:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":119991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:12:30] local.INFO: GPS data processed {"connection_id":119991,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:12:30] local.INFO: Acknowledgment sent {"connection_id":119991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:12:38] local.INFO: TCP Data received {"connection_id":119991,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f1daff290012cb29b8007823bc00047000a28..."} 
[2026-07-01 18:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1daff290012cb29b8007823bc00047000a28..."} 
[2026-07-01 18:12:38] local.INFO: Processing buffer {"connection_id":119991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1daff290012cb29b8007823bc00047000a28..."} 
[2026-07-01 18:12:38] local.INFO: Packet analysis {"connection_id":119991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1daf"} 
[2026-07-01 18:12:38] local.INFO: Extracted packet for processing {"connection_id":119991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1daf"} 
[2026-07-01 18:12:38] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125975488,"longitude_deg":74.990272,"latitude_deg":12.5975488,"altitude":71,"angle":10,"satellites":40,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823bc0","is_valid_coordinates":true} 
[2026-07-01 18:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424830208001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:12:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830147072,"note":"Value kept but may cause issues"} 
[2026-07-01 18:12:38] 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-01 18:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782909498000,"timestamp_ms":1782909498000,"timestamp_seconds":1782909498,"priority":1,"record_length":96,"hex_timestamp":"0000019f1daff290"} 
[2026-07-01 18:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 18:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-07-01 18:12:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:12:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":119991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":119991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":119991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 18:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424830208001,"66":26006,"221":206,"85":36864,"24":0,"16":333819409594318848,"44":-5576722943830147072},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-01 18:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424830208001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:12:38] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-01 18:12:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-01 18:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:12:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830147072,"description":"Unknown IO ID 44"} 
[2026-07-01 18:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424830208001,"power":26006,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576722943830147072}} 
[2026-07-01 18:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":119991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:12:38] local.INFO: GPS data processed {"connection_id":119991,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:12:38] local.INFO: Acknowledgment sent {"connection_id":119991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:13:29] local.INFO: TCP Data received {"connection_id":119994,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:13:29] local.INFO: Processing buffer {"connection_id":119994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:13:29] local.INFO: IMEI packet received {"connection_id":119994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 18:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":119994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:13:32] local.INFO: TCP Data received {"connection_id":119994,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:13:32] local.INFO: Processing buffer {"connection_id":119994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:13:32] local.INFO: IMEI packet received {"connection_id":119994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":119994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:13:41] local.INFO: TCP Data received {"connection_id":119994,"ip":"42.106.6.38","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 18:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119994,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 18:13:41] local.INFO: Processing buffer {"connection_id":119994,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 18:13:41] local.INFO: IMEI packet received {"connection_id":119994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":119994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:13:42] local.INFO: TCP Data received {"connection_id":119994,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f1daff290012cb29b8007823bc00047000a28..."} 
[2026-07-01 18:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1daff290012cb29b8007823bc00047000a28..."} 
[2026-07-01 18:13:42] local.INFO: Processing buffer {"connection_id":119994,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f1d..."} 
[2026-07-01 18:13:42] local.INFO: IMEI packet received {"connection_id":119994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:13:42] local.INFO: IMEI acknowledgment sent {"connection_id":119994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:13:46] local.INFO: TCP Data received {"connection_id":119994,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f1daff290012cb29b8007823bc00047000a28..."} 
[2026-07-01 18:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1daff290012cb29b8007823bc00047000a28..."} 
[2026-07-01 18:13:46] local.INFO: Processing buffer {"connection_id":119994,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f1daff290012cb29b8007823bc00047000a28..."} 
[2026-07-01 18:13:46] local.INFO: Packet analysis {"connection_id":119994,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f1daf"} 
[2026-07-01 18:13:46] local.INFO: Extracted packet for processing {"connection_id":119994,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1daf"} 
[2026-07-01 18:13:46] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125975488,"longitude_deg":74.990272,"latitude_deg":12.5975488,"altitude":71,"angle":10,"satellites":40,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823bc0","is_valid_coordinates":true} 
[2026-07-01 18: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-01 18:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424830208001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:13:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830147072,"note":"Value kept but may cause issues"} 
[2026-07-01 18: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-01 18:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1782909498000,"timestamp_ms":1782909498000,"timestamp_seconds":1782909498,"priority":1,"record_length":96,"hex_timestamp":"0000019f1daff290"} 
[2026-07-01 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-01 18:13: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-01 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":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-07-01 18:13:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 18:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":119994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":119994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":119994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:13:46] 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-01 18:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424830208001,"66":26006,"221":206,"85":36864,"24":0,"16":333819409594318848,"44":-5576722943830147072},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-01 18:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424830208001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:13:46] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-01 18:13:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-01 18:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:13:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830147072,"description":"Unknown IO ID 44"} 
[2026-07-01 18:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424830208001,"power":26006,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576722943830147072}} 
[2026-07-01 18:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":119994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:13:46] local.INFO: GPS data processed {"connection_id":119994,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:13:46] local.INFO: Acknowledgment sent {"connection_id":119994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:13:46] local.INFO: Packet analysis {"connection_id":119994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1daf"} 
[2026-07-01 18:13:46] local.INFO: Extracted packet for processing {"connection_id":119994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1daf"} 
[2026-07-01 18:13:46] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125975488,"longitude_deg":74.990272,"latitude_deg":12.5975488,"altitude":71,"angle":10,"satellites":40,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823bc0","is_valid_coordinates":true} 
[2026-07-01 18: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-01 18:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424830208001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:13:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830147072,"note":"Value kept but may cause issues"} 
[2026-07-01 18: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-01 18:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1782909498000,"timestamp_ms":1782909498000,"timestamp_seconds":1782909498,"priority":1,"record_length":96,"hex_timestamp":"0000019f1daff290"} 
[2026-07-01 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-01 18:13: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-01 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":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-07-01 18:13:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 18:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":119994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":119994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":119994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:13:46] 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-01 18:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424830208001,"66":26006,"221":206,"85":36864,"24":0,"16":333819409594318848,"44":-5576722943830147072},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-01 18:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424830208001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:13:46] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-01 18:13:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-01 18:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:13:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830147072,"description":"Unknown IO ID 44"} 
[2026-07-01 18:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424830208001,"power":26006,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576722943830147072}} 
[2026-07-01 18:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":119994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:13:46] local.INFO: GPS data processed {"connection_id":119994,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:13:46] local.INFO: Acknowledgment sent {"connection_id":119994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:13:50] local.INFO: TCP Data received {"connection_id":119994,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f1daff290012cb29b8007823bc00047000a28..."} 
[2026-07-01 18:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1daff290012cb29b8007823bc00047000a28..."} 
[2026-07-01 18:13:50] local.INFO: Processing buffer {"connection_id":119994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1daff290012cb29b8007823bc00047000a28..."} 
[2026-07-01 18:13:50] local.INFO: Packet analysis {"connection_id":119994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1daf"} 
[2026-07-01 18:13:50] local.INFO: Extracted packet for processing {"connection_id":119994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1daf"} 
[2026-07-01 18:13:50] local.INFO: GPS Element Parsed {"raw_longitude":749902720,"raw_latitude":125975488,"longitude_deg":74.990272,"latitude_deg":12.5975488,"altitude":71,"angle":10,"satellites":40,"speed":0,"hex_longitude":"2cb29b80","hex_latitude":"07823bc0","is_valid_coordinates":true} 
[2026-07-01 18: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-01 18:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424830208001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:13:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830147072,"note":"Value kept but may cause issues"} 
[2026-07-01 18:13:50] 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-01 18:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782909498000,"timestamp_ms":1782909498000,"timestamp_seconds":1782909498,"priority":1,"record_length":96,"hex_timestamp":"0000019f1daff290"} 
[2026-07-01 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-01 18:13: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-01 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":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-07-01 18:13:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2301,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 18:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":119994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":119994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":119994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:13: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-01 18:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424830208001,"66":26006,"221":206,"85":36864,"24":0,"16":333819409594318848,"44":-5576722943830147072},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-07-01 18:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424830208001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:13:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-07-01 18:13:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-07-01 18:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:13:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830147072,"description":"Unknown IO ID 44"} 
[2026-07-01 18:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424830208001,"power":26006,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5576722943830147072}} 
[2026-07-01 18:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":119994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:13:50] local.INFO: GPS data processed {"connection_id":119994,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:13:50] local.INFO: Acknowledgment sent {"connection_id":119994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:14:20] local.INFO: TCP Data received {"connection_id":119197,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:14:20] local.INFO: Processing buffer {"connection_id":119197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:14:20] local.INFO: IMEI packet received {"connection_id":119197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 18:14:20] local.INFO: IMEI acknowledgment sent {"connection_id":119197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:14:25] local.INFO: TCP Data received {"connection_id":119197,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:14:25] local.INFO: Processing buffer {"connection_id":119197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:14:25] local.INFO: IMEI packet received {"connection_id":119197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":119197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:14:26] local.INFO: TCP Data received {"connection_id":119197,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f1db499f8012cb29ac007823b600047000a27..."} 
[2026-07-01 18:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1db499f8012cb29ac007823b600047000a27..."} 
[2026-07-01 18:14:26] local.INFO: Processing buffer {"connection_id":119197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1db499f8012cb29ac007823b600047000a27..."} 
[2026-07-01 18:14:26] local.INFO: Packet analysis {"connection_id":119197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1db4"} 
[2026-07-01 18:14:26] local.INFO: Extracted packet for processing {"connection_id":119197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1db4"} 
[2026-07-01 18:14:26] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18: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-01 18:14:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424831488001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:14:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:14:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830147072,"note":"Value kept but may cause issues"} 
[2026-07-01 18:14:26] 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-01 18:14:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782909803000,"timestamp_ms":1782909803000,"timestamp_seconds":1782909803,"priority":1,"record_length":96,"hex_timestamp":"0000019f1db499f8"} 
[2026-07-01 18: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-01 18:14:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-01 18:14:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18: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-01 18: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-01 18:14:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:14:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:14:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:14:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:14:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 18:14:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:14:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:14:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424831488001,"66":25973,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576722943830147072},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:14:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:14:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:14:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424831488001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:14:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:14:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:14:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:14:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830147072,"description":"Unknown IO ID 44"} 
[2026-07-01 18:14:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424831488001,"power":25973,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576722943830147072}} 
[2026-07-01 18:14:26] local.INFO: DEBUG: GPS processor result {"connection_id":119197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:14:26] local.INFO: GPS data processed {"connection_id":119197,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:14:26] local.INFO: Acknowledgment sent {"connection_id":119197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:14:45] local.INFO: TCP Data received {"connection_id":119196,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 18:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119196,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 18:14:45] local.INFO: Processing buffer {"connection_id":119196,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 18:14:45] local.INFO: IMEI packet received {"connection_id":119196,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 18:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":119196,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:14:57] local.INFO: TCP Data received {"connection_id":119197,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f1db499f8012cb29ac007823b600047000a27..."} 
[2026-07-01 18:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1db499f8012cb29ac007823b600047000a27..."} 
[2026-07-01 18:14:57] local.INFO: Processing buffer {"connection_id":119197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1db499f8012cb29ac007823b600047000a27..."} 
[2026-07-01 18:14:57] local.INFO: Packet analysis {"connection_id":119197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1db4"} 
[2026-07-01 18:14:57] local.INFO: Extracted packet for processing {"connection_id":119197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1db4"} 
[2026-07-01 18:14:57] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:14:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424831488001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:14:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:14:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830147072,"note":"Value kept but may cause issues"} 
[2026-07-01 18:14:57] 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-01 18:14:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782909803000,"timestamp_ms":1782909803000,"timestamp_seconds":1782909803,"priority":1,"record_length":96,"hex_timestamp":"0000019f1db499f8"} 
[2026-07-01 18:14:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:14:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-01 18:14:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:14:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:14:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:14:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:14:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:14:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:14:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:14:57] 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-01 18:14:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:14:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:14:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424831488001,"66":25973,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576722943830147072},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:14:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:14:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:14:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424831488001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:14:57] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:14:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:14:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:14:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830147072,"description":"Unknown IO ID 44"} 
[2026-07-01 18:14:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424831488001,"power":25973,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576722943830147072}} 
[2026-07-01 18:14:57] local.INFO: DEBUG: GPS processor result {"connection_id":119197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:14:57] local.INFO: GPS data processed {"connection_id":119197,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:14:57] local.INFO: Acknowledgment sent {"connection_id":119197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:15:15] local.INFO: TCP Data received {"connection_id":119996,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 18:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119996,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 18:15:15] local.INFO: Processing buffer {"connection_id":119996,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 18:15:15] local.INFO: IMEI packet received {"connection_id":119996,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 18:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":119996,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:15:25] local.INFO: TCP Data received {"connection_id":119296,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:15:25] local.INFO: Processing buffer {"connection_id":119296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:15:25] local.INFO: IMEI packet received {"connection_id":119296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 18:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":119296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:15:30] local.INFO: TCP Data received {"connection_id":119296,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:15:30] local.INFO: Processing buffer {"connection_id":119296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:15:30] local.INFO: IMEI packet received {"connection_id":119296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":119296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:15:31] local.INFO: TCP Data received {"connection_id":119296,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f1db499f8012cb29ac007823b600047000a27..."} 
[2026-07-01 18:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1db499f8012cb29ac007823b600047000a27..."} 
[2026-07-01 18:15:31] local.INFO: Processing buffer {"connection_id":119296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1db499f8012cb29ac007823b600047000a27..."} 
[2026-07-01 18:15:31] local.INFO: Packet analysis {"connection_id":119296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1db4"} 
[2026-07-01 18:15:31] local.INFO: Extracted packet for processing {"connection_id":119296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1db4"} 
[2026-07-01 18:15:31] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424831488001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:15:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830147072,"note":"Value kept but may cause issues"} 
[2026-07-01 18:15:31] 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-01 18:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782909803000,"timestamp_ms":1782909803000,"timestamp_seconds":1782909803,"priority":1,"record_length":96,"hex_timestamp":"0000019f1db499f8"} 
[2026-07-01 18:15:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:15:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-01 18:15:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:15:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:15:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:15:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 18:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424831488001,"66":25973,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576722943830147072},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424831488001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:15:31] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:15:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:15:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830147072,"description":"Unknown IO ID 44"} 
[2026-07-01 18:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424831488001,"power":25973,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576722943830147072}} 
[2026-07-01 18:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":119296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:15:31] local.INFO: GPS data processed {"connection_id":119296,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:15:31] local.INFO: Acknowledgment sent {"connection_id":119296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:15:35] local.INFO: TCP Data received {"connection_id":119296,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f1db499f8012cb29ac007823b600047000a27..."} 
[2026-07-01 18:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1db499f8012cb29ac007823b600047000a27..."} 
[2026-07-01 18:15:35] local.INFO: Processing buffer {"connection_id":119296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1db499f8012cb29ac007823b600047000a27..."} 
[2026-07-01 18:15:35] local.INFO: Packet analysis {"connection_id":119296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1db4"} 
[2026-07-01 18:15:35] local.INFO: Extracted packet for processing {"connection_id":119296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1db4"} 
[2026-07-01 18:15:35] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424831488001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:15:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830147072,"note":"Value kept but may cause issues"} 
[2026-07-01 18:15:35] 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-01 18:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782909803000,"timestamp_ms":1782909803000,"timestamp_seconds":1782909803,"priority":1,"record_length":96,"hex_timestamp":"0000019f1db499f8"} 
[2026-07-01 18:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:15:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-01 18:15:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:15:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":119296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":119296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":119296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:15:35] 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-01 18:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424831488001,"66":25973,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576722943830147072},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424831488001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:15:35] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:15:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:15:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830147072,"description":"Unknown IO ID 44"} 
[2026-07-01 18:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424831488001,"power":25973,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576722943830147072}} 
[2026-07-01 18:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":119296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:15:35] local.INFO: GPS data processed {"connection_id":119296,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:15:35] local.INFO: Acknowledgment sent {"connection_id":119296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:16:20] local.INFO: TCP Data received {"connection_id":121073,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:16:20] local.INFO: Processing buffer {"connection_id":121073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:16:20] local.INFO: IMEI packet received {"connection_id":121073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 18:16:20] local.INFO: IMEI acknowledgment sent {"connection_id":121073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:16:25] local.INFO: TCP Data received {"connection_id":121073,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:16:25] local.INFO: Processing buffer {"connection_id":121073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:16:25] local.INFO: IMEI packet received {"connection_id":121073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":121073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:16:26] local.INFO: TCP Data received {"connection_id":121073,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f1db499f8012cb29ac007823b600047000a27..."} 
[2026-07-01 18:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1db499f8012cb29ac007823b600047000a27..."} 
[2026-07-01 18:16:26] local.INFO: Processing buffer {"connection_id":121073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1db499f8012cb29ac007823b600047000a27..."} 
[2026-07-01 18:16:26] local.INFO: Packet analysis {"connection_id":121073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1db4"} 
[2026-07-01 18:16:26] local.INFO: Extracted packet for processing {"connection_id":121073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1db4"} 
[2026-07-01 18:16:26] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18:16:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:16:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424831488001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:16:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:16:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830147072,"note":"Value kept but may cause issues"} 
[2026-07-01 18:16:26] 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-01 18:16:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782909803000,"timestamp_ms":1782909803000,"timestamp_seconds":1782909803,"priority":1,"record_length":96,"hex_timestamp":"0000019f1db499f8"} 
[2026-07-01 18:16:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:16:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:16:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-01 18:16:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:16:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:16:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:16:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:16:26] local.INFO: Teltonika packet parsed successfully {"connection_id":121073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:16:26] local.INFO: Passing IMEI to GPS processor {"connection_id":121073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:16:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":121073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:16:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 18:16:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:16:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:16:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424831488001,"66":25973,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576722943830147072},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:16:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:16:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:16:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424831488001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:16:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:16:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:16:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:16:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830147072,"description":"Unknown IO ID 44"} 
[2026-07-01 18:16:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424831488001,"power":25973,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576722943830147072}} 
[2026-07-01 18:16:26] local.INFO: DEBUG: GPS processor result {"connection_id":121073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:16:26] local.INFO: GPS data processed {"connection_id":121073,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:16:26] local.INFO: Acknowledgment sent {"connection_id":121073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:16:57] local.INFO: TCP Data received {"connection_id":121073,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f1db499f8012cb29ac007823b600047000a27..."} 
[2026-07-01 18:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1db499f8012cb29ac007823b600047000a27..."} 
[2026-07-01 18:16:57] local.INFO: Processing buffer {"connection_id":121073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1db499f8012cb29ac007823b600047000a27..."} 
[2026-07-01 18:16:57] local.INFO: Packet analysis {"connection_id":121073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1db4"} 
[2026-07-01 18:16:57] local.INFO: Extracted packet for processing {"connection_id":121073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1db4"} 
[2026-07-01 18:16:57] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18:16:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:16:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424831488001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:16:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:16:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830147072,"note":"Value kept but may cause issues"} 
[2026-07-01 18:16:57] 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-01 18:16:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782909803000,"timestamp_ms":1782909803000,"timestamp_seconds":1782909803,"priority":1,"record_length":96,"hex_timestamp":"0000019f1db499f8"} 
[2026-07-01 18:16:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:16:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:16:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-01 18:16:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:16:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:16:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:16:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:16:57] local.INFO: Teltonika packet parsed successfully {"connection_id":121073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:16:57] local.INFO: Passing IMEI to GPS processor {"connection_id":121073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:16:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":121073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:16:57] 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-01 18:16:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:16:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:16:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424831488001,"66":25973,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576722943830147072},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:16:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:16:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:16:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424831488001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:16:57] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:16:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:16:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:16:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830147072,"description":"Unknown IO ID 44"} 
[2026-07-01 18:16:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424831488001,"power":25973,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576722943830147072}} 
[2026-07-01 18:16:57] local.INFO: DEBUG: GPS processor result {"connection_id":121073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:16:57] local.INFO: GPS data processed {"connection_id":121073,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:16:57] local.INFO: Acknowledgment sent {"connection_id":121073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:17:20] local.INFO: TCP Data received {"connection_id":119298,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:17:20] local.INFO: Processing buffer {"connection_id":119298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:17:20] local.INFO: IMEI packet received {"connection_id":119298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 18:17:20] local.INFO: IMEI acknowledgment sent {"connection_id":119298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:17:21] local.INFO: TCP Data received {"connection_id":121074,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121074,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:17:21] local.INFO: Processing buffer {"connection_id":121074,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:17:21] local.INFO: IMEI packet received {"connection_id":121074,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 18:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":121074,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:17:25] local.INFO: TCP Data received {"connection_id":119298,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:17:25] local.INFO: Processing buffer {"connection_id":119298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:17:25] local.INFO: IMEI packet received {"connection_id":119298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":119298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:17:26] local.INFO: TCP Data received {"connection_id":119298,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f1db499f8012cb29ac007823b600047000a27..."} 
[2026-07-01 18:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1db499f8012cb29ac007823b600047000a27..."} 
[2026-07-01 18:17:26] local.INFO: Processing buffer {"connection_id":119298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1db499f8012cb29ac007823b600047000a27..."} 
[2026-07-01 18:17:26] local.INFO: Packet analysis {"connection_id":119298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1db4"} 
[2026-07-01 18:17:26] local.INFO: Extracted packet for processing {"connection_id":119298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1db4"} 
[2026-07-01 18:17:26] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:17:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424831488001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:17:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:17:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830147072,"note":"Value kept but may cause issues"} 
[2026-07-01 18:17:26] 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-01 18:17:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782909803000,"timestamp_ms":1782909803000,"timestamp_seconds":1782909803,"priority":1,"record_length":96,"hex_timestamp":"0000019f1db499f8"} 
[2026-07-01 18:17:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:17:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-01 18:17:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:17:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:17:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:17:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:17:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:17:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:17:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:17:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 18:17:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:17:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:17:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424831488001,"66":25973,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576722943830147072},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:17:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:17:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:17:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424831488001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:17:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:17:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:17:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:17:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830147072,"description":"Unknown IO ID 44"} 
[2026-07-01 18:17:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424831488001,"power":25973,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576722943830147072}} 
[2026-07-01 18:17:26] local.INFO: DEBUG: GPS processor result {"connection_id":119298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:17:26] local.INFO: GPS data processed {"connection_id":119298,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:17:26] local.INFO: Acknowledgment sent {"connection_id":119298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:17:27] local.INFO: TCP Data received {"connection_id":121074,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121074,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:17:27] local.INFO: Processing buffer {"connection_id":121074,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:17:27] local.INFO: IMEI packet received {"connection_id":121074,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 18:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":121074,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:17:27] local.INFO: TCP Data received {"connection_id":121074,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f1db764d0012d7eb4c005d321e80000010b2b..."} 
[2026-07-01 18:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1db764d0012d7eb4c005d321e80000010b2b..."} 
[2026-07-01 18:17:27] local.INFO: Processing buffer {"connection_id":121074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1db764d0012d7eb4c005d321e80000010b2b..."} 
[2026-07-01 18:17:27] local.INFO: Packet analysis {"connection_id":121074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1db7"} 
[2026-07-01 18:17:27] local.INFO: Extracted packet for processing {"connection_id":121074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1db7"} 
[2026-07-01 18:17:27] local.INFO: GPS Element Parsed {"raw_longitude":763278528,"raw_latitude":97722856,"longitude_deg":76.3278528,"latitude_deg":9.7722856,"altitude":0,"angle":267,"satellites":43,"speed":9,"hex_longitude":"2d7eb4c0","hex_latitude":"05d321e8","is_valid_coordinates":true} 
[2026-07-01 18:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424951296001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101459973778702336,"note":"Value kept but may cause issues"} 
[2026-07-01 18:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9139914731277594624,"note":"Value kept but may cause issues"} 
[2026-07-01 18:17:27] 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-01 18:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782909986000,"timestamp_ms":1782909986000,"timestamp_seconds":1782909986,"priority":1,"record_length":96,"hex_timestamp":"0000019f1db764d0"} 
[2026-07-01 18:17:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:17:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 18:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-07-01 18:17:27] 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-01 18:17:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:17:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":121074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":121074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 18:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":121074,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 18:17:27] 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-01 18:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 18:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 18:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424951296001,"66":12917,"209":206,"85":15104,"24":9,"16":101459973778702336,"45":9139914731277594624},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,45]} 
[2026-07-01 18:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 18:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 18:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424951296001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:17:27] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-07-01 18:17:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 18:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101459973778702336,"km_value":101459973778702.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9139914731277594624,"description":"Unknown IO ID 45"} 
[2026-07-01 18:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424951296001,"power":12917,"unknown_209":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9139914731277594624}} 
[2026-07-01 18:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":121074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418173,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:17:27] local.INFO: GPS data processed {"connection_id":121074,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:17:27] local.INFO: Acknowledgment sent {"connection_id":121074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:17:51] local.INFO: TCP Data received {"connection_id":119199,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119199,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:17:51] local.INFO: Processing buffer {"connection_id":119199,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:17:51] local.INFO: IMEI packet received {"connection_id":119199,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 18:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":119199,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:17:52] local.INFO: TCP Data received {"connection_id":119199,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119199,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:17:52] local.INFO: Processing buffer {"connection_id":119199,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:17:52] local.INFO: IMEI packet received {"connection_id":119199,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 18:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":119199,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:17:55] local.INFO: TCP Data received {"connection_id":119199,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119199,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:17:55] local.INFO: Processing buffer {"connection_id":119199,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:17:55] local.INFO: IMEI packet received {"connection_id":119199,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 18:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":119199,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:17:55] local.INFO: TCP Data received {"connection_id":119199,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119199,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:17:55] local.INFO: Processing buffer {"connection_id":119199,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:17:55] local.INFO: IMEI packet received {"connection_id":119199,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 18:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":119199,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:17:59] local.INFO: TCP Data received {"connection_id":119298,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f1db499f8012cb29ac007823b600047000a27..."} 
[2026-07-01 18:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1db499f8012cb29ac007823b600047000a27..."} 
[2026-07-01 18:17:59] local.INFO: Processing buffer {"connection_id":119298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1db499f8012cb29ac007823b600047000a27..."} 
[2026-07-01 18:17:59] local.INFO: Packet analysis {"connection_id":119298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1db4"} 
[2026-07-01 18:17:59] local.INFO: Extracted packet for processing {"connection_id":119298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1db4"} 
[2026-07-01 18:17:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424831488001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:17:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830147072,"note":"Value kept but may cause issues"} 
[2026-07-01 18:17:59] 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-01 18:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782909803000,"timestamp_ms":1782909803000,"timestamp_seconds":1782909803,"priority":1,"record_length":96,"hex_timestamp":"0000019f1db499f8"} 
[2026-07-01 18:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:17:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-01 18:17:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:17:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:17:59] 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-01 18:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424831488001,"66":25973,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576722943830147072},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424831488001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:17:59] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:17:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:17:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830147072,"description":"Unknown IO ID 44"} 
[2026-07-01 18:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424831488001,"power":25973,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576722943830147072}} 
[2026-07-01 18:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":119298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:17:59] local.INFO: GPS data processed {"connection_id":119298,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:17:59] local.INFO: Acknowledgment sent {"connection_id":119298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:18:20] local.INFO: TCP Data received {"connection_id":119300,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:18:20] local.INFO: Processing buffer {"connection_id":119300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:18:20] local.INFO: IMEI packet received {"connection_id":119300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 18:18:20] local.INFO: IMEI acknowledgment sent {"connection_id":119300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:18:26] local.INFO: TCP Data received {"connection_id":119300,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:18:26] local.INFO: Processing buffer {"connection_id":119300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:18:26] local.INFO: IMEI packet received {"connection_id":119300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":119300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:18:27] local.INFO: TCP Data received {"connection_id":119300,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f1db499f8012cb29ac007823b600047000a27..."} 
[2026-07-01 18:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1db499f8012cb29ac007823b600047000a27..."} 
[2026-07-01 18:18:27] local.INFO: Processing buffer {"connection_id":119300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1db499f8012cb29ac007823b600047000a27..."} 
[2026-07-01 18:18:27] local.INFO: Packet analysis {"connection_id":119300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1db4"} 
[2026-07-01 18:18:27] local.INFO: Extracted packet for processing {"connection_id":119300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1db4"} 
[2026-07-01 18:18:27] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18: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-01 18:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424831488001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:18:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830147072,"note":"Value kept but may cause issues"} 
[2026-07-01 18:18:27] 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-01 18:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782909803000,"timestamp_ms":1782909803000,"timestamp_seconds":1782909803,"priority":1,"record_length":96,"hex_timestamp":"0000019f1db499f8"} 
[2026-07-01 18: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-01 18:18:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-01 18:18:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18: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-01 18: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-01 18:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:18:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 18:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424831488001,"66":25973,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576722943830147072},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424831488001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:18:27] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:18:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:18:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830147072,"description":"Unknown IO ID 44"} 
[2026-07-01 18:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424831488001,"power":25973,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576722943830147072}} 
[2026-07-01 18:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":119300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:18:27] local.INFO: GPS data processed {"connection_id":119300,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:18:27] local.INFO: Acknowledgment sent {"connection_id":119300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:19:02] local.INFO: TCP Data received {"connection_id":119300,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f1db499f8012cb29ac007823b600047000a27..."} 
[2026-07-01 18:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1db499f8012cb29ac007823b600047000a27..."} 
[2026-07-01 18:19:02] local.INFO: Processing buffer {"connection_id":119300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1db499f8012cb29ac007823b600047000a27..."} 
[2026-07-01 18:19:02] local.INFO: Packet analysis {"connection_id":119300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1db4"} 
[2026-07-01 18:19:02] local.INFO: Extracted packet for processing {"connection_id":119300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1db4"} 
[2026-07-01 18:19:02] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424831488001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:19:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576722943830147072,"note":"Value kept but may cause issues"} 
[2026-07-01 18:19:02] 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-01 18:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782909803000,"timestamp_ms":1782909803000,"timestamp_seconds":1782909803,"priority":1,"record_length":96,"hex_timestamp":"0000019f1db499f8"} 
[2026-07-01 18:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:19:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-07-01 18:19:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:19:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":119300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":119300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":119300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:19:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 18:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424831488001,"66":25973,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576722943830147072},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424831488001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:19:02] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:19:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:19:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:19:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576722943830147072,"description":"Unknown IO ID 44"} 
[2026-07-01 18:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424831488001,"power":25973,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576722943830147072}} 
[2026-07-01 18:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":119300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:19:02] local.INFO: GPS data processed {"connection_id":119300,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:19:02] local.INFO: Acknowledgment sent {"connection_id":119300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:19:25] local.INFO: TCP Data received {"connection_id":119998,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:19:25] local.INFO: Processing buffer {"connection_id":119998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:19:25] local.INFO: IMEI packet received {"connection_id":119998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 18:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":119998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:19:30] local.INFO: TCP Data received {"connection_id":119998,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:19:30] local.INFO: Processing buffer {"connection_id":119998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:19:30] local.INFO: IMEI packet received {"connection_id":119998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":119998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:19:31] local.INFO: TCP Data received {"connection_id":119998,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f1db931c0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1db931c0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:19:31] local.INFO: Processing buffer {"connection_id":119998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1db931c0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:19:31] local.INFO: Packet analysis {"connection_id":119998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1db9"} 
[2026-07-01 18:19:31] local.INFO: Extracted packet for processing {"connection_id":119998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1db9"} 
[2026-07-01 18:19:31] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424909568001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:19:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:19:31] 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-01 18:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782910104000,"timestamp_ms":1782910104000,"timestamp_seconds":1782910104,"priority":1,"record_length":96,"hex_timestamp":"0000019f1db931c0"} 
[2026-07-01 18:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:19:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-01 18:19:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:19:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:19:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 18:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424909568001,"66":25843,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424909568001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:19:31] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:19:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:19:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424909568001,"power":25843,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":119998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:19:31] local.INFO: GPS data processed {"connection_id":119998,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:19:31] local.INFO: Acknowledgment sent {"connection_id":119998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:20:04] local.INFO: TCP Data received {"connection_id":119998,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f1db931c0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1db931c0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:20:04] local.INFO: Processing buffer {"connection_id":119998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1db931c0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:20:04] local.INFO: Packet analysis {"connection_id":119998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1db9"} 
[2026-07-01 18:20:04] local.INFO: Extracted packet for processing {"connection_id":119998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1db9"} 
[2026-07-01 18:20:04] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424909568001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:20:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:20:04] 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-01 18:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782910104000,"timestamp_ms":1782910104000,"timestamp_seconds":1782910104,"priority":1,"record_length":96,"hex_timestamp":"0000019f1db931c0"} 
[2026-07-01 18:20:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:20:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-01 18:20:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:20:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:20:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":119998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":119998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":119998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:20:04] 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-01 18:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424909568001,"66":25843,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424909568001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:20:04] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:20:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:20:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424909568001,"power":25843,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":119998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:20:04] local.INFO: GPS data processed {"connection_id":119998,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:20:04] local.INFO: Acknowledgment sent {"connection_id":119998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:20:20] local.INFO: TCP Data received {"connection_id":121075,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:20:20] local.INFO: Processing buffer {"connection_id":121075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:20:20] local.INFO: IMEI packet received {"connection_id":121075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 18:20:20] local.INFO: IMEI acknowledgment sent {"connection_id":121075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:20:25] local.INFO: TCP Data received {"connection_id":121075,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:20:25] local.INFO: Processing buffer {"connection_id":121075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:20:25] local.INFO: IMEI packet received {"connection_id":121075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:20:25] local.INFO: IMEI acknowledgment sent {"connection_id":121075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:20:26] local.INFO: TCP Data received {"connection_id":121075,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f1db931c0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1db931c0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:20:26] local.INFO: Processing buffer {"connection_id":121075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1db931c0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:20:26] local.INFO: Packet analysis {"connection_id":121075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1db9"} 
[2026-07-01 18:20:26] local.INFO: Extracted packet for processing {"connection_id":121075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1db9"} 
[2026-07-01 18:20:26] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:20:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424909568001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:20:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:20:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:20:26] 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-01 18:20:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782910104000,"timestamp_ms":1782910104000,"timestamp_seconds":1782910104,"priority":1,"record_length":96,"hex_timestamp":"0000019f1db931c0"} 
[2026-07-01 18:20:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:20:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-01 18:20:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:20:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:20:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:20:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:20:26] local.INFO: Teltonika packet parsed successfully {"connection_id":121075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:20:26] local.INFO: Passing IMEI to GPS processor {"connection_id":121075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:20:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":121075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:20:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 18:20:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:20:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:20:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424909568001,"66":25843,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:20:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:20:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:20:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424909568001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:20:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:20:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:20:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:20:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:20:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424909568001,"power":25843,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:20:26] local.INFO: DEBUG: GPS processor result {"connection_id":121075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:20:26] local.INFO: GPS data processed {"connection_id":121075,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:20:26] local.INFO: Acknowledgment sent {"connection_id":121075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:20:30] local.INFO: TCP Data received {"connection_id":119302,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 18:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119302,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 18:20:30] local.INFO: Processing buffer {"connection_id":119302,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 18:20:30] local.INFO: IMEI packet received {"connection_id":119302,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 18:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":119302,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:20:59] local.INFO: TCP Data received {"connection_id":121075,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f1db931c0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1db931c0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:20:59] local.INFO: Processing buffer {"connection_id":121075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1db931c0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:20:59] local.INFO: Packet analysis {"connection_id":121075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1db9"} 
[2026-07-01 18:20:59] local.INFO: Extracted packet for processing {"connection_id":121075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1db9"} 
[2026-07-01 18:20:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424909568001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:20:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:20:59] 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-01 18:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782910104000,"timestamp_ms":1782910104000,"timestamp_seconds":1782910104,"priority":1,"record_length":96,"hex_timestamp":"0000019f1db931c0"} 
[2026-07-01 18:20:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:20:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-01 18:20:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:20:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:20:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":121075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":121075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":121075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:20:59] 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-01 18:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424909568001,"66":25843,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424909568001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:20:59] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:20:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:20:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424909568001,"power":25843,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":121075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:20:59] local.INFO: GPS data processed {"connection_id":121075,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:20:59] local.INFO: Acknowledgment sent {"connection_id":121075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:21:15] local.INFO: TCP Data received {"connection_id":121076,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 18:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121076,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 18:21:15] local.INFO: Processing buffer {"connection_id":121076,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 18:21:15] local.INFO: IMEI packet received {"connection_id":121076,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 18:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":121076,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:21:20] local.INFO: TCP Data received {"connection_id":119304,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:21:20] local.INFO: Processing buffer {"connection_id":119304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:21:20] local.INFO: IMEI packet received {"connection_id":119304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 18:21:20] local.INFO: IMEI acknowledgment sent {"connection_id":119304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:21:25] local.INFO: TCP Data received {"connection_id":119304,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:21:25] local.INFO: Processing buffer {"connection_id":119304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:21:25] local.INFO: IMEI packet received {"connection_id":119304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":119304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:21:29] local.INFO: TCP Data received {"connection_id":119304,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f1db931c0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1db931c0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:21:29] local.INFO: Processing buffer {"connection_id":119304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1db931c0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:21:29] local.INFO: Packet analysis {"connection_id":119304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1db9"} 
[2026-07-01 18:21:29] local.INFO: Extracted packet for processing {"connection_id":119304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1db9"} 
[2026-07-01 18:21:29] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18: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-01 18:21:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424909568001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:21:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:21:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:21:29] 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-01 18:21:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782910104000,"timestamp_ms":1782910104000,"timestamp_seconds":1782910104,"priority":1,"record_length":96,"hex_timestamp":"0000019f1db931c0"} 
[2026-07-01 18: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-01 18:21:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-01 18:21:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18: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-01 18: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-01 18:21:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:21:29] local.INFO: Teltonika packet parsed successfully {"connection_id":119304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:21:29] local.INFO: Passing IMEI to GPS processor {"connection_id":119304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:21:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":119304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:21:29] 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-01 18:21:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:21:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:21:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424909568001,"66":25843,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:21:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:21:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:21:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424909568001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:21:29] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:21:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:21:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:21:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:21:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424909568001,"power":25843,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:21:29] local.INFO: DEBUG: GPS processor result {"connection_id":119304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:21:29] local.INFO: GPS data processed {"connection_id":119304,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:21:29] local.INFO: Acknowledgment sent {"connection_id":119304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:22:01] local.INFO: TCP Data received {"connection_id":119304,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f1db931c0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1db931c0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:22:01] local.INFO: Processing buffer {"connection_id":119304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1db931c0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:22:01] local.INFO: Packet analysis {"connection_id":119304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1db9"} 
[2026-07-01 18:22:01] local.INFO: Extracted packet for processing {"connection_id":119304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1db9"} 
[2026-07-01 18:22:01] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18:22:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:22:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424909568001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:22:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:22:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:22:01] 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-01 18:22:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782910104000,"timestamp_ms":1782910104000,"timestamp_seconds":1782910104,"priority":1,"record_length":96,"hex_timestamp":"0000019f1db931c0"} 
[2026-07-01 18:22:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:22:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:22:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-01 18:22:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:22:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:22:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:22:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:22:01] local.INFO: Teltonika packet parsed successfully {"connection_id":119304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:22:01] local.INFO: Passing IMEI to GPS processor {"connection_id":119304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:22:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":119304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:22:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 18:22:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:22:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:22:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424909568001,"66":25843,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:22:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:22:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:22:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424909568001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:22:01] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:22:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:22:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:22:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:22:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424909568001,"power":25843,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:22:01] local.INFO: DEBUG: GPS processor result {"connection_id":119304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:22:01] local.INFO: GPS data processed {"connection_id":119304,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:22:01] local.INFO: Acknowledgment sent {"connection_id":119304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:22:25] local.INFO: TCP Data received {"connection_id":120000,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:22:25] local.INFO: Processing buffer {"connection_id":120000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:22:25] local.INFO: IMEI packet received {"connection_id":120000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 18:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":120000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:22:30] local.INFO: TCP Data received {"connection_id":120000,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:22:30] local.INFO: Processing buffer {"connection_id":120000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:22:30] local.INFO: IMEI packet received {"connection_id":120000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":120000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:22:31] local.INFO: TCP Data received {"connection_id":120000,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f1db931c0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1db931c0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:22:31] local.INFO: Processing buffer {"connection_id":120000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1db931c0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:22:31] local.INFO: Packet analysis {"connection_id":120000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1db9"} 
[2026-07-01 18:22:31] local.INFO: Extracted packet for processing {"connection_id":120000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1db9"} 
[2026-07-01 18:22:31] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424909568001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:22:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:22:31] 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-01 18:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782910104000,"timestamp_ms":1782910104000,"timestamp_seconds":1782910104,"priority":1,"record_length":96,"hex_timestamp":"0000019f1db931c0"} 
[2026-07-01 18:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:22:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-01 18:22:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:22:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":120000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":120000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":120000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:22:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 18:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424909568001,"66":25843,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424909568001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:22:31] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:22:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:22:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424909568001,"power":25843,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":120000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:22:31] local.INFO: GPS data processed {"connection_id":120000,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:22:31] local.INFO: Acknowledgment sent {"connection_id":120000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:22:35] local.INFO: TCP Data received {"connection_id":120000,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f1db931c0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1db931c0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:22:35] local.INFO: Processing buffer {"connection_id":120000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1db931c0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:22:35] local.INFO: Packet analysis {"connection_id":120000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1db9"} 
[2026-07-01 18:22:35] local.INFO: Extracted packet for processing {"connection_id":120000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1db9"} 
[2026-07-01 18:22:35] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18: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-01 18:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424909568001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:22:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:22:35] 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-01 18:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782910104000,"timestamp_ms":1782910104000,"timestamp_seconds":1782910104,"priority":1,"record_length":96,"hex_timestamp":"0000019f1db931c0"} 
[2026-07-01 18: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-01 18:22:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-01 18:22:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18: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-01 18: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-01 18:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":120000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":120000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":120000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:22:35] 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-01 18:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424909568001,"66":25843,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424909568001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:22:35] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:22:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:22:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424909568001,"power":25843,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":120000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:22:35] local.INFO: GPS data processed {"connection_id":120000,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:22:35] local.INFO: Acknowledgment sent {"connection_id":120000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:22:56] local.INFO: TCP Data received {"connection_id":119305,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119305,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:22:56] local.INFO: Processing buffer {"connection_id":119305,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:22:56] local.INFO: IMEI packet received {"connection_id":119305,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 18:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":119305,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:22:57] local.INFO: TCP Data received {"connection_id":119305,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dbc3f00012d7e360005d34db0000000282a..."} 
[2026-07-01 18:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dbc3f00012d7e360005d34db0000000282a..."} 
[2026-07-01 18:22:57] local.INFO: Processing buffer {"connection_id":119305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dbc3f00012d7e360005d34db0000000282a..."} 
[2026-07-01 18:22:57] local.INFO: Packet analysis {"connection_id":119305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dbc"} 
[2026-07-01 18:22:57] local.INFO: Extracted packet for processing {"connection_id":119305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dbc"} 
[2026-07-01 18:22:57] local.INFO: GPS Element Parsed {"raw_longitude":763246080,"raw_latitude":97734064,"longitude_deg":76.324608,"latitude_deg":9.7734064,"altitude":0,"angle":40,"satellites":42,"speed":0,"hex_longitude":"2d7e3600","hex_latitude":"05d34db0","is_valid_coordinates":true} 
[2026-07-01 18:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425032448001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:22:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101462817047052288,"note":"Value kept but may cause issues"} 
[2026-07-01 18:22:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541215744,"note":"Value kept but may cause issues"} 
[2026-07-01 18:22:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 18:22:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782910304000,"timestamp_ms":1782910304000,"timestamp_seconds":1782910304,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dbc3f00"} 
[2026-07-01 18:22:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:22:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 18:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-01 18:22:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-01 18:22:57] local.WARNING: Large IO value detected {"io_id":119,"raw_value":3841982464,"note":"Value kept but may cause issues"} 
[2026-07-01 18:22:57] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":57345,"corrected_to":0} 
[2026-07-01 18:22:57] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-07-01 18:22:57] local.WARNING: Large IO value detected {"io_id":29,"raw_value":3131365377,"note":"Value kept but may cause issues"} 
[2026-07-01 18:22:57] local.WARNING: Large IO value detected {"io_id":211,"raw_value":5597974336824158208,"note":"Value kept but may cause issues"} 
[2026-07-01 18:22:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3192979662,"corrected_to":0} 
[2026-07-01 18:22:57] local.WARNING: Large IO value detected {"io_id":82,"raw_value":3489738110,"note":"Value kept but may cause issues"} 
[2026-07-01 18:22:57] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2885733822,"note":"Value kept but may cause issues"} 
[2026-07-01 18:22:57] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3545083904,"note":"Value kept but may cause issues"} 
[2026-07-01 18:22:57] local.WARNING: Large IO value detected {"io_id":46,"raw_value":57787500785980731,"note":"Value kept but may cause issues"} 
[2026-07-01 18:22:57] local.WARNING: Large IO value detected {"io_id":185,"raw_value":-5854678220678987771,"note":"Value kept but may cause issues"} 
[2026-07-01 18:22:57] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,81,85,24,241,157,16,119,159,154,45,77,40,10,66,72,41,246,1,240,166,227,29,211,4,113,205,82,54,176,42,239,50,2,104,5,46,185],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":246,"original":57345,"validated":0},{"io_id":205,"original":3192979662,"validated":0}]} 
[2026-07-01 18:22:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":44160853737472,"timestamp_seconds":44160853737.472,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 18:22:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:22:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:22:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:22:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 18:22:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 18:22:57] 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-01 18:22:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 18:22:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 18:22:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425032448001,"66":13319,"81":206,"85":15104,"24":0,"16":101462817047052288,"45":9094456522541215744},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 18:22:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 18:22:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 18:22:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425032448001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:22:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 18:22:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 18:22:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101462817047052288,"km_value":101462817047052.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:22:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541215744,"description":"Unknown IO ID 45"} 
[2026-07-01 18:22:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425032448001,"power":13319,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541215744}} 
[2026-07-01 18:22:57] local.INFO: DEBUG: GPS processor result {"connection_id":119305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418185,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:22:57] local.INFO: GPS data processed {"connection_id":119305,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:22:57] local.INFO: Acknowledgment sent {"connection_id":119305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:23:20] local.INFO: TCP Data received {"connection_id":121080,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:23:20] local.INFO: Processing buffer {"connection_id":121080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:23:20] local.INFO: IMEI packet received {"connection_id":121080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 18:23:20] local.INFO: IMEI acknowledgment sent {"connection_id":121080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:23:25] local.INFO: TCP Data received {"connection_id":121080,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:23:25] local.INFO: Processing buffer {"connection_id":121080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:23:25] local.INFO: IMEI packet received {"connection_id":121080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":121080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:23:26] local.INFO: TCP Data received {"connection_id":121080,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f1db931c0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1db931c0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:23:26] local.INFO: Processing buffer {"connection_id":121080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1db931c0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:23:26] local.INFO: Packet analysis {"connection_id":121080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1db9"} 
[2026-07-01 18:23:26] local.INFO: Extracted packet for processing {"connection_id":121080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1db9"} 
[2026-07-01 18:23:26] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18:23:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:23:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424909568001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:23:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:23:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:23:26] 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-01 18:23:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782910104000,"timestamp_ms":1782910104000,"timestamp_seconds":1782910104,"priority":1,"record_length":96,"hex_timestamp":"0000019f1db931c0"} 
[2026-07-01 18:23:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:23:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:23:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-01 18:23:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:23:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:23:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:23:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:23:26] local.INFO: Teltonika packet parsed successfully {"connection_id":121080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:23:26] local.INFO: Passing IMEI to GPS processor {"connection_id":121080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:23:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":121080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:23:26] 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-01 18:23:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:23:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:23:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424909568001,"66":25843,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:23:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:23:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:23:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424909568001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:23:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:23:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:23:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:23:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:23:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424909568001,"power":25843,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:23:26] local.INFO: DEBUG: GPS processor result {"connection_id":121080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:23:26] local.INFO: GPS data processed {"connection_id":121080,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:23:26] local.INFO: Acknowledgment sent {"connection_id":121080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:23:28] local.INFO: TCP Data received {"connection_id":119305,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dbc9108012d7e360005d34db0000000282a..."} 
[2026-07-01 18:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dbc9108012d7e360005d34db0000000282a..."} 
[2026-07-01 18:23:28] local.INFO: Processing buffer {"connection_id":119305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dbc9108012d7e360005d34db0000000282a..."} 
[2026-07-01 18:23:28] local.INFO: Packet analysis {"connection_id":119305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dbc"} 
[2026-07-01 18:23:28] local.INFO: Extracted packet for processing {"connection_id":119305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dbc"} 
[2026-07-01 18:23:28] local.INFO: GPS Element Parsed {"raw_longitude":763246080,"raw_latitude":97734064,"longitude_deg":76.324608,"latitude_deg":9.7734064,"altitude":0,"angle":40,"satellites":42,"speed":0,"hex_longitude":"2d7e3600","hex_latitude":"05d34db0","is_valid_coordinates":true} 
[2026-07-01 18:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:23:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425037824001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:23:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101462817047052288,"note":"Value kept but may cause issues"} 
[2026-07-01 18:23:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541215744,"note":"Value kept but may cause issues"} 
[2026-07-01 18:23:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 18:23:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782910325000,"timestamp_ms":1782910325000,"timestamp_seconds":1782910325,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dbc9108"} 
[2026-07-01 18:23:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:23:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 18:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-07-01 18:23:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-07-01 18:23:28] local.WARNING: Large IO value detected {"io_id":119,"raw_value":3841982464,"note":"Value kept but may cause issues"} 
[2026-07-01 18:23:28] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-07-01 18:23:28] local.WARNING: Large IO value detected {"io_id":29,"raw_value":3136741377,"note":"Value kept but may cause issues"} 
[2026-07-01 18:23:28] local.WARNING: Large IO value detected {"io_id":211,"raw_value":5597974336824158464,"note":"Value kept but may cause issues"} 
[2026-07-01 18:23:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3192979662,"corrected_to":0} 
[2026-07-01 18:23:28] local.WARNING: Large IO value detected {"io_id":164,"raw_value":3623955838,"note":"Value kept but may cause issues"} 
[2026-07-01 18:23:28] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3545083904,"note":"Value kept but may cause issues"} 
[2026-07-01 18:23:28] local.WARNING: Large IO value detected {"io_id":172,"raw_value":57911625340835131,"note":"Value kept but may cause issues"} 
[2026-07-01 18:23:28] local.WARNING: Large IO value detected {"io_id":186,"raw_value":56296290244755461,"note":"Value kept but may cause issues"} 
[2026-07-01 18:23:28] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,81,85,24,241,157,16,119,159,236,45,77,42,10,66,154,40,72,1,240,144,227,29,211,4,113,205,164,54,176,239,50,2,104,5,172,186],"length":527,"final_offset":657,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3192979662,"validated":0}]} 
[2026-07-01 18:23:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":44160853737472,"timestamp_seconds":44160853737.472,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-07-01 18:23:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:23:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:23:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:23:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 18:23:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 18:23:28] 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-01 18:23:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 18:23:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 18:23:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425037824001,"66":13341,"81":206,"85":15104,"24":0,"16":101462817047052288,"45":9094456522541215744},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 18:23:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 18:23:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 18:23:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425037824001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:23:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 18:23:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 18:23:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101462817047052288,"km_value":101462817047052.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:23:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541215744,"description":"Unknown IO ID 45"} 
[2026-07-01 18:23:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425037824001,"power":13341,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541215744}} 
[2026-07-01 18:23:28] local.INFO: DEBUG: GPS processor result {"connection_id":119305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418187,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:23:28] local.INFO: GPS data processed {"connection_id":119305,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:23:28] local.INFO: Acknowledgment sent {"connection_id":119305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:23:32] local.INFO: TCP Data received {"connection_id":121080,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f1db931c0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1db931c0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:23:32] local.INFO: Processing buffer {"connection_id":121080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1db931c0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:23:32] local.INFO: Packet analysis {"connection_id":121080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1db9"} 
[2026-07-01 18:23:32] local.INFO: Extracted packet for processing {"connection_id":121080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1db9"} 
[2026-07-01 18:23:32] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424909568001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:23:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:23:32] 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-01 18:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782910104000,"timestamp_ms":1782910104000,"timestamp_seconds":1782910104,"priority":1,"record_length":96,"hex_timestamp":"0000019f1db931c0"} 
[2026-07-01 18:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:23:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-01 18:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:23:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":121080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":121080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":121080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 18:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424909568001,"66":25843,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424909568001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:23:32] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:23:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:23:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424909568001,"power":25843,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":121080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:23:32] local.INFO: GPS data processed {"connection_id":121080,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:23:32] local.INFO: Acknowledgment sent {"connection_id":121080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:23:51] local.INFO: TCP Data received {"connection_id":120001,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120001,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:23:51] local.INFO: Processing buffer {"connection_id":120001,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:23:51] local.INFO: IMEI packet received {"connection_id":120001,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 18:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":120001,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:23:57] local.INFO: TCP Data received {"connection_id":120001,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120001,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:23:57] local.INFO: Processing buffer {"connection_id":120001,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:23:57] local.INFO: IMEI packet received {"connection_id":120001,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 18:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":120001,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:23:58] local.INFO: TCP Data received {"connection_id":120001,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dbce310012d7e360005d34db00000002829..."} 
[2026-07-01 18:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dbce310012d7e360005d34db00000002829..."} 
[2026-07-01 18:23:58] local.INFO: Processing buffer {"connection_id":120001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dbce310012d7e360005d34db00000002829..."} 
[2026-07-01 18:23:58] local.INFO: Packet analysis {"connection_id":120001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dbc"} 
[2026-07-01 18:23:58] local.INFO: Extracted packet for processing {"connection_id":120001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dbc"} 
[2026-07-01 18:23:58] local.INFO: GPS Element Parsed {"raw_longitude":763246080,"raw_latitude":97734064,"longitude_deg":76.324608,"latitude_deg":9.7734064,"altitude":0,"angle":40,"satellites":41,"speed":0,"hex_longitude":"2d7e3600","hex_latitude":"05d34db0","is_valid_coordinates":true} 
[2026-07-01 18: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-01 18:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425043200001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:23:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101462817047052288,"note":"Value kept but may cause issues"} 
[2026-07-01 18:23:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541215744,"note":"Value kept but may cause issues"} 
[2026-07-01 18:23:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 18:23:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782910346000,"timestamp_ms":1782910346000,"timestamp_seconds":1782910346,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dbce310"} 
[2026-07-01 18: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-01 18:23: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-01 18: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-07-01 18:23:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18: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-01 18: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-01 18:23:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:23:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:23:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 18:23:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 18:23: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-01 18:23:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 18:23:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 18:23:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425043200001,"66":13189,"81":206,"85":15104,"24":0,"16":101462817047052288,"45":9094456522541215744},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 18:23:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 18:23:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 18:23:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425043200001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:23:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 18:23:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 18:23:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101462817047052288,"km_value":101462817047052.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:23:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541215744,"description":"Unknown IO ID 45"} 
[2026-07-01 18:23:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425043200001,"power":13189,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541215744}} 
[2026-07-01 18:23:58] local.INFO: DEBUG: GPS processor result {"connection_id":120001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418189,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:23:58] local.INFO: GPS data processed {"connection_id":120001,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:23:58] local.INFO: Acknowledgment sent {"connection_id":120001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:24:06] local.INFO: TCP Data received {"connection_id":121080,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f1db931c0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1db931c0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:24:06] local.INFO: Processing buffer {"connection_id":121080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1db931c0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:24:06] local.INFO: Packet analysis {"connection_id":121080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1db9"} 
[2026-07-01 18:24:06] local.INFO: Extracted packet for processing {"connection_id":121080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1db9"} 
[2026-07-01 18:24:06] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424909568001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:24:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:24:06] 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-01 18:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782910104000,"timestamp_ms":1782910104000,"timestamp_seconds":1782910104,"priority":1,"record_length":96,"hex_timestamp":"0000019f1db931c0"} 
[2026-07-01 18:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-07-01 18:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":121080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":121080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":121080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:24:06] 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-01 18:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424909568001,"66":25843,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424909568001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:24:06] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:24:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:24:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424909568001,"power":25843,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":121080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:24:06] local.INFO: GPS data processed {"connection_id":121080,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:24:06] local.INFO: Acknowledgment sent {"connection_id":121080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:24:25] local.INFO: TCP Data received {"connection_id":119306,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:24:25] local.INFO: Processing buffer {"connection_id":119306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:24:25] local.INFO: IMEI packet received {"connection_id":119306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 18:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":119306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:24:30] local.INFO: TCP Data received {"connection_id":120001,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dbd3518012d7e360005d34db00000002829..."} 
[2026-07-01 18:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dbd3518012d7e360005d34db00000002829..."} 
[2026-07-01 18:24:30] local.INFO: Processing buffer {"connection_id":120001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dbd3518012d7e360005d34db00000002829..."} 
[2026-07-01 18:24:30] local.INFO: Packet analysis {"connection_id":120001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dbd"} 
[2026-07-01 18:24:30] local.INFO: Extracted packet for processing {"connection_id":120001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dbd"} 
[2026-07-01 18:24:30] local.INFO: GPS Element Parsed {"raw_longitude":763246080,"raw_latitude":97734064,"longitude_deg":76.324608,"latitude_deg":9.7734064,"altitude":0,"angle":40,"satellites":41,"speed":0,"hex_longitude":"2d7e3600","hex_latitude":"05d34db0","is_valid_coordinates":true} 
[2026-07-01 18:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425048576001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101462817047052288,"note":"Value kept but may cause issues"} 
[2026-07-01 18:24:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541215744,"note":"Value kept but may cause issues"} 
[2026-07-01 18:24:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 18:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782910367000,"timestamp_ms":1782910367000,"timestamp_seconds":1782910367,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dbd3518"} 
[2026-07-01 18:24:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:24:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 18:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-07-01 18:24:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:24:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:24:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":120001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":120001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 18:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":120001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 18:24:30] 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-01 18:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 18:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 18:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425048576001,"66":13276,"81":206,"85":15104,"24":0,"16":101462817047052288,"45":9094456522541215744},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 18:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 18:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 18:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425048576001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:24:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 18:24:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 18:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101462817047052288,"km_value":101462817047052.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:24:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541215744,"description":"Unknown IO ID 45"} 
[2026-07-01 18:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425048576001,"power":13276,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541215744}} 
[2026-07-01 18:24:30] local.INFO: DEBUG: GPS processor result {"connection_id":120001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418191,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:24:30] local.INFO: GPS data processed {"connection_id":120001,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:24:30] local.INFO: Acknowledgment sent {"connection_id":120001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:24:30] local.INFO: TCP Data received {"connection_id":119306,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:24:30] local.INFO: Processing buffer {"connection_id":119306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:24:30] local.INFO: IMEI packet received {"connection_id":119306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":119306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:24:31] local.INFO: TCP Data received {"connection_id":119306,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dbdc988012cb29ac007823b600047000a25..."} 
[2026-07-01 18:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dbdc988012cb29ac007823b600047000a25..."} 
[2026-07-01 18:24:31] local.INFO: Processing buffer {"connection_id":119306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dbdc988012cb29ac007823b600047000a25..."} 
[2026-07-01 18:24:31] local.INFO: Packet analysis {"connection_id":119306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dbd"} 
[2026-07-01 18:24:31] local.INFO: Extracted packet for processing {"connection_id":119306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dbd"} 
[2026-07-01 18:24:31] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18: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-01 18:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424986624001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:24:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:24:31] 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-01 18:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782910405000,"timestamp_ms":1782910405000,"timestamp_seconds":1782910405,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dbdc988"} 
[2026-07-01 18: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-01 18:24:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-01 18:24:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18: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-01 18: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-01 18:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:24:31] 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-01 18:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424986624001,"66":25702,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424986624001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:24:31] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:24:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:24:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424986624001,"power":25702,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":119306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:24:31] local.INFO: GPS data processed {"connection_id":119306,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:24:31] local.INFO: Acknowledgment sent {"connection_id":119306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:24:57] local.INFO: TCP Data received {"connection_id":119201,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119201,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:24:57] local.INFO: Processing buffer {"connection_id":119201,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:24:57] local.INFO: IMEI packet received {"connection_id":119201,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 18:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":119201,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:25:02] local.INFO: TCP Data received {"connection_id":119201,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119201,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:25:02] local.INFO: Processing buffer {"connection_id":119201,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:25:02] local.INFO: IMEI packet received {"connection_id":119201,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 18:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":119201,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:25:03] local.INFO: TCP Data received {"connection_id":119201,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dbd5070012d7e360005d34db00000002829..."} 
[2026-07-01 18:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dbd5070012d7e360005d34db00000002829..."} 
[2026-07-01 18:25:03] local.INFO: Processing buffer {"connection_id":119201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dbd5070012d7e360005d34db00000002829..."} 
[2026-07-01 18:25:03] local.INFO: Packet analysis {"connection_id":119201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dbd"} 
[2026-07-01 18:25:03] local.INFO: Extracted packet for processing {"connection_id":119201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dbd"} 
[2026-07-01 18:25:03] local.INFO: GPS Element Parsed {"raw_longitude":763246080,"raw_latitude":97734064,"longitude_deg":76.324608,"latitude_deg":9.7734064,"altitude":0,"angle":40,"satellites":41,"speed":0,"hex_longitude":"2d7e3600","hex_latitude":"05d34db0","is_valid_coordinates":true} 
[2026-07-01 18:25: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-01 18:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425053952001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101462817047052288,"note":"Value kept but may cause issues"} 
[2026-07-01 18:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541215744,"note":"Value kept but may cause issues"} 
[2026-07-01 18:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 18:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782910374000,"timestamp_ms":1782910374000,"timestamp_seconds":1782910374,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dbd5070"} 
[2026-07-01 18: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-01 18:25:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 18:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-07-01 18:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18: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-01 18: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-01 18:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":119201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":119201,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 18:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":119201,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 18:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 18:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 18:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 18:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425053952001,"66":12972,"81":206,"85":15104,"24":0,"16":101462817047052288,"45":9094456522541215744},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 18:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 18:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 18:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425053952001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:25:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 18:25:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 18:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101462817047052288,"km_value":101462817047052.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541215744,"description":"Unknown IO ID 45"} 
[2026-07-01 18:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425053952001,"power":12972,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541215744}} 
[2026-07-01 18:25:03] local.INFO: TCP Data received {"connection_id":119306,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dbdc988012cb29ac007823b600047000a25..."} 
[2026-07-01 18:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dbdc988012cb29ac007823b600047000a25..."} 
[2026-07-01 18:25:03] local.INFO: Processing buffer {"connection_id":119306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dbdc988012cb29ac007823b600047000a25..."} 
[2026-07-01 18:25:03] local.INFO: Packet analysis {"connection_id":119306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dbd"} 
[2026-07-01 18:25:03] local.INFO: Extracted packet for processing {"connection_id":119306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dbd"} 
[2026-07-01 18:25:03] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18: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-01 18:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424986624001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:25:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:25:03] 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-01 18:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782910405000,"timestamp_ms":1782910405000,"timestamp_seconds":1782910405,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dbdc988"} 
[2026-07-01 18: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-01 18:25:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-01 18:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18: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-01 18: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-01 18:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":119306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":119306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":119306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:25:03] 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-01 18:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424986624001,"66":25702,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424986624001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:25:03] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:25:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:25:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424986624001,"power":25702,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":119306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:25:03] local.INFO: GPS data processed {"connection_id":119306,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:25:03] local.INFO: Acknowledgment sent {"connection_id":119306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":119201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418194,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:25:03] local.INFO: GPS data processed {"connection_id":119201,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:25:03] local.INFO: Acknowledgment sent {"connection_id":119201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:25:08] local.INFO: TCP Data received {"connection_id":119201,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dbd5070012d7e360005d34db00000002829..."} 
[2026-07-01 18:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dbd5070012d7e360005d34db00000002829..."} 
[2026-07-01 18:25:08] local.INFO: Processing buffer {"connection_id":119201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dbd5070012d7e360005d34db00000002829..."} 
[2026-07-01 18:25:08] local.INFO: Packet analysis {"connection_id":119201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dbd"} 
[2026-07-01 18:25:08] local.INFO: Extracted packet for processing {"connection_id":119201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dbd"} 
[2026-07-01 18:25:08] local.INFO: GPS Element Parsed {"raw_longitude":763246080,"raw_latitude":97734064,"longitude_deg":76.324608,"latitude_deg":9.7734064,"altitude":0,"angle":40,"satellites":41,"speed":0,"hex_longitude":"2d7e3600","hex_latitude":"05d34db0","is_valid_coordinates":true} 
[2026-07-01 18:25: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-01 18:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425055744001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101462817047052288,"note":"Value kept but may cause issues"} 
[2026-07-01 18:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541215744,"note":"Value kept but may cause issues"} 
[2026-07-01 18:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 18:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782910374000,"timestamp_ms":1782910374000,"timestamp_seconds":1782910374,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dbd5070"} 
[2026-07-01 18:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-01 18:25:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:25:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":119201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":119201,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 18:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":119201,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 18:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 18:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 18:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 18:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425055744001,"66":12972,"81":206,"85":15104,"24":0,"16":101462817047052288,"45":9094456522541215744},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 18:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 18:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 18:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425055744001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:25:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 18:25:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 18:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101462817047052288,"km_value":101462817047052.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541215744,"description":"Unknown IO ID 45"} 
[2026-07-01 18:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425055744001,"power":12972,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541215744}} 
[2026-07-01 18:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":119201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418195,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:25:08] local.INFO: GPS data processed {"connection_id":119201,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:25:08] local.INFO: Acknowledgment sent {"connection_id":119201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:25:25] local.INFO: TCP Data received {"connection_id":121081,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:25:25] local.INFO: Processing buffer {"connection_id":121081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:25:25] local.INFO: IMEI packet received {"connection_id":121081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 18:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":121081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:25:33] local.INFO: TCP Data received {"connection_id":121081,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:25:33] local.INFO: Processing buffer {"connection_id":121081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:25:33] local.INFO: IMEI packet received {"connection_id":121081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":121081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:25:34] local.INFO: TCP Data received {"connection_id":121081,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dbdc988012cb29ac007823b600047000a25..."} 
[2026-07-01 18:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dbdc988012cb29ac007823b600047000a25..."} 
[2026-07-01 18:25:34] local.INFO: Processing buffer {"connection_id":121081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dbdc988012cb29ac007823b600047000a25..."} 
[2026-07-01 18:25:34] local.INFO: Packet analysis {"connection_id":121081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dbd"} 
[2026-07-01 18:25:34] local.INFO: Extracted packet for processing {"connection_id":121081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dbd"} 
[2026-07-01 18:25:34] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18: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-01 18:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424986624001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:25:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:25:34] 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-01 18:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782910405000,"timestamp_ms":1782910405000,"timestamp_seconds":1782910405,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dbdc988"} 
[2026-07-01 18: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-01 18:25:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-01 18:25:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18: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-01 18: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-01 18:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":121081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":121081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":121081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:25:34] 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-01 18:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424986624001,"66":25702,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424986624001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:25:34] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:25:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:25:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424986624001,"power":25702,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":121081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:25:34] local.INFO: GPS data processed {"connection_id":121081,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:25:34] local.INFO: Acknowledgment sent {"connection_id":121081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:25:36] local.INFO: TCP Data received {"connection_id":121081,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dbdc988012cb29ac007823b600047000a25..."} 
[2026-07-01 18:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dbdc988012cb29ac007823b600047000a25..."} 
[2026-07-01 18:25:36] local.INFO: Processing buffer {"connection_id":121081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dbdc988012cb29ac007823b600047000a25..."} 
[2026-07-01 18:25:36] local.INFO: Packet analysis {"connection_id":121081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dbd"} 
[2026-07-01 18:25:36] local.INFO: Extracted packet for processing {"connection_id":121081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dbd"} 
[2026-07-01 18:25:36] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424986624001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:25:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:25:36] 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-01 18:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782910405000,"timestamp_ms":1782910405000,"timestamp_seconds":1782910405,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dbdc988"} 
[2026-07-01 18:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-01 18:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":121081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":121081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":121081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:25:36] 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-01 18:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424986624001,"66":25702,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424986624001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:25:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:25:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:25:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424986624001,"power":25702,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":121081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:25:36] local.INFO: GPS data processed {"connection_id":121081,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:25:36] local.INFO: Acknowledgment sent {"connection_id":121081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:25:52] local.INFO: TCP Data received {"connection_id":119307,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119307,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:25:52] local.INFO: Processing buffer {"connection_id":119307,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:25:52] local.INFO: IMEI packet received {"connection_id":119307,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 18:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":119307,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:25:57] local.INFO: TCP Data received {"connection_id":119307,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119307,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:25:57] local.INFO: Processing buffer {"connection_id":119307,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:25:57] local.INFO: IMEI packet received {"connection_id":119307,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 18:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":119307,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:25:58] local.INFO: TCP Data received {"connection_id":119307,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dbd5070012d7e360005d34db00000002829..."} 
[2026-07-01 18:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dbd5070012d7e360005d34db00000002829..."} 
[2026-07-01 18:25:58] local.INFO: Processing buffer {"connection_id":119307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dbd5070012d7e360005d34db00000002829..."} 
[2026-07-01 18:25:58] local.INFO: Packet analysis {"connection_id":119307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dbd"} 
[2026-07-01 18:25:58] local.INFO: Extracted packet for processing {"connection_id":119307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dbd"} 
[2026-07-01 18:25:58] local.INFO: GPS Element Parsed {"raw_longitude":763246080,"raw_latitude":97734064,"longitude_deg":76.324608,"latitude_deg":9.7734064,"altitude":0,"angle":40,"satellites":41,"speed":0,"hex_longitude":"2d7e3600","hex_latitude":"05d34db0","is_valid_coordinates":true} 
[2026-07-01 18:25: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-01 18:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425055744001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101462817047052288,"note":"Value kept but may cause issues"} 
[2026-07-01 18:25:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541215744,"note":"Value kept but may cause issues"} 
[2026-07-01 18:25:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 18:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782910374000,"timestamp_ms":1782910374000,"timestamp_seconds":1782910374,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dbd5070"} 
[2026-07-01 18: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-01 18:25:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-01 18:25: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-01 18: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-01 18: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-01 18:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119307,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 18:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119307,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 18:25:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 18:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 18:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 18:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425055744001,"66":12972,"81":206,"85":15104,"24":0,"16":101462817047052288,"45":9094456522541215744},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 18:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 18:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 18:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425055744001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:25:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 18:25:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 18:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101462817047052288,"km_value":101462817047052.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:25:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541215744,"description":"Unknown IO ID 45"} 
[2026-07-01 18:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425055744001,"power":12972,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541215744}} 
[2026-07-01 18:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":119307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418198,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:25:58] local.INFO: GPS data processed {"connection_id":119307,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:25:58] local.INFO: Acknowledgment sent {"connection_id":119307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:26:20] local.INFO: TCP Data received {"connection_id":119308,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 18:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119308,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 18:26:20] local.INFO: Processing buffer {"connection_id":119308,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 18:26:20] local.INFO: IMEI packet received {"connection_id":119308,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 18:26:20] local.INFO: IMEI acknowledgment sent {"connection_id":119308,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:26:25] local.INFO: TCP Data received {"connection_id":120003,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:26:25] local.INFO: Processing buffer {"connection_id":120003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:26:25] local.INFO: IMEI packet received {"connection_id":120003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 18:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":120003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:26:29] local.INFO: TCP Data received {"connection_id":119307,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dbd5070012d7e360005d34db00000002829..."} 
[2026-07-01 18:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dbd5070012d7e360005d34db00000002829..."} 
[2026-07-01 18:26:29] local.INFO: Processing buffer {"connection_id":119307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dbd5070012d7e360005d34db00000002829..."} 
[2026-07-01 18:26:29] local.INFO: Packet analysis {"connection_id":119307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dbd"} 
[2026-07-01 18:26:29] local.INFO: Extracted packet for processing {"connection_id":119307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dbd"} 
[2026-07-01 18:26:29] local.INFO: GPS Element Parsed {"raw_longitude":763246080,"raw_latitude":97734064,"longitude_deg":76.324608,"latitude_deg":9.7734064,"altitude":0,"angle":40,"satellites":41,"speed":0,"hex_longitude":"2d7e3600","hex_latitude":"05d34db0","is_valid_coordinates":true} 
[2026-07-01 18:26:29] 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-01 18:26:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425055744001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:26:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101462817047052288,"note":"Value kept but may cause issues"} 
[2026-07-01 18:26:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541215744,"note":"Value kept but may cause issues"} 
[2026-07-01 18:26:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 18:26:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782910374000,"timestamp_ms":1782910374000,"timestamp_seconds":1782910374,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dbd5070"} 
[2026-07-01 18: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-01 18:26:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18: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":172,"data_length":795,"current_offset":136} 
[2026-07-01 18:26:29] 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-01 18: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-01 18: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-01 18:26:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:26:29] local.INFO: Teltonika packet parsed successfully {"connection_id":119307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:26:29] local.INFO: Passing IMEI to GPS processor {"connection_id":119307,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 18:26:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":119307,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 18:26:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 18:26:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 18:26:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 18:26:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425055744001,"66":12972,"81":206,"85":15104,"24":0,"16":101462817047052288,"45":9094456522541215744},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 18:26:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 18:26:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 18:26:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425055744001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:26:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 18:26:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 18:26:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101462817047052288,"km_value":101462817047052.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:26:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541215744,"description":"Unknown IO ID 45"} 
[2026-07-01 18:26:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425055744001,"power":12972,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541215744}} 
[2026-07-01 18:26:29] local.INFO: DEBUG: GPS processor result {"connection_id":119307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418199,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:26:29] local.INFO: GPS data processed {"connection_id":119307,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:26:29] local.INFO: Acknowledgment sent {"connection_id":119307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:26:30] local.INFO: TCP Data received {"connection_id":120003,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:26:30] local.INFO: Processing buffer {"connection_id":120003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:26:30] local.INFO: IMEI packet received {"connection_id":120003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":120003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:26:30] local.INFO: TCP Data received {"connection_id":120003,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dbdc988012cb29ac007823b600047000a25..."} 
[2026-07-01 18:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dbdc988012cb29ac007823b600047000a25..."} 
[2026-07-01 18:26:30] local.INFO: Processing buffer {"connection_id":120003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dbdc988012cb29ac007823b600047000a25..."} 
[2026-07-01 18:26:30] local.INFO: Packet analysis {"connection_id":120003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dbd"} 
[2026-07-01 18:26:30] local.INFO: Extracted packet for processing {"connection_id":120003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dbd"} 
[2026-07-01 18:26:30] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424986624001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:26:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:26:30] 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-01 18:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782910405000,"timestamp_ms":1782910405000,"timestamp_seconds":1782910405,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dbdc988"} 
[2026-07-01 18:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:26:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-01 18:26:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:26:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":120003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":120003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":120003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:26:30] 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-01 18:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424986624001,"66":25702,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424986624001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:26:30] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:26:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:26:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424986624001,"power":25702,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":120003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:26:30] local.INFO: GPS data processed {"connection_id":120003,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:26:30] local.INFO: Acknowledgment sent {"connection_id":120003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:26:35] local.INFO: TCP Data received {"connection_id":120003,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dbdc988012cb29ac007823b600047000a25..."} 
[2026-07-01 18:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dbdc988012cb29ac007823b600047000a25..."} 
[2026-07-01 18:26:35] local.INFO: Processing buffer {"connection_id":120003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dbdc988012cb29ac007823b600047000a25..."} 
[2026-07-01 18:26:35] local.INFO: Packet analysis {"connection_id":120003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dbd"} 
[2026-07-01 18:26:35] local.INFO: Extracted packet for processing {"connection_id":120003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dbd"} 
[2026-07-01 18:26:35] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18: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-01 18:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424986624001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:26:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:26:35] 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-01 18:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782910405000,"timestamp_ms":1782910405000,"timestamp_seconds":1782910405,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dbdc988"} 
[2026-07-01 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-01 18:26:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-01 18:26:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 18:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":120003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":120003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":120003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:26:35] 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-01 18:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424986624001,"66":25702,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424986624001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:26:35] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:26:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:26:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424986624001,"power":25702,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":120003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:26:35] local.INFO: GPS data processed {"connection_id":120003,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:26:35] local.INFO: Acknowledgment sent {"connection_id":120003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:26:45] local.INFO: TCP Data received {"connection_id":119309,"ip":"5.61.209.224","data_length":211,"data_hex":"474554202f2e2e2532462e2e2532462e2e2532462e2e2532462e2e2532462e2e..."} 
[2026-07-01 18:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119309,"packet_length":211,"packet_hex":"474554202f2e2e2532462e2e2532462e2e2532462e2e2532462e2e2532462e2e..."} 
[2026-07-01 18:26:45] local.INFO: Processing buffer {"connection_id":119309,"buffer_length":211,"buffer_hex":"474554202f2e2e2532462e2e2532462e2e2532462e2e2532462e2e2532462e2e..."} 
[2026-07-01 18:26:45] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":119309,"buffer_length":211,"first_bytes_hex":"474554202f2e2e2532462e2e2532462e"} 
[2026-07-01 18:26:51] local.INFO: TCP Data received {"connection_id":121082,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121082,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:26:51] local.INFO: Processing buffer {"connection_id":121082,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:26:51] local.INFO: IMEI packet received {"connection_id":121082,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 18:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":121082,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:26:57] local.INFO: TCP Data received {"connection_id":121082,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121082,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:26:57] local.INFO: Processing buffer {"connection_id":121082,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:26:57] local.INFO: IMEI packet received {"connection_id":121082,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 18:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":121082,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:26:58] local.INFO: TCP Data received {"connection_id":121082,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dbd5070012d7e360005d34db00000002829..."} 
[2026-07-01 18:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dbd5070012d7e360005d34db00000002829..."} 
[2026-07-01 18:26:58] local.INFO: Processing buffer {"connection_id":121082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dbd5070012d7e360005d34db00000002829..."} 
[2026-07-01 18:26:58] local.INFO: Packet analysis {"connection_id":121082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dbd"} 
[2026-07-01 18:26:58] local.INFO: Extracted packet for processing {"connection_id":121082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dbd"} 
[2026-07-01 18:26:58] local.INFO: GPS Element Parsed {"raw_longitude":763246080,"raw_latitude":97734064,"longitude_deg":76.324608,"latitude_deg":9.7734064,"altitude":0,"angle":40,"satellites":41,"speed":0,"hex_longitude":"2d7e3600","hex_latitude":"05d34db0","is_valid_coordinates":true} 
[2026-07-01 18:26: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-01 18:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425055744001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101462817047052288,"note":"Value kept but may cause issues"} 
[2026-07-01 18:26:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541215744,"note":"Value kept but may cause issues"} 
[2026-07-01 18:26:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 18:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782910374000,"timestamp_ms":1782910374000,"timestamp_seconds":1782910374,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dbd5070"} 
[2026-07-01 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-01 18:26:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-01 18:26: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-01 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-01 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-01 18:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":121082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":121082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 18:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":121082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 18:26:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 18:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 18:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 18:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425055744001,"66":12972,"81":206,"85":15104,"24":0,"16":101462817047052288,"45":9094456522541215744},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 18:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 18:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 18:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425055744001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:26:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 18:26:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 18:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101462817047052288,"km_value":101462817047052.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:26:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541215744,"description":"Unknown IO ID 45"} 
[2026-07-01 18:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425055744001,"power":12972,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541215744}} 
[2026-07-01 18:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":121082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418202,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:26:58] local.INFO: GPS data processed {"connection_id":121082,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:26:58] local.INFO: Acknowledgment sent {"connection_id":121082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:27:20] local.INFO: TCP Data received {"connection_id":119204,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:27:20] local.INFO: Processing buffer {"connection_id":119204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:27:20] local.INFO: IMEI packet received {"connection_id":119204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 18:27:20] local.INFO: IMEI acknowledgment sent {"connection_id":119204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:27:25] local.INFO: TCP Data received {"connection_id":119204,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:27:25] local.INFO: Processing buffer {"connection_id":119204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:27:25] local.INFO: IMEI packet received {"connection_id":119204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":119204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:27:29] local.INFO: TCP Data received {"connection_id":121082,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dbd5070012d7e360005d34db00000002829..."} 
[2026-07-01 18:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dbd5070012d7e360005d34db00000002829..."} 
[2026-07-01 18:27:29] local.INFO: Processing buffer {"connection_id":121082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dbd5070012d7e360005d34db00000002829..."} 
[2026-07-01 18:27:29] local.INFO: Packet analysis {"connection_id":121082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dbd"} 
[2026-07-01 18:27:29] local.INFO: Extracted packet for processing {"connection_id":121082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dbd"} 
[2026-07-01 18:27:29] local.INFO: GPS Element Parsed {"raw_longitude":763246080,"raw_latitude":97734064,"longitude_deg":76.324608,"latitude_deg":9.7734064,"altitude":0,"angle":40,"satellites":41,"speed":0,"hex_longitude":"2d7e3600","hex_latitude":"05d34db0","is_valid_coordinates":true} 
[2026-07-01 18:27:29] 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-01 18:27:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425055744001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101462817047052288,"note":"Value kept but may cause issues"} 
[2026-07-01 18:27:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541215744,"note":"Value kept but may cause issues"} 
[2026-07-01 18:27:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 18:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782910374000,"timestamp_ms":1782910374000,"timestamp_seconds":1782910374,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dbd5070"} 
[2026-07-01 18: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-01 18:27:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18: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":172,"data_length":795,"current_offset":136} 
[2026-07-01 18:27:29] 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-01 18: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-01 18: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-01 18:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":121082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":121082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 18:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":121082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 18:27:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 18:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 18:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 18:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425055744001,"66":12972,"81":206,"85":15104,"24":0,"16":101462817047052288,"45":9094456522541215744},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 18:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 18:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 18:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425055744001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:27:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 18:27:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 18:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101462817047052288,"km_value":101462817047052.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:27:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541215744,"description":"Unknown IO ID 45"} 
[2026-07-01 18:27:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425055744001,"power":12972,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541215744}} 
[2026-07-01 18:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":121082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418203,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:27:29] local.INFO: GPS data processed {"connection_id":121082,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:27:29] local.INFO: Acknowledgment sent {"connection_id":121082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:27:30] local.INFO: TCP Data received {"connection_id":119204,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dbdc988012cb29ac007823b600047000a25..."} 
[2026-07-01 18:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dbdc988012cb29ac007823b600047000a25..."} 
[2026-07-01 18:27:30] local.INFO: Processing buffer {"connection_id":119204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dbdc988012cb29ac007823b600047000a25..."} 
[2026-07-01 18:27:30] local.INFO: Packet analysis {"connection_id":119204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dbd"} 
[2026-07-01 18:27:30] local.INFO: Extracted packet for processing {"connection_id":119204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dbd"} 
[2026-07-01 18:27:30] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 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-01 18:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424986624001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:27:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:27:30] 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-01 18:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782910405000,"timestamp_ms":1782910405000,"timestamp_seconds":1782910405,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dbdc988"} 
[2026-07-01 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-01 18:27:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-01 18:27:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:27:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 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-01 18:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":119204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":119204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":119204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:27:30] 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-01 18:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424986624001,"66":25702,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424986624001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:27:30] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:27:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:27:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424986624001,"power":25702,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":119204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:27:30] local.INFO: GPS data processed {"connection_id":119204,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:27:30] local.INFO: Acknowledgment sent {"connection_id":119204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:27:51] local.INFO: TCP Data received {"connection_id":119310,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119310,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:27:51] local.INFO: Processing buffer {"connection_id":119310,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:27:51] local.INFO: IMEI packet received {"connection_id":119310,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 18:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":119310,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:27:57] local.INFO: TCP Data received {"connection_id":119310,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119310,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:27:57] local.INFO: Processing buffer {"connection_id":119310,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:27:57] local.INFO: IMEI packet received {"connection_id":119310,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 18:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":119310,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:27:58] local.INFO: TCP Data received {"connection_id":119310,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dc1e838012d7e380005d34d90000000282c..."} 
[2026-07-01 18:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dc1e838012d7e380005d34d90000000282c..."} 
[2026-07-01 18:27:58] local.INFO: Processing buffer {"connection_id":119310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dc1e838012d7e380005d34d90000000282c..."} 
[2026-07-01 18:27:58] local.INFO: Packet analysis {"connection_id":119310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dc1"} 
[2026-07-01 18:27:58] local.INFO: Extracted packet for processing {"connection_id":119310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dc1"} 
[2026-07-01 18:27:58] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":0,"angle":40,"satellites":44,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-01 18: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-01 18:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425055744001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101462817047052288,"note":"Value kept but may cause issues"} 
[2026-07-01 18:27:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541215744,"note":"Value kept but may cause issues"} 
[2026-07-01 18:27:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 18:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782910675000,"timestamp_ms":1782910675000,"timestamp_seconds":1782910675,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dc1e838"} 
[2026-07-01 18: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-01 18:27:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18: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":172,"data_length":795,"current_offset":136} 
[2026-07-01 18:27: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-01 18: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-01 18: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-01 18:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119310,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 18:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119310,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 18:27:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 18:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 18:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 18:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425055744001,"66":12298,"81":206,"85":15104,"24":0,"16":101462817047052288,"45":9094456522541215744},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 18:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 18:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 18:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425055744001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:27:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 18:27:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 18:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101462817047052288,"km_value":101462817047052.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:27:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541215744,"description":"Unknown IO ID 45"} 
[2026-07-01 18:27:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425055744001,"power":12298,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541215744}} 
[2026-07-01 18:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":119310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418205,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:27:58] local.INFO: GPS data processed {"connection_id":119310,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:27:58] local.INFO: Acknowledgment sent {"connection_id":119310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:28:01] local.INFO: TCP Data received {"connection_id":119204,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dbdc988012cb29ac007823b600047000a25..."} 
[2026-07-01 18:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dbdc988012cb29ac007823b600047000a25..."} 
[2026-07-01 18:28:01] local.INFO: Processing buffer {"connection_id":119204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dbdc988012cb29ac007823b600047000a25..."} 
[2026-07-01 18:28:01] local.INFO: Packet analysis {"connection_id":119204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dbd"} 
[2026-07-01 18:28:01] local.INFO: Extracted packet for processing {"connection_id":119204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dbd"} 
[2026-07-01 18:28:01] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424986624001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:28:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:28:01] 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-01 18:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782910405000,"timestamp_ms":1782910405000,"timestamp_seconds":1782910405,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dbdc988"} 
[2026-07-01 18:28:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:28:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-01 18:28:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:28:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:28:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":119204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":119204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":119204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:28:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 18:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424986624001,"66":25702,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424986624001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:28:01] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:28:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:28:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424986624001,"power":25702,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":119204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:28:01] local.INFO: GPS data processed {"connection_id":119204,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:28:01] local.INFO: Acknowledgment sent {"connection_id":119204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:28:20] local.INFO: TCP Data received {"connection_id":119311,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:28:20] local.INFO: Processing buffer {"connection_id":119311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:28:20] local.INFO: IMEI packet received {"connection_id":119311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 18:28:20] local.INFO: IMEI acknowledgment sent {"connection_id":119311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:28:25] local.INFO: TCP Data received {"connection_id":119311,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:28:25] local.INFO: Processing buffer {"connection_id":119311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:28:25] local.INFO: IMEI packet received {"connection_id":119311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":119311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:28:26] local.INFO: TCP Data received {"connection_id":119311,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dbdc988012cb29ac007823b600047000a25..."} 
[2026-07-01 18:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dbdc988012cb29ac007823b600047000a25..."} 
[2026-07-01 18:28:26] local.INFO: Processing buffer {"connection_id":119311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dbdc988012cb29ac007823b600047000a25..."} 
[2026-07-01 18:28:26] local.INFO: Packet analysis {"connection_id":119311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dbd"} 
[2026-07-01 18:28:26] local.INFO: Extracted packet for processing {"connection_id":119311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dbd"} 
[2026-07-01 18:28:26] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18:28:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:28:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424986624001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:28:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:28:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:28:26] 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-01 18:28:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782910405000,"timestamp_ms":1782910405000,"timestamp_seconds":1782910405,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dbdc988"} 
[2026-07-01 18:28:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:28:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:28:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-01 18:28:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:28:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:28:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:28:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:28:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:28:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:28:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:28:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 18:28:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:28:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:28:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424986624001,"66":25702,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:28:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:28:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:28:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424986624001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:28:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:28:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:28:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:28:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:28:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424986624001,"power":25702,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:28:26] local.INFO: DEBUG: GPS processor result {"connection_id":119311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:28:26] local.INFO: GPS data processed {"connection_id":119311,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:28:26] local.INFO: Acknowledgment sent {"connection_id":119311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:28:29] local.INFO: TCP Data received {"connection_id":119310,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dc1e838012d7e380005d34d90000000282c..."} 
[2026-07-01 18:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dc1e838012d7e380005d34d90000000282c..."} 
[2026-07-01 18:28:29] local.INFO: Processing buffer {"connection_id":119310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dc1e838012d7e380005d34d90000000282c..."} 
[2026-07-01 18:28:29] local.INFO: Packet analysis {"connection_id":119310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dc1"} 
[2026-07-01 18:28:29] local.INFO: Extracted packet for processing {"connection_id":119310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dc1"} 
[2026-07-01 18:28:29] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":0,"angle":40,"satellites":44,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-01 18: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-01 18:28:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425055744001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:28:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101462817047052288,"note":"Value kept but may cause issues"} 
[2026-07-01 18:28:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541215744,"note":"Value kept but may cause issues"} 
[2026-07-01 18:28:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 18:28:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782910675000,"timestamp_ms":1782910675000,"timestamp_seconds":1782910675,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dc1e838"} 
[2026-07-01 18: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-01 18:28:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18: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":172,"data_length":795,"current_offset":136} 
[2026-07-01 18:28:29] 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-01 18: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-01 18: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-01 18:28:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:28:29] local.INFO: Teltonika packet parsed successfully {"connection_id":119310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:28:29] local.INFO: Passing IMEI to GPS processor {"connection_id":119310,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 18:28:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":119310,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 18:28:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 18:28:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 18:28:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 18:28:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425055744001,"66":12298,"81":206,"85":15104,"24":0,"16":101462817047052288,"45":9094456522541215744},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 18:28:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 18:28:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 18:28:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425055744001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:28:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 18:28:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 18:28:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101462817047052288,"km_value":101462817047052.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:28:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541215744,"description":"Unknown IO ID 45"} 
[2026-07-01 18:28:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425055744001,"power":12298,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541215744}} 
[2026-07-01 18:28:29] local.INFO: DEBUG: GPS processor result {"connection_id":119310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418208,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:28:29] local.INFO: GPS data processed {"connection_id":119310,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:28:29] local.INFO: Acknowledgment sent {"connection_id":119310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:28:51] local.INFO: TCP Data received {"connection_id":119205,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119205,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:28:51] local.INFO: Processing buffer {"connection_id":119205,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:28:51] local.INFO: IMEI packet received {"connection_id":119205,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 18:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":119205,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:28:56] local.INFO: TCP Data received {"connection_id":119205,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119205,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:28:56] local.INFO: Processing buffer {"connection_id":119205,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:28:56] local.INFO: IMEI packet received {"connection_id":119205,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 18:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":119205,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:28:57] local.INFO: TCP Data received {"connection_id":119205,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dc1e838012d7e380005d34d90000000282c..."} 
[2026-07-01 18:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dc1e838012d7e380005d34d90000000282c..."} 
[2026-07-01 18:28:57] local.INFO: Processing buffer {"connection_id":119205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dc1e838012d7e380005d34d90000000282c..."} 
[2026-07-01 18:28:57] local.INFO: Packet analysis {"connection_id":119205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dc1"} 
[2026-07-01 18:28:57] local.INFO: Extracted packet for processing {"connection_id":119205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dc1"} 
[2026-07-01 18:28:57] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":0,"angle":40,"satellites":44,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-01 18:28:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:28:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425055744001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:28:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101462817047052288,"note":"Value kept but may cause issues"} 
[2026-07-01 18:28:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541215744,"note":"Value kept but may cause issues"} 
[2026-07-01 18:28:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 18:28:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782910675000,"timestamp_ms":1782910675000,"timestamp_seconds":1782910675,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dc1e838"} 
[2026-07-01 18:28:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:28:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:28:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-01 18:28:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:28:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:28:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:28:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:28:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:28:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 18:28:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 18:28:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 18:28:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 18:28:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 18:28:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425055744001,"66":12298,"81":206,"85":15104,"24":0,"16":101462817047052288,"45":9094456522541215744},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 18:28:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 18:28:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 18:28:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425055744001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:28:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 18:28:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 18:28:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101462817047052288,"km_value":101462817047052.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:28:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541215744,"description":"Unknown IO ID 45"} 
[2026-07-01 18:28:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425055744001,"power":12298,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541215744}} 
[2026-07-01 18:28:57] local.INFO: DEBUG: GPS processor result {"connection_id":119205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418209,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:28:57] local.INFO: GPS data processed {"connection_id":119205,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:28:57] local.INFO: Acknowledgment sent {"connection_id":119205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:28:59] local.INFO: TCP Data received {"connection_id":119311,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dbdc988012cb29ac007823b600047000a25..."} 
[2026-07-01 18:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dbdc988012cb29ac007823b600047000a25..."} 
[2026-07-01 18:28:59] local.INFO: Processing buffer {"connection_id":119311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dbdc988012cb29ac007823b600047000a25..."} 
[2026-07-01 18:28:59] local.INFO: Packet analysis {"connection_id":119311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dbd"} 
[2026-07-01 18:28:59] local.INFO: Extracted packet for processing {"connection_id":119311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dbd"} 
[2026-07-01 18:28:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456424986624001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:28:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:28:59] 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-01 18:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782910405000,"timestamp_ms":1782910405000,"timestamp_seconds":1782910405,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dbdc988"} 
[2026-07-01 18:28:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:28:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-07-01 18:28:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:28:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:28:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:28:59] 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-01 18:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456424986624001,"66":25702,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456424986624001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:28:59] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:28:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:28:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456424986624001,"power":25702,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":119311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:28:59] local.INFO: GPS data processed {"connection_id":119311,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:28:59] local.INFO: Acknowledgment sent {"connection_id":119311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:29:20] local.INFO: TCP Data received {"connection_id":120004,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:29:20] local.INFO: Processing buffer {"connection_id":120004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:29:20] local.INFO: IMEI packet received {"connection_id":120004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 18:29:20] local.INFO: IMEI acknowledgment sent {"connection_id":120004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:29:25] local.INFO: TCP Data received {"connection_id":120004,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:29:25] local.INFO: Processing buffer {"connection_id":120004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:29:25] local.INFO: IMEI packet received {"connection_id":120004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":120004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:29:29] local.INFO: TCP Data received {"connection_id":119205,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dc1e838012d7e380005d34d90000000282c..."} 
[2026-07-01 18:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dc1e838012d7e380005d34d90000000282c..."} 
[2026-07-01 18:29:29] local.INFO: Processing buffer {"connection_id":119205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dc1e838012d7e380005d34d90000000282c..."} 
[2026-07-01 18:29:29] local.INFO: Packet analysis {"connection_id":119205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dc1"} 
[2026-07-01 18:29:29] local.INFO: Extracted packet for processing {"connection_id":119205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dc1"} 
[2026-07-01 18:29:29] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":0,"angle":40,"satellites":44,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-01 18: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-01 18:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425055744001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101462817047052288,"note":"Value kept but may cause issues"} 
[2026-07-01 18:29:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541215744,"note":"Value kept but may cause issues"} 
[2026-07-01 18:29:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 18:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782910675000,"timestamp_ms":1782910675000,"timestamp_seconds":1782910675,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dc1e838"} 
[2026-07-01 18: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-01 18:29:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-01 18:29:29] 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-01 18: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-01 18: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-01 18:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":119205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":119205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 18:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":119205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 18:29:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 18:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 18:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 18:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425055744001,"66":12298,"81":206,"85":15104,"24":0,"16":101462817047052288,"45":9094456522541215744},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 18:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 18:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 18:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425055744001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:29:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 18:29:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 18:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101462817047052288,"km_value":101462817047052.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:29:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541215744,"description":"Unknown IO ID 45"} 
[2026-07-01 18:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425055744001,"power":12298,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541215744}} 
[2026-07-01 18:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":119205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418211,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:29:29] local.INFO: GPS data processed {"connection_id":119205,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:29:29] local.INFO: Acknowledgment sent {"connection_id":119205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:29:34] local.INFO: TCP Data received {"connection_id":120004,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dc26150012cb29ac007823b600047000a25..."} 
[2026-07-01 18:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dc26150012cb29ac007823b600047000a25..."} 
[2026-07-01 18:29:34] local.INFO: Processing buffer {"connection_id":120004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dc26150012cb29ac007823b600047000a25..."} 
[2026-07-01 18:29:34] local.INFO: Packet analysis {"connection_id":120004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dc2"} 
[2026-07-01 18:29:34] local.INFO: Extracted packet for processing {"connection_id":120004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dc2"} 
[2026-07-01 18:29:34] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425063680001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:29:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:29:34] 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-01 18:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782910706000,"timestamp_ms":1782910706000,"timestamp_seconds":1782910706,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dc26150"} 
[2026-07-01 18:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:29:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-01 18:29:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:29:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":120004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":120004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":120004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:29:34] 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-01 18:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425063680001,"66":25625,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425063680001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:29:34] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:29:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:29:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425063680001,"power":25625,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":120004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:29:34] local.INFO: GPS data processed {"connection_id":120004,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:29:34] local.INFO: Acknowledgment sent {"connection_id":120004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:29:51] local.INFO: TCP Data received {"connection_id":119312,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119312,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:29:51] local.INFO: Processing buffer {"connection_id":119312,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:29:51] local.INFO: IMEI packet received {"connection_id":119312,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 18:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":119312,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:29:57] local.INFO: TCP Data received {"connection_id":119312,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119312,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:29:57] local.INFO: Processing buffer {"connection_id":119312,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:29:57] local.INFO: IMEI packet received {"connection_id":119312,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 18:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":119312,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:29:58] local.INFO: TCP Data received {"connection_id":119312,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dc1e838012d7e380005d34d90000000282c..."} 
[2026-07-01 18:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dc1e838012d7e380005d34d90000000282c..."} 
[2026-07-01 18:29:58] local.INFO: Processing buffer {"connection_id":119312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dc1e838012d7e380005d34d90000000282c..."} 
[2026-07-01 18:29:58] local.INFO: Packet analysis {"connection_id":119312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dc1"} 
[2026-07-01 18:29:58] local.INFO: Extracted packet for processing {"connection_id":119312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dc1"} 
[2026-07-01 18:29:58] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":0,"angle":40,"satellites":44,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-01 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-01 18:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425055744001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:29:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101462817047052288,"note":"Value kept but may cause issues"} 
[2026-07-01 18:29:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541215744,"note":"Value kept but may cause issues"} 
[2026-07-01 18:29:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 18:29:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782910675000,"timestamp_ms":1782910675000,"timestamp_seconds":1782910675,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dc1e838"} 
[2026-07-01 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-01 18:29:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-01 18:29: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-01 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-01 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-01 18:29:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:29:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:29:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119312,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 18:29:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119312,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 18:29:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 18:29:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 18:29:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 18:29:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425055744001,"66":12298,"81":206,"85":15104,"24":0,"16":101462817047052288,"45":9094456522541215744},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 18:29:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 18:29:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 18:29:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425055744001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:29:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 18:29:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 18:29:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101462817047052288,"km_value":101462817047052.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:29:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541215744,"description":"Unknown IO ID 45"} 
[2026-07-01 18:29:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425055744001,"power":12298,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541215744}} 
[2026-07-01 18:29:58] local.INFO: DEBUG: GPS processor result {"connection_id":119312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418213,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:29:58] local.INFO: GPS data processed {"connection_id":119312,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:29:58] local.INFO: Acknowledgment sent {"connection_id":119312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:30:29] local.INFO: TCP Data received {"connection_id":119312,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dc1e838012d7e380005d34d90000000282c..."} 
[2026-07-01 18:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dc1e838012d7e380005d34d90000000282c..."} 
[2026-07-01 18:30:29] local.INFO: Processing buffer {"connection_id":119312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dc1e838012d7e380005d34d90000000282c..."} 
[2026-07-01 18:30:29] local.INFO: Packet analysis {"connection_id":119312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dc1"} 
[2026-07-01 18:30:29] local.INFO: Extracted packet for processing {"connection_id":119312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dc1"} 
[2026-07-01 18:30:29] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":0,"angle":40,"satellites":44,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-01 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-01 18:30:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425055744001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101462817047052288,"note":"Value kept but may cause issues"} 
[2026-07-01 18:30:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541215744,"note":"Value kept but may cause issues"} 
[2026-07-01 18:30:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 18:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782910675000,"timestamp_ms":1782910675000,"timestamp_seconds":1782910675,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dc1e838"} 
[2026-07-01 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-01 18:30:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 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":172,"data_length":795,"current_offset":136} 
[2026-07-01 18:30:29] 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-01 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-01 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-01 18:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":119312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":119312,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 18:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":119312,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 18:30:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 18:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 18:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 18:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425055744001,"66":12298,"81":206,"85":15104,"24":0,"16":101462817047052288,"45":9094456522541215744},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 18:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 18:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 18:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425055744001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:30:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 18:30:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 18:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101462817047052288,"km_value":101462817047052.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:30:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541215744,"description":"Unknown IO ID 45"} 
[2026-07-01 18:30:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425055744001,"power":12298,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541215744}} 
[2026-07-01 18:30:29] local.INFO: DEBUG: GPS processor result {"connection_id":119312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418214,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:30:29] local.INFO: GPS data processed {"connection_id":119312,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:30:29] local.INFO: Acknowledgment sent {"connection_id":119312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:30:30] local.INFO: TCP Data received {"connection_id":120006,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:30:30] local.INFO: Processing buffer {"connection_id":120006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:30:30] local.INFO: IMEI packet received {"connection_id":120006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 18:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":120006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:30:35] local.INFO: TCP Data received {"connection_id":120006,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:30:35] local.INFO: Processing buffer {"connection_id":120006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:30:35] local.INFO: IMEI packet received {"connection_id":120006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":120006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:30:36] local.INFO: TCP Data received {"connection_id":120006,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dc26150012cb29ac007823b600047000a25..."} 
[2026-07-01 18:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dc26150012cb29ac007823b600047000a25..."} 
[2026-07-01 18:30:36] local.INFO: Processing buffer {"connection_id":120006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dc26150012cb29ac007823b600047000a25..."} 
[2026-07-01 18:30:36] local.INFO: Packet analysis {"connection_id":120006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dc2"} 
[2026-07-01 18:30:36] local.INFO: Extracted packet for processing {"connection_id":120006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dc2"} 
[2026-07-01 18:30:36] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425063680001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:30:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:30:36] 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-01 18:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1782910706000,"timestamp_ms":1782910706000,"timestamp_seconds":1782910706,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dc26150"} 
[2026-07-01 18:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-01 18:30:36] 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-01 18:30:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":120006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":120006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":120006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:30:36] 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-01 18:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425063680001,"66":25625,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425063680001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:30:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:30:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:30:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425063680001,"power":25625,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":120006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:30:36] local.INFO: GPS data processed {"connection_id":120006,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:30:36] local.INFO: Acknowledgment sent {"connection_id":120006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:30:51] local.INFO: TCP Data received {"connection_id":119313,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119313,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:30:51] local.INFO: Processing buffer {"connection_id":119313,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:30:51] local.INFO: IMEI packet received {"connection_id":119313,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 18:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":119313,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:30:57] local.INFO: TCP Data received {"connection_id":119313,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119313,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:30:57] local.INFO: Processing buffer {"connection_id":119313,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:30:57] local.INFO: IMEI packet received {"connection_id":119313,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 18:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":119313,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:31:00] local.INFO: TCP Data received {"connection_id":119313,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dc1e838012d7e380005d34d90000000282c..."} 
[2026-07-01 18:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dc1e838012d7e380005d34d90000000282c..."} 
[2026-07-01 18:31:00] local.INFO: Processing buffer {"connection_id":119313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dc1e838012d7e380005d34d90000000282c..."} 
[2026-07-01 18:31:00] local.INFO: Packet analysis {"connection_id":119313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dc1"} 
[2026-07-01 18:31:00] local.INFO: Extracted packet for processing {"connection_id":119313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dc1"} 
[2026-07-01 18:31:00] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":0,"angle":40,"satellites":44,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-01 18:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425055744001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101462817047052288,"note":"Value kept but may cause issues"} 
[2026-07-01 18:31:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541215744,"note":"Value kept but may cause issues"} 
[2026-07-01 18:31:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 18:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782910675000,"timestamp_ms":1782910675000,"timestamp_seconds":1782910675,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dc1e838"} 
[2026-07-01 18:31:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:31:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-01 18:31:00] 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-01 18:31:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:31:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":119313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":119313,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 18:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":119313,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 18:31:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 18:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 18:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 18:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425055744001,"66":12298,"81":206,"85":15104,"24":0,"16":101462817047052288,"45":9094456522541215744},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 18:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 18:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 18:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425055744001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:31:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 18:31:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 18:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101462817047052288,"km_value":101462817047052.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:31:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541215744,"description":"Unknown IO ID 45"} 
[2026-07-01 18:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425055744001,"power":12298,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541215744}} 
[2026-07-01 18:31:00] local.INFO: DEBUG: GPS processor result {"connection_id":119313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418216,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:31:00] local.INFO: GPS data processed {"connection_id":119313,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:31:00] local.INFO: Acknowledgment sent {"connection_id":119313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:31:25] local.INFO: TCP Data received {"connection_id":120007,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:31:25] local.INFO: Processing buffer {"connection_id":120007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:31:25] local.INFO: IMEI packet received {"connection_id":120007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 18:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":120007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:31:30] local.INFO: TCP Data received {"connection_id":120007,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:31:30] local.INFO: Processing buffer {"connection_id":120007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:31:30] local.INFO: IMEI packet received {"connection_id":120007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":120007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:31:31] local.INFO: TCP Data received {"connection_id":120007,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dc26150012cb29ac007823b600047000a25..."} 
[2026-07-01 18:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dc26150012cb29ac007823b600047000a25..."} 
[2026-07-01 18:31:31] local.INFO: Processing buffer {"connection_id":120007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dc26150012cb29ac007823b600047000a25..."} 
[2026-07-01 18:31:31] local.INFO: Packet analysis {"connection_id":120007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dc2"} 
[2026-07-01 18:31:31] local.INFO: Extracted packet for processing {"connection_id":120007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dc2"} 
[2026-07-01 18:31:31] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425063680001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:31:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:31:31] 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-01 18:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782910706000,"timestamp_ms":1782910706000,"timestamp_seconds":1782910706,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dc26150"} 
[2026-07-01 18:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:31:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-01 18:31:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:31:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":120007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":120007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":120007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:31:31] 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-01 18:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425063680001,"66":25625,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425063680001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:31:31] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:31:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:31:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425063680001,"power":25625,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":120007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:31:31] local.INFO: GPS data processed {"connection_id":120007,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:31:31] local.INFO: Acknowledgment sent {"connection_id":120007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:31:31] local.INFO: TCP Data received {"connection_id":119313,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dc1e838012d7e380005d34d90000000282c..."} 
[2026-07-01 18:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dc1e838012d7e380005d34d90000000282c..."} 
[2026-07-01 18:31:31] local.INFO: Processing buffer {"connection_id":119313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dc1e838012d7e380005d34d90000000282c..."} 
[2026-07-01 18:31:31] local.INFO: Packet analysis {"connection_id":119313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dc1"} 
[2026-07-01 18:31:31] local.INFO: Extracted packet for processing {"connection_id":119313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dc1"} 
[2026-07-01 18:31:31] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":0,"angle":40,"satellites":44,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-01 18:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425055744001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101462817047052288,"note":"Value kept but may cause issues"} 
[2026-07-01 18:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541215744,"note":"Value kept but may cause issues"} 
[2026-07-01 18:31:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 18:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782910675000,"timestamp_ms":1782910675000,"timestamp_seconds":1782910675,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dc1e838"} 
[2026-07-01 18:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:31:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-01 18:31:31] 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-01 18:31:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119313,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 18:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119313,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 18:31:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 18:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 18:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 18:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425055744001,"66":12298,"81":206,"85":15104,"24":0,"16":101462817047052288,"45":9094456522541215744},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 18:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 18:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 18:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425055744001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:31:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 18:31:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 18:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101462817047052288,"km_value":101462817047052.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541215744,"description":"Unknown IO ID 45"} 
[2026-07-01 18:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425055744001,"power":12298,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541215744}} 
[2026-07-01 18:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":119313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418218,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:31:31] local.INFO: GPS data processed {"connection_id":119313,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:31:31] local.INFO: Acknowledgment sent {"connection_id":119313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:31:35] local.INFO: TCP Data received {"connection_id":120007,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dc26150012cb29ac007823b600047000a25..."} 
[2026-07-01 18:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dc26150012cb29ac007823b600047000a25..."} 
[2026-07-01 18:31:35] local.INFO: Processing buffer {"connection_id":120007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dc26150012cb29ac007823b600047000a25..."} 
[2026-07-01 18:31:35] local.INFO: Packet analysis {"connection_id":120007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dc2"} 
[2026-07-01 18:31:35] local.INFO: Extracted packet for processing {"connection_id":120007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dc2"} 
[2026-07-01 18:31:35] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425063680001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:31:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:31:35] 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-01 18:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782910706000,"timestamp_ms":1782910706000,"timestamp_seconds":1782910706,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dc26150"} 
[2026-07-01 18:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-01 18:31:35] 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-01 18:31:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":120007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":120007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":120007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:31:35] 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-01 18:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425063680001,"66":25625,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425063680001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:31:35] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:31:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:31:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425063680001,"power":25625,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":120007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:31:35] local.INFO: GPS data processed {"connection_id":120007,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:31:35] local.INFO: Acknowledgment sent {"connection_id":120007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:31:56] local.INFO: TCP Data received {"connection_id":121084,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 18:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121084,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 18:31:56] local.INFO: Processing buffer {"connection_id":121084,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 18:31:56] local.INFO: IMEI packet received {"connection_id":121084,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 18:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":121084,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:31:57] local.INFO: TCP Data received {"connection_id":119207,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119207,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:31:57] local.INFO: Processing buffer {"connection_id":119207,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:31:57] local.INFO: IMEI packet received {"connection_id":119207,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 18:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":119207,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:32:02] local.INFO: TCP Data received {"connection_id":119207,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119207,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:32:02] local.INFO: Processing buffer {"connection_id":119207,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:32:02] local.INFO: IMEI packet received {"connection_id":119207,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 18:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":119207,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:32:03] local.INFO: TCP Data received {"connection_id":119207,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dc1e838012d7e380005d34d90000000282c..."} 
[2026-07-01 18:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dc1e838012d7e380005d34d90000000282c..."} 
[2026-07-01 18:32:03] local.INFO: Processing buffer {"connection_id":119207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dc1e838012d7e380005d34d90000000282c..."} 
[2026-07-01 18:32:03] local.INFO: Packet analysis {"connection_id":119207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dc1"} 
[2026-07-01 18:32:03] local.INFO: Extracted packet for processing {"connection_id":119207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dc1"} 
[2026-07-01 18:32:03] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":0,"angle":40,"satellites":44,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-01 18: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-01 18:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425055744001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101462817047052288,"note":"Value kept but may cause issues"} 
[2026-07-01 18:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541215744,"note":"Value kept but may cause issues"} 
[2026-07-01 18:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 18:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782910675000,"timestamp_ms":1782910675000,"timestamp_seconds":1782910675,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dc1e838"} 
[2026-07-01 18: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-01 18:32:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-01 18:32:03] 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-01 18: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-01 18: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-01 18:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":119207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":119207,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 18:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":119207,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 18:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 18:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 18:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 18:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425055744001,"66":12298,"81":206,"85":15104,"24":0,"16":101462817047052288,"45":9094456522541215744},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 18:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 18:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 18:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425055744001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:32:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 18:32:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 18:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101462817047052288,"km_value":101462817047052.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541215744,"description":"Unknown IO ID 45"} 
[2026-07-01 18:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425055744001,"power":12298,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541215744}} 
[2026-07-01 18:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":119207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418220,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:32:03] local.INFO: GPS data processed {"connection_id":119207,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:32:03] local.INFO: Acknowledgment sent {"connection_id":119207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:32:07] local.INFO: TCP Data received {"connection_id":119207,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dc1e838012d7e380005d34d90000000282c..."} 
[2026-07-01 18:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dc1e838012d7e380005d34d90000000282c..."} 
[2026-07-01 18:32:07] local.INFO: Processing buffer {"connection_id":119207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dc1e838012d7e380005d34d90000000282c..."} 
[2026-07-01 18:32:07] local.INFO: Packet analysis {"connection_id":119207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dc1"} 
[2026-07-01 18:32:07] local.INFO: Extracted packet for processing {"connection_id":119207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dc1"} 
[2026-07-01 18:32:07] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734032,"longitude_deg":76.3246592,"latitude_deg":9.7734032,"altitude":0,"angle":40,"satellites":44,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34d90","is_valid_coordinates":true} 
[2026-07-01 18: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-01 18:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425055744001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101462817047052288,"note":"Value kept but may cause issues"} 
[2026-07-01 18:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541215744,"note":"Value kept but may cause issues"} 
[2026-07-01 18:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 18:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782910675000,"timestamp_ms":1782910675000,"timestamp_seconds":1782910675,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dc1e838"} 
[2026-07-01 18: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-01 18:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-07-01 18:32:07] 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-01 18: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-01 18: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-01 18:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":119207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":119207,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 18:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":119207,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 18:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 18:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 18:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 18:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425055744001,"66":12298,"81":206,"85":15104,"24":0,"16":101462817047052288,"45":9094456522541215744},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 18:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 18:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 18:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425055744001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:32:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 18:32:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 18:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101462817047052288,"km_value":101462817047052.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541215744,"description":"Unknown IO ID 45"} 
[2026-07-01 18:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425055744001,"power":12298,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541215744}} 
[2026-07-01 18:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":119207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418221,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:32:07] local.INFO: GPS data processed {"connection_id":119207,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:32:07] local.INFO: Acknowledgment sent {"connection_id":119207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:32:15] local.INFO: TCP Data received {"connection_id":121085,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 18:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121085,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 18:32:15] local.INFO: Processing buffer {"connection_id":121085,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 18:32:15] local.INFO: IMEI packet received {"connection_id":121085,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 18:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":121085,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:32:21] local.INFO: TCP Data received {"connection_id":119208,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:32:21] local.INFO: Processing buffer {"connection_id":119208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:32:21] local.INFO: IMEI packet received {"connection_id":119208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 18:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":119208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:32:25] local.INFO: TCP Data received {"connection_id":119208,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:32:25] local.INFO: Processing buffer {"connection_id":119208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:32:25] local.INFO: IMEI packet received {"connection_id":119208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":119208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:32:26] local.INFO: TCP Data received {"connection_id":119208,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dc26150012cb29ac007823b600047000a25..."} 
[2026-07-01 18:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dc26150012cb29ac007823b600047000a25..."} 
[2026-07-01 18:32:26] local.INFO: Processing buffer {"connection_id":119208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dc26150012cb29ac007823b600047000a25..."} 
[2026-07-01 18:32:26] local.INFO: Packet analysis {"connection_id":119208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dc2"} 
[2026-07-01 18:32:26] local.INFO: Extracted packet for processing {"connection_id":119208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dc2"} 
[2026-07-01 18:32:26] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:32:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425063680001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:32:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:32:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:32:26] 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-01 18:32:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782910706000,"timestamp_ms":1782910706000,"timestamp_seconds":1782910706,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dc26150"} 
[2026-07-01 18:32:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:32:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-01 18:32:26] 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-01 18:32:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:32:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:32:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:32:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:32:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:32:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:32:26] 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-01 18:32:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:32:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:32:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425063680001,"66":25625,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:32:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:32:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:32:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425063680001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:32:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:32:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:32:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:32:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:32:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425063680001,"power":25625,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:32:26] local.INFO: DEBUG: GPS processor result {"connection_id":119208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:32:26] local.INFO: GPS data processed {"connection_id":119208,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:32:26] local.INFO: Acknowledgment sent {"connection_id":119208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:32:51] local.INFO: TCP Data received {"connection_id":121086,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121086,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:32:51] local.INFO: Processing buffer {"connection_id":121086,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:32:51] local.INFO: IMEI packet received {"connection_id":121086,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 18:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":121086,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:32:57] local.INFO: TCP Data received {"connection_id":119208,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dc26150012cb29ac007823b600047000a25..."} 
[2026-07-01 18:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dc26150012cb29ac007823b600047000a25..."} 
[2026-07-01 18:32:57] local.INFO: Processing buffer {"connection_id":119208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dc26150012cb29ac007823b600047000a25..."} 
[2026-07-01 18:32:57] local.INFO: Packet analysis {"connection_id":119208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dc2"} 
[2026-07-01 18:32:57] local.INFO: Extracted packet for processing {"connection_id":119208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dc2"} 
[2026-07-01 18:32:57] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18:32: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-01 18:32:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425063680001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:32:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:32:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:32:57] 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-01 18:32:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782910706000,"timestamp_ms":1782910706000,"timestamp_seconds":1782910706,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dc26150"} 
[2026-07-01 18:32:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:32:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-01 18:32:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:32: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-01 18:32:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:32:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:32:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:32:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:32:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:32:57] 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-01 18:32:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:32:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:32:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425063680001,"66":25625,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:32:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:32:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:32:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425063680001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:32:57] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:32:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:32:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:32:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:32:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425063680001,"power":25625,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:32:57] local.INFO: DEBUG: GPS processor result {"connection_id":119208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:32:57] local.INFO: GPS data processed {"connection_id":119208,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:32:57] local.INFO: Acknowledgment sent {"connection_id":119208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:33:20] local.INFO: TCP Data received {"connection_id":119209,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:33:20] local.INFO: Processing buffer {"connection_id":119209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:33:20] local.INFO: IMEI packet received {"connection_id":119209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 18:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":119209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:33:25] local.INFO: TCP Data received {"connection_id":119209,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:33:25] local.INFO: Processing buffer {"connection_id":119209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:33:25] local.INFO: IMEI packet received {"connection_id":119209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:33:25] local.INFO: IMEI acknowledgment sent {"connection_id":119209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:33:26] local.INFO: TCP Data received {"connection_id":119209,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dc26150012cb29ac007823b600047000a25..."} 
[2026-07-01 18:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dc26150012cb29ac007823b600047000a25..."} 
[2026-07-01 18:33:26] local.INFO: Processing buffer {"connection_id":119209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dc26150012cb29ac007823b600047000a25..."} 
[2026-07-01 18:33:26] local.INFO: Packet analysis {"connection_id":119209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dc2"} 
[2026-07-01 18:33:26] local.INFO: Extracted packet for processing {"connection_id":119209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dc2"} 
[2026-07-01 18:33:26] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18: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-01 18:33:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425063680001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:33:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:33:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:33:26] 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-01 18:33:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782910706000,"timestamp_ms":1782910706000,"timestamp_seconds":1782910706,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dc26150"} 
[2026-07-01 18: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-01 18:33:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:33:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-01 18:33:26] 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-01 18: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-01 18: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-01 18:33:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:33:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:33:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:33:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:33:26] 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-01 18:33:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:33:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:33:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425063680001,"66":25625,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:33:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:33:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:33:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425063680001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:33:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:33:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:33:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:33:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:33:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425063680001,"power":25625,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:33:26] local.INFO: DEBUG: GPS processor result {"connection_id":119209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:33:26] local.INFO: GPS data processed {"connection_id":119209,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:33:26] local.INFO: Acknowledgment sent {"connection_id":119209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:33:57] local.INFO: TCP Data received {"connection_id":119209,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dc26150012cb29ac007823b600047000a25..."} 
[2026-07-01 18:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dc26150012cb29ac007823b600047000a25..."} 
[2026-07-01 18:33:57] local.INFO: Processing buffer {"connection_id":119209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dc26150012cb29ac007823b600047000a25..."} 
[2026-07-01 18:33:57] local.INFO: Packet analysis {"connection_id":119209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dc2"} 
[2026-07-01 18:33:57] local.INFO: Extracted packet for processing {"connection_id":119209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dc2"} 
[2026-07-01 18:33:57] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18: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-01 18:33:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425063680001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:33:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:33:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:33:57] 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-01 18:33:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782910706000,"timestamp_ms":1782910706000,"timestamp_seconds":1782910706,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dc26150"} 
[2026-07-01 18: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-01 18:33:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-07-01 18:33:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18: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-01 18: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-01 18:33:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:33:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:33:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:33:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:33:57] 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-01 18:33:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:33:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:33:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425063680001,"66":25625,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:33:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:33:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:33:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425063680001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:33:57] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:33:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:33:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:33:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:33:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425063680001,"power":25625,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:33:57] local.INFO: DEBUG: GPS processor result {"connection_id":119209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:33:57] local.INFO: GPS data processed {"connection_id":119209,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:33:57] local.INFO: Acknowledgment sent {"connection_id":119209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:34:20] local.INFO: TCP Data received {"connection_id":119314,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:34:20] local.INFO: Processing buffer {"connection_id":119314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:34:20] local.INFO: IMEI packet received {"connection_id":119314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 18:34:20] local.INFO: IMEI acknowledgment sent {"connection_id":119314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:34:25] local.INFO: TCP Data received {"connection_id":119314,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:34:25] local.INFO: Processing buffer {"connection_id":119314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:34:25] local.INFO: IMEI packet received {"connection_id":119314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":119314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:34:26] local.INFO: TCP Data received {"connection_id":119314,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dc6f918012cb29ac007823b600047000a24..."} 
[2026-07-01 18:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dc6f918012cb29ac007823b600047000a24..."} 
[2026-07-01 18:34:26] local.INFO: Processing buffer {"connection_id":119314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dc6f918012cb29ac007823b600047000a24..."} 
[2026-07-01 18:34:26] local.INFO: Packet analysis {"connection_id":119314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dc6"} 
[2026-07-01 18:34:26] local.INFO: Extracted packet for processing {"connection_id":119314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dc6"} 
[2026-07-01 18:34:26] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:34:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425140736001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:34:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:34:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:34:26] 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-01 18:34:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782911007000,"timestamp_ms":1782911007000,"timestamp_seconds":1782911007,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dc6f918"} 
[2026-07-01 18:34:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:34:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-01 18:34:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:34:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:34:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:34:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:34:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:34:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:34:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:34:26] 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-01 18:34:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:34:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:34:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425140736001,"66":25625,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:34:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:34:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:34:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425140736001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:34:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:34:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:34:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:34:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:34:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425140736001,"power":25625,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:34:26] local.INFO: DEBUG: GPS processor result {"connection_id":119314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:34:26] local.INFO: GPS data processed {"connection_id":119314,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:34:26] local.INFO: Acknowledgment sent {"connection_id":119314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:34:58] local.INFO: TCP Data received {"connection_id":119314,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dc6f918012cb29ac007823b600047000a24..."} 
[2026-07-01 18:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dc6f918012cb29ac007823b600047000a24..."} 
[2026-07-01 18:34:58] local.INFO: Processing buffer {"connection_id":119314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dc6f918012cb29ac007823b600047000a24..."} 
[2026-07-01 18:34:58] local.INFO: Packet analysis {"connection_id":119314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dc6"} 
[2026-07-01 18:34:58] local.INFO: Extracted packet for processing {"connection_id":119314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dc6"} 
[2026-07-01 18:34:58] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18: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-01 18:34:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425140736001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:34:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:34:58] 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-01 18:34:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782911007000,"timestamp_ms":1782911007000,"timestamp_seconds":1782911007,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dc6f918"} 
[2026-07-01 18: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-01 18:34:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-01 18:34:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18: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-01 18: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-01 18:34:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:34:58] 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-01 18:34:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:34:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:34:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425140736001,"66":25625,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:34:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:34:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:34:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425140736001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:34:58] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:34:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:34:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:34:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:34:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425140736001,"power":25625,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:34:58] local.INFO: DEBUG: GPS processor result {"connection_id":119314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:34:58] local.INFO: GPS data processed {"connection_id":119314,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:34:58] local.INFO: Acknowledgment sent {"connection_id":119314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:35:25] local.INFO: TCP Data received {"connection_id":121088,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:35:25] local.INFO: Processing buffer {"connection_id":121088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:35:25] local.INFO: IMEI packet received {"connection_id":121088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 18:35:25] local.INFO: IMEI acknowledgment sent {"connection_id":121088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:35:30] local.INFO: TCP Data received {"connection_id":121088,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:35:30] local.INFO: Processing buffer {"connection_id":121088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:35:30] local.INFO: IMEI packet received {"connection_id":121088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":121088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:35:31] local.INFO: TCP Data received {"connection_id":121088,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dc6f918012cb29ac007823b600047000a24..."} 
[2026-07-01 18:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dc6f918012cb29ac007823b600047000a24..."} 
[2026-07-01 18:35:31] local.INFO: Processing buffer {"connection_id":121088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dc6f918012cb29ac007823b600047000a24..."} 
[2026-07-01 18:35:31] local.INFO: Packet analysis {"connection_id":121088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dc6"} 
[2026-07-01 18:35:31] local.INFO: Extracted packet for processing {"connection_id":121088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dc6"} 
[2026-07-01 18:35:31] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425140736001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:35:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:35:31] 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-01 18:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782911007000,"timestamp_ms":1782911007000,"timestamp_seconds":1782911007,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dc6f918"} 
[2026-07-01 18:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:35:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-01 18:35:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:35:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":121088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":121088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":121088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:35:31] 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-01 18:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425140736001,"66":25625,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425140736001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:35:31] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:35:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:35:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425140736001,"power":25625,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":121088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:35:31] local.INFO: GPS data processed {"connection_id":121088,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:35:31] local.INFO: Acknowledgment sent {"connection_id":121088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:35:35] local.INFO: TCP Data received {"connection_id":121088,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dc6f918012cb29ac007823b600047000a24..."} 
[2026-07-01 18:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dc6f918012cb29ac007823b600047000a24..."} 
[2026-07-01 18:35:35] local.INFO: Processing buffer {"connection_id":121088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dc6f918012cb29ac007823b600047000a24..."} 
[2026-07-01 18:35:35] local.INFO: Packet analysis {"connection_id":121088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dc6"} 
[2026-07-01 18:35:35] local.INFO: Extracted packet for processing {"connection_id":121088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dc6"} 
[2026-07-01 18:35:35] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18: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-01 18:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425140736001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:35:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:35:35] 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-01 18:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782911007000,"timestamp_ms":1782911007000,"timestamp_seconds":1782911007,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dc6f918"} 
[2026-07-01 18: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-01 18:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-01 18:35:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18: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-01 18: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-01 18:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":121088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":121088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":121088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:35:35] 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-01 18:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425140736001,"66":25625,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425140736001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:35:35] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:35:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:35:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425140736001,"power":25625,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":121088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:35:35] local.INFO: GPS data processed {"connection_id":121088,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:35:35] local.INFO: Acknowledgment sent {"connection_id":121088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:36:20] local.INFO: TCP Data received {"connection_id":120008,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:36:20] local.INFO: Processing buffer {"connection_id":120008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:36:20] local.INFO: IMEI packet received {"connection_id":120008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 18:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":120008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:36:25] local.INFO: TCP Data received {"connection_id":120008,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:36:25] local.INFO: Processing buffer {"connection_id":120008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:36:25] local.INFO: IMEI packet received {"connection_id":120008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":120008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:36:26] local.INFO: TCP Data received {"connection_id":120008,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dc6f918012cb29ac007823b600047000a24..."} 
[2026-07-01 18:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dc6f918012cb29ac007823b600047000a24..."} 
[2026-07-01 18:36:26] local.INFO: Processing buffer {"connection_id":120008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dc6f918012cb29ac007823b600047000a24..."} 
[2026-07-01 18:36:26] local.INFO: Packet analysis {"connection_id":120008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dc6"} 
[2026-07-01 18:36:26] local.INFO: Extracted packet for processing {"connection_id":120008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dc6"} 
[2026-07-01 18:36:26] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18: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-01 18:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425140736001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:36:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:36:26] 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-01 18:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782911007000,"timestamp_ms":1782911007000,"timestamp_seconds":1782911007,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dc6f918"} 
[2026-07-01 18: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-01 18:36:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-01 18:36:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18: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-01 18: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-01 18:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":120008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":120008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":120008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:36:26] 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-01 18:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425140736001,"66":25625,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425140736001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:36:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:36:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:36:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425140736001,"power":25625,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":120008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:36:26] local.INFO: GPS data processed {"connection_id":120008,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:36:26] local.INFO: Acknowledgment sent {"connection_id":120008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:36:58] local.INFO: TCP Data received {"connection_id":120008,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dc6f918012cb29ac007823b600047000a24..."} 
[2026-07-01 18:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dc6f918012cb29ac007823b600047000a24..."} 
[2026-07-01 18:36:58] local.INFO: Processing buffer {"connection_id":120008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dc6f918012cb29ac007823b600047000a24..."} 
[2026-07-01 18:36:58] local.INFO: Packet analysis {"connection_id":120008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dc6"} 
[2026-07-01 18:36:58] local.INFO: Extracted packet for processing {"connection_id":120008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dc6"} 
[2026-07-01 18:36:58] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 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-01 18:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425140736001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:36:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:36:58] 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-01 18:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782911007000,"timestamp_ms":1782911007000,"timestamp_seconds":1782911007,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dc6f918"} 
[2026-07-01 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-01 18:36:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-01 18:36:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 18:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:36:58] 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-01 18:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425140736001,"66":25625,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425140736001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:36:58] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:36:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:36:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425140736001,"power":25625,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":120008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:36:58] local.INFO: GPS data processed {"connection_id":120008,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:36:58] local.INFO: Acknowledgment sent {"connection_id":120008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:37:20] local.INFO: TCP Data received {"connection_id":119316,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:37:20] local.INFO: Processing buffer {"connection_id":119316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:37:20] local.INFO: IMEI packet received {"connection_id":119316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 18:37:20] local.INFO: IMEI acknowledgment sent {"connection_id":119316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:37:25] local.INFO: TCP Data received {"connection_id":119316,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:37:25] local.INFO: Processing buffer {"connection_id":119316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:37:25] local.INFO: IMEI packet received {"connection_id":119316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":119316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:37:26] local.INFO: TCP Data received {"connection_id":119316,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dc6f918012cb29ac007823b600047000a24..."} 
[2026-07-01 18:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dc6f918012cb29ac007823b600047000a24..."} 
[2026-07-01 18:37:26] local.INFO: Processing buffer {"connection_id":119316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dc6f918012cb29ac007823b600047000a24..."} 
[2026-07-01 18:37:26] local.INFO: Packet analysis {"connection_id":119316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dc6"} 
[2026-07-01 18:37:26] local.INFO: Extracted packet for processing {"connection_id":119316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dc6"} 
[2026-07-01 18:37:26] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:37:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425140736001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:37:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:37:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:37:26] 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-01 18:37:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782911007000,"timestamp_ms":1782911007000,"timestamp_seconds":1782911007,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dc6f918"} 
[2026-07-01 18:37:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:37:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-01 18:37:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:37:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:37:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:37:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:37:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:37:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:37:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:37:26] 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-01 18:37:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:37:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:37:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425140736001,"66":25625,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:37:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:37:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:37:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425140736001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:37:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:37:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:37:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:37:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:37:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425140736001,"power":25625,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:37:26] local.INFO: DEBUG: GPS processor result {"connection_id":119316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:37:26] local.INFO: GPS data processed {"connection_id":119316,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:37:26] local.INFO: Acknowledgment sent {"connection_id":119316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:37:45] local.INFO: TCP Data received {"connection_id":119211,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 18:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119211,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 18:37:45] local.INFO: Processing buffer {"connection_id":119211,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 18:37:45] local.INFO: IMEI packet received {"connection_id":119211,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 18:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":119211,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:38:00] local.INFO: TCP Data received {"connection_id":119316,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dc6f918012cb29ac007823b600047000a24..."} 
[2026-07-01 18:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dc6f918012cb29ac007823b600047000a24..."} 
[2026-07-01 18:38:00] local.INFO: Processing buffer {"connection_id":119316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dc6f918012cb29ac007823b600047000a24..."} 
[2026-07-01 18:38:00] local.INFO: Packet analysis {"connection_id":119316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dc6"} 
[2026-07-01 18:38:00] local.INFO: Extracted packet for processing {"connection_id":119316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dc6"} 
[2026-07-01 18:38:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18: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-01 18:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425140736001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:38:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:38:00] 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-01 18:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782911007000,"timestamp_ms":1782911007000,"timestamp_seconds":1782911007,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dc6f918"} 
[2026-07-01 18: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-01 18:38:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-01 18:38:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18: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-01 18: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-01 18:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":119316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":119316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":119316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:38:00] 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-01 18:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425140736001,"66":25625,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425140736001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:38:00] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:38:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:38:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425140736001,"power":25625,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":119316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:38:00] local.INFO: GPS data processed {"connection_id":119316,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:38:00] local.INFO: Acknowledgment sent {"connection_id":119316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:38:11] local.INFO: TCP Data received {"connection_id":120010,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120010,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:38:11] local.INFO: Processing buffer {"connection_id":120010,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 18:38:11] local.INFO: IMEI packet received {"connection_id":120010,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 18:38:11] local.ERROR: TCP Connection error {"connection_id":120010,"code":2,"message":"client closed"} 
[2026-07-01 18:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":120010,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:38:15] local.INFO: TCP Data received {"connection_id":121090,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 18:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121090,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 18:38:15] local.INFO: Processing buffer {"connection_id":121090,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 18:38:15] local.INFO: IMEI packet received {"connection_id":121090,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 18:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":121090,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:38:25] local.INFO: TCP Data received {"connection_id":119212,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:38:25] local.INFO: Processing buffer {"connection_id":119212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:38:25] local.INFO: IMEI packet received {"connection_id":119212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 18:38:25] local.INFO: IMEI acknowledgment sent {"connection_id":119212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:38:30] local.INFO: TCP Data received {"connection_id":119212,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:38:30] local.INFO: Processing buffer {"connection_id":119212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:38:30] local.INFO: IMEI packet received {"connection_id":119212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":119212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:38:31] local.INFO: TCP Data received {"connection_id":119212,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dc6f918012cb29ac007823b600047000a24..."} 
[2026-07-01 18:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dc6f918012cb29ac007823b600047000a24..."} 
[2026-07-01 18:38:31] local.INFO: Processing buffer {"connection_id":119212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dc6f918012cb29ac007823b600047000a24..."} 
[2026-07-01 18:38:31] local.INFO: Packet analysis {"connection_id":119212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dc6"} 
[2026-07-01 18:38:31] local.INFO: Extracted packet for processing {"connection_id":119212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dc6"} 
[2026-07-01 18:38:31] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425140736001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:38:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:38:31] 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-01 18:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782911007000,"timestamp_ms":1782911007000,"timestamp_seconds":1782911007,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dc6f918"} 
[2026-07-01 18:38:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:38:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-01 18:38:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:38:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:38:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:38:31] 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-01 18:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425140736001,"66":25625,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425140736001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:38:31] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:38:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:38:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425140736001,"power":25625,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":119212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:38:31] local.INFO: GPS data processed {"connection_id":119212,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:38:31] local.INFO: Acknowledgment sent {"connection_id":119212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:38:35] local.INFO: TCP Data received {"connection_id":119212,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dc6f918012cb29ac007823b600047000a24..."} 
[2026-07-01 18:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dc6f918012cb29ac007823b600047000a24..."} 
[2026-07-01 18:38:35] local.INFO: Processing buffer {"connection_id":119212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dc6f918012cb29ac007823b600047000a24..."} 
[2026-07-01 18:38:35] local.INFO: Packet analysis {"connection_id":119212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dc6"} 
[2026-07-01 18:38:35] local.INFO: Extracted packet for processing {"connection_id":119212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dc6"} 
[2026-07-01 18:38:35] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18: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-01 18:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425140736001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:38:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:38:35] 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-01 18:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782911007000,"timestamp_ms":1782911007000,"timestamp_seconds":1782911007,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dc6f918"} 
[2026-07-01 18: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-01 18:38:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-01 18:38:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18: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-01 18: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-01 18:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":119212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":119212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":119212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:38:35] 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-01 18:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425140736001,"66":25625,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425140736001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:38:35] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:38:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:38:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425140736001,"power":25625,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":119212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:38:35] local.INFO: GPS data processed {"connection_id":119212,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:38:35] local.INFO: Acknowledgment sent {"connection_id":119212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:39:20] local.INFO: TCP Data received {"connection_id":121091,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:39:20] local.INFO: Processing buffer {"connection_id":121091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:39:20] local.INFO: IMEI packet received {"connection_id":121091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 18:39:20] local.INFO: IMEI acknowledgment sent {"connection_id":121091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:39:25] local.INFO: TCP Data received {"connection_id":121091,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:39:25] local.INFO: Processing buffer {"connection_id":121091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:39:25] local.INFO: IMEI packet received {"connection_id":121091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:39:25] local.INFO: IMEI acknowledgment sent {"connection_id":121091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:39:26] local.INFO: TCP Data received {"connection_id":121091,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dcb90e0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dcb90e0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:39:26] local.INFO: Processing buffer {"connection_id":121091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dcb90e0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:39:26] local.INFO: Packet analysis {"connection_id":121091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dcb"} 
[2026-07-01 18:39:26] local.INFO: Extracted packet for processing {"connection_id":121091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dcb"} 
[2026-07-01 18:39:26] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:39:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425217792001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:39:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:39:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:39:26] 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-01 18:39:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782911308000,"timestamp_ms":1782911308000,"timestamp_seconds":1782911308,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dcb90e0"} 
[2026-07-01 18:39:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:39:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-01 18:39:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:39:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:39:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:39:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:39:26] local.INFO: Teltonika packet parsed successfully {"connection_id":121091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:39:26] local.INFO: Passing IMEI to GPS processor {"connection_id":121091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:39:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":121091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:39:26] 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-01 18:39:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:39:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:39:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425217792001,"66":25495,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:39:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:39:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:39:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425217792001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:39:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:39:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:39:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:39:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:39:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425217792001,"power":25495,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:39:26] local.INFO: DEBUG: GPS processor result {"connection_id":121091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:39:26] local.INFO: GPS data processed {"connection_id":121091,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:39:26] local.INFO: Acknowledgment sent {"connection_id":121091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:39:59] local.INFO: TCP Data received {"connection_id":121091,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dcb90e0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dcb90e0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:39:59] local.INFO: Processing buffer {"connection_id":121091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dcb90e0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:39:59] local.INFO: Packet analysis {"connection_id":121091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dcb"} 
[2026-07-01 18:39:59] local.INFO: Extracted packet for processing {"connection_id":121091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dcb"} 
[2026-07-01 18:39:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18: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-01 18:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425217792001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:39:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:39:59] 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-01 18:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782911308000,"timestamp_ms":1782911308000,"timestamp_seconds":1782911308,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dcb90e0"} 
[2026-07-01 18: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-01 18:39:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-01 18:39:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-01 18: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-01 18: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-01 18:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":121091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":121091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":121091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:39:59] 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-01 18:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425217792001,"66":25495,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425217792001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:39:59] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:39:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:39:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425217792001,"power":25495,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":121091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:39:59] local.INFO: GPS data processed {"connection_id":121091,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:39:59] local.INFO: Acknowledgment sent {"connection_id":121091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:40:20] local.INFO: TCP Data received {"connection_id":119319,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:40:20] local.INFO: Processing buffer {"connection_id":119319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:40:20] local.INFO: IMEI packet received {"connection_id":119319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 18:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":119319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:40:25] local.INFO: TCP Data received {"connection_id":119319,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:40:25] local.INFO: Processing buffer {"connection_id":119319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:40:25] local.INFO: IMEI packet received {"connection_id":119319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":119319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:40:26] local.INFO: TCP Data received {"connection_id":119319,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dcb90e0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dcb90e0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:40:26] local.INFO: Processing buffer {"connection_id":119319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dcb90e0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:40:26] local.INFO: Packet analysis {"connection_id":119319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dcb"} 
[2026-07-01 18:40:26] local.INFO: Extracted packet for processing {"connection_id":119319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dcb"} 
[2026-07-01 18:40:26] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 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-01 18:40:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425217792001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:40:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:40:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:40:26] 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-01 18:40:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782911308000,"timestamp_ms":1782911308000,"timestamp_seconds":1782911308,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dcb90e0"} 
[2026-07-01 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-01 18:40:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-01 18:40:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 18:40:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:40:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:40:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:40:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:40:26] 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-01 18:40:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:40:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:40:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425217792001,"66":25495,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:40:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:40:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:40:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425217792001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:40:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:40:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:40:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:40:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:40:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425217792001,"power":25495,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:40:26] local.INFO: DEBUG: GPS processor result {"connection_id":119319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:40:26] local.INFO: GPS data processed {"connection_id":119319,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:40:26] local.INFO: Acknowledgment sent {"connection_id":119319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:40:57] local.INFO: TCP Data received {"connection_id":119319,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dcb90e0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dcb90e0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:40:57] local.INFO: Processing buffer {"connection_id":119319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dcb90e0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:40:57] local.INFO: Packet analysis {"connection_id":119319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dcb"} 
[2026-07-01 18:40:57] local.INFO: Extracted packet for processing {"connection_id":119319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dcb"} 
[2026-07-01 18:40:57] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 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-01 18:40:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425217792001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:40:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:40:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:40:57] 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-01 18:40:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782911308000,"timestamp_ms":1782911308000,"timestamp_seconds":1782911308,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dcb90e0"} 
[2026-07-01 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-01 18:40:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-01 18:40:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 18:40:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:40:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:40:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:40:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:40:57] 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-01 18:40:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:40:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:40:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425217792001,"66":25495,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:40:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:40:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:40:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425217792001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:40:57] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:40:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:40:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:40:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:40:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425217792001,"power":25495,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:40:57] local.INFO: DEBUG: GPS processor result {"connection_id":119319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:40:57] local.INFO: GPS data processed {"connection_id":119319,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:40:57] local.INFO: Acknowledgment sent {"connection_id":119319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:41:20] local.INFO: TCP Data received {"connection_id":120013,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:41:20] local.INFO: Processing buffer {"connection_id":120013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:41:20] local.INFO: IMEI packet received {"connection_id":120013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 18:41:20] local.INFO: IMEI acknowledgment sent {"connection_id":120013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:41:25] local.INFO: TCP Data received {"connection_id":120013,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:41:25] local.INFO: Processing buffer {"connection_id":120013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:41:25] local.INFO: IMEI packet received {"connection_id":120013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":120013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:41:28] local.INFO: TCP Data received {"connection_id":120013,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dcb90e0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dcb90e0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:41:28] local.INFO: Processing buffer {"connection_id":120013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dcb90e0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:41:28] local.INFO: Packet analysis {"connection_id":120013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dcb"} 
[2026-07-01 18:41:28] local.INFO: Extracted packet for processing {"connection_id":120013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dcb"} 
[2026-07-01 18:41:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425217792001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:41:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:41:28] 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-01 18:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782911308000,"timestamp_ms":1782911308000,"timestamp_seconds":1782911308,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dcb90e0"} 
[2026-07-01 18:41:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:41:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-01 18:41:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:41:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:41:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":120013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":120013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":120013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:41:28] 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-01 18:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:41:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425217792001,"66":25495,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:41:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:41:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:41:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425217792001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:41:28] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:41:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:41:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:41:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:41:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425217792001,"power":25495,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":120013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:41:28] local.INFO: GPS data processed {"connection_id":120013,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:41:28] local.INFO: Acknowledgment sent {"connection_id":120013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:41:59] local.INFO: TCP Data received {"connection_id":120013,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dcb90e0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dcb90e0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:41:59] local.INFO: Processing buffer {"connection_id":120013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dcb90e0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:41:59] local.INFO: Packet analysis {"connection_id":120013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dcb"} 
[2026-07-01 18:41:59] local.INFO: Extracted packet for processing {"connection_id":120013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dcb"} 
[2026-07-01 18:41:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 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-01 18:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425217792001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:41:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:41:59] 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-01 18:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782911308000,"timestamp_ms":1782911308000,"timestamp_seconds":1782911308,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dcb90e0"} 
[2026-07-01 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-01 18:41:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-01 18:41:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-01 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-01 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-01 18:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":120013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":120013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":120013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:41:59] 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-01 18:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425217792001,"66":25495,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425217792001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:41:59] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:41:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:41:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425217792001,"power":25495,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":120013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:41:59] local.INFO: GPS data processed {"connection_id":120013,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:41:59] local.INFO: Acknowledgment sent {"connection_id":120013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:42:20] local.INFO: TCP Data received {"connection_id":119213,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:42:20] local.INFO: Processing buffer {"connection_id":119213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:42:20] local.INFO: IMEI packet received {"connection_id":119213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 18:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":119213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:42:25] local.INFO: TCP Data received {"connection_id":119213,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:42:25] local.INFO: Processing buffer {"connection_id":119213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:42:25] local.INFO: IMEI packet received {"connection_id":119213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":119213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:42:26] local.INFO: TCP Data received {"connection_id":119213,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dcb90e0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dcb90e0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:42:26] local.INFO: Processing buffer {"connection_id":119213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dcb90e0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:42:26] local.INFO: Packet analysis {"connection_id":119213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dcb"} 
[2026-07-01 18:42:26] local.INFO: Extracted packet for processing {"connection_id":119213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dcb"} 
[2026-07-01 18:42:26] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425217792001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:42:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:42:26] 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-01 18:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782911308000,"timestamp_ms":1782911308000,"timestamp_seconds":1782911308,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dcb90e0"} 
[2026-07-01 18:42:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:42:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-01 18:42:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:42:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:42:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:42:26] 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-01 18:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425217792001,"66":25495,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425217792001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:42:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:42:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:42:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425217792001,"power":25495,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":119213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:42:26] local.INFO: GPS data processed {"connection_id":119213,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:42:26] local.INFO: Acknowledgment sent {"connection_id":119213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:42:59] local.INFO: TCP Data received {"connection_id":119213,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dcb90e0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dcb90e0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:42:59] local.INFO: Processing buffer {"connection_id":119213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dcb90e0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:42:59] local.INFO: Packet analysis {"connection_id":119213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dcb"} 
[2026-07-01 18:42:59] local.INFO: Extracted packet for processing {"connection_id":119213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dcb"} 
[2026-07-01 18:42:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425217792001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:42:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:42:59] 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-01 18:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782911308000,"timestamp_ms":1782911308000,"timestamp_seconds":1782911308,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dcb90e0"} 
[2026-07-01 18:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:42:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-01 18:42:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-01 18:42:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:42:59] 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-01 18:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425217792001,"66":25495,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425217792001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:42:59] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:42:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:42:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425217792001,"power":25495,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":119213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:42:59] local.INFO: GPS data processed {"connection_id":119213,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:42:59] local.INFO: Acknowledgment sent {"connection_id":119213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:43:25] local.INFO: TCP Data received {"connection_id":121092,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:43:25] local.INFO: Processing buffer {"connection_id":121092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:43:25] local.INFO: IMEI packet received {"connection_id":121092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 18:43:25] local.INFO: IMEI acknowledgment sent {"connection_id":121092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:43:30] local.INFO: TCP Data received {"connection_id":121092,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:43:30] local.INFO: Processing buffer {"connection_id":121092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:43:30] local.INFO: IMEI packet received {"connection_id":121092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":121092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:43:31] local.INFO: TCP Data received {"connection_id":121092,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dcb90e0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dcb90e0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:43:31] local.INFO: Processing buffer {"connection_id":121092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dcb90e0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:43:31] local.INFO: Packet analysis {"connection_id":121092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dcb"} 
[2026-07-01 18:43:31] local.INFO: Extracted packet for processing {"connection_id":121092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dcb"} 
[2026-07-01 18:43:31] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425217792001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:43:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:43:31] 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-01 18:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782911308000,"timestamp_ms":1782911308000,"timestamp_seconds":1782911308,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dcb90e0"} 
[2026-07-01 18:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:43:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-01 18:43:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:43:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":121092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":121092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":121092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:43:31] 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-01 18:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425217792001,"66":25495,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425217792001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:43:31] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:43:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:43:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425217792001,"power":25495,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":121092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:43:31] local.INFO: GPS data processed {"connection_id":121092,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:43:31] local.INFO: Acknowledgment sent {"connection_id":121092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:43:36] local.INFO: TCP Data received {"connection_id":119214,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 18:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119214,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 18:43:36] local.INFO: Processing buffer {"connection_id":119214,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 18:43:36] local.INFO: IMEI packet received {"connection_id":119214,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 18:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":119214,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:44:02] local.INFO: TCP Data received {"connection_id":121092,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dcb90e0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dcb90e0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:44:02] local.INFO: Processing buffer {"connection_id":121092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dcb90e0012cb29ac007823b600047000a27..."} 
[2026-07-01 18:44:02] local.INFO: Packet analysis {"connection_id":121092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dcb"} 
[2026-07-01 18:44:02] local.INFO: Extracted packet for processing {"connection_id":121092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dcb"} 
[2026-07-01 18:44:02] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425217792001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:44:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:44:02] 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-01 18:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782911308000,"timestamp_ms":1782911308000,"timestamp_seconds":1782911308,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dcb90e0"} 
[2026-07-01 18:44:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:44:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-07-01 18:44:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:44:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:44:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":121092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":121092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":121092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:44:02] 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-01 18:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425217792001,"66":25495,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425217792001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:44:02] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:44:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:44:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425217792001,"power":25495,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":121092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:44:02] local.INFO: GPS data processed {"connection_id":121092,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:44:02] local.INFO: Acknowledgment sent {"connection_id":121092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:44:14] local.INFO: TCP Data received {"connection_id":119321,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 18:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119321,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 18:44:14] local.INFO: Processing buffer {"connection_id":119321,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 18:44:14] local.INFO: IMEI packet received {"connection_id":119321,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 18:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":119321,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:44:20] local.INFO: TCP Data received {"connection_id":119215,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:44:20] local.INFO: Processing buffer {"connection_id":119215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:44:20] local.INFO: IMEI packet received {"connection_id":119215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 18:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":119215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:44:25] local.INFO: TCP Data received {"connection_id":119215,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:44:25] local.INFO: Processing buffer {"connection_id":119215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:44:25] local.INFO: IMEI packet received {"connection_id":119215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":119215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:44:26] local.INFO: TCP Data received {"connection_id":119215,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dd028a8012cb29ac007823b600047000a28..."} 
[2026-07-01 18:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dd028a8012cb29ac007823b600047000a28..."} 
[2026-07-01 18:44:26] local.INFO: Processing buffer {"connection_id":119215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dd028a8012cb29ac007823b600047000a28..."} 
[2026-07-01 18:44:26] local.INFO: Packet analysis {"connection_id":119215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dd0"} 
[2026-07-01 18:44:26] local.INFO: Extracted packet for processing {"connection_id":119215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dd0"} 
[2026-07-01 18:44:26] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425294848001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:44:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:44:26] 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-01 18:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782911609000,"timestamp_ms":1782911609000,"timestamp_seconds":1782911609,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dd028a8"} 
[2026-07-01 18:44:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:44:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-01 18:44:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:44:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:44:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:44:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 18:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425294848001,"66":25462,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425294848001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:44:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:44:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:44:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:44:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425294848001,"power":25462,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":119215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:44:26] local.INFO: GPS data processed {"connection_id":119215,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:44:26] local.INFO: Acknowledgment sent {"connection_id":119215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:44:59] local.INFO: TCP Data received {"connection_id":119215,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dd028a8012cb29ac007823b600047000a28..."} 
[2026-07-01 18:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dd028a8012cb29ac007823b600047000a28..."} 
[2026-07-01 18:44:59] local.INFO: Processing buffer {"connection_id":119215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dd028a8012cb29ac007823b600047000a28..."} 
[2026-07-01 18:44:59] local.INFO: Packet analysis {"connection_id":119215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dd0"} 
[2026-07-01 18:44:59] local.INFO: Extracted packet for processing {"connection_id":119215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dd0"} 
[2026-07-01 18:44:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18:44:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425294848001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:44:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:44:59] 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-01 18:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782911609000,"timestamp_ms":1782911609000,"timestamp_seconds":1782911609,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dd028a8"} 
[2026-07-01 18:44:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:44:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:44:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-01 18:44:59] 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-01 18:44:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:44:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:44:59] 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-01 18:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425294848001,"66":25462,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425294848001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:44:59] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:44:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:44:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425294848001,"power":25462,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":119215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:44:59] local.INFO: GPS data processed {"connection_id":119215,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:44:59] local.INFO: Acknowledgment sent {"connection_id":119215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:45:20] local.INFO: TCP Data received {"connection_id":119322,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:45:20] local.INFO: Processing buffer {"connection_id":119322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:45:20] local.INFO: IMEI packet received {"connection_id":119322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 18:45:20] local.INFO: IMEI acknowledgment sent {"connection_id":119322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:45:25] local.INFO: TCP Data received {"connection_id":119322,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:45:25] local.INFO: Processing buffer {"connection_id":119322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:45:25] local.INFO: IMEI packet received {"connection_id":119322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":119322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:45:26] local.INFO: TCP Data received {"connection_id":119322,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dd028a8012cb29ac007823b600047000a28..."} 
[2026-07-01 18:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dd028a8012cb29ac007823b600047000a28..."} 
[2026-07-01 18:45:26] local.INFO: Processing buffer {"connection_id":119322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dd028a8012cb29ac007823b600047000a28..."} 
[2026-07-01 18:45:26] local.INFO: Packet analysis {"connection_id":119322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dd0"} 
[2026-07-01 18:45:26] local.INFO: Extracted packet for processing {"connection_id":119322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dd0"} 
[2026-07-01 18:45:26] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:45:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425294848001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:45:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:45:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:45:26] 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-01 18:45:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782911609000,"timestamp_ms":1782911609000,"timestamp_seconds":1782911609,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dd028a8"} 
[2026-07-01 18:45:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:45:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-01 18:45:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:45:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:45:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:45:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:45:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:45:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:45:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:45:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 18:45:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:45:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:45:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425294848001,"66":25462,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:45:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:45:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:45:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425294848001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:45:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:45:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:45:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:45:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:45:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425294848001,"power":25462,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:45:26] local.INFO: DEBUG: GPS processor result {"connection_id":119322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:45:26] local.INFO: GPS data processed {"connection_id":119322,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:45:26] local.INFO: Acknowledgment sent {"connection_id":119322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:45:57] local.INFO: TCP Data received {"connection_id":119322,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dd028a8012cb29ac007823b600047000a28..."} 
[2026-07-01 18:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dd028a8012cb29ac007823b600047000a28..."} 
[2026-07-01 18:45:57] local.INFO: Processing buffer {"connection_id":119322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dd028a8012cb29ac007823b600047000a28..."} 
[2026-07-01 18:45:57] local.INFO: Packet analysis {"connection_id":119322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dd0"} 
[2026-07-01 18:45:57] local.INFO: Extracted packet for processing {"connection_id":119322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dd0"} 
[2026-07-01 18:45:57] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:45:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425294848001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:45:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:45:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:45:57] 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-01 18:45:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782911609000,"timestamp_ms":1782911609000,"timestamp_seconds":1782911609,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dd028a8"} 
[2026-07-01 18:45:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:45:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-01 18:45:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:45:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:45:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:45:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:45:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:45:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:45:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:45:57] 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-01 18:45:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:45:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:45:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425294848001,"66":25462,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:45:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:45:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:45:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425294848001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:45:57] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:45:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:45:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:45:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:45:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425294848001,"power":25462,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:45:57] local.INFO: DEBUG: GPS processor result {"connection_id":119322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:45:57] local.INFO: GPS data processed {"connection_id":119322,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:45:57] local.INFO: Acknowledgment sent {"connection_id":119322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:46:20] local.INFO: TCP Data received {"connection_id":121094,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:46:20] local.INFO: Processing buffer {"connection_id":121094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:46:20] local.INFO: IMEI packet received {"connection_id":121094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 18:46:20] local.INFO: IMEI acknowledgment sent {"connection_id":121094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:46:25] local.INFO: TCP Data received {"connection_id":121094,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:46:25] local.INFO: Processing buffer {"connection_id":121094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:46:25] local.INFO: IMEI packet received {"connection_id":121094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":121094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:46:26] local.INFO: TCP Data received {"connection_id":121094,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dd028a8012cb29ac007823b600047000a28..."} 
[2026-07-01 18:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dd028a8012cb29ac007823b600047000a28..."} 
[2026-07-01 18:46:26] local.INFO: Processing buffer {"connection_id":121094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dd028a8012cb29ac007823b600047000a28..."} 
[2026-07-01 18:46:26] local.INFO: Packet analysis {"connection_id":121094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dd0"} 
[2026-07-01 18:46:26] local.INFO: Extracted packet for processing {"connection_id":121094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dd0"} 
[2026-07-01 18:46:26] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425294848001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:46:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:46:26] 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-01 18:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782911609000,"timestamp_ms":1782911609000,"timestamp_seconds":1782911609,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dd028a8"} 
[2026-07-01 18:46:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:46:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-01 18:46:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:46:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:46:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":121094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":121094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":121094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:46:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 18:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425294848001,"66":25462,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425294848001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:46:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:46:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:46:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425294848001,"power":25462,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":121094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:46:26] local.INFO: GPS data processed {"connection_id":121094,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:46:26] local.INFO: Acknowledgment sent {"connection_id":121094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:46:57] local.INFO: TCP Data received {"connection_id":121094,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dd028a8012cb29ac007823b600047000a28..."} 
[2026-07-01 18:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dd028a8012cb29ac007823b600047000a28..."} 
[2026-07-01 18:46:57] local.INFO: Processing buffer {"connection_id":121094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dd028a8012cb29ac007823b600047000a28..."} 
[2026-07-01 18:46:57] local.INFO: Packet analysis {"connection_id":121094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dd0"} 
[2026-07-01 18:46:57] local.INFO: Extracted packet for processing {"connection_id":121094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dd0"} 
[2026-07-01 18:46:57] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 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-01 18:46:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425294848001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:46:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:46:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:46:57] 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-01 18:46:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782911609000,"timestamp_ms":1782911609000,"timestamp_seconds":1782911609,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dd028a8"} 
[2026-07-01 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-01 18:46:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-01 18:46:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 18:46:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:46:57] local.INFO: Teltonika packet parsed successfully {"connection_id":121094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:46:57] local.INFO: Passing IMEI to GPS processor {"connection_id":121094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:46:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":121094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:46:57] 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-01 18:46:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:46:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:46:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425294848001,"66":25462,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:46:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:46:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:46:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425294848001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:46:57] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:46:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:46:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:46:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:46:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425294848001,"power":25462,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:46:57] local.INFO: DEBUG: GPS processor result {"connection_id":121094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:46:57] local.INFO: GPS data processed {"connection_id":121094,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:46:57] local.INFO: Acknowledgment sent {"connection_id":121094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:47:25] local.INFO: TCP Data received {"connection_id":119323,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:47:25] local.INFO: Processing buffer {"connection_id":119323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:47:25] local.INFO: IMEI packet received {"connection_id":119323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 18:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":119323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:47:30] local.INFO: TCP Data received {"connection_id":119323,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:47:30] local.INFO: Processing buffer {"connection_id":119323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:47:30] local.INFO: IMEI packet received {"connection_id":119323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":119323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:47:31] local.INFO: TCP Data received {"connection_id":119323,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dd028a8012cb29ac007823b600047000a28..."} 
[2026-07-01 18:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dd028a8012cb29ac007823b600047000a28..."} 
[2026-07-01 18:47:31] local.INFO: Processing buffer {"connection_id":119323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dd028a8012cb29ac007823b600047000a28..."} 
[2026-07-01 18:47:31] local.INFO: Packet analysis {"connection_id":119323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dd0"} 
[2026-07-01 18:47:31] local.INFO: Extracted packet for processing {"connection_id":119323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dd0"} 
[2026-07-01 18:47:31] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:47:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425294848001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:47:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:47:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:47:31] 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-01 18:47:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782911609000,"timestamp_ms":1782911609000,"timestamp_seconds":1782911609,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dd028a8"} 
[2026-07-01 18:47:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:47:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-01 18:47:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:47:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:47:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:47:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:47:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:47:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:47:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:47:31] 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-01 18:47:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:47:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:47:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425294848001,"66":25462,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:47:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:47:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:47:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425294848001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:47:31] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:47:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:47:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:47:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:47:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425294848001,"power":25462,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:47:31] local.INFO: DEBUG: GPS processor result {"connection_id":119323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:47:31] local.INFO: GPS data processed {"connection_id":119323,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:47:31] local.INFO: Acknowledgment sent {"connection_id":119323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:47:35] local.INFO: TCP Data received {"connection_id":119323,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dd028a8012cb29ac007823b600047000a28..."} 
[2026-07-01 18:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dd028a8012cb29ac007823b600047000a28..."} 
[2026-07-01 18:47:35] local.INFO: Processing buffer {"connection_id":119323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dd028a8012cb29ac007823b600047000a28..."} 
[2026-07-01 18:47:35] local.INFO: Packet analysis {"connection_id":119323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dd0"} 
[2026-07-01 18:47:35] local.INFO: Extracted packet for processing {"connection_id":119323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dd0"} 
[2026-07-01 18:47:35] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425294848001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:47:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:47:35] 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-01 18:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782911609000,"timestamp_ms":1782911609000,"timestamp_seconds":1782911609,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dd028a8"} 
[2026-07-01 18:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-01 18:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:47:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":119323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":119323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":119323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:47:35] 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-01 18:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425294848001,"66":25462,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425294848001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:47:35] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:47:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:47:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425294848001,"power":25462,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":119323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:47:35] local.INFO: GPS data processed {"connection_id":119323,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:47:35] local.INFO: Acknowledgment sent {"connection_id":119323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:48:21] local.INFO: TCP Data received {"connection_id":119219,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:48:21] local.INFO: Processing buffer {"connection_id":119219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:48:21] local.INFO: IMEI packet received {"connection_id":119219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 18:48:21] local.INFO: IMEI acknowledgment sent {"connection_id":119219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:48:27] local.INFO: TCP Data received {"connection_id":119219,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:48:27] local.INFO: Processing buffer {"connection_id":119219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:48:27] local.INFO: IMEI packet received {"connection_id":119219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":119219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:48:27] local.INFO: TCP Data received {"connection_id":119219,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dd028a8012cb29ac007823b600047000a28..."} 
[2026-07-01 18:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dd028a8012cb29ac007823b600047000a28..."} 
[2026-07-01 18:48:27] local.INFO: Processing buffer {"connection_id":119219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dd028a8012cb29ac007823b600047000a28..."} 
[2026-07-01 18:48:27] local.INFO: Packet analysis {"connection_id":119219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dd0"} 
[2026-07-01 18:48:27] local.INFO: Extracted packet for processing {"connection_id":119219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dd0"} 
[2026-07-01 18:48:27] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:48:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425294848001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:48:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:48:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:48:27] 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-01 18:48:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782911609000,"timestamp_ms":1782911609000,"timestamp_seconds":1782911609,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dd028a8"} 
[2026-07-01 18:48:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:48:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-01 18:48:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:48:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:48:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:48:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:48:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:48:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:48:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:48:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 18:48:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:48:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:48:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425294848001,"66":25462,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:48:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:48:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:48:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425294848001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:48:27] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:48:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:48:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:48:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:48:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425294848001,"power":25462,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:48:27] local.INFO: DEBUG: GPS processor result {"connection_id":119219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:48:27] local.INFO: GPS data processed {"connection_id":119219,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:48:27] local.INFO: Acknowledgment sent {"connection_id":119219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:48:30] local.INFO: TCP Data received {"connection_id":119219,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dd028a8012cb29ac007823b600047000a28..."} 
[2026-07-01 18:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dd028a8012cb29ac007823b600047000a28..."} 
[2026-07-01 18:48:30] local.INFO: Processing buffer {"connection_id":119219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dd028a8012cb29ac007823b600047000a28..."} 
[2026-07-01 18:48:30] local.INFO: Packet analysis {"connection_id":119219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dd0"} 
[2026-07-01 18:48:30] local.INFO: Extracted packet for processing {"connection_id":119219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dd0"} 
[2026-07-01 18:48:30] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975392,"longitude_deg":74.9902528,"latitude_deg":12.5975392,"altitude":71,"angle":10,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823b60","is_valid_coordinates":true} 
[2026-07-01 18: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-01 18:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425294848001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:48:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:48:30] 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-01 18:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782911609000,"timestamp_ms":1782911609000,"timestamp_seconds":1782911609,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dd028a8"} 
[2026-07-01 18: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-01 18:48:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-01 18:48:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18: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-01 18: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-01 18:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":119219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":119219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":119219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:48:30] 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-01 18:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425294848001,"66":25462,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425294848001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:48:30] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:48:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:48:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425294848001,"power":25462,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":119219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:48:30] local.INFO: GPS data processed {"connection_id":119219,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:48:30] local.INFO: Acknowledgment sent {"connection_id":119219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:49:01] local.INFO: TCP Data received {"connection_id":119219,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dd49190012cb29bc007823d600047002024..."} 
[2026-07-01 18:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dd49190012cb29bc007823d600047002024..."} 
[2026-07-01 18:49:01] local.INFO: Processing buffer {"connection_id":119219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dd49190012cb29bc007823d600047002024..."} 
[2026-07-01 18:49:01] local.INFO: Packet analysis {"connection_id":119219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dd4"} 
[2026-07-01 18:49:01] local.INFO: Extracted packet for processing {"connection_id":119219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dd4"} 
[2026-07-01 18:49:01] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975904,"longitude_deg":74.9902784,"latitude_deg":12.5975904,"altitude":71,"angle":32,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823d60","is_valid_coordinates":true} 
[2026-07-01 18:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425371904001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:49:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:49:01] 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-01 18:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782911898000,"timestamp_ms":1782911898000,"timestamp_seconds":1782911898,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dd49190"} 
[2026-07-01 18:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:49:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-01 18:49:01] 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-01 18:49:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":119219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":119219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":119219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:49:01] 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-01 18:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425371904001,"66":25495,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425371904001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:49:01] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:49:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:49:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425371904001,"power":25495,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":119219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:49:01] local.INFO: GPS data processed {"connection_id":119219,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:49:01] local.INFO: Acknowledgment sent {"connection_id":119219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:49:20] local.INFO: TCP Data received {"connection_id":120015,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:49:20] local.INFO: Processing buffer {"connection_id":120015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:49:20] local.INFO: IMEI packet received {"connection_id":120015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 18:49:20] local.INFO: IMEI acknowledgment sent {"connection_id":120015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:49:26] local.INFO: TCP Data received {"connection_id":120015,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:49:26] local.INFO: Processing buffer {"connection_id":120015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:49:26] local.INFO: IMEI packet received {"connection_id":120015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":120015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:49:27] local.INFO: TCP Data received {"connection_id":120015,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dd49190012cb29bc007823d600047002024..."} 
[2026-07-01 18:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dd49190012cb29bc007823d600047002024..."} 
[2026-07-01 18:49:27] local.INFO: Processing buffer {"connection_id":120015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dd49190012cb29bc007823d600047002024..."} 
[2026-07-01 18:49:27] local.INFO: Packet analysis {"connection_id":120015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dd4"} 
[2026-07-01 18:49:27] local.INFO: Extracted packet for processing {"connection_id":120015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dd4"} 
[2026-07-01 18:49:27] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975904,"longitude_deg":74.9902784,"latitude_deg":12.5975904,"altitude":71,"angle":32,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823d60","is_valid_coordinates":true} 
[2026-07-01 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-01 18:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425371904001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:49:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:49:27] 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-01 18:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782911898000,"timestamp_ms":1782911898000,"timestamp_seconds":1782911898,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dd49190"} 
[2026-07-01 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-01 18:49:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-01 18:49:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 18:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:49:27] 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-01 18:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425371904001,"66":25495,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425371904001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:49:27] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:49:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:49:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425371904001,"power":25495,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":120015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:49:27] local.INFO: GPS data processed {"connection_id":120015,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:49:27] local.INFO: Acknowledgment sent {"connection_id":120015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:49:45] local.INFO: TCP Data received {"connection_id":120014,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 18:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120014,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 18:49:45] local.INFO: Processing buffer {"connection_id":120014,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 18:49:45] local.INFO: IMEI packet received {"connection_id":120014,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 18:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":120014,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:49:58] local.INFO: TCP Data received {"connection_id":120015,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dd49190012cb29bc007823d600047002024..."} 
[2026-07-01 18:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dd49190012cb29bc007823d600047002024..."} 
[2026-07-01 18:49:58] local.INFO: Processing buffer {"connection_id":120015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dd49190012cb29bc007823d600047002024..."} 
[2026-07-01 18:49:58] local.INFO: Packet analysis {"connection_id":120015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dd4"} 
[2026-07-01 18:49:58] local.INFO: Extracted packet for processing {"connection_id":120015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dd4"} 
[2026-07-01 18:49:58] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975904,"longitude_deg":74.9902784,"latitude_deg":12.5975904,"altitude":71,"angle":32,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823d60","is_valid_coordinates":true} 
[2026-07-01 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-01 18:49:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425371904001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:49:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:49:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:49:58] 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-01 18:49:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782911898000,"timestamp_ms":1782911898000,"timestamp_seconds":1782911898,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dd49190"} 
[2026-07-01 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-01 18:49:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-01 18:49:58] 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-01 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-01 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-01 18:49:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:49:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:49:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:49:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:49:58] 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-01 18:49:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:49:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:49:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425371904001,"66":25495,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:49:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:49:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:49:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425371904001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:49:58] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:49:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:49:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:49:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:49:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425371904001,"power":25495,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:49:58] local.INFO: DEBUG: GPS processor result {"connection_id":120015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:49:58] local.INFO: GPS data processed {"connection_id":120015,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:49:58] local.INFO: Acknowledgment sent {"connection_id":120015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:50:15] local.INFO: TCP Data received {"connection_id":120016,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 18:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120016,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 18:50:15] local.INFO: Processing buffer {"connection_id":120016,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 18:50:15] local.INFO: IMEI packet received {"connection_id":120016,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 18:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":120016,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:50:20] local.INFO: TCP Data received {"connection_id":119220,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:50:20] local.INFO: Processing buffer {"connection_id":119220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:50:20] local.INFO: IMEI packet received {"connection_id":119220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 18:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":119220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:50:25] local.INFO: TCP Data received {"connection_id":119220,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:50:25] local.INFO: Processing buffer {"connection_id":119220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:50:25] local.INFO: IMEI packet received {"connection_id":119220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":119220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:50:29] local.INFO: TCP Data received {"connection_id":119220,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dd49190012cb29bc007823d600047002024..."} 
[2026-07-01 18:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dd49190012cb29bc007823d600047002024..."} 
[2026-07-01 18:50:29] local.INFO: Processing buffer {"connection_id":119220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dd49190012cb29bc007823d600047002024..."} 
[2026-07-01 18:50:29] local.INFO: Packet analysis {"connection_id":119220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dd4"} 
[2026-07-01 18:50:29] local.INFO: Extracted packet for processing {"connection_id":119220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dd4"} 
[2026-07-01 18:50:29] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975904,"longitude_deg":74.9902784,"latitude_deg":12.5975904,"altitude":71,"angle":32,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823d60","is_valid_coordinates":true} 
[2026-07-01 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-01 18:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425371904001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:50:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:50:29] 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-01 18:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782911898000,"timestamp_ms":1782911898000,"timestamp_seconds":1782911898,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dd49190"} 
[2026-07-01 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-01 18:50:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-01 18:50:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 18:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":119220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":119220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":119220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:50:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 18:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425371904001,"66":25495,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425371904001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:50:29] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:50:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:50:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:50:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425371904001,"power":25495,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":119220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:50:29] local.INFO: GPS data processed {"connection_id":119220,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:50:29] local.INFO: Acknowledgment sent {"connection_id":119220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:51:00] local.INFO: TCP Data received {"connection_id":119220,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dd49190012cb29bc007823d600047002024..."} 
[2026-07-01 18:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dd49190012cb29bc007823d600047002024..."} 
[2026-07-01 18:51:00] local.INFO: Processing buffer {"connection_id":119220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dd49190012cb29bc007823d600047002024..."} 
[2026-07-01 18:51:00] local.INFO: Packet analysis {"connection_id":119220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dd4"} 
[2026-07-01 18:51:00] local.INFO: Extracted packet for processing {"connection_id":119220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dd4"} 
[2026-07-01 18:51:00] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975904,"longitude_deg":74.9902784,"latitude_deg":12.5975904,"altitude":71,"angle":32,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823d60","is_valid_coordinates":true} 
[2026-07-01 18:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425371904001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:51:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:51:00] 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-01 18:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782911898000,"timestamp_ms":1782911898000,"timestamp_seconds":1782911898,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dd49190"} 
[2026-07-01 18:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:51:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-01 18:51:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:51:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":119220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":119220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":119220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:51: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-01 18:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425371904001,"66":25495,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425371904001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:51:00] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:51:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:51:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425371904001,"power":25495,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":119220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:51:00] local.INFO: GPS data processed {"connection_id":119220,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:51:00] local.INFO: Acknowledgment sent {"connection_id":119220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:51:25] local.INFO: TCP Data received {"connection_id":121096,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:51:25] local.INFO: Processing buffer {"connection_id":121096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:51:25] local.INFO: IMEI packet received {"connection_id":121096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 18:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":121096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:51:31] local.INFO: TCP Data received {"connection_id":121096,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:51:31] local.INFO: Processing buffer {"connection_id":121096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:51:31] local.INFO: IMEI packet received {"connection_id":121096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":121096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:51:34] local.INFO: TCP Data received {"connection_id":121096,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dd49190012cb29bc007823d600047002024..."} 
[2026-07-01 18:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dd49190012cb29bc007823d600047002024..."} 
[2026-07-01 18:51:34] local.INFO: Processing buffer {"connection_id":121096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dd49190012cb29bc007823d600047002024..."} 
[2026-07-01 18:51:34] local.INFO: Packet analysis {"connection_id":121096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dd4"} 
[2026-07-01 18:51:34] local.INFO: Extracted packet for processing {"connection_id":121096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dd4"} 
[2026-07-01 18:51:34] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975904,"longitude_deg":74.9902784,"latitude_deg":12.5975904,"altitude":71,"angle":32,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823d60","is_valid_coordinates":true} 
[2026-07-01 18:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425371904001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:51:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:51:34] 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-01 18:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782911898000,"timestamp_ms":1782911898000,"timestamp_seconds":1782911898,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dd49190"} 
[2026-07-01 18:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:51:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-01 18:51:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:51:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":121096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":121096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":121096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:51:34] 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-01 18:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425371904001,"66":25495,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425371904001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:51:34] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:51:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:51:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425371904001,"power":25495,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":121096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:51:34] local.INFO: GPS data processed {"connection_id":121096,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:51:34] local.INFO: Acknowledgment sent {"connection_id":121096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:51:38] local.INFO: TCP Data received {"connection_id":121096,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dd49190012cb29bc007823d600047002024..."} 
[2026-07-01 18:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dd49190012cb29bc007823d600047002024..."} 
[2026-07-01 18:51:38] local.INFO: Processing buffer {"connection_id":121096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dd49190012cb29bc007823d600047002024..."} 
[2026-07-01 18:51:38] local.INFO: Packet analysis {"connection_id":121096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dd4"} 
[2026-07-01 18:51:38] local.INFO: Extracted packet for processing {"connection_id":121096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dd4"} 
[2026-07-01 18:51:38] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975904,"longitude_deg":74.9902784,"latitude_deg":12.5975904,"altitude":71,"angle":32,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823d60","is_valid_coordinates":true} 
[2026-07-01 18:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425371904001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:51:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:51:38] 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-01 18:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1782911898000,"timestamp_ms":1782911898000,"timestamp_seconds":1782911898,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dd49190"} 
[2026-07-01 18:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-01 18:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:51:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":121096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":121096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":121096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 18:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425371904001,"66":25495,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425371904001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:51:38] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:51:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:51:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425371904001,"power":25495,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":121096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:51:38] local.INFO: GPS data processed {"connection_id":121096,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:51:38] local.INFO: Acknowledgment sent {"connection_id":121096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:52:20] local.INFO: TCP Data received {"connection_id":121097,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:52:20] local.INFO: Processing buffer {"connection_id":121097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:52:20] local.INFO: IMEI packet received {"connection_id":121097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 18:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":121097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:52:25] local.INFO: TCP Data received {"connection_id":121097,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:52:25] local.INFO: Processing buffer {"connection_id":121097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:52:25] local.INFO: IMEI packet received {"connection_id":121097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:52:25] local.INFO: IMEI acknowledgment sent {"connection_id":121097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:52:26] local.INFO: TCP Data received {"connection_id":121097,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dd49190012cb29bc007823d600047002024..."} 
[2026-07-01 18:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dd49190012cb29bc007823d600047002024..."} 
[2026-07-01 18:52:26] local.INFO: Processing buffer {"connection_id":121097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dd49190012cb29bc007823d600047002024..."} 
[2026-07-01 18:52:26] local.INFO: Packet analysis {"connection_id":121097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dd4"} 
[2026-07-01 18:52:26] local.INFO: Extracted packet for processing {"connection_id":121097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dd4"} 
[2026-07-01 18:52:26] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975904,"longitude_deg":74.9902784,"latitude_deg":12.5975904,"altitude":71,"angle":32,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823d60","is_valid_coordinates":true} 
[2026-07-01 18:52: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-01 18:52:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425371904001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:52:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:52:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:52:26] 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-01 18:52:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782911898000,"timestamp_ms":1782911898000,"timestamp_seconds":1782911898,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dd49190"} 
[2026-07-01 18:52:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:52:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-01 18:52:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:52:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:52:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:52:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:52:26] local.INFO: Teltonika packet parsed successfully {"connection_id":121097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:52:26] local.INFO: Passing IMEI to GPS processor {"connection_id":121097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:52:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":121097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:52:26] 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-01 18:52:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:52:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:52:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425371904001,"66":25495,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:52:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:52:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:52:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425371904001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:52:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:52:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:52:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:52:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:52:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425371904001,"power":25495,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:52:26] local.INFO: DEBUG: GPS processor result {"connection_id":121097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:52:26] local.INFO: GPS data processed {"connection_id":121097,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:52:26] local.INFO: Acknowledgment sent {"connection_id":121097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:52:30] local.INFO: TCP Data received {"connection_id":121097,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dd49190012cb29bc007823d600047002024..."} 
[2026-07-01 18:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dd49190012cb29bc007823d600047002024..."} 
[2026-07-01 18:52:30] local.INFO: Processing buffer {"connection_id":121097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dd49190012cb29bc007823d600047002024..."} 
[2026-07-01 18:52:30] local.INFO: Packet analysis {"connection_id":121097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dd4"} 
[2026-07-01 18:52:30] local.INFO: Extracted packet for processing {"connection_id":121097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dd4"} 
[2026-07-01 18:52:30] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975904,"longitude_deg":74.9902784,"latitude_deg":12.5975904,"altitude":71,"angle":32,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823d60","is_valid_coordinates":true} 
[2026-07-01 18:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425371904001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:52:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:52:30] 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-01 18:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782911898000,"timestamp_ms":1782911898000,"timestamp_seconds":1782911898,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dd49190"} 
[2026-07-01 18:52:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:52:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-01 18:52:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:52:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:52:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":121097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":121097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":121097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:52:30] 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-01 18:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425371904001,"66":25495,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425371904001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:52:30] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:52:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:52:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:52:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425371904001,"power":25495,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":121097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:52:30] local.INFO: GPS data processed {"connection_id":121097,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:52:30] local.INFO: Acknowledgment sent {"connection_id":121097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:53:02] local.INFO: TCP Data received {"connection_id":121097,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dd49190012cb29bc007823d600047002024..."} 
[2026-07-01 18:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dd49190012cb29bc007823d600047002024..."} 
[2026-07-01 18:53:02] local.INFO: Processing buffer {"connection_id":121097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dd49190012cb29bc007823d600047002024..."} 
[2026-07-01 18:53:02] local.INFO: Packet analysis {"connection_id":121097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dd4"} 
[2026-07-01 18:53:02] local.INFO: Extracted packet for processing {"connection_id":121097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dd4"} 
[2026-07-01 18:53:02] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975904,"longitude_deg":74.9902784,"latitude_deg":12.5975904,"altitude":71,"angle":32,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823d60","is_valid_coordinates":true} 
[2026-07-01 18:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425371904001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:53:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:53:02] 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-01 18:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782911898000,"timestamp_ms":1782911898000,"timestamp_seconds":1782911898,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dd49190"} 
[2026-07-01 18:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:53:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-01 18:53:02] 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-01 18:53:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":121097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":121097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":121097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 18:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425371904001,"66":25495,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425371904001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:53:02] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:53:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:53:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425371904001,"power":25495,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":121097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:53:02] local.INFO: GPS data processed {"connection_id":121097,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:53:02] local.INFO: Acknowledgment sent {"connection_id":121097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:53:24] local.INFO: TCP Data received {"connection_id":119222,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:53:24] local.INFO: Processing buffer {"connection_id":119222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:53:24] local.INFO: IMEI packet received {"connection_id":119222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 18:53:24] local.INFO: IMEI acknowledgment sent {"connection_id":119222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:53:25] local.INFO: TCP Data received {"connection_id":119222,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:53:25] local.INFO: Processing buffer {"connection_id":119222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:53:25] local.INFO: IMEI packet received {"connection_id":119222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:53:25] local.INFO: IMEI acknowledgment sent {"connection_id":119222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:53:26] local.INFO: TCP Data received {"connection_id":119222,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dd49190012cb29bc007823d600047002024..."} 
[2026-07-01 18:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dd49190012cb29bc007823d600047002024..."} 
[2026-07-01 18:53:26] local.INFO: Processing buffer {"connection_id":119222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dd49190012cb29bc007823d600047002024..."} 
[2026-07-01 18:53:26] local.INFO: Packet analysis {"connection_id":119222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dd4"} 
[2026-07-01 18:53:26] local.INFO: Extracted packet for processing {"connection_id":119222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dd4"} 
[2026-07-01 18:53:26] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975904,"longitude_deg":74.9902784,"latitude_deg":12.5975904,"altitude":71,"angle":32,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823d60","is_valid_coordinates":true} 
[2026-07-01 18:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425371904001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:53:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:53:26] 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-01 18:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782911898000,"timestamp_ms":1782911898000,"timestamp_seconds":1782911898,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dd49190"} 
[2026-07-01 18:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:53:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-01 18:53:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:53:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:53:26] 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-01 18:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425371904001,"66":25495,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425371904001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:53:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:53:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:53:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425371904001,"power":25495,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":119222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:53:26] local.INFO: GPS data processed {"connection_id":119222,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:53:26] local.INFO: Acknowledgment sent {"connection_id":119222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:53:30] local.INFO: TCP Data received {"connection_id":119222,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dd49190012cb29bc007823d600047002024..."} 
[2026-07-01 18:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dd49190012cb29bc007823d600047002024..."} 
[2026-07-01 18:53:30] local.INFO: Processing buffer {"connection_id":119222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dd49190012cb29bc007823d600047002024..."} 
[2026-07-01 18:53:30] local.INFO: Packet analysis {"connection_id":119222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dd4"} 
[2026-07-01 18:53:30] local.INFO: Extracted packet for processing {"connection_id":119222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dd4"} 
[2026-07-01 18:53:30] local.INFO: GPS Element Parsed {"raw_longitude":749902784,"raw_latitude":125975904,"longitude_deg":74.9902784,"latitude_deg":12.5975904,"altitude":71,"angle":32,"satellites":36,"speed":0,"hex_longitude":"2cb29bc0","hex_latitude":"07823d60","is_valid_coordinates":true} 
[2026-07-01 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-01 18:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425371904001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:53:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062704640,"note":"Value kept but may cause issues"} 
[2026-07-01 18:53:30] 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-01 18:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782911898000,"timestamp_ms":1782911898000,"timestamp_seconds":1782911898,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dd49190"} 
[2026-07-01 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-01 18:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-07-01 18:53:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 18:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":119222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":119222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":119222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:53:30] 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-01 18:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425371904001,"66":25495,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062704640},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425371904001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:53:30] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:53:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:53:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062704640,"description":"Unknown IO ID 44"} 
[2026-07-01 18:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425371904001,"power":25495,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062704640}} 
[2026-07-01 18:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":119222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:53:30] local.INFO: GPS data processed {"connection_id":119222,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:53:30] local.INFO: Acknowledgment sent {"connection_id":119222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:54:02] local.INFO: TCP Data received {"connection_id":119222,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dd92958012cb29ac007823d88004700202a..."} 
[2026-07-01 18:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dd92958012cb29ac007823d88004700202a..."} 
[2026-07-01 18:54:02] local.INFO: Processing buffer {"connection_id":119222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dd92958012cb29ac007823d88004700202a..."} 
[2026-07-01 18:54:02] local.INFO: Packet analysis {"connection_id":119222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dd9"} 
[2026-07-01 18:54:02] local.INFO: Extracted packet for processing {"connection_id":119222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dd9"} 
[2026-07-01 18:54:02] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 18:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425445888001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:54:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575085862912,"note":"Value kept but may cause issues"} 
[2026-07-01 18:54:02] 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-01 18:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782912199000,"timestamp_ms":1782912199000,"timestamp_seconds":1782912199,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dd92958"} 
[2026-07-01 18:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:54:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-01 18:54:02] 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-01 18:54:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":119222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":119222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":119222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:54:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 18:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425445888001,"66":25473,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576652575085862912},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425445888001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:54:02] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:54:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:54:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575085862912,"description":"Unknown IO ID 44"} 
[2026-07-01 18:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425445888001,"power":25473,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576652575085862912}} 
[2026-07-01 18:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":119222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:54:02] local.INFO: GPS data processed {"connection_id":119222,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:54:02] local.INFO: Acknowledgment sent {"connection_id":119222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:54:20] local.INFO: TCP Data received {"connection_id":120017,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:54:20] local.INFO: Processing buffer {"connection_id":120017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:54:20] local.INFO: IMEI packet received {"connection_id":120017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 18:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":120017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:54:25] local.INFO: TCP Data received {"connection_id":120017,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:54:25] local.INFO: Processing buffer {"connection_id":120017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:54:25] local.INFO: IMEI packet received {"connection_id":120017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:54:25] local.INFO: IMEI acknowledgment sent {"connection_id":120017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:54:26] local.INFO: TCP Data received {"connection_id":120017,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dd92958012cb29ac007823d88004700202a..."} 
[2026-07-01 18:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dd92958012cb29ac007823d88004700202a..."} 
[2026-07-01 18:54:26] local.INFO: Processing buffer {"connection_id":120017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dd92958012cb29ac007823d88004700202a..."} 
[2026-07-01 18:54:26] local.INFO: Packet analysis {"connection_id":120017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dd9"} 
[2026-07-01 18:54:26] local.INFO: Extracted packet for processing {"connection_id":120017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dd9"} 
[2026-07-01 18:54:26] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 18:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:54:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425445888001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:54:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:54:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575085862912,"note":"Value kept but may cause issues"} 
[2026-07-01 18:54:26] 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-01 18:54:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782912199000,"timestamp_ms":1782912199000,"timestamp_seconds":1782912199,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dd92958"} 
[2026-07-01 18:54:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:54:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-01 18:54:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:54:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:54:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:54:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:54:26] local.INFO: Teltonika packet parsed successfully {"connection_id":120017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:54:26] local.INFO: Passing IMEI to GPS processor {"connection_id":120017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:54:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":120017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:54:26] 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-01 18:54:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:54:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:54:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425445888001,"66":25473,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576652575085862912},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:54:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:54:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:54:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425445888001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:54:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:54:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:54:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:54:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575085862912,"description":"Unknown IO ID 44"} 
[2026-07-01 18:54:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425445888001,"power":25473,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576652575085862912}} 
[2026-07-01 18:54:26] local.INFO: DEBUG: GPS processor result {"connection_id":120017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:54:26] local.INFO: GPS data processed {"connection_id":120017,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:54:26] local.INFO: Acknowledgment sent {"connection_id":120017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:54:57] local.INFO: TCP Data received {"connection_id":120017,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dd92958012cb29ac007823d88004700202a..."} 
[2026-07-01 18:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dd92958012cb29ac007823d88004700202a..."} 
[2026-07-01 18:54:57] local.INFO: Processing buffer {"connection_id":120017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dd92958012cb29ac007823d88004700202a..."} 
[2026-07-01 18:54:57] local.INFO: Packet analysis {"connection_id":120017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dd9"} 
[2026-07-01 18:54:57] local.INFO: Extracted packet for processing {"connection_id":120017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dd9"} 
[2026-07-01 18:54:57] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 18:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:54:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425445888001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:54:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:54:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575085862912,"note":"Value kept but may cause issues"} 
[2026-07-01 18:54:57] 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-01 18:54:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782912199000,"timestamp_ms":1782912199000,"timestamp_seconds":1782912199,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dd92958"} 
[2026-07-01 18:54:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:54:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-01 18:54:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:54:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:54:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:54:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:54:57] local.INFO: Teltonika packet parsed successfully {"connection_id":120017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:54:57] local.INFO: Passing IMEI to GPS processor {"connection_id":120017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:54:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":120017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:54:57] 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-01 18:54:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:54:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:54:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425445888001,"66":25473,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576652575085862912},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:54:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:54:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:54:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425445888001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:54:57] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:54:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:54:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:54:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575085862912,"description":"Unknown IO ID 44"} 
[2026-07-01 18:54:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425445888001,"power":25473,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576652575085862912}} 
[2026-07-01 18:54:57] local.INFO: DEBUG: GPS processor result {"connection_id":120017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:54:57] local.INFO: GPS data processed {"connection_id":120017,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:54:57] local.INFO: Acknowledgment sent {"connection_id":120017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:55:20] local.INFO: TCP Data received {"connection_id":119327,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:55:20] local.INFO: Processing buffer {"connection_id":119327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:55:20] local.INFO: IMEI packet received {"connection_id":119327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 18:55:20] local.INFO: IMEI acknowledgment sent {"connection_id":119327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:55:25] local.INFO: TCP Data received {"connection_id":119327,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:55:25] local.INFO: Processing buffer {"connection_id":119327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:55:25] local.INFO: IMEI packet received {"connection_id":119327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":119327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:55:26] local.INFO: TCP Data received {"connection_id":119327,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dd92958012cb29ac007823d88004700202a..."} 
[2026-07-01 18:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dd92958012cb29ac007823d88004700202a..."} 
[2026-07-01 18:55:26] local.INFO: Processing buffer {"connection_id":119327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dd92958012cb29ac007823d88004700202a..."} 
[2026-07-01 18:55:26] local.INFO: Packet analysis {"connection_id":119327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dd9"} 
[2026-07-01 18:55:26] local.INFO: Extracted packet for processing {"connection_id":119327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dd9"} 
[2026-07-01 18:55:26] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 18:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:55:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425445888001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:55:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:55:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575085862912,"note":"Value kept but may cause issues"} 
[2026-07-01 18:55:26] 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-01 18:55:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782912199000,"timestamp_ms":1782912199000,"timestamp_seconds":1782912199,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dd92958"} 
[2026-07-01 18:55:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:55:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-01 18:55:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:55:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:55:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:55:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:55:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:55:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:55:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:55:26] 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-01 18:55:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:55:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:55:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425445888001,"66":25473,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576652575085862912},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:55:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:55:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:55:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425445888001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:55:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:55:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:55:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:55:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575085862912,"description":"Unknown IO ID 44"} 
[2026-07-01 18:55:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425445888001,"power":25473,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576652575085862912}} 
[2026-07-01 18:55:26] local.INFO: DEBUG: GPS processor result {"connection_id":119327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:55:26] local.INFO: GPS data processed {"connection_id":119327,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:55:26] local.INFO: Acknowledgment sent {"connection_id":119327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:55:50] local.INFO: TCP Data received {"connection_id":119326,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 18:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119326,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 18:55:50] local.INFO: Processing buffer {"connection_id":119326,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 18:55:50] local.INFO: IMEI packet received {"connection_id":119326,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 18:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":119326,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:55:57] local.INFO: TCP Data received {"connection_id":119327,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dd92958012cb29ac007823d88004700202a..."} 
[2026-07-01 18:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dd92958012cb29ac007823d88004700202a..."} 
[2026-07-01 18:55:57] local.INFO: Processing buffer {"connection_id":119327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dd92958012cb29ac007823d88004700202a..."} 
[2026-07-01 18:55:57] local.INFO: Packet analysis {"connection_id":119327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dd9"} 
[2026-07-01 18:55:57] local.INFO: Extracted packet for processing {"connection_id":119327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dd9"} 
[2026-07-01 18:55:57] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 18:55: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-01 18:55:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425445888001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:55:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:55:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575085862912,"note":"Value kept but may cause issues"} 
[2026-07-01 18:55:57] 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-01 18:55:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782912199000,"timestamp_ms":1782912199000,"timestamp_seconds":1782912199,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dd92958"} 
[2026-07-01 18:55:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:55:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:55:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-01 18:55:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:55: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-01 18:55:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:55:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:55:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:55:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:55:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:55:57] 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-01 18:55:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:55:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:55:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425445888001,"66":25473,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576652575085862912},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:55:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:55:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:55:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425445888001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:55:57] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:55:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:55:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:55:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575085862912,"description":"Unknown IO ID 44"} 
[2026-07-01 18:55:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425445888001,"power":25473,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576652575085862912}} 
[2026-07-01 18:55:57] local.INFO: DEBUG: GPS processor result {"connection_id":119327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:55:57] local.INFO: GPS data processed {"connection_id":119327,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:55:57] local.INFO: Acknowledgment sent {"connection_id":119327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:56:15] local.INFO: TCP Data received {"connection_id":119223,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 18:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119223,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 18:56:15] local.INFO: Processing buffer {"connection_id":119223,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 18:56:15] local.INFO: IMEI packet received {"connection_id":119223,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 18:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":119223,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:56:25] local.INFO: TCP Data received {"connection_id":119224,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:56:25] local.INFO: Processing buffer {"connection_id":119224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:56:25] local.INFO: IMEI packet received {"connection_id":119224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 18:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":119224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:56:30] local.INFO: TCP Data received {"connection_id":119224,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:56:30] local.INFO: Processing buffer {"connection_id":119224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:56:30] local.INFO: IMEI packet received {"connection_id":119224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":119224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:56:31] local.INFO: TCP Data received {"connection_id":119224,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dd92958012cb29ac007823d88004700202a..."} 
[2026-07-01 18:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dd92958012cb29ac007823d88004700202a..."} 
[2026-07-01 18:56:31] local.INFO: Processing buffer {"connection_id":119224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dd92958012cb29ac007823d88004700202a..."} 
[2026-07-01 18:56:31] local.INFO: Packet analysis {"connection_id":119224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dd9"} 
[2026-07-01 18:56:31] local.INFO: Extracted packet for processing {"connection_id":119224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dd9"} 
[2026-07-01 18:56:31] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 18:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425445888001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:56:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575085862912,"note":"Value kept but may cause issues"} 
[2026-07-01 18:56:31] 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-01 18:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782912199000,"timestamp_ms":1782912199000,"timestamp_seconds":1782912199,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dd92958"} 
[2026-07-01 18:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:56:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-01 18:56:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:56:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:56:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 18:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425445888001,"66":25473,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576652575085862912},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425445888001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:56:31] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:56:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:56:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575085862912,"description":"Unknown IO ID 44"} 
[2026-07-01 18:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425445888001,"power":25473,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576652575085862912}} 
[2026-07-01 18:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":119224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:56:31] local.INFO: GPS data processed {"connection_id":119224,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:56:31] local.INFO: Acknowledgment sent {"connection_id":119224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:56:35] local.INFO: TCP Data received {"connection_id":119224,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dd92958012cb29ac007823d88004700202a..."} 
[2026-07-01 18:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dd92958012cb29ac007823d88004700202a..."} 
[2026-07-01 18:56:35] local.INFO: Processing buffer {"connection_id":119224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dd92958012cb29ac007823d88004700202a..."} 
[2026-07-01 18:56:35] local.INFO: Packet analysis {"connection_id":119224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dd9"} 
[2026-07-01 18:56:35] local.INFO: Extracted packet for processing {"connection_id":119224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dd9"} 
[2026-07-01 18:56:35] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 18:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425445888001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:56:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575085862912,"note":"Value kept but may cause issues"} 
[2026-07-01 18:56:35] 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-01 18:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782912199000,"timestamp_ms":1782912199000,"timestamp_seconds":1782912199,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dd92958"} 
[2026-07-01 18:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:56:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-01 18:56:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:56:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":119224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":119224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":119224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:56:35] 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-01 18:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425445888001,"66":25473,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576652575085862912},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425445888001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:56:35] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:56:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:56:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575085862912,"description":"Unknown IO ID 44"} 
[2026-07-01 18:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425445888001,"power":25473,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576652575085862912}} 
[2026-07-01 18:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":119224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:56:35] local.INFO: GPS data processed {"connection_id":119224,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:56:35] local.INFO: Acknowledgment sent {"connection_id":119224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:57:24] local.INFO: TCP Data received {"connection_id":119328,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:57:24] local.INFO: Processing buffer {"connection_id":119328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:57:24] local.INFO: IMEI packet received {"connection_id":119328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 18:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":119328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:57:25] local.INFO: TCP Data received {"connection_id":119328,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:57:25] local.INFO: Processing buffer {"connection_id":119328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:57:25] local.INFO: IMEI packet received {"connection_id":119328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":119328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:57:26] local.INFO: TCP Data received {"connection_id":119328,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dd92958012cb29ac007823d88004700202a..."} 
[2026-07-01 18:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dd92958012cb29ac007823d88004700202a..."} 
[2026-07-01 18:57:26] local.INFO: Processing buffer {"connection_id":119328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dd92958012cb29ac007823d88004700202a..."} 
[2026-07-01 18:57:26] local.INFO: Packet analysis {"connection_id":119328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dd9"} 
[2026-07-01 18:57:26] local.INFO: Extracted packet for processing {"connection_id":119328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dd9"} 
[2026-07-01 18:57:26] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 18:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:57:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425445888001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:57:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:57:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575085862912,"note":"Value kept but may cause issues"} 
[2026-07-01 18:57:26] 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-01 18:57:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782912199000,"timestamp_ms":1782912199000,"timestamp_seconds":1782912199,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dd92958"} 
[2026-07-01 18:57:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:57:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-01 18:57:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:57:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:57:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:57:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:57:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:57:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:57:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:57:26] 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-01 18:57:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:57:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:57:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425445888001,"66":25473,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576652575085862912},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:57:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:57:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:57:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425445888001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:57:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:57:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:57:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:57:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575085862912,"description":"Unknown IO ID 44"} 
[2026-07-01 18:57:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425445888001,"power":25473,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576652575085862912}} 
[2026-07-01 18:57:26] local.INFO: DEBUG: GPS processor result {"connection_id":119328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:57:26] local.INFO: GPS data processed {"connection_id":119328,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:57:26] local.INFO: Acknowledgment sent {"connection_id":119328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:57:30] local.INFO: TCP Data received {"connection_id":119328,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dd92958012cb29ac007823d88004700202a..."} 
[2026-07-01 18:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dd92958012cb29ac007823d88004700202a..."} 
[2026-07-01 18:57:30] local.INFO: Processing buffer {"connection_id":119328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dd92958012cb29ac007823d88004700202a..."} 
[2026-07-01 18:57:30] local.INFO: Packet analysis {"connection_id":119328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dd9"} 
[2026-07-01 18:57:30] local.INFO: Extracted packet for processing {"connection_id":119328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dd9"} 
[2026-07-01 18:57:30] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 18:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425445888001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:57:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575085862912,"note":"Value kept but may cause issues"} 
[2026-07-01 18:57:30] 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-01 18:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782912199000,"timestamp_ms":1782912199000,"timestamp_seconds":1782912199,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dd92958"} 
[2026-07-01 18:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:57:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-01 18:57:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:57:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":119328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":119328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":119328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:57:30] 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-01 18:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425445888001,"66":25473,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576652575085862912},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425445888001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:57:30] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:57:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:57:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575085862912,"description":"Unknown IO ID 44"} 
[2026-07-01 18:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425445888001,"power":25473,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576652575085862912}} 
[2026-07-01 18:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":119328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:57:30] local.INFO: GPS data processed {"connection_id":119328,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:57:30] local.INFO: Acknowledgment sent {"connection_id":119328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:58:02] local.INFO: TCP Data received {"connection_id":119328,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dd92958012cb29ac007823d88004700202a..."} 
[2026-07-01 18:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dd92958012cb29ac007823d88004700202a..."} 
[2026-07-01 18:58:02] local.INFO: Processing buffer {"connection_id":119328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dd92958012cb29ac007823d88004700202a..."} 
[2026-07-01 18:58:02] local.INFO: Packet analysis {"connection_id":119328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dd9"} 
[2026-07-01 18:58:02] local.INFO: Extracted packet for processing {"connection_id":119328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dd9"} 
[2026-07-01 18:58:02] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 18:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425445888001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:58:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575085862912,"note":"Value kept but may cause issues"} 
[2026-07-01 18:58:02] 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-01 18:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782912199000,"timestamp_ms":1782912199000,"timestamp_seconds":1782912199,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dd92958"} 
[2026-07-01 18:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:58:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-01 18:58:02] 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-01 18:58:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":119328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":119328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":119328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:58:02] 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-01 18:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425445888001,"66":25473,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576652575085862912},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425445888001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:58:02] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:58:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:58:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575085862912,"description":"Unknown IO ID 44"} 
[2026-07-01 18:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425445888001,"power":25473,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576652575085862912}} 
[2026-07-01 18:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":119328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:58:02] local.INFO: GPS data processed {"connection_id":119328,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:58:02] local.INFO: Acknowledgment sent {"connection_id":119328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:58:20] local.INFO: TCP Data received {"connection_id":119225,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:58:20] local.INFO: Processing buffer {"connection_id":119225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:58:20] local.INFO: IMEI packet received {"connection_id":119225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 18:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":119225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:58:25] local.INFO: TCP Data received {"connection_id":119225,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:58:25] local.INFO: Processing buffer {"connection_id":119225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:58:25] local.INFO: IMEI packet received {"connection_id":119225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":119225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:58:26] local.INFO: TCP Data received {"connection_id":119225,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dd92958012cb29ac007823d88004700202a..."} 
[2026-07-01 18:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dd92958012cb29ac007823d88004700202a..."} 
[2026-07-01 18:58:26] local.INFO: Processing buffer {"connection_id":119225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dd92958012cb29ac007823d88004700202a..."} 
[2026-07-01 18:58:26] local.INFO: Packet analysis {"connection_id":119225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dd9"} 
[2026-07-01 18:58:26] local.INFO: Extracted packet for processing {"connection_id":119225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dd9"} 
[2026-07-01 18:58:26] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 18:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425445888001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:58:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575085862912,"note":"Value kept but may cause issues"} 
[2026-07-01 18:58:26] 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-01 18:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782912199000,"timestamp_ms":1782912199000,"timestamp_seconds":1782912199,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dd92958"} 
[2026-07-01 18:58:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:58:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-01 18:58:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:58:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:58:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:58:26] 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-01 18:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425445888001,"66":25473,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576652575085862912},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425445888001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:58:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:58:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:58:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575085862912,"description":"Unknown IO ID 44"} 
[2026-07-01 18:58:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425445888001,"power":25473,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576652575085862912}} 
[2026-07-01 18:58:26] local.INFO: DEBUG: GPS processor result {"connection_id":119225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:58:26] local.INFO: GPS data processed {"connection_id":119225,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:58:26] local.INFO: Acknowledgment sent {"connection_id":119225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:58:58] local.INFO: TCP Data received {"connection_id":119225,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dd92958012cb29ac007823d88004700202a..."} 
[2026-07-01 18:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dd92958012cb29ac007823d88004700202a..."} 
[2026-07-01 18:58:58] local.INFO: Processing buffer {"connection_id":119225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dd92958012cb29ac007823d88004700202a..."} 
[2026-07-01 18:58:58] local.INFO: Packet analysis {"connection_id":119225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dd9"} 
[2026-07-01 18:58:58] local.INFO: Extracted packet for processing {"connection_id":119225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dd9"} 
[2026-07-01 18:58:58] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":42,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 18: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-01 18:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425445888001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:58:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:58:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576652575085862912,"note":"Value kept but may cause issues"} 
[2026-07-01 18:58:58] 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-01 18:58:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782912199000,"timestamp_ms":1782912199000,"timestamp_seconds":1782912199,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dd92958"} 
[2026-07-01 18: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-01 18:58:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-07-01 18:58:58] 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-01 18: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-01 18: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-01 18:58:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:58:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:58:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:58:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:58:58] 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-01 18:58:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:58:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:58:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425445888001,"66":25473,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576652575085862912},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:58:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:58:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:58:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425445888001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:58:58] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:58:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:58:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:58:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576652575085862912,"description":"Unknown IO ID 44"} 
[2026-07-01 18:58:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425445888001,"power":25473,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576652575085862912}} 
[2026-07-01 18:58:58] local.INFO: DEBUG: GPS processor result {"connection_id":119225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:58:58] local.INFO: GPS data processed {"connection_id":119225,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:58:58] local.INFO: Acknowledgment sent {"connection_id":119225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:59:20] local.INFO: TCP Data received {"connection_id":120018,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:59:20] local.INFO: Processing buffer {"connection_id":120018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:59:20] local.INFO: IMEI packet received {"connection_id":120018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 18:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":120018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 18:59:25] local.INFO: TCP Data received {"connection_id":120018,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:59:25] local.INFO: Processing buffer {"connection_id":120018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 18:59:25] local.INFO: IMEI packet received {"connection_id":120018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 18:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":120018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 18:59:26] local.INFO: TCP Data received {"connection_id":120018,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dddc120012cb29ac007823d880047002027..."} 
[2026-07-01 18:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dddc120012cb29ac007823d880047002027..."} 
[2026-07-01 18:59:26] local.INFO: Processing buffer {"connection_id":120018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dddc120012cb29ac007823d880047002027..."} 
[2026-07-01 18:59:26] local.INFO: Packet analysis {"connection_id":120018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ddd"} 
[2026-07-01 18:59:26] local.INFO: Extracted packet for processing {"connection_id":120018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ddd"} 
[2026-07-01 18:59:26] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 18:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 18:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425522944001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:59:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 18:59:26] 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-01 18:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782912500000,"timestamp_ms":1782912500000,"timestamp_seconds":1782912500,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dddc120"} 
[2026-07-01 18:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:59:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-01 18:59:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:59:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 18:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":120018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":120018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":120018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:59:26] 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-01 18:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425522944001,"66":25473,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425522944001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:59:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:59:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:59:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 18:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425522944001,"power":25473,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 18:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":120018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:59:26] local.INFO: GPS data processed {"connection_id":120018,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:59:26] local.INFO: Acknowledgment sent {"connection_id":120018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 18:59:57] local.INFO: TCP Data received {"connection_id":120018,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dddc120012cb29ac007823d880047002027..."} 
[2026-07-01 18:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dddc120012cb29ac007823d880047002027..."} 
[2026-07-01 18:59:57] local.INFO: Processing buffer {"connection_id":120018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dddc120012cb29ac007823d880047002027..."} 
[2026-07-01 18:59:57] local.INFO: Packet analysis {"connection_id":120018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ddd"} 
[2026-07-01 18:59:57] local.INFO: Extracted packet for processing {"connection_id":120018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ddd"} 
[2026-07-01 18:59:57] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 18:59: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-01 18:59:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425522944001,"note":"Value kept but may cause issues"} 
[2026-07-01 18:59:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 18:59:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 18:59:57] 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-01 18:59:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782912500000,"timestamp_ms":1782912500000,"timestamp_seconds":1782912500,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dddc120"} 
[2026-07-01 18:59:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 18:59:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 18:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-01 18:59:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 18:59: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-01 18:59:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 18:59:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 18:59:57] local.INFO: Teltonika packet parsed successfully {"connection_id":120018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 18:59:57] local.INFO: Passing IMEI to GPS processor {"connection_id":120018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:59:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":120018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 18:59:57] 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-01 18:59:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 18:59:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 18:59:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425522944001,"66":25473,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 18:59:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 18:59:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 18:59:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425522944001,"description":"Unknown IO ID 0"} 
[2026-07-01 18:59:57] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 18:59:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 18:59:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 18:59:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 18:59:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425522944001,"power":25473,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 18:59:57] local.INFO: DEBUG: GPS processor result {"connection_id":120018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 18:59:57] local.INFO: GPS data processed {"connection_id":120018,"processed":1,"errors":0,"total":1} 
[2026-07-01 18:59:57] local.INFO: Acknowledgment sent {"connection_id":120018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:00:35] local.INFO: TCP Data received {"connection_id":121099,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:00:35] local.INFO: Processing buffer {"connection_id":121099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:00:35] local.INFO: IMEI packet received {"connection_id":121099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 19:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":121099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:00:41] local.INFO: TCP Data received {"connection_id":121099,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:00:41] local.INFO: Processing buffer {"connection_id":121099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:00:41] local.INFO: IMEI packet received {"connection_id":121099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 19:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":121099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:00:42] local.INFO: TCP Data received {"connection_id":121099,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dddc120012cb29ac007823d880047002027..."} 
[2026-07-01 19:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dddc120012cb29ac007823d880047002027..."} 
[2026-07-01 19:00:42] local.INFO: Processing buffer {"connection_id":121099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dddc120012cb29ac007823d880047002027..."} 
[2026-07-01 19:00:42] local.INFO: Packet analysis {"connection_id":121099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ddd"} 
[2026-07-01 19:00:42] local.INFO: Extracted packet for processing {"connection_id":121099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ddd"} 
[2026-07-01 19:00:42] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425522944001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:00:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:00:42] 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-01 19:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782912500000,"timestamp_ms":1782912500000,"timestamp_seconds":1782912500,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dddc120"} 
[2026-07-01 19:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:00:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-01 19:00:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:00:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":121099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":121099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":121099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:00: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-01 19:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425522944001,"66":25473,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425522944001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:00:42] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:00:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:00:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425522944001,"power":25473,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":121099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:00:42] local.INFO: GPS data processed {"connection_id":121099,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:00:42] local.INFO: Acknowledgment sent {"connection_id":121099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:01:20] local.INFO: TCP Data received {"connection_id":119331,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:01:20] local.INFO: Processing buffer {"connection_id":119331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:01:20] local.INFO: IMEI packet received {"connection_id":119331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 19:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":119331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:01:25] local.INFO: TCP Data received {"connection_id":119331,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:01:25] local.INFO: Processing buffer {"connection_id":119331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:01:25] local.INFO: IMEI packet received {"connection_id":119331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 19:01:25] local.INFO: IMEI acknowledgment sent {"connection_id":119331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:01:26] local.INFO: TCP Data received {"connection_id":119331,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dddc120012cb29ac007823d880047002027..."} 
[2026-07-01 19:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dddc120012cb29ac007823d880047002027..."} 
[2026-07-01 19:01:26] local.INFO: Processing buffer {"connection_id":119331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dddc120012cb29ac007823d880047002027..."} 
[2026-07-01 19:01:26] local.INFO: Packet analysis {"connection_id":119331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ddd"} 
[2026-07-01 19:01:26] local.INFO: Extracted packet for processing {"connection_id":119331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ddd"} 
[2026-07-01 19:01:26] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:01:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425522944001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:01:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:01:26] 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-01 19:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782912500000,"timestamp_ms":1782912500000,"timestamp_seconds":1782912500,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dddc120"} 
[2026-07-01 19:01:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:01:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:01:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-01 19:01:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:01:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:01:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:01:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425522944001,"66":25473,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425522944001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:01:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:01:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:01:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425522944001,"power":25473,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":119331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:01:26] local.INFO: GPS data processed {"connection_id":119331,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:01:26] local.INFO: Acknowledgment sent {"connection_id":119331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:01:36] local.INFO: TCP Data received {"connection_id":119330,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119330,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:01:36] local.INFO: Processing buffer {"connection_id":119330,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:01:36] local.INFO: IMEI packet received {"connection_id":119330,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 19:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":119330,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:01:59] local.INFO: TCP Data received {"connection_id":119331,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dddc120012cb29ac007823d880047002027..."} 
[2026-07-01 19:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dddc120012cb29ac007823d880047002027..."} 
[2026-07-01 19:01:59] local.INFO: Processing buffer {"connection_id":119331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dddc120012cb29ac007823d880047002027..."} 
[2026-07-01 19:01:59] local.INFO: Packet analysis {"connection_id":119331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ddd"} 
[2026-07-01 19:01:59] local.INFO: Extracted packet for processing {"connection_id":119331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ddd"} 
[2026-07-01 19:01:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19: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-01 19:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425522944001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:01:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:01:59] 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-01 19:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782912500000,"timestamp_ms":1782912500000,"timestamp_seconds":1782912500,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dddc120"} 
[2026-07-01 19: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-01 19:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-01 19:01:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19: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-01 19: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-01 19:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:01:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425522944001,"66":25473,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425522944001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:01:59] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:01:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:01:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425522944001,"power":25473,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":119331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:01:59] local.INFO: GPS data processed {"connection_id":119331,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:01:59] local.INFO: Acknowledgment sent {"connection_id":119331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:02:18] local.INFO: TCP Data received {"connection_id":121100,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121100,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:02:18] local.INFO: Processing buffer {"connection_id":121100,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:02:18] local.INFO: IMEI packet received {"connection_id":121100,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 19:02:18] local.INFO: IMEI acknowledgment sent {"connection_id":121100,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:02:20] local.INFO: TCP Data received {"connection_id":119332,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:02:20] local.INFO: Processing buffer {"connection_id":119332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:02:20] local.INFO: IMEI packet received {"connection_id":119332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 19:02:20] local.INFO: IMEI acknowledgment sent {"connection_id":119332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:02:25] local.INFO: TCP Data received {"connection_id":119332,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:02:25] local.INFO: Processing buffer {"connection_id":119332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:02:25] local.INFO: IMEI packet received {"connection_id":119332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 19:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":119332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:02:26] local.INFO: TCP Data received {"connection_id":119332,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dddc120012cb29ac007823d880047002027..."} 
[2026-07-01 19:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dddc120012cb29ac007823d880047002027..."} 
[2026-07-01 19:02:26] local.INFO: Processing buffer {"connection_id":119332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dddc120012cb29ac007823d880047002027..."} 
[2026-07-01 19:02:26] local.INFO: Packet analysis {"connection_id":119332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ddd"} 
[2026-07-01 19:02:26] local.INFO: Extracted packet for processing {"connection_id":119332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ddd"} 
[2026-07-01 19:02:26] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425522944001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:02:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:02:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:02:26] 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-01 19:02:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782912500000,"timestamp_ms":1782912500000,"timestamp_seconds":1782912500,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dddc120"} 
[2026-07-01 19:02:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:02:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-01 19:02:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:02:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:02:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:02:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:02:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:02:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:02:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:02: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-01 19:02:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:02:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:02:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425522944001,"66":25473,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:02:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:02:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:02:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425522944001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:02:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:02:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:02:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:02:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:02:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425522944001,"power":25473,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:02:26] local.INFO: DEBUG: GPS processor result {"connection_id":119332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:02:26] local.INFO: GPS data processed {"connection_id":119332,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:02:26] local.INFO: Acknowledgment sent {"connection_id":119332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:02:58] local.INFO: TCP Data received {"connection_id":119332,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dddc120012cb29ac007823d880047002027..."} 
[2026-07-01 19:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dddc120012cb29ac007823d880047002027..."} 
[2026-07-01 19:02:58] local.INFO: Processing buffer {"connection_id":119332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dddc120012cb29ac007823d880047002027..."} 
[2026-07-01 19:02:58] local.INFO: Packet analysis {"connection_id":119332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ddd"} 
[2026-07-01 19:02:58] local.INFO: Extracted packet for processing {"connection_id":119332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ddd"} 
[2026-07-01 19:02:58] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 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-01 19:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425522944001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:02:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:02:58] 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-01 19:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782912500000,"timestamp_ms":1782912500000,"timestamp_seconds":1782912500,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dddc120"} 
[2026-07-01 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-01 19:02:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-01 19:02:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 19:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:02:58] 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-01 19:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425522944001,"66":25473,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425522944001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:02:58] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:02:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:02:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425522944001,"power":25473,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":119332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:02:59] local.INFO: GPS data processed {"connection_id":119332,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:02:59] local.INFO: Acknowledgment sent {"connection_id":119332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:03:20] local.INFO: TCP Data received {"connection_id":120020,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:03:20] local.INFO: Processing buffer {"connection_id":120020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:03:20] local.INFO: IMEI packet received {"connection_id":120020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 19:03:20] local.INFO: IMEI acknowledgment sent {"connection_id":120020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:03:25] local.INFO: TCP Data received {"connection_id":120020,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:03:25] local.INFO: Processing buffer {"connection_id":120020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:03:25] local.INFO: IMEI packet received {"connection_id":120020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 19:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":120020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:03:26] local.INFO: TCP Data received {"connection_id":120020,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dddc120012cb29ac007823d880047002027..."} 
[2026-07-01 19:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dddc120012cb29ac007823d880047002027..."} 
[2026-07-01 19:03:26] local.INFO: Processing buffer {"connection_id":120020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dddc120012cb29ac007823d880047002027..."} 
[2026-07-01 19:03:26] local.INFO: Packet analysis {"connection_id":120020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ddd"} 
[2026-07-01 19:03:26] local.INFO: Extracted packet for processing {"connection_id":120020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ddd"} 
[2026-07-01 19:03:26] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:03: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-01 19:03:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425522944001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:03:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:03:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:03:26] 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-01 19:03:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782912500000,"timestamp_ms":1782912500000,"timestamp_seconds":1782912500,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dddc120"} 
[2026-07-01 19:03:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:03:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:03:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-01 19:03:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:03: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-01 19:03:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:03:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:03:26] local.INFO: Teltonika packet parsed successfully {"connection_id":120020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:03:26] local.INFO: Passing IMEI to GPS processor {"connection_id":120020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:03:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":120020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:03:26] 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-01 19:03:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:03:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:03:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425522944001,"66":25473,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:03:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:03:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:03:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425522944001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:03:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:03:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:03:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:03:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:03:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425522944001,"power":25473,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:03:26] local.INFO: DEBUG: GPS processor result {"connection_id":120020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:03:26] local.INFO: GPS data processed {"connection_id":120020,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:03:26] local.INFO: Acknowledgment sent {"connection_id":120020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:03:59] local.INFO: TCP Data received {"connection_id":120020,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dddc120012cb29ac007823d880047002027..."} 
[2026-07-01 19:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dddc120012cb29ac007823d880047002027..."} 
[2026-07-01 19:03:59] local.INFO: Processing buffer {"connection_id":120020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dddc120012cb29ac007823d880047002027..."} 
[2026-07-01 19:03:59] local.INFO: Packet analysis {"connection_id":120020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ddd"} 
[2026-07-01 19:03:59] local.INFO: Extracted packet for processing {"connection_id":120020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ddd"} 
[2026-07-01 19:03:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:03:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425522944001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:03:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:03:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:03:59] 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-01 19:03:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782912500000,"timestamp_ms":1782912500000,"timestamp_seconds":1782912500,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dddc120"} 
[2026-07-01 19:03:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:03:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-01 19:03:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:03:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:03:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:03:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:03:59] local.INFO: Teltonika packet parsed successfully {"connection_id":120020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:03:59] local.INFO: Passing IMEI to GPS processor {"connection_id":120020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:03:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":120020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:03:59] 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-01 19:03:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:03:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:03:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425522944001,"66":25473,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:03:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:03:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:03:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425522944001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:03:59] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:03:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:03:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:03:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:03:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425522944001,"power":25473,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:03:59] local.INFO: DEBUG: GPS processor result {"connection_id":120020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:03:59] local.INFO: GPS data processed {"connection_id":120020,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:03:59] local.INFO: Acknowledgment sent {"connection_id":120020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:04:25] local.INFO: TCP Data received {"connection_id":119229,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:04:25] local.INFO: Processing buffer {"connection_id":119229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:04:25] local.INFO: IMEI packet received {"connection_id":119229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 19:04:25] local.INFO: IMEI acknowledgment sent {"connection_id":119229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:04:30] local.INFO: TCP Data received {"connection_id":119229,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:04:30] local.INFO: Processing buffer {"connection_id":119229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:04:30] local.INFO: IMEI packet received {"connection_id":119229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 19:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":119229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:04:31] local.INFO: TCP Data received {"connection_id":119229,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f1de258e8012cb29ac007823d880047002028..."} 
[2026-07-01 19:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1de258e8012cb29ac007823d880047002028..."} 
[2026-07-01 19:04:31] local.INFO: Processing buffer {"connection_id":119229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1de258e8012cb29ac007823d880047002028..."} 
[2026-07-01 19:04:31] local.INFO: Packet analysis {"connection_id":119229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1de2"} 
[2026-07-01 19:04:31] local.INFO: Extracted packet for processing {"connection_id":119229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1de2"} 
[2026-07-01 19:04:31] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19: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-01 19:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425600000001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:04:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:04:31] 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-01 19:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782912801000,"timestamp_ms":1782912801000,"timestamp_seconds":1782912801,"priority":1,"record_length":96,"hex_timestamp":"0000019f1de258e8"} 
[2026-07-01 19: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-01 19:04:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-01 19:04:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19: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-01 19: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-01 19:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:04:31] 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-01 19:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425600000001,"66":25397,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425600000001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:04:31] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:04:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:04:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425600000001,"power":25397,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":119229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:04:31] local.INFO: GPS data processed {"connection_id":119229,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:04:31] local.INFO: Acknowledgment sent {"connection_id":119229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:05:02] local.INFO: TCP Data received {"connection_id":119229,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f1de258e8012cb29ac007823d880047002028..."} 
[2026-07-01 19:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1de258e8012cb29ac007823d880047002028..."} 
[2026-07-01 19:05:02] local.INFO: Processing buffer {"connection_id":119229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1de258e8012cb29ac007823d880047002028..."} 
[2026-07-01 19:05:02] local.INFO: Packet analysis {"connection_id":119229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1de2"} 
[2026-07-01 19:05:02] local.INFO: Extracted packet for processing {"connection_id":119229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1de2"} 
[2026-07-01 19:05:02] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19: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-01 19:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425600000001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:05:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:05:02] 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-01 19:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782912801000,"timestamp_ms":1782912801000,"timestamp_seconds":1782912801,"priority":1,"record_length":96,"hex_timestamp":"0000019f1de258e8"} 
[2026-07-01 19: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-01 19:05:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-01 19:05:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19: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-01 19: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-01 19:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":119229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":119229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":119229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:05:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425600000001,"66":25397,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425600000001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:05:02] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:05:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:05:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:05:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425600000001,"power":25397,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:05:02] local.INFO: DEBUG: GPS processor result {"connection_id":119229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:05:02] local.INFO: GPS data processed {"connection_id":119229,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:05:02] local.INFO: Acknowledgment sent {"connection_id":119229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:05:20] local.INFO: TCP Data received {"connection_id":120022,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:05:20] local.INFO: Processing buffer {"connection_id":120022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:05:20] local.INFO: IMEI packet received {"connection_id":120022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 19:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":120022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:05:25] local.INFO: TCP Data received {"connection_id":120022,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:05:25] local.INFO: Processing buffer {"connection_id":120022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:05:25] local.INFO: IMEI packet received {"connection_id":120022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 19:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":120022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:05:27] local.INFO: TCP Data received {"connection_id":120022,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f1de258e8012cb29ac007823d880047002028..."} 
[2026-07-01 19:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1de258e8012cb29ac007823d880047002028..."} 
[2026-07-01 19:05:27] local.INFO: Processing buffer {"connection_id":120022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1de258e8012cb29ac007823d880047002028..."} 
[2026-07-01 19:05:27] local.INFO: Packet analysis {"connection_id":120022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1de2"} 
[2026-07-01 19:05:27] local.INFO: Extracted packet for processing {"connection_id":120022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1de2"} 
[2026-07-01 19:05:27] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425600000001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:05:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:05:27] 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-01 19:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782912801000,"timestamp_ms":1782912801000,"timestamp_seconds":1782912801,"priority":1,"record_length":96,"hex_timestamp":"0000019f1de258e8"} 
[2026-07-01 19:05:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:05:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-01 19:05:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:05:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:05:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:05:27] 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-01 19:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:05:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425600000001,"66":25397,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:05:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425600000001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:05:27] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:05:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:05:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:05:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425600000001,"power":25397,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:05:27] local.INFO: DEBUG: GPS processor result {"connection_id":120022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:05:27] local.INFO: GPS data processed {"connection_id":120022,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:05:27] local.INFO: Acknowledgment sent {"connection_id":120022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:06:01] local.INFO: TCP Data received {"connection_id":120022,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f1de258e8012cb29ac007823d880047002028..."} 
[2026-07-01 19:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1de258e8012cb29ac007823d880047002028..."} 
[2026-07-01 19:06:01] local.INFO: Processing buffer {"connection_id":120022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1de258e8012cb29ac007823d880047002028..."} 
[2026-07-01 19:06:01] local.INFO: Packet analysis {"connection_id":120022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1de2"} 
[2026-07-01 19:06:01] local.INFO: Extracted packet for processing {"connection_id":120022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1de2"} 
[2026-07-01 19:06:01] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425600000001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:06:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:06:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:06:01] 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-01 19:06:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782912801000,"timestamp_ms":1782912801000,"timestamp_seconds":1782912801,"priority":1,"record_length":96,"hex_timestamp":"0000019f1de258e8"} 
[2026-07-01 19:06:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:06:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-01 19:06:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:06:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:06:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:06:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:06:01] local.INFO: Teltonika packet parsed successfully {"connection_id":120022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:06:01] local.INFO: Passing IMEI to GPS processor {"connection_id":120022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:06:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":120022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:06:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:06:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:06:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:06:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425600000001,"66":25397,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:06:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:06:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:06:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425600000001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:06:01] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:06:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:06:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:06:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:06:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425600000001,"power":25397,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":120022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:06:01] local.INFO: GPS data processed {"connection_id":120022,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:06:01] local.INFO: Acknowledgment sent {"connection_id":120022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:06:20] local.INFO: TCP Data received {"connection_id":121102,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:06:20] local.INFO: Processing buffer {"connection_id":121102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:06:20] local.INFO: IMEI packet received {"connection_id":121102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 19:06:20] local.INFO: IMEI acknowledgment sent {"connection_id":121102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:06:25] local.INFO: TCP Data received {"connection_id":121102,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:06:25] local.INFO: Processing buffer {"connection_id":121102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:06:25] local.INFO: IMEI packet received {"connection_id":121102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 19:06:25] local.INFO: IMEI acknowledgment sent {"connection_id":121102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:06:26] local.INFO: TCP Data received {"connection_id":121102,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f1de258e8012cb29ac007823d880047002028..."} 
[2026-07-01 19:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1de258e8012cb29ac007823d880047002028..."} 
[2026-07-01 19:06:26] local.INFO: Processing buffer {"connection_id":121102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1de258e8012cb29ac007823d880047002028..."} 
[2026-07-01 19:06:26] local.INFO: Packet analysis {"connection_id":121102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1de2"} 
[2026-07-01 19:06:26] local.INFO: Extracted packet for processing {"connection_id":121102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1de2"} 
[2026-07-01 19:06:26] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:06:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425600000001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:06:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:06:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:06:26] 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-01 19:06:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782912801000,"timestamp_ms":1782912801000,"timestamp_seconds":1782912801,"priority":1,"record_length":96,"hex_timestamp":"0000019f1de258e8"} 
[2026-07-01 19:06:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:06:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-01 19:06:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:06:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:06:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:06:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:06:26] local.INFO: Teltonika packet parsed successfully {"connection_id":121102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:06:26] local.INFO: Passing IMEI to GPS processor {"connection_id":121102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:06:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":121102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:06:26] 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-01 19:06:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:06:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:06:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425600000001,"66":25397,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:06:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:06:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:06:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425600000001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:06:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:06:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:06:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:06:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:06:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425600000001,"power":25397,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:06:26] local.INFO: DEBUG: GPS processor result {"connection_id":121102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:06:26] local.INFO: GPS data processed {"connection_id":121102,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:06:26] local.INFO: Acknowledgment sent {"connection_id":121102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:06:58] local.INFO: TCP Data received {"connection_id":121102,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f1de258e8012cb29ac007823d880047002028..."} 
[2026-07-01 19:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1de258e8012cb29ac007823d880047002028..."} 
[2026-07-01 19:06:58] local.INFO: Processing buffer {"connection_id":121102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1de258e8012cb29ac007823d880047002028..."} 
[2026-07-01 19:06:58] local.INFO: Packet analysis {"connection_id":121102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1de2"} 
[2026-07-01 19:06:58] local.INFO: Extracted packet for processing {"connection_id":121102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1de2"} 
[2026-07-01 19:06:58] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:06:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425600000001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:06:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:06:58] 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-01 19:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782912801000,"timestamp_ms":1782912801000,"timestamp_seconds":1782912801,"priority":1,"record_length":96,"hex_timestamp":"0000019f1de258e8"} 
[2026-07-01 19:06:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:06:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:06:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-01 19:06:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:06:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:06:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":121102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":121102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":121102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:06:58] 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-01 19:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425600000001,"66":25397,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425600000001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:06:58] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:06:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:06:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425600000001,"power":25397,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":121102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:06:58] local.INFO: GPS data processed {"connection_id":121102,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:06:58] local.INFO: Acknowledgment sent {"connection_id":121102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:07:20] local.INFO: TCP Data received {"connection_id":119333,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:07:20] local.INFO: Processing buffer {"connection_id":119333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:07:20] local.INFO: IMEI packet received {"connection_id":119333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 19:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":119333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:07:25] local.INFO: TCP Data received {"connection_id":119333,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:07:25] local.INFO: Processing buffer {"connection_id":119333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:07:25] local.INFO: IMEI packet received {"connection_id":119333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 19:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":119333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:07:26] local.INFO: TCP Data received {"connection_id":119333,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f1de258e8012cb29ac007823d880047002028..."} 
[2026-07-01 19:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1de258e8012cb29ac007823d880047002028..."} 
[2026-07-01 19:07:26] local.INFO: Processing buffer {"connection_id":119333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1de258e8012cb29ac007823d880047002028..."} 
[2026-07-01 19:07:26] local.INFO: Packet analysis {"connection_id":119333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1de2"} 
[2026-07-01 19:07:26] local.INFO: Extracted packet for processing {"connection_id":119333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1de2"} 
[2026-07-01 19:07:26] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:07:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:07:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425600000001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:07:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:07:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:07:26] 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-01 19:07:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782912801000,"timestamp_ms":1782912801000,"timestamp_seconds":1782912801,"priority":1,"record_length":96,"hex_timestamp":"0000019f1de258e8"} 
[2026-07-01 19:07:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:07:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:07:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-01 19:07:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:07:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:07:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:07:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:07:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:07:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:07:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:07:26] 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-01 19:07:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:07:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:07:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425600000001,"66":25397,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:07:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:07:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:07:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425600000001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:07:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:07:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:07:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:07:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:07:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425600000001,"power":25397,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:07:26] local.INFO: DEBUG: GPS processor result {"connection_id":119333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:07:26] local.INFO: GPS data processed {"connection_id":119333,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:07:26] local.INFO: Acknowledgment sent {"connection_id":119333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:07:40] local.INFO: TCP Data received {"connection_id":121103,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121103,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:07:40] local.INFO: Processing buffer {"connection_id":121103,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:07:40] local.INFO: IMEI packet received {"connection_id":121103,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 19:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":121103,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:07:57] local.INFO: TCP Data received {"connection_id":119333,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019f1de258e8012cb29ac007823d880047002028..."} 
[2026-07-01 19:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1de258e8012cb29ac007823d880047002028..."} 
[2026-07-01 19:07:57] local.INFO: Processing buffer {"connection_id":119333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1de258e8012cb29ac007823d880047002028..."} 
[2026-07-01 19:07:57] local.INFO: Packet analysis {"connection_id":119333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1de2"} 
[2026-07-01 19:07:57] local.INFO: Extracted packet for processing {"connection_id":119333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1de2"} 
[2026-07-01 19:07:57] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:07:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425600000001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:07:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:07:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:07:57] 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-01 19:07:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782912801000,"timestamp_ms":1782912801000,"timestamp_seconds":1782912801,"priority":1,"record_length":96,"hex_timestamp":"0000019f1de258e8"} 
[2026-07-01 19:07:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:07:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-01 19:07:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:07:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:07:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:07:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:07:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:07:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:07:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:07:57] 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-01 19:07:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:07:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:07:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425600000001,"66":25397,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:07:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:07:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:07:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425600000001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:07:57] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:07:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:07:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:07:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:07:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425600000001,"power":25397,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:07:57] local.INFO: DEBUG: GPS processor result {"connection_id":119333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:07:57] local.INFO: GPS data processed {"connection_id":119333,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:07:57] local.INFO: Acknowledgment sent {"connection_id":119333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:08:15] local.INFO: TCP Data received {"connection_id":120023,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120023,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:08:15] local.INFO: Processing buffer {"connection_id":120023,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:08:15] local.INFO: IMEI packet received {"connection_id":120023,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 19:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":120023,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:08:25] local.INFO: TCP Data received {"connection_id":121104,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:08:25] local.INFO: Processing buffer {"connection_id":121104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:08:25] local.INFO: IMEI packet received {"connection_id":121104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 19:08:25] local.INFO: IMEI acknowledgment sent {"connection_id":121104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:08:30] local.INFO: TCP Data received {"connection_id":121104,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:08:30] local.INFO: Processing buffer {"connection_id":121104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:08:30] local.INFO: IMEI packet received {"connection_id":121104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 19:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":121104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:08:31] local.INFO: TCP Data received {"connection_id":121104,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f1de258e8012cb29ac007823d880047002028..."} 
[2026-07-01 19:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1de258e8012cb29ac007823d880047002028..."} 
[2026-07-01 19:08:31] local.INFO: Processing buffer {"connection_id":121104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1de258e8012cb29ac007823d880047002028..."} 
[2026-07-01 19:08:31] local.INFO: Packet analysis {"connection_id":121104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1de2"} 
[2026-07-01 19:08:31] local.INFO: Extracted packet for processing {"connection_id":121104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1de2"} 
[2026-07-01 19:08:31] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425600000001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:08:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:08:31] 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-01 19:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782912801000,"timestamp_ms":1782912801000,"timestamp_seconds":1782912801,"priority":1,"record_length":96,"hex_timestamp":"0000019f1de258e8"} 
[2026-07-01 19:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:08:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-01 19:08:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:08:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":121104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":121104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":121104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:08:31] 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-01 19:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425600000001,"66":25397,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425600000001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:08:31] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:08:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:08:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425600000001,"power":25397,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":121104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:08:31] local.INFO: GPS data processed {"connection_id":121104,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:08:31] local.INFO: Acknowledgment sent {"connection_id":121104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:08:35] local.INFO: TCP Data received {"connection_id":121104,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f1de258e8012cb29ac007823d880047002028..."} 
[2026-07-01 19:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1de258e8012cb29ac007823d880047002028..."} 
[2026-07-01 19:08:35] local.INFO: Processing buffer {"connection_id":121104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1de258e8012cb29ac007823d880047002028..."} 
[2026-07-01 19:08:35] local.INFO: Packet analysis {"connection_id":121104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1de2"} 
[2026-07-01 19:08:35] local.INFO: Extracted packet for processing {"connection_id":121104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1de2"} 
[2026-07-01 19:08:35] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425600000001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:08:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:08:35] 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-01 19:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782912801000,"timestamp_ms":1782912801000,"timestamp_seconds":1782912801,"priority":1,"record_length":96,"hex_timestamp":"0000019f1de258e8"} 
[2026-07-01 19:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:08:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-07-01 19:08:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:08:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":121104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":121104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":121104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:08:35] 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-01 19:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425600000001,"66":25397,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425600000001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:08:35] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:08:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:08:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425600000001,"power":25397,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":121104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:08:35] local.INFO: GPS data processed {"connection_id":121104,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:08:35] local.INFO: Acknowledgment sent {"connection_id":121104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:09:20] local.INFO: TCP Data received {"connection_id":119334,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:09:20] local.INFO: Processing buffer {"connection_id":119334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:09:20] local.INFO: IMEI packet received {"connection_id":119334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 19:09:20] local.INFO: IMEI acknowledgment sent {"connection_id":119334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:09:25] local.INFO: TCP Data received {"connection_id":119334,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:09:25] local.INFO: Processing buffer {"connection_id":119334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:09:25] local.INFO: IMEI packet received {"connection_id":119334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 19:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":119334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:09:28] local.INFO: TCP Data received {"connection_id":119334,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f1de6f0b0012cb29ac007823d880047002028..."} 
[2026-07-01 19:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1de6f0b0012cb29ac007823d880047002028..."} 
[2026-07-01 19:09:28] local.INFO: Processing buffer {"connection_id":119334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1de6f0b0012cb29ac007823d880047002028..."} 
[2026-07-01 19:09:28] local.INFO: Packet analysis {"connection_id":119334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1de6"} 
[2026-07-01 19:09:28] local.INFO: Extracted packet for processing {"connection_id":119334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1de6"} 
[2026-07-01 19:09:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:09:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425677056001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:09:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:09:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:09:28] 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-01 19:09:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782913102000,"timestamp_ms":1782913102000,"timestamp_seconds":1782913102,"priority":1,"record_length":96,"hex_timestamp":"0000019f1de6f0b0"} 
[2026-07-01 19:09:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:09:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 19:09:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:09:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:09:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:09:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:09:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:09:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:09:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:09:28] 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-01 19:09:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:09:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:09:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425677056001,"66":25375,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:09:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:09:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:09:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425677056001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:09:28] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:09:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:09:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:09:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:09:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425677056001,"power":25375,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:09:28] local.INFO: DEBUG: GPS processor result {"connection_id":119334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:09:28] local.INFO: GPS data processed {"connection_id":119334,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:09:28] local.INFO: Acknowledgment sent {"connection_id":119334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:10:20] local.INFO: TCP Data received {"connection_id":119231,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:10:20] local.INFO: Processing buffer {"connection_id":119231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:10:20] local.INFO: IMEI packet received {"connection_id":119231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 19:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":119231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:10:25] local.INFO: TCP Data received {"connection_id":119231,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:10:25] local.INFO: Processing buffer {"connection_id":119231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:10:25] local.INFO: IMEI packet received {"connection_id":119231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 19:10:25] local.INFO: IMEI acknowledgment sent {"connection_id":119231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:10:26] local.INFO: TCP Data received {"connection_id":119231,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1de6f0b0012cb29ac007823d880047002028..."} 
[2026-07-01 19:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1de6f0b0012cb29ac007823d880047002028..."} 
[2026-07-01 19:10:26] local.INFO: Processing buffer {"connection_id":119231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1de6f0b0012cb29ac007823d880047002028..."} 
[2026-07-01 19:10:26] local.INFO: Packet analysis {"connection_id":119231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1de6"} 
[2026-07-01 19:10:26] local.INFO: Extracted packet for processing {"connection_id":119231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1de6"} 
[2026-07-01 19:10:26] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19: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-01 19:10:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425677056001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:10:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:10:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:10:26] 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-01 19:10:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782913102000,"timestamp_ms":1782913102000,"timestamp_seconds":1782913102,"priority":1,"record_length":96,"hex_timestamp":"0000019f1de6f0b0"} 
[2026-07-01 19: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-01 19:10:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:10:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 19:10:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:10:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19: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-01 19:10:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:10:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:10:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:10:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:10:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:10:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:10:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:10:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425677056001,"66":25375,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:10:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:10:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:10:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425677056001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:10:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:10:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:10:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:10:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:10:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425677056001,"power":25375,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:10:26] local.INFO: DEBUG: GPS processor result {"connection_id":119231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:10:26] local.INFO: GPS data processed {"connection_id":119231,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:10:26] local.INFO: Acknowledgment sent {"connection_id":119231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:10:57] local.INFO: TCP Data received {"connection_id":119231,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1de6f0b0012cb29ac007823d880047002028..."} 
[2026-07-01 19:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1de6f0b0012cb29ac007823d880047002028..."} 
[2026-07-01 19:10:57] local.INFO: Processing buffer {"connection_id":119231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1de6f0b0012cb29ac007823d880047002028..."} 
[2026-07-01 19:10:57] local.INFO: Packet analysis {"connection_id":119231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1de6"} 
[2026-07-01 19:10:57] local.INFO: Extracted packet for processing {"connection_id":119231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1de6"} 
[2026-07-01 19:10:57] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19: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-01 19:10:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425677056001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:10:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:10:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:10:57] 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-01 19:10:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782913102000,"timestamp_ms":1782913102000,"timestamp_seconds":1782913102,"priority":1,"record_length":96,"hex_timestamp":"0000019f1de6f0b0"} 
[2026-07-01 19: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-01 19:10:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 19:10:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19: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-01 19: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-01 19:10:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:10:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:10:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:10:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:10:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:10:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:10:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:10:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425677056001,"66":25375,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:10:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:10:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:10:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425677056001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:10:57] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:10:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:10:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:10:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:10:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425677056001,"power":25375,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:10:57] local.INFO: DEBUG: GPS processor result {"connection_id":119231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:10:57] local.INFO: GPS data processed {"connection_id":119231,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:10:57] local.INFO: Acknowledgment sent {"connection_id":119231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:11:20] local.INFO: TCP Data received {"connection_id":119232,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:11:20] local.INFO: Processing buffer {"connection_id":119232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:11:20] local.INFO: IMEI packet received {"connection_id":119232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 19:11:20] local.INFO: IMEI acknowledgment sent {"connection_id":119232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:11:25] local.INFO: TCP Data received {"connection_id":119232,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:11:25] local.INFO: Processing buffer {"connection_id":119232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:11:25] local.INFO: IMEI packet received {"connection_id":119232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 19:11:25] local.INFO: IMEI acknowledgment sent {"connection_id":119232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:11:25] local.INFO: TCP Data received {"connection_id":119232,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1de6f0b0012cb29ac007823d880047002028..."} 
[2026-07-01 19:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1de6f0b0012cb29ac007823d880047002028..."} 
[2026-07-01 19:11:25] local.INFO: Processing buffer {"connection_id":119232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1de6f0b0012cb29ac007823d880047002028..."} 
[2026-07-01 19:11:25] local.INFO: Packet analysis {"connection_id":119232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1de6"} 
[2026-07-01 19:11:25] local.INFO: Extracted packet for processing {"connection_id":119232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1de6"} 
[2026-07-01 19:11:25] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:11:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425677056001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:11:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:11:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:11:25] 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-01 19:11:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782913102000,"timestamp_ms":1782913102000,"timestamp_seconds":1782913102,"priority":1,"record_length":96,"hex_timestamp":"0000019f1de6f0b0"} 
[2026-07-01 19:11:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:11:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 19:11:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:11:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:11:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:11:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:11:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:11:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:11:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:11:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:11:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:11:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:11:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425677056001,"66":25375,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:11:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:11:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:11:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425677056001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:11:25] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:11:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:11:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:11:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:11:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425677056001,"power":25375,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":119232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:11:25] local.INFO: GPS data processed {"connection_id":119232,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:11:25] local.INFO: Acknowledgment sent {"connection_id":119232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:11:56] local.INFO: TCP Data received {"connection_id":119232,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1de6f0b0012cb29ac007823d880047002028..."} 
[2026-07-01 19:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1de6f0b0012cb29ac007823d880047002028..."} 
[2026-07-01 19:11:56] local.INFO: Processing buffer {"connection_id":119232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1de6f0b0012cb29ac007823d880047002028..."} 
[2026-07-01 19:11:56] local.INFO: Packet analysis {"connection_id":119232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1de6"} 
[2026-07-01 19:11:56] local.INFO: Extracted packet for processing {"connection_id":119232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1de6"} 
[2026-07-01 19:11:56] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:11:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:11:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425677056001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:11:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:11:56] 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-01 19:11:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782913102000,"timestamp_ms":1782913102000,"timestamp_seconds":1782913102,"priority":1,"record_length":96,"hex_timestamp":"0000019f1de6f0b0"} 
[2026-07-01 19:11:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:11:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:11:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 19:11:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:11:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:11:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":119232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":119232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":119232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:11:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:11:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:11:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:11:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425677056001,"66":25375,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:11:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:11:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:11:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425677056001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:11:56] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:11:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:11:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:11:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:11:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425677056001,"power":25375,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":119232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:11:56] local.INFO: GPS data processed {"connection_id":119232,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:11:56] local.INFO: Acknowledgment sent {"connection_id":119232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:12:25] local.INFO: TCP Data received {"connection_id":119233,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:12:25] local.INFO: Processing buffer {"connection_id":119233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:12:25] local.INFO: IMEI packet received {"connection_id":119233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 19:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":119233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:12:30] local.INFO: TCP Data received {"connection_id":119233,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:12:30] local.INFO: Processing buffer {"connection_id":119233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:12:30] local.INFO: IMEI packet received {"connection_id":119233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 19:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":119233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:12:31] local.INFO: TCP Data received {"connection_id":119233,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1de6f0b0012cb29ac007823d880047002028..."} 
[2026-07-01 19:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1de6f0b0012cb29ac007823d880047002028..."} 
[2026-07-01 19:12:31] local.INFO: Processing buffer {"connection_id":119233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1de6f0b0012cb29ac007823d880047002028..."} 
[2026-07-01 19:12:31] local.INFO: Packet analysis {"connection_id":119233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1de6"} 
[2026-07-01 19:12:31] local.INFO: Extracted packet for processing {"connection_id":119233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1de6"} 
[2026-07-01 19:12:31] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425677056001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:12:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:12:31] 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-01 19:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782913102000,"timestamp_ms":1782913102000,"timestamp_seconds":1782913102,"priority":1,"record_length":96,"hex_timestamp":"0000019f1de6f0b0"} 
[2026-07-01 19:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:12:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 19:12:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:12:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425677056001,"66":25375,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425677056001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:12:31] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:12:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:12:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425677056001,"power":25375,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":119233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:12:31] local.INFO: GPS data processed {"connection_id":119233,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:12:31] local.INFO: Acknowledgment sent {"connection_id":119233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:13:02] local.INFO: TCP Data received {"connection_id":119233,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1de6f0b0012cb29ac007823d880047002028..."} 
[2026-07-01 19:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1de6f0b0012cb29ac007823d880047002028..."} 
[2026-07-01 19:13:02] local.INFO: Processing buffer {"connection_id":119233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1de6f0b0012cb29ac007823d880047002028..."} 
[2026-07-01 19:13:02] local.INFO: Packet analysis {"connection_id":119233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1de6"} 
[2026-07-01 19:13:02] local.INFO: Extracted packet for processing {"connection_id":119233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1de6"} 
[2026-07-01 19:13:02] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425677056001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:13:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:13:02] 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-01 19:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782913102000,"timestamp_ms":1782913102000,"timestamp_seconds":1782913102,"priority":1,"record_length":96,"hex_timestamp":"0000019f1de6f0b0"} 
[2026-07-01 19:13:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:13:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 19:13:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:13:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:13:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":119233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":119233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":119233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:13:02] local.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-01 19:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425677056001,"66":25375,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425677056001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:13:02] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:13:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:13:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425677056001,"power":25375,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:13:02] local.INFO: DEBUG: GPS processor result {"connection_id":119233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:13:02] local.INFO: GPS data processed {"connection_id":119233,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:13:02] local.INFO: Acknowledgment sent {"connection_id":119233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:13:20] local.INFO: TCP Data received {"connection_id":120028,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:13:20] local.INFO: Processing buffer {"connection_id":120028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:13:20] local.INFO: IMEI packet received {"connection_id":120028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 19:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":120028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:13:25] local.INFO: TCP Data received {"connection_id":120028,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:13:25] local.INFO: Processing buffer {"connection_id":120028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:13:25] local.INFO: IMEI packet received {"connection_id":120028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 19:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":120028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:13:26] local.INFO: TCP Data received {"connection_id":120028,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1de6f0b0012cb29ac007823d880047002028..."} 
[2026-07-01 19:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1de6f0b0012cb29ac007823d880047002028..."} 
[2026-07-01 19:13:26] local.INFO: Processing buffer {"connection_id":120028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1de6f0b0012cb29ac007823d880047002028..."} 
[2026-07-01 19:13:26] local.INFO: Packet analysis {"connection_id":120028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1de6"} 
[2026-07-01 19:13:26] local.INFO: Extracted packet for processing {"connection_id":120028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1de6"} 
[2026-07-01 19:13:26] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:13:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425677056001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:13:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:13:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:13:26] 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-01 19:13:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782913102000,"timestamp_ms":1782913102000,"timestamp_seconds":1782913102,"priority":1,"record_length":96,"hex_timestamp":"0000019f1de6f0b0"} 
[2026-07-01 19:13:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:13:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 19:13:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:13:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:13:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:13:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:13:26] local.INFO: Teltonika packet parsed successfully {"connection_id":120028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:13:26] local.INFO: Passing IMEI to GPS processor {"connection_id":120028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:13:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":120028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:13:26] local.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-01 19:13:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:13:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:13:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425677056001,"66":25375,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:13:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:13:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:13:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425677056001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:13:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:13:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:13:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:13:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:13:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425677056001,"power":25375,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:13:26] local.INFO: DEBUG: GPS processor result {"connection_id":120028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:13:26] local.INFO: GPS data processed {"connection_id":120028,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:13:26] local.INFO: Acknowledgment sent {"connection_id":120028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:13:45] local.INFO: TCP Data received {"connection_id":121106,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121106,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:13:45] local.INFO: Processing buffer {"connection_id":121106,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:13:45] local.INFO: IMEI packet received {"connection_id":121106,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 19:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":121106,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:13:59] local.INFO: TCP Data received {"connection_id":120028,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1de6f0b0012cb29ac007823d880047002028..."} 
[2026-07-01 19:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1de6f0b0012cb29ac007823d880047002028..."} 
[2026-07-01 19:13:59] local.INFO: Processing buffer {"connection_id":120028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1de6f0b0012cb29ac007823d880047002028..."} 
[2026-07-01 19:13:59] local.INFO: Packet analysis {"connection_id":120028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1de6"} 
[2026-07-01 19:13:59] local.INFO: Extracted packet for processing {"connection_id":120028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1de6"} 
[2026-07-01 19:13:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425677056001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:13:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:13:59] 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-01 19:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782913102000,"timestamp_ms":1782913102000,"timestamp_seconds":1782913102,"priority":1,"record_length":96,"hex_timestamp":"0000019f1de6f0b0"} 
[2026-07-01 19:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:13:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 19:13:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:13:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":120028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":120028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":120028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:13:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425677056001,"66":25375,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425677056001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:13:59] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:13:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:13:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425677056001,"power":25375,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":120028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:13:59] local.INFO: GPS data processed {"connection_id":120028,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:13:59] local.INFO: Acknowledgment sent {"connection_id":120028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:14:15] local.INFO: TCP Data received {"connection_id":119335,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119335,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:14:15] local.INFO: Processing buffer {"connection_id":119335,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:14:15] local.INFO: IMEI packet received {"connection_id":119335,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 19:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":119335,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:14:20] local.INFO: TCP Data received {"connection_id":120029,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:14:20] local.INFO: Processing buffer {"connection_id":120029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:14:20] local.INFO: IMEI packet received {"connection_id":120029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 19:14:20] local.INFO: IMEI acknowledgment sent {"connection_id":120029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:14:25] local.INFO: TCP Data received {"connection_id":120029,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:14:25] local.INFO: Processing buffer {"connection_id":120029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:14:25] local.INFO: IMEI packet received {"connection_id":120029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 19:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":120029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:14:26] local.INFO: TCP Data received {"connection_id":120029,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1deb8878012cb29ac007823d880047002029..."} 
[2026-07-01 19:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1deb8878012cb29ac007823d880047002029..."} 
[2026-07-01 19:14:26] local.INFO: Processing buffer {"connection_id":120029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1deb8878012cb29ac007823d880047002029..."} 
[2026-07-01 19:14:26] local.INFO: Packet analysis {"connection_id":120029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1deb"} 
[2026-07-01 19:14:26] local.INFO: Extracted packet for processing {"connection_id":120029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1deb"} 
[2026-07-01 19:14:26] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19: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-01 19:14:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425754112001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:14:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:14:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:14:26] 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-01 19:14:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782913403000,"timestamp_ms":1782913403000,"timestamp_seconds":1782913403,"priority":1,"record_length":96,"hex_timestamp":"0000019f1deb8878"} 
[2026-07-01 19: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-01 19:14:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-01 19:14:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19: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-01 19: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-01 19:14:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:14:26] local.INFO: Teltonika packet parsed successfully {"connection_id":120029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:14:26] local.INFO: Passing IMEI to GPS processor {"connection_id":120029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:14:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":120029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:14:26] local.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-01 19:14:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:14:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:14:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425754112001,"66":25071,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:14:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:14:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:14:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425754112001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:14:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:14:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:14:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:14:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:14:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425754112001,"power":25071,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:14:26] local.INFO: DEBUG: GPS processor result {"connection_id":120029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:14:26] local.INFO: GPS data processed {"connection_id":120029,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:14:26] local.INFO: Acknowledgment sent {"connection_id":120029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:15:00] local.INFO: TCP Data received {"connection_id":120029,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1deb8878012cb29ac007823d880047002029..."} 
[2026-07-01 19:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1deb8878012cb29ac007823d880047002029..."} 
[2026-07-01 19:15:00] local.INFO: Processing buffer {"connection_id":120029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1deb8878012cb29ac007823d880047002029..."} 
[2026-07-01 19:15:00] local.INFO: Packet analysis {"connection_id":120029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1deb"} 
[2026-07-01 19:15:00] local.INFO: Extracted packet for processing {"connection_id":120029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1deb"} 
[2026-07-01 19:15:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:15:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425754112001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:15:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:15:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:15:00] 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-01 19:15:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782913403000,"timestamp_ms":1782913403000,"timestamp_seconds":1782913403,"priority":1,"record_length":96,"hex_timestamp":"0000019f1deb8878"} 
[2026-07-01 19:15:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:15:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-01 19:15:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:15:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:15:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:15:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:15:00] local.INFO: Teltonika packet parsed successfully {"connection_id":120029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:15:00] local.INFO: Passing IMEI to GPS processor {"connection_id":120029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:15:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":120029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:15:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:15:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:15:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:15:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425754112001,"66":25071,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:15:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:15:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:15:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425754112001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:15:00] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:15:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:15:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:15:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:15:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425754112001,"power":25071,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:15:00] local.INFO: DEBUG: GPS processor result {"connection_id":120029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:15:00] local.INFO: GPS data processed {"connection_id":120029,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:15:00] local.INFO: Acknowledgment sent {"connection_id":120029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:15:20] local.INFO: TCP Data received {"connection_id":119337,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:15:20] local.INFO: Processing buffer {"connection_id":119337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:15:20] local.INFO: IMEI packet received {"connection_id":119337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 19:15:20] local.INFO: IMEI acknowledgment sent {"connection_id":119337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:15:25] local.INFO: TCP Data received {"connection_id":119337,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:15:25] local.INFO: Processing buffer {"connection_id":119337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:15:25] local.INFO: IMEI packet received {"connection_id":119337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 19:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":119337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:15:26] local.INFO: TCP Data received {"connection_id":119337,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1deb8878012cb29ac007823d880047002029..."} 
[2026-07-01 19:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1deb8878012cb29ac007823d880047002029..."} 
[2026-07-01 19:15:26] local.INFO: Processing buffer {"connection_id":119337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1deb8878012cb29ac007823d880047002029..."} 
[2026-07-01 19:15:26] local.INFO: Packet analysis {"connection_id":119337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1deb"} 
[2026-07-01 19:15:26] local.INFO: Extracted packet for processing {"connection_id":119337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1deb"} 
[2026-07-01 19:15:26] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19: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-01 19:15:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425754112001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:15:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:15:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:15:26] 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-01 19:15:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782913403000,"timestamp_ms":1782913403000,"timestamp_seconds":1782913403,"priority":1,"record_length":96,"hex_timestamp":"0000019f1deb8878"} 
[2026-07-01 19: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-01 19:15:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:15:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-01 19:15:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19: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-01 19: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-01 19:15:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:15:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:15:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:15:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:15:26] local.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-01 19:15:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:15:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:15:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425754112001,"66":25071,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:15:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:15:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:15:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425754112001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:15:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:15:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:15:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:15:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:15:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425754112001,"power":25071,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:15:26] local.INFO: DEBUG: GPS processor result {"connection_id":119337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:15:26] local.INFO: GPS data processed {"connection_id":119337,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:15:26] local.INFO: Acknowledgment sent {"connection_id":119337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:15:57] local.INFO: TCP Data received {"connection_id":119337,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1deb8878012cb29ac007823d880047002029..."} 
[2026-07-01 19:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1deb8878012cb29ac007823d880047002029..."} 
[2026-07-01 19:15:57] local.INFO: Processing buffer {"connection_id":119337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1deb8878012cb29ac007823d880047002029..."} 
[2026-07-01 19:15:57] local.INFO: Packet analysis {"connection_id":119337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1deb"} 
[2026-07-01 19:15:57] local.INFO: Extracted packet for processing {"connection_id":119337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1deb"} 
[2026-07-01 19:15:57] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19: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-01 19:15:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425754112001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:15:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:15:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:15:57] 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-01 19:15:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782913403000,"timestamp_ms":1782913403000,"timestamp_seconds":1782913403,"priority":1,"record_length":96,"hex_timestamp":"0000019f1deb8878"} 
[2026-07-01 19: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-01 19:15:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-01 19:15:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19: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-01 19: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-01 19:15:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:15:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:15:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:15:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:15:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:15:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:15:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:15:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425754112001,"66":25071,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:15:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:15:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:15:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425754112001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:15:57] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:15:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:15:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:15:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:15:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425754112001,"power":25071,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:15:57] local.INFO: DEBUG: GPS processor result {"connection_id":119337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:15:57] local.INFO: GPS data processed {"connection_id":119337,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:15:57] local.INFO: Acknowledgment sent {"connection_id":119337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:16:25] local.INFO: TCP Data received {"connection_id":119338,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:16:25] local.INFO: Processing buffer {"connection_id":119338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:16:25] local.INFO: IMEI packet received {"connection_id":119338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 19:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":119338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:16:30] local.INFO: TCP Data received {"connection_id":119338,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:16:30] local.INFO: Processing buffer {"connection_id":119338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:16:30] local.INFO: IMEI packet received {"connection_id":119338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 19:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":119338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:16:31] local.INFO: TCP Data received {"connection_id":119338,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1deb8878012cb29ac007823d880047002029..."} 
[2026-07-01 19:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1deb8878012cb29ac007823d880047002029..."} 
[2026-07-01 19:16:31] local.INFO: Processing buffer {"connection_id":119338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1deb8878012cb29ac007823d880047002029..."} 
[2026-07-01 19:16:31] local.INFO: Packet analysis {"connection_id":119338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1deb"} 
[2026-07-01 19:16:31] local.INFO: Extracted packet for processing {"connection_id":119338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1deb"} 
[2026-07-01 19:16:31] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425754112001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:16:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:16:31] 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-01 19:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782913403000,"timestamp_ms":1782913403000,"timestamp_seconds":1782913403,"priority":1,"record_length":96,"hex_timestamp":"0000019f1deb8878"} 
[2026-07-01 19:16:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:16:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-01 19:16:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:16:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:16:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:16:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425754112001,"66":25071,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425754112001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:16:31] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:16:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:16:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:16:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425754112001,"power":25071,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":119338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:16:31] local.INFO: GPS data processed {"connection_id":119338,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:16:31] local.INFO: Acknowledgment sent {"connection_id":119338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:16:35] local.INFO: TCP Data received {"connection_id":119338,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1deb8878012cb29ac007823d880047002029..."} 
[2026-07-01 19:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1deb8878012cb29ac007823d880047002029..."} 
[2026-07-01 19:16:35] local.INFO: Processing buffer {"connection_id":119338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1deb8878012cb29ac007823d880047002029..."} 
[2026-07-01 19:16:35] local.INFO: Packet analysis {"connection_id":119338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1deb"} 
[2026-07-01 19:16:35] local.INFO: Extracted packet for processing {"connection_id":119338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1deb"} 
[2026-07-01 19:16:35] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425754112001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:16:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:16:35] 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-01 19:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782913403000,"timestamp_ms":1782913403000,"timestamp_seconds":1782913403,"priority":1,"record_length":96,"hex_timestamp":"0000019f1deb8878"} 
[2026-07-01 19: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-01 19:16:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-01 19:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:16:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19: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-01 19:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":119338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":119338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":119338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425754112001,"66":25071,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425754112001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:16:35] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:16:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:16:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425754112001,"power":25071,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":119338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:16:35] local.INFO: GPS data processed {"connection_id":119338,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:16:35] local.INFO: Acknowledgment sent {"connection_id":119338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:17:20] local.INFO: TCP Data received {"connection_id":119235,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:17:20] local.INFO: Processing buffer {"connection_id":119235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:17:20] local.INFO: IMEI packet received {"connection_id":119235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 19:17:20] local.INFO: IMEI acknowledgment sent {"connection_id":119235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:17:26] local.INFO: TCP Data received {"connection_id":119235,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:17:26] local.INFO: Processing buffer {"connection_id":119235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:17:26] local.INFO: IMEI packet received {"connection_id":119235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 19:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":119235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:17:27] local.INFO: TCP Data received {"connection_id":119235,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1deb8878012cb29ac007823d880047002029..."} 
[2026-07-01 19:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1deb8878012cb29ac007823d880047002029..."} 
[2026-07-01 19:17:27] local.INFO: Processing buffer {"connection_id":119235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1deb8878012cb29ac007823d880047002029..."} 
[2026-07-01 19:17:27] local.INFO: Packet analysis {"connection_id":119235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1deb"} 
[2026-07-01 19:17:27] local.INFO: Extracted packet for processing {"connection_id":119235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1deb"} 
[2026-07-01 19:17:27] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425754112001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:17:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:17:27] 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-01 19:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782913403000,"timestamp_ms":1782913403000,"timestamp_seconds":1782913403,"priority":1,"record_length":96,"hex_timestamp":"0000019f1deb8878"} 
[2026-07-01 19:17:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:17:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-01 19:17:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:17:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:17:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:17:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425754112001,"66":25071,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425754112001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:17:27] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:17:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:17:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425754112001,"power":25071,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":119235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:17:27] local.INFO: GPS data processed {"connection_id":119235,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:17:27] local.INFO: Acknowledgment sent {"connection_id":119235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:17:30] local.INFO: TCP Data received {"connection_id":119235,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1deb8878012cb29ac007823d880047002029..."} 
[2026-07-01 19:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1deb8878012cb29ac007823d880047002029..."} 
[2026-07-01 19:17:30] local.INFO: Processing buffer {"connection_id":119235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1deb8878012cb29ac007823d880047002029..."} 
[2026-07-01 19:17:30] local.INFO: Packet analysis {"connection_id":119235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1deb"} 
[2026-07-01 19:17:30] local.INFO: Extracted packet for processing {"connection_id":119235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1deb"} 
[2026-07-01 19:17:30] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425754112001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:17:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:17:30] 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-01 19:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782913403000,"timestamp_ms":1782913403000,"timestamp_seconds":1782913403,"priority":1,"record_length":96,"hex_timestamp":"0000019f1deb8878"} 
[2026-07-01 19:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:17:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-01 19:17:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:17:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":119235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":119235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":119235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:17:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425754112001,"66":25071,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425754112001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:17:30] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:17:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:17:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425754112001,"power":25071,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":119235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:17:30] local.INFO: GPS data processed {"connection_id":119235,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:17:30] local.INFO: Acknowledgment sent {"connection_id":119235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:18:03] local.INFO: TCP Data received {"connection_id":119235,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1deb8878012cb29ac007823d880047002029..."} 
[2026-07-01 19:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1deb8878012cb29ac007823d880047002029..."} 
[2026-07-01 19:18:03] local.INFO: Processing buffer {"connection_id":119235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1deb8878012cb29ac007823d880047002029..."} 
[2026-07-01 19:18:03] local.INFO: Packet analysis {"connection_id":119235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1deb"} 
[2026-07-01 19:18:03] local.INFO: Extracted packet for processing {"connection_id":119235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1deb"} 
[2026-07-01 19:18:03] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425754112001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:18:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:18:03] 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-01 19:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782913403000,"timestamp_ms":1782913403000,"timestamp_seconds":1782913403,"priority":1,"record_length":96,"hex_timestamp":"0000019f1deb8878"} 
[2026-07-01 19:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:18:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-01 19:18:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:18:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":119235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":119235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":119235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425754112001,"66":25071,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425754112001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:18:03] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:18:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:18:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425754112001,"power":25071,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":119235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:18:03] local.INFO: GPS data processed {"connection_id":119235,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:18:03] local.INFO: Acknowledgment sent {"connection_id":119235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:18:25] local.INFO: TCP Data received {"connection_id":119339,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:18:25] local.INFO: Processing buffer {"connection_id":119339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:18:25] local.INFO: IMEI packet received {"connection_id":119339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 19:18:25] local.INFO: IMEI acknowledgment sent {"connection_id":119339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:18:30] local.INFO: TCP Data received {"connection_id":119339,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:18:30] local.INFO: Processing buffer {"connection_id":119339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:18:30] local.INFO: IMEI packet received {"connection_id":119339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 19:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":119339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:18:34] local.INFO: TCP Data received {"connection_id":119339,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1deb8878012cb29ac007823d880047002029..."} 
[2026-07-01 19:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1deb8878012cb29ac007823d880047002029..."} 
[2026-07-01 19:18:34] local.INFO: Processing buffer {"connection_id":119339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1deb8878012cb29ac007823d880047002029..."} 
[2026-07-01 19:18:34] local.INFO: Packet analysis {"connection_id":119339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1deb"} 
[2026-07-01 19:18:34] local.INFO: Extracted packet for processing {"connection_id":119339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1deb"} 
[2026-07-01 19:18:34] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425754112001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:18:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:18:34] 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-01 19:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782913403000,"timestamp_ms":1782913403000,"timestamp_seconds":1782913403,"priority":1,"record_length":96,"hex_timestamp":"0000019f1deb8878"} 
[2026-07-01 19:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-01 19:18:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:18:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":119339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":119339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":119339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425754112001,"66":25071,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425754112001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:18:34] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:18:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:18:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425754112001,"power":25071,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":119339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:18:34] local.INFO: GPS data processed {"connection_id":119339,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:18:34] local.INFO: Acknowledgment sent {"connection_id":119339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:18:44] local.INFO: TCP Data received {"connection_id":119339,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1deb8878012cb29ac007823d880047002029..."} 
[2026-07-01 19:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1deb8878012cb29ac007823d880047002029..."} 
[2026-07-01 19:18:44] local.INFO: Processing buffer {"connection_id":119339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1deb8878012cb29ac007823d880047002029..."} 
[2026-07-01 19:18:44] local.INFO: Packet analysis {"connection_id":119339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1deb"} 
[2026-07-01 19:18:44] local.INFO: Extracted packet for processing {"connection_id":119339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1deb"} 
[2026-07-01 19:18:44] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:18:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:18:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425754112001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:18:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:18:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:18:44] 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-01 19:18:44] local.INFO: AVL Record Parsed {"raw_timestamp":1782913403000,"timestamp_ms":1782913403000,"timestamp_seconds":1782913403,"priority":1,"record_length":96,"hex_timestamp":"0000019f1deb8878"} 
[2026-07-01 19:18:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:18:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:18:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-01 19:18:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:18:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:18:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:18:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:18:44] local.INFO: Teltonika packet parsed successfully {"connection_id":119339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:18:44] local.INFO: Passing IMEI to GPS processor {"connection_id":119339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:18:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":119339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:18: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-01 19:18:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:18:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:18:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425754112001,"66":25071,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:18:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:18:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:18:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425754112001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:18:44] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:18:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:18:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:18:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:18:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425754112001,"power":25071,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:18:44] local.INFO: DEBUG: GPS processor result {"connection_id":119339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:18:44] local.INFO: GPS data processed {"connection_id":119339,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:18:44] local.INFO: Acknowledgment sent {"connection_id":119339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:19:20] local.INFO: TCP Data received {"connection_id":119237,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:19:20] local.INFO: Processing buffer {"connection_id":119237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:19:20] local.INFO: IMEI packet received {"connection_id":119237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 19:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":119237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:19:25] local.INFO: TCP Data received {"connection_id":119237,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:19:25] local.INFO: Processing buffer {"connection_id":119237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:19:25] local.INFO: IMEI packet received {"connection_id":119237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 19:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":119237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:19:26] local.INFO: TCP Data received {"connection_id":119237,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1df02040012cb29ac007823d880047002029..."} 
[2026-07-01 19:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1df02040012cb29ac007823d880047002029..."} 
[2026-07-01 19:19:26] local.INFO: Processing buffer {"connection_id":119237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1df02040012cb29ac007823d880047002029..."} 
[2026-07-01 19:19:26] local.INFO: Packet analysis {"connection_id":119237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1df0"} 
[2026-07-01 19:19:26] local.INFO: Extracted packet for processing {"connection_id":119237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1df0"} 
[2026-07-01 19:19:26] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425831168001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:19:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:19:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:19:26] 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-01 19:19:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782913704000,"timestamp_ms":1782913704000,"timestamp_seconds":1782913704,"priority":1,"record_length":96,"hex_timestamp":"0000019f1df02040"} 
[2026-07-01 19:19:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:19:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-01 19:19:26] 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-01 19:19:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:19:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:19:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:19:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:19:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:19:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:19:26] local.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-01 19:19:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:19:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:19:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425831168001,"66":25430,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:19:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:19:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:19:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425831168001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:19:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:19:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:19:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:19:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:19:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425831168001,"power":25430,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:19:26] local.INFO: DEBUG: GPS processor result {"connection_id":119237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:19:26] local.INFO: GPS data processed {"connection_id":119237,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:19:26] local.INFO: Acknowledgment sent {"connection_id":119237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:19:40] local.INFO: TCP Data received {"connection_id":119340,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119340,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:19:40] local.INFO: Processing buffer {"connection_id":119340,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:19:40] local.INFO: IMEI packet received {"connection_id":119340,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 19:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":119340,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:19:59] local.INFO: TCP Data received {"connection_id":119237,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1df02040012cb29ac007823d880047002029..."} 
[2026-07-01 19:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1df02040012cb29ac007823d880047002029..."} 
[2026-07-01 19:19:59] local.INFO: Processing buffer {"connection_id":119237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1df02040012cb29ac007823d880047002029..."} 
[2026-07-01 19:19:59] local.INFO: Packet analysis {"connection_id":119237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1df0"} 
[2026-07-01 19:19:59] local.INFO: Extracted packet for processing {"connection_id":119237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1df0"} 
[2026-07-01 19:19:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425831168001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:19:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:19:59] 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-01 19:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782913704000,"timestamp_ms":1782913704000,"timestamp_seconds":1782913704,"priority":1,"record_length":96,"hex_timestamp":"0000019f1df02040"} 
[2026-07-01 19:19:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:19:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-01 19:19:59] 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-01 19:19:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:19:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:19:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425831168001,"66":25430,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425831168001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:19:59] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:19:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:19:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425831168001,"power":25430,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":119237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:19:59] local.INFO: GPS data processed {"connection_id":119237,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:19:59] local.INFO: Acknowledgment sent {"connection_id":119237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:20:20] local.INFO: TCP Data received {"connection_id":119341,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:20:20] local.INFO: Processing buffer {"connection_id":119341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:20:20] local.INFO: IMEI packet received {"connection_id":119341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 19:20:20] local.INFO: IMEI acknowledgment sent {"connection_id":119341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:20:25] local.INFO: TCP Data received {"connection_id":119341,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:20:25] local.INFO: Processing buffer {"connection_id":119341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:20:25] local.INFO: IMEI packet received {"connection_id":119341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 19:20:25] local.INFO: IMEI acknowledgment sent {"connection_id":119341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:20:25] local.INFO: TCP Data received {"connection_id":120031,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120031,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:20:25] local.INFO: Processing buffer {"connection_id":120031,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:20:25] local.INFO: IMEI packet received {"connection_id":120031,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 19:20:25] local.INFO: IMEI acknowledgment sent {"connection_id":120031,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:20:26] local.INFO: TCP Data received {"connection_id":119341,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1df02040012cb29ac007823d880047002029..."} 
[2026-07-01 19:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1df02040012cb29ac007823d880047002029..."} 
[2026-07-01 19:20:26] local.INFO: Processing buffer {"connection_id":119341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1df02040012cb29ac007823d880047002029..."} 
[2026-07-01 19:20:26] local.INFO: Packet analysis {"connection_id":119341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1df0"} 
[2026-07-01 19:20:26] local.INFO: Extracted packet for processing {"connection_id":119341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1df0"} 
[2026-07-01 19:20:26] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:20:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425831168001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:20:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:20:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:20:26] 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-01 19:20:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782913704000,"timestamp_ms":1782913704000,"timestamp_seconds":1782913704,"priority":1,"record_length":96,"hex_timestamp":"0000019f1df02040"} 
[2026-07-01 19:20:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:20:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-01 19:20:26] 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-01 19:20:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:20:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:20:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:20:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:20:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:20:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:20:26] local.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-01 19:20:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:20:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:20:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425831168001,"66":25430,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:20:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:20:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:20:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425831168001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:20:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:20:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:20:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:20:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:20:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425831168001,"power":25430,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:20:26] local.INFO: DEBUG: GPS processor result {"connection_id":119341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:20:26] local.INFO: GPS data processed {"connection_id":119341,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:20:26] local.INFO: Acknowledgment sent {"connection_id":119341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:20:27] local.INFO: TCP Data received {"connection_id":120031,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120031,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:20:27] local.INFO: Processing buffer {"connection_id":120031,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:20:27] local.INFO: IMEI packet received {"connection_id":120031,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-01 19:20:27] local.INFO: IMEI acknowledgment sent {"connection_id":120031,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:20:30] local.INFO: TCP Data received {"connection_id":120031,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120031,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:20:30] local.INFO: Processing buffer {"connection_id":120031,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:20:30] local.INFO: IMEI packet received {"connection_id":120031,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-01 19:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":120031,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:20:57] local.INFO: TCP Data received {"connection_id":119341,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1df02040012cb29ac007823d880047002029..."} 
[2026-07-01 19:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1df02040012cb29ac007823d880047002029..."} 
[2026-07-01 19:20:57] local.INFO: Processing buffer {"connection_id":119341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1df02040012cb29ac007823d880047002029..."} 
[2026-07-01 19:20:57] local.INFO: Packet analysis {"connection_id":119341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1df0"} 
[2026-07-01 19:20:57] local.INFO: Extracted packet for processing {"connection_id":119341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1df0"} 
[2026-07-01 19:20:57] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:20:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:20:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425831168001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:20:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:20:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:20:57] 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-01 19:20:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782913704000,"timestamp_ms":1782913704000,"timestamp_seconds":1782913704,"priority":1,"record_length":96,"hex_timestamp":"0000019f1df02040"} 
[2026-07-01 19:20:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:20:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:20:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-01 19:20:57] 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-01 19:20:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:20:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:20:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:20:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:20:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:20:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:20:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:20:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:20:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:20:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425831168001,"66":25430,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:20:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:20:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:20:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425831168001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:20:57] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:20:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:20:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:20:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:20:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425831168001,"power":25430,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:20:57] local.INFO: DEBUG: GPS processor result {"connection_id":119341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:20:57] local.INFO: GPS data processed {"connection_id":119341,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:20:57] local.INFO: Acknowledgment sent {"connection_id":119341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:21:20] local.INFO: TCP Data received {"connection_id":120032,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:21:20] local.INFO: Processing buffer {"connection_id":120032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:21:20] local.INFO: IMEI packet received {"connection_id":120032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 19:21:20] local.INFO: IMEI acknowledgment sent {"connection_id":120032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:21:25] local.INFO: TCP Data received {"connection_id":120032,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:21:25] local.INFO: Processing buffer {"connection_id":120032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:21:25] local.INFO: IMEI packet received {"connection_id":120032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 19:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":120032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:21:26] local.INFO: TCP Data received {"connection_id":120032,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1df02040012cb29ac007823d880047002029..."} 
[2026-07-01 19:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1df02040012cb29ac007823d880047002029..."} 
[2026-07-01 19:21:26] local.INFO: Processing buffer {"connection_id":120032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1df02040012cb29ac007823d880047002029..."} 
[2026-07-01 19:21:26] local.INFO: Packet analysis {"connection_id":120032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1df0"} 
[2026-07-01 19:21:26] local.INFO: Extracted packet for processing {"connection_id":120032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1df0"} 
[2026-07-01 19:21:26] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425831168001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:21:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:21:26] 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-01 19:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782913704000,"timestamp_ms":1782913704000,"timestamp_seconds":1782913704,"priority":1,"record_length":96,"hex_timestamp":"0000019f1df02040"} 
[2026-07-01 19:21:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:21:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-01 19:21:26] 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-01 19:21:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:21:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":120032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":120032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":120032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:21:26] local.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-01 19:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425831168001,"66":25430,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425831168001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:21:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:21:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:21:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425831168001,"power":25430,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":120032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:21:26] local.INFO: GPS data processed {"connection_id":120032,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:21:26] local.INFO: Acknowledgment sent {"connection_id":120032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:22:00] local.INFO: TCP Data received {"connection_id":120032,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1df02040012cb29ac007823d880047002029..."} 
[2026-07-01 19:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1df02040012cb29ac007823d880047002029..."} 
[2026-07-01 19:22:00] local.INFO: Processing buffer {"connection_id":120032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1df02040012cb29ac007823d880047002029..."} 
[2026-07-01 19:22:00] local.INFO: Packet analysis {"connection_id":120032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1df0"} 
[2026-07-01 19:22:00] local.INFO: Extracted packet for processing {"connection_id":120032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1df0"} 
[2026-07-01 19:22:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19: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-01 19:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425831168001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:22:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:22:00] 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-01 19:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782913704000,"timestamp_ms":1782913704000,"timestamp_seconds":1782913704,"priority":1,"record_length":96,"hex_timestamp":"0000019f1df02040"} 
[2026-07-01 19: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-01 19:22:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-01 19:22:00] 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-01 19: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-01 19: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-01 19:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":120032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":120032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":120032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:22:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425831168001,"66":25430,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425831168001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:22:00] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:22:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:22:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425831168001,"power":25430,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":120032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:22:00] local.INFO: GPS data processed {"connection_id":120032,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:22:00] local.INFO: Acknowledgment sent {"connection_id":120032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:22:20] local.INFO: TCP Data received {"connection_id":120034,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:22:20] local.INFO: Processing buffer {"connection_id":120034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:22:20] local.INFO: IMEI packet received {"connection_id":120034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 19:22:20] local.INFO: IMEI acknowledgment sent {"connection_id":120034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:22:25] local.INFO: TCP Data received {"connection_id":120034,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:22:25] local.INFO: Processing buffer {"connection_id":120034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:22:25] local.INFO: IMEI packet received {"connection_id":120034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 19:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":120034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:22:26] local.INFO: TCP Data received {"connection_id":120034,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1df02040012cb29ac007823d880047002029..."} 
[2026-07-01 19:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1df02040012cb29ac007823d880047002029..."} 
[2026-07-01 19:22:26] local.INFO: Processing buffer {"connection_id":120034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1df02040012cb29ac007823d880047002029..."} 
[2026-07-01 19:22:26] local.INFO: Packet analysis {"connection_id":120034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1df0"} 
[2026-07-01 19:22:26] local.INFO: Extracted packet for processing {"connection_id":120034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1df0"} 
[2026-07-01 19:22:26] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:22:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425831168001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:22:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:22:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:22:26] 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-01 19:22:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782913704000,"timestamp_ms":1782913704000,"timestamp_seconds":1782913704,"priority":1,"record_length":96,"hex_timestamp":"0000019f1df02040"} 
[2026-07-01 19:22:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:22:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-01 19:22:26] 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-01 19:22:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:22:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:22:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:22:26] local.INFO: Teltonika packet parsed successfully {"connection_id":120034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:22:26] local.INFO: Passing IMEI to GPS processor {"connection_id":120034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:22:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":120034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:22:26] local.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-01 19:22:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:22:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:22:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425831168001,"66":25430,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:22:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:22:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:22:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425831168001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:22:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:22:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:22:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:22:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:22:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425831168001,"power":25430,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:22:26] local.INFO: DEBUG: GPS processor result {"connection_id":120034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:22:26] local.INFO: GPS data processed {"connection_id":120034,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:22:26] local.INFO: Acknowledgment sent {"connection_id":120034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:22:57] local.INFO: TCP Data received {"connection_id":120034,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1df02040012cb29ac007823d880047002029..."} 
[2026-07-01 19:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1df02040012cb29ac007823d880047002029..."} 
[2026-07-01 19:22:57] local.INFO: Processing buffer {"connection_id":120034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1df02040012cb29ac007823d880047002029..."} 
[2026-07-01 19:22:57] local.INFO: Packet analysis {"connection_id":120034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1df0"} 
[2026-07-01 19:22:57] local.INFO: Extracted packet for processing {"connection_id":120034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1df0"} 
[2026-07-01 19:22:57] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425831168001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:22:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:22:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:22:57] 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-01 19:22:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782913704000,"timestamp_ms":1782913704000,"timestamp_seconds":1782913704,"priority":1,"record_length":96,"hex_timestamp":"0000019f1df02040"} 
[2026-07-01 19:22:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:22:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-01 19:22:57] 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-01 19:22: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-01 19:22:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:22:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:22:57] local.INFO: Teltonika packet parsed successfully {"connection_id":120034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:22:57] local.INFO: Passing IMEI to GPS processor {"connection_id":120034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:22:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":120034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:22:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:22:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:22:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:22:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425831168001,"66":25430,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:22:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:22:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:22:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425831168001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:22:57] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:22:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:22:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:22:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:22:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425831168001,"power":25430,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:22:57] local.INFO: DEBUG: GPS processor result {"connection_id":120034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:22:57] local.INFO: GPS data processed {"connection_id":120034,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:22:57] local.INFO: Acknowledgment sent {"connection_id":120034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:23:25] local.INFO: TCP Data received {"connection_id":120036,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:23:25] local.INFO: Processing buffer {"connection_id":120036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:23:25] local.INFO: IMEI packet received {"connection_id":120036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 19:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":120036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:23:30] local.INFO: TCP Data received {"connection_id":120036,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:23:30] local.INFO: Processing buffer {"connection_id":120036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:23:30] local.INFO: IMEI packet received {"connection_id":120036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 19:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":120036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:23:31] local.INFO: TCP Data received {"connection_id":120036,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1df02040012cb29ac007823d880047002029..."} 
[2026-07-01 19:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1df02040012cb29ac007823d880047002029..."} 
[2026-07-01 19:23:31] local.INFO: Processing buffer {"connection_id":120036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1df02040012cb29ac007823d880047002029..."} 
[2026-07-01 19:23:31] local.INFO: Packet analysis {"connection_id":120036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1df0"} 
[2026-07-01 19:23:31] local.INFO: Extracted packet for processing {"connection_id":120036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1df0"} 
[2026-07-01 19:23:31] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425831168001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:23:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:23:31] 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-01 19:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782913704000,"timestamp_ms":1782913704000,"timestamp_seconds":1782913704,"priority":1,"record_length":96,"hex_timestamp":"0000019f1df02040"} 
[2026-07-01 19:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:23:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-01 19:23:31] 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-01 19:23:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":120036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":120036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":120036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:23:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425831168001,"66":25430,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425831168001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:23:31] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:23:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:23:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425831168001,"power":25430,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":120036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:23:31] local.INFO: GPS data processed {"connection_id":120036,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:23:31] local.INFO: Acknowledgment sent {"connection_id":120036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:23:35] local.INFO: TCP Data received {"connection_id":120036,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1df02040012cb29ac007823d880047002029..."} 
[2026-07-01 19:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1df02040012cb29ac007823d880047002029..."} 
[2026-07-01 19:23:35] local.INFO: Processing buffer {"connection_id":120036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1df02040012cb29ac007823d880047002029..."} 
[2026-07-01 19:23:35] local.INFO: Packet analysis {"connection_id":120036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1df0"} 
[2026-07-01 19:23:35] local.INFO: Extracted packet for processing {"connection_id":120036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1df0"} 
[2026-07-01 19:23:35] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19: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-01 19:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425831168001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:23:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:23:35] 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-01 19:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782913704000,"timestamp_ms":1782913704000,"timestamp_seconds":1782913704,"priority":1,"record_length":96,"hex_timestamp":"0000019f1df02040"} 
[2026-07-01 19: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-01 19:23:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-01 19:23:35] 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-01 19: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-01 19: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-01 19:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":120036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":120036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":120036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:23:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425831168001,"66":25430,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425831168001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:23:35] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:23:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:23:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425831168001,"power":25430,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":120036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:23:35] local.INFO: GPS data processed {"connection_id":120036,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:23:35] local.INFO: Acknowledgment sent {"connection_id":120036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:24:20] local.INFO: TCP Data received {"connection_id":119343,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:24:20] local.INFO: Processing buffer {"connection_id":119343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:24:20] local.INFO: IMEI packet received {"connection_id":119343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 19:24:20] local.INFO: IMEI acknowledgment sent {"connection_id":119343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:24:25] local.INFO: TCP Data received {"connection_id":119343,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:24:25] local.INFO: Processing buffer {"connection_id":119343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:24:25] local.INFO: IMEI packet received {"connection_id":119343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 19:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":119343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:24:26] local.INFO: TCP Data received {"connection_id":119343,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1df4b808012cb29ac007823d880047002023..."} 
[2026-07-01 19:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1df4b808012cb29ac007823d880047002023..."} 
[2026-07-01 19:24:26] local.INFO: Processing buffer {"connection_id":119343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1df4b808012cb29ac007823d880047002023..."} 
[2026-07-01 19:24:26] local.INFO: Packet analysis {"connection_id":119343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1df4"} 
[2026-07-01 19:24:26] local.INFO: Extracted packet for processing {"connection_id":119343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1df4"} 
[2026-07-01 19:24:26] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425908224001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:24:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:24:26] 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-01 19:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782914005000,"timestamp_ms":1782914005000,"timestamp_seconds":1782914005,"priority":1,"record_length":96,"hex_timestamp":"0000019f1df4b808"} 
[2026-07-01 19:24:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:24:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-01 19:24:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:24:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:24:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:24:26] local.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-01 19:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425908224001,"66":25441,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425908224001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:24:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:24:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:24:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425908224001,"power":25441,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":119343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:24:26] local.INFO: GPS data processed {"connection_id":119343,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:24:26] local.INFO: Acknowledgment sent {"connection_id":119343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:24:30] local.INFO: TCP Data received {"connection_id":119343,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1df4b808012cb29ac007823d880047002023..."} 
[2026-07-01 19:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1df4b808012cb29ac007823d880047002023..."} 
[2026-07-01 19:24:30] local.INFO: Processing buffer {"connection_id":119343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1df4b808012cb29ac007823d880047002023..."} 
[2026-07-01 19:24:30] local.INFO: Packet analysis {"connection_id":119343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1df4"} 
[2026-07-01 19:24:30] local.INFO: Extracted packet for processing {"connection_id":119343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1df4"} 
[2026-07-01 19:24:30] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425908224001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:24:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:24:30] 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-01 19:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782914005000,"timestamp_ms":1782914005000,"timestamp_seconds":1782914005,"priority":1,"record_length":96,"hex_timestamp":"0000019f1df4b808"} 
[2026-07-01 19:24:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:24:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-01 19:24:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:24:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:24:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":119343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":119343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":119343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:24:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425908224001,"66":25441,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425908224001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:24:30] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:24:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:24:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425908224001,"power":25441,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:24:30] local.INFO: DEBUG: GPS processor result {"connection_id":119343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:24:30] local.INFO: GPS data processed {"connection_id":119343,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:24:30] local.INFO: Acknowledgment sent {"connection_id":119343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:25:01] local.INFO: TCP Data received {"connection_id":119343,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1df4b808012cb29ac007823d880047002023..."} 
[2026-07-01 19:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1df4b808012cb29ac007823d880047002023..."} 
[2026-07-01 19:25:01] local.INFO: Processing buffer {"connection_id":119343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1df4b808012cb29ac007823d880047002023..."} 
[2026-07-01 19:25:01] local.INFO: Packet analysis {"connection_id":119343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1df4"} 
[2026-07-01 19:25:01] local.INFO: Extracted packet for processing {"connection_id":119343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1df4"} 
[2026-07-01 19:25:01] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425908224001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:25:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:25:01] 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-01 19:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782914005000,"timestamp_ms":1782914005000,"timestamp_seconds":1782914005,"priority":1,"record_length":96,"hex_timestamp":"0000019f1df4b808"} 
[2026-07-01 19:25:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:25:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-01 19:25:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:25:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:25:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":119343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":119343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":119343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:25:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425908224001,"66":25441,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425908224001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:25:01] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:25:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:25:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:25:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425908224001,"power":25441,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":119343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:25:01] local.INFO: GPS data processed {"connection_id":119343,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:25:01] local.INFO: Acknowledgment sent {"connection_id":119343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:25:20] local.INFO: TCP Data received {"connection_id":119239,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:25:20] local.INFO: Processing buffer {"connection_id":119239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:25:20] local.INFO: IMEI packet received {"connection_id":119239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 19:25:20] local.INFO: IMEI acknowledgment sent {"connection_id":119239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:25:25] local.INFO: TCP Data received {"connection_id":119239,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:25:25] local.INFO: Processing buffer {"connection_id":119239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:25:25] local.INFO: IMEI packet received {"connection_id":119239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 19:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":119239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:25:26] local.INFO: TCP Data received {"connection_id":119239,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1df4b808012cb29ac007823d880047002023..."} 
[2026-07-01 19:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1df4b808012cb29ac007823d880047002023..."} 
[2026-07-01 19:25:26] local.INFO: Processing buffer {"connection_id":119239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1df4b808012cb29ac007823d880047002023..."} 
[2026-07-01 19:25:26] local.INFO: Packet analysis {"connection_id":119239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1df4"} 
[2026-07-01 19:25:26] local.INFO: Extracted packet for processing {"connection_id":119239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1df4"} 
[2026-07-01 19:25:26] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425908224001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:25:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:25:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:25:26] 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-01 19:25:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782914005000,"timestamp_ms":1782914005000,"timestamp_seconds":1782914005,"priority":1,"record_length":96,"hex_timestamp":"0000019f1df4b808"} 
[2026-07-01 19:25:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:25:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-01 19:25:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:25:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:25:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:25:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:25:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:25:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:25:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:25:26] local.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-01 19:25:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:25:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:25:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425908224001,"66":25441,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:25:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:25:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:25:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425908224001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:25:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:25:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:25:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:25:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:25:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425908224001,"power":25441,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:25:26] local.INFO: DEBUG: GPS processor result {"connection_id":119239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:25:26] local.INFO: GPS data processed {"connection_id":119239,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:25:26] local.INFO: Acknowledgment sent {"connection_id":119239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:25:35] local.INFO: TCP Data received {"connection_id":119238,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119238,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:25:35] local.INFO: Processing buffer {"connection_id":119238,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:25:35] local.INFO: IMEI packet received {"connection_id":119238,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 19:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":119238,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:25:57] local.INFO: TCP Data received {"connection_id":119239,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1df4b808012cb29ac007823d880047002023..."} 
[2026-07-01 19:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1df4b808012cb29ac007823d880047002023..."} 
[2026-07-01 19:25:57] local.INFO: Processing buffer {"connection_id":119239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1df4b808012cb29ac007823d880047002023..."} 
[2026-07-01 19:25:57] local.INFO: Packet analysis {"connection_id":119239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1df4"} 
[2026-07-01 19:25:57] local.INFO: Extracted packet for processing {"connection_id":119239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1df4"} 
[2026-07-01 19:25:57] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19: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-01 19:25:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425908224001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:25:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:25:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:25:57] 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-01 19:25:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782914005000,"timestamp_ms":1782914005000,"timestamp_seconds":1782914005,"priority":1,"record_length":96,"hex_timestamp":"0000019f1df4b808"} 
[2026-07-01 19: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-01 19:25:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-01 19:25:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19: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-01 19: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-01 19:25:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:25:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:25:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:25:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:25:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:25:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:25:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:25:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425908224001,"66":25441,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:25:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:25:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:25:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425908224001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:25:57] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:25:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:25:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:25:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:25:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425908224001,"power":25441,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:25:57] local.INFO: DEBUG: GPS processor result {"connection_id":119239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:25:57] local.INFO: GPS data processed {"connection_id":119239,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:25:57] local.INFO: Acknowledgment sent {"connection_id":119239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:26:15] local.INFO: TCP Data received {"connection_id":119240,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119240,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:26:15] local.INFO: Processing buffer {"connection_id":119240,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:26:15] local.INFO: IMEI packet received {"connection_id":119240,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 19:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":119240,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:26:20] local.INFO: TCP Data received {"connection_id":119344,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:26:20] local.INFO: Processing buffer {"connection_id":119344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:26:20] local.INFO: IMEI packet received {"connection_id":119344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 19:26:20] local.INFO: IMEI acknowledgment sent {"connection_id":119344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:26:25] local.INFO: TCP Data received {"connection_id":119344,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:26:25] local.INFO: Processing buffer {"connection_id":119344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:26:25] local.INFO: IMEI packet received {"connection_id":119344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 19:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":119344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:26:47] local.INFO: TCP Data received {"connection_id":119344,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1df4b808012cb29ac007823d880047002023..."} 
[2026-07-01 19:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1df4b808012cb29ac007823d880047002023..."} 
[2026-07-01 19:26:47] local.INFO: Processing buffer {"connection_id":119344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1df4b808012cb29ac007823d880047002023..."} 
[2026-07-01 19:26:47] local.INFO: Packet analysis {"connection_id":119344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1df4"} 
[2026-07-01 19:26:47] local.INFO: Extracted packet for processing {"connection_id":119344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1df4"} 
[2026-07-01 19:26:47] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19: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-01 19:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425908224001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:26:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:26:47] 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-01 19:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1782914005000,"timestamp_ms":1782914005000,"timestamp_seconds":1782914005,"priority":1,"record_length":96,"hex_timestamp":"0000019f1df4b808"} 
[2026-07-01 19: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-01 19:26:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-01 19:26:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19: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-01 19: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-01 19:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":119344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":119344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":119344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:26: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-01 19:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425908224001,"66":25441,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425908224001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:26:47] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:26:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:26:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425908224001,"power":25441,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":119344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:26:47] local.INFO: GPS data processed {"connection_id":119344,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:26:47] local.INFO: Acknowledgment sent {"connection_id":119344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:27:20] local.INFO: TCP Data received {"connection_id":120037,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:27:20] local.INFO: Processing buffer {"connection_id":120037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:27:20] local.INFO: IMEI packet received {"connection_id":120037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 19:27:20] local.INFO: IMEI acknowledgment sent {"connection_id":120037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:27:25] local.INFO: TCP Data received {"connection_id":120037,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:27:25] local.INFO: Processing buffer {"connection_id":120037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:27:25] local.INFO: IMEI packet received {"connection_id":120037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 19:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":120037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:27:26] local.INFO: TCP Data received {"connection_id":120037,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1df4b808012cb29ac007823d880047002023..."} 
[2026-07-01 19:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1df4b808012cb29ac007823d880047002023..."} 
[2026-07-01 19:27:26] local.INFO: Processing buffer {"connection_id":120037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1df4b808012cb29ac007823d880047002023..."} 
[2026-07-01 19:27:26] local.INFO: Packet analysis {"connection_id":120037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1df4"} 
[2026-07-01 19:27:26] local.INFO: Extracted packet for processing {"connection_id":120037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1df4"} 
[2026-07-01 19:27:26] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19: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-01 19:27:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425908224001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:27:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:27:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:27:26] 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-01 19:27:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782914005000,"timestamp_ms":1782914005000,"timestamp_seconds":1782914005,"priority":1,"record_length":96,"hex_timestamp":"0000019f1df4b808"} 
[2026-07-01 19: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-01 19:27:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-01 19:27:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19: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-01 19: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-01 19:27:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:27:26] local.INFO: Teltonika packet parsed successfully {"connection_id":120037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:27:26] local.INFO: Passing IMEI to GPS processor {"connection_id":120037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:27:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":120037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:27:26] 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-01 19:27:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:27:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:27:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425908224001,"66":25441,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:27:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:27:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:27:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425908224001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:27:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:27:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:27:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:27:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:27:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425908224001,"power":25441,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:27:26] local.INFO: DEBUG: GPS processor result {"connection_id":120037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:27:26] local.INFO: GPS data processed {"connection_id":120037,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:27:26] local.INFO: Acknowledgment sent {"connection_id":120037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:27:30] local.INFO: TCP Data received {"connection_id":120037,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1df4b808012cb29ac007823d880047002023..."} 
[2026-07-01 19:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1df4b808012cb29ac007823d880047002023..."} 
[2026-07-01 19:27:30] local.INFO: Processing buffer {"connection_id":120037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1df4b808012cb29ac007823d880047002023..."} 
[2026-07-01 19:27:30] local.INFO: Packet analysis {"connection_id":120037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1df4"} 
[2026-07-01 19:27:30] local.INFO: Extracted packet for processing {"connection_id":120037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1df4"} 
[2026-07-01 19:27:30] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19: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-01 19:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425908224001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:27:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:27:30] 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-01 19:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782914005000,"timestamp_ms":1782914005000,"timestamp_seconds":1782914005,"priority":1,"record_length":96,"hex_timestamp":"0000019f1df4b808"} 
[2026-07-01 19: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-01 19:27:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-01 19:27:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:27:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19: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-01 19:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":120037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":120037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":120037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:27:30] 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-01 19:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425908224001,"66":25441,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425908224001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:27:30] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:27:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:27:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425908224001,"power":25441,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":120037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:27:30] local.INFO: GPS data processed {"connection_id":120037,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:27:30] local.INFO: Acknowledgment sent {"connection_id":120037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:28:02] local.INFO: TCP Data received {"connection_id":120037,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1df4b808012cb29ac007823d880047002023..."} 
[2026-07-01 19:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1df4b808012cb29ac007823d880047002023..."} 
[2026-07-01 19:28:02] local.INFO: Processing buffer {"connection_id":120037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1df4b808012cb29ac007823d880047002023..."} 
[2026-07-01 19:28:02] local.INFO: Packet analysis {"connection_id":120037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1df4"} 
[2026-07-01 19:28:02] local.INFO: Extracted packet for processing {"connection_id":120037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1df4"} 
[2026-07-01 19:28:02] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425908224001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:28:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:28:02] 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-01 19:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782914005000,"timestamp_ms":1782914005000,"timestamp_seconds":1782914005,"priority":1,"record_length":96,"hex_timestamp":"0000019f1df4b808"} 
[2026-07-01 19:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:28:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-01 19:28:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:28:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":120037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":120037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":120037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:28:02] 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-01 19:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425908224001,"66":25441,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425908224001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:28:02] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:28:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:28:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425908224001,"power":25441,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":120037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:28:02] local.INFO: GPS data processed {"connection_id":120037,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:28:02] local.INFO: Acknowledgment sent {"connection_id":120037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:28:22] local.INFO: TCP Data received {"connection_id":119241,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:28:22] local.INFO: Processing buffer {"connection_id":119241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:28:22] local.INFO: IMEI packet received {"connection_id":119241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 19:28:22] local.INFO: IMEI acknowledgment sent {"connection_id":119241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:28:25] local.INFO: TCP Data received {"connection_id":119241,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:28:25] local.INFO: Processing buffer {"connection_id":119241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:28:25] local.INFO: IMEI packet received {"connection_id":119241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 19:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":119241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:28:25] local.INFO: TCP Data received {"connection_id":119241,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1df4b808012cb29ac007823d880047002023..."} 
[2026-07-01 19:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1df4b808012cb29ac007823d880047002023..."} 
[2026-07-01 19:28:25] local.INFO: Processing buffer {"connection_id":119241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1df4b808012cb29ac007823d880047002023..."} 
[2026-07-01 19:28:25] local.INFO: Packet analysis {"connection_id":119241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1df4"} 
[2026-07-01 19:28:25] local.INFO: Extracted packet for processing {"connection_id":119241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1df4"} 
[2026-07-01 19:28:25] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:28:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:28:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425908224001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:28:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:28:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:28:25] 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-01 19:28:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782914005000,"timestamp_ms":1782914005000,"timestamp_seconds":1782914005,"priority":1,"record_length":96,"hex_timestamp":"0000019f1df4b808"} 
[2026-07-01 19:28:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:28:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:28:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-01 19:28:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:28:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:28:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:28:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:28:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:28:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:28:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:28:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:28:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:28:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:28:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425908224001,"66":25441,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:28:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:28:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:28:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425908224001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:28:25] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:28:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:28:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:28:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:28:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425908224001,"power":25441,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":119241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:28:25] local.INFO: GPS data processed {"connection_id":119241,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:28:25] local.INFO: Acknowledgment sent {"connection_id":119241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:28:30] local.INFO: TCP Data received {"connection_id":119241,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1df4b808012cb29ac007823d880047002023..."} 
[2026-07-01 19:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1df4b808012cb29ac007823d880047002023..."} 
[2026-07-01 19:28:30] local.INFO: Processing buffer {"connection_id":119241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1df4b808012cb29ac007823d880047002023..."} 
[2026-07-01 19:28:30] local.INFO: Packet analysis {"connection_id":119241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1df4"} 
[2026-07-01 19:28:30] local.INFO: Extracted packet for processing {"connection_id":119241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1df4"} 
[2026-07-01 19:28:30] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425908224001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:28:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:28:30] 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-01 19:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782914005000,"timestamp_ms":1782914005000,"timestamp_seconds":1782914005,"priority":1,"record_length":96,"hex_timestamp":"0000019f1df4b808"} 
[2026-07-01 19:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:28:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-01 19:28:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:28:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":119241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":119241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":119241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:28:30] 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-01 19:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425908224001,"66":25441,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425908224001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:28:30] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:28:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:28:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425908224001,"power":25441,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":119241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:28:30] local.INFO: GPS data processed {"connection_id":119241,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:28:30] local.INFO: Acknowledgment sent {"connection_id":119241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:29:01] local.INFO: TCP Data received {"connection_id":119241,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1df4b808012cb29ac007823d880047002023..."} 
[2026-07-01 19:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1df4b808012cb29ac007823d880047002023..."} 
[2026-07-01 19:29:01] local.INFO: Processing buffer {"connection_id":119241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1df4b808012cb29ac007823d880047002023..."} 
[2026-07-01 19:29:01] local.INFO: Packet analysis {"connection_id":119241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1df4"} 
[2026-07-01 19:29:01] local.INFO: Extracted packet for processing {"connection_id":119241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1df4"} 
[2026-07-01 19:29:01] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425908224001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:29:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:29:01] 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-01 19:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782914005000,"timestamp_ms":1782914005000,"timestamp_seconds":1782914005,"priority":1,"record_length":96,"hex_timestamp":"0000019f1df4b808"} 
[2026-07-01 19:29:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:29:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-01 19:29:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:29:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:29:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":119241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":119241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":119241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:29:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425908224001,"66":25441,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425908224001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:29:01] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:29:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:29:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425908224001,"power":25441,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":119241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:29:01] local.INFO: GPS data processed {"connection_id":119241,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:29:01] local.INFO: Acknowledgment sent {"connection_id":119241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:29:20] local.INFO: TCP Data received {"connection_id":121108,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:29:20] local.INFO: Processing buffer {"connection_id":121108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:29:20] local.INFO: IMEI packet received {"connection_id":121108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 19:29:20] local.INFO: IMEI acknowledgment sent {"connection_id":121108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:29:25] local.INFO: TCP Data received {"connection_id":121108,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:29:25] local.INFO: Processing buffer {"connection_id":121108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:29:25] local.INFO: IMEI packet received {"connection_id":121108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 19:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":121108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:29:28] local.INFO: TCP Data received {"connection_id":121108,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f1df94fd0012cb29ac007823d880047002024..."} 
[2026-07-01 19:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1df94fd0012cb29ac007823d880047002024..."} 
[2026-07-01 19:29:28] local.INFO: Processing buffer {"connection_id":121108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1df94fd0012cb29ac007823d880047002024..."} 
[2026-07-01 19:29:28] local.INFO: Packet analysis {"connection_id":121108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1df9"} 
[2026-07-01 19:29:28] local.INFO: Extracted packet for processing {"connection_id":121108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1df9"} 
[2026-07-01 19:29:28] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:29:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425985280001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:29:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:29:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:29:28] 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-01 19:29:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782914306000,"timestamp_ms":1782914306000,"timestamp_seconds":1782914306,"priority":1,"record_length":96,"hex_timestamp":"0000019f1df94fd0"} 
[2026-07-01 19:29:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:29:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 19:29:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:29:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:29:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:29:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:29:28] local.INFO: Teltonika packet parsed successfully {"connection_id":121108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:29:28] local.INFO: Passing IMEI to GPS processor {"connection_id":121108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:29:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":121108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:29:28] 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-01 19:29:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:29:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:29:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425985280001,"66":25397,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:29:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:29:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:29:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425985280001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:29:28] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:29:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:29:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:29:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:29:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425985280001,"power":25397,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:29:28] local.INFO: DEBUG: GPS processor result {"connection_id":121108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:29:28] local.INFO: GPS data processed {"connection_id":121108,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:29:28] local.INFO: Acknowledgment sent {"connection_id":121108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:30:17] local.INFO: TCP Data received {"connection_id":121108,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f1df94fd0012cb29ac007823d880047002024..."} 
[2026-07-01 19:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1df94fd0012cb29ac007823d880047002024..."} 
[2026-07-01 19:30:17] local.INFO: Processing buffer {"connection_id":121108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1df94fd0012cb29ac007823d880047002024..."} 
[2026-07-01 19:30:17] local.INFO: Packet analysis {"connection_id":121108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1df9"} 
[2026-07-01 19:30:17] local.INFO: Extracted packet for processing {"connection_id":121108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1df9"} 
[2026-07-01 19:30:17] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:30:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425985280001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:30:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:30:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:30:17] 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-01 19:30:17] local.INFO: AVL Record Parsed {"raw_timestamp":1782914306000,"timestamp_ms":1782914306000,"timestamp_seconds":1782914306,"priority":1,"record_length":96,"hex_timestamp":"0000019f1df94fd0"} 
[2026-07-01 19:30:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:30:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 19:30:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:30:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:30:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:30:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:30:17] local.INFO: Teltonika packet parsed successfully {"connection_id":121108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:30:17] local.INFO: Passing IMEI to GPS processor {"connection_id":121108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:30:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":121108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:30:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:30:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:30:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:30:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425985280001,"66":25397,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:30:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:30:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:30:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425985280001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:30:17] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:30:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:30:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:30:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:30:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425985280001,"power":25397,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:30:17] local.INFO: DEBUG: GPS processor result {"connection_id":121108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:30:17] local.INFO: GPS data processed {"connection_id":121108,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:30:17] local.INFO: Acknowledgment sent {"connection_id":121108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:30:20] local.INFO: TCP Data received {"connection_id":119349,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:30:20] local.INFO: Processing buffer {"connection_id":119349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:30:20] local.INFO: IMEI packet received {"connection_id":119349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 19:30:20] local.INFO: IMEI acknowledgment sent {"connection_id":119349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:30:25] local.INFO: TCP Data received {"connection_id":119349,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:30:25] local.INFO: Processing buffer {"connection_id":119349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:30:25] local.INFO: IMEI packet received {"connection_id":119349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 19:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":119349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:30:26] local.INFO: TCP Data received {"connection_id":119349,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f1df94fd0012cb29ac007823d880047002024..."} 
[2026-07-01 19:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1df94fd0012cb29ac007823d880047002024..."} 
[2026-07-01 19:30:26] local.INFO: Processing buffer {"connection_id":119349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1df94fd0012cb29ac007823d880047002024..."} 
[2026-07-01 19:30:26] local.INFO: Packet analysis {"connection_id":119349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1df9"} 
[2026-07-01 19:30:26] local.INFO: Extracted packet for processing {"connection_id":119349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1df9"} 
[2026-07-01 19:30:26] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:30:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425985280001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:30:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:30:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:30:26] 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-01 19:30:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782914306000,"timestamp_ms":1782914306000,"timestamp_seconds":1782914306,"priority":1,"record_length":96,"hex_timestamp":"0000019f1df94fd0"} 
[2026-07-01 19:30:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:30:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 19:30:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:30:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:30:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:30:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:30:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:30:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:30:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:30:26] 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-01 19:30:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:30:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:30:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425985280001,"66":25397,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:30:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:30:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:30:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425985280001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:30:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:30:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:30:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:30:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:30:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425985280001,"power":25397,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:30:26] local.INFO: DEBUG: GPS processor result {"connection_id":119349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:30:26] local.INFO: GPS data processed {"connection_id":119349,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:30:26] local.INFO: Acknowledgment sent {"connection_id":119349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:30:57] local.INFO: TCP Data received {"connection_id":119349,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f1df94fd0012cb29ac007823d880047002024..."} 
[2026-07-01 19:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1df94fd0012cb29ac007823d880047002024..."} 
[2026-07-01 19:30:57] local.INFO: Processing buffer {"connection_id":119349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1df94fd0012cb29ac007823d880047002024..."} 
[2026-07-01 19:30:57] local.INFO: Packet analysis {"connection_id":119349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1df9"} 
[2026-07-01 19:30:57] local.INFO: Extracted packet for processing {"connection_id":119349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1df9"} 
[2026-07-01 19:30:57] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19: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-01 19:30:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425985280001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:30:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:30:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:30:57] 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-01 19:30:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782914306000,"timestamp_ms":1782914306000,"timestamp_seconds":1782914306,"priority":1,"record_length":96,"hex_timestamp":"0000019f1df94fd0"} 
[2026-07-01 19: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-01 19:30:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 19:30:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19: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-01 19: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-01 19:30:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:30:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:30:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:30:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:30:57] 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-01 19:30:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:30:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:30:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425985280001,"66":25397,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:30:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:30:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:30:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425985280001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:30:57] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:30:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:30:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:30:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:30:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425985280001,"power":25397,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:30:57] local.INFO: DEBUG: GPS processor result {"connection_id":119349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:30:57] local.INFO: GPS data processed {"connection_id":119349,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:30:57] local.INFO: Acknowledgment sent {"connection_id":119349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:31:25] local.INFO: TCP Data received {"connection_id":119242,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:31:25] local.INFO: Processing buffer {"connection_id":119242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:31:25] local.INFO: IMEI packet received {"connection_id":119242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 19:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":119242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:31:30] local.INFO: TCP Data received {"connection_id":119242,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:31:30] local.INFO: Processing buffer {"connection_id":119242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:31:30] local.INFO: IMEI packet received {"connection_id":119242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 19:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":119242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:31:30] local.INFO: TCP Data received {"connection_id":119350,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119350,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:31:30] local.INFO: Processing buffer {"connection_id":119350,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:31:30] local.INFO: IMEI packet received {"connection_id":119350,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 19:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":119350,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:31:31] local.INFO: TCP Data received {"connection_id":119242,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f1df94fd0012cb29ac007823d880047002024..."} 
[2026-07-01 19:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1df94fd0012cb29ac007823d880047002024..."} 
[2026-07-01 19:31:31] local.INFO: Processing buffer {"connection_id":119242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1df94fd0012cb29ac007823d880047002024..."} 
[2026-07-01 19:31:31] local.INFO: Packet analysis {"connection_id":119242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1df9"} 
[2026-07-01 19:31:31] local.INFO: Extracted packet for processing {"connection_id":119242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1df9"} 
[2026-07-01 19:31:31] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425985280001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:31:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:31:31] 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-01 19:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782914306000,"timestamp_ms":1782914306000,"timestamp_seconds":1782914306,"priority":1,"record_length":96,"hex_timestamp":"0000019f1df94fd0"} 
[2026-07-01 19:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:31:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 19:31:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:31:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:31:31] 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-01 19:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425985280001,"66":25397,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425985280001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:31:31] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:31:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:31:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425985280001,"power":25397,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":119242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:31:31] local.INFO: GPS data processed {"connection_id":119242,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:31:31] local.INFO: Acknowledgment sent {"connection_id":119242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:31:35] local.INFO: TCP Data received {"connection_id":119242,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f1df94fd0012cb29ac007823d880047002024..."} 
[2026-07-01 19:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1df94fd0012cb29ac007823d880047002024..."} 
[2026-07-01 19:31:35] local.INFO: Processing buffer {"connection_id":119242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1df94fd0012cb29ac007823d880047002024..."} 
[2026-07-01 19:31:35] local.INFO: Packet analysis {"connection_id":119242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1df9"} 
[2026-07-01 19:31:35] local.INFO: Extracted packet for processing {"connection_id":119242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1df9"} 
[2026-07-01 19:31:35] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425985280001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:31:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:31:35] 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-01 19:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782914306000,"timestamp_ms":1782914306000,"timestamp_seconds":1782914306,"priority":1,"record_length":96,"hex_timestamp":"0000019f1df94fd0"} 
[2026-07-01 19:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 19:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:31:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":119242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":119242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":119242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:31:35] 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-01 19:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425985280001,"66":25397,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425985280001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:31:35] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:31:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:31:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425985280001,"power":25397,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":119242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:31:35] local.INFO: GPS data processed {"connection_id":119242,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:31:35] local.INFO: Acknowledgment sent {"connection_id":119242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:32:15] local.INFO: TCP Data received {"connection_id":119351,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119351,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:32:15] local.INFO: Processing buffer {"connection_id":119351,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:32:15] local.INFO: IMEI packet received {"connection_id":119351,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 19:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":119351,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:32:20] local.INFO: TCP Data received {"connection_id":119352,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:32:20] local.INFO: Processing buffer {"connection_id":119352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:32:20] local.INFO: IMEI packet received {"connection_id":119352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 19:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":119352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:32:25] local.INFO: TCP Data received {"connection_id":119352,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:32:25] local.INFO: Processing buffer {"connection_id":119352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:32:25] local.INFO: IMEI packet received {"connection_id":119352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 19:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":119352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:32:26] local.INFO: TCP Data received {"connection_id":119352,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f1df94fd0012cb29ac007823d880047002024..."} 
[2026-07-01 19:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1df94fd0012cb29ac007823d880047002024..."} 
[2026-07-01 19:32:26] local.INFO: Processing buffer {"connection_id":119352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1df94fd0012cb29ac007823d880047002024..."} 
[2026-07-01 19:32:26] local.INFO: Packet analysis {"connection_id":119352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1df9"} 
[2026-07-01 19:32:26] local.INFO: Extracted packet for processing {"connection_id":119352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1df9"} 
[2026-07-01 19:32:26] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:32:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425985280001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:32:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:32:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:32:26] 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-01 19:32:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782914306000,"timestamp_ms":1782914306000,"timestamp_seconds":1782914306,"priority":1,"record_length":96,"hex_timestamp":"0000019f1df94fd0"} 
[2026-07-01 19:32:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:32:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 19:32:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:32:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:32:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:32:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:32:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:32:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:32:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:32:26] 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-01 19:32:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:32:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:32:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425985280001,"66":25397,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:32:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:32:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:32:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425985280001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:32:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:32:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:32:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:32:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:32:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425985280001,"power":25397,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:32:26] local.INFO: DEBUG: GPS processor result {"connection_id":119352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:32:26] local.INFO: GPS data processed {"connection_id":119352,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:32:26] local.INFO: Acknowledgment sent {"connection_id":119352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:32:57] local.INFO: TCP Data received {"connection_id":119352,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f1df94fd0012cb29ac007823d880047002024..."} 
[2026-07-01 19:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1df94fd0012cb29ac007823d880047002024..."} 
[2026-07-01 19:32:57] local.INFO: Processing buffer {"connection_id":119352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1df94fd0012cb29ac007823d880047002024..."} 
[2026-07-01 19:32:57] local.INFO: Packet analysis {"connection_id":119352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1df9"} 
[2026-07-01 19:32:57] local.INFO: Extracted packet for processing {"connection_id":119352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1df9"} 
[2026-07-01 19:32:57] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:32: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-01 19:32:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425985280001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:32:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:32:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:32:57] 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-01 19:32:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782914306000,"timestamp_ms":1782914306000,"timestamp_seconds":1782914306,"priority":1,"record_length":96,"hex_timestamp":"0000019f1df94fd0"} 
[2026-07-01 19:32:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:32:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 19:32:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:32: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-01 19:32:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:32:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:32:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:32:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:32:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:32:57] 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-01 19:32:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:32:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:32:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425985280001,"66":25397,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:32:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:32:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:32:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425985280001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:32:57] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:32:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:32:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:32:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:32:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425985280001,"power":25397,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:32:57] local.INFO: DEBUG: GPS processor result {"connection_id":119352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:32:57] local.INFO: GPS data processed {"connection_id":119352,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:32:57] local.INFO: Acknowledgment sent {"connection_id":119352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:33:20] local.INFO: TCP Data received {"connection_id":120039,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:33:20] local.INFO: Processing buffer {"connection_id":120039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:33:20] local.INFO: IMEI packet received {"connection_id":120039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 19:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":120039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:33:25] local.INFO: TCP Data received {"connection_id":120039,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:33:25] local.INFO: Processing buffer {"connection_id":120039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:33:25] local.INFO: IMEI packet received {"connection_id":120039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 19:33:25] local.INFO: IMEI acknowledgment sent {"connection_id":120039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:33:26] local.INFO: TCP Data received {"connection_id":120039,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f1df94fd0012cb29ac007823d880047002024..."} 
[2026-07-01 19:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1df94fd0012cb29ac007823d880047002024..."} 
[2026-07-01 19:33:26] local.INFO: Processing buffer {"connection_id":120039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1df94fd0012cb29ac007823d880047002024..."} 
[2026-07-01 19:33:26] local.INFO: Packet analysis {"connection_id":120039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1df9"} 
[2026-07-01 19:33:26] local.INFO: Extracted packet for processing {"connection_id":120039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1df9"} 
[2026-07-01 19:33:26] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19: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-01 19:33:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425985280001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:33:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:33:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:33:26] 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-01 19:33:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782914306000,"timestamp_ms":1782914306000,"timestamp_seconds":1782914306,"priority":1,"record_length":96,"hex_timestamp":"0000019f1df94fd0"} 
[2026-07-01 19: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-01 19:33:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:33:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 19:33:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19: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-01 19: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-01 19:33:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:33:26] local.INFO: Teltonika packet parsed successfully {"connection_id":120039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:33:26] local.INFO: Passing IMEI to GPS processor {"connection_id":120039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:33:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":120039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:33:26] 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-01 19:33:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:33:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:33:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425985280001,"66":25397,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:33:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:33:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:33:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425985280001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:33:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:33:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:33:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:33:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:33:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425985280001,"power":25397,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:33:26] local.INFO: DEBUG: GPS processor result {"connection_id":120039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:33:26] local.INFO: GPS data processed {"connection_id":120039,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:33:26] local.INFO: Acknowledgment sent {"connection_id":120039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:33:57] local.INFO: TCP Data received {"connection_id":120039,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f1df94fd0012cb29ac007823d880047002024..."} 
[2026-07-01 19:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1df94fd0012cb29ac007823d880047002024..."} 
[2026-07-01 19:33:57] local.INFO: Processing buffer {"connection_id":120039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1df94fd0012cb29ac007823d880047002024..."} 
[2026-07-01 19:33:57] local.INFO: Packet analysis {"connection_id":120039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1df9"} 
[2026-07-01 19:33:57] local.INFO: Extracted packet for processing {"connection_id":120039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1df9"} 
[2026-07-01 19:33:57] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":36,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19: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-01 19:33:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456425985280001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:33:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:33:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:33:57] 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-01 19:33:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782914306000,"timestamp_ms":1782914306000,"timestamp_seconds":1782914306,"priority":1,"record_length":96,"hex_timestamp":"0000019f1df94fd0"} 
[2026-07-01 19: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-01 19:33:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-07-01 19:33:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19: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-01 19: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-01 19:33:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:33:57] local.INFO: Teltonika packet parsed successfully {"connection_id":120039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:33:57] local.INFO: Passing IMEI to GPS processor {"connection_id":120039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:33:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":120039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:33:57] 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-01 19:33:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:33:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:33:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456425985280001,"66":25397,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:33:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:33:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:33:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456425985280001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:33:57] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:33:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:33:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:33:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:33:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456425985280001,"power":25397,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:33:57] local.INFO: DEBUG: GPS processor result {"connection_id":120039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:33:57] local.INFO: GPS data processed {"connection_id":120039,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:33:57] local.INFO: Acknowledgment sent {"connection_id":120039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:34:20] local.INFO: TCP Data received {"connection_id":119243,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:34:20] local.INFO: Processing buffer {"connection_id":119243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:34:20] local.INFO: IMEI packet received {"connection_id":119243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 19:34:20] local.INFO: IMEI acknowledgment sent {"connection_id":119243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:34:25] local.INFO: TCP Data received {"connection_id":119243,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:34:25] local.INFO: Processing buffer {"connection_id":119243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:34:25] local.INFO: IMEI packet received {"connection_id":119243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 19:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":119243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:34:26] local.INFO: TCP Data received {"connection_id":119243,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dfde798012cb29ac007823d880047002022..."} 
[2026-07-01 19:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dfde798012cb29ac007823d880047002022..."} 
[2026-07-01 19:34:26] local.INFO: Processing buffer {"connection_id":119243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dfde798012cb29ac007823d880047002022..."} 
[2026-07-01 19:34:26] local.INFO: Packet analysis {"connection_id":119243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dfd"} 
[2026-07-01 19:34:26] local.INFO: Extracted packet for processing {"connection_id":119243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dfd"} 
[2026-07-01 19:34:26] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":34,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:34:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426062336001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:34:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:34:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:34:26] 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-01 19:34:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782914607000,"timestamp_ms":1782914607000,"timestamp_seconds":1782914607,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dfde798"} 
[2026-07-01 19:34:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:34:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 19:34:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:34:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:34:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:34:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:34:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:34:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:34:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:34:26] 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-01 19:34:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:34:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:34:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426062336001,"66":25430,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:34:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:34:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:34:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426062336001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:34:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:34:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:34:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:34:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:34:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426062336001,"power":25430,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:34:26] local.INFO: DEBUG: GPS processor result {"connection_id":119243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:34:26] local.INFO: GPS data processed {"connection_id":119243,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:34:26] local.INFO: Acknowledgment sent {"connection_id":119243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:34:58] local.INFO: TCP Data received {"connection_id":119243,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dfde798012cb29ac007823d880047002022..."} 
[2026-07-01 19:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dfde798012cb29ac007823d880047002022..."} 
[2026-07-01 19:34:58] local.INFO: Processing buffer {"connection_id":119243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dfde798012cb29ac007823d880047002022..."} 
[2026-07-01 19:34:58] local.INFO: Packet analysis {"connection_id":119243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dfd"} 
[2026-07-01 19:34:58] local.INFO: Extracted packet for processing {"connection_id":119243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dfd"} 
[2026-07-01 19:34:58] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":34,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 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-01 19:34:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426062336001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:34:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:34:58] 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-01 19:34:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782914607000,"timestamp_ms":1782914607000,"timestamp_seconds":1782914607,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dfde798"} 
[2026-07-01 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-01 19:34:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 19:34:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 19:34:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:34:58] 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-01 19:34:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:34:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:34:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426062336001,"66":25430,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:34:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:34:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:34:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426062336001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:34:58] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:34:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:34:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:34:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:34:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426062336001,"power":25430,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:34:58] local.INFO: DEBUG: GPS processor result {"connection_id":119243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:34:58] local.INFO: GPS data processed {"connection_id":119243,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:34:58] local.INFO: Acknowledgment sent {"connection_id":119243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:35:20] local.INFO: TCP Data received {"connection_id":120042,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:35:20] local.INFO: Processing buffer {"connection_id":120042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:35:20] local.INFO: IMEI packet received {"connection_id":120042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 19:35:20] local.INFO: IMEI acknowledgment sent {"connection_id":120042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:35:25] local.INFO: TCP Data received {"connection_id":120042,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:35:25] local.INFO: Processing buffer {"connection_id":120042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:35:25] local.INFO: IMEI packet received {"connection_id":120042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 19:35:25] local.INFO: IMEI acknowledgment sent {"connection_id":120042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:35:26] local.INFO: TCP Data received {"connection_id":120042,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dfde798012cb29ac007823d880047002022..."} 
[2026-07-01 19:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dfde798012cb29ac007823d880047002022..."} 
[2026-07-01 19:35:26] local.INFO: Processing buffer {"connection_id":120042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dfde798012cb29ac007823d880047002022..."} 
[2026-07-01 19:35:26] local.INFO: Packet analysis {"connection_id":120042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dfd"} 
[2026-07-01 19:35:26] local.INFO: Extracted packet for processing {"connection_id":120042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dfd"} 
[2026-07-01 19:35:26] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":34,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:35:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426062336001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:35:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:35:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:35:26] 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-01 19:35:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782914607000,"timestamp_ms":1782914607000,"timestamp_seconds":1782914607,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dfde798"} 
[2026-07-01 19:35:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:35:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 19:35:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:35:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:35:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:35:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:35:26] local.INFO: Teltonika packet parsed successfully {"connection_id":120042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:35:26] local.INFO: Passing IMEI to GPS processor {"connection_id":120042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:35:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":120042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:35:26] 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-01 19:35:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:35:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:35:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426062336001,"66":25430,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:35:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:35:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:35:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426062336001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:35:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:35:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:35:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:35:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:35:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426062336001,"power":25430,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:35:26] local.INFO: DEBUG: GPS processor result {"connection_id":120042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:35:26] local.INFO: GPS data processed {"connection_id":120042,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:35:26] local.INFO: Acknowledgment sent {"connection_id":120042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:35:59] local.INFO: TCP Data received {"connection_id":120042,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dfde798012cb29ac007823d880047002022..."} 
[2026-07-01 19:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dfde798012cb29ac007823d880047002022..."} 
[2026-07-01 19:35:59] local.INFO: Processing buffer {"connection_id":120042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dfde798012cb29ac007823d880047002022..."} 
[2026-07-01 19:35:59] local.INFO: Packet analysis {"connection_id":120042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dfd"} 
[2026-07-01 19:35:59] local.INFO: Extracted packet for processing {"connection_id":120042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dfd"} 
[2026-07-01 19:35:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":34,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426062336001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:35:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:35:59] 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-01 19:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782914607000,"timestamp_ms":1782914607000,"timestamp_seconds":1782914607,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dfde798"} 
[2026-07-01 19:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:35:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 19:35:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:35:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":120042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":120042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":120042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:35:59] 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-01 19:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426062336001,"66":25430,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426062336001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:35:59] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:35:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:35:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426062336001,"power":25430,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":120042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:35:59] local.INFO: GPS data processed {"connection_id":120042,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:35:59] local.INFO: Acknowledgment sent {"connection_id":120042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:36:20] local.INFO: TCP Data received {"connection_id":119244,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:36:20] local.INFO: Processing buffer {"connection_id":119244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:36:20] local.INFO: IMEI packet received {"connection_id":119244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 19:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":119244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:36:25] local.INFO: TCP Data received {"connection_id":119244,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:36:25] local.INFO: Processing buffer {"connection_id":119244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:36:25] local.INFO: IMEI packet received {"connection_id":119244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 19:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":119244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:36:26] local.INFO: TCP Data received {"connection_id":119244,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dfde798012cb29ac007823d880047002022..."} 
[2026-07-01 19:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dfde798012cb29ac007823d880047002022..."} 
[2026-07-01 19:36:26] local.INFO: Processing buffer {"connection_id":119244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dfde798012cb29ac007823d880047002022..."} 
[2026-07-01 19:36:26] local.INFO: Packet analysis {"connection_id":119244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dfd"} 
[2026-07-01 19:36:26] local.INFO: Extracted packet for processing {"connection_id":119244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dfd"} 
[2026-07-01 19:36:26] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":34,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19: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-01 19:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426062336001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:36:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:36:26] 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-01 19:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782914607000,"timestamp_ms":1782914607000,"timestamp_seconds":1782914607,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dfde798"} 
[2026-07-01 19: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-01 19:36:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 19:36:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19: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-01 19: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-01 19:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:36:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426062336001,"66":25430,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426062336001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:36:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:36:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:36:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426062336001,"power":25430,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":119244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:36:26] local.INFO: GPS data processed {"connection_id":119244,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:36:26] local.INFO: Acknowledgment sent {"connection_id":119244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:36:58] local.INFO: TCP Data received {"connection_id":119244,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dfde798012cb29ac007823d880047002022..."} 
[2026-07-01 19:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dfde798012cb29ac007823d880047002022..."} 
[2026-07-01 19:36:58] local.INFO: Processing buffer {"connection_id":119244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dfde798012cb29ac007823d880047002022..."} 
[2026-07-01 19:36:58] local.INFO: Packet analysis {"connection_id":119244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dfd"} 
[2026-07-01 19:36:58] local.INFO: Extracted packet for processing {"connection_id":119244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dfd"} 
[2026-07-01 19:36:58] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":34,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 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-01 19:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426062336001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:36:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:36:58] 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-01 19:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782914607000,"timestamp_ms":1782914607000,"timestamp_seconds":1782914607,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dfde798"} 
[2026-07-01 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-01 19:36:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 19:36:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 19:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:36:58] 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-01 19:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426062336001,"66":25430,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426062336001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:36:58] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:36:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:36:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426062336001,"power":25430,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":119244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:36:58] local.INFO: GPS data processed {"connection_id":119244,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:36:58] local.INFO: Acknowledgment sent {"connection_id":119244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:37:25] local.INFO: TCP Data received {"connection_id":119245,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:37:25] local.INFO: Processing buffer {"connection_id":119245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:37:25] local.INFO: IMEI packet received {"connection_id":119245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 19:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":119245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:37:30] local.INFO: TCP Data received {"connection_id":119245,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:37:30] local.INFO: Processing buffer {"connection_id":119245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:37:30] local.INFO: IMEI packet received {"connection_id":119245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 19:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":119245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:37:31] local.INFO: TCP Data received {"connection_id":119245,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dfde798012cb29ac007823d880047002022..."} 
[2026-07-01 19:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dfde798012cb29ac007823d880047002022..."} 
[2026-07-01 19:37:31] local.INFO: Processing buffer {"connection_id":119245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dfde798012cb29ac007823d880047002022..."} 
[2026-07-01 19:37:31] local.INFO: Packet analysis {"connection_id":119245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dfd"} 
[2026-07-01 19:37:31] local.INFO: Extracted packet for processing {"connection_id":119245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dfd"} 
[2026-07-01 19:37:31] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":34,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426062336001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:37:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:37:31] 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-01 19:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782914607000,"timestamp_ms":1782914607000,"timestamp_seconds":1782914607,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dfde798"} 
[2026-07-01 19:37:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:37:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 19:37:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:37:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:37:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:37:31] 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-01 19:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426062336001,"66":25430,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426062336001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:37:31] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:37:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:37:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:37:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426062336001,"power":25430,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":119245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:37:31] local.INFO: GPS data processed {"connection_id":119245,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:37:31] local.INFO: Acknowledgment sent {"connection_id":119245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:37:35] local.INFO: TCP Data received {"connection_id":119245,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dfde798012cb29ac007823d880047002022..."} 
[2026-07-01 19:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dfde798012cb29ac007823d880047002022..."} 
[2026-07-01 19:37:35] local.INFO: Processing buffer {"connection_id":119245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dfde798012cb29ac007823d880047002022..."} 
[2026-07-01 19:37:35] local.INFO: Packet analysis {"connection_id":119245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dfd"} 
[2026-07-01 19:37:35] local.INFO: Extracted packet for processing {"connection_id":119245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dfd"} 
[2026-07-01 19:37:35] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":34,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426062336001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:37:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:37:35] 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-01 19:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782914607000,"timestamp_ms":1782914607000,"timestamp_seconds":1782914607,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dfde798"} 
[2026-07-01 19:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:37:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 19:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":119245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":119245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":119245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:37:35] 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-01 19:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426062336001,"66":25430,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426062336001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:37:35] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:37:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:37:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426062336001,"power":25430,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":119245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:37:35] local.INFO: GPS data processed {"connection_id":119245,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:37:35] local.INFO: Acknowledgment sent {"connection_id":119245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:37:45] local.INFO: TCP Data received {"connection_id":120044,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120044,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:37:45] local.INFO: Processing buffer {"connection_id":120044,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:37:45] local.INFO: IMEI packet received {"connection_id":120044,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 19:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":120044,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:38:15] local.INFO: TCP Data received {"connection_id":119354,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119354,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:38:15] local.INFO: Processing buffer {"connection_id":119354,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:38:15] local.INFO: IMEI packet received {"connection_id":119354,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 19:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":119354,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:38:20] local.INFO: TCP Data received {"connection_id":119355,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:38:20] local.INFO: Processing buffer {"connection_id":119355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:38:20] local.INFO: IMEI packet received {"connection_id":119355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 19:38:20] local.INFO: IMEI acknowledgment sent {"connection_id":119355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:38:25] local.INFO: TCP Data received {"connection_id":119355,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:38:25] local.INFO: Processing buffer {"connection_id":119355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:38:25] local.INFO: IMEI packet received {"connection_id":119355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 19:38:25] local.INFO: IMEI acknowledgment sent {"connection_id":119355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:38:26] local.INFO: TCP Data received {"connection_id":119355,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dfde798012cb29ac007823d880047002022..."} 
[2026-07-01 19:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dfde798012cb29ac007823d880047002022..."} 
[2026-07-01 19:38:26] local.INFO: Processing buffer {"connection_id":119355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dfde798012cb29ac007823d880047002022..."} 
[2026-07-01 19:38:26] local.INFO: Packet analysis {"connection_id":119355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dfd"} 
[2026-07-01 19:38:26] local.INFO: Extracted packet for processing {"connection_id":119355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dfd"} 
[2026-07-01 19:38:26] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":34,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:38:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426062336001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:38:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:38:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:38:26] 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-01 19:38:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782914607000,"timestamp_ms":1782914607000,"timestamp_seconds":1782914607,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dfde798"} 
[2026-07-01 19:38:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:38:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 19:38:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:38:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:38:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:38:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:38:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:38:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:38:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:38:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:38:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:38:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:38:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426062336001,"66":25430,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:38:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:38:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:38:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426062336001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:38:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:38:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:38:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:38:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:38:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426062336001,"power":25430,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:38:26] local.INFO: DEBUG: GPS processor result {"connection_id":119355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:38:26] local.INFO: GPS data processed {"connection_id":119355,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:38:26] local.INFO: Acknowledgment sent {"connection_id":119355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:38:57] local.INFO: TCP Data received {"connection_id":119355,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f1dfde798012cb29ac007823d880047002022..."} 
[2026-07-01 19:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1dfde798012cb29ac007823d880047002022..."} 
[2026-07-01 19:38:57] local.INFO: Processing buffer {"connection_id":119355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1dfde798012cb29ac007823d880047002022..."} 
[2026-07-01 19:38:57] local.INFO: Packet analysis {"connection_id":119355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1dfd"} 
[2026-07-01 19:38:57] local.INFO: Extracted packet for processing {"connection_id":119355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1dfd"} 
[2026-07-01 19:38:57] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":34,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 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-01 19:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426062336001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:38:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:38:57] 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-01 19:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782914607000,"timestamp_ms":1782914607000,"timestamp_seconds":1782914607,"priority":1,"record_length":96,"hex_timestamp":"0000019f1dfde798"} 
[2026-07-01 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-01 19:38:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 19:38:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 19:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:38:57] 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-01 19:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426062336001,"66":25430,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426062336001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:38:57] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:38:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:38:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426062336001,"power":25430,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":119355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:38:57] local.INFO: GPS data processed {"connection_id":119355,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:38:57] local.INFO: Acknowledgment sent {"connection_id":119355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:39:20] local.INFO: TCP Data received {"connection_id":121111,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:39:20] local.INFO: Processing buffer {"connection_id":121111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:39:20] local.INFO: IMEI packet received {"connection_id":121111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 19:39:20] local.INFO: IMEI acknowledgment sent {"connection_id":121111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:39:25] local.INFO: TCP Data received {"connection_id":121111,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:39:25] local.INFO: Processing buffer {"connection_id":121111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:39:25] local.INFO: IMEI packet received {"connection_id":121111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 19:39:25] local.INFO: IMEI acknowledgment sent {"connection_id":121111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:39:25] local.INFO: TCP Data received {"connection_id":121111,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e027f60012cb29ac007823d880047002023..."} 
[2026-07-01 19:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e027f60012cb29ac007823d880047002023..."} 
[2026-07-01 19:39:25] local.INFO: Processing buffer {"connection_id":121111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e027f60012cb29ac007823d880047002023..."} 
[2026-07-01 19:39:25] local.INFO: Packet analysis {"connection_id":121111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e02"} 
[2026-07-01 19:39:25] local.INFO: Extracted packet for processing {"connection_id":121111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e02"} 
[2026-07-01 19:39:25] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:39:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426139392001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:39:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:39:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:39:25] 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-01 19:39:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782914908000,"timestamp_ms":1782914908000,"timestamp_seconds":1782914908,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e027f60"} 
[2026-07-01 19:39:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:39:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-01 19:39:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:39:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:39:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:39:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:39:25] local.INFO: Teltonika packet parsed successfully {"connection_id":121111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:39:25] local.INFO: Passing IMEI to GPS processor {"connection_id":121111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:39:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":121111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:39:25] 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-01 19:39:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:39:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:39:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426139392001,"66":25430,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:39:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:39:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:39:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426139392001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:39:25] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:39:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:39:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:39:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:39:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426139392001,"power":25430,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:39:25] local.INFO: DEBUG: GPS processor result {"connection_id":121111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:39:25] local.INFO: GPS data processed {"connection_id":121111,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:39:25] local.INFO: Acknowledgment sent {"connection_id":121111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:39:56] local.INFO: TCP Data received {"connection_id":121111,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e027f60012cb29ac007823d880047002023..."} 
[2026-07-01 19:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e027f60012cb29ac007823d880047002023..."} 
[2026-07-01 19:39:56] local.INFO: Processing buffer {"connection_id":121111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e027f60012cb29ac007823d880047002023..."} 
[2026-07-01 19:39:56] local.INFO: Packet analysis {"connection_id":121111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e02"} 
[2026-07-01 19:39:56] local.INFO: Extracted packet for processing {"connection_id":121111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e02"} 
[2026-07-01 19:39:56] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:39:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426139392001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:39:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:39:56] 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-01 19:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782914908000,"timestamp_ms":1782914908000,"timestamp_seconds":1782914908,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e027f60"} 
[2026-07-01 19:39:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:39:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:39:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-01 19:39:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:39:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:39:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":121111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":121111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":121111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:39:56] 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-01 19:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426139392001,"66":25430,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426139392001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:39:56] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:39:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:39:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426139392001,"power":25430,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":121111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:39:56] local.INFO: GPS data processed {"connection_id":121111,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:39:56] local.INFO: Acknowledgment sent {"connection_id":121111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:40:20] local.INFO: TCP Data received {"connection_id":120045,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:40:20] local.INFO: Processing buffer {"connection_id":120045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:40:20] local.INFO: IMEI packet received {"connection_id":120045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 19:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":120045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:40:25] local.INFO: TCP Data received {"connection_id":120045,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:40:25] local.INFO: Processing buffer {"connection_id":120045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:40:25] local.INFO: IMEI packet received {"connection_id":120045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 19:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":120045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:40:26] local.INFO: TCP Data received {"connection_id":120045,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e027f60012cb29ac007823d880047002023..."} 
[2026-07-01 19:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e027f60012cb29ac007823d880047002023..."} 
[2026-07-01 19:40:26] local.INFO: Processing buffer {"connection_id":120045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e027f60012cb29ac007823d880047002023..."} 
[2026-07-01 19:40:26] local.INFO: Packet analysis {"connection_id":120045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e02"} 
[2026-07-01 19:40:26] local.INFO: Extracted packet for processing {"connection_id":120045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e02"} 
[2026-07-01 19:40:26] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19: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-01 19:40:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426139392001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:40:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:40:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:40:26] 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-01 19:40:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782914908000,"timestamp_ms":1782914908000,"timestamp_seconds":1782914908,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e027f60"} 
[2026-07-01 19: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-01 19:40:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-01 19:40:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19: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-01 19: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-01 19:40:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:40:26] local.INFO: Teltonika packet parsed successfully {"connection_id":120045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:40:26] local.INFO: Passing IMEI to GPS processor {"connection_id":120045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:40:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":120045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:40:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:40:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:40:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:40:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426139392001,"66":25430,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:40:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:40:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:40:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426139392001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:40:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:40:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:40:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:40:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:40:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426139392001,"power":25430,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:40:26] local.INFO: DEBUG: GPS processor result {"connection_id":120045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:40:26] local.INFO: GPS data processed {"connection_id":120045,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:40:26] local.INFO: Acknowledgment sent {"connection_id":120045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:40:58] local.INFO: TCP Data received {"connection_id":120045,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e027f60012cb29ac007823d880047002023..."} 
[2026-07-01 19:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e027f60012cb29ac007823d880047002023..."} 
[2026-07-01 19:40:58] local.INFO: Processing buffer {"connection_id":120045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e027f60012cb29ac007823d880047002023..."} 
[2026-07-01 19:40:58] local.INFO: Packet analysis {"connection_id":120045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e02"} 
[2026-07-01 19:40:58] local.INFO: Extracted packet for processing {"connection_id":120045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e02"} 
[2026-07-01 19:40:58] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 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-01 19:40:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426139392001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:40:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:40:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:40:58] 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-01 19:40:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782914908000,"timestamp_ms":1782914908000,"timestamp_seconds":1782914908,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e027f60"} 
[2026-07-01 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-01 19:40:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-01 19:40:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 19:40:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:40:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:40:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:40:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:40:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:40:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:40:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:40:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426139392001,"66":25430,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:40:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:40:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:40:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426139392001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:40:58] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:40:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:40:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:40:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:40:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426139392001,"power":25430,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:40:58] local.INFO: DEBUG: GPS processor result {"connection_id":120045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:40:58] local.INFO: GPS data processed {"connection_id":120045,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:40:58] local.INFO: Acknowledgment sent {"connection_id":120045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:41:19] local.INFO: TCP Data received {"connection_id":121112,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:41:19] local.INFO: Processing buffer {"connection_id":121112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:41:19] local.INFO: IMEI packet received {"connection_id":121112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 19:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":121112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:41:24] local.INFO: TCP Data received {"connection_id":121112,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:41:24] local.INFO: Processing buffer {"connection_id":121112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:41:24] local.INFO: IMEI packet received {"connection_id":121112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 19:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":121112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:41:25] local.INFO: TCP Data received {"connection_id":121112,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e027f60012cb29ac007823d880047002023..."} 
[2026-07-01 19:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e027f60012cb29ac007823d880047002023..."} 
[2026-07-01 19:41:25] local.INFO: Processing buffer {"connection_id":121112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e027f60012cb29ac007823d880047002023..."} 
[2026-07-01 19:41:25] local.INFO: Packet analysis {"connection_id":121112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e02"} 
[2026-07-01 19:41:25] local.INFO: Extracted packet for processing {"connection_id":121112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e02"} 
[2026-07-01 19:41:25] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:41:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426139392001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:41:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:41:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:41:25] 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-01 19:41:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782914908000,"timestamp_ms":1782914908000,"timestamp_seconds":1782914908,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e027f60"} 
[2026-07-01 19:41:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:41:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-01 19:41:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:41:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:41:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:41:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:41:25] local.INFO: Teltonika packet parsed successfully {"connection_id":121112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:41:25] local.INFO: Passing IMEI to GPS processor {"connection_id":121112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:41:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":121112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:41:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:41:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:41:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:41:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426139392001,"66":25430,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:41:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:41:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:41:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426139392001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:41:25] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:41:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:41:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:41:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:41:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426139392001,"power":25430,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:41:25] local.INFO: DEBUG: GPS processor result {"connection_id":121112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:41:25] local.INFO: GPS data processed {"connection_id":121112,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:41:25] local.INFO: Acknowledgment sent {"connection_id":121112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:41:57] local.INFO: TCP Data received {"connection_id":121112,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e027f60012cb29ac007823d880047002023..."} 
[2026-07-01 19:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e027f60012cb29ac007823d880047002023..."} 
[2026-07-01 19:41:57] local.INFO: Processing buffer {"connection_id":121112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e027f60012cb29ac007823d880047002023..."} 
[2026-07-01 19:41:57] local.INFO: Packet analysis {"connection_id":121112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e02"} 
[2026-07-01 19:41:57] local.INFO: Extracted packet for processing {"connection_id":121112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e02"} 
[2026-07-01 19:41:57] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19: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-01 19:41:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426139392001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:41:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:41:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:41:57] 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-01 19:41:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782914908000,"timestamp_ms":1782914908000,"timestamp_seconds":1782914908,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e027f60"} 
[2026-07-01 19: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-01 19:41:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-01 19:41:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19: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-01 19: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-01 19:41:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:41:57] local.INFO: Teltonika packet parsed successfully {"connection_id":121112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:41:57] local.INFO: Passing IMEI to GPS processor {"connection_id":121112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:41:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":121112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:41:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:41:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:41:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:41:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426139392001,"66":25430,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:41:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:41:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:41:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426139392001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:41:57] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:41:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:41:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:41:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:41:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426139392001,"power":25430,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:41:57] local.INFO: DEBUG: GPS processor result {"connection_id":121112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:41:57] local.INFO: GPS data processed {"connection_id":121112,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:41:57] local.INFO: Acknowledgment sent {"connection_id":121112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:42:25] local.INFO: TCP Data received {"connection_id":120046,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:42:25] local.INFO: Processing buffer {"connection_id":120046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:42:25] local.INFO: IMEI packet received {"connection_id":120046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 19:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":120046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:42:30] local.INFO: TCP Data received {"connection_id":120046,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:42:30] local.INFO: Processing buffer {"connection_id":120046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:42:30] local.INFO: IMEI packet received {"connection_id":120046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 19:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":120046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:42:31] local.INFO: TCP Data received {"connection_id":120046,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e027f60012cb29ac007823d880047002023..."} 
[2026-07-01 19:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e027f60012cb29ac007823d880047002023..."} 
[2026-07-01 19:42:31] local.INFO: Processing buffer {"connection_id":120046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e027f60012cb29ac007823d880047002023..."} 
[2026-07-01 19:42:31] local.INFO: Packet analysis {"connection_id":120046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e02"} 
[2026-07-01 19:42:31] local.INFO: Extracted packet for processing {"connection_id":120046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e02"} 
[2026-07-01 19:42:31] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426139392001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:42:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:42:31] 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-01 19:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782914908000,"timestamp_ms":1782914908000,"timestamp_seconds":1782914908,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e027f60"} 
[2026-07-01 19:42:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:42:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-01 19:42:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:42:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:42:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":120046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":120046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":120046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:42:31] 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-01 19:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426139392001,"66":25430,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426139392001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:42:31] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:42:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:42:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426139392001,"power":25430,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":120046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:42:31] local.INFO: GPS data processed {"connection_id":120046,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:42:31] local.INFO: Acknowledgment sent {"connection_id":120046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:42:35] local.INFO: TCP Data received {"connection_id":120046,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e027f60012cb29ac007823d880047002023..."} 
[2026-07-01 19:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e027f60012cb29ac007823d880047002023..."} 
[2026-07-01 19:42:35] local.INFO: Processing buffer {"connection_id":120046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e027f60012cb29ac007823d880047002023..."} 
[2026-07-01 19:42:35] local.INFO: Packet analysis {"connection_id":120046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e02"} 
[2026-07-01 19:42:35] local.INFO: Extracted packet for processing {"connection_id":120046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e02"} 
[2026-07-01 19:42:35] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19: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-01 19:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426139392001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:42:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:42:35] 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-01 19:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782914908000,"timestamp_ms":1782914908000,"timestamp_seconds":1782914908,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e027f60"} 
[2026-07-01 19: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-01 19:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-01 19:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19: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-01 19: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-01 19:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":120046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":120046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":120046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:42:35] 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-01 19:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426139392001,"66":25430,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426139392001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:42:35] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:42:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:42:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426139392001,"power":25430,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":120046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:42:35] local.INFO: GPS data processed {"connection_id":120046,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:42:35] local.INFO: Acknowledgment sent {"connection_id":120046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:42:57] local.INFO: TCP Data received {"connection_id":119357,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 19:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119357,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 19:42:57] local.INFO: Processing buffer {"connection_id":119357,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 19:42:57] local.INFO: IMEI packet received {"connection_id":119357,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 19:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":119357,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:43:02] local.INFO: TCP Data received {"connection_id":119357,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 19:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119357,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 19:43:02] local.INFO: Processing buffer {"connection_id":119357,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 19:43:02] local.INFO: IMEI packet received {"connection_id":119357,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 19:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":119357,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:43:03] local.INFO: TCP Data received {"connection_id":119357,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e05cb20012d7e3c4005d35910000100f62a..."} 
[2026-07-01 19:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e05cb20012d7e3c4005d35910000100f62a..."} 
[2026-07-01 19:43:03] local.INFO: Processing buffer {"connection_id":119357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e05cb20012d7e3c4005d35910000100f62a..."} 
[2026-07-01 19:43:03] local.INFO: Packet analysis {"connection_id":119357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e05"} 
[2026-07-01 19:43:03] local.INFO: Extracted packet for processing {"connection_id":119357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e05"} 
[2026-07-01 19:43:03] local.INFO: GPS Element Parsed {"raw_longitude":763247680,"raw_latitude":97736976,"longitude_deg":76.324768,"latitude_deg":9.7736976,"altitude":1,"angle":246,"satellites":42,"speed":2,"hex_longitude":"2d7e3c40","hex_latitude":"05d35910","is_valid_coordinates":true} 
[2026-07-01 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-01 19:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426271232001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101463190709207040,"note":"Value kept but may cause issues"} 
[2026-07-01 19:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096286109890590720,"note":"Value kept but may cause issues"} 
[2026-07-01 19:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 19:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782915124000,"timestamp_ms":1782915124000,"timestamp_seconds":1782915124,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e05cb20"} 
[2026-07-01 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-01 19:43:03] 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-01 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":37,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-07-01 19:43:03] 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-01 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-01 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-01 19:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":119357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":119357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 19:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":119357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 19:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 19:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 19:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426271232001,"66":10536,"81":206,"85":15104,"24":2,"16":101463190709207040,"45":9096286109890590720},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 19:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 19:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 19:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426271232001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:43:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 19:43:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 19:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101463190709207040,"km_value":101463190709207.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096286109890590720,"description":"Unknown IO ID 45"} 
[2026-07-01 19:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426271232001,"power":10536,"unknown_81":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":9096286109890590720}} 
[2026-07-01 19:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":119357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418369,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:43:03] local.INFO: GPS data processed {"connection_id":119357,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:43:03] local.INFO: Acknowledgment sent {"connection_id":119357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:43:23] local.INFO: TCP Data received {"connection_id":119359,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:43:23] local.INFO: Processing buffer {"connection_id":119359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:43:23] local.INFO: IMEI packet received {"connection_id":119359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 19:43:23] local.INFO: IMEI acknowledgment sent {"connection_id":119359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:43:25] local.INFO: TCP Data received {"connection_id":119359,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:43:25] local.INFO: Processing buffer {"connection_id":119359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:43:25] local.INFO: IMEI packet received {"connection_id":119359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 19:43:25] local.INFO: IMEI acknowledgment sent {"connection_id":119359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:43:25] local.INFO: TCP Data received {"connection_id":119359,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e027f60012cb29ac007823d880047002023..."} 
[2026-07-01 19:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e027f60012cb29ac007823d880047002023..."} 
[2026-07-01 19:43:25] local.INFO: Processing buffer {"connection_id":119359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e027f60012cb29ac007823d880047002023..."} 
[2026-07-01 19:43:25] local.INFO: Packet analysis {"connection_id":119359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e02"} 
[2026-07-01 19:43:25] local.INFO: Extracted packet for processing {"connection_id":119359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e02"} 
[2026-07-01 19:43:25] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:43:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:43:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426139392001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:43:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:43:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:43:25] 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-01 19:43:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782914908000,"timestamp_ms":1782914908000,"timestamp_seconds":1782914908,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e027f60"} 
[2026-07-01 19:43:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:43:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:43:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-01 19:43:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:43:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:43:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:43:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:43:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:43:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:43:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:43:25] 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-01 19:43:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:43:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:43:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426139392001,"66":25430,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:43:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:43:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:43:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426139392001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:43:25] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:43:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:43:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:43:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:43:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426139392001,"power":25430,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:43:25] local.INFO: DEBUG: GPS processor result {"connection_id":119359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:43:25] local.INFO: GPS data processed {"connection_id":119359,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:43:25] local.INFO: Acknowledgment sent {"connection_id":119359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:43:30] local.INFO: TCP Data received {"connection_id":119359,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e027f60012cb29ac007823d880047002023..."} 
[2026-07-01 19:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e027f60012cb29ac007823d880047002023..."} 
[2026-07-01 19:43:30] local.INFO: Processing buffer {"connection_id":119359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e027f60012cb29ac007823d880047002023..."} 
[2026-07-01 19:43:30] local.INFO: Packet analysis {"connection_id":119359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e02"} 
[2026-07-01 19:43:30] local.INFO: Extracted packet for processing {"connection_id":119359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e02"} 
[2026-07-01 19:43:30] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19: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-01 19:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426139392001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:43:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:43:30] 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-01 19:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782914908000,"timestamp_ms":1782914908000,"timestamp_seconds":1782914908,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e027f60"} 
[2026-07-01 19: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-01 19:43:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-01 19:43:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19: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-01 19: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-01 19:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":119359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":119359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":119359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:43:30] 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-01 19:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426139392001,"66":25430,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426139392001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:43:30] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:43:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:43:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426139392001,"power":25430,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":119359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:43:30] local.INFO: GPS data processed {"connection_id":119359,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:43:30] local.INFO: Acknowledgment sent {"connection_id":119359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:43:34] local.INFO: TCP Data received {"connection_id":119357,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e0601d0012d7e3bc005d358c8000000f12a..."} 
[2026-07-01 19:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e0601d0012d7e3bc005d358c8000000f12a..."} 
[2026-07-01 19:43:34] local.INFO: Processing buffer {"connection_id":119357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e0601d0012d7e3bc005d358c8000000f12a..."} 
[2026-07-01 19:43:34] local.INFO: Packet analysis {"connection_id":119357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e06"} 
[2026-07-01 19:43:34] local.INFO: Extracted packet for processing {"connection_id":119357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e06"} 
[2026-07-01 19:43:34] local.INFO: GPS Element Parsed {"raw_longitude":763247552,"raw_latitude":97736904,"longitude_deg":76.3247552,"latitude_deg":9.7736904,"altitude":0,"angle":241,"satellites":42,"speed":0,"hex_longitude":"2d7e3bc0","hex_latitude":"05d358c8","is_valid_coordinates":true} 
[2026-07-01 19:43: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-01 19:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426271744001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101463199299141632,"note":"Value kept but may cause issues"} 
[2026-07-01 19:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096215741146402816,"note":"Value kept but may cause issues"} 
[2026-07-01 19:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 19:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782915138000,"timestamp_ms":1782915138000,"timestamp_seconds":1782915138,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e0601d0"} 
[2026-07-01 19: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-01 19:43:34] 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-01 19: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":41,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-01 19:43:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":763,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19: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-01 19: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-01 19:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":119357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":119357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 19:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":119357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 19:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 19:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 19:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426271744001,"66":11297,"81":206,"85":15104,"24":0,"16":101463199299141632,"45":9096215741146402816},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 19:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 19:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 19:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426271744001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:43:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 19:43:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 19:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101463199299141632,"km_value":101463199299141.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096215741146402816,"description":"Unknown IO ID 45"} 
[2026-07-01 19:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426271744001,"power":11297,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096215741146402816}} 
[2026-07-01 19:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":119357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418372,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:43:34] local.INFO: GPS data processed {"connection_id":119357,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:43:34] local.INFO: Acknowledgment sent {"connection_id":119357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:43:40] local.INFO: TCP Data received {"connection_id":119358,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119358,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:43:40] local.INFO: Processing buffer {"connection_id":119358,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:43:40] local.INFO: IMEI packet received {"connection_id":119358,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 19:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":119358,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:43:51] local.INFO: TCP Data received {"connection_id":121113,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 19:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121113,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 19:43:51] local.INFO: Processing buffer {"connection_id":121113,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 19:43:51] local.INFO: IMEI packet received {"connection_id":121113,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 19:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":121113,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:43:57] local.INFO: TCP Data received {"connection_id":121113,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 19:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121113,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 19:43:57] local.INFO: Processing buffer {"connection_id":121113,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 19:43:57] local.INFO: IMEI packet received {"connection_id":121113,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 19:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":121113,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:43:58] local.INFO: TCP Data received {"connection_id":121113,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e0601d0012d7e3bc005d358c8000000f12a..."} 
[2026-07-01 19:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e0601d0012d7e3bc005d358c8000000f12a..."} 
[2026-07-01 19:43:58] local.INFO: Processing buffer {"connection_id":121113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e0601d0012d7e3bc005d358c8000000f12a..."} 
[2026-07-01 19:43:58] local.INFO: Packet analysis {"connection_id":121113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e06"} 
[2026-07-01 19:43:58] local.INFO: Extracted packet for processing {"connection_id":121113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e06"} 
[2026-07-01 19:43:58] local.INFO: GPS Element Parsed {"raw_longitude":763247552,"raw_latitude":97736904,"longitude_deg":76.3247552,"latitude_deg":9.7736904,"altitude":0,"angle":241,"satellites":42,"speed":0,"hex_longitude":"2d7e3bc0","hex_latitude":"05d358c8","is_valid_coordinates":true} 
[2026-07-01 19:43: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-01 19:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426275328001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101463199299141632,"note":"Value kept but may cause issues"} 
[2026-07-01 19:43:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096075003658029056,"note":"Value kept but may cause issues"} 
[2026-07-01 19:43:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 19:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782915138000,"timestamp_ms":1782915138000,"timestamp_seconds":1782915138,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e0601d0"} 
[2026-07-01 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-01 19:43:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9216,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 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":44,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-01 19:43:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 19:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":121113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":121113,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 19:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":121113,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 19:43:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 19:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 19:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426275328001,"66":11297,"81":206,"85":15104,"24":0,"16":101463199299141632,"45":9096075003658029056},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 19:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 19:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 19:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426275328001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:43:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 19:43:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 19:43:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101463199299141632,"km_value":101463199299141.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:43:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096075003658029056,"description":"Unknown IO ID 45"} 
[2026-07-01 19:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426275328001,"power":11297,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096075003658029056}} 
[2026-07-01 19:43:58] local.INFO: DEBUG: GPS processor result {"connection_id":121113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418373,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:43:58] local.INFO: GPS data processed {"connection_id":121113,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:43:58] local.INFO: Acknowledgment sent {"connection_id":121113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:44:01] local.INFO: TCP Data received {"connection_id":119359,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e027f60012cb29ac007823d880047002023..."} 
[2026-07-01 19:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e027f60012cb29ac007823d880047002023..."} 
[2026-07-01 19:44:01] local.INFO: Processing buffer {"connection_id":119359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e027f60012cb29ac007823d880047002023..."} 
[2026-07-01 19:44:01] local.INFO: Packet analysis {"connection_id":119359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e02"} 
[2026-07-01 19:44:01] local.INFO: Extracted packet for processing {"connection_id":119359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e02"} 
[2026-07-01 19:44:01] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":35,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426139392001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:44:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:44:01] 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-01 19:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782914908000,"timestamp_ms":1782914908000,"timestamp_seconds":1782914908,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e027f60"} 
[2026-07-01 19:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:44:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-01 19:44:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:44:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":119359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":119359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":119359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:44:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426139392001,"66":25430,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426139392001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:44:01] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:44:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:44:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426139392001,"power":25430,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":119359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:44:02] local.INFO: GPS data processed {"connection_id":119359,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:44:02] local.INFO: Acknowledgment sent {"connection_id":119359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:44:13] local.INFO: TCP Data received {"connection_id":121114,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121114,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:44:13] local.INFO: Processing buffer {"connection_id":121114,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:44:13] local.INFO: IMEI packet received {"connection_id":121114,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 19:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":121114,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:44:14] local.INFO: TCP Data received {"connection_id":121114,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121114,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:44:14] local.INFO: Processing buffer {"connection_id":121114,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:44:14] local.INFO: IMEI packet received {"connection_id":121114,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-01 19:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":121114,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:44:19] local.INFO: TCP Data received {"connection_id":120047,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:44:20] local.INFO: Processing buffer {"connection_id":120047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:44:20] local.INFO: IMEI packet received {"connection_id":120047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 19:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":120047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:44:20] local.INFO: TCP Data received {"connection_id":121114,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121114,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:44:20] local.INFO: Processing buffer {"connection_id":121114,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:44:20] local.INFO: IMEI packet received {"connection_id":121114,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-01 19:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":121114,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:44:25] local.INFO: TCP Data received {"connection_id":120047,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:44:25] local.INFO: Processing buffer {"connection_id":120047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:44:25] local.INFO: IMEI packet received {"connection_id":120047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 19:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":120047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:44:25] local.INFO: TCP Data received {"connection_id":120047,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e071728012cb29ac007823d880047002022..."} 
[2026-07-01 19:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e071728012cb29ac007823d880047002022..."} 
[2026-07-01 19:44:25] local.INFO: Processing buffer {"connection_id":120047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e071728012cb29ac007823d880047002022..."} 
[2026-07-01 19:44:25] local.INFO: Packet analysis {"connection_id":120047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e07"} 
[2026-07-01 19:44:25] local.INFO: Extracted packet for processing {"connection_id":120047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e07"} 
[2026-07-01 19:44:25] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":34,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:44:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:44:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426216448001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:44:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:44:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:44:25] 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-01 19:44:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782915209000,"timestamp_ms":1782915209000,"timestamp_seconds":1782915209,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e071728"} 
[2026-07-01 19:44:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:44:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:44:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-01 19:44:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:44:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:44:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:44:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:44:25] local.INFO: Teltonika packet parsed successfully {"connection_id":120047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:44:25] local.INFO: Passing IMEI to GPS processor {"connection_id":120047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:44:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":120047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:44:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:44:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:44:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:44:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426216448001,"66":25375,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:44:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:44:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:44:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426216448001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:44:25] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:44:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:44:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:44:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:44:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426216448001,"power":25375,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:44:25] local.INFO: DEBUG: GPS processor result {"connection_id":120047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:44:25] local.INFO: GPS data processed {"connection_id":120047,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:44:25] local.INFO: Acknowledgment sent {"connection_id":120047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:44:29] local.INFO: TCP Data received {"connection_id":121113,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e0601d0012d7e3bc005d358c8000000f12a..."} 
[2026-07-01 19:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e0601d0012d7e3bc005d358c8000000f12a..."} 
[2026-07-01 19:44:29] local.INFO: Processing buffer {"connection_id":121113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e0601d0012d7e3bc005d358c8000000f12a..."} 
[2026-07-01 19:44:29] local.INFO: Packet analysis {"connection_id":121113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e06"} 
[2026-07-01 19:44:29] local.INFO: Extracted packet for processing {"connection_id":121113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e06"} 
[2026-07-01 19:44:29] local.INFO: GPS Element Parsed {"raw_longitude":763247552,"raw_latitude":97736904,"longitude_deg":76.3247552,"latitude_deg":9.7736904,"altitude":0,"angle":241,"satellites":42,"speed":0,"hex_longitude":"2d7e3bc0","hex_latitude":"05d358c8","is_valid_coordinates":true} 
[2026-07-01 19:44:29] 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-01 19:44:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426275328001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:44:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101463199299141632,"note":"Value kept but may cause issues"} 
[2026-07-01 19:44:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096075003658029056,"note":"Value kept but may cause issues"} 
[2026-07-01 19:44:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 19:44:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782915138000,"timestamp_ms":1782915138000,"timestamp_seconds":1782915138,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e0601d0"} 
[2026-07-01 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-01 19:44:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9216,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 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":44,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-01 19:44:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 19:44:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:44:29] local.INFO: Teltonika packet parsed successfully {"connection_id":121113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:44:29] local.INFO: Passing IMEI to GPS processor {"connection_id":121113,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 19:44:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":121113,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 19:44:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:44:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 19:44:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 19:44:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426275328001,"66":11297,"81":206,"85":15104,"24":0,"16":101463199299141632,"45":9096075003658029056},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 19:44:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 19:44:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 19:44:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426275328001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:44:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 19:44:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 19:44:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101463199299141632,"km_value":101463199299141.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:44:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096075003658029056,"description":"Unknown IO ID 45"} 
[2026-07-01 19:44:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426275328001,"power":11297,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096075003658029056}} 
[2026-07-01 19:44:29] local.INFO: DEBUG: GPS processor result {"connection_id":121113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418376,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:44:29] local.INFO: GPS data processed {"connection_id":121113,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:44:29] local.INFO: Acknowledgment sent {"connection_id":121113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:44:56] local.INFO: TCP Data received {"connection_id":119248,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 19:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119248,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 19:44:56] local.INFO: Processing buffer {"connection_id":119248,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 19:44:56] local.INFO: IMEI packet received {"connection_id":119248,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 19:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":119248,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:45:00] local.INFO: TCP Data received {"connection_id":120047,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e071728012cb29ac007823d880047002022..."} 
[2026-07-01 19:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e071728012cb29ac007823d880047002022..."} 
[2026-07-01 19:45:00] local.INFO: Processing buffer {"connection_id":120047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e071728012cb29ac007823d880047002022..."} 
[2026-07-01 19:45:00] local.INFO: Packet analysis {"connection_id":120047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e07"} 
[2026-07-01 19:45:00] local.INFO: Extracted packet for processing {"connection_id":120047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e07"} 
[2026-07-01 19:45:00] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":34,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19: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-01 19:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426216448001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:45:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:45:00] 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-01 19:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782915209000,"timestamp_ms":1782915209000,"timestamp_seconds":1782915209,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e071728"} 
[2026-07-01 19: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-01 19:45:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-01 19:45:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19: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-01 19: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-01 19:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":120047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":120047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":120047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:45: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-01 19:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426216448001,"66":25375,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426216448001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:45:00] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:45:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:45:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426216448001,"power":25375,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":120047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:45:00] local.INFO: GPS data processed {"connection_id":120047,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:45:00] local.INFO: Acknowledgment sent {"connection_id":120047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:45:01] local.INFO: TCP Data received {"connection_id":119248,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 19:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119248,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 19:45:02] local.INFO: Processing buffer {"connection_id":119248,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 19:45:02] local.INFO: IMEI packet received {"connection_id":119248,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 19:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":119248,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:45:03] local.INFO: TCP Data received {"connection_id":119248,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e0601d0012d7e3bc005d358c8000000f12a..."} 
[2026-07-01 19:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e0601d0012d7e3bc005d358c8000000f12a..."} 
[2026-07-01 19:45:03] local.INFO: Processing buffer {"connection_id":119248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e0601d0012d7e3bc005d358c8000000f12a..."} 
[2026-07-01 19:45:03] local.INFO: Packet analysis {"connection_id":119248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e06"} 
[2026-07-01 19:45:03] local.INFO: Extracted packet for processing {"connection_id":119248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e06"} 
[2026-07-01 19:45:03] local.INFO: GPS Element Parsed {"raw_longitude":763247552,"raw_latitude":97736904,"longitude_deg":76.3247552,"latitude_deg":9.7736904,"altitude":0,"angle":241,"satellites":42,"speed":0,"hex_longitude":"2d7e3bc0","hex_latitude":"05d358c8","is_valid_coordinates":true} 
[2026-07-01 19:45:03] 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-01 19:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426275328001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101463199299141632,"note":"Value kept but may cause issues"} 
[2026-07-01 19:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096075003658029056,"note":"Value kept but may cause issues"} 
[2026-07-01 19:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 19:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782915138000,"timestamp_ms":1782915138000,"timestamp_seconds":1782915138,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e0601d0"} 
[2026-07-01 19:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9216,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-01 19:45:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:45:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":119248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":119248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 19:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":119248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 19:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 19:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 19:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426275328001,"66":11297,"81":206,"85":15104,"24":0,"16":101463199299141632,"45":9096075003658029056},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 19:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 19:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 19:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426275328001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:45:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 19:45:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 19:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101463199299141632,"km_value":101463199299141.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096075003658029056,"description":"Unknown IO ID 45"} 
[2026-07-01 19:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426275328001,"power":11297,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096075003658029056}} 
[2026-07-01 19:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":119248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418378,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:45:03] local.INFO: GPS data processed {"connection_id":119248,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:45:03] local.INFO: Acknowledgment sent {"connection_id":119248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:45:07] local.INFO: TCP Data received {"connection_id":119248,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e0601d0012d7e3bc005d358c8000000f12a..."} 
[2026-07-01 19:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e0601d0012d7e3bc005d358c8000000f12a..."} 
[2026-07-01 19:45:07] local.INFO: Processing buffer {"connection_id":119248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e0601d0012d7e3bc005d358c8000000f12a..."} 
[2026-07-01 19:45:07] local.INFO: Packet analysis {"connection_id":119248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e06"} 
[2026-07-01 19:45:07] local.INFO: Extracted packet for processing {"connection_id":119248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e06"} 
[2026-07-01 19:45:07] local.INFO: GPS Element Parsed {"raw_longitude":763247552,"raw_latitude":97736904,"longitude_deg":76.3247552,"latitude_deg":9.7736904,"altitude":0,"angle":241,"satellites":42,"speed":0,"hex_longitude":"2d7e3bc0","hex_latitude":"05d358c8","is_valid_coordinates":true} 
[2026-07-01 19:45: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-01 19:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426275328001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101463199299141632,"note":"Value kept but may cause issues"} 
[2026-07-01 19:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096075003658029056,"note":"Value kept but may cause issues"} 
[2026-07-01 19:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 19:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782915138000,"timestamp_ms":1782915138000,"timestamp_seconds":1782915138,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e0601d0"} 
[2026-07-01 19:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9216,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-01 19:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:45:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":119248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":119248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 19:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":119248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 19:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 19:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 19:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426275328001,"66":11297,"81":206,"85":15104,"24":0,"16":101463199299141632,"45":9096075003658029056},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 19:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 19:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 19:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426275328001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:45:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 19:45:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 19:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101463199299141632,"km_value":101463199299141.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096075003658029056,"description":"Unknown IO ID 45"} 
[2026-07-01 19:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426275328001,"power":11297,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096075003658029056}} 
[2026-07-01 19:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":119248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418379,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:45:07] local.INFO: GPS data processed {"connection_id":119248,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:45:07] local.INFO: Acknowledgment sent {"connection_id":119248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:45:25] local.INFO: TCP Data received {"connection_id":119361,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:45:25] local.INFO: Processing buffer {"connection_id":119361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:45:25] local.INFO: IMEI packet received {"connection_id":119361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 19:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":119361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:45:30] local.INFO: TCP Data received {"connection_id":119361,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:45:30] local.INFO: Processing buffer {"connection_id":119361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:45:30] local.INFO: IMEI packet received {"connection_id":119361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 19:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":119361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:45:31] local.INFO: TCP Data received {"connection_id":119361,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e071728012cb29ac007823d880047002022..."} 
[2026-07-01 19:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e071728012cb29ac007823d880047002022..."} 
[2026-07-01 19:45:31] local.INFO: Processing buffer {"connection_id":119361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e071728012cb29ac007823d880047002022..."} 
[2026-07-01 19:45:31] local.INFO: Packet analysis {"connection_id":119361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e07"} 
[2026-07-01 19:45:31] local.INFO: Extracted packet for processing {"connection_id":119361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e07"} 
[2026-07-01 19:45:31] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":34,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19: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-01 19:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426216448001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:45:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:45:31] 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-01 19:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782915209000,"timestamp_ms":1782915209000,"timestamp_seconds":1782915209,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e071728"} 
[2026-07-01 19: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-01 19:45:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-01 19:45:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19: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-01 19: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-01 19:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:45:31] 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-01 19:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426216448001,"66":25375,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426216448001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:45:31] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:45:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:45:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426216448001,"power":25375,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":119361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:45:31] local.INFO: GPS data processed {"connection_id":119361,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:45:31] local.INFO: Acknowledgment sent {"connection_id":119361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:45:39] local.INFO: TCP Data received {"connection_id":119361,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e071728012cb29ac007823d880047002022..."} 
[2026-07-01 19:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e071728012cb29ac007823d880047002022..."} 
[2026-07-01 19:45:39] local.INFO: Processing buffer {"connection_id":119361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e071728012cb29ac007823d880047002022..."} 
[2026-07-01 19:45:39] local.INFO: Packet analysis {"connection_id":119361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e07"} 
[2026-07-01 19:45:39] local.INFO: Extracted packet for processing {"connection_id":119361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e07"} 
[2026-07-01 19:45:39] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":34,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426216448001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:45:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:45:39] 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-01 19:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1782915209000,"timestamp_ms":1782915209000,"timestamp_seconds":1782915209,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e071728"} 
[2026-07-01 19:45:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:45:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-01 19:45:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:45:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:45:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":119361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":119361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":119361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:45: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-01 19:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426216448001,"66":25375,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:45:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:45:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426216448001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:45:39] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:45:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:45:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:45:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:45:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426216448001,"power":25375,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:45:39] local.INFO: DEBUG: GPS processor result {"connection_id":119361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:45:39] local.INFO: GPS data processed {"connection_id":119361,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:45:39] local.INFO: Acknowledgment sent {"connection_id":119361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:45:51] local.INFO: TCP Data received {"connection_id":120049,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 19:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120049,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 19:45:51] local.INFO: Processing buffer {"connection_id":120049,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 19:45:51] local.INFO: IMEI packet received {"connection_id":120049,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 19:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":120049,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:45:56] local.INFO: TCP Data received {"connection_id":120049,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 19:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120049,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 19:45:56] local.INFO: Processing buffer {"connection_id":120049,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 19:45:56] local.INFO: IMEI packet received {"connection_id":120049,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 19:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":120049,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:45:57] local.INFO: TCP Data received {"connection_id":120049,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e0601d0012d7e3bc005d358c8000000f12a..."} 
[2026-07-01 19:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e0601d0012d7e3bc005d358c8000000f12a..."} 
[2026-07-01 19:45:57] local.INFO: Processing buffer {"connection_id":120049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e0601d0012d7e3bc005d358c8000000f12a..."} 
[2026-07-01 19:45:57] local.INFO: Packet analysis {"connection_id":120049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e06"} 
[2026-07-01 19:45:57] local.INFO: Extracted packet for processing {"connection_id":120049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e06"} 
[2026-07-01 19:45:57] local.INFO: GPS Element Parsed {"raw_longitude":763247552,"raw_latitude":97736904,"longitude_deg":76.3247552,"latitude_deg":9.7736904,"altitude":0,"angle":241,"satellites":42,"speed":0,"hex_longitude":"2d7e3bc0","hex_latitude":"05d358c8","is_valid_coordinates":true} 
[2026-07-01 19:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:45:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426275328001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:45:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101463199299141632,"note":"Value kept but may cause issues"} 
[2026-07-01 19:45:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096075003658029056,"note":"Value kept but may cause issues"} 
[2026-07-01 19:45:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 19:45:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782915138000,"timestamp_ms":1782915138000,"timestamp_seconds":1782915138,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e0601d0"} 
[2026-07-01 19:45:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:45:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9216,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-01 19:45:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:45:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:45:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:45:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:45:57] local.INFO: Teltonika packet parsed successfully {"connection_id":120049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:45:57] local.INFO: Passing IMEI to GPS processor {"connection_id":120049,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 19:45:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":120049,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 19:45:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:45:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 19:45:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 19:45:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426275328001,"66":11297,"81":206,"85":15104,"24":0,"16":101463199299141632,"45":9096075003658029056},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 19:45:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 19:45:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 19:45:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426275328001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:45:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 19:45:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 19:45:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101463199299141632,"km_value":101463199299141.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:45:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096075003658029056,"description":"Unknown IO ID 45"} 
[2026-07-01 19:45:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426275328001,"power":11297,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096075003658029056}} 
[2026-07-01 19:45:57] local.INFO: DEBUG: GPS processor result {"connection_id":120049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418382,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:45:57] local.INFO: GPS data processed {"connection_id":120049,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:45:57] local.INFO: Acknowledgment sent {"connection_id":120049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:46:20] local.INFO: TCP Data received {"connection_id":119249,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:46:20] local.INFO: Processing buffer {"connection_id":119249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:46:20] local.INFO: IMEI packet received {"connection_id":119249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 19:46:20] local.INFO: IMEI acknowledgment sent {"connection_id":119249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:46:25] local.INFO: TCP Data received {"connection_id":119249,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:46:25] local.INFO: Processing buffer {"connection_id":119249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:46:25] local.INFO: IMEI packet received {"connection_id":119249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 19:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":119249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:46:26] local.INFO: TCP Data received {"connection_id":119249,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e071728012cb29ac007823d880047002022..."} 
[2026-07-01 19:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e071728012cb29ac007823d880047002022..."} 
[2026-07-01 19:46:26] local.INFO: Processing buffer {"connection_id":119249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e071728012cb29ac007823d880047002022..."} 
[2026-07-01 19:46:26] local.INFO: Packet analysis {"connection_id":119249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e07"} 
[2026-07-01 19:46:26] local.INFO: Extracted packet for processing {"connection_id":119249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e07"} 
[2026-07-01 19:46:26] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":34,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426216448001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:46:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:46:26] 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-01 19:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782915209000,"timestamp_ms":1782915209000,"timestamp_seconds":1782915209,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e071728"} 
[2026-07-01 19:46:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:46:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-01 19:46:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:46:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:46:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:46:26] local.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-01 19:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426216448001,"66":25375,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426216448001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:46:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:46:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:46:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426216448001,"power":25375,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":119249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:46:26] local.INFO: GPS data processed {"connection_id":119249,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:46:26] local.INFO: Acknowledgment sent {"connection_id":119249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:46:28] local.INFO: TCP Data received {"connection_id":120049,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e0601d0012d7e3bc005d358c8000000f12a..."} 
[2026-07-01 19:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e0601d0012d7e3bc005d358c8000000f12a..."} 
[2026-07-01 19:46:28] local.INFO: Processing buffer {"connection_id":120049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e0601d0012d7e3bc005d358c8000000f12a..."} 
[2026-07-01 19:46:28] local.INFO: Packet analysis {"connection_id":120049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e06"} 
[2026-07-01 19:46:28] local.INFO: Extracted packet for processing {"connection_id":120049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e06"} 
[2026-07-01 19:46:28] local.INFO: GPS Element Parsed {"raw_longitude":763247552,"raw_latitude":97736904,"longitude_deg":76.3247552,"latitude_deg":9.7736904,"altitude":0,"angle":241,"satellites":42,"speed":0,"hex_longitude":"2d7e3bc0","hex_latitude":"05d358c8","is_valid_coordinates":true} 
[2026-07-01 19:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426275328001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101463199299141632,"note":"Value kept but may cause issues"} 
[2026-07-01 19:46:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096075003658029056,"note":"Value kept but may cause issues"} 
[2026-07-01 19:46:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 19:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782915138000,"timestamp_ms":1782915138000,"timestamp_seconds":1782915138,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e0601d0"} 
[2026-07-01 19: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-01 19:46:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9216,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19: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":44,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-01 19:46:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19: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-01 19: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-01 19:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":120049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":120049,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 19:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":120049,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 19:46:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 19:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 19:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426275328001,"66":11297,"81":206,"85":15104,"24":0,"16":101463199299141632,"45":9096075003658029056},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 19:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 19:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 19:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426275328001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:46:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 19:46:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 19:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101463199299141632,"km_value":101463199299141.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:46:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096075003658029056,"description":"Unknown IO ID 45"} 
[2026-07-01 19:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426275328001,"power":11297,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096075003658029056}} 
[2026-07-01 19:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":120049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418384,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:46:28] local.INFO: GPS data processed {"connection_id":120049,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:46:28] local.INFO: Acknowledgment sent {"connection_id":120049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:46:52] local.INFO: TCP Data received {"connection_id":119363,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 19:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119363,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 19:46:52] local.INFO: Processing buffer {"connection_id":119363,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 19:46:52] local.INFO: IMEI packet received {"connection_id":119363,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 19:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":119363,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:46:56] local.INFO: TCP Data received {"connection_id":119363,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 19:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119363,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 19:46:56] local.INFO: Processing buffer {"connection_id":119363,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 19:46:56] local.INFO: IMEI packet received {"connection_id":119363,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 19:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":119363,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:46:57] local.INFO: TCP Data received {"connection_id":119363,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e0601d0012d7e3bc005d358c8000000f12a..."} 
[2026-07-01 19:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e0601d0012d7e3bc005d358c8000000f12a..."} 
[2026-07-01 19:46:57] local.INFO: Processing buffer {"connection_id":119363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e0601d0012d7e3bc005d358c8000000f12a..."} 
[2026-07-01 19:46:57] local.INFO: Packet analysis {"connection_id":119363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e06"} 
[2026-07-01 19:46:57] local.INFO: Extracted packet for processing {"connection_id":119363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e06"} 
[2026-07-01 19:46:57] local.INFO: GPS Element Parsed {"raw_longitude":763247552,"raw_latitude":97736904,"longitude_deg":76.3247552,"latitude_deg":9.7736904,"altitude":0,"angle":241,"satellites":42,"speed":0,"hex_longitude":"2d7e3bc0","hex_latitude":"05d358c8","is_valid_coordinates":true} 
[2026-07-01 19:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:46:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426275328001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:46:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101463199299141632,"note":"Value kept but may cause issues"} 
[2026-07-01 19:46:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096075003658029056,"note":"Value kept but may cause issues"} 
[2026-07-01 19:46:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 19:46:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782915138000,"timestamp_ms":1782915138000,"timestamp_seconds":1782915138,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e0601d0"} 
[2026-07-01 19: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-01 19:46:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9216,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19: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":44,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-01 19:46:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19: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-01 19: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-01 19:46:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:46:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:46:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 19:46:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 19:46:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:46:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 19:46:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 19:46:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426275328001,"66":11297,"81":206,"85":15104,"24":0,"16":101463199299141632,"45":9096075003658029056},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-07-01 19:46:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 19:46:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 19:46:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426275328001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:46:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 19:46:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 19:46:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101463199299141632,"km_value":101463199299141.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:46:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096075003658029056,"description":"Unknown IO ID 45"} 
[2026-07-01 19:46:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426275328001,"power":11297,"unknown_81":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096075003658029056}} 
[2026-07-01 19:46:57] local.INFO: DEBUG: GPS processor result {"connection_id":119363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418385,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:46:57] local.INFO: GPS data processed {"connection_id":119363,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:46:57] local.INFO: Acknowledgment sent {"connection_id":119363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:46:58] local.INFO: TCP Data received {"connection_id":119249,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e071728012cb29ac007823d880047002022..."} 
[2026-07-01 19:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e071728012cb29ac007823d880047002022..."} 
[2026-07-01 19:46:58] local.INFO: Processing buffer {"connection_id":119249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e071728012cb29ac007823d880047002022..."} 
[2026-07-01 19:46:58] local.INFO: Packet analysis {"connection_id":119249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e07"} 
[2026-07-01 19:46:58] local.INFO: Extracted packet for processing {"connection_id":119249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e07"} 
[2026-07-01 19:46:58] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":34,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 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-01 19:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426216448001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:46:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:46:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:46:58] 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-01 19:46:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782915209000,"timestamp_ms":1782915209000,"timestamp_seconds":1782915209,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e071728"} 
[2026-07-01 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-01 19:46:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-01 19:46:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 19:46:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:46:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:46:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:46:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:46:58] local.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-01 19:46:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:46:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:46:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426216448001,"66":25375,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:46:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:46:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:46:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426216448001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:46:58] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:46:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:46:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:46:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:46:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426216448001,"power":25375,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:46:58] local.INFO: DEBUG: GPS processor result {"connection_id":119249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:46:58] local.INFO: GPS data processed {"connection_id":119249,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:46:58] local.INFO: Acknowledgment sent {"connection_id":119249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:47:20] local.INFO: TCP Data received {"connection_id":120050,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:47:20] local.INFO: Processing buffer {"connection_id":120050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:47:20] local.INFO: IMEI packet received {"connection_id":120050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 19:47:20] local.INFO: IMEI acknowledgment sent {"connection_id":120050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:47:25] local.INFO: TCP Data received {"connection_id":120050,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:47:25] local.INFO: Processing buffer {"connection_id":120050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:47:25] local.INFO: IMEI packet received {"connection_id":120050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 19:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":120050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:47:26] local.INFO: TCP Data received {"connection_id":120050,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e071728012cb29ac007823d880047002022..."} 
[2026-07-01 19:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e071728012cb29ac007823d880047002022..."} 
[2026-07-01 19:47:26] local.INFO: Processing buffer {"connection_id":120050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e071728012cb29ac007823d880047002022..."} 
[2026-07-01 19:47:26] local.INFO: Packet analysis {"connection_id":120050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e07"} 
[2026-07-01 19:47:26] local.INFO: Extracted packet for processing {"connection_id":120050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e07"} 
[2026-07-01 19:47:26] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":34,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426216448001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:47:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:47:26] 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-01 19:47:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782915209000,"timestamp_ms":1782915209000,"timestamp_seconds":1782915209,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e071728"} 
[2026-07-01 19:47:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:47:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-01 19:47:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:47:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:47:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":120050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":120050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":120050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:47:26] 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-01 19:47:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:47:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426216448001,"66":25375,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426216448001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:47:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:47:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:47:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426216448001,"power":25375,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:47:26] local.INFO: DEBUG: GPS processor result {"connection_id":120050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:47:26] local.INFO: GPS data processed {"connection_id":120050,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:47:26] local.INFO: Acknowledgment sent {"connection_id":120050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:47:29] local.INFO: TCP Data received {"connection_id":119363,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e0a9d80012d7e3a8005d358a0000000f129..."} 
[2026-07-01 19:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e0a9d80012d7e3a8005d358a0000000f129..."} 
[2026-07-01 19:47:29] local.INFO: Processing buffer {"connection_id":119363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e0a9d80012d7e3a8005d358a0000000f129..."} 
[2026-07-01 19:47:29] local.INFO: Packet analysis {"connection_id":119363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e0a"} 
[2026-07-01 19:47:29] local.INFO: Extracted packet for processing {"connection_id":119363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e0a"} 
[2026-07-01 19:47:29] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736864,"longitude_deg":76.3247232,"latitude_deg":9.7736864,"altitude":0,"angle":241,"satellites":41,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d358a0","is_valid_coordinates":true} 
[2026-07-01 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-01 19:47:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426275328001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:47:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101463199299141632,"note":"Value kept but may cause issues"} 
[2026-07-01 19:47:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096075003658029056,"note":"Value kept but may cause issues"} 
[2026-07-01 19:47:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 19:47:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782915440000,"timestamp_ms":1782915440000,"timestamp_seconds":1782915440,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e0a9d80"} 
[2026-07-01 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-01 19:47:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9216,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 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":44,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-01 19:47:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 19:47:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:47:29] local.INFO: Teltonika packet parsed successfully {"connection_id":119363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:47:29] local.INFO: Passing IMEI to GPS processor {"connection_id":119363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 19:47:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":119363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 19:47:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:47:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 19:47:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 19:47:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426275328001,"66":12613,"109":206,"85":15104,"24":0,"16":101463199299141632,"45":9096075003658029056},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-01 19:47:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 19:47:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 19:47:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426275328001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:47:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-01 19:47:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 19:47:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101463199299141632,"km_value":101463199299141.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:47:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096075003658029056,"description":"Unknown IO ID 45"} 
[2026-07-01 19:47:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426275328001,"power":12613,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096075003658029056}} 
[2026-07-01 19:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":119363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418388,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:47:29] local.INFO: GPS data processed {"connection_id":119363,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:47:29] local.INFO: Acknowledgment sent {"connection_id":119363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:47:51] local.INFO: TCP Data received {"connection_id":119250,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 19:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119250,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 19:47:51] local.INFO: Processing buffer {"connection_id":119250,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 19:47:51] local.INFO: IMEI packet received {"connection_id":119250,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 19:47:51] local.INFO: IMEI acknowledgment sent {"connection_id":119250,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:47:56] local.INFO: TCP Data received {"connection_id":119250,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 19:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119250,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 19:47:56] local.INFO: Processing buffer {"connection_id":119250,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 19:47:56] local.INFO: IMEI packet received {"connection_id":119250,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 19:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":119250,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:47:57] local.INFO: TCP Data received {"connection_id":119250,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e0a9d80012d7e3a8005d358a0000000f129..."} 
[2026-07-01 19:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e0a9d80012d7e3a8005d358a0000000f129..."} 
[2026-07-01 19:47:57] local.INFO: Processing buffer {"connection_id":119250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e0a9d80012d7e3a8005d358a0000000f129..."} 
[2026-07-01 19:47:57] local.INFO: Packet analysis {"connection_id":119250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e0a"} 
[2026-07-01 19:47:57] local.INFO: Extracted packet for processing {"connection_id":119250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e0a"} 
[2026-07-01 19:47:57] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736864,"longitude_deg":76.3247232,"latitude_deg":9.7736864,"altitude":0,"angle":241,"satellites":41,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d358a0","is_valid_coordinates":true} 
[2026-07-01 19:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:47:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426275328001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:47:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101463199299141632,"note":"Value kept but may cause issues"} 
[2026-07-01 19:47:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096075003658029056,"note":"Value kept but may cause issues"} 
[2026-07-01 19:47:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 19:47:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782915440000,"timestamp_ms":1782915440000,"timestamp_seconds":1782915440,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e0a9d80"} 
[2026-07-01 19:47:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:47:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9216,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-01 19:47:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:47:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:47:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:47:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:47:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:47:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119250,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 19:47:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119250,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 19:47:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:47:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 19:47:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 19:47:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426275328001,"66":12613,"109":206,"85":15104,"24":0,"16":101463199299141632,"45":9096075003658029056},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-01 19:47:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 19:47:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 19:47:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426275328001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:47:57] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-01 19:47:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 19:47:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101463199299141632,"km_value":101463199299141.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:47:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096075003658029056,"description":"Unknown IO ID 45"} 
[2026-07-01 19:47:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426275328001,"power":12613,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096075003658029056}} 
[2026-07-01 19:47:57] local.INFO: DEBUG: GPS processor result {"connection_id":119250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418389,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:47:57] local.INFO: GPS data processed {"connection_id":119250,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:47:57] local.INFO: Acknowledgment sent {"connection_id":119250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:47:59] local.INFO: TCP Data received {"connection_id":120050,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e071728012cb29ac007823d880047002022..."} 
[2026-07-01 19:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e071728012cb29ac007823d880047002022..."} 
[2026-07-01 19:47:59] local.INFO: Processing buffer {"connection_id":120050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e071728012cb29ac007823d880047002022..."} 
[2026-07-01 19:47:59] local.INFO: Packet analysis {"connection_id":120050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e07"} 
[2026-07-01 19:47:59] local.INFO: Extracted packet for processing {"connection_id":120050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e07"} 
[2026-07-01 19:47:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":34,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19: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-01 19:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426216448001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:47:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:47:59] 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-01 19:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782915209000,"timestamp_ms":1782915209000,"timestamp_seconds":1782915209,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e071728"} 
[2026-07-01 19:47:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:47:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-01 19:47:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:47:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:47:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":120050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":120050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":120050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:47:59] 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-01 19:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426216448001,"66":25375,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426216448001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:47:59] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:47:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:47:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426216448001,"power":25375,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":120050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:47:59] local.INFO: GPS data processed {"connection_id":120050,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:47:59] local.INFO: Acknowledgment sent {"connection_id":120050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:48:20] local.INFO: TCP Data received {"connection_id":120051,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:48:20] local.INFO: Processing buffer {"connection_id":120051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:48:20] local.INFO: IMEI packet received {"connection_id":120051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 19:48:20] local.INFO: IMEI acknowledgment sent {"connection_id":120051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:48:25] local.INFO: TCP Data received {"connection_id":120051,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:48:25] local.INFO: Processing buffer {"connection_id":120051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:48:25] local.INFO: IMEI packet received {"connection_id":120051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 19:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":120051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:48:26] local.INFO: TCP Data received {"connection_id":120051,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e071728012cb29ac007823d880047002022..."} 
[2026-07-01 19:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e071728012cb29ac007823d880047002022..."} 
[2026-07-01 19:48:26] local.INFO: Processing buffer {"connection_id":120051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e071728012cb29ac007823d880047002022..."} 
[2026-07-01 19:48:26] local.INFO: Packet analysis {"connection_id":120051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e07"} 
[2026-07-01 19:48:26] local.INFO: Extracted packet for processing {"connection_id":120051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e07"} 
[2026-07-01 19:48:26] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":34,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:48:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:48:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426216448001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:48:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:48:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:48:26] 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-01 19:48:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782915209000,"timestamp_ms":1782915209000,"timestamp_seconds":1782915209,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e071728"} 
[2026-07-01 19:48:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:48:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:48:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-01 19:48:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:48:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:48:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:48:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:48:26] local.INFO: Teltonika packet parsed successfully {"connection_id":120051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:48:26] local.INFO: Passing IMEI to GPS processor {"connection_id":120051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:48:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":120051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:48:26] 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-01 19:48:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:48:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:48:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426216448001,"66":25375,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:48:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:48:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:48:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426216448001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:48:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:48:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:48:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:48:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:48:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426216448001,"power":25375,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:48:26] local.INFO: DEBUG: GPS processor result {"connection_id":120051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:48:26] local.INFO: GPS data processed {"connection_id":120051,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:48:26] local.INFO: Acknowledgment sent {"connection_id":120051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:48:28] local.INFO: TCP Data received {"connection_id":119250,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e0a9d80012d7e3a8005d358a0000000f129..."} 
[2026-07-01 19:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e0a9d80012d7e3a8005d358a0000000f129..."} 
[2026-07-01 19:48:29] local.INFO: Processing buffer {"connection_id":119250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e0a9d80012d7e3a8005d358a0000000f129..."} 
[2026-07-01 19:48:29] local.INFO: Packet analysis {"connection_id":119250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e0a"} 
[2026-07-01 19:48:29] local.INFO: Extracted packet for processing {"connection_id":119250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e0a"} 
[2026-07-01 19:48:29] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736864,"longitude_deg":76.3247232,"latitude_deg":9.7736864,"altitude":0,"angle":241,"satellites":41,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d358a0","is_valid_coordinates":true} 
[2026-07-01 19:48:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426275328001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101463199299141632,"note":"Value kept but may cause issues"} 
[2026-07-01 19:48:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096075003658029056,"note":"Value kept but may cause issues"} 
[2026-07-01 19:48:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 19:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782915440000,"timestamp_ms":1782915440000,"timestamp_seconds":1782915440,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e0a9d80"} 
[2026-07-01 19:48:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:48:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9216,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:48:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-01 19:48:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:48:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:48:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":119250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":119250,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 19:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":119250,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 19:48:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 19:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 19:48:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426275328001,"66":12613,"109":206,"85":15104,"24":0,"16":101463199299141632,"45":9096075003658029056},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-01 19:48:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 19:48:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 19:48:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426275328001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:48:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-01 19:48:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 19:48:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101463199299141632,"km_value":101463199299141.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:48:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096075003658029056,"description":"Unknown IO ID 45"} 
[2026-07-01 19:48:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426275328001,"power":12613,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096075003658029056}} 
[2026-07-01 19:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":119250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418392,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:48:29] local.INFO: GPS data processed {"connection_id":119250,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:48:29] local.INFO: Acknowledgment sent {"connection_id":119250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:48:51] local.INFO: TCP Data received {"connection_id":121115,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 19:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121115,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 19:48:51] local.INFO: Processing buffer {"connection_id":121115,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 19:48:51] local.INFO: IMEI packet received {"connection_id":121115,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 19:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":121115,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:48:56] local.INFO: TCP Data received {"connection_id":121115,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 19:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121115,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 19:48:56] local.INFO: Processing buffer {"connection_id":121115,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 19:48:56] local.INFO: IMEI packet received {"connection_id":121115,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 19:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":121115,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:48:57] local.INFO: TCP Data received {"connection_id":121115,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e0a9d80012d7e3a8005d358a0000000f129..."} 
[2026-07-01 19:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e0a9d80012d7e3a8005d358a0000000f129..."} 
[2026-07-01 19:48:57] local.INFO: Processing buffer {"connection_id":121115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e0a9d80012d7e3a8005d358a0000000f129..."} 
[2026-07-01 19:48:57] local.INFO: Packet analysis {"connection_id":121115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e0a"} 
[2026-07-01 19:48:57] local.INFO: Extracted packet for processing {"connection_id":121115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e0a"} 
[2026-07-01 19:48:57] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736864,"longitude_deg":76.3247232,"latitude_deg":9.7736864,"altitude":0,"angle":241,"satellites":41,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d358a0","is_valid_coordinates":true} 
[2026-07-01 19:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:48:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426275328001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:48:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101463199299141632,"note":"Value kept but may cause issues"} 
[2026-07-01 19:48:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096075003658029056,"note":"Value kept but may cause issues"} 
[2026-07-01 19:48:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 19:48:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782915440000,"timestamp_ms":1782915440000,"timestamp_seconds":1782915440,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e0a9d80"} 
[2026-07-01 19:48:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:48:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9216,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-01 19:48:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:48:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:48:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:48:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:48:57] local.INFO: Teltonika packet parsed successfully {"connection_id":121115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:48:57] local.INFO: Passing IMEI to GPS processor {"connection_id":121115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 19:48:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":121115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 19:48:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:48:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 19:48:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 19:48:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426275328001,"66":12613,"109":206,"85":15104,"24":0,"16":101463199299141632,"45":9096075003658029056},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-01 19:48:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 19:48:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 19:48:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426275328001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:48:57] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-01 19:48:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 19:48:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101463199299141632,"km_value":101463199299141.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:48:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096075003658029056,"description":"Unknown IO ID 45"} 
[2026-07-01 19:48:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426275328001,"power":12613,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096075003658029056}} 
[2026-07-01 19:48:57] local.INFO: DEBUG: GPS processor result {"connection_id":121115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418393,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:48:57] local.INFO: GPS data processed {"connection_id":121115,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:48:57] local.INFO: Acknowledgment sent {"connection_id":121115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:48:58] local.INFO: TCP Data received {"connection_id":120051,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e071728012cb29ac007823d880047002022..."} 
[2026-07-01 19:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e071728012cb29ac007823d880047002022..."} 
[2026-07-01 19:48:58] local.INFO: Processing buffer {"connection_id":120051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e071728012cb29ac007823d880047002022..."} 
[2026-07-01 19:48:58] local.INFO: Packet analysis {"connection_id":120051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e07"} 
[2026-07-01 19:48:58] local.INFO: Extracted packet for processing {"connection_id":120051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e07"} 
[2026-07-01 19:48:58] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":34,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 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-01 19:48:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426216448001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:48:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:48:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:48:58] 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-01 19:48:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782915209000,"timestamp_ms":1782915209000,"timestamp_seconds":1782915209,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e071728"} 
[2026-07-01 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-01 19:48:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-07-01 19:48:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 19:48:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:48:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:48:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:48:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:48:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:48:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:48:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:48:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426216448001,"66":25375,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:48:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:48:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:48:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426216448001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:48:58] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:48:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:48:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:48:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:48:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426216448001,"power":25375,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:48:58] local.INFO: DEBUG: GPS processor result {"connection_id":120051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:48:58] local.INFO: GPS data processed {"connection_id":120051,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:48:58] local.INFO: Acknowledgment sent {"connection_id":120051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:49:19] local.INFO: TCP Data received {"connection_id":119251,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:49:19] local.INFO: Processing buffer {"connection_id":119251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:49:19] local.INFO: IMEI packet received {"connection_id":119251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 19:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":119251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:49:25] local.INFO: TCP Data received {"connection_id":119251,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:49:25] local.INFO: Processing buffer {"connection_id":119251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:49:25] local.INFO: IMEI packet received {"connection_id":119251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 19:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":119251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:49:25] local.INFO: TCP Data received {"connection_id":119251,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e0baef0012cb29ac007823d880047002025..."} 
[2026-07-01 19:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e0baef0012cb29ac007823d880047002025..."} 
[2026-07-01 19:49:25] local.INFO: Processing buffer {"connection_id":119251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e0baef0012cb29ac007823d880047002025..."} 
[2026-07-01 19:49:25] local.INFO: Packet analysis {"connection_id":119251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e0b"} 
[2026-07-01 19:49:25] local.INFO: Extracted packet for processing {"connection_id":119251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e0b"} 
[2026-07-01 19:49:25] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19: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-01 19:49:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426293504001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:49:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:49:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:49:25] 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-01 19:49:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782915510000,"timestamp_ms":1782915510000,"timestamp_seconds":1782915510,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e0baef0"} 
[2026-07-01 19: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-01 19:49:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-01 19:49:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19: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-01 19: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-01 19:49:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:49:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:49:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:49:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:49:25] 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-01 19:49:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:49:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:49:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426293504001,"66":25343,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:49:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:49:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:49:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426293504001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:49:25] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:49:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:49:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:49:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:49:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426293504001,"power":25343,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":119251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:49:25] local.INFO: GPS data processed {"connection_id":119251,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:49:25] local.INFO: Acknowledgment sent {"connection_id":119251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:49:28] local.INFO: TCP Data received {"connection_id":121115,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e0a9d80012d7e3a8005d358a0000000f129..."} 
[2026-07-01 19:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e0a9d80012d7e3a8005d358a0000000f129..."} 
[2026-07-01 19:49:28] local.INFO: Processing buffer {"connection_id":121115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e0a9d80012d7e3a8005d358a0000000f129..."} 
[2026-07-01 19:49:28] local.INFO: Packet analysis {"connection_id":121115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e0a"} 
[2026-07-01 19:49:28] local.INFO: Extracted packet for processing {"connection_id":121115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e0a"} 
[2026-07-01 19:49:28] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736864,"longitude_deg":76.3247232,"latitude_deg":9.7736864,"altitude":0,"angle":241,"satellites":41,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d358a0","is_valid_coordinates":true} 
[2026-07-01 19: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-01 19:49:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426275328001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:49:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101463199299141632,"note":"Value kept but may cause issues"} 
[2026-07-01 19:49:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096075003658029056,"note":"Value kept but may cause issues"} 
[2026-07-01 19:49:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 19:49:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782915440000,"timestamp_ms":1782915440000,"timestamp_seconds":1782915440,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e0a9d80"} 
[2026-07-01 19: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-01 19:49:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9216,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19: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":44,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-01 19:49:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19: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-01 19: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-01 19:49:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:49:28] local.INFO: Teltonika packet parsed successfully {"connection_id":121115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:49:28] local.INFO: Passing IMEI to GPS processor {"connection_id":121115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 19:49:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":121115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 19:49:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:49:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 19:49:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 19:49:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426275328001,"66":12613,"109":206,"85":15104,"24":0,"16":101463199299141632,"45":9096075003658029056},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-01 19:49:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 19:49:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 19:49:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426275328001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:49:28] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-01 19:49:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 19:49:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101463199299141632,"km_value":101463199299141.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:49:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096075003658029056,"description":"Unknown IO ID 45"} 
[2026-07-01 19:49:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426275328001,"power":12613,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096075003658029056}} 
[2026-07-01 19:49:28] local.INFO: DEBUG: GPS processor result {"connection_id":121115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418396,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:49:28] local.INFO: GPS data processed {"connection_id":121115,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:49:28] local.INFO: Acknowledgment sent {"connection_id":121115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:49:40] local.INFO: TCP Data received {"connection_id":119365,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119365,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:49:40] local.INFO: Processing buffer {"connection_id":119365,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:49:40] local.INFO: IMEI packet received {"connection_id":119365,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 19:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":119365,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:49:51] local.INFO: TCP Data received {"connection_id":119366,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 19:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119366,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 19:49:51] local.INFO: Processing buffer {"connection_id":119366,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 19:49:51] local.INFO: IMEI packet received {"connection_id":119366,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 19:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":119366,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:49:57] local.INFO: TCP Data received {"connection_id":119366,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 19:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119366,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 19:49:57] local.INFO: Processing buffer {"connection_id":119366,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 19:49:57] local.INFO: IMEI packet received {"connection_id":119366,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 19:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":119366,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:49:57] local.INFO: TCP Data received {"connection_id":119251,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e0baef0012cb29ac007823d880047002025..."} 
[2026-07-01 19:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e0baef0012cb29ac007823d880047002025..."} 
[2026-07-01 19:49:57] local.INFO: Processing buffer {"connection_id":119251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e0baef0012cb29ac007823d880047002025..."} 
[2026-07-01 19:49:57] local.INFO: Packet analysis {"connection_id":119251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e0b"} 
[2026-07-01 19:49:57] local.INFO: Extracted packet for processing {"connection_id":119251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e0b"} 
[2026-07-01 19:49:57] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19: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-01 19:49:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426293504001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:49:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:49:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:49:57] 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-01 19:49:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782915510000,"timestamp_ms":1782915510000,"timestamp_seconds":1782915510,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e0baef0"} 
[2026-07-01 19: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-01 19:49:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:49:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-01 19:49:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19: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-01 19: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-01 19:49:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:49:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:49:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:49:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:49:57] 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-01 19:49:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:49:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:49:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426293504001,"66":25343,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:49:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:49:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:49:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426293504001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:49:57] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:49:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:49:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:49:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:49:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426293504001,"power":25343,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:49:57] local.INFO: DEBUG: GPS processor result {"connection_id":119251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:49:57] local.INFO: GPS data processed {"connection_id":119251,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:49:57] local.INFO: Acknowledgment sent {"connection_id":119251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:49:57] local.INFO: TCP Data received {"connection_id":119366,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e0a9d80012d7e3a8005d358a0000000f129..."} 
[2026-07-01 19:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e0a9d80012d7e3a8005d358a0000000f129..."} 
[2026-07-01 19:49:57] local.INFO: Processing buffer {"connection_id":119366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e0a9d80012d7e3a8005d358a0000000f129..."} 
[2026-07-01 19:49:57] local.INFO: Packet analysis {"connection_id":119366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e0a"} 
[2026-07-01 19:49:57] local.INFO: Extracted packet for processing {"connection_id":119366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e0a"} 
[2026-07-01 19:49:57] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736864,"longitude_deg":76.3247232,"latitude_deg":9.7736864,"altitude":0,"angle":241,"satellites":41,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d358a0","is_valid_coordinates":true} 
[2026-07-01 19: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-01 19:49:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426275328001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:49:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101463199299141632,"note":"Value kept but may cause issues"} 
[2026-07-01 19:49:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096075003658029056,"note":"Value kept but may cause issues"} 
[2026-07-01 19:49:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 19:49:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782915440000,"timestamp_ms":1782915440000,"timestamp_seconds":1782915440,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e0a9d80"} 
[2026-07-01 19: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-01 19:49:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9216,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19: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":44,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-01 19:49:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19: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-01 19: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-01 19:49:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:49:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:49:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 19:49:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 19:49:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:49:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 19:49:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 19:49:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426275328001,"66":12613,"109":206,"85":15104,"24":0,"16":101463199299141632,"45":9096075003658029056},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-01 19:49:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 19:49:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 19:49:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426275328001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:49:57] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-01 19:49:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 19:49:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101463199299141632,"km_value":101463199299141.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:49:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096075003658029056,"description":"Unknown IO ID 45"} 
[2026-07-01 19:49:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426275328001,"power":12613,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096075003658029056}} 
[2026-07-01 19:49:57] local.INFO: DEBUG: GPS processor result {"connection_id":119366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418398,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:49:57] local.INFO: GPS data processed {"connection_id":119366,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:49:57] local.INFO: Acknowledgment sent {"connection_id":119366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:50:15] local.INFO: TCP Data received {"connection_id":121116,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121116,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:50:15] local.INFO: Processing buffer {"connection_id":121116,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:50:15] local.INFO: IMEI packet received {"connection_id":121116,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 19:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":121116,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:50:22] local.INFO: TCP Data received {"connection_id":120053,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:50:22] local.INFO: Processing buffer {"connection_id":120053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:50:22] local.INFO: IMEI packet received {"connection_id":120053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 19:50:22] local.INFO: IMEI acknowledgment sent {"connection_id":120053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:50:24] local.INFO: TCP Data received {"connection_id":120053,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:50:24] local.INFO: Processing buffer {"connection_id":120053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:50:24] local.INFO: IMEI packet received {"connection_id":120053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 19:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":120053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:50:25] local.INFO: TCP Data received {"connection_id":120053,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e0baef0012cb29ac007823d880047002025..."} 
[2026-07-01 19:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e0baef0012cb29ac007823d880047002025..."} 
[2026-07-01 19:50:25] local.INFO: Processing buffer {"connection_id":120053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e0baef0012cb29ac007823d880047002025..."} 
[2026-07-01 19:50:25] local.INFO: Packet analysis {"connection_id":120053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e0b"} 
[2026-07-01 19:50:25] local.INFO: Extracted packet for processing {"connection_id":120053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e0b"} 
[2026-07-01 19:50:25] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426293504001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:50:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:50:25] 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-01 19:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782915510000,"timestamp_ms":1782915510000,"timestamp_seconds":1782915510,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e0baef0"} 
[2026-07-01 19:50:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:50:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-01 19:50:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:50:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:50:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":120053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":120053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":120053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:50:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426293504001,"66":25343,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426293504001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:50:25] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:50:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:50:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:50:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426293504001,"power":25343,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":120053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:50:25] local.INFO: GPS data processed {"connection_id":120053,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:50:25] local.INFO: Acknowledgment sent {"connection_id":120053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:50:28] local.INFO: TCP Data received {"connection_id":119366,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e0a9d80012d7e3a8005d358a0000000f129..."} 
[2026-07-01 19:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e0a9d80012d7e3a8005d358a0000000f129..."} 
[2026-07-01 19:50:28] local.INFO: Processing buffer {"connection_id":119366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e0a9d80012d7e3a8005d358a0000000f129..."} 
[2026-07-01 19:50:28] local.INFO: Packet analysis {"connection_id":119366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e0a"} 
[2026-07-01 19:50:28] local.INFO: Extracted packet for processing {"connection_id":119366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e0a"} 
[2026-07-01 19:50:28] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736864,"longitude_deg":76.3247232,"latitude_deg":9.7736864,"altitude":0,"angle":241,"satellites":41,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d358a0","is_valid_coordinates":true} 
[2026-07-01 19:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426275328001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101463199299141632,"note":"Value kept but may cause issues"} 
[2026-07-01 19:50:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096075003658029056,"note":"Value kept but may cause issues"} 
[2026-07-01 19:50:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 19:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782915440000,"timestamp_ms":1782915440000,"timestamp_seconds":1782915440,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e0a9d80"} 
[2026-07-01 19:50:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:50:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9216,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-01 19:50:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:50:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:50:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 19:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 19:50:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 19:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 19:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426275328001,"66":12613,"109":206,"85":15104,"24":0,"16":101463199299141632,"45":9096075003658029056},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-01 19:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 19:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 19:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426275328001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:50:28] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-01 19:50:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 19:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101463199299141632,"km_value":101463199299141.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:50:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096075003658029056,"description":"Unknown IO ID 45"} 
[2026-07-01 19:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426275328001,"power":12613,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096075003658029056}} 
[2026-07-01 19:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":119366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418400,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:50:28] local.INFO: GPS data processed {"connection_id":119366,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:50:28] local.INFO: Acknowledgment sent {"connection_id":119366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:50:33] local.INFO: TCP Data received {"connection_id":120053,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e0baef0012cb29ac007823d880047002025..."} 
[2026-07-01 19:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e0baef0012cb29ac007823d880047002025..."} 
[2026-07-01 19:50:33] local.INFO: Processing buffer {"connection_id":120053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e0baef0012cb29ac007823d880047002025..."} 
[2026-07-01 19:50:33] local.INFO: Packet analysis {"connection_id":120053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e0b"} 
[2026-07-01 19:50:33] local.INFO: Extracted packet for processing {"connection_id":120053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e0b"} 
[2026-07-01 19:50:33] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426293504001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:50:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:50:33] 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-01 19:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782915510000,"timestamp_ms":1782915510000,"timestamp_seconds":1782915510,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e0baef0"} 
[2026-07-01 19:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:50:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-01 19:50:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:50:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":120053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":120053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":120053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:50:33] 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-01 19:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426293504001,"66":25343,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426293504001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:50:33] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:50:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:50:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426293504001,"power":25343,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":120053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:50:33] local.INFO: GPS data processed {"connection_id":120053,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:50:33] local.INFO: Acknowledgment sent {"connection_id":120053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:50:56] local.INFO: TCP Data received {"connection_id":119252,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 19:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119252,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 19:50:56] local.INFO: Processing buffer {"connection_id":119252,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 19:50:56] local.INFO: IMEI packet received {"connection_id":119252,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 19:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":119252,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:51:01] local.INFO: TCP Data received {"connection_id":119252,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 19:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119252,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 19:51:01] local.INFO: Processing buffer {"connection_id":119252,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 19:51:01] local.INFO: IMEI packet received {"connection_id":119252,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 19:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":119252,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:51:02] local.INFO: TCP Data received {"connection_id":119252,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e0a9d80012d7e3a8005d358a0000000f129..."} 
[2026-07-01 19:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e0a9d80012d7e3a8005d358a0000000f129..."} 
[2026-07-01 19:51:02] local.INFO: Processing buffer {"connection_id":119252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e0a9d80012d7e3a8005d358a0000000f129..."} 
[2026-07-01 19:51:02] local.INFO: Packet analysis {"connection_id":119252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e0a"} 
[2026-07-01 19:51:02] local.INFO: Extracted packet for processing {"connection_id":119252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e0a"} 
[2026-07-01 19:51:02] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736864,"longitude_deg":76.3247232,"latitude_deg":9.7736864,"altitude":0,"angle":241,"satellites":41,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d358a0","is_valid_coordinates":true} 
[2026-07-01 19:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426275328001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101463199299141632,"note":"Value kept but may cause issues"} 
[2026-07-01 19:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096075003658029056,"note":"Value kept but may cause issues"} 
[2026-07-01 19:51:02] 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-01 19:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782915440000,"timestamp_ms":1782915440000,"timestamp_seconds":1782915440,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e0a9d80"} 
[2026-07-01 19:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:51:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9216,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-01 19:51:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:51:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":119252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":119252,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 19:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":119252,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 19:51:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 19:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 19:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426275328001,"66":12613,"109":206,"85":15104,"24":0,"16":101463199299141632,"45":9096075003658029056},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-01 19:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 19:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 19:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426275328001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:51:02] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-01 19:51:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 19:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101463199299141632,"km_value":101463199299141.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096075003658029056,"description":"Unknown IO ID 45"} 
[2026-07-01 19:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426275328001,"power":12613,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096075003658029056}} 
[2026-07-01 19:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":119252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418402,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:51:02] local.INFO: GPS data processed {"connection_id":119252,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:51:02] local.INFO: Acknowledgment sent {"connection_id":119252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:51:04] local.INFO: TCP Data received {"connection_id":120053,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e0baef0012cb29ac007823d880047002025..."} 
[2026-07-01 19:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e0baef0012cb29ac007823d880047002025..."} 
[2026-07-01 19:51:04] local.INFO: Processing buffer {"connection_id":120053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e0baef0012cb29ac007823d880047002025..."} 
[2026-07-01 19:51:04] local.INFO: Packet analysis {"connection_id":120053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e0b"} 
[2026-07-01 19:51:04] local.INFO: Extracted packet for processing {"connection_id":120053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e0b"} 
[2026-07-01 19:51:04] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426293504001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:51:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:51:04] 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-01 19:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782915510000,"timestamp_ms":1782915510000,"timestamp_seconds":1782915510,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e0baef0"} 
[2026-07-01 19:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:51:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-01 19:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:51:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":120053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":120053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":120053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:51:04] 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-01 19:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426293504001,"66":25343,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426293504001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:51:04] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:51:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:51:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426293504001,"power":25343,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":120053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:51:04] local.INFO: GPS data processed {"connection_id":120053,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:51:04] local.INFO: Acknowledgment sent {"connection_id":120053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:51:07] local.INFO: TCP Data received {"connection_id":119252,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e0a9d80012d7e3a8005d358a0000000f129..."} 
[2026-07-01 19:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e0a9d80012d7e3a8005d358a0000000f129..."} 
[2026-07-01 19:51:07] local.INFO: Processing buffer {"connection_id":119252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e0a9d80012d7e3a8005d358a0000000f129..."} 
[2026-07-01 19:51:07] local.INFO: Packet analysis {"connection_id":119252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e0a"} 
[2026-07-01 19:51:07] local.INFO: Extracted packet for processing {"connection_id":119252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e0a"} 
[2026-07-01 19:51:07] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736864,"longitude_deg":76.3247232,"latitude_deg":9.7736864,"altitude":0,"angle":241,"satellites":41,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d358a0","is_valid_coordinates":true} 
[2026-07-01 19:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426275328001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101463199299141632,"note":"Value kept but may cause issues"} 
[2026-07-01 19:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096075003658029056,"note":"Value kept but may cause issues"} 
[2026-07-01 19:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 19:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782915440000,"timestamp_ms":1782915440000,"timestamp_seconds":1782915440,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e0a9d80"} 
[2026-07-01 19:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9216,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-01 19:51:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:51:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":119252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":119252,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 19:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":119252,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 19:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 19:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 19:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426275328001,"66":12613,"109":206,"85":15104,"24":0,"16":101463199299141632,"45":9096075003658029056},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-01 19:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 19:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 19:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426275328001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:51:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-01 19:51:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 19:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101463199299141632,"km_value":101463199299141.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096075003658029056,"description":"Unknown IO ID 45"} 
[2026-07-01 19:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426275328001,"power":12613,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096075003658029056}} 
[2026-07-01 19:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":119252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418404,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:51:07] local.INFO: GPS data processed {"connection_id":119252,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:51:07] local.INFO: Acknowledgment sent {"connection_id":119252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:51:20] local.INFO: TCP Data received {"connection_id":119253,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:51:20] local.INFO: Processing buffer {"connection_id":119253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:51:20] local.INFO: IMEI packet received {"connection_id":119253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 19:51:20] local.INFO: IMEI acknowledgment sent {"connection_id":119253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:51:25] local.INFO: TCP Data received {"connection_id":119253,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:51:25] local.INFO: Processing buffer {"connection_id":119253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:51:25] local.INFO: IMEI packet received {"connection_id":119253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 19:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":119253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:51:26] local.INFO: TCP Data received {"connection_id":119253,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e0baef0012cb29ac007823d880047002025..."} 
[2026-07-01 19:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e0baef0012cb29ac007823d880047002025..."} 
[2026-07-01 19:51:26] local.INFO: Processing buffer {"connection_id":119253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e0baef0012cb29ac007823d880047002025..."} 
[2026-07-01 19:51:26] local.INFO: Packet analysis {"connection_id":119253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e0b"} 
[2026-07-01 19:51:26] local.INFO: Extracted packet for processing {"connection_id":119253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e0b"} 
[2026-07-01 19:51:26] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426293504001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:51:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:51:26] 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-01 19:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782915510000,"timestamp_ms":1782915510000,"timestamp_seconds":1782915510,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e0baef0"} 
[2026-07-01 19:51:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:51:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-01 19:51:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:51:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:51:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:51:26] 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-01 19:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426293504001,"66":25343,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426293504001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:51:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:51:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:51:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426293504001,"power":25343,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":119253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:51:26] local.INFO: GPS data processed {"connection_id":119253,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:51:26] local.INFO: Acknowledgment sent {"connection_id":119253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:51:51] local.INFO: TCP Data received {"connection_id":120055,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 19:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120055,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 19:51:51] local.INFO: Processing buffer {"connection_id":120055,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 19:51:51] local.INFO: IMEI packet received {"connection_id":120055,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 19:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":120055,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:51:56] local.INFO: TCP Data received {"connection_id":120055,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 19:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120055,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 19:51:56] local.INFO: Processing buffer {"connection_id":120055,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 19:51:56] local.INFO: IMEI packet received {"connection_id":120055,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 19:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":120055,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:51:57] local.INFO: TCP Data received {"connection_id":120055,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e0a9d80012d7e3a8005d358a0000000f129..."} 
[2026-07-01 19:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e0a9d80012d7e3a8005d358a0000000f129..."} 
[2026-07-01 19:51:57] local.INFO: Processing buffer {"connection_id":120055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e0a9d80012d7e3a8005d358a0000000f129..."} 
[2026-07-01 19:51:57] local.INFO: Packet analysis {"connection_id":120055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e0a"} 
[2026-07-01 19:51:57] local.INFO: Extracted packet for processing {"connection_id":120055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e0a"} 
[2026-07-01 19:51:57] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97736864,"longitude_deg":76.3247232,"latitude_deg":9.7736864,"altitude":0,"angle":241,"satellites":41,"speed":0,"hex_longitude":"2d7e3a80","hex_latitude":"05d358a0","is_valid_coordinates":true} 
[2026-07-01 19:51:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:51:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426275328001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:51:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101463199299141632,"note":"Value kept but may cause issues"} 
[2026-07-01 19:51:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096075003658029056,"note":"Value kept but may cause issues"} 
[2026-07-01 19:51:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 19:51:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782915440000,"timestamp_ms":1782915440000,"timestamp_seconds":1782915440,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e0a9d80"} 
[2026-07-01 19:51:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:51:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9216,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:51:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-01 19:51:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:51:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:51:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:51:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:51:57] local.INFO: Teltonika packet parsed successfully {"connection_id":120055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:51:57] local.INFO: Passing IMEI to GPS processor {"connection_id":120055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 19:51:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":120055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 19:51:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:51:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 19:51:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 19:51:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426275328001,"66":12613,"109":206,"85":15104,"24":0,"16":101463199299141632,"45":9096075003658029056},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-07-01 19:51:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 19:51:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 19:51:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426275328001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:51:57] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-01 19:51:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 19:51:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101463199299141632,"km_value":101463199299141.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:51:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096075003658029056,"description":"Unknown IO ID 45"} 
[2026-07-01 19:51:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426275328001,"power":12613,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9096075003658029056}} 
[2026-07-01 19:51:57] local.INFO: DEBUG: GPS processor result {"connection_id":120055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418406,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:51:57] local.INFO: GPS data processed {"connection_id":120055,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:51:57] local.INFO: Acknowledgment sent {"connection_id":120055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:51:59] local.INFO: TCP Data received {"connection_id":119253,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e0baef0012cb29ac007823d880047002025..."} 
[2026-07-01 19:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e0baef0012cb29ac007823d880047002025..."} 
[2026-07-01 19:51:59] local.INFO: Processing buffer {"connection_id":119253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e0baef0012cb29ac007823d880047002025..."} 
[2026-07-01 19:51:59] local.INFO: Packet analysis {"connection_id":119253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e0b"} 
[2026-07-01 19:51:59] local.INFO: Extracted packet for processing {"connection_id":119253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e0b"} 
[2026-07-01 19:51:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426293504001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:51:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:51:59] 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-01 19:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782915510000,"timestamp_ms":1782915510000,"timestamp_seconds":1782915510,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e0baef0"} 
[2026-07-01 19:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:51:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-01 19:51:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:51:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:51:59] 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-01 19:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426293504001,"66":25343,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426293504001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:51:59] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:51:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:51:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426293504001,"power":25343,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":119253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:51:59] local.INFO: GPS data processed {"connection_id":119253,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:51:59] local.INFO: Acknowledgment sent {"connection_id":119253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:52:19] local.INFO: TCP Data received {"connection_id":119368,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:52:19] local.INFO: Processing buffer {"connection_id":119368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:52:19] local.INFO: IMEI packet received {"connection_id":119368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 19:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":119368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:52:25] local.INFO: TCP Data received {"connection_id":119368,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:52:25] local.INFO: Processing buffer {"connection_id":119368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:52:25] local.INFO: IMEI packet received {"connection_id":119368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 19:52:25] local.INFO: IMEI acknowledgment sent {"connection_id":119368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:52:26] local.INFO: TCP Data received {"connection_id":119368,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e0baef0012cb29ac007823d880047002025..."} 
[2026-07-01 19:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e0baef0012cb29ac007823d880047002025..."} 
[2026-07-01 19:52:26] local.INFO: Processing buffer {"connection_id":119368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e0baef0012cb29ac007823d880047002025..."} 
[2026-07-01 19:52:26] local.INFO: Packet analysis {"connection_id":119368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e0b"} 
[2026-07-01 19:52:26] local.INFO: Extracted packet for processing {"connection_id":119368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e0b"} 
[2026-07-01 19:52:26] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:52: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-01 19:52:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426293504001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:52:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:52:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:52:26] 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-01 19:52:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782915510000,"timestamp_ms":1782915510000,"timestamp_seconds":1782915510,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e0baef0"} 
[2026-07-01 19:52:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:52:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-01 19:52:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:52:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:52:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:52:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:52:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:52:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:52:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:52:26] 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-01 19:52:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:52:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:52:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426293504001,"66":25343,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:52:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:52:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:52:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426293504001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:52:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:52:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:52:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:52:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:52:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426293504001,"power":25343,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:52:26] local.INFO: DEBUG: GPS processor result {"connection_id":119368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:52:26] local.INFO: GPS data processed {"connection_id":119368,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:52:26] local.INFO: Acknowledgment sent {"connection_id":119368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:52:57] local.INFO: TCP Data received {"connection_id":119368,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e0baef0012cb29ac007823d880047002025..."} 
[2026-07-01 19:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e0baef0012cb29ac007823d880047002025..."} 
[2026-07-01 19:52:57] local.INFO: Processing buffer {"connection_id":119368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e0baef0012cb29ac007823d880047002025..."} 
[2026-07-01 19:52:57] local.INFO: Packet analysis {"connection_id":119368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e0b"} 
[2026-07-01 19:52:57] local.INFO: Extracted packet for processing {"connection_id":119368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e0b"} 
[2026-07-01 19:52:57] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19: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-01 19:52:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426293504001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:52:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:52:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:52:57] 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-01 19:52:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782915510000,"timestamp_ms":1782915510000,"timestamp_seconds":1782915510,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e0baef0"} 
[2026-07-01 19: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-01 19:52:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-01 19:52:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19: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-01 19: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-01 19:52:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:52:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:52:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:52:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:52:57] 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-01 19:52:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:52:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:52:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426293504001,"66":25343,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:52:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:52:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:52:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426293504001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:52:57] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:52:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:52:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:52:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:52:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426293504001,"power":25343,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:52:57] local.INFO: DEBUG: GPS processor result {"connection_id":119368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:52:57] local.INFO: GPS data processed {"connection_id":119368,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:52:57] local.INFO: Acknowledgment sent {"connection_id":119368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:53:19] local.INFO: TCP Data received {"connection_id":121117,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:53:19] local.INFO: Processing buffer {"connection_id":121117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:53:19] local.INFO: IMEI packet received {"connection_id":121117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 19:53:19] local.INFO: IMEI acknowledgment sent {"connection_id":121117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:53:25] local.INFO: TCP Data received {"connection_id":121117,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:53:25] local.INFO: Processing buffer {"connection_id":121117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:53:25] local.INFO: IMEI packet received {"connection_id":121117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 19:53:25] local.INFO: IMEI acknowledgment sent {"connection_id":121117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:53:26] local.INFO: TCP Data received {"connection_id":121117,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e0baef0012cb29ac007823d880047002025..."} 
[2026-07-01 19:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e0baef0012cb29ac007823d880047002025..."} 
[2026-07-01 19:53:26] local.INFO: Processing buffer {"connection_id":121117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e0baef0012cb29ac007823d880047002025..."} 
[2026-07-01 19:53:26] local.INFO: Packet analysis {"connection_id":121117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e0b"} 
[2026-07-01 19:53:26] local.INFO: Extracted packet for processing {"connection_id":121117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e0b"} 
[2026-07-01 19:53:26] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426293504001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:53:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:53:26] 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-01 19:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782915510000,"timestamp_ms":1782915510000,"timestamp_seconds":1782915510,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e0baef0"} 
[2026-07-01 19:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:53:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-01 19:53:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:53:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":121117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":121117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":121117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:53:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426293504001,"66":25343,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426293504001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:53:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:53:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:53:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426293504001,"power":25343,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":121117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:53:26] local.INFO: GPS data processed {"connection_id":121117,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:53:26] local.INFO: Acknowledgment sent {"connection_id":121117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:53:59] local.INFO: TCP Data received {"connection_id":121117,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e0baef0012cb29ac007823d880047002025..."} 
[2026-07-01 19:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e0baef0012cb29ac007823d880047002025..."} 
[2026-07-01 19:53:59] local.INFO: Processing buffer {"connection_id":121117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e0baef0012cb29ac007823d880047002025..."} 
[2026-07-01 19:53:59] local.INFO: Packet analysis {"connection_id":121117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e0b"} 
[2026-07-01 19:53:59] local.INFO: Extracted packet for processing {"connection_id":121117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e0b"} 
[2026-07-01 19:53:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:53:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426293504001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:53:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:53:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:53:59] 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-01 19:53:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782915510000,"timestamp_ms":1782915510000,"timestamp_seconds":1782915510,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e0baef0"} 
[2026-07-01 19:53:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:53:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-01 19:53:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:53:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:53:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:53:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:53:59] local.INFO: Teltonika packet parsed successfully {"connection_id":121117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:53:59] local.INFO: Passing IMEI to GPS processor {"connection_id":121117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:53:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":121117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:53:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:53:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:53:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:53:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426293504001,"66":25343,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:53:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:53:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:53:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426293504001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:53:59] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:53:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:53:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:53:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:53:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426293504001,"power":25343,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:53:59] local.INFO: DEBUG: GPS processor result {"connection_id":121117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:53:59] local.INFO: GPS data processed {"connection_id":121117,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:53:59] local.INFO: Acknowledgment sent {"connection_id":121117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:54:25] local.INFO: TCP Data received {"connection_id":119254,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:54:25] local.INFO: Processing buffer {"connection_id":119254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:54:25] local.INFO: IMEI packet received {"connection_id":119254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 19:54:25] local.INFO: IMEI acknowledgment sent {"connection_id":119254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:54:30] local.INFO: TCP Data received {"connection_id":119254,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:54:30] local.INFO: Processing buffer {"connection_id":119254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:54:30] local.INFO: IMEI packet received {"connection_id":119254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 19:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":119254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:54:32] local.INFO: TCP Data received {"connection_id":119254,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e1046b8012cb29ac007823d880047002025..."} 
[2026-07-01 19:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e1046b8012cb29ac007823d880047002025..."} 
[2026-07-01 19:54:32] local.INFO: Processing buffer {"connection_id":119254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e1046b8012cb29ac007823d880047002025..."} 
[2026-07-01 19:54:32] local.INFO: Packet analysis {"connection_id":119254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e10"} 
[2026-07-01 19:54:32] local.INFO: Extracted packet for processing {"connection_id":119254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e10"} 
[2026-07-01 19:54:32] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426370560001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:54:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:54:32] 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-01 19:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782915811000,"timestamp_ms":1782915811000,"timestamp_seconds":1782915811,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e1046b8"} 
[2026-07-01 19:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:54:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 19:54:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:54:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":119254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":119254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":119254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:54:32] 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-01 19:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426370560001,"66":25419,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426370560001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:54:32] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:54:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:54:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426370560001,"power":25419,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":119254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:54:32] local.INFO: GPS data processed {"connection_id":119254,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:54:32] local.INFO: Acknowledgment sent {"connection_id":119254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:54:35] local.INFO: TCP Data received {"connection_id":119254,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e1046b8012cb29ac007823d880047002025..."} 
[2026-07-01 19:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e1046b8012cb29ac007823d880047002025..."} 
[2026-07-01 19:54:35] local.INFO: Processing buffer {"connection_id":119254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e1046b8012cb29ac007823d880047002025..."} 
[2026-07-01 19:54:35] local.INFO: Packet analysis {"connection_id":119254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e10"} 
[2026-07-01 19:54:35] local.INFO: Extracted packet for processing {"connection_id":119254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e10"} 
[2026-07-01 19:54:35] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19: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-01 19:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426370560001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:54:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:54:35] 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-01 19:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782915811000,"timestamp_ms":1782915811000,"timestamp_seconds":1782915811,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e1046b8"} 
[2026-07-01 19: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-01 19:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 19:54:35] 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-01 19: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-01 19: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-01 19:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":119254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":119254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":119254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:54:35] 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-01 19:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426370560001,"66":25419,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426370560001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:54:35] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:54:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:54:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426370560001,"power":25419,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":119254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:54:35] local.INFO: GPS data processed {"connection_id":119254,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:54:35] local.INFO: Acknowledgment sent {"connection_id":119254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:55:19] local.INFO: TCP Data received {"connection_id":121118,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:55:19] local.INFO: Processing buffer {"connection_id":121118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:55:19] local.INFO: IMEI packet received {"connection_id":121118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 19:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":121118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:55:25] local.INFO: TCP Data received {"connection_id":121118,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:55:25] local.INFO: Processing buffer {"connection_id":121118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:55:25] local.INFO: IMEI packet received {"connection_id":121118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 19:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":121118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:55:26] local.INFO: TCP Data received {"connection_id":121118,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e1046b8012cb29ac007823d880047002025..."} 
[2026-07-01 19:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e1046b8012cb29ac007823d880047002025..."} 
[2026-07-01 19:55:26] local.INFO: Processing buffer {"connection_id":121118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e1046b8012cb29ac007823d880047002025..."} 
[2026-07-01 19:55:26] local.INFO: Packet analysis {"connection_id":121118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e10"} 
[2026-07-01 19:55:26] local.INFO: Extracted packet for processing {"connection_id":121118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e10"} 
[2026-07-01 19:55:26] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:55:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426370560001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:55:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:55:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:55:26] 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-01 19:55:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782915811000,"timestamp_ms":1782915811000,"timestamp_seconds":1782915811,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e1046b8"} 
[2026-07-01 19:55:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:55:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 19:55:26] 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-01 19:55:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:55:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:55:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:55:26] local.INFO: Teltonika packet parsed successfully {"connection_id":121118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:55:26] local.INFO: Passing IMEI to GPS processor {"connection_id":121118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:55:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":121118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:55:26] 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-01 19:55:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:55:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:55:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426370560001,"66":25419,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:55:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:55:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:55:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426370560001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:55:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:55:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:55:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:55:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:55:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426370560001,"power":25419,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:55:26] local.INFO: DEBUG: GPS processor result {"connection_id":121118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:55:26] local.INFO: GPS data processed {"connection_id":121118,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:55:26] local.INFO: Acknowledgment sent {"connection_id":121118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:55:30] local.INFO: TCP Data received {"connection_id":119255,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119255,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:55:30] local.INFO: Processing buffer {"connection_id":119255,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 19:55:30] local.INFO: IMEI packet received {"connection_id":119255,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 19:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":119255,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:55:59] local.INFO: TCP Data received {"connection_id":121118,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e1046b8012cb29ac007823d880047002025..."} 
[2026-07-01 19:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e1046b8012cb29ac007823d880047002025..."} 
[2026-07-01 19:55:59] local.INFO: Processing buffer {"connection_id":121118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e1046b8012cb29ac007823d880047002025..."} 
[2026-07-01 19:55:59] local.INFO: Packet analysis {"connection_id":121118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e10"} 
[2026-07-01 19:55:59] local.INFO: Extracted packet for processing {"connection_id":121118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e10"} 
[2026-07-01 19:55:59] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426370560001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:55:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:55:59] 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-01 19:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782915811000,"timestamp_ms":1782915811000,"timestamp_seconds":1782915811,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e1046b8"} 
[2026-07-01 19:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:55:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 19:55:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:55:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":121118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":121118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":121118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:55:59] 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-01 19:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426370560001,"66":25419,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426370560001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:55:59] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:55:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:55:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426370560001,"power":25419,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":121118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:55:59] local.INFO: GPS data processed {"connection_id":121118,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:55:59] local.INFO: Acknowledgment sent {"connection_id":121118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:56:19] local.INFO: TCP Data received {"connection_id":119371,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:56:19] local.INFO: Processing buffer {"connection_id":119371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:56:19] local.INFO: IMEI packet received {"connection_id":119371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 19:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":119371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:56:25] local.INFO: TCP Data received {"connection_id":119371,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:56:25] local.INFO: Processing buffer {"connection_id":119371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:56:25] local.INFO: IMEI packet received {"connection_id":119371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 19:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":119371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:56:26] local.INFO: TCP Data received {"connection_id":119371,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e1046b8012cb29ac007823d880047002025..."} 
[2026-07-01 19:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e1046b8012cb29ac007823d880047002025..."} 
[2026-07-01 19:56:26] local.INFO: Processing buffer {"connection_id":119371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e1046b8012cb29ac007823d880047002025..."} 
[2026-07-01 19:56:26] local.INFO: Packet analysis {"connection_id":119371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e10"} 
[2026-07-01 19:56:26] local.INFO: Extracted packet for processing {"connection_id":119371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e10"} 
[2026-07-01 19:56:26] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:56:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426370560001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:56:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:56:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:56:26] 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-01 19:56:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782915811000,"timestamp_ms":1782915811000,"timestamp_seconds":1782915811,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e1046b8"} 
[2026-07-01 19:56:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:56:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 19:56:26] 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-01 19:56:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:56:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:56:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:56:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:56:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:56:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:56:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:56:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:56:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:56:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426370560001,"66":25419,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:56:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:56:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:56:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426370560001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:56:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:56:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:56:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:56:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:56:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426370560001,"power":25419,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:56:26] local.INFO: DEBUG: GPS processor result {"connection_id":119371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:56:26] local.INFO: GPS data processed {"connection_id":119371,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:56:26] local.INFO: Acknowledgment sent {"connection_id":119371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:56:57] local.INFO: TCP Data received {"connection_id":119371,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e1046b8012cb29ac007823d880047002025..."} 
[2026-07-01 19:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e1046b8012cb29ac007823d880047002025..."} 
[2026-07-01 19:56:57] local.INFO: Processing buffer {"connection_id":119371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e1046b8012cb29ac007823d880047002025..."} 
[2026-07-01 19:56:57] local.INFO: Packet analysis {"connection_id":119371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e10"} 
[2026-07-01 19:56:57] local.INFO: Extracted packet for processing {"connection_id":119371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e10"} 
[2026-07-01 19:56:57] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19: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-01 19:56:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426370560001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:56:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:56:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:56:57] 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-01 19:56:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782915811000,"timestamp_ms":1782915811000,"timestamp_seconds":1782915811,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e1046b8"} 
[2026-07-01 19: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-01 19:56:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 19:56:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19: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-01 19: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-01 19:56:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:56:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:56:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:56:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:56:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:56:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:56:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:56:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426370560001,"66":25419,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:56:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:56:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:56:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426370560001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:56:57] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:56:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:56:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:56:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:56:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426370560001,"power":25419,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:56:57] local.INFO: DEBUG: GPS processor result {"connection_id":119371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:56:57] local.INFO: GPS data processed {"connection_id":119371,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:56:57] local.INFO: Acknowledgment sent {"connection_id":119371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:57:19] local.INFO: TCP Data received {"connection_id":120057,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:57:19] local.INFO: Processing buffer {"connection_id":120057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:57:19] local.INFO: IMEI packet received {"connection_id":120057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 19:57:19] local.INFO: IMEI acknowledgment sent {"connection_id":120057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:57:24] local.INFO: TCP Data received {"connection_id":120057,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:57:24] local.INFO: Processing buffer {"connection_id":120057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:57:24] local.INFO: IMEI packet received {"connection_id":120057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 19:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":120057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:57:25] local.INFO: TCP Data received {"connection_id":120057,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e1046b8012cb29ac007823d880047002025..."} 
[2026-07-01 19:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e1046b8012cb29ac007823d880047002025..."} 
[2026-07-01 19:57:25] local.INFO: Processing buffer {"connection_id":120057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e1046b8012cb29ac007823d880047002025..."} 
[2026-07-01 19:57:25] local.INFO: Packet analysis {"connection_id":120057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e10"} 
[2026-07-01 19:57:25] local.INFO: Extracted packet for processing {"connection_id":120057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e10"} 
[2026-07-01 19:57:25] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426370560001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:57:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:57:25] 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-01 19:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782915811000,"timestamp_ms":1782915811000,"timestamp_seconds":1782915811,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e1046b8"} 
[2026-07-01 19:57:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:57:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 19:57:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:57:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:57:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":120057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":120057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":120057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:57:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426370560001,"66":25419,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426370560001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:57:25] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:57:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:57:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426370560001,"power":25419,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":120057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:57:25] local.INFO: GPS data processed {"connection_id":120057,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:57:25] local.INFO: Acknowledgment sent {"connection_id":120057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:57:56] local.INFO: TCP Data received {"connection_id":120057,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e1046b8012cb29ac007823d880047002025..."} 
[2026-07-01 19:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e1046b8012cb29ac007823d880047002025..."} 
[2026-07-01 19:57:56] local.INFO: Processing buffer {"connection_id":120057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e1046b8012cb29ac007823d880047002025..."} 
[2026-07-01 19:57:56] local.INFO: Packet analysis {"connection_id":120057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e10"} 
[2026-07-01 19:57:56] local.INFO: Extracted packet for processing {"connection_id":120057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e10"} 
[2026-07-01 19:57:56] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426370560001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:57:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:57:56] 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-01 19:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782915811000,"timestamp_ms":1782915811000,"timestamp_seconds":1782915811,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e1046b8"} 
[2026-07-01 19:57:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:57:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 19:57:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:57:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:57:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":120057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":120057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":120057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:57:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426370560001,"66":25419,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426370560001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:57:56] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:57:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:57:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426370560001,"power":25419,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":120057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:57:56] local.INFO: GPS data processed {"connection_id":120057,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:57:56] local.INFO: Acknowledgment sent {"connection_id":120057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:58:19] local.INFO: TCP Data received {"connection_id":120058,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:58:19] local.INFO: Processing buffer {"connection_id":120058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:58:19] local.INFO: IMEI packet received {"connection_id":120058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 19:58:19] local.INFO: IMEI acknowledgment sent {"connection_id":120058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:58:24] local.INFO: TCP Data received {"connection_id":120058,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:58:24] local.INFO: Processing buffer {"connection_id":120058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:58:24] local.INFO: IMEI packet received {"connection_id":120058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 19:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":120058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:58:25] local.INFO: TCP Data received {"connection_id":120058,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e1046b8012cb29ac007823d880047002025..."} 
[2026-07-01 19:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e1046b8012cb29ac007823d880047002025..."} 
[2026-07-01 19:58:25] local.INFO: Processing buffer {"connection_id":120058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e1046b8012cb29ac007823d880047002025..."} 
[2026-07-01 19:58:25] local.INFO: Packet analysis {"connection_id":120058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e10"} 
[2026-07-01 19:58:25] local.INFO: Extracted packet for processing {"connection_id":120058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e10"} 
[2026-07-01 19:58:25] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:58:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:58:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426370560001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:58:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:58:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:58:25] 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-01 19:58:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782915811000,"timestamp_ms":1782915811000,"timestamp_seconds":1782915811,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e1046b8"} 
[2026-07-01 19:58:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:58:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:58:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 19:58:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:58:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:58:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:58:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:58:25] local.INFO: Teltonika packet parsed successfully {"connection_id":120058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:58:25] local.INFO: Passing IMEI to GPS processor {"connection_id":120058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:58:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":120058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:58:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:58:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:58:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:58:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426370560001,"66":25419,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:58:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:58:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:58:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426370560001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:58:25] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:58:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:58:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:58:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:58:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426370560001,"power":25419,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:58:25] local.INFO: DEBUG: GPS processor result {"connection_id":120058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:58:25] local.INFO: GPS data processed {"connection_id":120058,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:58:25] local.INFO: Acknowledgment sent {"connection_id":120058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:58:58] local.INFO: TCP Data received {"connection_id":120058,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e1046b8012cb29ac007823d880047002025..."} 
[2026-07-01 19:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e1046b8012cb29ac007823d880047002025..."} 
[2026-07-01 19:58:58] local.INFO: Processing buffer {"connection_id":120058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e1046b8012cb29ac007823d880047002025..."} 
[2026-07-01 19:58:58] local.INFO: Packet analysis {"connection_id":120058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e10"} 
[2026-07-01 19:58:58] local.INFO: Extracted packet for processing {"connection_id":120058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e10"} 
[2026-07-01 19:58:58] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":37,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 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-01 19:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426370560001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:58:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:58:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:58:58] 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-01 19:58:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782915811000,"timestamp_ms":1782915811000,"timestamp_seconds":1782915811,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e1046b8"} 
[2026-07-01 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-01 19:58:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 19:58:58] 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-01 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-01 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-01 19:58:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:58:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:58:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:58:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:58:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:58:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:58:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:58:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426370560001,"66":25419,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:58:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:58:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:58:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426370560001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:58:58] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:58:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:58:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:58:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:58:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426370560001,"power":25419,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:58:58] local.INFO: DEBUG: GPS processor result {"connection_id":120058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:58:58] local.INFO: GPS data processed {"connection_id":120058,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:58:58] local.INFO: Acknowledgment sent {"connection_id":120058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:59:19] local.INFO: TCP Data received {"connection_id":119374,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:59:19] local.INFO: Processing buffer {"connection_id":119374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:59:19] local.INFO: IMEI packet received {"connection_id":119374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 19:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":119374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 19:59:26] local.INFO: TCP Data received {"connection_id":119374,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:59:27] local.INFO: Processing buffer {"connection_id":119374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 19:59:27] local.INFO: IMEI packet received {"connection_id":119374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 19:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":119374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 19:59:27] local.INFO: TCP Data received {"connection_id":119374,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e14de80012cb29ac007823d880047002027..."} 
[2026-07-01 19:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e14de80012cb29ac007823d880047002027..."} 
[2026-07-01 19:59:27] local.INFO: Processing buffer {"connection_id":119374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e14de80012cb29ac007823d880047002027..."} 
[2026-07-01 19:59:27] local.INFO: Packet analysis {"connection_id":119374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e14"} 
[2026-07-01 19:59:27] local.INFO: Extracted packet for processing {"connection_id":119374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e14"} 
[2026-07-01 19:59:27] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 19:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 19:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426447616001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:59:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:59:27] 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-01 19:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782916112000,"timestamp_ms":1782916112000,"timestamp_seconds":1782916112,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e14de80"} 
[2026-07-01 19:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 19:59:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 19:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-01 19:59:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 19:59:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 19:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 19:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:59:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426447616001,"66":25375,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426447616001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:59:27] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:59:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:59:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426447616001,"power":25375,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":119374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:59:27] local.INFO: GPS data processed {"connection_id":119374,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:59:27] local.INFO: Acknowledgment sent {"connection_id":119374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 19:59:58] local.INFO: TCP Data received {"connection_id":119374,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e14de80012cb29ac007823d880047002027..."} 
[2026-07-01 19:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e14de80012cb29ac007823d880047002027..."} 
[2026-07-01 19:59:58] local.INFO: Processing buffer {"connection_id":119374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e14de80012cb29ac007823d880047002027..."} 
[2026-07-01 19:59:58] local.INFO: Packet analysis {"connection_id":119374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e14"} 
[2026-07-01 19:59:58] local.INFO: Extracted packet for processing {"connection_id":119374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e14"} 
[2026-07-01 19:59:58] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 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-01 19:59:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426447616001,"note":"Value kept but may cause issues"} 
[2026-07-01 19:59:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 19:59:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 19:59:58] 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-01 19:59:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782916112000,"timestamp_ms":1782916112000,"timestamp_seconds":1782916112,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e14de80"} 
[2026-07-01 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-01 19:59:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-01 19:59:58] 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-01 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-01 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-01 19:59:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 19:59:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 19:59:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:59:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 19:59:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 19:59:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 19:59:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 19:59:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426447616001,"66":25375,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 19:59:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 19:59:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 19:59:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426447616001,"description":"Unknown IO ID 0"} 
[2026-07-01 19:59:58] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 19:59:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 19:59:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 19:59:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 19:59:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426447616001,"power":25375,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 19:59:58] local.INFO: DEBUG: GPS processor result {"connection_id":119374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 19:59:58] local.INFO: GPS data processed {"connection_id":119374,"processed":1,"errors":0,"total":1} 
[2026-07-01 19:59:58] local.INFO: Acknowledgment sent {"connection_id":119374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:00:19] local.INFO: TCP Data received {"connection_id":121120,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:00:19] local.INFO: Processing buffer {"connection_id":121120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:00:19] local.INFO: IMEI packet received {"connection_id":121120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 20:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":121120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:00:24] local.INFO: TCP Data received {"connection_id":121120,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:00:24] local.INFO: Processing buffer {"connection_id":121120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:00:24] local.INFO: IMEI packet received {"connection_id":121120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":121120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:00:25] local.INFO: TCP Data received {"connection_id":121120,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e14de80012cb29ac007823d880047002027..."} 
[2026-07-01 20:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e14de80012cb29ac007823d880047002027..."} 
[2026-07-01 20:00:25] local.INFO: Processing buffer {"connection_id":121120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e14de80012cb29ac007823d880047002027..."} 
[2026-07-01 20:00:25] local.INFO: Packet analysis {"connection_id":121120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e14"} 
[2026-07-01 20:00:25] local.INFO: Extracted packet for processing {"connection_id":121120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e14"} 
[2026-07-01 20:00:25] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 20:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:00:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426447616001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:00:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 20:00:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 20:00:25] 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-01 20:00:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782916112000,"timestamp_ms":1782916112000,"timestamp_seconds":1782916112,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e14de80"} 
[2026-07-01 20:00:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:00:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 20:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-01 20:00:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20:00:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:00:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:00:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:00:25] local.INFO: Teltonika packet parsed successfully {"connection_id":121120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:00:25] local.INFO: Passing IMEI to GPS processor {"connection_id":121120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:00:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":121120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:00:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 20:00:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:00:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:00:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426447616001,"66":25375,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 20:00:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:00:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:00:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426447616001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:00:25] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 20:00:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 20:00:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:00:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 20:00:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426447616001,"power":25375,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 20:00:25] local.INFO: DEBUG: GPS processor result {"connection_id":121120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:00:25] local.INFO: GPS data processed {"connection_id":121120,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:00:25] local.INFO: Acknowledgment sent {"connection_id":121120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:00:57] local.INFO: TCP Data received {"connection_id":121119,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121119,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:00:57] local.INFO: Processing buffer {"connection_id":121119,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:00:57] local.INFO: IMEI packet received {"connection_id":121119,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 20:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":121119,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:00:58] local.INFO: TCP Data received {"connection_id":121120,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e14de80012cb29ac007823d880047002027..."} 
[2026-07-01 20:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e14de80012cb29ac007823d880047002027..."} 
[2026-07-01 20:00:58] local.INFO: Processing buffer {"connection_id":121120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e14de80012cb29ac007823d880047002027..."} 
[2026-07-01 20:00:58] local.INFO: Packet analysis {"connection_id":121120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e14"} 
[2026-07-01 20:00:58] local.INFO: Extracted packet for processing {"connection_id":121120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e14"} 
[2026-07-01 20:00:58] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 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-01 20:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426447616001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 20:00:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 20:00:58] 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-01 20:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782916112000,"timestamp_ms":1782916112000,"timestamp_seconds":1782916112,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e14de80"} 
[2026-07-01 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-01 20:00:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-01 20:00:58] 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-01 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-01 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-01 20:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":121120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":121120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":121120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:00:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 20:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426447616001,"66":25375,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 20:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426447616001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:00:58] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 20:00:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 20:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:00:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 20:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426447616001,"power":25375,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 20:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":121120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:00:58] local.INFO: GPS data processed {"connection_id":121120,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:00:58] local.INFO: Acknowledgment sent {"connection_id":121120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:01:15] local.INFO: TCP Data received {"connection_id":119259,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119259,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:01:15] local.INFO: Processing buffer {"connection_id":119259,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:01:15] local.INFO: IMEI packet received {"connection_id":119259,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 20:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":119259,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:01:17] local.INFO: TCP Data received {"connection_id":119258,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 20:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119258,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 20:01:17] local.INFO: Processing buffer {"connection_id":119258,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 20:01:17] local.INFO: IMEI packet received {"connection_id":119258,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 20:01:17] local.INFO: IMEI acknowledgment sent {"connection_id":119258,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:01:17] local.INFO: TCP Data received {"connection_id":119258,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 20:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119258,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 20:01:17] local.INFO: Processing buffer {"connection_id":119258,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 20:01:17] local.INFO: IMEI packet received {"connection_id":119258,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 20:01:17] local.INFO: IMEI acknowledgment sent {"connection_id":119258,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:01:18] local.INFO: TCP Data received {"connection_id":119258,"ip":"42.106.6.43","data_length":812,"data_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019f1e..."} 
[2026-07-01 20:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119258,"packet_length":812,"packet_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019f1e..."} 
[2026-07-01 20:01:18] local.INFO: Processing buffer {"connection_id":119258,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019f1e..."} 
[2026-07-01 20:01:18] local.INFO: IMEI packet received {"connection_id":119258,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 20:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":119258,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:01:19] local.INFO: TCP Data received {"connection_id":119375,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:01:19] local.INFO: Processing buffer {"connection_id":119375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:01:19] local.INFO: IMEI packet received {"connection_id":119375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 20:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":119375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:01:21] local.INFO: TCP Data received {"connection_id":119258,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e170d18012d7e3a8005d359600003011b29..."} 
[2026-07-01 20:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e170d18012d7e3a8005d359600003011b29..."} 
[2026-07-01 20:01:21] local.INFO: Processing buffer {"connection_id":119258,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f1e170930012d7e3b0005d359200003014629..."} 
[2026-07-01 20:01:21] local.INFO: Packet analysis {"connection_id":119258,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f1e17"} 
[2026-07-01 20:01:21] local.INFO: Extracted packet for processing {"connection_id":119258,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e17"} 
[2026-07-01 20:01:21] local.INFO: GPS Element Parsed {"raw_longitude":763247360,"raw_latitude":97736992,"longitude_deg":76.324736,"latitude_deg":9.7736992,"altitude":3,"angle":326,"satellites":41,"speed":3,"hex_longitude":"2d7e3b00","hex_latitude":"05d35920","is_valid_coordinates":true} 
[2026-07-01 20:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426555136001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101463207889076224,"note":"Value kept but may cause issues"} 
[2026-07-01 20:01:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096145372402206720,"note":"Value kept but may cause issues"} 
[2026-07-01 20:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782916254000,"timestamp_ms":1782916254000,"timestamp_seconds":1782916254,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e170930"} 
[2026-07-01 20:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:01:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7936,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 20:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-07-01 20:01:21] 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-01 20:01:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":119258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":119258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 20:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":119258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 20:01:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 20:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 20:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 20:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426555136001,"66":11852,"115":206,"85":15104,"24":3,"16":101463207889076224,"45":9096145372402206720},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-07-01 20:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 20:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 20:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426555136001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:01:21] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-01 20:01:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 20:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101463207889076224,"km_value":101463207889076.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:01:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096145372402206720,"description":"Unknown IO ID 45"} 
[2026-07-01 20:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426555136001,"power":11852,"unknown_115":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":9096145372402206720}} 
[2026-07-01 20:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":119258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418426,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:01:21] local.INFO: GPS data processed {"connection_id":119258,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:01:21] local.INFO: Acknowledgment sent {"connection_id":119258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:01:21] local.INFO: Packet analysis {"connection_id":119258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e17"} 
[2026-07-01 20:01:21] local.INFO: Extracted packet for processing {"connection_id":119258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e17"} 
[2026-07-01 20:01:21] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97737056,"longitude_deg":76.3247232,"latitude_deg":9.7737056,"altitude":3,"angle":283,"satellites":41,"speed":5,"hex_longitude":"2d7e3a80","hex_latitude":"05d35960","is_valid_coordinates":true} 
[2026-07-01 20:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426561024001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101463216479010816,"note":"Value kept but may cause issues"} 
[2026-07-01 20:01:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095863897425518592,"note":"Value kept but may cause issues"} 
[2026-07-01 20:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1782916255000,"timestamp_ms":1782916255000,"timestamp_seconds":1782916255,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e170d18"} 
[2026-07-01 20:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:01:21] 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-01 20:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-07-01 20:01:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20:01:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":119258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":119258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 20:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":119258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 20:01:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 20:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 20:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 20:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426561024001,"66":11852,"115":206,"85":15104,"24":5,"16":101463216479010816,"45":9095863897425518592},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-07-01 20:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 20:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 20:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426561024001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:01:21] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-01 20:01:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 20:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101463216479010816,"km_value":101463216479010.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:01:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095863897425518592,"description":"Unknown IO ID 45"} 
[2026-07-01 20:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426561024001,"power":11852,"unknown_115":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9095863897425518592}} 
[2026-07-01 20:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":119258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418427,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:01:21] local.INFO: GPS data processed {"connection_id":119258,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:01:21] local.INFO: Acknowledgment sent {"connection_id":119258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:01:22] local.INFO: TCP Data received {"connection_id":119258,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e1714e8012d7e394005d35978000201092a..."} 
[2026-07-01 20:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e1714e8012d7e394005d35978000201092a..."} 
[2026-07-01 20:01:22] local.INFO: Processing buffer {"connection_id":119258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e1714e8012d7e394005d35978000201092a..."} 
[2026-07-01 20:01:22] local.INFO: Packet analysis {"connection_id":119258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e17"} 
[2026-07-01 20:01:22] local.INFO: Extracted packet for processing {"connection_id":119258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e17"} 
[2026-07-01 20:01:22] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97737080,"longitude_deg":76.3246912,"latitude_deg":9.773708,"altitude":2,"angle":265,"satellites":42,"speed":6,"hex_longitude":"2d7e3940","hex_latitude":"05d35978","is_valid_coordinates":true} 
[2026-07-01 20:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:01:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426561280001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:01:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101463233658880000,"note":"Value kept but may cause issues"} 
[2026-07-01 20:01:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937179648,"note":"Value kept but may cause issues"} 
[2026-07-01 20:01:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:01:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782916257000,"timestamp_ms":1782916257000,"timestamp_seconds":1782916257,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e1714e8"} 
[2026-07-01 20:01:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:01:22] 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-01 20:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-07-01 20:01:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20:01:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:01:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:01:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:01:22] local.INFO: Teltonika packet parsed successfully {"connection_id":119258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:01:22] local.INFO: Passing IMEI to GPS processor {"connection_id":119258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 20:01:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":119258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 20:01:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 20:01:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 20:01:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 20:01:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426561280001,"66":11852,"115":206,"85":15104,"24":6,"16":101463233658880000,"45":9095723159937179648},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-07-01 20:01:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 20:01:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 20:01:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426561280001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:01:22] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-01 20:01:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 20:01:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101463233658880000,"km_value":101463233658880,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:01:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937179648,"description":"Unknown IO ID 45"} 
[2026-07-01 20:01:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426561280001,"power":11852,"unknown_115":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9095723159937179648}} 
[2026-07-01 20:01:22] local.INFO: DEBUG: GPS processor result {"connection_id":119258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418428,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:01:22] local.INFO: GPS data processed {"connection_id":119258,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:01:22] local.INFO: Acknowledgment sent {"connection_id":119258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:01:24] local.INFO: TCP Data received {"connection_id":119375,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:01:24] local.INFO: Processing buffer {"connection_id":119375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:01:24] local.INFO: IMEI packet received {"connection_id":119375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":119375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:01:25] local.INFO: TCP Data received {"connection_id":119375,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e14de80012cb29ac007823d880047002027..."} 
[2026-07-01 20:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e14de80012cb29ac007823d880047002027..."} 
[2026-07-01 20:01:25] local.INFO: Processing buffer {"connection_id":119375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e14de80012cb29ac007823d880047002027..."} 
[2026-07-01 20:01:25] local.INFO: Packet analysis {"connection_id":119375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e14"} 
[2026-07-01 20:01:25] local.INFO: Extracted packet for processing {"connection_id":119375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e14"} 
[2026-07-01 20:01:25] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 20:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:01:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426447616001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:01:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 20:01:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 20:01:25] 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-01 20:01:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782916112000,"timestamp_ms":1782916112000,"timestamp_seconds":1782916112,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e14de80"} 
[2026-07-01 20:01:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:01:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 20:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-01 20:01:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20:01:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:01:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:01:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:01:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:01:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:01:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:01:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 20:01:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:01:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:01:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426447616001,"66":25375,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 20:01:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:01:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:01:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426447616001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:01:25] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 20:01:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 20:01:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:01:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 20:01:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426447616001,"power":25375,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 20:01:25] local.INFO: DEBUG: GPS processor result {"connection_id":119375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:01:25] local.INFO: GPS data processed {"connection_id":119375,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:01:25] local.INFO: Acknowledgment sent {"connection_id":119375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:01:56] local.INFO: TCP Data received {"connection_id":120059,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 20:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120059,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 20:01:56] local.INFO: Processing buffer {"connection_id":120059,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 20:01:56] local.INFO: IMEI packet received {"connection_id":120059,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-07-01 20:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":120059,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:01:56] local.INFO: TCP Data received {"connection_id":119375,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e14de80012cb29ac007823d880047002027..."} 
[2026-07-01 20:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e14de80012cb29ac007823d880047002027..."} 
[2026-07-01 20:01:56] local.INFO: Processing buffer {"connection_id":119375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e14de80012cb29ac007823d880047002027..."} 
[2026-07-01 20:01:56] local.INFO: Packet analysis {"connection_id":119375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e14"} 
[2026-07-01 20:01:56] local.INFO: Extracted packet for processing {"connection_id":119375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e14"} 
[2026-07-01 20:01:56] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 20:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:01:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426447616001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:01:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 20:01:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 20:01:56] 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-01 20:01:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782916112000,"timestamp_ms":1782916112000,"timestamp_seconds":1782916112,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e14de80"} 
[2026-07-01 20:01:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:01:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 20:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-01 20:01:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20:01:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:01:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:01:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:01:56] local.INFO: Teltonika packet parsed successfully {"connection_id":119375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:01:56] local.INFO: Passing IMEI to GPS processor {"connection_id":119375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:01:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":119375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:01:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 20:01:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:01:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:01:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426447616001,"66":25375,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 20:01:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:01:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:01:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426447616001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:01:56] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 20:01:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 20:01:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:01:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 20:01:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426447616001,"power":25375,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 20:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":119375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:01:56] local.INFO: GPS data processed {"connection_id":119375,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:01:56] local.INFO: Acknowledgment sent {"connection_id":119375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:01:56] local.INFO: TCP Data received {"connection_id":120059,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 20:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120059,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 20:01:56] local.INFO: Processing buffer {"connection_id":120059,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 20:01:56] local.INFO: IMEI packet received {"connection_id":120059,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 20:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":120059,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:02:01] local.INFO: TCP Data received {"connection_id":120059,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 20:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120059,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 20:02:01] local.INFO: Processing buffer {"connection_id":120059,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-07-01 20:02:01] local.INFO: IMEI packet received {"connection_id":120059,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-07-01 20:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":120059,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:02:02] local.INFO: TCP Data received {"connection_id":120059,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e177a78012d7e378005d34e60000000362a..."} 
[2026-07-01 20:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e177a78012d7e378005d34e60000000362a..."} 
[2026-07-01 20:02:02] local.INFO: Processing buffer {"connection_id":120059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e177a78012d7e378005d34e60000000362a..."} 
[2026-07-01 20:02:02] local.INFO: Packet analysis {"connection_id":120059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e17"} 
[2026-07-01 20:02:02] local.INFO: Extracted packet for processing {"connection_id":120059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e17"} 
[2026-07-01 20:02:02] local.INFO: GPS Element Parsed {"raw_longitude":763246464,"raw_latitude":97734240,"longitude_deg":76.3246464,"latitude_deg":9.773424,"altitude":0,"angle":54,"satellites":42,"speed":5,"hex_longitude":"2d7e3780","hex_latitude":"05d34e60","is_valid_coordinates":true} 
[2026-07-01 20: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-01 20:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426568192001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101463517126721536,"note":"Value kept but may cause issues"} 
[2026-07-01 20:02:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094737997517953024,"note":"Value kept but may cause issues"} 
[2026-07-01 20:02:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782916283000,"timestamp_ms":1782916283000,"timestamp_seconds":1782916283,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e177a78"} 
[2026-07-01 20: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-01 20:02:02] 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-01 20: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":41,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-01 20:02:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":763,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20: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-01 20: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-01 20:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":120059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":120059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 20:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":120059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 20:02:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 20:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 20:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 20:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426568192001,"66":10536,"115":206,"85":15104,"24":5,"16":101463517126721536,"45":9094737997517953024},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-07-01 20:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 20:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 20:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426568192001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:02:02] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-01 20:02:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 20:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101463517126721536,"km_value":101463517126721.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:02:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094737997517953024,"description":"Unknown IO ID 45"} 
[2026-07-01 20:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426568192001,"power":10536,"unknown_115":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9094737997517953024}} 
[2026-07-01 20:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":120059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418431,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:02:02] local.INFO: GPS data processed {"connection_id":120059,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:02:02] local.INFO: Acknowledgment sent {"connection_id":120059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:02:09] local.INFO: TCP Data received {"connection_id":120059,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e178e00012d7e380005d34f10000100f22a..."} 
[2026-07-01 20:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e178e00012d7e380005d34f10000100f22a..."} 
[2026-07-01 20:02:09] local.INFO: Processing buffer {"connection_id":120059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e178e00012d7e380005d34f10000100f22a..."} 
[2026-07-01 20:02:09] local.INFO: Packet analysis {"connection_id":120059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e17"} 
[2026-07-01 20:02:09] local.INFO: Extracted packet for processing {"connection_id":120059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e17"} 
[2026-07-01 20:02:09] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97734416,"longitude_deg":76.3246592,"latitude_deg":9.7734416,"altitude":1,"angle":242,"satellites":42,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34f10","is_valid_coordinates":true} 
[2026-07-01 20:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426568448001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":101463538601558016,"note":"Value kept but may cause issues"} 
[2026-07-01 20:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094878735006326784,"note":"Value kept but may cause issues"} 
[2026-07-01 20:02:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782916288000,"timestamp_ms":1782916288000,"timestamp_seconds":1782916288,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e178e00"} 
[2026-07-01 20:02:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:02:09] 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-01 20:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":41,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-07-01 20:02:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":763,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20:02:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:02:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":120059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":120059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 20:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":120059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-07-01 20:02:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 20:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-07-01 20:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-07-01 20:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426568448001,"66":10634,"115":206,"85":15104,"24":0,"16":101463538601558016,"45":9094878735006326784},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-07-01 20:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-07-01 20:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-07-01 20:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426568448001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:02:09] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-01 20:02:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-07-01 20:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":101463538601558016,"km_value":101463538601558.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094878735006326784,"description":"Unknown IO ID 45"} 
[2026-07-01 20:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426568448001,"power":10634,"unknown_115":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094878735006326784}} 
[2026-07-01 20:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":120059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418432,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:02:09] local.INFO: GPS data processed {"connection_id":120059,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:02:09] local.INFO: Acknowledgment sent {"connection_id":120059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:02:19] local.INFO: TCP Data received {"connection_id":121122,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:02:19] local.INFO: Processing buffer {"connection_id":121122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:02:19] local.INFO: IMEI packet received {"connection_id":121122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 20:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":121122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:02:24] local.INFO: TCP Data received {"connection_id":121122,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:02:24] local.INFO: Processing buffer {"connection_id":121122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:02:24] local.INFO: IMEI packet received {"connection_id":121122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:02:24] local.INFO: IMEI acknowledgment sent {"connection_id":121122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:02:25] local.INFO: TCP Data received {"connection_id":121122,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e14de80012cb29ac007823d880047002027..."} 
[2026-07-01 20:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e14de80012cb29ac007823d880047002027..."} 
[2026-07-01 20:02:25] local.INFO: Processing buffer {"connection_id":121122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e14de80012cb29ac007823d880047002027..."} 
[2026-07-01 20:02:25] local.INFO: Packet analysis {"connection_id":121122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e14"} 
[2026-07-01 20:02:25] local.INFO: Extracted packet for processing {"connection_id":121122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e14"} 
[2026-07-01 20:02:25] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 20:02:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:02:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426447616001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:02:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 20:02:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 20:02:25] 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-01 20:02:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782916112000,"timestamp_ms":1782916112000,"timestamp_seconds":1782916112,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e14de80"} 
[2026-07-01 20:02:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:02:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 20:02:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-01 20:02:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20:02:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:02:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:02:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:02:25] local.INFO: Teltonika packet parsed successfully {"connection_id":121122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:02:25] local.INFO: Passing IMEI to GPS processor {"connection_id":121122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:02:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":121122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:02:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 20:02:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:02:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:02:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426447616001,"66":25375,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 20:02:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:02:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:02:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426447616001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:02:25] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 20:02:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 20:02:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:02:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 20:02:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426447616001,"power":25375,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 20:02:25] local.INFO: DEBUG: GPS processor result {"connection_id":121122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:02:25] local.INFO: GPS data processed {"connection_id":121122,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:02:25] local.INFO: Acknowledgment sent {"connection_id":121122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:02:58] local.INFO: TCP Data received {"connection_id":121122,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e14de80012cb29ac007823d880047002027..."} 
[2026-07-01 20:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e14de80012cb29ac007823d880047002027..."} 
[2026-07-01 20:02:58] local.INFO: Processing buffer {"connection_id":121122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e14de80012cb29ac007823d880047002027..."} 
[2026-07-01 20:02:58] local.INFO: Packet analysis {"connection_id":121122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e14"} 
[2026-07-01 20:02:58] local.INFO: Extracted packet for processing {"connection_id":121122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e14"} 
[2026-07-01 20:02:58] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 20: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-01 20:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426447616001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 20:02:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 20:02:58] 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-01 20:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782916112000,"timestamp_ms":1782916112000,"timestamp_seconds":1782916112,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e14de80"} 
[2026-07-01 20: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-01 20:02:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 20:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-01 20:02:58] 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-01 20: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-01 20: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-01 20:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":121122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":121122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":121122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:02:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 20:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426447616001,"66":25375,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 20:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426447616001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:02:58] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 20:02:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 20:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:02:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 20:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426447616001,"power":25375,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 20:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":121122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:02:58] local.INFO: GPS data processed {"connection_id":121122,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:02:58] local.INFO: Acknowledgment sent {"connection_id":121122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:03:19] local.INFO: TCP Data received {"connection_id":119261,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:03:19] local.INFO: Processing buffer {"connection_id":119261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:03:19] local.INFO: IMEI packet received {"connection_id":119261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 20:03:19] local.INFO: IMEI acknowledgment sent {"connection_id":119261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:03:25] local.INFO: TCP Data received {"connection_id":119261,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:03:25] local.INFO: Processing buffer {"connection_id":119261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:03:25] local.INFO: IMEI packet received {"connection_id":119261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":119261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:03:26] local.INFO: TCP Data received {"connection_id":119261,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e14de80012cb29ac007823d880047002027..."} 
[2026-07-01 20:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e14de80012cb29ac007823d880047002027..."} 
[2026-07-01 20:03:26] local.INFO: Processing buffer {"connection_id":119261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e14de80012cb29ac007823d880047002027..."} 
[2026-07-01 20:03:26] local.INFO: Packet analysis {"connection_id":119261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e14"} 
[2026-07-01 20:03:26] local.INFO: Extracted packet for processing {"connection_id":119261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e14"} 
[2026-07-01 20:03:26] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 20:03: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-01 20:03:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426447616001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:03:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 20:03:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 20:03:26] 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-01 20:03:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782916112000,"timestamp_ms":1782916112000,"timestamp_seconds":1782916112,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e14de80"} 
[2026-07-01 20:03:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:03:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 20:03:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-01 20:03:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20:03: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-01 20:03:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:03:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:03:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:03:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:03:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:03:26] local.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-01 20:03:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:03:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:03:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426447616001,"66":25375,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 20:03:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:03:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:03:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426447616001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:03:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 20:03:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 20:03:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:03:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 20:03:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426447616001,"power":25375,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 20:03:26] local.INFO: DEBUG: GPS processor result {"connection_id":119261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:03:26] local.INFO: GPS data processed {"connection_id":119261,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:03:26] local.INFO: Acknowledgment sent {"connection_id":119261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:03:57] local.INFO: TCP Data received {"connection_id":119261,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e14de80012cb29ac007823d880047002027..."} 
[2026-07-01 20:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e14de80012cb29ac007823d880047002027..."} 
[2026-07-01 20:03:57] local.INFO: Processing buffer {"connection_id":119261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e14de80012cb29ac007823d880047002027..."} 
[2026-07-01 20:03:57] local.INFO: Packet analysis {"connection_id":119261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e14"} 
[2026-07-01 20:03:57] local.INFO: Extracted packet for processing {"connection_id":119261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e14"} 
[2026-07-01 20:03:57] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 20:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:03:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426447616001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:03:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 20:03:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 20:03:57] 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-01 20:03:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782916112000,"timestamp_ms":1782916112000,"timestamp_seconds":1782916112,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e14de80"} 
[2026-07-01 20:03:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:03:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 20:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-07-01 20:03:57] 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-01 20:03:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:03:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:03:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:03:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:03:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:03:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:03:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 20:03:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:03:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:03:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426447616001,"66":25375,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 20:03:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:03:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:03:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426447616001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:03:57] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 20:03:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 20:03:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:03:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 20:03:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426447616001,"power":25375,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 20:03:57] local.INFO: DEBUG: GPS processor result {"connection_id":119261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:03:57] local.INFO: GPS data processed {"connection_id":119261,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:03:57] local.INFO: Acknowledgment sent {"connection_id":119261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:04:19] local.INFO: TCP Data received {"connection_id":119377,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:04:19] local.INFO: Processing buffer {"connection_id":119377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:04:19] local.INFO: IMEI packet received {"connection_id":119377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 20:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":119377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:04:25] local.INFO: TCP Data received {"connection_id":119377,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:04:25] local.INFO: Processing buffer {"connection_id":119377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:04:25] local.INFO: IMEI packet received {"connection_id":119377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:04:25] local.INFO: IMEI acknowledgment sent {"connection_id":119377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:04:26] local.INFO: TCP Data received {"connection_id":119377,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e197648012cb29ac007823d880047002028..."} 
[2026-07-01 20:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e197648012cb29ac007823d880047002028..."} 
[2026-07-01 20:04:26] local.INFO: Processing buffer {"connection_id":119377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e197648012cb29ac007823d880047002028..."} 
[2026-07-01 20:04:26] local.INFO: Packet analysis {"connection_id":119377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e19"} 
[2026-07-01 20:04:26] local.INFO: Extracted packet for processing {"connection_id":119377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e19"} 
[2026-07-01 20:04:26] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 20: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-01 20:04:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426524672001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:04:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 20:04:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 20:04:26] 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-01 20:04:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782916413000,"timestamp_ms":1782916413000,"timestamp_seconds":1782916413,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e197648"} 
[2026-07-01 20: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-01 20:04:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 20: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-01 20:04:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20: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-01 20: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-01 20:04:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:04:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:04:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:04:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:04:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 20:04:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:04:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:04:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426524672001,"66":25397,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 20:04:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:04:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:04:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426524672001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:04:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 20:04:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 20:04:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:04:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 20:04:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426524672001,"power":25397,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 20:04:26] local.INFO: DEBUG: GPS processor result {"connection_id":119377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:04:26] local.INFO: GPS data processed {"connection_id":119377,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:04:26] local.INFO: Acknowledgment sent {"connection_id":119377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:04:57] local.INFO: TCP Data received {"connection_id":119377,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e197648012cb29ac007823d880047002028..."} 
[2026-07-01 20:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e197648012cb29ac007823d880047002028..."} 
[2026-07-01 20:04:57] local.INFO: Processing buffer {"connection_id":119377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e197648012cb29ac007823d880047002028..."} 
[2026-07-01 20:04:57] local.INFO: Packet analysis {"connection_id":119377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e19"} 
[2026-07-01 20:04:57] local.INFO: Extracted packet for processing {"connection_id":119377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e19"} 
[2026-07-01 20:04:57] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 20:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:04:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426524672001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:04:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 20:04:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 20:04:57] 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-01 20:04:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782916413000,"timestamp_ms":1782916413000,"timestamp_seconds":1782916413,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e197648"} 
[2026-07-01 20:04:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:04:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 20:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-01 20:04:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20:04:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:04:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:04:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:04:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:04:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:04:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:04:57] 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-01 20:04:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:04:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:04:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426524672001,"66":25397,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 20:04:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:04:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:04:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426524672001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:04:57] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 20:04:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 20:04:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:04:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 20:04:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426524672001,"power":25397,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 20:04:57] local.INFO: DEBUG: GPS processor result {"connection_id":119377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:04:57] local.INFO: GPS data processed {"connection_id":119377,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:04:57] local.INFO: Acknowledgment sent {"connection_id":119377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:05:19] local.INFO: TCP Data received {"connection_id":121123,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:05:19] local.INFO: Processing buffer {"connection_id":121123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:05:19] local.INFO: IMEI packet received {"connection_id":121123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 20:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":121123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:05:25] local.INFO: TCP Data received {"connection_id":121123,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:05:25] local.INFO: Processing buffer {"connection_id":121123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:05:25] local.INFO: IMEI packet received {"connection_id":121123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":121123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:05:26] local.INFO: TCP Data received {"connection_id":121123,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e197648012cb29ac007823d880047002028..."} 
[2026-07-01 20:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e197648012cb29ac007823d880047002028..."} 
[2026-07-01 20:05:26] local.INFO: Processing buffer {"connection_id":121123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e197648012cb29ac007823d880047002028..."} 
[2026-07-01 20:05:26] local.INFO: Packet analysis {"connection_id":121123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e19"} 
[2026-07-01 20:05:26] local.INFO: Extracted packet for processing {"connection_id":121123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e19"} 
[2026-07-01 20:05:26] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 20:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426524672001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 20:05:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 20:05:26] 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-01 20:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782916413000,"timestamp_ms":1782916413000,"timestamp_seconds":1782916413,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e197648"} 
[2026-07-01 20:05:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:05:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 20:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-01 20:05:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20:05:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:05:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":121123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":121123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":121123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:05:26] 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-01 20:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426524672001,"66":25397,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 20:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426524672001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:05:26] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 20:05:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 20:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:05:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 20:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426524672001,"power":25397,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 20:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":121123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:05:26] local.INFO: GPS data processed {"connection_id":121123,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:05:26] local.INFO: Acknowledgment sent {"connection_id":121123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:05:57] local.INFO: TCP Data received {"connection_id":121123,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e197648012cb29ac007823d880047002028..."} 
[2026-07-01 20:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e197648012cb29ac007823d880047002028..."} 
[2026-07-01 20:05:57] local.INFO: Processing buffer {"connection_id":121123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e197648012cb29ac007823d880047002028..."} 
[2026-07-01 20:05:57] local.INFO: Packet analysis {"connection_id":121123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e19"} 
[2026-07-01 20:05:57] local.INFO: Extracted packet for processing {"connection_id":121123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e19"} 
[2026-07-01 20:05:57] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 20:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:05:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426524672001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:05:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 20:05:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 20:05:57] 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-01 20:05:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782916413000,"timestamp_ms":1782916413000,"timestamp_seconds":1782916413,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e197648"} 
[2026-07-01 20:05:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:05:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 20:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-01 20:05:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20:05:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:05:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:05:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:05:57] local.INFO: Teltonika packet parsed successfully {"connection_id":121123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:05:57] local.INFO: Passing IMEI to GPS processor {"connection_id":121123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:05:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":121123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:05:57] 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-01 20:05:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:05:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:05:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426524672001,"66":25397,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 20:05:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:05:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:05:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426524672001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:05:57] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 20:05:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 20:05:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:05:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 20:05:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426524672001,"power":25397,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 20:05:57] local.INFO: DEBUG: GPS processor result {"connection_id":121123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:05:57] local.INFO: GPS data processed {"connection_id":121123,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:05:57] local.INFO: Acknowledgment sent {"connection_id":121123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:06:25] local.INFO: TCP Data received {"connection_id":121125,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:06:25] local.INFO: Processing buffer {"connection_id":121125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:06:25] local.INFO: IMEI packet received {"connection_id":121125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 20:06:25] local.INFO: IMEI acknowledgment sent {"connection_id":121125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:06:29] local.INFO: TCP Data received {"connection_id":121124,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121124,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:06:29] local.INFO: Processing buffer {"connection_id":121124,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:06:29] local.INFO: IMEI packet received {"connection_id":121124,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 20:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":121124,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:06:30] local.INFO: TCP Data received {"connection_id":121125,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:06:30] local.INFO: Processing buffer {"connection_id":121125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:06:30] local.INFO: IMEI packet received {"connection_id":121125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":121125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:06:31] local.INFO: TCP Data received {"connection_id":121125,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e197648012cb29ac007823d880047002028..."} 
[2026-07-01 20:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e197648012cb29ac007823d880047002028..."} 
[2026-07-01 20:06:31] local.INFO: Processing buffer {"connection_id":121125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e197648012cb29ac007823d880047002028..."} 
[2026-07-01 20:06:31] local.INFO: Packet analysis {"connection_id":121125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e19"} 
[2026-07-01 20:06:31] local.INFO: Extracted packet for processing {"connection_id":121125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e19"} 
[2026-07-01 20:06:31] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 20:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426524672001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 20:06:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 20:06:31] 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-01 20:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782916413000,"timestamp_ms":1782916413000,"timestamp_seconds":1782916413,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e197648"} 
[2026-07-01 20:06:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:06:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 20:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-01 20:06:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20:06:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:06:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":121125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":121125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":121125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:06:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 20:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426524672001,"66":25397,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 20:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426524672001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:06:31] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 20:06:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 20:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:06:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 20:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426524672001,"power":25397,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 20:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":121125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:06:31] local.INFO: GPS data processed {"connection_id":121125,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:06:31] local.INFO: Acknowledgment sent {"connection_id":121125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:06:35] local.INFO: TCP Data received {"connection_id":121125,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e197648012cb29ac007823d880047002028..."} 
[2026-07-01 20:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e197648012cb29ac007823d880047002028..."} 
[2026-07-01 20:06:35] local.INFO: Processing buffer {"connection_id":121125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e197648012cb29ac007823d880047002028..."} 
[2026-07-01 20:06:35] local.INFO: Packet analysis {"connection_id":121125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e19"} 
[2026-07-01 20:06:35] local.INFO: Extracted packet for processing {"connection_id":121125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e19"} 
[2026-07-01 20:06:35] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":40,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 20: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-01 20:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426524672001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 20:06:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 20:06:35] 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-01 20:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782916413000,"timestamp_ms":1782916413000,"timestamp_seconds":1782916413,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e197648"} 
[2026-07-01 20: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-01 20:06:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 20:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-07-01 20:06:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20: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-01 20: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-01 20:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":121125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":121125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":121125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 20:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426524672001,"66":25397,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 20:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426524672001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:06:35] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 20:06:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 20:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:06:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 20:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426524672001,"power":25397,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 20:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":121125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:06:35] local.INFO: GPS data processed {"connection_id":121125,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:06:35] local.INFO: Acknowledgment sent {"connection_id":121125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:07:15] local.INFO: TCP Data received {"connection_id":119262,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119262,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:07:15] local.INFO: Processing buffer {"connection_id":119262,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:07:15] local.INFO: IMEI packet received {"connection_id":119262,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 20:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":119262,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:07:18] local.INFO: TCP Data received {"connection_id":119263,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:07:18] local.INFO: Processing buffer {"connection_id":119263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:07:18] local.INFO: IMEI packet received {"connection_id":119263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 20:07:18] local.INFO: IMEI acknowledgment sent {"connection_id":119263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:07:19] local.INFO: TCP Data received {"connection_id":119263,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:07:19] local.INFO: Processing buffer {"connection_id":119263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:07:19] local.INFO: IMEI packet received {"connection_id":119263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":119263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:07:20] local.INFO: TCP Data received {"connection_id":119263,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:07:20] local.INFO: Processing buffer {"connection_id":119263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:07:20] local.INFO: IMEI packet received {"connection_id":119263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":119263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:07:24] local.INFO: TCP Data received {"connection_id":119263,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:07:24] local.INFO: Processing buffer {"connection_id":119263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:07:24] local.INFO: IMEI packet received {"connection_id":119263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:07:24] local.INFO: IMEI acknowledgment sent {"connection_id":119263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:07:25] local.INFO: TCP Data received {"connection_id":119263,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e1c54a8012cb29ac007823d880047002021..."} 
[2026-07-01 20:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e1c54a8012cb29ac007823d880047002021..."} 
[2026-07-01 20:07:25] local.INFO: Processing buffer {"connection_id":119263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e1c54a8012cb29ac007823d880047002021..."} 
[2026-07-01 20:07:25] local.INFO: Packet analysis {"connection_id":119263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e1c"} 
[2026-07-01 20:07:25] local.INFO: Extracted packet for processing {"connection_id":119263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e1c"} 
[2026-07-01 20:07:25] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125975944,"longitude_deg":74.9902528,"latitude_deg":12.5975944,"altitude":71,"angle":32,"satellites":33,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07823d88","is_valid_coordinates":true} 
[2026-07-01 20:07: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-01 20:07:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426601728001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:07:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 20:07:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 20:07:25] 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-01 20:07:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782916601000,"timestamp_ms":1782916601000,"timestamp_seconds":1782916601,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e1c54a8"} 
[2026-07-01 20:07:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:07:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-07-01 20:07:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-07-01 20:07:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20:07:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:07:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:07:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:07:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:07:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:07:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:07:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 20:07:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:07:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:07:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426601728001,"66":25191,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 20:07:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:07:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:07:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426601728001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:07:25] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 20:07:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 20:07:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:07:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 20:07:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426601728001,"power":25191,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 20:07:25] local.INFO: DEBUG: GPS processor result {"connection_id":119263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:07:25] local.INFO: GPS data processed {"connection_id":119263,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:07:25] local.INFO: Acknowledgment sent {"connection_id":119263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:07:30] local.INFO: TCP Data received {"connection_id":119263,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e1c5c78012cb29b0007823c28004700d522..."} 
[2026-07-01 20:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e1c5c78012cb29b0007823c28004700d522..."} 
[2026-07-01 20:07:30] local.INFO: Processing buffer {"connection_id":119263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e1c5c78012cb29b0007823c28004700d522..."} 
[2026-07-01 20:07:30] local.INFO: Packet analysis {"connection_id":119263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e1c"} 
[2026-07-01 20:07:30] local.INFO: Extracted packet for processing {"connection_id":119263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e1c"} 
[2026-07-01 20:07:30] local.INFO: GPS Element Parsed {"raw_longitude":749902592,"raw_latitude":125975592,"longitude_deg":74.9902592,"latitude_deg":12.5975592,"altitude":71,"angle":213,"satellites":34,"speed":0,"hex_longitude":"2cb29b00","hex_latitude":"07823c28","is_valid_coordinates":true} 
[2026-07-01 20:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426649856001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 20:07:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050062563328,"note":"Value kept but may cause issues"} 
[2026-07-01 20:07:30] 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-01 20:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782916603000,"timestamp_ms":1782916603000,"timestamp_seconds":1782916603,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e1c5c78"} 
[2026-07-01 20:07:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:07:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 20:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-07-01 20:07:30] 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-01 20:07:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:07:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":119263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":119263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":119263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:07:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 20:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426649856001,"66":22255,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576934050062563328},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 20:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426649856001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:07:30] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 20:07:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 20:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:07:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050062563328,"description":"Unknown IO ID 44"} 
[2026-07-01 20:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426649856001,"power":22255,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050062563328}} 
[2026-07-01 20:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":119263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:07:30] local.INFO: GPS data processed {"connection_id":119263,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:07:30] local.INFO: Acknowledgment sent {"connection_id":119263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:08:01] local.INFO: TCP Data received {"connection_id":119263,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e1cae80012cb29b0007823c28004700d523..."} 
[2026-07-01 20:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e1cae80012cb29b0007823c28004700d523..."} 
[2026-07-01 20:08:01] local.INFO: Processing buffer {"connection_id":119263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e1cae80012cb29b0007823c28004700d523..."} 
[2026-07-01 20:08:01] local.INFO: Packet analysis {"connection_id":119263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e1c"} 
[2026-07-01 20:08:01] local.INFO: Extracted packet for processing {"connection_id":119263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e1c"} 
[2026-07-01 20:08:01] local.INFO: GPS Element Parsed {"raw_longitude":749902592,"raw_latitude":125975592,"longitude_deg":74.9902592,"latitude_deg":12.5975592,"altitude":71,"angle":213,"satellites":35,"speed":0,"hex_longitude":"2cb29b00","hex_latitude":"07823c28","is_valid_coordinates":true} 
[2026-07-01 20:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426650368001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333819409594318848,"note":"Value kept but may cause issues"} 
[2026-07-01 20:08:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576863681318475776,"note":"Value kept but may cause issues"} 
[2026-07-01 20:08:01] 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-01 20:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782916624000,"timestamp_ms":1782916624000,"timestamp_seconds":1782916624,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e1cae80"} 
[2026-07-01 20:08:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:08:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 20:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":86,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-07-01 20:08:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20:08:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:08:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":119263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":119263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":119263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:08:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 20:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426650368001,"66":27463,"183":206,"85":36096,"24":0,"16":333819409594318848,"44":-5576863681318475776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,44]} 
[2026-07-01 20:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426650368001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:08:01] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-07-01 20:08:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 20:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333819409594318848,"km_value":333819409594318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:08:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576863681318475776,"description":"Unknown IO ID 44"} 
[2026-07-01 20:08:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426650368001,"power":27463,"unknown_183":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576863681318475776}} 
[2026-07-01 20:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":119263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:08:01] local.INFO: GPS data processed {"connection_id":119263,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:08:01] local.INFO: Acknowledgment sent {"connection_id":119263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:08:19] local.INFO: TCP Data received {"connection_id":119378,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:08:19] local.INFO: Processing buffer {"connection_id":119378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:08:19] local.INFO: IMEI packet received {"connection_id":119378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 20:08:19] local.INFO: IMEI acknowledgment sent {"connection_id":119378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:08:19] local.INFO: TCP Data received {"connection_id":119378,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:08:19] local.INFO: Processing buffer {"connection_id":119378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:08:19] local.INFO: IMEI packet received {"connection_id":119378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:08:19] local.INFO: IMEI acknowledgment sent {"connection_id":119378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:08:26] local.INFO: TCP Data received {"connection_id":119378,"ip":"42.106.6.14","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 20:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119378,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 20:08:26] local.INFO: Processing buffer {"connection_id":119378,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 20:08:26] local.INFO: IMEI packet received {"connection_id":119378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":119378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:12:45] local.INFO: TCP Data received {"connection_id":120063,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120063,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:12:45] local.INFO: Processing buffer {"connection_id":120063,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:12:45] local.INFO: IMEI packet received {"connection_id":120063,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 20:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":120063,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:13:20] local.INFO: TCP Data received {"connection_id":119382,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119382,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:13:20] local.INFO: Processing buffer {"connection_id":119382,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:13:20] local.INFO: IMEI packet received {"connection_id":119382,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 20:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":119382,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:13:25] local.INFO: TCP Data received {"connection_id":119383,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:13:25] local.INFO: Processing buffer {"connection_id":119383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:13:25] local.INFO: IMEI packet received {"connection_id":119383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 20:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":119383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:13:30] local.INFO: TCP Data received {"connection_id":119383,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e20f440012cb044c007813148002d010629..."} 
[2026-07-01 20:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e20f440012cb044c007813148002d010629..."} 
[2026-07-01 20:13:30] local.INFO: Processing buffer {"connection_id":119383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e20f440012cb044c007813148002d010629..."} 
[2026-07-01 20:13:30] local.INFO: Packet analysis {"connection_id":119383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e20"} 
[2026-07-01 20:13:30] local.INFO: Extracted packet for processing {"connection_id":119383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e20"} 
[2026-07-01 20:13:30] local.INFO: GPS Element Parsed {"raw_longitude":749749440,"raw_latitude":125907272,"longitude_deg":74.974944,"latitude_deg":12.5907272,"altitude":45,"angle":262,"satellites":41,"speed":37,"hex_longitude":"2cb044c0","hex_latitude":"07813148","is_valid_coordinates":true} 
[2026-07-01 20:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:13:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426725120001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:13:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333827879269826560,"note":"Value kept but may cause issues"} 
[2026-07-01 20:13:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5735263724479483904,"note":"Value kept but may cause issues"} 
[2026-07-01 20:13:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:13:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782916904000,"timestamp_ms":1782916904000,"timestamp_seconds":1782916904,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e20f440"} 
[2026-07-01 20:13:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:13:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 20:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-01 20:13:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20:13:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:13:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:13:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:13:30] local.INFO: Teltonika packet parsed successfully {"connection_id":119383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:13:30] local.INFO: Passing IMEI to GPS processor {"connection_id":119383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:13:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":119383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:13:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 20:13:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:13:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:13:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426725120001,"66":27626,"225":206,"85":36096,"24":37,"16":333827879269826560,"44":-5735263724479483904},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,44]} 
[2026-07-01 20:13:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:13:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:13:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426725120001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:13:30] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-07-01 20:13:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 20:13:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333827879269826560,"km_value":333827879269826.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:13:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5735263724479483904,"description":"Unknown IO ID 44"} 
[2026-07-01 20:13:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426725120001,"power":27626,"unknown_225":206,"unknown_85":36096,"ignition":37,"odometer":null,"unknown_44":-5735263724479483904}} 
[2026-07-01 20:13:30] local.INFO: DEBUG: GPS processor result {"connection_id":119383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:13:30] local.INFO: GPS data processed {"connection_id":119383,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:13:30] local.INFO: Acknowledgment sent {"connection_id":119383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:14:20] local.INFO: TCP Data received {"connection_id":119384,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:14:20] local.INFO: Processing buffer {"connection_id":119384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:14:20] local.INFO: IMEI packet received {"connection_id":119384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 20:14:20] local.INFO: IMEI acknowledgment sent {"connection_id":119384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:14:25] local.INFO: TCP Data received {"connection_id":119384,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:14:25] local.INFO: Processing buffer {"connection_id":119384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:14:25] local.INFO: IMEI packet received {"connection_id":119384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":119384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:14:26] local.INFO: TCP Data received {"connection_id":119384,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e211b50012cb020c007812da8002d010928..."} 
[2026-07-01 20:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e211b50012cb020c007812da8002d010928..."} 
[2026-07-01 20:14:26] local.INFO: Processing buffer {"connection_id":119384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e211b50012cb020c007812da8002d010928..."} 
[2026-07-01 20:14:26] local.INFO: Packet analysis {"connection_id":119384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e21"} 
[2026-07-01 20:14:26] local.INFO: Extracted packet for processing {"connection_id":119384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e21"} 
[2026-07-01 20:14:26] local.INFO: GPS Element Parsed {"raw_longitude":749740224,"raw_latitude":125906344,"longitude_deg":74.9740224,"latitude_deg":12.5906344,"altitude":45,"angle":265,"satellites":40,"speed":36,"hex_longitude":"2cb020c0","hex_latitude":"07812da8","is_valid_coordinates":true} 
[2026-07-01 20: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-01 20:14:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426727424001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:14:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333828317356490752,"note":"Value kept but may cause issues"} 
[2026-07-01 20:14:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5745256086153115648,"note":"Value kept but may cause issues"} 
[2026-07-01 20:14:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:14:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782916914000,"timestamp_ms":1782916914000,"timestamp_seconds":1782916914,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e211b50"} 
[2026-07-01 20: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-01 20:14: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-01 20: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-01 20:14:26] 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-01 20: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-01 20: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-01 20:14:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:14:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:14:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:14:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:14:26] local.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-01 20:14:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:14:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:14:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426727424001,"66":27658,"225":206,"85":36096,"24":36,"16":333828317356490752,"44":-5745256086153115648},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,44]} 
[2026-07-01 20:14:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:14:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:14:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426727424001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:14:26] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-07-01 20:14:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 20:14:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333828317356490752,"km_value":333828317356490.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:14:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5745256086153115648,"description":"Unknown IO ID 44"} 
[2026-07-01 20:14:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426727424001,"power":27658,"unknown_225":206,"unknown_85":36096,"ignition":36,"odometer":null,"unknown_44":-5745256086153115648}} 
[2026-07-01 20:14:26] local.INFO: DEBUG: GPS processor result {"connection_id":119384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:14:26] local.INFO: GPS data processed {"connection_id":119384,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:14:26] local.INFO: Acknowledgment sent {"connection_id":119384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:14:57] local.INFO: TCP Data received {"connection_id":119384,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e22ffb0012cae5d4007810eb8002200f528..."} 
[2026-07-01 20:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e22ffb0012cae5d4007810eb8002200f528..."} 
[2026-07-01 20:14:57] local.INFO: Processing buffer {"connection_id":119384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e22ffb0012cae5d4007810eb8002200f528..."} 
[2026-07-01 20:14:57] local.INFO: Packet analysis {"connection_id":119384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e22"} 
[2026-07-01 20:14:57] local.INFO: Extracted packet for processing {"connection_id":119384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e22"} 
[2026-07-01 20:14:57] local.INFO: GPS Element Parsed {"raw_longitude":749624640,"raw_latitude":125898424,"longitude_deg":74.962464,"latitude_deg":12.5898424,"altitude":34,"angle":245,"satellites":40,"speed":37,"hex_longitude":"2cae5d40","hex_latitude":"07810eb8","is_valid_coordinates":true} 
[2026-07-01 20:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:14:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426759168001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:14:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333833866454237184,"note":"Value kept but may cause issues"} 
[2026-07-01 20:14:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5872553144371785728,"note":"Value kept but may cause issues"} 
[2026-07-01 20:14:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:14:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782917038000,"timestamp_ms":1782917038000,"timestamp_seconds":1782917038,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e22ffb0"} 
[2026-07-01 20:14:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:14:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 20:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-01 20:14:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20:14:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:14:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:14:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:14:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:14:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:14:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:14:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 20:14:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:14:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:14:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426759168001,"66":27332,"119":206,"85":36096,"24":37,"16":333833866454237184,"44":-5872553144371785728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,44]} 
[2026-07-01 20:14:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:14:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:14:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426759168001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:14:57] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-07-01 20:14:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 20:14:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333833866454237184,"km_value":333833866454237.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:14:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5872553144371785728,"description":"Unknown IO ID 44"} 
[2026-07-01 20:14:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426759168001,"power":27332,"unknown_119":206,"unknown_85":36096,"ignition":37,"odometer":null,"unknown_44":-5872553144371785728}} 
[2026-07-01 20:14:57] local.INFO: DEBUG: GPS processor result {"connection_id":119384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:14:57] local.INFO: GPS data processed {"connection_id":119384,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:14:57] local.INFO: Acknowledgment sent {"connection_id":119384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:15:19] local.INFO: TCP Data received {"connection_id":119266,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:15:19] local.INFO: Processing buffer {"connection_id":119266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:15:19] local.INFO: IMEI packet received {"connection_id":119266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 20:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":119266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:15:22] local.INFO: TCP Data received {"connection_id":119266,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:15:22] local.INFO: Processing buffer {"connection_id":119266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:15:22] local.INFO: IMEI packet received {"connection_id":119266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:15:22] local.INFO: IMEI acknowledgment sent {"connection_id":119266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:15:25] local.INFO: TCP Data received {"connection_id":119266,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:15:25] local.INFO: Processing buffer {"connection_id":119266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:15:25] local.INFO: IMEI packet received {"connection_id":119266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":119266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:15:26] local.INFO: TCP Data received {"connection_id":119266,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e2326c0012cae3b000780ffc8002000f527..."} 
[2026-07-01 20:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e2326c0012cae3b000780ffc8002000f527..."} 
[2026-07-01 20:15:26] local.INFO: Processing buffer {"connection_id":119266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e2326c0012cae3b000780ffc8002000f527..."} 
[2026-07-01 20:15:26] local.INFO: Packet analysis {"connection_id":119266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e23"} 
[2026-07-01 20:15:26] local.INFO: Extracted packet for processing {"connection_id":119266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e23"} 
[2026-07-01 20:15:26] local.INFO: GPS Element Parsed {"raw_longitude":749615872,"raw_latitude":125894600,"longitude_deg":74.9615872,"latitude_deg":12.58946,"altitude":32,"angle":245,"satellites":39,"speed":38,"hex_longitude":"2cae3b00","hex_latitude":"0780ffc8","is_valid_coordinates":true} 
[2026-07-01 20: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-01 20:15:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426761728001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:15:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333834321720770560,"note":"Value kept but may cause issues"} 
[2026-07-01 20:15:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5882475137301825536,"note":"Value kept but may cause issues"} 
[2026-07-01 20:15:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:15:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782917048000,"timestamp_ms":1782917048000,"timestamp_seconds":1782917048,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e2326c0"} 
[2026-07-01 20: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-01 20:15:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 20: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-01 20:15:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20: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-01 20: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-01 20:15:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:15:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:15:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:15:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:15:26] local.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-01 20:15:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:15:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:15:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426761728001,"66":27267,"119":206,"85":36096,"24":38,"16":333834321720770560,"44":-5882475137301825536},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,44]} 
[2026-07-01 20:15:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:15:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:15:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426761728001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:15:26] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-07-01 20:15:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 20:15:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333834321720770560,"km_value":333834321720770.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:15:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5882475137301825536,"description":"Unknown IO ID 44"} 
[2026-07-01 20:15:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426761728001,"power":27267,"unknown_119":206,"unknown_85":36096,"ignition":38,"odometer":null,"unknown_44":-5882475137301825536}} 
[2026-07-01 20:15:26] local.INFO: DEBUG: GPS processor result {"connection_id":119266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:15:26] local.INFO: GPS data processed {"connection_id":119266,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:15:26] local.INFO: Acknowledgment sent {"connection_id":119266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:15:58] local.INFO: TCP Data received {"connection_id":119266,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e234dd0012cae17c00780f000001d00f828..."} 
[2026-07-01 20:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e234dd0012cae17c00780f000001d00f828..."} 
[2026-07-01 20:15:58] local.INFO: Processing buffer {"connection_id":119266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e234dd0012cae17c00780f000001d00f828..."} 
[2026-07-01 20:15:58] local.INFO: Packet analysis {"connection_id":119266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e23"} 
[2026-07-01 20:15:58] local.INFO: Extracted packet for processing {"connection_id":119266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e23"} 
[2026-07-01 20:15:58] local.INFO: GPS Element Parsed {"raw_longitude":749606848,"raw_latitude":125890560,"longitude_deg":74.9606848,"latitude_deg":12.589056,"altitude":29,"angle":248,"satellites":40,"speed":39,"hex_longitude":"2cae17c0","hex_latitude":"0780f000","is_valid_coordinates":true} 
[2026-07-01 20: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-01 20:15:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426764288001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:15:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333834789872205824,"note":"Value kept but may cause issues"} 
[2026-07-01 20:15:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5892115655255144448,"note":"Value kept but may cause issues"} 
[2026-07-01 20:15:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:15:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782917058000,"timestamp_ms":1782917058000,"timestamp_seconds":1782917058,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e234dd0"} 
[2026-07-01 20: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-01 20:15:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 20: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-01 20:15:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20: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-01 20: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-01 20:15:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:15:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:15:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:15:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:15:58] local.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-01 20:15:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:15:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:15:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426764288001,"66":27310,"119":206,"85":36096,"24":39,"16":333834789872205824,"44":-5892115655255144448},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,44]} 
[2026-07-01 20:15:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:15:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:15:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426764288001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:15:58] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-07-01 20:15:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 20:15:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333834789872205824,"km_value":333834789872205.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:15:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5892115655255144448,"description":"Unknown IO ID 44"} 
[2026-07-01 20:15:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426764288001,"power":27310,"unknown_119":206,"unknown_85":36096,"ignition":39,"odometer":null,"unknown_44":-5892115655255144448}} 
[2026-07-01 20:15:58] local.INFO: DEBUG: GPS processor result {"connection_id":119266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:15:58] local.INFO: GPS data processed {"connection_id":119266,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:15:58] local.INFO: Acknowledgment sent {"connection_id":119266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:16:19] local.INFO: TCP Data received {"connection_id":119385,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:16:19] local.INFO: Processing buffer {"connection_id":119385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:16:19] local.INFO: IMEI packet received {"connection_id":119385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 20:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":119385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:16:24] local.INFO: TCP Data received {"connection_id":119385,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:16:24] local.INFO: Processing buffer {"connection_id":119385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:16:24] local.INFO: IMEI packet received {"connection_id":119385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":119385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:16:24] local.INFO: TCP Data received {"connection_id":119385,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:16:24] local.INFO: Processing buffer {"connection_id":119385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:16:24] local.INFO: IMEI packet received {"connection_id":119385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":119385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:16:25] local.INFO: TCP Data received {"connection_id":119385,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e246ee0012cad2d400780c4e0001c015226..."} 
[2026-07-01 20:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e246ee0012cad2d400780c4e0001c015226..."} 
[2026-07-01 20:16:25] local.INFO: Processing buffer {"connection_id":119385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e246ee0012cad2d400780c4e0001c015226..."} 
[2026-07-01 20:16:25] local.INFO: Packet analysis {"connection_id":119385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e24"} 
[2026-07-01 20:16:25] local.INFO: Extracted packet for processing {"connection_id":119385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e24"} 
[2026-07-01 20:16:25] local.INFO: GPS Element Parsed {"raw_longitude":749546816,"raw_latitude":125879520,"longitude_deg":74.9546816,"latitude_deg":12.587952,"altitude":28,"angle":338,"satellites":38,"speed":30,"hex_longitude":"2cad2d40","hex_latitude":"0780c4e0","is_valid_coordinates":true} 
[2026-07-01 20:16:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:16:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426785280001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:16:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333837826414084096,"note":"Value kept but may cause issues"} 
[2026-07-01 20:16:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5967269474041098240,"note":"Value kept but may cause issues"} 
[2026-07-01 20:16:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:16:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782917132000,"timestamp_ms":1782917132000,"timestamp_seconds":1782917132,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e246ee0"} 
[2026-07-01 20:16:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:16:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 20:16:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 20:16:25] 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-01 20:16:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:16:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:16:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:16:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:16:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:16:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:16:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 20:16:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:16:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:16:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426785280001,"66":27539,"119":206,"85":36096,"24":30,"16":333837826414084096,"44":-5967269474041098240},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,44]} 
[2026-07-01 20:16:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:16:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:16:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426785280001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:16:25] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-07-01 20:16:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 20:16:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333837826414084096,"km_value":333837826414084.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:16:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5967269474041098240,"description":"Unknown IO ID 44"} 
[2026-07-01 20:16:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426785280001,"power":27539,"unknown_119":206,"unknown_85":36096,"ignition":30,"odometer":null,"unknown_44":-5967269474041098240}} 
[2026-07-01 20:16:25] local.INFO: DEBUG: GPS processor result {"connection_id":119385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:16:25] local.INFO: GPS data processed {"connection_id":119385,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:16:25] local.INFO: Acknowledgment sent {"connection_id":119385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:16:27] local.INFO: TCP Data received {"connection_id":119385,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e247e80012cad28c00780cfa8001c014626..."} 
[2026-07-01 20:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e247e80012cad28c00780cfa8001c014626..."} 
[2026-07-01 20:16:27] local.INFO: Processing buffer {"connection_id":119385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e247e80012cad28c00780cfa8001c014626..."} 
[2026-07-01 20:16:27] local.INFO: Packet analysis {"connection_id":119385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e24"} 
[2026-07-01 20:16:27] local.INFO: Extracted packet for processing {"connection_id":119385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e24"} 
[2026-07-01 20:16:27] local.INFO: GPS Element Parsed {"raw_longitude":749545664,"raw_latitude":125882280,"longitude_deg":74.9545664,"latitude_deg":12.588228,"altitude":28,"angle":326,"satellites":38,"speed":29,"hex_longitude":"2cad28c0","hex_latitude":"0780cfa8","is_valid_coordinates":true} 
[2026-07-01 20:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426785792001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333837968148004864,"note":"Value kept but may cause issues"} 
[2026-07-01 20:16:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5968043530226704384,"note":"Value kept but may cause issues"} 
[2026-07-01 20:16:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782917136000,"timestamp_ms":1782917136000,"timestamp_seconds":1782917136,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e247e80"} 
[2026-07-01 20:16:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:16:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 20:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-01 20:16:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20:16:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:16:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:16:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 20:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426785792001,"66":27658,"119":206,"85":36096,"24":29,"16":333837968148004864,"44":-5968043530226704384},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,44]} 
[2026-07-01 20:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426785792001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:16:27] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-07-01 20:16:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 20:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333837968148004864,"km_value":333837968148004.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:16:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5968043530226704384,"description":"Unknown IO ID 44"} 
[2026-07-01 20:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426785792001,"power":27658,"unknown_119":206,"unknown_85":36096,"ignition":29,"odometer":null,"unknown_44":-5968043530226704384}} 
[2026-07-01 20:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":119385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:16:27] local.INFO: GPS data processed {"connection_id":119385,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:16:27] local.INFO: Acknowledgment sent {"connection_id":119385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:16:58] local.INFO: TCP Data received {"connection_id":119385,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e24f798012cace1c00780e930001d000028..."} 
[2026-07-01 20:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e24f798012cace1c00780e930001d000028..."} 
[2026-07-01 20:16:58] local.INFO: Processing buffer {"connection_id":119385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e24f798012cace1c00780e930001d000028..."} 
[2026-07-01 20:16:58] local.INFO: Packet analysis {"connection_id":119385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e24"} 
[2026-07-01 20:16:58] local.INFO: Extracted packet for processing {"connection_id":119385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e24"} 
[2026-07-01 20:16:58] local.INFO: GPS Element Parsed {"raw_longitude":749527488,"raw_latitude":125888816,"longitude_deg":74.9527488,"latitude_deg":12.5888816,"altitude":29,"angle":0,"satellites":40,"speed":22,"hex_longitude":"2cace1c0","hex_latitude":"0780e930","is_valid_coordinates":true} 
[2026-07-01 20: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-01 20:16:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426794240001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:16:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333838990350221312,"note":"Value kept but may cause issues"} 
[2026-07-01 20:16:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5989083784733736960,"note":"Value kept but may cause issues"} 
[2026-07-01 20:16:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:16:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782917167000,"timestamp_ms":1782917167000,"timestamp_seconds":1782917167,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e24f798"} 
[2026-07-01 20: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-01 20:16:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 20: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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-01 20:16:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20: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-01 20: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-01 20:16:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:16:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:16:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:16:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:16:58] local.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-01 20:16:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:16:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:16:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426794240001,"66":27713,"119":206,"85":36096,"24":22,"16":333838990350221312,"44":-5989083784733736960},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,44]} 
[2026-07-01 20:16:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:16:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:16:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426794240001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:16:58] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-07-01 20:16:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 20:16:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333838990350221312,"km_value":333838990350221.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:16:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5989083784733736960,"description":"Unknown IO ID 44"} 
[2026-07-01 20:16:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426794240001,"power":27713,"unknown_119":206,"unknown_85":36096,"ignition":22,"odometer":null,"unknown_44":-5989083784733736960}} 
[2026-07-01 20:16:58] local.INFO: DEBUG: GPS processor result {"connection_id":119385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:16:58] local.INFO: GPS data processed {"connection_id":119385,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:16:58] local.INFO: Acknowledgment sent {"connection_id":119385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:17:19] local.INFO: TCP Data received {"connection_id":121129,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:17:19] local.INFO: Processing buffer {"connection_id":121129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:17:19] local.INFO: IMEI packet received {"connection_id":121129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 20:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":121129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:17:25] local.INFO: TCP Data received {"connection_id":121129,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:17:25] local.INFO: Processing buffer {"connection_id":121129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:17:25] local.INFO: IMEI packet received {"connection_id":121129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":121129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:17:26] local.INFO: TCP Data received {"connection_id":121129,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e24ff68012cace2800780ed80001e000d28..."} 
[2026-07-01 20:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e24ff68012cace2800780ed80001e000d28..."} 
[2026-07-01 20:17:26] local.INFO: Processing buffer {"connection_id":121129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e24ff68012cace2800780ed80001e000d28..."} 
[2026-07-01 20:17:26] local.INFO: Packet analysis {"connection_id":121129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e24"} 
[2026-07-01 20:17:26] local.INFO: Extracted packet for processing {"connection_id":121129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e24"} 
[2026-07-01 20:17:26] local.INFO: GPS Element Parsed {"raw_longitude":749527680,"raw_latitude":125889920,"longitude_deg":74.952768,"latitude_deg":12.588992,"altitude":30,"angle":13,"satellites":40,"speed":21,"hex_longitude":"2cace280","hex_latitude":"0780ed80","is_valid_coordinates":true} 
[2026-07-01 20:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:17:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426794752001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:17:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333839046184796160,"note":"Value kept but may cause issues"} 
[2026-07-01 20:17:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5989294890965979136,"note":"Value kept but may cause issues"} 
[2026-07-01 20:17:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:17:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782917169000,"timestamp_ms":1782917169000,"timestamp_seconds":1782917169,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e24ff68"} 
[2026-07-01 20:17:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:17:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 20:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-01 20:17:26] 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-01 20:17:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:17:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:17:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:17:26] local.INFO: Teltonika packet parsed successfully {"connection_id":121129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:17:26] local.INFO: Passing IMEI to GPS processor {"connection_id":121129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:17:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":121129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:17:26] local.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-01 20:17:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:17:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:17:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426794752001,"66":27517,"119":206,"85":36096,"24":21,"16":333839046184796160,"44":-5989294890965979136},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,44]} 
[2026-07-01 20:17:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:17:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:17:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426794752001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:17:26] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-07-01 20:17:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 20:17:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333839046184796160,"km_value":333839046184796.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:17:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5989294890965979136,"description":"Unknown IO ID 44"} 
[2026-07-01 20:17:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426794752001,"power":27517,"unknown_119":206,"unknown_85":36096,"ignition":21,"odometer":null,"unknown_44":-5989294890965979136}} 
[2026-07-01 20:17:26] local.INFO: DEBUG: GPS processor result {"connection_id":121129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:17:26] local.INFO: GPS data processed {"connection_id":121129,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:17:26] local.INFO: Acknowledgment sent {"connection_id":121129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:17:57] local.INFO: TCP Data received {"connection_id":121129,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e25e9c8012cac7800078170880019012e28..."} 
[2026-07-01 20:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e25e9c8012cac7800078170880019012e28..."} 
[2026-07-01 20:17:57] local.INFO: Processing buffer {"connection_id":121129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e25e9c8012cac7800078170880019012e28..."} 
[2026-07-01 20:17:57] local.INFO: Packet analysis {"connection_id":121129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e25"} 
[2026-07-01 20:17:57] local.INFO: Extracted packet for processing {"connection_id":121129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e25"} 
[2026-07-01 20:17:57] local.INFO: GPS Element Parsed {"raw_longitude":749500416,"raw_latitude":125923464,"longitude_deg":74.9500416,"latitude_deg":12.5923464,"altitude":25,"angle":302,"satellites":40,"speed":34,"hex_longitude":"2cac7800","hex_latitude":"07817088","is_valid_coordinates":true} 
[2026-07-01 20:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:17:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426809856001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:17:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333841348287266816,"note":"Value kept but may cause issues"} 
[2026-07-01 20:17:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6016668332442650624,"note":"Value kept but may cause issues"} 
[2026-07-01 20:17:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:17:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782917229000,"timestamp_ms":1782917229000,"timestamp_seconds":1782917229,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e25e9c8"} 
[2026-07-01 20:17:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:17:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 20:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 20:17:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20:17:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:17:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:17:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:17:57] local.INFO: Teltonika packet parsed successfully {"connection_id":121129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:17:57] local.INFO: Passing IMEI to GPS processor {"connection_id":121129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:17:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":121129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:17:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 20:17:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:17:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:17:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426809856001,"66":27376,"195":206,"85":36096,"24":34,"16":333841348287266816,"44":-6016668332442650624},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,44]} 
[2026-07-01 20:17:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:17:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:17:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426809856001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:17:57] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-01 20:17:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 20:17:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333841348287266816,"km_value":333841348287266.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:17:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6016668332442650624,"description":"Unknown IO ID 44"} 
[2026-07-01 20:17:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426809856001,"power":27376,"unknown_195":206,"unknown_85":36096,"ignition":34,"odometer":null,"unknown_44":-6016668332442650624}} 
[2026-07-01 20:17:57] local.INFO: DEBUG: GPS processor result {"connection_id":121129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:17:57] local.INFO: GPS data processed {"connection_id":121129,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:17:57] local.INFO: Acknowledgment sent {"connection_id":121129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:18:23] local.INFO: TCP Data received {"connection_id":119267,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:18:23] local.INFO: Processing buffer {"connection_id":119267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:18:23] local.INFO: IMEI packet received {"connection_id":119267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 20:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":119267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:18:24] local.INFO: TCP Data received {"connection_id":119267,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:18:24] local.INFO: Processing buffer {"connection_id":119267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:18:24] local.INFO: IMEI packet received {"connection_id":119267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":119267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:18:30] local.INFO: TCP Data received {"connection_id":119267,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:18:30] local.INFO: Processing buffer {"connection_id":119267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:18:30] local.INFO: IMEI packet received {"connection_id":119267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":119267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:18:31] local.INFO: TCP Data received {"connection_id":119267,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e25f580012cac6f00078174a00019011d28..."} 
[2026-07-01 20:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e25f580012cac6f00078174a00019011d28..."} 
[2026-07-01 20:18:31] local.INFO: Processing buffer {"connection_id":119267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e25f580012cac6f00078174a00019011d28..."} 
[2026-07-01 20:18:31] local.INFO: Packet analysis {"connection_id":119267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e25"} 
[2026-07-01 20:18:31] local.INFO: Extracted packet for processing {"connection_id":119267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e25"} 
[2026-07-01 20:18:31] local.INFO: GPS Element Parsed {"raw_longitude":749498112,"raw_latitude":125924512,"longitude_deg":74.9498112,"latitude_deg":12.5924512,"altitude":25,"angle":285,"satellites":40,"speed":33,"hex_longitude":"2cac6f00","hex_latitude":"078174a0","is_valid_coordinates":true} 
[2026-07-01 20:18:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426810624001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333841468546351104,"note":"Value kept but may cause issues"} 
[2026-07-01 20:18:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6019060869744261120,"note":"Value kept but may cause issues"} 
[2026-07-01 20:18:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782917232000,"timestamp_ms":1782917232000,"timestamp_seconds":1782917232,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e25f580"} 
[2026-07-01 20:18:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:18:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 20:18:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-01 20:18:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20:18:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:18:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:18:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 20:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426810624001,"66":27376,"195":206,"85":36096,"24":33,"16":333841468546351104,"44":-6019060869744261120},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,44]} 
[2026-07-01 20:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426810624001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:18:31] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-01 20:18:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 20:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333841468546351104,"km_value":333841468546351.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:18:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6019060869744261120,"description":"Unknown IO ID 44"} 
[2026-07-01 20:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426810624001,"power":27376,"unknown_195":206,"unknown_85":36096,"ignition":33,"odometer":null,"unknown_44":-6019060869744261120}} 
[2026-07-01 20:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":119267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:18:31] local.INFO: GPS data processed {"connection_id":119267,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:18:31] local.INFO: Acknowledgment sent {"connection_id":119267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:18:44] local.INFO: TCP Data received {"connection_id":120067,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120067,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:18:44] local.INFO: Processing buffer {"connection_id":120067,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:18:44] local.INFO: IMEI packet received {"connection_id":120067,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 20:18:44] local.INFO: IMEI acknowledgment sent {"connection_id":120067,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:19:02] local.INFO: TCP Data received {"connection_id":119267,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e260138012cac6500078176400018011228..."} 
[2026-07-01 20:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e260138012cac6500078176400018011228..."} 
[2026-07-01 20:19:02] local.INFO: Processing buffer {"connection_id":119267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e260138012cac6500078176400018011228..."} 
[2026-07-01 20:19:02] local.INFO: Packet analysis {"connection_id":119267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e26"} 
[2026-07-01 20:19:02] local.INFO: Extracted packet for processing {"connection_id":119267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e26"} 
[2026-07-01 20:19:02] local.INFO: GPS Element Parsed {"raw_longitude":749495552,"raw_latitude":125924928,"longitude_deg":74.9495552,"latitude_deg":12.5924928,"altitude":24,"angle":274,"satellites":40,"speed":33,"hex_longitude":"2cac6500","hex_latitude":"07817640","is_valid_coordinates":true} 
[2026-07-01 20:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426811392001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333841593100402688,"note":"Value kept but may cause issues"} 
[2026-07-01 20:19:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6021594144534388736,"note":"Value kept but may cause issues"} 
[2026-07-01 20:19:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782917235000,"timestamp_ms":1782917235000,"timestamp_seconds":1782917235,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e260138"} 
[2026-07-01 20:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:19:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 20:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-01 20:19:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20:19:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":119267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":119267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":119267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:19:02] local.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-01 20:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426811392001,"66":27376,"195":206,"85":36096,"24":33,"16":333841593100402688,"44":-6021594144534388736},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,44]} 
[2026-07-01 20:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426811392001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:19:02] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-07-01 20:19:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 20:19:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333841593100402688,"km_value":333841593100402.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:19:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6021594144534388736,"description":"Unknown IO ID 44"} 
[2026-07-01 20:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426811392001,"power":27376,"unknown_195":206,"unknown_85":36096,"ignition":33,"odometer":null,"unknown_44":-6021594144534388736}} 
[2026-07-01 20:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":119267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:19:02] local.INFO: GPS data processed {"connection_id":119267,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:19:02] local.INFO: Acknowledgment sent {"connection_id":119267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:19:15] local.INFO: TCP Data received {"connection_id":121130,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121130,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:19:15] local.INFO: Processing buffer {"connection_id":121130,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:19:15] local.INFO: IMEI packet received {"connection_id":121130,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 20:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":121130,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:19:20] local.INFO: TCP Data received {"connection_id":120068,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:19:20] local.INFO: Processing buffer {"connection_id":120068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:19:20] local.INFO: IMEI packet received {"connection_id":120068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 20:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":120068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:19:25] local.INFO: TCP Data received {"connection_id":120068,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:19:25] local.INFO: Processing buffer {"connection_id":120068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:19:25] local.INFO: IMEI packet received {"connection_id":120068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":120068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:19:50] local.INFO: TCP Data received {"connection_id":120068,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e271690012cab824007818fd8001800d425..."} 
[2026-07-01 20:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e271690012cab824007818fd8001800d425..."} 
[2026-07-01 20:19:50] local.INFO: Processing buffer {"connection_id":120068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e271690012cab824007818fd8001800d425..."} 
[2026-07-01 20:19:50] local.INFO: Packet analysis {"connection_id":120068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e27"} 
[2026-07-01 20:19:50] local.INFO: Extracted packet for processing {"connection_id":120068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e27"} 
[2026-07-01 20:19:50] local.INFO: GPS Element Parsed {"raw_longitude":749437504,"raw_latitude":125931480,"longitude_deg":74.9437504,"latitude_deg":12.593148,"altitude":24,"angle":212,"satellites":37,"speed":16,"hex_longitude":"2cab8240","hex_latitude":"07818fd8","is_valid_coordinates":true} 
[2026-07-01 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-01 20:19:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426830080001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:19:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333844384829145088,"note":"Value kept but may cause issues"} 
[2026-07-01 20:19:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6088022239036235776,"note":"Value kept but may cause issues"} 
[2026-07-01 20:19:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:19:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782917306000,"timestamp_ms":1782917306000,"timestamp_seconds":1782917306,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e271690"} 
[2026-07-01 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-01 20:19: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-01 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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-01 20:19:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 20:19:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:19:50] local.INFO: Teltonika packet parsed successfully {"connection_id":120068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:19:50] local.INFO: Passing IMEI to GPS processor {"connection_id":120068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:19:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":120068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:19: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-01 20:19:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:19:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:19:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426830080001,"66":27604,"196":206,"85":36096,"24":16,"16":333844384829145088,"44":-6088022239036235776},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,44]} 
[2026-07-01 20:19:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:19:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:19:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426830080001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:19:50] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-01 20:19:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 20:19:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333844384829145088,"km_value":333844384829145.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:19:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6088022239036235776,"description":"Unknown IO ID 44"} 
[2026-07-01 20:19:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426830080001,"power":27604,"unknown_196":206,"unknown_85":36096,"ignition":16,"odometer":null,"unknown_44":-6088022239036235776}} 
[2026-07-01 20:19:50] local.INFO: DEBUG: GPS processor result {"connection_id":120068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:19:50] local.INFO: GPS data processed {"connection_id":120068,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:19:50] local.INFO: Acknowledgment sent {"connection_id":120068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:20:18] local.INFO: TCP Data received {"connection_id":121131,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:20:18] local.INFO: Processing buffer {"connection_id":121131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:20:18] local.INFO: IMEI packet received {"connection_id":121131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 20:20:18] local.INFO: IMEI acknowledgment sent {"connection_id":121131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:20:19] local.INFO: TCP Data received {"connection_id":121131,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:20:19] local.INFO: Processing buffer {"connection_id":121131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:20:19] local.INFO: IMEI packet received {"connection_id":121131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":121131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:20:25] local.INFO: TCP Data received {"connection_id":121131,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:20:25] local.INFO: Processing buffer {"connection_id":121131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:20:25] local.INFO: IMEI packet received {"connection_id":121131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:20:25] local.INFO: IMEI acknowledgment sent {"connection_id":121131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:20:26] local.INFO: TCP Data received {"connection_id":121131,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e271a78012cab818007818e50001700c425..."} 
[2026-07-01 20:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e271a78012cab818007818e50001700c425..."} 
[2026-07-01 20:20:26] local.INFO: Processing buffer {"connection_id":121131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e271a78012cab818007818e50001700c425..."} 
[2026-07-01 20:20:26] local.INFO: Packet analysis {"connection_id":121131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e27"} 
[2026-07-01 20:20:26] local.INFO: Extracted packet for processing {"connection_id":121131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e27"} 
[2026-07-01 20:20:26] local.INFO: GPS Element Parsed {"raw_longitude":749437312,"raw_latitude":125931088,"longitude_deg":74.9437312,"latitude_deg":12.5931088,"altitude":23,"angle":196,"satellites":37,"speed":16,"hex_longitude":"2cab8180","hex_latitude":"07818e50","is_valid_coordinates":true} 
[2026-07-01 20:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:20:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426830336001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:20:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333844402009014272,"note":"Value kept but may cause issues"} 
[2026-07-01 20:20:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6088233345268852736,"note":"Value kept but may cause issues"} 
[2026-07-01 20:20:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:20:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782917307000,"timestamp_ms":1782917307000,"timestamp_seconds":1782917307,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e271a78"} 
[2026-07-01 20:20:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:20: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-01 20:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-01 20:20:26] 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-01 20:20:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:20:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:20:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:20:26] local.INFO: Teltonika packet parsed successfully {"connection_id":121131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:20:26] local.INFO: Passing IMEI to GPS processor {"connection_id":121131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:20:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":121131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:20:26] local.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-01 20:20:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:20:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:20:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426830336001,"66":27517,"196":206,"85":36096,"24":16,"16":333844402009014272,"44":-6088233345268852736},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,44]} 
[2026-07-01 20:20:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:20:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:20:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426830336001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:20:26] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-01 20:20:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 20:20:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333844402009014272,"km_value":333844402009014.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:20:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6088233345268852736,"description":"Unknown IO ID 44"} 
[2026-07-01 20:20:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426830336001,"power":27517,"unknown_196":206,"unknown_85":36096,"ignition":16,"odometer":null,"unknown_44":-6088233345268852736}} 
[2026-07-01 20:20:26] local.INFO: DEBUG: GPS processor result {"connection_id":121131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:20:26] local.INFO: GPS data processed {"connection_id":121131,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:20:26] local.INFO: Acknowledgment sent {"connection_id":121131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:20:56] local.INFO: TCP Data received {"connection_id":121131,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e271e60012cab814007818cb0001700b327..."} 
[2026-07-01 20:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e271e60012cab814007818cb0001700b327..."} 
[2026-07-01 20:20:57] local.INFO: Processing buffer {"connection_id":121131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e271e60012cab814007818cb0001700b327..."} 
[2026-07-01 20:20:57] local.INFO: Packet analysis {"connection_id":121131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e27"} 
[2026-07-01 20:20:57] local.INFO: Extracted packet for processing {"connection_id":121131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e27"} 
[2026-07-01 20:20:57] local.INFO: GPS Element Parsed {"raw_longitude":749437248,"raw_latitude":125930672,"longitude_deg":74.9437248,"latitude_deg":12.5930672,"altitude":23,"angle":179,"satellites":39,"speed":16,"hex_longitude":"2cab8140","hex_latitude":"07818cb0","is_valid_coordinates":true} 
[2026-07-01 20:20:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:20:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426830592001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:20:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333844423483850752,"note":"Value kept but may cause issues"} 
[2026-07-01 20:20:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6088444451501486080,"note":"Value kept but may cause issues"} 
[2026-07-01 20:20:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:20:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782917308000,"timestamp_ms":1782917308000,"timestamp_seconds":1782917308,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e271e60"} 
[2026-07-01 20:20:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:20:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 20:20:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-01 20:20:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20:20:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:20:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:20:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:20:57] local.INFO: Teltonika packet parsed successfully {"connection_id":121131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:20:57] local.INFO: Passing IMEI to GPS processor {"connection_id":121131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:20:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":121131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:20:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 20:20:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:20:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:20:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426830592001,"66":27517,"196":206,"85":36096,"24":16,"16":333844423483850752,"44":-6088444451501486080},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,44]} 
[2026-07-01 20:20:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:20:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:20:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426830592001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:20:57] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-01 20:20:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 20:20:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333844423483850752,"km_value":333844423483850.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:20:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6088444451501486080,"description":"Unknown IO ID 44"} 
[2026-07-01 20:20:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426830592001,"power":27517,"unknown_196":206,"unknown_85":36096,"ignition":16,"odometer":null,"unknown_44":-6088444451501486080}} 
[2026-07-01 20:20:57] local.INFO: DEBUG: GPS processor result {"connection_id":121131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:20:57] local.INFO: GPS data processed {"connection_id":121131,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:20:57] local.INFO: Acknowledgment sent {"connection_id":121131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:21:19] local.INFO: TCP Data received {"connection_id":119388,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:21:19] local.INFO: Processing buffer {"connection_id":119388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:21:19] local.INFO: IMEI packet received {"connection_id":119388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 20:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":119388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:21:20] local.INFO: TCP Data received {"connection_id":119388,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:21:20] local.INFO: Processing buffer {"connection_id":119388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:21:20] local.INFO: IMEI packet received {"connection_id":119388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:21:20] local.INFO: IMEI acknowledgment sent {"connection_id":119388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:21:24] local.INFO: TCP Data received {"connection_id":119388,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:21:24] local.INFO: Processing buffer {"connection_id":119388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:21:24] local.INFO: IMEI packet received {"connection_id":119388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":119388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:21:25] local.INFO: TCP Data received {"connection_id":119388,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e28d7c8012cabf800078020600010009928..."} 
[2026-07-01 20:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e28d7c8012cabf800078020600010009928..."} 
[2026-07-01 20:21:25] local.INFO: Processing buffer {"connection_id":119388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e28d7c8012cabf800078020600010009928..."} 
[2026-07-01 20:21:25] local.INFO: Packet analysis {"connection_id":119388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e28"} 
[2026-07-01 20:21:25] local.INFO: Extracted packet for processing {"connection_id":119388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e28"} 
[2026-07-01 20:21:25] local.INFO: GPS Element Parsed {"raw_longitude":749467648,"raw_latitude":125837408,"longitude_deg":74.9467648,"latitude_deg":12.5837408,"altitude":16,"angle":153,"satellites":40,"speed":31,"hex_longitude":"2cabf800","hex_latitude":"07802060","is_valid_coordinates":true} 
[2026-07-01 20:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426857472001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333849190897549312,"note":"Value kept but may cause issues"} 
[2026-07-01 20:21:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6059804372643155968,"note":"Value kept but may cause issues"} 
[2026-07-01 20:21:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782917421000,"timestamp_ms":1782917421000,"timestamp_seconds":1782917421,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e28d7c8"} 
[2026-07-01 20:21:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:21:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 20:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-01 20:21:25] 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-01 20:21:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:21:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:21:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 20:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426857472001,"66":27484,"61":206,"85":36096,"24":31,"16":333849190897549312,"44":-6059804372643155968},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,44]} 
[2026-07-01 20:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426857472001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:21:25] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 20:21:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 20:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333849190897549312,"km_value":333849190897549.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:21:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6059804372643155968,"description":"Unknown IO ID 44"} 
[2026-07-01 20:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426857472001,"power":27484,"unknown_61":206,"unknown_85":36096,"ignition":31,"odometer":null,"unknown_44":-6059804372643155968}} 
[2026-07-01 20:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":119388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:21:25] local.INFO: GPS data processed {"connection_id":119388,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:21:25] local.INFO: Acknowledgment sent {"connection_id":119388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:21:56] local.INFO: TCP Data received {"connection_id":119388,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e28e768012cabfc0007801708001000a52a..."} 
[2026-07-01 20:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e28e768012cabfc0007801708001000a52a..."} 
[2026-07-01 20:21:56] local.INFO: Processing buffer {"connection_id":119388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e28e768012cabfc0007801708001000a52a..."} 
[2026-07-01 20:21:56] local.INFO: Packet analysis {"connection_id":119388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e28"} 
[2026-07-01 20:21:56] local.INFO: Extracted packet for processing {"connection_id":119388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e28"} 
[2026-07-01 20:21:56] local.INFO: GPS Element Parsed {"raw_longitude":749468672,"raw_latitude":125835016,"longitude_deg":74.9468672,"latitude_deg":12.5835016,"altitude":16,"angle":165,"satellites":42,"speed":22,"hex_longitude":"2cabfc00","hex_latitude":"07801708","is_valid_coordinates":true} 
[2026-07-01 20:21:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426859776001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333849319746568192,"note":"Value kept but may cause issues"} 
[2026-07-01 20:21:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6055089666785255424,"note":"Value kept but may cause issues"} 
[2026-07-01 20:21:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782917425000,"timestamp_ms":1782917425000,"timestamp_seconds":1782917425,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e28e768"} 
[2026-07-01 20:21:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:21: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-01 20:21:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 20:21:56] 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-01 20:21:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:21:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":119388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":119388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":119388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:21:56] local.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-01 20:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426859776001,"66":27539,"61":206,"85":36096,"24":22,"16":333849319746568192,"44":-6055089666785255424},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,44]} 
[2026-07-01 20:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426859776001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:21:56] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 20:21:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 20:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333849319746568192,"km_value":333849319746568.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:21:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6055089666785255424,"description":"Unknown IO ID 44"} 
[2026-07-01 20:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426859776001,"power":27539,"unknown_61":206,"unknown_85":36096,"ignition":22,"odometer":null,"unknown_44":-6055089666785255424}} 
[2026-07-01 20:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":119388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:21:56] local.INFO: GPS data processed {"connection_id":119388,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:21:56] local.INFO: Acknowledgment sent {"connection_id":119388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:22:19] local.INFO: TCP Data received {"connection_id":120070,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:22:19] local.INFO: Processing buffer {"connection_id":120070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:22:19] local.INFO: IMEI packet received {"connection_id":120070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 20:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":120070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:22:23] local.INFO: TCP Data received {"connection_id":120070,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:22:23] local.INFO: Processing buffer {"connection_id":120070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:22:23] local.INFO: IMEI packet received {"connection_id":120070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":120070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:22:24] local.INFO: TCP Data received {"connection_id":120070,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:22:24] local.INFO: Processing buffer {"connection_id":120070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:22:24] local.INFO: IMEI packet received {"connection_id":120070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":120070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:22:25] local.INFO: TCP Data received {"connection_id":120070,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e28f320012cabfdc0078011200011009a2b..."} 
[2026-07-01 20:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e28f320012cabfdc0078011200011009a2b..."} 
[2026-07-01 20:22:25] local.INFO: Processing buffer {"connection_id":120070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e28f320012cabfdc0078011200011009a2b..."} 
[2026-07-01 20:22:25] local.INFO: Packet analysis {"connection_id":120070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e28"} 
[2026-07-01 20:22:25] local.INFO: Extracted packet for processing {"connection_id":120070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e28"} 
[2026-07-01 20:22:25] local.INFO: GPS Element Parsed {"raw_longitude":749469120,"raw_latitude":125833504,"longitude_deg":74.946912,"latitude_deg":12.5833504,"altitude":17,"angle":154,"satellites":43,"speed":21,"hex_longitude":"2cabfdc0","hex_latitude":"07801120","is_valid_coordinates":true} 
[2026-07-01 20:22:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:22:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426860800001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:22:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333849397055979520,"note":"Value kept but may cause issues"} 
[2026-07-01 20:22:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6053963766879025152,"note":"Value kept but may cause issues"} 
[2026-07-01 20:22:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:22:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782917428000,"timestamp_ms":1782917428000,"timestamp_seconds":1782917428,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e28f320"} 
[2026-07-01 20:22:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:22:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 20:22:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-01 20:22:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20:22:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:22:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:22:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:22:25] local.INFO: Teltonika packet parsed successfully {"connection_id":120070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:22:25] local.INFO: Passing IMEI to GPS processor {"connection_id":120070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:22:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":120070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:22:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 20:22:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:22:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:22:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426860800001,"66":27571,"61":206,"85":36096,"24":21,"16":333849397055979520,"44":-6053963766879025152},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,44]} 
[2026-07-01 20:22:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:22:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:22:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426860800001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:22:25] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 20:22:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 20:22:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333849397055979520,"km_value":333849397055979.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:22:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6053963766879025152,"description":"Unknown IO ID 44"} 
[2026-07-01 20:22:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426860800001,"power":27571,"unknown_61":206,"unknown_85":36096,"ignition":21,"odometer":null,"unknown_44":-6053963766879025152}} 
[2026-07-01 20:22:25] local.INFO: DEBUG: GPS processor result {"connection_id":120070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:22:25] local.INFO: GPS data processed {"connection_id":120070,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:22:25] local.INFO: Acknowledgment sent {"connection_id":120070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:22:30] local.INFO: TCP Data received {"connection_id":120070,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e2929d0012cac0f40077ff260001200932b..."} 
[2026-07-01 20:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e2929d0012cac0f40077ff260001200932b..."} 
[2026-07-01 20:22:30] local.INFO: Processing buffer {"connection_id":120070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e2929d0012cac0f40077ff260001200932b..."} 
[2026-07-01 20:22:30] local.INFO: Packet analysis {"connection_id":120070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e29"} 
[2026-07-01 20:22:30] local.INFO: Extracted packet for processing {"connection_id":120070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e29"} 
[2026-07-01 20:22:30] local.INFO: GPS Element Parsed {"raw_longitude":749473600,"raw_latitude":125825632,"longitude_deg":74.94736,"latitude_deg":12.5825632,"altitude":18,"angle":147,"satellites":43,"speed":30,"hex_longitude":"2cac0f40","hex_latitude":"077ff260","is_valid_coordinates":true} 
[2026-07-01 20:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426861568001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333849830847676416,"note":"Value kept but may cause issues"} 
[2026-07-01 20:22:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6053471185670168576,"note":"Value kept but may cause issues"} 
[2026-07-01 20:22:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782917442000,"timestamp_ms":1782917442000,"timestamp_seconds":1782917442,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e2929d0"} 
[2026-07-01 20:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 20:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-01 20:22:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20:22:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":120070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":120070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":120070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:22:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 20:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426861568001,"66":27517,"61":206,"85":36096,"24":30,"16":333849830847676416,"44":-6053471185670168576},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,44]} 
[2026-07-01 20:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426861568001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:22:30] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 20:22:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 20:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333849830847676416,"km_value":333849830847676.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:22:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6053471185670168576,"description":"Unknown IO ID 44"} 
[2026-07-01 20:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426861568001,"power":27517,"unknown_61":206,"unknown_85":36096,"ignition":30,"odometer":null,"unknown_44":-6053471185670168576}} 
[2026-07-01 20:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":120070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:22:30] local.INFO: GPS data processed {"connection_id":120070,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:22:30] local.INFO: Acknowledgment sent {"connection_id":120070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:23:07] local.INFO: TCP Data received {"connection_id":120070,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e2950e0012cac22c0077fd540001200912b..."} 
[2026-07-01 20:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e2950e0012cac22c0077fd540001200912b..."} 
[2026-07-01 20:23:07] local.INFO: Processing buffer {"connection_id":120070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e2950e0012cac22c0077fd540001200912b..."} 
[2026-07-01 20:23:07] local.INFO: Packet analysis {"connection_id":120070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e29"} 
[2026-07-01 20:23:07] local.INFO: Extracted packet for processing {"connection_id":120070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e29"} 
[2026-07-01 20:23:07] local.INFO: GPS Element Parsed {"raw_longitude":749478592,"raw_latitude":125818176,"longitude_deg":74.9478592,"latitude_deg":12.5818176,"altitude":18,"angle":145,"satellites":43,"speed":40,"hex_longitude":"2cac22c0","hex_latitude":"077fd540","is_valid_coordinates":true} 
[2026-07-01 20:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426865152001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333850264639373312,"note":"Value kept but may cause issues"} 
[2026-07-01 20:23:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6048545373579747328,"note":"Value kept but may cause issues"} 
[2026-07-01 20:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782917452000,"timestamp_ms":1782917452000,"timestamp_seconds":1782917452,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e2950e0"} 
[2026-07-01 20:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 20:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-01 20:23:07] 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-01 20:23:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":120070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":120070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":120070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 20:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426865152001,"66":27397,"60":206,"85":36096,"24":40,"16":333850264639373312,"44":-6048545373579747328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,44]} 
[2026-07-01 20:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426865152001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:23:07] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-07-01 20:23:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 20:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333850264639373312,"km_value":333850264639373.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:23:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6048545373579747328,"description":"Unknown IO ID 44"} 
[2026-07-01 20:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426865152001,"power":27397,"unknown_60":206,"unknown_85":36096,"ignition":40,"odometer":null,"unknown_44":-6048545373579747328}} 
[2026-07-01 20:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":120070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:23:07] local.INFO: GPS data processed {"connection_id":120070,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:23:07] local.INFO: Acknowledgment sent {"connection_id":120070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:23:19] local.INFO: TCP Data received {"connection_id":119270,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:23:19] local.INFO: Processing buffer {"connection_id":119270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:23:19] local.INFO: IMEI packet received {"connection_id":119270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 20:23:19] local.INFO: IMEI acknowledgment sent {"connection_id":119270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:23:24] local.INFO: TCP Data received {"connection_id":119270,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:23:24] local.INFO: Processing buffer {"connection_id":119270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:23:24] local.INFO: IMEI packet received {"connection_id":119270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":119270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:23:25] local.INFO: TCP Data received {"connection_id":119270,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e2aa0d0012cacd000077e6688001000a32c..."} 
[2026-07-01 20:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e2aa0d0012cacd000077e6688001000a32c..."} 
[2026-07-01 20:23:25] local.INFO: Processing buffer {"connection_id":119270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e2aa0d0012cacd000077e6688001000a32c..."} 
[2026-07-01 20:23:25] local.INFO: Packet analysis {"connection_id":119270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e2a"} 
[2026-07-01 20:23:25] local.INFO: Extracted packet for processing {"connection_id":119270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e2a"} 
[2026-07-01 20:23:25] local.INFO: GPS Element Parsed {"raw_longitude":749522944,"raw_latitude":125724296,"longitude_deg":74.9522944,"latitude_deg":12.5724296,"altitude":16,"angle":163,"satellites":44,"speed":50,"hex_longitude":"2cacd000","hex_latitude":"077e6688","is_valid_coordinates":true} 
[2026-07-01 20:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426887936001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333855294046076928,"note":"Value kept but may cause issues"} 
[2026-07-01 20:23:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5997668771563081728,"note":"Value kept but may cause issues"} 
[2026-07-01 20:23:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782917538000,"timestamp_ms":1782917538000,"timestamp_seconds":1782917538,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e2aa0d0"} 
[2026-07-01 20:23:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:23:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 20:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-01 20:23:25] 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-01 20:23:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:23:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:23:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 20:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426887936001,"66":27615,"105":206,"85":36096,"24":50,"16":333855294046076928,"44":-5997668771563081728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-01 20:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426887936001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:23:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-01 20:23:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 20:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333855294046076928,"km_value":333855294046076.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:23:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5997668771563081728,"description":"Unknown IO ID 44"} 
[2026-07-01 20:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426887936001,"power":27615,"unknown_105":206,"unknown_85":36096,"ignition":50,"odometer":null,"unknown_44":-5997668771563081728}} 
[2026-07-01 20:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":119270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:23:25] local.INFO: GPS data processed {"connection_id":119270,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:23:25] local.INFO: Acknowledgment sent {"connection_id":119270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:23:56] local.INFO: TCP Data received {"connection_id":119270,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e2abc28012cacd940077e4490001000a62c..."} 
[2026-07-01 20:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e2abc28012cacd940077e4490001000a62c..."} 
[2026-07-01 20:23:56] local.INFO: Processing buffer {"connection_id":119270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e2abc28012cacd940077e4490001000a62c..."} 
[2026-07-01 20:23:56] local.INFO: Packet analysis {"connection_id":119270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e2a"} 
[2026-07-01 20:23:56] local.INFO: Extracted packet for processing {"connection_id":119270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e2a"} 
[2026-07-01 20:23:56] local.INFO: GPS Element Parsed {"raw_longitude":749525312,"raw_latitude":125715600,"longitude_deg":74.9525312,"latitude_deg":12.57156,"altitude":16,"angle":166,"satellites":44,"speed":51,"hex_longitude":"2cacd940","hex_latitude":"077e4490","is_valid_coordinates":true} 
[2026-07-01 20: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-01 20:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426889728001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:23:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333855727837773824,"note":"Value kept but may cause issues"} 
[2026-07-01 20:23:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5994291071844710400,"note":"Value kept but may cause issues"} 
[2026-07-01 20:23:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:23:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782917545000,"timestamp_ms":1782917545000,"timestamp_seconds":1782917545,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e2abc28"} 
[2026-07-01 20: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-01 20:23: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-01 20: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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-01 20:23:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20: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-01 20: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-01 20:23:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:23:56] local.INFO: Teltonika packet parsed successfully {"connection_id":119270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:23:56] local.INFO: Passing IMEI to GPS processor {"connection_id":119270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:23:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":119270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:23:56] local.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-01 20:23:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:23:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:23:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426889728001,"66":27647,"105":206,"85":36096,"24":51,"16":333855727837773824,"44":-5994291071844710400},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-01 20:23:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:23:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:23:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426889728001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:23:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-01 20:23:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 20:23:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333855727837773824,"km_value":333855727837773.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:23:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5994291071844710400,"description":"Unknown IO ID 44"} 
[2026-07-01 20:23:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426889728001,"power":27647,"unknown_105":206,"unknown_85":36096,"ignition":51,"odometer":null,"unknown_44":-5994291071844710400}} 
[2026-07-01 20:23:56] local.INFO: DEBUG: GPS processor result {"connection_id":119270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:23:56] local.INFO: GPS data processed {"connection_id":119270,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:23:56] local.INFO: Acknowledgment sent {"connection_id":119270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:24:19] local.INFO: TCP Data received {"connection_id":120071,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:24:19] local.INFO: Processing buffer {"connection_id":120071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:24:19] local.INFO: IMEI packet received {"connection_id":120071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 20:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":120071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:24:20] local.INFO: TCP Data received {"connection_id":120071,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:24:20] local.INFO: Processing buffer {"connection_id":120071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:24:20] local.INFO: IMEI packet received {"connection_id":120071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:24:20] local.INFO: IMEI acknowledgment sent {"connection_id":120071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:24:25] local.INFO: TCP Data received {"connection_id":120071,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:24:25] local.INFO: Processing buffer {"connection_id":120071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:24:25] local.INFO: IMEI packet received {"connection_id":120071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":120071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:24:26] local.INFO: TCP Data received {"connection_id":120071,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e2ad780012cace0c0077e21b8001100a82b..."} 
[2026-07-01 20:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e2ad780012cace0c0077e21b8001100a82b..."} 
[2026-07-01 20:24:26] local.INFO: Processing buffer {"connection_id":120071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e2ad780012cace0c0077e21b8001100a82b..."} 
[2026-07-01 20:24:26] local.INFO: Packet analysis {"connection_id":120071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e2a"} 
[2026-07-01 20:24:26] local.INFO: Extracted packet for processing {"connection_id":120071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e2a"} 
[2026-07-01 20:24:26] local.INFO: GPS Element Parsed {"raw_longitude":749527232,"raw_latitude":125706680,"longitude_deg":74.9527232,"latitude_deg":12.570668,"altitude":17,"angle":168,"satellites":43,"speed":51,"hex_longitude":"2cace0c0","hex_latitude":"077e21b8","is_valid_coordinates":true} 
[2026-07-01 20:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426891520001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333856170219405312,"note":"Value kept but may cause issues"} 
[2026-07-01 20:24:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5991687428312363008,"note":"Value kept but may cause issues"} 
[2026-07-01 20:24:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782917552000,"timestamp_ms":1782917552000,"timestamp_seconds":1782917552,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e2ad780"} 
[2026-07-01 20:24:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:24: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-01 20:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 20:24:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":3028,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20:24:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:24:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":120071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":120071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":120071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:24:26] local.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-01 20:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426891520001,"66":27604,"105":206,"85":36096,"24":51,"16":333856170219405312,"44":-5991687428312363008},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-01 20:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426891520001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:24:26] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-01 20:24:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-07-01 20:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333856170219405312,"km_value":333856170219405.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:24:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5991687428312363008,"description":"Unknown IO ID 44"} 
[2026-07-01 20:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426891520001,"power":27604,"unknown_105":206,"unknown_85":36096,"ignition":51,"odometer":null,"unknown_44":-5991687428312363008}} 
[2026-07-01 20:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":120071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:24:26] local.INFO: GPS data processed {"connection_id":120071,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:24:26] local.INFO: Acknowledgment sent {"connection_id":120071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:24:39] local.INFO: TCP Data received {"connection_id":121132,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121132,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:24:39] local.INFO: Processing buffer {"connection_id":121132,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:24:39] local.INFO: IMEI packet received {"connection_id":121132,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 20:24:39] local.INFO: IMEI acknowledgment sent {"connection_id":121132,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:24:57] local.INFO: TCP Data received {"connection_id":120071,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e2c3af8012cad8700077c47f8000800942c..."} 
[2026-07-01 20:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e2c3af8012cad8700077c47f8000800942c..."} 
[2026-07-01 20:24:57] local.INFO: Processing buffer {"connection_id":120071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e2c3af8012cad8700077c47f8000800942c..."} 
[2026-07-01 20:24:57] local.INFO: Packet analysis {"connection_id":120071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e2c"} 
[2026-07-01 20:24:57] local.INFO: Extracted packet for processing {"connection_id":120071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e2c"} 
[2026-07-01 20:24:57] local.INFO: GPS Element Parsed {"raw_longitude":749569792,"raw_latitude":125585400,"longitude_deg":74.9569792,"latitude_deg":12.55854,"altitude":8,"angle":148,"satellites":44,"speed":58,"hex_longitude":"2cad8700","hex_latitude":"077c47f8","is_valid_coordinates":true} 
[2026-07-01 20:24:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:24:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426914816001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:24:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333862492411265024,"note":"Value kept but may cause issues"} 
[2026-07-01 20:24:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5948832863139289088,"note":"Value kept but may cause issues"} 
[2026-07-01 20:24:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:24:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782917643000,"timestamp_ms":1782917643000,"timestamp_seconds":1782917643,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e2c3af8"} 
[2026-07-01 20:24:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:24:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 20:24:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 20:24:57] 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-01 20:24:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:24:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:24:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:24:57] local.INFO: Teltonika packet parsed successfully {"connection_id":120071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:24:57] local.INFO: Passing IMEI to GPS processor {"connection_id":120071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:24:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":120071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:24:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 20:24:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:24:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:24:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426914816001,"66":27604,"161":206,"85":36608,"24":58,"16":333862492411265024,"44":-5948832863139289088},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,44]} 
[2026-07-01 20:24:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:24:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:24:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426914816001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:24:57] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-01 20:24:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 20:24:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333862492411265024,"km_value":333862492411265.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:24:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5948832863139289088,"description":"Unknown IO ID 44"} 
[2026-07-01 20:24:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426914816001,"power":27604,"unknown_161":206,"unknown_85":36608,"ignition":58,"odometer":null,"unknown_44":-5948832863139289088}} 
[2026-07-01 20:24:57] local.INFO: DEBUG: GPS processor result {"connection_id":120071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:24:57] local.INFO: GPS data processed {"connection_id":120071,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:24:57] local.INFO: Acknowledgment sent {"connection_id":120071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:25:17] local.INFO: TCP Data received {"connection_id":119389,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119389,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:25:17] local.INFO: Processing buffer {"connection_id":119389,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:25:17] local.INFO: IMEI packet received {"connection_id":119389,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 20:25:17] local.INFO: IMEI acknowledgment sent {"connection_id":119389,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:25:25] local.INFO: TCP Data received {"connection_id":121133,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:25:25] local.INFO: Processing buffer {"connection_id":121133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:25:25] local.INFO: IMEI packet received {"connection_id":121133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 20:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":121133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:25:26] local.INFO: TCP Data received {"connection_id":121133,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:25:26] local.INFO: Processing buffer {"connection_id":121133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:25:26] local.INFO: IMEI packet received {"connection_id":121133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":121133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:25:26] local.INFO: TCP Data received {"connection_id":121133,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e2c5268012cad9a00077c2a00000800942c..."} 
[2026-07-01 20:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e2c5268012cad9a00077c2a00000800942c..."} 
[2026-07-01 20:25:26] local.INFO: Processing buffer {"connection_id":121133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e2c5268012cad9a00077c2a00000800942c..."} 
[2026-07-01 20:25:26] local.INFO: Packet analysis {"connection_id":121133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e2c"} 
[2026-07-01 20:25:26] local.INFO: Extracted packet for processing {"connection_id":121133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e2c"} 
[2026-07-01 20:25:26] local.INFO: GPS Element Parsed {"raw_longitude":749574656,"raw_latitude":125577728,"longitude_deg":74.9574656,"latitude_deg":12.5577728,"altitude":8,"angle":148,"satellites":44,"speed":60,"hex_longitude":"2cad9a00","hex_latitude":"077c2a00","is_valid_coordinates":true} 
[2026-07-01 20:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426916608001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:25:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333862930497929216,"note":"Value kept but may cause issues"} 
[2026-07-01 20:25:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5942781151142217728,"note":"Value kept but may cause issues"} 
[2026-07-01 20:25:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:25:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782917649000,"timestamp_ms":1782917649000,"timestamp_seconds":1782917649,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e2c5268"} 
[2026-07-01 20:25:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:25: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-01 20:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-01 20:25:26] 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-01 20:25:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:25:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:25:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:25:26] local.INFO: Teltonika packet parsed successfully {"connection_id":121133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:25:26] local.INFO: Passing IMEI to GPS processor {"connection_id":121133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:25:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":121133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:25:26] local.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-01 20:25:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:25:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:25:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426916608001,"66":27517,"161":206,"85":36608,"24":60,"16":333862930497929216,"44":-5942781151142217728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,44]} 
[2026-07-01 20:25:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:25:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:25:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426916608001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:25:26] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-01 20:25:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 20:25:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333862930497929216,"km_value":333862930497929.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:25:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5942781151142217728,"description":"Unknown IO ID 44"} 
[2026-07-01 20:25:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426916608001,"power":27517,"unknown_161":206,"unknown_85":36608,"ignition":60,"odometer":null,"unknown_44":-5942781151142217728}} 
[2026-07-01 20:25:26] local.INFO: DEBUG: GPS processor result {"connection_id":121133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:25:26] local.INFO: GPS data processed {"connection_id":121133,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:25:26] local.INFO: Acknowledgment sent {"connection_id":121133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:25:30] local.INFO: TCP Data received {"connection_id":121133,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e2c69d8012cadab80077c0b40000900982c..."} 
[2026-07-01 20:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e2c69d8012cadab80077c0b40000900982c..."} 
[2026-07-01 20:25:30] local.INFO: Processing buffer {"connection_id":121133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e2c69d8012cadab80077c0b40000900982c..."} 
[2026-07-01 20:25:30] local.INFO: Packet analysis {"connection_id":121133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e2c"} 
[2026-07-01 20:25:30] local.INFO: Extracted packet for processing {"connection_id":121133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e2c"} 
[2026-07-01 20:25:30] local.INFO: GPS Element Parsed {"raw_longitude":749579136,"raw_latitude":125569856,"longitude_deg":74.9579136,"latitude_deg":12.5569856,"altitude":9,"angle":152,"satellites":44,"speed":59,"hex_longitude":"2cadab80","hex_latitude":"077c0b40","is_valid_coordinates":true} 
[2026-07-01 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-01 20:25:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426918144001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:25:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333863368584593408,"note":"Value kept but may cause issues"} 
[2026-07-01 20:25:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5937433126586679296,"note":"Value kept but may cause issues"} 
[2026-07-01 20:25:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:25:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782917655000,"timestamp_ms":1782917655000,"timestamp_seconds":1782917655,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e2c69d8"} 
[2026-07-01 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-01 20:25:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-01 20:25:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 20:25:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:25:30] local.INFO: Teltonika packet parsed successfully {"connection_id":121133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:25:30] local.INFO: Passing IMEI to GPS processor {"connection_id":121133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:25:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":121133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:25:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 20:25:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:25:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:25:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426918144001,"66":27615,"161":206,"85":36608,"24":59,"16":333863368584593408,"44":-5937433126586679296},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,44]} 
[2026-07-01 20:25:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:25:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:25:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426918144001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:25:30] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-01 20:25:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 20:25:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333863368584593408,"km_value":333863368584593.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:25:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5937433126586679296,"description":"Unknown IO ID 44"} 
[2026-07-01 20:25:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426918144001,"power":27615,"unknown_161":206,"unknown_85":36608,"ignition":59,"odometer":null,"unknown_44":-5937433126586679296}} 
[2026-07-01 20:25:30] local.INFO: DEBUG: GPS processor result {"connection_id":121133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:25:30] local.INFO: GPS data processed {"connection_id":121133,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:25:30] local.INFO: Acknowledgment sent {"connection_id":121133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:27:04] local.INFO: TCP Data received {"connection_id":121133,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e2c8148012cadba40077beb500008009e2c..."} 
[2026-07-01 20:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e2c8148012cadba40077beb500008009e2c..."} 
[2026-07-01 20:27:04] local.INFO: Processing buffer {"connection_id":121133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e2c8148012cadba40077beb500008009e2c..."} 
[2026-07-01 20:27:04] local.INFO: Packet analysis {"connection_id":121133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e2c"} 
[2026-07-01 20:27:04] local.INFO: Extracted packet for processing {"connection_id":121133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e2c"} 
[2026-07-01 20:27:04] local.INFO: GPS Element Parsed {"raw_longitude":749582912,"raw_latitude":125561680,"longitude_deg":74.9582912,"latitude_deg":12.556168,"altitude":8,"angle":158,"satellites":44,"speed":59,"hex_longitude":"2cadba40","hex_latitude":"077beb50","is_valid_coordinates":true} 
[2026-07-01 20:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426919680001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333863802376290304,"note":"Value kept but may cause issues"} 
[2026-07-01 20:27:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5932507314496258048,"note":"Value kept but may cause issues"} 
[2026-07-01 20:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782917661000,"timestamp_ms":1782917661000,"timestamp_seconds":1782917661,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e2c8148"} 
[2026-07-01 20:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:27: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-01 20:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-01 20:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":121133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":121133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":121133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:27:04] local.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-01 20:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426919680001,"66":27517,"161":206,"85":36608,"24":59,"16":333863802376290304,"44":-5932507314496258048},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,44]} 
[2026-07-01 20:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426919680001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:27:04] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-01 20:27:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 20:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333863802376290304,"km_value":333863802376290.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:27:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5932507314496258048,"description":"Unknown IO ID 44"} 
[2026-07-01 20:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426919680001,"power":27517,"unknown_161":206,"unknown_85":36608,"ignition":59,"odometer":null,"unknown_44":-5932507314496258048}} 
[2026-07-01 20:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":121133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:27:04] local.INFO: GPS data processed {"connection_id":121133,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:27:04] local.INFO: Acknowledgment sent {"connection_id":121133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:27:24] local.INFO: TCP Data received {"connection_id":121134,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:27:24] local.INFO: Processing buffer {"connection_id":121134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:27:24] local.INFO: IMEI packet received {"connection_id":121134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 20:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":121134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:27:26] local.INFO: TCP Data received {"connection_id":121134,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:27:26] local.INFO: Processing buffer {"connection_id":121134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:27:26] local.INFO: IMEI packet received {"connection_id":121134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":121134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:27:29] local.INFO: TCP Data received {"connection_id":121134,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:27:29] local.INFO: Processing buffer {"connection_id":121134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:27:29] local.INFO: IMEI packet received {"connection_id":121134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":121134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:27:31] local.INFO: TCP Data received {"connection_id":121134,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e2dc968012cae2a40077a6248000f00a52d..."} 
[2026-07-01 20:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e2dc968012cae2a40077a6248000f00a52d..."} 
[2026-07-01 20:27:31] local.INFO: Processing buffer {"connection_id":121134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e2dc968012cae2a40077a6248000f00a52d..."} 
[2026-07-01 20:27:31] local.INFO: Packet analysis {"connection_id":121134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e2d"} 
[2026-07-01 20:27:31] local.INFO: Extracted packet for processing {"connection_id":121134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e2d"} 
[2026-07-01 20:27:31] local.INFO: GPS Element Parsed {"raw_longitude":749611584,"raw_latitude":125461064,"longitude_deg":74.9611584,"latitude_deg":12.5461064,"altitude":15,"angle":165,"satellites":45,"speed":60,"hex_longitude":"2cae2a40","hex_latitude":"077a6248","is_valid_coordinates":true} 
[2026-07-01 20:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426940928001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333868874732666880,"note":"Value kept but may cause issues"} 
[2026-07-01 20:27:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5899504373502296064,"note":"Value kept but may cause issues"} 
[2026-07-01 20:27:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782917745000,"timestamp_ms":1782917745000,"timestamp_seconds":1782917745,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e2dc968"} 
[2026-07-01 20:27:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:27:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 20:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-01 20:27:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20:27:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:27:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":121134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":121134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":121134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:27:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 20:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426940928001,"66":27691,"139":206,"85":36608,"24":60,"16":333868874732666880,"44":-5899504373502296064},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,44]} 
[2026-07-01 20:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426940928001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:27:31] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-07-01 20:27:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 20:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333868874732666880,"km_value":333868874732666.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:27:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5899504373502296064,"description":"Unknown IO ID 44"} 
[2026-07-01 20:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426940928001,"power":27691,"unknown_139":206,"unknown_85":36608,"ignition":60,"odometer":null,"unknown_44":-5899504373502296064}} 
[2026-07-01 20:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":121134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:27:31] local.INFO: GPS data processed {"connection_id":121134,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:27:31] local.INFO: Acknowledgment sent {"connection_id":121134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:28:02] local.INFO: TCP Data received {"connection_id":121134,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e2de0d8012cae34c0077a3fd8000d00a22d..."} 
[2026-07-01 20:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e2de0d8012cae34c0077a3fd8000d00a22d..."} 
[2026-07-01 20:28:02] local.INFO: Processing buffer {"connection_id":121134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e2de0d8012cae34c0077a3fd8000d00a22d..."} 
[2026-07-01 20:28:02] local.INFO: Packet analysis {"connection_id":121134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e2d"} 
[2026-07-01 20:28:02] local.INFO: Extracted packet for processing {"connection_id":121134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e2d"} 
[2026-07-01 20:28:02] local.INFO: GPS Element Parsed {"raw_longitude":749614272,"raw_latitude":125452248,"longitude_deg":74.9614272,"latitude_deg":12.5452248,"altitude":13,"angle":162,"satellites":45,"speed":60,"hex_longitude":"2cae34c0","hex_latitude":"077a3fd8","is_valid_coordinates":true} 
[2026-07-01 20:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426942720001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333869321409265664,"note":"Value kept but may cause issues"} 
[2026-07-01 20:28:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5896830361226033152,"note":"Value kept but may cause issues"} 
[2026-07-01 20:28:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782917751000,"timestamp_ms":1782917751000,"timestamp_seconds":1782917751,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e2de0d8"} 
[2026-07-01 20:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:28:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 20:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-01 20:28:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20:28:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":121134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":121134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":121134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:28:02] local.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-01 20:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426942720001,"66":27713,"139":206,"85":36608,"24":60,"16":333869321409265664,"44":-5896830361226033152},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,44]} 
[2026-07-01 20:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426942720001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:28:02] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-07-01 20:28:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 20:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333869321409265664,"km_value":333869321409265.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:28:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5896830361226033152,"description":"Unknown IO ID 44"} 
[2026-07-01 20:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426942720001,"power":27713,"unknown_139":206,"unknown_85":36608,"ignition":60,"odometer":null,"unknown_44":-5896830361226033152}} 
[2026-07-01 20:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":121134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:28:02] local.INFO: GPS data processed {"connection_id":121134,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:28:02] local.INFO: Acknowledgment sent {"connection_id":121134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:28:19] local.INFO: TCP Data received {"connection_id":119273,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:28:19] local.INFO: Processing buffer {"connection_id":119273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:28:19] local.INFO: IMEI packet received {"connection_id":119273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 20:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":119273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:28:24] local.INFO: TCP Data received {"connection_id":119273,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:28:24] local.INFO: Processing buffer {"connection_id":119273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:28:24] local.INFO: IMEI packet received {"connection_id":119273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":119273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:28:25] local.INFO: TCP Data received {"connection_id":119273,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e2f3c80012caede400778df10001100a12c..."} 
[2026-07-01 20:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e2f3c80012caede400778df10001100a12c..."} 
[2026-07-01 20:28:25] local.INFO: Processing buffer {"connection_id":119273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e2f3c80012caede400778df10001100a12c..."} 
[2026-07-01 20:28:25] local.INFO: Packet analysis {"connection_id":119273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e2f"} 
[2026-07-01 20:28:25] local.INFO: Extracted packet for processing {"connection_id":119273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e2f"} 
[2026-07-01 20:28:25] local.INFO: GPS Element Parsed {"raw_longitude":749657664,"raw_latitude":125361936,"longitude_deg":74.9657664,"latitude_deg":12.5361936,"altitude":17,"angle":161,"satellites":44,"speed":45,"hex_longitude":"2caede40","hex_latitude":"0778df10","is_valid_coordinates":true} 
[2026-07-01 20:28:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:28:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426964992001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:28:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333874170427342848,"note":"Value kept but may cause issues"} 
[2026-07-01 20:28:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5849753671394340864,"note":"Value kept but may cause issues"} 
[2026-07-01 20:28:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:28:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782917840000,"timestamp_ms":1782917840000,"timestamp_seconds":1782917840,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e2f3c80"} 
[2026-07-01 20:28:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:28: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-01 20:28:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-01 20:28:25] 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-01 20:28:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:28:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:28:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:28:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:28:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:28:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:28:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 20:28:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:28:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:28:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426964992001,"66":27484,"52":206,"85":36608,"24":45,"16":333874170427342848,"44":-5849753671394340864},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,85,24,16,44]} 
[2026-07-01 20:28:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:28:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:28:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426964992001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:28:25] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-07-01 20:28:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 20:28:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333874170427342848,"km_value":333874170427342.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:28:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5849753671394340864,"description":"Unknown IO ID 44"} 
[2026-07-01 20:28:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426964992001,"power":27484,"unknown_52":206,"unknown_85":36608,"ignition":45,"odometer":null,"unknown_44":-5849753671394340864}} 
[2026-07-01 20:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":119273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:28:25] local.INFO: GPS data processed {"connection_id":119273,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:28:25] local.INFO: Acknowledgment sent {"connection_id":119273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:28:56] local.INFO: TCP Data received {"connection_id":119273,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e2f5fa8012caeeac00778ba58001200a12d..."} 
[2026-07-01 20:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e2f5fa8012caeeac00778ba58001200a12d..."} 
[2026-07-01 20:28:56] local.INFO: Processing buffer {"connection_id":119273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e2f5fa8012caeeac00778ba58001200a12d..."} 
[2026-07-01 20:28:56] local.INFO: Packet analysis {"connection_id":119273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e2f"} 
[2026-07-01 20:28:56] local.INFO: Extracted packet for processing {"connection_id":119273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e2f"} 
[2026-07-01 20:28:56] local.INFO: GPS Element Parsed {"raw_longitude":749660864,"raw_latitude":125352536,"longitude_deg":74.9660864,"latitude_deg":12.5352536,"altitude":18,"angle":161,"satellites":45,"speed":42,"hex_longitude":"2caeeac0","hex_latitude":"0778ba58","is_valid_coordinates":true} 
[2026-07-01 20:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426967040001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333874651463680000,"note":"Value kept but may cause issues"} 
[2026-07-01 20:28:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5846164865443491840,"note":"Value kept but may cause issues"} 
[2026-07-01 20:28:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782917849000,"timestamp_ms":1782917849000,"timestamp_seconds":1782917849,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e2f5fa8"} 
[2026-07-01 20:28:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:28:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 20:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 20:28:56] 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-01 20:28:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:28:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":119273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":119273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":119273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:28:56] local.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-01 20:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426967040001,"66":27604,"52":206,"85":36608,"24":42,"16":333874651463680000,"44":-5846164865443491840},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,85,24,16,44]} 
[2026-07-01 20:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426967040001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:28:56] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-07-01 20:28:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 20:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333874651463680000,"km_value":333874651463680,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:28:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5846164865443491840,"description":"Unknown IO ID 44"} 
[2026-07-01 20:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426967040001,"power":27604,"unknown_52":206,"unknown_85":36608,"ignition":42,"odometer":null,"unknown_44":-5846164865443491840}} 
[2026-07-01 20:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":119273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:28:56] local.INFO: GPS data processed {"connection_id":119273,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:28:56] local.INFO: Acknowledgment sent {"connection_id":119273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:29:19] local.INFO: TCP Data received {"connection_id":119392,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:29:19] local.INFO: Processing buffer {"connection_id":119392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:29:19] local.INFO: IMEI packet received {"connection_id":119392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 20:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":119392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:29:23] local.INFO: TCP Data received {"connection_id":119392,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:29:23] local.INFO: Processing buffer {"connection_id":119392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:29:23] local.INFO: IMEI packet received {"connection_id":119392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":119392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:29:24] local.INFO: TCP Data received {"connection_id":119392,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:29:24] local.INFO: Processing buffer {"connection_id":119392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:29:24] local.INFO: IMEI packet received {"connection_id":119392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":119392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:29:25] local.INFO: TCP Data received {"connection_id":119392,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e2f82d0012caef740077897080013009f2c..."} 
[2026-07-01 20:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e2f82d0012caef740077897080013009f2c..."} 
[2026-07-01 20:29:25] local.INFO: Processing buffer {"connection_id":119392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e2f82d0012caef740077897080013009f2c..."} 
[2026-07-01 20:29:25] local.INFO: Packet analysis {"connection_id":119392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e2f"} 
[2026-07-01 20:29:25] local.INFO: Extracted packet for processing {"connection_id":119392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e2f"} 
[2026-07-01 20:29:25] local.INFO: GPS Element Parsed {"raw_longitude":749664064,"raw_latitude":125343496,"longitude_deg":74.9664064,"latitude_deg":12.5343496,"altitude":19,"angle":159,"satellites":44,"speed":43,"hex_longitude":"2caef740","hex_latitude":"07789708","is_valid_coordinates":true} 
[2026-07-01 20:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:29:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426969344001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:29:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333875115320147968,"note":"Value kept but may cause issues"} 
[2026-07-01 20:29:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5842646428237015040,"note":"Value kept but may cause issues"} 
[2026-07-01 20:29:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:29:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782917858000,"timestamp_ms":1782917858000,"timestamp_seconds":1782917858,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e2f82d0"} 
[2026-07-01 20:29:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:29:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 20:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-01 20:29:25] 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-01 20:29:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:29:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:29:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:29:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:29:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:29:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:29:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 20:29:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:29:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:29:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426969344001,"66":27550,"52":206,"85":36608,"24":43,"16":333875115320147968,"44":-5842646428237015040},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,85,24,16,44]} 
[2026-07-01 20:29:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:29:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:29:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426969344001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:29:25] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-07-01 20:29:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 20:29:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333875115320147968,"km_value":333875115320147.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:29:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5842646428237015040,"description":"Unknown IO ID 44"} 
[2026-07-01 20:29:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426969344001,"power":27550,"unknown_52":206,"unknown_85":36608,"ignition":43,"odometer":null,"unknown_44":-5842646428237015040}} 
[2026-07-01 20:29:25] local.INFO: DEBUG: GPS processor result {"connection_id":119392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:29:25] local.INFO: GPS data processed {"connection_id":119392,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:29:25] local.INFO: Acknowledgment sent {"connection_id":119392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:29:56] local.INFO: TCP Data received {"connection_id":119392,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e30c708012cafa6c007772d30000e00992d..."} 
[2026-07-01 20:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e30c708012cafa6c007772d30000e00992d..."} 
[2026-07-01 20:29:56] local.INFO: Processing buffer {"connection_id":119392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e30c708012cafa6c007772d30000e00992d..."} 
[2026-07-01 20:29:56] local.INFO: Packet analysis {"connection_id":119392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e30"} 
[2026-07-01 20:29:56] local.INFO: Extracted packet for processing {"connection_id":119392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e30"} 
[2026-07-01 20:29:56] local.INFO: GPS Element Parsed {"raw_longitude":749708992,"raw_latitude":125250864,"longitude_deg":74.9708992,"latitude_deg":12.5250864,"altitude":14,"angle":153,"satellites":45,"speed":48,"hex_longitude":"2cafa6c0","hex_latitude":"07772d30","is_valid_coordinates":true} 
[2026-07-01 20:29:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426990848001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333880101777178624,"note":"Value kept but may cause issues"} 
[2026-07-01 20:29:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5794303101010702336,"note":"Value kept but may cause issues"} 
[2026-07-01 20:29:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782917941000,"timestamp_ms":1782917941000,"timestamp_seconds":1782917941,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e30c708"} 
[2026-07-01 20:29:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:29:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 20:29:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-01 20:29:56] 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-01 20:29:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:29:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":119392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":119392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":119392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:29:56] local.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-01 20:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426990848001,"66":27593,"175":206,"85":36608,"24":48,"16":333880101777178624,"44":-5794303101010702336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,85,24,16,44]} 
[2026-07-01 20:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426990848001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:29:56] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-07-01 20:29:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 20:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333880101777178624,"km_value":333880101777178.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:29:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5794303101010702336,"description":"Unknown IO ID 44"} 
[2026-07-01 20:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426990848001,"power":27593,"unknown_175":206,"unknown_85":36608,"ignition":48,"odometer":null,"unknown_44":-5794303101010702336}} 
[2026-07-01 20:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":119392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:29:56] local.INFO: GPS data processed {"connection_id":119392,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:29:56] local.INFO: Acknowledgment sent {"connection_id":119392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:30:19] local.INFO: TCP Data received {"connection_id":119393,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:30:19] local.INFO: Processing buffer {"connection_id":119393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:30:19] local.INFO: IMEI packet received {"connection_id":119393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 20:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":119393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:30:20] local.INFO: TCP Data received {"connection_id":119393,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:30:20] local.INFO: Processing buffer {"connection_id":119393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:30:20] local.INFO: IMEI packet received {"connection_id":119393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:30:20] local.INFO: IMEI acknowledgment sent {"connection_id":119393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:30:25] local.INFO: TCP Data received {"connection_id":119393,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:30:25] local.INFO: Processing buffer {"connection_id":119393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:30:25] local.INFO: IMEI packet received {"connection_id":119393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":119393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:30:25] local.INFO: TCP Data received {"connection_id":119393,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e30e648012cafbb0007770b08000e00932d..."} 
[2026-07-01 20:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e30e648012cafbb0007770b08000e00932d..."} 
[2026-07-01 20:30:26] local.INFO: Processing buffer {"connection_id":119393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e30e648012cafbb0007770b08000e00932d..."} 
[2026-07-01 20:30:26] local.INFO: Packet analysis {"connection_id":119393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e30"} 
[2026-07-01 20:30:26] local.INFO: Extracted packet for processing {"connection_id":119393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e30"} 
[2026-07-01 20:30:26] local.INFO: GPS Element Parsed {"raw_longitude":749714176,"raw_latitude":125242120,"longitude_deg":74.9714176,"latitude_deg":12.524212,"altitude":14,"angle":147,"satellites":45,"speed":51,"hex_longitude":"2cafbb00","hex_latitude":"07770b08","is_valid_coordinates":true} 
[2026-07-01 20:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:30:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426992896001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:30:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333880591403450368,"note":"Value kept but may cause issues"} 
[2026-07-01 20:30:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5789729132641439744,"note":"Value kept but may cause issues"} 
[2026-07-01 20:30:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:30:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782917949000,"timestamp_ms":1782917949000,"timestamp_seconds":1782917949,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e30e648"} 
[2026-07-01 20:30:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:30:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 20:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-01 20:30:26] 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-01 20:30:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:30:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:30:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:30:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:30:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:30:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:30:26] local.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-01 20:30:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:30:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:30:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426992896001,"66":27604,"175":206,"85":36608,"24":51,"16":333880591403450368,"44":-5789729132641439744},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,85,24,16,44]} 
[2026-07-01 20:30:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:30:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:30:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426992896001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:30:26] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-07-01 20:30:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 20:30:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333880591403450368,"km_value":333880591403450.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:30:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5789729132641439744,"description":"Unknown IO ID 44"} 
[2026-07-01 20:30:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426992896001,"power":27604,"unknown_175":206,"unknown_85":36608,"ignition":51,"odometer":null,"unknown_44":-5789729132641439744}} 
[2026-07-01 20:30:26] local.INFO: DEBUG: GPS processor result {"connection_id":119393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:30:26] local.INFO: GPS data processed {"connection_id":119393,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:30:26] local.INFO: Acknowledgment sent {"connection_id":119393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:30:39] local.INFO: TCP Data received {"connection_id":119274,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119274,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:30:39] local.INFO: Processing buffer {"connection_id":119274,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:30:39] local.INFO: IMEI packet received {"connection_id":119274,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 20:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":119274,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:30:58] local.INFO: TCP Data received {"connection_id":119393,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e3101a0012cafd0000776ed70000d008f2b..."} 
[2026-07-01 20:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e3101a0012cafd0000776ed70000d008f2b..."} 
[2026-07-01 20:30:58] local.INFO: Processing buffer {"connection_id":119393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e3101a0012cafd0000776ed70000d008f2b..."} 
[2026-07-01 20:30:58] local.INFO: Packet analysis {"connection_id":119393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e31"} 
[2026-07-01 20:30:58] local.INFO: Extracted packet for processing {"connection_id":119393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e31"} 
[2026-07-01 20:30:58] local.INFO: GPS Element Parsed {"raw_longitude":749719552,"raw_latitude":125234544,"longitude_deg":74.9719552,"latitude_deg":12.5234544,"altitude":13,"angle":143,"satellites":43,"speed":52,"hex_longitude":"2cafd000","hex_latitude":"0776ed70","is_valid_coordinates":true} 
[2026-07-01 20: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-01 20:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456426994944001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:30:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333881038080049152,"note":"Value kept but may cause issues"} 
[2026-07-01 20:30:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5784029264365287424,"note":"Value kept but may cause issues"} 
[2026-07-01 20:30:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:30:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782917956000,"timestamp_ms":1782917956000,"timestamp_seconds":1782917956,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e3101a0"} 
[2026-07-01 20: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-01 20:30:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 20: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-01 20:30:58] 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-01 20: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-01 20: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-01 20:30:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:30:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:30:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:30:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:30:58] local.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-01 20:30:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:30:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:30:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456426994944001,"66":27604,"175":206,"85":36608,"24":52,"16":333881038080049152,"44":-5784029264365287424},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,85,24,16,44]} 
[2026-07-01 20:30:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:30:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:30:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456426994944001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:30:58] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-07-01 20:30:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 20:30:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333881038080049152,"km_value":333881038080049.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:30:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5784029264365287424,"description":"Unknown IO ID 44"} 
[2026-07-01 20:30:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456426994944001,"power":27604,"unknown_175":206,"unknown_85":36608,"ignition":52,"odometer":null,"unknown_44":-5784029264365287424}} 
[2026-07-01 20:30:58] local.INFO: DEBUG: GPS processor result {"connection_id":119393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:30:58] local.INFO: GPS data processed {"connection_id":119393,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:30:58] local.INFO: Acknowledgment sent {"connection_id":119393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:31:15] local.INFO: TCP Data received {"connection_id":120072,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120072,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:31:15] local.INFO: Processing buffer {"connection_id":120072,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:31:15] local.INFO: IMEI packet received {"connection_id":120072,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 20:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":120072,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:32:39] local.INFO: TCP Data received {"connection_id":119394,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:32:39] local.INFO: Processing buffer {"connection_id":119394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:32:39] local.INFO: IMEI packet received {"connection_id":119394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 20:32:39] local.INFO: IMEI acknowledgment sent {"connection_id":119394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:32:44] local.INFO: TCP Data received {"connection_id":119394,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:32:44] local.INFO: Processing buffer {"connection_id":119394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:32:44] local.INFO: IMEI packet received {"connection_id":119394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":119394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:32:45] local.INFO: TCP Data received {"connection_id":119394,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e329fb0012cb14780077580f0000f00932c..."} 
[2026-07-01 20:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e329fb0012cb14780077580f0000f00932c..."} 
[2026-07-01 20:32:45] local.INFO: Processing buffer {"connection_id":119394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e329fb0012cb14780077580f0000f00932c..."} 
[2026-07-01 20:32:45] local.INFO: Packet analysis {"connection_id":119394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e32"} 
[2026-07-01 20:32:45] local.INFO: Extracted packet for processing {"connection_id":119394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e32"} 
[2026-07-01 20:32:45] local.INFO: GPS Element Parsed {"raw_longitude":749815680,"raw_latitude":125141232,"longitude_deg":74.981568,"latitude_deg":12.5141232,"altitude":15,"angle":147,"satellites":44,"speed":50,"hex_longitude":"2cb14780","hex_latitude":"077580f0","is_valid_coordinates":true} 
[2026-07-01 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-01 20:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333886359544528896,"note":"Value kept but may cause issues"} 
[2026-07-01 20:32:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,185,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-01 20:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1782918062000,"timestamp_ms":1782918062000,"timestamp_seconds":1782918062,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e329fb0"} 
[2026-07-01 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-01 20:32:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-01 20:32:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 20:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":119394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":119394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":119394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:32: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-01 20:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27604,"185":206,"85":36608,"24":50,"16":333886359544528896},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16]} 
[2026-07-01 20:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-07-01 20:32:45] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-01 20:32:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 20:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333886359544528896,"km_value":333886359544528.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:32:45] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27604,"unknown_185":206,"unknown_85":36608,"ignition":50,"odometer":null}} 
[2026-07-01 20:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":119394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:32:45] local.INFO: GPS data processed {"connection_id":119394,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:32:45] local.INFO: Acknowledgment sent {"connection_id":119394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:33:22] local.INFO: TCP Data received {"connection_id":119394,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e32bef0012cb15c0007756090001100942d..."} 
[2026-07-01 20:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e32bef0012cb15c0007756090001100942d..."} 
[2026-07-01 20:33:22] local.INFO: Processing buffer {"connection_id":119394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e32bef0012cb15c0007756090001100942d..."} 
[2026-07-01 20:33:22] local.INFO: Packet analysis {"connection_id":119394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e32"} 
[2026-07-01 20:33:22] local.INFO: Extracted packet for processing {"connection_id":119394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e32"} 
[2026-07-01 20:33:22] local.INFO: GPS Element Parsed {"raw_longitude":749820928,"raw_latitude":125132944,"longitude_deg":74.9820928,"latitude_deg":12.5132944,"altitude":17,"angle":148,"satellites":45,"speed":47,"hex_longitude":"2cb15c00","hex_latitude":"07756090","is_valid_coordinates":true} 
[2026-07-01 20: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-01 20:33:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427023872001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:33:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333886831990931456,"note":"Value kept but may cause issues"} 
[2026-07-01 20:33:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5672424436125339648,"note":"Value kept but may cause issues"} 
[2026-07-01 20:33:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:33:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782918070000,"timestamp_ms":1782918070000,"timestamp_seconds":1782918070,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e32bef0"} 
[2026-07-01 20: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-01 20:33: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-01 20: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-01 20:33:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20: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-01 20: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-01 20:33:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:33:22] local.INFO: Teltonika packet parsed successfully {"connection_id":119394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:33:22] local.INFO: Passing IMEI to GPS processor {"connection_id":119394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:33:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":119394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:33: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-01 20:33:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:33:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:33:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427023872001,"66":27615,"185":206,"85":36608,"24":47,"16":333886831990931456,"44":-5672424436125339648},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,44]} 
[2026-07-01 20:33:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:33:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:33:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427023872001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:33:22] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-01 20:33:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 20:33:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333886831990931456,"km_value":333886831990931.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:33:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5672424436125339648,"description":"Unknown IO ID 44"} 
[2026-07-01 20:33:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427023872001,"power":27615,"unknown_185":206,"unknown_85":36608,"ignition":47,"odometer":null,"unknown_44":-5672424436125339648}} 
[2026-07-01 20:33:22] local.INFO: DEBUG: GPS processor result {"connection_id":119394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:33:22] local.INFO: GPS data processed {"connection_id":119394,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:33:22] local.INFO: Acknowledgment sent {"connection_id":119394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:33:56] local.INFO: TCP Data received {"connection_id":119394,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e344590012cb2a44007746630001e00742d..."} 
[2026-07-01 20:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e344590012cb2a44007746630001e00742d..."} 
[2026-07-01 20:33:56] local.INFO: Processing buffer {"connection_id":119394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e344590012cb2a44007746630001e00742d..."} 
[2026-07-01 20:33:56] local.INFO: Packet analysis {"connection_id":119394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e34"} 
[2026-07-01 20:33:56] local.INFO: Extracted packet for processing {"connection_id":119394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e34"} 
[2026-07-01 20:33:56] local.INFO: GPS Element Parsed {"raw_longitude":749904960,"raw_latitude":125068848,"longitude_deg":74.990496,"latitude_deg":12.5068848,"altitude":30,"angle":116,"satellites":45,"speed":35,"hex_longitude":"2cb2a440","hex_latitude":"07746630","is_valid_coordinates":true} 
[2026-07-01 20: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-01 20:33:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427048960001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:33:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333891960181882880,"note":"Value kept but may cause issues"} 
[2026-07-01 20:33:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5583478343502249984,"note":"Value kept but may cause issues"} 
[2026-07-01 20:33:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:33:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782918170000,"timestamp_ms":1782918170000,"timestamp_seconds":1782918170,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e344590"} 
[2026-07-01 20: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-01 20:33:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 20: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-01 20:33:56] 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-01 20: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-01 20: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-01 20:33:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:33:56] local.INFO: Teltonika packet parsed successfully {"connection_id":119394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:33:56] local.INFO: Passing IMEI to GPS processor {"connection_id":119394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:33:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":119394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:33:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 20:33:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:33:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:33:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427048960001,"66":27550,"90":206,"85":36608,"24":35,"16":333891960181882880,"44":-5583478343502249984},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,85,24,16,44]} 
[2026-07-01 20:33:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:33:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:33:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427048960001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:33:56] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-07-01 20:33:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 20:33:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333891960181882880,"km_value":333891960181882.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:33:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5583478343502249984,"description":"Unknown IO ID 44"} 
[2026-07-01 20:33:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427048960001,"power":27550,"unknown_90":206,"unknown_85":36608,"ignition":35,"odometer":null,"unknown_44":-5583478343502249984}} 
[2026-07-01 20:33:56] local.INFO: DEBUG: GPS processor result {"connection_id":119394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:33:56] local.INFO: GPS data processed {"connection_id":119394,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:33:56] local.INFO: Acknowledgment sent {"connection_id":119394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:34:27] local.INFO: TCP Data received {"connection_id":119394,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e347088012cb2c40007745640002000732c..."} 
[2026-07-01 20:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e347088012cb2c40007745640002000732c..."} 
[2026-07-01 20:34:27] local.INFO: Processing buffer {"connection_id":119394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e347088012cb2c40007745640002000732c..."} 
[2026-07-01 20:34:27] local.INFO: Packet analysis {"connection_id":119394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e34"} 
[2026-07-01 20:34:27] local.INFO: Extracted packet for processing {"connection_id":119394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e34"} 
[2026-07-01 20:34:27] local.INFO: GPS Element Parsed {"raw_longitude":749913088,"raw_latitude":125064768,"longitude_deg":74.9913088,"latitude_deg":12.5064768,"altitude":32,"angle":115,"satellites":44,"speed":31,"hex_longitude":"2cb2c400","hex_latitude":"07745640","is_valid_coordinates":true} 
[2026-07-01 20:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:34:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427051520001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:34:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333892393973579776,"note":"Value kept but may cause issues"} 
[2026-07-01 20:34:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574260038016028672,"note":"Value kept but may cause issues"} 
[2026-07-01 20:34:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:34:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782918181000,"timestamp_ms":1782918181000,"timestamp_seconds":1782918181,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e347088"} 
[2026-07-01 20:34:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:34: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-01 20:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-01 20:34:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2155,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20:34:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:34:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:34:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:34:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:34:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:34:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:34:27] 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-01 20:34:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:34:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:34:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427051520001,"66":27604,"88":206,"85":36608,"24":31,"16":333892393973579776,"44":-5574260038016028672},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,44]} 
[2026-07-01 20:34:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:34:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:34:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427051520001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:34:27] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-07-01 20:34:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 20:34:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333892393973579776,"km_value":333892393973579.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:34:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574260038016028672,"description":"Unknown IO ID 44"} 
[2026-07-01 20:34:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427051520001,"power":27604,"unknown_88":206,"unknown_85":36608,"ignition":31,"odometer":null,"unknown_44":-5574260038016028672}} 
[2026-07-01 20:34:27] local.INFO: DEBUG: GPS processor result {"connection_id":119394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:34:27] local.INFO: GPS data processed {"connection_id":119394,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:34:27] local.INFO: Acknowledgment sent {"connection_id":119394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:34:59] local.INFO: TCP Data received {"connection_id":119394,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e348fc8012cb2dc0007744df0002200662c..."} 
[2026-07-01 20:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e348fc8012cb2dc0007744df0002200662c..."} 
[2026-07-01 20:34:59] local.INFO: Processing buffer {"connection_id":119394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e348fc8012cb2dc0007744df0002200662c..."} 
[2026-07-01 20:34:59] local.INFO: Packet analysis {"connection_id":119394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e34"} 
[2026-07-01 20:34:59] local.INFO: Extracted packet for processing {"connection_id":119394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e34"} 
[2026-07-01 20:34:59] local.INFO: GPS Element Parsed {"raw_longitude":749919232,"raw_latitude":125062640,"longitude_deg":74.9919232,"latitude_deg":12.506264,"altitude":34,"angle":102,"satellites":44,"speed":32,"hex_longitude":"2cb2dc00","hex_latitude":"07744df0","is_valid_coordinates":true} 
[2026-07-01 20: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-01 20:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427054336001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333892703211225088,"note":"Value kept but may cause issues"} 
[2026-07-01 20:34:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5565323207506509824,"note":"Value kept but may cause issues"} 
[2026-07-01 20:34:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782918189000,"timestamp_ms":1782918189000,"timestamp_seconds":1782918189,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e348fc8"} 
[2026-07-01 20: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-01 20:34: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-01 20: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-01 20:34:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20: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-01 20: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-01 20:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:34:59] 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-01 20:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427054336001,"66":27517,"245":206,"85":36608,"24":32,"16":333892703211225088,"44":-5565323207506509824},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,44]} 
[2026-07-01 20:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427054336001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:34:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 20:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333892703211225088,"km_value":333892703211225.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:34:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5565323207506509824,"description":"Unknown IO ID 44"} 
[2026-07-01 20:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427054336001,"power":27517,"geofence_id":206,"unknown_85":36608,"ignition":32,"odometer":null,"unknown_44":-5565323207506509824}} 
[2026-07-01 20:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":119394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:34:59] local.INFO: GPS data processed {"connection_id":119394,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:34:59] local.INFO: Acknowledgment sent {"connection_id":119394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:35:31] local.INFO: TCP Data received {"connection_id":119394,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e35e3a0012cb3d640077532e8001f00252d..."} 
[2026-07-01 20:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e35e3a0012cb3d640077532e8001f00252d..."} 
[2026-07-01 20:35:31] local.INFO: Processing buffer {"connection_id":119394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e35e3a0012cb3d640077532e8001f00252d..."} 
[2026-07-01 20:35:31] local.INFO: Packet analysis {"connection_id":119394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e35"} 
[2026-07-01 20:35:31] local.INFO: Extracted packet for processing {"connection_id":119394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e35"} 
[2026-07-01 20:35:31] local.INFO: GPS Element Parsed {"raw_longitude":749983296,"raw_latitude":125121256,"longitude_deg":74.9983296,"latitude_deg":12.5121256,"altitude":31,"angle":37,"satellites":45,"speed":48,"hex_longitude":"2cb3d640","hex_latitude":"077532e8","is_valid_coordinates":true} 
[2026-07-01 20: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-01 20:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427076864001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333897144207409152,"note":"Value kept but may cause issues"} 
[2026-07-01 20:35:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5494321144618682368,"note":"Value kept but may cause issues"} 
[2026-07-01 20:35:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782918276000,"timestamp_ms":1782918276000,"timestamp_seconds":1782918276,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e35e3a0"} 
[2026-07-01 20: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-01 20:35:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 20: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-01 20:35:31] 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-01 20: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-01 20: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-01 20:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 20:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427076864001,"66":27517,"223":206,"85":36608,"24":48,"16":333897144207409152,"44":-5494321144618682368},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,85,24,16,44]} 
[2026-07-01 20:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427076864001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:35:31] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-07-01 20:35:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 20:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333897144207409152,"km_value":333897144207409.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:35:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5494321144618682368,"description":"Unknown IO ID 44"} 
[2026-07-01 20:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427076864001,"power":27517,"unknown_223":206,"unknown_85":36608,"ignition":48,"odometer":null,"unknown_44":-5494321144618682368}} 
[2026-07-01 20:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":119394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:35:31] local.INFO: GPS data processed {"connection_id":119394,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:35:31] local.INFO: Acknowledgment sent {"connection_id":119394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:36:01] local.INFO: TCP Data received {"connection_id":119394,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e3606c8012cb3ed4007755168002100252d..."} 
[2026-07-01 20:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e3606c8012cb3ed4007755168002100252d..."} 
[2026-07-01 20:36:01] local.INFO: Processing buffer {"connection_id":119394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e3606c8012cb3ed4007755168002100252d..."} 
[2026-07-01 20:36:01] local.INFO: Packet analysis {"connection_id":119394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e36"} 
[2026-07-01 20:36:01] local.INFO: Extracted packet for processing {"connection_id":119394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e36"} 
[2026-07-01 20:36:01] local.INFO: GPS Element Parsed {"raw_longitude":749989184,"raw_latitude":125129064,"longitude_deg":74.9989184,"latitude_deg":12.5129064,"altitude":33,"angle":37,"satellites":45,"speed":37,"hex_longitude":"2cb3ed40","hex_latitude":"07755168","is_valid_coordinates":true} 
[2026-07-01 20:36:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:36:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427078656001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:36:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333897612358844416,"note":"Value kept but may cause issues"} 
[2026-07-01 20:36:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5488128695129151488,"note":"Value kept but may cause issues"} 
[2026-07-01 20:36:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:36:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782918285000,"timestamp_ms":1782918285000,"timestamp_seconds":1782918285,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e3606c8"} 
[2026-07-01 20:36:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:36:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 20:36:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-01 20:36:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20:36:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:36:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:36:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:36:01] local.INFO: Teltonika packet parsed successfully {"connection_id":119394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:36:01] local.INFO: Passing IMEI to GPS processor {"connection_id":119394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:36:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":119394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:36:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 20:36:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:36:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:36:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427078656001,"66":27397,"145":206,"85":36608,"24":37,"16":333897612358844416,"44":-5488128695129151488},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,85,24,16,44]} 
[2026-07-01 20:36:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:36:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:36:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427078656001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:36:01] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-01 20:36:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 20:36:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333897612358844416,"km_value":333897612358844.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:36:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5488128695129151488,"description":"Unknown IO ID 44"} 
[2026-07-01 20:36:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427078656001,"power":27397,"unknown_145":206,"unknown_85":36608,"ignition":37,"odometer":null,"unknown_44":-5488128695129151488}} 
[2026-07-01 20:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":119394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:36:01] local.INFO: GPS data processed {"connection_id":119394,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:36:01] local.INFO: Acknowledgment sent {"connection_id":119394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:36:32] local.INFO: TCP Data received {"connection_id":119394,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e361a50012cb3f98007755dd0002200302c..."} 
[2026-07-01 20:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e361a50012cb3f98007755dd0002200302c..."} 
[2026-07-01 20:36:32] local.INFO: Processing buffer {"connection_id":119394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e361a50012cb3f98007755dd0002200302c..."} 
[2026-07-01 20:36:32] local.INFO: Packet analysis {"connection_id":119394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e36"} 
[2026-07-01 20:36:32] local.INFO: Extracted packet for processing {"connection_id":119394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e36"} 
[2026-07-01 20:36:32] local.INFO: GPS Element Parsed {"raw_longitude":749992320,"raw_latitude":125132240,"longitude_deg":74.999232,"latitude_deg":12.513224,"altitude":34,"angle":48,"satellites":44,"speed":34,"hex_longitude":"2cb3f980","hex_latitude":"07755dd0","is_valid_coordinates":true} 
[2026-07-01 20:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427080960001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333897827107209216,"note":"Value kept but may cause issues"} 
[2026-07-01 20:36:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5481654770662807552,"note":"Value kept but may cause issues"} 
[2026-07-01 20:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782918290000,"timestamp_ms":1782918290000,"timestamp_seconds":1782918290,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e361a50"} 
[2026-07-01 20:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:36:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 20:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-01 20:36:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20:36:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":119394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":119394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":119394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 20:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427080960001,"66":27484,"145":206,"85":36608,"24":34,"16":333897827107209216,"44":-5481654770662807552},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,85,24,16,44]} 
[2026-07-01 20:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427080960001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:36:32] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-01 20:36:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 20:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333897827107209216,"km_value":333897827107209.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:36:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5481654770662807552,"description":"Unknown IO ID 44"} 
[2026-07-01 20:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427080960001,"power":27484,"unknown_145":206,"unknown_85":36608,"ignition":34,"odometer":null,"unknown_44":-5481654770662807552}} 
[2026-07-01 20:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":119394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:36:32] local.INFO: GPS data processed {"connection_id":119394,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:36:32] local.INFO: Acknowledgment sent {"connection_id":119394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:36:35] local.INFO: TCP Data received {"connection_id":119395,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119395,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:36:35] local.INFO: Processing buffer {"connection_id":119395,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:36:35] local.INFO: IMEI packet received {"connection_id":119395,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 20:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":119395,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:36:48] local.INFO: TCP Data received {"connection_id":119277,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:36:48] local.INFO: Processing buffer {"connection_id":119277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:36:48] local.INFO: IMEI packet received {"connection_id":119277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 20:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":119277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:36:53] local.INFO: TCP Data received {"connection_id":119277,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:36:53] local.INFO: Processing buffer {"connection_id":119277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:36:53] local.INFO: IMEI packet received {"connection_id":119277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":119277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:36:54] local.INFO: TCP Data received {"connection_id":119277,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e3635a8012cb40c4007756b180024003c2a..."} 
[2026-07-01 20:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e3635a8012cb40c4007756b180024003c2a..."} 
[2026-07-01 20:36:54] local.INFO: Processing buffer {"connection_id":119277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e3635a8012cb40c4007756b180024003c2a..."} 
[2026-07-01 20:36:54] local.INFO: Packet analysis {"connection_id":119277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e36"} 
[2026-07-01 20:36:54] local.INFO: Extracted packet for processing {"connection_id":119277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e36"} 
[2026-07-01 20:36:54] local.INFO: GPS Element Parsed {"raw_longitude":749997120,"raw_latitude":125135640,"longitude_deg":74.999712,"latitude_deg":12.513564,"altitude":36,"angle":60,"satellites":42,"speed":32,"hex_longitude":"2cb40c40","hex_latitude":"07756b18","is_valid_coordinates":true} 
[2026-07-01 20:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:36:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427082240001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:36:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333898110575050752,"note":"Value kept but may cause issues"} 
[2026-07-01 20:36:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5478206702197288960,"note":"Value kept but may cause issues"} 
[2026-07-01 20:36:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:36:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782918297000,"timestamp_ms":1782918297000,"timestamp_seconds":1782918297,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e3635a8"} 
[2026-07-01 20:36:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:36:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 20:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 20:36:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20:36:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:36:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:36:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:36:54] local.INFO: Teltonika packet parsed successfully {"connection_id":119277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:36:54] local.INFO: Passing IMEI to GPS processor {"connection_id":119277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:36:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":119277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:36:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 20:36:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:36:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:36:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427082240001,"66":27604,"145":206,"85":36608,"24":32,"16":333898110575050752,"44":-5478206702197288960},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,85,24,16,44]} 
[2026-07-01 20:36:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:36:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:36:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427082240001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:36:54] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-01 20:36:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 20:36:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333898110575050752,"km_value":333898110575050.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:36:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5478206702197288960,"description":"Unknown IO ID 44"} 
[2026-07-01 20:36:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427082240001,"power":27604,"unknown_145":206,"unknown_85":36608,"ignition":32,"odometer":null,"unknown_44":-5478206702197288960}} 
[2026-07-01 20:36:54] local.INFO: DEBUG: GPS processor result {"connection_id":119277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:36:54] local.INFO: GPS data processed {"connection_id":119277,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:36:54] local.INFO: Acknowledgment sent {"connection_id":119277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:37:18] local.INFO: TCP Data received {"connection_id":119278,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119278,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:37:18] local.INFO: Processing buffer {"connection_id":119278,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:37:18] local.INFO: IMEI packet received {"connection_id":119278,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 20:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":119278,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:37:25] local.INFO: TCP Data received {"connection_id":119277,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e376e28012cb5088007756f50003100342c..."} 
[2026-07-01 20:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e376e28012cb5088007756f50003100342c..."} 
[2026-07-01 20:37:25] local.INFO: Processing buffer {"connection_id":119277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e376e28012cb5088007756f50003100342c..."} 
[2026-07-01 20:37:25] local.INFO: Packet analysis {"connection_id":119277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e37"} 
[2026-07-01 20:37:25] local.INFO: Extracted packet for processing {"connection_id":119277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e37"} 
[2026-07-01 20:37:25] local.INFO: GPS Element Parsed {"raw_longitude":750061696,"raw_latitude":125136720,"longitude_deg":75.0061696,"latitude_deg":12.513672,"altitude":49,"angle":52,"satellites":44,"speed":34,"hex_longitude":"2cb50880","hex_latitude":"07756f50","is_valid_coordinates":true} 
[2026-07-01 20:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:37:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427101696001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:37:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333901486419345408,"note":"Value kept but may cause issues"} 
[2026-07-01 20:37:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5410371232810358784,"note":"Value kept but may cause issues"} 
[2026-07-01 20:37:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:37:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782918377000,"timestamp_ms":1782918377000,"timestamp_seconds":1782918377,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e376e28"} 
[2026-07-01 20:37:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:37:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 20:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 20:37:25] 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-01 20:37:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:37:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:37:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:37:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:37:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:37:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:37:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 20:37:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:37:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:37:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427101696001,"66":27517,"143":206,"85":36608,"24":34,"16":333901486419345408,"44":-5410371232810358784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,85,24,16,44]} 
[2026-07-01 20:37:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:37:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:37:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427101696001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:37:25] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-07-01 20:37:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 20:37:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333901486419345408,"km_value":333901486419345.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:37:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5410371232810358784,"description":"Unknown IO ID 44"} 
[2026-07-01 20:37:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427101696001,"power":27517,"unknown_143":206,"unknown_85":36608,"ignition":34,"odometer":null,"unknown_44":-5410371232810358784}} 
[2026-07-01 20:37:25] local.INFO: DEBUG: GPS processor result {"connection_id":119277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:37:25] local.INFO: GPS data processed {"connection_id":119277,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:37:25] local.INFO: Acknowledgment sent {"connection_id":119277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:37:57] local.INFO: TCP Data received {"connection_id":119277,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e379920012cb5278007758618003200352c..."} 
[2026-07-01 20:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e379920012cb5278007758618003200352c..."} 
[2026-07-01 20:37:57] local.INFO: Processing buffer {"connection_id":119277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e379920012cb5278007758618003200352c..."} 
[2026-07-01 20:37:57] local.INFO: Packet analysis {"connection_id":119277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e37"} 
[2026-07-01 20:37:57] local.INFO: Extracted packet for processing {"connection_id":119277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e37"} 
[2026-07-01 20:37:57] local.INFO: GPS Element Parsed {"raw_longitude":750069632,"raw_latitude":125142552,"longitude_deg":75.0069632,"latitude_deg":12.5142552,"altitude":50,"angle":53,"satellites":44,"speed":35,"hex_longitude":"2cb52780","hex_latitude":"07758618","is_valid_coordinates":true} 
[2026-07-01 20:37:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:37:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427104512001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:37:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333901954570780672,"note":"Value kept but may cause issues"} 
[2026-07-01 20:37:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5401926983507554304,"note":"Value kept but may cause issues"} 
[2026-07-01 20:37:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:37:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782918388000,"timestamp_ms":1782918388000,"timestamp_seconds":1782918388,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e379920"} 
[2026-07-01 20:37:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:37:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 20:37:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-01 20:37:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20:37:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:37:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:37:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:37:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:37:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:37:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:37:57] 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-01 20:37:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:37:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:37:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427104512001,"66":27615,"143":206,"85":36608,"24":35,"16":333901954570780672,"44":-5401926983507554304},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,85,24,16,44]} 
[2026-07-01 20:37:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:37:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:37:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427104512001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:37:57] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-07-01 20:37:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 20:37:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333901954570780672,"km_value":333901954570780.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:37:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5401926983507554304,"description":"Unknown IO ID 44"} 
[2026-07-01 20:37:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427104512001,"power":27615,"unknown_143":206,"unknown_85":36608,"ignition":35,"odometer":null,"unknown_44":-5401926983507554304}} 
[2026-07-01 20:37:57] local.INFO: DEBUG: GPS processor result {"connection_id":119277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:37:57] local.INFO: GPS data processed {"connection_id":119277,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:37:57] local.INFO: Acknowledgment sent {"connection_id":119277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:38:29] local.INFO: TCP Data received {"connection_id":119277,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e37c418012cb5464007759d38003400342c..."} 
[2026-07-01 20:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e37c418012cb5464007759d38003400342c..."} 
[2026-07-01 20:38:29] local.INFO: Processing buffer {"connection_id":119277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e37c418012cb5464007759d38003400342c..."} 
[2026-07-01 20:38:29] local.INFO: Packet analysis {"connection_id":119277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e37"} 
[2026-07-01 20:38:29] local.INFO: Extracted packet for processing {"connection_id":119277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e37"} 
[2026-07-01 20:38:29] local.INFO: GPS Element Parsed {"raw_longitude":750077504,"raw_latitude":125148472,"longitude_deg":75.0077504,"latitude_deg":12.5148472,"altitude":52,"angle":52,"satellites":44,"speed":34,"hex_longitude":"2cb54640","hex_latitude":"07759d38","is_valid_coordinates":true} 
[2026-07-01 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-01 20:38:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427107328001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:38:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333902422722215936,"note":"Value kept but may cause issues"} 
[2026-07-01 20:38:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5393201259228030976,"note":"Value kept but may cause issues"} 
[2026-07-01 20:38:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:38:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782918399000,"timestamp_ms":1782918399000,"timestamp_seconds":1782918399,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e37c418"} 
[2026-07-01 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-01 20:38:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-01 20:38:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 20:38:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:38:29] local.INFO: Teltonika packet parsed successfully {"connection_id":119277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:38:29] local.INFO: Passing IMEI to GPS processor {"connection_id":119277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:38:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":119277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:38:29] 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-01 20:38:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:38:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:38:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427107328001,"66":27604,"143":206,"85":36608,"24":34,"16":333902422722215936,"44":-5393201259228030976},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,85,24,16,44]} 
[2026-07-01 20:38:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:38:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:38:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427107328001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:38:29] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-07-01 20:38:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 20:38:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333902422722215936,"km_value":333902422722215.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:38:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5393201259228030976,"description":"Unknown IO ID 44"} 
[2026-07-01 20:38:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427107328001,"power":27604,"unknown_143":206,"unknown_85":36608,"ignition":34,"odometer":null,"unknown_44":-5393201259228030976}} 
[2026-07-01 20:38:29] local.INFO: DEBUG: GPS processor result {"connection_id":119277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:38:29] local.INFO: GPS data processed {"connection_id":119277,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:38:29] local.INFO: Acknowledgment sent {"connection_id":119277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:39:04] local.INFO: TCP Data received {"connection_id":119277,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e37ef10012cb563400775b2e0003600342b..."} 
[2026-07-01 20:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e37ef10012cb563400775b2e0003600342b..."} 
[2026-07-01 20:39:04] local.INFO: Processing buffer {"connection_id":119277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e37ef10012cb563400775b2e0003600342b..."} 
[2026-07-01 20:39:04] local.INFO: Packet analysis {"connection_id":119277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e37"} 
[2026-07-01 20:39:04] local.INFO: Extracted packet for processing {"connection_id":119277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e37"} 
[2026-07-01 20:39:04] local.INFO: GPS Element Parsed {"raw_longitude":750084928,"raw_latitude":125154016,"longitude_deg":75.0084928,"latitude_deg":12.5154016,"altitude":54,"angle":52,"satellites":43,"speed":33,"hex_longitude":"2cb56340","hex_latitude":"0775b2e0","is_valid_coordinates":true} 
[2026-07-01 20: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-01 20:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427110144001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333902865103847424,"note":"Value kept but may cause issues"} 
[2026-07-01 20:39:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5384545903692662784,"note":"Value kept but may cause issues"} 
[2026-07-01 20:39:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782918410000,"timestamp_ms":1782918410000,"timestamp_seconds":1782918410,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e37ef10"} 
[2026-07-01 20: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-01 20:39: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-01 20: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-01 20:39:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20: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-01 20: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-01 20:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":119277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":119277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":119277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:39:04] 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-01 20:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427110144001,"66":27604,"143":206,"85":36608,"24":33,"16":333902865103847424,"44":-5384545903692662784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,85,24,16,44]} 
[2026-07-01 20:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427110144001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:39:04] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-07-01 20:39:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 20:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333902865103847424,"km_value":333902865103847.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:39:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5384545903692662784,"description":"Unknown IO ID 44"} 
[2026-07-01 20:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427110144001,"power":27604,"unknown_143":206,"unknown_85":36608,"ignition":33,"odometer":null,"unknown_44":-5384545903692662784}} 
[2026-07-01 20:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":119277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:39:04] local.INFO: GPS data processed {"connection_id":119277,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:39:04] local.INFO: Acknowledgment sent {"connection_id":119277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:39:48] local.INFO: TCP Data received {"connection_id":119279,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:39:48] local.INFO: Processing buffer {"connection_id":119279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:39:48] local.INFO: IMEI packet received {"connection_id":119279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 20:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":119279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:39:52] local.INFO: TCP Data received {"connection_id":119279,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:39:52] local.INFO: Processing buffer {"connection_id":119279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:39:52] local.INFO: IMEI packet received {"connection_id":119279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":119279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:39:53] local.INFO: TCP Data received {"connection_id":119279,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:39:53] local.INFO: Processing buffer {"connection_id":119279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:39:53] local.INFO: IMEI packet received {"connection_id":119279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":119279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:39:54] local.INFO: TCP Data received {"connection_id":119279,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e39b048012cb721400775f630003f00722c..."} 
[2026-07-01 20:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e39b048012cb721400775f630003f00722c..."} 
[2026-07-01 20:39:54] local.INFO: Processing buffer {"connection_id":119279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e39b048012cb721400775f630003f00722c..."} 
[2026-07-01 20:39:54] local.INFO: Packet analysis {"connection_id":119279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e39"} 
[2026-07-01 20:39:54] local.INFO: Extracted packet for processing {"connection_id":119279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e39"} 
[2026-07-01 20:39:54] local.INFO: GPS Element Parsed {"raw_longitude":750199104,"raw_latitude":125171248,"longitude_deg":75.0199104,"latitude_deg":12.5171248,"altitude":63,"angle":114,"satellites":44,"speed":50,"hex_longitude":"2cb72140","hex_latitude":"0775f630","is_valid_coordinates":true} 
[2026-07-01 20:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427140864001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333908611770089472,"note":"Value kept but may cause issues"} 
[2026-07-01 20:39:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5258726589096546304,"note":"Value kept but may cause issues"} 
[2026-07-01 20:39:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782918525000,"timestamp_ms":1782918525000,"timestamp_seconds":1782918525,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e39b048"} 
[2026-07-01 20:39:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:39: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-01 20:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-01 20:39:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20:39:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:39:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":119279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":119279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":119279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:39:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 20:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427140864001,"66":27517,"159":206,"85":36608,"24":50,"16":333908611770089472,"44":-5258726589096546304},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-07-01 20:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427140864001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:39:54] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-07-01 20:39:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 20:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333908611770089472,"km_value":333908611770089.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:39:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5258726589096546304,"description":"Unknown IO ID 44"} 
[2026-07-01 20:39:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427140864001,"power":27517,"unknown_159":206,"unknown_85":36608,"ignition":50,"odometer":null,"unknown_44":-5258726589096546304}} 
[2026-07-01 20:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":119279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:39:54] local.INFO: GPS data processed {"connection_id":119279,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:39:54] local.INFO: Acknowledgment sent {"connection_id":119279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:40:25] local.INFO: TCP Data received {"connection_id":119279,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e39cba0012cb740c00775e3d0003c007d2d..."} 
[2026-07-01 20:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e39cba0012cb740c00775e3d0003c007d2d..."} 
[2026-07-01 20:40:25] local.INFO: Processing buffer {"connection_id":119279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e39cba0012cb740c00775e3d0003c007d2d..."} 
[2026-07-01 20:40:25] local.INFO: Packet analysis {"connection_id":119279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e39"} 
[2026-07-01 20:40:25] local.INFO: Extracted packet for processing {"connection_id":119279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e39"} 
[2026-07-01 20:40:25] local.INFO: GPS Element Parsed {"raw_longitude":750207168,"raw_latitude":125166544,"longitude_deg":75.0207168,"latitude_deg":12.5166544,"altitude":60,"angle":125,"satellites":45,"speed":53,"hex_longitude":"2cb740c0","hex_latitude":"0775e3d0","is_valid_coordinates":true} 
[2026-07-01 20:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:40:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427142400001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:40:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333909054151720960,"note":"Value kept but may cause issues"} 
[2026-07-01 20:40:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5250845289749270528,"note":"Value kept but may cause issues"} 
[2026-07-01 20:40:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:40:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782918532000,"timestamp_ms":1782918532000,"timestamp_seconds":1782918532,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e39cba0"} 
[2026-07-01 20:40:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:40: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-01 20:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-01 20:40:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20:40:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:40:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:40:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:40:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:40:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:40:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:40:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 20:40:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:40:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:40:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427142400001,"66":27626,"159":206,"85":36608,"24":53,"16":333909054151720960,"44":-5250845289749270528},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-07-01 20:40:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:40:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:40:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427142400001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:40:25] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-07-01 20:40:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 20:40:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333909054151720960,"km_value":333909054151720.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:40:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5250845289749270528,"description":"Unknown IO ID 44"} 
[2026-07-01 20:40:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427142400001,"power":27626,"unknown_159":206,"unknown_85":36608,"ignition":53,"odometer":null,"unknown_44":-5250845289749270528}} 
[2026-07-01 20:40:25] local.INFO: DEBUG: GPS processor result {"connection_id":119279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:40:25] local.INFO: GPS data processed {"connection_id":119279,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:40:25] local.INFO: Acknowledgment sent {"connection_id":119279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:40:48] local.INFO: TCP Data received {"connection_id":121139,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:40:48] local.INFO: Processing buffer {"connection_id":121139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:40:48] local.INFO: IMEI packet received {"connection_id":121139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 20:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":121139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:40:54] local.INFO: TCP Data received {"connection_id":121139,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:40:54] local.INFO: Processing buffer {"connection_id":121139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:40:54] local.INFO: IMEI packet received {"connection_id":121139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":121139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:40:55] local.INFO: TCP Data received {"connection_id":121139,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e39cba0012cb740c00775e3d0003c007d2d..."} 
[2026-07-01 20:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e39cba0012cb740c00775e3d0003c007d2d..."} 
[2026-07-01 20:40:55] local.INFO: Processing buffer {"connection_id":121139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e39cba0012cb740c00775e3d0003c007d2d..."} 
[2026-07-01 20:40:55] local.INFO: Packet analysis {"connection_id":121139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e39"} 
[2026-07-01 20:40:55] local.INFO: Extracted packet for processing {"connection_id":121139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e39"} 
[2026-07-01 20:40:55] local.INFO: GPS Element Parsed {"raw_longitude":750207168,"raw_latitude":125166544,"longitude_deg":75.0207168,"latitude_deg":12.5166544,"altitude":60,"angle":125,"satellites":45,"speed":53,"hex_longitude":"2cb740c0","hex_latitude":"0775e3d0","is_valid_coordinates":true} 
[2026-07-01 20: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-01 20:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427144192001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333909054151720960,"note":"Value kept but may cause issues"} 
[2026-07-01 20:40:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5241978827984089088,"note":"Value kept but may cause issues"} 
[2026-07-01 20:40:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782918532000,"timestamp_ms":1782918532000,"timestamp_seconds":1782918532,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e39cba0"} 
[2026-07-01 20: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-01 20:40:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 20: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-01 20:40:55] 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-01 20: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-01 20: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-01 20:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":121139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":121139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":121139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:40:55] 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-01 20:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427144192001,"66":27626,"159":206,"85":36608,"24":53,"16":333909054151720960,"44":-5241978827984089088},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-07-01 20:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427144192001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:40:55] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-07-01 20:40:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 20:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333909054151720960,"km_value":333909054151720.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:40:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5241978827984089088,"description":"Unknown IO ID 44"} 
[2026-07-01 20:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427144192001,"power":27626,"unknown_159":206,"unknown_85":36608,"ignition":53,"odometer":null,"unknown_44":-5241978827984089088}} 
[2026-07-01 20:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":121139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:40:55] local.INFO: GPS data processed {"connection_id":121139,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:40:55] local.INFO: Acknowledgment sent {"connection_id":121139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:41:26] local.INFO: TCP Data received {"connection_id":121139,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e3b36e8012cb8d1c007752998004000682c..."} 
[2026-07-01 20:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e3b36e8012cb8d1c007752998004000682c..."} 
[2026-07-01 20:41:26] local.INFO: Processing buffer {"connection_id":121139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e3b36e8012cb8d1c007752998004000682c..."} 
[2026-07-01 20:41:26] local.INFO: Packet analysis {"connection_id":121139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e3b"} 
[2026-07-01 20:41:26] local.INFO: Extracted packet for processing {"connection_id":121139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e3b"} 
[2026-07-01 20:41:26] local.INFO: GPS Element Parsed {"raw_longitude":750309824,"raw_latitude":125118872,"longitude_deg":75.0309824,"latitude_deg":12.5118872,"altitude":64,"angle":104,"satellites":44,"speed":44,"hex_longitude":"2cb8d1c0","hex_latitude":"07752998","is_valid_coordinates":true} 
[2026-07-01 20:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:41:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427165952001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:41:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333914491580317696,"note":"Value kept but may cause issues"} 
[2026-07-01 20:41:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5138888617775468544,"note":"Value kept but may cause issues"} 
[2026-07-01 20:41:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:41:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782918625000,"timestamp_ms":1782918625000,"timestamp_seconds":1782918625,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e3b36e8"} 
[2026-07-01 20:41:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:41: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-01 20:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-01 20:41:26] 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-01 20:41:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:41:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:41:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:41:26] local.INFO: Teltonika packet parsed successfully {"connection_id":121139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:41:26] local.INFO: Passing IMEI to GPS processor {"connection_id":121139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:41:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":121139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:41:26] 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-01 20:41:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:41:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:41:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427165952001,"66":27615,"159":206,"85":36608,"24":44,"16":333914491580317696,"44":-5138888617775468544},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-07-01 20:41:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:41:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:41:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427165952001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:41:26] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-07-01 20:41:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 20:41:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333914491580317696,"km_value":333914491580317.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:41:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5138888617775468544,"description":"Unknown IO ID 44"} 
[2026-07-01 20:41:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427165952001,"power":27615,"unknown_159":206,"unknown_85":36608,"ignition":44,"odometer":null,"unknown_44":-5138888617775468544}} 
[2026-07-01 20:41:26] local.INFO: DEBUG: GPS processor result {"connection_id":121139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:41:26] local.INFO: GPS data processed {"connection_id":121139,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:41:26] local.INFO: Acknowledgment sent {"connection_id":121139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:41:51] local.INFO: TCP Data received {"connection_id":121141,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:41:51] local.INFO: Processing buffer {"connection_id":121141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:41:51] local.INFO: IMEI packet received {"connection_id":121141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 20:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":121141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:41:51] local.INFO: TCP Data received {"connection_id":121141,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:41:51] local.INFO: Processing buffer {"connection_id":121141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:41:51] local.INFO: IMEI packet received {"connection_id":121141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":121141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:41:54] local.INFO: TCP Data received {"connection_id":121141,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:41:54] local.INFO: Processing buffer {"connection_id":121141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:41:54] local.INFO: IMEI packet received {"connection_id":121141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":121141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:41:59] local.INFO: TCP Data received {"connection_id":121141,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:41:59] local.INFO: Processing buffer {"connection_id":121141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:41:59] local.INFO: IMEI packet received {"connection_id":121141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":121141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:42:00] local.INFO: TCP Data received {"connection_id":121141,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e3b5a10012cb8f70007751ff8004400692c..."} 
[2026-07-01 20:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e3b5a10012cb8f70007751ff8004400692c..."} 
[2026-07-01 20:42:00] local.INFO: Processing buffer {"connection_id":121141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e3b5a10012cb8f70007751ff8004400692c..."} 
[2026-07-01 20:42:00] local.INFO: Packet analysis {"connection_id":121141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e3b"} 
[2026-07-01 20:42:00] local.INFO: Extracted packet for processing {"connection_id":121141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e3b"} 
[2026-07-01 20:42:00] local.INFO: GPS Element Parsed {"raw_longitude":750319360,"raw_latitude":125116408,"longitude_deg":75.031936,"latitude_deg":12.5116408,"altitude":68,"angle":105,"satellites":44,"speed":41,"hex_longitude":"2cb8f700","hex_latitude":"07751ff8","is_valid_coordinates":true} 
[2026-07-01 20: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-01 20:42:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427168000001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:42:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333914959731752960,"note":"Value kept but may cause issues"} 
[2026-07-01 20:42:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5129107362335320064,"note":"Value kept but may cause issues"} 
[2026-07-01 20:42:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:42:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782918634000,"timestamp_ms":1782918634000,"timestamp_seconds":1782918634,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e3b5a10"} 
[2026-07-01 20: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-01 20:42:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 20: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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-01 20:42:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20:42:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20: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-01 20:42:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:42:00] local.INFO: Teltonika packet parsed successfully {"connection_id":121141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:42:00] local.INFO: Passing IMEI to GPS processor {"connection_id":121141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:42:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":121141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:42:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 20:42:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:42:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:42:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427168000001,"66":27550,"159":206,"85":36608,"24":41,"16":333914959731752960,"44":-5129107362335320064},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-07-01 20:42:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:42:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:42:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427168000001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:42:00] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-07-01 20:42:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 20:42:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333914959731752960,"km_value":333914959731752.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:42:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5129107362335320064,"description":"Unknown IO ID 44"} 
[2026-07-01 20:42:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427168000001,"power":27550,"unknown_159":206,"unknown_85":36608,"ignition":41,"odometer":null,"unknown_44":-5129107362335320064}} 
[2026-07-01 20:42:00] local.INFO: DEBUG: GPS processor result {"connection_id":121141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:42:00] local.INFO: GPS data processed {"connection_id":121141,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:42:00] local.INFO: Acknowledgment sent {"connection_id":121141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:42:00] local.INFO: TCP Data received {"connection_id":121141,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e3b7d38012cb91940077515800047006d2d..."} 
[2026-07-01 20:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e3b7d38012cb91940077515800047006d2d..."} 
[2026-07-01 20:42:00] local.INFO: Processing buffer {"connection_id":121141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e3b7d38012cb91940077515800047006d2d..."} 
[2026-07-01 20:42:00] local.INFO: Packet analysis {"connection_id":121141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e3b"} 
[2026-07-01 20:42:00] local.INFO: Extracted packet for processing {"connection_id":121141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e3b"} 
[2026-07-01 20:42:00] local.INFO: GPS Element Parsed {"raw_longitude":750328128,"raw_latitude":125113728,"longitude_deg":75.0328128,"latitude_deg":12.5113728,"altitude":71,"angle":109,"satellites":45,"speed":38,"hex_longitude":"2cb91940","hex_latitude":"07751580","is_valid_coordinates":true} 
[2026-07-01 20: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-01 20:42:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427170304001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:42:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333915393523449856,"note":"Value kept but may cause issues"} 
[2026-07-01 20:42:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5118622419453478912,"note":"Value kept but may cause issues"} 
[2026-07-01 20:42:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:42:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782918643000,"timestamp_ms":1782918643000,"timestamp_seconds":1782918643,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e3b7d38"} 
[2026-07-01 20: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-01 20:42:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 20: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":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-01 20:42:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2155,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20:42:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20: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-01 20:42:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:42:00] local.INFO: Teltonika packet parsed successfully {"connection_id":121141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:42:00] local.INFO: Passing IMEI to GPS processor {"connection_id":121141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:42:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":121141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:42:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 20:42:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:42:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:42:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427170304001,"66":27463,"159":206,"85":36608,"24":38,"16":333915393523449856,"44":-5118622419453478912},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-07-01 20:42:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:42:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:42:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427170304001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:42:00] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-07-01 20:42:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 20:42:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333915393523449856,"km_value":333915393523449.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:42:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5118622419453478912,"description":"Unknown IO ID 44"} 
[2026-07-01 20:42:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427170304001,"power":27463,"unknown_159":206,"unknown_85":36608,"ignition":38,"odometer":null,"unknown_44":-5118622419453478912}} 
[2026-07-01 20:42:00] local.INFO: DEBUG: GPS processor result {"connection_id":121141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:42:00] local.INFO: GPS data processed {"connection_id":121141,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:42:00] local.INFO: Acknowledgment sent {"connection_id":121141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:42:31] local.INFO: TCP Data received {"connection_id":121141,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e3ba448012cb93d00077508800049006e2d..."} 
[2026-07-01 20:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e3ba448012cb93d00077508800049006e2d..."} 
[2026-07-01 20:42:31] local.INFO: Processing buffer {"connection_id":121141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e3ba448012cb93d00077508800049006e2d..."} 
[2026-07-01 20:42:31] local.INFO: Packet analysis {"connection_id":121141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e3b"} 
[2026-07-01 20:42:31] local.INFO: Extracted packet for processing {"connection_id":121141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e3b"} 
[2026-07-01 20:42:31] local.INFO: GPS Element Parsed {"raw_longitude":750337280,"raw_latitude":125110400,"longitude_deg":75.033728,"latitude_deg":12.51104,"altitude":73,"angle":110,"satellites":45,"speed":37,"hex_longitude":"2cb93d00","hex_latitude":"07750880","is_valid_coordinates":true} 
[2026-07-01 20:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427172608001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333915857379917824,"note":"Value kept but may cause issues"} 
[2026-07-01 20:42:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5108981901501825024,"note":"Value kept but may cause issues"} 
[2026-07-01 20:42:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782918653000,"timestamp_ms":1782918653000,"timestamp_seconds":1782918653,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e3ba448"} 
[2026-07-01 20:42:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:42:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 20:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-01 20:42:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20:42:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:42:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":121141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":121141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":121141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:42:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 20:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427172608001,"66":27571,"19":206,"85":36608,"24":37,"16":333915857379917824,"44":-5108981901501825024},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,44]} 
[2026-07-01 20:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427172608001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:42:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-01 20:42:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 20:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333915857379917824,"km_value":333915857379917.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:42:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5108981901501825024,"description":"Unknown IO ID 44"} 
[2026-07-01 20:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427172608001,"power":27571,"unknown_19":206,"unknown_85":36608,"ignition":37,"odometer":null,"unknown_44":-5108981901501825024}} 
[2026-07-01 20:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":121141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:42:31] local.INFO: GPS data processed {"connection_id":121141,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:42:31] local.INFO: Acknowledgment sent {"connection_id":121141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:42:36] local.INFO: TCP Data received {"connection_id":119280,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119280,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:42:36] local.INFO: Processing buffer {"connection_id":119280,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:42:36] local.INFO: IMEI packet received {"connection_id":119280,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 20:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":119280,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:42:49] local.INFO: TCP Data received {"connection_id":119281,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:42:49] local.INFO: Processing buffer {"connection_id":119281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:42:49] local.INFO: IMEI packet received {"connection_id":119281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 20:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":119281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:42:50] local.INFO: TCP Data received {"connection_id":119281,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:42:50] local.INFO: Processing buffer {"connection_id":119281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:42:50] local.INFO: IMEI packet received {"connection_id":119281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":119281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:42:54] local.INFO: TCP Data received {"connection_id":119281,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:42:54] local.INFO: Processing buffer {"connection_id":119281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:42:54] local.INFO: IMEI packet received {"connection_id":119281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":119281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:42:57] local.INFO: TCP Data received {"connection_id":119281,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e3bcb58012cb95f400774fcc8004b006b2d..."} 
[2026-07-01 20:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e3bcb58012cb95f400774fcc8004b006b2d..."} 
[2026-07-01 20:42:57] local.INFO: Processing buffer {"connection_id":119281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e3bcb58012cb95f400774fcc8004b006b2d..."} 
[2026-07-01 20:42:57] local.INFO: Packet analysis {"connection_id":119281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e3b"} 
[2026-07-01 20:42:57] local.INFO: Extracted packet for processing {"connection_id":119281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e3b"} 
[2026-07-01 20:42:57] local.INFO: GPS Element Parsed {"raw_longitude":750346048,"raw_latitude":125107400,"longitude_deg":75.0346048,"latitude_deg":12.51074,"altitude":75,"angle":107,"satellites":45,"speed":35,"hex_longitude":"2cb95f40","hex_latitude":"0774fcc8","is_valid_coordinates":true} 
[2026-07-01 20: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-01 20:42:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427175168001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:42:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333916295466582016,"note":"Value kept but may cause issues"} 
[2026-07-01 20:42:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5098919171085271040,"note":"Value kept but may cause issues"} 
[2026-07-01 20:42:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:42:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782918663000,"timestamp_ms":1782918663000,"timestamp_seconds":1782918663,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e3bcb58"} 
[2026-07-01 20: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-01 20:42:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 20:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-01 20:42:57] 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-01 20: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-01 20: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-01 20:42:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:42:57] local.INFO: Teltonika packet parsed successfully {"connection_id":119281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:42:57] local.INFO: Passing IMEI to GPS processor {"connection_id":119281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:42:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":119281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:42:57] 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-01 20:42:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:42:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:42:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427175168001,"66":27517,"19":206,"85":36608,"24":35,"16":333916295466582016,"44":-5098919171085271040},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,44]} 
[2026-07-01 20:42:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:42:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:42:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427175168001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:42:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-01 20:42:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 20:42:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333916295466582016,"km_value":333916295466582.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:42:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5098919171085271040,"description":"Unknown IO ID 44"} 
[2026-07-01 20:42:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427175168001,"power":27517,"unknown_19":206,"unknown_85":36608,"ignition":35,"odometer":null,"unknown_44":-5098919171085271040}} 
[2026-07-01 20:42:57] local.INFO: DEBUG: GPS processor result {"connection_id":119281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:42:57] local.INFO: GPS data processed {"connection_id":119281,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:42:57] local.INFO: Acknowledgment sent {"connection_id":119281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:43:00] local.INFO: TCP Data received {"connection_id":119281,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e3bf268012cb982800774f548004d00602d..."} 
[2026-07-01 20:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e3bf268012cb982800774f548004d00602d..."} 
[2026-07-01 20:43:00] local.INFO: Processing buffer {"connection_id":119281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e3bf268012cb982800774f548004d00602d..."} 
[2026-07-01 20:43:00] local.INFO: Packet analysis {"connection_id":119281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e3b"} 
[2026-07-01 20:43:00] local.INFO: Extracted packet for processing {"connection_id":119281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e3b"} 
[2026-07-01 20:43:00] local.INFO: GPS Element Parsed {"raw_longitude":750355072,"raw_latitude":125105480,"longitude_deg":75.0355072,"latitude_deg":12.510548,"altitude":77,"angle":96,"satellites":45,"speed":37,"hex_longitude":"2cb98280","hex_latitude":"0774f548","is_valid_coordinates":true} 
[2026-07-01 20: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-01 20:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427177728001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333916733553246208,"note":"Value kept but may cause issues"} 
[2026-07-01 20:43:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5089278653133699072,"note":"Value kept but may cause issues"} 
[2026-07-01 20:43:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782918673000,"timestamp_ms":1782918673000,"timestamp_seconds":1782918673,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e3bf268"} 
[2026-07-01 20: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-01 20:43:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 20: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-01 20:43:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20: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-01 20: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-01 20:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":119281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":119281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":119281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:43:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 20:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427177728001,"66":27397,"19":206,"85":36608,"24":37,"16":333916733553246208,"44":-5089278653133699072},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,44]} 
[2026-07-01 20:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:43:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:43:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427177728001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:43:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-07-01 20:43:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 20:43:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333916733553246208,"km_value":333916733553246.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:43:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5089278653133699072,"description":"Unknown IO ID 44"} 
[2026-07-01 20:43:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427177728001,"power":27397,"unknown_19":206,"unknown_85":36608,"ignition":37,"odometer":null,"unknown_44":-5089278653133699072}} 
[2026-07-01 20:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":119281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:43:00] local.INFO: GPS data processed {"connection_id":119281,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:43:00] local.INFO: Acknowledgment sent {"connection_id":119281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:43:15] local.INFO: TCP Data received {"connection_id":120074,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120074,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:43:15] local.INFO: Processing buffer {"connection_id":120074,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:43:15] local.INFO: IMEI packet received {"connection_id":120074,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 20:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":120074,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:43:33] local.INFO: TCP Data received {"connection_id":119281,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e3d2ae8012cbb34000774ddd0004d00562c..."} 
[2026-07-01 20:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e3d2ae8012cbb34000774ddd0004d00562c..."} 
[2026-07-01 20:43:33] local.INFO: Processing buffer {"connection_id":119281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e3d2ae8012cbb34000774ddd0004d00562c..."} 
[2026-07-01 20:43:33] local.INFO: Packet analysis {"connection_id":119281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e3d"} 
[2026-07-01 20:43:33] local.INFO: Extracted packet for processing {"connection_id":119281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e3d"} 
[2026-07-01 20:43:33] local.INFO: GPS Element Parsed {"raw_longitude":750466048,"raw_latitude":125099472,"longitude_deg":75.0466048,"latitude_deg":12.5099472,"altitude":77,"angle":86,"satellites":44,"speed":57,"hex_longitude":"2cbb3400","hex_latitude":"0774ddd0","is_valid_coordinates":true} 
[2026-07-01 20: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-01 20:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427198976001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333921999183151104,"note":"Value kept but may cause issues"} 
[2026-07-01 20:43:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4968525888127006720,"note":"Value kept but may cause issues"} 
[2026-07-01 20:43:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782918753000,"timestamp_ms":1782918753000,"timestamp_seconds":1782918753,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e3d2ae8"} 
[2026-07-01 20: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-01 20:43:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 20:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 20:43:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20: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-01 20: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-01 20:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":119281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":119281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":119281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:43:33] 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-01 20:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427198976001,"66":27365,"93":206,"85":36608,"24":57,"16":333921999183151104,"44":-4968525888127006720},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,44]} 
[2026-07-01 20:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427198976001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:43:33] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-07-01 20:43:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 20:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333921999183151104,"km_value":333921999183151.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:43:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4968525888127006720,"description":"Unknown IO ID 44"} 
[2026-07-01 20:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427198976001,"power":27365,"unknown_93":206,"unknown_85":36608,"ignition":57,"odometer":null,"unknown_44":-4968525888127006720}} 
[2026-07-01 20:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":119281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:43:33] local.INFO: GPS data processed {"connection_id":119281,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:43:33] local.INFO: Acknowledgment sent {"connection_id":119281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:43:48] local.INFO: TCP Data received {"connection_id":120075,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:43:48] local.INFO: Processing buffer {"connection_id":120075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:43:48] local.INFO: IMEI packet received {"connection_id":120075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 20:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":120075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:43:48] local.INFO: TCP Data received {"connection_id":120075,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:43:48] local.INFO: Processing buffer {"connection_id":120075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:43:48] local.INFO: IMEI packet received {"connection_id":120075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":120075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:43:53] local.INFO: TCP Data received {"connection_id":120075,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:43:53] local.INFO: Processing buffer {"connection_id":120075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:43:53] local.INFO: IMEI packet received {"connection_id":120075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":120075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:43:54] local.INFO: TCP Data received {"connection_id":120075,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e3d4640012cbb5b800774e088004c00572a..."} 
[2026-07-01 20:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e3d4640012cbb5b800774e088004c00572a..."} 
[2026-07-01 20:43:54] local.INFO: Processing buffer {"connection_id":120075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e3d4640012cbb5b800774e088004c00572a..."} 
[2026-07-01 20:43:54] local.INFO: Packet analysis {"connection_id":120075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e3d"} 
[2026-07-01 20:43:54] local.INFO: Extracted packet for processing {"connection_id":120075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e3d"} 
[2026-07-01 20:43:54] local.INFO: GPS Element Parsed {"raw_longitude":750476160,"raw_latitude":125100168,"longitude_deg":75.047616,"latitude_deg":12.5100168,"altitude":76,"angle":87,"satellites":42,"speed":55,"hex_longitude":"2cbb5b80","hex_latitude":"0774e088","is_valid_coordinates":true} 
[2026-07-01 20: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-01 20:43:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427200768001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:43:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333922475924520960,"note":"Value kept but may cause issues"} 
[2026-07-01 20:43:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4957337257802608640,"note":"Value kept but may cause issues"} 
[2026-07-01 20:43:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:43:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782918760000,"timestamp_ms":1782918760000,"timestamp_seconds":1782918760,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e3d4640"} 
[2026-07-01 20: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-01 20:43: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-01 20:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 20:43:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20: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-01 20: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-01 20:43:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:43:54] local.INFO: Teltonika packet parsed successfully {"connection_id":120075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:43:54] local.INFO: Passing IMEI to GPS processor {"connection_id":120075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:43:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":120075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:43:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 20:43:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:43:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:43:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427200768001,"66":27245,"93":206,"85":36608,"24":55,"16":333922475924520960,"44":-4957337257802608640},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,44]} 
[2026-07-01 20:43:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:43:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:43:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427200768001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:43:54] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-07-01 20:43:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 20:43:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333922475924520960,"km_value":333922475924520.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:43:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4957337257802608640,"description":"Unknown IO ID 44"} 
[2026-07-01 20:43:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427200768001,"power":27245,"unknown_93":206,"unknown_85":36608,"ignition":55,"odometer":null,"unknown_44":-4957337257802608640}} 
[2026-07-01 20:43:54] local.INFO: DEBUG: GPS processor result {"connection_id":120075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:43:54] local.INFO: GPS data processed {"connection_id":120075,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:43:54] local.INFO: Acknowledgment sent {"connection_id":120075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:44:25] local.INFO: TCP Data received {"connection_id":120075,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e3d6198012cbb81400774e318004c00562a..."} 
[2026-07-01 20:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e3d6198012cbb81400774e318004c00562a..."} 
[2026-07-01 20:44:25] local.INFO: Processing buffer {"connection_id":120075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e3d6198012cbb81400774e318004c00562a..."} 
[2026-07-01 20:44:25] local.INFO: Packet analysis {"connection_id":120075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e3d"} 
[2026-07-01 20:44:25] local.INFO: Extracted packet for processing {"connection_id":120075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e3d"} 
[2026-07-01 20:44:25] local.INFO: GPS Element Parsed {"raw_longitude":750485824,"raw_latitude":125100824,"longitude_deg":75.0485824,"latitude_deg":12.5100824,"altitude":76,"angle":86,"satellites":42,"speed":53,"hex_longitude":"2cbb8140","hex_latitude":"0774e318","is_valid_coordinates":true} 
[2026-07-01 20:44:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:44:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427202560001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:44:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333922935486021632,"note":"Value kept but may cause issues"} 
[2026-07-01 20:44:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4946218996222359552,"note":"Value kept but may cause issues"} 
[2026-07-01 20:44:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:44:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782918767000,"timestamp_ms":1782918767000,"timestamp_seconds":1782918767,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e3d6198"} 
[2026-07-01 20:44:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:44: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-01 20:44:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-01 20:44:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20:44:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:44:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:44:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:44:25] local.INFO: Teltonika packet parsed successfully {"connection_id":120075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:44:25] local.INFO: Passing IMEI to GPS processor {"connection_id":120075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:44:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":120075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:44:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 20:44:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:44:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:44:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427202560001,"66":27245,"93":206,"85":36608,"24":53,"16":333922935486021632,"44":-4946218996222359552},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,44]} 
[2026-07-01 20:44:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:44:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:44:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427202560001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:44:25] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-07-01 20:44:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 20:44:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333922935486021632,"km_value":333922935486021.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:44:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4946218996222359552,"description":"Unknown IO ID 44"} 
[2026-07-01 20:44:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427202560001,"power":27245,"unknown_93":206,"unknown_85":36608,"ignition":53,"odometer":null,"unknown_44":-4946218996222359552}} 
[2026-07-01 20:44:25] local.INFO: DEBUG: GPS processor result {"connection_id":120075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:44:25] local.INFO: GPS data processed {"connection_id":120075,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:44:25] local.INFO: Acknowledgment sent {"connection_id":120075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:44:48] local.INFO: TCP Data received {"connection_id":121142,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:44:48] local.INFO: Processing buffer {"connection_id":121142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:44:48] local.INFO: IMEI packet received {"connection_id":121142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 20:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":121142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:44:50] local.INFO: TCP Data received {"connection_id":121142,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:44:50] local.INFO: Processing buffer {"connection_id":121142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:44:50] local.INFO: IMEI packet received {"connection_id":121142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":121142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:44:50] local.INFO: TCP Data received {"connection_id":121142,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:44:50] local.INFO: Processing buffer {"connection_id":121142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:44:50] local.INFO: IMEI packet received {"connection_id":121142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":121142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:44:54] local.INFO: TCP Data received {"connection_id":121142,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:44:54] local.INFO: Processing buffer {"connection_id":121142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:44:54] local.INFO: IMEI packet received {"connection_id":121142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":121142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:44:54] local.INFO: TCP Data received {"connection_id":121142,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e3e7ec0012cbc6f8007749d78005100b22d..."} 
[2026-07-01 20:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e3e7ec0012cbc6f8007749d78005100b22d..."} 
[2026-07-01 20:44:54] local.INFO: Processing buffer {"connection_id":121142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e3e7ec0012cbc6f8007749d78005100b22d..."} 
[2026-07-01 20:44:54] local.INFO: Packet analysis {"connection_id":121142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e3e"} 
[2026-07-01 20:44:54] local.INFO: Extracted packet for processing {"connection_id":121142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e3e"} 
[2026-07-01 20:44:54] local.INFO: GPS Element Parsed {"raw_longitude":750546816,"raw_latitude":125083000,"longitude_deg":75.0546816,"latitude_deg":12.5083,"altitude":81,"angle":178,"satellites":45,"speed":29,"hex_longitude":"2cbc6f80","hex_latitude":"07749d78","is_valid_coordinates":true} 
[2026-07-01 20:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427221760001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333926165301428224,"note":"Value kept but may cause issues"} 
[2026-07-01 20:44:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4869024483862947840,"note":"Value kept but may cause issues"} 
[2026-07-01 20:44:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782918840000,"timestamp_ms":1782918840000,"timestamp_seconds":1782918840,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e3e7ec0"} 
[2026-07-01 20: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-01 20:44: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-01 20: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 20:44:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20: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-01 20: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-01 20:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":121142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":121142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":121142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:44:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 20:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427221760001,"66":26984,"92":206,"85":36608,"24":29,"16":333926165301428224,"44":-4869024483862947840},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,44]} 
[2026-07-01 20:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427221760001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:44:54] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-07-01 20:44:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 20:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333926165301428224,"km_value":333926165301428.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:44:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4869024483862947840,"description":"Unknown IO ID 44"} 
[2026-07-01 20:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427221760001,"power":26984,"unknown_92":206,"unknown_85":36608,"ignition":29,"odometer":null,"unknown_44":-4869024483862947840}} 
[2026-07-01 20:44:54] local.INFO: DEBUG: GPS processor result {"connection_id":121142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:44:54] local.INFO: GPS data processed {"connection_id":121142,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:44:54] local.INFO: Acknowledgment sent {"connection_id":121142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:45:25] local.INFO: TCP Data received {"connection_id":121142,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e3eada0012cbc6cc0077477f0004f00bf2e..."} 
[2026-07-01 20:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e3eada0012cbc6cc0077477f0004f00bf2e..."} 
[2026-07-01 20:45:25] local.INFO: Processing buffer {"connection_id":121142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e3eada0012cbc6cc0077477f0004f00bf2e..."} 
[2026-07-01 20:45:25] local.INFO: Packet analysis {"connection_id":121142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e3e"} 
[2026-07-01 20:45:25] local.INFO: Extracted packet for processing {"connection_id":121142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e3e"} 
[2026-07-01 20:45:25] local.INFO: GPS Element Parsed {"raw_longitude":750546112,"raw_latitude":125073392,"longitude_deg":75.0546112,"latitude_deg":12.5073392,"altitude":79,"angle":191,"satellites":46,"speed":33,"hex_longitude":"2cbc6cc0","hex_latitude":"077477f0","is_valid_coordinates":true} 
[2026-07-01 20:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427223040001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:45:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333926629157896192,"note":"Value kept but may cause issues"} 
[2026-07-01 20:45:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4868531902654613504,"note":"Value kept but may cause issues"} 
[2026-07-01 20:45:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:45:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782918852000,"timestamp_ms":1782918852000,"timestamp_seconds":1782918852,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e3eada0"} 
[2026-07-01 20:45:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:45:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 20:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-07-01 20:45:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1659,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20:45:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:45:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:45:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:45:25] local.INFO: Teltonika packet parsed successfully {"connection_id":121142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:45:25] local.INFO: Passing IMEI to GPS processor {"connection_id":121142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:45:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":121142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:45:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 20:45:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427223040001,"66":27234,"72":206,"85":36608,"24":33,"16":333926629157896192,"44":-4868531902654613504},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,85,24,16,44]} 
[2026-07-01 20:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427223040001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:45:25] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-07-01 20:45:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 20:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333926629157896192,"km_value":333926629157896.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:45:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4868531902654613504,"description":"Unknown IO ID 44"} 
[2026-07-01 20:45:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427223040001,"power":27234,"unknown_72":206,"unknown_85":36608,"ignition":33,"odometer":null,"unknown_44":-4868531902654613504}} 
[2026-07-01 20:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":121142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:45:25] local.INFO: GPS data processed {"connection_id":121142,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:45:25] local.INFO: Acknowledgment sent {"connection_id":121142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:46:57] local.INFO: TCP Data received {"connection_id":120076,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:46:57] local.INFO: Processing buffer {"connection_id":120076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:46:57] local.INFO: IMEI packet received {"connection_id":120076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 20:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":120076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:47:05] local.INFO: TCP Data received {"connection_id":120076,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:47:05] local.INFO: Processing buffer {"connection_id":120076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:47:05] local.INFO: IMEI packet received {"connection_id":120076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":120076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:47:06] local.INFO: TCP Data received {"connection_id":120076,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:47:06] local.INFO: Processing buffer {"connection_id":120076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:47:06] local.INFO: IMEI packet received {"connection_id":120076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":120076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:47:07] local.INFO: TCP Data received {"connection_id":120076,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e404f98012cbc6b0007738fa0004200c82c..."} 
[2026-07-01 20:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e404f98012cbc6b0007738fa0004200c82c..."} 
[2026-07-01 20:47:07] local.INFO: Processing buffer {"connection_id":120076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e404f98012cbc6b0007738fa0004200c82c..."} 
[2026-07-01 20:47:07] local.INFO: Packet analysis {"connection_id":120076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e40"} 
[2026-07-01 20:47:07] local.INFO: Extracted packet for processing {"connection_id":120076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e40"} 
[2026-07-01 20:47:07] local.INFO: GPS Element Parsed {"raw_longitude":750545664,"raw_latitude":125013920,"longitude_deg":75.0545664,"latitude_deg":12.501392,"altitude":66,"angle":200,"satellites":44,"speed":26,"hex_longitude":"2cbc6b00","hex_latitude":"07738fa0","is_valid_coordinates":true} 
[2026-07-01 20:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427249920001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333930550463037440,"note":"Value kept but may cause issues"} 
[2026-07-01 20:47:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4866350471600619520,"note":"Value kept but may cause issues"} 
[2026-07-01 20:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782918959000,"timestamp_ms":1782918959000,"timestamp_seconds":1782918959,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e404f98"} 
[2026-07-01 20:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 20:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-01 20:47:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20:47:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":120076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":120076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":120076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:47:07] 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-01 20:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427249920001,"66":27213,"61":206,"85":37888,"24":26,"16":333930550463037440,"44":-4866350471600619520},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,44]} 
[2026-07-01 20:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427249920001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:47:07] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 20:47:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 20:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333930550463037440,"km_value":333930550463037.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:47:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4866350471600619520,"description":"Unknown IO ID 44"} 
[2026-07-01 20:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427249920001,"power":27213,"unknown_61":206,"unknown_85":37888,"ignition":26,"odometer":null,"unknown_44":-4866350471600619520}} 
[2026-07-01 20:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":120076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:47:07] local.INFO: GPS data processed {"connection_id":120076,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:47:07] local.INFO: Acknowledgment sent {"connection_id":120076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:47:15] local.INFO: TCP Data received {"connection_id":120076,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e4076a8012cbc6080077377e0003e00d32d..."} 
[2026-07-01 20:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e4076a8012cbc6080077377e0003e00d32d..."} 
[2026-07-01 20:47:15] local.INFO: Processing buffer {"connection_id":120076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e4076a8012cbc6080077377e0003e00d32d..."} 
[2026-07-01 20:47:15] local.INFO: Packet analysis {"connection_id":120076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e40"} 
[2026-07-01 20:47:15] local.INFO: Extracted packet for processing {"connection_id":120076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e40"} 
[2026-07-01 20:47:15] local.INFO: GPS Element Parsed {"raw_longitude":750542976,"raw_latitude":125007840,"longitude_deg":75.0542976,"latitude_deg":12.500784,"altitude":62,"angle":211,"satellites":45,"speed":24,"hex_longitude":"2cbc6080","hex_latitude":"077377e0","is_valid_coordinates":true} 
[2026-07-01 20:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427253504001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333930872585584640,"note":"Value kept but may cause issues"} 
[2026-07-01 20:47:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4869798540067495936,"note":"Value kept but may cause issues"} 
[2026-07-01 20:47:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1782918969000,"timestamp_ms":1782918969000,"timestamp_seconds":1782918969,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e4076a8"} 
[2026-07-01 20:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:47:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 20:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-01 20:47:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20:47:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":120076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":120076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":120076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:47: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-01 20:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427253504001,"66":27604,"61":206,"85":37888,"24":24,"16":333930872585584640,"44":-4869798540067495936},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,44]} 
[2026-07-01 20:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427253504001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:47:15] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 20:47:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 20:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333930872585584640,"km_value":333930872585584.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:47:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4869798540067495936,"description":"Unknown IO ID 44"} 
[2026-07-01 20:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427253504001,"power":27604,"unknown_61":206,"unknown_85":37888,"ignition":24,"odometer":null,"unknown_44":-4869798540067495936}} 
[2026-07-01 20:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":120076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:47:15] local.INFO: GPS data processed {"connection_id":120076,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:47:15] local.INFO: Acknowledgment sent {"connection_id":120076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:48:52] local.INFO: TCP Data received {"connection_id":119284,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119284,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:48:52] local.INFO: Processing buffer {"connection_id":119284,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:48:52] local.INFO: IMEI packet received {"connection_id":119284,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 20:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":119284,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:49:03] local.INFO: TCP Data received {"connection_id":119286,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:49:03] local.INFO: Processing buffer {"connection_id":119286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:49:03] local.INFO: IMEI packet received {"connection_id":119286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 20:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":119286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:49:06] local.INFO: TCP Data received {"connection_id":119286,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:49:06] local.INFO: Processing buffer {"connection_id":119286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:49:06] local.INFO: IMEI packet received {"connection_id":119286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":119286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:49:09] local.INFO: TCP Data received {"connection_id":119286,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:49:09] local.INFO: Processing buffer {"connection_id":119286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:49:09] local.INFO: IMEI packet received {"connection_id":119286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":119286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:49:10] local.INFO: TCP Data received {"connection_id":119286,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e41fd48012cbbe280077303c80018006e2c..."} 
[2026-07-01 20:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e41fd48012cbbe280077303c80018006e2c..."} 
[2026-07-01 20:49:10] local.INFO: Processing buffer {"connection_id":119286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e41fd48012cbbe280077303c80018006e2c..."} 
[2026-07-01 20:49:10] local.INFO: Packet analysis {"connection_id":119286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e41"} 
[2026-07-01 20:49:10] local.INFO: Extracted packet for processing {"connection_id":119286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e41"} 
[2026-07-01 20:49:10] local.INFO: GPS Element Parsed {"raw_longitude":750510720,"raw_latitude":124978120,"longitude_deg":75.051072,"latitude_deg":12.497812,"altitude":24,"angle":110,"satellites":44,"speed":29,"hex_longitude":"2cbbe280","hex_latitude":"077303c8","is_valid_coordinates":true} 
[2026-07-01 20: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-01 20:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427281152001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333933887652626432,"note":"Value kept but may cause issues"} 
[2026-07-01 20:49:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4909627249281032192,"note":"Value kept but may cause issues"} 
[2026-07-01 20:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782919069000,"timestamp_ms":1782919069000,"timestamp_seconds":1782919069,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e41fd48"} 
[2026-07-01 20: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-01 20:49:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 20:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-01 20:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20: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-01 20: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-01 20:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":119286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":119286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":119286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 20:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427281152001,"66":27245,"251":206,"85":36608,"24":29,"16":333933887652626432,"44":-4909627249281032192},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,44]} 
[2026-07-01 20:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427281152001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:49:10] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-07-01 20:49:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":36608,"description":"Unknown IO ID 85"} 
[2026-07-01 20:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333933887652626432,"km_value":333933887652626.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:49:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4909627249281032192,"description":"Unknown IO ID 44"} 
[2026-07-01 20:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427281152001,"power":27245,"unknown_251":206,"unknown_85":36608,"ignition":29,"odometer":null,"unknown_44":-4909627249281032192}} 
[2026-07-01 20:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":119286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:49:10] local.INFO: GPS data processed {"connection_id":119286,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:49:10] local.INFO: Acknowledgment sent {"connection_id":119286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:49:45] local.INFO: TCP Data received {"connection_id":119287,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119287,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:49:45] local.INFO: Processing buffer {"connection_id":119287,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:49:45] local.INFO: IMEI packet received {"connection_id":119287,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 20:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":119287,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:49:48] local.INFO: TCP Data received {"connection_id":121145,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:49:48] local.INFO: Processing buffer {"connection_id":121145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:49:48] local.INFO: IMEI packet received {"connection_id":121145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 20:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":121145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:49:51] local.INFO: TCP Data received {"connection_id":121145,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:49:51] local.INFO: Processing buffer {"connection_id":121145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:49:51] local.INFO: IMEI packet received {"connection_id":121145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":121145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:49:54] local.INFO: TCP Data received {"connection_id":121145,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:49:54] local.INFO: Processing buffer {"connection_id":121145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:49:54] local.INFO: IMEI packet received {"connection_id":121145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":121145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:49:55] local.INFO: TCP Data received {"connection_id":121145,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e4306e8012cbcacc00772ccf8000b009a2c..."} 
[2026-07-01 20:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e4306e8012cbcacc00772ccf8000b009a2c..."} 
[2026-07-01 20:49:55] local.INFO: Processing buffer {"connection_id":121145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e4306e8012cbcacc00772ccf8000b009a2c..."} 
[2026-07-01 20:49:55] local.INFO: Packet analysis {"connection_id":121145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e43"} 
[2026-07-01 20:49:55] local.INFO: Extracted packet for processing {"connection_id":121145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e43"} 
[2026-07-01 20:49:55] local.INFO: GPS Element Parsed {"raw_longitude":750562496,"raw_latitude":124964088,"longitude_deg":75.0562496,"latitude_deg":12.4964088,"altitude":11,"angle":154,"satellites":44,"speed":27,"hex_longitude":"2cbcacc0","hex_latitude":"0772ccf8","is_valid_coordinates":true} 
[2026-07-01 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-01 20:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427295232001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333936692266270720,"note":"Value kept but may cause issues"} 
[2026-07-01 20:49:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4855302578777532416,"note":"Value kept but may cause issues"} 
[2026-07-01 20:49:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782919137000,"timestamp_ms":1782919137000,"timestamp_seconds":1782919137,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e4306e8"} 
[2026-07-01 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-01 20:49:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 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":179,"data_length":795,"current_offset":136} 
[2026-07-01 20:49:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 20:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":121145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":121145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":121145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:49:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 20:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427295232001,"66":27343,"159":206,"85":37888,"24":27,"16":333936692266270720,"44":-4855302578777532416},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-07-01 20:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427295232001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:49:55] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-07-01 20:49:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 20:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333936692266270720,"km_value":333936692266270.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:49:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4855302578777532416,"description":"Unknown IO ID 44"} 
[2026-07-01 20:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427295232001,"power":27343,"unknown_159":206,"unknown_85":37888,"ignition":27,"odometer":null,"unknown_44":-4855302578777532416}} 
[2026-07-01 20:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":121145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:49:55] local.INFO: GPS data processed {"connection_id":121145,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:49:55] local.INFO: Acknowledgment sent {"connection_id":121145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:50:26] local.INFO: TCP Data received {"connection_id":121145,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e4339b0012cbcbac00772aa58000c00a82c..."} 
[2026-07-01 20:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e4339b0012cbcbac00772aa58000c00a82c..."} 
[2026-07-01 20:50:26] local.INFO: Processing buffer {"connection_id":121145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e4339b0012cbcbac00772aa58000c00a82c..."} 
[2026-07-01 20:50:26] local.INFO: Packet analysis {"connection_id":121145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e43"} 
[2026-07-01 20:50:26] local.INFO: Extracted packet for processing {"connection_id":121145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e43"} 
[2026-07-01 20:50:26] local.INFO: GPS Element Parsed {"raw_longitude":750566080,"raw_latitude":124955224,"longitude_deg":75.056608,"latitude_deg":12.4955224,"altitude":12,"angle":168,"satellites":44,"speed":31,"hex_longitude":"2cbcbac0","hex_latitude":"0772aa58","is_valid_coordinates":true} 
[2026-07-01 20: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-01 20:50:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427299072001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:50:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333937156122738688,"note":"Value kept but may cause issues"} 
[2026-07-01 20:50:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4851291560361527296,"note":"Value kept but may cause issues"} 
[2026-07-01 20:50:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:50:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782919150000,"timestamp_ms":1782919150000,"timestamp_seconds":1782919150,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e4339b0"} 
[2026-07-01 20: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-01 20:50: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-01 20:50:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-01 20:50:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20: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-01 20: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-01 20:50:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:50:26] local.INFO: Teltonika packet parsed successfully {"connection_id":121145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:50:26] local.INFO: Passing IMEI to GPS processor {"connection_id":121145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:50:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":121145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:50:26] 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-01 20:50:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:50:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:50:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427299072001,"66":27343,"159":206,"85":37888,"24":31,"16":333937156122738688,"44":-4851291560361527296},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-07-01 20:50:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:50:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:50:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427299072001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:50:26] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-07-01 20:50:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 20:50:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333937156122738688,"km_value":333937156122738.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:50:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4851291560361527296,"description":"Unknown IO ID 44"} 
[2026-07-01 20:50:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427299072001,"power":27343,"unknown_159":206,"unknown_85":37888,"ignition":31,"odometer":null,"unknown_44":-4851291560361527296}} 
[2026-07-01 20:50:26] local.INFO: DEBUG: GPS processor result {"connection_id":121145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:50:26] local.INFO: GPS data processed {"connection_id":121145,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:50:26] local.INFO: Acknowledgment sent {"connection_id":121145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:50:29] local.INFO: TCP Data received {"connection_id":120077,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120077,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:50:29] local.INFO: Processing buffer {"connection_id":120077,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:50:29] local.INFO: IMEI packet received {"connection_id":120077,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 20:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":120077,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:50:48] local.INFO: TCP Data received {"connection_id":119399,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:50:48] local.INFO: Processing buffer {"connection_id":119399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:50:48] local.INFO: IMEI packet received {"connection_id":119399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 20:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":119399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:50:54] local.INFO: TCP Data received {"connection_id":119399,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:50:54] local.INFO: Processing buffer {"connection_id":119399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:50:54] local.INFO: IMEI packet received {"connection_id":119399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":119399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:50:54] local.INFO: TCP Data received {"connection_id":119399,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e4339b0012cbcbac00772aa58000c00a82c..."} 
[2026-07-01 20:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e4339b0012cbcbac00772aa58000c00a82c..."} 
[2026-07-01 20:50:54] local.INFO: Processing buffer {"connection_id":119399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e4339b0012cbcbac00772aa58000c00a82c..."} 
[2026-07-01 20:50:54] local.INFO: Packet analysis {"connection_id":119399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e43"} 
[2026-07-01 20:50:54] local.INFO: Extracted packet for processing {"connection_id":119399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e43"} 
[2026-07-01 20:50:54] local.INFO: GPS Element Parsed {"raw_longitude":750566080,"raw_latitude":124955224,"longitude_deg":75.056608,"latitude_deg":12.4955224,"altitude":12,"angle":168,"satellites":44,"speed":31,"hex_longitude":"2cbcbac0","hex_latitude":"0772aa58","is_valid_coordinates":true} 
[2026-07-01 20:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:50:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427302400001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:50:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333937156122738688,"note":"Value kept but may cause issues"} 
[2026-07-01 20:50:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4847350910689847296,"note":"Value kept but may cause issues"} 
[2026-07-01 20:50:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:50:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782919150000,"timestamp_ms":1782919150000,"timestamp_seconds":1782919150,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e4339b0"} 
[2026-07-01 20:50:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:50: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-01 20:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-01 20:50:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20:50:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:50:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:50:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:50:54] local.INFO: Teltonika packet parsed successfully {"connection_id":119399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:50:54] local.INFO: Passing IMEI to GPS processor {"connection_id":119399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:50:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":119399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:50:54] 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-01 20:50:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:50:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:50:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427302400001,"66":27343,"159":206,"85":37888,"24":31,"16":333937156122738688,"44":-4847350910689847296},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-07-01 20:50:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:50:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:50:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427302400001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:50:54] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-07-01 20:50:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 20:50:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333937156122738688,"km_value":333937156122738.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:50:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4847350910689847296,"description":"Unknown IO ID 44"} 
[2026-07-01 20:50:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427302400001,"power":27343,"unknown_159":206,"unknown_85":37888,"ignition":31,"odometer":null,"unknown_44":-4847350910689847296}} 
[2026-07-01 20:50:54] local.INFO: DEBUG: GPS processor result {"connection_id":119399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:50:54] local.INFO: GPS data processed {"connection_id":119399,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:50:54] local.INFO: Acknowledgment sent {"connection_id":119399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:51:25] local.INFO: TCP Data received {"connection_id":119399,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e448d88012cbc78400771b5680012008628..."} 
[2026-07-01 20:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e448d88012cbc78400771b5680012008628..."} 
[2026-07-01 20:51:25] local.INFO: Processing buffer {"connection_id":119399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e448d88012cbc78400771b5680012008628..."} 
[2026-07-01 20:51:25] local.INFO: Packet analysis {"connection_id":119399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e44"} 
[2026-07-01 20:51:25] local.INFO: Extracted packet for processing {"connection_id":119399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e44"} 
[2026-07-01 20:51:25] local.INFO: GPS Element Parsed {"raw_longitude":750549056,"raw_latitude":124892520,"longitude_deg":75.0549056,"latitude_deg":12.489252,"altitude":18,"angle":134,"satellites":40,"speed":27,"hex_longitude":"2cbc7840","hex_latitude":"0771b568","is_valid_coordinates":true} 
[2026-07-01 20:51:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:51:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427324160001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:51:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333940544851935232,"note":"Value kept but may cause issues"} 
[2026-07-01 20:51:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4867054159075375104,"note":"Value kept but may cause issues"} 
[2026-07-01 20:51:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:51:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782919237000,"timestamp_ms":1782919237000,"timestamp_seconds":1782919237,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e448d88"} 
[2026-07-01 20:51:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:51:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 20:51:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-01 20:51:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20:51:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:51:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:51:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:51:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:51:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:51:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:51:25] 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-01 20:51:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:51:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:51:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427324160001,"66":27093,"158":206,"85":37888,"24":27,"16":333940544851935232,"44":-4867054159075375104},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,85,24,16,44]} 
[2026-07-01 20:51:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:51:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:51:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427324160001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:51:25] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-01 20:51:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 20:51:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333940544851935232,"km_value":333940544851935.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:51:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4867054159075375104,"description":"Unknown IO ID 44"} 
[2026-07-01 20:51:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427324160001,"power":27093,"unknown_158":206,"unknown_85":37888,"ignition":27,"odometer":null,"unknown_44":-4867054159075375104}} 
[2026-07-01 20:51:25] local.INFO: DEBUG: GPS processor result {"connection_id":119399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:51:25] local.INFO: GPS data processed {"connection_id":119399,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:51:25] local.INFO: Acknowledgment sent {"connection_id":119399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:51:50] local.INFO: TCP Data received {"connection_id":119288,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:51:50] local.INFO: Processing buffer {"connection_id":119288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:51:50] local.INFO: IMEI packet received {"connection_id":119288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 20:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":119288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:51:53] local.INFO: TCP Data received {"connection_id":119288,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:51:53] local.INFO: Processing buffer {"connection_id":119288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:51:53] local.INFO: IMEI packet received {"connection_id":119288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":119288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:51:57] local.INFO: TCP Data received {"connection_id":119288,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:51:57] local.INFO: Processing buffer {"connection_id":119288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:51:57] local.INFO: IMEI packet received {"connection_id":119288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":119288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:51:58] local.INFO: TCP Data received {"connection_id":119288,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e449d28012cbc80800771af680013007829..."} 
[2026-07-01 20:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e449d28012cbc80800771af680013007829..."} 
[2026-07-01 20:51:58] local.INFO: Processing buffer {"connection_id":119288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e449d28012cbc80800771af680013007829..."} 
[2026-07-01 20:51:58] local.INFO: Packet analysis {"connection_id":119288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e44"} 
[2026-07-01 20:51:58] local.INFO: Extracted packet for processing {"connection_id":119288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e44"} 
[2026-07-01 20:51:58] local.INFO: GPS Element Parsed {"raw_longitude":750551168,"raw_latitude":124890984,"longitude_deg":75.0551168,"latitude_deg":12.4890984,"altitude":19,"angle":120,"satellites":41,"speed":24,"hex_longitude":"2cbc8080","hex_latitude":"0771af68","is_valid_coordinates":true} 
[2026-07-01 20: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-01 20:51:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427324672001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:51:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333940665111019520,"note":"Value kept but may cause issues"} 
[2026-07-01 20:51:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4866068996657158144,"note":"Value kept but may cause issues"} 
[2026-07-01 20:51:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:51:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782919241000,"timestamp_ms":1782919241000,"timestamp_seconds":1782919241,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e449d28"} 
[2026-07-01 20: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-01 20:51: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-01 20: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":105,"n8_eight_byte":213,"data_length":795,"current_offset":136} 
[2026-07-01 20:51:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2640,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20: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-01 20: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-01 20:51:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:51:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:51:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:51:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:51:58] 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-01 20:51:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:51:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:51:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427324672001,"66":27397,"158":206,"85":37888,"24":24,"16":333940665111019520,"44":-4866068996657158144},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,85,24,16,44]} 
[2026-07-01 20:51:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:51:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:51:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427324672001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:51:58] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-01 20:51:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 20:51:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333940665111019520,"km_value":333940665111019.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:51:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4866068996657158144,"description":"Unknown IO ID 44"} 
[2026-07-01 20:51:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427324672001,"power":27397,"unknown_158":206,"unknown_85":37888,"ignition":24,"odometer":null,"unknown_44":-4866068996657158144}} 
[2026-07-01 20:51:58] local.INFO: DEBUG: GPS processor result {"connection_id":119288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:51:58] local.INFO: GPS data processed {"connection_id":119288,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:51:58] local.INFO: Acknowledgment sent {"connection_id":119288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:52:31] local.INFO: TCP Data received {"connection_id":119288,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e44a8e0012cbc86c00771ac980014006928..."} 
[2026-07-01 20:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e44a8e0012cbc86c00771ac980014006928..."} 
[2026-07-01 20:52:32] local.INFO: Processing buffer {"connection_id":119288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e44a8e0012cbc86c00771ac980014006928..."} 
[2026-07-01 20:52:32] local.INFO: Packet analysis {"connection_id":119288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e44"} 
[2026-07-01 20:52:32] local.INFO: Extracted packet for processing {"connection_id":119288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e44"} 
[2026-07-01 20:52:32] local.INFO: GPS Element Parsed {"raw_longitude":750552768,"raw_latitude":124890264,"longitude_deg":75.0552768,"latitude_deg":12.4890264,"altitude":20,"angle":105,"satellites":40,"speed":21,"hex_longitude":"2cbc86c0","hex_latitude":"0771ac98","is_valid_coordinates":true} 
[2026-07-01 20:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427325696001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333940751010365440,"note":"Value kept but may cause issues"} 
[2026-07-01 20:52:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4863746828099688448,"note":"Value kept but may cause issues"} 
[2026-07-01 20:52:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782919244000,"timestamp_ms":1782919244000,"timestamp_seconds":1782919244,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e44a8e0"} 
[2026-07-01 20:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:52:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 20:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-01 20:52:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20:52:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":119288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":119288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":119288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 20:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427325696001,"66":27604,"158":206,"85":37888,"24":21,"16":333940751010365440,"44":-4863746828099688448},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,85,24,16,44]} 
[2026-07-01 20:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427325696001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:52:32] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-01 20:52:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 20:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333940751010365440,"km_value":333940751010365.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:52:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4863746828099688448,"description":"Unknown IO ID 44"} 
[2026-07-01 20:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427325696001,"power":27604,"unknown_158":206,"unknown_85":37888,"ignition":21,"odometer":null,"unknown_44":-4863746828099688448}} 
[2026-07-01 20:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":119288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:52:32] local.INFO: GPS data processed {"connection_id":119288,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:52:32] local.INFO: Acknowledgment sent {"connection_id":119288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:52:54] local.INFO: TCP Data received {"connection_id":119289,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:52:54] local.INFO: Processing buffer {"connection_id":119289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:52:54] local.INFO: IMEI packet received {"connection_id":119289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 20:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":119289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:52:57] local.INFO: TCP Data received {"connection_id":119289,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:52:57] local.INFO: Processing buffer {"connection_id":119289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:52:57] local.INFO: IMEI packet received {"connection_id":119289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":119289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:53:00] local.INFO: TCP Data received {"connection_id":119289,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:53:00] local.INFO: Processing buffer {"connection_id":119289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:53:00] local.INFO: IMEI packet received {"connection_id":119289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":119289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:53:01] local.INFO: TCP Data received {"connection_id":119289,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e44b880012cbc8d800771ab880016005d29..."} 
[2026-07-01 20:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e44b880012cbc8d800771ab880016005d29..."} 
[2026-07-01 20:53:01] local.INFO: Processing buffer {"connection_id":119289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e44b880012cbc8d800771ab880016005d29..."} 
[2026-07-01 20:53:01] local.INFO: Packet analysis {"connection_id":119289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e44"} 
[2026-07-01 20:53:01] local.INFO: Extracted packet for processing {"connection_id":119289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e44"} 
[2026-07-01 20:53:01] local.INFO: GPS Element Parsed {"raw_longitude":750554496,"raw_latitude":124889992,"longitude_deg":75.0554496,"latitude_deg":12.4889992,"altitude":22,"angle":93,"satellites":41,"speed":16,"hex_longitude":"2cbc8d80","hex_latitude":"0771ab88","is_valid_coordinates":true} 
[2026-07-01 20: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-01 20:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427326464001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333940832614744064,"note":"Value kept but may cause issues"} 
[2026-07-01 20:53:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4861987609495431168,"note":"Value kept but may cause issues"} 
[2026-07-01 20:53:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782919248000,"timestamp_ms":1782919248000,"timestamp_seconds":1782919248,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e44b880"} 
[2026-07-01 20: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-01 20:53:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 20:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-01 20:53:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20: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-01 20: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-01 20:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":119289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":119289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":119289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:53:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 20:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427326464001,"66":26723,"158":206,"85":37888,"24":16,"16":333940832614744064,"44":-4861987609495431168},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,85,24,16,44]} 
[2026-07-01 20:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427326464001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:53:01] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-01 20:53:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 20:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333940832614744064,"km_value":333940832614744.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:53:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4861987609495431168,"description":"Unknown IO ID 44"} 
[2026-07-01 20:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427326464001,"power":26723,"unknown_158":206,"unknown_85":37888,"ignition":16,"odometer":null,"unknown_44":-4861987609495431168}} 
[2026-07-01 20:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":119289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:53:01] local.INFO: GPS data processed {"connection_id":119289,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:53:01] local.INFO: Acknowledgment sent {"connection_id":119289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:53:32] local.INFO: TCP Data received {"connection_id":119289,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e469128012cbd0a80077147f8003700e926..."} 
[2026-07-01 20:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e469128012cbd0a80077147f8003700e926..."} 
[2026-07-01 20:53:32] local.INFO: Processing buffer {"connection_id":119289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e469128012cbd0a80077147f8003700e926..."} 
[2026-07-01 20:53:32] local.INFO: Packet analysis {"connection_id":119289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e46"} 
[2026-07-01 20:53:32] local.INFO: Extracted packet for processing {"connection_id":119289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e46"} 
[2026-07-01 20:53:32] local.INFO: GPS Element Parsed {"raw_longitude":750586496,"raw_latitude":124864504,"longitude_deg":75.0586496,"latitude_deg":12.4864504,"altitude":55,"angle":233,"satellites":38,"speed":18,"hex_longitude":"2cbd0a80","hex_latitude":"077147f8","is_valid_coordinates":true} 
[2026-07-01 20:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427357952001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333943319400808448,"note":"Value kept but may cause issues"} 
[2026-07-01 20:53:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4824199593878464512,"note":"Value kept but may cause issues"} 
[2026-07-01 20:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782919369000,"timestamp_ms":1782919369000,"timestamp_seconds":1782919369,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e469128"} 
[2026-07-01 20:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:53:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 20:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-01 20:53:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20:53:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":119289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":119289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":119289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 20:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427357952001,"66":27550,"158":206,"85":37888,"24":18,"16":333943319400808448,"44":-4824199593878464512},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,85,24,16,44]} 
[2026-07-01 20:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427357952001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:53:32] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-01 20:53:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 20:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333943319400808448,"km_value":333943319400808.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:53:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4824199593878464512,"description":"Unknown IO ID 44"} 
[2026-07-01 20:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427357952001,"power":27550,"unknown_158":206,"unknown_85":37888,"ignition":18,"odometer":null,"unknown_44":-4824199593878464512}} 
[2026-07-01 20:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":119289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:53:32] local.INFO: GPS data processed {"connection_id":119289,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:53:32] local.INFO: Acknowledgment sent {"connection_id":119289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:53:51] local.INFO: TCP Data received {"connection_id":121147,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:53:51] local.INFO: Processing buffer {"connection_id":121147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:53:51] local.INFO: IMEI packet received {"connection_id":121147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 20:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":121147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:53:53] local.INFO: TCP Data received {"connection_id":121147,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:53:53] local.INFO: Processing buffer {"connection_id":121147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:53:53] local.INFO: IMEI packet received {"connection_id":121147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":121147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:53:53] local.INFO: TCP Data received {"connection_id":121147,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:53:53] local.INFO: Processing buffer {"connection_id":121147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:53:53] local.INFO: IMEI packet received {"connection_id":121147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":121147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:53:55] local.INFO: TCP Data received {"connection_id":121147,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:53:55] local.INFO: Processing buffer {"connection_id":121147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:53:55] local.INFO: IMEI packet received {"connection_id":121147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":121147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:53:55] local.INFO: TCP Data received {"connection_id":121147,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e4698f8012cbd074007714638003800f627..."} 
[2026-07-01 20:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e4698f8012cbd074007714638003800f627..."} 
[2026-07-01 20:53:55] local.INFO: Processing buffer {"connection_id":121147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e4698f8012cbd074007714638003800f627..."} 
[2026-07-01 20:53:55] local.INFO: Packet analysis {"connection_id":121147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e46"} 
[2026-07-01 20:53:55] local.INFO: Extracted packet for processing {"connection_id":121147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e46"} 
[2026-07-01 20:53:55] local.INFO: GPS Element Parsed {"raw_longitude":750585664,"raw_latitude":124864056,"longitude_deg":75.0585664,"latitude_deg":12.4864056,"altitude":56,"angle":246,"satellites":39,"speed":17,"hex_longitude":"2cbd0740","hex_latitude":"07714638","is_valid_coordinates":true} 
[2026-07-01 20:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427358464001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333943366645448704,"note":"Value kept but may cause issues"} 
[2026-07-01 20:53:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4824903281320396800,"note":"Value kept but may cause issues"} 
[2026-07-01 20:53:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782919371000,"timestamp_ms":1782919371000,"timestamp_seconds":1782919371,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e4698f8"} 
[2026-07-01 20:53:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:53:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 20:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-01 20:53:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2155,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20:53:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:53:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":121147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":121147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":121147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:53:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 20:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427358464001,"66":27463,"158":206,"85":37888,"24":17,"16":333943366645448704,"44":-4824903281320396800},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,85,24,16,44]} 
[2026-07-01 20:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427358464001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:53:55] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-01 20:53:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 20:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333943366645448704,"km_value":333943366645448.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:53:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4824903281320396800,"description":"Unknown IO ID 44"} 
[2026-07-01 20:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427358464001,"power":27463,"unknown_158":206,"unknown_85":37888,"ignition":17,"odometer":null,"unknown_44":-4824903281320396800}} 
[2026-07-01 20:53:55] local.INFO: DEBUG: GPS processor result {"connection_id":121147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:53:55] local.INFO: GPS data processed {"connection_id":121147,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:53:55] local.INFO: Acknowledgment sent {"connection_id":121147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:54:02] local.INFO: TCP Data received {"connection_id":121147,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e46a4b0012cbd0240077144d80039010226..."} 
[2026-07-01 20:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e46a4b0012cbd0240077144d80039010226..."} 
[2026-07-01 20:54:02] local.INFO: Processing buffer {"connection_id":121147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e46a4b0012cbd0240077144d80039010226..."} 
[2026-07-01 20:54:02] local.INFO: Packet analysis {"connection_id":121147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e46"} 
[2026-07-01 20:54:02] local.INFO: Extracted packet for processing {"connection_id":121147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e46"} 
[2026-07-01 20:54:02] local.INFO: GPS Element Parsed {"raw_longitude":750584384,"raw_latitude":124863704,"longitude_deg":75.0584384,"latitude_deg":12.4863704,"altitude":57,"angle":258,"satellites":38,"speed":16,"hex_longitude":"2cbd0240","hex_latitude":"077144d8","is_valid_coordinates":true} 
[2026-07-01 20:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427358976001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333943426774990848,"note":"Value kept but may cause issues"} 
[2026-07-01 20:54:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4825818074994821120,"note":"Value kept but may cause issues"} 
[2026-07-01 20:54:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782919374000,"timestamp_ms":1782919374000,"timestamp_seconds":1782919374,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e46a4b0"} 
[2026-07-01 20:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:54:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 20:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-01 20:54:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20:54:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":121147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":121147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":121147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:54:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 20:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427358976001,"66":27615,"158":206,"85":37888,"24":16,"16":333943426774990848,"44":-4825818074994821120},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,85,24,16,44]} 
[2026-07-01 20:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427358976001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:54:02] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-01 20:54:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 20:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333943426774990848,"km_value":333943426774990.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:54:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4825818074994821120,"description":"Unknown IO ID 44"} 
[2026-07-01 20:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427358976001,"power":27615,"unknown_158":206,"unknown_85":37888,"ignition":16,"odometer":null,"unknown_44":-4825818074994821120}} 
[2026-07-01 20:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":121147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:54:02] local.INFO: GPS data processed {"connection_id":121147,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:54:02] local.INFO: Acknowledgment sent {"connection_id":121147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:54:42] local.INFO: TCP Data received {"connection_id":121147,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e46b068012cbcfd4007714450003a010d27..."} 
[2026-07-01 20:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e46b068012cbcfd4007714450003a010d27..."} 
[2026-07-01 20:54:42] local.INFO: Processing buffer {"connection_id":121147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e46b068012cbcfd4007714450003a010d27..."} 
[2026-07-01 20:54:42] local.INFO: Packet analysis {"connection_id":121147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e46"} 
[2026-07-01 20:54:42] local.INFO: Extracted packet for processing {"connection_id":121147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e46"} 
[2026-07-01 20:54:42] local.INFO: GPS Element Parsed {"raw_longitude":750583104,"raw_latitude":124863568,"longitude_deg":75.0583104,"latitude_deg":12.4863568,"altitude":58,"angle":269,"satellites":39,"speed":16,"hex_longitude":"2cbcfd40","hex_latitude":"07714450","is_valid_coordinates":true} 
[2026-07-01 20: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-01 20:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427359744001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333943486904532992,"note":"Value kept but may cause issues"} 
[2026-07-01 20:54:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4827225449878464512,"note":"Value kept but may cause issues"} 
[2026-07-01 20:54:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1782919377000,"timestamp_ms":1782919377000,"timestamp_seconds":1782919377,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e46b068"} 
[2026-07-01 20: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-01 20:54:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 20: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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-01 20:54:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20: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-01 20: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-01 20:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":121147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":121147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":121147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:54: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-01 20:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427359744001,"66":27571,"158":206,"85":37888,"24":16,"16":333943486904532992,"44":-4827225449878464512},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,85,24,16,44]} 
[2026-07-01 20:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427359744001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:54:42] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-01 20:54:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 20:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333943486904532992,"km_value":333943486904533.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:54:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4827225449878464512,"description":"Unknown IO ID 44"} 
[2026-07-01 20:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427359744001,"power":27571,"unknown_158":206,"unknown_85":37888,"ignition":16,"odometer":null,"unknown_44":-4827225449878464512}} 
[2026-07-01 20:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":121147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:54:42] local.INFO: GPS data processed {"connection_id":121147,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:54:42] local.INFO: Acknowledgment sent {"connection_id":121147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:54:49] local.INFO: TCP Data received {"connection_id":119292,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:54:49] local.INFO: Processing buffer {"connection_id":119292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:54:49] local.INFO: IMEI packet received {"connection_id":119292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 20:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":119292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:54:54] local.INFO: TCP Data received {"connection_id":119292,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:54:54] local.INFO: Processing buffer {"connection_id":119292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:54:54] local.INFO: IMEI packet received {"connection_id":119292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":119292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:54:55] local.INFO: TCP Data received {"connection_id":119292,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e46b838012cbcfa00077144b8003a011c25..."} 
[2026-07-01 20:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e46b838012cbcfa00077144b8003a011c25..."} 
[2026-07-01 20:54:55] local.INFO: Processing buffer {"connection_id":119292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e46b838012cbcfa00077144b8003a011c25..."} 
[2026-07-01 20:54:55] local.INFO: Packet analysis {"connection_id":119292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e46"} 
[2026-07-01 20:54:55] local.INFO: Extracted packet for processing {"connection_id":119292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e46"} 
[2026-07-01 20:54:55] local.INFO: GPS Element Parsed {"raw_longitude":750582272,"raw_latitude":124863672,"longitude_deg":75.0582272,"latitude_deg":12.4863672,"altitude":58,"angle":284,"satellites":37,"speed":16,"hex_longitude":"2cbcfa00","hex_latitude":"077144b8","is_valid_coordinates":true} 
[2026-07-01 20:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427360512001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333943525559238656,"note":"Value kept but may cause issues"} 
[2026-07-01 20:54:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4828632824762052608,"note":"Value kept but may cause issues"} 
[2026-07-01 20:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782919379000,"timestamp_ms":1782919379000,"timestamp_seconds":1782919379,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e46b838"} 
[2026-07-01 20:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:54:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 20:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-01 20:54:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20:54:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":119292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":119292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":119292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 20:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427360512001,"66":27517,"158":206,"85":37888,"24":16,"16":333943525559238656,"44":-4828632824762052608},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,85,24,16,44]} 
[2026-07-01 20:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427360512001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:54:55] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-01 20:54:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 20:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333943525559238656,"km_value":333943525559238.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:54:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4828632824762052608,"description":"Unknown IO ID 44"} 
[2026-07-01 20:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427360512001,"power":27517,"unknown_158":206,"unknown_85":37888,"ignition":16,"odometer":null,"unknown_44":-4828632824762052608}} 
[2026-07-01 20:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":119292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:54:55] local.INFO: GPS data processed {"connection_id":119292,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:54:55] local.INFO: Acknowledgment sent {"connection_id":119292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:54:58] local.INFO: TCP Data received {"connection_id":119292,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e46c008012cbcf700077145f0003a012926..."} 
[2026-07-01 20:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e46c008012cbcf700077145f0003a012926..."} 
[2026-07-01 20:54:58] local.INFO: Processing buffer {"connection_id":119292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e46c008012cbcf700077145f0003a012926..."} 
[2026-07-01 20:54:58] local.INFO: Packet analysis {"connection_id":119292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e46"} 
[2026-07-01 20:54:58] local.INFO: Extracted packet for processing {"connection_id":119292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e46"} 
[2026-07-01 20:54:58] local.INFO: GPS Element Parsed {"raw_longitude":750581504,"raw_latitude":124863984,"longitude_deg":75.0581504,"latitude_deg":12.4863984,"altitude":58,"angle":297,"satellites":38,"speed":16,"hex_longitude":"2cbcf700","hex_latitude":"077145f0","is_valid_coordinates":true} 
[2026-07-01 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-01 20:54:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427361024001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:54:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333943568508911616,"note":"Value kept but may cause issues"} 
[2026-07-01 20:54:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4829547618436335616,"note":"Value kept but may cause issues"} 
[2026-07-01 20:54:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:54:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782919381000,"timestamp_ms":1782919381000,"timestamp_seconds":1782919381,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e46c008"} 
[2026-07-01 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-01 20:54: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-01 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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-01 20:54:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 20:54:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:54:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:54:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:54:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:54:58] 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-01 20:54:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:54:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:54:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427361024001,"66":27539,"158":206,"85":37888,"24":16,"16":333943568508911616,"44":-4829547618436335616},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,85,24,16,44]} 
[2026-07-01 20:54:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:54:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:54:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427361024001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:54:58] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-01 20:54:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 20:54:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333943568508911616,"km_value":333943568508911.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:54:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4829547618436335616,"description":"Unknown IO ID 44"} 
[2026-07-01 20:54:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427361024001,"power":27539,"unknown_158":206,"unknown_85":37888,"ignition":16,"odometer":null,"unknown_44":-4829547618436335616}} 
[2026-07-01 20:54:58] local.INFO: DEBUG: GPS processor result {"connection_id":119292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:54:58] local.INFO: GPS data processed {"connection_id":119292,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:54:58] local.INFO: Acknowledgment sent {"connection_id":119292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:55:29] local.INFO: TCP Data received {"connection_id":119292,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e485648012cbccac00770ccf0005100a02b..."} 
[2026-07-01 20:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e485648012cbccac00770ccf0005100a02b..."} 
[2026-07-01 20:55:29] local.INFO: Processing buffer {"connection_id":119292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e485648012cbccac00770ccf0005100a02b..."} 
[2026-07-01 20:55:29] local.INFO: Packet analysis {"connection_id":119292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e48"} 
[2026-07-01 20:55:29] local.INFO: Extracted packet for processing {"connection_id":119292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e48"} 
[2026-07-01 20:55:29] local.INFO: GPS Element Parsed {"raw_longitude":750570176,"raw_latitude":124833008,"longitude_deg":75.0570176,"latitude_deg":12.4833008,"altitude":81,"angle":160,"satellites":43,"speed":13,"hex_longitude":"2cbccac0","hex_latitude":"0770ccf0","is_valid_coordinates":true} 
[2026-07-01 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-01 20:55:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427387136001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:55:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333945591438508032,"note":"Value kept but may cause issues"} 
[2026-07-01 20:55:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4843199154814318592,"note":"Value kept but may cause issues"} 
[2026-07-01 20:55:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:55:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782919485000,"timestamp_ms":1782919485000,"timestamp_seconds":1782919485,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e485648"} 
[2026-07-01 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-01 20:55:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-01 20:55:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 20:55:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:55:29] local.INFO: Teltonika packet parsed successfully {"connection_id":119292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:55:29] local.INFO: Passing IMEI to GPS processor {"connection_id":119292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:55:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":119292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:55:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 20:55:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:55:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:55:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427387136001,"66":27484,"61":206,"85":37888,"24":13,"16":333945591438508032,"44":-4843199154814318592},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,44]} 
[2026-07-01 20:55:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:55:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:55:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427387136001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:55:29] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 20:55:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 20:55:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333945591438508032,"km_value":333945591438508.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:55:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4843199154814318592,"description":"Unknown IO ID 44"} 
[2026-07-01 20:55:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427387136001,"power":27484,"unknown_61":206,"unknown_85":37888,"ignition":13,"odometer":null,"unknown_44":-4843199154814318592}} 
[2026-07-01 20:55:29] local.INFO: DEBUG: GPS processor result {"connection_id":119292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:55:29] local.INFO: GPS data processed {"connection_id":119292,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:55:29] local.INFO: Acknowledgment sent {"connection_id":119292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:55:35] local.INFO: TCP Data received {"connection_id":119401,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119401,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:55:35] local.INFO: Processing buffer {"connection_id":119401,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:55:35] local.INFO: IMEI packet received {"connection_id":119401,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 20:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":119401,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:55:49] local.INFO: TCP Data received {"connection_id":119402,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:55:49] local.INFO: Processing buffer {"connection_id":119402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:55:49] local.INFO: IMEI packet received {"connection_id":119402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 20:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":119402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:55:49] local.INFO: TCP Data received {"connection_id":119402,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:55:49] local.INFO: Processing buffer {"connection_id":119402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:55:49] local.INFO: IMEI packet received {"connection_id":119402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":119402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:55:53] local.INFO: TCP Data received {"connection_id":119402,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:55:53] local.INFO: Processing buffer {"connection_id":119402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:55:53] local.INFO: IMEI packet received {"connection_id":119402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":119402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:55:54] local.INFO: TCP Data received {"connection_id":119402,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e486200012cbccc000770c9d0005100912b..."} 
[2026-07-01 20:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e486200012cbccc000770c9d0005100912b..."} 
[2026-07-01 20:55:54] local.INFO: Processing buffer {"connection_id":119402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e486200012cbccc000770c9d0005100912b..."} 
[2026-07-01 20:55:54] local.INFO: Packet analysis {"connection_id":119402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e48"} 
[2026-07-01 20:55:54] local.INFO: Extracted packet for processing {"connection_id":119402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e48"} 
[2026-07-01 20:55:54] local.INFO: GPS Element Parsed {"raw_longitude":750570496,"raw_latitude":124832208,"longitude_deg":75.0570496,"latitude_deg":12.4832208,"altitude":81,"angle":145,"satellites":43,"speed":9,"hex_longitude":"2cbccc00","hex_latitude":"0770c9d0","is_valid_coordinates":true} 
[2026-07-01 20: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-01 20:55:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427388160001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:55:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333945634388180992,"note":"Value kept but may cause issues"} 
[2026-07-01 20:55:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4842847311093764096,"note":"Value kept but may cause issues"} 
[2026-07-01 20:55:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:55:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782919488000,"timestamp_ms":1782919488000,"timestamp_seconds":1782919488,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e486200"} 
[2026-07-01 20: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-01 20:55: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-01 20: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 20:55:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20: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-01 20: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-01 20:55:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:55:54] local.INFO: Teltonika packet parsed successfully {"connection_id":119402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:55:54] local.INFO: Passing IMEI to GPS processor {"connection_id":119402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:55:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":119402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:55:54] 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-01 20:55:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:55:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:55:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427388160001,"66":27593,"61":206,"85":37888,"24":9,"16":333945634388180992,"44":-4842847311093764096},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,44]} 
[2026-07-01 20:55:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:55:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:55:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427388160001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:55:54] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 20:55:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 20:55:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333945634388180992,"km_value":333945634388181.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:55:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4842847311093764096,"description":"Unknown IO ID 44"} 
[2026-07-01 20:55:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427388160001,"power":27593,"unknown_61":206,"unknown_85":37888,"ignition":9,"odometer":null,"unknown_44":-4842847311093764096}} 
[2026-07-01 20:55:54] local.INFO: DEBUG: GPS processor result {"connection_id":119402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:55:54] local.INFO: GPS data processed {"connection_id":119402,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:55:54] local.INFO: Acknowledgment sent {"connection_id":119402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:56:17] local.INFO: TCP Data received {"connection_id":119293,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119293,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:56:17] local.INFO: Processing buffer {"connection_id":119293,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 20:56:17] local.INFO: IMEI packet received {"connection_id":119293,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 20:56:17] local.INFO: IMEI acknowledgment sent {"connection_id":119293,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:56:25] local.INFO: TCP Data received {"connection_id":119402,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e4869d0012cbccd400770c868005100852b..."} 
[2026-07-01 20:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e4869d0012cbccd400770c868005100852b..."} 
[2026-07-01 20:56:25] local.INFO: Processing buffer {"connection_id":119402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e4869d0012cbccd400770c868005100852b..."} 
[2026-07-01 20:56:25] local.INFO: Packet analysis {"connection_id":119402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e48"} 
[2026-07-01 20:56:25] local.INFO: Extracted packet for processing {"connection_id":119402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e48"} 
[2026-07-01 20:56:25] local.INFO: GPS Element Parsed {"raw_longitude":750570816,"raw_latitude":124831848,"longitude_deg":75.0570816,"latitude_deg":12.4831848,"altitude":81,"angle":133,"satellites":43,"speed":9,"hex_longitude":"2cbccd40","hex_latitude":"0770c868","is_valid_coordinates":true} 
[2026-07-01 20:56:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:56:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427388928001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:56:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333945655863017472,"note":"Value kept but may cause issues"} 
[2026-07-01 20:56:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4842495467373080576,"note":"Value kept but may cause issues"} 
[2026-07-01 20:56:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:56:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782919490000,"timestamp_ms":1782919490000,"timestamp_seconds":1782919490,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e4869d0"} 
[2026-07-01 20:56:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:56: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-01 20:56:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-01 20:56:25] 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-01 20:56:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:56:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:56:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:56:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:56:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:56:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:56:25] 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-01 20:56:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:56:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:56:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427388928001,"66":27571,"61":206,"85":37888,"24":9,"16":333945655863017472,"44":-4842495467373080576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,44]} 
[2026-07-01 20:56:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:56:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:56:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427388928001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:56:25] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 20:56:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 20:56:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333945655863017472,"km_value":333945655863017.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:56:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4842495467373080576,"description":"Unknown IO ID 44"} 
[2026-07-01 20:56:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427388928001,"power":27571,"unknown_61":206,"unknown_85":37888,"ignition":9,"odometer":null,"unknown_44":-4842495467373080576}} 
[2026-07-01 20:56:25] local.INFO: DEBUG: GPS processor result {"connection_id":119402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:56:25] local.INFO: GPS data processed {"connection_id":119402,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:56:25] local.INFO: Acknowledgment sent {"connection_id":119402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:56:49] local.INFO: TCP Data received {"connection_id":121148,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:56:49] local.INFO: Processing buffer {"connection_id":121148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:56:49] local.INFO: IMEI packet received {"connection_id":121148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 20:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":121148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:56:53] local.INFO: TCP Data received {"connection_id":121148,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:56:53] local.INFO: Processing buffer {"connection_id":121148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:56:53] local.INFO: IMEI packet received {"connection_id":121148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":121148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:56:54] local.INFO: TCP Data received {"connection_id":121148,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e4871a0012cbccec00770c740005100772b..."} 
[2026-07-01 20:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e4871a0012cbccec00770c740005100772b..."} 
[2026-07-01 20:56:54] local.INFO: Processing buffer {"connection_id":121148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e4871a0012cbccec00770c740005100772b..."} 
[2026-07-01 20:56:54] local.INFO: Packet analysis {"connection_id":121148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e48"} 
[2026-07-01 20:56:54] local.INFO: Extracted packet for processing {"connection_id":121148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e48"} 
[2026-07-01 20:56:54] local.INFO: GPS Element Parsed {"raw_longitude":750571200,"raw_latitude":124831552,"longitude_deg":75.05712,"latitude_deg":12.4831552,"altitude":81,"angle":119,"satellites":43,"speed":9,"hex_longitude":"2cbccec0","hex_latitude":"0770c740","is_valid_coordinates":true} 
[2026-07-01 20:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:56:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427389440001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:56:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333945677337853952,"note":"Value kept but may cause issues"} 
[2026-07-01 20:56:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4842143623652284416,"note":"Value kept but may cause issues"} 
[2026-07-01 20:56:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:56:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782919492000,"timestamp_ms":1782919492000,"timestamp_seconds":1782919492,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e4871a0"} 
[2026-07-01 20:56:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:56:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 20:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-01 20:56:54] 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-01 20:56:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:56:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:56:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:56:54] local.INFO: Teltonika packet parsed successfully {"connection_id":121148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:56:54] local.INFO: Passing IMEI to GPS processor {"connection_id":121148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:56:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":121148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:56:54] 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-01 20:56:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:56:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:56:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427389440001,"66":27484,"61":206,"85":37888,"24":9,"16":333945677337853952,"44":-4842143623652284416},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,44]} 
[2026-07-01 20:56:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:56:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:56:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427389440001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:56:54] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 20:56:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 20:56:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333945677337853952,"km_value":333945677337853.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:56:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4842143623652284416,"description":"Unknown IO ID 44"} 
[2026-07-01 20:56:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427389440001,"power":27484,"unknown_61":206,"unknown_85":37888,"ignition":9,"odometer":null,"unknown_44":-4842143623652284416}} 
[2026-07-01 20:56:54] local.INFO: DEBUG: GPS processor result {"connection_id":121148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:56:54] local.INFO: GPS data processed {"connection_id":121148,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:56:54] local.INFO: Acknowledgment sent {"connection_id":121148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:57:25] local.INFO: TCP Data received {"connection_id":121148,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e4894c8012cbcd1800770c6100051006b2b..."} 
[2026-07-01 20:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e4894c8012cbcd1800770c6100051006b2b..."} 
[2026-07-01 20:57:25] local.INFO: Processing buffer {"connection_id":121148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e4894c8012cbcd1800770c6100051006b2b..."} 
[2026-07-01 20:57:25] local.INFO: Packet analysis {"connection_id":121148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e48"} 
[2026-07-01 20:57:25] local.INFO: Extracted packet for processing {"connection_id":121148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e48"} 
[2026-07-01 20:57:25] local.INFO: GPS Element Parsed {"raw_longitude":750571904,"raw_latitude":124831248,"longitude_deg":75.0571904,"latitude_deg":12.4831248,"altitude":81,"angle":107,"satellites":43,"speed":6,"hex_longitude":"2cbcd180","hex_latitude":"0770c610","is_valid_coordinates":true} 
[2026-07-01 20:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427389952001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333945715992559616,"note":"Value kept but may cause issues"} 
[2026-07-01 20:57:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4841721411187294208,"note":"Value kept but may cause issues"} 
[2026-07-01 20:57:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782919501000,"timestamp_ms":1782919501000,"timestamp_seconds":1782919501,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e4894c8"} 
[2026-07-01 20:57:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:57:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 20:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 20:57:25] 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-01 20:57:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:57:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":121148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":121148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":121148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:57:25] 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-01 20:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427389952001,"66":27517,"61":206,"85":37888,"24":6,"16":333945715992559616,"44":-4841721411187294208},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,44]} 
[2026-07-01 20:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427389952001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:57:25] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 20:57:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 20:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333945715992559616,"km_value":333945715992559.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:57:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4841721411187294208,"description":"Unknown IO ID 44"} 
[2026-07-01 20:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427389952001,"power":27517,"unknown_61":206,"unknown_85":37888,"ignition":6,"odometer":null,"unknown_44":-4841721411187294208}} 
[2026-07-01 20:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":121148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:57:25] local.INFO: GPS data processed {"connection_id":121148,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:57:25] local.INFO: Acknowledgment sent {"connection_id":121148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:57:49] local.INFO: TCP Data received {"connection_id":119403,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:57:49] local.INFO: Processing buffer {"connection_id":119403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:57:49] local.INFO: IMEI packet received {"connection_id":119403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 20:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":119403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:57:49] local.INFO: TCP Data received {"connection_id":119403,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:57:49] local.INFO: Processing buffer {"connection_id":119403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:57:49] local.INFO: IMEI packet received {"connection_id":119403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":119403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:57:53] local.INFO: TCP Data received {"connection_id":119403,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:57:53] local.INFO: Processing buffer {"connection_id":119403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:57:53] local.INFO: IMEI packet received {"connection_id":119403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":119403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:57:54] local.INFO: TCP Data received {"connection_id":119403,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e48a468012cbcd3800770c5300051007b2c..."} 
[2026-07-01 20:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e48a468012cbcd3800770c5300051007b2c..."} 
[2026-07-01 20:57:54] local.INFO: Processing buffer {"connection_id":119403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e48a468012cbcd3800770c5300051007b2c..."} 
[2026-07-01 20:57:54] local.INFO: Packet analysis {"connection_id":119403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e48"} 
[2026-07-01 20:57:54] local.INFO: Extracted packet for processing {"connection_id":119403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e48"} 
[2026-07-01 20:57:54] local.INFO: GPS Element Parsed {"raw_longitude":750572416,"raw_latitude":124831024,"longitude_deg":75.0572416,"latitude_deg":12.4831024,"altitude":81,"angle":123,"satellites":44,"speed":5,"hex_longitude":"2cbcd380","hex_latitude":"0770c530","is_valid_coordinates":true} 
[2026-07-01 20: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-01 20:57:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427392256001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:57:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333945741762363392,"note":"Value kept but may cause issues"} 
[2026-07-01 20:57:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4840947355001417728,"note":"Value kept but may cause issues"} 
[2026-07-01 20:57:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:57:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782919505000,"timestamp_ms":1782919505000,"timestamp_seconds":1782919505,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e48a468"} 
[2026-07-01 20: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-01 20:57:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 20: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-01 20:57:54] 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-01 20: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-01 20: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-01 20:57:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:57:54] local.INFO: Teltonika packet parsed successfully {"connection_id":119403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:57:54] local.INFO: Passing IMEI to GPS processor {"connection_id":119403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:57:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":119403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:57:54] 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-01 20:57:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:57:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:57:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427392256001,"66":27484,"61":206,"85":37888,"24":5,"16":333945741762363392,"44":-4840947355001417728},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,44]} 
[2026-07-01 20:57:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:57:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:57:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427392256001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:57:54] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-07-01 20:57:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 20:57:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333945741762363392,"km_value":333945741762363.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:57:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4840947355001417728,"description":"Unknown IO ID 44"} 
[2026-07-01 20:57:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427392256001,"power":27484,"unknown_61":206,"unknown_85":37888,"ignition":5,"odometer":null,"unknown_44":-4840947355001417728}} 
[2026-07-01 20:57:54] local.INFO: DEBUG: GPS processor result {"connection_id":119403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:57:54] local.INFO: GPS data processed {"connection_id":119403,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:57:54] local.INFO: Acknowledgment sent {"connection_id":119403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:58:26] local.INFO: TCP Data received {"connection_id":119403,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e4abf78012cbd06c0076fcdb8005700ab29..."} 
[2026-07-01 20:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e4abf78012cbd06c0076fcdb8005700ab29..."} 
[2026-07-01 20:58:26] local.INFO: Processing buffer {"connection_id":119403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e4abf78012cbd06c0076fcdb8005700ab29..."} 
[2026-07-01 20:58:26] local.INFO: Packet analysis {"connection_id":119403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e4a"} 
[2026-07-01 20:58:26] local.INFO: Extracted packet for processing {"connection_id":119403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e4a"} 
[2026-07-01 20:58:26] local.INFO: GPS Element Parsed {"raw_longitude":750585536,"raw_latitude":124767672,"longitude_deg":75.0585536,"latitude_deg":12.4767672,"altitude":87,"angle":171,"satellites":41,"speed":32,"hex_longitude":"2cbd06c0","hex_latitude":"076fcdb8","is_valid_coordinates":true} 
[2026-07-01 20:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427425536001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333948907153260544,"note":"Value kept but may cause issues"} 
[2026-07-01 20:58:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4827295818644973568,"note":"Value kept but may cause issues"} 
[2026-07-01 20:58:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782919643000,"timestamp_ms":1782919643000,"timestamp_seconds":1782919643,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e4abf78"} 
[2026-07-01 20:58:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:58: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-01 20:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-01 20:58:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20:58:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:58:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:58:26] 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-01 20:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427425536001,"66":27593,"63":206,"85":37888,"24":32,"16":333948907153260544,"44":-4827295818644973568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,44]} 
[2026-07-01 20:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427425536001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:58:26] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-01 20:58:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 20:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333948907153260544,"km_value":333948907153260.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:58:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4827295818644973568,"description":"Unknown IO ID 44"} 
[2026-07-01 20:58:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427425536001,"power":27593,"unknown_63":206,"unknown_85":37888,"ignition":32,"odometer":null,"unknown_44":-4827295818644973568}} 
[2026-07-01 20:58:26] local.INFO: DEBUG: GPS processor result {"connection_id":119403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:58:26] local.INFO: GPS data processed {"connection_id":119403,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:58:26] local.INFO: Acknowledgment sent {"connection_id":119403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:58:48] local.INFO: TCP Data received {"connection_id":119404,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:58:48] local.INFO: Processing buffer {"connection_id":119404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:58:48] local.INFO: IMEI packet received {"connection_id":119404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 20:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":119404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:58:50] local.INFO: TCP Data received {"connection_id":119404,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:58:51] local.INFO: Processing buffer {"connection_id":119404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:58:51] local.INFO: IMEI packet received {"connection_id":119404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":119404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:58:53] local.INFO: TCP Data received {"connection_id":119404,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:58:53] local.INFO: Processing buffer {"connection_id":119404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:58:53] local.INFO: IMEI packet received {"connection_id":119404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":119404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:58:54] local.INFO: TCP Data received {"connection_id":119404,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e4aee58012cbd0e00076fa928005700a42a..."} 
[2026-07-01 20:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e4aee58012cbd0e00076fa928005700a42a..."} 
[2026-07-01 20:58:54] local.INFO: Processing buffer {"connection_id":119404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e4aee58012cbd0e00076fa928005700a42a..."} 
[2026-07-01 20:58:54] local.INFO: Packet analysis {"connection_id":119404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e4a"} 
[2026-07-01 20:58:54] local.INFO: Extracted packet for processing {"connection_id":119404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e4a"} 
[2026-07-01 20:58:54] local.INFO: GPS Element Parsed {"raw_longitude":750587392,"raw_latitude":124758312,"longitude_deg":75.0587392,"latitude_deg":12.4758312,"altitude":87,"angle":164,"satellites":42,"speed":31,"hex_longitude":"2cbd0e00","hex_latitude":"076fa928","is_valid_coordinates":true} 
[2026-07-01 20:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:58:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427428608001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:58:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333949366714761216,"note":"Value kept but may cause issues"} 
[2026-07-01 20:58:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4825958812507850752,"note":"Value kept but may cause issues"} 
[2026-07-01 20:58:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:58:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782919655000,"timestamp_ms":1782919655000,"timestamp_seconds":1782919655,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e4aee58"} 
[2026-07-01 20:58:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:58: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-01 20:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-01 20:58:54] 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-01 20:58:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:58:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:58:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:58:54] local.INFO: Teltonika packet parsed successfully {"connection_id":119404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:58:54] local.INFO: Passing IMEI to GPS processor {"connection_id":119404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:58:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":119404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:58:54] 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-01 20:58:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:58:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:58:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427428608001,"66":27571,"63":206,"85":37888,"24":31,"16":333949366714761216,"44":-4825958812507850752},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,44]} 
[2026-07-01 20:58:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:58:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:58:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427428608001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:58:54] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-07-01 20:58:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 20:58:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333949366714761216,"km_value":333949366714761.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:58:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4825958812507850752,"description":"Unknown IO ID 44"} 
[2026-07-01 20:58:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427428608001,"power":27571,"unknown_63":206,"unknown_85":37888,"ignition":31,"odometer":null,"unknown_44":-4825958812507850752}} 
[2026-07-01 20:58:54] local.INFO: DEBUG: GPS processor result {"connection_id":119404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:58:54] local.INFO: GPS data processed {"connection_id":119404,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:58:54] local.INFO: Acknowledgment sent {"connection_id":119404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:59:26] local.INFO: TCP Data received {"connection_id":119404,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e4b1d38012cbd1440076f9410005800b12c..."} 
[2026-07-01 20:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e4b1d38012cbd1440076f9410005800b12c..."} 
[2026-07-01 20:59:26] local.INFO: Processing buffer {"connection_id":119404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e4b1d38012cbd1440076f9410005800b12c..."} 
[2026-07-01 20:59:26] local.INFO: Packet analysis {"connection_id":119404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e4b"} 
[2026-07-01 20:59:26] local.INFO: Extracted packet for processing {"connection_id":119404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e4b"} 
[2026-07-01 20:59:26] local.INFO: GPS Element Parsed {"raw_longitude":750588992,"raw_latitude":124752912,"longitude_deg":75.0588992,"latitude_deg":12.4752912,"altitude":88,"angle":177,"satellites":44,"speed":15,"hex_longitude":"2cbd1440","hex_latitude":"076f9410","is_valid_coordinates":true} 
[2026-07-01 20:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427431680001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333949641592668160,"note":"Value kept but may cause issues"} 
[2026-07-01 20:59:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4823918118929094656,"note":"Value kept but may cause issues"} 
[2026-07-01 20:59:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782919667000,"timestamp_ms":1782919667000,"timestamp_seconds":1782919667,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e4b1d38"} 
[2026-07-01 20:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:59: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-01 20:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-01 20:59:26] 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-01 20:59:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:59:26] 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-01 20:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427431680001,"66":27615,"107":206,"85":37888,"24":15,"16":333949641592668160,"44":-4823918118929094656},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,85,24,16,44]} 
[2026-07-01 20:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427431680001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:59:26] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-07-01 20:59:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 20:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333949641592668160,"km_value":333949641592668.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:59:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4823918118929094656,"description":"Unknown IO ID 44"} 
[2026-07-01 20:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427431680001,"power":27615,"unknown_107":206,"unknown_85":37888,"ignition":15,"odometer":null,"unknown_44":-4823918118929094656}} 
[2026-07-01 20:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":119404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:59:26] local.INFO: GPS data processed {"connection_id":119404,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:59:26] local.INFO: Acknowledgment sent {"connection_id":119404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 20:59:48] local.INFO: TCP Data received {"connection_id":120079,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:59:48] local.INFO: Processing buffer {"connection_id":120079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:59:48] local.INFO: IMEI packet received {"connection_id":120079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 20:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":120079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 20:59:54] local.INFO: TCP Data received {"connection_id":120079,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:59:54] local.INFO: Processing buffer {"connection_id":120079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 20:59:54] local.INFO: IMEI packet received {"connection_id":120079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 20:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":120079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 20:59:55] local.INFO: TCP Data received {"connection_id":120079,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e4c1f08012cbcec00076ec5c8004d00b72c..."} 
[2026-07-01 20:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e4c1f08012cbcec00076ec5c8004d00b72c..."} 
[2026-07-01 20:59:55] local.INFO: Processing buffer {"connection_id":120079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e4c1f08012cbcec00076ec5c8004d00b72c..."} 
[2026-07-01 20:59:55] local.INFO: Packet analysis {"connection_id":120079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e4c"} 
[2026-07-01 20:59:55] local.INFO: Extracted packet for processing {"connection_id":120079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e4c"} 
[2026-07-01 20:59:55] local.INFO: GPS Element Parsed {"raw_longitude":750578688,"raw_latitude":124700104,"longitude_deg":75.0578688,"latitude_deg":12.4700104,"altitude":77,"angle":183,"satellites":44,"speed":46,"hex_longitude":"2cbcec00","hex_latitude":"076ec5c8","is_valid_coordinates":true} 
[2026-07-01 20:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 20:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427449600001,"note":"Value kept but may cause issues"} 
[2026-07-01 20:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333952459091214336,"note":"Value kept but may cause issues"} 
[2026-07-01 20:59:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4832080893266319360,"note":"Value kept but may cause issues"} 
[2026-07-01 20:59:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 20:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782919733000,"timestamp_ms":1782919733000,"timestamp_seconds":1782919733,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e4c1f08"} 
[2026-07-01 20:59:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 20:59:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 20:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-01 20:59:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 20:59:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 20:59:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 20:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 20:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":120079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 20:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":120079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":120079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 20:59:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 20:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 20:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 20:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427449600001,"66":27713,"133":206,"85":37888,"24":46,"16":333952459091214336,"44":-4832080893266319360},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,85,24,16,44]} 
[2026-07-01 20:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 20:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 20:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427449600001,"description":"Unknown IO ID 0"} 
[2026-07-01 20:59:55] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-01 20:59:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 20:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333952459091214336,"km_value":333952459091214.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 20:59:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4832080893266319360,"description":"Unknown IO ID 44"} 
[2026-07-01 20:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427449600001,"power":27713,"unknown_133":206,"unknown_85":37888,"ignition":46,"odometer":null,"unknown_44":-4832080893266319360}} 
[2026-07-01 20:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":120079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 20:59:55] local.INFO: GPS data processed {"connection_id":120079,"processed":1,"errors":0,"total":1} 
[2026-07-01 20:59:55] local.INFO: Acknowledgment sent {"connection_id":120079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:00:25] local.INFO: TCP Data received {"connection_id":120079,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e4c3a60012cbced40076ea550004b00ac2c..."} 
[2026-07-01 21:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e4c3a60012cbced40076ea550004b00ac2c..."} 
[2026-07-01 21:00:25] local.INFO: Processing buffer {"connection_id":120079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e4c3a60012cbced40076ea550004b00ac2c..."} 
[2026-07-01 21:00:25] local.INFO: Packet analysis {"connection_id":120079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e4c"} 
[2026-07-01 21:00:25] local.INFO: Extracted packet for processing {"connection_id":120079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e4c"} 
[2026-07-01 21:00:25] local.INFO: GPS Element Parsed {"raw_longitude":750579008,"raw_latitude":124691792,"longitude_deg":75.0579008,"latitude_deg":12.4691792,"altitude":75,"angle":172,"satellites":44,"speed":48,"hex_longitude":"2cbced40","hex_latitude":"076ea550","is_valid_coordinates":true} 
[2026-07-01 21:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:00:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427451648001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:00:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333952862818140160,"note":"Value kept but may cause issues"} 
[2026-07-01 21:00:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4833488268152158208,"note":"Value kept but may cause issues"} 
[2026-07-01 21:00:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:00:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782919740000,"timestamp_ms":1782919740000,"timestamp_seconds":1782919740,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e4c3a60"} 
[2026-07-01 21:00:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:00: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-01 21:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-07-01 21:00:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:00:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:00:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:00:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:00:25] local.INFO: Teltonika packet parsed successfully {"connection_id":120079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:00:25] local.INFO: Passing IMEI to GPS processor {"connection_id":120079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:00:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":120079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:00:25] 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-01 21:00:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:00:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:00:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427451648001,"66":27691,"133":206,"85":37888,"24":48,"16":333952862818140160,"44":-4833488268152158208},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,85,24,16,44]} 
[2026-07-01 21:00:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:00:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:00:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427451648001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:00:25] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-07-01 21:00:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 21:00:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333952862818140160,"km_value":333952862818140.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:00:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4833488268152158208,"description":"Unknown IO ID 44"} 
[2026-07-01 21:00:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427451648001,"power":27691,"unknown_133":206,"unknown_85":37888,"ignition":48,"odometer":null,"unknown_44":-4833488268152158208}} 
[2026-07-01 21:00:25] local.INFO: DEBUG: GPS processor result {"connection_id":120079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:00:25] local.INFO: GPS data processed {"connection_id":120079,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:00:25] local.INFO: Acknowledgment sent {"connection_id":120079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:00:48] local.INFO: TCP Data received {"connection_id":119296,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:00:48] local.INFO: Processing buffer {"connection_id":119296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:00:48] local.INFO: IMEI packet received {"connection_id":119296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 21:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":119296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:00:52] local.INFO: TCP Data received {"connection_id":119296,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:00:52] local.INFO: Processing buffer {"connection_id":119296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:00:52] local.INFO: IMEI packet received {"connection_id":119296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":119296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:00:53] local.INFO: TCP Data received {"connection_id":119296,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:00:53] local.INFO: Processing buffer {"connection_id":119296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:00:53] local.INFO: IMEI packet received {"connection_id":119296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":119296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:00:54] local.INFO: TCP Data received {"connection_id":119296,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e4c59a0012cbcf580076e7fb8004900a62c..."} 
[2026-07-01 21:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e4c59a0012cbcf580076e7fb8004900a62c..."} 
[2026-07-01 21:00:54] local.INFO: Processing buffer {"connection_id":119296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e4c59a0012cbcf580076e7fb8004900a62c..."} 
[2026-07-01 21:00:54] local.INFO: Packet analysis {"connection_id":119296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e4c"} 
[2026-07-01 21:00:54] local.INFO: Extracted packet for processing {"connection_id":119296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e4c"} 
[2026-07-01 21:00:54] local.INFO: GPS Element Parsed {"raw_longitude":750581120,"raw_latitude":124682168,"longitude_deg":75.058112,"latitude_deg":12.4682168,"altitude":73,"angle":166,"satellites":44,"speed":49,"hex_longitude":"2cbcf580","hex_latitude":"076e7fb8","is_valid_coordinates":true} 
[2026-07-01 21: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-01 21:00:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427453440001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:00:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333953339559510016,"note":"Value kept but may cause issues"} 
[2026-07-01 21:00:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4833136424433397760,"note":"Value kept but may cause issues"} 
[2026-07-01 21:00:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:00:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782919748000,"timestamp_ms":1782919748000,"timestamp_seconds":1782919748,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e4c59a0"} 
[2026-07-01 21: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-01 21:00:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-01 21:00:54] 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-01 21: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-01 21: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-01 21:00:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:00:54] local.INFO: Teltonika packet parsed successfully {"connection_id":119296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:00:54] local.INFO: Passing IMEI to GPS processor {"connection_id":119296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:00:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":119296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:00:54] 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-01 21:00:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:00:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:00:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427453440001,"66":27343,"105":206,"85":37888,"24":49,"16":333953339559510016,"44":-4833136424433397760},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-01 21:00:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:00:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:00:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427453440001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:00:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-01 21:00:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 21:00:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333953339559510016,"km_value":333953339559510.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:00:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4833136424433397760,"description":"Unknown IO ID 44"} 
[2026-07-01 21:00:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427453440001,"power":27343,"unknown_105":206,"unknown_85":37888,"ignition":49,"odometer":null,"unknown_44":-4833136424433397760}} 
[2026-07-01 21:00:54] local.INFO: DEBUG: GPS processor result {"connection_id":119296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:00:54] local.INFO: GPS data processed {"connection_id":119296,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:00:54] local.INFO: Acknowledgment sent {"connection_id":119296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:01:25] local.INFO: TCP Data received {"connection_id":119296,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e4c78e0012cbcfe40076e5a48004800a82a..."} 
[2026-07-01 21:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e4c78e0012cbcfe40076e5a48004800a82a..."} 
[2026-07-01 21:01:25] local.INFO: Processing buffer {"connection_id":119296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e4c78e0012cbcfe40076e5a48004800a82a..."} 
[2026-07-01 21:01:25] local.INFO: Packet analysis {"connection_id":119296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e4c"} 
[2026-07-01 21:01:25] local.INFO: Extracted packet for processing {"connection_id":119296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e4c"} 
[2026-07-01 21:01:25] local.INFO: GPS Element Parsed {"raw_longitude":750583360,"raw_latitude":124672584,"longitude_deg":75.058336,"latitude_deg":12.4672584,"altitude":72,"angle":168,"satellites":42,"speed":46,"hex_longitude":"2cbcfe40","hex_latitude":"076e5a48","is_valid_coordinates":true} 
[2026-07-01 21:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:01:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427455488001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:01:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333953816300879872,"note":"Value kept but may cause issues"} 
[2026-07-01 21:01:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4830814255877998592,"note":"Value kept but may cause issues"} 
[2026-07-01 21:01:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:01:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782919756000,"timestamp_ms":1782919756000,"timestamp_seconds":1782919756,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e4c78e0"} 
[2026-07-01 21:01:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:01:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 21:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-01 21:01:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:01:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:01:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:01:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:01:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:01:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:01:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:01:25] 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-01 21:01:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:01:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:01:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427455488001,"66":27332,"105":206,"85":37888,"24":46,"16":333953816300879872,"44":-4830814255877998592},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,44]} 
[2026-07-01 21:01:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:01:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:01:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427455488001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:01:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-07-01 21:01:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 21:01:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333953816300879872,"km_value":333953816300879.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:01:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4830814255877998592,"description":"Unknown IO ID 44"} 
[2026-07-01 21:01:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427455488001,"power":27332,"unknown_105":206,"unknown_85":37888,"ignition":46,"odometer":null,"unknown_44":-4830814255877998592}} 
[2026-07-01 21:01:25] local.INFO: DEBUG: GPS processor result {"connection_id":119296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:01:25] local.INFO: GPS data processed {"connection_id":119296,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:01:25] local.INFO: Acknowledgment sent {"connection_id":119296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:01:39] local.INFO: TCP Data received {"connection_id":119297,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 21:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119297,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 21:01:39] local.INFO: Processing buffer {"connection_id":119297,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 21:01:39] local.INFO: IMEI packet received {"connection_id":119297,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 21:01:39] local.INFO: IMEI acknowledgment sent {"connection_id":119297,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:01:54] local.INFO: TCP Data received {"connection_id":119406,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:01:54] local.INFO: Processing buffer {"connection_id":119406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:01:54] local.INFO: IMEI packet received {"connection_id":119406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 21:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":119406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:01:54] local.INFO: TCP Data received {"connection_id":119406,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:01:54] local.INFO: Processing buffer {"connection_id":119406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:01:54] local.INFO: IMEI packet received {"connection_id":119406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":119406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:01:59] local.INFO: TCP Data received {"connection_id":119406,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:01:59] local.INFO: Processing buffer {"connection_id":119406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:01:59] local.INFO: IMEI packet received {"connection_id":119406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":119406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:01:59] local.INFO: TCP Data received {"connection_id":119406,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e4ddc58012cbd1e00076cc498003d00a92b..."} 
[2026-07-01 21:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e4ddc58012cbd1e00076cc498003d00a92b..."} 
[2026-07-01 21:01:59] local.INFO: Processing buffer {"connection_id":119406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e4ddc58012cbd1e00076cc498003d00a92b..."} 
[2026-07-01 21:01:59] local.INFO: Packet analysis {"connection_id":119406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e4d"} 
[2026-07-01 21:01:59] local.INFO: Extracted packet for processing {"connection_id":119406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e4d"} 
[2026-07-01 21:01:59] local.INFO: GPS Element Parsed {"raw_longitude":750591488,"raw_latitude":124568728,"longitude_deg":75.0591488,"latitude_deg":12.4568728,"altitude":61,"angle":169,"satellites":43,"speed":50,"hex_longitude":"2cbd1e00","hex_latitude":"076cc498","is_valid_coordinates":true} 
[2026-07-01 21: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-01 21:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427478784001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333958918722027520,"note":"Value kept but may cause issues"} 
[2026-07-01 21:01:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4821666319161440256,"note":"Value kept but may cause issues"} 
[2026-07-01 21:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782919847000,"timestamp_ms":1782919847000,"timestamp_seconds":1782919847,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e4ddc58"} 
[2026-07-01 21: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-01 21:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 21:01:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21: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-01 21: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-01 21:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:01:59] 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-01 21:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427478784001,"66":27300,"3":206,"85":37888,"24":50,"16":333958918722027520,"44":-4821666319161440256},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,85,24,16,44]} 
[2026-07-01 21:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427478784001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:01:59] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-01 21:01:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 21:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333958918722027520,"km_value":333958918722027.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:01:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4821666319161440256,"description":"Unknown IO ID 44"} 
[2026-07-01 21:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427478784001,"power":27300,"unknown_3":206,"unknown_85":37888,"ignition":50,"odometer":null,"unknown_44":-4821666319161440256}} 
[2026-07-01 21:02:00] local.INFO: DEBUG: GPS processor result {"connection_id":119406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:02:00] local.INFO: GPS data processed {"connection_id":119406,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:02:00] local.INFO: Acknowledgment sent {"connection_id":119406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:02:02] local.INFO: TCP Data received {"connection_id":119406,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e4df7b0012cbd2400076ca278003b00aa2b..."} 
[2026-07-01 21:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e4df7b0012cbd2400076ca278003b00aa2b..."} 
[2026-07-01 21:02:02] local.INFO: Processing buffer {"connection_id":119406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e4df7b0012cbd2400076ca278003b00aa2b..."} 
[2026-07-01 21:02:02] local.INFO: Packet analysis {"connection_id":119406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e4d"} 
[2026-07-01 21:02:02] local.INFO: Extracted packet for processing {"connection_id":119406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e4d"} 
[2026-07-01 21:02:02] local.INFO: GPS Element Parsed {"raw_longitude":750593024,"raw_latitude":124559992,"longitude_deg":75.0593024,"latitude_deg":12.4559992,"altitude":59,"angle":170,"satellites":43,"speed":50,"hex_longitude":"2cbd2400","hex_latitude":"076ca278","is_valid_coordinates":true} 
[2026-07-01 21: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-01 21:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427480832001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333959348218757120,"note":"Value kept but may cause issues"} 
[2026-07-01 21:02:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4819414519350257664,"note":"Value kept but may cause issues"} 
[2026-07-01 21:02:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782919854000,"timestamp_ms":1782919854000,"timestamp_seconds":1782919854,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e4df7b0"} 
[2026-07-01 21: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-01 21:02:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-01 21:02:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21: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-01 21: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-01 21:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":119406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":119406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":119406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:02:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 21:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427480832001,"66":27267,"3":206,"85":37888,"24":50,"16":333959348218757120,"44":-4819414519350257664},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,85,24,16,44]} 
[2026-07-01 21:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427480832001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:02:02] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-01 21:02:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 21:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333959348218757120,"km_value":333959348218757.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:02:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4819414519350257664,"description":"Unknown IO ID 44"} 
[2026-07-01 21:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427480832001,"power":27267,"unknown_3":206,"unknown_85":37888,"ignition":50,"odometer":null,"unknown_44":-4819414519350257664}} 
[2026-07-01 21:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":119406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:02:02] local.INFO: GPS data processed {"connection_id":119406,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:02:02] local.INFO: Acknowledgment sent {"connection_id":119406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:02:15] local.INFO: TCP Data received {"connection_id":121149,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 21:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121149,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 21:02:15] local.INFO: Processing buffer {"connection_id":121149,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 21:02:15] local.INFO: IMEI packet received {"connection_id":121149,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 21:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":121149,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:02:34] local.INFO: TCP Data received {"connection_id":119406,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e4e1308012cbd29c0076c7fe8003a00aa2b..."} 
[2026-07-01 21:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e4e1308012cbd29c0076c7fe8003a00aa2b..."} 
[2026-07-01 21:02:34] local.INFO: Processing buffer {"connection_id":119406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e4e1308012cbd29c0076c7fe8003a00aa2b..."} 
[2026-07-01 21:02:34] local.INFO: Packet analysis {"connection_id":119406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e4e"} 
[2026-07-01 21:02:34] local.INFO: Extracted packet for processing {"connection_id":119406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e4e"} 
[2026-07-01 21:02:34] local.INFO: GPS Element Parsed {"raw_longitude":750594496,"raw_latitude":124551144,"longitude_deg":75.0594496,"latitude_deg":12.4551144,"altitude":58,"angle":170,"satellites":43,"speed":51,"hex_longitude":"2cbd29c0","hex_latitude":"076c7fe8","is_valid_coordinates":true} 
[2026-07-01 21:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427482624001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333959782010454016,"note":"Value kept but may cause issues"} 
[2026-07-01 21:02:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4817725669492230144,"note":"Value kept but may cause issues"} 
[2026-07-01 21:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782919861000,"timestamp_ms":1782919861000,"timestamp_seconds":1782919861,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e4e1308"} 
[2026-07-01 21:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:02:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-01 21:02:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:02:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":119406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":119406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":119406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:02:34] 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-01 21:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427482624001,"66":27365,"3":206,"85":37888,"24":51,"16":333959782010454016,"44":-4817725669492230144},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,85,24,16,44]} 
[2026-07-01 21:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427482624001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:02:34] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-01 21:02:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 21:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333959782010454016,"km_value":333959782010454.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:02:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4817725669492230144,"description":"Unknown IO ID 44"} 
[2026-07-01 21:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427482624001,"power":27365,"unknown_3":206,"unknown_85":37888,"ignition":51,"odometer":null,"unknown_44":-4817725669492230144}} 
[2026-07-01 21:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":119406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:02:34] local.INFO: GPS data processed {"connection_id":119406,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:02:34] local.INFO: Acknowledgment sent {"connection_id":119406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:02:46] local.INFO: TCP Data received {"connection_id":120080,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:02:46] local.INFO: Processing buffer {"connection_id":120080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:02:46] local.INFO: IMEI packet received {"connection_id":120080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 21:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":120080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:02:49] local.INFO: TCP Data received {"connection_id":120080,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:02:49] local.INFO: Processing buffer {"connection_id":120080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:02:49] local.INFO: IMEI packet received {"connection_id":120080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":120080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:02:51] local.INFO: TCP Data received {"connection_id":120080,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:02:51] local.INFO: Processing buffer {"connection_id":120080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:02:51] local.INFO: IMEI packet received {"connection_id":120080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":120080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:02:52] local.INFO: TCP Data received {"connection_id":120080,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e4e2e60012cbd2fc0076c5d68003800aa2b..."} 
[2026-07-01 21:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e4e2e60012cbd2fc0076c5d68003800aa2b..."} 
[2026-07-01 21:02:52] local.INFO: Processing buffer {"connection_id":120080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e4e2e60012cbd2fc0076c5d68003800aa2b..."} 
[2026-07-01 21:02:52] local.INFO: Packet analysis {"connection_id":120080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e4e"} 
[2026-07-01 21:02:52] local.INFO: Extracted packet for processing {"connection_id":120080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e4e"} 
[2026-07-01 21:02:52] local.INFO: GPS Element Parsed {"raw_longitude":750596032,"raw_latitude":124542312,"longitude_deg":75.0596032,"latitude_deg":12.4542312,"altitude":56,"angle":170,"satellites":43,"speed":50,"hex_longitude":"2cbd2fc0","hex_latitude":"076c5d68","is_valid_coordinates":true} 
[2026-07-01 21:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427484416001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:02:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333960215802150912,"note":"Value kept but may cause issues"} 
[2026-07-01 21:02:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4816107188378408960,"note":"Value kept but may cause issues"} 
[2026-07-01 21:02:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:02:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782919868000,"timestamp_ms":1782919868000,"timestamp_seconds":1782919868,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e4e2e60"} 
[2026-07-01 21:02:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:02:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 21:02:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:02:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:02:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:02:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:02:52] local.INFO: Teltonika packet parsed successfully {"connection_id":120080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:02:52] local.INFO: Passing IMEI to GPS processor {"connection_id":120080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:02:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":120080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:02:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 21:02:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:02:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:02:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427484416001,"66":27365,"3":206,"85":37888,"24":50,"16":333960215802150912,"44":-4816107188378408960},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,85,24,16,44]} 
[2026-07-01 21:02:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:02:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:02:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427484416001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:02:52] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-01 21:02:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 21:02:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333960215802150912,"km_value":333960215802150.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:02:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4816107188378408960,"description":"Unknown IO ID 44"} 
[2026-07-01 21:02:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427484416001,"power":27365,"unknown_3":206,"unknown_85":37888,"ignition":50,"odometer":null,"unknown_44":-4816107188378408960}} 
[2026-07-01 21:02:52] local.INFO: DEBUG: GPS processor result {"connection_id":120080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:02:52] local.INFO: GPS data processed {"connection_id":120080,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:02:52] local.INFO: Acknowledgment sent {"connection_id":120080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:03:23] local.INFO: TCP Data received {"connection_id":120080,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e4e4da0012cbd3640076c3780003800aa2b..."} 
[2026-07-01 21:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e4e4da0012cbd3640076c3780003800aa2b..."} 
[2026-07-01 21:03:23] local.INFO: Processing buffer {"connection_id":120080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e4e4da0012cbd3640076c3780003800aa2b..."} 
[2026-07-01 21:03:23] local.INFO: Packet analysis {"connection_id":120080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e4e"} 
[2026-07-01 21:03:23] local.INFO: Extracted packet for processing {"connection_id":120080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e4e"} 
[2026-07-01 21:03:23] local.INFO: GPS Element Parsed {"raw_longitude":750597696,"raw_latitude":124532608,"longitude_deg":75.0597696,"latitude_deg":12.4532608,"altitude":56,"angle":170,"satellites":43,"speed":47,"hex_longitude":"2cbd3640","hex_latitude":"076c3780","is_valid_coordinates":true} 
[2026-07-01 21:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:03:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427486208001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:03:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333960692543520768,"note":"Value kept but may cause issues"} 
[2026-07-01 21:03:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4814418338520406016,"note":"Value kept but may cause issues"} 
[2026-07-01 21:03:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:03:23] local.INFO: AVL Record Parsed {"raw_timestamp":1782919876000,"timestamp_ms":1782919876000,"timestamp_seconds":1782919876,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e4e4da0"} 
[2026-07-01 21:03:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:03:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 21:03:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:03:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:03:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:03:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:03:23] local.INFO: Teltonika packet parsed successfully {"connection_id":120080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:03:23] local.INFO: Passing IMEI to GPS processor {"connection_id":120080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:03:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":120080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:03:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 21:03:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:03:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:03:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427486208001,"66":27343,"3":206,"85":37888,"24":47,"16":333960692543520768,"44":-4814418338520406016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,85,24,16,44]} 
[2026-07-01 21:03:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:03:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:03:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427486208001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:03:23] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-01 21:03:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 21:03:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333960692543520768,"km_value":333960692543520.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:03:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4814418338520406016,"description":"Unknown IO ID 44"} 
[2026-07-01 21:03:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427486208001,"power":27343,"unknown_3":206,"unknown_85":37888,"ignition":47,"odometer":null,"unknown_44":-4814418338520406016}} 
[2026-07-01 21:03:23] local.INFO: DEBUG: GPS processor result {"connection_id":120080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:03:23] local.INFO: GPS data processed {"connection_id":120080,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:03:23] local.INFO: Acknowledgment sent {"connection_id":120080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:03:49] local.INFO: TCP Data received {"connection_id":119298,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:03:49] local.INFO: Processing buffer {"connection_id":119298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:03:49] local.INFO: IMEI packet received {"connection_id":119298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 21:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":119298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:03:52] local.INFO: TCP Data received {"connection_id":119298,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:03:52] local.INFO: Processing buffer {"connection_id":119298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:03:52] local.INFO: IMEI packet received {"connection_id":119298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":119298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:03:52] local.INFO: TCP Data received {"connection_id":119298,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e4fbcd0012cbdcc00076ae7f0004200b42a..."} 
[2026-07-01 21:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e4fbcd0012cbdcc00076ae7f0004200b42a..."} 
[2026-07-01 21:03:52] local.INFO: Processing buffer {"connection_id":119298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e4fbcd0012cbdcc00076ae7f0004200b42a..."} 
[2026-07-01 21:03:52] local.INFO: Packet analysis {"connection_id":119298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e4f"} 
[2026-07-01 21:03:52] local.INFO: Extracted packet for processing {"connection_id":119298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e4f"} 
[2026-07-01 21:03:52] local.INFO: GPS Element Parsed {"raw_longitude":750636032,"raw_latitude":124446704,"longitude_deg":75.0636032,"latitude_deg":12.4446704,"altitude":66,"angle":180,"satellites":42,"speed":43,"hex_longitude":"2cbdcc00","hex_latitude":"076ae7f0","is_valid_coordinates":true} 
[2026-07-01 21:03: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-01 21:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427510016001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333965386942775296,"note":"Value kept but may cause issues"} 
[2026-07-01 21:03:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4770578610919772160,"note":"Value kept but may cause issues"} 
[2026-07-01 21:03:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782919970000,"timestamp_ms":1782919970000,"timestamp_seconds":1782919970,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e4fbcd0"} 
[2026-07-01 21:03:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:03:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 21:03:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:03: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-01 21:03:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":119298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":119298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":119298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:03:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 21:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427510016001,"66":27245,"2":206,"85":37888,"24":43,"16":333965386942775296,"44":-4770578610919772160},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-07-01 21:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427510016001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:03:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 21:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333965386942775296,"km_value":333965386942775.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:03:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4770578610919772160,"description":"Unknown IO ID 44"} 
[2026-07-01 21:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427510016001,"power":27245,"power_alt":206,"unknown_85":37888,"ignition":43,"odometer":null,"unknown_44":-4770578610919772160}} 
[2026-07-01 21:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":119298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:03:52] local.INFO: GPS data processed {"connection_id":119298,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:03:52] local.INFO: Acknowledgment sent {"connection_id":119298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:04:24] local.INFO: TCP Data received {"connection_id":119298,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e4fdc10012cbdcb00076ac530004300b62b..."} 
[2026-07-01 21:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e4fdc10012cbdcb00076ac530004300b62b..."} 
[2026-07-01 21:04:24] local.INFO: Processing buffer {"connection_id":119298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e4fdc10012cbdcb00076ac530004300b62b..."} 
[2026-07-01 21:04:24] local.INFO: Packet analysis {"connection_id":119298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e4f"} 
[2026-07-01 21:04:24] local.INFO: Extracted packet for processing {"connection_id":119298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e4f"} 
[2026-07-01 21:04:24] local.INFO: GPS Element Parsed {"raw_longitude":750635776,"raw_latitude":124437808,"longitude_deg":75.0635776,"latitude_deg":12.4437808,"altitude":67,"angle":182,"satellites":43,"speed":45,"hex_longitude":"2cbdcb00","hex_latitude":"076ac530","is_valid_coordinates":true} 
[2026-07-01 21: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-01 21:04:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427512320001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:04:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333965816439504896,"note":"Value kept but may cause issues"} 
[2026-07-01 21:04:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4770437873433841664,"note":"Value kept but may cause issues"} 
[2026-07-01 21:04:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:04:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782919978000,"timestamp_ms":1782919978000,"timestamp_seconds":1782919978,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e4fdc10"} 
[2026-07-01 21:04:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:04:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-01 21:04:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:04:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:04:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:04:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:04:24] local.INFO: Teltonika packet parsed successfully {"connection_id":119298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:04:24] local.INFO: Passing IMEI to GPS processor {"connection_id":119298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:04:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":119298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:04:24] 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-01 21:04:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:04:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:04:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427512320001,"66":27234,"2":206,"85":37888,"24":45,"16":333965816439504896,"44":-4770437873433841664},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-07-01 21:04:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:04:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:04:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427512320001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:04:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 21:04:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333965816439504896,"km_value":333965816439504.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:04:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4770437873433841664,"description":"Unknown IO ID 44"} 
[2026-07-01 21:04:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427512320001,"power":27234,"power_alt":206,"unknown_85":37888,"ignition":45,"odometer":null,"unknown_44":-4770437873433841664}} 
[2026-07-01 21:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":119298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:04:24] local.INFO: GPS data processed {"connection_id":119298,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:04:24] local.INFO: Acknowledgment sent {"connection_id":119298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:04:46] local.INFO: TCP Data received {"connection_id":121151,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:04:46] local.INFO: Processing buffer {"connection_id":121151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:04:46] local.INFO: IMEI packet received {"connection_id":121151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 21:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":121151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:04:48] local.INFO: TCP Data received {"connection_id":121151,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:04:48] local.INFO: Processing buffer {"connection_id":121151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:04:48] local.INFO: IMEI packet received {"connection_id":121151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":121151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:04:53] local.INFO: TCP Data received {"connection_id":121151,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:04:53] local.INFO: Processing buffer {"connection_id":121151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:04:53] local.INFO: IMEI packet received {"connection_id":121151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":121151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:04:54] local.INFO: TCP Data received {"connection_id":121151,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e4ffb50012cbdc980076aa120004300b52a..."} 
[2026-07-01 21:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e4ffb50012cbdc980076aa120004300b52a..."} 
[2026-07-01 21:04:54] local.INFO: Processing buffer {"connection_id":121151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e4ffb50012cbdc980076aa120004300b52a..."} 
[2026-07-01 21:04:54] local.INFO: Packet analysis {"connection_id":121151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e4f"} 
[2026-07-01 21:04:54] local.INFO: Extracted packet for processing {"connection_id":121151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e4f"} 
[2026-07-01 21:04:54] local.INFO: GPS Element Parsed {"raw_longitude":750635392,"raw_latitude":124428576,"longitude_deg":75.0635392,"latitude_deg":12.4428576,"altitude":67,"angle":181,"satellites":42,"speed":46,"hex_longitude":"2cbdc980","hex_latitude":"076aa120","is_valid_coordinates":true} 
[2026-07-01 21: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-01 21:04:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427514368001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:04:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333966263116103680,"note":"Value kept but may cause issues"} 
[2026-07-01 21:04:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4770719348412829696,"note":"Value kept but may cause issues"} 
[2026-07-01 21:04:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:04:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782919986000,"timestamp_ms":1782919986000,"timestamp_seconds":1782919986,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e4ffb50"} 
[2026-07-01 21: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-01 21:04: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-01 21: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-01 21:04:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21: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-01 21: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-01 21:04:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:04:54] local.INFO: Teltonika packet parsed successfully {"connection_id":121151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:04:54] local.INFO: Passing IMEI to GPS processor {"connection_id":121151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:04:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":121151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:04:54] 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-01 21:04:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:04:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:04:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427514368001,"66":27365,"23":206,"85":37888,"24":46,"16":333966263116103680,"44":-4770719348412829696},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,44]} 
[2026-07-01 21:04:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:04:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:04:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427514368001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:04:54] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-01 21:04:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 21:04:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333966263116103680,"km_value":333966263116103.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:04:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4770719348412829696,"description":"Unknown IO ID 44"} 
[2026-07-01 21:04:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427514368001,"power":27365,"unknown_23":206,"unknown_85":37888,"ignition":46,"odometer":null,"unknown_44":-4770719348412829696}} 
[2026-07-01 21:04:54] local.INFO: DEBUG: GPS processor result {"connection_id":121151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:04:54] local.INFO: GPS data processed {"connection_id":121151,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:04:54] local.INFO: Acknowledgment sent {"connection_id":121151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:05:25] local.INFO: TCP Data received {"connection_id":121151,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e501a90012cbdc800076a7c80004300b42a..."} 
[2026-07-01 21:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e501a90012cbdc800076a7c80004300b42a..."} 
[2026-07-01 21:05:25] local.INFO: Processing buffer {"connection_id":121151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e501a90012cbdc800076a7c80004300b42a..."} 
[2026-07-01 21:05:25] local.INFO: Packet analysis {"connection_id":121151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e50"} 
[2026-07-01 21:05:25] local.INFO: Extracted packet for processing {"connection_id":121151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e50"} 
[2026-07-01 21:05:25] local.INFO: GPS Element Parsed {"raw_longitude":750635008,"raw_latitude":124419200,"longitude_deg":75.0635008,"latitude_deg":12.44192,"altitude":67,"angle":180,"satellites":42,"speed":46,"hex_longitude":"2cbdc800","hex_latitude":"076a7c80","is_valid_coordinates":true} 
[2026-07-01 21:05:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:05:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427516416001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:05:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333966718382637056,"note":"Value kept but may cause issues"} 
[2026-07-01 21:05:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4771141560880259072,"note":"Value kept but may cause issues"} 
[2026-07-01 21:05:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:05:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782919994000,"timestamp_ms":1782919994000,"timestamp_seconds":1782919994,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e501a90"} 
[2026-07-01 21: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-01 21:05:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 21: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 21:05:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21: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-01 21: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-01 21:05:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:05:25] local.INFO: Teltonika packet parsed successfully {"connection_id":121151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:05:25] local.INFO: Passing IMEI to GPS processor {"connection_id":121151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:05:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":121151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:05:25] 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-01 21:05:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:05:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:05:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427516416001,"66":27300,"23":206,"85":37888,"24":46,"16":333966718382637056,"44":-4771141560880259072},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,44]} 
[2026-07-01 21:05:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:05:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:05:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427516416001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:05:25] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-01 21:05:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 21:05:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333966718382637056,"km_value":333966718382637.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:05:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4771141560880259072,"description":"Unknown IO ID 44"} 
[2026-07-01 21:05:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427516416001,"power":27300,"unknown_23":206,"unknown_85":37888,"ignition":46,"odometer":null,"unknown_44":-4771141560880259072}} 
[2026-07-01 21:05:25] local.INFO: DEBUG: GPS processor result {"connection_id":121151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:05:25] local.INFO: GPS data processed {"connection_id":121151,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:05:25] local.INFO: Acknowledgment sent {"connection_id":121151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:05:48] local.INFO: TCP Data received {"connection_id":120081,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:05:48] local.INFO: Processing buffer {"connection_id":120081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:05:48] local.INFO: IMEI packet received {"connection_id":120081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 21:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":120081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:05:51] local.INFO: TCP Data received {"connection_id":120081,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:05:51] local.INFO: Processing buffer {"connection_id":120081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:05:51] local.INFO: IMEI packet received {"connection_id":120081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":120081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:05:55] local.INFO: TCP Data received {"connection_id":120081,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:05:55] local.INFO: Processing buffer {"connection_id":120081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:05:55] local.INFO: IMEI packet received {"connection_id":120081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":120081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:05:56] local.INFO: TCP Data received {"connection_id":120081,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e516698012cbe578007691888004000852c..."} 
[2026-07-01 21:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e516698012cbe578007691888004000852c..."} 
[2026-07-01 21:05:56] local.INFO: Processing buffer {"connection_id":120081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e516698012cbe578007691888004000852c..."} 
[2026-07-01 21:05:56] local.INFO: Packet analysis {"connection_id":120081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e51"} 
[2026-07-01 21:05:56] local.INFO: Extracted packet for processing {"connection_id":120081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e51"} 
[2026-07-01 21:05:56] local.INFO: GPS Element Parsed {"raw_longitude":750671744,"raw_latitude":124328072,"longitude_deg":75.0671744,"latitude_deg":12.4328072,"altitude":64,"angle":133,"satellites":44,"speed":46,"hex_longitude":"2cbe5780","hex_latitude":"07691888","is_valid_coordinates":true} 
[2026-07-01 21: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-01 21:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427538176001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333971636120190976,"note":"Value kept but may cause issues"} 
[2026-07-01 21:05:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4738701569838454784,"note":"Value kept but may cause issues"} 
[2026-07-01 21:05:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782920079000,"timestamp_ms":1782920079000,"timestamp_seconds":1782920079,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e516698"} 
[2026-07-01 21: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-01 21:05:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-01 21:05:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21: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-01 21: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-01 21:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":120081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":120081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":120081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:05:56] 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-01 21:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427538176001,"66":27343,"229":206,"85":37888,"24":46,"16":333971636120190976,"44":-4738701569838454784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,44]} 
[2026-07-01 21:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427538176001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:05:56] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-01 21:05:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 21:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333971636120190976,"km_value":333971636120191.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:05:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4738701569838454784,"description":"Unknown IO ID 44"} 
[2026-07-01 21:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427538176001,"power":27343,"unknown_229":206,"unknown_85":37888,"ignition":46,"odometer":null,"unknown_44":-4738701569838454784}} 
[2026-07-01 21:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":120081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:05:56] local.INFO: GPS data processed {"connection_id":120081,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:05:56] local.INFO: Acknowledgment sent {"connection_id":120081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:05:59] local.INFO: TCP Data received {"connection_id":120081,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e5185d8012cbe70c00768ff400040008a2c..."} 
[2026-07-01 21:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e5185d8012cbe70c00768ff400040008a2c..."} 
[2026-07-01 21:05:59] local.INFO: Processing buffer {"connection_id":120081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e5185d8012cbe70c00768ff400040008a2c..."} 
[2026-07-01 21:05:59] local.INFO: Packet analysis {"connection_id":120081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e51"} 
[2026-07-01 21:05:59] local.INFO: Extracted packet for processing {"connection_id":120081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e51"} 
[2026-07-01 21:05:59] local.INFO: GPS Element Parsed {"raw_longitude":750678208,"raw_latitude":124321600,"longitude_deg":75.0678208,"latitude_deg":12.43216,"altitude":64,"angle":138,"satellites":44,"speed":43,"hex_longitude":"2cbe70c0","hex_latitude":"0768ff40","is_valid_coordinates":true} 
[2026-07-01 21:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427540224001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333972074206855168,"note":"Value kept but may cause issues"} 
[2026-07-01 21:05:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4731172114213074944,"note":"Value kept but may cause issues"} 
[2026-07-01 21:05:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782920087000,"timestamp_ms":1782920087000,"timestamp_seconds":1782920087,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e5185d8"} 
[2026-07-01 21:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:05:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-01 21:05:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:05:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":120081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":120081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":120081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:05:59] 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-01 21:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427540224001,"66":27343,"229":206,"85":37888,"24":43,"16":333972074206855168,"44":-4731172114213074944},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,44]} 
[2026-07-01 21:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427540224001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:05:59] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-01 21:05:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 21:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333972074206855168,"km_value":333972074206855.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:05:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4731172114213074944,"description":"Unknown IO ID 44"} 
[2026-07-01 21:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427540224001,"power":27343,"unknown_229":206,"unknown_85":37888,"ignition":43,"odometer":null,"unknown_44":-4731172114213074944}} 
[2026-07-01 21:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":120081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:05:59] local.INFO: GPS data processed {"connection_id":120081,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:05:59] local.INFO: Acknowledgment sent {"connection_id":120081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:06:30] local.INFO: TCP Data received {"connection_id":120081,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e51a900012cbe88c00768e530004100862b..."} 
[2026-07-01 21:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e51a900012cbe88c00768e530004100862b..."} 
[2026-07-01 21:06:30] local.INFO: Processing buffer {"connection_id":120081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e51a900012cbe88c00768e530004100862b..."} 
[2026-07-01 21:06:30] local.INFO: Packet analysis {"connection_id":120081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e51"} 
[2026-07-01 21:06:30] local.INFO: Extracted packet for processing {"connection_id":120081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e51"} 
[2026-07-01 21:06:30] local.INFO: GPS Element Parsed {"raw_longitude":750684352,"raw_latitude":124314928,"longitude_deg":75.0684352,"latitude_deg":12.4314928,"altitude":65,"angle":134,"satellites":43,"speed":37,"hex_longitude":"2cbe88c0","hex_latitude":"0768e530","is_valid_coordinates":true} 
[2026-07-01 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-01 21:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427542272001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333972512293519360,"note":"Value kept but may cause issues"} 
[2026-07-01 21:06:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4724064871052787712,"note":"Value kept but may cause issues"} 
[2026-07-01 21:06:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782920096000,"timestamp_ms":1782920096000,"timestamp_seconds":1782920096,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e51a900"} 
[2026-07-01 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-01 21:06:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-01 21:06:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 21:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":120081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":120081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":120081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:06:30] 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-01 21:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427542272001,"66":27267,"229":206,"85":37888,"24":37,"16":333972512293519360,"44":-4724064871052787712},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,44]} 
[2026-07-01 21:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427542272001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:06:30] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-01 21:06:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 21:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333972512293519360,"km_value":333972512293519.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:06:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4724064871052787712,"description":"Unknown IO ID 44"} 
[2026-07-01 21:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427542272001,"power":27267,"unknown_229":206,"unknown_85":37888,"ignition":37,"odometer":null,"unknown_44":-4724064871052787712}} 
[2026-07-01 21:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":120081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:06:30] local.INFO: GPS data processed {"connection_id":120081,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:06:30] local.INFO: Acknowledgment sent {"connection_id":120081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:06:48] local.INFO: TCP Data received {"connection_id":120082,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:06:48] local.INFO: Processing buffer {"connection_id":120082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:06:48] local.INFO: IMEI packet received {"connection_id":120082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 21:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":120082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:06:54] local.INFO: TCP Data received {"connection_id":120082,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:06:54] local.INFO: Processing buffer {"connection_id":120082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:06:54] local.INFO: IMEI packet received {"connection_id":120082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":120082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:06:55] local.INFO: TCP Data received {"connection_id":120082,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e51d010012cbea4c00768cde8004400792c..."} 
[2026-07-01 21:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e51d010012cbea4c00768cde8004400792c..."} 
[2026-07-01 21:06:55] local.INFO: Processing buffer {"connection_id":120082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e51d010012cbea4c00768cde8004400792c..."} 
[2026-07-01 21:06:55] local.INFO: Packet analysis {"connection_id":120082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e51"} 
[2026-07-01 21:06:55] local.INFO: Extracted packet for processing {"connection_id":120082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e51"} 
[2026-07-01 21:06:55] local.INFO: GPS Element Parsed {"raw_longitude":750691520,"raw_latitude":124308968,"longitude_deg":75.069152,"latitude_deg":12.4308968,"altitude":68,"angle":121,"satellites":44,"speed":35,"hex_longitude":"2cbea4c0","hex_latitude":"0768cde8","is_valid_coordinates":true} 
[2026-07-01 21:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427544576001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333972958970118144,"note":"Value kept but may cause issues"} 
[2026-07-01 21:06:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4717309471613440000,"note":"Value kept but may cause issues"} 
[2026-07-01 21:06:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782920106000,"timestamp_ms":1782920106000,"timestamp_seconds":1782920106,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e51d010"} 
[2026-07-01 21:06:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:06:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-01 21:06:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:06:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:06:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":120082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":120082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":120082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:06:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 21:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427544576001,"66":27376,"229":206,"85":37888,"24":35,"16":333972958970118144,"44":-4717309471613440000},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,44]} 
[2026-07-01 21:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427544576001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:06:55] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-01 21:06:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 21:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333972958970118144,"km_value":333972958970118.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:06:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4717309471613440000,"description":"Unknown IO ID 44"} 
[2026-07-01 21:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427544576001,"power":27376,"unknown_229":206,"unknown_85":37888,"ignition":35,"odometer":null,"unknown_44":-4717309471613440000}} 
[2026-07-01 21:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":120082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:06:55] local.INFO: GPS data processed {"connection_id":120082,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:06:55] local.INFO: Acknowledgment sent {"connection_id":120082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:07:42] local.INFO: TCP Data received {"connection_id":120083,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 21:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120083,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 21:07:42] local.INFO: Processing buffer {"connection_id":120083,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 21:07:42] local.INFO: IMEI packet received {"connection_id":120083,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 21:07:42] local.INFO: IMEI acknowledgment sent {"connection_id":120083,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:07:48] local.INFO: TCP Data received {"connection_id":119408,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:07:48] local.INFO: Processing buffer {"connection_id":119408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:07:48] local.INFO: IMEI packet received {"connection_id":119408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 21:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":119408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:07:50] local.INFO: TCP Data received {"connection_id":120082,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e51d010012cbea4c00768cde8004400792c..."} 
[2026-07-01 21:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e51d010012cbea4c00768cde8004400792c..."} 
[2026-07-01 21:07:50] local.INFO: Processing buffer {"connection_id":120082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e51d010012cbea4c00768cde8004400792c..."} 
[2026-07-01 21:07:50] local.INFO: Packet analysis {"connection_id":120082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e51"} 
[2026-07-01 21:07:50] local.INFO: Extracted packet for processing {"connection_id":120082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e51"} 
[2026-07-01 21:07:50] local.INFO: GPS Element Parsed {"raw_longitude":750691520,"raw_latitude":124308968,"longitude_deg":75.069152,"latitude_deg":12.4308968,"altitude":68,"angle":121,"satellites":44,"speed":35,"hex_longitude":"2cbea4c0","hex_latitude":"0768cde8","is_valid_coordinates":true} 
[2026-07-01 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-01 21:07:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427547136001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:07:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333972958970118144,"note":"Value kept but may cause issues"} 
[2026-07-01 21:07:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4709428172267067392,"note":"Value kept but may cause issues"} 
[2026-07-01 21:07:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:07:50] local.INFO: AVL Record Parsed {"raw_timestamp":1782920106000,"timestamp_ms":1782920106000,"timestamp_seconds":1782920106,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e51d010"} 
[2026-07-01 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-01 21:07: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-01 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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-01 21:07:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 21:07:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:07:50] local.INFO: Teltonika packet parsed successfully {"connection_id":120082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:07:50] local.INFO: Passing IMEI to GPS processor {"connection_id":120082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:07:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":120082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:07: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-01 21:07:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:07:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:07:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427547136001,"66":27376,"229":206,"85":37888,"24":35,"16":333972958970118144,"44":-4709428172267067392},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,44]} 
[2026-07-01 21:07:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:07:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:07:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427547136001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:07:50] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-07-01 21:07:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 21:07:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333972958970118144,"km_value":333972958970118.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:07:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4709428172267067392,"description":"Unknown IO ID 44"} 
[2026-07-01 21:07:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427547136001,"power":27376,"unknown_229":206,"unknown_85":37888,"ignition":35,"odometer":null,"unknown_44":-4709428172267067392}} 
[2026-07-01 21:07:50] local.INFO: DEBUG: GPS processor result {"connection_id":120082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:07:50] local.INFO: GPS data processed {"connection_id":120082,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:07:50] local.INFO: Acknowledgment sent {"connection_id":120082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:07:51] local.INFO: TCP Data received {"connection_id":119408,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:07:51] local.INFO: Processing buffer {"connection_id":119408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:07:51] local.INFO: IMEI packet received {"connection_id":119408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":119408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:07:54] local.INFO: TCP Data received {"connection_id":119408,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:07:54] local.INFO: Processing buffer {"connection_id":119408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:07:54] local.INFO: IMEI packet received {"connection_id":119408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":119408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:07:54] local.INFO: TCP Data received {"connection_id":119408,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e5379d8012cbfe64007680e48004f008a2b..."} 
[2026-07-01 21:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e5379d8012cbfe64007680e48004f008a2b..."} 
[2026-07-01 21:07:54] local.INFO: Processing buffer {"connection_id":119408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e5379d8012cbfe64007680e48004f008a2b..."} 
[2026-07-01 21:07:54] local.INFO: Packet analysis {"connection_id":119408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e53"} 
[2026-07-01 21:07:54] local.INFO: Extracted packet for processing {"connection_id":119408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e53"} 
[2026-07-01 21:07:54] local.INFO: GPS Element Parsed {"raw_longitude":750773824,"raw_latitude":124259912,"longitude_deg":75.0773824,"latitude_deg":12.4259912,"altitude":79,"angle":138,"satellites":43,"speed":39,"hex_longitude":"2cbfe640","hex_latitude":"07680e48","is_valid_coordinates":true} 
[2026-07-01 21:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:07:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427572736001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:07:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333977636189503488,"note":"Value kept but may cause issues"} 
[2026-07-01 21:07:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4625618997962301440,"note":"Value kept but may cause issues"} 
[2026-07-01 21:07:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:07:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782920215000,"timestamp_ms":1782920215000,"timestamp_seconds":1782920215,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e5379d8"} 
[2026-07-01 21:07:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:07:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-01 21:07:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:07:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:07:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:07:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:07:54] local.INFO: Teltonika packet parsed successfully {"connection_id":119408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:07:54] local.INFO: Passing IMEI to GPS processor {"connection_id":119408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:07:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":119408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:07:54] 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-01 21:07:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:07:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:07:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427572736001,"66":27104,"42":206,"85":37888,"24":39,"16":333977636189503488,"44":-4625618997962301440},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,85,24,16,44]} 
[2026-07-01 21:07:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:07:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:07:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427572736001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:07:54] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-01 21:07:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 21:07:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333977636189503488,"km_value":333977636189503.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:07:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4625618997962301440,"description":"Unknown IO ID 44"} 
[2026-07-01 21:07:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427572736001,"power":27104,"unknown_42":206,"unknown_85":37888,"ignition":39,"odometer":null,"unknown_44":-4625618997962301440}} 
[2026-07-01 21:07:54] local.INFO: DEBUG: GPS processor result {"connection_id":119408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:07:54] local.INFO: GPS data processed {"connection_id":119408,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:07:54] local.INFO: Acknowledgment sent {"connection_id":119408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:08:23] local.INFO: TCP Data received {"connection_id":119300,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 21:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119300,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 21:08:23] local.INFO: Processing buffer {"connection_id":119300,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 21:08:23] local.INFO: IMEI packet received {"connection_id":119300,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 21:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":119300,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:08:26] local.INFO: TCP Data received {"connection_id":119408,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e539d00012cbffd400767f330004f008c2b..."} 
[2026-07-01 21:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e539d00012cbffd400767f330004f008c2b..."} 
[2026-07-01 21:08:26] local.INFO: Processing buffer {"connection_id":119408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e539d00012cbffd400767f330004f008c2b..."} 
[2026-07-01 21:08:26] local.INFO: Packet analysis {"connection_id":119408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e53"} 
[2026-07-01 21:08:26] local.INFO: Extracted packet for processing {"connection_id":119408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e53"} 
[2026-07-01 21:08:26] local.INFO: GPS Element Parsed {"raw_longitude":750779712,"raw_latitude":124252976,"longitude_deg":75.0779712,"latitude_deg":12.4252976,"altitude":79,"angle":140,"satellites":43,"speed":40,"hex_longitude":"2cbffd40","hex_latitude":"0767f330","is_valid_coordinates":true} 
[2026-07-01 21:08:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:08:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427575040001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:08:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333978074276167680,"note":"Value kept but may cause issues"} 
[2026-07-01 21:08:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4618933967267149824,"note":"Value kept but may cause issues"} 
[2026-07-01 21:08:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:08:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782920224000,"timestamp_ms":1782920224000,"timestamp_seconds":1782920224,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e539d00"} 
[2026-07-01 21:08:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:08: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-01 21:08:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-07-01 21:08:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:08:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:08:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:08:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:08:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:08:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:08:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:08:26] 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-01 21:08:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:08:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:08:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427575040001,"66":27213,"42":206,"85":37888,"24":40,"16":333978074276167680,"44":-4618933967267149824},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,85,24,16,44]} 
[2026-07-01 21:08:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:08:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:08:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427575040001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:08:26] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-07-01 21:08:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37888,"description":"Unknown IO ID 85"} 
[2026-07-01 21:08:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333978074276167680,"km_value":333978074276167.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:08:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4618933967267149824,"description":"Unknown IO ID 44"} 
[2026-07-01 21:08:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427575040001,"power":27213,"unknown_42":206,"unknown_85":37888,"ignition":40,"odometer":null,"unknown_44":-4618933967267149824}} 
[2026-07-01 21:08:26] local.INFO: DEBUG: GPS processor result {"connection_id":119408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:08:26] local.INFO: GPS data processed {"connection_id":119408,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:08:26] local.INFO: Acknowledgment sent {"connection_id":119408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:08:58] local.INFO: TCP Data received {"connection_id":120084,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:08:58] local.INFO: Processing buffer {"connection_id":120084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:08:58] local.INFO: IMEI packet received {"connection_id":120084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 21:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":120084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:09:04] local.INFO: TCP Data received {"connection_id":120084,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:09:04] local.INFO: Processing buffer {"connection_id":120084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:09:04] local.INFO: IMEI packet received {"connection_id":120084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":120084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:10:03] local.INFO: TCP Data received {"connection_id":120085,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:10:03] local.INFO: Processing buffer {"connection_id":120085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:10:03] local.INFO: IMEI packet received {"connection_id":120085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 21:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":120085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:10:04] local.INFO: TCP Data received {"connection_id":120085,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:10:04] local.INFO: Processing buffer {"connection_id":120085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:10:04] local.INFO: IMEI packet received {"connection_id":120085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":120085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:10:08] local.INFO: TCP Data received {"connection_id":120085,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:10:08] local.INFO: Processing buffer {"connection_id":120085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:10:08] local.INFO: IMEI packet received {"connection_id":120085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":120085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:10:09] local.INFO: TCP Data received {"connection_id":120085,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e554ab0012cc120800766e490004c00762b..."} 
[2026-07-01 21:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e554ab0012cc120800766e490004c00762b..."} 
[2026-07-01 21:10:09] local.INFO: Processing buffer {"connection_id":120085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e554ab0012cc120800766e490004c00762b..."} 
[2026-07-01 21:10:09] local.INFO: Packet analysis {"connection_id":120085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e55"} 
[2026-07-01 21:10:09] local.INFO: Extracted packet for processing {"connection_id":120085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e55"} 
[2026-07-01 21:10:09] local.INFO: GPS Element Parsed {"raw_longitude":750854272,"raw_latitude":124183696,"longitude_deg":75.0854272,"latitude_deg":12.4183696,"altitude":76,"angle":118,"satellites":43,"speed":31,"hex_longitude":"2cc12080","hex_latitude":"0766e490","is_valid_coordinates":true} 
[2026-07-01 21: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-01 21:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427602432001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333983052143263744,"note":"Value kept but may cause issues"} 
[2026-07-01 21:10:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4539276548876466176,"note":"Value kept but may cause issues"} 
[2026-07-01 21:10:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782920334000,"timestamp_ms":1782920334000,"timestamp_seconds":1782920334,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e554ab0"} 
[2026-07-01 21: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-01 21:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-01 21:10:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21: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-01 21: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-01 21:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":120085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":120085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":120085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:10:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 21:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427602432001,"66":27332,"177":206,"85":37120,"24":31,"16":333983052143263744,"44":-4539276548876466176},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,44]} 
[2026-07-01 21:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427602432001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:10:09] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-01 21:10:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 21:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333983052143263744,"km_value":333983052143263.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:10:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4539276548876466176,"description":"Unknown IO ID 44"} 
[2026-07-01 21:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427602432001,"power":27332,"unknown_177":206,"unknown_85":37120,"ignition":31,"odometer":null,"unknown_44":-4539276548876466176}} 
[2026-07-01 21:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":120085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:10:09] local.INFO: GPS data processed {"connection_id":120085,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:10:09] local.INFO: Acknowledgment sent {"connection_id":120085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:10:13] local.INFO: TCP Data received {"connection_id":120085,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e5575a8012cc141800766d400004e00752c..."} 
[2026-07-01 21:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e5575a8012cc141800766d400004e00752c..."} 
[2026-07-01 21:10:13] local.INFO: Processing buffer {"connection_id":120085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e5575a8012cc141800766d400004e00752c..."} 
[2026-07-01 21:10:13] local.INFO: Packet analysis {"connection_id":120085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e55"} 
[2026-07-01 21:10:13] local.INFO: Extracted packet for processing {"connection_id":120085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e55"} 
[2026-07-01 21:10:13] local.INFO: GPS Element Parsed {"raw_longitude":750862720,"raw_latitude":124179456,"longitude_deg":75.086272,"latitude_deg":12.4179456,"altitude":78,"angle":117,"satellites":44,"speed":35,"hex_longitude":"2cc14180","hex_latitude":"0766d400","is_valid_coordinates":true} 
[2026-07-01 21: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-01 21:10:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427605504001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:10:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333983503114829824,"note":"Value kept but may cause issues"} 
[2026-07-01 21:10:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4530480455855337472,"note":"Value kept but may cause issues"} 
[2026-07-01 21:10:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:10:13] local.INFO: AVL Record Parsed {"raw_timestamp":1782920345000,"timestamp_ms":1782920345000,"timestamp_seconds":1782920345,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e5575a8"} 
[2026-07-01 21: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-01 21:10:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-01 21:10:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21: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-01 21: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-01 21:10:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:10:13] local.INFO: Teltonika packet parsed successfully {"connection_id":120085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:10:13] local.INFO: Passing IMEI to GPS processor {"connection_id":120085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:10:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":120085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:10: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-01 21:10:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:10:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:10:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427605504001,"66":27343,"177":206,"85":37120,"24":35,"16":333983503114829824,"44":-4530480455855337472},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,44]} 
[2026-07-01 21:10:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:10:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:10:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427605504001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:10:13] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-01 21:10:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 21:10:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333983503114829824,"km_value":333983503114829.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:10:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4530480455855337472,"description":"Unknown IO ID 44"} 
[2026-07-01 21:10:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427605504001,"power":27343,"unknown_177":206,"unknown_85":37120,"ignition":35,"odometer":null,"unknown_44":-4530480455855337472}} 
[2026-07-01 21:10:13] local.INFO: DEBUG: GPS processor result {"connection_id":120085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:10:13] local.INFO: GPS data processed {"connection_id":120085,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:10:13] local.INFO: Acknowledgment sent {"connection_id":120085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:10:48] local.INFO: TCP Data received {"connection_id":120086,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:10:48] local.INFO: Processing buffer {"connection_id":120086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:10:48] local.INFO: IMEI packet received {"connection_id":120086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 21:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":120086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:10:50] local.INFO: TCP Data received {"connection_id":120086,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:10:50] local.INFO: Processing buffer {"connection_id":120086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:10:50] local.INFO: IMEI packet received {"connection_id":120086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":120086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:10:51] local.INFO: TCP Data received {"connection_id":120086,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e559cb8012cc161c00766c350005000752b..."} 
[2026-07-01 21:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e559cb8012cc161c00766c350005000752b..."} 
[2026-07-01 21:10:51] local.INFO: Processing buffer {"connection_id":120086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e559cb8012cc161c00766c350005000752b..."} 
[2026-07-01 21:10:51] local.INFO: Packet analysis {"connection_id":120086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e55"} 
[2026-07-01 21:10:51] local.INFO: Extracted packet for processing {"connection_id":120086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e55"} 
[2026-07-01 21:10:51] local.INFO: GPS Element Parsed {"raw_longitude":750870976,"raw_latitude":124175184,"longitude_deg":75.0870976,"latitude_deg":12.4175184,"altitude":80,"angle":117,"satellites":43,"speed":37,"hex_longitude":"2cc161c0","hex_latitude":"0766c350","is_valid_coordinates":true} 
[2026-07-01 21: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-01 21:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427608320001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:10:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333983945496461312,"note":"Value kept but may cause issues"} 
[2026-07-01 21:10:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4521191781624971264,"note":"Value kept but may cause issues"} 
[2026-07-01 21:10:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:10:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782920355000,"timestamp_ms":1782920355000,"timestamp_seconds":1782920355,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e559cb8"} 
[2026-07-01 21: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-01 21:10:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-01 21:10:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21: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-01 21: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-01 21:10:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:10:51] local.INFO: Teltonika packet parsed successfully {"connection_id":120086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:10:51] local.INFO: Passing IMEI to GPS processor {"connection_id":120086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:10:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":120086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:10: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-01 21:10:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:10:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:10:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427608320001,"66":27245,"177":206,"85":37120,"24":37,"16":333983945496461312,"44":-4521191781624971264},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,44]} 
[2026-07-01 21:10:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:10:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:10:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427608320001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:10:51] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-01 21:10:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 21:10:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333983945496461312,"km_value":333983945496461.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:10:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4521191781624971264,"description":"Unknown IO ID 44"} 
[2026-07-01 21:10:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427608320001,"power":27245,"unknown_177":206,"unknown_85":37120,"ignition":37,"odometer":null,"unknown_44":-4521191781624971264}} 
[2026-07-01 21:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":120086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:10:51] local.INFO: GPS data processed {"connection_id":120086,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:10:51] local.INFO: Acknowledgment sent {"connection_id":120086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:11:27] local.INFO: TCP Data received {"connection_id":120086,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e55c3c8012cc182c00766b208005100772d..."} 
[2026-07-01 21:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e55c3c8012cc182c00766b208005100772d..."} 
[2026-07-01 21:11:27] local.INFO: Processing buffer {"connection_id":120086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e55c3c8012cc182c00766b208005100772d..."} 
[2026-07-01 21:11:27] local.INFO: Packet analysis {"connection_id":120086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e55"} 
[2026-07-01 21:11:27] local.INFO: Extracted packet for processing {"connection_id":120086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e55"} 
[2026-07-01 21:11:27] local.INFO: GPS Element Parsed {"raw_longitude":750879424,"raw_latitude":124170760,"longitude_deg":75.0879424,"latitude_deg":12.417076,"altitude":81,"angle":119,"satellites":45,"speed":37,"hex_longitude":"2cc182c0","hex_latitude":"0766b208","is_valid_coordinates":true} 
[2026-07-01 21:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427610880001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333984400762994688,"note":"Value kept but may cause issues"} 
[2026-07-01 21:11:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4512114213627146240,"note":"Value kept but may cause issues"} 
[2026-07-01 21:11:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782920365000,"timestamp_ms":1782920365000,"timestamp_seconds":1782920365,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e55c3c8"} 
[2026-07-01 21:11:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:11:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-01 21:11:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:11:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:11:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:11:27] 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-01 21:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427610880001,"66":27071,"177":206,"85":37120,"24":37,"16":333984400762994688,"44":-4512114213627146240},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,44]} 
[2026-07-01 21:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427610880001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:11:27] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-01 21:11:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 21:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333984400762994688,"km_value":333984400762994.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:11:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4512114213627146240,"description":"Unknown IO ID 44"} 
[2026-07-01 21:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427610880001,"power":27071,"unknown_177":206,"unknown_85":37120,"ignition":37,"odometer":null,"unknown_44":-4512114213627146240}} 
[2026-07-01 21:11:27] local.INFO: DEBUG: GPS processor result {"connection_id":120086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:11:27] local.INFO: GPS data processed {"connection_id":120086,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:11:27] local.INFO: Acknowledgment sent {"connection_id":120086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:11:46] local.INFO: TCP Data received {"connection_id":119412,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:11:46] local.INFO: Processing buffer {"connection_id":119412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:11:46] local.INFO: IMEI packet received {"connection_id":119412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 21:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":119412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:11:49] local.INFO: TCP Data received {"connection_id":119412,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:11:49] local.INFO: Processing buffer {"connection_id":119412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:11:49] local.INFO: IMEI packet received {"connection_id":119412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":119412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:11:54] local.INFO: TCP Data received {"connection_id":119412,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:11:54] local.INFO: Processing buffer {"connection_id":119412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:11:54] local.INFO: IMEI packet received {"connection_id":119412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":119412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:11:59] local.INFO: TCP Data received {"connection_id":119412,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e55ead8012cc1a1c00766a080005300782c..."} 
[2026-07-01 21:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e55ead8012cc1a1c00766a080005300782c..."} 
[2026-07-01 21:11:59] local.INFO: Processing buffer {"connection_id":119412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e55ead8012cc1a1c00766a080005300782c..."} 
[2026-07-01 21:11:59] local.INFO: Packet analysis {"connection_id":119412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e55"} 
[2026-07-01 21:11:59] local.INFO: Extracted packet for processing {"connection_id":119412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e55"} 
[2026-07-01 21:11:59] local.INFO: GPS Element Parsed {"raw_longitude":750887360,"raw_latitude":124166272,"longitude_deg":75.088736,"latitude_deg":12.4166272,"altitude":83,"angle":120,"satellites":44,"speed":35,"hex_longitude":"2cc1a1c0","hex_latitude":"0766a080","is_valid_coordinates":true} 
[2026-07-01 21:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427613440001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333984834554691584,"note":"Value kept but may cause issues"} 
[2026-07-01 21:11:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4502825539396827136,"note":"Value kept but may cause issues"} 
[2026-07-01 21:11:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782920375000,"timestamp_ms":1782920375000,"timestamp_seconds":1782920375,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e55ead8"} 
[2026-07-01 21: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-01 21:11:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21: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":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-07-01 21:11:59] 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-01 21: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-01 21: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-01 21:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:11:59] 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-01 21:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427613440001,"66":27332,"211":206,"85":37120,"24":35,"16":333984834554691584,"44":-4502825539396827136},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,85,24,16,44]} 
[2026-07-01 21:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427613440001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:11:59] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-07-01 21:11:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 21:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333984834554691584,"km_value":333984834554691.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:11:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4502825539396827136,"description":"Unknown IO ID 44"} 
[2026-07-01 21:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427613440001,"power":27332,"unknown_211":206,"unknown_85":37120,"ignition":35,"odometer":null,"unknown_44":-4502825539396827136}} 
[2026-07-01 21:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":119412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:11:59] local.INFO: GPS data processed {"connection_id":119412,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:11:59] local.INFO: Acknowledgment sent {"connection_id":119412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:12:03] local.INFO: TCP Data received {"connection_id":119412,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e5611e8012cc1c00007668d50005300802b..."} 
[2026-07-01 21:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e5611e8012cc1c00007668d50005300802b..."} 
[2026-07-01 21:12:03] local.INFO: Processing buffer {"connection_id":119412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e5611e8012cc1c00007668d50005300802b..."} 
[2026-07-01 21:12:03] local.INFO: Packet analysis {"connection_id":119412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e56"} 
[2026-07-01 21:12:03] local.INFO: Extracted packet for processing {"connection_id":119412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e56"} 
[2026-07-01 21:12:03] local.INFO: GPS Element Parsed {"raw_longitude":750895104,"raw_latitude":124161360,"longitude_deg":75.0895104,"latitude_deg":12.416136,"altitude":83,"angle":128,"satellites":43,"speed":36,"hex_longitude":"2cc1c000","hex_latitude":"07668d50","is_valid_coordinates":true} 
[2026-07-01 21:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427616000001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333985268346388480,"note":"Value kept but may cause issues"} 
[2026-07-01 21:12:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4494099815119945728,"note":"Value kept but may cause issues"} 
[2026-07-01 21:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782920385000,"timestamp_ms":1782920385000,"timestamp_seconds":1782920385,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e5611e8"} 
[2026-07-01 21:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-01 21:12:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:12:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":119412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":119412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":119412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:12: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-01 21:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427616000001,"66":27517,"211":206,"85":37120,"24":36,"16":333985268346388480,"44":-4494099815119945728},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,85,24,16,44]} 
[2026-07-01 21:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427616000001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:12:03] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-07-01 21:12:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 21:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333985268346388480,"km_value":333985268346388.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:12:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4494099815119945728,"description":"Unknown IO ID 44"} 
[2026-07-01 21:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427616000001,"power":27517,"unknown_211":206,"unknown_85":37120,"ignition":36,"odometer":null,"unknown_44":-4494099815119945728}} 
[2026-07-01 21:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":119412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:12:03] local.INFO: GPS data processed {"connection_id":119412,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:12:03] local.INFO: Acknowledgment sent {"connection_id":119412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:12:45] local.INFO: TCP Data received {"connection_id":120087,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:12:45] local.INFO: Processing buffer {"connection_id":120087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:12:45] local.INFO: IMEI packet received {"connection_id":120087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 21:12:45] local.INFO: IMEI acknowledgment sent {"connection_id":120087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:12:48] local.INFO: TCP Data received {"connection_id":120087,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:12:48] local.INFO: Processing buffer {"connection_id":120087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:12:48] local.INFO: IMEI packet received {"connection_id":120087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":120087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:12:54] local.INFO: TCP Data received {"connection_id":120087,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:12:54] local.INFO: Processing buffer {"connection_id":120087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:12:54] local.INFO: IMEI packet received {"connection_id":120087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":120087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:12:55] local.INFO: TCP Data received {"connection_id":120087,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e57d708012cc2c80007652e48005200942c..."} 
[2026-07-01 21:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e57d708012cc2c80007652e48005200942c..."} 
[2026-07-01 21:12:55] local.INFO: Processing buffer {"connection_id":120087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e57d708012cc2c80007652e48005200942c..."} 
[2026-07-01 21:12:55] local.INFO: Packet analysis {"connection_id":120087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e57"} 
[2026-07-01 21:12:55] local.INFO: Extracted packet for processing {"connection_id":120087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e57"} 
[2026-07-01 21:12:55] local.INFO: GPS Element Parsed {"raw_longitude":750962688,"raw_latitude":124071496,"longitude_deg":75.0962688,"latitude_deg":12.4071496,"altitude":82,"angle":148,"satellites":44,"speed":40,"hex_longitude":"2cc2c800","hex_latitude":"07652e48","is_valid_coordinates":true} 
[2026-07-01 21:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427645696001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333990735839756288,"note":"Value kept but may cause issues"} 
[2026-07-01 21:12:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4417679358965319680,"note":"Value kept but may cause issues"} 
[2026-07-01 21:12:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782920501000,"timestamp_ms":1782920501000,"timestamp_seconds":1782920501,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e57d708"} 
[2026-07-01 21:12:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:12:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-01 21:12:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":826,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:12:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:12:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":120087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":120087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":120087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:12:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 21:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427645696001,"66":27365,"158":206,"85":37120,"24":40,"16":333990735839756288,"44":-4417679358965319680},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,85,24,16,44]} 
[2026-07-01 21:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427645696001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:12:55] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-01 21:12:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 21:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333990735839756288,"km_value":333990735839756.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:12:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4417679358965319680,"description":"Unknown IO ID 44"} 
[2026-07-01 21:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427645696001,"power":27365,"unknown_158":206,"unknown_85":37120,"ignition":40,"odometer":null,"unknown_44":-4417679358965319680}} 
[2026-07-01 21:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":120087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:12:55] local.INFO: GPS data processed {"connection_id":120087,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:12:55] local.INFO: Acknowledgment sent {"connection_id":120087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:13:26] local.INFO: TCP Data received {"connection_id":120087,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e57ee78012cc2d280076518300050009f2d..."} 
[2026-07-01 21:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e57ee78012cc2d280076518300050009f2d..."} 
[2026-07-01 21:13:26] local.INFO: Processing buffer {"connection_id":120087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e57ee78012cc2d280076518300050009f2d..."} 
[2026-07-01 21:13:26] local.INFO: Packet analysis {"connection_id":120087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e57"} 
[2026-07-01 21:13:26] local.INFO: Extracted packet for processing {"connection_id":120087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e57"} 
[2026-07-01 21:13:26] local.INFO: GPS Element Parsed {"raw_longitude":750965376,"raw_latitude":124065840,"longitude_deg":75.0965376,"latitude_deg":12.406584,"altitude":80,"angle":159,"satellites":45,"speed":42,"hex_longitude":"2cc2d280","hex_latitude":"07651830","is_valid_coordinates":true} 
[2026-07-01 21:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:13:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427648256001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:13:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333991036487467008,"note":"Value kept but may cause issues"} 
[2026-07-01 21:13:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4411275803247097856,"note":"Value kept but may cause issues"} 
[2026-07-01 21:13:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:13:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782920507000,"timestamp_ms":1782920507000,"timestamp_seconds":1782920507,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e57ee78"} 
[2026-07-01 21:13:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:13: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-01 21:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 21:13:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:13:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:13:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:13:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:13:26] local.INFO: Teltonika packet parsed successfully {"connection_id":120087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:13:26] local.INFO: Passing IMEI to GPS processor {"connection_id":120087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:13:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":120087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:13:26] 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-01 21:13:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:13:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:13:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427648256001,"66":27321,"158":206,"85":37120,"24":42,"16":333991036487467008,"44":-4411275803247097856},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,85,24,16,44]} 
[2026-07-01 21:13:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:13:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:13:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427648256001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:13:26] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-01 21:13:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 21:13:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333991036487467008,"km_value":333991036487467.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:13:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4411275803247097856,"description":"Unknown IO ID 44"} 
[2026-07-01 21:13:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427648256001,"power":27321,"unknown_158":206,"unknown_85":37120,"ignition":42,"odometer":null,"unknown_44":-4411275803247097856}} 
[2026-07-01 21:13:26] local.INFO: DEBUG: GPS processor result {"connection_id":120087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:13:26] local.INFO: GPS data processed {"connection_id":120087,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:13:26] local.INFO: Acknowledgment sent {"connection_id":120087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:13:40] local.INFO: TCP Data received {"connection_id":120088,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 21:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120088,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 21:13:40] local.INFO: Processing buffer {"connection_id":120088,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 21:13:40] local.INFO: IMEI packet received {"connection_id":120088,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 21:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":120088,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:13:48] local.INFO: TCP Data received {"connection_id":119302,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:13:48] local.INFO: Processing buffer {"connection_id":119302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:13:48] local.INFO: IMEI packet received {"connection_id":119302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 21:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":119302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:13:50] local.INFO: TCP Data received {"connection_id":119302,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:13:50] local.INFO: Processing buffer {"connection_id":119302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:13:50] local.INFO: IMEI packet received {"connection_id":119302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":119302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:13:53] local.INFO: TCP Data received {"connection_id":119302,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:13:53] local.INFO: Processing buffer {"connection_id":119302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:13:53] local.INFO: IMEI packet received {"connection_id":119302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":119302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:13:55] local.INFO: TCP Data received {"connection_id":119302,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e58e0a8012cc2f6c007640758005000be2c..."} 
[2026-07-01 21:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e58e0a8012cc2f6c007640758005000be2c..."} 
[2026-07-01 21:13:55] local.INFO: Processing buffer {"connection_id":119302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e58e0a8012cc2f6c007640758005000be2c..."} 
[2026-07-01 21:13:55] local.INFO: Packet analysis {"connection_id":119302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e58"} 
[2026-07-01 21:13:55] local.INFO: Extracted packet for processing {"connection_id":119302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e58"} 
[2026-07-01 21:13:55] local.INFO: GPS Element Parsed {"raw_longitude":750974656,"raw_latitude":123995992,"longitude_deg":75.0974656,"latitude_deg":12.3995992,"altitude":80,"angle":190,"satellites":44,"speed":52,"hex_longitude":"2cc2f6c0","hex_latitude":"07640758","is_valid_coordinates":true} 
[2026-07-01 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-01 21:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427665664001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333994493936140288,"note":"Value kept but may cause issues"} 
[2026-07-01 21:13:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4398116848105203712,"note":"Value kept but may cause issues"} 
[2026-07-01 21:13:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782920569000,"timestamp_ms":1782920569000,"timestamp_seconds":1782920569,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e58e0a8"} 
[2026-07-01 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-01 21:13:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 21:13:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 21:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":119302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":119302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":119302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:13:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 21:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427665664001,"66":27365,"158":206,"85":37120,"24":52,"16":333994493936140288,"44":-4398116848105203712},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,85,24,16,44]} 
[2026-07-01 21:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427665664001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:13:55] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-01 21:13:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 21:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333994493936140288,"km_value":333994493936140.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:13:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4398116848105203712,"description":"Unknown IO ID 44"} 
[2026-07-01 21:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427665664001,"power":27365,"unknown_158":206,"unknown_85":37120,"ignition":52,"odometer":null,"unknown_44":-4398116848105203712}} 
[2026-07-01 21:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":119302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:13:55] local.INFO: GPS data processed {"connection_id":119302,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:13:55] local.INFO: Acknowledgment sent {"connection_id":119302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:13:59] local.INFO: TCP Data received {"connection_id":119302,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e58fc00012cc2ed800763e470004f00c52c..."} 
[2026-07-01 21:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e58fc00012cc2ed800763e470004f00c52c..."} 
[2026-07-01 21:13:59] local.INFO: Processing buffer {"connection_id":119302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e58fc00012cc2ed800763e470004f00c52c..."} 
[2026-07-01 21:13:59] local.INFO: Packet analysis {"connection_id":119302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e58"} 
[2026-07-01 21:13:59] local.INFO: Extracted packet for processing {"connection_id":119302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e58"} 
[2026-07-01 21:13:59] local.INFO: GPS Element Parsed {"raw_longitude":750972288,"raw_latitude":123987056,"longitude_deg":75.0972288,"latitude_deg":12.3987056,"altitude":79,"angle":197,"satellites":44,"speed":51,"hex_longitude":"2cc2ed80","hex_latitude":"0763e470","is_valid_coordinates":true} 
[2026-07-01 21:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427665664001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333994940612739072,"note":"Value kept but may cause issues"} 
[2026-07-01 21:13:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4398116848105203712,"note":"Value kept but may cause issues"} 
[2026-07-01 21:13:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782920576000,"timestamp_ms":1782920576000,"timestamp_seconds":1782920576,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e58fc00"} 
[2026-07-01 21:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:13:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 21:13:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:13:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:13:59] 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-01 21:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427665664001,"66":27234,"158":206,"85":37120,"24":51,"16":333994940612739072,"44":-4398116848105203712},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,85,24,16,44]} 
[2026-07-01 21:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427665664001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:13:59] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-01 21:13:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 21:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333994940612739072,"km_value":333994940612739.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:13:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4398116848105203712,"description":"Unknown IO ID 44"} 
[2026-07-01 21:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427665664001,"power":27234,"unknown_158":206,"unknown_85":37120,"ignition":51,"odometer":null,"unknown_44":-4398116848105203712}} 
[2026-07-01 21:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":119302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:13:59] local.INFO: GPS data processed {"connection_id":119302,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:13:59] local.INFO: Acknowledgment sent {"connection_id":119302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:14:18] local.INFO: TCP Data received {"connection_id":121153,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 21:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121153,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 21:14:18] local.INFO: Processing buffer {"connection_id":121153,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 21:14:18] local.INFO: IMEI packet received {"connection_id":121153,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 21:14:18] local.INFO: IMEI acknowledgment sent {"connection_id":121153,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:14:31] local.INFO: TCP Data received {"connection_id":119302,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e591b40012cc2e1400763bfe0004f00c32c..."} 
[2026-07-01 21:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e591b40012cc2e1400763bfe0004f00c32c..."} 
[2026-07-01 21:14:31] local.INFO: Processing buffer {"connection_id":119302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e591b40012cc2e1400763bfe0004f00c32c..."} 
[2026-07-01 21:14:31] local.INFO: Packet analysis {"connection_id":119302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e59"} 
[2026-07-01 21:14:31] local.INFO: Extracted packet for processing {"connection_id":119302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e59"} 
[2026-07-01 21:14:31] local.INFO: GPS Element Parsed {"raw_longitude":750969152,"raw_latitude":123977696,"longitude_deg":75.0969152,"latitude_deg":12.3977696,"altitude":79,"angle":195,"satellites":44,"speed":46,"hex_longitude":"2cc2e140","hex_latitude":"0763bfe0","is_valid_coordinates":true} 
[2026-07-01 21:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427667456001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333995417354108928,"note":"Value kept but may cause issues"} 
[2026-07-01 21:14:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4400720491642064896,"note":"Value kept but may cause issues"} 
[2026-07-01 21:14:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782920584000,"timestamp_ms":1782920584000,"timestamp_seconds":1782920584,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e591b40"} 
[2026-07-01 21:14:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:14:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-01 21:14:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:14:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:14:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:14:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 21:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427667456001,"66":27310,"158":206,"85":37120,"24":46,"16":333995417354108928,"44":-4400720491642064896},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,85,24,16,44]} 
[2026-07-01 21:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427667456001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:14:31] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-07-01 21:14:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 21:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333995417354108928,"km_value":333995417354108.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:14:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4400720491642064896,"description":"Unknown IO ID 44"} 
[2026-07-01 21:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427667456001,"power":27310,"unknown_158":206,"unknown_85":37120,"ignition":46,"odometer":null,"unknown_44":-4400720491642064896}} 
[2026-07-01 21:14:31] local.INFO: DEBUG: GPS processor result {"connection_id":119302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:14:31] local.INFO: GPS data processed {"connection_id":119302,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:14:31] local.INFO: Acknowledgment sent {"connection_id":119302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:14:49] local.INFO: TCP Data received {"connection_id":121154,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:14:49] local.INFO: Processing buffer {"connection_id":121154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:14:49] local.INFO: IMEI packet received {"connection_id":121154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 21:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":121154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:14:55] local.INFO: TCP Data received {"connection_id":121154,"ip":"42.106.6.21","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 21:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121154,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 21:14:55] local.INFO: Processing buffer {"connection_id":121154,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 21:14:55] local.INFO: IMEI packet received {"connection_id":121154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":121154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:14:56] local.INFO: TCP Data received {"connection_id":121154,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e593e68012cc2d98007639a80005000bb2c..."} 
[2026-07-01 21:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e593e68012cc2d98007639a80005000bb2c..."} 
[2026-07-01 21:14:56] local.INFO: Processing buffer {"connection_id":121154,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f1e..."} 
[2026-07-01 21:14:56] local.INFO: IMEI packet received {"connection_id":121154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":121154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:14:57] local.INFO: TCP Data received {"connection_id":121154,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e596190012cc2d8c0076378a0005200af2d..."} 
[2026-07-01 21:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e596190012cc2d8c0076378a0005200af2d..."} 
[2026-07-01 21:14:57] local.INFO: Processing buffer {"connection_id":121154,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f1e593e68012cc2d98007639a80005000bb2c..."} 
[2026-07-01 21:14:57] local.INFO: Packet analysis {"connection_id":121154,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f1e59"} 
[2026-07-01 21:14:57] local.INFO: Extracted packet for processing {"connection_id":121154,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e59"} 
[2026-07-01 21:14:57] local.INFO: GPS Element Parsed {"raw_longitude":750967168,"raw_latitude":123968128,"longitude_deg":75.0967168,"latitude_deg":12.3968128,"altitude":80,"angle":187,"satellites":44,"speed":39,"hex_longitude":"2cc2d980","hex_latitude":"07639a80","is_valid_coordinates":true} 
[2026-07-01 21:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:14:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427669504001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:14:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333995894095478784,"note":"Value kept but may cause issues"} 
[2026-07-01 21:14:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4404168560109166592,"note":"Value kept but may cause issues"} 
[2026-07-01 21:14:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:14:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782920593000,"timestamp_ms":1782920593000,"timestamp_seconds":1782920593,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e593e68"} 
[2026-07-01 21:14:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:14:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-01 21:14:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:14:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:14:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:14:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:14:57] local.INFO: Teltonika packet parsed successfully {"connection_id":121154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:14:57] local.INFO: Passing IMEI to GPS processor {"connection_id":121154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:14:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":121154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:14:57] 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-01 21:14:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:14:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:14:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427669504001,"66":27343,"3":206,"85":37120,"24":39,"16":333995894095478784,"44":-4404168560109166592},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,85,24,16,44]} 
[2026-07-01 21:14:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:14:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:14:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427669504001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:14:57] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-07-01 21:14:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 21:14:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333995894095478784,"km_value":333995894095478.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:14:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4404168560109166592,"description":"Unknown IO ID 44"} 
[2026-07-01 21:14:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427669504001,"power":27343,"unknown_3":206,"unknown_85":37120,"ignition":39,"odometer":null,"unknown_44":-4404168560109166592}} 
[2026-07-01 21:14:57] local.INFO: DEBUG: GPS processor result {"connection_id":121154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:14:57] local.INFO: GPS data processed {"connection_id":121154,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:14:57] local.INFO: Acknowledgment sent {"connection_id":121154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:14:57] local.INFO: Packet analysis {"connection_id":121154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e59"} 
[2026-07-01 21:14:57] local.INFO: Extracted packet for processing {"connection_id":121154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e59"} 
[2026-07-01 21:14:57] local.INFO: GPS Element Parsed {"raw_longitude":750966976,"raw_latitude":123959456,"longitude_deg":75.0966976,"latitude_deg":12.3959456,"altitude":82,"angle":175,"satellites":45,"speed":38,"hex_longitude":"2cc2d8c0","hex_latitude":"076378a0","is_valid_coordinates":true} 
[2026-07-01 21:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:14:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427671808001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:14:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333996315002273792,"note":"Value kept but may cause issues"} 
[2026-07-01 21:14:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4406349991181123584,"note":"Value kept but may cause issues"} 
[2026-07-01 21:14:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:14:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782920602000,"timestamp_ms":1782920602000,"timestamp_seconds":1782920602,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e596190"} 
[2026-07-01 21:14:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:14:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-01 21:14:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:14:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:14:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:14:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:14:57] local.INFO: Teltonika packet parsed successfully {"connection_id":121154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:14:57] local.INFO: Passing IMEI to GPS processor {"connection_id":121154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:14:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":121154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:14:57] 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-01 21:14:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:14:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:14:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427671808001,"66":27332,"178":206,"85":37120,"24":38,"16":333996315002273792,"44":-4406349991181123584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,85,24,16,44]} 
[2026-07-01 21:14:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:14:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:14:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427671808001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:14:57] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-07-01 21:14:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 21:14:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333996315002273792,"km_value":333996315002273.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:14:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4406349991181123584,"description":"Unknown IO ID 44"} 
[2026-07-01 21:14:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427671808001,"power":27332,"unknown_178":206,"unknown_85":37120,"ignition":38,"odometer":null,"unknown_44":-4406349991181123584}} 
[2026-07-01 21:14:57] local.INFO: DEBUG: GPS processor result {"connection_id":121154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:14:57] local.INFO: GPS data processed {"connection_id":121154,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:14:57] local.INFO: Acknowledgment sent {"connection_id":121154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:14:57] local.INFO: TCP Data received {"connection_id":121154,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e5988a0012cc2dc0007635328005300ad2d..."} 
[2026-07-01 21:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e5988a0012cc2dc0007635328005300ad2d..."} 
[2026-07-01 21:14:57] local.INFO: Processing buffer {"connection_id":121154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e5988a0012cc2dc0007635328005300ad2d..."} 
[2026-07-01 21:14:57] local.INFO: Packet analysis {"connection_id":121154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e59"} 
[2026-07-01 21:14:57] local.INFO: Extracted packet for processing {"connection_id":121154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e59"} 
[2026-07-01 21:14:57] local.INFO: GPS Element Parsed {"raw_longitude":750967808,"raw_latitude":123949864,"longitude_deg":75.0967808,"latitude_deg":12.3949864,"altitude":83,"angle":173,"satellites":45,"speed":38,"hex_longitude":"2cc2dc00","hex_latitude":"07635328","is_valid_coordinates":true} 
[2026-07-01 21:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:14:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427674112001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:14:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":333996783153709056,"note":"Value kept but may cause issues"} 
[2026-07-01 21:14:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4406561097415876608,"note":"Value kept but may cause issues"} 
[2026-07-01 21:14:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:14:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782920612000,"timestamp_ms":1782920612000,"timestamp_seconds":1782920612,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e5988a0"} 
[2026-07-01 21:14:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:14:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-01 21:14:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:14:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:14:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:14:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:14:57] local.INFO: Teltonika packet parsed successfully {"connection_id":121154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:14:57] local.INFO: Passing IMEI to GPS processor {"connection_id":121154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:14:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":121154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:14:57] 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-01 21:14:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:14:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:14:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427674112001,"66":27397,"178":206,"85":37120,"24":38,"16":333996783153709056,"44":-4406561097415876608},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,85,24,16,44]} 
[2026-07-01 21:14:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:14:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:14:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427674112001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:14:57] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-07-01 21:14:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 21:14:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":333996783153709056,"km_value":333996783153709.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:14:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4406561097415876608,"description":"Unknown IO ID 44"} 
[2026-07-01 21:14:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427674112001,"power":27397,"unknown_178":206,"unknown_85":37120,"ignition":38,"odometer":null,"unknown_44":-4406561097415876608}} 
[2026-07-01 21:14:57] local.INFO: DEBUG: GPS processor result {"connection_id":121154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:14:57] local.INFO: GPS data processed {"connection_id":121154,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:14:57] local.INFO: Acknowledgment sent {"connection_id":121154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:15:28] local.INFO: TCP Data received {"connection_id":121154,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e5a9628012cc3a4c007627b60004700aa2b..."} 
[2026-07-01 21:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e5a9628012cc3a4c007627b60004700aa2b..."} 
[2026-07-01 21:15:28] local.INFO: Processing buffer {"connection_id":121154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e5a9628012cc3a4c007627b60004700aa2b..."} 
[2026-07-01 21:15:28] local.INFO: Packet analysis {"connection_id":121154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e5a"} 
[2026-07-01 21:15:28] local.INFO: Extracted packet for processing {"connection_id":121154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e5a"} 
[2026-07-01 21:15:28] local.INFO: GPS Element Parsed {"raw_longitude":751019200,"raw_latitude":123894624,"longitude_deg":75.10192,"latitude_deg":12.3894624,"altitude":71,"angle":170,"satellites":43,"speed":48,"hex_longitude":"2cc3a4c0","hex_latitude":"07627b60","is_valid_coordinates":true} 
[2026-07-01 21:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:15:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427692544001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:15:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334000846192771072,"note":"Value kept but may cause issues"} 
[2026-07-01 21:15:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4352095689436764160,"note":"Value kept but may cause issues"} 
[2026-07-01 21:15:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:15:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782920681000,"timestamp_ms":1782920681000,"timestamp_seconds":1782920681,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e5a9628"} 
[2026-07-01 21:15:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:15: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-01 21:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-01 21:15:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:15:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:15:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:15:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:15:28] local.INFO: Teltonika packet parsed successfully {"connection_id":121154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:15:28] local.INFO: Passing IMEI to GPS processor {"connection_id":121154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:15:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":121154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:15:28] 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-01 21:15:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:15:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:15:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427692544001,"66":27365,"178":206,"85":37120,"24":48,"16":334000846192771072,"44":-4352095689436764160},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,85,24,16,44]} 
[2026-07-01 21:15:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:15:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:15:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427692544001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:15:28] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-07-01 21:15:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 21:15:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334000846192771072,"km_value":334000846192771.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:15:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4352095689436764160,"description":"Unknown IO ID 44"} 
[2026-07-01 21:15:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427692544001,"power":27365,"unknown_178":206,"unknown_85":37120,"ignition":48,"odometer":null,"unknown_44":-4352095689436764160}} 
[2026-07-01 21:15:28] local.INFO: DEBUG: GPS processor result {"connection_id":121154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:15:28] local.INFO: GPS data processed {"connection_id":121154,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:15:28] local.INFO: Acknowledgment sent {"connection_id":121154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:15:49] local.INFO: TCP Data received {"connection_id":120089,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:15:49] local.INFO: Processing buffer {"connection_id":120089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:15:49] local.INFO: IMEI packet received {"connection_id":120089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 21:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":120089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:15:51] local.INFO: TCP Data received {"connection_id":120089,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:15:51] local.INFO: Processing buffer {"connection_id":120089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:15:51] local.INFO: IMEI packet received {"connection_id":120089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":120089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:15:55] local.INFO: TCP Data received {"connection_id":120089,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:15:55] local.INFO: Processing buffer {"connection_id":120089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:15:55] local.INFO: IMEI packet received {"connection_id":120089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":120089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:15:56] local.INFO: TCP Data received {"connection_id":120089,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e5a9628012cc3a4c007627b60004700aa2b..."} 
[2026-07-01 21:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e5a9628012cc3a4c007627b60004700aa2b..."} 
[2026-07-01 21:15:56] local.INFO: Processing buffer {"connection_id":120089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e5a9628012cc3a4c007627b60004700aa2b..."} 
[2026-07-01 21:15:56] local.INFO: Packet analysis {"connection_id":120089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e5a"} 
[2026-07-01 21:15:56] local.INFO: Extracted packet for processing {"connection_id":120089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e5a"} 
[2026-07-01 21:15:56] local.INFO: GPS Element Parsed {"raw_longitude":751019200,"raw_latitude":123894624,"longitude_deg":75.10192,"latitude_deg":12.3894624,"altitude":71,"angle":170,"satellites":43,"speed":48,"hex_longitude":"2cc3a4c0","hex_latitude":"07627b60","is_valid_coordinates":true} 
[2026-07-01 21:15:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427694336001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334000846192771072,"note":"Value kept but may cause issues"} 
[2026-07-01 21:15:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4349140202183499776,"note":"Value kept but may cause issues"} 
[2026-07-01 21:15:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:15:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782920681000,"timestamp_ms":1782920681000,"timestamp_seconds":1782920681,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e5a9628"} 
[2026-07-01 21:15:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:15:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21:15:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 21:15:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:15:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:15:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":120089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":120089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":120089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:15:56] 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-01 21:15:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:15:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:15:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427694336001,"66":27365,"178":206,"85":37120,"24":48,"16":334000846192771072,"44":-4349140202183499776},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,85,24,16,44]} 
[2026-07-01 21:15:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:15:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:15:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427694336001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:15:56] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-07-01 21:15:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 21:15:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334000846192771072,"km_value":334000846192771.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:15:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4349140202183499776,"description":"Unknown IO ID 44"} 
[2026-07-01 21:15:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427694336001,"power":27365,"unknown_178":206,"unknown_85":37120,"ignition":48,"odometer":null,"unknown_44":-4349140202183499776}} 
[2026-07-01 21:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":120089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:15:56] local.INFO: GPS data processed {"connection_id":120089,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:15:56] local.INFO: Acknowledgment sent {"connection_id":120089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:16:27] local.INFO: TCP Data received {"connection_id":120089,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e5aa5c8012cc3a5c007626960004700b72b..."} 
[2026-07-01 21:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e5aa5c8012cc3a5c007626960004700b72b..."} 
[2026-07-01 21:16:27] local.INFO: Processing buffer {"connection_id":120089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e5aa5c8012cc3a5c007626960004700b72b..."} 
[2026-07-01 21:16:27] local.INFO: Packet analysis {"connection_id":120089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e5a"} 
[2026-07-01 21:16:27] local.INFO: Extracted packet for processing {"connection_id":120089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e5a"} 
[2026-07-01 21:16:27] local.INFO: GPS Element Parsed {"raw_longitude":751019456,"raw_latitude":123890016,"longitude_deg":75.1019456,"latitude_deg":12.3890016,"altitude":71,"angle":183,"satellites":43,"speed":44,"hex_longitude":"2cc3a5c0","hex_latitude":"07626960","is_valid_coordinates":true} 
[2026-07-01 21:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427694336001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334001069531070464,"note":"Value kept but may cause issues"} 
[2026-07-01 21:16:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4349140202183499776,"note":"Value kept but may cause issues"} 
[2026-07-01 21:16:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782920685000,"timestamp_ms":1782920685000,"timestamp_seconds":1782920685,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e5aa5c8"} 
[2026-07-01 21:16:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:16:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 21:16:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:16:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:16:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:16:27] 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-01 21:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427694336001,"66":27321,"178":206,"85":37120,"24":44,"16":334001069531070464,"44":-4349140202183499776},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,85,24,16,44]} 
[2026-07-01 21:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427694336001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:16:27] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-07-01 21:16:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 21:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334001069531070464,"km_value":334001069531070.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:16:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4349140202183499776,"description":"Unknown IO ID 44"} 
[2026-07-01 21:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427694336001,"power":27321,"unknown_178":206,"unknown_85":37120,"ignition":44,"odometer":null,"unknown_44":-4349140202183499776}} 
[2026-07-01 21:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":120089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:16:27] local.INFO: GPS data processed {"connection_id":120089,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:16:27] local.INFO: Acknowledgment sent {"connection_id":120089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:16:48] local.INFO: TCP Data received {"connection_id":119305,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:16:48] local.INFO: Processing buffer {"connection_id":119305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:16:48] local.INFO: IMEI packet received {"connection_id":119305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 21:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":119305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:16:51] local.INFO: TCP Data received {"connection_id":119305,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:16:51] local.INFO: Processing buffer {"connection_id":119305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:16:51] local.INFO: IMEI packet received {"connection_id":119305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":119305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:16:51] local.INFO: TCP Data received {"connection_id":119305,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:16:51] local.INFO: Processing buffer {"connection_id":119305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:16:51] local.INFO: IMEI packet received {"connection_id":119305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":119305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:16:54] local.INFO: TCP Data received {"connection_id":119305,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:16:54] local.INFO: Processing buffer {"connection_id":119305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:16:54] local.INFO: IMEI packet received {"connection_id":119305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":119305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:16:54] local.INFO: TCP Data received {"connection_id":119305,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e5ac508012cc39fc0076249c0004600c22a..."} 
[2026-07-01 21:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e5ac508012cc39fc0076249c0004600c22a..."} 
[2026-07-01 21:16:54] local.INFO: Processing buffer {"connection_id":119305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e5ac508012cc39fc0076249c0004600c22a..."} 
[2026-07-01 21:16:54] local.INFO: Packet analysis {"connection_id":119305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e5a"} 
[2026-07-01 21:16:54] local.INFO: Extracted packet for processing {"connection_id":119305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e5a"} 
[2026-07-01 21:16:54] local.INFO: GPS Element Parsed {"raw_longitude":751017920,"raw_latitude":123881920,"longitude_deg":75.101792,"latitude_deg":12.388192,"altitude":70,"angle":194,"satellites":42,"speed":35,"hex_longitude":"2cc39fc0","hex_latitude":"076249c0","is_valid_coordinates":true} 
[2026-07-01 21:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:16:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427695360001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:16:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334001468963028992,"note":"Value kept but may cause issues"} 
[2026-07-01 21:16:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4348858727207968768,"note":"Value kept but may cause issues"} 
[2026-07-01 21:16:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:16:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782920693000,"timestamp_ms":1782920693000,"timestamp_seconds":1782920693,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e5ac508"} 
[2026-07-01 21:16:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:16: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-01 21:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-01 21:16:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:16:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:16:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:16:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:16:54] local.INFO: Teltonika packet parsed successfully {"connection_id":119305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:16:54] local.INFO: Passing IMEI to GPS processor {"connection_id":119305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:16:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":119305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:16:54] 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-01 21:16:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:16:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:16:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427695360001,"66":27267,"178":206,"85":37120,"24":35,"16":334001468963028992,"44":-4348858727207968768},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,85,24,16,44]} 
[2026-07-01 21:16:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:16:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:16:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427695360001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:16:54] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-07-01 21:16:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 21:16:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334001468963028992,"km_value":334001468963029.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:16:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4348858727207968768,"description":"Unknown IO ID 44"} 
[2026-07-01 21:16:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427695360001,"power":27267,"unknown_178":206,"unknown_85":37120,"ignition":35,"odometer":null,"unknown_44":-4348858727207968768}} 
[2026-07-01 21:16:54] local.INFO: DEBUG: GPS processor result {"connection_id":119305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:16:54] local.INFO: GPS data processed {"connection_id":119305,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:16:54] local.INFO: Acknowledgment sent {"connection_id":119305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:17:31] local.INFO: TCP Data received {"connection_id":119305,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e5c43d8012cc368000760f268003f00c22b..."} 
[2026-07-01 21:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e5c43d8012cc368000760f268003f00c22b..."} 
[2026-07-01 21:17:31] local.INFO: Processing buffer {"connection_id":119305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e5c43d8012cc368000760f268003f00c22b..."} 
[2026-07-01 21:17:31] local.INFO: Packet analysis {"connection_id":119305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e5c"} 
[2026-07-01 21:17:31] local.INFO: Extracted packet for processing {"connection_id":119305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e5c"} 
[2026-07-01 21:17:31] local.INFO: GPS Element Parsed {"raw_longitude":751003648,"raw_latitude":123794024,"longitude_deg":75.1003648,"latitude_deg":12.3794024,"altitude":63,"angle":194,"satellites":43,"speed":41,"hex_longitude":"2cc36800","hex_latitude":"0760f268","is_valid_coordinates":true} 
[2026-07-01 21:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427720192001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334005811174965248,"note":"Value kept but may cause issues"} 
[2026-07-01 21:17:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4363776900995840000,"note":"Value kept but may cause issues"} 
[2026-07-01 21:17:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782920791000,"timestamp_ms":1782920791000,"timestamp_seconds":1782920791,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e5c43d8"} 
[2026-07-01 21:17:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:17:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-01 21:17:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:17:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:17:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:17:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 21:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427720192001,"66":27245,"189":206,"85":37120,"24":41,"16":334005811174965248,"44":-4363776900995840000},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,44]} 
[2026-07-01 21:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427720192001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:17:31] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-07-01 21:17:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 21:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334005811174965248,"km_value":334005811174965.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:17:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4363776900995840000,"description":"Unknown IO ID 44"} 
[2026-07-01 21:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427720192001,"power":27245,"unknown_189":206,"unknown_85":37120,"ignition":41,"odometer":null,"unknown_44":-4363776900995840000}} 
[2026-07-01 21:17:31] local.INFO: DEBUG: GPS processor result {"connection_id":119305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:17:31] local.INFO: GPS data processed {"connection_id":119305,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:17:31] local.INFO: Acknowledgment sent {"connection_id":119305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:17:54] local.INFO: TCP Data received {"connection_id":120090,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:17:54] local.INFO: Processing buffer {"connection_id":120090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:17:54] local.INFO: IMEI packet received {"connection_id":120090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 21:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":120090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:17:54] local.INFO: TCP Data received {"connection_id":120090,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:17:54] local.INFO: Processing buffer {"connection_id":120090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:17:54] local.INFO: IMEI packet received {"connection_id":120090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":120090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:17:59] local.INFO: TCP Data received {"connection_id":120090,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:17:59] local.INFO: Processing buffer {"connection_id":120090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:17:59] local.INFO: IMEI packet received {"connection_id":120090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":120090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:17:59] local.INFO: TCP Data received {"connection_id":120090,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e5c6318012cc35ec00760d3d0004000ce2c..."} 
[2026-07-01 21:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e5c6318012cc35ec00760d3d0004000ce2c..."} 
[2026-07-01 21:17:59] local.INFO: Processing buffer {"connection_id":120090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e5c6318012cc35ec00760d3d0004000ce2c..."} 
[2026-07-01 21:17:59] local.INFO: Packet analysis {"connection_id":120090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e5c"} 
[2026-07-01 21:17:59] local.INFO: Extracted packet for processing {"connection_id":120090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e5c"} 
[2026-07-01 21:17:59] local.INFO: GPS Element Parsed {"raw_longitude":751001280,"raw_latitude":123786192,"longitude_deg":75.100128,"latitude_deg":12.3786192,"altitude":64,"angle":206,"satellites":44,"speed":40,"hex_longitude":"2cc35ec0","hex_latitude":"0760d3d0","is_valid_coordinates":true} 
[2026-07-01 21:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427722496001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334006206311956480,"note":"Value kept but may cause issues"} 
[2026-07-01 21:17:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4366239807044425728,"note":"Value kept but may cause issues"} 
[2026-07-01 21:17:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782920799000,"timestamp_ms":1782920799000,"timestamp_seconds":1782920799,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e5c6318"} 
[2026-07-01 21:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:17:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-01 21:17:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:17:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":120090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":120090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":120090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:17:59] 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-01 21:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427722496001,"66":27321,"234":206,"85":37120,"24":40,"16":334006206311956480,"44":-4366239807044425728},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,44]} 
[2026-07-01 21:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427722496001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:17:59] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-07-01 21:17:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 21:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334006206311956480,"km_value":334006206311956.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:17:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4366239807044425728,"description":"Unknown IO ID 44"} 
[2026-07-01 21:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427722496001,"power":27321,"unknown_234":206,"unknown_85":37120,"ignition":40,"odometer":null,"unknown_44":-4366239807044425728}} 
[2026-07-01 21:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":120090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:17:59] local.INFO: GPS data processed {"connection_id":120090,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:17:59] local.INFO: Acknowledgment sent {"connection_id":120090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:18:30] local.INFO: TCP Data received {"connection_id":120090,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e5d64e8012cc362c0075fd2d8001c00d92c..."} 
[2026-07-01 21:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e5d64e8012cc362c0075fd2d8001c00d92c..."} 
[2026-07-01 21:18:30] local.INFO: Processing buffer {"connection_id":120090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e5d64e8012cc362c0075fd2d8001c00d92c..."} 
[2026-07-01 21:18:30] local.INFO: Packet analysis {"connection_id":120090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e5d"} 
[2026-07-01 21:18:30] local.INFO: Extracted packet for processing {"connection_id":120090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e5d"} 
[2026-07-01 21:18:30] local.INFO: GPS Element Parsed {"raw_longitude":751002304,"raw_latitude":123720408,"longitude_deg":75.1002304,"latitude_deg":12.3720408,"altitude":28,"angle":217,"satellites":44,"speed":35,"hex_longitude":"2cc362c0","hex_latitude":"075fd2d8","is_valid_coordinates":true} 
[2026-07-01 21:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427740928001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334009680940498944,"note":"Value kept but may cause issues"} 
[2026-07-01 21:18:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4366732388272123904,"note":"Value kept but may cause issues"} 
[2026-07-01 21:18:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782920865000,"timestamp_ms":1782920865000,"timestamp_seconds":1782920865,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e5d64e8"} 
[2026-07-01 21:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:18:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-01 21:18:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:18:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":120090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":120090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":120090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:18:30] 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-01 21:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427740928001,"66":27267,"207":206,"85":37120,"24":35,"16":334009680940498944,"44":-4366732388272123904},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,44]} 
[2026-07-01 21:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427740928001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:18:30] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-01 21:18:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 21:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334009680940498944,"km_value":334009680940498.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:18:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4366732388272123904,"description":"Unknown IO ID 44"} 
[2026-07-01 21:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427740928001,"power":27267,"unknown_207":206,"unknown_85":37120,"ignition":35,"odometer":null,"unknown_44":-4366732388272123904}} 
[2026-07-01 21:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":120090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:18:30] local.INFO: GPS data processed {"connection_id":120090,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:18:30] local.INFO: Acknowledgment sent {"connection_id":120090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:18:49] local.INFO: TCP Data received {"connection_id":119307,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:18:49] local.INFO: Processing buffer {"connection_id":119307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:18:49] local.INFO: IMEI packet received {"connection_id":119307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 21:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":119307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:18:49] local.INFO: TCP Data received {"connection_id":119307,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:18:49] local.INFO: Processing buffer {"connection_id":119307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:18:49] local.INFO: IMEI packet received {"connection_id":119307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":119307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:18:54] local.INFO: TCP Data received {"connection_id":119307,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:18:54] local.INFO: Processing buffer {"connection_id":119307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:18:54] local.INFO: IMEI packet received {"connection_id":119307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":119307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:18:55] local.INFO: TCP Data received {"connection_id":119307,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e5d70a0012cc35a80075fcac8001b00e52d..."} 
[2026-07-01 21:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e5d70a0012cc35a80075fcac8001b00e52d..."} 
[2026-07-01 21:18:55] local.INFO: Processing buffer {"connection_id":119307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e5d70a0012cc35a80075fcac8001b00e52d..."} 
[2026-07-01 21:18:55] local.INFO: Packet analysis {"connection_id":119307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e5d"} 
[2026-07-01 21:18:55] local.INFO: Extracted packet for processing {"connection_id":119307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e5d"} 
[2026-07-01 21:18:55] local.INFO: GPS Element Parsed {"raw_longitude":751000192,"raw_latitude":123718344,"longitude_deg":75.1000192,"latitude_deg":12.3718344,"altitude":27,"angle":229,"satellites":45,"speed":39,"hex_longitude":"2cc35a80","hex_latitude":"075fcac8","is_valid_coordinates":true} 
[2026-07-01 21: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-01 21:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427741440001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334009822674419712,"note":"Value kept but may cause issues"} 
[2026-07-01 21:18:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4367717550691002368,"note":"Value kept but may cause issues"} 
[2026-07-01 21:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782920868000,"timestamp_ms":1782920868000,"timestamp_seconds":1782920868,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e5d70a0"} 
[2026-07-01 21: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-01 21:18:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-01 21:18:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21: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-01 21: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-01 21:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":119307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":119307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":119307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 21:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427741440001,"66":27321,"207":206,"85":37120,"24":39,"16":334009822674419712,"44":-4367717550691002368},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,44]} 
[2026-07-01 21:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427741440001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:18:55] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-01 21:18:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 21:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334009822674419712,"km_value":334009822674419.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:18:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4367717550691002368,"description":"Unknown IO ID 44"} 
[2026-07-01 21:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427741440001,"power":27321,"unknown_207":206,"unknown_85":37120,"ignition":39,"odometer":null,"unknown_44":-4367717550691002368}} 
[2026-07-01 21:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":119307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:18:55] local.INFO: GPS data processed {"connection_id":119307,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:18:55] local.INFO: Acknowledgment sent {"connection_id":119307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:19:26] local.INFO: TCP Data received {"connection_id":119307,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e5d7c58012cc350c0075fc3e0001a00f029..."} 
[2026-07-01 21:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e5d7c58012cc350c0075fc3e0001a00f029..."} 
[2026-07-01 21:19:26] local.INFO: Processing buffer {"connection_id":119307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e5d7c58012cc350c0075fc3e0001a00f029..."} 
[2026-07-01 21:19:26] local.INFO: Packet analysis {"connection_id":119307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e5d"} 
[2026-07-01 21:19:26] local.INFO: Extracted packet for processing {"connection_id":119307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e5d"} 
[2026-07-01 21:19:26] local.INFO: GPS Element Parsed {"raw_longitude":750997696,"raw_latitude":123716576,"longitude_deg":75.0997696,"latitude_deg":12.3716576,"altitude":26,"angle":240,"satellites":41,"speed":40,"hex_longitude":"2cc350c0","hex_latitude":"075fc3e0","is_valid_coordinates":true} 
[2026-07-01 21:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427742208001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:19:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334009968703307776,"note":"Value kept but may cause issues"} 
[2026-07-01 21:19:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4370039719249393664,"note":"Value kept but may cause issues"} 
[2026-07-01 21:19:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:19:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782920871000,"timestamp_ms":1782920871000,"timestamp_seconds":1782920871,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e5d7c58"} 
[2026-07-01 21:19:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:19: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-01 21:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-01 21:19:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:19:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:19:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:19:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:19:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:19:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:19:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:19:26] 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-01 21:19:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:19:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:19:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427742208001,"66":27300,"207":206,"85":37120,"24":40,"16":334009968703307776,"44":-4370039719249393664},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,44]} 
[2026-07-01 21:19:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:19:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:19:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427742208001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:19:26] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-01 21:19:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 21:19:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334009968703307776,"km_value":334009968703307.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:19:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4370039719249393664,"description":"Unknown IO ID 44"} 
[2026-07-01 21:19:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427742208001,"power":27300,"unknown_207":206,"unknown_85":37120,"ignition":40,"odometer":null,"unknown_44":-4370039719249393664}} 
[2026-07-01 21:19:26] local.INFO: DEBUG: GPS processor result {"connection_id":119307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:19:26] local.INFO: GPS data processed {"connection_id":119307,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:19:26] local.INFO: Acknowledgment sent {"connection_id":119307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:19:45] local.INFO: TCP Data received {"connection_id":121156,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 21:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121156,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 21:19:45] local.INFO: Processing buffer {"connection_id":121156,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 21:19:45] local.INFO: IMEI packet received {"connection_id":121156,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 21:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":121156,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:19:48] local.INFO: TCP Data received {"connection_id":120091,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:19:48] local.INFO: Processing buffer {"connection_id":120091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:19:48] local.INFO: IMEI packet received {"connection_id":120091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 21:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":120091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:19:49] local.INFO: TCP Data received {"connection_id":120091,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:19:49] local.INFO: Processing buffer {"connection_id":120091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:19:49] local.INFO: IMEI packet received {"connection_id":120091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":120091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:19:54] local.INFO: TCP Data received {"connection_id":120091,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:19:54] local.INFO: Processing buffer {"connection_id":120091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:19:54] local.INFO: IMEI packet received {"connection_id":120091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":120091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:19:54] local.INFO: TCP Data received {"connection_id":120091,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e5d97b0012cc337c0075fb408001700e129..."} 
[2026-07-01 21:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e5d97b0012cc337c0075fb408001700e129..."} 
[2026-07-01 21:19:54] local.INFO: Processing buffer {"connection_id":120091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e5d97b0012cc337c0075fb408001700e129..."} 
[2026-07-01 21:19:54] local.INFO: Packet analysis {"connection_id":120091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e5d"} 
[2026-07-01 21:19:54] local.INFO: Extracted packet for processing {"connection_id":120091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e5d"} 
[2026-07-01 21:19:54] local.INFO: GPS Element Parsed {"raw_longitude":750991296,"raw_latitude":123712520,"longitude_deg":75.0991296,"latitude_deg":12.371252,"altitude":23,"angle":225,"satellites":41,"speed":40,"hex_longitude":"2cc337c0","hex_latitude":"075fb408","is_valid_coordinates":true} 
[2026-07-01 21:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:19:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427742976001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:19:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334010333775527936,"note":"Value kept but may cause issues"} 
[2026-07-01 21:19:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4372784100272775168,"note":"Value kept but may cause issues"} 
[2026-07-01 21:19:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:19:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782920878000,"timestamp_ms":1782920878000,"timestamp_seconds":1782920878,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e5d97b0"} 
[2026-07-01 21:19:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:19: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-01 21:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-01 21:19:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:19:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:19:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:19:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:19:54] local.INFO: Teltonika packet parsed successfully {"connection_id":120091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:19:54] local.INFO: Passing IMEI to GPS processor {"connection_id":120091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:19:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":120091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:19:54] 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-01 21:19:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:19:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:19:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427742976001,"66":27332,"207":206,"85":37120,"24":40,"16":334010333775527936,"44":-4372784100272775168},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,44]} 
[2026-07-01 21:19:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:19:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:19:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427742976001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:19:54] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-07-01 21:19:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 21:19:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334010333775527936,"km_value":334010333775527.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:19:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4372784100272775168,"description":"Unknown IO ID 44"} 
[2026-07-01 21:19:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427742976001,"power":27332,"unknown_207":206,"unknown_85":37120,"ignition":40,"odometer":null,"unknown_44":-4372784100272775168}} 
[2026-07-01 21:19:54] local.INFO: DEBUG: GPS processor result {"connection_id":120091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:19:54] local.INFO: GPS data processed {"connection_id":120091,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:19:54] local.INFO: Acknowledgment sent {"connection_id":120091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:20:14] local.INFO: TCP Data received {"connection_id":119308,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 21:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119308,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 21:20:14] local.INFO: Processing buffer {"connection_id":119308,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 21:20:14] local.INFO: IMEI packet received {"connection_id":119308,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 21:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":119308,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:20:26] local.INFO: TCP Data received {"connection_id":120091,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e5efb28012cc31980075e3fb8001400df2b..."} 
[2026-07-01 21:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e5efb28012cc31980075e3fb8001400df2b..."} 
[2026-07-01 21:20:26] local.INFO: Processing buffer {"connection_id":120091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e5efb28012cc31980075e3fb8001400df2b..."} 
[2026-07-01 21:20:26] local.INFO: Packet analysis {"connection_id":120091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e5e"} 
[2026-07-01 21:20:26] local.INFO: Extracted packet for processing {"connection_id":120091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e5e"} 
[2026-07-01 21:20:26] local.INFO: GPS Element Parsed {"raw_longitude":750983552,"raw_latitude":123617208,"longitude_deg":75.0983552,"latitude_deg":12.3617208,"altitude":20,"angle":223,"satellites":43,"speed":41,"hex_longitude":"2cc31980","hex_latitude":"075e3fb8","is_valid_coordinates":true} 
[2026-07-01 21:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:20:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427766784001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:20:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334015105484193792,"note":"Value kept but may cause issues"} 
[2026-07-01 21:20:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4384676418063165440,"note":"Value kept but may cause issues"} 
[2026-07-01 21:20:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:20:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782920969000,"timestamp_ms":1782920969000,"timestamp_seconds":1782920969,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e5efb28"} 
[2026-07-01 21:20:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:20: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-01 21:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-01 21:20:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:20:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:20:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:20:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:20:26] local.INFO: Teltonika packet parsed successfully {"connection_id":120091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:20:26] local.INFO: Passing IMEI to GPS processor {"connection_id":120091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:20:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":120091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:20:26] 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-01 21:20:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:20:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:20:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427766784001,"66":27267,"208":206,"85":37120,"24":41,"16":334015105484193792,"44":-4384676418063165440},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,44]} 
[2026-07-01 21:20:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:20:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:20:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427766784001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:20:26] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-01 21:20:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 21:20:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334015105484193792,"km_value":334015105484193.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:20:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4384676418063165440,"description":"Unknown IO ID 44"} 
[2026-07-01 21:20:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427766784001,"power":27267,"unknown_208":206,"unknown_85":37120,"ignition":41,"odometer":null,"unknown_44":-4384676418063165440}} 
[2026-07-01 21:20:26] local.INFO: DEBUG: GPS processor result {"connection_id":120091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:20:26] local.INFO: GPS data processed {"connection_id":120091,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:20:26] local.INFO: Acknowledgment sent {"connection_id":120091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:20:51] local.INFO: TCP Data received {"connection_id":119414,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:20:51] local.INFO: Processing buffer {"connection_id":119414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:20:51] local.INFO: IMEI packet received {"connection_id":119414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 21:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":119414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:20:54] local.INFO: TCP Data received {"connection_id":119414,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:20:54] local.INFO: Processing buffer {"connection_id":119414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:20:54] local.INFO: IMEI packet received {"connection_id":119414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":119414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:20:56] local.INFO: TCP Data received {"connection_id":119414,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:20:56] local.INFO: Processing buffer {"connection_id":119414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:20:56] local.INFO: IMEI packet received {"connection_id":119414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":119414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:21:01] local.INFO: TCP Data received {"connection_id":119414,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e5f06e0012cc30fc0075e37d8001400eb2b..."} 
[2026-07-01 21:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e5f06e0012cc30fc0075e37d8001400eb2b..."} 
[2026-07-01 21:21:01] local.INFO: Processing buffer {"connection_id":119414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e5f06e0012cc30fc0075e37d8001400eb2b..."} 
[2026-07-01 21:21:01] local.INFO: Packet analysis {"connection_id":119414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e5f"} 
[2026-07-01 21:21:01] local.INFO: Extracted packet for processing {"connection_id":119414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e5f"} 
[2026-07-01 21:21:01] local.INFO: GPS Element Parsed {"raw_longitude":750981056,"raw_latitude":123615192,"longitude_deg":75.0981056,"latitude_deg":12.3615192,"altitude":20,"angle":235,"satellites":43,"speed":42,"hex_longitude":"2cc30fc0","hex_latitude":"075e37d8","is_valid_coordinates":true} 
[2026-07-01 21: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-01 21:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427768064001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334015260103016448,"note":"Value kept but may cause issues"} 
[2026-07-01 21:21:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4388335592761477120,"note":"Value kept but may cause issues"} 
[2026-07-01 21:21:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782920972000,"timestamp_ms":1782920972000,"timestamp_seconds":1782920972,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e5f06e0"} 
[2026-07-01 21:21:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:21:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-01 21:21:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:21:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:21:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":119414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":119414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":119414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:21:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 21:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427768064001,"66":27234,"208":206,"85":37120,"24":42,"16":334015260103016448,"44":-4388335592761477120},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,44]} 
[2026-07-01 21:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427768064001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:21:01] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-01 21:21:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 21:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334015260103016448,"km_value":334015260103016.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:21:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4388335592761477120,"description":"Unknown IO ID 44"} 
[2026-07-01 21:21:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427768064001,"power":27234,"unknown_208":206,"unknown_85":37120,"ignition":42,"odometer":null,"unknown_44":-4388335592761477120}} 
[2026-07-01 21:21:01] local.INFO: DEBUG: GPS processor result {"connection_id":119414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:21:01] local.INFO: GPS data processed {"connection_id":119414,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:21:01] local.INFO: Acknowledgment sent {"connection_id":119414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:21:31] local.INFO: TCP Data received {"connection_id":119414,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e5f2620012cc2f1c0075e2520001400ee26..."} 
[2026-07-01 21:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e5f2620012cc2f1c0075e2520001400ee26..."} 
[2026-07-01 21:21:31] local.INFO: Processing buffer {"connection_id":119414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e5f2620012cc2f1c0075e2520001400ee26..."} 
[2026-07-01 21:21:31] local.INFO: Packet analysis {"connection_id":119414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e5f"} 
[2026-07-01 21:21:31] local.INFO: Extracted packet for processing {"connection_id":119414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e5f"} 
[2026-07-01 21:21:31] local.INFO: GPS Element Parsed {"raw_longitude":750973376,"raw_latitude":123610400,"longitude_deg":75.0973376,"latitude_deg":12.36104,"altitude":20,"angle":238,"satellites":38,"speed":45,"hex_longitude":"2cc2f1c0","hex_latitude":"075e2520","is_valid_coordinates":true} 
[2026-07-01 21:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427768832001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334015693894713344,"note":"Value kept but may cause issues"} 
[2026-07-01 21:21:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4391079973784922112,"note":"Value kept but may cause issues"} 
[2026-07-01 21:21:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782920980000,"timestamp_ms":1782920980000,"timestamp_seconds":1782920980,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e5f2620"} 
[2026-07-01 21:21:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:21:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-01 21:21:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:21:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:21:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:21:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:21:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 21:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427768832001,"66":27365,"208":206,"85":37120,"24":45,"16":334015693894713344,"44":-4391079973784922112},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,44]} 
[2026-07-01 21:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427768832001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:21:31] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-07-01 21:21:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 21:21:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334015693894713344,"km_value":334015693894713.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:21:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4391079973784922112,"description":"Unknown IO ID 44"} 
[2026-07-01 21:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427768832001,"power":27365,"unknown_208":206,"unknown_85":37120,"ignition":45,"odometer":null,"unknown_44":-4391079973784922112}} 
[2026-07-01 21:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":119414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:21:31] local.INFO: GPS data processed {"connection_id":119414,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:21:31] local.INFO: Acknowledgment sent {"connection_id":119414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:21:49] local.INFO: TCP Data received {"connection_id":120092,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:21:49] local.INFO: Processing buffer {"connection_id":120092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:21:49] local.INFO: IMEI packet received {"connection_id":120092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 21:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":120092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:21:49] local.INFO: TCP Data received {"connection_id":120092,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:21:49] local.INFO: Processing buffer {"connection_id":120092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:21:49] local.INFO: IMEI packet received {"connection_id":120092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":120092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:21:54] local.INFO: TCP Data received {"connection_id":120092,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:21:54] local.INFO: Processing buffer {"connection_id":120092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:21:54] local.INFO: IMEI packet received {"connection_id":120092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":120092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:21:55] local.INFO: TCP Data received {"connection_id":120092,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e602bd8012cc29080075d4060001400892a..."} 
[2026-07-01 21:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e602bd8012cc29080075d4060001400892a..."} 
[2026-07-01 21:21:55] local.INFO: Processing buffer {"connection_id":120092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e602bd8012cc29080075d4060001400892a..."} 
[2026-07-01 21:21:55] local.INFO: Packet analysis {"connection_id":120092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e60"} 
[2026-07-01 21:21:55] local.INFO: Extracted packet for processing {"connection_id":120092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e60"} 
[2026-07-01 21:21:55] local.INFO: GPS Element Parsed {"raw_longitude":750948480,"raw_latitude":123551840,"longitude_deg":75.094848,"latitude_deg":12.355184,"altitude":20,"angle":137,"satellites":42,"speed":41,"hex_longitude":"2cc29080","hex_latitude":"075d4060","is_valid_coordinates":true} 
[2026-07-01 21:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427786240001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334019323142078464,"note":"Value kept but may cause issues"} 
[2026-07-01 21:21:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4431893845422723072,"note":"Value kept but may cause issues"} 
[2026-07-01 21:21:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782921047000,"timestamp_ms":1782921047000,"timestamp_seconds":1782921047,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e602bd8"} 
[2026-07-01 21:21:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:21:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-01 21:21:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:21:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:21:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":120092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":120092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":120092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:21:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 21:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427786240001,"66":27376,"255":206,"85":37120,"24":41,"16":334019323142078464,"44":-4431893845422723072},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,85,24,16,44]} 
[2026-07-01 21:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427786240001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:21:55] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-01 21:21:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 21:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334019323142078464,"km_value":334019323142078.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:21:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4431893845422723072,"description":"Unknown IO ID 44"} 
[2026-07-01 21:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427786240001,"power":27376,"unknown_255":206,"unknown_85":37120,"ignition":41,"odometer":null,"unknown_44":-4431893845422723072}} 
[2026-07-01 21:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":120092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:21:55] local.INFO: GPS data processed {"connection_id":120092,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:21:55] local.INFO: Acknowledgment sent {"connection_id":120092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:21:55] local.INFO: TCP Data received {"connection_id":120092,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e604f00012cc2ac00075d2420001400872c..."} 
[2026-07-01 21:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e604f00012cc2ac00075d2420001400872c..."} 
[2026-07-01 21:21:55] local.INFO: Processing buffer {"connection_id":120092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e604f00012cc2ac00075d2420001400872c..."} 
[2026-07-01 21:21:55] local.INFO: Packet analysis {"connection_id":120092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e60"} 
[2026-07-01 21:21:55] local.INFO: Extracted packet for processing {"connection_id":120092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e60"} 
[2026-07-01 21:21:55] local.INFO: GPS Element Parsed {"raw_longitude":750955520,"raw_latitude":123544608,"longitude_deg":75.095552,"latitude_deg":12.3544608,"altitude":20,"angle":135,"satellites":44,"speed":45,"hex_longitude":"2cc2ac00","hex_latitude":"075d2420","is_valid_coordinates":true} 
[2026-07-01 21:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427788032001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334019804178415616,"note":"Value kept but may cause issues"} 
[2026-07-01 21:21:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4426897664587571200,"note":"Value kept but may cause issues"} 
[2026-07-01 21:21:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782921056000,"timestamp_ms":1782921056000,"timestamp_seconds":1782921056,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e604f00"} 
[2026-07-01 21:21:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:21:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-01 21:21:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:21:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:21:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":120092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":120092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":120092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:21:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 21:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427788032001,"66":27321,"255":206,"85":37120,"24":45,"16":334019804178415616,"44":-4426897664587571200},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,85,24,16,44]} 
[2026-07-01 21:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427788032001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:21:55] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-01 21:21:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 21:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334019804178415616,"km_value":334019804178415.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:21:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4426897664587571200,"description":"Unknown IO ID 44"} 
[2026-07-01 21:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427788032001,"power":27321,"unknown_255":206,"unknown_85":37120,"ignition":45,"odometer":null,"unknown_44":-4426897664587571200}} 
[2026-07-01 21:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":120092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:21:55] local.INFO: GPS data processed {"connection_id":120092,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:21:55] local.INFO: Acknowledgment sent {"connection_id":120092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:22:30] local.INFO: TCP Data received {"connection_id":120092,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e606e40012cc2c980075d0b900012007c2b..."} 
[2026-07-01 21:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e606e40012cc2c980075d0b900012007c2b..."} 
[2026-07-01 21:22:30] local.INFO: Processing buffer {"connection_id":120092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e606e40012cc2c980075d0b900012007c2b..."} 
[2026-07-01 21:22:30] local.INFO: Packet analysis {"connection_id":120092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e60"} 
[2026-07-01 21:22:30] local.INFO: Extracted packet for processing {"connection_id":120092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e60"} 
[2026-07-01 21:22:30] local.INFO: GPS Element Parsed {"raw_longitude":750963072,"raw_latitude":123538320,"longitude_deg":75.0963072,"latitude_deg":12.353832,"altitude":18,"angle":124,"satellites":43,"speed":49,"hex_longitude":"2cc2c980","hex_latitude":"075d0b90","is_valid_coordinates":true} 
[2026-07-01 21:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427790336001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334020276624818176,"note":"Value kept but may cause issues"} 
[2026-07-01 21:22:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4419157102729879552,"note":"Value kept but may cause issues"} 
[2026-07-01 21:22:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782921064000,"timestamp_ms":1782921064000,"timestamp_seconds":1782921064,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e606e40"} 
[2026-07-01 21:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-01 21:22:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:22:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":120092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":120092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":120092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:22:30] 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-01 21:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427790336001,"66":27267,"255":206,"85":37120,"24":49,"16":334020276624818176,"44":-4419157102729879552},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,85,24,16,44]} 
[2026-07-01 21:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427790336001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:22:30] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-01 21:22:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 21:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334020276624818176,"km_value":334020276624818.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:22:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4419157102729879552,"description":"Unknown IO ID 44"} 
[2026-07-01 21:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427790336001,"power":27267,"unknown_255":206,"unknown_85":37120,"ignition":49,"odometer":null,"unknown_44":-4419157102729879552}} 
[2026-07-01 21:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":120092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:22:30] local.INFO: GPS data processed {"connection_id":120092,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:22:30] local.INFO: Acknowledgment sent {"connection_id":120092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:22:59] local.INFO: TCP Data received {"connection_id":121157,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:22:59] local.INFO: Processing buffer {"connection_id":121157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:22:59] local.INFO: IMEI packet received {"connection_id":121157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 21:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":121157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:23:04] local.INFO: TCP Data received {"connection_id":121157,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:23:04] local.INFO: Processing buffer {"connection_id":121157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:23:04] local.INFO: IMEI packet received {"connection_id":121157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":121157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:23:04] local.INFO: TCP Data received {"connection_id":121157,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e608d80012cc2ec00075cf988000f00772c..."} 
[2026-07-01 21:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e608d80012cc2ec00075cf988000f00772c..."} 
[2026-07-01 21:23:04] local.INFO: Processing buffer {"connection_id":121157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e608d80012cc2ec00075cf988000f00772c..."} 
[2026-07-01 21:23:04] local.INFO: Packet analysis {"connection_id":121157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e60"} 
[2026-07-01 21:23:04] local.INFO: Extracted packet for processing {"connection_id":121157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e60"} 
[2026-07-01 21:23:04] local.INFO: GPS Element Parsed {"raw_longitude":750971904,"raw_latitude":123533704,"longitude_deg":75.0971904,"latitude_deg":12.3533704,"altitude":15,"angle":119,"satellites":44,"speed":49,"hex_longitude":"2cc2ec00","hex_latitude":"075cf988","is_valid_coordinates":true} 
[2026-07-01 21: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-01 21:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427792384001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334020753366188032,"note":"Value kept but may cause issues"} 
[2026-07-01 21:23:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4410853590918524928,"note":"Value kept but may cause issues"} 
[2026-07-01 21:23:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782921072000,"timestamp_ms":1782921072000,"timestamp_seconds":1782921072,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e608d80"} 
[2026-07-01 21: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-01 21:23:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-01 21:23:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21: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-01 21: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-01 21:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":121157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":121157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":121157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:23: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-01 21:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427792384001,"66":27213,"255":206,"85":37120,"24":49,"16":334020753366188032,"44":-4410853590918524928},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,85,24,16,44]} 
[2026-07-01 21:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427792384001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:23:04] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-01 21:23:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 21:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334020753366188032,"km_value":334020753366188.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:23:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4410853590918524928,"description":"Unknown IO ID 44"} 
[2026-07-01 21:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427792384001,"power":27213,"unknown_255":206,"unknown_85":37120,"ignition":49,"odometer":null,"unknown_44":-4410853590918524928}} 
[2026-07-01 21:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":121157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:23:04] local.INFO: GPS data processed {"connection_id":121157,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:23:04] local.INFO: Acknowledgment sent {"connection_id":121157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:23:54] local.INFO: TCP Data received {"connection_id":119417,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:23:54] local.INFO: Processing buffer {"connection_id":119417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:23:54] local.INFO: IMEI packet received {"connection_id":119417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 21:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":119417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:23:54] local.INFO: TCP Data received {"connection_id":119417,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:23:54] local.INFO: Processing buffer {"connection_id":119417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:23:54] local.INFO: IMEI packet received {"connection_id":119417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":119417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:23:55] local.INFO: TCP Data received {"connection_id":119417,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e61f8c8012cc3a840075be7e0002200902c..."} 
[2026-07-01 21:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e61f8c8012cc3a840075be7e0002200902c..."} 
[2026-07-01 21:23:55] local.INFO: Processing buffer {"connection_id":119417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e61f8c8012cc3a840075be7e0002200902c..."} 
[2026-07-01 21:23:55] local.INFO: Packet analysis {"connection_id":119417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e61"} 
[2026-07-01 21:23:55] local.INFO: Extracted packet for processing {"connection_id":119417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e61"} 
[2026-07-01 21:23:55] local.INFO: GPS Element Parsed {"raw_longitude":751020096,"raw_latitude":123463648,"longitude_deg":75.1020096,"latitude_deg":12.3463648,"altitude":34,"angle":144,"satellites":44,"speed":28,"hex_longitude":"2cc3a840","hex_latitude":"075be7e0","is_valid_coordinates":true} 
[2026-07-01 21: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-01 21:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427814912001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334024910894530560,"note":"Value kept but may cause issues"} 
[2026-07-01 21:23:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4354980808058734592,"note":"Value kept but may cause issues"} 
[2026-07-01 21:23:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782921165000,"timestamp_ms":1782921165000,"timestamp_seconds":1782921165,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e61f8c8"} 
[2026-07-01 21: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-01 21:23:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-01 21:23:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21: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-01 21: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-01 21:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":119417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":119417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":119417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:23:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 21:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427814912001,"66":27267,"35":206,"85":37120,"24":28,"16":334024910894530560,"44":-4354980808058734592},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,44]} 
[2026-07-01 21:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427814912001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:23:55] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-01 21:23:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 21:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334024910894530560,"km_value":334024910894530.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:23:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4354980808058734592,"description":"Unknown IO ID 44"} 
[2026-07-01 21:23:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427814912001,"power":27267,"unknown_35":206,"unknown_85":37120,"ignition":28,"odometer":null,"unknown_44":-4354980808058734592}} 
[2026-07-01 21:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":119417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:23:55] local.INFO: GPS data processed {"connection_id":119417,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:23:55] local.INFO: Acknowledgment sent {"connection_id":119417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:23:58] local.INFO: TCP Data received {"connection_id":119417,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e620c50012cc3af40075bdbf00023009c2c..."} 
[2026-07-01 21:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e620c50012cc3af40075bdbf00023009c2c..."} 
[2026-07-01 21:23:58] local.INFO: Processing buffer {"connection_id":119417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e620c50012cc3af40075bdbf00023009c2c..."} 
[2026-07-01 21:23:58] local.INFO: Packet analysis {"connection_id":119417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e62"} 
[2026-07-01 21:23:58] local.INFO: Extracted packet for processing {"connection_id":119417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e62"} 
[2026-07-01 21:23:58] local.INFO: GPS Element Parsed {"raw_longitude":751021888,"raw_latitude":123460592,"longitude_deg":75.1021888,"latitude_deg":12.3460592,"altitude":35,"angle":156,"satellites":44,"speed":27,"hex_longitude":"2cc3af40","hex_latitude":"075bdbf0","is_valid_coordinates":true} 
[2026-07-01 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-01 21:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427818240001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:23:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334025082693222400,"note":"Value kept but may cause issues"} 
[2026-07-01 21:23:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4348155039875342336,"note":"Value kept but may cause issues"} 
[2026-07-01 21:23:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:23:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782921170000,"timestamp_ms":1782921170000,"timestamp_seconds":1782921170,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e620c50"} 
[2026-07-01 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-01 21:23:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-01 21:23:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 21:23:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:23:58] local.INFO: Teltonika packet parsed successfully {"connection_id":119417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:23:58] local.INFO: Passing IMEI to GPS processor {"connection_id":119417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:23:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":119417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:23:58] 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-01 21:23:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:23:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:23:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427818240001,"66":27289,"35":206,"85":37120,"24":27,"16":334025082693222400,"44":-4348155039875342336},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,44]} 
[2026-07-01 21:23:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:23:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:23:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427818240001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:23:58] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-01 21:23:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 21:23:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334025082693222400,"km_value":334025082693222.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:23:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4348155039875342336,"description":"Unknown IO ID 44"} 
[2026-07-01 21:23:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427818240001,"power":27289,"unknown_35":206,"unknown_85":37120,"ignition":27,"odometer":null,"unknown_44":-4348155039875342336}} 
[2026-07-01 21:23:58] local.INFO: DEBUG: GPS processor result {"connection_id":119417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:23:58] local.INFO: GPS data processed {"connection_id":119417,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:23:58] local.INFO: Acknowledgment sent {"connection_id":119417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:24:32] local.INFO: TCP Data received {"connection_id":119417,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e6223c0012cc3b440075bcb68002300a82c..."} 
[2026-07-01 21:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e6223c0012cc3b440075bcb68002300a82c..."} 
[2026-07-01 21:24:32] local.INFO: Processing buffer {"connection_id":119417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e6223c0012cc3b440075bcb68002300a82c..."} 
[2026-07-01 21:24:32] local.INFO: Packet analysis {"connection_id":119417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e62"} 
[2026-07-01 21:24:32] local.INFO: Extracted packet for processing {"connection_id":119417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e62"} 
[2026-07-01 21:24:32] local.INFO: GPS Element Parsed {"raw_longitude":751023168,"raw_latitude":123456360,"longitude_deg":75.1023168,"latitude_deg":12.345636,"altitude":35,"angle":168,"satellites":44,"speed":31,"hex_longitude":"2cc3b440","hex_latitude":"075bcb68","is_valid_coordinates":true} 
[2026-07-01 21:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427819520001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334025297441587200,"note":"Value kept but may cause issues"} 
[2026-07-01 21:24:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4346184715039150080,"note":"Value kept but may cause issues"} 
[2026-07-01 21:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782921176000,"timestamp_ms":1782921176000,"timestamp_seconds":1782921176,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e6223c0"} 
[2026-07-01 21:24:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:24:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-07-01 21:24:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2105,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:24:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:24:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":119417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":119417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":119417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 21:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427819520001,"66":27376,"35":206,"85":37120,"24":31,"16":334025297441587200,"44":-4346184715039150080},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,44]} 
[2026-07-01 21:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427819520001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:24:32] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-01 21:24:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 21:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334025297441587200,"km_value":334025297441587.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:24:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4346184715039150080,"description":"Unknown IO ID 44"} 
[2026-07-01 21:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427819520001,"power":27376,"unknown_35":206,"unknown_85":37120,"ignition":31,"odometer":null,"unknown_44":-4346184715039150080}} 
[2026-07-01 21:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":119417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:24:32] local.INFO: GPS data processed {"connection_id":119417,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:24:32] local.INFO: Acknowledgment sent {"connection_id":119417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:24:48] local.INFO: TCP Data received {"connection_id":120094,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:24:48] local.INFO: Processing buffer {"connection_id":120094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:24:48] local.INFO: IMEI packet received {"connection_id":120094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 21:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":120094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:24:49] local.INFO: TCP Data received {"connection_id":120094,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:24:49] local.INFO: Processing buffer {"connection_id":120094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:24:49] local.INFO: IMEI packet received {"connection_id":120094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":120094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:24:54] local.INFO: TCP Data received {"connection_id":120094,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:24:54] local.INFO: Processing buffer {"connection_id":120094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:24:54] local.INFO: IMEI packet received {"connection_id":120094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":120094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:24:55] local.INFO: TCP Data received {"connection_id":120094,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e623360012cc3b5c0075bbe58002300b42c..."} 
[2026-07-01 21:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e623360012cc3b5c0075bbe58002300b42c..."} 
[2026-07-01 21:24:55] local.INFO: Processing buffer {"connection_id":120094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e623360012cc3b5c0075bbe58002300b42c..."} 
[2026-07-01 21:24:55] local.INFO: Packet analysis {"connection_id":120094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e62"} 
[2026-07-01 21:24:55] local.INFO: Extracted packet for processing {"connection_id":120094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e62"} 
[2026-07-01 21:24:55] local.INFO: GPS Element Parsed {"raw_longitude":751023552,"raw_latitude":123453016,"longitude_deg":75.1023552,"latitude_deg":12.3453016,"altitude":35,"angle":180,"satellites":44,"speed":35,"hex_longitude":"2cc3b5c0","hex_latitude":"075bbe58","is_valid_coordinates":true} 
[2026-07-01 21: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-01 21:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427821056001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334025460650344448,"note":"Value kept but may cause issues"} 
[2026-07-01 21:24:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4344777340156680192,"note":"Value kept but may cause issues"} 
[2026-07-01 21:24:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782921180000,"timestamp_ms":1782921180000,"timestamp_seconds":1782921180,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e623360"} 
[2026-07-01 21: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-01 21:24:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-01 21:24:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21: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-01 21: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-01 21:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":120094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":120094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":120094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 21:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427821056001,"66":27332,"35":206,"85":37120,"24":35,"16":334025460650344448,"44":-4344777340156680192},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,44]} 
[2026-07-01 21:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427821056001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:24:55] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-01 21:24:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 21:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334025460650344448,"km_value":334025460650344.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:24:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4344777340156680192,"description":"Unknown IO ID 44"} 
[2026-07-01 21:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427821056001,"power":27332,"unknown_35":206,"unknown_85":37120,"ignition":35,"odometer":null,"unknown_44":-4344777340156680192}} 
[2026-07-01 21:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":120094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:24:55] local.INFO: GPS data processed {"connection_id":120094,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:24:55] local.INFO: Acknowledgment sent {"connection_id":120094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:24:59] local.INFO: TCP Data received {"connection_id":120094,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e625688012cc3b200075b9988001f00ba2c..."} 
[2026-07-01 21:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e625688012cc3b200075b9988001f00ba2c..."} 
[2026-07-01 21:24:59] local.INFO: Processing buffer {"connection_id":120094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e625688012cc3b200075b9988001f00ba2c..."} 
[2026-07-01 21:24:59] local.INFO: Packet analysis {"connection_id":120094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e62"} 
[2026-07-01 21:24:59] local.INFO: Extracted packet for processing {"connection_id":120094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e62"} 
[2026-07-01 21:24:59] local.INFO: GPS Element Parsed {"raw_longitude":751022592,"raw_latitude":123443592,"longitude_deg":75.1022592,"latitude_deg":12.3443592,"altitude":31,"angle":186,"satellites":44,"speed":45,"hex_longitude":"2cc3b200","hex_latitude":"075b9988","is_valid_coordinates":true} 
[2026-07-01 21: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-01 21:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427822080001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:24:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334025920211845120,"note":"Value kept but may cause issues"} 
[2026-07-01 21:24:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4344355127692470272,"note":"Value kept but may cause issues"} 
[2026-07-01 21:24:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:24:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782921189000,"timestamp_ms":1782921189000,"timestamp_seconds":1782921189,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e625688"} 
[2026-07-01 21: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-01 21:24:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-01 21:24:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21: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-01 21: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-01 21:24:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:24:59] local.INFO: Teltonika packet parsed successfully {"connection_id":120094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:24:59] local.INFO: Passing IMEI to GPS processor {"connection_id":120094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:24:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":120094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:24:59] 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-01 21:24:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:24:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:24:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427822080001,"66":27376,"35":206,"85":37120,"24":45,"16":334025920211845120,"44":-4344355127692470272},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,44]} 
[2026-07-01 21:24:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:24:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:24:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427822080001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:24:59] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-01 21:24:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 21:24:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334025920211845120,"km_value":334025920211845.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:24:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4344355127692470272,"description":"Unknown IO ID 44"} 
[2026-07-01 21:24:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427822080001,"power":27376,"unknown_35":206,"unknown_85":37120,"ignition":45,"odometer":null,"unknown_44":-4344355127692470272}} 
[2026-07-01 21:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":120094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:24:59] local.INFO: GPS data processed {"connection_id":120094,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:24:59] local.INFO: Acknowledgment sent {"connection_id":120094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:25:30] local.INFO: TCP Data received {"connection_id":120094,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e6275c8012cc3b000075b7690001f00b02a..."} 
[2026-07-01 21:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e6275c8012cc3b000075b7690001f00b02a..."} 
[2026-07-01 21:25:30] local.INFO: Processing buffer {"connection_id":120094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e6275c8012cc3b000075b7690001f00b02a..."} 
[2026-07-01 21:25:30] local.INFO: Packet analysis {"connection_id":120094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e62"} 
[2026-07-01 21:25:30] local.INFO: Extracted packet for processing {"connection_id":120094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e62"} 
[2026-07-01 21:25:30] local.INFO: GPS Element Parsed {"raw_longitude":751022080,"raw_latitude":123434640,"longitude_deg":75.102208,"latitude_deg":12.343464,"altitude":31,"angle":176,"satellites":42,"speed":43,"hex_longitude":"2cc3b000","hex_latitude":"075b7690","is_valid_coordinates":true} 
[2026-07-01 21: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-01 21:25:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427824384001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:25:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334026354003542016,"note":"Value kept but may cause issues"} 
[2026-07-01 21:25:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4345410658857547776,"note":"Value kept but may cause issues"} 
[2026-07-01 21:25:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:25:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782921197000,"timestamp_ms":1782921197000,"timestamp_seconds":1782921197,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e6275c8"} 
[2026-07-01 21: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-01 21:25:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-01 21:25:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21: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-01 21: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-01 21:25:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:25:30] local.INFO: Teltonika packet parsed successfully {"connection_id":120094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:25:30] local.INFO: Passing IMEI to GPS processor {"connection_id":120094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:25:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":120094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:25:30] 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-01 21:25:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:25:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:25:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427824384001,"66":27365,"35":206,"85":37120,"24":43,"16":334026354003542016,"44":-4345410658857547776},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,44]} 
[2026-07-01 21:25:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:25:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:25:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427824384001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:25:30] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-07-01 21:25:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 21:25:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334026354003542016,"km_value":334026354003542.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:25:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4345410658857547776,"description":"Unknown IO ID 44"} 
[2026-07-01 21:25:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427824384001,"power":27365,"unknown_35":206,"unknown_85":37120,"ignition":43,"odometer":null,"unknown_44":-4345410658857547776}} 
[2026-07-01 21:25:30] local.INFO: DEBUG: GPS processor result {"connection_id":120094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:25:30] local.INFO: GPS data processed {"connection_id":120094,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:25:30] local.INFO: Acknowledgment sent {"connection_id":120094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:25:40] local.INFO: TCP Data received {"connection_id":119418,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 21:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119418,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 21:25:40] local.INFO: Processing buffer {"connection_id":119418,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 21:25:40] local.INFO: IMEI packet received {"connection_id":119418,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 21:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":119418,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:25:53] local.INFO: TCP Data received {"connection_id":121158,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:25:53] local.INFO: Processing buffer {"connection_id":121158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:25:53] local.INFO: IMEI packet received {"connection_id":121158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 21:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":121158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:25:56] local.INFO: TCP Data received {"connection_id":121158,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:25:56] local.INFO: Processing buffer {"connection_id":121158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:25:56] local.INFO: IMEI packet received {"connection_id":121158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":121158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:25:59] local.INFO: TCP Data received {"connection_id":121158,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:25:59] local.INFO: Processing buffer {"connection_id":121158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:25:59] local.INFO: IMEI packet received {"connection_id":121158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":121158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:26:00] local.INFO: TCP Data received {"connection_id":121158,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e63d558012cc48700075a7540003100952c..."} 
[2026-07-01 21:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e63d558012cc48700075a7540003100952c..."} 
[2026-07-01 21:26:00] local.INFO: Processing buffer {"connection_id":121158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e63d558012cc48700075a7540003100952c..."} 
[2026-07-01 21:26:00] local.INFO: Packet analysis {"connection_id":121158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e63"} 
[2026-07-01 21:26:00] local.INFO: Extracted packet for processing {"connection_id":121158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e63"} 
[2026-07-01 21:26:00] local.INFO: GPS Element Parsed {"raw_longitude":751077120,"raw_latitude":123368768,"longitude_deg":75.107712,"latitude_deg":12.3368768,"altitude":49,"angle":149,"satellites":44,"speed":44,"hex_longitude":"2cc48700","hex_latitude":"075a7540","is_valid_coordinates":true} 
[2026-07-01 21:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427847936001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334030515826851840,"note":"Value kept but may cause issues"} 
[2026-07-01 21:26:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4290171194695880704,"note":"Value kept but may cause issues"} 
[2026-07-01 21:26:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782921287000,"timestamp_ms":1782921287000,"timestamp_seconds":1782921287,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e63d558"} 
[2026-07-01 21:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:26:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 21:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-01 21:26:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:26:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":121158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":121158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":121158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:26: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-01 21:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427847936001,"66":27484,"131":206,"85":37120,"24":44,"16":334030515826851840,"44":-4290171194695880704},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,44]} 
[2026-07-01 21:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427847936001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:26:00] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-01 21:26:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 21:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334030515826851840,"km_value":334030515826851.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:26:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4290171194695880704,"description":"Unknown IO ID 44"} 
[2026-07-01 21:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427847936001,"power":27484,"unknown_131":206,"unknown_85":37120,"ignition":44,"odometer":null,"unknown_44":-4290171194695880704}} 
[2026-07-01 21:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":121158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:26:00] local.INFO: GPS data processed {"connection_id":121158,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:26:00] local.INFO: Acknowledgment sent {"connection_id":121158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:26:15] local.INFO: TCP Data received {"connection_id":119419,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 21:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119419,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 21:26:15] local.INFO: Processing buffer {"connection_id":119419,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 21:26:15] local.INFO: IMEI packet received {"connection_id":119419,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 21:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":119419,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:26:31] local.INFO: TCP Data received {"connection_id":121158,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e63ecc8012cc49200075a5d98003200a22b..."} 
[2026-07-01 21:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e63ecc8012cc49200075a5d98003200a22b..."} 
[2026-07-01 21:26:31] local.INFO: Processing buffer {"connection_id":121158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e63ecc8012cc49200075a5d98003200a22b..."} 
[2026-07-01 21:26:31] local.INFO: Packet analysis {"connection_id":121158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e63"} 
[2026-07-01 21:26:31] local.INFO: Extracted packet for processing {"connection_id":121158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e63"} 
[2026-07-01 21:26:31] local.INFO: GPS Element Parsed {"raw_longitude":751079936,"raw_latitude":123362712,"longitude_deg":75.1079936,"latitude_deg":12.3362712,"altitude":50,"angle":162,"satellites":43,"speed":43,"hex_longitude":"2cc49200","hex_latitude":"075a5d98","is_valid_coordinates":true} 
[2026-07-01 21:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427849472001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334030837949399040,"note":"Value kept but may cause issues"} 
[2026-07-01 21:26:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4285456488837332992,"note":"Value kept but may cause issues"} 
[2026-07-01 21:26:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782921293000,"timestamp_ms":1782921293000,"timestamp_seconds":1782921293,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e63ecc8"} 
[2026-07-01 21:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:26:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 21:26:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:26:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":121158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":121158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":121158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 21:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427849472001,"66":27343,"131":206,"85":37120,"24":43,"16":334030837949399040,"44":-4285456488837332992},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,44]} 
[2026-07-01 21:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427849472001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:26:31] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-01 21:26:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 21:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334030837949399040,"km_value":334030837949399.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:26:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4285456488837332992,"description":"Unknown IO ID 44"} 
[2026-07-01 21:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427849472001,"power":27343,"unknown_131":206,"unknown_85":37120,"ignition":43,"odometer":null,"unknown_44":-4285456488837332992}} 
[2026-07-01 21:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":121158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:26:31] local.INFO: GPS data processed {"connection_id":121158,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:26:31] local.INFO: Acknowledgment sent {"connection_id":121158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:26:58] local.INFO: TCP Data received {"connection_id":121159,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:26:58] local.INFO: Processing buffer {"connection_id":121159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:26:58] local.INFO: IMEI packet received {"connection_id":121159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 21:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":121159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:26:58] local.INFO: TCP Data received {"connection_id":121159,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:26:58] local.INFO: Processing buffer {"connection_id":121159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:26:58] local.INFO: IMEI packet received {"connection_id":121159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":121159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:27:04] local.INFO: TCP Data received {"connection_id":121159,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:27:04] local.INFO: Processing buffer {"connection_id":121159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:27:04] local.INFO: IMEI packet received {"connection_id":121159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":121159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:27:05] local.INFO: TCP Data received {"connection_id":121159,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e64ee98012cc4e48007592a08002700c12c..."} 
[2026-07-01 21:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e64ee98012cc4e48007592a08002700c12c..."} 
[2026-07-01 21:27:05] local.INFO: Processing buffer {"connection_id":121159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e64ee98012cc4e48007592a08002700c12c..."} 
[2026-07-01 21:27:05] local.INFO: Packet analysis {"connection_id":121159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e64"} 
[2026-07-01 21:27:05] local.INFO: Extracted packet for processing {"connection_id":121159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e64"} 
[2026-07-01 21:27:05] local.INFO: GPS Element Parsed {"raw_longitude":751101056,"raw_latitude":123283976,"longitude_deg":75.1101056,"latitude_deg":12.3283976,"altitude":39,"angle":193,"satellites":44,"speed":51,"hex_longitude":"2cc4e480","hex_latitude":"07592a08","is_valid_coordinates":true} 
[2026-07-01 21:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427866880001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334034879513624576,"note":"Value kept but may cause issues"} 
[2026-07-01 21:27:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4258294153605167104,"note":"Value kept but may cause issues"} 
[2026-07-01 21:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1782921359000,"timestamp_ms":1782921359000,"timestamp_seconds":1782921359,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e64ee98"} 
[2026-07-01 21:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-01 21:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:27:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":121159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":121159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":121159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:27:05] 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-01 21:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427866880001,"66":27332,"29":206,"85":37120,"24":51,"16":334034879513624576,"44":-4258294153605167104},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,44]} 
[2026-07-01 21:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427866880001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:27:05] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-07-01 21:27:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 21:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334034879513624576,"km_value":334034879513624.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:27:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4258294153605167104,"description":"Unknown IO ID 44"} 
[2026-07-01 21:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427866880001,"power":27332,"unknown_29":206,"unknown_85":37120,"ignition":51,"odometer":null,"unknown_44":-4258294153605167104}} 
[2026-07-01 21:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":121159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:27:05] local.INFO: GPS data processed {"connection_id":121159,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:27:05] local.INFO: Acknowledgment sent {"connection_id":121159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:27:48] local.INFO: TCP Data received {"connection_id":119420,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:27:48] local.INFO: Processing buffer {"connection_id":119420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:27:48] local.INFO: IMEI packet received {"connection_id":119420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 21:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":119420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:27:50] local.INFO: TCP Data received {"connection_id":119420,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:27:50] local.INFO: Processing buffer {"connection_id":119420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:27:50] local.INFO: IMEI packet received {"connection_id":119420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":119420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:27:53] local.INFO: TCP Data received {"connection_id":119420,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:27:53] local.INFO: Processing buffer {"connection_id":119420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:27:53] local.INFO: IMEI packet received {"connection_id":119420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":119420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:28:02] local.INFO: TCP Data received {"connection_id":119420,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e6509f0012cc4da40075906f0002400c42b..."} 
[2026-07-01 21:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e6509f0012cc4da40075906f0002400c42b..."} 
[2026-07-01 21:28:02] local.INFO: Processing buffer {"connection_id":119420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e6509f0012cc4da40075906f0002400c42b..."} 
[2026-07-01 21:28:02] local.INFO: Packet analysis {"connection_id":119420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e65"} 
[2026-07-01 21:28:02] local.INFO: Extracted packet for processing {"connection_id":119420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e65"} 
[2026-07-01 21:28:02] local.INFO: GPS Element Parsed {"raw_longitude":751098432,"raw_latitude":123274992,"longitude_deg":75.1098432,"latitude_deg":12.3274992,"altitude":36,"angle":196,"satellites":43,"speed":54,"hex_longitude":"2cc4da40","hex_latitude":"075906f0","is_valid_coordinates":true} 
[2026-07-01 21:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427867904001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334035330485190656,"note":"Value kept but may cause issues"} 
[2026-07-01 21:28:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4259138578536593408,"note":"Value kept but may cause issues"} 
[2026-07-01 21:28:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782921366000,"timestamp_ms":1782921366000,"timestamp_seconds":1782921366,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e6509f0"} 
[2026-07-01 21:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:28:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-01 21:28:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:28:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":119420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":119420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":119420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:28:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 21:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427867904001,"66":27376,"29":206,"85":37120,"24":54,"16":334035330485190656,"44":-4259138578536593408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,44]} 
[2026-07-01 21:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427867904001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:28:02] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-07-01 21:28:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 21:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334035330485190656,"km_value":334035330485190.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:28:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4259138578536593408,"description":"Unknown IO ID 44"} 
[2026-07-01 21:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427867904001,"power":27376,"unknown_29":206,"unknown_85":37120,"ignition":54,"odometer":null,"unknown_44":-4259138578536593408}} 
[2026-07-01 21:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":119420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:28:02] local.INFO: GPS data processed {"connection_id":119420,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:28:02] local.INFO: Acknowledgment sent {"connection_id":119420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:28:34] local.INFO: TCP Data received {"connection_id":119420,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e666980012cc44480075748b0001b00b22d..."} 
[2026-07-01 21:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e666980012cc44480075748b0001b00b22d..."} 
[2026-07-01 21:28:34] local.INFO: Processing buffer {"connection_id":119420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e666980012cc44480075748b0001b00b22d..."} 
[2026-07-01 21:28:34] local.INFO: Packet analysis {"connection_id":119420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e66"} 
[2026-07-01 21:28:34] local.INFO: Extracted packet for processing {"connection_id":119420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e66"} 
[2026-07-01 21:28:34] local.INFO: GPS Element Parsed {"raw_longitude":751060096,"raw_latitude":123160752,"longitude_deg":75.1060096,"latitude_deg":12.3160752,"altitude":27,"angle":178,"satellites":45,"speed":38,"hex_longitude":"2cc44480","hex_latitude":"075748b0","is_valid_coordinates":true} 
[2026-07-01 21:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427891456001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334041180230647808,"note":"Value kept but may cause issues"} 
[2026-07-01 21:28:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4303400518654443520,"note":"Value kept but may cause issues"} 
[2026-07-01 21:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782921456000,"timestamp_ms":1782921456000,"timestamp_seconds":1782921456,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e666980"} 
[2026-07-01 21:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-01 21:28:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:28:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":119420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":119420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":119420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:28:34] 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-01 21:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427891456001,"66":27484,"159":206,"85":37120,"24":38,"16":334041180230647808,"44":-4303400518654443520},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-07-01 21:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427891456001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:28:34] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-07-01 21:28:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 21:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334041180230647808,"km_value":334041180230647.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:28:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4303400518654443520,"description":"Unknown IO ID 44"} 
[2026-07-01 21:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427891456001,"power":27484,"unknown_159":206,"unknown_85":37120,"ignition":38,"odometer":null,"unknown_44":-4303400518654443520}} 
[2026-07-01 21:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":119420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:28:34] local.INFO: GPS data processed {"connection_id":119420,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:28:34] local.INFO: Acknowledgment sent {"connection_id":119420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:28:58] local.INFO: TCP Data received {"connection_id":120095,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:28:58] local.INFO: Processing buffer {"connection_id":120095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:28:58] local.INFO: IMEI packet received {"connection_id":120095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 21:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":120095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:29:03] local.INFO: TCP Data received {"connection_id":120095,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:29:03] local.INFO: Processing buffer {"connection_id":120095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:29:03] local.INFO: IMEI packet received {"connection_id":120095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":120095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:29:04] local.INFO: TCP Data received {"connection_id":120095,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e667538012cc443c007573da8001b00c02c..."} 
[2026-07-01 21:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e667538012cc443c007573da8001b00c02c..."} 
[2026-07-01 21:29:04] local.INFO: Processing buffer {"connection_id":120095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e667538012cc443c007573da8001b00c02c..."} 
[2026-07-01 21:29:04] local.INFO: Packet analysis {"connection_id":120095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e66"} 
[2026-07-01 21:29:04] local.INFO: Extracted packet for processing {"connection_id":120095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e66"} 
[2026-07-01 21:29:04] local.INFO: GPS Element Parsed {"raw_longitude":751059904,"raw_latitude":123157928,"longitude_deg":75.1059904,"latitude_deg":12.3157928,"altitude":27,"angle":192,"satellites":44,"speed":36,"hex_longitude":"2cc443c0","hex_latitude":"07573da8","is_valid_coordinates":true} 
[2026-07-01 21:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427892736001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334041317669601280,"note":"Value kept but may cause issues"} 
[2026-07-01 21:29:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4304174574841843712,"note":"Value kept but may cause issues"} 
[2026-07-01 21:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782921459000,"timestamp_ms":1782921459000,"timestamp_seconds":1782921459,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e667538"} 
[2026-07-01 21:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:29:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 21:29:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":120095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":120095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":120095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:29: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-01 21:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427892736001,"66":27397,"159":206,"85":37120,"24":36,"16":334041317669601280,"44":-4304174574841843712},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-07-01 21:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427892736001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:29:04] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-07-01 21:29:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 21:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334041317669601280,"km_value":334041317669601.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:29:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4304174574841843712,"description":"Unknown IO ID 44"} 
[2026-07-01 21:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427892736001,"power":27397,"unknown_159":206,"unknown_85":37120,"ignition":36,"odometer":null,"unknown_44":-4304174574841843712}} 
[2026-07-01 21:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":120095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:29:04] local.INFO: GPS data processed {"connection_id":120095,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:29:04] local.INFO: Acknowledgment sent {"connection_id":120095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:29:48] local.INFO: TCP Data received {"connection_id":119311,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:29:48] local.INFO: Processing buffer {"connection_id":119311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:29:48] local.INFO: IMEI packet received {"connection_id":119311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 21:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":119311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:29:53] local.INFO: TCP Data received {"connection_id":119311,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:29:53] local.INFO: Processing buffer {"connection_id":119311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:29:53] local.INFO: IMEI packet received {"connection_id":119311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":119311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:29:53] local.INFO: TCP Data received {"connection_id":119311,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:29:53] local.INFO: Processing buffer {"connection_id":119311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:29:53] local.INFO: IMEI packet received {"connection_id":119311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":119311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:29:54] local.INFO: TCP Data received {"connection_id":119311,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e669c48012cc4394007571c00001c00c42c..."} 
[2026-07-01 21:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e669c48012cc4394007571c00001c00c42c..."} 
[2026-07-01 21:29:54] local.INFO: Processing buffer {"connection_id":119311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e669c48012cc4394007571c00001c00c42c..."} 
[2026-07-01 21:29:54] local.INFO: Packet analysis {"connection_id":119311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e66"} 
[2026-07-01 21:29:54] local.INFO: Extracted packet for processing {"connection_id":119311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e66"} 
[2026-07-01 21:29:54] local.INFO: GPS Element Parsed {"raw_longitude":751057216,"raw_latitude":123149312,"longitude_deg":75.1057216,"latitude_deg":12.3149312,"altitude":28,"angle":196,"satellites":44,"speed":38,"hex_longitude":"2cc43940","hex_latitude":"07571c00","is_valid_coordinates":true} 
[2026-07-01 21:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427893504001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334041755756265472,"note":"Value kept but may cause issues"} 
[2026-07-01 21:29:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4304385681075099648,"note":"Value kept but may cause issues"} 
[2026-07-01 21:29:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782921469000,"timestamp_ms":1782921469000,"timestamp_seconds":1782921469,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e669c48"} 
[2026-07-01 21:29:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:29: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-01 21:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-01 21:29:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:29:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:29:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":119311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":119311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":119311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:29:54] 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-01 21:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427893504001,"66":27343,"160":206,"85":37120,"24":38,"16":334041755756265472,"44":-4304385681075099648},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,44]} 
[2026-07-01 21:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427893504001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:29:54] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-07-01 21:29:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 21:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334041755756265472,"km_value":334041755756265.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:29:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4304385681075099648,"description":"Unknown IO ID 44"} 
[2026-07-01 21:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427893504001,"power":27343,"unknown_160":206,"unknown_85":37120,"ignition":38,"odometer":null,"unknown_44":-4304385681075099648}} 
[2026-07-01 21:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":119311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:29:54] local.INFO: GPS data processed {"connection_id":119311,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:29:54] local.INFO: Acknowledgment sent {"connection_id":119311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:29:59] local.INFO: TCP Data received {"connection_id":119311,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e66bf70012cc42e000756faf8001a00c52c..."} 
[2026-07-01 21:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e66bf70012cc42e000756faf8001a00c52c..."} 
[2026-07-01 21:29:59] local.INFO: Processing buffer {"connection_id":119311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e66bf70012cc42e000756faf8001a00c52c..."} 
[2026-07-01 21:29:59] local.INFO: Packet analysis {"connection_id":119311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e66"} 
[2026-07-01 21:29:59] local.INFO: Extracted packet for processing {"connection_id":119311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e66"} 
[2026-07-01 21:29:59] local.INFO: GPS Element Parsed {"raw_longitude":751054336,"raw_latitude":123140856,"longitude_deg":75.1054336,"latitude_deg":12.3140856,"altitude":26,"angle":197,"satellites":44,"speed":39,"hex_longitude":"2cc42e00","hex_latitude":"0756faf8","is_valid_coordinates":true} 
[2026-07-01 21:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427896064001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334042189547962368,"note":"Value kept but may cause issues"} 
[2026-07-01 21:29:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4307341168332767232,"note":"Value kept but may cause issues"} 
[2026-07-01 21:29:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782921478000,"timestamp_ms":1782921478000,"timestamp_seconds":1782921478,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e66bf70"} 
[2026-07-01 21:29:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:29:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-01 21:29:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:29:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:29:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:29:59] 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-01 21:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427896064001,"66":27213,"160":206,"85":37120,"24":39,"16":334042189547962368,"44":-4307341168332767232},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,85,24,16,44]} 
[2026-07-01 21:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427896064001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:29:59] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-07-01 21:29:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-07-01 21:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334042189547962368,"km_value":334042189547962.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:29:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4307341168332767232,"description":"Unknown IO ID 44"} 
[2026-07-01 21:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427896064001,"power":27213,"unknown_160":206,"unknown_85":37120,"ignition":39,"odometer":null,"unknown_44":-4307341168332767232}} 
[2026-07-01 21:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":119311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:29:59] local.INFO: GPS data processed {"connection_id":119311,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:29:59] local.INFO: Acknowledgment sent {"connection_id":119311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:30:30] local.INFO: TCP Data received {"connection_id":119311,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e683670012cc42c80075553c0001100b82e..."} 
[2026-07-01 21:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e683670012cc42c80075553c0001100b82e..."} 
[2026-07-01 21:30:30] local.INFO: Processing buffer {"connection_id":119311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e683670012cc42c80075553c0001100b82e..."} 
[2026-07-01 21:30:30] local.INFO: Packet analysis {"connection_id":119311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e68"} 
[2026-07-01 21:30:30] local.INFO: Extracted packet for processing {"connection_id":119311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e68"} 
[2026-07-01 21:30:30] local.INFO: GPS Element Parsed {"raw_longitude":751053952,"raw_latitude":123032512,"longitude_deg":75.1053952,"latitude_deg":12.3032512,"altitude":17,"angle":184,"satellites":46,"speed":46,"hex_longitude":"2cc42c80","hex_latitude":"075553c0","is_valid_coordinates":true} 
[2026-07-01 21:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427920640001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334047571141984256,"note":"Value kept but may cause issues"} 
[2026-07-01 21:30:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4309804074406563840,"note":"Value kept but may cause issues"} 
[2026-07-01 21:30:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782921574000,"timestamp_ms":1782921574000,"timestamp_seconds":1782921574,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e683670"} 
[2026-07-01 21:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:30:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-01 21:30:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:30:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":119311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":119311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":119311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:30:30] 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-01 21:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427920640001,"66":27484,"34":206,"85":37632,"24":46,"16":334047571141984256,"44":-4309804074406563840},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,44]} 
[2026-07-01 21:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427920640001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:30:30] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-01 21:30:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 21:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334047571141984256,"km_value":334047571141984.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:30:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4309804074406563840,"description":"Unknown IO ID 44"} 
[2026-07-01 21:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427920640001,"power":27484,"unknown_34":206,"unknown_85":37632,"ignition":46,"odometer":null,"unknown_44":-4309804074406563840}} 
[2026-07-01 21:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":119311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:30:30] local.INFO: GPS data processed {"connection_id":119311,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:30:30] local.INFO: Acknowledgment sent {"connection_id":119311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:30:54] local.INFO: TCP Data received {"connection_id":119422,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:30:54] local.INFO: Processing buffer {"connection_id":119422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:30:54] local.INFO: IMEI packet received {"connection_id":119422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 21:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":119422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:31:05] local.INFO: TCP Data received {"connection_id":119422,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:31:05] local.INFO: Processing buffer {"connection_id":119422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:31:05] local.INFO: IMEI packet received {"connection_id":119422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":119422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:31:06] local.INFO: TCP Data received {"connection_id":119422,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e6851c8012cc42900075530a8000f00b92e..."} 
[2026-07-01 21:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e6851c8012cc42900075530a8000f00b92e..."} 
[2026-07-01 21:31:06] local.INFO: Processing buffer {"connection_id":119422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e6851c8012cc42900075530a8000f00b92e..."} 
[2026-07-01 21:31:06] local.INFO: Packet analysis {"connection_id":119422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e68"} 
[2026-07-01 21:31:06] local.INFO: Extracted packet for processing {"connection_id":119422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e68"} 
[2026-07-01 21:31:06] local.INFO: GPS Element Parsed {"raw_longitude":751053056,"raw_latitude":123023528,"longitude_deg":75.1053056,"latitude_deg":12.3023528,"altitude":15,"angle":185,"satellites":46,"speed":56,"hex_longitude":"2cc42900","hex_latitude":"075530a8","is_valid_coordinates":true} 
[2026-07-01 21:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427922944001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334048009228648448,"note":"Value kept but may cause issues"} 
[2026-07-01 21:31:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4310929974315728896,"note":"Value kept but may cause issues"} 
[2026-07-01 21:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782921581000,"timestamp_ms":1782921581000,"timestamp_seconds":1782921581,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e6851c8"} 
[2026-07-01 21:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 21:31:06] 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-01 21:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":119422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":119422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":119422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 21:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427922944001,"66":27332,"34":206,"85":37632,"24":56,"16":334048009228648448,"44":-4310929974315728896},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,44]} 
[2026-07-01 21:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427922944001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:31:06] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-01 21:31:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 21:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334048009228648448,"km_value":334048009228648.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:31:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4310929974315728896,"description":"Unknown IO ID 44"} 
[2026-07-01 21:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427922944001,"power":27332,"unknown_34":206,"unknown_85":37632,"ignition":56,"odometer":null,"unknown_44":-4310929974315728896}} 
[2026-07-01 21:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":119422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:31:06] local.INFO: GPS data processed {"connection_id":119422,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:31:06] local.INFO: Acknowledgment sent {"connection_id":119422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:31:07] local.INFO: TCP Data received {"connection_id":119422,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e686938012cc4268007550de0000d00b82c..."} 
[2026-07-01 21:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e686938012cc4268007550de0000d00b82c..."} 
[2026-07-01 21:31:07] local.INFO: Processing buffer {"connection_id":119422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e686938012cc4268007550de0000d00b82c..."} 
[2026-07-01 21:31:07] local.INFO: Packet analysis {"connection_id":119422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e68"} 
[2026-07-01 21:31:07] local.INFO: Extracted packet for processing {"connection_id":119422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e68"} 
[2026-07-01 21:31:07] local.INFO: GPS Element Parsed {"raw_longitude":751052416,"raw_latitude":123014624,"longitude_deg":75.1052416,"latitude_deg":12.3014624,"altitude":13,"angle":184,"satellites":44,"speed":60,"hex_longitude":"2cc42680","hex_latitude":"07550de0","is_valid_coordinates":true} 
[2026-07-01 21: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-01 21:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427924736001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334048443020345344,"note":"Value kept but may cause issues"} 
[2026-07-01 21:31:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4311915136736516096,"note":"Value kept but may cause issues"} 
[2026-07-01 21:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782921587000,"timestamp_ms":1782921587000,"timestamp_seconds":1782921587,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e686938"} 
[2026-07-01 21: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-01 21:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-01 21:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21: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-01 21: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-01 21:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":119422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":119422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":119422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:31: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-01 21:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427924736001,"66":27332,"34":206,"85":37632,"24":60,"16":334048443020345344,"44":-4311915136736516096},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,44]} 
[2026-07-01 21:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427924736001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:31:07] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-07-01 21:31:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 21:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334048443020345344,"km_value":334048443020345.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:31:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4311915136736516096,"description":"Unknown IO ID 44"} 
[2026-07-01 21:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427924736001,"power":27332,"unknown_34":206,"unknown_85":37632,"ignition":60,"odometer":null,"unknown_44":-4311915136736516096}} 
[2026-07-01 21:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":119422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:31:07] local.INFO: GPS data processed {"connection_id":119422,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:31:07] local.INFO: Acknowledgment sent {"connection_id":119422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:31:45] local.INFO: TCP Data received {"connection_id":121161,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 21:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121161,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 21:31:45] local.INFO: Processing buffer {"connection_id":121161,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 21:31:45] local.INFO: IMEI packet received {"connection_id":121161,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 21:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":121161,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:31:45] local.INFO: TCP Data received {"connection_id":121162,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:31:45] local.INFO: Processing buffer {"connection_id":121162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:31:45] local.INFO: IMEI packet received {"connection_id":121162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 21:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":121162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:31:49] local.INFO: TCP Data received {"connection_id":121162,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:31:49] local.INFO: Processing buffer {"connection_id":121162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:31:49] local.INFO: IMEI packet received {"connection_id":121162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":121162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:31:52] local.INFO: TCP Data received {"connection_id":121162,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:31:52] local.INFO: Processing buffer {"connection_id":121162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:31:52] local.INFO: IMEI packet received {"connection_id":121162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":121162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:31:53] local.INFO: TCP Data received {"connection_id":121162,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e6972d8012cc3d0800753e6b80011009c2f..."} 
[2026-07-01 21:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e6972d8012cc3d0800753e6b80011009c2f..."} 
[2026-07-01 21:31:53] local.INFO: Processing buffer {"connection_id":121162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e6972d8012cc3d0800753e6b80011009c2f..."} 
[2026-07-01 21:31:53] local.INFO: Packet analysis {"connection_id":121162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e69"} 
[2026-07-01 21:31:53] local.INFO: Extracted packet for processing {"connection_id":121162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e69"} 
[2026-07-01 21:31:53] local.INFO: GPS Element Parsed {"raw_longitude":751030400,"raw_latitude":122939064,"longitude_deg":75.10304,"latitude_deg":12.2939064,"altitude":17,"angle":156,"satellites":47,"speed":54,"hex_longitude":"2cc3d080","hex_latitude":"0753e6b8","is_valid_coordinates":true} 
[2026-07-01 21:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:31:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427941632001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:31:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334052501764440064,"note":"Value kept but may cause issues"} 
[2026-07-01 21:31:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4340907059356911616,"note":"Value kept but may cause issues"} 
[2026-07-01 21:31:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:31:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782921655000,"timestamp_ms":1782921655000,"timestamp_seconds":1782921655,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e6972d8"} 
[2026-07-01 21:31:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:31:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-01 21:31:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:31:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:31:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:31:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:31:53] local.INFO: Teltonika packet parsed successfully {"connection_id":121162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:31:53] local.INFO: Passing IMEI to GPS processor {"connection_id":121162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:31:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":121162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:31:53] 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-01 21:31:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:31:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:31:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427941632001,"66":27332,"185":206,"85":37632,"24":54,"16":334052501764440064,"44":-4340907059356911616},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,44]} 
[2026-07-01 21:31:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:31:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:31:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427941632001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:31:53] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-01 21:31:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 21:31:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334052501764440064,"km_value":334052501764440.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:31:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4340907059356911616,"description":"Unknown IO ID 44"} 
[2026-07-01 21:31:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427941632001,"power":27332,"unknown_185":206,"unknown_85":37632,"ignition":54,"odometer":null,"unknown_44":-4340907059356911616}} 
[2026-07-01 21:31:53] local.INFO: DEBUG: GPS processor result {"connection_id":121162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:31:53] local.INFO: GPS data processed {"connection_id":121162,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:31:53] local.INFO: Acknowledgment sent {"connection_id":121162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:31:54] local.INFO: TCP Data received {"connection_id":121162,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e698e30012cc3e0c00753c2d0000e009b2e..."} 
[2026-07-01 21:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e698e30012cc3e0c00753c2d0000e009b2e..."} 
[2026-07-01 21:31:54] local.INFO: Processing buffer {"connection_id":121162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e698e30012cc3e0c00753c2d0000e009b2e..."} 
[2026-07-01 21:31:54] local.INFO: Packet analysis {"connection_id":121162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e69"} 
[2026-07-01 21:31:54] local.INFO: Extracted packet for processing {"connection_id":121162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e69"} 
[2026-07-01 21:31:54] local.INFO: GPS Element Parsed {"raw_longitude":751034560,"raw_latitude":122929872,"longitude_deg":75.103456,"latitude_deg":12.2929872,"altitude":14,"angle":155,"satellites":46,"speed":58,"hex_longitude":"2cc3e0c0","hex_latitude":"0753c2d0","is_valid_coordinates":true} 
[2026-07-01 21:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:31:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427943680001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:31:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334052987095744512,"note":"Value kept but may cause issues"} 
[2026-07-01 21:31:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4336825672197031936,"note":"Value kept but may cause issues"} 
[2026-07-01 21:31:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:31:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782921662000,"timestamp_ms":1782921662000,"timestamp_seconds":1782921662,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e698e30"} 
[2026-07-01 21:31:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:31: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-01 21:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-01 21:31:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:31:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:31:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:31:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:31:54] local.INFO: Teltonika packet parsed successfully {"connection_id":121162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:31:54] local.INFO: Passing IMEI to GPS processor {"connection_id":121162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:31:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":121162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:31:54] 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-01 21:31:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:31:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:31:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427943680001,"66":27463,"185":206,"85":37632,"24":58,"16":334052987095744512,"44":-4336825672197031936},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,44]} 
[2026-07-01 21:31:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:31:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:31:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427943680001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:31:54] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-01 21:31:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 21:31:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334052987095744512,"km_value":334052987095744.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:31:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4336825672197031936,"description":"Unknown IO ID 44"} 
[2026-07-01 21:31:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427943680001,"power":27463,"unknown_185":206,"unknown_85":37632,"ignition":58,"odometer":null,"unknown_44":-4336825672197031936}} 
[2026-07-01 21:31:54] local.INFO: DEBUG: GPS processor result {"connection_id":121162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:31:54] local.INFO: GPS data processed {"connection_id":121162,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:31:54] local.INFO: Acknowledgment sent {"connection_id":121162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:32:24] local.INFO: TCP Data received {"connection_id":119312,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 21:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119312,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 21:32:24] local.INFO: Processing buffer {"connection_id":119312,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 21:32:24] local.INFO: IMEI packet received {"connection_id":119312,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 21:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":119312,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:32:25] local.INFO: TCP Data received {"connection_id":121162,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e69a5a0012cc3ef000753a2d0000c009d2d..."} 
[2026-07-01 21:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e69a5a0012cc3ef000753a2d0000c009d2d..."} 
[2026-07-01 21:32:25] local.INFO: Processing buffer {"connection_id":121162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e69a5a0012cc3ef000753a2d0000c009d2d..."} 
[2026-07-01 21:32:25] local.INFO: Packet analysis {"connection_id":121162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e69"} 
[2026-07-01 21:32:25] local.INFO: Extracted packet for processing {"connection_id":121162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e69"} 
[2026-07-01 21:32:25] local.INFO: GPS Element Parsed {"raw_longitude":751038208,"raw_latitude":122921680,"longitude_deg":75.1038208,"latitude_deg":12.292168,"altitude":12,"angle":157,"satellites":45,"speed":59,"hex_longitude":"2cc3ef00","hex_latitude":"0753a2d0","is_valid_coordinates":true} 
[2026-07-01 21:32:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:32:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427945472001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:32:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334053420887441408,"note":"Value kept but may cause issues"} 
[2026-07-01 21:32:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4332251703827836928,"note":"Value kept but may cause issues"} 
[2026-07-01 21:32:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:32:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782921668000,"timestamp_ms":1782921668000,"timestamp_seconds":1782921668,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e69a5a0"} 
[2026-07-01 21:32:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:32: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-01 21:32:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-01 21:32:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:32:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:32:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:32:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:32:25] local.INFO: Teltonika packet parsed successfully {"connection_id":121162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:32:25] local.INFO: Passing IMEI to GPS processor {"connection_id":121162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:32:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":121162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:32:25] 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-01 21:32:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:32:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:32:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427945472001,"66":27332,"185":206,"85":37632,"24":59,"16":334053420887441408,"44":-4332251703827836928},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,44]} 
[2026-07-01 21:32:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:32:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:32:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427945472001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:32:25] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-01 21:32:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 21:32:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334053420887441408,"km_value":334053420887441.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:32:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4332251703827836928,"description":"Unknown IO ID 44"} 
[2026-07-01 21:32:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427945472001,"power":27332,"unknown_185":206,"unknown_85":37632,"ignition":59,"odometer":null,"unknown_44":-4332251703827836928}} 
[2026-07-01 21:32:25] local.INFO: DEBUG: GPS processor result {"connection_id":121162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:32:25] local.INFO: GPS data processed {"connection_id":121162,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:32:25] local.INFO: Acknowledgment sent {"connection_id":121162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:32:54] local.INFO: TCP Data received {"connection_id":120097,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:32:54] local.INFO: Processing buffer {"connection_id":120097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:32:54] local.INFO: IMEI packet received {"connection_id":120097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 21:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":120097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:32:56] local.INFO: TCP Data received {"connection_id":120097,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:32:56] local.INFO: Processing buffer {"connection_id":120097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:32:56] local.INFO: IMEI packet received {"connection_id":120097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":120097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:32:57] local.INFO: TCP Data received {"connection_id":120097,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e69bd10012cc3fc0007538248000b009e2d..."} 
[2026-07-01 21:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e69bd10012cc3fc0007538248000b009e2d..."} 
[2026-07-01 21:32:57] local.INFO: Processing buffer {"connection_id":120097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e69bd10012cc3fc0007538248000b009e2d..."} 
[2026-07-01 21:32:57] local.INFO: Packet analysis {"connection_id":120097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e69"} 
[2026-07-01 21:32:57] local.INFO: Extracted packet for processing {"connection_id":120097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e69"} 
[2026-07-01 21:32:57] local.INFO: GPS Element Parsed {"raw_longitude":751041536,"raw_latitude":122913352,"longitude_deg":75.1041536,"latitude_deg":12.2913352,"altitude":11,"angle":158,"satellites":45,"speed":58,"hex_longitude":"2cc3fc00","hex_latitude":"07538248","is_valid_coordinates":true} 
[2026-07-01 21:32: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-01 21:32:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427947008001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:32:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334053854679138304,"note":"Value kept but may cause issues"} 
[2026-07-01 21:32:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4328240685411807232,"note":"Value kept but may cause issues"} 
[2026-07-01 21:32:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:32:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782921674000,"timestamp_ms":1782921674000,"timestamp_seconds":1782921674,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e69bd10"} 
[2026-07-01 21:32:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:32:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-01 21:32:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:32: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-01 21:32:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:32:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:32:57] local.INFO: Teltonika packet parsed successfully {"connection_id":120097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:32:57] local.INFO: Passing IMEI to GPS processor {"connection_id":120097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:32:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":120097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:32:57] 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-01 21:32:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:32:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:32:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427947008001,"66":27376,"185":206,"85":37632,"24":58,"16":334053854679138304,"44":-4328240685411807232},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,44]} 
[2026-07-01 21:32:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:32:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:32:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427947008001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:32:57] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-07-01 21:32:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 21:32:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334053854679138304,"km_value":334053854679138.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:32:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4328240685411807232,"description":"Unknown IO ID 44"} 
[2026-07-01 21:32:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427947008001,"power":27376,"unknown_185":206,"unknown_85":37632,"ignition":58,"odometer":null,"unknown_44":-4328240685411807232}} 
[2026-07-01 21:32:57] local.INFO: DEBUG: GPS processor result {"connection_id":120097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:32:57] local.INFO: GPS data processed {"connection_id":120097,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:32:57] local.INFO: Acknowledgment sent {"connection_id":120097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:33:28] local.INFO: TCP Data received {"connection_id":120097,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e6aedc0012cc49b0007520738000c009c2e..."} 
[2026-07-01 21:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e6aedc0012cc49b0007520738000c009c2e..."} 
[2026-07-01 21:33:28] local.INFO: Processing buffer {"connection_id":120097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e6aedc0012cc49b0007520738000c009c2e..."} 
[2026-07-01 21:33:28] local.INFO: Packet analysis {"connection_id":120097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e6a"} 
[2026-07-01 21:33:28] local.INFO: Extracted packet for processing {"connection_id":120097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e6a"} 
[2026-07-01 21:33:28] local.INFO: GPS Element Parsed {"raw_longitude":751082240,"raw_latitude":122816312,"longitude_deg":75.108224,"latitude_deg":12.2816312,"altitude":12,"angle":156,"satellites":46,"speed":58,"hex_longitude":"2cc49b00","hex_latitude":"07520738","is_valid_coordinates":true} 
[2026-07-01 21: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-01 21:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427966720001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334058939920416768,"note":"Value kept but may cause issues"} 
[2026-07-01 21:33:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4284471326557874176,"note":"Value kept but may cause issues"} 
[2026-07-01 21:33:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782921752000,"timestamp_ms":1782921752000,"timestamp_seconds":1782921752,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e6aedc0"} 
[2026-07-01 21: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-01 21:33: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-01 21: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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-01 21:33:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21: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-01 21: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-01 21:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":120097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":120097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":120097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:33:28] 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-01 21:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427966720001,"66":27615,"171":206,"85":37632,"24":58,"16":334058939920416768,"44":-4284471326557874176},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-07-01 21:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427966720001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:33:28] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-07-01 21:33:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 21:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334058939920416768,"km_value":334058939920416.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:33:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4284471326557874176,"description":"Unknown IO ID 44"} 
[2026-07-01 21:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427966720001,"power":27615,"unknown_171":206,"unknown_85":37632,"ignition":58,"odometer":null,"unknown_44":-4284471326557874176}} 
[2026-07-01 21:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":120097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:33:28] local.INFO: GPS data processed {"connection_id":120097,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:33:28] local.INFO: Acknowledgment sent {"connection_id":120097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:33:48] local.INFO: TCP Data received {"connection_id":119424,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:33:48] local.INFO: Processing buffer {"connection_id":119424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:33:48] local.INFO: IMEI packet received {"connection_id":119424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 21:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":119424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:33:52] local.INFO: TCP Data received {"connection_id":119424,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:33:52] local.INFO: Processing buffer {"connection_id":119424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:33:52] local.INFO: IMEI packet received {"connection_id":119424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":119424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:33:56] local.INFO: TCP Data received {"connection_id":119424,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e6b0530012cc4a9000751e6d0000c009e2d..."} 
[2026-07-01 21:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e6b0530012cc4a9000751e6d0000c009e2d..."} 
[2026-07-01 21:33:56] local.INFO: Processing buffer {"connection_id":119424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e6b0530012cc4a9000751e6d0000c009e2d..."} 
[2026-07-01 21:33:56] local.INFO: Packet analysis {"connection_id":119424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e6b"} 
[2026-07-01 21:33:56] local.INFO: Extracted packet for processing {"connection_id":119424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e6b"} 
[2026-07-01 21:33:56] local.INFO: GPS Element Parsed {"raw_longitude":751085824,"raw_latitude":122808016,"longitude_deg":75.1085824,"latitude_deg":12.2808016,"altitude":12,"angle":158,"satellites":45,"speed":60,"hex_longitude":"2cc4a900","hex_latitude":"0751e6d0","is_valid_coordinates":true} 
[2026-07-01 21: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-01 21:33:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427968512001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:33:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334059378007080960,"note":"Value kept but may cause issues"} 
[2026-07-01 21:33:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4279826989444548608,"note":"Value kept but may cause issues"} 
[2026-07-01 21:33:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:33:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782921758000,"timestamp_ms":1782921758000,"timestamp_seconds":1782921758,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e6b0530"} 
[2026-07-01 21: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-01 21:33:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21: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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-01 21:33:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21: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-01 21: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-01 21:33:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:33:56] local.INFO: Teltonika packet parsed successfully {"connection_id":119424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:33:56] local.INFO: Passing IMEI to GPS processor {"connection_id":119424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:33:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":119424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:33:56] 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-01 21:33:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:33:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:33:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427968512001,"66":27517,"171":206,"85":37632,"24":60,"16":334059378007080960,"44":-4279826989444548608},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-07-01 21:33:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:33:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:33:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427968512001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:33:56] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-07-01 21:33:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 21:33:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334059378007080960,"km_value":334059378007080.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:33:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4279826989444548608,"description":"Unknown IO ID 44"} 
[2026-07-01 21:33:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427968512001,"power":27517,"unknown_171":206,"unknown_85":37632,"ignition":60,"odometer":null,"unknown_44":-4279826989444548608}} 
[2026-07-01 21:33:56] local.INFO: DEBUG: GPS processor result {"connection_id":119424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:33:56] local.INFO: GPS data processed {"connection_id":119424,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:33:56] local.INFO: Acknowledgment sent {"connection_id":119424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:34:48] local.INFO: TCP Data received {"connection_id":121164,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:34:48] local.INFO: Processing buffer {"connection_id":121164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:34:48] local.INFO: IMEI packet received {"connection_id":121164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 21:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":121164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:34:54] local.INFO: TCP Data received {"connection_id":121164,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:34:54] local.INFO: Processing buffer {"connection_id":121164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:34:54] local.INFO: IMEI packet received {"connection_id":121164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":121164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:34:54] local.INFO: TCP Data received {"connection_id":121164,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e6b3410012cc4c4000751a5f8000d009d2d..."} 
[2026-07-01 21:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e6b3410012cc4c4000751a5f8000d009d2d..."} 
[2026-07-01 21:34:54] local.INFO: Processing buffer {"connection_id":121164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e6b3410012cc4c4000751a5f8000d009d2d..."} 
[2026-07-01 21:34:54] local.INFO: Packet analysis {"connection_id":121164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e6b"} 
[2026-07-01 21:34:54] local.INFO: Extracted packet for processing {"connection_id":121164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e6b"} 
[2026-07-01 21:34:54] local.INFO: GPS Element Parsed {"raw_longitude":751092736,"raw_latitude":122791416,"longitude_deg":75.1092736,"latitude_deg":12.2791416,"altitude":13,"angle":157,"satellites":45,"speed":58,"hex_longitude":"2cc4c400","hex_latitude":"0751a5f8","is_valid_coordinates":true} 
[2026-07-01 21: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-01 21:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427971584001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334060245590474752,"note":"Value kept but may cause issues"} 
[2026-07-01 21:34:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4272086427589277696,"note":"Value kept but may cause issues"} 
[2026-07-01 21:34:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782921770000,"timestamp_ms":1782921770000,"timestamp_seconds":1782921770,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e6b3410"} 
[2026-07-01 21: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-01 21:34: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-01 21: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-01 21:34:54] 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-01 21: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-01 21: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-01 21:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":121164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":121164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":121164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:34:54] 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-01 21:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427971584001,"66":27463,"171":206,"85":37632,"24":58,"16":334060245590474752,"44":-4272086427589277696},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-07-01 21:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427971584001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:34:54] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-07-01 21:34:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 21:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334060245590474752,"km_value":334060245590474.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:34:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4272086427589277696,"description":"Unknown IO ID 44"} 
[2026-07-01 21:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427971584001,"power":27463,"unknown_171":206,"unknown_85":37632,"ignition":58,"odometer":null,"unknown_44":-4272086427589277696}} 
[2026-07-01 21:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":121164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:34:54] local.INFO: GPS data processed {"connection_id":121164,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:34:54] local.INFO: Acknowledgment sent {"connection_id":121164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:35:20] local.INFO: TCP Data received {"connection_id":119424,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e6b1ca0012cc4b6800751c608000c009c2d..."} 
[2026-07-01 21:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e6b1ca0012cc4b6800751c608000c009c2d..."} 
[2026-07-01 21:35:20] local.INFO: Processing buffer {"connection_id":119424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e6b1ca0012cc4b6800751c608000c009c2d..."} 
[2026-07-01 21:35:20] local.INFO: Packet analysis {"connection_id":119424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e6b"} 
[2026-07-01 21:35:20] local.INFO: Extracted packet for processing {"connection_id":119424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e6b"} 
[2026-07-01 21:35:20] local.INFO: GPS Element Parsed {"raw_longitude":751089280,"raw_latitude":122799624,"longitude_deg":75.108928,"latitude_deg":12.2799624,"altitude":12,"angle":156,"satellites":45,"speed":59,"hex_longitude":"2cc4b680","hex_latitude":"0751c608","is_valid_coordinates":true} 
[2026-07-01 21: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-01 21:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427970048001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334059816093745152,"note":"Value kept but may cause issues"} 
[2026-07-01 21:35:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4275886339772723200,"note":"Value kept but may cause issues"} 
[2026-07-01 21:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782921764000,"timestamp_ms":1782921764000,"timestamp_seconds":1782921764,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e6b1ca0"} 
[2026-07-01 21: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-01 21:35: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-01 21: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-01 21:35:20] 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-01 21: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-01 21: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-01 21:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":119424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":119424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":119424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:35: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-01 21:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427970048001,"66":27517,"171":206,"85":37632,"24":59,"16":334059816093745152,"44":-4275886339772723200},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-07-01 21:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427970048001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:35:20] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-07-01 21:35:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 21:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334059816093745152,"km_value":334059816093745.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:35:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4275886339772723200,"description":"Unknown IO ID 44"} 
[2026-07-01 21:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427970048001,"power":27517,"unknown_171":206,"unknown_85":37632,"ignition":59,"odometer":null,"unknown_44":-4275886339772723200}} 
[2026-07-01 21:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":119424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:35:20] local.INFO: GPS data processed {"connection_id":119424,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:35:20] local.INFO: Acknowledgment sent {"connection_id":119424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:35:25] local.INFO: TCP Data received {"connection_id":121164,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e6b4f68012cc4d280075181f0000d009d2d..."} 
[2026-07-01 21:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e6b4f68012cc4d280075181f0000d009d2d..."} 
[2026-07-01 21:35:25] local.INFO: Processing buffer {"connection_id":121164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e6b4f68012cc4d280075181f0000d009d2d..."} 
[2026-07-01 21:35:25] local.INFO: Packet analysis {"connection_id":121164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e6b"} 
[2026-07-01 21:35:25] local.INFO: Extracted packet for processing {"connection_id":121164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e6b"} 
[2026-07-01 21:35:25] local.INFO: GPS Element Parsed {"raw_longitude":751096448,"raw_latitude":122782192,"longitude_deg":75.1096448,"latitude_deg":12.2782192,"altitude":13,"angle":157,"satellites":45,"speed":53,"hex_longitude":"2cc4d280","hex_latitude":"075181f0","is_valid_coordinates":true} 
[2026-07-01 21:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:35:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427973120001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:35:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334060726626811904,"note":"Value kept but may cause issues"} 
[2026-07-01 21:35:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4268286515405785088,"note":"Value kept but may cause issues"} 
[2026-07-01 21:35:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:35:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782921777000,"timestamp_ms":1782921777000,"timestamp_seconds":1782921777,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e6b4f68"} 
[2026-07-01 21:35:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:35: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-01 21:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-01 21:35:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:35:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:35:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:35:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:35:25] local.INFO: Teltonika packet parsed successfully {"connection_id":121164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:35:25] local.INFO: Passing IMEI to GPS processor {"connection_id":121164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:35:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":121164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:35:25] 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-01 21:35:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:35:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:35:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427973120001,"66":27517,"171":206,"85":37632,"24":53,"16":334060726626811904,"44":-4268286515405785088},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-07-01 21:35:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:35:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:35:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427973120001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:35:25] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-07-01 21:35:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 21:35:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334060726626811904,"km_value":334060726626811.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:35:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4268286515405785088,"description":"Unknown IO ID 44"} 
[2026-07-01 21:35:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427973120001,"power":27517,"unknown_171":206,"unknown_85":37632,"ignition":53,"odometer":null,"unknown_44":-4268286515405785088}} 
[2026-07-01 21:35:25] local.INFO: DEBUG: GPS processor result {"connection_id":121164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:35:25] local.INFO: GPS data processed {"connection_id":121164,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:35:25] local.INFO: Acknowledgment sent {"connection_id":121164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:35:48] local.INFO: TCP Data received {"connection_id":120098,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:35:48] local.INFO: Processing buffer {"connection_id":120098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:35:48] local.INFO: IMEI packet received {"connection_id":120098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 21:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":120098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:35:54] local.INFO: TCP Data received {"connection_id":120098,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:35:54] local.INFO: Processing buffer {"connection_id":120098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:35:54] local.INFO: IMEI packet received {"connection_id":120098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":120098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:35:54] local.INFO: TCP Data received {"connection_id":120098,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e6b6ea8012cc4df4007516100000c00a12d..."} 
[2026-07-01 21:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e6b6ea8012cc4df4007516100000c00a12d..."} 
[2026-07-01 21:35:54] local.INFO: Processing buffer {"connection_id":120098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e6b6ea8012cc4df4007516100000c00a12d..."} 
[2026-07-01 21:35:54] local.INFO: Packet analysis {"connection_id":120098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e6b"} 
[2026-07-01 21:35:54] local.INFO: Extracted packet for processing {"connection_id":120098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e6b"} 
[2026-07-01 21:35:54] local.INFO: GPS Element Parsed {"raw_longitude":751099712,"raw_latitude":122773760,"longitude_deg":75.1099712,"latitude_deg":12.277376,"altitude":12,"angle":161,"satellites":45,"speed":40,"hex_longitude":"2cc4df40","hex_latitude":"07516100","is_valid_coordinates":true} 
[2026-07-01 21: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-01 21:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427974912001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334061164713476096,"note":"Value kept but may cause issues"} 
[2026-07-01 21:35:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4264205128245841920,"note":"Value kept but may cause issues"} 
[2026-07-01 21:35:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782921785000,"timestamp_ms":1782921785000,"timestamp_seconds":1782921785,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e6b6ea8"} 
[2026-07-01 21: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-01 21:35: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-01 21: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-01 21:35:54] 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-01 21: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-01 21: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-01 21:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":120098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":120098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":120098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:35:54] 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-01 21:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427974912001,"66":27604,"171":206,"85":37632,"24":40,"16":334061164713476096,"44":-4264205128245841920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-07-01 21:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427974912001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:35:54] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-07-01 21:35:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 21:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334061164713476096,"km_value":334061164713476.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:35:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4264205128245841920,"description":"Unknown IO ID 44"} 
[2026-07-01 21:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427974912001,"power":27604,"unknown_171":206,"unknown_85":37632,"ignition":40,"odometer":null,"unknown_44":-4264205128245841920}} 
[2026-07-01 21:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":120098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:35:54] local.INFO: GPS data processed {"connection_id":120098,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:35:54] local.INFO: Acknowledgment sent {"connection_id":120098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:36:25] local.INFO: TCP Data received {"connection_id":120098,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e6b91d0012cc4eb8007513f28000c009e2f..."} 
[2026-07-01 21:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e6b91d0012cc4eb8007513f28000c009e2f..."} 
[2026-07-01 21:36:25] local.INFO: Processing buffer {"connection_id":120098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e6b91d0012cc4eb8007513f28000c009e2f..."} 
[2026-07-01 21:36:25] local.INFO: Packet analysis {"connection_id":120098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e6b"} 
[2026-07-01 21:36:25] local.INFO: Extracted packet for processing {"connection_id":120098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e6b"} 
[2026-07-01 21:36:25] local.INFO: GPS Element Parsed {"raw_longitude":751102848,"raw_latitude":122765096,"longitude_deg":75.1102848,"latitude_deg":12.2765096,"altitude":12,"angle":158,"satellites":47,"speed":42,"hex_longitude":"2cc4eb80","hex_latitude":"07513f28","is_valid_coordinates":true} 
[2026-07-01 21: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-01 21:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427976960001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334061611390074880,"note":"Value kept but may cause issues"} 
[2026-07-01 21:36:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4260616322294939648,"note":"Value kept but may cause issues"} 
[2026-07-01 21:36:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782921794000,"timestamp_ms":1782921794000,"timestamp_seconds":1782921794,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e6b91d0"} 
[2026-07-01 21: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-01 21:36:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 21: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-01 21:36:25] 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-01 21: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-01 21: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-01 21:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":120098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":120098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":120098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:36:25] 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-01 21:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427976960001,"66":27604,"171":206,"85":37632,"24":42,"16":334061611390074880,"44":-4260616322294939648},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-07-01 21:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427976960001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:36:25] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-07-01 21:36:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 21:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334061611390074880,"km_value":334061611390074.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:36:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4260616322294939648,"description":"Unknown IO ID 44"} 
[2026-07-01 21:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427976960001,"power":27604,"unknown_171":206,"unknown_85":37632,"ignition":42,"odometer":null,"unknown_44":-4260616322294939648}} 
[2026-07-01 21:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":120098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:36:25] local.INFO: GPS data processed {"connection_id":120098,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:36:25] local.INFO: Acknowledgment sent {"connection_id":120098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:36:51] local.INFO: TCP Data received {"connection_id":120099,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:36:51] local.INFO: Processing buffer {"connection_id":120099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:36:51] local.INFO: IMEI packet received {"connection_id":120099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 21:36:51] local.INFO: IMEI acknowledgment sent {"connection_id":120099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:36:54] local.INFO: TCP Data received {"connection_id":120099,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:36:54] local.INFO: Processing buffer {"connection_id":120099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:36:54] local.INFO: IMEI packet received {"connection_id":120099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":120099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:36:59] local.INFO: TCP Data received {"connection_id":120099,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:36:59] local.INFO: Processing buffer {"connection_id":120099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:36:59] local.INFO: IMEI packet received {"connection_id":120099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":120099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:37:04] local.INFO: TCP Data received {"connection_id":120099,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e6bb8e0012cc4f98007511d78000c00a12e..."} 
[2026-07-01 21:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e6bb8e0012cc4f98007511d78000c00a12e..."} 
[2026-07-01 21:37:04] local.INFO: Processing buffer {"connection_id":120099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e6bb8e0012cc4f98007511d78000c00a12e..."} 
[2026-07-01 21:37:04] local.INFO: Packet analysis {"connection_id":120099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e6b"} 
[2026-07-01 21:37:04] local.INFO: Extracted packet for processing {"connection_id":120099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e6b"} 
[2026-07-01 21:37:04] local.INFO: GPS Element Parsed {"raw_longitude":751106432,"raw_latitude":122756472,"longitude_deg":75.1106432,"latitude_deg":12.2756472,"altitude":12,"angle":161,"satellites":46,"speed":28,"hex_longitude":"2cc4f980","hex_latitude":"07511d78","is_valid_coordinates":true} 
[2026-07-01 21: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-01 21:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427979264001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334062062361640960,"note":"Value kept but may cause issues"} 
[2026-07-01 21:37:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4257168253832452096,"note":"Value kept but may cause issues"} 
[2026-07-01 21:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782921804000,"timestamp_ms":1782921804000,"timestamp_seconds":1782921804,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e6bb8e0"} 
[2026-07-01 21: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-01 21:37:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-01 21:37:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21: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-01 21: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-01 21:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":120099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":120099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":120099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:37: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-01 21:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427979264001,"66":27517,"171":206,"85":37632,"24":28,"16":334062062361640960,"44":-4257168253832452096},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-07-01 21:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427979264001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:37:04] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-07-01 21:37:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 21:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334062062361640960,"km_value":334062062361640.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:37:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4257168253832452096,"description":"Unknown IO ID 44"} 
[2026-07-01 21:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427979264001,"power":27517,"unknown_171":206,"unknown_85":37632,"ignition":28,"odometer":null,"unknown_44":-4257168253832452096}} 
[2026-07-01 21:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":120099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:37:04] local.INFO: GPS data processed {"connection_id":120099,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:37:04] local.INFO: Acknowledgment sent {"connection_id":120099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:37:09] local.INFO: TCP Data received {"connection_id":120099,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e6bd438012cc4fd8007510e78000c00ac2f..."} 
[2026-07-01 21:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e6bd438012cc4fd8007510e78000c00ac2f..."} 
[2026-07-01 21:37:09] local.INFO: Processing buffer {"connection_id":120099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e6bd438012cc4fd8007510e78000c00ac2f..."} 
[2026-07-01 21:37:09] local.INFO: Packet analysis {"connection_id":120099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e6b"} 
[2026-07-01 21:37:09] local.INFO: Extracted packet for processing {"connection_id":120099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e6b"} 
[2026-07-01 21:37:09] local.INFO: GPS Element Parsed {"raw_longitude":751107456,"raw_latitude":122752632,"longitude_deg":75.1107456,"latitude_deg":12.2752632,"altitude":12,"angle":172,"satellites":47,"speed":18,"hex_longitude":"2cc4fd80","hex_latitude":"07510e78","is_valid_coordinates":true} 
[2026-07-01 21: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-01 21:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456427981824001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334062255635169280,"note":"Value kept but may cause issues"} 
[2026-07-01 21:37:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4253227604160710656,"note":"Value kept but may cause issues"} 
[2026-07-01 21:37:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782921811000,"timestamp_ms":1782921811000,"timestamp_seconds":1782921811,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e6bd438"} 
[2026-07-01 21: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-01 21:37:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-01 21:37:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21: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-01 21: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-01 21:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":120099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":120099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":120099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:37:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 21:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456427981824001,"66":27517,"171":206,"85":37632,"24":18,"16":334062255635169280,"44":-4253227604160710656},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-07-01 21:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456427981824001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:37:09] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-07-01 21:37:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 21:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334062255635169280,"km_value":334062255635169.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:37:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4253227604160710656,"description":"Unknown IO ID 44"} 
[2026-07-01 21:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456427981824001,"power":27517,"unknown_171":206,"unknown_85":37632,"ignition":18,"odometer":null,"unknown_44":-4253227604160710656}} 
[2026-07-01 21:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":120099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:37:09] local.INFO: GPS data processed {"connection_id":120099,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:37:09] local.INFO: Acknowledgment sent {"connection_id":120099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:37:44] local.INFO: TCP Data received {"connection_id":119425,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 21:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119425,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 21:37:44] local.INFO: Processing buffer {"connection_id":119425,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 21:37:44] local.INFO: IMEI packet received {"connection_id":119425,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 21:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":119425,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:37:49] local.INFO: TCP Data received {"connection_id":119314,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:37:49] local.INFO: Processing buffer {"connection_id":119314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:37:49] local.INFO: IMEI packet received {"connection_id":119314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 21:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":119314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:37:54] local.INFO: TCP Data received {"connection_id":119314,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:37:54] local.INFO: Processing buffer {"connection_id":119314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:37:54] local.INFO: IMEI packet received {"connection_id":119314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":119314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:38:04] local.INFO: TCP Data received {"connection_id":119314,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e6e87a0012cc58200074fba80000f00982e..."} 
[2026-07-01 21:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e6e87a0012cc58200074fba80000f00982e..."} 
[2026-07-01 21:38:04] local.INFO: Processing buffer {"connection_id":119314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e6e87a0012cc58200074fba80000f00982e..."} 
[2026-07-01 21:38:04] local.INFO: Packet analysis {"connection_id":119314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e6e"} 
[2026-07-01 21:38:04] local.INFO: Extracted packet for processing {"connection_id":119314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e6e"} 
[2026-07-01 21:38:04] local.INFO: GPS Element Parsed {"raw_longitude":751141376,"raw_latitude":122665600,"longitude_deg":75.1141376,"latitude_deg":12.26656,"altitude":15,"angle":152,"satellites":46,"speed":21,"hex_longitude":"2cc58200","hex_latitude":"074fba80","is_valid_coordinates":true} 
[2026-07-01 21: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-01 21:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428025088001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334066791120633856,"note":"Value kept but may cause issues"} 
[2026-07-01 21:38:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4219450606976614400,"note":"Value kept but may cause issues"} 
[2026-07-01 21:38:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782921988000,"timestamp_ms":1782921988000,"timestamp_seconds":1782921988,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e6e87a0"} 
[2026-07-01 21: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-01 21:38:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21: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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-01 21:38:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21: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-01 21: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-01 21:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":119314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":119314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":119314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:38: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-01 21:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428025088001,"66":27658,"121":206,"85":37632,"24":21,"16":334066791120633856,"44":-4219450606976614400},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,44]} 
[2026-07-01 21:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428025088001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:38:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-01 21:38:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 21:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334066791120633856,"km_value":334066791120633.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:38:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4219450606976614400,"description":"Unknown IO ID 44"} 
[2026-07-01 21:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428025088001,"power":27658,"unknown_121":206,"unknown_85":37632,"ignition":21,"odometer":null,"unknown_44":-4219450606976614400}} 
[2026-07-01 21:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":119314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:38:04] local.INFO: GPS data processed {"connection_id":119314,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:38:04] local.INFO: Acknowledgment sent {"connection_id":119314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:38:08] local.INFO: TCP Data received {"connection_id":119314,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e6ec620012cc59200074f9b30000b00972e..."} 
[2026-07-01 21:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e6ec620012cc59200074f9b30000b00972e..."} 
[2026-07-01 21:38:08] local.INFO: Processing buffer {"connection_id":119314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e6ec620012cc59200074f9b30000b00972e..."} 
[2026-07-01 21:38:08] local.INFO: Packet analysis {"connection_id":119314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e6e"} 
[2026-07-01 21:38:08] local.INFO: Extracted packet for processing {"connection_id":119314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e6e"} 
[2026-07-01 21:38:08] local.INFO: GPS Element Parsed {"raw_longitude":751145472,"raw_latitude":122657584,"longitude_deg":75.1145472,"latitude_deg":12.2657584,"altitude":11,"angle":151,"satellites":46,"speed":21,"hex_longitude":"2cc59200","hex_latitude":"074f9b30","is_valid_coordinates":true} 
[2026-07-01 21:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428028928001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334067224912330752,"note":"Value kept but may cause issues"} 
[2026-07-01 21:38:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4214806269862969344,"note":"Value kept but may cause issues"} 
[2026-07-01 21:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782922004000,"timestamp_ms":1782922004000,"timestamp_seconds":1782922004,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e6ec620"} 
[2026-07-01 21:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:38: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-01 21:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-01 21:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":119314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":119314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":119314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 21:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428028928001,"66":27343,"121":206,"85":37632,"24":21,"16":334067224912330752,"44":-4214806269862969344},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,44]} 
[2026-07-01 21:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428028928001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:38:08] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-01 21:38:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 21:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334067224912330752,"km_value":334067224912330.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:38:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4214806269862969344,"description":"Unknown IO ID 44"} 
[2026-07-01 21:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428028928001,"power":27343,"unknown_121":206,"unknown_85":37632,"ignition":21,"odometer":null,"unknown_44":-4214806269862969344}} 
[2026-07-01 21:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":119314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:38:08] local.INFO: GPS data processed {"connection_id":119314,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:38:08] local.INFO: Acknowledgment sent {"connection_id":119314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:38:14] local.INFO: TCP Data received {"connection_id":119315,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 21:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119315,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 21:38:14] local.INFO: Processing buffer {"connection_id":119315,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 21:38:14] local.INFO: IMEI packet received {"connection_id":119315,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 21:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":119315,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:38:53] local.INFO: TCP Data received {"connection_id":121166,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:38:53] local.INFO: Processing buffer {"connection_id":121166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:38:53] local.INFO: IMEI packet received {"connection_id":121166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 21:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":121166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:38:58] local.INFO: TCP Data received {"connection_id":121166,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:38:58] local.INFO: Processing buffer {"connection_id":121166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:38:58] local.INFO: IMEI packet received {"connection_id":121166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":121166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:38:59] local.INFO: TCP Data received {"connection_id":121166,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e6f1440012cc59f80074f7f98000b00a42f..."} 
[2026-07-01 21:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e6f1440012cc59f80074f7f98000b00a42f..."} 
[2026-07-01 21:38:59] local.INFO: Processing buffer {"connection_id":121166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e6f1440012cc59f80074f7f98000b00a42f..."} 
[2026-07-01 21:38:59] local.INFO: Packet analysis {"connection_id":121166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e6f"} 
[2026-07-01 21:38:59] local.INFO: Extracted packet for processing {"connection_id":121166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e6f"} 
[2026-07-01 21:38:59] local.INFO: GPS Element Parsed {"raw_longitude":751148928,"raw_latitude":122650520,"longitude_deg":75.1148928,"latitude_deg":12.265052,"altitude":11,"angle":164,"satellites":47,"speed":21,"hex_longitude":"2cc59f80","hex_latitude":"074f7f98","is_valid_coordinates":true} 
[2026-07-01 21:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428033024001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334067607164420096,"note":"Value kept but may cause issues"} 
[2026-07-01 21:38:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4210302670237650944,"note":"Value kept but may cause issues"} 
[2026-07-01 21:38:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782922024000,"timestamp_ms":1782922024000,"timestamp_seconds":1782922024,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e6f1440"} 
[2026-07-01 21:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:38:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-01 21:38:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:38:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":121166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":121166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":121166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:38:59] 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-01 21:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428033024001,"66":27300,"121":206,"85":37632,"24":21,"16":334067607164420096,"44":-4210302670237650944},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,44]} 
[2026-07-01 21:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428033024001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:38:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-07-01 21:38:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 21:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334067607164420096,"km_value":334067607164420.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:38:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4210302670237650944,"description":"Unknown IO ID 44"} 
[2026-07-01 21:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428033024001,"power":27300,"unknown_121":206,"unknown_85":37632,"ignition":21,"odometer":null,"unknown_44":-4210302670237650944}} 
[2026-07-01 21:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":121166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:38:59] local.INFO: GPS data processed {"connection_id":121166,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:38:59] local.INFO: Acknowledgment sent {"connection_id":121166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:39:30] local.INFO: TCP Data received {"connection_id":121166,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e7073d0012cc606c0074e5438000b00992d..."} 
[2026-07-01 21:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e7073d0012cc606c0074e5438000b00992d..."} 
[2026-07-01 21:39:30] local.INFO: Processing buffer {"connection_id":121166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e7073d0012cc606c0074e5438000b00992d..."} 
[2026-07-01 21:39:30] local.INFO: Packet analysis {"connection_id":121166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e70"} 
[2026-07-01 21:39:30] local.INFO: Extracted packet for processing {"connection_id":121166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e70"} 
[2026-07-01 21:39:30] local.INFO: GPS Element Parsed {"raw_longitude":751175360,"raw_latitude":122573880,"longitude_deg":75.117536,"latitude_deg":12.257388,"altitude":11,"angle":153,"satellites":45,"speed":52,"hex_longitude":"2cc606c0","hex_latitude":"074e5438","is_valid_coordinates":true} 
[2026-07-01 21:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428059392001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334071549944397824,"note":"Value kept but may cause issues"} 
[2026-07-01 21:39:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4181803328864962560,"note":"Value kept but may cause issues"} 
[2026-07-01 21:39:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782922114000,"timestamp_ms":1782922114000,"timestamp_seconds":1782922114,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e7073d0"} 
[2026-07-01 21:39:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:39:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-01 21:39:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:39:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:39:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":121166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":121166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":121166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:39:30] 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-01 21:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428059392001,"66":27604,"119":206,"85":37632,"24":52,"16":334071549944397824,"44":-4181803328864962560},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,44]} 
[2026-07-01 21:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428059392001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:39:30] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-07-01 21:39:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 21:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334071549944397824,"km_value":334071549944397.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:39:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4181803328864962560,"description":"Unknown IO ID 44"} 
[2026-07-01 21:39:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428059392001,"power":27604,"unknown_119":206,"unknown_85":37632,"ignition":52,"odometer":null,"unknown_44":-4181803328864962560}} 
[2026-07-01 21:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":121166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:39:30] local.INFO: GPS data processed {"connection_id":121166,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:39:30] local.INFO: Acknowledgment sent {"connection_id":121166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:39:49] local.INFO: TCP Data received {"connection_id":119426,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:39:49] local.INFO: Processing buffer {"connection_id":119426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:39:49] local.INFO: IMEI packet received {"connection_id":119426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 21:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":119426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:39:49] local.INFO: TCP Data received {"connection_id":119426,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:39:49] local.INFO: Processing buffer {"connection_id":119426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:39:49] local.INFO: IMEI packet received {"connection_id":119426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":119426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:39:54] local.INFO: TCP Data received {"connection_id":119426,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:39:54] local.INFO: Processing buffer {"connection_id":119426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:39:54] local.INFO: IMEI packet received {"connection_id":119426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":119426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:39:54] local.INFO: TCP Data received {"connection_id":119426,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e708f28012cc61700074e3328000c009b2c..."} 
[2026-07-01 21:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e708f28012cc61700074e3328000c009b2c..."} 
[2026-07-01 21:39:54] local.INFO: Processing buffer {"connection_id":119426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e708f28012cc61700074e3328000c009b2c..."} 
[2026-07-01 21:39:54] local.INFO: Packet analysis {"connection_id":119426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e70"} 
[2026-07-01 21:39:54] local.INFO: Extracted packet for processing {"connection_id":119426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e70"} 
[2026-07-01 21:39:54] local.INFO: GPS Element Parsed {"raw_longitude":751179520,"raw_latitude":122565416,"longitude_deg":75.117952,"latitude_deg":12.2565416,"altitude":12,"angle":155,"satellites":44,"speed":52,"hex_longitude":"2cc61700","hex_latitude":"074e3328","is_valid_coordinates":true} 
[2026-07-01 21:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428061184001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334072005210931200,"note":"Value kept but may cause issues"} 
[2026-07-01 21:39:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4177440466728110080,"note":"Value kept but may cause issues"} 
[2026-07-01 21:39:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782922121000,"timestamp_ms":1782922121000,"timestamp_seconds":1782922121,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e708f28"} 
[2026-07-01 21:39:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:39: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-01 21:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-01 21:39:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:39:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:39:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":119426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":119426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":119426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:39:54] 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-01 21:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428061184001,"66":27484,"119":206,"85":37632,"24":52,"16":334072005210931200,"44":-4177440466728110080},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,44]} 
[2026-07-01 21:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428061184001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:39:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-07-01 21:39:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 21:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334072005210931200,"km_value":334072005210931.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:39:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4177440466728110080,"description":"Unknown IO ID 44"} 
[2026-07-01 21:39:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428061184001,"power":27484,"unknown_119":206,"unknown_85":37632,"ignition":52,"odometer":null,"unknown_44":-4177440466728110080}} 
[2026-07-01 21:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":119426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:39:54] local.INFO: GPS data processed {"connection_id":119426,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:39:54] local.INFO: Acknowledgment sent {"connection_id":119426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:40:26] local.INFO: TCP Data received {"connection_id":119426,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e70aa80012cc625c0074e1398000e009a2e..."} 
[2026-07-01 21:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e70aa80012cc625c0074e1398000e009a2e..."} 
[2026-07-01 21:40:26] local.INFO: Processing buffer {"connection_id":119426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e70aa80012cc625c0074e1398000e009a2e..."} 
[2026-07-01 21:40:26] local.INFO: Packet analysis {"connection_id":119426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e70"} 
[2026-07-01 21:40:26] local.INFO: Extracted packet for processing {"connection_id":119426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e70"} 
[2026-07-01 21:40:26] local.INFO: GPS Element Parsed {"raw_longitude":751183296,"raw_latitude":122557336,"longitude_deg":75.1183296,"latitude_deg":12.2557336,"altitude":14,"angle":154,"satellites":46,"speed":49,"hex_longitude":"2cc625c0","hex_latitude":"074e1398","is_valid_coordinates":true} 
[2026-07-01 21:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:40:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428062976001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:40:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334072434707660800,"note":"Value kept but may cause issues"} 
[2026-07-01 21:40:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4172866498358728704,"note":"Value kept but may cause issues"} 
[2026-07-01 21:40:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:40:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782922128000,"timestamp_ms":1782922128000,"timestamp_seconds":1782922128,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e70aa80"} 
[2026-07-01 21:40:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:40: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-01 21:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 21:40:26] 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-01 21:40:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:40:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:40:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:40:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:40:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:40:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:40:26] 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-01 21:40:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:40:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:40:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428062976001,"66":27332,"89":206,"85":37632,"24":49,"16":334072434707660800,"44":-4172866498358728704},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-07-01 21:40:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:40:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:40:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428062976001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:40:26] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 21:40:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 21:40:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334072434707660800,"km_value":334072434707660.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:40:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4172866498358728704,"description":"Unknown IO ID 44"} 
[2026-07-01 21:40:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428062976001,"power":27332,"unknown_89":206,"unknown_85":37632,"ignition":49,"odometer":null,"unknown_44":-4172866498358728704}} 
[2026-07-01 21:40:26] local.INFO: DEBUG: GPS processor result {"connection_id":119426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:40:26] local.INFO: GPS data processed {"connection_id":119426,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:40:26] local.INFO: Acknowledgment sent {"connection_id":119426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:40:47] local.INFO: TCP Data received {"connection_id":120102,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:40:47] local.INFO: Processing buffer {"connection_id":120102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:40:47] local.INFO: IMEI packet received {"connection_id":120102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 21:40:47] local.INFO: IMEI acknowledgment sent {"connection_id":120102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:40:48] local.INFO: TCP Data received {"connection_id":120102,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:40:48] local.INFO: Processing buffer {"connection_id":120102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:40:48] local.INFO: IMEI packet received {"connection_id":120102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":120102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:40:54] local.INFO: TCP Data received {"connection_id":120102,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:40:54] local.INFO: Processing buffer {"connection_id":120102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:40:54] local.INFO: IMEI packet received {"connection_id":120102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":120102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:40:55] local.INFO: TCP Data received {"connection_id":120102,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e70c9c0012cc63500074df1a80010009d2e..."} 
[2026-07-01 21:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e70c9c0012cc63500074df1a80010009d2e..."} 
[2026-07-01 21:40:55] local.INFO: Processing buffer {"connection_id":120102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e70c9c0012cc63500074df1a80010009d2e..."} 
[2026-07-01 21:40:55] local.INFO: Packet analysis {"connection_id":120102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e70"} 
[2026-07-01 21:40:55] local.INFO: Extracted packet for processing {"connection_id":120102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e70"} 
[2026-07-01 21:40:55] local.INFO: GPS Element Parsed {"raw_longitude":751187200,"raw_latitude":122548648,"longitude_deg":75.11872,"latitude_deg":12.2548648,"altitude":16,"angle":157,"satellites":46,"speed":46,"hex_longitude":"2cc63500","hex_latitude":"074df1a8","is_valid_coordinates":true} 
[2026-07-01 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-01 21:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428064768001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334072898564128768,"note":"Value kept but may cause issues"} 
[2026-07-01 21:40:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4168714742454315008,"note":"Value kept but may cause issues"} 
[2026-07-01 21:40:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782922136000,"timestamp_ms":1782922136000,"timestamp_seconds":1782922136,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e70c9c0"} 
[2026-07-01 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-01 21:40:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-01 21:40:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 21:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":120102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":120102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":120102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:40:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 21:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428064768001,"66":27517,"89":206,"85":37632,"24":46,"16":334072898564128768,"44":-4168714742454315008},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-07-01 21:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428064768001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:40:55] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 21:40:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 21:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334072898564128768,"km_value":334072898564128.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:40:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4168714742454315008,"description":"Unknown IO ID 44"} 
[2026-07-01 21:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428064768001,"power":27517,"unknown_89":206,"unknown_85":37632,"ignition":46,"odometer":null,"unknown_44":-4168714742454315008}} 
[2026-07-01 21:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":120102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:40:55] local.INFO: GPS data processed {"connection_id":120102,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:40:55] local.INFO: Acknowledgment sent {"connection_id":120102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:41:25] local.INFO: TCP Data received {"connection_id":120102,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e70e900012cc64580074dd040000f00932d..."} 
[2026-07-01 21:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e70e900012cc64580074dd040000f00932d..."} 
[2026-07-01 21:41:25] local.INFO: Processing buffer {"connection_id":120102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e70e900012cc64580074dd040000f00932d..."} 
[2026-07-01 21:41:25] local.INFO: Packet analysis {"connection_id":120102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e70"} 
[2026-07-01 21:41:25] local.INFO: Extracted packet for processing {"connection_id":120102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e70"} 
[2026-07-01 21:41:25] local.INFO: GPS Element Parsed {"raw_longitude":751191424,"raw_latitude":122540096,"longitude_deg":75.1191424,"latitude_deg":12.2540096,"altitude":15,"angle":147,"satellites":45,"speed":48,"hex_longitude":"2cc64580","hex_latitude":"074dd040","is_valid_coordinates":true} 
[2026-07-01 21:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:41:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428066816001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:41:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334073358125629440,"note":"Value kept but may cause issues"} 
[2026-07-01 21:41:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4164422249061701632,"note":"Value kept but may cause issues"} 
[2026-07-01 21:41:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:41:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782922144000,"timestamp_ms":1782922144000,"timestamp_seconds":1782922144,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e70e900"} 
[2026-07-01 21:41:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:41:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 21:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-01 21:41:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:41:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:41:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:41:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:41:25] local.INFO: Teltonika packet parsed successfully {"connection_id":120102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:41:25] local.INFO: Passing IMEI to GPS processor {"connection_id":120102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:41:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":120102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:41:25] 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-01 21:41:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:41:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:41:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428066816001,"66":27539,"89":206,"85":37632,"24":48,"16":334073358125629440,"44":-4164422249061701632},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-07-01 21:41:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:41:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:41:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428066816001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:41:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 21:41:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 21:41:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334073358125629440,"km_value":334073358125629.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:41:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4164422249061701632,"description":"Unknown IO ID 44"} 
[2026-07-01 21:41:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428066816001,"power":27539,"unknown_89":206,"unknown_85":37632,"ignition":48,"odometer":null,"unknown_44":-4164422249061701632}} 
[2026-07-01 21:41:25] local.INFO: DEBUG: GPS processor result {"connection_id":120102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:41:25] local.INFO: GPS data processed {"connection_id":120102,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:41:25] local.INFO: Acknowledgment sent {"connection_id":120102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:41:48] local.INFO: TCP Data received {"connection_id":119427,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:41:48] local.INFO: Processing buffer {"connection_id":119427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:41:48] local.INFO: IMEI packet received {"connection_id":119427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 21:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":119427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:41:54] local.INFO: TCP Data received {"connection_id":119427,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:41:54] local.INFO: Processing buffer {"connection_id":119427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:41:54] local.INFO: IMEI packet received {"connection_id":119427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":119427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:41:55] local.INFO: TCP Data received {"connection_id":119427,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e70f8a0012cc65200074dc178000e00862e..."} 
[2026-07-01 21:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e70f8a0012cc65200074dc178000e00862e..."} 
[2026-07-01 21:41:55] local.INFO: Processing buffer {"connection_id":119427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e70f8a0012cc65200074dc178000e00862e..."} 
[2026-07-01 21:41:55] local.INFO: Packet analysis {"connection_id":119427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e70"} 
[2026-07-01 21:41:55] local.INFO: Extracted packet for processing {"connection_id":119427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e70"} 
[2026-07-01 21:41:55] local.INFO: GPS Element Parsed {"raw_longitude":751194624,"raw_latitude":122536312,"longitude_deg":75.1194624,"latitude_deg":12.2536312,"altitude":14,"angle":134,"satellites":46,"speed":49,"hex_longitude":"2cc65200","hex_latitude":"074dc178","is_valid_coordinates":true} 
[2026-07-01 21:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428068864001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334073594348830720,"note":"Value kept but may cause issues"} 
[2026-07-01 21:41:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4159777911948165120,"note":"Value kept but may cause issues"} 
[2026-07-01 21:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782922148000,"timestamp_ms":1782922148000,"timestamp_seconds":1782922148,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e70f8a0"} 
[2026-07-01 21:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-01 21:41:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:41:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":119427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":119427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":119427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 21:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428068864001,"66":27365,"89":206,"85":37632,"24":49,"16":334073594348830720,"44":-4159777911948165120},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-07-01 21:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428068864001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:41:55] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 21:41:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 21:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334073594348830720,"km_value":334073594348830.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:41:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4159777911948165120,"description":"Unknown IO ID 44"} 
[2026-07-01 21:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428068864001,"power":27365,"unknown_89":206,"unknown_85":37632,"ignition":49,"odometer":null,"unknown_44":-4159777911948165120}} 
[2026-07-01 21:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":119427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:41:55] local.INFO: GPS data processed {"connection_id":119427,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:41:55] local.INFO: Acknowledgment sent {"connection_id":119427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:42:25] local.INFO: TCP Data received {"connection_id":119427,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e710840012cc66140074db580000c007b2e..."} 
[2026-07-01 21:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e710840012cc66140074db580000c007b2e..."} 
[2026-07-01 21:42:25] local.INFO: Processing buffer {"connection_id":119427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e710840012cc66140074db580000c007b2e..."} 
[2026-07-01 21:42:25] local.INFO: Packet analysis {"connection_id":119427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e71"} 
[2026-07-01 21:42:25] local.INFO: Extracted packet for processing {"connection_id":119427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e71"} 
[2026-07-01 21:42:25] local.INFO: GPS Element Parsed {"raw_longitude":751198528,"raw_latitude":122533248,"longitude_deg":75.1198528,"latitude_deg":12.2533248,"altitude":12,"angle":123,"satellites":46,"speed":48,"hex_longitude":"2cc66140","hex_latitude":"074db580","is_valid_coordinates":true} 
[2026-07-01 21:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428069888001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334073830572032000,"note":"Value kept but may cause issues"} 
[2026-07-01 21:42:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4156259474740250624,"note":"Value kept but may cause issues"} 
[2026-07-01 21:42:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782922152000,"timestamp_ms":1782922152000,"timestamp_seconds":1782922152,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e710840"} 
[2026-07-01 21:42:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:42:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 21:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 21:42:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:42:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:42:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:42:25] 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-01 21:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428069888001,"66":27484,"89":206,"85":37632,"24":48,"16":334073830572032000,"44":-4156259474740250624},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-07-01 21:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428069888001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:42:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 21:42:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 21:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334073830572032000,"km_value":334073830572032,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:42:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4156259474740250624,"description":"Unknown IO ID 44"} 
[2026-07-01 21:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428069888001,"power":27484,"unknown_89":206,"unknown_85":37632,"ignition":48,"odometer":null,"unknown_44":-4156259474740250624}} 
[2026-07-01 21:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":119427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:42:25] local.INFO: GPS data processed {"connection_id":119427,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:42:25] local.INFO: Acknowledgment sent {"connection_id":119427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:42:48] local.INFO: TCP Data received {"connection_id":121168,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:42:48] local.INFO: Processing buffer {"connection_id":121168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:42:48] local.INFO: IMEI packet received {"connection_id":121168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 21:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":121168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:42:49] local.INFO: TCP Data received {"connection_id":121168,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:42:49] local.INFO: Processing buffer {"connection_id":121168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:42:49] local.INFO: IMEI packet received {"connection_id":121168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":121168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:42:54] local.INFO: TCP Data received {"connection_id":121168,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:42:54] local.INFO: Processing buffer {"connection_id":121168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:42:54] local.INFO: IMEI packet received {"connection_id":121168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":121168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:42:55] local.INFO: TCP Data received {"connection_id":121168,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e735de8012cc752c0074d40f80009006b2d..."} 
[2026-07-01 21:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e735de8012cc752c0074d40f80009006b2d..."} 
[2026-07-01 21:42:55] local.INFO: Processing buffer {"connection_id":121168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e735de8012cc752c0074d40f80009006b2d..."} 
[2026-07-01 21:42:55] local.INFO: Packet analysis {"connection_id":121168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e73"} 
[2026-07-01 21:42:55] local.INFO: Extracted packet for processing {"connection_id":121168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e73"} 
[2026-07-01 21:42:55] local.INFO: GPS Element Parsed {"raw_longitude":751260352,"raw_latitude":122503416,"longitude_deg":75.1260352,"latitude_deg":12.2503416,"altitude":9,"angle":107,"satellites":45,"speed":10,"hex_longitude":"2cc752c0","hex_latitude":"074d40f8","is_valid_coordinates":true} 
[2026-07-01 21: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-01 21:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428105984001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334077133401882624,"note":"Value kept but may cause issues"} 
[2026-07-01 21:42:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4088142530384181248,"note":"Value kept but may cause issues"} 
[2026-07-01 21:42:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782922305000,"timestamp_ms":1782922305000,"timestamp_seconds":1782922305,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e735de8"} 
[2026-07-01 21: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-01 21:42:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-01 21:42: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-01 21: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-01 21: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-01 21:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":121168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":121168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":121168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:42:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 21:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428105984001,"66":27626,"89":206,"85":37632,"24":10,"16":334077133401882624,"44":-4088142530384181248},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-07-01 21:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428105984001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:42:55] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 21:42:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 21:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334077133401882624,"km_value":334077133401882.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:42:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4088142530384181248,"description":"Unknown IO ID 44"} 
[2026-07-01 21:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428105984001,"power":27626,"unknown_89":206,"unknown_85":37632,"ignition":10,"odometer":null,"unknown_44":-4088142530384181248}} 
[2026-07-01 21:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":121168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:42:55] local.INFO: GPS data processed {"connection_id":121168,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:42:55] local.INFO: Acknowledgment sent {"connection_id":121168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:43:26] local.INFO: TCP Data received {"connection_id":121168,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e73aff0012cc76980074d3a70000800702e..."} 
[2026-07-01 21:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e73aff0012cc76980074d3a70000800702e..."} 
[2026-07-01 21:43:26] local.INFO: Processing buffer {"connection_id":121168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e73aff0012cc76980074d3a70000800702e..."} 
[2026-07-01 21:43:26] local.INFO: Packet analysis {"connection_id":121168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e73"} 
[2026-07-01 21:43:26] local.INFO: Extracted packet for processing {"connection_id":121168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e73"} 
[2026-07-01 21:43:26] local.INFO: GPS Element Parsed {"raw_longitude":751266176,"raw_latitude":122501744,"longitude_deg":75.1266176,"latitude_deg":12.2501744,"altitude":8,"angle":112,"satellites":46,"speed":14,"hex_longitude":"2cc76980","hex_latitude":"074d3a70","is_valid_coordinates":true} 
[2026-07-01 21: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-01 21:43:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428110080001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:43:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334077416869724160,"note":"Value kept but may cause issues"} 
[2026-07-01 21:43:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4083990774478211072,"note":"Value kept but may cause issues"} 
[2026-07-01 21:43:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:43:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782922326000,"timestamp_ms":1782922326000,"timestamp_seconds":1782922326,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e73aff0"} 
[2026-07-01 21: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-01 21:43: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-01 21: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-01 21:43:26] 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-01 21: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-01 21: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-01 21:43:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:43:26] local.INFO: Teltonika packet parsed successfully {"connection_id":121168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:43:26] local.INFO: Passing IMEI to GPS processor {"connection_id":121168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:43:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":121168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:43:26] 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-01 21:43:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:43:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:43:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428110080001,"66":27615,"57":206,"85":37632,"24":14,"16":334077416869724160,"44":-4083990774478211072},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,85,24,16,44]} 
[2026-07-01 21:43:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:43:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:43:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428110080001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:43:26] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-07-01 21:43:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 21:43:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334077416869724160,"km_value":334077416869724.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:43:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4083990774478211072,"description":"Unknown IO ID 44"} 
[2026-07-01 21:43:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428110080001,"power":27615,"unknown_57":206,"unknown_85":37632,"ignition":14,"odometer":null,"unknown_44":-4083990774478211072}} 
[2026-07-01 21:43:26] local.INFO: DEBUG: GPS processor result {"connection_id":121168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:43:26] local.INFO: GPS data processed {"connection_id":121168,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:43:26] local.INFO: Acknowledgment sent {"connection_id":121168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:43:53] local.INFO: TCP Data received {"connection_id":119429,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:43:53] local.INFO: Processing buffer {"connection_id":119429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:43:53] local.INFO: IMEI packet received {"connection_id":119429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 21:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":119429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:43:53] local.INFO: TCP Data received {"connection_id":119429,"ip":"42.106.6.21","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 21:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119429,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 21:43:53] local.INFO: Processing buffer {"connection_id":119429,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 21:43:53] local.INFO: IMEI packet received {"connection_id":119429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":119429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:43:59] local.INFO: TCP Data received {"connection_id":119429,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:43:59] local.INFO: Processing buffer {"connection_id":119429,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 21:43:59] local.INFO: IMEI packet received {"connection_id":119429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":119429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:44:00] local.INFO: TCP Data received {"connection_id":119429,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e73c760012cc77140074d36280008007c2e..."} 
[2026-07-01 21:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e73c760012cc77140074d36280008007c2e..."} 
[2026-07-01 21:44:00] local.INFO: Processing buffer {"connection_id":119429,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f1e..."} 
[2026-07-01 21:44:00] local.INFO: IMEI packet received {"connection_id":119429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":119429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:44:02] local.INFO: TCP Data received {"connection_id":119429,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e73ded0012cc77940074d3110000900712d..."} 
[2026-07-01 21:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e73ded0012cc77940074d3110000900712d..."} 
[2026-07-01 21:44:02] local.INFO: Processing buffer {"connection_id":119429,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f1e73c760012cc77140074d36280008007c2e..."} 
[2026-07-01 21:44:02] local.INFO: Packet analysis {"connection_id":119429,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f1e73"} 
[2026-07-01 21:44:02] local.INFO: Extracted packet for processing {"connection_id":119429,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e73"} 
[2026-07-01 21:44:02] local.INFO: GPS Element Parsed {"raw_longitude":751268160,"raw_latitude":122500648,"longitude_deg":75.126816,"latitude_deg":12.2500648,"altitude":8,"angle":124,"satellites":46,"speed":16,"hex_longitude":"2cc77140","hex_latitude":"074d3628","is_valid_coordinates":true} 
[2026-07-01 21:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428115456001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334077528538873856,"note":"Value kept but may cause issues"} 
[2026-07-01 21:44:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4077587218758471680,"note":"Value kept but may cause issues"} 
[2026-07-01 21:44:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782922332000,"timestamp_ms":1782922332000,"timestamp_seconds":1782922332,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e73c760"} 
[2026-07-01 21:44:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:44:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-01 21:44:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:44:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:44:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":119429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":119429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":119429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:44:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 21:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428115456001,"66":27571,"57":206,"85":37632,"24":16,"16":334077528538873856,"44":-4077587218758471680},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,85,24,16,44]} 
[2026-07-01 21:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428115456001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:44:02] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-07-01 21:44:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 21:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334077528538873856,"km_value":334077528538873.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:44:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4077587218758471680,"description":"Unknown IO ID 44"} 
[2026-07-01 21:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428115456001,"power":27571,"unknown_57":206,"unknown_85":37632,"ignition":16,"odometer":null,"unknown_44":-4077587218758471680}} 
[2026-07-01 21:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":119429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:44:02] local.INFO: GPS data processed {"connection_id":119429,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:44:02] local.INFO: Acknowledgment sent {"connection_id":119429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:44:02] local.INFO: Packet analysis {"connection_id":119429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e73"} 
[2026-07-01 21:44:02] local.INFO: Extracted packet for processing {"connection_id":119429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e73"} 
[2026-07-01 21:44:02] local.INFO: GPS Element Parsed {"raw_longitude":751270208,"raw_latitude":122499344,"longitude_deg":75.1270208,"latitude_deg":12.2499344,"altitude":9,"angle":113,"satellites":45,"speed":17,"hex_longitude":"2cc77940","hex_latitude":"074d3110","is_valid_coordinates":true} 
[2026-07-01 21:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428116992001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334077644502990848,"note":"Value kept but may cause issues"} 
[2026-07-01 21:44:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4075405787689244672,"note":"Value kept but may cause issues"} 
[2026-07-01 21:44:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782922338000,"timestamp_ms":1782922338000,"timestamp_seconds":1782922338,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e73ded0"} 
[2026-07-01 21:44:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:44:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-01 21:44:02] 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-01 21:44:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:44:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":119429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":119429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":119429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:44:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 21:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428116992001,"66":27484,"57":206,"85":37632,"24":17,"16":334077644502990848,"44":-4075405787689244672},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,85,24,16,44]} 
[2026-07-01 21:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428116992001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:44:02] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-07-01 21:44:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 21:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334077644502990848,"km_value":334077644502990.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:44:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4075405787689244672,"description":"Unknown IO ID 44"} 
[2026-07-01 21:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428116992001,"power":27484,"unknown_57":206,"unknown_85":37632,"ignition":17,"odometer":null,"unknown_44":-4075405787689244672}} 
[2026-07-01 21:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":119429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:44:02] local.INFO: GPS data processed {"connection_id":119429,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:44:02] local.INFO: Acknowledgment sent {"connection_id":119429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:44:14] local.INFO: TCP Data received {"connection_id":119317,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 21:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119317,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 21:44:14] local.INFO: Processing buffer {"connection_id":119317,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 21:44:14] local.INFO: IMEI packet received {"connection_id":119317,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 21:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":119317,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:44:48] local.INFO: TCP Data received {"connection_id":119430,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:44:48] local.INFO: Processing buffer {"connection_id":119430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:44:48] local.INFO: IMEI packet received {"connection_id":119430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 21:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":119430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:44:52] local.INFO: TCP Data received {"connection_id":119430,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:44:52] local.INFO: Processing buffer {"connection_id":119430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:44:52] local.INFO: IMEI packet received {"connection_id":119430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":119430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:44:52] local.INFO: TCP Data received {"connection_id":119430,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e755da0012cc87ec0074cdc38000c00972e..."} 
[2026-07-01 21:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e755da0012cc87ec0074cdc38000c00972e..."} 
[2026-07-01 21:44:52] local.INFO: Processing buffer {"connection_id":119430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e755da0012cc87ec0074cdc38000c00972e..."} 
[2026-07-01 21:44:52] local.INFO: Packet analysis {"connection_id":119430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e75"} 
[2026-07-01 21:44:52] local.INFO: Extracted packet for processing {"connection_id":119430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e75"} 
[2026-07-01 21:44:52] local.INFO: GPS Element Parsed {"raw_longitude":751337152,"raw_latitude":122477624,"longitude_deg":75.1337152,"latitude_deg":12.2477624,"altitude":12,"angle":151,"satellites":46,"speed":44,"hex_longitude":"2cc87ec0","hex_latitude":"074cdc38","is_valid_coordinates":true} 
[2026-07-01 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-01 21:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428141568001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334081260865454080,"note":"Value kept but may cause issues"} 
[2026-07-01 21:44:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4005107412259672064,"note":"Value kept but may cause issues"} 
[2026-07-01 21:44:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782922436000,"timestamp_ms":1782922436000,"timestamp_seconds":1782922436,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e755da0"} 
[2026-07-01 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-01 21:44:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-01 21:44:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 21:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":119430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":119430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":119430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:44:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 21:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428141568001,"66":27463,"161":206,"85":37632,"24":44,"16":334081260865454080,"44":-4005107412259672064},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,44]} 
[2026-07-01 21:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428141568001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:44:52] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-01 21:44:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 21:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334081260865454080,"km_value":334081260865454.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:44:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4005107412259672064,"description":"Unknown IO ID 44"} 
[2026-07-01 21:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428141568001,"power":27463,"unknown_161":206,"unknown_85":37632,"ignition":44,"odometer":null,"unknown_44":-4005107412259672064}} 
[2026-07-01 21:44:53] local.INFO: DEBUG: GPS processor result {"connection_id":119430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:44:53] local.INFO: GPS data processed {"connection_id":119430,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:44:53] local.INFO: Acknowledgment sent {"connection_id":119430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:45:24] local.INFO: TCP Data received {"connection_id":119430,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e7580c8012cc88e40074cb9e0000d009e2d..."} 
[2026-07-01 21:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e7580c8012cc88e40074cb9e0000d009e2d..."} 
[2026-07-01 21:45:24] local.INFO: Processing buffer {"connection_id":119430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e7580c8012cc88e40074cb9e0000d009e2d..."} 
[2026-07-01 21:45:24] local.INFO: Packet analysis {"connection_id":119430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e75"} 
[2026-07-01 21:45:24] local.INFO: Extracted packet for processing {"connection_id":119430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e75"} 
[2026-07-01 21:45:24] local.INFO: GPS Element Parsed {"raw_longitude":751341120,"raw_latitude":122468832,"longitude_deg":75.134112,"latitude_deg":12.2468832,"altitude":13,"angle":158,"satellites":45,"speed":41,"hex_longitude":"2cc88e40","hex_latitude":"074cb9e0","is_valid_coordinates":true} 
[2026-07-01 21:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:45:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428143616001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:45:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334081729016889344,"note":"Value kept but may cause issues"} 
[2026-07-01 21:45:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3999548281471617024,"note":"Value kept but may cause issues"} 
[2026-07-01 21:45:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:45:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782922445000,"timestamp_ms":1782922445000,"timestamp_seconds":1782922445,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e7580c8"} 
[2026-07-01 21:45:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:45:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-01 21:45:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:45:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:45:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:45:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:45:24] local.INFO: Teltonika packet parsed successfully {"connection_id":119430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:45:24] local.INFO: Passing IMEI to GPS processor {"connection_id":119430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:45:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":119430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:45:24] 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-01 21:45:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:45:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:45:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428143616001,"66":27267,"161":206,"85":37632,"24":41,"16":334081729016889344,"44":-3999548281471617024},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,44]} 
[2026-07-01 21:45:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:45:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:45:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428143616001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:45:24] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-01 21:45:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 21:45:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334081729016889344,"km_value":334081729016889.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:45:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3999548281471617024,"description":"Unknown IO ID 44"} 
[2026-07-01 21:45:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428143616001,"power":27267,"unknown_161":206,"unknown_85":37632,"ignition":41,"odometer":null,"unknown_44":-3999548281471617024}} 
[2026-07-01 21:45:24] local.INFO: DEBUG: GPS processor result {"connection_id":119430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:45:24] local.INFO: GPS data processed {"connection_id":119430,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:45:24] local.INFO: Acknowledgment sent {"connection_id":119430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:45:49] local.INFO: TCP Data received {"connection_id":119318,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:45:49] local.INFO: Processing buffer {"connection_id":119318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:45:49] local.INFO: IMEI packet received {"connection_id":119318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 21:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":119318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:45:54] local.INFO: TCP Data received {"connection_id":119318,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:45:54] local.INFO: Processing buffer {"connection_id":119318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:45:54] local.INFO: IMEI packet received {"connection_id":119318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":119318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:45:55] local.INFO: TCP Data received {"connection_id":119318,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e75a3f0012cc89b40074c9910000d009e2e..."} 
[2026-07-01 21:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e75a3f0012cc89b40074c9910000d009e2e..."} 
[2026-07-01 21:45:55] local.INFO: Processing buffer {"connection_id":119318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e75a3f0012cc89b40074c9910000d009e2e..."} 
[2026-07-01 21:45:55] local.INFO: Packet analysis {"connection_id":119318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e75"} 
[2026-07-01 21:45:55] local.INFO: Extracted packet for processing {"connection_id":119318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e75"} 
[2026-07-01 21:45:55] local.INFO: GPS Element Parsed {"raw_longitude":751344448,"raw_latitude":122460432,"longitude_deg":75.1344448,"latitude_deg":12.2460432,"altitude":13,"angle":158,"satellites":46,"speed":40,"hex_longitude":"2cc89b40","hex_latitude":"074c9910","is_valid_coordinates":true} 
[2026-07-01 21:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428145920001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334082167103553536,"note":"Value kept but may cause issues"} 
[2026-07-01 21:45:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3995185419334852608,"note":"Value kept but may cause issues"} 
[2026-07-01 21:45:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782922454000,"timestamp_ms":1782922454000,"timestamp_seconds":1782922454,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e75a3f0"} 
[2026-07-01 21:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:45:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-01 21:45:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:45:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":119318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":119318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":119318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:45:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 21:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428145920001,"66":27365,"161":206,"85":37632,"24":40,"16":334082167103553536,"44":-3995185419334852608},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,44]} 
[2026-07-01 21:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428145920001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:45:55] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-07-01 21:45:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 21:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334082167103553536,"km_value":334082167103553.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:45:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3995185419334852608,"description":"Unknown IO ID 44"} 
[2026-07-01 21:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428145920001,"power":27365,"unknown_161":206,"unknown_85":37632,"ignition":40,"odometer":null,"unknown_44":-3995185419334852608}} 
[2026-07-01 21:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":119318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:45:55] local.INFO: GPS data processed {"connection_id":119318,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:45:55] local.INFO: Acknowledgment sent {"connection_id":119318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:46:26] local.INFO: TCP Data received {"connection_id":119318,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e76bd30012cc9ab00074c5078000c00642d..."} 
[2026-07-01 21:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e76bd30012cc9ab00074c5078000c00642d..."} 
[2026-07-01 21:46:26] local.INFO: Processing buffer {"connection_id":119318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e76bd30012cc9ab00074c5078000c00642d..."} 
[2026-07-01 21:46:26] local.INFO: Packet analysis {"connection_id":119318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e76"} 
[2026-07-01 21:46:26] local.INFO: Extracted packet for processing {"connection_id":119318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e76"} 
[2026-07-01 21:46:26] local.INFO: GPS Element Parsed {"raw_longitude":751414016,"raw_latitude":122441848,"longitude_deg":75.1414016,"latitude_deg":12.2441848,"altitude":12,"angle":100,"satellites":45,"speed":41,"hex_longitude":"2cc9ab00","hex_latitude":"074c5078","is_valid_coordinates":true} 
[2026-07-01 21:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428165632001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334086208667779072,"note":"Value kept but may cause issues"} 
[2026-07-01 21:46:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3919609388094861312,"note":"Value kept but may cause issues"} 
[2026-07-01 21:46:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782922526000,"timestamp_ms":1782922526000,"timestamp_seconds":1782922526,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e76bd30"} 
[2026-07-01 21:46:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:46: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-01 21:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-07-01 21:46:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":826,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:46:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:46:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:46:26] 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-01 21:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428165632001,"66":27321,"159":206,"85":37632,"24":41,"16":334086208667779072,"44":-3919609388094861312},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-07-01 21:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428165632001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:46:26] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-07-01 21:46:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 21:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334086208667779072,"km_value":334086208667779.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:46:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3919609388094861312,"description":"Unknown IO ID 44"} 
[2026-07-01 21:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428165632001,"power":27321,"unknown_159":206,"unknown_85":37632,"ignition":41,"odometer":null,"unknown_44":-3919609388094861312}} 
[2026-07-01 21:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":119318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:46:26] local.INFO: GPS data processed {"connection_id":119318,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:46:26] local.INFO: Acknowledgment sent {"connection_id":119318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:46:48] local.INFO: TCP Data received {"connection_id":119319,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:46:48] local.INFO: Processing buffer {"connection_id":119319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:46:48] local.INFO: IMEI packet received {"connection_id":119319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 21:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":119319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:46:54] local.INFO: TCP Data received {"connection_id":119319,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:46:54] local.INFO: Processing buffer {"connection_id":119319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:46:54] local.INFO: IMEI packet received {"connection_id":119319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":119319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:46:55] local.INFO: TCP Data received {"connection_id":119319,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e76d4a0012cc9c280074c4950000d006f2d..."} 
[2026-07-01 21:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e76d4a0012cc9c280074c4950000d006f2d..."} 
[2026-07-01 21:46:55] local.INFO: Processing buffer {"connection_id":119319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e76d4a0012cc9c280074c4950000d006f2d..."} 
[2026-07-01 21:46:55] local.INFO: Packet analysis {"connection_id":119319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e76"} 
[2026-07-01 21:46:55] local.INFO: Extracted packet for processing {"connection_id":119319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e76"} 
[2026-07-01 21:46:55] local.INFO: GPS Element Parsed {"raw_longitude":751420032,"raw_latitude":122440016,"longitude_deg":75.1420032,"latitude_deg":12.2440016,"altitude":13,"angle":111,"satellites":45,"speed":41,"hex_longitude":"2cc9c280","hex_latitude":"074c4950","is_valid_coordinates":true} 
[2026-07-01 21: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-01 21:46:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428166656001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:46:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334086505020522496,"note":"Value kept but may cause issues"} 
[2026-07-01 21:46:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3915035419723401216,"note":"Value kept but may cause issues"} 
[2026-07-01 21:46:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:46:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782922532000,"timestamp_ms":1782922532000,"timestamp_seconds":1782922532,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e76d4a0"} 
[2026-07-01 21: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-01 21:46:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-01 21:46:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21: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-01 21: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-01 21:46:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:46:55] local.INFO: Teltonika packet parsed successfully {"connection_id":119319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:46:55] local.INFO: Passing IMEI to GPS processor {"connection_id":119319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:46:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":119319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:46:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 21:46:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:46:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:46:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428166656001,"66":27343,"159":206,"85":37632,"24":41,"16":334086505020522496,"44":-3915035419723401216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-07-01 21:46:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:46:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:46:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428166656001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:46:55] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-07-01 21:46:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 21:46:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334086505020522496,"km_value":334086505020522.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:46:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3915035419723401216,"description":"Unknown IO ID 44"} 
[2026-07-01 21:46:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428166656001,"power":27343,"unknown_159":206,"unknown_85":37632,"ignition":41,"odometer":null,"unknown_44":-3915035419723401216}} 
[2026-07-01 21:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":119319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:46:55] local.INFO: GPS data processed {"connection_id":119319,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:46:55] local.INFO: Acknowledgment sent {"connection_id":119319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:47:26] local.INFO: TCP Data received {"connection_id":119319,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e76f7c8012cc9e540074c3b08000e00702d..."} 
[2026-07-01 21:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e76f7c8012cc9e540074c3b08000e00702d..."} 
[2026-07-01 21:47:26] local.INFO: Processing buffer {"connection_id":119319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e76f7c8012cc9e540074c3b08000e00702d..."} 
[2026-07-01 21:47:26] local.INFO: Packet analysis {"connection_id":119319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e76"} 
[2026-07-01 21:47:26] local.INFO: Extracted packet for processing {"connection_id":119319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e76"} 
[2026-07-01 21:47:26] local.INFO: GPS Element Parsed {"raw_longitude":751428928,"raw_latitude":122436360,"longitude_deg":75.1428928,"latitude_deg":12.243636,"altitude":14,"angle":112,"satellites":45,"speed":42,"hex_longitude":"2cc9e540","hex_latitude":"074c3b08","is_valid_coordinates":true} 
[2026-07-01 21:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428168192001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334086960287055872,"note":"Value kept but may cause issues"} 
[2026-07-01 21:47:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3908420757771169792,"note":"Value kept but may cause issues"} 
[2026-07-01 21:47:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:47:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782922541000,"timestamp_ms":1782922541000,"timestamp_seconds":1782922541,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e76f7c8"} 
[2026-07-01 21:47:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:47: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-01 21:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-01 21:47:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:47:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:47:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:47:26] 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-01 21:47:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:47:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428168192001,"66":27321,"159":206,"85":37632,"24":42,"16":334086960287055872,"44":-3908420757771169792},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-07-01 21:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428168192001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:47:26] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-07-01 21:47:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 21:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334086960287055872,"km_value":334086960287055.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:47:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3908420757771169792,"description":"Unknown IO ID 44"} 
[2026-07-01 21:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428168192001,"power":27321,"unknown_159":206,"unknown_85":37632,"ignition":42,"odometer":null,"unknown_44":-3908420757771169792}} 
[2026-07-01 21:47:26] local.INFO: DEBUG: GPS processor result {"connection_id":119319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:47:26] local.INFO: GPS data processed {"connection_id":119319,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:47:26] local.INFO: Acknowledgment sent {"connection_id":119319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:47:54] local.INFO: TCP Data received {"connection_id":119320,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:47:54] local.INFO: Processing buffer {"connection_id":119320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:47:54] local.INFO: IMEI packet received {"connection_id":119320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 21:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":119320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:47:54] local.INFO: TCP Data received {"connection_id":119320,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:47:54] local.INFO: Processing buffer {"connection_id":119320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:47:54] local.INFO: IMEI packet received {"connection_id":119320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":119320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:47:59] local.INFO: TCP Data received {"connection_id":119320,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:47:59] local.INFO: Processing buffer {"connection_id":119320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:47:59] local.INFO: IMEI packet received {"connection_id":119320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":119320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:47:59] local.INFO: TCP Data received {"connection_id":119320,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e771af0012cca0740074c2df00011006b2d..."} 
[2026-07-01 21:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e771af0012cca0740074c2df00011006b2d..."} 
[2026-07-01 21:48:00] local.INFO: Processing buffer {"connection_id":119320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e771af0012cca0740074c2df00011006b2d..."} 
[2026-07-01 21:48:00] local.INFO: Packet analysis {"connection_id":119320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e77"} 
[2026-07-01 21:48:00] local.INFO: Extracted packet for processing {"connection_id":119320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e77"} 
[2026-07-01 21:48:00] local.INFO: GPS Element Parsed {"raw_longitude":751437632,"raw_latitude":122433008,"longitude_deg":75.1437632,"latitude_deg":12.2433008,"altitude":17,"angle":107,"satellites":45,"speed":40,"hex_longitude":"2cca0740","hex_latitude":"074c2df0","is_valid_coordinates":true} 
[2026-07-01 21:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428170496001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334087402668687360,"note":"Value kept but may cause issues"} 
[2026-07-01 21:48:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3898639502331410432,"note":"Value kept but may cause issues"} 
[2026-07-01 21:48:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782922550000,"timestamp_ms":1782922550000,"timestamp_seconds":1782922550,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e771af0"} 
[2026-07-01 21:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:48:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 21:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-01 21:48:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:48:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":119320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":119320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":119320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:48: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-01 21:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428170496001,"66":27213,"159":206,"85":37632,"24":40,"16":334087402668687360,"44":-3898639502331410432},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-07-01 21:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428170496001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:48:00] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-07-01 21:48:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 21:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334087402668687360,"km_value":334087402668687.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:48:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3898639502331410432,"description":"Unknown IO ID 44"} 
[2026-07-01 21:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428170496001,"power":27213,"unknown_159":206,"unknown_85":37632,"ignition":40,"odometer":null,"unknown_44":-3898639502331410432}} 
[2026-07-01 21:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":119320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:48:00] local.INFO: GPS data processed {"connection_id":119320,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:48:00] local.INFO: Acknowledgment sent {"connection_id":119320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:48:04] local.INFO: TCP Data received {"connection_id":119320,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e773e18012cca2a00074c2680001300612d..."} 
[2026-07-01 21:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e773e18012cca2a00074c2680001300612d..."} 
[2026-07-01 21:48:04] local.INFO: Processing buffer {"connection_id":119320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e773e18012cca2a00074c2680001300612d..."} 
[2026-07-01 21:48:04] local.INFO: Packet analysis {"connection_id":119320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e77"} 
[2026-07-01 21:48:04] local.INFO: Extracted packet for processing {"connection_id":119320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e77"} 
[2026-07-01 21:48:04] local.INFO: GPS Element Parsed {"raw_longitude":751446528,"raw_latitude":122431104,"longitude_deg":75.1446528,"latitude_deg":12.2431104,"altitude":19,"angle":97,"satellites":45,"speed":39,"hex_longitude":"2cca2a00","hex_latitude":"074c2680","is_valid_coordinates":true} 
[2026-07-01 21: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-01 21:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428172800001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334087836460384256,"note":"Value kept but may cause issues"} 
[2026-07-01 21:48:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3889069353124106240,"note":"Value kept but may cause issues"} 
[2026-07-01 21:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782922559000,"timestamp_ms":1782922559000,"timestamp_seconds":1782922559,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e773e18"} 
[2026-07-01 21: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-01 21:48: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-01 21: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-01 21:48:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21: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-01 21: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-01 21:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":119320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":119320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":119320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:48: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-01 21:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428172800001,"66":27234,"159":206,"85":37632,"24":39,"16":334087836460384256,"44":-3889069353124106240},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-07-01 21:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428172800001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:48:04] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-07-01 21:48:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 21:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334087836460384256,"km_value":334087836460384.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:48:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3889069353124106240,"description":"Unknown IO ID 44"} 
[2026-07-01 21:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428172800001,"power":27234,"unknown_159":206,"unknown_85":37632,"ignition":39,"odometer":null,"unknown_44":-3889069353124106240}} 
[2026-07-01 21:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":119320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:48:04] local.INFO: GPS data processed {"connection_id":119320,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:48:04] local.INFO: Acknowledgment sent {"connection_id":119320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:48:48] local.INFO: TCP Data received {"connection_id":119431,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:48:48] local.INFO: Processing buffer {"connection_id":119431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:48:48] local.INFO: IMEI packet received {"connection_id":119431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 21:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":119431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:48:51] local.INFO: TCP Data received {"connection_id":119431,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:48:51] local.INFO: Processing buffer {"connection_id":119431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:48:51] local.INFO: IMEI packet received {"connection_id":119431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":119431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:48:52] local.INFO: TCP Data received {"connection_id":119431,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e78c4b8012ccb1640074b3d28000c00a72c..."} 
[2026-07-01 21:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e78c4b8012ccb1640074b3d28000c00a72c..."} 
[2026-07-01 21:48:52] local.INFO: Processing buffer {"connection_id":119431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e78c4b8012ccb1640074b3d28000c00a72c..."} 
[2026-07-01 21:48:52] local.INFO: Packet analysis {"connection_id":119431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e78"} 
[2026-07-01 21:48:52] local.INFO: Extracted packet for processing {"connection_id":119431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e78"} 
[2026-07-01 21:48:52] local.INFO: GPS Element Parsed {"raw_longitude":751507008,"raw_latitude":122371368,"longitude_deg":75.1507008,"latitude_deg":12.2371368,"altitude":12,"angle":167,"satellites":44,"speed":38,"hex_longitude":"2ccb1640","hex_latitude":"074b3d28","is_valid_coordinates":true} 
[2026-07-01 21:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428198144001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334092453550227456,"note":"Value kept but may cause issues"} 
[2026-07-01 21:48:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3814971065518465024,"note":"Value kept but may cause issues"} 
[2026-07-01 21:48:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782922659000,"timestamp_ms":1782922659000,"timestamp_seconds":1782922659,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e78c4b8"} 
[2026-07-01 21:48:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:48:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-01 21:48:52] 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-01 21:48:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:48:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":119431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":119431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":119431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:48:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 21:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428198144001,"66":27604,"103":206,"85":37632,"24":38,"16":334092453550227456,"44":-3814971065518465024},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-07-01 21:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428198144001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:48:52] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-01 21:48:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 21:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334092453550227456,"km_value":334092453550227.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:48:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3814971065518465024,"description":"Unknown IO ID 44"} 
[2026-07-01 21:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428198144001,"power":27604,"unknown_103":206,"unknown_85":37632,"ignition":38,"odometer":null,"unknown_44":-3814971065518465024}} 
[2026-07-01 21:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":119431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:48:52] local.INFO: GPS data processed {"connection_id":119431,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:48:52] local.INFO: Acknowledgment sent {"connection_id":119431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:49:23] local.INFO: TCP Data received {"connection_id":119431,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e78ebc8012ccb1e00074b1ab0000c00a62d..."} 
[2026-07-01 21:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e78ebc8012ccb1e00074b1ab0000c00a62d..."} 
[2026-07-01 21:49:23] local.INFO: Processing buffer {"connection_id":119431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e78ebc8012ccb1e00074b1ab0000c00a62d..."} 
[2026-07-01 21:49:23] local.INFO: Packet analysis {"connection_id":119431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e78"} 
[2026-07-01 21:49:23] local.INFO: Extracted packet for processing {"connection_id":119431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e78"} 
[2026-07-01 21:49:23] local.INFO: GPS Element Parsed {"raw_longitude":751508992,"raw_latitude":122362544,"longitude_deg":75.1508992,"latitude_deg":12.2362544,"altitude":12,"angle":166,"satellites":45,"speed":27,"hex_longitude":"2ccb1e00","hex_latitude":"074b1ab0","is_valid_coordinates":true} 
[2026-07-01 21:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:49:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428200704001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:49:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334092891636891648,"note":"Value kept but may cause issues"} 
[2026-07-01 21:49:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3812789634451298304,"note":"Value kept but may cause issues"} 
[2026-07-01 21:49:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:49:23] local.INFO: AVL Record Parsed {"raw_timestamp":1782922669000,"timestamp_ms":1782922669000,"timestamp_seconds":1782922669,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e78ebc8"} 
[2026-07-01 21:49:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:49:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-01 21:49:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:49:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:49:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:49:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:49:23] local.INFO: Teltonika packet parsed successfully {"connection_id":119431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:49:23] local.INFO: Passing IMEI to GPS processor {"connection_id":119431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:49:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":119431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:49:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 21:49:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:49:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:49:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428200704001,"66":27593,"103":206,"85":37632,"24":27,"16":334092891636891648,"44":-3812789634451298304},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-07-01 21:49:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:49:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:49:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428200704001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:49:23] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-01 21:49:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 21:49:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334092891636891648,"km_value":334092891636891.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:49:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3812789634451298304,"description":"Unknown IO ID 44"} 
[2026-07-01 21:49:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428200704001,"power":27593,"unknown_103":206,"unknown_85":37632,"ignition":27,"odometer":null,"unknown_44":-3812789634451298304}} 
[2026-07-01 21:49:23] local.INFO: DEBUG: GPS processor result {"connection_id":119431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:49:23] local.INFO: GPS data processed {"connection_id":119431,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:49:23] local.INFO: Acknowledgment sent {"connection_id":119431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:49:46] local.INFO: TCP Data received {"connection_id":119322,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:49:46] local.INFO: Processing buffer {"connection_id":119322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:49:46] local.INFO: IMEI packet received {"connection_id":119322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 21:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":119322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:49:48] local.INFO: TCP Data received {"connection_id":119322,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:49:48] local.INFO: Processing buffer {"connection_id":119322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:49:48] local.INFO: IMEI packet received {"connection_id":119322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":119322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:49:51] local.INFO: TCP Data received {"connection_id":119322,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:49:51] local.INFO: Processing buffer {"connection_id":119322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:49:51] local.INFO: IMEI packet received {"connection_id":119322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":119322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:49:53] local.INFO: TCP Data received {"connection_id":119322,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e790720012ccb23c0074b0860000900982d..."} 
[2026-07-01 21:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e790720012ccb23c0074b0860000900982d..."} 
[2026-07-01 21:49:53] local.INFO: Processing buffer {"connection_id":119322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e790720012ccb23c0074b0860000900982d..."} 
[2026-07-01 21:49:53] local.INFO: Packet analysis {"connection_id":119322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e79"} 
[2026-07-01 21:49:53] local.INFO: Extracted packet for processing {"connection_id":119322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e79"} 
[2026-07-01 21:49:53] local.INFO: GPS Element Parsed {"raw_longitude":751510464,"raw_latitude":122357856,"longitude_deg":75.1510464,"latitude_deg":12.2357856,"altitude":9,"angle":152,"satellites":45,"speed":29,"hex_longitude":"2ccb23c0","hex_latitude":"074b0860","is_valid_coordinates":true} 
[2026-07-01 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-01 21:49:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428203264001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:49:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334093132155060224,"note":"Value kept but may cause issues"} 
[2026-07-01 21:49:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3810608203384049664,"note":"Value kept but may cause issues"} 
[2026-07-01 21:49:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:49:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782922676000,"timestamp_ms":1782922676000,"timestamp_seconds":1782922676,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e790720"} 
[2026-07-01 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-01 21:49:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 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":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-01 21:49:53] 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-01 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-01 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-01 21:49:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:49:53] local.INFO: Teltonika packet parsed successfully {"connection_id":119322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:49:53] local.INFO: Passing IMEI to GPS processor {"connection_id":119322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:49:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":119322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:49:53] 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-01 21:49:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:49:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:49:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428203264001,"66":27484,"103":206,"85":37632,"24":29,"16":334093132155060224,"44":-3810608203384049664},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-07-01 21:49:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:49:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:49:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428203264001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:49:53] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-01 21:49:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 21:49:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334093132155060224,"km_value":334093132155060.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:49:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3810608203384049664,"description":"Unknown IO ID 44"} 
[2026-07-01 21:49:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428203264001,"power":27484,"unknown_103":206,"unknown_85":37632,"ignition":29,"odometer":null,"unknown_44":-3810608203384049664}} 
[2026-07-01 21:49:53] local.INFO: DEBUG: GPS processor result {"connection_id":119322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:49:53] local.INFO: GPS data processed {"connection_id":119322,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:49:53] local.INFO: Acknowledgment sent {"connection_id":119322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:50:14] local.INFO: TCP Data received {"connection_id":120106,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 21:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120106,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 21:50:14] local.INFO: Processing buffer {"connection_id":120106,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 21:50:14] local.INFO: IMEI packet received {"connection_id":120106,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 21:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":120106,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:50:17] local.INFO: TCP Data received {"connection_id":120106,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 21:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120106,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 21:50:17] local.INFO: Processing buffer {"connection_id":120106,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 21:50:17] local.INFO: IMEI packet received {"connection_id":120106,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-01 21:50:17] local.INFO: IMEI acknowledgment sent {"connection_id":120106,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:50:19] local.INFO: TCP Data received {"connection_id":120106,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 21:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120106,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 21:50:19] local.INFO: Processing buffer {"connection_id":120106,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 21:50:19] local.INFO: IMEI packet received {"connection_id":120106,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-01 21:50:19] local.INFO: IMEI acknowledgment sent {"connection_id":120106,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:50:24] local.INFO: TCP Data received {"connection_id":119322,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e790ef0012ccb2700074b03700009008d2d..."} 
[2026-07-01 21:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e790ef0012ccb2700074b03700009008d2d..."} 
[2026-07-01 21:50:24] local.INFO: Processing buffer {"connection_id":119322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e790ef0012ccb2700074b03700009008d2d..."} 
[2026-07-01 21:50:24] local.INFO: Packet analysis {"connection_id":119322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e79"} 
[2026-07-01 21:50:24] local.INFO: Extracted packet for processing {"connection_id":119322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e79"} 
[2026-07-01 21:50:24] local.INFO: GPS Element Parsed {"raw_longitude":751511296,"raw_latitude":122356592,"longitude_deg":75.1511296,"latitude_deg":12.2356592,"altitude":9,"angle":141,"satellites":45,"speed":31,"hex_longitude":"2ccb2700","hex_latitude":"074b0370","is_valid_coordinates":true} 
[2026-07-01 21:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428205056001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334093205169504256,"note":"Value kept but may cause issues"} 
[2026-07-01 21:50:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3808989722269163520,"note":"Value kept but may cause issues"} 
[2026-07-01 21:50:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782922678000,"timestamp_ms":1782922678000,"timestamp_seconds":1782922678,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e790ef0"} 
[2026-07-01 21:50:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:50:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 21:50:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:50:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:50:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":119322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":119322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":119322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:50:24] 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-01 21:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428205056001,"66":27463,"103":206,"85":37632,"24":31,"16":334093205169504256,"44":-3808989722269163520},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-07-01 21:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428205056001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:50:24] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-01 21:50:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 21:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334093205169504256,"km_value":334093205169504.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:50:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3808989722269163520,"description":"Unknown IO ID 44"} 
[2026-07-01 21:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428205056001,"power":27463,"unknown_103":206,"unknown_85":37632,"ignition":31,"odometer":null,"unknown_44":-3808989722269163520}} 
[2026-07-01 21:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":119322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:50:24] local.INFO: GPS data processed {"connection_id":119322,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:50:24] local.INFO: Acknowledgment sent {"connection_id":119322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:50:49] local.INFO: TCP Data received {"connection_id":119323,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:50:49] local.INFO: Processing buffer {"connection_id":119323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:50:49] local.INFO: IMEI packet received {"connection_id":119323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 21:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":119323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:50:50] local.INFO: TCP Data received {"connection_id":119323,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:50:50] local.INFO: Processing buffer {"connection_id":119323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:50:50] local.INFO: IMEI packet received {"connection_id":119323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":119323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:50:54] local.INFO: TCP Data received {"connection_id":119323,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:50:54] local.INFO: Processing buffer {"connection_id":119323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:50:54] local.INFO: IMEI packet received {"connection_id":119323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":119323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:50:54] local.INFO: TCP Data received {"connection_id":119323,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e7a9d60012ccb9f40074a48b8000800c528..."} 
[2026-07-01 21:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e7a9d60012ccb9f40074a48b8000800c528..."} 
[2026-07-01 21:50:54] local.INFO: Processing buffer {"connection_id":119323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e7a9d60012ccb9f40074a48b8000800c528..."} 
[2026-07-01 21:50:54] local.INFO: Packet analysis {"connection_id":119323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e7a"} 
[2026-07-01 21:50:54] local.INFO: Extracted packet for processing {"connection_id":119323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e7a"} 
[2026-07-01 21:50:54] local.INFO: GPS Element Parsed {"raw_longitude":751542080,"raw_latitude":122308792,"longitude_deg":75.154208,"latitude_deg":12.2308792,"altitude":8,"angle":197,"satellites":40,"speed":30,"hex_longitude":"2ccb9f40","hex_latitude":"074a48b8","is_valid_coordinates":true} 
[2026-07-01 21:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:50:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428228352001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:50:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334096409215107072,"note":"Value kept but may cause issues"} 
[2026-07-01 21:50:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3770849862935101440,"note":"Value kept but may cause issues"} 
[2026-07-01 21:50:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:50:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782922780000,"timestamp_ms":1782922780000,"timestamp_seconds":1782922780,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e7a9d60"} 
[2026-07-01 21:50:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:50: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-01 21:50:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 21:50:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:50:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:50:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:50:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:50:54] local.INFO: Teltonika packet parsed successfully {"connection_id":119323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:50:54] local.INFO: Passing IMEI to GPS processor {"connection_id":119323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:50:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":119323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:50:54] 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-01 21:50:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:50:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:50:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428228352001,"66":27484,"103":206,"85":37632,"24":30,"16":334096409215107072,"44":-3770849862935101440},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-07-01 21:50:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:50:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:50:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428228352001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:50:54] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-01 21:50:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 21:50:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334096409215107072,"km_value":334096409215107.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:50:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3770849862935101440,"description":"Unknown IO ID 44"} 
[2026-07-01 21:50:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428228352001,"power":27484,"unknown_103":206,"unknown_85":37632,"ignition":30,"odometer":null,"unknown_44":-3770849862935101440}} 
[2026-07-01 21:50:54] local.INFO: DEBUG: GPS processor result {"connection_id":119323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:50:54] local.INFO: GPS data processed {"connection_id":119323,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:50:54] local.INFO: Acknowledgment sent {"connection_id":119323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:50:55] local.INFO: TCP Data received {"connection_id":119323,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e7acc40012ccb9600074a2a68000a00b92a..."} 
[2026-07-01 21:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e7acc40012ccb9600074a2a68000a00b92a..."} 
[2026-07-01 21:50:55] local.INFO: Processing buffer {"connection_id":119323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e7acc40012ccb9600074a2a68000a00b92a..."} 
[2026-07-01 21:50:55] local.INFO: Packet analysis {"connection_id":119323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e7a"} 
[2026-07-01 21:50:55] local.INFO: Extracted packet for processing {"connection_id":119323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e7a"} 
[2026-07-01 21:50:55] local.INFO: GPS Element Parsed {"raw_longitude":751539712,"raw_latitude":122301032,"longitude_deg":75.1539712,"latitude_deg":12.2301032,"altitude":10,"angle":185,"satellites":42,"speed":27,"hex_longitude":"2ccb9600","hex_latitude":"074a2a68","is_valid_coordinates":true} 
[2026-07-01 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-01 21:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428231680001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334096800057131008,"note":"Value kept but may cause issues"} 
[2026-07-01 21:50:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3774227562657957888,"note":"Value kept but may cause issues"} 
[2026-07-01 21:50:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782922792000,"timestamp_ms":1782922792000,"timestamp_seconds":1782922792,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e7acc40"} 
[2026-07-01 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-01 21:50:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 21:50:55] 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-01 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-01 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-01 21:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":119323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":119323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":119323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:50:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 21:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428231680001,"66":27604,"101":206,"85":37632,"24":27,"16":334096800057131008,"44":-3774227562657957888},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,44]} 
[2026-07-01 21:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428231680001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:50:55] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-01 21:50:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 21:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334096800057131008,"km_value":334096800057131.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:50:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3774227562657957888,"description":"Unknown IO ID 44"} 
[2026-07-01 21:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428231680001,"power":27604,"unknown_101":206,"unknown_85":37632,"ignition":27,"odometer":null,"unknown_44":-3774227562657957888}} 
[2026-07-01 21:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":119323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:50:55] local.INFO: GPS data processed {"connection_id":119323,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:50:55] local.INFO: Acknowledgment sent {"connection_id":119323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:51:26] local.INFO: TCP Data received {"connection_id":119323,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e7adbe0012ccb9600074a1fe0000b00ad2a..."} 
[2026-07-01 21:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e7adbe0012ccb9600074a1fe0000b00ad2a..."} 
[2026-07-01 21:51:26] local.INFO: Processing buffer {"connection_id":119323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e7adbe0012ccb9600074a1fe0000b00ad2a..."} 
[2026-07-01 21:51:26] local.INFO: Packet analysis {"connection_id":119323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e7a"} 
[2026-07-01 21:51:26] local.INFO: Extracted packet for processing {"connection_id":119323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e7a"} 
[2026-07-01 21:51:26] local.INFO: GPS Element Parsed {"raw_longitude":751539712,"raw_latitude":122298336,"longitude_deg":75.1539712,"latitude_deg":12.2298336,"altitude":11,"angle":173,"satellites":42,"speed":26,"hex_longitude":"2ccb9600","hex_latitude":"074a1fe0","is_valid_coordinates":true} 
[2026-07-01 21:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428234752001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334096933201117184,"note":"Value kept but may cause issues"} 
[2026-07-01 21:51:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3776831206194518016,"note":"Value kept but may cause issues"} 
[2026-07-01 21:51:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782922796000,"timestamp_ms":1782922796000,"timestamp_seconds":1782922796,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e7adbe0"} 
[2026-07-01 21:51:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:51: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-01 21:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-01 21:51:26] 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-01 21:51:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:51:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:51:26] 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-01 21:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428234752001,"66":26930,"101":206,"85":37632,"24":26,"16":334096933201117184,"44":-3776831206194518016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,44]} 
[2026-07-01 21:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428234752001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:51:26] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-01 21:51:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 21:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334096933201117184,"km_value":334096933201117.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:51:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3776831206194518016,"description":"Unknown IO ID 44"} 
[2026-07-01 21:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428234752001,"power":26930,"unknown_101":206,"unknown_85":37632,"ignition":26,"odometer":null,"unknown_44":-3776831206194518016}} 
[2026-07-01 21:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":119323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:51:26] local.INFO: GPS data processed {"connection_id":119323,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:51:26] local.INFO: Acknowledgment sent {"connection_id":119323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:51:49] local.INFO: TCP Data received {"connection_id":120108,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:51:49] local.INFO: Processing buffer {"connection_id":120108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:51:49] local.INFO: IMEI packet received {"connection_id":120108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 21:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":120108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:51:50] local.INFO: TCP Data received {"connection_id":120108,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:51:50] local.INFO: Processing buffer {"connection_id":120108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:51:50] local.INFO: IMEI packet received {"connection_id":120108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":120108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:51:54] local.INFO: TCP Data received {"connection_id":120108,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:51:54] local.INFO: Processing buffer {"connection_id":120108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:51:54] local.INFO: IMEI packet received {"connection_id":120108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":120108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:51:55] local.INFO: TCP Data received {"connection_id":120108,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e7af738012ccb9a00074a0e80000c00a02a..."} 
[2026-07-01 21:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e7af738012ccb9a00074a0e80000c00a02a..."} 
[2026-07-01 21:51:55] local.INFO: Processing buffer {"connection_id":120108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e7af738012ccb9a00074a0e80000c00a02a..."} 
[2026-07-01 21:51:55] local.INFO: Packet analysis {"connection_id":120108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e7a"} 
[2026-07-01 21:51:55] local.INFO: Extracted packet for processing {"connection_id":120108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e7a"} 
[2026-07-01 21:51:55] local.INFO: GPS Element Parsed {"raw_longitude":751540736,"raw_latitude":122293888,"longitude_deg":75.1540736,"latitude_deg":12.2293888,"altitude":12,"angle":160,"satellites":42,"speed":25,"hex_longitude":"2ccb9a00","hex_latitude":"074a0e80","is_valid_coordinates":true} 
[2026-07-01 21:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428235776001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334097156539416576,"note":"Value kept but may cause issues"} 
[2026-07-01 21:51:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3776831206195208192,"note":"Value kept but may cause issues"} 
[2026-07-01 21:51:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782922803000,"timestamp_ms":1782922803000,"timestamp_seconds":1782922803,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e7af738"} 
[2026-07-01 21:51:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:51:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-07-01 21:51:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1173,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:51:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:51:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":120108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":120108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":120108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:51:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 21:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428235776001,"66":27604,"101":206,"85":37632,"24":25,"16":334097156539416576,"44":-3776831206195208192},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,85,24,16,44]} 
[2026-07-01 21:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428235776001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:51:55] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-07-01 21:51:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 21:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334097156539416576,"km_value":334097156539416.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:51:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3776831206195208192,"description":"Unknown IO ID 44"} 
[2026-07-01 21:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428235776001,"power":27604,"unknown_101":206,"unknown_85":37632,"ignition":25,"odometer":null,"unknown_44":-3776831206195208192}} 
[2026-07-01 21:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":120108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:51:55] local.INFO: GPS data processed {"connection_id":120108,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:51:55] local.INFO: Acknowledgment sent {"connection_id":120108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:52:26] local.INFO: TCP Data received {"connection_id":120108,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e7c4b10012ccc444007495c58000e00a52c..."} 
[2026-07-01 21:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e7c4b10012ccc444007495c58000e00a52c..."} 
[2026-07-01 21:52:26] local.INFO: Processing buffer {"connection_id":120108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e7c4b10012ccc444007495c58000e00a52c..."} 
[2026-07-01 21:52:26] local.INFO: Packet analysis {"connection_id":120108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e7c"} 
[2026-07-01 21:52:26] local.INFO: Extracted packet for processing {"connection_id":120108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e7c"} 
[2026-07-01 21:52:26] local.INFO: GPS Element Parsed {"raw_longitude":751584320,"raw_latitude":122248280,"longitude_deg":75.158432,"latitude_deg":12.224828,"altitude":14,"angle":165,"satellites":44,"speed":45,"hex_longitude":"2ccc4440","hex_latitude":"07495c58","is_valid_coordinates":true} 
[2026-07-01 21:52: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-01 21:52:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428259840001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:52:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334100283275608064,"note":"Value kept but may cause issues"} 
[2026-07-01 21:52:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3727784191516190720,"note":"Value kept but may cause issues"} 
[2026-07-01 21:52:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:52:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782922890000,"timestamp_ms":1782922890000,"timestamp_seconds":1782922890,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e7c4b10"} 
[2026-07-01 21:52:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:52:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-01 21:52:26] 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-01 21:52:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:52:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:52:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:52:26] local.INFO: Teltonika packet parsed successfully {"connection_id":120108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:52:26] local.INFO: Passing IMEI to GPS processor {"connection_id":120108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:52:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":120108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:52:26] 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-01 21:52:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:52:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:52:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428259840001,"66":27604,"167":206,"85":37632,"24":45,"16":334100283275608064,"44":-3727784191516190720},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,44]} 
[2026-07-01 21:52:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:52:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:52:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428259840001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:52:26] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-01 21:52:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 21:52:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334100283275608064,"km_value":334100283275608.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:52:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3727784191516190720,"description":"Unknown IO ID 44"} 
[2026-07-01 21:52:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428259840001,"power":27604,"unknown_167":206,"unknown_85":37632,"ignition":45,"odometer":null,"unknown_44":-3727784191516190720}} 
[2026-07-01 21:52:26] local.INFO: DEBUG: GPS processor result {"connection_id":120108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:52:26] local.INFO: GPS data processed {"connection_id":120108,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:52:26] local.INFO: Acknowledgment sent {"connection_id":120108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:52:48] local.INFO: TCP Data received {"connection_id":121170,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:52:48] local.INFO: Processing buffer {"connection_id":121170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:52:48] local.INFO: IMEI packet received {"connection_id":121170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 21:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":121170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:52:51] local.INFO: TCP Data received {"connection_id":121170,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:52:51] local.INFO: Processing buffer {"connection_id":121170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:52:51] local.INFO: IMEI packet received {"connection_id":121170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":121170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:52:54] local.INFO: TCP Data received {"connection_id":121170,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:52:54] local.INFO: Processing buffer {"connection_id":121170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:52:54] local.INFO: IMEI packet received {"connection_id":121170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":121170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:52:55] local.INFO: TCP Data received {"connection_id":121170,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e7c5ab0012ccc474007494aa0000e00b12c..."} 
[2026-07-01 21:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e7c5ab0012ccc474007494aa0000e00b12c..."} 
[2026-07-01 21:52:55] local.INFO: Processing buffer {"connection_id":121170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e7c5ab0012ccc474007494aa0000e00b12c..."} 
[2026-07-01 21:52:55] local.INFO: Packet analysis {"connection_id":121170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e7c"} 
[2026-07-01 21:52:55] local.INFO: Extracted packet for processing {"connection_id":121170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e7c"} 
[2026-07-01 21:52:55] local.INFO: GPS Element Parsed {"raw_longitude":751585088,"raw_latitude":122243744,"longitude_deg":75.1585088,"latitude_deg":12.2243744,"altitude":14,"angle":177,"satellites":44,"speed":46,"hex_longitude":"2ccc4740","hex_latitude":"07494aa0","is_valid_coordinates":true} 
[2026-07-01 21:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428259840001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334100502318940160,"note":"Value kept but may cause issues"} 
[2026-07-01 21:52:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3727784191516190720,"note":"Value kept but may cause issues"} 
[2026-07-01 21:52:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782922894000,"timestamp_ms":1782922894000,"timestamp_seconds":1782922894,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e7c5ab0"} 
[2026-07-01 21:52:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:52:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-01 21:52: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-01 21:52:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:52:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":121170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":121170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":121170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:52:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 21:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428259840001,"66":27484,"167":206,"85":37632,"24":46,"16":334100502318940160,"44":-3727784191516190720},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,44]} 
[2026-07-01 21:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428259840001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:52:55] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-01 21:52:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 21:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334100502318940160,"km_value":334100502318940.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:52:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3727784191516190720,"description":"Unknown IO ID 44"} 
[2026-07-01 21:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428259840001,"power":27484,"unknown_167":206,"unknown_85":37632,"ignition":46,"odometer":null,"unknown_44":-3727784191516190720}} 
[2026-07-01 21:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":121170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:52:55] local.INFO: GPS data processed {"connection_id":121170,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:52:55] local.INFO: Acknowledgment sent {"connection_id":121170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:53:26] local.INFO: TCP Data received {"connection_id":121170,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e7c79f0012ccc460007492560000d00b92b..."} 
[2026-07-01 21:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e7c79f0012ccc460007492560000d00b92b..."} 
[2026-07-01 21:53:26] local.INFO: Processing buffer {"connection_id":121170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e7c79f0012ccc460007492560000d00b92b..."} 
[2026-07-01 21:53:26] local.INFO: Packet analysis {"connection_id":121170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e7c"} 
[2026-07-01 21:53:26] local.INFO: Extracted packet for processing {"connection_id":121170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e7c"} 
[2026-07-01 21:53:26] local.INFO: GPS Element Parsed {"raw_longitude":751584768,"raw_latitude":122234208,"longitude_deg":75.1584768,"latitude_deg":12.2234208,"altitude":13,"angle":185,"satellites":43,"speed":47,"hex_longitude":"2ccc4600","hex_latitude":"07492560","is_valid_coordinates":true} 
[2026-07-01 21:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428260864001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334100966175408128,"note":"Value kept but may cause issues"} 
[2026-07-01 21:53:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3726939766587219968,"note":"Value kept but may cause issues"} 
[2026-07-01 21:53:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782922902000,"timestamp_ms":1782922902000,"timestamp_seconds":1782922902,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e7c79f0"} 
[2026-07-01 21:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:53: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-01 21:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 21:53:26] 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-01 21:53:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":121170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":121170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":121170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:53:26] 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-01 21:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428260864001,"66":27593,"167":206,"85":37632,"24":47,"16":334100966175408128,"44":-3726939766587219968},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,44]} 
[2026-07-01 21:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428260864001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:53:26] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-01 21:53:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 21:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334100966175408128,"km_value":334100966175408.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:53:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3726939766587219968,"description":"Unknown IO ID 44"} 
[2026-07-01 21:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428260864001,"power":27593,"unknown_167":206,"unknown_85":37632,"ignition":47,"odometer":null,"unknown_44":-3726939766587219968}} 
[2026-07-01 21:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":121170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:53:26] local.INFO: GPS data processed {"connection_id":121170,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:53:26] local.INFO: Acknowledgment sent {"connection_id":121170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:53:54] local.INFO: TCP Data received {"connection_id":120110,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:53:54] local.INFO: Processing buffer {"connection_id":120110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:53:54] local.INFO: IMEI packet received {"connection_id":120110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 21:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":120110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:53:59] local.INFO: TCP Data received {"connection_id":120110,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:53:59] local.INFO: Processing buffer {"connection_id":120110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:53:59] local.INFO: IMEI packet received {"connection_id":120110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":120110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:54:00] local.INFO: TCP Data received {"connection_id":120110,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e7c9930012ccc42c007490010000c00b82a..."} 
[2026-07-01 21:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e7c9930012ccc42c007490010000c00b82a..."} 
[2026-07-01 21:54:00] local.INFO: Processing buffer {"connection_id":120110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e7c9930012ccc42c007490010000c00b82a..."} 
[2026-07-01 21:54:00] local.INFO: Packet analysis {"connection_id":120110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e7c"} 
[2026-07-01 21:54:00] local.INFO: Extracted packet for processing {"connection_id":120110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e7c"} 
[2026-07-01 21:54:00] local.INFO: GPS Element Parsed {"raw_longitude":751583936,"raw_latitude":122224656,"longitude_deg":75.1583936,"latitude_deg":12.2224656,"altitude":12,"angle":184,"satellites":42,"speed":48,"hex_longitude":"2ccc42c0","hex_latitude":"07490010","is_valid_coordinates":true} 
[2026-07-01 21:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428262912001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334101434326843392,"note":"Value kept but may cause issues"} 
[2026-07-01 21:54:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3727291610310549504,"note":"Value kept but may cause issues"} 
[2026-07-01 21:54:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782922910000,"timestamp_ms":1782922910000,"timestamp_seconds":1782922910,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e7c9930"} 
[2026-07-01 21:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 21:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-01 21:54:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:54:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":120110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":120110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":120110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:54: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-01 21:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428262912001,"66":27593,"167":206,"85":37632,"24":48,"16":334101434326843392,"44":-3727291610310549504},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,44]} 
[2026-07-01 21:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428262912001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:54:00] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-01 21:54:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 21:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334101434326843392,"km_value":334101434326843.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:54:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3727291610310549504,"description":"Unknown IO ID 44"} 
[2026-07-01 21:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428262912001,"power":27593,"unknown_167":206,"unknown_85":37632,"ignition":48,"odometer":null,"unknown_44":-3727291610310549504}} 
[2026-07-01 21:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":120110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:54:00] local.INFO: GPS data processed {"connection_id":120110,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:54:00] local.INFO: Acknowledgment sent {"connection_id":120110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:54:00] local.INFO: TCP Data received {"connection_id":120110,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e7cb870012ccc3f000748dc70000c00ba29..."} 
[2026-07-01 21:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e7cb870012ccc3f000748dc70000c00ba29..."} 
[2026-07-01 21:54:00] local.INFO: Processing buffer {"connection_id":120110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e7cb870012ccc3f000748dc70000c00ba29..."} 
[2026-07-01 21:54:00] local.INFO: Packet analysis {"connection_id":120110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e7c"} 
[2026-07-01 21:54:00] local.INFO: Extracted packet for processing {"connection_id":120110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e7c"} 
[2026-07-01 21:54:00] local.INFO: GPS Element Parsed {"raw_longitude":751582976,"raw_latitude":122215536,"longitude_deg":75.1582976,"latitude_deg":12.2215536,"altitude":12,"angle":186,"satellites":41,"speed":44,"hex_longitude":"2ccc3f00","hex_latitude":"0748dc70","is_valid_coordinates":true} 
[2026-07-01 21:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428264960001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334101876708474880,"note":"Value kept but may cause issues"} 
[2026-07-01 21:54:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3728206403987304448,"note":"Value kept but may cause issues"} 
[2026-07-01 21:54:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782922918000,"timestamp_ms":1782922918000,"timestamp_seconds":1782922918,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e7cb870"} 
[2026-07-01 21:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 21:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-01 21:54:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 21:54:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":120110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":120110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":120110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:54: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-01 21:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428264960001,"66":27571,"167":206,"85":37632,"24":44,"16":334101876708474880,"44":-3728206403987304448},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,44]} 
[2026-07-01 21:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428264960001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:54:00] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-01 21:54:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 21:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334101876708474880,"km_value":334101876708474.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:54:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3728206403987304448,"description":"Unknown IO ID 44"} 
[2026-07-01 21:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428264960001,"power":27571,"unknown_167":206,"unknown_85":37632,"ignition":44,"odometer":null,"unknown_44":-3728206403987304448}} 
[2026-07-01 21:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":120110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:54:00] local.INFO: GPS data processed {"connection_id":120110,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:54:00] local.INFO: Acknowledgment sent {"connection_id":120110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:54:31] local.INFO: TCP Data received {"connection_id":120110,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e7cd7b0012ccc37800748b880000a00c32a..."} 
[2026-07-01 21:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e7cd7b0012ccc37800748b880000a00c32a..."} 
[2026-07-01 21:54:31] local.INFO: Processing buffer {"connection_id":120110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e7cd7b0012ccc37800748b880000a00c32a..."} 
[2026-07-01 21:54:31] local.INFO: Packet analysis {"connection_id":120110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e7c"} 
[2026-07-01 21:54:31] local.INFO: Extracted packet for processing {"connection_id":120110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e7c"} 
[2026-07-01 21:54:31] local.INFO: GPS Element Parsed {"raw_longitude":751581056,"raw_latitude":122206336,"longitude_deg":75.1581056,"latitude_deg":12.2206336,"altitude":10,"angle":195,"satellites":42,"speed":48,"hex_longitude":"2ccc3780","hex_latitude":"0748b880","is_valid_coordinates":true} 
[2026-07-01 21:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 21:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428267008001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334102331975008256,"note":"Value kept but may cause issues"} 
[2026-07-01 21:54:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3729261935152304128,"note":"Value kept but may cause issues"} 
[2026-07-01 21:54:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782922926000,"timestamp_ms":1782922926000,"timestamp_seconds":1782922926,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e7cd7b0"} 
[2026-07-01 21:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 21:54:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-01 21:54:31] 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-01 21:54:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 21:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 21:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":120110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":120110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":120110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:54:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 21:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428267008001,"66":27593,"167":206,"85":37632,"24":48,"16":334102331975008256,"44":-3729261935152304128},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,44]} 
[2026-07-01 21:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428267008001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:54:31] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-01 21:54:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 21:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334102331975008256,"km_value":334102331975008.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:54:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3729261935152304128,"description":"Unknown IO ID 44"} 
[2026-07-01 21:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428267008001,"power":27593,"unknown_167":206,"unknown_85":37632,"ignition":48,"odometer":null,"unknown_44":-3729261935152304128}} 
[2026-07-01 21:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":120110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:54:31] local.INFO: GPS data processed {"connection_id":120110,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:54:31] local.INFO: Acknowledgment sent {"connection_id":120110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:54:48] local.INFO: TCP Data received {"connection_id":119324,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:54:48] local.INFO: Processing buffer {"connection_id":119324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:54:48] local.INFO: IMEI packet received {"connection_id":119324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 21:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":119324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:54:49] local.INFO: TCP Data received {"connection_id":119324,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:54:49] local.INFO: Processing buffer {"connection_id":119324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:54:49] local.INFO: IMEI packet received {"connection_id":119324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":119324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:55:03] local.INFO: TCP Data received {"connection_id":119324,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:55:03] local.INFO: Processing buffer {"connection_id":119324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 21:55:03] local.INFO: IMEI packet received {"connection_id":119324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 21:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":119324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 21:55:04] local.INFO: TCP Data received {"connection_id":119324,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e7cf308012ccc2cc007489788000800c62b..."} 
[2026-07-01 21:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e7cf308012ccc2cc007489788000800c62b..."} 
[2026-07-01 21:55:04] local.INFO: Processing buffer {"connection_id":119324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e7cf308012ccc2cc007489788000800c62b..."} 
[2026-07-01 21:55:04] local.INFO: Packet analysis {"connection_id":119324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e7c"} 
[2026-07-01 21:55:04] local.INFO: Extracted packet for processing {"connection_id":119324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e7c"} 
[2026-07-01 21:55:04] local.INFO: GPS Element Parsed {"raw_longitude":751578304,"raw_latitude":122197896,"longitude_deg":75.1578304,"latitude_deg":12.2197896,"altitude":8,"angle":198,"satellites":43,"speed":51,"hex_longitude":"2ccc2cc0","hex_latitude":"07489788","is_valid_coordinates":true} 
[2026-07-01 21: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-01 21:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428269056001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334102761471737856,"note":"Value kept but may cause issues"} 
[2026-07-01 21:55:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3731372997479989248,"note":"Value kept but may cause issues"} 
[2026-07-01 21:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782922933000,"timestamp_ms":1782922933000,"timestamp_seconds":1782922933,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e7cf308"} 
[2026-07-01 21: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-01 21:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 21:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-01 21:55:04] 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-01 21: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-01 21: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-01 21:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":119324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":119324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":119324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:55: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-01 21:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428269056001,"66":27517,"167":206,"85":37632,"24":51,"16":334102761471737856,"44":-3731372997479989248},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,44]} 
[2026-07-01 21:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428269056001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:55:04] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-01 21:55:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 21:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334102761471737856,"km_value":334102761471737.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:55:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3731372997479989248,"description":"Unknown IO ID 44"} 
[2026-07-01 21:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428269056001,"power":27517,"unknown_167":206,"unknown_85":37632,"ignition":51,"odometer":null,"unknown_44":-3731372997479989248}} 
[2026-07-01 21:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":119324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:55:04] local.INFO: GPS data processed {"connection_id":119324,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:55:04] local.INFO: Acknowledgment sent {"connection_id":119324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:55:45] local.INFO: TCP Data received {"connection_id":119325,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 21:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119325,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 21:55:45] local.INFO: Processing buffer {"connection_id":119325,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 21:55:45] local.INFO: IMEI packet received {"connection_id":119325,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 21:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":119325,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 21:56:04] local.INFO: TCP Data received {"connection_id":119324,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e7d1248012ccc2440074875f0000600ba2b..."} 
[2026-07-01 21:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e7d1248012ccc2440074875f0000600ba2b..."} 
[2026-07-01 21:56:04] local.INFO: Processing buffer {"connection_id":119324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e7d1248012ccc2440074875f0000600ba2b..."} 
[2026-07-01 21:56:04] local.INFO: Packet analysis {"connection_id":119324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e7d"} 
[2026-07-01 21:56:04] local.INFO: Extracted packet for processing {"connection_id":119324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e7d"} 
[2026-07-01 21:56:04] local.INFO: GPS Element Parsed {"raw_longitude":751576128,"raw_latitude":122189296,"longitude_deg":75.1576128,"latitude_deg":12.2189296,"altitude":6,"angle":186,"satellites":43,"speed":40,"hex_longitude":"2ccc2440","hex_latitude":"074875f0","is_valid_coordinates":true} 
[2026-07-01 21: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-01 21:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428270848001,"note":"Value kept but may cause issues"} 
[2026-07-01 21:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334103190968467456,"note":"Value kept but may cause issues"} 
[2026-07-01 21:56:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3734398853481789440,"note":"Value kept but may cause issues"} 
[2026-07-01 21:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 21:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782922941000,"timestamp_ms":1782922941000,"timestamp_seconds":1782922941,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e7d1248"} 
[2026-07-01 21: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-01 21:56: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-01 21: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-01 21:56:04] 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-01 21: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-01 21: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-01 21:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 21:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":119324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 21:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":119324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":119324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 21:56: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-01 21:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 21:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 21:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428270848001,"66":27517,"167":206,"85":37632,"24":40,"16":334103190968467456,"44":-3734398853481789440},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,44]} 
[2026-07-01 21:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 21:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 21:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428270848001,"description":"Unknown IO ID 0"} 
[2026-07-01 21:56:04] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-07-01 21:56:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 21:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334103190968467456,"km_value":334103190968467.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 21:56:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3734398853481789440,"description":"Unknown IO ID 44"} 
[2026-07-01 21:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428270848001,"power":27517,"unknown_167":206,"unknown_85":37632,"ignition":40,"odometer":null,"unknown_44":-3734398853481789440}} 
[2026-07-01 21:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":119324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 21:56:04] local.INFO: GPS data processed {"connection_id":119324,"processed":1,"errors":0,"total":1} 
[2026-07-01 21:56:04] local.INFO: Acknowledgment sent {"connection_id":119324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 21:56:14] local.INFO: TCP Data received {"connection_id":120111,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 21:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120111,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 21:56:14] local.INFO: Processing buffer {"connection_id":120111,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 21:56:14] local.INFO: IMEI packet received {"connection_id":120111,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 21:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":120111,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:01:25] local.INFO: TCP Data received {"connection_id":121175,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:01:25] local.INFO: Processing buffer {"connection_id":121175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:01:25] local.INFO: IMEI packet received {"connection_id":121175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 22:01:25] local.INFO: IMEI acknowledgment sent {"connection_id":121175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:01:26] local.INFO: TCP Data received {"connection_id":121175,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e8474e8012cceb5c007441b20000c00582e..."} 
[2026-07-01 22:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e8474e8012cceb5c007441b20000c00582e..."} 
[2026-07-01 22:01:26] local.INFO: Processing buffer {"connection_id":121175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e8474e8012cceb5c007441b20000c00582e..."} 
[2026-07-01 22:01:26] local.INFO: Packet analysis {"connection_id":121175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e84"} 
[2026-07-01 22:01:26] local.INFO: Extracted packet for processing {"connection_id":121175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e84"} 
[2026-07-01 22:01:26] local.INFO: GPS Element Parsed {"raw_longitude":751744448,"raw_latitude":121903904,"longitude_deg":75.1744448,"latitude_deg":12.1903904,"altitude":12,"angle":88,"satellites":46,"speed":50,"hex_longitude":"2cceb5c0","hex_latitude":"07441b20","is_valid_coordinates":true} 
[2026-07-01 22:01:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428395008001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334121092392157184,"note":"Value kept but may cause issues"} 
[2026-07-01 22:01:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3561925061577680896,"note":"Value kept but may cause issues"} 
[2026-07-01 22:01:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782923425000,"timestamp_ms":1782923425000,"timestamp_seconds":1782923425,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e8474e8"} 
[2026-07-01 22:01:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:01: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-01 22:01:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-01 22:01:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:01:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:01:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":121175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":121175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":121175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:01:26] 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-01 22:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428395008001,"66":27343,"142":206,"85":37632,"24":50,"16":334121092392157184,"44":-3561925061577680896},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,85,24,16,44]} 
[2026-07-01 22:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428395008001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:01:26] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-07-01 22:01:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 22:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334121092392157184,"km_value":334121092392157.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:01:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3561925061577680896,"description":"Unknown IO ID 44"} 
[2026-07-01 22:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428395008001,"power":27343,"unknown_142":206,"unknown_85":37632,"ignition":50,"odometer":null,"unknown_44":-3561925061577680896}} 
[2026-07-01 22:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":121175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:01:26] local.INFO: GPS data processed {"connection_id":121175,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:01:26] local.INFO: Acknowledgment sent {"connection_id":121175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:01:48] local.INFO: TCP Data received {"connection_id":120114,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:01:48] local.INFO: Processing buffer {"connection_id":120114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:01:48] local.INFO: IMEI packet received {"connection_id":120114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 22:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":120114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:01:51] local.INFO: TCP Data received {"connection_id":120114,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:01:51] local.INFO: Processing buffer {"connection_id":120114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:01:51] local.INFO: IMEI packet received {"connection_id":120114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":120114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:01:52] local.INFO: TCP Data received {"connection_id":120114,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e849428012ccedb4007441c68000b005b2c..."} 
[2026-07-01 22:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e849428012ccedb4007441c68000b005b2c..."} 
[2026-07-01 22:01:52] local.INFO: Processing buffer {"connection_id":120114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e849428012ccedb4007441c68000b005b2c..."} 
[2026-07-01 22:01:52] local.INFO: Packet analysis {"connection_id":120114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e84"} 
[2026-07-01 22:01:52] local.INFO: Extracted packet for processing {"connection_id":120114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e84"} 
[2026-07-01 22:01:52] local.INFO: GPS Element Parsed {"raw_longitude":751754048,"raw_latitude":121904232,"longitude_deg":75.1754048,"latitude_deg":12.1904232,"altitude":11,"angle":91,"satellites":44,"speed":46,"hex_longitude":"2ccedb40","hex_latitude":"07441c68","is_valid_coordinates":true} 
[2026-07-01 22: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-01 22:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428396800001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334121547658690560,"note":"Value kept but may cause issues"} 
[2026-07-01 22:01:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3551721593671835648,"note":"Value kept but may cause issues"} 
[2026-07-01 22:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782923433000,"timestamp_ms":1782923433000,"timestamp_seconds":1782923433,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e849428"} 
[2026-07-01 22: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-01 22:01:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-01 22:01:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:01:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22: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-01 22:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":120114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":120114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":120114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:01:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 22:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428396800001,"66":27365,"142":206,"85":37632,"24":46,"16":334121547658690560,"44":-3551721593671835648},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,85,24,16,44]} 
[2026-07-01 22:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428396800001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:01:52] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-07-01 22:01:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 22:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334121547658690560,"km_value":334121547658690.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:01:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3551721593671835648,"description":"Unknown IO ID 44"} 
[2026-07-01 22:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428396800001,"power":27365,"unknown_142":206,"unknown_85":37632,"ignition":46,"odometer":null,"unknown_44":-3551721593671835648}} 
[2026-07-01 22:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":120114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:01:52] local.INFO: GPS data processed {"connection_id":120114,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:01:52] local.INFO: Acknowledgment sent {"connection_id":120114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:02:22] local.INFO: TCP Data received {"connection_id":121176,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 22:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121176,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 22:02:22] local.INFO: Processing buffer {"connection_id":121176,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 22:02:22] local.INFO: IMEI packet received {"connection_id":121176,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 22:02:22] local.INFO: IMEI acknowledgment sent {"connection_id":121176,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:02:23] local.INFO: TCP Data received {"connection_id":120114,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e84a3c8012cceedc0074419e8000c00672d..."} 
[2026-07-01 22:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e84a3c8012cceedc0074419e8000c00672d..."} 
[2026-07-01 22:02:23] local.INFO: Processing buffer {"connection_id":120114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e84a3c8012cceedc0074419e8000c00672d..."} 
[2026-07-01 22:02:23] local.INFO: Packet analysis {"connection_id":120114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e84"} 
[2026-07-01 22:02:23] local.INFO: Extracted packet for processing {"connection_id":120114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e84"} 
[2026-07-01 22:02:23] local.INFO: GPS Element Parsed {"raw_longitude":751758784,"raw_latitude":121903592,"longitude_deg":75.1758784,"latitude_deg":12.1903592,"altitude":12,"angle":103,"satellites":45,"speed":46,"hex_longitude":"2cceedc0","hex_latitude":"074419e8","is_valid_coordinates":true} 
[2026-07-01 22: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-01 22:02:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428398848001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:02:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334121775291957248,"note":"Value kept but may cause issues"} 
[2026-07-01 22:02:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3541166282045102080,"note":"Value kept but may cause issues"} 
[2026-07-01 22:02:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:02:23] local.INFO: AVL Record Parsed {"raw_timestamp":1782923437000,"timestamp_ms":1782923437000,"timestamp_seconds":1782923437,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e84a3c8"} 
[2026-07-01 22: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-01 22:02:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 22: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 22:02:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22: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-01 22: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-01 22:02:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:02:23] local.INFO: Teltonika packet parsed successfully {"connection_id":120114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:02:23] local.INFO: Passing IMEI to GPS processor {"connection_id":120114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:02:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":120114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:02:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 22:02:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:02:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:02:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428398848001,"66":27267,"142":206,"85":37632,"24":46,"16":334121775291957248,"44":-3541166282045102080},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,85,24,16,44]} 
[2026-07-01 22:02:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:02:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:02:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428398848001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:02:23] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-07-01 22:02:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-07-01 22:02:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334121775291957248,"km_value":334121775291957.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:02:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3541166282045102080,"description":"Unknown IO ID 44"} 
[2026-07-01 22:02:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428398848001,"power":27267,"unknown_142":206,"unknown_85":37632,"ignition":46,"odometer":null,"unknown_44":-3541166282045102080}} 
[2026-07-01 22:02:23] local.INFO: DEBUG: GPS processor result {"connection_id":120114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:02:23] local.INFO: GPS data processed {"connection_id":120114,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:02:23] local.INFO: Acknowledgment sent {"connection_id":120114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:02:58] local.INFO: TCP Data received {"connection_id":119437,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:02:58] local.INFO: Processing buffer {"connection_id":119437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:02:58] local.INFO: IMEI packet received {"connection_id":119437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 22:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":119437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:02:59] local.INFO: TCP Data received {"connection_id":119437,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:02:59] local.INFO: Processing buffer {"connection_id":119437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:02:59] local.INFO: IMEI packet received {"connection_id":119437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":119437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:03:04] local.INFO: TCP Data received {"connection_id":119437,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:03:04] local.INFO: Processing buffer {"connection_id":119437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:03:04] local.INFO: IMEI packet received {"connection_id":119437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":119437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:03:04] local.INFO: TCP Data received {"connection_id":119437,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e85a980012ccfd100074341480012007c2a..."} 
[2026-07-01 22:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e85a980012ccfd100074341480012007c2a..."} 
[2026-07-01 22:03:04] local.INFO: Processing buffer {"connection_id":119437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e85a980012ccfd100074341480012007c2a..."} 
[2026-07-01 22:03:04] local.INFO: Packet analysis {"connection_id":119437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e85"} 
[2026-07-01 22:03:04] local.INFO: Extracted packet for processing {"connection_id":119437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e85"} 
[2026-07-01 22:03:04] local.INFO: GPS Element Parsed {"raw_longitude":751816960,"raw_latitude":121848136,"longitude_deg":75.181696,"latitude_deg":12.1848136,"altitude":18,"angle":124,"satellites":42,"speed":46,"hex_longitude":"2ccfd100","hex_latitude":"07434148","is_valid_coordinates":true} 
[2026-07-01 22: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-01 22:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428414976001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334125696597098496,"note":"Value kept but may cause issues"} 
[2026-07-01 22:03:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3480578793321095168,"note":"Value kept but may cause issues"} 
[2026-07-01 22:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782923504000,"timestamp_ms":1782923504000,"timestamp_seconds":1782923504,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e85a980"} 
[2026-07-01 22: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-01 22:03: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-01 22: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-01 22:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22: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-01 22: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-01 22:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":119437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":119437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":119437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:03: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-01 22:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428414976001,"66":27397,"79":206,"83":43264,"24":46,"16":334125696597098496,"44":-3480578793321095168},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,83,24,16,44]} 
[2026-07-01 22:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428414976001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:03:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-07-01 22:03:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 22:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334125696597098496,"km_value":334125696597098.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:03:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3480578793321095168,"description":"Unknown IO ID 44"} 
[2026-07-01 22:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428414976001,"power":27397,"unknown_79":206,"unknown_83":43264,"ignition":46,"odometer":null,"unknown_44":-3480578793321095168}} 
[2026-07-01 22:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":119437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:03:04] local.INFO: GPS data processed {"connection_id":119437,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:03:04] local.INFO: Acknowledgment sent {"connection_id":119437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:03:48] local.INFO: TCP Data received {"connection_id":120116,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:03:48] local.INFO: Processing buffer {"connection_id":120116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:03:48] local.INFO: IMEI packet received {"connection_id":120116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 22:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":120116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:03:51] local.INFO: TCP Data received {"connection_id":120116,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:03:51] local.INFO: Processing buffer {"connection_id":120116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:03:51] local.INFO: IMEI packet received {"connection_id":120116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":120116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:03:54] local.INFO: TCP Data received {"connection_id":120116,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:03:54] local.INFO: Processing buffer {"connection_id":120116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:03:54] local.INFO: IMEI packet received {"connection_id":120116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":120116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:03:54] local.INFO: TCP Data received {"connection_id":120116,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e85c8c0012ccfef4007432c700013007c2c..."} 
[2026-07-01 22:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e85c8c0012ccfef4007432c700013007c2c..."} 
[2026-07-01 22:03:54] local.INFO: Processing buffer {"connection_id":120116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e85c8c0012ccfef4007432c700013007c2c..."} 
[2026-07-01 22:03:54] local.INFO: Packet analysis {"connection_id":120116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e85"} 
[2026-07-01 22:03:54] local.INFO: Extracted packet for processing {"connection_id":120116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e85"} 
[2026-07-01 22:03:54] local.INFO: GPS Element Parsed {"raw_longitude":751824704,"raw_latitude":121842800,"longitude_deg":75.1824704,"latitude_deg":12.18428,"altitude":19,"angle":124,"satellites":44,"speed":46,"hex_longitude":"2ccfef40","hex_latitude":"07432c70","is_valid_coordinates":true} 
[2026-07-01 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-01 22:03:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428417024001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:03:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334126147568664576,"note":"Value kept but may cause issues"} 
[2026-07-01 22:03:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3471993806532818944,"note":"Value kept but may cause issues"} 
[2026-07-01 22:03:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:03:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782923512000,"timestamp_ms":1782923512000,"timestamp_seconds":1782923512,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e85c8c0"} 
[2026-07-01 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-01 22:03: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-01 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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-01 22:03:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 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-01 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-01 22:03:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:03:54] local.INFO: Teltonika packet parsed successfully {"connection_id":120116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:03:54] local.INFO: Passing IMEI to GPS processor {"connection_id":120116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:03:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":120116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:03:54] 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-01 22:03:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:03:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:03:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428417024001,"66":27343,"79":206,"83":43264,"24":46,"16":334126147568664576,"44":-3471993806532818944},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,83,24,16,44]} 
[2026-07-01 22:03:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:03:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:03:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428417024001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:03:54] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-07-01 22:03:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 22:03:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334126147568664576,"km_value":334126147568664.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:03:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3471993806532818944,"description":"Unknown IO ID 44"} 
[2026-07-01 22:03:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428417024001,"power":27343,"unknown_79":206,"unknown_83":43264,"ignition":46,"odometer":null,"unknown_44":-3471993806532818944}} 
[2026-07-01 22:03:54] local.INFO: DEBUG: GPS processor result {"connection_id":120116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:03:54] local.INFO: GPS data processed {"connection_id":120116,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:03:54] local.INFO: Acknowledgment sent {"connection_id":120116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:04:26] local.INFO: TCP Data received {"connection_id":120116,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e873fc0012cd16c800741f5900010008e2b..."} 
[2026-07-01 22:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e873fc0012cd16c800741f5900010008e2b..."} 
[2026-07-01 22:04:26] local.INFO: Processing buffer {"connection_id":120116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e873fc0012cd16c800741f5900010008e2b..."} 
[2026-07-01 22:04:26] local.INFO: Packet analysis {"connection_id":120116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e87"} 
[2026-07-01 22:04:26] local.INFO: Extracted packet for processing {"connection_id":120116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e87"} 
[2026-07-01 22:04:26] local.INFO: GPS Element Parsed {"raw_longitude":751922304,"raw_latitude":121763216,"longitude_deg":75.1922304,"latitude_deg":12.1763216,"altitude":16,"angle":142,"satellites":43,"speed":47,"hex_longitude":"2cd16c80","hex_latitude":"0741f590","is_valid_coordinates":true} 
[2026-07-01 22:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:04:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428441600001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:04:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334132203472551936,"note":"Value kept but may cause issues"} 
[2026-07-01 22:04:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3363062990565556224,"note":"Value kept but may cause issues"} 
[2026-07-01 22:04:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:04:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782923608000,"timestamp_ms":1782923608000,"timestamp_seconds":1782923608,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e873fc0"} 
[2026-07-01 22:04:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:04: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-01 22:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-01 22:04:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2155,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:04:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:04:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:04:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:04:26] local.INFO: Teltonika packet parsed successfully {"connection_id":120116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:04:26] local.INFO: Passing IMEI to GPS processor {"connection_id":120116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:04:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":120116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:04:26] 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-01 22:04:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:04:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:04:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428441600001,"66":27571,"109":206,"83":43264,"24":47,"16":334132203472551936,"44":-3363062990565556224},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,83,24,16,44]} 
[2026-07-01 22:04:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:04:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:04:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428441600001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:04:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-07-01 22:04:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 22:04:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334132203472551936,"km_value":334132203472551.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:04:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3363062990565556224,"description":"Unknown IO ID 44"} 
[2026-07-01 22:04:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428441600001,"power":27571,"unknown_109":206,"unknown_83":43264,"ignition":47,"odometer":null,"unknown_44":-3363062990565556224}} 
[2026-07-01 22:04:26] local.INFO: DEBUG: GPS processor result {"connection_id":120116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:04:26] local.INFO: GPS data processed {"connection_id":120116,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:04:26] local.INFO: Acknowledgment sent {"connection_id":120116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:04:54] local.INFO: TCP Data received {"connection_id":119328,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:04:54] local.INFO: Processing buffer {"connection_id":119328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:04:54] local.INFO: IMEI packet received {"connection_id":119328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 22:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":119328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:04:54] local.INFO: TCP Data received {"connection_id":119328,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:04:54] local.INFO: Processing buffer {"connection_id":119328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:04:54] local.INFO: IMEI packet received {"connection_id":119328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":119328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:04:59] local.INFO: TCP Data received {"connection_id":119328,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:04:59] local.INFO: Processing buffer {"connection_id":119328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:04:59] local.INFO: IMEI packet received {"connection_id":119328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":119328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:04:59] local.INFO: TCP Data received {"connection_id":119328,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e875f00012cd182400741d878000f00912a..."} 
[2026-07-01 22:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e875f00012cd182400741d878000f00912a..."} 
[2026-07-01 22:05:00] local.INFO: Processing buffer {"connection_id":119328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e875f00012cd182400741d878000f00912a..."} 
[2026-07-01 22:05:00] local.INFO: Packet analysis {"connection_id":119328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e87"} 
[2026-07-01 22:05:00] local.INFO: Extracted packet for processing {"connection_id":119328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e87"} 
[2026-07-01 22:05:00] local.INFO: GPS Element Parsed {"raw_longitude":751927872,"raw_latitude":121755768,"longitude_deg":75.1927872,"latitude_deg":12.1755768,"altitude":15,"angle":145,"satellites":42,"speed":45,"hex_longitude":"2cd18240","hex_latitude":"0741d878","is_valid_coordinates":true} 
[2026-07-01 22:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:05:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428443648001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:05:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334132650149150720,"note":"Value kept but may cause issues"} 
[2026-07-01 22:05:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3356166853638123520,"note":"Value kept but may cause issues"} 
[2026-07-01 22:05:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:05:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782923616000,"timestamp_ms":1782923616000,"timestamp_seconds":1782923616,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e875f00"} 
[2026-07-01 22:05:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:05:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 22:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-01 22:05:00] 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-01 22:05:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:05:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:05:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:05:00] local.INFO: Teltonika packet parsed successfully {"connection_id":119328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:05:00] local.INFO: Passing IMEI to GPS processor {"connection_id":119328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:05:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":119328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:05: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-01 22:05:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:05:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:05:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428443648001,"66":27571,"111":206,"83":43264,"24":45,"16":334132650149150720,"44":-3356166853638123520},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,83,24,16,44]} 
[2026-07-01 22:05:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:05:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:05:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428443648001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:05:00] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-01 22:05:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 22:05:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334132650149150720,"km_value":334132650149150.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:05:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3356166853638123520,"description":"Unknown IO ID 44"} 
[2026-07-01 22:05:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428443648001,"power":27571,"unknown_111":206,"unknown_83":43264,"ignition":45,"odometer":null,"unknown_44":-3356166853638123520}} 
[2026-07-01 22:05:00] local.INFO: DEBUG: GPS processor result {"connection_id":119328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:05:00] local.INFO: GPS data processed {"connection_id":119328,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:05:00] local.INFO: Acknowledgment sent {"connection_id":119328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:05:01] local.INFO: TCP Data received {"connection_id":119328,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e877e40012cd198400741bb780011008d2d..."} 
[2026-07-01 22:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e877e40012cd198400741bb780011008d2d..."} 
[2026-07-01 22:05:01] local.INFO: Processing buffer {"connection_id":119328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e877e40012cd198400741bb780011008d2d..."} 
[2026-07-01 22:05:01] local.INFO: Packet analysis {"connection_id":119328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e87"} 
[2026-07-01 22:05:01] local.INFO: Extracted packet for processing {"connection_id":119328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e87"} 
[2026-07-01 22:05:01] local.INFO: GPS Element Parsed {"raw_longitude":751933504,"raw_latitude":121748344,"longitude_deg":75.1933504,"latitude_deg":12.1748344,"altitude":17,"angle":141,"satellites":45,"speed":46,"hex_longitude":"2cd19840","hex_latitude":"0741bb78","is_valid_coordinates":true} 
[2026-07-01 22:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428445696001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334133096825749504,"note":"Value kept but may cause issues"} 
[2026-07-01 22:05:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3350044772896573440,"note":"Value kept but may cause issues"} 
[2026-07-01 22:05:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782923624000,"timestamp_ms":1782923624000,"timestamp_seconds":1782923624,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e877e40"} 
[2026-07-01 22:05:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:05:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 22:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-01 22:05:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:05:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:05:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":119328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":119328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":119328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:05:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 22:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428445696001,"66":27615,"110":206,"83":43264,"24":46,"16":334133096825749504,"44":-3350044772896573440},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-07-01 22:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428445696001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:05:01] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 22:05:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 22:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334133096825749504,"km_value":334133096825749.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:05:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3350044772896573440,"description":"Unknown IO ID 44"} 
[2026-07-01 22:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428445696001,"power":27615,"unknown_110":206,"unknown_83":43264,"ignition":46,"odometer":null,"unknown_44":-3350044772896573440}} 
[2026-07-01 22:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":119328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:05:01] local.INFO: GPS data processed {"connection_id":119328,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:05:01] local.INFO: Acknowledgment sent {"connection_id":119328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:05:32] local.INFO: TCP Data received {"connection_id":119328,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e879d80012cd1b04007419e900012008b2d..."} 
[2026-07-01 22:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e879d80012cd1b04007419e900012008b2d..."} 
[2026-07-01 22:05:32] local.INFO: Processing buffer {"connection_id":119328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e879d80012cd1b04007419e900012008b2d..."} 
[2026-07-01 22:05:32] local.INFO: Packet analysis {"connection_id":119328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e87"} 
[2026-07-01 22:05:32] local.INFO: Extracted packet for processing {"connection_id":119328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e87"} 
[2026-07-01 22:05:32] local.INFO: GPS Element Parsed {"raw_longitude":751939648,"raw_latitude":121740944,"longitude_deg":75.1939648,"latitude_deg":12.1740944,"altitude":18,"angle":139,"satellites":45,"speed":48,"hex_longitude":"2cd1b040","hex_latitude":"07419e90","is_valid_coordinates":true} 
[2026-07-01 22:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428447744001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334133560682217472,"note":"Value kept but may cause issues"} 
[2026-07-01 22:05:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3343852323410839552,"note":"Value kept but may cause issues"} 
[2026-07-01 22:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782923632000,"timestamp_ms":1782923632000,"timestamp_seconds":1782923632,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e879d80"} 
[2026-07-01 22:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:05:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 22:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-01 22:05:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:05:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":119328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":119328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":119328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 22:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428447744001,"66":27376,"110":206,"83":43264,"24":48,"16":334133560682217472,"44":-3343852323410839552},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-07-01 22:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428447744001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:05:32] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 22:05:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 22:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334133560682217472,"km_value":334133560682217.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:05:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3343852323410839552,"description":"Unknown IO ID 44"} 
[2026-07-01 22:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428447744001,"power":27376,"unknown_110":206,"unknown_83":43264,"ignition":48,"odometer":null,"unknown_44":-3343852323410839552}} 
[2026-07-01 22:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":119328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:05:32] local.INFO: GPS data processed {"connection_id":119328,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:05:32] local.INFO: Acknowledgment sent {"connection_id":119328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:05:49] local.INFO: TCP Data received {"connection_id":119329,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:05:49] local.INFO: Processing buffer {"connection_id":119329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:05:49] local.INFO: IMEI packet received {"connection_id":119329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 22:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":119329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:05:50] local.INFO: TCP Data received {"connection_id":119329,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:05:50] local.INFO: Processing buffer {"connection_id":119329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:05:50] local.INFO: IMEI packet received {"connection_id":119329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":119329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:05:51] local.INFO: TCP Data received {"connection_id":119329,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e87b8d8012cd1c840074188280014007e2d..."} 
[2026-07-01 22:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e87b8d8012cd1c840074188280014007e2d..."} 
[2026-07-01 22:05:51] local.INFO: Processing buffer {"connection_id":119329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e87b8d8012cd1c840074188280014007e2d..."} 
[2026-07-01 22:05:51] local.INFO: Packet analysis {"connection_id":119329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e87"} 
[2026-07-01 22:05:51] local.INFO: Extracted packet for processing {"connection_id":119329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e87"} 
[2026-07-01 22:05:51] local.INFO: GPS Element Parsed {"raw_longitude":751945792,"raw_latitude":121735208,"longitude_deg":75.1945792,"latitude_deg":12.1735208,"altitude":20,"angle":126,"satellites":45,"speed":46,"hex_longitude":"2cd1c840","hex_latitude":"07418828","is_valid_coordinates":true} 
[2026-07-01 22: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-01 22:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428449792001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:05:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334133964409143296,"note":"Value kept but may cause issues"} 
[2026-07-01 22:05:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3337096923971678208,"note":"Value kept but may cause issues"} 
[2026-07-01 22:05:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:05:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782923639000,"timestamp_ms":1782923639000,"timestamp_seconds":1782923639,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e87b8d8"} 
[2026-07-01 22: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-01 22:05:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 22: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-01 22:05:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22: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-01 22: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-01 22:05:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":119329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":119329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":119329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:05: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-01 22:05:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:05:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:05:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428449792001,"66":27321,"110":206,"83":43264,"24":46,"16":334133964409143296,"44":-3337096923971678208},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,83,24,16,44]} 
[2026-07-01 22:05:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:05:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:05:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428449792001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:05:51] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-07-01 22:05:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 22:05:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334133964409143296,"km_value":334133964409143.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:05:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3337096923971678208,"description":"Unknown IO ID 44"} 
[2026-07-01 22:05:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428449792001,"power":27321,"unknown_110":206,"unknown_83":43264,"ignition":46,"odometer":null,"unknown_44":-3337096923971678208}} 
[2026-07-01 22:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":119329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:05:51] local.INFO: GPS data processed {"connection_id":119329,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:05:51] local.INFO: Acknowledgment sent {"connection_id":119329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:06:22] local.INFO: TCP Data received {"connection_id":119329,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e88fd10012cd2f28007408910000900902e..."} 
[2026-07-01 22:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e88fd10012cd2f28007408910000900902e..."} 
[2026-07-01 22:06:22] local.INFO: Processing buffer {"connection_id":119329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e88fd10012cd2f28007408910000900902e..."} 
[2026-07-01 22:06:22] local.INFO: Packet analysis {"connection_id":119329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e88"} 
[2026-07-01 22:06:22] local.INFO: Extracted packet for processing {"connection_id":119329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e88"} 
[2026-07-01 22:06:22] local.INFO: GPS Element Parsed {"raw_longitude":752022144,"raw_latitude":121669904,"longitude_deg":75.2022144,"latitude_deg":12.1669904,"altitude":9,"angle":144,"satellites":46,"speed":36,"hex_longitude":"2cd2f280","hex_latitude":"07408910","is_valid_coordinates":true} 
[2026-07-01 22:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:06:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428470272001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:06:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334138873556762624,"note":"Value kept but may cause issues"} 
[2026-07-01 22:06:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3252935905951410176,"note":"Value kept but may cause issues"} 
[2026-07-01 22:06:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:06:22] local.INFO: AVL Record Parsed {"raw_timestamp":1782923722000,"timestamp_ms":1782923722000,"timestamp_seconds":1782923722,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e88fd10"} 
[2026-07-01 22:06:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:06: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-01 22:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-01 22:06:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:06:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:06:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:06:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:06:22] local.INFO: Teltonika packet parsed successfully {"connection_id":119329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:06:22] local.INFO: Passing IMEI to GPS processor {"connection_id":119329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:06:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":119329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:06:22] 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-01 22:06:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:06:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:06:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428470272001,"66":27126,"245":206,"83":43264,"24":36,"16":334138873556762624,"44":-3252935905951410176},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-07-01 22:06:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:06:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:06:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428470272001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:06:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 22:06:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334138873556762624,"km_value":334138873556762.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:06:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3252935905951410176,"description":"Unknown IO ID 44"} 
[2026-07-01 22:06:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428470272001,"power":27126,"geofence_id":206,"unknown_83":43264,"ignition":36,"odometer":null,"unknown_44":-3252935905951410176}} 
[2026-07-01 22:06:22] local.INFO: DEBUG: GPS processor result {"connection_id":119329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:06:22] local.INFO: GPS data processed {"connection_id":119329,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:06:22] local.INFO: Acknowledgment sent {"connection_id":119329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:06:46] local.INFO: TCP Data received {"connection_id":119330,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:06:46] local.INFO: Processing buffer {"connection_id":119330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:06:46] local.INFO: IMEI packet received {"connection_id":119330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 22:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":119330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:06:48] local.INFO: TCP Data received {"connection_id":119330,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:06:48] local.INFO: Processing buffer {"connection_id":119330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:06:48] local.INFO: IMEI packet received {"connection_id":119330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":119330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:06:54] local.INFO: TCP Data received {"connection_id":119330,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:06:54] local.INFO: Processing buffer {"connection_id":119330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:06:54] local.INFO: IMEI packet received {"connection_id":119330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":119330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:06:54] local.INFO: TCP Data received {"connection_id":119330,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e892420012cd307c007406cf00009008f2e..."} 
[2026-07-01 22:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e892420012cd307c007406cf00009008f2e..."} 
[2026-07-01 22:06:54] local.INFO: Processing buffer {"connection_id":119330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e892420012cd307c007406cf00009008f2e..."} 
[2026-07-01 22:06:54] local.INFO: Packet analysis {"connection_id":119330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e89"} 
[2026-07-01 22:06:54] local.INFO: Extracted packet for processing {"connection_id":119330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e89"} 
[2026-07-01 22:06:54] local.INFO: GPS Element Parsed {"raw_longitude":752027584,"raw_latitude":121662704,"longitude_deg":75.2027584,"latitude_deg":12.1662704,"altitude":9,"angle":143,"satellites":46,"speed":37,"hex_longitude":"2cd307c0","hex_latitude":"07406cf0","is_valid_coordinates":true} 
[2026-07-01 22:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:06:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428472832001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:06:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334139307348459520,"note":"Value kept but may cause issues"} 
[2026-07-01 22:06:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3246391612744855552,"note":"Value kept but may cause issues"} 
[2026-07-01 22:06:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:06:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782923732000,"timestamp_ms":1782923732000,"timestamp_seconds":1782923732,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e892420"} 
[2026-07-01 22:06:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:06: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-01 22:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-07-01 22:06:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2937,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:06:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:06:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:06:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:06:54] local.INFO: Teltonika packet parsed successfully {"connection_id":119330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:06:54] local.INFO: Passing IMEI to GPS processor {"connection_id":119330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:06:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":119330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:06:54] 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-01 22:06:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:06:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:06:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428472832001,"66":27343,"245":206,"83":43264,"24":37,"16":334139307348459520,"44":-3246391612744855552},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-07-01 22:06:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:06:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:06:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428472832001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:06:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 22:06:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334139307348459520,"km_value":334139307348459.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:06:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3246391612744855552,"description":"Unknown IO ID 44"} 
[2026-07-01 22:06:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428472832001,"power":27343,"geofence_id":206,"unknown_83":43264,"ignition":37,"odometer":null,"unknown_44":-3246391612744855552}} 
[2026-07-01 22:06:54] local.INFO: DEBUG: GPS processor result {"connection_id":119330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:06:54] local.INFO: GPS data processed {"connection_id":119330,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:06:54] local.INFO: Acknowledgment sent {"connection_id":119330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:07:35] local.INFO: TCP Data received {"connection_id":119330,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e894b30012cd31f00074050380009008b2e..."} 
[2026-07-01 22:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e894b30012cd31f00074050380009008b2e..."} 
[2026-07-01 22:07:35] local.INFO: Processing buffer {"connection_id":119330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e894b30012cd31f00074050380009008b2e..."} 
[2026-07-01 22:07:35] local.INFO: Packet analysis {"connection_id":119330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e89"} 
[2026-07-01 22:07:35] local.INFO: Extracted packet for processing {"connection_id":119330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e89"} 
[2026-07-01 22:07:35] local.INFO: GPS Element Parsed {"raw_longitude":752033536,"raw_latitude":121655352,"longitude_deg":75.2033536,"latitude_deg":12.1655352,"altitude":9,"angle":139,"satellites":46,"speed":36,"hex_longitude":"2cd31f00","hex_latitude":"07405038","is_valid_coordinates":true} 
[2026-07-01 22: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-01 22:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428475392001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334139762614992896,"note":"Value kept but may cause issues"} 
[2026-07-01 22:07:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3240410269491597312,"note":"Value kept but may cause issues"} 
[2026-07-01 22:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1782923742000,"timestamp_ms":1782923742000,"timestamp_seconds":1782923742,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e894b30"} 
[2026-07-01 22: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-01 22:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 22:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-01 22:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22: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-01 22: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-01 22:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":119330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":119330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":119330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:07: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-01 22:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428475392001,"66":27321,"245":206,"83":43264,"24":36,"16":334139762614992896,"44":-3240410269491597312},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-07-01 22:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428475392001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:07:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 22:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334139762614992896,"km_value":334139762614992.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:07:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3240410269491597312,"description":"Unknown IO ID 44"} 
[2026-07-01 22:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428475392001,"power":27321,"geofence_id":206,"unknown_83":43264,"ignition":36,"odometer":null,"unknown_44":-3240410269491597312}} 
[2026-07-01 22:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":119330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:07:35] local.INFO: GPS data processed {"connection_id":119330,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:07:35] local.INFO: Acknowledgment sent {"connection_id":119330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:07:48] local.INFO: TCP Data received {"connection_id":121178,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:07:48] local.INFO: Processing buffer {"connection_id":121178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:07:48] local.INFO: IMEI packet received {"connection_id":121178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 22:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":121178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:07:49] local.INFO: TCP Data received {"connection_id":120118,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 22:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120118,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 22:07:49] local.INFO: Processing buffer {"connection_id":120118,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 22:07:49] local.INFO: IMEI packet received {"connection_id":120118,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 22:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":120118,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:07:51] local.INFO: TCP Data received {"connection_id":121178,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:07:51] local.INFO: Processing buffer {"connection_id":121178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:07:51] local.INFO: IMEI packet received {"connection_id":121178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":121178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:07:53] local.INFO: TCP Data received {"connection_id":121178,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:07:53] local.INFO: Processing buffer {"connection_id":121178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:07:53] local.INFO: IMEI packet received {"connection_id":121178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":121178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:07:54] local.INFO: TCP Data received {"connection_id":121178,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e8a6c40012cd3f880073f4e90000d009a2e..."} 
[2026-07-01 22:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e8a6c40012cd3f880073f4e90000d009a2e..."} 
[2026-07-01 22:07:54] local.INFO: Processing buffer {"connection_id":121178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e8a6c40012cd3f880073f4e90000d009a2e..."} 
[2026-07-01 22:07:54] local.INFO: Packet analysis {"connection_id":121178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e8a"} 
[2026-07-01 22:07:54] local.INFO: Extracted packet for processing {"connection_id":121178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e8a"} 
[2026-07-01 22:07:54] local.INFO: GPS Element Parsed {"raw_longitude":752089216,"raw_latitude":121589392,"longitude_deg":75.2089216,"latitude_deg":12.1589392,"altitude":13,"angle":154,"satellites":46,"speed":41,"hex_longitude":"2cd3f880","hex_latitude":"073f4e90","is_valid_coordinates":true} 
[2026-07-01 22:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:07:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428495872001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:07:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334143928733270016,"note":"Value kept but may cause issues"} 
[2026-07-01 22:07:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3175108074912593920,"note":"Value kept but may cause issues"} 
[2026-07-01 22:07:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:07:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782923816000,"timestamp_ms":1782923816000,"timestamp_seconds":1782923816,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e8a6c40"} 
[2026-07-01 22:07:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:07:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 22:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-01 22:07:54] 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-01 22:07:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:07:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:07:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:07:54] local.INFO: Teltonika packet parsed successfully {"connection_id":121178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:07:54] local.INFO: Passing IMEI to GPS processor {"connection_id":121178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:07:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":121178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:07:54] 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-01 22:07:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:07:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:07:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428495872001,"66":27604,"119":206,"83":43264,"24":41,"16":334143928733270016,"44":-3175108074912593920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,83,24,16,44]} 
[2026-07-01 22:07:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:07:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:07:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428495872001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:07:54] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-07-01 22:07:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 22:07:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334143928733270016,"km_value":334143928733270.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:07:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3175108074912593920,"description":"Unknown IO ID 44"} 
[2026-07-01 22:07:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428495872001,"power":27604,"unknown_119":206,"unknown_83":43264,"ignition":41,"odometer":null,"unknown_44":-3175108074912593920}} 
[2026-07-01 22:07:54] local.INFO: DEBUG: GPS processor result {"connection_id":121178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:07:54] local.INFO: GPS data processed {"connection_id":121178,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:07:54] local.INFO: Acknowledgment sent {"connection_id":121178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:08:21] local.INFO: TCP Data received {"connection_id":120119,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 22:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120119,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 22:08:21] local.INFO: Processing buffer {"connection_id":120119,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 22:08:21] local.INFO: IMEI packet received {"connection_id":120119,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 22:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":120119,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:08:25] local.INFO: TCP Data received {"connection_id":121178,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e8a8f68012cd40480073f2b90000e00a42e..."} 
[2026-07-01 22:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e8a8f68012cd40480073f2b90000e00a42e..."} 
[2026-07-01 22:08:25] local.INFO: Processing buffer {"connection_id":121178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e8a8f68012cd40480073f2b90000e00a42e..."} 
[2026-07-01 22:08:25] local.INFO: Packet analysis {"connection_id":121178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e8a"} 
[2026-07-01 22:08:25] local.INFO: Extracted packet for processing {"connection_id":121178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e8a"} 
[2026-07-01 22:08:25] local.INFO: GPS Element Parsed {"raw_longitude":752092288,"raw_latitude":121580432,"longitude_deg":75.2092288,"latitude_deg":12.1580432,"altitude":14,"angle":164,"satellites":46,"speed":42,"hex_longitude":"2cd40480","hex_latitude":"073f2b90","is_valid_coordinates":true} 
[2026-07-01 22:08:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:08:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428496896001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:08:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334144388294770688,"note":"Value kept but may cause issues"} 
[2026-07-01 22:08:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3172645168867274752,"note":"Value kept but may cause issues"} 
[2026-07-01 22:08:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:08:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782923825000,"timestamp_ms":1782923825000,"timestamp_seconds":1782923825,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e8a8f68"} 
[2026-07-01 22:08:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:08:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 22:08:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-01 22:08:25] 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-01 22:08:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:08:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:08:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:08:25] local.INFO: Teltonika packet parsed successfully {"connection_id":121178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:08:25] local.INFO: Passing IMEI to GPS processor {"connection_id":121178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:08:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":121178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:08:25] 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-01 22:08:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:08:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:08:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428496896001,"66":27484,"118":206,"83":43264,"24":42,"16":334144388294770688,"44":-3172645168867274752},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,83,24,16,44]} 
[2026-07-01 22:08:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:08:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:08:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428496896001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:08:25] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-01 22:08:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 22:08:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334144388294770688,"km_value":334144388294770.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:08:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3172645168867274752,"description":"Unknown IO ID 44"} 
[2026-07-01 22:08:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428496896001,"power":27484,"unknown_118":206,"unknown_83":43264,"ignition":42,"odometer":null,"unknown_44":-3172645168867274752}} 
[2026-07-01 22:08:25] local.INFO: DEBUG: GPS processor result {"connection_id":121178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:08:25] local.INFO: GPS data processed {"connection_id":121178,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:08:25] local.INFO: Acknowledgment sent {"connection_id":121178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:08:48] local.INFO: TCP Data received {"connection_id":121179,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:08:48] local.INFO: Processing buffer {"connection_id":121179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:08:48] local.INFO: IMEI packet received {"connection_id":121179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 22:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":121179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:08:51] local.INFO: TCP Data received {"connection_id":121179,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:08:51] local.INFO: Processing buffer {"connection_id":121179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:08:51] local.INFO: IMEI packet received {"connection_id":121179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":121179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:08:53] local.INFO: TCP Data received {"connection_id":121179,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:08:53] local.INFO: Processing buffer {"connection_id":121179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:08:53] local.INFO: IMEI packet received {"connection_id":121179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":121179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:08:54] local.INFO: TCP Data received {"connection_id":121179,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e8aaea8012cd41140073f0b70000e00992e..."} 
[2026-07-01 22:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e8aaea8012cd41140073f0b70000e00992e..."} 
[2026-07-01 22:08:54] local.INFO: Processing buffer {"connection_id":121179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e8aaea8012cd41140073f0b70000e00992e..."} 
[2026-07-01 22:08:54] local.INFO: Packet analysis {"connection_id":121179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e8a"} 
[2026-07-01 22:08:54] local.INFO: Extracted packet for processing {"connection_id":121179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e8a"} 
[2026-07-01 22:08:54] local.INFO: GPS Element Parsed {"raw_longitude":752095552,"raw_latitude":121572208,"longitude_deg":75.2095552,"latitude_deg":12.1572208,"altitude":14,"angle":153,"satellites":46,"speed":45,"hex_longitude":"2cd41140","hex_latitude":"073f0b70","is_valid_coordinates":true} 
[2026-07-01 22:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:08:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428499200001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:08:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334144817791500288,"note":"Value kept but may cause issues"} 
[2026-07-01 22:08:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3169267469149040640,"note":"Value kept but may cause issues"} 
[2026-07-01 22:08:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:08:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782923833000,"timestamp_ms":1782923833000,"timestamp_seconds":1782923833,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e8aaea8"} 
[2026-07-01 22:08:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:08: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-01 22:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 22:08:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:08:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:08:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:08:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:08:54] local.INFO: Teltonika packet parsed successfully {"connection_id":121179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:08:54] local.INFO: Passing IMEI to GPS processor {"connection_id":121179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:08:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":121179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:08:54] 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-01 22:08:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:08:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:08:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428499200001,"66":27658,"118":206,"83":43264,"24":45,"16":334144817791500288,"44":-3169267469149040640},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,83,24,16,44]} 
[2026-07-01 22:08:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:08:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:08:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428499200001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:08:54] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-07-01 22:08:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 22:08:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334144817791500288,"km_value":334144817791500.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:08:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3169267469149040640,"description":"Unknown IO ID 44"} 
[2026-07-01 22:08:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428499200001,"power":27658,"unknown_118":206,"unknown_83":43264,"ignition":45,"odometer":null,"unknown_44":-3169267469149040640}} 
[2026-07-01 22:08:54] local.INFO: DEBUG: GPS processor result {"connection_id":121179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:08:54] local.INFO: GPS data processed {"connection_id":121179,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:08:54] local.INFO: Acknowledgment sent {"connection_id":121179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:09:25] local.INFO: TCP Data received {"connection_id":121179,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e8bd3a0012cd4a300073dc528000a00a22d..."} 
[2026-07-01 22:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e8bd3a0012cd4a300073dc528000a00a22d..."} 
[2026-07-01 22:09:25] local.INFO: Processing buffer {"connection_id":121179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e8bd3a0012cd4a300073dc528000a00a22d..."} 
[2026-07-01 22:09:25] local.INFO: Packet analysis {"connection_id":121179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e8b"} 
[2026-07-01 22:09:25] local.INFO: Extracted packet for processing {"connection_id":121179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e8b"} 
[2026-07-01 22:09:25] local.INFO: GPS Element Parsed {"raw_longitude":752132864,"raw_latitude":121488680,"longitude_deg":75.2132864,"latitude_deg":12.148868,"altitude":10,"angle":162,"satellites":45,"speed":48,"hex_longitude":"2cd4a300","hex_latitude":"073dc528","is_valid_coordinates":true} 
[2026-07-01 22:09:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:09:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428518400001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:09:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334149275967553536,"note":"Value kept but may cause issues"} 
[2026-07-01 22:09:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3127749910105364480,"note":"Value kept but may cause issues"} 
[2026-07-01 22:09:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:09:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782923908000,"timestamp_ms":1782923908000,"timestamp_seconds":1782923908,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e8bd3a0"} 
[2026-07-01 22:09:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:09:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 22:09:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 22:09:25] 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-01 22:09:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:09:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:09:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:09:25] local.INFO: Teltonika packet parsed successfully {"connection_id":121179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:09:25] local.INFO: Passing IMEI to GPS processor {"connection_id":121179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:09:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":121179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:09:25] 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-01 22:09:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:09:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:09:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428518400001,"66":27604,"135":206,"83":43264,"24":48,"16":334149275967553536,"44":-3127749910105364480},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-07-01 22:09:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:09:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:09:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428518400001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:09:25] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-01 22:09:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 22:09:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334149275967553536,"km_value":334149275967553.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:09:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3127749910105364480,"description":"Unknown IO ID 44"} 
[2026-07-01 22:09:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428518400001,"power":27604,"unknown_135":206,"unknown_83":43264,"ignition":48,"odometer":null,"unknown_44":-3127749910105364480}} 
[2026-07-01 22:09:25] local.INFO: DEBUG: GPS processor result {"connection_id":121179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:09:25] local.INFO: GPS data processed {"connection_id":121179,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:09:25] local.INFO: Acknowledgment sent {"connection_id":121179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:09:52] local.INFO: TCP Data received {"connection_id":119332,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:09:52] local.INFO: Processing buffer {"connection_id":119332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:09:52] local.INFO: IMEI packet received {"connection_id":119332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 22:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":119332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:09:53] local.INFO: TCP Data received {"connection_id":119332,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:09:53] local.INFO: Processing buffer {"connection_id":119332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:09:53] local.INFO: IMEI packet received {"connection_id":119332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":119332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:09:59] local.INFO: TCP Data received {"connection_id":119332,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:09:59] local.INFO: Processing buffer {"connection_id":119332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:09:59] local.INFO: IMEI packet received {"connection_id":119332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":119332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:09:59] local.INFO: TCP Data received {"connection_id":119332,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e8bf2e0012cd4aec0073da060000c00a22c..."} 
[2026-07-01 22:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e8bf2e0012cd4aec0073da060000c00a22c..."} 
[2026-07-01 22:09:59] local.INFO: Processing buffer {"connection_id":119332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e8bf2e0012cd4aec0073da060000c00a22c..."} 
[2026-07-01 22:09:59] local.INFO: Packet analysis {"connection_id":119332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e8b"} 
[2026-07-01 22:09:59] local.INFO: Extracted packet for processing {"connection_id":119332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e8b"} 
[2026-07-01 22:09:59] local.INFO: GPS Element Parsed {"raw_longitude":752135872,"raw_latitude":121479264,"longitude_deg":75.2135872,"latitude_deg":12.1479264,"altitude":12,"angle":162,"satellites":44,"speed":48,"hex_longitude":"2cd4aec0","hex_latitude":"073da060","is_valid_coordinates":true} 
[2026-07-01 22:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428520448001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334149757003890688,"note":"Value kept but may cause issues"} 
[2026-07-01 22:09:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3124653685363890176,"note":"Value kept but may cause issues"} 
[2026-07-01 22:09:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782923916000,"timestamp_ms":1782923916000,"timestamp_seconds":1782923916,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e8bf2e0"} 
[2026-07-01 22:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:09:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 22:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-01 22:09:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:09:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:09:59] 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-01 22:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428520448001,"66":27626,"135":206,"83":43264,"24":48,"16":334149757003890688,"44":-3124653685363890176},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-07-01 22:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428520448001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:09:59] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-01 22:09:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 22:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334149757003890688,"km_value":334149757003890.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:09:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3124653685363890176,"description":"Unknown IO ID 44"} 
[2026-07-01 22:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428520448001,"power":27626,"unknown_135":206,"unknown_83":43264,"ignition":48,"odometer":null,"unknown_44":-3124653685363890176}} 
[2026-07-01 22:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":119332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:09:59] local.INFO: GPS data processed {"connection_id":119332,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:09:59] local.INFO: Acknowledgment sent {"connection_id":119332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:10:30] local.INFO: TCP Data received {"connection_id":119332,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e8c1220012cd4ba80073d7c80000f009f2d..."} 
[2026-07-01 22:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e8c1220012cd4ba80073d7c80000f009f2d..."} 
[2026-07-01 22:10:30] local.INFO: Processing buffer {"connection_id":119332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e8c1220012cd4ba80073d7c80000f009f2d..."} 
[2026-07-01 22:10:30] local.INFO: Packet analysis {"connection_id":119332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e8c"} 
[2026-07-01 22:10:30] local.INFO: Extracted packet for processing {"connection_id":119332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e8c"} 
[2026-07-01 22:10:30] local.INFO: GPS Element Parsed {"raw_longitude":752138880,"raw_latitude":121470080,"longitude_deg":75.213888,"latitude_deg":12.147008,"altitude":15,"angle":159,"satellites":45,"speed":47,"hex_longitude":"2cd4ba80","hex_latitude":"073d7c80","is_valid_coordinates":true} 
[2026-07-01 22: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-01 22:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428522496001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334150225155325952,"note":"Value kept but may cause issues"} 
[2026-07-01 22:10:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121346354389950464,"note":"Value kept but may cause issues"} 
[2026-07-01 22:10:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782923924000,"timestamp_ms":1782923924000,"timestamp_seconds":1782923924,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e8c1220"} 
[2026-07-01 22: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-01 22:10:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 22: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-01 22:10:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22: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-01 22: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-01 22:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":119332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":119332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":119332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:10:30] 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-01 22:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428522496001,"66":27463,"135":206,"83":43264,"24":47,"16":334150225155325952,"44":-3121346354389950464},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-07-01 22:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428522496001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:10:30] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-01 22:10:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 22:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334150225155325952,"km_value":334150225155325.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:10:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121346354389950464,"description":"Unknown IO ID 44"} 
[2026-07-01 22:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428522496001,"power":27463,"unknown_135":206,"unknown_83":43264,"ignition":47,"odometer":null,"unknown_44":-3121346354389950464}} 
[2026-07-01 22:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":119332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:10:31] local.INFO: GPS data processed {"connection_id":119332,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:10:31] local.INFO: Acknowledgment sent {"connection_id":119332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:10:46] local.INFO: TCP Data received {"connection_id":120121,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:10:46] local.INFO: Processing buffer {"connection_id":120121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:10:46] local.INFO: IMEI packet received {"connection_id":120121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 22:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":120121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:10:48] local.INFO: TCP Data received {"connection_id":120121,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:10:48] local.INFO: Processing buffer {"connection_id":120121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:10:48] local.INFO: IMEI packet received {"connection_id":120121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":120121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:10:49] local.INFO: TCP Data received {"connection_id":120121,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:10:49] local.INFO: Processing buffer {"connection_id":120121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:10:49] local.INFO: IMEI packet received {"connection_id":120121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":120121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:10:51] local.INFO: TCP Data received {"connection_id":120121,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:10:51] local.INFO: Processing buffer {"connection_id":120121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:10:51] local.INFO: IMEI packet received {"connection_id":120121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":120121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:10:51] local.INFO: TCP Data received {"connection_id":120121,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e8d5a40012cd4ffc0073bfc10000d00b82c..."} 
[2026-07-01 22:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e8d5a40012cd4ffc0073bfc10000d00b82c..."} 
[2026-07-01 22:10:51] local.INFO: Processing buffer {"connection_id":120121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e8d5a40012cd4ffc0073bfc10000d00b82c..."} 
[2026-07-01 22:10:51] local.INFO: Packet analysis {"connection_id":120121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e8d"} 
[2026-07-01 22:10:51] local.INFO: Extracted packet for processing {"connection_id":120121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e8d"} 
[2026-07-01 22:10:51] local.INFO: GPS Element Parsed {"raw_longitude":752156608,"raw_latitude":121371664,"longitude_deg":75.2156608,"latitude_deg":12.1371664,"altitude":13,"angle":184,"satellites":44,"speed":21,"hex_longitude":"2cd4ffc0","hex_latitude":"073bfc10","is_valid_coordinates":true} 
[2026-07-01 22: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-01 22:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428544256001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:10:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334155082763337728,"note":"Value kept but may cause issues"} 
[2026-07-01 22:10:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3099109831255934976,"note":"Value kept but may cause issues"} 
[2026-07-01 22:10:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:10:51] local.INFO: AVL Record Parsed {"raw_timestamp":1782924008000,"timestamp_ms":1782924008000,"timestamp_seconds":1782924008,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e8d5a40"} 
[2026-07-01 22: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-01 22:10:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 22: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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-01 22:10:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22: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-01 22: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-01 22:10:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:10:51] local.INFO: Teltonika packet parsed successfully {"connection_id":120121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:10:51] local.INFO: Passing IMEI to GPS processor {"connection_id":120121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:10:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":120121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:10: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-01 22:10:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:10:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:10:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428544256001,"66":26930,"135":206,"83":43264,"24":21,"16":334155082763337728,"44":-3099109831255934976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-07-01 22:10:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:10:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:10:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428544256001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:10:51] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-01 22:10:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 22:10:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334155082763337728,"km_value":334155082763337.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:10:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3099109831255934976,"description":"Unknown IO ID 44"} 
[2026-07-01 22:10:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428544256001,"power":26930,"unknown_135":206,"unknown_83":43264,"ignition":21,"odometer":null,"unknown_44":-3099109831255934976}} 
[2026-07-01 22:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":120121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:10:51] local.INFO: GPS data processed {"connection_id":120121,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:10:51] local.INFO: Acknowledgment sent {"connection_id":120121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:11:23] local.INFO: TCP Data received {"connection_id":120121,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e8d6210012cd4fec0073bf860000d00c42c..."} 
[2026-07-01 22:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e8d6210012cd4fec0073bf860000d00c42c..."} 
[2026-07-01 22:11:23] local.INFO: Processing buffer {"connection_id":120121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e8d6210012cd4fec0073bf860000d00c42c..."} 
[2026-07-01 22:11:23] local.INFO: Packet analysis {"connection_id":120121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e8d"} 
[2026-07-01 22:11:23] local.INFO: Extracted packet for processing {"connection_id":120121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e8d"} 
[2026-07-01 22:11:23] local.INFO: GPS Element Parsed {"raw_longitude":752156352,"raw_latitude":121370720,"longitude_deg":75.2156352,"latitude_deg":12.137072,"altitude":13,"angle":196,"satellites":44,"speed":18,"hex_longitude":"2cd4fec0","hex_latitude":"073bf860","is_valid_coordinates":true} 
[2026-07-01 22:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:11:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428546048001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:11:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334155130007977984,"note":"Value kept but may cause issues"} 
[2026-07-01 22:11:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3098546881303932928,"note":"Value kept but may cause issues"} 
[2026-07-01 22:11:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:11:23] local.INFO: AVL Record Parsed {"raw_timestamp":1782924010000,"timestamp_ms":1782924010000,"timestamp_seconds":1782924010,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e8d6210"} 
[2026-07-01 22:11:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:11:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 22:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-07-01 22:11:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1173,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:11:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:11:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:11:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:11:23] local.INFO: Teltonika packet parsed successfully {"connection_id":120121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:11:23] local.INFO: Passing IMEI to GPS processor {"connection_id":120121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:11:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":120121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:11:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 22:11:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:11:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:11:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428546048001,"66":27484,"135":206,"83":43264,"24":18,"16":334155130007977984,"44":-3098546881303932928},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-07-01 22:11:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:11:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:11:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428546048001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:11:23] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-01 22:11:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 22:11:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334155130007977984,"km_value":334155130007978.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:11:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3098546881303932928,"description":"Unknown IO ID 44"} 
[2026-07-01 22:11:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428546048001,"power":27484,"unknown_135":206,"unknown_83":43264,"ignition":18,"odometer":null,"unknown_44":-3098546881303932928}} 
[2026-07-01 22:11:23] local.INFO: DEBUG: GPS processor result {"connection_id":120121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:11:23] local.INFO: GPS data processed {"connection_id":120121,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:11:23] local.INFO: Acknowledgment sent {"connection_id":120121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:11:49] local.INFO: TCP Data received {"connection_id":121181,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:11:49] local.INFO: Processing buffer {"connection_id":121181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:11:49] local.INFO: IMEI packet received {"connection_id":121181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 22:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":121181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:11:52] local.INFO: TCP Data received {"connection_id":121181,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:11:52] local.INFO: Processing buffer {"connection_id":121181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:11:52] local.INFO: IMEI packet received {"connection_id":121181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":121181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:11:53] local.INFO: TCP Data received {"connection_id":121181,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:11:53] local.INFO: Processing buffer {"connection_id":121181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:11:53] local.INFO: IMEI packet received {"connection_id":121181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":121181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:11:54] local.INFO: TCP Data received {"connection_id":121181,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e8d69e0012cd4fe40073bf4a8000c00b22c..."} 
[2026-07-01 22:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e8d69e0012cd4fe40073bf4a8000c00b22c..."} 
[2026-07-01 22:11:54] local.INFO: Processing buffer {"connection_id":121181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e8d69e0012cd4fe40073bf4a8000c00b22c..."} 
[2026-07-01 22:11:54] local.INFO: Packet analysis {"connection_id":121181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e8d"} 
[2026-07-01 22:11:54] local.INFO: Extracted packet for processing {"connection_id":121181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e8d"} 
[2026-07-01 22:11:54] local.INFO: GPS Element Parsed {"raw_longitude":752156224,"raw_latitude":121369768,"longitude_deg":75.2156224,"latitude_deg":12.1369768,"altitude":12,"angle":178,"satellites":44,"speed":21,"hex_longitude":"2cd4fe40","hex_latitude":"073bf4a8","is_valid_coordinates":true} 
[2026-07-01 22:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:11:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428546560001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:11:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334155177252618240,"note":"Value kept but may cause issues"} 
[2026-07-01 22:11:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3098828356280885248,"note":"Value kept but may cause issues"} 
[2026-07-01 22:11:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:11:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782924012000,"timestamp_ms":1782924012000,"timestamp_seconds":1782924012,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e8d69e0"} 
[2026-07-01 22:11:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:11: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-01 22:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 22:11:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:11:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:11:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:11:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:11:54] local.INFO: Teltonika packet parsed successfully {"connection_id":121181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:11:54] local.INFO: Passing IMEI to GPS processor {"connection_id":121181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:11:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":121181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:11:54] 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-01 22:11:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:11:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:11:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428546560001,"66":27463,"135":206,"83":43264,"24":21,"16":334155177252618240,"44":-3098828356280885248},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-07-01 22:11:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:11:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:11:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428546560001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:11:54] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-01 22:11:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 22:11:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334155177252618240,"km_value":334155177252618.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:11:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3098828356280885248,"description":"Unknown IO ID 44"} 
[2026-07-01 22:11:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428546560001,"power":27463,"unknown_135":206,"unknown_83":43264,"ignition":21,"odometer":null,"unknown_44":-3098828356280885248}} 
[2026-07-01 22:11:54] local.INFO: DEBUG: GPS processor result {"connection_id":121181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:11:54] local.INFO: GPS data processed {"connection_id":121181,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:11:54] local.INFO: Acknowledgment sent {"connection_id":121181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:11:55] local.INFO: TCP Data received {"connection_id":121181,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e8d71b0012cd4ff40073bf030000c00a42c..."} 
[2026-07-01 22:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e8d71b0012cd4ff40073bf030000c00a42c..."} 
[2026-07-01 22:11:55] local.INFO: Processing buffer {"connection_id":121181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e8d71b0012cd4ff40073bf030000c00a42c..."} 
[2026-07-01 22:11:55] local.INFO: Packet analysis {"connection_id":121181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e8d"} 
[2026-07-01 22:11:55] local.INFO: Extracted packet for processing {"connection_id":121181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e8d"} 
[2026-07-01 22:11:55] local.INFO: GPS Element Parsed {"raw_longitude":752156480,"raw_latitude":121368624,"longitude_deg":75.215648,"latitude_deg":12.1368624,"altitude":12,"angle":164,"satellites":44,"speed":25,"hex_longitude":"2cd4ff40","hex_latitude":"073bf030","is_valid_coordinates":true} 
[2026-07-01 22: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-01 22:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428547072001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334155233087193088,"note":"Value kept but may cause issues"} 
[2026-07-01 22:11:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3098969093769484288,"note":"Value kept but may cause issues"} 
[2026-07-01 22:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782924014000,"timestamp_ms":1782924014000,"timestamp_seconds":1782924014,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e8d71b0"} 
[2026-07-01 22: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-01 22:11:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 22:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-01 22:11:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22: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-01 22: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-01 22:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":121181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":121181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":121181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 22:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428547072001,"66":27180,"135":206,"83":43264,"24":25,"16":334155233087193088,"44":-3098969093769484288},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-07-01 22:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428547072001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:11:55] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-01 22:11:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 22:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334155233087193088,"km_value":334155233087193.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:11:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3098969093769484288,"description":"Unknown IO ID 44"} 
[2026-07-01 22:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428547072001,"power":27180,"unknown_135":206,"unknown_83":43264,"ignition":25,"odometer":null,"unknown_44":-3098969093769484288}} 
[2026-07-01 22:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":121181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:11:55] local.INFO: GPS data processed {"connection_id":121181,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:11:55] local.INFO: Acknowledgment sent {"connection_id":121181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:12:26] local.INFO: TCP Data received {"connection_id":121181,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e8d7d68012cd50000073be8a0000b00b02c..."} 
[2026-07-01 22:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e8d7d68012cd50000073be8a0000b00b02c..."} 
[2026-07-01 22:12:26] local.INFO: Processing buffer {"connection_id":121181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e8d7d68012cd50000073be8a0000b00b02c..."} 
[2026-07-01 22:12:26] local.INFO: Packet analysis {"connection_id":121181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e8d"} 
[2026-07-01 22:12:26] local.INFO: Extracted packet for processing {"connection_id":121181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e8d"} 
[2026-07-01 22:12:26] local.INFO: GPS Element Parsed {"raw_longitude":752156672,"raw_latitude":121366688,"longitude_deg":75.2156672,"latitude_deg":12.1366688,"altitude":11,"angle":176,"satellites":44,"speed":25,"hex_longitude":"2cd50000","hex_latitude":"073be8a0","is_valid_coordinates":true} 
[2026-07-01 22:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:12:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428547584001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:12:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334155327576473600,"note":"Value kept but may cause issues"} 
[2026-07-01 22:12:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3098687618793066496,"note":"Value kept but may cause issues"} 
[2026-07-01 22:12:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:12:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782924017000,"timestamp_ms":1782924017000,"timestamp_seconds":1782924017,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e8d7d68"} 
[2026-07-01 22:12:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:12: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-01 22:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-07-01 22:12:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:12:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:12:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:12:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:12:26] local.INFO: Teltonika packet parsed successfully {"connection_id":121181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:12:26] local.INFO: Passing IMEI to GPS processor {"connection_id":121181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:12:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":121181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:12:26] 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-01 22:12:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:12:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:12:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428547584001,"66":27484,"135":206,"83":43264,"24":25,"16":334155327576473600,"44":-3098687618793066496},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-07-01 22:12:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:12:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:12:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428547584001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:12:26] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-07-01 22:12:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 22:12:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334155327576473600,"km_value":334155327576473.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:12:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3098687618793066496,"description":"Unknown IO ID 44"} 
[2026-07-01 22:12:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428547584001,"power":27484,"unknown_135":206,"unknown_83":43264,"ignition":25,"odometer":null,"unknown_44":-3098687618793066496}} 
[2026-07-01 22:12:26] local.INFO: DEBUG: GPS processor result {"connection_id":121181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:12:26] local.INFO: GPS data processed {"connection_id":121181,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:12:26] local.INFO: Acknowledgment sent {"connection_id":121181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:12:48] local.INFO: TCP Data received {"connection_id":119439,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:12:48] local.INFO: Processing buffer {"connection_id":119439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:12:48] local.INFO: IMEI packet received {"connection_id":119439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 22:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":119439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:12:54] local.INFO: TCP Data received {"connection_id":119439,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:12:54] local.INFO: Processing buffer {"connection_id":119439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:12:54] local.INFO: IMEI packet received {"connection_id":119439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":119439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:12:55] local.INFO: TCP Data received {"connection_id":119439,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e8ec970012cd51c40073ae8e0000b00b82a..."} 
[2026-07-01 22:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e8ec970012cd51c40073ae8e0000b00b82a..."} 
[2026-07-01 22:12:55] local.INFO: Processing buffer {"connection_id":119439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e8ec970012cd51c40073ae8e0000b00b82a..."} 
[2026-07-01 22:12:55] local.INFO: Packet analysis {"connection_id":119439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e8e"} 
[2026-07-01 22:12:55] local.INFO: Extracted packet for processing {"connection_id":119439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e8e"} 
[2026-07-01 22:12:55] local.INFO: GPS Element Parsed {"raw_longitude":752163904,"raw_latitude":121301216,"longitude_deg":75.2163904,"latitude_deg":12.1301216,"altitude":11,"angle":184,"satellites":42,"speed":41,"hex_longitude":"2cd51c40","hex_latitude":"073ae8e0","is_valid_coordinates":true} 
[2026-07-01 22:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428567552001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334158600341553152,"note":"Value kept but may cause issues"} 
[2026-07-01 22:12:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3089680419553222656,"note":"Value kept but may cause issues"} 
[2026-07-01 22:12:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782924102000,"timestamp_ms":1782924102000,"timestamp_seconds":1782924102,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e8ec970"} 
[2026-07-01 22:12:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:12:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 22:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-01 22:12:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:12:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:12:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":119439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":119439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":119439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:12:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 22:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428567552001,"66":27517,"137":206,"83":43264,"24":41,"16":334158600341553152,"44":-3089680419553222656},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,44]} 
[2026-07-01 22:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428567552001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:12:55] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-01 22:12:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 22:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334158600341553152,"km_value":334158600341553.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:12:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3089680419553222656,"description":"Unknown IO ID 44"} 
[2026-07-01 22:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428567552001,"power":27517,"unknown_137":206,"unknown_83":43264,"ignition":41,"odometer":null,"unknown_44":-3089680419553222656}} 
[2026-07-01 22:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":119439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:12:55] local.INFO: GPS data processed {"connection_id":119439,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:12:55] local.INFO: Acknowledgment sent {"connection_id":119439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:13:26] local.INFO: TCP Data received {"connection_id":119439,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e8ef080012cd51940073abdd8000a00b62b..."} 
[2026-07-01 22:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e8ef080012cd51940073abdd8000a00b62b..."} 
[2026-07-01 22:13:26] local.INFO: Processing buffer {"connection_id":119439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e8ef080012cd51940073abdd8000a00b62b..."} 
[2026-07-01 22:13:26] local.INFO: Packet analysis {"connection_id":119439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e8e"} 
[2026-07-01 22:13:26] local.INFO: Extracted packet for processing {"connection_id":119439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e8e"} 
[2026-07-01 22:13:26] local.INFO: GPS Element Parsed {"raw_longitude":752163136,"raw_latitude":121290200,"longitude_deg":75.2163136,"latitude_deg":12.12902,"altitude":10,"angle":182,"satellites":43,"speed":45,"hex_longitude":"2cd51940","hex_latitude":"073abdd8","is_valid_coordinates":true} 
[2026-07-01 22:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:13:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428570112001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:13:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334159132917497856,"note":"Value kept but may cause issues"} 
[2026-07-01 22:13:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3090524844485713920,"note":"Value kept but may cause issues"} 
[2026-07-01 22:13:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:13:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782924112000,"timestamp_ms":1782924112000,"timestamp_seconds":1782924112,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e8ef080"} 
[2026-07-01 22:13:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:13: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-01 22:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-01 22:13:26] 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-01 22:13:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:13:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:13:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:13:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:13:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:13:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:13:26] 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-01 22:13:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:13:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:13:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428570112001,"66":27463,"137":206,"83":43264,"24":45,"16":334159132917497856,"44":-3090524844485713920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,44]} 
[2026-07-01 22:13:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:13:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:13:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428570112001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:13:26] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-01 22:13:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 22:13:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334159132917497856,"km_value":334159132917497.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:13:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3090524844485713920,"description":"Unknown IO ID 44"} 
[2026-07-01 22:13:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428570112001,"power":27463,"unknown_137":206,"unknown_83":43264,"ignition":45,"odometer":null,"unknown_44":-3090524844485713920}} 
[2026-07-01 22:13:26] local.INFO: DEBUG: GPS processor result {"connection_id":119439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:13:26] local.INFO: GPS data processed {"connection_id":119439,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:13:26] local.INFO: Acknowledgment sent {"connection_id":119439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:13:40] local.INFO: TCP Data received {"connection_id":121182,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 22:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121182,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 22:13:40] local.INFO: Processing buffer {"connection_id":121182,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 22:13:40] local.INFO: IMEI packet received {"connection_id":121182,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 22:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":121182,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:13:49] local.INFO: TCP Data received {"connection_id":119333,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:13:49] local.INFO: Processing buffer {"connection_id":119333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:13:49] local.INFO: IMEI packet received {"connection_id":119333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 22:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":119333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:13:53] local.INFO: TCP Data received {"connection_id":119333,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:13:53] local.INFO: Processing buffer {"connection_id":119333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:13:53] local.INFO: IMEI packet received {"connection_id":119333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":119333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:13:55] local.INFO: TCP Data received {"connection_id":119333,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e8f0bd8012cd51b40073a9dc0000a00ab29..."} 
[2026-07-01 22:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e8f0bd8012cd51b40073a9dc0000a00ab29..."} 
[2026-07-01 22:13:55] local.INFO: Processing buffer {"connection_id":119333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e8f0bd8012cd51b40073a9dc0000a00ab29..."} 
[2026-07-01 22:13:55] local.INFO: Packet analysis {"connection_id":119333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e8f"} 
[2026-07-01 22:13:55] local.INFO: Extracted packet for processing {"connection_id":119333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e8f"} 
[2026-07-01 22:13:55] local.INFO: GPS Element Parsed {"raw_longitude":752163648,"raw_latitude":121281984,"longitude_deg":75.2163648,"latitude_deg":12.1281984,"altitude":10,"angle":171,"satellites":41,"speed":46,"hex_longitude":"2cd51b40","hex_latitude":"073a9dc0","is_valid_coordinates":true} 
[2026-07-01 22:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428572672001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334159532349456384,"note":"Value kept but may cause issues"} 
[2026-07-01 22:13:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3091369269418665984,"note":"Value kept but may cause issues"} 
[2026-07-01 22:13:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782924119000,"timestamp_ms":1782924119000,"timestamp_seconds":1782924119,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e8f0bd8"} 
[2026-07-01 22:13:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:13:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 22:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-01 22:13:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:13:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:13:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":119333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":119333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":119333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:13:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 22:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428572672001,"66":27604,"137":206,"83":43264,"24":46,"16":334159532349456384,"44":-3091369269418665984},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,44]} 
[2026-07-01 22:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428572672001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:13:55] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-01 22:13:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 22:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334159532349456384,"km_value":334159532349456.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:13:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3091369269418665984,"description":"Unknown IO ID 44"} 
[2026-07-01 22:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428572672001,"power":27604,"unknown_137":206,"unknown_83":43264,"ignition":46,"odometer":null,"unknown_44":-3091369269418665984}} 
[2026-07-01 22:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":119333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:13:55] local.INFO: GPS data processed {"connection_id":119333,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:13:55] local.INFO: Acknowledgment sent {"connection_id":119333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:14:20] local.INFO: TCP Data received {"connection_id":121183,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 22:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121183,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 22:14:20] local.INFO: Processing buffer {"connection_id":121183,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 22:14:20] local.INFO: IMEI packet received {"connection_id":121183,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 22:14:20] local.INFO: IMEI acknowledgment sent {"connection_id":121183,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:14:26] local.INFO: TCP Data received {"connection_id":119333,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e906b68012cd5474007390670000700a427..."} 
[2026-07-01 22:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e906b68012cd5474007390670000700a427..."} 
[2026-07-01 22:14:26] local.INFO: Processing buffer {"connection_id":119333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e906b68012cd5474007390670000700a427..."} 
[2026-07-01 22:14:26] local.INFO: Packet analysis {"connection_id":119333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e90"} 
[2026-07-01 22:14:26] local.INFO: Extracted packet for processing {"connection_id":119333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e90"} 
[2026-07-01 22:14:26] local.INFO: GPS Element Parsed {"raw_longitude":752174912,"raw_latitude":121177712,"longitude_deg":75.2174912,"latitude_deg":12.1177712,"altitude":7,"angle":164,"satellites":39,"speed":30,"hex_longitude":"2cd54740","hex_latitude":"07390670","is_valid_coordinates":true} 
[2026-07-01 22:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:14:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428594432001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:14:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334164647655505920,"note":"Value kept but may cause issues"} 
[2026-07-01 22:14:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3080673220330225664,"note":"Value kept but may cause issues"} 
[2026-07-01 22:14:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:14:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782924209000,"timestamp_ms":1782924209000,"timestamp_seconds":1782924209,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e906b68"} 
[2026-07-01 22:14:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:14: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-01 22:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-01 22:14:26] 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-01 22:14:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:14:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:14:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:14:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:14:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:14:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:14:26] 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-01 22:14:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:14:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:14:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428594432001,"66":27604,"150":206,"83":43264,"24":30,"16":334164647655505920,"44":-3080673220330225664},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,83,24,16,44]} 
[2026-07-01 22:14:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:14:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:14:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428594432001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:14:26] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-07-01 22:14:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 22:14:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334164647655505920,"km_value":334164647655505.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:14:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3080673220330225664,"description":"Unknown IO ID 44"} 
[2026-07-01 22:14:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428594432001,"power":27604,"unknown_150":206,"unknown_83":43264,"ignition":30,"odometer":null,"unknown_44":-3080673220330225664}} 
[2026-07-01 22:14:26] local.INFO: DEBUG: GPS processor result {"connection_id":119333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:14:26] local.INFO: GPS data processed {"connection_id":119333,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:14:26] local.INFO: Acknowledgment sent {"connection_id":119333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:14:53] local.INFO: TCP Data received {"connection_id":120122,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:14:53] local.INFO: Processing buffer {"connection_id":120122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:14:53] local.INFO: IMEI packet received {"connection_id":120122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 22:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":120122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:14:53] local.INFO: TCP Data received {"connection_id":120122,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:14:53] local.INFO: Processing buffer {"connection_id":120122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:14:53] local.INFO: IMEI packet received {"connection_id":120122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":120122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:14:58] local.INFO: TCP Data received {"connection_id":120122,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:14:58] local.INFO: Processing buffer {"connection_id":120122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:14:58] local.INFO: IMEI packet received {"connection_id":120122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":120122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:14:59] local.INFO: TCP Data received {"connection_id":120122,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e9086c0012cd54ac00738efb0000700af2c..."} 
[2026-07-01 22:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e9086c0012cd54ac00738efb0000700af2c..."} 
[2026-07-01 22:14:59] local.INFO: Processing buffer {"connection_id":120122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e9086c0012cd54ac00738efb0000700af2c..."} 
[2026-07-01 22:14:59] local.INFO: Packet analysis {"connection_id":120122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e90"} 
[2026-07-01 22:14:59] local.INFO: Extracted packet for processing {"connection_id":120122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e90"} 
[2026-07-01 22:14:59] local.INFO: GPS Element Parsed {"raw_longitude":752175808,"raw_latitude":121171888,"longitude_deg":75.2175808,"latitude_deg":12.1171888,"altitude":7,"angle":175,"satellites":44,"speed":36,"hex_longitude":"2cd54ac0","hex_latitude":"0738efb0","is_valid_coordinates":true} 
[2026-07-01 22: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-01 22:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428597504001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334164935418314752,"note":"Value kept but may cause issues"} 
[2026-07-01 22:14:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3078421420518772736,"note":"Value kept but may cause issues"} 
[2026-07-01 22:14:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782924216000,"timestamp_ms":1782924216000,"timestamp_seconds":1782924216,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e9086c0"} 
[2026-07-01 22: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-01 22:14:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 22:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-01 22:14:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22: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-01 22: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-01 22:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":120122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":120122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":120122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:14:59] 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-01 22:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428597504001,"66":27517,"150":206,"83":43264,"24":36,"16":334164935418314752,"44":-3078421420518772736},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,83,24,16,44]} 
[2026-07-01 22:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428597504001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:14:59] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-07-01 22:14:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 22:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334164935418314752,"km_value":334164935418314.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:14:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3078421420518772736,"description":"Unknown IO ID 44"} 
[2026-07-01 22:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428597504001,"power":27517,"unknown_150":206,"unknown_83":43264,"ignition":36,"odometer":null,"unknown_44":-3078421420518772736}} 
[2026-07-01 22:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":120122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:14:59] local.INFO: GPS data processed {"connection_id":120122,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:14:59] local.INFO: Acknowledgment sent {"connection_id":120122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:15:32] local.INFO: TCP Data received {"connection_id":120122,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e90a9e8012cd54c000738cc48000a00b22a..."} 
[2026-07-01 22:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e90a9e8012cd54c000738cc48000a00b22a..."} 
[2026-07-01 22:15:32] local.INFO: Processing buffer {"connection_id":120122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e90a9e8012cd54c000738cc48000a00b22a..."} 
[2026-07-01 22:15:32] local.INFO: Packet analysis {"connection_id":120122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e90"} 
[2026-07-01 22:15:32] local.INFO: Extracted packet for processing {"connection_id":120122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e90"} 
[2026-07-01 22:15:32] local.INFO: GPS Element Parsed {"raw_longitude":752176128,"raw_latitude":121162824,"longitude_deg":75.2176128,"latitude_deg":12.1162824,"altitude":10,"angle":178,"satellites":42,"speed":41,"hex_longitude":"2cd54c00","hex_latitude":"0738cc48","is_valid_coordinates":true} 
[2026-07-01 22:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428599296001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334165373504978944,"note":"Value kept but may cause issues"} 
[2026-07-01 22:15:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3077436258101776384,"note":"Value kept but may cause issues"} 
[2026-07-01 22:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782924225000,"timestamp_ms":1782924225000,"timestamp_seconds":1782924225,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e90a9e8"} 
[2026-07-01 22:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:15:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 22:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-01 22:15:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:15:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":120122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":120122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":120122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 22:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428599296001,"66":27571,"150":206,"83":43264,"24":41,"16":334165373504978944,"44":-3077436258101776384},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,83,24,16,44]} 
[2026-07-01 22:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428599296001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:15:32] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-07-01 22:15:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 22:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334165373504978944,"km_value":334165373504978.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:15:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3077436258101776384,"description":"Unknown IO ID 44"} 
[2026-07-01 22:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428599296001,"power":27571,"unknown_150":206,"unknown_83":43264,"ignition":41,"odometer":null,"unknown_44":-3077436258101776384}} 
[2026-07-01 22:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":120122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:15:32] local.INFO: GPS data processed {"connection_id":120122,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:15:32] local.INFO: Acknowledgment sent {"connection_id":120122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:15:47] local.INFO: TCP Data received {"connection_id":121184,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:15:47] local.INFO: Processing buffer {"connection_id":121184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:15:47] local.INFO: IMEI packet received {"connection_id":121184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 22:15:47] local.INFO: IMEI acknowledgment sent {"connection_id":121184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:15:49] local.INFO: TCP Data received {"connection_id":121184,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:15:49] local.INFO: Processing buffer {"connection_id":121184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:15:49] local.INFO: IMEI packet received {"connection_id":121184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":121184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:15:54] local.INFO: TCP Data received {"connection_id":121184,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:15:54] local.INFO: Processing buffer {"connection_id":121184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:15:54] local.INFO: IMEI packet received {"connection_id":121184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":121184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:15:55] local.INFO: TCP Data received {"connection_id":121184,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e90cd10012cd54e800738a708000a00ab2a..."} 
[2026-07-01 22:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e90cd10012cd54e800738a708000a00ab2a..."} 
[2026-07-01 22:15:55] local.INFO: Processing buffer {"connection_id":121184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e90cd10012cd54e800738a708000a00ab2a..."} 
[2026-07-01 22:15:55] local.INFO: Packet analysis {"connection_id":121184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e90"} 
[2026-07-01 22:15:55] local.INFO: Extracted packet for processing {"connection_id":121184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e90"} 
[2026-07-01 22:15:55] local.INFO: GPS Element Parsed {"raw_longitude":752176768,"raw_latitude":121153288,"longitude_deg":75.2176768,"latitude_deg":12.1153288,"altitude":10,"angle":171,"satellites":42,"speed":42,"hex_longitude":"2cd54e80","hex_latitude":"0738a708","is_valid_coordinates":true} 
[2026-07-01 22:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428601600001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334165837361446912,"note":"Value kept but may cause issues"} 
[2026-07-01 22:15:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3077084414383208448,"note":"Value kept but may cause issues"} 
[2026-07-01 22:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782924234000,"timestamp_ms":1782924234000,"timestamp_seconds":1782924234,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e90cd10"} 
[2026-07-01 22:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:15:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 22:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-01 22:15:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:15:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":121184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":121184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":121184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 22:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428601600001,"66":27484,"150":206,"83":43264,"24":42,"16":334165837361446912,"44":-3077084414383208448},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,83,24,16,44]} 
[2026-07-01 22:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428601600001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:15:55] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-07-01 22:15:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 22:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334165837361446912,"km_value":334165837361446.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:15:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3077084414383208448,"description":"Unknown IO ID 44"} 
[2026-07-01 22:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428601600001,"power":27484,"unknown_150":206,"unknown_83":43264,"ignition":42,"odometer":null,"unknown_44":-3077084414383208448}} 
[2026-07-01 22:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":121184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:15:55] local.INFO: GPS data processed {"connection_id":121184,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:15:55] local.INFO: Acknowledgment sent {"connection_id":121184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:16:26] local.INFO: TCP Data received {"connection_id":121184,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e90f038012cd55640073882f8000b00a427..."} 
[2026-07-01 22:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e90f038012cd55640073882f8000b00a427..."} 
[2026-07-01 22:16:26] local.INFO: Processing buffer {"connection_id":121184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e90f038012cd55640073882f8000b00a427..."} 
[2026-07-01 22:16:26] local.INFO: Packet analysis {"connection_id":121184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e90"} 
[2026-07-01 22:16:26] local.INFO: Extracted packet for processing {"connection_id":121184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e90"} 
[2026-07-01 22:16:26] local.INFO: GPS Element Parsed {"raw_longitude":752178752,"raw_latitude":121144056,"longitude_deg":75.2178752,"latitude_deg":12.1144056,"altitude":11,"angle":164,"satellites":39,"speed":38,"hex_longitude":"2cd55640","hex_latitude":"073882f8","is_valid_coordinates":true} 
[2026-07-01 22:16:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:16:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428603904001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:16:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334166296922947584,"note":"Value kept but may cause issues"} 
[2026-07-01 22:16:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3076380726943873024,"note":"Value kept but may cause issues"} 
[2026-07-01 22:16:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:16:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782924243000,"timestamp_ms":1782924243000,"timestamp_seconds":1782924243,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e90f038"} 
[2026-07-01 22:16:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:16: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-01 22:16:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 22:16:26] 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-01 22:16:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:16:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:16:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:16:26] local.INFO: Teltonika packet parsed successfully {"connection_id":121184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:16:26] local.INFO: Passing IMEI to GPS processor {"connection_id":121184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:16:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":121184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:16:26] 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-01 22:16:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:16:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:16:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428603904001,"66":27593,"150":206,"83":43264,"24":38,"16":334166296922947584,"44":-3076380726943873024},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,83,24,16,44]} 
[2026-07-01 22:16:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:16:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:16:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428603904001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:16:26] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-07-01 22:16:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 22:16:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334166296922947584,"km_value":334166296922947.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:16:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3076380726943873024,"description":"Unknown IO ID 44"} 
[2026-07-01 22:16:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428603904001,"power":27593,"unknown_150":206,"unknown_83":43264,"ignition":38,"odometer":null,"unknown_44":-3076380726943873024}} 
[2026-07-01 22:16:26] local.INFO: DEBUG: GPS processor result {"connection_id":121184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:16:26] local.INFO: GPS data processed {"connection_id":121184,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:16:26] local.INFO: Acknowledgment sent {"connection_id":121184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:16:49] local.INFO: TCP Data received {"connection_id":119440,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:16:49] local.INFO: Processing buffer {"connection_id":119440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:16:49] local.INFO: IMEI packet received {"connection_id":119440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 22:16:49] local.INFO: IMEI acknowledgment sent {"connection_id":119440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:16:53] local.INFO: TCP Data received {"connection_id":119440,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:16:53] local.INFO: Processing buffer {"connection_id":119440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:16:53] local.INFO: IMEI packet received {"connection_id":119440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":119440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:16:54] local.INFO: TCP Data received {"connection_id":119440,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e911b30012cd562c007385ed8000d00a028..."} 
[2026-07-01 22:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e911b30012cd562c007385ed8000d00a028..."} 
[2026-07-01 22:16:54] local.INFO: Processing buffer {"connection_id":119440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e911b30012cd562c007385ed8000d00a028..."} 
[2026-07-01 22:16:54] local.INFO: Packet analysis {"connection_id":119440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e91"} 
[2026-07-01 22:16:54] local.INFO: Extracted packet for processing {"connection_id":119440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e91"} 
[2026-07-01 22:16:54] local.INFO: GPS Element Parsed {"raw_longitude":752181952,"raw_latitude":121134808,"longitude_deg":75.2181952,"latitude_deg":12.1134808,"altitude":13,"angle":160,"satellites":40,"speed":36,"hex_longitude":"2cd562c0","hex_latitude":"07385ed8","is_valid_coordinates":true} 
[2026-07-01 22:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:16:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428606208001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:16:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334166769369350144,"note":"Value kept but may cause issues"} 
[2026-07-01 22:16:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3074199295876728832,"note":"Value kept but may cause issues"} 
[2026-07-01 22:16:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:16:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782924254000,"timestamp_ms":1782924254000,"timestamp_seconds":1782924254,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e911b30"} 
[2026-07-01 22:16:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:16: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-01 22:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-01 22:16:54] 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-01 22:16:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:16:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:16:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:16:54] local.INFO: Teltonika packet parsed successfully {"connection_id":119440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:16:54] local.INFO: Passing IMEI to GPS processor {"connection_id":119440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:16:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":119440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:16:54] 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-01 22:16:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:16:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:16:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428606208001,"66":27539,"169":206,"83":43264,"24":36,"16":334166769369350144,"44":-3074199295876728832},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,83,24,16,44]} 
[2026-07-01 22:16:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:16:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:16:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428606208001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:16:54] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-07-01 22:16:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 22:16:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334166769369350144,"km_value":334166769369350.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:16:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3074199295876728832,"description":"Unknown IO ID 44"} 
[2026-07-01 22:16:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428606208001,"power":27539,"unknown_169":206,"unknown_83":43264,"ignition":36,"odometer":null,"unknown_44":-3074199295876728832}} 
[2026-07-01 22:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":119440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:16:55] local.INFO: GPS data processed {"connection_id":119440,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:16:55] local.INFO: Acknowledgment sent {"connection_id":119440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:17:26] local.INFO: TCP Data received {"connection_id":119440,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e934db0012cd63c0007375778000b007728..."} 
[2026-07-01 22:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e934db0012cd63c0007375778000b007728..."} 
[2026-07-01 22:17:26] local.INFO: Processing buffer {"connection_id":119440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e934db0012cd63c0007375778000b007728..."} 
[2026-07-01 22:17:26] local.INFO: Packet analysis {"connection_id":119440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e93"} 
[2026-07-01 22:17:26] local.INFO: Extracted packet for processing {"connection_id":119440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e93"} 
[2026-07-01 22:17:26] local.INFO: GPS Element Parsed {"raw_longitude":752237568,"raw_latitude":121067384,"longitude_deg":75.2237568,"latitude_deg":12.1067384,"altitude":11,"angle":119,"satellites":40,"speed":10,"hex_longitude":"2cd63c00","hex_latitude":"07375778","is_valid_coordinates":true} 
[2026-07-01 22:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:17:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428645376001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:17:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334171064336646144,"note":"Value kept but may cause issues"} 
[2026-07-01 22:17:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3010374844927145984,"note":"Value kept but may cause issues"} 
[2026-07-01 22:17:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:17:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782924398000,"timestamp_ms":1782924398000,"timestamp_seconds":1782924398,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e934db0"} 
[2026-07-01 22:17:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:17: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-01 22:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-01 22:17:26] 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-01 22:17:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:17:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:17:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:17:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:17:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:17:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:17:26] 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-01 22:17:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:17:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:17:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428645376001,"66":27484,"170":206,"83":43264,"24":10,"16":334171064336646144,"44":-3010374844927145984},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,44]} 
[2026-07-01 22:17:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:17:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:17:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428645376001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:17:26] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-01 22:17:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 22:17:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334171064336646144,"km_value":334171064336646.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:17:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3010374844927145984,"description":"Unknown IO ID 44"} 
[2026-07-01 22:17:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428645376001,"power":27484,"unknown_170":206,"unknown_83":43264,"ignition":10,"odometer":null,"unknown_44":-3010374844927145984}} 
[2026-07-01 22:17:26] local.INFO: DEBUG: GPS processor result {"connection_id":119440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:17:26] local.INFO: GPS data processed {"connection_id":119440,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:17:26] local.INFO: Acknowledgment sent {"connection_id":119440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:17:48] local.INFO: TCP Data received {"connection_id":120125,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:17:48] local.INFO: Processing buffer {"connection_id":120125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:17:48] local.INFO: IMEI packet received {"connection_id":120125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 22:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":120125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:17:49] local.INFO: TCP Data received {"connection_id":120125,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:17:49] local.INFO: Processing buffer {"connection_id":120125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:17:49] local.INFO: IMEI packet received {"connection_id":120125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":120125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:17:53] local.INFO: TCP Data received {"connection_id":120125,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:17:53] local.INFO: Processing buffer {"connection_id":120125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:17:53] local.INFO: IMEI packet received {"connection_id":120125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":120125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:17:54] local.INFO: TCP Data received {"connection_id":120125,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e935580012cd63e00073755b8000a008e25..."} 
[2026-07-01 22:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e935580012cd63e00073755b8000a008e25..."} 
[2026-07-01 22:17:54] local.INFO: Processing buffer {"connection_id":120125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e935580012cd63e00073755b8000a008e25..."} 
[2026-07-01 22:17:54] local.INFO: Packet analysis {"connection_id":120125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e93"} 
[2026-07-01 22:17:54] local.INFO: Extracted packet for processing {"connection_id":120125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e93"} 
[2026-07-01 22:17:54] local.INFO: GPS Element Parsed {"raw_longitude":752238080,"raw_latitude":121066936,"longitude_deg":75.223808,"latitude_deg":12.1066936,"altitude":10,"angle":142,"satellites":37,"speed":12,"hex_longitude":"2cd63e00","hex_latitude":"073755b8","is_valid_coordinates":true} 
[2026-07-01 22:17:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:17:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428645888001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:17:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334171094401417216,"note":"Value kept but may cause issues"} 
[2026-07-01 22:17:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3009530419997083648,"note":"Value kept but may cause issues"} 
[2026-07-01 22:17:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:17:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782924400000,"timestamp_ms":1782924400000,"timestamp_seconds":1782924400,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e935580"} 
[2026-07-01 22:17:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:17: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-01 22:17:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 22:17:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:17:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:17:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:17:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:17:54] local.INFO: Teltonika packet parsed successfully {"connection_id":120125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:17:54] local.INFO: Passing IMEI to GPS processor {"connection_id":120125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:17:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":120125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:17:54] 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-01 22:17:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:17:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:17:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428645888001,"66":27626,"170":206,"83":43264,"24":12,"16":334171094401417216,"44":-3009530419997083648},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,44]} 
[2026-07-01 22:17:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:17:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:17:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428645888001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:17:54] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-01 22:17:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 22:17:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334171094401417216,"km_value":334171094401417.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:17:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3009530419997083648,"description":"Unknown IO ID 44"} 
[2026-07-01 22:17:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428645888001,"power":27626,"unknown_170":206,"unknown_83":43264,"ignition":12,"odometer":null,"unknown_44":-3009530419997083648}} 
[2026-07-01 22:17:54] local.INFO: DEBUG: GPS processor result {"connection_id":120125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:17:54] local.INFO: GPS data processed {"connection_id":120125,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:17:54] local.INFO: Acknowledgment sent {"connection_id":120125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:18:30] local.INFO: TCP Data received {"connection_id":120125,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e935d50012cd64000073752f0000a00a129..."} 
[2026-07-01 22:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e935d50012cd64000073752f0000a00a129..."} 
[2026-07-01 22:18:30] local.INFO: Processing buffer {"connection_id":120125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e935d50012cd64000073752f0000a00a129..."} 
[2026-07-01 22:18:30] local.INFO: Packet analysis {"connection_id":120125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e93"} 
[2026-07-01 22:18:30] local.INFO: Extracted packet for processing {"connection_id":120125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e93"} 
[2026-07-01 22:18:30] local.INFO: GPS Element Parsed {"raw_longitude":752238592,"raw_latitude":121066224,"longitude_deg":75.2238592,"latitude_deg":12.1066224,"altitude":10,"angle":161,"satellites":41,"speed":14,"hex_longitude":"2cd64000","hex_latitude":"073752f0","is_valid_coordinates":true} 
[2026-07-01 22:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428646400001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334171141646057472,"note":"Value kept but may cause issues"} 
[2026-07-01 22:18:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3008967470043777024,"note":"Value kept but may cause issues"} 
[2026-07-01 22:18:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782924402000,"timestamp_ms":1782924402000,"timestamp_seconds":1782924402,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e935d50"} 
[2026-07-01 22:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:18:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 22:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-01 22:18:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:18:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":120125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":120125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":120125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:18:30] 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-01 22:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428646400001,"66":27484,"170":206,"83":43264,"24":14,"16":334171141646057472,"44":-3008967470043777024},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,44]} 
[2026-07-01 22:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428646400001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:18:30] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-01 22:18:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 22:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334171141646057472,"km_value":334171141646057.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:18:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3008967470043777024,"description":"Unknown IO ID 44"} 
[2026-07-01 22:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428646400001,"power":27484,"unknown_170":206,"unknown_83":43264,"ignition":14,"odometer":null,"unknown_44":-3008967470043777024}} 
[2026-07-01 22:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":120125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:18:30] local.INFO: GPS data processed {"connection_id":120125,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:18:30] local.INFO: Acknowledgment sent {"connection_id":120125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:18:48] local.INFO: TCP Data received {"connection_id":119336,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:18:48] local.INFO: Processing buffer {"connection_id":119336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:18:48] local.INFO: IMEI packet received {"connection_id":119336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 22:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":119336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:19:10] local.INFO: TCP Data received {"connection_id":119336,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:19:10] local.INFO: Processing buffer {"connection_id":119336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:19:10] local.INFO: IMEI packet received {"connection_id":119336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":119336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:19:12] local.INFO: TCP Data received {"connection_id":119336,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e939018012cd64c40073738c0000d009628..."} 
[2026-07-01 22:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e939018012cd64c40073738c0000d009628..."} 
[2026-07-01 22:19:12] local.INFO: Processing buffer {"connection_id":119336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e939018012cd64c40073738c0000d009628..."} 
[2026-07-01 22:19:12] local.INFO: Packet analysis {"connection_id":119336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e93"} 
[2026-07-01 22:19:12] local.INFO: Extracted packet for processing {"connection_id":119336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e93"} 
[2026-07-01 22:19:12] local.INFO: GPS Element Parsed {"raw_longitude":752241728,"raw_latitude":121059520,"longitude_deg":75.2241728,"latitude_deg":12.105952,"altitude":13,"angle":150,"satellites":40,"speed":26,"hex_longitude":"2cd64c40","hex_latitude":"073738c0","is_valid_coordinates":true} 
[2026-07-01 22:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428646912001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334171498128343040,"note":"Value kept but may cause issues"} 
[2026-07-01 22:19:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3008404520090537984,"note":"Value kept but may cause issues"} 
[2026-07-01 22:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1782924415000,"timestamp_ms":1782924415000,"timestamp_seconds":1782924415,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e939018"} 
[2026-07-01 22:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:19:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 22:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 22:19:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:19:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":119336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":119336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":119336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:19: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-01 22:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428646912001,"66":27571,"170":206,"83":43264,"24":26,"16":334171498128343040,"44":-3008404520090537984},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,83,24,16,44]} 
[2026-07-01 22:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428646912001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:19:12] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-07-01 22:19:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-07-01 22:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334171498128343040,"km_value":334171498128343.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:19:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3008404520090537984,"description":"Unknown IO ID 44"} 
[2026-07-01 22:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428646912001,"power":27571,"unknown_170":206,"unknown_83":43264,"ignition":26,"odometer":null,"unknown_44":-3008404520090537984}} 
[2026-07-01 22:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":119336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:19:12] local.INFO: GPS data processed {"connection_id":119336,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:19:12] local.INFO: Acknowledgment sent {"connection_id":119336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:19:48] local.INFO: TCP Data received {"connection_id":121185,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:19:48] local.INFO: Processing buffer {"connection_id":121185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:19:48] local.INFO: IMEI packet received {"connection_id":121185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 22:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":121185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:19:50] local.INFO: TCP Data received {"connection_id":119441,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 22:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119441,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 22:19:50] local.INFO: Processing buffer {"connection_id":119441,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 22:19:50] local.INFO: IMEI packet received {"connection_id":119441,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 22:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":119441,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:19:53] local.INFO: TCP Data received {"connection_id":121185,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:19:53] local.INFO: Processing buffer {"connection_id":121185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:19:53] local.INFO: IMEI packet received {"connection_id":121185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":121185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:19:57] local.INFO: TCP Data received {"connection_id":121185,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:19:57] local.INFO: Processing buffer {"connection_id":121185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:19:57] local.INFO: IMEI packet received {"connection_id":121185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":121185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:19:58] local.INFO: TCP Data received {"connection_id":121185,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e954598012cd6fbc007369e60001000842b..."} 
[2026-07-01 22:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e954598012cd6fbc007369e60001000842b..."} 
[2026-07-01 22:19:58] local.INFO: Processing buffer {"connection_id":121185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e954598012cd6fbc007369e60001000842b..."} 
[2026-07-01 22:19:58] local.INFO: Packet analysis {"connection_id":121185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e95"} 
[2026-07-01 22:19:58] local.INFO: Extracted packet for processing {"connection_id":121185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e95"} 
[2026-07-01 22:19:58] local.INFO: GPS Element Parsed {"raw_longitude":752286656,"raw_latitude":121020000,"longitude_deg":75.2286656,"latitude_deg":12.102,"altitude":16,"angle":132,"satellites":43,"speed":27,"hex_longitude":"2cd6fbc0","hex_latitude":"07369e60","is_valid_coordinates":true} 
[2026-07-01 22: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-01 22:19:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428676608001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:19:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334174401526235136,"note":"Value kept but may cause issues"} 
[2026-07-01 22:19:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2959357505409687552,"note":"Value kept but may cause issues"} 
[2026-07-01 22:19:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:19:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782924527000,"timestamp_ms":1782924527000,"timestamp_seconds":1782924527,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e954598"} 
[2026-07-01 22: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-01 22:19:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 22: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-01 22:19:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22: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-01 22: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-01 22:19:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:19:58] local.INFO: Teltonika packet parsed successfully {"connection_id":121185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:19:58] local.INFO: Passing IMEI to GPS processor {"connection_id":121185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:19:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":121185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:19:58] 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-01 22:19:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:19:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:19:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428676608001,"66":27365,"165":206,"83":40960,"24":27,"16":334174401526235136,"44":-2959357505409687552},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,83,24,16,44]} 
[2026-07-01 22:19:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:19:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:19:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428676608001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:19:58] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-01 22:19:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 22:19:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334174401526235136,"km_value":334174401526235.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:19:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2959357505409687552,"description":"Unknown IO ID 44"} 
[2026-07-01 22:19:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428676608001,"power":27365,"unknown_165":206,"unknown_83":40960,"ignition":27,"odometer":null,"unknown_44":-2959357505409687552}} 
[2026-07-01 22:19:58] local.INFO: DEBUG: GPS processor result {"connection_id":121185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:19:58] local.INFO: GPS data processed {"connection_id":121185,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:19:58] local.INFO: Acknowledgment sent {"connection_id":121185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:19:59] local.INFO: TCP Data received {"connection_id":121185,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e957860012cd71900073686d00010007c2a..."} 
[2026-07-01 22:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e957860012cd71900073686d00010007c2a..."} 
[2026-07-01 22:19:59] local.INFO: Processing buffer {"connection_id":121185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e957860012cd71900073686d00010007c2a..."} 
[2026-07-01 22:19:59] local.INFO: Packet analysis {"connection_id":121185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e95"} 
[2026-07-01 22:19:59] local.INFO: Extracted packet for processing {"connection_id":121185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e95"} 
[2026-07-01 22:19:59] local.INFO: GPS Element Parsed {"raw_longitude":752294144,"raw_latitude":121013968,"longitude_deg":75.2294144,"latitude_deg":12.1013968,"altitude":16,"angle":124,"satellites":42,"speed":32,"hex_longitude":"2cd71900","hex_latitude":"073686d0","is_valid_coordinates":true} 
[2026-07-01 22:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428678912001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334174861087735808,"note":"Value kept but may cause issues"} 
[2026-07-01 22:19:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2955557593224945664,"note":"Value kept but may cause issues"} 
[2026-07-01 22:19:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782924540000,"timestamp_ms":1782924540000,"timestamp_seconds":1782924540,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e957860"} 
[2026-07-01 22:19:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:19:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 22:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 22:19:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:19:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:19:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":121185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":121185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":121185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:19:59] 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-01 22:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428678912001,"66":27321,"165":206,"83":40960,"24":32,"16":334174861087735808,"44":-2955557593224945664},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,83,24,16,44]} 
[2026-07-01 22:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428678912001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:19:59] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-01 22:19:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 22:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334174861087735808,"km_value":334174861087735.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:19:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2955557593224945664,"description":"Unknown IO ID 44"} 
[2026-07-01 22:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428678912001,"power":27321,"unknown_165":206,"unknown_83":40960,"ignition":32,"odometer":null,"unknown_44":-2955557593224945664}} 
[2026-07-01 22:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":121185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:19:59] local.INFO: GPS data processed {"connection_id":121185,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:19:59] local.INFO: Acknowledgment sent {"connection_id":121185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:20:14] local.INFO: TCP Data received {"connection_id":120126,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 22:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120126,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 22:20:14] local.INFO: Processing buffer {"connection_id":120126,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 22:20:14] local.INFO: IMEI packet received {"connection_id":120126,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 22:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":120126,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:20:30] local.INFO: TCP Data received {"connection_id":121185,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e959f70012cd736c007367320001000782b..."} 
[2026-07-01 22:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e959f70012cd736c007367320001000782b..."} 
[2026-07-01 22:20:30] local.INFO: Processing buffer {"connection_id":121185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e959f70012cd736c007367320001000782b..."} 
[2026-07-01 22:20:30] local.INFO: Packet analysis {"connection_id":121185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e95"} 
[2026-07-01 22:20:30] local.INFO: Extracted packet for processing {"connection_id":121185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e95"} 
[2026-07-01 22:20:30] local.INFO: GPS Element Parsed {"raw_longitude":752301760,"raw_latitude":121008928,"longitude_deg":75.230176,"latitude_deg":12.1008928,"altitude":16,"angle":120,"satellites":43,"speed":39,"hex_longitude":"2cd736c0","hex_latitude":"07367320","is_valid_coordinates":true} 
[2026-07-01 22:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428682240001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334175299174400000,"note":"Value kept but may cause issues"} 
[2026-07-01 22:20:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2947324450157703168,"note":"Value kept but may cause issues"} 
[2026-07-01 22:20:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782924550000,"timestamp_ms":1782924550000,"timestamp_seconds":1782924550,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e959f70"} 
[2026-07-01 22:20:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:20:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 22:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-01 22:20:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:20:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:20:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":121185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":121185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":121185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:20:30] 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-01 22:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428682240001,"66":27484,"165":206,"83":40960,"24":39,"16":334175299174400000,"44":-2947324450157703168},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,83,24,16,44]} 
[2026-07-01 22:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428682240001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:20:30] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-07-01 22:20:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 22:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334175299174400000,"km_value":334175299174400,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:20:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2947324450157703168,"description":"Unknown IO ID 44"} 
[2026-07-01 22:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428682240001,"power":27484,"unknown_165":206,"unknown_83":40960,"ignition":39,"odometer":null,"unknown_44":-2947324450157703168}} 
[2026-07-01 22:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":121185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:20:30] local.INFO: GPS data processed {"connection_id":121185,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:20:30] local.INFO: Acknowledgment sent {"connection_id":121185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:20:48] local.INFO: TCP Data received {"connection_id":119442,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:20:48] local.INFO: Processing buffer {"connection_id":119442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:20:48] local.INFO: IMEI packet received {"connection_id":119442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 22:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":119442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:20:48] local.INFO: TCP Data received {"connection_id":119442,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:20:48] local.INFO: Processing buffer {"connection_id":119442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:20:48] local.INFO: IMEI packet received {"connection_id":119442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":119442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:20:53] local.INFO: TCP Data received {"connection_id":119442,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:20:53] local.INFO: Processing buffer {"connection_id":119442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:20:53] local.INFO: IMEI packet received {"connection_id":119442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":119442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:20:54] local.INFO: TCP Data received {"connection_id":119442,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e95c298012cd75980073662a00011006f2c..."} 
[2026-07-01 22:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e95c298012cd75980073662a00011006f2c..."} 
[2026-07-01 22:20:54] local.INFO: Processing buffer {"connection_id":119442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e95c298012cd75980073662a00011006f2c..."} 
[2026-07-01 22:20:54] local.INFO: Packet analysis {"connection_id":119442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e95"} 
[2026-07-01 22:20:54] local.INFO: Extracted packet for processing {"connection_id":119442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e95"} 
[2026-07-01 22:20:54] local.INFO: GPS Element Parsed {"raw_longitude":752310656,"raw_latitude":121004704,"longitude_deg":75.2310656,"latitude_deg":12.1004704,"altitude":17,"angle":111,"satellites":44,"speed":45,"hex_longitude":"2cd75980","hex_latitude":"073662a0","is_valid_coordinates":true} 
[2026-07-01 22: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-01 22:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428684800001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334175767325835264,"note":"Value kept but may cause issues"} 
[2026-07-01 22:20:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2938950569601851392,"note":"Value kept but may cause issues"} 
[2026-07-01 22:20:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782924559000,"timestamp_ms":1782924559000,"timestamp_seconds":1782924559,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e95c298"} 
[2026-07-01 22: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-01 22:20: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-01 22:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 22:20:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22: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-01 22: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-01 22:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":119442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":119442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":119442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:20:54] 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-01 22:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428684800001,"66":27539,"175":206,"83":40960,"24":45,"16":334175767325835264,"44":-2938950569601851392},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,44]} 
[2026-07-01 22:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428684800001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:20:54] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-07-01 22:20:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 22:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334175767325835264,"km_value":334175767325835.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:20:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2938950569601851392,"description":"Unknown IO ID 44"} 
[2026-07-01 22:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428684800001,"power":27539,"unknown_175":206,"unknown_83":40960,"ignition":45,"odometer":null,"unknown_44":-2938950569601851392}} 
[2026-07-01 22:20:54] local.INFO: DEBUG: GPS processor result {"connection_id":119442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:20:54] local.INFO: GPS data processed {"connection_id":119442,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:20:54] local.INFO: Acknowledgment sent {"connection_id":119442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:21:25] local.INFO: TCP Data received {"connection_id":119442,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e95e1d8012cd77c40073655d00010006e2c..."} 
[2026-07-01 22:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e95e1d8012cd77c40073655d00010006e2c..."} 
[2026-07-01 22:21:25] local.INFO: Processing buffer {"connection_id":119442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e95e1d8012cd77c40073655d00010006e2c..."} 
[2026-07-01 22:21:25] local.INFO: Packet analysis {"connection_id":119442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e95"} 
[2026-07-01 22:21:25] local.INFO: Extracted packet for processing {"connection_id":119442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e95"} 
[2026-07-01 22:21:25] local.INFO: GPS Element Parsed {"raw_longitude":752319552,"raw_latitude":121001424,"longitude_deg":75.2319552,"latitude_deg":12.1001424,"altitude":16,"angle":110,"satellites":44,"speed":49,"hex_longitude":"2cd77c40","hex_latitude":"073655d0","is_valid_coordinates":true} 
[2026-07-01 22:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428687104001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334176218297401344,"note":"Value kept but may cause issues"} 
[2026-07-01 22:21:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2929169314162237440,"note":"Value kept but may cause issues"} 
[2026-07-01 22:21:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782924567000,"timestamp_ms":1782924567000,"timestamp_seconds":1782924567,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e95e1d8"} 
[2026-07-01 22:21:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:21: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-01 22:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-01 22:21:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:21:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:21:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:21:25] 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-01 22:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428687104001,"66":27593,"175":206,"83":40960,"24":49,"16":334176218297401344,"44":-2929169314162237440},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,44]} 
[2026-07-01 22:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428687104001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:21:25] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-07-01 22:21:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 22:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334176218297401344,"km_value":334176218297401.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:21:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2929169314162237440,"description":"Unknown IO ID 44"} 
[2026-07-01 22:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428687104001,"power":27593,"unknown_175":206,"unknown_83":40960,"ignition":49,"odometer":null,"unknown_44":-2929169314162237440}} 
[2026-07-01 22:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":119442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:21:25] local.INFO: GPS data processed {"connection_id":119442,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:21:25] local.INFO: Acknowledgment sent {"connection_id":119442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:21:55] local.INFO: TCP Data received {"connection_id":119443,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:21:55] local.INFO: Processing buffer {"connection_id":119443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:21:55] local.INFO: IMEI packet received {"connection_id":119443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 22:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":119443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:21:56] local.INFO: TCP Data received {"connection_id":119443,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:21:56] local.INFO: Processing buffer {"connection_id":119443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:21:56] local.INFO: IMEI packet received {"connection_id":119443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":119443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:22:02] local.INFO: TCP Data received {"connection_id":119443,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e970ea0012cd8ecc007359d98000d00742a..."} 
[2026-07-01 22:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e970ea0012cd8ecc007359d98000d00742a..."} 
[2026-07-01 22:22:02] local.INFO: Processing buffer {"connection_id":119443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e970ea0012cd8ecc007359d98000d00742a..."} 
[2026-07-01 22:22:02] local.INFO: Packet analysis {"connection_id":119443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e97"} 
[2026-07-01 22:22:02] local.INFO: Extracted packet for processing {"connection_id":119443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e97"} 
[2026-07-01 22:22:02] local.INFO: GPS Element Parsed {"raw_longitude":752413888,"raw_latitude":120954264,"longitude_deg":75.2413888,"latitude_deg":12.0954264,"altitude":13,"angle":116,"satellites":42,"speed":52,"hex_longitude":"2cd8ecc0","hex_latitude":"07359d98","is_valid_coordinates":true} 
[2026-07-01 22:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428707072001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334181251999072256,"note":"Value kept but may cause issues"} 
[2026-07-01 22:22:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2825093941535227904,"note":"Value kept but may cause issues"} 
[2026-07-01 22:22:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782924644000,"timestamp_ms":1782924644000,"timestamp_seconds":1782924644,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e970ea0"} 
[2026-07-01 22:22:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:22:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 22:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 22:22:02] 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-01 22:22:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:22:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":119443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":119443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":119443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:22:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 22:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428707072001,"66":27571,"175":206,"83":40960,"24":52,"16":334181251999072256,"44":-2825093941535227904},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,44]} 
[2026-07-01 22:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428707072001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:22:02] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-07-01 22:22:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 22:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334181251999072256,"km_value":334181251999072.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:22:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2825093941535227904,"description":"Unknown IO ID 44"} 
[2026-07-01 22:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428707072001,"power":27571,"unknown_175":206,"unknown_83":40960,"ignition":52,"odometer":null,"unknown_44":-2825093941535227904}} 
[2026-07-01 22:22:02] local.INFO: DEBUG: GPS processor result {"connection_id":119443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:22:02] local.INFO: GPS data processed {"connection_id":119443,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:22:02] local.INFO: Acknowledgment sent {"connection_id":119443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:22:09] local.INFO: TCP Data received {"connection_id":119443,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e9729f8012cd90d4007358e68000f00712b..."} 
[2026-07-01 22:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e9729f8012cd90d4007358e68000f00712b..."} 
[2026-07-01 22:22:09] local.INFO: Processing buffer {"connection_id":119443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e9729f8012cd90d4007358e68000f00712b..."} 
[2026-07-01 22:22:09] local.INFO: Packet analysis {"connection_id":119443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e97"} 
[2026-07-01 22:22:09] local.INFO: Extracted packet for processing {"connection_id":119443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e97"} 
[2026-07-01 22:22:09] local.INFO: GPS Element Parsed {"raw_longitude":752422208,"raw_latitude":120950376,"longitude_deg":75.2422208,"latitude_deg":12.0950376,"altitude":15,"angle":113,"satellites":43,"speed":51,"hex_longitude":"2cd90d40","hex_latitude":"07358e68","is_valid_coordinates":true} 
[2026-07-01 22: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-01 22:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428708864001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334181690085736448,"note":"Value kept but may cause issues"} 
[2026-07-01 22:22:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2815664529816578048,"note":"Value kept but may cause issues"} 
[2026-07-01 22:22:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782924651000,"timestamp_ms":1782924651000,"timestamp_seconds":1782924651,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e9729f8"} 
[2026-07-01 22: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-01 22:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 22: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-01 22:22:09] 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-01 22: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-01 22: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-01 22:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":119443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":119443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":119443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:22:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 22:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428708864001,"66":27539,"175":206,"83":40960,"24":51,"16":334181690085736448,"44":-2815664529816578048},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,44]} 
[2026-07-01 22:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428708864001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:22:09] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-07-01 22:22:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 22:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334181690085736448,"km_value":334181690085736.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:22:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2815664529816578048,"description":"Unknown IO ID 44"} 
[2026-07-01 22:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428708864001,"power":27539,"unknown_175":206,"unknown_83":40960,"ignition":51,"odometer":null,"unknown_44":-2815664529816578048}} 
[2026-07-01 22:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":119443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:22:09] local.INFO: GPS data processed {"connection_id":119443,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:22:09] local.INFO: Acknowledgment sent {"connection_id":119443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:22:46] local.INFO: TCP Data received {"connection_id":119444,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:22:46] local.INFO: Processing buffer {"connection_id":119444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:22:46] local.INFO: IMEI packet received {"connection_id":119444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 22:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":119444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:22:49] local.INFO: TCP Data received {"connection_id":119444,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:22:49] local.INFO: Processing buffer {"connection_id":119444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:22:49] local.INFO: IMEI packet received {"connection_id":119444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":119444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:22:53] local.INFO: TCP Data received {"connection_id":119444,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:22:53] local.INFO: Processing buffer {"connection_id":119444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:22:53] local.INFO: IMEI packet received {"connection_id":119444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":119444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:22:54] local.INFO: TCP Data received {"connection_id":119444,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e974938012cd9320007357f10001200702c..."} 
[2026-07-01 22:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e974938012cd9320007357f10001200702c..."} 
[2026-07-01 22:22:54] local.INFO: Processing buffer {"connection_id":119444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e974938012cd9320007357f10001200702c..."} 
[2026-07-01 22:22:54] local.INFO: Packet analysis {"connection_id":119444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e97"} 
[2026-07-01 22:22:54] local.INFO: Extracted packet for processing {"connection_id":119444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e97"} 
[2026-07-01 22:22:54] local.INFO: GPS Element Parsed {"raw_longitude":752431616,"raw_latitude":120946448,"longitude_deg":75.2431616,"latitude_deg":12.0946448,"altitude":18,"angle":112,"satellites":44,"speed":49,"hex_longitude":"2cd93200","hex_latitude":"07357f10","is_valid_coordinates":true} 
[2026-07-01 22:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:22:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428710656001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:22:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334182179712008192,"note":"Value kept but may cause issues"} 
[2026-07-01 22:22:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2806516593074477056,"note":"Value kept but may cause issues"} 
[2026-07-01 22:22:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:22:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782924659000,"timestamp_ms":1782924659000,"timestamp_seconds":1782924659,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e974938"} 
[2026-07-01 22:22:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:22: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-01 22:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-01 22:22:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:22:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:22:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:22:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:22:54] local.INFO: Teltonika packet parsed successfully {"connection_id":119444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:22:54] local.INFO: Passing IMEI to GPS processor {"connection_id":119444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:22:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":119444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:22:54] 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-01 22:22:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:22:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:22:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428710656001,"66":27593,"175":206,"83":40960,"24":49,"16":334182179712008192,"44":-2806516593074477056},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,44]} 
[2026-07-01 22:22:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:22:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:22:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428710656001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:22:54] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-07-01 22:22:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 22:22:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334182179712008192,"km_value":334182179712008.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:22:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2806516593074477056,"description":"Unknown IO ID 44"} 
[2026-07-01 22:22:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428710656001,"power":27593,"unknown_175":206,"unknown_83":40960,"ignition":49,"odometer":null,"unknown_44":-2806516593074477056}} 
[2026-07-01 22:22:54] local.INFO: DEBUG: GPS processor result {"connection_id":119444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:22:54] local.INFO: GPS data processed {"connection_id":119444,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:22:54] local.INFO: Acknowledgment sent {"connection_id":119444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:23:26] local.INFO: TCP Data received {"connection_id":119444,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e98a0f8012cda91400734ae700017007d2b..."} 
[2026-07-01 22:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e98a0f8012cda91400734ae700017007d2b..."} 
[2026-07-01 22:23:26] local.INFO: Processing buffer {"connection_id":119444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e98a0f8012cda91400734ae700017007d2b..."} 
[2026-07-01 22:23:26] local.INFO: Packet analysis {"connection_id":119444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e98"} 
[2026-07-01 22:23:26] local.INFO: Extracted packet for processing {"connection_id":119444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e98"} 
[2026-07-01 22:23:26] local.INFO: GPS Element Parsed {"raw_longitude":752521536,"raw_latitude":120893040,"longitude_deg":75.2521536,"latitude_deg":12.089304,"altitude":23,"angle":125,"satellites":43,"speed":61,"hex_longitude":"2cda9140","hex_latitude":"0734ae70","is_valid_coordinates":true} 
[2026-07-01 22:23:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:23:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428733696001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:23:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334187213413679104,"note":"Value kept but may cause issues"} 
[2026-07-01 22:23:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2705818920169533440,"note":"Value kept but may cause issues"} 
[2026-07-01 22:23:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:23:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782924747000,"timestamp_ms":1782924747000,"timestamp_seconds":1782924747,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e98a0f8"} 
[2026-07-01 22:23:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:23: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-01 22:23:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-01 22:23:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:23:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:23:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:23:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:23:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:23:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:23:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:23:26] 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-01 22:23:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:23:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:23:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428733696001,"66":27234,"225":206,"83":40960,"24":61,"16":334187213413679104,"44":-2705818920169533440},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,44]} 
[2026-07-01 22:23:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:23:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:23:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428733696001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:23:26] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-07-01 22:23:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 22:23:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334187213413679104,"km_value":334187213413679.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:23:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2705818920169533440,"description":"Unknown IO ID 44"} 
[2026-07-01 22:23:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428733696001,"power":27234,"unknown_225":206,"unknown_83":40960,"ignition":61,"odometer":null,"unknown_44":-2705818920169533440}} 
[2026-07-01 22:23:26] local.INFO: DEBUG: GPS processor result {"connection_id":119444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:23:26] local.INFO: GPS data processed {"connection_id":119444,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:23:26] local.INFO: Acknowledgment sent {"connection_id":119444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:23:49] local.INFO: TCP Data received {"connection_id":119445,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:23:49] local.INFO: Processing buffer {"connection_id":119445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:23:49] local.INFO: IMEI packet received {"connection_id":119445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 22:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":119445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:23:50] local.INFO: TCP Data received {"connection_id":119445,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:23:50] local.INFO: Processing buffer {"connection_id":119445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:23:50] local.INFO: IMEI packet received {"connection_id":119445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":119445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:23:50] local.INFO: TCP Data received {"connection_id":119445,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:23:50] local.INFO: Processing buffer {"connection_id":119445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:23:50] local.INFO: IMEI packet received {"connection_id":119445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":119445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:23:53] local.INFO: TCP Data received {"connection_id":119445,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:23:53] local.INFO: Processing buffer {"connection_id":119445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:23:53] local.INFO: IMEI packet received {"connection_id":119445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":119445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:23:54] local.INFO: TCP Data received {"connection_id":119445,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e98b868012cdaad8007349950001700812a..."} 
[2026-07-01 22:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e98b868012cdaad8007349950001700812a..."} 
[2026-07-01 22:23:54] local.INFO: Processing buffer {"connection_id":119445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e98b868012cdaad8007349950001700812a..."} 
[2026-07-01 22:23:54] local.INFO: Packet analysis {"connection_id":119445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e98"} 
[2026-07-01 22:23:54] local.INFO: Extracted packet for processing {"connection_id":119445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e98"} 
[2026-07-01 22:23:54] local.INFO: GPS Element Parsed {"raw_longitude":752528768,"raw_latitude":120887632,"longitude_deg":75.2528768,"latitude_deg":12.0887632,"altitude":23,"angle":129,"satellites":42,"speed":57,"hex_longitude":"2cdaad80","hex_latitude":"07349950","is_valid_coordinates":true} 
[2026-07-01 22:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:23:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428735232001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:23:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334187642910408704,"note":"Value kept but may cause issues"} 
[2026-07-01 22:23:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2697304302125420544,"note":"Value kept but may cause issues"} 
[2026-07-01 22:23:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:23:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782924753000,"timestamp_ms":1782924753000,"timestamp_seconds":1782924753,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e98b868"} 
[2026-07-01 22:23:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:23: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-01 22:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-01 22:23:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:23:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:23:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:23:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:23:54] local.INFO: Teltonika packet parsed successfully {"connection_id":119445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:23:54] local.INFO: Passing IMEI to GPS processor {"connection_id":119445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:23:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":119445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:23:54] 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-01 22:23:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:23:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:23:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428735232001,"66":27463,"225":206,"83":40960,"24":57,"16":334187642910408704,"44":-2697304302125420544},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,44]} 
[2026-07-01 22:23:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:23:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:23:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428735232001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:23:54] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-07-01 22:23:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 22:23:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334187642910408704,"km_value":334187642910408.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:23:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2697304302125420544,"description":"Unknown IO ID 44"} 
[2026-07-01 22:23:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428735232001,"power":27463,"unknown_225":206,"unknown_83":40960,"ignition":57,"odometer":null,"unknown_44":-2697304302125420544}} 
[2026-07-01 22:23:54] local.INFO: DEBUG: GPS processor result {"connection_id":119445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:23:54] local.INFO: GPS data processed {"connection_id":119445,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:23:54] local.INFO: Acknowledgment sent {"connection_id":119445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:24:25] local.INFO: TCP Data received {"connection_id":119445,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e98d3c0012cdac94007347eb00017008a2a..."} 
[2026-07-01 22:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e98d3c0012cdac94007347eb00017008a2a..."} 
[2026-07-01 22:24:25] local.INFO: Processing buffer {"connection_id":119445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e98d3c0012cdac94007347eb00017008a2a..."} 
[2026-07-01 22:24:25] local.INFO: Packet analysis {"connection_id":119445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e98"} 
[2026-07-01 22:24:25] local.INFO: Extracted packet for processing {"connection_id":119445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e98"} 
[2026-07-01 22:24:25] local.INFO: GPS Element Parsed {"raw_longitude":752535872,"raw_latitude":120880816,"longitude_deg":75.2535872,"latitude_deg":12.0880816,"altitude":23,"angle":138,"satellites":42,"speed":53,"hex_longitude":"2cdac940","hex_latitude":"07347eb0","is_valid_coordinates":true} 
[2026-07-01 22:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428736768001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334188115356811264,"note":"Value kept but may cause issues"} 
[2026-07-01 22:24:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2689352634034728960,"note":"Value kept but may cause issues"} 
[2026-07-01 22:24:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782924760000,"timestamp_ms":1782924760000,"timestamp_seconds":1782924760,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e98d3c0"} 
[2026-07-01 22:24:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:24:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 22:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-01 22:24:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:24:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:24:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:24:25] 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-01 22:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428736768001,"66":27332,"145":206,"83":40960,"24":53,"16":334188115356811264,"44":-2689352634034728960},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,44]} 
[2026-07-01 22:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428736768001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:24:25] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-01 22:24:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 22:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334188115356811264,"km_value":334188115356811.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:24:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2689352634034728960,"description":"Unknown IO ID 44"} 
[2026-07-01 22:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428736768001,"power":27332,"unknown_145":206,"unknown_83":40960,"ignition":53,"odometer":null,"unknown_44":-2689352634034728960}} 
[2026-07-01 22:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":119445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:24:25] local.INFO: GPS data processed {"connection_id":119445,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:24:25] local.INFO: Acknowledgment sent {"connection_id":119445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:24:48] local.INFO: TCP Data received {"connection_id":119339,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:24:48] local.INFO: Processing buffer {"connection_id":119339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:24:48] local.INFO: IMEI packet received {"connection_id":119339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 22:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":119339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:24:52] local.INFO: TCP Data received {"connection_id":119339,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:24:52] local.INFO: Processing buffer {"connection_id":119339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:24:52] local.INFO: IMEI packet received {"connection_id":119339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":119339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:24:52] local.INFO: TCP Data received {"connection_id":119339,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:24:52] local.INFO: Processing buffer {"connection_id":119339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:24:52] local.INFO: IMEI packet received {"connection_id":119339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":119339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:24:53] local.INFO: TCP Data received {"connection_id":119339,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e98ef18012cdadf80073462d00017008f2b..."} 
[2026-07-01 22:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e98ef18012cdadf80073462d00017008f2b..."} 
[2026-07-01 22:24:53] local.INFO: Processing buffer {"connection_id":119339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e98ef18012cdadf80073462d00017008f2b..."} 
[2026-07-01 22:24:53] local.INFO: Packet analysis {"connection_id":119339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e98"} 
[2026-07-01 22:24:53] local.INFO: Extracted packet for processing {"connection_id":119339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e98"} 
[2026-07-01 22:24:53] local.INFO: GPS Element Parsed {"raw_longitude":752541568,"raw_latitude":120873680,"longitude_deg":75.2541568,"latitude_deg":12.087368,"altitude":23,"angle":143,"satellites":43,"speed":50,"hex_longitude":"2cdadf80","hex_latitude":"073462d0","is_valid_coordinates":true} 
[2026-07-01 22: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-01 22:24:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428738560001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:24:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334188557738442752,"note":"Value kept but may cause issues"} 
[2026-07-01 22:24:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2681541703432753152,"note":"Value kept but may cause issues"} 
[2026-07-01 22:24:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:24:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782924767000,"timestamp_ms":1782924767000,"timestamp_seconds":1782924767,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e98ef18"} 
[2026-07-01 22: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-01 22:24:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 22:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-01 22:24:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22: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-01 22: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-01 22:24:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:24:53] local.INFO: Teltonika packet parsed successfully {"connection_id":119339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:24:53] local.INFO: Passing IMEI to GPS processor {"connection_id":119339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:24:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":119339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:24:53] 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-01 22:24:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:24:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:24:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428738560001,"66":27397,"145":206,"83":40960,"24":50,"16":334188557738442752,"44":-2681541703432753152},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,44]} 
[2026-07-01 22:24:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:24:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:24:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428738560001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:24:53] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-01 22:24:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 22:24:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334188557738442752,"km_value":334188557738442.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:24:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2681541703432753152,"description":"Unknown IO ID 44"} 
[2026-07-01 22:24:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428738560001,"power":27397,"unknown_145":206,"unknown_83":40960,"ignition":50,"odometer":null,"unknown_44":-2681541703432753152}} 
[2026-07-01 22:24:53] local.INFO: DEBUG: GPS processor result {"connection_id":119339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:24:53] local.INFO: GPS data processed {"connection_id":119339,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:24:53] local.INFO: Acknowledgment sent {"connection_id":119339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:24:54] local.INFO: TCP Data received {"connection_id":119339,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e990e58012cdaf680073444400016009029..."} 
[2026-07-01 22:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e990e58012cdaf680073444400016009029..."} 
[2026-07-01 22:24:54] local.INFO: Processing buffer {"connection_id":119339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e990e58012cdaf680073444400016009029..."} 
[2026-07-01 22:24:54] local.INFO: Packet analysis {"connection_id":119339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e99"} 
[2026-07-01 22:24:54] local.INFO: Extracted packet for processing {"connection_id":119339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e99"} 
[2026-07-01 22:24:54] local.INFO: GPS Element Parsed {"raw_longitude":752547456,"raw_latitude":120865856,"longitude_deg":75.2547456,"latitude_deg":12.0865856,"altitude":22,"angle":144,"satellites":41,"speed":45,"hex_longitude":"2cdaf680","hex_latitude":"07344440","is_valid_coordinates":true} 
[2026-07-01 22: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-01 22:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428740352001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334189025889878016,"note":"Value kept but may cause issues"} 
[2026-07-01 22:24:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2675278885202767872,"note":"Value kept but may cause issues"} 
[2026-07-01 22:24:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782924775000,"timestamp_ms":1782924775000,"timestamp_seconds":1782924775,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e990e58"} 
[2026-07-01 22: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-01 22:24: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-01 22: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-01 22:24:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22: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-01 22: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-01 22:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":119339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":119339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":119339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:24:54] 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-01 22:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428740352001,"66":26713,"145":206,"83":40960,"24":45,"16":334189025889878016,"44":-2675278885202767872},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,44]} 
[2026-07-01 22:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428740352001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:24:54] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-01 22:24:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 22:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334189025889878016,"km_value":334189025889878.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:24:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2675278885202767872,"description":"Unknown IO ID 44"} 
[2026-07-01 22:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428740352001,"power":26713,"unknown_145":206,"unknown_83":40960,"ignition":45,"odometer":null,"unknown_44":-2675278885202767872}} 
[2026-07-01 22:24:54] local.INFO: DEBUG: GPS processor result {"connection_id":119339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:24:54] local.INFO: GPS data processed {"connection_id":119339,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:24:54] local.INFO: Acknowledgment sent {"connection_id":119339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:25:25] local.INFO: TCP Data received {"connection_id":119339,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e9a6a00012cdb680007338a58001300b227..."} 
[2026-07-01 22:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e9a6a00012cdb680007338a58001300b227..."} 
[2026-07-01 22:25:25] local.INFO: Processing buffer {"connection_id":119339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e9a6a00012cdb680007338a58001300b227..."} 
[2026-07-01 22:25:25] local.INFO: Packet analysis {"connection_id":119339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e9a"} 
[2026-07-01 22:25:25] local.INFO: Extracted packet for processing {"connection_id":119339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e9a"} 
[2026-07-01 22:25:25] local.INFO: GPS Element Parsed {"raw_longitude":752576512,"raw_latitude":120818264,"longitude_deg":75.2576512,"latitude_deg":12.0818264,"altitude":19,"angle":178,"satellites":39,"speed":17,"hex_longitude":"2cdb6800","hex_latitude":"07338a58","is_valid_coordinates":true} 
[2026-07-01 22:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:25:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428764672001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:25:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334191817618620416,"note":"Value kept but may cause issues"} 
[2026-07-01 22:25:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2636646444663189504,"note":"Value kept but may cause issues"} 
[2026-07-01 22:25:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:25:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782924864000,"timestamp_ms":1782924864000,"timestamp_seconds":1782924864,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e9a6a00"} 
[2026-07-01 22:25:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:25: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-01 22:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-01 22:25:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:25:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:25:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:25:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:25:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:25:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:25:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:25:25] 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-01 22:25:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:25:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:25:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428764672001,"66":26767,"146":206,"83":40960,"24":17,"16":334191817618620416,"44":-2636646444663189504},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-07-01 22:25:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:25:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:25:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428764672001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:25:25] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-07-01 22:25:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 22:25:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334191817618620416,"km_value":334191817618620.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:25:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2636646444663189504,"description":"Unknown IO ID 44"} 
[2026-07-01 22:25:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428764672001,"power":26767,"unknown_146":206,"unknown_83":40960,"ignition":17,"odometer":null,"unknown_44":-2636646444663189504}} 
[2026-07-01 22:25:25] local.INFO: DEBUG: GPS processor result {"connection_id":119339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:25:25] local.INFO: GPS data processed {"connection_id":119339,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:25:25] local.INFO: Acknowledgment sent {"connection_id":119339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:25:44] local.INFO: TCP Data received {"connection_id":120127,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 22:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120127,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 22:25:44] local.INFO: Processing buffer {"connection_id":120127,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 22:25:44] local.INFO: IMEI packet received {"connection_id":120127,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 22:25:44] local.INFO: IMEI acknowledgment sent {"connection_id":120127,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:25:48] local.INFO: TCP Data received {"connection_id":119447,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:25:48] local.INFO: Processing buffer {"connection_id":119447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:25:48] local.INFO: IMEI packet received {"connection_id":119447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 22:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":119447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:25:49] local.INFO: TCP Data received {"connection_id":119447,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:25:49] local.INFO: Processing buffer {"connection_id":119447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:25:49] local.INFO: IMEI packet received {"connection_id":119447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":119447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:25:53] local.INFO: TCP Data received {"connection_id":119447,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:25:53] local.INFO: Processing buffer {"connection_id":119447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:25:53] local.INFO: IMEI packet received {"connection_id":119447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":119447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:25:54] local.INFO: TCP Data received {"connection_id":119447,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e9a8558012cdb6a8007337b00001200a22a..."} 
[2026-07-01 22:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e9a8558012cdb6a8007337b00001200a22a..."} 
[2026-07-01 22:25:54] local.INFO: Processing buffer {"connection_id":119447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e9a8558012cdb6a8007337b00001200a22a..."} 
[2026-07-01 22:25:54] local.INFO: Packet analysis {"connection_id":119447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e9a"} 
[2026-07-01 22:25:54] local.INFO: Extracted packet for processing {"connection_id":119447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e9a"} 
[2026-07-01 22:25:54] local.INFO: GPS Element Parsed {"raw_longitude":752577152,"raw_latitude":120814336,"longitude_deg":75.2577152,"latitude_deg":12.0814336,"altitude":18,"angle":162,"satellites":42,"speed":25,"hex_longitude":"2cdb6a80","hex_latitude":"07337b00","is_valid_coordinates":true} 
[2026-07-01 22: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-01 22:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428765184001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334192010892148736,"note":"Value kept but may cause issues"} 
[2026-07-01 22:25:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2636857550895949824,"note":"Value kept but may cause issues"} 
[2026-07-01 22:25:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782924871000,"timestamp_ms":1782924871000,"timestamp_seconds":1782924871,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e9a8558"} 
[2026-07-01 22: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-01 22:25: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-01 22:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":143,"data_length":795,"current_offset":136} 
[2026-07-01 22:25:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2005,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22: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-01 22: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-01 22:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":119447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":119447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":119447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:25:54] 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-01 22:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428765184001,"66":27463,"146":206,"83":40960,"24":25,"16":334192010892148736,"44":-2636857550895949824},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,83,24,16,44]} 
[2026-07-01 22:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428765184001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:25:54] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-07-01 22:25:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 22:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334192010892148736,"km_value":334192010892148.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:25:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2636857550895949824,"description":"Unknown IO ID 44"} 
[2026-07-01 22:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428765184001,"power":27463,"unknown_146":206,"unknown_83":40960,"ignition":25,"odometer":null,"unknown_44":-2636857550895949824}} 
[2026-07-01 22:25:54] local.INFO: DEBUG: GPS processor result {"connection_id":119447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:25:54] local.INFO: GPS data processed {"connection_id":119447,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:25:54] local.INFO: Acknowledgment sent {"connection_id":119447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:26:15] local.INFO: TCP Data received {"connection_id":120128,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 22:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120128,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 22:26:15] local.INFO: Processing buffer {"connection_id":120128,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 22:26:15] local.INFO: IMEI packet received {"connection_id":120128,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 22:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":120128,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:26:25] local.INFO: TCP Data received {"connection_id":119447,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e010000019f1e9ab438012cdb7ac0073358880014009828..."} 
[2026-07-01 22:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119447,"packet_length":93,"packet_hex":"00000000000000518e010000019f1e9ab438012cdb7ac0073358880014009828..."} 
[2026-07-01 22:26:25] local.INFO: Processing buffer {"connection_id":119447,"buffer_length":93,"buffer_hex":"00000000000000518e010000019f1e9ab438012cdb7ac0073358880014009828..."} 
[2026-07-01 22:26:25] local.INFO: Packet analysis {"connection_id":119447,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019f1e9a"} 
[2026-07-01 22:26:25] local.INFO: Extracted packet for processing {"connection_id":119447,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019f1e9a"} 
[2026-07-01 22:26:25] local.INFO: GPS Element Parsed {"raw_longitude":752581312,"raw_latitude":120805512,"longitude_deg":75.2581312,"latitude_deg":12.0805512,"altitude":20,"angle":152,"satellites":40,"speed":35,"hex_longitude":"2cdb7ac0","hex_latitude":"07335888","is_valid_coordinates":true} 
[2026-07-01 22:26:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-07-01 22:26:25] 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-01 22:26:25] 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-01 22:26:25] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:26:25] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-07-01 22:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119447,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-07-01 22:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119447,"device_imei":"862567074773115","avl_records_count":0} 
[2026-07-01 22:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119447,"device_imei":"862567074773115","avl_records_count":0} 
[2026-07-01 22:26:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-07-01 22:26:25] local.WARNING: DEBUG: No valid data to process  
[2026-07-01 22:26:25] local.INFO: DEBUG: GPS processor result {"connection_id":119447,"result":{"success":false,"message":"No valid data to process"}} 
[2026-07-01 22:26:25] local.ERROR: GPS data processing failed {"connection_id":119447,"error":"No valid data to process"} 
[2026-07-01 22:26:25] local.INFO: Acknowledgment sent {"connection_id":119447,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-07-01 22:26:52] local.INFO: TCP Data received {"connection_id":120129,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:26:52] local.INFO: Processing buffer {"connection_id":120129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:26:52] local.INFO: IMEI packet received {"connection_id":120129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 22:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":120129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:26:53] local.INFO: TCP Data received {"connection_id":120129,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:26:53] local.INFO: Processing buffer {"connection_id":120129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:26:53] local.INFO: IMEI packet received {"connection_id":120129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":120129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:26:59] local.INFO: TCP Data received {"connection_id":120129,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:26:59] local.INFO: Processing buffer {"connection_id":120129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:26:59] local.INFO: IMEI packet received {"connection_id":120129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":120129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:26:59] local.INFO: TCP Data received {"connection_id":120129,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e9adb48012cdb8c80073338f00017009929..."} 
[2026-07-01 22:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e9adb48012cdb8c80073338f00017009929..."} 
[2026-07-01 22:26:59] local.INFO: Processing buffer {"connection_id":120129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e9adb48012cdb8c80073338f00017009929..."} 
[2026-07-01 22:26:59] local.INFO: Packet analysis {"connection_id":120129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e9a"} 
[2026-07-01 22:26:59] local.INFO: Extracted packet for processing {"connection_id":120129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e9a"} 
[2026-07-01 22:26:59] local.INFO: GPS Element Parsed {"raw_longitude":752585856,"raw_latitude":120797424,"longitude_deg":75.2585856,"latitude_deg":12.0797424,"altitude":23,"angle":153,"satellites":41,"speed":37,"hex_longitude":"2cdb8c80","hex_latitude":"073338f0","is_valid_coordinates":true} 
[2026-07-01 22:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428770048001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334192930015150080,"note":"Value kept but may cause issues"} 
[2026-07-01 22:26:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2631579895085889536,"note":"Value kept but may cause issues"} 
[2026-07-01 22:26:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782924893000,"timestamp_ms":1782924893000,"timestamp_seconds":1782924893,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e9adb48"} 
[2026-07-01 22:26:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:26:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 22:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-01 22:26:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:26:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:26:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":120129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":120129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":120129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:26:59] 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-01 22:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428770048001,"66":27615,"145":206,"83":40960,"24":37,"16":334192930015150080,"44":-2631579895085889536},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,44]} 
[2026-07-01 22:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428770048001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:26:59] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-01 22:26:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 22:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334192930015150080,"km_value":334192930015150.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:26:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2631579895085889536,"description":"Unknown IO ID 44"} 
[2026-07-01 22:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428770048001,"power":27615,"unknown_145":206,"unknown_83":40960,"ignition":37,"odometer":null,"unknown_44":-2631579895085889536}} 
[2026-07-01 22:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":120129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:26:59] local.INFO: GPS data processed {"connection_id":120129,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:26:59] local.INFO: Acknowledgment sent {"connection_id":120129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:27:31] local.INFO: TCP Data received {"connection_id":120129,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e9c5a18012cdba5400731a808001500b427..."} 
[2026-07-01 22:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e9c5a18012cdba5400731a808001500b427..."} 
[2026-07-01 22:27:31] local.INFO: Processing buffer {"connection_id":120129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e9c5a18012cdba5400731a808001500b427..."} 
[2026-07-01 22:27:31] local.INFO: Packet analysis {"connection_id":120129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e9c"} 
[2026-07-01 22:27:31] local.INFO: Extracted packet for processing {"connection_id":120129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e9c"} 
[2026-07-01 22:27:31] local.INFO: GPS Element Parsed {"raw_longitude":752592192,"raw_latitude":120694792,"longitude_deg":75.2592192,"latitude_deg":12.0694792,"altitude":21,"angle":180,"satellites":39,"speed":43,"hex_longitude":"2cdba540","hex_latitude":"0731a808","is_valid_coordinates":true} 
[2026-07-01 22:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428795904001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334197976601722880,"note":"Value kept but may cause issues"} 
[2026-07-01 22:27:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2618702414927781888,"note":"Value kept but may cause issues"} 
[2026-07-01 22:27:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782924991000,"timestamp_ms":1782924991000,"timestamp_seconds":1782924991,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e9c5a18"} 
[2026-07-01 22:27:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:27:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 22:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-01 22:27:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:27:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:27:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":120129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":120129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":120129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:27:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 22:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428795904001,"66":27604,"143":206,"83":40960,"24":43,"16":334197976601722880,"44":-2618702414927781888},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,83,24,16,44]} 
[2026-07-01 22:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428795904001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:27:31] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-07-01 22:27:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 22:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334197976601722880,"km_value":334197976601722.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:27:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2618702414927781888,"description":"Unknown IO ID 44"} 
[2026-07-01 22:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428795904001,"power":27604,"unknown_143":206,"unknown_83":40960,"ignition":43,"odometer":null,"unknown_44":-2618702414927781888}} 
[2026-07-01 22:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":120129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:27:31] local.INFO: GPS data processed {"connection_id":120129,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:27:31] local.INFO: Acknowledgment sent {"connection_id":120129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:27:48] local.INFO: TCP Data received {"connection_id":119340,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:27:48] local.INFO: Processing buffer {"connection_id":119340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:27:48] local.INFO: IMEI packet received {"connection_id":119340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 22:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":119340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:27:50] local.INFO: TCP Data received {"connection_id":119340,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:27:50] local.INFO: Processing buffer {"connection_id":119340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:27:50] local.INFO: IMEI packet received {"connection_id":119340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":119340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:27:54] local.INFO: TCP Data received {"connection_id":119340,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:27:54] local.INFO: Processing buffer {"connection_id":119340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:27:54] local.INFO: IMEI packet received {"connection_id":119340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":119340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:27:55] local.INFO: TCP Data received {"connection_id":119340,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e9c7570012cdba78007318d48001700a828..."} 
[2026-07-01 22:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e9c7570012cdba78007318d48001700a828..."} 
[2026-07-01 22:27:55] local.INFO: Processing buffer {"connection_id":119340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e9c7570012cdba78007318d48001700a828..."} 
[2026-07-01 22:27:55] local.INFO: Packet analysis {"connection_id":119340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e9c"} 
[2026-07-01 22:27:55] local.INFO: Extracted packet for processing {"connection_id":119340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e9c"} 
[2026-07-01 22:27:55] local.INFO: GPS Element Parsed {"raw_longitude":752592768,"raw_latitude":120687944,"longitude_deg":75.2592768,"latitude_deg":12.0687944,"altitude":23,"angle":168,"satellites":40,"speed":34,"hex_longitude":"2cdba780","hex_latitude":"07318d48","is_valid_coordinates":true} 
[2026-07-01 22:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428797696001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334198311609171968,"note":"Value kept but may cause issues"} 
[2026-07-01 22:27:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2619617208604030976,"note":"Value kept but may cause issues"} 
[2026-07-01 22:27:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782924998000,"timestamp_ms":1782924998000,"timestamp_seconds":1782924998,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e9c7570"} 
[2026-07-01 22:27:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:27:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 22:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-01 22:27: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-01 22:27:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:27:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":119340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":119340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":119340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:27:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 22:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428797696001,"66":27658,"143":206,"83":40960,"24":34,"16":334198311609171968,"44":-2619617208604030976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,83,24,16,44]} 
[2026-07-01 22:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428797696001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:27:55] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-07-01 22:27:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 22:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334198311609171968,"km_value":334198311609171.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:27:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2619617208604030976,"description":"Unknown IO ID 44"} 
[2026-07-01 22:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428797696001,"power":27658,"unknown_143":206,"unknown_83":40960,"ignition":34,"odometer":null,"unknown_44":-2619617208604030976}} 
[2026-07-01 22:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":119340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:27:55] local.INFO: GPS data processed {"connection_id":119340,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:27:55] local.INFO: Acknowledgment sent {"connection_id":119340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:28:26] local.INFO: TCP Data received {"connection_id":119340,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e9c9c80012cdbb08007316ed80017009d29..."} 
[2026-07-01 22:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e9c9c80012cdbb08007316ed80017009d29..."} 
[2026-07-01 22:28:26] local.INFO: Processing buffer {"connection_id":119340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e9c9c80012cdbb08007316ed80017009d29..."} 
[2026-07-01 22:28:26] local.INFO: Packet analysis {"connection_id":119340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e9c"} 
[2026-07-01 22:28:26] local.INFO: Extracted packet for processing {"connection_id":119340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e9c"} 
[2026-07-01 22:28:26] local.INFO: GPS Element Parsed {"raw_longitude":752595072,"raw_latitude":120680152,"longitude_deg":75.2595072,"latitude_deg":12.0680152,"altitude":23,"angle":157,"satellites":41,"speed":34,"hex_longitude":"2cdbb080","hex_latitude":"07316ed8","is_valid_coordinates":true} 
[2026-07-01 22:28:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:28:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428799488001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:28:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334198702451195904,"note":"Value kept but may cause issues"} 
[2026-07-01 22:28:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2618983889908185088,"note":"Value kept but may cause issues"} 
[2026-07-01 22:28:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:28:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782925008000,"timestamp_ms":1782925008000,"timestamp_seconds":1782925008,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e9c9c80"} 
[2026-07-01 22:28:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:28: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-01 22:28:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-01 22:28:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:28:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:28:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:28:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:28:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:28:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:28:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:28:26] 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-01 22:28:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:28:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:28:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428799488001,"66":27658,"143":206,"83":40960,"24":34,"16":334198702451195904,"44":-2618983889908185088},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,83,24,16,44]} 
[2026-07-01 22:28:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:28:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:28:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428799488001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:28:26] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-07-01 22:28:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 22:28:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334198702451195904,"km_value":334198702451195.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:28:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2618983889908185088,"description":"Unknown IO ID 44"} 
[2026-07-01 22:28:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428799488001,"power":27658,"unknown_143":206,"unknown_83":40960,"ignition":34,"odometer":null,"unknown_44":-2618983889908185088}} 
[2026-07-01 22:28:26] local.INFO: DEBUG: GPS processor result {"connection_id":119340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:28:26] local.INFO: GPS data processed {"connection_id":119340,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:28:26] local.INFO: Acknowledgment sent {"connection_id":119340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:28:48] local.INFO: TCP Data received {"connection_id":120130,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:28:48] local.INFO: Processing buffer {"connection_id":120130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:28:48] local.INFO: IMEI packet received {"connection_id":120130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 22:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":120130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:28:49] local.INFO: TCP Data received {"connection_id":120130,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:28:49] local.INFO: Processing buffer {"connection_id":120130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:28:49] local.INFO: IMEI packet received {"connection_id":120130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":120130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:28:54] local.INFO: TCP Data received {"connection_id":120130,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:28:54] local.INFO: Processing buffer {"connection_id":120130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:28:54] local.INFO: IMEI packet received {"connection_id":120130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":120130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:28:57] local.INFO: TCP Data received {"connection_id":120130,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:28:57] local.INFO: Processing buffer {"connection_id":120130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:28:57] local.INFO: IMEI packet received {"connection_id":120130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":120130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:28:58] local.INFO: TCP Data received {"connection_id":120130,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e9dbd90012cdc1f4007302648000600942b..."} 
[2026-07-01 22:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e9dbd90012cdc1f4007302648000600942b..."} 
[2026-07-01 22:28:58] local.INFO: Processing buffer {"connection_id":120130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e9dbd90012cdc1f4007302648000600942b..."} 
[2026-07-01 22:28:58] local.INFO: Packet analysis {"connection_id":120130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e9d"} 
[2026-07-01 22:28:58] local.INFO: Extracted packet for processing {"connection_id":120130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e9d"} 
[2026-07-01 22:28:58] local.INFO: GPS Element Parsed {"raw_longitude":752623424,"raw_latitude":120596040,"longitude_deg":75.2623424,"latitude_deg":12.059604,"altitude":6,"angle":148,"satellites":43,"speed":50,"hex_longitude":"2cdc1f40","hex_latitude":"07302648","is_valid_coordinates":true} 
[2026-07-01 22: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-01 22:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428819200001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334203096202739712,"note":"Value kept but may cause issues"} 
[2026-07-01 22:28:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2590695654770315264,"note":"Value kept but may cause issues"} 
[2026-07-01 22:28:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782925082000,"timestamp_ms":1782925082000,"timestamp_seconds":1782925082,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e9dbd90"} 
[2026-07-01 22: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-01 22:28: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-01 22:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-01 22:28:58] 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-01 22: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-01 22: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-01 22:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:28:58] 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-01 22:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428819200001,"66":27539,"95":206,"83":40960,"24":50,"16":334203096202739712,"44":-2590695654770315264},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,44]} 
[2026-07-01 22:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428819200001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:28:58] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-01 22:28:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 22:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334203096202739712,"km_value":334203096202739.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:28:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2590695654770315264,"description":"Unknown IO ID 44"} 
[2026-07-01 22:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428819200001,"power":27539,"unknown_95":206,"unknown_83":40960,"ignition":50,"odometer":null,"unknown_44":-2590695654770315264}} 
[2026-07-01 22:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":120130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:28:58] local.INFO: GPS data processed {"connection_id":120130,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:28:58] local.INFO: Acknowledgment sent {"connection_id":120130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:28:59] local.INFO: TCP Data received {"connection_id":120130,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e9ddcd0012cdc348007300568000500932c..."} 
[2026-07-01 22:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e9ddcd0012cdc348007300568000500932c..."} 
[2026-07-01 22:28:59] local.INFO: Processing buffer {"connection_id":120130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e9ddcd0012cdc348007300568000500932c..."} 
[2026-07-01 22:28:59] local.INFO: Packet analysis {"connection_id":120130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e9d"} 
[2026-07-01 22:28:59] local.INFO: Extracted packet for processing {"connection_id":120130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e9d"} 
[2026-07-01 22:28:59] local.INFO: GPS Element Parsed {"raw_longitude":752628864,"raw_latitude":120587624,"longitude_deg":75.2628864,"latitude_deg":12.0587624,"altitude":5,"angle":147,"satellites":44,"speed":48,"hex_longitude":"2cdc3480","hex_latitude":"07300568","is_valid_coordinates":true} 
[2026-07-01 22:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428820992001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334203581534044160,"note":"Value kept but may cause issues"} 
[2026-07-01 22:28:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2585277261470611456,"note":"Value kept but may cause issues"} 
[2026-07-01 22:28:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782925090000,"timestamp_ms":1782925090000,"timestamp_seconds":1782925090,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e9ddcd0"} 
[2026-07-01 22:28:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:28:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 22:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-01 22:28:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:28:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:28:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":120130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":120130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":120130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:28:59] 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-01 22:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428820992001,"66":27626,"95":206,"83":40960,"24":48,"16":334203581534044160,"44":-2585277261470611456},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,44]} 
[2026-07-01 22:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428820992001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:28:59] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-01 22:28:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 22:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334203581534044160,"km_value":334203581534044.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:28:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2585277261470611456,"description":"Unknown IO ID 44"} 
[2026-07-01 22:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428820992001,"power":27626,"unknown_95":206,"unknown_83":40960,"ignition":48,"odometer":null,"unknown_44":-2585277261470611456}} 
[2026-07-01 22:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":120130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:28:59] local.INFO: GPS data processed {"connection_id":120130,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:28:59] local.INFO: Acknowledgment sent {"connection_id":120130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:29:33] local.INFO: TCP Data received {"connection_id":120130,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e9dfc10012cdc47c0072fe740000600912a..."} 
[2026-07-01 22:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e9dfc10012cdc47c0072fe740000600912a..."} 
[2026-07-01 22:29:33] local.INFO: Processing buffer {"connection_id":120130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e9dfc10012cdc47c0072fe740000600912a..."} 
[2026-07-01 22:29:33] local.INFO: Packet analysis {"connection_id":120130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e9d"} 
[2026-07-01 22:29:33] local.INFO: Extracted packet for processing {"connection_id":120130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e9d"} 
[2026-07-01 22:29:33] local.INFO: GPS Element Parsed {"raw_longitude":752633792,"raw_latitude":120579904,"longitude_deg":75.2633792,"latitude_deg":12.0579904,"altitude":6,"angle":145,"satellites":42,"speed":42,"hex_longitude":"2cdc47c0","hex_latitude":"072fe740","is_valid_coordinates":true} 
[2026-07-01 22:29:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428823040001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334204023915675648,"note":"Value kept but may cause issues"} 
[2026-07-01 22:29:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2579295918217664512,"note":"Value kept but may cause issues"} 
[2026-07-01 22:29:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782925098000,"timestamp_ms":1782925098000,"timestamp_seconds":1782925098,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e9dfc10"} 
[2026-07-01 22:29:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:29: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-01 22:29:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-07-01 22:29:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:29:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:29:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":120130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":120130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":120130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:29:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 22:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428823040001,"66":27571,"95":206,"83":40960,"24":42,"16":334204023915675648,"44":-2579295918217664512},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,44]} 
[2026-07-01 22:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428823040001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:29:33] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-01 22:29:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 22:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334204023915675648,"km_value":334204023915675.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:29:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2579295918217664512,"description":"Unknown IO ID 44"} 
[2026-07-01 22:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428823040001,"power":27571,"unknown_95":206,"unknown_83":40960,"ignition":42,"odometer":null,"unknown_44":-2579295918217664512}} 
[2026-07-01 22:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":120130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:29:33] local.INFO: GPS data processed {"connection_id":120130,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:29:33] local.INFO: Acknowledgment sent {"connection_id":120130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:29:48] local.INFO: TCP Data received {"connection_id":119448,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:29:48] local.INFO: Processing buffer {"connection_id":119448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:29:48] local.INFO: IMEI packet received {"connection_id":119448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 22:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":119448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:29:53] local.INFO: TCP Data received {"connection_id":119448,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:29:53] local.INFO: Processing buffer {"connection_id":119448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:29:53] local.INFO: IMEI packet received {"connection_id":119448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":119448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:29:54] local.INFO: TCP Data received {"connection_id":119448,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e9e1f38012cdc5cc0072fc778000600932b..."} 
[2026-07-01 22:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e9e1f38012cdc5cc0072fc778000600932b..."} 
[2026-07-01 22:29:54] local.INFO: Processing buffer {"connection_id":119448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e9e1f38012cdc5cc0072fc778000600932b..."} 
[2026-07-01 22:29:54] local.INFO: Packet analysis {"connection_id":119448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e9e"} 
[2026-07-01 22:29:54] local.INFO: Extracted packet for processing {"connection_id":119448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e9e"} 
[2026-07-01 22:29:54] local.INFO: GPS Element Parsed {"raw_longitude":752639168,"raw_latitude":120571768,"longitude_deg":75.2639168,"latitude_deg":12.0571768,"altitude":6,"angle":147,"satellites":43,"speed":44,"hex_longitude":"2cdc5cc0","hex_latitude":"072fc778","is_valid_coordinates":true} 
[2026-07-01 22:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428825088001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334204492067110912,"note":"Value kept but may cause issues"} 
[2026-07-01 22:29:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2573877524917960704,"note":"Value kept but may cause issues"} 
[2026-07-01 22:29:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782925107000,"timestamp_ms":1782925107000,"timestamp_seconds":1782925107,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e9e1f38"} 
[2026-07-01 22:29:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:29: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-01 22:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-01 22:29:54] 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-01 22:29:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:29:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":119448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":119448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":119448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:29:54] 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-01 22:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428825088001,"66":27539,"95":206,"83":40960,"24":44,"16":334204492067110912,"44":-2573877524917960704},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,44]} 
[2026-07-01 22:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428825088001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:29:54] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-01 22:29:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 22:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334204492067110912,"km_value":334204492067110.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:29:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2573877524917960704,"description":"Unknown IO ID 44"} 
[2026-07-01 22:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428825088001,"power":27539,"unknown_95":206,"unknown_83":40960,"ignition":44,"odometer":null,"unknown_44":-2573877524917960704}} 
[2026-07-01 22:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":119448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:29:54] local.INFO: GPS data processed {"connection_id":119448,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:29:54] local.INFO: Acknowledgment sent {"connection_id":119448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:30:34] local.INFO: TCP Data received {"connection_id":119448,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e9e36a8012cdc6dc0072fb288000600882b..."} 
[2026-07-01 22:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e9e36a8012cdc6dc0072fb288000600882b..."} 
[2026-07-01 22:30:34] local.INFO: Processing buffer {"connection_id":119448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e9e36a8012cdc6dc0072fb288000600882b..."} 
[2026-07-01 22:30:34] local.INFO: Packet analysis {"connection_id":119448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e9e"} 
[2026-07-01 22:30:34] local.INFO: Extracted packet for processing {"connection_id":119448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e9e"} 
[2026-07-01 22:30:34] local.INFO: GPS Element Parsed {"raw_longitude":752643520,"raw_latitude":120566408,"longitude_deg":75.264352,"latitude_deg":12.0566408,"altitude":6,"angle":136,"satellites":43,"speed":46,"hex_longitude":"2cdc6dc0","hex_latitude":"072fb288","is_valid_coordinates":true} 
[2026-07-01 22: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-01 22:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428827392001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334204822779592704,"note":"Value kept but may cause issues"} 
[2026-07-01 22:30:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2567966550409119744,"note":"Value kept but may cause issues"} 
[2026-07-01 22:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1782925113000,"timestamp_ms":1782925113000,"timestamp_seconds":1782925113,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e9e36a8"} 
[2026-07-01 22: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-01 22:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 22: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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-01 22:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22: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-01 22: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-01 22:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":119448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":119448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":119448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:30:34] 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-01 22:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428827392001,"66":27300,"95":206,"83":40960,"24":46,"16":334204822779592704,"44":-2567966550409119744},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,83,24,16,44]} 
[2026-07-01 22:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428827392001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:30:34] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-07-01 22:30:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 22:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334204822779592704,"km_value":334204822779592.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:30:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2567966550409119744,"description":"Unknown IO ID 44"} 
[2026-07-01 22:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428827392001,"power":27300,"unknown_95":206,"unknown_83":40960,"ignition":46,"odometer":null,"unknown_44":-2567966550409119744}} 
[2026-07-01 22:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":119448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:30:34] local.INFO: GPS data processed {"connection_id":119448,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:30:34] local.INFO: Acknowledgment sent {"connection_id":119448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:31:44] local.INFO: TCP Data received {"connection_id":119450,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 22:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119450,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 22:31:44] local.INFO: Processing buffer {"connection_id":119450,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 22:31:44] local.INFO: IMEI packet received {"connection_id":119450,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 22:31:44] local.INFO: IMEI acknowledgment sent {"connection_id":119450,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:31:55] local.INFO: TCP Data received {"connection_id":119451,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:31:55] local.INFO: Processing buffer {"connection_id":119451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:31:55] local.INFO: IMEI packet received {"connection_id":119451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 22:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":119451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:31:55] local.INFO: TCP Data received {"connection_id":119451,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:31:55] local.INFO: Processing buffer {"connection_id":119451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:31:55] local.INFO: IMEI packet received {"connection_id":119451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":119451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:31:58] local.INFO: TCP Data received {"connection_id":119451,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:31:58] local.INFO: Processing buffer {"connection_id":119451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:31:58] local.INFO: IMEI packet received {"connection_id":119451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":119451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:31:59] local.INFO: TCP Data received {"connection_id":119451,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1e9fe070012cdcca00072ead48001f00c927..."} 
[2026-07-01 22:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1e9fe070012cdcca00072ead48001f00c927..."} 
[2026-07-01 22:31:59] local.INFO: Processing buffer {"connection_id":119451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1e9fe070012cdcca00072ead48001f00c927..."} 
[2026-07-01 22:31:59] local.INFO: Packet analysis {"connection_id":119451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1e9f"} 
[2026-07-01 22:31:59] local.INFO: Extracted packet for processing {"connection_id":119451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1e9f"} 
[2026-07-01 22:31:59] local.INFO: GPS Element Parsed {"raw_longitude":752667136,"raw_latitude":120499528,"longitude_deg":75.2667136,"latitude_deg":12.0499528,"altitude":31,"angle":201,"satellites":39,"speed":30,"hex_longitude":"2cdcca00","hex_latitude":"072ead48","is_valid_coordinates":true} 
[2026-07-01 22: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-01 22:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428855040001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334208529336369152,"note":"Value kept but may cause issues"} 
[2026-07-01 22:31:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2535667296848848896,"note":"Value kept but may cause issues"} 
[2026-07-01 22:31:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782925222000,"timestamp_ms":1782925222000,"timestamp_seconds":1782925222,"priority":1,"record_length":96,"hex_timestamp":"0000019f1e9fe070"} 
[2026-07-01 22: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-01 22:31: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-01 22: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-01 22:31:59] 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-01 22: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-01 22: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-01 22:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:31:59] 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-01 22:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428855040001,"66":27550,"27":206,"83":40960,"24":30,"16":334208529336369152,"44":-2535667296848848896},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,83,24,16,44]} 
[2026-07-01 22:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428855040001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:31:59] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-01 22:31:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 22:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334208529336369152,"km_value":334208529336369.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:31:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2535667296848848896,"description":"Unknown IO ID 44"} 
[2026-07-01 22:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428855040001,"power":27550,"unknown_27":206,"unknown_83":40960,"ignition":30,"odometer":null,"unknown_44":-2535667296848848896}} 
[2026-07-01 22:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":119451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:31:59] local.INFO: GPS data processed {"connection_id":119451,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:31:59] local.INFO: Acknowledgment sent {"connection_id":119451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:32:14] local.INFO: TCP Data received {"connection_id":121190,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 22:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121190,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 22:32:14] local.INFO: Processing buffer {"connection_id":121190,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 22:32:14] local.INFO: IMEI packet received {"connection_id":121190,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 22:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":121190,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:32:32] local.INFO: TCP Data received {"connection_id":119451,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ea00780012cdcba80072e8e00001b00cc29..."} 
[2026-07-01 22:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ea00780012cdcba80072e8e00001b00cc29..."} 
[2026-07-01 22:32:32] local.INFO: Processing buffer {"connection_id":119451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ea00780012cdcba80072e8e00001b00cc29..."} 
[2026-07-01 22:32:32] local.INFO: Packet analysis {"connection_id":119451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ea0"} 
[2026-07-01 22:32:32] local.INFO: Extracted packet for processing {"connection_id":119451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ea0"} 
[2026-07-01 22:32:32] local.INFO: GPS Element Parsed {"raw_longitude":752663168,"raw_latitude":120491520,"longitude_deg":75.2663168,"latitude_deg":12.049152,"altitude":27,"angle":204,"satellites":41,"speed":38,"hex_longitude":"2cdcba80","hex_latitude":"072e8e00","is_valid_coordinates":true} 
[2026-07-01 22:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428856832001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334208963128066048,"note":"Value kept but may cause issues"} 
[2026-07-01 22:32:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2537215409221974016,"note":"Value kept but may cause issues"} 
[2026-07-01 22:32:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782925232000,"timestamp_ms":1782925232000,"timestamp_seconds":1782925232,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ea00780"} 
[2026-07-01 22:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:32:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 22:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-01 22:32:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2155,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:32:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":119451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":119451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":119451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:32:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 22:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428856832001,"66":27604,"29":206,"83":40960,"24":38,"16":334208963128066048,"44":-2537215409221974016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,83,24,16,44]} 
[2026-07-01 22:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428856832001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:32:32] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-07-01 22:32:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 22:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334208963128066048,"km_value":334208963128066.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:32:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2537215409221974016,"description":"Unknown IO ID 44"} 
[2026-07-01 22:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428856832001,"power":27604,"unknown_29":206,"unknown_83":40960,"ignition":38,"odometer":null,"unknown_44":-2537215409221974016}} 
[2026-07-01 22:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":119451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:32:32] local.INFO: GPS data processed {"connection_id":119451,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:32:32] local.INFO: Acknowledgment sent {"connection_id":119451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:33:30] local.INFO: TCP Data received {"connection_id":121191,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:33:30] local.INFO: Processing buffer {"connection_id":121191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:33:30] local.INFO: IMEI packet received {"connection_id":121191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 22:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":121191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:33:33] local.INFO: TCP Data received {"connection_id":121191,"ip":"42.106.6.21","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 22:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121191,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 22:33:33] local.INFO: Processing buffer {"connection_id":121191,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 22:33:33] local.INFO: IMEI packet received {"connection_id":121191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":121191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:33:54] local.INFO: TCP Data received {"connection_id":121192,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:33:54] local.INFO: Processing buffer {"connection_id":121192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:33:54] local.INFO: IMEI packet received {"connection_id":121192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 22:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":121192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:37:34] local.INFO: TCP Data received {"connection_id":121194,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 22:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121194,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 22:37:34] local.INFO: Processing buffer {"connection_id":121194,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 22:37:34] local.INFO: IMEI packet received {"connection_id":121194,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 22:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":121194,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:38:15] local.INFO: TCP Data received {"connection_id":120134,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 22:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120134,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 22:38:15] local.INFO: Processing buffer {"connection_id":120134,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 22:38:15] local.INFO: IMEI packet received {"connection_id":120134,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 22:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":120134,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:38:59] local.INFO: TCP Data received {"connection_id":119454,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:38:59] local.INFO: Processing buffer {"connection_id":119454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:38:59] local.INFO: IMEI packet received {"connection_id":119454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 22:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":119454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:39:01] local.INFO: TCP Data received {"connection_id":119454,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ea650e0012cddf1800729ad200008008b27..."} 
[2026-07-01 22:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ea650e0012cddf1800729ad200008008b27..."} 
[2026-07-01 22:39:01] local.INFO: Processing buffer {"connection_id":119454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ea650e0012cddf1800729ad200008008b27..."} 
[2026-07-01 22:39:01] local.INFO: Packet analysis {"connection_id":119454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ea6"} 
[2026-07-01 22:39:01] local.INFO: Extracted packet for processing {"connection_id":119454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ea6"} 
[2026-07-01 22:39:01] local.INFO: GPS Element Parsed {"raw_longitude":752742784,"raw_latitude":120171808,"longitude_deg":75.2742784,"latitude_deg":12.0171808,"altitude":8,"angle":139,"satellites":39,"speed":36,"hex_longitude":"2cddf180","hex_latitude":"0729ad20","is_valid_coordinates":true} 
[2026-07-01 22:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:39:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428962304001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:39:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2461287534336284672,"note":"Value kept but may cause issues"} 
[2026-07-01 22:39:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334226413580189696,"note":"Value kept but may cause issues"} 
[2026-07-01 22:39:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-01 22:39:01] local.INFO: AVL Record Parsed {"raw_timestamp":1782925644000,"timestamp_ms":1782925644000,"timestamp_seconds":1782925644,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ea650e0"} 
[2026-07-01 22:39:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:39:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 22:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-01 22:39:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:39:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:39:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:39:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:39:01] local.INFO: Teltonika packet parsed successfully {"connection_id":119454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:39:01] local.INFO: Passing IMEI to GPS processor {"connection_id":119454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:39:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":119454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:39:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 22:39:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:39:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:39:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428962304001,"66":27604,"44":-2461287534336284672,"83":40960,"24":36,"16":334226413580189696},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,83,24,16]} 
[2026-07-01 22:39:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:39:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:39:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428962304001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:39:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2461287534336284672,"description":"Unknown IO ID 44"} 
[2026-07-01 22:39:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 22:39:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334226413580189696,"km_value":334226413580189.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:39:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456428962304001,"power":27604,"unknown_44":-2461287534336284672,"unknown_83":40960,"ignition":36,"odometer":null}} 
[2026-07-01 22:39:01] local.INFO: DEBUG: GPS processor result {"connection_id":119454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:39:01] local.INFO: GPS data processed {"connection_id":119454,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:39:01] local.INFO: Acknowledgment sent {"connection_id":119454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:39:32] local.INFO: TCP Data received {"connection_id":119454,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ea68f60012cde08c0072990d00008008c2c..."} 
[2026-07-01 22:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ea68f60012cde08c0072990d00008008c2c..."} 
[2026-07-01 22:39:32] local.INFO: Processing buffer {"connection_id":119454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ea68f60012cde08c0072990d00008008c2c..."} 
[2026-07-01 22:39:32] local.INFO: Packet analysis {"connection_id":119454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ea6"} 
[2026-07-01 22:39:32] local.INFO: Extracted packet for processing {"connection_id":119454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ea6"} 
[2026-07-01 22:39:32] local.INFO: GPS Element Parsed {"raw_longitude":752748736,"raw_latitude":120164560,"longitude_deg":75.2748736,"latitude_deg":12.016456,"altitude":8,"angle":140,"satellites":44,"speed":27,"hex_longitude":"2cde08c0","hex_latitude":"072990d0","is_valid_coordinates":true} 
[2026-07-01 22:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428964864001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334226864551755776,"note":"Value kept but may cause issues"} 
[2026-07-01 22:39:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2454039553687871488,"note":"Value kept but may cause issues"} 
[2026-07-01 22:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782925660000,"timestamp_ms":1782925660000,"timestamp_seconds":1782925660,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ea68f60"} 
[2026-07-01 22:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:39:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 22:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-01 22:39:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:39:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":119454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":119454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":119454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 22:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428964864001,"66":27321,"53":206,"83":40960,"24":27,"16":334226864551755776,"44":-2454039553687871488},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,83,24,16,44]} 
[2026-07-01 22:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428964864001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:39:32] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-01 22:39:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 22:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334226864551755776,"km_value":334226864551755.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:39:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2454039553687871488,"description":"Unknown IO ID 44"} 
[2026-07-01 22:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428964864001,"power":27321,"unknown_53":206,"unknown_83":40960,"ignition":27,"odometer":null,"unknown_44":-2454039553687871488}} 
[2026-07-01 22:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":119454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:39:32] local.INFO: GPS data processed {"connection_id":119454,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:39:32] local.INFO: Acknowledgment sent {"connection_id":119454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:39:48] local.INFO: TCP Data received {"connection_id":121195,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:39:48] local.INFO: Processing buffer {"connection_id":121195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:39:48] local.INFO: IMEI packet received {"connection_id":121195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 22:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":121195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:39:51] local.INFO: TCP Data received {"connection_id":121195,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:39:51] local.INFO: Processing buffer {"connection_id":121195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:39:51] local.INFO: IMEI packet received {"connection_id":121195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":121195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:39:54] local.INFO: TCP Data received {"connection_id":121195,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:39:54] local.INFO: Processing buffer {"connection_id":121195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:39:54] local.INFO: IMEI packet received {"connection_id":121195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":121195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:39:55] local.INFO: TCP Data received {"connection_id":121195,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ea6ba58012cde1f40072975280008008d2b..."} 
[2026-07-01 22:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ea6ba58012cde1f40072975280008008d2b..."} 
[2026-07-01 22:39:55] local.INFO: Processing buffer {"connection_id":121195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ea6ba58012cde1f40072975280008008d2b..."} 
[2026-07-01 22:39:55] local.INFO: Packet analysis {"connection_id":121195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ea6"} 
[2026-07-01 22:39:55] local.INFO: Extracted packet for processing {"connection_id":121195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ea6"} 
[2026-07-01 22:39:55] local.INFO: GPS Element Parsed {"raw_longitude":752754496,"raw_latitude":120157480,"longitude_deg":75.2754496,"latitude_deg":12.015748,"altitude":8,"angle":141,"satellites":43,"speed":37,"hex_longitude":"2cde1f40","hex_latitude":"07297528","is_valid_coordinates":true} 
[2026-07-01 22:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:39:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428968960001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:39:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334227302638419968,"note":"Value kept but may cause issues"} 
[2026-07-01 22:39:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2447495260481204224,"note":"Value kept but may cause issues"} 
[2026-07-01 22:39:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:39:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782925671000,"timestamp_ms":1782925671000,"timestamp_seconds":1782925671,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ea6ba58"} 
[2026-07-01 22:39:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:39:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 22:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-01 22:39:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:39:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:39:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:39:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:39:55] local.INFO: Teltonika packet parsed successfully {"connection_id":121195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:39:55] local.INFO: Passing IMEI to GPS processor {"connection_id":121195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:39:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":121195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:39:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 22:39:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:39:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:39:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428968960001,"66":27332,"53":206,"83":40960,"24":37,"16":334227302638419968,"44":-2447495260481204224},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,83,24,16,44]} 
[2026-07-01 22:39:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:39:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:39:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428968960001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:39:55] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-07-01 22:39:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 22:39:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334227302638419968,"km_value":334227302638419.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:39:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2447495260481204224,"description":"Unknown IO ID 44"} 
[2026-07-01 22:39:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428968960001,"power":27332,"unknown_53":206,"unknown_83":40960,"ignition":37,"odometer":null,"unknown_44":-2447495260481204224}} 
[2026-07-01 22:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":121195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:39:55] local.INFO: GPS data processed {"connection_id":121195,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:39:55] local.INFO: Acknowledgment sent {"connection_id":121195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:40:28] local.INFO: TCP Data received {"connection_id":121195,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ea83928012cdf204007283c68000900902c..."} 
[2026-07-01 22:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ea83928012cdf204007283c68000900902c..."} 
[2026-07-01 22:40:28] local.INFO: Processing buffer {"connection_id":121195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ea83928012cdf204007283c68000900902c..."} 
[2026-07-01 22:40:28] local.INFO: Packet analysis {"connection_id":121195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ea8"} 
[2026-07-01 22:40:28] local.INFO: Extracted packet for processing {"connection_id":121195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ea8"} 
[2026-07-01 22:40:28] local.INFO: GPS Element Parsed {"raw_longitude":752820288,"raw_latitude":120077416,"longitude_deg":75.2820288,"latitude_deg":12.0077416,"altitude":9,"angle":144,"satellites":44,"speed":51,"hex_longitude":"2cdf2040","hex_latitude":"07283c68","is_valid_coordinates":true} 
[2026-07-01 22: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-01 22:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428994816001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334232293390417920,"note":"Value kept but may cause issues"} 
[2026-07-01 22:40:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2374874716510113792,"note":"Value kept but may cause issues"} 
[2026-07-01 22:40:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782925769000,"timestamp_ms":1782925769000,"timestamp_seconds":1782925769,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ea83928"} 
[2026-07-01 22: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-01 22:40: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-01 22: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-01 22:40:28] 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-01 22: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-01 22: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-01 22:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":121195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":121195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":121195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:40:28] 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-01 22:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428994816001,"66":27300,"54":206,"83":40960,"24":51,"16":334232293390417920,"44":-2374874716510113792},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,83,24,16,44]} 
[2026-07-01 22:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428994816001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:40:28] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-07-01 22:40:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 22:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334232293390417920,"km_value":334232293390417.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:40:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2374874716510113792,"description":"Unknown IO ID 44"} 
[2026-07-01 22:40:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428994816001,"power":27300,"unknown_54":206,"unknown_83":40960,"ignition":51,"odometer":null,"unknown_44":-2374874716510113792}} 
[2026-07-01 22:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":121195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:40:28] local.INFO: GPS data processed {"connection_id":121195,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:40:28] local.INFO: Acknowledgment sent {"connection_id":121195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:41:10] local.INFO: TCP Data received {"connection_id":120136,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:41:10] local.INFO: Processing buffer {"connection_id":120136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:41:10] local.INFO: IMEI packet received {"connection_id":120136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 22:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":120136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:41:12] local.INFO: TCP Data received {"connection_id":120136,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:41:12] local.INFO: Processing buffer {"connection_id":120136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:41:12] local.INFO: IMEI packet received {"connection_id":120136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":120136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:41:13] local.INFO: TCP Data received {"connection_id":120136,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ea85480012cdf360007281fd00009008b2a..."} 
[2026-07-01 22:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ea85480012cdf360007281fd00009008b2a..."} 
[2026-07-01 22:41:13] local.INFO: Processing buffer {"connection_id":120136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ea85480012cdf360007281fd00009008b2a..."} 
[2026-07-01 22:41:13] local.INFO: Packet analysis {"connection_id":120136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ea8"} 
[2026-07-01 22:41:13] local.INFO: Extracted packet for processing {"connection_id":120136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ea8"} 
[2026-07-01 22:41:13] local.INFO: GPS Element Parsed {"raw_longitude":752825856,"raw_latitude":120070096,"longitude_deg":75.2825856,"latitude_deg":12.0070096,"altitude":9,"angle":139,"satellites":42,"speed":53,"hex_longitude":"2cdf3600","hex_latitude":"07281fd0","is_valid_coordinates":true} 
[2026-07-01 22:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428996864001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334232735772049408,"note":"Value kept but may cause issues"} 
[2026-07-01 22:41:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2368823004512884736,"note":"Value kept but may cause issues"} 
[2026-07-01 22:41:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1782925776000,"timestamp_ms":1782925776000,"timestamp_seconds":1782925776,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ea85480"} 
[2026-07-01 22:41:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:41:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 22:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-01 22:41:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:41:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:41:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":120136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":120136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":120136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:41: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-01 22:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428996864001,"66":27550,"54":206,"83":40960,"24":53,"16":334232735772049408,"44":-2368823004512884736},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,83,24,16,44]} 
[2026-07-01 22:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428996864001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:41:13] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-07-01 22:41:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 22:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334232735772049408,"km_value":334232735772049.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:41:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2368823004512884736,"description":"Unknown IO ID 44"} 
[2026-07-01 22:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428996864001,"power":27550,"unknown_54":206,"unknown_83":40960,"ignition":53,"odometer":null,"unknown_44":-2368823004512884736}} 
[2026-07-01 22:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":120136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:41:13] local.INFO: GPS data processed {"connection_id":120136,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:41:13] local.INFO: Acknowledgment sent {"connection_id":120136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:41:14] local.INFO: TCP Data received {"connection_id":120136,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ea86fd8012cdf4e00072802980009008f2b..."} 
[2026-07-01 22:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ea86fd8012cdf4e00072802980009008f2b..."} 
[2026-07-01 22:41:14] local.INFO: Processing buffer {"connection_id":120136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ea86fd8012cdf4e00072802980009008f2b..."} 
[2026-07-01 22:41:14] local.INFO: Packet analysis {"connection_id":120136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ea8"} 
[2026-07-01 22:41:14] local.INFO: Extracted packet for processing {"connection_id":120136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ea8"} 
[2026-07-01 22:41:14] local.INFO: GPS Element Parsed {"raw_longitude":752832000,"raw_latitude":120062616,"longitude_deg":75.2832,"latitude_deg":12.0062616,"altitude":9,"angle":143,"satellites":43,"speed":56,"hex_longitude":"2cdf4e00","hex_latitude":"07280298","is_valid_coordinates":true} 
[2026-07-01 22:41:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:41:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456428998656001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:41:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334233199628517376,"note":"Value kept but may cause issues"} 
[2026-07-01 22:41:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2362700923771301888,"note":"Value kept but may cause issues"} 
[2026-07-01 22:41:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:41:14] local.INFO: AVL Record Parsed {"raw_timestamp":1782925783000,"timestamp_ms":1782925783000,"timestamp_seconds":1782925783,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ea86fd8"} 
[2026-07-01 22:41:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:41:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 22:41:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-07-01 22:41:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2155,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:41:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:41:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:41:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:41:14] local.INFO: Teltonika packet parsed successfully {"connection_id":120136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:41:14] local.INFO: Passing IMEI to GPS processor {"connection_id":120136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:41:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":120136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:41: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-01 22:41:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:41:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:41:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456428998656001,"66":27626,"54":206,"83":40960,"24":56,"16":334233199628517376,"44":-2362700923771301888},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,83,24,16,44]} 
[2026-07-01 22:41:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:41:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:41:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456428998656001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:41:14] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-07-01 22:41:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":40960,"description":"Unknown IO ID 83"} 
[2026-07-01 22:41:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334233199628517376,"km_value":334233199628517.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:41:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2362700923771301888,"description":"Unknown IO ID 44"} 
[2026-07-01 22:41:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456428998656001,"power":27626,"unknown_54":206,"unknown_83":40960,"ignition":56,"odometer":null,"unknown_44":-2362700923771301888}} 
[2026-07-01 22:41:14] local.INFO: DEBUG: GPS processor result {"connection_id":120136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:41:14] local.INFO: GPS data processed {"connection_id":120136,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:41:14] local.INFO: Acknowledgment sent {"connection_id":120136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:41:48] local.INFO: TCP Data received {"connection_id":121197,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:41:48] local.INFO: Processing buffer {"connection_id":121197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:41:48] local.INFO: IMEI packet received {"connection_id":121197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 22:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":121197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:41:53] local.INFO: TCP Data received {"connection_id":121197,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:41:53] local.INFO: Processing buffer {"connection_id":121197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:41:53] local.INFO: IMEI packet received {"connection_id":121197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":121197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:41:54] local.INFO: TCP Data received {"connection_id":121197,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ea98530012ce036000726e650000700812b..."} 
[2026-07-01 22:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ea98530012ce036000726e650000700812b..."} 
[2026-07-01 22:41:54] local.INFO: Processing buffer {"connection_id":121197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ea98530012ce036000726e650000700812b..."} 
[2026-07-01 22:41:54] local.INFO: Packet analysis {"connection_id":121197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ea9"} 
[2026-07-01 22:41:54] local.INFO: Extracted packet for processing {"connection_id":121197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ea9"} 
[2026-07-01 22:41:54] local.INFO: GPS Element Parsed {"raw_longitude":752891392,"raw_latitude":119989840,"longitude_deg":75.2891392,"latitude_deg":11.998984,"altitude":7,"angle":129,"satellites":43,"speed":51,"hex_longitude":"2ce03600","hex_latitude":"0726e650","is_valid_coordinates":true} 
[2026-07-01 22:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:41:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429018624001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:41:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334237717934112768,"note":"Value kept but may cause issues"} 
[2026-07-01 22:41:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2290643329753919488,"note":"Value kept but may cause issues"} 
[2026-07-01 22:41:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:41:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782925854000,"timestamp_ms":1782925854000,"timestamp_seconds":1782925854,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ea98530"} 
[2026-07-01 22:41:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:41: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-01 22:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-01 22:41:54] 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-01 22:41:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:41:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:41:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:41:54] local.INFO: Teltonika packet parsed successfully {"connection_id":121197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:41:54] local.INFO: Passing IMEI to GPS processor {"connection_id":121197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:41:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":121197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:41:54] 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-01 22:41:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:41:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:41:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429018624001,"66":27593,"151":206,"83":43008,"24":51,"16":334237717934112768,"44":-2290643329753919488},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,83,24,16,44]} 
[2026-07-01 22:41:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:41:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:41:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429018624001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:41:54] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-07-01 22:41:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-01 22:41:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334237717934112768,"km_value":334237717934112.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:41:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2290643329753919488,"description":"Unknown IO ID 44"} 
[2026-07-01 22:41:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429018624001,"power":27593,"unknown_151":206,"unknown_83":43008,"ignition":51,"odometer":null,"unknown_44":-2290643329753919488}} 
[2026-07-01 22:41:54] local.INFO: DEBUG: GPS processor result {"connection_id":121197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:41:54] local.INFO: GPS data processed {"connection_id":121197,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:41:54] local.INFO: Acknowledgment sent {"connection_id":121197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:42:25] local.INFO: TCP Data received {"connection_id":121197,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ea990e8012ce042c00726de48000600732a..."} 
[2026-07-01 22:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ea990e8012ce042c00726de48000600732a..."} 
[2026-07-01 22:42:25] local.INFO: Processing buffer {"connection_id":121197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ea990e8012ce042c00726de48000600732a..."} 
[2026-07-01 22:42:25] local.INFO: Packet analysis {"connection_id":121197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ea9"} 
[2026-07-01 22:42:25] local.INFO: Extracted packet for processing {"connection_id":121197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ea9"} 
[2026-07-01 22:42:25] local.INFO: GPS Element Parsed {"raw_longitude":752894656,"raw_latitude":119987784,"longitude_deg":75.2894656,"latitude_deg":11.9987784,"altitude":6,"angle":115,"satellites":42,"speed":50,"hex_longitude":"2ce042c0","hex_latitude":"0726de48","is_valid_coordinates":true} 
[2026-07-01 22:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429018624001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334237906912673792,"note":"Value kept but may cause issues"} 
[2026-07-01 22:42:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2290643329753919488,"note":"Value kept but may cause issues"} 
[2026-07-01 22:42:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782925857000,"timestamp_ms":1782925857000,"timestamp_seconds":1782925857,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ea990e8"} 
[2026-07-01 22:42:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:42:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 22:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-01 22:42:25] 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-01 22:42:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:42:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":121197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":121197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":121197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:42:25] 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-01 22:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429018624001,"66":27300,"151":206,"83":43008,"24":50,"16":334237906912673792,"44":-2290643329753919488},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,83,24,16,44]} 
[2026-07-01 22:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429018624001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:42:25] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-07-01 22:42:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-01 22:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334237906912673792,"km_value":334237906912673.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:42:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2290643329753919488,"description":"Unknown IO ID 44"} 
[2026-07-01 22:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429018624001,"power":27300,"unknown_151":206,"unknown_83":43008,"ignition":50,"odometer":null,"unknown_44":-2290643329753919488}} 
[2026-07-01 22:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":121197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:42:25] local.INFO: GPS data processed {"connection_id":121197,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:42:25] local.INFO: Acknowledgment sent {"connection_id":121197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:42:48] local.INFO: TCP Data received {"connection_id":119456,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:42:48] local.INFO: Processing buffer {"connection_id":119456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:42:48] local.INFO: IMEI packet received {"connection_id":119456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 22:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":119456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:42:49] local.INFO: TCP Data received {"connection_id":119456,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:42:49] local.INFO: Processing buffer {"connection_id":119456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:42:49] local.INFO: IMEI packet received {"connection_id":119456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":119456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:42:54] local.INFO: TCP Data received {"connection_id":119456,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:42:54] local.INFO: Processing buffer {"connection_id":119456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:42:54] local.INFO: IMEI packet received {"connection_id":119456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":119456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:42:54] local.INFO: TCP Data received {"connection_id":119456,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ea99ca0012ce051000726d9b00006006529..."} 
[2026-07-01 22:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ea99ca0012ce051000726d9b00006006529..."} 
[2026-07-01 22:42:54] local.INFO: Processing buffer {"connection_id":119456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ea99ca0012ce051000726d9b00006006529..."} 
[2026-07-01 22:42:54] local.INFO: Packet analysis {"connection_id":119456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ea9"} 
[2026-07-01 22:42:54] local.INFO: Extracted packet for processing {"connection_id":119456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ea9"} 
[2026-07-01 22:42:54] local.INFO: GPS Element Parsed {"raw_longitude":752898304,"raw_latitude":119986608,"longitude_deg":75.2898304,"latitude_deg":11.9986608,"altitude":6,"angle":101,"satellites":41,"speed":48,"hex_longitude":"2ce05100","hex_latitude":"0726d9b0","is_valid_coordinates":true} 
[2026-07-01 22:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:42:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429019392001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:42:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334238087301300224,"note":"Value kept but may cause issues"} 
[2026-07-01 22:42:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2287054523801384960,"note":"Value kept but may cause issues"} 
[2026-07-01 22:42:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:42:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782925860000,"timestamp_ms":1782925860000,"timestamp_seconds":1782925860,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ea99ca0"} 
[2026-07-01 22:42:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:42: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-01 22:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-01 22:42:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:42:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:42:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:42:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:42:54] local.INFO: Teltonika packet parsed successfully {"connection_id":119456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:42:54] local.INFO: Passing IMEI to GPS processor {"connection_id":119456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:42:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":119456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:42:54] 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-01 22:42:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:42:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:42:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429019392001,"66":27300,"151":206,"83":43008,"24":48,"16":334238087301300224,"44":-2287054523801384960},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,83,24,16,44]} 
[2026-07-01 22:42:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:42:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:42:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429019392001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:42:54] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-07-01 22:42:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-01 22:42:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334238087301300224,"km_value":334238087301300.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:42:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2287054523801384960,"description":"Unknown IO ID 44"} 
[2026-07-01 22:42:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429019392001,"power":27300,"unknown_151":206,"unknown_83":43008,"ignition":48,"odometer":null,"unknown_44":-2287054523801384960}} 
[2026-07-01 22:42:54] local.INFO: DEBUG: GPS processor result {"connection_id":119456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:42:54] local.INFO: GPS data processed {"connection_id":119456,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:42:54] local.INFO: Acknowledgment sent {"connection_id":119456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:43:25] local.INFO: TCP Data received {"connection_id":119456,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eab0018012ce2004007263de0000b006a29..."} 
[2026-07-01 22:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eab0018012ce2004007263de0000b006a29..."} 
[2026-07-01 22:43:25] local.INFO: Processing buffer {"connection_id":119456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1eab0018012ce2004007263de0000b006a29..."} 
[2026-07-01 22:43:25] local.INFO: Packet analysis {"connection_id":119456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eab"} 
[2026-07-01 22:43:25] local.INFO: Extracted packet for processing {"connection_id":119456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eab"} 
[2026-07-01 22:43:25] local.INFO: GPS Element Parsed {"raw_longitude":753008704,"raw_latitude":119946720,"longitude_deg":75.3008704,"latitude_deg":11.994672,"altitude":11,"angle":106,"satellites":41,"speed":53,"hex_longitude":"2ce20040","hex_latitude":"07263de0","is_valid_coordinates":true} 
[2026-07-01 22:43:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:43:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429041664001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:43:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334243752363163648,"note":"Value kept but may cause issues"} 
[2026-07-01 22:43:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2171579414615650304,"note":"Value kept but may cause issues"} 
[2026-07-01 22:43:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:43:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782925951000,"timestamp_ms":1782925951000,"timestamp_seconds":1782925951,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eab0018"} 
[2026-07-01 22:43:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:43: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-01 22:43:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-01 22:43:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:43:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:43:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:43:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:43:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:43:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:43:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:43:25] 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-01 22:43:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:43:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:43:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429041664001,"66":27397,"149":206,"83":43008,"24":53,"16":334243752363163648,"44":-2171579414615650304},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-07-01 22:43:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:43:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:43:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429041664001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:43:25] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-01 22:43:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-01 22:43:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334243752363163648,"km_value":334243752363163.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:43:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2171579414615650304,"description":"Unknown IO ID 44"} 
[2026-07-01 22:43:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429041664001,"power":27397,"unknown_149":206,"unknown_83":43008,"ignition":53,"odometer":null,"unknown_44":-2171579414615650304}} 
[2026-07-01 22:43:26] local.INFO: DEBUG: GPS processor result {"connection_id":119456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:43:26] local.INFO: GPS data processed {"connection_id":119456,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:43:26] local.INFO: Acknowledgment sent {"connection_id":119456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:43:50] local.INFO: TCP Data received {"connection_id":120137,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 22:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120137,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 22:43:50] local.INFO: Processing buffer {"connection_id":120137,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 22:43:50] local.INFO: IMEI packet received {"connection_id":120137,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 22:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":120137,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:43:50] local.INFO: TCP Data received {"connection_id":121198,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:43:50] local.INFO: Processing buffer {"connection_id":121198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:43:50] local.INFO: IMEI packet received {"connection_id":121198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 22:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":121198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:43:53] local.INFO: TCP Data received {"connection_id":121198,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:43:53] local.INFO: Processing buffer {"connection_id":121198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:43:53] local.INFO: IMEI packet received {"connection_id":121198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":121198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:43:54] local.INFO: TCP Data received {"connection_id":121198,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:43:54] local.INFO: Processing buffer {"connection_id":121198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:43:54] local.INFO: IMEI packet received {"connection_id":121198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":121198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:43:55] local.INFO: TCP Data received {"connection_id":121198,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eab1b70012ce2248007263238000b006c28..."} 
[2026-07-01 22:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eab1b70012ce2248007263238000b006c28..."} 
[2026-07-01 22:43:55] local.INFO: Processing buffer {"connection_id":121198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1eab1b70012ce2248007263238000b006c28..."} 
[2026-07-01 22:43:55] local.INFO: Packet analysis {"connection_id":121198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eab"} 
[2026-07-01 22:43:55] local.INFO: Extracted packet for processing {"connection_id":121198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eab"} 
[2026-07-01 22:43:55] local.INFO: GPS Element Parsed {"raw_longitude":753017984,"raw_latitude":119943736,"longitude_deg":75.3017984,"latitude_deg":11.9943736,"altitude":11,"angle":108,"satellites":40,"speed":54,"hex_longitude":"2ce22480","hex_latitude":"07263238","is_valid_coordinates":true} 
[2026-07-01 22:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429043456001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334244211924664320,"note":"Value kept but may cause issues"} 
[2026-07-01 22:43:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2161657421687300096,"note":"Value kept but may cause issues"} 
[2026-07-01 22:43:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782925958000,"timestamp_ms":1782925958000,"timestamp_seconds":1782925958,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eab1b70"} 
[2026-07-01 22:43:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:43:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 22:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-01 22:43:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:43:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:43:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":121198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":121198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":121198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:43:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 22:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429043456001,"66":27234,"149":206,"83":43008,"24":54,"16":334244211924664320,"44":-2161657421687300096},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-07-01 22:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429043456001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:43:55] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-01 22:43:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-01 22:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334244211924664320,"km_value":334244211924664.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:43:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2161657421687300096,"description":"Unknown IO ID 44"} 
[2026-07-01 22:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429043456001,"power":27234,"unknown_149":206,"unknown_83":43008,"ignition":54,"odometer":null,"unknown_44":-2161657421687300096}} 
[2026-07-01 22:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":121198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:43:55] local.INFO: GPS data processed {"connection_id":121198,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:43:55] local.INFO: Acknowledgment sent {"connection_id":121198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:43:59] local.INFO: TCP Data received {"connection_id":121198,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eab36c8012ce24900072626c8000b006927..."} 
[2026-07-01 22:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eab36c8012ce24900072626c8000b006927..."} 
[2026-07-01 22:43:59] local.INFO: Processing buffer {"connection_id":121198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1eab36c8012ce24900072626c8000b006927..."} 
[2026-07-01 22:43:59] local.INFO: Packet analysis {"connection_id":121198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eab"} 
[2026-07-01 22:43:59] local.INFO: Extracted packet for processing {"connection_id":121198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eab"} 
[2026-07-01 22:43:59] local.INFO: GPS Element Parsed {"raw_longitude":753027328,"raw_latitude":119940808,"longitude_deg":75.3027328,"latitude_deg":11.9940808,"altitude":11,"angle":105,"satellites":39,"speed":55,"hex_longitude":"2ce24900","hex_latitude":"072626c8","is_valid_coordinates":true} 
[2026-07-01 22: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-01 22:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429045248001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:43:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334244680076099584,"note":"Value kept but may cause issues"} 
[2026-07-01 22:43:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2151453953782302720,"note":"Value kept but may cause issues"} 
[2026-07-01 22:43:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:43:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782925965000,"timestamp_ms":1782925965000,"timestamp_seconds":1782925965,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eab36c8"} 
[2026-07-01 22: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-01 22:43: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-01 22: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-01 22:43:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22: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-01 22: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-01 22:43:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:43:59] local.INFO: Teltonika packet parsed successfully {"connection_id":121198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:43:59] local.INFO: Passing IMEI to GPS processor {"connection_id":121198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:43:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":121198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:43:59] 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-01 22:43:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:43:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:43:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429045248001,"66":27321,"149":206,"83":43008,"24":55,"16":334244680076099584,"44":-2151453953782302720},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,83,24,16,44]} 
[2026-07-01 22:43:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:43:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:43:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429045248001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:43:59] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-07-01 22:43:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-01 22:43:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334244680076099584,"km_value":334244680076099.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:43:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2151453953782302720,"description":"Unknown IO ID 44"} 
[2026-07-01 22:43:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429045248001,"power":27321,"unknown_149":206,"unknown_83":43008,"ignition":55,"odometer":null,"unknown_44":-2151453953782302720}} 
[2026-07-01 22:43:59] local.INFO: DEBUG: GPS processor result {"connection_id":121198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:43:59] local.INFO: GPS data processed {"connection_id":121198,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:43:59] local.INFO: Acknowledgment sent {"connection_id":121198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:44:14] local.INFO: TCP Data received {"connection_id":120138,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 22:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120138,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 22:44:14] local.INFO: Processing buffer {"connection_id":120138,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 22:44:14] local.INFO: IMEI packet received {"connection_id":120138,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 22:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":120138,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:44:30] local.INFO: TCP Data received {"connection_id":121198,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eab5220012ce26dc007261c50000c006d27..."} 
[2026-07-01 22:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eab5220012ce26dc007261c50000c006d27..."} 
[2026-07-01 22:44:30] local.INFO: Processing buffer {"connection_id":121198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1eab5220012ce26dc007261c50000c006d27..."} 
[2026-07-01 22:44:30] local.INFO: Packet analysis {"connection_id":121198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eab"} 
[2026-07-01 22:44:30] local.INFO: Extracted packet for processing {"connection_id":121198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eab"} 
[2026-07-01 22:44:30] local.INFO: GPS Element Parsed {"raw_longitude":753036736,"raw_latitude":119938128,"longitude_deg":75.3036736,"latitude_deg":11.9938128,"altitude":12,"angle":109,"satellites":39,"speed":54,"hex_longitude":"2ce26dc0","hex_latitude":"07261c50","is_valid_coordinates":true} 
[2026-07-01 22:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429047040001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334245143932567552,"note":"Value kept but may cause issues"} 
[2026-07-01 22:44:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2141180117133113344,"note":"Value kept but may cause issues"} 
[2026-07-01 22:44:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782925972000,"timestamp_ms":1782925972000,"timestamp_seconds":1782925972,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eab5220"} 
[2026-07-01 22:44:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:44:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 22:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-01 22:44:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:44:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:44:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":121198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":121198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":121198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:44:30] 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-01 22:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429047040001,"66":27332,"87":206,"83":43008,"24":54,"16":334245143932567552,"44":-2141180117133113344},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-07-01 22:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429047040001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:44:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-07-01 22:44:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-01 22:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334245143932567552,"km_value":334245143932567.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:44:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2141180117133113344,"description":"Unknown IO ID 44"} 
[2026-07-01 22:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429047040001,"power":27332,"unknown_87":206,"unknown_83":43008,"ignition":54,"odometer":null,"unknown_44":-2141180117133113344}} 
[2026-07-01 22:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":121198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:44:30] local.INFO: GPS data processed {"connection_id":121198,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:44:30] local.INFO: Acknowledgment sent {"connection_id":121198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:44:49] local.INFO: TCP Data received {"connection_id":120139,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:44:49] local.INFO: Processing buffer {"connection_id":120139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:44:49] local.INFO: IMEI packet received {"connection_id":120139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 22:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":120139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:44:52] local.INFO: TCP Data received {"connection_id":120139,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:44:52] local.INFO: Processing buffer {"connection_id":120139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:44:52] local.INFO: IMEI packet received {"connection_id":120139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":120139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:44:52] local.INFO: TCP Data received {"connection_id":120139,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eab6d78012ce2928007261050000a006d27..."} 
[2026-07-01 22:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eab6d78012ce2928007261050000a006d27..."} 
[2026-07-01 22:44:52] local.INFO: Processing buffer {"connection_id":120139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1eab6d78012ce2928007261050000a006d27..."} 
[2026-07-01 22:44:52] local.INFO: Packet analysis {"connection_id":120139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eab"} 
[2026-07-01 22:44:52] local.INFO: Extracted packet for processing {"connection_id":120139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eab"} 
[2026-07-01 22:44:52] local.INFO: GPS Element Parsed {"raw_longitude":753046144,"raw_latitude":119935056,"longitude_deg":75.3046144,"latitude_deg":11.9935056,"altitude":10,"angle":109,"satellites":39,"speed":56,"hex_longitude":"2ce29280","hex_latitude":"07261050","is_valid_coordinates":true} 
[2026-07-01 22: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-01 22:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429048832001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334245612084002816,"note":"Value kept but may cause issues"} 
[2026-07-01 22:44:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2130835911739682816,"note":"Value kept but may cause issues"} 
[2026-07-01 22:44:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782925979000,"timestamp_ms":1782925979000,"timestamp_seconds":1782925979,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eab6d78"} 
[2026-07-01 22:44:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:44:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 22:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-01 22:44:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:44:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:44:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":120139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":120139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":120139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:44:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 22:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429048832001,"66":27213,"87":206,"83":43008,"24":56,"16":334245612084002816,"44":-2130835911739682816},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-07-01 22:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429048832001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:44:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-07-01 22:44:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-01 22:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334245612084002816,"km_value":334245612084002.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:44:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2130835911739682816,"description":"Unknown IO ID 44"} 
[2026-07-01 22:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429048832001,"power":27213,"unknown_87":206,"unknown_83":43008,"ignition":56,"odometer":null,"unknown_44":-2130835911739682816}} 
[2026-07-01 22:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":120139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:44:52] local.INFO: GPS data processed {"connection_id":120139,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:44:52] local.INFO: Acknowledgment sent {"connection_id":120139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:44:54] local.INFO: TCP Data received {"connection_id":120139,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eab88d0012ce2b840072602980009006e28..."} 
[2026-07-01 22:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eab88d0012ce2b840072602980009006e28..."} 
[2026-07-01 22:44:54] local.INFO: Processing buffer {"connection_id":120139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1eab88d0012ce2b840072602980009006e28..."} 
[2026-07-01 22:44:54] local.INFO: Packet analysis {"connection_id":120139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eab"} 
[2026-07-01 22:44:54] local.INFO: Extracted packet for processing {"connection_id":120139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eab"} 
[2026-07-01 22:44:54] local.INFO: GPS Element Parsed {"raw_longitude":753055808,"raw_latitude":119931544,"longitude_deg":75.3055808,"latitude_deg":11.9931544,"altitude":9,"angle":110,"satellites":40,"speed":57,"hex_longitude":"2ce2b840","hex_latitude":"07260298","is_valid_coordinates":true} 
[2026-07-01 22:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429050624001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334246101710274560,"note":"Value kept but may cause issues"} 
[2026-07-01 22:44:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2120491706346352640,"note":"Value kept but may cause issues"} 
[2026-07-01 22:44:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782925986000,"timestamp_ms":1782925986000,"timestamp_seconds":1782925986,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eab88d0"} 
[2026-07-01 22: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-01 22:44: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-01 22: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-07-01 22:44:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22: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-01 22: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-01 22:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":120139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":120139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":120139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:44:54] 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-01 22:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429050624001,"66":27571,"87":206,"83":43008,"24":57,"16":334246101710274560,"44":-2120491706346352640},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-07-01 22:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429050624001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:44:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-07-01 22:44:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-01 22:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334246101710274560,"km_value":334246101710274.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:44:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2120491706346352640,"description":"Unknown IO ID 44"} 
[2026-07-01 22:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429050624001,"power":27571,"unknown_87":206,"unknown_83":43008,"ignition":57,"odometer":null,"unknown_44":-2120491706346352640}} 
[2026-07-01 22:44:54] local.INFO: DEBUG: GPS processor result {"connection_id":120139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:44:54] local.INFO: GPS data processed {"connection_id":120139,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:44:54] local.INFO: Acknowledgment sent {"connection_id":120139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:45:29] local.INFO: TCP Data received {"connection_id":120139,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eaba040012ce2d7400725f4880008007929..."} 
[2026-07-01 22:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eaba040012ce2d7400725f4880008007929..."} 
[2026-07-01 22:45:29] local.INFO: Processing buffer {"connection_id":120139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1eaba040012ce2d7400725f4880008007929..."} 
[2026-07-01 22:45:29] local.INFO: Packet analysis {"connection_id":120139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eab"} 
[2026-07-01 22:45:29] local.INFO: Extracted packet for processing {"connection_id":120139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eab"} 
[2026-07-01 22:45:29] local.INFO: GPS Element Parsed {"raw_longitude":753063744,"raw_latitude":119927944,"longitude_deg":75.3063744,"latitude_deg":11.9927944,"altitude":8,"angle":121,"satellites":41,"speed":56,"hex_longitude":"2ce2d740","hex_latitude":"0725f488","is_valid_coordinates":true} 
[2026-07-01 22: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-01 22:45:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429052416001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:45:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334246518322102272,"note":"Value kept but may cause issues"} 
[2026-07-01 22:45:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2109866025976424448,"note":"Value kept but may cause issues"} 
[2026-07-01 22:45:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:45:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782925992000,"timestamp_ms":1782925992000,"timestamp_seconds":1782925992,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eaba040"} 
[2026-07-01 22: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-01 22:45:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 22: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-01 22:45:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22: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-01 22: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-01 22:45:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:45:29] local.INFO: Teltonika packet parsed successfully {"connection_id":120139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:45:29] local.INFO: Passing IMEI to GPS processor {"connection_id":120139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:45:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":120139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:45:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 22:45:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:45:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:45:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429052416001,"66":27539,"86":206,"83":43008,"24":56,"16":334246518322102272,"44":-2109866025976424448},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,83,24,16,44]} 
[2026-07-01 22:45:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:45:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:45:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429052416001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:45:29] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-01 22:45:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-01 22:45:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334246518322102272,"km_value":334246518322102.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:45:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2109866025976424448,"description":"Unknown IO ID 44"} 
[2026-07-01 22:45:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429052416001,"power":27539,"unknown_86":206,"unknown_83":43008,"ignition":56,"odometer":null,"unknown_44":-2109866025976424448}} 
[2026-07-01 22:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":120139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:45:29] local.INFO: GPS data processed {"connection_id":120139,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:45:29] local.INFO: Acknowledgment sent {"connection_id":120139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:45:49] local.INFO: TCP Data received {"connection_id":119344,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:45:49] local.INFO: Processing buffer {"connection_id":119344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:45:49] local.INFO: IMEI packet received {"connection_id":119344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 22:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":119344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:45:53] local.INFO: TCP Data received {"connection_id":119344,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:45:53] local.INFO: Processing buffer {"connection_id":119344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:45:53] local.INFO: IMEI packet received {"connection_id":119344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":119344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:45:54] local.INFO: TCP Data received {"connection_id":119344,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eacfbe8012ce3bcc00724d360000b008b2c..."} 
[2026-07-01 22:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eacfbe8012ce3bcc00724d360000b008b2c..."} 
[2026-07-01 22:45:54] local.INFO: Processing buffer {"connection_id":119344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1eacfbe8012ce3bcc00724d360000b008b2c..."} 
[2026-07-01 22:45:54] local.INFO: Packet analysis {"connection_id":119344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eac"} 
[2026-07-01 22:45:54] local.INFO: Extracted packet for processing {"connection_id":119344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eac"} 
[2026-07-01 22:45:54] local.INFO: GPS Element Parsed {"raw_longitude":753122496,"raw_latitude":119853920,"longitude_deg":75.3122496,"latitude_deg":11.985392,"altitude":11,"angle":139,"satellites":44,"speed":37,"hex_longitude":"2ce3bcc0","hex_latitude":"0724d360","is_valid_coordinates":true} 
[2026-07-01 22:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:45:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429074176001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:45:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334251083872337920,"note":"Value kept but may cause issues"} 
[2026-07-01 22:45:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2043156456514011136,"note":"Value kept but may cause issues"} 
[2026-07-01 22:45:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:45:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782926081000,"timestamp_ms":1782926081000,"timestamp_seconds":1782926081,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eacfbe8"} 
[2026-07-01 22:45:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:45: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-01 22:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-01 22:45:54] 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-01 22:45:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:45:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:45:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:45:54] local.INFO: Teltonika packet parsed successfully {"connection_id":119344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:45:54] local.INFO: Passing IMEI to GPS processor {"connection_id":119344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:45:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":119344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:45:54] 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-01 22:45:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:45:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429074176001,"66":27571,"86":206,"83":43008,"24":37,"16":334251083872337920,"44":-2043156456514011136},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,83,24,16,44]} 
[2026-07-01 22:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429074176001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:45:54] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-07-01 22:45:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-01 22:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334251083872337920,"km_value":334251083872337.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:45:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2043156456514011136,"description":"Unknown IO ID 44"} 
[2026-07-01 22:45:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429074176001,"power":27571,"unknown_86":206,"unknown_83":43008,"ignition":37,"odometer":null,"unknown_44":-2043156456514011136}} 
[2026-07-01 22:45:54] local.INFO: DEBUG: GPS processor result {"connection_id":119344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:45:54] local.INFO: GPS data processed {"connection_id":119344,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:45:54] local.INFO: Acknowledgment sent {"connection_id":119344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:46:25] local.INFO: TCP Data received {"connection_id":119344,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ead22f8012ce3d4400724b768000c008d29..."} 
[2026-07-01 22:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ead22f8012ce3d4400724b768000c008d29..."} 
[2026-07-01 22:46:25] local.INFO: Processing buffer {"connection_id":119344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ead22f8012ce3d4400724b768000c008d29..."} 
[2026-07-01 22:46:25] local.INFO: Packet analysis {"connection_id":119344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ead"} 
[2026-07-01 22:46:25] local.INFO: Extracted packet for processing {"connection_id":119344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ead"} 
[2026-07-01 22:46:25] local.INFO: GPS Element Parsed {"raw_longitude":753128512,"raw_latitude":119846760,"longitude_deg":75.3128512,"latitude_deg":11.984676,"altitude":12,"angle":141,"satellites":41,"speed":33,"hex_longitude":"2ce3d440","hex_latitude":"0724b768","is_valid_coordinates":true} 
[2026-07-01 22:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429076736001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334251530548936704,"note":"Value kept but may cause issues"} 
[2026-07-01 22:46:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2036541794563170304,"note":"Value kept but may cause issues"} 
[2026-07-01 22:46:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782926091000,"timestamp_ms":1782926091000,"timestamp_seconds":1782926091,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ead22f8"} 
[2026-07-01 22:46:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:46: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-01 22:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-01 22:46:25] 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-01 22:46:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:46:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:46:25] 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-01 22:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429076736001,"66":27484,"89":206,"83":43008,"24":33,"16":334251530548936704,"44":-2036541794563170304},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-07-01 22:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429076736001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:46:25] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 22:46:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-01 22:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334251530548936704,"km_value":334251530548936.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:46:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2036541794563170304,"description":"Unknown IO ID 44"} 
[2026-07-01 22:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429076736001,"power":27484,"unknown_89":206,"unknown_83":43008,"ignition":33,"odometer":null,"unknown_44":-2036541794563170304}} 
[2026-07-01 22:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":119344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:46:25] local.INFO: GPS data processed {"connection_id":119344,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:46:25] local.INFO: Acknowledgment sent {"connection_id":119344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:46:53] local.INFO: TCP Data received {"connection_id":119345,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:46:53] local.INFO: Processing buffer {"connection_id":119345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:46:53] local.INFO: IMEI packet received {"connection_id":119345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 22:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":119345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:46:54] local.INFO: TCP Data received {"connection_id":119345,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:46:54] local.INFO: Processing buffer {"connection_id":119345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:46:54] local.INFO: IMEI packet received {"connection_id":119345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":119345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:46:59] local.INFO: TCP Data received {"connection_id":119345,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:46:59] local.INFO: Processing buffer {"connection_id":119345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:46:59] local.INFO: IMEI packet received {"connection_id":119345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":119345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:46:59] local.INFO: TCP Data received {"connection_id":119345,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ead4df0012ce3eb0007249c00000a008d28..."} 
[2026-07-01 22:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ead4df0012ce3eb0007249c00000a008d28..."} 
[2026-07-01 22:46:59] local.INFO: Processing buffer {"connection_id":119345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ead4df0012ce3eb0007249c00000a008d28..."} 
[2026-07-01 22:46:59] local.INFO: Packet analysis {"connection_id":119345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ead"} 
[2026-07-01 22:46:59] local.INFO: Extracted packet for processing {"connection_id":119345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ead"} 
[2026-07-01 22:46:59] local.INFO: GPS Element Parsed {"raw_longitude":753134336,"raw_latitude":119839744,"longitude_deg":75.3134336,"latitude_deg":11.9839744,"altitude":10,"angle":141,"satellites":40,"speed":33,"hex_longitude":"2ce3eb00","hex_latitude":"07249c00","is_valid_coordinates":true} 
[2026-07-01 22:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429079296001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334251968635600896,"note":"Value kept but may cause issues"} 
[2026-07-01 22:46:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2029927132612302848,"note":"Value kept but may cause issues"} 
[2026-07-01 22:46:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782926102000,"timestamp_ms":1782926102000,"timestamp_seconds":1782926102,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ead4df0"} 
[2026-07-01 22:46:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:46: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-01 22:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 22:46:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:46:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:46:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:46:59] 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-01 22:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429079296001,"66":27539,"89":206,"83":43008,"24":33,"16":334251968635600896,"44":-2029927132612302848},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,83,24,16,44]} 
[2026-07-01 22:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429079296001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:46:59] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-07-01 22:46:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-01 22:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334251968635600896,"km_value":334251968635600.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:46:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2029927132612302848,"description":"Unknown IO ID 44"} 
[2026-07-01 22:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429079296001,"power":27539,"unknown_89":206,"unknown_83":43008,"ignition":33,"odometer":null,"unknown_44":-2029927132612302848}} 
[2026-07-01 22:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":119345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:46:59] local.INFO: GPS data processed {"connection_id":119345,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:46:59] local.INFO: Acknowledgment sent {"connection_id":119345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:47:30] local.INFO: TCP Data received {"connection_id":119345,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eaeb550012ce4e340072376c00009007d2a..."} 
[2026-07-01 22:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eaeb550012ce4e340072376c00009007d2a..."} 
[2026-07-01 22:47:30] local.INFO: Processing buffer {"connection_id":119345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1eaeb550012ce4e340072376c00009007d2a..."} 
[2026-07-01 22:47:30] local.INFO: Packet analysis {"connection_id":119345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eae"} 
[2026-07-01 22:47:30] local.INFO: Extracted packet for processing {"connection_id":119345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eae"} 
[2026-07-01 22:47:30] local.INFO: GPS Element Parsed {"raw_longitude":753197888,"raw_latitude":119764672,"longitude_deg":75.3197888,"latitude_deg":11.9764672,"altitude":9,"angle":125,"satellites":42,"speed":52,"hex_longitude":"2ce4e340","hex_latitude":"072376c0","is_valid_coordinates":true} 
[2026-07-01 22:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429103872001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:47:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334256736049299456,"note":"Value kept but may cause issues"} 
[2026-07-01 22:47:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1962724981942315008,"note":"Value kept but may cause issues"} 
[2026-07-01 22:47:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:47:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782926194000,"timestamp_ms":1782926194000,"timestamp_seconds":1782926194,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eaeb550"} 
[2026-07-01 22:47:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:47:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 22:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 22:47:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:47:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:47:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:47:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:47:30] local.INFO: Teltonika packet parsed successfully {"connection_id":119345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:47:30] local.INFO: Passing IMEI to GPS processor {"connection_id":119345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:47:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":119345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:47:30] 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-01 22:47:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:47:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:47:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429103872001,"66":27343,"87":206,"83":43008,"24":52,"16":334256736049299456,"44":-1962724981942315008},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-07-01 22:47:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:47:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:47:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429103872001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:47:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-07-01 22:47:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-01 22:47:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334256736049299456,"km_value":334256736049299.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:47:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1962724981942315008,"description":"Unknown IO ID 44"} 
[2026-07-01 22:47:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429103872001,"power":27343,"unknown_87":206,"unknown_83":43008,"ignition":52,"odometer":null,"unknown_44":-1962724981942315008}} 
[2026-07-01 22:47:30] local.INFO: DEBUG: GPS processor result {"connection_id":119345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:47:30] local.INFO: GPS data processed {"connection_id":119345,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:47:30] local.INFO: Acknowledgment sent {"connection_id":119345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:48:00] local.INFO: TCP Data received {"connection_id":120142,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:48:00] local.INFO: Processing buffer {"connection_id":120142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:48:00] local.INFO: IMEI packet received {"connection_id":120142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 22:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":120142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:48:01] local.INFO: TCP Data received {"connection_id":120142,"ip":"42.106.6.21","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 22:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120142,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 22:48:01] local.INFO: Processing buffer {"connection_id":120142,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 22:48:01] local.INFO: IMEI packet received {"connection_id":120142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":120142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:48:05] local.INFO: TCP Data received {"connection_id":120142,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eaed0a8012ce4fe8007236048000b00812a..."} 
[2026-07-01 22:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eaed0a8012ce4fe8007236048000b00812a..."} 
[2026-07-01 22:48:05] local.INFO: Processing buffer {"connection_id":120142,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f1e..."} 
[2026-07-01 22:48:05] local.INFO: IMEI packet received {"connection_id":120142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":120142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:48:06] local.INFO: TCP Data received {"connection_id":120142,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eaeefe8012ce51c40072348380009008428..."} 
[2026-07-01 22:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eaeefe8012ce51c40072348380009008428..."} 
[2026-07-01 22:48:06] local.INFO: Processing buffer {"connection_id":120142,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f1eaed0a8012ce4fe8007236048000b00812a..."} 
[2026-07-01 22:48:06] local.INFO: Packet analysis {"connection_id":120142,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f1eae"} 
[2026-07-01 22:48:06] local.INFO: Extracted packet for processing {"connection_id":120142,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eae"} 
[2026-07-01 22:48:06] local.INFO: GPS Element Parsed {"raw_longitude":753204864,"raw_latitude":119758920,"longitude_deg":75.3204864,"latitude_deg":11.975892,"altitude":11,"angle":129,"satellites":42,"speed":49,"hex_longitude":"2ce4fe80","hex_latitude":"07236048","is_valid_coordinates":true} 
[2026-07-01 22:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429105664001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334257169840996352,"note":"Value kept but may cause issues"} 
[2026-07-01 22:48:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1953647413944729600,"note":"Value kept but may cause issues"} 
[2026-07-01 22:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782926201000,"timestamp_ms":1782926201000,"timestamp_seconds":1782926201,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eaed0a8"} 
[2026-07-01 22:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:48: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-01 22:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-01 22:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":120142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":120142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":120142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 22:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429105664001,"66":27376,"87":206,"83":43008,"24":49,"16":334257169840996352,"44":-1953647413944729600},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-07-01 22:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429105664001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:48:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-07-01 22:48:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-01 22:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334257169840996352,"km_value":334257169840996.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:48:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1953647413944729600,"description":"Unknown IO ID 44"} 
[2026-07-01 22:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429105664001,"power":27376,"unknown_87":206,"unknown_83":43008,"ignition":49,"odometer":null,"unknown_44":-1953647413944729600}} 
[2026-07-01 22:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":120142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:48:06] local.INFO: GPS data processed {"connection_id":120142,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:48:06] local.INFO: Acknowledgment sent {"connection_id":120142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:48:06] local.INFO: Packet analysis {"connection_id":120142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eae"} 
[2026-07-01 22:48:06] local.INFO: Extracted packet for processing {"connection_id":120142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eae"} 
[2026-07-01 22:48:06] local.INFO: GPS Element Parsed {"raw_longitude":753212480,"raw_latitude":119752760,"longitude_deg":75.321248,"latitude_deg":11.975276,"altitude":9,"angle":132,"satellites":40,"speed":43,"hex_longitude":"2ce51c40","hex_latitude":"07234838","is_valid_coordinates":true} 
[2026-07-01 22:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429107456001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334257642287398912,"note":"Value kept but may cause issues"} 
[2026-07-01 22:48:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1945977220830836736,"note":"Value kept but may cause issues"} 
[2026-07-01 22:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1782926209000,"timestamp_ms":1782926209000,"timestamp_seconds":1782926209,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eaeefe8"} 
[2026-07-01 22:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:48: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-01 22:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-01 22:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":120142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":120142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":120142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 22:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429107456001,"66":27397,"87":206,"83":43008,"24":43,"16":334257642287398912,"44":-1945977220830836736},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-07-01 22:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429107456001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:48:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-07-01 22:48:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-01 22:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334257642287398912,"km_value":334257642287398.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:48:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1945977220830836736,"description":"Unknown IO ID 44"} 
[2026-07-01 22:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429107456001,"power":27397,"unknown_87":206,"unknown_83":43008,"ignition":43,"odometer":null,"unknown_44":-1945977220830836736}} 
[2026-07-01 22:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":120142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:48:06] local.INFO: GPS data processed {"connection_id":120142,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:48:06] local.INFO: Acknowledgment sent {"connection_id":120142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:48:18] local.INFO: TCP Data received {"connection_id":120142,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eaf1310012ce535c007232a980008008c2a..."} 
[2026-07-01 22:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eaf1310012ce535c007232a980008008c2a..."} 
[2026-07-01 22:48:18] local.INFO: Processing buffer {"connection_id":120142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1eaf1310012ce535c007232a980008008c2a..."} 
[2026-07-01 22:48:18] local.INFO: Packet analysis {"connection_id":120142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eaf"} 
[2026-07-01 22:48:18] local.INFO: Extracted packet for processing {"connection_id":120142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eaf"} 
[2026-07-01 22:48:18] local.INFO: GPS Element Parsed {"raw_longitude":753219008,"raw_latitude":119745176,"longitude_deg":75.3219008,"latitude_deg":11.9745176,"altitude":8,"angle":140,"satellites":42,"speed":46,"hex_longitude":"2ce535c0","hex_latitude":"07232a98","is_valid_coordinates":true} 
[2026-07-01 22: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-01 22:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429109504001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334258119028768768,"note":"Value kept but may cause issues"} 
[2026-07-01 22:48:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937603340275271680,"note":"Value kept but may cause issues"} 
[2026-07-01 22:48:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1782926218000,"timestamp_ms":1782926218000,"timestamp_seconds":1782926218,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eaf1310"} 
[2026-07-01 22: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-01 22:48:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 22: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-01 22:48:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22: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-01 22: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-01 22:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":120142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":120142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":120142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:48:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 22:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429109504001,"66":27397,"87":206,"83":43008,"24":46,"16":334258119028768768,"44":-1937603340275271680},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-07-01 22:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429109504001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:48:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-07-01 22:48:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-01 22:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334258119028768768,"km_value":334258119028768.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:48:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937603340275271680,"description":"Unknown IO ID 44"} 
[2026-07-01 22:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429109504001,"power":27397,"unknown_87":206,"unknown_83":43008,"ignition":46,"odometer":null,"unknown_44":-1937603340275271680}} 
[2026-07-01 22:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":120142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:48:18] local.INFO: GPS data processed {"connection_id":120142,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:48:18] local.INFO: Acknowledgment sent {"connection_id":120142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:48:48] local.INFO: TCP Data received {"connection_id":120143,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:48:48] local.INFO: Processing buffer {"connection_id":120143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:48:48] local.INFO: IMEI packet received {"connection_id":120143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 22:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":120143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:48:48] local.INFO: TCP Data received {"connection_id":120143,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:48:48] local.INFO: Processing buffer {"connection_id":120143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:48:48] local.INFO: IMEI packet received {"connection_id":120143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":120143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:48:53] local.INFO: TCP Data received {"connection_id":120143,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:48:53] local.INFO: Processing buffer {"connection_id":120143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:48:53] local.INFO: IMEI packet received {"connection_id":120143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":120143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:48:54] local.INFO: TCP Data received {"connection_id":120143,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eaf3250012ce54cc007230c70000700922a..."} 
[2026-07-01 22:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eaf3250012ce54cc007230c70000700922a..."} 
[2026-07-01 22:48:54] local.INFO: Processing buffer {"connection_id":120143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1eaf3250012ce54cc007230c70000700922a..."} 
[2026-07-01 22:48:54] local.INFO: Packet analysis {"connection_id":120143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eaf"} 
[2026-07-01 22:48:54] local.INFO: Extracted packet for processing {"connection_id":120143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eaf"} 
[2026-07-01 22:48:54] local.INFO: GPS Element Parsed {"raw_longitude":753224896,"raw_latitude":119737456,"longitude_deg":75.3224896,"latitude_deg":11.9737456,"altitude":7,"angle":146,"satellites":42,"speed":50,"hex_longitude":"2ce54cc0","hex_latitude":"07230c70","is_valid_coordinates":true} 
[2026-07-01 22:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:48:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429111808001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334258587180204032,"note":"Value kept but may cause issues"} 
[2026-07-01 22:48:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1930425728371091456,"note":"Value kept but may cause issues"} 
[2026-07-01 22:48:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:48:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782926226000,"timestamp_ms":1782926226000,"timestamp_seconds":1782926226,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eaf3250"} 
[2026-07-01 22:48:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:48: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-01 22:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-01 22:48:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:48:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:48:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:48:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:48:54] local.INFO: Teltonika packet parsed successfully {"connection_id":120143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:48:54] local.INFO: Passing IMEI to GPS processor {"connection_id":120143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:48:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":120143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:48:54] 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-01 22:48:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:48:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:48:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429111808001,"66":27463,"73":206,"83":43008,"24":50,"16":334258587180204032,"44":-1930425728371091456},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,44]} 
[2026-07-01 22:48:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:48:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:48:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429111808001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:48:54] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-01 22:48:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-01 22:48:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334258587180204032,"km_value":334258587180204.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:48:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1930425728371091456,"description":"Unknown IO ID 44"} 
[2026-07-01 22:48:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429111808001,"power":27463,"unknown_73":206,"unknown_83":43008,"ignition":50,"odometer":null,"unknown_44":-1930425728371091456}} 
[2026-07-01 22:48:54] local.INFO: DEBUG: GPS processor result {"connection_id":120143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:48:54] local.INFO: GPS data processed {"connection_id":120143,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:48:54] local.INFO: Acknowledgment sent {"connection_id":120143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:49:29] local.INFO: TCP Data received {"connection_id":120143,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eb07a70012ce658000721a3780007008e2a..."} 
[2026-07-01 22:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eb07a70012ce658000721a3780007008e2a..."} 
[2026-07-01 22:49:29] local.INFO: Processing buffer {"connection_id":120143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1eb07a70012ce658000721a3780007008e2a..."} 
[2026-07-01 22:49:29] local.INFO: Packet analysis {"connection_id":120143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eb0"} 
[2026-07-01 22:49:29] local.INFO: Extracted packet for processing {"connection_id":120143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eb0"} 
[2026-07-01 22:49:29] local.INFO: GPS Element Parsed {"raw_longitude":753293312,"raw_latitude":119645048,"longitude_deg":75.3293312,"latitude_deg":11.9645048,"altitude":7,"angle":142,"satellites":42,"speed":56,"hex_longitude":"2ce65800","hex_latitude":"0721a378","is_valid_coordinates":true} 
[2026-07-01 22:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429133568001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334264140572917760,"note":"Value kept but may cause issues"} 
[2026-07-01 22:49:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1855342278357118976,"note":"Value kept but may cause issues"} 
[2026-07-01 22:49:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782926310000,"timestamp_ms":1782926310000,"timestamp_seconds":1782926310,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eb07a70"} 
[2026-07-01 22:49:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:49:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 22:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-01 22:49:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:49:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:49:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":120143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":120143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":120143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:49:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 22:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429133568001,"66":27604,"67":206,"83":43008,"24":56,"16":334264140572917760,"44":-1855342278357118976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,83,24,16,44]} 
[2026-07-01 22:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429133568001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:49:29] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-07-01 22:49:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-01 22:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334264140572917760,"km_value":334264140572917.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:49:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1855342278357118976,"description":"Unknown IO ID 44"} 
[2026-07-01 22:49:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429133568001,"power":27604,"unknown_67":206,"unknown_83":43008,"ignition":56,"odometer":null,"unknown_44":-1855342278357118976}} 
[2026-07-01 22:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":120143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:49:29] local.INFO: GPS data processed {"connection_id":120143,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:49:29] local.INFO: Acknowledgment sent {"connection_id":120143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:49:36] local.INFO: TCP Data received {"connection_id":119346,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 22:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119346,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 22:49:36] local.INFO: Processing buffer {"connection_id":119346,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 22:49:36] local.INFO: IMEI packet received {"connection_id":119346,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 22:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":119346,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:49:55] local.INFO: TCP Data received {"connection_id":121199,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:49:55] local.INFO: Processing buffer {"connection_id":121199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:49:55] local.INFO: IMEI packet received {"connection_id":121199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 22:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":121199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:49:58] local.INFO: TCP Data received {"connection_id":121199,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:49:58] local.INFO: Processing buffer {"connection_id":121199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:49:58] local.INFO: IMEI packet received {"connection_id":121199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":121199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:50:03] local.INFO: TCP Data received {"connection_id":121199,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:50:03] local.INFO: Processing buffer {"connection_id":121199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:50:03] local.INFO: IMEI packet received {"connection_id":121199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":121199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:50:09] local.INFO: TCP Data received {"connection_id":121199,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eb095c8012ce66f80072183900006009029..."} 
[2026-07-01 22:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eb095c8012ce66f80072183900006009029..."} 
[2026-07-01 22:50:09] local.INFO: Processing buffer {"connection_id":121199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1eb095c8012ce66f80072183900006009029..."} 
[2026-07-01 22:50:09] local.INFO: Packet analysis {"connection_id":121199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eb0"} 
[2026-07-01 22:50:09] local.INFO: Extracted packet for processing {"connection_id":121199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eb0"} 
[2026-07-01 22:50:09] local.INFO: GPS Element Parsed {"raw_longitude":753299328,"raw_latitude":119636880,"longitude_deg":75.3299328,"latitude_deg":11.963688,"altitude":6,"angle":144,"satellites":41,"speed":57,"hex_longitude":"2ce66f80","hex_latitude":"07218390","is_valid_coordinates":true} 
[2026-07-01 22: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-01 22:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429135360001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334264630199189504,"note":"Value kept but may cause issues"} 
[2026-07-01 22:50:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1848727616406456320,"note":"Value kept but may cause issues"} 
[2026-07-01 22:50:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1782926317000,"timestamp_ms":1782926317000,"timestamp_seconds":1782926317,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eb095c8"} 
[2026-07-01 22: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-01 22:50:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 22: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-01 22:50:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22: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-01 22: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-01 22:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":121199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":121199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":121199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:50:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 22:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429135360001,"66":27604,"67":206,"83":43008,"24":57,"16":334264630199189504,"44":-1848727616406456320},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,83,24,16,44]} 
[2026-07-01 22:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429135360001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:50:09] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-07-01 22:50:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-01 22:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334264630199189504,"km_value":334264630199189.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:50:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1848727616406456320,"description":"Unknown IO ID 44"} 
[2026-07-01 22:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429135360001,"power":27604,"unknown_67":206,"unknown_83":43008,"ignition":57,"odometer":null,"unknown_44":-1848727616406456320}} 
[2026-07-01 22:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":121199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:50:09] local.INFO: GPS data processed {"connection_id":121199,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:50:09] local.INFO: Acknowledgment sent {"connection_id":121199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:50:48] local.INFO: TCP Data received {"connection_id":120144,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:50:48] local.INFO: Processing buffer {"connection_id":120144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:50:48] local.INFO: IMEI packet received {"connection_id":120144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 22:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":120144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:50:52] local.INFO: TCP Data received {"connection_id":120144,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:50:52] local.INFO: Processing buffer {"connection_id":120144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:50:52] local.INFO: IMEI packet received {"connection_id":120144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":120144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:50:53] local.INFO: TCP Data received {"connection_id":120144,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eb1bac0012ce74c4007203d60000600a22b..."} 
[2026-07-01 22:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eb1bac0012ce74c4007203d60000600a22b..."} 
[2026-07-01 22:50:53] local.INFO: Processing buffer {"connection_id":120144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1eb1bac0012ce74c4007203d60000600a22b..."} 
[2026-07-01 22:50:53] local.INFO: Packet analysis {"connection_id":120144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eb1"} 
[2026-07-01 22:50:53] local.INFO: Extracted packet for processing {"connection_id":120144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eb1"} 
[2026-07-01 22:50:53] local.INFO: GPS Element Parsed {"raw_longitude":753355840,"raw_latitude":119553376,"longitude_deg":75.335584,"latitude_deg":11.9553376,"altitude":6,"angle":162,"satellites":43,"speed":54,"hex_longitude":"2ce74c40","hex_latitude":"07203d60","is_valid_coordinates":true} 
[2026-07-01 22:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:50:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429154560001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:50:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334269504987070464,"note":"Value kept but may cause issues"} 
[2026-07-01 22:50:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1783988371784167424,"note":"Value kept but may cause issues"} 
[2026-07-01 22:50:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:50:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782926392000,"timestamp_ms":1782926392000,"timestamp_seconds":1782926392,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eb1bac0"} 
[2026-07-01 22:50:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:50:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 22:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 22:50:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:50:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:50:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:50:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:50:53] local.INFO: Teltonika packet parsed successfully {"connection_id":120144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:50:53] local.INFO: Passing IMEI to GPS processor {"connection_id":120144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:50:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":120144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:50:53] 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-01 22:50:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:50:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:50:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429154560001,"66":27658,"145":206,"83":43008,"24":54,"16":334269504987070464,"44":-1783988371784167424},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,44]} 
[2026-07-01 22:50:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:50:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:50:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429154560001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:50:53] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-01 22:50:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-01 22:50:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334269504987070464,"km_value":334269504987070.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:50:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1783988371784167424,"description":"Unknown IO ID 44"} 
[2026-07-01 22:50:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429154560001,"power":27658,"unknown_145":206,"unknown_83":43008,"ignition":54,"odometer":null,"unknown_44":-1783988371784167424}} 
[2026-07-01 22:50:53] local.INFO: DEBUG: GPS processor result {"connection_id":120144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:50:53] local.INFO: GPS data processed {"connection_id":120144,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:50:53] local.INFO: Acknowledgment sent {"connection_id":120144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:51:24] local.INFO: TCP Data received {"connection_id":120144,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eb1d618012ce75800072018f00006009e2b..."} 
[2026-07-01 22:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eb1d618012ce75800072018f00006009e2b..."} 
[2026-07-01 22:51:24] local.INFO: Processing buffer {"connection_id":120144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1eb1d618012ce75800072018f00006009e2b..."} 
[2026-07-01 22:51:24] local.INFO: Packet analysis {"connection_id":120144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eb1"} 
[2026-07-01 22:51:24] local.INFO: Extracted packet for processing {"connection_id":120144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eb1"} 
[2026-07-01 22:51:24] local.INFO: GPS Element Parsed {"raw_longitude":753358848,"raw_latitude":119544048,"longitude_deg":75.3358848,"latitude_deg":11.9544048,"altitude":6,"angle":158,"satellites":43,"speed":55,"hex_longitude":"2ce75800","hex_latitude":"072018f0","is_valid_coordinates":true} 
[2026-07-01 22:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:51:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429156352001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:51:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334269977433473024,"note":"Value kept but may cause issues"} 
[2026-07-01 22:51:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1779977353368346624,"note":"Value kept but may cause issues"} 
[2026-07-01 22:51:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:51:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782926399000,"timestamp_ms":1782926399000,"timestamp_seconds":1782926399,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eb1d618"} 
[2026-07-01 22:51:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:51:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 22:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-01 22:51:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:51:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:51:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:51:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:51:24] local.INFO: Teltonika packet parsed successfully {"connection_id":120144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:51:24] local.INFO: Passing IMEI to GPS processor {"connection_id":120144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:51:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":120144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:51:24] 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-01 22:51:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:51:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:51:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429156352001,"66":27376,"145":206,"83":43008,"24":55,"16":334269977433473024,"44":-1779977353368346624},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,44]} 
[2026-07-01 22:51:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:51:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:51:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429156352001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:51:24] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-07-01 22:51:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-01 22:51:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334269977433473024,"km_value":334269977433473.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:51:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1779977353368346624,"description":"Unknown IO ID 44"} 
[2026-07-01 22:51:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429156352001,"power":27376,"unknown_145":206,"unknown_83":43008,"ignition":55,"odometer":null,"unknown_44":-1779977353368346624}} 
[2026-07-01 22:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":120144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:51:24] local.INFO: GPS data processed {"connection_id":120144,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:51:24] local.INFO: Acknowledgment sent {"connection_id":120144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:51:48] local.INFO: TCP Data received {"connection_id":119348,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:51:48] local.INFO: Processing buffer {"connection_id":119348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:51:48] local.INFO: IMEI packet received {"connection_id":119348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 22:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":119348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:51:53] local.INFO: TCP Data received {"connection_id":119348,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:51:53] local.INFO: Processing buffer {"connection_id":119348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:51:53] local.INFO: IMEI packet received {"connection_id":119348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":119348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:51:54] local.INFO: TCP Data received {"connection_id":119348,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eb1f170012ce767c0071ff890000600942b..."} 
[2026-07-01 22:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eb1f170012ce767c0071ff890000600942b..."} 
[2026-07-01 22:51:54] local.INFO: Processing buffer {"connection_id":119348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1eb1f170012ce767c0071ff890000600942b..."} 
[2026-07-01 22:51:54] local.INFO: Packet analysis {"connection_id":119348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eb1"} 
[2026-07-01 22:51:54] local.INFO: Extracted packet for processing {"connection_id":119348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eb1"} 
[2026-07-01 22:51:54] local.INFO: GPS Element Parsed {"raw_longitude":753362880,"raw_latitude":119535760,"longitude_deg":75.336288,"latitude_deg":11.953576,"altitude":6,"angle":148,"satellites":43,"speed":51,"hex_longitude":"2ce767c0","hex_latitude":"071ff890","is_valid_coordinates":true} 
[2026-07-01 22:51:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:51:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429158144001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:51:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334270424110071808,"note":"Value kept but may cause issues"} 
[2026-07-01 22:51:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1776670022394384384,"note":"Value kept but may cause issues"} 
[2026-07-01 22:51:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:51:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782926406000,"timestamp_ms":1782926406000,"timestamp_seconds":1782926406,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eb1f170"} 
[2026-07-01 22:51:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:51: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-01 22:51:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-01 22:51:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:51:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:51:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:51:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:51:54] local.INFO: Teltonika packet parsed successfully {"connection_id":119348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:51:54] local.INFO: Passing IMEI to GPS processor {"connection_id":119348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:51:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":119348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:51:54] 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-01 22:51:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:51:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:51:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429158144001,"66":27517,"144":206,"83":43008,"24":51,"16":334270424110071808,"44":-1776670022394384384},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,83,24,16,44]} 
[2026-07-01 22:51:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:51:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:51:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429158144001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:51:54] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-07-01 22:51:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-01 22:51:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334270424110071808,"km_value":334270424110071.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:51:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1776670022394384384,"description":"Unknown IO ID 44"} 
[2026-07-01 22:51:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429158144001,"power":27517,"unknown_144":206,"unknown_83":43008,"ignition":51,"odometer":null,"unknown_44":-1776670022394384384}} 
[2026-07-01 22:51:54] local.INFO: DEBUG: GPS processor result {"connection_id":119348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:51:54] local.INFO: GPS data processed {"connection_id":119348,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:51:54] local.INFO: Acknowledgment sent {"connection_id":119348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:52:25] local.INFO: TCP Data received {"connection_id":119348,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eb32608012ce83240071ee5780007009d2a..."} 
[2026-07-01 22:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eb32608012ce83240071ee5780007009d2a..."} 
[2026-07-01 22:52:25] local.INFO: Processing buffer {"connection_id":119348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1eb32608012ce83240071ee5780007009d2a..."} 
[2026-07-01 22:52:25] local.INFO: Packet analysis {"connection_id":119348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eb3"} 
[2026-07-01 22:52:25] local.INFO: Extracted packet for processing {"connection_id":119348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eb3"} 
[2026-07-01 22:52:25] local.INFO: GPS Element Parsed {"raw_longitude":753414720,"raw_latitude":119465336,"longitude_deg":75.341472,"latitude_deg":11.9465336,"altitude":7,"angle":157,"satellites":42,"speed":48,"hex_longitude":"2ce83240","hex_latitude":"071ee578","is_valid_coordinates":true} 
[2026-07-01 22:52: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-01 22:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429178112001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:52:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334274710487433216,"note":"Value kept but may cause issues"} 
[2026-07-01 22:52:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1719389864651640832,"note":"Value kept but may cause issues"} 
[2026-07-01 22:52:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:52:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782926485000,"timestamp_ms":1782926485000,"timestamp_seconds":1782926485,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eb32608"} 
[2026-07-01 22:52:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:52: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-01 22:52:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-01 22:52:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:52: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-01 22:52:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:52:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:52:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:52:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:52:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:52:25] 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-01 22:52:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:52:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429178112001,"66":27463,"73":206,"83":43008,"24":48,"16":334274710487433216,"44":-1719389864651640832},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,44]} 
[2026-07-01 22:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429178112001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:52:25] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-01 22:52:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-01 22:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334274710487433216,"km_value":334274710487433.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:52:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1719389864651640832,"description":"Unknown IO ID 44"} 
[2026-07-01 22:52:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429178112001,"power":27463,"unknown_73":206,"unknown_83":43008,"ignition":48,"odometer":null,"unknown_44":-1719389864651640832}} 
[2026-07-01 22:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":119348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:52:25] local.INFO: GPS data processed {"connection_id":119348,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:52:25] local.INFO: Acknowledgment sent {"connection_id":119348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:52:52] local.INFO: TCP Data received {"connection_id":119461,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:52:52] local.INFO: Processing buffer {"connection_id":119461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:52:52] local.INFO: IMEI packet received {"connection_id":119461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 22:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":119461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:52:53] local.INFO: TCP Data received {"connection_id":119461,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:52:53] local.INFO: Processing buffer {"connection_id":119461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:52:53] local.INFO: IMEI packet received {"connection_id":119461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":119461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:52:56] local.INFO: TCP Data received {"connection_id":119461,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:52:56] local.INFO: Processing buffer {"connection_id":119461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:52:56] local.INFO: IMEI packet received {"connection_id":119461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":119461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:52:56] local.INFO: TCP Data received {"connection_id":119461,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eb34548012ce84080071ec2000007009b2a..."} 
[2026-07-01 22:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eb34548012ce84080071ec2000007009b2a..."} 
[2026-07-01 22:52:56] local.INFO: Processing buffer {"connection_id":119461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1eb34548012ce84080071ec2000007009b2a..."} 
[2026-07-01 22:52:56] local.INFO: Packet analysis {"connection_id":119461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eb3"} 
[2026-07-01 22:52:56] local.INFO: Extracted packet for processing {"connection_id":119461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eb3"} 
[2026-07-01 22:52:56] local.INFO: GPS Element Parsed {"raw_longitude":753418368,"raw_latitude":119456256,"longitude_deg":75.3418368,"latitude_deg":11.9456256,"altitude":7,"angle":155,"satellites":42,"speed":48,"hex_longitude":"2ce84080","hex_latitude":"071ec200","is_valid_coordinates":true} 
[2026-07-01 22:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:52:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429180160001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:52:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334275182933835776,"note":"Value kept but may cause issues"} 
[2026-07-01 22:52:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1715238108747433984,"note":"Value kept but may cause issues"} 
[2026-07-01 22:52:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:52:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782926493000,"timestamp_ms":1782926493000,"timestamp_seconds":1782926493,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eb34548"} 
[2026-07-01 22:52:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:52:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 22:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-01 22:52:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:52:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:52:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:52:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:52:56] local.INFO: Teltonika packet parsed successfully {"connection_id":119461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:52:56] local.INFO: Passing IMEI to GPS processor {"connection_id":119461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:52:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":119461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:52:56] 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-01 22:52:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:52:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:52:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429180160001,"66":27517,"73":206,"83":43008,"24":48,"16":334275182933835776,"44":-1715238108747433984},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,44]} 
[2026-07-01 22:52:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:52:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:52:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429180160001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:52:56] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-01 22:52:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-01 22:52:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334275182933835776,"km_value":334275182933835.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:52:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1715238108747433984,"description":"Unknown IO ID 44"} 
[2026-07-01 22:52:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429180160001,"power":27517,"unknown_73":206,"unknown_83":43008,"ignition":48,"odometer":null,"unknown_44":-1715238108747433984}} 
[2026-07-01 22:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":119461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:52:56] local.INFO: GPS data processed {"connection_id":119461,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:52:56] local.INFO: Acknowledgment sent {"connection_id":119461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:53:28] local.INFO: TCP Data received {"connection_id":119461,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eb36488012ce85340071ea070000700932a..."} 
[2026-07-01 22:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eb36488012ce85340071ea070000700932a..."} 
[2026-07-01 22:53:28] local.INFO: Processing buffer {"connection_id":119461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1eb36488012ce85340071ea070000700932a..."} 
[2026-07-01 22:53:28] local.INFO: Packet analysis {"connection_id":119461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eb3"} 
[2026-07-01 22:53:28] local.INFO: Extracted packet for processing {"connection_id":119461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eb3"} 
[2026-07-01 22:53:28] local.INFO: GPS Element Parsed {"raw_longitude":753423168,"raw_latitude":119447664,"longitude_deg":75.3423168,"latitude_deg":11.9447664,"altitude":7,"angle":147,"satellites":42,"speed":48,"hex_longitude":"2ce85340","hex_latitude":"071ea070","is_valid_coordinates":true} 
[2026-07-01 22:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:53:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429182208001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:53:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334275659675205632,"note":"Value kept but may cause issues"} 
[2026-07-01 22:53:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1711227090331631616,"note":"Value kept but may cause issues"} 
[2026-07-01 22:53:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:53:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782926501000,"timestamp_ms":1782926501000,"timestamp_seconds":1782926501,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eb36488"} 
[2026-07-01 22:53:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:53: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-01 22:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-01 22:53:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:53:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:53:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:53:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:53:28] local.INFO: Teltonika packet parsed successfully {"connection_id":119461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:53:28] local.INFO: Passing IMEI to GPS processor {"connection_id":119461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:53:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":119461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:53:28] 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-01 22:53:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:53:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:53:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429182208001,"66":27593,"73":206,"83":43008,"24":48,"16":334275659675205632,"44":-1711227090331631616},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,44]} 
[2026-07-01 22:53:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:53:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:53:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429182208001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:53:28] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-01 22:53:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-01 22:53:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334275659675205632,"km_value":334275659675205.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:53:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1711227090331631616,"description":"Unknown IO ID 44"} 
[2026-07-01 22:53:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429182208001,"power":27593,"unknown_73":206,"unknown_83":43008,"ignition":48,"odometer":null,"unknown_44":-1711227090331631616}} 
[2026-07-01 22:53:28] local.INFO: DEBUG: GPS processor result {"connection_id":119461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:53:28] local.INFO: GPS data processed {"connection_id":119461,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:53:28] local.INFO: Acknowledgment sent {"connection_id":119461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:53:49] local.INFO: TCP Data received {"connection_id":120145,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:53:49] local.INFO: Processing buffer {"connection_id":120145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:53:49] local.INFO: IMEI packet received {"connection_id":120145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 22:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":120145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:53:53] local.INFO: TCP Data received {"connection_id":120145,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:53:53] local.INFO: Processing buffer {"connection_id":120145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:53:53] local.INFO: IMEI packet received {"connection_id":120145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":120145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:53:57] local.INFO: TCP Data received {"connection_id":120145,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:53:57] local.INFO: Processing buffer {"connection_id":120145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:53:57] local.INFO: IMEI packet received {"connection_id":120145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":120145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:53:58] local.INFO: TCP Data received {"connection_id":120145,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eb383c8012ce86580071e7f68000700982c..."} 
[2026-07-01 22:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eb383c8012ce86580071e7f68000700982c..."} 
[2026-07-01 22:53:58] local.INFO: Processing buffer {"connection_id":120145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1eb383c8012ce86580071e7f68000700982c..."} 
[2026-07-01 22:53:58] local.INFO: Packet analysis {"connection_id":120145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eb3"} 
[2026-07-01 22:53:58] local.INFO: Extracted packet for processing {"connection_id":120145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eb3"} 
[2026-07-01 22:53:58] local.INFO: GPS Element Parsed {"raw_longitude":753427840,"raw_latitude":119439208,"longitude_deg":75.342784,"latitude_deg":11.9439208,"altitude":7,"angle":152,"satellites":44,"speed":43,"hex_longitude":"2ce86580","hex_latitude":"071e7f68","is_valid_coordinates":true} 
[2026-07-01 22: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-01 22:53:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429184256001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:53:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334276123531673600,"note":"Value kept but may cause issues"} 
[2026-07-01 22:53:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1705949434520506368,"note":"Value kept but may cause issues"} 
[2026-07-01 22:53:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:53:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782926509000,"timestamp_ms":1782926509000,"timestamp_seconds":1782926509,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eb383c8"} 
[2026-07-01 22: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-01 22:53: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-01 22: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":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-01 22:53:58] 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-01 22: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-01 22: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-01 22:53:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:53:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:53:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:53:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:53:58] 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-01 22:53:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:53:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:53:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429184256001,"66":27604,"73":206,"83":43008,"24":43,"16":334276123531673600,"44":-1705949434520506368},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,44]} 
[2026-07-01 22:53:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:53:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:53:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429184256001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:53:58] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-07-01 22:53:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-01 22:53:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334276123531673600,"km_value":334276123531673.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:53:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1705949434520506368,"description":"Unknown IO ID 44"} 
[2026-07-01 22:53:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429184256001,"power":27604,"unknown_73":206,"unknown_83":43008,"ignition":43,"odometer":null,"unknown_44":-1705949434520506368}} 
[2026-07-01 22:53:58] local.INFO: DEBUG: GPS processor result {"connection_id":120145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:53:58] local.INFO: GPS data processed {"connection_id":120145,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:53:58] local.INFO: Acknowledgment sent {"connection_id":120145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:53:59] local.INFO: TCP Data received {"connection_id":120145,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eb3b690012ce87840071e5ee8000500962a..."} 
[2026-07-01 22:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eb3b690012ce87840071e5ee8000500962a..."} 
[2026-07-01 22:53:59] local.INFO: Processing buffer {"connection_id":120145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1eb3b690012ce87840071e5ee8000500962a..."} 
[2026-07-01 22:53:59] local.INFO: Packet analysis {"connection_id":120145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eb3"} 
[2026-07-01 22:53:59] local.INFO: Extracted packet for processing {"connection_id":120145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eb3"} 
[2026-07-01 22:53:59] local.INFO: GPS Element Parsed {"raw_longitude":753432640,"raw_latitude":119430888,"longitude_deg":75.343264,"latitude_deg":11.9430888,"altitude":5,"angle":150,"satellites":42,"speed":29,"hex_longitude":"2ce87840","hex_latitude":"071e5ee8","is_valid_coordinates":true} 
[2026-07-01 22:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:53:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429186304001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:53:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334276587388141568,"note":"Value kept but may cause issues"} 
[2026-07-01 22:53:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1700812516197701632,"note":"Value kept but may cause issues"} 
[2026-07-01 22:53:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:53:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782926522000,"timestamp_ms":1782926522000,"timestamp_seconds":1782926522,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eb3b690"} 
[2026-07-01 22:53:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:53: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-01 22:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-01 22:53:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:53:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:53:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:53:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:53:59] local.INFO: Teltonika packet parsed successfully {"connection_id":120145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:53:59] local.INFO: Passing IMEI to GPS processor {"connection_id":120145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:53:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":120145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:53:59] 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-01 22:53:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:53:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:53:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429186304001,"66":27517,"111":206,"83":43008,"24":29,"16":334276587388141568,"44":-1700812516197701632},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,83,24,16,44]} 
[2026-07-01 22:53:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:53:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:53:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429186304001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:53:59] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-01 22:53:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-01 22:53:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334276587388141568,"km_value":334276587388141.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:53:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1700812516197701632,"description":"Unknown IO ID 44"} 
[2026-07-01 22:53:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429186304001,"power":27517,"unknown_111":206,"unknown_83":43008,"ignition":29,"odometer":null,"unknown_44":-1700812516197701632}} 
[2026-07-01 22:53:59] local.INFO: DEBUG: GPS processor result {"connection_id":120145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:53:59] local.INFO: GPS data processed {"connection_id":120145,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:53:59] local.INFO: Acknowledgment sent {"connection_id":120145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:54:29] local.INFO: TCP Data received {"connection_id":120145,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eb3e188012ce88c80071e40b80005008c2a..."} 
[2026-07-01 22:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eb3e188012ce88c80071e40b80005008c2a..."} 
[2026-07-01 22:54:29] local.INFO: Processing buffer {"connection_id":120145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1eb3e188012ce88c80071e40b80005008c2a..."} 
[2026-07-01 22:54:29] local.INFO: Packet analysis {"connection_id":120145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eb3"} 
[2026-07-01 22:54:29] local.INFO: Extracted packet for processing {"connection_id":120145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eb3"} 
[2026-07-01 22:54:29] local.INFO: GPS Element Parsed {"raw_longitude":753437824,"raw_latitude":119423160,"longitude_deg":75.3437824,"latitude_deg":11.942316,"altitude":5,"angle":140,"satellites":42,"speed":33,"hex_longitude":"2ce88c80","hex_latitude":"071e40b8","is_valid_coordinates":true} 
[2026-07-01 22: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-01 22:54:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429189632001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:54:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334277038359707648,"note":"Value kept but may cause issues"} 
[2026-07-01 22:54:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1695534860386506752,"note":"Value kept but may cause issues"} 
[2026-07-01 22:54:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:54:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782926533000,"timestamp_ms":1782926533000,"timestamp_seconds":1782926533,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eb3e188"} 
[2026-07-01 22: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-01 22:54:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 22: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-01 22:54:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22: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-01 22: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-01 22:54:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:54:29] local.INFO: Teltonika packet parsed successfully {"connection_id":120145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:54:29] local.INFO: Passing IMEI to GPS processor {"connection_id":120145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:54:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":120145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:54:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 22:54:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:54:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:54:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429189632001,"66":27604,"111":206,"83":43008,"24":33,"16":334277038359707648,"44":-1695534860386506752},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,83,24,16,44]} 
[2026-07-01 22:54:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:54:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:54:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429189632001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:54:29] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-01 22:54:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-01 22:54:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334277038359707648,"km_value":334277038359707.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:54:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1695534860386506752,"description":"Unknown IO ID 44"} 
[2026-07-01 22:54:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429189632001,"power":27604,"unknown_111":206,"unknown_83":43008,"ignition":33,"odometer":null,"unknown_44":-1695534860386506752}} 
[2026-07-01 22:54:29] local.INFO: DEBUG: GPS processor result {"connection_id":120145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:54:29] local.INFO: GPS data processed {"connection_id":120145,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:54:29] local.INFO: Acknowledgment sent {"connection_id":120145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:54:51] local.INFO: TCP Data received {"connection_id":121200,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:54:51] local.INFO: Processing buffer {"connection_id":121200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:54:51] local.INFO: IMEI packet received {"connection_id":121200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 22:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":121200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:55:08] local.INFO: TCP Data received {"connection_id":121200,"ip":"42.106.6.21","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 22:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121200,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 22:55:08] local.INFO: Processing buffer {"connection_id":121200,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 22:55:08] local.INFO: IMEI packet received {"connection_id":121200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":121200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:55:09] local.INFO: TCP Data received {"connection_id":121200,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eb3f128012ce89640071e37c80005007e29..."} 
[2026-07-01 22:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eb3f128012ce89640071e37c80005007e29..."} 
[2026-07-01 22:55:09] local.INFO: Processing buffer {"connection_id":121200,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f1e..."} 
[2026-07-01 22:55:09] local.INFO: IMEI packet received {"connection_id":121200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":121200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:55:10] local.INFO: TCP Data received {"connection_id":121200,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eb41838012ce8b3c0071e2370000a007d27..."} 
[2026-07-01 22:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eb41838012ce8b3c0071e2370000a007d27..."} 
[2026-07-01 22:55:10] local.INFO: Processing buffer {"connection_id":121200,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f1eb3f128012ce89640071e37c80005007e29..."} 
[2026-07-01 22:55:10] local.INFO: Packet analysis {"connection_id":121200,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f1eb3"} 
[2026-07-01 22:55:10] local.INFO: Extracted packet for processing {"connection_id":121200,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eb3"} 
[2026-07-01 22:55:10] local.INFO: GPS Element Parsed {"raw_longitude":753440320,"raw_latitude":119420872,"longitude_deg":75.344032,"latitude_deg":11.9420872,"altitude":5,"angle":126,"satellites":41,"speed":33,"hex_longitude":"2ce89640","hex_latitude":"071e37c8","is_valid_coordinates":true} 
[2026-07-01 22:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429192448001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334277201568464896,"note":"Value kept but may cause issues"} 
[2026-07-01 22:55:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1689834992110094336,"note":"Value kept but may cause issues"} 
[2026-07-01 22:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782926537000,"timestamp_ms":1782926537000,"timestamp_seconds":1782926537,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eb3f128"} 
[2026-07-01 22:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:55:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 22:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-01 22:55:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:55:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":121200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":121200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":121200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:55:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 22:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429192448001,"66":27321,"111":206,"83":43008,"24":33,"16":334277201568464896,"44":-1689834992110094336},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,83,24,16,44]} 
[2026-07-01 22:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429192448001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:55:10] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-01 22:55:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-01 22:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334277201568464896,"km_value":334277201568464.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:55:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1689834992110094336,"description":"Unknown IO ID 44"} 
[2026-07-01 22:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429192448001,"power":27321,"unknown_111":206,"unknown_83":43008,"ignition":33,"odometer":null,"unknown_44":-1689834992110094336}} 
[2026-07-01 22:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":121200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:55:10] local.INFO: GPS data processed {"connection_id":121200,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:55:10] local.INFO: Acknowledgment sent {"connection_id":121200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:55:10] local.INFO: Packet analysis {"connection_id":121200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eb4"} 
[2026-07-01 22:55:10] local.INFO: Extracted packet for processing {"connection_id":121200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eb4"} 
[2026-07-01 22:55:10] local.INFO: GPS Element Parsed {"raw_longitude":753447872,"raw_latitude":119415664,"longitude_deg":75.3447872,"latitude_deg":11.9415664,"altitude":10,"angle":125,"satellites":39,"speed":32,"hex_longitude":"2ce8b3c0","hex_latitude":"071e2370","is_valid_coordinates":true} 
[2026-07-01 22:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429193472001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334277639655129088,"note":"Value kept but may cause issues"} 
[2026-07-01 22:55:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1687090611087751168,"note":"Value kept but may cause issues"} 
[2026-07-01 22:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1782926547000,"timestamp_ms":1782926547000,"timestamp_seconds":1782926547,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eb41838"} 
[2026-07-01 22:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:55:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 22:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-01 22:55:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:55:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":121200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":121200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":121200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:55:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 22:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429193472001,"66":27376,"111":206,"83":43008,"24":32,"16":334277639655129088,"44":-1687090611087751168},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,83,24,16,44]} 
[2026-07-01 22:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429193472001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:55:10] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-01 22:55:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-01 22:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334277639655129088,"km_value":334277639655129.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:55:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1687090611087751168,"description":"Unknown IO ID 44"} 
[2026-07-01 22:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429193472001,"power":27376,"unknown_111":206,"unknown_83":43008,"ignition":32,"odometer":null,"unknown_44":-1687090611087751168}} 
[2026-07-01 22:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":121200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:55:10] local.INFO: GPS data processed {"connection_id":121200,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:55:10] local.INFO: Acknowledgment sent {"connection_id":121200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:55:11] local.INFO: TCP Data received {"connection_id":121200,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eb44ee8012ce8d340071e0f50000e00752c..."} 
[2026-07-01 22:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eb44ee8012ce8d340071e0f50000e00752c..."} 
[2026-07-01 22:55:11] local.INFO: Processing buffer {"connection_id":121200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1eb44ee8012ce8d340071e0f50000e00752c..."} 
[2026-07-01 22:55:11] local.INFO: Packet analysis {"connection_id":121200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eb4"} 
[2026-07-01 22:55:11] local.INFO: Extracted packet for processing {"connection_id":121200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eb4"} 
[2026-07-01 22:55:11] local.INFO: GPS Element Parsed {"raw_longitude":753455936,"raw_latitude":119410512,"longitude_deg":75.3455936,"latitude_deg":11.9410512,"altitude":14,"angle":117,"satellites":44,"speed":25,"hex_longitude":"2ce8d340","hex_latitude":"071e0f50","is_valid_coordinates":true} 
[2026-07-01 22: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-01 22:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429196032001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334278099216629760,"note":"Value kept but may cause issues"} 
[2026-07-01 22:55:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1678787099276120064,"note":"Value kept but may cause issues"} 
[2026-07-01 22:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1782926561000,"timestamp_ms":1782926561000,"timestamp_seconds":1782926561,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eb44ee8"} 
[2026-07-01 22: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-01 22:55:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 22: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-01 22:55:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22: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-01 22: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-01 22:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":121200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":121200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":121200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:55: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-01 22:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429196032001,"66":27626,"111":206,"83":43008,"24":25,"16":334278099216629760,"44":-1678787099276120064},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,83,24,16,44]} 
[2026-07-01 22:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429196032001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:55:11] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-07-01 22:55:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-01 22:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334278099216629760,"km_value":334278099216629.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:55:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1678787099276120064,"description":"Unknown IO ID 44"} 
[2026-07-01 22:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429196032001,"power":27626,"unknown_111":206,"unknown_83":43008,"ignition":25,"odometer":null,"unknown_44":-1678787099276120064}} 
[2026-07-01 22:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":121200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:55:11] local.INFO: GPS data processed {"connection_id":121200,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:55:11] local.INFO: Acknowledgment sent {"connection_id":121200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:55:14] local.INFO: TCP Data received {"connection_id":120146,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 22:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120146,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 22:55:14] local.INFO: Processing buffer {"connection_id":120146,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 22:55:14] local.INFO: IMEI packet received {"connection_id":120146,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 22:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":120146,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:56:21] local.INFO: TCP Data received {"connection_id":119463,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:56:21] local.INFO: Processing buffer {"connection_id":119463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:56:21] local.INFO: IMEI packet received {"connection_id":119463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 22:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":119463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:56:22] local.INFO: TCP Data received {"connection_id":119463,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:56:22] local.INFO: Processing buffer {"connection_id":119463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:56:22] local.INFO: IMEI packet received {"connection_id":119463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:56:22] local.INFO: IMEI acknowledgment sent {"connection_id":119463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:56:23] local.INFO: TCP Data received {"connection_id":119463,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eb63730012ce9b940071d2fe80006004e2d..."} 
[2026-07-01 22:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eb63730012ce9b940071d2fe80006004e2d..."} 
[2026-07-01 22:56:23] local.INFO: Processing buffer {"connection_id":119463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1eb63730012ce9b940071d2fe80006004e2d..."} 
[2026-07-01 22:56:23] local.INFO: Packet analysis {"connection_id":119463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eb6"} 
[2026-07-01 22:56:23] local.INFO: Extracted packet for processing {"connection_id":119463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eb6"} 
[2026-07-01 22:56:23] local.INFO: GPS Element Parsed {"raw_longitude":753514816,"raw_latitude":119353320,"longitude_deg":75.3514816,"latitude_deg":11.935332,"altitude":6,"angle":78,"satellites":45,"speed":26,"hex_longitude":"2ce9b940","hex_latitude":"071d2fe8","is_valid_coordinates":true} 
[2026-07-01 22:56:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:56:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429230848001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:56:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334282183730528256,"note":"Value kept but may cause issues"} 
[2026-07-01 22:56:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1607362823951802368,"note":"Value kept but may cause issues"} 
[2026-07-01 22:56:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:56:23] local.INFO: AVL Record Parsed {"raw_timestamp":1782926686000,"timestamp_ms":1782926686000,"timestamp_seconds":1782926686,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eb63730"} 
[2026-07-01 22:56:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:56:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 22:56:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 22:56:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:56:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:56:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:56:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:56:23] local.INFO: Teltonika packet parsed successfully {"connection_id":119463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:56:23] local.INFO: Passing IMEI to GPS processor {"connection_id":119463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:56:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":119463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:56:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 22:56:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:56:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:56:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429230848001,"66":27397,"127":206,"83":43008,"24":26,"16":334282183730528256,"44":-1607362823951802368},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,83,24,16,44]} 
[2026-07-01 22:56:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:56:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:56:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429230848001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:56:23] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-07-01 22:56:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-01 22:56:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334282183730528256,"km_value":334282183730528.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:56:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1607362823951802368,"description":"Unknown IO ID 44"} 
[2026-07-01 22:56:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429230848001,"power":27397,"unknown_127":206,"unknown_83":43008,"ignition":26,"odometer":null,"unknown_44":-1607362823951802368}} 
[2026-07-01 22:56:23] local.INFO: DEBUG: GPS processor result {"connection_id":119463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:56:23] local.INFO: GPS data processed {"connection_id":119463,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:56:23] local.INFO: Acknowledgment sent {"connection_id":119463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:56:24] local.INFO: TCP Data received {"connection_id":119463,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eb63f00012ce9be40071d31a8000600402d..."} 
[2026-07-01 22:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eb63f00012ce9be40071d31a8000600402d..."} 
[2026-07-01 22:56:24] local.INFO: Processing buffer {"connection_id":119463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1eb63f00012ce9be40071d31a8000600402d..."} 
[2026-07-01 22:56:24] local.INFO: Packet analysis {"connection_id":119463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eb6"} 
[2026-07-01 22:56:24] local.INFO: Extracted packet for processing {"connection_id":119463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eb6"} 
[2026-07-01 22:56:24] local.INFO: GPS Element Parsed {"raw_longitude":753516096,"raw_latitude":119353768,"longitude_deg":75.3516096,"latitude_deg":11.9353768,"altitude":6,"angle":64,"satellites":45,"speed":28,"hex_longitude":"2ce9be40","hex_latitude":"071d31a8","is_valid_coordinates":true} 
[2026-07-01 22:56:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:56:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429231616001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:56:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334282252450004992,"note":"Value kept but may cause issues"} 
[2026-07-01 22:56:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1605181392882243584,"note":"Value kept but may cause issues"} 
[2026-07-01 22:56:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:56:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782926688000,"timestamp_ms":1782926688000,"timestamp_seconds":1782926688,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eb63f00"} 
[2026-07-01 22:56:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:56: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-01 22:56:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-01 22:56:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:56:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:56:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:56:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:56:24] local.INFO: Teltonika packet parsed successfully {"connection_id":119463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:56:24] local.INFO: Passing IMEI to GPS processor {"connection_id":119463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:56:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":119463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:56:24] 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-01 22:56:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:56:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:56:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429231616001,"66":27343,"127":206,"83":43008,"24":28,"16":334282252450004992,"44":-1605181392882243584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,83,24,16,44]} 
[2026-07-01 22:56:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:56:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:56:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429231616001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:56:24] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-07-01 22:56:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-01 22:56:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334282252450004992,"km_value":334282252450005.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:56:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1605181392882243584,"description":"Unknown IO ID 44"} 
[2026-07-01 22:56:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429231616001,"power":27343,"unknown_127":206,"unknown_83":43008,"ignition":28,"odometer":null,"unknown_44":-1605181392882243584}} 
[2026-07-01 22:56:24] local.INFO: DEBUG: GPS processor result {"connection_id":119463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:56:24] local.INFO: GPS data processed {"connection_id":119463,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:56:24] local.INFO: Acknowledgment sent {"connection_id":119463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:56:49] local.INFO: TCP Data received {"connection_id":119351,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:56:49] local.INFO: Processing buffer {"connection_id":119351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:56:49] local.INFO: IMEI packet received {"connection_id":119351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 22:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":119351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:56:53] local.INFO: TCP Data received {"connection_id":119351,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:56:53] local.INFO: Processing buffer {"connection_id":119351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:56:53] local.INFO: IMEI packet received {"connection_id":119351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":119351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:56:54] local.INFO: TCP Data received {"connection_id":119351,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eb64ab8012ce9c5c0071d36a0000600322d..."} 
[2026-07-01 22:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eb64ab8012ce9c5c0071d36a0000600322d..."} 
[2026-07-01 22:56:54] local.INFO: Processing buffer {"connection_id":119351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1eb64ab8012ce9c5c0071d36a0000600322d..."} 
[2026-07-01 22:56:54] local.INFO: Packet analysis {"connection_id":119351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eb6"} 
[2026-07-01 22:56:54] local.INFO: Extracted packet for processing {"connection_id":119351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eb6"} 
[2026-07-01 22:56:54] local.INFO: GPS Element Parsed {"raw_longitude":753518016,"raw_latitude":119355040,"longitude_deg":75.3518016,"latitude_deg":11.935504,"altitude":6,"angle":50,"satellites":45,"speed":31,"hex_longitude":"2ce9c5c0","hex_latitude":"071d36a0","is_valid_coordinates":true} 
[2026-07-01 22:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:56:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429232128001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:56:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334282359824187392,"note":"Value kept but may cause issues"} 
[2026-07-01 22:56:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1603774017998575616,"note":"Value kept but may cause issues"} 
[2026-07-01 22:56:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:56:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782926691000,"timestamp_ms":1782926691000,"timestamp_seconds":1782926691,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eb64ab8"} 
[2026-07-01 22:56:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:56: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-01 22:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-01 22:56:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:56:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:56:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:56:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:56:54] local.INFO: Teltonika packet parsed successfully {"connection_id":119351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:56:54] local.INFO: Passing IMEI to GPS processor {"connection_id":119351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:56:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":119351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:56:54] 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-01 22:56:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:56:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:56:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429232128001,"66":27484,"127":206,"83":43008,"24":31,"16":334282359824187392,"44":-1603774017998575616},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,83,24,16,44]} 
[2026-07-01 22:56:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:56:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:56:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429232128001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:56:54] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-07-01 22:56:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-07-01 22:56:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334282359824187392,"km_value":334282359824187.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:56:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1603774017998575616,"description":"Unknown IO ID 44"} 
[2026-07-01 22:56:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429232128001,"power":27484,"unknown_127":206,"unknown_83":43008,"ignition":31,"odometer":null,"unknown_44":-1603774017998575616}} 
[2026-07-01 22:56:54] local.INFO: DEBUG: GPS processor result {"connection_id":119351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:56:54] local.INFO: GPS data processed {"connection_id":119351,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:56:54] local.INFO: Acknowledgment sent {"connection_id":119351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:57:26] local.INFO: TCP Data received {"connection_id":119351,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eb796c0012ce9fb80071cad88000900b62e..."} 
[2026-07-01 22:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eb796c0012ce9fb80071cad88000900b62e..."} 
[2026-07-01 22:57:26] local.INFO: Processing buffer {"connection_id":119351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1eb796c0012ce9fb80071cad88000900b62e..."} 
[2026-07-01 22:57:26] local.INFO: Packet analysis {"connection_id":119351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eb7"} 
[2026-07-01 22:57:26] local.INFO: Extracted packet for processing {"connection_id":119351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eb7"} 
[2026-07-01 22:57:26] local.INFO: GPS Element Parsed {"raw_longitude":753531776,"raw_latitude":119319944,"longitude_deg":75.3531776,"latitude_deg":11.9319944,"altitude":9,"angle":182,"satellites":46,"speed":18,"hex_longitude":"2ce9fb80","hex_latitude":"071cad88","is_valid_coordinates":true} 
[2026-07-01 22:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:57:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429251072001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:57:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334284996934107136,"note":"Value kept but may cause issues"} 
[2026-07-01 22:57:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1585900356983836672,"note":"Value kept but may cause issues"} 
[2026-07-01 22:57:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:57:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782926776000,"timestamp_ms":1782926776000,"timestamp_seconds":1782926776,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eb796c0"} 
[2026-07-01 22:57:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:57: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-01 22:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-01 22:57:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22:57:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:57:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:57:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:57:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:57:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:57:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:57:26] 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-01 22:57:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:57:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:57:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429251072001,"66":27365,"209":206,"83":41216,"24":18,"16":334284996934107136,"44":-1585900356983836672},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,83,24,16,44]} 
[2026-07-01 22:57:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:57:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:57:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429251072001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:57:26] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-07-01 22:57:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 22:57:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334284996934107136,"km_value":334284996934107.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:57:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1585900356983836672,"description":"Unknown IO ID 44"} 
[2026-07-01 22:57:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429251072001,"power":27365,"unknown_209":206,"unknown_83":41216,"ignition":18,"odometer":null,"unknown_44":-1585900356983836672}} 
[2026-07-01 22:57:26] local.INFO: DEBUG: GPS processor result {"connection_id":119351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:57:26] local.INFO: GPS data processed {"connection_id":119351,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:57:26] local.INFO: Acknowledgment sent {"connection_id":119351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:57:48] local.INFO: TCP Data received {"connection_id":121201,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:57:48] local.INFO: Processing buffer {"connection_id":121201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:57:48] local.INFO: IMEI packet received {"connection_id":121201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 22:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":121201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:57:53] local.INFO: TCP Data received {"connection_id":121201,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:57:53] local.INFO: Processing buffer {"connection_id":121201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:57:53] local.INFO: IMEI packet received {"connection_id":121201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":121201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:57:54] local.INFO: TCP Data received {"connection_id":121201,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eb7c988012ce9f880071c8920000700b82e..."} 
[2026-07-01 22:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eb7c988012ce9f880071c8920000700b82e..."} 
[2026-07-01 22:57:54] local.INFO: Processing buffer {"connection_id":121201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1eb7c988012ce9f880071c8920000700b82e..."} 
[2026-07-01 22:57:54] local.INFO: Packet analysis {"connection_id":121201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eb7"} 
[2026-07-01 22:57:54] local.INFO: Extracted packet for processing {"connection_id":121201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eb7"} 
[2026-07-01 22:57:54] local.INFO: GPS Element Parsed {"raw_longitude":753531008,"raw_latitude":119310624,"longitude_deg":75.3531008,"latitude_deg":11.9310624,"altitude":7,"angle":184,"satellites":46,"speed":38,"hex_longitude":"2ce9f880","hex_latitude":"071c8920","is_valid_coordinates":true} 
[2026-07-01 22: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-01 22:57:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429254656001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:57:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334285452200640512,"note":"Value kept but may cause issues"} 
[2026-07-01 22:57:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1586533675683706880,"note":"Value kept but may cause issues"} 
[2026-07-01 22:57:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:57:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782926789000,"timestamp_ms":1782926789000,"timestamp_seconds":1782926789,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eb7c988"} 
[2026-07-01 22: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-01 22:57: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-01 22: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 22:57:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 22: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-01 22: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-01 22:57:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:57:54] local.INFO: Teltonika packet parsed successfully {"connection_id":121201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:57:54] local.INFO: Passing IMEI to GPS processor {"connection_id":121201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:57:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":121201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:57:54] 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-01 22:57:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:57:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:57:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429254656001,"66":27484,"209":206,"83":41216,"24":38,"16":334285452200640512,"44":-1586533675683706880},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,83,24,16,44]} 
[2026-07-01 22:57:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:57:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:57:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429254656001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:57:54] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-07-01 22:57:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 22:57:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334285452200640512,"km_value":334285452200640.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:57:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1586533675683706880,"description":"Unknown IO ID 44"} 
[2026-07-01 22:57:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429254656001,"power":27484,"unknown_209":206,"unknown_83":41216,"ignition":38,"odometer":null,"unknown_44":-1586533675683706880}} 
[2026-07-01 22:57:54] local.INFO: DEBUG: GPS processor result {"connection_id":121201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:57:54] local.INFO: GPS data processed {"connection_id":121201,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:57:54] local.INFO: Acknowledgment sent {"connection_id":121201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:58:26] local.INFO: TCP Data received {"connection_id":121201,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eb7ecb0012ce9f600071c6430000600b72c..."} 
[2026-07-01 22:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eb7ecb0012ce9f600071c6430000600b72c..."} 
[2026-07-01 22:58:26] local.INFO: Processing buffer {"connection_id":121201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1eb7ecb0012ce9f600071c6430000600b72c..."} 
[2026-07-01 22:58:26] local.INFO: Packet analysis {"connection_id":121201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eb7"} 
[2026-07-01 22:58:26] local.INFO: Extracted packet for processing {"connection_id":121201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eb7"} 
[2026-07-01 22:58:26] local.INFO: GPS Element Parsed {"raw_longitude":753530368,"raw_latitude":119301168,"longitude_deg":75.3530368,"latitude_deg":11.9301168,"altitude":6,"angle":183,"satellites":44,"speed":43,"hex_longitude":"2ce9f600","hex_latitude":"071c6430","is_valid_coordinates":true} 
[2026-07-01 22:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429257984001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334285911762141184,"note":"Value kept but may cause issues"} 
[2026-07-01 22:58:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1587378100616224768,"note":"Value kept but may cause issues"} 
[2026-07-01 22:58:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782926798000,"timestamp_ms":1782926798000,"timestamp_seconds":1782926798,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eb7ecb0"} 
[2026-07-01 22:58:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:58: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-01 22:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 22:58:26] 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-01 22:58:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:58:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":121201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":121201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":121201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:58:26] 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-01 22:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429257984001,"66":27571,"209":206,"83":41216,"24":43,"16":334285911762141184,"44":-1587378100616224768},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,83,24,16,44]} 
[2026-07-01 22:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429257984001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:58:26] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-07-01 22:58:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 22:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334285911762141184,"km_value":334285911762141.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:58:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1587378100616224768,"description":"Unknown IO ID 44"} 
[2026-07-01 22:58:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429257984001,"power":27571,"unknown_209":206,"unknown_83":41216,"ignition":43,"odometer":null,"unknown_44":-1587378100616224768}} 
[2026-07-01 22:58:26] local.INFO: DEBUG: GPS processor result {"connection_id":121201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:58:26] local.INFO: GPS data processed {"connection_id":121201,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:58:26] local.INFO: Acknowledgment sent {"connection_id":121201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:58:48] local.INFO: TCP Data received {"connection_id":119354,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:58:48] local.INFO: Processing buffer {"connection_id":119354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:58:48] local.INFO: IMEI packet received {"connection_id":119354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 22:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":119354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:58:49] local.INFO: TCP Data received {"connection_id":119354,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:58:49] local.INFO: Processing buffer {"connection_id":119354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:58:49] local.INFO: IMEI packet received {"connection_id":119354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":119354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:58:53] local.INFO: TCP Data received {"connection_id":119354,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:58:53] local.INFO: Processing buffer {"connection_id":119354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:58:53] local.INFO: IMEI packet received {"connection_id":119354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":119354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:58:54] local.INFO: TCP Data received {"connection_id":119354,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eb80fd8012ce9f440071c4030000800b328..."} 
[2026-07-01 22:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eb80fd8012ce9f440071c4030000800b328..."} 
[2026-07-01 22:58:54] local.INFO: Processing buffer {"connection_id":119354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1eb80fd8012ce9f440071c4030000800b328..."} 
[2026-07-01 22:58:54] local.INFO: Packet analysis {"connection_id":119354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eb8"} 
[2026-07-01 22:58:54] local.INFO: Extracted packet for processing {"connection_id":119354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eb8"} 
[2026-07-01 22:58:54] local.INFO: GPS Element Parsed {"raw_longitude":753529920,"raw_latitude":119291952,"longitude_deg":75.352992,"latitude_deg":11.9291952,"altitude":8,"angle":179,"satellites":40,"speed":38,"hex_longitude":"2ce9f440","hex_latitude":"071c4030","is_valid_coordinates":true} 
[2026-07-01 22:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:58:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429260288001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:58:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334286358438739968,"note":"Value kept but may cause issues"} 
[2026-07-01 22:58:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1588081788060422144,"note":"Value kept but may cause issues"} 
[2026-07-01 22:58:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:58:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782926807000,"timestamp_ms":1782926807000,"timestamp_seconds":1782926807,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eb80fd8"} 
[2026-07-01 22:58:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:58: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-01 22:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-01 22:58:54] 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-01 22:58:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:58:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:58:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:58:54] local.INFO: Teltonika packet parsed successfully {"connection_id":119354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:58:54] local.INFO: Passing IMEI to GPS processor {"connection_id":119354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:58:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":119354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:58:54] 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-01 22:58:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:58:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:58:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429260288001,"66":27604,"209":206,"83":41216,"24":38,"16":334286358438739968,"44":-1588081788060422144},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,83,24,16,44]} 
[2026-07-01 22:58:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:58:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:58:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429260288001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:58:54] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-07-01 22:58:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 22:58:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334286358438739968,"km_value":334286358438739.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:58:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1588081788060422144,"description":"Unknown IO ID 44"} 
[2026-07-01 22:58:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429260288001,"power":27604,"unknown_209":206,"unknown_83":41216,"ignition":38,"odometer":null,"unknown_44":-1588081788060422144}} 
[2026-07-01 22:58:54] local.INFO: DEBUG: GPS processor result {"connection_id":119354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:58:54] local.INFO: GPS data processed {"connection_id":119354,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:58:54] local.INFO: Acknowledgment sent {"connection_id":119354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:59:26] local.INFO: TCP Data received {"connection_id":119354,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eb82f18012ce9f6c0071c24f8000a00a627..."} 
[2026-07-01 22:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eb82f18012ce9f6c0071c24f8000a00a627..."} 
[2026-07-01 22:59:26] local.INFO: Processing buffer {"connection_id":119354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1eb82f18012ce9f6c0071c24f8000a00a627..."} 
[2026-07-01 22:59:26] local.INFO: Packet analysis {"connection_id":119354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eb8"} 
[2026-07-01 22:59:26] local.INFO: Extracted packet for processing {"connection_id":119354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eb8"} 
[2026-07-01 22:59:26] local.INFO: GPS Element Parsed {"raw_longitude":753530560,"raw_latitude":119284984,"longitude_deg":75.353056,"latitude_deg":11.9284984,"altitude":10,"angle":166,"satellites":39,"speed":34,"hex_longitude":"2ce9f6c0","hex_latitude":"071c24f8","is_valid_coordinates":true} 
[2026-07-01 22:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 22:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429262592001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334286697741156352,"note":"Value kept but may cause issues"} 
[2026-07-01 22:59:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1588574369272025088,"note":"Value kept but may cause issues"} 
[2026-07-01 22:59:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782926815000,"timestamp_ms":1782926815000,"timestamp_seconds":1782926815,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eb82f18"} 
[2026-07-01 22:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 22:59: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-01 22:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-01 22:59:26] 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-01 22:59:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 22:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 22:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:59:26] 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-01 22:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429262592001,"66":27397,"209":206,"83":41216,"24":34,"16":334286697741156352,"44":-1588574369272025088},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,83,24,16,44]} 
[2026-07-01 22:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429262592001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:59:26] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-07-01 22:59:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 22:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334286697741156352,"km_value":334286697741156.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:59:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1588574369272025088,"description":"Unknown IO ID 44"} 
[2026-07-01 22:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429262592001,"power":27397,"unknown_209":206,"unknown_83":41216,"ignition":34,"odometer":null,"unknown_44":-1588574369272025088}} 
[2026-07-01 22:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":119354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:59:26] local.INFO: GPS data processed {"connection_id":119354,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:59:26] local.INFO: Acknowledgment sent {"connection_id":119354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 22:59:53] local.INFO: TCP Data received {"connection_id":121203,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:59:53] local.INFO: Processing buffer {"connection_id":121203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:59:53] local.INFO: IMEI packet received {"connection_id":121203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 22:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":121203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 22:59:58] local.INFO: TCP Data received {"connection_id":121203,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:59:58] local.INFO: Processing buffer {"connection_id":121203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 22:59:58] local.INFO: IMEI packet received {"connection_id":121203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 22:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":121203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 22:59:58] local.INFO: TCP Data received {"connection_id":121203,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eb9d4f8012cea6f00071aa908001700a024..."} 
[2026-07-01 22:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eb9d4f8012cea6f00071aa908001700a024..."} 
[2026-07-01 22:59:58] local.INFO: Processing buffer {"connection_id":121203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1eb9d4f8012cea6f00071aa908001700a024..."} 
[2026-07-01 22:59:58] local.INFO: Packet analysis {"connection_id":121203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eb9"} 
[2026-07-01 22:59:58] local.INFO: Extracted packet for processing {"connection_id":121203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eb9"} 
[2026-07-01 22:59:58] local.INFO: GPS Element Parsed {"raw_longitude":753561344,"raw_latitude":119187720,"longitude_deg":75.3561344,"latitude_deg":11.918772,"altitude":23,"angle":160,"satellites":36,"speed":36,"hex_longitude":"2cea6f00","hex_latitude":"071aa908","is_valid_coordinates":true} 
[2026-07-01 22: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-01 22:59:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429289984001,"note":"Value kept but may cause issues"} 
[2026-07-01 22:59:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334291641248514048,"note":"Value kept but may cause issues"} 
[2026-07-01 22:59:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1557119540649023488,"note":"Value kept but may cause issues"} 
[2026-07-01 22:59:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 22:59:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782926923000,"timestamp_ms":1782926923000,"timestamp_seconds":1782926923,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eb9d4f8"} 
[2026-07-01 22: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-01 22:59:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 22: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-01 22:59:58] 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-01 22: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-01 22: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-01 22:59:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 22:59:58] local.INFO: Teltonika packet parsed successfully {"connection_id":121203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 22:59:58] local.INFO: Passing IMEI to GPS processor {"connection_id":121203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:59:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":121203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 22:59:58] 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-01 22:59:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 22:59:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 22:59:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429289984001,"66":27571,"103":206,"83":41216,"24":36,"16":334291641248514048,"44":-1557119540649023488},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-07-01 22:59:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 22:59:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 22:59:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429289984001,"description":"Unknown IO ID 0"} 
[2026-07-01 22:59:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-01 22:59:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 22:59:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334291641248514048,"km_value":334291641248514.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 22:59:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1557119540649023488,"description":"Unknown IO ID 44"} 
[2026-07-01 22:59:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429289984001,"power":27571,"unknown_103":206,"unknown_83":41216,"ignition":36,"odometer":null,"unknown_44":-1557119540649023488}} 
[2026-07-01 22:59:58] local.INFO: DEBUG: GPS processor result {"connection_id":121203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 22:59:58] local.INFO: GPS data processed {"connection_id":121203,"processed":1,"errors":0,"total":1} 
[2026-07-01 22:59:58] local.INFO: Acknowledgment sent {"connection_id":121203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:00:08] local.INFO: TCP Data received {"connection_id":121203,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eb9ec68012cea77c0071a96380019009427..."} 
[2026-07-01 23:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eb9ec68012cea77c0071a96380019009427..."} 
[2026-07-01 23:00:08] local.INFO: Processing buffer {"connection_id":121203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1eb9ec68012cea77c0071a96380019009427..."} 
[2026-07-01 23:00:08] local.INFO: Packet analysis {"connection_id":121203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eb9"} 
[2026-07-01 23:00:08] local.INFO: Extracted packet for processing {"connection_id":121203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eb9"} 
[2026-07-01 23:00:08] local.INFO: GPS Element Parsed {"raw_longitude":753563584,"raw_latitude":119182904,"longitude_deg":75.3563584,"latitude_deg":11.9182904,"altitude":25,"angle":148,"satellites":39,"speed":31,"hex_longitude":"2cea77c0","hex_latitude":"071a9638","is_valid_coordinates":true} 
[2026-07-01 23:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429292288001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334291898946551808,"note":"Value kept but may cause issues"} 
[2026-07-01 23:00:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1554023315907475456,"note":"Value kept but may cause issues"} 
[2026-07-01 23:00:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1782926929000,"timestamp_ms":1782926929000,"timestamp_seconds":1782926929,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eb9ec68"} 
[2026-07-01 23:00:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:00: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-01 23:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-01 23:00:08] 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-01 23:00:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:00:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":121203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":121203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":121203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:00:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 23:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429292288001,"66":27517,"103":206,"83":41216,"24":31,"16":334291898946551808,"44":-1554023315907475456},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-07-01 23:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429292288001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:00:08] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-01 23:00:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 23:00:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334291898946551808,"km_value":334291898946551.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:00:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1554023315907475456,"description":"Unknown IO ID 44"} 
[2026-07-01 23:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429292288001,"power":27517,"unknown_103":206,"unknown_83":41216,"ignition":31,"odometer":null,"unknown_44":-1554023315907475456}} 
[2026-07-01 23:00:08] local.INFO: DEBUG: GPS processor result {"connection_id":121203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:00:08] local.INFO: GPS data processed {"connection_id":121203,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:00:08] local.INFO: Acknowledgment sent {"connection_id":121203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:00:44] local.INFO: TCP Data received {"connection_id":120147,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 23:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120147,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 23:00:44] local.INFO: Processing buffer {"connection_id":120147,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 23:00:44] local.INFO: IMEI packet received {"connection_id":120147,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 23:00:44] local.INFO: IMEI acknowledgment sent {"connection_id":120147,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:00:48] local.INFO: TCP Data received {"connection_id":120148,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:00:48] local.INFO: Processing buffer {"connection_id":120148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:00:48] local.INFO: IMEI packet received {"connection_id":120148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 23:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":120148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:00:53] local.INFO: TCP Data received {"connection_id":120148,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:00:53] local.INFO: Processing buffer {"connection_id":120148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:00:53] local.INFO: IMEI packet received {"connection_id":120148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":120148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:00:54] local.INFO: TCP Data received {"connection_id":120148,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eba1760012cea8cc0071a7b70001c00862b..."} 
[2026-07-01 23:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eba1760012cea8cc0071a7b70001c00862b..."} 
[2026-07-01 23:00:54] local.INFO: Processing buffer {"connection_id":120148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1eba1760012cea8cc0071a7b70001c00862b..."} 
[2026-07-01 23:00:54] local.INFO: Packet analysis {"connection_id":120148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eba"} 
[2026-07-01 23:00:54] local.INFO: Extracted packet for processing {"connection_id":120148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eba"} 
[2026-07-01 23:00:54] local.INFO: GPS Element Parsed {"raw_longitude":753568960,"raw_latitude":119176048,"longitude_deg":75.356896,"latitude_deg":11.9176048,"altitude":28,"angle":134,"satellites":43,"speed":30,"hex_longitude":"2cea8cc0","hex_latitude":"071a7b70","is_valid_coordinates":true} 
[2026-07-01 23: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-01 23:00:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429293824001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:00:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334292315558379520,"note":"Value kept but may cause issues"} 
[2026-07-01 23:00:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1551560409862490112,"note":"Value kept but may cause issues"} 
[2026-07-01 23:00:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:00:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782926940000,"timestamp_ms":1782926940000,"timestamp_seconds":1782926940,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eba1760"} 
[2026-07-01 23: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-01 23:00: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-01 23: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-01 23:00:54] 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-01 23: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-01 23: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-01 23:00:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:00:54] local.INFO: Teltonika packet parsed successfully {"connection_id":120148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:00:54] local.INFO: Passing IMEI to GPS processor {"connection_id":120148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:00:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":120148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:00:54] 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-01 23:00:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:00:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:00:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429293824001,"66":27593,"103":206,"83":41216,"24":30,"16":334292315558379520,"44":-1551560409862490112},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,44]} 
[2026-07-01 23:00:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:00:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:00:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429293824001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:00:54] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-07-01 23:00:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 23:00:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334292315558379520,"km_value":334292315558379.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:00:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1551560409862490112,"description":"Unknown IO ID 44"} 
[2026-07-01 23:00:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429293824001,"power":27593,"unknown_103":206,"unknown_83":41216,"ignition":30,"odometer":null,"unknown_44":-1551560409862490112}} 
[2026-07-01 23:00:54] local.INFO: DEBUG: GPS processor result {"connection_id":120148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:00:54] local.INFO: GPS data processed {"connection_id":120148,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:00:54] local.INFO: Acknowledgment sent {"connection_id":120148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:01:14] local.INFO: TCP Data received {"connection_id":119464,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 23:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119464,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 23:01:14] local.INFO: Processing buffer {"connection_id":119464,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 23:01:14] local.INFO: IMEI packet received {"connection_id":119464,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 23:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":119464,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:01:25] local.INFO: TCP Data received {"connection_id":120148,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eba3a88012ceaa0c0071a6b40001c00792b..."} 
[2026-07-01 23:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eba3a88012ceaa0c0071a6b40001c00792b..."} 
[2026-07-01 23:01:25] local.INFO: Processing buffer {"connection_id":120148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1eba3a88012ceaa0c0071a6b40001c00792b..."} 
[2026-07-01 23:01:25] local.INFO: Packet analysis {"connection_id":120148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eba"} 
[2026-07-01 23:01:25] local.INFO: Extracted packet for processing {"connection_id":120148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eba"} 
[2026-07-01 23:01:25] local.INFO: GPS Element Parsed {"raw_longitude":753574080,"raw_latitude":119171904,"longitude_deg":75.357408,"latitude_deg":11.9171904,"altitude":28,"angle":121,"satellites":43,"speed":26,"hex_longitude":"2ceaa0c0","hex_latitude":"071a6b40","is_valid_coordinates":true} 
[2026-07-01 23:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:01:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429296640001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:01:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334292633385959424,"note":"Value kept but may cause issues"} 
[2026-07-01 23:01:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1545649435353321472,"note":"Value kept but may cause issues"} 
[2026-07-01 23:01:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:01:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782926949000,"timestamp_ms":1782926949000,"timestamp_seconds":1782926949,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eba3a88"} 
[2026-07-01 23:01:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:01: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-01 23:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-01 23:01:25] 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-01 23:01:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:01:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:01:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:01:25] local.INFO: Teltonika packet parsed successfully {"connection_id":120148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:01:25] local.INFO: Passing IMEI to GPS processor {"connection_id":120148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:01:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":120148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:01:25] 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-01 23:01:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:01:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:01:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429296640001,"66":27691,"104":206,"83":41216,"24":26,"16":334292633385959424,"44":-1545649435353321472},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-07-01 23:01:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:01:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:01:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429296640001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:01:25] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-07-01 23:01:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 23:01:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334292633385959424,"km_value":334292633385959.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:01:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1545649435353321472,"description":"Unknown IO ID 44"} 
[2026-07-01 23:01:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429296640001,"power":27691,"unknown_104":206,"unknown_83":41216,"ignition":26,"odometer":null,"unknown_44":-1545649435353321472}} 
[2026-07-01 23:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":120148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:01:26] local.INFO: GPS data processed {"connection_id":120148,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:01:26] local.INFO: Acknowledgment sent {"connection_id":120148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:01:48] local.INFO: TCP Data received {"connection_id":121204,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:01:48] local.INFO: Processing buffer {"connection_id":121204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:01:48] local.INFO: IMEI packet received {"connection_id":121204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 23:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":121204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:01:53] local.INFO: TCP Data received {"connection_id":121204,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:01:53] local.INFO: Processing buffer {"connection_id":121204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:01:53] local.INFO: IMEI packet received {"connection_id":121204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":121204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:01:54] local.INFO: TCP Data received {"connection_id":121204,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eba6198012ceaba00071a6028001e006e2d..."} 
[2026-07-01 23:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eba6198012ceaba00071a6028001e006e2d..."} 
[2026-07-01 23:01:54] local.INFO: Processing buffer {"connection_id":121204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1eba6198012ceaba00071a6028001e006e2d..."} 
[2026-07-01 23:01:54] local.INFO: Packet analysis {"connection_id":121204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eba"} 
[2026-07-01 23:01:54] local.INFO: Extracted packet for processing {"connection_id":121204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eba"} 
[2026-07-01 23:01:54] local.INFO: GPS Element Parsed {"raw_longitude":753580544,"raw_latitude":119169064,"longitude_deg":75.3580544,"latitude_deg":11.9169064,"altitude":30,"angle":110,"satellites":45,"speed":20,"hex_longitude":"2ceaba00","hex_latitude":"071a6028","is_valid_coordinates":true} 
[2026-07-01 23:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429298944001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334292968393408512,"note":"Value kept but may cause issues"} 
[2026-07-01 23:01:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1540019935820169216,"note":"Value kept but may cause issues"} 
[2026-07-01 23:01:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782926959000,"timestamp_ms":1782926959000,"timestamp_seconds":1782926959,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eba6198"} 
[2026-07-01 23:01:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:01: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-01 23:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-07-01 23:01:54] 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-01 23:01:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:01:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":121204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":121204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":121204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:01:54] 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-01 23:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429298944001,"66":27517,"104":206,"83":41216,"24":20,"16":334292968393408512,"44":-1540019935820169216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,83,24,16,44]} 
[2026-07-01 23:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429298944001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:01:54] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-07-01 23:01:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 23:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334292968393408512,"km_value":334292968393408.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:01:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1540019935820169216,"description":"Unknown IO ID 44"} 
[2026-07-01 23:01:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429298944001,"power":27517,"unknown_104":206,"unknown_83":41216,"ignition":20,"odometer":null,"unknown_44":-1540019935820169216}} 
[2026-07-01 23:01:54] local.INFO: DEBUG: GPS processor result {"connection_id":121204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:01:54] local.INFO: GPS data processed {"connection_id":121204,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:01:54] local.INFO: Acknowledgment sent {"connection_id":121204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:02:26] local.INFO: TCP Data received {"connection_id":121204,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ebc22d0012ceb85000719dd80001b009a2d..."} 
[2026-07-01 23:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ebc22d0012ceb85000719dd80001b009a2d..."} 
[2026-07-01 23:02:26] local.INFO: Processing buffer {"connection_id":121204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ebc22d0012ceb85000719dd80001b009a2d..."} 
[2026-07-01 23:02:26] local.INFO: Packet analysis {"connection_id":121204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ebc"} 
[2026-07-01 23:02:26] local.INFO: Extracted packet for processing {"connection_id":121204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ebc"} 
[2026-07-01 23:02:26] local.INFO: GPS Element Parsed {"raw_longitude":753632512,"raw_latitude":119135616,"longitude_deg":75.3632512,"latitude_deg":11.9135616,"altitude":27,"angle":154,"satellites":45,"speed":33,"hex_longitude":"2ceb8500","hex_latitude":"0719dd80","is_valid_coordinates":true} 
[2026-07-01 23:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429327872001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:02:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334296052179927040,"note":"Value kept but may cause issues"} 
[2026-07-01 23:02:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1479784290811185152,"note":"Value kept but may cause issues"} 
[2026-07-01 23:02:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:02:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782927074000,"timestamp_ms":1782927074000,"timestamp_seconds":1782927074,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ebc22d0"} 
[2026-07-01 23:02:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:02: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-01 23:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-01 23:02:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23:02:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:02:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:02:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:02:26] local.INFO: Teltonika packet parsed successfully {"connection_id":121204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:02:26] local.INFO: Passing IMEI to GPS processor {"connection_id":121204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:02:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":121204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:02:26] 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-01 23:02:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:02:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:02:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429327872001,"66":27365,"137":206,"83":41216,"24":33,"16":334296052179927040,"44":-1479784290811185152},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,44]} 
[2026-07-01 23:02:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:02:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:02:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429327872001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:02:26] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-01 23:02:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 23:02:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334296052179927040,"km_value":334296052179927.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:02:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1479784290811185152,"description":"Unknown IO ID 44"} 
[2026-07-01 23:02:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429327872001,"power":27365,"unknown_137":206,"unknown_83":41216,"ignition":33,"odometer":null,"unknown_44":-1479784290811185152}} 
[2026-07-01 23:02:26] local.INFO: DEBUG: GPS processor result {"connection_id":121204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:02:26] local.INFO: GPS data processed {"connection_id":121204,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:02:26] local.INFO: Acknowledgment sent {"connection_id":121204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:02:46] local.INFO: TCP Data received {"connection_id":121205,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:02:46] local.INFO: Processing buffer {"connection_id":121205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:02:46] local.INFO: IMEI packet received {"connection_id":121205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 23:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":121205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:02:48] local.INFO: TCP Data received {"connection_id":121205,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:02:48] local.INFO: Processing buffer {"connection_id":121205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:02:48] local.INFO: IMEI packet received {"connection_id":121205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":121205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:02:50] local.INFO: TCP Data received {"connection_id":121205,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:02:50] local.INFO: Processing buffer {"connection_id":121205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:02:50] local.INFO: IMEI packet received {"connection_id":121205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":121205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:02:54] local.INFO: TCP Data received {"connection_id":121205,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:02:54] local.INFO: Processing buffer {"connection_id":121205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:02:54] local.INFO: IMEI packet received {"connection_id":121205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":121205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:02:55] local.INFO: TCP Data received {"connection_id":121205,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ebc51b0012ceb95400719bdb0001d00972c..."} 
[2026-07-01 23:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ebc51b0012ceb95400719bdb0001d00972c..."} 
[2026-07-01 23:02:55] local.INFO: Processing buffer {"connection_id":121205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ebc51b0012ceb95400719bdb0001d00972c..."} 
[2026-07-01 23:02:55] local.INFO: Packet analysis {"connection_id":121205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ebc"} 
[2026-07-01 23:02:55] local.INFO: Extracted packet for processing {"connection_id":121205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ebc"} 
[2026-07-01 23:02:55] local.INFO: GPS Element Parsed {"raw_longitude":753636672,"raw_latitude":119127472,"longitude_deg":75.3636672,"latitude_deg":11.9127472,"altitude":29,"angle":151,"satellites":44,"speed":26,"hex_longitude":"2ceb9540","hex_latitude":"0719bdb0","is_valid_coordinates":true} 
[2026-07-01 23:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429330944001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334296494561558528,"note":"Value kept but may cause issues"} 
[2026-07-01 23:02:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1475773272395251712,"note":"Value kept but may cause issues"} 
[2026-07-01 23:02:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782927086000,"timestamp_ms":1782927086000,"timestamp_seconds":1782927086,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ebc51b0"} 
[2026-07-01 23:02:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:02:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 23:02:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23:02:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:02:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":121205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":121205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":121205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:02:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 23:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:02:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:02:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429330944001,"66":27397,"137":206,"83":41216,"24":26,"16":334296494561558528,"44":-1475773272395251712},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,44]} 
[2026-07-01 23:02:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:02:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:02:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429330944001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:02:55] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-01 23:02:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 23:02:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334296494561558528,"km_value":334296494561558.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:02:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1475773272395251712,"description":"Unknown IO ID 44"} 
[2026-07-01 23:02:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429330944001,"power":27397,"unknown_137":206,"unknown_83":41216,"ignition":26,"odometer":null,"unknown_44":-1475773272395251712}} 
[2026-07-01 23:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":121205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:02:55] local.INFO: GPS data processed {"connection_id":121205,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:02:55] local.INFO: Acknowledgment sent {"connection_id":121205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:03:27] local.INFO: TCP Data received {"connection_id":121205,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ebc8090012ceba60007199e10001f00962b..."} 
[2026-07-01 23:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ebc8090012ceba60007199e10001f00962b..."} 
[2026-07-01 23:03:27] local.INFO: Processing buffer {"connection_id":121205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ebc8090012ceba60007199e10001f00962b..."} 
[2026-07-01 23:03:27] local.INFO: Packet analysis {"connection_id":121205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ebc"} 
[2026-07-01 23:03:27] local.INFO: Extracted packet for processing {"connection_id":121205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ebc"} 
[2026-07-01 23:03:27] local.INFO: GPS Element Parsed {"raw_longitude":753640960,"raw_latitude":119119376,"longitude_deg":75.364096,"latitude_deg":11.9119376,"altitude":31,"angle":150,"satellites":43,"speed":32,"hex_longitude":"2ceba600","hex_latitude":"07199e10","is_valid_coordinates":true} 
[2026-07-01 23:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429334016001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334296936943190016,"note":"Value kept but may cause issues"} 
[2026-07-01 23:03:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1471199304025788416,"note":"Value kept but may cause issues"} 
[2026-07-01 23:03:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782927098000,"timestamp_ms":1782927098000,"timestamp_seconds":1782927098,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ebc8090"} 
[2026-07-01 23:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:03: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-01 23:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-01 23:03:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23:03:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":121205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":121205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":121205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:03:27] 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-01 23:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429334016001,"66":27365,"137":206,"83":41216,"24":32,"16":334296936943190016,"44":-1471199304025788416},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,44]} 
[2026-07-01 23:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429334016001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:03:27] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-07-01 23:03:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 23:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334296936943190016,"km_value":334296936943190.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:03:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1471199304025788416,"description":"Unknown IO ID 44"} 
[2026-07-01 23:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429334016001,"power":27365,"unknown_137":206,"unknown_83":41216,"ignition":32,"odometer":null,"unknown_44":-1471199304025788416}} 
[2026-07-01 23:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":121205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:03:27] local.INFO: GPS data processed {"connection_id":121205,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:03:27] local.INFO: Acknowledgment sent {"connection_id":121205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:03:48] local.INFO: TCP Data received {"connection_id":121206,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:03:48] local.INFO: Processing buffer {"connection_id":121206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:03:48] local.INFO: IMEI packet received {"connection_id":121206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 23:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":121206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:03:49] local.INFO: TCP Data received {"connection_id":121206,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:03:49] local.INFO: Processing buffer {"connection_id":121206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:03:49] local.INFO: IMEI packet received {"connection_id":121206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":121206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:03:53] local.INFO: TCP Data received {"connection_id":121206,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:03:53] local.INFO: Processing buffer {"connection_id":121206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:03:53] local.INFO: IMEI packet received {"connection_id":121206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":121206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:03:54] local.INFO: TCP Data received {"connection_id":121206,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ebd72c0012cec4e400718cdb0001d009e2c..."} 
[2026-07-01 23:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ebd72c0012cec4e400718cdb0001d009e2c..."} 
[2026-07-01 23:03:54] local.INFO: Processing buffer {"connection_id":121206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ebd72c0012cec4e400718cdb0001d009e2c..."} 
[2026-07-01 23:03:54] local.INFO: Packet analysis {"connection_id":121206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ebd"} 
[2026-07-01 23:03:54] local.INFO: Extracted packet for processing {"connection_id":121206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ebd"} 
[2026-07-01 23:03:54] local.INFO: GPS Element Parsed {"raw_longitude":753684032,"raw_latitude":119066032,"longitude_deg":75.3684032,"latitude_deg":11.9066032,"altitude":29,"angle":158,"satellites":44,"speed":46,"hex_longitude":"2cec4e40","hex_latitude":"0718cdb0","is_valid_coordinates":true} 
[2026-07-01 23: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-01 23:03:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429351424001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:03:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334300295607615488,"note":"Value kept but may cause issues"} 
[2026-07-01 23:03:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1423348557999087616,"note":"Value kept but may cause issues"} 
[2026-07-01 23:03:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:03:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782927160000,"timestamp_ms":1782927160000,"timestamp_seconds":1782927160,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ebd72c0"} 
[2026-07-01 23: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-01 23:03: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-01 23: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-01 23:03:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23: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-01 23: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-01 23:03:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:03:54] local.INFO: Teltonika packet parsed successfully {"connection_id":121206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:03:54] local.INFO: Passing IMEI to GPS processor {"connection_id":121206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:03:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":121206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:03:54] 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-01 23:03:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:03:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:03:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429351424001,"66":27539,"115":206,"83":41216,"24":46,"16":334300295607615488,"44":-1423348557999087616},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,83,24,16,44]} 
[2026-07-01 23:03:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:03:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:03:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429351424001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:03:54] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-01 23:03:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 23:03:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334300295607615488,"km_value":334300295607615.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:03:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1423348557999087616,"description":"Unknown IO ID 44"} 
[2026-07-01 23:03:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429351424001,"power":27539,"unknown_115":206,"unknown_83":41216,"ignition":46,"odometer":null,"unknown_44":-1423348557999087616}} 
[2026-07-01 23:03:54] local.INFO: DEBUG: GPS processor result {"connection_id":121206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:03:54] local.INFO: GPS data processed {"connection_id":121206,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:03:54] local.INFO: Acknowledgment sent {"connection_id":121206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:04:26] local.INFO: TCP Data received {"connection_id":121206,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ebd9200012cec59800718ac30001c00a027..."} 
[2026-07-01 23:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ebd9200012cec59800718ac30001c00a027..."} 
[2026-07-01 23:04:26] local.INFO: Processing buffer {"connection_id":121206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ebd9200012cec59800718ac30001c00a027..."} 
[2026-07-01 23:04:26] local.INFO: Packet analysis {"connection_id":121206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ebd"} 
[2026-07-01 23:04:26] local.INFO: Extracted packet for processing {"connection_id":121206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ebd"} 
[2026-07-01 23:04:26] local.INFO: GPS Element Parsed {"raw_longitude":753686912,"raw_latitude":119057456,"longitude_deg":75.3686912,"latitude_deg":11.9057456,"altitude":28,"angle":160,"satellites":39,"speed":46,"hex_longitude":"2cec5980","hex_latitude":"0718ac30","is_valid_coordinates":true} 
[2026-07-01 23:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:04:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429352960001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:04:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334300733694279680,"note":"Value kept but may cause issues"} 
[2026-07-01 23:04:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1419126433350045696,"note":"Value kept but may cause issues"} 
[2026-07-01 23:04:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:04:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782927168000,"timestamp_ms":1782927168000,"timestamp_seconds":1782927168,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ebd9200"} 
[2026-07-01 23:04:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:04: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-01 23:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-01 23:04:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23:04:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:04:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:04:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:04:26] local.INFO: Teltonika packet parsed successfully {"connection_id":121206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:04:26] local.INFO: Passing IMEI to GPS processor {"connection_id":121206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:04:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":121206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:04:26] 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-01 23:04:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:04:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:04:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429352960001,"66":27571,"115":206,"83":41216,"24":46,"16":334300733694279680,"44":-1419126433350045696},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,83,24,16,44]} 
[2026-07-01 23:04:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:04:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:04:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429352960001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:04:26] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-01 23:04:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 23:04:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334300733694279680,"km_value":334300733694279.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:04:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1419126433350045696,"description":"Unknown IO ID 44"} 
[2026-07-01 23:04:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429352960001,"power":27571,"unknown_115":206,"unknown_83":41216,"ignition":46,"odometer":null,"unknown_44":-1419126433350045696}} 
[2026-07-01 23:04:26] local.INFO: DEBUG: GPS processor result {"connection_id":121206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:04:26] local.INFO: GPS data processed {"connection_id":121206,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:04:26] local.INFO: Acknowledgment sent {"connection_id":121206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:04:48] local.INFO: TCP Data received {"connection_id":120151,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:04:48] local.INFO: Processing buffer {"connection_id":120151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:04:48] local.INFO: IMEI packet received {"connection_id":120151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 23:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":120151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:04:52] local.INFO: TCP Data received {"connection_id":120151,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:04:52] local.INFO: Processing buffer {"connection_id":120151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:04:52] local.INFO: IMEI packet received {"connection_id":120151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":120151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:04:53] local.INFO: TCP Data received {"connection_id":120151,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:04:53] local.INFO: Processing buffer {"connection_id":120151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:04:53] local.INFO: IMEI packet received {"connection_id":120151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":120151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:04:59] local.INFO: TCP Data received {"connection_id":120151,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ebda588012cec630007189708001d009328..."} 
[2026-07-01 23:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ebda588012cec630007189708001d009328..."} 
[2026-07-01 23:04:59] local.INFO: Processing buffer {"connection_id":120151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ebda588012cec630007189708001d009328..."} 
[2026-07-01 23:04:59] local.INFO: Packet analysis {"connection_id":120151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ebd"} 
[2026-07-01 23:04:59] local.INFO: Extracted packet for processing {"connection_id":120151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ebd"} 
[2026-07-01 23:04:59] local.INFO: GPS Element Parsed {"raw_longitude":753689344,"raw_latitude":119052040,"longitude_deg":75.3689344,"latitude_deg":11.905204,"altitude":29,"angle":147,"satellites":40,"speed":46,"hex_longitude":"2cec6300","hex_latitude":"07189708","is_valid_coordinates":true} 
[2026-07-01 23: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-01 23:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429355008001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334301021457088512,"note":"Value kept but may cause issues"} 
[2026-07-01 23:04:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1415959839864246272,"note":"Value kept but may cause issues"} 
[2026-07-01 23:04:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782927173000,"timestamp_ms":1782927173000,"timestamp_seconds":1782927173,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ebda588"} 
[2026-07-01 23: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-01 23:04: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-01 23: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-01 23:04:59] 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-01 23: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-01 23: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-01 23:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":120151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":120151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":120151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:04:59] 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-01 23:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429355008001,"66":27365,"115":206,"83":41216,"24":46,"16":334301021457088512,"44":-1415959839864246272},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,83,24,16,44]} 
[2026-07-01 23:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429355008001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:04:59] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-07-01 23:04:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 23:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334301021457088512,"km_value":334301021457088.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:04:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1415959839864246272,"description":"Unknown IO ID 44"} 
[2026-07-01 23:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429355008001,"power":27365,"unknown_115":206,"unknown_83":41216,"ignition":46,"odometer":null,"unknown_44":-1415959839864246272}} 
[2026-07-01 23:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":120151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:04:59] local.INFO: GPS data processed {"connection_id":120151,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:04:59] local.INFO: Acknowledgment sent {"connection_id":120151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:05:00] local.INFO: TCP Data received {"connection_id":120151,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ebdbcf8012cec700007187f30001c009e29..."} 
[2026-07-01 23:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ebdbcf8012cec700007187f30001c009e29..."} 
[2026-07-01 23:05:00] local.INFO: Processing buffer {"connection_id":120151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ebdbcf8012cec700007187f30001c009e29..."} 
[2026-07-01 23:05:00] local.INFO: Packet analysis {"connection_id":120151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ebd"} 
[2026-07-01 23:05:00] local.INFO: Extracted packet for processing {"connection_id":120151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ebd"} 
[2026-07-01 23:05:00] local.INFO: GPS Element Parsed {"raw_longitude":753692672,"raw_latitude":119045936,"longitude_deg":75.3692672,"latitude_deg":11.9045936,"altitude":28,"angle":158,"satellites":41,"speed":44,"hex_longitude":"2cec7000","hex_latitude":"07187f30","is_valid_coordinates":true} 
[2026-07-01 23: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-01 23:05:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429356288001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:05:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334301356464537600,"note":"Value kept but may cause issues"} 
[2026-07-01 23:05:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1413285827586881536,"note":"Value kept but may cause issues"} 
[2026-07-01 23:05:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:05:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782927179000,"timestamp_ms":1782927179000,"timestamp_seconds":1782927179,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ebdbcf8"} 
[2026-07-01 23:05:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:05:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 23:05:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23:05:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:05:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:05:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:05:00] local.INFO: Teltonika packet parsed successfully {"connection_id":120151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:05:00] local.INFO: Passing IMEI to GPS processor {"connection_id":120151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:05:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":120151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:05: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-01 23:05:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:05:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:05:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429356288001,"66":27571,"116":206,"83":41216,"24":44,"16":334301356464537600,"44":-1413285827586881536},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,83,24,16,44]} 
[2026-07-01 23:05:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:05:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:05:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429356288001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:05:00] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-07-01 23:05:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 23:05:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334301356464537600,"km_value":334301356464537.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:05:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1413285827586881536,"description":"Unknown IO ID 44"} 
[2026-07-01 23:05:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429356288001,"power":27571,"unknown_116":206,"unknown_83":41216,"ignition":44,"odometer":null,"unknown_44":-1413285827586881536}} 
[2026-07-01 23:05:00] local.INFO: DEBUG: GPS processor result {"connection_id":120151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:05:00] local.INFO: GPS data processed {"connection_id":120151,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:05:00] local.INFO: Acknowledgment sent {"connection_id":120151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:05:31] local.INFO: TCP Data received {"connection_id":120151,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ebf3010012cec444007170560002800b328..."} 
[2026-07-01 23:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ebf3010012cec444007170560002800b328..."} 
[2026-07-01 23:05:31] local.INFO: Processing buffer {"connection_id":120151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ebf3010012cec444007170560002800b328..."} 
[2026-07-01 23:05:31] local.INFO: Packet analysis {"connection_id":120151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ebf"} 
[2026-07-01 23:05:31] local.INFO: Extracted packet for processing {"connection_id":120151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ebf"} 
[2026-07-01 23:05:31] local.INFO: GPS Element Parsed {"raw_longitude":753681472,"raw_latitude":118949216,"longitude_deg":75.3681472,"latitude_deg":11.8949216,"altitude":40,"angle":179,"satellites":40,"speed":31,"hex_longitude":"2cec4440","hex_latitude":"07170560","is_valid_coordinates":true} 
[2026-07-01 23:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429379584001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334306098108432384,"note":"Value kept but may cause issues"} 
[2026-07-01 23:05:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1421167126958784512,"note":"Value kept but may cause issues"} 
[2026-07-01 23:05:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782927274000,"timestamp_ms":1782927274000,"timestamp_seconds":1782927274,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ebf3010"} 
[2026-07-01 23: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-01 23:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-01 23:05:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23: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-01 23: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-01 23:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":120151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":120151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":120151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 23:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429379584001,"66":27180,"193":206,"83":41216,"24":31,"16":334306098108432384,"44":-1421167126958784512},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,83,24,16,44]} 
[2026-07-01 23:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429379584001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:05:31] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-07-01 23:05:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 23:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334306098108432384,"km_value":334306098108432.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:05:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1421167126958784512,"description":"Unknown IO ID 44"} 
[2026-07-01 23:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429379584001,"power":27180,"unknown_193":206,"unknown_83":41216,"ignition":31,"odometer":null,"unknown_44":-1421167126958784512}} 
[2026-07-01 23:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":120151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:05:31] local.INFO: GPS data processed {"connection_id":120151,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:05:31] local.INFO: Acknowledgment sent {"connection_id":120151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:05:52] local.INFO: TCP Data received {"connection_id":121207,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:05:52] local.INFO: Processing buffer {"connection_id":121207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:05:52] local.INFO: IMEI packet received {"connection_id":121207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 23:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":121207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:05:53] local.INFO: TCP Data received {"connection_id":121207,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:05:53] local.INFO: Processing buffer {"connection_id":121207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:05:53] local.INFO: IMEI packet received {"connection_id":121207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":121207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:05:58] local.INFO: TCP Data received {"connection_id":121207,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:05:58] local.INFO: Processing buffer {"connection_id":121207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:05:58] local.INFO: IMEI packet received {"connection_id":121207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":121207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:05:59] local.INFO: TCP Data received {"connection_id":121207,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ebf4398012cec46c00716f528002700a72b..."} 
[2026-07-01 23:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ebf4398012cec46c00716f528002700a72b..."} 
[2026-07-01 23:05:59] local.INFO: Processing buffer {"connection_id":121207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ebf4398012cec46c00716f528002700a72b..."} 
[2026-07-01 23:05:59] local.INFO: Packet analysis {"connection_id":121207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ebf"} 
[2026-07-01 23:05:59] local.INFO: Extracted packet for processing {"connection_id":121207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ebf"} 
[2026-07-01 23:05:59] local.INFO: GPS Element Parsed {"raw_longitude":753682112,"raw_latitude":118945064,"longitude_deg":75.3682112,"latitude_deg":11.8945064,"altitude":39,"angle":167,"satellites":43,"speed":36,"hex_longitude":"2cec46c0","hex_latitude":"0716f528","is_valid_coordinates":true} 
[2026-07-01 23:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429382144001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334306304266862592,"note":"Value kept but may cause issues"} 
[2026-07-01 23:05:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1421941183147057152,"note":"Value kept but may cause issues"} 
[2026-07-01 23:05:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782927279000,"timestamp_ms":1782927279000,"timestamp_seconds":1782927279,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ebf4398"} 
[2026-07-01 23:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:05: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-01 23:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-07-01 23:05:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23:05:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":121207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":121207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":121207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:05:59] 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-01 23:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429382144001,"66":27365,"193":206,"83":41216,"24":36,"16":334306304266862592,"44":-1421941183147057152},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,83,24,16,44]} 
[2026-07-01 23:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429382144001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:05:59] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-07-01 23:05:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 23:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334306304266862592,"km_value":334306304266862.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:05:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1421941183147057152,"description":"Unknown IO ID 44"} 
[2026-07-01 23:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429382144001,"power":27365,"unknown_193":206,"unknown_83":41216,"ignition":36,"odometer":null,"unknown_44":-1421941183147057152}} 
[2026-07-01 23:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":121207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:05:59] local.INFO: GPS data processed {"connection_id":121207,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:05:59] local.INFO: Acknowledgment sent {"connection_id":121207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:06:30] local.INFO: TCP Data received {"connection_id":121207,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ebf66c0012cec51400716d1a8002100a32c..."} 
[2026-07-01 23:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ebf66c0012cec51400716d1a8002100a32c..."} 
[2026-07-01 23:06:30] local.INFO: Processing buffer {"connection_id":121207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ebf66c0012cec51400716d1a8002100a32c..."} 
[2026-07-01 23:06:30] local.INFO: Packet analysis {"connection_id":121207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ebf"} 
[2026-07-01 23:06:30] local.INFO: Extracted packet for processing {"connection_id":121207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ebf"} 
[2026-07-01 23:06:30] local.INFO: GPS Element Parsed {"raw_longitude":753684800,"raw_latitude":118935976,"longitude_deg":75.36848,"latitude_deg":11.8935976,"altitude":33,"angle":163,"satellites":44,"speed":44,"hex_longitude":"2cec5140","hex_latitude":"0716d1a8","is_valid_coordinates":true} 
[2026-07-01 23: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-01 23:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429383424001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334306759533395968,"note":"Value kept but may cause issues"} 
[2026-07-01 23:06:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1421237495706343424,"note":"Value kept but may cause issues"} 
[2026-07-01 23:06:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782927288000,"timestamp_ms":1782927288000,"timestamp_seconds":1782927288,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ebf66c0"} 
[2026-07-01 23: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-01 23:06:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 23:06:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23: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-01 23: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-01 23:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":121207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":121207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":121207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:06:30] 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-01 23:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429383424001,"66":27365,"193":206,"83":41216,"24":44,"16":334306759533395968,"44":-1421237495706343424},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,83,24,16,44]} 
[2026-07-01 23:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429383424001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:06:30] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-07-01 23:06:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 23:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334306759533395968,"km_value":334306759533395.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:06:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1421237495706343424,"description":"Unknown IO ID 44"} 
[2026-07-01 23:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429383424001,"power":27365,"unknown_193":206,"unknown_83":41216,"ignition":44,"odometer":null,"unknown_44":-1421237495706343424}} 
[2026-07-01 23:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":121207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:06:30] local.INFO: GPS data processed {"connection_id":121207,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:06:30] local.INFO: Acknowledgment sent {"connection_id":121207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:06:39] local.INFO: TCP Data received {"connection_id":119467,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 23:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119467,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 23:06:39] local.INFO: Processing buffer {"connection_id":119467,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 23:06:39] local.INFO: IMEI packet received {"connection_id":119467,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 23:06:39] local.INFO: IMEI acknowledgment sent {"connection_id":119467,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:07:14] local.INFO: TCP Data received {"connection_id":120152,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 23:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120152,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 23:07:14] local.INFO: Processing buffer {"connection_id":120152,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 23:07:14] local.INFO: IMEI packet received {"connection_id":120152,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 23:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":120152,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:07:18] local.INFO: TCP Data received {"connection_id":119355,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:07:18] local.INFO: Processing buffer {"connection_id":119355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:07:18] local.INFO: IMEI packet received {"connection_id":119355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 23:07:18] local.INFO: IMEI acknowledgment sent {"connection_id":119355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:07:23] local.INFO: TCP Data received {"connection_id":119355,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:07:23] local.INFO: Processing buffer {"connection_id":119355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:07:23] local.INFO: IMEI packet received {"connection_id":119355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":119355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:07:23] local.INFO: TCP Data received {"connection_id":119355,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:07:23] local.INFO: Processing buffer {"connection_id":119355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:07:23] local.INFO: IMEI packet received {"connection_id":119355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":119355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:07:24] local.INFO: TCP Data received {"connection_id":119355,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ec0d208012cecfac0071579080018009326..."} 
[2026-07-01 23:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ec0d208012cecfac0071579080018009326..."} 
[2026-07-01 23:07:24] local.INFO: Processing buffer {"connection_id":119355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ec0d208012cecfac0071579080018009326..."} 
[2026-07-01 23:07:24] local.INFO: Packet analysis {"connection_id":119355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ec0"} 
[2026-07-01 23:07:24] local.INFO: Extracted packet for processing {"connection_id":119355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ec0"} 
[2026-07-01 23:07:24] local.INFO: GPS Element Parsed {"raw_longitude":753728192,"raw_latitude":118847752,"longitude_deg":75.3728192,"latitude_deg":11.8847752,"altitude":24,"angle":147,"satellites":38,"speed":40,"hex_longitude":"2cecfac0","hex_latitude":"07157908","is_valid_coordinates":true} 
[2026-07-01 23: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-01 23:07:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429407232001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:07:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334311544126963712,"note":"Value kept but may cause issues"} 
[2026-07-01 23:07:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1375849655734650880,"note":"Value kept but may cause issues"} 
[2026-07-01 23:07:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:07:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782927381000,"timestamp_ms":1782927381000,"timestamp_seconds":1782927381,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ec0d208"} 
[2026-07-01 23: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-01 23:07: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-01 23: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 23:07:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23: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-01 23: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-01 23:07:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:07:24] local.INFO: Teltonika packet parsed successfully {"connection_id":119355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:07:24] local.INFO: Passing IMEI to GPS processor {"connection_id":119355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:07:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":119355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:07:24] 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-01 23:07:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:07:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:07:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429407232001,"66":27300,"192":206,"83":41216,"24":40,"16":334311544126963712,"44":-1375849655734650880},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,83,24,16,44]} 
[2026-07-01 23:07:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:07:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:07:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429407232001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:07:24] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-01 23:07:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 23:07:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334311544126963712,"km_value":334311544126963.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:07:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1375849655734650880,"description":"Unknown IO ID 44"} 
[2026-07-01 23:07:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429407232001,"power":27300,"unknown_192":206,"unknown_83":41216,"ignition":40,"odometer":null,"unknown_44":-1375849655734650880}} 
[2026-07-01 23:07:24] local.INFO: DEBUG: GPS processor result {"connection_id":119355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:07:24] local.INFO: GPS data processed {"connection_id":119355,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:07:24] local.INFO: Acknowledgment sent {"connection_id":119355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:07:29] local.INFO: TCP Data received {"connection_id":119355,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ec0f918012ced0b8007155a080016009f27..."} 
[2026-07-01 23:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ec0f918012ced0b8007155a080016009f27..."} 
[2026-07-01 23:07:29] local.INFO: Processing buffer {"connection_id":119355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ec0f918012ced0b8007155a080016009f27..."} 
[2026-07-01 23:07:29] local.INFO: Packet analysis {"connection_id":119355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ec0"} 
[2026-07-01 23:07:29] local.INFO: Extracted packet for processing {"connection_id":119355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ec0"} 
[2026-07-01 23:07:29] local.INFO: GPS Element Parsed {"raw_longitude":753732480,"raw_latitude":118839816,"longitude_deg":75.373248,"latitude_deg":11.8839816,"altitude":22,"angle":159,"satellites":39,"speed":27,"hex_longitude":"2ced0b80","hex_latitude":"07155a08","is_valid_coordinates":true} 
[2026-07-01 23:07:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:07:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429409536001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:07:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334311982213627904,"note":"Value kept but may cause issues"} 
[2026-07-01 23:07:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1370571999923337216,"note":"Value kept but may cause issues"} 
[2026-07-01 23:07:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:07:29] local.INFO: AVL Record Parsed {"raw_timestamp":1782927391000,"timestamp_ms":1782927391000,"timestamp_seconds":1782927391,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ec0f918"} 
[2026-07-01 23:07:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:07:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23:07:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-01 23:07:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23:07:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:07:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:07:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:07:29] local.INFO: Teltonika packet parsed successfully {"connection_id":119355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:07:29] local.INFO: Passing IMEI to GPS processor {"connection_id":119355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:07:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":119355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:07:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 23:07:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:07:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:07:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429409536001,"66":27365,"192":206,"83":41216,"24":27,"16":334311982213627904,"44":-1370571999923337216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,83,24,16,44]} 
[2026-07-01 23:07:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:07:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:07:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429409536001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:07:29] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-01 23:07:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 23:07:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334311982213627904,"km_value":334311982213627.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:07:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1370571999923337216,"description":"Unknown IO ID 44"} 
[2026-07-01 23:07:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429409536001,"power":27365,"unknown_192":206,"unknown_83":41216,"ignition":27,"odometer":null,"unknown_44":-1370571999923337216}} 
[2026-07-01 23:07:29] local.INFO: DEBUG: GPS processor result {"connection_id":119355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:07:29] local.INFO: GPS data processed {"connection_id":119355,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:07:29] local.INFO: Acknowledgment sent {"connection_id":119355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:07:54] local.INFO: TCP Data received {"connection_id":120153,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:07:54] local.INFO: Processing buffer {"connection_id":120153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:07:54] local.INFO: IMEI packet received {"connection_id":120153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 23:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":120153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:07:54] local.INFO: TCP Data received {"connection_id":120153,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:07:54] local.INFO: Processing buffer {"connection_id":120153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:07:54] local.INFO: IMEI packet received {"connection_id":120153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":120153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:07:59] local.INFO: TCP Data received {"connection_id":120153,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:07:59] local.INFO: Processing buffer {"connection_id":120153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:07:59] local.INFO: IMEI packet received {"connection_id":120153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":120153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:08:00] local.INFO: TCP Data received {"connection_id":120153,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ec0f918012ced0b8007155a080016009f27..."} 
[2026-07-01 23:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ec0f918012ced0b8007155a080016009f27..."} 
[2026-07-01 23:08:00] local.INFO: Processing buffer {"connection_id":120153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ec0f918012ced0b8007155a080016009f27..."} 
[2026-07-01 23:08:00] local.INFO: Packet analysis {"connection_id":120153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ec0"} 
[2026-07-01 23:08:00] local.INFO: Extracted packet for processing {"connection_id":120153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ec0"} 
[2026-07-01 23:08:00] local.INFO: GPS Element Parsed {"raw_longitude":753732480,"raw_latitude":118839816,"longitude_deg":75.373248,"latitude_deg":11.8839816,"altitude":22,"angle":159,"satellites":39,"speed":27,"hex_longitude":"2ced0b80","hex_latitude":"07155a08","is_valid_coordinates":true} 
[2026-07-01 23:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:08:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429412096001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:08:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334311982213627904,"note":"Value kept but may cause issues"} 
[2026-07-01 23:08:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1365857294065465344,"note":"Value kept but may cause issues"} 
[2026-07-01 23:08:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:08:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782927391000,"timestamp_ms":1782927391000,"timestamp_seconds":1782927391,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ec0f918"} 
[2026-07-01 23:08:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:08:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 23:08:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23:08:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:08:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:08:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:08:00] local.INFO: Teltonika packet parsed successfully {"connection_id":120153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:08:00] local.INFO: Passing IMEI to GPS processor {"connection_id":120153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:08:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":120153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:08: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-01 23:08:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:08:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:08:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429412096001,"66":27365,"192":206,"83":41216,"24":27,"16":334311982213627904,"44":-1365857294065465344},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,83,24,16,44]} 
[2026-07-01 23:08:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:08:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:08:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429412096001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:08:00] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-07-01 23:08:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 23:08:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334311982213627904,"km_value":334311982213627.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:08:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1365857294065465344,"description":"Unknown IO ID 44"} 
[2026-07-01 23:08:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429412096001,"power":27365,"unknown_192":206,"unknown_83":41216,"ignition":27,"odometer":null,"unknown_44":-1365857294065465344}} 
[2026-07-01 23:08:00] local.INFO: DEBUG: GPS processor result {"connection_id":120153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:08:00] local.INFO: GPS data processed {"connection_id":120153,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:08:00] local.INFO: Acknowledgment sent {"connection_id":120153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:08:04] local.INFO: TCP Data received {"connection_id":120153,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ec12be0012ced188007153738001700a329..."} 
[2026-07-01 23:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ec12be0012ced188007153738001700a329..."} 
[2026-07-01 23:08:04] local.INFO: Processing buffer {"connection_id":120153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ec12be0012ced188007153738001700a329..."} 
[2026-07-01 23:08:04] local.INFO: Packet analysis {"connection_id":120153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ec1"} 
[2026-07-01 23:08:04] local.INFO: Extracted packet for processing {"connection_id":120153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ec1"} 
[2026-07-01 23:08:04] local.INFO: GPS Element Parsed {"raw_longitude":753735808,"raw_latitude":118830904,"longitude_deg":75.3735808,"latitude_deg":11.8830904,"altitude":23,"angle":163,"satellites":41,"speed":32,"hex_longitude":"2ced1880","hex_latitude":"07153738","is_valid_coordinates":true} 
[2026-07-01 23: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-01 23:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429412096001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334312441775128576,"note":"Value kept but may cause issues"} 
[2026-07-01 23:08:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1365857294065465344,"note":"Value kept but may cause issues"} 
[2026-07-01 23:08:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782927404000,"timestamp_ms":1782927404000,"timestamp_seconds":1782927404,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ec12be0"} 
[2026-07-01 23: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-01 23: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-01 23: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 23:08:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23: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-01 23: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-01 23:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":120153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":120153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":120153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:08: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-01 23:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429412096001,"66":27343,"28":206,"83":41216,"24":32,"16":334312441775128576,"44":-1365857294065465344},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,83,24,16,44]} 
[2026-07-01 23:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429412096001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:08:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-01 23:08:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 23:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334312441775128576,"km_value":334312441775128.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:08:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1365857294065465344,"description":"Unknown IO ID 44"} 
[2026-07-01 23:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429412096001,"power":27343,"unknown_28":206,"unknown_83":41216,"ignition":32,"odometer":null,"unknown_44":-1365857294065465344}} 
[2026-07-01 23:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":120153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:08:04] local.INFO: GPS data processed {"connection_id":120153,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:08:04] local.INFO: Acknowledgment sent {"connection_id":120153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:08:49] local.INFO: TCP Data received {"connection_id":119468,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:08:49] local.INFO: Processing buffer {"connection_id":119468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:08:49] local.INFO: IMEI packet received {"connection_id":119468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 23:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":119468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:08:53] local.INFO: TCP Data received {"connection_id":119468,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:08:53] local.INFO: Processing buffer {"connection_id":119468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:08:53] local.INFO: IMEI packet received {"connection_id":119468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":119468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:08:54] local.INFO: TCP Data received {"connection_id":119468,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ec156d8012ced2200071512b0001900a72a..."} 
[2026-07-01 23:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ec156d8012ced2200071512b0001900a72a..."} 
[2026-07-01 23:08:54] local.INFO: Processing buffer {"connection_id":119468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ec156d8012ced2200071512b0001900a72a..."} 
[2026-07-01 23:08:54] local.INFO: Packet analysis {"connection_id":119468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ec1"} 
[2026-07-01 23:08:54] local.INFO: Extracted packet for processing {"connection_id":119468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ec1"} 
[2026-07-01 23:08:54] local.INFO: GPS Element Parsed {"raw_longitude":753738240,"raw_latitude":118821552,"longitude_deg":75.373824,"latitude_deg":11.8821552,"altitude":25,"angle":167,"satellites":42,"speed":38,"hex_longitude":"2ced2200","hex_latitude":"071512b0","is_valid_coordinates":true} 
[2026-07-01 23:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:08:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429415424001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:08:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334312909926563840,"note":"Value kept but may cause issues"} 
[2026-07-01 23:08:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1362198119370508288,"note":"Value kept but may cause issues"} 
[2026-07-01 23:08:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:08:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782927415000,"timestamp_ms":1782927415000,"timestamp_seconds":1782927415,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ec156d8"} 
[2026-07-01 23:08:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:08: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-01 23:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-01 23:08:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23:08:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:08:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:08:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:08:54] local.INFO: Teltonika packet parsed successfully {"connection_id":119468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:08:54] local.INFO: Passing IMEI to GPS processor {"connection_id":119468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:08:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":119468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:08:54] 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-01 23:08:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:08:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:08:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429415424001,"66":27365,"28":206,"83":41216,"24":38,"16":334312909926563840,"44":-1362198119370508288},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,83,24,16,44]} 
[2026-07-01 23:08:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:08:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:08:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429415424001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:08:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-07-01 23:08:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 23:08:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334312909926563840,"km_value":334312909926563.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:08:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1362198119370508288,"description":"Unknown IO ID 44"} 
[2026-07-01 23:08:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429415424001,"power":27365,"unknown_28":206,"unknown_83":41216,"ignition":38,"odometer":null,"unknown_44":-1362198119370508288}} 
[2026-07-01 23:08:54] local.INFO: DEBUG: GPS processor result {"connection_id":119468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:08:54] local.INFO: GPS data processed {"connection_id":119468,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:08:54] local.INFO: Acknowledgment sent {"connection_id":119468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:09:26] local.INFO: TCP Data received {"connection_id":119468,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ec2e930012ced31000713fff8001800872c..."} 
[2026-07-01 23:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ec2e930012ced31000713fff8001800872c..."} 
[2026-07-01 23:09:26] local.INFO: Processing buffer {"connection_id":119468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ec2e930012ced31000713fff8001800872c..."} 
[2026-07-01 23:09:26] local.INFO: Packet analysis {"connection_id":119468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ec2"} 
[2026-07-01 23:09:26] local.INFO: Extracted packet for processing {"connection_id":119468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ec2"} 
[2026-07-01 23:09:26] local.INFO: GPS Element Parsed {"raw_longitude":753742080,"raw_latitude":118751224,"longitude_deg":75.374208,"latitude_deg":11.8751224,"altitude":24,"angle":135,"satellites":44,"speed":33,"hex_longitude":"2ced3100","hex_latitude":"0713fff8","is_valid_coordinates":true} 
[2026-07-01 23:09:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:09:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429443584001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:09:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334316509109157888,"note":"Value kept but may cause issues"} 
[2026-07-01 23:09:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1357694519762853888,"note":"Value kept but may cause issues"} 
[2026-07-01 23:09:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,26,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:09:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782927518000,"timestamp_ms":1782927518000,"timestamp_seconds":1782927518,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ec2e930"} 
[2026-07-01 23:09:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:09: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-01 23:09:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-01 23:09:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23:09:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:09:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:09:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:09:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:09:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:09:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:09:26] 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-01 23:09:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:09:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:09:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429443584001,"66":27267,"26":206,"83":41216,"24":33,"16":334316509109157888,"44":-1357694519762853888},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,83,24,16,44]} 
[2026-07-01 23:09:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:09:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:09:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429443584001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:09:26] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-07-01 23:09:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 23:09:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334316509109157888,"km_value":334316509109157.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:09:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1357694519762853888,"description":"Unknown IO ID 44"} 
[2026-07-01 23:09:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429443584001,"power":27267,"unknown_26":206,"unknown_83":41216,"ignition":33,"odometer":null,"unknown_44":-1357694519762853888}} 
[2026-07-01 23:09:26] local.INFO: DEBUG: GPS processor result {"connection_id":119468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:09:26] local.INFO: GPS data processed {"connection_id":119468,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:09:26] local.INFO: Acknowledgment sent {"connection_id":119468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:09:49] local.INFO: TCP Data received {"connection_id":120155,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:09:49] local.INFO: Processing buffer {"connection_id":120155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:09:49] local.INFO: IMEI packet received {"connection_id":120155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 23:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":120155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:09:53] local.INFO: TCP Data received {"connection_id":120155,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:09:53] local.INFO: Processing buffer {"connection_id":120155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:09:53] local.INFO: IMEI packet received {"connection_id":120155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":120155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:09:55] local.INFO: TCP Data received {"connection_id":120155,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ec2f4e8012ced37c00713fa88001900742a..."} 
[2026-07-01 23:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ec2f4e8012ced37c00713fa88001900742a..."} 
[2026-07-01 23:09:55] local.INFO: Processing buffer {"connection_id":120155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ec2f4e8012ced37c00713fa88001900742a..."} 
[2026-07-01 23:09:55] local.INFO: Packet analysis {"connection_id":120155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ec2"} 
[2026-07-01 23:09:55] local.INFO: Extracted packet for processing {"connection_id":120155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ec2"} 
[2026-07-01 23:09:55] local.INFO: GPS Element Parsed {"raw_longitude":753743808,"raw_latitude":118749832,"longitude_deg":75.3743808,"latitude_deg":11.8749832,"altitude":25,"angle":116,"satellites":42,"speed":25,"hex_longitude":"2ced37c0","hex_latitude":"0713fa88","is_valid_coordinates":true} 
[2026-07-01 23: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-01 23:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429444608001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334316616483340288,"note":"Value kept but may cause issues"} 
[2026-07-01 23:09:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1355301982461495296,"note":"Value kept but may cause issues"} 
[2026-07-01 23:09:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,26,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782927521000,"timestamp_ms":1782927521000,"timestamp_seconds":1782927521,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ec2f4e8"} 
[2026-07-01 23: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-01 23:09:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-01 23:09:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23: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-01 23: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-01 23:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":120155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":120155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":120155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:09:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 23:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429444608001,"66":27234,"26":206,"83":41216,"24":25,"16":334316616483340288,"44":-1355301982461495296},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,83,24,16,44]} 
[2026-07-01 23:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429444608001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:09:55] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-07-01 23:09:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 23:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334316616483340288,"km_value":334316616483340.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:09:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1355301982461495296,"description":"Unknown IO ID 44"} 
[2026-07-01 23:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429444608001,"power":27234,"unknown_26":206,"unknown_83":41216,"ignition":25,"odometer":null,"unknown_44":-1355301982461495296}} 
[2026-07-01 23:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":120155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:09:55] local.INFO: GPS data processed {"connection_id":120155,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:09:55] local.INFO: Acknowledgment sent {"connection_id":120155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:10:30] local.INFO: TCP Data received {"connection_id":120155,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ec300a0012ced3f800713f778001900692c..."} 
[2026-07-01 23:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ec300a0012ced3f800713f778001900692c..."} 
[2026-07-01 23:10:30] local.INFO: Processing buffer {"connection_id":120155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ec300a0012ced3f800713f778001900692c..."} 
[2026-07-01 23:10:30] local.INFO: Packet analysis {"connection_id":120155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ec3"} 
[2026-07-01 23:10:30] local.INFO: Extracted packet for processing {"connection_id":120155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ec3"} 
[2026-07-01 23:10:30] local.INFO: GPS Element Parsed {"raw_longitude":753745792,"raw_latitude":118749048,"longitude_deg":75.3745792,"latitude_deg":11.8749048,"altitude":25,"angle":105,"satellites":44,"speed":27,"hex_longitude":"2ced3f80","hex_latitude":"0713f778","is_valid_coordinates":true} 
[2026-07-01 23: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-01 23:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429445376001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334316719562555392,"note":"Value kept but may cause issues"} 
[2026-07-01 23:10:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1353402026369054720,"note":"Value kept but may cause issues"} 
[2026-07-01 23:10:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,26,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782927524000,"timestamp_ms":1782927524000,"timestamp_seconds":1782927524,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ec300a0"} 
[2026-07-01 23: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-01 23:10:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-01 23:10:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23: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-01 23: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-01 23:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":120155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":120155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":120155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:10:30] 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-01 23:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429445376001,"66":26767,"26":206,"83":41216,"24":27,"16":334316719562555392,"44":-1353402026369054720},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,83,24,16,44]} 
[2026-07-01 23:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429445376001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:10:30] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-07-01 23:10:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 23:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334316719562555392,"km_value":334316719562555.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:10:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1353402026369054720,"description":"Unknown IO ID 44"} 
[2026-07-01 23:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429445376001,"power":26767,"unknown_26":206,"unknown_83":41216,"ignition":27,"odometer":null,"unknown_44":-1353402026369054720}} 
[2026-07-01 23:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":120155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:10:30] local.INFO: GPS data processed {"connection_id":120155,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:10:30] local.INFO: Acknowledgment sent {"connection_id":120155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:10:48] local.INFO: TCP Data received {"connection_id":121210,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:10:48] local.INFO: Processing buffer {"connection_id":121210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:10:48] local.INFO: IMEI packet received {"connection_id":121210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 23:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":121210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:10:53] local.INFO: TCP Data received {"connection_id":121210,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:10:53] local.INFO: Processing buffer {"connection_id":121210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:10:53] local.INFO: IMEI packet received {"connection_id":121210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":121210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:10:54] local.INFO: TCP Data received {"connection_id":121210,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ec32f80012ced62c00713ee30001b006828..."} 
[2026-07-01 23:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ec32f80012ced62c00713ee30001b006828..."} 
[2026-07-01 23:10:54] local.INFO: Processing buffer {"connection_id":121210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ec32f80012ced62c00713ee30001b006828..."} 
[2026-07-01 23:10:54] local.INFO: Packet analysis {"connection_id":121210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ec3"} 
[2026-07-01 23:10:54] local.INFO: Extracted packet for processing {"connection_id":121210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ec3"} 
[2026-07-01 23:10:54] local.INFO: GPS Element Parsed {"raw_longitude":753754816,"raw_latitude":118746672,"longitude_deg":75.3754816,"latitude_deg":11.8746672,"altitude":27,"angle":104,"satellites":40,"speed":31,"hex_longitude":"2ced62c0","hex_latitude":"0713ee30","is_valid_coordinates":true} 
[2026-07-01 23:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:10:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429446144001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:10:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334317161944186880,"note":"Value kept but may cause issues"} 
[2026-07-01 23:10:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1351220595299747840,"note":"Value kept but may cause issues"} 
[2026-07-01 23:10:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,26,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:10:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782927536000,"timestamp_ms":1782927536000,"timestamp_seconds":1782927536,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ec32f80"} 
[2026-07-01 23:10:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:10: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-01 23:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":143,"data_length":795,"current_offset":136} 
[2026-07-01 23:10:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2005,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23:10:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:10:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:10:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:10:54] local.INFO: Teltonika packet parsed successfully {"connection_id":121210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:10:54] local.INFO: Passing IMEI to GPS processor {"connection_id":121210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:10:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":121210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:10:54] 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-01 23:10:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:10:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:10:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429446144001,"66":27604,"26":206,"83":41216,"24":31,"16":334317161944186880,"44":-1351220595299747840},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,83,24,16,44]} 
[2026-07-01 23:10:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:10:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:10:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429446144001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:10:54] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-07-01 23:10:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 23:10:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334317161944186880,"km_value":334317161944186.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:10:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1351220595299747840,"description":"Unknown IO ID 44"} 
[2026-07-01 23:10:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429446144001,"power":27604,"unknown_26":206,"unknown_83":41216,"ignition":31,"odometer":null,"unknown_44":-1351220595299747840}} 
[2026-07-01 23:10:54] local.INFO: DEBUG: GPS processor result {"connection_id":121210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:10:54] local.INFO: GPS data processed {"connection_id":121210,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:10:54] local.INFO: Acknowledgment sent {"connection_id":121210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:11:25] local.INFO: TCP Data received {"connection_id":121210,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ec352a8012ced7b800713e948001c005b2a..."} 
[2026-07-01 23:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ec352a8012ced7b800713e948001c005b2a..."} 
[2026-07-01 23:11:25] local.INFO: Processing buffer {"connection_id":121210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ec352a8012ced7b800713e948001c005b2a..."} 
[2026-07-01 23:11:25] local.INFO: Packet analysis {"connection_id":121210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ec3"} 
[2026-07-01 23:11:25] local.INFO: Extracted packet for processing {"connection_id":121210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ec3"} 
[2026-07-01 23:11:25] local.INFO: GPS Element Parsed {"raw_longitude":753761152,"raw_latitude":118745416,"longitude_deg":75.3761152,"latitude_deg":11.8745416,"altitude":28,"angle":91,"satellites":42,"speed":22,"hex_longitude":"2ced7b80","hex_latitude":"0713e948","is_valid_coordinates":true} 
[2026-07-01 23:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:11:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429449216001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:11:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334317466886864896,"note":"Value kept but may cause issues"} 
[2026-07-01 23:11:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1341298602371305472,"note":"Value kept but may cause issues"} 
[2026-07-01 23:11:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:11:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782927545000,"timestamp_ms":1782927545000,"timestamp_seconds":1782927545,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ec352a8"} 
[2026-07-01 23:11:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:11: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-01 23:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-01 23:11:25] 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-01 23:11:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:11:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:11:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:11:25] local.INFO: Teltonika packet parsed successfully {"connection_id":121210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:11:25] local.INFO: Passing IMEI to GPS processor {"connection_id":121210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:11:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":121210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:11:25] 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-01 23:11:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:11:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:11:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429449216001,"66":27604,"196":206,"83":41216,"24":22,"16":334317466886864896,"44":-1341298602371305472},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,83,24,16,44]} 
[2026-07-01 23:11:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:11:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:11:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429449216001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:11:25] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-01 23:11:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 23:11:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334317466886864896,"km_value":334317466886864.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:11:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1341298602371305472,"description":"Unknown IO ID 44"} 
[2026-07-01 23:11:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429449216001,"power":27604,"unknown_196":206,"unknown_83":41216,"ignition":22,"odometer":null,"unknown_44":-1341298602371305472}} 
[2026-07-01 23:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":121210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:11:25] local.INFO: GPS data processed {"connection_id":121210,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:11:25] local.INFO: Acknowledgment sent {"connection_id":121210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:11:48] local.INFO: TCP Data received {"connection_id":119357,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:11:48] local.INFO: Processing buffer {"connection_id":119357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:11:48] local.INFO: IMEI packet received {"connection_id":119357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 23:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":119357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:11:53] local.INFO: TCP Data received {"connection_id":119357,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:11:53] local.INFO: Processing buffer {"connection_id":119357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:11:53] local.INFO: IMEI packet received {"connection_id":119357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":119357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:11:55] local.INFO: TCP Data received {"connection_id":119357,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ec38d40012ced9f000713e8c0001f005b28..."} 
[2026-07-01 23:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ec38d40012ced9f000713e8c0001f005b28..."} 
[2026-07-01 23:11:55] local.INFO: Processing buffer {"connection_id":119357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ec38d40012ced9f000713e8c0001f005b28..."} 
[2026-07-01 23:11:55] local.INFO: Packet analysis {"connection_id":119357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ec3"} 
[2026-07-01 23:11:55] local.INFO: Extracted packet for processing {"connection_id":119357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ec3"} 
[2026-07-01 23:11:55] local.INFO: GPS Element Parsed {"raw_longitude":753770240,"raw_latitude":118745280,"longitude_deg":75.377024,"latitude_deg":11.874528,"altitude":31,"angle":91,"satellites":40,"speed":26,"hex_longitude":"2ced9f00","hex_latitude":"0713e8c0","is_valid_coordinates":true} 
[2026-07-01 23:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429451520001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334317896383594496,"note":"Value kept but may cause issues"} 
[2026-07-01 23:11:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1334332096698038272,"note":"Value kept but may cause issues"} 
[2026-07-01 23:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782927560000,"timestamp_ms":1782927560000,"timestamp_seconds":1782927560,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ec38d40"} 
[2026-07-01 23:11:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:11:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-01 23:11: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-01 23:11:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:11:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":119357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":119357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":119357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 23:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429451520001,"66":27604,"196":206,"83":41216,"24":26,"16":334317896383594496,"44":-1334332096698038272},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,83,24,16,44]} 
[2026-07-01 23:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429451520001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:11:55] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-07-01 23:11:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 23:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334317896383594496,"km_value":334317896383594.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:11:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1334332096698038272,"description":"Unknown IO ID 44"} 
[2026-07-01 23:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429451520001,"power":27604,"unknown_196":206,"unknown_83":41216,"ignition":26,"odometer":null,"unknown_44":-1334332096698038272}} 
[2026-07-01 23:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":119357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:11:55] local.INFO: GPS data processed {"connection_id":119357,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:11:55] local.INFO: Acknowledgment sent {"connection_id":119357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:12:30] local.INFO: TCP Data received {"connection_id":119357,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ec3bc20012cedc3800713e7280020005c26..."} 
[2026-07-01 23:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ec3bc20012cedc3800713e7280020005c26..."} 
[2026-07-01 23:12:30] local.INFO: Processing buffer {"connection_id":119357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ec3bc20012cedc3800713e7280020005c26..."} 
[2026-07-01 23:12:30] local.INFO: Packet analysis {"connection_id":119357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ec3"} 
[2026-07-01 23:12:30] local.INFO: Extracted packet for processing {"connection_id":119357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ec3"} 
[2026-07-01 23:12:30] local.INFO: GPS Element Parsed {"raw_longitude":753779584,"raw_latitude":118744872,"longitude_deg":75.3779584,"latitude_deg":11.8744872,"altitude":32,"angle":92,"satellites":38,"speed":29,"hex_longitude":"2cedc380","hex_latitude":"0713e728","is_valid_coordinates":true} 
[2026-07-01 23: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-01 23:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429455360001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334318343060193280,"note":"Value kept but may cause issues"} 
[2026-07-01 23:12:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1324339735024844800,"note":"Value kept but may cause issues"} 
[2026-07-01 23:12:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782927572000,"timestamp_ms":1782927572000,"timestamp_seconds":1782927572,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ec3bc20"} 
[2026-07-01 23: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-01 23:12:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-01 23:12:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23: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-01 23: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-01 23:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":119357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":119357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":119357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:12:30] 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-01 23:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429455360001,"66":27626,"194":206,"83":41216,"24":29,"16":334318343060193280,"44":-1324339735024844800},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,83,24,16,44]} 
[2026-07-01 23:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429455360001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:12:30] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-07-01 23:12:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 23:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334318343060193280,"km_value":334318343060193.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:12:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1324339735024844800,"description":"Unknown IO ID 44"} 
[2026-07-01 23:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429455360001,"power":27626,"unknown_194":206,"unknown_83":41216,"ignition":29,"odometer":null,"unknown_44":-1324339735024844800}} 
[2026-07-01 23:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":119357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:12:30] local.INFO: GPS data processed {"connection_id":119357,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:12:30] local.INFO: Acknowledgment sent {"connection_id":119357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:12:44] local.INFO: TCP Data received {"connection_id":121211,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 23:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121211,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 23:12:44] local.INFO: Processing buffer {"connection_id":121211,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 23:12:44] local.INFO: IMEI packet received {"connection_id":121211,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 23:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":121211,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:12:53] local.INFO: TCP Data received {"connection_id":120156,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:12:53] local.INFO: Processing buffer {"connection_id":120156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:12:53] local.INFO: IMEI packet received {"connection_id":120156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 23:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":120156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:12:53] local.INFO: TCP Data received {"connection_id":120156,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:12:53] local.INFO: Processing buffer {"connection_id":120156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:12:53] local.INFO: IMEI packet received {"connection_id":120156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":120156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:13:00] local.INFO: TCP Data received {"connection_id":120156,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:13:00] local.INFO: Processing buffer {"connection_id":120156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:13:00] local.INFO: IMEI packet received {"connection_id":120156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":120156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:13:02] local.INFO: TCP Data received {"connection_id":120156,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ec5e2e8012cef56800713d5d00022005d28..."} 
[2026-07-01 23:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ec5e2e8012cef56800713d5d00022005d28..."} 
[2026-07-01 23:13:02] local.INFO: Processing buffer {"connection_id":120156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ec5e2e8012cef56800713d5d00022005d28..."} 
[2026-07-01 23:13:02] local.INFO: Packet analysis {"connection_id":120156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ec5"} 
[2026-07-01 23:13:02] local.INFO: Extracted packet for processing {"connection_id":120156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ec5"} 
[2026-07-01 23:13:02] local.INFO: GPS Element Parsed {"raw_longitude":753882752,"raw_latitude":118740432,"longitude_deg":75.3882752,"latitude_deg":11.8740432,"altitude":34,"angle":93,"satellites":40,"speed":30,"hex_longitude":"2cef5680","hex_latitude":"0713d5d0","is_valid_coordinates":true} 
[2026-07-01 23:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429491712001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334323269387681792,"note":"Value kept but may cause issues"} 
[2026-07-01 23:13:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1211186794388256768,"note":"Value kept but may cause issues"} 
[2026-07-01 23:13:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1782927713000,"timestamp_ms":1782927713000,"timestamp_seconds":1782927713,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ec5e2e8"} 
[2026-07-01 23:13:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:13:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-01 23:13:02] 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-01 23:13:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:13:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":120156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":120156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":120156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:13:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 23:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429491712001,"66":27517,"37":206,"83":41216,"24":30,"16":334323269387681792,"44":-1211186794388256768},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,83,24,16,44]} 
[2026-07-01 23:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429491712001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:13:02] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-01 23:13:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 23:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334323269387681792,"km_value":334323269387681.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:13:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1211186794388256768,"description":"Unknown IO ID 44"} 
[2026-07-01 23:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429491712001,"power":27517,"unknown_37":206,"unknown_83":41216,"ignition":30,"odometer":null,"unknown_44":-1211186794388256768}} 
[2026-07-01 23:13:02] local.INFO: DEBUG: GPS processor result {"connection_id":120156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:13:02] local.INFO: GPS data processed {"connection_id":120156,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:13:02] local.INFO: Acknowledgment sent {"connection_id":120156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:13:03] local.INFO: TCP Data received {"connection_id":120156,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ec60de0012cef72000713d3400022006c2c..."} 
[2026-07-01 23:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ec60de0012cef72000713d3400022006c2c..."} 
[2026-07-01 23:13:03] local.INFO: Processing buffer {"connection_id":120156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ec60de0012cef72000713d3400022006c2c..."} 
[2026-07-01 23:13:03] local.INFO: Packet analysis {"connection_id":120156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ec6"} 
[2026-07-01 23:13:03] local.INFO: Extracted packet for processing {"connection_id":120156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ec6"} 
[2026-07-01 23:13:03] local.INFO: GPS Element Parsed {"raw_longitude":753889792,"raw_latitude":118739776,"longitude_deg":75.3889792,"latitude_deg":11.8739776,"altitude":34,"angle":108,"satellites":44,"speed":20,"hex_longitude":"2cef7200","hex_latitude":"0713d340","is_valid_coordinates":true} 
[2026-07-01 23: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-01 23:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429494528001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334323604395130880,"note":"Value kept but may cause issues"} 
[2026-07-01 23:13:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1200631482761752576,"note":"Value kept but may cause issues"} 
[2026-07-01 23:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782927724000,"timestamp_ms":1782927724000,"timestamp_seconds":1782927724,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ec60de0"} 
[2026-07-01 23: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-01 23:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-01 23:13:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23: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-01 23: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-01 23:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":120156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":120156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":120156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:13: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-01 23:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429494528001,"66":27484,"37":206,"83":41216,"24":20,"16":334323604395130880,"44":-1200631482761752576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,83,24,16,44]} 
[2026-07-01 23:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429494528001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:13:03] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-07-01 23:13:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-07-01 23:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334323604395130880,"km_value":334323604395130.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:13:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1200631482761752576,"description":"Unknown IO ID 44"} 
[2026-07-01 23:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429494528001,"power":27484,"unknown_37":206,"unknown_83":41216,"ignition":20,"odometer":null,"unknown_44":-1200631482761752576}} 
[2026-07-01 23:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":120156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:13:03] local.INFO: GPS data processed {"connection_id":120156,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:13:03] local.INFO: Acknowledgment sent {"connection_id":120156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:13:14] local.INFO: TCP Data received {"connection_id":119469,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 23:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119469,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 23:13:14] local.INFO: Processing buffer {"connection_id":119469,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 23:13:14] local.INFO: IMEI packet received {"connection_id":119469,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 23:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":119469,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:13:48] local.INFO: TCP Data received {"connection_id":119470,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:13:48] local.INFO: Processing buffer {"connection_id":119470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:13:48] local.INFO: IMEI packet received {"connection_id":119470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 23:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":119470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:13:51] local.INFO: TCP Data received {"connection_id":119470,"ip":"42.106.6.21","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 23:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119470,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 23:13:51] local.INFO: Processing buffer {"connection_id":119470,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 23:13:51] local.INFO: IMEI packet received {"connection_id":119470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:13:51] local.INFO: IMEI acknowledgment sent {"connection_id":119470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:13:54] local.INFO: TCP Data received {"connection_id":119470,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:13:54] local.INFO: Processing buffer {"connection_id":119470,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 23:13:54] local.INFO: IMEI packet received {"connection_id":119470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":119470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:13:55] local.INFO: TCP Data received {"connection_id":119470,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ec62168012cef7bc00713ce980023007a2c..."} 
[2026-07-01 23:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ec62168012cef7bc00713ce980023007a2c..."} 
[2026-07-01 23:13:55] local.INFO: Processing buffer {"connection_id":119470,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f1e..."} 
[2026-07-01 23:13:55] local.INFO: IMEI packet received {"connection_id":119470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":119470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:13:59] local.INFO: TCP Data received {"connection_id":119470,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ec634f0012cef85400713c6e8002300852b..."} 
[2026-07-01 23:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ec634f0012cef85400713c6e8002300852b..."} 
[2026-07-01 23:13:59] local.INFO: Processing buffer {"connection_id":119470,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f1ec62168012cef7bc00713ce980023007a2c..."} 
[2026-07-01 23:13:59] local.INFO: Packet analysis {"connection_id":119470,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f1ec6"} 
[2026-07-01 23:13:59] local.INFO: Extracted packet for processing {"connection_id":119470,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ec6"} 
[2026-07-01 23:13:59] local.INFO: GPS Element Parsed {"raw_longitude":753892288,"raw_latitude":118738584,"longitude_deg":75.3892288,"latitude_deg":11.8738584,"altitude":35,"angle":122,"satellites":44,"speed":23,"hex_longitude":"2cef7bc0","hex_latitude":"0713ce98","is_valid_coordinates":true} 
[2026-07-01 23:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429497344001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334323737539117056,"note":"Value kept but may cause issues"} 
[2026-07-01 23:13:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1192890920902377472,"note":"Value kept but may cause issues"} 
[2026-07-01 23:13:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782927729000,"timestamp_ms":1782927729000,"timestamp_seconds":1782927729,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ec62168"} 
[2026-07-01 23:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:13:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 23:13:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23:13:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:13:59] 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-01 23:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429497344001,"66":27365,"180":206,"83":41472,"24":23,"16":334323737539117056,"44":-1192890920902377472},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,83,24,16,44]} 
[2026-07-01 23:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429497344001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:13:59] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-07-01 23:13:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 23:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334323737539117056,"km_value":334323737539117.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:13:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1192890920902377472,"description":"Unknown IO ID 44"} 
[2026-07-01 23:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429497344001,"power":27365,"unknown_180":206,"unknown_83":41472,"ignition":23,"odometer":null,"unknown_44":-1192890920902377472}} 
[2026-07-01 23:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":119470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:13:59] local.INFO: GPS data processed {"connection_id":119470,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:13:59] local.INFO: Acknowledgment sent {"connection_id":119470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:13:59] local.INFO: Packet analysis {"connection_id":119470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ec6"} 
[2026-07-01 23:13:59] local.INFO: Extracted packet for processing {"connection_id":119470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ec6"} 
[2026-07-01 23:13:59] local.INFO: GPS Element Parsed {"raw_longitude":753894720,"raw_latitude":118736616,"longitude_deg":75.389472,"latitude_deg":11.8736616,"altitude":35,"angle":133,"satellites":43,"speed":25,"hex_longitude":"2cef8540","hex_latitude":"0713c6e8","is_valid_coordinates":true} 
[2026-07-01 23:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429498624001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334323887862972416,"note":"Value kept but may cause issues"} 
[2026-07-01 23:13:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1190146539879753728,"note":"Value kept but may cause issues"} 
[2026-07-01 23:13:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782927734000,"timestamp_ms":1782927734000,"timestamp_seconds":1782927734,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ec634f0"} 
[2026-07-01 23:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:13: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-01 23:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 23:13:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23:13:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:13:59] 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-01 23:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429498624001,"66":27593,"180":206,"83":41472,"24":25,"16":334323887862972416,"44":-1190146539879753728},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,83,24,16,44]} 
[2026-07-01 23:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429498624001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:13:59] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-07-01 23:13:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 23:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334323887862972416,"km_value":334323887862972.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:13:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1190146539879753728,"description":"Unknown IO ID 44"} 
[2026-07-01 23:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429498624001,"power":27593,"unknown_180":206,"unknown_83":41472,"ignition":25,"odometer":null,"unknown_44":-1190146539879753728}} 
[2026-07-01 23:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":119470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:13:59] local.INFO: GPS data processed {"connection_id":119470,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:13:59] local.INFO: Acknowledgment sent {"connection_id":119470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:14:07] local.INFO: TCP Data received {"connection_id":119470,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ec663d0012cef9f800713ac480023007c28..."} 
[2026-07-01 23:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ec663d0012cef9f800713ac480023007c28..."} 
[2026-07-01 23:14:07] local.INFO: Processing buffer {"connection_id":119470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ec663d0012cef9f800713ac480023007c28..."} 
[2026-07-01 23:14:07] local.INFO: Packet analysis {"connection_id":119470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ec6"} 
[2026-07-01 23:14:07] local.INFO: Extracted packet for processing {"connection_id":119470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ec6"} 
[2026-07-01 23:14:07] local.INFO: GPS Element Parsed {"raw_longitude":753901440,"raw_latitude":118729800,"longitude_deg":75.390144,"latitude_deg":11.87298,"altitude":35,"angle":124,"satellites":40,"speed":36,"hex_longitude":"2cef9f80","hex_latitude":"0713ac48","is_valid_coordinates":true} 
[2026-07-01 23:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429499904001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334324347424473088,"note":"Value kept but may cause issues"} 
[2026-07-01 23:14:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1187472527601506304,"note":"Value kept but may cause issues"} 
[2026-07-01 23:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1782927746000,"timestamp_ms":1782927746000,"timestamp_seconds":1782927746,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ec663d0"} 
[2026-07-01 23:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:14:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-01 23:14:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23:14:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":119470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":119470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":119470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:14: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-01 23:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429499904001,"66":27517,"180":206,"83":41472,"24":36,"16":334324347424473088,"44":-1187472527601506304},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,83,24,16,44]} 
[2026-07-01 23:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429499904001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:14:07] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-07-01 23:14:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 23:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334324347424473088,"km_value":334324347424473.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:14:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1187472527601506304,"description":"Unknown IO ID 44"} 
[2026-07-01 23:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429499904001,"power":27517,"unknown_180":206,"unknown_83":41472,"ignition":36,"odometer":null,"unknown_44":-1187472527601506304}} 
[2026-07-01 23:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":119470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:14:07] local.INFO: GPS data processed {"connection_id":119470,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:14:07] local.INFO: Acknowledgment sent {"connection_id":119470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:14:48] local.INFO: TCP Data received {"connection_id":121213,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:14:48] local.INFO: Processing buffer {"connection_id":121213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:14:48] local.INFO: IMEI packet received {"connection_id":121213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 23:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":121213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:14:53] local.INFO: TCP Data received {"connection_id":121213,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:14:53] local.INFO: Processing buffer {"connection_id":121213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:14:53] local.INFO: IMEI packet received {"connection_id":121213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":121213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:14:54] local.INFO: TCP Data received {"connection_id":121213,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ec66ba0012cefa5c00713a8d80023007129..."} 
[2026-07-01 23:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ec66ba0012cefa5c00713a8d80023007129..."} 
[2026-07-01 23:14:54] local.INFO: Processing buffer {"connection_id":121213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ec66ba0012cefa5c00713a8d80023007129..."} 
[2026-07-01 23:14:54] local.INFO: Packet analysis {"connection_id":121213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ec6"} 
[2026-07-01 23:14:54] local.INFO: Extracted packet for processing {"connection_id":121213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ec6"} 
[2026-07-01 23:14:54] local.INFO: GPS Element Parsed {"raw_longitude":753903040,"raw_latitude":118728920,"longitude_deg":75.390304,"latitude_deg":11.872892,"altitude":35,"angle":113,"satellites":41,"speed":35,"hex_longitude":"2cefa5c0","hex_latitude":"0713a8d8","is_valid_coordinates":true} 
[2026-07-01 23: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-01 23:14:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429502976001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:14:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334324433323819008,"note":"Value kept but may cause issues"} 
[2026-07-01 23:14:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1180083809464596480,"note":"Value kept but may cause issues"} 
[2026-07-01 23:14:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:14:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782927748000,"timestamp_ms":1782927748000,"timestamp_seconds":1782927748,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ec66ba0"} 
[2026-07-01 23: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-01 23:14: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-01 23: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-01 23:14:54] 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-01 23: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-01 23: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-01 23:14:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:14:54] local.INFO: Teltonika packet parsed successfully {"connection_id":121213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:14:54] local.INFO: Passing IMEI to GPS processor {"connection_id":121213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:14:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":121213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:14:54] 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-01 23:14:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:14:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:14:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429502976001,"66":27245,"15":206,"83":41472,"24":35,"16":334324433323819008,"44":-1180083809464596480},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,83,24,16,44]} 
[2026-07-01 23:14:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:14:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:14:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429502976001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:14:54] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-01 23:14:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 23:14:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334324433323819008,"km_value":334324433323819.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:14:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1180083809464596480,"description":"Unknown IO ID 44"} 
[2026-07-01 23:14:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429502976001,"power":27245,"unknown_15":206,"unknown_83":41472,"ignition":35,"odometer":null,"unknown_44":-1180083809464596480}} 
[2026-07-01 23:14:54] local.INFO: DEBUG: GPS processor result {"connection_id":121213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:14:54] local.INFO: GPS data processed {"connection_id":121213,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:14:54] local.INFO: Acknowledgment sent {"connection_id":121213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:15:26] local.INFO: TCP Data received {"connection_id":121213,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ec67370012cefacc00713a6c8002300652a..."} 
[2026-07-01 23:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ec67370012cefacc00713a6c8002300652a..."} 
[2026-07-01 23:15:26] local.INFO: Processing buffer {"connection_id":121213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ec67370012cefacc00713a6c8002300652a..."} 
[2026-07-01 23:15:26] local.INFO: Packet analysis {"connection_id":121213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ec6"} 
[2026-07-01 23:15:26] local.INFO: Extracted packet for processing {"connection_id":121213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ec6"} 
[2026-07-01 23:15:26] local.INFO: GPS Element Parsed {"raw_longitude":753904832,"raw_latitude":118728392,"longitude_deg":75.3904832,"latitude_deg":11.8728392,"altitude":35,"angle":101,"satellites":42,"speed":35,"hex_longitude":"2cefacc0","hex_latitude":"0713a6c8","is_valid_coordinates":true} 
[2026-07-01 23: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-01 23:15:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429503488001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:15:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334324519223164928,"note":"Value kept but may cause issues"} 
[2026-07-01 23:15:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1178324590860380160,"note":"Value kept but may cause issues"} 
[2026-07-01 23:15:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:15:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782927750000,"timestamp_ms":1782927750000,"timestamp_seconds":1782927750,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ec67370"} 
[2026-07-01 23: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-01 23:15: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-01 23: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-01 23:15:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23: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-01 23: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-01 23:15:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:15:26] local.INFO: Teltonika packet parsed successfully {"connection_id":121213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:15:26] local.INFO: Passing IMEI to GPS processor {"connection_id":121213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:15:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":121213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:15:26] 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-01 23:15:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:15:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:15:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429503488001,"66":27310,"15":206,"83":41472,"24":35,"16":334324519223164928,"44":-1178324590860380160},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,83,24,16,44]} 
[2026-07-01 23:15:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:15:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:15:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429503488001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:15:26] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-01 23:15:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 23:15:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334324519223164928,"km_value":334324519223164.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:15:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1178324590860380160,"description":"Unknown IO ID 44"} 
[2026-07-01 23:15:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429503488001,"power":27310,"unknown_15":206,"unknown_83":41472,"ignition":35,"odometer":null,"unknown_44":-1178324590860380160}} 
[2026-07-01 23:15:26] local.INFO: DEBUG: GPS processor result {"connection_id":121213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:15:26] local.INFO: GPS data processed {"connection_id":121213,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:15:26] local.INFO: Acknowledgment sent {"connection_id":121213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:15:47] local.INFO: TCP Data received {"connection_id":119358,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:15:47] local.INFO: Processing buffer {"connection_id":119358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:15:47] local.INFO: IMEI packet received {"connection_id":119358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 23:15:47] local.INFO: IMEI acknowledgment sent {"connection_id":119358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:15:48] local.INFO: TCP Data received {"connection_id":119358,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:15:48] local.INFO: Processing buffer {"connection_id":119358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:15:48] local.INFO: IMEI packet received {"connection_id":119358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":119358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:15:53] local.INFO: TCP Data received {"connection_id":119358,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:15:53] local.INFO: Processing buffer {"connection_id":119358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:15:53] local.INFO: IMEI packet received {"connection_id":119358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":119358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:15:55] local.INFO: TCP Data received {"connection_id":119358,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ec6b9c0012cefd0c00713a080002200642b..."} 
[2026-07-01 23:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ec6b9c0012cefd0c00713a080002200642b..."} 
[2026-07-01 23:15:55] local.INFO: Processing buffer {"connection_id":119358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ec6b9c0012cefd0c00713a080002200642b..."} 
[2026-07-01 23:15:55] local.INFO: Packet analysis {"connection_id":119358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ec6"} 
[2026-07-01 23:15:55] local.INFO: Extracted packet for processing {"connection_id":119358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ec6"} 
[2026-07-01 23:15:55] local.INFO: GPS Element Parsed {"raw_longitude":753914048,"raw_latitude":118726784,"longitude_deg":75.3914048,"latitude_deg":11.8726784,"altitude":34,"angle":100,"satellites":43,"speed":21,"hex_longitude":"2cefd0c0","hex_latitude":"0713a080","is_valid_coordinates":true} 
[2026-07-01 23:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429504000001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334324965899763712,"note":"Value kept but may cause issues"} 
[2026-07-01 23:15:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1176354266023540736,"note":"Value kept but may cause issues"} 
[2026-07-01 23:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782927768000,"timestamp_ms":1782927768000,"timestamp_seconds":1782927768,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ec6b9c0"} 
[2026-07-01 23:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:15:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-01 23:15:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23:15:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":119358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":119358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":119358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 23:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429504000001,"66":27245,"15":206,"83":41472,"24":21,"16":334324965899763712,"44":-1176354266023540736},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,83,24,16,44]} 
[2026-07-01 23:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429504000001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:15:55] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-01 23:15:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 23:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334324965899763712,"km_value":334324965899763.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:15:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1176354266023540736,"description":"Unknown IO ID 44"} 
[2026-07-01 23:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429504000001,"power":27245,"unknown_15":206,"unknown_83":41472,"ignition":21,"odometer":null,"unknown_44":-1176354266023540736}} 
[2026-07-01 23:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":119358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:15:55] local.INFO: GPS data processed {"connection_id":119358,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:15:55] local.INFO: Acknowledgment sent {"connection_id":119358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:16:27] local.INFO: TCP Data received {"connection_id":119358,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ec6e8a0012ceff300071396280020006e2a..."} 
[2026-07-01 23:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ec6e8a0012ceff300071396280020006e2a..."} 
[2026-07-01 23:16:27] local.INFO: Processing buffer {"connection_id":119358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ec6e8a0012ceff300071396280020006e2a..."} 
[2026-07-01 23:16:27] local.INFO: Packet analysis {"connection_id":119358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ec6"} 
[2026-07-01 23:16:27] local.INFO: Extracted packet for processing {"connection_id":119358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ec6"} 
[2026-07-01 23:16:27] local.INFO: GPS Element Parsed {"raw_longitude":753922816,"raw_latitude":118724136,"longitude_deg":75.3922816,"latitude_deg":11.8724136,"altitude":32,"angle":110,"satellites":42,"speed":34,"hex_longitude":"2ceff300","hex_latitude":"07139628","is_valid_coordinates":true} 
[2026-07-01 23:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429508608001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334325403986427904,"note":"Value kept but may cause issues"} 
[2026-07-01 23:16:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1166221166862368768,"note":"Value kept but may cause issues"} 
[2026-07-01 23:16:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782927780000,"timestamp_ms":1782927780000,"timestamp_seconds":1782927780,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ec6e8a0"} 
[2026-07-01 23:16:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:16: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-01 23:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-01 23:16:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23:16:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:16:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:16:27] 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-01 23:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429508608001,"66":27267,"15":206,"83":41472,"24":34,"16":334325403986427904,"44":-1166221166862368768},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,83,24,16,44]} 
[2026-07-01 23:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429508608001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:16:27] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-07-01 23:16:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 23:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334325403986427904,"km_value":334325403986427.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:16:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1166221166862368768,"description":"Unknown IO ID 44"} 
[2026-07-01 23:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429508608001,"power":27267,"unknown_15":206,"unknown_83":41472,"ignition":34,"odometer":null,"unknown_44":-1166221166862368768}} 
[2026-07-01 23:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":119358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:16:27] local.INFO: GPS data processed {"connection_id":119358,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:16:27] local.INFO: Acknowledgment sent {"connection_id":119358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:16:48] local.INFO: TCP Data received {"connection_id":119359,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:16:48] local.INFO: Processing buffer {"connection_id":119359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:16:48] local.INFO: IMEI packet received {"connection_id":119359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 23:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":119359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:16:51] local.INFO: TCP Data received {"connection_id":119359,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:16:51] local.INFO: Processing buffer {"connection_id":119359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:16:51] local.INFO: IMEI packet received {"connection_id":119359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":119359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:16:53] local.INFO: TCP Data received {"connection_id":119359,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:16:53] local.INFO: Processing buffer {"connection_id":119359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:16:53] local.INFO: IMEI packet received {"connection_id":119359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":119359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:16:55] local.INFO: TCP Data received {"connection_id":119359,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ec93290012cf08a00071372b8002d00432a..."} 
[2026-07-01 23:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ec93290012cf08a00071372b8002d00432a..."} 
[2026-07-01 23:16:55] local.INFO: Processing buffer {"connection_id":119359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ec93290012cf08a00071372b8002d00432a..."} 
[2026-07-01 23:16:55] local.INFO: Packet analysis {"connection_id":119359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ec9"} 
[2026-07-01 23:16:55] local.INFO: Extracted packet for processing {"connection_id":119359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ec9"} 
[2026-07-01 23:16:55] local.INFO: GPS Element Parsed {"raw_longitude":753961472,"raw_latitude":118715064,"longitude_deg":75.3961472,"latitude_deg":11.8715064,"altitude":45,"angle":67,"satellites":42,"speed":5,"hex_longitude":"2cf08a00","hex_latitude":"071372b8","is_valid_coordinates":true} 
[2026-07-01 23:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429544704001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:16:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334327375376416768,"note":"Value kept but may cause issues"} 
[2026-07-01 23:16:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1114711246127376384,"note":"Value kept but may cause issues"} 
[2026-07-01 23:16:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:16:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782927930000,"timestamp_ms":1782927930000,"timestamp_seconds":1782927930,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ec93290"} 
[2026-07-01 23:16:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:16:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-07-01 23:16:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23:16:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:16:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:16:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:16:55] local.INFO: Teltonika packet parsed successfully {"connection_id":119359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:16:55] local.INFO: Passing IMEI to GPS processor {"connection_id":119359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:16:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":119359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:16:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 23:16:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:16:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:16:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429544704001,"66":27604,"220":206,"83":41472,"24":5,"16":334327375376416768,"44":-1114711246127376384},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,83,24,16,44]} 
[2026-07-01 23:16:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:16:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:16:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429544704001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:16:55] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-07-01 23:16:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 23:16:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334327375376416768,"km_value":334327375376416.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:16:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1114711246127376384,"description":"Unknown IO ID 44"} 
[2026-07-01 23:16:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429544704001,"power":27604,"unknown_220":206,"unknown_83":41472,"ignition":5,"odometer":null,"unknown_44":-1114711246127376384}} 
[2026-07-01 23:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":119359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:16:55] local.INFO: GPS data processed {"connection_id":119359,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:16:55] local.INFO: Acknowledgment sent {"connection_id":119359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:17:26] local.INFO: TCP Data received {"connection_id":119359,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ec98498012cf09080071375d8002e004629..."} 
[2026-07-01 23:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ec98498012cf09080071375d8002e004629..."} 
[2026-07-01 23:17:26] local.INFO: Processing buffer {"connection_id":119359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ec98498012cf09080071375d8002e004629..."} 
[2026-07-01 23:17:26] local.INFO: Packet analysis {"connection_id":119359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ec9"} 
[2026-07-01 23:17:26] local.INFO: Extracted packet for processing {"connection_id":119359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ec9"} 
[2026-07-01 23:17:26] local.INFO: GPS Element Parsed {"raw_longitude":753963136,"raw_latitude":118715864,"longitude_deg":75.3963136,"latitude_deg":11.8715864,"altitude":46,"angle":70,"satellites":41,"speed":0,"hex_longitude":"2cf09080","hex_latitude":"071375d8","is_valid_coordinates":true} 
[2026-07-01 23:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:17:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429550080001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:17:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334327465570729984,"note":"Value kept but may cause issues"} 
[2026-07-01 23:17:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1114077927429720064,"note":"Value kept but may cause issues"} 
[2026-07-01 23:17:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:17:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782927951000,"timestamp_ms":1782927951000,"timestamp_seconds":1782927951,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ec98498"} 
[2026-07-01 23:17:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:17: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-01 23:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-01 23:17:26] 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-01 23:17:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:17:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:17:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:17:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:17:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:17:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:17:26] 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-01 23:17:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:17:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:17:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429550080001,"66":27593,"220":206,"83":41472,"24":0,"16":334327465570729984,"44":-1114077927429720064},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,83,24,16,44]} 
[2026-07-01 23:17:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:17:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:17:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429550080001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:17:26] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-07-01 23:17:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 23:17:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334327465570729984,"km_value":334327465570730.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:17:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1114077927429720064,"description":"Unknown IO ID 44"} 
[2026-07-01 23:17:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429550080001,"power":27593,"unknown_220":206,"unknown_83":41472,"ignition":0,"odometer":null,"unknown_44":-1114077927429720064}} 
[2026-07-01 23:17:26] local.INFO: DEBUG: GPS processor result {"connection_id":119359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:17:26] local.INFO: GPS data processed {"connection_id":119359,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:17:26] local.INFO: Acknowledgment sent {"connection_id":119359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:17:48] local.INFO: TCP Data received {"connection_id":119471,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:17:48] local.INFO: Processing buffer {"connection_id":119471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:17:48] local.INFO: IMEI packet received {"connection_id":119471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 23:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":119471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:17:53] local.INFO: TCP Data received {"connection_id":119471,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:17:53] local.INFO: Processing buffer {"connection_id":119471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:17:53] local.INFO: IMEI packet received {"connection_id":119471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":119471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:17:54] local.INFO: TCP Data received {"connection_id":119471,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ec9d6a0012cf09a4007137908002e004c2a..."} 
[2026-07-01 23:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ec9d6a0012cf09a4007137908002e004c2a..."} 
[2026-07-01 23:17:54] local.INFO: Processing buffer {"connection_id":119471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ec9d6a0012cf09a4007137908002e004c2a..."} 
[2026-07-01 23:17:54] local.INFO: Packet analysis {"connection_id":119471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ec9"} 
[2026-07-01 23:17:54] local.INFO: Extracted packet for processing {"connection_id":119471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ec9"} 
[2026-07-01 23:17:54] local.INFO: GPS Element Parsed {"raw_longitude":753965632,"raw_latitude":118716680,"longitude_deg":75.3965632,"latitude_deg":11.871668,"altitude":46,"angle":76,"satellites":42,"speed":4,"hex_longitude":"2cf09a40","hex_latitude":"07137908","is_valid_coordinates":true} 
[2026-07-01 23:17:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:17:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429555456001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:17:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334327590124781568,"note":"Value kept but may cause issues"} 
[2026-07-01 23:17:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1112248340080896000,"note":"Value kept but may cause issues"} 
[2026-07-01 23:17:54] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,83,24,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-01 23:17:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782927972000,"timestamp_ms":1782927972000,"timestamp_seconds":1782927972,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ec9d6a0"} 
[2026-07-01 23:17:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:17: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-01 23:17:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-01 23:17:54] 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-01 23:17:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:17:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:17:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:17:54] local.INFO: Teltonika packet parsed successfully {"connection_id":119471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:17:54] local.INFO: Passing IMEI to GPS processor {"connection_id":119471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:17:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":119471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:17:54] 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-01 23:17:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:17:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:17:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429555456001,"66":27593,"16":334327590124781568,"83":41472,"24":4,"44":-1112248340080896000},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,83,24,44]} 
[2026-07-01 23:17:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:17:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:17:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429555456001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:17:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334327590124781568,"km_value":334327590124781.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:17:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 23:17:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1112248340080896000,"description":"Unknown IO ID 44"} 
[2026-07-01 23:17:54] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456429555456001,"power":27593,"odometer":null,"unknown_83":41472,"ignition":4,"unknown_44":-1112248340080896000}} 
[2026-07-01 23:17:54] local.INFO: DEBUG: GPS processor result {"connection_id":119471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:17:54] local.INFO: GPS data processed {"connection_id":119471,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:17:54] local.INFO: Acknowledgment sent {"connection_id":119471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:18:27] local.INFO: TCP Data received {"connection_id":119471,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eca28a8012cf0a70007137a40002c00442c..."} 
[2026-07-01 23:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eca28a8012cf0a70007137a40002c00442c..."} 
[2026-07-01 23:18:27] local.INFO: Processing buffer {"connection_id":119471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1eca28a8012cf0a70007137a40002c00442c..."} 
[2026-07-01 23:18:27] local.INFO: Packet analysis {"connection_id":119471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eca"} 
[2026-07-01 23:18:27] local.INFO: Extracted packet for processing {"connection_id":119471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eca"} 
[2026-07-01 23:18:27] local.INFO: GPS Element Parsed {"raw_longitude":753968896,"raw_latitude":118716992,"longitude_deg":75.3968896,"latitude_deg":11.8716992,"altitude":44,"angle":68,"satellites":44,"speed":5,"hex_longitude":"2cf0a700","hex_latitude":"07137a40","is_valid_coordinates":true} 
[2026-07-01 23: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-01 23:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429560832001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334327744743604224,"note":"Value kept but may cause issues"} 
[2026-07-01 23:18:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1109503959057758208,"note":"Value kept but may cause issues"} 
[2026-07-01 23:18:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,83,24,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-01 23:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782927993000,"timestamp_ms":1782927993000,"timestamp_seconds":1782927993,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eca28a8"} 
[2026-07-01 23: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-01 23:18: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-01 23: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":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-01 23:18:27] 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-01 23: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-01 23: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-01 23:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:18:27] 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-01 23:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429560832001,"66":27517,"16":334327744743604224,"83":41472,"24":5,"44":-1109503959057758208},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,83,24,44]} 
[2026-07-01 23:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429560832001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334327744743604224,"km_value":334327744743604.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:18:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 23:18:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1109503959057758208,"description":"Unknown IO ID 44"} 
[2026-07-01 23:18:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456429560832001,"power":27517,"odometer":null,"unknown_83":41472,"ignition":5,"unknown_44":-1109503959057758208}} 
[2026-07-01 23:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":119471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:18:27] local.INFO: GPS data processed {"connection_id":119471,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:18:27] local.INFO: Acknowledgment sent {"connection_id":119471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:18:44] local.INFO: TCP Data received {"connection_id":119361,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 23:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119361,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 23:18:44] local.INFO: Processing buffer {"connection_id":119361,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 23:18:44] local.INFO: IMEI packet received {"connection_id":119361,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 23:18:44] local.INFO: IMEI acknowledgment sent {"connection_id":119361,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:18:48] local.INFO: TCP Data received {"connection_id":121215,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:18:48] local.INFO: Processing buffer {"connection_id":121215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:18:48] local.INFO: IMEI packet received {"connection_id":121215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 23:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":121215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:18:49] local.INFO: TCP Data received {"connection_id":121215,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:18:49] local.INFO: Processing buffer {"connection_id":121215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:18:49] local.INFO: IMEI packet received {"connection_id":121215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":121215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:18:53] local.INFO: TCP Data received {"connection_id":121215,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:18:53] local.INFO: Processing buffer {"connection_id":121215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:18:53] local.INFO: IMEI packet received {"connection_id":121215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":121215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:18:54] local.INFO: TCP Data received {"connection_id":121215,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eca4400012cf0aac007137aa8002b00542b..."} 
[2026-07-01 23:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eca4400012cf0aac007137aa8002b00542b..."} 
[2026-07-01 23:18:54] local.INFO: Processing buffer {"connection_id":121215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1eca4400012cf0aac007137aa8002b00542b..."} 
[2026-07-01 23:18:54] local.INFO: Packet analysis {"connection_id":121215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eca"} 
[2026-07-01 23:18:54] local.INFO: Extracted packet for processing {"connection_id":121215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eca"} 
[2026-07-01 23:18:54] local.INFO: GPS Element Parsed {"raw_longitude":753969856,"raw_latitude":118717096,"longitude_deg":75.3969856,"latitude_deg":11.8717096,"altitude":43,"angle":84,"satellites":43,"speed":6,"hex_longitude":"2cf0aac0","hex_latitude":"07137aa8","is_valid_coordinates":true} 
[2026-07-01 23:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429566208001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:18:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334327791988244480,"note":"Value kept but may cause issues"} 
[2026-07-01 23:18:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1105915153104617472,"note":"Value kept but may cause issues"} 
[2026-07-01 23:18:54] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,83,24,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-01 23:18:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782928000000,"timestamp_ms":1782928000000,"timestamp_seconds":1782928000,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eca4400"} 
[2026-07-01 23: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-01 23:18: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-01 23: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-01 23:18:54] 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-01 23:18:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23: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-01 23:18:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:18:54] local.INFO: Teltonika packet parsed successfully {"connection_id":121215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:18:54] local.INFO: Passing IMEI to GPS processor {"connection_id":121215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:18:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":121215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:18:54] 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-01 23:18:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:18:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:18:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429566208001,"66":27321,"16":334327791988244480,"83":41472,"24":6,"44":-1105915153104617472},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,83,24,44]} 
[2026-07-01 23:18:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:18:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:18:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429566208001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:18:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334327791988244480,"km_value":334327791988244.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:18:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 23:18:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1105915153104617472,"description":"Unknown IO ID 44"} 
[2026-07-01 23:18:54] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456429566208001,"power":27321,"odometer":null,"unknown_83":41472,"ignition":6,"unknown_44":-1105915153104617472}} 
[2026-07-01 23:18:54] local.INFO: DEBUG: GPS processor result {"connection_id":121215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:18:54] local.INFO: GPS data processed {"connection_id":121215,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:18:54] local.INFO: Acknowledgment sent {"connection_id":121215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:19:14] local.INFO: TCP Data received {"connection_id":119362,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 23:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119362,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 23:19:14] local.INFO: Processing buffer {"connection_id":119362,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 23:19:14] local.INFO: IMEI packet received {"connection_id":119362,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 23:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":119362,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:19:24] local.INFO: TCP Data received {"connection_id":119363,"ip":"91.238.181.94","data_length":47,"data_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-07-01 23:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119363,"packet_length":47,"packet_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-07-01 23:19:24] local.INFO: Processing buffer {"connection_id":119363,"buffer_length":47,"buffer_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-07-01 23:19:24] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":119363,"buffer_length":47,"first_bytes_hex":"0300002f2ae00000000000436f6f6b69"} 
[2026-07-01 23:19:25] local.INFO: TCP Data received {"connection_id":121215,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eca9608012cf0bfc007137c300029005b2c..."} 
[2026-07-01 23:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eca9608012cf0bfc007137c300029005b2c..."} 
[2026-07-01 23:19:25] local.INFO: Processing buffer {"connection_id":121215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1eca9608012cf0bfc007137c300029005b2c..."} 
[2026-07-01 23:19:25] local.INFO: Packet analysis {"connection_id":121215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eca"} 
[2026-07-01 23:19:25] local.INFO: Extracted packet for processing {"connection_id":121215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eca"} 
[2026-07-01 23:19:25] local.INFO: GPS Element Parsed {"raw_longitude":753975232,"raw_latitude":118717488,"longitude_deg":75.3975232,"latitude_deg":11.8717488,"altitude":41,"angle":91,"satellites":44,"speed":15,"hex_longitude":"2cf0bfc0","hex_latitude":"07137c30","is_valid_coordinates":true} 
[2026-07-01 23:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429568000001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:19:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334328049686282240,"note":"Value kept but may cause issues"} 
[2026-07-01 23:19:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1104859621941925888,"note":"Value kept but may cause issues"} 
[2026-07-01 23:19:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:19:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782928021000,"timestamp_ms":1782928021000,"timestamp_seconds":1782928021,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eca9608"} 
[2026-07-01 23:19:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:19: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-01 23:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-01 23:19:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23:19:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:19:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:19:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:19:25] local.INFO: Teltonika packet parsed successfully {"connection_id":121215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:19:25] local.INFO: Passing IMEI to GPS processor {"connection_id":121215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:19:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":121215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:19:25] 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-01 23:19:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:19:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:19:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429568000001,"66":27517,"219":206,"83":41472,"24":15,"16":334328049686282240,"44":-1104859621941925888},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-07-01 23:19:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:19:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:19:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429568000001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:19:25] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-07-01 23:19:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 23:19:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334328049686282240,"km_value":334328049686282.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:19:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1104859621941925888,"description":"Unknown IO ID 44"} 
[2026-07-01 23:19:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429568000001,"power":27517,"unknown_219":206,"unknown_83":41472,"ignition":15,"odometer":null,"unknown_44":-1104859621941925888}} 
[2026-07-01 23:19:25] local.INFO: DEBUG: GPS processor result {"connection_id":121215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:19:25] local.INFO: GPS data processed {"connection_id":121215,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:19:25] local.INFO: Acknowledgment sent {"connection_id":121215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:19:53] local.INFO: TCP Data received {"connection_id":120159,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:19:53] local.INFO: Processing buffer {"connection_id":120159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:19:53] local.INFO: IMEI packet received {"connection_id":120159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 23:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":120159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:19:54] local.INFO: TCP Data received {"connection_id":120159,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:19:54] local.INFO: Processing buffer {"connection_id":120159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:19:54] local.INFO: IMEI packet received {"connection_id":120159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":120159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:19:55] local.INFO: TCP Data received {"connection_id":120159,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ecc1ca8012cf1aec00712fe10000b00882b..."} 
[2026-07-01 23:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ecc1ca8012cf1aec00712fe10000b00882b..."} 
[2026-07-01 23:19:55] local.INFO: Processing buffer {"connection_id":120159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ecc1ca8012cf1aec00712fe10000b00882b..."} 
[2026-07-01 23:19:55] local.INFO: Packet analysis {"connection_id":120159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ecc"} 
[2026-07-01 23:19:55] local.INFO: Extracted packet for processing {"connection_id":120159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ecc"} 
[2026-07-01 23:19:55] local.INFO: GPS Element Parsed {"raw_longitude":754036416,"raw_latitude":118685200,"longitude_deg":75.4036416,"latitude_deg":11.86852,"altitude":11,"angle":136,"satellites":43,"speed":13,"hex_longitude":"2cf1aec0","hex_latitude":"0712fe10","is_valid_coordinates":true} 
[2026-07-01 23:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429593856001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334331498545020928,"note":"Value kept but may cause issues"} 
[2026-07-01 23:19:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1038713002421467136,"note":"Value kept but may cause issues"} 
[2026-07-01 23:19:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782928121000,"timestamp_ms":1782928121000,"timestamp_seconds":1782928121,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ecc1ca8"} 
[2026-07-01 23:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:19:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-01 23:19:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23:19:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":120159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":120159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":120159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:19:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 23:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429593856001,"66":27593,"197":206,"83":41472,"24":13,"16":334331498545020928,"44":-1038713002421467136},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,83,24,16,44]} 
[2026-07-01 23:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429593856001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:19:55] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-01 23:19:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 23:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334331498545020928,"km_value":334331498545020.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:19:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1038713002421467136,"description":"Unknown IO ID 44"} 
[2026-07-01 23:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429593856001,"power":27593,"unknown_197":206,"unknown_83":41472,"ignition":13,"odometer":null,"unknown_44":-1038713002421467136}} 
[2026-07-01 23:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":120159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:19:55] local.INFO: GPS data processed {"connection_id":120159,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:19:55] local.INFO: Acknowledgment sent {"connection_id":120159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:19:59] local.INFO: TCP Data received {"connection_id":120159,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ecc6eb0012cf1c4000712e9a0000c007e2c..."} 
[2026-07-01 23:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ecc6eb0012cf1c4000712e9a0000c007e2c..."} 
[2026-07-01 23:19:59] local.INFO: Processing buffer {"connection_id":120159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ecc6eb0012cf1c4000712e9a0000c007e2c..."} 
[2026-07-01 23:19:59] local.INFO: Packet analysis {"connection_id":120159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ecc"} 
[2026-07-01 23:19:59] local.INFO: Extracted packet for processing {"connection_id":120159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ecc"} 
[2026-07-01 23:19:59] local.INFO: GPS Element Parsed {"raw_longitude":754041856,"raw_latitude":118679968,"longitude_deg":75.4041856,"latitude_deg":11.8679968,"altitude":12,"angle":126,"satellites":44,"speed":14,"hex_longitude":"2cf1c400","hex_latitude":"0712e9a0","is_valid_coordinates":true} 
[2026-07-01 23:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429598976001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334331859322273792,"note":"Value kept but may cause issues"} 
[2026-07-01 23:19:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1031676128005320704,"note":"Value kept but may cause issues"} 
[2026-07-01 23:19:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782928142000,"timestamp_ms":1782928142000,"timestamp_seconds":1782928142,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ecc6eb0"} 
[2026-07-01 23:19:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:19: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-01 23:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-01 23:19:59] 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-01 23:19:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:19:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":120159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":120159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":120159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:19:59] 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-01 23:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429598976001,"66":27539,"197":206,"83":41472,"24":14,"16":334331859322273792,"44":-1031676128005320704},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,83,24,16,44]} 
[2026-07-01 23:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429598976001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:19:59] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-01 23:19:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 23:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334331859322273792,"km_value":334331859322273.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:19:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1031676128005320704,"description":"Unknown IO ID 44"} 
[2026-07-01 23:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429598976001,"power":27539,"unknown_197":206,"unknown_83":41472,"ignition":14,"odometer":null,"unknown_44":-1031676128005320704}} 
[2026-07-01 23:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":120159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:19:59] local.INFO: GPS data processed {"connection_id":120159,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:19:59] local.INFO: Acknowledgment sent {"connection_id":120159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:20:31] local.INFO: TCP Data received {"connection_id":120159,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ecca560012cf1dec00712d848000b00712c..."} 
[2026-07-01 23:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ecca560012cf1dec00712d848000b00712c..."} 
[2026-07-01 23:20:31] local.INFO: Processing buffer {"connection_id":120159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ecca560012cf1dec00712d848000b00712c..."} 
[2026-07-01 23:20:31] local.INFO: Packet analysis {"connection_id":120159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ecc"} 
[2026-07-01 23:20:31] local.INFO: Extracted packet for processing {"connection_id":120159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ecc"} 
[2026-07-01 23:20:31] local.INFO: GPS Element Parsed {"raw_longitude":754048704,"raw_latitude":118675528,"longitude_deg":75.4048704,"latitude_deg":11.8675528,"altitude":11,"angle":113,"satellites":44,"speed":28,"hex_longitude":"2cf1dec0","hex_latitude":"0712d848","is_valid_coordinates":true} 
[2026-07-01 23: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-01 23:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429604352001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334332254459265024,"note":"Value kept but may cause issues"} 
[2026-07-01 23:20:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1025694784751558656,"note":"Value kept but may cause issues"} 
[2026-07-01 23:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782928156000,"timestamp_ms":1782928156000,"timestamp_seconds":1782928156,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ecca560"} 
[2026-07-01 23: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-01 23:20:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23: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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-01 23:20:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23: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-01 23: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-01 23:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":120159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":120159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":120159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 23:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429604352001,"66":27571,"197":206,"83":41472,"24":28,"16":334332254459265024,"44":-1025694784751558656},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,83,24,16,44]} 
[2026-07-01 23:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429604352001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:20:31] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-01 23:20:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 23:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334332254459265024,"km_value":334332254459265.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:20:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1025694784751558656,"description":"Unknown IO ID 44"} 
[2026-07-01 23:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429604352001,"power":27571,"unknown_197":206,"unknown_83":41472,"ignition":28,"odometer":null,"unknown_44":-1025694784751558656}} 
[2026-07-01 23:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":120159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:20:31] local.INFO: GPS data processed {"connection_id":120159,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:20:31] local.INFO: Acknowledgment sent {"connection_id":120159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:20:48] local.INFO: TCP Data received {"connection_id":119364,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:20:48] local.INFO: Processing buffer {"connection_id":119364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:20:48] local.INFO: IMEI packet received {"connection_id":119364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 23:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":119364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:20:49] local.INFO: TCP Data received {"connection_id":119364,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:20:49] local.INFO: Processing buffer {"connection_id":119364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:20:49] local.INFO: IMEI packet received {"connection_id":119364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":119364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:20:53] local.INFO: TCP Data received {"connection_id":119364,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:20:53] local.INFO: Processing buffer {"connection_id":119364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:20:53] local.INFO: IMEI packet received {"connection_id":119364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":119364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:20:55] local.INFO: TCP Data received {"connection_id":119364,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eccdc10012cf1fe800712c948000c00742b..."} 
[2026-07-01 23:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eccdc10012cf1fe800712c948000c00742b..."} 
[2026-07-01 23:20:55] local.INFO: Processing buffer {"connection_id":119364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1eccdc10012cf1fe800712c948000c00742b..."} 
[2026-07-01 23:20:55] local.INFO: Packet analysis {"connection_id":119364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ecc"} 
[2026-07-01 23:20:55] local.INFO: Extracted packet for processing {"connection_id":119364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ecc"} 
[2026-07-01 23:20:55] local.INFO: GPS Element Parsed {"raw_longitude":754056832,"raw_latitude":118671688,"longitude_deg":75.4056832,"latitude_deg":11.8671688,"altitude":12,"angle":116,"satellites":43,"speed":25,"hex_longitude":"2cf1fe80","hex_latitude":"0712c948","is_valid_coordinates":true} 
[2026-07-01 23:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429607936001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334332683955994624,"note":"Value kept but may cause issues"} 
[2026-07-01 23:20:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1018165329125685248,"note":"Value kept but may cause issues"} 
[2026-07-01 23:20:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782928170000,"timestamp_ms":1782928170000,"timestamp_seconds":1782928170,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eccdc10"} 
[2026-07-01 23:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:20:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-01 23:20:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23:20:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":119364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":119364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":119364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:20:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 23:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429607936001,"66":27376,"23":206,"83":41472,"24":25,"16":334332683955994624,"44":-1018165329125685248},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,44]} 
[2026-07-01 23:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429607936001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:20:55] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-01 23:20:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 23:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334332683955994624,"km_value":334332683955994.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:20:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1018165329125685248,"description":"Unknown IO ID 44"} 
[2026-07-01 23:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429607936001,"power":27376,"unknown_23":206,"unknown_83":41472,"ignition":25,"odometer":null,"unknown_44":-1018165329125685248}} 
[2026-07-01 23:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":119364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:20:55] local.INFO: GPS data processed {"connection_id":119364,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:20:55] local.INFO: Acknowledgment sent {"connection_id":119364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:21:26] local.INFO: TCP Data received {"connection_id":119364,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ecd0af0012cf21b000712b920000a00832a..."} 
[2026-07-01 23:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ecd0af0012cf21b000712b920000a00832a..."} 
[2026-07-01 23:21:26] local.INFO: Processing buffer {"connection_id":119364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ecd0af0012cf21b000712b920000a00832a..."} 
[2026-07-01 23:21:26] local.INFO: Packet analysis {"connection_id":119364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ecd"} 
[2026-07-01 23:21:26] local.INFO: Extracted packet for processing {"connection_id":119364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ecd"} 
[2026-07-01 23:21:26] local.INFO: GPS Element Parsed {"raw_longitude":754064128,"raw_latitude":118667552,"longitude_deg":75.4064128,"latitude_deg":11.8667552,"altitude":10,"angle":131,"satellites":42,"speed":22,"hex_longitude":"2cf21b00","hex_latitude":"0712b920","is_valid_coordinates":true} 
[2026-07-01 23:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429611520001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334333083387953152,"note":"Value kept but may cause issues"} 
[2026-07-01 23:21:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1009228498616104960,"note":"Value kept but may cause issues"} 
[2026-07-01 23:21:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782928182000,"timestamp_ms":1782928182000,"timestamp_seconds":1782928182,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ecd0af0"} 
[2026-07-01 23:21:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:21: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-01 23:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-01 23:21:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23:21:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:21:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:21:26] 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-01 23:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429611520001,"66":27658,"23":206,"83":41472,"24":22,"16":334333083387953152,"44":-1009228498616104960},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,44]} 
[2026-07-01 23:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429611520001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:21:26] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-01 23:21:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 23:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334333083387953152,"km_value":334333083387953.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:21:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1009228498616104960,"description":"Unknown IO ID 44"} 
[2026-07-01 23:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429611520001,"power":27658,"unknown_23":206,"unknown_83":41472,"ignition":22,"odometer":null,"unknown_44":-1009228498616104960}} 
[2026-07-01 23:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":119364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:21:26] local.INFO: GPS data processed {"connection_id":119364,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:21:26] local.INFO: Acknowledgment sent {"connection_id":119364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:21:48] local.INFO: TCP Data received {"connection_id":119473,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:21:48] local.INFO: Processing buffer {"connection_id":119473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:21:48] local.INFO: IMEI packet received {"connection_id":119473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 23:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":119473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:21:49] local.INFO: TCP Data received {"connection_id":119473,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:21:49] local.INFO: Processing buffer {"connection_id":119473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:21:49] local.INFO: IMEI packet received {"connection_id":119473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":119473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:21:53] local.INFO: TCP Data received {"connection_id":119473,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:21:53] local.INFO: Processing buffer {"connection_id":119473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:21:53] local.INFO: IMEI packet received {"connection_id":119473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":119473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:21:54] local.INFO: TCP Data received {"connection_id":119473,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ecd3db8012cf2304007129fe8000b008e28..."} 
[2026-07-01 23:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ecd3db8012cf2304007129fe8000b008e28..."} 
[2026-07-01 23:21:54] local.INFO: Processing buffer {"connection_id":119473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ecd3db8012cf2304007129fe8000b008e28..."} 
[2026-07-01 23:21:54] local.INFO: Packet analysis {"connection_id":119473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ecd"} 
[2026-07-01 23:21:54] local.INFO: Extracted packet for processing {"connection_id":119473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ecd"} 
[2026-07-01 23:21:54] local.INFO: GPS Element Parsed {"raw_longitude":754069568,"raw_latitude":118661096,"longitude_deg":75.4069568,"latitude_deg":11.8661096,"altitude":11,"angle":142,"satellites":40,"speed":27,"hex_longitude":"2cf23040","hex_latitude":"07129fe8","is_valid_coordinates":true} 
[2026-07-01 23:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429614592001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334333491409846272,"note":"Value kept but may cause issues"} 
[2026-07-01 23:21:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1001206461780910080,"note":"Value kept but may cause issues"} 
[2026-07-01 23:21:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782928195000,"timestamp_ms":1782928195000,"timestamp_seconds":1782928195,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ecd3db8"} 
[2026-07-01 23:21:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:21: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-01 23:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-01 23:21:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23:21:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:21:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":119473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":119473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":119473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:21:54] 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-01 23:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429614592001,"66":27517,"23":206,"83":41472,"24":27,"16":334333491409846272,"44":-1001206461780910080},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,44]} 
[2026-07-01 23:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429614592001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:21:54] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-01 23:21:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 23:21:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334333491409846272,"km_value":334333491409846.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:21:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1001206461780910080,"description":"Unknown IO ID 44"} 
[2026-07-01 23:21:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429614592001,"power":27517,"unknown_23":206,"unknown_83":41472,"ignition":27,"odometer":null,"unknown_44":-1001206461780910080}} 
[2026-07-01 23:21:54] local.INFO: DEBUG: GPS processor result {"connection_id":119473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:21:54] local.INFO: GPS data processed {"connection_id":119473,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:21:54] local.INFO: Acknowledgment sent {"connection_id":119473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:22:26] local.INFO: TCP Data received {"connection_id":119473,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ecd7850012cf245c007128238000d00902c..."} 
[2026-07-01 23:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ecd7850012cf245c007128238000d00902c..."} 
[2026-07-01 23:22:26] local.INFO: Processing buffer {"connection_id":119473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ecd7850012cf245c007128238000d00902c..."} 
[2026-07-01 23:22:26] local.INFO: Packet analysis {"connection_id":119473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ecd"} 
[2026-07-01 23:22:26] local.INFO: Extracted packet for processing {"connection_id":119473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ecd"} 
[2026-07-01 23:22:26] local.INFO: GPS Element Parsed {"raw_longitude":754075072,"raw_latitude":118653496,"longitude_deg":75.4075072,"latitude_deg":11.8653496,"altitude":13,"angle":144,"satellites":44,"speed":18,"hex_longitude":"2cf245c0","hex_latitude":"07128238","is_valid_coordinates":true} 
[2026-07-01 23:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:22:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429617920001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:22:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334333942381412352,"note":"Value kept but may cause issues"} 
[2026-07-01 23:22:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-995225118527461376,"note":"Value kept but may cause issues"} 
[2026-07-01 23:22:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:22:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782928210000,"timestamp_ms":1782928210000,"timestamp_seconds":1782928210,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ecd7850"} 
[2026-07-01 23:22:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:22:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-01 23:22:26] 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-01 23:22:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:22:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:22:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:22:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:22:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:22:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:22:26] 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-01 23:22:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:22:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:22:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429617920001,"66":27376,"23":206,"83":41472,"24":18,"16":334333942381412352,"44":-995225118527461376},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,44]} 
[2026-07-01 23:22:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:22:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:22:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429617920001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:22:26] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-01 23:22:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 23:22:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334333942381412352,"km_value":334333942381412.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:22:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-995225118527461376,"description":"Unknown IO ID 44"} 
[2026-07-01 23:22:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429617920001,"power":27376,"unknown_23":206,"unknown_83":41472,"ignition":18,"odometer":null,"unknown_44":-995225118527461376}} 
[2026-07-01 23:22:26] local.INFO: DEBUG: GPS processor result {"connection_id":119473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:22:26] local.INFO: GPS data processed {"connection_id":119473,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:22:26] local.INFO: Acknowledgment sent {"connection_id":119473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:22:49] local.INFO: TCP Data received {"connection_id":121218,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:22:49] local.INFO: Processing buffer {"connection_id":121218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:22:49] local.INFO: IMEI packet received {"connection_id":121218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 23:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":121218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:22:51] local.INFO: TCP Data received {"connection_id":121218,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:22:51] local.INFO: Processing buffer {"connection_id":121218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:22:51] local.INFO: IMEI packet received {"connection_id":121218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":121218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:22:52] local.INFO: TCP Data received {"connection_id":121218,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ecda348012cf2524007127240000d008429..."} 
[2026-07-01 23:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ecda348012cf2524007127240000d008429..."} 
[2026-07-01 23:22:52] local.INFO: Processing buffer {"connection_id":121218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ecda348012cf2524007127240000d008429..."} 
[2026-07-01 23:22:52] local.INFO: Packet analysis {"connection_id":121218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ecd"} 
[2026-07-01 23:22:52] local.INFO: Extracted packet for processing {"connection_id":121218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ecd"} 
[2026-07-01 23:22:52] local.INFO: GPS Element Parsed {"raw_longitude":754078272,"raw_latitude":118649408,"longitude_deg":75.4078272,"latitude_deg":11.8649408,"altitude":13,"angle":132,"satellites":41,"speed":18,"hex_longitude":"2cf25240","hex_latitude":"07127240","is_valid_coordinates":true} 
[2026-07-01 23: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-01 23:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429621760001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334334191489515520,"note":"Value kept but may cause issues"} 
[2026-07-01 23:22:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-989173406530127872,"note":"Value kept but may cause issues"} 
[2026-07-01 23:22:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1782928221000,"timestamp_ms":1782928221000,"timestamp_seconds":1782928221,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ecda348"} 
[2026-07-01 23: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-01 23:22:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-01 23:22:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23: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-01 23: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-01 23:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":121218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":121218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":121218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:22:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 23:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429621760001,"66":27463,"23":206,"83":41472,"24":18,"16":334334191489515520,"44":-989173406530127872},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,44]} 
[2026-07-01 23:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429621760001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:22:52] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-01 23:22:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 23:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334334191489515520,"km_value":334334191489515.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:22:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-989173406530127872,"description":"Unknown IO ID 44"} 
[2026-07-01 23:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429621760001,"power":27463,"unknown_23":206,"unknown_83":41472,"ignition":18,"odometer":null,"unknown_44":-989173406530127872}} 
[2026-07-01 23:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":121218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:22:52] local.INFO: GPS data processed {"connection_id":121218,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:22:52] local.INFO: Acknowledgment sent {"connection_id":121218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:23:23] local.INFO: TCP Data received {"connection_id":121218,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ecdab18012cf2554007126ff8000d00792b..."} 
[2026-07-01 23:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ecdab18012cf2554007126ff8000d00792b..."} 
[2026-07-01 23:23:23] local.INFO: Processing buffer {"connection_id":121218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ecdab18012cf2554007126ff8000d00792b..."} 
[2026-07-01 23:23:23] local.INFO: Packet analysis {"connection_id":121218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ecd"} 
[2026-07-01 23:23:23] local.INFO: Extracted packet for processing {"connection_id":121218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ecd"} 
[2026-07-01 23:23:23] local.INFO: GPS Element Parsed {"raw_longitude":754079040,"raw_latitude":118648824,"longitude_deg":75.407904,"latitude_deg":11.8648824,"altitude":13,"angle":121,"satellites":43,"speed":20,"hex_longitude":"2cf25540","hex_latitude":"07126ff8","is_valid_coordinates":true} 
[2026-07-01 23:23:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:23:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429624576001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:23:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334334238734155776,"note":"Value kept but may cause issues"} 
[2026-07-01 23:23:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-985654969322291200,"note":"Value kept but may cause issues"} 
[2026-07-01 23:23:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:23:23] local.INFO: AVL Record Parsed {"raw_timestamp":1782928223000,"timestamp_ms":1782928223000,"timestamp_seconds":1782928223,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ecdab18"} 
[2026-07-01 23:23:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:23:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23:23:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-01 23:23:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23:23:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:23:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:23:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:23:23] local.INFO: Teltonika packet parsed successfully {"connection_id":121218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:23:23] local.INFO: Passing IMEI to GPS processor {"connection_id":121218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:23:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":121218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:23:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 23:23:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:23:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:23:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429624576001,"66":27365,"23":206,"83":41472,"24":20,"16":334334238734155776,"44":-985654969322291200},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,44]} 
[2026-07-01 23:23:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:23:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:23:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429624576001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:23:23] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-01 23:23:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 23:23:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334334238734155776,"km_value":334334238734155.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:23:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-985654969322291200,"description":"Unknown IO ID 44"} 
[2026-07-01 23:23:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429624576001,"power":27365,"unknown_23":206,"unknown_83":41472,"ignition":20,"odometer":null,"unknown_44":-985654969322291200}} 
[2026-07-01 23:23:23] local.INFO: DEBUG: GPS processor result {"connection_id":121218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:23:23] local.INFO: GPS data processed {"connection_id":121218,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:23:23] local.INFO: Acknowledgment sent {"connection_id":121218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:23:48] local.INFO: TCP Data received {"connection_id":120160,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:23:48] local.INFO: Processing buffer {"connection_id":120160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:23:48] local.INFO: IMEI packet received {"connection_id":120160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 23:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":120160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:23:53] local.INFO: TCP Data received {"connection_id":120160,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:23:53] local.INFO: Processing buffer {"connection_id":120160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:23:53] local.INFO: IMEI packet received {"connection_id":120160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":120160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:23:54] local.INFO: TCP Data received {"connection_id":120160,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ecde998012cf275c007125e48000c00782b..."} 
[2026-07-01 23:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ecde998012cf275c007125e48000c00782b..."} 
[2026-07-01 23:23:54] local.INFO: Processing buffer {"connection_id":120160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ecde998012cf275c007125e48000c00782b..."} 
[2026-07-01 23:23:54] local.INFO: Packet analysis {"connection_id":120160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ecd"} 
[2026-07-01 23:23:54] local.INFO: Extracted packet for processing {"connection_id":120160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ecd"} 
[2026-07-01 23:23:54] local.INFO: GPS Element Parsed {"raw_longitude":754087360,"raw_latitude":118644296,"longitude_deg":75.408736,"latitude_deg":11.8644296,"altitude":12,"angle":120,"satellites":43,"speed":24,"hex_longitude":"2cf275c0","hex_latitude":"07125e48","is_valid_coordinates":true} 
[2026-07-01 23:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:23:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429625088001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:23:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334334689705721856,"note":"Value kept but may cause issues"} 
[2026-07-01 23:23:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-984810544392308736,"note":"Value kept but may cause issues"} 
[2026-07-01 23:23:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:23:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782928239000,"timestamp_ms":1782928239000,"timestamp_seconds":1782928239,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ecde998"} 
[2026-07-01 23:23:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:23: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-01 23:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 23:23:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23:23:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:23:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:23:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:23:54] local.INFO: Teltonika packet parsed successfully {"connection_id":120160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:23:54] local.INFO: Passing IMEI to GPS processor {"connection_id":120160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:23:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":120160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:23:54] 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-01 23:23:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:23:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:23:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429625088001,"66":27593,"23":206,"83":41472,"24":24,"16":334334689705721856,"44":-984810544392308736},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,83,24,16,44]} 
[2026-07-01 23:23:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:23:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:23:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429625088001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:23:54] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-07-01 23:23:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 23:23:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334334689705721856,"km_value":334334689705721.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:23:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-984810544392308736,"description":"Unknown IO ID 44"} 
[2026-07-01 23:23:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429625088001,"power":27593,"unknown_23":206,"unknown_83":41472,"ignition":24,"odometer":null,"unknown_44":-984810544392308736}} 
[2026-07-01 23:23:54] local.INFO: DEBUG: GPS processor result {"connection_id":120160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:23:54] local.INFO: GPS data processed {"connection_id":120160,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:23:54] local.INFO: Acknowledgment sent {"connection_id":120160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:24:26] local.INFO: TCP Data received {"connection_id":120160,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ece2048012cf2944007124c18000d00782a..."} 
[2026-07-01 23:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ece2048012cf2944007124c18000d00782a..."} 
[2026-07-01 23:24:26] local.INFO: Processing buffer {"connection_id":120160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ece2048012cf2944007124c18000d00782a..."} 
[2026-07-01 23:24:26] local.INFO: Packet analysis {"connection_id":120160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ece"} 
[2026-07-01 23:24:26] local.INFO: Extracted packet for processing {"connection_id":120160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ece"} 
[2026-07-01 23:24:26] local.INFO: GPS Element Parsed {"raw_longitude":754095168,"raw_latitude":118639640,"longitude_deg":75.4095168,"latitude_deg":11.863964,"altitude":13,"angle":120,"satellites":42,"speed":25,"hex_longitude":"2cf29440","hex_latitude":"07124c18","is_valid_coordinates":true} 
[2026-07-01 23:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429629184001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334335123497418752,"note":"Value kept but may cause issues"} 
[2026-07-01 23:24:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-975662607650371584,"note":"Value kept but may cause issues"} 
[2026-07-01 23:24:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782928253000,"timestamp_ms":1782928253000,"timestamp_seconds":1782928253,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ece2048"} 
[2026-07-01 23:24:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:24: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-01 23:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-01 23:24:26] 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-01 23:24:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:24:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":120160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":120160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":120160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:24:26] 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-01 23:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429629184001,"66":27332,"233":206,"83":41472,"24":25,"16":334335123497418752,"44":-975662607650371584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,83,24,16,44]} 
[2026-07-01 23:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429629184001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:24:26] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-07-01 23:24:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 23:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334335123497418752,"km_value":334335123497418.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:24:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-975662607650371584,"description":"Unknown IO ID 44"} 
[2026-07-01 23:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429629184001,"power":27332,"unknown_233":206,"unknown_83":41472,"ignition":25,"odometer":null,"unknown_44":-975662607650371584}} 
[2026-07-01 23:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":120160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:24:26] local.INFO: GPS data processed {"connection_id":120160,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:24:26] local.INFO: Acknowledgment sent {"connection_id":120160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:24:40] local.INFO: TCP Data received {"connection_id":119474,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 23:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119474,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 23:24:40] local.INFO: Processing buffer {"connection_id":119474,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 23:24:40] local.INFO: IMEI packet received {"connection_id":119474,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 23:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":119474,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:24:48] local.INFO: TCP Data received {"connection_id":119475,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:24:48] local.INFO: Processing buffer {"connection_id":119475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:24:48] local.INFO: IMEI packet received {"connection_id":119475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 23:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":119475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:24:50] local.INFO: TCP Data received {"connection_id":119475,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:24:50] local.INFO: Processing buffer {"connection_id":119475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:24:50] local.INFO: IMEI packet received {"connection_id":119475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":119475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:24:53] local.INFO: TCP Data received {"connection_id":119475,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:24:53] local.INFO: Processing buffer {"connection_id":119475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:24:53] local.INFO: IMEI packet received {"connection_id":119475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":119475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:24:54] local.INFO: TCP Data received {"connection_id":119475,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ece62b0012cf2b240071239b8000b007e2c..."} 
[2026-07-01 23:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ece62b0012cf2b240071239b8000b007e2c..."} 
[2026-07-01 23:24:54] local.INFO: Processing buffer {"connection_id":119475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ece62b0012cf2b240071239b8000b007e2c..."} 
[2026-07-01 23:24:54] local.INFO: Packet analysis {"connection_id":119475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ece"} 
[2026-07-01 23:24:54] local.INFO: Extracted packet for processing {"connection_id":119475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ece"} 
[2026-07-01 23:24:54] local.INFO: GPS Element Parsed {"raw_longitude":754102848,"raw_latitude":118634936,"longitude_deg":75.4102848,"latitude_deg":11.8634936,"altitude":11,"angle":126,"satellites":44,"speed":7,"hex_longitude":"2cf2b240","hex_latitude":"071239b8","is_valid_coordinates":true} 
[2026-07-01 23: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-01 23:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429632768001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334335552994148352,"note":"Value kept but may cause issues"} 
[2026-07-01 23:24:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-967077620861888512,"note":"Value kept but may cause issues"} 
[2026-07-01 23:24:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782928270000,"timestamp_ms":1782928270000,"timestamp_seconds":1782928270,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ece62b0"} 
[2026-07-01 23: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-01 23:24: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-01 23: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-01 23:24:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23: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-01 23: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-01 23:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":119475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":119475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":119475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:24:54] 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-01 23:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429632768001,"66":27397,"233":206,"83":41472,"24":7,"16":334335552994148352,"44":-967077620861888512},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,83,24,16,44]} 
[2026-07-01 23:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429632768001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:24:54] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-07-01 23:24:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 23:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334335552994148352,"km_value":334335552994148.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:24:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-967077620861888512,"description":"Unknown IO ID 44"} 
[2026-07-01 23:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429632768001,"power":27397,"unknown_233":206,"unknown_83":41472,"ignition":7,"odometer":null,"unknown_44":-967077620861888512}} 
[2026-07-01 23:24:54] local.INFO: DEBUG: GPS processor result {"connection_id":119475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:24:54] local.INFO: GPS data processed {"connection_id":119475,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:24:54] local.INFO: Acknowledgment sent {"connection_id":119475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:25:24] local.INFO: TCP Data received {"connection_id":121219,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 23:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121219,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 23:25:24] local.INFO: Processing buffer {"connection_id":121219,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 23:25:24] local.INFO: IMEI packet received {"connection_id":121219,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 23:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":121219,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:25:25] local.INFO: TCP Data received {"connection_id":119475,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ed129a0012cf3628007119f98000b00842d..."} 
[2026-07-01 23:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ed129a0012cf3628007119f98000b00842d..."} 
[2026-07-01 23:25:25] local.INFO: Processing buffer {"connection_id":119475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ed129a0012cf3628007119f98000b00842d..."} 
[2026-07-01 23:25:25] local.INFO: Packet analysis {"connection_id":119475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ed1"} 
[2026-07-01 23:25:25] local.INFO: Extracted packet for processing {"connection_id":119475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ed1"} 
[2026-07-01 23:25:25] local.INFO: GPS Element Parsed {"raw_longitude":754147968,"raw_latitude":118595480,"longitude_deg":75.4147968,"latitude_deg":11.859548,"altitude":11,"angle":132,"satellites":45,"speed":25,"hex_longitude":"2cf36280","hex_latitude":"07119f98","is_valid_coordinates":true} 
[2026-07-01 23:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:25:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429679616001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:25:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334338443507138560,"note":"Value kept but may cause issues"} 
[2026-07-01 23:25:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-916623231296192512,"note":"Value kept but may cause issues"} 
[2026-07-01 23:25:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:25:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782928452000,"timestamp_ms":1782928452000,"timestamp_seconds":1782928452,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ed129a0"} 
[2026-07-01 23:25:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:25: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-01 23:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-01 23:25:25] 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-01 23:25:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:25:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:25:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:25:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:25:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:25:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:25:25] 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-01 23:25:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:25:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:25:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429679616001,"66":27397,"232":206,"83":41472,"24":25,"16":334338443507138560,"44":-916623231296192512},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,44]} 
[2026-07-01 23:25:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:25:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:25:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429679616001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:25:25] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-07-01 23:25:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 23:25:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334338443507138560,"km_value":334338443507138.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:25:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-916623231296192512,"description":"Unknown IO ID 44"} 
[2026-07-01 23:25:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429679616001,"power":27397,"unknown_232":206,"unknown_83":41472,"ignition":25,"odometer":null,"unknown_44":-916623231296192512}} 
[2026-07-01 23:25:25] local.INFO: DEBUG: GPS processor result {"connection_id":119475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:25:25] local.INFO: GPS data processed {"connection_id":119475,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:25:25] local.INFO: Acknowledgment sent {"connection_id":119475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:25:53] local.INFO: TCP Data received {"connection_id":120161,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:25:53] local.INFO: Processing buffer {"connection_id":120161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:25:53] local.INFO: IMEI packet received {"connection_id":120161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 23:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":120161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:25:58] local.INFO: TCP Data received {"connection_id":120161,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:25:58] local.INFO: Processing buffer {"connection_id":120161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:25:58] local.INFO: IMEI packet received {"connection_id":120161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":120161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:25:59] local.INFO: TCP Data received {"connection_id":120161,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ed16ff0012cf37d0007118688000c00852c..."} 
[2026-07-01 23:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ed16ff0012cf37d0007118688000c00852c..."} 
[2026-07-01 23:25:59] local.INFO: Processing buffer {"connection_id":120161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ed16ff0012cf37d0007118688000c00852c..."} 
[2026-07-01 23:25:59] local.INFO: Packet analysis {"connection_id":120161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ed1"} 
[2026-07-01 23:25:59] local.INFO: Extracted packet for processing {"connection_id":120161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ed1"} 
[2026-07-01 23:25:59] local.INFO: GPS Element Parsed {"raw_longitude":754154752,"raw_latitude":118589064,"longitude_deg":75.4154752,"latitude_deg":11.8589064,"altitude":12,"angle":133,"satellites":44,"speed":21,"hex_longitude":"2cf37d00","hex_latitude":"07118688","is_valid_coordinates":true} 
[2026-07-01 23:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429683712001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334338890183737344,"note":"Value kept but may cause issues"} 
[2026-07-01 23:25:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-909023406926620672,"note":"Value kept but may cause issues"} 
[2026-07-01 23:25:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782928470000,"timestamp_ms":1782928470000,"timestamp_seconds":1782928470,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ed16ff0"} 
[2026-07-01 23: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-01 23:25:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-07-01 23:25:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23: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-01 23: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-01 23:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":120161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":120161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":120161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:25:59] 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-01 23:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429683712001,"66":27571,"232":206,"83":41472,"24":21,"16":334338890183737344,"44":-909023406926620672},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,44]} 
[2026-07-01 23:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429683712001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:25:59] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-07-01 23:25:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 23:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334338890183737344,"km_value":334338890183737.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:25:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-909023406926620672,"description":"Unknown IO ID 44"} 
[2026-07-01 23:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429683712001,"power":27571,"unknown_232":206,"unknown_83":41472,"ignition":21,"odometer":null,"unknown_44":-909023406926620672}} 
[2026-07-01 23:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":120161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:25:59] local.INFO: GPS data processed {"connection_id":120161,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:25:59] local.INFO: Acknowledgment sent {"connection_id":120161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:26:04] local.INFO: TCP Data received {"connection_id":120161,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ed19ae8012cf38d00071174d0000d009229..."} 
[2026-07-01 23:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ed19ae8012cf38d00071174d0000d009229..."} 
[2026-07-01 23:26:04] local.INFO: Processing buffer {"connection_id":120161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ed19ae8012cf38d00071174d0000d009229..."} 
[2026-07-01 23:26:04] local.INFO: Packet analysis {"connection_id":120161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ed1"} 
[2026-07-01 23:26:04] local.INFO: Extracted packet for processing {"connection_id":120161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ed1"} 
[2026-07-01 23:26:04] local.INFO: GPS Element Parsed {"raw_longitude":754158848,"raw_latitude":118584528,"longitude_deg":75.4158848,"latitude_deg":11.8584528,"altitude":13,"angle":146,"satellites":41,"speed":21,"hex_longitude":"2cf38d00","hex_latitude":"071174d0","is_valid_coordinates":true} 
[2026-07-01 23: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-01 23:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429688320001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334339186536480768,"note":"Value kept but may cause issues"} 
[2026-07-01 23:26:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-901564320045430784,"note":"Value kept but may cause issues"} 
[2026-07-01 23:26:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1782928481000,"timestamp_ms":1782928481000,"timestamp_seconds":1782928481,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ed19ae8"} 
[2026-07-01 23: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-01 23:26:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-01 23:26:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23: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-01 23: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-01 23:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":120161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":120161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":120161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:26: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-01 23:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429688320001,"66":27517,"232":206,"83":41472,"24":21,"16":334339186536480768,"44":-901564320045430784},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,44]} 
[2026-07-01 23:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429688320001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:26:04] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-07-01 23:26:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 23:26:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334339186536480768,"km_value":334339186536480.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:26:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-901564320045430784,"description":"Unknown IO ID 44"} 
[2026-07-01 23:26:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429688320001,"power":27517,"unknown_232":206,"unknown_83":41472,"ignition":21,"odometer":null,"unknown_44":-901564320045430784}} 
[2026-07-01 23:26:04] local.INFO: DEBUG: GPS processor result {"connection_id":120161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:26:04] local.INFO: GPS data processed {"connection_id":120161,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:26:04] local.INFO: Acknowledgment sent {"connection_id":120161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:26:48] local.INFO: TCP Data received {"connection_id":121221,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:26:48] local.INFO: Processing buffer {"connection_id":121221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:26:48] local.INFO: IMEI packet received {"connection_id":121221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 23:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":121221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:26:53] local.INFO: TCP Data received {"connection_id":121221,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:26:53] local.INFO: Processing buffer {"connection_id":121221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:26:53] local.INFO: IMEI packet received {"connection_id":121221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":121221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:26:54] local.INFO: TCP Data received {"connection_id":121221,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ed1c9c8012cf39dc007115dc0000c008727..."} 
[2026-07-01 23:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ed1c9c8012cf39dc007115dc0000c008727..."} 
[2026-07-01 23:26:54] local.INFO: Processing buffer {"connection_id":121221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ed1c9c8012cf39dc007115dc0000c008727..."} 
[2026-07-01 23:26:54] local.INFO: Packet analysis {"connection_id":121221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ed1"} 
[2026-07-01 23:26:54] local.INFO: Extracted packet for processing {"connection_id":121221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ed1"} 
[2026-07-01 23:26:54] local.INFO: GPS Element Parsed {"raw_longitude":754163136,"raw_latitude":118578624,"longitude_deg":75.4163136,"latitude_deg":11.8578624,"altitude":12,"angle":135,"satellites":39,"speed":24,"hex_longitude":"2cf39dc0","hex_latitude":"07115dc0","is_valid_coordinates":true} 
[2026-07-01 23: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-01 23:26:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429691136001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:26:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334339538723799040,"note":"Value kept but may cause issues"} 
[2026-07-01 23:26:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-897060720419221504,"note":"Value kept but may cause issues"} 
[2026-07-01 23:26:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:26:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782928493000,"timestamp_ms":1782928493000,"timestamp_seconds":1782928493,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ed1c9c8"} 
[2026-07-01 23: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-01 23:26: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-01 23: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-01 23:26:54] 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-01 23: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-01 23: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-01 23:26:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:26:54] local.INFO: Teltonika packet parsed successfully {"connection_id":121221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:26:54] local.INFO: Passing IMEI to GPS processor {"connection_id":121221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:26:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":121221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:26:54] 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-01 23:26:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:26:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:26:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429691136001,"66":27517,"232":206,"83":41472,"24":24,"16":334339538723799040,"44":-897060720419221504},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,44]} 
[2026-07-01 23:26:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:26:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:26:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429691136001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:26:54] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-07-01 23:26:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 23:26:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334339538723799040,"km_value":334339538723799.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:26:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-897060720419221504,"description":"Unknown IO ID 44"} 
[2026-07-01 23:26:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429691136001,"power":27517,"unknown_232":206,"unknown_83":41472,"ignition":24,"odometer":null,"unknown_44":-897060720419221504}} 
[2026-07-01 23:26:54] local.INFO: DEBUG: GPS processor result {"connection_id":121221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:26:54] local.INFO: GPS data processed {"connection_id":121221,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:26:54] local.INFO: Acknowledgment sent {"connection_id":121221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:27:25] local.INFO: TCP Data received {"connection_id":121221,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ed1d968012cf3a300071158d8000b007b26..."} 
[2026-07-01 23:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ed1d968012cf3a300071158d8000b007b26..."} 
[2026-07-01 23:27:25] local.INFO: Processing buffer {"connection_id":121221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ed1d968012cf3a300071158d8000b007b26..."} 
[2026-07-01 23:27:25] local.INFO: Packet analysis {"connection_id":121221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ed1"} 
[2026-07-01 23:27:25] local.INFO: Extracted packet for processing {"connection_id":121221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ed1"} 
[2026-07-01 23:27:25] local.INFO: GPS Element Parsed {"raw_longitude":754164480,"raw_latitude":118577368,"longitude_deg":75.416448,"latitude_deg":11.8577368,"altitude":11,"angle":123,"satellites":38,"speed":7,"hex_longitude":"2cf3a300","hex_latitude":"071158d8","is_valid_coordinates":true} 
[2026-07-01 23:27:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:27:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429694208001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:27:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334339624623144960,"note":"Value kept but may cause issues"} 
[2026-07-01 23:27:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-892346014560829440,"note":"Value kept but may cause issues"} 
[2026-07-01 23:27:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:27:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782928497000,"timestamp_ms":1782928497000,"timestamp_seconds":1782928497,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ed1d968"} 
[2026-07-01 23:27:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:27: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-01 23:27:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-01 23:27:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23:27:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:27:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:27:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:27:25] local.INFO: Teltonika packet parsed successfully {"connection_id":121221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:27:25] local.INFO: Passing IMEI to GPS processor {"connection_id":121221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:27:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":121221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:27:25] 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-01 23:27:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:27:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:27:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429694208001,"66":27658,"232":206,"83":41472,"24":7,"16":334339624623144960,"44":-892346014560829440},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,44]} 
[2026-07-01 23:27:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:27:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:27:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429694208001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:27:25] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-07-01 23:27:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 23:27:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334339624623144960,"km_value":334339624623144.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:27:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-892346014560829440,"description":"Unknown IO ID 44"} 
[2026-07-01 23:27:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429694208001,"power":27658,"unknown_232":206,"unknown_83":41472,"ignition":7,"odometer":null,"unknown_44":-892346014560829440}} 
[2026-07-01 23:27:25] local.INFO: DEBUG: GPS processor result {"connection_id":121221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:27:25] local.INFO: GPS data processed {"connection_id":121221,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:27:25] local.INFO: Acknowledgment sent {"connection_id":121221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:27:48] local.INFO: TCP Data received {"connection_id":120162,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:27:48] local.INFO: Processing buffer {"connection_id":120162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:27:48] local.INFO: IMEI packet received {"connection_id":120162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 23:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":120162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:27:49] local.INFO: TCP Data received {"connection_id":120162,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:27:49] local.INFO: Processing buffer {"connection_id":120162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:27:49] local.INFO: IMEI packet received {"connection_id":120162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":120162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:27:53] local.INFO: TCP Data received {"connection_id":120162,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:27:53] local.INFO: Processing buffer {"connection_id":120162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:27:53] local.INFO: IMEI packet received {"connection_id":120162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":120162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:27:54] local.INFO: TCP Data received {"connection_id":120162,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ed20078012cf3a50007115628000b009223..."} 
[2026-07-01 23:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ed20078012cf3a50007115628000b009223..."} 
[2026-07-01 23:27:54] local.INFO: Processing buffer {"connection_id":120162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ed20078012cf3a50007115628000b009223..."} 
[2026-07-01 23:27:54] local.INFO: Packet analysis {"connection_id":120162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ed2"} 
[2026-07-01 23:27:54] local.INFO: Extracted packet for processing {"connection_id":120162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ed2"} 
[2026-07-01 23:27:54] local.INFO: GPS Element Parsed {"raw_longitude":754164992,"raw_latitude":118576680,"longitude_deg":75.4164992,"latitude_deg":11.857668,"altitude":11,"angle":146,"satellites":35,"speed":8,"hex_longitude":"2cf3a500","hex_latitude":"07115628","is_valid_coordinates":true} 
[2026-07-01 23:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429695232001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334339671867785216,"note":"Value kept but may cause issues"} 
[2026-07-01 23:27:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-890868270933420032,"note":"Value kept but may cause issues"} 
[2026-07-01 23:27:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782928507000,"timestamp_ms":1782928507000,"timestamp_seconds":1782928507,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ed20078"} 
[2026-07-01 23:27:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:27:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-07-01 23:27:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23:27:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:27:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":120162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":120162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":120162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:27:54] 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-01 23:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429695232001,"66":27571,"232":206,"83":41472,"24":8,"16":334339671867785216,"44":-890868270933420032},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,44]} 
[2026-07-01 23:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429695232001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:27:54] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-07-01 23:27:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 23:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334339671867785216,"km_value":334339671867785.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:27:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-890868270933420032,"description":"Unknown IO ID 44"} 
[2026-07-01 23:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429695232001,"power":27571,"unknown_232":206,"unknown_83":41472,"ignition":8,"odometer":null,"unknown_44":-890868270933420032}} 
[2026-07-01 23:27:54] local.INFO: DEBUG: GPS processor result {"connection_id":120162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:27:54] local.INFO: GPS data processed {"connection_id":120162,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:27:54] local.INFO: Acknowledgment sent {"connection_id":120162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:27:56] local.INFO: TCP Data received {"connection_id":120162,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ed20848012cf3a68007115438000b008724..."} 
[2026-07-01 23:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ed20848012cf3a68007115438000b008724..."} 
[2026-07-01 23:27:56] local.INFO: Processing buffer {"connection_id":120162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ed20848012cf3a68007115438000b008724..."} 
[2026-07-01 23:27:56] local.INFO: Packet analysis {"connection_id":120162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ed2"} 
[2026-07-01 23:27:56] local.INFO: Extracted packet for processing {"connection_id":120162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ed2"} 
[2026-07-01 23:27:56] local.INFO: GPS Element Parsed {"raw_longitude":754165376,"raw_latitude":118576184,"longitude_deg":75.4165376,"latitude_deg":11.8576184,"altitude":11,"angle":135,"satellites":36,"speed":14,"hex_longitude":"2cf3a680","hex_latitude":"07115438","is_valid_coordinates":true} 
[2026-07-01 23: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-01 23:27:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429697792001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:27:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334339701932556288,"note":"Value kept but may cause issues"} 
[2026-07-01 23:27:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-890305320980174848,"note":"Value kept but may cause issues"} 
[2026-07-01 23:27:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:27:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782928509000,"timestamp_ms":1782928509000,"timestamp_seconds":1782928509,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ed20848"} 
[2026-07-01 23: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-01 23:27:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-01 23:27:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23: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-01 23: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-01 23:27:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:27:56] local.INFO: Teltonika packet parsed successfully {"connection_id":120162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:27:56] local.INFO: Passing IMEI to GPS processor {"connection_id":120162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:27:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":120162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:27:56] 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-01 23:27:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:27:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:27:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429697792001,"66":27517,"232":206,"83":41472,"24":14,"16":334339701932556288,"44":-890305320980174848},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,44]} 
[2026-07-01 23:27:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:27:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:27:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429697792001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:27:56] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-07-01 23:27:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 23:27:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334339701932556288,"km_value":334339701932556.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:27:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-890305320980174848,"description":"Unknown IO ID 44"} 
[2026-07-01 23:27:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429697792001,"power":27517,"unknown_232":206,"unknown_83":41472,"ignition":14,"odometer":null,"unknown_44":-890305320980174848}} 
[2026-07-01 23:27:56] local.INFO: DEBUG: GPS processor result {"connection_id":120162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:27:56] local.INFO: GPS data processed {"connection_id":120162,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:27:56] local.INFO: Acknowledgment sent {"connection_id":120162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:28:27] local.INFO: TCP Data received {"connection_id":120162,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ed246c8012cf3be0007114018000c007a2b..."} 
[2026-07-01 23:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ed246c8012cf3be0007114018000c007a2b..."} 
[2026-07-01 23:28:27] local.INFO: Processing buffer {"connection_id":120162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ed246c8012cf3be0007114018000c007a2b..."} 
[2026-07-01 23:28:27] local.INFO: Packet analysis {"connection_id":120162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ed2"} 
[2026-07-01 23:28:27] local.INFO: Extracted packet for processing {"connection_id":120162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ed2"} 
[2026-07-01 23:28:27] local.INFO: GPS Element Parsed {"raw_longitude":754171392,"raw_latitude":118571032,"longitude_deg":75.4171392,"latitude_deg":11.8571032,"altitude":12,"angle":122,"satellites":43,"speed":22,"hex_longitude":"2cf3be00","hex_latitude":"07114018","is_valid_coordinates":true} 
[2026-07-01 23:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:28:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429698304001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:28:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334340079889678336,"note":"Value kept but may cause issues"} 
[2026-07-01 23:28:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-889883108515235840,"note":"Value kept but may cause issues"} 
[2026-07-01 23:28:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:28:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782928525000,"timestamp_ms":1782928525000,"timestamp_seconds":1782928525,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ed246c8"} 
[2026-07-01 23:28:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:28: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-01 23:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-01 23:28:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23:28:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:28:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:28:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:28:27] local.INFO: Teltonika packet parsed successfully {"connection_id":120162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:28:27] local.INFO: Passing IMEI to GPS processor {"connection_id":120162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:28:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":120162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:28:27] 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-01 23:28:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:28:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:28:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429698304001,"66":27245,"232":206,"83":41472,"24":22,"16":334340079889678336,"44":-889883108515235840},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,44]} 
[2026-07-01 23:28:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:28:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:28:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429698304001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:28:27] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-07-01 23:28:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 23:28:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334340079889678336,"km_value":334340079889678.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:28:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-889883108515235840,"description":"Unknown IO ID 44"} 
[2026-07-01 23:28:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429698304001,"power":27245,"unknown_232":206,"unknown_83":41472,"ignition":22,"odometer":null,"unknown_44":-889883108515235840}} 
[2026-07-01 23:28:27] local.INFO: DEBUG: GPS processor result {"connection_id":120162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:28:27] local.INFO: GPS data processed {"connection_id":120162,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:28:27] local.INFO: Acknowledgment sent {"connection_id":120162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:28:48] local.INFO: TCP Data received {"connection_id":119477,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:28:48] local.INFO: Processing buffer {"connection_id":119477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:28:48] local.INFO: IMEI packet received {"connection_id":119477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 23:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":119477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:28:53] local.INFO: TCP Data received {"connection_id":119477,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:28:53] local.INFO: Processing buffer {"connection_id":119477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:28:53] local.INFO: IMEI packet received {"connection_id":119477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":119477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:28:54] local.INFO: TCP Data received {"connection_id":119477,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ed45620012cf49b0007107e100020008522..."} 
[2026-07-01 23:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ed45620012cf49b0007107e100020008522..."} 
[2026-07-01 23:28:54] local.INFO: Processing buffer {"connection_id":119477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ed45620012cf49b0007107e100020008522..."} 
[2026-07-01 23:28:54] local.INFO: Packet analysis {"connection_id":119477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ed4"} 
[2026-07-01 23:28:54] local.INFO: Extracted packet for processing {"connection_id":119477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ed4"} 
[2026-07-01 23:28:54] local.INFO: GPS Element Parsed {"raw_longitude":754227968,"raw_latitude":118521360,"longitude_deg":75.4227968,"latitude_deg":11.852136,"altitude":32,"angle":133,"satellites":34,"speed":36,"hex_longitude":"2cf49b00","hex_latitude":"07107e10","is_valid_coordinates":true} 
[2026-07-01 23: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-01 23:28:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429733888001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:28:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334343722021945344,"note":"Value kept but may cause issues"} 
[2026-07-01 23:28:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-828521563604678656,"note":"Value kept but may cause issues"} 
[2026-07-01 23:28:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:28:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782928660000,"timestamp_ms":1782928660000,"timestamp_seconds":1782928660,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ed45620"} 
[2026-07-01 23: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-01 23:28: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-01 23: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-01 23:28:54] 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-01 23: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-01 23: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-01 23:28:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:28:54] local.INFO: Teltonika packet parsed successfully {"connection_id":119477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:28:54] local.INFO: Passing IMEI to GPS processor {"connection_id":119477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:28:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":119477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:28:54] 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-01 23:28:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:28:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:28:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429733888001,"66":27484,"215":206,"83":41472,"24":36,"16":334343722021945344,"44":-828521563604678656},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,44]} 
[2026-07-01 23:28:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:28:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:28:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429733888001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:28:54] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-01 23:28:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 23:28:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334343722021945344,"km_value":334343722021945.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:28:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-828521563604678656,"description":"Unknown IO ID 44"} 
[2026-07-01 23:28:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429733888001,"power":27484,"unknown_215":206,"unknown_83":41472,"ignition":36,"odometer":null,"unknown_44":-828521563604678656}} 
[2026-07-01 23:28:54] local.INFO: DEBUG: GPS processor result {"connection_id":119477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:28:54] local.INFO: GPS data processed {"connection_id":119477,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:28:54] local.INFO: Acknowledgment sent {"connection_id":119477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:29:25] local.INFO: TCP Data received {"connection_id":119477,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ed47948012cf4b580071066b0001f008125..."} 
[2026-07-01 23:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ed47948012cf4b580071066b0001f008125..."} 
[2026-07-01 23:29:25] local.INFO: Processing buffer {"connection_id":119477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ed47948012cf4b580071066b0001f008125..."} 
[2026-07-01 23:29:25] local.INFO: Packet analysis {"connection_id":119477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ed4"} 
[2026-07-01 23:29:25] local.INFO: Extracted packet for processing {"connection_id":119477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ed4"} 
[2026-07-01 23:29:25] local.INFO: GPS Element Parsed {"raw_longitude":754234752,"raw_latitude":118515376,"longitude_deg":75.4234752,"latitude_deg":11.8515376,"altitude":31,"angle":129,"satellites":37,"speed":37,"hex_longitude":"2cf4b580","hex_latitude":"071066b0","is_valid_coordinates":true} 
[2026-07-01 23:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:29:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429736960001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:29:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334344155813642240,"note":"Value kept but may cause issues"} 
[2026-07-01 23:29:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-821062476723515392,"note":"Value kept but may cause issues"} 
[2026-07-01 23:29:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:29:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782928669000,"timestamp_ms":1782928669000,"timestamp_seconds":1782928669,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ed47948"} 
[2026-07-01 23:29:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:29: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-01 23:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 23:29:25] 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-01 23:29:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:29:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:29:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:29:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:29:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:29:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:29:25] 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-01 23:29:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:29:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:29:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429736960001,"66":27517,"215":206,"83":41472,"24":37,"16":334344155813642240,"44":-821062476723515392},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,44]} 
[2026-07-01 23:29:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:29:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:29:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429736960001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:29:25] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-01 23:29:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 23:29:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334344155813642240,"km_value":334344155813642.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:29:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-821062476723515392,"description":"Unknown IO ID 44"} 
[2026-07-01 23:29:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429736960001,"power":27517,"unknown_215":206,"unknown_83":41472,"ignition":37,"odometer":null,"unknown_44":-821062476723515392}} 
[2026-07-01 23:29:25] local.INFO: DEBUG: GPS processor result {"connection_id":119477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:29:25] local.INFO: GPS data processed {"connection_id":119477,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:29:25] local.INFO: Acknowledgment sent {"connection_id":119477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:29:48] local.INFO: TCP Data received {"connection_id":121222,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:29:48] local.INFO: Processing buffer {"connection_id":121222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:29:48] local.INFO: IMEI packet received {"connection_id":121222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 23:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":121222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:29:51] local.INFO: TCP Data received {"connection_id":121222,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:29:51] local.INFO: Processing buffer {"connection_id":121222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:29:51] local.INFO: IMEI packet received {"connection_id":121222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":121222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:29:53] local.INFO: TCP Data received {"connection_id":121222,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:29:53] local.INFO: Processing buffer {"connection_id":121222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:29:53] local.INFO: IMEI packet received {"connection_id":121222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":121222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:29:54] local.INFO: TCP Data received {"connection_id":121222,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ed4c380012cf4d240071050c8001b008c28..."} 
[2026-07-01 23:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ed4c380012cf4d240071050c8001b008c28..."} 
[2026-07-01 23:29:54] local.INFO: Processing buffer {"connection_id":121222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ed4c380012cf4d240071050c8001b008c28..."} 
[2026-07-01 23:29:54] local.INFO: Packet analysis {"connection_id":121222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ed4"} 
[2026-07-01 23:29:54] local.INFO: Extracted packet for processing {"connection_id":121222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ed4"} 
[2026-07-01 23:29:54] local.INFO: GPS Element Parsed {"raw_longitude":754242112,"raw_latitude":118509768,"longitude_deg":75.4242112,"latitude_deg":11.8509768,"altitude":27,"angle":140,"satellites":40,"speed":12,"hex_longitude":"2cf4d240","hex_latitude":"071050c8","is_valid_coordinates":true} 
[2026-07-01 23:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429739264001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334344598195273728,"note":"Value kept but may cause issues"} 
[2026-07-01 23:29:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-813603389842214912,"note":"Value kept but may cause issues"} 
[2026-07-01 23:29:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782928688000,"timestamp_ms":1782928688000,"timestamp_seconds":1782928688,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ed4c380"} 
[2026-07-01 23:29:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:29: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-01 23:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-01 23:29:54] 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-01 23:29:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:29:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":121222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":121222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":121222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:29:54] 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-01 23:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429739264001,"66":27539,"215":206,"83":41472,"24":12,"16":334344598195273728,"44":-813603389842214912},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,44]} 
[2026-07-01 23:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429739264001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:29:54] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-07-01 23:29:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-07-01 23:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334344598195273728,"km_value":334344598195273.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:29:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-813603389842214912,"description":"Unknown IO ID 44"} 
[2026-07-01 23:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429739264001,"power":27539,"unknown_215":206,"unknown_83":41472,"ignition":12,"odometer":null,"unknown_44":-813603389842214912}} 
[2026-07-01 23:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":121222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:29:54] local.INFO: GPS data processed {"connection_id":121222,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:29:54] local.INFO: Acknowledgment sent {"connection_id":121222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:30:32] local.INFO: TCP Data received {"connection_id":121222,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ed62310012cf57680070f6310000c00c329..."} 
[2026-07-01 23:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ed62310012cf57680070f6310000c00c329..."} 
[2026-07-01 23:30:32] local.INFO: Processing buffer {"connection_id":121222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ed62310012cf57680070f6310000c00c329..."} 
[2026-07-01 23:30:32] local.INFO: Packet analysis {"connection_id":121222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ed6"} 
[2026-07-01 23:30:32] local.INFO: Extracted packet for processing {"connection_id":121222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ed6"} 
[2026-07-01 23:30:32] local.INFO: GPS Element Parsed {"raw_longitude":754284160,"raw_latitude":118448912,"longitude_deg":75.428416,"latitude_deg":11.8448912,"altitude":12,"angle":195,"satellites":41,"speed":61,"hex_longitude":"2cf57680","hex_latitude":"070f6310","is_valid_coordinates":true} 
[2026-07-01 23:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429765632001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334348699889041408,"note":"Value kept but may cause issues"} 
[2026-07-01 23:30:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-755971388375476224,"note":"Value kept but may cause issues"} 
[2026-07-01 23:30:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782928778000,"timestamp_ms":1782928778000,"timestamp_seconds":1782928778,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ed62310"} 
[2026-07-01 23:30:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:30:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-01 23:30:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23:30:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:30:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":121222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":121222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":121222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:30:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 23:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429765632001,"66":27365,"255":206,"83":41728,"24":61,"16":334348699889041408,"44":-755971388375476224},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,83,24,16,44]} 
[2026-07-01 23:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429765632001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:30:32] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-01 23:30:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 23:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334348699889041408,"km_value":334348699889041.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:30:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-755971388375476224,"description":"Unknown IO ID 44"} 
[2026-07-01 23:30:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429765632001,"power":27365,"unknown_255":206,"unknown_83":41728,"ignition":61,"odometer":null,"unknown_44":-755971388375476224}} 
[2026-07-01 23:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":121222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:30:32] local.INFO: GPS data processed {"connection_id":121222,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:30:32] local.INFO: Acknowledgment sent {"connection_id":121222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:30:52] local.INFO: TCP Data received {"connection_id":121223,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 23:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121223,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 23:30:52] local.INFO: Processing buffer {"connection_id":121223,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 23:30:52] local.INFO: IMEI packet received {"connection_id":121223,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 23:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":121223,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:30:52] local.INFO: TCP Data received {"connection_id":119478,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:30:52] local.INFO: Processing buffer {"connection_id":119478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:30:52] local.INFO: IMEI packet received {"connection_id":119478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 23:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":119478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:30:53] local.INFO: TCP Data received {"connection_id":119478,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:30:53] local.INFO: Processing buffer {"connection_id":119478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:30:53] local.INFO: IMEI packet received {"connection_id":119478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":119478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:30:58] local.INFO: TCP Data received {"connection_id":119478,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:30:58] local.INFO: Processing buffer {"connection_id":119478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:30:58] local.INFO: IMEI packet received {"connection_id":119478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":119478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:30:59] local.INFO: TCP Data received {"connection_id":119478,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ed63e68012cf56ec0070f3bd0000c00b729..."} 
[2026-07-01 23:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ed63e68012cf56ec0070f3bd0000c00b729..."} 
[2026-07-01 23:30:59] local.INFO: Processing buffer {"connection_id":119478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ed63e68012cf56ec0070f3bd0000c00b729..."} 
[2026-07-01 23:30:59] local.INFO: Packet analysis {"connection_id":119478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ed6"} 
[2026-07-01 23:30:59] local.INFO: Extracted packet for processing {"connection_id":119478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ed6"} 
[2026-07-01 23:30:59] local.INFO: GPS Element Parsed {"raw_longitude":754282176,"raw_latitude":118438864,"longitude_deg":75.4282176,"latitude_deg":11.8438864,"altitude":12,"angle":183,"satellites":41,"speed":56,"hex_longitude":"2cf56ec0","hex_latitude":"070f3bd0","is_valid_coordinates":true} 
[2026-07-01 23:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429767168001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334349198105247744,"note":"Value kept but may cause issues"} 
[2026-07-01 23:30:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-759278719354073088,"note":"Value kept but may cause issues"} 
[2026-07-01 23:30:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782928785000,"timestamp_ms":1782928785000,"timestamp_seconds":1782928785,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ed63e68"} 
[2026-07-01 23:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:30:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 23:30:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23:30:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:30:59] 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-01 23:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429767168001,"66":27365,"255":206,"83":41728,"24":56,"16":334349198105247744,"44":-759278719354073088},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,83,24,16,44]} 
[2026-07-01 23:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429767168001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:30:59] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-01 23:30:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 23:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334349198105247744,"km_value":334349198105247.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:30:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-759278719354073088,"description":"Unknown IO ID 44"} 
[2026-07-01 23:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429767168001,"power":27365,"unknown_255":206,"unknown_83":41728,"ignition":56,"odometer":null,"unknown_44":-759278719354073088}} 
[2026-07-01 23:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":119478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:30:59] local.INFO: GPS data processed {"connection_id":119478,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:30:59] local.INFO: Acknowledgment sent {"connection_id":119478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:31:00] local.INFO: TCP Data received {"connection_id":119478,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ed63e68012cf56ec0070f3bd0000c00b729..."} 
[2026-07-01 23:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ed63e68012cf56ec0070f3bd0000c00b729..."} 
[2026-07-01 23:31:00] local.INFO: Processing buffer {"connection_id":119478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ed63e68012cf56ec0070f3bd0000c00b729..."} 
[2026-07-01 23:31:00] local.INFO: Packet analysis {"connection_id":119478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ed6"} 
[2026-07-01 23:31:00] local.INFO: Extracted packet for processing {"connection_id":119478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ed6"} 
[2026-07-01 23:31:00] local.INFO: GPS Element Parsed {"raw_longitude":754282176,"raw_latitude":118438864,"longitude_deg":75.4282176,"latitude_deg":11.8438864,"altitude":12,"angle":183,"satellites":41,"speed":56,"hex_longitude":"2cf56ec0","hex_latitude":"070f3bd0","is_valid_coordinates":true} 
[2026-07-01 23:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429768960001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334349198105247744,"note":"Value kept but may cause issues"} 
[2026-07-01 23:31:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-761460150426152960,"note":"Value kept but may cause issues"} 
[2026-07-01 23:31:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782928785000,"timestamp_ms":1782928785000,"timestamp_seconds":1782928785,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ed63e68"} 
[2026-07-01 23:31:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:31:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 23:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 23:31:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23:31:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:31:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":119478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":119478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":119478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:31: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-01 23:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429768960001,"66":27365,"255":206,"83":41728,"24":56,"16":334349198105247744,"44":-761460150426152960},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,83,24,16,44]} 
[2026-07-01 23:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429768960001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:31:00] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-01 23:31:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 23:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334349198105247744,"km_value":334349198105247.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:31:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-761460150426152960,"description":"Unknown IO ID 44"} 
[2026-07-01 23:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429768960001,"power":27365,"unknown_255":206,"unknown_83":41728,"ignition":56,"odometer":null,"unknown_44":-761460150426152960}} 
[2026-07-01 23:31:00] local.INFO: DEBUG: GPS processor result {"connection_id":119478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:31:00] local.INFO: GPS data processed {"connection_id":119478,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:31:00] local.INFO: Acknowledgment sent {"connection_id":119478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:31:13] local.INFO: TCP Data received {"connection_id":120165,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 23:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120165,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 23:31:13] local.INFO: Processing buffer {"connection_id":120165,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 23:31:13] local.INFO: IMEI packet received {"connection_id":120165,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 23:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":120165,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:31:31] local.INFO: TCP Data received {"connection_id":119478,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ed659c0012cf56e00070f16b8000b00b02a..."} 
[2026-07-01 23:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ed659c0012cf56e00070f16b8000b00b02a..."} 
[2026-07-01 23:31:31] local.INFO: Processing buffer {"connection_id":119478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ed659c0012cf56e00070f16b8000b00b02a..."} 
[2026-07-01 23:31:31] local.INFO: Packet analysis {"connection_id":119478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ed6"} 
[2026-07-01 23:31:31] local.INFO: Extracted packet for processing {"connection_id":119478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ed6"} 
[2026-07-01 23:31:31] local.INFO: GPS Element Parsed {"raw_longitude":754281984,"raw_latitude":118429368,"longitude_deg":75.4281984,"latitude_deg":11.8429368,"altitude":11,"angle":176,"satellites":42,"speed":52,"hex_longitude":"2cf56e00","hex_latitude":"070f16b8","is_valid_coordinates":true} 
[2026-07-01 23:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429768960001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334349657666748416,"note":"Value kept but may cause issues"} 
[2026-07-01 23:31:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-761460150426152960,"note":"Value kept but may cause issues"} 
[2026-07-01 23:31:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782928792000,"timestamp_ms":1782928792000,"timestamp_seconds":1782928792,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ed659c0"} 
[2026-07-01 23:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:31:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 23:31:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23:31:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:31:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 23:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429768960001,"66":27484,"255":206,"83":41728,"24":52,"16":334349657666748416,"44":-761460150426152960},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,83,24,16,44]} 
[2026-07-01 23:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429768960001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:31:31] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-01 23:31:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 23:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334349657666748416,"km_value":334349657666748.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:31:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-761460150426152960,"description":"Unknown IO ID 44"} 
[2026-07-01 23:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429768960001,"power":27484,"unknown_255":206,"unknown_83":41728,"ignition":52,"odometer":null,"unknown_44":-761460150426152960}} 
[2026-07-01 23:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":119478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:31:31] local.INFO: GPS data processed {"connection_id":119478,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:31:31] local.INFO: Acknowledgment sent {"connection_id":119478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:31:54] local.INFO: TCP Data received {"connection_id":120166,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:31:54] local.INFO: Processing buffer {"connection_id":120166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:31:54] local.INFO: IMEI packet received {"connection_id":120166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 23:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":120166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:31:54] local.INFO: TCP Data received {"connection_id":120166,"ip":"42.106.6.21","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 23:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120166,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 23:31:54] local.INFO: Processing buffer {"connection_id":120166,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 23:31:54] local.INFO: IMEI packet received {"connection_id":120166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":120166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:31:55] local.INFO: TCP Data received {"connection_id":120166,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ed67518012cf573c0070ef3d0000b00a72a..."} 
[2026-07-01 23:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ed67518012cf573c0070ef3d0000b00a72a..."} 
[2026-07-01 23:31:55] local.INFO: Processing buffer {"connection_id":120166,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f1e..."} 
[2026-07-01 23:31:55] local.INFO: IMEI packet received {"connection_id":120166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":120166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:31:56] local.INFO: TCP Data received {"connection_id":120166,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ed69070012cf57e80070ed258000a009e2a..."} 
[2026-07-01 23:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ed69070012cf57e80070ed258000a009e2a..."} 
[2026-07-01 23:31:56] local.INFO: Processing buffer {"connection_id":120166,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019f1ed67518012cf573c0070ef3d0000b00a72a..."} 
[2026-07-01 23:31:56] local.INFO: Packet analysis {"connection_id":120166,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f1ed6"} 
[2026-07-01 23:31:56] local.INFO: Extracted packet for processing {"connection_id":120166,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ed6"} 
[2026-07-01 23:31:56] local.INFO: GPS Element Parsed {"raw_longitude":754283456,"raw_latitude":118420432,"longitude_deg":75.4283456,"latitude_deg":11.8420432,"altitude":11,"angle":167,"satellites":42,"speed":51,"hex_longitude":"2cf573c0","hex_latitude":"070ef3d0","is_valid_coordinates":true} 
[2026-07-01 23:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:31:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429770752001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:31:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334350100048379904,"note":"Value kept but may cause issues"} 
[2026-07-01 23:31:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-761671256661116928,"note":"Value kept but may cause issues"} 
[2026-07-01 23:31:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:31:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782928799000,"timestamp_ms":1782928799000,"timestamp_seconds":1782928799,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ed67518"} 
[2026-07-01 23:31:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:31:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 23:31:56] 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-01 23:31:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:31:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:31:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:31:56] local.INFO: Teltonika packet parsed successfully {"connection_id":120166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:31:56] local.INFO: Passing IMEI to GPS processor {"connection_id":120166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:31:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":120166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:31:56] 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-01 23:31:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:31:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:31:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429770752001,"66":27365,"255":206,"83":41728,"24":51,"16":334350100048379904,"44":-761671256661116928},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,83,24,16,44]} 
[2026-07-01 23:31:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:31:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:31:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429770752001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:31:56] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-07-01 23:31:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 23:31:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334350100048379904,"km_value":334350100048379.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:31:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-761671256661116928,"description":"Unknown IO ID 44"} 
[2026-07-01 23:31:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429770752001,"power":27365,"unknown_255":206,"unknown_83":41728,"ignition":51,"odometer":null,"unknown_44":-761671256661116928}} 
[2026-07-01 23:31:56] local.INFO: DEBUG: GPS processor result {"connection_id":120166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:31:56] local.INFO: GPS data processed {"connection_id":120166,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:31:56] local.INFO: Acknowledgment sent {"connection_id":120166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:31:56] local.INFO: Packet analysis {"connection_id":120166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ed6"} 
[2026-07-01 23:31:56] local.INFO: Extracted packet for processing {"connection_id":120166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ed6"} 
[2026-07-01 23:31:56] local.INFO: GPS Element Parsed {"raw_longitude":754286208,"raw_latitude":118411864,"longitude_deg":75.4286208,"latitude_deg":11.8411864,"altitude":10,"angle":158,"satellites":42,"speed":51,"hex_longitude":"2cf57e80","hex_latitude":"070ed258","is_valid_coordinates":true} 
[2026-07-01 23:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:31:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429772544001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:31:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334350533840076800,"note":"Value kept but may cause issues"} 
[2026-07-01 23:31:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-760052775547318272,"note":"Value kept but may cause issues"} 
[2026-07-01 23:31:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:31:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782928806000,"timestamp_ms":1782928806000,"timestamp_seconds":1782928806,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ed69070"} 
[2026-07-01 23:31:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:31:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 23:31:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23:31:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:31:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:31:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:31:56] local.INFO: Teltonika packet parsed successfully {"connection_id":120166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:31:56] local.INFO: Passing IMEI to GPS processor {"connection_id":120166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:31:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":120166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:31:56] 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-01 23:31:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:31:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:31:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429772544001,"66":27332,"39":206,"83":41728,"24":51,"16":334350533840076800,"44":-760052775547318272},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,83,24,16,44]} 
[2026-07-01 23:31:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:31:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:31:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429772544001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:31:56] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-01 23:31:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 23:31:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334350533840076800,"km_value":334350533840076.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:31:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-760052775547318272,"description":"Unknown IO ID 44"} 
[2026-07-01 23:31:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429772544001,"power":27332,"unknown_39":206,"unknown_83":41728,"ignition":51,"odometer":null,"unknown_44":-760052775547318272}} 
[2026-07-01 23:31:56] local.INFO: DEBUG: GPS processor result {"connection_id":120166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:31:56] local.INFO: GPS data processed {"connection_id":120166,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:31:56] local.INFO: Acknowledgment sent {"connection_id":120166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:31:58] local.INFO: TCP Data received {"connection_id":120166,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ed6abc8012cf58c40070eb038000a009f2a..."} 
[2026-07-01 23:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ed6abc8012cf58c40070eb038000a009f2a..."} 
[2026-07-01 23:31:58] local.INFO: Processing buffer {"connection_id":120166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ed6abc8012cf58c40070eb038000a009f2a..."} 
[2026-07-01 23:31:58] local.INFO: Packet analysis {"connection_id":120166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ed6"} 
[2026-07-01 23:31:58] local.INFO: Extracted packet for processing {"connection_id":120166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ed6"} 
[2026-07-01 23:31:58] local.INFO: GPS Element Parsed {"raw_longitude":754289728,"raw_latitude":118403128,"longitude_deg":75.4289728,"latitude_deg":11.8403128,"altitude":10,"angle":159,"satellites":42,"speed":54,"hex_longitude":"2cf58c40","hex_latitude":"070eb038","is_valid_coordinates":true} 
[2026-07-01 23: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-01 23:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429774336001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334350989106610176,"note":"Value kept but may cause issues"} 
[2026-07-01 23:31:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-757026919549872128,"note":"Value kept but may cause issues"} 
[2026-07-01 23:31:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782928813000,"timestamp_ms":1782928813000,"timestamp_seconds":1782928813,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ed6abc8"} 
[2026-07-01 23: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-01 23: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-01 23: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-01 23:31:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23: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-01 23: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-01 23:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:31:58] 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-01 23:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429774336001,"66":27343,"39":206,"83":41728,"24":54,"16":334350989106610176,"44":-757026919549872128},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,83,24,16,44]} 
[2026-07-01 23:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429774336001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:31:58] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-07-01 23:31:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 23:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334350989106610176,"km_value":334350989106610.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:31:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-757026919549872128,"description":"Unknown IO ID 44"} 
[2026-07-01 23:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429774336001,"power":27343,"unknown_39":206,"unknown_83":41728,"ignition":54,"odometer":null,"unknown_44":-757026919549872128}} 
[2026-07-01 23:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":120166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:31:58] local.INFO: GPS data processed {"connection_id":120166,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:31:58] local.INFO: Acknowledgment sent {"connection_id":120166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:32:30] local.INFO: TCP Data received {"connection_id":120166,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ed7f7d0012cf61f80070d0938000a00b028..."} 
[2026-07-01 23:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ed7f7d0012cf61f80070d0938000a00b028..."} 
[2026-07-01 23:32:30] local.INFO: Processing buffer {"connection_id":120166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ed7f7d0012cf61f80070d0938000a00b028..."} 
[2026-07-01 23:32:30] local.INFO: Packet analysis {"connection_id":120166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ed7"} 
[2026-07-01 23:32:30] local.INFO: Extracted packet for processing {"connection_id":120166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ed7"} 
[2026-07-01 23:32:30] local.INFO: GPS Element Parsed {"raw_longitude":754327424,"raw_latitude":118294840,"longitude_deg":75.4327424,"latitude_deg":11.829484,"altitude":10,"angle":176,"satellites":40,"speed":57,"hex_longitude":"2cf61f80","hex_latitude":"070d0938","is_valid_coordinates":true} 
[2026-07-01 23: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-01 23:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429796096001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334356542499323904,"note":"Value kept but may cause issues"} 
[2026-07-01 23:32:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-713539035675504640,"note":"Value kept but may cause issues"} 
[2026-07-01 23:32:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782928898000,"timestamp_ms":1782928898000,"timestamp_seconds":1782928898,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ed7f7d0"} 
[2026-07-01 23: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-01 23:32:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 23:32:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23: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-01 23: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-01 23:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":120166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":120166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":120166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:32:30] 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-01 23:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429796096001,"66":27343,"177":206,"83":41728,"24":57,"16":334356542499323904,"44":-713539035675504640},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,44]} 
[2026-07-01 23:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429796096001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:32:30] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-01 23:32:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 23:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334356542499323904,"km_value":334356542499323.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:32:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-713539035675504640,"description":"Unknown IO ID 44"} 
[2026-07-01 23:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429796096001,"power":27343,"unknown_177":206,"unknown_83":41728,"ignition":57,"odometer":null,"unknown_44":-713539035675504640}} 
[2026-07-01 23:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":120166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:32:30] local.INFO: GPS data processed {"connection_id":120166,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:32:30] local.INFO: Acknowledgment sent {"connection_id":120166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:32:48] local.INFO: TCP Data received {"connection_id":121225,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:32:48] local.INFO: Processing buffer {"connection_id":121225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:32:48] local.INFO: IMEI packet received {"connection_id":121225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 23:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":121225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:32:52] local.INFO: TCP Data received {"connection_id":121225,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:32:52] local.INFO: Processing buffer {"connection_id":121225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:32:52] local.INFO: IMEI packet received {"connection_id":121225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":121225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:32:53] local.INFO: TCP Data received {"connection_id":121225,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ed7f7d0012cf61f80070d0938000a00b028..."} 
[2026-07-01 23:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ed7f7d0012cf61f80070d0938000a00b028..."} 
[2026-07-01 23:32:53] local.INFO: Processing buffer {"connection_id":121225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ed7f7d0012cf61f80070d0938000a00b028..."} 
[2026-07-01 23:32:53] local.INFO: Packet analysis {"connection_id":121225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ed7"} 
[2026-07-01 23:32:53] local.INFO: Extracted packet for processing {"connection_id":121225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ed7"} 
[2026-07-01 23:32:53] local.INFO: GPS Element Parsed {"raw_longitude":754327424,"raw_latitude":118294840,"longitude_deg":75.4327424,"latitude_deg":11.829484,"altitude":10,"angle":176,"satellites":40,"speed":57,"hex_longitude":"2cf61f80","hex_latitude":"070d0938","is_valid_coordinates":true} 
[2026-07-01 23: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-01 23:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429797888001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334356542499323904,"note":"Value kept but may cause issues"} 
[2026-07-01 23:32:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-711709448329414656,"note":"Value kept but may cause issues"} 
[2026-07-01 23:32:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782928898000,"timestamp_ms":1782928898000,"timestamp_seconds":1782928898,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ed7f7d0"} 
[2026-07-01 23: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-01 23:32:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-01 23:32:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23: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-01 23: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-01 23:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":121225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":121225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":121225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:32:53] 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-01 23:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429797888001,"66":27343,"177":206,"83":41728,"24":57,"16":334356542499323904,"44":-711709448329414656},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,44]} 
[2026-07-01 23:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429797888001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:32:53] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-01 23:32:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 23:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334356542499323904,"km_value":334356542499323.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:32:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-711709448329414656,"description":"Unknown IO ID 44"} 
[2026-07-01 23:32:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429797888001,"power":27343,"unknown_177":206,"unknown_83":41728,"ignition":57,"odometer":null,"unknown_44":-711709448329414656}} 
[2026-07-01 23:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":121225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:32:53] local.INFO: GPS data processed {"connection_id":121225,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:32:53] local.INFO: Acknowledgment sent {"connection_id":121225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:33:25] local.INFO: TCP Data received {"connection_id":121225,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ed81328012cf62040070ce188000900b329..."} 
[2026-07-01 23:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ed81328012cf62040070ce188000900b329..."} 
[2026-07-01 23:33:25] local.INFO: Processing buffer {"connection_id":121225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ed81328012cf62040070ce188000900b329..."} 
[2026-07-01 23:33:25] local.INFO: Packet analysis {"connection_id":121225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ed8"} 
[2026-07-01 23:33:25] local.INFO: Extracted packet for processing {"connection_id":121225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ed8"} 
[2026-07-01 23:33:25] local.INFO: GPS Element Parsed {"raw_longitude":754327616,"raw_latitude":118284680,"longitude_deg":75.4327616,"latitude_deg":11.828468,"altitude":9,"angle":179,"satellites":41,"speed":57,"hex_longitude":"2cf62040","hex_latitude":"070ce188","is_valid_coordinates":true} 
[2026-07-01 23: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-01 23:33:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429797888001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:33:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334357036420562944,"note":"Value kept but may cause issues"} 
[2026-07-01 23:33:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-711709448329414656,"note":"Value kept but may cause issues"} 
[2026-07-01 23:33:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:33:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782928905000,"timestamp_ms":1782928905000,"timestamp_seconds":1782928905,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ed81328"} 
[2026-07-01 23: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-01 23:33:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-01 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-01 23:33:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23: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-01 23: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-01 23:33:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:33:25] local.INFO: Teltonika packet parsed successfully {"connection_id":121225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:33:25] local.INFO: Passing IMEI to GPS processor {"connection_id":121225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:33:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":121225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:33:25] 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-01 23:33:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:33:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:33:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429797888001,"66":27365,"177":206,"83":41728,"24":57,"16":334357036420562944,"44":-711709448329414656},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,44]} 
[2026-07-01 23:33:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:33:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:33:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429797888001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:33:25] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-07-01 23:33:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 23:33:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334357036420562944,"km_value":334357036420562.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:33:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-711709448329414656,"description":"Unknown IO ID 44"} 
[2026-07-01 23:33:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429797888001,"power":27365,"unknown_177":206,"unknown_83":41728,"ignition":57,"odometer":null,"unknown_44":-711709448329414656}} 
[2026-07-01 23:33:25] local.INFO: DEBUG: GPS processor result {"connection_id":121225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:33:25] local.INFO: GPS data processed {"connection_id":121225,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:33:25] local.INFO: Acknowledgment sent {"connection_id":121225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:33:47] local.INFO: TCP Data received {"connection_id":120167,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:33:47] local.INFO: Processing buffer {"connection_id":120167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:33:47] local.INFO: IMEI packet received {"connection_id":120167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 23:33:47] local.INFO: IMEI acknowledgment sent {"connection_id":120167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:33:48] local.INFO: TCP Data received {"connection_id":120167,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:33:48] local.INFO: Processing buffer {"connection_id":120167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:33:48] local.INFO: IMEI packet received {"connection_id":120167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":120167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:33:53] local.INFO: TCP Data received {"connection_id":120167,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:33:53] local.INFO: Processing buffer {"connection_id":120167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:33:53] local.INFO: IMEI packet received {"connection_id":120167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":120167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:34:12] local.INFO: TCP Data received {"connection_id":120167,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ed92880012cf67480070b77a80008009e2a..."} 
[2026-07-01 23:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ed92880012cf67480070b77a80008009e2a..."} 
[2026-07-01 23:34:12] local.INFO: Processing buffer {"connection_id":120167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ed92880012cf67480070b77a80008009e2a..."} 
[2026-07-01 23:34:12] local.INFO: Packet analysis {"connection_id":120167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ed9"} 
[2026-07-01 23:34:12] local.INFO: Extracted packet for processing {"connection_id":120167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ed9"} 
[2026-07-01 23:34:12] local.INFO: GPS Element Parsed {"raw_longitude":754349184,"raw_latitude":118192040,"longitude_deg":75.4349184,"latitude_deg":11.819204,"altitude":8,"angle":158,"satellites":42,"speed":59,"hex_longitude":"2cf67480","hex_latitude":"070b77a8","is_valid_coordinates":true} 
[2026-07-01 23: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-01 23:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429816320001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334361726524850176,"note":"Value kept but may cause issues"} 
[2026-07-01 23:34:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-691795093751351296,"note":"Value kept but may cause issues"} 
[2026-07-01 23:34:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1782928976000,"timestamp_ms":1782928976000,"timestamp_seconds":1782928976,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ed92880"} 
[2026-07-01 23: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-01 23:34:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23: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":107,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-07-01 23:34:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":3028,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23: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-01 23: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-01 23:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":120167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":120167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":120167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23: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-01 23:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429816320001,"66":27321,"31":206,"83":41728,"24":59,"16":334361726524850176,"44":-691795093751351296},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,44]} 
[2026-07-01 23:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429816320001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:34:12] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-01 23:34:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 23:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334361726524850176,"km_value":334361726524850.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:34:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-691795093751351296,"description":"Unknown IO ID 44"} 
[2026-07-01 23:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429816320001,"power":27321,"unknown_31":206,"unknown_83":41728,"ignition":59,"odometer":null,"unknown_44":-691795093751351296}} 
[2026-07-01 23:34:12] local.INFO: DEBUG: GPS processor result {"connection_id":120167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:34:12] local.INFO: GPS data processed {"connection_id":120167,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:34:12] local.INFO: Acknowledgment sent {"connection_id":120167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:34:48] local.INFO: TCP Data received {"connection_id":121226,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:34:48] local.INFO: Processing buffer {"connection_id":121226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:34:48] local.INFO: IMEI packet received {"connection_id":121226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 23:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":121226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:34:53] local.INFO: TCP Data received {"connection_id":121226,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:34:53] local.INFO: Processing buffer {"connection_id":121226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:34:53] local.INFO: IMEI packet received {"connection_id":121226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":121226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:34:54] local.INFO: TCP Data received {"connection_id":121226,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ed93ff0012cf681c0070b57600008009c2b..."} 
[2026-07-01 23:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ed93ff0012cf681c0070b57600008009c2b..."} 
[2026-07-01 23:34:54] local.INFO: Processing buffer {"connection_id":121226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ed93ff0012cf681c0070b57600008009c2b..."} 
[2026-07-01 23:34:54] local.INFO: Packet analysis {"connection_id":121226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ed9"} 
[2026-07-01 23:34:54] local.INFO: Extracted packet for processing {"connection_id":121226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ed9"} 
[2026-07-01 23:34:54] local.INFO: GPS Element Parsed {"raw_longitude":754352576,"raw_latitude":118183776,"longitude_deg":75.4352576,"latitude_deg":11.8183776,"altitude":8,"angle":156,"satellites":43,"speed":58,"hex_longitude":"2cf681c0","hex_latitude":"070b5760","is_valid_coordinates":true} 
[2026-07-01 23: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-01 23:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429817856001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334362156021579776,"note":"Value kept but may cause issues"} 
[2026-07-01 23:34:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-687784075335325696,"note":"Value kept but may cause issues"} 
[2026-07-01 23:34:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782928982000,"timestamp_ms":1782928982000,"timestamp_seconds":1782928982,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ed93ff0"} 
[2026-07-01 23: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-01 23:34: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-01 23: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-01 23:34:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23: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-01 23: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-01 23:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":121226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":121226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":121226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:34:54] 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-01 23:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429817856001,"66":27343,"31":206,"83":41728,"24":58,"16":334362156021579776,"44":-687784075335325696},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,44]} 
[2026-07-01 23:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429817856001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:34:54] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-01 23:34:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 23:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334362156021579776,"km_value":334362156021579.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:34:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-687784075335325696,"description":"Unknown IO ID 44"} 
[2026-07-01 23:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429817856001,"power":27343,"unknown_31":206,"unknown_83":41728,"ignition":58,"odometer":null,"unknown_44":-687784075335325696}} 
[2026-07-01 23:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":121226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:34:54] local.INFO: GPS data processed {"connection_id":121226,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:34:54] local.INFO: Acknowledgment sent {"connection_id":121226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:35:25] local.INFO: TCP Data received {"connection_id":121226,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eda97b0012cf78ac00709f9f8000f008a29..."} 
[2026-07-01 23:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eda97b0012cf78ac00709f9f8000f008a29..."} 
[2026-07-01 23:35:25] local.INFO: Processing buffer {"connection_id":121226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1eda97b0012cf78ac00709f9f8000f008a29..."} 
[2026-07-01 23:35:25] local.INFO: Packet analysis {"connection_id":121226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eda"} 
[2026-07-01 23:35:25] local.INFO: Extracted packet for processing {"connection_id":121226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eda"} 
[2026-07-01 23:35:25] local.INFO: GPS Element Parsed {"raw_longitude":754420416,"raw_latitude":118094328,"longitude_deg":75.4420416,"latitude_deg":11.8094328,"altitude":15,"angle":138,"satellites":41,"speed":58,"hex_longitude":"2cf78ac0","hex_latitude":"0709f9f8","is_valid_coordinates":true} 
[2026-07-01 23:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:35:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429840128001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:35:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334367567680372736,"note":"Value kept but may cause issues"} 
[2026-07-01 23:35:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-616641274994845696,"note":"Value kept but may cause issues"} 
[2026-07-01 23:35:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:35:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782929070000,"timestamp_ms":1782929070000,"timestamp_seconds":1782929070,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eda97b0"} 
[2026-07-01 23:35:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:35: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-01 23:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-01 23:35:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23:35:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:35:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:35:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:35:25] local.INFO: Teltonika packet parsed successfully {"connection_id":121226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:35:25] local.INFO: Passing IMEI to GPS processor {"connection_id":121226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:35:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":121226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:35:25] 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-01 23:35:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:35:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:35:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429840128001,"66":27321,"31":206,"83":41728,"24":58,"16":334367567680372736,"44":-616641274994845696},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,44]} 
[2026-07-01 23:35:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:35:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:35:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429840128001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:35:25] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-01 23:35:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 23:35:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334367567680372736,"km_value":334367567680372.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:35:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-616641274994845696,"description":"Unknown IO ID 44"} 
[2026-07-01 23:35:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429840128001,"power":27321,"unknown_31":206,"unknown_83":41728,"ignition":58,"odometer":null,"unknown_44":-616641274994845696}} 
[2026-07-01 23:35:25] local.INFO: DEBUG: GPS processor result {"connection_id":121226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:35:25] local.INFO: GPS data processed {"connection_id":121226,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:35:25] local.INFO: Acknowledgment sent {"connection_id":121226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:35:53] local.INFO: TCP Data received {"connection_id":120168,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:35:53] local.INFO: Processing buffer {"connection_id":120168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:35:53] local.INFO: IMEI packet received {"connection_id":120168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 23:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":120168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:35:54] local.INFO: TCP Data received {"connection_id":120168,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:35:54] local.INFO: Processing buffer {"connection_id":120168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:35:54] local.INFO: IMEI packet received {"connection_id":120168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":120168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:35:56] local.INFO: TCP Data received {"connection_id":120168,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:35:56] local.INFO: Processing buffer {"connection_id":120168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:35:56] local.INFO: IMEI packet received {"connection_id":120168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":120168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:35:57] local.INFO: TCP Data received {"connection_id":120168,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1edaaf20012cf7a3000709e030000e008828..."} 
[2026-07-01 23:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1edaaf20012cf7a3000709e030000e008828..."} 
[2026-07-01 23:35:57] local.INFO: Processing buffer {"connection_id":120168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1edaaf20012cf7a3000709e030000e008828..."} 
[2026-07-01 23:35:57] local.INFO: Packet analysis {"connection_id":120168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eda"} 
[2026-07-01 23:35:57] local.INFO: Extracted packet for processing {"connection_id":120168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eda"} 
[2026-07-01 23:35:57] local.INFO: GPS Element Parsed {"raw_longitude":754426624,"raw_latitude":118087728,"longitude_deg":75.4426624,"latitude_deg":11.8087728,"altitude":14,"angle":136,"satellites":40,"speed":60,"hex_longitude":"2cf7a300","hex_latitude":"0709e030","is_valid_coordinates":true} 
[2026-07-01 23: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-01 23:35:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429841920001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:35:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334368005767036928,"note":"Value kept but may cause issues"} 
[2026-07-01 23:35:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-609463663090599936,"note":"Value kept but may cause issues"} 
[2026-07-01 23:35:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:35:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782929076000,"timestamp_ms":1782929076000,"timestamp_seconds":1782929076,"priority":1,"record_length":96,"hex_timestamp":"0000019f1edaaf20"} 
[2026-07-01 23: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-01 23:35:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-01 23:35:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23: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-01 23: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-01 23:35:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:35:57] local.INFO: Teltonika packet parsed successfully {"connection_id":120168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:35:57] local.INFO: Passing IMEI to GPS processor {"connection_id":120168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:35:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":120168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:35:57] 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-01 23:35:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:35:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:35:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429841920001,"66":27365,"31":206,"83":41728,"24":60,"16":334368005767036928,"44":-609463663090599936},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,44]} 
[2026-07-01 23:35:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:35:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:35:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429841920001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:35:57] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-01 23:35:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 23:35:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334368005767036928,"km_value":334368005767036.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:35:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-609463663090599936,"description":"Unknown IO ID 44"} 
[2026-07-01 23:35:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429841920001,"power":27365,"unknown_31":206,"unknown_83":41728,"ignition":60,"odometer":null,"unknown_44":-609463663090599936}} 
[2026-07-01 23:35:57] local.INFO: DEBUG: GPS processor result {"connection_id":120168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:35:57] local.INFO: GPS data processed {"connection_id":120168,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:35:57] local.INFO: Acknowledgment sent {"connection_id":120168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:35:58] local.INFO: TCP Data received {"connection_id":120168,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1edac690012cf7ba400709c5f0000f008b26..."} 
[2026-07-01 23:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1edac690012cf7ba400709c5f0000f008b26..."} 
[2026-07-01 23:35:58] local.INFO: Processing buffer {"connection_id":120168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1edac690012cf7ba400709c5f0000f008b26..."} 
[2026-07-01 23:35:58] local.INFO: Packet analysis {"connection_id":120168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eda"} 
[2026-07-01 23:35:58] local.INFO: Extracted packet for processing {"connection_id":120168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eda"} 
[2026-07-01 23:35:58] local.INFO: GPS Element Parsed {"raw_longitude":754432576,"raw_latitude":118081008,"longitude_deg":75.4432576,"latitude_deg":11.8081008,"altitude":15,"angle":139,"satellites":38,"speed":58,"hex_longitude":"2cf7ba40","hex_latitude":"0709c5f0","is_valid_coordinates":true} 
[2026-07-01 23:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:35:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429843456001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:35:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334368435263766528,"note":"Value kept but may cause issues"} 
[2026-07-01 23:35:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-602637894907056128,"note":"Value kept but may cause issues"} 
[2026-07-01 23:35:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:35:58] local.INFO: AVL Record Parsed {"raw_timestamp":1782929082000,"timestamp_ms":1782929082000,"timestamp_seconds":1782929082,"priority":1,"record_length":96,"hex_timestamp":"0000019f1edac690"} 
[2026-07-01 23:35:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:35:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 23:35:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23:35:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:35:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:35:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:35:58] local.INFO: Teltonika packet parsed successfully {"connection_id":120168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:35:58] local.INFO: Passing IMEI to GPS processor {"connection_id":120168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:35:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":120168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:35:58] 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-01 23:35:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:35:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:35:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429843456001,"66":27376,"31":206,"83":41728,"24":58,"16":334368435263766528,"44":-602637894907056128},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,44]} 
[2026-07-01 23:35:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:35:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:35:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429843456001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:35:58] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-01 23:35:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 23:35:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334368435263766528,"km_value":334368435263766.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:35:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-602637894907056128,"description":"Unknown IO ID 44"} 
[2026-07-01 23:35:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429843456001,"power":27376,"unknown_31":206,"unknown_83":41728,"ignition":58,"odometer":null,"unknown_44":-602637894907056128}} 
[2026-07-01 23:35:58] local.INFO: DEBUG: GPS processor result {"connection_id":120168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:35:58] local.INFO: GPS data processed {"connection_id":120168,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:35:58] local.INFO: Acknowledgment sent {"connection_id":120168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:36:30] local.INFO: TCP Data received {"connection_id":120168,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1edae1e8012cf7d3c00709a8280012008c27..."} 
[2026-07-01 23:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1edae1e8012cf7d3c00709a8280012008c27..."} 
[2026-07-01 23:36:30] local.INFO: Processing buffer {"connection_id":120168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1edae1e8012cf7d3c00709a8280012008c27..."} 
[2026-07-01 23:36:30] local.INFO: Packet analysis {"connection_id":120168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eda"} 
[2026-07-01 23:36:30] local.INFO: Extracted packet for processing {"connection_id":120168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eda"} 
[2026-07-01 23:36:30] local.INFO: GPS Element Parsed {"raw_longitude":754439104,"raw_latitude":118073384,"longitude_deg":75.4439104,"latitude_deg":11.8073384,"altitude":18,"angle":140,"satellites":39,"speed":54,"hex_longitude":"2cf7d3c0","hex_latitude":"0709a828","is_valid_coordinates":true} 
[2026-07-01 23:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:36:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429844992001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:36:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334368916300103680,"note":"Value kept but may cause issues"} 
[2026-07-01 23:36:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-596093601700253696,"note":"Value kept but may cause issues"} 
[2026-07-01 23:36:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:36:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782929089000,"timestamp_ms":1782929089000,"timestamp_seconds":1782929089,"priority":1,"record_length":96,"hex_timestamp":"0000019f1edae1e8"} 
[2026-07-01 23:36:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:36:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-01 23:36:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23:36:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:36:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:36:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:36:30] local.INFO: Teltonika packet parsed successfully {"connection_id":120168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:36:30] local.INFO: Passing IMEI to GPS processor {"connection_id":120168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:36:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":120168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:36:30] 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-01 23:36:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:36:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:36:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429844992001,"66":27343,"31":206,"83":41728,"24":54,"16":334368916300103680,"44":-596093601700253696},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,44]} 
[2026-07-01 23:36:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:36:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:36:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429844992001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:36:30] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-07-01 23:36:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 23:36:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334368916300103680,"km_value":334368916300103.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:36:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-596093601700253696,"description":"Unknown IO ID 44"} 
[2026-07-01 23:36:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429844992001,"power":27343,"unknown_31":206,"unknown_83":41728,"ignition":54,"odometer":null,"unknown_44":-596093601700253696}} 
[2026-07-01 23:36:30] local.INFO: DEBUG: GPS processor result {"connection_id":120168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:36:30] local.INFO: GPS data processed {"connection_id":120168,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:36:30] local.INFO: Acknowledgment sent {"connection_id":120168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:36:48] local.INFO: TCP Data received {"connection_id":119367,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:36:48] local.INFO: Processing buffer {"connection_id":119367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:36:48] local.INFO: IMEI packet received {"connection_id":119367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 23:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":119367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:36:49] local.INFO: TCP Data received {"connection_id":119367,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:36:49] local.INFO: Processing buffer {"connection_id":119367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:36:49] local.INFO: IMEI packet received {"connection_id":119367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":119367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:36:49] local.INFO: TCP Data received {"connection_id":119481,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 23:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119481,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 23:36:49] local.INFO: Processing buffer {"connection_id":119481,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 23:36:49] local.INFO: IMEI packet received {"connection_id":119481,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 23:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":119481,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:36:53] local.INFO: TCP Data received {"connection_id":119367,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:36:53] local.INFO: Processing buffer {"connection_id":119367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:36:53] local.INFO: IMEI packet received {"connection_id":119367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":119367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:36:55] local.INFO: TCP Data received {"connection_id":119367,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1edbeb88012cf8a74007086a90000b00912a..."} 
[2026-07-01 23:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1edbeb88012cf8a74007086a90000b00912a..."} 
[2026-07-01 23:36:55] local.INFO: Processing buffer {"connection_id":119367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1edbeb88012cf8a74007086a90000b00912a..."} 
[2026-07-01 23:36:55] local.INFO: Packet analysis {"connection_id":119367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1edb"} 
[2026-07-01 23:36:55] local.INFO: Extracted packet for processing {"connection_id":119367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1edb"} 
[2026-07-01 23:36:55] local.INFO: GPS Element Parsed {"raw_longitude":754493248,"raw_latitude":117992080,"longitude_deg":75.4493248,"latitude_deg":11.799208,"altitude":11,"angle":145,"satellites":42,"speed":61,"hex_longitude":"2cf8a740","hex_latitude":"07086a90","is_valid_coordinates":true} 
[2026-07-01 23: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-01 23:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429862656001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334373666533933056,"note":"Value kept but may cause issues"} 
[2026-07-01 23:36:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-535154269263304704,"note":"Value kept but may cause issues"} 
[2026-07-01 23:36:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782929157000,"timestamp_ms":1782929157000,"timestamp_seconds":1782929157,"priority":1,"record_length":96,"hex_timestamp":"0000019f1edbeb88"} 
[2026-07-01 23: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-01 23:36:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-07-01 23:36:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23: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-01 23: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-01 23:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":119367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":119367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":119367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:36:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 23:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429862656001,"66":27321,"30":206,"83":41728,"24":61,"16":334373666533933056,"44":-535154269263304704},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,83,24,16,44]} 
[2026-07-01 23:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429862656001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:36:55] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-01 23:36:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 23:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334373666533933056,"km_value":334373666533933.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:36:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-535154269263304704,"description":"Unknown IO ID 44"} 
[2026-07-01 23:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429862656001,"power":27321,"unknown_30":206,"unknown_83":41728,"ignition":61,"odometer":null,"unknown_44":-535154269263304704}} 
[2026-07-01 23:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":119367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:36:55] local.INFO: GPS data processed {"connection_id":119367,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:36:55] local.INFO: Acknowledgment sent {"connection_id":119367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:36:56] local.INFO: TCP Data received {"connection_id":119367,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1edc02f8012cf8bc8007084d58000a009029..."} 
[2026-07-01 23:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1edc02f8012cf8bc8007084d58000a009029..."} 
[2026-07-01 23:36:56] local.INFO: Processing buffer {"connection_id":119367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1edc02f8012cf8bc8007084d58000a009029..."} 
[2026-07-01 23:36:56] local.INFO: Packet analysis {"connection_id":119367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1edc"} 
[2026-07-01 23:36:56] local.INFO: Extracted packet for processing {"connection_id":119367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1edc"} 
[2026-07-01 23:36:56] local.INFO: GPS Element Parsed {"raw_longitude":754498688,"raw_latitude":117984600,"longitude_deg":75.4498688,"latitude_deg":11.79846,"altitude":10,"angle":144,"satellites":41,"speed":59,"hex_longitude":"2cf8bc80","hex_latitude":"07084d58","is_valid_coordinates":true} 
[2026-07-01 23:36:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429864192001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334374113210531840,"note":"Value kept but may cause issues"} 
[2026-07-01 23:36:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-529384032242593792,"note":"Value kept but may cause issues"} 
[2026-07-01 23:36:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782929163000,"timestamp_ms":1782929163000,"timestamp_seconds":1782929163,"priority":1,"record_length":96,"hex_timestamp":"0000019f1edc02f8"} 
[2026-07-01 23:36:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:36:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23:36:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-01 23:36:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23:36:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:36:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":119367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":119367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":119367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:36:56] 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-01 23:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429864192001,"66":27245,"30":206,"83":41728,"24":59,"16":334374113210531840,"44":-529384032242593792},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,83,24,16,44]} 
[2026-07-01 23:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429864192001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:36:56] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-07-01 23:36:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 23:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334374113210531840,"km_value":334374113210531.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:36:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-529384032242593792,"description":"Unknown IO ID 44"} 
[2026-07-01 23:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429864192001,"power":27245,"unknown_30":206,"unknown_83":41728,"ignition":59,"odometer":null,"unknown_44":-529384032242593792}} 
[2026-07-01 23:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":119367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:36:56] local.INFO: GPS data processed {"connection_id":119367,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:36:56] local.INFO: Acknowledgment sent {"connection_id":119367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:37:14] local.INFO: TCP Data received {"connection_id":121227,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 23:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121227,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 23:37:14] local.INFO: Processing buffer {"connection_id":121227,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 23:37:14] local.INFO: IMEI packet received {"connection_id":121227,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 23:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":121227,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:37:19] local.INFO: TCP Data received {"connection_id":121227,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 23:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121227,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 23:37:19] local.INFO: Processing buffer {"connection_id":121227,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 23:37:19] local.INFO: IMEI packet received {"connection_id":121227,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-07-01 23:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":121227,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:37:20] local.INFO: TCP Data received {"connection_id":121227,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019f1edbdbe8012d3c9e4006a398c8004100b91f..."} 
[2026-07-01 23:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1edbdbe8012d3c9e4006a398c8004100b91f..."} 
[2026-07-01 23:37:20] local.INFO: Processing buffer {"connection_id":121227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1edbdbe8012d3c9e4006a398c8004100b91f..."} 
[2026-07-01 23:37:20] local.INFO: Packet analysis {"connection_id":121227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1edb"} 
[2026-07-01 23:37:20] local.INFO: Extracted packet for processing {"connection_id":121227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1edb"} 
[2026-07-01 23:37:20] local.INFO: GPS Element Parsed {"raw_longitude":758947392,"raw_latitude":111384776,"longitude_deg":75.8947392,"latitude_deg":11.1384776,"altitude":65,"angle":185,"satellites":31,"speed":0,"hex_longitude":"2d3c9e40","hex_latitude":"06a398c8","is_valid_coordinates":true} 
[2026-07-01 23: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-01 23:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429857536001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:37:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4368913879533703168,"note":"Value kept but may cause issues"} 
[2026-07-01 23:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":130052722119409664,"note":"Value kept but may cause issues"} 
[2026-07-01 23:37:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,81,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-07-01 23:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1782929153000,"timestamp_ms":1782929153000,"timestamp_seconds":1782929153,"priority":1,"record_length":96,"hex_timestamp":"0000019f1edbdbe8"} 
[2026-07-01 23: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-01 23:37:20] local.INFO: 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-01 23: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-07-01 23:37:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23: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-01 23: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-01 23:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":121227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":121227,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-01 23:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":121227,"device_imei":"862567071632322","avl_records_count":1} 
[2026-07-01 23:37:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 23:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-07-01 23:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-07-01 23:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429857536001,"66":27821,"45":4368913879533703168,"81":49664,"24":0,"16":130052722119409664},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-07-01 23:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-07-01 23:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-07-01 23:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429857536001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:37:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":4368913879533703168,"description":"Unknown IO ID 45"} 
[2026-07-01 23:37:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-07-01 23:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":130052722119409664,"km_value":130052722119409.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:37:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456429857536001,"power":27821,"unknown_45":4368913879533703168,"unknown_81":49664,"ignition":0,"odometer":null}} 
[2026-07-01 23:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":121227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418844,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:37:20] local.INFO: GPS data processed {"connection_id":121227,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:37:20] local.INFO: Acknowledgment sent {"connection_id":121227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:37:27] local.INFO: TCP Data received {"connection_id":119367,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1edc1e50012cf8d40007082c68000b009128..."} 
[2026-07-01 23:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1edc1e50012cf8d40007082c68000b009128..."} 
[2026-07-01 23:37:27] local.INFO: Processing buffer {"connection_id":119367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1edc1e50012cf8d40007082c68000b009128..."} 
[2026-07-01 23:37:27] local.INFO: Packet analysis {"connection_id":119367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1edc"} 
[2026-07-01 23:37:27] local.INFO: Extracted packet for processing {"connection_id":119367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1edc"} 
[2026-07-01 23:37:27] local.INFO: GPS Element Parsed {"raw_longitude":754504704,"raw_latitude":117976168,"longitude_deg":75.4504704,"latitude_deg":11.7976168,"altitude":11,"angle":145,"satellites":40,"speed":57,"hex_longitude":"2cf8d400","hex_latitude":"07082c68","is_valid_coordinates":true} 
[2026-07-01 23:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429865728001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334374611426738176,"note":"Value kept but may cause issues"} 
[2026-07-01 23:37:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-523402688989407232,"note":"Value kept but may cause issues"} 
[2026-07-01 23:37:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782929170000,"timestamp_ms":1782929170000,"timestamp_seconds":1782929170,"priority":1,"record_length":96,"hex_timestamp":"0000019f1edc1e50"} 
[2026-07-01 23:37:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:37:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-07-01 23:37:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23:37:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:37:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:37:27] 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-01 23:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429865728001,"66":27376,"197":206,"83":41728,"24":57,"16":334374611426738176,"44":-523402688989407232},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,83,24,16,44]} 
[2026-07-01 23:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429865728001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:37:27] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-01 23:37:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 23:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334374611426738176,"km_value":334374611426738.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:37:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-523402688989407232,"description":"Unknown IO ID 44"} 
[2026-07-01 23:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429865728001,"power":27376,"unknown_197":206,"unknown_83":41728,"ignition":57,"odometer":null,"unknown_44":-523402688989407232}} 
[2026-07-01 23:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":119367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:37:27] local.INFO: GPS data processed {"connection_id":119367,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:37:27] local.INFO: Acknowledgment sent {"connection_id":119367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:37:48] local.INFO: TCP Data received {"connection_id":120169,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:37:48] local.INFO: Processing buffer {"connection_id":120169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:37:48] local.INFO: IMEI packet received {"connection_id":120169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 23:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":120169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:37:52] local.INFO: TCP Data received {"connection_id":120169,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:37:53] local.INFO: Processing buffer {"connection_id":120169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:37:53] local.INFO: IMEI packet received {"connection_id":120169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":120169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:37:53] local.INFO: TCP Data received {"connection_id":120169,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1edc39a8012cf8ea0007080cd8000c00902a..."} 
[2026-07-01 23:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1edc39a8012cf8ea0007080cd8000c00902a..."} 
[2026-07-01 23:37:53] local.INFO: Processing buffer {"connection_id":120169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1edc39a8012cf8ea0007080cd8000c00902a..."} 
[2026-07-01 23:37:53] local.INFO: Packet analysis {"connection_id":120169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1edc"} 
[2026-07-01 23:37:53] local.INFO: Extracted packet for processing {"connection_id":120169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1edc"} 
[2026-07-01 23:37:53] local.INFO: GPS Element Parsed {"raw_longitude":754510336,"raw_latitude":117968088,"longitude_deg":75.4510336,"latitude_deg":11.7968088,"altitude":12,"angle":144,"satellites":42,"speed":54,"hex_longitude":"2cf8ea00","hex_latitude":"07080cd8","is_valid_coordinates":true} 
[2026-07-01 23: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-01 23:37:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429867520001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:37:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334375088168108032,"note":"Value kept but may cause issues"} 
[2026-07-01 23:37:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-516788027038865408,"note":"Value kept but may cause issues"} 
[2026-07-01 23:37:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:37:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782929177000,"timestamp_ms":1782929177000,"timestamp_seconds":1782929177,"priority":1,"record_length":96,"hex_timestamp":"0000019f1edc39a8"} 
[2026-07-01 23: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-01 23:37:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-07-01 23:37:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23:37:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23: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-01 23:37:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:37:53] local.INFO: Teltonika packet parsed successfully {"connection_id":120169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:37:53] local.INFO: Passing IMEI to GPS processor {"connection_id":120169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:37:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":120169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:37:53] 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-01 23:37:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:37:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:37:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429867520001,"66":27169,"197":206,"83":41728,"24":54,"16":334375088168108032,"44":-516788027038865408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,83,24,16,44]} 
[2026-07-01 23:37:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:37:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:37:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429867520001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:37:53] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-07-01 23:37:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 23:37:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334375088168108032,"km_value":334375088168108.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:37:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-516788027038865408,"description":"Unknown IO ID 44"} 
[2026-07-01 23:37:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429867520001,"power":27169,"unknown_197":206,"unknown_83":41728,"ignition":54,"odometer":null,"unknown_44":-516788027038865408}} 
[2026-07-01 23:37:53] local.INFO: DEBUG: GPS processor result {"connection_id":120169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:37:53] local.INFO: GPS data processed {"connection_id":120169,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:37:53] local.INFO: Acknowledgment sent {"connection_id":120169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:38:09] local.INFO: TCP Data received {"connection_id":119368,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 23:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119368,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 23:38:09] local.INFO: Processing buffer {"connection_id":119368,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 23:38:09] local.INFO: IMEI packet received {"connection_id":119368,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 23:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":119368,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:38:25] local.INFO: TCP Data received {"connection_id":120169,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1edc5500012cf900c00707ee48000e008f2b..."} 
[2026-07-01 23:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1edc5500012cf900c00707ee48000e008f2b..."} 
[2026-07-01 23:38:25] local.INFO: Processing buffer {"connection_id":120169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1edc5500012cf900c00707ee48000e008f2b..."} 
[2026-07-01 23:38:25] local.INFO: Packet analysis {"connection_id":120169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1edc"} 
[2026-07-01 23:38:25] local.INFO: Extracted packet for processing {"connection_id":120169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1edc"} 
[2026-07-01 23:38:25] local.INFO: GPS Element Parsed {"raw_longitude":754516160,"raw_latitude":117960264,"longitude_deg":75.451616,"latitude_deg":11.7960264,"altitude":14,"angle":143,"satellites":43,"speed":56,"hex_longitude":"2cf900c0","hex_latitude":"0707ee48","is_valid_coordinates":true} 
[2026-07-01 23: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-01 23:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429869312001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334375556319543296,"note":"Value kept but may cause issues"} 
[2026-07-01 23:38:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-510595577553299456,"note":"Value kept but may cause issues"} 
[2026-07-01 23:38:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782929184000,"timestamp_ms":1782929184000,"timestamp_seconds":1782929184,"priority":1,"record_length":96,"hex_timestamp":"0000019f1edc5500"} 
[2026-07-01 23: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-01 23:38: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-01 23: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":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-07-01 23:38:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23: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-01 23: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-01 23:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":120169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":120169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":120169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:38:25] 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-01 23:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429869312001,"66":27484,"85":206,"83":41728,"24":56,"16":334375556319543296,"44":-510595577553299456},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,44]} 
[2026-07-01 23:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429869312001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:38:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-07-01 23:38:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 23:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334375556319543296,"km_value":334375556319543.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:38:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-510595577553299456,"description":"Unknown IO ID 44"} 
[2026-07-01 23:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429869312001,"power":27484,"unknown_85":206,"unknown_83":41728,"ignition":56,"odometer":null,"unknown_44":-510595577553299456}} 
[2026-07-01 23:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":120169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:38:25] local.INFO: GPS data processed {"connection_id":120169,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:38:25] local.INFO: Acknowledgment sent {"connection_id":120169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:38:52] local.INFO: TCP Data received {"connection_id":121228,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:38:52] local.INFO: Processing buffer {"connection_id":121228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:38:52] local.INFO: IMEI packet received {"connection_id":121228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 23:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":121228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:38:53] local.INFO: TCP Data received {"connection_id":121228,"ip":"42.106.6.21","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 23:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121228,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 23:38:53] local.INFO: Processing buffer {"connection_id":121228,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 23:38:53] local.INFO: IMEI packet received {"connection_id":121228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":121228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:38:57] local.INFO: TCP Data received {"connection_id":121228,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eddb490012cf99ec00706db78000600c027..."} 
[2026-07-01 23:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eddb490012cf99ec00706db78000600c027..."} 
[2026-07-01 23:38:57] local.INFO: Processing buffer {"connection_id":121228,"buffer_length":829,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-07-01 23:38:57] local.INFO: IMEI packet received {"connection_id":121228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":121228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:39:02] local.INFO: TCP Data received {"connection_id":121228,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eddbc60012cf99dc00706d938000600d621..."} 
[2026-07-01 23:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eddbc60012cf99dc00706d938000600d621..."} 
[2026-07-01 23:39:02] local.INFO: Processing buffer {"connection_id":121228,"buffer_length":1607,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019f1e..."} 
[2026-07-01 23:39:02] local.INFO: IMEI packet received {"connection_id":121228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":121228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:39:03] local.INFO: TCP Data received {"connection_id":121228,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eddc048012cf99c800706d8e0000600f120..."} 
[2026-07-01 23:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eddc048012cf99c800706d8e0000600f120..."} 
[2026-07-01 23:39:03] local.INFO: Processing buffer {"connection_id":121228,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a0000019f1eddb490012cf99ec00706db78000600c027..."} 
[2026-07-01 23:39:03] local.INFO: Packet analysis {"connection_id":121228,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a0000019f1edd"} 
[2026-07-01 23:39:03] local.INFO: Extracted packet for processing {"connection_id":121228,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f1edd"} 
[2026-07-01 23:39:03] local.INFO: GPS Element Parsed {"raw_longitude":754556608,"raw_latitude":117889912,"longitude_deg":75.4556608,"latitude_deg":11.7889912,"altitude":6,"angle":192,"satellites":39,"speed":17,"hex_longitude":"2cf99ec0","hex_latitude":"0706db78","is_valid_coordinates":true} 
[2026-07-01 23:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429893632001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334379516279390208,"note":"Value kept but may cause issues"} 
[2026-07-01 23:39:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-459648606788468736,"note":"Value kept but may cause issues"} 
[2026-07-01 23:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782929274000,"timestamp_ms":1782929274000,"timestamp_seconds":1782929274,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eddb490"} 
[2026-07-01 23:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-01 23:39:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23:39:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":121228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":121228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":121228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:39: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-01 23:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429893632001,"66":27571,"85":206,"83":41728,"24":17,"16":334379516279390208,"44":-459648606788468736},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,44]} 
[2026-07-01 23:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429893632001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:39:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-07-01 23:39:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 23:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334379516279390208,"km_value":334379516279390.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:39:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-459648606788468736,"description":"Unknown IO ID 44"} 
[2026-07-01 23:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429893632001,"power":27571,"unknown_85":206,"unknown_83":41728,"ignition":17,"odometer":null,"unknown_44":-459648606788468736}} 
[2026-07-01 23:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":121228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:39:03] local.INFO: GPS data processed {"connection_id":121228,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:39:03] local.INFO: Acknowledgment sent {"connection_id":121228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:39:03] local.INFO: Packet analysis {"connection_id":121228,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019f1edd"} 
[2026-07-01 23:39:03] local.INFO: Extracted packet for processing {"connection_id":121228,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1edd"} 
[2026-07-01 23:39:03] local.INFO: GPS Element Parsed {"raw_longitude":754556352,"raw_latitude":117889336,"longitude_deg":75.4556352,"latitude_deg":11.7889336,"altitude":6,"angle":214,"satellites":33,"speed":11,"hex_longitude":"2cf99dc0","hex_latitude":"0706d938","is_valid_coordinates":true} 
[2026-07-01 23:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429894144001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334379546344161280,"note":"Value kept but may cause issues"} 
[2026-07-01 23:39:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-459718975532861440,"note":"Value kept but may cause issues"} 
[2026-07-01 23:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782929276000,"timestamp_ms":1782929276000,"timestamp_seconds":1782929276,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eddbc60"} 
[2026-07-01 23:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-01 23:39:03] 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-01 23:39:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":121228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":121228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":121228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:39: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-01 23:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429894144001,"66":27571,"85":206,"83":41728,"24":11,"16":334379546344161280,"44":-459718975532861440},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,44]} 
[2026-07-01 23:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429894144001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:39:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-07-01 23:39:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 23:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334379546344161280,"km_value":334379546344161.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:39:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-459718975532861440,"description":"Unknown IO ID 44"} 
[2026-07-01 23:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429894144001,"power":27571,"unknown_85":206,"unknown_83":41728,"ignition":11,"odometer":null,"unknown_44":-459718975532861440}} 
[2026-07-01 23:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":121228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:39:03] local.INFO: GPS data processed {"connection_id":121228,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:39:03] local.INFO: Acknowledgment sent {"connection_id":121228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:39:03] local.INFO: Packet analysis {"connection_id":121228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1edd"} 
[2026-07-01 23:39:03] local.INFO: Extracted packet for processing {"connection_id":121228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1edd"} 
[2026-07-01 23:39:03] local.INFO: GPS Element Parsed {"raw_longitude":754556032,"raw_latitude":117889248,"longitude_deg":75.4556032,"latitude_deg":11.7889248,"altitude":6,"angle":241,"satellites":32,"speed":8,"hex_longitude":"2cf99c80","hex_latitude":"0706d8e0","is_valid_coordinates":true} 
[2026-07-01 23:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429894656001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334379563524030464,"note":"Value kept but may cause issues"} 
[2026-07-01 23:39:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-460000450509719552,"note":"Value kept but may cause issues"} 
[2026-07-01 23:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782929277000,"timestamp_ms":1782929277000,"timestamp_seconds":1782929277,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eddc048"} 
[2026-07-01 23:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-01 23:39:03] 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-01 23:39:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":121228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":121228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":121228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:39: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-01 23:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429894656001,"66":27571,"85":206,"83":41728,"24":8,"16":334379563524030464,"44":-460000450509719552},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,44]} 
[2026-07-01 23:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429894656001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:39:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-07-01 23:39:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 23:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334379563524030464,"km_value":334379563524030.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:39:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-460000450509719552,"description":"Unknown IO ID 44"} 
[2026-07-01 23:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429894656001,"power":27571,"unknown_85":206,"unknown_83":41728,"ignition":8,"odometer":null,"unknown_44":-460000450509719552}} 
[2026-07-01 23:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":121228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:39:03] local.INFO: GPS data processed {"connection_id":121228,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:39:03] local.INFO: Acknowledgment sent {"connection_id":121228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:39:03] local.INFO: TCP Data received {"connection_id":121228,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eddc430012cf99ac00706d8b80005010020..."} 
[2026-07-01 23:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eddc430012cf99ac00706d8b80005010020..."} 
[2026-07-01 23:39:03] local.INFO: Processing buffer {"connection_id":121228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1eddc430012cf99ac00706d8b80005010020..."} 
[2026-07-01 23:39:03] local.INFO: Packet analysis {"connection_id":121228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1edd"} 
[2026-07-01 23:39:03] local.INFO: Extracted packet for processing {"connection_id":121228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1edd"} 
[2026-07-01 23:39:03] local.INFO: GPS Element Parsed {"raw_longitude":754555584,"raw_latitude":117889208,"longitude_deg":75.4555584,"latitude_deg":11.7889208,"altitude":5,"angle":256,"satellites":32,"speed":9,"hex_longitude":"2cf99ac0","hex_latitude":"0706d8b8","is_valid_coordinates":true} 
[2026-07-01 23:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429894912001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334379584998866944,"note":"Value kept but may cause issues"} 
[2026-07-01 23:39:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-460352294230630400,"note":"Value kept but may cause issues"} 
[2026-07-01 23:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1782929278000,"timestamp_ms":1782929278000,"timestamp_seconds":1782929278,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eddc430"} 
[2026-07-01 23:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-01 23:39:03] 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-01 23:39:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":121228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":121228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":121228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:39: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-01 23:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429894912001,"66":27571,"85":206,"83":41728,"24":9,"16":334379584998866944,"44":-460352294230630400},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,44]} 
[2026-07-01 23:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429894912001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:39:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-07-01 23:39:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 23:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334379584998866944,"km_value":334379584998866.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:39:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-460352294230630400,"description":"Unknown IO ID 44"} 
[2026-07-01 23:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429894912001,"power":27571,"unknown_85":206,"unknown_83":41728,"ignition":9,"odometer":null,"unknown_44":-460352294230630400}} 
[2026-07-01 23:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":121228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:39:03] local.INFO: GPS data processed {"connection_id":121228,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:39:03] local.INFO: Acknowledgment sent {"connection_id":121228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:39:48] local.INFO: TCP Data received {"connection_id":119369,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:39:48] local.INFO: Processing buffer {"connection_id":119369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:39:48] local.INFO: IMEI packet received {"connection_id":119369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 23:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":119369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:39:49] local.INFO: TCP Data received {"connection_id":119369,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:39:49] local.INFO: Processing buffer {"connection_id":119369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:39:49] local.INFO: IMEI packet received {"connection_id":119369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":119369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:39:52] local.INFO: TCP Data received {"connection_id":119369,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:39:52] local.INFO: Processing buffer {"connection_id":119369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:39:52] local.INFO: IMEI packet received {"connection_id":119369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":119369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:39:53] local.INFO: TCP Data received {"connection_id":119369,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1edddba0012cf991c00706d610000300f228..."} 
[2026-07-01 23:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1edddba0012cf991c00706d610000300f228..."} 
[2026-07-01 23:39:53] local.INFO: Processing buffer {"connection_id":119369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1edddba0012cf991c00706d610000300f228..."} 
[2026-07-01 23:39:53] local.INFO: Packet analysis {"connection_id":119369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1edd"} 
[2026-07-01 23:39:53] local.INFO: Extracted packet for processing {"connection_id":119369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1edd"} 
[2026-07-01 23:39:53] local.INFO: GPS Element Parsed {"raw_longitude":754553280,"raw_latitude":117888528,"longitude_deg":75.455328,"latitude_deg":11.7888528,"altitude":3,"angle":242,"satellites":40,"speed":9,"hex_longitude":"2cf991c0","hex_latitude":"0706d610","is_valid_coordinates":true} 
[2026-07-01 23: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-01 23:39:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429895168001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:39:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334379700962983936,"note":"Value kept but may cause issues"} 
[2026-07-01 23:39:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-460844875439884288,"note":"Value kept but may cause issues"} 
[2026-07-01 23:39:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:39:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782929284000,"timestamp_ms":1782929284000,"timestamp_seconds":1782929284,"priority":1,"record_length":96,"hex_timestamp":"0000019f1edddba0"} 
[2026-07-01 23: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-01 23:39:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-01 23:39:53] 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-01 23: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-01 23: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-01 23:39:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:39:53] local.INFO: Teltonika packet parsed successfully {"connection_id":119369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:39:53] local.INFO: Passing IMEI to GPS processor {"connection_id":119369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:39:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":119369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:39:53] 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-01 23:39:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:39:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:39:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429895168001,"66":27484,"85":206,"83":41728,"24":9,"16":334379700962983936,"44":-460844875439884288},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,44]} 
[2026-07-01 23:39:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:39:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:39:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429895168001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:39:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-07-01 23:39:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 23:39:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334379700962983936,"km_value":334379700962983.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:39:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-460844875439884288,"description":"Unknown IO ID 44"} 
[2026-07-01 23:39:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429895168001,"power":27484,"unknown_85":206,"unknown_83":41728,"ignition":9,"odometer":null,"unknown_44":-460844875439884288}} 
[2026-07-01 23:39:53] local.INFO: DEBUG: GPS processor result {"connection_id":119369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:39:53] local.INFO: GPS data processed {"connection_id":119369,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:39:53] local.INFO: Acknowledgment sent {"connection_id":119369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:40:24] local.INFO: TCP Data received {"connection_id":119369,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1edf1420012cf9c780070603b00007009a2b..."} 
[2026-07-01 23:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1edf1420012cf9c780070603b00007009a2b..."} 
[2026-07-01 23:40:24] local.INFO: Processing buffer {"connection_id":119369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1edf1420012cf9c780070603b00007009a2b..."} 
[2026-07-01 23:40:24] local.INFO: Packet analysis {"connection_id":119369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1edf"} 
[2026-07-01 23:40:24] local.INFO: Extracted packet for processing {"connection_id":119369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1edf"} 
[2026-07-01 23:40:24] local.INFO: GPS Element Parsed {"raw_longitude":754567040,"raw_latitude":117834672,"longitude_deg":75.456704,"latitude_deg":11.7834672,"altitude":7,"angle":154,"satellites":43,"speed":35,"hex_longitude":"2cf9c780","hex_latitude":"070603b0","is_valid_coordinates":true} 
[2026-07-01 23:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:40:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429914624001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:40:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334382475511857152,"note":"Value kept but may cause issues"} 
[2026-07-01 23:40:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-452611732383019008,"note":"Value kept but may cause issues"} 
[2026-07-01 23:40:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:40:24] local.INFO: AVL Record Parsed {"raw_timestamp":1782929364000,"timestamp_ms":1782929364000,"timestamp_seconds":1782929364,"priority":1,"record_length":96,"hex_timestamp":"0000019f1edf1420"} 
[2026-07-01 23:40:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:40: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-01 23:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-01 23:40:24] 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-01 23:40:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:40:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:40:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:40:24] local.INFO: Teltonika packet parsed successfully {"connection_id":119369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:40:24] local.INFO: Passing IMEI to GPS processor {"connection_id":119369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:40:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":119369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:40:24] 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-01 23:40:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:40:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:40:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429914624001,"66":27604,"84":206,"83":41728,"24":35,"16":334382475511857152,"44":-452611732383019008},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,83,24,16,44]} 
[2026-07-01 23:40:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:40:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:40:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429914624001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:40:24] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-07-01 23:40:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 23:40:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334382475511857152,"km_value":334382475511857.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:40:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-452611732383019008,"description":"Unknown IO ID 44"} 
[2026-07-01 23:40:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429914624001,"power":27604,"unknown_84":206,"unknown_83":41728,"ignition":35,"odometer":null,"unknown_44":-452611732383019008}} 
[2026-07-01 23:40:24] local.INFO: DEBUG: GPS processor result {"connection_id":119369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:40:24] local.INFO: GPS data processed {"connection_id":119369,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:40:24] local.INFO: Acknowledgment sent {"connection_id":119369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:40:48] local.INFO: TCP Data received {"connection_id":120170,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:40:48] local.INFO: Processing buffer {"connection_id":120170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:40:48] local.INFO: IMEI packet received {"connection_id":120170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 23:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":120170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:40:49] local.INFO: TCP Data received {"connection_id":120170,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:40:49] local.INFO: Processing buffer {"connection_id":120170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:40:49] local.INFO: IMEI packet received {"connection_id":120170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":120170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:40:53] local.INFO: TCP Data received {"connection_id":120170,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:40:53] local.INFO: Processing buffer {"connection_id":120170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:40:53] local.INFO: IMEI packet received {"connection_id":120170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":120170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:40:54] local.INFO: TCP Data received {"connection_id":120170,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1edf3b30012cf9d7c00705e378000500992a..."} 
[2026-07-01 23:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1edf3b30012cf9d7c00705e378000500992a..."} 
[2026-07-01 23:40:54] local.INFO: Processing buffer {"connection_id":120170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1edf3b30012cf9d7c00705e378000500992a..."} 
[2026-07-01 23:40:54] local.INFO: Packet analysis {"connection_id":120170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1edf"} 
[2026-07-01 23:40:54] local.INFO: Extracted packet for processing {"connection_id":120170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1edf"} 
[2026-07-01 23:40:54] local.INFO: GPS Element Parsed {"raw_longitude":754571200,"raw_latitude":117826424,"longitude_deg":75.45712,"latitude_deg":11.7826424,"altitude":5,"angle":153,"satellites":42,"speed":39,"hex_longitude":"2cf9d7c0","hex_latitude":"0705e378","is_valid_coordinates":true} 
[2026-07-01 23:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429917184001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334382922188455936,"note":"Value kept but may cause issues"} 
[2026-07-01 23:40:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-448248870246043648,"note":"Value kept but may cause issues"} 
[2026-07-01 23:40:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782929374000,"timestamp_ms":1782929374000,"timestamp_seconds":1782929374,"priority":1,"record_length":96,"hex_timestamp":"0000019f1edf3b30"} 
[2026-07-01 23:40:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:40: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-01 23:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-01 23:40:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23:40:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:40:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":120170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":120170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":120170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:40:54] 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-01 23:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:40:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429917184001,"66":27517,"84":206,"83":41728,"24":39,"16":334382922188455936,"44":-448248870246043648},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,83,24,16,44]} 
[2026-07-01 23:40:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:40:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:40:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429917184001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:40:54] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-07-01 23:40:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 23:40:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334382922188455936,"km_value":334382922188455.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:40:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-448248870246043648,"description":"Unknown IO ID 44"} 
[2026-07-01 23:40:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429917184001,"power":27517,"unknown_84":206,"unknown_83":41728,"ignition":39,"odometer":null,"unknown_44":-448248870246043648}} 
[2026-07-01 23:40:54] local.INFO: DEBUG: GPS processor result {"connection_id":120170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:40:54] local.INFO: GPS data processed {"connection_id":120170,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:40:54] local.INFO: Acknowledgment sent {"connection_id":120170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:41:28] local.INFO: TCP Data received {"connection_id":120170,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1edf5e58012cf9e7400705c3b80006009729..."} 
[2026-07-01 23:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1edf5e58012cf9e7400705c3b80006009729..."} 
[2026-07-01 23:41:28] local.INFO: Processing buffer {"connection_id":120170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1edf5e58012cf9e7400705c3b80006009729..."} 
[2026-07-01 23:41:28] local.INFO: Packet analysis {"connection_id":120170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1edf"} 
[2026-07-01 23:41:28] local.INFO: Extracted packet for processing {"connection_id":120170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1edf"} 
[2026-07-01 23:41:28] local.INFO: GPS Element Parsed {"raw_longitude":754575168,"raw_latitude":117818296,"longitude_deg":75.4575168,"latitude_deg":11.7818296,"altitude":6,"angle":151,"satellites":41,"speed":41,"hex_longitude":"2cf9e740","hex_latitude":"0705c3b8","is_valid_coordinates":true} 
[2026-07-01 23:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429919744001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334383360275120128,"note":"Value kept but may cause issues"} 
[2026-07-01 23:41:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-443674901876606976,"note":"Value kept but may cause issues"} 
[2026-07-01 23:41:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1782929383000,"timestamp_ms":1782929383000,"timestamp_seconds":1782929383,"priority":1,"record_length":96,"hex_timestamp":"0000019f1edf5e58"} 
[2026-07-01 23:41:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:41: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-01 23:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-01 23:41:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23:41:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:41:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":120170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":120170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":120170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:41:28] 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-01 23:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:41:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429919744001,"66":27571,"84":206,"83":41728,"24":41,"16":334383360275120128,"44":-443674901876606976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,83,24,16,44]} 
[2026-07-01 23:41:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:41:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:41:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429919744001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:41:28] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-07-01 23:41:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-07-01 23:41:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334383360275120128,"km_value":334383360275120.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:41:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-443674901876606976,"description":"Unknown IO ID 44"} 
[2026-07-01 23:41:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429919744001,"power":27571,"unknown_84":206,"unknown_83":41728,"ignition":41,"odometer":null,"unknown_44":-443674901876606976}} 
[2026-07-01 23:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":120170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:41:28] local.INFO: GPS data processed {"connection_id":120170,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:41:28] local.INFO: Acknowledgment sent {"connection_id":120170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:41:53] local.INFO: TCP Data received {"connection_id":119371,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:41:53] local.INFO: Processing buffer {"connection_id":119371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:41:53] local.INFO: IMEI packet received {"connection_id":119371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 23:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":119371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:41:53] local.INFO: TCP Data received {"connection_id":119371,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:41:53] local.INFO: Processing buffer {"connection_id":119371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:41:53] local.INFO: IMEI packet received {"connection_id":119371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":119371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:41:54] local.INFO: TCP Data received {"connection_id":119371,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:41:54] local.INFO: Processing buffer {"connection_id":119371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:41:54] local.INFO: IMEI packet received {"connection_id":119371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":119371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:41:58] local.INFO: TCP Data received {"connection_id":119371,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:41:58] local.INFO: Processing buffer {"connection_id":119371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:41:58] local.INFO: IMEI packet received {"connection_id":119371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":119371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:41:59] local.INFO: TCP Data received {"connection_id":119371,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ee0a678012cfae6c00704e1f00009008d29..."} 
[2026-07-01 23:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ee0a678012cfae6c00704e1f00009008d29..."} 
[2026-07-01 23:41:59] local.INFO: Processing buffer {"connection_id":119371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ee0a678012cfae6c00704e1f00009008d29..."} 
[2026-07-01 23:41:59] local.INFO: Packet analysis {"connection_id":119371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ee0"} 
[2026-07-01 23:41:59] local.INFO: Extracted packet for processing {"connection_id":119371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ee0"} 
[2026-07-01 23:41:59] local.INFO: GPS Element Parsed {"raw_longitude":754640576,"raw_latitude":117760496,"longitude_deg":75.4640576,"latitude_deg":11.7760496,"altitude":9,"angle":141,"satellites":41,"speed":55,"hex_longitude":"2cfae6c0","hex_latitude":"0704e1f0","is_valid_coordinates":true} 
[2026-07-01 23: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-01 23:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429941760001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334387689602154496,"note":"Value kept but may cause issues"} 
[2026-07-01 23:41:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-374220951388137472,"note":"Value kept but may cause issues"} 
[2026-07-01 23:41:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782929467000,"timestamp_ms":1782929467000,"timestamp_seconds":1782929467,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ee0a678"} 
[2026-07-01 23: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-01 23:41: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-01 23: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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-07-01 23:41:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23: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-01 23: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-01 23:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:41:59] 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-01 23:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429941760001,"66":27484,"81":206,"94":10240,"24":55,"16":334387689602154496,"44":-374220951388137472},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,94,24,16,44]} 
[2026-07-01 23:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429941760001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:41:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 23:41:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 23:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334387689602154496,"km_value":334387689602154.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:41:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-374220951388137472,"description":"Unknown IO ID 44"} 
[2026-07-01 23:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429941760001,"power":27484,"unknown_81":206,"unknown_94":10240,"ignition":55,"odometer":null,"unknown_44":-374220951388137472}} 
[2026-07-01 23:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":119371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:41:59] local.INFO: GPS data processed {"connection_id":119371,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:41:59] local.INFO: Acknowledgment sent {"connection_id":119371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:42:00] local.INFO: TCP Data received {"connection_id":119371,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ee0c1d0012cfaff000704c648000b008226..."} 
[2026-07-01 23:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ee0c1d0012cfaff000704c648000b008226..."} 
[2026-07-01 23:42:00] local.INFO: Processing buffer {"connection_id":119371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ee0c1d0012cfaff000704c648000b008226..."} 
[2026-07-01 23:42:00] local.INFO: Packet analysis {"connection_id":119371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ee0"} 
[2026-07-01 23:42:00] local.INFO: Extracted packet for processing {"connection_id":119371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ee0"} 
[2026-07-01 23:42:00] local.INFO: GPS Element Parsed {"raw_longitude":754646784,"raw_latitude":117753416,"longitude_deg":75.4646784,"latitude_deg":11.7753416,"altitude":11,"angle":130,"satellites":38,"speed":48,"hex_longitude":"2cfaff00","hex_latitude":"0704c648","is_valid_coordinates":true} 
[2026-07-01 23: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-01 23:42:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429943552001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:42:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334388140573720576,"note":"Value kept but may cause issues"} 
[2026-07-01 23:42:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-367395183204896768,"note":"Value kept but may cause issues"} 
[2026-07-01 23:42:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:42:00] local.INFO: AVL Record Parsed {"raw_timestamp":1782929474000,"timestamp_ms":1782929474000,"timestamp_seconds":1782929474,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ee0c1d0"} 
[2026-07-01 23: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-01 23:42:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 23:42:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23:42:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23: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-01 23:42:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:42:00] local.INFO: Teltonika packet parsed successfully {"connection_id":119371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:42:00] local.INFO: Passing IMEI to GPS processor {"connection_id":119371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:42:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":119371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:42: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-01 23:42:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:42:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:42:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429943552001,"66":27593,"81":206,"94":10240,"24":48,"16":334388140573720576,"44":-367395183204896768},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,94,24,16,44]} 
[2026-07-01 23:42:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:42:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:42:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429943552001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:42:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 23:42:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 23:42:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334388140573720576,"km_value":334388140573720.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:42:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-367395183204896768,"description":"Unknown IO ID 44"} 
[2026-07-01 23:42:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429943552001,"power":27593,"unknown_81":206,"unknown_94":10240,"ignition":48,"odometer":null,"unknown_44":-367395183204896768}} 
[2026-07-01 23:42:00] local.INFO: DEBUG: GPS processor result {"connection_id":119371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:42:00] local.INFO: GPS data processed {"connection_id":119371,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:42:00] local.INFO: Acknowledgment sent {"connection_id":119371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:42:32] local.INFO: TCP Data received {"connection_id":119371,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ee0c1d0012cfaff000704c648000b008226..."} 
[2026-07-01 23:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ee0c1d0012cfaff000704c648000b008226..."} 
[2026-07-01 23:42:32] local.INFO: Processing buffer {"connection_id":119371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ee0c1d0012cfaff000704c648000b008226..."} 
[2026-07-01 23:42:32] local.INFO: Packet analysis {"connection_id":119371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ee0"} 
[2026-07-01 23:42:32] local.INFO: Extracted packet for processing {"connection_id":119371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ee0"} 
[2026-07-01 23:42:32] local.INFO: GPS Element Parsed {"raw_longitude":754646784,"raw_latitude":117753416,"longitude_deg":75.4646784,"latitude_deg":11.7753416,"altitude":11,"angle":130,"satellites":38,"speed":48,"hex_longitude":"2cfaff00","hex_latitude":"0704c648","is_valid_coordinates":true} 
[2026-07-01 23:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429945344001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334388140573720576,"note":"Value kept but may cause issues"} 
[2026-07-01 23:42:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-360569415021475840,"note":"Value kept but may cause issues"} 
[2026-07-01 23:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1782929474000,"timestamp_ms":1782929474000,"timestamp_seconds":1782929474,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ee0c1d0"} 
[2026-07-01 23:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:42:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-01 23:42:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23:42:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":119371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":119371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":119371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 23:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429945344001,"66":27593,"81":206,"94":10240,"24":48,"16":334388140573720576,"44":-360569415021475840},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,94,24,16,44]} 
[2026-07-01 23:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429945344001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:42:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 23:42:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 23:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334388140573720576,"km_value":334388140573720.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:42:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-360569415021475840,"description":"Unknown IO ID 44"} 
[2026-07-01 23:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429945344001,"power":27593,"unknown_81":206,"unknown_94":10240,"ignition":48,"odometer":null,"unknown_44":-360569415021475840}} 
[2026-07-01 23:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":119371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:42:32] local.INFO: GPS data processed {"connection_id":119371,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:42:32] local.INFO: Acknowledgment sent {"connection_id":119371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:42:48] local.INFO: TCP Data received {"connection_id":119372,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:42:48] local.INFO: Processing buffer {"connection_id":119372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:42:48] local.INFO: IMEI packet received {"connection_id":119372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 23:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":119372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:42:48] local.INFO: TCP Data received {"connection_id":119372,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:42:48] local.INFO: Processing buffer {"connection_id":119372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:42:48] local.INFO: IMEI packet received {"connection_id":119372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":119372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:42:53] local.INFO: TCP Data received {"connection_id":119372,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:42:53] local.INFO: Processing buffer {"connection_id":119372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:42:53] local.INFO: IMEI packet received {"connection_id":119372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":119372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:42:55] local.INFO: TCP Data received {"connection_id":119372,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ee0e110012cfb1e400704b0f0000c007926..."} 
[2026-07-01 23:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ee0e110012cfb1e400704b0f0000c007926..."} 
[2026-07-01 23:42:55] local.INFO: Processing buffer {"connection_id":119372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ee0e110012cfb1e400704b0f0000c007926..."} 
[2026-07-01 23:42:55] local.INFO: Packet analysis {"connection_id":119372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ee0"} 
[2026-07-01 23:42:55] local.INFO: Extracted packet for processing {"connection_id":119372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ee0"} 
[2026-07-01 23:42:55] local.INFO: GPS Element Parsed {"raw_longitude":754654784,"raw_latitude":117747952,"longitude_deg":75.4654784,"latitude_deg":11.7747952,"altitude":12,"angle":121,"satellites":38,"speed":48,"hex_longitude":"2cfb1e40","hex_latitude":"0704b0f0","is_valid_coordinates":true} 
[2026-07-01 23:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429945344001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334388604430188544,"note":"Value kept but may cause issues"} 
[2026-07-01 23:42:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-360569415021475840,"note":"Value kept but may cause issues"} 
[2026-07-01 23:42:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782929482000,"timestamp_ms":1782929482000,"timestamp_seconds":1782929482,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ee0e110"} 
[2026-07-01 23:42:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:42:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-01 23:42:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23:42:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:42:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":119372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":119372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":119372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:42:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 23:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429945344001,"66":27267,"81":206,"94":10240,"24":48,"16":334388604430188544,"44":-360569415021475840},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,94,24,16,44]} 
[2026-07-01 23:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429945344001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:42:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 23:42:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 23:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334388604430188544,"km_value":334388604430188.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:42:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-360569415021475840,"description":"Unknown IO ID 44"} 
[2026-07-01 23:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429945344001,"power":27267,"unknown_81":206,"unknown_94":10240,"ignition":48,"odometer":null,"unknown_44":-360569415021475840}} 
[2026-07-01 23:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":119372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:42:55] local.INFO: GPS data processed {"connection_id":119372,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:42:55] local.INFO: Acknowledgment sent {"connection_id":119372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:42:56] local.INFO: TCP Data received {"connection_id":119372,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ee0f0b0012cfb30000704a910000b006b28..."} 
[2026-07-01 23:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ee0f0b0012cfb30000704a910000b006b28..."} 
[2026-07-01 23:42:56] local.INFO: Processing buffer {"connection_id":119372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ee0f0b0012cfb30000704a910000b006b28..."} 
[2026-07-01 23:42:56] local.INFO: Packet analysis {"connection_id":119372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ee0"} 
[2026-07-01 23:42:56] local.INFO: Extracted packet for processing {"connection_id":119372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ee0"} 
[2026-07-01 23:42:56] local.INFO: GPS Element Parsed {"raw_longitude":754659328,"raw_latitude":117745936,"longitude_deg":75.4659328,"latitude_deg":11.7745936,"altitude":11,"angle":107,"satellites":40,"speed":48,"hex_longitude":"2cfb3000","hex_latitude":"0704a910","is_valid_coordinates":true} 
[2026-07-01 23:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:42:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429947392001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:42:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334388844948357120,"note":"Value kept but may cause issues"} 
[2026-07-01 23:42:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-351773322000666624,"note":"Value kept but may cause issues"} 
[2026-07-01 23:42:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:42:56] local.INFO: AVL Record Parsed {"raw_timestamp":1782929486000,"timestamp_ms":1782929486000,"timestamp_seconds":1782929486,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ee0f0b0"} 
[2026-07-01 23:42:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:42:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-01 23:42:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23:42:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:42:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:42:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:42:56] local.INFO: Teltonika packet parsed successfully {"connection_id":119372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:42:56] local.INFO: Passing IMEI to GPS processor {"connection_id":119372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:42:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":119372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:42:56] 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-01 23:42:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:42:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:42:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429947392001,"66":27376,"81":206,"94":10240,"24":48,"16":334388844948357120,"44":-351773322000666624},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,94,24,16,44]} 
[2026-07-01 23:42:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:42:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:42:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429947392001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:42:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-07-01 23:42:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 23:42:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334388844948357120,"km_value":334388844948357.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:42:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-351773322000666624,"description":"Unknown IO ID 44"} 
[2026-07-01 23:42:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429947392001,"power":27376,"unknown_81":206,"unknown_94":10240,"ignition":48,"odometer":null,"unknown_44":-351773322000666624}} 
[2026-07-01 23:42:56] local.INFO: DEBUG: GPS processor result {"connection_id":119372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:42:56] local.INFO: GPS data processed {"connection_id":119372,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:42:56] local.INFO: Acknowledgment sent {"connection_id":119372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:43:27] local.INFO: TCP Data received {"connection_id":119372,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ee20220012cfbf2000703f1c8000a00652b..."} 
[2026-07-01 23:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ee20220012cfbf2000703f1c8000a00652b..."} 
[2026-07-01 23:43:27] local.INFO: Processing buffer {"connection_id":119372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ee20220012cfbf2000703f1c8000a00652b..."} 
[2026-07-01 23:43:27] local.INFO: Packet analysis {"connection_id":119372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ee2"} 
[2026-07-01 23:43:27] local.INFO: Extracted packet for processing {"connection_id":119372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ee2"} 
[2026-07-01 23:43:27] local.INFO: GPS Element Parsed {"raw_longitude":754708992,"raw_latitude":117699016,"longitude_deg":75.4708992,"latitude_deg":11.7699016,"altitude":10,"angle":101,"satellites":43,"speed":43,"hex_longitude":"2cfbf200","hex_latitude":"0703f1c8","is_valid_coordinates":true} 
[2026-07-01 23:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429964032001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:43:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334392362526572544,"note":"Value kept but may cause issues"} 
[2026-07-01 23:43:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-302937413553774592,"note":"Value kept but may cause issues"} 
[2026-07-01 23:43:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:43:27] local.INFO: AVL Record Parsed {"raw_timestamp":1782929556000,"timestamp_ms":1782929556000,"timestamp_seconds":1782929556,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ee20220"} 
[2026-07-01 23:43:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:43:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-07-01 23:43:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23:43:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:43:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:43:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":119372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":119372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":119372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:43:27] 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-01 23:43:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:43:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:43:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429964032001,"66":27571,"80":206,"94":10240,"24":43,"16":334392362526572544,"44":-302937413553774592},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,94,24,16,44]} 
[2026-07-01 23:43:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:43:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:43:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429964032001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:43:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-07-01 23:43:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 23:43:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334392362526572544,"km_value":334392362526572.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:43:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-302937413553774592,"description":"Unknown IO ID 44"} 
[2026-07-01 23:43:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429964032001,"power":27571,"unknown_80":206,"unknown_94":10240,"ignition":43,"odometer":null,"unknown_44":-302937413553774592}} 
[2026-07-01 23:43:27] local.INFO: DEBUG: GPS processor result {"connection_id":119372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:43:27] local.INFO: GPS data processed {"connection_id":119372,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:43:27] local.INFO: Acknowledgment sent {"connection_id":119372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:43:27] local.INFO: TCP Data received {"connection_id":120171,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 23:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120171,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 23:43:27] local.INFO: Processing buffer {"connection_id":120171,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 23:43:27] local.INFO: IMEI packet received {"connection_id":120171,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 23:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":120171,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:43:46] local.INFO: TCP Data received {"connection_id":119373,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:43:46] local.INFO: Processing buffer {"connection_id":119373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:43:46] local.INFO: IMEI packet received {"connection_id":119373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 23:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":119373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:43:48] local.INFO: TCP Data received {"connection_id":119373,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:43:48] local.INFO: Processing buffer {"connection_id":119373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:43:48] local.INFO: IMEI packet received {"connection_id":119373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":119373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:43:54] local.INFO: TCP Data received {"connection_id":119373,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:43:54] local.INFO: Processing buffer {"connection_id":119373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:43:54] local.INFO: IMEI packet received {"connection_id":119373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":119373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:43:55] local.INFO: TCP Data received {"connection_id":119373,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ee209f0012cfbfa800703ef30000a007129..."} 
[2026-07-01 23:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ee209f0012cfbfa800703ef30000a007129..."} 
[2026-07-01 23:43:55] local.INFO: Processing buffer {"connection_id":119373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ee209f0012cfbfa800703ef30000a007129..."} 
[2026-07-01 23:43:55] local.INFO: Packet analysis {"connection_id":119373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ee2"} 
[2026-07-01 23:43:55] local.INFO: Extracted packet for processing {"connection_id":119373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ee2"} 
[2026-07-01 23:43:55] local.INFO: GPS Element Parsed {"raw_longitude":754711168,"raw_latitude":117698352,"longitude_deg":75.4711168,"latitude_deg":11.7698352,"altitude":10,"angle":113,"satellites":41,"speed":44,"hex_longitude":"2cfbfa80","hex_latitude":"0703ef30","is_valid_coordinates":true} 
[2026-07-01 23:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429966336001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334392469900754944,"note":"Value kept but may cause issues"} 
[2026-07-01 23:43:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-292170995694712832,"note":"Value kept but may cause issues"} 
[2026-07-01 23:43:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782929558000,"timestamp_ms":1782929558000,"timestamp_seconds":1782929558,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ee209f0"} 
[2026-07-01 23:43:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:43:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-01 23:43:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23:43:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:43:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":119373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":119373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":119373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:43:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 23:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429966336001,"66":27517,"80":206,"94":10240,"24":44,"16":334392469900754944,"44":-292170995694712832},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,94,24,16,44]} 
[2026-07-01 23:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429966336001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:43:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-07-01 23:43:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 23:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334392469900754944,"km_value":334392469900754.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:43:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-292170995694712832,"description":"Unknown IO ID 44"} 
[2026-07-01 23:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429966336001,"power":27517,"unknown_80":206,"unknown_94":10240,"ignition":44,"odometer":null,"unknown_44":-292170995694712832}} 
[2026-07-01 23:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":119373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:43:55] local.INFO: GPS data processed {"connection_id":119373,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:43:55] local.INFO: Acknowledgment sent {"connection_id":119373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:44:33] local.INFO: TCP Data received {"connection_id":119373,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ee22930012cfc1cc00703e0900008007429..."} 
[2026-07-01 23:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ee22930012cfc1cc00703e0900008007429..."} 
[2026-07-01 23:44:33] local.INFO: Processing buffer {"connection_id":119373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ee22930012cfc1cc00703e0900008007429..."} 
[2026-07-01 23:44:33] local.INFO: Packet analysis {"connection_id":119373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ee2"} 
[2026-07-01 23:44:33] local.INFO: Extracted packet for processing {"connection_id":119373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ee2"} 
[2026-07-01 23:44:33] local.INFO: GPS Element Parsed {"raw_longitude":754719936,"raw_latitude":117694608,"longitude_deg":75.4719936,"latitude_deg":11.7694608,"altitude":8,"angle":116,"satellites":41,"speed":48,"hex_longitude":"2cfc1cc0","hex_latitude":"0703e090","is_valid_coordinates":true} 
[2026-07-01 23: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-01 23:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429966848001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334392925167288320,"note":"Value kept but may cause issues"} 
[2026-07-01 23:44:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-289778458392842240,"note":"Value kept but may cause issues"} 
[2026-07-01 23:44:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1782929566000,"timestamp_ms":1782929566000,"timestamp_seconds":1782929566,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ee22930"} 
[2026-07-01 23: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-01 23:44: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-01 23: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-01 23:44:33] 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-01 23: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-01 23: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-01 23:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":119373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":119373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":119373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 23:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429966848001,"66":27571,"80":206,"94":10240,"24":48,"16":334392925167288320,"44":-289778458392842240},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,94,24,16,44]} 
[2026-07-01 23:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429966848001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:44:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-07-01 23:44:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 23:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334392925167288320,"km_value":334392925167288.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:44:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-289778458392842240,"description":"Unknown IO ID 44"} 
[2026-07-01 23:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429966848001,"power":27571,"unknown_80":206,"unknown_94":10240,"ignition":48,"odometer":null,"unknown_44":-289778458392842240}} 
[2026-07-01 23:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":119373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:44:33] local.INFO: GPS data processed {"connection_id":119373,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:44:33] local.INFO: Acknowledgment sent {"connection_id":119373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:44:47] local.INFO: TCP Data received {"connection_id":121232,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:44:47] local.INFO: Processing buffer {"connection_id":121232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:44:47] local.INFO: IMEI packet received {"connection_id":121232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 23:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":121232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:44:48] local.INFO: TCP Data received {"connection_id":121232,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:44:48] local.INFO: Processing buffer {"connection_id":121232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:44:48] local.INFO: IMEI packet received {"connection_id":121232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":121232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:44:49] local.INFO: TCP Data received {"connection_id":121232,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:44:49] local.INFO: Processing buffer {"connection_id":121232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:44:49] local.INFO: IMEI packet received {"connection_id":121232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":121232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:44:53] local.INFO: TCP Data received {"connection_id":121232,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:44:53] local.INFO: Processing buffer {"connection_id":121232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:44:53] local.INFO: IMEI packet received {"connection_id":121232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":121232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:44:54] local.INFO: TCP Data received {"connection_id":121232,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ee336b8012cfd42c007033a10000800942b..."} 
[2026-07-01 23:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ee336b8012cfd42c007033a10000800942b..."} 
[2026-07-01 23:44:54] local.INFO: Processing buffer {"connection_id":121232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ee336b8012cfd42c007033a10000800942b..."} 
[2026-07-01 23:44:54] local.INFO: Packet analysis {"connection_id":121232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ee3"} 
[2026-07-01 23:44:54] local.INFO: Extracted packet for processing {"connection_id":121232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ee3"} 
[2026-07-01 23:44:54] local.INFO: GPS Element Parsed {"raw_longitude":754795200,"raw_latitude":117651984,"longitude_deg":75.47952,"latitude_deg":11.7651984,"altitude":8,"angle":148,"satellites":43,"speed":34,"hex_longitude":"2cfd42c0","hex_latitude":"07033a10","is_valid_coordinates":true} 
[2026-07-01 23:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429983744001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334397151415107584,"note":"Value kept but may cause issues"} 
[2026-07-01 23:44:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-202873059343233024,"note":"Value kept but may cause issues"} 
[2026-07-01 23:44:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782929635000,"timestamp_ms":1782929635000,"timestamp_seconds":1782929635,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ee336b8"} 
[2026-07-01 23: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-01 23:44: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-01 23: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-01 23:44:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23: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-01 23: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-01 23:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":121232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":121232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":121232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:44:54] 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-01 23:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429983744001,"66":27137,"80":206,"94":10240,"24":34,"16":334397151415107584,"44":-202873059343233024},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,94,24,16,44]} 
[2026-07-01 23:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429983744001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:44:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-07-01 23:44:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 23:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334397151415107584,"km_value":334397151415107.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:44:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-202873059343233024,"description":"Unknown IO ID 44"} 
[2026-07-01 23:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429983744001,"power":27137,"unknown_80":206,"unknown_94":10240,"ignition":34,"odometer":null,"unknown_44":-202873059343233024}} 
[2026-07-01 23:44:54] local.INFO: DEBUG: GPS processor result {"connection_id":121232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:44:54] local.INFO: GPS data processed {"connection_id":121232,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:44:54] local.INFO: Acknowledgment sent {"connection_id":121232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:45:25] local.INFO: TCP Data received {"connection_id":121232,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ee359e0012cfd584007031a200006009329..."} 
[2026-07-01 23:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ee359e0012cfd584007031a200006009329..."} 
[2026-07-01 23:45:25] local.INFO: Processing buffer {"connection_id":121232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ee359e0012cfd584007031a200006009329..."} 
[2026-07-01 23:45:25] local.INFO: Packet analysis {"connection_id":121232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ee3"} 
[2026-07-01 23:45:25] local.INFO: Extracted packet for processing {"connection_id":121232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ee3"} 
[2026-07-01 23:45:25] local.INFO: GPS Element Parsed {"raw_longitude":754800704,"raw_latitude":117643808,"longitude_deg":75.4800704,"latitude_deg":11.7643808,"altitude":6,"angle":147,"satellites":41,"speed":46,"hex_longitude":"2cfd5840","hex_latitude":"07031a20","is_valid_coordinates":true} 
[2026-07-01 23:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456429986560001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:45:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334397628156477440,"note":"Value kept but may cause issues"} 
[2026-07-01 23:45:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-197384297299439616,"note":"Value kept but may cause issues"} 
[2026-07-01 23:45:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:45:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782929644000,"timestamp_ms":1782929644000,"timestamp_seconds":1782929644,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ee359e0"} 
[2026-07-01 23:45:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:45: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-01 23:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-07-01 23:45:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23:45:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:45:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:45:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:45:25] local.INFO: Teltonika packet parsed successfully {"connection_id":121232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:45:25] local.INFO: Passing IMEI to GPS processor {"connection_id":121232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:45:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":121232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:45:25] 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-01 23:45:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456429986560001,"66":27332,"206":206,"94":10240,"24":46,"16":334397628156477440,"44":-197384297299439616},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,94,24,16,44]} 
[2026-07-01 23:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456429986560001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:45:25] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-07-01 23:45:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 23:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334397628156477440,"km_value":334397628156477.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:45:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-197384297299439616,"description":"Unknown IO ID 44"} 
[2026-07-01 23:45:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456429986560001,"power":27332,"unknown_206":206,"unknown_94":10240,"ignition":46,"odometer":null,"unknown_44":-197384297299439616}} 
[2026-07-01 23:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":121232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:45:25] local.INFO: GPS data processed {"connection_id":121232,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:45:25] local.INFO: Acknowledgment sent {"connection_id":121232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:45:47] local.INFO: TCP Data received {"connection_id":121233,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:45:47] local.INFO: Processing buffer {"connection_id":121233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:45:47] local.INFO: IMEI packet received {"connection_id":121233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 23:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":121233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:45:48] local.INFO: TCP Data received {"connection_id":121233,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:45:48] local.INFO: Processing buffer {"connection_id":121233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:45:48] local.INFO: IMEI packet received {"connection_id":121233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":121233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:45:50] local.INFO: TCP Data received {"connection_id":121233,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:45:50] local.INFO: Processing buffer {"connection_id":121233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:45:50] local.INFO: IMEI packet received {"connection_id":121233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":121233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:45:51] local.INFO: TCP Data received {"connection_id":121233,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:45:51] local.INFO: Processing buffer {"connection_id":121233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:45:51] local.INFO: IMEI packet received {"connection_id":121233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":121233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:49:19] local.INFO: TCP Data received {"connection_id":121235,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 23:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121235,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 23:49:19] local.INFO: Processing buffer {"connection_id":121235,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 23:49:19] local.INFO: IMEI packet received {"connection_id":121235,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 23:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":121235,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:50:53] local.INFO: TCP Data received {"connection_id":120174,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:50:53] local.INFO: Processing buffer {"connection_id":120174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:50:53] local.INFO: IMEI packet received {"connection_id":120174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 23:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":120174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:50:55] local.INFO: TCP Data received {"connection_id":120174,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ee85f08012cff3f8007000d40000c008928..."} 
[2026-07-01 23:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ee85f08012cff3f8007000d40000c008928..."} 
[2026-07-01 23:50:55] local.INFO: Processing buffer {"connection_id":120174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ee85f08012cff3f8007000d40000c008928..."} 
[2026-07-01 23:50:55] local.INFO: Packet analysis {"connection_id":120174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ee8"} 
[2026-07-01 23:50:55] local.INFO: Extracted packet for processing {"connection_id":120174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ee8"} 
[2026-07-01 23:50:55] local.INFO: GPS Element Parsed {"raw_longitude":754925440,"raw_latitude":117443904,"longitude_deg":75.492544,"latitude_deg":11.7443904,"altitude":12,"angle":137,"satellites":40,"speed":34,"hex_longitude":"2cff3f80","hex_latitude":"07000d40","is_valid_coordinates":true} 
[2026-07-01 23:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456430070272001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334410590367776768,"note":"Value kept but may cause issues"} 
[2026-07-01 23:50:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-60517089925378048,"note":"Value kept but may cause issues"} 
[2026-07-01 23:50:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782929973000,"timestamp_ms":1782929973000,"timestamp_seconds":1782929973,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ee85f08"} 
[2026-07-01 23:50:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:50:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-01 23:50:55] 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-01 23:50:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:50:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":120174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":120174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":120174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:50:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 23:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456430070272001,"66":27484,"102":206,"94":10240,"24":34,"16":334410590367776768,"44":-60517089925378048},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,94,24,16,44]} 
[2026-07-01 23:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456430070272001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:50:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-01 23:50:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 23:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334410590367776768,"km_value":334410590367776.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:50:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-60517089925378048,"description":"Unknown IO ID 44"} 
[2026-07-01 23:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456430070272001,"power":27484,"unknown_102":206,"unknown_94":10240,"ignition":34,"odometer":null,"unknown_44":-60517089925378048}} 
[2026-07-01 23:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":120174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:50:55] local.INFO: GPS data processed {"connection_id":120174,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:50:55] local.INFO: Acknowledgment sent {"connection_id":120174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:51:26] local.INFO: TCP Data received {"connection_id":120174,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ee88618012cff580006fff5c8000c007d27..."} 
[2026-07-01 23:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ee88618012cff580006fff5c8000c007d27..."} 
[2026-07-01 23:51:26] local.INFO: Processing buffer {"connection_id":120174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ee88618012cff580006fff5c8000c007d27..."} 
[2026-07-01 23:51:26] local.INFO: Packet analysis {"connection_id":120174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ee8"} 
[2026-07-01 23:51:26] local.INFO: Extracted packet for processing {"connection_id":120174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ee8"} 
[2026-07-01 23:51:26] local.INFO: GPS Element Parsed {"raw_longitude":754931712,"raw_latitude":117437896,"longitude_deg":75.4931712,"latitude_deg":11.7437896,"altitude":12,"angle":125,"satellites":39,"speed":28,"hex_longitude":"2cff5800","hex_latitude":"06fff5c8","is_valid_coordinates":true} 
[2026-07-01 23:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456430073088001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334411006979604480,"note":"Value kept but may cause issues"} 
[2026-07-01 23:51:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-54183902951161856,"note":"Value kept but may cause issues"} 
[2026-07-01 23:51:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782929983000,"timestamp_ms":1782929983000,"timestamp_seconds":1782929983,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ee88618"} 
[2026-07-01 23:51:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:51: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-01 23:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-07-01 23:51:26] 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-01 23:51:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:51:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":120174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":120174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":120174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:51:26] 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-01 23:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456430073088001,"66":27332,"102":206,"94":10240,"24":28,"16":334411006979604480,"44":-54183902951161856},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,94,24,16,44]} 
[2026-07-01 23:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456430073088001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:51:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-01 23:51:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 23:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334411006979604480,"km_value":334411006979604.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:51:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-54183902951161856,"description":"Unknown IO ID 44"} 
[2026-07-01 23:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456430073088001,"power":27332,"unknown_102":206,"unknown_94":10240,"ignition":28,"odometer":null,"unknown_44":-54183902951161856}} 
[2026-07-01 23:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":120174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:51:26] local.INFO: GPS data processed {"connection_id":120174,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:51:26] local.INFO: Acknowledgment sent {"connection_id":120174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:51:53] local.INFO: TCP Data received {"connection_id":119374,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:51:53] local.INFO: Processing buffer {"connection_id":119374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:51:53] local.INFO: IMEI packet received {"connection_id":119374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 23:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":119374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:51:53] local.INFO: TCP Data received {"connection_id":119374,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:51:53] local.INFO: Processing buffer {"connection_id":119374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:51:53] local.INFO: IMEI packet received {"connection_id":119374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":119374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:51:58] local.INFO: TCP Data received {"connection_id":119374,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:51:58] local.INFO: Processing buffer {"connection_id":119374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:51:58] local.INFO: IMEI packet received {"connection_id":119374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":119374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:51:59] local.INFO: TCP Data received {"connection_id":119374,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ee8ad28012cff6e0006ffe700000c006d2a..."} 
[2026-07-01 23:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ee8ad28012cff6e0006ffe700000c006d2a..."} 
[2026-07-01 23:51:59] local.INFO: Processing buffer {"connection_id":119374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ee8ad28012cff6e0006ffe700000c006d2a..."} 
[2026-07-01 23:51:59] local.INFO: Packet analysis {"connection_id":119374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ee8"} 
[2026-07-01 23:51:59] local.INFO: Extracted packet for processing {"connection_id":119374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ee8"} 
[2026-07-01 23:51:59] local.INFO: GPS Element Parsed {"raw_longitude":754937344,"raw_latitude":117434112,"longitude_deg":75.4937344,"latitude_deg":11.7434112,"altitude":12,"angle":109,"satellites":42,"speed":29,"hex_longitude":"2cff6e00","hex_latitude":"06ffe700","is_valid_coordinates":true} 
[2026-07-01 23:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456430075648001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334411333397118976,"note":"Value kept but may cause issues"} 
[2026-07-01 23:51:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-47287766023288832,"note":"Value kept but may cause issues"} 
[2026-07-01 23:51:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782929993000,"timestamp_ms":1782929993000,"timestamp_seconds":1782929993,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ee8ad28"} 
[2026-07-01 23:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:51: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-01 23:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-01 23:51:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23:51:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":119374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":119374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":119374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:51:59] 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-01 23:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456430075648001,"66":27332,"102":206,"94":10240,"24":29,"16":334411333397118976,"44":-47287766023288832},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,94,24,16,44]} 
[2026-07-01 23:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456430075648001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:51:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-07-01 23:51:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 23:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334411333397118976,"km_value":334411333397119.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:51:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-47287766023288832,"description":"Unknown IO ID 44"} 
[2026-07-01 23:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456430075648001,"power":27332,"unknown_102":206,"unknown_94":10240,"ignition":29,"odometer":null,"unknown_44":-47287766023288832}} 
[2026-07-01 23:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":119374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:51:59] local.INFO: GPS data processed {"connection_id":119374,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:51:59] local.INFO: Acknowledgment sent {"connection_id":119374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:52:31] local.INFO: TCP Data received {"connection_id":119374,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eea2040012d0068c006ff4d68000f00ab29..."} 
[2026-07-01 23:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eea2040012d0068c006ff4d68000f00ab29..."} 
[2026-07-01 23:52:31] local.INFO: Processing buffer {"connection_id":119374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1eea2040012d0068c006ff4d68000f00ab29..."} 
[2026-07-01 23:52:31] local.INFO: Packet analysis {"connection_id":119374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eea"} 
[2026-07-01 23:52:31] local.INFO: Extracted packet for processing {"connection_id":119374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eea"} 
[2026-07-01 23:52:31] local.INFO: GPS Element Parsed {"raw_longitude":755001536,"raw_latitude":117394792,"longitude_deg":75.5001536,"latitude_deg":11.7394792,"altitude":15,"angle":171,"satellites":41,"speed":35,"hex_longitude":"2d0068c0","hex_latitude":"06ff4d68","is_valid_coordinates":true} 
[2026-07-01 23:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456430101504001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334415039953895424,"note":"Value kept but may cause issues"} 
[2026-07-01 23:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":28569740190015488,"note":"Value kept but may cause issues"} 
[2026-07-01 23:52:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1782930088000,"timestamp_ms":1782930088000,"timestamp_seconds":1782930088,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eea2040"} 
[2026-07-01 23: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-01 23:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-07-01 23:52:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23: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-01 23: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-01 23:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":119374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":119374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":119374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 23:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456430101504001,"66":27463,"27":206,"94":10240,"24":35,"16":334415039953895424,"45":28569740190015488},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,94,24,16,45]} 
[2026-07-01 23:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456430101504001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:52:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-01 23:52:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 23:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334415039953895424,"km_value":334415039953895.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":28569740190015488,"description":"Unknown IO ID 45"} 
[2026-07-01 23:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456430101504001,"power":27463,"unknown_27":206,"unknown_94":10240,"ignition":35,"odometer":null,"unknown_45":28569740190015488}} 
[2026-07-01 23:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":119374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:52:31] local.INFO: GPS data processed {"connection_id":119374,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:52:31] local.INFO: Acknowledgment sent {"connection_id":119374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:52:48] local.INFO: TCP Data received {"connection_id":120176,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:52:48] local.INFO: Processing buffer {"connection_id":120176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:52:48] local.INFO: IMEI packet received {"connection_id":120176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 23:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":120176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:52:52] local.INFO: TCP Data received {"connection_id":120176,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:52:52] local.INFO: Processing buffer {"connection_id":120176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:52:52] local.INFO: IMEI packet received {"connection_id":120176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":120176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:52:53] local.INFO: TCP Data received {"connection_id":120176,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eea4750012d006ec006ff2740001100ab2b..."} 
[2026-07-01 23:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eea4750012d006ec006ff2740001100ab2b..."} 
[2026-07-01 23:52:53] local.INFO: Processing buffer {"connection_id":120176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1eea4750012d006ec006ff2740001100ab2b..."} 
[2026-07-01 23:52:53] local.INFO: Packet analysis {"connection_id":120176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eea"} 
[2026-07-01 23:52:53] local.INFO: Extracted packet for processing {"connection_id":120176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eea"} 
[2026-07-01 23:52:53] local.INFO: GPS Element Parsed {"raw_longitude":755003072,"raw_latitude":117385024,"longitude_deg":75.5003072,"latitude_deg":11.7385024,"altitude":17,"angle":171,"satellites":43,"speed":42,"hex_longitude":"2d006ec0","hex_latitude":"06ff2740","is_valid_coordinates":true} 
[2026-07-01 23:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:52:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456430102528001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:52:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334415520990232576,"note":"Value kept but may cause issues"} 
[2026-07-01 23:52:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":29484533863507968,"note":"Value kept but may cause issues"} 
[2026-07-01 23:52:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:52:53] local.INFO: AVL Record Parsed {"raw_timestamp":1782930098000,"timestamp_ms":1782930098000,"timestamp_seconds":1782930098,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eea4750"} 
[2026-07-01 23:52:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:52:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23:52:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-01 23:52:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23:52:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:52:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:52:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:52:53] local.INFO: Teltonika packet parsed successfully {"connection_id":120176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:52:53] local.INFO: Passing IMEI to GPS processor {"connection_id":120176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:52:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":120176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:52:53] 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-01 23:52:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:52:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:52:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456430102528001,"66":27604,"27":206,"94":10240,"24":42,"16":334415520990232576,"45":29484533863507968},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,94,24,16,45]} 
[2026-07-01 23:52:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:52:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:52:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456430102528001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:52:53] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-01 23:52:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 23:52:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334415520990232576,"km_value":334415520990232.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:52:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":29484533863507968,"description":"Unknown IO ID 45"} 
[2026-07-01 23:52:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456430102528001,"power":27604,"unknown_27":206,"unknown_94":10240,"ignition":42,"odometer":null,"unknown_45":29484533863507968}} 
[2026-07-01 23:52:53] local.INFO: DEBUG: GPS processor result {"connection_id":120176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:52:53] local.INFO: GPS data processed {"connection_id":120176,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:52:53] local.INFO: Acknowledgment sent {"connection_id":120176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:53:25] local.INFO: TCP Data received {"connection_id":120176,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eea6690012d00734006ff0460001100a92b..."} 
[2026-07-01 23:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eea6690012d00734006ff0460001100a92b..."} 
[2026-07-01 23:53:25] local.INFO: Processing buffer {"connection_id":120176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1eea6690012d00734006ff0460001100a92b..."} 
[2026-07-01 23:53:25] local.INFO: Packet analysis {"connection_id":120176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eea"} 
[2026-07-01 23:53:25] local.INFO: Extracted packet for processing {"connection_id":120176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eea"} 
[2026-07-01 23:53:25] local.INFO: GPS Element Parsed {"raw_longitude":755004224,"raw_latitude":117376096,"longitude_deg":75.5004224,"latitude_deg":11.7376096,"altitude":17,"angle":169,"satellites":43,"speed":44,"hex_longitude":"2d007340","hex_latitude":"06ff0460","is_valid_coordinates":true} 
[2026-07-01 23: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-01 23:53:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456430105088001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:53:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334415959076896768,"note":"Value kept but may cause issues"} 
[2026-07-01 23:53:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":31173383721271296,"note":"Value kept but may cause issues"} 
[2026-07-01 23:53:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:53:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782930106000,"timestamp_ms":1782930106000,"timestamp_seconds":1782930106,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eea6690"} 
[2026-07-01 23: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-01 23:53: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-01 23: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-07-01 23:53:25] 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-01 23: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-01 23: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-01 23:53:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:53:25] local.INFO: Teltonika packet parsed successfully {"connection_id":120176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:53:25] local.INFO: Passing IMEI to GPS processor {"connection_id":120176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:53:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":120176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:53:25] 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-01 23:53:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:53:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:53:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456430105088001,"66":27484,"27":206,"94":10240,"24":44,"16":334415959076896768,"45":31173383721271296},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,94,24,16,45]} 
[2026-07-01 23:53:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:53:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:53:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456430105088001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:53:25] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-07-01 23:53:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-07-01 23:53:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334415959076896768,"km_value":334415959076896.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:53:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":31173383721271296,"description":"Unknown IO ID 45"} 
[2026-07-01 23:53:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456430105088001,"power":27484,"unknown_27":206,"unknown_94":10240,"ignition":44,"odometer":null,"unknown_45":31173383721271296}} 
[2026-07-01 23:53:25] local.INFO: DEBUG: GPS processor result {"connection_id":120176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:53:25] local.INFO: GPS data processed {"connection_id":120176,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:53:25] local.INFO: Acknowledgment sent {"connection_id":120176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:53:48] local.INFO: TCP Data received {"connection_id":119376,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:53:48] local.INFO: Processing buffer {"connection_id":119376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:53:48] local.INFO: IMEI packet received {"connection_id":119376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 23:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":119376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:53:53] local.INFO: TCP Data received {"connection_id":119376,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:53:53] local.INFO: Processing buffer {"connection_id":119376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:53:53] local.INFO: IMEI packet received {"connection_id":119376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":119376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:53:54] local.INFO: TCP Data received {"connection_id":119376,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eeb7800012d011b8006fe8a680006007e2b..."} 
[2026-07-01 23:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eeb7800012d011b8006fe8a680006007e2b..."} 
[2026-07-01 23:53:54] local.INFO: Processing buffer {"connection_id":119376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1eeb7800012d011b8006fe8a680006007e2b..."} 
[2026-07-01 23:53:54] local.INFO: Packet analysis {"connection_id":119376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eeb"} 
[2026-07-01 23:53:54] local.INFO: Extracted packet for processing {"connection_id":119376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eeb"} 
[2026-07-01 23:53:54] local.INFO: GPS Element Parsed {"raw_longitude":755047296,"raw_latitude":117344872,"longitude_deg":75.5047296,"latitude_deg":11.7344872,"altitude":6,"angle":126,"satellites":43,"speed":7,"hex_longitude":"2d011b80","hex_latitude":"06fe8a68","is_valid_coordinates":true} 
[2026-07-01 23: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-01 23:53:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456430124032001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:53:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334418832410017792,"note":"Value kept but may cause issues"} 
[2026-07-01 23:53:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":78531548542851072,"note":"Value kept but may cause issues"} 
[2026-07-01 23:53:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:53:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782930176000,"timestamp_ms":1782930176000,"timestamp_seconds":1782930176,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eeb7800"} 
[2026-07-01 23: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-01 23:53: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-01 23: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-01 23:53:54] 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-01 23:53:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23: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-01 23:53:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:53:54] local.INFO: Teltonika packet parsed successfully {"connection_id":119376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:53:54] local.INFO: Passing IMEI to GPS processor {"connection_id":119376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:53:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":119376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:53:54] 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-01 23:53:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:53:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:53:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456430124032001,"66":27463,"131":206,"94":11008,"24":7,"16":334418832410017792,"45":78531548542851072},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,94,24,16,45]} 
[2026-07-01 23:53:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:53:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:53:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456430124032001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:53:54] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-01 23:53:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-01 23:53:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334418832410017792,"km_value":334418832410017.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:53:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":78531548542851072,"description":"Unknown IO ID 45"} 
[2026-07-01 23:53:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456430124032001,"power":27463,"unknown_131":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":78531548542851072}} 
[2026-07-01 23:53:54] local.INFO: DEBUG: GPS processor result {"connection_id":119376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:53:54] local.INFO: GPS data processed {"connection_id":119376,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:53:54] local.INFO: Acknowledgment sent {"connection_id":119376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:54:25] local.INFO: TCP Data received {"connection_id":119376,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eeb83b8012d011c8006fe89880005008a2b..."} 
[2026-07-01 23:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eeb83b8012d011c8006fe89880005008a2b..."} 
[2026-07-01 23:54:25] local.INFO: Processing buffer {"connection_id":119376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1eeb83b8012d011c8006fe89880005008a2b..."} 
[2026-07-01 23:54:25] local.INFO: Packet analysis {"connection_id":119376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eeb"} 
[2026-07-01 23:54:25] local.INFO: Extracted packet for processing {"connection_id":119376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eeb"} 
[2026-07-01 23:54:25] local.INFO: GPS Element Parsed {"raw_longitude":755047552,"raw_latitude":117344648,"longitude_deg":75.5047552,"latitude_deg":11.7344648,"altitude":5,"angle":138,"satellites":43,"speed":8,"hex_longitude":"2d011c80","hex_latitude":"06fe8988","is_valid_coordinates":true} 
[2026-07-01 23:54:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:54:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456430125056001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:54:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334418849589886976,"note":"Value kept but may cause issues"} 
[2026-07-01 23:54:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":79798185937758208,"note":"Value kept but may cause issues"} 
[2026-07-01 23:54:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:54:25] local.INFO: AVL Record Parsed {"raw_timestamp":1782930179000,"timestamp_ms":1782930179000,"timestamp_seconds":1782930179,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eeb83b8"} 
[2026-07-01 23:54:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:54: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-01 23:54:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-01 23:54:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23:54:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:54:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:54:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:54:25] local.INFO: Teltonika packet parsed successfully {"connection_id":119376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:54:25] local.INFO: Passing IMEI to GPS processor {"connection_id":119376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:54:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":119376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:54:25] 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-01 23:54:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:54:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:54:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456430125056001,"66":27571,"131":206,"94":11008,"24":8,"16":334418849589886976,"45":79798185937758208},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,94,24,16,45]} 
[2026-07-01 23:54:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:54:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:54:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456430125056001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:54:25] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-01 23:54:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-01 23:54:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334418849589886976,"km_value":334418849589887.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:54:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":79798185937758208,"description":"Unknown IO ID 45"} 
[2026-07-01 23:54:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456430125056001,"power":27571,"unknown_131":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":79798185937758208}} 
[2026-07-01 23:54:25] local.INFO: DEBUG: GPS processor result {"connection_id":119376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:54:25] local.INFO: GPS data processed {"connection_id":119376,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:54:25] local.INFO: Acknowledgment sent {"connection_id":119376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:54:44] local.INFO: TCP Data received {"connection_id":119489,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 23:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119489,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 23:54:44] local.INFO: Processing buffer {"connection_id":119489,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 23:54:44] local.INFO: IMEI packet received {"connection_id":119489,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 23:54:44] local.INFO: IMEI acknowledgment sent {"connection_id":119489,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:54:48] local.INFO: TCP Data received {"connection_id":119490,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:54:48] local.INFO: Processing buffer {"connection_id":119490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:54:48] local.INFO: IMEI packet received {"connection_id":119490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 23:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":119490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:54:53] local.INFO: TCP Data received {"connection_id":119490,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:54:53] local.INFO: Processing buffer {"connection_id":119490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:54:53] local.INFO: IMEI packet received {"connection_id":119490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":119490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:54:54] local.INFO: TCP Data received {"connection_id":119490,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eeb8f70012d011f8006fe87500006007c2b..."} 
[2026-07-01 23:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eeb8f70012d011f8006fe87500006007c2b..."} 
[2026-07-01 23:54:54] local.INFO: Processing buffer {"connection_id":119490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1eeb8f70012d011f8006fe87500006007c2b..."} 
[2026-07-01 23:54:54] local.INFO: Packet analysis {"connection_id":119490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eeb"} 
[2026-07-01 23:54:54] local.INFO: Extracted packet for processing {"connection_id":119490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eeb"} 
[2026-07-01 23:54:54] local.INFO: GPS Element Parsed {"raw_longitude":755048320,"raw_latitude":117344080,"longitude_deg":75.504832,"latitude_deg":11.734408,"altitude":6,"angle":124,"satellites":43,"speed":14,"hex_longitude":"2d011f80","hex_latitude":"06fe8750","is_valid_coordinates":true} 
[2026-07-01 23: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-01 23:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456430125824001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334418896834527232,"note":"Value kept but may cause issues"} 
[2026-07-01 23:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":80079660914411520,"note":"Value kept but may cause issues"} 
[2026-07-01 23:54:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782930182000,"timestamp_ms":1782930182000,"timestamp_seconds":1782930182,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eeb8f70"} 
[2026-07-01 23: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-01 23:54: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-01 23: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-07-01 23:54:54] 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-01 23: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-01 23: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-01 23:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":119490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":119490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":119490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:54:54] 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-01 23:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456430125824001,"66":27463,"131":206,"94":11008,"24":14,"16":334418896834527232,"45":80079660914411520},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,94,24,16,45]} 
[2026-07-01 23:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456430125824001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:54:54] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-01 23:54:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-01 23:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334418896834527232,"km_value":334418896834527.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":80079660914411520,"description":"Unknown IO ID 45"} 
[2026-07-01 23:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456430125824001,"power":27463,"unknown_131":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":80079660914411520}} 
[2026-07-01 23:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":119490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:54:54] local.INFO: GPS data processed {"connection_id":119490,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:54:54] local.INFO: Acknowledgment sent {"connection_id":119490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:55:26] local.INFO: TCP Data received {"connection_id":119490,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eebcdf0012d013dc006fe73780006007f2a..."} 
[2026-07-01 23:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eebcdf0012d013dc006fe73780006007f2a..."} 
[2026-07-01 23:55:26] local.INFO: Processing buffer {"connection_id":119490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1eebcdf0012d013dc006fe73780006007f2a..."} 
[2026-07-01 23:55:26] local.INFO: Packet analysis {"connection_id":119490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eeb"} 
[2026-07-01 23:55:26] local.INFO: Extracted packet for processing {"connection_id":119490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eeb"} 
[2026-07-01 23:55:26] local.INFO: GPS Element Parsed {"raw_longitude":755056064,"raw_latitude":117339000,"longitude_deg":75.5056064,"latitude_deg":11.7339,"altitude":6,"angle":127,"satellites":42,"speed":25,"hex_longitude":"2d013dc0","hex_latitude":"06fe7378","is_valid_coordinates":true} 
[2026-07-01 23:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:55:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456430126592001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:55:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334419339216158720,"note":"Value kept but may cause issues"} 
[2026-07-01 23:55:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":80924085844398080,"note":"Value kept but may cause issues"} 
[2026-07-01 23:55:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:55:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782930198000,"timestamp_ms":1782930198000,"timestamp_seconds":1782930198,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eebcdf0"} 
[2026-07-01 23:55:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:55: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-01 23:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-07-01 23:55:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23:55:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:55:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:55:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:55:26] local.INFO: Teltonika packet parsed successfully {"connection_id":119490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:55:26] local.INFO: Passing IMEI to GPS processor {"connection_id":119490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:55:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":119490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:55:26] 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-01 23:55:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:55:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:55:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456430126592001,"66":27267,"131":206,"94":11008,"24":25,"16":334419339216158720,"45":80924085844398080},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,94,24,16,45]} 
[2026-07-01 23:55:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:55:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:55:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456430126592001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:55:26] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-01 23:55:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-01 23:55:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334419339216158720,"km_value":334419339216158.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:55:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":80924085844398080,"description":"Unknown IO ID 45"} 
[2026-07-01 23:55:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456430126592001,"power":27267,"unknown_131":206,"unknown_94":11008,"ignition":25,"odometer":null,"unknown_45":80924085844398080}} 
[2026-07-01 23:55:26] local.INFO: DEBUG: GPS processor result {"connection_id":119490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:55:26] local.INFO: GPS data processed {"connection_id":119490,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:55:26] local.INFO: Acknowledgment sent {"connection_id":119490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:55:48] local.INFO: TCP Data received {"connection_id":121237,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:55:48] local.INFO: Processing buffer {"connection_id":121237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:55:48] local.INFO: IMEI packet received {"connection_id":121237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 23:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":121237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:55:53] local.INFO: TCP Data received {"connection_id":121237,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:55:53] local.INFO: Processing buffer {"connection_id":121237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:55:53] local.INFO: IMEI packet received {"connection_id":121237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":121237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:55:54] local.INFO: TCP Data received {"connection_id":121237,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eed21c8012d021b0006fda508000600a22b..."} 
[2026-07-01 23:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eed21c8012d021b0006fda508000600a22b..."} 
[2026-07-01 23:55:54] local.INFO: Processing buffer {"connection_id":121237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1eed21c8012d021b0006fda508000600a22b..."} 
[2026-07-01 23:55:54] local.INFO: Packet analysis {"connection_id":121237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eed"} 
[2026-07-01 23:55:54] local.INFO: Extracted packet for processing {"connection_id":121237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eed"} 
[2026-07-01 23:55:54] local.INFO: GPS Element Parsed {"raw_longitude":755112704,"raw_latitude":117286152,"longitude_deg":75.5112704,"latitude_deg":11.7286152,"altitude":6,"angle":162,"satellites":43,"speed":47,"hex_longitude":"2d021b00","hex_latitude":"06fda508","is_valid_coordinates":true} 
[2026-07-01 23: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-01 23:55:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456430150912001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:55:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334423153147117568,"note":"Value kept but may cause issues"} 
[2026-07-01 23:55:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":148055867777312768,"note":"Value kept but may cause issues"} 
[2026-07-01 23:55:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:55:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782930285000,"timestamp_ms":1782930285000,"timestamp_seconds":1782930285,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eed21c8"} 
[2026-07-01 23: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-01 23:55: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-01 23: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-01 23:55:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23: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-01 23: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-01 23:55:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:55:54] local.INFO: Teltonika packet parsed successfully {"connection_id":121237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:55:54] local.INFO: Passing IMEI to GPS processor {"connection_id":121237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:55:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":121237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:55:54] 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-01 23:55:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:55:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:55:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456430150912001,"66":27310,"131":206,"94":11008,"24":47,"16":334423153147117568,"45":148055867777312768},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,94,24,16,45]} 
[2026-07-01 23:55:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:55:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:55:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456430150912001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:55:54] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-01 23:55:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-01 23:55:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334423153147117568,"km_value":334423153147117.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:55:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":148055867777312768,"description":"Unknown IO ID 45"} 
[2026-07-01 23:55:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456430150912001,"power":27310,"unknown_131":206,"unknown_94":11008,"ignition":47,"odometer":null,"unknown_45":148055867777312768}} 
[2026-07-01 23:55:54] local.INFO: DEBUG: GPS processor result {"connection_id":121237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:55:54] local.INFO: GPS data processed {"connection_id":121237,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:55:54] local.INFO: Acknowledgment sent {"connection_id":121237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:56:26] local.INFO: TCP Data received {"connection_id":121237,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eed4108012d02278006fd83000006009f2b..."} 
[2026-07-01 23:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eed4108012d02278006fd83000006009f2b..."} 
[2026-07-01 23:56:26] local.INFO: Processing buffer {"connection_id":121237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1eed4108012d02278006fd83000006009f2b..."} 
[2026-07-01 23:56:26] local.INFO: Packet analysis {"connection_id":121237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eed"} 
[2026-07-01 23:56:26] local.INFO: Extracted packet for processing {"connection_id":121237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eed"} 
[2026-07-01 23:56:26] local.INFO: GPS Element Parsed {"raw_longitude":755115904,"raw_latitude":117277440,"longitude_deg":75.5115904,"latitude_deg":11.727744,"altitude":6,"angle":159,"satellites":43,"speed":44,"hex_longitude":"2d022780","hex_latitude":"06fd8300","is_valid_coordinates":true} 
[2026-07-01 23:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:56:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456430152960001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:56:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334423599823716352,"note":"Value kept but may cause issues"} 
[2026-07-01 23:56:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":151715042472298496,"note":"Value kept but may cause issues"} 
[2026-07-01 23:56:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:56:26] local.INFO: AVL Record Parsed {"raw_timestamp":1782930293000,"timestamp_ms":1782930293000,"timestamp_seconds":1782930293,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eed4108"} 
[2026-07-01 23:56:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:56: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-01 23:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-07-01 23:56:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23:56:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:56:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:56:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:56:26] local.INFO: Teltonika packet parsed successfully {"connection_id":121237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:56:26] local.INFO: Passing IMEI to GPS processor {"connection_id":121237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:56:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":121237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:56:26] 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-01 23:56:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:56:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:56:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456430152960001,"66":27234,"131":206,"94":11008,"24":44,"16":334423599823716352,"45":151715042472298496},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,94,24,16,45]} 
[2026-07-01 23:56:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:56:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:56:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456430152960001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:56:26] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-07-01 23:56:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-01 23:56:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334423599823716352,"km_value":334423599823716.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:56:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":151715042472298496,"description":"Unknown IO ID 45"} 
[2026-07-01 23:56:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456430152960001,"power":27234,"unknown_131":206,"unknown_94":11008,"ignition":44,"odometer":null,"unknown_45":151715042472298496}} 
[2026-07-01 23:56:26] local.INFO: DEBUG: GPS processor result {"connection_id":121237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:56:26] local.INFO: GPS data processed {"connection_id":121237,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:56:26] local.INFO: Acknowledgment sent {"connection_id":121237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:56:29] local.INFO: TCP Data received {"connection_id":119377,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 23:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":119377,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 23:56:29] local.INFO: Processing buffer {"connection_id":119377,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-07-01 23:56:29] local.INFO: IMEI packet received {"connection_id":119377,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-07-01 23:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":119377,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:56:49] local.INFO: TCP Data received {"connection_id":121238,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:56:49] local.INFO: Processing buffer {"connection_id":121238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:56:49] local.INFO: IMEI packet received {"connection_id":121238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 23:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":121238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:56:52] local.INFO: TCP Data received {"connection_id":121238,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:56:52] local.INFO: Processing buffer {"connection_id":121238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:56:52] local.INFO: IMEI packet received {"connection_id":121238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":121238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:56:53] local.INFO: TCP Data received {"connection_id":121238,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:56:53] local.INFO: Processing buffer {"connection_id":121238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:56:53] local.INFO: IMEI packet received {"connection_id":121238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":121238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:56:54] local.INFO: TCP Data received {"connection_id":121238,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:56:54] local.INFO: Processing buffer {"connection_id":121238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:56:54] local.INFO: IMEI packet received {"connection_id":121238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":121238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:56:55] local.INFO: TCP Data received {"connection_id":121238,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eee5278012d03048006fc7cd00006006f2b..."} 
[2026-07-01 23:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eee5278012d03048006fc7cd00006006f2b..."} 
[2026-07-01 23:56:55] local.INFO: Processing buffer {"connection_id":121238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1eee5278012d03048006fc7cd00006006f2b..."} 
[2026-07-01 23:56:55] local.INFO: Packet analysis {"connection_id":121238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eee"} 
[2026-07-01 23:56:55] local.INFO: Extracted packet for processing {"connection_id":121238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eee"} 
[2026-07-01 23:56:55] local.INFO: GPS Element Parsed {"raw_longitude":755172480,"raw_latitude":117210320,"longitude_deg":75.517248,"latitude_deg":11.721032,"altitude":6,"angle":111,"satellites":43,"speed":53,"hex_longitude":"2d030480","hex_latitude":"06fc7cd0","is_valid_coordinates":true} 
[2026-07-01 23: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-01 23:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456430171136001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334427980690358272,"note":"Value kept but may cause issues"} 
[2026-07-01 23:56:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":207658194075090944,"note":"Value kept but may cause issues"} 
[2026-07-01 23:56:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782930363000,"timestamp_ms":1782930363000,"timestamp_seconds":1782930363,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eee5278"} 
[2026-07-01 23: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-01 23:56:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-07-01 23:56:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23: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-01 23: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-01 23:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":121238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":121238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":121238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:56:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 23:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456430171136001,"66":27267,"130":206,"94":11008,"24":53,"16":334427980690358272,"45":207658194075090944},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,94,24,16,45]} 
[2026-07-01 23:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456430171136001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:56:55] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-07-01 23:56:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-01 23:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334427980690358272,"km_value":334427980690358.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:56:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":207658194075090944,"description":"Unknown IO ID 45"} 
[2026-07-01 23:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456430171136001,"power":27267,"unknown_130":206,"unknown_94":11008,"ignition":53,"odometer":null,"unknown_45":207658194075090944}} 
[2026-07-01 23:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":121238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:56:55] local.INFO: GPS data processed {"connection_id":121238,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:56:55] local.INFO: Acknowledgment sent {"connection_id":121238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:56:59] local.INFO: TCP Data received {"connection_id":121238,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eee71b8012d0329c006fc6e68000800702b..."} 
[2026-07-01 23:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eee71b8012d0329c006fc6e68000800702b..."} 
[2026-07-01 23:56:59] local.INFO: Processing buffer {"connection_id":121238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1eee71b8012d0329c006fc6e68000800702b..."} 
[2026-07-01 23:56:59] local.INFO: Packet analysis {"connection_id":121238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eee"} 
[2026-07-01 23:56:59] local.INFO: Extracted packet for processing {"connection_id":121238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eee"} 
[2026-07-01 23:56:59] local.INFO: GPS Element Parsed {"raw_longitude":755182016,"raw_latitude":117206632,"longitude_deg":75.5182016,"latitude_deg":11.7206632,"altitude":8,"angle":112,"satellites":43,"speed":48,"hex_longitude":"2d0329c0","hex_latitude":"06fc6e68","is_valid_coordinates":true} 
[2026-07-01 23:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456430172928001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334428470316630016,"note":"Value kept but may cause issues"} 
[2026-07-01 23:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":217439449514823680,"note":"Value kept but may cause issues"} 
[2026-07-01 23:56:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1782930371000,"timestamp_ms":1782930371000,"timestamp_seconds":1782930371,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eee71b8"} 
[2026-07-01 23:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:56: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-01 23:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-07-01 23:56:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23:56:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":121238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":121238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":121238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:56:59] 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-01 23:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456430172928001,"66":27300,"130":206,"94":11008,"24":48,"16":334428470316630016,"45":217439449514823680},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,94,24,16,45]} 
[2026-07-01 23:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456430172928001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:56:59] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-07-01 23:56:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-01 23:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334428470316630016,"km_value":334428470316630.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":217439449514823680,"description":"Unknown IO ID 45"} 
[2026-07-01 23:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456430172928001,"power":27300,"unknown_130":206,"unknown_94":11008,"ignition":48,"odometer":null,"unknown_45":217439449514823680}} 
[2026-07-01 23:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":121238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:56:59] local.INFO: GPS data processed {"connection_id":121238,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:56:59] local.INFO: Acknowledgment sent {"connection_id":121238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:57:30] local.INFO: TCP Data received {"connection_id":121238,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eee7d70012d0336c006fc68000008007c2c..."} 
[2026-07-01 23:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eee7d70012d0336c006fc68000008007c2c..."} 
[2026-07-01 23:57:30] local.INFO: Processing buffer {"connection_id":121238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1eee7d70012d0336c006fc68000008007c2c..."} 
[2026-07-01 23:57:30] local.INFO: Packet analysis {"connection_id":121238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eee"} 
[2026-07-01 23:57:30] local.INFO: Extracted packet for processing {"connection_id":121238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eee"} 
[2026-07-01 23:57:30] local.INFO: GPS Element Parsed {"raw_longitude":755185344,"raw_latitude":117204992,"longitude_deg":75.5185344,"latitude_deg":11.7204992,"altitude":8,"angle":124,"satellites":44,"speed":47,"hex_longitude":"2d0336c0","hex_latitude":"06fc6800","is_valid_coordinates":true} 
[2026-07-01 23:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456430174976001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334428646410289152,"note":"Value kept but may cause issues"} 
[2026-07-01 23:57:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":227924392396351488,"note":"Value kept but may cause issues"} 
[2026-07-01 23:57:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782930374000,"timestamp_ms":1782930374000,"timestamp_seconds":1782930374,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eee7d70"} 
[2026-07-01 23:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:57:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-01 23:57:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23:57:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":121238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":121238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":121238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:57:30] 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-01 23:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456430174976001,"66":27332,"130":206,"94":11008,"24":47,"16":334428646410289152,"45":227924392396351488},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,94,24,16,45]} 
[2026-07-01 23:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456430174976001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:57:30] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-07-01 23:57:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-01 23:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334428646410289152,"km_value":334428646410289.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:57:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":227924392396351488,"description":"Unknown IO ID 45"} 
[2026-07-01 23:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456430174976001,"power":27332,"unknown_130":206,"unknown_94":11008,"ignition":47,"odometer":null,"unknown_45":227924392396351488}} 
[2026-07-01 23:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":121238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:57:30] local.INFO: GPS data processed {"connection_id":121238,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:57:30] local.INFO: Acknowledgment sent {"connection_id":121238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:57:48] local.INFO: TCP Data received {"connection_id":120178,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:57:48] local.INFO: Processing buffer {"connection_id":120178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:57:48] local.INFO: IMEI packet received {"connection_id":120178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 23:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":120178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:57:53] local.INFO: TCP Data received {"connection_id":120178,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:57:53] local.INFO: Processing buffer {"connection_id":120178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:57:53] local.INFO: IMEI packet received {"connection_id":120178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":120178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:57:55] local.INFO: TCP Data received {"connection_id":120178,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eee8540012d033dc006fc61d0000800882a..."} 
[2026-07-01 23:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eee8540012d033dc006fc61d0000800882a..."} 
[2026-07-01 23:57:55] local.INFO: Processing buffer {"connection_id":120178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1eee8540012d033dc006fc61d0000800882a..."} 
[2026-07-01 23:57:55] local.INFO: Packet analysis {"connection_id":120178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eee"} 
[2026-07-01 23:57:55] local.INFO: Extracted packet for processing {"connection_id":120178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eee"} 
[2026-07-01 23:57:55] local.INFO: GPS Element Parsed {"raw_longitude":755187136,"raw_latitude":117203408,"longitude_deg":75.5187136,"latitude_deg":11.7203408,"altitude":8,"angle":136,"satellites":42,"speed":48,"hex_longitude":"2d033dc0","hex_latitude":"06fc61d0","is_valid_coordinates":true} 
[2026-07-01 23:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456430175744001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334428762374406144,"note":"Value kept but may cause issues"} 
[2026-07-01 23:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":231583567093170176,"note":"Value kept but may cause issues"} 
[2026-07-01 23:57:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782930376000,"timestamp_ms":1782930376000,"timestamp_seconds":1782930376,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eee8540"} 
[2026-07-01 23:57:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:57:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-07-01 23:57:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23:57:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:57:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":120178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":120178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":120178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:57:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 23:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456430175744001,"66":27300,"130":206,"94":11008,"24":48,"16":334428762374406144,"45":231583567093170176},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,94,24,16,45]} 
[2026-07-01 23:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456430175744001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:57:55] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-07-01 23:57:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-01 23:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334428762374406144,"km_value":334428762374406.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":231583567093170176,"description":"Unknown IO ID 45"} 
[2026-07-01 23:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456430175744001,"power":27300,"unknown_130":206,"unknown_94":11008,"ignition":48,"odometer":null,"unknown_45":231583567093170176}} 
[2026-07-01 23:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":120178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:57:55] local.INFO: GPS data processed {"connection_id":120178,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:57:55] local.INFO: Acknowledgment sent {"connection_id":120178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:57:55] local.INFO: TCP Data received {"connection_id":120178,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eeea098012d0353c006fc46900008009027..."} 
[2026-07-01 23:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eeea098012d0353c006fc46900008009027..."} 
[2026-07-01 23:57:55] local.INFO: Processing buffer {"connection_id":120178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1eeea098012d0353c006fc46900008009027..."} 
[2026-07-01 23:57:55] local.INFO: Packet analysis {"connection_id":120178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eee"} 
[2026-07-01 23:57:55] local.INFO: Extracted packet for processing {"connection_id":120178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eee"} 
[2026-07-01 23:57:55] local.INFO: GPS Element Parsed {"raw_longitude":755192768,"raw_latitude":117196432,"longitude_deg":75.5192768,"latitude_deg":11.7196432,"altitude":8,"angle":144,"satellites":39,"speed":55,"hex_longitude":"2d0353c0","hex_latitude":"06fc4690","is_valid_coordinates":true} 
[2026-07-01 23:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456430176256001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334429191871135744,"note":"Value kept but may cause issues"} 
[2026-07-01 23:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":233553891929739264,"note":"Value kept but may cause issues"} 
[2026-07-01 23:57:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1782930383000,"timestamp_ms":1782930383000,"timestamp_seconds":1782930383,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eeea098"} 
[2026-07-01 23:57:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:57:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-07-01 23:57:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23:57:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:57:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":120178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":120178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":120178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:57:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-07-01 23:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456430176256001,"66":27213,"130":206,"94":11008,"24":55,"16":334429191871135744,"45":233553891929739264},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,94,24,16,45]} 
[2026-07-01 23:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456430176256001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:57:55] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-07-01 23:57:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-01 23:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334429191871135744,"km_value":334429191871135.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":233553891929739264,"description":"Unknown IO ID 45"} 
[2026-07-01 23:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456430176256001,"power":27213,"unknown_130":206,"unknown_94":11008,"ignition":55,"odometer":null,"unknown_45":233553891929739264}} 
[2026-07-01 23:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":120178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:57:55] local.INFO: GPS data processed {"connection_id":120178,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:57:55] local.INFO: Acknowledgment sent {"connection_id":120178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:58:30] local.INFO: TCP Data received {"connection_id":120178,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eefae20012d03e98006fb92e00018007728..."} 
[2026-07-01 23:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eefae20012d03e98006fb92e00018007728..."} 
[2026-07-01 23:58:30] local.INFO: Processing buffer {"connection_id":120178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1eefae20012d03e98006fb92e00018007728..."} 
[2026-07-01 23:58:30] local.INFO: Packet analysis {"connection_id":120178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eef"} 
[2026-07-01 23:58:30] local.INFO: Extracted packet for processing {"connection_id":120178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eef"} 
[2026-07-01 23:58:30] local.INFO: GPS Element Parsed {"raw_longitude":755231104,"raw_latitude":117150432,"longitude_deg":75.5231104,"latitude_deg":11.7150432,"altitude":24,"angle":119,"satellites":40,"speed":28,"hex_longitude":"2d03e980","hex_latitude":"06fb92e0","is_valid_coordinates":true} 
[2026-07-01 23: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-01 23:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456430193664001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334432288542556160,"note":"Value kept but may cause issues"} 
[2026-07-01 23:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":275915875911641088,"note":"Value kept but may cause issues"} 
[2026-07-01 23:58:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782930452000,"timestamp_ms":1782930452000,"timestamp_seconds":1782930452,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eefae20"} 
[2026-07-01 23: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-01 23:58:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-01 23:58:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23: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-01 23: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-01 23:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":120178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":120178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":120178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:58:30] 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-01 23:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456430193664001,"66":27593,"139":206,"94":11008,"24":28,"16":334432288542556160,"45":275915875911641088},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-07-01 23:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456430193664001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:58:30] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-07-01 23:58:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-01 23:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334432288542556160,"km_value":334432288542556.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:58:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":275915875911641088,"description":"Unknown IO ID 45"} 
[2026-07-01 23:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456430193664001,"power":27593,"unknown_139":206,"unknown_94":11008,"ignition":28,"odometer":null,"unknown_45":275915875911641088}} 
[2026-07-01 23:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":120178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:58:30] local.INFO: GPS data processed {"connection_id":120178,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:58:30] local.INFO: Acknowledgment sent {"connection_id":120178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:58:47] local.INFO: TCP Data received {"connection_id":121240,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:58:47] local.INFO: Processing buffer {"connection_id":121240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:58:47] local.INFO: IMEI packet received {"connection_id":121240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 23:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":121240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:58:48] local.INFO: TCP Data received {"connection_id":121240,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:58:48] local.INFO: Processing buffer {"connection_id":121240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:58:48] local.INFO: IMEI packet received {"connection_id":121240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":121240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:58:53] local.INFO: TCP Data received {"connection_id":121240,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:58:53] local.INFO: Processing buffer {"connection_id":121240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:58:53] local.INFO: IMEI packet received {"connection_id":121240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":121240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:58:54] local.INFO: TCP Data received {"connection_id":121240,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eefc590012d03f6c006fb89780018008229..."} 
[2026-07-01 23:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eefc590012d03f6c006fb89780018008229..."} 
[2026-07-01 23:58:54] local.INFO: Processing buffer {"connection_id":121240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1eefc590012d03f6c006fb89780018008229..."} 
[2026-07-01 23:58:54] local.INFO: Packet analysis {"connection_id":121240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eef"} 
[2026-07-01 23:58:54] local.INFO: Extracted packet for processing {"connection_id":121240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eef"} 
[2026-07-01 23:58:54] local.INFO: GPS Element Parsed {"raw_longitude":755234496,"raw_latitude":117148024,"longitude_deg":75.5234496,"latitude_deg":11.7148024,"altitude":24,"angle":130,"satellites":41,"speed":27,"hex_longitude":"2d03f6c0","hex_latitude":"06fb8978","is_valid_coordinates":true} 
[2026-07-01 23:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:58:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456430195712001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:58:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334432490406019072,"note":"Value kept but may cause issues"} 
[2026-07-01 23:58:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":281897219166232576,"note":"Value kept but may cause issues"} 
[2026-07-01 23:58:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:58:54] local.INFO: AVL Record Parsed {"raw_timestamp":1782930458000,"timestamp_ms":1782930458000,"timestamp_seconds":1782930458,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eefc590"} 
[2026-07-01 23:58:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:58: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-01 23:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-07-01 23:58:54] 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-01 23:58:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:58:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:58:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:58:54] local.INFO: Teltonika packet parsed successfully {"connection_id":121240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:58:54] local.INFO: Passing IMEI to GPS processor {"connection_id":121240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:58:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":121240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:58:54] 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-01 23:58:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:58:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:58:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456430195712001,"66":27517,"139":206,"94":11008,"24":27,"16":334432490406019072,"45":281897219166232576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-07-01 23:58:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:58:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:58:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456430195712001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:58:54] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-07-01 23:58:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-01 23:58:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334432490406019072,"km_value":334432490406019.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:58:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":281897219166232576,"description":"Unknown IO ID 45"} 
[2026-07-01 23:58:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456430195712001,"power":27517,"unknown_139":206,"unknown_94":11008,"ignition":27,"odometer":null,"unknown_45":281897219166232576}} 
[2026-07-01 23:58:54] local.INFO: DEBUG: GPS processor result {"connection_id":121240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:58:54] local.INFO: GPS data processed {"connection_id":121240,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:58:54] local.INFO: Acknowledgment sent {"connection_id":121240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:59:30] local.INFO: TCP Data received {"connection_id":121240,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1eefdd00012d04038006fb7c680017008e27..."} 
[2026-07-01 23:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":121240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1eefdd00012d04038006fb7c680017008e27..."} 
[2026-07-01 23:59:30] local.INFO: Processing buffer {"connection_id":121240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1eefdd00012d04038006fb7c680017008e27..."} 
[2026-07-01 23:59:30] local.INFO: Packet analysis {"connection_id":121240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1eef"} 
[2026-07-01 23:59:30] local.INFO: Extracted packet for processing {"connection_id":121240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1eef"} 
[2026-07-01 23:59:30] local.INFO: GPS Element Parsed {"raw_longitude":755237760,"raw_latitude":117144680,"longitude_deg":75.523776,"latitude_deg":11.714468,"altitude":23,"angle":142,"satellites":39,"speed":33,"hex_longitude":"2d040380","hex_latitude":"06fb7c68","is_valid_coordinates":true} 
[2026-07-01 23:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-07-01 23:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456430197248001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334432713744318464,"note":"Value kept but may cause issues"} 
[2026-07-01 23:59:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":285626762607032320,"note":"Value kept but may cause issues"} 
[2026-07-01 23:59:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1782930464000,"timestamp_ms":1782930464000,"timestamp_seconds":1782930464,"priority":1,"record_length":96,"hex_timestamp":"0000019f1eefdd00"} 
[2026-07-01 23:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:59:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-07-01 23:59:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23:59:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-07-01 23:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":121240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":121240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":121240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:59:30] 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-01 23:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456430197248001,"66":27517,"139":206,"94":11008,"24":33,"16":334432713744318464,"45":285626762607032320},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-07-01 23:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456430197248001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:59:30] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-07-01 23:59:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-01 23:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334432713744318464,"km_value":334432713744318.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:59:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":285626762607032320,"description":"Unknown IO ID 45"} 
[2026-07-01 23:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456430197248001,"power":27517,"unknown_139":206,"unknown_94":11008,"ignition":33,"odometer":null,"unknown_45":285626762607032320}} 
[2026-07-01 23:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":121240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:59:30] local.INFO: GPS data processed {"connection_id":121240,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:59:30] local.INFO: Acknowledgment sent {"connection_id":121240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-07-01 23:59:48] local.INFO: TCP Data received {"connection_id":120180,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:59:48] local.INFO: Processing buffer {"connection_id":120180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:59:48] local.INFO: IMEI packet received {"connection_id":120180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-07-01 23:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":120180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-07-01 23:59:54] local.INFO: TCP Data received {"connection_id":120180,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:59:54] local.INFO: Processing buffer {"connection_id":120180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-07-01 23:59:54] local.INFO: IMEI packet received {"connection_id":120180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-07-01 23:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":120180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-07-01 23:59:57] local.INFO: TCP Data received {"connection_id":120180,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019f1ef0b7c0012d049f4006faf218000f00a22a..."} 
[2026-07-01 23:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":120180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019f1ef0b7c0012d049f4006faf218000f00a22a..."} 
[2026-07-01 23:59:57] local.INFO: Processing buffer {"connection_id":120180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019f1ef0b7c0012d049f4006faf218000f00a22a..."} 
[2026-07-01 23:59:57] local.INFO: Packet analysis {"connection_id":120180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019f1ef0"} 
[2026-07-01 23:59:57] local.INFO: Extracted packet for processing {"connection_id":120180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019f1ef0"} 
[2026-07-01 23:59:57] local.INFO: GPS Element Parsed {"raw_longitude":755277632,"raw_latitude":117109272,"longitude_deg":75.5277632,"latitude_deg":11.7109272,"altitude":15,"angle":162,"satellites":42,"speed":48,"hex_longitude":"2d049f40","hex_latitude":"06faf218","is_valid_coordinates":true} 
[2026-07-01 23:59: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-01 23:59:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456430212096001,"note":"Value kept but may cause issues"} 
[2026-07-01 23:59:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":334435402393845760,"note":"Value kept but may cause issues"} 
[2026-07-01 23:59:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":330592390127824896,"note":"Value kept but may cause issues"} 
[2026-07-01 23:59:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-07-01 23:59:57] local.INFO: AVL Record Parsed {"raw_timestamp":1782930520000,"timestamp_ms":1782930520000,"timestamp_seconds":1782930520,"priority":1,"record_length":96,"hex_timestamp":"0000019f1ef0b7c0"} 
[2026-07-01 23:59:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-07-01 23:59:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-07-01 23:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-07-01 23:59:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-07-01 23:59: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-01 23:59:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-07-01 23:59:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-07-01 23:59:57] local.INFO: Teltonika packet parsed successfully {"connection_id":120180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-07-01 23:59:57] local.INFO: Passing IMEI to GPS processor {"connection_id":120180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:59:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":120180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-07-01 23:59:57] 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-01 23:59:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-07-01 23:59:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-07-01 23:59:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456430212096001,"66":27365,"139":206,"94":11008,"24":48,"16":334435402393845760,"45":330592390127824896},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,94,24,16,45]} 
[2026-07-01 23:59:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-07-01 23:59:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-07-01 23:59:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456430212096001,"description":"Unknown IO ID 0"} 
[2026-07-01 23:59:57] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-07-01 23:59:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-07-01 23:59:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":334435402393845760,"km_value":334435402393845.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-07-01 23:59:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":330592390127824896,"description":"Unknown IO ID 45"} 
[2026-07-01 23:59:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456430212096001,"power":27365,"unknown_139":206,"unknown_94":11008,"ignition":48,"odometer":null,"unknown_45":330592390127824896}} 
[2026-07-01 23:59:57] local.INFO: DEBUG: GPS processor result {"connection_id":120180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":418886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-07-01 23:59:57] local.INFO: GPS data processed {"connection_id":120180,"processed":1,"errors":0,"total":1} 
[2026-07-01 23:59:57] local.INFO: Acknowledgment sent {"connection_id":120180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
